@zlooks.cn/gateway-server 1.0.5 → 1.0.7

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 (151) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +3 -4
  3. package/.next/build-manifest.json +6 -6
  4. package/.next/next-minimal-server.js.nft.json +1 -1
  5. package/.next/next-server.js.nft.json +1 -1
  6. package/.next/prerender-manifest.json +3 -35
  7. package/.next/routes-manifest.json +0 -6
  8. package/.next/server/app/[pluginId]/[[...path]]/page.js +1 -1
  9. package/.next/server/app/[pluginId]/[[...path]]/page.js.nft.json +1 -1
  10. package/.next/server/app/[pluginId]/[[...path]]/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/_global-error/page.js +2 -2
  12. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  13. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_global-error.html +1 -1
  15. package/.next/server/app/_global-error.rsc +7 -7
  16. package/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  17. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +6 -6
  18. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  19. package/.next/server/app/_not-found/page.js +1 -1
  20. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  21. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/favicon.ico/route.js +1 -1
  23. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  24. package/.next/server/app/page.js +139 -139
  25. package/.next/server/app/page.js.nft.json +1 -1
  26. package/.next/server/app/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/robots.txt/route.js +2 -2
  28. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  29. package/.next/server/app-paths-manifest.json +3 -4
  30. package/.next/server/chunks/276.js +1 -0
  31. package/.next/server/chunks/357.js +48 -0
  32. package/.next/server/chunks/369.js +193 -0
  33. package/.next/server/chunks/379.js +1 -0
  34. package/.next/server/chunks/546.js +165 -0
  35. package/.next/server/chunks/724.js +2 -0
  36. package/.next/server/chunks/748.js +107 -0
  37. package/.next/server/chunks/952.js +1 -0
  38. package/.next/server/middleware-build-manifest.js +1 -1
  39. package/.next/server/pages/500.html +1 -1
  40. package/.next/server/server-reference-manifest.json +1 -1
  41. package/.next/server/webpack-runtime.js +1 -1
  42. package/.next/static/OCFIC7ZMtwfwR4zcBmvjf/_buildManifest.js +1 -0
  43. package/.next/static/chunks/319-5b1f2e1ec1373bd3.js +1 -0
  44. package/.next/static/chunks/387b3e19-762a698cb31f79da.js +1 -0
  45. package/.next/static/chunks/469-04a1d77222f210e8.js +2 -0
  46. package/.next/static/chunks/550-e8abc67c7a1edf41.js +52 -0
  47. package/.next/static/chunks/604-fdb1ff68d897d5a1.js +1 -0
  48. package/.next/static/chunks/{996-077fc2adb823b371.js → 608-65a4cc255f2a7adb.js} +127 -127
  49. package/.next/static/chunks/app/[pluginId]/[[...path]]/page-de70338ed93ae515.js +1 -0
  50. package/.next/static/chunks/app/_global-error/page-03b2fd80c99da229.js +1 -0
  51. package/.next/static/chunks/app/_not-found/page-f5adedd76e894f13.js +1 -0
  52. package/.next/static/chunks/app/favicon.ico/route-03b2fd80c99da229.js +1 -0
  53. package/.next/static/chunks/app/layout-b45fbd5ce2b54d96.js +1 -0
  54. package/.next/static/chunks/app/page-fa81d6b33c269d0c.js +1 -0
  55. package/.next/static/chunks/app/robots.txt/route-03b2fd80c99da229.js +1 -0
  56. package/.next/static/chunks/main-app-98c326aff6aa17c8.js +1 -0
  57. package/.next/static/chunks/main-babcc17d8873b132.js +5 -0
  58. package/.next/static/chunks/next/dist/client/components/builtin/app-error-03b2fd80c99da229.js +1 -0
  59. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-03b2fd80c99da229.js +1 -0
  60. package/.next/static/chunks/next/dist/client/components/builtin/global-error-d58b04831400099b.js +1 -0
  61. package/.next/static/chunks/next/dist/client/components/builtin/not-found-03b2fd80c99da229.js +1 -0
  62. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-03b2fd80c99da229.js +1 -0
  63. package/.next/static/chunks/{webpack-28b302404fb8c1d3.js → webpack-4b774bd4ebe1a8a1.js} +1 -1
  64. package/.next/trace +22 -22
  65. package/.next/trace-build +1 -1
  66. package/.next/types/routes.d.ts +1 -2
  67. package/.next/types/validator.ts +0 -9
  68. package/dist/browser-api.d.ts +1 -0
  69. package/dist/browser-api.d.ts.map +1 -1
  70. package/dist/browser-api.js +1 -0
  71. package/dist/browser-api.js.map +1 -1
  72. package/dist/config/schema.d.ts.map +1 -1
  73. package/dist/config/schema.js +36 -12
  74. package/dist/config/schema.js.map +1 -1
  75. package/dist/controllers/api/shell/navigation.controller.d.ts +3 -0
  76. package/dist/controllers/api/shell/navigation.controller.d.ts.map +1 -0
  77. package/dist/controllers/api/shell/navigation.controller.js +19 -0
  78. package/dist/controllers/api/shell/navigation.controller.js.map +1 -0
  79. package/dist/runtime/gateway-runtime.d.ts +0 -4
  80. package/dist/runtime/gateway-runtime.d.ts.map +1 -1
  81. package/dist/runtime/gateway-runtime.js +3 -22
  82. package/dist/runtime/gateway-runtime.js.map +1 -1
  83. package/dist/runtime/http-over-micro-controller.d.ts +45 -0
  84. package/dist/runtime/http-over-micro-controller.d.ts.map +1 -0
  85. package/dist/runtime/http-over-micro-controller.js +305 -0
  86. package/dist/runtime/http-over-micro-controller.js.map +1 -0
  87. package/dist/runtime/mcp-gateway-runtime.d.ts.map +1 -1
  88. package/dist/runtime/mcp-gateway-runtime.js +4 -0
  89. package/dist/runtime/mcp-gateway-runtime.js.map +1 -1
  90. package/dist/runtime/public-asset-discovery.d.ts.map +1 -1
  91. package/dist/runtime/public-asset-discovery.js +13 -5
  92. package/dist/runtime/public-asset-discovery.js.map +1 -1
  93. package/dist/runtime/public-asset-proxy.d.ts.map +1 -1
  94. package/dist/runtime/public-asset-proxy.js +22 -7
  95. package/dist/runtime/public-asset-proxy.js.map +1 -1
  96. package/dist/runtime/rsc-initial-context.d.ts.map +1 -1
  97. package/dist/runtime/rsc-initial-context.js +6 -22
  98. package/dist/runtime/rsc-initial-context.js.map +1 -1
  99. package/dist/runtime/sitemap-http.d.ts +12 -0
  100. package/dist/runtime/sitemap-http.d.ts.map +1 -0
  101. package/dist/runtime/sitemap-http.js +91 -0
  102. package/dist/runtime/sitemap-http.js.map +1 -0
  103. package/package.json +24 -22
  104. package/.next/server/app/api/shell/navigation/route.js +0 -1
  105. package/.next/server/app/api/shell/navigation/route.js.nft.json +0 -1
  106. package/.next/server/app/api/shell/navigation/route_client-reference-manifest.js +0 -1
  107. package/.next/server/app/robots.txt.body +0 -5
  108. package/.next/server/app/robots.txt.meta +0 -1
  109. package/.next/server/chunks/512.js +0 -2
  110. package/.next/server/chunks/621.js +0 -193
  111. package/.next/server/chunks/694.js +0 -165
  112. package/.next/server/chunks/761.js +0 -48
  113. package/.next/server/chunks/919.js +0 -107
  114. package/.next/server/chunks/941.js +0 -1
  115. package/.next/server/chunks/964.js +0 -1
  116. package/.next/server/chunks/991.js +0 -1
  117. package/.next/static/AMEG7Dldd9-Zc_B7WKNxM/_buildManifest.js +0 -1
  118. package/.next/static/chunks/128-88463f5aa049370d.js +0 -52
  119. package/.next/static/chunks/130-85ed753dd2afbb75.js +0 -1
  120. package/.next/static/chunks/507-30d5ae064837325c.js +0 -2
  121. package/.next/static/chunks/906-02ebd3fcb9fc3f0c.js +0 -1
  122. package/.next/static/chunks/app/[pluginId]/[[...path]]/page-4dd303371bb755c7.js +0 -1
  123. package/.next/static/chunks/app/_global-error/page-a519e69f1dbe97c4.js +0 -1
  124. package/.next/static/chunks/app/_not-found/page-64cb1a71ce368904.js +0 -1
  125. package/.next/static/chunks/app/api/shell/navigation/route-a519e69f1dbe97c4.js +0 -1
  126. package/.next/static/chunks/app/favicon.ico/route-a519e69f1dbe97c4.js +0 -1
  127. package/.next/static/chunks/app/layout-8208d5ac4dfff885.js +0 -1
  128. package/.next/static/chunks/app/page-8ee7b33b33cd79ee.js +0 -1
  129. package/.next/static/chunks/app/robots.txt/route-a519e69f1dbe97c4.js +0 -1
  130. package/.next/static/chunks/d3784132-6a36432fedf3ff6f.js +0 -1
  131. package/.next/static/chunks/main-0e4f61a9c633109e.js +0 -5
  132. package/.next/static/chunks/main-app-200aa40fca166de6.js +0 -1
  133. package/.next/static/chunks/next/dist/client/components/builtin/app-error-a519e69f1dbe97c4.js +0 -1
  134. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a519e69f1dbe97c4.js +0 -1
  135. package/.next/static/chunks/next/dist/client/components/builtin/global-error-4329fe5c7ae59296.js +0 -1
  136. package/.next/static/chunks/next/dist/client/components/builtin/not-found-a519e69f1dbe97c4.js +0 -1
  137. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a519e69f1dbe97c4.js +0 -1
  138. package/.next/types/app/api/shell/navigation/route.ts +0 -353
  139. package/dist/runtime/browser-api-discovery-runtime.d.ts +0 -24
  140. package/dist/runtime/browser-api-discovery-runtime.d.ts.map +0 -1
  141. package/dist/runtime/browser-api-discovery-runtime.js +0 -158
  142. package/dist/runtime/browser-api-discovery-runtime.js.map +0 -1
  143. package/dist/runtime/browser-api-provider-catalog.d.ts +0 -34
  144. package/dist/runtime/browser-api-provider-catalog.d.ts.map +0 -1
  145. package/dist/runtime/browser-api-provider-catalog.js +0 -133
  146. package/dist/runtime/browser-api-provider-catalog.js.map +0 -1
  147. package/dist/runtime/micro-browser-api-proxy.d.ts +0 -22
  148. package/dist/runtime/micro-browser-api-proxy.d.ts.map +0 -1
  149. package/dist/runtime/micro-browser-api-proxy.js +0 -206
  150. package/dist/runtime/micro-browser-api-proxy.js.map +0 -1
  151. /package/.next/static/{AMEG7Dldd9-Zc_B7WKNxM → OCFIC7ZMtwfwR4zcBmvjf}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[130],{92:(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},18148:(t,e,r)=>{"use strict";r.r(e),r.d(e,{RscClientRuntimeProvider:()=>a,useRscAssetMountPath:()=>f,useRscClientRuntime:()=>s});var n=r(25840);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)}},33889:(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)}}},49521:(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}},53442:(t,e,r)=>{"use strict";var n=r(92),i=r(49521),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}()},65746:(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(53442).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}},68381:(t,e,r)=>{"use strict";r.d(e,{clearRscClientBuildCache:()=>d,clearRscClientCaches:()=>g,default:()=>R,renderRemoteClientErrorFallback:()=>b,resolveRemoteClientAssets:()=>v});var n,i,o,a=r(25840),f=r(47617),s=r(53352),u=r(49660),l=r(18148);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)))}},92125:(t,e,r)=>{"use strict";r.r(e),r.d(e,{RscLink:()=>h,useRscNavigation:()=>l});var n=r(25840);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(33889);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)}})})}}]);
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[507],{5198:(e,t,r)=>{let n;r.d(t,{Mo:()=>eF,J:()=>$,N7:()=>b,VC:()=>y,an:()=>E,Jb:()=>eq,lO:()=>D,Ki:()=>B,zA:()=>O,RC:()=>eW,hV:()=>P,IV:()=>eL});let a=function(e){for(var t,r=0,n=0,a=e.length;a>=4;++n,a-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)};var s=r(37323),c=r(25840),i=r(69964),l=r(29926);function o(e){return e.join("%")}let u=0;class f{instanceId;constructor(e){this.instanceId=e}cache=new Map;updateTimes=new Map;extracted=new Set;get(e){return this.opGet(o(e))}opGet(e){return this.cache.get(e)||null}update(e,t){return this.opUpdate(o(e),t)}opUpdate(e,t){let r=t(this.cache.get(e));null===r?(this.cache.delete(e),this.updateTimes.delete(e)):(this.cache.set(e,r),this.updateTimes.set(e,u),u+=1)}}let d={},h="data-token-hash",p="data-css-hash",m="__cssinjs_instance__";function y(){let e=Math.random().toString(12).slice(2);if("u">typeof document&&document.head&&document.body){let t=document.body.querySelectorAll(`style[${p}]`)||[],{firstChild:r}=document.head;Array.from(t).forEach(t=>{t[m]||=e,t[m]===e&&document.head.insertBefore(t,r)});let n={};Array.from(document.querySelectorAll(`style[${p}]`)).forEach(t=>{let r=t.getAttribute(p);n[r]?t[m]===e&&t.parentNode?.removeChild(t):n[r]=!0})}return new f(e)}let g=c.createContext({hashPriority:"low",cache:y(),defaultCache:!0,autoPrefix:!1}),b=e=>{let{children:t,...r}=e,n=c.useContext(g),a=(0,i.A)(()=>{let e={...n};Object.keys(r).forEach(t=>{let n=r[t];void 0!==r[t]&&(e[t]=n)});let{cache:t,transformers:a=[]}=r;return e.cache=e.cache||y(),e.defaultCache=!t&&n.defaultCache,a.includes(d)&&(e.autoPrefix=!0),e},[n,r],(e,t)=>!(0,l.A)(e[0],t[0],!0)||!(0,l.A)(e[1],t[1],!0));return c.createElement(g.Provider,{value:a},t)},$=g;var v=r(41434);class k{static MAX_CACHE_SIZE=20;static MAX_CACHE_OFFSET=5;cache;keys;cacheCallTimes;constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(e,t=!1){let r={map:this.cache};return e.forEach(e=>{r=r?r?.map?.get(e):void 0}),r?.value&&t&&(r.value[1]=this.cacheCallTimes++),r?.value}get(e){return this.internalGet(e,!0)?.[0]}has(e){return!!this.internalGet(e)}set(e,t){if(!this.has(e)){if(this.size()+1>k.MAX_CACHE_SIZE+k.MAX_CACHE_OFFSET){let[e]=this.keys.reduce((e,t)=>{let[,r]=e;return this.internalGet(t)[1]<r?[t,this.internalGet(t)[1]]:e},[this.keys[0],this.cacheCallTimes]);this.delete(e)}this.keys.push(e)}let r=this.cache;e.forEach((n,a)=>{if(a===e.length-1)r.set(n,{value:[t,this.cacheCallTimes++]});else{let e=r.get(n);e?e.map||(e.map=new Map):r.set(n,{map:new Map}),r=r.get(n).map}})}deleteByPath(e,t){let r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),r.value?.[0];let n=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),n}delete(e){if(this.has(e))return this.keys=this.keys.filter(t=>!function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,e)),this.deleteByPath(this.cache,e)}}var w=r(14186);let A=0;class C{derivatives;id;constructor(e){this.derivatives=Array.isArray(e)?e:[e],this.id=A,0===e.length&&(0,w.$e)(e.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),A+=1}getDerivativeToken(e){return this.derivatives.reduce((t,r)=>r(e,t),void 0)}}let x=new k;function E(e){let t=Array.isArray(e)?e:[e];return x.has(t)||x.set(t,new C(t)),x.get(t)}let _=new WeakMap,j={},S=new WeakMap;function T(e){let t=S.get(e)||"";return t||(Object.keys(e).forEach(r=>{let n=e[r];t+=r,n instanceof C?t+=n.id:n&&"object"==typeof n?t+=T(n):t+=n}),t=a(t),S.set(e,t)),t}`random-${Date.now()}-${Math.random()}`.replace(/\./g,"");let M=(0,v.A)();function O(e){return"number"==typeof e?`${e}px`:e}function I(e,t,r,n={},a=!1){if(a)return e;let s={...n,[h]:t,[p]:r},c=Object.keys(s).map(e=>{let t=s[e];return t?`${e}="${t}"`:null}).filter(e=>e).join(" ");return`<style ${c}>${e}</style>`}function N(e){let{hashCls:t,hashPriority:r="low"}=e||{};if(!t)return"";let n=`.${t}`;return"low"===r?`:where(${n})`:n}function z(e,t){let r="function"==typeof t?t():t;return r?{...e,csp:{...e.csp,nonce:r}}:e}let B=(e,t="")=>`--${t?`${t}-`:""}${e}`.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase(),G=(e,t,r)=>{let{hashCls:n,hashPriority:a="low",prefix:s,unitless:c,ignore:i,preserve:l}=r||{},o={},u={};return Object.entries(e).forEach(([e,t])=>{if(l?.[e])u[e]=t;else if(("string"==typeof t||"number"==typeof t)&&!i?.[e]){let r=B(e,s);o[r]="number"!=typeof t||c?.[e]?String(t):`${t}px`,u[e]=`var(${r})`}}),[u,((e,t,r)=>{let{hashCls:n,hashPriority:a="low",scope:s}=r||{};if(!Object.keys(e).length)return"";let c=`${N({hashCls:n,hashPriority:a})}.${t}`,i=[s].flat().filter(Boolean),l=i.length?i.map(e=>`${c}.${e}`).join(", "):c;return`${l}{${Object.entries(e).map(([e,t])=>`${e}:${t};`).join("")}}`})(o,t,{scope:r?.scope,hashCls:n,hashPriority:a})]},L=new Map;function R(e,t,r,n,a){let{cache:s}=c.useContext($),i=o([e,...t]),l=e=>{s.opUpdate(i,t=>{let[n=0,a]=t||[void 0,void 0],s=[n,a||r()];return e?e(s):s})};c.useMemo(()=>{l()},[i]);let u=s.opGet(i)[1];return(0,c.useInsertionEffect)(()=>(l(([e,t])=>[e+1,t]),L.has(i)||(a?.(u),L.set(i,!0),Promise.resolve().then(()=>{L.delete(i)})),()=>{s.opUpdate(i,e=>{let[t=0,r]=e||[];return 0==t-1?(n?.(r,!1),L.delete(i),null):[t-1,r]})}),[i]),u}let W={},H=new Map,D=(e,t,r,n)=>{let a={...r.getDerivativeToken(e),...t};return n&&(a=n(a)),a},q="token";function P(e,t,r){let{cache:{instanceId:n},container:i,hashPriority:l}=(0,c.useContext)($),{salt:o="",override:u=W,formatToken:f,getComputedToken:d,cssVar:y,nonce:g}=r,b=function(e,t){let r=_;for(let e=0;e<t.length;e+=1){let n=t[e];r.has(n)||r.set(n,new WeakMap),r=r.get(n)}return r.has(j)||r.set(j,e()),r.get(j)}(()=>Object.assign({},...t),t),v=T(b),k=T(u),w=T(y);return R(q,[o,e.id,v,k,w],()=>{var t;let r=d?d(b,u,e):D(b,u,e,f),n={...r},s=`${o}_${y.prefix}`,c=a(s),i=`css-${c}`;n._tokenKey=a(`${s}_${T(n)}`);let[h,p]=G(r,y.key,{prefix:y.prefix,ignore:y.ignore,unitless:y.unitless,preserve:y.preserve,hashPriority:l,hashCls:y.hashed?i:void 0});return h._hashId=c,t=y.key,H.set(t,(H.get(t)||0)+1),[h,i,n,p,y.key]},([,,,,e])=>{let t;H.set(e,(H.get(e)||0)-1),t=new Set,H.forEach((e,r)=>{e<=0&&t.add(r)}),H.size-t.size>-1&&t.forEach(e=>{"u">typeof document&&document.querySelectorAll(`style[${h}="${e}"]`).forEach(e=>{e[m]===n&&e.parentNode?.removeChild(e)}),H.delete(e)})},([,,,e,t])=>{if(!e)return;let r={mark:p,prepend:"queue",attachTo:i,priority:-999};r=z(r,g);let c=(0,s.BD)(e,a(`css-var-${t}`),r);c[m]=n,c.setAttribute(h,t)})}let F={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Z="-ms-",Q="-moz-",V="-webkit-",K="comm",U="rule",X="decl",J="@keyframes",Y=Math.abs,ee=String.fromCharCode,et=Object.assign;function er(e,t){return(e=t.exec(e))?e[0]:e}function en(e,t,r){return e.replace(t,r)}function ea(e,t){return e.indexOf(t)}function es(e,t){return 0|e.charCodeAt(t)}function ec(e,t,r){return e.slice(t,r)}function ei(e){return e.length}function el(e,t){return t.push(e),e}function eo(e,t){return e.filter(function(e){return!er(e,t)})}function eu(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function ef(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case X:return e.return=e.return||e.value;case K:return"";case J:return e.return=e.value+"{"+eu(e.children,n)+"}";case U:if(!ei(e.value=e.props.join(",")))return""}return ei(r=eu(e.children,n))?e.return=e.value+"{"+r+"}":""}var ed=1,eh=1,ep=0,em=0,ey=0,eg="";function eb(e,t,r,n,a,s,c,i){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:ed,column:eh,length:c,return:"",siblings:i}}function e$(e,t){return et(eb("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ev(e){for(;e.root;)e=e$(e.root,{children:[e]});el(e,e.siblings)}function ek(){return ey=em<ep?es(eg,em++):0,eh++,10===ey&&(eh=1,ed++),ey}function ew(){return es(eg,em)}function eA(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function eC(e){var t,r;return(t=em-1,r=function e(t){for(;ek();)switch(ey){case t:return em;case 34:case 39:34!==t&&39!==t&&e(ey);break;case 40:41===t&&e(t);break;case 92:ek()}return em}(91===e?e+2:40===e?e+1:e),ec(eg,t,r)).trim()}function ex(e){var t,r;return r=function e(t,r,n,a,s,c,i,l,o){for(var u,f,d,h,p=0,m=0,y=i,g=0,b=0,$=0,v=1,k=1,w=1,A=0,C=0,x="",E=s,_=c,j=a,S=x;k;)switch($=C,C=ek()){case 40:108!=$&&58==es(S,y-1)?(A++,S+="("):S+=eC(C);break;case 41:A--,S+=")";break;case 34:case 39:case 91:S+=eC(C);break;case 9:case 10:case 13:case 32:if(A>0){S+=ee(C);break}S+=function(e){for(;ey=ew();)if(ey<33)ek();else break;return eA(e)>2||eA(ey)>3?"":" "}($);break;case 92:S+=function(e,t){for(var r;--t&&ek()&&!(ey<48)&&!(ey>102)&&(!(ey>57)||!(ey<65))&&(!(ey>70)||!(ey<97)););return r=em+(t<6&&32==ew()&&32==ek()),ec(eg,e,r)}(em-1,7);continue;case 47:switch(ew()){case 42:case 47:el((u=function(e,t){for(;ek();)if(e+ey===57)break;else if(e+ey===84&&47===ew())break;return"/*"+ec(eg,t,em-1)+"*"+ee(47===e?e:ek())}(ek(),em),f=r,d=n,h=o,eb(u,f,d,K,ee(ey),ec(u,2,-2),0,h)),o),(5==eA($||1)||5==eA(ew()||1))&&ei(S)&&" "!==ec(S,-1,void 0)&&(S+=" ");break;default:S+="/"}break;case 123*v:l[p++]=ei(S)*w;case 125*v:case 59:case 0:if(A>0&&C){S+=ee(C);break}switch(C){case 0:case 125:k=0;case 59+m:-1==w&&(S=en(S,/\f/g,"")),b>0&&(ei(S)-y||0===v)&&el(b>32?e_(S+";",a,n,y-1,o):e_(en(S," ","")+";",a,n,y-2,o),o);break;case 59:S+=";";default:if(el(j=eE(S,r,n,p,m,s,l,x,E=[],_=[],y,c),c),123===C)if(0===m)e(S,r,j,j,E,c,y,l,_);else{switch(g){case 99:if(110===es(S,3))break;case 108:if(97===es(S,2))break;default:m=0;case 100:case 109:case 115:}m?e(t,j,j,a&&el(eE(t,j,j,0,0,s,l,x,s,E=[],y,_),_),s,_,y,l,a?E:_):e(S,j,j,j,[""],_,0,l,_)}}p=m=b=0,v=w=1,x=S="",y=i;break;case 58:y=1+ei(S),b=$;default:if(v<1){if(123==C)--v;else if(125==C&&0==v++&&125==(ey=em>0?es(eg,--em):0,eh--,10===ey&&(eh=1,ed--),ey))continue}switch(S+=ee(C),C*v){case 38:w=m>0?1:(S+="\f",-1);break;case 44:if(A>0)break;l[p++]=(ei(S)-1)*w,w=1;break;case 64:45===ew()&&(S+=eC(ek())),g=ew(),m=y=ei(x=S+=function(e){for(;!eA(ew());)ek();return ec(eg,e,em)}(em)),C++;break;case 45:45===$&&2==ei(S)&&(v=0)}}return c}("",null,null,null,[""],(t=e,ed=eh=1,ep=ei(eg=t),em=0,e=[]),0,[0],e),eg="",r}function eE(e,t,r,n,a,s,c,i,l,o,u,f){for(var d=a-1,h=0===a?s:[""],p=h.length,m=0,y=0,g=0;m<n;++m)for(var b=0,$=ec(e,d+1,d=Y(y=c[m])),v=e;b<p;++b)(v=(y>0?h[b]+" "+$:en($,/&\f/g,h[b])).trim())&&(l[g++]=v);return eb(e,t,r,0===a?U:i,l,o,u,f)}function e_(e,t,r,n,a){return eb(e,t,r,X,ec(e,0,n),ec(e,n+1,-1),n,a)}function ej(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case X:e.return=function e(t,r,n){var a;switch(a=r,45^es(t,0)?(((a<<2^es(t,0))<<2^es(t,1))<<2^es(t,2))<<2^es(t,3):0){case 5103:return V+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return V+t+t;case 4855:return V+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return Q+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return V+t+Q+t+Z+t+t;case 5936:switch(es(t,r+11)){case 114:return V+t+Z+en(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return V+t+Z+en(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return V+t+Z+en(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return V+t+Z+t+t;case 6165:return V+t+Z+"flex-"+t+t;case 5187:return V+t+en(t,/(\w+).+(:[^]+)/,V+"box-$1$2"+Z+"flex-$1$2")+t;case 5443:return V+t+Z+"flex-item-"+en(t,/flex-|-self/g,"")+(er(t,/flex-|baseline/)?"":Z+"grid-row-"+en(t,/flex-|-self/g,""))+t;case 4675:return V+t+Z+"flex-line-pack"+en(t,/align-content|flex-|-self/g,"")+t;case 5548:return V+t+Z+en(t,"shrink","negative")+t;case 5292:return V+t+Z+en(t,"basis","preferred-size")+t;case 6060:return V+"box-"+en(t,"-grow","")+V+t+Z+en(t,"grow","positive")+t;case 4554:return V+en(t,/([^-])(transform)/g,"$1"+V+"$2")+t;case 6187:return en(en(en(t,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),t,"")+t;case 5495:case 3959:return en(t,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return en(en(t,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+Z+"flex-pack:$3"),/space-between/,"justify")+V+t+t;case 4200:if(!er(t,/flex-|baseline/))return Z+"grid-column-align"+ec(t,r)+t;break;case 2592:case 3360:return Z+en(t,"template-","")+t;case 4384:case 3616:if(n&&n.some(function(e,t){return r=t,er(e.props,/grid-\w+-end/)}))return~ea(t+(n=n[r].value),"span")?t:Z+en(t,"-start","")+t+Z+"grid-row-span:"+(~ea(n,"span")?er(n,/\d+/):er(n,/\d+/)-er(t,/\d+/))+";";return Z+en(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(e){return er(e.props,/grid-\w+-start/)})?t:Z+en(en(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return en(t,/(.+)-inline(.+)/,V+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ei(t)-1-r>6)switch(es(t,r+1)){case 109:if(45!==es(t,r+4))break;case 102:return en(t,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+Q+(108==es(t,r+3)?"$3":"$2-$3"))+t;case 115:return~ea(t,"stretch")?e(en(t,"stretch","fill-available"),r,n)+t:t}break;case 5152:case 5920:return en(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,n,a,s,c,i){return Z+r+":"+n+i+(a?Z+r+"-span:"+(s?c:c-n)+i:"")+t});case 4949:if(121===es(t,r+6))return en(t,":",":"+V)+t;break;case 6444:switch(es(t,45===es(t,14)?18:11)){case 120:return en(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+V+(45===es(t,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+Z+"$2box$3")+t;case 100:return en(t,":",":"+Z)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return en(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case J:return eu([e$(e,{value:en(e.value,"@","@"+V)})],n);case U:if(e.length){var a,s;return a=r=e.props,s=function(t){switch(er(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ev(e$(e,{props:[en(t,/:(read-\w+)/,":"+Q+"$1")]})),ev(e$(e,{props:[t]})),et(e,{props:eo(r,n)});break;case"::placeholder":ev(e$(e,{props:[en(t,/:(plac\w+)/,":"+V+"input-$1")]})),ev(e$(e,{props:[en(t,/:(plac\w+)/,":"+Q+"$1")]})),ev(e$(e,{props:[en(t,/:(plac\w+)/,Z+"input-$1")]})),ev(e$(e,{props:[t]})),et(e,{props:eo(r,n)})}return""},a.map(s).join("")}}}let eS="data-ant-cssinjs-cache-path",eT="_FILE_STYLE__",eM=!0,eO="_multi_value_";function eI(e,t){var r,n;return(t?eu(ex(e),(n=(r=[ej,ef]).length,function(e,t,a,s){for(var c="",i=0;i<n;i++)c+=r[i](e,t,a,s)||"";return c})):eu(ex(e),ef)).replace(/\{%%%\:[^;];}/g,";")}function eN(e,t,r="high"){if(!t)return e;let n=N({hashCls:t,hashPriority:r});return e.split(",").map(e=>{let t=e.trim().split(/\s+/),r=t[0]||"",a=r.match(/^\w+/)?.[0]||"";return[r=`${a}${n}${r.slice(a.length)}`,...t.slice(1)].join(" ")}).join(",")}let ez=(e,t={},{root:r,injectHash:n,parentSelectors:a}={root:!0,parentSelectors:[]})=>{let{hashId:s,layer:c,path:i,hashPriority:l,transformers:o=[],linters:u=[]}=t,f="",d={};function h(e){let r=e.getName(s);if(!d[r]){let[n]=ez(e.style,t,{root:!1,parentSelectors:a});d[r]=`@keyframes ${e.getName(s)}${n}`}}return(function e(t,r=[]){return t.forEach(t=>{Array.isArray(t)?e(t,r):t&&r.push(t)}),r})(Array.isArray(e)?e:[e]).forEach(e=>{let c="string"!=typeof e||r?e:{};if("string"==typeof c)f+=`${c}
2
- `;else if(c._keyframe)h(c);else{let e=o.reduce((e,t)=>t?.visit?.(e)||e,c);Object.keys(e).forEach(c=>{let i=e[c];if("object"!=typeof i||!i||"animationName"===c&&i._keyframe||"object"==typeof i&&i&&("_skip_check_"in i||eO in i)){function o(e,t){let r=e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),n=t;F[e]||"number"!=typeof n||0===n||(n=`${n}px`),"animationName"===e&&t?._keyframe&&(h(t),n=t.getName(s)),f+=`${r}:${n};`}let e=i?.value??i;if("object"==typeof i&&i?.[eO]&&Array.isArray(e))e.forEach(e=>{o(c,e)});else null!=e&&o(c,e)}else{let e=!1,o=c.trim(),u=!1;(r||n)&&s?o.startsWith("@")?e=!0:o="&"===o?eN("",s,l):eN(c,s,l):r&&!s&&("&"===o||""===o)&&(o="",u=!0);let[h,p]=ez(i,t,{root:u,injectHash:e,parentSelectors:[...a,o]});d={...d,...p},f+=`${o}${h}`}})}}),r?c&&(f&&(f=`@layer ${c.name} {${f}}`),c.dependencies&&(d[`@layer ${c.name}`]=c.dependencies.map(e=>`@layer ${e}, ${c.name};`).join("\n"))):f=`{${f}}`,[f,d]};function eB(e,t){return a(`${e.join("%")}${t}`)}let eG="style";function eL(e,t){let{path:r,hashId:a,layer:i,nonce:l,clientOnly:o,order:u=0}=e,{mock:f,hashPriority:d,container:h,transformers:y,linters:g,cache:b,layer:k,autoPrefix:w}=c.useContext($),A=[a||""];k&&A.push("layer"),A.push(...r),R(eG,A,()=>{let e=A.join("|");if(function(e){if(!n&&(n={},(0,v.A)())){let e=document.createElement("div");e.className=eS,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);let t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(e=>{let[t,r]=e.split(":");n[t]=r});let r=document.querySelector(`style[${eS}]`);r&&(eM=!1,r.parentNode?.removeChild(r)),document.body.removeChild(e)}return!!n[e]}(e)){let[t,r]=function(e){let t=n[e],r=null;if(t&&(0,v.A)())if(eM)r=eT;else{let t=document.querySelector(`style[${p}="${n[e]}"]`);t?r=t.innerHTML:delete n[e]}return[r,t]}(e);if(t)return[t,r,{},o,u]}let[s,c]=ez(t(),{hashId:a,hashPriority:d,layer:k?i:void 0,path:r.join("-"),transformers:y,linters:g}),l=eI(s,w||!1),f=eB(A,l);return[l,f,c,o,u]},(e,t)=>{let[,r]=e;t&&M&&(0,s.m6)(r,{mark:p,attachTo:h})},e=>{let[t,r,n,,a]=e;if(M&&t!==eT){let e={mark:p,prepend:!k&&"queue",attachTo:h,priority:a};e=z(e,l);let c=[],i=[];Object.keys(n).forEach(e=>{e.startsWith("@layer")?c.push(e):i.push(e)}),c.forEach(t=>{(0,s.BD)(eI(n[t],w||!1),`_layer-${t}`,{...e,prepend:!0})}),(0,s.BD)(t,r,e)[m]=b.instanceId,i.forEach(t=>{(0,s.BD)(eI(n[t],w||!1),`_effect-${t}`,e)})}})}let eR="cssVar",eW=(e,t)=>{let{key:r,prefix:n,unitless:a,ignore:i,token:l,hashId:o,scope:u,nonce:f}=e,{cache:{instanceId:d},container:y,hashPriority:g}=(0,c.useContext)($),{_tokenKey:b}=l,v=Array.isArray(u)?u.join("@@"):u,k=[...e.path,r,v,b];return R(eR,k,()=>{let[e,s]=G(t(),r,{prefix:n,unitless:a,ignore:i,scope:u,hashPriority:g,hashCls:o}),c=eB(k,s);return[e,s,c,r]},([,,e])=>{M&&(0,s.m6)(e,{mark:p,attachTo:y})},([,e,t])=>{if(!e)return;let n={mark:p,prepend:"queue",attachTo:y,priority:-999};n=z(n,f);let a=(0,s.BD)(e,t,n);a[m]=d,a.setAttribute(h,r)})},eH={[eG]:(e,t,r)=>{let[n,a,s,c,i]=e,{plain:l,autoPrefix:o}=r||{};if(c)return null;let u=n,f={"data-rc-order":"prependQueue","data-rc-priority":`${i}`};return u=I(n,void 0,a,f,l),s&&Object.keys(s).forEach(e=>{if(!t[e]){t[e]=!0;let r=I(eI(s[e],o||!1),void 0,`_effect-${e}`,f,l);e.startsWith("@layer")?u=r+u:u+=r}}),[i,a,u]},[q]:(e,t,r)=>{let[,,n,a,s]=e,{plain:c}=r||{};if(!a)return null;let i=n._tokenKey,l=I(a,s,i,{"data-rc-order":"prependQueue","data-rc-priority":"-999"},c);return[-999,i,l]},[eR]:(e,t,r)=>{let[,n,a,s]=e,{plain:c}=r||{};if(!n)return null;let i=I(n,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"-999"},c);return[-999,a,i]}};function eD(e){return null!==e}function eq(e,t){let{plain:r=!1,types:n=["style","token","cssVar"],once:a=!1}="boolean"==typeof t?{plain:t}:t||{},s=RegExp(`^(${("string"==typeof n?[n]:n).join("|")})%`),c=Array.from(e.cache.keys()).filter(e=>s.test(e)),i={},l={},o="";return c.map(t=>{if(a&&e.extracted.has(t))return null;let n=t.replace(s,"").replace(/%/g,"|"),[c]=t.split("%"),o=(0,eH[c])(e.cache.get(t)[1],i,{plain:r});if(!o)return null;let u=e.updateTimes.get(t)||0,[f,d,h]=o;return t.startsWith("style")&&(l[n]=d),e.extracted.add(t),[f,h,u]}).filter(eD).sort(([e,,t],[r,,n])=>e!==r?e-r:t-n).forEach(([,e])=>{o+=e}),o+=I(`.${eS}{content:"${Object.keys(l).map(e=>{let t=l[e];return`${e}:${t}`}).join(";")}";}`,void 0,void 0,{[eS]:eS},r)}class eP{name;style;constructor(e,t){this.name=e,this.style=t}getName(e=""){return e?`${e}-${this.name}`:this.name}_keyframe=!0}let eF=eP;function eZ(e){return e.notSplit=!0,e}eZ(["borderTop","borderBottom"]),eZ(["borderTop"]),eZ(["borderBottom"]),eZ(["borderLeft","borderRight"]),eZ(["borderLeft"]),eZ(["borderRight"])},14186:(e,t,r)=>{r.d(t,{$e:()=>s,Ay:()=>o});let n={},a=[];function s(e,t){}function c(e,t){}function i(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function l(e,t){i(s,e,t)}l.preMessage=e=>{a.push(e)},l.resetWarned=function(){n={}},l.noteOnce=function(e,t){i(c,e,t)};let o=l},25872:(e,t,r)=>{var n=r(75264);r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},29926:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(14186);let a=function(e,t,r=!1){let a=new Set;return function e(t,s,c=1){let i=a.has(t);if((0,n.Ay)(!i,"Warning: There may be circular references"),i)return!1;if(t===s)return!0;if(r&&c>1)return!1;a.add(t);let l=c+1;if(Array.isArray(t)){if(!Array.isArray(s)||t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!e(t[r],s[r],l))return!1;return!0}if(t&&s&&"object"==typeof t&&"object"==typeof s){let r=Object.keys(t);return r.length===Object.keys(s).length&&r.every(r=>e(t[r],s[r],l))}return!1}(e,t)}},37323:(e,t,r)=>{r.d(t,{BD:()=>p,m6:()=>h});var n=r(41434),a=r(85034);let s="data-rc-order",c="data-rc-priority",i=new Map;function l({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:"rc-util-key"}function o(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((i.get(e)||e).children).filter(e=>"STYLE"===e.tagName)}function f(e,t={}){if(!(0,n.A)())return null;let{csp:r,prepend:a,priority:i=0}=t,l="queue"===a?"prependQueue":a?"prepend":"append",d="prependQueue"===l,h=document.createElement("style");h.setAttribute(s,l),d&&i&&h.setAttribute(c,`${i}`),r?.nonce&&(h.nonce=r?.nonce),h.innerHTML=e;let p=o(t),{firstChild:m}=p;if(a){if(d){let e=(t.styles||u(p)).filter(e=>!!["prepend","prependQueue"].includes(e.getAttribute(s))&&i>=Number(e.getAttribute(c)||0));if(e.length)return p.insertBefore(h,e[e.length-1].nextSibling),h}p.insertBefore(h,m)}else p.appendChild(h);return h}function d(e,t={}){let{styles:r}=t;return(r||=u(o(t))).find(r=>r.getAttribute(l(t))===e)}function h(e,t={}){let r=d(e,t);r&&o(t).removeChild(r)}function p(e,t,r={}){let n=o(r),s=u(n),c={...r,styles:s};!function(e,t){let r=i.get(e);if(!r||!(0,a.A)(document,r)){let r=f("",t),{parentNode:n}=r;i.set(e,n),e.removeChild(r)}}(n,c);let h=d(t,c);if(h)return c.csp?.nonce&&h.nonce!==c.csp?.nonce&&(h.nonce=c.csp?.nonce),h.innerHTML!==e&&(h.innerHTML=e),h;let m=f(e,c);return m.setAttribute(l(c),t),m}},41434:(e,t,r)=>{r.d(t,{A:()=>n});function n(){return!!("u">typeof window&&window.document&&window.document.createElement)}},69964:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(25840);function a(e,t,r){let a=n.useRef({});return(!("value"in a.current)||r(a.current.condition,t))&&(a.current.value=e(),a.current.condition=t),a.current.value}},85034:(e,t,r)=>{r.d(t,{A:()=>n});function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);let r=t;for(;r;){if(r===e)return!0;r=r.parentNode}return!1}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[906],{6602:(e,r,n)=>{"use strict";n.d(r,{bV:()=>u.configureRscServerFunctionClient,er:()=>t.e,jj:()=>l.RscClientRuntimeProvider,mI:()=>u.installRscServerReferenceRuntime}),n(68381),n(92125);var t=n(33889),l=n(18148),u=n(65746)},10219:(e,r,n)=>{"use strict";n.d(r,{j:()=>o});var t=n(25840),l=n(25872),u=n(47691),a=n(6602);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))},47334:()=>{},47691:(e,r,n)=>{"use strict";e.exports=n(97338)},84761:(e,r,n)=>{"use strict";n.d(r,{default:()=>s});var t=n(5198),l=n(25872),u=n(25840);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}))}},97338:(e,r,n)=>{"use strict";var t=n(47617);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}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[875],{68805:(e,s,n)=>{Promise.resolve().then(n.bind(n,92125)),Promise.resolve().then(n.bind(n,68381)),Promise.resolve().then(n.bind(n,18148)),Promise.resolve().then(n.bind(n,65746))}},e=>{e.O(0,[130,11,128,358],()=>e(e.s=68805)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167,230,784,789,819,851,896,988],{25124:()=>{}},_=>{_.O(0,[11,128,358],()=>_(_.s=25124)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{28988:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(49660),n=l(46794),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37218:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(28988)}])},46794:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(49660),n=l(74509);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[11,128,358],()=>e(e.s=37218)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167,230,784,789,819,851,896,988],{25124:()=>{}},_=>{_.O(0,[11,128,358],()=>_(_.s=25124)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167,230,784,789,819,851,896,988],{25124:()=>{}},_=>{_.O(0,[11,128,358],()=>_(_.s=25124)),_N_E=_.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{22214:(e,r,s)=>{"use strict";s.d(r,{default:()=>c});var n=s(49660),t=s(6602),i=s(10219),o=s(25840);function l(){return(0,n.jsx)("div",{"aria-hidden":"true","data-hile-rsc-initial-route":!0})}function c({assetMountPath:e,csrfToken:r,children:s}){return(0,n.jsx)(i.j,{serverFunctions:{headers:{"x-rsc-csrf-token":r}},children:(0,n.jsx)(t.jj,{assetMountPath:e,suspensePolicy:"host",renderError:(e,r,s)=>(0,n.jsxs)("section",{role:"alert","data-hile-rsc-error":r.referenceId,children:[(0,n.jsx)("p",{children:"插件组件暂时无法加载。"}),(0,n.jsx)("button",{type:"button",onClick:s,children:"重试"})]}),children:(0,n.jsx)(o.Suspense,{fallback:(0,n.jsx)(l,{}),children:s})})})}},27349:()=>{},77641:(e,r,s)=>{Promise.resolve().then(s.bind(s,84761)),Promise.resolve().then(s.t.bind(s,47334,23)),Promise.resolve().then(s.t.bind(s,78168,23)),Promise.resolve().then(s.bind(s,22214)),Promise.resolve().then(s.t.bind(s,27349,23))},78168:()=>{}},e=>{e.O(0,[967,488,507,130,906,11,128,358],()=>e(e.s=77641)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{3241:(e,r,a)=>{Promise.resolve().then(a.bind(a,26470)),Promise.resolve().then(a.bind(a,21769)),Promise.resolve().then(a.bind(a,77128)),Promise.resolve().then(a.t.bind(a,74718,23))},8176:e=>{e.exports={page:"landing-frame_page__8Eln3",backgroundVideo:"landing-frame_backgroundVideo__8hHRt",headerWrap:"landing-frame_headerWrap__ZsC2J",content:"landing-frame_content__0gHs1",legal:"landing-frame_legal__sJCNe",header:"landing-frame_header__HX8s8",brand:"landing-frame_brand__hrKJt",brandMark:"landing-frame_brandMark__zjCCK",brandLogo:"landing-frame_brandLogo__Vx5Mx",navigation:"landing-frame_navigation__kcn9E",actions:"landing-frame_actions__lRf4u",themeControl:"landing-frame_themeControl___Chhn",registrationIcon:"landing-frame_registrationIcon__eOCiT"}},21769:(e,r,a)=>{"use strict";a.d(r,{default:()=>eO});var t,n,i=a(49660),o=a(5281),s=a(22538),l=a(80032),d=a(25840);function c(e){if(null!==e&&"object"==typeof e&&!Object.isFrozen(e))for(let r of(Object.freeze(e),Object.values(e)))c(r);return e}let u=c({token:{colorPrimary:"#1677ff",borderRadius:10,motion:!0,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif"}}),h="zlooks.theme",m="zlooks:theme-change",p="default";function g(){return{mode:(0,d.useSyncExternalStore)(b,x,y),setMode:v}}function f(e){return"dark"===e||"light"===e||"default"===e?e:"default"}function x(){try{let e=window.localStorage.getItem(h);null!==e&&(p=f(e))}catch{}return p}function y(){return"default"}function v(e){if(f(e)!==e)throw TypeError(`Unsupported Zlooks theme mode: ${String(e)}`);p=e;try{window.localStorage.setItem(h,e)}catch{}window.dispatchEvent(new CustomEvent(m,{detail:e}))}function b(e){let r=r=>{p=f(r.detail),e()},a=r=>{r.key===h&&(p=f(r.newValue),e())};return window.addEventListener(m,r),window.addEventListener("storage",a),()=>{window.removeEventListener(m,r),window.removeEventListener("storage",a)}}a(85206);let j=S(o.A),k=S(s.Ay),w=S(l.A);function _({children:e,theme:r}){let a=g(),{resolvedMode:t,resolvedTheme:n}=z(r??a.mode);return(0,i.jsx)(k,{button:{autoInsertSpace:!1},theme:n,children:(0,i.jsx)(j,{children:(0,i.jsx)("div",{className:"zlooks-ui-theme","data-zlooks-theme":t,children:e})})})}function z(e){let r=function(e){let[r,a]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(!e)return;let r=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>a(r.matches);return t(),r.addEventListener("change",t),()=>r.removeEventListener("change",t)},[e]),r}("default"===e),a="default"===e?r?"dark":"light":e,t=(0,d.useMemo)(()=>({...u,algorithm:"dark"===a?w.darkAlgorithm:w.defaultAlgorithm,cssVar:{key:`zlooks-${a}`},hashed:!1,zeroRuntime:!0}),[a]);return{resolvedMode:a,resolvedTheme:t}}function S(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var A=a(72610),C=a(29397),E=a(85293),N=a(33076),P=a(23931),W=a(59091),R=a(28875),M=a(57184),Y=a(79294);let O=(t=a(88180).A)&&"object"==typeof t&&"default"in t?t.default:t,T=(n=a(46109).A)&&"object"==typeof n&&"default"in n?n.default:n,I=(0,d.createContext)(void 0);function q({children:e,initialContext:r}){return(0,i.jsx)(I,{value:r,children:e})}function L(){let e=(0,d.useContext)(I);if(!e)throw Error("ZlooksShellProvider is required");return e}let H=c({Button:{textActiveBg:"transparent",textHoverBg:"transparent"}});var B=a(52491),U=a(71363);let $=B.Yj().regex(/^[a-z][a-z0-9._-]{0,127}$/),K=B.Yj().regex(/^[a-z][a-z0-9]*(?:\.[a-z][a-z0-9]*)+$/),Z=B.Yj().min(1).max(2048).regex(/^\/(?!\/)[^?#\s]*$/),V=B.Yj().min(5).max(2048).regex(/^\/api\/(?!\/)[^?#\s]*$/),D=U.w$({offset:!0}),F=B.Yj().regex(/^[A-Za-z][A-Za-z0-9_-]{0,127}$/),X=B.k5(["GET","POST","PUT","PATCH","DELETE"]),G=B.YO(F).max(8).refine(e=>new Set(e).size===e.length,"Cookie names must be unique").readonly(),J=B.re({code:B.ai().int().safe().refine(e=>0!==e),message:B.Yj().trim().min(1).max(500)}).readonly(),Q=B.re({code:B.eu(0),data:B.L5().refine(e=>void 0!==e)}).readonly(),ee=B.re({code:B.ai().int().safe().refine(e=>0!==e),error:B.Yj().trim().min(1).max(500)}).readonly(),er=B.KC([Q,ee]),ea=B.re({exact:V,methods:B.YO(X).min(1).max(5).refine(e=>new Set(e).size===e.length,"Methods must be unique").readonly(),forwardCookieNames:G}).readonly(),et=B.re({prefix:V.refine(e=>e.endsWith("/"),"Route prefix must end with /"),methods:B.YO(X).min(1).max(5).refine(e=>new Set(e).size===e.length,"Methods must be unique").readonly(),forwardCookieNames:G}).readonly(),en=B.KC([ea,et]),ei=B.re({issuedAt:D,expiresAt:D,sequence:B.ai().int().nonnegative().max(Number.MAX_SAFE_INTEGER)}).refine(e=>Date.parse(e.expiresAt)>Date.parse(e.issuedAt),{message:"Browser API Provider lease must expire after it is issued"}).readonly(),eo=B.re({protocol:B.eu("zlooks.browser-api.provider"),providerId:$,instanceId:$,namespace:K,operation:B.eu("/browser/dispatch"),routes:B.YO(en).min(1).max(64).refine(e=>!e.some((r,a)=>e.slice(a+1).some(e=>{var a,t;return a=r,t=e,!!a.methods.some(e=>t.methods.includes(e))&&("exact"in a&&"exact"in t?a.exact===t.exact:"prefix"in a&&"prefix"in t?a.prefix.startsWith(t.prefix)||t.prefix.startsWith(a.prefix):"exact"in a&&"prefix"in t?a.exact.startsWith(t.prefix):"prefix"in a&&"exact"in t&&t.exact.startsWith(a.prefix))})),"Provider routes must not overlap for the same HTTP method").readonly(),writableCookieNames:G,errors:B.re({invalidRequest:J,unavailable:J}).readonly(),lease:ei}).readonly();B.re({topic:B.Yj().min(1).max(512),payload:eo,publishers:B.YO(B.re({host:B.Yj().trim().min(1).max(253),port:B.ai().int().min(1).max(65535)}).readonly()).length(1).readonly()}).readonly();let es=B.KC([B.Yj().max(512),B.YO(B.Yj().max(512)).max(20).readonly()]),el=B.g1(B.Yj().regex(/^[a-z][a-zA-Z0-9_-]{0,63}$/),es).refine(e=>Object.keys(e).length<=20,{message:"Browser API query has too many fields"}).readonly();B.g1(F,B.Yj().min(1).max(4096)).refine(e=>Object.keys(e).length<=8,{message:"Browser API context has too many cookies"}).readonly(),B.re({ipAddress:B.KC([B.uX(),B.ug()]),userAgent:B.Yj().trim().min(1).max(1024).nullable()}).readonly(),B.re({method:X,path:Z,origin:B.Yj().max(2048).optional(),clientKey:B.Yj().regex(/^[a-f0-9]{64}$/),query:el.optional(),body:B.L5().optional()}).readonly();let ed=B.gM("action",[B.re({action:B.eu("set"),name:F,value:B.Yj().min(1).max(4096),expiresAt:D}),B.re({action:B.eu("clear"),name:F})]).readonly();B.re({status:B.ai().int().min(200).max(599).refine(e=>e<300||e>=400),body:er,cookieEffects:B.YO(ed).max(8).refine(e=>new Set(e.map(e=>e.name)).size===e.length,"Cookie effects must target unique names").readonly().optional()}).superRefine((e,r)=>{let a=e.status>=200&&e.status<300;0===e.body.code!==a&&r.addIssue({code:"custom",message:"HTTP status and browser API response code disagree",path:["body","code"]})}).readonly();class ec extends Error{constructor(e,r,a,t){super(r,t),this.reported=!0,this.code=e,this.status=a,this.name="RequestError"}}async function eu(e,r,a,t,n={}){var i,o;let s,l,d,c=(i=n.errorMessage,(s=i?.trim())&&s.length<=500?s:"请求失败,请稍后重试");try{l=await r(a,t)}catch(r){if(em(r))throw r;return eh(e,new ec(-1,c,void 0,{cause:r}))}try{o=await l.json(),d=er.parse(o)}catch(r){if(em(r))throw r;return eh(e,new ec(-1,c,l.status,{cause:r}))}if(0!==d.code)return eh(e,new ec(d.code,d.error,l.status));if(!l.ok)return eh(e,new ec(-1,c,l.status));try{return n.parse?await n.parse(d.data):d.data}catch(r){if(em(r))throw r;return eh(e,new ec(-1,c,l.status,{cause:r}))}}function eh(e,r){return e.error(r.message),Promise.reject(r)}function em(e){return null!==e&&"object"==typeof e&&"name"in e&&"AbortError"===e.name}let ep=ew(A.A),eg=ew(s.Ay),ef=ew(C.A),ex=ew(E.A),ey=ew(N.A),ev=ew(P.A),eb=ew(W.A),ej=ew(R.A),ek=ew(M.A);function ew(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function e_({className:e,classNames:r={},style:a,size:t="middle",shape:n="round",variant:o="compact",onNavigate:s,onLogout:l}){var c,u;let h=L().user,[m,p]=(0,d.useState)(!1),[g,f]=(0,d.useState)(!1),{message:x,modal:y}=T(),v=eS("zlooks-user-access-trigger",e,r.trigger),b=eS("zlooks-user-access-avatar",r.avatar),j=eS("zlooks-user-access-label",r.label),k="avatar"===o,w=(c=t,(u=k)&&"small"===c?32:u&&"large"===c?48:u?40:"small"===c?20:"large"===c?28:24),_=k?"circle":n,z=k?"circle":"square",S=k?{height:w,minWidth:w,padding:0,width:w,...a}:a;async function A(e,r){try{await l(e),r(),p(!1)}catch(e){e instanceof ec||x.error("退出登录失败")}}function C(e,r,a){s&&(0,Y.a)(e)&&(e.preventDefault(),a(),s(r))}return"unavailable"===h.status?(0,i.jsx)(ez,{children:(0,i.jsx)(O,{"aria-label":"账户服务暂不可用",className:v,disabled:!0,shape:_,size:t,style:S,type:"text",children:(0,i.jsxs)(ej,{align:"center",size:6,children:[(0,i.jsx)(ep,{className:b,shape:z,size:w,style:{background:"var(--ant-color-fill-secondary)",border:k?"none":void 0,borderRadius:k?"50%":9,boxShadow:k?"none":void 0,color:"var(--ant-color-text-tertiary)",fontSize:12,fontWeight:750},children:"Z"}),"compact"===o?(0,i.jsx)(ek,{type:"secondary",children:"暂不可用"}):null]})})}):"authenticated"===h.status?(0,i.jsx)(ez,{children:(0,i.jsx)(eb,{arrow:!1,destroyOnHidden:!0,onOpenChange:p,open:m,placement:"bottomRight",styles:{container:{border:"1px solid var(--ant-color-border-secondary)",borderRadius:16,boxShadow:"0 18px 48px rgb(15 23 42 / 14%)",overflow:"hidden",padding:0},content:{maxWidth:"calc(100vw - 32px)",width:280}},trigger:"click",content:(0,i.jsxs)(ey,{"aria-label":"账户信息",className:r.popup,role:"dialog",style:{background:"var(--ant-color-bg-elevated)"},vertical:!0,children:[(0,i.jsxs)(ey,{align:"center",gap:12,style:{background:"linear-gradient(color-mix(in srgb, var(--ant-color-fill-quaternary) 48%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ant-color-fill-quaternary) 48%, transparent) 1px, transparent 1px), var(--ant-color-bg-elevated)",backgroundSize:"28px 28px",padding:16},children:[(0,i.jsx)(ep,{className:b,shape:"square",size:44,src:h.user.avatarUrl,style:{background:"var(--ant-color-text)",borderRadius:12,color:"var(--ant-color-bg-container)",fontSize:16,fontWeight:700},children:h.user.avatarText}),(0,i.jsxs)(ey,{style:{flex:1,minWidth:0},vertical:!0,children:[(0,i.jsx)(ek,{strong:!0,ellipsis:!0,style:{fontSize:15,lineHeight:1.4},children:h.user.label}),h.user.secondary?(0,i.jsx)(ek,{ellipsis:{tooltip:h.user.secondary},style:{display:"block"},type:"secondary",children:h.user.secondary}):null]}),(0,i.jsx)("span",{"aria-label":"已登录",role:"status",style:{background:"var(--ant-color-success)",borderRadius:999,boxShadow:"0 0 0 3px var(--ant-color-success-bg)",flex:"0 0 auto",height:7,width:7}})]}),(0,i.jsx)(ef,{style:{margin:0}}),(0,i.jsxs)(ey,{gap:2,style:{padding:8},vertical:!0,children:[(0,i.jsx)(O,{block:!0,href:h.accountHref,size:"large",style:{fontWeight:600,height:44,paddingInline:12},type:"text",onClick:e=>C(e,h.accountHref,()=>p(!1)),children:(0,i.jsxs)(ey,{justify:"space-between",style:{width:"100%"},children:[(0,i.jsx)("span",{children:"个人资料"}),(0,i.jsx)(ek,{"aria-hidden":"true",type:"secondary",children:"→"})]})}),(0,i.jsx)(O,{block:!0,danger:!0,size:"large",style:{height:44,justifyContent:"flex-start",paddingInline:12},type:"text",onClick:()=>{var e;return e=h.logoutHref,void y.confirm({title:"确认退出登录?",content:"退出后,需要重新登录才能访问个人账户。",okText:"退出登录",okButtonProps:{danger:!0},cancelText:"取消",onOk(r){A(e,r)}})},children:"退出登录"})]})]}),children:(0,i.jsx)(O,{"aria-expanded":m,"aria-haspopup":"dialog","aria-label":`打开${h.user.label}的账户信息`,className:v,shape:_,size:t,style:S,type:"text",children:(0,i.jsxs)(ej,{align:"center",size:6,children:[(0,i.jsx)(ep,{className:b,shape:z,size:w,src:h.user.avatarUrl,style:{background:k?"var(--ant-color-fill-secondary)":"var(--ant-color-text)",border:k?"none":void 0,borderRadius:k?"50%":9,boxShadow:k?"none":void 0,color:k?"var(--ant-color-text)":"var(--ant-color-bg-container)",fontSize:12,fontWeight:700},children:h.user.avatarText}),"compact"===o?(0,i.jsx)(ek,{className:j,ellipsis:!0,style:{fontSize:13,fontWeight:650,maxWidth:120},children:h.user.label}):null]})})})}):(0,i.jsxs)(ez,{children:[(0,i.jsx)(O,{"aria-expanded":g,"aria-haspopup":"dialog","aria-label":"登录",className:v,shape:_,size:t,style:S,type:"text",onClick:()=>f(!0),children:(0,i.jsxs)(ej,{align:"center",size:6,children:[(0,i.jsx)(ep,{className:b,shape:z,size:w,style:{background:"var(--ant-color-primary-bg)",border:k?"none":"1px solid var(--ant-color-primary-border)",borderRadius:k?"50%":9,boxShadow:k?"none":void 0,color:"var(--ant-color-primary)",fontSize:12,fontWeight:750},children:"Z"}),"compact"===o?(0,i.jsx)(ek,{className:j,style:{fontSize:13,fontWeight:650},children:"登录"}):null]})}),(0,i.jsx)(ev,{centered:!0,destroyOnHidden:!0,footer:null,open:g,rootClassName:eS("zlooks-user-access-modal",r.popup),styles:{body:{paddingTop:4},container:{border:"1px solid var(--ant-color-border-secondary)",borderRadius:22,boxShadow:"0 28px 80px rgb(15 23 42 / 18%)",overflow:"hidden",padding:24},header:{marginBottom:22}},title:(0,i.jsxs)(ej,{align:"center",size:"middle",children:[(0,i.jsx)(ep,{shape:"square",size:44,style:{background:"var(--ant-color-text)",borderRadius:12,color:"var(--ant-color-bg-container)",fontWeight:750},children:"Z"}),(0,i.jsxs)(ey,{vertical:!0,children:[(0,i.jsx)(ek,{strong:!0,style:{fontSize:17},children:"欢迎回来"}),(0,i.jsx)(ek,{type:"secondary",children:"选择一种方式继续"})]})]}),width:480,onCancel:()=>f(!1),children:(0,i.jsxs)(ey,{gap:12,vertical:!0,children:[0===h.loginMethods.length?(0,i.jsx)(ex,{description:"暂时无法登录,请稍后再试",image:ex.PRESENTED_IMAGE_SIMPLE,style:{paddingBlock:24}}):h.loginMethods.map((e,r)=>(0,i.jsx)(O,{block:!0,href:e.href,onClick:r=>C(r,e.href,()=>f(!1)),style:{height:"auto",minHeight:72,padding:"10px 14px",textAlign:"left"},children:(0,i.jsxs)(ey,{align:"center",gap:14,justify:"space-between",style:{width:"100%"},children:[(0,i.jsxs)(ey,{align:"center",gap:12,style:{minWidth:0},children:[(0,i.jsx)(ep,{shape:"square",size:40,style:{background:"var(--ant-color-primary-bg)",borderRadius:11,color:"var(--ant-color-primary)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",fontSize:11,fontWeight:700},children:String(r+1).padStart(2,"0")}),(0,i.jsxs)(ey,{style:{minWidth:0},vertical:!0,children:[(0,i.jsx)(ek,{strong:!0,children:e.label}),(0,i.jsx)(ek,{ellipsis:!0,type:"secondary",children:"继续访问你的个人空间"})]})]}),(0,i.jsx)(ek,{"aria-hidden":"true",style:{color:"var(--ant-color-primary)"},children:"→"})]})},e.id)),(0,i.jsx)(ek,{style:{fontSize:12,marginTop:6,textAlign:"center"},type:"secondary",children:"登录信息仅用于识别你的账户"})]})})]})}function ez({children:e}){let{mode:r}=g(),{resolvedMode:a,resolvedTheme:t}=z(r),n=(0,d.useMemo)(()=>({...t,cssVar:{key:`zlooks-user-access-${a}`},components:{...t.components,Button:{...t.components?.Button,...H.Button}}}),[a,t]);return(0,i.jsx)(eg,{theme:n,children:e})}function eS(...e){return e.filter(Boolean).join(" ")}let eA=(0,d.createContext)(void 0);function eC({children:e,initialConfig:r}){return(0,i.jsx)(eA,{value:r,children:e})}var eE=a(71124),eN=a(12143),eP=a.n(eN),eW=a(25872),eR=a(8176),eM=a.n(eR);function eY({src:e}){let r=(0,d.useRef)(null),[a,t]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{let e=r.current;if(!e)return;let a=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>{a.matches?e.pause():e.play().catch(()=>void 0)};return t(),a.addEventListener("change",t),()=>a.removeEventListener("change",t)},[]),!e||a)?null:(0,i.jsx)("video",{"aria-hidden":"true",autoPlay:!0,className:eM().backgroundVideo,loop:!0,muted:!0,onError:()=>t(!0),playsInline:!0,preload:"metadata",ref:r,src:e})}function eO({children:e,shell:r,site:a}){return(0,i.jsx)(_,{children:(0,i.jsx)(q,{initialContext:r,children:(0,i.jsx)(eC,{initialConfig:a,children:(0,i.jsx)(eT,{children:e})})})})}function eT({children:e}){let r,a=(r=L(),(0,d.useMemo)(()=>[{key:"gateway:home",label:"首页",href:"/",order:-1},...r.navigation].map(e=>({...e,active:"/"===e.href?"/"===r.pathname:r.pathname===e.href||r.pathname.startsWith(`${e.href}/`)})),[r])),t=function(){let e=(0,d.useContext)(eA);if(!e)throw Error("ZlooksSiteConfigProvider is required");return e}().value,n=t.identity.backgroundVideoUrl,o=function(){let{message:e}=T();return(0,d.useCallback)((r,a,t)=>eu(e,fetch,r,a,t),[e])}(),s=(0,eW.useRouter)();async function l(e){await o(e,{method:"POST",credentials:"same-origin"},{errorMessage:"退出登录失败"}),s.refresh()}return(0,i.jsxs)("div",{className:eM().page,children:[(0,i.jsx)(eY,{src:n},n??"none"),(0,i.jsx)("div",{className:eM().headerWrap,children:(0,i.jsxs)("header",{className:eM().header,children:[(0,i.jsxs)(eP(),{className:eM().brand,href:t.identity.homeHref,children:[t.identity.logoUrl?(0,i.jsx)("img",{alt:"",className:eM().brandLogo,src:t.identity.logoUrl}):(0,i.jsx)("span",{className:eM().brandMark,"aria-hidden":"true",children:"Z"}),(0,i.jsx)("span",{children:t.identity.name})]}),(0,i.jsx)("nav",{"aria-label":"主导航",className:eM().navigation,children:a.map(e=>(0,i.jsx)(eP(),{"aria-current":e.active?"page":void 0,href:e.href,children:e.label},e.key))}),(0,i.jsxs)("div",{className:eM().actions,children:[(0,i.jsx)(eI,{}),(0,i.jsx)(e_,{shape:"round",size:"middle",variant:"avatar",onLogout:l,onNavigate:e=>s.push(e)})]})]})}),(0,i.jsx)("main",{className:eM().content,children:e}),(0,i.jsxs)("aside",{"aria-label":"网站备案与版权",className:eM().legal,children:[t.legal.registrations.map(e=>{let r=(0,i.jsxs)(i.Fragment,{children:[e.iconUrl?(0,i.jsx)("img",{alt:"",className:eM().registrationIcon,src:e.iconUrl}):null,e.number]});return e.verificationUrl?e.verificationUrl.startsWith("/")?(0,i.jsx)(eP(),{href:e.verificationUrl,children:r},e.id):(0,i.jsx)("a",{href:e.verificationUrl,rel:"noreferrer",target:"_blank",children:r},e.id):(0,i.jsx)("span",{children:r},e.id)}),t.legal.copyright?(0,i.jsx)("small",{children:t.legal.copyright}):null]})]})}function eI(){let{mode:e,setMode:r}=g(),[a,t]=(0,d.useState)("light");(0,d.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>t(e.matches?"dark":"light");return r(),e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]);let n="default"===e?a:e;return(0,i.jsx)(eE.Ay,{"aria-label":`当前为${"dark"===n?"深色":"浅色"}主题,点击切换`,className:eM().themeControl??"","data-zlooks-theme-control":!0,icon:(0,i.jsx)("span",{"aria-hidden":"true",children:"dark"===n?"☾":"☀"}),onClick:()=>r("dark"===n?"light":"dark"),shape:"circle",size:"middle"})}},74718:e=>{e.exports={landing:"page_landing__vDqfd",hero:"page_hero__SKW6o",haloCopy:"page_haloCopy__dOkqi",haloSide:"page_haloSide__fXPB5",primaryActions:"page_primaryActions__hw9X7",action:"page_action__5pSuV",haloTopics:"page_haloTopics__SO9Gp"}},77128:(e,r,a)=>{"use strict";a.d(r,{default:()=>s});var t=a(49660),n=a(71124),i=a(79294),o=a(25872);function s({href:e,onClick:r,...a}){let l=(0,o.useRouter)();return(0,t.jsx)(n.Ay,{...a,href:e,onClick:function(a){r?.(a),(0,i.a)(a)&&(a.preventDefault(),l.push(e))}})}},79294:(e,r,a)=>{"use strict";function t(e){return!e.defaultPrevented&&0===e.button&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey}a.d(r,{a:()=>t})},85206:()=>{}},e=>{e.O(0,[565,507,996,11,128,358],()=>e(e.s=3241)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167,230,784,789,819,851,896,988],{25124:()=>{}},_=>{_.O(0,[11,128,358],()=>_(_.s=25124)),_N_E=_.O()}]);