PageSourceSearch

https://opencollective.com/_next/static/chunks/8545-0ee63ec277ce1f19.js

js opencollective.com collected 2026-09-24 08:33:44 UTC 9,723 bytes, 3 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:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var s=1;s<arguments.length;s++){var r=arguments[s];if(null!=r)for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:opencollective-frontend":!0});var s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="bfdbe4a0-b5ad-4e6c-9ab4-66a0163f644a",e._sentryDebugIdIdentifier="sentry-dbid-bfdbe4a0-b5ad-4e6c-9ab4-66a0163f644a")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8545],{8545:(e,s,r)=>{r.d(s,{A:()=>k});var t=r(37876),a=r(14232),o=r(95062),l=r.n(o),n=r(95581),i=r(64487),c=r(63974),d=r(6587),p=r(89099),h=r(62449),u=r(2948),x=r(45884),f=r(1509),m=r(61184),g=r(47537),j=r(36559),A=r(69756),y=r(98064),w=r(98263),b=r(66906),v=r(69020),M=r(82909).hp;class N extends a.Component{static{this.propTypes={error:l().shape({type:l().oneOf(Object.values(u.ff)),payload:l().object}),loading:l().bool,log:l().bool,LoggedInUser:l().object,message:l().string,data:l().object,router:l().object}}getErrorComponent(){let{error:e,data:s,loading:r,log:a=!0}=this.props;if(a&&(0,i.A)(s,"error")&&"Test error"!==s.error.message&&console.error(s.error),(0,i.A)(s,"error.networkError")||(0,i.A)(e,"networkError"))return this.networkError();if(r||(0,i.A)(s,"loading"))return(0,t.jsx)(y.A,{});if(e&&e.type)switch(e.type){case u.ff.NOT_FOUND:return(0,t.jsx)(b.A,{searchTerm:(0,i.A)(e.payload,"searchTerm")});case u.ff.BAD_COLLECTIVE_TYPE:return this.renderErrorMessage((0,t.jsx)(h.sA,{id:"Error.BadCollectiveType",defaultMessage:"This profile type is not supported"}))}else if((0,i.A)(s,"error.message","").includes("No collective found")||(0,i.A)(s,"error.message","").includes("Accounts not found")||(0,i.A)(e,"message","").includes("Accounts not found")||(0,i.A)(e,"message","").includes("No collective found"))return(0,t.jsx)(b.A,{searchTerm:(0,i.A)(this.props.data,"variables.slug")});return this.props.message?this.renderErrorMessage(this.props.message):this.unknownError()}renderErrorMessage(e){return(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center px-4 py-8",children:[(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(w.A,{type:"error",withIcon:!0,children:e})}),(0,t.jsxs)(f.$n,{size:"lg",onClick:()=>this.props.router.back(),children:["← ",(0,t.jsx)(h.sA,{id:"error.goBack",defaultMessage:"Go back to the previous page"})]})]})}networkError(){return(0,t.jsx)("div",{className:"flex w-full flex-col items-center justify-center px-4 py-8","data-cy":"not-found",children:(0,t.jsxs)("div",{className:"flex w-full max-w-md flex-col items-center gap-6",children:[(0,t.jsx)(j.A,{src:"/static/images/unexpected-error.png",alt:"",width:312,height:202,className:"h-auto w-auto"}),(0,t.jsxs)("div",{className:"space-y-2 text-center",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold",children:(0,t.jsx)(h.sA,{defaultMessage:"Network error",id:"BrdgZE"})}),(0,t.jsx)("p",{className:"text-muted-foreground",children:(0,t.jsx)(h.sA,{id:"Error.Network",defaultMessage:"A network error occurred, please check your connectivity or try again later"})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-2",children:[(0,t.jsxs)(f.$n,{size:"sm",onClick:()=>location.reload(),children:[(0,t.jsx)(c.A,{className:"mr-1 h-4 w-4"}),(0,t.jsx)(h.sA,{id:"error.reload",defaultMessage:"Reload the page"})]}),(0,t.jsx)(A.A,{href:"/help",children:(0,t.jsxs)(f.$n,{size:"sm",variant:"outline",children:[(0,t.jsx)(d.A,{className:"mr-1 h-4 w-4"}),(0,t.jsx)(h.sA,{defaultMessage:"Check Help & Support",id:"DashboardErrorBoundary.HelpSupport"})]})})]})]})})}unknownError(){let e=(0,i.A)(this.props,"data.error.message"),s=(0,i.A)(this.props,"data.error.stack"),r=["ci","e2e","test"].includes("production")?22:13,a=()=>M.from(s).toString("base64");return(0,t.jsx)("div",{className:"flex w-full flex-col items-center justify-center px-4 py-8","data-cy":"not-found",children:(0,t.jsxs)("div",{className:"flex w-full max-w-md flex-col items-center gap-6",children:[(0,t.jsx)(j.A,{src:"/static/images/unexpected-error.png",alt:"",width:312,height:202,className:"h-auto w-auto"}),(0,t.jsxs)("div",{className:"space-y-2 text-center",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold",children:(0,t.jsx)(h.sA,{defaultMessage:"Something went wrong",id:"SectionError.Title"})}),(0,t.jsx)("p",{className:"text-muted-foreground",children:(0,t.jsx)(h.sA,{defaultMessage:"We encountered an issue loading this {type,select,section{section}other{page}}. Please reload the page or contact support if the problem persists.",id:"+SSp9V",values:{type:"page"}})})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-3",children:[(0,t.jsxs)(f.$n,{size:"sm",onClick:()=>location.reload(),children:[(0,t.jsx)(c.A,{className:"mr-1 h-4 w-4"}),(0,t.jsx)(h.sA,{id:"error.reload",defaultMessage:"Reload the page"})]}),(0,t.jsx)(A.A,{href:"/help",children:(0,t.jsxs)(f.$n,{size:"sm",variant:"outline",children:[(0,t.jsx)(d.A,{className:"mr-1 h-4 w-4"}),(0,t.jsx)(h.sA,{defaultMessage:"Check Help & Support",id:"DashboardErrorBoundary.HelpSupport"})]})})]}),(s||e)&&(0,t.jsx)("div",{className:"mt-4 w-full max-w-2xl",children:(0,t.jsxs)("details",{open:!1,children:[(0,t.jsx)("summary",{className:"mb-3 cursor-pointer text-center text-sm font-medium",children:(0,t.jsx)(h.sA,{id:"error.details",defaultMessage:"Error details"})}),(0,t.jsxs)("div",{children:[e&&(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("p",{className:"mb-1 font-semibold",children:(0,t.jsx)(h.sA,{id:"Contact.Message",defaultMessage:"Message"})}),(0,t.jsx)("pre",{className:"font-mono break-words whitespace-pre-wrap",style:{fontSize:r},children:e})]}),s&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,t.jsx)("p",{className:"text-sm",children:(0,t.jsx)(h.sA,{defaultMessage:"Please share these details when contacting support",id:"UFh1Me"})}),(0,t.jsx)(f.$n,{size:"xs",variant:"outline",onClick:async()=>{let s=`Error: ${e||""}`,r=`Details: ${a()}`;await (0,n.A)(`${s}
2${r}`)&&(this.setState({copiedErrorMessage:!0}),setTimeout(()=>this.setState({copiedErrorMessage:!1}),2e3))},children:this.state.copiedErrorMessage?(0,t.jsx)(h.sA,{id:"Clipboard.Copied",defaultMessage:"Copied!"}):(0,t.jsx)(h.sA,{id:"Clipboard.CopyShort",defaultMessage:"Copy"})})]}),(0,t.jsx)("p",{className:"mb-1 font-semibold",children:(0,t.jsx)(h.sA,{id:"Details",defaultMessage:"Details"})}),(0,t.jsx)("pre",{className:"max-h-[400px] overflow-y-auto font-mono break-words whitespace-pre-wrap select-all",style:{fontSize:r},children:a()})]})]})]})})]})})}render(){let{LoggedInUser:e}=this.props,s=this.getErrorComponent();return(0,t.jsxs)("div",{className:"ErrorPage","data-cy":"error-page",children:[(0,t.jsx)(g.A,{LoggedInUser:e,noRobots:!0}),(0,t.jsx)(m.A,{children:(0,t.jsx)("div",{className:"py-12 md:py-16",children:s})}),(0,t.jsx)(x.A,{})]})}constructor(...e){super(...e),this.state={copiedErrorMessage:!1}}}let k=(0,v.Cb)((0,p.withRouter)(N))},66906:(e,s,r)=>{r.d(s,{A:()=>f});var t=r(37876);r(14232);var a=r(89099),o=r.n(a),l=r(62449),n=r(5646),i=r(69756);let c=n.I4.div.withConfig({componentId:"sc-3430d098-0"})(["display:flex;justify-content:center;gap:8px;font-size:16px;font-style:normal;font-weight:400;font-size:16px;line-height:26px;text-align:center;flex-wrap:wrap;a{text-decoration-line:underline;text-underline-offset:3px;color:#323334;}
2a:hover{color:#DC5F7D;"]),d=({showHome:e=!0,showDiscover:s=!1,showDocumentation:r=!0,showSupport:a=!0})=>(0,t.jsxs)(c,{children:[e&&(0,t.jsx)(i.A,{href:"https://opencollective.com/",children:(0,t.jsx)(l.sA,{id:"home",defaultMessage:"Home"})}),(0,t.jsx)(i.A,{href:"https://opencollective.com/discover",children:s&&(0,t.jsx)(l.sA,{id:"menu.discover",defaultMessage:"Discover"})}),r&&(0,t.jsx)(i.A,{href:"https://documentation.opencollective.com",children:(0,t.jsx)(l.sA,{id:"menu.documentation",defaultMessage:"Documentation"})}),a&&(0,t.jsx)(i.A,{href:"mailto:[email protected]",children:(0,t.jsx)(l.sA,{id:"community.support",defaultMessage:"Support"})})]});var p=r(99202),h=r(36559),u=r(68901),x=r(72945);let f=({searchTerm:e,showAltLinks:s=!0})=>(0,t.jsxs)(p.so,{"data-cy":"not-found",flexDirection:"column",alignItems:"center",p:2,children:[(0,t.jsx)(h.A,{src:"/static/images/not-found-illustration.png",alt:"404",width:302,height:302}),(0,t.jsx)(x.H1,{textAlign:"center",mt:3,fontSize:"40px",fontWeight:"700",children:(0,t.jsx)(l.sA,{defaultMessage:"Oops! Page not found",id:"N7DKaT"})}),(0,t.jsx)(x.P,{my:"24px",fontSize:"20px",fontWeight:"500",color:"black.800",textAlign:"center",children:(0,t.jsx)(l.sA,{defaultMessage:"We can't seem to find the page you are looking for",id:"BbiuM/"})}),e?(0,t.jsxs)(p.so,{flexWrap:"wrap",justifyContent:"center",mt:4,children:[(0,t.jsxs)(u.A,{m:2,onClick:()=>o().back(),children:["← ",(0,t.jsx)(l.sA,{id:"error.goBack",defaultMessage:"Go back to the previous page"})]}),(0,t.jsx)(i.A,{href:{pathname:"/search",query:{q:e}},children:(0,t.jsx)(u.A,{m:2,buttonStyle:"primary",children:(0,t.jsx)(l.sA,{id:"notFound.search",defaultMessage:"Search for {term}",values:{term:(0,t.jsx)("strong",{children:e},"term")}})})})]}):s?(0,t.jsxs)(p.az,{children:[(0,t.jsx)(x.P,{fontSize:"16px",fontWeight:"500",color:"black.800",mb:"16px",children:(0,t.jsx)(l.sA,{defaultMessage:"Here are some helpful links instead:",id:"UTSapC"})}),(0,t.jsx)(d,{})]}):null]})}}]);
3//# sourceMappingURL=8545-0ee63ec277ce1f19.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.