PageSourceSearch

https://www.goodcompany.com.au/_next/static/chunks/pages/admin/bac…/[id]/edit-073d1885873e52cc.js

js goodcompany.com.au collected 2026-10-02 11:24:20 UTC 11,746 bytes, 2 lines download raw bytes

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]="42f99c05-4cb8-469a-980d-d0b0c7bfb89a",e._sentryDebugIdIdentifier="sentry-dbid-42f99c05-4cb8-469a-980d-d0b0c7bfb89a")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7855],{532:(e,t,i)=>{"use strict";i.d(t,{Lw:()=>v,yB:()=>n.A});var n=i(84974),a=i(37876),r=i(14232);i(30063),i(80828);var o=i(15039),c=i.n(o),s=i(8949),l=i(35070),d=i(68441),h=i(44264),u=i(45991);let m=h.Ay.div.withConfig({componentId:"sc-13b73589-0"})(["background-color:#ffffff;position:fixed;z-index:400;top:5.1428571rem;right:0;left:0;"]),g=e=>{let{titleList:t,selected:i,hidePreviousButton:n,onClickBack:r,onNavigate:o}=e,c=t.map(e=>{let{id:t,title:i}=e;return{id:String(t),label:i}}),s=null!=i?String(i):c.length>0?c[0].id:void 0;return(0,a.jsx)(m,{children:(0,a.jsx)(u.A,{onClickBack:r,onNavigate:o,stepList:c,currentStep:s,hideLeftButton:n})})};var p=i(19818),y=i(7550),f=i.n(y);let v=e=>{let{actions:t,onPrevious:i,onNext:n,children:o,showTopCard:h,titleList:u,pageIndex:m,topTitle:y,tipsOpen:v,onCloseTips:x,hidePreviousButton:_=!1}=e,b=(0,r.useContext)(p.f5);return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(d.TD,{}),(0,a.jsxs)("header",{className:f().header,children:[(0,a.jsx)("div",{className:f().logoContainer,children:(0,a.jsx)("a",{href:"/","aria-label":"Home",children:(0,a.jsx)("img",{className:f().logoImage,src:b.getLogoUrl(),height:60,alt:"Logo"})})}),(0,a.jsx)("div",{className:f().progressContainer,children:(0,a.jsx)(s.E,{as:"h1",fontWeight:"medium",children:y})}),(0,a.jsx)("div",{className:f().actionsContainer,children:null==t?void 0:t.map((e,t)=>(0,a.jsx)(l.$,{onClick:e.onAction,url:e.url,target:e.external?"_blank":void 0,tone:e.destructive?"critical":void 0,disabled:e.disabled,icon:e.icon,children:e.content},t))})]}),h&&0!=m&&(0,a.jsx)(g,{onClickBack:i,onNavigate:n,titleList:u,selected:m,hidePreviousButton:_}),(0,a.jsxs)("main",{className:c()(f().main,0===m&&f().extraPadding),children:[(0,a.jsx)("div",{className:f().pageControl,children:!1}),(0,a.jsx)("div",{className:f().pageContent,children:o}),(0,a.jsx)("div",{className:f().pageControl,children:!1})]})]})}},7550:e=>{e.exports={logoContainer:"CreateScreenLayout_logoContainer__2fp5V",progressContainer:"CreateScreenLayout_progressContainer__4DD_0",progressBar:"CreateScreenLayout_progressBar__xgvqz",actionsContainer:"CreateScreenLayout_actionsContainer__8_h8E",main:"CreateScreenLayout_main__p0uYF",pageControl:"CreateScreenLayout_pageControl__B_bMn",pageControlButton:"CreateScreenLayout_pageControlButton__f9iHq",pageContent:"CreateScreenLayout_pageContent__bnc4p",hide:"CreateScreenLayout_hide__Rxh8m",extraPadding:"CreateScreenLayout_extraPadding__yrr_a",logoImage:"CreateScreenLayout_logoImage__5b_HQ",header:"CreateScreenLayout_header__hAzxV",skeletonShimmerAnimation:"CreateScreenLayout_skeletonShimmerAnimation__R5i4z"}},11654:(e,t,i)=>{"use strict";i.d(t,{S:()=>a});var n=i(14232),a=function(e){return n.createElement("svg",Object.assign({viewBox:"0 0 20 20"},e),n.createElement("path",{d:"M3.5 6.25c0-1.519 1.231-2.75 2.75-2.75h7.5c1.519 0 2.75 1.231 2.75 2.75v4.25c0 .414-.336.75-.75.75s-.75-.336-.75-.75v-4.25c0-.69-.56-1.25-1.25-1.25h-7.5c-.69 0-1.25.56-1.25 1.25v7.5c0 .69.56 1.25 1.25 1.25h4.25c.414 0 .75.336.75.75s-.336.75-.75.75h-4.25c-1.519 0-2.75-1.231-2.75-2.75v-7.5Z"}),n.createElement("path",{d:"M15 12.25c.414 0 .75.336.75.75v1.25h1.25c.414 0 .75.336.75.75s-.336.75-.75.75h-1.25v1.25c0 .414-.336.75-.75.75s-.75-.336-.75-.75v-1.25h-1.25c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h1.25v-1.25c0-.414.336-.75.75-.75Z"}),n.createElement("path",{d:"M6.55 7.25c0-.387.313-.7.7-.7h5.5c.387 0 .7.313.7.7 0 .387-.313.7-.7.7h-5.5c-.387 0-.7-.313-.7-.7Z"}),n.createElement("path",{d:"M7.25 9.05c-.387 0-.7.313-.7.7 0 .387.313.7.7.7h2.25c.387 0 .7-.313.7-.7 0-.387-.313-.7-.7-.7h-2.25Z"}))};a.displayName="NoteAddIcon"},18430:e=>{e.exports={settingTileContainer:"edit_settingTileContainer__Sr5oa",skeletonShimmerAnimation:"edit_skeletonShimmerAnimation__gY5lS"}},20982:(e,t,i)=>{"use strict";i.d(t,{Y:()=>l});var n=i(36190),a=i(69034),r=i(93087),o=i(9938),c=i(53965);let s=async e=>{let t=await n.LN(e.req),i=(await (0,o.KU)(c.RootClient,e.req)).getRoot(),r=(await i).currentSite.features;return[...(0,a.bJ)(t)?[]:t.items,...r]},l=(0,r.Lu)(s)},26150:(e,t,i)=>{"use strict";i.d(t,{S:()=>a});var n=i(14232),a=function(e){return n.createElement("svg",Object.assign({viewBox:"0 0 20 20"},e),n.createElement("path",{fillRule:"evenodd",d:"M3.5 5.75v8.5a2.25 2.25 0 0 0 2.25 2.25h8.5a2.25 2.25 0 0 0 2.25-2.25v-1c.304-.228.5-.591.5-1v-2c0-.409-.196-.772-.5-1v-.75a2.25 2.25 0 0 0-2.25-2.25h-.75v-.5a2.25 2.25 0 0 0-2.25-2.25h-5.5a2.25 2.25 0 0 0-2.25 2.25Zm2.25-.75a.75.75 0 0 0-.75.75v.5h7v-.5a.75.75 0 0 0-.75-.75h-5.5Zm9.75 5.5h-3.75v1.5h3.75v-1.5Zm-.5-1.5v-.5a.75.75 0 0 0-.75-.75h-9.25v6.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-.75h-3.5c-.69 0-1.25-.56-1.25-1.25v-2c0-.69.56-1.25 1.25-1.25h3.5Z"}))};a.displayName="WalletIcon"},68652:(e,t,i)=>{"use strict";i.d(t,{c:()=>r});var n=i(14232),a={Divider:"Polaris-Divider"};let r=e=>{let{borderColor:t="border-secondary",borderWidth:i="025"}=e;return n.createElement("hr",{className:a.Divider,style:{borderBlockStart:"var(--p-border-width-".concat(i,") solid ").concat("transparent"===t?t:"var(--p-color-".concat(t,")"))}})}},72654:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>O});var n=i(37876),a=i(14232),r=i(532),o=i(18430),c=i.n(o),s=i(18372),l=i(69034),d=i(58209),h=i(31632),u=i(20982),m=i(28751),g=i(36190),p=i(44264),y=i(53965),f=i(15598),v=i(89219),x=i(32395),_=i(8949),b=i(88052),S=i(35070);let j=p.Ay.div.withConfig({componentId:"sc-5371df5b-0"})(["width:56px;height:56px;border-radius:50%;overflow:hidden;background-color:#f2f2f2;display:flex;align-items:center;justify-content:center;"]),C=p.Ay.img.withConfig({componentId:"sc-5371df5b-1"})(["max-width:100%;max-height:100%;object-fit:contain;"]),w=e=>{let{charityInfo:t,showActivateOption:i,onClick:a}=e,r=(null==t?void 0:t.charityStatus)===y.CharityStatus.Approved;return(0,n.jsx)(f.u.Section,{children:(0,n.jsxs)(v.o,{align:"start",blockAlign:"center",gap:"600",wrap:!0,children:[(0,n.jsxs)(v.o,{blockAlign:"center",gap:"400",children:[(0,n.jsx)(j,{children:(0,n.jsx)(C,{src:(null==t?void 0:t.logoImageUrl)||"",alt:(null==t?void 0:t.name)||"Logo"})}),(0,n.jsxs)(x.a,{gap:"100",inlineAlign:"center",children:[(0,n.jsx)(_.E,{as:"span",fontWeight:"medium",children:null==t?void 0:t.name}),(0,n.jsx)(b.E,{tone:r?"success":"warning",children:null==t?void 0:t.charityStatus})]})]}),i&&(0,n.jsx)(v.o,{align:"center",children:(0,n.jsx)(S.$,{variant:"primary",onClick:a,children:r?"Deny ".concat(null==t?void 0:t.name):"Undeny ".concat(null==t?void 0:t.name)})})]})})};var k=i(61286),A=i(80425),N=i(68652),M=i(24286),E=i(46062),L=i(25245),D=i(92558),I=i(26150),B=i(11654),T=i(7705),P=i(88293),R=i(86465);let Z=e=>{let{charityId:t}=e,[i,o]=(0,a.useState)(),[u,m]=(0,a.useState)(!1),[p,y]=(0,a.useState)(),[b,j]=(0,a.useState)(),[C,Z]=(0,a.useState)(),[O,V]=(0,a.useState)(""),Y=async()=>{let e=await (0,g.TP)(t);(0,l.JN)(e)||o(e)},q=async()=>{let e=await (0,g.F3)(t);j(e),e.charityType===d.CharityType.Regular?(m((await (0,g.C0)(t)).isAcceptingDonations),Y(),F()):z()},z=async()=>{y(await (0,g.DA)(t))},F=async()=>{y(await (0,g.uO)(t))},H=async()=>{let e;Z(!0),e=(null==p?void 0:p.charityStatus)===d.CharityStatus.Approved?await (0,g.ZO)(t):await (0,g.uo)(t),(0,l.bJ)(e)?(Z(!1),V("Error updating workplace status")):window.location.reload()};return(0,a.useEffect)(()=>{q()},[]),(0,n.jsx)(r.yB,{title:"Settings",adminArea:"backoffice",showSpinnerLoading:C,errorMessage:O,children:(0,n.jsx)(k.Y,{children:(0,n.jsx)(A.P,{children:(0,n.jsxs)(A.P.Section,{children:[(0,n.jsxs)(f.u,{children:[(0,n.jsx)(w,{charityInfo:p,onClick:H,showActivateOption:(null==p?void 0:p.charityStatus)===d.CharityStatus.Approved||(null==p?void 0:p.charityStatus)===d.CharityStatus.Denied}),(0,n.jsx)(N.c,{}),(0,n.jsx)(f.u.Section,{title:"Settings",children:(0,n.jsx)("div",{className:c().settingTileContainer,children:(null==b?void 0:b.charityType)===d.CharityType.Community?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.A,{icon:M.S,title:"Community Profile",description:"Manage your community details and profile settings",url:"/admin/backoffice/community/".concat(t,"/edit")}),(0,n.jsx)(s.A,{icon:E.S,title:"Members",description:"Manage everything to do with members",url:"/admin/backoffice/charity/".concat(t,"/members")})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.A,{icon:M.S,title:"Charity Profile",description:"Manage charity details and profile settings",url:"/admin/backoffice/charity/".concat(t,"/edit/charity-profile")}),(0,n.jsx)(s.A,{icon:L.S,title:"Volunteer Membership",description:"Manage everything to do with volunteering",url:"/admin/backoffice/charity/".concat(t,"/edit/volunteering")}),(0,n.jsx)(s.A,{icon:D.S,title:"Donations",description:"Manage everything to do with receiving donations",url:"/admin/backoffice/charity/".concat(t,"/edit/donation")}),u&&(0,n.jsx)(s.A,{icon:I.S,title:"Membership",description:"Manage membership",url:"/admin/backoffice/charity/".concat(t,"/edit/registration")}),(0,n.jsx)(s.A,{icon:E.S,title:"Members",description:"Manage everything to do with members",url:"/admin/backoffice/charity/".concat(t,"/members")}),(0,n.jsx)(s.A,{icon:L.S,title:"Volunteering Roles",description:"Manage everything to do with volunteering roles",url:"/admin/backoffice/charity/".concat(t,"/volunteering-roles")}),(0,n.jsx)(s.A,{icon:B.S,title:"Volunteering Applications",description:"Manage everything to do with volunteering applications",url:"/admin/backoffice/charity/".concat(t,"/volunteer-applications")}),(0,n.jsx)(s.A,{icon:D.S,title:"Dollar Handles",description:"Manage everything to do with dollar handles",url:"/admin/backoffice/charity/".concat(t,"/dollar-handles")})]})})}),(0,n.jsx)(N.c,{}),(0,n.jsx)(f.u.Section,{title:"Reports",children:(0,n.jsxs)("div",{className:c().settingTileContainer,children:[(0,n.jsx)(s.A,{icon:T.S,title:"Reports",description:"Download Reports",url:"/admin/backoffice/charity/".concat(t,"/reports")}),(0,n.jsx)(s.A,{icon:P.S,title:"Remittances",description:"View list of remittances",url:"/admin/backoffice/charity/".concat(t,"/remittances")}),(0,n.jsx)(s.A,{icon:R.S,title:"Admin Notes",description:"View and Edit Admin Notes",url:"/admin/backoffice/charity/".concat(t,"/edit/admin-notes")})]})})]}),u&&(0,n.jsx)(f.u,{title:"Your membership renews on the ".concat((0,h.ae)(i&&i.cancellationDate,"dS mmmm, yyyy")),children:(0,n.jsx)(f.u.Section,{children:(0,n.jsxs)(x.a,{gap:"200",children:[(0,n.jsx)(_.E,{as:"p",tone:"subdued",children:"You will c
1ontinue to recieve donations deposited into your account while your membership is active."}),(0,n.jsx)(v.o,{align:"center",children:(0,n.jsx)(S.$,{onClick:()=>window.location.href="/admin/backoffice/charity/".concat(t,"/edit/registration"),size:"slim",children:"Renew Membership"})})]})})})]})})})})};Z.getInitialProps=async e=>({charityId:e.query.id});let O=(0,u.Y)(m.x.BackOffice_ManageCharities)(Z)},80828:e=>{e.exports={header:"minimal_header__XpFdq",main:"minimal_main__ZyzSJ",pageContent:"minimal_pageContent__Mj_hS",skeletonShimmerAnimation:"minimal_skeletonShimmerAnimation__EZC7x"}},89509:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/backoffice/charity-settings/[id]/edit",function(){return i(72654)}])}},e=>{e.O(0,[2026,9879,6494,6960,2120,7930,1286,7083,4974,6190,6313,636,6593,8792],()=>e(e.s=89509)),_N_E=e.O()}]);
2//# sourceMappingURL=edit-073d1885873e52cc.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.