@sinytra/wiki-previewer 0.1.95 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +72 -65
- package/.next/app-path-routes-manifest.json +3 -2
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +11 -11
- package/.next/routes-manifest.json +9 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -0
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -0
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/page.js +2 -2
- package/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +4 -4
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route.js +2 -2
- package/.next/server/app/robots.txt/route.js.nft.json +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt.body +16 -16
- package/.next/server/app/sitemap.xml/route.js +2 -2
- package/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +3 -2
- package/.next/server/chunks/2423.js +1 -0
- package/.next/server/chunks/2574.js +66 -0
- package/.next/server/chunks/2967.js +1 -0
- package/.next/server/chunks/2998.js +3 -0
- package/.next/server/chunks/3040.js +1 -0
- package/.next/server/chunks/318.js +1 -0
- package/.next/server/chunks/4404.js +35 -0
- package/.next/server/chunks/4706.js +1 -0
- package/.next/server/chunks/5610.js +1 -0
- package/.next/server/chunks/6266.js +1 -1
- package/.next/server/chunks/{8958.js → 6746.js} +3 -3
- package/.next/server/chunks/7542.js +1 -1
- package/.next/server/chunks/7910.js +1 -0
- package/.next/server/chunks/825.js +1 -0
- package/.next/server/chunks/8350.js +1 -1
- package/.next/server/chunks/8584.js +10 -0
- package/.next/server/chunks/9190.js +1 -0
- package/.next/server/chunks/9656.js +157 -0
- package/.next/server/middleware-manifest.json +10 -10
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_error.js +2 -2
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/src/middleware.js +1 -1
- package/.next/static/QCZRtYzjyv1XsDFOIBMg4/_buildManifest.js +1 -0
- package/.next/static/chunks/253-456e0f54b45ee32e.js +1 -0
- package/.next/static/chunks/349-a9ebfa6bf85ef1c1.js +1 -0
- package/.next/static/chunks/{409-66d1c976bcaa8a00.js → 409-9c1f3189eaf6432e.js} +1 -1
- package/.next/static/chunks/621-71a2215be11ad54d.js +1 -0
- package/.next/static/chunks/67-a4d2761f9f80a28a.js +1 -0
- package/.next/static/chunks/714-a6b53baa6dfd91ba.js +2 -0
- package/.next/static/chunks/736-625b8ccdd7ba1d68.js +1 -0
- package/.next/static/chunks/77-4d0cc6ec9ab78ab0.js +1 -0
- package/.next/static/chunks/835-b9d094e779a24ff8.js +1 -0
- package/.next/static/chunks/845-2a1323f13e03afc2.js +1 -0
- package/.next/static/chunks/942-229a422e32d81679.js +1 -0
- package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-bd2b0120995c30e8.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-b22c3769acbb8ac0.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-55ea01f3cc9eb6b8.js → page-40db7d1c9d0c3b3b.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9816f5919e791e47.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/{page-8a46f0c33ecced03.js → page-7095f5e128078355.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-c293908c29c1b6c4.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-88b5d365db9a6e79.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{page-82b2a8ad63a75ded.js → page-719960307da0a24f.js} +1 -1
- package/.next/static/chunks/app/[locale]/layout-d95356d77407b3f8.js +1 -0
- package/.next/static/chunks/app/[locale]/page-9080aa492599c415.js +1 -0
- package/.next/static/chunks/app/error-3753bf093585c3f9.js +1 -0
- package/.next/static/chunks/app/not-found-60642b865d54ecf2.js +1 -0
- package/bin/entrypoint.mjs +16 -12
- package/package.json +1 -1
- package/.next/server/chunks/4011.js +0 -66
- package/.next/server/chunks/4179.js +0 -1
- package/.next/server/chunks/6181.js +0 -1
- package/.next/server/chunks/6248.js +0 -157
- package/.next/server/chunks/6911.js +0 -1
- package/.next/server/chunks/6967.js +0 -1
- package/.next/server/chunks/7141.js +0 -3
- package/.next/server/chunks/8002.js +0 -1
- package/.next/server/chunks/872.js +0 -1
- package/.next/server/chunks/8910.js +0 -1
- package/.next/server/chunks/9484.js +0 -44
- package/.next/server/chunks/9552.js +0 -1
- package/.next/static/67_qGrKTD0T0OBapSH_gJ/_buildManifest.js +0 -1
- package/.next/static/chunks/295-b342998dc214ccb0.js +0 -1
- package/.next/static/chunks/327-fe7bdb4bf8ea0a4d.js +0 -1
- package/.next/static/chunks/626-3143ad333aa4f3c8.js +0 -1
- package/.next/static/chunks/627-b7177d13fb973e65.js +0 -1
- package/.next/static/chunks/681-c11fad63db4540fd.js +0 -1
- package/.next/static/chunks/77-7b330a7b53601edb.js +0 -1
- package/.next/static/chunks/781-92f765649a36851e.js +0 -2
- package/.next/static/chunks/796-b632432c26fb683d.js +0 -1
- package/.next/static/chunks/802-8d29fee6a25f76d8.js +0 -1
- package/.next/static/chunks/832-e525de928ef20f83.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-d07c641358e8e06b.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-96bebb2367f46c24.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-8630ead88225a0be.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-712771c8566a76d7.js +0 -1
- package/.next/static/chunks/app/[locale]/layout-69f07cdc70c4eec4.js +0 -1
- package/.next/static/chunks/app/[locale]/page-a94a8604962e3366.js +0 -1
- package/.next/static/chunks/app/error-0910a30db7ae99f9.js +0 -1
- package/.next/static/chunks/app/not-found-cea963ecd72d5a1e.js +0 -1
- /package/.next/static/{67_qGrKTD0T0OBapSH_gJ → QCZRtYzjyv1XsDFOIBMg4}/_ssgManifest.js +0 -0
|
@@ -10,5 +10,5 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`}proces
|
|
|
10
10
|
Read more: https://nextjs.org/docs/messages/middleware-request-page
|
|
11
11
|
`)}}class q extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function.
|
|
12
12
|
Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
|
|
13
|
-
`)}}let r="_N_T_",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};function t(a){var b,c,d,e,f,g=[],h=0;function i(){for(;h<a.length&&/\s/.test(a.charAt(h));)h+=1;return h<a.length}for(;h<a.length;){for(b=h,f=!1;i();)if(","===(c=a.charAt(h))){for(d=h,h+=1,i(),e=h;h<a.length&&"="!==(c=a.charAt(h))&&";"!==c&&","!==c;)h+=1;h<a.length&&"="===a.charAt(h)?(f=!0,h=e,g.push(a.substring(b,d)),b=h):h=d+1}else h+=1;(!f||h>=a.length)&&g.push(a.substring(b,a.length))}return g}function u(a){let b={},c=[];if(a)for(let[d,e]of a.entries())"set-cookie"===d.toLowerCase()?(c.push(...t(e)),b[d]=1===c.length?c[0]:c):b[d]=e;return b}function v(a){try{return String(new URL(String(a)))}catch(b){throw Object.defineProperty(Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:b}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}({...s,GROUP:{builtinReact:[s.reactServerComponents,s.actionBrowser],serverOnly:[s.reactServerComponents,s.actionBrowser,s.instrument,s.middleware],neutralTarget:[s.apiNode,s.apiEdge],clientOnly:[s.serverSideRendering,s.appPagesBrowser],bundled:[s.reactServerComponents,s.actionBrowser,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument,s.middleware],appPages:[s.reactServerComponents,s.serverSideRendering,s.appPagesBrowser,s.actionBrowser]}});let w=Symbol("response"),x=Symbol("passThrough"),y=Symbol("waitUntil");class z{constructor(a,b){this[x]=!1,this[y]=b?{kind:"external",function:b}:{kind:"internal",promises:[]}}respondWith(a){this[w]||(this[w]=Promise.resolve(a))}passThroughOnException(){this[x]=!0}waitUntil(a){if("external"===this[y].kind)return(0,this[y].function)(a);this[y].promises.push(a)}}class A extends z{constructor(a){var b;super(a.request,null==(b=a.context)?void 0:b.waitUntil),this.sourcePage=a.page}get request(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}function B(a){return a.replace(/\/$/,"")||"/"}function C(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c<b);return d||b>-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}function D(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:d,hash:e}=C(a);return""+b+c+d+e}function E(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:d,hash:e}=C(a);return""+c+b+d+e}function F(a,b){if("string"!=typeof a)return!1;let{pathname:c}=C(a);return c===b||c.startsWith(b+"/")}let G=new WeakMap;function H(a,b){let c;if(!b)return{pathname:a};let d=G.get(b);d||(d=b.map(a=>a.toLowerCase()),G.set(b,d));let e=a.split("/",2);if(!e[1])return{pathname:a};let f=e[1].toLowerCase(),g=d.indexOf(f);return g<0?{pathname:a}:(c=b[g],{pathname:a=a.slice(c.length+1)||"/",detectedLocale:c})}let I=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function J(a,b){return new URL(String(a).replace(I,"localhost"),b&&String(b).replace(I,"localhost"))}let K=Symbol("NextURLInternal");class L{constructor(a,b,c){let d,e;"object"==typeof b&&"pathname"in b||"string"==typeof b?(d=b,e=c||{}):e=c||b||{},this[K]={url:J(a,d??e.base),options:e,basePath:""},this.analyze()}analyze(){var a,b,c,d,e;let f=function(a,b){var c,d;let{basePath:e,i18n:f,trailingSlash:g}=null!=(c=b.nextConfig)?c:{},h={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):g};e&&F(h.pathname,e)&&(h.pathname=function(a,b){if(!F(a,b))return a;let c=a.slice(b.length);return c.startsWith("/")?c:"/"+c}(h.pathname,e),h.basePath=e);let i=h.pathname;if(h.pathname.startsWith("/_next/data/")&&h.pathname.endsWith(".json")){let a=h.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");h.buildId=a[0],i="index"!==a[1]?"/"+a.slice(1).join("/"):"/",!0===b.parseData&&(h.pathname=i)}if(f){let a=b.i18nProvider?b.i18nProvider.analyze(h.pathname):H(h.pathname,f.locales);h.locale=a.detectedLocale,h.pathname=null!=(d=a.pathname)?d:h.pathname,!a.detectedLocale&&h.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(i):H(i,f.locales)).detectedLocale&&(h.locale=a.detectedLocale)}return h}(this[K].url.pathname,{nextConfig:this[K].options.nextConfig,parseData:!0,i18nProvider:this[K].options.i18nProvider}),g=function(a,b){let c;if((null==b?void 0:b.host)&&!Array.isArray(b.host))c=b.host.toString().split(":",1)[0];else{if(!a.hostname)return;c=a.hostname}return c.toLowerCase()}(this[K].url,this[K].options.headers);this[K].domainLocale=this[K].options.i18nProvider?this[K].options.i18nProvider.detectDomainLocale(g):function(a,b,c){if(a)for(let f of(c&&(c=c.toLowerCase()),a)){var d,e;if(b===(null==(d=f.domain)?void 0:d.split(":",1)[0].toLowerCase())||c===f.defaultLocale.toLowerCase()||(null==(e=f.locales)?void 0:e.some(a=>a.toLowerCase()===c)))return f}}(null==(b=this[K].options.nextConfig)||null==(a=b.i18n)?void 0:a.domains,g);let h=(null==(c=this[K].domainLocale)?void 0:c.defaultLocale)||(null==(e=this[K].options.nextConfig)||null==(d=e.i18n)?void 0:d.defaultLocale);this[K].url.pathname=f.pathname,this[K].defaultLocale=h,this[K].basePath=f.basePath??"",this[K].buildId=f.buildId,this[K].locale=f.locale??h,this[K].trailingSlash=f.trailingSlash}formatPathname(){var a;let b;return b=function(a,b,c,d){if(!b||b===c)return a;let e=a.toLowerCase();return!d&&(F(e,"/api")||F(e,"/"+b.toLowerCase()))?a:D(a,"/"+b)}((a={basePath:this[K].basePath,buildId:this[K].buildId,defaultLocale:this[K].options.forceLocale?void 0:this[K].defaultLocale,locale:this[K].locale,pathname:this[K].url.pathname,trailingSlash:this[K].trailingSlash}).pathname,a.locale,a.buildId?void 0:a.defaultLocale,a.ignorePrefix),(a.buildId||!a.trailingSlash)&&(b=B(b)),a.buildId&&(b=E(D(b,"/_next/data/"+a.buildId),"/"===a.pathname?"index.json":".json")),b=D(b,a.basePath),!a.buildId&&a.trailingSlash?b.endsWith("/")?b:E(b,"/"):B(b)}formatSearch(){return this[K].url.search}get buildId(){return this[K].buildId}set buildId(a){this[K].buildId=a}get locale(){return this[K].locale??""}set locale(a){var b,c;if(!this[K].locale||!(null==(c=this[K].options.nextConfig)||null==(b=c.i18n)?void 0:b.locales.includes(a)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${a}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[K].locale=a}get defaultLocale(){return this[K].defaultLocale}get domainLocale(){return this[K].domainLocale}get searchParams(){return this[K].url.searchParams}get host(){return this[K].url.host}set host(a){this[K].url.host=a}get hostname(){return this[K].url.hostname}set hostname(a){this[K].url.hostname=a}get port(){return this[K].url.port}set port(a){this[K].url.port=a}get protocol(){return this[K].url.protocol}set protocol(a){this[K].url.protocol=a}get href(){let a=this.formatPathname(),b=this.formatSearch();return`${this.protocol}//${this.host}${a}${b}${this.hash}`}set href(a){this[K].url=J(a),this.analyze()}get origin(){return this[K].url.origin}get pathname(){return this[K].url.pathname}set pathname(a){this[K].url.pathname=a}get hash(){return this[K].url.hash}set hash(a){this[K].url.hash=a}get search(){return this[K].url.search}set search(a){this[K].url.search=a}get password(){return this[K].url.password}set password(a){this[K].url.password=a}get username(){return this[K].url.username}set username(a){this[K].url.username=a}get basePath(){return this[K].basePath}set basePath(a){this[K].basePath=a.startsWith("/")?a:`/${a}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new L(String(this),this[K].options)}}var M=c(2347);let N=Symbol("internal request");class O extends Request{constructor(a,b={}){let c="string"!=typeof a&&"url"in a?a.url:String(a);v(c),a instanceof Request?super(a,b):super(c,b);let d=new L(c,{headers:u(this.headers),nextConfig:b.nextConfig});this[N]={cookies:new M.RequestCookies(this.headers),nextUrl:d,url:d.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[N].cookies}get nextUrl(){return this[N].nextUrl}get page(){throw new p}get ua(){throw new q}get url(){return this[N].url}}class P{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}let Q=Symbol("internal response"),R=new Set([301,302,303,307,308]);function S(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class T extends Response{constructor(a,b={}){super(a,b);let c=this.headers,d=new Proxy(new M.ResponseCookies(c),{get(a,d,e){switch(d){case"delete":case"set":return(...e)=>{let f=Reflect.apply(a[d],a,e),g=new Headers(c);return f instanceof M.ResponseCookies&&c.set("x-middleware-set-cookie",f.getAll().map(a=>(0,M.stringifyCookie)(a)).join(",")),S(b,g),f};default:return P.get(a,d,e)}}});this[Q]={cookies:d,url:b.url?new L(b.url,{headers:u(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[Q].cookies}static json(a,b){let c=Response.json(a,b);return new T(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!R.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",v(a)),new T(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",v(a)),S(b,c),new T(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),S(a,b),new T(null,{...a,headers:b})}}function U(a,b){let c="string"==typeof b?new URL(b):b,d=new URL(a,b),e=d.origin===c.origin;return{url:e?d.toString().slice(c.origin.length):d.toString(),isRelative:e}}let V="next-router-prefetch",W=["rsc","next-router-state-tree",V,"next-hmr-refresh","next-router-segment-prefetch"],X="_rsc";class Y extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new Y}}class Z extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,d){if("symbol"==typeof c)return P.get(b,c,d);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);if(void 0!==f)return P.get(b,f,d)},set(b,c,d,e){if("symbol"==typeof c)return P.set(b,c,d,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);return P.set(b,g??c,d,e)},has(b,c){if("symbol"==typeof c)return P.has(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0!==e&&P.has(b,e)},deleteProperty(b,c){if("symbol"==typeof c)return P.deleteProperty(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0===e||P.deleteProperty(b,e)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return Y.callable;default:return P.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new Z(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}var $=c(5341);class _ extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new _}}class aa{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return _.callable;default:return P.get(a,b,c)}}})}}let ab=Symbol.for("next.mutated.cookies");class ac{static wrap(a,b){let c=new M.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let d=[],e=new Set,f=()=>{let a=$.J.getStore();if(a&&(a.pathWasRevalidated=!0),d=c.getAll().filter(a=>e.has(a.name)),b){let a=[];for(let b of d){let c=new M.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},g=new Proxy(c,{get(a,b,c){switch(b){case ab:return d;case"delete":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),g}finally{f()}};case"set":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),g}finally{f()}};default:return P.get(a,b,c)}}});return g}}function ad(a){return"action"===a.phase}function ae(a,b){if(!ad(a))throw new _}var af=function(a){return a.handleRequest="BaseServer.handleRequest",a.run="BaseServer.run",a.pipe="BaseServer.pipe",a.getStaticHTML="BaseServer.getStaticHTML",a.render="BaseServer.render",a.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",a.renderToResponse="BaseServer.renderToResponse",a.renderToHTML="BaseServer.renderToHTML",a.renderError="BaseServer.renderError",a.renderErrorToResponse="BaseServer.renderErrorToResponse",a.renderErrorToHTML="BaseServer.renderErrorToHTML",a.render404="BaseServer.render404",a}(af||{}),ag=function(a){return a.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",a.loadComponents="LoadComponents.loadComponents",a}(ag||{}),ah=function(a){return a.getRequestHandler="NextServer.getRequestHandler",a.getServer="NextServer.getServer",a.getServerRequestHandler="NextServer.getServerRequestHandler",a.createServer="createServer.createServer",a}(ah||{}),ai=function(a){return a.compression="NextNodeServer.compression",a.getBuildId="NextNodeServer.getBuildId",a.createComponentTree="NextNodeServer.createComponentTree",a.clientComponentLoading="NextNodeServer.clientComponentLoading",a.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",a.generateStaticRoutes="NextNodeServer.generateStaticRoutes",a.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",a.generatePublicRoutes="NextNodeServer.generatePublicRoutes",a.generateImageRoutes="NextNodeServer.generateImageRoutes.route",a.sendRenderResult="NextNodeServer.sendRenderResult",a.proxyRequest="NextNodeServer.proxyRequest",a.runApi="NextNodeServer.runApi",a.render="NextNodeServer.render",a.renderHTML="NextNodeServer.renderHTML",a.imageOptimizer="NextNodeServer.imageOptimizer",a.getPagePath="NextNodeServer.getPagePath",a.getRoutesManifest="NextNodeServer.getRoutesManifest",a.findPageComponents="NextNodeServer.findPageComponents",a.getFontManifest="NextNodeServer.getFontManifest",a.getServerComponentManifest="NextNodeServer.getServerComponentManifest",a.getRequestHandler="NextNodeServer.getRequestHandler",a.renderToHTML="NextNodeServer.renderToHTML",a.renderError="NextNodeServer.renderError",a.renderErrorToHTML="NextNodeServer.renderErrorToHTML",a.render404="NextNodeServer.render404",a.startResponse="NextNodeServer.startResponse",a.route="route",a.onProxyReq="onProxyReq",a.apiResolver="apiResolver",a.internalFetch="internalFetch",a}(ai||{}),aj=function(a){return a.startServer="startServer.startServer",a}(aj||{}),ak=function(a){return a.getServerSideProps="Render.getServerSideProps",a.getStaticProps="Render.getStaticProps",a.renderToString="Render.renderToString",a.renderDocument="Render.renderDocument",a.createBodyResult="Render.createBodyResult",a}(ak||{}),al=function(a){return a.renderToString="AppRender.renderToString",a.renderToReadableStream="AppRender.renderToReadableStream",a.getBodyResult="AppRender.getBodyResult",a.fetch="AppRender.fetch",a}(al||{}),am=function(a){return a.executeRoute="Router.executeRoute",a}(am||{}),an=function(a){return a.runHandler="Node.runHandler",a}(an||{}),ao=function(a){return a.runHandler="AppRouteRouteHandlers.runHandler",a}(ao||{}),ap=function(a){return a.generateMetadata="ResolveMetadata.generateMetadata",a.generateViewport="ResolveMetadata.generateViewport",a}(ap||{}),aq=function(a){return a.execute="Middleware.execute",a}(aq||{});let ar=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],as=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"];function at(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}let{context:au,propagation:av,trace:aw,SpanStatusCode:ax,SpanKind:ay,ROOT_CONTEXT:az}=d=c(2407);class aA extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}let aB=(a,b)=>{(function(a){return"object"==typeof a&&null!==a&&a instanceof aA})(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:ax.ERROR,message:null==b?void 0:b.message})),a.end()},aC=new Map,aD=d.createContextKey("next.rootSpanId"),aE=0,aF={set(a,b,c){a.push({key:b,value:c})}};class aG{getTracerInstance(){return aw.getTracer("next.js","0.0.1")}getContext(){return au}getTracePropagationData(){let a=au.active(),b=[];return av.inject(a,b,aF),b}getActiveScopeSpan(){return aw.getSpan(null==au?void 0:au.active())}withPropagatedContext(a,b,c){let d=au.active();if(aw.getSpanContext(d))return b();let e=av.extract(d,a,c);return au.with(e,b)}trace(...a){var b;let[c,d,e]=a,{fn:f,options:g}="function"==typeof d?{fn:d,options:{}}:{fn:e,options:{...d}},h=g.spanName??c;if(!ar.includes(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||g.hideSpan)return f();let i=this.getSpanContext((null==g?void 0:g.parentSpan)??this.getActiveScopeSpan()),j=!1;i?(null==(b=aw.getSpanContext(i))?void 0:b.isRemote)&&(j=!0):(i=(null==au?void 0:au.active())??az,j=!0);let k=aE++;return g.attributes={"next.span_name":h,"next.span_type":c,...g.attributes},au.with(i.setValue(aD,k),()=>this.getTracerInstance().startActiveSpan(h,g,a=>{let b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,d=()=>{aC.delete(k),b&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&as.includes(c||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()})};j&&aC.set(k,new Map(Object.entries(g.attributes??{})));try{if(f.length>1)return f(a,b=>aB(a,b));let b=f(a);if(at(b))return b.then(b=>(a.end(),b)).catch(b=>{throw aB(a,b),b}).finally(d);return a.end(),d(),b}catch(b){throw aB(a,b),d(),b}}))}wrap(...a){let b=this,[c,d,e]=3===a.length?a:[a[0],{},a[1]];return ar.includes(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof e&&(a=a.apply(this,arguments));let f=arguments.length-1,g=arguments[f];if("function"!=typeof g)return b.trace(c,a,()=>e.apply(this,arguments));{let d=b.getContext().bind(au.active(),g);return b.trace(c,a,(a,b)=>(arguments[f]=function(a){return null==b||b(a),d.apply(this,arguments)},e.apply(this,arguments)))}}:e}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?aw.setSpan(au.active(),a):void 0}getRootSpanAttributes(){let a=au.active().getValue(aD);return aC.get(a)}setRootSpanAttribute(a,b){let c=au.active().getValue(aD),d=aC.get(c);d&&d.set(a,b)}}let aH=(()=>{let a=new aG;return()=>a})(),aI="__prerender_bypass";Symbol("__next_preview_data"),Symbol(aI);class aJ{constructor(a,b,c,d){var e;let f=a&&function(a,b){let c=Z.from(a.headers);return{isOnDemandRevalidate:c.get("x-prerender-revalidate")===b.previewModeId,revalidateOnlyGenerated:c.has("x-prerender-revalidate-if-generated")}}(b,a).isOnDemandRevalidate,g=null==(e=c.get(aI))?void 0:e.value;this._isEnabled=!!(!f&&g&&a&&g===a.previewModeId),this._previewModeId=null==a?void 0:a.previewModeId,this._mutableCookies=d}get isEnabled(){return this._isEnabled}enable(){if(!this._previewModeId)throw Object.defineProperty(Error("Invariant: previewProps missing previewModeId this should never happen"),"__NEXT_ERROR_CODE",{value:"E93",enumerable:!1,configurable:!0});this._mutableCookies.set({name:aI,value:this._previewModeId,httpOnly:!0,sameSite:"none",secure:!0,path:"/"}),this._isEnabled=!0}disable(){this._mutableCookies.set({name:aI,value:"",httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:new Date(0)}),this._isEnabled=!1}}function aK(a,b){if("x-middleware-set-cookie"in a.headers&&"string"==typeof a.headers["x-middleware-set-cookie"]){let c=a.headers["x-middleware-set-cookie"],d=new Headers;for(let a of t(c))d.append("set-cookie",a);for(let a of new M.ResponseCookies(d).getAll())b.set(a)}}var aL=c(5658),aM=c(9549),aN=c.n(aM),aO=c(3937);class aP{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class aQ{constructor(){this.prev=null,this.next=null}}class aR{constructor(a,b){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.head=new aQ,this.tail=new aQ,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let c=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(c>this.maxSize)return void console.warn("Single item size exceeds maxSize");let d=this.cache.get(a);if(d)d.data=b,this.totalSize=this.totalSize-d.size+c,d.size=c,this.moveToHead(d);else{let d=new aP(a,b,c);this.cache.set(a,d),this.addToHead(d),this.totalSize+=c}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}c(5356).Buffer,new aR(0x3200000,a=>a.size),process.env.NEXT_PRIVATE_DEBUG_CACHE&&console.debug.bind(console,"DefaultCacheHandler:"),process.env.NEXT_PRIVATE_DEBUG_CACHE&&((a,...b)=>{console.log(`use-cache: ${a}`,...b)}),Symbol.for("@next/cache-handlers");let aS=Symbol.for("@next/cache-handlers-map"),aT=Symbol.for("@next/cache-handlers-set"),aU=globalThis;function aV(){if(aU[aS])return aU[aS].entries()}async function aW(a,b){if(!a)return b();let c=aX(a);try{return await b()}finally{let b=function(a,b){let c=new Set(a.pendingRevalidatedTags),d=new Set(a.pendingRevalidateWrites);return{pendingRevalidatedTags:b.pendingRevalidatedTags.filter(a=>!c.has(a)),pendingRevalidates:Object.fromEntries(Object.entries(b.pendingRevalidates).filter(([b])=>!(b in a.pendingRevalidates))),pendingRevalidateWrites:b.pendingRevalidateWrites.filter(a=>!d.has(a))}}(c,aX(a));await aZ(a,b)}}function aX(a){return{pendingRevalidatedTags:a.pendingRevalidatedTags?[...a.pendingRevalidatedTags]:[],pendingRevalidates:{...a.pendingRevalidates},pendingRevalidateWrites:a.pendingRevalidateWrites?[...a.pendingRevalidateWrites]:[]}}async function aY(a,b){if(0===a.length)return;let c=[];b&&c.push(b.revalidateTag(a));let d=function(){if(aU[aT])return aU[aT].values()}();if(d)for(let b of d)c.push(b.expireTags(...a));await Promise.all(c)}async function aZ(a,b){let c=(null==b?void 0:b.pendingRevalidatedTags)??a.pendingRevalidatedTags??[],d=(null==b?void 0:b.pendingRevalidates)??a.pendingRevalidates??{},e=(null==b?void 0:b.pendingRevalidateWrites)??a.pendingRevalidateWrites??[];return Promise.all([aY(c,a.incrementalCache),...Object.values(d),...e])}let a$=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a_{disable(){throw a$}getStore(){}run(){throw a$}exit(){throw a$}enterWith(){throw a$}static bind(a){return a}}let a0="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage,a1=a0?new a0:new a_;class a2{constructor({waitUntil:a,onClose:b,onTaskError:c}){this.workUnitStores=new Set,this.waitUntil=a,this.onClose=b,this.onTaskError=c,this.callbackQueue=new(aN()),this.callbackQueue.pause()}after(a){if(at(a))this.waitUntil||a3(),this.waitUntil(a.catch(a=>this.reportTaskError("promise",a)));else if("function"==typeof a)this.addCallback(a);else throw Object.defineProperty(Error("`after()`: Argument must be a promise or a function"),"__NEXT_ERROR_CODE",{value:"E50",enumerable:!1,configurable:!0})}addCallback(a){var b;this.waitUntil||a3();let c=aL.FP.getStore();c&&this.workUnitStores.add(c);let d=a1.getStore(),e=d?d.rootTaskSpawnPhase:null==c?void 0:c.phase;this.runCallbacksOnClosePromise||(this.runCallbacksOnClosePromise=this.runCallbacksOnClose(),this.waitUntil(this.runCallbacksOnClosePromise));let f=(b=async()=>{try{await a1.run({rootTaskSpawnPhase:e},()=>a())}catch(a){this.reportTaskError("function",a)}},a0?a0.bind(b):a_.bind(b));this.callbackQueue.add(f)}async runCallbacksOnClose(){return await new Promise(a=>this.onClose(a)),this.runCallbacks()}async runCallbacks(){if(0===this.callbackQueue.size)return;for(let a of this.workUnitStores)a.phase="after";let a=$.J.getStore();if(!a)throw Object.defineProperty(new aO.z("Missing workStore in AfterContext.runCallbacks"),"__NEXT_ERROR_CODE",{value:"E547",enumerable:!1,configurable:!0});return aW(a,()=>(this.callbackQueue.start(),this.callbackQueue.onIdle()))}reportTaskError(a,b){if(console.error("promise"===a?"A promise passed to `after()` rejected:":"An error occurred in a function passed to `after()`:",b),this.onTaskError)try{null==this.onTaskError||this.onTaskError.call(this,b)}catch(a){console.error(Object.defineProperty(new aO.z("`onTaskError` threw while handling an error thrown from an `after` task",{cause:a}),"__NEXT_ERROR_CODE",{value:"E569",enumerable:!1,configurable:!0}))}}}function a3(){throw Object.defineProperty(Error("`after()` will not work correctly, because `waitUntil` is not available in the current environment."),"__NEXT_ERROR_CODE",{value:"E91",enumerable:!1,configurable:!0})}function a4(a){let b,c={then:(d,e)=>(b||(b=a()),b.then(a=>{c.value=a}).catch(()=>{}),b.then(d,e))};return c}class a5{onClose(a){if(this.isClosed)throw Object.defineProperty(Error("Cannot subscribe to a closed CloseController"),"__NEXT_ERROR_CODE",{value:"E365",enumerable:!1,configurable:!0});this.target.addEventListener("close",a),this.listeners++}dispatchClose(){if(this.isClosed)throw Object.defineProperty(Error("Cannot close a CloseController multiple times"),"__NEXT_ERROR_CODE",{value:"E229",enumerable:!1,configurable:!0});this.listeners>0&&this.target.dispatchEvent(new Event("close")),this.isClosed=!0}constructor(){this.target=new EventTarget,this.listeners=0,this.isClosed=!1}}function a6(){return{previewModeId:process.env.__NEXT_PREVIEW_MODE_ID||"",previewModeSigningKey:process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY||"",previewModeEncryptionKey:process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY||""}}let a7=Symbol.for("@next/request-context");async function a8(a,b,c){let d=[],e=c&&c.size>0;for(let b of(a=>{let b=["/layout"];if(a.startsWith("/")){let c=a.split("/");for(let a=1;a<c.length+1;a++){let d=c.slice(0,a).join("/");d&&(d.endsWith("/page")||d.endsWith("/route")||(d=`${d}${!d.endsWith("/")?"/":""}layout`),b.push(d))}}return b})(a))b=`${r}${b}`,d.push(b);if(b.pathname&&!e){let a=`${r}${b.pathname}`;d.push(a)}return{tags:d,expirationsByCacheKind:function(a){let b=new Map,c=aV();if(c)for(let[d,e]of c)"getExpiration"in e&&b.set(d,a4(async()=>e.getExpiration(...a)));return b}(d)}}class a9 extends O{constructor(a){super(a.input,a.init),this.sourcePage=a.page}get request(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}waitUntil(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}let ba={keys:a=>Array.from(a.keys()),get:(a,b)=>a.get(b)??void 0},bb=(a,b)=>aH().withPropagatedContext(a.headers,b,ba),bc=!1;async function bd(a){var b;let d,e;if(!bc&&(bc=!0,"true"===process.env.NEXT_PRIVATE_TEST_PROXY)){let{interceptTestApis:a,wrapRequestHandler:b}=c(1064);a(),bb=b(bb)}await m();let f=void 0!==globalThis.__BUILD_MANIFEST;a.request.url=a.request.url.replace(/\.rsc($|\?)/,"$1");let g=a.bypassNextUrl?new URL(a.request.url):new L(a.request.url,{headers:a.request.headers,nextConfig:a.request.nextConfig});for(let a of[...g.searchParams.keys()]){let b=g.searchParams.getAll(a),c=function(a){for(let b of["nxtP","nxtI"])if(a!==b&&a.startsWith(b))return a.substring(b.length);return null}(a);if(c){for(let a of(g.searchParams.delete(c),b))g.searchParams.append(c,a);g.searchParams.delete(a)}}let h=process.env.__NEXT_BUILD_ID||"";"buildId"in g&&(h=g.buildId||"",g.buildId="");let i=function(a){let b=new Headers;for(let[c,d]of Object.entries(a))for(let a of Array.isArray(d)?d:[d])void 0!==a&&("number"==typeof a&&(a=a.toString()),b.append(c,a));return b}(a.request.headers),j=i.has("x-nextjs-data"),k="1"===i.get("rsc");j&&"/index"===g.pathname&&(g.pathname="/");let l=new Map;if(!f)for(let a of W){let b=i.get(a);null!==b&&(l.set(a,b),i.delete(a))}let n=g.searchParams.get(X),o=new a9({page:a.page,input:(function(a){let b="string"==typeof a,c=b?new URL(a):a;return c.searchParams.delete(X),b?c.toString():c})(g).toString(),init:{body:a.request.body,headers:i,method:a.request.method,nextConfig:a.request.nextConfig,signal:a.request.signal}});j&&Object.defineProperty(o,"__isData",{enumerable:!1,value:!0}),!globalThis.__incrementalCacheShared&&a.IncrementalCache&&(globalThis.__incrementalCache=new a.IncrementalCache({CurCacheHandler:a.incrementalCacheHandler,minimalMode:!0,fetchCacheKeyPrefix:"",dev:!1,requestHeaders:a.request.headers,getPrerenderManifest:()=>({version:-1,routes:{},dynamicRoutes:{},notFoundRoutes:[],preview:a6()})}));let p=a.request.waitUntil??(null==(b=function(){let a=globalThis[a7];return null==a?void 0:a.get()}())?void 0:b.waitUntil),q=new A({request:o,page:a.page,context:p?{waitUntil:p}:void 0});if((d=await bb(o,()=>{if("/middleware"===a.page||"/src/middleware"===a.page){let b=q.waitUntil.bind(q),c=new a5;return aH().trace(aq.execute,{spanName:`middleware ${o.method} ${o.nextUrl.pathname}`,attributes:{"http.target":o.nextUrl.pathname,"http.method":o.method}},async()=>{try{var d,f,g,i,j,k;let l=a6(),m=await a8("/",o.nextUrl,null),n=(j=o.nextUrl,k=a=>{e=a},function(a,b,c,d,e,f,g,h,i,j,k,l){function m(a){c&&c.setHeader("Set-Cookie",a)}let n={};return{type:"request",phase:a,implicitTags:f,url:{pathname:d.pathname,search:d.search??""},rootParams:e,get headers(){return n.headers||(n.headers=function(a){let b=Z.from(a);for(let a of W)b.delete(a);return Z.seal(b)}(b.headers)),n.headers},get cookies(){if(!n.cookies){let a=new M.RequestCookies(Z.from(b.headers));aK(b,a),n.cookies=aa.seal(a)}return n.cookies},set cookies(value){n.cookies=value},get mutableCookies(){if(!n.mutableCookies){let a=function(a,b){let c=new M.RequestCookies(Z.from(a));return ac.wrap(c,b)}(b.headers,g||(c?m:void 0));aK(b,a),n.mutableCookies=a}return n.mutableCookies},get userspaceMutableCookies(){return n.userspaceMutableCookies||(n.userspaceMutableCookies=function(a){let b=new Proxy(a.mutableCookies,{get(c,d,e){switch(d){case"delete":return function(...d){return ae(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return ae(a,"cookies().set"),c.set(...d),b};default:return P.get(c,d,e)}}});return b}(this)),n.userspaceMutableCookies},get draftMode(){return n.draftMode||(n.draftMode=new aJ(i,b,this.cookies,this.mutableCookies)),n.draftMode},renderResumeDataCache:h??null,isHmrRefresh:j,serverComponentsHmrCache:k||globalThis.__serverComponentsHmrCache,devFallbackParams:null}}("action",o,void 0,j,{},m,k,void 0,l,!1,void 0,null)),p=function({page:a,renderOpts:b,isPrefetchRequest:c,buildId:d,previouslyRevalidatedTags:e}){var f;let g=!b.shouldWaitOnAllReady&&!b.supportsDynamicResponse&&!b.isDraftMode&&!b.isPossibleServerAction,h=b.dev??!1,i=h||g&&(!!process.env.NEXT_DEBUG_BUILD||"1"===process.env.NEXT_SSG_FETCH_METRICS),j={isStaticGeneration:g,page:a,route:(f=a.split("/").reduce((a,b,c,d)=>b?"("===b[0]&&b.endsWith(")")||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:a+"/"+b:a,"")).startsWith("/")?f:"/"+f,incrementalCache:b.incrementalCache||globalThis.__incrementalCache,cacheLifeProfiles:b.cacheLifeProfiles,isRevalidate:b.isRevalidate,isBuildTimePrerendering:b.nextExport,hasReadableErrorStacks:b.hasReadableErrorStacks,fetchCache:b.fetchCache,isOnDemandRevalidate:b.isOnDemandRevalidate,isDraftMode:b.isDraftMode,isPrefetchRequest:c,buildId:d,reactLoadableManifest:(null==b?void 0:b.reactLoadableManifest)||{},assetPrefix:(null==b?void 0:b.assetPrefix)||"",afterContext:function(a){let{waitUntil:b,onClose:c,onAfterTaskError:d}=a;return new a2({waitUntil:b,onClose:c,onTaskError:d})}(b),cacheComponentsEnabled:b.experimental.cacheComponents,dev:h,previouslyRevalidatedTags:e,refreshTagsByCacheKind:function(){let a=new Map,b=aV();if(b)for(let[c,d]of b)"refreshTags"in d&&a.set(c,a4(async()=>d.refreshTags()));return a}(),runInCleanSnapshot:a0?a0.snapshot():function(a,...b){return a(...b)},shouldTrackFetchMetrics:i};return b.store=j,j}({page:"/",renderOpts:{cacheLifeProfiles:null==(f=a.request.nextConfig)||null==(d=f.experimental)?void 0:d.cacheLife,experimental:{isRoutePPREnabled:!1,cacheComponents:!1,authInterrupts:!!(null==(i=a.request.nextConfig)||null==(g=i.experimental)?void 0:g.authInterrupts)},supportsDynamicResponse:!0,waitUntil:b,onClose:c.onClose.bind(c),onAfterTaskError:void 0},isPrefetchRequest:"1"===o.headers.get(V),buildId:h??"",previouslyRevalidatedTags:[]});return await $.J.run(p,()=>aL.FP.run(n,a.handler,o,q))}finally{setTimeout(()=>{c.dispatchClose()},0)}})}return a.handler(o,q)}))&&!(d instanceof Response))throw Object.defineProperty(TypeError("Expected an instance of Response to be returned"),"__NEXT_ERROR_CODE",{value:"E567",enumerable:!1,configurable:!0});d&&e&&d.headers.set("set-cookie",e);let r=null==d?void 0:d.headers.get("x-middleware-rewrite");if(d&&r&&(k||!f)){let b=new L(r,{forceLocale:!0,headers:a.request.headers,nextConfig:a.request.nextConfig});f||b.host!==o.nextUrl.host||(b.buildId=h||b.buildId,d.headers.set("x-middleware-rewrite",String(b)));let{url:c,isRelative:e}=U(b.toString(),g.toString());!f&&j&&d.headers.set("x-nextjs-rewrite",c),k&&e&&(g.pathname!==b.pathname&&d.headers.set("x-nextjs-rewritten-path",b.pathname),g.search!==b.search&&d.headers.set("x-nextjs-rewritten-query",b.search.slice(1)))}if(d&&r&&k&&n){let a=new URL(r);a.searchParams.has(X)||(a.searchParams.set(X,n),d.headers.set("x-middleware-rewrite",a.toString()))}let s=null==d?void 0:d.headers.get("Location");if(d&&s&&!f){let b=new L(s,{forceLocale:!1,headers:a.request.headers,nextConfig:a.request.nextConfig});d=new Response(d.body,d),b.host===g.host&&(b.buildId=h||b.buildId,d.headers.set("Location",b.toString())),j&&(d.headers.delete("Location"),d.headers.set("x-nextjs-redirect",U(b.toString(),g.toString()).url))}let t=d||T.next(),u=t.headers.get("x-middleware-override-headers"),v=[];if(u){for(let[a,b]of l)t.headers.set(`x-middleware-request-${a}`,b),v.push(a);v.length>0&&t.headers.set("x-middleware-override-headers",u+","+v.join(","))}return{response:t,waitUntil:("internal"===q[y].kind?Promise.all(q[y].promises).then(()=>{}):void 0)??Promise.resolve(),fetchMetrics:o.fetchMetrics}}c(497),"undefined"==typeof URLPattern||URLPattern;var be=c(5563),bf=c(2099),bg=c(5514);function bh(){let a=a1.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}c(2318);let{env:bi,stdout:bj}=(null==(f=globalThis)?void 0:f.process)??{},bk=bi&&!bi.NO_COLOR&&(bi.FORCE_COLOR||(null==bj?void 0:bj.isTTY)&&!bi.CI&&"dumb"!==bi.TERM),bl=(a,b,c,d)=>{let e=a.substring(0,d)+c,f=a.substring(d+b.length),g=f.indexOf(b);return~g?e+bl(f,b,c,g):e+f},bm=(a,b,c=a)=>bk?d=>{let e=""+d,f=e.indexOf(b,a.length);return~f?a+bl(e,b,c,f)+b:a+e+b}:String,bn=bm("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");bm("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),bm("\x1b[3m","\x1b[23m"),bm("\x1b[4m","\x1b[24m"),bm("\x1b[7m","\x1b[27m"),bm("\x1b[8m","\x1b[28m"),bm("\x1b[9m","\x1b[29m"),bm("\x1b[30m","\x1b[39m");let bo=bm("\x1b[31m","\x1b[39m"),bp=bm("\x1b[32m","\x1b[39m"),bq=bm("\x1b[33m","\x1b[39m");bm("\x1b[34m","\x1b[39m");let br=bm("\x1b[35m","\x1b[39m");bm("\x1b[38;2;173;127;168m","\x1b[39m"),bm("\x1b[36m","\x1b[39m");let bs=bm("\x1b[37m","\x1b[39m");function bt(a){var b,c;return{...a,localePrefix:"object"==typeof(c=a.localePrefix)?c:{mode:c||"always"},localeCookie:!!((b=a.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof b&&b},localeDetection:a.localeDetection??!0,alternateLinks:a.alternateLinks??!0}}bm("\x1b[90m","\x1b[39m"),bm("\x1b[40m","\x1b[49m"),bm("\x1b[41m","\x1b[49m"),bm("\x1b[42m","\x1b[49m"),bm("\x1b[43m","\x1b[49m"),bm("\x1b[44m","\x1b[49m"),bm("\x1b[45m","\x1b[49m"),bm("\x1b[46m","\x1b[49m"),bm("\x1b[47m","\x1b[49m"),bs(bn("○")),bo(bn("⨯")),bq(bn("⚠")),bs(bn(" ")),bp(bn("✓")),br(bn("\xbb")),new aR(1e4,a=>a.length),new WeakMap;let bu="X-NEXT-INTL-LOCALE";function bv(a){return("object"==typeof a?null==a.host&&null==a.hostname:!/^[a-z]+:/i.test(a))&&!function(a){let b="object"==typeof a?a.pathname:a;return null!=b&&!b.startsWith("/")}(a)}function bw(a,b){let c=a;return/^\/(\?.*)?$/.test(b)&&(b=b.slice(1)),c+=b}function bx(a,b,c){return"string"==typeof a?a:a[b]||c}function by(a){let b=function(){try{return"true"===process.env._next_intl_trailing_slash}catch{return!1}}(),[c,...d]=a.split("#"),e=d.join("#"),f=c;if("/"!==f){let a=f.endsWith("/");b&&!a?f+="/":!b&&a&&(f=f.slice(0,-1))}return e&&(f+="#"+e),f}function bz(a,b){let c=by(a),d=by(b);return bB(c).test(d)}function bA(a,b){return"never"!==b.mode&&b.prefixes?.[a]||"/"+a}function bB(a){let b=a.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${b}$`)}function bC(a){return a.includes("[[...")}function bD(a){return a.includes("[...")}function bE(a){return a.includes("[")}function bF(a,b){let c=a.split("/"),d=b.split("/"),e=Math.max(c.length,d.length);for(let a=0;a<e;a++){let b=c[a],e=d[a];if(!b&&e)return -1;if(b&&!e)return 1;if(b||e){if(!bE(b)&&bE(e))return -1;if(bE(b)&&!bE(e))return 1;if(!bD(b)&&bD(e))return -1;if(bD(b)&&!bD(e))return 1;if(!bC(b)&&bC(e))return -1;if(bC(b)&&!bC(e))return 1}}return 0}function bG(a){return"function"==typeof a.then}function bH(a,b,c,d){let e="";return e+=function(a,b){if(!b)return a;let c=a=a.replace(/\[\[/g,"[").replace(/\]\]/g,"]");return Object.entries(b).forEach(([a,b])=>{c=c.replace(`[${a}]`,b)}),c}(c,function(a,b){let c=by(b),d=by(a),e=bB(d).exec(c);if(!e)return;let f={},g=d.match(/\[([^\]]+)\]/g)??[];for(let a=1;a<e.length;a++){let b=g[a-1];if(!b)continue;let c=b.replace(/[[\]]/g,""),d=e[a]??"";f[c]=d}return f}(b,a)),e=by(e)}function bI(a,b,c){a.endsWith("/")||(a+="/");let d=bJ(b,c),e=RegExp(`^(${d.map(([,a])=>a.replaceAll("/","\\/")).join("|")})/(.*)`,"i"),f=a.match(e),g=f?"/"+f[2]:a;return"/"!==g&&(g=by(g)),g}function bJ(a,b,c=!0){let d=a.map(a=>[a,bA(a,b)]);return c&&d.sort((a,b)=>b[1].length-a[1].length),d}function bK(a,b,c,d){let e=bJ(b,c);for(let[b,c]of(d&&e.sort(([a],[b])=>{if(a===d.defaultLocale)return -1;if(b===d.defaultLocale)return 1;let c=d.locales.includes(a),e=d.locales.includes(b);return c&&!e?-1:!c&&e?1:0}),e)){let d,e;if(a===c||a.startsWith(c+"/"))d=e=!0;else{let b=a.toLowerCase(),f=c.toLowerCase();(b===f||b.startsWith(f+"/"))&&(d=!1,e=!0)}if(e)return{locale:b,prefix:c,matchedPrefix:a.slice(0,c.length),exact:d}}}function bL(a,b,c){let d=a;return b&&(d=bw(b,d)),c&&(d+=c),d}function bM(a){return a.get("x-forwarded-host")??a.get("host")??void 0}function bN(a,b){return b.defaultLocale===a||b.locales.includes(a)}function bO(a,b,c){let d;return a&&bN(b,a)&&(d=a),d||(d=c.find(a=>a.defaultLocale===b)),d||(d=c.find(a=>a.locales.includes(b))),d}function bP(a,b){let c=b&&b.cache?b.cache:bU,d=b&&b.serializer?b.serializer:bS;return(b&&b.strategy?b.strategy:function(a,b){var c,d;let e=1===a.length?bQ:bR;return c=b.cache.create(),d=b.serializer,e.bind(this,a,c,d)})(a,{cache:c,serializer:d})}function bQ(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function bR(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let bS=function(){return JSON.stringify(arguments)};var bT=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let bU={create:function(){return new bT}},bV={variadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,bR.bind(this,a,c,d)},monadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,bQ.bind(this,a,c,d)}},bW={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},bX={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},bY=/-u(?:-[0-9a-z]{2,8})+/gi;function bZ(a,b,c=Error){if(!a)throw new c(b)}function b$(a,b,c){let[d,e,f]=b.split("-"),g=!0;if(f&&"$"===f[0]){let b="!"!==f[1],d=(b?c[f.slice(1)]:c[f.slice(2)]).map(a=>bX[a]||[a]).reduce((a,b)=>[...a,...b],[]);g&&=d.indexOf(a.region||"")>-1==b}else g&&=!a.region||"*"===f||f===a.region;return g&&=!a.script||"*"===e||e===a.script,g&&=!a.language||"*"===d||d===a.language}function b_(a){return[a.language,a.script,a.region].filter(Boolean).join("-")}function b0(a,b,c){for(let d of c.matches){let e=b$(a,d.desired,c.matchVariables)&&b$(b,d.supported,c.matchVariables);if(d.oneway||e||(e=b$(a,d.supported,c.matchVariables)&&b$(b,d.desired,c.matchVariables)),e){let e=10*d.distance;if(c.paradigmLocales.indexOf(b_(a))>-1!=c.paradigmLocales.indexOf(b_(b))>-1)return e-1;return e}}throw Error("No matching distance found")}let b1=bP(function(a,b){let c=new Intl.Locale(a).maximize(),d=new Intl.Locale(b).maximize(),f={language:c.language,script:c.script||"",region:c.region||""},g={language:d.language,script:d.script||"",region:d.region||""},h=0,i=function(){if(!e){let a=bW.supplemental.languageMatching["written-new"][0]?.paradigmLocales?._locales.split(" "),b=bW.supplemental.languageMatching["written-new"].slice(1,5);e={matches:bW.supplemental.languageMatching["written-new"].slice(5).map(a=>{let b=Object.keys(a)[0],c=a[b];return{supported:b,desired:c._desired,distance:+c._distance,oneway:"true"===c.oneway}},{}),matchVariables:b.reduce((a,b)=>{let c=Object.keys(b)[0],d=b[c];return a[c.slice(1)]=d._value.split("+"),a},{}),paradigmLocales:[...a,...a.map(a=>new Intl.Locale(a.replace(/_/g,"-")).maximize().toString())]}}return e}();return f.language!==g.language&&(h+=b0({language:c.language,script:"",region:""},{language:d.language,script:"",region:""},i)),f.script!==g.script&&(h+=b0({language:c.language,script:f.script,region:""},{language:d.language,script:g.script,region:""},i)),f.region!==g.region&&(h+=b0(f,g,i)),h},{serializer:a=>`${a[0]}|${a[1]}`}),b2=new WeakMap;function b3(a){return Intl.getCanonicalLocales(a)[0]}let b4=new WeakMap;var b5=c(5281);function b6(a,b,c){let d,e=new b5({headers:{"accept-language":a.get("accept-language")||void 0}}).languages();try{var f;let a=b.slice().sort((a,b)=>b.length-a.length);f=function(a,b,c,d,e,f){let g,h;null==(g="lookup"===c.localeMatcher?function(a,b,c){let d={locale:""};for(let c of b){let b=c.replace(bY,""),e=function(a,b){let c=b4.get(a);c||(c=new Set(a),b4.set(a,c));let d=b;for(;;){if(c.has(d))return d;let a=d.lastIndexOf("-");if(!~a)return;a>=2&&"-"===d[a-2]&&(a-=2),d=d.slice(0,a)}}(a,b);if(e)return d.locale=e,c!==b&&(d.extension=c.slice(b.length,c.length)),d}return d.locale=c(),d}(Array.from(a),b,f):function(a,b,c){let d,e,f=[],g=b.reduce((a,b)=>{let c=b.replace(bY,"");return f.push(c),a[c]=b,a},{}),h=function(a,b,c=838){let d=1/0,e={matchedDesiredLocale:"",distances:{}},f=b2.get(b);f||(f=b.map(a=>{try{return Intl.getCanonicalLocales([a])[0]||a}catch{return a}}),b2.set(b,f));let g=new Set(f);for(let b=0;b<a.length;b++){let c=a[b];if(g.has(c)){let a=0+40*b;if(e.distances[c]={[c]:a},a<d&&(d=a,e.matchedDesiredLocale=c,e.matchedSupportedLocale=c),0===b)return e}}for(let b=0;b<a.length;b++){let c=a[b];try{let a=new Intl.Locale(c).maximize().toString();if(a!==c){let f=function(a){let b=[],c=a;for(;c;){b.push(c);let a=c.lastIndexOf("-");if(-1===a)break;c=c.substring(0,a)}return b}(a);for(let h=0;h<f.length;h++){let i=f[h];if(i!==c&&g.has(i)){let f;try{f=new Intl.Locale(i).maximize().toString()===a?0+40*b:10*h+40*b}catch{f=10*h+40*b}e.distances[c]||(e.distances[c]={}),e.distances[c][i]=f,f<d&&(d=f,e.matchedDesiredLocale=c,e.matchedSupportedLocale=i);break}}}}catch{}}return e.matchedSupportedLocale&&0===d||(d=1/0,a.forEach((a,c)=>{e.distances[a]||(e.distances[a]={}),f.forEach((f,g)=>{let h=b[g],i=b1(a,f)+0+40*c;e.distances[a][h]=i,i<d&&(d=i,e.matchedDesiredLocale=a,e.matchedSupportedLocale=h)})}),d>=c&&(e.matchedDesiredLocale=void 0,e.matchedSupportedLocale=void 0)),e}(f,a);return(h.matchedSupportedLocale&&h.matchedDesiredLocale&&(d=h.matchedSupportedLocale,e=g[h.matchedDesiredLocale].slice(h.matchedDesiredLocale.length)||void 0),d)?{locale:d,extension:e}:{locale:c()}}(Array.from(a),b,f))&&(g={locale:f(),extension:""});let i=g.locale,j=e[i],k={locale:"en",dataLocale:i};h=g.extension?function(a){let b;bZ(a===a.toLowerCase(),"Expected extension to be lowercase"),bZ("-u-"===a.slice(0,3),"Expected extension to be a Unicode locale extension");let c=[],d=[],e=a.length,f=3;for(;f<e;){let g,h=a.indexOf("-",f);g=-1===h?e-f:h-f;let i=a.slice(f,f+g);bZ(g>=2,"Expected a subtag to have at least 2 characters"),void 0===b&&2!=g?-1===c.indexOf(i)&&c.push(i):2===g?(b={key:i,value:""},void 0===d.find(a=>a.key===b?.key)&&d.push(b)):b?.value===""?b.value=i:(bZ(void 0!==b,"Expected keyword to be defined"),b.value+="-"+i),f+=g+1}return{attributes:c,keywords:d}}(g.extension).keywords:[];let l=[];for(let a of d){let b,d=j?.[a]??[];bZ(Array.isArray(d),`keyLocaleData for ${a} must be an array`);let e=d[0];bZ(void 0===e||"string"==typeof e,"value must be a string or undefined");let f=h.find(b=>b.key===a);if(f){let c=f.value;""!==c?d.indexOf(c)>-1&&(b={key:a,value:e=c}):d.indexOf("true")>-1&&(b={key:a,value:e="true"})}let g=c[a];bZ(null==g||"string"==typeof g,"optionsValue must be a string or undefined"),"string"==typeof g&&""===(g=function(a,b){let c=b.toLowerCase();return bZ(void 0!==a,"ukey must be defined"),c}(a.toLowerCase(),g))&&(g="true"),g!==e&&d.indexOf(g)>-1&&(e=g,b=void 0),b&&l.push(b),k[a]=e}return l.length>0&&(i=function(a,b,c){bZ(-1===a.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");let d="-u";for(let a of b)d+=`-${a}`;for(let a of c){let{key:b,value:c}=a;d+=`-${b}`,""!==c&&(d+=`-${c}`)}if("-u"===d)return b3(a);let e=a.indexOf("-x-");return b3(-1===e?a+d:a.slice(0,e)+d+a.slice(e))}(i,[],l)),k.locale=i,k}(a,Intl.getCanonicalLocales(e),{localeMatcher:"best fit"},[],{},()=>c).locale,d=b.find(a=>a.toLowerCase()===f.toLowerCase())}catch{}return d}function b7(a,b){if(a.localeCookie&&b.has(a.localeCookie.name)){let c=b.get(a.localeCookie.name)?.value;if(c&&a.locales.includes(c))return c}}function b8(a,b,c,d){let e;return d&&(e=bK(d,a.locales,a.localePrefix)?.locale),!e&&a.localeDetection&&(e=b7(a,c)),!e&&a.localeDetection&&(e=b6(b,a.locales,a.defaultLocale)),e||(e=a.defaultLocale),e}var b9=c(7074),ca=c(5232);let cb=c(2318).s;function cc(a,b,c){void 0===c&&(c=b9.Q.TemporaryRedirect);let d=Object.defineProperty(Error(ca.oJ),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=ca.oJ+";"+b+";"+a+";"+c+";",d}function cd(a,b){var c;throw null!=b||(b=(null==cb||null==(c=cb.getStore())?void 0:c.isAction)?ca.zB.push:ca.zB.replace),cc(a,b,b9.Q.TemporaryRedirect)}function ce(a,b){throw void 0===b&&(b=ca.zB.replace),cc(a,b,b9.Q.PermanentRedirect)}var cf=c(5922);let cg=""+cf.s8+";404";cf.s8,cf.s8,c(2955).X;var ch=c(7782),ci=c.t(ch,2)["use".trim()];let cj=(0,c(205).YR)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/node_modules/.pnpm/next-intl@4.13.0_next@15.5.9_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.1_59b1e7e26b60296b6c5b8adca4647323/node_modules/next-intl/dist/esm/production/navigation/shared/BaseLink.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/node_modules/.pnpm/next-intl@4.13.0_next@15.5.9_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.1_59b1e7e26b60296b6c5b8adca4647323/node_modules/next-intl/dist/esm/production/navigation/shared/BaseLink.js","default");function ck(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))Array.isArray(d)?d.forEach(a=>{b.append(c,String(a))}):b.set(c,String(d));return"?"+b.toString()}var cl=c(349),cm=function(a){return a.MISSING_MESSAGE="MISSING_MESSAGE",a.MISSING_FORMAT="MISSING_FORMAT",a.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",a.INSUFFICIENT_PATH="INSUFFICIENT_PATH",a.INVALID_MESSAGE="INVALID_MESSAGE",a.INVALID_KEY="INVALID_KEY",a.FORMATTING_ERROR="FORMATTING_ERROR",a}(cm||{});function cn(a,b){return bP((...b)=>new a(...b),{cache:{create:()=>({get:a=>b[a],set(a,c){b[a]=c}})},strategy:bV.variadic})}function co(a){return function(...a){return a.filter(Boolean).join(".")}(a.namespace,a.key)}function cp(a){console.error(a)}let cq={current:null},cr="function"==typeof ch.cache?ch.cache:a=>a,cs=console.warn;function ct(a){return function(...b){cs(a(...b))}}cr(a=>{try{cs(cq.current)}finally{cq.current=null}});new WeakMap;ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})});let cu=new WeakMap;function cv(a){let b=cu.get(a);if(b)return b;let c=Promise.resolve(a);return cu.set(a,c),Object.defineProperties(c,{append:{value:a.append.bind(a)},delete:{value:a.delete.bind(a)},get:{value:a.get.bind(a)},has:{value:a.has.bind(a)},set:{value:a.set.bind(a)},getSetCookie:{value:a.getSetCookie.bind(a)},forEach:{value:a.forEach.bind(a)},keys:{value:a.keys.bind(a)},values:{value:a.values.bind(a)},entries:{value:a.entries.bind(a)},[Symbol.iterator]:{value:a[Symbol.iterator].bind(a)}}),c}ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})}),c(3775),new WeakMap,ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})});let cw=(0,ch.cache)(function(){return{locale:void 0}}),cx=(0,ch.cache)(async function(){let a=function a(){let b="headers",c=$.J.getStore(),d=aL.FP.getStore();if(c){if(d&&"after"===d.phase&&!bh())throw Object.defineProperty(Error(`Route ${c.route} used "headers" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "headers" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E367",enumerable:!1,configurable:!0});if(c.forceStatic)return cv(Z.seal(new Headers({})));if(d)switch(d.type){case"cache":{let b=Object.defineProperty(Error(`Route ${c.route} used "headers" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E304",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,a),c.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${c.route} used "headers" inside "use cache: private". Accessing "headers" inside a private cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E742",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,a),c.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${c.route} used "headers" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E127",enumerable:!1,configurable:!0})}if(c.dynamicShouldError)throw Object.defineProperty(new bf.f(`Route ${c.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E525",enumerable:!1,configurable:!0});if(d)switch(d.type){case"prerender":case"prerender-runtime":var e=c,f=d;let g=cu.get(f);if(g)return g;let h=(0,bg.W5)(f.renderSignal,e.route,"`headers()`");return cu.set(f,h),h;case"prerender-client":let i="`headers`";throw Object.defineProperty(new aO.z(`${i} must not be used within a client component. Next.js should be preventing ${i} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,be.Ui)(c.route,b,d.dynamicTracking);case"prerender-legacy":return(0,be.xI)(b,c,d);case"request":return(0,be.Pk)(d),cv(d.headers)}}(0,aL.M1)(b)}();return bG(a)?await a:a}),cy=(0,ch.cache)(async function(){let a;try{a=(await cx()).get(bu)||void 0}catch(a){if(a instanceof Error&&"DYNAMIC_SERVER_USAGE"===a.digest){let b=Error("Usage of next-intl APIs in Server Components currently opts into dynamic rendering. This limitation will eventually be lifted, but as a stopgap solution, you can use the `setRequestLocale` API to enable static rendering, see https://next-intl.dev/docs/routing/setup#static-rendering",{cause:a});throw b.digest=a.digest,b}throw a}return a});async function cz(){return cw().locale||await cy()}var cA=["title"],cB=["title"],cC=["title"],cD=["title"],cE=["title"],cF=["title"],cG=["title"],cH=["title"],cI=["title"],cJ=["title"],cK=["title"],cL=["title"],cM=["title"],cN=["title"],cO=["title"],cP=["title"],cQ=["title"];function cR(){return(cR=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(this,arguments)}function cS(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],!(b.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}var cT=function(a){var b=a.title,c=cS(a,cA);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},cU=function(a){var b=a.title,c=cS(a,cB);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),ch.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},cV=function(a){var b=a.title,c=cS(a,cC);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},cW=function(a){var b=a.title,c=cS(a,cD);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),ch.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),ch.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),ch.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),ch.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),ch.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},cX=function(a){var b=a.title,c=cS(a,cE);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),ch.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},cY=function(a){var b=a.title,c=cS(a,cF);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},cZ=function(a){var b=a.title,c=cS(a,cG);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),ch.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),ch.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},c$=function(a){var b=a.title,c=cS(a,cH);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),ch.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},c_=function(a){var b=a.title,c=cS(a,cI);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M84.6 107.8 132 36.6m-29.7 83 47.4-71.1m-29.6 83 47.4-71.1m177.9 221.3 47.4-71.1m-29.6 82.9 47.4-71.1m-29.6 83 47.4-71.1M132 305.4l-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3-47.4-71.1m272.6-79.1-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3L381 36.6",stroke:"#000",strokeWidth:14.25}),ch.createElement("path",{d:"m357.3 238.2 59.3 39.5m-299.4-13.8L135 252m222.3-148.2L378 90m17.8-11.9 17.8-11.9",stroke:"#FFF",strokeWidth:12.5}),ch.createElement("circle",{fill:"#CA163A",cx:256.5,cy:171,r:85.5}),ch.createElement("path",{fill:"#0E4896",d:"M185.3 123.6c-13.1 19.6-7.8 46.2 11.9 59.3s46.2 7.8 59.3-11.9 39.6-24.9 59.3-11.9c19.6 13.1 24.9 39.6 11.9 59.3-26.2 39.3-79.3 49.9-118.6 23.7s-49.9-79.3-23.8-118.5z"}))},c0=function(a){var b=a.title,c=cS(a,cJ);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),ch.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),ch.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},c1=function(a){var b=a.title,c=cS(a,cK);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#dc143c",d:"M0 171h513v171H0z"}))},c2=function(a){var b=a.title,c=cS(a,cL);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#0039a6",d:"M0 114h513v114H0z"}),ch.createElement("path",{fill:"#d52b1e",d:"M0 228h513v114H0z"}))},c3=function(a){var b=a.title,c=cS(a,cM);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),ch.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},c4=function(a){var b=a.title,c=cS(a,cN);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},c5=function(a){var b=a.title,c=cS(a,cO);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),ch.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),ch.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),ch.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),ch.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},c6=function(a){var b=a.title,c=cS(a,cP);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),ch.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},c7=function(a){var b=a.title,c=cS(a,cQ);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),ch.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),ch.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))};function c8(){return{en:{name:"English",file:"en_US",icon:c7},de:{name:"Deutsch",file:"de_DE",icon:cV},fr:{name:"Fran\xe7ais",file:"fr_FR",icon:cX},es:{name:"Espa\xf1ol",file:"es_ES",crowdin:"es-ES",icon:cW},it:{name:"Italiano",file:"it_IT",icon:cZ},cs:{name:"Čeština",file:"cs_CZ",icon:cU},hu:{name:"Magyar",file:"hu_HU",icon:cY},pl:{name:"Polski",file:"pl_PL",icon:c1},ms:{name:"Bahasa Melayu",file:"ms_MY",icon:c0},"ms-Arab":{name:"بهاس ملايو",file:"ms_Arab",prefix:"ms_Ar",icon:c0,rtl:!0},tr:{name:"T\xfcrk\xe7e",file:"tr_TR",icon:c4},sv:{name:"Svenska",file:"sv_SE",crowdin:"sv-SE",icon:c3},uk:{name:"Українська",file:"uk_UA",icon:c6},ru:{name:"Русский",file:"ru_RU",icon:c2},ja:{name:"日本語",file:"ja_JP",icon:c$},ko:{name:"한국어",file:"ko_KR",icon:c_},"zh-CN":{name:"简体中文",file:"zh_CN",prefix:"zh_cn",icon:cT},"zh-TW":{name:"繁體中文",file:"zh_TW",prefix:"zh_tw",icon:c5}}}let c9={getNextIntlLocales:function(){return Object.keys(c8())},getPathPrefixes:function(){return Object.entries(c8()).filter(a=>void 0!==a[1].prefix).reduce((a,b)=>({...a,[b[0]]:"/"+b[1].prefix}),{})},getForUrlParam:function(a){return Object.entries(c8()).find(b=>b[0]===a||b[1].prefix===a)?.[1]}};var da=c(2587),db=c.n(da);let dc=async({requestLocale:a})=>{let b=await a??"en",d=c9.getForUrlParam(b);d||(console.error("Locale not found:",b),function(){let a=Object.defineProperty(Error(cg),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=cg,a}());let e=(await c(8994)(`./${d.file}.json`)).default,f=(await Promise.resolve().then(c.t.bind(c,9286,19))).default;return{locale:b,messages:db()(f,e)}},dd=(0,ch.cache)(function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}),de=(0,ch.cache)(async function(a,b){let c=a({locale:b,get requestLocale(){return b?Promise.resolve(b):cz()}});if(bG(c)&&(c=await c),!c.locale)throw Error("No locale was returned from `getRequestConfig`.\n\nSee https://next-intl.dev/docs/usage/configuration#i18n-request");return c}),df=(0,ch.cache)(function(a){return{getDateTimeFormat:cn(Intl.DateTimeFormat,a.dateTime),getNumberFormat:cn(Intl.NumberFormat,a.number),getPluralRules:cn(Intl.PluralRules,a.pluralRules),getRelativeTimeFormat:cn(Intl.RelativeTimeFormat,a.relativeTime),getListFormat:cn(Intl.ListFormat,a.list),getDisplayNames:cn(Intl.DisplayNames,a.displayNames)}}),dg=(0,ch.cache)(function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}),dh=(0,ch.cache)(async function(a){let b=await de(dc,a);return{...function({formats:a,getMessageFallback:b,messages:c,onError:d,...e}){return{...e,formats:a||void 0,messages:c||void 0,onError:d||cp,getMessageFallback:b||co}}(b),_formatters:df(dg()),timeZone:b.timeZone||dd()}});async function di(){return(await dh()).locale}let dj={locales:c9.getNextIntlLocales(),defaultLocale:"en",localePrefix:{mode:"always",prefixes:c9.getPathPrefixes()}},{Link:dk,redirect:dl,usePathname:dm,useRouter:dn}=function(a){let{config:b,...c}=function(a,b){let c=bt(b||{}),d=c.pathnames,e=(0,ch.forwardRef)(function({href:b,locale:e,...g},h){let i,j;"object"==typeof b?(i=b.pathname,j=b.params):i=b;let k=bv(b),l=a(),m=bG(l)?ci(l):l,n=k?f({locale:e||m,href:null==d?i:{pathname:i,params:j},forcePrefix:null!=e||void 0}):i;return(0,cl.jsx)(cj,{ref:h,href:"object"==typeof b?{...b,pathname:n}:n,locale:e,localeCookie:c.localeCookie,...g})});function f(a){let b,{forcePrefix:e,href:f,locale:g}=a;return null==d?"object"==typeof f?(b=f.pathname,f.query&&(b+=ck(f.query))):b=f:b=function({pathname:a,locale:b,params:c,pathnames:d,query:e}){function f(a){let f,g=d[a];return g?(f=bx(g,b,a),c&&Object.entries(c).forEach(([a,b])=>{let c,d;Array.isArray(b)?(c=`(\\[)?\\[...${a}\\](\\])?`,d=b.map(a=>String(a)).join("/")):(c=`\\[${a}\\]`,d=String(b)),f=f.replace(RegExp(c,"g"),d)}),f=new URL(f=f.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):f=a,f=by(f),e&&(f+=ck(e)),f}if("string"==typeof a)return f(a);{let{pathname:b,...c}=a;return{...c,pathname:f(b)}}}({locale:g,..."string"==typeof f?{pathname:f}:f,pathnames:c.pathnames}),function(a,b,c,d){let e,{mode:f}=c.localePrefix;if(void 0!==d)e=d;else if(bv(a)){let a=c.domains?.find(a=>a.locales.includes(b)),d=a?.localePrefix||f;"always"===d?e=!0:"as-needed"===d&&(e=a?b!==a.defaultLocale:b!==c.defaultLocale)}return e?bw(bA(b,c.localePrefix),a):a}(b,g,c,e)}function g(a){return function(b,...c){return a(f(b),...c)}}return{config:c,Link:e,redirect:g(cd),permanentRedirect:g(ce),getPathname:f}}(di,a);function d(a){return()=>{throw Error(`\`${a}\` is not supported in Server Components. You can use this hook if you convert the calling component to a Client Component.`)}}return{...c,usePathname:d("usePathname"),useRouter:d("useRouter")}}(dj),dp={getSessionCookieName:function(){return process.env.SESSION_COOKIE_NAME??""}},dq={isAuthenticated:function(a){return a.has(dp.getSessionCookieName())}};function dr(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)"__proto__"!==d&&(a[d]=c[d])}return a}!function a(b,c){function d(a,d,e){if("undefined"!=typeof document){"number"==typeof(e=dr({},c,e)).expires&&(e.expires=new Date(Date.now()+864e5*e.expires)),e.expires&&(e.expires=e.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var f="";for(var g in e)e[g]&&(f+="; "+g,!0!==e[g]&&(f+="="+e[g].split(";")[0]));return document.cookie=a+"="+b.write(d,a)+f}}return Object.create({set:d,get:function(a){if("undefined"!=typeof document&&(!arguments.length||a)){for(var c=document.cookie?document.cookie.split("; "):[],d={},e=0;e<c.length;e++){var f=c[e].split("="),g=f.slice(1).join("=");try{var h=decodeURIComponent(f[0]);if(h in d||(d[h]=b.read(g,h)),a===h)break}catch(a){}}return a?d[a]:d}},remove:function(a,b){d(a,"",dr({},b,{expires:-1}))},withAttributes:function(b){return a(this.converter,dr({},this.attributes,b))},withConverter:function(b){return a(dr({},this.converter,b),this.attributes)}},{attributes:{value:Object.freeze(c)},converter:{value:Object.freeze(b)}})}({read:function(a){return'"'===a[0]&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let ds=function(a){let b=bt(a);return function(a){var c,d;let e;try{e=decodeURI(a.nextUrl.pathname)}catch{return T.next()}let f=e.replace(/\\/g,"%5C").replace(/[\t\n\r]/g,"").replace(/\/+/g,"/"),{domain:g,locale:h}=(c=a.headers,d=a.cookies,b.domains?function(a,b,c,d){let e,f=function(a,b){let c=bM(a);if(c)return b.find(a=>a.domain===c)}(b,a.domains);if(!f)return{locale:b8(a,b,c,d)};if(d){let b=bK(d,a.locales,a.localePrefix,f)?.locale;if(b){if(!bN(b,f))return{locale:b,domain:f};e=b}}if(!e&&a.localeDetection){let b=b7(a,c);b&&bN(b,f)&&(e=b)}if(!e&&a.localeDetection){let a=b6(b,f.locales,f.defaultLocale);a&&(e=a)}return e||(e=f.defaultLocale),{locale:e,domain:f}}(b,c,d,f):{locale:b8(b,c,d,f)}),i=g?g.defaultLocale===h:h===b.defaultLocale,j=b.domains?.filter(a=>bN(h,a))||[],k=null!=b.domains&&!g;function l(b){var c;let d=new URL(b,a.url);a.nextUrl.basePath&&(c=d.pathname,d.pathname=by(a.nextUrl.basePath+c));let e=new Headers(a.headers);return e.set(bu,h),by(a.nextUrl.pathname)!==by(d.pathname)?T.rewrite(d,{request:{headers:e}}):T.next({request:{headers:e}})}function m(c,d){var e;let f=new URL(c,a.url);if(f.pathname=by(f.pathname),j.length>0&&!d&&g){let a=bO(g,h,j);if(a){d=a.domain;let c=a.localePrefix||b.localePrefix.mode;a.defaultLocale===h&&"as-needed"===c&&(f.pathname=bI(f.pathname,b.locales,b.localePrefix))}}return d&&(f.host=d,a.headers.get("x-forwarded-host"))&&(f.protocol=a.headers.get("x-forwarded-proto")??a.nextUrl.protocol,f.port=d.split(":")[1]??a.headers.get("x-forwarded-port")??""),a.nextUrl.basePath&&(e=f.pathname,f.pathname=by(a.nextUrl.basePath+e)),u=!0,T.redirect(f.toString())}let n=bI(f,b.locales,b.localePrefix),o=bK(f,b.locales,b.localePrefix,g),p=null!=o,q=g?.localePrefix||b.localePrefix.mode,r="never"===q||i&&"as-needed"===q,s,t,u,v=n,w=b.pathnames;if(w){let c;if([c,t]=function(a,b,c){for(let d of Object.keys(a).sort(bF)){let e=a[d];if("string"==typeof e){if(bz(e,b))return[void 0,d]}else{let f=Object.entries(e),g=f.findIndex(([a])=>a===c);for(let[c]of(g>0&&f.unshift(f.splice(g,1)[0]),f))if(bz(bx(a[d],c,d),b))return[c,d]}}for(let c of Object.keys(a))if(bz(c,b))return[void 0,c];return[void 0,void 0]}(w,n,h),t){let d=w[t],e=bx(d,h,t);if(bz(e,n))v=bH(n,e,t);else{let f;f=c?bx(d,c,t):t;let g=r?void 0:bA(h,b.localePrefix);s=m(bL(bH(n,f,e),g,a.nextUrl.search))}}}if(!s)if("/"!==v||p){let c=bL(v,`/${h}`,a.nextUrl.search);if(p){let d=bL(n,o.prefix,a.nextUrl.search);if("never"===q)s=m(bL(n,void 0,a.nextUrl.search));else if(o.exact)if(i&&r)s=m(bL(n,void 0,a.nextUrl.search));else if(b.domains){let a=bO(g,o.locale,j);s=g?.domain===a?.domain||k?l(c):m(d,a?.domain)}else s=l(c);else s=m(d)}else s=r?l(c):m(bL(n,bA(h,b.localePrefix),a.nextUrl.search))}else s=r?l(bL(v,`/${h}`,a.nextUrl.search)):m(bL(n,bA(h,b.localePrefix),a.nextUrl.search));return function(a,b,c,d,e){if(!d.localeCookie)return;let{name:f,...g}=d.localeCookie,h=a.cookies.has(f);h&&a.cookies.get(f)?.value!==c?b.cookies.set(f,c,{path:a.nextUrl.basePath||void 0,...g}):h||b6(a.headers,e?.locales||d.locales,d.defaultLocale)===c||b.cookies.set(f,c,{path:a.nextUrl.basePath||void 0,...g})}(a,s,h,b,g),!u&&"never"!==q&&b.alternateLinks&&b.locales.length>1&&s.headers.set("Link",function({internalTemplateName:a,localizedPathnames:b,request:c,resolvedLocale:d,routing:e}){let f=c.nextUrl.clone(),g=bM(c.headers);function h(a,b){var d;return a.pathname=by(a.pathname),c.nextUrl.basePath&&((a=new URL(a)).pathname=(d=a.pathname,by(c.nextUrl.basePath+d))),`<${a.toString()}>; rel="alternate"; hreflang="${b}"`}function i(c,e){return b&&"object"==typeof b?bH(c,b[d]??a,b[e]??a):c}g&&(f.port="",f.host=g),f.protocol=c.headers.get("x-forwarded-proto")??f.protocol,f.pathname=bI(f.pathname,e.locales,e.localePrefix);let j=bJ(e.locales,e.localePrefix,!1).flatMap(([a,c])=>{let d;function g(a){return"/"===a?c:c+a}if(e.domains)return e.domains.filter(b=>bN(a,b)).map(b=>{(d=new URL(f)).port="",d.host=b.domain,d.pathname=i(f.pathname,a);let c=b.localePrefix||e.localePrefix.mode;return a===b.defaultLocale&&"always"!==c||(d.pathname=g(d.pathname)),h(d,a)});{let c;c=b&&"object"==typeof b?i(f.pathname,a):f.pathname,a===e.defaultLocale&&"always"!==e.localePrefix.mode||(c=g(c)),d=new URL(c,f)}return h(d,a)});if(!e.domains||0===e.domains.length){let a=i(f.pathname,e.defaultLocale);if(a){let b=new URL(a,f);j.push(h(b,"x-default"))}}return j.join(", ")}({routing:b,internalTemplateName:t,localizedPathnames:null!=t&&w?w[t]:void 0,request:a,resolvedLocale:h})),s}}(dj),dt={matcher:["/((?:admin|dev|report).*|(?!api|blog|_vercel/insights|_vercel/speed-insights|_next/static|_next/image|static/.+|opengraph-image|favicon.ico|robots.txt|sitemap.xml|.*\\.png$)(?:(?=.*:)|(?!(?:en|de|fr|es|it|cs|hu|pl|ms|ms_Ar|tr|sv|uk|ru|ja|ko|zh_cn|zh_tw)(?:(?!/admin|/dev|/report)|$))).*)"]};async function du(a,b){let c=a.nextUrl.pathname.match(/^\/([^/]+)\/project\/([^/]+)\/([^/]+)\/content\/([^/]*:[^/]*)$/);if(c){let[,b,d,e,f]=c,g=f.replace(/.*:/,""),h=`/${b}/project/${d}/${e}/content/${g}`;return T.redirect(new URL(h,a.url))}if(a.nextUrl.pathname.match(/^(\/[^/]+)?\/(?:dev|admin|report)/)){let b=ds(a);return 200!==b.status||dq.isAuthenticated(a.cookies)?b:T.redirect(new URL("/auth/login",a.url))}let d=ds(a),e=a.headers.get("x-vercel-ip-country");return e&&d.cookies.set("wiki-user-country",e,{path:"/"}),d}c(4552);let dv={...g},dw=dv.middleware||dv.default,dx="/src/middleware";if("function"!=typeof dw)throw Object.defineProperty(Error(`The Middleware "${dx}" must export a \`middleware\` or a \`default\` function`),"__NEXT_ERROR_CODE",{value:"E120",enumerable:!1,configurable:!0});function dy(a){return bd({...a,page:dx,handler:async(...a)=>{try{return await dw(...a)}catch(e){let b=a[0],c=new URL(b.url),d=c.pathname+c.search;throw await k(e,{path:d,method:b.method,headers:Object.fromEntries(b.headers.entries())},{routerKind:"Pages Router",routePath:"/middleware",routeType:"middleware",revalidateReason:void 0}),e}}})}},9286:a=>{"use strict";a.exports=JSON.parse('{"Badges":{"local":"Local","latest":"Latest","admin":"Admin"},"NavigationHeader":{"title":"Modded Minecraft Wiki","title_short":"Wiki","badge":{"preview":"PREVIEW MODE","beta":"Beta"},"link":{"home":"Home","browse":"Browse","about":"About"}},"NavigationFooter":{"title":"Modded Minecraft Wiki","links":{"navigation":{"title":"Navigation","home":"Homepage","browse":"Browse","dev":"Developers"},"links":{"title":"Links"},"resources":{"title":"Resources","blog":"Blog","status":"Status","translate":"Help us translate"},"about":{"title":"About","tos":"Terms of Service","privacy":"Privacy Policy","contact":"Contact"}}},"HomePage":{"title":"Welcome to the <highlight>Modded Minecraft Wiki</highlight>","subtitle":"Your go-to resource for discovering, creating, and contributing to Minecraft-related projects.","popular":{"title":"Popular Wikis","open":"Read more","disclaimer":"These projects are highlighted based on their popularity through view statistics and are not officially endorsed by Modded Minecraft Wiki."},"community":{"title":"Join Our Community","users":{"title":"Users","subtitle":"Explore our featured projects and enjoy these benefits:","docs":"Access high-quality, up-to-date and versioned documentation","contribute":"Contribute to projects without programming knowledge","ui":"Enjoy a consistent, user-friendly interface across all projects","localization":"Benefit from multi-language support"},"authors":{"title":"Authors","subtitle":"Get access to the Project Dashboard and enjoy these benefits:","vcs":"Versioning support for your documentation","components":"Built-in components for recipes, assets, etc.","gradle":"Gradle integration for seamless workflow","management":"Advanced project management tools","interaction":"Direct interaction with your user base","dashboard":"Open Dashboard","guide":"Read More"}},"browse":"Browse Projects","highlights":{"localization":{"title":"Localization","desc":"Translate your docs into world languages"},"accessibility":{"title":"Accessible","desc":"Intuitive and responsive user interface"},"open":{"title":"Open","desc":"Let your users contribute without any programming knowledge necessary"},"free":{"title":"Free","desc":"Hosting docs on our website is completely free of charge!"}},"about":{"title":"About Us","maintainers":"The Wiki is built and maintained by <b>Sinytra</b>, a dedicated team of passionate developers focused on delivering high-quality, Free and Open Source software for the Minecraft modding community.","mission":"Our goal is to empower modders and players alike by providing the tools and resources necessary to create, document, and explore the endless possibilities of modded Minecraft."},"blog":{"title":"Blog Posts","open":"Read More"}},"BrowsePage":{"sidebar":{"title":"Browse projects","search_filters":"Search filters...","categories":"Categories"},"sorting":"Sort by","sort":{"relevance":"Relevance","creation_date":"Creation date","popularity":"Popularity","az":"A-Z","za":"Z-A"},"search":"Search projects...","clear_filter":"Clear filters","no_results":"Search query returned no results!"},"SearchProjectTypes":{"mod":"Mods","modpack":"Modpacks","resourcepack":"Resource packs","datapack":"Data packs","shader":"Shaders","plugin":"Plugins"},"ProjectTypes":{"mod":"Mod","modpack":"Modpack","resourcepack":"Resource pack","datapack":"Data pack","shader":"Shader","plugin":"Plugin","unknown":"Unknown"},"LoadingContent":{"message":"Loading..."},"MetaDocsNavigation":{"title":"Navigation","about":"About","devs":"Author guide","components":"Components","help":"Get help","tos":"Terms of Use","privacy":"Privacy Policy","security":"Security Notice"},"Login":{"title":"Login required","desc":"The page you are trying to access requires you to log in.","prompt":"Please use your GitHub account to continue.","button":"Log in with GitHub"},"Preview":{"title":"Preview mode is enabled","desc":"Preview mode enables a minimal user interface, allowing you to focus on drafting your docs locally before they are published.","roots":"Available local documentation roots","open":"Open"},"DocsProjectInfo":{"title":"Project information","type":"Type","author":"Author","tags":"Tags","latest":{"title":"Latest version","unknown":"N/A"},"license":{"title":"License","custom":"Custom license","unknown":"Unknown","arr":"All Rights Reserved"}},"ProjectCategories":{"adventure":"Adventure","cursed":"Cursed","decoration":"Decoration","economy":"Economy","equipment":"Equipment","food":"Food","game-mechanics":"Game Mechanics","library":"Library","magic":"Magic","management":"Management","minigame":"Minigame","mobs":"Mobs","optimization":"Optimization","social":"Social","storage":"Storage","technology":"Technology","transportation":"Transporation","utility":"Utility","worldgen":"Worldgen","server-utility":"Server Utility","armor-weapons-tools":"Armor, Tools, and Weapons","library-api":"API and Library","adventure-rpg":"Adventure and RPG","world-gen":"World Gen","cosmetic":"Cosmetic","mc-food":"Food","performance":"Performance","map-information":"Map and Information","bug-fixes":"Bug Fixes","mc-addons":"Addons","education":"Education","mc-miscellaneous":"Miscellaneous","redstone":"Redstone","utility-qol":"Utility & QoL","mc-creator":"MCreator"},"PageEditControls":{"edit_gh":"Edit this page","report":"Report this page","report_button":"Report page","last_updated":"Last updated: <date></date>"},"Report":{"title":"Report a documentation page","desc":"Report content that violates our <tos>Terms of Service</tos> or <cr>Content Rules</cr>.","contact":"For auditing purposes, your <b>username</b> will be included in the report.","confidential":"Your privacy is important to us, and this information will always be kept confidential.","privacy":"For more information, please refer to our <link>Privacy Policy</link>.","form":{"id":{"title":"Project ID","desc":"Reported project ID."},"path":{"title":"Page path","desc":"Reported documentation page path."},"locale":{"title":"Locale","desc":"Applied if the content lies within a localized subpath.","placeholder":"N/A"},"version":{"title":"Version","desc":"Applied if the content lies within a named version.","placeholder":"N/A"},"reason":{"title":"Reason*","placeholder":"Select a reason for reporting this content","desc":"Reason for reporting this content.","dislike":"I just don\'t like it"},"details":{"title":"Details*","placeholder":"Please provide more details on why you\'re reporting this content. Note that empty reports will be ignored.","desc":"Additional details about the issue."},"dislike":{"title":"We understand that you may not like this content, and that\'s totally okay!","desc":"Unfortunately, however, it is not a valid reason to report a project.","suggestion":"Would you like to look for something else to explore instead?","explore":"Explore projects"},"submit":"Submit","success":"Report submitted successfully"}},"ProjectReportReason":{"spam":"Spam","copyright":"Copyright Infringement","content_rules":"Violates Content Rules","tos":"Violates Terms of Service","unknown":"Unknown"},"ProjectReportStatus":{"new":"New","dismissed":"Dismissed","accepted":"Accepted","unknown":"Unknown"},"ProjectReportType":{"project":"Project","docs":"Docs page","content":"Content page","unknown":"Unknown"},"ViewReportPage":{"reports":"Reports","title":"Report details","desc":"Viewing report details for {id}","details":{"reporter":"Reported by","project_id":"Project ID","path":"Path","body":"Body","reason":"Reason","created_at":"Created at","status":"Status","type":"Type","locale":"Locale","version":"Version"},"actions":{"dismiss":"Dismiss","accept":"Accept"},"toast":{"accept":"Report accepted","dismiss":"Report dismissed"}},"Callout":{"default":"Heads up!","info":"Info","warning":"Warning","danger":"Danger"},"ProjectRegisterForm":{"button":"New Project","title":"Register project","desc":"Register a new project to the wiki.","repo":{"title":"Repository URL","desc":"This is the address you use to clone your repository.","placeholder":"https://github.com/ExampleUser/ExampleMod"},"branch":{"title":"Branch","desc":"Primary branch ref. You can specify additional branches to include in your metadata file."},"path":{"title":"Path to documentation root","desc":"Path to the folder containing the metadata file."},"admin":"Wiki admin settings","is_community":{"title":"Community-maintained project"},"errors":{"details":"Show details"},"connect_modrinth":{"desc":"Connect your <b>Modrinth account</b> in Settings to easily verify platform project ownership at any time.","settings":"Open Settings"},"submit":"Submit","success":{"title":"Project registered successfully","desc":"You can now navigate to the project\'s docs page"},"submitting":"Submitting...","verify_modrinth":"Verify using Modrinth","submission":{"clone":"Cloning repository and verifying metadata.","note":"This may take a while for larger repositories. Please stand by."}},"ProjectDeleteForm":{"trigger":"Delete project","title":"Are you absolutely sure?","desc":"This action cannot be undone. This will permanently delete your project and remove all associated data from our servers.","cancel":"Cancel","submit":"Delete","success":"Project deleted successfully"},"FormActions":{"errors":{"unauthorized":"User authentication error","internal":"Internal Server Error, please try again later.","unknown":"An unknown error has occurred, please try again later.","no_platforms":"No platform projects defined in metadata.","no_project":"Platform project not found. Please make sure the metadata \\"platforms\\" field is correct.","unsupported_type":"Unsupported project type","ownership":"Failed to verify project ownership","cf_unavailable":"Registering CurseForge projects is not active","requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"Metadata file is invalid","unsupported":"Not yet implemented","exists":"Project already exists.","not_found":"Project does not exist","illegal_id":"Illegal project ID","not_owner":"User is not authorized to register this project","repo_too_large":"Repository exceeds maximum allowed size of 500MB","insufficient_permissions":"You don\'t have permission to perform this action","user_not_found":"User not found","duplicate_member":"Project member already exists","single_owner":"Cannot remove the only owner"},"get_help":"Find out more about this error in our <link>documentation</link>."},"CommunityBadge":{"title":"Community","desc":"Unofficial documentation maintained by the community"},"DocsPageNotFoundError":{"title":"We lost this page","desc":"The requested documentation page is not available at the moment.","suggestion":"Please try again later or report this issue to the project author.","submit":"Submit issue","return":"Return Home"},"GetStartedButton":{"title":"Create your first project"},"ProjectHomepage":{"overview":{"intro":"<project></project> is a {type} created by <authors></authors>.","availability":"Available for <versions></versions>. Latest version built for <latest></latest>. First released for <first></first>.","tags":"Tagged:"},"description":{"title":"Description","placeholder":"Description not available"},"navigation":{"title":"Navigation","docs":{"title":"Browse documentation","desc":"{pages} pages available."},"content":{"title":"Browse content","desc":"{items} in-game items."}},"links":{"title":"Links","website":"Website","source_code":"Source code"},"license":{"title":"Licenses","project":"Project License","arr":"All Rights Reserved","unknown":"Unknown","wiki":"Wiki License","default":"Wiki content <link>partially made available</link> under the <license></license> license."}},"ProjectDocsHomepage":{"title":"Home"},"DocsHomepagePlaceholder":{"title":"Homepage placeholder","subtitle":"Due to API restrictions, project metadata is not available for CurseForge projects in local environments.","replace":"Don\'t worry! We\'ll replace this placeholder with the project\'s actual description once deployed on the live wiki website."},"DocsSearchBar":{"placeholder":"Search wiki contents...","no_results":"No results found!","loading":"Finding the perfect results...","results":"Showing <highlight>{count}</highlight> of <highlight>{total}</highlight> results","close":"<kbd>ESC</kbd> to close","switch":"<kbd>Tab</kbd> to change scope","scope":{"local":"Local","global":"Global"}},"SearchResultType":{"project":"Project","documentation":"Docs","content":"Content"},"DocsChangelogPage":{"title":"Changelog"},"DocsLeftSidebar":{"title":"Documentation","homepage":"Home"},"DocsContentRightSidebar":{"title":"Entry information"},"DocsNonContentRightSidebar":{"title":"On this page"},"DocsVersionSelector":{"placeholder":"Select version","latest":"Latest"},"ModVersionRange":{"desc":"+{count} more"},"LanguageSelect":{"placeholder":"Search languages...","no_results":"No language found."},"ProjectStatus":{"unknown":"Unknown","loading":"Initializing","healthy":"Loaded","at_risk":"Requires attention","error":"Errored","inactive":"Inactive"},"ProjectVisibility":{"public":"Public","unlisted":"Unlisted","private":"Private","unknown":"Unknown"},"DevProjectsListPage":{"project":{"manage":"Manage"},"empty":{"primary":"Looks like you haven\'t created any projects yet","secondary":"Get started by reading our <guide>author guide</guide>."}},"DevProjectPage":{"breadcrumbs":{"home":"Home"},"toolbar":{"view":"Visit project page","deployments":"Deployments"},"overview":{"title":"Project overview","desc":"Project information summary"},"source":{"title":"Project Source","repo":"Repository","branch":"Branch","path":"Path","public":"Public"},"platforms":{"title":"Platforms","desc":"Project hosting platforms","headers":{"platform":"Platform","slug":"Slug / ID","link":"Link"},"open":"Open"},"information":{"title":"Information","desc":"Resolved information","type":"Type","status":"Status","created_at":"Created at"},"revision":{"title":"Current git revision","reloading":"Reloading project, please stand by...","not_found":"No revision found. Try reloading the project."}},"DevProjectSettingsPage":{"title":"Project settings","desc":"Configure project properties","form":{"visibility":{"title":"Project Visibility","public_desc":"Public projects are visible in search.","unlisted_desc":"Unlisted projects are published, but not visible in search.","private_desc":"Private projects are only accessible by members of the project.","placeholder":"Select visibility"}},"toast":{"success":"Project settings updated successfully"},"save":"Save"},"DevProjectSourceSettingsPage":{"title":"Project settings - Source","desc":"Configure project source repository","save":"Save"},"DevProjectVersionsPage":{"title":"Project versions","desc":"Browse project content versions"},"DevProjectHealthPage":{"title":"Project health","desc":"Monitor project status and issues","errors":{"title":"Project issue report","desc":"Ongoing warnings & errors","empty":"No issues found"}},"ProjectMemberRole":{"owner":"Owner","member":"Member","unknown":"Unknown"},"DevProjectMembersPage":{"title":"Project members","desc":"Manage project members & permissions","actions":{"remove":"Remove","leave":"Leave project"}},"DevProjectContentItemsPage":{"title":"Project items","desc":"Browse project items"},"DevProjectContentRecipesPage":{"title":"Project recipes","desc":"Browse project crafting recipes"},"DevProjectContentTagsPage":{"title":"Project tags","desc":"Browse project tags"},"DevProjectLogs":{"title":"Deployment log","show":"Show","unloaded":"Not loaded","waiting":"Waiting for server...","loading":"Loading...","error":"Error loading logs","toast":{"success":"Project setup complete","error":"Error during project setup"}},"DeveloperSidebar":{"teams":{"personal":"Personal"},"groups":{"projects":"Projects","platform":"Platform","admin":"Administration"},"nav":{"projects":"Projects","documentation":"Documentation","settings":"Settings","admin":"System settings"}},"DevSidebarContextSwitcher":{"title":"Teams"},"DevSidebarUser":{"logout":{"button":"Log out","title":"Logout","desc":"Logging out..."},"unknown_avatar":"N/A"},"UserSettings":{"breadcrumbs":{"home":"Home","settings":"Settings"},"profile":{"bio":"Modded Minecraft Wiki creator","join_date":"Joined {date}","admin":"Admin"},"connections":{"title":"Connections","modrinth":{"title":"Modrinth account","desc":"Used to verify project ownership","connect":"Connect","view":"View","disconnect":"Disconnect"}},"account":{"title":"Account","delete":{"title":"Delete account","desc":"Forever delete all account data","button":"Delete account"},"delete_modal":{"title":"Delete account","desc":"Are you sure you want to delete this account? This is a destructive action that cannot be undone.","cancel":"Cancel","button":"Delete forever"}},"toast":{"unlink":{"success":"Account unlinked successfully","error":"Error unlinking account"}}},"AuthFailure":{"title":"Authentication failure","desc":"An unexpected error has occured while trying to log in. Please try again later.","status":"Check status","return":"Return home","report":"Report Bug"},"BuiltinRecipeTypes":{"blasting":"Blasting","campfire_cooking":"Campfire cooking","crafting_shaped":"Shaped Crafting","crafting_shapeless":"Shapeless Crafting","smelting":"Smelting","smithing_transform":"Smithing","smoking":"Smoking","stonecutting":"Stonecutting"},"DocsEntryTabs":{"history":"Show history","home":"Show content"},"DevProjectSidebar":{"groups":{"project":"Project","content":"Content"},"nav":{"home":"Overview","settings":"Settings","members":"Members","deployments":"Deployments","health":"Health","versions":"Versions","content":"Items","tags":"Tags","recipes":"Recipes"},"settings":{"group":"Settings","general":"General","source":"Source"}},"PrefabObtaining":{"recipe":"Recipe"},"PrefabUsage":{"usage":"Usage"},"AdminSidebar":{"groups":{"home":"Home","data":"Data","system":"System","moderation":"Moderation"},"nav":{"home":"Overview","data_imports":"Data Imports","access_keys":"Access Keys","migrations":"Migrations","users":"Users","projects":"Projects","config":"Configuration","reports":"Reports","audit_log":"Audit Log","return":"Return"}},"AdminDataImports":{"title":"System data imports","desc":"Imported game data"},"AdminMigrations":{"title":"Data migrations","desc":"Available data migrations","empty":"No migrations available."},"EmptyDataTable":{"guide":"Read the <link>author guide</link> to find out more on how to integrate game data into your project."},"DataTable":{"no_results":"No results.","filter":"Filter rows...","previous":"Previous","next":"Next"},"DevProjectVersionsTable":{"name":"Name","branch":"Branch","empty":{"title":"No additional versions were found in your project.","desc":"Read the <link>author guide</link> to learn more about project versioning."}},"DevProjectItemsTable":{"icon":"Icon","id":"Identifier","name":"Name","path":"Page path (internal)","actions":{"open":"Open menu","title":"Actions","view":"View"},"empty":{"title":"No items were found in your project.","desc":"Project items are automatically detected from content pages and included game files."}},"DevProjectTagsTable":{"id":"Identifier","items":"Item count","empty":{"title":"No tags were found in your project."}},"DevProjectRecipesTable":{"type":"Type","id":"Identifier","empty":{"title":"No recipes were found in your project."}},"ResolvedProjectRecipe":{"type":"Recipe Type","input":"Ingredients","output":"Outputs","preview":"Recipe preview","workbenches":"You can craft this recipe using:"},"DevProjectDeploymentsPage":{"title":"Project deployments","desc":"Manage deployed project versions"},"DevProjectDeploymentsTable":{"id":"ID","commit":"Commit","created_at":"Deploy time","user_id":"Deployed by","status":"Status"},"DeploymentStatus":{"unknown":"N/A","created":"Queued","loading":"Loading","success":"Success","error":"Failed"},"DeleteDeploymentModal":{"trigger":"Delete","title":"Are you absolutely sure?","desc":"This action cannot be undone. This deployment will be permanently deleted from our servers.","cancel":"Cancel","submit":"Delete","success":"Deployment deleted successfully"},"DeployProjectModal":{"button":"Deploy","title":"New deployment","primary":"All project content will be <b>re-fetched</b> from the source. This option should be used upon updating the documentation source itself.","secondary":"If the new deployment fails, currently stored data <b>will not</b> be replaced. You can always <b>roll back</b> to previous deployments using the \'Redeploy\' option.","tertiary":"For your own convenience, we recommend automatically revalidating docs after publication using our <link>Gradle plugin</link> instead.","note":"Project configuration remains unchanged. For updating meta information (e.g. source and platforms), please use the Settings dialog instead.","cancel":"Cancel","submit":"Deploy"},"LiveProjectDeployConnection":{"loading":"Deploying project...","success":"Project deploy successful","error":"Project deploy failed","view":"View"},"DevProjectDeploymentPage":{"deployments":"Deployments","title":"Deployment Details","git-config":{"title":"Source coordinates"}},"ProjectGitRevision":{"title":"Git revision","title_current":"Current Git revision","loading":"Deploying project, please stand by...","not_found":"Project has no active deployment"},"ProjectIssueWidget":{"file":"File: <file></file>","date":"Created at: <date></date>","version":"Version: <version></version>"},"ProjectIssueLevel":{"warning":"Warning","error":"Error","unknown":"Unknown"},"ProjectIssueType":{"meta":"Invalid project metadata","file":"Invalid file","git_clone":"Error cloning repository","git_info":"Error getting commit information","ingestor":"Error importing content","version_setup":"Error setting up version","internal":"Internal server error","page":"Invalid page","unknown":"Unknown error"},"DeploymentIssues":{"title":"Deployment issues","empty":"No issues found.","issues_found":"Found {count, plural, =1 {1 issue that needs} other {# issues that need}} attention."},"ProjectError":{"requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","repo_too_large":"Repository exceeds allowed file size","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"Metadata file is invalid","page_render":"Failed to render page contents","duplicate_page":"Duplicate page","unknown_recipe_type":"Unknown recipe type","invalid_ingredient":"Invalid ingredient","invalid_file":"Failed to parse file","invalid_format":"Invalid file format","invalid_resloc":"Invalid Resource Location","invalid_version_branch":"Version branch does not exist","missing_platform_project":"Missing platform project","no_page_title":"Page is missing title","missing_required_attribute":"Page is missing a required metadata attribute","invalid_frontmatter":"Invalid page frontmatter","no_platforms":"Missing project platforms","illegal_id":"Invalid project ID","illegal_mod_id":"Invalid project mod ID","not_owner":"Failed to verify project ownership","unknown":"Unknown error"},"AdminReports":{"title":"Project Reports","desc":"Manage project reports"},"ResponsiveTable":{"expand":"Expand"},"UsageContentList":{"more":"Show more ..."},"RecipeUsage":{"description":"Can be used to create the following items:","empty":"Has no known usages in crafting."},"ContentCategory":{"all":"All","other":"Other"},"ContentChangelog":{"toggle":"Show changelog"},"ContentProperties":{"weighted_flag":{"true":"Yes ({count})","false":"No"},"rarity":{"common":"Common","uncommon":"Uncommon","rare":"Rare","epic":"Epic","unknown":"Unknown"},"bool":{"true":"Yes","false":"No"},"type":{"block":"Block","item":"Item","other":"Other","unknown":"Other"},"properties":{"id":"ID","source_mod":"Source mod","type":"Type","stack_size":"Stackable","required_tool":"Tool","blast_resistance":"Blast resistance","hardness":"Hardness","flammable":"Flammable","rarity":"Rarity tier","durability":"Durability","mining_speed":"Mining efficiency","attack_damage":"Attack damage","attack_speed":"Attack speed","enchantability":"Enchantability","nutrition":"Restores"}},"ExtendedLink":{"not_found":"(Not found)"},"AdminAccessKeys":{"title":"System access keys","desc":"Provides auth for when non-interactive access is needed, such as CI"},"CreateAccessKeyModal":{"title":"Create access key","desc":"New system access key","button":"Create","name":{"title":"Name","desc":"Give your key a name","placeholder":"Deploy staging"},"days_valid":{"title":"Days of validity","desc":"Number of days the key is valid for. Use 0 for no expiration."},"submit":"Submit","submitting":"Submitting..."},"SaveAccessKeyModal":{"title":"Access Key","desc":"Save your generated access key","key":"Access Key","note":"Keep the key value safe. You won\'t be able to access it again.","valid":"The key is valid until {expiry}.","close":"Done"},"DeleteAccessKeyModal":{"title":"Delete Access Key","desc":"Invalidate and delete access key","body":"This will forever delete the access key <name></name>.","cancel":"Cancel","submit":"Delete","success":"Access Key deleted successfully"},"CopyButton":{"copied":"Copied to clipboard"},"InteractiveComponentPlaceholder":{"title":"Content unavailable in preview mode","desc":"Interactive components are currently not supported in the local previewer. The actual contents will be shown here when the project is deployed onto the Wiki website."},"RevalidateCacheModal":{"title":"Revalidate cache tag","desc":"Manually revalidate a cache tag. Used for diagnostic purposes.","button":"Revalidate cache tag","tag":{"title":"Cache Tag","desc":"The cache tag to revalidate"},"submit":"Submit","success":"Cache tag invalidated successfully"},"CookieConsent":{"popup":{"title":"This website uses cookies","description":"This site uses cookies to improve your browsing experience and show embedded content.","show_preferences":"Manage Individual preferences"},"modal":{"title":"Manage cookie preferences","save":"Accept current selection","close":"Close modal"},"sections":{"summary":{"title":"Cookie preferences","description":"Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow."},"necessary":{"title":"Strictly Necessary cookies","description":"These cookies are essential for the proper functioning of the website and cannot be disabled."},"experience":{"title":"Experience","description":"These cookies are used to enable certain parts of the website, such as video embeds, and may be used to track you.","services":{"embeds":"Enables displaying embedded YouTube videos."}},"more_info":{"title":"More information","description":"For further information on how we use cookies on our website, please refer to our <a href=\\"/about/privacy\\">Privacy Policy</a>."}},"actions":{"accept_all":"Accept all","reject_all":"Reject all"}},"VideoEmbedPlaceholder":{"title":"Video embed unavailable","description":"Cookie consent is required to play embedded videos.","accept":"Allow YouTube embeds","watch":"Watch on Youtube"},"ManageCookiesButton":{"text":"Manage cookie preferences"},"UpdateGameDataModal":{"title":"Update game data","desc":"Fetch latest game data and run ingestion.","button":"Update","update_loader":{"title":"Update loader version"},"success":{"title":"Game data updated successfully","desc":"Updated game data to latest version"},"submit":"Submit","submitting":"Submitting..."},"DevProjectTagItemsTable":{"empty":{"title":"No items were found in this tag.","desc":"Project tag entries are automatically detected from included game files."}},"AdminProjectsPage":{"title":"Projects","desc":"List of all registered projects"},"AddProjectMemberForm":{"button":"Add member","title":"Add project member","desc":"Add a new user to this project","username":{"title":"Username","desc":"Wiki (GitHub) username of the user.","placeholder":"johndoe"},"role":{"title":"User role","desc":"Determines the user\'s permission level","placeholder":"Select role"},"success":"Project member added successfully","cancel":"Cancel","submit":"Submit"},"RemoveProjectMemberModal":{"title":"Remove project member","desc":"Are you sure you want to remove this member? This action cannot be undone.","cancel":"Cancel","submit":"Remove","success":"Project member removed successfully"},"LeaveProjectModal":{"title":"Leave project","desc":"Are you sure you want to leave this project? This action cannot be undone.","cancel":"Cancel","submit":"Leave","success":"Project left successfully"},"GenericForm":{"submit":"Submit","submitting":"Submitting...","cancel":"Cancel"},"NewProjectBanner":{"title":"Ready when you are","desc":"This is a new project and does not yet show up in search. So feel free to play around and tweak things until they\'re just right. When you\'re satisfied with the result, hit the button below to go public.","submit":"Publish","success":"Project visibility set to public"}}')},9549:a=>{(()=>{"use strict";var b={993:a=>{var b=Object.prototype.hasOwnProperty,c="~";function d(){}function e(a,b,c){this.fn=a,this.context=b,this.once=c||!1}function f(a,b,d,f,g){if("function"!=typeof d)throw TypeError("The listener must be a function");var h=new e(d,f||a,g),i=c?c+b:b;return a._events[i]?a._events[i].fn?a._events[i]=[a._events[i],h]:a._events[i].push(h):(a._events[i]=h,a._eventsCount++),a}function g(a,b){0==--a._eventsCount?a._events=new d:delete a._events[b]}function h(){this._events=new d,this._eventsCount=0}Object.create&&(d.prototype=Object.create(null),(new d).__proto__||(c=!1)),h.prototype.eventNames=function(){var a,d,e=[];if(0===this._eventsCount)return e;for(d in a=this._events)b.call(a,d)&&e.push(c?d.slice(1):d);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(a)):e},h.prototype.listeners=function(a){var b=c?c+a:a,d=this._events[b];if(!d)return[];if(d.fn)return[d.fn];for(var e=0,f=d.length,g=Array(f);e<f;e++)g[e]=d[e].fn;return g},h.prototype.listenerCount=function(a){var b=c?c+a:a,d=this._events[b];return d?d.fn?1:d.length:0},h.prototype.emit=function(a,b,d,e,f,g){var h=c?c+a:a;if(!this._events[h])return!1;var i,j,k=this._events[h],l=arguments.length;if(k.fn){switch(k.once&&this.removeListener(a,k.fn,void 0,!0),l){case 1:return k.fn.call(k.context),!0;case 2:return k.fn.call(k.context,b),!0;case 3:return k.fn.call(k.context,b,d),!0;case 4:return k.fn.call(k.context,b,d,e),!0;case 5:return k.fn.call(k.context,b,d,e,f),!0;case 6:return k.fn.call(k.context,b,d,e,f,g),!0}for(j=1,i=Array(l-1);j<l;j++)i[j-1]=arguments[j];k.fn.apply(k.context,i)}else{var m,n=k.length;for(j=0;j<n;j++)switch(k[j].once&&this.removeListener(a,k[j].fn,void 0,!0),l){case 1:k[j].fn.call(k[j].context);break;case 2:k[j].fn.call(k[j].context,b);break;case 3:k[j].fn.call(k[j].context,b,d);break;case 4:k[j].fn.call(k[j].context,b,d,e);break;default:if(!i)for(m=1,i=Array(l-1);m<l;m++)i[m-1]=arguments[m];k[j].fn.apply(k[j].context,i)}}return!0},h.prototype.on=function(a,b,c){return f(this,a,b,c,!1)},h.prototype.once=function(a,b,c){return f(this,a,b,c,!0)},h.prototype.removeListener=function(a,b,d,e){var f=c?c+a:a;if(!this._events[f])return this;if(!b)return g(this,f),this;var h=this._events[f];if(h.fn)h.fn!==b||e&&!h.once||d&&h.context!==d||g(this,f);else{for(var i=0,j=[],k=h.length;i<k;i++)(h[i].fn!==b||e&&!h[i].once||d&&h[i].context!==d)&&j.push(h[i]);j.length?this._events[f]=1===j.length?j[0]:j:g(this,f)}return this},h.prototype.removeAllListeners=function(a){var b;return a?(b=c?c+a:a,this._events[b]&&g(this,b)):(this._events=new d,this._eventsCount=0),this},h.prototype.off=h.prototype.removeListener,h.prototype.addListener=h.prototype.on,h.prefixed=c,h.EventEmitter=h,a.exports=h},213:a=>{a.exports=(a,b)=>(b=b||(()=>{}),a.then(a=>new Promise(a=>{a(b())}).then(()=>a),a=>new Promise(a=>{a(b())}).then(()=>{throw a})))},574:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(a,b,c){let d=0,e=a.length;for(;e>0;){let f=e/2|0,g=d+f;0>=c(a[g],b)?(d=++g,e-=f+1):e=f}return d}},821:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(574);class e{constructor(){this._queue=[]}enqueue(a,b){let c={priority:(b=Object.assign({priority:0},b)).priority,run:a};if(this.size&&this._queue[this.size-1].priority>=b.priority)return void this._queue.push(c);let e=d.default(this._queue,c,(a,b)=>b.priority-a.priority);this._queue.splice(e,0,c)}dequeue(){let a=this._queue.shift();return null==a?void 0:a.run}filter(a){return this._queue.filter(b=>b.priority===a.priority).map(a=>a.run)}get size(){return this._queue.length}}b.default=e},816:(a,b,c)=>{let d=c(213);class e extends Error{constructor(a){super(a),this.name="TimeoutError"}}let f=(a,b,c)=>new Promise((f,g)=>{if("number"!=typeof b||b<0)throw TypeError("Expected `milliseconds` to be a positive number");if(b===1/0)return void f(a);let h=setTimeout(()=>{if("function"==typeof c){try{f(c())}catch(a){g(a)}return}let d="string"==typeof c?c:`Promise timed out after ${b} milliseconds`,h=c instanceof Error?c:new e(d);"function"==typeof a.cancel&&a.cancel(),g(h)},b);d(a.then(f,g),()=>{clearTimeout(h)})});a.exports=f,a.exports.default=f,a.exports.TimeoutError=e}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a](f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab="//";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0});let a=d(993),b=d(816),c=d(821),f=()=>{},g=new b.TimeoutError;class h extends a{constructor(a){var b,d,e,g;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=f,this._resolveIdle=f,!("number"==typeof(a=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:c.default},a)).intervalCap&&a.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(d=null==(b=a.intervalCap)?void 0:b.toString())?d:""}\` (${typeof a.intervalCap})`);if(void 0===a.interval||!(Number.isFinite(a.interval)&&a.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(g=null==(e=a.interval)?void 0:e.toString())?g:""}\` (${typeof a.interval})`);this._carryoverConcurrencyCount=a.carryoverConcurrencyCount,this._isIntervalIgnored=a.intervalCap===1/0||0===a.interval,this._intervalCap=a.intervalCap,this._interval=a.interval,this._queue=new a.queueClass,this._queueClass=a.queueClass,this.concurrency=a.concurrency,this._timeout=a.timeout,this._throwOnTimeout=!0===a.throwOnTimeout,this._isPaused=!1===a.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=f,0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=f,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){let a=Date.now();if(void 0===this._intervalId){let b=this._intervalEnd-a;if(!(b<0))return void 0===this._timeoutId&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},b)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let a=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let b=this._queue.dequeue();return!!b&&(this.emit("active"),b(),a&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(a){if(!("number"==typeof a&&a>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${a}\` (${typeof a})`);this._concurrency=a,this._processQueue()}async add(a,c={}){return new Promise((d,e)=>{let f=async()=>{this._pendingCount++,this._intervalCount++;try{let f=void 0===this._timeout&&void 0===c.timeout?a():b.default(Promise.resolve(a()),void 0===c.timeout?this._timeout:c.timeout,()=>{(void 0===c.throwOnTimeout?this._throwOnTimeout:c.throwOnTimeout)&&e(g)});d(await f)}catch(a){e(a)}this._next()};this._queue.enqueue(f,c),this._tryToStartAnother(),this.emit("add")})}async addAll(a,b){return Promise.all(a.map(async a=>this.add(a,b)))}start(){return this._isPaused&&(this._isPaused=!1,this._processQueue()),this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(a=>{let b=this._resolveEmpty;this._resolveEmpty=()=>{b(),a()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(a=>{let b=this._resolveIdle;this._resolveIdle=()=>{b(),a()}})}get size(){return this._queue.size}sizeBy(a){return this._queue.filter(a).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(a){this._timeout=a}}e.default=h})(),a.exports=e})()},9594:(a,b,c)=>{"use strict";var d=c(6858),e=c(7782),f=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),h=Symbol.for("react.fragment"),i=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),n=Symbol.for("react.lazy"),o=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var p=Symbol.iterator;function q(a){return null===a||"object"!=typeof a?null:"function"==typeof(a=p&&a[p]||a["@@iterator"])?a:null}var r=Symbol.asyncIterator;function s(a){setTimeout(function(){throw a})}var t=Promise,u="function"==typeof queueMicrotask?queueMicrotask:function(a){t.resolve(null).then(a).catch(s)},v=null,w=0;function x(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<w&&(a.enqueue(new Uint8Array(v.buffer,0,w)),v=new Uint8Array(2048),w=0),a.enqueue(b);else{var c=v.length-w;c<b.byteLength&&(0===c?a.enqueue(v):(v.set(b.subarray(0,c),w),a.enqueue(v),b=b.subarray(c)),v=new Uint8Array(2048),w=0),v.set(b,w),w+=b.byteLength}return!0}var y=new TextEncoder;function z(a){return y.encode(a)}function A(a){return a.byteLength}function B(a,b){"function"==typeof a.error?a.error(b):a.close()}var C=Symbol.for("react.client.reference"),D=Symbol.for("react.server.reference");function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:C},$$id:{value:b},$$async:{value:c}})}var F=Function.prototype.bind,G=Array.prototype.slice;function H(){var a=F.apply(this,arguments);if(this.$$typeof===D){var b=G.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:D},$$id:{value:this.$$id},$$bound:b={value:this.$$bound?this.$$bound.concat(b):b},bind:{value:H,configurable:!0}})}return a}var I={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},J=Promise.prototype,K={get:function(a,b){switch(b){case"$$typeof":return a.$$typeof;case"$$id":return a.$$id;case"$$async":return a.$$async;case"name":return a.name;case"displayName":case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":throw Error("Cannot await or return from a thenable. You cannot await a client module from a server component.")}throw Error("Cannot access "+String(a.name)+"."+String(b)+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.")},set:function(){throw Error("Cannot assign to a client module from a server module.")}};function L(a,b){switch(b){case"$$typeof":return a.$$typeof;case"$$id":return a.$$id;case"$$async":return a.$$async;case"name":return a.name;case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var c=a.$$id;return a.default=E(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},a.$$id+"#",a.$$async),!0;case"then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,M);return a.status="fulfilled",a.value=e,a.then=E(function(a){return Promise.resolve(a(e))},a.$$id+"#then",!1)}if("symbol"==typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");return(d=a[b])||(Object.defineProperty(d=E(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},a.$$id+"#"+b,a.$$async),"name",{value:b}),d=a[b]=new Proxy(d,K)),d}var M={get:function(a,b){return L(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);return c||(c={value:L(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c)),c},getPrototypeOf:function(){return J},set:function(){throw Error("Cannot assign to a client module from a server module.")}},N=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=N.d;function P(a){if(null==a)return null;var b,c=!1,d={};for(b in a)null!=a[b]&&(c=!0,d[b]=a[b]);return c?d:null}N.d={f:O.f,r:O.r,D:function(a){if("string"==typeof a&&a){var b=as();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),au(b,"D",a))}else O.D(a)}},C:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"==typeof b?au(c,"C",[a,b]):au(c,"C",a))}else O.C(a,b)}},L:function(a,b,c){if("string"==typeof a){var d=as();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,h=c.imageSizes,i="";"string"==typeof g&&""!==g?(i+="["+g+"]","string"==typeof h&&(i+="["+h+"]")):i+="[][]"+a,f+="[image]"+i}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=P(c))?au(d,"L",[a,b,c]):au(d,"L",[a,b]))}else O.L(a,b,c)}},m:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"m",[a,b]):au(c,"m",a)}O.m(a,b)}},X:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"X",[a,b]):au(c,"X",a)}O.X(a,b)}},S:function(a,b,c){if("string"==typeof a){var d=as();if(d){var e=d.hints,f="S|"+a;if(e.has(f))return;return e.add(f),(c=P(c))?au(d,"S",[a,"string"==typeof b?b:0,c]):"string"==typeof b?au(d,"S",[a,b]):au(d,"S",a)}O.S(a,b,c)}},M:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"M",[a,b]):au(c,"M",a)}O.M(a,b)}}};var Q="function"==typeof AsyncLocalStorage,R=Q?new AsyncLocalStorage:null,S=Symbol.for("react.temporary.reference"),T={get:function(a,b){switch(b){case"$$typeof":return a.$$typeof;case"name":case"displayName":case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":return}throw Error("Cannot access "+String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.")},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.")}};function U(){}var V=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),W=null;function X(){if(null===W)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=W;return W=null,a}var Y=null,Z=0,$=null;function _(){var a=$||[];return $=null,a}var aa={readContext:ad,use:function(a){if(null!==a&&"object"==typeof a||"function"==typeof a){if("function"==typeof a.then){var b=Z;Z+=1,null===$&&($=[]);var c=$,d=a,e=b;switch(void 0===(e=c[e])?c.push(d):e!==d&&(d.then(U,U),d=e),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch("string"==typeof d.status?d.then(U,U):((c=d).status="pending",c.then(function(a){if("pending"===d.status){var b=d;b.status="fulfilled",b.value=a}},function(a){if("pending"===d.status){var b=d;b.status="rejected",b.reason=a}})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}throw W=d,V}}a.$$typeof===i&&ad()}if(a.$$typeof===C){if(null!=a.value&&a.value.$$typeof===i)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.")}throw Error("An unsupported type was passed to use(): "+String(a))},useCallback:function(a){return a},useContext:ad,useEffect:ab,useImperativeHandle:ab,useLayoutEffect:ab,useInsertionEffect:ab,useMemo:function(a){return a()},useReducer:ab,useRef:ab,useState:ab,useDebugValue:function(){},useDeferredValue:ab,useTransition:ab,useSyncExternalStore:ab,useId:function(){if(null===Y)throw Error("useId can only be used while React is rendering");var a=Y.identifierCount++;return"_"+Y.identifierPrefix+"S_"+a.toString(32)+"_"},useHostTransitionStatus:ab,useFormState:ab,useActionState:ab,useOptimistic:ab,useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=o;return b},useCacheRefresh:function(){return ac}};function ab(){throw Error("This Hook is not supported in Server Components.")}function ac(){throw Error("Refreshing the cache is not supported in Server Components.")}function ad(){throw Error("Cannot read a Client Context from a Server Component.")}var ae={getCacheForType:function(a){var b=(b=as())?b.cache:new Map,c=b.get(a);return void 0===c&&(c=a(),b.set(a,c)),c},cacheSignal:function(){var a=as();return a?a.cacheController.signal:null}},af=e.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!af)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var ag=Array.isArray,ah=Object.getPrototypeOf;function ai(a){return(a=Object.prototype.toString.call(a)).slice(8,a.length-1)}function aj(a){switch(typeof a){case"string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case"object":if(ag(a))return"[...]";if(null!==a&&a.$$typeof===ak)return"client";return"Object"===(a=ai(a))?"{...}":a;case"function":return a.$$typeof===ak?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}var ak=Symbol.for("react.client.reference");function al(a,b){var c=ai(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ag(a)){for(var e="[",f=0;f<a.length;f++){0<f&&(e+=", ");var h=a[f];h="object"==typeof h&&null!==h?al(h):aj(h),""+f===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===g)e="<"+function a(b){if("string"==typeof b)return b;switch(b){case k:return"Suspense";case l:return"SuspenseList"}if("object"==typeof b)switch(b.$$typeof){case j:return a(b.render);case m:return a(b.type);case n:var c=b._payload;b=b._init;try{return a(b(c))}catch(a){}}return""}(a.type)+"/>";else{if(a.$$typeof===ak)return"client";for(h=0,e="{",f=Object.keys(a);h<f.length;h++){0<h&&(e+=", ");var i=f[h],o=JSON.stringify(i);e+=('"'+i+'"'===o?i:o)+": ",o="object"==typeof(o=a[i])&&null!==o?al(o):aj(o),i===b?(c=e.length,d=o.length,e+=o):e=10>o.length&&40>e.length+o.length?e+o:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?"\n "+e+"\n "+(a=" ".repeat(c)+"^".repeat(d)):"\n "+e}var am=Object.prototype.hasOwnProperty,an=Object.prototype,ao=JSON.stringify;function ap(a){console.error(a)}function aq(a,b,c,d,e,f,g,h,i){if(null!==af.A&&af.A!==ae)throw Error("Currently React only supports one RSC renderer at a time.");af.A=ae;var j=new Set,k=[],l=new Set;this.type=a,this.status=10,this.flushScheduled=!1,this.destination=this.fatalError=null,this.bundlerConfig=c,this.cache=new Map,this.cacheController=new AbortController,this.pendingChunks=this.nextChunkId=0,this.hints=l,this.abortableTasks=j,this.pingedTasks=k,this.completedImportChunks=[],this.completedHintChunks=[],this.completedRegularChunks=[],this.completedErrorChunks=[],this.writtenSymbols=new Map,this.writtenClientReferences=new Map,this.writtenServerReferences=new Map,this.writtenObjects=new WeakMap,this.temporaryReferences=i,this.identifierPrefix=h||"",this.identifierCount=1,this.taintCleanupQueue=[],this.onError=void 0===d?ap:d,this.onPostpone=void 0===e?U:e,this.onAllReady=f,this.onFatalError=g,k.push(a=aC(this,b,null,!1,j))}var ar=null;function as(){if(ar)return ar;if(Q){var a=R.getStore();if(a)return a}return null}function at(a,b,c){var d=aC(a,c,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case"fulfilled":return d.model=c.value,aB(a,d),d.id;case"rejected":return aR(a,d,c.reason),d.id;default:if(12===a.status)return a.abortableTasks.delete(d),b=a.fatalError,aW(d),aX(d,a,b),d.id;"string"!=typeof c.status&&(c.status="pending",c.then(function(a){"pending"===c.status&&(c.status="fulfilled",c.value=a)},function(a){"pending"===c.status&&(c.status="rejected",c.reason=a)}))}return c.then(function(b){d.model=b,aB(a,d)},function(b){0===d.status&&(aR(a,d,b),a$(a))}),d.id}function au(a,b,c){b=z(":H"+b+(c=ao(c))+"\n"),a.completedHintChunks.push(b),a$(a)}function av(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a}function aw(){}function ax(a,b,c,d,e){var f=b.thenableState;if(b.thenableState=null,Z=0,$=f,e=d(e,void 0),12===a.status)throw"object"==typeof e&&null!==e&&"function"==typeof e.then&&e.$$typeof!==C&&e.then(aw,aw),null;return e=function(a,b,c,d){if("object"!=typeof d||null===d||d.$$typeof===C)return d;if("function"==typeof d.then){switch(d.status){case"fulfilled":return d.value;case"rejected":break;default:"string"!=typeof d.status&&(d.status="pending",d.then(function(a){"pending"===d.status&&(d.status="fulfilled",d.value=a)},function(a){"pending"===d.status&&(d.status="rejected",d.reason=a)}))}return{$$typeof:n,_payload:d,_init:av}}var e=q(d);return e?((a={})[Symbol.iterator]=function(){return e.call(d)},a):"function"!=typeof d[r]||"function"==typeof ReadableStream&&d instanceof ReadableStream?d:((a={})[r]=function(){return d[r]()},a)}(a,0,0,e),d=b.keyPath,f=b.implicitSlot,null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0),a=aJ(a,b,aS,"",e),b.keyPath=d,b.implicitSlot=f,a}function ay(a,b,c){return null!==b.keyPath?(a=[g,h,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}var az=0;function aA(a,b){return b=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks),aB(a,b),"$L"+b.id.toString(16)}function aB(a,b){var c=a.pingedTasks;c.push(b),1===c.length&&(a.flushScheduled=null!==a.destination,21===a.type||10===a.status?u(function(){return aV(a)}):setTimeout(function(){return aV(a)},0))}function aC(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"!=typeof b||null===b||null!==c||d||a.writtenObjects.set(b,aD(f));var h={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return aB(a,h)},toJSON:function(b,c){az+=b.length;var d=h.keyPath,e=h.implicitSlot;try{var f=aJ(a,h,this,b,c)}catch(j){if(b="object"==typeof(b=h.model)&&null!==b&&(b.$$typeof===g||b.$$typeof===n),12===a.status)h.status=3,d=a.fatalError,f=b?"$L"+d.toString(16):aD(d);else if("object"==typeof(c=j===V?X():j)&&null!==c&&"function"==typeof c.then){var i=(f=aC(a,h.model,h.keyPath,h.implicitSlot,a.abortableTasks)).ping;c.then(i,i),f.thenableState=_(),h.keyPath=d,h.implicitSlot=e,f=b?"$L"+f.id.toString(16):aD(f.id)}else h.keyPath=d,h.implicitSlot=e,a.pendingChunks++,d=a.nextChunkId++,e=aK(a,c,h),aM(a,d,e),f=b?"$L"+d.toString(16):aD(d)}return f},thenableState:null};return e.add(h),h}function aD(a){return"$"+a.toString(16)}function aE(a,b,c){return a=ao(c),z(b=b.toString(16)+":"+a+"\n")}function aF(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,h=f.get(e);if(void 0!==h)return b[0]===g&&"1"===c?"$L"+h.toString(16):aD(h);try{var i=a.bundlerConfig,j=d.$$id;h="";var k=i[j];if(k)h=k.name;else{var l=j.lastIndexOf("#");if(-1!==l&&(h=j.slice(l+1),k=i[j.slice(0,l)]),!k)throw Error('Could not find the module "'+j+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.')}if(!0===k.async&&!0===d.$$async)throw Error('The module "'+j+'" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler.');var m=!0===k.async||!0===d.$$async?[k.id,k.chunks,h,1]:[k.id,k.chunks,h];a.pendingChunks++;var n=a.nextChunkId++,o=ao(m),p=n.toString(16)+":I"+o+"\n",q=z(p);return a.completedImportChunks.push(q),f.set(e,n),b[0]===g&&"1"===c?"$L"+n.toString(16):aD(n)}catch(d){return a.pendingChunks++,b=a.nextChunkId++,c=aK(a,d,null),aM(a,b,c),aD(b)}}function aG(a,b){return b=aC(a,b,null,!1,a.abortableTasks),aT(a,b),b.id}function aH(a,b,c){a.pendingChunks++;var d=a.nextChunkId++;return aO(a,d,b,c,!1),aD(d)}var aI=!1;function aJ(a,b,c,d,e){if(b.model=e,e===g)return"$";if(null===e)return null;if("object"==typeof e){switch(e.$$typeof){case g:var i=null,k=a.writtenObjects;if(null===b.keyPath&&!b.implicitSlot){var l=k.get(e);if(void 0!==l)if(aI!==e)return l;else aI=null;else -1===d.indexOf(":")&&void 0!==(c=k.get(c))&&(i=c+":"+d,k.set(e,i))}if(3200<az)return aA(a,b);return c=(d=e.props).ref,"object"==typeof(a=function a(b,c,d,e,f,i){if(null!=f)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"==typeof d&&d.$$typeof!==C&&d.$$typeof!==S)return ax(b,c,e,d,i);if(d===h&&null===e)return d=c.implicitSlot,null===c.keyPath&&(c.implicitSlot=!0),i=aJ(b,c,aS,"",i.children),c.implicitSlot=d,i;if(null!=d&&"object"==typeof d&&d.$$typeof!==C)switch(d.$$typeof){case n:if(d=(0,d._init)(d._payload),12===b.status)throw null;return a(b,c,d,e,f,i);case j:return ax(b,c,e,d.render,i);case m:return a(b,c,d.type,e,f,i)}return b=e,e=c.keyPath,null===b?b=e:null!==e&&(b=e+","+b),i=[g,d,b,i],c=c.implicitSlot&&null!==b?[i]:i}(a,b,e.type,e.key,void 0!==c?c:null,d))&&null!==a&&null!==i&&(k.has(a)||k.set(a,i)),a;case n:if(3200<az)return aA(a,b);if(b.thenableState=null,e=(d=e._init)(e._payload),12===a.status)throw null;return aJ(a,b,aS,"",e);case f:throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.')}if(e.$$typeof===C)return aF(a,c,d,e);if(void 0!==a.temporaryReferences&&void 0!==(i=a.temporaryReferences.get(e)))return"$T"+i;if(k=(i=a.writtenObjects).get(e),"function"==typeof e.then){if(void 0!==k){if(null!==b.keyPath||b.implicitSlot)return"$@"+at(a,b,e).toString(16);if(aI!==e)return k;aI=null}return a="$@"+at(a,b,e).toString(16),i.set(e,a),a}if(void 0!==k)if(aI!==e)return k;else{if(k!==aD(b.id))return k;aI=null}else if(-1===d.indexOf(":")&&void 0!==(k=i.get(c))){if(l=d,ag(c)&&c[0]===g)switch(d){case"1":l="type";break;case"2":l="key";break;case"3":l="props";break;case"4":l="_owner"}i.set(e,k+":"+l)}if(ag(e))return ay(a,b,e);if(e instanceof Map)return"$Q"+aG(a,e=Array.from(e)).toString(16);if(e instanceof Set)return"$W"+aG(a,e=Array.from(e)).toString(16);if("function"==typeof FormData&&e instanceof FormData)return"$K"+aG(a,e=Array.from(e.entries())).toString(16);if(e instanceof Error)return"$Z";if(e instanceof ArrayBuffer)return aH(a,"A",new Uint8Array(e));if(e instanceof Int8Array)return aH(a,"O",e);if(e instanceof Uint8Array)return aH(a,"o",e);if(e instanceof Uint8ClampedArray)return aH(a,"U",e);if(e instanceof Int16Array)return aH(a,"S",e);if(e instanceof Uint16Array)return aH(a,"s",e);if(e instanceof Int32Array)return aH(a,"L",e);if(e instanceof Uint32Array)return aH(a,"l",e);if(e instanceof Float32Array)return aH(a,"G",e);if(e instanceof Float64Array)return aH(a,"g",e);if(e instanceof BigInt64Array)return aH(a,"M",e);if(e instanceof BigUint64Array)return aH(a,"m",e);if(e instanceof DataView)return aH(a,"V",e);if("function"==typeof Blob&&e instanceof Blob)return function(a,b){function c(b){0===f.status&&(a.cacheController.signal.removeEventListener("abort",d),aR(a,f,b),a$(a),g.cancel(b).then(c,c))}function d(){if(0===f.status){var b=a.cacheController.signal;b.removeEventListener("abort",d),aR(a,f,b=b.reason),a$(a),g.cancel(b).then(c,c)}}var e=[b.type],f=aC(a,e,null,!1,a.abortableTasks),g=b.stream().getReader();return a.cacheController.signal.addEventListener("abort",d),g.read().then(function b(h){if(0===f.status)if(!h.done)return e.push(h.value),g.read().then(b).catch(c);else a.cacheController.signal.removeEventListener("abort",d),aB(a,f)}).catch(c),"$B"+f.id.toString(16)}(a,e);if(i=q(e))return(d=i.call(e))===e?"$i"+aG(a,Array.from(d)).toString(16):ay(a,b,Array.from(d));if("function"==typeof ReadableStream&&e instanceof ReadableStream)return function(a,b,c){function d(b){0===h.status&&(a.cacheController.signal.removeEventListener("abort",e),aR(a,h,b),a$(a),g.cancel(b).then(d,d))}function e(){if(0===h.status){var b=a.cacheController.signal;b.removeEventListener("abort",e),aR(a,h,b=b.reason),a$(a),g.cancel(b).then(d,d)}}var f=c.supportsBYOB;if(void 0===f)try{c.getReader({mode:"byob"}).releaseLock(),f=!0}catch(a){f=!1}var g=c.getReader(),h=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks);return a.pendingChunks++,b=h.id.toString(16)+":"+(f?"r":"R")+"\n",a.completedRegularChunks.push(z(b)),a.cacheController.signal.addEventListener("abort",e),g.read().then(function b(c){if(0===h.status)if(c.done)h.status=1,c=h.id.toString(16)+":C\n",a.completedRegularChunks.push(z(c)),a.abortableTasks.delete(h),a.cacheController.signal.removeEventListener("abort",e),a$(a),a_(a);else try{h.model=c.value,a.pendingChunks++,aU(a,h),a$(a),g.read().then(b,d)}catch(a){d(a)}},d),aD(h.id)}(a,b,e);if("function"==typeof(i=e[r]))return null!==b.keyPath?(a=[g,h,b.keyPath,{children:e}],a=b.implicitSlot?[a]:a):(d=i.call(e),a=function(a,b,c,d){function e(b){0===g.status&&(a.cacheController.signal.removeEventListener("abort",f),aR(a,g,b),a$(a),"function"==typeof d.throw&&d.throw(b).then(e,e))}function f(){if(0===g.status){var b=a.cacheController.signal;b.removeEventListener("abort",f);var c=b.reason;aR(a,g,b.reason),a$(a),"function"==typeof d.throw&&d.throw(c).then(e,e)}}c=c===d;var g=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks);return a.pendingChunks++,b=g.id.toString(16)+":"+(c?"x":"X")+"\n",a.completedRegularChunks.push(z(b)),a.cacheController.signal.addEventListener("abort",f),d.next().then(function b(c){if(0===g.status)if(c.done){if(g.status=1,void 0===c.value)var h=g.id.toString(16)+":C\n";else try{var i=aG(a,c.value);h=g.id.toString(16)+":C"+ao(aD(i))+"\n"}catch(a){e(a);return}a.completedRegularChunks.push(z(h)),a.abortableTasks.delete(g),a.cacheController.signal.removeEventListener("abort",f),a$(a),a_(a)}else try{g.model=c.value,a.pendingChunks++,aU(a,g),a$(a),d.next().then(b,e)}catch(a){e(a)}},e),aD(g.id)}(a,b,e,d)),a;if(e instanceof Date)return"$D"+e.toJSON();if((a=ah(e))!==an&&(null===a||null!==ah(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."+al(c,d));return e}if("string"==typeof e)return(az+=e.length,"Z"===e[e.length-1]&&c[d]instanceof Date)?"$D"+e:1024<=e.length&&null!==A?(a.pendingChunks++,b=a.nextChunkId++,aP(a,b,e,!1),aD(b)):a="$"===e[0]?"$"+e:e;if("boolean"==typeof e)return e;if("number"==typeof e)return Number.isFinite(e)?0===e&&-1/0==1/e?"$-0":e:1/0===e?"$Infinity":-1/0===e?"$-Infinity":"$NaN";if(void 0===e)return"$undefined";if("function"==typeof e){if(e.$$typeof===C)return aF(a,c,d,e);if(e.$$typeof===D)return void 0!==(d=(b=a.writtenServerReferences).get(e))?a="$h"+d.toString(16):(d=null===(d=e.$$bound)?null:Promise.resolve(d),a=aG(a,{id:e.$$id,bound:d}),b.set(e,a),a="$h"+a.toString(16)),a;if(void 0!==a.temporaryReferences&&void 0!==(a=a.temporaryReferences.get(e)))return"$T"+a;if(e.$$typeof===S)throw Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server.");if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+al(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+al(c,d))}if("symbol"==typeof e){if(void 0!==(i=(b=a.writtenSymbols).get(e)))return aD(i);if(Symbol.for(i=e.description)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+e.description+") cannot be found among global symbols."+al(c,d));return a.pendingChunks++,d=a.nextChunkId++,c=aE(a,d,"$S"+i),a.completedImportChunks.push(c),b.set(e,d),aD(d)}if("bigint"==typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported in Client Component props."+al(c,d))}function aK(a,b){var c=ar;ar=null;try{var d=a.onError,e=Q?R.run(void 0,d,b):d(b)}finally{ar=c}if(null!=e&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function aL(a,b){(0,a.onFatalError)(b),null!==a.destination?(a.status=14,B(a.destination,b)):(a.status=13,a.fatalError=b),a.cacheController.abort(Error("The render was aborted due to a fatal error.",{cause:b}))}function aM(a,b,c){c={digest:c},b=z(b=b.toString(16)+":E"+ao(c)+"\n"),a.completedErrorChunks.push(b)}function aN(a,b,c){b=z(b=b.toString(16)+":"+c+"\n"),a.completedRegularChunks.push(b)}function aO(a,b,c,d,e){e?a.pendingDebugChunks++:a.pendingChunks++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength),e=(d=2048<d.byteLength?e.slice():e).byteLength,b=z(b=b.toString(16)+":"+c+e.toString(16)+","),a.completedRegularChunks.push(b,d)}function aP(a,b,c,d){if(null===A)throw Error("Existence of byteLengthOfChunk should have already been checked. This is a bug in React.");d?a.pendingDebugChunks++:a.pendingChunks++,d=(c=z(c)).byteLength,b=z(b=b.toString(16)+":T"+d.toString(16)+","),a.completedRegularChunks.push(b,c)}function aQ(a,b,c){var d=b.id;"string"==typeof c&&null!==A?aP(a,d,c,!1):c instanceof ArrayBuffer?aO(a,d,"A",new Uint8Array(c),!1):c instanceof Int8Array?aO(a,d,"O",c,!1):c instanceof Uint8Array?aO(a,d,"o",c,!1):c instanceof Uint8ClampedArray?aO(a,d,"U",c,!1):c instanceof Int16Array?aO(a,d,"S",c,!1):c instanceof Uint16Array?aO(a,d,"s",c,!1):c instanceof Int32Array?aO(a,d,"L",c,!1):c instanceof Uint32Array?aO(a,d,"l",c,!1):c instanceof Float32Array?aO(a,d,"G",c,!1):c instanceof Float64Array?aO(a,d,"g",c,!1):c instanceof BigInt64Array?aO(a,d,"M",c,!1):c instanceof BigUint64Array?aO(a,d,"m",c,!1):c instanceof DataView?aO(a,d,"V",c,!1):(c=ao(c,b.toJSON),aN(a,b.id,c))}function aR(a,b,c){b.status=4,c=aK(a,c,b),aM(a,b.id,c),a.abortableTasks.delete(b),a_(a)}var aS={};function aT(a,b){if(0===b.status){b.status=5;var c=az;try{aI=b.model;var d=aJ(a,b,aS,"",b.model);if(aI=d,b.keyPath=null,b.implicitSlot=!1,"object"==typeof d&&null!==d)a.writtenObjects.set(d,aD(b.id)),aQ(a,b,d);else{var e=ao(d);aN(a,b.id,e)}b.status=1,a.abortableTasks.delete(b),a_(a)}catch(c){if(12===a.status){a.abortableTasks.delete(b),b.status=0;var f=a.fatalError;aW(b),aX(b,a,f)}else{var g=c===V?X():c;if("object"==typeof g&&null!==g&&"function"==typeof g.then){b.status=0,b.thenableState=_();var h=b.ping;g.then(h,h)}else aR(a,b,g)}}finally{az=c}}}function aU(a,b){var c=az;try{aQ(a,b,b.model)}finally{az=c}}function aV(a){var b=af.H;af.H=aa;var c=ar;Y=ar=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)aT(a,d[e]);aY(a)}catch(b){aK(a,b,null),aL(a,b)}finally{af.H=b,Y=null,ar=c}}function aW(a){0===a.status&&(a.status=3)}function aX(a,b,c){3===a.status&&(c=aD(c),a=aE(b,a.id,c),b.completedErrorChunks.push(a))}function aY(a){var b=a.destination;if(null!==b){v=new Uint8Array(2048),w=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,x(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)x(b,e[d]);e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)a.pendingChunks--,x(b,f[d]);f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)a.pendingChunks--,x(b,g[d]);g.splice(0,d)}finally{a.flushScheduled=!1,v&&0<w&&(b.enqueue(new Uint8Array(v.buffer,0,w)),v=null,w=0)}}0===a.pendingChunks&&(12>a.status&&a.cacheController.abort(Error("This render completed successfully. All cacheSignals are now aborted to allow clean up of any unused resources.")),null!==a.destination&&(a.status=14,a.destination.close(),a.destination=null))}function aZ(a){a.flushScheduled=null!==a.destination,Q?u(function(){R.run(a,aV,a)}):u(function(){return aV(a)}),setTimeout(function(){10===a.status&&(a.status=11)},0)}function a$(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setTimeout(function(){a.flushScheduled=!1,aY(a)},0))}function a_(a){0===a.abortableTasks.size&&(a=a.onAllReady)()}function a0(a,b){if(13===a.status)a.status=14,B(b,a.fatalError);else if(14!==a.status&&null===a.destination){a.destination=b;try{aY(a)}catch(b){aK(a,b,null),aL(a,b)}}}function a1(a,b){if(!(11<a.status))try{a.status=12,a.cacheController.abort(b);var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):"object"==typeof b&&null!==b&&"function"==typeof b.then?Error("The render was aborted by the server with a promise."):b,e=aK(a,d,null),f=a.nextChunkId++;a.fatalError=f,a.pendingChunks++,aM(a,f,e,d,!1),c.forEach(function(b){return aW(b,a,f)}),setTimeout(function(){try{c.forEach(function(b){return aX(b,a,f)}),(0,a.onAllReady)(),aY(a)}catch(b){aK(a,b,null),aL(a,b)}},0)}else(0,a.onAllReady)(),aY(a)}catch(b){aK(a,b,null),aL(a,b)}}function a2(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");if(-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]),!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return d.async?[d.id,d.chunks,c,1]:[d.id,d.chunks,c]}var a3=new Map;function a4(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}function a5(){}function a6(a){for(var b=a[1],d=[],e=0;e<b.length;){var f=b[e++];b[e++];var g=a3.get(f);if(void 0===g){g=c.e(f),d.push(g);var h=a3.set.bind(a3,f,null);g.then(h,a5),a3.set(f,g)}else null!==g&&d.push(g)}return 4===a.length?0===d.length?a4(a[0]):Promise.all(d).then(function(){return a4(a[0])}):0<d.length?Promise.all(d):null}function a7(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"==typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:am.call(b,a[2])?b[a[2]]:void 0}var a8=Symbol();function a9(a,b,c){this.status=a,this.value=b,this.reason=c}function ba(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];"function"==typeof e?e(c):bm(a,e,c)}}function bb(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];"function"==typeof e?e(c):bn(a,e.handler,c)}}function bc(a,b,c){if("pending"!==b.status&&"blocked"!==b.status)b.reason.error(c);else{var d=b.reason;b.status="rejected",b.reason=c,null!==d&&bb(a,d,c)}}function bd(a,b,c){var d={};return new a9("resolved_model",b,(d.id=c,d[a8]=a,d))}function be(a,b,c,d){if("pending"!==b.status)b=b.reason,"C"===c[0]?b.close("C"===c?'"$undefined"':c.slice(1)):b.enqueueModel(c);else{var e=b.value,f=b.reason;if(b.status="resolved_model",b.value=c,c={},b.reason=(c.id=d,c[a8]=a,c),null!==e)a:switch(bj(b),b.status){case"fulfilled":ba(a,e,b.value);break;case"blocked":for(c=0;c<e.length;c++)if("function"!=typeof(d=e[c])){var g=function a(b,c){var d=c.handler.chunk;if(null===d)return null;if(d===b)return c.handler;if(null!==(c=d.value))for(d=0;d<c.length;d++){var e=c[d];if("function"!=typeof e&&null!==(e=a(b,e)))return e}return null}(b,d);if(null!==g)switch(bm(a,d,g.value),e.splice(c,1),c--,null!==f&&-1!==(d=f.indexOf(d))&&f.splice(d,1),b.status){case"fulfilled":ba(a,e,b.value);break a;case"rejected":null!==f&&bb(a,f,b.reason);break a}}case"pending":if(b.value)for(a=0;a<e.length;a++)b.value.push(e[a]);else b.value=e;if(b.reason){if(f)for(e=0;e<f.length;e++)b.reason.push(f[e])}else b.reason=f;break;case"rejected":f&&ba(a,f,b.reason)}}}function bf(a,b,c){var d={};return new a9("resolved_model",(c?'{"done":true,"value":':'{"done":false,"value":')+b+"}",(d.id=-1,d[a8]=a,d))}function bg(a,b,c,d){be(a,b,(d?'{"done":true,"value":':'{"done":false,"value":')+c+"}",-1)}function bh(a,b,c,d){var e=b.id;if("string"!=typeof e||"then"===d)return null;var f=a2(a._bundlerConfig,e);e=b.bound;var g=a6(f);if(g)e instanceof a9&&(g=Promise.all([g,e]));else{if(!(e instanceof a9))return a7(f);g=Promise.resolve(e)}if(bi){var h=bi;h.deps++}else h=bi={chunk:null,value:null,reason:null,deps:1,errored:!1};return g.then(function(){var e=a7(f);if(b.bound){var g=b.bound.value;(g=Array.isArray(g)?g.slice(0):[]).unshift(null),e=e.bind.apply(e,g)}c[d]=e,""===d&&null===h.value&&(h.value=e),h.deps--,0===h.deps&&null!==(e=h.chunk)&&"blocked"===e.status&&(g=e.value,e.status="fulfilled",e.value=h.value,e.reason=null,null!==g&&ba(a,g,h.value))},function(b){if(!h.errored){h.errored=!0,h.value=null,h.reason=b;var c=h.chunk;null!==c&&"blocked"===c.status&&bc(a,c,b)}}),null}a9.prototype=Object.create(Promise.prototype),a9.prototype.then=function(a,b){switch("resolved_model"===this.status&&bj(this),this.status){case"fulfilled":if("function"==typeof a){for(var c=this.value,d=0;c instanceof a9;){if(d++,c===this||1e3<d){"function"==typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case"pending":case"blocked":"function"==typeof a&&(null===this.value&&(this.value=[]),this.value.push(a)),"function"==typeof b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:"function"==typeof b&&b(this.reason)}};var bi=null;function bj(a){var b=bi;bi=null;var c=a.reason,d=c[a8];c=-1===(c=c.id)?void 0:c.toString(16);var e=a.value;a.status="blocked",a.value=null,a.reason=null;try{var f=JSON.parse(e),g=function a(b,c,d,e,f){if("string"==typeof e)return function(a,b,c,d,e){if("$"===d[0]){switch(d[1]){case"$":return d.slice(1);case"@":return bl(a,b=parseInt(d.slice(2),16));case"h":return bo(a,d=d.slice(2),b,c,bh);case"T":var f,g;if(void 0===e||void 0===a._temporaryReferences)throw Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server.");return f=a._temporaryReferences,g=new Proxy(g=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},{$$typeof:{value:S}}),T),f.set(g,e),g;case"Q":return bo(a,d=d.slice(2),b,c,bp);case"W":return bo(a,d=d.slice(2),b,c,bq);case"K":b=d.slice(2);var h=a._prefix+b+"_",i=new FormData;return a._formData.forEach(function(a,b){b.startsWith(h)&&i.append(b.slice(h.length),a)}),i;case"i":return bo(a,d=d.slice(2),b,c,br);case"I":return 1/0;case"-":return"$-0"===d?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(d.slice(2)));case"n":return BigInt(d.slice(2))}switch(d[1]){case"A":return bt(a,d,ArrayBuffer,1,b,c);case"O":return bt(a,d,Int8Array,1,b,c);case"o":return bt(a,d,Uint8Array,1,b,c);case"U":return bt(a,d,Uint8ClampedArray,1,b,c);case"S":return bt(a,d,Int16Array,2,b,c);case"s":return bt(a,d,Uint16Array,2,b,c);case"L":return bt(a,d,Int32Array,4,b,c);case"l":return bt(a,d,Uint32Array,4,b,c);case"G":return bt(a,d,Float32Array,4,b,c);case"g":return bt(a,d,Float64Array,8,b,c);case"M":return bt(a,d,BigInt64Array,8,b,c);case"m":return bt(a,d,BigUint64Array,8,b,c);case"V":return bt(a,d,DataView,1,b,c);case"B":return b=parseInt(d.slice(2),16),a._formData.get(a._prefix+b)}switch(d[1]){case"R":return bv(a,d,void 0);case"r":return bv(a,d,"bytes");case"X":return bx(a,d,!1);case"x":return bx(a,d,!0)}return bo(a,d=d.slice(1),b,c,bs)}return d}(b,c,d,e,f);if("object"==typeof e&&null!==e)if(void 0!==f&&void 0!==b._temporaryReferences&&b._temporaryReferences.set(e,f),Array.isArray(e))for(var g=0;g<e.length;g++)e[g]=a(b,e,""+g,e[g],void 0!==f?f+":"+g:void 0);else for(g in e)am.call(e,g)&&(c=void 0!==f&&-1===g.indexOf(":")?f+":"+g:void 0,void 0!==(c=a(b,e,g,e[g],c))||"__proto__"===g?e[g]=c:delete e[g]);return e}(d,{"":f},"",f,c),h=a.value;if(null!==h)for(a.value=null,a.reason=null,f=0;f<h.length;f++){var i=h[f];"function"==typeof i?i(g):bm(d,i,g)}if(null!==bi){if(bi.errored)throw bi.reason;if(0<bi.deps){bi.value=g,bi.chunk=a;return}}a.status="fulfilled",a.value=g,a.reason=null}catch(b){a.status="rejected",a.reason=b}finally{bi=b}}function bk(a,b){a._closed=!0,a._closedReason=b,a._chunks.forEach(function(c){"pending"===c.status?bc(a,c,b):"fulfilled"===c.status&&null!==c.reason&&c.reason.error(b)})}function bl(a,b){var c=a._chunks,d=c.get(b);return d||(d="string"==typeof(d=a._formData.get(a._prefix+b))?bd(a,d,b):a._closed?new a9("rejected",null,a._closedReason):new a9("pending",null,null),c.set(b,d)),d}function bm(a,b,c){var d=b.handler,e=b.parentObject,f=b.key,g=b.map,h=b.path;try{for(var i=1;i<h.length;i++){var j=h[i];if("object"!=typeof c||!am.call(c,j)||c instanceof Promise)throw Error("Invalid reference.");c=c[j]}var k=g(a,c,e,f);e[f]=k,""===f&&null===d.value&&(d.value=k)}catch(c){bn(a,b.handler,c);return}d.deps--,0===d.deps&&null!==(b=d.chunk)&&"blocked"===b.status&&(c=b.value,b.status="fulfilled",b.value=d.value,b.reason=d.reason,null!==c&&ba(a,c,d.value))}function bn(a,b,c){b.errored||(b.errored=!0,b.value=null,b.reason=c,null!==(b=b.chunk)&&"blocked"===b.status&&bc(a,b,c))}function bo(a,b,c,d,e){var f=parseInt((b=b.split(":"))[0],16);switch("resolved_model"===(f=bl(a,f)).status&&bj(f),f.status){case"fulfilled":f=f.value;for(var g=1;g<b.length;g++){var h=b[g];if("object"!=typeof f||!am.call(f,h)||f instanceof Promise)throw Error("Invalid reference.");f=f[h]}return e(a,f,c,d);case"pending":case"blocked":return bi?(a=bi,a.deps++):a=bi={chunk:null,value:null,reason:null,deps:1,errored:!1},c={handler:a,parentObject:c,key:d,map:e,path:b},null===f.value?f.value=[c]:f.value.push(c),null===f.reason?f.reason=[c]:f.reason.push(c),null;default:return bi?(bi.errored=!0,bi.value=null,bi.reason=f.reason):bi={chunk:null,value:null,reason:f.reason,deps:0,errored:!0},null}}function bp(a,b){return new Map(b)}function bq(a,b){return new Set(b)}function br(a,b){return b[Symbol.iterator]()}function bs(a,b,c,d){return"then"===d&&"function"==typeof b?null:b}function bt(a,b,c,d,e,f){if(b=parseInt(b.slice(2),16),d=a._prefix+b,a._chunks.has(b))throw Error("Already initialized typed array.");if(b=a._formData.get(d).arrayBuffer(),bi){var g=bi;g.deps++}else g=bi={chunk:null,value:null,reason:null,deps:1,errored:!1};return b.then(function(b){if(b=c===ArrayBuffer?b:new c(b),e[f]=b,""===f&&null===g.value&&(g.value=b),g.deps--,0===g.deps&&null!==(b=g.chunk)&&"blocked"===b.status){var d=b.value;b.status="fulfilled",b.value=g.value,b.reason=null,null!==d&&ba(a,d,g.value)}},function(b){if(!g.errored){g.errored=!0,g.value=null,g.reason=b;var c=g.chunk;null!==c&&"blocked"===c.status&&bc(a,c,b)}}),null}function bu(a,b,c,d){var e=a._chunks;for(c=new a9("fulfilled",c,d),e.set(b,c),a=a._formData.getAll(a._prefix+b),b=0;b<a.length;b++)"string"==typeof(e=a[b])&&("C"===e[0]?d.close("C"===e?'"$undefined"':e.slice(1)):d.enqueueModel(e))}function bv(a,b,c){if(b=parseInt(b.slice(2),16),a._chunks.has(b))throw Error("Already initialized stream.");var d=null,e=!1;c=new ReadableStream({type:c,start:function(a){d=a}});var f=null;return bu(a,b,c,{enqueueModel:function(b){if(null===f){var c=bd(a,b,-1);bj(c),"fulfilled"===c.status?d.enqueue(c.value):(c.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=c)}else{c=f;var e=new a9("pending",null,null);e.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=e,c.then(function(){f===e&&(f=null),be(a,e,b,-1)})}},close:function(){if(!e)if(e=!0,null===f)d.close();else{var a=f;f=null,a.then(function(){return d.close()})}},error:function(a){if(!e)if(e=!0,null===f)d.error(a);else{var b=f;f=null,b.then(function(){return d.error(a)})}}}),c}function bw(){return this}function bx(a,b,c){if(b=parseInt(b.slice(2),16),a._chunks.has(b))throw Error("Already initialized stream.");var d=[],e=!1,f=0,g={};return g[r]=function(){var a,b=0;return(a={next:a=function(a){if(void 0!==a)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(b===d.length){if(e)return new a9("fulfilled",{done:!0,value:void 0},null);d[b]=new a9("pending",null,null)}return d[b++]}})[r]=bw,a},bu(a,b,c=c?g[r]():g,{enqueueModel:function(b){f===d.length?d[f]=bf(a,b,!1):bg(a,d[f],b,!1),f++},close:function(b){if(!e)for(e=!0,f===d.length?d[f]=bf(a,b,!0):bg(a,d[f],b,!0),f++;f<d.length;)bg(a,d[f++],'"$undefined"',!0)},error:function(b){if(!e)for(e=!0,f===d.length&&(d[f]=new a9("pending",null,null));f<d.length;)bc(a,d[f++],b)}}),c}function by(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:new FormData;return{_bundlerConfig:a,_prefix:b,_formData:d,_chunks:new Map,_closed:!1,_closedReason:null,_temporaryReferences:c}}function bz(a){bk(a,Error("Connection closed."))}function bA(a,b,c){var d=a2(a,b);return a=a6(d),c?Promise.all([c,a]).then(function(a){a=a[0];var b=a7(d);return b.bind.apply(b,[null].concat(a))}):a?Promise.resolve(a).then(function(){return a7(d)}):Promise.resolve(a7(d))}function bB(a,b,c){if(bz(a=by(b,c,void 0,a)),(a=bl(a,0)).then(function(){}),"fulfilled"!==a.status)throw a.reason;return a.value}b.createClientModuleProxy=function(a){return new Proxy(a=E({},a,!1),M)},b.createTemporaryReferenceSet=function(){return new WeakMap},b.decodeAction=function(a,b){var c=new FormData,d=null;return a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e=bB(a,b,e="$ACTION_"+f.slice(12)+":"),d=bA(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(d=bA(b,e=f.slice(11),null)):c.append(f,e)}),null===d?null:d.then(function(a){return a.bind(null,c)})},b.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!=typeof d)return Promise.resolve(null);var e=null;if(b.forEach(function(a,d){d.startsWith("$ACTION_REF_")&&(e=bB(b,c,"$ACTION_"+d.slice(12)+":"))}),null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(b){return null===b?null:[a,d,f,b.length-1]})},b.decodeReply=function(a,b,c){if("string"==typeof a){var d=new FormData;d.append("0",a),a=d}return b=bl(a=by(b,"",c?c.temporaryReferences:void 0,a),0),bz(a),b},b.decodeReplyFromAsyncIterable=function(a,b,c){function d(a){bk(f,a),"function"==typeof e.throw&&e.throw(a).then(d,d)}var e=a[r](),f=by(b,"",c?c.temporaryReferences:void 0);return e.next().then(function a(b){if(b.done)bz(f);else{var c=(b=b.value)[0];if("string"==typeof(b=b[1])){f._formData.append(c,b);var g=f._prefix;if(c.startsWith(g)){var h=f._chunks;c=+c.slice(g.length),(h=h.get(c))&&be(f,h,b,c)}}else f._formData.append(c,b);e.next().then(a,d)}},d),bl(f,0)},b.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)},b.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:D},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:H,configurable:!0},toString:I})},b.renderToReadableStream=function(a,b,c){var d=new aq(20,a,b,c?c.onError:void 0,c?c.onPostpone:void 0,U,U,c?c.identifierPrefix:void 0,c?c.temporaryReferences:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)a1(d,e.reason);else{var f=function(){a1(d,e.reason),e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){aZ(d)},pull:function(a){a0(d,a)},cancel:function(a){d.destination=null,a1(d,a)}},{highWaterMark:0})},b.unstable_prerender=function(a,b,c){return new Promise(function(d,e){var f=new aq(21,a,b,c?c.onError:void 0,c?c.onPostpone:void 0,function(){d({prelude:new ReadableStream({type:"bytes",pull:function(a){a0(f,a)},cancel:function(a){f.destination=null,a1(f,a)}},{highWaterMark:0})})},e,c?c.identifierPrefix:void 0,c?c.temporaryReferences:void 0);if(c&&c.signal){var g=c.signal;if(g.aborted)a1(f,g.reason);else{var h=function(){a1(f,g.reason),g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}aZ(f)})}}},a=>{var b=a(a.s=8995);(_ENTRIES="undefined"==typeof _ENTRIES?{}:_ENTRIES)["middleware_src/middleware"]=b}]);
|
|
13
|
+
`)}}let r="_N_T_",s={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"};function t(a){var b,c,d,e,f,g=[],h=0;function i(){for(;h<a.length&&/\s/.test(a.charAt(h));)h+=1;return h<a.length}for(;h<a.length;){for(b=h,f=!1;i();)if(","===(c=a.charAt(h))){for(d=h,h+=1,i(),e=h;h<a.length&&"="!==(c=a.charAt(h))&&";"!==c&&","!==c;)h+=1;h<a.length&&"="===a.charAt(h)?(f=!0,h=e,g.push(a.substring(b,d)),b=h):h=d+1}else h+=1;(!f||h>=a.length)&&g.push(a.substring(b,a.length))}return g}function u(a){let b={},c=[];if(a)for(let[d,e]of a.entries())"set-cookie"===d.toLowerCase()?(c.push(...t(e)),b[d]=1===c.length?c[0]:c):b[d]=e;return b}function v(a){try{return String(new URL(String(a)))}catch(b){throw Object.defineProperty(Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:b}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}({...s,GROUP:{builtinReact:[s.reactServerComponents,s.actionBrowser],serverOnly:[s.reactServerComponents,s.actionBrowser,s.instrument,s.middleware],neutralTarget:[s.apiNode,s.apiEdge],clientOnly:[s.serverSideRendering,s.appPagesBrowser],bundled:[s.reactServerComponents,s.actionBrowser,s.serverSideRendering,s.appPagesBrowser,s.shared,s.instrument,s.middleware],appPages:[s.reactServerComponents,s.serverSideRendering,s.appPagesBrowser,s.actionBrowser]}});let w=Symbol("response"),x=Symbol("passThrough"),y=Symbol("waitUntil");class z{constructor(a,b){this[x]=!1,this[y]=b?{kind:"external",function:b}:{kind:"internal",promises:[]}}respondWith(a){this[w]||(this[w]=Promise.resolve(a))}passThroughOnException(){this[x]=!0}waitUntil(a){if("external"===this[y].kind)return(0,this[y].function)(a);this[y].promises.push(a)}}class A extends z{constructor(a){var b;super(a.request,null==(b=a.context)?void 0:b.waitUntil),this.sourcePage=a.page}get request(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}function B(a){return a.replace(/\/$/,"")||"/"}function C(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c<b);return d||b>-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}function D(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:d,hash:e}=C(a);return""+b+c+d+e}function E(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:d,hash:e}=C(a);return""+c+b+d+e}function F(a,b){if("string"!=typeof a)return!1;let{pathname:c}=C(a);return c===b||c.startsWith(b+"/")}let G=new WeakMap;function H(a,b){let c;if(!b)return{pathname:a};let d=G.get(b);d||(d=b.map(a=>a.toLowerCase()),G.set(b,d));let e=a.split("/",2);if(!e[1])return{pathname:a};let f=e[1].toLowerCase(),g=d.indexOf(f);return g<0?{pathname:a}:(c=b[g],{pathname:a=a.slice(c.length+1)||"/",detectedLocale:c})}let I=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function J(a,b){return new URL(String(a).replace(I,"localhost"),b&&String(b).replace(I,"localhost"))}let K=Symbol("NextURLInternal");class L{constructor(a,b,c){let d,e;"object"==typeof b&&"pathname"in b||"string"==typeof b?(d=b,e=c||{}):e=c||b||{},this[K]={url:J(a,d??e.base),options:e,basePath:""},this.analyze()}analyze(){var a,b,c,d,e;let f=function(a,b){var c,d;let{basePath:e,i18n:f,trailingSlash:g}=null!=(c=b.nextConfig)?c:{},h={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):g};e&&F(h.pathname,e)&&(h.pathname=function(a,b){if(!F(a,b))return a;let c=a.slice(b.length);return c.startsWith("/")?c:"/"+c}(h.pathname,e),h.basePath=e);let i=h.pathname;if(h.pathname.startsWith("/_next/data/")&&h.pathname.endsWith(".json")){let a=h.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");h.buildId=a[0],i="index"!==a[1]?"/"+a.slice(1).join("/"):"/",!0===b.parseData&&(h.pathname=i)}if(f){let a=b.i18nProvider?b.i18nProvider.analyze(h.pathname):H(h.pathname,f.locales);h.locale=a.detectedLocale,h.pathname=null!=(d=a.pathname)?d:h.pathname,!a.detectedLocale&&h.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(i):H(i,f.locales)).detectedLocale&&(h.locale=a.detectedLocale)}return h}(this[K].url.pathname,{nextConfig:this[K].options.nextConfig,parseData:!0,i18nProvider:this[K].options.i18nProvider}),g=function(a,b){let c;if((null==b?void 0:b.host)&&!Array.isArray(b.host))c=b.host.toString().split(":",1)[0];else{if(!a.hostname)return;c=a.hostname}return c.toLowerCase()}(this[K].url,this[K].options.headers);this[K].domainLocale=this[K].options.i18nProvider?this[K].options.i18nProvider.detectDomainLocale(g):function(a,b,c){if(a)for(let f of(c&&(c=c.toLowerCase()),a)){var d,e;if(b===(null==(d=f.domain)?void 0:d.split(":",1)[0].toLowerCase())||c===f.defaultLocale.toLowerCase()||(null==(e=f.locales)?void 0:e.some(a=>a.toLowerCase()===c)))return f}}(null==(b=this[K].options.nextConfig)||null==(a=b.i18n)?void 0:a.domains,g);let h=(null==(c=this[K].domainLocale)?void 0:c.defaultLocale)||(null==(e=this[K].options.nextConfig)||null==(d=e.i18n)?void 0:d.defaultLocale);this[K].url.pathname=f.pathname,this[K].defaultLocale=h,this[K].basePath=f.basePath??"",this[K].buildId=f.buildId,this[K].locale=f.locale??h,this[K].trailingSlash=f.trailingSlash}formatPathname(){var a;let b;return b=function(a,b,c,d){if(!b||b===c)return a;let e=a.toLowerCase();return!d&&(F(e,"/api")||F(e,"/"+b.toLowerCase()))?a:D(a,"/"+b)}((a={basePath:this[K].basePath,buildId:this[K].buildId,defaultLocale:this[K].options.forceLocale?void 0:this[K].defaultLocale,locale:this[K].locale,pathname:this[K].url.pathname,trailingSlash:this[K].trailingSlash}).pathname,a.locale,a.buildId?void 0:a.defaultLocale,a.ignorePrefix),(a.buildId||!a.trailingSlash)&&(b=B(b)),a.buildId&&(b=E(D(b,"/_next/data/"+a.buildId),"/"===a.pathname?"index.json":".json")),b=D(b,a.basePath),!a.buildId&&a.trailingSlash?b.endsWith("/")?b:E(b,"/"):B(b)}formatSearch(){return this[K].url.search}get buildId(){return this[K].buildId}set buildId(a){this[K].buildId=a}get locale(){return this[K].locale??""}set locale(a){var b,c;if(!this[K].locale||!(null==(c=this[K].options.nextConfig)||null==(b=c.i18n)?void 0:b.locales.includes(a)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${a}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[K].locale=a}get defaultLocale(){return this[K].defaultLocale}get domainLocale(){return this[K].domainLocale}get searchParams(){return this[K].url.searchParams}get host(){return this[K].url.host}set host(a){this[K].url.host=a}get hostname(){return this[K].url.hostname}set hostname(a){this[K].url.hostname=a}get port(){return this[K].url.port}set port(a){this[K].url.port=a}get protocol(){return this[K].url.protocol}set protocol(a){this[K].url.protocol=a}get href(){let a=this.formatPathname(),b=this.formatSearch();return`${this.protocol}//${this.host}${a}${b}${this.hash}`}set href(a){this[K].url=J(a),this.analyze()}get origin(){return this[K].url.origin}get pathname(){return this[K].url.pathname}set pathname(a){this[K].url.pathname=a}get hash(){return this[K].url.hash}set hash(a){this[K].url.hash=a}get search(){return this[K].url.search}set search(a){this[K].url.search=a}get password(){return this[K].url.password}set password(a){this[K].url.password=a}get username(){return this[K].url.username}set username(a){this[K].url.username=a}get basePath(){return this[K].basePath}set basePath(a){this[K].basePath=a.startsWith("/")?a:`/${a}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new L(String(this),this[K].options)}}var M=c(2347);let N=Symbol("internal request");class O extends Request{constructor(a,b={}){let c="string"!=typeof a&&"url"in a?a.url:String(a);v(c),a instanceof Request?super(a,b):super(c,b);let d=new L(c,{headers:u(this.headers),nextConfig:b.nextConfig});this[N]={cookies:new M.RequestCookies(this.headers),nextUrl:d,url:d.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[N].cookies}get nextUrl(){return this[N].nextUrl}get page(){throw new p}get ua(){throw new q}get url(){return this[N].url}}class P{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}let Q=Symbol("internal response"),R=new Set([301,302,303,307,308]);function S(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class T extends Response{constructor(a,b={}){super(a,b);let c=this.headers,d=new Proxy(new M.ResponseCookies(c),{get(a,d,e){switch(d){case"delete":case"set":return(...e)=>{let f=Reflect.apply(a[d],a,e),g=new Headers(c);return f instanceof M.ResponseCookies&&c.set("x-middleware-set-cookie",f.getAll().map(a=>(0,M.stringifyCookie)(a)).join(",")),S(b,g),f};default:return P.get(a,d,e)}}});this[Q]={cookies:d,url:b.url?new L(b.url,{headers:u(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[Q].cookies}static json(a,b){let c=Response.json(a,b);return new T(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!R.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",v(a)),new T(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",v(a)),S(b,c),new T(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),S(a,b),new T(null,{...a,headers:b})}}function U(a,b){let c="string"==typeof b?new URL(b):b,d=new URL(a,b),e=d.origin===c.origin;return{url:e?d.toString().slice(c.origin.length):d.toString(),isRelative:e}}let V="next-router-prefetch",W=["rsc","next-router-state-tree",V,"next-hmr-refresh","next-router-segment-prefetch"],X="_rsc";class Y extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new Y}}class Z extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,d){if("symbol"==typeof c)return P.get(b,c,d);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);if(void 0!==f)return P.get(b,f,d)},set(b,c,d,e){if("symbol"==typeof c)return P.set(b,c,d,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);return P.set(b,g??c,d,e)},has(b,c){if("symbol"==typeof c)return P.has(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0!==e&&P.has(b,e)},deleteProperty(b,c){if("symbol"==typeof c)return P.deleteProperty(b,c);let d=c.toLowerCase(),e=Object.keys(a).find(a=>a.toLowerCase()===d);return void 0===e||P.deleteProperty(b,e)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return Y.callable;default:return P.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new Z(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}var $=c(5341);class _ extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new _}}class aa{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return _.callable;default:return P.get(a,b,c)}}})}}let ab=Symbol.for("next.mutated.cookies");class ac{static wrap(a,b){let c=new M.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let d=[],e=new Set,f=()=>{let a=$.J.getStore();if(a&&(a.pathWasRevalidated=!0),d=c.getAll().filter(a=>e.has(a.name)),b){let a=[];for(let b of d){let c=new M.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},g=new Proxy(c,{get(a,b,c){switch(b){case ab:return d;case"delete":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),g}finally{f()}};case"set":return function(...b){e.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),g}finally{f()}};default:return P.get(a,b,c)}}});return g}}function ad(a){return"action"===a.phase}function ae(a,b){if(!ad(a))throw new _}var af=function(a){return a.handleRequest="BaseServer.handleRequest",a.run="BaseServer.run",a.pipe="BaseServer.pipe",a.getStaticHTML="BaseServer.getStaticHTML",a.render="BaseServer.render",a.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",a.renderToResponse="BaseServer.renderToResponse",a.renderToHTML="BaseServer.renderToHTML",a.renderError="BaseServer.renderError",a.renderErrorToResponse="BaseServer.renderErrorToResponse",a.renderErrorToHTML="BaseServer.renderErrorToHTML",a.render404="BaseServer.render404",a}(af||{}),ag=function(a){return a.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",a.loadComponents="LoadComponents.loadComponents",a}(ag||{}),ah=function(a){return a.getRequestHandler="NextServer.getRequestHandler",a.getServer="NextServer.getServer",a.getServerRequestHandler="NextServer.getServerRequestHandler",a.createServer="createServer.createServer",a}(ah||{}),ai=function(a){return a.compression="NextNodeServer.compression",a.getBuildId="NextNodeServer.getBuildId",a.createComponentTree="NextNodeServer.createComponentTree",a.clientComponentLoading="NextNodeServer.clientComponentLoading",a.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",a.generateStaticRoutes="NextNodeServer.generateStaticRoutes",a.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",a.generatePublicRoutes="NextNodeServer.generatePublicRoutes",a.generateImageRoutes="NextNodeServer.generateImageRoutes.route",a.sendRenderResult="NextNodeServer.sendRenderResult",a.proxyRequest="NextNodeServer.proxyRequest",a.runApi="NextNodeServer.runApi",a.render="NextNodeServer.render",a.renderHTML="NextNodeServer.renderHTML",a.imageOptimizer="NextNodeServer.imageOptimizer",a.getPagePath="NextNodeServer.getPagePath",a.getRoutesManifest="NextNodeServer.getRoutesManifest",a.findPageComponents="NextNodeServer.findPageComponents",a.getFontManifest="NextNodeServer.getFontManifest",a.getServerComponentManifest="NextNodeServer.getServerComponentManifest",a.getRequestHandler="NextNodeServer.getRequestHandler",a.renderToHTML="NextNodeServer.renderToHTML",a.renderError="NextNodeServer.renderError",a.renderErrorToHTML="NextNodeServer.renderErrorToHTML",a.render404="NextNodeServer.render404",a.startResponse="NextNodeServer.startResponse",a.route="route",a.onProxyReq="onProxyReq",a.apiResolver="apiResolver",a.internalFetch="internalFetch",a}(ai||{}),aj=function(a){return a.startServer="startServer.startServer",a}(aj||{}),ak=function(a){return a.getServerSideProps="Render.getServerSideProps",a.getStaticProps="Render.getStaticProps",a.renderToString="Render.renderToString",a.renderDocument="Render.renderDocument",a.createBodyResult="Render.createBodyResult",a}(ak||{}),al=function(a){return a.renderToString="AppRender.renderToString",a.renderToReadableStream="AppRender.renderToReadableStream",a.getBodyResult="AppRender.getBodyResult",a.fetch="AppRender.fetch",a}(al||{}),am=function(a){return a.executeRoute="Router.executeRoute",a}(am||{}),an=function(a){return a.runHandler="Node.runHandler",a}(an||{}),ao=function(a){return a.runHandler="AppRouteRouteHandlers.runHandler",a}(ao||{}),ap=function(a){return a.generateMetadata="ResolveMetadata.generateMetadata",a.generateViewport="ResolveMetadata.generateViewport",a}(ap||{}),aq=function(a){return a.execute="Middleware.execute",a}(aq||{});let ar=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],as=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"];function at(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}let{context:au,propagation:av,trace:aw,SpanStatusCode:ax,SpanKind:ay,ROOT_CONTEXT:az}=d=c(2407);class aA extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}let aB=(a,b)=>{(function(a){return"object"==typeof a&&null!==a&&a instanceof aA})(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:ax.ERROR,message:null==b?void 0:b.message})),a.end()},aC=new Map,aD=d.createContextKey("next.rootSpanId"),aE=0,aF={set(a,b,c){a.push({key:b,value:c})}};class aG{getTracerInstance(){return aw.getTracer("next.js","0.0.1")}getContext(){return au}getTracePropagationData(){let a=au.active(),b=[];return av.inject(a,b,aF),b}getActiveScopeSpan(){return aw.getSpan(null==au?void 0:au.active())}withPropagatedContext(a,b,c){let d=au.active();if(aw.getSpanContext(d))return b();let e=av.extract(d,a,c);return au.with(e,b)}trace(...a){var b;let[c,d,e]=a,{fn:f,options:g}="function"==typeof d?{fn:d,options:{}}:{fn:e,options:{...d}},h=g.spanName??c;if(!ar.includes(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||g.hideSpan)return f();let i=this.getSpanContext((null==g?void 0:g.parentSpan)??this.getActiveScopeSpan()),j=!1;i?(null==(b=aw.getSpanContext(i))?void 0:b.isRemote)&&(j=!0):(i=(null==au?void 0:au.active())??az,j=!0);let k=aE++;return g.attributes={"next.span_name":h,"next.span_type":c,...g.attributes},au.with(i.setValue(aD,k),()=>this.getTracerInstance().startActiveSpan(h,g,a=>{let b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,d=()=>{aC.delete(k),b&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&as.includes(c||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()})};j&&aC.set(k,new Map(Object.entries(g.attributes??{})));try{if(f.length>1)return f(a,b=>aB(a,b));let b=f(a);if(at(b))return b.then(b=>(a.end(),b)).catch(b=>{throw aB(a,b),b}).finally(d);return a.end(),d(),b}catch(b){throw aB(a,b),d(),b}}))}wrap(...a){let b=this,[c,d,e]=3===a.length?a:[a[0],{},a[1]];return ar.includes(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof e&&(a=a.apply(this,arguments));let f=arguments.length-1,g=arguments[f];if("function"!=typeof g)return b.trace(c,a,()=>e.apply(this,arguments));{let d=b.getContext().bind(au.active(),g);return b.trace(c,a,(a,b)=>(arguments[f]=function(a){return null==b||b(a),d.apply(this,arguments)},e.apply(this,arguments)))}}:e}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?aw.setSpan(au.active(),a):void 0}getRootSpanAttributes(){let a=au.active().getValue(aD);return aC.get(a)}setRootSpanAttribute(a,b){let c=au.active().getValue(aD),d=aC.get(c);d&&d.set(a,b)}}let aH=(()=>{let a=new aG;return()=>a})(),aI="__prerender_bypass";Symbol("__next_preview_data"),Symbol(aI);class aJ{constructor(a,b,c,d){var e;let f=a&&function(a,b){let c=Z.from(a.headers);return{isOnDemandRevalidate:c.get("x-prerender-revalidate")===b.previewModeId,revalidateOnlyGenerated:c.has("x-prerender-revalidate-if-generated")}}(b,a).isOnDemandRevalidate,g=null==(e=c.get(aI))?void 0:e.value;this._isEnabled=!!(!f&&g&&a&&g===a.previewModeId),this._previewModeId=null==a?void 0:a.previewModeId,this._mutableCookies=d}get isEnabled(){return this._isEnabled}enable(){if(!this._previewModeId)throw Object.defineProperty(Error("Invariant: previewProps missing previewModeId this should never happen"),"__NEXT_ERROR_CODE",{value:"E93",enumerable:!1,configurable:!0});this._mutableCookies.set({name:aI,value:this._previewModeId,httpOnly:!0,sameSite:"none",secure:!0,path:"/"}),this._isEnabled=!0}disable(){this._mutableCookies.set({name:aI,value:"",httpOnly:!0,sameSite:"none",secure:!0,path:"/",expires:new Date(0)}),this._isEnabled=!1}}function aK(a,b){if("x-middleware-set-cookie"in a.headers&&"string"==typeof a.headers["x-middleware-set-cookie"]){let c=a.headers["x-middleware-set-cookie"],d=new Headers;for(let a of t(c))d.append("set-cookie",a);for(let a of new M.ResponseCookies(d).getAll())b.set(a)}}var aL=c(5658),aM=c(9549),aN=c.n(aM),aO=c(3937);class aP{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class aQ{constructor(){this.prev=null,this.next=null}}class aR{constructor(a,b){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.head=new aQ,this.tail=new aQ,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let c=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(c>this.maxSize)return void console.warn("Single item size exceeds maxSize");let d=this.cache.get(a);if(d)d.data=b,this.totalSize=this.totalSize-d.size+c,d.size=c,this.moveToHead(d);else{let d=new aP(a,b,c);this.cache.set(a,d),this.addToHead(d),this.totalSize+=c}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}c(5356).Buffer,new aR(0x3200000,a=>a.size),process.env.NEXT_PRIVATE_DEBUG_CACHE&&console.debug.bind(console,"DefaultCacheHandler:"),process.env.NEXT_PRIVATE_DEBUG_CACHE&&((a,...b)=>{console.log(`use-cache: ${a}`,...b)}),Symbol.for("@next/cache-handlers");let aS=Symbol.for("@next/cache-handlers-map"),aT=Symbol.for("@next/cache-handlers-set"),aU=globalThis;function aV(){if(aU[aS])return aU[aS].entries()}async function aW(a,b){if(!a)return b();let c=aX(a);try{return await b()}finally{let b=function(a,b){let c=new Set(a.pendingRevalidatedTags),d=new Set(a.pendingRevalidateWrites);return{pendingRevalidatedTags:b.pendingRevalidatedTags.filter(a=>!c.has(a)),pendingRevalidates:Object.fromEntries(Object.entries(b.pendingRevalidates).filter(([b])=>!(b in a.pendingRevalidates))),pendingRevalidateWrites:b.pendingRevalidateWrites.filter(a=>!d.has(a))}}(c,aX(a));await aZ(a,b)}}function aX(a){return{pendingRevalidatedTags:a.pendingRevalidatedTags?[...a.pendingRevalidatedTags]:[],pendingRevalidates:{...a.pendingRevalidates},pendingRevalidateWrites:a.pendingRevalidateWrites?[...a.pendingRevalidateWrites]:[]}}async function aY(a,b){if(0===a.length)return;let c=[];b&&c.push(b.revalidateTag(a));let d=function(){if(aU[aT])return aU[aT].values()}();if(d)for(let b of d)c.push(b.expireTags(...a));await Promise.all(c)}async function aZ(a,b){let c=(null==b?void 0:b.pendingRevalidatedTags)??a.pendingRevalidatedTags??[],d=(null==b?void 0:b.pendingRevalidates)??a.pendingRevalidates??{},e=(null==b?void 0:b.pendingRevalidateWrites)??a.pendingRevalidateWrites??[];return Promise.all([aY(c,a.incrementalCache),...Object.values(d),...e])}let a$=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class a_{disable(){throw a$}getStore(){}run(){throw a$}exit(){throw a$}enterWith(){throw a$}static bind(a){return a}}let a0="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage,a1=a0?new a0:new a_;class a2{constructor({waitUntil:a,onClose:b,onTaskError:c}){this.workUnitStores=new Set,this.waitUntil=a,this.onClose=b,this.onTaskError=c,this.callbackQueue=new(aN()),this.callbackQueue.pause()}after(a){if(at(a))this.waitUntil||a3(),this.waitUntil(a.catch(a=>this.reportTaskError("promise",a)));else if("function"==typeof a)this.addCallback(a);else throw Object.defineProperty(Error("`after()`: Argument must be a promise or a function"),"__NEXT_ERROR_CODE",{value:"E50",enumerable:!1,configurable:!0})}addCallback(a){var b;this.waitUntil||a3();let c=aL.FP.getStore();c&&this.workUnitStores.add(c);let d=a1.getStore(),e=d?d.rootTaskSpawnPhase:null==c?void 0:c.phase;this.runCallbacksOnClosePromise||(this.runCallbacksOnClosePromise=this.runCallbacksOnClose(),this.waitUntil(this.runCallbacksOnClosePromise));let f=(b=async()=>{try{await a1.run({rootTaskSpawnPhase:e},()=>a())}catch(a){this.reportTaskError("function",a)}},a0?a0.bind(b):a_.bind(b));this.callbackQueue.add(f)}async runCallbacksOnClose(){return await new Promise(a=>this.onClose(a)),this.runCallbacks()}async runCallbacks(){if(0===this.callbackQueue.size)return;for(let a of this.workUnitStores)a.phase="after";let a=$.J.getStore();if(!a)throw Object.defineProperty(new aO.z("Missing workStore in AfterContext.runCallbacks"),"__NEXT_ERROR_CODE",{value:"E547",enumerable:!1,configurable:!0});return aW(a,()=>(this.callbackQueue.start(),this.callbackQueue.onIdle()))}reportTaskError(a,b){if(console.error("promise"===a?"A promise passed to `after()` rejected:":"An error occurred in a function passed to `after()`:",b),this.onTaskError)try{null==this.onTaskError||this.onTaskError.call(this,b)}catch(a){console.error(Object.defineProperty(new aO.z("`onTaskError` threw while handling an error thrown from an `after` task",{cause:a}),"__NEXT_ERROR_CODE",{value:"E569",enumerable:!1,configurable:!0}))}}}function a3(){throw Object.defineProperty(Error("`after()` will not work correctly, because `waitUntil` is not available in the current environment."),"__NEXT_ERROR_CODE",{value:"E91",enumerable:!1,configurable:!0})}function a4(a){let b,c={then:(d,e)=>(b||(b=a()),b.then(a=>{c.value=a}).catch(()=>{}),b.then(d,e))};return c}class a5{onClose(a){if(this.isClosed)throw Object.defineProperty(Error("Cannot subscribe to a closed CloseController"),"__NEXT_ERROR_CODE",{value:"E365",enumerable:!1,configurable:!0});this.target.addEventListener("close",a),this.listeners++}dispatchClose(){if(this.isClosed)throw Object.defineProperty(Error("Cannot close a CloseController multiple times"),"__NEXT_ERROR_CODE",{value:"E229",enumerable:!1,configurable:!0});this.listeners>0&&this.target.dispatchEvent(new Event("close")),this.isClosed=!0}constructor(){this.target=new EventTarget,this.listeners=0,this.isClosed=!1}}function a6(){return{previewModeId:process.env.__NEXT_PREVIEW_MODE_ID||"",previewModeSigningKey:process.env.__NEXT_PREVIEW_MODE_SIGNING_KEY||"",previewModeEncryptionKey:process.env.__NEXT_PREVIEW_MODE_ENCRYPTION_KEY||""}}let a7=Symbol.for("@next/request-context");async function a8(a,b,c){let d=[],e=c&&c.size>0;for(let b of(a=>{let b=["/layout"];if(a.startsWith("/")){let c=a.split("/");for(let a=1;a<c.length+1;a++){let d=c.slice(0,a).join("/");d&&(d.endsWith("/page")||d.endsWith("/route")||(d=`${d}${!d.endsWith("/")?"/":""}layout`),b.push(d))}}return b})(a))b=`${r}${b}`,d.push(b);if(b.pathname&&!e){let a=`${r}${b.pathname}`;d.push(a)}return{tags:d,expirationsByCacheKind:function(a){let b=new Map,c=aV();if(c)for(let[d,e]of c)"getExpiration"in e&&b.set(d,a4(async()=>e.getExpiration(...a)));return b}(d)}}class a9 extends O{constructor(a){super(a.input,a.init),this.sourcePage=a.page}get request(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}respondWith(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}waitUntil(){throw Object.defineProperty(new o({page:this.sourcePage}),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}let ba={keys:a=>Array.from(a.keys()),get:(a,b)=>a.get(b)??void 0},bb=(a,b)=>aH().withPropagatedContext(a.headers,b,ba),bc=!1;async function bd(a){var b;let d,e;if(!bc&&(bc=!0,"true"===process.env.NEXT_PRIVATE_TEST_PROXY)){let{interceptTestApis:a,wrapRequestHandler:b}=c(1064);a(),bb=b(bb)}await m();let f=void 0!==globalThis.__BUILD_MANIFEST;a.request.url=a.request.url.replace(/\.rsc($|\?)/,"$1");let g=a.bypassNextUrl?new URL(a.request.url):new L(a.request.url,{headers:a.request.headers,nextConfig:a.request.nextConfig});for(let a of[...g.searchParams.keys()]){let b=g.searchParams.getAll(a),c=function(a){for(let b of["nxtP","nxtI"])if(a!==b&&a.startsWith(b))return a.substring(b.length);return null}(a);if(c){for(let a of(g.searchParams.delete(c),b))g.searchParams.append(c,a);g.searchParams.delete(a)}}let h=process.env.__NEXT_BUILD_ID||"";"buildId"in g&&(h=g.buildId||"",g.buildId="");let i=function(a){let b=new Headers;for(let[c,d]of Object.entries(a))for(let a of Array.isArray(d)?d:[d])void 0!==a&&("number"==typeof a&&(a=a.toString()),b.append(c,a));return b}(a.request.headers),j=i.has("x-nextjs-data"),k="1"===i.get("rsc");j&&"/index"===g.pathname&&(g.pathname="/");let l=new Map;if(!f)for(let a of W){let b=i.get(a);null!==b&&(l.set(a,b),i.delete(a))}let n=g.searchParams.get(X),o=new a9({page:a.page,input:(function(a){let b="string"==typeof a,c=b?new URL(a):a;return c.searchParams.delete(X),b?c.toString():c})(g).toString(),init:{body:a.request.body,headers:i,method:a.request.method,nextConfig:a.request.nextConfig,signal:a.request.signal}});j&&Object.defineProperty(o,"__isData",{enumerable:!1,value:!0}),!globalThis.__incrementalCacheShared&&a.IncrementalCache&&(globalThis.__incrementalCache=new a.IncrementalCache({CurCacheHandler:a.incrementalCacheHandler,minimalMode:!0,fetchCacheKeyPrefix:"",dev:!1,requestHeaders:a.request.headers,getPrerenderManifest:()=>({version:-1,routes:{},dynamicRoutes:{},notFoundRoutes:[],preview:a6()})}));let p=a.request.waitUntil??(null==(b=function(){let a=globalThis[a7];return null==a?void 0:a.get()}())?void 0:b.waitUntil),q=new A({request:o,page:a.page,context:p?{waitUntil:p}:void 0});if((d=await bb(o,()=>{if("/middleware"===a.page||"/src/middleware"===a.page){let b=q.waitUntil.bind(q),c=new a5;return aH().trace(aq.execute,{spanName:`middleware ${o.method} ${o.nextUrl.pathname}`,attributes:{"http.target":o.nextUrl.pathname,"http.method":o.method}},async()=>{try{var d,f,g,i,j,k;let l=a6(),m=await a8("/",o.nextUrl,null),n=(j=o.nextUrl,k=a=>{e=a},function(a,b,c,d,e,f,g,h,i,j,k,l){function m(a){c&&c.setHeader("Set-Cookie",a)}let n={};return{type:"request",phase:a,implicitTags:f,url:{pathname:d.pathname,search:d.search??""},rootParams:e,get headers(){return n.headers||(n.headers=function(a){let b=Z.from(a);for(let a of W)b.delete(a);return Z.seal(b)}(b.headers)),n.headers},get cookies(){if(!n.cookies){let a=new M.RequestCookies(Z.from(b.headers));aK(b,a),n.cookies=aa.seal(a)}return n.cookies},set cookies(value){n.cookies=value},get mutableCookies(){if(!n.mutableCookies){let a=function(a,b){let c=new M.RequestCookies(Z.from(a));return ac.wrap(c,b)}(b.headers,g||(c?m:void 0));aK(b,a),n.mutableCookies=a}return n.mutableCookies},get userspaceMutableCookies(){return n.userspaceMutableCookies||(n.userspaceMutableCookies=function(a){let b=new Proxy(a.mutableCookies,{get(c,d,e){switch(d){case"delete":return function(...d){return ae(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return ae(a,"cookies().set"),c.set(...d),b};default:return P.get(c,d,e)}}});return b}(this)),n.userspaceMutableCookies},get draftMode(){return n.draftMode||(n.draftMode=new aJ(i,b,this.cookies,this.mutableCookies)),n.draftMode},renderResumeDataCache:h??null,isHmrRefresh:j,serverComponentsHmrCache:k||globalThis.__serverComponentsHmrCache,devFallbackParams:null}}("action",o,void 0,j,{},m,k,void 0,l,!1,void 0,null)),p=function({page:a,renderOpts:b,isPrefetchRequest:c,buildId:d,previouslyRevalidatedTags:e}){var f;let g=!b.shouldWaitOnAllReady&&!b.supportsDynamicResponse&&!b.isDraftMode&&!b.isPossibleServerAction,h=b.dev??!1,i=h||g&&(!!process.env.NEXT_DEBUG_BUILD||"1"===process.env.NEXT_SSG_FETCH_METRICS),j={isStaticGeneration:g,page:a,route:(f=a.split("/").reduce((a,b,c,d)=>b?"("===b[0]&&b.endsWith(")")||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:a+"/"+b:a,"")).startsWith("/")?f:"/"+f,incrementalCache:b.incrementalCache||globalThis.__incrementalCache,cacheLifeProfiles:b.cacheLifeProfiles,isRevalidate:b.isRevalidate,isBuildTimePrerendering:b.nextExport,hasReadableErrorStacks:b.hasReadableErrorStacks,fetchCache:b.fetchCache,isOnDemandRevalidate:b.isOnDemandRevalidate,isDraftMode:b.isDraftMode,isPrefetchRequest:c,buildId:d,reactLoadableManifest:(null==b?void 0:b.reactLoadableManifest)||{},assetPrefix:(null==b?void 0:b.assetPrefix)||"",afterContext:function(a){let{waitUntil:b,onClose:c,onAfterTaskError:d}=a;return new a2({waitUntil:b,onClose:c,onTaskError:d})}(b),cacheComponentsEnabled:b.experimental.cacheComponents,dev:h,previouslyRevalidatedTags:e,refreshTagsByCacheKind:function(){let a=new Map,b=aV();if(b)for(let[c,d]of b)"refreshTags"in d&&a.set(c,a4(async()=>d.refreshTags()));return a}(),runInCleanSnapshot:a0?a0.snapshot():function(a,...b){return a(...b)},shouldTrackFetchMetrics:i};return b.store=j,j}({page:"/",renderOpts:{cacheLifeProfiles:null==(f=a.request.nextConfig)||null==(d=f.experimental)?void 0:d.cacheLife,experimental:{isRoutePPREnabled:!1,cacheComponents:!1,authInterrupts:!!(null==(i=a.request.nextConfig)||null==(g=i.experimental)?void 0:g.authInterrupts)},supportsDynamicResponse:!0,waitUntil:b,onClose:c.onClose.bind(c),onAfterTaskError:void 0},isPrefetchRequest:"1"===o.headers.get(V),buildId:h??"",previouslyRevalidatedTags:[]});return await $.J.run(p,()=>aL.FP.run(n,a.handler,o,q))}finally{setTimeout(()=>{c.dispatchClose()},0)}})}return a.handler(o,q)}))&&!(d instanceof Response))throw Object.defineProperty(TypeError("Expected an instance of Response to be returned"),"__NEXT_ERROR_CODE",{value:"E567",enumerable:!1,configurable:!0});d&&e&&d.headers.set("set-cookie",e);let r=null==d?void 0:d.headers.get("x-middleware-rewrite");if(d&&r&&(k||!f)){let b=new L(r,{forceLocale:!0,headers:a.request.headers,nextConfig:a.request.nextConfig});f||b.host!==o.nextUrl.host||(b.buildId=h||b.buildId,d.headers.set("x-middleware-rewrite",String(b)));let{url:c,isRelative:e}=U(b.toString(),g.toString());!f&&j&&d.headers.set("x-nextjs-rewrite",c),k&&e&&(g.pathname!==b.pathname&&d.headers.set("x-nextjs-rewritten-path",b.pathname),g.search!==b.search&&d.headers.set("x-nextjs-rewritten-query",b.search.slice(1)))}if(d&&r&&k&&n){let a=new URL(r);a.searchParams.has(X)||(a.searchParams.set(X,n),d.headers.set("x-middleware-rewrite",a.toString()))}let s=null==d?void 0:d.headers.get("Location");if(d&&s&&!f){let b=new L(s,{forceLocale:!1,headers:a.request.headers,nextConfig:a.request.nextConfig});d=new Response(d.body,d),b.host===g.host&&(b.buildId=h||b.buildId,d.headers.set("Location",b.toString())),j&&(d.headers.delete("Location"),d.headers.set("x-nextjs-redirect",U(b.toString(),g.toString()).url))}let t=d||T.next(),u=t.headers.get("x-middleware-override-headers"),v=[];if(u){for(let[a,b]of l)t.headers.set(`x-middleware-request-${a}`,b),v.push(a);v.length>0&&t.headers.set("x-middleware-override-headers",u+","+v.join(","))}return{response:t,waitUntil:("internal"===q[y].kind?Promise.all(q[y].promises).then(()=>{}):void 0)??Promise.resolve(),fetchMetrics:o.fetchMetrics}}c(497),"undefined"==typeof URLPattern||URLPattern;var be=c(5563),bf=c(2099),bg=c(5514);function bh(){let a=a1.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}c(2318);let{env:bi,stdout:bj}=(null==(f=globalThis)?void 0:f.process)??{},bk=bi&&!bi.NO_COLOR&&(bi.FORCE_COLOR||(null==bj?void 0:bj.isTTY)&&!bi.CI&&"dumb"!==bi.TERM),bl=(a,b,c,d)=>{let e=a.substring(0,d)+c,f=a.substring(d+b.length),g=f.indexOf(b);return~g?e+bl(f,b,c,g):e+f},bm=(a,b,c=a)=>bk?d=>{let e=""+d,f=e.indexOf(b,a.length);return~f?a+bl(e,b,c,f)+b:a+e+b}:String,bn=bm("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m");bm("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),bm("\x1b[3m","\x1b[23m"),bm("\x1b[4m","\x1b[24m"),bm("\x1b[7m","\x1b[27m"),bm("\x1b[8m","\x1b[28m"),bm("\x1b[9m","\x1b[29m"),bm("\x1b[30m","\x1b[39m");let bo=bm("\x1b[31m","\x1b[39m"),bp=bm("\x1b[32m","\x1b[39m"),bq=bm("\x1b[33m","\x1b[39m");bm("\x1b[34m","\x1b[39m");let br=bm("\x1b[35m","\x1b[39m");bm("\x1b[38;2;173;127;168m","\x1b[39m"),bm("\x1b[36m","\x1b[39m");let bs=bm("\x1b[37m","\x1b[39m");function bt(a){var b,c;return{...a,localePrefix:"object"==typeof(c=a.localePrefix)?c:{mode:c||"always"},localeCookie:!!((b=a.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof b&&b},localeDetection:a.localeDetection??!0,alternateLinks:a.alternateLinks??!0}}bm("\x1b[90m","\x1b[39m"),bm("\x1b[40m","\x1b[49m"),bm("\x1b[41m","\x1b[49m"),bm("\x1b[42m","\x1b[49m"),bm("\x1b[43m","\x1b[49m"),bm("\x1b[44m","\x1b[49m"),bm("\x1b[45m","\x1b[49m"),bm("\x1b[46m","\x1b[49m"),bm("\x1b[47m","\x1b[49m"),bs(bn("○")),bo(bn("⨯")),bq(bn("⚠")),bs(bn(" ")),bp(bn("✓")),br(bn("\xbb")),new aR(1e4,a=>a.length),new WeakMap;let bu="X-NEXT-INTL-LOCALE";function bv(a){return("object"==typeof a?null==a.host&&null==a.hostname:!/^[a-z]+:/i.test(a))&&!function(a){let b="object"==typeof a?a.pathname:a;return null!=b&&!b.startsWith("/")}(a)}function bw(a,b){let c=a;return/^\/(\?.*)?$/.test(b)&&(b=b.slice(1)),c+=b}function bx(a,b,c){return"string"==typeof a?a:a[b]||c}function by(a){let b=function(){try{return"true"===process.env._next_intl_trailing_slash}catch{return!1}}(),[c,...d]=a.split("#"),e=d.join("#"),f=c;if("/"!==f){let a=f.endsWith("/");b&&!a?f+="/":!b&&a&&(f=f.slice(0,-1))}return e&&(f+="#"+e),f}function bz(a,b){let c=by(a),d=by(b);return bB(c).test(d)}function bA(a,b){return"never"!==b.mode&&b.prefixes?.[a]||"/"+a}function bB(a){let b=a.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${b}$`)}function bC(a){return a.includes("[[...")}function bD(a){return a.includes("[...")}function bE(a){return a.includes("[")}function bF(a,b){let c=a.split("/"),d=b.split("/"),e=Math.max(c.length,d.length);for(let a=0;a<e;a++){let b=c[a],e=d[a];if(!b&&e)return -1;if(b&&!e)return 1;if(b||e){if(!bE(b)&&bE(e))return -1;if(bE(b)&&!bE(e))return 1;if(!bD(b)&&bD(e))return -1;if(bD(b)&&!bD(e))return 1;if(!bC(b)&&bC(e))return -1;if(bC(b)&&!bC(e))return 1}}return 0}function bG(a){return"function"==typeof a.then}function bH(a,b,c,d){let e="";return e+=function(a,b){if(!b)return a;let c=a=a.replace(/\[\[/g,"[").replace(/\]\]/g,"]");return Object.entries(b).forEach(([a,b])=>{c=c.replace(`[${a}]`,b)}),c}(c,function(a,b){let c=by(b),d=by(a),e=bB(d).exec(c);if(!e)return;let f={},g=d.match(/\[([^\]]+)\]/g)??[];for(let a=1;a<e.length;a++){let b=g[a-1];if(!b)continue;let c=b.replace(/[[\]]/g,""),d=e[a]??"";f[c]=d}return f}(b,a)),e=by(e)}function bI(a,b,c){a.endsWith("/")||(a+="/");let d=bJ(b,c),e=RegExp(`^(${d.map(([,a])=>a.replaceAll("/","\\/")).join("|")})/(.*)`,"i"),f=a.match(e),g=f?"/"+f[2]:a;return"/"!==g&&(g=by(g)),g}function bJ(a,b,c=!0){let d=a.map(a=>[a,bA(a,b)]);return c&&d.sort((a,b)=>b[1].length-a[1].length),d}function bK(a,b,c,d){let e=bJ(b,c);for(let[b,c]of(d&&e.sort(([a],[b])=>{if(a===d.defaultLocale)return -1;if(b===d.defaultLocale)return 1;let c=d.locales.includes(a),e=d.locales.includes(b);return c&&!e?-1:!c&&e?1:0}),e)){let d,e;if(a===c||a.startsWith(c+"/"))d=e=!0;else{let b=a.toLowerCase(),f=c.toLowerCase();(b===f||b.startsWith(f+"/"))&&(d=!1,e=!0)}if(e)return{locale:b,prefix:c,matchedPrefix:a.slice(0,c.length),exact:d}}}function bL(a,b,c){let d=a;return b&&(d=bw(b,d)),c&&(d+=c),d}function bM(a){return a.get("x-forwarded-host")??a.get("host")??void 0}function bN(a,b){return b.defaultLocale===a||b.locales.includes(a)}function bO(a,b,c){let d;return a&&bN(b,a)&&(d=a),d||(d=c.find(a=>a.defaultLocale===b)),d||(d=c.find(a=>a.locales.includes(b))),d}function bP(a,b){let c=b&&b.cache?b.cache:bU,d=b&&b.serializer?b.serializer:bS;return(b&&b.strategy?b.strategy:function(a,b){var c,d;let e=1===a.length?bQ:bR;return c=b.cache.create(),d=b.serializer,e.bind(this,a,c,d)})(a,{cache:c,serializer:d})}function bQ(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function bR(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let bS=function(){return JSON.stringify(arguments)};var bT=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let bU={create:function(){return new bT}},bV={variadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,bR.bind(this,a,c,d)},monadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,bQ.bind(this,a,c,d)}},bW={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},bX={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},bY=/-u(?:-[0-9a-z]{2,8})+/gi;function bZ(a,b,c=Error){if(!a)throw new c(b)}function b$(a,b,c){let[d,e,f]=b.split("-"),g=!0;if(f&&"$"===f[0]){let b="!"!==f[1],d=(b?c[f.slice(1)]:c[f.slice(2)]).map(a=>bX[a]||[a]).reduce((a,b)=>[...a,...b],[]);g&&=d.indexOf(a.region||"")>-1==b}else g&&=!a.region||"*"===f||f===a.region;return g&&=!a.script||"*"===e||e===a.script,g&&=!a.language||"*"===d||d===a.language}function b_(a){return[a.language,a.script,a.region].filter(Boolean).join("-")}function b0(a,b,c){for(let d of c.matches){let e=b$(a,d.desired,c.matchVariables)&&b$(b,d.supported,c.matchVariables);if(d.oneway||e||(e=b$(a,d.supported,c.matchVariables)&&b$(b,d.desired,c.matchVariables)),e){let e=10*d.distance;if(c.paradigmLocales.indexOf(b_(a))>-1!=c.paradigmLocales.indexOf(b_(b))>-1)return e-1;return e}}throw Error("No matching distance found")}let b1=bP(function(a,b){let c=new Intl.Locale(a).maximize(),d=new Intl.Locale(b).maximize(),f={language:c.language,script:c.script||"",region:c.region||""},g={language:d.language,script:d.script||"",region:d.region||""},h=0,i=function(){if(!e){let a=bW.supplemental.languageMatching["written-new"][0]?.paradigmLocales?._locales.split(" "),b=bW.supplemental.languageMatching["written-new"].slice(1,5);e={matches:bW.supplemental.languageMatching["written-new"].slice(5).map(a=>{let b=Object.keys(a)[0],c=a[b];return{supported:b,desired:c._desired,distance:+c._distance,oneway:"true"===c.oneway}},{}),matchVariables:b.reduce((a,b)=>{let c=Object.keys(b)[0],d=b[c];return a[c.slice(1)]=d._value.split("+"),a},{}),paradigmLocales:[...a,...a.map(a=>new Intl.Locale(a.replace(/_/g,"-")).maximize().toString())]}}return e}();return f.language!==g.language&&(h+=b0({language:c.language,script:"",region:""},{language:d.language,script:"",region:""},i)),f.script!==g.script&&(h+=b0({language:c.language,script:f.script,region:""},{language:d.language,script:g.script,region:""},i)),f.region!==g.region&&(h+=b0(f,g,i)),h},{serializer:a=>`${a[0]}|${a[1]}`}),b2=new WeakMap;function b3(a){return Intl.getCanonicalLocales(a)[0]}let b4=new WeakMap;var b5=c(5281);function b6(a,b,c){let d,e=new b5({headers:{"accept-language":a.get("accept-language")||void 0}}).languages();try{var f;let a=b.slice().sort((a,b)=>b.length-a.length);f=function(a,b,c,d,e,f){let g,h;null==(g="lookup"===c.localeMatcher?function(a,b,c){let d={locale:""};for(let c of b){let b=c.replace(bY,""),e=function(a,b){let c=b4.get(a);c||(c=new Set(a),b4.set(a,c));let d=b;for(;;){if(c.has(d))return d;let a=d.lastIndexOf("-");if(!~a)return;a>=2&&"-"===d[a-2]&&(a-=2),d=d.slice(0,a)}}(a,b);if(e)return d.locale=e,c!==b&&(d.extension=c.slice(b.length,c.length)),d}return d.locale=c(),d}(Array.from(a),b,f):function(a,b,c){let d,e,f=[],g=b.reduce((a,b)=>{let c=b.replace(bY,"");return f.push(c),a[c]=b,a},{}),h=function(a,b,c=838){let d=1/0,e={matchedDesiredLocale:"",distances:{}},f=b2.get(b);f||(f=b.map(a=>{try{return Intl.getCanonicalLocales([a])[0]||a}catch{return a}}),b2.set(b,f));let g=new Set(f);for(let b=0;b<a.length;b++){let c=a[b];if(g.has(c)){let a=0+40*b;if(e.distances[c]={[c]:a},a<d&&(d=a,e.matchedDesiredLocale=c,e.matchedSupportedLocale=c),0===b)return e}}for(let b=0;b<a.length;b++){let c=a[b];try{let a=new Intl.Locale(c).maximize().toString();if(a!==c){let f=function(a){let b=[],c=a;for(;c;){b.push(c);let a=c.lastIndexOf("-");if(-1===a)break;c=c.substring(0,a)}return b}(a);for(let h=0;h<f.length;h++){let i=f[h];if(i!==c&&g.has(i)){let f;try{f=new Intl.Locale(i).maximize().toString()===a?0+40*b:10*h+40*b}catch{f=10*h+40*b}e.distances[c]||(e.distances[c]={}),e.distances[c][i]=f,f<d&&(d=f,e.matchedDesiredLocale=c,e.matchedSupportedLocale=i);break}}}}catch{}}return e.matchedSupportedLocale&&0===d||(d=1/0,a.forEach((a,c)=>{e.distances[a]||(e.distances[a]={}),f.forEach((f,g)=>{let h=b[g],i=b1(a,f)+0+40*c;e.distances[a][h]=i,i<d&&(d=i,e.matchedDesiredLocale=a,e.matchedSupportedLocale=h)})}),d>=c&&(e.matchedDesiredLocale=void 0,e.matchedSupportedLocale=void 0)),e}(f,a);return(h.matchedSupportedLocale&&h.matchedDesiredLocale&&(d=h.matchedSupportedLocale,e=g[h.matchedDesiredLocale].slice(h.matchedDesiredLocale.length)||void 0),d)?{locale:d,extension:e}:{locale:c()}}(Array.from(a),b,f))&&(g={locale:f(),extension:""});let i=g.locale,j=e[i],k={locale:"en",dataLocale:i};h=g.extension?function(a){let b;bZ(a===a.toLowerCase(),"Expected extension to be lowercase"),bZ("-u-"===a.slice(0,3),"Expected extension to be a Unicode locale extension");let c=[],d=[],e=a.length,f=3;for(;f<e;){let g,h=a.indexOf("-",f);g=-1===h?e-f:h-f;let i=a.slice(f,f+g);bZ(g>=2,"Expected a subtag to have at least 2 characters"),void 0===b&&2!=g?-1===c.indexOf(i)&&c.push(i):2===g?(b={key:i,value:""},void 0===d.find(a=>a.key===b?.key)&&d.push(b)):b?.value===""?b.value=i:(bZ(void 0!==b,"Expected keyword to be defined"),b.value+="-"+i),f+=g+1}return{attributes:c,keywords:d}}(g.extension).keywords:[];let l=[];for(let a of d){let b,d=j?.[a]??[];bZ(Array.isArray(d),`keyLocaleData for ${a} must be an array`);let e=d[0];bZ(void 0===e||"string"==typeof e,"value must be a string or undefined");let f=h.find(b=>b.key===a);if(f){let c=f.value;""!==c?d.indexOf(c)>-1&&(b={key:a,value:e=c}):d.indexOf("true")>-1&&(b={key:a,value:e="true"})}let g=c[a];bZ(null==g||"string"==typeof g,"optionsValue must be a string or undefined"),"string"==typeof g&&""===(g=function(a,b){let c=b.toLowerCase();return bZ(void 0!==a,"ukey must be defined"),c}(a.toLowerCase(),g))&&(g="true"),g!==e&&d.indexOf(g)>-1&&(e=g,b=void 0),b&&l.push(b),k[a]=e}return l.length>0&&(i=function(a,b,c){bZ(-1===a.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");let d="-u";for(let a of b)d+=`-${a}`;for(let a of c){let{key:b,value:c}=a;d+=`-${b}`,""!==c&&(d+=`-${c}`)}if("-u"===d)return b3(a);let e=a.indexOf("-x-");return b3(-1===e?a+d:a.slice(0,e)+d+a.slice(e))}(i,[],l)),k.locale=i,k}(a,Intl.getCanonicalLocales(e),{localeMatcher:"best fit"},[],{},()=>c).locale,d=b.find(a=>a.toLowerCase()===f.toLowerCase())}catch{}return d}function b7(a,b){if(a.localeCookie&&b.has(a.localeCookie.name)){let c=b.get(a.localeCookie.name)?.value;if(c&&a.locales.includes(c))return c}}function b8(a,b,c,d){let e;return d&&(e=bK(d,a.locales,a.localePrefix)?.locale),!e&&a.localeDetection&&(e=b7(a,c)),!e&&a.localeDetection&&(e=b6(b,a.locales,a.defaultLocale)),e||(e=a.defaultLocale),e}var b9=c(7074),ca=c(5232);let cb=c(2318).s;function cc(a,b,c){void 0===c&&(c=b9.Q.TemporaryRedirect);let d=Object.defineProperty(Error(ca.oJ),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=ca.oJ+";"+b+";"+a+";"+c+";",d}function cd(a,b){var c;throw null!=b||(b=(null==cb||null==(c=cb.getStore())?void 0:c.isAction)?ca.zB.push:ca.zB.replace),cc(a,b,b9.Q.TemporaryRedirect)}function ce(a,b){throw void 0===b&&(b=ca.zB.replace),cc(a,b,b9.Q.PermanentRedirect)}var cf=c(5922);let cg=""+cf.s8+";404";cf.s8,cf.s8,c(2955).X;var ch=c(7782),ci=c.t(ch,2)["use".trim()];let cj=(0,c(205).YR)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/node_modules/.pnpm/next-intl@4.13.0_next@15.5.9_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.1_59b1e7e26b60296b6c5b8adca4647323/node_modules/next-intl/dist/esm/production/navigation/shared/BaseLink.js\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/node_modules/.pnpm/next-intl@4.13.0_next@15.5.9_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.1_59b1e7e26b60296b6c5b8adca4647323/node_modules/next-intl/dist/esm/production/navigation/shared/BaseLink.js","default");function ck(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))Array.isArray(d)?d.forEach(a=>{b.append(c,String(a))}):b.set(c,String(d));return"?"+b.toString()}var cl=c(349),cm=function(a){return a.MISSING_MESSAGE="MISSING_MESSAGE",a.MISSING_FORMAT="MISSING_FORMAT",a.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",a.INSUFFICIENT_PATH="INSUFFICIENT_PATH",a.INVALID_MESSAGE="INVALID_MESSAGE",a.INVALID_KEY="INVALID_KEY",a.FORMATTING_ERROR="FORMATTING_ERROR",a}(cm||{});function cn(a,b){return bP((...b)=>new a(...b),{cache:{create:()=>({get:a=>b[a],set(a,c){b[a]=c}})},strategy:bV.variadic})}function co(a){return function(...a){return a.filter(Boolean).join(".")}(a.namespace,a.key)}function cp(a){console.error(a)}let cq={current:null},cr="function"==typeof ch.cache?ch.cache:a=>a,cs=console.warn;function ct(a){return function(...b){cs(a(...b))}}cr(a=>{try{cs(cq.current)}finally{cq.current=null}});new WeakMap;ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})});let cu=new WeakMap;function cv(a){let b=cu.get(a);if(b)return b;let c=Promise.resolve(a);return cu.set(a,c),Object.defineProperties(c,{append:{value:a.append.bind(a)},delete:{value:a.delete.bind(a)},get:{value:a.get.bind(a)},has:{value:a.has.bind(a)},set:{value:a.set.bind(a)},getSetCookie:{value:a.getSetCookie.bind(a)},forEach:{value:a.forEach.bind(a)},keys:{value:a.keys.bind(a)},values:{value:a.values.bind(a)},entries:{value:a.entries.bind(a)},[Symbol.iterator]:{value:a[Symbol.iterator].bind(a)}}),c}ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})}),c(3775),new WeakMap,ct(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})});let cw=(0,ch.cache)(function(){return{locale:void 0}}),cx=(0,ch.cache)(async function(){let a=function a(){let b="headers",c=$.J.getStore(),d=aL.FP.getStore();if(c){if(d&&"after"===d.phase&&!bh())throw Object.defineProperty(Error(`Route ${c.route} used "headers" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "headers" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E367",enumerable:!1,configurable:!0});if(c.forceStatic)return cv(Z.seal(new Headers({})));if(d)switch(d.type){case"cache":{let b=Object.defineProperty(Error(`Route ${c.route} used "headers" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E304",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,a),c.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${c.route} used "headers" inside "use cache: private". Accessing "headers" inside a private cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E742",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,a),c.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${c.route} used "headers" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "headers" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E127",enumerable:!1,configurable:!0})}if(c.dynamicShouldError)throw Object.defineProperty(new bf.f(`Route ${c.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E525",enumerable:!1,configurable:!0});if(d)switch(d.type){case"prerender":case"prerender-runtime":var e=c,f=d;let g=cu.get(f);if(g)return g;let h=(0,bg.W5)(f.renderSignal,e.route,"`headers()`");return cu.set(f,h),h;case"prerender-client":let i="`headers`";throw Object.defineProperty(new aO.z(`${i} must not be used within a client component. Next.js should be preventing ${i} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,be.Ui)(c.route,b,d.dynamicTracking);case"prerender-legacy":return(0,be.xI)(b,c,d);case"request":return(0,be.Pk)(d),cv(d.headers)}}(0,aL.M1)(b)}();return bG(a)?await a:a}),cy=(0,ch.cache)(async function(){let a;try{a=(await cx()).get(bu)||void 0}catch(a){if(a instanceof Error&&"DYNAMIC_SERVER_USAGE"===a.digest){let b=Error("Usage of next-intl APIs in Server Components currently opts into dynamic rendering. This limitation will eventually be lifted, but as a stopgap solution, you can use the `setRequestLocale` API to enable static rendering, see https://next-intl.dev/docs/routing/setup#static-rendering",{cause:a});throw b.digest=a.digest,b}throw a}return a});async function cz(){return cw().locale||await cy()}var cA=["title"],cB=["title"],cC=["title"],cD=["title"],cE=["title"],cF=["title"],cG=["title"],cH=["title"],cI=["title"],cJ=["title"],cK=["title"],cL=["title"],cM=["title"],cN=["title"],cO=["title"],cP=["title"],cQ=["title"];function cR(){return(cR=Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(this,arguments)}function cS(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c,d,e={},f=Object.keys(a);for(d=0;d<f.length;d++)c=f[d],b.indexOf(c)>=0||(e[c]=a[c]);return e}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],!(b.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}var cT=function(a){var b=a.title,c=cS(a,cA);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},cU=function(a){var b=a.title,c=cS(a,cB);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),ch.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},cV=function(a){var b=a.title,c=cS(a,cC);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},cW=function(a){var b=a.title,c=cS(a,cD);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),ch.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),ch.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),ch.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),ch.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),ch.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},cX=function(a){var b=a.title,c=cS(a,cE);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),ch.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},cY=function(a){var b=a.title,c=cS(a,cF);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},cZ=function(a){var b=a.title,c=cS(a,cG);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),ch.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),ch.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},c$=function(a){var b=a.title,c=cS(a,cH);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),ch.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},c_=function(a){var b=a.title,c=cS(a,cI);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M84.6 107.8 132 36.6m-29.7 83 47.4-71.1m-29.6 83 47.4-71.1m177.9 221.3 47.4-71.1m-29.6 82.9 47.4-71.1m-29.6 83 47.4-71.1M132 305.4l-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3-47.4-71.1m272.6-79.1-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3L381 36.6",stroke:"#000",strokeWidth:14.25}),ch.createElement("path",{d:"m357.3 238.2 59.3 39.5m-299.4-13.8L135 252m222.3-148.2L378 90m17.8-11.9 17.8-11.9",stroke:"#FFF",strokeWidth:12.5}),ch.createElement("circle",{fill:"#CA163A",cx:256.5,cy:171,r:85.5}),ch.createElement("path",{fill:"#0E4896",d:"M185.3 123.6c-13.1 19.6-7.8 46.2 11.9 59.3s46.2 7.8 59.3-11.9 39.6-24.9 59.3-11.9c19.6 13.1 24.9 39.6 11.9 59.3-26.2 39.3-79.3 49.9-118.6 23.7s-49.9-79.3-23.8-118.5z"}))},c0=function(a){var b=a.title,c=cS(a,cJ);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),ch.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),ch.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},c1=function(a){var b=a.title,c=cS(a,cK);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#dc143c",d:"M0 171h513v171H0z"}))},c2=function(a){var b=a.title,c=cS(a,cL);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),ch.createElement("path",{fill:"#0039a6",d:"M0 114h513v114H0z"}),ch.createElement("path",{fill:"#d52b1e",d:"M0 228h513v114H0z"}))},c3=function(a){var b=a.title,c=cS(a,cM);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),ch.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},c4=function(a){var b=a.title,c=cS(a,cN);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),ch.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},c5=function(a){var b=a.title,c=cS(a,cO);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),ch.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),ch.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),ch.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),ch.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},c6=function(a){var b=a.title,c=cS(a,cP);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),ch.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},c7=function(a){var b=a.title,c=cS(a,cQ);return ch.createElement("svg",cR({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},c),b&&ch.createElement("title",null,b),ch.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),ch.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),ch.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),ch.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))};function c8(){return{en:{name:"English",code:"en_us",file:"en_US",icon:c7},cs:{name:"Čeština",code:"cs_cz",file:"cs_CZ",icon:cU},de:{name:"Deutsch",code:"de_de",file:"de_DE",icon:cV},es:{name:"Espa\xf1ol",code:"es_es",file:"es_ES",crowdin:"es-ES",icon:cW},fr:{name:"Fran\xe7ais",code:"fr_fr",file:"fr_FR",icon:cX},hu:{name:"Magyar",code:"hu_hu",file:"hu_HU",icon:cY},it:{name:"Italiano",code:"it_it",file:"it_IT",icon:cZ},ja:{name:"日本語",code:"ja_jp",file:"ja_JP",icon:c$},ko:{name:"한국어",code:"ko_kr",file:"ko_KR",icon:c_},ms:{name:"Bahasa Melayu",code:"ms_my",file:"ms_MY",icon:c0},"ms-Arab":{name:"بهاس ملايو",code:"zml_arab",file:"ms_Arab",prefix:"ms_Ar",icon:c0,rtl:!0},pl:{name:"Polski",code:"pl_pl",file:"pl_PL",icon:c1},ru:{name:"Русский",code:"ru_ru",file:"ru_RU",icon:c2},sv:{name:"Svenska",code:"sv_se",file:"sv_SE",crowdin:"sv-SE",icon:c3},tr:{name:"T\xfcrk\xe7e",code:"tr_tr",file:"tr_TR",icon:c4},uk:{name:"Українська",code:"uk_ua",file:"uk_UA",icon:c6},"zh-CN":{name:"简体中文",code:"zh_cn",file:"zh_CN",prefix:"zh_cn",icon:cT},"zh-TW":{name:"繁體中文",code:"zh_tw",file:"zh_TW",prefix:"zh_tw",icon:c5}}}let c9={getNextIntlLocales:function(){return Object.keys(c8())},getPathPrefixes:function(){return Object.entries(c8()).filter(a=>void 0!==a[1].prefix).reduce((a,b)=>({...a,[b[0]]:"/"+b[1].prefix}),{})},getForUrlParam:function(a){return Object.entries(c8()).find(b=>b[0]===a||b[1].prefix===a)?.[1]}};var da=c(2587),db=c.n(da);let dc=async({requestLocale:a})=>{let b=await a??"en",d=c9.getForUrlParam(b);d||(console.error("Locale not found:",b),function(){let a=Object.defineProperty(Error(cg),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=cg,a}());let e=(await c(8994)(`./${d.file}.json`)).default,f=(await Promise.resolve().then(c.t.bind(c,9286,19))).default;return{locale:b,messages:db()(f,e)}},dd=(0,ch.cache)(function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}),de=(0,ch.cache)(async function(a,b){let c=a({locale:b,get requestLocale(){return b?Promise.resolve(b):cz()}});if(bG(c)&&(c=await c),!c.locale)throw Error("No locale was returned from `getRequestConfig`.\n\nSee https://next-intl.dev/docs/usage/configuration#i18n-request");return c}),df=(0,ch.cache)(function(a){return{getDateTimeFormat:cn(Intl.DateTimeFormat,a.dateTime),getNumberFormat:cn(Intl.NumberFormat,a.number),getPluralRules:cn(Intl.PluralRules,a.pluralRules),getRelativeTimeFormat:cn(Intl.RelativeTimeFormat,a.relativeTime),getListFormat:cn(Intl.ListFormat,a.list),getDisplayNames:cn(Intl.DisplayNames,a.displayNames)}}),dg=(0,ch.cache)(function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}),dh=(0,ch.cache)(async function(a){let b=await de(dc,a);return{...function({formats:a,getMessageFallback:b,messages:c,onError:d,...e}){return{...e,formats:a||void 0,messages:c||void 0,onError:d||cp,getMessageFallback:b||co}}(b),_formatters:df(dg()),timeZone:b.timeZone||dd()}});async function di(){return(await dh()).locale}let dj={locales:c9.getNextIntlLocales(),defaultLocale:"en",localePrefix:{mode:"always",prefixes:c9.getPathPrefixes()}},{Link:dk,redirect:dl,usePathname:dm,useRouter:dn}=function(a){let{config:b,...c}=function(a,b){let c=bt(b||{}),d=c.pathnames,e=(0,ch.forwardRef)(function({href:b,locale:e,...g},h){let i,j;"object"==typeof b?(i=b.pathname,j=b.params):i=b;let k=bv(b),l=a(),m=bG(l)?ci(l):l,n=k?f({locale:e||m,href:null==d?i:{pathname:i,params:j},forcePrefix:null!=e||void 0}):i;return(0,cl.jsx)(cj,{ref:h,href:"object"==typeof b?{...b,pathname:n}:n,locale:e,localeCookie:c.localeCookie,...g})});function f(a){let b,{forcePrefix:e,href:f,locale:g}=a;return null==d?"object"==typeof f?(b=f.pathname,f.query&&(b+=ck(f.query))):b=f:b=function({pathname:a,locale:b,params:c,pathnames:d,query:e}){function f(a){let f,g=d[a];return g?(f=bx(g,b,a),c&&Object.entries(c).forEach(([a,b])=>{let c,d;Array.isArray(b)?(c=`(\\[)?\\[...${a}\\](\\])?`,d=b.map(a=>String(a)).join("/")):(c=`\\[${a}\\]`,d=String(b)),f=f.replace(RegExp(c,"g"),d)}),f=new URL(f=f.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):f=a,f=by(f),e&&(f+=ck(e)),f}if("string"==typeof a)return f(a);{let{pathname:b,...c}=a;return{...c,pathname:f(b)}}}({locale:g,..."string"==typeof f?{pathname:f}:f,pathnames:c.pathnames}),function(a,b,c,d){let e,{mode:f}=c.localePrefix;if(void 0!==d)e=d;else if(bv(a)){let a=c.domains?.find(a=>a.locales.includes(b)),d=a?.localePrefix||f;"always"===d?e=!0:"as-needed"===d&&(e=a?b!==a.defaultLocale:b!==c.defaultLocale)}return e?bw(bA(b,c.localePrefix),a):a}(b,g,c,e)}function g(a){return function(b,...c){return a(f(b),...c)}}return{config:c,Link:e,redirect:g(cd),permanentRedirect:g(ce),getPathname:f}}(di,a);function d(a){return()=>{throw Error(`\`${a}\` is not supported in Server Components. You can use this hook if you convert the calling component to a Client Component.`)}}return{...c,usePathname:d("usePathname"),useRouter:d("useRouter")}}(dj),dp={getSessionCookieName:function(){return process.env.SESSION_COOKIE_NAME??""}},dq={isAuthenticated:function(a){return a.has(dp.getSessionCookieName())}};function dr(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)"__proto__"!==d&&(a[d]=c[d])}return a}!function a(b,c){function d(a,d,e){if("undefined"!=typeof document){"number"==typeof(e=dr({},c,e)).expires&&(e.expires=new Date(Date.now()+864e5*e.expires)),e.expires&&(e.expires=e.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var f="";for(var g in e)e[g]&&(f+="; "+g,!0!==e[g]&&(f+="="+e[g].split(";")[0]));return document.cookie=a+"="+b.write(d,a)+f}}return Object.create({set:d,get:function(a){if("undefined"!=typeof document&&(!arguments.length||a)){for(var c=document.cookie?document.cookie.split("; "):[],d={},e=0;e<c.length;e++){var f=c[e].split("="),g=f.slice(1).join("=");try{var h=decodeURIComponent(f[0]);if(h in d||(d[h]=b.read(g,h)),a===h)break}catch(a){}}return a?d[a]:d}},remove:function(a,b){d(a,"",dr({},b,{expires:-1}))},withAttributes:function(b){return a(this.converter,dr({},this.attributes,b))},withConverter:function(b){return a(dr({},this.converter,b),this.attributes)}},{attributes:{value:Object.freeze(c)},converter:{value:Object.freeze(b)}})}({read:function(a){return'"'===a[0]&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let ds=function(a){let b=bt(a);return function(a){var c,d;let e;try{e=decodeURI(a.nextUrl.pathname)}catch{return T.next()}let f=e.replace(/\\/g,"%5C").replace(/[\t\n\r]/g,"").replace(/\/+/g,"/"),{domain:g,locale:h}=(c=a.headers,d=a.cookies,b.domains?function(a,b,c,d){let e,f=function(a,b){let c=bM(a);if(c)return b.find(a=>a.domain===c)}(b,a.domains);if(!f)return{locale:b8(a,b,c,d)};if(d){let b=bK(d,a.locales,a.localePrefix,f)?.locale;if(b){if(!bN(b,f))return{locale:b,domain:f};e=b}}if(!e&&a.localeDetection){let b=b7(a,c);b&&bN(b,f)&&(e=b)}if(!e&&a.localeDetection){let a=b6(b,f.locales,f.defaultLocale);a&&(e=a)}return e||(e=f.defaultLocale),{locale:e,domain:f}}(b,c,d,f):{locale:b8(b,c,d,f)}),i=g?g.defaultLocale===h:h===b.defaultLocale,j=b.domains?.filter(a=>bN(h,a))||[],k=null!=b.domains&&!g;function l(b){var c;let d=new URL(b,a.url);a.nextUrl.basePath&&(c=d.pathname,d.pathname=by(a.nextUrl.basePath+c));let e=new Headers(a.headers);return e.set(bu,h),by(a.nextUrl.pathname)!==by(d.pathname)?T.rewrite(d,{request:{headers:e}}):T.next({request:{headers:e}})}function m(c,d){var e;let f=new URL(c,a.url);if(f.pathname=by(f.pathname),j.length>0&&!d&&g){let a=bO(g,h,j);if(a){d=a.domain;let c=a.localePrefix||b.localePrefix.mode;a.defaultLocale===h&&"as-needed"===c&&(f.pathname=bI(f.pathname,b.locales,b.localePrefix))}}return d&&(f.host=d,a.headers.get("x-forwarded-host"))&&(f.protocol=a.headers.get("x-forwarded-proto")??a.nextUrl.protocol,f.port=d.split(":")[1]??a.headers.get("x-forwarded-port")??""),a.nextUrl.basePath&&(e=f.pathname,f.pathname=by(a.nextUrl.basePath+e)),u=!0,T.redirect(f.toString())}let n=bI(f,b.locales,b.localePrefix),o=bK(f,b.locales,b.localePrefix,g),p=null!=o,q=g?.localePrefix||b.localePrefix.mode,r="never"===q||i&&"as-needed"===q,s,t,u,v=n,w=b.pathnames;if(w){let c;if([c,t]=function(a,b,c){for(let d of Object.keys(a).sort(bF)){let e=a[d];if("string"==typeof e){if(bz(e,b))return[void 0,d]}else{let f=Object.entries(e),g=f.findIndex(([a])=>a===c);for(let[c]of(g>0&&f.unshift(f.splice(g,1)[0]),f))if(bz(bx(a[d],c,d),b))return[c,d]}}for(let c of Object.keys(a))if(bz(c,b))return[void 0,c];return[void 0,void 0]}(w,n,h),t){let d=w[t],e=bx(d,h,t);if(bz(e,n))v=bH(n,e,t);else{let f;f=c?bx(d,c,t):t;let g=r?void 0:bA(h,b.localePrefix);s=m(bL(bH(n,f,e),g,a.nextUrl.search))}}}if(!s)if("/"!==v||p){let c=bL(v,`/${h}`,a.nextUrl.search);if(p){let d=bL(n,o.prefix,a.nextUrl.search);if("never"===q)s=m(bL(n,void 0,a.nextUrl.search));else if(o.exact)if(i&&r)s=m(bL(n,void 0,a.nextUrl.search));else if(b.domains){let a=bO(g,o.locale,j);s=g?.domain===a?.domain||k?l(c):m(d,a?.domain)}else s=l(c);else s=m(d)}else s=r?l(c):m(bL(n,bA(h,b.localePrefix),a.nextUrl.search))}else s=r?l(bL(v,`/${h}`,a.nextUrl.search)):m(bL(n,bA(h,b.localePrefix),a.nextUrl.search));return function(a,b,c,d,e){if(!d.localeCookie)return;let{name:f,...g}=d.localeCookie,h=a.cookies.has(f);h&&a.cookies.get(f)?.value!==c?b.cookies.set(f,c,{path:a.nextUrl.basePath||void 0,...g}):h||b6(a.headers,e?.locales||d.locales,d.defaultLocale)===c||b.cookies.set(f,c,{path:a.nextUrl.basePath||void 0,...g})}(a,s,h,b,g),!u&&"never"!==q&&b.alternateLinks&&b.locales.length>1&&s.headers.set("Link",function({internalTemplateName:a,localizedPathnames:b,request:c,resolvedLocale:d,routing:e}){let f=c.nextUrl.clone(),g=bM(c.headers);function h(a,b){var d;return a.pathname=by(a.pathname),c.nextUrl.basePath&&((a=new URL(a)).pathname=(d=a.pathname,by(c.nextUrl.basePath+d))),`<${a.toString()}>; rel="alternate"; hreflang="${b}"`}function i(c,e){return b&&"object"==typeof b?bH(c,b[d]??a,b[e]??a):c}g&&(f.port="",f.host=g),f.protocol=c.headers.get("x-forwarded-proto")??f.protocol,f.pathname=bI(f.pathname,e.locales,e.localePrefix);let j=bJ(e.locales,e.localePrefix,!1).flatMap(([a,c])=>{let d;function g(a){return"/"===a?c:c+a}if(e.domains)return e.domains.filter(b=>bN(a,b)).map(b=>{(d=new URL(f)).port="",d.host=b.domain,d.pathname=i(f.pathname,a);let c=b.localePrefix||e.localePrefix.mode;return a===b.defaultLocale&&"always"!==c||(d.pathname=g(d.pathname)),h(d,a)});{let c;c=b&&"object"==typeof b?i(f.pathname,a):f.pathname,a===e.defaultLocale&&"always"!==e.localePrefix.mode||(c=g(c)),d=new URL(c,f)}return h(d,a)});if(!e.domains||0===e.domains.length){let a=i(f.pathname,e.defaultLocale);if(a){let b=new URL(a,f);j.push(h(b,"x-default"))}}return j.join(", ")}({routing:b,internalTemplateName:t,localizedPathnames:null!=t&&w?w[t]:void 0,request:a,resolvedLocale:h})),s}}(dj),dt={matcher:["/((?:admin|dev|report).*|(?!api|blog|_vercel/insights|_vercel/speed-insights|_next/static|_next/image|static/.+|opengraph-image|favicon.ico|robots.txt|sitemap.xml|.*\\.png$)(?:(?=.*:)|(?!(?:en|de|fr|es|it|cs|hu|pl|ms|ms_Ar|tr|sv|uk|ru|ja|ko|zh_cn|zh_tw)(?:(?!/admin|/dev|/report)|$))).*)"]};async function du(a,b){let c=a.nextUrl.pathname.match(/^\/([^/]+)\/project\/([^/]+)\/([^/]+)\/content\/([^/]*:[^/]*)$/);if(c){let[,b,d,e,f]=c,g=f.replace(/.*:/,""),h=`/${b}/project/${d}/${e}/content/${g}`;return T.redirect(new URL(h,a.url))}if(a.nextUrl.pathname.match(/^(\/[^/]+)?\/(?:dev|admin|report)/)){let b=ds(a);return 200!==b.status||dq.isAuthenticated(a.cookies)?b:T.redirect(new URL("/auth/login",a.url))}let d=ds(a),e=a.headers.get("x-vercel-ip-country");return e&&d.cookies.set("wiki-user-country",e,{path:"/"}),d}c(4552);let dv={...g},dw=dv.middleware||dv.default,dx="/src/middleware";if("function"!=typeof dw)throw Object.defineProperty(Error(`The Middleware "${dx}" must export a \`middleware\` or a \`default\` function`),"__NEXT_ERROR_CODE",{value:"E120",enumerable:!1,configurable:!0});function dy(a){return bd({...a,page:dx,handler:async(...a)=>{try{return await dw(...a)}catch(e){let b=a[0],c=new URL(b.url),d=c.pathname+c.search;throw await k(e,{path:d,method:b.method,headers:Object.fromEntries(b.headers.entries())},{routerKind:"Pages Router",routePath:"/middleware",routeType:"middleware",revalidateReason:void 0}),e}}})}},9286:a=>{"use strict";a.exports=JSON.parse('{"Badges":{"local":"Local","latest":"Latest","admin":"Admin"},"NavigationHeader":{"title":"Modded Minecraft Wiki","title_short":"Wiki","badge":{"preview":"PREVIEW MODE","beta":"Beta"},"link":{"home":"Home","browse":"Browse","about":"About"}},"NavigationFooter":{"title":"Modded Minecraft Wiki","links":{"navigation":{"title":"Navigation","home":"Homepage","browse":"Browse","dev":"Developers"},"links":{"title":"Links"},"resources":{"title":"Resources","blog":"Blog","status":"Status","translate":"Help us translate"},"about":{"title":"About","tos":"Terms of Service","privacy":"Privacy Policy","contact":"Contact"}}},"HomePage":{"title":"Welcome to the <highlight>Modded Minecraft Wiki</highlight>","subtitle":"Your go-to resource for discovering, creating, and contributing to Minecraft-related projects.","popular":{"title":"Popular Wikis","open":"Read more","disclaimer":"These projects are highlighted based on their popularity through view statistics and are not officially endorsed by Modded Minecraft Wiki."},"community":{"title":"Join Our Community","users":{"title":"Users","subtitle":"Explore our featured projects and enjoy these benefits:","docs":"Access high-quality, up-to-date and versioned documentation","contribute":"Contribute to projects without programming knowledge","ui":"Enjoy a consistent, user-friendly interface across all projects","localization":"Benefit from multi-language support"},"authors":{"title":"Authors","subtitle":"Get access to the Project Dashboard and enjoy these benefits:","vcs":"Versioning support for your documentation","components":"Built-in components for recipes, assets, etc.","gradle":"Gradle integration for seamless workflow","management":"Advanced project management tools","interaction":"Direct interaction with your user base","dashboard":"Open Dashboard","guide":"Read More"}},"browse":"Browse Projects","highlights":{"localization":{"title":"Localization","desc":"Translate your docs into world languages"},"accessibility":{"title":"Accessible","desc":"Intuitive and responsive user interface"},"open":{"title":"Open","desc":"Let your users contribute without any programming knowledge necessary"},"free":{"title":"Free","desc":"Hosting docs on our website is completely free of charge!"}},"about":{"title":"About Us","maintainers":"The Wiki is built and maintained by <b>Sinytra</b>, a dedicated team of passionate developers focused on delivering high-quality, Free and Open Source software for the Minecraft modding community.","mission":"Our goal is to empower modders and players alike by providing the tools and resources necessary to create, document, and explore the endless possibilities of modded Minecraft."},"blog":{"title":"Blog Posts","open":"Read More"}},"BrowsePage":{"sidebar":{"title":"Browse projects","search_filters":"Search filters...","categories":"Categories"},"sorting":"Sort by","sort":{"relevance":"Relevance","creation_date":"Creation date","popularity":"Popularity","az":"A-Z","za":"Z-A"},"search":"Search projects...","clear_filter":"Clear filters","no_results":"Search query returned no results!"},"SearchProjectTypes":{"mod":"Mods","modpack":"Modpacks","resourcepack":"Resource packs","datapack":"Data packs","shader":"Shaders","plugin":"Plugins"},"ProjectTypes":{"mod":"Mod","modpack":"Modpack","resourcepack":"Resource pack","datapack":"Data pack","shader":"Shader","plugin":"Plugin","unknown":"Unknown"},"LoadingContent":{"message":"Loading..."},"MetaDocsNavigation":{"title":"Navigation","about":"About","devs":"Author guide","components":"Components","help":"Get help","tos":"Terms of Use","privacy":"Privacy Policy","security":"Security Notice"},"Login":{"title":"Login required","desc":"The page you are trying to access requires you to log in.","prompt":"Please use your GitHub account to continue.","button":"Log in with GitHub"},"Preview":{"title":"Preview mode is enabled","desc":"Preview mode enables a minimal user interface, allowing you to focus on drafting your docs locally before they are published.","roots":"Available local documentation roots","open":"Open"},"DocsProjectInfo":{"title":"Project information","type":"Type","author":"Author","tags":"Tags","latest":{"title":"Latest version","unknown":"N/A"},"license":{"title":"License","custom":"Custom license","unknown":"Unknown","arr":"All Rights Reserved"}},"ProjectCategories":{"adventure":"Adventure","cursed":"Cursed","decoration":"Decoration","economy":"Economy","equipment":"Equipment","food":"Food","game-mechanics":"Game Mechanics","library":"Library","magic":"Magic","management":"Management","minigame":"Minigame","mobs":"Mobs","optimization":"Optimization","social":"Social","storage":"Storage","technology":"Technology","transportation":"Transporation","utility":"Utility","worldgen":"Worldgen","server-utility":"Server Utility","armor-weapons-tools":"Armor, Tools, and Weapons","library-api":"API and Library","adventure-rpg":"Adventure and RPG","world-gen":"World Gen","cosmetic":"Cosmetic","mc-food":"Food","performance":"Performance","map-information":"Map and Information","bug-fixes":"Bug Fixes","mc-addons":"Addons","education":"Education","mc-miscellaneous":"Miscellaneous","redstone":"Redstone","utility-qol":"Utility & QoL","mc-creator":"MCreator"},"PageEditControls":{"edit_gh":"Edit this page","report":"Report this page","report_button":"Report page","last_updated":"Last updated: <date></date>"},"Report":{"title":"Report a documentation page","desc":"Report content that violates our <tos>Terms of Service</tos> or <cr>Content Rules</cr>.","contact":"For auditing purposes, your <b>username</b> will be included in the report.","confidential":"Your privacy is important to us, and this information will always be kept confidential.","privacy":"For more information, please refer to our <link>Privacy Policy</link>.","form":{"id":{"title":"Project ID","desc":"Reported project ID."},"path":{"title":"Page path","desc":"Reported documentation page path."},"locale":{"title":"Locale","desc":"Applied if the content lies within a localized subpath.","placeholder":"N/A"},"version":{"title":"Version","desc":"Applied if the content lies within a named version.","placeholder":"N/A"},"reason":{"title":"Reason*","placeholder":"Select a reason for reporting this content","desc":"Reason for reporting this content.","dislike":"I just don\'t like it"},"details":{"title":"Details*","placeholder":"Please provide more details on why you\'re reporting this content. Note that empty reports will be ignored.","desc":"Additional details about the issue."},"dislike":{"title":"We understand that you may not like this content, and that\'s totally okay!","desc":"Unfortunately, however, it is not a valid reason to report a project.","suggestion":"Would you like to look for something else to explore instead?","explore":"Explore projects"},"submit":"Submit","success":"Report submitted successfully"}},"ProjectReportReason":{"spam":"Spam","copyright":"Copyright Infringement","content_rules":"Violates Content Rules","tos":"Violates Terms of Service","unknown":"Unknown"},"ProjectReportStatus":{"new":"New","dismissed":"Dismissed","accepted":"Accepted","unknown":"Unknown"},"ProjectReportType":{"project":"Project","docs":"Docs page","content":"Content page","unknown":"Unknown"},"ViewReportPage":{"reports":"Reports","title":"Report details","desc":"Viewing report details for {id}","details":{"reporter":"Reported by","project_id":"Project ID","path":"Path","body":"Body","reason":"Reason","created_at":"Created at","status":"Status","type":"Type","locale":"Locale","version":"Version"},"actions":{"dismiss":"Dismiss","accept":"Accept"},"toast":{"accept":"Report accepted","dismiss":"Report dismissed"}},"Callout":{"default":"Heads up!","info":"Info","warning":"Warning","danger":"Danger"},"ProjectRegisterForm":{"button":"New Project","title":"Register project","desc":"Register a new project to the wiki.","repo":{"title":"Repository URL","desc":"This is the address you use to clone your repository.","placeholder":"https://github.com/ExampleUser/ExampleMod"},"branch":{"title":"Branch","desc":"Primary branch ref. You can specify additional branches to include in your metadata file."},"path":{"title":"Path to documentation root","desc":"Path to the folder containing the metadata file."},"admin":"Wiki admin settings","is_community":{"title":"Community-maintained project"},"errors":{"details":"Show details"},"connect_modrinth":{"desc":"Connect your <b>Modrinth account</b> in Settings to easily verify platform project ownership at any time.","settings":"Open Settings"},"submit":"Submit","success":{"title":"Project registered successfully","desc":"You can now navigate to the project\'s docs page"},"submitting":"Submitting...","verify_modrinth":"Verify using Modrinth","submission":{"clone":"Cloning repository and verifying metadata.","note":"This may take a while for larger repositories. Please stand by."}},"ProjectDeleteForm":{"trigger":"Delete project","title":"Are you absolutely sure?","desc":"This action cannot be undone. This will permanently delete your project and remove all associated data from our servers.","cancel":"Cancel","submit":"Delete","success":"Project deleted successfully"},"FormActions":{"errors":{"unauthorized":"User authentication error","internal":"Internal Server Error, please try again later.","unknown":"An unknown error has occurred, please try again later.","no_platforms":"No platform projects defined in metadata.","no_project":"Platform project not found. Please make sure the metadata \\"platforms\\" field is correct.","unsupported_type":"Unsupported project type","ownership":"Failed to verify project ownership","cf_unavailable":"Registering CurseForge projects is not active","requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"Metadata file is invalid","unsupported":"Not yet implemented","exists":"Project already exists.","not_found":"Project does not exist","illegal_id":"Illegal project ID","not_owner":"User is not authorized to register this project","repo_too_large":"Repository exceeds maximum allowed size of 500MB","insufficient_permissions":"You don\'t have permission to perform this action","user_not_found":"User not found","duplicate_member":"Project member already exists","single_owner":"Cannot remove the only owner"},"get_help":"Find out more about this error in our <link>documentation</link>."},"CommunityBadge":{"title":"Community","desc":"Unofficial documentation maintained by the community"},"DocsPageNotFoundError":{"title":"We lost this page","desc":"The requested documentation page is not available at the moment.","suggestion":"Please try again later or report this issue to the project author.","submit":"Submit issue","return":"Return Home"},"GetStartedButton":{"title":"Create your first project"},"ProjectHomepage":{"overview":{"intro":"<project></project> is a {type} created by <authors></authors>.","availability":"Available for <versions></versions>. Latest version built for <latest></latest>. First released for <first></first>.","tags":"Tagged:"},"description":{"title":"Description","placeholder":"Description not available"},"navigation":{"title":"Navigation","docs":{"title":"Browse documentation","desc":"{pages} pages available."},"content":{"title":"Browse content","desc":"{items} in-game items."}},"links":{"title":"Links","website":"Website","source_code":"Source code"},"license":{"title":"Licenses","project":"Project License","arr":"All Rights Reserved","unknown":"Unknown","wiki":"Wiki License","default":"Wiki content <link>partially made available</link> under the <license></license> license."}},"ProjectDocsHomepage":{"title":"Home"},"DocsHomepagePlaceholder":{"title":"Homepage placeholder","subtitle":"Due to API restrictions, project metadata is not available for CurseForge projects in local environments.","replace":"Don\'t worry! We\'ll replace this placeholder with the project\'s actual description once deployed on the live wiki website."},"DocsSearchBar":{"placeholder":"Search wiki contents...","no_results":"No results found!","loading":"Finding the perfect results...","results":"Showing <highlight>{count}</highlight> of <highlight>{total}</highlight> results","close":"<kbd>ESC</kbd> to close","switch":"<kbd>Tab</kbd> to change scope","scope":{"local":"Local","global":"Global"}},"SearchResultType":{"project":"Project","documentation":"Docs","content":"Content"},"DocsChangelogPage":{"title":"Changelog"},"DocsLeftSidebar":{"title":"Documentation","homepage":"Home"},"DocsContentRightSidebar":{"title":"Entry information"},"DocsNonContentRightSidebar":{"title":"On this page"},"DocsVersionSelector":{"placeholder":"Select version","latest":"Latest"},"ModVersionRange":{"desc":"+{count} more"},"LanguageSelect":{"placeholder":"Search languages...","no_results":"No language found."},"ProjectStatus":{"unknown":"Unknown","loading":"Initializing","healthy":"Loaded","at_risk":"Requires attention","error":"Errored","inactive":"Inactive"},"ProjectVisibility":{"public":"Public","unlisted":"Unlisted","private":"Private","unknown":"Unknown"},"DevProjectsListPage":{"project":{"manage":"Manage"},"empty":{"primary":"Looks like you haven\'t created any projects yet","secondary":"Get started by reading our <guide>author guide</guide>."}},"DevProjectPage":{"breadcrumbs":{"home":"Home"},"toolbar":{"view":"Visit project page","deployments":"Deployments"},"overview":{"title":"Project overview","desc":"Project information summary"},"source":{"title":"Project Source","repo":"Repository","branch":"Branch","path":"Path","public":"Public"},"platforms":{"title":"Platforms","desc":"Project hosting platforms","headers":{"platform":"Platform","slug":"Slug / ID","link":"Link"},"open":"Open"},"information":{"title":"Information","desc":"Resolved information","type":"Type","status":"Status","created_at":"Created at"},"revision":{"title":"Current git revision","reloading":"Reloading project, please stand by...","not_found":"No revision found. Try reloading the project."}},"DevProjectSettingsPage":{"title":"Project settings","desc":"Configure project properties","form":{"visibility":{"title":"Project Visibility","public_desc":"Public projects are visible in search.","unlisted_desc":"Unlisted projects are published, but not visible in search.","private_desc":"Private projects are only accessible by members of the project.","placeholder":"Select visibility"}},"toast":{"success":"Project settings updated successfully"},"save":"Save"},"DevProjectSourceSettingsPage":{"title":"Project settings - Source","desc":"Configure project source repository","save":"Save"},"DevProjectVersionsPage":{"title":"Project versions","desc":"Browse project content versions"},"DevProjectHealthPage":{"title":"Project health","desc":"Monitor project status and issues","errors":{"title":"Project issue report","desc":"Ongoing warnings & errors","empty":"No issues found"}},"ProjectMemberRole":{"owner":"Owner","member":"Member","unknown":"Unknown"},"DevProjectMembersPage":{"title":"Project members","desc":"Manage project members & permissions","actions":{"remove":"Remove","leave":"Leave project"}},"DevProjectContentItemsPage":{"title":"Project items","desc":"Browse project items"},"DevProjectContentRecipesPage":{"title":"Project recipes","desc":"Browse project crafting recipes"},"DevProjectContentTagsPage":{"title":"Project tags","desc":"Browse project tags"},"DevProjectLogs":{"title":"Deployment log","show":"Show","unloaded":"Not loaded","waiting":"Waiting for server...","loading":"Loading...","error":"Error loading logs","toast":{"success":"Project setup complete","error":"Error during project setup"}},"DeveloperSidebar":{"teams":{"personal":"Personal"},"groups":{"projects":"Projects","platform":"Platform","admin":"Administration"},"nav":{"projects":"Projects","documentation":"Documentation","settings":"Settings","admin":"System settings"}},"DevSidebarContextSwitcher":{"title":"Teams"},"DevSidebarUser":{"logout":{"button":"Log out","title":"Logout","desc":"Logging out..."},"unknown_avatar":"N/A"},"UserSettings":{"breadcrumbs":{"home":"Home","settings":"Settings"},"profile":{"bio":"Modded Minecraft Wiki creator","join_date":"Joined {date}","admin":"Admin"},"connections":{"title":"Connections","modrinth":{"title":"Modrinth account","desc":"Used to verify project ownership","connect":"Connect","view":"View","disconnect":"Disconnect"}},"account":{"title":"Account","delete":{"title":"Delete account","desc":"Forever delete all account data","button":"Delete account"},"delete_modal":{"title":"Delete account","desc":"Are you sure you want to delete this account? This is a destructive action that cannot be undone.","cancel":"Cancel","button":"Delete forever"}},"toast":{"unlink":{"success":"Account unlinked successfully","error":"Error unlinking account"}}},"AuthFailure":{"title":"Authentication failure","desc":"An unexpected error has occured while trying to log in. Please try again later.","status":"Check status","return":"Return home","report":"Report Bug"},"BuiltinRecipeTypes":{"blasting":"Blasting","campfire_cooking":"Campfire cooking","crafting_shaped":"Shaped Crafting","crafting_shapeless":"Shapeless Crafting","smelting":"Smelting","smithing_transform":"Smithing","smoking":"Smoking","stonecutting":"Stonecutting"},"DocsEntryTabs":{"history":"Show history","home":"Show content"},"DevProjectSidebar":{"groups":{"project":"Project","content":"Content"},"nav":{"home":"Overview","settings":"Settings","members":"Members","deployments":"Deployments","health":"Health","versions":"Versions","content":"Items","tags":"Tags","recipes":"Recipes"},"settings":{"group":"Settings","general":"General","source":"Source"}},"PrefabObtaining":{"recipe":"Recipe"},"PrefabUsage":{"usage":"Usage"},"AdminSidebar":{"groups":{"home":"Home","data":"Data","system":"System","moderation":"Moderation"},"nav":{"home":"Overview","data_imports":"Data Imports","access_keys":"Access Keys","migrations":"Migrations","users":"Users","projects":"Projects","config":"Configuration","reports":"Reports","audit_log":"Audit Log","return":"Return"}},"AdminDataImports":{"title":"System data imports","desc":"Imported game data"},"AdminMigrations":{"title":"Data migrations","desc":"Available data migrations","empty":"No migrations available."},"EmptyDataTable":{"guide":"Read the <link>author guide</link> to find out more on how to integrate game data into your project."},"DataTable":{"no_results":"No results.","filter":"Filter rows...","previous":"Previous","next":"Next"},"DevProjectVersionsTable":{"name":"Name","branch":"Branch","empty":{"title":"No additional versions were found in your project.","desc":"Read the <link>author guide</link> to learn more about project versioning."}},"DevProjectItemsTable":{"icon":"Icon","id":"Identifier","name":"Name","path":"Page path (internal)","actions":{"open":"Open menu","title":"Actions","view":"View"},"empty":{"title":"No items were found in your project.","desc":"Project items are automatically detected from content pages and included game files."}},"DevProjectTagsTable":{"id":"Identifier","items":"Item count","empty":{"title":"No tags were found in your project."}},"DevProjectRecipesTable":{"type":"Type","id":"Identifier","empty":{"title":"No recipes were found in your project."}},"ResolvedProjectRecipe":{"type":"Recipe Type","input":"Ingredients","output":"Outputs","preview":"Recipe preview","workbenches":"You can craft this recipe using:"},"DevProjectDeploymentsPage":{"title":"Project deployments","desc":"Manage deployed project versions"},"DevProjectDeploymentsTable":{"id":"ID","commit":"Commit","created_at":"Deploy time","user_id":"Deployed by","status":"Status"},"DeploymentStatus":{"unknown":"N/A","created":"Queued","loading":"Loading","success":"Success","error":"Failed"},"DeleteDeploymentModal":{"trigger":"Delete","title":"Are you absolutely sure?","desc":"This action cannot be undone. This deployment will be permanently deleted from our servers.","cancel":"Cancel","submit":"Delete","success":"Deployment deleted successfully"},"DeployProjectModal":{"button":"Deploy","title":"New deployment","primary":"All project content will be <b>re-fetched</b> from the source. This option should be used upon updating the documentation source itself.","secondary":"If the new deployment fails, currently stored data <b>will not</b> be replaced. You can always <b>roll back</b> to previous deployments using the \'Redeploy\' option.","tertiary":"For your own convenience, we recommend automatically revalidating docs after publication using our <link>Gradle plugin</link> instead.","note":"Project configuration remains unchanged. For updating meta information (e.g. source and platforms), please use the Settings dialog instead.","cancel":"Cancel","submit":"Deploy"},"LiveProjectDeployConnection":{"loading":"Deploying project...","success":"Project deploy successful","error":"Project deploy failed","view":"View"},"DevProjectDeploymentPage":{"deployments":"Deployments","title":"Deployment Details","git-config":{"title":"Source coordinates"}},"ProjectGitRevision":{"title":"Git revision","title_current":"Current Git revision","loading":"Deploying project, please stand by...","not_found":"Project has no active deployment"},"ProjectIssueWidget":{"file":"File: <file></file>","date":"Created at: <date></date>","version":"Version: <version></version>"},"ProjectIssueLevel":{"warning":"Warning","error":"Error","unknown":"Unknown"},"ProjectIssueType":{"meta":"Invalid project metadata","file":"Invalid file","git_clone":"Error cloning repository","git_info":"Error getting commit information","ingestor":"Error importing content","version_setup":"Error setting up version","internal":"Internal server error","page":"Invalid page","unknown":"Unknown error"},"DeploymentIssues":{"title":"Deployment issues","empty":"No issues found.","issues_found":"Found {count, plural, =1 {1 issue that needs} other {# issues that need}} attention."},"ProjectError":{"requires_auth":"Repository connection requires login credentials but none were provided","no_repository":"Repository not found","repo_too_large":"Repository exceeds allowed file size","no_branch":"Invalid branch specified","no_path":"Metadata file not found at specified path","invalid_meta":"Metadata file is invalid","page_render":"Failed to render page contents","duplicate_page":"Duplicate page","unknown_recipe_type":"Unknown recipe type","invalid_ingredient":"Invalid ingredient","invalid_file":"Failed to parse file","invalid_format":"Invalid file format","invalid_resloc":"Invalid Resource Location","invalid_version_branch":"Version branch does not exist","missing_platform_project":"Missing platform project","no_page_title":"Page is missing title","missing_required_attribute":"Page is missing a required metadata attribute","invalid_frontmatter":"Invalid page frontmatter","no_platforms":"Missing project platforms","illegal_id":"Invalid project ID","illegal_mod_id":"Invalid project mod ID","not_owner":"Failed to verify project ownership","unknown":"Unknown error"},"AdminReports":{"title":"Project Reports","desc":"Manage project reports"},"ResponsiveTable":{"expand":"Expand"},"UsageContentList":{"more":"Show more ..."},"RecipeUsage":{"description":"Can be used to create the following items:","empty":"Has no known usages in crafting."},"ContentCategory":{"all":"All","other":"Other"},"ContentChangelog":{"toggle":"Show changelog"},"ContentProperties":{"weighted_flag":{"true":"Yes ({count})","false":"No"},"rarity":{"common":"Common","uncommon":"Uncommon","rare":"Rare","epic":"Epic","unknown":"Unknown"},"bool":{"true":"Yes","false":"No"},"type":{"block":"Block","item":"Item","other":"Other","unknown":"Other"},"properties":{"id":"ID","source_mod":"Source mod","type":"Type","stack_size":"Stackable","required_tool":"Tool","blast_resistance":"Blast resistance","hardness":"Hardness","flammable":"Flammable","rarity":"Rarity tier","durability":"Durability","mining_speed":"Mining efficiency","attack_damage":"Attack damage","attack_speed":"Attack speed","enchantability":"Enchantability","nutrition":"Restores"}},"ExtendedLink":{"not_found":"(Not found)"},"AdminAccessKeys":{"title":"System access keys","desc":"Provides auth for when non-interactive access is needed, such as CI"},"CreateAccessKeyModal":{"title":"Create access key","desc":"New system access key","button":"Create","name":{"title":"Name","desc":"Give your key a name","placeholder":"Deploy staging"},"days_valid":{"title":"Days of validity","desc":"Number of days the key is valid for. Use 0 for no expiration."},"submit":"Submit","submitting":"Submitting..."},"SaveAccessKeyModal":{"title":"Access Key","desc":"Save your generated access key","key":"Access Key","note":"Keep the key value safe. You won\'t be able to access it again.","valid":"The key is valid until {expiry}.","close":"Done"},"DeleteAccessKeyModal":{"title":"Delete Access Key","desc":"Invalidate and delete access key","body":"This will forever delete the access key <name></name>.","cancel":"Cancel","submit":"Delete","success":"Access Key deleted successfully"},"CopyButton":{"copied":"Copied to clipboard"},"InteractiveComponentPlaceholder":{"title":"Content unavailable in preview mode","desc":"Interactive components are currently not supported in the local previewer. The actual contents will be shown here when the project is deployed onto the Wiki website."},"RevalidateCacheModal":{"title":"Revalidate cache tag","desc":"Manually revalidate a cache tag. Used for diagnostic purposes.","button":"Revalidate cache tag","tag":{"title":"Cache Tag","desc":"The cache tag to revalidate"},"submit":"Submit","success":"Cache tag invalidated successfully"},"CookieConsent":{"popup":{"title":"This website uses cookies","description":"This site uses cookies to improve your browsing experience and show embedded content.","show_preferences":"Manage Individual preferences"},"modal":{"title":"Manage cookie preferences","save":"Accept current selection","close":"Close modal"},"sections":{"summary":{"title":"Cookie preferences","description":"Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow."},"necessary":{"title":"Strictly Necessary cookies","description":"These cookies are essential for the proper functioning of the website and cannot be disabled."},"experience":{"title":"Experience","description":"These cookies are used to enable certain parts of the website, such as video embeds, and may be used to track you.","services":{"embeds":"Enables displaying embedded YouTube videos."}},"more_info":{"title":"More information","description":"For further information on how we use cookies on our website, please refer to our <a href=\\"/about/privacy\\">Privacy Policy</a>."}},"actions":{"accept_all":"Accept all","reject_all":"Reject all"}},"VideoEmbedPlaceholder":{"title":"Video embed unavailable","description":"Cookie consent is required to play embedded videos.","accept":"Allow YouTube embeds","watch":"Watch on Youtube"},"ManageCookiesButton":{"text":"Manage cookie preferences"},"UpdateGameDataModal":{"title":"Update game data","desc":"Fetch latest game data and run ingestion.","button":"Update","update_loader":{"title":"Update loader version"},"success":{"title":"Game data updated successfully","desc":"Updated game data to latest version"},"submit":"Submit","submitting":"Submitting..."},"DevProjectTagItemsTable":{"empty":{"title":"No items were found in this tag.","desc":"Project tag entries are automatically detected from included game files."}},"AdminProjectsPage":{"title":"Projects","desc":"List of all registered projects"},"AddProjectMemberForm":{"button":"Add member","title":"Add project member","desc":"Add a new user to this project","username":{"title":"Username","desc":"Wiki (GitHub) username of the user.","placeholder":"johndoe"},"role":{"title":"User role","desc":"Determines the user\'s permission level","placeholder":"Select role"},"success":"Project member added successfully","cancel":"Cancel","submit":"Submit"},"RemoveProjectMemberModal":{"title":"Remove project member","desc":"Are you sure you want to remove this member? This action cannot be undone.","cancel":"Cancel","submit":"Remove","success":"Project member removed successfully"},"LeaveProjectModal":{"title":"Leave project","desc":"Are you sure you want to leave this project? This action cannot be undone.","cancel":"Cancel","submit":"Leave","success":"Project left successfully"},"GenericForm":{"submit":"Submit","submitting":"Submitting...","cancel":"Cancel"},"NewProjectBanner":{"title":"Ready when you are","desc":"This is a new project and does not yet show up in search. So feel free to play around and tweak things until they\'re just right. When you\'re satisfied with the result, hit the button below to go public.","submit":"Publish","success":"Project visibility set to public"}}')},9549:a=>{(()=>{"use strict";var b={993:a=>{var b=Object.prototype.hasOwnProperty,c="~";function d(){}function e(a,b,c){this.fn=a,this.context=b,this.once=c||!1}function f(a,b,d,f,g){if("function"!=typeof d)throw TypeError("The listener must be a function");var h=new e(d,f||a,g),i=c?c+b:b;return a._events[i]?a._events[i].fn?a._events[i]=[a._events[i],h]:a._events[i].push(h):(a._events[i]=h,a._eventsCount++),a}function g(a,b){0==--a._eventsCount?a._events=new d:delete a._events[b]}function h(){this._events=new d,this._eventsCount=0}Object.create&&(d.prototype=Object.create(null),(new d).__proto__||(c=!1)),h.prototype.eventNames=function(){var a,d,e=[];if(0===this._eventsCount)return e;for(d in a=this._events)b.call(a,d)&&e.push(c?d.slice(1):d);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(a)):e},h.prototype.listeners=function(a){var b=c?c+a:a,d=this._events[b];if(!d)return[];if(d.fn)return[d.fn];for(var e=0,f=d.length,g=Array(f);e<f;e++)g[e]=d[e].fn;return g},h.prototype.listenerCount=function(a){var b=c?c+a:a,d=this._events[b];return d?d.fn?1:d.length:0},h.prototype.emit=function(a,b,d,e,f,g){var h=c?c+a:a;if(!this._events[h])return!1;var i,j,k=this._events[h],l=arguments.length;if(k.fn){switch(k.once&&this.removeListener(a,k.fn,void 0,!0),l){case 1:return k.fn.call(k.context),!0;case 2:return k.fn.call(k.context,b),!0;case 3:return k.fn.call(k.context,b,d),!0;case 4:return k.fn.call(k.context,b,d,e),!0;case 5:return k.fn.call(k.context,b,d,e,f),!0;case 6:return k.fn.call(k.context,b,d,e,f,g),!0}for(j=1,i=Array(l-1);j<l;j++)i[j-1]=arguments[j];k.fn.apply(k.context,i)}else{var m,n=k.length;for(j=0;j<n;j++)switch(k[j].once&&this.removeListener(a,k[j].fn,void 0,!0),l){case 1:k[j].fn.call(k[j].context);break;case 2:k[j].fn.call(k[j].context,b);break;case 3:k[j].fn.call(k[j].context,b,d);break;case 4:k[j].fn.call(k[j].context,b,d,e);break;default:if(!i)for(m=1,i=Array(l-1);m<l;m++)i[m-1]=arguments[m];k[j].fn.apply(k[j].context,i)}}return!0},h.prototype.on=function(a,b,c){return f(this,a,b,c,!1)},h.prototype.once=function(a,b,c){return f(this,a,b,c,!0)},h.prototype.removeListener=function(a,b,d,e){var f=c?c+a:a;if(!this._events[f])return this;if(!b)return g(this,f),this;var h=this._events[f];if(h.fn)h.fn!==b||e&&!h.once||d&&h.context!==d||g(this,f);else{for(var i=0,j=[],k=h.length;i<k;i++)(h[i].fn!==b||e&&!h[i].once||d&&h[i].context!==d)&&j.push(h[i]);j.length?this._events[f]=1===j.length?j[0]:j:g(this,f)}return this},h.prototype.removeAllListeners=function(a){var b;return a?(b=c?c+a:a,this._events[b]&&g(this,b)):(this._events=new d,this._eventsCount=0),this},h.prototype.off=h.prototype.removeListener,h.prototype.addListener=h.prototype.on,h.prefixed=c,h.EventEmitter=h,a.exports=h},213:a=>{a.exports=(a,b)=>(b=b||(()=>{}),a.then(a=>new Promise(a=>{a(b())}).then(()=>a),a=>new Promise(a=>{a(b())}).then(()=>{throw a})))},574:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(a,b,c){let d=0,e=a.length;for(;e>0;){let f=e/2|0,g=d+f;0>=c(a[g],b)?(d=++g,e-=f+1):e=f}return d}},821:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});let d=c(574);class e{constructor(){this._queue=[]}enqueue(a,b){let c={priority:(b=Object.assign({priority:0},b)).priority,run:a};if(this.size&&this._queue[this.size-1].priority>=b.priority)return void this._queue.push(c);let e=d.default(this._queue,c,(a,b)=>b.priority-a.priority);this._queue.splice(e,0,c)}dequeue(){let a=this._queue.shift();return null==a?void 0:a.run}filter(a){return this._queue.filter(b=>b.priority===a.priority).map(a=>a.run)}get size(){return this._queue.length}}b.default=e},816:(a,b,c)=>{let d=c(213);class e extends Error{constructor(a){super(a),this.name="TimeoutError"}}let f=(a,b,c)=>new Promise((f,g)=>{if("number"!=typeof b||b<0)throw TypeError("Expected `milliseconds` to be a positive number");if(b===1/0)return void f(a);let h=setTimeout(()=>{if("function"==typeof c){try{f(c())}catch(a){g(a)}return}let d="string"==typeof c?c:`Promise timed out after ${b} milliseconds`,h=c instanceof Error?c:new e(d);"function"==typeof a.cancel&&a.cancel(),g(h)},b);d(a.then(f,g),()=>{clearTimeout(h)})});a.exports=f,a.exports.default=f,a.exports.TimeoutError=e}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a](f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab="//";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0});let a=d(993),b=d(816),c=d(821),f=()=>{},g=new b.TimeoutError;class h extends a{constructor(a){var b,d,e,g;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=f,this._resolveIdle=f,!("number"==typeof(a=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:c.default},a)).intervalCap&&a.intervalCap>=1))throw TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!=(d=null==(b=a.intervalCap)?void 0:b.toString())?d:""}\` (${typeof a.intervalCap})`);if(void 0===a.interval||!(Number.isFinite(a.interval)&&a.interval>=0))throw TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!=(g=null==(e=a.interval)?void 0:e.toString())?g:""}\` (${typeof a.interval})`);this._carryoverConcurrencyCount=a.carryoverConcurrencyCount,this._isIntervalIgnored=a.intervalCap===1/0||0===a.interval,this._intervalCap=a.intervalCap,this._interval=a.interval,this._queue=new a.queueClass,this._queueClass=a.queueClass,this.concurrency=a.concurrency,this._timeout=a.timeout,this._throwOnTimeout=!0===a.throwOnTimeout,this._isPaused=!1===a.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=f,0===this._pendingCount&&(this._resolveIdle(),this._resolveIdle=f,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){let a=Date.now();if(void 0===this._intervalId){let b=this._intervalEnd-a;if(!(b<0))return void 0===this._timeoutId&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},b)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){let a=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){let b=this._queue.dequeue();return!!b&&(this.emit("active"),b(),a&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(a){if(!("number"==typeof a&&a>=1))throw TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${a}\` (${typeof a})`);this._concurrency=a,this._processQueue()}async add(a,c={}){return new Promise((d,e)=>{let f=async()=>{this._pendingCount++,this._intervalCount++;try{let f=void 0===this._timeout&&void 0===c.timeout?a():b.default(Promise.resolve(a()),void 0===c.timeout?this._timeout:c.timeout,()=>{(void 0===c.throwOnTimeout?this._throwOnTimeout:c.throwOnTimeout)&&e(g)});d(await f)}catch(a){e(a)}this._next()};this._queue.enqueue(f,c),this._tryToStartAnother(),this.emit("add")})}async addAll(a,b){return Promise.all(a.map(async a=>this.add(a,b)))}start(){return this._isPaused&&(this._isPaused=!1,this._processQueue()),this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(a=>{let b=this._resolveEmpty;this._resolveEmpty=()=>{b(),a()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(a=>{let b=this._resolveIdle;this._resolveIdle=()=>{b(),a()}})}get size(){return this._queue.size}sizeBy(a){return this._queue.filter(a).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(a){this._timeout=a}}e.default=h})(),a.exports=e})()},9594:(a,b,c)=>{"use strict";var d=c(6858),e=c(7782),f=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),h=Symbol.for("react.fragment"),i=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),n=Symbol.for("react.lazy"),o=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var p=Symbol.iterator;function q(a){return null===a||"object"!=typeof a?null:"function"==typeof(a=p&&a[p]||a["@@iterator"])?a:null}var r=Symbol.asyncIterator;function s(a){setTimeout(function(){throw a})}var t=Promise,u="function"==typeof queueMicrotask?queueMicrotask:function(a){t.resolve(null).then(a).catch(s)},v=null,w=0;function x(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<w&&(a.enqueue(new Uint8Array(v.buffer,0,w)),v=new Uint8Array(2048),w=0),a.enqueue(b);else{var c=v.length-w;c<b.byteLength&&(0===c?a.enqueue(v):(v.set(b.subarray(0,c),w),a.enqueue(v),b=b.subarray(c)),v=new Uint8Array(2048),w=0),v.set(b,w),w+=b.byteLength}return!0}var y=new TextEncoder;function z(a){return y.encode(a)}function A(a){return a.byteLength}function B(a,b){"function"==typeof a.error?a.error(b):a.close()}var C=Symbol.for("react.client.reference"),D=Symbol.for("react.server.reference");function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:C},$$id:{value:b},$$async:{value:c}})}var F=Function.prototype.bind,G=Array.prototype.slice;function H(){var a=F.apply(this,arguments);if(this.$$typeof===D){var b=G.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:D},$$id:{value:this.$$id},$$bound:b={value:this.$$bound?this.$$bound.concat(b):b},bind:{value:H,configurable:!0}})}return a}var I={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},J=Promise.prototype,K={get:function(a,b){switch(b){case"$$typeof":return a.$$typeof;case"$$id":return a.$$id;case"$$async":return a.$$async;case"name":return a.name;case"displayName":case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":throw Error("Cannot await or return from a thenable. You cannot await a client module from a server component.")}throw Error("Cannot access "+String(a.name)+"."+String(b)+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.")},set:function(){throw Error("Cannot assign to a client module from a server module.")}};function L(a,b){switch(b){case"$$typeof":return a.$$typeof;case"$$id":return a.$$id;case"$$async":return a.$$async;case"name":return a.name;case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"__esModule":var c=a.$$id;return a.default=E(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},a.$$id+"#",a.$$async),!0;case"then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,M);return a.status="fulfilled",a.value=e,a.then=E(function(a){return Promise.resolve(a(e))},a.$$id+"#then",!1)}if("symbol"==typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");return(d=a[b])||(Object.defineProperty(d=E(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},a.$$id+"#"+b,a.$$async),"name",{value:b}),d=a[b]=new Proxy(d,K)),d}var M={get:function(a,b){return L(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);return c||(c={value:L(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c)),c},getPrototypeOf:function(){return J},set:function(){throw Error("Cannot assign to a client module from a server module.")}},N=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=N.d;function P(a){if(null==a)return null;var b,c=!1,d={};for(b in a)null!=a[b]&&(c=!0,d[b]=a[b]);return c?d:null}N.d={f:O.f,r:O.r,D:function(a){if("string"==typeof a&&a){var b=as();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),au(b,"D",a))}else O.D(a)}},C:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"==typeof b?au(c,"C",[a,b]):au(c,"C",a))}else O.C(a,b)}},L:function(a,b,c){if("string"==typeof a){var d=as();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,h=c.imageSizes,i="";"string"==typeof g&&""!==g?(i+="["+g+"]","string"==typeof h&&(i+="["+h+"]")):i+="[][]"+a,f+="[image]"+i}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=P(c))?au(d,"L",[a,b,c]):au(d,"L",[a,b]))}else O.L(a,b,c)}},m:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"m",[a,b]):au(c,"m",a)}O.m(a,b)}},X:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"X",[a,b]):au(c,"X",a)}O.X(a,b)}},S:function(a,b,c){if("string"==typeof a){var d=as();if(d){var e=d.hints,f="S|"+a;if(e.has(f))return;return e.add(f),(c=P(c))?au(d,"S",[a,"string"==typeof b?b:0,c]):"string"==typeof b?au(d,"S",[a,b]):au(d,"S",a)}O.S(a,b,c)}},M:function(a,b){if("string"==typeof a){var c=as();if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;return d.add(e),(b=P(b))?au(c,"M",[a,b]):au(c,"M",a)}O.M(a,b)}}};var Q="function"==typeof AsyncLocalStorage,R=Q?new AsyncLocalStorage:null,S=Symbol.for("react.temporary.reference"),T={get:function(a,b){switch(b){case"$$typeof":return a.$$typeof;case"name":case"displayName":case"defaultProps":case"_debugInfo":case"toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case"Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");case"then":return}throw Error("Cannot access "+String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.")},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.")}};function U(){}var V=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),W=null;function X(){if(null===W)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=W;return W=null,a}var Y=null,Z=0,$=null;function _(){var a=$||[];return $=null,a}var aa={readContext:ad,use:function(a){if(null!==a&&"object"==typeof a||"function"==typeof a){if("function"==typeof a.then){var b=Z;Z+=1,null===$&&($=[]);var c=$,d=a,e=b;switch(void 0===(e=c[e])?c.push(d):e!==d&&(d.then(U,U),d=e),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch("string"==typeof d.status?d.then(U,U):((c=d).status="pending",c.then(function(a){if("pending"===d.status){var b=d;b.status="fulfilled",b.value=a}},function(a){if("pending"===d.status){var b=d;b.status="rejected",b.reason=a}})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}throw W=d,V}}a.$$typeof===i&&ad()}if(a.$$typeof===C){if(null!=a.value&&a.value.$$typeof===i)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.")}throw Error("An unsupported type was passed to use(): "+String(a))},useCallback:function(a){return a},useContext:ad,useEffect:ab,useImperativeHandle:ab,useLayoutEffect:ab,useInsertionEffect:ab,useMemo:function(a){return a()},useReducer:ab,useRef:ab,useState:ab,useDebugValue:function(){},useDeferredValue:ab,useTransition:ab,useSyncExternalStore:ab,useId:function(){if(null===Y)throw Error("useId can only be used while React is rendering");var a=Y.identifierCount++;return"_"+Y.identifierPrefix+"S_"+a.toString(32)+"_"},useHostTransitionStatus:ab,useFormState:ab,useActionState:ab,useOptimistic:ab,useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=o;return b},useCacheRefresh:function(){return ac}};function ab(){throw Error("This Hook is not supported in Server Components.")}function ac(){throw Error("Refreshing the cache is not supported in Server Components.")}function ad(){throw Error("Cannot read a Client Context from a Server Component.")}var ae={getCacheForType:function(a){var b=(b=as())?b.cache:new Map,c=b.get(a);return void 0===c&&(c=a(),b.set(a,c)),c},cacheSignal:function(){var a=as();return a?a.cacheController.signal:null}},af=e.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!af)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var ag=Array.isArray,ah=Object.getPrototypeOf;function ai(a){return(a=Object.prototype.toString.call(a)).slice(8,a.length-1)}function aj(a){switch(typeof a){case"string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case"object":if(ag(a))return"[...]";if(null!==a&&a.$$typeof===ak)return"client";return"Object"===(a=ai(a))?"{...}":a;case"function":return a.$$typeof===ak?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}var ak=Symbol.for("react.client.reference");function al(a,b){var c=ai(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ag(a)){for(var e="[",f=0;f<a.length;f++){0<f&&(e+=", ");var h=a[f];h="object"==typeof h&&null!==h?al(h):aj(h),""+f===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===g)e="<"+function a(b){if("string"==typeof b)return b;switch(b){case k:return"Suspense";case l:return"SuspenseList"}if("object"==typeof b)switch(b.$$typeof){case j:return a(b.render);case m:return a(b.type);case n:var c=b._payload;b=b._init;try{return a(b(c))}catch(a){}}return""}(a.type)+"/>";else{if(a.$$typeof===ak)return"client";for(h=0,e="{",f=Object.keys(a);h<f.length;h++){0<h&&(e+=", ");var i=f[h],o=JSON.stringify(i);e+=('"'+i+'"'===o?i:o)+": ",o="object"==typeof(o=a[i])&&null!==o?al(o):aj(o),i===b?(c=e.length,d=o.length,e+=o):e=10>o.length&&40>e.length+o.length?e+o:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?"\n "+e+"\n "+(a=" ".repeat(c)+"^".repeat(d)):"\n "+e}var am=Object.prototype.hasOwnProperty,an=Object.prototype,ao=JSON.stringify;function ap(a){console.error(a)}function aq(a,b,c,d,e,f,g,h,i){if(null!==af.A&&af.A!==ae)throw Error("Currently React only supports one RSC renderer at a time.");af.A=ae;var j=new Set,k=[],l=new Set;this.type=a,this.status=10,this.flushScheduled=!1,this.destination=this.fatalError=null,this.bundlerConfig=c,this.cache=new Map,this.cacheController=new AbortController,this.pendingChunks=this.nextChunkId=0,this.hints=l,this.abortableTasks=j,this.pingedTasks=k,this.completedImportChunks=[],this.completedHintChunks=[],this.completedRegularChunks=[],this.completedErrorChunks=[],this.writtenSymbols=new Map,this.writtenClientReferences=new Map,this.writtenServerReferences=new Map,this.writtenObjects=new WeakMap,this.temporaryReferences=i,this.identifierPrefix=h||"",this.identifierCount=1,this.taintCleanupQueue=[],this.onError=void 0===d?ap:d,this.onPostpone=void 0===e?U:e,this.onAllReady=f,this.onFatalError=g,k.push(a=aC(this,b,null,!1,j))}var ar=null;function as(){if(ar)return ar;if(Q){var a=R.getStore();if(a)return a}return null}function at(a,b,c){var d=aC(a,c,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case"fulfilled":return d.model=c.value,aB(a,d),d.id;case"rejected":return aR(a,d,c.reason),d.id;default:if(12===a.status)return a.abortableTasks.delete(d),b=a.fatalError,aW(d),aX(d,a,b),d.id;"string"!=typeof c.status&&(c.status="pending",c.then(function(a){"pending"===c.status&&(c.status="fulfilled",c.value=a)},function(a){"pending"===c.status&&(c.status="rejected",c.reason=a)}))}return c.then(function(b){d.model=b,aB(a,d)},function(b){0===d.status&&(aR(a,d,b),a$(a))}),d.id}function au(a,b,c){b=z(":H"+b+(c=ao(c))+"\n"),a.completedHintChunks.push(b),a$(a)}function av(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a}function aw(){}function ax(a,b,c,d,e){var f=b.thenableState;if(b.thenableState=null,Z=0,$=f,e=d(e,void 0),12===a.status)throw"object"==typeof e&&null!==e&&"function"==typeof e.then&&e.$$typeof!==C&&e.then(aw,aw),null;return e=function(a,b,c,d){if("object"!=typeof d||null===d||d.$$typeof===C)return d;if("function"==typeof d.then){switch(d.status){case"fulfilled":return d.value;case"rejected":break;default:"string"!=typeof d.status&&(d.status="pending",d.then(function(a){"pending"===d.status&&(d.status="fulfilled",d.value=a)},function(a){"pending"===d.status&&(d.status="rejected",d.reason=a)}))}return{$$typeof:n,_payload:d,_init:av}}var e=q(d);return e?((a={})[Symbol.iterator]=function(){return e.call(d)},a):"function"!=typeof d[r]||"function"==typeof ReadableStream&&d instanceof ReadableStream?d:((a={})[r]=function(){return d[r]()},a)}(a,0,0,e),d=b.keyPath,f=b.implicitSlot,null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0),a=aJ(a,b,aS,"",e),b.keyPath=d,b.implicitSlot=f,a}function ay(a,b,c){return null!==b.keyPath?(a=[g,h,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}var az=0;function aA(a,b){return b=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks),aB(a,b),"$L"+b.id.toString(16)}function aB(a,b){var c=a.pingedTasks;c.push(b),1===c.length&&(a.flushScheduled=null!==a.destination,21===a.type||10===a.status?u(function(){return aV(a)}):setTimeout(function(){return aV(a)},0))}function aC(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"!=typeof b||null===b||null!==c||d||a.writtenObjects.set(b,aD(f));var h={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return aB(a,h)},toJSON:function(b,c){az+=b.length;var d=h.keyPath,e=h.implicitSlot;try{var f=aJ(a,h,this,b,c)}catch(j){if(b="object"==typeof(b=h.model)&&null!==b&&(b.$$typeof===g||b.$$typeof===n),12===a.status)h.status=3,d=a.fatalError,f=b?"$L"+d.toString(16):aD(d);else if("object"==typeof(c=j===V?X():j)&&null!==c&&"function"==typeof c.then){var i=(f=aC(a,h.model,h.keyPath,h.implicitSlot,a.abortableTasks)).ping;c.then(i,i),f.thenableState=_(),h.keyPath=d,h.implicitSlot=e,f=b?"$L"+f.id.toString(16):aD(f.id)}else h.keyPath=d,h.implicitSlot=e,a.pendingChunks++,d=a.nextChunkId++,e=aK(a,c,h),aM(a,d,e),f=b?"$L"+d.toString(16):aD(d)}return f},thenableState:null};return e.add(h),h}function aD(a){return"$"+a.toString(16)}function aE(a,b,c){return a=ao(c),z(b=b.toString(16)+":"+a+"\n")}function aF(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,h=f.get(e);if(void 0!==h)return b[0]===g&&"1"===c?"$L"+h.toString(16):aD(h);try{var i=a.bundlerConfig,j=d.$$id;h="";var k=i[j];if(k)h=k.name;else{var l=j.lastIndexOf("#");if(-1!==l&&(h=j.slice(l+1),k=i[j.slice(0,l)]),!k)throw Error('Could not find the module "'+j+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.')}if(!0===k.async&&!0===d.$$async)throw Error('The module "'+j+'" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler.');var m=!0===k.async||!0===d.$$async?[k.id,k.chunks,h,1]:[k.id,k.chunks,h];a.pendingChunks++;var n=a.nextChunkId++,o=ao(m),p=n.toString(16)+":I"+o+"\n",q=z(p);return a.completedImportChunks.push(q),f.set(e,n),b[0]===g&&"1"===c?"$L"+n.toString(16):aD(n)}catch(d){return a.pendingChunks++,b=a.nextChunkId++,c=aK(a,d,null),aM(a,b,c),aD(b)}}function aG(a,b){return b=aC(a,b,null,!1,a.abortableTasks),aT(a,b),b.id}function aH(a,b,c){a.pendingChunks++;var d=a.nextChunkId++;return aO(a,d,b,c,!1),aD(d)}var aI=!1;function aJ(a,b,c,d,e){if(b.model=e,e===g)return"$";if(null===e)return null;if("object"==typeof e){switch(e.$$typeof){case g:var i=null,k=a.writtenObjects;if(null===b.keyPath&&!b.implicitSlot){var l=k.get(e);if(void 0!==l)if(aI!==e)return l;else aI=null;else -1===d.indexOf(":")&&void 0!==(c=k.get(c))&&(i=c+":"+d,k.set(e,i))}if(3200<az)return aA(a,b);return c=(d=e.props).ref,"object"==typeof(a=function a(b,c,d,e,f,i){if(null!=f)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"==typeof d&&d.$$typeof!==C&&d.$$typeof!==S)return ax(b,c,e,d,i);if(d===h&&null===e)return d=c.implicitSlot,null===c.keyPath&&(c.implicitSlot=!0),i=aJ(b,c,aS,"",i.children),c.implicitSlot=d,i;if(null!=d&&"object"==typeof d&&d.$$typeof!==C)switch(d.$$typeof){case n:if(d=(0,d._init)(d._payload),12===b.status)throw null;return a(b,c,d,e,f,i);case j:return ax(b,c,e,d.render,i);case m:return a(b,c,d.type,e,f,i)}return b=e,e=c.keyPath,null===b?b=e:null!==e&&(b=e+","+b),i=[g,d,b,i],c=c.implicitSlot&&null!==b?[i]:i}(a,b,e.type,e.key,void 0!==c?c:null,d))&&null!==a&&null!==i&&(k.has(a)||k.set(a,i)),a;case n:if(3200<az)return aA(a,b);if(b.thenableState=null,e=(d=e._init)(e._payload),12===a.status)throw null;return aJ(a,b,aS,"",e);case f:throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.')}if(e.$$typeof===C)return aF(a,c,d,e);if(void 0!==a.temporaryReferences&&void 0!==(i=a.temporaryReferences.get(e)))return"$T"+i;if(k=(i=a.writtenObjects).get(e),"function"==typeof e.then){if(void 0!==k){if(null!==b.keyPath||b.implicitSlot)return"$@"+at(a,b,e).toString(16);if(aI!==e)return k;aI=null}return a="$@"+at(a,b,e).toString(16),i.set(e,a),a}if(void 0!==k)if(aI!==e)return k;else{if(k!==aD(b.id))return k;aI=null}else if(-1===d.indexOf(":")&&void 0!==(k=i.get(c))){if(l=d,ag(c)&&c[0]===g)switch(d){case"1":l="type";break;case"2":l="key";break;case"3":l="props";break;case"4":l="_owner"}i.set(e,k+":"+l)}if(ag(e))return ay(a,b,e);if(e instanceof Map)return"$Q"+aG(a,e=Array.from(e)).toString(16);if(e instanceof Set)return"$W"+aG(a,e=Array.from(e)).toString(16);if("function"==typeof FormData&&e instanceof FormData)return"$K"+aG(a,e=Array.from(e.entries())).toString(16);if(e instanceof Error)return"$Z";if(e instanceof ArrayBuffer)return aH(a,"A",new Uint8Array(e));if(e instanceof Int8Array)return aH(a,"O",e);if(e instanceof Uint8Array)return aH(a,"o",e);if(e instanceof Uint8ClampedArray)return aH(a,"U",e);if(e instanceof Int16Array)return aH(a,"S",e);if(e instanceof Uint16Array)return aH(a,"s",e);if(e instanceof Int32Array)return aH(a,"L",e);if(e instanceof Uint32Array)return aH(a,"l",e);if(e instanceof Float32Array)return aH(a,"G",e);if(e instanceof Float64Array)return aH(a,"g",e);if(e instanceof BigInt64Array)return aH(a,"M",e);if(e instanceof BigUint64Array)return aH(a,"m",e);if(e instanceof DataView)return aH(a,"V",e);if("function"==typeof Blob&&e instanceof Blob)return function(a,b){function c(b){0===f.status&&(a.cacheController.signal.removeEventListener("abort",d),aR(a,f,b),a$(a),g.cancel(b).then(c,c))}function d(){if(0===f.status){var b=a.cacheController.signal;b.removeEventListener("abort",d),aR(a,f,b=b.reason),a$(a),g.cancel(b).then(c,c)}}var e=[b.type],f=aC(a,e,null,!1,a.abortableTasks),g=b.stream().getReader();return a.cacheController.signal.addEventListener("abort",d),g.read().then(function b(h){if(0===f.status)if(!h.done)return e.push(h.value),g.read().then(b).catch(c);else a.cacheController.signal.removeEventListener("abort",d),aB(a,f)}).catch(c),"$B"+f.id.toString(16)}(a,e);if(i=q(e))return(d=i.call(e))===e?"$i"+aG(a,Array.from(d)).toString(16):ay(a,b,Array.from(d));if("function"==typeof ReadableStream&&e instanceof ReadableStream)return function(a,b,c){function d(b){0===h.status&&(a.cacheController.signal.removeEventListener("abort",e),aR(a,h,b),a$(a),g.cancel(b).then(d,d))}function e(){if(0===h.status){var b=a.cacheController.signal;b.removeEventListener("abort",e),aR(a,h,b=b.reason),a$(a),g.cancel(b).then(d,d)}}var f=c.supportsBYOB;if(void 0===f)try{c.getReader({mode:"byob"}).releaseLock(),f=!0}catch(a){f=!1}var g=c.getReader(),h=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks);return a.pendingChunks++,b=h.id.toString(16)+":"+(f?"r":"R")+"\n",a.completedRegularChunks.push(z(b)),a.cacheController.signal.addEventListener("abort",e),g.read().then(function b(c){if(0===h.status)if(c.done)h.status=1,c=h.id.toString(16)+":C\n",a.completedRegularChunks.push(z(c)),a.abortableTasks.delete(h),a.cacheController.signal.removeEventListener("abort",e),a$(a),a_(a);else try{h.model=c.value,a.pendingChunks++,aU(a,h),a$(a),g.read().then(b,d)}catch(a){d(a)}},d),aD(h.id)}(a,b,e);if("function"==typeof(i=e[r]))return null!==b.keyPath?(a=[g,h,b.keyPath,{children:e}],a=b.implicitSlot?[a]:a):(d=i.call(e),a=function(a,b,c,d){function e(b){0===g.status&&(a.cacheController.signal.removeEventListener("abort",f),aR(a,g,b),a$(a),"function"==typeof d.throw&&d.throw(b).then(e,e))}function f(){if(0===g.status){var b=a.cacheController.signal;b.removeEventListener("abort",f);var c=b.reason;aR(a,g,b.reason),a$(a),"function"==typeof d.throw&&d.throw(c).then(e,e)}}c=c===d;var g=aC(a,b.model,b.keyPath,b.implicitSlot,a.abortableTasks);return a.pendingChunks++,b=g.id.toString(16)+":"+(c?"x":"X")+"\n",a.completedRegularChunks.push(z(b)),a.cacheController.signal.addEventListener("abort",f),d.next().then(function b(c){if(0===g.status)if(c.done){if(g.status=1,void 0===c.value)var h=g.id.toString(16)+":C\n";else try{var i=aG(a,c.value);h=g.id.toString(16)+":C"+ao(aD(i))+"\n"}catch(a){e(a);return}a.completedRegularChunks.push(z(h)),a.abortableTasks.delete(g),a.cacheController.signal.removeEventListener("abort",f),a$(a),a_(a)}else try{g.model=c.value,a.pendingChunks++,aU(a,g),a$(a),d.next().then(b,e)}catch(a){e(a)}},e),aD(g.id)}(a,b,e,d)),a;if(e instanceof Date)return"$D"+e.toJSON();if((a=ah(e))!==an&&(null===a||null!==ah(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."+al(c,d));return e}if("string"==typeof e)return(az+=e.length,"Z"===e[e.length-1]&&c[d]instanceof Date)?"$D"+e:1024<=e.length&&null!==A?(a.pendingChunks++,b=a.nextChunkId++,aP(a,b,e,!1),aD(b)):a="$"===e[0]?"$"+e:e;if("boolean"==typeof e)return e;if("number"==typeof e)return Number.isFinite(e)?0===e&&-1/0==1/e?"$-0":e:1/0===e?"$Infinity":-1/0===e?"$-Infinity":"$NaN";if(void 0===e)return"$undefined";if("function"==typeof e){if(e.$$typeof===C)return aF(a,c,d,e);if(e.$$typeof===D)return void 0!==(d=(b=a.writtenServerReferences).get(e))?a="$h"+d.toString(16):(d=null===(d=e.$$bound)?null:Promise.resolve(d),a=aG(a,{id:e.$$id,bound:d}),b.set(e,a),a="$h"+a.toString(16)),a;if(void 0!==a.temporaryReferences&&void 0!==(a=a.temporaryReferences.get(e)))return"$T"+a;if(e.$$typeof===S)throw Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server.");if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+al(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+al(c,d))}if("symbol"==typeof e){if(void 0!==(i=(b=a.writtenSymbols).get(e)))return aD(i);if(Symbol.for(i=e.description)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+e.description+") cannot be found among global symbols."+al(c,d));return a.pendingChunks++,d=a.nextChunkId++,c=aE(a,d,"$S"+i),a.completedImportChunks.push(c),b.set(e,d),aD(d)}if("bigint"==typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported in Client Component props."+al(c,d))}function aK(a,b){var c=ar;ar=null;try{var d=a.onError,e=Q?R.run(void 0,d,b):d(b)}finally{ar=c}if(null!=e&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function aL(a,b){(0,a.onFatalError)(b),null!==a.destination?(a.status=14,B(a.destination,b)):(a.status=13,a.fatalError=b),a.cacheController.abort(Error("The render was aborted due to a fatal error.",{cause:b}))}function aM(a,b,c){c={digest:c},b=z(b=b.toString(16)+":E"+ao(c)+"\n"),a.completedErrorChunks.push(b)}function aN(a,b,c){b=z(b=b.toString(16)+":"+c+"\n"),a.completedRegularChunks.push(b)}function aO(a,b,c,d,e){e?a.pendingDebugChunks++:a.pendingChunks++,e=new Uint8Array(d.buffer,d.byteOffset,d.byteLength),e=(d=2048<d.byteLength?e.slice():e).byteLength,b=z(b=b.toString(16)+":"+c+e.toString(16)+","),a.completedRegularChunks.push(b,d)}function aP(a,b,c,d){if(null===A)throw Error("Existence of byteLengthOfChunk should have already been checked. This is a bug in React.");d?a.pendingDebugChunks++:a.pendingChunks++,d=(c=z(c)).byteLength,b=z(b=b.toString(16)+":T"+d.toString(16)+","),a.completedRegularChunks.push(b,c)}function aQ(a,b,c){var d=b.id;"string"==typeof c&&null!==A?aP(a,d,c,!1):c instanceof ArrayBuffer?aO(a,d,"A",new Uint8Array(c),!1):c instanceof Int8Array?aO(a,d,"O",c,!1):c instanceof Uint8Array?aO(a,d,"o",c,!1):c instanceof Uint8ClampedArray?aO(a,d,"U",c,!1):c instanceof Int16Array?aO(a,d,"S",c,!1):c instanceof Uint16Array?aO(a,d,"s",c,!1):c instanceof Int32Array?aO(a,d,"L",c,!1):c instanceof Uint32Array?aO(a,d,"l",c,!1):c instanceof Float32Array?aO(a,d,"G",c,!1):c instanceof Float64Array?aO(a,d,"g",c,!1):c instanceof BigInt64Array?aO(a,d,"M",c,!1):c instanceof BigUint64Array?aO(a,d,"m",c,!1):c instanceof DataView?aO(a,d,"V",c,!1):(c=ao(c,b.toJSON),aN(a,b.id,c))}function aR(a,b,c){b.status=4,c=aK(a,c,b),aM(a,b.id,c),a.abortableTasks.delete(b),a_(a)}var aS={};function aT(a,b){if(0===b.status){b.status=5;var c=az;try{aI=b.model;var d=aJ(a,b,aS,"",b.model);if(aI=d,b.keyPath=null,b.implicitSlot=!1,"object"==typeof d&&null!==d)a.writtenObjects.set(d,aD(b.id)),aQ(a,b,d);else{var e=ao(d);aN(a,b.id,e)}b.status=1,a.abortableTasks.delete(b),a_(a)}catch(c){if(12===a.status){a.abortableTasks.delete(b),b.status=0;var f=a.fatalError;aW(b),aX(b,a,f)}else{var g=c===V?X():c;if("object"==typeof g&&null!==g&&"function"==typeof g.then){b.status=0,b.thenableState=_();var h=b.ping;g.then(h,h)}else aR(a,b,g)}}finally{az=c}}}function aU(a,b){var c=az;try{aQ(a,b,b.model)}finally{az=c}}function aV(a){var b=af.H;af.H=aa;var c=ar;Y=ar=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)aT(a,d[e]);aY(a)}catch(b){aK(a,b,null),aL(a,b)}finally{af.H=b,Y=null,ar=c}}function aW(a){0===a.status&&(a.status=3)}function aX(a,b,c){3===a.status&&(c=aD(c),a=aE(b,a.id,c),b.completedErrorChunks.push(a))}function aY(a){var b=a.destination;if(null!==b){v=new Uint8Array(2048),w=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,x(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)x(b,e[d]);e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)a.pendingChunks--,x(b,f[d]);f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)a.pendingChunks--,x(b,g[d]);g.splice(0,d)}finally{a.flushScheduled=!1,v&&0<w&&(b.enqueue(new Uint8Array(v.buffer,0,w)),v=null,w=0)}}0===a.pendingChunks&&(12>a.status&&a.cacheController.abort(Error("This render completed successfully. All cacheSignals are now aborted to allow clean up of any unused resources.")),null!==a.destination&&(a.status=14,a.destination.close(),a.destination=null))}function aZ(a){a.flushScheduled=null!==a.destination,Q?u(function(){R.run(a,aV,a)}):u(function(){return aV(a)}),setTimeout(function(){10===a.status&&(a.status=11)},0)}function a$(a){!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(a.flushScheduled=!0,setTimeout(function(){a.flushScheduled=!1,aY(a)},0))}function a_(a){0===a.abortableTasks.size&&(a=a.onAllReady)()}function a0(a,b){if(13===a.status)a.status=14,B(b,a.fatalError);else if(14!==a.status&&null===a.destination){a.destination=b;try{aY(a)}catch(b){aK(a,b,null),aL(a,b)}}}function a1(a,b){if(!(11<a.status))try{a.status=12,a.cacheController.abort(b);var c=a.abortableTasks;if(0<c.size){var d=void 0===b?Error("The render was aborted by the server without a reason."):"object"==typeof b&&null!==b&&"function"==typeof b.then?Error("The render was aborted by the server with a promise."):b,e=aK(a,d,null),f=a.nextChunkId++;a.fatalError=f,a.pendingChunks++,aM(a,f,e,d,!1),c.forEach(function(b){return aW(b,a,f)}),setTimeout(function(){try{c.forEach(function(b){return aX(b,a,f)}),(0,a.onAllReady)(),aY(a)}catch(b){aK(a,b,null),aL(a,b)}},0)}else(0,a.onAllReady)(),aY(a)}catch(b){aK(a,b,null),aL(a,b)}}function a2(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");if(-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]),!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return d.async?[d.id,d.chunks,c,1]:[d.id,d.chunks,c]}var a3=new Map;function a4(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}function a5(){}function a6(a){for(var b=a[1],d=[],e=0;e<b.length;){var f=b[e++];b[e++];var g=a3.get(f);if(void 0===g){g=c.e(f),d.push(g);var h=a3.set.bind(a3,f,null);g.then(h,a5),a3.set(f,g)}else null!==g&&d.push(g)}return 4===a.length?0===d.length?a4(a[0]):Promise.all(d).then(function(){return a4(a[0])}):0<d.length?Promise.all(d):null}function a7(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"==typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:am.call(b,a[2])?b[a[2]]:void 0}var a8=Symbol();function a9(a,b,c){this.status=a,this.value=b,this.reason=c}function ba(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];"function"==typeof e?e(c):bm(a,e,c)}}function bb(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];"function"==typeof e?e(c):bn(a,e.handler,c)}}function bc(a,b,c){if("pending"!==b.status&&"blocked"!==b.status)b.reason.error(c);else{var d=b.reason;b.status="rejected",b.reason=c,null!==d&&bb(a,d,c)}}function bd(a,b,c){var d={};return new a9("resolved_model",b,(d.id=c,d[a8]=a,d))}function be(a,b,c,d){if("pending"!==b.status)b=b.reason,"C"===c[0]?b.close("C"===c?'"$undefined"':c.slice(1)):b.enqueueModel(c);else{var e=b.value,f=b.reason;if(b.status="resolved_model",b.value=c,c={},b.reason=(c.id=d,c[a8]=a,c),null!==e)a:switch(bj(b),b.status){case"fulfilled":ba(a,e,b.value);break;case"blocked":for(c=0;c<e.length;c++)if("function"!=typeof(d=e[c])){var g=function a(b,c){var d=c.handler.chunk;if(null===d)return null;if(d===b)return c.handler;if(null!==(c=d.value))for(d=0;d<c.length;d++){var e=c[d];if("function"!=typeof e&&null!==(e=a(b,e)))return e}return null}(b,d);if(null!==g)switch(bm(a,d,g.value),e.splice(c,1),c--,null!==f&&-1!==(d=f.indexOf(d))&&f.splice(d,1),b.status){case"fulfilled":ba(a,e,b.value);break a;case"rejected":null!==f&&bb(a,f,b.reason);break a}}case"pending":if(b.value)for(a=0;a<e.length;a++)b.value.push(e[a]);else b.value=e;if(b.reason){if(f)for(e=0;e<f.length;e++)b.reason.push(f[e])}else b.reason=f;break;case"rejected":f&&ba(a,f,b.reason)}}}function bf(a,b,c){var d={};return new a9("resolved_model",(c?'{"done":true,"value":':'{"done":false,"value":')+b+"}",(d.id=-1,d[a8]=a,d))}function bg(a,b,c,d){be(a,b,(d?'{"done":true,"value":':'{"done":false,"value":')+c+"}",-1)}function bh(a,b,c,d){var e=b.id;if("string"!=typeof e||"then"===d)return null;var f=a2(a._bundlerConfig,e);e=b.bound;var g=a6(f);if(g)e instanceof a9&&(g=Promise.all([g,e]));else{if(!(e instanceof a9))return a7(f);g=Promise.resolve(e)}if(bi){var h=bi;h.deps++}else h=bi={chunk:null,value:null,reason:null,deps:1,errored:!1};return g.then(function(){var e=a7(f);if(b.bound){var g=b.bound.value;(g=Array.isArray(g)?g.slice(0):[]).unshift(null),e=e.bind.apply(e,g)}c[d]=e,""===d&&null===h.value&&(h.value=e),h.deps--,0===h.deps&&null!==(e=h.chunk)&&"blocked"===e.status&&(g=e.value,e.status="fulfilled",e.value=h.value,e.reason=null,null!==g&&ba(a,g,h.value))},function(b){if(!h.errored){h.errored=!0,h.value=null,h.reason=b;var c=h.chunk;null!==c&&"blocked"===c.status&&bc(a,c,b)}}),null}a9.prototype=Object.create(Promise.prototype),a9.prototype.then=function(a,b){switch("resolved_model"===this.status&&bj(this),this.status){case"fulfilled":if("function"==typeof a){for(var c=this.value,d=0;c instanceof a9;){if(d++,c===this||1e3<d){"function"==typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case"pending":case"blocked":"function"==typeof a&&(null===this.value&&(this.value=[]),this.value.push(a)),"function"==typeof b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:"function"==typeof b&&b(this.reason)}};var bi=null;function bj(a){var b=bi;bi=null;var c=a.reason,d=c[a8];c=-1===(c=c.id)?void 0:c.toString(16);var e=a.value;a.status="blocked",a.value=null,a.reason=null;try{var f=JSON.parse(e),g=function a(b,c,d,e,f){if("string"==typeof e)return function(a,b,c,d,e){if("$"===d[0]){switch(d[1]){case"$":return d.slice(1);case"@":return bl(a,b=parseInt(d.slice(2),16));case"h":return bo(a,d=d.slice(2),b,c,bh);case"T":var f,g;if(void 0===e||void 0===a._temporaryReferences)throw Error("Could not reference an opaque temporary reference. This is likely due to misconfiguring the temporaryReferences options on the server.");return f=a._temporaryReferences,g=new Proxy(g=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},{$$typeof:{value:S}}),T),f.set(g,e),g;case"Q":return bo(a,d=d.slice(2),b,c,bp);case"W":return bo(a,d=d.slice(2),b,c,bq);case"K":b=d.slice(2);var h=a._prefix+b+"_",i=new FormData;return a._formData.forEach(function(a,b){b.startsWith(h)&&i.append(b.slice(h.length),a)}),i;case"i":return bo(a,d=d.slice(2),b,c,br);case"I":return 1/0;case"-":return"$-0"===d?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(d.slice(2)));case"n":return BigInt(d.slice(2))}switch(d[1]){case"A":return bt(a,d,ArrayBuffer,1,b,c);case"O":return bt(a,d,Int8Array,1,b,c);case"o":return bt(a,d,Uint8Array,1,b,c);case"U":return bt(a,d,Uint8ClampedArray,1,b,c);case"S":return bt(a,d,Int16Array,2,b,c);case"s":return bt(a,d,Uint16Array,2,b,c);case"L":return bt(a,d,Int32Array,4,b,c);case"l":return bt(a,d,Uint32Array,4,b,c);case"G":return bt(a,d,Float32Array,4,b,c);case"g":return bt(a,d,Float64Array,8,b,c);case"M":return bt(a,d,BigInt64Array,8,b,c);case"m":return bt(a,d,BigUint64Array,8,b,c);case"V":return bt(a,d,DataView,1,b,c);case"B":return b=parseInt(d.slice(2),16),a._formData.get(a._prefix+b)}switch(d[1]){case"R":return bv(a,d,void 0);case"r":return bv(a,d,"bytes");case"X":return bx(a,d,!1);case"x":return bx(a,d,!0)}return bo(a,d=d.slice(1),b,c,bs)}return d}(b,c,d,e,f);if("object"==typeof e&&null!==e)if(void 0!==f&&void 0!==b._temporaryReferences&&b._temporaryReferences.set(e,f),Array.isArray(e))for(var g=0;g<e.length;g++)e[g]=a(b,e,""+g,e[g],void 0!==f?f+":"+g:void 0);else for(g in e)am.call(e,g)&&(c=void 0!==f&&-1===g.indexOf(":")?f+":"+g:void 0,void 0!==(c=a(b,e,g,e[g],c))||"__proto__"===g?e[g]=c:delete e[g]);return e}(d,{"":f},"",f,c),h=a.value;if(null!==h)for(a.value=null,a.reason=null,f=0;f<h.length;f++){var i=h[f];"function"==typeof i?i(g):bm(d,i,g)}if(null!==bi){if(bi.errored)throw bi.reason;if(0<bi.deps){bi.value=g,bi.chunk=a;return}}a.status="fulfilled",a.value=g,a.reason=null}catch(b){a.status="rejected",a.reason=b}finally{bi=b}}function bk(a,b){a._closed=!0,a._closedReason=b,a._chunks.forEach(function(c){"pending"===c.status?bc(a,c,b):"fulfilled"===c.status&&null!==c.reason&&c.reason.error(b)})}function bl(a,b){var c=a._chunks,d=c.get(b);return d||(d="string"==typeof(d=a._formData.get(a._prefix+b))?bd(a,d,b):a._closed?new a9("rejected",null,a._closedReason):new a9("pending",null,null),c.set(b,d)),d}function bm(a,b,c){var d=b.handler,e=b.parentObject,f=b.key,g=b.map,h=b.path;try{for(var i=1;i<h.length;i++){var j=h[i];if("object"!=typeof c||!am.call(c,j)||c instanceof Promise)throw Error("Invalid reference.");c=c[j]}var k=g(a,c,e,f);e[f]=k,""===f&&null===d.value&&(d.value=k)}catch(c){bn(a,b.handler,c);return}d.deps--,0===d.deps&&null!==(b=d.chunk)&&"blocked"===b.status&&(c=b.value,b.status="fulfilled",b.value=d.value,b.reason=d.reason,null!==c&&ba(a,c,d.value))}function bn(a,b,c){b.errored||(b.errored=!0,b.value=null,b.reason=c,null!==(b=b.chunk)&&"blocked"===b.status&&bc(a,b,c))}function bo(a,b,c,d,e){var f=parseInt((b=b.split(":"))[0],16);switch("resolved_model"===(f=bl(a,f)).status&&bj(f),f.status){case"fulfilled":f=f.value;for(var g=1;g<b.length;g++){var h=b[g];if("object"!=typeof f||!am.call(f,h)||f instanceof Promise)throw Error("Invalid reference.");f=f[h]}return e(a,f,c,d);case"pending":case"blocked":return bi?(a=bi,a.deps++):a=bi={chunk:null,value:null,reason:null,deps:1,errored:!1},c={handler:a,parentObject:c,key:d,map:e,path:b},null===f.value?f.value=[c]:f.value.push(c),null===f.reason?f.reason=[c]:f.reason.push(c),null;default:return bi?(bi.errored=!0,bi.value=null,bi.reason=f.reason):bi={chunk:null,value:null,reason:f.reason,deps:0,errored:!0},null}}function bp(a,b){return new Map(b)}function bq(a,b){return new Set(b)}function br(a,b){return b[Symbol.iterator]()}function bs(a,b,c,d){return"then"===d&&"function"==typeof b?null:b}function bt(a,b,c,d,e,f){if(b=parseInt(b.slice(2),16),d=a._prefix+b,a._chunks.has(b))throw Error("Already initialized typed array.");if(b=a._formData.get(d).arrayBuffer(),bi){var g=bi;g.deps++}else g=bi={chunk:null,value:null,reason:null,deps:1,errored:!1};return b.then(function(b){if(b=c===ArrayBuffer?b:new c(b),e[f]=b,""===f&&null===g.value&&(g.value=b),g.deps--,0===g.deps&&null!==(b=g.chunk)&&"blocked"===b.status){var d=b.value;b.status="fulfilled",b.value=g.value,b.reason=null,null!==d&&ba(a,d,g.value)}},function(b){if(!g.errored){g.errored=!0,g.value=null,g.reason=b;var c=g.chunk;null!==c&&"blocked"===c.status&&bc(a,c,b)}}),null}function bu(a,b,c,d){var e=a._chunks;for(c=new a9("fulfilled",c,d),e.set(b,c),a=a._formData.getAll(a._prefix+b),b=0;b<a.length;b++)"string"==typeof(e=a[b])&&("C"===e[0]?d.close("C"===e?'"$undefined"':e.slice(1)):d.enqueueModel(e))}function bv(a,b,c){if(b=parseInt(b.slice(2),16),a._chunks.has(b))throw Error("Already initialized stream.");var d=null,e=!1;c=new ReadableStream({type:c,start:function(a){d=a}});var f=null;return bu(a,b,c,{enqueueModel:function(b){if(null===f){var c=bd(a,b,-1);bj(c),"fulfilled"===c.status?d.enqueue(c.value):(c.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=c)}else{c=f;var e=new a9("pending",null,null);e.then(function(a){return d.enqueue(a)},function(a){return d.error(a)}),f=e,c.then(function(){f===e&&(f=null),be(a,e,b,-1)})}},close:function(){if(!e)if(e=!0,null===f)d.close();else{var a=f;f=null,a.then(function(){return d.close()})}},error:function(a){if(!e)if(e=!0,null===f)d.error(a);else{var b=f;f=null,b.then(function(){return d.error(a)})}}}),c}function bw(){return this}function bx(a,b,c){if(b=parseInt(b.slice(2),16),a._chunks.has(b))throw Error("Already initialized stream.");var d=[],e=!1,f=0,g={};return g[r]=function(){var a,b=0;return(a={next:a=function(a){if(void 0!==a)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(b===d.length){if(e)return new a9("fulfilled",{done:!0,value:void 0},null);d[b]=new a9("pending",null,null)}return d[b++]}})[r]=bw,a},bu(a,b,c=c?g[r]():g,{enqueueModel:function(b){f===d.length?d[f]=bf(a,b,!1):bg(a,d[f],b,!1),f++},close:function(b){if(!e)for(e=!0,f===d.length?d[f]=bf(a,b,!0):bg(a,d[f],b,!0),f++;f<d.length;)bg(a,d[f++],'"$undefined"',!0)},error:function(b){if(!e)for(e=!0,f===d.length&&(d[f]=new a9("pending",null,null));f<d.length;)bc(a,d[f++],b)}}),c}function by(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:new FormData;return{_bundlerConfig:a,_prefix:b,_formData:d,_chunks:new Map,_closed:!1,_closedReason:null,_temporaryReferences:c}}function bz(a){bk(a,Error("Connection closed."))}function bA(a,b,c){var d=a2(a,b);return a=a6(d),c?Promise.all([c,a]).then(function(a){a=a[0];var b=a7(d);return b.bind.apply(b,[null].concat(a))}):a?Promise.resolve(a).then(function(){return a7(d)}):Promise.resolve(a7(d))}function bB(a,b,c){if(bz(a=by(b,c,void 0,a)),(a=bl(a,0)).then(function(){}),"fulfilled"!==a.status)throw a.reason;return a.value}b.createClientModuleProxy=function(a){return new Proxy(a=E({},a,!1),M)},b.createTemporaryReferenceSet=function(){return new WeakMap},b.decodeAction=function(a,b){var c=new FormData,d=null;return a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e=bB(a,b,e="$ACTION_"+f.slice(12)+":"),d=bA(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(d=bA(b,e=f.slice(11),null)):c.append(f,e)}),null===d?null:d.then(function(a){return a.bind(null,c)})},b.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!=typeof d)return Promise.resolve(null);var e=null;if(b.forEach(function(a,d){d.startsWith("$ACTION_REF_")&&(e=bB(b,c,"$ACTION_"+d.slice(12)+":"))}),null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(b){return null===b?null:[a,d,f,b.length-1]})},b.decodeReply=function(a,b,c){if("string"==typeof a){var d=new FormData;d.append("0",a),a=d}return b=bl(a=by(b,"",c?c.temporaryReferences:void 0,a),0),bz(a),b},b.decodeReplyFromAsyncIterable=function(a,b,c){function d(a){bk(f,a),"function"==typeof e.throw&&e.throw(a).then(d,d)}var e=a[r](),f=by(b,"",c?c.temporaryReferences:void 0);return e.next().then(function a(b){if(b.done)bz(f);else{var c=(b=b.value)[0];if("string"==typeof(b=b[1])){f._formData.append(c,b);var g=f._prefix;if(c.startsWith(g)){var h=f._chunks;c=+c.slice(g.length),(h=h.get(c))&&be(f,h,b,c)}}else f._formData.append(c,b);e.next().then(a,d)}},d),bl(f,0)},b.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)},b.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:D},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:H,configurable:!0},toString:I})},b.renderToReadableStream=function(a,b,c){var d=new aq(20,a,b,c?c.onError:void 0,c?c.onPostpone:void 0,U,U,c?c.identifierPrefix:void 0,c?c.temporaryReferences:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)a1(d,e.reason);else{var f=function(){a1(d,e.reason),e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(){aZ(d)},pull:function(a){a0(d,a)},cancel:function(a){d.destination=null,a1(d,a)}},{highWaterMark:0})},b.unstable_prerender=function(a,b,c){return new Promise(function(d,e){var f=new aq(21,a,b,c?c.onError:void 0,c?c.onPostpone:void 0,function(){d({prelude:new ReadableStream({type:"bytes",pull:function(a){a0(f,a)},cancel:function(a){f.destination=null,a1(f,a)}},{highWaterMark:0})})},e,c?c.identifierPrefix:void 0,c?c.temporaryReferences:void 0);if(c&&c.signal){var g=c.signal;if(g.aborted)a1(f,g.reason);else{var h=function(){a1(f,g.reason),g.removeEventListener("abort",h)};g.addEventListener("abort",h)}}aZ(f)})}}},a=>{var b=a(a.s=8995);(_ENTRIES="undefined"==typeof _ENTRIES?{}:_ENTRIES)["middleware_src/middleware"]=b}]);
|
|
14
14
|
//# sourceMappingURL=middleware.js.map
|