6 lines
67 KiB
JavaScript
6 lines
67 KiB
JavaScript
|
|
exports.id=8548,exports.ids=[8548],exports.modules={6370:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return m},NormalizeError:function(){return _},PageNotFoundError:function(){return h},SP:function(){return p},ST:function(){return f},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return s},isAbsoluteUrl:function(){return a},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return S}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>o.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,f=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class _ extends Error{}class h extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},7113:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(7511),o=r(80649);function a(e){let t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},7511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let n=r(73205),o=r(42985)},8318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePagePath",{enumerable:!0,get:function(){return i}});let n=r(82530),o=r(7511),a=r(6370);function i(e){let t=/^\/index(\/|$)/.test(e)&&!(0,o.isDynamicRoute)(e)?"/index"+e:"/"===e?"/index":(0,n.ensureLeadingSlash)(e);{let{posix:e}=r(33873),n=e.normalize(t);if(n!==t)throw new a.NormalizeError("Requested and resolved page mismatch: "+t+" "+n)}return t}},9300:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},12410:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BubbledError:function(){return p},SpanKind:function(){return c},SpanStatusCode:funct
|
||
|
|
partytown = {
|
||
|
|
lib: "${r}/_next/static/~partytown/"
|
||
|
|
};
|
||
|
|
`}}),(0,n.jsx)("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:e()}}),(a.worker||[]).map((e,r)=>{let{strategy:n,src:a,children:s,dangerouslySetInnerHTML:l,...u}=e,c={};if(a)c.src=a;else if(l&&l.__html)c.dangerouslySetInnerHTML={__html:l.__html};else if(s)c.dangerouslySetInnerHTML={__html:"string"==typeof s?s:Array.isArray(s)?s.join(""):""};else throw Object.defineProperty(Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script"),"__NEXT_ERROR_CODE",{value:"E82",enumerable:!1,configurable:!0});return(0,o.createElement)("script",{...c,...u,type:"text/partytown",key:a||r,nonce:t.nonce,"data-nscript":"worker",crossOrigin:t.crossOrigin||i})})]})}catch(e){return(0,l.default)(e)&&"MODULE_NOT_FOUND"!==e.code&&console.warn(`Warning: ${e.message}`),null}}(e,t),u=(r.beforeInteractive||[]).filter(e=>e.src).map((e,r)=>{let{strategy:n,...s}=e;return(0,o.createElement)("script",{...s,key:s.src||r,defer:s.defer??!a,nonce:t.nonce,"data-nscript":"beforeInteractive",crossOrigin:t.crossOrigin||i})});return(0,n.jsxs)(n.Fragment,{children:[s,u]})}class b extends o.default.Component{static #e=this.contextType=u.HtmlContext;getCssLinks(e){let{assetPrefix:t,assetQueryString:r,dynamicImports:o,dynamicCssManifest:a,crossOrigin:i,optimizeCss:s}=this.context,l=e.allFiles.filter(e=>e.endsWith(".css")),u=new Set(e.sharedFiles),d=new Set([]),p=Array.from(new Set(o.filter(e=>e.endsWith(".css"))));if(p.length){let e=new Set(l);d=new Set(p=p.filter(t=>!(e.has(t)||u.has(t)))),l.push(...p)}let f=[];return l.forEach(e=>{let o=u.has(e),l=d.has(e),p=a.has(e);s||f.push((0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"style",crossOrigin:this.props.crossOrigin||i},`${e}-preload`)),f.push((0,n.jsx)("link",{nonce:this.props.nonce,rel:"stylesheet",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,crossOrigin:this.props.crossOrigin||i,"data-n-g":l?void 0:o?"":void 0,"data-n-p":o||l||p?void 0:""},e))}),0===f.length?null:f}getPreloadDynamicChunks(){let{dynamicImports:e,assetPrefix:t,assetQueryString:r,crossOrigin:o}=this.context;return e.map(e=>e.endsWith(".js")?(0,n.jsx)("link",{rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||o},e):null).filter(Boolean)}getPreloadMainLinks(e){let{assetPrefix:t,assetQueryString:r,scriptLoader:o,crossOrigin:a}=this.context,i=e.allFiles.filter(e=>e.endsWith(".js"));return[...(o.beforeInteractive||[]).map(e=>(0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:e.src,as:"script",crossOrigin:this.props.crossOrigin||a},e.src)),...i.map(e=>(0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"script",crossOrigin:this.props.crossOrigin||a},e))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:e}=this.context,{nonce:t,crossOrigin:r}=this.props;return(e.beforeInteractive||[]).filter(e=>!e.src&&(e.dangerouslySetInnerHTML||e.children)).map((e,n)=>{let{strategy:a,children:i,dangerouslySetInnerHTML:s,src:l,...u}=e,c="";return s&&s.__html?c=s.__html:i&&(c="string"==typeof i?i:Array.isArray(i)?i.join(""):""),(0,o.createElement)("script",{...u,dangerouslySetInnerHTML:{__html:c},key:u.id||n,nonce:t,"data-nscript":"beforeInteractive",crossOrigin:r||void 0})})}getDynamicChunks(e){return E(this.context,this.props,e)}getPreNextScripts(){return v(this.context,this.props)}getScripts(e){return S(this.context,this.props,e)}getPolyfillScripts(){return h(this.context,this.props)}render(){let{styles:e,ampPath:t,inAmpMode:a,hybridAmp:i,canonicalBase:s,__NEXT_DATA__:l,dangerousAsPath:u,headTags:f,unstable_runtimeJS:g,unstable_JsPreload:h,disableOptimizedLoading:E,optimizeCss:S,assetPrefix:v,nextFontManifest:b}=this.context,O=!1===g,y=!1===h||!E;this.context.docComponentsRendered.Head=!0;let{head:N}=this.context,P=[],T=[];N&&(N.forEach(e=>{e&&"link"===e.type&&"preload"===e.props.rel&&"style"===e.props.as?this.context.strictNextHead?P.push(o.default.cl
|
||
|
|
See more info here: https://nextjs.org/docs/messages/large-page-data`)),(0,s.htmlEscapeJsonString)(o)}catch(e){if((0,l.default)(e)&&-1!==e.message.indexOf("circular structure"))throw Object.defineProperty(Error(`Circular structure in "getInitialProps" result of page "${t.page}". https://nextjs.org/docs/messages/circular-structure`),"__NEXT_ERROR_CODE",{value:"E490",enumerable:!1,configurable:!0});throw e}}render(){let{assetPrefix:e,inAmpMode:t,buildManifest:r,unstable_runtimeJS:o,docComponentsRendered:a,assetQueryString:i,disableOptimizedLoading:s,crossOrigin:l}=this.context,u=!1===o;if(a.NextScript=!0,t)return null;let d=_(this.context.buildManifest,this.context.__NEXT_DATA__.page,t);return(0,n.jsxs)(n.Fragment,{children:[!u&&r.devFiles?r.devFiles.map(t=>(0,n.jsx)("script",{src:`${e}/_next/${(0,c.encodeURIPath)(t)}${i}`,nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l},t)):null,u?null:(0,n.jsx)("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l,dangerouslySetInnerHTML:{__html:O.getInlineScriptSource(this.context)}}),s&&!u&&this.getPolyfillScripts(),s&&!u&&this.getPreNextScripts(),s&&!u&&this.getDynamicChunks(d),s&&!u&&this.getScripts(d)]})}}function y(e){let{inAmpMode:t,docComponentsRendered:r,locale:a,scriptLoader:i,__NEXT_DATA__:s}=(0,u.useHtmlContext)();return r.Html=!0,!function(e,t,r){var n,a,i,s;if(!r.children)return;let l=[],u=Array.isArray(r.children)?r.children:[r.children],c=null==(a=u.find(e=>e.type===b))||null==(n=a.props)?void 0:n.children,d=null==(s=u.find(e=>"body"===e.type))||null==(i=s.props)?void 0:i.children,p=[...Array.isArray(c)?c:[c],...Array.isArray(d)?d:[d]];o.default.Children.forEach(p,t=>{var r;if(t&&(null==(r=t.type)?void 0:r.__nextScript)){if("beforeInteractive"===t.props.strategy){e.beforeInteractive=(e.beforeInteractive||[]).concat([{...t.props}]);return}else if(["lazyOnload","afterInteractive","worker"].includes(t.props.strategy))return void l.push(t.props);else if(void 0===t.props.strategy)return void l.push({...t.props,strategy:"afterInteractive"})}}),t.scriptLoader=l}(i,s,e),(0,n.jsx)("html",{...e,lang:e.lang||a||void 0,amp:t?"":void 0,"data-ampdevmode":void 0})}function N(){let{docComponentsRendered:e}=(0,u.useHtmlContext)();return e.Main=!0,(0,n.jsx)("next-js-internal-body-render-target",{})}class P extends o.default.Component{static getInitialProps(e){return e.defaultGetInitialProps(e)}render(){return(0,n.jsxs)(y,{children:[(0,n.jsx)(b,{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(N,{}),(0,n.jsx)(O,{})]})]})}}P[a.NEXT_BUILTIN_DOCUMENT]=function(){return(0,n.jsxs)(y,{children:[(0,n.jsx)(b,{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(N,{}),(0,n.jsx)(O,{})]})]})}},61180:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},61644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(61180);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Object.defineProperty(Error((0,n.isPlainObject)(e)?function(e){let t=new WeakSet;return JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})}(e):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},62337:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeJsonString:function(){return o}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029
|