PageSourceSearch

https://www.goodcompany.com.au/_next/static/chunks/pages/admin/cha…/[changeRequestId]-9c502d866d4da29a.js

js goodcompany.com.au collected 2026-10-02 11:26:34 UTC 5,119 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]="29556ee2-1efd-4269-9125-e7934b56de6f",e._sentryDebugIdIdentifier="sentry-dbid-29556ee2-1efd-4269-9125-e7934b56de6f")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4647],{1377:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/charity/[id]/volunteering/[roleId]/pending-review/[changeRequestId]",function(){return n(67463)}])},21093:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(37876);n(14232);var o=n(83334);let a=()=>(0,i.jsx)(o.lZ,{tone:"info",title:"Change Request Pending Review",children:"Your change request is pending review. It will be approved within 24 hours, and your changes will be reflected after that."})},67463:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var i=n(37876),o=n(14232),a=n(532),l=n(98768),r=n(28751),d=n(9060),s=n(80425),c=n(15598),u=n(32395),h=n(89219),p=n(8949),g=n(45161),f=n.n(g),y=n(21093);let v=e=>{var t,n,o,a,l;let{oldValue:r,newValue:d}=e;return(0,i.jsxs)(s.P,{sectioned:!0,children:[(0,i.jsx)(s.P.Section,{children:(0,i.jsx)(y.A,{})}),(0,i.jsxs)(c.u,{title:"Pending Review for ".concat(null!=(t=null==r?void 0:r.title)?t:""),children:[(0,i.jsx)(c.u.Section,{children:(0,i.jsx)(u.a,{gap:"300",children:(0,i.jsx)(f(),{oldValue:"".concat(null!=(n=null==r?void 0:r.title)?n:""),newValue:"".concat(null!=(o=null==d?void 0:d.title)?o:""),compareMethod:g.DiffMethod.WORDS,hideLineNumbers:!0,showDiffOnly:!1,splitView:!0,leftTitle:"Old Position Title",rightTitle:"New Position Title"})})}),(0,i.jsx)(c.u.Section,{children:(null==r?void 0:r.description)!==(null==d?void 0:d.description)?(0,i.jsx)(f(),{oldValue:null!=(a=null==r?void 0:r.description)?a:"",newValue:null!=(l=null==d?void 0:d.description)?l:"",compareMethod:g.DiffMethod.WORDS,hideLineNumbers:!0,showDiffOnly:!1,splitView:!0,leftTitle:"Old Description",rightTitle:"New Description"}):(0,i.jsx)(h.o,{align:"center",blockAlign:"center",children:(0,i.jsx)(p.E,{as:"span",children:"Description Unchanged"})})})]})]})},w=e=>{var t,n,l,r;let{roleId:s,charityId:c,changeRequestId:u}=e,[h,p]=(0,o.useState)({activeTagPopup:!1,loading:!0,data:void 0,errorMessage:void 0,showSpinnerLoading:!1,saved:!1,deleteModalOpen:!1});(0,o.useEffect)(()=>{g()},[]);let g=async()=>{try{let e=await (0,d.Y)(s,u);p({...h,loading:!1,data:e})}catch(e){p({...h,loading:!1,errorMessage:e.message})}};return(0,i.jsx)(a.yB,{adminArea:"charity",backAction:{content:"".concat(null==h||null==(n=h.data)||null==(t=n.proposedContent.oldValue)?void 0:t.title),url:"/admin/charity/".concat(c,"/volunteering/").concat(s,"/edit")},title:"Edit ".concat(null==h||null==(r=h.data)||null==(l=r.proposedContent.oldValue)?void 0:l.title),loading:h.loading,errorMessage:h.errorMessage,showSpinnerLoading:h.showSpinnerLoading,children:(0,i.jsx)(v,{oldValue:h.data&&h.data.proposedContent.oldValue,newValue:h.data&&h.data.proposedContent.newValue})})};w.getInitialProps=async e=>({roleId:e.query.roleId,charityId:e.query.id,changeRequestId:e.query.changeRequestId});let _=(0,l.z)(r.x.Charity_VolunteeringView)(w)},80425:(e,t,n)=>{"use strict";n.d(t,{P:()=>c});var i=n(14232),o={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"},a=n(95740),l=n(8949),r=n(30414),d=n(8484);function s(e){let{children:t,variant:n}=e,a=(0,d.xW)(o.Section,o["Section-".concat(n)]);return i.createElement("div",{className:a},t)}let c=function(e){let{sectioned:t,children:n}=e,a=t?i.createElement(s,null,n):n;return i.createElement("div",{className:o.Layout},a)};c.AnnotatedSection=function(e){let{children:t,title:n,description:d,id:s}=e,c="string"==typeof d?i.createElement(l.E,{as:"p",variant:"bodyMd"},d):d;return i.createElement("div",{className:o.AnnotatedSection},i.createElement("div",{className:o.AnnotationWrapper},i.createElement("div",{className:o.Annotation},i.createElement(a.T,{spacing:"tight"},i.createElement(l.E,{id:s,variant:"headingMd",as:"h2"},n),c&&i.createElement(r.a,{color:"text-secondary"},c))),i.createElement("div",{className:o.AnnotationContent},t)))},c.Section=s},95740:(e,t,n)=>{"use strict";n.d(t,{T:()=>l});var i=n(14232),o=n(8484),a={TextContainer:"Polaris-TextContainer",spacingTight:"Polaris-TextContainer--spacingTight",spacingLoose:"Polaris-TextContainer--spacingLoose"};function l(e){let{spacing:t,children:n}=e,l=(0,o.xW)(a.TextContainer,t&&a[(0,o.Ny)("spacing",t)]);return i.createElement("div",{className:l},n)}}},e=>{e.O(0,[2026,6494,6960,2120,7930,1286,7083,9282,4974,4081,636,6593,8792],()=>e(e.s=1377)),_N_E=e.O()}]);
2//# sourceMappingURL=[changeRequestId]-9c502d866d4da29a.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.