@golocalinteractive/golocal-cloud-wrapper 1.3.2 → 1.3.4

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.
@@ -4,6 +4,7 @@ export interface ProductAccess {
4
4
  paid: boolean;
5
5
  web: boolean;
6
6
  priceMonster: boolean;
7
+ management: boolean;
7
8
  se_company_id: string | null;
8
9
  }
9
10
  export declare function getUserPermissions(): Promise<ProductAccess>;
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/permissions.ts"],"names":[],"mappings":"AAoBA,MAAM,WAAW,aAAa;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,aAAa,CAAC,CAuBjE"}
1
+ {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/permissions.ts"],"names":[],"mappings":"AAqBA,MAAM,WAAW,aAAa;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED,wBAAsB,kBAAkB,IAAI,OAAO,CAAC,aAAa,CAAC,CAwBjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAoBnD,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,iBAAiB,oDAE5D;AAED,wBAAgB,2BAA2B,IAAI,iBAAiB,CA2B/D;AAED,wBAAsB,wBAAwB,CAC5C,MAAM,CAAC,EAAE,iBAAiB,GACzB,OAAO,CAAC,aAAa,CAAC,CAkCxB"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/lib/auth/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAqBnD,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,iBAAiB,oDAE5D;AAED,wBAAgB,2BAA2B,IAAI,iBAAiB,CA2B/D;AAED,wBAAsB,wBAAwB,CAC5C,MAAM,CAAC,EAAE,iBAAiB,GACzB,OAAO,CAAC,aAAa,CAAC,CAoCxB"}
@@ -1,11 +1,11 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ar=require("jwt-decode"),ye=require("./token-OmUSTZxZ.cjs"),Pr=require("react");function br(r){return ye.getAuth0Client(r)}function Sr(){const{AUTH0_DOMAIN:r,AUTH0_CLIENT_ID:o,AUTH0_CLIENT_SECRET:l,AUTH0_SECRET:u,AUTH0_BASE_URL:s,APP_BASE_URL:_,AUTH0_AUDIENCE:n}=process.env,e=n?{audience:n}:void 0;return{...r?{domain:r}:{},...o?{clientId:o}:{},...l?{clientSecret:l}:{},...u?{secret:u}:{},...s||_?{appBaseUrl:s||_}:{},...e?{authorizationParameters:e}:{}}}async function Tr(r){var o,l,u,s,_,n;try{const a=await br(r).getAccessToken(),h=a==null?void 0:a.token,c=(o=Ar.jwtDecode(h)["https://cloud.golocal.com/org_metadata"])==null?void 0:o.metadata;return{essentialInsights:((l=c==null?void 0:c["essential-insights"])==null?void 0:l.enabled)===!0,organic:((u=c==null?void 0:c.organic)==null?void 0:u.enabled)===!0,paid:((s=c==null?void 0:c.paid)==null?void 0:s.enabled)===!0,web:((_=c==null?void 0:c.web)==null?void 0:_.enabled)===!0,priceMonster:((n=c==null?void 0:c["price-monster"])==null?void 0:n.enabled)===!0,se_company_id:(c==null?void 0:c.se_company_id)||null}}catch(e){return console.error("[getServerSidePermissions] Error getting user permissions:",e),{essentialInsights:!1,organic:!1,paid:!1,web:!1,priceMonster:!1,se_company_id:null}}}var me={exports:{}},Pe={},Se={},Te={},At;function Or(){return At||(At=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return o}});function o(l,u,s){if(l){s&&(s=s.toLowerCase());for(const e of l){var _,n;const a=(_=e.domain)==null?void 0:_.split(":",1)[0].toLowerCase();if(u===a||s===e.defaultLocale.toLowerCase()||(n=e.locales)!=null&&n.some(h=>h.toLowerCase()===s))return e}}}}(Te)),Te}var Oe={},xe={},Pt;function xr(){return Pt||(Pt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return o}});function o(l){return l.replace(/\/$/,"")||"/"}}(xe)),xe}var Ne={},Ie={},St;function pt(){return St||(St=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o}});function o(l){const u=l.indexOf("#"),s=l.indexOf("?"),_=s>-1&&(u<0||s<u);return _||u>-1?{pathname:l.substring(0,_?s:u),query:_?l.substring(s,u>-1?u:void 0):"",hash:u>-1?l.slice(u):""}:{pathname:l,query:"",hash:""}}}(Ie)),Ie}var Tt;function Er(){return Tt||(Tt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return l}});const o=pt();function l(u,s){if(!u.startsWith("/")||!s)return u;const{pathname:_,query:n,hash:e}=(0,o.parsePath)(u);return""+s+_+n+e}}(Ne)),Ne}var De={},Ot;function Nr(){return Ot||(Ot=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return l}});const o=pt();function l(u,s){if(!u.startsWith("/")||!s)return u;const{pathname:_,query:n,hash:e}=(0,o.parsePath)(u);return""+_+s+n+e}}(De)),De}var Ce={},ke={},xt;function mt(){return xt||(xt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return l}});const o=pt();function l(u,s){if(typeof u!="string")return!1;const{pathname:_}=(0,o.parsePath)(u);return _===s||_.startsWith(s+"/")}}(ke)),ke}var Nt;function Ir(){return Nt||(Nt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return u}});const o=Er(),l=mt();function u(s,_,n,e){if(!_||_===n)return s;const a=s.toLowerCase();return!e&&((0,l.pathHasPrefix)(a,"/api")||(0,l.pathHasPrefix)(a,"/"+_.toLowerCase()))?s:(0,o.addPathPrefix)(s,"/"+_)}}(Ce)),Ce}var It;function Dr(){return It||(It=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return _}});const o=xr(),l=Er(),u=Nr(),s=Ir();function _(n){let e=(0,s.addLocale)(n.pathname,n.locale,n.buildId?void 0:n.defaultLocale,n.ignorePrefix);return(n.buildId||!n.trailingSlash)&&(e=(0,o.removeTrailingSlash)(e)),n.buildId&&(e=(0,u.addPathSuffix)((0,l.addPathPrefix)(e,"/_next/data/"+n.buildId),n.pathname==="/"?"index.json":".json")),e=(0,l.addPathPrefix)(e,n.basePath),!n.buildId&&n.trailingSlash?e.endsWith("/")?e:(0,u.addPathSuffix)(e,"/"):(0,o.removeTrailingSlash)(e)}}(Oe)),Oe}var je={},Dt;function Cr(){return Dt||(Dt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getHostname",{enumerable:!0,get:function(){return o}});function o(l,u){let s;if(u!=null&&u.host&&!Array.isArray(u.host))s=u.host.toString().split(":",1)[0];else if(l.hostname)s=l.hostname;else return;return s.toLowerCase()}}(je)),je}var Le={},qe={},Ct;function kr(){return Ct||(Ct=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return l}});const o=new WeakMap;function l(u,s){if(!s)return{pathname:u};let _=o.get(s);_||(_=s.map(i=>i.toLowerCase()),o.set(s,_));let n;const e=u.split("/",2);if(!e[1])return{pathname:u};const a=e[1].toLowerCase(),h=_.indexOf(a);return h<0?{pathname:u}:(n=s[h],u=u.slice(n.length+1)||"/",{pathname:u,detectedLocale:n})}}(qe)),qe}var Me={},kt;function jr(){return kt||(kt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return l}});const o=mt();function l(u,s){if(!(0,o.pathHasPrefix)(u,s))return u;const _=u.slice(s.length);return _.startsWith("/")?_:"/"+_}}(Me)),Me}var jt;function Lr(){return jt||(jt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return s}});const o=kr(),l=jr(),u=mt();function s(_,n){var e;const{basePath:a,i18n:h,trailingSlash:i}=(e=n.nextConfig)!=null?e:{},c={pathname:_,trailingSlash:_!=="/"?_.endsWith("/"):i};a&&(0,u.pathHasPrefix)(c.pathname,a)&&(c.pathname=(0,l.removePathPrefix)(c.pathname,a),c.basePath=a);let E=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){const T=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),I=T[0];c.buildId=I,E=T[1]!=="index"?"/"+T.slice(1).join("/"):"/",n.parseData===!0&&(c.pathname=E)}if(h){let T=n.i18nProvider?n.i18nProvider.analyze(c.pathname):(0,o.normalizeLocalePath)(c.pathname,h.locales);c.locale=T.detectedLocale;var P;c.pathname=(P=T.pathname)!=null?P:c.pathname,!T.detectedLocale&&c.buildId&&(T=n.i18nProvider?n.i18nProvider.analyze(E):(0,o.normalizeLocalePath)(E,h.locales),T.detectedLocale&&(c.locale=T.detectedLocale))}return c}}(Le)),Le}var Lt;function Rr(){return Lt||(Lt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NextURL",{enumerable:!0,get:function(){return a}});const o=Or(),l=Dr(),u=Cr(),s=Lr(),_=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function n(h,i){return new URL(String(h).replace(_,"localhost"),i&&String(i).replace(_,"localhost"))}const e=Symbol("NextURLInternal");class a{constructor(i,c,E){let P,T;typeof c=="object"&&"pathname"in c||typeof c=="string"?(P=c,T=E||{}):T=E||c||{},this[e]={url:n(i,P??T.base),options:T,basePath:""},this.analyze()}analyze(){var i,c,E,P,T;const I=(0,s.getNextPathnameInfo)(this[e].url.pathname,{nextConfig:this[e].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[e].options.i18nProvider}),d=(0,u.getHostname)(this[e].url,this[e].options.headers);this[e].domainLocale=this[e].options.i18nProvider?this[e].options.i18nProvider.detectDomainLocale(d):(0,o.detectDomainLocale)((c=this[e].options.nextConfig)==null||(i=c.i18n)==null?void 0:i.domains,d);const g=((E=this[e].domainLocale)==null?void 0:E.defaultLocale)||((T=this[e].options.nextConfig)==null||(P=T.i18n)==null?void 0:P.defaultLocale);this[e].url.pathname=I.pathname,this[e].defaultLocale=g,this[e].basePath=I.basePath??"",this[e].buildId=I.buildId,this[e].locale=I.locale??g,this[e].trailingSlash=I.trailingSlash}formatPathname(){return(0,l.formatNextPathnameInfo)({basePath:this[e].basePath,buildId:this[e].buildId,defaultLocale:this[e].options.forceLocale?void 0:this[e].defaultLocale,locale:this[e].locale,pathname:this[e].url.pathname,trailingSlash:this[e].trailingSlash})}formatSearch(){return this[e].url.search}get buildId(){return this[e].buildId}set buildId(i){this[e].buildId=i}get locale(){return this[e].locale??""}set locale(i){var c,E;if(!this[e].locale||!(!((E=this[e].options.nextConfig)==null||(c=E.i18n)==null)&&c.locales.includes(i)))throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${i}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[e].locale=i}get defaultLocale(){return this[e].defaultLocale}get domainLocale(){return this[e].domainLocale}get searchParams(){return this[e].url.searchParams}get host(){return this[e].url.host}set host(i){this[e].url.host=i}get hostname(){return this[e].url.hostname}set hostname(i){this[e].url.hostname=i}get port(){return this[e].url.port}set port(i){this[e].url.port=i}get protocol(){return this[e].url.protocol}set protocol(i){this[e].url.protocol=i}get href(){const i=this.formatPathname(),c=this.formatSearch();return`${this.protocol}//${this.host}${i}${c}${this.hash}`}set href(i){this[e].url=n(i),this.analyze()}get origin(){return this[e].url.origin}get pathname(){return this[e].url.pathname}set pathname(i){this[e].url.pathname=i}get hash(){return this[e].url.hash}set hash(i){this[e].url.hash=i}get search(){return this[e].url.search}set search(i){this[e].url.search=i}get password(){return this[e].url.password}set password(i){this[e].url.password=i}get username(){return this[e].url.username}set username(i){this[e].url.username=i}get basePath(){return this[e].basePath}set basePath(i){this[e].basePath=i.startsWith("/")?i:`/${i}`}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 a(String(this),this[e].options)}}}(Se)),Se}var Ue={},He={},qt;function qr(){return qt||(qt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(ce,he){for(var ne in he)Object.defineProperty(ce,ne,{enumerable:!0,get:he[ne]})}o(r,{ACTION_SUFFIX:function(){return c},APP_DIR_ALIAS:function(){return Q},CACHE_ONE_YEAR:function(){return m},DOT_NEXT_ALIAS:function(){return F},ESLINT_DEFAULT_DIRS:function(){return C},GSP_NO_RETURNED_VALUE:function(){return fe},GSSP_COMPONENT_MEMBER_ERROR:function(){return R},GSSP_NO_RETURNED_VALUE:function(){return re},INFINITE_CACHE:function(){return v},INSTRUMENTATION_HOOK_FILENAME:function(){return X},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return S},MIDDLEWARE_LOCATION_REGEXP:function(){return j},NEXT_BODY_SUFFIX:function(){return T},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return w},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return d},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return g},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return t},NEXT_CACHE_TAGS_HEADER:function(){return I},NEXT_CACHE_TAG_MAX_ITEMS:function(){return p},NEXT_CACHE_TAG_MAX_LENGTH:function(){return y},NEXT_DATA_SUFFIX:function(){return E},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return u},NEXT_META_SUFFIX:function(){return P},NEXT_QUERY_PARAM_PREFIX:function(){return l},NEXT_RESUME_HEADER:function(){return f},NON_STANDARD_NODE_ENV:function(){return b},PAGES_DIR_ALIAS:function(){return U},PRERENDER_REVALIDATE_HEADER:function(){return _},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return n},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return le},ROOT_DIR_ALIAS:function(){return H},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return ee},RSC_ACTION_ENCRYPTION_ALIAS:function(){return V},RSC_ACTION_PROXY_ALIAS:function(){return z},RSC_ACTION_VALIDATE_ALIAS:function(){return G},RSC_CACHE_WRAPPER_ALIAS:function(){return J},RSC_MOD_REF_PROXY_ALIAS:function(){return Z},RSC_PREFETCH_SUFFIX:function(){return e},RSC_SEGMENTS_DIR_SUFFIX:function(){return a},RSC_SEGMENT_SUFFIX:function(){return h},RSC_SUFFIX:function(){return i},SERVER_PROPS_EXPORT_ERROR:function(){return se},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return ae},SERVER_PROPS_SSG_CONFLICT:function(){return de},SERVER_RUNTIME:function(){return M},SSG_FALLBACK_EXPORT_ERROR:function(){return A},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return oe},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return te},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ue},WEBPACK_LAYERS:function(){return B},WEBPACK_RESOURCE_QUERIES:function(){return W}});const l="nxtP",u="nxtI",s="x-matched-path",_="x-prerender-revalidate",n="x-prerender-revalidate-if-generated",e=".prefetch.rsc",a=".segments",h=".segment.rsc",i=".rsc",c=".action",E=".json",P=".meta",T=".body",I="x-next-cache-tags",d="x-next-revalidated-tags",g="x-next-revalidate-tag-token",f="next-resume",p=128,y=256,t=1024,w="_N_T_",m=31536e3,v=4294967294,S="middleware",j=`(?:src/)?${S}`,X="instrumentation",U="private-next-pages",F="private-dot-next",H="private-next-root-dir",Q="private-next-app-dir",Z="private-next-rsc-mod-ref-proxy",G="private-next-rsc-action-validate",z="private-next-rsc-server-reference",J="private-next-rsc-cache-wrapper",V="private-next-rsc-action-encryption",ee="private-next-rsc-action-client-wrapper",le="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",oe="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",ae="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",de="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",te="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",se="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",fe="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",re="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ue="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",R="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",b='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',A="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",C=["app","pages","components","lib","src"],M={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},O={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"},B={...O,GROUP:{builtinReact:[O.reactServerComponents,O.actionBrowser],serverOnly:[O.reactServerComponents,O.actionBrowser,O.instrument,O.middleware],neutralTarget:[O.apiNode,O.apiEdge],clientOnly:[O.serverSideRendering,O.appPagesBrowser],bundled:[O.reactServerComponents,O.actionBrowser,O.serverSideRendering,O.appPagesBrowser,O.shared,O.instrument,O.middleware],appPages:[O.reactServerComponents,O.serverSideRendering,O.appPagesBrowser,O.actionBrowser]}},W={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(He)),He}var Mt;function yr(){return Mt||(Mt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,h){for(var i in h)Object.defineProperty(a,i,{enumerable:!0,get:h[i]})}o(r,{fromNodeOutgoingHttpHeaders:function(){return u},normalizeNextQueryParam:function(){return e},splitCookiesString:function(){return s},toNodeOutgoingHttpHeaders:function(){return _},validateURL:function(){return n}});const l=qr();function u(a){const h=new Headers;for(let[i,c]of Object.entries(a)){const E=Array.isArray(c)?c:[c];for(let P of E)typeof P>"u"||(typeof P=="number"&&(P=P.toString()),h.append(i,P))}return h}function s(a){var h=[],i=0,c,E,P,T,I;function d(){for(;i<a.length&&/\s/.test(a.charAt(i));)i+=1;return i<a.length}function g(){return E=a.charAt(i),E!=="="&&E!==";"&&E!==","}for(;i<a.length;){for(c=i,I=!1;d();)if(E=a.charAt(i),E===","){for(P=i,i+=1,d(),T=i;i<a.length&&g();)i+=1;i<a.length&&a.charAt(i)==="="?(I=!0,i=T,h.push(a.substring(c,P)),c=i):i=P+1}else i+=1;(!I||i>=a.length)&&h.push(a.substring(c,a.length))}return h}function _(a){const h={},i=[];if(a)for(const[c,E]of a.entries())c.toLowerCase()==="set-cookie"?(i.push(...s(E)),h[c]=i.length===1?i[0]:i):h[c]=E;return h}function n(a){try{return String(new URL(String(a)))}catch(h){throw Object.defineProperty(new Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:h}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function e(a){const h=[l.NEXT_QUERY_PARAM_PREFIX,l.NEXT_INTERCEPTION_MARKER_PREFIX];for(const i of h)if(a!==i&&a.startsWith(i))return a.substring(i.length);return null}}(Ue)),Ue}var Xe={},Ut;function Mr(){return Ut||(Ut=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(_,n){for(var e in n)Object.defineProperty(_,e,{enumerable:!0,get:n[e]})}o(r,{PageSignatureError:function(){return l},RemovedPageError:function(){return u},RemovedUAError:function(){return s}});class l extends Error{constructor({page:n}){super(`The middleware "${n}" accepts an async API directly with the form:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ar=require("jwt-decode"),ye=require("./token-OmUSTZxZ.cjs"),Pr=require("react");function br(r){return ye.getAuth0Client(r)}function Sr(){const{AUTH0_DOMAIN:r,AUTH0_CLIENT_ID:o,AUTH0_CLIENT_SECRET:c,AUTH0_SECRET:u,AUTH0_BASE_URL:s,APP_BASE_URL:p,AUTH0_AUDIENCE:i}=process.env,e=i?{audience:i}:void 0;return{...r?{domain:r}:{},...o?{clientId:o}:{},...c?{clientSecret:c}:{},...u?{secret:u}:{},...s||p?{appBaseUrl:s||p}:{},...e?{authorizationParameters:e}:{}}}async function Tr(r){var o,c,u,s,p,i,e;try{const f=await br(r).getAccessToken(),n=f==null?void 0:f.token,h=(o=Ar.jwtDecode(n)["https://cloud.golocal.com/org_metadata"])==null?void 0:o.metadata;return{essentialInsights:((c=h==null?void 0:h["essential-insights"])==null?void 0:c.enabled)===!0,organic:((u=h==null?void 0:h.organic)==null?void 0:u.enabled)===!0,paid:((s=h==null?void 0:h.paid)==null?void 0:s.enabled)===!0,web:((p=h==null?void 0:h.web)==null?void 0:p.enabled)===!0,priceMonster:((i=h==null?void 0:h["price-monster"])==null?void 0:i.enabled)===!0,management:((e=h==null?void 0:h.management)==null?void 0:e.enabled)===!0,se_company_id:(h==null?void 0:h.se_company_id)||null}}catch(a){return console.error("[getServerSidePermissions] Error getting user permissions:",a),{essentialInsights:!1,organic:!1,paid:!1,web:!1,priceMonster:!1,management:!1,se_company_id:null}}}var me={exports:{}},Pe={},Se={},Te={},At;function Or(){return At||(At=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return o}});function o(c,u,s){if(c){s&&(s=s.toLowerCase());for(const e of c){var p,i;const a=(p=e.domain)==null?void 0:p.split(":",1)[0].toLowerCase();if(u===a||s===e.defaultLocale.toLowerCase()||(i=e.locales)!=null&&i.some(f=>f.toLowerCase()===s))return e}}}}(Te)),Te}var Oe={},xe={},Pt;function xr(){return Pt||(Pt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return o}});function o(c){return c.replace(/\/$/,"")||"/"}}(xe)),xe}var Ne={},Ie={},St;function pt(){return St||(St=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return o}});function o(c){const u=c.indexOf("#"),s=c.indexOf("?"),p=s>-1&&(u<0||s<u);return p||u>-1?{pathname:c.substring(0,p?s:u),query:p?c.substring(s,u>-1?u:void 0):"",hash:u>-1?c.slice(u):""}:{pathname:c,query:"",hash:""}}}(Ie)),Ie}var Tt;function Er(){return Tt||(Tt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return c}});const o=pt();function c(u,s){if(!u.startsWith("/")||!s)return u;const{pathname:p,query:i,hash:e}=(0,o.parsePath)(u);return""+s+p+i+e}}(Ne)),Ne}var De={},Ot;function Nr(){return Ot||(Ot=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return c}});const o=pt();function c(u,s){if(!u.startsWith("/")||!s)return u;const{pathname:p,query:i,hash:e}=(0,o.parsePath)(u);return""+p+s+i+e}}(De)),De}var Ce={},ke={},xt;function mt(){return xt||(xt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return c}});const o=pt();function c(u,s){if(typeof u!="string")return!1;const{pathname:p}=(0,o.parsePath)(u);return p===s||p.startsWith(s+"/")}}(ke)),ke}var Nt;function Ir(){return Nt||(Nt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return u}});const o=Er(),c=mt();function u(s,p,i,e){if(!p||p===i)return s;const a=s.toLowerCase();return!e&&((0,c.pathHasPrefix)(a,"/api")||(0,c.pathHasPrefix)(a,"/"+p.toLowerCase()))?s:(0,o.addPathPrefix)(s,"/"+p)}}(Ce)),Ce}var It;function Dr(){return It||(It=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return p}});const o=xr(),c=Er(),u=Nr(),s=Ir();function p(i){let e=(0,s.addLocale)(i.pathname,i.locale,i.buildId?void 0:i.defaultLocale,i.ignorePrefix);return(i.buildId||!i.trailingSlash)&&(e=(0,o.removeTrailingSlash)(e)),i.buildId&&(e=(0,u.addPathSuffix)((0,c.addPathPrefix)(e,"/_next/data/"+i.buildId),i.pathname==="/"?"index.json":".json")),e=(0,c.addPathPrefix)(e,i.basePath),!i.buildId&&i.trailingSlash?e.endsWith("/")?e:(0,u.addPathSuffix)(e,"/"):(0,o.removeTrailingSlash)(e)}}(Oe)),Oe}var je={},Dt;function Cr(){return Dt||(Dt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getHostname",{enumerable:!0,get:function(){return o}});function o(c,u){let s;if(u!=null&&u.host&&!Array.isArray(u.host))s=u.host.toString().split(":",1)[0];else if(c.hostname)s=c.hostname;else return;return s.toLowerCase()}}(je)),je}var Le={},qe={},Ct;function kr(){return Ct||(Ct=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return c}});const o=new WeakMap;function c(u,s){if(!s)return{pathname:u};let p=o.get(s);p||(p=s.map(n=>n.toLowerCase()),o.set(s,p));let i;const e=u.split("/",2);if(!e[1])return{pathname:u};const a=e[1].toLowerCase(),f=p.indexOf(a);return f<0?{pathname:u}:(i=s[f],u=u.slice(i.length+1)||"/",{pathname:u,detectedLocale:i})}}(qe)),qe}var Me={},kt;function jr(){return kt||(kt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return c}});const o=mt();function c(u,s){if(!(0,o.pathHasPrefix)(u,s))return u;const p=u.slice(s.length);return p.startsWith("/")?p:"/"+p}}(Me)),Me}var jt;function Lr(){return jt||(jt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return s}});const o=kr(),c=jr(),u=mt();function s(p,i){var e;const{basePath:a,i18n:f,trailingSlash:n}=(e=i.nextConfig)!=null?e:{},d={pathname:p,trailingSlash:p!=="/"?p.endsWith("/"):n};a&&(0,u.pathHasPrefix)(d.pathname,a)&&(d.pathname=(0,c.removePathPrefix)(d.pathname,a),d.basePath=a);let h=d.pathname;if(d.pathname.startsWith("/_next/data/")&&d.pathname.endsWith(".json")){const T=d.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),I=T[0];d.buildId=I,h=T[1]!=="index"?"/"+T.slice(1).join("/"):"/",i.parseData===!0&&(d.pathname=h)}if(f){let T=i.i18nProvider?i.i18nProvider.analyze(d.pathname):(0,o.normalizeLocalePath)(d.pathname,f.locales);d.locale=T.detectedLocale;var P;d.pathname=(P=T.pathname)!=null?P:d.pathname,!T.detectedLocale&&d.buildId&&(T=i.i18nProvider?i.i18nProvider.analyze(h):(0,o.normalizeLocalePath)(h,f.locales),T.detectedLocale&&(d.locale=T.detectedLocale))}return d}}(Le)),Le}var Lt;function Rr(){return Lt||(Lt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NextURL",{enumerable:!0,get:function(){return a}});const o=Or(),c=Dr(),u=Cr(),s=Lr(),p=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function i(f,n){return new URL(String(f).replace(p,"localhost"),n&&String(n).replace(p,"localhost"))}const e=Symbol("NextURLInternal");class a{constructor(n,d,h){let P,T;typeof d=="object"&&"pathname"in d||typeof d=="string"?(P=d,T=h||{}):T=h||d||{},this[e]={url:i(n,P??T.base),options:T,basePath:""},this.analyze()}analyze(){var n,d,h,P,T;const I=(0,s.getNextPathnameInfo)(this[e].url.pathname,{nextConfig:this[e].options.nextConfig,parseData:!process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE,i18nProvider:this[e].options.i18nProvider}),l=(0,u.getHostname)(this[e].url,this[e].options.headers);this[e].domainLocale=this[e].options.i18nProvider?this[e].options.i18nProvider.detectDomainLocale(l):(0,o.detectDomainLocale)((d=this[e].options.nextConfig)==null||(n=d.i18n)==null?void 0:n.domains,l);const b=((h=this[e].domainLocale)==null?void 0:h.defaultLocale)||((T=this[e].options.nextConfig)==null||(P=T.i18n)==null?void 0:P.defaultLocale);this[e].url.pathname=I.pathname,this[e].defaultLocale=b,this[e].basePath=I.basePath??"",this[e].buildId=I.buildId,this[e].locale=I.locale??b,this[e].trailingSlash=I.trailingSlash}formatPathname(){return(0,c.formatNextPathnameInfo)({basePath:this[e].basePath,buildId:this[e].buildId,defaultLocale:this[e].options.forceLocale?void 0:this[e].defaultLocale,locale:this[e].locale,pathname:this[e].url.pathname,trailingSlash:this[e].trailingSlash})}formatSearch(){return this[e].url.search}get buildId(){return this[e].buildId}set buildId(n){this[e].buildId=n}get locale(){return this[e].locale??""}set locale(n){var d,h;if(!this[e].locale||!(!((h=this[e].options.nextConfig)==null||(d=h.i18n)==null)&&d.locales.includes(n)))throw Object.defineProperty(new TypeError(`The NextURL configuration includes no locale "${n}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[e].locale=n}get defaultLocale(){return this[e].defaultLocale}get domainLocale(){return this[e].domainLocale}get searchParams(){return this[e].url.searchParams}get host(){return this[e].url.host}set host(n){this[e].url.host=n}get hostname(){return this[e].url.hostname}set hostname(n){this[e].url.hostname=n}get port(){return this[e].url.port}set port(n){this[e].url.port=n}get protocol(){return this[e].url.protocol}set protocol(n){this[e].url.protocol=n}get href(){const n=this.formatPathname(),d=this.formatSearch();return`${this.protocol}//${this.host}${n}${d}${this.hash}`}set href(n){this[e].url=i(n),this.analyze()}get origin(){return this[e].url.origin}get pathname(){return this[e].url.pathname}set pathname(n){this[e].url.pathname=n}get hash(){return this[e].url.hash}set hash(n){this[e].url.hash=n}get search(){return this[e].url.search}set search(n){this[e].url.search=n}get password(){return this[e].url.password}set password(n){this[e].url.password=n}get username(){return this[e].url.username}set username(n){this[e].url.username=n}get basePath(){return this[e].basePath}set basePath(n){this[e].basePath=n.startsWith("/")?n:`/${n}`}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 a(String(this),this[e].options)}}}(Se)),Se}var Ue={},He={},qt;function qr(){return qt||(qt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(ce,he){for(var ne in he)Object.defineProperty(ce,ne,{enumerable:!0,get:he[ne]})}o(r,{ACTION_SUFFIX:function(){return d},APP_DIR_ALIAS:function(){return Q},CACHE_ONE_YEAR:function(){return g},DOT_NEXT_ALIAS:function(){return F},ESLINT_DEFAULT_DIRS:function(){return C},GSP_NO_RETURNED_VALUE:function(){return fe},GSSP_COMPONENT_MEMBER_ERROR:function(){return R},GSSP_NO_RETURNED_VALUE:function(){return re},INFINITE_CACHE:function(){return v},INSTRUMENTATION_HOOK_FILENAME:function(){return X},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return S},MIDDLEWARE_LOCATION_REGEXP:function(){return j},NEXT_BODY_SUFFIX:function(){return T},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return w},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return l},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return t},NEXT_CACHE_TAGS_HEADER:function(){return I},NEXT_CACHE_TAG_MAX_ITEMS:function(){return m},NEXT_CACHE_TAG_MAX_LENGTH:function(){return y},NEXT_DATA_SUFFIX:function(){return h},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return u},NEXT_META_SUFFIX:function(){return P},NEXT_QUERY_PARAM_PREFIX:function(){return c},NEXT_RESUME_HEADER:function(){return _},NON_STANDARD_NODE_ENV:function(){return E},PAGES_DIR_ALIAS:function(){return U},PRERENDER_REVALIDATE_HEADER:function(){return p},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return i},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return le},ROOT_DIR_ALIAS:function(){return H},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return ee},RSC_ACTION_ENCRYPTION_ALIAS:function(){return V},RSC_ACTION_PROXY_ALIAS:function(){return z},RSC_ACTION_VALIDATE_ALIAS:function(){return G},RSC_CACHE_WRAPPER_ALIAS:function(){return J},RSC_MOD_REF_PROXY_ALIAS:function(){return Z},RSC_PREFETCH_SUFFIX:function(){return e},RSC_SEGMENTS_DIR_SUFFIX:function(){return a},RSC_SEGMENT_SUFFIX:function(){return f},RSC_SUFFIX:function(){return n},SERVER_PROPS_EXPORT_ERROR:function(){return se},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return ae},SERVER_PROPS_SSG_CONFLICT:function(){return de},SERVER_RUNTIME:function(){return M},SSG_FALLBACK_EXPORT_ERROR:function(){return A},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return oe},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return te},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return ue},WEBPACK_LAYERS:function(){return B},WEBPACK_RESOURCE_QUERIES:function(){return W}});const c="nxtP",u="nxtI",s="x-matched-path",p="x-prerender-revalidate",i="x-prerender-revalidate-if-generated",e=".prefetch.rsc",a=".segments",f=".segment.rsc",n=".rsc",d=".action",h=".json",P=".meta",T=".body",I="x-next-cache-tags",l="x-next-revalidated-tags",b="x-next-revalidate-tag-token",_="next-resume",m=128,y=256,t=1024,w="_N_T_",g=31536e3,v=4294967294,S="middleware",j=`(?:src/)?${S}`,X="instrumentation",U="private-next-pages",F="private-dot-next",H="private-next-root-dir",Q="private-next-app-dir",Z="private-next-rsc-mod-ref-proxy",G="private-next-rsc-action-validate",z="private-next-rsc-server-reference",J="private-next-rsc-cache-wrapper",V="private-next-rsc-action-encryption",ee="private-next-rsc-action-client-wrapper",le="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",oe="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",ae="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",de="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",te="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",se="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",fe="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",re="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",ue="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",R="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",E='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',A="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",C=["app","pages","components","lib","src"],M={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},O={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"},B={...O,GROUP:{builtinReact:[O.reactServerComponents,O.actionBrowser],serverOnly:[O.reactServerComponents,O.actionBrowser,O.instrument,O.middleware],neutralTarget:[O.apiNode,O.apiEdge],clientOnly:[O.serverSideRendering,O.appPagesBrowser],bundled:[O.reactServerComponents,O.actionBrowser,O.serverSideRendering,O.appPagesBrowser,O.shared,O.instrument,O.middleware],appPages:[O.reactServerComponents,O.serverSideRendering,O.appPagesBrowser,O.actionBrowser]}},W={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(He)),He}var Mt;function yr(){return Mt||(Mt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,f){for(var n in f)Object.defineProperty(a,n,{enumerable:!0,get:f[n]})}o(r,{fromNodeOutgoingHttpHeaders:function(){return u},normalizeNextQueryParam:function(){return e},splitCookiesString:function(){return s},toNodeOutgoingHttpHeaders:function(){return p},validateURL:function(){return i}});const c=qr();function u(a){const f=new Headers;for(let[n,d]of Object.entries(a)){const h=Array.isArray(d)?d:[d];for(let P of h)typeof P>"u"||(typeof P=="number"&&(P=P.toString()),f.append(n,P))}return f}function s(a){var f=[],n=0,d,h,P,T,I;function l(){for(;n<a.length&&/\s/.test(a.charAt(n));)n+=1;return n<a.length}function b(){return h=a.charAt(n),h!=="="&&h!==";"&&h!==","}for(;n<a.length;){for(d=n,I=!1;l();)if(h=a.charAt(n),h===","){for(P=n,n+=1,l(),T=n;n<a.length&&b();)n+=1;n<a.length&&a.charAt(n)==="="?(I=!0,n=T,f.push(a.substring(d,P)),d=n):n=P+1}else n+=1;(!I||n>=a.length)&&f.push(a.substring(d,a.length))}return f}function p(a){const f={},n=[];if(a)for(const[d,h]of a.entries())d.toLowerCase()==="set-cookie"?(n.push(...s(h)),f[d]=n.length===1?n[0]:n):f[d]=h;return f}function i(a){try{return String(new URL(String(a)))}catch(f){throw Object.defineProperty(new Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:f}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function e(a){const f=[c.NEXT_QUERY_PARAM_PREFIX,c.NEXT_INTERCEPTION_MARKER_PREFIX];for(const n of f)if(a!==n&&a.startsWith(n))return a.substring(n.length);return null}}(Ue)),Ue}var Xe={},Ut;function Mr(){return Ut||(Ut=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(p,i){for(var e in i)Object.defineProperty(p,e,{enumerable:!0,get:i[e]})}o(r,{PageSignatureError:function(){return c},RemovedPageError:function(){return u},RemovedUAError:function(){return s}});class c extends Error{constructor({page:i}){super(`The middleware "${i}" accepts an async API directly with the form:
2
2
 
3
3
  export function middleware(request, event) {
4
4
  return NextResponse.redirect('/new-location')
5
5
  }
6
6
 
7
7
  Read more: https://nextjs.org/docs/messages/middleware-new-signature
8
- `)}}class u extends Error{constructor(){super("The request.page has been deprecated in favour of `URLPattern`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n ")}}class s extends Error{constructor(){super("The request.ua has been removed in favour of `userAgent` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n ")}}}(Xe)),Xe}var Fe={},Ge,Ht;function Ur(){if(Ht)return Ge;Ht=1;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,s=(t,w)=>{for(var m in w)r(t,m,{get:w[m],enumerable:!0})},_=(t,w,m,v)=>{if(w&&typeof w=="object"||typeof w=="function")for(let S of l(w))!u.call(t,S)&&S!==m&&r(t,S,{get:()=>w[S],enumerable:!(v=o(w,S))||v.enumerable});return t},n=t=>_(r({},"__esModule",{value:!0}),t),e={};s(e,{RequestCookies:()=>g,ResponseCookies:()=>f,parseCookie:()=>h,parseSetCookie:()=>i,stringifyCookie:()=>a}),Ge=n(e);function a(t){var w;const m=["path"in t&&t.path&&`Path=${t.path}`,"expires"in t&&(t.expires||t.expires===0)&&`Expires=${(typeof t.expires=="number"?new Date(t.expires):t.expires).toUTCString()}`,"maxAge"in t&&typeof t.maxAge=="number"&&`Max-Age=${t.maxAge}`,"domain"in t&&t.domain&&`Domain=${t.domain}`,"secure"in t&&t.secure&&"Secure","httpOnly"in t&&t.httpOnly&&"HttpOnly","sameSite"in t&&t.sameSite&&`SameSite=${t.sameSite}`,"partitioned"in t&&t.partitioned&&"Partitioned","priority"in t&&t.priority&&`Priority=${t.priority}`].filter(Boolean),v=`${t.name}=${encodeURIComponent((w=t.value)!=null?w:"")}`;return m.length===0?v:`${v}; ${m.join("; ")}`}function h(t){const w=new Map;for(const m of t.split(/; */)){if(!m)continue;const v=m.indexOf("=");if(v===-1){w.set(m,"true");continue}const[S,j]=[m.slice(0,v),m.slice(v+1)];try{w.set(S,decodeURIComponent(j??"true"))}catch{}}return w}function i(t){if(!t)return;const[[w,m],...v]=h(t),{domain:S,expires:j,httponly:X,maxage:U,path:F,samesite:H,secure:Q,partitioned:Z,priority:G}=Object.fromEntries(v.map(([J,V])=>[J.toLowerCase().replace(/-/g,""),V])),z={name:w,value:decodeURIComponent(m),domain:S,...j&&{expires:new Date(j)},...X&&{httpOnly:!0},...typeof U=="string"&&{maxAge:Number(U)},path:F,...H&&{sameSite:P(H)},...Q&&{secure:!0},...G&&{priority:I(G)},...Z&&{partitioned:!0}};return c(z)}function c(t){const w={};for(const m in t)t[m]&&(w[m]=t[m]);return w}var E=["strict","lax","none"];function P(t){return t=t.toLowerCase(),E.includes(t)?t:void 0}var T=["low","medium","high"];function I(t){return t=t.toLowerCase(),T.includes(t)?t:void 0}function d(t){if(!t)return[];var w=[],m=0,v,S,j,X,U;function F(){for(;m<t.length&&/\s/.test(t.charAt(m));)m+=1;return m<t.length}function H(){return S=t.charAt(m),S!=="="&&S!==";"&&S!==","}for(;m<t.length;){for(v=m,U=!1;F();)if(S=t.charAt(m),S===","){for(j=m,m+=1,F(),X=m;m<t.length&&H();)m+=1;m<t.length&&t.charAt(m)==="="?(U=!0,m=X,w.push(t.substring(v,j)),v=m):m=j+1}else m+=1;(!U||m>=t.length)&&w.push(t.substring(v,t.length))}return w}var g=class{constructor(t){this._parsed=new Map,this._headers=t;const w=t.get("cookie");if(w){const m=h(w);for(const[v,S]of m)this._parsed.set(v,{name:v,value:S})}}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...t){const w=typeof t[0]=="string"?t[0]:t[0].name;return this._parsed.get(w)}getAll(...t){var w;const m=Array.from(this._parsed);if(!t.length)return m.map(([S,j])=>j);const v=typeof t[0]=="string"?t[0]:(w=t[0])==null?void 0:w.name;return m.filter(([S])=>S===v).map(([S,j])=>j)}has(t){return this._parsed.has(t)}set(...t){const[w,m]=t.length===1?[t[0].name,t[0].value]:t,v=this._parsed;return v.set(w,{name:w,value:m}),this._headers.set("cookie",Array.from(v).map(([S,j])=>a(j)).join("; ")),this}delete(t){const w=this._parsed,m=Array.isArray(t)?t.map(v=>w.delete(v)):w.delete(t);return this._headers.set("cookie",Array.from(w).map(([v,S])=>a(S)).join("; ")),m}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(t=>`${t.name}=${encodeURIComponent(t.value)}`).join("; ")}},f=class{constructor(t){this._parsed=new Map;var w,m,v;this._headers=t;const S=(v=(m=(w=t.getSetCookie)==null?void 0:w.call(t))!=null?m:t.get("set-cookie"))!=null?v:[],j=Array.isArray(S)?S:d(S);for(const X of j){const U=i(X);U&&this._parsed.set(U.name,U)}}get(...t){const w=typeof t[0]=="string"?t[0]:t[0].name;return this._parsed.get(w)}getAll(...t){var w;const m=Array.from(this._parsed.values());if(!t.length)return m;const v=typeof t[0]=="string"?t[0]:(w=t[0])==null?void 0:w.name;return m.filter(S=>S.name===v)}has(t){return this._parsed.has(t)}set(...t){const[w,m,v]=t.length===1?[t[0].name,t[0].value,t[0]]:t,S=this._parsed;return S.set(w,y({name:w,value:m,...v})),p(S,this._headers),this}delete(...t){const[w,m]=typeof t[0]=="string"?[t[0]]:[t[0].name,t[0]];return this.set({...m,name:w,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}};function p(t,w){w.delete("set-cookie");for(const[,m]of t){const v=a(m);w.append("set-cookie",v)}}function y(t={name:"",value:""}){return typeof t.expires=="number"&&(t.expires=new Date(t.expires)),t.maxAge&&(t.expires=new Date(Date.now()+t.maxAge*1e3)),(t.path===null||t.path===void 0)&&(t.path="/"),t}return Ge}var Xt;function _t(){return Xt||(Xt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(u,s){for(var _ in s)Object.defineProperty(u,_,{enumerable:!0,get:s[_]})}o(r,{RequestCookies:function(){return l.RequestCookies},ResponseCookies:function(){return l.ResponseCookies},stringifyCookie:function(){return l.stringifyCookie}});const l=Ur()}(Fe)),Fe}var Ft;function Hr(){return Ft||(Ft=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,h){for(var i in h)Object.defineProperty(a,i,{enumerable:!0,get:h[i]})}o(r,{INTERNALS:function(){return n},NextRequest:function(){return e}});const l=Rr(),u=yr(),s=Mr(),_=_t(),n=Symbol("internal request");class e extends Request{constructor(h,i={}){const c=typeof h!="string"&&"url"in h?h.url:String(h);(0,u.validateURL)(c),process.env.NEXT_RUNTIME!=="edge"&&i.body&&i.duplex!=="half"&&(i.duplex="half"),h instanceof Request?super(h,i):super(c,i);const E=new l.NextURL(c,{headers:(0,u.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:i.nextConfig});this[n]={cookies:new _.RequestCookies(this.headers),nextUrl:E,url:process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE?c:E.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 s.RemovedPageError}get ua(){throw new s.RemovedUAError}get url(){return this[n].url}}}(Pe)),Pe}var $e={},Be={},Gt;function Xr(){return Gt||(Gt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return o}});class o{static get(u,s,_){const n=Reflect.get(u,s,_);return typeof n=="function"?n.bind(u):n}static set(u,s,_,n){return Reflect.set(u,s,_,n)}static has(u,s){return Reflect.has(u,s)}static deleteProperty(u,s){return Reflect.deleteProperty(u,s)}}}(Be)),Be}var $t;function Fr(){return $t||($t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NextResponse",{enumerable:!0,get:function(){return h}});const o=_t(),l=Rr(),u=yr(),s=Xr(),_=_t(),n=Symbol("internal response"),e=new Set([301,302,303,307,308]);function a(i,c){var E;if(!(i==null||(E=i.request)==null)&&E.headers){if(!(i.request.headers instanceof Headers))throw Object.defineProperty(new Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});const P=[];for(const[T,I]of i.request.headers)c.set("x-middleware-request-"+T,I),P.push(T);c.set("x-middleware-override-headers",P.join(","))}}class h extends Response{constructor(c,E={}){super(c,E);const P=this.headers,T=new _.ResponseCookies(P),I=new Proxy(T,{get(d,g,f){switch(g){case"delete":case"set":return(...p)=>{const y=Reflect.apply(d[g],d,p),t=new Headers(P);return y instanceof _.ResponseCookies&&P.set("x-middleware-set-cookie",y.getAll().map(w=>(0,o.stringifyCookie)(w)).join(",")),a(E,t),y};default:return s.ReflectAdapter.get(d,g,f)}}});this[n]={cookies:I,url:E.url?new l.NextURL(E.url,{headers:(0,u.toNodeOutgoingHttpHeaders)(P),nextConfig:E.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[n].cookies}static json(c,E){const P=Response.json(c,E);return new h(P.body,P)}static redirect(c,E){const P=typeof E=="number"?E:(E==null?void 0:E.status)??307;if(!e.has(P))throw Object.defineProperty(new RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});const T=typeof E=="object"?E:{},I=new Headers(T==null?void 0:T.headers);return I.set("Location",(0,u.validateURL)(c)),new h(null,{...T,headers:I,status:P})}static rewrite(c,E){const P=new Headers(E==null?void 0:E.headers);return P.set("x-middleware-rewrite",(0,u.validateURL)(c)),a(E,P),new h(null,{...E,headers:P})}static next(c){const E=new Headers(c==null?void 0:c.headers);return E.set("x-middleware-next","1"),a(c,E),new h(null,{...c,headers:E})}}}($e)),$e}var We={},Bt;function Gr(){return Bt||(Bt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageResponse",{enumerable:!0,get:function(){return o}});function o(){throw Object.defineProperty(new Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}}(We)),We}var ze={},Ve={exports:{}},Wt;function $r(){return Wt||(Wt=1,(()=>{var r={226:function(s,_){(function(n,e){var a="1.0.35",h="",i="?",c="function",E="undefined",P="object",T="string",I="major",d="model",g="name",f="type",p="vendor",y="version",t="architecture",w="console",m="mobile",v="tablet",S="smarttv",j="wearable",X="embedded",U=350,F="Amazon",H="Apple",Q="ASUS",Z="BlackBerry",G="Browser",z="Chrome",J="Edge",V="Firefox",ee="Google",le="Huawei",oe="LG",ae="Microsoft",de="Motorola",te="Opera",se="Samsung",fe="Sharp",re="Sony",ue="Xiaomi",R="Zebra",b="Facebook",A="Chromium OS",C="Mac OS",M=function(D,L){var N={};for(var q in D)L[q]&&L[q].length%2===0?N[q]=L[q].concat(D[q]):N[q]=D[q];return N},O=function(D){for(var L={},N=0;N<D.length;N++)L[D[N].toUpperCase()]=D[N];return L},B=function(D,L){return typeof D===T?W(L).indexOf(W(D))!==-1:!1},W=function(D){return D.toLowerCase()},ce=function(D){return typeof D===T?D.replace(/[^\d\.]/g,h).split(".")[0]:e},he=function(D,L){if(typeof D===T)return D=D.replace(/^\s\s*/,h),typeof L===E?D:D.substring(0,U)},ne=function(D,L){for(var N=0,q,ie,Y,k,x,K;N<L.length&&!x;){var Ae=L[N],wt=L[N+1];for(q=ie=0;q<Ae.length&&!x&&Ae[q];)if(x=Ae[q++].exec(D),x)for(Y=0;Y<wt.length;Y++)K=x[++ie],k=wt[Y],typeof k===P&&k.length>0?k.length===2?typeof k[1]==c?this[k[0]]=k[1].call(this,K):this[k[0]]=k[1]:k.length===3?typeof k[1]===c&&!(k[1].exec&&k[1].test)?this[k[0]]=K?k[1].call(this,K,k[2]):e:this[k[0]]=K?K.replace(k[1],k[2]):e:k.length===4&&(this[k[0]]=K?k[3].call(this,K.replace(k[1],k[2])):e):this[k]=K||e;N+=2}},we=function(D,L){for(var N in L)if(typeof L[N]===P&&L[N].length>0){for(var q=0;q<L[N].length;q++)if(B(L[N][q],D))return N===i?e:N}else if(B(L[N],D))return N===i?e:N;return D},wr={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},yt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},vt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[g,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[g,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[g,y],[/opios[\/ ]+([\w\.]+)/i],[y,[g,te+" Mini"]],[/\bopr\/([\w\.]+)/i],[y,[g,te]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[g,y],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[g,"UC"+G]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[y,[g,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[g,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[g,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[g,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[g,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[g,/(.+)/,"$1 Secure "+G],y],[/\bfocus\/([\w\.]+)/i],[y,[g,V+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[g,te+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[g,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[g,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[g,te+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[g,"MIUI "+G]],[/fxios\/([-\w\.]+)/i],[y,[g,V]],[/\bqihu|(qi?ho?o?|360)browser/i],[[g,"360 "+G]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[g,/(.+)/,"$1 "+G],y],[/(comodo_dragon)\/([\w\.]+)/i],[[g,/_/g," "],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[g,y],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[g],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[g,b],y],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[g,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[g,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[g,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[g,z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[g,z+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[g,"Android "+G]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[g,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[g,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,g],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[g,[y,we,wr]],[/(webkit|khtml)\/([\w\.]+)/i],[g,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[g,"Netscape"],y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[g,V+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[g,y],[/(cobalt)\/([\w\.]+)/i],[g,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[t,"amd64"]],[/(ia32(?=;))/i],[[t,W]],[/((?:i[346]|x)86)[;\)]/i],[[t,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[t,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[t,"armhf"]],[/windows (ce|mobile); ppc;/i],[[t,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[t,/ower/,h,W]],[/(sun4\w)[;\)]/i],[[t,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[t,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[p,se],[f,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[p,se],[f,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[p,H],[f,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[p,H],[f,v]],[/(macintosh);/i],[d,[p,H]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[p,fe],[f,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[p,le],[f,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[p,le],[f,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[p,ue],[f,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[p,ue],[f,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[p,"OPPO"],[f,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[p,"Vivo"],[f,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[p,"Realme"],[f,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[p,de],[f,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[p,de],[f,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[p,oe],[f,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[p,oe],[f,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[p,"Lenovo"],[f,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[p,"Nokia"],[f,m]],[/(pixel c)\b/i],[d,[p,ee],[f,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[p,ee],[f,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[p,re],[f,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[p,re],[f,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[p,"OnePlus"],[f,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[p,F],[f,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[p,F],[f,m]],[/(playbook);[-\w\),; ]+(rim)/i],[d,p,[f,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[p,Z],[f,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[p,Q],[f,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[p,Q],[f,m]],[/(nexus 9)/i],[d,[p,"HTC"],[f,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[d,/_/g," "],[f,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[p,"Acer"],[f,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[p,"Meizu"],[f,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,d,[f,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,d,[f,v]],[/(surface duo)/i],[d,[p,ae],[f,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[p,"Fairphone"],[f,m]],[/(u304aa)/i],[d,[p,"AT&T"],[f,m]],[/\bsie-(\w*)/i],[d,[p,"Siemens"],[f,m]],[/\b(rct\w+) b/i],[d,[p,"RCA"],[f,v]],[/\b(venue[\d ]{2,7}) b/i],[d,[p,"Dell"],[f,v]],[/\b(q(?:mv|ta)\w+) b/i],[d,[p,"Verizon"],[f,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[p,"Barnes & Noble"],[f,v]],[/\b(tm\d{3}\w+) b/i],[d,[p,"NuVision"],[f,v]],[/\b(k88) b/i],[d,[p,"ZTE"],[f,v]],[/\b(nx\d{3}j) b/i],[d,[p,"ZTE"],[f,m]],[/\b(gen\d{3}) b.+49h/i],[d,[p,"Swiss"],[f,m]],[/\b(zur\d{3}) b/i],[d,[p,"Swiss"],[f,v]],[/\b((zeki)?tb.*\b) b/i],[d,[p,"Zeki"],[f,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],d,[f,v]],[/\b(ns-?\w{0,9}) b/i],[d,[p,"Insignia"],[f,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[p,"NextBook"],[f,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],d,[f,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],d,[f,m]],[/\b(ph-1) /i],[d,[p,"Essential"],[f,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[p,"Envizen"],[f,v]],[/\b(trio[-\w\. ]+) b/i],[d,[p,"MachSpeed"],[f,v]],[/\btu_(1491) b/i],[d,[p,"Rotor"],[f,v]],[/(shield[\w ]+) b/i],[d,[p,"Nvidia"],[f,v]],[/(sprint) (\w+)/i],[p,d,[f,m]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[p,ae],[f,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[p,R],[f,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[p,R],[f,m]],[/smart-tv.+(samsung)/i],[p,[f,S]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[p,se],[f,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,oe],[f,S]],[/(apple) ?tv/i],[p,[d,H+" TV"],[f,S]],[/crkey/i],[[d,z+"cast"],[p,ee],[f,S]],[/droid.+aft(\w)( bui|\))/i],[d,[p,F],[f,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[p,fe],[f,S]],[/(bravia[\w ]+)( bui|\))/i],[d,[p,re],[f,S]],[/(mitv-\w{5}) bui/i],[d,[p,ue],[f,S]],[/Hbbtv.*(technisat) (.*);/i],[p,d,[f,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,he],[d,he],[f,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,d,[f,w]],[/droid.+; (shield) bui/i],[d,[p,"Nvidia"],[f,w]],[/(playstation [345portablevi]+)/i],[d,[p,re],[f,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[p,ae],[f,w]],[/((pebble))app/i],[p,d,[f,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[p,H],[f,j]],[/droid.+; (glass) \d/i],[d,[p,ee],[f,j]],[/droid.+; (wt63?0{2,3})\)/i],[d,[p,R],[f,j]],[/(quest( 2| pro)?)/i],[d,[p,b],[f,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,X]],[/(aeobc)\b/i],[d,[p,F],[f,X]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[f,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[f,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[f,m]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[g,J+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[g,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[g,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,g]],os:[[/microsoft (windows) (vista|xp)/i],[g,y],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[g,[y,we,yt]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,"Windows"],[y,we,yt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[g,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[g,C],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,g],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[g,y],[/\(bb(10);/i],[y,[g,Z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[g,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[g,V+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[g,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[g,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[g,z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[g,A],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[g,y],[/(sunos) ?([\w\.\d]*)/i],[[g,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[g,y]]},$=function(D,L){if(typeof D===P&&(L=D,D=e),!(this instanceof $))return new $(D,L).getResult();var N=typeof n!==E&&n.navigator?n.navigator:e,q=D||(N&&N.userAgent?N.userAgent:h),ie=N&&N.userAgentData?N.userAgentData:e,Y=L?M(vt,L):vt,k=N&&N.userAgent==q;return this.getBrowser=function(){var x={};return x[g]=e,x[y]=e,ne.call(x,q,Y.browser),x[I]=ce(x[y]),k&&N&&N.brave&&typeof N.brave.isBrave==c&&(x[g]="Brave"),x},this.getCPU=function(){var x={};return x[t]=e,ne.call(x,q,Y.cpu),x},this.getDevice=function(){var x={};return x[p]=e,x[d]=e,x[f]=e,ne.call(x,q,Y.device),k&&!x[f]&&ie&&ie.mobile&&(x[f]=m),k&&x[d]=="Macintosh"&&N&&typeof N.standalone!==E&&N.maxTouchPoints&&N.maxTouchPoints>2&&(x[d]="iPad",x[f]=v),x},this.getEngine=function(){var x={};return x[g]=e,x[y]=e,ne.call(x,q,Y.engine),x},this.getOS=function(){var x={};return x[g]=e,x[y]=e,ne.call(x,q,Y.os),k&&!x[g]&&ie&&ie.platform!="Unknown"&&(x[g]=ie.platform.replace(/chrome os/i,A).replace(/macos/i,C)),x},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return q},this.setUA=function(x){return q=typeof x===T&&x.length>U?he(x,U):x,this},this.setUA(q),this};$.VERSION=a,$.BROWSER=O([g,y,I]),$.CPU=O([t]),$.DEVICE=O([d,p,f,w,m,S,v,j,X]),$.ENGINE=$.OS=O([g,y]),typeof _!==E?(s.exports&&(_=s.exports=$),_.UAParser=$):typeof n!==E&&(n.UAParser=$);var _e=typeof n!==E&&(n.jQuery||n.Zepto);if(_e&&!_e.ua){var pe=new $;_e.ua=pe.getResult(),_e.ua.get=function(){return pe.getUA()},_e.ua.set=function(D){pe.setUA(D);var L=pe.getResult();for(var N in L)_e.ua[N]=L[N]}}})(typeof window=="object"?window:this)}},o={};function l(s){var _=o[s];if(_!==void 0)return _.exports;var n=o[s]={exports:{}},e=!0;try{r[s].call(n.exports,n,n.exports,l),e=!1}finally{e&&delete o[s]}return n.exports}typeof l<"u"&&(l.ab=__dirname+"/");var u=l(226);Ve.exports=u})()),Ve.exports}var zt;function Vt(){return zt||(zt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(e,a){for(var h in a)Object.defineProperty(e,h,{enumerable:!0,get:a[h]})}o(r,{isBot:function(){return s},userAgent:function(){return n},userAgentFromString:function(){return _}});const l=u($r());function u(e){return e&&e.__esModule?e:{default:e}}function s(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function _(e){return{...(0,l.default)(e),isBot:e===void 0?!1:s(e)}}function n({headers:e}){return _(e.get("user-agent")||void 0)}}(ze)),ze}var Ye={},Yt;function Br(){return Yt||(Yt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"URLPattern",{enumerable:!0,get:function(){return o}});const o=typeof URLPattern>"u"?void 0:URLPattern}(Ye)),Ye}var Ke={},Qe={},Ze={},Je={},et={},Kt;function gt(){return Kt||(Kt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,h){for(var i in h)Object.defineProperty(a,i,{enumerable:!0,get:h[i]})}o(r,{bindSnapshot:function(){return n},createAsyncLocalStorage:function(){return _},createSnapshot:function(){return e}});const l=Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class u{disable(){throw l}getStore(){}run(){throw l}exit(){throw l}enterWith(){throw l}static bind(h){return h}}const s=typeof globalThis<"u"&&globalThis.AsyncLocalStorage;function _(){return s?new s:new u}function n(a){return s?s.bind(a):u.bind(a)}function e(){return s?s.snapshot():function(a,...h){return a(...h)}}}(et)),et}var Qt;function Wr(){return Qt||(Qt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return l}});const l=(0,gt().createAsyncLocalStorage)()}(Je)),Je}var Zt;function ve(){return Zt||(Zt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return o.workAsyncStorageInstance}});const o=Wr()}(Ze)),Ze}var Jt;function zr(){return Jt||(Jt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"after",{enumerable:!0,get:function(){return l}});const o=ve();function l(u){const s=o.workAsyncStorage.getStore();if(!s)throw Object.defineProperty(new Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});const{afterContext:_}=s;return _.after(u)}}(Qe)),Qe}var er;function Vr(){return er||(er=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),o(zr(),r);function o(l,u){return Object.keys(l).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(u,s)&&Object.defineProperty(u,s,{enumerable:!0,get:function(){return l[s]}})}),l}}(Ke)),Ke}var tt={},rt={},nt={},tr;function Yr(){return tr||(tr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return l}});const l=(0,gt().createAsyncLocalStorage)()}(nt)),nt}var ge={exports:{}},rr;function Kr(){return rr||(rr=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function l(p,y){for(var t in y)Object.defineProperty(p,t,{enumerable:!0,get:y[t]})}l(o,{ACTION_HEADER:function(){return s},FLIGHT_HEADERS:function(){return E},NEXT_DID_POSTPONE_HEADER:function(){return I},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return h},NEXT_HMR_REFRESH_HEADER:function(){return a},NEXT_IS_PRERENDER_HEADER:function(){return f},NEXT_REWRITTEN_PATH_HEADER:function(){return d},NEXT_REWRITTEN_QUERY_HEADER:function(){return g},NEXT_ROUTER_PREFETCH_HEADER:function(){return n},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return e},NEXT_ROUTER_STALE_TIME_HEADER:function(){return T},NEXT_ROUTER_STATE_TREE_HEADER:function(){return _},NEXT_RSC_UNION_QUERY:function(){return P},NEXT_URL:function(){return i},RSC_CONTENT_TYPE_HEADER:function(){return c},RSC_HEADER:function(){return u}});const u="RSC",s="Next-Action",_="Next-Router-State-Tree",n="Next-Router-Prefetch",e="Next-Router-Segment-Prefetch",a="Next-HMR-Refresh",h="__next_hmr_refresh_hash__",i="Next-Url",c="text/x-component",E=[u,_,n,a,e],P="_rsc",T="x-nextjs-stale-time",I="x-nextjs-postponed",d="x-nextjs-rewritten-path",g="x-nextjs-rewritten-query",f="x-nextjs-prerender";(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(ge,ge.exports)),ge.exports}var nr;function bt(){return nr||(nr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(i,c){for(var E in c)Object.defineProperty(i,E,{enumerable:!0,get:c[E]})}o(r,{getDraftModeProviderForCacheScope:function(){return h},getExpectedRequestStore:function(){return s},getHmrRefreshHash:function(){return a},getPrerenderResumeDataCache:function(){return n},getRenderResumeDataCache:function(){return e},throwForMissingRequestStore:function(){return _},workUnitAsyncStorage:function(){return l.workUnitAsyncStorageInstance}});const l=Yr(),u=Kr();function s(i){const c=l.workUnitAsyncStorageInstance.getStore();switch(c||_(i),c.type){case"request":return c;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`\`${i}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0});default:return c}}function _(i){throw Object.defineProperty(new Error(`\`${i}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function n(i){return i.type==="prerender"||i.type==="prerender-ppr"?i.prerenderResumeDataCache:null}function e(i){return i.type!=="prerender-legacy"&&i.type!=="cache"&&i.type!=="unstable-cache"?i.type==="request"?i.renderResumeDataCache:i.prerenderResumeDataCache:null}function a(i,c){var E;if(i.dev)return c.type==="cache"||c.type==="prerender"?c.hmrRefreshHash:c.type==="request"?(E=c.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:E.value:void 0}function h(i,c){if(i.isDraftMode)switch(c.type){case"cache":case"unstable-cache":case"request":return c.draftMode;default:return}}}(rt)),rt}var it={},be={exports:{}},ir;function Qr(){return ir||(ir=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function l(n,e){for(var a in e)Object.defineProperty(n,a,{enumerable:!0,get:e[a]})}l(o,{DynamicServerError:function(){return s},isDynamicServerError:function(){return _}});const u="DYNAMIC_SERVER_USAGE";class s extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=u}}function _(n){return typeof n!="object"||n===null||!("digest"in n)||typeof n.digest!="string"?!1:n.digest===u}(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(be,be.exports)),be.exports}var Ee={exports:{}},or;function Et(){return or||(or=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function l(n,e){for(var a in e)Object.defineProperty(n,a,{enumerable:!0,get:e[a]})}l(o,{StaticGenBailoutError:function(){return s},isStaticGenBailoutError:function(){return _}});const u="NEXT_STATIC_GEN_BAILOUT";class s extends Error{constructor(...e){super(...e),this.code=u}}function _(n){return typeof n!="object"||n===null||!("code"in n)?!1:n.code===u}(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(Ee,Ee.exports)),Ee.exports}var ot={},ar;function Rt(){return ar||(ar=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,h){for(var i in h)Object.defineProperty(a,i,{enumerable:!0,get:h[i]})}o(r,{isHangingPromiseRejectionError:function(){return l},makeHangingPromise:function(){return n}});function l(a){return typeof a!="object"||a===null||!("digest"in a)?!1:a.digest===u}const u="HANGING_PROMISE_REJECTION";class s extends Error{constructor(h){super(`During prerendering, ${h} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${h} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=h,this.digest=u}}const _=new WeakMap;function n(a,h){if(a.aborted)return Promise.reject(new s(h));{const i=new Promise((c,E)=>{const P=E.bind(null,new s(h));let T=_.get(a);if(T)T.push(P);else{const I=[P];_.set(a,I),a.addEventListener("abort",()=>{for(let d=0;d<I.length;d++)I[d]()},{once:!0})}});return i.catch(e),i}}function e(){}}(ot)),ot}var at={},sr;function Zr(){return sr||(sr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(_,n){for(var e in n)Object.defineProperty(_,e,{enumerable:!0,get:n[e]})}o(r,{METADATA_BOUNDARY_NAME:function(){return l},OUTLET_BOUNDARY_NAME:function(){return s},VIEWPORT_BOUNDARY_NAME:function(){return u}});const l="__next_metadata_boundary__",u="__next_viewport_boundary__",s="__next_outlet_boundary__"}(at)),at}var st={},ur;function Jr(){return ur||(ur=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(n,e){for(var a in e)Object.defineProperty(n,a,{enumerable:!0,get:e[a]})}o(r,{atLeastOneTask:function(){return s},scheduleImmediate:function(){return u},scheduleOnNextTick:function(){return l},waitAtLeastOneReactRenderTask:function(){return _}});const l=n=>{Promise.resolve().then(()=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(n,0):process.nextTick(n)})},u=n=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(n,0):setImmediate(n)};function s(){return new Promise(n=>u(n))}function _(){return process.env.NEXT_RUNTIME==="edge"?new Promise(n=>setTimeout(n,0)):new Promise(n=>setImmediate(n))}}(st)),st}var cr;function vr(){return cr||(cr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(R,b){for(var A in b)Object.defineProperty(R,A,{enumerable:!0,get:b[A]})}o(r,{Postpone:function(){return v},abortAndThrowOnSynchronousRequestDataAccess:function(){return w},abortOnSynchronousPlatformIOAccess:function(){return y},accessedDynamicData:function(){return Z},annotateDynamicAccess:function(){return le},consumeDynamicAccess:function(){return G},createDynamicTrackingState:function(){return E},createDynamicValidationState:function(){return P},createHangingInputAbortSignal:function(){return ee},createPostponedAbortSignal:function(){return V},formatDynamicAPIAccesses:function(){return z},getFirstDynamicReason:function(){return T},isDynamicPostpone:function(){return X},isPrerenderInterruptedError:function(){return Q},markCurrentScopeAsDynamic:function(){return I},postponeWithTracking:function(){return S},throwIfDisallowedDynamic:function(){return ue},throwToInterruptStaticGeneration:function(){return g},trackAllowedDynamicAccess:function(){return fe},trackDynamicDataInDynamicRender:function(){return f},trackFallbackParamAccessed:function(){return d},trackSynchronousPlatformIOAccessInDev:function(){return t},trackSynchronousRequestDataAccessInDev:function(){return m},useDynamicRouteParams:function(){return oe}});const l=i(Pr),u=Qr(),s=Et(),_=bt(),n=ve(),e=Rt(),a=Zr(),h=Jr();function i(R){return R&&R.__esModule?R:{default:R}}const c=typeof l.default.unstable_postpone=="function";function E(R){return{isDebugDynamicAccesses:R,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function P(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function T(R){var b;return(b=R.dynamicAccesses[0])==null?void 0:b.expression}function I(R,b,A){if(!(b&&(b.type==="cache"||b.type==="unstable-cache"))&&!(R.forceDynamic||R.forceStatic)){if(R.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${R.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${A}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)if(b.type==="prerender-ppr")S(R.route,A,b.dynamicTracking);else if(b.type==="prerender-legacy"){b.revalidate=0;const C=Object.defineProperty(new u.DynamicServerError(`Route ${R.route} couldn't be rendered statically because it used ${A}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw R.dynamicUsageDescription=A,R.dynamicUsageStack=C.stack,C}else process.env.NODE_ENV==="development"&&b&&b.type==="request"&&(b.usedDynamic=!0)}}function d(R,b){const A=_.workUnitAsyncStorage.getStore();!A||A.type!=="prerender-ppr"||S(R.route,b,A.dynamicTracking)}function g(R,b,A){const C=Object.defineProperty(new u.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${R}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw A.revalidate=0,b.dynamicUsageDescription=R,b.dynamicUsageStack=C.stack,C}function f(R,b){if(b){if(b.type==="cache"||b.type==="unstable-cache")return;(b.type==="prerender"||b.type==="prerender-legacy")&&(b.revalidate=0),process.env.NODE_ENV==="development"&&b.type==="request"&&(b.usedDynamic=!0)}}function p(R,b,A){const C=`Route ${R} needs to bail out of prerendering at this point because it used ${b}.`,M=H(C);A.controller.abort(M);const O=A.dynamicTracking;O&&O.dynamicAccesses.push({stack:O.isDebugDynamicAccesses?new Error().stack:void 0,expression:b})}function y(R,b,A,C){const M=C.dynamicTracking;M&&M.syncDynamicErrorWithStack===null&&(M.syncDynamicExpression=b,M.syncDynamicErrorWithStack=A),p(R,b,C)}function t(R){R.prerenderPhase=!1}function w(R,b,A,C){if(C.controller.signal.aborted===!1){const O=C.dynamicTracking;O&&O.syncDynamicErrorWithStack===null&&(O.syncDynamicExpression=b,O.syncDynamicErrorWithStack=A,C.validating===!0&&(O.syncDynamicLogged=!0)),p(R,b,C)}throw H(`Route ${R} needs to bail out of prerendering at this point because it used ${b}.`)}const m=t;function v({reason:R,route:b}){const A=_.workUnitAsyncStorage.getStore(),C=A&&A.type==="prerender-ppr"?A.dynamicTracking:null;S(b,R,C)}function S(R,b,A){J(),A&&A.dynamicAccesses.push({stack:A.isDebugDynamicAccesses?new Error().stack:void 0,expression:b}),l.default.unstable_postpone(j(R,b))}function j(R,b){return`Route ${R} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function X(R){return typeof R=="object"&&R!==null&&typeof R.message=="string"?U(R.message):!1}function U(R){return R.includes("needs to bail out of prerendering at this point because it used")&&R.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(U(j("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const F="NEXT_PRERENDER_INTERRUPTED";function H(R){const b=Object.defineProperty(new Error(R),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=F,b}function Q(R){return typeof R=="object"&&R!==null&&R.digest===F&&"name"in R&&"message"in R&&R instanceof Error}function Z(R){return R.length>0}function G(R,b){return R.dynamicAccesses.push(...b.dynamicAccesses),R.dynamicAccesses}function z(R){return R.filter(b=>typeof b.stack=="string"&&b.stack.length>0).map(({expression:b,stack:A})=>(A=A.split(`
8
+ `)}}class u extends Error{constructor(){super("The request.page has been deprecated in favour of `URLPattern`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n ")}}class s extends Error{constructor(){super("The request.ua has been removed in favour of `userAgent` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n ")}}}(Xe)),Xe}var Fe={},Ge,Ht;function Ur(){if(Ht)return Ge;Ht=1;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.prototype.hasOwnProperty,s=(t,w)=>{for(var g in w)r(t,g,{get:w[g],enumerable:!0})},p=(t,w,g,v)=>{if(w&&typeof w=="object"||typeof w=="function")for(let S of c(w))!u.call(t,S)&&S!==g&&r(t,S,{get:()=>w[S],enumerable:!(v=o(w,S))||v.enumerable});return t},i=t=>p(r({},"__esModule",{value:!0}),t),e={};s(e,{RequestCookies:()=>b,ResponseCookies:()=>_,parseCookie:()=>f,parseSetCookie:()=>n,stringifyCookie:()=>a}),Ge=i(e);function a(t){var w;const g=["path"in t&&t.path&&`Path=${t.path}`,"expires"in t&&(t.expires||t.expires===0)&&`Expires=${(typeof t.expires=="number"?new Date(t.expires):t.expires).toUTCString()}`,"maxAge"in t&&typeof t.maxAge=="number"&&`Max-Age=${t.maxAge}`,"domain"in t&&t.domain&&`Domain=${t.domain}`,"secure"in t&&t.secure&&"Secure","httpOnly"in t&&t.httpOnly&&"HttpOnly","sameSite"in t&&t.sameSite&&`SameSite=${t.sameSite}`,"partitioned"in t&&t.partitioned&&"Partitioned","priority"in t&&t.priority&&`Priority=${t.priority}`].filter(Boolean),v=`${t.name}=${encodeURIComponent((w=t.value)!=null?w:"")}`;return g.length===0?v:`${v}; ${g.join("; ")}`}function f(t){const w=new Map;for(const g of t.split(/; */)){if(!g)continue;const v=g.indexOf("=");if(v===-1){w.set(g,"true");continue}const[S,j]=[g.slice(0,v),g.slice(v+1)];try{w.set(S,decodeURIComponent(j??"true"))}catch{}}return w}function n(t){if(!t)return;const[[w,g],...v]=f(t),{domain:S,expires:j,httponly:X,maxage:U,path:F,samesite:H,secure:Q,partitioned:Z,priority:G}=Object.fromEntries(v.map(([J,V])=>[J.toLowerCase().replace(/-/g,""),V])),z={name:w,value:decodeURIComponent(g),domain:S,...j&&{expires:new Date(j)},...X&&{httpOnly:!0},...typeof U=="string"&&{maxAge:Number(U)},path:F,...H&&{sameSite:P(H)},...Q&&{secure:!0},...G&&{priority:I(G)},...Z&&{partitioned:!0}};return d(z)}function d(t){const w={};for(const g in t)t[g]&&(w[g]=t[g]);return w}var h=["strict","lax","none"];function P(t){return t=t.toLowerCase(),h.includes(t)?t:void 0}var T=["low","medium","high"];function I(t){return t=t.toLowerCase(),T.includes(t)?t:void 0}function l(t){if(!t)return[];var w=[],g=0,v,S,j,X,U;function F(){for(;g<t.length&&/\s/.test(t.charAt(g));)g+=1;return g<t.length}function H(){return S=t.charAt(g),S!=="="&&S!==";"&&S!==","}for(;g<t.length;){for(v=g,U=!1;F();)if(S=t.charAt(g),S===","){for(j=g,g+=1,F(),X=g;g<t.length&&H();)g+=1;g<t.length&&t.charAt(g)==="="?(U=!0,g=X,w.push(t.substring(v,j)),v=g):g=j+1}else g+=1;(!U||g>=t.length)&&w.push(t.substring(v,t.length))}return w}var b=class{constructor(t){this._parsed=new Map,this._headers=t;const w=t.get("cookie");if(w){const g=f(w);for(const[v,S]of g)this._parsed.set(v,{name:v,value:S})}}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...t){const w=typeof t[0]=="string"?t[0]:t[0].name;return this._parsed.get(w)}getAll(...t){var w;const g=Array.from(this._parsed);if(!t.length)return g.map(([S,j])=>j);const v=typeof t[0]=="string"?t[0]:(w=t[0])==null?void 0:w.name;return g.filter(([S])=>S===v).map(([S,j])=>j)}has(t){return this._parsed.has(t)}set(...t){const[w,g]=t.length===1?[t[0].name,t[0].value]:t,v=this._parsed;return v.set(w,{name:w,value:g}),this._headers.set("cookie",Array.from(v).map(([S,j])=>a(j)).join("; ")),this}delete(t){const w=this._parsed,g=Array.isArray(t)?t.map(v=>w.delete(v)):w.delete(t);return this._headers.set("cookie",Array.from(w).map(([v,S])=>a(S)).join("; ")),g}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(t=>`${t.name}=${encodeURIComponent(t.value)}`).join("; ")}},_=class{constructor(t){this._parsed=new Map;var w,g,v;this._headers=t;const S=(v=(g=(w=t.getSetCookie)==null?void 0:w.call(t))!=null?g:t.get("set-cookie"))!=null?v:[],j=Array.isArray(S)?S:l(S);for(const X of j){const U=n(X);U&&this._parsed.set(U.name,U)}}get(...t){const w=typeof t[0]=="string"?t[0]:t[0].name;return this._parsed.get(w)}getAll(...t){var w;const g=Array.from(this._parsed.values());if(!t.length)return g;const v=typeof t[0]=="string"?t[0]:(w=t[0])==null?void 0:w.name;return g.filter(S=>S.name===v)}has(t){return this._parsed.has(t)}set(...t){const[w,g,v]=t.length===1?[t[0].name,t[0].value,t[0]]:t,S=this._parsed;return S.set(w,y({name:w,value:g,...v})),m(S,this._headers),this}delete(...t){const[w,g]=typeof t[0]=="string"?[t[0]]:[t[0].name,t[0]];return this.set({...g,name:w,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a).join("; ")}};function m(t,w){w.delete("set-cookie");for(const[,g]of t){const v=a(g);w.append("set-cookie",v)}}function y(t={name:"",value:""}){return typeof t.expires=="number"&&(t.expires=new Date(t.expires)),t.maxAge&&(t.expires=new Date(Date.now()+t.maxAge*1e3)),(t.path===null||t.path===void 0)&&(t.path="/"),t}return Ge}var Xt;function _t(){return Xt||(Xt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(u,s){for(var p in s)Object.defineProperty(u,p,{enumerable:!0,get:s[p]})}o(r,{RequestCookies:function(){return c.RequestCookies},ResponseCookies:function(){return c.ResponseCookies},stringifyCookie:function(){return c.stringifyCookie}});const c=Ur()}(Fe)),Fe}var Ft;function Hr(){return Ft||(Ft=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,f){for(var n in f)Object.defineProperty(a,n,{enumerable:!0,get:f[n]})}o(r,{INTERNALS:function(){return i},NextRequest:function(){return e}});const c=Rr(),u=yr(),s=Mr(),p=_t(),i=Symbol("internal request");class e extends Request{constructor(f,n={}){const d=typeof f!="string"&&"url"in f?f.url:String(f);(0,u.validateURL)(d),process.env.NEXT_RUNTIME!=="edge"&&n.body&&n.duplex!=="half"&&(n.duplex="half"),f instanceof Request?super(f,n):super(d,n);const h=new c.NextURL(d,{headers:(0,u.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:n.nextConfig});this[i]={cookies:new p.RequestCookies(this.headers),nextUrl:h,url:process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE?d:h.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[i].cookies}get nextUrl(){return this[i].nextUrl}get page(){throw new s.RemovedPageError}get ua(){throw new s.RemovedUAError}get url(){return this[i].url}}}(Pe)),Pe}var $e={},Be={},Gt;function Xr(){return Gt||(Gt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return o}});class o{static get(u,s,p){const i=Reflect.get(u,s,p);return typeof i=="function"?i.bind(u):i}static set(u,s,p,i){return Reflect.set(u,s,p,i)}static has(u,s){return Reflect.has(u,s)}static deleteProperty(u,s){return Reflect.deleteProperty(u,s)}}}(Be)),Be}var $t;function Fr(){return $t||($t=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"NextResponse",{enumerable:!0,get:function(){return f}});const o=_t(),c=Rr(),u=yr(),s=Xr(),p=_t(),i=Symbol("internal response"),e=new Set([301,302,303,307,308]);function a(n,d){var h;if(!(n==null||(h=n.request)==null)&&h.headers){if(!(n.request.headers instanceof Headers))throw Object.defineProperty(new Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});const P=[];for(const[T,I]of n.request.headers)d.set("x-middleware-request-"+T,I),P.push(T);d.set("x-middleware-override-headers",P.join(","))}}class f extends Response{constructor(d,h={}){super(d,h);const P=this.headers,T=new p.ResponseCookies(P),I=new Proxy(T,{get(l,b,_){switch(b){case"delete":case"set":return(...m)=>{const y=Reflect.apply(l[b],l,m),t=new Headers(P);return y instanceof p.ResponseCookies&&P.set("x-middleware-set-cookie",y.getAll().map(w=>(0,o.stringifyCookie)(w)).join(",")),a(h,t),y};default:return s.ReflectAdapter.get(l,b,_)}}});this[i]={cookies:I,url:h.url?new c.NextURL(h.url,{headers:(0,u.toNodeOutgoingHttpHeaders)(P),nextConfig:h.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[i].cookies}static json(d,h){const P=Response.json(d,h);return new f(P.body,P)}static redirect(d,h){const P=typeof h=="number"?h:(h==null?void 0:h.status)??307;if(!e.has(P))throw Object.defineProperty(new RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});const T=typeof h=="object"?h:{},I=new Headers(T==null?void 0:T.headers);return I.set("Location",(0,u.validateURL)(d)),new f(null,{...T,headers:I,status:P})}static rewrite(d,h){const P=new Headers(h==null?void 0:h.headers);return P.set("x-middleware-rewrite",(0,u.validateURL)(d)),a(h,P),new f(null,{...h,headers:P})}static next(d){const h=new Headers(d==null?void 0:d.headers);return h.set("x-middleware-next","1"),a(d,h),new f(null,{...d,headers:h})}}}($e)),$e}var We={},Bt;function Gr(){return Bt||(Bt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageResponse",{enumerable:!0,get:function(){return o}});function o(){throw Object.defineProperty(new Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}}(We)),We}var ze={},Ve={exports:{}},Wt;function $r(){return Wt||(Wt=1,(()=>{var r={226:function(s,p){(function(i,e){var a="1.0.35",f="",n="?",d="function",h="undefined",P="object",T="string",I="major",l="model",b="name",_="type",m="vendor",y="version",t="architecture",w="console",g="mobile",v="tablet",S="smarttv",j="wearable",X="embedded",U=350,F="Amazon",H="Apple",Q="ASUS",Z="BlackBerry",G="Browser",z="Chrome",J="Edge",V="Firefox",ee="Google",le="Huawei",oe="LG",ae="Microsoft",de="Motorola",te="Opera",se="Samsung",fe="Sharp",re="Sony",ue="Xiaomi",R="Zebra",E="Facebook",A="Chromium OS",C="Mac OS",M=function(D,L){var N={};for(var q in D)L[q]&&L[q].length%2===0?N[q]=L[q].concat(D[q]):N[q]=D[q];return N},O=function(D){for(var L={},N=0;N<D.length;N++)L[D[N].toUpperCase()]=D[N];return L},B=function(D,L){return typeof D===T?W(L).indexOf(W(D))!==-1:!1},W=function(D){return D.toLowerCase()},ce=function(D){return typeof D===T?D.replace(/[^\d\.]/g,f).split(".")[0]:e},he=function(D,L){if(typeof D===T)return D=D.replace(/^\s\s*/,f),typeof L===h?D:D.substring(0,U)},ne=function(D,L){for(var N=0,q,ie,Y,k,x,K;N<L.length&&!x;){var Ae=L[N],wt=L[N+1];for(q=ie=0;q<Ae.length&&!x&&Ae[q];)if(x=Ae[q++].exec(D),x)for(Y=0;Y<wt.length;Y++)K=x[++ie],k=wt[Y],typeof k===P&&k.length>0?k.length===2?typeof k[1]==d?this[k[0]]=k[1].call(this,K):this[k[0]]=k[1]:k.length===3?typeof k[1]===d&&!(k[1].exec&&k[1].test)?this[k[0]]=K?k[1].call(this,K,k[2]):e:this[k[0]]=K?K.replace(k[1],k[2]):e:k.length===4&&(this[k[0]]=K?k[3].call(this,K.replace(k[1],k[2])):e):this[k]=K||e;N+=2}},we=function(D,L){for(var N in L)if(typeof L[N]===P&&L[N].length>0){for(var q=0;q<L[N].length;q++)if(B(L[N][q],D))return N===n?e:N}else if(B(L[N],D))return N===n?e:N;return D},wr={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},yt={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},vt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[b,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[b,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[b,y],[/opios[\/ ]+([\w\.]+)/i],[y,[b,te+" Mini"]],[/\bopr\/([\w\.]+)/i],[y,[b,te]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[b,y],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[b,"UC"+G]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[y,[b,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[y,[b,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[b,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[b,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[b,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[b,/(.+)/,"$1 Secure "+G],y],[/\bfocus\/([\w\.]+)/i],[y,[b,V+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[b,te+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[b,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[b,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[b,te+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[b,"MIUI "+G]],[/fxios\/([-\w\.]+)/i],[y,[b,V]],[/\bqihu|(qi?ho?o?|360)browser/i],[[b,"360 "+G]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[b,/(.+)/,"$1 "+G],y],[/(comodo_dragon)\/([\w\.]+)/i],[[b,/_/g," "],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[b,y],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[b],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[b,E],y],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[b,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[b,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[b,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[b,z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[b,z+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[b,"Android "+G]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[b,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[b,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,b],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[b,[y,we,wr]],[/(webkit|khtml)\/([\w\.]+)/i],[b,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[b,"Netscape"],y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[b,V+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[b,y],[/(cobalt)\/([\w\.]+)/i],[b,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[t,"amd64"]],[/(ia32(?=;))/i],[[t,W]],[/((?:i[346]|x)86)[;\)]/i],[[t,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[t,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[t,"armhf"]],[/windows (ce|mobile); ppc;/i],[[t,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[t,/ower/,f,W]],[/(sun4\w)[;\)]/i],[[t,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[t,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[l,[m,se],[_,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[m,se],[_,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[m,H],[_,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[m,H],[_,v]],[/(macintosh);/i],[l,[m,H]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[m,fe],[_,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[m,le],[_,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[m,le],[_,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[l,/_/g," "],[m,ue],[_,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[m,ue],[_,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[l,[m,"OPPO"],[_,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[m,"Vivo"],[_,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[l,[m,"Realme"],[_,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[l,[m,de],[_,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[m,de],[_,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[m,oe],[_,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[m,oe],[_,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[m,"Lenovo"],[_,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[m,"Nokia"],[_,g]],[/(pixel c)\b/i],[l,[m,ee],[_,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[m,ee],[_,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[m,re],[_,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[m,re],[_,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[m,"OnePlus"],[_,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[m,F],[_,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[m,F],[_,g]],[/(playbook);[-\w\),; ]+(rim)/i],[l,m,[_,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[m,Z],[_,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[m,Q],[_,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[m,Q],[_,g]],[/(nexus 9)/i],[l,[m,"HTC"],[_,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[l,/_/g," "],[_,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[m,"Acer"],[_,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[m,"Meizu"],[_,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,l,[_,g]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,l,[_,v]],[/(surface duo)/i],[l,[m,ae],[_,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[m,"Fairphone"],[_,g]],[/(u304aa)/i],[l,[m,"AT&T"],[_,g]],[/\bsie-(\w*)/i],[l,[m,"Siemens"],[_,g]],[/\b(rct\w+) b/i],[l,[m,"RCA"],[_,v]],[/\b(venue[\d ]{2,7}) b/i],[l,[m,"Dell"],[_,v]],[/\b(q(?:mv|ta)\w+) b/i],[l,[m,"Verizon"],[_,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[m,"Barnes & Noble"],[_,v]],[/\b(tm\d{3}\w+) b/i],[l,[m,"NuVision"],[_,v]],[/\b(k88) b/i],[l,[m,"ZTE"],[_,v]],[/\b(nx\d{3}j) b/i],[l,[m,"ZTE"],[_,g]],[/\b(gen\d{3}) b.+49h/i],[l,[m,"Swiss"],[_,g]],[/\b(zur\d{3}) b/i],[l,[m,"Swiss"],[_,v]],[/\b((zeki)?tb.*\b) b/i],[l,[m,"Zeki"],[_,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],l,[_,v]],[/\b(ns-?\w{0,9}) b/i],[l,[m,"Insignia"],[_,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[m,"NextBook"],[_,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],l,[_,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],l,[_,g]],[/\b(ph-1) /i],[l,[m,"Essential"],[_,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[m,"Envizen"],[_,v]],[/\b(trio[-\w\. ]+) b/i],[l,[m,"MachSpeed"],[_,v]],[/\btu_(1491) b/i],[l,[m,"Rotor"],[_,v]],[/(shield[\w ]+) b/i],[l,[m,"Nvidia"],[_,v]],[/(sprint) (\w+)/i],[m,l,[_,g]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[m,ae],[_,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[m,R],[_,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[m,R],[_,g]],[/smart-tv.+(samsung)/i],[m,[_,S]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[m,se],[_,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,oe],[_,S]],[/(apple) ?tv/i],[m,[l,H+" TV"],[_,S]],[/crkey/i],[[l,z+"cast"],[m,ee],[_,S]],[/droid.+aft(\w)( bui|\))/i],[l,[m,F],[_,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[m,fe],[_,S]],[/(bravia[\w ]+)( bui|\))/i],[l,[m,re],[_,S]],[/(mitv-\w{5}) bui/i],[l,[m,ue],[_,S]],[/Hbbtv.*(technisat) (.*);/i],[m,l,[_,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,he],[l,he],[_,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[_,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,l,[_,w]],[/droid.+; (shield) bui/i],[l,[m,"Nvidia"],[_,w]],[/(playstation [345portablevi]+)/i],[l,[m,re],[_,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[m,ae],[_,w]],[/((pebble))app/i],[m,l,[_,j]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[m,H],[_,j]],[/droid.+; (glass) \d/i],[l,[m,ee],[_,j]],[/droid.+; (wt63?0{2,3})\)/i],[l,[m,R],[_,j]],[/(quest( 2| pro)?)/i],[l,[m,E],[_,j]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[_,X]],[/(aeobc)\b/i],[l,[m,F],[_,X]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[l,[_,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[l,[_,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[_,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[_,g]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[b,J+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[b,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[b,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,b]],os:[[/microsoft (windows) (vista|xp)/i],[b,y],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[b,[y,we,yt]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,"Windows"],[y,we,yt]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[b,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[b,C],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,b],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[b,y],[/\(bb(10);/i],[y,[b,Z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[b,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[b,V+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[b,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[b,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[b,z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[b,A],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[b,y],[/(sunos) ?([\w\.\d]*)/i],[[b,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[b,y]]},$=function(D,L){if(typeof D===P&&(L=D,D=e),!(this instanceof $))return new $(D,L).getResult();var N=typeof i!==h&&i.navigator?i.navigator:e,q=D||(N&&N.userAgent?N.userAgent:f),ie=N&&N.userAgentData?N.userAgentData:e,Y=L?M(vt,L):vt,k=N&&N.userAgent==q;return this.getBrowser=function(){var x={};return x[b]=e,x[y]=e,ne.call(x,q,Y.browser),x[I]=ce(x[y]),k&&N&&N.brave&&typeof N.brave.isBrave==d&&(x[b]="Brave"),x},this.getCPU=function(){var x={};return x[t]=e,ne.call(x,q,Y.cpu),x},this.getDevice=function(){var x={};return x[m]=e,x[l]=e,x[_]=e,ne.call(x,q,Y.device),k&&!x[_]&&ie&&ie.mobile&&(x[_]=g),k&&x[l]=="Macintosh"&&N&&typeof N.standalone!==h&&N.maxTouchPoints&&N.maxTouchPoints>2&&(x[l]="iPad",x[_]=v),x},this.getEngine=function(){var x={};return x[b]=e,x[y]=e,ne.call(x,q,Y.engine),x},this.getOS=function(){var x={};return x[b]=e,x[y]=e,ne.call(x,q,Y.os),k&&!x[b]&&ie&&ie.platform!="Unknown"&&(x[b]=ie.platform.replace(/chrome os/i,A).replace(/macos/i,C)),x},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return q},this.setUA=function(x){return q=typeof x===T&&x.length>U?he(x,U):x,this},this.setUA(q),this};$.VERSION=a,$.BROWSER=O([b,y,I]),$.CPU=O([t]),$.DEVICE=O([l,m,_,w,g,S,v,j,X]),$.ENGINE=$.OS=O([b,y]),typeof p!==h?(s.exports&&(p=s.exports=$),p.UAParser=$):typeof i!==h&&(i.UAParser=$);var _e=typeof i!==h&&(i.jQuery||i.Zepto);if(_e&&!_e.ua){var pe=new $;_e.ua=pe.getResult(),_e.ua.get=function(){return pe.getUA()},_e.ua.set=function(D){pe.setUA(D);var L=pe.getResult();for(var N in L)_e.ua[N]=L[N]}}})(typeof window=="object"?window:this)}},o={};function c(s){var p=o[s];if(p!==void 0)return p.exports;var i=o[s]={exports:{}},e=!0;try{r[s].call(i.exports,i,i.exports,c),e=!1}finally{e&&delete o[s]}return i.exports}typeof c<"u"&&(c.ab=__dirname+"/");var u=c(226);Ve.exports=u})()),Ve.exports}var zt;function Vt(){return zt||(zt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(e,a){for(var f in a)Object.defineProperty(e,f,{enumerable:!0,get:a[f]})}o(r,{isBot:function(){return s},userAgent:function(){return i},userAgentFromString:function(){return p}});const c=u($r());function u(e){return e&&e.__esModule?e:{default:e}}function s(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function p(e){return{...(0,c.default)(e),isBot:e===void 0?!1:s(e)}}function i({headers:e}){return p(e.get("user-agent")||void 0)}}(ze)),ze}var Ye={},Yt;function Br(){return Yt||(Yt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"URLPattern",{enumerable:!0,get:function(){return o}});const o=typeof URLPattern>"u"?void 0:URLPattern}(Ye)),Ye}var Ke={},Qe={},Ze={},Je={},et={},Kt;function gt(){return Kt||(Kt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,f){for(var n in f)Object.defineProperty(a,n,{enumerable:!0,get:f[n]})}o(r,{bindSnapshot:function(){return i},createAsyncLocalStorage:function(){return p},createSnapshot:function(){return e}});const c=Object.defineProperty(new Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class u{disable(){throw c}getStore(){}run(){throw c}exit(){throw c}enterWith(){throw c}static bind(f){return f}}const s=typeof globalThis<"u"&&globalThis.AsyncLocalStorage;function p(){return s?new s:new u}function i(a){return s?s.bind(a):u.bind(a)}function e(){return s?s.snapshot():function(a,...f){return a(...f)}}}(et)),et}var Qt;function Wr(){return Qt||(Qt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return c}});const c=(0,gt().createAsyncLocalStorage)()}(Je)),Je}var Zt;function ve(){return Zt||(Zt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return o.workAsyncStorageInstance}});const o=Wr()}(Ze)),Ze}var Jt;function zr(){return Jt||(Jt=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"after",{enumerable:!0,get:function(){return c}});const o=ve();function c(u){const s=o.workAsyncStorage.getStore();if(!s)throw Object.defineProperty(new Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});const{afterContext:p}=s;return p.after(u)}}(Qe)),Qe}var er;function Vr(){return er||(er=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),o(zr(),r);function o(c,u){return Object.keys(c).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(u,s)&&Object.defineProperty(u,s,{enumerable:!0,get:function(){return c[s]}})}),c}}(Ke)),Ke}var tt={},rt={},nt={},tr;function Yr(){return tr||(tr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return c}});const c=(0,gt().createAsyncLocalStorage)()}(nt)),nt}var ge={exports:{}},rr;function Kr(){return rr||(rr=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function c(m,y){for(var t in y)Object.defineProperty(m,t,{enumerable:!0,get:y[t]})}c(o,{ACTION_HEADER:function(){return s},FLIGHT_HEADERS:function(){return h},NEXT_DID_POSTPONE_HEADER:function(){return I},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return a},NEXT_IS_PRERENDER_HEADER:function(){return _},NEXT_REWRITTEN_PATH_HEADER:function(){return l},NEXT_REWRITTEN_QUERY_HEADER:function(){return b},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return e},NEXT_ROUTER_STALE_TIME_HEADER:function(){return T},NEXT_ROUTER_STATE_TREE_HEADER:function(){return p},NEXT_RSC_UNION_QUERY:function(){return P},NEXT_URL:function(){return n},RSC_CONTENT_TYPE_HEADER:function(){return d},RSC_HEADER:function(){return u}});const u="RSC",s="Next-Action",p="Next-Router-State-Tree",i="Next-Router-Prefetch",e="Next-Router-Segment-Prefetch",a="Next-HMR-Refresh",f="__next_hmr_refresh_hash__",n="Next-Url",d="text/x-component",h=[u,p,i,a,e],P="_rsc",T="x-nextjs-stale-time",I="x-nextjs-postponed",l="x-nextjs-rewritten-path",b="x-nextjs-rewritten-query",_="x-nextjs-prerender";(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(ge,ge.exports)),ge.exports}var nr;function bt(){return nr||(nr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(n,d){for(var h in d)Object.defineProperty(n,h,{enumerable:!0,get:d[h]})}o(r,{getDraftModeProviderForCacheScope:function(){return f},getExpectedRequestStore:function(){return s},getHmrRefreshHash:function(){return a},getPrerenderResumeDataCache:function(){return i},getRenderResumeDataCache:function(){return e},throwForMissingRequestStore:function(){return p},workUnitAsyncStorage:function(){return c.workUnitAsyncStorageInstance}});const c=Yr(),u=Kr();function s(n){const d=c.workUnitAsyncStorageInstance.getStore();switch(d||p(n),d.type){case"request":return d;case"prerender":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new Error(`\`${n}\` cannot be called inside a prerender. This is a bug in Next.js.`),"__NEXT_ERROR_CODE",{value:"E401",enumerable:!1,configurable:!0});case"cache":throw Object.defineProperty(new Error(`\`${n}\` cannot be called inside "use cache". Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E37",enumerable:!1,configurable:!0});case"unstable-cache":throw Object.defineProperty(new Error(`\`${n}\` cannot be called inside unstable_cache. Call it outside and pass an argument instead. Read more: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E69",enumerable:!1,configurable:!0});default:return d}}function p(n){throw Object.defineProperty(new Error(`\`${n}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function i(n){return n.type==="prerender"||n.type==="prerender-ppr"?n.prerenderResumeDataCache:null}function e(n){return n.type!=="prerender-legacy"&&n.type!=="cache"&&n.type!=="unstable-cache"?n.type==="request"?n.renderResumeDataCache:n.prerenderResumeDataCache:null}function a(n,d){var h;if(n.dev)return d.type==="cache"||d.type==="prerender"?d.hmrRefreshHash:d.type==="request"?(h=d.cookies.get(u.NEXT_HMR_REFRESH_HASH_COOKIE))==null?void 0:h.value:void 0}function f(n,d){if(n.isDraftMode)switch(d.type){case"cache":case"unstable-cache":case"request":return d.draftMode;default:return}}}(rt)),rt}var it={},be={exports:{}},ir;function Qr(){return ir||(ir=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function c(i,e){for(var a in e)Object.defineProperty(i,a,{enumerable:!0,get:e[a]})}c(o,{DynamicServerError:function(){return s},isDynamicServerError:function(){return p}});const u="DYNAMIC_SERVER_USAGE";class s extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=u}}function p(i){return typeof i!="object"||i===null||!("digest"in i)||typeof i.digest!="string"?!1:i.digest===u}(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(be,be.exports)),be.exports}var Ee={exports:{}},or;function Et(){return or||(or=1,function(r,o){Object.defineProperty(o,"__esModule",{value:!0});function c(i,e){for(var a in e)Object.defineProperty(i,a,{enumerable:!0,get:e[a]})}c(o,{StaticGenBailoutError:function(){return s},isStaticGenBailoutError:function(){return p}});const u="NEXT_STATIC_GEN_BAILOUT";class s extends Error{constructor(...e){super(...e),this.code=u}}function p(i){return typeof i!="object"||i===null||!("code"in i)?!1:i.code===u}(typeof o.default=="function"||typeof o.default=="object"&&o.default!==null)&&typeof o.default.__esModule>"u"&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),r.exports=o.default)}(Ee,Ee.exports)),Ee.exports}var ot={},ar;function Rt(){return ar||(ar=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,f){for(var n in f)Object.defineProperty(a,n,{enumerable:!0,get:f[n]})}o(r,{isHangingPromiseRejectionError:function(){return c},makeHangingPromise:function(){return i}});function c(a){return typeof a!="object"||a===null||!("digest"in a)?!1:a.digest===u}const u="HANGING_PROMISE_REJECTION";class s extends Error{constructor(f){super(`During prerendering, ${f} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${f} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=f,this.digest=u}}const p=new WeakMap;function i(a,f){if(a.aborted)return Promise.reject(new s(f));{const n=new Promise((d,h)=>{const P=h.bind(null,new s(f));let T=p.get(a);if(T)T.push(P);else{const I=[P];p.set(a,I),a.addEventListener("abort",()=>{for(let l=0;l<I.length;l++)I[l]()},{once:!0})}});return n.catch(e),n}}function e(){}}(ot)),ot}var at={},sr;function Zr(){return sr||(sr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(p,i){for(var e in i)Object.defineProperty(p,e,{enumerable:!0,get:i[e]})}o(r,{METADATA_BOUNDARY_NAME:function(){return c},OUTLET_BOUNDARY_NAME:function(){return s},VIEWPORT_BOUNDARY_NAME:function(){return u}});const c="__next_metadata_boundary__",u="__next_viewport_boundary__",s="__next_outlet_boundary__"}(at)),at}var st={},ur;function Jr(){return ur||(ur=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(i,e){for(var a in e)Object.defineProperty(i,a,{enumerable:!0,get:e[a]})}o(r,{atLeastOneTask:function(){return s},scheduleImmediate:function(){return u},scheduleOnNextTick:function(){return c},waitAtLeastOneReactRenderTask:function(){return p}});const c=i=>{Promise.resolve().then(()=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(i,0):process.nextTick(i)})},u=i=>{process.env.NEXT_RUNTIME==="edge"?setTimeout(i,0):setImmediate(i)};function s(){return new Promise(i=>u(i))}function p(){return process.env.NEXT_RUNTIME==="edge"?new Promise(i=>setTimeout(i,0)):new Promise(i=>setImmediate(i))}}(st)),st}var cr;function vr(){return cr||(cr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(R,E){for(var A in E)Object.defineProperty(R,A,{enumerable:!0,get:E[A]})}o(r,{Postpone:function(){return v},abortAndThrowOnSynchronousRequestDataAccess:function(){return w},abortOnSynchronousPlatformIOAccess:function(){return y},accessedDynamicData:function(){return Z},annotateDynamicAccess:function(){return le},consumeDynamicAccess:function(){return G},createDynamicTrackingState:function(){return h},createDynamicValidationState:function(){return P},createHangingInputAbortSignal:function(){return ee},createPostponedAbortSignal:function(){return V},formatDynamicAPIAccesses:function(){return z},getFirstDynamicReason:function(){return T},isDynamicPostpone:function(){return X},isPrerenderInterruptedError:function(){return Q},markCurrentScopeAsDynamic:function(){return I},postponeWithTracking:function(){return S},throwIfDisallowedDynamic:function(){return ue},throwToInterruptStaticGeneration:function(){return b},trackAllowedDynamicAccess:function(){return fe},trackDynamicDataInDynamicRender:function(){return _},trackFallbackParamAccessed:function(){return l},trackSynchronousPlatformIOAccessInDev:function(){return t},trackSynchronousRequestDataAccessInDev:function(){return g},useDynamicRouteParams:function(){return oe}});const c=n(Pr),u=Qr(),s=Et(),p=bt(),i=ve(),e=Rt(),a=Zr(),f=Jr();function n(R){return R&&R.__esModule?R:{default:R}}const d=typeof c.default.unstable_postpone=="function";function h(R){return{isDebugDynamicAccesses:R,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function P(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function T(R){var E;return(E=R.dynamicAccesses[0])==null?void 0:E.expression}function I(R,E,A){if(!(E&&(E.type==="cache"||E.type==="unstable-cache"))&&!(R.forceDynamic||R.forceStatic)){if(R.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${R.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${A}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(E)if(E.type==="prerender-ppr")S(R.route,A,E.dynamicTracking);else if(E.type==="prerender-legacy"){E.revalidate=0;const C=Object.defineProperty(new u.DynamicServerError(`Route ${R.route} couldn't be rendered statically because it used ${A}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw R.dynamicUsageDescription=A,R.dynamicUsageStack=C.stack,C}else process.env.NODE_ENV==="development"&&E&&E.type==="request"&&(E.usedDynamic=!0)}}function l(R,E){const A=p.workUnitAsyncStorage.getStore();!A||A.type!=="prerender-ppr"||S(R.route,E,A.dynamicTracking)}function b(R,E,A){const C=Object.defineProperty(new u.DynamicServerError(`Route ${E.route} couldn't be rendered statically because it used \`${R}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw A.revalidate=0,E.dynamicUsageDescription=R,E.dynamicUsageStack=C.stack,C}function _(R,E){if(E){if(E.type==="cache"||E.type==="unstable-cache")return;(E.type==="prerender"||E.type==="prerender-legacy")&&(E.revalidate=0),process.env.NODE_ENV==="development"&&E.type==="request"&&(E.usedDynamic=!0)}}function m(R,E,A){const C=`Route ${R} needs to bail out of prerendering at this point because it used ${E}.`,M=H(C);A.controller.abort(M);const O=A.dynamicTracking;O&&O.dynamicAccesses.push({stack:O.isDebugDynamicAccesses?new Error().stack:void 0,expression:E})}function y(R,E,A,C){const M=C.dynamicTracking;M&&M.syncDynamicErrorWithStack===null&&(M.syncDynamicExpression=E,M.syncDynamicErrorWithStack=A),m(R,E,C)}function t(R){R.prerenderPhase=!1}function w(R,E,A,C){if(C.controller.signal.aborted===!1){const O=C.dynamicTracking;O&&O.syncDynamicErrorWithStack===null&&(O.syncDynamicExpression=E,O.syncDynamicErrorWithStack=A,C.validating===!0&&(O.syncDynamicLogged=!0)),m(R,E,C)}throw H(`Route ${R} needs to bail out of prerendering at this point because it used ${E}.`)}const g=t;function v({reason:R,route:E}){const A=p.workUnitAsyncStorage.getStore(),C=A&&A.type==="prerender-ppr"?A.dynamicTracking:null;S(E,R,C)}function S(R,E,A){J(),A&&A.dynamicAccesses.push({stack:A.isDebugDynamicAccesses?new Error().stack:void 0,expression:E}),c.default.unstable_postpone(j(R,E))}function j(R,E){return`Route ${R} needs to bail out of prerendering at this point because it used ${E}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function X(R){return typeof R=="object"&&R!==null&&typeof R.message=="string"?U(R.message):!1}function U(R){return R.includes("needs to bail out of prerendering at this point because it used")&&R.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(U(j("%%%","^^^"))===!1)throw Object.defineProperty(new Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});const F="NEXT_PRERENDER_INTERRUPTED";function H(R){const E=Object.defineProperty(new Error(R),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return E.digest=F,E}function Q(R){return typeof R=="object"&&R!==null&&R.digest===F&&"name"in R&&"message"in R&&R instanceof Error}function Z(R){return R.length>0}function G(R,E){return R.dynamicAccesses.push(...E.dynamicAccesses),R.dynamicAccesses}function z(R){return R.filter(E=>typeof E.stack=="string"&&E.stack.length>0).map(({expression:E,stack:A})=>(A=A.split(`
9
9
  `).slice(4).filter(C=>!(C.includes("node_modules/next/")||C.includes(" (<anonymous>)")||C.includes(" (node:"))).join(`
10
- `),`Dynamic API Usage Debug - ${b}:
11
- ${A}`))}function J(){if(!c)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function V(R){J();const b=new AbortController;try{l.default.unstable_postpone(R)}catch(A){b.abort(A)}return b.signal}function ee(R){const b=new AbortController;return R.cacheSignal?R.cacheSignal.inputReady().then(()=>{b.abort()}):(0,h.scheduleOnNextTick)(()=>b.abort()),b.signal}function le(R,b){const A=b.dynamicTracking;A&&A.dynamicAccesses.push({stack:A.isDebugDynamicAccesses?new Error().stack:void 0,expression:R})}function oe(R){const b=n.workAsyncStorage.getStore();if(b&&b.isStaticGeneration&&b.fallbackRouteParams&&b.fallbackRouteParams.size>0){const A=_.workUnitAsyncStorage.getStore();A&&(A.type==="prerender"?l.default.use((0,e.makeHangingPromise)(A.renderSignal,R)):A.type==="prerender-ppr"?S(b.route,R,A.dynamicTracking):A.type==="prerender-legacy"&&g(R,b,A))}}const ae=/\n\s+at Suspense \(<anonymous>\)/,de=new RegExp(`\\n\\s+at ${a.METADATA_BOUNDARY_NAME}[\\n\\s]`),te=new RegExp(`\\n\\s+at ${a.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),se=new RegExp(`\\n\\s+at ${a.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function fe(R,b,A,C,M){if(!se.test(b))if(de.test(b)){A.hasDynamicMetadata=!0;return}else if(te.test(b)){A.hasDynamicViewport=!0;return}else if(ae.test(b)){A.hasSuspendedDynamic=!0;return}else if(C.syncDynamicErrorWithStack||M.syncDynamicErrorWithStack){A.hasSyncDynamicErrors=!0;return}else{const O=`Route "${R}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,B=re(O,b);A.dynamicErrors.push(B);return}}function re(R,b){const A=Object.defineProperty(new Error(R),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return A.stack="Error: "+R+b,A}function ue(R,b,A,C){let M,O,B;if(A.syncDynamicErrorWithStack?(M=A.syncDynamicErrorWithStack,O=A.syncDynamicExpression,B=A.syncDynamicLogged===!0):C.syncDynamicErrorWithStack?(M=C.syncDynamicErrorWithStack,O=C.syncDynamicExpression,B=C.syncDynamicLogged===!0):(M=null,O=void 0,B=!1),b.hasSyncDynamicErrors&&M)throw B||console.error(M),new s.StaticGenBailoutError;const W=b.dynamicErrors;if(W.length){for(let ce=0;ce<W.length;ce++)console.error(W[ce]);throw new s.StaticGenBailoutError}if(!b.hasSuspendedDynamic){if(b.hasDynamicMetadata)throw M?(console.error(M),Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateMetadata\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E608",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E534",enumerable:!1,configurable:!0});if(b.hasDynamicViewport)throw M?(console.error(M),Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateViewport\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E573",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E590",enumerable:!1,configurable:!0})}}}(it)),it}var ut={},ct={},lt={},lr;function en(){return lr||(lr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return l}});const l=(0,gt().createAsyncLocalStorage)()}(lt)),lt}var dr;function tn(){return dr||(dr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return o.afterTaskAsyncStorageInstance}});const o=en()}(ct)),ct}var fr;function rn(){return fr||(fr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,h){for(var i in h)Object.defineProperty(a,i,{enumerable:!0,get:h[i]})}o(r,{isRequestAPICallableInsideAfter:function(){return e},throwForSearchParamsAccessInUseCache:function(){return n},throwWithStaticGenerationBailoutError:function(){return s},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return _}});const l=Et(),u=tn();function s(a,h){throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${h}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function _(a,h){throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${h}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function n(a){const h=Object.defineProperty(new Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "searchParams" 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:"E634",enumerable:!1,configurable:!0});throw a.invalidUsageError??(a.invalidUsageError=h),h}function e(){const a=u.afterTaskAsyncStorage.getStore();return(a==null?void 0:a.rootTaskSpawnPhase)==="action"}}(ut)),ut}var hr;function nn(){return hr||(hr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"connection",{enumerable:!0,get:function(){return e}});const o=ve(),l=bt(),u=vr(),s=Et(),_=Rt(),n=rn();function e(){const a=o.workAsyncStorage.getStore(),h=l.workUnitAsyncStorage.getStore();if(a){if(h&&h.phase==="after"&&!(0,n.isRequestAPICallableInsideAfter)())throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(h){if(h.type==="cache")throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E111",enumerable:!1,configurable:!0});if(h.type==="unstable-cache")throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0})}if(a.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(h){if(h.type==="prerender")return(0,_.makeHangingPromise)(h.renderSignal,"`connection()`");h.type==="prerender-ppr"?(0,u.postponeWithTracking)(a.route,"connection",h.dynamicTracking):h.type==="prerender-legacy"&&(0,u.throwToInterruptStaticGeneration)("connection",a,h)}(0,u.trackDynamicDataInDynamicRender)(a,h)}return Promise.resolve(void 0)}}(tt)),tt}var dt={},ft={},_r;function on(){return _r||(_r=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvariantError",{enumerable:!0,get:function(){return o}});class o extends Error{constructor(u,s){super("Invariant: "+(u.endsWith(".")?u:u+".")+" This is a bug in Next.js.",s),this.name="InvariantError"}}}(ft)),ft}var ht={},pr;function an(){return pr||(pr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(n,e){for(var a in e)Object.defineProperty(n,a,{enumerable:!0,get:e[a]})}o(r,{describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return u},wellKnownProperties:function(){return _}});const l=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function u(n,e){return l.test(e)?"`"+n+"."+e+"`":"`"+n+"["+JSON.stringify(e)+"]`"}function s(n,e){const a=JSON.stringify(e);return"`Reflect.has("+n+", "+a+")`, `"+a+" in "+n+"`, or similar"}const _=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","toJSON","$$typeof","__esModule"])}(ht)),ht}var mr;function sn(){return mr||(mr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rootParams",{enumerable:!0,get:function(){return a}});const o=on(),l=vr(),u=ve(),s=bt(),_=Rt(),n=an(),e=new WeakMap;async function a(){const c=u.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new o.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});const E=s.workUnitAsyncStorage.getStore();if(!E)throw Object.defineProperty(new Error(`Route ${c.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});switch(E.type){case"unstable-cache":case"cache":throw Object.defineProperty(new Error(`Route ${c.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case"prerender":case"prerender-ppr":case"prerender-legacy":return h(E.rootParams,c,E);default:return Promise.resolve(E.rootParams)}}function h(c,E,P){const T=E.fallbackRouteParams;if(T){let I=!1;for(const d in c)if(T.has(d)){I=!0;break}if(I){if(P.type==="prerender"){const d=e.get(c);if(d)return d;const g=(0,_.makeHangingPromise)(P.renderSignal,"`unstable_rootParams`");return e.set(c,g),g}return i(c,T,E,P)}}return Promise.resolve(c)}function i(c,E,P,T){const I=e.get(c);if(I)return I;const d={...c},g=Promise.resolve(d);return e.set(c,g),Object.keys(c).forEach(f=>{n.wellKnownProperties.has(f)||(E.has(f)?Object.defineProperty(d,f,{get(){const p=(0,n.describeStringPropertyAccess)("unstable_rootParams",f);T.type==="prerender-ppr"?(0,l.postponeWithTracking)(P.route,p,T.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(p,P,T)},enumerable:!0}):g[f]=c[f])}),g}}(dt)),dt}var gr;function un(){return gr||(gr=1,function(r,o){const l={NextRequest:Hr().NextRequest,NextResponse:Fr().NextResponse,ImageResponse:Gr().ImageResponse,userAgentFromString:Vt().userAgentFromString,userAgent:Vt().userAgent,URLPattern:Br().URLPattern,after:Vr().after,connection:nn().connection,unstable_rootParams:sn().unstable_rootParams};r.exports=l,o.NextRequest=l.NextRequest,o.NextResponse=l.NextResponse,o.ImageResponse=l.ImageResponse,o.userAgentFromString=l.userAgentFromString,o.userAgent=l.userAgent,o.URLPattern=l.URLPattern,o.after=l.after,o.connection=l.connection,o.unstable_rootParams=l.unstable_rootParams}(me,me.exports)),me.exports}var Re=un();async function cn(r){try{const l=await ye.getAuth0Client().middleware(r);if(l instanceof Re.NextResponse){const u=l.status;if(u===401||u===403||u===500){const s=new URL("/auth/login",r.url);return Re.NextResponse.redirect(s)}}return l}catch(o){if(o instanceof Error&&o.message==="Missing session"){const u=new URL("/auth/login",r.url);return Re.NextResponse.redirect(u)}const l=new URL("/auth/login",r.url);return Re.NextResponse.redirect(l)}}const ln=["/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|api/auth).*)"];exports.accessToken=ye.accessToken;exports.getAuth0Client=ye.getAuth0Client;exports.authMiddlewareMatcher=ln;exports.createServerAuth0=br;exports.getAuth0ServerConfigFromEnv=Sr;exports.getServerSidePermissions=Tr;exports.handleAuthMiddleware=cn;
10
+ `),`Dynamic API Usage Debug - ${E}:
11
+ ${A}`))}function J(){if(!d)throw Object.defineProperty(new Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function V(R){J();const E=new AbortController;try{c.default.unstable_postpone(R)}catch(A){E.abort(A)}return E.signal}function ee(R){const E=new AbortController;return R.cacheSignal?R.cacheSignal.inputReady().then(()=>{E.abort()}):(0,f.scheduleOnNextTick)(()=>E.abort()),E.signal}function le(R,E){const A=E.dynamicTracking;A&&A.dynamicAccesses.push({stack:A.isDebugDynamicAccesses?new Error().stack:void 0,expression:R})}function oe(R){const E=i.workAsyncStorage.getStore();if(E&&E.isStaticGeneration&&E.fallbackRouteParams&&E.fallbackRouteParams.size>0){const A=p.workUnitAsyncStorage.getStore();A&&(A.type==="prerender"?c.default.use((0,e.makeHangingPromise)(A.renderSignal,R)):A.type==="prerender-ppr"?S(E.route,R,A.dynamicTracking):A.type==="prerender-legacy"&&b(R,E,A))}}const ae=/\n\s+at Suspense \(<anonymous>\)/,de=new RegExp(`\\n\\s+at ${a.METADATA_BOUNDARY_NAME}[\\n\\s]`),te=new RegExp(`\\n\\s+at ${a.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),se=new RegExp(`\\n\\s+at ${a.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function fe(R,E,A,C,M){if(!se.test(E))if(de.test(E)){A.hasDynamicMetadata=!0;return}else if(te.test(E)){A.hasDynamicViewport=!0;return}else if(ae.test(E)){A.hasSuspendedDynamic=!0;return}else if(C.syncDynamicErrorWithStack||M.syncDynamicErrorWithStack){A.hasSyncDynamicErrors=!0;return}else{const O=`Route "${R}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,B=re(O,E);A.dynamicErrors.push(B);return}}function re(R,E){const A=Object.defineProperty(new Error(R),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return A.stack="Error: "+R+E,A}function ue(R,E,A,C){let M,O,B;if(A.syncDynamicErrorWithStack?(M=A.syncDynamicErrorWithStack,O=A.syncDynamicExpression,B=A.syncDynamicLogged===!0):C.syncDynamicErrorWithStack?(M=C.syncDynamicErrorWithStack,O=C.syncDynamicExpression,B=C.syncDynamicLogged===!0):(M=null,O=void 0,B=!1),E.hasSyncDynamicErrors&&M)throw B||console.error(M),new s.StaticGenBailoutError;const W=E.dynamicErrors;if(W.length){for(let ce=0;ce<W.length;ce++)console.error(W[ce]);throw new s.StaticGenBailoutError}if(!E.hasSuspendedDynamic){if(E.hasDynamicMetadata)throw M?(console.error(M),Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateMetadata\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E608",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateMetadata\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateMetadata\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E534",enumerable:!1,configurable:!0});if(E.hasDynamicViewport)throw M?(console.error(M),Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateViewport\` that could not finish rendering before ${O} was used. Follow the instructions in the error for this expression to resolve.`),"__NEXT_ERROR_CODE",{value:"E573",enumerable:!1,configurable:!0})):Object.defineProperty(new s.StaticGenBailoutError(`Route "${R}" has a \`generateViewport\` that depends on Request data (\`cookies()\`, etc...) or external data (\`fetch(...)\`, etc...) but the rest of the route was static or only used cached data (\`"use cache"\`). If you expected this route to be prerenderable update your \`generateViewport\` to not use Request data and only use cached external data. Otherwise, add \`await connection()\` somewhere within this route to indicate explicitly it should not be prerendered.`),"__NEXT_ERROR_CODE",{value:"E590",enumerable:!1,configurable:!0})}}}(it)),it}var ut={},ct={},lt={},lr;function en(){return lr||(lr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return c}});const c=(0,gt().createAsyncLocalStorage)()}(lt)),lt}var dr;function tn(){return dr||(dr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return o.afterTaskAsyncStorageInstance}});const o=en()}(ct)),ct}var fr;function rn(){return fr||(fr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(a,f){for(var n in f)Object.defineProperty(a,n,{enumerable:!0,get:f[n]})}o(r,{isRequestAPICallableInsideAfter:function(){return e},throwForSearchParamsAccessInUseCache:function(){return i},throwWithStaticGenerationBailoutError:function(){return s},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return p}});const c=Et(),u=tn();function s(a,f){throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${f}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function p(a,f){throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${f}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function i(a){const f=Object.defineProperty(new Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "searchParams" 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:"E634",enumerable:!1,configurable:!0});throw a.invalidUsageError??(a.invalidUsageError=f),f}function e(){const a=u.afterTaskAsyncStorage.getStore();return(a==null?void 0:a.rootTaskSpawnPhase)==="action"}}(ut)),ut}var hr;function nn(){return hr||(hr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"connection",{enumerable:!0,get:function(){return e}});const o=ve(),c=bt(),u=vr(),s=Et(),p=Rt(),i=rn();function e(){const a=o.workAsyncStorage.getStore(),f=c.workUnitAsyncStorage.getStore();if(a){if(f&&f.phase==="after"&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(f){if(f.type==="cache")throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E111",enumerable:!1,configurable:!0});if(f.type==="unstable-cache")throw Object.defineProperty(new Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0})}if(a.dynamicShouldError)throw Object.defineProperty(new s.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(f){if(f.type==="prerender")return(0,p.makeHangingPromise)(f.renderSignal,"`connection()`");f.type==="prerender-ppr"?(0,u.postponeWithTracking)(a.route,"connection",f.dynamicTracking):f.type==="prerender-legacy"&&(0,u.throwToInterruptStaticGeneration)("connection",a,f)}(0,u.trackDynamicDataInDynamicRender)(a,f)}return Promise.resolve(void 0)}}(tt)),tt}var dt={},ft={},_r;function on(){return _r||(_r=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvariantError",{enumerable:!0,get:function(){return o}});class o extends Error{constructor(u,s){super("Invariant: "+(u.endsWith(".")?u:u+".")+" This is a bug in Next.js.",s),this.name="InvariantError"}}}(ft)),ft}var ht={},pr;function an(){return pr||(pr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0});function o(i,e){for(var a in e)Object.defineProperty(i,a,{enumerable:!0,get:e[a]})}o(r,{describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return u},wellKnownProperties:function(){return p}});const c=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function u(i,e){return c.test(e)?"`"+i+"."+e+"`":"`"+i+"["+JSON.stringify(e)+"]`"}function s(i,e){const a=JSON.stringify(e);return"`Reflect.has("+i+", "+a+")`, `"+a+" in "+i+"`, or similar"}const p=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","toJSON","$$typeof","__esModule"])}(ht)),ht}var mr;function sn(){return mr||(mr=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rootParams",{enumerable:!0,get:function(){return a}});const o=on(),c=vr(),u=ve(),s=bt(),p=Rt(),i=an(),e=new WeakMap;async function a(){const d=u.workAsyncStorage.getStore();if(!d)throw Object.defineProperty(new o.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});const h=s.workUnitAsyncStorage.getStore();if(!h)throw Object.defineProperty(new Error(`Route ${d.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});switch(h.type){case"unstable-cache":case"cache":throw Object.defineProperty(new Error(`Route ${d.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case"prerender":case"prerender-ppr":case"prerender-legacy":return f(h.rootParams,d,h);default:return Promise.resolve(h.rootParams)}}function f(d,h,P){const T=h.fallbackRouteParams;if(T){let I=!1;for(const l in d)if(T.has(l)){I=!0;break}if(I){if(P.type==="prerender"){const l=e.get(d);if(l)return l;const b=(0,p.makeHangingPromise)(P.renderSignal,"`unstable_rootParams`");return e.set(d,b),b}return n(d,T,h,P)}}return Promise.resolve(d)}function n(d,h,P,T){const I=e.get(d);if(I)return I;const l={...d},b=Promise.resolve(l);return e.set(d,b),Object.keys(d).forEach(_=>{i.wellKnownProperties.has(_)||(h.has(_)?Object.defineProperty(l,_,{get(){const m=(0,i.describeStringPropertyAccess)("unstable_rootParams",_);T.type==="prerender-ppr"?(0,c.postponeWithTracking)(P.route,m,T.dynamicTracking):(0,c.throwToInterruptStaticGeneration)(m,P,T)},enumerable:!0}):b[_]=d[_])}),b}}(dt)),dt}var gr;function un(){return gr||(gr=1,function(r,o){const c={NextRequest:Hr().NextRequest,NextResponse:Fr().NextResponse,ImageResponse:Gr().ImageResponse,userAgentFromString:Vt().userAgentFromString,userAgent:Vt().userAgent,URLPattern:Br().URLPattern,after:Vr().after,connection:nn().connection,unstable_rootParams:sn().unstable_rootParams};r.exports=c,o.NextRequest=c.NextRequest,o.NextResponse=c.NextResponse,o.ImageResponse=c.ImageResponse,o.userAgentFromString=c.userAgentFromString,o.userAgent=c.userAgent,o.URLPattern=c.URLPattern,o.after=c.after,o.connection=c.connection,o.unstable_rootParams=c.unstable_rootParams}(me,me.exports)),me.exports}var Re=un();async function cn(r){try{const c=await ye.getAuth0Client().middleware(r);if(c instanceof Re.NextResponse){const u=c.status;if(u===401||u===403||u===500){const s=new URL("/auth/login",r.url);return Re.NextResponse.redirect(s)}}return c}catch(o){if(o instanceof Error&&o.message==="Missing session"){const u=new URL("/auth/login",r.url);return Re.NextResponse.redirect(u)}const c=new URL("/auth/login",r.url);return Re.NextResponse.redirect(c)}}const ln=["/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|api/auth).*)"];exports.accessToken=ye.accessToken;exports.getAuth0Client=ye.getAuth0Client;exports.authMiddlewareMatcher=ln;exports.createServerAuth0=br;exports.getAuth0ServerConfigFromEnv=Sr;exports.getServerSidePermissions=Tr;exports.handleAuthMiddleware=cn;