PageSourceSearch

https://www.charityvillage.com/_next/static/chunks/pages/organization/group-605a6202824d043e.js

js charityvillage.com collected 2026-10-01 11:37:34 UTC 7,244 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="af864d31-9024-4aad-922f-f34c58e98546",e._sentryDebugIdIdentifier="sentry-dbid-af864d31-9024-4aad-922f-f34c58e98546")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3462,3977],{25262:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/organization/group",function(){return r(39419)}])},39419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>A,default:()=>M});var a=r(37876),n=r(14232),i=r(77742),o=r(8733),s=r(87829),l=r(93619),c=r(21963),d=r(47209),g=r.n(d),u=r(98878),h=r.n(u),f=r(31167),y=r(64177),x=r(53248),p=r(63200),m=r(53867),b=r.n(m),j=r(47562),w=r(78805),v=r(80841),_=r(66874),E=r(88564),O=r(41145),z=r(65656),k=r(35581);let C=()=>{let e=null,t=null,{ORGANIZATIONS:r}=(0,k.WV)(),d=(0,i.A)(),u=(0,p.o)(),{user:m}=(0,n.useContext)(j.Rs),C=Object.values(r.ORGANIZATION_GROUP_FIELDS),A=C.map(e=>(0,c.Wx)(e)),{data:M,error:P,loading:I}=(0,f.I)(g(),{skip:!(m&&(0,w.Gv)(m))});P&&(e=(0,a.jsx)(v.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(o.A,{id:"organization_group_load_error",defaultMessage:"Error getting information from organization."})})),M?.organization?.errors?.length>0&&(e=(0,a.jsx)(x.k,{errors:M?.organization?.errors}));let[T,{error:N,data:S}]=(0,y.n)(h(),{refetchQueries:[{query:b()}],onCompleted:e=>{e?.updateOrganization?.errors?.length===0&&(window.scrollTo(0,0),u.addMessage({type:"success",text:d.formatMessage({id:"organization_group_update_info_success",defaultMessage:"Organization was updated"})}))}});return(N&&(e=(0,a.jsx)(v.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(o.A,{id:"organization_group_update_error",defaultMessage:"Error updating information from organization."})})),S?.updateOrganization?.errors?.length>0&&(e=(0,a.jsx)(x.k,{errors:S?.updateOrganization?.errors})),I)?(0,a.jsx)(s.A,{children:(0,a.jsx)(_.g,{size:"small",children:(0,a.jsx)(E.a,{children:(0,a.jsx)(O.e,{})})})}):(M&&(t=M.organization.content),(0,a.jsxs)(s.A,{children:[(0,a.jsx)("h1",{children:(0,a.jsx)(o.A,{id:"organization_group_form_title",defaultMessage:"Organization settings"})}),(0,a.jsx)(z.K,{}),e&&(0,a.jsxs)(a.Fragment,{children:[e,(0,a.jsx)(z.K,{})]}),(0,a.jsx)(l.A,{name:"group",bundle:"organization",entity:(0,c.yB)(C,t),fieldGroups:A,onSubmit:e=>{T({variables:{data:(0,c.ii)(C,e)}})}})]}))};(0,r(26326).f)({redirectTo:"/user"});var A=!0;let M=()=>(0,a.jsx)(C,{})},41145:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,e:()=>s});var a=r(37876);r(14232);var n=r(67140),i=r(83999),o=r(65284);let s=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.D,{children:(0,a.jsxs)(n.Ay,{height:130,width:"100%",style:{maxWidth:"400px",margin:"0 auto"},backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",children:[(0,a.jsx)("rect",{x:"0%",y:"0",rx:"3",ry:"3",width:"62%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"20",rx:"3",ry:"3",width:"55%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"40",rx:"3",ry:"3",width:"42%",height:"10"}),(0,a.jsx)("rect",{x:"0%",y:"60",rx:"3",ry:"3",width:"62%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"80",rx:"3",ry:"3",width:"50%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"100",rx:"3",ry:"3",width:"20%",height:"10"})]})}),(0,a.jsx)(o.l,{children:(0,a.jsxs)(n.Ay,{height:100,width:"100%",style:{maxWidth:"300px",margin:"0 auto"},backgroundColor:"#f3f3f3",foregroundColor:"#ecebeb",children:[(0,a.jsx)("rect",{x:"0%",y:"0",rx:"3",ry:"3",width:"80%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"20",rx:"3",ry:"3",width:"70%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"40",rx:"3",ry:"3",width:"60%",height:"10"}),(0,a.jsx)("rect",{x:"0%",y:"60",rx:"3",ry:"3",width:"80%",height:"10"}),(0,a.jsx)("rect",{x:"5%",y:"80",rx:"3",ry:"3",width:"50%",height:"10"})]})})]}),l=s},63200:(e,t,r)=>{"use strict";r.d(t,{o:()=>n});var a=r(58318);let n=()=>{let{state:e,dispatch:t}=(0,a.Pj)();return{addMessage:e=>{t({type:"addMessage",message:e})},removeMessage:e=>{t({type:"addMessage",message:e})},messages:e&&e.messages?e.messages:[]}}},67140:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l});var a=r(14232),n=function(){return(n=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i=function(e){var t=e.animate,r=e.backgroundColor,i=void 0===r?"#f5f6f7":r,o=e.backgroundOpacity,s=void 0===o?1:o,l=e.baseUrl,c=void 0===l?"":l,d=e.children,g=e.foregroundColor,u=e.foregroundOpacity,h=e.gradientRatio,f=void 0===h?2:h,y=e.uniqueKey,x=e.rtl,p=e.speed,m=e.style,b=e.title,j=void 0===b?"Loading...":b,w=e.beforeMask,v=void 0===w?null:w,_=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)0>t.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]]);return r}(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),E=y||Math.random().toString(36).substring(6),O="".concat(E,"-diff"),z="".concat(E,"-animated-diff"),k="".concat(E,"-aria"),C="".concat(-1*f," 0");return(0,a.createElement)("svg",n({"aria-labelledby":k,role:"img",style:n(n({},void 0===m?{}:m),void 0!==x&&x?{transform:"scaleX(-1)"}:null)},_),j?(0,a.createElement)("title",{id:k},j):null,v&&(0,a.isValidElement)(v)?v:null,(0,a.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(O,")"),style:{fill:"url(".concat(c,"#").concat(z,")")}}),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:O},d),(0,a.createElement)("linearGradient",{id:z,gradientTransform:"translate(".concat(C,")")},(0,a.createElement)("stop",{offset:"0%",stopColor:i,stopOpacity:s}),(0,a.createElement)("stop",{offset:"50%",stopColor:void 0===g?"#eee":g,stopOpacity:void 0===u?1:u}),(0,a.createElement)("stop",{offset:"100%",stopColor:i,stopOpacity:s}),(void 0===t||t)&&(0,a.createElement)("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(C,"; 0 0; ").concat("".concat(f," 0")),dur:"".concat(void 0===p?1.2:p,"s"),repeatCount:"indef
1inite"}))))},o=function(e){return e.children?(0,a.createElement)(i,n({},e)):(0,a.createElement)(s,n({},e))},s=function(e){return(0,a.createElement)(o,n({viewBox:"0 0 476 124"},e),(0,a.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,a.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,a.createElement)("circle",{cx:"20",cy:"20",r:"20"}))};let l=o}},e=>{e.O(0,[1121,6701,4587,9307,319,4272,5406,8724,7579,8564,8618,2557,2243,9418,4346,6989,7843,6734,3057,7829,261,9533,636,6593,8792],()=>e(e.s=25262)),_N_E=e.O()}]);
2//# sourceMappingURL=group-605a6202824d043e.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.