1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6afc4e3e-b969-4569-b451-65391f0a2f79",e._sentryDebugIdIdentifier="sentry-dbid-6afc4e3e-b969-4569-b451-65391f0a2f79")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3645],{5789:(e,t,n)=>{"use strict";function a(e){let t={none:0,"extra-tight":.625,tight:1.25,base:2.5,loose:3.125,"extra-loose":5}[e];return 0===t?0:"".concat(t,"rem")}n.d(t,{Y:()=>a})},10759:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var a=n(37876),r=n(14232),i=n(41069),o=n(21293),l=n(81199),s=n(96656),c=n(88270),d=n(55645),u=n(51377),h=n(75773),m=n(47677),p=n(52387);let f=e=>{let{charityId:t}=e,[n,o]=(0,r.useState)(new Date().toISOString()),[l,f]=(0,r.useState)(new Date().toISOString()),[g,y]=(0,r.useState)(),v=async()=>{y(!0);let e=await (0,s.Yk)(t,n,l);!function(e,t){let n=new Blob([e],{type:"text/csv;charset=utf-8"}),a=window.URL.createObjectURL(n),r=document.createElement("a");r.href=a,r.setAttribute("download",t||"report.csv"),r.click()}(e.data,e.fileName),y(!1)};return(0,a.jsx)(c.A,{title:"Donation Report",content:"Dashboard",checkDonating:!0,checkMembership:!0,charityId:t,url:"/admin/charity/".concat(t,"/dashboard"),children:(0,a.jsx)(d.P,{sectioned:!0,children:(0,a.jsx)(u.a,{children:(0,a.jsxs)(h.u,{title:"Amount Given",children:[(0,a.jsx)(h.u.Section,{children:(0,a.jsxs)(m.o,{align:"center",children:[(0,a.jsx)(i.A,{hideTime:!0,value:n,dateLabel:"From",zone:Intl.DateTimeFormat().resolvedOptions().timeZoneName,onChange:o}),(0,a.jsx)(i.A,{value:l,hideTime:!0,dateLabel:"To",zone:Intl.DateTimeFormat().resolvedOptions().timeZoneName,onChange:f})]})}),(0,a.jsx)(h.u.Section,{children:(0,a.jsx)(m.o,{align:"center",children:(0,a.jsx)(p.$,{variant:"primary",loading:g,onClick:v,children:"Download"})})})]})})})})};f.getInitialProps=async e=>{let{id:t}=e.query;return{charityId:t}};let g=(0,o.z)(l.x.Charity_ReportView)(f)},15059:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var a=n(37876),r=n(14232),i=n(31727),o=n(14921),l=n(44264),s=n(10841),c=n.n(s),d=n(40788),u=n(48110),h=n(52387),m=n(33698),p=n(9983),f=n(81705),g=n(89344);let y=l.Ay.div.withConfig({componentId:"sc-a54f9590-0"})(["cursor:pointer;opacity:0.3;"]);function v(e){return(0,o.Ay)(e,"dd-mm-yyyy")}function b(e){if(!e)return"";if(!(e&&"start"in e))return v(e);let t=e.end?v(e.end):"",n=e.start?v(e.start):"";return[n,t!==n&&t].filter(Boolean).join(" - ")}class x extends r.Component{constructor(...e){super(...e),this.state={popoverActive:!1,month:void 0,year:void 0,value:""},this.handleFocus=()=>{this.setState({popoverActive:!0})},this.handleClose=()=>{this.setState({popoverActive:!1})},this.handleChange=e=>{let{onChange:t,allowRange:n}=this.props,a=n&&e&&e.end===e.start;e&&!a&&this.setState({popoverActive:!1,value:""}),t&&t(e)},this.handleTextChange=e=>{e.length>10||this.setState({value:e})},this.handleBlur=()=>{let{onChange:e}=this.props,{value:t}=this.state,n=t.match(/^(\d{2})-(\d{2})-(\d{4})$/),a=c()("".concat(t),"DD-MM-YYYY");if(n&&a._isValid)e({start:new Date(c()("".concat(t),"DD-MM-YYYY").toISOString()),end:new Date(c()("".concat(t),"DD-MM-YYYY").toISOString())});else{let e=b(this.props.value);this.setState({value:e})}},this.handleMonthChange=(e,t)=>
1{let{onMonthChange:n}=this.props;this.setState({month:e,year:t}),n&&n(e,t)},this.handleClearClicked=e=>{e.stopPropagation(),this.handleChange(void 0),this.setState({value:b(this.props.value)})},this.render=()=>{let{className:e,value:t,allowRange:n,disableDatesAfter:r,disableDatesBefore:i,weekStartsOn:o,multiMonth:l,placeholder:s}=this.props,{popoverActive:c,month:v=(t?t.start:new Date).getMonth(),year:x=(t?t.start:new Date).getFullYear()}=this.state,S=b(t);return(0,a.jsx)("div",{className:e,children:(0,a.jsx)(d.A,{autofocusTarget:"none",preferredAlignment:"left",preferInputActivator:!1,preferredPosition:"below",preventCloseOnChildOverlayClick:!0,active:c,activator:(0,a.jsx)(u.A,{id:"value",label:"",labelHidden:!0,autoComplete:"off",value:this.state.value||S,placeholder:s,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleTextChange,connectedLeft:(0,a.jsx)(h.$,{onClick:this.handleFocus,icon:f.S}),suffix:t&&(0,a.jsx)(y,{onClick:this.handleClearClicked,children:(0,a.jsx)(m.I,{source:g.S})})}),onClose:this.handleClose,sectioned:!0,children:(0,a.jsx)(p.l,{month:v,year:x,selected:t,onMonthChange:this.handleMonthChange,onChange:this.handleChange,allowRange:n,disableDatesAfter:r,disableDatesBefore:i,weekStartsOn:o,multiMonth:l})})})}}}x.defaultProps={allowRange:!1,disableDatesAfter:void 0,disableDatesBefore:void 0,weekStartsOn:i.Sx.Sunday,multiMonth:!1,placeholder:"Select Date"}},19029:(e,t,n)=>{"use strict";n.d(t,{A:()=>a.A});var a=n(15059)},19268:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var a=n(50039);function r(e){return({base:"3px",large:"6px"})[e]}(0,a.y)("sky"),(0,a.y)("sky","dark")},19366:(e,t,n)=>{"use strict";n.d(t,{GB:()=>r,HN:()=>s,dG:()=>c,nj:()=>i,r0:()=>l,tK:()=>o,vk:()=>d});var a=n(43176);function r(e,t){return a.c9.fromFormat(e,"dd-MM-yyyy",{zone:t}).toISO()}function i(e,t){return a.c9.fromISO(e,{zone:"UTC"}).setZone(t).toFormat("h:mm")}function o(e){return a.c9.fromISO(new Date().toISOString(),{zone:"UTC"}).setZone(e).toFormat("h:mm a")}function l(e,t){return a.c9.fromISO(e,{zone:"UTC"}).setZone(t).toFormat("a")}function s(e,t){return a.c9.fromISO(e,{zone:"UTC"}).setZone(t).toFormat("dd-MM-yyyy")}function c(e,t){return Number(a.c9.fromISO(e,{zone:"UTC"}).setZone(t).toFormat("h"))}function d(e,t,n,r){if(!e||!t)throw Error("Problem converting date to zulu string");let[i,o,l]=e.split("-").map(e=>parseInt(e,10)),[s,c]=t.split(":").map(e=>parseInt(e,10)),d={year:l,month:o,day:i,hour:function(e,t){let n=12===e?0:e;return({AM:n,PM:12+n})[t]}(s,n),minute:c,zone:r};return a.c9.fromObject(d).setZone("UTC").toISO()}},31727:(e,t)=>{"use strict";var n;!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(n=t.Sx||(t.Sx={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(t.if||(t.if={})),function(e){e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day",e[e.Week=6048e5]="Week",e[e.Year=31536e6]="Year"}(t.yr||(t.yr={}));n.Sunday,n.Monday,n.Tuesday,n.Wednesday,n.Thursday,n.Friday,n.Saturday},35848:(e,t,n)=>{"use strict";n.d(t,{N:()=>i,x:()=>r});var a=n(50039);function r(e){return"\n font-size: ".concat({extraSmall:.625,small:1.2/1.6,medium:1.4/1.6,large:1.125,extraLarge:2.4/1.6}[e],"rem;\n ")}function i(e){let t={positive:"color:".concat((0,a.y)("green","dark"),";"),negative:"color:".concat((0,a.y)("red","dark"),";"),strong:"font-weight: 600;",subdued:"opacity:0.5;"}[e];return"\n ".concat(t,";\n ")}},41069:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var a=n(37876),r=n(19029),i=n(14921),o=n(14232),l=n(44264),s=n(88651),c=n(19366);function d(e,t){return(Array(t).fill("0").join("")+e).slice(-t)}function u(e,t){return{date:(0,c.HN)(e,t),time:(0,c.nj)(e,t),meridiem:(0,c.r0)(e,t)}}var h=n(12022),m=n(43176),p=n(91930),f=n(51377),g=n(47677),y=n(96833),v=n(44576);let b=(function(e,t,n){return Array(12*Math.floor(4)).fill(void 0).map((t,n)=>{let a=Math.floor(15*n/60);return"".concat(0===a?12:a,":").concat(d(n*e%60,2))})})(15,0,12).map(e=>({label:e,value:e})),x=[{label:"AM",value:"AM"},{label:"PM",value:"PM"}],S=l.Ay.div.withConfig({componentId:"sc-ed6b0cd6-0"})(["text-align:left;margin-bottom:0.3rem;"]),C=l.Ay.div.withConfig({componentId:"sc-ed6b0cd6-1"})(["margin-top:16px;"]),E=l.Ay.div.withConfig({componentId:"sc-ed6b0cd6-2"})(["display:flex;flex-direction:row;width:100%;"]),w=l.Ay.div.withConfig({componentId:"sc-ed6b0cd6-3"})(["flex-grow:1;margin-right:",";"],(0,s.YK)("extra-tight"));function P(e){return e?(0,i.Ay)(e.start,"dd-mm-yyyy"):(0,i.Ay)(new Date,"dd-mm-yyyy")}class _ extends o.Component{componentDidMount(){this.handleUpdate()}componentDidUpdate(e){this.handleUpdate(e)}handleUpdate(e){if(e&&e.clampDate!==this.props.clampDate){let{dateRange:e}=this.renderValue();e&&this.handleChange({date:P(e)})}}renderValue(){let{value:e,zone:t,clampDate:n,defaultTime:a}=this.props;return function(e){let{value:t,zone:n,clampDate:a,defaultTime:r=(0,c.tK)(n)}=e;if(!t){let e=r.match(/(\d\d?:\d\d)\s?([A|P]M)/);if(!e)throw Error("Time component format error");let[,t,i]=e;if(!t)throw Error("Time component missing in default time");if(!i)throw Error("Meridiem component missing in default time");return a?{date:(0,c.HN)(a,n),dateRange:{start:new Date(a),end:new Date(a)},meridiem:i,time:t,value:(0,c.vk)((0,c.HN)(a,n),t,i,n)}:{date:"",dateRange:void 0,meridiem:i,time:t,value:""}}let i=u(t,n),o=a?u(a,n).date:i.date,l=function(e){let[t,n]=e.split(":").map(e=>parseInt(e,10)),a=d(n-n%15,2);return"".concat(t,":").concat(a)}(i.time),s=i.meridiem,h=(0,c.vk)(o,l,s,n),m=function(e,t){let n=new Date((0,c.GB)(e,t));return{start:n,end:n}}(o,n);return{date:o,dateRange:m,time:l,meridiem:s,value:h}}({value:e===h.Kg?m.c9.local().toISO({includeOffset:!1}):e,zone:t,clampDate:n,defaultTime:a})}render(){let{hideDate:e,className:t,dateLabel:n,timeLabel:i,hideTime:o,error:l="",disableDatesBefore:s,disableDatesAfter:c,required:d}=this.props,{dateRange:u,time:h,meridiem:m}=this.renderValue();return(0,a.jsxs)("div",{className:t,children:[(0,a.jsxs)(E,{children:[!e&&(0,a.jsxs)(w,{children:[n&&(0,a.jsx)(S,{children:(0,a.jsxs)(p.E,{as:"p",variant:"bodyMd",children:[n,d&&(0,a.jsx)(p.E,{as:"span",tone:"critical",children:"*"})]})}),(0,a.jsx)(r.A,{onChange:this.handleDateChange,value:u,disableDatesBefore:s,disableDatesAfter:c})]}),!o&&(0,a.jsxs)(f.a,{gap:"100",children:[i&&(0,a.jsx)(p.E,{as:"p",variant:"bodyMd",children:i}),(0,a.jsxs)(g.o,{gap:"050",children:[(0,a.jsx)(y.l,{options:b,value:h,onChange:this.handleTimeChange,label:"",labelHidden:!0}),(0,a.jsx)(y.l,{value:m,options:x,onChange:this.handleMeridiemChange,label:"",labelHidden:!0})]})]})]}),l&&(0,a.jsx)(C,{children:(0,a.jsx)(v.W,{fieldID:"",message:l})})]})}constructor(...e){super(...e),this.handleChange=e=>{let{onChange:t,zone:n,value:a}=this.props,{date:r,time:i,meridiem:o}=this.renderValue(),l=((e,t,n,a,r,i)=>{let o=u(n||(0,c.vk)(a||e.date||new Date().toISOString(),r,i,t),t);return e.date||o.date?(0,c.vk)(e.date||o.date,e.time||o.time,e.meri
1diem||o.meridiem,t):void 0})(e,n,a,r,i,o);t&&l&&t(l)},this.handleDateChange=e=>{this.handleChange({date:P(e)})},this.handleTimeChange=e=>{this.handleChange({time:e})},this.handleMeridiemChange=e=>{this.handleChange({meridiem:e})}}}_.defaultProps={hideDate:!1}},54095:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var a=n(14232),r=n(22073),i={TextContainer:"Polaris-TextContainer",spacingTight:"Polaris-TextContainer--spacingTight",spacingLoose:"Polaris-TextContainer--spacingLoose"};function o({spacing:e,children:t}){let n=(0,r.xW)(i.TextContainer,e&&i[(0,r.Ny)("spacing",e)]);return a.createElement("div",{className:n},t)}},55645:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var a=n(14232),r={Layout:"Polaris-Layout",Section:"Polaris-Layout__Section","Section-fullWidth":"Polaris-Layout__Section--fullWidth","Section-oneHalf":"Polaris-Layout__Section--oneHalf","Section-oneThird":"Polaris-Layout__Section--oneThird",AnnotatedSection:"Polaris-Layout__AnnotatedSection",AnnotationWrapper:"Polaris-Layout__AnnotationWrapper",AnnotationContent:"Polaris-Layout__AnnotationContent",Annotation:"Polaris-Layout__Annotation"},i=n(54095),o=n(91930),l=n(68522),s=n(22073);function c({children:e,variant:t}){let n=(0,s.xW)(r.Section,r[`Section-${t}`]);return a.createElement("div",{className:n},e)}let d=function({sectioned:e,children:t}){let n=e?a.createElement(c,null,t):t;return a.createElement("div",{className:r.Layout},n)};d.AnnotatedSection=function({children:e,title:t,description:n,id:s}){let c="string"==typeof n?a.createElement(o.E,{as:"p",variant:"bodyMd"},n):n;return a.createElement("div",{className:r.AnnotatedSection},a.createElement("div",{className:r.AnnotationWrapper},a.createElement("div",{className:r.Annotation},a.createElement(i.T,{spacing:"tight"},a.createElement(o.E,{id:s,variant:"headingMd",as:"h2"},t),c&&a.createElement(l.a,{color:"text-secondary"},c))),a.createElement("div",{className:r.AnnotationContent},e)))},d.Section=c},75773:(e,t,n)=>{"use strict";n.d(t,{u:()=>b});var a=n(14232),r=n(22073),i=n(65428),o=n(80427),l={LegacyCard:"Polaris-LegacyCard",Section:"Polaris-LegacyCard__Section",subdued:"Polaris-LegacyCard--subdued","Section-hideOnPrint":"Polaris-LegacyCard__Section--hideOnPrint",hideOnPrint:"Polaris-LegacyCard--hideOnPrint",Header:"Polaris-LegacyCard__Header","Section-fullWidth":"Polaris-LegacyCard__Section--fullWidth","Section-flush":"Polaris-LegacyCard__Section--flush","Section-subdued":"Polaris-LegacyCard__Section--subdued",SectionHeader:"Polaris-LegacyCard__SectionHeader",Subsection:"Polaris-LegacyCard__Subsection",Footer:"Polaris-LegacyCard__Footer",LeftJustified:"Polaris-LegacyCard__LeftJustified",FirstSectionPadding:"Polaris-LegacyCard__FirstSectionPadding",LastSectionPadding:"Polaris-LegacyCard__LastSectionPadding"},s=n(4082),c=n(74913),d=n(47677),u=n(91930);function h({children:e,title:t,actions:n}){let r=n?a.createElement(c.e,null,(0,s.G)(n,{variant:"plain"})):null,i=(0,a.isValidElement)(t)?t:a.createElement(u.E,{variant:"headingSm",as:"h2"},t),o=r||e?a.createElement(d.o,{wrap:!1,gap:"200",align:"space-between",blockAlign:"center"},i,a.createElement(d.o,{wrap:!1,gap:"400",blockAlign:"center"},r,e)):i;return a.createElement("div",{className:l.Header},o)}var m=n(56610);function p({children:e,title:t,subdued:n,flush:i,fullWidth:o,actions:d,hideOnPrint:h}){let p=(0,r.xW)(l.Section,i&&l["Section-flush"],n&&l["Section-subdued"],o&&l["Section-fullWidth"],h&&l["Section-hideOnPrint"]),f=d?a.createElement(c.e,null,(0,s.G)(d,{variant:"plain"})):null,g="string"==typeof t?a.createElement(u.E,{variant:"headingSm",as:"h3",fontWeight:"medium"},t):t,y=g||f?a.createElement("div",{className:l.SectionHeader},f?a.createElement(m.W,{alignment:"baseline"},a.createElement(m.W.Item,{fill:!0},g),f):g):null;return a.createElement("div",{className:p},y,e)}var f=n(54649),g=n(40788),y=n(52387),v=n(95186);let b=function({children:e,hideOnPrint:t,title:n,subdued:d,sectioned:u,actions:m,primaryFooterAction:b,secondaryFooterActions:S,secondaryFooterActionsDisclosureText:C,footerActionAlignment:E="right"}){let w=(0,f.s)(),{value:P,toggle:_}=(0,i.e)(!1),A=function(){let e=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let t,n,a=e.current;if(a){let e=()=>{var e;let r;x(t,"top",!1),x(n,"bottom",!1);let i=a.querySelectorAll(`.${l.Section}, .${l.Header}, .${l.Footer}`);if(!i?.length)return;
1let o=i[0],s=(r=(e=i)[0],e.forEach(e=>{r.contains(e)||(r=e)}),r);a.firstChild?.contains(o)&&x(t=o,"top",!0),a.lastChild?.contains(s)&&x(n=s,"bottom",!0)};e();let r=new MutationObserver(e);return r.observe(a,{childList:!0,subtree:!0}),()=>{x(t,"top",!1),x(n,"bottom",!1),r.disconnect()}}},[]),e}(),I=(0,r.xW)(l.LegacyCard,d&&l.subdued,t&&l.hideOnPrint),j=n||m?a.createElement(h,{actions:m,title:n}):null,M=u?a.createElement(p,null,e):e,L=b?(0,s.x)(b,{variant:"primary"}):null,k=null;S&&S.length&&(k=1===S.length?(0,s.x)(S[0]):a.createElement(a.Fragment,null,a.createElement(g.A,{active:P,activator:a.createElement(y.$,{disclosure:!0,onClick:_},C||w.translate("Polaris.Common.more")),onClose:_},a.createElement(v.l,{items:S}))));let D=L||k?a.createElement("div",{className:(0,r.xW)(l.Footer,"left"===E&&l.LeftJustified)},"right"===E?a.createElement(c.e,null,k,L):a.createElement(c.e,null,L,k)):null;return a.createElement(o.O.Provider,{value:!0},a.createElement("div",{className:I,ref:A},j,M,D))};function x(e,t,n){if(!(!e||e.className.includes(l["Section-flush"])))switch(t){case"top":e.classList.toggle(l.FirstSectionPadding,n);return;case"bottom":e.classList.toggle(l.LastSectionPadding,n)}}b.Header=h,b.Section=p,b.Subsection=function({children:e}){return a.createElement("div",{className:l.Subsection},e)}},79816:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(37876);n(14232);var r=n(44264),i=n(88651),o=n(62988),l=n(92110),s=n(58744),c=n(29347);let d=r.Ay.div.withConfig({componentId:"sc-daf0229e-0"})(["display:flex;justify-content:space-between;background:",";"],(0,i.yW)("white")),u=r.Ay.div.withConfig({componentId:"sc-daf0229e-1"})(["flex:0 1 90%;padding:",";display:flex;justify-content:center;align-items:center;flex-wrap:wrap;"],(0,i.YK)("extra-tight")),h=r.Ay.div.withConfig({componentId:"sc-daf0229e-2"})(["flex:0 1 5%;padding:",";text-align:right;"],(0,i.YK)("tight")),m=r.Ay.div.withConfig({componentId:"sc-daf0229e-3"})(["flex:0 1 5%;padding:",";"],(0,i.YK)("tight")),p=r.Ay.div.withConfig({componentId:"sc-daf0229e-4"})(["",""],e=>{let{$selected:t}=e;return(0,r.AH)(["display:flex;flex-direction:column;align-items:center;margin:0.7rem 0.7rem;@media (max-width:","){& > *{display:none;}
1height:15px;width:10px;background-color:",";border-radius:50%;display:inline-block;}"],o.f.tabletLandscape+"px",t?(0,i.yW)("primary"):"#e9e9e9")}),f=r.Ay.span.withConfig({componentId:"sc-daf0229e-5"})([""," ",";position:relative;margin-bottom:0.35rem;"],e=>{let{$selected:t}=e;return t?"\n ".concat((0,i.xP)("extraLarge"),";\n color: #0b1f59;\n "):"\n ".concat((0,i.xP)("large"),";\n color: #e9e9e9;\n ")},(0,i.N9)("strong")),g=r.Ay.span.withConfig({componentId:"sc-daf0229e-6"})(["background-color:",";height:",";width:150px;"],e=>e.$selected?(0,i.yW)("primary"):"#e9e9e9",(0,i.YK)("extra-tight"));function y(e){let{stepList:t,currentStep:n,onNavigate:r,hideButtons:i,hideLeftButton:o,hideRightButton:y,onClickBack:v}=e;return(0,a.jsxs)(d,{children:[!i&&!o&&(0,a.jsx)(m,{children:(0,a.jsx)(l.A,{primary:!0,icon:s.S,direction:"left",onClick:v,children:"Back"})}),(0,a.jsx)(u,{children:t.map(e=>{let{id:t,label:r}=e,i=n===t;return(0,a.jsxs)(p,{$selected:i,children:[(0,a.jsx)(f,{$selected:i,children:r}),(0,a.jsx)(g,{$selected:i})]},t)})}),!i&&!y&&(0,a.jsx)(h,{children:(0,a.jsx)(l.A,{primary:!0,icon:c.S,direction:"right",onClick:r,children:"Next"})})]})}},81705:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var a=n(14232),r=function(e){return a.createElement("svg",Object.assign({viewBox:"0 0 20 20"},e),a.createElement("path",{fillRule:"evenodd",d:"M6 2.25c.414 0 .75.336.75.75v.528c.487-.028 1.07-.028 1.768-.028h2.482v-.5c0-.414.336-.75.75-.75s.75.336.75.75v.604c1.296.347 2.25 1.53 2.25 2.936 0 .835-.678 1.513-1.513 1.513h-8.733c-.004.288-.004.617-.004.997v2.468c0 1.233 1 2.232 2.232 2.232.414 0 .75.336.75.75s-.336.75-.75.75c-2.061 0-3.732-1.67-3.732-3.732v-2.5c0-.813 0-1.469.043-2 .045-.546.14-1.026.366-1.47.36-.706.933-1.28 1.639-1.64.066-.033.134-.064.202-.093v-.815c0-.414.336-.75.75-.75Zm7.237 4.303h-8.61c.033-.13.072-.234.118-.324.216-.424.56-.768.984-.984.197-.1.458-.17.912-.207.462-.037 1.057-.038 1.909-.038h3.16c.85 0 1.54.69 1.54 1.54v.005l-.004.004-.004.003h-.005Z"}),a.createElement("path",{d:"M14.25 12c0-.414-.336-.75-.75-.75s-.75.336-.75.75v1.293c0 .331.132.65.366.884l.854.853c.293.293.767.293 1.06 0 .293-.293.293-.767 0-1.06l-.78-.78v-1.19Z"}),a.createElement("path",{fillRule:"evenodd",d:"M13.5 18c2.485 0 4.5-2.015 4.5-4.5s-2.015-4.5-4.5-4.5-4.5 2.015-4.5 4.5 2.015 4.5 4.5 4.5Zm0-1.5c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3Z"}))};r.displayName="CalendarTimeIcon"},86793:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/charity/[id]/reports/donation-reports",function(){return n(10759)}])},88651:(e,t,n)=>{"use strict";n.d(t,{Vq:()=>a.V,yW:()=>r.y,p0:()=>l,cz:()=>o,r7:()=>s,YK:()=>i.Y,xP:()=>c.x,N9:()=>c.N});var a=n(19268),r=n(50039),i=n(5789);function o(e){return({base:"cubic-bezier(0.64, 0, 0.35, 1)",in:"cubic-bezier(0.36, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.42, 1)",excite:"cubic-bezier(0.18, 0.67, 0.6, 1.22)",overshoot:"cubic-bezier(0.07, 0.28, 0.32, 1.22)",anticipate:"cubic-bezier(0.38, -0.4, 0.88, 0.65)"})[e]}function l(e){return({fast:100,base:200,slow:300,slower:400,slowest:500})[e]+"ms"}function s(e){return({faint:"0 1px 0 0 rgba(22, 29, 37, 0.05)",base:"0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15)",deep:"0 0 0 1px rgba(6, 44, 82, 0.1), 0 2px 16px rgba(33, 43, 54, 0.08)",layer:"0 31px 41px 0 rgba(32, 42, 53, 0.2), 0 2px 16px 0 rgba(32, 42, 54, 0.08)",transparent:"0 0 0 0 transparent"})[e]}var c=n(35848)},92110:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var a=n(37876);n(14232);var r=n(52387);let i=e=>{let{children:t,icon:n,onClick:i,...o}=e;return(0,a.jsx)(r.$,{external:!0,variant:"primary",size:"large",fullWidth:!0,icon:n,onClick:i,...o,children:t})}},96833:(e,t,n)=>{"use strict";n.d(t,{l:()=>h});var a=n(14232),r=n(42740),i=n(22073),o=n(65428),l={Select:"Polaris-Select",disabled:"Polaris-Select--disabled",error:"Polaris-Select--error",Backdrop:"Polaris-Select__Backdrop",Input:"Polaris-Select__Input",Content:"Polaris-Select__Content",InlineLabel:"Polaris-Select__InlineLabel",Icon:"Polaris-Select__Icon",SelectedOption:"Polaris-Select__SelectedOption",Prefix:"Polaris-Select__Prefix",hover:"Polaris-Select--hover",toneMagic:"Polaris-Select--toneMagic"},s=n(33698),c=n(40317),d=n(68522),u=n(91930);function h({options:e,label:t,labelAction:n,labelHidden:h,labelInline:m,disabled:f,helpText:y,placeholder:b,id:x,name:S,value:C="",error:E,onChange:w,onFocus:P,onBlur:_,requiredIndicator:A,tone:I}){let{value:j,toggle:M}=(0,o.e)(!1),L=(0,a.useId)(),k=x??L,D=(0,i.xW)(l.Select,E&&l.error,I&&l[(0,i.Ny)("tone",I)],f&&l.disabled),N=(0,a.useCallback)(e=>{M(),P?.(e)},[P,M]),T=(0,a.useCallback)(e=>{M(),_?.(e)},[_,M]),O=w?e=>w(e.currentTarget.value,k):void 0,F=[];y&&F.push((0,c.yw)(k)),E&&F.push(`${k}Error`);let W=(e||[]).map(g);b&&(W=[{label:b,value:"",disabled:!0},...W]);let Y=m&&a.createElement(d.a,{paddingInlineEnd:"100"},a.createElement(u.E,{as:"span",variant:"bodyMd",tone:I&&"magic"===I&&!j?"magic-subdued":"subdued",truncate:!0}
1,t)),H=function(e,t){let n,a=(n=[],e.forEach(e=>{p(e)?n=n.concat(e.options):n.push(e)}),n),r=a.find(e=>t===e.value);return void 0===r&&(r=a.find(e=>!e.hidden)),r||{value:"",label:""}}(W,C),z=H.prefix&&a.createElement("div",{className:l.Prefix},H.prefix),B=a.createElement("div",{className:l.Content,"aria-hidden":!0,"aria-disabled":f},Y,z,a.createElement("span",{className:l.SelectedOption},H.label),a.createElement("span",{className:l.Icon},a.createElement(s.I,{source:r.S}))),$=W.map(v);return a.createElement(c.ks,{id:k,label:t,error:E,action:n,labelHidden:!!m||h,helpText:y,requiredIndicator:A,disabled:f},a.createElement("div",{className:D},a.createElement("select",{id:k,name:S,value:C,className:l.Input,disabled:f,onFocus:N,onBlur:T,onChange:O,"aria-invalid":!!E,"aria-describedby":F.length?F.join(" "):void 0,"aria-required":A},$),B,a.createElement("div",{className:l.Backdrop})))}function m(e){return"string"==typeof e}function p(e){return"object"==typeof e&&"options"in e&&null!=e.options}function f(e){return{label:e,value:e}}function g(e){if(m(e))return f(e);if(p(e)){let{title:t,options:n}=e;return{title:t,options:n.map(e=>m(e)?f(e):e)}}return e}function y(e){let{value:t,label:n,prefix:r,key:i,...o}=e;return a.createElement("option",Object.assign({key:i??t,value:t},o),n)}function v(e){if(p(e)){let{title:t,options:n}=e;return a.createElement("optgroup",{label:t,key:t},n.map(y))}return y(e)}}},e=>{e.O(0,[2026,3716,6989,4751,8174,9830,3266,2402,9983,4182,580,636,6593,8792],()=>e(e.s=86793)),_N_E=e.O()}]); 2//# sourceMappingURL=donation-reports-fdbf99a4852236a2.js.map
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.