@zlooks.cn/gateway-server 1.0.7 → 1.0.8

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.
Files changed (57) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -2
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/[pluginId]/[[...path]]/page.js +1 -1
  6. package/.next/server/app/[pluginId]/[[...path]]/page.js.nft.json +1 -1
  7. package/.next/server/app/[pluginId]/[[...path]]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/_global-error/page.js +2 -2
  9. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/_global-error.html +1 -1
  11. package/.next/server/app/_global-error.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/server/app/_not-found/page.js +1 -1
  16. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/page.js +6 -6
  19. package/.next/server/app/page.js.nft.json +1 -1
  20. package/.next/server/app/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/robots.txt/route.js +2 -2
  22. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  23. package/.next/server/app-paths-manifest.json +2 -2
  24. package/.next/server/chunks/276.js +1 -1
  25. package/.next/server/chunks/369.js +2 -2
  26. package/.next/server/chunks/448.js +1 -0
  27. package/.next/server/chunks/486.js +30 -0
  28. package/.next/server/chunks/748.js +5 -5
  29. package/.next/server/chunks/793.js +2 -0
  30. package/.next/server/chunks/872.js +1 -0
  31. package/.next/server/middleware-build-manifest.js +1 -1
  32. package/.next/server/pages/500.html +1 -1
  33. package/.next/server/server-reference-manifest.json +1 -1
  34. package/.next/static/chunks/269-8aa7eb951aba0024.js +1 -0
  35. package/.next/static/chunks/275-bddb27d29e7e51af.js +1 -0
  36. package/.next/static/chunks/app/[pluginId]/[[...path]]/page-30ed03df8541cd76.js +1 -0
  37. package/.next/static/chunks/app/{layout-b45fbd5ce2b54d96.js → layout-f0b86ab9dd5accbc.js} +1 -1
  38. package/.next/trace +22 -22
  39. package/.next/trace-build +1 -1
  40. package/dist/runtime/gateway-runtime.d.ts +3 -4
  41. package/dist/runtime/gateway-runtime.d.ts.map +1 -1
  42. package/dist/runtime/gateway-runtime.js +26 -23
  43. package/dist/runtime/gateway-runtime.js.map +1 -1
  44. package/dist/services/gateway-host.service.js +6 -1
  45. package/dist/services/gateway-host.service.js.map +1 -1
  46. package/dist/services/gateway-runtime.service.js +1 -1
  47. package/dist/services/gateway-runtime.service.js.map +1 -1
  48. package/package.json +7 -7
  49. package/.next/server/chunks/357.js +0 -48
  50. package/.next/server/chunks/379.js +0 -1
  51. package/.next/server/chunks/724.js +0 -2
  52. package/.next/server/chunks/952.js +0 -1
  53. package/.next/static/chunks/319-5b1f2e1ec1373bd3.js +0 -1
  54. package/.next/static/chunks/604-fdb1ff68d897d5a1.js +0 -1
  55. package/.next/static/chunks/app/[pluginId]/[[...path]]/page-de70338ed93ae515.js +0 -1
  56. /package/.next/static/{OCFIC7ZMtwfwR4zcBmvjf → rwKTkmXmP-fXOvY9TPxU4}/_buildManifest.js +0 -0
  57. /package/.next/static/{OCFIC7ZMtwfwR4zcBmvjf → rwKTkmXmP-fXOvY9TPxU4}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- "use strict";exports.id=952,exports.ids=[952],exports.modules={12157:(a,b,c)=>{c.d(b,{l:()=>d});function d(a,b){return a.snapshot().filter(({state:a})=>"active"===a).map(({pluginId:a,buildId:c,namespace:d})=>{let e=b.get(a,c);if(!e)throw Error(`Active RSC plugin artifacts are missing: ${a}@${c}`);if(e.manifest.pluginId!==a||e.manifest.buildId!==c)throw Error(`RSC plugin artifact identity mismatch: ${a}@${c}`);return{pluginId:a,buildId:c,namespace:d,...void 0===e.manifest.metadata?{}:{metadata:structuredClone(e.manifest.metadata)}}}).sort((a,b)=>a.pluginId.localeCompare(b.pluginId))}},20696:(a,b,c)=>{c.d(b,{UL:()=>d.U,b3:()=>e.b});var d=c(98632),e=c(80393);c(65698)},65698:(a,b,c)=>{let d=c(63033),e=c(29294),f=c(79148),g=c(14365),h=c(93808),i=c(31522),j=c(73684);c(14126);c(67297);new WeakMap;(0,g.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`draftMode()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E835",enumerable:!1,configurable:!0})})},80393:(a,b,c)=>{Object.defineProperty(b,"b",{enumerable:!0,get:function(){return m}});let d=c(44161),e=c(29294),f=c(63033),g=c(79148),h=c(93808),i=c(67297),j=c(14365),k=c(96558),l=c(73684);function m(){let a="headers",b=e.workAsyncStorage.getStore(),c=f.workUnitAsyncStorage.getStore();if(b){if(c&&!(0,k.isRequestApiAllowedInCurrentPhase)(c))throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside \`after()\` while rendering. This is not supported. If you need this data inside an \`after()\` callback, use \`headers()\` outside of the callback. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E1378",enumerable:!1,configurable:!0});if(b.forceStatic)return o(d.HeadersAdapter.seal(new Headers({})));if(c)switch(c.type){case"cache":{let a=Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E833",enumerable:!1,configurable:!0});throw Error.captureStackTrace(a,m),(0,i.applyOwnerStack)(a),b.invalidDynamicUsageError??=a,a}case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E838",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${b.route} used \`headers()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1134",enumerable:!1,configurable:!0})}if(b.dynamicShouldError)throw Object.defineProperty(new h.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E828",enumerable:!1,configurable:!0});if(c)switch(c.type){case"prerender":var j=b,p=c;let e=n.get(p);if(e)return e;let f=(0,i.makeRuntimeHangingPromise)(p.renderSignal,j.route,"`headers()`",p);return n.set(p,f),f;case"prerender-client":case"validation-client":let q="`headers`";throw Object.defineProperty(new l.InvariantError(`${q} must not be used within a client component. Next.js should be preventing ${q} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1017",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,g.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,g.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":{let{stagedRendering:a}=c;if(a)return a.delayUntilStage(i.RENDER_STAGES_BY_DATA_KIND.sessionData,"headers",c.headers);return o(c.headers)}case"private-cache":return o(c.headers);case"request":if((0,g.trackDynamicDataInDynamicRender)(c),c.asyncApiPromises)return c.asyncApiPromises.headers;return o(c.headers)}}(0,f.throwForMissingRequestStore)(a)}let n=new WeakMap;function o(a){let b=n.get(a);if(b)return b;let c=Promise.resolve(a);return n.set(a,c),c}(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E836",enumerable:!1,configurable:!0})})},98632:(a,b,c)=>{Object.defineProperty(b,"U",{enumerable:!0,get:function(){return n}});let d=c(69828),e=c(29269),f=c(29294),g=c(63033),h=c(79148),i=c(93808),j=c(67297),k=c(14365),l=c(96558),m=c(73684);function n(){let a="cookies",b=f.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b){if(c&&!(0,l.isRequestApiAllowedInCurrentPhase)(c))throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside \`after()\` while rendering. This is not supported. If you need this data inside an \`after()\` callback, use \`cookies()\` outside of the callback. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E1381",enumerable:!1,configurable:!0});if(b.forceStatic)return p(d.RequestCookiesAdapter.seal(new e.RequestCookies(new Headers({}))));if(b.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E849",enumerable:!1,configurable:!0});if(c)switch(c.type){case"cache":let f=Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` 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:"E831",enumerable:!1,configurable:!0});throw Error.captureStackTrace(f,n),(0,j.applyOwnerStack)(f),b.invalidDynamicUsageError??=f,f;case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E846",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${b.route} used \`cookies()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1123",enumerable:!1,configurable:!0});case"prerender":var k=b,q=c;let g=o.get(q);if(g)return g;let r=(0,j.makeRuntimeHangingPromise)(q.renderSignal,k.route,"`cookies()`",q);return o.set(q,r),r;case"prerender-client":case"validation-client":let s="`cookies`";throw Object.defineProperty(new m.InvariantError(`${s} must not be used within a Client Component. Next.js should be preventing ${s} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1037",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,h.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,h.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":{let{stagedRendering:a}=c;if(a)return a.delayUntilStage(j.RENDER_STAGES_BY_DATA_KIND.sessionData,"cookies",c.cookies);return p(c.cookies)}case"private-cache":return p(c.cookies);case"request":let t;if((0,h.trackDynamicDataInDynamicRender)(c),t=(0,d.areCookiesMutableInCurrentPhase)(c)?c.userspaceMutableCookies:c.cookies,!c.asyncApiPromises)return p(t);if(t===c.mutableCookies)return c.asyncApiPromises.mutableCookies;return c.asyncApiPromises.cookies}}(0,g.throwForMissingRequestStore)(a)}let o=new WeakMap;function p(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E830",enumerable:!1,configurable:!0})})}};
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[319],{32082:(t,e)=>{"use strict";e.byteLength=function(t){var e=s(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=s(t),a=o[0],f=o[1],u=new i((a+f)*3/4-f),l=0,h=f>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===f&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[l++]=255&e),1===f&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,f=n-i;a<f;a+=16383)o.push(function(t,e,n){for(var i,o=[],a=e;a<n;a+=3)i=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,a,a+16383>f?f:a+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,f=o.length;a<f;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},32436:(t,e,r)=>{"use strict";r.d(e,{H:()=>o,e:()=>a});let n=Symbol.for("@hile/rsc/client/navigation/runtime");function i(){let t=globalThis;return t[n]??={installations:[]}}function o(){return i().installations.at(-1)?.navigation}function a(t){for(let e of["push","replace","refresh","prefetch"])if("function"!=typeof t[e])throw TypeError(`RSC navigation ${e} must be a function`);let e=i().installations,r={navigation:t,active:!0};return e.push(r),()=>{if(!r.active)return;r.active=!1;let t=e.indexOf(r);-1!==t&&e.splice(t,1)}}},36065:(t,e,r)=>{"use strict";r.r(e),r.d(e,{RscLink:()=>h,useRscNavigation:()=>l});var n=r(25280);function i(t,e){try{let r=new URL(t,e);return"http:"===r.protocol||"https:"===r.protocol?r:void 0}catch{return}}var o=r(32436);function a(){return"u"<typeof window?void 0:window.location}function f(t,e){let r=i(t,e.href);if(!r)throw TypeError("RSC navigation href must use HTTP or HTTPS");return r}function s(){return(0,o.H)()}let u=Object.freeze({push(t,e){let r=a();if(!r)return;let n=f(t,r),i=s();i&&n.origin===r.origin?i.push(t,e):r.assign(n.href)},replace(t,e){let r=a();if(!r)return;let n=f(t,r),i=s();i&&n.origin===r.origin?i.replace(t,e):r.replace(n.href)},refresh(){let t=s();t?t.refresh():a()?.reload()},prefetch(t){let e=a();if(!e)return;let r=f(t,e),n=s();n&&r.origin===e.origin&&n.prefetch(t)}});function l(){return u}let h=(0,n.forwardRef)(function({href:t,replace:e=!1,scroll:r,target:o,download:a,onClick:f,...l},h){return n.createElement("a",{...l,ref:h,href:t,target:o,download:a,onClick:function(n){if(f?.(n),"u"<typeof window||!function(t,e,r){if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||void 0!==e.target&&""!==e.target&&"_self"!==e.target.toLowerCase()||void 0!==e.download&&!1!==e.download)return!1;let n=i(r,r),o=i(e.href,r);return void 0!==n&&void 0!==o&&o.origin===n.origin}(n,{href:t,target:o,download:a},window.location.href))return;let l=s();if(!l&&!e)return;n.preventDefault();let h=void 0===r?void 0:{scroll:r};e?u.replace(t,h):l.push(t,h)}})})},43702:(t,e,r)=>{"use strict";let n;r.r(e),r.d(e,{RscServerFunctionClientError:()=>v,configureRscServerFunctionClient:()=>w,createRemoteServerReference:()=>E,installRscServerReferenceRuntime:()=>R,invokeRemoteServerFunction:()=>b});var i=r(70388).hp;let o=new TextEncoder;function a(t={}){let e={maxDepth:t.maxDepth??64,maxNodes:t.maxNodes??1e4,maxBinaryBytes:t.maxBinaryBytes??0x1000000,maxStringBytes:t.maxStringBytes??0x1000000};for(let[t,r]of Object.entries(e))if(!Number.isSafeInteger(r)||r<1)throw TypeError(`${t} must be a positive safe integer`);return{...e,nodes:0,binaryBytes:0,stringBytes:0}}function f(t,e){if(e>t.maxDepth)throw TypeError("RSC server function value exceeds maximum depth");if(++t.nodes>t.maxNodes)throw TypeError("RSC server function value exceeds maximum node count")}function s(t,e){if(t.stringBytes+=o.encode(e).byteLength,t.stringBytes>t.maxStringBytes)throw TypeError("RSC server function value exceeds maximum string bytes")}function u(t,e){if(t.binaryBytes+=e,t.binaryBytes>t.maxBinaryBytes)throw TypeError("RSC server function value exceeds maximum binary bytes")}function l(t){if(void 0!==i)return i.from(t).toString("base64");let e="";for(let r=0;r<t.byteLength;r+=32768)e+=String.fromCharCode(...t.subarray(r,r+32768));return btoa(e)}function h(t){if("string"!=typeof t)throw TypeError("RSC wire bytes must be base64 text");if(!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t))throw TypeError("RSC wire bytes must be valid base64 text");try{if(void 0!==i){let e=i.from(t,"base64");if(e.toString("base64")!==t)throw Error("non-canonical base64");return Uint8Array.from(e)}let e=atob(t);return Uint8Array.from(e,t=>t.charCodeAt(0))}catch{throw TypeError("RSC wire bytes must be valid base64 text")}}function p(t){let e=new Uint8Array(t.byteLength);return e.set(t),e.buffer}async function y(t,e,r,n){let i=await t;if(f(r,n),null===i)return{type:"null"};if(void 0===i)return{type:"undefined"};if("string"==typeof i||"boolean"==typeof i)return"string"==typeof i&&s(r,i),{type:typeof i,value:i};if("number"==typeof i)return{type:"number",value:Number.isNaN(i)?"nan":i===1/0?"infinity":i===-1/0?"-infinity":Object.is(i,-0)?"-0":i};if("bigint"==typeof i){let t=i.toString();return s(r,t),{type:"bigint",value:t}}if("symbol"==typeof i){let t=Symbol.keyFor(i);if(void 0===t)throw TypeError("RSC server function symbols must be global");return s(r,t),{type:"symbol",value:t}}if("function"==typeof i)throw TypeError("RSC server function arguments cannot contain a client function");if("object"!=typeof i)throw TypeError(`Unsupported RSC server function value: ${typeof i}`);if(e.has(i))throw TypeError("RSC server function value is cyclic");e.add(i);try{if(i instanceof Date){if(Number.isNaN(i.getTime()))throw TypeError("RSC server function date is invalid");let t=i.toISOString();return s(r,t),{type:"date",value:t}}if(i instanceof ArrayBuffer)return u(r,i.byteLength),{type:"array-buffer",value:l(new Uint8Array(i))};if(ArrayBuffer.isView(i)){let t=function(t){if(t instanceof DataView)return"DataView";let e=t.constructor.name;return["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"].includes(e)?e:void 0}(i);if(!t)throw TypeError("Unsupported RSC typed array");return u(r,i.byteLength),{type:"typed-array",value:{name:t,bytes:l(new Uint8Array(i.buffer,i.byteOffset,i.byteLength))}}}if(i instanceof Map)return{type:"map",value:await Promise.all([...i].map(async([t,i])=>[await y(t,e,r,n+1),await y(i,e,r,n+1)]))};if(i instanceof Set)return{type:"set",value:await Promise.all([...i].map(t=>y(t,e,r,n+1)))};if("u">typeof FormData&&i instanceof FormData){let t=[];for(let[o,a]of i.entries())s(r,o),t.push([o,await y(a,e,r,n+1)]);return{type:"form-data",value:t}}if("u">typeof Blob&&i instanceof Blob){u(r,i.size);let t="u">typeof File&&i instanceof File;return s(r,i.type),t&&s(r,i.name),{type:t?"file":"blob",value:{bytes:l(new Uint8Array(await i.arrayBuffer())),mime:i.type,...t?{name:i.name,lastModified:i.lastModified}:{}}}}if(Array.isArray(i))return{type:"array",value:await Promise.all(i.map(t=>y(t,e,r,n+1)))};if(Object.getPrototypeOf(i)!==Object.prototype)throw TypeError("RSC server function values must be a plain object or supported built-in");let t=await Promise.all(Object.entries(i).map(async([t,i])=>[t,(s(r,t),await y(i,e,r,n+1))]));return{type:"object",value:Object.fromEntries(t)}}finally{e.delete(i)}}function c(t,e){if(!Array.isArray(t))throw TypeError(`${e} must be an array`);return t}function g(t,e){if(null===t||"object"!=typeof t||Array.isArray(t))throw TypeError(`${e} must be an object`);return t}async function d(t,e,r){f(e,r);let n=function(t){if(null===t||"object"!=typeof t||Array.isArray(t))throw TypeError("RSC server function wire value must be an object");if("string"!=typeof t.type||0===t.type.length)throw TypeError("RSC server function wire value must have a type");return t}(t);switch(n.type){case"null":return null;case"undefined":return;case"string":if("string"!=typeof n.value)throw TypeError("RSC wire string is invalid");return s(e,n.value),n.value;case"boolean":if("boolean"!=typeof n.value)throw TypeError("RSC wire boolean is invalid");return n.value;case"number":if("number"==typeof n.value)return n.value;if("nan"===n.value)return NaN;if("infinity"===n.value)return 1/0;if("-infinity"===n.value)return-1/0;if("-0"===n.value)return -0;throw TypeError("RSC wire number is invalid");case"bigint":if("string"!=typeof n.value||!/^-?\d+$/.test(n.value))throw TypeError("RSC wire bigint is invalid");return s(e,n.value),BigInt(n.value);case"symbol":if("string"!=typeof n.value)throw TypeError("RSC wire symbol is invalid");return s(e,n.value),Symbol.for(n.value);case"date":{if("string"!=typeof n.value)throw TypeError("RSC wire date is invalid");s(e,n.value);let t=new Date(n.value);if(Number.isNaN(t.getTime())||t.toISOString()!==n.value)throw TypeError("RSC wire date is invalid");return t}case"array-buffer":{let t=h(n.value);return u(e,t.byteLength),p(t)}case"typed-array":return function(t,e){let r=g(t,"RSC typed array metadata");if("string"!=typeof r.name)throw TypeError("RSC typed array name is invalid");let n=h(r.bytes);u(e,n.byteLength);let i=p(n),o={DataView:t=>new DataView(t),Int8Array:t=>new Int8Array(t),Uint8Array:t=>new Uint8Array(t),Uint8ClampedArray:t=>new Uint8ClampedArray(t),Int16Array:t=>new Int16Array(t),Uint16Array:t=>new Uint16Array(t),Int32Array:t=>new Int32Array(t),Uint32Array:t=>new Uint32Array(t),Float32Array:t=>new Float32Array(t),Float64Array:t=>new Float64Array(t),BigInt64Array:t=>new BigInt64Array(t),BigUint64Array:t=>new BigUint64Array(t)}[r.name];if(!o)throw TypeError(`Unsupported RSC wire typed array: ${r.name}`);try{return o(i)}catch{throw TypeError(`Invalid byte length for RSC wire typed array: ${r.name}`)}}(n.value,e);case"array":return Promise.all(c(n.value,"RSC wire array").map(t=>d(t,e,r+1)));case"map":{let t=c(n.value,"RSC wire map");return new Map(await Promise.all(t.map(async t=>{let n=c(t,"RSC wire map entry");if(2!==n.length)throw TypeError("RSC wire map entry must contain two values");return[await d(n[0],e,r+1),await d(n[1],e,r+1)]})))}case"set":return new Set(await Promise.all(c(n.value,"RSC wire set").map(t=>d(t,e,r+1))));case"object":{let t=g(n.value,"RSC wire object");return Object.fromEntries(await Promise.all(Object.entries(t).map(async([t,n])=>[t,(s(e,t),await d(n,e,r+1))])))}case"form-data":{let t=new FormData;for(let i of c(n.value,"RSC wire FormData")){let n=c(i,"RSC wire FormData entry");if(2!==n.length||"string"!=typeof n[0])throw TypeError("RSC wire FormData entry is invalid");s(e,n[0]);let o=await d(n[1],e,r+1);if("string"!=typeof o&&!(o instanceof Blob))throw TypeError("RSC wire FormData values must be strings or blobs");t.append(n[0],o)}return t}case"blob":case"file":{let t=g(n.value,`RSC wire ${n.type}`);if("string"!=typeof t.mime)throw TypeError(`RSC wire ${n.type} MIME type is invalid`);s(e,t.mime);let r=h(t.bytes);if(u(e,r.byteLength),"blob"===n.type)return new Blob([p(r)],{type:t.mime});if("string"!=typeof t.name||"number"!=typeof t.lastModified||!Number.isSafeInteger(t.lastModified))throw TypeError("RSC wire file metadata is invalid");return s(e,t.name),new File([p(r)],t.name,{type:t.mime,lastModified:t.lastModified})}default:throw TypeError(`Unsupported RSC server function wire type: ${n.type}`)}}let m={mountPath:"/_hile/rsc/server-functions",headers:{}};function w(t){m={mountPath:function(t){if(!t.startsWith("/"))throw TypeError("RSC Server Function mount path must be absolute");let e=t.replace(/\/+$/,"");if(!e)throw TypeError("RSC Server Function mount path must not be root");return e}(t.mountPath??"/_hile/rsc/server-functions"),headers:Object.freeze({...t.headers??{}})}}class v extends Error{constructor(t,e,r){super(r),this.status=t,this.code=e,this.name="RscServerFunctionClientError"}}async function b(t,e){let r,n=await fetch(m.mountPath,{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json",...m.headers},body:JSON.stringify({referenceId:t,args:await y(e,new WeakSet,a(void 0),0)})});try{let t=await n.json();if(null===t||"object"!=typeof t||Array.isArray(t))throw Error();r=t}catch{throw new v(n.status,"ERR_RSC_SERVER_FUNCTION_INVALID_RESPONSE","RSC Server Function response must be a JSON object")}if(!n.ok)throw new v(n.status,"string"==typeof r.code?r.code:"ERR_RSC_SERVER_FUNCTION_FAILED","string"==typeof r.message?r.message:`RSC Server Function failed: ${n.status}`);if(!Object.prototype.hasOwnProperty.call(r,"value"))throw new v(n.status,"ERR_RSC_SERVER_FUNCTION_INVALID_RESPONSE","RSC Server Function response is missing value");return d(r.value,a(void 0),0)}function E(t,e){if("string"!=typeof t||!t)throw TypeError("RSC Server Function reference id must not be empty");if("string"!=typeof e||!e)throw TypeError("RSC Server Function export name must not be empty");if(!n)throw Error("Hile RSC Host did not install a framework Server Reference factory");return n(t,b,e)}function R(t){n=t,globalThis.__HILE_RSC_CREATE_SERVER_REFERENCE__=E}},61629:(t,e,r)=>{"use strict";r.r(e),r.d(e,{RscClientRuntimeProvider:()=>a,useRscAssetMountPath:()=>f,useRscClientRuntime:()=>s});var n=r(25280);let i="/_hile/rsc/assets",o=(0,n.createContext)({assetMountPath:i,suspensePolicy:"remote"});function a({assetMountPath:t=i,suspensePolicy:e="remote",renderLoading:r,renderError:f,children:s}){let u=(0,n.useMemo)(()=>{let n=function(t){if("remote"===t||"host"===t)return t;throw TypeError('RSC suspensePolicy must be "remote" or "host"')}(e);if("host"===n&&void 0!==r)throw TypeError('RSC renderLoading is unavailable when suspensePolicy is "host"');return{assetMountPath:function(t){if(!t.startsWith("/"))throw TypeError("RSC asset mount path must be absolute");let e=t.replace(/\/+$/,"");if(!e)throw TypeError("RSC asset mount path must not be the root path");return e}(t),suspensePolicy:n,renderLoading:r,renderError:f}},[t,e,r,f]);return n.createElement(o.Provider,{value:u},s)}function f(){return(0,n.useContext)(o).assetMountPath}function s(){return(0,n.useContext)(o)}},70388:(t,e,r)=>{"use strict";var n=r(32082),i=r(99067),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return s(t,e,r)}function s(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!f.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|c(n,i),s=a(o),u=s.write(n,i);return u!==o&&(s=s.slice(0,u)),s}if(ArrayBuffer.isView(t)){var l=t;if(I(l,Uint8Array)){var g=new Uint8Array(l);return p(g.buffer,g.byteOffset,g.byteLength)}return h(l)}if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var d=t.valueOf&&t.valueOf();if(null!=d&&d!==t)return f.from(d,e,r);var m=function(t){if(f.isBuffer(t)){var e=0|y(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(m)return m;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return u(t),a(t<0?0:0|y(t))}function h(t){for(var e=t.length<0?0:0|y(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),f.prototype),n}function y(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function c(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(t).length;default:if(i)return n?-1:T(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){var i,o,a,f=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=_[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return v(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(f)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),f=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return w(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){var o,a=1,f=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,f/=2,s/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<f;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===s)return l*a}else -1!==l&&(o-=o-l),l=-1}else for(r+s>f&&(r=f-s),o=r;o>=0;o--){for(var h=!0,p=0;p<s;p++)if(u(t,o+p)!==u(e,p)){h=!1;break}if(h)return o}return -1}function v(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,f,s,u=t[i],l=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=r)switch(h){case 1:u<128&&(l=u);break;case 2:(192&(o=t[i+1]))==128&&(s=(31&u)<<6|63&o)>127&&(l=s);break;case 3:o=t[i+1],a=t[i+2],(192&o)==128&&(192&a)==128&&(s=(15&u)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:o=t[i+1],a=t[i+2],f=t[i+3],(192&o)==128&&(192&a)==128&&(192&f)==128&&(s=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&f)>65535&&s<1114112&&(l=s)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}var p=n,y=p.length;if(y<=4096)return String.fromCharCode.apply(String,p);for(var c="",g=0;g<y;)c+=String.fromCharCode.apply(String,p.slice(g,g+=4096));return c}function b(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,i,o){if(!f.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function R(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function S(t,e,r,n,o){return e*=1,r>>>=0,o||R(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function A(t,e,r,n,o){return e*=1,r>>>=0,o||R(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.hp=f,e.IS=50,f.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!f.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(t,e,r){return s(t,e,r)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(t,e,r){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},f.allocUnsafe=function(t){return l(t)},f.allocUnsafeSlow=function(t){return l(t)},f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(I(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=f.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(I(o,Uint8Array))i+o.length>n.length?f.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(f.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},f.byteLength=c,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},f.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):g.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(f.prototype[o]=f.prototype.inspect),f.prototype.compare=function(t,e,r,n,i){if(I(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,s=Math.min(o,a),u=this.slice(n,i),l=t.slice(e,r),h=0;h<s;++h)if(u[h]!==l[h]){o=u[h],a=l[h];break}return o<a?-1:+(a<o)},f.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,f,s,u,l,h,p=this.length-e;if((void 0===r||r>p)&&(r=p),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var y=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var f,s=parseInt(e.substr(2*a,2),16);if((f=s)!=f)break;t[r+a]=s}return a}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,U(T(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=e,f=r,U(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(t),this,a,f);case"base64":return s=e,u=r,U(B(t),this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=e,h=r,U(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-l),this,l,h);default:if(y)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),y=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},f.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,f.prototype),n},f.prototype.readUintLE=f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},f.prototype.readUintBE=f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},f.prototype.readUint8=f.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,t,e,r,i,0)}var o=1,a=0;for(this[e]=255&t;++a<r&&(o*=256);)this[e+a]=t/o&255;return e+r},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,t,e,r,i,0)}var o=r-1,a=1;for(this[e+o]=255&t;--o>=0&&(a*=256);)this[e+o]=t/a&255;return e+r},f.prototype.writeUint8=f.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,t,e,r,i-1,-i)}var o=0,a=1,f=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===f&&0!==this[e+o-1]&&(f=1),this[e+o]=(t/a|0)-f&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,t,e,r,i-1,-i)}var o=r-1,a=1,f=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===f&&0!==this[e+o+1]&&(f=1),this[e+o]=(t/a|0)-f&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeFloatLE=function(t,e,r){return S(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return S(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return A(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return A(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(!f.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=f.isBuffer(t)?t:f.from(t,n),s=a.length;if(0===s)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%s]}return this};var C=/[^+/0-9A-Za-z-_]/g;function T(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function B(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function I(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var _=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},88964:(t,e,r)=>{"use strict";r.d(e,{clearRscClientBuildCache:()=>d,clearRscClientCaches:()=>g,default:()=>R,renderRemoteClientErrorFallback:()=>b,resolveRemoteClientAssets:()=>v});var n,i,o,a=r(25280),f=r(88081),s=r(97624),u=r(78892),l=r(61629);globalThis.__HILE_RSC_REACT__=a,globalThis.__HILE_RSC_JSX_RUNTIME__=n||(n=r.t(u,2)),globalThis.__HILE_RSC_REACT_DOM__=i||(i=r.t(f,2)),globalThis.__HILE_RSC_REACT_DOM_CLIENT__=o||(o=r.t(s,2));let h=new Map,p=new Map;function y(t,e){let r=t.get(e);if(void 0!==r)return t.delete(e),t.set(e,r),r}function c(t,e,r,n){for(t.delete(e),t.set(e,r);t.size>n;)t.delete(t.keys().next().value)}function g(){p.clear(),h.clear()}function d(t,e,r){p.delete(m(r,t,e));let n=`${JSON.stringify([r,t,e]).slice(0,-1)},`;for(let t of h.keys())t.startsWith(n)&&h.delete(t)}function m(t,e,r){return JSON.stringify([t,e,r])}function w(t,e){return JSON.stringify([t,e.pluginId,e.buildId,e.referenceId,e.exportName])}async function v(t,e){let r=`${e}/${encodeURIComponent(t.pluginId)}/${encodeURIComponent(t.buildId)}`,n=m(e,t.pluginId,t.buildId),i=y(p,n);i||(i=fetch(`${r}/plugin.json`,{credentials:"same-origin"}).then(async t=>{if(!t.ok)throw Error(`Failed to load RSC plugin manifest: ${t.status}`);return t.json()}).catch(t=>{throw p.get(n)===i&&p.delete(n),t}),c(p,n,i,64));let o=await i,a=o.clients.find(({id:e})=>e===t.referenceId);if(!a)throw Error(`Remote client reference not found: ${t.referenceId}`);let f=t=>`${r}/file/${t.split("/").map(encodeURIComponent).join("/")}`;return{moduleUrl:f(a.module),styles:o.styles.map(t=>({href:f(t.path),integrity:t.integrity}))}}function b(t,e,r,n){return n?n(t,e,r):a.createElement("span",{role:"alert","data-hile-rsc-error":e.referenceId},"Remote component failed to load")}class E extends a.Component{static getDerivedStateFromError(t){return{failed:!0,error:t}}render(){return this.state.failed?b(this.state.error,this.props.identity,this.retry,this.props.renderError):this.props.children}constructor(...t){super(...t),this.state={failed:!1,error:void 0},this.retry=()=>{this.props.onRetry(),this.setState({failed:!1,error:void 0})}}}function R({pluginId:t,buildId:e,referenceId:r,exportName:n,props:i}){var o;let f,s,{assetMountPath:u,suspensePolicy:p,renderLoading:g,renderError:m}=(0,l.useRscClientRuntime)(),b={pluginId:t,buildId:e,referenceId:r,exportName:n},S=w(u,b),[A,C]=(0,a.useState)(0),T=((s=y(h,f=w(u,b)))||c(h,f,s=(0,a.lazy)(async()=>{let t="u"<typeof window?"ssr":"browser",e=globalThis.__HILE_RSC_RESOLVE_CLIENT__?await globalThis.__HILE_RSC_RESOLVE_CLIENT__(b,t):await v(b,u),r=(await import(e.moduleUrl))[b.exportName];if("function"!=typeof r&&"object"!=typeof r)throw Error(`Remote client export not found: ${b.referenceId}`);return{default:function(t){return a.createElement(a.Fragment,null,e.styles.map(t=>a.createElement("link",{key:t.href,rel:"stylesheet",href:t.href,integrity:t.integrity,crossOrigin:t.integrity?"anonymous":void 0,precedence:"hile-rsc-plugin"})),a.createElement(r,t))}}}),256),s),B=(0,a.useCallback)(()=>{d(t,e,u),C(t=>t+1)},[t,e,u]);return a.createElement(E,{key:S,identity:b,renderError:m,onRetry:B},(o=a.createElement(T,{...i,key:A}),"host"===p?o:a.createElement(a.Suspense,{fallback:g?g(b):a.createElement("span",{"data-hile-rsc-loading":b.referenceId})},o)))}},99067:(t,e)=>{e.read=function(t,e,r,n,i){var o,a,f=8*i-n-1,s=(1<<f)-1,u=s>>1,l=-7,h=r?i-1:0,p=r?-1:1,y=t[e+h];for(h+=p,o=y&(1<<-l)-1,y>>=-l,l+=f;l>0;o=256*o+t[e+h],h+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=p,l-=8);if(0===o)o=1-u;else{if(o===s)return a?NaN:1/0*(y?-1:1);a+=Math.pow(2,n),o-=u}return(y?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,f,s,u=8*o-i-1,l=(1<<u)-1,h=l>>1,p=5960464477539062e-23*(23===i),y=n?0:o-1,c=n?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(f=+!!isNaN(e),a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+h>=1?e+=p/s:e+=p*Math.pow(2,1-h),e*s>=2&&(a++,s/=2),a+h>=l?(f=0,a=l):a+h>=1?(f=(e*s-1)*Math.pow(2,i),a+=h):(f=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+y]=255&f,y+=c,f/=256,i-=8);for(a=a<<i|f,u+=i;u>0;t[r+y]=255&a,y+=c,a/=256,u-=8);t[r+y-c]|=128*g}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[604],{24743:(e,r,n)=>{"use strict";e.exports=n(94046)},62993:(e,r,n)=>{"use strict";n.d(r,{default:()=>s});var t=n(52442),l=n(62220),u=n(25280);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}let s=function(e){var r,n=(function(e){if(Array.isArray(e))return e}(r=(0,u.useState)(function(){return(0,t.VC)()}))||function(e){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,t,l,u,a=[],o=!0,s=!1;try{l=(r=r.call(e)).next,!1;for(;!(o=(n=l.call(r)).done)&&(a.push(n.value),1!==a.length);o=!0);}catch(e){s=!0,t=e}finally{try{if(!o&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw t}}return a}}(r)||function(e){if(e){if("string"==typeof e)return o(e,1);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,1)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return(0,l.useServerInsertedHTML)(function(){var e=(0,t.Jb)(n,{plain:!0,once:!0});return e.includes('.data-ant-cssinjs-cache-path{content:"";}')?null:u.createElement("style",{id:"antd-cssinjs","data-rc-order":"prepend","data-rc-priority":"-1000",dangerouslySetInnerHTML:{__html:e}})}),u.createElement(t.N7,a({},e,{cache:n}))}},94046:(e,r,n)=>{"use strict";var t=n(88081);function l(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)r+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u={stream:!0},a=Object.prototype.hasOwnProperty;function o(e){var r=__turbopack_require__(e);return"function"!=typeof r.then||"fulfilled"===r.status?null:(r.then(function(e){r.status="fulfilled",r.value=e},function(e){r.status="rejected",r.reason=e}),r)}var s=new WeakSet,c=new WeakSet;function i(){}function f(e){for(var r=e[1],n=[],t=0;t<r.length;t++){var l=__turbopack_load_by_url__(r[t]);if(c.has(l)||n.push(l),!s.has(l)){var u=c.add.bind(c,l);l.then(u,i),s.add(l)}}return 4===e.length?0===n.length?o(e[0]):Promise.all(n).then(function(){return o(e[0])}):0<n.length?Promise.all(n):null}function d(e){var r=__turbopack_require__(e[0]);if(4===e.length&&"function"==typeof r.then)if("fulfilled"===r.status)r=r.value;else throw r.reason;return"*"===e[2]?r:""===e[2]?r.__esModule?r.default:r:a.call(r,e[2])?r[e[2]]:void 0}var v=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p=Symbol.for("react.transitional.element"),h=Symbol.for("react.lazy"),y=Symbol.asyncIterator,b=Array.isArray,_=Object.getPrototypeOf,k=new WeakMap;function m(e,r,n){k.has(e)||k.set(e,{id:r,originalBind:e.bind,bound:n})}var g=Object.prototype,w=Array.prototype;function j(e,r,n){this.status=e,this.value=r,this.reason=n}function S(e){switch(e.status){case"resolved_model":N(e);break;case"resolved_module":P(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":case"halted":throw e;default:throw e.reason}}function O(){return new j("pending",null,null)}function $(e,r,n,t){for(var l=0;l<r.length;l++){var u=r[l];"function"==typeof u?u(n):T(e,u,n)}}function R(e,r,n){for(var t=0;t<r.length;t++){var l=r[t];"function"==typeof l?l(n):D(e,l.handler,n)}}function E(e,r){var n=r.handler.chunk;if(null===n)return null;if(n===e)return r.handler;if(null!==(r=n.value))for(n=0;n<r.length;n++){var t=r[n];if("function"!=typeof t&&null!==(t=E(e,t)))return t}return null}function I(e,r,n){if("pending"!==r.status&&"blocked"!==r.status)r.reason.error(n);else{var t=r.reason;r.status="rejected",r.reason=n,null!==t&&R(e,t,n)}}j.prototype=Object.create(Promise.prototype),Object.defineProperty(j.prototype,"then",{writable:!0,enumerable:!0,configurable:!0,value:function(e,r){switch(this.status){case"resolved_model":N(this);break;case"resolved_module":P(this)}switch(this.status){case"fulfilled":"function"==typeof e&&e(this.value);break;case"pending":case"blocked":"function"==typeof e&&(null===this.value&&(this.value=[]),this.value.push(e)),"function"==typeof r&&(null===this.reason&&(this.reason=[]),this.reason.push(r));break;case"halted":break;default:"function"==typeof r&&r(this.reason)}}});var A=null;function N(e){var r=A;A=null;var n=e.value,t=e.reason;e.status="blocked",e.value=null,e.reason=null;try{var l=z(t,n),u=e.value;if(null!==u)for(e.value=null,e.reason=null,n=0;n<u.length;n++){var a=u[n];"function"==typeof a?a(l):T(t,a,l)}if(null!==A){if(A.errored)throw A.reason;if(0<A.deps){A.value=l,A.chunk=e;return}}e.status="fulfilled",e.value=l,e.reason=null}catch(r){e.status="rejected",e.reason=r}finally{A=r}}function P(e){try{var r=d(e.value);e.status="fulfilled",e.value=r,e.reason=null}catch(r){e.status="rejected",e.reason=r}}function C(e){return{$$typeof:h,_payload:e,_init:S}}function M(e,r){var n=e._chunks,t=n.get(r);return t||(e._closed?e._allowPartialStream?((e=t=O()).status="halted",e.value=null,e.reason=null):t=new j("rejected",null,e._closedReason):t=O(),n.set(r,t)),t}function T(e,r,n){var t=r.handler,u=r.parentObject,o=r.key,s=r.map,c=r.path;try{for(var i=1;i<c.length;i++){for(;"object"==typeof n&&null!==n&&n.$$typeof===h;){var f=n._payload;if(f===t.chunk)n=t.value;else{switch(f.status){case"resolved_model":N(f);break;case"resolved_module":P(f)}switch(f.status){case"fulfilled":n=f.value;continue;case"blocked":var d=E(f,r);if(null!==d){n=d.value;continue}case"pending":c.splice(0,i-1),null===f.value?f.value=[r]:f.value.push(r),null===f.reason?f.reason=[r]:f.reason.push(r);return;case"halted":return;default:D(e,r.handler,f.reason);return}}}var v=c[i];if("object"==typeof n&&null!==n&&a.call(n,v))n=n[v];else throw Error(l(570))}for(;"object"==typeof n&&null!==n&&n.$$typeof===h;){var y=n._payload;if(y===t.chunk)n=t.value;else{switch(y.status){case"resolved_model":N(y);break;case"resolved_module":P(y)}if("fulfilled"===y.status){n=y.value;continue}break}}var b=s(e,n,u,o);if("__proto__"!==o&&(u[o]=b),""===o&&null===t.value&&(t.value=b),u[0]===p&&"object"==typeof t.value&&null!==t.value&&t.value.$$typeof===p){var _=t.value;"3"===o&&(_.props=b)}}catch(n){D(e,r.handler,n);return}t.deps--,0===t.deps&&null!==(r=t.chunk)&&"blocked"===r.status&&(n=r.value,r.status="fulfilled",r.value=t.value,r.reason=t.reason,null!==n&&$(e,n,t.value,r))}function D(e,r,n){r.errored||(r.errored=!0,r.value=null,r.reason=n,null!==(r=r.chunk)&&"blocked"===r.status&&I(e,r,n))}function U(e,r,n,t,l,u){return A?(t=A,t.deps++):t=A={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},r={handler:t,parentObject:r,key:n,map:l,path:u},null===e.value?e.value=[r]:e.value.push(r),null===e.reason?e.reason=[r]:e.reason.push(r),null}function W(e,r,n,t){if(!e._serverReferenceConfig)return function(e,r){function n(){var e=Array.prototype.slice.call(arguments);return l?"fulfilled"===l.status?r(t,l.value.concat(e)):Promise.resolve(l).then(function(n){return r(t,n.concat(e))}):r(t,e)}var t=e.id,l=e.bound;return m(n,t,l),n}(r,e._callServer);var u=function(e,r){var n="",t=e[r];if(t)n=t.name;else{var u=r.lastIndexOf("#");if(-1!==u&&(n=r.slice(u+1),t=e[r.slice(0,u)]),!t)throw Error(l(589,r))}return t.async?[t.id,t.chunks,n,1]:[t.id,t.chunks,n]}(e._serverReferenceConfig,r.id),a=f(u);if(a)r.bound&&(a=Promise.all([a,r.bound]));else{if(!r.bound)return m(a=d(u),r.id,r.bound),a;a=Promise.resolve(r.bound)}if(A){var o=A;o.deps++}else o=A={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1};return a.then(function(){var l=d(u);if(r.bound){var a=r.bound.value.slice(0);a.unshift(null),l=l.bind.apply(l,a)}m(l,r.id,r.bound),"__proto__"!==t&&(n[t]=l),""===t&&null===o.value&&(o.value=l),n[0]===p&&"object"==typeof o.value&&null!==o.value&&o.value.$$typeof===p&&(a=o.value,"3"===t)&&(a.props=l),o.deps--,0===o.deps&&null!==(l=o.chunk)&&"blocked"===l.status&&(a=l.value,l.status="fulfilled",l.value=o.value,l.reason=null,null!==a&&$(e,a,o.value,l))},function(r){if(!o.errored){o.errored=!0,o.value=null,o.reason=r;var n=o.chunk;null!==n&&"blocked"===n.status&&I(e,n,r)}}),null}function B(e,r,n,t,u){var o=parseInt((r=r.split(":"))[0],16);switch((o=M(e,o)).status){case"resolved_model":N(o);break;case"resolved_module":P(o)}switch(o.status){case"fulfilled":o=o.value;for(var s=1;s<r.length;s++){for(;"object"==typeof o&&null!==o&&o.$$typeof===h;){switch((o=o._payload).status){case"resolved_model":N(o);break;case"resolved_module":P(o)}switch(o.status){case"fulfilled":o=o.value;break;case"blocked":case"pending":return U(o,n,t,e,u,r.slice(s-1));case"halted":return A?(e=A,e.deps++):A={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return A?(A.errored=!0,A.value=null,A.reason=o.reason):A={parent:null,chunk:null,value:null,reason:o.reason,deps:0,errored:!0},null}}var c=r[s];if("object"!=typeof o||null===o||_(o)!==g&&_(o)!==w||!a.call(o,c))throw Error(l(570));o=o[c]}for(;"object"==typeof o&&null!==o&&o.$$typeof===h;){switch((r=o._payload).status){case"resolved_model":N(r);break;case"resolved_module":P(r)}if("fulfilled"===r.status){o=r.value;continue}break}return u(e,o,n,t);case"pending":case"blocked":return U(o,n,t,e,u,r);case"halted":return A?(e=A,e.deps++):A={parent:null,chunk:null,value:null,reason:null,deps:1,errored:!1},null;default:return A?(A.errored=!0,A.value=null,A.reason=o.reason):A={parent:null,chunk:null,value:null,reason:o.reason,deps:0,errored:!0},null}}function L(e,r){return new Map(r)}function x(e,r){return new Set(r)}function H(e,r){return new Blob(r.slice(1),{type:r[0]})}function V(e,r){e=new FormData;for(var n=0;n<r.length;n++)e.append(r[n][0],r[n][1]);return e}function q(e,r){return r[Symbol.iterator]()}function F(e,r){return r}function J(){var e=Error(l(441));return e.stack="Error: "+e.message,e}function z(e,r){return function e(r,n,t,u){if("string"==typeof n)return"$"===n[0]?function(e,r,n,t){if("$"===t[0]){if("$"===t)return null!==A&&"0"===n&&(A={parent:A,chunk:null,value:null,reason:null,deps:0,errored:!1}),p;switch(t[1]){case"$":return t.slice(1);case"L":return C(e=M(e,r=parseInt(t.slice(2),16)));case"@":return M(e,r=parseInt(t.slice(2),16));case"S":return Symbol.for(t.slice(2));case"h":return B(e,t=t.slice(2),r,n,W);case"T":if(r="$"+t.slice(2),null==(e=e._tempRefs))throw Error(l(511));return e.get(r);case"Q":return B(e,t=t.slice(2),r,n,L);case"W":return B(e,t=t.slice(2),r,n,x);case"B":return B(e,t=t.slice(2),r,n,H);case"K":return B(e,t=t.slice(2),r,n,V);case"Z":return J();case"i":return B(e,t=t.slice(2),r,n,q);case"I":return 1/0;case"-":return"$-0"===t?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(t.slice(2)));case"n":return BigInt(t.slice(2));default:return B(e,t=t.slice(1),r,n,F)}}return t}(r,t,u,n):n;if("object"!=typeof n||null===n)return n;if(b(n)){for(var o=0;o<n.length;o++)n[o]=e(r,n[o],n,""+o);return n[0]===p?(n[0]===p?(r={$$typeof:p,type:n[1],key:n[2],ref:null,props:n[3]},null!==A&&(A=(n=A).parent,n.errored?r=C(r=new j("rejected",null,n.reason)):0<n.deps&&(o=new j("blocked",null,null),n.value=r,n.chunk=o,r=C(o)))):r=n,r):n}for(o in n)a.call(n,o)&&("__proto__"===o?delete n[o]:void 0!==(t=e(r,n[o],n,o))?n[o]=t:delete n[o]);return n}(e,r=JSON.parse(r),{"":r},"")}r.createServerReference=function(e,r){function n(){var n=Array.prototype.slice.call(arguments);return r(e,n)}return m(n,e,null),n}},94735:(e,r,n)=>{"use strict";n.d(r,{j:()=>o});var t=n(25280),l=n(62220),u=n(24743),a=n(98129);function o({children:e,serverFunctions:r}){let n=(0,l.useRouter)(),u=(0,t.useMemo)(()=>({push:(e,r)=>n.push(e,r),replace:(e,r)=>n.replace(e,r),refresh:()=>n.refresh(),prefetch:e=>n.prefetch(e)}),[n]);return(0,t.useEffect)(()=>(0,a.er)(u),[u]),r&&(0,a.bV)(r),e}(0,a.mI)((e,r,n)=>(0,u.createServerReference)(e,r,void 0,void 0,n))},97404:()=>{},98129:(e,r,n)=>{"use strict";n.d(r,{bV:()=>u.configureRscServerFunctionClient,er:()=>t.e,jj:()=>l.RscClientRuntimeProvider,mI:()=>u.installRscServerReferenceRuntime}),n(88964),n(36065);var t=n(32436),l=n(61629),u=n(43702)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[875],{94765:(e,s,n)=>{Promise.resolve().then(n.bind(n,36065)),Promise.resolve().then(n.bind(n,88964)),Promise.resolve().then(n.bind(n,61629)),Promise.resolve().then(n.bind(n,43702))}},e=>{e.O(0,[319,131,550,358],()=>e(e.s=94765)),_N_E=e.O()}]);