PageSourceSearch

https://microreact.org/_next/static/chunks/4253.6b159f090fefc209.js

js microreact.org collected 2026-09-25 02:44:40 UTC 2,669 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4253,5506],{21731:function(a,b,c){c.r(b),c.d(b,{default:function(){return y}});var d=c(4111),e=c(51438),f=c(52951),g=c(14924),h=c(88029),i=c(26042),j=c(25171),k=c(85893),l=c(67294),m=c(91567),n=c(45697),o=c.n(n),p=c(20467),q=c(25637),r=l.memo(function(a){return(0,k.jsx)("div",{STYLE:"color:#000;background:#fff;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center",children:(0,k.jsxs)("div",{children:[(0,k.jsx)("h1",{STYLE:"display:inline-block;border-right:1px solid rgba(0, 0, 0,.3);margin:0;margin-right:20px;padding:10px 23px 10px 0;font-size:24px;font-weight:500;vertical-align:top",children:a.code}),(0,k.jsx)("div",{STYLE:"display:inline-block;text-align:left;line-height:54px;height:49px;vertical-align:middle",children:(0,k.jsx)("h2",{STYLE:"font-size:14px;font-weight:normal;margin:0;padding:0",children:function(a){switch(a){case 401:return"You are not authorised to access this project. Please sign in and try again.";case 403:return"You are not authorised to access this project.";case 404:return"This project could not be found";default:return a}}(a.code)})})]})})});r.propTypes={code:o().number,error:o().object,message:o().string,status:o().string},r.displayName="ApiError";var s=r,t=c(10173),u=c(34724),v=c.n(u),w=c(35574),x=function(a){(0,h.Z)(c,a);var b=(0,j.Z)(c);function c(){var a;return(0,e.Z)(this,c),a=b.apply(this,arguments),(0,g.Z)((0,d.Z)(a),"state",{error:null,projectProps:null}),a}return(0,f.Z)(c,[{key:"componentDidMount",value:function(){var a=this;t.TZ(this.props.projectSlug).then(function(b){return b.config={mapboxApiAccessToken:v().mapboxApiAccessToken,actions:v().downloadActions,theme:w.rS},a.props.query&&(b.query=a.props.query),m.h.dispatch(m.Nw.load(b)),b._}).then(function(b){a.setState({projectProps:b})}).catch(function(b){console.error("error while loading project json",b),a.setState({errorResponse:b})})}},{key:"componentDidUpdate",value:function(a){var b,c,d;(null==a?void 0:a.query)!==(null===(b=this.props)|| void 0===b?void 0:b.query)&&(null===(c=this.props)|| void 0===c?void 0:c.query)&&m.h.dispatch(m.Nw.query(null===(d=this.props)|| void 0===d?void 0:d.query))}},{key:"componentWillUnmount",value:function(){m.h.dispatch(m.Nw.unload())}},{key:"render",value:function(){var a=this.state;return a.errorResponse?(0,k.jsx)(s,(0,i.Z)({},a.errorResponse)):a.projectProps?(0,k.jsx)(q.Z,{projectProps:a.projectProps},a.projectProps.id):(0,k.jsx)(p.Z,{children:"Loading Project"})}}]),c}(l.Component);x.displayName="ProjectPage",x.propTypes={projectSlug:o().string,query:o().object};var y=x}}])

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.