makearmy-app/node_modules/next/dist/compiled/next-server/server.runtime.prod.js

33 lines
205 KiB
JavaScript
Raw Normal View History

2025-09-22 10:37:53 -04:00
(()=>{var e={"../../node_modules/.pnpm/react@19.2.0-canary-3fbfb9ba-20250409/node_modules/react/cjs/react.production.js":(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.consumer"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.iterator;/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},n=Object.assign,i={};function a(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||r}function s(){}function o(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||r}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},s.prototype=a.prototype;var l=o.prototype=new s;l.constructor=o,n(l,a.prototype),l.isPureReactComponent=!0,Object.prototype.hasOwnProperty,"function"==typeof reportError&&reportError},"../../node_modules/.pnpm/react@19.2.0-canary-3fbfb9ba-20250409/node_modules/react/index.js":(e,t,r)=>{"use strict";e.exports=r("../../node_modules/.pnpm/react@19.2.0-canary-3fbfb9ba-20250409/node_modules/react/cjs/react.production.js")},"../next-env/dist/index.js":(e,t,r)=>{(()=>{var t={383:e=>{"use strict";e.exports.j=function(e){let t=e.ignoreProcessEnv?{}:process.env;for(let r in e.parsed){let n=Object.prototype.hasOwnProperty.call(t,r)?t[r]:e.parsed[r];e.parsed[r]=(function e(t,r,n){let i=function(e,t){let r=Array.from(e.matchAll(t));return r.length>0?r.slice(-1)[0].index:-1}(t,/(?!(?<=\\))\$/g);if(-1===i)return t;let a=t.slice(i).match(/((?!(?<=\\))\${?([\w]+)(?::-([^}\\]*))?}?)/);if(null!=a){let[,i,s,o]=a;return e(t.replace(i,r[s]||o||n.parsed[s]||""),r,n)}return t})(n,t,e).replace(/\\\$/g,"$")}for(let r in e.parsed)t[r]=e.parsed[r];return e}},234:(e,t,r)=>{let n=r(147),i=r(17),a=r(37),s=r(113),o=r(803).version,l=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/gm;function u(e){console.log(`[dotenv@${o}][DEBUG] ${e}`)}function c(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function d(e){let t=i.resolve(process.cwd(),".env");return e&&e.path&&e.path.length>0&&(t=e.path),t.endsWith(".vault")?t:`${t}.vault`}let h={configDotenv:function(e){let t=i.resolve(process.cwd(),".env"),r="utf8",s=!!(e&&e.debug);if(e){if(null!=e.path){var o;t="~"===(o=e.path)[0]?i.join(a.homedir(),o.slice(1)):o}null!=e.encoding&&(r=e.encoding)}try{let i=h.parse(n.readFileSync(t,{encoding:r})),a=process.env;return e&&null!=e.processEnv&&(a=e.processEnv),h.populate(a,i,e),{parsed:i}}catch(e){return s&&u(`Failed to load ${t} ${e.message}`),{error:e}}},_configVault:function(e){console.log(`[dotenv@${o}][INFO] Loading env from encrypted .env.vault`);let t=h._parseVault(e),r=process.env;return e&&null!=e.processEnv&&(r=e.processEnv),h.populate(r,t,e),{parsed:t}},_parseVault:function(e){let t;let r=d(e),n=h.configDotenv({path:r});if(!n.parsed)throw Error(`MISSING_DATA: Cannot parse ${r} for an unknown reason`);let i=c(e).split(","),a=i.length;for(let e=0;e<a;e++)try{let r=i[e].trim(),a=function(e,t){let r;try{r=new URL(t)}catch(e){if("ERR_INVALID_URL"===e.code)throw Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenv.org/vault/.env.vault?environment=development");throw e}let n=r.password;if(!n)throw Error("INVALID_DOTENV_KEY: Missing key part");let i=r.searchParams.get("environment");if(!i)throw Error("INVALID_DOTENV_KEY: Missing environment part");let a=`DOTENV_VAULT_${i.toUpperCase()}`,s=e.parsed[a];if(!s)throw Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${a} in your .env.vault file.`);return{ciphertext:s,key:n}}(n,r);t=h.decrypt(a.ciphertext,a.key);break}catch(t){if(e+1>=a)throw t}return h.parse(t)},config:function(e){let t=d(e);if(0===c(e).length)return h.configDotenv(e);if(!n.existsSync(t)){var r;return r=`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`,console.log(`[dotenv@${o
* cookie
* Copyright(c) 2012-2014 Roman Shtylman
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/t.parse=function(t,r){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var i={},a=t.split(n),s=(r||{}).decode||e,o=0;o<a.length;o++){var l=a[o],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==i[c]&&(i[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,s))}}return i},t.serialize=function(e,t,n){var a=n||{},s=a.encode||r;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var o=s(t);if(o&&!i.test(o))throw TypeError("argument val is invalid");var l=e+"="+o;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(a.domain){if(!i.test(a.domain))throw TypeError("option domain is invalid");l+="; Domain="+a.domain}if(a.path){if(!i.test(a.path))throw TypeError("option path is invalid");l+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(l+="; HttpOnly"),a.secure&&(l+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var e=decodeURIComponent,r=encodeURIComponent,n=/; */,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/})(),e.exports=t})()},"./dist/compiled/data-uri-to-buffer/index.js":e=>{(()=>{"use strict";var t={151:e=>{e.exports=function(e){if(!/^data:/i.test(e))throw TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');let t=(e=e.replace(/\r?\n/g,"")).indexOf(",");if(-1===t||t<=4)throw TypeError("malformed data: URI");let r=e.substring(5,t).split(";"),n="",i=!1,a=r[0]||"text/plain",s=a;for(let e=1;e<r.length;e++)"base64"===r[e]?i=!0:(s+=`;${r[e]}`,0===r[e].indexOf("charset=")&&(n=r[e].substring(8)));r[0]||n.length||(s+=";charset=US-ASCII",n="US-ASCII");let o=i?"base64":"ascii",l=unescape(e.substring(t+1)),u=Buffer.from(l,o);return u.type=a,u.typeFull=s,u.charset=n,u}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},s=!0;try{t[e](a,a.exports,n),s=!1}finally{s&&delete r[e]}return a.exports}n.ab=__dirname+"/";var i=n(151);e.exports=i})()},"./dist/compiled/fresh/index.js":e=>{(()=>{"use strict";var t={695:e=>{/*!
* fresh
* Copyright(c) 2012 TJ Holowaychuk
* Copyright(c) 2016-2017 Douglas Christopher Wilson
* MIT Licensed
*/var t=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function r(e){var t=e&&Date.parse(e);return"number"==typeof t?t:NaN}e.exports=function(e,n){var i=e["if-modified-since"],a=e["if-none-match"];if(!i&&!a)return!1;var s=e["cache-control"];if(s&&t.test(s))return!1;if(a&&"*"!==a){var o=n.etag;if(!o)return!1;for(var l=!0,u=function(e){for(var t=0,r=[],n=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:n===t&&(n=t=i+1);break;case 44:r.push(e.substring(n,t)),n=t=i+1;break;default:t=i+1}return r.push(e.substring(n,t)),r}(a),c=0;c<u.length;c++){var d=u[c];if(d===o||d==="W/"+o||"W/"+d===o){l=!1;break}}if(l)return!1}if(i){var h=n["last-modified"];if(!h||!(r(h)<=r(i)))return!1}return!0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},s=!0;try{t[e](a,a.exports,n),s=!1}finally{s&&delete r[e]}return a.exports}n.ab=__dirname+"/";var i=n(695);e.exports=i})()},"./dist/compiled/p-queue/index.js":e=>{(()=>{"use strict";var t={993:e=>{var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,s){if("function"!=typeof n)throw TypeError("The listener must be a function");var o=new i(n,a||e,s),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],o]:e._events[l].push(o):(e._events[l]=o,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function o(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),o.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},o.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,s=Array(a);i<a;i++)s[i]=n[i].fn;return s},o.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},o.prototype.emit=function(e,t,n,i,a,s){var o=r?r+e:e;if(!this._events[o])return!1;var l,u,c=this._events[o],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,s),!0}for(u=1,l=Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,p=c.length;for(u=0;u<p;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,i);break;default:if(!l)for(h=1,l=Array(d-1);h<d;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},o.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},o.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},o.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn!==t||i&&!o.once||n&&o.context!==n||s(this,a);else{for(var l=0,u=[],c=o.length;l<c;l++)(o[l].fn!==t||i&&!o[l].once||n&&o[l].context!==n)&&u.push(o[l]);u.length?this._events[a]=1===u.length?u[0]:u:s(this,a)}return this},o.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,e.exports=o},213:e=>{e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},574:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,i=e.length;for(;i>0;){let a=i/2|0,s=n+a;0>=r(e[s],t)?(n=++s,i-=a+1):i=a}return n}},821:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=r(574);t.default=class{constructor(
export function middleware(request, event) {
return NextResponse.redirect('/new-location')
}
Read more: https://nextjs.org/docs/messages/middleware-new-signature
`)}}class tA extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`.
Read more: https://nextjs.org/docs/messages/middleware-request-page
`)}}class tN extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function.
Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
`)}}var tj=r("./dist/esm/server/web/spec-extension/cookies.js");let tk=Symbol("internal request");class tI extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);tm(r),t.body&&"half"!==t.duplex&&(t.duplex="half"),e instanceof Request?super(e,t):super(r,t);let n=new tS(r,{headers:tf(this.headers),nextConfig:t.nextConfig});this[tk]={cookies:new tj.tm(this.headers),nextUrl:n,url:process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE?r:n.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[tk].cookies}get nextUrl(){return this[tk].nextUrl}get page(){throw new tA}get ua(){throw new tN}get url(){return this[tk].url}}let tM=e=>!0,tq=e=>!0,t$="ResponseAborted";class tL extends Error{constructor(...e){super(...e),this.name=t$}}function tH(e){let t=new AbortController;return e.once("close",()=>{e.writableFinished||t.abort(new tL)}),t}class tF{static fromBaseNextRequest(e,t){if(tM(e))return tF.fromNodeNextRequest(e,t);throw Object.defineProperty(Error("Invariant: Unsupported NextRequest type"),"__NEXT_ERROR_CODE",{value:"E345",enumerable:!1,configurable:!0})}static fromNodeNextRequest(e,t){let r,n=null;if("GET"!==e.method&&"HEAD"!==e.method&&e.body&&(n=e.body),e.url.startsWith("http"))r=new URL(e.url);else{let t=er(e,"initURL");r=t&&t.startsWith("http")?new URL(e.url,t):new URL(e.url,"http://n")}return new tI(r,{method:e.method,headers:th(e.headers),duplex:"half",signal:t,...t.aborted?{}:{body:n}})}static fromWebNextRequest(e){let t=null;return"GET"!==e.method&&"HEAD"!==e.method&&(t=e.body),new tI(e.url,{method:e.method,headers:th(e.headers),duplex:"half",signal:e.request.signal,...e.request.signal.aborted?{}:{body:t}})}}let tU=0,tz=0,tX=0;function tW(e){return(null==e?void 0:e.name)==="AbortError"||(null==e?void 0:e.name)===t$}async function tB(e,t,r){try{let{errored:n,destroyed:i}=t;if(n||i)return;let a=tH(t),s=function(e,t){let r=!1,n=new te;function i(){n.resolve()}e.on("drain",i),e.once("close",()=>{e.off("drain",i),n.resolve()});let a=new te;return e.once("finish",()=>{a.resolve()}),new WritableStream({write:async t=>{if(!r){if(r=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let e=function(e={}){let t=0===tU?void 0:{clientComponentLoadStart:tU,clientComponentLoadTimes:tz,clientComponentLoadCount:tX};return e.reset&&(tU=0,tz=0,tX=0),t}();e&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:e.clientComponentLoadStart,end:e.clientComponentLoadStart+e.clientComponentLoadTimes})}e.flushHeaders(),(0,ta.getTracer)().trace(ts.Fx.startResponse,{spanName:"start response"},()=>void 0)}try{let r=e.write(t);"flush"in e&&"function"==typeof e.flush&&e.flush(),r||(await n.promise,n=new te)}catch(t){throw e.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:t}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:t=>{e.writableFinished||e.destroy(t)},close:async()=>{if(t&&await t,!e.writableFinished)return e.end(),a.promise}})}(t,r);await e.pipeTo(s,{signal:a.signal})}catch(e){if(tW(e))return;throw Object.defineProperty(Error("failed to pipe response",{cause:e}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}class tG{static fromStatic(e){return new tG(e,{metadata:{}})}constructor(e,{contentType:t,waitUntil:r,metadata:n}){this.response=e,this.contentType=t,this.metadata=n,this.waitUntil=r}assignMetadata(e){Object.assign(this.metadata,e)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedBuffer(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NE
See here for info: https://nextjs.org/docs/messages/custom-error-no-custom-404`)});let{dir:a=".",quiet:s=!1,conf:o,dev:l=!1,minimalMode:u=!1,hostname:d,port:h,experimentalTestProxy:p}=e;this.experimentalTestProxy=p,this.serverOptions=e,this.dir=r("path").resolve(a),this.quiet=s,this.loadEnvConfig({dev:l}),this.nextConfig=o,this.hostname=d,this.hostname&&(this.fetchHostname=function(e){return t1.test(e)?`[${e}]`:e}(this.hostname)),this.port=h,this.distDir=r("path").join(this.dir,this.nextConfig.distDir),this.publicDir=this.getPublicDir(),this.hasStaticDir=!u&&this.getHasStaticDir(),this.i18nProvider=(null==(t=this.nextConfig.i18n)?void 0:t.locales)?new rG(this.nextConfig.i18n):void 0,this.localeNormalizer=this.i18nProvider?new rd(this.i18nProvider):void 0;let{serverRuntimeConfig:f={},publicRuntimeConfig:m,assetPrefix:g,generateEtags:v}=this.nextConfig;this.buildId=this.getBuildId(),this.minimalMode=u||!!process.env.NEXT_PRIVATE_MINIMAL_MODE,this.enabledDirectories=this.getEnabledDirectories(l),this.isAppPPREnabled=this.enabledDirectories.app&&function(e){return void 0!==e&&("boolean"==typeof e?e:"incremental"===e)}(this.nextConfig.experimental.ppr),this.isAppSegmentPrefetchEnabled=this.enabledDirectories.app&&!0===this.nextConfig.experimental.clientSegmentCache,this.normalizers={rsc:this.enabledDirectories.app?new rQ:void 0,prefetchRSC:this.isAppPPREnabled?new r4:void 0,segmentPrefetchRSC:this.isAppSegmentPrefetchEnabled?new nv:void 0,data:this.enabledDirectories.pages?new r3(this.buildId):void 0},this.nextFontManifest=this.getNextFontManifest(),process.env.NEXT_DEPLOYMENT_ID=this.nextConfig.deploymentId||"",this.renderOpts={supportsDynamicResponse:!0,trailingSlash:this.nextConfig.trailingSlash,deploymentId:this.nextConfig.deploymentId,strictNextHead:this.nextConfig.experimental.strictNextHead??!0,poweredByHeader:this.nextConfig.poweredByHeader,canonicalBase:this.nextConfig.amp.canonicalBase||"",generateEtags:v,previewProps:this.getPrerenderManifest().preview,ampOptimizerConfig:null==(n=this.nextConfig.experimental.amp)?void 0:n.optimizer,basePath:this.nextConfig.basePath,images:this.nextConfig.images,optimizeCss:this.nextConfig.experimental.optimizeCss,nextConfigOutput:this.nextConfig.output,nextScriptWorkers:this.nextConfig.experimental.nextScriptWorkers,disableOptimizedLoading:this.nextConfig.experimental.disableOptimizedLoading,domainLocales:null==(i=this.nextConfig.i18n)?void 0:i.domains,distDir:this.distDir,serverComponents:this.enabledDirectories.app,cacheLifeProfiles:this.nextConfig.experimental.cacheLife,enableTainting:this.nextConfig.experimental.taint,crossOrigin:this.nextConfig.crossOrigin?this.nextConfig.crossOrigin:void 0,largePageDataBytes:this.nextConfig.experimental.largePageDataBytes,runtimeConfig:Object.keys(m).length>0?m:void 0,isExperimentalCompile:this.nextConfig.experimental.isExperimentalCompile,htmlLimitedBots:this.nextConfig.htmlLimitedBots,experimental:{expireTime:this.nextConfig.expireTime,clientTraceMetadata:this.nextConfig.experimental.clientTraceMetadata,dynamicIO:this.nextConfig.experimental.dynamicIO??!1,clientSegmentCache:"client-only"===this.nextConfig.experimental.clientSegmentCache?"client-only":!!this.nextConfig.experimental.clientSegmentCache,dynamicOnHover:this.nextConfig.experimental.dynamicOnHover??!1,inlineCss:this.nextConfig.experimental.inlineCss??!1,authInterrupts:!!this.nextConfig.experimental.authInterrupts},onInstrumentationRequestError:this.instrumentationOnRequestError.bind(this),reactMaxHeadersLength:this.nextConfig.reactMaxHeadersLength},(0,t8.setConfig)({serverRuntimeConfig:f,publicRuntimeConfig:m}),this.pagesManifest=this.getPagesManifest(),this.appPathsManifest=this.getAppPathsManifest(),this.appPathRoutes=this.getAppPathRoutes(),this.interceptionRoutePatterns=this.getinterceptionRoutePatterns(),this.matchers=this.getRouteMatchers(),this.matchers.reload(),this.setAssetPrefix(g),this.responseCache=this.getResponseCache({dev:l})}reloadMatchers(){return this.matchers.reload()}getRouteMatchers(){let e=new rB(e=>{switch(e){case el:return this.getPagesManifest()??null;cas
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==e?void 0:e.stack){let r=e.stack;t.stack=t.message+r.substring(r.indexOf("\n"))}throw t}return"isNotFound"in y&&y.isNotFound?{value:null,cacheControl:b,isFallback:!1}:y.isRedirect?{value:{kind:tn.REDIRECT,props:y.pageData??y.flightData},cacheControl:b,isFallback:!1}:u.isNull?null:T?{value:{kind:tn.APP_PAGE,html:u,headers:E,rscData:y.flightData,postponed:y.postponed,status:t.statusCode,segmentData:y.segmentData},cacheControl:b,isFallback:!!l}:{value:{kind:tn.PAGES,html:u,pageData:y.pageData??y.flightData,headers:E,status:T?t.statusCode:void 0},cacheControl:b,isFallback:o}},ey=async({hasResolved:r,previousCacheEntry:o,isRevalidating:l})=>{if(r||t.sent,!_&&q){if(D){let t=await this.getStaticPaths({pathname:n,requestHeaders:e.headers,isAppPath:T,page:a.page});_=t.staticPaths,R=t.fallbackMode}else _=void 0,R=nm.NOT_FOUND}R===nm.PRERENDER&&t7(e.headers["user-agent"]||"")&&(R=nm.BLOCKING_STATIC_RENDER),(null==o?void 0:o.isStale)===-1&&(eu=!0),eu&&(R!==nm.NOT_FOUND||o)&&(R=nm.BLOCKING_STATIC_RENDER);let u=ed;!u&&i.dev&&T&&(u=rJ(I)),u&&s.amp&&(u=u.replace(/\.amp$/,"")),u&&(null==_||_.includes(u)),this.nextConfig.experimental.isExperimentalCompile&&(R=nm.BLOCKING_STATIC_RENDER);let c=eu||l||!Z?void 0:Z;return(J||Y)&&void 0!==c?{cacheControl:{revalidate:1,expire:void 0},isFallback:!1,value:{kind:tn.PAGES,html:tG.fromStatic(""),pageData:{},headers:void 0,status:void 0}}:ev({postponed:c,pagesFallback:void 0,fallbackRouteParams:q&&V&&(er(e,"didSetDefaultRouteMatches")||Q)?function(e){let t;if(0===(t="string"==typeof e?Object.keys(ee(e6(e))(e)):e).length)return null;let r=new Map,n=Math.random().toString(16).slice(2);for(let e of t)r.set(e,`%%drp:${e}:${n}%%`);return r}(n):null})},eb=await this.responseCache.get(ed,ey,{routeKind:(null==x?void 0:x.definition.kind)??(T?tV.APP_PAGE:tV.PAGES),incrementalCache:eg,isOnDemandRevalidate:eu,isPrefetch:"prefetch"===e.headers.purpose,isRoutePPREnabled:V});if(el&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),!eb){if(ed&&!(eu&&ec))throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}let eE=(null==(h=eb.value)?void 0:h.kind)===tn.APP_PAGE&&"string"==typeof eb.value.postponed;j&&!et&&(!eE||F)&&t.setHeader("x-nextjs-prerender","1");let{value:e_}=eb;if((null==e_?void 0:e_.kind)===tn.IMAGE)throw Object.defineProperty(new L("SSG should not return an image cache value"),"__NEXT_ERROR_CODE",{value:"E659",enumerable:!1,configurable:!0});if(Z)w={revalidate:0,expire:void 0};else if(U&&!F&&V)w={revalidate:0,expire:void 0};else if(1){if(el)w={revalidate:0,expire:void 0};else if(j){if(P){let t=er(e,"notFoundRevalidate");w={revalidate:void 0===t?0:t,expire:void 0}}else if(O)w={revalidate:0,expire:void 0};else if(eb.cacheControl){if("number"==typeof eb.cacheControl.revalidate){if(eb.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${eb.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});w={revalidate:eb.cacheControl.revalidate,expire:(null==(f=eb.cacheControl)?void 0:f.expire)??this.nextConfig.expireTime}}else w={revalidate:eC.qF,expire:void 0}}}else t.getHeader("Cache-Control")||(w={revalidate:0,expire:void 0})}if(eb.cacheControl=w,"string"==typeof ei&&(null==e_?void 0:e_.kind)===tn.APP_PAGE&&e_.segmentData){t.setHeader(ej,"2");let e=null==(m=e_.headers)?void 0:m[eC.VC];j&&e&&"string"==typeof e&&t.setHeader(eC.VC,e);let r=e_.segmentData.get(ei);return void 0!==r?{type:"rsc",body:tG.fromStatic(r),cacheControl:eb.cacheControl}:(t.statusCode=204,{type:"rsc",body:tG.fromStatic(""),cacheControl:null==eb?void 0:eb.cacheControl})}let eR=er(e,"onCacheEntry");if(eR&&await eR({...eb,value:{...eb.value,kind:(null==(g=eb.value)?void 0:g.kind)===tn.APP_PAGE?"PAGE":null==(v=eb.value)?void 0:v.kind}},{url:er(e,"initURL")}))return nu
//# sourceMappingURL=server.runtime.prod.js.map