1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7430],{3134:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/donation",function(){return t(6992)}])},8334:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var s=t(45),a=t(8168),i=t(6540),r=t(53),o=t(138),c=[0,1,2,3,4,5,6,7,8,9,10],l=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=parseFloat(e);return"".concat(t/n).concat(String(e).replace(String(t),"")||"px")}var x=i.forwardRef(function(e,n){var t=e.alignContent,o=void 0===t?"stretch":t,c=e.alignItems,l=void 0===c?"stretch":c,d=e.classes,x=e.className,m=e.component,g=e.container,f=e.direction,h=void 0===f?"row":f,u=e.item,p=e.justify,j=e.justifyContent,v=void 0===j?"flex-start":j,b=e.lg,w=void 0!==b&&b,y=e.md,N=void 0!==y&&y,A=e.sm,C=void 0!==A&&A,z=e.spacing,S=void 0===z?0:z,E=e.wrap,F=void 0===E?"wrap":E,_=e.xl,k=void 0!==_&&_,M=e.xs,W=void 0!==M&&M,D=e.zeroMinWidth,I=(0,s.A)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),O=(0,r.A)(d.root,x,void 0!==g&&g&&[d.container,0!==S&&d["spacing-xs-".concat(String(S))]],void 0!==u&&u&&d.item,void 0!==D&&D&&d.zeroMinWidth,"row"!==h&&d["direction-xs-".concat(String(h))],"wrap"!==F&&d["wrap-xs-".concat(String(F))],"stretch"!==l&&d["align-items-xs-".concat(String(l))],"stretch"!==o&&d["align-content-xs-".concat(String(o))],"flex-start"!==(p||v)&&d["justify-content-xs-".concat(String(p||v))],!1!==W&&d["grid-xs-".concat(String(W))],!1!==C&&d["grid-sm-".concat(String(C))],!1!==N&&d["grid-md-".concat(String(N))],!1!==w&&d["grid-lg-".concat(String(w))],!1!==k&&d["grid-xl-".concat(String(k))]);return i.createElement(void 0===m?"div":m,(0,a.A)({className:O,ref:n},I))});let m=(0,o.A)(function(e){var n;return(0,a.A)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},(n={},c.forEach(function(t){var s=e.spacing(t);0!==s&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(d(s,2)),width:"calc(100% + ".concat(d(s),")"),"& > $item":{padding:d(s,2)}})}),n),e.breakpoints.keys.reduce(function(n,t){var s;return s={},l.forEach(function(e){var n="grid-".concat(t,"-").concat(e);if(!0===e){s[n]={flexBasis:0,flexGrow:1,maxWidth:"100%"};return}if("auto"===e){s[n]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};return}var a="".concat(Math.round(e/12*1e8)/1e6,"%");s[n]={flexBasis:a,flexGrow:0,maxWidth:a}}),"xs"===t?(0,a.A)(n,s):n[e.breakpoints.up(t)]=s,n},{}))},{name:"MuiGrid"})(x)},6992:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>f});var s=t(4848),a=t(6540),i=t(6715),r=t(8334),o=t(5026),c=t(3261),l=t(5099);let d=(0,t(8014).A)(a.createElement(a.Fragment,null,a.createElement("path",{d:"M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zM8 5h8v3H8V5zm8 12v2H8v-4h8v2zm2-2v-2H6v2H4v-4c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v4h-2z"}),a.createElement("circle",{cx:"18",cy:"11.5",r:"1"})),"PrintOutlined");var x=t(8874);let m=t(6425);function g(){var e,n;let t=(0,x.rX)("type"),[c,g]=(0,a.useState)({}),f=(0,i.useRouter)();(0,a.useEffect)(()=>{(async()=>{m.post("/api/Donation",{action:"donationDetail",donationId:f.query.i}).then(e=>{e&&e.data&&e.data.length>=1&&g(e.data[0])})})()},[f]);let h=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,s.jsxs)(s.Fragment,{children:[e[n+"addressLine1"]||e[n+"addressLine2"]?(0,s.jsxs)(s.Fragment,{children:[e[n+"addressLine1"]," ",e[n+"addressLine2"],(0,s.jsx)("br",{})]}):"",e[n+"city"]&&e[n+"city"]+", ",e[n+"state"]?(0,s.jsxs)(s.Fragment,{children:[e[n+"state"],(0,s.jsx)("br",{})]}):"",e[n+"zipCode"]&&e[n+"zipCode"]+", ",e[n+"country"]]})};return(0,s.jsxs)(r.A,{container:!0,spacing:0,style:{padding:"0px 20px",margin:"10px -8px"},children:[(0,s.jsx)(r.A,{item:!0,lg:2,md:2,xs:0,className:"hidden-xs"}),(0,s.jsxs)(r.A,{container:!0,lg:8,md:8,xs:12,children:[(0,s.jsx)(r.A,{xs:12,children:(0,s.jsx)("h1",{children:" Donation details"})}),(0,s.jsxs)(r.A,{xs:12,md:6,children:[(0,s.jsxs)("b",{children:[c.firstname," ",c.lastname]}),(0,s.jsx)("br",{}),c.organisationname&&(0,s.jsxs)(s.Fragment,{children:["Organization Name: ",(0,s.jsx)("b",{children:c.organisationname})," ",(0,s.jsx)("br",{})]}),h(c,"donor"),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"faded",children:"Email: "}),c.email,(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"faded",children:"Phone: "}),c.phone,(0,s.jsx)("br",{}),c.customFields&&Object.keys(c.customFields).map(e=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("span",{className:"faded",children:[e,": "]}),c.customFields[e],(0,s.jsx)("br",{})]},e))]}),(0,s.jsxs)(r.A,{xs:12,md:6,className:"text-right",children:[(0,s.jsxs)("span",{style:{fontSize:"2rem"},children:["$",c.amount]}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"faded",children:"Gift Date"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{children:c.creationDate}),(0,s.jsx)("br",{})]}),(0,s.jsxs)(r.A,{xs:12,children:[(0,s.jsx)("br",{}),(0,s.jsx)(l.A,{headCells:[{id:"id",numeric:!0,label:"#",className:"hidden"},{id:"fund",label:"Fund"},{id:"campaign",label:"Campaign"},{id:"amount",numeric:!0,label:"Amount"},{id:"gifttype",label:"Gift Type"},{id:"message",label:"",className:"hidden"}],rows:[{id:1,fund:"N/A",campaign:null===(n=c.campaignDetails)||void 0===n?void 0:null===(e=n[0])||void 0===e?void 0:e.title,gifttype:c.gifttype,amount:c.amount}],pagination:{disabled:!0}}),(0,s.jsx)("br",{}),"Thank you for your generous gift. ",(0,s.jsx)("br",{}),"Please be advised that no goods or services were provided in exchange for this gift.",(0,s.jsx)("br",{})]}),(0,s.jsx)(r.A,{xs:0,md:9,lg:10}),(0,s.jsxs)(r.A,{xs:12,md:3,lg:2,children:[(0,s.jsx)("span",{className:"faded",children:"Sub Total"})," ",(0,s.jsxs)("span",{className:"float-right",children:["$",c.amount]}),(0,s.jsx)("hr",{className:"faded"}),(0,s.jsx)("span",{className:"faded",children:"Total"})," ",(0,s.jsxs)("span",{className:"float-right",children:["$",c.amount]})]}),(0,s.jsxs)(r.A,{xs:12,children:[(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(c.honorfirstname||c.honorlastname)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"faded",children:"In Honor Of: "}),c.honorfirstname," ",c.honorlastname,(0,s.jsx)("br",{}),h(c,"honor"),(0,s.jsx)("br",{})]}),c.personalizedMessage&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("b",{children:"Message: "}),c.personalizedMessage]}),(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),"user"!=t&&(0,s.jsx)(o.A,{variant:"contained",size:"small",className:"noprint",onClick:()=>{alert("TODO")},children:"Refund"}),(0,s.jsxs)(o.A,{variant:"contained",size:"small",className:"noprint",onClick:()=>{window.print()},children:[(0,s.jsx)(d,{})," \xa0 Print"]})]})]})]})}let f=()=>(0,s.jsx)(c.A,{Component:g,header:!0,footer:!0})}},e=>{var n=n=>e(e.s=n);e.O(0,[3478,9906,8037,9736,6425,1021,1679,9830,6938,571,636,6593,8792],()=>n(3134)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.