diff --git a/.gitignore b/.gitignore index 8f2959b..2401fd6 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,6 @@ weights/ pretrained/ # Next.js workspace exclusions -frontend-next/node_modules/ -frontend-next/.next/ -frontend-next/out/ +frontend/node_modules/ +frontend/.next/ +frontend/out/ diff --git a/frontend-next/copy-build.js b/frontend-next/copy-build.js deleted file mode 100644 index 8639dfd..0000000 --- a/frontend-next/copy-build.js +++ /dev/null @@ -1,50 +0,0 @@ -const fs = require('fs'); -const path = require('path'); - -const srcDir = path.join(__dirname, 'out'); -const destDir = path.join(__dirname, '..', 'frontend'); - -function copyDirSync(src, dest) { - fs.mkdirSync(dest, { recursive: true }); - const entries = fs.readdirSync(src, { withFileTypes: true }); - - for (let entry of entries) { - const srcPath = path.join(src, entry.name); - const destPath = path.join(dest, entry.name); - - if (entry.isDirectory()) { - copyDirSync(srcPath, destPath); - } else { - fs.copyFileSync(srcPath, destPath); - } - } -} - -function cleanDirSync(dir) { - if (!fs.existsSync(dir)) return; - const entries = fs.readdirSync(dir, { withFileTypes: true }); - for (let entry of entries) { - if (entry.name === '.git' || entry.name === '.antigravitycli') continue; - const fullPath = path.join(dir, entry.name); - if (entry.isDirectory()) { - fs.rmSync(fullPath, { recursive: true, force: true }); - } else { - fs.unlinkSync(fullPath); - } - } -} - -try { - console.log('Wiping old static files in frontend/ ...'); - cleanDirSync(destDir); - - console.log('Copying static Next.js assets to frontend/ ...'); - if (fs.existsSync(srcDir)) { - copyDirSync(srcDir, destDir); - console.log('Build output synchronization successful!'); - } else { - console.error('Error: "out/" directory not found. Compile the Next.js build first.'); - } -} catch (err) { - console.error('Synchronization failed:', err); -} diff --git a/frontend-next/.gitignore b/frontend/.gitignore similarity index 100% rename from frontend-next/.gitignore rename to frontend/.gitignore diff --git a/frontend/404.html b/frontend/404.html deleted file mode 100644 index f27f112..0000000 --- a/frontend/404.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found.🎙️ ONNX VC - Real-Time AI Voice Changer

404

This page could not be found.

\ No newline at end of file diff --git a/frontend-next/AGENTS.md b/frontend/AGENTS.md similarity index 100% rename from frontend-next/AGENTS.md rename to frontend/AGENTS.md diff --git a/frontend-next/CLAUDE.md b/frontend/CLAUDE.md similarity index 100% rename from frontend-next/CLAUDE.md rename to frontend/CLAUDE.md diff --git a/frontend-next/README.md b/frontend/README.md similarity index 100% rename from frontend-next/README.md rename to frontend/README.md diff --git a/frontend/__next.__PAGE__.txt b/frontend/__next.__PAGE__.txt deleted file mode 100644 index ae4b308..0000000 --- a/frontend/__next.__PAGE__.txt +++ /dev/null @@ -1,9 +0,0 @@ -1:"$Sreact.fragment" -2:I[47257,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ClientPageRoot"] -3:I[52683,["/_next/static/chunks/0dbhjjzl8qfwv.js","/_next/static/chunks/01yjdu1pd4sew.js"],"default"] -6:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -7:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/01yjdu1pd4sew.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} -4:{} -5:"$0:rsc:props:children:0:props:serverProvidedParams:params" -8:null diff --git a/frontend/__next._full.txt b/frontend/__next._full.txt deleted file mode 100644 index 64b9687..0000000 --- a/frontend/__next._full.txt +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -4:I[47257,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ClientPageRoot"] -5:I[52683,["/_next/static/chunks/0dbhjjzl8qfwv.js","/_next/static/chunks/01yjdu1pd4sew.js"],"default"] -8:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -9:"$Sreact.suspense" -b:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -d:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -f:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -:HL["/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/01yjdu1pd4sew.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ncF6Dp_0OCMhTp1KUVnS4"} -6:{} -7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params" -c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -10:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -a:null -e:[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L10","3",{}]] diff --git a/frontend/__next._head.txt b/frontend/__next._head.txt deleted file mode 100644 index 1538eff..0000000 --- a/frontend/__next._head.txt +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/__next._index.txt b/frontend/__next._index.txt deleted file mode 100644 index 1ee1dcc..0000000 --- a/frontend/__next._index.txt +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/__next._tree.txt b/frontend/__next._tree.txt deleted file mode 100644 index 6213929..0000000 --- a/frontend/__next._tree.txt +++ /dev/null @@ -1,4 +0,0 @@ -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -:HL["/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}},"staleTime":300,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/_next/static/chunks/01yjdu1pd4sew.js b/frontend/_next/static/chunks/01yjdu1pd4sew.js deleted file mode 100644 index 1b33cae..0000000 --- a/frontend/_next/static/chunks/01yjdu1pd4sew.js +++ /dev/null @@ -1,9 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52683,e=>{"use strict";let t,i,r;var n,s=e.i(43476),a=e.i(71645);let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set([...o,"pathRotation"]),c=(e,t,i)=>i>t?t:i"number"==typeof e,parse:parseFloat,transform:e=>e},u={...d,transform:e=>c(0,1,e)},h={...d,default:1},p=e=>Math.round(1e5*e)/1e5,m=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,f=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,g=(e,t)=>i=>!!("string"==typeof i&&f.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),x=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,a,o]=r.match(m);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},v={...d,transform:e=>Math.round(c(0,255,e))},b={test:g("rgb","red"),parse:x("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+v.transform(e)+", "+v.transform(t)+", "+v.transform(i)+", "+p(u.transform(r))+")"},y={test:g("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:b.transform},k=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),w=k("deg"),j=k("%"),S=k("px"),z=k("vh"),C=k("vw"),P={...j,parse:e=>j.parse(e)/100,transform:e=>j.transform(100*e)},T={test:g("hsl","hue"),parse:x("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+j.transform(p(t))+", "+j.transform(p(i))+", "+p(u.transform(r))+")"},M={test:e=>b.test(e)||y.test(e)||T.test(e),parse:e=>b.test(e)?b.parse(e):T.test(e)?T.parse(e):y.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?b.transform(e):T.transform(e),getAnimatableNone:e=>{let t=M.parse(e);return t.alpha=0,M.transform(t)}},N=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",E="color",D=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function V(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,a=t.replace(D,e=>(M.test(e)?(r.color.push(s),n.push(E),i.push(M.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(A),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:a,indexes:r,types:n}}function L({split:e,types:t}){let i=e.length;return r=>{let n="";for(let s=0;s0},parse:function(e){return V(e).values},createTransformer:function(e){return L(V(e))},getAnimatableNone:function(e){let t=V(e);return L(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:M.test(e)?M.getAnimatableNone(e):e)(e,t.split[i])))}},I=new Set(["brightness","contrast","saturate","opacity"]);function F(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(m)||[];if(!r)return e;let n=i.replace(r,""),s=+!!I.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let B=/\b([a-z-]*)\(.*?\)/gu,O={...R,getAnimatableNone:e=>{let t=e.match(B);return t?t.map(F).join(" "):e}},_={...R,getAnimatableNone:e=>{let t=R.parse(e);return R.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},$={...d,transform:Math.round},W={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,inset:S,insetBlock:S,insetBlockStart:S,insetBlockEnd:S,insetInline:S,insetInlineStart:S,insetInlineEnd:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,paddingBlock:S,paddingBlockStart:S,paddingBlockEnd:S,paddingInline:S,paddingInlineStart:S,paddingInlineEnd:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,marginBlock:S,marginBlockStart:S,marginBlockEnd:S,marginInline:S,marginInlineStart:S,marginInlineEnd:S,fontSize:S,backgroundPositionX:S,backgroundPositionY:S,rotate:w,pathRotation:w,rotateX:w,rotateY:w,rotateZ:w,scale:h,scaleX:h,scaleY:h,scaleZ:h,skew:w,skewX:w,skewY:w,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:u,originX:P,originY:P,originZ:S,zIndex:$,fillOpacity:u,strokeOpacity:u,numOctaves:$},U={...W,color:M,backgroundColor:M,outlineColor:M,fill:M,stroke:M,borderColor:M,borderTopColor:M,borderRightColor:M,borderBottomColor:M,borderLeftColor:M,filter:O,WebkitFilter:O,mask:_,WebkitMask:_},G=e=>U[e],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),X=()=>({x:H(),y:H()}),q=()=>({min:0,max:0}),K=()=>({x:q(),y:q()}),Y=e=>!!(e&&e.getVelocity),Z=new Set(["width","height","top","left","right","bottom",...o]),J=e=>t=>t.test(e),Q=[d,S,j,w,C,z,{test:e=>"auto"===e,parse:e=>e}],ee=e=>Q.find(J(e));var et=e.i(47167);let ei=()=>{},er=()=>{};et.default;let en=e=>t=>"string"==typeof t&&t.startsWith(e),es=en("--"),ea=en("var(--"),eo=e=>!!ea(e)&&el.test(e.split("/*")[0].trim()),el=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ec(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let ed=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eu=e=>180*e/Math.PI,eh=e=>em(eu(Math.atan2(e[1],e[0]))),ep={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eh,rotateZ:eh,skewX:e=>eu(Math.atan(e[1])),skewY:e=>eu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},em=e=>((e%=360)<0&&(e+=360),e),ef=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eg=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ex={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ef,scaleY:eg,scale:e=>(ef(e)+eg(e))/2,rotateX:e=>em(eu(Math.atan2(e[6],e[5]))),rotateY:e=>em(eu(Math.atan2(-e[2],e[0]))),rotateZ:eh,rotate:eh,skewX:e=>eu(Math.atan(e[4])),skewY:e=>eu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ev(e){return+!!e.includes("scale")}function eb(e,t){let i,r;if(!e||"none"===e)return ev(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=ex,r=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ep,r=t}if(!r)return ev(t);let s=i[t],a=r[1].split(",").map(ey);return"function"==typeof s?s(a):a[s]}function ey(e){return parseFloat(e.trim())}let ek=e=>e===d||e===S,ew=new Set(["x","y","z"]),ej=o.filter(e=>!ew.has(e)),eS={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>eb(t,"x"),y:(e,{transform:t})=>eb(t,"y")};eS.translateX=eS.x,eS.translateY=eS.y;let ez=e=>e,eC={},eP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eT(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=eP.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,r=new Set,n=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){a.has(t)&&(d.schedule(t),e()),l++,t(o)}let d={schedule:(e,t=!1,s=!1)=>{let o=s&&n?i:r;return t&&a.add(e),o.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{if(o=e,n){s=!0;return}n=!0;let a=i;i=r,r=a,i.forEach(c),t,l=0,i.clear(),n=!1,s&&(s=!1,d.process(e))}};return d}(s,t?i:void 0),e),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:d,update:u,preRender:h,render:p,postRender:m}=a,f=()=>{let s=eC.useManualTiming,a=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(a-n.timestamp,40),1)),n.timestamp=a,n.isProcessing=!0,o.process(n),l.process(n),c.process(n),d.process(n),u.process(n),h.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(f))};return{schedule:eP.reduce((t,s)=>{let o=a[s];return t[s]=(t,s=!1,a=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(f)),o.schedule(t,s,a)),t},{}),cancel:e=>{for(let t=0;ttypeof requestAnimationFrame?requestAnimationFrame:ez,!0),eD=new Set,eV=!1,eL=!1,eR=!1;function eI(){if(eL){let e=Array.from(eD).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,r=(t=[],ej.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t);r.length&&(i.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eL=!1,eV=!1,eD.forEach(e=>e.complete(eR)),eD.clear()}function eF(){eD.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eL=!0)})}class eB{constructor(e,t,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eD.add(this),eV||(eV=!0,eM.read(eF),eM.resolveKeyframes(eI))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:r}=this;if(null===e[0]){let n=r?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let r=i.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===n&&r.set(e[0])}for(let t=1;t{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eU=e=>1e3*e;function eG(e,t){-1===e.indexOf(t)&&e.push(t)}function eH(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class eX{constructor(){this.subscriptions=[]}add(e){return eG(this.subscriptions,e),()=>eH(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n(void 0===t&&(t=e()),t)}let eY={};function eZ(e,t){let i=eK(e);return()=>eY[t]??i()}let eJ=eZ(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eQ=e=>null!==e;function e0(e,{repeat:t,repeatType:i="loop"},r,n=1){let s=e.filter(eQ),a=n<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return a&&void 0!==r?r:s[a]}class e1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e2={layout:0,mainThread:0,waapi:0},e5=e=>Array.isArray(e)&&"number"==typeof e[0],e4=eZ(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e3=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t`cubic-bezier(${e}, ${t}, ${i}, ${r})`,e6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e8([0,.65,.55,1]),circOut:e8([.55,0,1,.45]),backIn:e8([.31,.01,.66,-.59]),backOut:e8([.33,1.53,.69,.99])};function e9(e){return"function"==typeof e&&"applyToOptions"in e}class e7 extends e1{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,er("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e9(e)&&e4()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},c){let d={[t]:i};l&&(d.offset=l);let u=function e(t,i){if(t)return"function"==typeof t?e4()?e3(t,i):"ease-out":e5(t)?e8(t):Array.isArray(t)?t.map(t=>e(t,i)||e6.easeOut):e6[t]}(o,n);Array.isArray(u)&&(d.easing=u);let h={delay:r,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};c&&(h.pseudoElement=c);let p=e.animate(d,h);return p}(t,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=e0(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eq(t,i,e),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eU(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eJ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),ez):r(this)}}let te=new Set(["opacity","clipPath","filter","transform"]),{schedule:tt}=eT(queueMicrotask,!1);function ti(){t=void 0}let tr={now:()=>(void 0===t&&tr.set(eA.isProcessing||eC.useManualTiming?eA.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(ti)}},tn=(e,t)=>t?1e3/t*e:0,ts;class ta{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tr.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tr.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new eX);let i=this.events[e].add(t);return"change"===e?()=>{i(),eM.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return ts&&ts.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tr.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function to(e,t){return new ta(e,t)}let tl=[...Q,M,R],tc=new WeakMap;function td(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let th=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tp=["initial",...th];function tm(e){return td(e.animate)||tp.some(t=>tu(e[t]))}function tf(e){return!!(tm(e)||e.variants)}let tg={current:null},tx={current:!1},tv="u">typeof window;function tb(e){let t=[{},{}];return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function ty(e,t,i,r){if("function"==typeof t){let[n,s]=tb(r);t=t(void 0!==i?i:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=tb(r);t=t(void 0!==i?i:e.custom,n,s)}return t}let tk=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tw={};class tj{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eB,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tr.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tx.current||function(){if(tx.current=!0,tv)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tg.current=e.matches;e.addEventListener("change",t),t()}else tg.current=!1}(),this.shouldReduceMotion=tg.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eN(this.notifyUpdate),eN(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&te.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:a}=t.accelerate,o=new e7({element:this.current,name:e,keyframes:r,times:n,ease:s,duration:eU(a)}),l=i(o);this.valueSubscriptions.set(e,()=>{l(),o.cancel()});return}let r=l.has(e);r&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eM.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tw){let t=tw[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):K()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=to(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!tl.find(J(r))&&R.test(t)&&(i=e_(e,t))}this.setBaseTarget(e,Y(i)?i.get():i)}return Y(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=ty(this.props,i,this.presenceContext?.custom);r&&(t=r[e])}if(i&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Y(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new eX),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tt.render(this.render)}}class tS extends tj{constructor(){super(...arguments),this.KeyframeResolver=eW}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Y(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tz(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tC=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tT=o.length;function tM(e,t,i){let{style:r,vars:n,transformOrigin:s}=e,a=!1,c=!1;for(let e in t){let i=t[e];if(l.has(e)){a=!0;continue}if(es(e)){n[e]=i;continue}{let t=tC(i,W[e]);e.startsWith("origin")?(c=!0,s[e]=t):r[e]=t}}if(!t.transform&&(a||i?r.transform=function(e,t,i){let r="",n=!0;for(let s=0;s"string"==typeof e&&"svg"===e.toLowerCase();function tR(e,{style:t,vars:i},r,n){let s,a=e.style;for(s in t)a[s]=t[s];for(s in n?.applyProjectionStyles(a,r),i)a.setProperty(s,i[s])}function tI(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tF={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!S.test(e))return e;else e=parseFloat(e);let i=tI(e,t.target.x),r=tI(e,t.target.y);return`${i}% ${r}%`}},tB=(e,t,i)=>e+(t-e)*i,tO={borderRadius:{...tF,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tF,borderTopRightRadius:tF,borderBottomLeftRadius:tF,borderBottomRightRadius:tF,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=R.parse(e);if(r.length>5)return e;let n=R.createTransformer(e),s=+("number"!=typeof r[0]),a=i.x.scale*t.x,o=i.y.scale*t.y;r[0+s]/=a,r[1+s]/=o;let l=tB(a,o,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function t_(e,{layout:t,layoutId:i}){return l.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tO[e]||"opacity"===e)}function t$(e,t,i){let r=e.style,n=t?.style,s={};if(!r)return s;for(let t in r)(Y(r[t])||n&&Y(n[t])||t_(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=r[t]);return s}function tW(e,t,i){let r=t$(e,t,i);for(let i in e)(Y(e[i])||Y(t[i]))&&(r[-1!==o.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}class tU extends tS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=K}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.has(t)){let e=G(t);return e&&e.default||0}return t=tV.has(t)?t:tz(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tW(e,t,i)}build(e,t,i){tD(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){for(let i in tR(e,t,void 0,r),t.attrs)e.setAttribute(tV.has(i)?i:tz(i),t.attrs[i])}mount(e){this.isSVGTag=tL(e.tagName),super.mount(e)}}function tG({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function tH(e){return void 0===e||1===e}function tX({scale:e,scaleX:t,scaleY:i}){return!tH(e)||!tH(t)||!tH(i)}function tq(e){return tX(e)||tK(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tK(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function tY(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function tZ(e,t=0,i=1,r,n){e.min=tY(e.min,t,i,r,n),e.max=tY(e.max,t,i,r,n)}function tJ(e,{x:t,y:i}){tZ(e.x,t.translate,t.scale,t.originPoint),tZ(e.y,i.translate,i.scale,i.originPoint)}function tQ(e,t){e.min+=t,e.max+=t}function t0(e,t,i,r,n=.5){let s=tB(e.min,e.max,n);tZ(e,t,i,s,r)}function t1(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t2(e,t,i){let r=i??e;t0(e.x,t1(t.x,r.x),t.scaleX,t.scale,t.originX),t0(e.y,t1(t.y,r.y),t.scaleY,t.scale,t.originY)}function t5(e,t){return tG(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}class t4 extends tS{constructor(){super(...arguments),this.type="html",this.renderInstance=tR}readValueFromInstance(e,t){if(l.has(t))return this.projection?.isProjecting?ev(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return eb(i,t)})(e,t);{let i=window.getComputedStyle(e),r=(es(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t5(e,t)}build(e,t,i){tM(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return t$(e,t,i)}}let t3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t8(e){if("string"!=typeof e||e.includes("-"));else if(t3.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let t6=(0,a.createContext)({}),t9=(0,a.createContext)({strict:!1}),t7=(0,a.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ie=(0,a.createContext)({});function it(e){return Array.isArray(e)?e.join(" "):e}let ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ir(e,t,i){for(let r in t)Y(t[r])||t_(r,i)||(e[r]=t[r])}let is=()=>({...ii(),attrs:{}}),ia=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function io(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ia.has(e)}let il=e=>!io(e);try{n=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof n&&(il=e=>e.startsWith("on")?!io(e):n(e))}catch{}function ic(e){return Y(e)?e.get():e}let id=(0,a.createContext)(null);function iu(e){let t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}let ih=e=>(t,i)=>{let r=(0,a.useContext)(ie),n=(0,a.useContext)(id),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,n){return{latestValues:function(e,t,i,r){let n={},s=r(e,{});for(let e in s)n[e]=ic(s[e]);let{initial:a,animate:o}=e,l=tm(e),c=tf(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===o&&(o=t.animate));let d=!!i&&!1===i.initial,u=(d=d||!1===a)?o:a;if(u&&"boolean"!=typeof u&&!td(u)){let t=Array.isArray(u)?u:[u];for(let i=0;iig[t].some(t=>!!e[t])};tw=e,ix=!0}(),tw}let ib=Symbol.for("motionComponentSymbol"),iy="data-"+tz("framerAppearId"),ik=(0,a.createContext)({});function iw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let ij="u">typeof window?a.useLayoutEffect:a.useEffect;function iS(e,{forwardMotionProps:t=!1,type:i}={},r,n){r&&function(e){let t=iv();for(let i in e)t[i]={...t[i],...e[i]};tw=t}(r);let o=i?"svg"===i:t8(e),l=o?im:ip;function c(i,r){var c;let d,u,h,p={...(0,a.useContext)(t7),...i,layoutId:function({layoutId:e}){let t=(0,a.useContext)(t6).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:m}=p,f=function(e){let{initial:t,animate:i}=function(e,t){if(tm(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(ie));return(0,a.useMemo)(()=>({initial:t,animate:i}),[it(t),it(i)])}(i),g=l(i,m);if(!m&&"u">typeof window){(0,a.useContext)(t9).strict;let t=function(e){let{drag:t,layout:i}=iv();if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(p);d=t.MeasureLayout,f.visualElement=function(e,t,i,r,n,s){let{visualElement:o}=(0,a.useContext)(ie),l=(0,a.useContext)(t9),c=(0,a.useContext)(id),d=(0,a.useContext)(t7),u=d.reducedMotion,h=d.skipAnimations,p=(0,a.useRef)(null),m=(0,a.useRef)(!1);r=r||l.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:o,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:u,skipAnimations:h,isSVG:s}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let f=p.current,g=(0,a.useContext)(ik);f&&!f.projection&&n&&("html"===f.type||"svg"===f.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!a||o&&iw(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}(p.current,i,n,g);let x=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{f&&x.current&&f.update(i,c)});let v=i[iy],b=(0,a.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ij(()=>{m.current=!0,f&&(x.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),b.current&&f.animationState&&f.animationState.animateChanges())}),(0,a.useEffect)(()=>{f&&(!b.current&&f.animationState&&f.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),b.current=!1),f.enteringChildren=void 0)}),f}(e,g,p,n,t.ProjectionNode,o)}return(0,s.jsxs)(ie.Provider,{value:f,children:[d&&f.visualElement?(0,s.jsx)(d,{visualElement:f.visualElement,...p}):null,function(e,t,i,{latestValues:r},n,s=!1,o){let l=(o??t8(e)?function(e,t,i,r){let n=(0,a.useMemo)(()=>{let i=is();return tD(i,t,tL(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};ir(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let i,r,n={},s=(i=e.style||{},ir(r={},i,e),Object.assign(r,function({transformTemplate:e},t){return(0,a.useMemo)(()=>{let i=ii();return tM(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n})(t,r,n,e),c=function(e,t,i){let r={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&!Y(e[n])&&(il(n)||!0===i&&io(n)||!t&&!io(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}(t,"string"==typeof e,s),d=e!==a.Fragment?{...c,...l,ref:i}:{},{children:u}=t,h=(0,a.useMemo)(()=>Y(u)?u.get():u,[u]);return(0,a.createElement)(e,{...d,children:h})}(e,i,(c=f.visualElement,u=(0,a.useRef)(r),(0,a.useInsertionEffect)(()=>{u.current=r}),h=(0,a.useRef)(null),(0,a.useCallback)(e=>{e&&g.onMount?.(e),c&&(e?c.mount(e):c.unmount());let t=u.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):t(e);else t&&(t.current=e)},[c])),g,m,t,o)]})}c.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let d=(0,a.forwardRef)(c);return d[ib]=e,d}class iz{constructor(e){this.isMounted=!1,this.node=e}update(){}}function iC(e,t,i){let r=e.getProps();return ty(r,t,void 0!==i?i:r.custom,e)}function iP(e,t){if(e?.inherit&&t){let{inherit:i,...r}=e;return{...t,...r}}return e}function iT(e,t){let i=e?.[t]??e?.default??e;return i!==e?iP(i,e):i}let iM=e=>Array.isArray(e);function iN(e,t){let i=e.getValue("willChange");if(Y(i)&&i.add)return i.add(t);if(!i&&eC.WillChange){let i=new eC.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let iA=(...e)=>e.reduce((e,t)=>i=>t(e(i)));function iE(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iD(e,t){return i=>i>0?t:e}let iV=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},iL=[y,b,T];function iR(e){let t=iL.find(t=>t.test(e));if(ei(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===T&&(i=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,a=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,o=2*i-r;n=iE(o,r,e+1/3),s=iE(o,r,e),a=iE(o,r,e-1/3)}else n=s=a=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*a),alpha:r}}(i)),i}let iI=(e,t)=>{let i=iR(e),r=iR(t);if(!i||!r)return iD(e,t);let n={...i};return e=>(n.red=iV(i.red,r.red,e),n.green=iV(i.green,r.green,e),n.blue=iV(i.blue,r.blue,e),n.alpha=tB(i.alpha,r.alpha,e),b.transform(n))},iF=new Set(["none","hidden"]);function iB(e,t){return i=>tB(e,t,i)}function iO(e){return"number"==typeof e?iB:"string"==typeof e?eo(e)?iD:M.test(e)?iI:iW:Array.isArray(e)?i_:"object"==typeof e?M.test(e)?iI:i$:iD}function i_(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>iO(e)(e,t[i]));return e=>{for(let t=0;t{for(let t in r)i[t]=r[t](e);return i}}let iW=(e,t)=>{let i=R.createTransformer(t),r=V(e),n=V(t);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return ei(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iD(e,t);if(iF.has(e)&&!n.values.length||iF.has(t)&&!r.values.length)return iF.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iA(i_(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eM.update(t,e),stop:()=>eN(t),now:()=>eA.isProcessing?eA.timestamp:tr.now()}};function iH(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let iX=.01,iq=2,iK=.005,iY=.5;function iZ(e,t){return e*Math.sqrt(1-t*t)}let iJ=["duration","bounce"],iQ=["stiffness","damping","mass"];function i0(e,t){return t.some(t=>void 0!==e[t])}function i1(e=.3,t=.3){let i,r,n,s,a,o,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:d,restDelta:u}=l,h=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],m={done:!1,value:h},{stiffness:f,damping:g,mass:x,duration:v,velocity:b,isResolvedFromDuration:y}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!i0(e,iQ)&&i0(e,iJ))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*c(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:n}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:r=1}){let n,s;ei(e<=eU(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=c(.05,1,a),e=c(.01,10,e/1e3),a<1?(n=t=>{let r=t*a,n=r*e;return .001-(r-i)/iZ(t,a)*Math.exp(-n)},s=t=>{let r=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-r),l=iZ(Math.pow(t,2),a);return(r*i+i-s)*o*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(n,s,5/e);if(e=eU(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),k=b||0,w=g/(2*Math.sqrt(f*x)),j=p-h,S=Math.sqrt(f/x)/1e3,z=5>Math.abs(j);if(d||(d=z?iX:iq),u||(u=z?iK:iY),w<1)n=iZ(S,w),s=(k+w*S*j)/n,i=e=>p-Math.exp(-w*S*e)*(s*Math.sin(n*e)+j*Math.cos(n*e)),a=w*S*s+j*n,o=w*S*j-s*n,r=e=>Math.exp(-w*S*e)*(a*Math.sin(n*e)+o*Math.cos(n*e));else if(1===w){i=e=>p-Math.exp(-S*e)*(j+(k+S*j)*e);let e=k+S*j;r=t=>Math.exp(-S*t)*(S*e*t-k)}else{let e=S*Math.sqrt(w*w-1);i=t=>{let i=Math.exp(-w*S*t),r=Math.min(e*t,300);return p-i*((k+w*S*j)*Math.sinh(r)+e*j*Math.cosh(r))/e};let t=(k+w*S*j)/e,n=w*S*t-j*e,s=w*S*j-t*e;r=t=>{let i=Math.exp(-w*S*t),r=Math.min(e*t,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let C={calculatedDuration:y&&v||null,velocity:e=>eU(r(e)),next:e=>{if(!y&&w<1){let t=Math.exp(-w*S*e),i=Math.sin(n*e),r=Math.cos(n*e),l=p-t*(s*i+j*r);return m.done=Math.abs(eU(t*(a*i+o*r)))<=d&&Math.abs(p-l)<=u,m.value=m.done?p:l,m}let t=i(e);return y?m.done=e>=v:m.done=Math.abs(eU(r(e)))<=d&&Math.abs(p-t)<=u,m.value=m.done?p:t,m},toString:()=>{let e=Math.min(iH(C),2e4),t=e3(t=>C.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return C}function i2(e,t,i){let r=Math.max(t-5,0);return tn(i-e(r),t-r)}function i5({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:c=.5,restSpeed:d}){let u,h,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,x=void 0===a?g:a(g);x!==g&&(f=x-p);let v=e=>-f*Math.exp(-e/r),b=e=>x+v(e),y=e=>{let t=v(e),i=b(e);m.done=Math.abs(t)<=c,m.value=m.done?x:i},k=e=>{let t;if(t=m.value,void 0!==o&&tl){var i;u=e,h=i1({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i){let t=!1;return(h||void 0!==u||(t=!0,y(e),k(e)),void 0!==u&&e>=u)?h.next(e-u):(t||y(e),m)}}}i1.applyToOptions=e=>{let t=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min(iH(r),2e4);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:n/1e3}}(e,100,i1);return e.ease=t.ease,e.duration=eU(t.duration),e.type="keyframes",e};let i4=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function i3(e,t,i,r){return e===t&&i===r?ez:n=>0===n||1===n?n:i4(function(e,t,i,r,n){let s,a,o=0;do(s=i4(a=t+(i-t)/2,r,n)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(n,0,1,e,i),t,r)}let i8=i3(.42,0,1,1),i6=i3(0,0,.58,1),i9=i3(.42,0,.58,1),i7=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,re=e=>t=>1-e(1-t),rt=i3(.33,1.53,.69,.99),ri=re(rt),rr=i7(ri),rn=e=>e>=1?1:(e*=2)<1?.5*ri(e):.5*(2-Math.pow(2,-10*(e-1))),rs=e=>1-Math.sin(Math.acos(e)),ra=re(rs),ro=i7(rs),rl={linear:ez,easeIn:i8,easeInOut:i9,easeOut:i6,circIn:rs,circInOut:ro,circOut:ra,backIn:ri,backInOut:rr,backOut:rt,anticipate:rn},rc=e=>{if(e5(e)){er(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,r,n]=e;return i3(t,i,r,n)}return"string"==typeof e?(er(void 0!==rl[e],`Invalid easing type '${e}'`,"invalid-easing-type"),rl[e]):e},rd=(e,t,i)=>{let r=t-e;return r?(i-e)/r:1};function ru({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s,a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(rc):rc(r),o={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if(er(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let r=[],n=i||eC.mix||iU,s=e.length-1;for(let i=0;i{if(a&&i1)for(;rd(c(e[0],e[s-1],t)):d}((n=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let r=1;r<=t;r++){let n=rd(0,t,r);e.push(tB(i,1,n))}}(s=[0],t.length-1),s),n.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||i9).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let rh={decay:i5,inertia:i5,tween:ru,keyframes:ru,spring:i1};function rp(e){"string"==typeof e.type&&(e.type=rh[e.type])}let rm=e=>e/100;class rf extends e1{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tr.now()&&this.tick(tr.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e2.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;rp(e);let{type:t=ru,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=e,{keyframes:a}=e,o=t||ru;o!==ru&&"number"!=typeof a[0]&&(this.mixKeyframes=iA(rm,iU(a[0],a[1])),a=[0,100]);let l=o({...e,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...e,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iH(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:r,totalDuration:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:d=0,keyframes:u,repeat:h,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let y=this.currentTime,k=r;if(h){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,h+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/o)):"mirror"===p&&(k=a)),y=c(0,1,i)*o}b?(this.delayState.value=u[0],i=this.delayState):i=k.next(y),s&&!b&&(i.value=s(i.value));let{done:w}=i;b||null===l||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&f!==i5&&(i.value=e0(u,this.options,x,this.speed)),g&&g(i.value),j&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eU(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return i2(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tr.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=iG,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tr.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e2.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let rg={anticipate:rn,backInOut:rr,circInOut:ro};class rx extends e7{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in rg&&(e.ease=rg[e.ease])}(e),rp(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new rf({...s,autoplay:!1}),o=Math.max(10,tr.now()-this.startTime),l=c(0,10,o-10),d=a.sample(o).value,{name:u}=this.options;n&&u&&eq(n,u,d),t.setWithVelocity(a.sample(Math.max(0,o-l)).value,d,l),a.stop()}}let rv=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(R.test(e)||"0"===e)&&!e.startsWith("url("));function rb(e){e.duration=0,e.type="keyframes"}let ry=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rk=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rw=eK(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rj extends e1{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tr.now();const u={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,name:o,motionValue:l,element:c,...d},h=c?.KeyframeResolver||eB;this.keyframeResolver=new h(a,(e,t,i)=>this.onKeyframesResolved(e,t,u,!i),o,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:a,velocity:o,delay:l,isHandoff:c,onUpdate:d}=i;this.resolvedAt=tr.now();let u=!0;!function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=rv(n,t),o=rv(s,t);return ei(a===o,`You are trying to animate ${t} from "${n}" to "${s}". "${a?s:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},p=u&&!c&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:a,keyframes:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:c}=t.owner.getProps();return rw()&&i&&(te.has(i)||rk.has(i)&&function(e){for(let t=0;t{this.notifyFinished()}).catch(ez),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eR=!0,eF(),eI(),eR=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rS={type:"spring",stiffness:500,damping:25,restSpeed:10},rz={type:"keyframes",duration:.8},rC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rT=(e,t,i,r={},n,s)=>a=>{let o=iT(r,e)||{},c=o.delay||r.delay||0,{elapsed:d=0}=r;d-=eU(c);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-d,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function(e){for(let t in e)if(!rP.has(t))return!0;return!1}(o)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?rz:l.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:rS:rC)(e,u)),u.duration&&(u.duration=eU(u.duration)),u.repeatDelay&&(u.repeatDelay=eU(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(rb(u),0===u.delay&&(h=!0)),(eC.instantAnimations||eC.skipAnimations||n?.shouldSkipAnimations||o.skipAnimations)&&(h=!0,rb(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,h&&!s&&void 0!==t.get()){let e=e0(u.keyframes,o);if(void 0!==e)return void eM.update(()=>{u.onUpdate(e),u.onComplete()})}return o.isSync?new rf(u):new rj(u)};function rM(e,t,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:a,...o}=t,l=e.getDefaultTransition();s=s?iP(s,l):l;let c=s?.reduceMotion,d=s?.skipAnimations;r&&(s=r);let u=[],h=n&&e.animationState&&e.animationState.getState()[n],p=s?.path;for(let t in p&&p.animateVisualElement(e,o,s,i,u),o){let r=e.getValue(t,e.latestValues[t]??null),n=o[t];if(void 0===n||h&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(h,t))continue;let a={delay:i,...iT(s||{},t)};d&&(a.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!a.velocity){eM.update(()=>r.set(n));continue}let p=!1;if(window.MotionHandoffAnimation){let i=e.props[iy];if(i){let e=window.MotionHandoffAnimation(i,t,eM);null!==e&&(a.startTime=e,p=!0)}}iN(e,t);let m=c??e.shouldReduceMotion;r.start(rT(t,r,n,m&&Z.has(t)?{type:!1}:a,e,p));let f=r.animation;f&&u.push(f)}if(a){let t=()=>eM.update(()=>{a&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=iC(e,t)||{};for(let t in n={...n,...i}){var s;let i=iM(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,to(i))}}(e,a)});u.length?Promise.all(u).then(t):t()}return u}function rN(e,t,i,r=0,n=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,o=(a-1)*r;return"function"==typeof i?i(s,a):1===n?s*r:o-s*r}function rA(e,t,i={}){let r=iC(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rM(e,r,i)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=n;return function(e,t,i=0,r=0,n=0,s=1,a){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(rA(l,t,{...a,delay:i+("function"==typeof r?0:r)+rN(e.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,r,s,a,o,i)}:()=>Promise.resolve(),{when:o}=n;if(!o)return Promise.all([s(),a(i.delay)]);{let[e,t]="beforeChildren"===o?[s,a]:[a,s];return e().then(()=>t())}}let rE=tp.length;function rD(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;re.removeEventListener(t,i)}let r_={x:!1,y:!1};function r$(e){return e.max-e.min}function rW(e,t,i,r=.5){e.origin=r,e.originPoint=tB(t.min,t.max,e.origin),e.scale=r$(i)/r$(t),e.translate=tB(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rU(e,t,i,r){rW(e.x,t.x,i.x,r?r.originX:void 0),rW(e.y,t.y,i.y,r?r.originY:void 0)}function rG(e,t,i,r=0){e.min=(r?tB(i.min,i.max,r):i.min)+t.min,e.max=e.min+r$(t)}function rH(e,t,i,r=0){let n=r?tB(i.min,i.max,r):i.min;e.min=t.min-n,e.max=e.min+r$(t)}function rX(e,t,i,r){rH(e.x,t.x,i.x,r?.x),rH(e.y,t.y,i.y,r?.y)}let rq=e=>"object"==typeof e&&null!==e;function rK(e){return rq(e)&&"ownerSVGElement"in e}function rY(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let n=i?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}let rZ=new WeakMap,rJ=(e,t,i)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:rK(r)&&"getBBox"in r?r.getBBox()[t]:r[i],rQ=rJ("inline","width","offsetWidth"),r0=rJ("block","height","offsetHeight");function r1({target:e,borderBoxSize:t}){rZ.get(e)?.forEach(i=>{i(e,{get width(){return rQ(e,t)},get height(){return r0(e,t)}})})}function r2(e){e.forEach(r1)}let r5=new Set;function r4(e,t){let n;return"function"==typeof e?(r5.add(e),r||(r=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};r5.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{r5.delete(e),r5.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(r2)),(n=rY(e)).forEach(e=>{let r=rZ.get(e);r||(r=new Set,rZ.set(e,r)),r.add(t),i?.observe(e)}),()=>{n.forEach(e=>{let r=rZ.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let r3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r8=new Set(["INPUT","SELECT","TEXTAREA"]),r6=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function r9(e){return{point:{x:e.pageX,y:e.pageY}}}function r7(e,t,i,r){return rO(e,t,e=>r6(e)&&i(e,r9(e)),r)}let ne=({current:e})=>e?e.ownerDocument.defaultView:null,nt=(e,t)=>Math.abs(e-t),ni=new Set(["auto","scroll"]);class nr{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=nn(this.lastRawMoveEventInfo,this.transformPagePoint));let i=na(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(nt(e.x,t.x)**2+nt(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:a}=eA;this.history.push({...s,timestamp:a});let{onStart:o,onMove:l}=this.handlers;r||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=nn(t,this.transformPagePoint),eM.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=na("pointercancel"===e.type?this.lastMoveEventInfo:nn(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!r6(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const o=nn(r9(e),this.transformPagePoint),{point:l}=o,{timestamp:c}=eA;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=t;d&&d(e,na(o,this.history)),this.removeListeners=iA(r7(this.contextWindow,"pointermove",this.handlePointerMove),r7(this.contextWindow,"pointerup",this.handlePointerUp),r7(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ni.has(e.overflowX)||ni.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:r.x-t.x,y:r.y-t.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,r),eM.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eN(this.updatePoint)}}function nn(e,t){return t?{point:t(e.point)}:e}function ns(e,t){return{x:e.x-t.x,y:e.y-t.y}}function na({point:e},t){return{point:e,delta:ns(e,no(t)),offset:ns(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,r=no(e);for(;t>=0&&(i=e[t],!(r.timestamp-i.timestamp>eU(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&r.timestamp-i.timestamp>2*eU(.1)&&(i=e[1]);let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function no(e){return e[e.length-1]}function nl(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function nc(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min{t&&this.snapToCursor(r9(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(r_[e])return null;else return r_[e]=!0,()=>{r_[e]=!1};return r_.x||r_.y?null:(r_.x=r_.y=!0,()=>{r_.x=r_.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rB(e=>{let t=this.getAxisMotionValue(e).get()||0;if(j.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=r$(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&eM.update(()=>n(e,t),!1,!0),iN(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&eM.update(()=>s(e,t),!1,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new nr(e,{onSessionStart:n,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:i,contextWindow:ne(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,r=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&eM.postRender(()=>a(i,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!nf(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&ei&&(e=r?tB(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&iw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:nl(e.x,i,n),y:nl(e.y,t,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nd(e,"left","right"),y:nd(e,"top","bottom")}}(t),r!==this.constraints&&!iw(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&rB(e=>{var t,r;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],r=this.constraints[e],n={},void 0!==r.min&&(n.min=r.min-t.min),void 0!==r.max&&(n.max=r.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iw(t))return!1;let r=t.current;er(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let s=function(e,t,i){let r=t5(e,i),{scroll:n}=t;return n&&(tQ(r.x,n.offset.x),tQ(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),a=(e=n.layout.layoutBox,{x:nc(e.x,s.x),y:nc(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=tG(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(rB(a=>{if(!nf(a,t,this.currentDirection))return;let l=o&&o[a]||{};(!0===s||s===a)&&(l={min:0,max:0});let c={type:"inertia",velocity:i?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,c)})).then(a)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iN(this.visualElement,e),i.start(rT(e,i,0,t,this.visualElement,!1))}stopAnimation(){rB(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){rB(t=>{let{drag:i}=this.getProps();if(!nf(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t],a=n.get()||0;n.set(e[t]-tB(i,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iw(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rB(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let s,a,o,l=t.get();r[e]=(i={min:l,max:l},n=this.constraints[e],s=.5,a=r$(i),(o=r$(n))>a?s=rd(n.min,n.max-a,i.min):a>o&&(s=rd(i.min,i.max-o,n.min)),c(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),rB(t=>{if(!nf(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set(tB(n,s,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;nh.set(this.visualElement,this);let t=this.visualElement.current,i=r7(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=e.target,s=n!==t&&(r8.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(e)}),r=()=>{var i,r,n;let s,a,{dragConstraints:o}=this.getProps();iw(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,r=o.current,s=r4(i,nm(n=()=>this.scalePositionWithinConstraints())),a=r4(r,nm(n)),e=()=>{s(),a()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),eM.read(r);let a=rO(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rB(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),i(),s(),o&&o(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:a}}}function nm(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function nf(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let ng=e=>(t,i)=>{e&&eM.update(()=>e(t,i),!1,!0)},nx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nv=a;function nb(e=!0){let t=(0,a.useContext)(id);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=t,s=(0,a.useId)();(0,a.useEffect)(()=>{if(e)return n(s)},[e]);let o=(0,a.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!i&&r?[!1,o]:[!0]}let ny=!1;class nk extends nv.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),i&&i.register&&r&&i.register(n),ny&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nx.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),ny=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==n?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||eM.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),tt.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;ny=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nw(e){let[t,i]=nb(),r=(0,nv.useContext)(t6);return(0,s.jsx)(nk,{...e,layoutGroup:r,switchLayoutGroup:(0,nv.useContext)(ik),isPresent:t,safeToRemove:i})}let nj=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nS=nj.length,nz=e=>"string"==typeof e?parseFloat(e):e,nC=e=>"number"==typeof e||S.test(e);function nP(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nT=nN(0,.5,ra),nM=nN(.5,.95,ez);function nN(e,t,i){return r=>rt?1:i(rd(e,t,r))}function nA(e,t){e.min=t.min,e.max=t.max}function nE(e,t){nA(e.x,t.x),nA(e.y,t.y)}function nD(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nV(e,t,i,r,n){return e-=t,e=r+1/i*(e-r),void 0!==n&&(e=r+1/n*(e-r)),e}function nL(e,t,[i,r,n],s,a){!function(e,t=0,i=1,r=.5,n,s=e,a=e){if(j.test(t)&&(t=parseFloat(t),t=tB(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let o=tB(s.min,s.max,r);e===s&&(o-=t),e.min=nV(e.min,t,i,o,n),e.max=nV(e.max,t,i,o,n)}(e,t[i],t[r],t[n],t.scale,s,a)}let nR=["x","scaleX","originX"],nI=["y","scaleY","originY"];function nF(e,t,i,r){nL(e.x,t,nR,i?i.x:void 0,r?r.x:void 0),nL(e.y,t,nI,i?i.y:void 0,r?r.y:void 0)}function nB(e){return 0===e.translate&&1===e.scale}function nO(e){return nB(e.x)&&nB(e.y)}function n_(e,t){return e.min===t.min&&e.max===t.max}function n$(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nW(e,t){return n$(e.x,t.x)&&n$(e.y,t.y)}function nU(e){return r$(e.x)/r$(e.y)}function nG(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nH{constructor(){this.members=[]}add(e){eG(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(eH(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(eH(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=e.options;(void 0===r||r!==n)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let nX=(e,t)=>e.depth-t.depth;class nq{constructor(){this.children=[],this.isDirty=!1}add(e){eG(this.children,e),this.isDirty=!0}remove(e){eH(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nX),this.isDirty=!1,this.children.forEach(e)}}let nK=["","X","Y","Z"],nY=0;function nZ(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function nJ({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(e={},i=t?.()){this.id=nY++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(n1),this.nodes.forEach(se),this.nodes.forEach(st),this.nodes.forEach(n2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;eM.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,s;r=e,this.root.updateBlockedByResize=!0,i&&i(),t=tr.now(),s=({timestamp:e})=>{let i=e-t;i>=250&&(eN(s),n(i-250))},eM.setup(s,!0),i=()=>eN(s),nx.hasAnimatedSinceResize&&(nx.hasAnimatedSinceResize=!1,this.nodes.forEach(n7))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||so,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=n.getProps(),l=!this.targetLayout||!nW(this.targetLayout,r),c=!t&&i;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...iT(s,"layout"),onPlay:a,onComplete:o};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else t||n7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eN(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(si),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=i.props[iy];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",eM,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||r$(this.snapshot.measuredBox.x)||r$(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=K());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nD(this.prevProjectionDelta.x,this.projectionDelta.x),nD(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rU(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&nG(this.projectionDelta.x,this.prevProjectionDelta.x)&&nG(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=X(),this.projectionDelta=X(),this.projectionDeltaWithTransform=X()}setAnimationOrigin(e,t=!1,i){let r,n=this.snapshot,s=n?n.latestValues:{},a={...this.latestValues},o=X();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=K(),c=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),u=!d||d.members.length<=1,h=!!(c&&!u&&!0===this.options.crossfade&&!this.path.some(sa));this.animationProgress=0;let p=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,n=p?.(i);if(n?(o.x.translate=n.x,o.x.scale=tB(e.x.scale,1,i),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=n.y,o.y.scale=tB(e.y.scale,1,i),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(sn(o.x,e.x,i),sn(o.y,e.y,i)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,m,f,g,x,v;rX(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,x=l,v=i,ss(f.x,g.x,x.x,v),ss(f.y,g.y,x.y,v),r&&(d=this.relativeTarget,m=r,n_(d.x,m.x)&&n_(d.y,m.y))&&(this.isProjectionDirty=!1),r||(r=K()),nE(r,this.relativeTarget)}c&&(this.animationValues=a,function(e,t,i,r,n,s){n?(e.opacity=tB(0,i.opacity??1,nT(r)),e.opacityExit=tB(t.opacity??1,0,nM(r))):s&&(e.opacity=tB(t.opacity??1,i.opacity??1,r));for(let n=0;n{var t,i,r;let n;nx.hasAnimatedSinceResize=!0,e2.layout++,this.motionValue||(this.motionValue=to(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],r={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e2.layout--},onComplete:()=>{e2.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=Y(t)?t:to(t)).start(rT("",n,i,r)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&su(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||K();let t=r$(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=r$(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}nE(t,i),t2(t,n),rU(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nH),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&nZ("z",e,r,this.animationValues);for(let t=0;te.currentAnimation?.stop()),this.root.nodes.forEach(n4),this.root.sharedNodes.clear()}}}function nQ(e){e.updateLayout()}function n0(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)rB(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=r$(r);r.min=i[e].min,r.max=r.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";nA(s?t.measuredBox[e]:t.layoutBox[e],i[e])}else su(n,t.layoutBox,i)&&rB(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],a=r$(i[r]);n.max=n.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=X();rU(a,i,t.layoutBox);let o=X();s?rU(o,e.applyTransform(r,!0),t.measuredBox):rU(o,i,t.layoutBox);let l=!nO(a),c=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let a=e.options.layoutAnchor||void 0,o=K();rX(o,t.layoutBox,n.layoutBox,a);let l=K();rX(l,i,s.layoutBox,a),nW(o,l)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function n1(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function n2(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function n5(e){e.clearSnapshot()}function n4(e){e.clearMeasurements()}function n3(e){e.isLayoutDirty=!0,e.updateLayout()}function n8(e){e.isLayoutDirty=!1}function n6(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function n9(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n7(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function se(e){e.resolveTargetDelta()}function st(e){e.calcProjection()}function si(e){e.resetSkewAndRotation()}function sr(e){e.removeLeadSnapshot()}function sn(e,t,i){e.translate=tB(t.translate,0,i),e.scale=tB(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function ss(e,t,i,r){e.min=tB(t.min,i.min,r),e.max=tB(t.max,i.max,r)}function sa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let so={duration:.45,ease:[.4,0,.1,1]},sl=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sc=sl("applewebkit/")&&!sl("chrome/")?Math.round:ez;function sd(e){e.min=sc(e.min),e.max=sc(e.max)}function su(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nU(t)-nU(i)))}function sh(e){return e!==e.root&&e.scroll?.wasRoot}let sp=nJ({attachResizeListener:(e,t)=>rO(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sm={current:void 0},sf=nJ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sm.current){let e=new sp({});e.mount(window),e.setOptions({layoutScroll:!0}),sm.current=e}return sm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function sg(e,t){let i=rY(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function sx(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&eM.postRender(()=>n(t,r9(t)))}function sv(e){return rq(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}let sb=(e,t)=>!!t&&(e===t||sb(e,t.parentElement)),sy=new WeakSet;function sk(e){return t=>{"Enter"===t.key&&e(t)}}function sw(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function sj(e){return r6(e)&&!(r_.x||r_.y)}let sS=new WeakSet;function sz(e,t,i){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&eM.postRender(()=>n(t,r9(t)))}let sC=new WeakMap,sP=new WeakMap,sT=e=>{let t=sC.get(e.target);t&&t(e)},sM=e=>{e.forEach(sT)},sN={some:0,all:1},sA=function(e,t){if("u"iS(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,iS(s,void 0,e,t)),i.get(s))})}({animation:{Feature:class extends iz{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>rA(e,t,i)));else if("string"==typeof t)r=rA(e,t,i);else{let n="function"==typeof t?iC(e,t,i.custom):t;r=Promise.all(rM(e,n,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=rI(),r=!0,n=!1,s=t=>(i,r)=>{let n=iC(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...r}=n;i={...i,...r,...t}}return i};function a(a){let{props:o}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;eh&&v,j=!1,S=Array.isArray(x)?x:[x],z=S.reduce(s(f),{});!1===b&&(z={});let{prevResolvedValues:C={}}=g,P={...C,...z},T=t=>{w=!0,d.has(t)&&(j=!0,d.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in P){let t=z[e],i=C[e];if(!u.hasOwnProperty(e))(iM(t)&&iM(i)?!rD(t,i)||k:t!==i)?null!=t?T(e):d.add(e):void 0!==t&&d.has(e)?T(e):g.protectedKeys[e]=!0}g.prevProp=x,g.prevResolvedValues=z,g.isActive&&(u={...u,...z}),(r||n)&&e.blockInitialAnimation&&(w=!1);let M=y&&k,N=!M||j;w&&N&&c.push(...S.map(t=>{let i={type:f};if("string"==typeof t&&(r||n)&&!M&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,n=iC(r,t);if(r.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=rN(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(d.size){let t={};if("boolean"!=typeof o.initial){let i=iC(e,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(t.transition=i.transition)}d.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=r??null}),c.push({animation:t})}let f=!!c.length;return r&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,n=!1,f?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){if(i[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),i[t].isActive=r;let n=a(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=rI(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();td(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iz{constructor(){super(...arguments),this.id=rF++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=iC(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...r}=i;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iz{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:a}=i,o={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:sN[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=t?i:r;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;sP.has(i)||sP.set(i,{});let r=sP.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(sM,{root:e,...t})),r[n]}(o),sC.set(e,l),t.observe(e),()=>{sC.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iz{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[r,n,s]=sg(e,i),a=e=>{let r=e.currentTarget;if(!sj(e)||sS.has(e))return;sy.add(r),i.stopPropagation&&sS.add(e);let s=t(r,e),a=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),sy.has(r)&&sy.delete(r),sj(e)&&"function"==typeof s&&s(e,{success:t})},o=e=>{a(e,r===window||r===document||i.useGlobalTarget||sb(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return r.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",a,n),sv(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=sk(()=>{if(sy.has(i))return;sw(i,"down");let e=sk(()=>{sw(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>sw(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),r3.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sz(this.node,t,"Start"),(e,{success:t})=>sz(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iz{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iA(rO(this.node.current,"focus",()=>this.onFocus()),rO(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iz{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=sg(e,i);return r.forEach(e=>{let i,r=!1,s=!1,a=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},o=e=>{r=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),s&&(s=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(r){s=!0;return}a(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||r_.x||r_.y)return;s=!1;let a=t(e,r);"function"==typeof a&&(i=a,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",o,n)},n)}),s}(e,(e,t)=>(sx(this.node,t,"Start"),e=>sx(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iz{constructor(){super(...arguments),this.removePointerDownListener=ez}onPointerDown(e){this.session=new nr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ne(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:ng(e),onStart:ng(t),onMove:ng(i),onEnd:(e,t)=>{delete this.session,r&&eM.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=r7(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iz{constructor(e){super(e),this.removeGroupControls=ez,this.removeListeners=ez,this.controls=new np(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ez}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sf,MeasureLayout:nw},layout:{ProjectionNode:sf,MeasureLayout:nw}},(e,t)=>t.isSVG??t8(e)?new tU(t):new t4(t,{allowProjection:e!==a.Fragment}));var sE=a;function sD(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class sV extends sE.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(sv(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=sv(e)&&e.offsetWidth||0,r=sv(e)&&e.offsetHeight||0,n=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=i-s.width-s.left,s.bottom=r-s.height-s.top,s.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function sL({children:e,isPresent:t,anchorX:i,anchorY:r,root:n,pop:o}){let l=(0,sE.useId)(),c=(0,sE.useRef)(null),d=(0,sE.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,sE.useContext)(t7),h=function(...e){return a.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=sD(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t{let{width:e,height:s,top:a,left:h,right:p,bottom:m,direction:f}=d.current;if(t||!1===o||!c.current||!e||!s)return;let g="rtl"===f,x="left"===i?g?`right: ${p}`:`left: ${h}`:g?`left: ${h}`:`right: ${p}`,v="bottom"===r?`bottom: ${m}`:`top: ${a}`;c.current.dataset.motionPopId=l;let b=document.createElement("style");u&&(b.nonce=u);let y=n??document.head;return y.appendChild(b),b.sheet&&b.sheet.insertRule(` - [data-motion-pop-id="${l}"] { - position: absolute !important; - width: ${e}px !important; - height: ${s}px !important; - ${x}px !important; - ${v}px !important; - } - `),()=>{c.current?.removeAttribute("data-motion-pop-id"),y.contains(b)&&y.removeChild(b)}},[t]),(0,s.jsx)(sV,{isPresent:t,childRef:c,sizeRef:d,pop:o,children:!1===o?e:sE.cloneElement(e,{ref:h})})}let sR=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:n,presenceAffectsLayout:o,mode:l,anchorX:c,anchorY:d,root:u})=>{let h=iu(sI),p=(0,a.useId)(),m=!0,f=(0,a.useMemo)(()=>(m=!1,{id:p,initial:t,isPresent:i,custom:n,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;r&&r()},register:e=>(h.set(e,!1),()=>h.delete(e))}),[i,h,r]);return o&&m&&(f={...f}),(0,a.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[i]),a.useEffect(()=>{i||h.size||!r||r()},[i]),e=(0,s.jsx)(sL,{pop:"popLayout"===l,isPresent:i,anchorX:c,anchorY:d,root:u,children:e}),(0,s.jsx)(id.Provider,{value:f,children:e})};function sI(){return new Map}let sF=e=>e.key||"";function sB(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}let sO=({children:e,custom:t,initial:i=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:o="sync",propagate:l=!1,anchorX:c="left",anchorY:d="top",root:u})=>{let[h,p]=nb(l),m=(0,a.useMemo)(()=>sB(e),[e]),f=l&&!h?[]:m.map(sF),g=(0,a.useRef)(!0),x=(0,a.useRef)(m),v=iu(()=>new Map),b=(0,a.useRef)(new Set),[y,k]=(0,a.useState)(m),[w,j]=(0,a.useState)(m);ij(()=>{g.current=!1,x.current=m;for(let e=0;e{let a=sF(e),y=(!l||!!h)&&(m===w||f.includes(a));return(0,s.jsx)(sR,{isPresent:y,initial:(!g.current||!!i)&&void 0,custom:t,presenceAffectsLayout:n,mode:o,root:u,onExitComplete:y?void 0:()=>{if(b.current.has(a)||!v.has(a))return;b.current.add(a),v.set(a,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(z?.(),j(x.current),l&&p?.(),r&&r())},anchorX:c,anchorY:d,children:e},a)})})},s_=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),s$=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var sW={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let sU=(0,a.createContext)({}),sG=(0,a.forwardRef)(({color:e,size:t,strokeWidth:i,absoluteStrokeWidth:r,className:n="",children:s,iconNode:o,...l},c)=>{let{size:d=24,strokeWidth:u=2,absoluteStrokeWidth:h=!1,color:p="currentColor",className:m=""}=(0,a.useContext)(sU)??{},f=r??h?24*Number(i??u)/Number(t??d):i??u;return(0,a.createElement)("svg",{ref:c,...sW,width:t??d??sW.width,height:t??d??sW.height,stroke:e??p,strokeWidth:f,className:s_("lucide",m,n),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(l)&&{"aria-hidden":"true"},...l},[...o.map(([e,t])=>(0,a.createElement)(e,t)),...Array.isArray(s)?s:[s]])}),sH=(e,t)=>{let i=(0,a.forwardRef)(({className:i,...r},n)=>(0,a.createElement)(sG,{ref:n,iconNode:t,className:s_(`lucide-${s$(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...r}));return i.displayName=s$(e),i},sX=sH("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),sq=sH("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]),sK=sH("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]),sY=sH("wifi-off",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),sZ=sH("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]),sJ=sH("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),sQ=sH("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]),s0=sH("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),s1=sH("monitor-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]),s2=sH("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]),s5=sH("keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]),s4=sH("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]),s3=sH("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),s8=sH("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),s6=sH("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),s9=sH("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]),s7=sH("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),ae=sH("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]),at=[{code:"en",label:"English",flag:"🇺🇸"},{code:"id",label:"Bahasa Indonesia",flag:"🇮🇩"},{code:"ja",label:"日本語",flag:"🇯🇵"},{code:"zh",label:"简体中文",flag:"🇨🇳"},{code:"es",label:"Español",flag:"🇪🇸"}],ai={en:{appTitle:"🎙️ ONNX VC",appSubtitle:"Low-latency real-time AI voice conversion powered by ONNX Runtime acceleration.",wsServerUrl:"WebSocket Server URL",wsPlaceholder:"ws://localhost:8765",connectionStatus:"Connection Status",disconnected:"Disconnected",connecting:"Connecting",connected:"Connected",connect:"Connect Server",disconnect:"Disconnect Server",startChanger:"Start Voice Changer",stopChanger:"Stop Voice Changer",listeningActive:"Listening: ACTIVE",listeningMute:"Listening: MUTED",tabDashboard:"Workspace",tabModel:"Model Settings",tabDsp:"Audio DSP",tabShortcuts:"Shortcuts",modelConfigTitle:"Model & Device Configuration",quickPresets:"Quick Presets (Performance Profile)",latencyPreset:"⚡ Instant Response (PM)",qualityPreset:"🎙️ High Fidelity (RMVPE)",selectModel:"Select Character Model (RVC ONNX)",executionProvider:"Execution Provider (GPU Acceleration)",routingMode:"Audio Routing Mode",clientMode:"Client Mode (Browser Streaming)",serverMode:"Server Mode (Direct Sounddevice)",serverInput:"Server Input Microphone",serverOutput:"Server Output Speaker",pitchMethod:"Pitch Extraction Method",transpose:"Transpose (Pitch Modifier)",transposeMale:"-24 (Male Pitch)",transposeNormal:"0 (Original)",transposeFemale:"+24 (Female/Anime Pitch)",dspTitle:"Audio Processing Settings (DSP)",noiseGate:"Noise Gate (Threshold)",noiseGateSens:"-60 dB (Sensitive)",noiseGateDefault:"-40 dB (Default)",noiseGateStrict:"-10 dB (Strict)",inputGain:"Input Gain (Microphone)",outputGain:"Output Gain (AI Volume)",noiseCancel:"Noise Cancellation (Filter)",noiseCancelDesc:"Filters browser echo & background hum",bufferSize:"Buffer Size (Chunk Size - Latency vs Stability)",visualizerTitle:"Real-Time Audio Visualizer",micSignal:"Microphone Input Signal",aiSignal:"AI Voice Output Signal",activeSignal:"Active Signal",pipStream:"PiP Waveform",pipClose:"Close PiP",hudLatency:"RTT Latency",hudInference:"Inference Speed",hudDetector:"Voice Detector",hudTalking:"Speaking",hudSilent:"Silent",hudSr:"Model Frequency",hudHelp:"Press ? to view hotkeys menu",shortcutsTitle:"Keyboard Shortcuts Guide",shortcutsDesc:"Use these keyboard shortcuts to navigate the dashboard without a mouse:",shortcutsClose:"Close",shortcutConnect:"Connect / Disconnect WebSocket Server",shortcutStream:"Start / Stop AI Voice Changer",shortcutMute:"Mute / Unmute Output Audio Local Listening",shortcutPreset1:"Apply Preset: Instant Response (PM)",shortcutPreset2:"Apply Preset: High Fidelity (RMVPE)",shortcutHelp:"Open / Close Shortcuts Help Dialog",characterCardTitle:"Active Voice Character",characterAvatarDesc:"Currently loaded voice weight profile.",welcomeBack:"Real-Time Audio Control Center",currentLang:"Language",themeSettings:"Interface Theme & Accent",themeMode:"Theme Mode",themeDark:"Dark Mode",themeLight:"Light Mode",accentColorLabel:"Global Accent Color",tabCredits:"Credits",creditsTitle:"💖 Open Source Credits",creditsDescription:"ONNX VC is made possible thanks to the following incredible open-source projects and libraries:",liveTuningTitle:"Live Settings Tuning",customCanvasTitle:"Custom Canvas Visualizer",showMicInput:"Show Mic Input",showAiOutput:"Show AI Output",lineWidthLabel:"Line Width",traceDecayLabel:"Trace Decay (Fading)",inputLineColorLabel:"Input Line Color",outputLineColorLabel:"Output Line Color",creditCreatorTitle:"Creator & Integrator",creditNeuralTitle:"Neural Conversion",creditEngineTitle:"Inference Engine",creditPitchTitle:"Pitch Extraction",creditPipelineTitle:"Streaming Pipeline",creditFrameworkTitle:"Frontend Framework",creditDesignTitle:"Design & Animation",creditCreatorDesc:"Creators of the ONNX VC client interface and low-latency audio control workspace integration layer.",creditNeuralDesc:"The core neural network architecture for real-time voice feature retrieval and vocal conversion.",creditEngineDesc:"Cross-platform accelerator for machine learning models running on CPU, NVIDIA CUDA, and DirectML GPU backends.",creditPitchDesc:"Robust Minimum Vocal Pitch Estimation model providing highly accurate vocals pitch tracking under ambient noise.",creditPipelineDesc:"High-speed binary data transfer loops passing raw PCM float32 frames between the client browser and backend.",creditFrameworkDesc:"Modern web framework compiling React client-side components to statically optimized static exports.",creditDesignDesc:"Utility-first styling utility and fluid declarative animation libraries for interactive visual user interfaces."},id:{appTitle:"🎙️ ONNX VC",appSubtitle:"Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan akselerasi ONNX Runtime.",wsServerUrl:"URL Server WebSocket",wsPlaceholder:"ws://localhost:8765",connectionStatus:"Status Koneksi",disconnected:"Terputus",connecting:"Menghubungkan",connected:"Terhubung",connect:"Hubungkan Server",disconnect:"Putuskan Server",startChanger:"Mulai Mengubah Suara",stopChanger:"Hentikan Mengubah",listeningActive:"Mendengarkan: AKTIF",listeningMute:"Mendengarkan: SENYAP",tabDashboard:"Ruang Kerja",tabModel:"Setelan Model",tabDsp:"Audio DSP",tabShortcuts:"Shortcut",modelConfigTitle:"Konfigurasi Model & Perangkat",quickPresets:"Quick Presets (Profil Performa)",latencyPreset:"⚡ Respon Kilat (PM)",qualityPreset:"🎙️ Kualitas Tinggi (RMVPE)",selectModel:"Pilih Model Suara (RVC ONNX)",executionProvider:"Execution Provider (Akselerasi GPU)",routingMode:"Mode Routing Audio",clientMode:"Client Mode (Streaming Browser)",serverMode:"Server Mode (Direct Sounddevice)",serverInput:"Input Mikrofon Server",serverOutput:"Output Speaker Server",pitchMethod:"Metode Deteksi Nada (Pitch Extraction)",transpose:"Transpose (Pengubah Nada)",transposeMale:"-24 (Pria Berat)",transposeNormal:"0 (Asli)",transposeFemale:"+24 (Wanita/Anime)",dspTitle:"Pemrosesan Audio (DSP)",noiseGate:"Noise Gate (Threshold)",noiseGateSens:"-60 dB (Sensitif)",noiseGateDefault:"-40 dB (Default)",noiseGateStrict:"-10 dB (Ketat)",inputGain:"Input Gain (Microphone)",outputGain:"Output Gain (Volume AI)",noiseCancel:"Peredam Bising (Noise Cancel)",noiseCancelDesc:"Filter gema & desah di browser",bufferSize:"Ukuran Buffer (Chunk Size - Latensi vs Stabilitas)",visualizerTitle:"Visualisasi Waveform Live",micSignal:"Sinyal Mikrofon (Input)",aiSignal:"Hasil AI Voice (Output)",activeSignal:"Signal Aktif",pipStream:"PiP Waveform",pipClose:"Batal PiP",hudLatency:"Latensi Bulat (RTT)",hudInference:"Kecepatan Inference",hudDetector:"Detektor Suara",hudTalking:"Bicara",hudSilent:"Berdiam",hudSr:"Frekuensi Model",hudHelp:"Tekan ? untuk melihat menu hotkey",shortcutsTitle:"Panduan Keyboard Shortcut",shortcutsDesc:"Gunakan keyboard shortcuts berikut untuk navigasi dashboard tanpa mouse:",shortcutsClose:"Tutup",shortcutConnect:"Hubungkan / Putuskan Server WebSocket",shortcutStream:"Mulai / Hentikan Pengubah Suara AI",shortcutMute:"Bungkam / Dengarkan Audio Output Lokal",shortcutPreset1:"Terapkan Profil: Respon Kilat (PM)",shortcutPreset2:"Terapkan Profil: Kualitas Tinggi (RMVPE)",shortcutHelp:"Buka / Tutup Dialog Panduan Shortcut",characterCardTitle:"Karakter Suara Aktif",characterAvatarDesc:"Profil bobot suara yang sedang dimuat saat ini.",welcomeBack:"Pusat Kontrol Audio Real-Time",currentLang:"Bahasa",themeSettings:"Tema Antarmuka & Aksen",themeMode:"Mode Tema",themeDark:"Mode Gelap",themeLight:"Mode Terang",accentColorLabel:"Warna Aksen Global",tabCredits:"Kredit Open Source",creditsTitle:"💖 Kredit Lisensi & Open Source",creditsDescription:"ONNX VC dimungkinkan berkat proyek dan pustaka open source luar biasa berikut:",liveTuningTitle:"Setelan Cepat Pemrosesan",customCanvasTitle:"Kustomisasi Canvas Visualizer",showMicInput:"Tampilkan Input Mic",showAiOutput:"Tampilkan Output AI",lineWidthLabel:"Ketebalan Garis",traceDecayLabel:"Intensitas Ekor (Trail Fading)",inputLineColorLabel:"Warna Garis Input",outputLineColorLabel:"Warna Garis Output",creditCreatorTitle:"Pencipta & Integrator",creditNeuralTitle:"Konversi Neural",creditEngineTitle:"Mesin Inferensi",creditPitchTitle:"Ekstraksi Nada Vokal",creditPipelineTitle:"Streaming Pipeline",creditFrameworkTitle:"Framework Frontend",creditDesignTitle:"Desain & Animasi",creditCreatorDesc:"Pengembang antarmuka audio ONNX VC dan pengintegrasi workspace kontrol audio real-time berlatensi ultra-rendah.",creditNeuralDesc:"Kerangka kerja pengubah suara berbasis AI yang menggunakan fitur retrieval untuk transfer karakter suara berlatensi rendah.",creditEngineDesc:"Mesin akselerasi inferensi model lintas platform untuk CPU, CUDA GPU, dan Windows DirectML GPU.",creditPitchDesc:"Model deteksi pitch vokal berkinerja tinggi yang presisi terhadap desau latar belakang.",creditPipelineDesc:"Pipa transfer data audio biner mentah PCM float32 yang berjalan lancar antara peramban dan server python.",creditFrameworkDesc:"Kerangka kerja aplikasi web terstruktur yang dikompilasi ke statik HTML ekspor.",creditDesignDesc:"Mesin animasi layout deklaratif dan utilitas CSS presisi untuk tampilan premium."},ja:{appTitle:"🎙️ ONNX VC",appSubtitle:"ONNX Runtime高速化による低遅延リアルタイムAI音声変換システム。",wsServerUrl:"WebSocketサーバーURL",wsPlaceholder:"ws://localhost:8765",connectionStatus:"接続状態",disconnected:"切断",connecting:"接続中...",connected:"接続完了",connect:"サーバー接続",disconnect:"接続解除",startChanger:"音声変換開始",stopChanger:"音声変換停止",listeningActive:"モニター音:ON",listeningMute:"モニター音:OFF",tabDashboard:"ワークスペース",tabModel:"モデル設定",tabDsp:"オーディオDSP",tabShortcuts:"ショートカット",modelConfigTitle:"モデルとデバイスの構成",quickPresets:"クイックプリセット (パフォーマンス)",latencyPreset:"⚡ 低遅延優先 (PM)",qualityPreset:"🎙️ 高音質優先 (RMVPE)",selectModel:"キャラクターモデルの選択 (RVC ONNX)",executionProvider:"実行プロバイダー (GPUアクセラレーション)",routingMode:"音声ルーティングモード",clientMode:"クライアントモード (ブラウザ再生)",serverMode:"サーバーモード (ハードウェア直結)",serverInput:"サーバー入力マイク",serverOutput:"サーバー出力スピーカー",pitchMethod:"ピッチ検出アルゴリズム",transpose:"ピッチ変換 (トランスポーズ)",transposeMale:"-24 (男声向け)",transposeNormal:"0 (原音)",transposeFemale:"+24 (女声/アニメ声)",dspTitle:"オーディオ処理設定 (DSP)",noiseGate:"ノイズゲート (閾値)",noiseGateSens:"-60 dB (高感度)",noiseGateDefault:"-40 dB (推奨)",noiseGateStrict:"-10 dB (厳格)",inputGain:"入力ゲイン (マイク)",outputGain:"出力ゲイン (AI音量)",noiseCancel:"ノイズキャンセリング",noiseCancelDesc:"ブラウザのエコーと環境音を除去します",bufferSize:"バッファサイズ (遅延時間 vs 安定性)",visualizerTitle:"リアルタイム波形表示",micSignal:"マイク入力信号",aiSignal:"AI音声出力信号",activeSignal:"音声検出中",pipStream:"PiP波形ウィンドウ",pipClose:"PiPを閉じる",hudLatency:"応答速度 (RTT)",hudInference:"推論速度",hudDetector:"音声検出",hudTalking:"発話中",hudSilent:"無音",hudSr:"モデルサンプリングレート",hudHelp:"?キーでショートカットヘルプを表示",shortcutsTitle:"キーボードショートカット一覧",shortcutsDesc:"キーボードを使ってマウスなしで素早く操作できます:",shortcutsClose:"閉じる",shortcutConnect:"WebSocketサーバーの接続 / 切断",shortcutStream:"AI音声変換の開始 / 停止",shortcutMute:"ローカル出力のミュート / 解除",shortcutPreset1:"プリセット適用:低遅延優先 (PM)",shortcutPreset2:"プリセット適用:高音質優先 (RMVPE)",shortcutHelp:"ショートカット一覧の表示 / 非表示",characterCardTitle:"現在のボイスモデル",characterAvatarDesc:"現在ロードされている音声のキャラクタープロファイルです。",welcomeBack:"リアルタイムオーディオコントロールセンター",currentLang:"言語",themeSettings:"テーマとアクセント",themeMode:"テーマモード",themeDark:"ダークモード",themeLight:"ライトモード",accentColorLabel:"グローバルアクセントカラー",tabCredits:"オープンソース",creditsTitle:"💖 オープンソースクレジット",creditsDescription:"ONNX VCは、以下の素晴らしいオープンソースプロジェクトとライブラリのおかげで実現しました。",liveTuningTitle:"常用パラメータ微調整",customCanvasTitle:"カスタムビジュアライザ",showMicInput:"マイク入力を表示",showAiOutput:"AI出力を表示",lineWidthLabel:"線の太さ",traceDecayLabel:"残像フェード率",inputLineColorLabel:"入力線の色",outputLineColorLabel:"出力線の色",creditCreatorTitle:"開発・統合元",creditNeuralTitle:"ニューラル音声変換",creditEngineTitle:"推推論エンジン",creditPitchTitle:"ピッチ検出",creditPipelineTitle:"ストリーミング・パイプライン",creditFrameworkTitle:"フロントエンドフレームワーク",creditDesignTitle:"デザインとアニメーション",creditCreatorDesc:"ONNX VCクライアントインターフェースおよび超低遅延リアルタイムオーディオ制御ワークスペースの統合開発チーム。",creditNeuralDesc:"リアルタイムの音声特徴抽出および声質変換のためのコアニューラルネットワークアーキテクチャ。",creditEngineDesc:"CPU、NVIDIA CUDA、およびWindows DirectML GPUバックエンド上で動作する、クロスプラットフォームの推論高速化エンジン。",creditPitchDesc:"周囲のノイズ下でも高精度にボーカルのピッチ追跡を行うことができる高性能ピッチ推定モデル。",creditPipelineDesc:"ブラウザクライアントとPythonサーバー間で生のPCM float32フレームを高速に送受信するバイナリデータパイプライン。",creditFrameworkDesc:"Reactクライアントコンポーネントを静的に最適化されたHTMLにエクスポートするモダンウェブフレームワーク。",creditDesignDesc:"インタラクティブで高品質なUIデザインのための、ユーティリティ優先CSSおよび宣言的アニメーションライブラリ。"},zh:{appTitle:"🎙️ ONNX VC",appSubtitle:"基于 ONNX 运行时加速的低延迟实时 AI 变声器系统。",wsServerUrl:"WebSocket 服务器地址",wsPlaceholder:"ws://localhost:8765",connectionStatus:"连接状态",disconnected:"已断开",connecting:"连接中...",connected:"已连接",connect:"连接服务器",disconnect:"断开连接",startChanger:"开启变声",stopChanger:"停止变声",listeningActive:"声音监听:开启",listeningMute:"声音监听:静音",tabDashboard:"控制工作台",tabModel:"模型设置",tabDsp:"音频 DSP",tabShortcuts:"快捷键",modelConfigTitle:"变声模型与硬件设备配置",quickPresets:"快速预设 (性能配置)",latencyPreset:"⚡ 极速响应 (PM)",qualityPreset:"🎙️ 高清音质 (RMVPE)",selectModel:"选择声音模型 (RVC ONNX)",executionProvider:"运行加速提供商 (GPU 加速)",routingMode:"音频路由模式",clientMode:"客户端模式 (浏览器音频流转换)",serverMode:"服务器模式 (直连服务端硬件)",serverInput:"服务器输入麦克风",serverOutput:"服务器输出扬声器",pitchMethod:"基频检测算法 (Pitch)",transpose:"变调参数 (Transpose)",transposeMale:"-24 (男声声调)",transposeNormal:"0 (原音)",transposeFemale:"+24 (女声/动漫声调)",dspTitle:"音频效果器配置 (DSP)",noiseGate:"噪声门限阈值 (Noise Gate)",noiseGateSens:"-60 dB (灵敏)",noiseGateDefault:"-40 dB (默认)",noiseGateStrict:"-10 dB (严格)",inputGain:"输入增益 (麦克风音量)",outputGain:"输出增益 (变声后音量)",noiseCancel:"回声抑噪过滤",noiseCancelDesc:"过滤浏览器的回声和杂音",bufferSize:"缓冲区大小 (延迟时间 vs 稳定性)",visualizerTitle:"实时音频波形图",micSignal:"麦克风输入波形",aiSignal:"AI变声输出波形",activeSignal:"正在输入",pipStream:"画中画波形图",pipClose:"关闭画中画",hudLatency:"双向延迟 (RTT)",hudInference:"推理用时",hudDetector:"声控指示器",hudTalking:"检测到讲话",hudSilent:"静音中",hudSr:"模型音频采样率",hudHelp:"按 ? 键打开快捷键指南",shortcutsTitle:"键盘快捷键指南",shortcutsDesc:"使用键盘快捷键可以在没有鼠标的情况下极速控制工作台:",shortcutsClose:"关闭",shortcutConnect:"连接 / 断开 WebSocket 服务器",shortcutStream:"开启 / 停止 AI 变声器",shortcutMute:"静音 / 开启本地输出监听",shortcutPreset1:"加载预设:极速响应 (PM)",shortcutPreset2:"加载预设:高清音质 (RMVPE)",shortcutHelp:"打开 / 关闭快捷键帮助面板",characterCardTitle:"当前声音人物",characterAvatarDesc:"当前正在承载的音频权重包与神经网络特征。",welcomeBack:"实时音频变声控制台",currentLang:"语言",themeSettings:"界面主题与强调色",themeMode:"主题模式",themeDark:"深色模式",themeLight:"浅色模式",accentColorLabel:"全局强调颜色",tabCredits:"开源鸣谢",creditsTitle:"💖 开源软件鸣谢",creditsDescription:"ONNX VC 的诞生离不开以下优秀的开源项目与函数库的支持:",liveTuningTitle:"常用变声微调",customCanvasTitle:"画布自定设置",showMicInput:"显示麦克风输入",showAiOutput:"显示AI变声输出",lineWidthLabel:"线条宽度",traceDecayLabel:"余晖消退率 (渐变)",inputLineColorLabel:"输入线颜色",outputLineColorLabel:"输出线颜色",creditCreatorTitle:"核心集成开发商",creditNeuralTitle:"声线转换算法",creditEngineTitle:"深度学习推理引擎",creditPitchTitle:"基频音高提取",creditPipelineTitle:"数据流通通道",creditFrameworkTitle:"前端应用框架",creditDesignTitle:"界面设计与动效",creditCreatorDesc:"ONNX VC 客户端界面设计与超低延迟音频控制工作台的集成开发者。",creditNeuralDesc:"基于检索的神经网络架构,用于实现低延迟的实时声音特征提取与音色转换。",creditEngineDesc:"跨平台的机器学习模型推理加速引擎,支持 CPU、NVIDIA CUDA 以及 Windows DirectML GPU 后端。",creditPitchDesc:"高性能人声基频检测模型,在背景嘈杂的环境下仍能提供极高精度的音高跟踪。",creditPipelineDesc:"在浏览器客户端与 Python 服务端之间高速传输原始 PCM Float32 音频帧的双向二进制数据通道。",creditFrameworkDesc:"现代网页开发框架,支持将 React 客户端组件编译并打包为高度优化的静态资源导出。",creditDesignDesc:"功能类优先 CSS 框架与流式声明式动画库,用以打造流畅的高级交互式视觉界面。"},es:{appTitle:"🎙️ ONNX VC",appSubtitle:"Modulador de voz por IA en tiempo real y baja latencia acelerado por ONNX Runtime.",wsServerUrl:"URL del Servidor WebSocket",wsPlaceholder:"ws://localhost:8765",connectionStatus:"Estado de la Conexión",disconnected:"Desconectado",connecting:"Conectando...",connected:"Conectado",connect:"Conectar Servidor",disconnect:"Desconectar Servidor",startChanger:"Iniciar Modulador",stopChanger:"Detener Modulador",listeningActive:"Escucha: ACTIVA",listeningMute:"Escucha: SILENCIADO",tabDashboard:"Espacio Trabajo",tabModel:"Ajustes Modelo",tabDsp:"Audio DSP",tabShortcuts:"Atajos Teclado",modelConfigTitle:"Configuración de Modelo y Dispositivo",quickPresets:"Ajustes Rápidos (Perfil de Rendimiento)",latencyPreset:"⚡ Respuesta Instantánea (PM)",qualityPreset:"🎙️ Alta Fidelidad (RMVPE)",selectModel:"Seleccionar Modelo de Voz (RVC ONNX)",executionProvider:"Proveedor de Ejecución (Aceleración GPU)",routingMode:"Modo de Ruta de Audio",clientMode:"Modo Cliente (Streaming en Navegador)",serverMode:"Modo Servidor (Sounddevice Directo)",serverInput:"Micrófono de Entrada del Servidor",serverOutput:"Altavoz de Salida del Servidor",pitchMethod:"Método de Extracción de Tono",transpose:"Transposición (Modificador de Tono)",transposeMale:"-24 (Tono Grave Masculino)",transposeNormal:"0 (Original)",transposeFemale:"+24 (Tono Agudo/Anime)",dspTitle:"Configuración de Procesamiento de Audio (DSP)",noiseGate:"Puerta de Ruido (Umbral)",noiseGateSens:"-60 dB (Sensible)",noiseGateDefault:"-40 dB (Predeterminado)",noiseGateStrict:"-10 dB (Estricto)",inputGain:"Ganancia de Entrada (Micrófono)",outputGain:"Ganancia de Salida (Volumen IA)",noiseCancel:"Cancelación de Ruido (Filtro)",noiseCancelDesc:"Filtra el eco y el zumbido de fondo",bufferSize:"Tamaño de Búfer (Tamaño de Chunk - Latencia vs Estabilidad)",visualizerTitle:"Visualizador de Ondas de Audio",micSignal:"Señal de Entrada del Micrófono",aiSignal:"Señal de Salida de Voz IA",activeSignal:"Señal Activa",pipStream:"Forma de Onda PiP",pipClose:"Cerrar PiP",hudLatency:"Latencia RTT",hudInference:"Velocidad de Inferencia",hudDetector:"Detector de Voz",hudTalking:"Hablando",hudSilent:"Silencio",hudSr:"Frecuencia del Modelo",hudHelp:"Presione ? para ver el menú de atajos",shortcutsTitle:"Guía de Atajos de Teclado",shortcutsDesc:"Utilice los siguientes atajos para controlar el panel de control sin el mouse:",shortcutsClose:"Cerrar",shortcutConnect:"Conectar / Desconectar Servidor WebSocket",shortcutStream:"Iniciar / Detener Modulador de Voz IA",shortcutMute:"Silenciar / Activar Escucha Local de Salida",shortcutPreset1:"Cargar Ajuste: Respuesta Instantánea (PM)",shortcutPreset2:"Cargar Ajuste: Alta Fidelidad (RMVPE)",shortcutHelp:"Abrir / Cerrar Diálogo de Ayuda de Atajos",characterCardTitle:"Voz del Personaje Activo",characterAvatarDesc:"Perfil de pesos de voz cargado actualmente.",welcomeBack:"Centro de Control de Audio en Tiempo Real",currentLang:"Idioma",themeSettings:"Tema de Interfaz y Acento",themeMode:"Modo de Tema",themeDark:"Modo Oscuro",themeLight:"Modo Claro",accentColorLabel:"Color de Acento Global",tabCredits:"Créditos",creditsTitle:"💖 Créditos de Código Abierto",creditsDescription:"ONNX VC es posible gracias a los siguientes increíbles proyectos y bibliotecas de código abierto:",liveTuningTitle:"Ajustes en Vivo",customCanvasTitle:"Ajustes de Canvas",showMicInput:"Mostrar Entrada Mic",showAiOutput:"Mostrar Salida IA",lineWidthLabel:"Grosor de Línea",traceDecayLabel:"Decaimiento del Trazo",inputLineColorLabel:"Color de Línea de Entrada",outputLineColorLabel:"Color de Línea de Salida",creditCreatorTitle:"Creador e Integrador",creditNeuralTitle:"Conversión Neuronal",creditEngineTitle:"Motor de Inferencia",creditPitchTitle:"Extracción de Tono",creditPipelineTitle:"Línea de Transmisión",creditFrameworkTitle:"Marco Frontend",creditDesignTitle:"Diseño y Animación",creditCreatorDesc:"Creadores de la interfaz de cliente ONNX VC e integradores del entorno de control de audio en tiempo real.",creditNeuralDesc:"Arquitectura central de red neuronal para la extracción de características de voz y conversión vocal.",creditEngineDesc:"Acelerador multiplataforma de inferencia de modelos de IA para CPU, GPU CUDA y GPU DirectML de Windows.",creditPitchDesc:"Modelo robusto de estimación de tono mínimo para un seguimiento de tono vocal de alta precisión.",creditPipelineDesc:"Tubería binaria de alta velocidad para la transferencia de tramas PCM float32 nativas entre el cliente y el servidor.",creditFrameworkDesc:"Marco de desarrollo web moderno que compila componentes de React para exportaciones estáticas optimizadas.",creditDesignDesc:"Utilidad de estilos CSS y librerías de animación declarativa para interfaces de usuario interactivas de primera calidad."}},ar=(e=new Map,t=null,i)=>({nextPart:e,validators:t,classGroupId:i}),an=[],as=(e,t,i)=>{if(0==e.length-t)return i.classGroupId;let r=e[t],n=i.nextPart.get(r);if(n){let i=as(e,t+1,n);if(i)return i}let s=i.validators;if(null===s)return;let a=0===t?e.join("-"):e.slice(t).join("-"),o=s.length;for(let e=0;e{let i=ar();for(let r in e)ao(e[r],i,r,t);return i},ao=(e,t,i,r)=>{let n=e.length;for(let s=0;s{"string"==typeof e?ac(e,t,i):"function"==typeof e?ad(e,t,i,r):au(e,t,i,r)},ac=(e,t,i)=>{(""===e?t:ah(t,e)).classGroupId=i},ad=(e,t,i,r)=>{ap(e)?ao(e(r),t,i,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:i,validator:e}))},au=(e,t,i,r)=>{let n=Object.entries(e),s=n.length;for(let e=0;e{let i=e,r=t.split("-"),n=r.length;for(let e=0;e"isThemeGetter"in e&&!0===e.isThemeGetter,am=[],af=(e,t,i,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),ag=/\s+/,ax=e=>{let t;if("string"==typeof e)return e;let i="";for(let r=0;r{let t=t=>t[e]||av;return t.isThemeGetter=!0,t},ay=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ak=/^\((?:(\w[\w-]*):)?(.+)\)$/i,aw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,aj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,az=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,aC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,aT=e=>aw.test(e),aM=e=>!!e&&!Number.isNaN(Number(e)),aN=e=>!!e&&Number.isInteger(Number(e)),aA=e=>e.endsWith("%")&&aM(e.slice(0,-1)),aE=e=>aj.test(e),aD=()=>!0,aV=e=>aS.test(e)&&!az.test(e),aL=()=>!1,aR=e=>aC.test(e),aI=e=>aP.test(e),aF=e=>!a_(e)&&!aK(e),aB=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),aO=e=>a5(e,a6,aL),a_=e=>ay.test(e),a$=e=>a5(e,a9,aV),aW=e=>a5(e,a7,aM),aU=e=>a5(e,ot,aD),aG=e=>a5(e,oe,aL),aH=e=>a5(e,a3,aL),aX=e=>a5(e,a8,aI),aq=e=>a5(e,oi,aR),aK=e=>ak.test(e),aY=e=>a4(e,a9),aZ=e=>a4(e,oe),aJ=e=>a4(e,a3),aQ=e=>a4(e,a6),a0=e=>a4(e,a8),a1=e=>a4(e,oi,!0),a2=e=>a4(e,ot,!0),a5=(e,t,i)=>{let r=ay.exec(e);return!!r&&(r[1]?t(r[1]):i(r[2]))},a4=(e,t,i=!1)=>{let r=ak.exec(e);return!!r&&(r[1]?t(r[1]):i)},a3=e=>"position"===e||"percentage"===e,a8=e=>"image"===e||"url"===e,a6=e=>"length"===e||"size"===e||"bg-size"===e,a9=e=>"length"===e,a7=e=>"number"===e,oe=e=>"family-name"===e,ot=e=>"number"===e||"weight"===e,oi=e=>"shadow"===e,or=((e,...t)=>{let i,r,n,s,a=e=>{let t=r(e);if(t)return t;let s=((e,t)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s,postfixLookupClassGroupIds:a}=t,o=[],l=e.trim().split(ag),c="";for(let e=l.length-1;e>=0;e-=1){let t,d=l[e],{isExternal:u,modifiers:h,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=i(d);if(u){c=d+(c.length>0?" "+c:c);continue}let g=!!f;if(g){let e=(t=r(m.substring(0,f)))&&a[t]?r(m):void 0;e&&e!==t&&(t=e,g=!1)}else t=r(m);if(!t){if(!g||!(t=r(m))){c=d+(c.length>0?" "+c:c);continue}g=!1}let x=0===h.length?"":1===h.length?h[0]:s(h).join(":"),v=p?x+"!":x,b=v+t;if(o.indexOf(b)>-1)continue;o.push(b);let y=n(t,g);for(let e=0;e0?" "+c:c)}return c})(e,i);return n(e,s),s};return s=o=>{var l;let c;return r=(i={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++t>e&&(t=0,r=i,i=Object.create(null))};return{get(e){let t=i[e];return void 0!==t?t:void 0!==(t=r[e])?(n(e,t),t):void 0},set(e,t){e in i?i[e]=t:n(e,t)}}})((l=t.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:i}=e,r=e=>{let t,i=[],r=0,n=0,s=0,a=e.length;for(let o=0;os?t-s:void 0)};if(t){let e=t+":",i=r;r=t=>t.startsWith(e)?i(t.slice(e.length)):af(am,!1,t,void 0,!0)}if(i){let e=r;r=t=>i({className:t,parseClassName:e})}return r})(l),sortModifiers:(c=new Map,l.orderSensitiveModifiers.forEach((e,t)=>{c.set(e,1e6+t)}),e=>{let t=[],i=[];for(let r=0;r0&&(i.sort(),t.push(...i),i=[]),t.push(n)):i.push(n)}return i.length>0&&(i.sort(),t.push(...i)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),i=e.postfixLookupClassGroups;if(i)for(let e=0;e{let t=(e=>{let{theme:t,classGroups:i}=e;return aa(i,t)})(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var i;let t,r,n;return -1===(i=e).slice(1,-1).indexOf(":")?void 0:(r=(t=i.slice(1,-1)).indexOf(":"),(n=t.slice(0,r))?"arbitrary.."+n:void 0)}let r=e.split("-"),n=+(""===r[0]&&r.length>1);return as(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],n=i[e];if(t){if(n){let e=Array(n.length+t.length);for(let t=0;ts(((...e)=>{let t,i,r=0,n="";for(;r{let e=ab("color"),t=ab("font"),i=ab("text"),r=ab("font-weight"),n=ab("tracking"),s=ab("leading"),a=ab("breakpoint"),o=ab("container"),l=ab("spacing"),c=ab("radius"),d=ab("shadow"),u=ab("inset-shadow"),h=ab("text-shadow"),p=ab("drop-shadow"),m=ab("blur"),f=ab("perspective"),g=ab("aspect"),x=ab("ease"),v=ab("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...y(),aK,a_],w=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],S=()=>[aK,a_,l],z=()=>[aT,"full","auto",...S()],C=()=>[aN,"none","subgrid",aK,a_],P=()=>["auto",{span:["full",aN,aK,a_]},aN,aK,a_],T=()=>[aN,"auto",aK,a_],M=()=>["auto","min","max","fr",aK,a_],N=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],A=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...S()],D=()=>[aT,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],V=()=>[aT,"screen","full","dvw","lvw","svw","min","max","fit",...S()],L=()=>[aT,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],R=()=>[e,aK,a_],I=()=>[...y(),aJ,aH,{position:[aK,a_]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],B=()=>["auto","cover","contain",aQ,aO,{size:[aK,a_]}],O=()=>[aA,aY,a$],_=()=>["","none","full",c,aK,a_],$=()=>["",aM,aY,a$],W=()=>["solid","dashed","dotted","double"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[aM,aA,aJ,aH],H=()=>["","none",m,aK,a_],X=()=>["none",aM,aK,a_],q=()=>["none",aM,aK,a_],K=()=>[aM,aK,a_],Y=()=>[aT,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[aE],breakpoint:[aE],color:[aD],container:[aE],"drop-shadow":[aE],ease:["in","out","in-out"],font:[aF],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[aE],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[aE],shadow:[aE],spacing:["px",aM],text:[aE],"text-shadow":[aE],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",aT,a_,aK,g]}],container:["container"],"container-type":[{"@container":["","normal","size",aK,a_]}],"container-named":[aB],columns:[{columns:[aM,a_,aK,o]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{"inset-s":z(),start:z()}],end:[{"inset-e":z(),end:z()}],"inset-bs":[{"inset-bs":z()}],"inset-be":[{"inset-be":z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[aN,"auto",aK,a_]}],basis:[{basis:[aT,"full","auto",o,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[aM,aT,"auto","initial","none",a_]}],grow:[{grow:["",aM,aK,a_]}],shrink:[{shrink:["",aM,aK,a_]}],order:[{order:[aN,"first","last","none",aK,a_]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:P()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:P()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...N(),"normal"]}],"justify-items":[{"justify-items":[...A(),"normal"]}],"justify-self":[{"justify-self":["auto",...A()]}],"align-content":[{content:["normal",...N()]}],"align-items":[{items:[...A(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...A(),{baseline:["","last"]}]}],"place-content":[{"place-content":N()}],"place-items":[{"place-items":[...A(),"baseline"]}],"place-self":[{"place-self":["auto",...A()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:D()}],"inline-size":[{inline:["auto",...V()]}],"min-inline-size":[{"min-inline":["auto",...V()]}],"max-inline-size":[{"max-inline":["none",...V()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[o,"screen",...D()]}],"min-w":[{"min-w":[o,"screen","none",...D()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[a]},...D()]}],h:[{h:["screen","lh",...D()]}],"min-h":[{"min-h":["screen","lh","none",...D()]}],"max-h":[{"max-h":["screen","lh",...D()]}],"font-size":[{text:["base",i,aY,a$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,a2,aU]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",aA,a_]}],"font-family":[{font:[aZ,aG,t]}],"font-features":[{"font-features":[a_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,aK,a_]}],"line-clamp":[{"line-clamp":[aM,"none",aK,aW]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",aK,a_]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",aK,a_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[aM,"from-font","auto",aK,a$]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[aM,"auto",aK,a_]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"tab-size":[{tab:[aN,aK,a_]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",aK,a_]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",aK,a_]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:I()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},aN,aK,a_],radial:["",aK,a_],conic:[aN,aK,a_]},a0,aX]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:O()}],"gradient-via-pos":[{via:O()}],"gradient-to-pos":[{to:O()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:_()}],"rounded-s":[{"rounded-s":_()}],"rounded-e":[{"rounded-e":_()}],"rounded-t":[{"rounded-t":_()}],"rounded-r":[{"rounded-r":_()}],"rounded-b":[{"rounded-b":_()}],"rounded-l":[{"rounded-l":_()}],"rounded-ss":[{"rounded-ss":_()}],"rounded-se":[{"rounded-se":_()}],"rounded-ee":[{"rounded-ee":_()}],"rounded-es":[{"rounded-es":_()}],"rounded-tl":[{"rounded-tl":_()}],"rounded-tr":[{"rounded-tr":_()}],"rounded-br":[{"rounded-br":_()}],"rounded-bl":[{"rounded-bl":_()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-bs":[{"border-bs":$()}],"border-w-be":[{"border-be":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-bs":[{"border-bs":R()}],"border-color-be":[{"border-be":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[aM,aK,a_]}],"outline-w":[{outline:["",aM,aY,a$]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",d,a1,aq]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",u,a1,aq]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[aM,a$]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",h,a1,aq]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[aM,aK,a_]}],"mix-blend":[{"mix-blend":[...U(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":U()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[aM]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[aK,a_]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":y()}],"mask-image-conic-pos":[{"mask-conic":[aM]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:I()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",aK,a_]}],filter:[{filter:["","none",aK,a_]}],blur:[{blur:H()}],brightness:[{brightness:[aM,aK,a_]}],contrast:[{contrast:[aM,aK,a_]}],"drop-shadow":[{"drop-shadow":["","none",p,a1,aq]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",aM,aK,a_]}],"hue-rotate":[{"hue-rotate":[aM,aK,a_]}],invert:[{invert:["",aM,aK,a_]}],saturate:[{saturate:[aM,aK,a_]}],sepia:[{sepia:["",aM,aK,a_]}],"backdrop-filter":[{"backdrop-filter":["","none",aK,a_]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[aM,aK,a_]}],"backdrop-contrast":[{"backdrop-contrast":[aM,aK,a_]}],"backdrop-grayscale":[{"backdrop-grayscale":["",aM,aK,a_]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[aM,aK,a_]}],"backdrop-invert":[{"backdrop-invert":["",aM,aK,a_]}],"backdrop-opacity":[{"backdrop-opacity":[aM,aK,a_]}],"backdrop-saturate":[{"backdrop-saturate":[aM,aK,a_]}],"backdrop-sepia":[{"backdrop-sepia":["",aM,aK,a_]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",aK,a_]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[aM,"initial",aK,a_]}],ease:[{ease:["linear","initial",x,aK,a_]}],delay:[{delay:[aM,aK,a_]}],animate:[{animate:["none",v,aK,a_]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,aK,a_]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[aK,a_,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],zoom:[{zoom:[aN,aK,a_]}],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",aK,a_]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":R()}],"scrollbar-track-color":[{"scrollbar-track":R()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",aK,a_]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[aM,aY,a$,aW]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),on=a.forwardRef(({className:e,variant:t="primary",size:i="default",...r},n)=>(0,s.jsx)("button",{ref:n,className:or("inline-flex items-center justify-center font-medium rounded-xl transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-lime-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98] cursor-pointer","default"===i&&"h-11 px-5 py-2.5 text-sm","sm"===i&&"h-9 px-3.5 text-xs rounded-lg","lg"===i&&"h-12 px-7 py-3 text-base rounded-2xl","icon"===i&&"h-10 w-10 rounded-xl","primary"===t&&"bg-[var(--accent-color)] hover:bg-[var(--accent-hover)] text-white shadow-sm shadow-lime-500/10 font-semibold","secondary"===t&&"bg-[var(--accent-soft)] hover:bg-[var(--accent-soft)]/80 text-[var(--accent-text)] font-semibold","accent"===t&&"bg-zinc-900 dark:bg-[var(--accent-color)] hover:bg-zinc-850 dark:hover:bg-[var(--accent-hover)] text-white dark:text-zinc-950 shadow-sm font-semibold","outline"===t&&"border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 hover:bg-zinc-50 dark:hover:bg-zinc-800 text-zinc-700 dark:text-zinc-300","ghost"===t&&"hover:bg-zinc-50 dark:hover:bg-zinc-800 text-zinc-700 dark:text-zinc-300","success"===t&&"bg-[#10b981] hover:bg-[#059669] text-white shadow-sm font-semibold","danger"===t&&"bg-red-500 hover:bg-red-600 text-white shadow-sm font-semibold",e),...r}));on.displayName="Button";let os=a.forwardRef(({className:e,value:t,min:i,max:r,step:n=1,onValueChange:a,...o},l)=>{let c=(t-i)/(r-i)*100;return(0,s.jsx)("div",{className:"relative w-full flex items-center select-none group",children:(0,s.jsx)("input",{type:"range",ref:l,min:i,max:r,step:n,value:t,onChange:e=>a?.(parseFloat(e.target.value)),className:or("w-full h-2 rounded-lg bg-zinc-200 dark:bg-zinc-800 appearance-none cursor-pointer outline-none focus:outline-none","[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-[var(--accent-color)] [&::-webkit-slider-thumb]:shadow-md [&::-webkit-slider-thumb]:transition-all [&::-webkit-slider-thumb]:active:scale-110","[&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-white [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-[var(--accent-color)] [&::-moz-range-thumb]:shadow-md [&::-moz-range-thumb]:transition-all [&::-moz-range-thumb]:active:scale-110",e),style:{background:`linear-gradient(to right, var(--accent-color) 0%, var(--accent-color) ${c}%, var(--track-bg, #e4e4e7) ${c}%, var(--track-bg, #e4e4e7) 100%)`},...o})})});os.displayName="Slider";let oa=a.forwardRef(({className:e,options:t,...i},r)=>(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)("select",{ref:r,className:or("w-full h-11 px-4 text-sm bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl focus:outline-none focus:ring-2 focus:ring-[var(--accent-color)] focus:border-[var(--accent-color)] transition-all cursor-pointer appearance-none text-zinc-800 dark:text-zinc-100 pr-10",e),...i,children:t.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,s.jsx)("div",{className:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 flex items-center justify-center text-zinc-400",children:(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 9l-7 7-7-7"})})})]}));oa.displayName="Select";let oo=a.forwardRef(({className:e,checked:t,onCheckedChange:i,label:r,variant:n="default",...a},o)=>(0,s.jsxs)("label",{className:"flex items-center gap-3 cursor-pointer select-none group",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("input",{type:"checkbox",ref:o,checked:t,onChange:e=>i?.(e.target.checked),className:"sr-only",...a}),(0,s.jsx)("div",{className:or("w-10 h-6 bg-zinc-200 dark:bg-zinc-800 rounded-full transition-all duration-200 group-focus-within:ring-2 group-focus-within:ring-offset-2","dark"===n?"group-focus-within:ring-zinc-500":"group-focus-within:ring-[var(--accent-color)]",t&&("dark"===n?"bg-zinc-800 dark:bg-zinc-700 border border-zinc-700/50 dark:border-zinc-650/80":"bg-[var(--accent-color)]"),e)}),(0,s.jsx)("div",{className:or("absolute left-0.5 top-0.5 w-5 h-5 bg-white dark:bg-zinc-900 rounded-full transition-all duration-200 shadow-sm border border-zinc-200/50 dark:border-zinc-800/80",t&&"translate-x-4",t&&("dark"===n?"border-zinc-500":"border-[var(--accent-color)]"))})]}),r&&(0,s.jsx)("span",{className:"text-sm font-medium text-zinc-700 dark:text-zinc-300 select-none",children:r})]}));oo.displayName="Switch";let ol=a.forwardRef(({className:e,variant:t="default",...i},r)=>(0,s.jsx)("span",{ref:r,className:or("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold select-none border tracking-wide uppercase","default"===t&&"bg-[var(--accent-color)] text-white border-transparent","secondary"===t&&"bg-[var(--accent-soft)] text-[var(--accent-text)] border-transparent","success"===t&&"bg-[#10b981]/10 text-[#059669] border-[#10b981]/20","warning"===t&&"bg-amber-500/10 text-amber-700 border-amber-500/20","danger"===t&&"bg-red-500/10 text-red-700 border-red-500/20","info"===t&&"bg-sky-500/10 text-sky-700 border-sky-500/20","outline"===t&&"text-zinc-600 dark:text-zinc-400 border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900",e),...i}));ol.displayName="Badge";let oc=sH("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),od=({isOpen:e,onClose:t,title:i,children:r,className:n})=>(a.useEffect(()=>{if(!e)return;let i=e=>{"Escape"===e.key&&t()};return window.addEventListener("keydown",i),()=>window.removeEventListener("keydown",i)},[e,t]),(0,s.jsx)(sO,{children:e&&(0,s.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,s.jsx)(sA.div,{className:"fixed inset-0 bg-zinc-950/40 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t}),(0,s.jsxs)(sA.div,{className:or("relative bg-white dark:bg-zinc-900 w-full max-w-lg rounded-2xl p-6 shadow-xl border border-zinc-200/50 dark:border-zinc-800/80 z-10 overflow-hidden flex flex-col max-h-[85vh] text-zinc-800 dark:text-zinc-100",n),initial:{opacity:0,scale:.95,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:10},transition:{duration:.2,ease:"easeOut"},children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-4 pb-2 border-b border-zinc-100 dark:border-zinc-800",children:[(0,s.jsx)("h2",{className:"text-lg font-bold text-zinc-900 dark:text-zinc-100 leading-none",children:i}),(0,s.jsx)("button",{onClick:t,className:"p-1.5 rounded-lg text-zinc-400 dark:text-zinc-500 hover:bg-zinc-50 dark:hover:bg-zinc-800 hover:text-zinc-700 dark:hover:text-zinc-300 transition-colors focus:outline-none focus:ring-2 focus:ring-[var(--accent-color)] cursor-pointer",children:(0,s.jsx)(oc,{className:"w-4 h-4"})})]}),(0,s.jsx)("div",{className:"overflow-y-auto pr-1 flex-1",children:r})]})]})})),ou=sH("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),oh=sH("monitor-off",[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826",key:"cv7jms"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042",key:"z8ni2w"}]]),op=({title:e,buffer:t,strokeColor:i,isTalking:r=!1,lineWidth:n=2,traceFade:o=.4,isDark:l=!1,lang:c="en"})=>{var d;let u,h,p,m,f=ai[c],{canvasRef:g,updateData:x}=(d={strokeColor:i,fillColor:l?`rgba(9, 9, 11, ${o})`:`rgba(255, 255, 255, ${o})`,scaleAmplitude:2,lineWidth:n},u=(0,a.useRef)(null),h=(0,a.useRef)(null),p=(0,a.useRef)(null),m=(0,a.useCallback)(e=>{p.current=e},[]),(0,a.useEffect)(()=>{let e=u.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let i=()=>{let i=e.getBoundingClientRect();e.width=i.width*window.devicePixelRatio,e.height=i.height*window.devicePixelRatio,t.fillStyle=(d.fillColor||"rgba(10, 10, 10, 0.4)").replace(/[\d.]+\)$/,"1)"),t.fillRect(0,0,e.width,e.height)};i(),window.addEventListener("resize",i),t.fillStyle=(d.fillColor||"rgba(10, 10, 10, 0.4)").replace(/[\d.]+\)$/,"1)"),t.fillRect(0,0,e.width,e.height);let r=()=>{let i=e.width,n=e.height,s=p.current;if(t.fillStyle=d.fillColor||"rgba(10, 10, 10, 0.4)",t.fillRect(0,0,i,n),s&&s.length>0){t.lineWidth=(d.lineWidth??2)*window.devicePixelRatio,t.strokeStyle=d.strokeColor,t.lineJoin="round",t.beginPath();let e=i/s.length,r=0;for(let i=0;i{window.removeEventListener("resize",i),h.current&&cancelAnimationFrame(h.current)}},[d.strokeColor,d.fillColor,d.scaleAmplitude,d.lineWidth]),{canvasRef:u,updateData:m}),{togglePip:v,isPipActive:b,isSupported:y}=(()=>{let[e,t]=(0,a.useState)(!1),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=document.createElement("video");e.muted=!0,e.playsInline=!0,i.current=e;let r=()=>{t(!1)};return e.addEventListener("leavepictureinpicture",r),()=>{e.removeEventListener("leavepictureinpicture",r),document.pictureInPictureElement===e&&document.exitPictureInPicture().catch(()=>{})}},[]),{togglePip:(0,a.useCallback)(async e=>{if(!e||!i.current)return;let r=i.current;try{if(document.pictureInPictureElement===r)await document.exitPictureInPicture(),t(!1);else{let i=e.captureStream?e.captureStream(30):e.mozCaptureStream?e.mozCaptureStream(30):null;if(!i)throw Error("Canvas.captureStream() is not supported on this browser.");r.srcObject=i,await new Promise(e=>{r.onloadedmetadata=()=>{r.play().then(()=>e())}}),await r.requestPictureInPicture(),t(!0)}}catch(e){console.error("Picture-in-Picture failed:",e),alert("Picture-in-Picture error: "+(e instanceof Error?e.message:String(e)))}},[]),isPipActive:e,isSupported:"pictureInPictureEnabled"in document}})();return(0,a.useEffect)(()=>{let e=!0,i=()=>{e&&(x(t.current),requestAnimationFrame(i))};return i(),()=>{e=!1}},[t,x]),(0,s.jsxs)(sA.div,{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 relative overflow-hidden flex flex-col h-full transition-colors",initial:{opacity:0,y:15},animate:{opacity:1,y:0},transition:{duration:.4},children:[(0,s.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[r&&(0,s.jsx)(sA.span,{className:"w-2.5 h-2.5 rounded-full bg-[var(--accent-color)]",animate:{scale:[1,1.4,1],opacity:[1,.4,1]},transition:{repeat:1/0,duration:1.2}}),(0,s.jsxs)("h3",{className:"font-bold text-zinc-800 dark:text-zinc-200 text-xs tracking-wider uppercase flex items-center gap-1.5",children:[(0,s.jsx)(s4,{className:"w-4 h-4 text-[var(--accent-color)]"}),e]})]}),y&&(0,s.jsx)(on,{variant:"outline",size:"sm",onClick:()=>v(g.current),className:"text-[10px] h-8 px-2.5 flex items-center gap-1 border-zinc-200 dark:border-zinc-800 hover:bg-[var(--accent-soft)] dark:hover:bg-[var(--accent-soft)]/20 hover:text-[var(--accent-text)] dark:hover:text-[var(--accent-color)] text-zinc-700 dark:text-zinc-300 transition-colors",children:b?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(oh,{className:"w-3 h-3"}),f.pipClose]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ou,{className:"w-3 h-3"}),f.pipStream]})})]}),(0,s.jsxs)("div",{className:"relative flex-1 min-h-[140px] bg-zinc-50 dark:bg-zinc-950 border border-zinc-100 dark:border-zinc-900 rounded-xl overflow-hidden shadow-inner transition-colors",children:[(0,s.jsx)("canvas",{ref:g,className:"w-full h-full block cursor-pointer"}),(0,s.jsx)(sO,{children:r&&(0,s.jsx)(sA.div,{className:"absolute top-2.5 right-2.5 bg-[var(--accent-color)]/90 text-white text-[9px] font-bold px-2 py-0.5 rounded-full shadow-sm uppercase tracking-wider backdrop-blur-sm",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},children:f.activeSignal})})]})]})},om=[{value:"HuTao",label:"HuTao (Genshin Impact)"},{value:"HuoHuo",label:"HuoHuo (Honkai Star Rail)"}],of=[{value:"cpu",label:"CPU (Sangat Stabil)"},{value:"cuda",label:"CUDA (NVIDIA GPU - Cepat)"},{value:"dml",label:"DirectML (AMD/Intel GPU Windows)"}],og=[{value:"browser",label:"Client Mode (Browser Streaming)"},{value:"hardware",label:"Server Mode (Hardware Direct)"}],ox=[{value:"pm",label:"PM (Paling Cepat)"},{value:"dio",label:"DIO (Ringan)"},{value:"harvest",label:"Harvest (Presisi)"},{value:"rmvpe",label:"RMVPE (Kualitas Tinggi)"}],ov=[{value:"8192",label:"8192 sampel (~170ms | Rekomendasi)"},{value:"12288",label:"12288 sampel (~250ms | Halus)"},{value:"16384",label:"16384 sampel (~340ms | Kualitas Studio)"},{value:"24576",label:"24576 sampel (~510ms | Kokoh)"},{value:"32768",label:"32768 sampel (~680ms | Fidelitas)"},{value:"65536",label:"65536 sampel (~1.3 detik | Maksimal)"}],ob=[{name:"lime",color:"#84cc16",hover:"#65a30d",soft:"#d9f99d",text:"#4d7c0f"},{name:"cyan",color:"#06b6d4",hover:"#0891b2",soft:"#cffafe",text:"#0e7490"},{name:"emerald",color:"#10b981",hover:"#059669",soft:"#d1fae5",text:"#047857"},{name:"rose",color:"#f43f5e",hover:"#e11d48",soft:"#ffe4e6",text:"#be123c"},{name:"amber",color:"#f59e0b",hover:"#d97706",soft:"#fef3c7",text:"#b45309"},{name:"violet",color:"#8b5cf6",hover:"#7c3aed",soft:"#ede9fe",text:"#6d28d9"}];e.s(["default",0,function(){let[e,t]=(0,a.useState)(!1),[i,r]=(0,a.useState)("en"),[n,o]=(0,a.useState)("changer"),[l,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)("ws://127.0.0.1:8765"),[h,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)(2),[g,x]=(0,a.useState)(.4),[v,b]=(0,a.useState)("#84cc16"),[y,k]=(0,a.useState)("#22d3ee"),[w,j]=(0,a.useState)(!0),[S,z]=(0,a.useState)(!0),[C,P]=(0,a.useState)(!1),[T,M]=(0,a.useState)("lime"),[N,A]=(0,a.useState)(!1),[E,D]=(0,a.useState)({model_name:"HuTao",device:"cuda",f0_method:"pm",f0_up_key:0,noise_gate:-40,input_gain:1,output_gain:1,input_sr:44100,routing_mode:"browser",input_device:null,output_device:null,chunk_size:8192}),[V,L]=(0,a.useState)([]),[R,I]=(0,a.useState)(44100),{status:F,rtt:B,processingTime:O,isTalking:_,isStreaming:$,playOutput:W,setPlayOutput:U,connect:G,disconnect:H,startStream:X,stopStream:q,inputBuffer:K,outputBuffer:Y}=((e,t,i)=>{let[r,n]=(0,a.useState)("disconnected"),[s,o]=(0,a.useState)(null),[l,c]=(0,a.useState)(null),[d,u]=(0,a.useState)(!1),[h,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)(!0),g=(0,a.useRef)(null),x=(0,a.useRef)(null),v=(0,a.useRef)(null),b=(0,a.useRef)(null),y=(0,a.useRef)(null),k=(0,a.useRef)(4e4),w=(0,a.useRef)(new Float32Array(4096)),j=(0,a.useRef)(new Float32Array(4096)),S=(0,a.useRef)(new Float32Array(0)),z=(0,a.useRef)([]),C=(0,a.useRef)(0),P=(0,a.useRef)([]),T=(0,a.useCallback)(()=>{let e=g.current;e&&e.readyState===WebSocket.OPEN&&e.send(JSON.stringify({type:"config",model_name:t.model_name,device:t.device,f0_method:t.f0_method,f0_up_key:t.f0_up_key,noise_gate:t.noise_gate,input_gain:t.input_gain,output_gain:t.output_gain,input_sr:x.current?x.current.sampleRate:44100,routing_mode:t.routing_mode,input_device:t.input_device,output_device:t.output_device,chunk_size:t.chunk_size}))},[t]),M=(0,a.useCallback)(e=>{if(!x.current)return;let t=performance.now();if(z.current.length>0){let e=z.current.shift();e&&o(Math.round(t-e.sent))}let i=new Float32Array(e),r=i[0],n=i.subarray(1);c(Math.max(0,Math.round(r)));let s=x.current,a=s.createBuffer(1,n.length,k.current);a.getChannelData(0).set(n);let l=s.createBufferSource();l.buffer=a,m&&l.connect(s.destination);let d=s.currentTime,u=a.duration,h=Math.min(2.5*u,.5);C.currentd+5*u&&(C.current=d+h);let p=C.current;for(l.start(p),C.current+=u,P.current.push({data:n,startTime:p});P.current.length>0;){let e=P.current[0];if(e.startTime+e.data.length/k.current=4096?f.set(n.slice(n.length-4096)):(f.copyWithin(0,n.length),f.set(n,4096-n.length))},[m]),N=(0,a.useCallback)(()=>{if(g.current){try{g.current.close()}catch(e){}g.current=null}n("disconnected")},[]),A=(0,a.useCallback)(()=>{N(),n("connecting");try{let t=new WebSocket(e);t.binaryType="arraybuffer",t.onopen=()=>{n("connected"),g.current=t,T()},t.onclose=()=>{n("disconnected"),g.current=null},t.onerror=()=>{n("disconnected"),g.current=null},t.onmessage=e=>{if("string"==typeof e.data)try{let t=JSON.parse(e.data);"config_success"===t.type?k.current=t.target_sr:"init_devices"===t.type?i(t.target_sr||4e4,t.devices||[]):"visualizer"===t.type&&(w.current.set(new Float32Array(t.input)),j.current.set(new Float32Array(t.output)))}catch(e){console.error("WS JSON parse error:",e)}else e.data instanceof ArrayBuffer&&M(e.data)}}catch(e){console.error("WS Connection failed:",e),n("disconnected")}},[e,T,M,i,N]),E=(0,a.useCallback)(()=>{if(p(!1),u(!1),"hardware"===t.routing_mode){let e=g.current;e&&e.readyState===WebSocket.OPEN&&e.send(JSON.stringify({type:"config",routing_mode:"browser"}))}v.current&&(v.current.getTracks().forEach(e=>e.stop()),v.current=null),b.current&&(b.current.disconnect(),b.current=null),y.current&&(y.current.disconnect(),y.current=null),S.current=new Float32Array(0),o(null),c(null)},[t.routing_mode]),D=(0,a.useCallback)(async()=>{if("hardware"===t.routing_mode){p(!0),T();return}x.current||(x.current=new(window.AudioContext||window.webkitAudioContext)({latencyHint:"interactive"}));let e=x.current;"suspended"===e.state&&await e.resume();try{v.current=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}}),b.current=e.createMediaStreamSource(v.current),y.current=e.createScriptProcessor(4096,1,1),y.current.onaudioprocess=e=>{let i=e.inputBuffer.getChannelData(0),r=w.current;r.copyWithin(0,i.length),r.set(i,r.length-i.length);let n=new Float32Array(S.current.length+i.length);n.set(S.current),n.set(i,S.current.length),S.current=n;let s=t.chunk_size;for(;S.current.length>=s;){let e=S.current.slice(0,s);S.current=S.current.slice(s);let t=0;for(let i=0;i.005);let r=g.current;if(r&&r.readyState===WebSocket.OPEN){let t=performance.now();z.current.push({id:t,sent:t}),r.send(e.buffer)}}},b.current.connect(y.current),y.current.connect(e.destination),C.current=0,p(!0)}catch(e){console.error("Failed to start microphone streaming:",e),alert("Microphone access failed: "+(e instanceof Error?e.message:String(e))),E()}},[t.routing_mode,t.chunk_size,T,E]);return(0,a.useEffect)(()=>{T()},[t,T]),(0,a.useEffect)(()=>()=>{N(),E(),x.current&&x.current.close().catch(()=>{})},[N,E]),{status:r,rtt:s,processingTime:l,isTalking:d,isStreaming:h,playOutput:m,setPlayOutput:f,connect:A,disconnect:N,startStream:D,stopStream:E,inputBuffer:w,outputBuffer:j}})(d,E,(e,t)=>{I(e),L(t),t.length>0&&D(e=>({...e,input_device:e.input_device??t.find(e=>e.max_input_channels>0)?.id??0,output_device:e.output_device??t.find(e=>e.max_output_channels>0)?.id??0}))}),Z=V.filter(e=>e.max_input_channels>0).map(e=>({value:String(e.id),label:`[ID ${e.id}] ${e.name}`})),J=V.filter(e=>e.max_output_channels>0).map(e=>({value:String(e.id),label:`[ID ${e.id}] ${e.name}`}));(0,a.useEffect)(()=>{t(!0);let e=localStorage.getItem("omni_ws_url");e&&u(e);let i=localStorage.getItem("omni_lang");i&&r(i);let n=localStorage.getItem("omni_play_output");null!==n&&U("true"===n);let s=localStorage.getItem("omni_config");if(s)try{let e=JSON.parse(s);D(t=>({...t,...e}))}catch(e){console.error("Failed to parse saved config",e)}let a=localStorage.getItem("omni_vis_line_width");a&&f(parseInt(a));let o=localStorage.getItem("omni_vis_trace_fade");o&&x(parseFloat(o));let l=localStorage.getItem("omni_vis_color_input");l&&b(l);let c=localStorage.getItem("omni_vis_color_output");c&&k(c);let d=localStorage.getItem("omni_show_input");null!==d&&j("true"===d);let h=localStorage.getItem("omni_show_output");null!==h&&z("true"===h);let p=localStorage.getItem("omni_dark_mode");null!==p&&P("true"===p);let m=localStorage.getItem("omni_accent_color");m&&M(m);let g=localStorage.getItem("omni_sidebar_collapsed");null!==g&&A("true"===g)},[U]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_ws_url",d)},[d,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_lang",i)},[i,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_play_output",String(W))},[W,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_config",JSON.stringify(E))},[E,e]),(0,a.useEffect)(()=>{e&&(localStorage.setItem("omni_dark_mode",String(C)),C?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"))},[C,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_accent_color",T)},[T,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_sidebar_collapsed",String(N))},[N,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_vis_line_width",String(m))},[m,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_vis_trace_fade",String(g))},[g,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_vis_color_input",v)},[v,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_vis_color_output",y)},[y,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_show_input",String(w))},[w,e]),(0,a.useEffect)(()=>{e&&localStorage.setItem("omni_show_output",String(S))},[S,e]);let Q=()=>{"connected"===F||"connecting"===F?H():G()},ee=()=>{$?q():X()},et=e=>{"latency"===e?D(e=>({...e,f0_method:"pm",chunk_size:8192})):D(e=>({...e,f0_method:"rmvpe",chunk_size:16384}))},ei=ai[i]||ai.en,er=[{keys:"c",description:ei.shortcutConnect,action:Q},{keys:"Space",description:ei.shortcutStream,action:ee},{keys:"m",description:ei.shortcutMute,action:()=>U(e=>!e)},{keys:"1",description:ei.shortcutPreset1,action:()=>et("latency")},{keys:"2",description:ei.shortcutPreset2,action:()=>et("quality")},{keys:"Shift+?",description:ei.shortcutHelp,action:()=>c(e=>!e)}];if(((e,t=!0)=>{let i=(0,a.useRef)(e);(0,a.useEffect)(()=>{i.current=e},[e]);let r=(0,a.useCallback)(e=>{if(!t)return;let r=document.activeElement;if(r){let e=r.tagName.toLowerCase();if("input"===e||"textarea"===e||"true"===r.getAttribute("contenteditable"))return}let n=e.key.toLowerCase(),s=e.ctrlKey||e.metaKey,a=e.altKey,o=e.shiftKey;for(let t of i.current){let i=t.keys.toLowerCase().split("+"),r=i.includes("control")||i.includes("ctrl"),l=i.includes("alt"),c=i.includes("shift"),d=i.filter(e=>!["control","ctrl","alt","shift"].includes(e))[0],u=l?a:!a,h=c?o:!o,p=n===("space"===d?" ":d);if((r?s:!s)&&u&&h&&p){e.preventDefault(),t.action();break}}},[t]);(0,a.useEffect)(()=>(window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}),[r])})(er,!0),!e)return(0,s.jsx)("div",{className:"min-h-screen bg-[#fafafa] flex items-center justify-center",children:(0,s.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-full border-4 border-zinc-200 border-t-[#84cc16] animate-spin"}),(0,s.jsx)("span",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400",children:"Loading Workspace..."})]})});let en=ob.find(e=>e.name===T)||ob[0],es={"--accent-color":en.color,"--accent-hover":en.hover,"--accent-soft":en.soft,"--accent-text":en.text};return(0,s.jsxs)("div",{className:`relative min-h-screen flex w-screen overflow-hidden transition-colors duration-200 ${C?"dark bg-zinc-950 text-zinc-100":"bg-[#fafafa] text-zinc-800"}`,style:es,children:[(0,s.jsx)("div",{className:"glow-backdrop dark:opacity-20"}),(0,s.jsxs)("aside",{className:`bg-white dark:bg-zinc-900 border-r border-zinc-200/50 dark:border-zinc-800/80 flex flex-col justify-between z-10 transition-all duration-300 relative ${N?"w-20":"w-72"}`,children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:`border-b border-zinc-100 dark:border-zinc-800 flex items-center transition-all duration-300 relative ${N?"justify-center py-6 px-4":"p-6"}`,children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-xl bg-[var(--accent-color)] flex items-center justify-center shadow-md text-white font-black text-xl shrink-0",children:"🎙️"}),(0,s.jsxs)("div",{className:`transition-all duration-300 ease-in-out origin-left flex flex-col ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"}`,children:[(0,s.jsx)("h1",{className:"text-sm font-black tracking-wider text-zinc-900 dark:text-zinc-100 leading-none",children:"ONNX VC"}),(0,s.jsx)("span",{className:"text-[10px] font-bold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest block mt-1 whitespace-nowrap",children:"AI AUDIO LAB"})]})]}),(0,s.jsx)("button",{onClick:()=>A(!N),className:"absolute -right-3 top-7 bg-white dark:bg-zinc-900 border border-zinc-200/80 dark:border-zinc-800 rounded-full shadow-md z-50 w-6 h-6 flex items-center justify-center text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-250 hover:scale-110 active:scale-95 transition-all duration-300 cursor-pointer",title:N?"Expand Sidebar":"Collapse Sidebar",children:N?(0,s.jsx)(s8,{className:"w-3.5 h-3.5"}):(0,s.jsx)(s6,{className:"w-3.5 h-3.5"})})]}),(0,s.jsx)("div",{className:`transition-all duration-305 ${N?"px-2 py-4":"p-6"} border-b border-zinc-100 dark:border-zinc-800`,children:(0,s.jsx)("div",{className:`rounded-2xl border border-zinc-100 dark:border-zinc-800 bg-zinc-50/50 dark:bg-zinc-800/30 relative overflow-hidden group transition-all duration-300 ${N?"p-2":"p-4"}`,children:(0,s.jsxs)("div",{className:`flex items-center transition-all duration-300 ${N?"justify-center gap-0":"gap-4"}`,children:[(0,s.jsxs)("div",{className:`rounded-xl border-2 transition-all duration-305 relative flex items-center justify-center p-1 bg-white dark:bg-zinc-900 shrink-0 ${N?"w-10 h-10":"w-14 h-14"} ${_&&$?"border-[var(--accent-color)] shadow-lg scale-105":"border-zinc-200 dark:border-zinc-800"}`,children:["HuTao"===E.model_name?(0,s.jsxs)("svg",{viewBox:"0 0 100 100",className:"w-full h-full text-rose-500 fill-rose-500/10",children:[(0,s.jsx)("circle",{cx:"50",cy:"50",r:"45",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M50 25c-8 0-14 6-14 14 0 6 5 11 11 13v6h6v-6c6-2 11-7 11-13 0-8-6-14-14-14z",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M35 70c0-10 7-15 15-15s15 5 15 15",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("circle",{cx:"43",cy:"38",r:"3",fill:"currentColor"}),(0,s.jsx)("circle",{cx:"57",cy:"38",r:"3",fill:"currentColor"}),(0,s.jsx)("path",{d:"M47 45q3 2 6 0",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})]}):(0,s.jsxs)("svg",{viewBox:"0 0 100 100",className:"w-full h-full text-emerald-500 fill-emerald-500/10",children:[(0,s.jsx)("circle",{cx:"50",cy:"50",r:"45",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M38 30l4 8-8 2 12 4-2 10 10-6 4 10 4-10 10 6-2-10 12-4-8-2 4-8-12 4v-8h-6v8l-12-4z",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M33 72c0-8 8-12 17-12s17 4 17 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("circle",{cx:"44",cy:"46",r:"3.5",fill:"currentColor"}),(0,s.jsx)("circle",{cx:"56",cy:"46",r:"3.5",fill:"currentColor"}),(0,s.jsx)("path",{d:"M48 51h4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]}),_&&$&&(0,s.jsx)(sA.div,{className:"absolute -top-1.5 -right-1.5 w-4.5 h-4.5 bg-[var(--accent-color)] rounded-full flex items-center justify-center shadow border border-white dark:border-zinc-900",animate:{scale:[1,1.2,1]},transition:{repeat:1/0,duration:1},children:(0,s.jsx)(s4,{className:"w-2.5 h-2.5 text-white"})})]}),(0,s.jsxs)("div",{className:`transition-all duration-300 ease-in-out origin-left flex-1 min-w-0 ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"}`,children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-zinc-400 dark:text-zinc-500 uppercase tracking-wider block",children:ei.characterCardTitle}),(0,s.jsx)("span",{className:"text-sm font-black text-zinc-800 dark:text-zinc-100 tracking-tight truncate block mt-0.5",children:"HuTao"===E.model_name?"HuTao (Genshin)":"HuoHuo (HSR)"}),(0,s.jsxs)("span",{className:"text-[9px] font-semibold text-zinc-500 dark:text-zinc-400 block truncate mt-0.5",children:[E.device.toUpperCase()," ACCELERATION"]})]})]})})}),(0,s.jsxs)("nav",{className:`space-y-1 transition-all duration-305 ${N?"p-2":"p-4"}`,children:[(0,s.jsxs)("button",{onClick:()=>o("changer"),className:`w-full flex items-center transition-all duration-200 cursor-pointer rounded-xl text-sm font-semibold ${N?"justify-center p-3":"justify-between px-4 py-3"} ${"changer"===n?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-800"}`,title:N?ei.tabDashboard:void 0,children:[(0,s.jsxs)("span",{className:`flex items-center transition-all duration-300 ${N?"gap-0 w-full justify-center":"gap-3"}`,children:[(0,s.jsx)(sZ,{className:`w-4 h-4 shrink-0 transition-colors duration-200 ${"changer"===n?"text-[var(--accent-color)]":"text-zinc-400 dark:text-zinc-500"}`}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out origin-left ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"} whitespace-nowrap`,children:ei.tabDashboard})]}),(0,s.jsx)(s8,{className:`transition-all duration-300 ease-in-out shrink-0 ${N?"opacity-0 w-0 max-w-0 scale-75 overflow-hidden":"w-4 h-4 opacity-50"}`})]}),(0,s.jsxs)("button",{onClick:()=>o("model"),className:`w-full flex items-center transition-all duration-200 cursor-pointer rounded-xl text-sm font-semibold ${N?"justify-center p-3":"justify-between px-4 py-3"} ${"model"===n?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-800"}`,title:N?ei.tabModel:void 0,children:[(0,s.jsxs)("span",{className:`flex items-center transition-all duration-300 ${N?"gap-0 w-full justify-center":"gap-3"}`,children:[(0,s.jsx)(sX,{className:`w-4 h-4 shrink-0 transition-colors duration-200 ${"model"===n?"text-[var(--accent-color)]":"text-zinc-400 dark:text-zinc-500"}`}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out origin-left ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"} whitespace-nowrap`,children:ei.tabModel})]}),(0,s.jsx)(s8,{className:`transition-all duration-300 ease-in-out shrink-0 ${N?"opacity-0 w-0 max-w-0 scale-75 overflow-hidden":"w-4 h-4 opacity-50"}`})]}),(0,s.jsxs)("button",{onClick:()=>o("dsp"),className:`w-full flex items-center transition-all duration-200 cursor-pointer rounded-xl text-sm font-semibold ${N?"justify-center p-3":"justify-between px-4 py-3"} ${"dsp"===n?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-800"}`,title:N?ei.tabDsp:void 0,children:[(0,s.jsxs)("span",{className:`flex items-center transition-all duration-300 ${N?"gap-0 w-full justify-center":"gap-3"}`,children:[(0,s.jsx)(s9,{className:`w-4 h-4 shrink-0 transition-colors duration-200 ${"dsp"===n?"text-[var(--accent-color)]":"text-zinc-400 dark:text-zinc-500"}`}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out origin-left ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"} whitespace-nowrap`,children:ei.tabDsp})]}),(0,s.jsx)(s8,{className:`transition-all duration-300 ease-in-out shrink-0 ${N?"opacity-0 w-0 max-w-0 scale-75 overflow-hidden":"w-4 h-4 opacity-50"}`})]}),(0,s.jsxs)("button",{onClick:()=>o("shortcuts"),className:`w-full flex items-center transition-all duration-200 cursor-pointer rounded-xl text-sm font-semibold ${N?"justify-center p-3":"justify-between px-4 py-3"} ${"shortcuts"===n?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-800"}`,title:N?ei.tabShortcuts:void 0,children:[(0,s.jsxs)("span",{className:`flex items-center transition-all duration-300 ${N?"gap-0 w-full justify-center":"gap-3"}`,children:[(0,s.jsx)(s5,{className:`w-4 h-4 shrink-0 transition-colors duration-200 ${"shortcuts"===n?"text-[var(--accent-color)]":"text-zinc-400 dark:text-zinc-500"}`}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out origin-left ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"} whitespace-nowrap`,children:ei.tabShortcuts})]}),(0,s.jsx)(s8,{className:`transition-all duration-300 ease-in-out shrink-0 ${N?"opacity-0 w-0 max-w-0 scale-75 overflow-hidden":"w-4 h-4 opacity-50"}`})]}),(0,s.jsxs)("button",{onClick:()=>o("credits"),className:`w-full flex items-center transition-all duration-200 cursor-pointer rounded-xl text-sm font-semibold ${N?"justify-center p-3":"justify-between px-4 py-3"} ${"credits"===n?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-800"}`,title:N?ei.tabCredits:void 0,children:[(0,s.jsxs)("span",{className:`flex items-center transition-all duration-300 ${N?"gap-0 w-full justify-center":"gap-3"}`,children:[(0,s.jsx)(ae,{className:`w-4 h-4 shrink-0 transition-colors duration-200 ${"credits"===n?"text-[var(--accent-color)]":"text-zinc-400 dark:text-zinc-500"}`}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out origin-left ${N?"opacity-0 w-0 max-w-0 pointer-events-none overflow-hidden":"opacity-100 max-w-xs"} whitespace-nowrap`,children:ei.tabCredits})]}),(0,s.jsx)(s8,{className:`transition-all duration-300 ease-in-out shrink-0 ${N?"opacity-0 w-0 max-w-0 scale-75 overflow-hidden":"w-4 h-4 opacity-50"}`})]})]})]}),(0,s.jsxs)("div",{className:`border-t border-zinc-100 dark:border-zinc-800 relative transition-all duration-300 ${N?"p-3":"p-6"}`,children:[(0,s.jsx)("div",{className:`transition-all duration-300 ease-in-out ${N?"opacity-0 h-0 overflow-hidden mb-0":"opacity-100 h-4 mb-2"} flex justify-between items-center text-xs font-semibold text-zinc-500 dark:text-zinc-400`,children:(0,s.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(s2,{className:"w-3.5 h-3.5 text-zinc-400 dark:text-zinc-500"}),ei.currentLang]})}),(0,s.jsxs)("button",{onClick:()=>p(!h),className:`flex items-center transition-all duration-200 cursor-pointer ${N?"justify-center p-2.5 h-10 w-10 mx-auto":"w-full justify-between h-10 px-3.5"} rounded-xl border border-zinc-200 dark:border-zinc-800 hover:bg-zinc-50 dark:hover:bg-zinc-850 text-xs font-bold text-zinc-800 dark:text-zinc-200 bg-white dark:bg-zinc-900`,title:N?ei.currentLang:void 0,children:[(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{children:at.find(e=>e.code===i)?.flag}),(0,s.jsx)("span",{className:`transition-all duration-300 ease-in-out ${N?"opacity-0 w-0 max-w-0 overflow-hidden pointer-events-none":"opacity-100 w-auto"} whitespace-nowrap`,children:at.find(e=>e.code===i)?.label})]}),(0,s.jsx)("span",{className:`text-zinc-400 transition-all duration-300 ${N?"opacity-0 w-0 scale-75 overflow-hidden":"w-auto opacity-100"}`,children:"▼"})]}),(0,s.jsx)(sO,{children:h&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>p(!1)}),(0,s.jsx)(sA.div,{className:`absolute ${N?"bottom-16 left-12 w-48":"bottom-18 left-6 right-6"} bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl shadow-lg z-20 p-1.5 max-h-56 overflow-y-auto`,initial:{opacity:0,y:5},animate:{opacity:1,y:0},exit:{opacity:0,y:5},transition:{duration:.15},children:at.map(e=>(0,s.jsxs)("button",{onClick:()=>{r(e.code),p(!1)},className:`w-full flex items-center justify-between px-3 py-2 rounded-lg text-left text-xs font-bold cursor-pointer transition-colors ${i===e.code?"bg-[var(--accent-soft)] text-[var(--accent-text)]":"text-zinc-600 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:bg-zinc-850"}`,children:[(0,s.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("span",{children:e.flag}),(0,s.jsx)("span",{children:e.label})]}),i===e.code&&(0,s.jsx)(s3,{className:"w-3.5 h-3.5 text-[var(--accent-color)]"})]},e.code))})]})}),(0,s.jsx)("div",{className:"mt-4 pt-4 border-t border-zinc-100 dark:border-zinc-800 flex items-center justify-center text-[10px] font-bold text-zinc-400 dark:text-zinc-500 uppercase tracking-widest select-none min-h-[1.5rem]",children:(0,s.jsxs)("span",{className:`transition-all duration-300 flex items-center gap-1 justify-center whitespace-nowrap overflow-hidden ${N?"w-6":"w-full"}`,children:[(0,s.jsx)("span",{className:`transition-all duration-300 ${N?"opacity-0 w-0 overflow-hidden":"opacity-100"}`,children:"Made With"}),(0,s.jsx)("span",{className:"text-red-500 animate-pulse text-xs",children:"❤️"}),(0,s.jsx)("span",{className:`transition-all duration-300 text-zinc-600 dark:text-zinc-400 ${N?"opacity-0 w-0 overflow-hidden":"opacity-100"}`,children:"Kanara Technology"})]})})]})]}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col h-screen overflow-hidden relative",children:[(0,s.jsxs)("header",{className:"h-20 bg-white dark:bg-zinc-900 border-b border-zinc-200/50 dark:border-zinc-800/80 px-8 flex items-center justify-between z-10 transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)(ol,{variant:"connected"===F?"success":"connecting"===F?"warning":"danger",children:"connected"===F?ei.connected:"connecting"===F?ei.connecting:ei.disconnected}),(0,s.jsxs)("div",{className:"hidden sm:flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-zinc-400 dark:text-zinc-500 uppercase tracking-wider",children:"WebSocket:"}),(0,s.jsx)("span",{className:"text-xs font-bold text-zinc-700 dark:text-zinc-300",children:d})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(on,{variant:"connected"===F?"outline":"primary",size:"sm",onClick:Q,className:"text-xs font-bold flex items-center gap-1.5 h-9",children:"connected"===F?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sY,{className:"w-3.5 h-3.5"}),ei.disconnect]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sK,{className:"w-3.5 h-3.5"}),ei.connect]})}),(0,s.jsx)(on,{variant:"accent",size:"sm",disabled:"connected"!==F,onClick:ee,className:"text-xs font-bold flex items-center gap-1.5 h-9",children:$?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sQ,{className:"w-3.5 h-3.5 text-red-400 fill-red-400"}),ei.stopChanger]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(sJ,{className:"w-3.5 h-3.5 text-[#d9f99d] fill-[#d9f99d]"}),ei.startChanger]})})]})]}),(0,s.jsx)("main",{className:"flex-1 overflow-y-auto p-8 pb-32",children:(0,s.jsxs)(sO,{mode:"wait",children:["changer"===n&&(0,s.jsxs)(sA.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-zinc-900 dark:text-zinc-50",children:ei.welcomeBack}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 mt-1 uppercase tracking-wider font-bold",children:ei.appSubtitle})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 xl:grid-cols-12 gap-8 items-start",children:[(0,s.jsxs)("div",{className:"col-span-1 xl:col-span-5 space-y-6",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-4 transition-colors",children:[(0,s.jsx)("div",{className:"flex items-center justify-between border-b border-zinc-100 dark:border-zinc-800/60 pb-3",children:(0,s.jsxs)("h3",{className:"font-bold text-xs uppercase tracking-wider text-zinc-400 dark:text-zinc-500 flex items-center gap-1.5",children:[(0,s.jsx)(s7,{className:"w-4 h-4 text-[var(--accent-color)]"}),ei.selectModel]})}),(0,s.jsx)(oa,{options:om,value:E.model_name,onChange:e=>D(t=>({...t,model_name:e.target.value}))})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-5 transition-colors",children:[(0,s.jsx)("div",{className:"flex items-center justify-between border-b border-zinc-100 dark:border-zinc-800/60 pb-3",children:(0,s.jsxs)("h3",{className:"font-bold text-xs uppercase tracking-wider text-zinc-400 dark:text-zinc-500 flex items-center gap-1.5",children:[(0,s.jsx)(s9,{className:"w-4 h-4 text-[var(--accent-color)]"}),ei.liveTuningTitle]})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs font-semibold",children:[(0,s.jsx)("span",{className:"text-zinc-500 dark:text-zinc-400",children:ei.transpose}),(0,s.jsxs)("span",{className:"text-zinc-800 dark:text-zinc-200 bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded font-bold",children:[E.f0_up_key>=0?"+":"",E.f0_up_key," semitone"]})]}),(0,s.jsx)(os,{min:-24,max:24,step:1,value:E.f0_up_key,onValueChange:e=>D(t=>({...t,f0_up_key:e}))})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs font-semibold",children:[(0,s.jsx)("span",{className:"text-zinc-500 dark:text-zinc-400",children:ei.outputGain}),(0,s.jsxs)("span",{className:"text-[var(--accent-text)] dark:text-[var(--accent-color)] bg-[var(--accent-soft)] dark:bg-[var(--accent-color)]/10 px-1.5 py-0.5 rounded font-black",children:[E.output_gain.toFixed(1),"x"]})]}),(0,s.jsx)(os,{min:0,max:3,step:.1,value:E.output_gain,onValueChange:e=>D(t=>({...t,output_gain:e}))})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs font-semibold",children:[(0,s.jsx)("span",{className:"text-zinc-500 dark:text-zinc-400",children:ei.noiseGate}),(0,s.jsxs)("span",{className:"text-zinc-800 dark:text-zinc-200 bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded font-bold",children:[E.noise_gate," dB"]})]}),(0,s.jsx)(os,{min:-60,max:-10,step:1,value:E.noise_gate,onValueChange:e=>D(t=>({...t,noise_gate:e}))})]})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-3 transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold text-xs uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.quickPresets}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,s.jsx)(on,{variant:"outline",onClick:()=>et("latency"),className:"text-[11px] h-9.5 justify-center gap-1.5 bg-zinc-50 dark:bg-zinc-800 hover:bg-[var(--accent-soft)] dark:hover:bg-[var(--accent-soft)]/20 hover:text-[var(--accent-text)] dark:hover:text-[var(--accent-color)] border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300",children:"⚡ Latency (PM)"}),(0,s.jsx)(on,{variant:"outline",onClick:()=>et("quality"),className:"text-[11px] h-9.5 justify-center gap-1.5 bg-zinc-50 dark:bg-zinc-800 hover:bg-[var(--accent-soft)] dark:hover:bg-[var(--accent-soft)]/20 hover:text-[var(--accent-text)] dark:hover:text-[var(--accent-color)] border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300",children:"🎙️ Quality (RMVPE)"})]})]}),"browser"===E.routing_mode&&(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 flex items-center justify-between transition-colors",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-bold text-zinc-700 dark:text-zinc-200 uppercase tracking-wider",children:W?ei.listeningActive:ei.listeningMute}),(0,s.jsx)("p",{className:"text-[9px] text-zinc-400 dark:text-zinc-500 font-bold uppercase tracking-wider mt-0.5",children:"Speaker output monitoring"})]}),(0,s.jsx)(oo,{checked:W,disabled:"connected"!==F,onCheckedChange:e=>U(e)})]})]}),(0,s.jsxs)("div",{className:"col-span-1 xl:col-span-7 space-y-6",children:[(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-5 transition-colors",children:[(0,s.jsx)("div",{className:"flex items-center justify-between border-b border-zinc-100 dark:border-zinc-800/60 pb-3",children:(0,s.jsxs)("h3",{className:"font-bold text-xs uppercase tracking-wider text-zinc-400 dark:text-zinc-500 flex items-center gap-1.5",children:[(0,s.jsx)(s1,{className:"w-4 h-4 text-[var(--accent-color)]"}),ei.customCanvasTitle]})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-6",children:[(0,s.jsx)(oo,{checked:w,onCheckedChange:j,label:ei.showMicInput}),(0,s.jsx)(oo,{checked:S,onCheckedChange:z,label:ei.showAiOutput})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5 pt-1",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs font-semibold text-zinc-500 dark:text-zinc-400",children:[(0,s.jsx)("span",{children:ei.lineWidthLabel}),(0,s.jsxs)("span",{className:"text-zinc-800 dark:text-zinc-200",children:[m," px"]})]}),(0,s.jsx)(os,{min:1,max:5,step:1,value:m,onValueChange:f})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-xs font-semibold text-zinc-500 dark:text-zinc-400",children:[(0,s.jsx)("span",{children:ei.traceDecayLabel}),(0,s.jsxs)("span",{className:"text-zinc-800 dark:text-zinc-200",children:[Math.round((1-g)*100),"%"]})]}),(0,s.jsx)(os,{min:.05,max:.8,step:.05,value:g,onValueChange:x})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 pt-1",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 block",children:ei.inputLineColorLabel}),(0,s.jsx)("div",{className:"flex items-center gap-2",children:["#84cc16","#22d3ee","#f43f5e","#eab308","#10b981"].map(e=>(0,s.jsx)("button",{onClick:()=>b(e),className:`w-6 h-6 rounded-full border transition-all cursor-pointer ${v===e?"ring-2 ring-zinc-800 dark:ring-zinc-200 scale-110 border-transparent shadow":"border-zinc-200 dark:border-zinc-850 hover:scale-105"}`,style:{backgroundColor:e}},e))})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 block",children:ei.outputLineColorLabel}),(0,s.jsx)("div",{className:"flex items-center gap-2",children:["#84cc16","#22d3ee","#f43f5e","#eab308","#10b981"].map(e=>(0,s.jsx)("button",{onClick:()=>k(e),className:`w-6 h-6 rounded-full border transition-all cursor-pointer ${y===e?"ring-2 ring-zinc-800 dark:ring-zinc-200 scale-110 border-transparent shadow":"border-zinc-200 dark:border-zinc-850 hover:scale-105"}`,style:{backgroundColor:e}},e))})]})]}),(0,s.jsxs)("div",{className:"border-t border-zinc-100 dark:border-zinc-800/80 pt-4 space-y-4",children:[(0,s.jsx)("h4",{className:"font-bold text-xs uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.themeSettings}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5 items-center",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between bg-zinc-50/50 dark:bg-zinc-800/20 p-3 rounded-xl border border-zinc-100 dark:border-zinc-800/50",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-xs font-bold text-zinc-700 dark:text-zinc-200 block",children:ei.themeMode}),(0,s.jsx)("span",{className:"text-[10px] text-zinc-400 dark:text-zinc-500 font-bold uppercase tracking-wider block mt-0.5",children:C?ei.themeDark:ei.themeLight})]}),(0,s.jsx)(oo,{checked:C,onCheckedChange:P,variant:"dark"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 block",children:ei.accentColorLabel}),(0,s.jsx)("div",{className:"flex items-center gap-2",children:ob.map(e=>(0,s.jsx)("button",{onClick:()=>M(e.name),className:`w-6 h-6 rounded-full border transition-all cursor-pointer relative ${T===e.name?"ring-2 ring-[var(--accent-color)] dark:ring-white scale-110 border-transparent shadow":"border-zinc-200 dark:border-zinc-850 hover:scale-105"}`,style:{backgroundColor:e.color},title:e.name.toUpperCase(),children:T===e.name&&(0,s.jsx)("span",{className:"absolute inset-0 flex items-center justify-center text-[10px] text-white font-bold select-none",children:"✓"})},e.name))})]})]})]})]}),(0,s.jsxs)("div",{className:`grid gap-6 ${w&&S?"grid-cols-1 md:grid-cols-2":"grid-cols-1"}`,children:[w&&(0,s.jsx)("div",{className:"h-52",children:(0,s.jsx)(op,{title:ei.micSignal,buffer:K,strokeColor:v,isTalking:_&&$,lineWidth:m,traceFade:g,isDark:C,lang:i})}),S&&(0,s.jsx)("div",{className:"h-52",children:(0,s.jsx)(op,{title:ei.aiSignal,buffer:Y,strokeColor:y,isTalking:_&&$,lineWidth:m,traceFade:g,isDark:C,lang:i})})]})]})]})]},"changer"),"model"===n&&(0,s.jsxs)(sA.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-zinc-900 dark:text-zinc-50",children:ei.modelConfigTitle}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 mt-1 uppercase tracking-wider font-bold",children:"Adjust execution backends, voice character weights, and local latency presets."})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-6 space-y-6 transition-colors",children:[(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsxs)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 flex items-center gap-1.5",children:[(0,s.jsx)(s0,{className:"w-3.5 h-3.5 text-[var(--accent-color)]"}),ei.quickPresets]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,s.jsx)(on,{variant:"outline",onClick:()=>et("latency"),className:"text-xs justify-center gap-1.5 h-10 bg-zinc-50 dark:bg-zinc-850 hover:bg-[var(--accent-soft)] dark:hover:bg-[var(--accent-soft)]/20 hover:text-[var(--accent-text)] dark:hover:text-[var(--accent-color)] border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300 hover:border-[var(--accent-hover)] transition-colors",children:ei.latencyPreset}),(0,s.jsx)(on,{variant:"outline",onClick:()=>et("quality"),className:"text-xs justify-center gap-1.5 h-10 bg-zinc-50 dark:bg-zinc-850 hover:bg-[var(--accent-soft)] dark:hover:bg-[var(--accent-soft)]/20 hover:text-[var(--accent-text)] dark:hover:text-[var(--accent-color)] border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300 hover:border-[var(--accent-hover)] transition-colors",children:ei.qualityPreset})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.selectModel}),(0,s.jsx)(oa,{options:om,value:E.model_name,onChange:e=>D(t=>({...t,model_name:e.target.value}))})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.executionProvider}),(0,s.jsx)(oa,{options:of,value:E.device,onChange:e=>D(t=>({...t,device:e.target.value}))})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.routingMode}),(0,s.jsx)(oa,{options:og,value:E.routing_mode,onChange:e=>D(t=>({...t,routing_mode:e.target.value}))})]}),"hardware"===E.routing_mode&&(0,s.jsxs)(sA.div,{className:"space-y-4 p-4 rounded-xl border border-[var(--accent-soft)]/50 dark:border-[var(--accent-color)]/20 bg-[var(--accent-soft)]/5 dark:bg-[var(--accent-color)]/5 shadow-inner",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},transition:{duration:.2},children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("label",{className:"text-xs font-bold uppercase tracking-wider text-[var(--accent-text)] dark:text-[var(--accent-color)] flex items-center gap-1",children:["🎙️ ",ei.serverInput]}),(0,s.jsx)(oa,{options:Z.length>0?Z:[{value:"none",label:"No devices found"}],value:null!==E.input_device?String(E.input_device):"",onChange:e=>D(t=>({...t,input_device:"none"!==e.target.value?parseInt(e.target.value):null})),className:"bg-white dark:bg-zinc-900 border-[var(--accent-soft)] text-[var(--accent-text)] dark:text-[var(--accent-color)]"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("label",{className:"text-xs font-bold uppercase tracking-wider text-[var(--accent-text)] dark:text-[var(--accent-color)] flex items-center gap-1",children:["🔊 ",ei.serverOutput]}),(0,s.jsx)(oa,{options:J.length>0?J:[{value:"none",label:"No devices found"}],value:null!==E.output_device?String(E.output_device):"",onChange:e=>D(t=>({...t,output_device:"none"!==e.target.value?parseInt(e.target.value):null})),className:"bg-white dark:bg-zinc-900 border-[var(--accent-soft)] text-[var(--accent-text)] dark:text-[var(--accent-color)]"})]})]}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.pitchMethod}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3",children:ox.map(e=>(0,s.jsxs)("label",{className:`flex items-center gap-3 p-3.5 rounded-xl border transition-all cursor-pointer ${E.f0_method===e.value?"border-[var(--accent-color)] bg-[var(--accent-soft)]/10 text-[var(--accent-text)] dark:text-[var(--accent-color)] font-bold":"border-zinc-200 dark:border-zinc-800 hover:bg-zinc-50 dark:hover:bg-zinc-800/50 text-zinc-600 dark:text-zinc-400"}`,children:[(0,s.jsx)("input",{type:"radio",name:"f0_method",value:e.value,checked:E.f0_method===e.value,onChange:()=>D(t=>({...t,f0_method:e.value})),className:"sr-only"}),(0,s.jsx)("div",{className:`w-4 h-4 rounded-full border-2 flex items-center justify-center ${E.f0_method===e.value?"border-[var(--accent-color)]":"border-zinc-400 dark:border-zinc-650"}`,children:E.f0_method===e.value&&(0,s.jsx)("div",{className:"w-2 h-2 rounded-full bg-[var(--accent-color)]"})}),(0,s.jsx)("span",{className:"text-xs font-semibold",children:e.label})]},e.value))})]}),(0,s.jsxs)("div",{className:"space-y-3 pt-2",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-sm font-medium",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.transpose}),(0,s.jsxs)("span",{className:"text-xs font-black text-zinc-800 dark:text-zinc-200 bg-zinc-100 dark:bg-zinc-800 px-2 py-0.5 rounded-md",children:[E.f0_up_key>=0?"+":"",E.f0_up_key," semitone"]})]}),(0,s.jsx)(os,{min:-24,max:24,step:1,value:E.f0_up_key,onValueChange:e=>D(t=>({...t,f0_up_key:e}))}),(0,s.jsxs)("div",{className:"flex justify-between text-[9px] text-zinc-400 dark:text-zinc-500 font-bold uppercase tracking-wider px-0.5",children:[(0,s.jsx)("span",{children:ei.transposeMale}),(0,s.jsx)("span",{children:ei.transposeNormal}),(0,s.jsx)("span",{children:ei.transposeFemale})]})]})]})]},"model"),"dsp"===n&&(0,s.jsxs)(sA.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-zinc-900 dark:text-zinc-50",children:ei.dspTitle}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 mt-1 uppercase tracking-wider font-bold",children:"Filter out background noise, stage microphone digital volume, and buffer packets."})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-6 space-y-6 transition-colors",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-sm font-medium",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.noiseGate}),(0,s.jsxs)("span",{className:"text-xs font-black text-zinc-800 dark:text-zinc-200 bg-zinc-100 dark:bg-zinc-800 px-2 py-0.5 rounded-md",children:[E.noise_gate," dB"]})]}),(0,s.jsx)(os,{min:-60,max:-10,step:1,value:E.noise_gate,onValueChange:e=>D(t=>({...t,noise_gate:e}))}),(0,s.jsxs)("div",{className:"flex justify-between text-[9px] text-zinc-400 dark:text-zinc-500 font-bold uppercase tracking-wider px-0.5",children:[(0,s.jsx)("span",{children:ei.noiseGateSens}),(0,s.jsx)("span",{children:ei.noiseGateDefault}),(0,s.jsx)("span",{children:ei.noiseGateStrict})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-sm font-medium",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.inputGain}),(0,s.jsxs)("span",{className:"text-xs font-black text-[var(--accent-text)] dark:text-[var(--accent-color)] bg-[var(--accent-soft)] dark:bg-[var(--accent-color)]/10 px-2 py-0.5 rounded-md",children:[E.input_gain.toFixed(1),"x"]})]}),(0,s.jsx)(os,{min:0,max:3,step:.1,value:E.input_gain,onValueChange:e=>D(t=>({...t,input_gain:e}))})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex justify-between items-center text-sm font-medium",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.outputGain}),(0,s.jsxs)("span",{className:"text-xs font-black text-[var(--accent-text)] dark:text-[var(--accent-color)] bg-[var(--accent-soft)] dark:bg-[var(--accent-color)]/10 px-2 py-0.5 rounded-md",children:[E.output_gain.toFixed(1),"x"]})]}),(0,s.jsx)(os,{min:0,max:3,step:.1,value:E.output_gain,onValueChange:e=>D(t=>({...t,output_gain:e}))})]})]}),"browser"===E.routing_mode&&(0,s.jsxs)("div",{className:"p-4 rounded-xl border border-zinc-200/50 dark:border-zinc-800/60 bg-zinc-50 dark:bg-zinc-800/20 flex items-center justify-between transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(sq,{className:"w-5 h-5 text-zinc-400 dark:text-zinc-500"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-zinc-700 dark:text-zinc-200",children:ei.noiseCancel}),(0,s.jsx)("p",{className:"text-[10px] text-zinc-400 dark:text-zinc-500 font-bold uppercase tracking-wider mt-0.5",children:ei.noiseCancelDesc})]})]}),(0,s.jsx)(oo,{checked:!0,onCheckedChange:()=>{}})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("label",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500",children:ei.bufferSize}),(0,s.jsx)(oa,{options:ov,value:String(E.chunk_size),onChange:e=>D(t=>({...t,chunk_size:parseInt(e.target.value)}))})]})]})]},"dsp"),"shortcuts"===n&&(0,s.jsxs)(sA.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-zinc-900 dark:text-zinc-50",children:ei.shortcutsTitle}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 mt-1 uppercase tracking-wider font-bold",children:ei.shortcutsDesc})]}),(0,s.jsx)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-6 overflow-hidden transition-colors",children:(0,s.jsx)("div",{className:"divide-y divide-zinc-100 dark:divide-zinc-800",children:er.map(e=>(0,s.jsxs)("div",{className:"flex justify-between items-center py-4 first:pt-0 last:pb-0 hover:bg-zinc-50/50 dark:hover:bg-zinc-800/30 px-3 rounded-lg transition-colors",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-zinc-700 dark:text-zinc-300",children:e.description}),(0,s.jsx)("kbd",{className:"px-3 py-1.5 bg-zinc-100 dark:bg-zinc-800 border border-zinc-200/80 dark:border-zinc-750 rounded-xl shadow-sm text-xs font-black text-zinc-800 dark:text-zinc-200 tabular-nums",children:e.keys})]},e.keys))})})]},"shortcuts"),"credits"===n&&(0,s.jsxs)(sA.div,{initial:{opacity:0,x:10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},transition:{duration:.2},className:"space-y-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-zinc-900 dark:text-zinc-50",children:ei.creditsTitle}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 mt-1 uppercase tracking-wider font-bold",children:ei.creditsDescription})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"col-span-1 md:col-span-2 bg-[var(--accent-soft)]/10 dark:bg-[var(--accent-color)]/5 border border-[var(--accent-soft)]/50 dark:border-[var(--accent-color)]/20 shadow-sm rounded-2xl p-6 space-y-2 hover:border-[var(--accent-hover)] transition-all group relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute top-0 right-0 bg-[var(--accent-color)] text-white text-[9px] font-black px-3 py-1 rounded-bl-xl uppercase tracking-wider",children:"Developer"}),(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditCreatorTitle}),(0,s.jsx)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-150 tracking-tight flex items-center justify-between",children:"Kanara Technology"}),(0,s.jsx)("p",{className:"text-xs text-zinc-600 dark:text-zinc-300 leading-relaxed max-w-[90%]",children:ei.creditCreatorDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditNeuralTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["Retrieval-based Voice Conversion (RVC)",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"MIT License"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditNeuralDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditEngineTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["ONNX Runtime",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"MIT License"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditEngineDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditPitchTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["RMVPE Model",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"MIT License"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditPitchDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditPipelineTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["Web Audio API & WebSockets",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"W3C Standard"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditPipelineDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditFrameworkTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["React 19 & Next.js 16",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"MIT License"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditFrameworkDesc})]}),(0,s.jsxs)("div",{className:"bg-white dark:bg-zinc-900 border border-zinc-200/50 dark:border-zinc-800/80 shadow-sm rounded-2xl p-5 space-y-2 hover:border-[var(--accent-color)]/50 transition-all group",children:[(0,s.jsx)("span",{className:"text-[10px] font-bold text-[var(--accent-text)] dark:text-[var(--accent-color)] uppercase tracking-wider block",children:ei.creditDesignTitle}),(0,s.jsxs)("h3",{className:"text-sm font-black text-zinc-800 dark:text-zinc-200 tracking-tight flex items-center justify-between",children:["Tailwind CSS & Framer Motion",(0,s.jsx)("span",{className:"text-[10px] font-semibold text-zinc-400 group-hover:text-[var(--accent-color)] transition-colors",children:"MIT License"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 leading-relaxed",children:ei.creditDesignDesc})]})]})]},"credits")]})}),(0,s.jsx)(sA.div,{className:"absolute bottom-6 left-1/2 -translate-x-1/2 bg-zinc-900/95 dark:bg-zinc-950/95 backdrop-blur-md text-white border border-zinc-800/80 dark:border-zinc-800/50 shadow-2xl rounded-full px-6 py-3.5 z-40 max-w-[90%] sm:max-w-max transition-colors",initial:{y:80,opacity:0},animate:{y:0,opacity:1},transition:{delay:.1,duration:.3},children:(0,s.jsxs)("div",{className:"flex items-center gap-5 flex-wrap justify-center text-xs",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("span",{className:"text-[10px] font-bold text-zinc-500 uppercase tracking-widest",children:[ei.hudLatency,":"]}),(0,s.jsx)("span",{className:"font-black text-[var(--accent-color)] tabular-nums",children:null!==B?`${B} ms`:"-- ms"})]}),(0,s.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-zinc-700"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("span",{className:"text-[10px] font-bold text-zinc-500 uppercase tracking-widest",children:[ei.hudInference,":"]}),(0,s.jsx)("span",{className:"font-black text-cyan-400 tabular-nums",children:null!==O?`${O} ms`:"-- ms"})]}),(0,s.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-zinc-700"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("span",{className:"text-[10px] font-bold text-zinc-500 uppercase tracking-widest",children:[ei.hudDetector,":"]}),(0,s.jsx)("span",{className:`px-2 py-0.5 rounded-full text-[9px] font-bold uppercase tracking-wider transition-colors ${_&&$?"bg-[var(--accent-color)]/20 text-[var(--accent-color)] border border-[var(--accent-color)]/30":"bg-zinc-800 text-zinc-500 border border-zinc-700"}`,children:_&&$?ei.hudTalking:ei.hudSilent})]}),(0,s.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-zinc-700"}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("span",{className:"text-[10px] font-bold text-zinc-500 uppercase tracking-widest",children:[ei.hudSr,":"]}),(0,s.jsxs)("span",{className:"font-black text-zinc-300 tabular-nums",children:[R," Hz"]})]})]})})]}),(0,s.jsx)(od,{isOpen:l,onClose:()=>c(!1),title:ei.shortcutsTitle,children:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 border-b border-zinc-100 dark:border-zinc-800 pb-2",children:ei.shortcutsDesc}),(0,s.jsx)("div",{className:"space-y-3",children:er.map(e=>(0,s.jsxs)("div",{className:"flex justify-between items-center py-2 border-b border-zinc-100 dark:border-zinc-800 last:border-b-0",children:[(0,s.jsx)("span",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-300",children:e.description}),(0,s.jsx)("kbd",{className:"px-2 py-1 bg-zinc-100 dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 rounded-lg text-xs font-bold text-zinc-800 dark:text-zinc-200",children:e.keys})]},e.keys))})]})})]})}],52683)}]); \ No newline at end of file diff --git a/frontend/_next/static/chunks/03~yq9q893hmn.js b/frontend/_next/static/chunks/03~yq9q893hmn.js deleted file mode 100644 index ab422b9..0000000 --- a/frontend/_next/static/chunks/03~yq9q893hmn.js +++ /dev/null @@ -1 +0,0 @@ -!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r,n,o=function(t){return t&&t.Math===Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}),s=!a(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),c=Function.prototype.call,f=s?c.bind(c):function(){return c.apply(c,arguments)},l={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,p=h&&!l.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:l,v={f:p},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=Function.prototype,y=g.call,m=s&&g.bind.bind(y,y),b=s?m:function(t){return function(){return y.apply(t,arguments)}},w=b({}.toString),S=b("".slice),E=function(t){return S(w(t),8,-1)},O=Object,x=b("".split),R=a(function(){return!O("z").propertyIsEnumerable(0)})?function(t){return"String"===E(t)?x(t,""):O(t)}:O,P=function(t){return null==t},A=TypeError,j=function(t){if(P(t))throw new A("Can't call method on "+t);return t},k=function(t){return R(j(t))},I="object"==typeof document&&document.all,T=void 0===I&&void 0!==I?function(t){return"function"==typeof t||t===I}:function(t){return"function"==typeof t},M=function(t){return"object"==typeof t?null!==t:T(t)},L=function(t,e){return arguments.length<2?T(r=i[t])?r:void 0:i[t]&&i[t][e];var r},U=b({}.isPrototypeOf),N=i.navigator,C=N&&N.userAgent,_=C?String(C):"",F=i.process,B=i.Deno,D=F&&F.versions||B&&B.version,z=D&&D.v8;z&&(n=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&_&&(!(r=_.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=_.match(/Chrome\/(\d+)/))&&(n=+r[1]);var W=n,q=i.String,H=!!Object.getOwnPropertySymbols&&!a(function(){var t=Symbol("symbol detection");return!q(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41}),$=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=Object,G=$?function(t){return"symbol"==typeof t}:function(t){var e=L("Symbol");return T(e)&&U(e.prototype,K(t))},V=String,Y=function(t){try{return V(t)}catch(t){return"Object"}},X=TypeError,J=function(t){if(T(t))return t;throw new X(Y(t)+" is not a function")},Q=function(t,e){var r=t[e];return P(r)?void 0:J(r)},Z=TypeError,tt=Object.defineProperty,et=function(t,e){try{tt(i,t,{value:e,configurable:!0,writable:!0})}catch(r){i[t]=e}return e},rt=e(function(t){var e="__core-js_shared__",r=t.exports=i[e]||et(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),nt=function(t,e){return rt[t]||(rt[t]=e||{})},ot=Object,it=function(t){return ot(j(t))},at=b({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return at(it(t),e)},st=0,ct=Math.random(),ft=b(1..toString),lt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ft(++st+ct,36)},ht=i.Symbol,pt=nt("wks"),vt=$?ht.for||ht:ht&&ht.withoutSetter||lt,dt=function(t){return ut(pt,t)||(pt[t]=H&&ut(ht,t)?ht[t]:vt("Symbol."+t)),pt[t]},gt=TypeError,yt=dt("toPrimitive"),mt=function(t,e){if(!M(t)||G(t))return t;var r,n=Q(t,yt);if(n){if(void 0===e&&(e="default"),r=f(n,t,e),!M(r)||G(r))return r;throw new gt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&T(r=t.toString)&&!M(n=f(r,t)))return n;if(T(r=t.valueOf)&&!M(n=f(r,t)))return n;if("string"!==e&&T(r=t.toString)&&!M(n=f(r,t)))return n;throw new Z("Can't convert object to primitive value")}(t,e)},bt=function(t){var e=mt(t,"string");return G(e)?e:e+""},wt=i.document,St=M(wt)&&M(wt.createElement),Et=function(t){return St?wt.createElement(t):{}},Ot=!u&&!a(function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a}),xt=Object.getOwnPropertyDescriptor,Rt={f:u?xt:function(t,e){if(t=k(t),e=bt(e),Ot)try{return xt(t,e)}catch(t){}if(ut(t,e))return d(!f(v.f,t,e),t[e])}},Pt=u&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),At=String,jt=TypeError,kt=function(t){if(M(t))return t;throw new jt(At(t)+" is not an object")},It=TypeError,Tt=Object.defineProperty,Mt=Object.getOwnPropertyDescriptor,Lt="enumerable",Ut="configurable",Nt="writable",Ct={f:u?Pt?function(t,e,r){if(kt(t),e=bt(e),kt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Nt in r&&!r[Nt]){var n=Mt(t,e);n&&n[Nt]&&(t[e]=r.value,r={configurable:Ut in r?r[Ut]:n[Ut],enumerable:Lt in r?r[Lt]:n[Lt],writable:!1})}return Tt(t,e,r)}:Tt:function(t,e,r){if(kt(t),e=bt(e),kt(r),Ot)try{return Tt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new It("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},_t=u?function(t,e,r){return Ct.f(t,e,d(1,r))}:function(t,e,r){return t[e]=r,t},Ft=Function.prototype,Bt=u&&Object.getOwnPropertyDescriptor,Dt=ut(Ft,"name"),zt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Bt(Ft,"name").configurable)},Wt=b(Function.toString);T(rt.inspectSource)||(rt.inspectSource=function(t){return Wt(t)});var qt,Ht,$t,Kt=rt.inspectSource,Gt=i.WeakMap,Vt=T(Gt)&&/native code/.test(String(Gt)),Yt=nt("keys"),Xt=function(t){return Yt[t]||(Yt[t]=lt(t))},Jt={},Qt="Object already initialized",Zt=i.TypeError;if(Vt||rt.state){var te=rt.state||(rt.state=new(0,i.WeakMap));te.get=te.get,te.has=te.has,te.set=te.set,qt=function(t,e){if(te.has(t))throw new Zt(Qt);return e.facade=t,te.set(t,e),e},Ht=function(t){return te.get(t)||{}},$t=function(t){return te.has(t)}}else{var ee=Xt("state");Jt[ee]=!0,qt=function(t,e){if(ut(t,ee))throw new Zt(Qt);return e.facade=t,_t(t,ee,e),e},Ht=function(t){return ut(t,ee)?t[ee]:{}},$t=function(t){return ut(t,ee)}}var re,ne={set:qt,get:Ht,has:$t,enforce:function(t){return $t(t)?Ht(t):qt(t,{})},getterFor:function(t){return function(e){var r;if(!M(e)||(r=Ht(e)).type!==t)throw new Zt("Incompatible receiver, "+t+" required");return r}}},oe=e(function(t){var e=zt.CONFIGURABLE,r=ne.enforce,n=ne.get,o=String,i=Object.defineProperty,s=b("".slice),c=b("".replace),f=b([].join),l=u&&!a(function(){return 8!==i(function(){},"length",{value:8}).length}),h=String(String).split("String"),p=t.exports=function(t,n,a){"Symbol("===s(o(n),0,7)&&(n="["+c(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),a&&a.getter&&(n="get "+n),a&&a.setter&&(n="set "+n),(!ut(t,"name")||e&&t.name!==n)&&(u?i(t,"name",{value:n,configurable:!0}):t.name=n),l&&a&&ut(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ut(a,"constructor")&&a.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=r(t);return ut(p,"source")||(p.source=f(h,"string"==typeof n?n:"")),t};Function.prototype.toString=p(function(){return T(this)&&n(this).source||Kt(this)},"toString")}),ie=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(T(r)&&oe(r,i,n),n.global)o?t[e]=r:et(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:Ct.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ae=Math.ceil,ue=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?ue:ae)(e)},ce=function(t){var e=+t;return e!=e||0===e?0:se(e)},fe=Math.max,le=Math.min,he=function(t,e){var r=ce(t);return r<0?fe(r+e,0):le(r,e)},pe=Math.min,ve=function(t){var e=ce(t);return e>0?pe(e,9007199254740991):0},de=function(t){return ve(t.length)},ge=function(t){return function(e,r,n){var o=k(e),i=de(o);if(0===i)return!t&&-1;var a,u=he(n,i);if(t&&r!=r){for(;i>u;)if((a=o[u++])!=a)return!0}else for(;i>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},ye={includes:ge(!0),indexOf:ge(!1)},me=ye.indexOf,be=b([].push),we=function(t,e){var r,n=k(t),o=0,i=[];for(r in n)!ut(Jt,r)&&ut(n,r)&&be(i,r);for(;e.length>o;)ut(n,r=e[o++])&&(~me(i,r)||be(i,r));return i},Se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=Se.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return we(t,Ee)}},xe={f:Object.getOwnPropertySymbols},Re=b([].concat),Pe=L("Reflect","ownKeys")||function(t){var e=Oe.f(kt(t)),r=xe.f;return r?Re(e,r(t)):e},Ae=function(t,e,r){for(var n=Pe(e),o=Ct.f,i=Rt.f,a=0;aa;)Ct.f(t,r=o[a++],n[r]);return t},Be={f:Fe},De=L("document","documentElement"),ze="prototype",We="script",qe=Xt("IE_PROTO"),He=function(){},$e=function(t){return"<"+We+">"+t+""},Ke=function(t){t.write($e("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ge=function(){try{re=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Ge="undefined"!=typeof document?document.domain&&re?Ke(re):(e=Et("iframe"),r="java"+We+":",e.style.display="none",De.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write($e("document.F=Object")),t.close(),t.F):Ke(re);for(var n=Se.length;n--;)delete Ge[ze][Se[n]];return Ge()};Jt[qe]=!0;var Ve=Object.create||function(t,e){var r;return null!==t?(He[ze]=kt(t),r=new He,He[ze]=null,r[qe]=t):r=Ge(),void 0===e?r:Be.f(r,e)},Ye=Ct.f,Xe=dt("unscopables"),Je=Array.prototype;void 0===Je[Xe]&&Ye(Je,Xe,{configurable:!0,value:Ve(null)});var Qe=function(t){Je[Xe][t]=!0};Ce({target:"Array",proto:!0},{at:function(t){var e=it(this),r=de(e),n=ce(t),o=n>=0?n:r+n;return o<0||o>=r?void 0:e[o]}}),Qe("at");var Ze=function(t,e){return b(i[t].prototype[e])},tr=(Ze("Array","at"),TypeError),er=function(t,e){if(!delete t[e])throw new tr("Cannot delete property "+Y(e)+" of "+Y(t))},rr=Math.min,nr=[].copyWithin||function(t,e){var r=it(this),n=de(r),o=he(t,n),i=he(e,n),a=arguments.length>2?arguments[2]:void 0,u=rr((void 0===a?n:he(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:er(r,o),o+=s,i+=s;return r};Ce({target:"Array",proto:!0},{copyWithin:nr}),Qe("copyWithin"),Ze("Array","copyWithin"),Ce({target:"Array",proto:!0},{fill:function(t){for(var e=it(this),r=de(e),n=arguments.length,o=he(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:he(i,r);a>o;)e[o++]=t;return e}}),Qe("fill"),Ze("Array","fill");var or=function(t){if("Function"===E(t))return b(t)},ir=or(or.bind),ar=function(t,e){return J(t),void 0===e?t:s?ir(t,e):function(){return t.apply(e,arguments)}},ur=Array.isArray||function(t){return"Array"===E(t)},sr={};sr[dt("toStringTag")]="z";var cr="[object z]"===String(sr),fr=dt("toStringTag"),lr=Object,hr="Arguments"===E(function(){return arguments}()),pr=cr?E:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=lr(t),fr))?r:hr?E(e):"Object"===(n=E(e))&&T(e.callee)?"Arguments":n},vr=function(){},dr=L("Reflect","construct"),gr=/^\s*(?:class|function)\b/,yr=b(gr.exec),mr=!gr.test(vr),br=function(t){if(!T(t))return!1;try{return dr(vr,[],t),!0}catch(t){return!1}},wr=function(t){if(!T(t))return!1;switch(pr(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mr||!!yr(gr,Kt(t))}catch(t){return!0}};wr.sham=!0;var Sr=!dr||a(function(){var t;return br(br.call)||!br(Object)||!br(function(){t=!0})||t})?wr:br,Er=dt("species"),Or=Array,xr=function(t,e){return new(function(t){var e;return ur(t)&&(Sr(e=t.constructor)&&(e===Or||ur(e.prototype))||M(e)&&null===(e=e[Er]))&&(e=void 0),void 0===e?Or:e}(t))(0===e?0:e)},Rr=b([].push),Pr=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(s,c,f,l){for(var h,p,v=it(s),d=R(v),g=de(d),y=ar(c,f),m=0,b=l||xr,w=e?b(s,g):r||a?b(s,0):void 0;g>m;m++)if((u||m in d)&&(p=y(h=d[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:Rr(w,h)}else switch(t){case 4:return!1;case 7:Rr(w,h)}return i?-1:n||o?o:w}},Ar={forEach:Pr(0),map:Pr(1),filter:Pr(2),some:Pr(3),every:Pr(4),find:Pr(5),findIndex:Pr(6),filterReject:Pr(7)},jr=Ar.find,kr="find",Ir=!0;kr in[]&&Array(1)[kr](function(){Ir=!1}),Ce({target:"Array",proto:!0,forced:Ir},{find:function(t){return jr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(kr),Ze("Array","find");var Tr=Ar.findIndex,Mr="findIndex",Lr=!0;Mr in[]&&Array(1)[Mr](function(){Lr=!1}),Ce({target:"Array",proto:!0,forced:Lr},{findIndex:function(t){return Tr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe(Mr),Ze("Array","findIndex");var Ur=TypeError,Nr=function(t){if(t>9007199254740991)throw Ur("Maximum allowed index exceeded");return t},Cr=function(t,e,r,n,o,i,a,u){for(var s,c,f=o,l=0,h=!!a&&ar(a,u);l0&&ur(s)?(c=de(s),f=Cr(t,e,s,c,f,i-1)-1):(Nr(f+1),t[f]=s),f++),l++;return f},_r=Cr;Ce({target:"Array",proto:!0},{flatMap:function(t){var e,r=it(this),n=de(r);return J(t),(e=xr(r,0)).length=_r(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qe("flatMap"),Ze("Array","flatMap"),Ce({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=it(this),r=de(e),n=xr(e,0);return n.length=_r(n,e,e,r,0,void 0===t?1:ce(t)),n}}),Qe("flat"),Ze("Array","flat");var Fr,Br,Dr,zr=String,Wr=function(t){if("Symbol"===pr(t))throw new TypeError("Cannot convert a Symbol value to a string");return zr(t)},qr=b("".charAt),Hr=b("".charCodeAt),$r=b("".slice),Kr=function(t){return function(e,r){var n,o,i=Wr(j(e)),a=ce(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=Hr(i,a))<55296||n>56319||a+1===u||(o=Hr(i,a+1))<56320||o>57343?t?qr(i,a):n:t?$r(i,a,a+2):o-56320+(n-55296<<10)+65536}},Gr={codeAt:Kr(!1),charAt:Kr(!0)},Vr=!a(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Yr=Xt("IE_PROTO"),Xr=Object,Jr=Xr.prototype,Qr=Vr?Xr.getPrototypeOf:function(t){var e=it(t);if(ut(e,Yr))return e[Yr];var r=e.constructor;return T(r)&&e instanceof r?r.prototype:e instanceof Xr?Jr:null},Zr=dt("iterator"),tn=!1;[].keys&&("next"in(Dr=[].keys())?(Br=Qr(Qr(Dr)))!==Object.prototype&&(Fr=Br):tn=!0);var en=!M(Fr)||a(function(){var t={};return Fr[Zr].call(t)!==t});en&&(Fr={}),T(Fr[Zr])||ie(Fr,Zr,function(){return this});var rn={IteratorPrototype:Fr,BUGGY_SAFARI_ITERATORS:tn},nn=Ct.f,on=dt("toStringTag"),an=function(t,e,r){t&&!r&&(t=t.prototype),t&&!ut(t,on)&&nn(t,on,{configurable:!0,value:e})},un={},sn=rn.IteratorPrototype,cn=function(){return this},fn=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Ve(sn,{next:d(+!n,r)}),an(t,o,!1),un[o]=cn,t},ln=function(t,e,r){try{return b(J(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hn=String,pn=TypeError,vn=function(t){if(function(t){return M(t)||null===t}(t))return t;throw new pn("Can't set "+hn(t)+" as a prototype")},dn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=ln(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),vn(n),M(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),gn=zt.PROPER,yn=zt.CONFIGURABLE,mn=rn.IteratorPrototype,bn=rn.BUGGY_SAFARI_ITERATORS,wn=dt("iterator"),Sn="keys",En="values",On="entries",xn=function(){return this},Rn=function(t,e,r,n,o,i,a){fn(r,e,n);var u,s,c,l=function(t){if(t===o&&g)return g;if(!bn&&t&&t in v)return v[t];switch(t){case Sn:case En:case On:return function(){return new r(this,t)}}return function(){return new r(this)}},h=e+" Iterator",p=!1,v=t.prototype,d=v[wn]||v["@@iterator"]||o&&v[o],g=!bn&&d||l(o),y="Array"===e&&v.entries||d;if(y&&(u=Qr(y.call(new t)))!==Object.prototype&&u.next&&(Qr(u)!==mn&&(dn?dn(u,mn):T(u[wn])||ie(u,wn,xn)),an(u,h,!0)),gn&&o===En&&d&&d.name!==En&&(yn?_t(v,"name",En):(p=!0,g=function(){return f(d,this)})),o)if(s={values:l(En),keys:i?g:l(Sn),entries:l(On)},a)for(c in s)(bn||p||!(c in v))&&ie(v,c,s[c]);else Ce({target:e,proto:!0,forced:bn||p},s);return v[wn]!==g&&ie(v,wn,g,{name:o}),un[e]=g,s},Pn=function(t,e){return{value:t,done:e}},An=Gr.charAt,jn="String Iterator",kn=ne.set,In=ne.getterFor(jn);Rn(String,"String",function(t){kn(this,{type:jn,string:Wr(t),index:0})},function(){var t,e=In(this),r=e.string,n=e.index;return n>=r.length?Pn(void 0,!0):(t=An(r,n),e.index+=t.length,Pn(t,!1))});var Tn=function(t,e,r){var n,o;kt(t);try{if(!(n=Q(t,"return"))){if("throw"===e)throw r;return r}n=f(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return kt(n),r},Mn=function(t,e,r,n){try{return n?e(kt(r)[0],r[1]):e(r)}catch(e){Tn(t,"throw",e)}},Ln=dt("iterator"),Un=Array.prototype,Nn=function(t){return void 0!==t&&(un.Array===t||Un[Ln]===t)},Cn=function(t,e,r){u?Ct.f(t,e,d(0,r)):t[e]=r},_n=dt("iterator"),Fn=function(t){if(!P(t))return Q(t,_n)||Q(t,"@@iterator")||un[pr(t)]},Bn=TypeError,Dn=function(t,e){var r=arguments.length<2?Fn(t):e;if(J(r))return kt(f(r,t));throw new Bn(Y(t)+" is not iterable")},zn=Array,Wn=function(t){var e=it(t),r=Sr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ar(o,n>2?arguments[2]:void 0));var a,u,s,c,l,h,p=Fn(e),v=0;if(!p||this===zn&&Nn(p))for(a=de(e),u=r?new this(a):zn(a);a>v;v++)h=i?o(e[v],v):e[v],Cn(u,v,h);else for(u=r?new this:[],l=(c=Dn(e,p)).next;!(s=f(l,c)).done;v++)h=i?Mn(c,o,[s.value,v],!0):s.value,Cn(u,v,h);return u.length=v,u},qn=dt("iterator"),Hn=!1;try{var $n=0,Kn={next:function(){return{done:!!$n++}},return:function(){Hn=!0}};Kn[qn]=function(){return this},Array.from(Kn,function(){throw 2})}catch(t){}var Gn=function(t,e){try{if(!e&&!Hn)return!1}catch(t){return!1}var r=!1;try{var n={};n[qn]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Vn=!Gn(function(t){Array.from(t)});Ce({target:"Array",stat:!0,forced:Vn},{from:Wn});var Yn=i,Xn=ye.includes,Jn=a(function(){return!Array(1).includes()});Ce({target:"Array",proto:!0,forced:Jn},{includes:function(t){return Xn(this,t,arguments.length>1?arguments[1]:void 0)}}),Qe("includes"),Ze("Array","includes");var Qn=Ct.f,Zn="Array Iterator",to=ne.set,eo=ne.getterFor(Zn),ro=Rn(Array,"Array",function(t,e){to(this,{type:Zn,target:k(t),index:0,kind:e})},function(){var t=eo(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);switch(t.kind){case"keys":return Pn(r,!1);case"values":return Pn(e[r],!1)}return Pn([r,e[r]],!1)},"values"),no=un.Arguments=un.Array;if(Qe("keys"),Qe("values"),Qe("entries"),u&&"values"!==no.name)try{Qn(no,"name",{value:"values"})}catch(t){}cr||ie(Object.prototype,"toString",cr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0}),Ze("Array","values");var oo=Array,io=a(function(){function t(){}return!(oo.of.call(t)instanceof t)});Ce({target:"Array",stat:!0,forced:io},{of:function(){for(var t=0,e=arguments.length,r=new(Sr(this)?this:oo)(e);e>t;)Cn(r,t,arguments[t++]);return r.length=e,r}});var ao=dt("hasInstance"),uo=Function.prototype;ao in uo||Ct.f(uo,ao,{value:oe(function(t){if(!T(this)||!M(t))return!1;var e=this.prototype;return M(e)?U(e,t):t instanceof this},ao)}),dt("hasInstance");var so=function(t,e,r){return r.get&&oe(r.get,e,{getter:!0}),r.set&&oe(r.set,e,{setter:!0}),Ct.f(t,e,r)},co=zt.EXISTS,fo=Function.prototype,lo=b(fo.toString),ho=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,po=b(ho.exec);u&&!co&&so(fo,"name",{configurable:!0,get:function(){try{return po(ho,lo(this))[1]}catch(t){return""}}});var vo=b([].slice),go=Oe.f,yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mo={f:function(t){return yo&&"Window"===E(t)?function(t){try{return go(t)}catch(t){return vo(yo)}}(t):go(k(t))}},bo=a(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),wo=Object.isExtensible,So=a(function(){wo(1)})||bo?function(t){return!!M(t)&&(!bo||"ArrayBuffer"!==E(t))&&(!wo||wo(t))}:wo,Eo=!a(function(){return Object.isExtensible(Object.preventExtensions({}))}),Oo=e(function(t){var e=Ct.f,r=!1,n=lt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=Oe.f,e=b([].splice),o={};o[n]=1,t(o).length&&(Oe.f=function(r){for(var o=t(r),i=0,a=o.length;ii;i++)if((u=y(t[i]))&&U(Po,u))return u;return new Ro(!1)}n=Dn(t,o)}for(s=h?t.next:n.next;!(c=f(s,n)).done;){try{u=y(c.value)}catch(t){Tn(n,"throw",t)}if("object"==typeof u&&u&&U(Po,u))return u}return new Ro(!1)},jo=TypeError,ko=function(t,e){if(U(e,t))return t;throw new jo("Incorrect invocation")},Io=function(t,e,r){var n,o;return dn&&T(n=e.constructor)&&n!==r&&M(o=n.prototype)&&o!==r.prototype&&dn(t,o),t},To=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),u=n?"set":"add",s=i[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=b(c[t]);ie(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!M(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(o&&!M(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Ue(t,!T(s)||!(o||c.forEach&&!a(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,n,u),Oo.enable();else if(Ue(t,!0)){var p=new f,v=p[u](o?{}:-0,1)!==p,d=a(function(){p.has(1)}),g=Gn(function(t){new s(t)}),y=!o&&a(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(t,e){ko(t,c);var r=Io(new s,t,f);return P(e)||Ao(e,r[u],{that:r,AS_ENTRIES:n}),r})).prototype=c,c.constructor=f),(d||y)&&(h("delete"),h("has"),n&&h("get")),(y||v)&&h(u),o&&c.clear&&delete c.clear}return l[t]=f,Ce({global:!0,constructor:!0,forced:f!==s},l),an(f,t),o||r.setStrong(f,t,n),f},Mo=function(t,e,r){for(var n in e)ie(t,n,e[n],r);return t},Lo=dt("species"),Uo=function(t){var e=L(t);u&&e&&!e[Lo]&&so(e,Lo,{configurable:!0,get:function(){return this}})},No=Oo.fastKey,Co=ne.set,_o=ne.getterFor,Fo={getConstructor:function(t,e,r,n){var o=t(function(t,o){ko(t,i),Co(t,{type:e,index:Ve(null),first:null,last:null,size:0}),u||(t.size=0),P(o)||Ao(o,t[n],{that:t,AS_ENTRIES:r})}),i=o.prototype,a=_o(e),s=function(t,e,r){var n,o,i=a(t),s=c(t,e);return s?s.value=r:(i.last=s={index:o=No(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=s),n&&(n.next=s),u?i.size++:t.size++,"F"!==o&&(i.index[o]=s)),t},c=function(t,e){var r,n=a(t),o=No(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return Mo(i,{clear:function(){for(var t=a(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=Ve(null),u?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=c(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),u?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=ar(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Mo(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return s(this,0===t?0:t,e)}}:{add:function(t){return s(this,t=0===t?0:t,t)}}),u&&so(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=_o(e),i=_o(n);Rn(t,e,function(t,e){Co(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?Pn("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,Pn(void 0,!0))},r?"entries":"values",!r,!0),Uo(e)}};To("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var Bo=Map.prototype,Do={Map:Map,set:b(Bo.set),get:b(Bo.get),has:b(Bo.has),remove:b(Bo.delete),proto:Bo},zo=Do.Map,Wo=Do.has,qo=Do.get,Ho=Do.set,$o=b([].push),Ko=a(function(){return 1!==zo.groupBy("ab",function(t){return t}).get("a").length});Ce({target:"Map",stat:!0,forced:Ko},{groupBy:function(t,e){j(t),J(e);var r=new zo,n=0;return Ao(t,function(t){var o=e(t,n++);Wo(r,o)?$o(qo(r,o),t):Ho(r,o,[t])}),r}});var Go={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vo=Et("span").classList,Yo=Vo&&Vo.constructor&&Vo.constructor.prototype,Xo=Yo===Object.prototype?void 0:Yo,Jo=dt("iterator"),Qo=ro.values,Zo=function(t,e){if(t){if(t[Jo]!==Qo)try{_t(t,Jo,Qo)}catch(e){t[Jo]=Qo}if(an(t,e,!0),Go[e])for(var r in ro)if(t[r]!==ro[r])try{_t(t,r,ro[r])}catch(e){t[r]=ro[r]}}};for(var ti in Go)Zo(i[ti]&&i[ti].prototype,ti);Zo(Xo,"DOMTokenList");var ei=function(t,e,r){return function(n){var o=it(n),i=arguments.length,a=i>1?arguments[1]:void 0,u=void 0!==a,s=u?ar(a,i>2?arguments[2]:void 0):void 0,c=new t,f=0;return Ao(o,function(t){var n=u?s(t,f++):t;r?e(c,kt(n)[0],n[1]):e(c,n)}),c}};Ce({target:"Map",stat:!0,forced:!0},{from:ei(Do.Map,Do.set,!0)});var ri=function(t,e,r){return function(){for(var n=new t,o=arguments.length,i=0;i1?arguments[1]:void 0);return!1!==di(e,function(t,n){if(!r(t,n,e))return!1},!0)}});var gi=Do.Map,yi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new gi;return di(e,function(t,o){r(t,o,e)&&yi(n,o,t)}),n}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{find:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=di(e,function(t,n){if(r(t,n,e))return{key:n}},!0);return n&&n.key}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(t){return!0===di(oi(this),function(e){if((r=e)===(n=t)||r!=r&&n!=n)return!0;var r,n},!0)}});var mi=Do.Map;Ce({target:"Map",stat:!0,forced:!0},{keyBy:function(t,e){var r=new(T(this)?this:mi);J(e);var n=J(r.set);return Ao(t,function(t){f(n,r,e(t),t)}),r}}),Ce({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(t){var e=di(oi(this),function(e,r){if(e===t)return{key:r}},!0);return e&&e.key}});var bi=Do.Map,wi=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new bi;return di(e,function(t,o){wi(n,r(t,o,e),t)}),n}});var Si=Do.Map,Ei=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(t){var e=oi(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new Si;return di(e,function(t,o){Ei(n,o,r(t,o,e))}),n}});var Oi=Do.set;Ce({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(t){for(var e=oi(this),r=arguments.length,n=0;n1?arguments[1]:void 0);return!0===di(e,function(t,n){if(r(t,n,e))return!0},!0)}});var Ri=TypeError,Pi=Do.get,Ai=Do.has,ji=Do.set;Ce({target:"Map",proto:!0,real:!0,forced:!0},{update:function(t,e){var r=oi(this),n=arguments.length;J(e);var o=Ai(r,t);if(!o&&n<3)throw new Ri("Updating absent value");var i=o?Pi(r,t):J(n>2?arguments[2]:void 0)(t,r);return ji(r,t,e(i,t,r)),r}});var ki=TypeError,Ii=function(t,e){var r,n=kt(this),o=J(n.get),i=J(n.has),a=J(n.set),u=arguments.length>2?arguments[2]:void 0;if(!T(e)&&!T(u))throw new ki("At least one callback required");return f(i,n,t)?(r=f(o,n,t),T(e)&&(r=e(r),f(a,n,t,r))):T(u)&&(r=u(),f(a,n,t,r)),r};Ce({target:"Map",proto:!0,real:!0,forced:!0},{upsert:Ii}),Ce({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:Ii});var Ti=b(1..valueOf),Mi="\t\n\v\f\r                 \u2028\u2029\ufeff",Li=b("".replace),Ui=RegExp("^["+Mi+"]+"),Ni=RegExp("(^|[^"+Mi+"])["+Mi+"]+$"),Ci=function(t){return function(e){var r=Wr(j(e));return 1&t&&(r=Li(r,Ui,"")),2&t&&(r=Li(r,Ni,"$1")),r}},_i={start:Ci(1),end:Ci(2),trim:Ci(3)},Fi=Oe.f,Bi=Rt.f,Di=Ct.f,zi=_i.trim,Wi="Number",qi=i[Wi],Hi=qi.prototype,$i=i.TypeError,Ki=b("".slice),Gi=b("".charCodeAt),Vi=Ue(Wi,!qi(" 0o1")||!qi("0b1")||qi("+0x1")),Yi=function(t){var e,r=arguments.length<1?0:qi(function(t){var e=mt(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,a,u,s,c=mt(t,"number");if(G(c))throw new $i("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=zi(c),43===(e=Gi(c,0))||45===e){if(88===(r=Gi(c,2))||120===r)return NaN}else if(48===e){switch(Gi(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=Ki(c,2)).length,u=0;uo)return NaN;return parseInt(i,n)}return+c}(e)}(t));return U(Hi,e=this)&&a(function(){Ti(e)})?Io(Object(r),this,Yi):r};Yi.prototype=Hi,Vi&&(Hi.constructor=Yi),Ce({global:!0,constructor:!0,wrap:!0,forced:Vi},{Number:Yi}),Vi&&function(t,e){for(var r,n=u?Fi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)ut(e,r=n[o])&&!ut(t,r)&&Di(t,r,Bi(e,r))}(Yn[Wi],qi),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var Xi=i.isFinite;Ce({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Xi(t)}});var Ji=Math.floor,Qi=Number.isInteger||function(t){return!M(t)&&isFinite(t)&&Ji(t)===t};Ce({target:"Number",stat:!0},{isInteger:Qi}),Ce({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Zi=Math.abs;Ce({target:"Number",stat:!0},{isSafeInteger:function(t){return Qi(t)&&Zi(t)<=9007199254740991}}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Ce({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var ta=_i.trim,ea=b("".charAt),ra=i.parseFloat,na=i.Symbol,oa=na&&na.iterator,ia=1/ra(Mi+"-0")!=-Infinity||oa&&!a(function(){ra(Object(oa))})?function(t){var e=ta(Wr(t)),r=ra(e);return 0===r&&"-"===ea(e,0)?-0:r}:ra;Ce({target:"Number",stat:!0,forced:Number.parseFloat!==ia},{parseFloat:ia});var aa=_i.trim,ua=i.parseInt,sa=i.Symbol,ca=sa&&sa.iterator,fa=/^[+-]?0x/i,la=b(fa.exec),ha=8!==ua(Mi+"08")||22!==ua(Mi+"0x16")||ca&&!a(function(){ua(Object(ca))})?function(t,e){var r=aa(Wr(t));return ua(r,e>>>0||(la(fa,r)?16:10))}:ua;Ce({target:"Number",stat:!0,forced:Number.parseInt!==ha},{parseInt:ha});var pa=b(v.f),va=b([].push),da=u&&a(function(){var t=Object.create(null);return t[2]=2,!pa(t,2)}),ga=function(t){return function(e){for(var r,n=k(e),o=_e(n),i=da&&null===Qr(n),a=o.length,s=0,c=[];a>s;)r=o[s++],u&&!(i?r in n:pa(n,r))||va(c,t?[r,n[r]]:n[r]);return c}},ya={entries:ga(!0),values:ga(!1)},ma=ya.entries;Ce({target:"Object",stat:!0},{entries:function(t){return ma(t)}}),Ce({target:"Object",stat:!0,sham:!u},{getOwnPropertyDescriptors:function(t){for(var e,r,n=k(t),o=Rt.f,i=Pe(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&Cn(a,e,r);return a}});var ba=a(function(){_e(1)});Ce({target:"Object",stat:!0,forced:ba},{keys:function(t){return _e(it(t))}});var wa=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Ce({target:"Object",stat:!0},{is:wa});var Sa=ya.values;Ce({target:"Object",stat:!0},{values:function(t){return Sa(t)}}),Ce({target:"Object",stat:!0},{hasOwn:ut});var Ea=Function.prototype,Oa=Ea.apply,xa=Ea.call,Ra="object"==typeof Reflect&&Reflect.apply||(s?xa.bind(Oa):function(){return xa.apply(Oa,arguments)}),Pa=!a(function(){Reflect.apply(function(){})});Ce({target:"Reflect",stat:!0,forced:Pa},{apply:function(t,e,r){return Ra(J(t),e,kt(r))}});var Aa=Function,ja=b([].concat),ka=b([].join),Ia={},Ta=s?Aa.bind:function(t){var e=J(this),r=e.prototype,n=vo(arguments,1),o=function(){var r=ja(n,vo(arguments));return this instanceof o?function(t,e,r){if(!ut(Ia,e)){for(var n=[],o=0;ob)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}),gs=Oe.f,ys=ne.enforce,ms=dt("match"),bs=i.RegExp,ws=bs.prototype,Ss=i.SyntaxError,Es=b(ws.exec),Os=b("".charAt),xs=b("".replace),Rs=b("".indexOf),Ps=b("".slice),As=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,js=/a/g,ks=/a/g,Is=new bs(js)!==js,Ts=cs.MISSED_STICKY,Ms=cs.UNSUPPORTED_Y,Ls=u&&(!Is||Ts||ps||ds||a(function(){return ks[ms]=!1,bs(js)!==js||bs(ks)===ks||"/a/i"!==String(bs(js,"i"))}));if(Ue("RegExp",Ls)){for(var Us=function(t,e){var r,n,o,i,a,u,s=U(ws,this),c=es(t),f=void 0===e,l=[],h=t;if(!s&&c&&f&&t.constructor===Us)return t;if((c||U(ws,t))&&(t=t.source,f&&(e=os(h))),t=void 0===t?"":Wr(t),e=void 0===e?"":Wr(e),h=t,ps&&"dotAll"in js&&(n=!!e&&Rs(e,"s")>-1)&&(e=xs(e,/s/g,"")),r=e,Ts&&"sticky"in js&&(o=!!e&&Rs(e,"y")>-1)&&Ms&&(e=xs(e,/y/g,"")),ds&&(i=function(t){for(var e,r=t.length,n=0,o="",i=[],a=Ve(null),u=!1,s=!1,c=0,f="";n<=r;n++){if("\\"===(e=Os(t,n)))e+=Os(t,++n);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:if(o+=e,"?:"===Ps(t,n+1,n+3))continue;Es(As,Ps(t,n+1))&&(n+=2,s=!0),c++;continue;case">"===e&&s:if(""===f||ut(a,f))throw new Ss("Invalid capture group name");a[f]=!0,i[i.length]=[f,c],s=!1,f="";continue}s?f+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Io(bs(t,e),s?this:ws,Us),(n||o||l.length)&&(u=ys(a),n&&(u.dotAll=!0,u.raw=Us(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=Os(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+Os(t,++n);return o}(t),r)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==h)try{_t(a,"source",""===h?"(?:)":h)}catch(t){}return a},Ns=gs(bs),Cs=0;Ns.length>Cs;)ls(Us,bs,Ns[Cs++]);ws.constructor=Us,Us.prototype=ws,ie(i,"RegExp",Us,{constructor:!0})}Uo("RegExp");var _s=zt.PROPER,Fs="toString",Bs=RegExp.prototype,Ds=Bs[Fs];(a(function(){return"/a/b"!==Ds.call({source:"a",flags:"b"})})||_s&&Ds.name!==Fs)&&ie(Bs,Fs,function(){var t=kt(this);return"/"+Wr(t.source)+"/"+Wr(os(t))},{unsafe:!0});var zs=ne.get,Ws=RegExp.prototype,qs=TypeError;u&&ps&&so(Ws,"dotAll",{configurable:!0,get:function(){if(this!==Ws){if("RegExp"===E(this))return!!zs(this).dotAll;throw new qs("Incompatible receiver, RegExp required")}}});var Hs=ne.get,$s=nt("native-string-replace",String.prototype.replace),Ks=RegExp.prototype.exec,Gs=Ks,Vs=b("".charAt),Ys=b("".indexOf),Xs=b("".replace),Js=b("".slice),Qs=function(){var t=/a/,e=/b*/g;return f(Ks,t,"a"),f(Ks,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Zs=cs.BROKEN_CARET,tc=void 0!==/()??/.exec("")[1];(Qs||tc||Zs||ps||ds)&&(Gs=function(t){var e,r,n,o,i,a,u,s=this,c=Hs(s),l=Wr(t),h=c.raw;if(h)return h.lastIndex=s.lastIndex,e=f(Gs,h,l),s.lastIndex=h.lastIndex,e;var p=c.groups,v=Zs&&s.sticky,d=f(rs,s),g=s.source,y=0,m=l;if(v&&(d=Xs(d,"y",""),-1===Ys(d,"g")&&(d+="g"),m=Js(l,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Vs(l,s.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),r=new RegExp("^(?:"+g+")",d)),tc&&(r=new RegExp("^"+g+"$(?!\\s)",d)),Qs&&(n=s.lastIndex),o=f(Ks,v?r:s,m),v?o?(o.input=Js(o.input,y),o[0]=Js(o[0],y),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Qs&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),tc&&o&&o.length>1&&f($s,o[0],r,function(){for(i=1;i]*>)/g,Oc=/\$([$&'`]|\d{1,2})/g,xc=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Oc;return void 0!==o&&(o=it(o),s=Ec),wc(i,s,function(i,s){var c;switch(bc(s,0)){case"$":return"$";case"&":return t;case"`":return Sc(e,0,r);case"'":return Sc(e,a);case"<":c=o[Sc(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>u){var l=mc(f/10);return 0===l?i:l<=u?void 0===n[l-1]?bc(s,1):n[l-1]+bc(s,1):i}c=n[f-1]}return void 0===c?"":c})},Rc=dt("replace"),Pc=Math.max,Ac=Math.min,jc=b([].concat),kc=b([].push),Ic=b("".indexOf),Tc=b("".slice),Mc="$0"==="a".replace(/./,"$0"),Lc=!!/./[Rc]&&""===/./[Rc]("a","$0"),Uc=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")});pc("replace",function(t,e,r){var n=Lc?"$":"$0";return[function(t,r){var n=j(this),o=P(t)?void 0:Q(t,Rc);return o?f(o,t,n,r):f(e,Wr(n),t,r)},function(t,o){var i=kt(this),a=Wr(t);if("string"==typeof o&&-1===Ic(o,n)&&-1===Ic(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var s=T(o);s||(o=Wr(o));var c,f=i.global;f&&(c=i.unicode,i.lastIndex=0);for(var l,h=[];null!==(l=yc(i,a))&&(kc(h,l),f);)""===Wr(l[0])&&(i.lastIndex=dc(a,ve(i.lastIndex),c));for(var p,v="",d=0,g=0;g=d&&(v+=Tc(a,d,b)+y,d=b+m.length)}return v+Tc(a,d)}]},!Uc||!Mc||Lc),pc("search",function(t,e,r){return[function(e){var r=j(this),n=P(e)?void 0:Q(e,t);return n?f(n,e,r):new RegExp(e)[t](Wr(r))},function(t){var n=kt(this),o=Wr(t),i=r(e,n,o);if(i.done)return i.value;var a=n.lastIndex;wa(a,0)||(n.lastIndex=0);var u=yc(n,o);return wa(n.lastIndex,a)||(n.lastIndex=a),null===u?-1:u.index}]});var Nc=dt("species"),Cc=function(t,e){var r,n=kt(t).constructor;return void 0===n||P(r=kt(n)[Nc])?e:La(r)},_c=cs.UNSUPPORTED_Y,Fc=Math.min,Bc=b([].push),Dc=b("".slice),zc=!a(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Wc="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;pc("split",function(t,e,r){var n="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:f(e,this,t,r)}:e;return[function(e,r){var o=j(this),i=P(e)?void 0:Q(e,t);return i?f(i,e,o,r):f(n,Wr(o),e,r)},function(t,o){var i=kt(this),a=Wr(t);if(!Wc){var u=r(n,i,a,o,n!==e);if(u.done)return u.value}var s=Cc(i,RegExp),c=i.unicode,f=new s(_c?"^(?:"+i.source+")":i,(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_c?"g":"y")),l=void 0===o?4294967295:o>>>0;if(0===l)return[];if(0===a.length)return null===yc(f,a)?[a]:[];for(var h=0,p=0,v=[];p0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},Kc=b($c),Gc=b("".slice),Vc=Math.ceil,Yc=function(t){return function(e,r,n){var o,i,a=Wr(j(e)),u=ve(r),s=a.length,c=void 0===n?" ":Wr(n);return u<=s||""===c?a:((i=Kc(c,Vc((o=u-s)/c.length))).length>o&&(i=Gc(i,0,o)),t?a+i:i+a)}},Xc={start:Yc(!1),end:Yc(!0)},Jc=Xc.start,Qc=Array,Zc=RegExp.escape,tf=b("".charAt),ef=b("".charCodeAt),rf=b(1.1.toString),nf=b([].join),of=/^[0-9a-z]/i,af=/^[$()*+./?[\\\]^{|}]/,uf=RegExp("^[!\"#%&',\\-:;<=>@`~"+Mi+"]"),sf=b(of.exec),cf={"\t":"t","\n":"n","\v":"v","\f":"f","\r":"r"},ff=function(t){var e=rf(ef(t,0),16);return e.length<3?"\\x"+Jc(e,2,"0"):"\\u"+Jc(e,4,"0")},lf=!Zc||"\\x61b"!==Zc("ab");Ce({target:"RegExp",stat:!0,forced:lf},{escape:function(t){!function(t){if("string"==typeof t)return t;throw new qc("Argument is not a string")}(t);for(var e=t.length,r=Qc(e),n=0;n=56320||n+1>=e||56320!=(64512&ef(t,n+1))?r[n]=ff(o):(r[n]=o,r[++n]=tf(t,n))}}return nf(r,"")}}),To("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Fo);var hf=Set.prototype,pf={Set:Set,add:b(hf.add),has:b(hf.has),remove:b(hf.delete),proto:hf},vf=pf.has,df=function(t){return vf(t),t},gf=pf.Set,yf=pf.proto,mf=b(yf.forEach),bf=b(yf.keys),wf=bf(new gf).next,Sf=function(t,e,r){return r?ci({iterator:bf(t),next:wf},e):mf(t,e)},Ef=pf.Set,Of=pf.add,xf=function(t){var e=new Ef;return Sf(t,function(t){Of(e,t)}),e},Rf=ln(pf.proto,"size","get")||function(t){return t.size},Pf="Invalid size",Af=RangeError,jf=TypeError,kf=Math.max,If=function(t,e){this.set=t,this.size=kf(e,0),this.has=J(t.has),this.keys=J(t.keys)};If.prototype={getIterator:function(){return{iterator:t=kt(f(this.keys,this.set)),next:t.next,done:!1};var t},includes:function(t){return f(this.has,this.set,t)}};var Tf=function(t){kt(t);var e=+t.size;if(e!=e)throw new jf(Pf);var r=ce(e);if(r<0)throw new Af(Pf);return new If(t,r)},Mf=pf.has,Lf=pf.remove,Uf=function(t){var e=df(this),r=Tf(t),n=xf(e);return Rf(e)<=r.size?Sf(e,function(t){r.includes(t)&&Lf(n,t)}):ci(r.getIterator(),function(t){Mf(e,t)&&Lf(n,t)}),n},Nf=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},Cf=function(t){var e=L("Set");try{(new e)[t](Nf(0));try{return(new e)[t](Nf(-1)),!1}catch(t){return!0}}catch(t){return!1}};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("difference")},{difference:Uf});var _f=pf.Set,Ff=pf.add,Bf=pf.has,Df=function(t){var e=df(this),r=Tf(t),n=new _f;return Rf(e)>r.size?ci(r.getIterator(),function(t){Bf(e,t)&&Ff(n,t)}):Sf(e,function(t){r.includes(t)&&Ff(n,t)}),n},zf=!Cf("intersection")||a(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))});Ce({target:"Set",proto:!0,real:!0,forced:zf},{intersection:Df});var Wf=pf.has,qf=function(t){var e=df(this),r=Tf(t);if(Rf(e)<=r.size)return!1!==Sf(e,function(t){if(r.includes(t))return!1},!0);var n=r.getIterator();return!1!==ci(n,function(t){if(Wf(e,t))return Tn(n,"normal",!1)})};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isDisjointFrom")},{isDisjointFrom:qf});var Hf=function(t){var e=df(this),r=Tf(t);return!(Rf(e)>r.size)&&!1!==Sf(e,function(t){if(!r.includes(t))return!1},!0)};Ce({target:"Set",proto:!0,real:!0,forced:!Cf("isSubsetOf")},{isSubsetOf:Hf});var $f=pf.has,Kf=function(t){var e=df(this),r=Tf(t);if(Rf(e)1?arguments[1]:void 0);return!1!==Sf(e,function(t){if(!r(t,t,e))return!1},!0)}});var el=dt("iterator"),rl=Object,nl=L("Set"),ol=function(t){return function(t){return M(t)&&"number"==typeof t.size&&T(t.has)&&T(t.keys)}(t)?t:function(t){if(P(t))return!1;var e=rl(t);return void 0!==e[el]||"@@iterator"in e||ut(un,pr(e))}(t)?new nl(t):t};Ce({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(t){return f(Uf,this,ol(t))}});var il=pf.Set,al=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new il;return Sf(e,function(t){r(t,t,e)&&al(n,t)}),n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=Sf(e,function(t){if(r(t,t,e))return{value:t}},!0);return n&&n.value}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return f(Df,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return f(qf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return f(Hf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return f(Kf,this,ol(t))}});var ul=b([].join),sl=b([].push);Ce({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var e=df(this),r=void 0===t?",":Wr(t),n=[];return Sf(e,function(t){sl(n,t)}),ul(n,r)}});var cl=pf.Set,fl=pf.add;Ce({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0),n=new cl;return Sf(e,function(t){fl(n,r(t,t,e))}),n}});var ll=TypeError;Ce({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var e=df(this),r=arguments.length<2,n=r?void 0:arguments[1];if(J(t),Sf(e,function(o){r?(r=!1,n=o):n=t(n,o,o,e)}),r)throw new ll("Reduce of empty set with no initial value");return n}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var e=df(this),r=ar(t,arguments.length>1?arguments[1]:void 0);return!0===Sf(e,function(t){if(r(t,t,e))return!0},!0)}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return f(Xf,this,ol(t))}}),Ce({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return f(Qf,this,ol(t))}});var hl=dt("species"),pl=dt("isConcatSpreadable"),vl=W>=51||!a(function(){var t=[];return t[pl]=!1,t.concat()[0]!==t}),dl=function(t){if(!M(t))return!1;var e=t[pl];return void 0!==e?!!e:ur(t)},gl=!(vl&&(W>=51||!a(function(){var t=[];return(t.constructor={})[hl]=function(){return{foo:1}},1!==t.concat(Boolean).foo})));Ce({target:"Array",proto:!0,arity:1,forced:gl},{concat:function(t){var e,r,n,o,i,a=it(this),u=xr(a,0),s=0;for(e=-1,n=arguments.length;e1?arguments[1]:void 0,n=e.length,o=void 0===r?n:ip(ve(r),n),i=Wr(t);return op(e,o-i.length,o)===i}}),Ze("String","endsWith");var sp=RangeError,cp=String.fromCharCode,fp=String.fromCodePoint,lp=b([].join);Ce({target:"String",stat:!0,arity:1,forced:!!fp&&1!==fp.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],he(e,1114111)!==e)throw new sp(e+" is not a valid code point");r[o]=e<65536?cp(e):cp(55296+((e-=65536)>>10),e%1024+56320)}return lp(r,"")}});var hp=b("".indexOf);Ce({target:"String",proto:!0,forced:!rp("includes")},{includes:function(t){return!!~hp(Wr(j(this)),Wr(tp(t)),arguments.length>1?arguments[1]:void 0)}}),Ze("String","includes"),b(un.String);var pp=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(_),vp=Xc.start;Ce({target:"String",proto:!0,forced:pp},{padStart:function(t){return vp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padStart");var dp=Xc.end;Ce({target:"String",proto:!0,forced:pp},{padEnd:function(t){return dp(this,t,arguments.length>1?arguments[1]:void 0)}}),Ze("String","padEnd");var gp=b([].push),yp=b([].join);Ce({target:"String",stat:!0},{raw:function(t){var e=k(it(t).raw),r=de(e);if(!r)return"";for(var n=arguments.length,o=[],i=0;;){if(gp(o,Wr(e[i++])),i===r)return yp(o,"");i1?arguments[1]:void 0,e.length)),n=Wr(t);return bp(e,r,r+n.length)===n}}),Ze("String","startsWith");var Op=zt.PROPER,xp=function(t){return a(function(){return!!Mi[t]()||"​…᠎"!=="​…᠎"[t]()||Op&&Mi[t].name!==t})},Rp=_i.start,Pp=xp("trimStart")?function(){return Rp(this)}:"".trimStart;Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==Pp},{trimLeft:Pp}),Ce({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==Pp},{trimStart:Pp}),Ze("String","trimLeft");var Ap=_i.end,jp=xp("trimEnd")?function(){return Ap(this)}:"".trimEnd;Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==jp},{trimRight:jp}),Ce({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==jp},{trimEnd:jp}),Ze("String","trimRight");var kp=Object.getOwnPropertyDescriptor,Ip=function(t){if(!u)return i[t];var e=kp(i,t);return e&&e.value},Tp=dt("iterator"),Mp=!a(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),!e.size&&!u||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Tp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}),Lp=TypeError,Up=function(t,e){if(t0;)t[o]=t[--o];o!==i++&&(t[o]=n)}else for(var a=Np(r/2),u=Cp(vo(t,0,a),e),s=Cp(vo(t,a),e),c=u.length,f=s.length,l=0,h=0;l0&&0!=(t&r);r>>=1)e++;return e},pv=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},vv=function(t){for(var e=(t=nv(t,cv," ")).length,r="",n=0;ne){r+="%",n++;continue}var i=lv(t,n+1);if(i!=i){r+=o,n++;continue}n+=2;var a=hv(i);if(0===a)o=Jp(i);else{if(1===a||a>4){r+="�",n++;continue}for(var u=[i],s=1;se||"%"!==tv(t,n));){var c=lv(t,n+1);if(c!=c){n+=3;break}if(c>191||c<128)break;rv(u,c),n+=2,s++}if(u.length!==a){r+="�";continue}var f=pv(u);null===f?r+="�":o=Qp(f)}}r+=o,n++}return r},dv=/[!'()~]|%20/g,gv={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},yv=function(t){return gv[t]},mv=function(t){return nv(Xp(t),dv,yv)},bv=fn(function(t,e){zp(this,{type:Dp,target:Wp(t).entries,index:0,kind:e})},Bp,function(){var t=qp(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Pn(void 0,!0);var n=e[r];switch(t.kind){case"keys":return Pn(n.key,!1);case"values":return Pn(n.value,!1)}return Pn([n.key,n.value],!1)},!0),wv=function(t){this.entries=[],this.url=null,void 0!==t&&(M(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===tv(t,0)?uv(t,1):t:Wr(t)))};wv.prototype={type:Bp,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,o,i,a,u,s=this.entries,c=Fn(t);if(c)for(r=(e=Dn(t,c)).next;!(n=f(r,e)).done;){if(o=Dn(kt(n.value)),(a=f(i=o.next,o)).done||(u=f(i,o)).done||!f(i,o).done)throw new Yp("Expected sequence with length 2");rv(s,{key:Wr(a.value),value:Wr(u.value)})}else for(var l in t)ut(t,l)&&rv(s,{key:l,value:Wr(t[l])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,o=av(t,"&"),i=0;i0?arguments[0]:void 0));u||(this.size=t.entries.length)},Ev=Sv.prototype;if(Mo(Ev,{append:function(t,e){var r=Wp(this);Up(arguments.length,2),rv(r.entries,{key:Wr(t),value:Wr(e)}),u||this.length++,r.updateURL()},delete:function(t){for(var e=Wp(this),r=Up(arguments.length,1),n=e.entries,o=Wr(t),i=r<2?void 0:arguments[1],a=void 0===i?i:Wr(i),s=0;se.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=Wp(this).entries,n=ar(t,arguments.length>1?arguments[1]:void 0),o=0;o1?Rv(arguments[1]):{})}}),T($p)){var Pv=function(t){return ko(this,Gp),new $p(t,arguments.length>1?Rv(arguments[1]):{})};Gp.constructor=Pv,Pv.prototype=Gp,Ce({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Pv})}}var Av={URLSearchParams:Sv,getState:Wp},jv=URLSearchParams,kv=jv.prototype,Iv=b(kv.append),Tv=b(kv.delete),Mv=b(kv.forEach),Lv=b([].push),Uv=new jv("a=1&a=2&b=3");Uv.delete("a",1),Uv.delete("b",void 0),Uv+""!="a=2"&&ie(kv,"delete",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return Tv(this,t);var n=[];Mv(this,function(t,e){Lv(n,{key:e,value:t})}),Up(e,1);for(var o,i=Wr(t),a=Wr(r),u=0,s=0,c=!1,f=n.length;uo;)for(var s,c=R(arguments[o++]),l=i?$v(_e(c),i(c)):_e(c),h=l.length,p=0;h>p;)s=l[p++],u&&!f(a,c,s)||(r[s]=c[s]);return r}:qv,Gv=2147483647,Vv=/[^\0-\u007E]/,Yv=/[.\u3002\uFF0E\uFF61]/g,Xv="Overflow: input needs wider integers to process",Jv=RangeError,Qv=b(Yv.exec),Zv=Math.floor,td=String.fromCharCode,ed=b("".charCodeAt),rd=b([].join),nd=b([].push),od=b("".replace),id=b("".split),ad=b("".toLowerCase),ud=function(t){return t+22+75*(t<26)},sd=function(t,e,r){var n=0;for(t=r?Zv(t/700):t>>1,t+=Zv(t/e);t>455;)t=Zv(t/35),n+=36;return Zv(n+36*t/(t+38))},cd=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r=55296&&o<=56319&&r=i&&nZv((Gv-a)/l))throw new Jv(Xv);for(a+=(f-i)*l,i=f,r=0;rGv)throw new Jv(Xv);if(n===i){for(var h=a,p=36;;){var v=p<=u?1:p>=u+26?26:p-u;if(h?@[\\\]^|]/,qd=/[\0\t\n\r #/:<>?@[\\\]^|]/,Hd=/^[\u0000-\u0020]+/,$d=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Kd=/[\t\n\r]/g,Gd=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)Td(e,t%256),t=md(t/256);return Ed(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r?n:e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=Od(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},Vd={},Yd=Kv({},Vd,{" ":1,'"':1,"<":1,">":1,"`":1}),Xd=Kv({},Yd,{"#":1,"?":1,"{":1,"}":1}),Jd=Kv({},Xd,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qd=function(t,e){var r=fd(t,0);return r>32&&r<127&&!ut(e,t)?t:encodeURIComponent(t)},Zd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},tg=function(t,e){var r;return 2===t.length&&Sd(Nd,wd(t,0))&&(":"===(r=wd(t,1))||!e&&"|"===r)},eg=function(t){var e;return t.length>1&&tg(kd(t,0,2))&&(2===t.length||"/"===(e=wd(t,2))||"\\"===e||"?"===e||"#"===e)},rg=function(t){return"."===t||"%2e"===Id(t)},ng={},og={},ig={},ag={},ug={},sg={},cg={},fg={},lg={},hg={},pg={},vg={},dg={},gg={},yg={},mg={},bg={},wg={},Sg={},Eg={},Og={},xg=function(t,e,r){var n,o,i,a=Wr(t);if(e){if(o=this.parse(a))throw new gd(o);this.searchParams=null}else{if(void 0!==r&&(n=new xg(r,!0)),o=this.parse(a,null,n))throw new gd(o);(i=vd(new pd)).bindURL(this),this.searchParams=i}};xg.prototype={type:"URL",parse:function(t,e,r){var n,o,i,a,u,s=this,c=e||ng,f=0,l="",h=!1,p=!1,v=!1;for(t=Wr(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=Pd(t,Hd,""),t=Pd(t,$d,"$1")),t=Pd(t,Kd,""),n=Wn(t);f<=n.length;){switch(o=n[f],c){case ng:if(!o||!Sd(Nd,o)){if(e)return Md;c=ig;continue}l+=Id(o),c=og;break;case og:if(o&&(Sd(Cd,o)||"+"===o||"-"===o||"."===o))l+=Id(o);else{if(":"!==o){if(e)return Md;l="",c=ig,f=0;continue}if(e&&(s.isSpecial()!==ut(Zd,l)||"file"===l&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=l,e)return void(s.isSpecial()&&Zd[s.scheme]===s.port&&(s.port=null));l="","file"===s.scheme?c=gg:s.isSpecial()&&r&&r.scheme===s.scheme?c=ag:s.isSpecial()?c=fg:"/"===n[f+1]?(c=ug,f++):(s.cannotBeABaseURL=!0,Rd(s.path,""),c=Sg)}break;case ig:if(!r||r.cannotBeABaseURL&&"#"!==o)return Md;if(r.cannotBeABaseURL&&"#"===o){s.scheme=r.scheme,s.path=vo(r.path),s.query=r.query,s.fragment="",s.cannotBeABaseURL=!0,c=Og;break}c="file"===r.scheme?gg:sg;continue;case ag:if("/"!==o||"/"!==n[f+1]){c=sg;continue}c=lg,f++;break;case ug:if("/"===o){c=hg;break}c=wg;continue;case sg:if(s.scheme=r.scheme,o===Wv)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query;else if("/"===o||"\\"===o&&s.isSpecial())c=cg;else if("?"===o)s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query="",c=Eg;else{if("#"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.path.length--,c=wg;continue}s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og}break;case cg:if(!s.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){s.username=r.username,s.password=r.password,s.host=r.host,s.port=r.port,c=wg;continue}c=hg}else c=lg;break;case fg:if(c=lg,"/"!==o||"/"!==wd(l,f+1))continue;f++;break;case lg:if("/"!==o&&"\\"!==o){c=hg;continue}break;case hg:if("@"===o){h&&(l="%40"+l),h=!0,i=Wn(l);for(var d=0;d65535)return Ud;s.port=s.isSpecial()&&m===Zd[s.scheme]?null:m,l=""}if(e)return;c=bg;continue}return Ud}l+=o;break;case gg:if(s.scheme="file","/"===o||"\\"===o)c=yg;else{if(!r||"file"!==r.scheme){c=wg;continue}switch(o){case Wv:s.host=r.host,s.path=vo(r.path),s.query=r.query;break;case"?":s.host=r.host,s.path=vo(r.path),s.query="",c=Eg;break;case"#":s.host=r.host,s.path=vo(r.path),s.query=r.query,s.fragment="",c=Og;break;default:eg(Ed(vo(n,f),""))||(s.host=r.host,s.path=vo(r.path),s.shortenPath()),c=wg;continue}}break;case yg:if("/"===o||"\\"===o){c=mg;break}r&&"file"===r.scheme&&!eg(Ed(vo(n,f),""))&&(tg(r.path[0],!0)?Rd(s.path,r.path[0]):s.host=r.host),c=wg;continue;case mg:if(o===Wv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&tg(l))c=wg;else if(""===l){if(s.host="",e)return;c=bg}else{if(a=s.parseHost(l))return a;if("localhost"===s.host&&(s.host=""),e)return;l="",c=bg}continue}l+=o;break;case bg:if(s.isSpecial()){if(c=wg,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==Wv&&(c=wg,"/"!==o))continue}else s.fragment="",c=Og;else s.query="",c=Eg;break;case wg:if(o===Wv||"/"===o||"\\"===o&&s.isSpecial()||!e&&("?"===o||"#"===o)){if(".."===(u=Id(u=l))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(s.shortenPath(),"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,"")):rg(l)?"/"===o||"\\"===o&&s.isSpecial()||Rd(s.path,""):("file"===s.scheme&&!s.path.length&&tg(l)&&(s.host&&(s.host=""),l=wd(l,0)+":"),Rd(s.path,l)),l="","file"===s.scheme&&(o===Wv||"?"===o||"#"===o))for(;s.path.length>1&&""===s.path[0];)Ad(s.path);"?"===o?(s.query="",c=Eg):"#"===o&&(s.fragment="",c=Og)}else l+=Qd(o,Xd);break;case Sg:"?"===o?(s.query="",c=Eg):"#"===o?(s.fragment="",c=Og):o!==Wv&&(s.path[0]+=Qd(o,Vd));break;case Eg:e||"#"!==o?o!==Wv&&("'"===o&&s.isSpecial()?s.query+="%27":s.query+="#"===o?"%23":Qd(o,Vd)):(s.fragment="",c=Og);break;case Og:o!==Wv&&(s.fragment+=Qd(o,Yd))}f++}},parseHost:function(t){var e,r,n;if("["===wd(t,0)){if("]"!==wd(t,t.length-1))return Ld;if(e=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return wd(t,l)};if(":"===h()){if(":"!==wd(t,1))return;l+=2,f=++c}for(;h();){if(8===c)return;if(":"!==h()){for(e=r=0;r<4&&Sd(zd,h());)e=16*e+yd(h(),16),l++,r++;if("."===h()){if(0===r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."===h()&&n<4))return;l++}if(!Sd(_d,h()))return;for(;Sd(_d,h());){if(i=yd(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!==c)return;return s}(kd(t,1,-1)),!e)return Ld;this.host=e}else if(this.isSpecial()){if(t=function(t){var e,r,n=[],o=id(od(ad(t),Yv,"."),".");for(e=0;e4)return t;for(r=[],n=0;n1&&"0"===wd(o,0)&&(i=Sd(Fd,o)?16:8,o=kd(o,8===i?1:2)),""===o)a=0;else{if(!Sd(10===i?Dd:8===i?Bd:zd,o))return t;a=yd(o,i)}Rd(r,a)}for(n=0;n=bd(256,5-e))return null}else if(a>255)return null;for(u=xd(r),n=0;n1?arguments[1]:void 0,n=ld(e,new xg(t,!1,r));u||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Pg=Rg.prototype,Ag=function(t,e){return{get:function(){return hd(this)[t]()},set:e&&function(t){return hd(this)[e](t)},configurable:!0,enumerable:!0}};if(u&&(so(Pg,"href",Ag("serialize","setHref")),so(Pg,"origin",Ag("getOrigin")),so(Pg,"protocol",Ag("getProtocol","setProtocol")),so(Pg,"username",Ag("getUsername","setUsername")),so(Pg,"password",Ag("getPassword","setPassword")),so(Pg,"host",Ag("getHost","setHost")),so(Pg,"hostname",Ag("getHostname","setHostname")),so(Pg,"port",Ag("getPort","setPort")),so(Pg,"pathname",Ag("getPathname","setPathname")),so(Pg,"search",Ag("getSearch","setSearch")),so(Pg,"searchParams",Ag("getSearchParams")),so(Pg,"hash",Ag("getHash","setHash"))),ie(Pg,"toJSON",function(){return hd(this).serialize()},{enumerable:!0}),ie(Pg,"toString",function(){return hd(this).serialize()},{enumerable:!0}),dd){var jg=dd.createObjectURL,kg=dd.revokeObjectURL;jg&&ie(Rg,"createObjectURL",ar(jg,dd)),kg&&ie(Rg,"revokeObjectURL",ar(kg,dd))}an(Rg,"URL"),Ce({global:!0,constructor:!0,forced:!Mp,sham:!u},{URL:Rg});var Ig=L("URL"),Tg=Mp&&a(function(){Ig.canParse()}),Mg=a(function(){return 1!==Ig.canParse.length});Ce({target:"URL",stat:!0,forced:!Tg||Mg},{canParse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return!!new Ig(r,n)}catch(t){return!1}}});var Lg=L("URL");Ce({target:"URL",stat:!0,forced:!Mp},{parse:function(t){var e=Up(arguments.length,1),r=Wr(t),n=e<2||void 0===arguments[1]?void 0:Wr(arguments[1]);try{return new Lg(r,n)}catch(t){return null}}}),Ce({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return f(URL.prototype.toString,this)}});var Ug=WeakMap.prototype,Ng={WeakMap:WeakMap,set:b(Ug.set),get:b(Ug.get),has:b(Ug.has),remove:b(Ug.delete)},Cg=Ng.has,_g=function(t){return Cg(t),t},Fg=Ng.get,Bg=Ng.has,Dg=Ng.set;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(t,e){var r,n,o=_g(this);return Bg(o,t)?(r=Fg(o,t),"update"in e&&(r=e.update(r,t,o),Dg(o,t,r)),r):(n=e.insert(t,o),Dg(o,t,n),n)}}),Ce({target:"WeakMap",stat:!0,forced:!0},{from:ei(Ng.WeakMap,Ng.set,!0)}),Ce({target:"WeakMap",stat:!0,forced:!0},{of:ri(Ng.WeakMap,Ng.set,!0)});var zg=Ng.remove;Ce({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var t,e=_g(this),r=!0,n=0,o=arguments.length;n2&&(n=r,M(o=arguments[2])&&"cause"in o&&_t(n,"cause",o.cause));var s=[];return Ao(t,ny,{that:s}),_t(r,"errors",s),r};dn?dn(oy,ry):Ae(oy,ry,{name:!0});var iy=oy.prototype=Ve(ry.prototype,{constructor:d(1,oy),message:d(1,""),name:d(1,"AggregateError")});Ce({global:!0,constructor:!0,arity:2},{AggregateError:oy});var ay,uy,sy,cy,fy=function(t){return _.slice(0,t.length)===t},ly=fy("Bun/")?"BUN":fy("Cloudflare-Workers")?"CLOUDFLARE":fy("Deno/")?"DENO":fy("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===E(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST",hy="NODE"===ly,py=/(?:ipad|iphone|ipod).*applewebkit/i.test(_),vy=i.setImmediate,dy=i.clearImmediate,gy=i.process,yy=i.Dispatch,my=i.Function,by=i.MessageChannel,wy=i.String,Sy=0,Ey={},Oy="onreadystatechange";a(function(){ay=i.location});var xy=function(t){if(ut(Ey,t)){var e=Ey[t];delete Ey[t],e()}},Ry=function(t){return function(){xy(t)}},Py=function(t){xy(t.data)},Ay=function(t){i.postMessage(wy(t),ay.protocol+"//"+ay.host)};vy&&dy||(vy=function(t){Up(arguments.length,1);var e=T(t)?t:my(t),r=vo(arguments,1);return Ey[++Sy]=function(){Ra(e,void 0,r)},uy(Sy),Sy},dy=function(t){delete Ey[t]},hy?uy=function(t){gy.nextTick(Ry(t))}:yy&&yy.now?uy=function(t){yy.now(Ry(t))}:by&&!py?(cy=(sy=new by).port2,sy.port1.onmessage=Py,uy=ar(cy.postMessage,cy)):i.addEventListener&&T(i.postMessage)&&!i.importScripts&&ay&&"file:"!==ay.protocol&&!a(Ay)?(uy=Ay,i.addEventListener("message",Py,!1)):uy=Oy in Et("script")?function(t){De.appendChild(Et("script"))[Oy]=function(){De.removeChild(this),xy(t)}}:function(t){setTimeout(Ry(t),0)});var jy={set:vy,clear:dy},ky=function(){this.head=null,this.tail=null};ky.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Iy,Ty,My,Ly,Uy,Ny=ky,Cy=/ipad|iphone|ipod/i.test(_)&&"undefined"!=typeof Pebble,_y=/web0s(?!.*chrome)/i.test(_),Fy=jy.set,By=i.MutationObserver||i.WebKitMutationObserver,Dy=i.document,zy=i.process,Wy=i.Promise,qy=Ip("queueMicrotask");if(!qy){var Hy=new Ny,$y=function(){var t,e;for(hy&&(t=zy.domain)&&t.exit();e=Hy.get();)try{e()}catch(t){throw Hy.head&&Iy(),t}t&&t.enter()};py||hy||_y||!By||!Dy?!Cy&&Wy&&Wy.resolve?((Ly=Wy.resolve(void 0)).constructor=Wy,Uy=ar(Ly.then,Ly),Iy=function(){Uy($y)}):hy?Iy=function(){zy.nextTick($y)}:(Fy=ar(Fy,i),Iy=function(){Fy($y)}):(Ty=!0,My=Dy.createTextNode(""),new By($y).observe(My,{characterData:!0}),Iy=function(){My.data=Ty=!Ty}),qy=function(t){Hy.head||Iy(),Hy.add(t)}}var Ky,Gy,Vy,Yy=qy,Xy=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Jy=i.Promise,Qy=dt("species"),Zy=!1,tm=T(i.PromiseRejectionEvent),em=Ue("Promise",function(){var t=Kt(Jy),e=t!==String(Jy);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var r=new Jy(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[Qy]=n,!(Zy=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==ly&&"DENO"!==ly||tm)}),rm={CONSTRUCTOR:em,REJECTION_EVENT:tm,SUBCLASSING:Zy},nm=TypeError,om=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new nm("Bad Promise constructor");e=t,r=n}),this.resolve=J(e),this.reject=J(r)},im={f:function(t){return new om(t)}},am=jy.set,um="Promise",sm=rm.CONSTRUCTOR,cm=rm.REJECTION_EVENT,fm=rm.SUBCLASSING,lm=ne.getterFor(um),hm=ne.set,pm=Jy&&Jy.prototype,vm=Jy,dm=pm,gm=i.TypeError,ym=i.document,mm=i.process,bm=im.f,wm=bm,Sm=!!(ym&&ym.createEvent&&i.dispatchEvent),Em="unhandledrejection",Om=function(t){var e;return!(!M(t)||!T(e=t.then))&&e},xm=function(t,e){var r,n,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(a||(2===e.rejection&&km(e),e.rejection=1),!0===u?r=i:(l&&l.enter(),r=u(i),l&&(l.exit(),o=!0)),r===t.promise?c(new gm("Promise-chain cycle")):(n=Om(r))?f(n,r,s,c):s(r)):c(i)}catch(t){l&&!o&&l.exit(),c(t)}},Rm=function(t,e){t.notified||(t.notified=!0,Yy(function(){for(var r,n=t.reactions;r=n.get();)xm(r,t);t.notified=!1,e&&!t.rejection&&Am(t)}))},Pm=function(t,e,r){var n,o;Sm?((n=ym.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),i.dispatchEvent(n)):n={promise:e,reason:r},!cm&&(o=i["on"+t])?o(n):t===Em&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",r)},Am=function(t){f(am,i,function(){var e,r=t.facade,n=t.value;if(jm(t)&&(e=Xy(function(){hy?mm.emit("unhandledRejection",n,r):Pm(Em,r,n)}),t.rejection=hy||jm(t)?2:1,e.error))throw e.value})},jm=function(t){return 1!==t.rejection&&!t.parent},km=function(t){f(am,i,function(){var e=t.facade;hy?mm.emit("rejectionHandled",e):Pm("rejectionhandled",e,t.value)})},Im=function(t,e,r){return function(n){t(e,n,r)}},Tm=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Rm(t,!0))},Mm=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new gm("Promise can't be resolved itself");var n=Om(e);n?Yy(function(){var r={done:!1};try{f(n,e,Im(Mm,r,t),Im(Tm,r,t))}catch(e){Tm(r,e,t)}}):(t.value=e,t.state=1,Rm(t,!1))}catch(e){Tm({done:!1},e,t)}}};if(sm&&(vm=function(t){ko(this,dm),J(t),f(Ky,this);var e=lm(this);try{t(Im(Mm,e),Im(Tm,e))}catch(t){Tm(e,t)}},(Ky=function(t){hm(this,{type:um,done:!1,notified:!1,parent:!1,reactions:new Ny,rejection:!1,state:0,value:null})}).prototype=ie(dm=vm.prototype,"then",function(t,e){var r=lm(this),n=bm(Cc(this,vm));return r.parent=!0,n.ok=!T(t)||t,n.fail=T(e)&&e,n.domain=hy?mm.domain:void 0,0===r.state?r.reactions.add(n):Yy(function(){xm(n,r)}),n.promise}),Gy=function(){var t=new Ky,e=lm(t);this.promise=t,this.resolve=Im(Mm,e),this.reject=Im(Tm,e)},im.f=bm=function(t){return t===vm||void 0===t?new Gy(t):wm(t)},T(Jy)&&pm!==Object.prototype)){Vy=pm.then,fm||ie(pm,"then",function(t,e){var r=this;return new vm(function(t,e){f(Vy,r,t,e)}).then(t,e)},{unsafe:!0});try{delete pm.constructor}catch(t){}dn&&dn(pm,dm)}Ce({global:!0,constructor:!0,wrap:!0,forced:sm},{Promise:vm}),an(vm,um,!1),Uo(um);var Lm=rm.CONSTRUCTOR||!Gn(function(t){Jy.all(t).then(void 0,function(){})});Ce({target:"Promise",stat:!0,forced:Lm},{all:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),i=[],a=0,u=1;Ao(t,function(t){var s=a++,c=!1;u++,f(r,e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise}});var Um=Jy&&Jy.prototype;if(Ce({target:"Promise",proto:!0,forced:rm.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),T(Jy)){var Nm=L("Promise").prototype.catch;Um.catch!==Nm&&ie(Um,"catch",Nm,{unsafe:!0})}Ce({target:"Promise",stat:!0,forced:Lm},{race:function(t){var e=this,r=im.f(e),n=r.reject,o=Xy(function(){var o=J(e.resolve);Ao(t,function(t){f(o,e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{reject:function(t){var e=im.f(this);return(0,e.reject)(t),e.promise}});var Cm=function(t,e){if(kt(t),M(e)&&e.constructor===t)return e;var r=im.f(t);return(0,r.resolve)(e),r.promise};Ce({target:"Promise",stat:!0,forced:rm.CONSTRUCTOR},{resolve:function(t){return Cm(this,t)}}),Ce({target:"Promise",stat:!0,forced:Lm},{allSettled:function(t){var e=this,r=im.f(e),n=r.resolve,o=r.reject,i=Xy(function(){var r=J(e.resolve),o=[],i=0,a=1;Ao(t,function(t){var u=i++,s=!1;a++,f(r,e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var _m="No one promise resolved";Ce({target:"Promise",stat:!0,forced:Lm},{any:function(t){var e=this,r=L("AggregateError"),n=im.f(e),o=n.resolve,i=n.reject,a=Xy(function(){var n=J(e.resolve),a=[],u=0,s=1,c=!1;Ao(t,function(t){var l=u++,h=!1;s++,f(n,e,t).then(function(t){h||c||(c=!0,o(t))},function(t){h||c||(h=!0,a[l]=t,--s||i(new r(a,_m)))})}),--s||i(new r(a,_m))});return a.error&&i(a.value),n.promise}}),Ce({target:"Promise",stat:!0},{withResolvers:function(){var t=im.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var Fm=Jy&&Jy.prototype,Bm=!!Jy&&a(function(){Fm.finally.call({then:function(){}},function(){})});if(Ce({target:"Promise",proto:!0,real:!0,forced:Bm},{finally:function(t){var e=Cc(this,L("Promise")),r=T(t);return this.then(r?function(r){return Cm(e,t()).then(function(){return r})}:t,r?function(r){return Cm(e,t()).then(function(){throw r})}:t)}}),T(Jy)){var Dm=L("Promise").prototype.finally;Fm.finally!==Dm&&ie(Fm,"finally",Dm,{unsafe:!0})}var zm=i.Promise,Wm=!1,qm=!zm||!zm.try||Xy(function(){zm.try(function(t){Wm=8===t},8)}).error||!Wm;Ce({target:"Promise",stat:!0,forced:qm},{try:function(t){var e=arguments.length>1?vo(arguments,1):[],r=im.f(this),n=Xy(function(){return Ra(J(t),void 0,e)});return(n.error?r.reject:r.resolve)(n.value),r.promise}}),Ze("Promise","finally");var Hm="URLSearchParams"in self,$m="Symbol"in self&&"iterator"in Symbol,Km="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),Gm="FormData"in self,Vm="ArrayBuffer"in self;if(Vm)var Ym=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Xm=ArrayBuffer.isView||function(t){return t&&Ym.indexOf(Object.prototype.toString.call(t))>-1};function Jm(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Qm(t){return"string"!=typeof t&&(t=String(t)),t}function Zm(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $m&&(e[Symbol.iterator]=function(){return e}),e}function tb(t){this.map={},t instanceof tb?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function eb(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function rb(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function nb(t){var e=new FileReader,r=rb(e);return e.readAsArrayBuffer(t),r}function ob(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ib(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:Km&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Gm&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Hm&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Vm&&Km&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ob(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vm&&(ArrayBuffer.prototype.isPrototypeOf(t)||Xm(t))?this._bodyArrayBuffer=ob(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Hm&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Km&&(this.blob=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?eb(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(nb)}),this.text=function(){var t=eb(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=rb(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function sb(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function cb(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new tb(e.headers),this.url=e.url||"",this._initBody(t)}ub.prototype.clone=function(){return new ub(this,{body:this._bodyInit})},ib.call(ub.prototype),ib.call(cb.prototype),cb.prototype.clone=function(){return new cb(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tb(this.headers),url:this.url})},cb.error=function(){var t=new cb(null,{status:0,statusText:""});return t.type="error",t};var fb=[301,302,303,307,308];cb.redirect=function(t,e){if(-1===fb.indexOf(e))throw new RangeError("Invalid status code");return new cb(null,{status:e,headers:{location:t}})};var lb=self.DOMException;try{new lb}catch(t){(lb=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),lb.prototype.constructor=lb}function hb(t,e){return new Promise(function(r,n){var o=new ub(t,e);if(o.signal&&o.signal.aborted)return n(new lb("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new tb,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new cb("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new lb("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&Km&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}hb.polyfill=!0,self.fetch||(self.fetch=hb,self.Headers=tb,self.Request=ub,self.Response=cb);var pb=Object.getOwnPropertySymbols,vb=Object.prototype.hasOwnProperty,db=Object.prototype.propertyIsEnumerable,gb=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(43369).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},74575,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return l}});let r=e.r(12718);function l(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a ",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?o.createElement(l,{is:r.is}):o.createElement(l)}}a[eW]=t,a[eq]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)a.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(t.stateNode=a,ca(a,l,r),l){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&is(t)}}return ih(t),t.subtreeFlags&=-0x2000001,ic(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&is(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(u(166));if(e=en.current,rJ(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(l=rH))switch(l.tag){case 27:case 5:r=l.memoizedProps}e[eW]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||cn(e.nodeValue,n)))||rX(t,!0)}else(e=cs(e).createTextNode(r))[eW]=t,t.stateNode=e}return ih(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rJ(t),null!==n){if(null===e){if(!r)throw Error(u(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(u(557));e[eW]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ih(t),e=!1}else n=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return ae(t),t;return ae(t),null}if(0!=(128&t.flags))throw Error(u(558))}return ih(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(l=rJ(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(u(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(u(317));l[eW]=t}else rZ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ih(t),l=!1}else l=r0(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l){if(256&t.flags)return ae(t),t;return ae(t),null}}if(ae(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ip(t,t.updateQueue),ih(t),null;case 4:return ea(),null===e&&s2(t.stateNode.containerInfo),t.flags|=0x4000000,ih(t),null;case 10:return r5(t.type),ih(t),null;case 19:if(ar(t),null===(r=t.memoizedState))return ih(t),null;if(l=0!=(128&t.flags),null===(a=r.rendering))if(l)im(r,!1);else{if(0!==uM||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=al(e))){for(t.flags|=128,im(r,!1),t.updateQueue=e=a.updateQueue,ip(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rS(n,e),n=n.sibling;return an(t,1&at.current|2),rQ&&rA(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ev()>uQ&&(t.flags|=128,l=!0,im(r,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=al(a))){if(t.flags|=128,l=!0,t.updateQueue=e=e.updateQueue,ip(t,e),im(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!a.alternate&&!rQ)return ih(t),null}else 2*ev()-r.renderingStartTime>uQ&&0x20000000!==n&&(t.flags|=128,l=!0,im(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=r.last)?e.sibling=a:t.child=a,r.last=a)}if(null!==r.tail){e=r.tail;e:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break e}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ev(),e.sibling=null,a=at.current,a=l?1&a|2:1&a,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rQ?an(t,a):(n=a,Z(l4,t),Z(at,n),null===l6&&(l6=t)),rQ&&rA(t,r.treeForkCount),e}return ih(t),null;case 22:case 23:return ae(t),l3(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(ih(t),6&t.subtreeFlags&&(t.flags|=8192)):ih(t),null!==(n=t.updateQueue)&&ip(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&J(lb),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r5(lu),ih(t),null;case 25:return null;case 30:return t.flags|=0x2000000,ih(t),null}throw Error(u(156,t.tag))}(t.alternate,t,uR);if(null!==n){uP=n;return}if(null!==(t=t.sibling)){uP=t;return}uP=t=e}while(null!==t)0===uM&&(uM=5)}function sg(e,t){do{var n=function(e,t){switch(rB(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r5(lu),ea(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ei(t),null;case 31:if(null!==t.memoizedState){if(ae(t),null===t.alternate)throw Error(u(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ae(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(u(340));rZ()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ar(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return ea(),null;case 10:return r5(t.type),null;case 22:case 23:return ae(t),l3(),null!==e&&J(lb),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r5(lu),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,uP=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){uP=e;return}uP=e=n}while(null!==e)uM=6,uP=null}function sv(e,t,n,r,l,a,o,i,s,c,f,d){e.cancelPendingCommit=null;do s_();while(0!==uK)if(0!=(6&u_))throw Error(u(327));if(null!==t){if(t===e.current)throw Error(u(177));e===ux&&(uP=ux=null,uN=0),uY=t,uX=e,uG=n,uZ=l,u0=r,function(e,t,n,r,l,a,o){var i,u=t.lanes|t.childLanes;if(uJ=u,!function(e,t,n,r,l,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var i=e.entanglements,u=e.expirationTimes,s=e.hiddenUpdates;for(n=o&~n;0fp){i.length=o;break}d=new Promise(cN.bind(d)),i.push(d)}}}return 0g&&(o=g,g=h,h=o);var v=nV(i,h),y=nV(i,g);if(v&&y&&(1!==p.rangeCount||p.anchorNode!==v.node||p.anchorOffset!==v.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=f.createRange();b.setStart(v.node,v.offset),p.removeAllRanges(),h>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(f=[],p=i;p=p.parentNode;)1===p.nodeType&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;in?32:n,W.T=null,n=uZ,uZ=null;var a=uX,o=uG;if(uK=0,uY=uX=null,uG=0,0!=(6&u_))throw Error(u(331));var i=u_;if(u_|=4,uw(a.current),up(a,a.current,o,n),u_=i,sU(0,!1),ex&&"function"==typeof ex.onPostCommitFiberRoot)try{ex.onPostCommitFiberRoot(e_,a)}catch(e){}return!0}finally{q.p=l,W.T=r,sE(e,t)}}function sP(e,t,n){t=rC(n,t),t=oF(e.stateNode,t,2),null!==(e=lQ(e,t,2))&&(eF(e,2),sj(e))}function sN(e,t,n){if(3===e.tag)sP(e,e,n);else for(;null!==t;){if(3===t.tag){sP(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===uq||!uq.has(r))){e=rC(n,e),null!==(r=lQ(t,n=oA(2),2))&&(oj(n,r,t,e),eF(r,2),sj(r));break}}t=t.return}}function sC(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new uE;var l=new Set;r.set(t,l)}else void 0===(l=r.get(t))&&(l=new Set,r.set(t,l));l.has(n)||(uL=!0,l.add(n),e=sT.bind(null,e,t,n),t.then(e,e))}function sT(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ux===e&&(uN&n)===n&&(4===uM||3===uM&&(0x3c00000&uN)===uN&&300>ev()-uH?0==(2&u_)&&sa(e,0):uF|=n,uj===uN&&(uj=0)),sj(e)}function sO(e,t){0===t&&(t=eI()),null!==(e=rp(e,t))&&(eF(e,t),sj(e))}function sz(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sO(e,n)}function sL(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(n=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(u(314))}null!==r&&r.delete(t),sO(e,n)}var sR=null,sM=null,sI=!1,sD=!1,sF=!1,sA=0;function sj(e){e!==sM&&null===e.next&&(null===sM?sR=sM=e:sM=sM.next=e),sD=!0,sI||(sI=!0,cv(function(){0!=(6&u_)?ep(eb,sB):sV()}))}function sU(e,t){if(!sF&&sD){sF=!0;do for(var n=!1,r=sR;null!==r;){if(!t)if(0!==e){var l=r.pendingLanes;if(0===l)var a=0;else{var o=r.suspendedLanes,i=r.pingedLanes;a=0xc000095&(a=(1<<31-eP(42|e)+1)-1&(l&~(o&~i)))?0xc000095&a|1:a?2|a:0}0!==a&&(n=!0,sQ(r,a))}else a=uN,0==(3&(a=eR(r,r===ux?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eM(r,a)||(n=!0,sQ(r,a));r=r.next}while(n)sF=!1}}function sB(){sV()}function sV(){sD=sI=!1;var e,t=0;0===sA||((e=window.event)&&"popstate"===e.type?e===cp||(cp=e,0):(cp=null,1))||(t=sA);for(var n=ev(),r=null,l=sR;null!==l;){var a=l.next,o=sH(l,n);0===o?(l.next=null,null===r?sR=a:r.next=a,null===a&&(sM=r)):(r=l,(0!==t||0!=(3&o))&&(sD=!0)),l=a}0!==uK&&5!==uK||sU(t,!1),0!==sA&&(sA=0)}function sH(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0 title"):null)}function fs(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function fc(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function ff(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function fd(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=ff(t),e.suspenseyImages.push(t)),e=fg.bind(e),t.decode().then(e,e))}var fp=0;function fm(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)fy(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function fh(){this.count--,fm(this)}function fg(){this.imgCount--,fm(this)}var fv=null;function fy(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,fv=new Map,t.forEach(fb,e),fv=null,fh.call(e))}function fb(e,t){if(!(4&t.state.loading)){var n=fv.get(e);if(n)var r=n.get(null);else{n=new Map,fv.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;atypeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var f4=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!f4.isDisabled&&f4.supportsFiber)try{e_=f4.inject({bundleType:0,version:"19.3.0-canary-3f0b9e61-20260317",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.3.0-canary-3f0b9e61-20260317"}),ex=f4}catch(e){}}n.createRoot=function(e,t){if(!s(e))throw Error(u(299));var n=!1,r="",l=oL,a=oR,o=oM;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(l=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=fk(e,1,!1,null,null,n,r,null,l,a,o,f0),e[eK]=t.current,s2(e),new f1(t)},n.hydrateRoot=function(e,t,n){if(!s(e))throw Error(u(299));var r,l=!1,a="",o=oL,i=oR,c=oM,f=null;return null!=n&&(!0===n.unstable_strictMode&&(l=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(f=n.formState)),(t=fk(e,1,!0,t,null!=n?n:null,l,a,f,o,i,c,f0)).context=(r=null,rg),n=t.current,(a=l$(l=eB(l=u5()))).callback=null,lQ(n,a,l),n=l,t.current.lanes=n,eF(t,n),sj(t),e[eK]=t.current,s2(e),new f2(t)},n.version="19.3.0-canary-3f0b9e61-20260317"},88014,(e,t,n)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(46480)},42732,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=e.r(55682)._(e.r(71645)).default.createContext({})},51323,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return d},onUncaughtError:function(){return p}};for(var l in r)Object.defineProperty(n,l,{enumerable:!0,get:r[l]});let a=e.r(55682),o=e.r(65713),i=e.r(32061),u=e.r(28279),s=e.r(72383),c=a._(e.r(68027)),f={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function d(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===s.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return p(e);(0,i.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||f.originConsoleError(e)}function p(e){(0,i.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,u.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},62634,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return o}});let r=e.r(71645),l=e.r(74080),a="next-route-announcer";function o({tree:e}){let[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>(n(function(){let e=document.getElementsByName(a)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(a);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(a)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[i,u]=(0,r.useState)(""),s=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==s.current&&s.current!==e&&u(e),s.current=e},[e]),t?(0,l.createPortal)(i,t):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},25018,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return a}});let r=e.r(13258),l=e.r(70725);function a(e,t){return function e(t,n,a,o){if(0===Object.keys(n).length)return[t,a,o];let i=Object.keys(n).filter(e=>"children"!==e);"children"in n&&i.unshift("children");let u=t.slots;if(null!==u)for(let t of i){let[o,i]=n[t];if(o===r.DEFAULT_SEGMENT_KEY)continue;let s=u[t];if(!s)continue;let c=e(s,i,a+"/"+(0,l.createRouterCacheKey)(o),a+"/"+(0,l.createRouterCacheKey)(o,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},41624,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return i},default:function(){return u}};for(var l in r)Object.defineProperty(n,l,{enumerable:!0,get:r[l]});let a=e.r(43476),o=e.r(71645);class i extends o.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,o.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,n])=>{e.setAttribute(t,n)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return s}});let r=e.r(55682),l=e.r(43476);e.r(71645);let a=r._(e.r(41624)),o=e.r(72383),i=e.r(82604),u="u">typeof window&&(0,i.isBot)(window.navigator.userAgent);function s({children:e,errorComponent:t,errorStyles:n,errorScripts:r}){return u?(0,l.jsx)(a.default,{children:e}):(0,l.jsx)(o.ErrorBoundary,{errorComponent:t,errorStyles:n,errorScripts:r,children:e})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},75530,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return R}});let r=e.r(55682),l=e.r(90809),a=e.r(43476),o=l._(e.r(71645)),i=e.r(8372),u=e.r(88540),s=e.r(51191),c=e.r(61994),f=e.r(41538),d=e.r(94272),p=e.r(62634),m=e.r(58442),h=e.r(25018),g=e.r(1244),v=e.r(87250),y=e.r(52817),b=e.r(34727),w=e.r(78377),S=e.r(99781),k=e.r(24063),E=e.r(68391),_=e.r(91949),x=r._(e.r(94109)),P=r._(e.r(68027)),N=e.r(97367);e.r(43369);let C={};function T({appRouterState:e}){return(0,o.useInsertionEffect)(()=>{let{tree:t,pushRef:n,canonicalUrl:r,renderedSearch:l}=e,a={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:l}};n.pendingPush&&(0,s.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(a,"",r)):window.history.replaceState(a,"",r),(0,d.setLastCommittedTree)(t)},[e]),(0,o.useEffect)(()=>{(0,_.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function O(e){null==e&&(e={});let t=window.history.state,n=t?.__NA;n&&(e.__NA=n);let r=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function z({headCacheNode:e}){let t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,o.useDeferredValue)(t,r)}function L({actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r}){let l,s=(0,f.useActionQueue)(e),{canonicalUrl:d}=s,{searchParams:w,pathname:_}=(0,o.useMemo)(()=>{let e=new URL(d,"u"{let e=(0,b.extractSourcePageFromFlightRouterState)(s.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[s.tree]),(0,o.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(C.pendingMpaPath=void 0,(0,f.dispatchAppRouterAction)({type:u.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,o.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,E.isRedirectError)(t)){e.preventDefault();let n=(0,k.getURLFromRedirectError)(t);"push"===(0,k.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(n,{}):S.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:P}=s;if(P.mpaNavigation){if(C.pendingMpaPath!==d){let e=window.location;P.pendingPush?e.assign(d):e.replace(d),C.pendingMpaPath=d}throw g.unresolvedThenable}(0,o.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{let t=window.location.href,n=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:u.ACTION_RESTORE,url:new URL(e??t,t),historyState:n})})};window.history.pushState=function(t,r,l){return t?.__NA||t?._N||(t=O(t),l&&n(l)),e(t,r,l)},window.history.replaceState=function(e,r,l){return e?.__NA||e?._N||(e=O(e),l&&n(l)),t(e,r,l)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,o.startTransition)(()=>{(0,S.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:R,tree:M,nextUrl:I,focusAndScrollRef:D,previousNextUrl:F}=s,A=(0,o.useMemo)(()=>(0,h.findHeadInCache)(R,M[1]),[R,M]),j=(0,o.useMemo)(()=>(0,b.getSelectedParams)(M),[M]),U=(0,o.useMemo)(()=>({parentTree:M,parentCacheNode:R,parentSegmentPath:null,parentParams:{},parentLoadingData:null,debugNameContext:"/",url:d,isActive:!0}),[M,R,d]),B=(0,o.useMemo)(()=>({tree:M,focusAndScrollRef:D,nextUrl:I,previousNextUrl:F}),[M,D,I,F]);if(null!==A){let[e,t,n]=A;l=(0,a.jsx)(z,{headCacheNode:e},"u"{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return d}});let r=e.r(51191),l=e.r(34727),a=e.r(50590),o=e.r(95871),i=e.r(20896),u=e.r(9396),s=e.r(79027),c=e.r(87288),f=e.r(96167);function d({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:p}){let{c:m,f:h,q:g,i:v,S:y,s:b,l:w,h:S,p:k,d:E}=t,_=m.join("/"),{tree:x,seedData:P,head:N}=(0,a.getFlightDataPartsFromPath)(h[0]),C=p?(0,r.createHrefFromUrl)(p):_,T={metadataVaryPath:null},O=(0,i.convertRootFlightRouterStateToRouteTree)(x,g,T),z=T.metadataVaryPath,L=(0,o.createInitialCacheNodeForHydration)(e,O,P,N,(0,s.computeDynamicStaleAt)(e,E??s.UnknownDynamicStaleTime));if(null!==p&&null!==z){if((0,f.discoverKnownRoute)(Date.now(),p.pathname,null,null,O,z,v,C,y,!1),null!==P&&void 0!==b)if(void 0!==w&&null!=n)(0,c.decodeStaticStage)(n,w,void 0).then(async e=>{let t=Date.now(),n=await (0,i.getStaleAt)(t,e.s);(0,i.writeStaticStageResponseIntoCache)(t,e.f,void 0,e.h,n,x,g,!0)}).catch(()=>{});else{let e=Date.now();(0,i.getStaleAt)(e,b).then(t=>{(0,i.writeStaticStageResponseIntoCache)(e,h,void 0,S,t,x,g,!1)}).catch(()=>{}),n?.cancel()}else n?.cancel();null!=k&&(0,i.processRuntimePrefetchStream)(Date.now(),k,x,g).then(e=>{null!==e&&(0,i.writeDynamicRenderResponseIntoCache)(Date.now(),u.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{})}return{tree:L.route,cache:L.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:C,renderedSearch:g,nextUrl:((0,l.extractPathFromFlightRouterState)(x)||p?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},98569,(e,t,n)=>{"use strict";let r,l,a,o;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return j}});let i=e.r(55682),u=e.r(43476);e.r(23911);let s=i._(e.r(88014)),c=i._(e.r(71645)),f=e.r(35326),d=e.r(42732),p=e.r(97238),m=e.r(51323),h=e.r(32120),g=e.r(92245),v=e.r(99781),y=i._(e.r(75530)),b=e.r(65716);e.r(8372);let w=e.r(50590),S=e.r(43369),k=e.r(32992),E=f.createFromReadableStream,_=f.createFromFetch,x=document,P=self.__next_instant_test?self.__next_instant_test:void 0,N=new TextEncoder,C=!1,T=!1,O=null;function z(e){if(0===e[0])a=[];else if(1===e[0]){if(!a)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(N.encode(e[1])):a.push(e[1])}else if(2===e[0])O=e[1];else if(3===e[0]){if(!a)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t{e.enqueue("string"==typeof t?N.encode(t):t)}),C&&!T)&&(null===e.desiredSize||e.desiredSize<0?P||e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),T=!0,a=void 0),o=e}});if(P)l=Promise.resolve(_(P,{callServer:h.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,unstable_allowPartialStream:!0})).then(async e=>(0,w.createInitialRSCPayloadFromFallbackPrerender)(await P,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;l=Promise.resolve(_(e,{callServer:h.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async t=>(0,w.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else l=E(M,{callServer:h.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});function I({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,u.jsx)(y.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}let D=c.default.StrictMode;function F({children:e}){return e}let A={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:m.onCaughtError,onUncaughtError:m.onUncaughtError};async function j(e,t){let n,r,a=await l;a.b?(0,k.setNavigationBuildId)(a.b):(0,k.setNavigationBuildId)((0,S.getDeploymentId)());let o=Date.now(),i=(0,v.createMutableActionQueue)((0,b.createInitialRouterState)({navigatedAt:o,initialRSCPayload:a,initialFlightStreamForCache:null,location:window.location}),e),f=(0,u.jsx)(D,{children:(0,u.jsx)(d.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,u.jsx)(F,{children:(0,u.jsx)(I,{initialRSCPayload:a,actionQueue:i,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?s.default.createRoot(x,A).render(f):c.default.startTransition(()=>{s.default.hydrateRoot(x,f,{...A,formState:O})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},94553,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(23755);let r=e.r(96517);e.r(97238),window.next.turbopack=!0,self.__webpack_hash__="";let l=e.r(5526);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(98569);n(l,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}]); \ No newline at end of file diff --git a/frontend/_next/static/chunks/0dbhjjzl8qfwv.js b/frontend/_next/static/chunks/0dbhjjzl8qfwv.js deleted file mode 100644 index 014d9b2..0000000 --- a/frontend/_next/static/chunks/0dbhjjzl8qfwv.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},91915,(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),e.r(33525)},68017,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return u}});let n=e.r(90809),a=e.r(43476),o=n._(e.r(71645)),i=e.r(90373),s=e.r(54394);e.r(33525);let l=e.r(8372);class c extends o.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,s.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,s.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:o}=this.state,i={[s.HTTPAccessErrorStatus.NOT_FOUND]:e,[s.HTTPAccessErrorStatus.FORBIDDEN]:t,[s.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(o){let l=o===s.HTTPAccessErrorStatus.NOT_FOUND&&e,c=o===s.HTTPAccessErrorStatus.FORBIDDEN&&t,u=o===s.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return l||c||u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),!1,i[o]]}):n}return n}}function u({notFound:e,forbidden:t,unauthorized:r,children:n}){let s=(0,i.useUntrackedPathname)(),d=(0,o.useContext)(l.MissingSlotContext);return e||t||r?(0,a.jsx)(c,{pathname:s,notFound:e,forbidden:t,unauthorized:r,missingSlots:d,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28298,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useRouterBFCache",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t,r){let[a,o]=(0,n.useState)(()=>({tree:e,cacheNode:t,stateKey:r,next:null}));if(a.tree===e)return a;let i={tree:e,cacheNode:t,stateKey:r,next:null},s=1,l=a,c=i;for(;null!==l&&s<1;){if(l.stateKey===r){c.next=l.next;break}{s++;let e={tree:l.tree,cacheNode:l.cacheNode,stateKey:l.stateKey,next:null};c.next=e,c=e}l=l.next}return o(i),i}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39756,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={LoadingBoundaryProvider:function(){return j},default:function(){return A}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),i=e.r(90809),s=e.r(43476),l=i._(e.r(71645)),c=o._(e.r(74080)),u=e.r(8372),d=e.r(1244),f=e.r(72383),p=e.r(91915),m=e.r(58442),h=e.r(68017),g=e.r(70725),y=e.r(28298);e.r(74180);let b=e.r(61994),P=e.r(33906),_=e.r(95871),v=c.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=["bottom","height","left","right","top","width","x","y"];function O(e,t){let r=e.getClientRects();if(0===r.length)return!1;let n=1/0;for(let e=0;e=0&&n<=t}class R extends l.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,cacheNode:t}=this.props,r=e.forceScroll?e.scrollRef:t.scrollRef;if(null===r||!r.current)return;let n=null,a=e.hashFragment;if(a&&(n="top"===a?document.body:document.getElementById(a)??document.getElementsByName(a)[0]),n||(n="u"0===t[e])}(n);){if(null===n.nextElementSibling)return;n=n.nextElementSibling}r.current=!1,(0,p.disableSmoothScrollDuringRouteTransition)(()=>{if(a)return void n.scrollIntoView();let e=document.documentElement,t=e.clientHeight;!O(n,t)&&(e.scrollTop=0,O(n,t)||n.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,e.hashFragment=null,n.focus()}}}}function w({children:e,cacheNode:t}){let r=(0,l.useContext)(u.GlobalLayoutRouterContext);if(!r)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,s.jsx)(R,{focusAndScrollRef:r.focusAndScrollRef,cacheNode:t,children:e})}function S({tree:e,segmentPath:t,debugNameContext:r,cacheNode:n,params:a,url:o,isActive:i}){let c,f=(0,l.useContext)(u.GlobalLayoutRouterContext);if((0,l.useContext)(b.NavigationPromisesContext),!f)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let p=null!==n?n:(0,l.use)(d.unresolvedThenable),m=null!==p.prefetchRsc?p.prefetchRsc:p.rsc,h=(0,l.useDeferredValue)(p.rsc,m);if((0,_.isDeferredRsc)(h)){let e=(0,l.use)(h);null===e&&(0,l.use)(d.unresolvedThenable),c=e}else null===h&&(0,l.use)(d.unresolvedThenable),c=h;let g=c;return(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:e,parentCacheNode:p,parentSegmentPath:t,parentParams:a,parentLoadingData:null,debugNameContext:r,url:o,isActive:i},children:g})}function j({loading:e,children:t}){let r=(0,l.use)(u.LayoutRouterContext);return null===r?t:(0,s.jsx)(u.LayoutRouterContext.Provider,{value:{parentTree:r.parentTree,parentCacheNode:r.parentCacheNode,parentSegmentPath:r.parentSegmentPath,parentParams:r.parentParams,parentLoadingData:e,debugNameContext:r.debugNameContext,url:r.url,isActive:r.isActive},children:t})}function C({name:e,loading:t,children:r}){if(null!==t){let n=t[0],a=t[1],o=t[2];return(0,s.jsx)(l.Suspense,{name:e,fallback:(0,s.jsxs)(s.Fragment,{children:[a,o,n]}),children:r})}return(0,s.jsx)(s.Fragment,{children:r})}function A({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:a,templateScripts:o,template:i,notFound:c,forbidden:p,unauthorized:b,segmentViewBoundaries:_}){let v=(0,l.useContext)(u.LayoutRouterContext);if(!v)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:E,parentCacheNode:O,parentSegmentPath:R,parentParams:j,parentLoadingData:x,url:k,isActive:T,debugNameContext:N}=v,D=E[0],M=null===R?[e]:R.concat([D,e]),I=E[1][e],F=O.slots;(void 0===I||null===F)&&(0,l.use)(d.unresolvedThenable);let $=I[0],L=F[e]??null,U=(0,g.createRouterCacheKey)($,!0),X=(0,y.useRouterBFCache)(I,L,U),V=[];do{let e=X.tree,l=X.cacheNode,d=X.stateKey,g=e[0],y=j;if(Array.isArray(g)){let e=g[0],t=g[1],r=g[2],n=(0,P.getParamValueFromCacheKey)(t,r);null!==n&&(y={...j,[e]:n})}let _=function(e){if("/"===e)return"/";if("string"==typeof e)if("(__SLOT__)"===e)return;else return e+"/";return e[1]+"/"}(g),v=_??N,E=void 0===_?void 0:N,O=(0,s.jsxs)(w,{cacheNode:l,children:[(0,s.jsx)(f.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,s.jsx)(C,{name:E,loading:x,children:(0,s.jsx)(h.HTTPAccessFallbackBoundary,{notFound:c,forbidden:p,unauthorized:b,children:(0,s.jsxs)(m.RedirectBoundary,{children:[(0,s.jsx)(S,{url:k,tree:e,params:y,cacheNode:l,segmentPath:M,debugNameContext:v,isActive:T&&d===U}),null]})})})}),null]}),R=(0,s.jsxs)(u.TemplateContext.Provider,{value:O,children:[a,o,i]},d);V.push(R),X=X.next}while(null!==X)return V}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},37457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(90809),a=e.r(43476),o=n._(e.r(71645)),i=e.r(8372);function s(){let e=(0,o.useContext)(i.TemplateContext);return(0,a.jsx)(a.Fragment,{children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},93504,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},66996,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(93504).createRenderSearchParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6831,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return a}});let n=new WeakMap;function a(e){let t=n.get(e);if(t)return t;let r=Promise.resolve(e);return n.set(e,r),r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97689,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=e.r(6831).createRenderParamsFromClient;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},66373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={accumulateRootVaryParam:function(){return y},accumulateVaryParam:function(){return g},createResponseVaryParamsAccumulator:function(){return c},createVaryParamsAccumulator:function(){return u},createVaryingParams:function(){return b},createVaryingSearchParams:function(){return P},emptyVaryParamsAccumulator:function(){return l},finishAccumulatingVaryParams:function(){return _},getMetadataVaryParamsAccumulator:function(){return d},getMetadataVaryParamsThenable:function(){return p},getRootParamsVaryParamsAccumulator:function(){return h},getVaryParamsThenable:function(){return f},getViewportVaryParamsAccumulator:function(){return m}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(62141);function i(){let e={varyParams:new Set,status:"pending",value:new Set,then(t){t&&("pending"===e.status?e.resolvers.push(t):t(e.value))},resolvers:[]};return e}let s=new Set,l={varyParams:s,status:"fulfilled",value:s,then(e){e&&e(s)},resolvers:[]};function c(){let e=i();return{head:e,rootParams:i(),segments:new Set}}function u(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t){let e=i();return t.segments.add(e),e}}}return null}function d(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.head}}return null}function f(e){return e}function p(){let e=d();return null!==e?e:null}let m=d;function h(){let e=o.workUnitAsyncStorage.getStore();if(e)switch(e.type){case"prerender":case"prerender-runtime":{let t=e.varyParamsAccumulator;if(null!==t)return t.rootParams}}return null}function g(e,t){e.varyParams.add(t)}function y(e){let t=h();null!==t&&g(t,e)}function b(e,t,r){if(null!==r)return new Proxy(t,{get:(t,n,a)=>("string"==typeof n&&(n===r||Object.prototype.hasOwnProperty.call(t,n))&&g(e,n),Reflect.get(t,n,a)),has:(t,n)=>(n===r&&g(e,r),Reflect.has(t,n)),ownKeys:t=>(g(e,r),Reflect.ownKeys(t))});let n={};for(let r in t)Object.defineProperty(n,r,{get:()=>(g(e,r),t[r]),enumerable:!0});return n}function P(e,t){let r={};for(let n in t)Object.defineProperty(r,n,{get:()=>(g(e,"?"),t[n]),enumerable:!0});return r}async function _(e){let t=e.rootParams.varyParams;for(let r of(v(e.head,t),e.segments))v(r,t);await Promise.resolve(),await Promise.resolve(),await Promise.resolve()}function v(e,t){if("pending"!==e.status)return;let r=new Set(e.varyParams);for(let e of t)r.add(e);for(let t of(e.value=r,e.status="fulfilled",e.resolvers))t(r);e.resolvers=[]}},42715,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReflectAdapter",{enumerable:!0,get:function(){return n}});class n{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},76361,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return l}});let n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(e.r(71645));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}let o={current:null},i="function"==typeof n.cache?n.cache:e=>e,s=console.warn;function l(e){return function(...t){s(e(...t))}}i(e=>{try{s(o.current)}finally{o.current=null}})},65932,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={describeHasCheckingStringProperty:function(){return s},describeStringPropertyAccess:function(){return i},wellKnownProperties:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function i(e,t){return o.test(t)?`\`${e}.${t}\``:`\`${e}[${JSON.stringify(t)}]\``}function s(e,t){let r=JSON.stringify(t);return`\`Reflect.has(${e}, ${r})\`, \`${r} in ${e}\`, or similar`}let l=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"])},83066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},41643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return n.afterTaskAsyncStorageInstance}});let n=e.r(83066)},50999,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isRequestAPICallableInsideAfter:function(){return c},throwForSearchParamsAccessInUseCache:function(){return l},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(43248),i=e.r(41643);function s(e,t){throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function l(e,t){let r=Object.defineProperty(Error(`Route ${e.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(r,t),e.invalidDynamicUsageError??=r,r}function c(){let e=i.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},28649,(e,t,r)=>{"use strict";var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={},l={RequestCookies:()=>h,ResponseCookies:()=>g,parseCookie:()=>d,parseSetCookie:()=>f,stringifyCookie:()=>u};for(var c in l)n(s,c,{get:l[c],enumerable:!0});function u(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function d(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,a]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=a?a:"true"))}catch{}}return t}function f(e){if(!e)return;let[[t,r],...n]=d(e),{domain:a,expires:o,httponly:i,maxage:s,path:l,samesite:c,secure:u,partitioned:f,priority:h}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var g,y,b={name:t,value:decodeURIComponent(r),domain:a,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof s&&{maxAge:Number(s)},path:l,...c&&{sameSite:p.includes(g=(g=c).toLowerCase())?g:void 0},...u&&{secure:!0},...h&&{priority:m.includes(y=(y=h).toLowerCase())?y:void 0},...f&&{partitioned:!0}};let e={};for(let t in b)b[t]&&(e[t]=b[t]);return e}}t.exports=((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))i.call(e,s)||void 0===s||n(e,s,{get:()=>t[s],enumerable:!(r=a(t,s))||r.enumerable});return e})(n({},"__esModule",{value:!0}),s);var p=["strict","lax","none"],m=["low","medium","high"],h=class{constructor(e){this._parsed=new Map,this._headers=e;const t=e.get("cookie");if(t)for(const[e,r]of d(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>u(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>u(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},g=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;const a=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(const e of Array.isArray(a)?a:function(e){if(!e)return[];var t,r,n,a,o,i=[],s=0;function l(){for(;s=e.length)&&i.push(e.substring(t,e.length))}return i}(a)){const t=f(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,a=this._parsed;return a.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=u(r);t.append("set-cookie",e)}}(a,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(u).join("; ")}}},96883,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RequestCookies:function(){return o.RequestCookies},ResponseCookies:function(){return o.ResponseCookies},stringifyCookie:function(){return o.stringifyCookie}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(28649)},97270,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MutableRequestCookiesAdapter:function(){return m},ReadonlyRequestCookiesError:function(){return c},RequestCookiesAdapter:function(){return u},appendMutableCookies:function(){return p},areCookiesMutableInCurrentPhase:function(){return g},createCookiesWithMutableAccessCheck:function(){return h},getModifiedCookieValues:function(){return f},responseCookiesToRequestCookies:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(96883),i=e.r(42715),s=e.r(63599),l=e.r(39146);class c extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new c}}class u{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return c.callable;default:return i.ReflectAdapter.get(e,t,r)}}})}}let d=Symbol.for("next.mutated.cookies");function f(e){let t=e[d];return t&&Array.isArray(t)&&0!==t.length?t:[]}function p(e,t){let r=f(t);if(0===r.length)return!1;let n=new o.ResponseCookies(e),a=n.getAll();for(let e of r)n.set(e);for(let e of a)n.set(e);return!0}class m{static wrap(e,t){let r=new o.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let n=[],a=new Set,c=()=>{let e=s.workAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=l.ActionDidRevalidateStaticAndDynamic),n=r.getAll().filter(e=>a.has(e.name)),t){let e=[];for(let t of n){let r=new o.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},u=new Proxy(r,{get(e,t,r){switch(t){case d:return n;case"delete":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),u}finally{c()}};case"set":return function(...t){a.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),u}finally{c()}};default:return i.ReflectAdapter.get(e,t,r)}}});return u}}function h(e){let t=new Proxy(e.mutableCookies,{get(r,n,a){switch(n){case"delete":return function(...n){return y(e,"cookies().delete"),r.delete(...n),t};case"set":return function(...n){return y(e,"cookies().set"),r.set(...n),t};default:return i.ReflectAdapter.get(r,n,a)}}});return t}function g(e){return"action"===e.phase}function y(e,t){if(!g(e))throw new c}function b(e){let t=new o.RequestCookies(new Headers);for(let r of e.getAll())t.set(r);return t}},87720,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HeadersAdapter:function(){return s},ReadonlyHeadersError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(42715);class i extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new i}}class s extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,n){if("symbol"==typeof r)return o.ReflectAdapter.get(t,r,n);let a=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===a);if(void 0!==i)return o.ReflectAdapter.get(t,i,n)},set(t,r,n,a){if("symbol"==typeof r)return o.ReflectAdapter.set(t,r,n,a);let i=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===i);return o.ReflectAdapter.set(t,s??r,n,a)},has(t,r){if("symbol"==typeof r)return o.ReflectAdapter.has(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0!==a&&o.ReflectAdapter.has(t,a)},deleteProperty(t,r){if("symbol"==typeof r)return o.ReflectAdapter.deleteProperty(t,r);let n=r.toLowerCase(),a=Object.keys(e).find(e=>e.toLowerCase()===n);return void 0===a||o.ReflectAdapter.deleteProperty(t,a)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return i.callable;default:return o.ReflectAdapter.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new s(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,n]of this.entries())e.call(t,n,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},1643,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getParamProperties:function(){return l},getSegmentParam:function(){return i},isCatchAll:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(91463);function i(e){let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return _},NormalizeError:function(){return b},PageNotFoundError:function(){return P},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>s.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class b extends Error{}class P extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class _ extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},90929,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(98183);function o(e,t,r=!0){let i=new URL("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={InstantValidationError:function(){return s},isInstantValidationError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="INSTANT_VALIDATION_ERROR";function i(e){return!!(e&&"object"==typeof e&&e instanceof Error&&e.digest===o)}class s extends Error{constructor(...e){super(...e),this.digest=o}}},18450,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assertRootParamInSamples:function(){return S},createCookiesFromSample:function(){return y},createDraftModeForValidation:function(){return _},createExhaustiveParamsProxy:function(){return v},createExhaustiveSearchParamsProxy:function(){return E},createExhaustiveURLSearchParamsProxy:function(){return O},createHeadersFromSample:function(){return P},createRelativeURLFromSamples:function(){return w},createValidationSampleTracking:function(){return m},trackMissingSampleError:function(){return h},trackMissingSampleErrorAndThrow:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(96883),i=e.r(97270),s=e.r(87720),l=e.r(1643),c=e.r(90929),u=e.r(12718),d=e.r(13770),f=e.r(62141),p=e.r(65932);function m(){return{missingSampleErrors:[]}}function h(e){(function(){let e=null,t=f.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"request":case"validation-client":e=t.validationSampleTracking??null}if(!e)throw Object.defineProperty(new u.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking"),"__NEXT_ERROR_CODE",{value:"E1110",enumerable:!1,configurable:!0});return e})().missingSampleErrors.push(e)}function g(e){throw h(e),e}function y(e,t){let r=new Set,n=new o.RequestCookies(new Headers);if(e)for(let t of e)r.add(t.name),null!==t.value&&n.set(t.name,t.value);return new Proxy(i.RequestCookiesAdapter.seal(n),{get(e,n,a){if("has"===n){let o=Reflect.get(e,n,a);return function(n){return r.has(n)||g(b(t,n)),o.call(e,n)}}if("get"===n){let o=Reflect.get(e,n,a);return function(n){let a;if("string"==typeof n)a=n;else{if(!n||"object"!=typeof n||"string"!=typeof n.name)return o.call(e,n);a=n.name}return r.has(a)||g(b(t,a)),o.call(e,a)}}return Reflect.get(e,n,a)}})}function b(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed cookie "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${t}", value: null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1115",enumerable:!1,configurable:!0})}function P(e,t,r){let n=e?[...e]:[];if(n.find(([e])=>"cookie"===e.toLowerCase()))throw Object.defineProperty(new d.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.'),"__NEXT_ERROR_CODE",{value:"E1111",enumerable:!1,configurable:!0});if(t){let e=t.toString();n.push(["cookie",""!==e?e:null])}let a=new Set,o={};for(let[e,t]of n)a.add(e.toLowerCase()),null!==t&&(o[e.toLowerCase()]=t);return new Proxy(s.HeadersAdapter.seal(s.HeadersAdapter.from(o)),{get(e,t,n){if("get"===t||"has"===t){let o=Reflect.get(e,t,n);return function(t){let n=t.toLowerCase();return a.has(n)||g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed header "${n}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`headers\` array, or \`["${n}", null]\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1116",enumerable:!1,configurable:!0})),o.call(e,n)}}return Reflect.get(e,t,n)}})}function _(){return{get isEnabled(){return!1},enable(){throw Object.defineProperty(Error("Draft mode cannot be enabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1092",enumerable:!1,configurable:!0})},disable(){throw Object.defineProperty(Error("Draft mode cannot be disabled during build-time instant validation."),"__NEXT_ERROR_CODE",{value:"E1094",enumerable:!1,configurable:!0})}}}function v(e,t,r){return new Proxy(e,{get:(n,a,o)=>("string"==typeof a&&!p.wellKnownProperties.has(a)&&a in e&&!t.has(a)&&g(Object.defineProperty(new d.InstantValidationError(`Route "${r}" accessed param "${a}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1095",enumerable:!1,configurable:!0})),Reflect.get(n,a,o))})}function E(e,t,r){return new Proxy(e,{get:(e,n,a)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(R(r,n)),Reflect.get(e,n,a)),has:(e,n)=>("string"!=typeof n||p.wellKnownProperties.has(n)||t.has(n)||g(R(r,n)),Reflect.has(e,n))})}function O(e,t,r){return new Proxy(e,{get(e,n,a){if("get"===n||"getAll"===n||"has"===n){let o=Reflect.get(e,n,a);return n=>("string"!=typeof n||t.has(n)||g(R(r,n)),o.call(e,n))}let o=Reflect.get(e,n,a);return"function"!=typeof o||Object.hasOwn(e,n)?o:o.bind(e)}})}function R(e,t){return Object.defineProperty(new d.InstantValidationError(`Route "${e}" accessed searchParam "${t}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${t}": null }\` if it should be absent.`),"__NEXT_ERROR_CODE",{value:"E1098",enumerable:!1,configurable:!0})}function w(e,t,r){let n=function(e,t){let r=[];for(let n of e.split("/")){let e=(0,l.getSegmentParam)(n);if(e)switch(e.paramType){case"catchall":case"optional-catchall":{let a=t[e.paramName];if(void 0===a)a=[n];else if(!Array.isArray(a))throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be an array of strings, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1104",enumerable:!1,configurable:!0});r.push(...a.map(e=>encodeURIComponent(e)));break}case"dynamic":{let a=t[e.paramName];if(void 0===a)a=n;else if("string"!=typeof a)throw Object.defineProperty(new d.InstantValidationError(`Expected sample param value for segment '${n}' to be a string, got ${typeof a}`),"__NEXT_ERROR_CODE",{value:"E1108",enumerable:!1,configurable:!0});r.push(encodeURIComponent(a));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw Object.defineProperty(new u.InvariantError("Not implemented: Validation of interception routes"),"__NEXT_ERROR_CODE",{value:"E1106",enumerable:!1,configurable:!0});default:e.paramType}else r.push(n)}return r.join("/")}(e,t??{}),a="";if(r){let e=(function(e){let t=new URLSearchParams;if(e){for(let[r,n]of Object.entries(e))if(null!=n)if(Array.isArray(n))for(let e of n)t.append(r,e);else t.set(r,n)}return t})(r).toString();e&&(a="?"+e)}return(0,c.parseRelativeUrl)(n+a,void 0,!0)}function S(e,t,r){if(t&&r in t);else{let t=e.route;g(Object.defineProperty(new d.InstantValidationError(`Route "${t}" accessed root param "${r}" which is not defined in the \`samples\` of \`unstable_instant\`. Add it to the sample's \`params\` object.`),"__NEXT_ERROR_CODE",{value:"E1114",enumerable:!1,configurable:!0}))}}},69882,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrerenderSearchParamsForClientPage:function(){return P},createSearchParamsFromClient:function(){return g},createServerSearchParamsForMetadata:function(){return y},createServerSearchParamsForServerPage:function(){return b},makeErroringSearchParamsForUseCache:function(){return R}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(63599),i=e.r(66373),s=e.r(42715),l=e.r(67673),c=e.r(62141),u=e.r(12718),d=e.r(63138),f=e.r(76361),p=e.r(65932),m=e.r(50999),h=e.r(42852);function g(t){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(r,n);case"validation-client":return function(t,r,n){var a;let{createExhaustiveSearchParamsProxy:o}=e.r(18450);return Promise.resolve(t=o(t,new Set(Object.keys((null==(a=n.validationSamples)?void 0:a.searchParams)??{})),r.route))}(t,r,n);case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createSearchParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1133",enumerable:!1,configurable:!0});case"request":return v(t,r,n,!1)}(0,c.throwInvariantForMissingStore)()}function y(e,t){return b(e,(0,i.getMetadataVaryParamsAccumulator)(),t)}function b(e,t,r){let n=o.workAsyncStorage.getStore();if(!n)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let a=c.workUnitAsyncStorage.getStore();if(a)switch(a.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return _(n,a);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1066",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerSearchParamsForServerPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1128",enumerable:!1,configurable:!0});case"prerender-runtime":return function(e,t,r,n){let a=w(null!==r?(0,i.createVaryingSearchParams)(r,e):e),{stagedRendering:o}=t;if(!o)return a;let s=n?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return o.waitForStage(s).then(()=>a)}(e,a,t,r);case"request":return v(e,n,a,r)}(0,c.throwInvariantForMissingStore)()}function P(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve({});let t=c.workUnitAsyncStorage.getStore();if(t)switch(t.type){case"prerender":case"prerender-client":return(0,d.makeHangingPromise)(t.renderSignal,e.route,"`searchParams`");case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a client validation."),"__NEXT_ERROR_CODE",{value:"E1061",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderSearchParamsForClientPage should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1124",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,c.throwInvariantForMissingStore)()}function _(e,t){if(e.forceStatic)return Promise.resolve({});switch(t.type){case"prerender":case"prerender-client":var r=e,n=t;let a=E.get(n);if(a)return a;let o=(0,d.makeHangingPromise)(n.renderSignal,r.route,"`searchParams`"),i=new Proxy(o,{get(e,t,r){if(Object.hasOwn(o,t))return s.ReflectAdapter.get(e,t,r);switch(t){case"then":return(0,l.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",n),s.ReflectAdapter.get(e,t,r);case"status":return(0,l.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",n),s.ReflectAdapter.get(e,t,r);default:return s.ReflectAdapter.get(e,t,r)}}});return E.set(n,i),i;case"prerender-ppr":case"prerender-legacy":var c=e,u=t;let f=E.get(c);if(f)return f;let p=Promise.resolve({}),h=new Proxy(p,{get(e,t,r){if(Object.hasOwn(p,t))return s.ReflectAdapter.get(e,t,r);if("string"==typeof t&&"then"===t){let e="`await searchParams`, `searchParams.then`, or similar";c.dynamicShouldError?(0,m.throwWithStaticGenerationBailoutErrorWithDynamicError)(c.route,e):"prerender-ppr"===u.type?(0,l.postponeWithTracking)(c.route,e,u.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(e,c,u)}return s.ReflectAdapter.get(e,t,r)}});return E.set(c,h),h;default:return t}}function v(t,r,n,a){if(r.forceStatic)return Promise.resolve({});if(!n.asyncApiPromises)return w(t);if(n.validationSamples){let{createExhaustiveSearchParamsProxy:a}=e.r(18450),o=new Set(Object.keys(n.validationSamples.searchParams??{}));t=a(t,o,r.route)}return(a?n.asyncApiPromises.earlySharedSearchParamsParent:n.asyncApiPromises.sharedSearchParamsParent).then(()=>t)}let E=new WeakMap,O=new WeakMap;function R(){let e=o.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let t=O.get(e);if(t)return t;let r=Promise.resolve({}),n=new Proxy(r,{get:function t(n,a,o){return Object.hasOwn(r,a)||"string"!=typeof a||"then"!==a&&p.wellKnownProperties.has(a)||(0,m.throwForSearchParamsAccessInUseCache)(e,t),s.ReflectAdapter.get(n,a,o)}});return O.set(e,n),n}function w(e){let t=E.get(e);if(t)return t;let r=Promise.resolve(e);return E.set(e,r),r}(0,f.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`searchParams\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E848",enumerable:!1,configurable:!0})})},74804,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},88276,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"dynamicAccessAsyncStorage",{enumerable:!0,get:function(){return n.dynamicAccessAsyncStorageInstance}});let n=e.r(74804)},41489,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createParamsFromClient:function(){return g},createPrerenderParamsForClientSegment:function(){return _},createServerParamsForMetadata:function(){return y},createServerParamsForRoute:function(){return b},createServerParamsForServerSegment:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(63599),i=e.r(66373),s=e.r(42715),l=e.r(67673),c=e.r(62141),u=e.r(12718),d=e.r(65932),f=e.r(63138),p=e.r(76361),m=e.r(88276),h=e.r(42852);function g(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(e,null,t,r,null);case"validation-client":return O(e,t,r.validationSamples);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createParamsFromClient should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1122",enumerable:!1,configurable:!0});case"request":if(r.validationSamples)return O(e,t,r.validationSamples);return S(e)}(0,c.throwInvariantForMissingStore)()}function y(e,t,r){return P(e,t,(0,i.getMetadataVaryParamsAccumulator)(),r)}function b(e,t=null){let r=o.workAsyncStorage.getStore();if(!r)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let n=c.workUnitAsyncStorage.getStore();if(n)switch(n.type){case"prerender":case"prerender-ppr":case"prerender-legacy":return v(e,null,r,n,t);case"prerender-client":case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1064",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForRoute should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1131",enumerable:!1,configurable:!0});case"prerender-runtime":return E(e,null,n,t,!1);case"request":return S(e)}(0,c.throwInvariantForMissingStore)()}function P(t,r,n,a){let i=o.workAsyncStorage.getStore();if(!i)throw Object.defineProperty(new u.InvariantError("Expected workStore to be initialized"),"__NEXT_ERROR_CODE",{value:"E1068",enumerable:!1,configurable:!0});let s=c.workUnitAsyncStorage.getStore();if(s)switch(s.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return v(t,r,i,s,n);case"validation-client":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in client contexts."),"__NEXT_ERROR_CODE",{value:"E1101",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createServerParamsForServerSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1120",enumerable:!1,configurable:!0});case"prerender-runtime":return E(t,r,s,n,a);case"request":if(s.asyncApiPromises&&s.validationSamples)return function(t,r,n,a,o){let{createExhaustiveParamsProxy:i}=e.r(18450),s=i(t,new Set(Object.keys(n.params??{})),r.route);return(o?a.earlySharedParamsParent:a.sharedParamsParent).then(()=>s)}(t,i,s.validationSamples,s.asyncApiPromises,a);if(s.asyncApiPromises&&function(e,t){if(t){for(let r in e)if(t.has(r))return!0}return!1}(t,s.fallbackParams))return(a?s.asyncApiPromises.earlySharedParamsParent:s.asyncApiPromises.sharedParamsParent).then(()=>t);return S(t)}(0,c.throwInvariantForMissingStore)()}function _(e){let t=o.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(new u.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let r=c.workUnitAsyncStorage.getStore();if(r)switch(r.type){case"prerender":case"prerender-client":let n=r.fallbackRouteParams;if(n){for(let a in e)if(n.has(a))return(0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`")}break;case"validation-client":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in validation contexts."),"__NEXT_ERROR_CODE",{value:"E1099",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new u.InvariantError("createPrerenderParamsForClientSegment should not be called inside generateStaticParams."),"__NEXT_ERROR_CODE",{value:"E1126",enumerable:!1,configurable:!0})}return Promise.resolve(e)}function v(e,t,r,n,a){let o=null!==a?(0,i.createVaryingParams)(a,e,t):e;switch(n.type){case"prerender":case"prerender-client":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r){let n=R.get(e);if(n)return n;let a=new Proxy((0,f.makeHangingPromise)(r.renderSignal,t.route,"`params`"),w);return R.set(e,a),a}(o,r,n)}break}case"prerender-ppr":{let t=n.fallbackRouteParams;if(t){for(let a in e)if(t.has(a))return function(e,t,r,n){let a=R.get(e);if(a)return a;let o={...e},i=Promise.resolve(o);return R.set(e,i),Object.keys(e).forEach(e=>{d.wellKnownProperties.has(e)||t.has(e)&&Object.defineProperty(o,e,{get(){let t=(0,d.describeStringPropertyAccess)("params",e);"prerender-ppr"===n.type?(0,l.postponeWithTracking)(r.route,t,n.dynamicTracking):(0,l.throwToInterruptStaticGeneration)(t,r,n)},enumerable:!0})}),i}(o,t,r,n)}}}return S(o)}function E(e,t,r,n,a){let o=S(null!==n?(0,i.createVaryingParams)(n,e,t):e),{stagedRendering:s}=r;if(!s)return o;let l=a?h.RenderStage.EarlyRuntime:h.RenderStage.Runtime;return s.waitForStage(l).then(()=>o)}function O(t,r,n){let{createExhaustiveParamsProxy:a}=e.r(18450);return Promise.resolve(a(t,new Set(Object.keys((null==n?void 0:n.params)??{})),r.route))}let R=new WeakMap,w={get:function(e,t,r){if("then"===t||"catch"===t||"finally"===t){let n=s.ReflectAdapter.get(e,t,r);return({[t]:(...t)=>{let r=m.dynamicAccessAsyncStorage.getStore();return r&&r.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(n.apply(e,t),w)}})[t]}return s.ReflectAdapter.get(e,t,r)}};function S(e){let t=R.get(e);if(t)return t;let r=Promise.resolve(e);return R.set(e,r),r}(0,p.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`params\` is a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E834",enumerable:!1,configurable:!0})})},47257,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientPageRoot",{enumerable:!0,get:function(){return l}});let n=e.r(43476),a=e.r(8372),o=e.r(71645),i=e.r(33906),s=e.r(61994);function l({Component:t,serverProvidedParams:r}){let c,u;if(null!==r)c=r.searchParams,u=r.params;else{let e=(0,o.use)(a.LayoutRouterContext);u=null!==e?e.parentParams:{},c=(0,i.urlSearchParamsToParsedUrlQuery)((0,o.use)(s.SearchParamsContext))}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ClientSegmentRoot",{enumerable:!0,get:function(){return i}});let n=e.r(43476),a=e.r(8372),o=e.r(71645);function i({Component:t,slots:r,serverProvidedParams:s}){let l;if(null!==s)l=s.params;else{let e=(0,o.use)(a.LayoutRouterContext);l=null!==e?e.parentParams:{}}if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"IconMark",{enumerable:!0,get:function(){return a}});let n=e.r(43476),a=()=>"u">typeof window?null:(0,n.jsx)("meta",{name:"«nxt-icon»"})}]); \ No newline at end of file diff --git a/frontend/_next/static/chunks/0ht900cau6_ur.js b/frontend/_next/static/chunks/0ht900cau6_ur.js deleted file mode 100644 index 4a91202..0000000 --- a/frontend/_next/static/chunks/0ht900cau6_ur.js +++ /dev/null @@ -1,31 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35451,(e,t,r)=>{var n={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var a=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?a=n.concat(a):c=-1,a.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=a.length;t;){for(n=a,a=[];++c1)for(var r=1;r{"use strict";var n,o;t.exports=(null==(n=e.g.process)?void 0:n.env)&&"object"==typeof(null==(o=e.g.process)?void 0:o.env)?e.g.process:e.r(35451)},45689,(e,t,r)=>{"use strict";var n=Symbol.for("react.transitional.element");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in r={},t)"key"!==u&&(r[u]=t[u]);else r=t;return{$$typeof:n,type:e,key:o,ref:void 0!==(t=r.ref)?t:null,props:r}}r.Fragment=Symbol.for("react.fragment"),r.jsx=o,r.jsxs=o},43476,(e,t,r)=>{"use strict";t.exports=e.r(45689)},50740,(e,t,r)=>{"use strict";var n=e.i(47167),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),h=Symbol.for("react.view_transition"),g=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,v={};function _(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||m}function S(){}function j(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=_.prototype;var w=j.prototype=new S;w.constructor=j,x(w,_.prototype),w.isPureReactComponent=!0;var E=Array.isArray;function T(){}var O={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function R(e,t,r){var n=r.ref;return{$$typeof:o,type:e,key:t,ref:void 0!==n?n:null,props:r}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var H=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function M(e,t,r){if(null==e)return e;var n=[],i=0;return!function e(t,r,n,i,s){var a,l,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case y:return e((d=t._init)(t._payload),r,n,i,s)}}if(d)return s=s(t),d=""===i?"."+A(t,0):i,E(s)?(n="",null!=d&&(n=d.replace(H,"$&/")+"/"),e(s,r,n,"",function(e){return e})):null!=s&&(C(s)&&(a=s,l=n+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(H,"$&/")+"/")+d,s=R(a.type,l,a.props)),r.push(s)),1;d=0;var p=""===i?".":i+":";if(E(t))for(var b=0;b{"use strict";t.exports=e.r(50740)},55682,(e,t,r)=>{"use strict";r._=function(e){return e&&e.__esModule?e:{default:e}}},90317,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let u=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw u}getStore(){}run(){throw u}exit(){throw u}enterWith(){throw u}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return s?new s:new i}function l(e){return s?s.bind(e):i.bind(e)}function c(){return s?s.snapshot():function(e,...t){return e(...t)}}},42344,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},63599,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(42344)},12354,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"handleISRError",{enumerable:!0,get:function(){return o}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={WarningIcon:function(){return a},errorStyles:function(){return i},errorThemeCss:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(55682);let u=e.r(43476);e.r(71645);let i={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=` -:root { - --next-error-bg: #fff; - --next-error-text: #171717; - --next-error-title: #171717; - --next-error-message: #171717; - --next-error-digest: #666666; - --next-error-btn-text: #fff; - --next-error-btn-bg: #171717; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #171717; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); -} -@media (prefers-color-scheme: dark) { - :root { - --next-error-bg: #0a0a0a; - --next-error-text: #ededed; - --next-error-title: #ededed; - --next-error-message: #ededed; - --next-error-digest: #a0a0a0; - --next-error-btn-text: #0a0a0a; - --next-error-btn-bg: #ededed; - --next-error-btn-border: none; - --next-error-btn-secondary-text: #ededed; - --next-error-btn-secondary-bg: transparent; - --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); - } -} -body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } -`.replace(/\n\s*/g,"");function a(){return(0,u.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:i.icon,children:(0,u.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}}),e.r(55682);let n=e.r(43476);e.r(71645);let o=e.r(12354),u=e.r(18576),i=function({error:e}){let t=e?.digest,r=!!t;return(0,o.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:u.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:u.errorStyles.container,children:(0,n.jsxs)("div",{style:u.errorStyles.card,children:[(0,n.jsx)(u.WarningIcon,{}),(0,n.jsx)("h1",{style:u.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:u.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:u.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:u.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:u.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:u.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:u.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)}]); \ No newline at end of file diff --git a/frontend/_next/static/chunks/0r8nt2o8muejo.js b/frontend/_next/static/chunks/0r8nt2o8muejo.js deleted file mode 100644 index b39ad04..0000000 --- a/frontend/_next/static/chunks/0r8nt2o8muejo.js +++ /dev/null @@ -1,5 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43369,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var a={getAssetToken:function(){return l},getAssetTokenQuery:function(){return s},getDeploymentId:function(){return i},getDeploymentIdQuery:function(){return o}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});function i(){return n}function o(e=!1){let t=n;return t?`${e?"&":"?"}dpl=${t}`:""}function l(){return!1}function s(e=!1){return""}"u">typeof window?(n=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId):n=void 0},12718,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"InvariantError",{enumerable:!0,get:function(){return n}});class n extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},32061,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={BailoutToCSRError:function(){return i},isBailoutToCSRError:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="BAILOUT_TO_CLIENT_SIDE_RENDERING";class i extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=u}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===u}},18800,(e,t,r)=>{"use strict";var n=e.r(71645);function a(e){var t="https://react.dev/errors/"+e;if(1{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(18800)},64893,(e,t,r)=>{"use strict";var n=e.r(74080),a={stream:!0},u=Object.prototype.hasOwnProperty;function i(t){var r=e.r(t);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 o=new WeakSet,l=new WeakSet;function s(){}function c(t){for(var r=t[1],n=[],a=0;af||35===f||114===f||120===f?(p=f,f=3,s++):(p=0,f=3);continue;case 2:44===(_=l[s++])?f=4:h=h<<4|(96<_?_-87:_-48);continue;case 3:_=l.indexOf(10,s);break;case 4:(_=s+h)>l.length&&(_=-1)}var m=l.byteOffset+s;if(-1<_)h=new Uint8Array(l.buffer,m,_-s),98===p?Z(e,o,_===g?h:h.slice()):function(e,t,r,n,u,i){switch(n){case 65:Z(e,r,eu(u,i).buffer);return;case 79:ei(e,r,u,i,Int8Array,1);return;case 111:Z(e,r,0===u.length?i:eu(u,i));return;case 85:ei(e,r,u,i,Uint8ClampedArray,1);return;case 83:ei(e,r,u,i,Int16Array,2);return;case 115:ei(e,r,u,i,Uint16Array,2);return;case 76:ei(e,r,u,i,Int32Array,4);return;case 108:ei(e,r,u,i,Uint32Array,4);return;case 71:ei(e,r,u,i,Float32Array,4);return;case 103:ei(e,r,u,i,Float64Array,8);return;case 77:ei(e,r,u,i,BigInt64Array,8);return;case 109:ei(e,r,u,i,BigUint64Array,8);return;case 86:ei(e,r,u,i,DataView,1);return}t=e._stringDecoder;for(var o="",l=0;l{"use strict";t.exports=e.r(64893)},35326,(e,t,r)=>{"use strict";t.exports=e.r(21413)},54394,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTTPAccessErrorStatus:function(){return u},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return o},getAccessFallbackErrorTypeByStatus:function(){return c},getAccessFallbackHTTPStatus:function(){return s},isHTTPAccessFallbackError:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},i=new Set(Object.values(u)),o="NEXT_HTTP_ERROR_FALLBACK";function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===o&&i.has(Number(r))}function s(e){return Number(e.digest.split(";")[1])}function c(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76963,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RedirectStatusCode",{enumerable:!0,get:function(){return a}});var n,a=((n={})[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},68391,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return i},isRedirectError:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(76963),i="NEXT_REDIRECT";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,a=t.slice(2,-2).join(";"),o=Number(t.at(-2));return r===i&&("replace"===n||"push"===n)&&"string"==typeof a&&!isNaN(o)&&o in u.RedirectStatusCode}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65713,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=e.r(54394),a=e.r(68391);function u(e){return(0,a.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90809,(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}r._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=u?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(a,i,o):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a}},3680,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return a}});class n extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new n}delete(){throw new n}set(){throw new n}sort(){throw new n}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61994,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return s},PathnameContext:function(){return l},ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},SearchParamsContext:function(){return o},createDevToolsInstrumentedPromise:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(71645),i=e.r(3680),o=(0,u.createContext)(null),l=(0,u.createContext)(null),s=(0,u.createContext)(null),c=(0,u.createContext)(null);function f(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},45955,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},21768,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_HEADER:function(){return i},FLIGHT_HEADERS:function(){return g},NEXT_ACTION_NOT_FOUND_HEADER:function(){return S},NEXT_ACTION_REVALIDATED_HEADER:function(){return T},NEXT_DID_POSTPONE_HEADER:function(){return E},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return f},NEXT_HMR_REFRESH_HEADER:function(){return c},NEXT_HTML_REQUEST_ID_HEADER:function(){return O},NEXT_INSTANT_PREFETCH_HEADER:function(){return h},NEXT_INSTANT_TEST_COOKIE:function(){return y},NEXT_IS_PRERENDER_HEADER:function(){return b},NEXT_REQUEST_ID_HEADER:function(){return P},NEXT_REWRITTEN_PATH_HEADER:function(){return v},NEXT_REWRITTEN_QUERY_HEADER:function(){return R},NEXT_ROUTER_PREFETCH_HEADER:function(){return l},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return s},NEXT_ROUTER_STALE_TIME_HEADER:function(){return m},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return _},NEXT_URL:function(){return d},RSC_CONTENT_TYPE_HEADER:function(){return p},RSC_HEADER:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="rsc",i="next-action",o="next-router-state-tree",l="next-router-prefetch",s="next-router-segment-prefetch",c="next-hmr-refresh",f="__next_hmr_refresh_hash__",d="next-url",p="text/x-component",h="next-instant-navigation-testing-prefetch",y="next-instant-navigation-testing",g=[u,o,l,c,s],_="_rsc",m="x-nextjs-stale-time",E="x-nextjs-postponed",v="x-nextjs-rewritten-path",R="x-nextjs-rewritten-query",b="x-nextjs-prerender",S="x-nextjs-action-not-found",P="x-nextjs-request-id",O="x-nextjs-html-request-id",T="x-action-revalidated";("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39470,(e,t,r)=>{"use strict";function n(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createPromiseWithResolvers",{enumerable:!0,get:function(){return n}})},42852,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={RenderStage:function(){return l},StagedRenderingController:function(){return s}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=e.r(12718),o=e.r(39470);var l=((n={})[n.Before=1]="Before",n[n.EarlyStatic=2]="EarlyStatic",n[n.Static=3]="Static",n[n.EarlyRuntime=4]="EarlyRuntime",n[n.Runtime=5]="Runtime",n[n.Dynamic=6]="Dynamic",n[n.Abandoned=7]="Abandoned",n);class s{constructor(e,t,r){this.abortSignal=e,this.abandonController=t,this.shouldTrackSyncIO=r,this.currentStage=1,this.syncInterruptReason=null,this.staticStageEndTime=1/0,this.runtimeStageEndTime=1/0,this.staticStageListeners=[],this.earlyRuntimeStageListeners=[],this.runtimeStageListeners=[],this.dynamicStageListeners=[],this.staticStagePromise=(0,o.createPromiseWithResolvers)(),this.earlyRuntimeStagePromise=(0,o.createPromiseWithResolvers)(),this.runtimeStagePromise=(0,o.createPromiseWithResolvers)(),this.dynamicStagePromise=(0,o.createPromiseWithResolvers)(),e&&e.addEventListener("abort",()=>{let{reason:t}=e;this.staticStagePromise.promise.catch(c),this.staticStagePromise.reject(t),this.earlyRuntimeStagePromise.promise.catch(c),this.earlyRuntimeStagePromise.reject(t),this.runtimeStagePromise.promise.catch(c),this.runtimeStagePromise.reject(t),this.dynamicStagePromise.promise.catch(c),this.dynamicStagePromise.reject(t)},{once:!0}),t&&t.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(e,t){if(this.currentStage>=e)t();else if(3===e)this.staticStageListeners.push(t);else if(4===e)this.earlyRuntimeStageListeners.push(t);else if(5===e)this.runtimeStageListeners.push(t);else if(6===e)this.dynamicStageListeners.push(t);else throw Object.defineProperty(new i.InvariantError(`Invalid render stage: ${e}`),"__NEXT_ERROR_CODE",{value:"E881",enumerable:!1,configurable:!0})}shouldTrackSyncInterrupt(){if(!this.shouldTrackSyncIO)return!1;switch(this.currentStage){case 1:case 5:case 6:case 7:default:return!1;case 2:case 3:case 4:return!0}}syncInterruptCurrentStageWithReason(e){if(1!==this.currentStage&&7!==this.currentStage){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=e,this.currentStage=7;return}switch(this.currentStage){case 2:case 3:case 4:this.syncInterruptReason=e,this.advanceStage(6);return;case 5:return}}}getSyncInterruptReason(){return this.syncInterruptReason}getStaticStageEndTime(){return this.staticStageEndTime}getRuntimeStageEndTime(){return this.runtimeStageEndTime}abandonRender(){let{currentStage:e}=this;switch(e){case 2:this.resolveStaticStage();case 3:this.resolveEarlyRuntimeStage();case 4:this.resolveRuntimeStage();case 5:this.currentStage=7;return}}advanceStage(e){if(e<=this.currentStage)return;let t=this.currentStage;if(this.currentStage=e,t<3&&e>=3&&this.resolveStaticStage(),t<4&&e>=4&&this.resolveEarlyRuntimeStage(),t<5&&e>=5&&(this.staticStageEndTime=performance.now()+performance.timeOrigin,this.resolveRuntimeStage()),t<6&&e>=6){this.runtimeStageEndTime=performance.now()+performance.timeOrigin,this.resolveDynamicStage();return}}resolveStaticStage(){let e=this.staticStageListeners;for(let t=0;t{n.then(e.bind(null,u),t)}),void 0!==a&&(i.displayName=a),i);return this.abortSignal&&o.catch(c),o}}function c(){}},62141,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getCacheSignal:function(){return m},getDraftModeProviderForCacheScope:function(){return g},getHmrRefreshHash:function(){return p},getPrerenderResumeDataCache:function(){return f},getRenderResumeDataCache:function(){return d},getServerComponentsHmrCache:function(){return y},getStagedRenderingController:function(){return _},isHmrRefresh:function(){return h},isInEarlyRenderStage:function(){return l},throwForMissingRequestStore:function(){return s},throwInvariantForMissingStore:function(){return c},workUnitAsyncStorage:function(){return u.workUnitAsyncStorageInstance}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(45955);e.r(21768);let i=e.r(12718),o=e.r(42852);function l(e){let t=e.stagedRendering;return!!t&&(t.currentStage===o.RenderStage.EarlyStatic||t.currentStage===o.RenderStage.EarlyRuntime)}function s(e){throw Object.defineProperty(Error(`\`${e}\` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function c(){throw Object.defineProperty(new i.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function f(e){switch(e.type){case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-client":case"validation-client":return e.prerenderResumeDataCache;case"request":if(e.prerenderResumeDataCache)return e.prerenderResumeDataCache;case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function d(e){switch(e.type){case"request":case"prerender":case"prerender-runtime":case"prerender-client":case"validation-client":if(e.renderResumeDataCache)return e.renderResumeDataCache;case"prerender-ppr":return e.prerenderResumeDataCache??null;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":case"generate-static-params":return null;default:return e}}function p(e){}function h(e){return!1}function y(e){}function g(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function _(e){switch(e.type){case"request":case"prerender-runtime":return e.stagedRendering??null;case"prerender":case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}function m(e){switch(e.type){case"prerender":case"prerender-client":case"validation-client":case"prerender-runtime":return e.cacheSignal;case"request":if(e.cacheSignal)return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return null;default:return e}}},90373,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useUntrackedPathname",{enumerable:!0,get:function(){return u}});let n=e.r(71645),a=e.r(61994);function u(){return!function(){if("u"0}}return!1}()?(0,n.useContext)(a.PathnameContext):null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},51191,(e,t,r)=>{"use strict";function n(e,t=!0){return e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createHrefFromUrl",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},78377,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={handleHardNavError:function(){return i},useNavFailureHandler:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});e.r(71645);let u=e.r(51191);function i(e){return!!(e&&"u">typeof window)&&!!window.next.__pendingUrl&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==(0,u.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function o(){}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26935,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return n}});let n=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},82604,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return u.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return c},isBot:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(26935),i=/Googlebot(?!-)|Googlebot$/i,o=u.HTML_LIMITED_BOT_UA_RE.source;function l(e){return u.HTML_LIMITED_BOT_UA_RE.test(e)}function s(e){return i.test(e)||l(e)}function c(e){return i.test(e)?"dom":l(e)?"html":void 0}},8372,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return c},TemplateContext:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(55682)._(e.r(71645)),i=u.default.createContext(null),o=u.default.createContext(null),l=u.default.createContext(null),s=u.default.createContext(null),c=u.default.createContext(new Set)},72383,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ErrorBoundary:function(){return y},ErrorBoundaryHandler:function(){return h}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(90809),i=e.r(43476),o=u._(e.r(71645)),l=e.r(90373),s=e.r(65713);e.r(78377);let c=e.r(12354),f=e.r(82604),d=e.r(8372),p="u">typeof window&&(0,f.isBot)(window.navigator.userAgent);class h extends o.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.unstable_retry=()=>{(0,o.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error&&!p?((0,c.handleISRError)({error:this.state.error}),(0,i.jsxs)(i.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,i.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset,unstable_retry:this.unstable_retry})]})):this.props.children}}function y({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let a=(0,l.useUntrackedPathname)();return e?(0,i.jsx)(h,{pathname:a,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,i.jsx)(i.Fragment,{children:n})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88540,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,u={ACTION_HMR_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return l},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return s},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return c},PrefetchKind:function(){return p},ScrollBehavior:function(){return h}};for(var i in u)Object.defineProperty(r,i,{enumerable:!0,get:u[i]});let o="refresh",l="navigate",s="restore",c="server-patch",f="hmr-refresh",d="server-action";var p=((n={}).AUTO="auto",n.FULL="full",n),h=((a={})[a.Default=0]="Default",a[a.NoScroll=1]="NoScroll",a);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},64245,(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isThenable",{enumerable:!0,get:function(){return n}})},41538,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={dispatchAppRouterAction:function(){return s},dispatchGestureState:function(){return f},refreshOnInstantNavigationUnlock:function(){return l},useActionQueue:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(90809)._(e.r(71645)),i=e.r(64245);e.r(88540);let o=null;function l(){}function s(e){if(null===o)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});o(e)}let c=null;function f(e){if(null===c)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});c(e)}function d(e){let[t,r]=u.default.useState(e.state),[n,a]=(0,u.useOptimistic)(t);"u">typeof window&&(c=a),"u">typeof window&&(o=t=>e.dispatch(t,r));let l=(0,u.useMemo)(()=>n,[n]);return(0,i.isThenable)(l)?(0,u.use)(l):l}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32120,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"callServer",{enumerable:!0,get:function(){return i}});let n=e.r(71645),a=e.r(88540),u=e.r(41538);async function i(e,t){return new Promise((r,i)=>{(0,n.startTransition)(()=>{(0,u.dispatchAppRouterAction)({type:a.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:r,reject:i})})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92245,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findSourceMapURL",{enumerable:!0,get:function(){return n}});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13258,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DEFAULT_SEGMENT_KEY:function(){return f},NOT_FOUND_SEGMENT_KEY:function(){return d},PAGE_SEGMENT_KEY:function(){return c},addSearchParamsIfPageSegment:function(){return l},computeSelectedLayoutSegment:function(){return s},getSegmentValue:function(){return u},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,a=[]){let i;if(n)i=t[1][r];else{let e=t[1];i=e.children??Object.values(e)[0]}if(!i)return a;let o=u(i[0]);return!o||o.startsWith(c)?a:(a.push(o),e(i,r,!1,a))}},isGroupSegment:function(){return i},isParallelRouteSegment:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function u(e){return Array.isArray(e)?e[1]:e}function i(e){return"("===e[0]&&e.endsWith(")")}function o(e){return e.startsWith("@")&&"@children"!==e}function l(e,t){if(e.includes(c)){let e=JSON.stringify(t);return"{}"!==e?c+"?"+e:c}return e}function s(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===f?null:r}let c="__PAGE__",f="__DEFAULT__",d="/_not-found"},67764,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={HEAD_REQUEST_KEY:function(){return o},ROOT_SEGMENT_REQUEST_KEY:function(){return i},appendSegmentRequestKeyPart:function(){return s},convertSegmentPathToStaticExportFilename:function(){return d},createSegmentRequestKeyPart:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(13258),i="",o="/_head";function l(e){if("string"==typeof e)return e.startsWith(u.PAGE_SEGMENT_KEY)?u.PAGE_SEGMENT_KEY:"/_not-found"===e?"_not-found":f(e);let t=e[0];return"$"+e[2]+"$"+f(t)}function s(e,t,r){return e+"/"+("children"===t?r:`@${f(t)}/${r}`)}let c=/^[a-zA-Z0-9\-_@]+$/;function f(e){return c.test(e)?e:"!"+btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function d(e){return`__next${e.replace(/\//g,".")}.txt`}},33906,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={doesStaticSegmentAppearInURL:function(){return d},getCacheKeyForDynamicParam:function(){return p},getParamValueFromCacheKey:function(){return y},getRenderedPathname:function(){return s},getRenderedSearch:function(){return l},parseDynamicParamFromURLPart:function(){return f},urlSearchParamsToParsedUrlQuery:function(){return g},urlToUrlWithoutFlightMarker:function(){return h}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(13258),i=e.r(67764),o=e.r(21768);function l(e){let t=e.headers.get(o.NEXT_REWRITTEN_QUERY_HEADER);return null!==t?""===t?"":"?"+t:h(new URL(e.url)).search}function s(e){return e.headers.get(o.NEXT_REWRITTEN_PATH_HEADER)??h(new URL(e.url)).pathname}function c(e){try{return encodeURIComponent(decodeURIComponent(e))}catch{return e}}function f(e,t,r){switch(e){case"c":return rc(e)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let n=e.length-2;return r0===t?c(e.slice(n)):c(e)):[]}case"oc":return rc(e)):null;case"d":if(r>=t.length)return"";return c(t[r]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let n=e.length-2;if(r>=t.length)return"";return c(t[r].slice(n))}default:return""}}function d(e){return!(e===i.ROOT_SEGMENT_REQUEST_KEY||e.startsWith(u.PAGE_SEGMENT_KEY)||"("===e[0]&&e.endsWith(")"))&&e!==u.DEFAULT_SEGMENT_KEY&&"/_not-found"!==e}function p(e,t){return"string"==typeof e?(0,u.addSearchParamsIfPageSegment)(e,Object.fromEntries(new URLSearchParams(t))):null===e?"":e.join("/")}function h(e){let t=new URL(e);if(t.searchParams.delete(o.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?10:4;t.pathname=e.slice(0,-r)}return t}function y(e,t){return"c"===t||"oc"===t?e.split("/"):e}function g(e){let t={};for(let[r,n]of e.entries())void 0===t[r]?t[r]=n:Array.isArray(t[r])?t[r].push(n):t[r]=[t[r],n];return t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},50590,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createInitialRSCPayloadFromFallbackPrerender:function(){return s},getFlightDataPartsFromPath:function(){return l},getNextFlightSegmentPath:function(){return c},normalizeFlightData:function(){return f},prepareFlightRouterStateForRequest:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(13258),i=e.r(33906),o=e.r(51191);function l(e){let[t,r,n,a]=e.slice(-4),u=e.slice(0,-4);return{pathToSegment:u.slice(0,-1),segmentPath:u,segment:u[u.length-1]??"",tree:t,seedData:r,head:n,isHeadPartial:a,isRootRender:4===e.length}}function s(e,t){let r=(0,i.getRenderedPathname)(e),n=(0,i.getRenderedSearch)(e),a=(0,o.createHrefFromUrl)(new URL(location.href)),u=t.f[0],l=u[0],s={c:a.split("/"),q:n,i:t.i,f:[[function e(t,r,n,a){let u,o,l=t[0];if("string"==typeof l)u=l,o=(0,i.doesStaticSegmentAppearInURL)(l);else{let e=l[0],t=l[2],s=l[3],c=(0,i.parseDynamicParamFromURLPart)(t,n,a);u=[e,(0,i.getCacheKeyForDynamicParam)(c,r),t,s],o=!0}let s=o?a+1:a,c=t[1],f={};for(let t in c){let a=c[t];f[t]=e(a,r,n,s)}return[u,f,null,t[3],t[4]]}(l,n,r.split("/").filter(e=>""!==e),0),u[1],u[2],u[2]]],m:t.m,G:t.G,S:t.S,h:t.h};return t.b&&(s.b=t.b),s}function c(e){return e.slice(2)}function f(e){return"string"==typeof e?e:e.map(e=>l(e))}function d(e,t){return t?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(JSON.stringify(function e(t){let[r,n,a,i,o]=t,l=function(e){if("string"==typeof e)return e.startsWith(u.PAGE_SEGMENT_KEY+"?")?u.PAGE_SEGMENT_KEY:e;let[t,r,n]=e;return[t,r,n,null]}(r),s={};for(let[t,r]of Object.entries(n))s[t]=e(r);let c=[l,s];return i&&(c[2]=null,c[3]=i),void 0!==o&&(c[4]=o),c}(e)))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19921,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={djb2Hash:function(){return u},hexHash:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function u(e){let t=5381;for(let r=0;r>>0}function i(e){return u(e).toString(36).slice(0,5)}},86051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={computeCacheBustingSearchParam:function(){return c},computeLegacyCacheBustingSearchParam:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(19921),i=new TextEncoder;function o(e){return void 0===e?"0":Array.isArray(e)?e.join(","):e}function l(e,t,r,n){return(void 0===e||"0"===e)&&void 0===t&&void 0===r&&void 0===n?null:[e??"0",o(t),o(r),o(n)].join(",")}async function s(e){var t=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",i.encode(e))).subarray(0,12);let r="";for(let e=0;e{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={setCacheBustingSearchParam:function(){return l},setCacheBustingSearchParamWithHash:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(86051),i=e.r(21768);async function o(e){return"function"==typeof globalThis.crypto?.subtle?.digest?(0,u.computeCacheBustingSearchParam)(e[i.NEXT_ROUTER_PREFETCH_HEADER],e[i.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[i.NEXT_ROUTER_STATE_TREE_HEADER],e[i.NEXT_URL]):(0,u.computeLegacyCacheBustingSearchParam)(e[i.NEXT_ROUTER_PREFETCH_HEADER],e[i.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[i.NEXT_ROUTER_STATE_TREE_HEADER],e[i.NEXT_URL])}let l=async(e,t)=>{s(e,await o(t))},s=(e,t)=>{let r=e.search,n=(r.startsWith("?")?r.slice(1):r).split("&").filter(e=>e&&!e.startsWith(`${i.NEXT_RSC_UNION_QUERY}=`));t.length>0?n.push(`${i.NEXT_RSC_UNION_QUERY}=${t}`):n.push(`${i.NEXT_RSC_UNION_QUERY}`),e.search=n.length?`?${n.join("&")}`:""};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},32992,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getNavigationBuildId:function(){return o},setNavigationBuildId:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="";function i(e){u=e}function o(){return u}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63416,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ACTION_SUFFIX:function(){return g},APP_DIR_ALIAS:function(){return B},CACHE_ONE_YEAR_SECONDS:function(){return D},DOT_NEXT_ALIAS:function(){return k},ESLINT_DEFAULT_DIRS:function(){return eo},GSP_NO_RETURNED_VALUE:function(){return et},GSSP_COMPONENT_MEMBER_ERROR:function(){return ea},GSSP_NO_RETURNED_VALUE:function(){return er},HTML_CONTENT_TYPE_HEADER:function(){return i},INFINITE_CACHE:function(){return C},INSTRUMENTATION_HOOK_FILENAME:function(){return U},JSON_CONTENT_TYPE_HEADER:function(){return o},MATCHED_PATH_HEADER:function(){return c},MIDDLEWARE_FILENAME:function(){return M},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return E},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return j},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return b},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return S},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return N},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return A},NEXT_CACHE_TAGS_HEADER:function(){return R},NEXT_CACHE_TAG_MAX_ITEMS:function(){return T},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return _},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return s},NEXT_META_SUFFIX:function(){return m},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return v},NEXT_QUERY_PARAM_PREFIX:function(){return l},NEXT_RESUME_HEADER:function(){return P},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return O},NON_STANDARD_NODE_ENV:function(){return eu},PAGES_DIR_ALIAS:function(){return L},PRERENDER_REVALIDATE_HEADER:function(){return f},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return d},PROXY_FILENAME:function(){return x},PROXY_LOCATION_REGEXP:function(){return F},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return W},ROOT_DIR_ALIAS:function(){return H},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return q},RSC_ACTION_ENCRYPTION_ALIAS:function(){return Y},RSC_ACTION_PROXY_ALIAS:function(){return V},RSC_ACTION_VALIDATE_ALIAS:function(){return X},RSC_CACHE_WRAPPER_ALIAS:function(){return G},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return K},RSC_MOD_REF_PROXY_ALIAS:function(){return $},RSC_SEGMENTS_DIR_SUFFIX:function(){return p},RSC_SEGMENT_SUFFIX:function(){return h},RSC_SUFFIX:function(){return y},SERVER_PROPS_EXPORT_ERROR:function(){return ee},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Q},SERVER_PROPS_SSG_CONFLICT:function(){return J},SERVER_RUNTIME:function(){return el},SSG_FALLBACK_EXPORT_ERROR:function(){return ei},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return z},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return Z},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return u},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return en},WEBPACK_LAYERS:function(){return ef},WEBPACK_RESOURCE_QUERIES:function(){return ed},WEB_SOCKET_MAX_RECONNECTIONS:function(){return es}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="text/plain",i="text/html; charset=utf-8",o="application/json; charset=utf-8",l="nxtP",s="nxtI",c="x-matched-path",f="x-prerender-revalidate",d="x-prerender-revalidate-if-generated",p=".segments",h=".segment.rsc",y=".rsc",g=".action",_=".json",m=".meta",E=".body",v="x-nextjs-deployment-id",R="x-next-cache-tags",b="x-next-revalidated-tags",S="x-next-revalidate-tag-token",P="next-resume",O="x-next-resume-state-length",T=128,w=256,A=1024,j="_N_T_",N="_N_RP_",D=31536e3,C=0xfffffffe,M="middleware",I=`(?:src/)?${M}`,x="proxy",F=`(?:src/)?${x}`,U="instrumentation",L="private-next-pages",k="private-dot-next",H="private-next-root-dir",B="private-next-app-dir",$="private-next-rsc-mod-ref-proxy",X="private-next-rsc-action-validate",V="private-next-rsc-server-reference",G="private-next-rsc-cache-wrapper",K="private-next-rsc-track-dynamic-import",Y="private-next-rsc-action-encryption",q="private-next-rsc-action-client-wrapper",W="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",z="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Q="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",J="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",Z="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",ee="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",et="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",er="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",en="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",ea="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",eu='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',ei="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",eo=["app","pages","components","lib","src"],el={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},es=12,ec={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},ef={...ec,GROUP:{builtinReact:[ec.reactServerComponents,ec.actionBrowser],serverOnly:[ec.reactServerComponents,ec.actionBrowser,ec.instrument,ec.middleware],neutralTarget:[ec.apiNode,ec.apiEdge],clientOnly:[ec.serverSideRendering,ec.appPagesBrowser],bundled:[ec.reactServerComponents,ec.actionBrowser,ec.serverSideRendering,ec.appPagesBrowser,ec.shared,ec.instrument,ec.middleware],appPages:[ec.reactServerComponents,ec.serverSideRendering,ec.appPagesBrowser,ec.actionBrowser]}},ed={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},6372,(e,t,r)=>{"use strict";function n(e){return(e.then(a),"fulfilled"!==e.status)?null:e.value}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"readVaryParams",{enumerable:!0,get:function(){return n}});let a=()=>{}},22744,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PrefetchHint",{enumerable:!0,get:function(){return a}});var n,a=((n={})[n.HasRuntimePrefetch=1]="HasRuntimePrefetch",n[n.SubtreeHasInstant=2]="SubtreeHasInstant",n[n.SegmentHasLoadingBoundary=4]="SegmentHasLoadingBoundary",n[n.SubtreeHasLoadingBoundary=8]="SubtreeHasLoadingBoundary",n[n.IsRootLayout=16]="IsRootLayout",n[n.ParentInlinedIntoSelf=32]="ParentInlinedIntoSelf",n[n.InlinedIntoChild=64]="InlinedIntoChild",n[n.HeadInlinedIntoSelf=128]="HeadInlinedIntoSelf",n[n.HeadOutlined=256]="HeadOutlined",n)},56019,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"matchSegment",{enumerable:!0,get:function(){return n}});let n=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1];("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77048,(e,t,r)=>{"use strict";function n(e,t){let r=new URL(e);return{pathname:r.pathname,search:r.search,nextUrl:t}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createCacheKey",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},9396,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,u,i={FetchStrategy:function(){return c},NavigationResultTag:function(){return l},PrefetchPriority:function(){return s}};for(var o in i)Object.defineProperty(r,o,{enumerable:!0,get:i[o]});var l=((n={})[n.MPA=0]="MPA",n[n.Success=1]="Success",n[n.NoOp=2]="NoOp",n[n.Async=3]="Async",n),s=((a={})[a.Intent=2]="Intent",a[a.Default=1]="Default",a[a.Background=0]="Background",a),c=((u={})[u.LoadingBoundary=0]="LoadingBoundary",u[u.PPR=1]="PPR",u[u.PPRRuntime=2]="PPRRuntime",u[u.Full=3]="Full",u);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},511,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={Fallback:function(){return i},createCacheMap:function(){return l},deleteFromCacheMap:function(){return p},deleteMapEntry:function(){return h},getFromCacheMap:function(){return s},isValueExpired:function(){return c},setInCacheMap:function(){return f},setSizeInCacheMap:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(73861),i={},o={};function l(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}function s(e,t,r,n,a){let l=function e(t,r,n,a,u,l){let s,f;if(null!==a)s=a.value,f=a.parent;else if(u&&l!==o)s=o,f=null;else return null===n.value?n:c(t,r,n.value)?(h(n),null):n;let d=n.map;if(null!==d){let n=d.get(s);if(void 0!==n){let a=e(t,r,n,f,u,s);if(null!==a)return a}let a=d.get(i);if(void 0!==a)return e(t,r,a,f,u,s)}return null}(e,t,r,n,a,0);return null===l||null===l.value?null:((0,u.lruPut)(l),l.value)}function c(e,t,r){return r.staleAt<=e||r.version{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cleanup:function(){return p},deleteFromLru:function(){return f},lruPut:function(){return s},updateLruSize:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(511),i=e.r(77709),o=null,l=0;function s(e){if(o===e)return;let t=e.prev,r=e.next;if(null===r||null===t?(l+=e.size,d()):(t.next=r,r.prev=t),null===o)e.prev=e,e.next=e;else{let t=o.prev;e.prev=t,null!==t&&(t.next=e),e.next=o,o.prev=e}o=e}function c(e,t){let r=e.size;e.size=t,null!==e.next&&(l=l-r+t,d())}function f(e){let t=e.next,r=e.prev;null!==t&&null!==r&&(l-=e.size,e.next=null,e.prev=null,o===e?t===o?o=null:(o=t,r.next=t,t.prev=r):(r.next=t,t.prev=r))}function d(){l<=0x3200000||(0,i.pingPrefetchScheduler)()}function p(){if(!(l<=0x3200000))for(;l>0x2d00000&&null!==o;){let e=o.prev;null!==e&&(0,u.deleteMapEntry)(e)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},77709,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelPrefetchTask:function(){return R},isPrefetchTaskDirty:function(){return S},pingPrefetchScheduler:function(){return O},pingPrefetchTask:function(){return j},reschedulePrefetchTask:function(){return b},schedulePrefetchTask:function(){return v},startRevalidationCooldown:function(){return E}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(22744),i=e.r(56019),o=e.r(20896),l=e.r(77048),s=e.r(9396),c=e.r(13258),f=e.r(73861),d="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),p=[],h=0,y=0,g=!1,_=null,m=null;function E(){null!==m&&clearTimeout(m),m=setTimeout(()=>{m=null,O()},300)}function v(e,t,r,n,a,u){let i={key:e,treeAtTimeOfPrefetch:t,routeCacheVersion:(0,o.getCurrentRouteCacheVersion)(),segmentCacheVersion:(0,o.getCurrentSegmentCacheVersion)(),priority:n,phase:1,hasBackgroundWork:!1,spawnedRuntimePrefetches:null,fetchStrategy:r,sortId:y++,isCanceled:!1,onInvalidate:a,_heapIndex:-1};return P(i),k(p,i),O(),i}function R(e){e.isCanceled=!0,function(e,t){let r=t._heapIndex;if(-1!==r&&(t._heapIndex=-1,0!==e.length)){let n=e.pop();n!==t&&(e[r]=n,n._heapIndex=r,V(e,n,r))}}(p,e)}function b(e,t,r,n){e.isCanceled=!1,e.phase=1,e.sortId=y++,e.priority=e===_?s.PrefetchPriority.Intent:n,e.treeAtTimeOfPrefetch=t,e.fetchStrategy=r,P(e),-1!==e._heapIndex?$(p,e):k(p,e),O()}function S(e,t,r){return e.routeCacheVersion!==(0,o.getCurrentRouteCacheVersion)()||e.segmentCacheVersion!==(0,o.getCurrentSegmentCacheVersion)()||e.treeAtTimeOfPrefetch!==r||e.key.nextUrl!==t}function P(e){e.priority===s.PrefetchPriority.Intent&&e!==_&&(null!==_&&_.priority!==s.PrefetchPriority.Background&&(_.priority=s.PrefetchPriority.Default,$(p,_)),_=e)}function O(){g||(g=!0,d(N))}function T(e){return null===m&&(e.priority===s.PrefetchPriority.Intent?h<12:h<4)}function w(e){return h++,e.then(e=>null===e?(A(),null):(e.closed.then(A),e.value))}function A(){h--,O()}function j(e){e.isCanceled||-1!==e._heapIndex||(k(p,e),O())}function N(){g=!1;let e=Date.now(),t=H(p);for(;null!==t&&T(t);){t.routeCacheVersion=(0,o.getCurrentRouteCacheVersion)(),t.segmentCacheVersion=(0,o.getCurrentSegmentCacheVersion)();let r=function(e,t){let r=t.key,n=(0,o.readOrCreateRouteCacheEntry)(e,t,r),a=function(e,t,r){switch(r.status){case o.EntryStatus.Empty:w((0,o.fetchRouteOnCacheMiss)(r,t.key)),r.staleAt=e+6e4,r.status=o.EntryStatus.Pending;case o.EntryStatus.Pending:{let e=r.blockedTasks;return null===e?r.blockedTasks=new Set([t]):e.add(t),1}case o.EntryStatus.Rejected:break;case o.EntryStatus.Fulfilled:{let l;if(0!==t.phase)return 2;if(!T(t))return 0;let c=r.tree;switch(l=c.prefetchHints&u.PrefetchHint.SubtreeHasInstant?s.FetchStrategy.PPR:t.fetchStrategy===s.FetchStrategy.PPR?r.supportsPerSegmentPrefetching?s.FetchStrategy.PPR:s.FetchStrategy.LoadingBoundary:t.fetchStrategy){case s.FetchStrategy.PPR:{var n,a,i;if(I(n=e,a=t,i=r,(0,o.readOrCreateSegmentCacheEntry)(n,s.FetchStrategy.PPR,i.metadata),a.key,i.metadata),0===function e(t,r,n,a,i){let l=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,i);I(t,r,n,l,r.key,i);let s=a[1],c=i.slots;if(null!==c)for(let a in c){if(!T(r))return 0;let i=c[a],l=i.segment,f=s[a],d=f?.[0];if(0===(void 0!==d&&U(n,l,d)?e(t,r,n,f,i):function e(t,r,n,a){if(a.prefetchHints&u.PrefetchHint.HasRuntimePrefetch)return null===r.spawnedRuntimePrefetches?r.spawnedRuntimePrefetches=new Set([a.requestKey]):r.spawnedRuntimePrefetches.add(a.requestKey),2;let i=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,a);if(I(t,r,n,i,r.key,a),null!==a.slots){if(!T(r))return 0;for(let u in a.slots)if(0===e(t,r,n,a.slots[u]))return 0}return 2}(t,r,n,i)))return 0}return 2}(e,t,r,t.treeAtTimeOfPrefetch,c))return 0;let l=t.spawnedRuntimePrefetches;if(null!==l){let n=new Map;C(e,t,r,n,s.FetchStrategy.PPRRuntime);let a=function e(t,r,n,a,u,i){if(u.has(a.requestKey))return M(t,r,n,a,!1,i,s.FetchStrategy.PPRRuntime);let o={},l=a.slots;if(null!==l)for(let a in l){let s=l[a];o[a]=e(t,r,n,s,u,i)}return[a.segment,o,null,null]}(e,t,r,c,l,n);n.size>0&&w((0,o.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,s.FetchStrategy.PPRRuntime,a,n))}return 2}case s.FetchStrategy.Full:case s.FetchStrategy.PPRRuntime:case s.FetchStrategy.LoadingBoundary:{let n=new Map;C(e,t,r,n,l);let a=function e(t,r,n,a,i,l,c){let f=a[1],d=i.slots,p={};if(null!==d)for(let a in d){let i=d[a],h=i.segment,y=f[a],g=y?.[0];if(void 0!==g&&U(n,h,g)){let u=e(t,r,n,y,i,l,c);p[a]=u}else switch(c){case s.FetchStrategy.LoadingBoundary:{let e=(i.prefetchHints&(u.PrefetchHint.SegmentHasLoadingBoundary|u.PrefetchHint.SubtreeHasLoadingBoundary))!=0?function e(t,r,n,a,i,l){let c=null===i?"inside-shared-layout":null,f=(0,o.readOrCreateSegmentCacheEntry)(t,r.fetchStrategy,a);switch(f.status){case o.EntryStatus.Empty:l.set(a.requestKey,(0,o.upgradeToPendingSegment)(f,s.FetchStrategy.LoadingBoundary)),"refetch"!==i&&(c=i="refetch");break;case o.EntryStatus.Fulfilled:if((a.prefetchHints&u.PrefetchHint.SegmentHasLoadingBoundary)!=0)return(0,o.convertRouteTreeToFlightRouterState)(a);case o.EntryStatus.Pending:case o.EntryStatus.Rejected:}let d={};if(null!==a.slots)for(let u in a.slots){let o=a.slots[u];d[u]=e(t,r,n,o,i,l)}return[a.segment,d,null,c]}(t,r,n,i,null,l):(0,o.convertRouteTreeToFlightRouterState)(i);p[a]=e;break}case s.FetchStrategy.PPRRuntime:{let e=M(t,r,n,i,!1,l,c);p[a]=e;break}case s.FetchStrategy.Full:{let e=M(t,r,n,i,!1,l,c);p[a]=e}}}return[i.segment,p,null,null]}(e,t,r,t.treeAtTimeOfPrefetch,c,n,l);return n.size>0&&w((0,o.fetchSegmentPrefetchesUsingDynamicRequest)(t,r,l,a,n)),2}}}}return 2}(e,t,n);if(0!==a&&""!==r.search){let n=new URL(r.pathname,location.origin),a=(0,l.createCacheKey)(n.href,r.nextUrl),u=(0,o.readOrCreateRouteCacheEntry)(e,t,a);switch(u.status){case o.EntryStatus.Empty:D(t)&&(u.status=o.EntryStatus.Pending,w((0,o.fetchRouteOnCacheMiss)(u,a)));case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:}}return a}(e,t),n=t.hasBackgroundWork;switch(t.hasBackgroundWork=!1,t.spawnedRuntimePrefetches=null,r){case 0:return;case 1:B(p),t=H(p);continue;case 2:1===t.phase?(t.phase=0,$(p,t)):n?(t.priority=s.PrefetchPriority.Background,$(p,t)):B(p),t=H(p);continue}}null===t&&0===h&&(0,f.cleanup)()}function D(e){return e.priority===s.PrefetchPriority.Background||(e.hasBackgroundWork=!0,!1)}function C(e,t,r,n,a){M(e,t,r,r.metadata,!1,n,a===s.FetchStrategy.LoadingBoundary?s.FetchStrategy.Full:a)}function M(e,t,r,n,a,u,i){let l=(0,o.readOrCreateSegmentCacheEntry)(e,i,n),c=null;switch(l.status){case o.EntryStatus.Empty:if(i===s.FetchStrategy.Full&&null!==(0,o.attemptToFulfillDynamicSegmentFromBFCache)(e,l,n))break;c=(0,o.upgradeToPendingSegment)(l,i);break;case o.EntryStatus.Fulfilled:if(l.isPartial&&(0,o.canNewFetchStrategyProvideMoreContent)(l.fetchStrategy,i)){if(i===s.FetchStrategy.Full&&null!==(0,o.attemptToUpgradeSegmentFromBFCache)(e,n))break;c=F(e,n,i)}break;case o.EntryStatus.Pending:case o.EntryStatus.Rejected:(0,o.canNewFetchStrategyProvideMoreContent)(l.fetchStrategy,i)&&(c=F(e,n,i))}let f={};if(null!==n.slots)for(let o in n.slots){let l=n.slots[o];f[o]=M(e,t,r,l,a||null!==c,u,i)}null!==c&&u.set(n.requestKey,c);let d=a||null===c?null:"refetch";return[n.segment,f,null,d]}function I(e,t,r,n,a,u){switch(n.status){case o.EntryStatus.Empty:w((0,o.fetchSegmentOnCacheMiss)(r,(0,o.upgradeToPendingSegment)(n,s.FetchStrategy.PPR),a,u));break;case o.EntryStatus.Pending:switch(n.fetchStrategy){case s.FetchStrategy.PPR:case s.FetchStrategy.PPRRuntime:case s.FetchStrategy.Full:break;case s.FetchStrategy.LoadingBoundary:D(t)&&x(e,r,a,u);break;default:n.fetchStrategy}break;case o.EntryStatus.Rejected:switch(n.fetchStrategy){case s.FetchStrategy.PPR:case s.FetchStrategy.PPRRuntime:case s.FetchStrategy.Full:break;case s.FetchStrategy.LoadingBoundary:x(e,r,a,u);break;default:n.fetchStrategy}case o.EntryStatus.Fulfilled:}}function x(e,t,r,n){let a=(0,o.readOrCreateRevalidatingSegmentEntry)(e,s.FetchStrategy.PPR,n);switch(a.status){case o.EntryStatus.Empty:w((0,o.fetchSegmentOnCacheMiss)(t,(0,o.upgradeToPendingSegment)(a,s.FetchStrategy.PPR),r,n));case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:}}function F(e,t,r){let n=(0,o.readOrCreateRevalidatingSegmentEntry)(e,r,t);if(n.status===o.EntryStatus.Empty)return(0,o.upgradeToPendingSegment)(n,r);if((0,o.canNewFetchStrategyProvideMoreContent)(n.fetchStrategy,r)){let n=(0,o.overwriteRevalidatingSegmentCacheEntry)(e,r,t);return(0,o.upgradeToPendingSegment)(n,r)}switch(n.status){case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:default:return null}}function U(e,t,r){return r===c.PAGE_SEGMENT_KEY?t===(0,c.addSearchParamsIfPageSegment)(c.PAGE_SEGMENT_KEY,Object.fromEntries(new URLSearchParams(e.renderedSearch))):(0,i.matchSegment)(r,t)}function L(e,t){let r=t.priority-e.priority;if(0!==r)return r;let n=t.phase-e.phase;return 0!==n?n:t.sortId-e.sortId}function k(e,t){let r=e.length;e.push(t),t._heapIndex=r,X(e,t,r)}function H(e){return 0===e.length?null:e[0]}function B(e){if(0===e.length)return null;let t=e[0];t._heapIndex=-1;let r=e.pop();return r!==t&&(e[0]=r,r._heapIndex=0,V(e,r,0)),t}function $(e,t){let r=t._heapIndex;-1!==r&&(0===r?V(e,t,0):L(e[r-1>>>1],t)>0?X(e,t,r):V(e,t,r))}function X(e,t,r){let n=r;for(;n>0;){let r=n-1>>>1,a=e[r];if(!(L(a,t)>0))return;e[r]=t,t._heapIndex=r,e[n]=a,a._heapIndex=n,n=r}}function V(e,t,r){let n=r,a=e.length,u=a>>>1;for(;nL(u,t))iL(o,u)?(e[n]=o,o._heapIndex=n,e[i]=t,t._heapIndex=i,n=i):(e[n]=u,u._heapIndex=n,e[r]=t,t._heapIndex=r,n=r);else{if(!(iL(o,t)))return;e[n]=o,o._heapIndex=n,e[i]=t,t._heapIndex=i,n=i}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},56655,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={appendLayoutVaryPath:function(){return c},clonePageVaryPathWithNewSearchParams:function(){return _},finalizeLayoutVaryPath:function(){return f},finalizeMetadataVaryPath:function(){return y},finalizePageVaryPath:function(){return p},getFulfilledRouteVaryPath:function(){return s},getFulfilledSegmentVaryPath:function(){return function e(t,r){return{id:t.id,value:null===t.id||r.has(t.id)?t.value:i.Fallback,parent:null===t.parent?null:e(t.parent,r)}}},getPartialLayoutVaryPath:function(){return d},getPartialPageVaryPath:function(){return h},getRenderedSearchFromVaryPath:function(){return m},getRouteVaryPath:function(){return l},getSegmentVaryPathForRequest:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(9396),i=e.r(511),o=e.r(67764);function l(e,t,r){return{id:null,value:e,parent:{id:"?",value:t,parent:{id:null,value:r,parent:null}}}}function s(e,t,r,n){return{id:null,value:e,parent:{id:"?",value:t,parent:{id:null,value:n?r:i.Fallback,parent:null}}}}function c(e,t,r){return{id:r,value:t,parent:e}}function f(e,t){return{id:null,value:e,parent:t}}function d(e){return e.parent}function p(e,t,r){return{id:null,value:e,parent:{id:"?",value:t,parent:r}}}function h(e){return e.parent.parent}function y(e,t,r){return{id:null,value:e+o.HEAD_REQUEST_KEY,parent:{id:"?",value:t,parent:r}}}function g(e,t){let r=t.varyPath;if(t.isPage&&e!==u.FetchStrategy.Full&&e!==u.FetchStrategy.PPRRuntime){let e=r.parent.parent;return{id:null,value:r.value,parent:{id:"?",value:i.Fallback,parent:e}}}return r}function _(e,t){let r=e.parent;return{id:null,value:e.value,parent:{id:"?",value:t,parent:r.parent}}}function m(e){let t=e.parent.value;return"string"==typeof t?t:null}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},72463,(e,t,r)=>{"use strict";function n(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parsePath",{enumerable:!0,get:function(){return n}})},41858,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(72463);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:u}=(0,n.parsePath)(e);return`${t}${r}${a}${u}`}},38281,(e,t,r)=>{"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},82823,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=e.r(38281),a=e.r(72463),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:u}=(0,a.parsePath)(e);return`${(0,n.removeTrailingSlash)(t)}${r}${u}`};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},5550,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addBasePath",{enumerable:!0,get:function(){return u}});let n=e.r(41858),a=e.r(82823);function u(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57630,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createPrefetchURL:function(){return l},isExternalURL:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(82604),i=e.r(5550);function o(e){return e.origin!==window.location.origin}function l(e){let t;if((0,u.isBot)(window.navigator.userAgent))return null;try{t=new URL((0,i.addBasePath)(e),window.location.href)}catch(t){throw Object.defineProperty(Error(`Cannot prefetch '${e}' because it cannot be converted to a URL.`),"__NEXT_ERROR_CODE",{value:"E234",enumerable:!1,configurable:!0})}return o(t)?null:t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91949,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={IDLE_LINK_STATUS:function(){return f},PENDING_LINK_STATUS:function(){return c},getLinkForCurrentNavigation:function(){return h},mountFormInstance:function(){return R},mountLinkInstance:function(){return v},onLinkVisibilityChanged:function(){return S},onNavigationIntent:function(){return P},pingVisibleLinks:function(){return T},setLinkForCurrentNavigation:function(){return d},unmountLinkForCurrentNavigation:function(){return p},unmountPrefetchableInstance:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(9396),i=e.r(77048),o=e.r(77709),l=e.r(71645),s=null,c={pending:!0},f={pending:!1};function d(e){(0,l.startTransition)(()=>{s?.setOptimisticLinkStatus(f),e?.setOptimisticLinkStatus(c),s=e})}function p(e){s===e&&(s=null)}function h(){return s}let y="function"==typeof WeakMap?new WeakMap:new Map,g=new Set,_="function"==typeof IntersectionObserver?new IntersectionObserver(function(e){for(let t of e){let e=t.intersectionRatio>0;S(t.target,e)}},{rootMargin:"200px"}):null;function m(e,t){void 0!==y.get(e)&&b(e),y.set(e,t),null!==_&&_.observe(e)}function E(t){if(!("u">typeof window))return null;{let{createPrefetchURL:r}=e.r(57630);try{return r(t)}catch{return("function"==typeof reportError?reportError:console.error)(`Cannot prefetch '${t}' because it cannot be converted to a URL.`),null}}}function v(e,t,r,n,a,u){if(a){let a=E(t);if(null!==a){let t={router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:u};return m(e,t),t}}return{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:null,setOptimisticLinkStatus:u}}function R(e,t,r,n){let a=E(t);null===a||m(e,{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:null})}function b(e){let t=y.get(e);if(void 0!==t){y.delete(e),g.delete(t);let r=t.prefetchTask;null!==r&&(0,o.cancelPrefetchTask)(r)}null!==_&&_.unobserve(e)}function S(e,t){let r=y.get(e);void 0!==r&&(r.isVisible=t,t?g.add(r):g.delete(r),O(r,u.PrefetchPriority.Default))}function P(e,t){let r=y.get(e);void 0!==r&&void 0!==r&&O(r,u.PrefetchPriority.Intent)}function O(t,r){if("u">typeof window){let n=t.prefetchTask;if(!t.isVisible){null!==n&&(0,o.cancelPrefetchTask)(n);return}let{getCurrentAppRouterState:a}=e.r(99781),u=a();if(null!==u){let e=u.tree;if(null===n){let n=u.nextUrl,a=(0,i.createCacheKey)(t.prefetchHref,n);t.prefetchTask=(0,o.schedulePrefetchTask)(a,e,t.fetchStrategy,r,null)}else(0,o.reschedulePrefetchTask)(n,e,t.fetchStrategy,r)}}}function T(e,t){for(let r of g){let n=r.prefetchTask;if(null!==n&&!(0,o.isPrefetchTaskDirty)(n,e,t))continue;null!==n&&(0,o.cancelPrefetchTask)(n);let a=(0,i.createCacheKey)(r.prefetchHref,e);r.prefetchTask=(0,o.schedulePrefetchTask)(a,t,r.fetchStrategy,u.PrefetchPriority.Default,null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79027,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={UnknownDynamicStaleTime:function(){return o},computeDynamicStaleAt:function(){return l},invalidateBfCache:function(){return f},readFromBFCache:function(){return y},readFromBFCacheDuringRegularNavigation:function(){return g},updateBFCacheEntryStaleAt:function(){return h},writeHeadToBFCache:function(){return p},writeToBFCache:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(54069),i=e.r(511),o=-1;function l(e,t){return t!==o?e+1e3*t:e+u.DYNAMIC_STALETIME_MS}let s=(0,i.createCacheMap)(),c=0;function f(){"u">typeof window&&c++}function d(e,t,r,n,a,u,o){if("u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={discoverKnownRoute:function(){return c},matchKnownRoute:function(){return d},resetKnownRoutes:function(){return p}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(20896),i=e.r(33906),o=e.r(56655);function l(){return{staticChildren:null,dynamicChild:null,dynamicChildParamName:null,dynamicChildParamType:null,pattern:null}}let s=l();function c(e,t,r,n,a,i,o,l,c,d){let p=t.split("/").filter(e=>""!==e),h=p.length>0?p[0]:null,y=p.length>0?p.slice(1):[];if(null!==n){let p=(0,u.fulfillRouteCacheEntry)(e,n,a,i,o,l,c);return d&&(p.hasDynamicRewrite=!0),f(s,a,h,y,p,e,t,r,a,i,o,l,c,d),p}return f(s,a,h,y,null,e,t,r,a,i,o,l,c,d)}function f(e,t,r,n,a,o,s,c,d,p,h,y,g,_){let m,E,v=t.segment,R=null,b=null,S=null;"string"==typeof v?m=(0,i.doesStaticSegmentAppearInURL)(v):(R=v[0],b=v[2],S=v[3],m=!0);let P=e,O=r,T=n;if(m){if(null===R&&r!==v)return null!==a?a:(0,u.writeRouteIntoCache)(o,s,c,d,p,h,y,g);if(null!==R&&null!==b){if(P=function(e,t,r){if(null!==e.dynamicChild)return e.dynamicChild;let n=l();return e.dynamicChild=n,e.dynamicChildParamName=t,e.dynamicChildParamType=r,n}(e,R,b),null!==S)for(let t of(null===e.staticChildren&&(e.staticChildren=new Map),S))e.staticChildren.has(t)||e.staticChildren.set(t,l())}else{null===e.staticChildren&&(e.staticChildren=new Map);let t=e.staticChildren.get(r);void 0===t&&(t=l(),e.staticChildren.set(r,t)),P=t}O=n.length>0?n[0]:null,T=n.length>0?n.slice(1):[]}let w=t.slots,A=null;if(null!==w){for(let e in w){let t=w[e];null===t.refreshState&&(A=f(P,t,O,T,a,o,s,c,d,p,h,y,g,_))}return null!==A?A:null!==a?a:(0,u.writeRouteIntoCache)(o,s,c,d,p,h,y,g)}return null!==P.pattern?(_&&(P.pattern.hasDynamicRewrite=!0),P.pattern):(E=null!==a?a:(0,u.writeRouteIntoCache)(o,s,c,d,p,h,y,g),_&&(E.hasDynamicRewrite=!0),P.pattern=E,E)}function d(e,t){let r=e.split("/").filter(e=>""!==e),n=new Map,a=function e(t,r,n,a){let u=n{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={EntryStatus:function(){return A},attemptToFulfillDynamicSegmentFromBFCache:function(){return ee},attemptToUpgradeSegmentFromBFCache:function(){return et},canNewFetchStrategyProvideMoreContent:function(){return eS},convertReusedFlightRouterStateToRouteTree:function(){return ef},convertRootFlightRouterStateToRouteTree:function(){return ec},convertRouteTreeToFlightRouterState:function(){return function e(t){let r={};if(null!==t.slots)for(let n in t.slots)r[n]=e(t.slots[n]);return[t.segment,r,null,null]}},createDetachedSegmentCacheEntry:function(){return J},createMetadataRouteTree:function(){return en},deprecated_requestOptimisticRouteCacheEntry:function(){return K},fetchInlinedSegmentsOnCacheMiss:function(){return ey},fetchRouteOnCacheMiss:function(){return ep},fetchSegmentOnCacheMiss:function(){return eh},fetchSegmentPrefetchesUsingDynamicRequest:function(){return eg},fulfillRouteCacheEntry:function(){return ea},getCurrentRouteCacheVersion:function(){return x},getCurrentSegmentCacheVersion:function(){return F},getStaleAt:function(){return eO},getStaleTimeMs:function(){return w},invalidateEntirePrefetchCache:function(){return U},invalidateRouteCacheEntries:function(){return L},invalidateSegmentCacheEntries:function(){return k},markRouteEntryAsDynamicRewrite:function(){return ei},overwriteRevalidatingSegmentCacheEntry:function(){return z},pingInvalidationListeners:function(){return H},processRuntimePrefetchStream:function(){return ew},readOrCreateRevalidatingSegmentEntry:function(){return W},readOrCreateRouteCacheEntry:function(){return G},readOrCreateSegmentCacheEntry:function(){return q},readRouteCacheEntry:function(){return B},readSegmentCacheEntry:function(){return $},stripIsPartialByte:function(){return eA},upgradeToPendingSegment:function(){return Z},upsertSegmentEntry:function(){return Q},waitForSegmentCacheEntry:function(){return X},writeDynamicRenderResponseIntoCache:function(){return em},writeRouteIntoCache:function(){return eu},writeStaticStageResponseIntoCache:function(){return eT}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=e.r(6372),o=e.r(21768),l=e.r(87288),s=e.r(77709),c=e.r(56655),f=e.r(51191),d=e.r(77048),p=e.r(33906),h=e.r(511),y=e.r(67764),g=e.r(50590),_=e.r(54069),m=e.r(91949),E=e.r(13258),v=e.r(9396),R=e.r(39470),b=e.r(79027),S=e.r(96167),P=e.r(60355),O=e.r(32992),T=e.r(63416);function w(e){return 1e3*Math.max(e,30)}var A=((n={})[n.Empty=0]="Empty",n[n.Pending=1]="Pending",n[n.Fulfilled=2]="Fulfilled",n[n.Rejected=3]="Rejected",n);let j=["",{},null,"metadata-only"],N=(0,h.createCacheMap)(),D=(0,h.createCacheMap)(),C=null,M=0,I=0;function x(){return M}function F(){return I}function U(e,t){M++,I++,(0,m.pingVisibleLinks)(e,t),H(e,t)}function L(e,t){M++,(0,m.pingVisibleLinks)(e,t),H(e,t)}function k(e,t){I++,(0,m.pingVisibleLinks)(e,t),H(e,t)}function H(e,t){if(null!==C){let r=C;for(let n of(C=null,r))(0,s.isPrefetchTaskDirty)(n,e,t)&&function(e){let t=e.onInvalidate;if(null!==t){e.onInvalidate=null;try{t()}catch(e){"function"==typeof reportError?reportError(e):console.error(e)}}}(n)}}function B(e,t){let r=(0,c.getRouteVaryPath)(t.pathname,t.search,t.nextUrl),n=(0,h.getFromCacheMap)(e,M,N,r,!1);return null!==n?n:null}function $(e,t){return(0,h.getFromCacheMap)(e,I,D,t,!1)}function X(e){let t=e.promise;return null===t&&(t=e.promise=(0,R.createPromiseWithResolvers)()),t.promise}function V(){return{canonicalUrl:null,status:0,blockedTasks:null,tree:null,metadata:null,couldBeIntercepted:!0,supportsPerSegmentPrefetching:!1,renderedSearch:null,ref:null,size:0,staleAt:1/0,version:M}}function G(e,t,r){null!==t.onInvalidate&&(null===C?C=new Set([t]):C.add(t));let n=B(e,r);if(null!==n)return n;let a=V(),u=(0,c.getRouteVaryPath)(r.pathname,r.search,r.nextUrl);return(0,h.setInCacheMap)(N,u,a,!1),a}function K(e,t,r){let n=t.search;if(""===n)return null;let a=new URL(t);a.search="";let u=B(e,(0,d.createCacheKey)(a.href,r));if(null===u||2!==u.status)return null;let i=new URL(u.canonicalUrl,t.origin),o=""!==i.search?i.search:n,l=""!==u.renderedSearch?u.renderedSearch:n,s=new URL(u.canonicalUrl,location.origin);return s.search=o,{canonicalUrl:(0,f.createHrefFromUrl)(s),status:2,blockedTasks:null,tree:Y(u.tree,l),metadata:Y(u.metadata,l),couldBeIntercepted:u.couldBeIntercepted,supportsPerSegmentPrefetching:u.supportsPerSegmentPrefetching,hasDynamicRewrite:u.hasDynamicRewrite,renderedSearch:l,ref:null,size:0,staleAt:u.staleAt,version:u.version}}function Y(e,t){let r=null,n=e.slots;if(null!==n)for(let e in r={},n){let a=n[e];r[e]=Y(a,t)}return e.isPage?{requestKey:e.requestKey,segment:e.segment,refreshState:e.refreshState,varyPath:(0,c.clonePageVaryPathWithNewSearchParams)(e.varyPath,t),isPage:!0,slots:r,prefetchHints:e.prefetchHints}:{requestKey:e.requestKey,segment:e.segment,refreshState:e.refreshState,varyPath:e.varyPath,isPage:!1,slots:r,prefetchHints:e.prefetchHints}}function q(e,t,r){let n=$(e,r.varyPath);if(null!==n)return n;let a=(0,c.getSegmentVaryPathForRequest)(t,r),u=J(e);return(0,h.setInCacheMap)(D,a,u,!1),u}function W(e,t,r){var n;let a=(n=r.varyPath,(0,h.getFromCacheMap)(e,I,D,n,!0));if(null!==a)return a;let u=(0,c.getSegmentVaryPathForRequest)(t,r),i=J(e);return(0,h.setInCacheMap)(D,u,i,!0),i}function z(e,t,r){let n=(0,c.getSegmentVaryPathForRequest)(t,r),a=J(e);return(0,h.setInCacheMap)(D,n,a,!0),a}function Q(e,t,r){if((0,h.isValueExpired)(e,I,r))return null;let n=$(e,t);if(null!==n){var a;if(r.fetchStrategy!==n.fetchStrategy&&(a=n.fetchStrategy,!(ar?null:eo(Z(t,v.FetchStrategy.Full),a.rsc,r,!1)}return null}function et(e,t){let r=t.varyPath,n=(0,b.readFromBFCache)(r);if(null!==n){let r=n.navigatedAt+_.STATIC_STALETIME_MS;if(e>r)return null;let a=eo(Z(J(e),v.FetchStrategy.Full),n.rsc,r,!1),u=Q(e,(0,c.getSegmentVaryPathForRequest)(v.FetchStrategy.Full,t),a);if(null!==u&&2===u.status)return u}return null}function er(e){let t=e.blockedTasks;if(null!==t){for(let e of t)(0,s.pingPrefetchTask)(e);e.blockedTasks=null}}function en(e){return{requestKey:y.HEAD_REQUEST_KEY,segment:y.HEAD_REQUEST_KEY,refreshState:null,varyPath:e,isPage:!0,slots:null,prefetchHints:0}}function ea(e,t,r,n,a,u,i){let o=(0,c.getRenderedSearchFromVaryPath)(n)??"";return t.status=2,t.tree=r,t.metadata=en(n),t.staleAt=e+_.STATIC_STALETIME_MS,t.couldBeIntercepted=a,t.canonicalUrl=u,t.renderedSearch=o,t.supportsPerSegmentPrefetching=i,t.hasDynamicRewrite=!1,er(t),t}function eu(e,t,r,n,a,u,i,o){let l=ea(e,V(),n,a,u,i,o),s=l.renderedSearch,f=(0,c.getFulfilledRouteVaryPath)(t,s,r,u);return(0,h.setInCacheMap)(N,f,l,!1),l}function ei(e){e.hasDynamicRewrite=!0}function eo(e,t,r,n){return e.status=2,e.rsc=t,e.staleAt=r,e.isPartial=n,null!==e.promise&&(e.promise.resolve(e),e.promise=null),e}function el(e,t){e.status=3,e.staleAt=t,er(e)}function es(e,t){e.status=3,e.staleAt=t,null!==e.promise&&(e.promise.resolve(null),e.promise=null)}function ec(e,t,r){return ed(e,y.ROOT_SEGMENT_REQUEST_KEY,null,t,r)}function ef(e,t,r,n,a){let u=e.isPage?(0,c.getPartialPageVaryPath)(e.varyPath):(0,c.getPartialLayoutVaryPath)(e.varyPath),i=r[0],o=e.requestKey,l=(0,y.createSegmentRequestKeyPart)(i);return ed(r,(0,y.appendSegmentRequestKeyPart)(o,t,l),u,n,a)}function ed(e,t,r,n,a){let u,i,o,l,s=e[0],f=e[2]??null,d=null!==f?{canonicalUrl:f[0],renderedSearch:f[1]}:null,p=null!==d?d.renderedSearch:n;if(Array.isArray(s)){o=!1;let e=s[1],n=s[0];i=(0,c.appendLayoutVaryPath)(r,e,n),l=(0,c.finalizeLayoutVaryPath)(t,i),u=s}else i=r,t.endsWith(E.PAGE_SEGMENT_KEY)?(o=!0,u=E.PAGE_SEGMENT_KEY,l=(0,c.finalizePageVaryPath)(t,p,i),null===a.metadataVaryPath&&(a.metadataVaryPath=(0,c.finalizeMetadataVaryPath)(t,p,i))):(o=!1,u=s,l=(0,c.finalizeLayoutVaryPath)(t,i));let h=null,g=e[1];for(let e in g){let r=g[e],n=r[0],u=(0,y.createSegmentRequestKeyPart)(n),o=ed(r,(0,y.appendSegmentRequestKeyPart)(t,e,u),i,p,a);null===h?h={[e]:o}:h[e]=o}return{requestKey:t,segment:u,refreshState:d,varyPath:l,isPage:o,slots:h,prefetchHints:e[4]??0}}async function ep(e,t){let r=t.pathname,n=t.search,a=t.nextUrl,u="/_tree",i={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_PREFETCH_HEADER]:"1",[o.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:u};null!==a&&(i[o.NEXT_URL]=a),eP(i);try{let t,s,d=new URL(r+n,location.origin);{let r=await fetch(d,{method:"HEAD"});if(r.status<200||r.status>=400)return el(e,Date.now()+1e4),null;s=r.redirected?new URL(r.url):d,t=await ev(eb(s,u),i)}if(!t||!t.ok||204===t.status||!t.body)return el(e,Date.now()+1e4),null;let g=(0,f.createHrefFromUrl)(s),_=t.headers.get("vary"),m=null!==_&&_.includes(o.NEXT_URL),v=(0,R.createPromiseWithResolvers)(),b="2"===t.headers.get(o.NEXT_DID_POSTPONE_HEADER)||!0;{let n,u,{stream:o,size:s}=await eR(t.body);v.resolve(),(0,h.setSizeInCacheMap)(e,s);let f=await (0,l.createFromNextReadableStream)(o,i,{allowPartialStream:!0});if((t.headers.get(T.NEXT_NAV_DEPLOYMENT_ID_HEADER)??f.buildId)!==(0,O.getNavigationBuildId)())return el(e,Date.now()+1e4),null;let d=(0,p.getRenderedPathname)(t),_=(0,p.getRenderedSearch)(t),R={metadataVaryPath:null},P=(n=d.split("/").filter(e=>""!==e),u=y.ROOT_SEGMENT_REQUEST_KEY,function e(t,r,n,a,u,i,o,l){let s,f,d=null,h=t.slots;if(null!==h)for(let t in s=!1,f=(0,c.finalizeLayoutVaryPath)(a,n),d={},h){let r,s,f,g=h[t],_=g.name,m=g.param;if(null!==m){let e=(0,p.parseDynamicParamFromURLPart)(m.type,u,i),t=null!==m.key?m.key:(0,p.getCacheKeyForDynamicParam)(e,"");f=(0,c.appendLayoutVaryPath)(n,t,_),s=[_,t,m.type,m.siblings],r=!0}else f=n,s=_,r=(0,p.doesStaticSegmentAppearInURL)(_);let E=r?i+1:i,v=(0,y.createSegmentRequestKeyPart)(s),R=(0,y.appendSegmentRequestKeyPart)(a,t,v);d[t]=e(g,s,f,R,u,E,o,l)}else a.endsWith(E.PAGE_SEGMENT_KEY)?(s=!0,f=(0,c.finalizePageVaryPath)(a,o,n),null===l.metadataVaryPath&&(l.metadataVaryPath=(0,c.finalizeMetadataVaryPath)(a,o,n))):(s=!1,f=(0,c.finalizeLayoutVaryPath)(a,n));return{requestKey:a,segment:r,refreshState:null,varyPath:f,isPage:s,slots:d,prefetchHints:t.prefetchHints}}(f.tree,u,null,y.ROOT_SEGMENT_REQUEST_KEY,n,0,_,R)),w=R.metadataVaryPath;if(null===w)return el(e,Date.now()+1e4),null;(0,S.discoverKnownRoute)(Date.now(),r,a,e,P,w,m,g,b,!1)}if(!m){let t=(0,c.getFulfilledRouteVaryPath)(r,n,a,m);(0,h.setInCacheMap)(N,t,e,!1)}return{value:null,closed:v.promise}}catch(t){return el(e,Date.now()+1e4),null}}async function eh(e,t,r,n){let a=new URL(e.canonicalUrl,location.origin),u=r.nextUrl,i=n.requestKey,s=i===y.ROOT_SEGMENT_REQUEST_KEY?"/_index":i,f={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_PREFETCH_HEADER]:"1",[o.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:s};null!==u&&(f[o.NEXT_URL]=u),eP(f);let d=eb(a,s);try{let e=await ev(d,f);if(!e||!e.ok||204===e.status||"2"!==e.headers.get(o.NEXT_DID_POSTPONE_HEADER)&&0||!e.body)return es(t,Date.now()+1e4),null;let r=(0,R.createPromiseWithResolvers)(),{stream:a,size:u}=await eR(e.body);r.resolve(),(0,h.setSizeInCacheMap)(t,u);let i=await (0,l.createFromNextReadableStream)(a,f,{allowPartialStream:!0});if((e.headers.get(T.NEXT_NAV_DEPLOYMENT_ID_HEADER)??i.buildId)!==(0,O.getNavigationBuildId)())return es(t,Date.now()+1e4),null;let s=Date.now(),p=s+w(i.staleTime),y=eo(t,i.rsc,p,i.isPartial);i.varyParams;let g=(0,c.getSegmentVaryPathForRequest)(t.fetchStrategy,n);return Q(s,g,y),{value:y,closed:r.promise}}catch(e){return es(t,Date.now()+1e4),null}}async function ey(e,t,r,n){let a=new URL(e.canonicalUrl,location.origin),u=t.nextUrl,i={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_PREFETCH_HEADER]:"1",[o.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]:"/"+E.PAGE_SEGMENT_KEY};null!==u&&(i[o.NEXT_URL]=u),eP(i);try{let t=await ev(a,i);if(!t||!t.ok||204===t.status||"2"!==t.headers.get(o.NEXT_DID_POSTPONE_HEADER)&&0||!t.body)return e_(n,Date.now()+1e4),null;let u=(0,R.createPromiseWithResolvers)(),{stream:s}=await eR(t.body);u.resolve();let c=await (0,l.createFromNextReadableStream)(s,i,{allowPartialStream:!0});if((t.headers.get(T.NEXT_NAV_DEPLOYMENT_ID_HEADER)??c.tree.segment.buildId)!==(0,O.getNavigationBuildId)())return e_(n,Date.now()+1e4),null;let f=Date.now();!function e(t,r,n,a,u){let i=a.segment,o=t+w(i.staleTime),l=u.get(n.requestKey);if(void 0!==l)eo(l,i.rsc,o,i.isPartial);else{let e=q(t,v.FetchStrategy.PPR,n);0===e.status&&eo(Z(e,v.FetchStrategy.PPR),i.rsc,o,i.isPartial)}if(null!==n.slots&&null!==a.slots)for(let i in n.slots){let o=n.slots[i],l=a.slots[i];void 0!==l&&e(t,r,o,l,u)}}(f,e,r,c.tree,n);let d=f+w(c.head.staleTime),p=e.metadata.requestKey,h=n.get(p);if(void 0!==h)eo(h,c.head.rsc,d,c.head.isPartial);else{let t=q(f,v.FetchStrategy.PPR,e.metadata);0===t.status&&eo(Z(t,v.FetchStrategy.PPR),c.head.rsc,d,c.head.isPartial)}return e_(n,Date.now()+1e4),{value:null,closed:u.promise}}catch(e){return e_(n,Date.now()+1e4),null}}async function eg(e,t,r,n,a){let u=e.key,s=new URL(t.canonicalUrl,location.origin),c=u.nextUrl;1===a.size&&a.has(t.metadata.requestKey)&&(n=j);let f={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_STATE_TREE_HEADER]:(0,g.prepareFlightRouterStateForRequest)(n)};switch(null!==c&&(f[o.NEXT_URL]=c),r){case v.FetchStrategy.Full:break;case v.FetchStrategy.PPRRuntime:f[o.NEXT_ROUTER_PREFETCH_HEADER]="2";break;case v.FetchStrategy.LoadingBoundary:f[o.NEXT_ROUTER_PREFETCH_HEADER]="1"}try{let e,u=await ev(s,f);if(!u||!u.ok||!u.body)return e_(a,Date.now()+1e4),null;let o=(0,p.getRenderedSearch)(u);if(o!==t.renderedSearch)return e_(a,Date.now()+1e4),null;let c=(0,R.createPromiseWithResolvers)(),m=null,E=null;if(r===v.FetchStrategy.Full){var d,y,_;let t,r;d=u.body,y=c.resolve,_=function(e){if(null===m)return;let t=e/m.length;for(let e of m)(0,h.setSizeInCacheMap)(e,t)},t=0,r=d.getReader(),e=new ReadableStream({async pull(e){for(;;){let{done:n,value:a}=await r.read();if(!n){e.enqueue(a),_(t+=a.byteLength);continue}e.close(),y();return}}})}else{let{stream:t,size:r}=await eR(u.body);c.resolve(),e=t,E=r}let[S,O]=await Promise.all([(0,l.createFromNextReadableStream)(e,f,{allowPartialStream:!0}),u.cacheData]),w=S.h,A=null!==w?(0,i.readVaryParams)(w):null,j=Date.now(),N=await eO(j,S.s,u),D=r===v.FetchStrategy.PPRRuntime&&(O?.isResponsePartial??!1),C=u.headers.get(T.NEXT_NAV_DEPLOYMENT_ID_HEADER)??S.b,M=(0,g.normalizeFlightData)(S.f);if("string"==typeof M)return e_(a,Date.now()+1e4),null;let I=(0,P.convertServerPatchToFullTree)(j,n,M,o,b.UnknownDynamicStaleTime);if(m=em(j,r,M,C,D,A,N,I,a),null!==E&&null!==m&&m.length>0){let e=E/m.length;for(let t of m)(0,h.setSizeInCacheMap)(t,e)}return{value:null,closed:c.promise}}catch(e){return e_(a,Date.now()+1e4),null}}function e_(e,t){let r=[];for(let n of e.values())1===n.status?es(n,t):2===n.status&&r.push(n);return r}function em(e,t,r,n,a,u,o,l,s){if(n&&n!==(0,O.getNavigationBuildId)())return null!==s&&e_(s,e+1e4),null;let c=l.routeTree,f=null!==l.metadataVaryPath?en(l.metadataVaryPath):null;for(let n of r){let r=n.seedData;if(null!==r){let u=n.segmentPath,l=c;for(let t=0;t1){t=new Uint8Array(a);let e=0;for(let r of n)t.set(r,e),e+=r.byteLength}else t=new Uint8Array(0);return{stream:new ReadableStream({start(e){e.enqueue(t),e.close()}}),size:a}}function eb(e,t){{let r=new URL(e),n=r.pathname.endsWith("/")?r.pathname.slice(0,-1):r.pathname,a=(0,y.convertSegmentPathToStaticExportFilename)(t);return r.pathname=`${n}/${a}`,r}}function eS(e,t){return ee.close()}),isPartial:!1};let a=n[0],u=35===a||126===a,i=u?n.byteLength>1?n.subarray(1):null:n;return{isPartial:!!u&&126===a,stream:new ReadableStream({start(e){i&&e.enqueue(i)},async pull(e){let r=await t.read();r.done?e.close():e.enqueue(r.value)}})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87288,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0});var a={createFetch:function(){return O},createFromNextReadableStream:function(){return T},decodeStaticStage:function(){return P},fetchServerResponse:function(){return R},processFetch:function(){return b},resolveStaticStageData:function(){return S}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=e.r(35326);e.r(12718);let o=e.r(21768),l=e.r(32120),s=e.r(92245),c=e.r(50590),f=e.r(88093),d=e.r(33906),p=e.r(43369),h=e.r(32992),y=e.r(63416);e.r(20896);let g=e.r(79027),_=i.createFromReadableStream,m=i.createFromFetch;function E(e){return(0,d.urlToUrlWithoutFlightMarker)(new URL(e,location.origin)).toString()}let v=!1;async function R(e,t){let{flightRouterState:r,nextUrl:n}=t,a={[o.RSC_HEADER]:"1",[o.NEXT_ROUTER_STATE_TREE_HEADER]:(0,c.prepareFlightRouterStateForRequest)(r,t.isHmrRefresh)};n&&(a[o.NEXT_URL]=n);let u=e;try{(e=new URL(e)).pathname.endsWith("/")?e.pathname+="index.txt":e.pathname+=".txt";let t=await O(e,a,"auto",!0),r=(0,d.urlToUrlWithoutFlightMarker)(new URL(t.url)),n=t.redirected?r:u,i=t.headers.get("content-type")||"",l=!!t.headers.get("vary")?.includes(o.NEXT_URL),s=!!t.headers.get(o.NEXT_DID_POSTPONE_HEADER),f=i.startsWith(o.RSC_CONTENT_TYPE_HEADER);if(f||(f=i.startsWith("text/plain")),!f||!t.ok||!t.body)return e.hash&&(r.hash=e.hash),E(r.toString());let p=t.flightResponsePromise;null===p&&(p=T(t.body,a,{allowPartialStream:s}));let[_,m]=await Promise.all([p,t.cacheData]);if((t.headers.get(y.NEXT_NAV_DEPLOYMENT_ID_HEADER)??_.b)!==(0,h.getNavigationBuildId)())return E(t.url);let v=(0,c.normalizeFlightData)(_.f);if("string"==typeof v)return E(v);let R=null!==m?await S(m,_,a):null;return{flightData:v,canonicalUrl:n,renderedSearch:_.q,couldBeIntercepted:l,supportsPerSegmentPrefetching:_.S,postponed:s,dynamicStaleTime:_.d??g.UnknownDynamicStaleTime,staticStageData:R,runtimePrefetchStream:_.p??null,responseHeaders:t.headers,debugInfo:p._debugInfo??null}}catch(e){return v||console.error(`Failed to fetch RSC payload for ${u}. Falling back to browser navigation.`,e),u.toString()}}async function b(e){return{response:e,cacheData:null}}async function S(e,t,r){let{isResponsePartial:n,responseBodyClone:a}=e;if(a){if(!n)return a.cancel(),{response:t,isResponsePartial:!1};if(void 0!==t.l)return{response:await P(a,t.l,r),isResponsePartial:!0};a.cancel()}return null}async function P(e,t,r){var n,a;let u,i;return T((n=e,a=await t,u=n.getReader(),i=a,new ReadableStream({async pull(e){if(i<=0){u.cancel(),e.close();return}let{done:t,value:r}=await u.read();t?e.close():r.byteLength<=i?(e.enqueue(r),i-=r.byteLength):(e.enqueue(r.subarray(0,i)),i=0,u.cancel(),e.close())},cancel(){u.cancel()}})),r,{allowPartialStream:!0})}async function O(e,t,r,a,u){var i,c;let d=(0,p.getDeploymentId)();d&&(t["x-deployment-id"]=d);let h=new URL(e);await (0,f.setCacheBustingSearchParam)(h,t);let y=fetch(h,{credentials:"same-origin",headers:t,priority:r||void 0,signal:u}).then(b),g=y.then(({response:e})=>e),_=a?(i=g,c=t,m(i,{callServer:l.callServer,findSourceMapURL:s.findSourceMapURL,debugChannel:n&&n(c)})):null,E=await g,v=E.redirected,R=new URL(E.url,h);return R.searchParams.delete(o.NEXT_RSC_UNION_QUERY),{url:R.href,redirected:v,ok:E.ok,headers:E.headers,body:E.body,status:E.status,flightResponsePromise:_,cacheData:y.then(({cacheData:e})=>e)}}function T(e,t,r){return _(e,{callServer:l.callServer,findSourceMapURL:s.findSourceMapURL,debugChannel:n&&n(t),unstable_allowPartialStream:r?.allowPartialStream})}"u">typeof window&&(window.addEventListener("pagehide",()=>{v=!0}),window.addEventListener("pageshow",()=>{v=!1})),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48919,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let a=t[0],u=r.segment;if(Array.isArray(a)&&Array.isArray(u)){if(a[0]!==u[0]||a[2]!==u[2])return!0}else if(a!==u)return!0;let i=((t[4]??0)&n.PrefetchHint.IsRootLayout)!=0,o=(r.prefetchHints&n.PrefetchHint.IsRootLayout)!=0;if(i)return!o;if(o)return!0;let l=r.slots,s=t[1];if(null!==l)for(let t in l){let r=l[t],n=s[t];if(void 0===n||e(n,r))return!0}return!1}}});let n=e.r(22744);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94272,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getLastCommittedTree:function(){return i},setLastCommittedTree:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=null;function i(){return u}function o(e){u=e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95871,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a={FreshnessPolicy:function(){return b},createInitialCacheNodeForHydration:function(){return P},isDeferredRsc:function(){return L},spawnDynamicRequests:function(){return M},startPPRNavigation:function(){return O}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=e.r(22744),o=e.r(13258),l=e.r(56019),s=e.r(51191),c=e.r(87288),f=e.r(41538),d=e.r(88540),p=e.r(48919),h=e.r(94272),y=e.r(60355),g=e.r(20896),_=e.r(9396),m=e.r(96167),E=e.r(63416),v=e.r(56655),R=e.r(79027);var b=((n={})[n.Default=0]="Default",n[n.Hydration=1]="Hydration",n[n.HistoryTraversal=2]="HistoryTraversal",n[n.RefreshAll=3]="RefreshAll",n[n.HMRRefresh=4]="HMRRefresh",n[n.Gesture=5]="Gesture",n);let S=()=>{};function P(e,t,r,n,a){return T(e,t,null,1,r,n,a,!1,{separateRefreshUrls:null,scrollRef:null})}function O(e,t,r,n,a,u,c,f,d,h,y,_,m){let E={canonicalUrl:(0,s.createHrefFromUrl)(t),renderedSearch:r};return function e(t,r,n,a,u,s,c,f,d,h,y,_,m,E,v,R){var b,S,P;let O,A,C,M,I=a[0],x=w(u);if(!(0,l.matchSegment)(x,I))return!f&&(0,p.isNavigatingToNewRootLayout)(a,u)||x===o.NOT_FOUND_SEGMENT_KEY?null:T(t,u,s,c,d,h,y,m,R);let F=u.slots,U=a[1],L=null!==d?d[1]:null,k=f||(u.prefetchHints&i.PrefetchHint.IsRootLayout)!=0,H=!1;switch(c){case 0:case 2:case 1:case 5:H=!1;break;case 3:case 4:H=!0}let B=null===F;if(void 0===n||H||B&&_){let e=N(t,u,null!==d?d[0]:null,s,h,c,y);C=e.cacheNode,M=e.needsDynamicRequest,void 0!==n&&(C.scrollRef=n.scrollRef)}else{b=!1,C=D((S=n).rsc,b?null:S.prefetchRsc,S.head,b?null:S.prefetchHead,S.scrollRef),M=!1}let $=u.refreshState,X=null!=$?$:v;M&&null!==X&&(P=R,O=X.canonicalUrl,null===(A=P.separateRefreshUrls)?P.separateRefreshUrls=new Set([O]):A.add(O));let V={},G=null,K=!1,Y={},q=null;if(null!==F){let a=void 0!==n?n.slots:null;for(let n in C.slots=q={},G=new Map,F){let i=F[n],l=U[n];if(void 0===l)return null;let f=null!==L?L[n]:null,d=l[0],p=w(i),v=h;2!==c&&p===o.DEFAULT_SEGMENT_KEY&&d!==o.DEFAULT_SEGMENT_KEY&&(p=w(i=function(e,t,r,n){let a,u,i=n[2];null!=i?(a=i[0],u=i[1]):(a=r.canonicalUrl,u=r.renderedSearch);let o=(0,g.convertReusedFlightRouterStateToRouteTree)(e,t,n,u,{metadataVaryPath:null});return o.refreshState={canonicalUrl:a,renderedSearch:u},o}(u,n,E,l)),f=null,v=null);let b=e(t,r,null!==a?a[n]:void 0,l,i,s,c,k,f??null,v,y,_,m||M,E,X,R);if(null===b)return null;G.set(n,b),q[n]=b.node;let S=b.route;V[n]=S;let P=b.dynamicRequestTree;null!==P?(K=!0,Y[n]=P):Y[n]=S}}let W=[w(u),V,null!==X?[X.canonicalUrl,X.renderedSearch]:null,null,u.prefetchHints];return{status:+!M,route:W,node:C,dynamicRequestTree:j(W,Y,M,K,m),refreshState:X,children:G}}(e,t,null!==n?n:void 0,a,u,c,f,!1,d,h,y,_,!1,E,null,m)}function T(e,t,r,n,a,u,i,o,l){let s=w(t),c=t.slots,f=null!==a?a[1]:null,d=N(e,t,null!==a?a[0]:null,r,u,n,i),p=d.cacheNode,h=d.needsDynamicRequest;null===c&&function(e,t,r){switch(e){case 0:case 5:case 3:case 4:null===r.scrollRef&&(r.scrollRef={current:!0}),t.scrollRef=r.scrollRef}}(n,p,l);let y={},g=null,_=!1,m={},E=null;if(null!==c)for(let t in p.slots=E={},g=new Map,c){let a=T(e,c[t],r,n,(null!==f?f[t]:null)??null,u,i,o||h,l);g.set(t,a),E[t]=a.node;let s=a.route;y[t]=s;let d=a.dynamicRequestTree;null!==d?(_=!0,m[t]=d):m[t]=s}let v=[s,y,null,null,t.prefetchHints];return{status:+!h,route:v,node:p,dynamicRequestTree:j(v,m,h,_,o),refreshState:null,children:g}}function w(e){if(e.isPage){let t=(0,v.getRenderedSearchFromVaryPath)(e.varyPath);if(null===t)return o.PAGE_SEGMENT_KEY;let r=JSON.stringify(Object.fromEntries(new URLSearchParams(t)));return"{}"!==r?o.PAGE_SEGMENT_KEY+"?"+r:o.PAGE_SEGMENT_KEY}return e.segment}function A(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}function j(e,t,r,n,a){let u=null;return r?(u=A(e,t),a||(u[3]="refetch")):u=n?A(e,t):null,u}function N(e,t,r,n,a,u,i){let o,l,s,c=t.isPage;switch(u){case 0:{let r=(0,R.readFromBFCacheDuringRegularNavigation)(e,t.varyPath);if(null!==r)return{cacheNode:D(r.rsc,r.prefetchRsc,r.head,r.prefetchHead),needsDynamicRequest:!1};break}case 1:{let u=c?a:null;return(0,R.writeToBFCache)(e,t.varyPath,r,null,u,null,i),c&&null!==n&&(0,R.writeHeadToBFCache)(e,n,u,null,i),{cacheNode:D(r,null,u,null),needsDynamicRequest:!1}}case 2:let f=(0,R.readFromBFCache)(t.varyPath);if(null!==f){let e=f.rsc,t=!L(e)||"pending"!==e.status;return{cacheNode:D(f.rsc,t?null:f.prefetchRsc,f.head,t?null:f.prefetchHead),needsDynamicRequest:!1}}}let d=null,p=!0,h=(0,g.readSegmentCacheEntry)(e,t.varyPath);if(null!==h)switch(h.status){case g.EntryStatus.Fulfilled:d=h.rsc,p=h.isPartial;break;case g.EntryStatus.Pending:d=(0,g.waitForSegmentCacheEntry)(h).then(e=>null!==e?e.rsc:null),p=h.isPartial;case g.EntryStatus.Empty:case g.EntryStatus.Rejected:}null!==r?(p?(o=d,l=r):(o=null,l=d),s=!1):(p?(o=d,l=k()):(o=null,l=d),s=p);let y=null,_=null,m=c;if(c){let t=null,r=!0;if(null!==n){let a=(0,g.readSegmentCacheEntry)(e,n);if(null!==a)switch(a.status){case g.EntryStatus.Fulfilled:t=a.rsc,r=a.isPartial;break;case g.EntryStatus.Pending:t=(0,g.waitForSegmentCacheEntry)(a).then(e=>null!==e?e.rsc:null),r=a.isPartial;case g.EntryStatus.Empty:case g.EntryStatus.Rejected:}}null!==a?(r?(y=t,_=a):(y=null,_=t),m=!1):(r?(y=t,_=k()):(y=null,_=t),m=r)}return 5!==u&&((0,R.writeToBFCache)(e,t.varyPath,l,o,_,y,i),c&&null!==n&&(0,R.writeHeadToBFCache)(e,n,_,y,i)),{cacheNode:D(l,o,_,y),needsDynamicRequest:s||m}}function D(e,t,r,n,a=null){return{rsc:e,prefetchRsc:t,head:r,prefetchHead:n,slots:null,scrollRef:a}}let C=!1;function M(e,t,r,n,a,u,i){let o=e.dynamicRequestTree;if(null===o){C=!1;return}let l=F(e,o,t,r,n,u),c=a.separateRefreshUrls,f=null;if(null!==c){f=[];let a=(0,s.createHrefFromUrl)(t);for(let t of c)t!==a&&null!==o&&f.push(F(e,o,new URL(t,location.origin),r,n,u))}I(e,r,l,f,u,i).then(S,S)}async function I(e,t,r,n,a,u){var i,o;let l=await (i=r,o=n,new Promise(e=>{let t=t=>{0===t.exitStatus?0==--n&&e(0):e(t.exitStatus)},r=()=>e(2),n=1;i.then(t,r),null!==o&&(n+=o.length,o.forEach(e=>e.then(t,r)))}));switch(0===l&&(l=function e(t,r,n){var a,u,i;let o,l,s;0===t.status?(t.status=2,a=t.node,u=r,i=n,L(l=a.rsc)&&(null===u?l.resolve(null,i):l.reject(u,i)),L(s=a.head)&&s.resolve(null,i),o=null===t.refreshState?1:2):o=0;let c=t.children;if(null!==c)for(let[,t]of c){let a=e(t,r,n);a>o&&(o=a)}return o}(e,null,null)),l){case 0:C=!1;return;case 1:{let n=await r;x(!1,n.url,t,n.seed,e.route,a,u);return}case 2:{let n=await r;x(!0,n.url,t,n.seed,e.route,a,u);return}default:return l}}function x(e,t,r,n,a,u,i){if(null!==u)(0,g.markRouteEntryAsDynamicRewrite)(u);else if(null!==n){let e=n.metadataVaryPath;if(null!==e){let a=Date.now();(0,m.discoverKnownRoute)(a,t.pathname,r,null,n.routeTree,e,!1,(0,s.createHrefFromUrl)(t),!1,!0)}}(0,g.invalidateRouteCacheEntries)(r,a),e=e||C,C=!0;let o=(0,h.getLastCommittedTree)(),l=null!==o&&a!==o?i:"replace",c={type:d.ACTION_SERVER_PATCH,previousTree:a,url:t,nextUrl:r,seed:n,mpa:e,navigateType:l};(0,f.dispatchAppRouterAction)(c)}async function F(e,t,r,n,a,u){try{let i=await (0,c.fetchServerResponse)(r,{flightRouterState:t,nextUrl:n,isHmrRefresh:4===a});if("string"==typeof i)return{exitStatus:2,url:new URL(i,location.origin),seed:null};let o=Date.now(),s=(0,y.convertServerPatchToFullTree)(o,e.route,i.flightData,i.renderedSearch,i.dynamicStaleTime);if(null!==u&&null!==i.staticStageData){let{response:e,isResponsePartial:r}=i.staticStageData;(0,g.getStaleAt)(o,e.s).then(n=>{let a=i.responseHeaders.get(E.NEXT_NAV_DEPLOYMENT_ID_HEADER)??e.b;(0,g.writeStaticStageResponseIntoCache)(o,e.f,a,e.h,n,t,i.renderedSearch,r)}).catch(()=>{})}null!==u&&null!==i.runtimePrefetchStream&&(0,g.processRuntimePrefetchStream)(o,i.runtimePrefetchStream,t,i.renderedSearch).then(e=>{null!==e&&(0,g.writeDynamicRenderResponseIntoCache)(o,_.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.staleAt,e.navigationSeed,null)}).catch(()=>{});let f=(0,R.computeDynamicStaleAt)(o,i.dynamicStaleTime);return{exitStatus:+!!function e(t,r,n,a,u,i){0===t.status&&null!==n&&(t.status=1,function(e,t,r,n){let a=e.rsc,u=t[0];if(null===u)return;null===a?e.rsc=u:L(a)&&a.resolve(u,n);let i=e.head;L(i)&&i.resolve(r,n)}(t.node,n,a,i),(0,R.updateBFCacheEntryStaleAt)(r.varyPath,u));let o=t.children,s=r.slots,c=null!==n?n[1]:null,f=!1;if(null!==o)if(null!==s)for(let t in s){let r=s[t],n=null!==c?c[t]:null,d=o.get(t);if(void 0===d)f=!0;else{let t=d.route[0],o=w(r);(0,l.matchSegment)(o,t)&&null!=n&&e(d,r,n,a,u,i)&&(f=!0)}}else null!==s&&(f=!0);return f}(e,s.routeTree,s.data,s.head,f,i.debugInfo),url:new URL(i.canonicalUrl,location.origin),seed:s}}catch{return{exitStatus:2,url:r,seed:null}}}let U=Symbol();function L(e){return e&&"object"==typeof e&&e.tag===U}function k(){let e,t,r=[],n=new Promise((r,n)=>{e=r,t=n});return n.status="pending",n.resolve=(t,a)=>{"pending"===n.status&&(n.status="fulfilled",n.value=t,null!==a&&r.push.apply(r,a),e(t))},n.reject=(e,a)=>{"pending"===n.status&&(n.status="rejected",n.reason=e,null!==a&&r.push.apply(r,a),t(e))},n.tag=U,n._debugInfo=r,n}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3372,(e,t,r)=>{"use strict";function n(e){return e.startsWith("/")?e:`/${e}`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},74180,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={compareAppPaths:function(){return l},normalizeAppPath:function(){return o},normalizeRscURL:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(3372),i=e.r(13258);function o(e){return(0,u.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:`${e}/${t}`,""))}function l(e,t){let r=e.includes("/@"),n=t.includes("/@");return r&&!n?-1:!r&&n?1:e.localeCompare(t)}function s(e){return e.replace(/\.rsc($|\?)/,"$1")}},91463,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return l},isInterceptionRouteAppPath:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(74180),i=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function l(e){let t,r,n;for(let a of e.split("/"))if(r=i.find(e=>a.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,u.normalizeAppPath)(t),r){case"(.)":n="/"===t?`/${n}`:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=a.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}},34727,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={computeChangedPath:function(){return p},extractPathFromFlightRouterState:function(){return f},extractSourcePageFromFlightRouterState:function(){return d},getSelectedParams:function(){return function e(t,r={}){for(let n of Object.values(t[1])){let t=n[0],a=Array.isArray(t),u=a?t[1]:t;!u||u.startsWith(i.PAGE_SEGMENT_KEY)||(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(91463),i=e.r(13258),o=e.r(56019),l=e=>"/"===e[0]?e.slice(1):e,s=e=>"string"==typeof e?"children"===e?"":e:e[1];function c(e){return e.reduce((e,t)=>""===(t=l(t))||(0,i.isGroupSegment)(t)?e:`${e}/${t}`,"")||"/"}function f(e){let t=Array.isArray(e[0])?e[0][1]:e[0];if(t===i.DEFAULT_SEGMENT_KEY||u.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)))return;if(t.startsWith(i.PAGE_SEGMENT_KEY))return"";let r=[s(t)],n=e[1]??{},a=n.children?f(n.children):void 0;if(void 0!==a)r.push(a);else for(let[e,t]of Object.entries(n)){if("children"===e)continue;let n=f(t);void 0!==n&&r.push(n)}return c(r)}function d(e){let t=function e(t){let r=(e=>{if("string"==typeof e)return"children"===e?"":e.startsWith(i.PAGE_SEGMENT_KEY)?"page":e;let[t,,r]=e;switch(r){case"c":return`[...${t}]`;case"ci(..)(..)":return`(..)(..)[...${t}]`;case"ci(.)":return`(.)[...${t}]`;case"ci(..)":return`(..)[...${t}]`;case"ci(...)":return`(...)[...${t}]`;case"oc":return`[[...${t}]]`;case"d":default:return`[${t}]`;case"di(..)(..)":return`(..)(..)[${t}]`;case"di(.)":return`(.)[${t}]`;case"di(..)":return`(..)[${t}]`;case"di(...)":return`(...)[${t}]`}})(t[0]);if(r===i.DEFAULT_SEGMENT_KEY)return;if("page"===r)return[r];let n=t[1]??{},a=n.children?e(n.children):void 0;if(void 0!==a)return""===r?a:[l(r),...a];for(let[t,a]of Object.entries(n)){if("children"===t)continue;let n=e(a);if(void 0!==n)return""===r?n:[l(r),...n]}}(e);return t?`/${t.join("/")}`:void 0}function p(e,t){let r=function e(t,r){let[n,a]=t,[i,l]=r,c=s(n),d=s(i);if(u.INTERCEPTION_ROUTE_MARKERS.some(e=>c.startsWith(e)||d.startsWith(e)))return"";if(!(0,o.matchSegment)(n,i))return f(r)??"";for(let t in a)if(l[t]){let r=e(a[t],l[t]);if(null!==r)return`${s(i)}/${r}`}return null}(e,t);return null==r||"/"===r?r:c(r.split("/"))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},48277,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isJavaScriptURLString",{enumerable:!0,get:function(){return a}});let n=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function a(e){return n.test(""+e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},81400,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={isNavigationLocked:function(){return l},startListeningForInstantNavigationCookie:function(){return u},transitionToCapturedSPA:function(){return i},updateCapturedSPAToTree:function(){return o},waitForNavigationLockIfActive:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function u(){}function i(e,t){}function o(e,t){}function l(){return!1}async function s(){}e.r(21768),e.r(41538),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},60355,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={completeHardNavigation:function(){return b},completeSoftNavigation:function(){return S},completeTraverseNavigation:function(){return P},convertServerPatchToFullTree:function(){return O},navigate:function(){return _},navigateToKnownRoute:function(){return m}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(87288),i=e.r(95871),o=e.r(51191),l=e.r(63416),s=e.r(20896),c=e.r(96167),f=e.r(77048);e.r(77709);let d=e.r(9396);e.r(91949);let p=e.r(88540),h=e.r(34727),y=e.r(48277),g=e.r(79027);function _(e,t,r,n,a,u,i,o,l,c){return function(e,t,r,n,a,u,i,o,l,c){let d=Date.now(),p=t.href,h=(0,f.createCacheKey)(p,i),y=(0,s.readRouteCacheEntry)(d,h);if(null!==y&&y.status===s.EntryStatus.Fulfilled)return E(d,e,t,r,n,i,a,u,o,l,c,y);if(null===y||y.status!==s.EntryStatus.Rejected){let f=(0,s.deprecated_requestOptimisticRouteCacheEntry)(d,t,i);if(null!==f)return E(d,e,t,r,n,i,a,u,o,l,c,f)}return R(d,e,t,r,n,i,a,u,o,l,c).catch(()=>e)}(e,t,r,n,a,u,i,o,l,c)}function m(e,t,r,n,a,u,o,l,s,c,f,d,p,h,y){let g={separateRefreshUrls:null,scrollRef:null},_=r.href===u.href,m=(0,i.startPPRNavigation)(e,u,o,l,s,a.routeTree,a.metadataVaryPath,c,a.data,a.head,a.dynamicStaleAt,_,g);return null!==m?(c!==i.FreshnessPolicy.Gesture&&(0,i.spawnDynamicRequests)(m,r,f,c,g,y,p),S(t,r,f,m.route,m.node,a.renderedSearch,n,p,d,g.scrollRef,h)):b(t,r,p)}function E(e,t,r,n,a,u,i,o,l,s,c,f){let d=f.tree,p=f.canonicalUrl+r.hash,h={renderedSearch:f.renderedSearch,routeTree:d,metadataVaryPath:f.metadata.varyPath,data:null,head:null,dynamicStaleAt:(0,g.computeDynamicStaleAt)(e,g.UnknownDynamicStaleTime)};return m(e,t,r,p,h,n,a,i,o,l,u,s,c,null,f)}let v=["",{},null,"refetch"];async function R(e,t,r,n,a,f,p,h,y,g,_){let E;switch(y){case i.FreshnessPolicy.Default:case i.FreshnessPolicy.HistoryTraversal:case i.FreshnessPolicy.Gesture:E=h;break;case i.FreshnessPolicy.Hydration:case i.FreshnessPolicy.RefreshAll:case i.FreshnessPolicy.HMRRefresh:E=v;break;default:E=h}let R=(0,u.fetchServerResponse)(r,{flightRouterState:E,nextUrl:f}),S=await R;if("string"==typeof S)return b(t,new URL(S,location.origin),_);let{flightData:P,canonicalUrl:T,renderedSearch:w,couldBeIntercepted:A,supportsPerSegmentPrefetching:j,dynamicStaleTime:N,staticStageData:D,runtimePrefetchStream:C,responseHeaders:M,debugInfo:I}=S,x=O(e,h,P,w,N),F=x.metadataVaryPath;if(null!==F){if((0,c.discoverKnownRoute)(e,r.pathname,f,null,x.routeTree,F,A,(0,o.createHrefFromUrl)(T),j,!1),null!==D){let{response:t,isResponsePartial:r}=D;(0,s.getStaleAt)(e,t.s).then(n=>{let a=M.get(l.NEXT_NAV_DEPLOYMENT_ID_HEADER)??t.b;(0,s.writeStaticStageResponseIntoCache)(e,t.f,a,t.h,n,h,w,r)}).catch(()=>{})}null!==C&&(0,s.processRuntimePrefetchStream)(e,C,h,w).then(t=>{null!==t&&(0,s.writeDynamicRenderResponseIntoCache)(e,d.FetchStrategy.PPRRuntime,t.flightDatas,t.buildId,t.isResponsePartial,t.headVaryParams,t.staleAt,t.navigationSeed,null)}).catch(()=>{})}return m(e,t,r,(0,o.createHrefFromUrl)(T),x,n,a,p,h,y,f,g,_,I,null)}function b(e,t,r){return(0,y.isJavaScriptURLString)(t.href)?(console.error("Next.js has blocked a javascript: URL as a security precaution."),e):{canonicalUrl:t.origin===location.origin?(0,o.createHrefFromUrl)(t):t.href,pushRef:{pendingPush:"push"===r,mpaNavigation:!0,preserveCustomHistoryState:!1},renderedSearch:e.renderedSearch,focusAndScrollRef:e.focusAndScrollRef,cache:e.cache,tree:e.tree,nextUrl:e.nextUrl,previousNextUrl:e.previousNextUrl,debugInfo:null}}function S(e,t,r,n,a,u,i,o,l,s,c){let f,d,y=(0,h.computeChangedPath)(e.tree,n)||e.nextUrl,g=new URL(e.canonicalUrl,t),_=t.pathname===g.pathname&&t.search===g.search&&t.hash!==g.hash;if(l===p.ScrollBehavior.NoScroll)null!==s&&(s.current=!1),f=e.focusAndScrollRef.scrollRef,d=!1;else if(_){let t=e.focusAndScrollRef.scrollRef;null!==t&&(t.current=!1),null!==s&&(s.current=!1),f={current:!0},d=!0}else{if(f=s,null!==s){let t=e.focusAndScrollRef.scrollRef;null!==t&&(t.current=!1)}d=!1}return{canonicalUrl:i,renderedSearch:u,pushRef:{pendingPush:"push"===o,mpaNavigation:!1,preserveCustomHistoryState:!1},focusAndScrollRef:{scrollRef:f,forceScroll:d,onlyHashChange:_,hashFragment:l!==p.ScrollBehavior.NoScroll&&""!==t.hash?decodeURIComponent(t.hash.slice(1)):e.focusAndScrollRef.hashFragment},cache:a,tree:n,nextUrl:y,previousNextUrl:r,debugInfo:c}}function P(e,t,r,n,a,u){return{canonicalUrl:(0,o.createHrefFromUrl)(t),renderedSearch:r,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:n,tree:a,nextUrl:u,previousNextUrl:null,debugInfo:null}}function O(e,t,r,n,a){let u=t,i=null,o=null;if(null!==r)for(let{segmentPath:e,tree:t,seedData:a,head:l}of r){let r=function e(t,r,n,a,u,i,o){let l;if(o===u.length)return{tree:n,data:a};let s=u[o],c=t[1],f=null!==r?r[1]:null,d={},p={};for(let t in c){let r=c[t],l=null!==f?f[t]??null:null;if(t===s){let s=e(r,l,n,a,u,i,o+2);d[t]=s.tree,p[t]=s.data}else d[t]=r,p[t]=l}if(l=[t[0],d],2 in t){let e=t[2];null!=e&&(l[2]=[e[0],i])}return 3 in t&&(l[3]=t[3]),4 in t&&(l[4]=t[4]),{tree:l,data:[null,p,null,!0,null]}}(u,i,t,a,e,n,0);u=r.tree,i=r.data,o=l}let l=u,c={metadataVaryPath:null};return{routeTree:(0,s.convertRootFlightRouterStateToRouteTree)(l,n,c),metadataVaryPath:c.metadataVaryPath,data:i,renderedSearch:n,head:o,dynamicStaleAt:(0,g.computeDynamicStaleAt)(e,a)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54069,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DYNAMIC_STALETIME_MS:function(){return l},STATIC_STALETIME_MS:function(){return s},navigateReducer:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(60355),i=e.r(20896),o=e.r(95871),l=1e3*Number("0"),s=(0,i.getStaleTimeMs)(Number("300"));function c(e,t){let{url:r,isExternalUrl:n,navigateType:a,scrollBehavior:i}=t;if(n||document.getElementById("__next-page-redirect"))return(0,u.completeHardNavigation)(e,r,a);let l=new URL(e.canonicalUrl,location.origin),s=e.renderedSearch;return(0,u.navigate)(e,r,l,s,e.cache,e.tree,e.nextUrl,o.FreshnessPolicy.Default,i,a)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84356,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e([t,r]){if(Array.isArray(t)&&("di(..)(..)"===t[2]||"ci(..)(..)"===t[2]||"di(.)"===t[2]||"ci(.)"===t[2]||"di(..)"===t[2]||"ci(..)"===t[2]||"di(...)"===t[2]||"ci(...)"===t[2])||"string"==typeof t&&(0,n.isInterceptionRouteAppPath)(t))return!0;if(r){for(let t in r)if(e(r[t]))return!0}return!1}}});let n=e.r(91463);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69845,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={refreshDynamicData:function(){return d},refreshReducer:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(88540),i=e.r(60355),o=e.r(20896),l=e.r(84356),s=e.r(95871),c=e.r(79027);function f(e,t){{let t=e.nextUrl,r=e.tree;(0,o.invalidateSegmentCacheEntries)(t,r)}return d(e,s.FreshnessPolicy.RefreshAll)}function d(e,t){(0,c.invalidateBfCache)();let r=e.nextUrl,n=(0,l.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||r:null,a=e.canonicalUrl,o=new URL(a,location.origin),s=e.renderedSearch,f=e.tree,d=u.ScrollBehavior.NoScroll,p=Date.now(),h=(0,i.convertServerPatchToFullTree)(p,f,null,s,c.UnknownDynamicStaleTime);return(0,i.navigateToKnownRoute)(p,e,o,a,h,o,s,e.cache,f,t,n,d,"replace",null,null)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},91668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverPatchReducer",{enumerable:!0,get:function(){return l}});let n=e.r(51191),a=e.r(88540),u=e.r(60355),i=e.r(69845),o=e.r(95871);function l(e,t){let r=t.mpa,l=new URL(t.url,location.origin),s=t.seed,c=t.navigateType;if(r||null===s)return(0,u.completeHardNavigation)(e,l,c);let f=new URL(e.canonicalUrl,location.origin),d=e.renderedSearch;if(t.previousTree!==e.tree)return(0,i.refreshReducer)(e,{type:a.ACTION_REFRESH});let p=(0,n.createHrefFromUrl)(l),h=t.nextUrl,y=a.ScrollBehavior.Default,g=Date.now();return(0,u.navigateToKnownRoute)(g,e,l,p,s,f,d,e.cache,e.tree,o.FreshnessPolicy.RefreshAll,h,y,c,null,null)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73790,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"restoreReducer",{enumerable:!0,get:function(){return o}});let n=e.r(34727),a=e.r(95871),u=e.r(60355),i=e.r(79027);function o(e,t){let r,o,l=t.historyState;l?(r=l.tree,o=l.renderedSearch):(r=e.tree,o=e.renderedSearch);let s=new URL(e.canonicalUrl,location.origin),c=t.url,f=(0,n.extractPathFromFlightRouterState)(r)??c.pathname,d=Date.now(),p={separateRefreshUrls:null,scrollRef:null},h=(0,u.convertServerPatchToFullTree)(d,r,null,o,i.UnknownDynamicStaleTime),y=(0,a.startPPRNavigation)(d,s,e.renderedSearch,e.cache,e.tree,h.routeTree,h.metadataVaryPath,a.FreshnessPolicy.HistoryTraversal,null,null,h.dynamicStaleAt,!1,p);return null===y?(0,u.completeHardNavigation)(e,c,"replace"):((0,a.spawnDynamicRequests)(y,c,f,a.FreshnessPolicy.HistoryTraversal,p,null,"replace"),(0,u.completeTraverseNavigation)(e,c,o,y.node,y.route,f))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},86720,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hmrRefreshReducer",{enumerable:!0,get:function(){return u}});let n=e.r(69845),a=e.r(95871);function u(e){return(0,n.refreshDynamicData)(e,a.FreshnessPolicy.HMRRefresh)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92838,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={UnrecognizedActionError:function(){return u},unstable_isUnrecognizedActionError:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});class u extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function i(e){return!!(e&&"object"==typeof e&&e instanceof u)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27801,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"assignLocation",{enumerable:!0,get:function(){return a}});let n=e.r(5550);function a(e,t){if(e.startsWith(".")){let r=t.origin+t.pathname;return new URL((r.endsWith("/")?r:r+"/")+e)}return new URL((0,n.addBasePath)(e),t.href)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},34457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},62266,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorageInstance}});let n=e.r(34457)},24063,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},permanentRedirect:function(){return c},redirect:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(76963),i=e.r(68391),o="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=e.r(72463);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},52817,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=e.r(39584);function a(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},87250,(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return n}}),e.r(52817),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},39747,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={extractInfoFromServerReferenceId:function(){return u},omitUnusedArgs:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function u(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}function i(e,t){let r=Array(e.length),n=0;for(let a=0;a=6&&t.hasRestArgs)&&(r[a]=e[a],n=a+1);return r.length=n,r}},39146,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ActionDidNotRevalidate:function(){return u},ActionDidRevalidateDynamicOnly:function(){return o},ActionDidRevalidateStaticAndDynamic:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=0,i=1,o=2},45794,(e,t,r)=>{"use strict";let n;Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"serverActionReducer",{enumerable:!0,get:function(){return C}});let a=e.r(32120),u=e.r(92245),i=e.r(21768),o=e.r(92838),l=e.r(35326),s=e.r(88540),c=e.r(27801),f=e.r(51191),d=e.r(84356),p=e.r(50590),h=e.r(24063),y=e.r(87250),g=e.r(52817),_=e.r(39747),m=e.r(20896),E=e.r(77709),v=e.r(43369),R=e.r(32992),b=e.r(63416),S=e.r(60355),P=e.r(96167),O=e.r(39146),T=e.r(57630),w=e.r(95871),A=e.r(87288),j=e.r(79027),N=l.createFromFetch;async function D(e,t,{actionId:r,actionArgs:s}){let f,d,h,y,g=(0,l.createTemporaryReferenceSet)(),m=(0,_.extractInfoFromServerReferenceId)(r),E=(0,_.omitUnusedArgs)(s,m),S=await (0,l.encodeReply)(E,{temporaryReferences:g}),P={Accept:i.RSC_CONTENT_TYPE_HEADER,[i.ACTION_HEADER]:r,[i.NEXT_ROUTER_STATE_TREE_HEADER]:(0,p.prepareFlightRouterStateForRequest)(e.tree)},T=(0,v.getDeploymentId)();T&&(P["x-deployment-id"]=T),t&&(P[i.NEXT_URL]=t);let w=await fetch(e.canonicalUrl,{method:"POST",headers:P,body:S});if("1"===w.headers.get(i.NEXT_ACTION_NOT_FOUND_HEADER))throw Object.defineProperty(new o.UnrecognizedActionError(`Server Action "${r}" was not found on the server. -Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`),"__NEXT_ERROR_CODE",{value:"E715",enumerable:!1,configurable:!0});let j=w.headers.get("x-action-redirect"),[C,M]=j?.split(";")||[];switch(M){case"push":f="push";break;case"replace":f="replace";break;default:f=void 0}let I=!!w.headers.get(i.NEXT_IS_PRERENDER_HEADER),x=O.ActionDidNotRevalidate;try{let e=w.headers.get("x-action-revalidated");if(e){let t=JSON.parse(e);(t===O.ActionDidRevalidateStaticAndDynamic||t===O.ActionDidRevalidateDynamicOnly)&&(x=t)}}catch{}let F=C?(0,c.assignLocation)(C,new URL(e.canonicalUrl,window.location.href)):void 0,U=w.headers.get("content-type"),L=!!(U&&U.startsWith(i.RSC_CONTENT_TYPE_HEADER));if(!L&&!F)throw Object.defineProperty(Error(w.status>=400&&"text/plain"===U?await w.text():"An unexpected response was received from the server."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});let k=!1;if(L){let e=F?(0,A.processFetch)(w).then(({response:e})=>e):Promise.resolve(w),t=await N(e,{callServer:a.callServer,findSourceMapURL:u.findSourceMapURL,temporaryReferences:g,debugChannel:n&&n(P)});d=F?void 0:t.a,k=t.i;let r=w.headers.get(b.NEXT_NAV_DEPLOYMENT_ID_HEADER)??t.b;if(void 0!==r&&r!==(0,R.getNavigationBuildId)());else{let e=(0,p.normalizeFlightData)(t.f);""!==e&&(h=e,y=t.q)}}else d=void 0,h=void 0,y=void 0;return{actionResult:d,actionFlightData:h,actionFlightDataRenderedSearch:y,redirectLocation:F,redirectType:f,revalidationKind:x,isPrerender:I,couldBeIntercepted:k}}function C(e,t){let{resolve:r,reject:n}=t,a=(e.previousNextUrl||e.nextUrl)&&(0,d.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||e.nextUrl:null;return D(e,a,t).then(async({revalidationKind:u,actionResult:i,actionFlightData:o,actionFlightDataRenderedSearch:l,redirectLocation:c,redirectType:d,isPrerender:p,couldBeIntercepted:h})=>{u!==O.ActionDidNotRevalidate&&((0,j.invalidateBfCache)(),t.didRevalidate=!0,u===O.ActionDidRevalidateStaticAndDynamic&&(0,m.invalidateEntirePrefetchCache)(a,e.tree),(0,E.startRevalidationCooldown)());let _=d||"push";if(void 0!==c)if((0,T.isExternalURL)(c))return n(M(c.href,_)),(0,S.completeHardNavigation)(e,c,_);else{let e=(0,f.createHrefFromUrl)(c,!1);n(M((0,g.hasBasePath)(e)?(0,y.removeBasePath)(e):e,_))}else r(i);if(void 0===c&&u===O.ActionDidNotRevalidate&&void 0===o)return e;if(void 0===o&&void 0!==c)return(0,S.completeHardNavigation)(e,c,_);if("string"==typeof o)return(0,S.completeHardNavigation)(e,new URL(o,location.origin),_);let v=new URL(e.canonicalUrl,location.origin),R=e.renderedSearch,b=void 0!==c?c:v,A=e.tree,N=s.ScrollBehavior.Default,D=u===O.ActionDidNotRevalidate?w.FreshnessPolicy.Default:w.FreshnessPolicy.RefreshAll;if(void 0!==o&&void 0!==l){let t=(0,f.createHrefFromUrl)(b),r=Date.now(),n=(0,S.convertServerPatchToFullTree)(r,A,o,l,j.UnknownDynamicStaleTime),u=n.metadataVaryPath;return null!==u&&(0,P.discoverKnownRoute)(r,b.pathname,a,null,n.routeTree,u,h,t,p,!1),(0,S.navigateToKnownRoute)(r,e,b,t,n,v,R,e.cache,A,D,a,N,_,null,null)}return(0,S.navigate)(e,b,v,R,e.cache,A,a,D,N,_)},t=>(n(t),e))}function M(e,t){let r=(0,h.getRedirectError)(e,t);return r.handled=!0,r}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},4924,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"reducer",{enumerable:!0,get:function(){return c}});let n=e.r(88540),a=e.r(54069),u=e.r(91668),i=e.r(73790),o=e.r(69845),l=e.r(86720),s=e.r(45794),c="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"prefetch",{enumerable:!0,get:function(){return o}});let n=e.r(57630),a=e.r(77048),u=e.r(77709),i=e.r(9396);function o(e,t,r,o,l){let s=(0,n.createPrefetchURL)(e);if(null===s)return;let c=(0,a.createCacheKey)(s.href,t);(0,u.schedulePrefetchTask)(c,r,o,i.PrefetchPriority.Default,l)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99781,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={createMutableActionQueue:function(){return E},dispatchNavigateAction:function(){return b},dispatchTraverseAction:function(){return S},getCurrentAppRouterState:function(){return v},publicAppRouterInstance:function(){return P}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(88540),i=e.r(4924),o=e.r(71645),l=e.r(64245),s=e.r(9396),c=e.r(1411);e.r(60355);let f=e.r(41538);e.r(96167),e.r(95871);let d=e.r(5550),p=e.r(57630),h=e.r(91949),y=e.r(48277);function g(e,t){null!==e.pending?(e.pending=e.pending.next,null!==e.pending&&_({actionQueue:e,action:e.pending,setState:t})):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:u.ACTION_REFRESH},t))}async function _({actionQueue:e,action:t,setState:r}){let n=e.state;e.pending=t;let a=t.payload,i=e.action(n,a);function o(n){if(t.discarded){t.payload.type===u.ACTION_SERVER_ACTION&&t.payload.didRevalidate&&(e.needsRefresh=!0),g(e,r);return}e.state=n,g(e,r),t.resolve(n)}(0,l.isThenable)(i)?i.then(o,n=>{g(e,r),t.reject(n)}):o(i)}let m=null;function E(e,t){let r={state:e,dispatch:(e,t)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==u.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,o.startTransition)(()=>{r(e)})}let a={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=a,_({actionQueue:e,action:a,setState:r})):t.type===u.ACTION_NAVIGATE||t.type===u.ACTION_RESTORE?(e.pending.discarded=!0,a.next=e.pending.next,_({actionQueue:e,action:a,setState:r})):(null!==e.last&&(e.last.next=a),e.last=a)})(r,e,t),action:async(e,t)=>(0,i.reducer)(e,t),pending:null,last:null,onRouterTransitionStart:null!==t&&"function"==typeof t.onRouterTransitionStart?t.onRouterTransitionStart:null};if("u">typeof window){if(null!==m)throw Object.defineProperty(Error("Internal Next.js Error: createMutableActionQueue was called more than once"),"__NEXT_ERROR_CODE",{value:"E624",enumerable:!1,configurable:!0});m=r}return r}function v(){return null!==m?m.state:null}function R(){return null!==m?m.onRouterTransitionStart:null}function b(e,t,r,n,a){if(a)for(let e of a)(0,o.addTransitionType)(e);let i=new URL((0,d.addBasePath)(e),location.href);(0,h.setLinkForCurrentNavigation)(n);let l=R();null!==l&&l(e,t),(0,f.dispatchAppRouterAction)({type:u.ACTION_NAVIGATE,url:i,isExternalUrl:(0,p.isExternalURL)(i),locationSearch:location.search,scrollBehavior:r,navigateType:t})}function S(e,t){let r=R();null!==r&&r(e,"traverse"),(0,f.dispatchAppRouterAction)({type:u.ACTION_RESTORE,url:new URL(e),historyState:t})}let P={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r;if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});let n=function(){if(null===m)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});return m}();switch(t?.kind??u.PrefetchKind.AUTO){case u.PrefetchKind.AUTO:r=s.FetchStrategy.PPR;break;case u.PrefetchKind.FULL:r=s.FetchStrategy.Full;break;default:r=s.FetchStrategy.PPR}(0,c.prefetch)(e,n.state.nextUrl,n.state.tree,r,t?.onInvalidate??null)},replace:(e,t)=>{if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});(0,o.startTransition)(()=>{b(e,"replace",t?.scroll===!1?u.ScrollBehavior.NoScroll:u.ScrollBehavior.Default,null,t?.transitionTypes)})},push:(e,t)=>{if((0,y.isJavaScriptURLString)(e))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});(0,o.startTransition)(()=>{b(e,"push",t?.scroll===!1?u.ScrollBehavior.NoScroll:u.ScrollBehavior.Default,null,t?.transitionTypes)})},refresh:()=>{(0,o.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:u.ACTION_REFRESH})})},hmrRefresh:()=>{throw Object.defineProperty(Error("hmrRefresh can only be used in development mode. Please use refresh instead."),"__NEXT_ERROR_CODE",{value:"E485",enumerable:!1,configurable:!0})}};"u">typeof window&&window.next&&(window.next.router=P),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},13957,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(90809)._(e.r(71645)),i=u.default.createContext(null);function o(e){let t=(0,u.useContext)(i);t&&t(e)}},22783,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"notFound",{enumerable:!0,get:function(){return u}});let n=e.r(54394),a=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function u(){let e=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw e.digest=a,e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79854,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"forbidden",{enumerable:!0,get:function(){return n}}),e.r(54394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},22683,(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unauthorized",{enumerable:!0,get:function(){return n}}),e.r(54394).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},15507,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,a.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(32061),a=e.r(65713);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},63138,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={delayUntilRuntimeStage:function(){return h},getRuntimeStage:function(){return p},isHangingPromiseRejectionError:function(){return i},makeDevtoolsIOAwarePromise:function(){return d},makeHangingPromise:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(42852);function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===o}let o="HANGING_PROMISE_REJECTION";class l extends Error{constructor(e,t){super(`During prerendering, ${t} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${t} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${e}".`),this.route=e,this.expression=t,this.digest=o}}let s=new WeakMap;function c(e,t,r){if(e.aborted)return Promise.reject(new l(t,r));{let n=new Promise((n,a)=>{let u=a.bind(null,new l(t,r)),i=s.get(e);if(i)i.push(u);else{let t=[u];s.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e{setTimeout(()=>{t(e)},0)})}function p(e){return e.currentStage===u.RenderStage.EarlyStatic||e.currentStage===u.RenderStage.EarlyRuntime?u.RenderStage.EarlyRuntime:u.RenderStage.Runtime}function h(e,t){let{stagedRendering:r}=e;return r?r.waitForStage(p(r)).then(()=>t):t}},67287,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isPostpone",{enumerable:!0,get:function(){return a}});let n=Symbol.for("react.postpone");function a(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},76353,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DynamicServerError:function(){return i},isDynamicServerError:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="DYNAMIC_SERVER_USAGE";class i extends Error{constructor(e){super(`Dynamic server usage: ${e}`),this.description=e,this.digest=u}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===u}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43248,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={StaticGenBailoutError:function(){return i},isStaticGenBailoutError:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="NEXT_STATIC_GEN_BAILOUT";class i extends Error{constructor(...e){super(...e),this.code=u}}function o(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===u}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},54839,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={METADATA_BOUNDARY_NAME:function(){return u},OUTLET_BOUNDARY_NAME:function(){return o},ROOT_LAYOUT_BOUNDARY_NAME:function(){return l},VIEWPORT_BOUNDARY_NAME:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u="__next_metadata_boundary__",i="__next_viewport_boundary__",o="__next_outlet_boundary__",l="__next_root_layout_boundary__"},29419,(e,t,r)=>{"use strict";var n=e.i(47167);Object.defineProperty(r,"__esModule",{value:!0});var a={atLeastOneTask:function(){return l},scheduleImmediate:function(){return o},scheduleOnNextTick:function(){return i},waitAtLeastOneReactRenderTask:function(){return s}};for(var u in a)Object.defineProperty(r,u,{enumerable:!0,get:a[u]});let i=e=>{Promise.resolve().then(()=>{n.default.nextTick(e)})},o=e=>{setImmediate(e)};function l(){return new Promise(e=>o(e))}function s(){return new Promise(e=>setImmediate(e))}},2897,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"INSTANT_VALIDATION_BOUNDARY_NAME",{enumerable:!0,get:function(){return n}});let n="__next_instant_validation_boundary__"},67673,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,a,u,i={DynamicHoleKind:function(){return J},Postpone:function(){return j},PreludeState:function(){return eu},abortAndThrowOnSynchronousRequestDataAccess:function(){return A},abortOnSynchronousPlatformIOAccess:function(){return w},accessedDynamicData:function(){return U},annotateDynamicAccess:function(){return $},consumeDynamicAccess:function(){return L},createDynamicTrackingState:function(){return v},createDynamicValidationState:function(){return R},createHangingInputAbortSignal:function(){return B},createInstantValidationState:function(){return Z},createRenderInBrowserAbortSignal:function(){return H},formatDynamicAPIAccesses:function(){return k},getFirstDynamicReason:function(){return b},getNavigationDisallowedDynamicReasons:function(){return es},getStaticShellDisallowedDynamicReasons:function(){return el},isDynamicPostpone:function(){return C},isPrerenderInterruptedError:function(){return F},logDisallowedDynamicError:function(){return ei},markCurrentScopeAsDynamic:function(){return S},postponeWithTracking:function(){return N},throwIfDisallowedDynamic:function(){return eo},throwToInterruptStaticGeneration:function(){return P},trackAllowedDynamicAccess:function(){return Q},trackDynamicDataInDynamicRender:function(){return O},trackDynamicHoleInNavigation:function(){return ee},trackDynamicHoleInRuntimeShell:function(){return er},trackDynamicHoleInStaticShell:function(){return en},trackThrownErrorInNavigation:function(){return et},useDynamicRouteParams:function(){return X},useDynamicSearchParams:function(){return V}};for(var o in i)Object.defineProperty(r,o,{enumerable:!0,get:i[o]});let l=(n=e.r(71645))&&n.__esModule?n:{default:n},s=e.r(76353),c=e.r(43248),f=e.r(62141),d=e.r(63599),p=e.r(63138),h=e.r(54839),y=e.r(29419),g=e.r(32061),_=e.r(12718),m=e.r(2897),E="function"==typeof l.default.unstable_postpone;function v(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function R(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function b(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function S(e,t,r){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t)switch(t.type){case"prerender-ppr":return N(e.route,r,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;let n=Object.defineProperty(new s.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}function P(e,t,r){let n=Object.defineProperty(new s.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function O(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function T(e,t,r){let n=x(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let a=r.dynamicTracking;a&&a.dynamicAccesses.push({stack:a.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function w(e,t,r,n){let a=n.dynamicTracking;T(e,t,n),a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicErrorWithStack=r)}function A(e,t,r,n){if(!1===n.controller.signal.aborted){T(e,t,n);let a=n.dynamicTracking;a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicErrorWithStack=r)}throw x(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}function j({reason:e,route:t}){let r=f.workUnitAsyncStorage.getStore();N(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function N(e,t,r){(function(){if(!E)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),l.default.unstable_postpone(D(e,t))}function D(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function C(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&M(e.message)}function M(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===M(D("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let I="NEXT_PRERENDER_INTERRUPTED";function x(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=I,t}function F(e){return"object"==typeof e&&null!==e&&e.digest===I&&"name"in e&&"message"in e&&e instanceof Error}function U(e){return e.length>0}function L(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function k(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: -${t}`))}function H(){let e=new AbortController;return e.abort(Object.defineProperty(new g.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function B(e){switch(e.type){case"prerender":case"prerender-runtime":let t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(()=>{t.abort()});else if("prerender-runtime"===e.type&&e.stagedRendering){let{stagedRendering:r}=e;r.waitForStage((0,p.getRuntimeStage)(r)).then(()=>(0,y.scheduleOnNextTick)(()=>t.abort()))}else(0,y.scheduleOnNextTick)(()=>t.abort());return t.signal;case"prerender-client":case"validation-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"generate-static-params":return}}function $(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function X(e){let t=d.workAsyncStorage.getStore(),r=f.workUnitAsyncStorage.getStore();if(t&&r)switch(r.type){case"prerender-client":case"prerender":{let n=r.fallbackRouteParams;n&&n.size>0&&l.default.use((0,p.makeHangingPromise)(r.renderSignal,t.route,e));break}case"prerender-ppr":{let n=r.fallbackRouteParams;if(n&&n.size>0)return N(t.route,e,r.dynamicTracking);break}case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called during a runtime prerender. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}function V(e){let t=d.workAsyncStorage.getStore(),r=f.workUnitAsyncStorage.getStore();if(t)switch(!r&&(0,f.throwForMissingRequestStore)(e),r.type){case"validation-client":case"request":return;case"prerender-client":l.default.use((0,p.makeHangingPromise)(r.renderSignal,t.route,e));break;case"prerender-legacy":case"prerender-ppr":if(t.forceStatic)return;throw Object.defineProperty(new g.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called from a Server Component. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E795",enumerable:!1,configurable:!0});case"cache":case"unstable-cache":case"private-cache":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called inside a cache scope. Next.js should be preventing ${e} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(new _.InvariantError(`\`${e}\` was called in \`generateStaticParams\`. Next.js should be preventing ${e} from being included in server component files statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1130",enumerable:!1,configurable:!0})}}let G=/\n\s+at Suspense \(\)/,K=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${h.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),Y=RegExp(`\\n\\s+at ${h.METADATA_BOUNDARY_NAME}[\\n\\s]`),q=RegExp(`\\n\\s+at ${h.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),W=RegExp(`\\n\\s+at ${h.OUTLET_BOUNDARY_NAME}[\\n\\s]`),z=RegExp(`\\n\\s+at ${m.INSTANT_VALIDATION_BOUNDARY_NAME}[\\n\\s]`);function Q(e,t,r,n){if(!W.test(t)){if(Y.test(t)){r.hasDynamicMetadata=!0;return}if(q.test(t)){r.hasDynamicViewport=!0;return}if(K.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(G.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let a=ea(Object.defineProperty(Error(`Route "${e.route}": Uncached data was accessed outside of . This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1079",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(a)}}}var J=((a={})[a.Runtime=1]="Runtime",a[a.Dynamic=2]="Dynamic",a);function Z(e){return{hasDynamicMetadata:!1,hasAllowedClientDynamicAboveBoundary:!1,dynamicMetadata:null,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[],validationPreventingErrors:[],thrownErrorsOutsideBoundary:[],createInstantStack:e}}function ee(e,t,r,n,a,u){if(W.test(t))return;if(Y.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": ${1===a?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateMetadata` or you have file-based metadata such as icons that depend on dynamic params segments.":"Uncached data or `connection()` was accessed inside `generateMetadata`."} Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1076",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicMetadata=n;return}if(q.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": ${1===a?"Runtime data such as `cookies()`, `headers()`, `params`, or `searchParams` was accessed inside `generateViewport`.":"Uncached data or `connection()` was accessed inside `generateViewport`."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1086",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(n);return}let i=z.exec(t);if(i){let e=G.exec(t);if(e&&e.index`.":"Uncached data or `connection()` was accessed outside of ``."} This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1078",enumerable:!1,configurable:!0}),t,r.createInstantStack);r.dynamicErrors.push(o)}function et(e,t,r,n){let a=z.exec(n);if(a){let u=G.exec(n);if(u&&u.index\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1084",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(a)}function en(e,t,r,n){if(!W.test(t)){if(Y.test(t)){r.dynamicMetadata=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateMetadata\` or you have file-based metadata such as icons that depend on dynamic params segments. Except for this instance, the page would have been entirely prerenderable which may have been the intended behavior. See more info here: https://nextjs.org/docs/messages/next-prerender-dynamic-metadata`),"__NEXT_ERROR_CODE",{value:"E1085",enumerable:!1,configurable:!0}),t,null);return}if(q.test(t)){let n=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed inside \`generateViewport\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/next-prerender-dynamic-viewport`),"__NEXT_ERROR_CODE",{value:"E1081",enumerable:!1,configurable:!0}),t,null);r.dynamicErrors.push(n);return}if(K.test(t)){r.hasAllowedDynamic=!0,r.hasSuspenseAboveBody=!0;return}else if(G.test(t)){r.hasAllowedDynamic=!0;return}else{if(n.syncDynamicErrorWithStack)return void r.dynamicErrors.push(n.syncDynamicErrorWithStack);let a=ea(Object.defineProperty(Error(`Route "${e.route}": Runtime data such as \`cookies()\`, \`headers()\`, \`params\`, or \`searchParams\` was accessed outside of \`\`. This delays the entire page from rendering, resulting in a slow user experience. Learn more: https://nextjs.org/docs/messages/blocking-route`),"__NEXT_ERROR_CODE",{value:"E1083",enumerable:!1,configurable:!0}),t,null);return void r.dynamicErrors.push(a)}}}function ea(e,t,r){return null!==r&&(e.cause=r()),e.stack=e.name+": "+e.message+t,e}var eu=((u={})[u.Full=0]="Full",u[u.Empty=1]="Empty",u[u.Errored=2]="Errored",u);function ei(e,t){console.error(t),console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: - - Start the app in development mode by running \`next dev\`, then open "${e.route}" in your browser to investigate the error. - - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`)}function eo(e,t,r,n){if(n.syncDynamicErrorWithStack)throw ei(e,n.syncDynamicErrorWithStack),new c.StaticGenBailoutError;if(0!==t){if(r.hasSuspenseAboveBody)return;let n=r.dynamicErrors;if(n.length>0){for(let t=0;t0)return n;if(1===t)return[Object.defineProperty(new _.InvariantError(`Route "${e.route}" did not produce a static shell and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E936",enumerable:!1,configurable:!0})]}else if(!1===r.hasAllowedDynamic&&0===r.dynamicErrors.length&&r.dynamicMetadata)return[r.dynamicMetadata];return[]}function es(e,t,r,n,a){if(n){let{missingSampleErrors:e}=n;if(e.length>0)return e}let{validationPreventingErrors:u}=r;if(u.length>0)return u;if(a.renderedIds.size0)return n;if(1===t)return r.hasAllowedClientDynamicAboveBoundary?[]:[Object.defineProperty(new _.InvariantError(`Route "${e.route}" failed to render during instant validation and Next.js was unable to determine a reason.`),"__NEXT_ERROR_CODE",{value:"E1055",enumerable:!1,configurable:!0})]}else{let e=r.dynamicErrors;if(e.length>0)return e;if(!1===r.hasAllowedDynamic&&r.dynamicMetadata)return[r.dynamicMetadata]}return[]}},91414,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,u.isBailoutToCSRError)(t)||(0,l.isDynamicServerError)(t)||(0,o.isDynamicPostpone)(t)||(0,a.isPostpone)(t)||(0,n.isHangingPromiseRejectionError)(t)||(0,o.isPrerenderInterruptedError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=e.r(63138),a=e.r(67287),u=e.r(32061),i=e.r(65713),o=e.r(67673),l=e.r(76353);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n="u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return d},forbidden:function(){return l.forbidden},notFound:function(){return o.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unauthorized:function(){return s.unauthorized},unstable_isUnrecognizedActionError:function(){return f},unstable_rethrow:function(){return c.unstable_rethrow}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(3680),i=e.r(24063),o=e.r(22783),l=e.r(79854),s=e.r(22683),c=e.r(90508);function f(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let d={push:"push",replace:"replace"};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76562,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},RedirectType:function(){return f.RedirectType},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},forbidden:function(){return f.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return f.permanentRedirect},redirect:function(){return f.redirect},unauthorized:function(){return f.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return f.unstable_rethrow},useParams:function(){return v},usePathname:function(){return m},useRouter:function(){return E},useSearchParams:function(){return _},useSelectedLayoutSegment:function(){return b},useSelectedLayoutSegments:function(){return R},useServerInsertedHTML:function(){return s.useServerInsertedHTML}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(90809)._(e.r(71645)),i=e.r(8372),o=e.r(61994),l=e.r(13258),s=e.r(13957),c=e.r(92838),f=e.r(92805),d="u"e?new o.ReadonlyURLSearchParams(e):null,[e])}function m(){return d?.("usePathname()"),(0,u.useContext)(o.PathnameContext)}function E(){let e=(0,u.useContext)(i.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function v(){return d?.("useParams()"),(0,u.useContext)(o.PathParamsContext)}function R(e="children"){d?.("useSelectedLayoutSegments()");let t=(0,u.useContext)(i.LayoutRouterContext);return t?(0,l.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function b(e="children"){d?.("useSelectedLayoutSegment()"),(0,u.useContext)(o.NavigationPromisesContext);let t=R(e);return(0,l.computeSelectedLayoutSegment)(t,e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58442,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(90809),i=e.r(43476),o=u._(e.r(71645)),l=e.r(76562),s=e.r(24063),c=e.r(68391);function f({redirect:e,reset:t,redirectType:r}){let n=(0,l.useRouter)();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends o.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,s.getURLFromRedirectError)(e),r=(0,s.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,i.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,l.useRouter)();return(0,i.jsx)(d,{router:t,children:e})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},70725,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"createRouterCacheKey",{enumerable:!0,get:function(){return a}});let n=e.r(13258);function a(e,t=!1){return Array.isArray(e)?`${e[0]}|${e[1]}|${e[2]}`:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},1244,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unresolvedThenable",{enumerable:!0,get:function(){return n}});let n={then:()=>{}};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},97367,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={MetadataBoundary:function(){return o},OutletBoundary:function(){return s},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let u=e.r(54839),i={[u.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[u.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[u.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[u.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},o=i[u.METADATA_BOUNDARY_NAME.slice(0)],l=i[u.VIEWPORT_BOUNDARY_NAME.slice(0)],s=i[u.OUTLET_BOUNDARY_NAME.slice(0)],c=i[u.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]}]); \ No newline at end of file diff --git a/frontend/_next/static/chunks/0~n~ndg8g34g9.css b/frontend/_next/static/chunks/0~n~ndg8g34g9.css deleted file mode 100644 index d9f73a9..0000000 --- a/frontend/_next/static/chunks/0~n~ndg8g34g9.css +++ /dev/null @@ -1,3 +0,0 @@ -@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"} -@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.0ee55_hj9qcer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0.qu-9752pffj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.0mao5jbfbduzp.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.0uzt.a6d44yda.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0mvwgmnhv29no.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.09zddjkbdep5a.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"} -@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-red-700:#bf000f;--color-amber-500:#f99c00;--color-amber-700:#b75000;--color-lime-500:#80cd00;--color-emerald-500:#00bb7f;--color-cyan-400:#00d2ef;--color-sky-500:#00a5ef;--color-sky-700:#0069a4;--color-rose-500:#ff2357;--color-zinc-50:#fafafa;--color-zinc-100:#f4f4f5;--color-zinc-200:#e4e4e7;--color-zinc-300:#d4d4d8;--color-zinc-400:#9f9fa9;--color-zinc-500:#71717b;--color-zinc-600:#52525c;--color-zinc-700:#3f3f46;--color-zinc-800:#27272a;--color-zinc-900:#18181b;--color-zinc-950:#09090b;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-md:.75rem;--radius-lg:1rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-400:lab(63.7053% 60.7449 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-red-700:lab(40.4273% 67.2623 53.7441);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-amber-700:lab(47.2709% 42.9082 69.2966);--color-lime-500:lab(75.3197% -46.6547 86.1778);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-cyan-400:lab(76.6045% -40.9406 -29.6231);--color-sky-500:lab(63.3038% -18.433 -51.0407);--color-sky-700:lab(41.6013% -9.10804 -42.5648);--color-rose-500:lab(56.101% 79.4329 31.4532);--color-zinc-50:lab(98.26% 0 0);--color-zinc-100:lab(96.1634% .0993013 -.364029);--color-zinc-200:lab(90.6853% .399202 -1.45452);--color-zinc-300:lab(84.9837% .601262 -2.17985);--color-zinc-400:lab(65.6464% 1.53494 -5.42429);--color-zinc-500:lab(47.8878% 1.65477 -5.77283);--color-zinc-600:lab(35.1166% 1.7821 -6.1173);--color-zinc-700:lab(26.8019% 1.35386 -4.68303);--color-zinc-800:lab(15.7305% .613749 -2.16959);--color-zinc-900:lab(8.30603% .618212 -2.16573);--color-zinc-950:lab(2.51107% .242703 -.886115)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.-top-1\.5{top:calc(var(--spacing) * -1.5)}.top-0{top:calc(var(--spacing) * 0)}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1\/2{top:50%}.top-2\.5{top:calc(var(--spacing) * 2.5)}.top-7{top:calc(var(--spacing) * 7)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-3{right:calc(var(--spacing) * -3)}.right-0{right:calc(var(--spacing) * 0)}.right-2\.5{right:calc(var(--spacing) * 2.5)}.right-4{right:calc(var(--spacing) * 4)}.right-6{right:calc(var(--spacing) * 6)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-16{bottom:calc(var(--spacing) * 16)}.bottom-18{bottom:calc(var(--spacing) * 18)}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1\/2{left:50%}.left-6{left:calc(var(--spacing) * 6)}.left-12{left:calc(var(--spacing) * 12)}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1/span 1}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.h-0{height:calc(var(--spacing) * 0)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-4\.5{height:calc(var(--spacing) * 4.5)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-9\.5{height:calc(var(--spacing) * 9.5)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-20{height:calc(var(--spacing) * 20)}.h-52{height:calc(var(--spacing) * 52)}.h-full{height:100%}.h-screen{height:100vh}.max-h-56{max-height:calc(var(--spacing) * 56)}.max-h-\[85vh\]{max-height:85vh}.min-h-\[1\.5rem\]{min-height:1.5rem}.min-h-\[140px\]{min-height:140px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:calc(var(--spacing) * 0)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-4\.5{width:calc(var(--spacing) * 4.5)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-10{width:calc(var(--spacing) * 10)}.w-14{width:calc(var(--spacing) * 14)}.w-20{width:calc(var(--spacing) * 20)}.w-48{width:calc(var(--spacing) * 48)}.w-72{width:calc(var(--spacing) * 72)}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.max-w-0{max-width:calc(var(--spacing) * 0)}.max-w-\[90\%\]{max-width:90%}.max-w-lg{max-width:var(--container-lg)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.origin-left{transform-origin:0}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-4{--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:calc(var(--spacing) * 0)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-zinc-100>:not(:last-child)){border-color:var(--color-zinc-100)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-bl-xl{border-bottom-left-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\[\#10b981\]\/20{border-color:#10b98133;border-color:lab(66.6921% -50.6676 17.0591/.2)}.border-\[var\(--accent-color\)\],.border-\[var\(--accent-color\)\]\/30{border-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.border-\[var\(--accent-color\)\]\/30{border-color:color-mix(in oklab, var(--accent-color) 30%, transparent)}}.border-\[var\(--accent-soft\)\],.border-\[var\(--accent-soft\)\]\/50{border-color:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.border-\[var\(--accent-soft\)\]\/50{border-color:color-mix(in oklab, var(--accent-soft) 50%, transparent)}}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/20{border-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab, red, red)){.border-red-500\/20{border-color:color-mix(in oklab, var(--color-red-500) 20%, transparent)}}.border-sky-500\/20{border-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.border-sky-500\/20{border-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-zinc-100{border-color:var(--color-zinc-100)}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-200\/50{border-color:#e4e4e780}@supports (color:color-mix(in lab, red, red)){.border-zinc-200\/50{border-color:color-mix(in oklab, var(--color-zinc-200) 50%, transparent)}}.border-zinc-200\/80{border-color:#e4e4e7cc}@supports (color:color-mix(in lab, red, red)){.border-zinc-200\/80{border-color:color-mix(in oklab, var(--color-zinc-200) 80%, transparent)}}.border-zinc-400{border-color:var(--color-zinc-400)}.border-zinc-500{border-color:var(--color-zinc-500)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-700\/50{border-color:#3f3f4680}@supports (color:color-mix(in lab, red, red)){.border-zinc-700\/50{border-color:color-mix(in oklab, var(--color-zinc-700) 50%, transparent)}}.border-zinc-800\/80{border-color:#27272acc}@supports (color:color-mix(in lab, red, red)){.border-zinc-800\/80{border-color:color-mix(in oklab, var(--color-zinc-800) 80%, transparent)}}.border-t-\[\#84cc16\]{border-top-color:#84cc16}.bg-\[\#10b981\]{background-color:#10b981}.bg-\[\#10b981\]\/10{background-color:#10b9811a;background-color:lab(66.6921% -50.6676 17.0591/.1)}.bg-\[\#fafafa\]{background-color:#fafafa}.bg-\[var\(--accent-color\)\],.bg-\[var\(--accent-color\)\]\/20{background-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.bg-\[var\(--accent-color\)\]\/20{background-color:color-mix(in oklab, var(--accent-color) 20%, transparent)}}.bg-\[var\(--accent-color\)\]\/90{background-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.bg-\[var\(--accent-color\)\]\/90{background-color:color-mix(in oklab, var(--accent-color) 90%, transparent)}}.bg-\[var\(--accent-soft\)\],.bg-\[var\(--accent-soft\)\]\/5{background-color:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.bg-\[var\(--accent-soft\)\]\/5{background-color:color-mix(in oklab, var(--accent-soft) 5%, transparent)}}.bg-\[var\(--accent-soft\)\]\/10{background-color:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.bg-\[var\(--accent-soft\)\]\/10{background-color:color-mix(in oklab, var(--accent-soft) 10%, transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab, red, red)){.bg-red-500\/10{background-color:color-mix(in oklab, var(--color-red-500) 10%, transparent)}}.bg-sky-500\/10{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\/10{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.bg-white{background-color:var(--color-white)}.bg-zinc-50{background-color:var(--color-zinc-50)}.bg-zinc-50\/50{background-color:#fafafa80}@supports (color:color-mix(in lab, red, red)){.bg-zinc-50\/50{background-color:color-mix(in oklab, var(--color-zinc-50) 50%, transparent)}}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-700{background-color:var(--color-zinc-700)}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-900\/95{background-color:#18181bf2}@supports (color:color-mix(in lab, red, red)){.bg-zinc-900\/95{background-color:color-mix(in oklab, var(--color-zinc-900) 95%, transparent)}}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\/40{background-color:#09090b66}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\/40{background-color:color-mix(in oklab, var(--color-zinc-950) 40%, transparent)}}.fill-\[\#d9f99d\]{fill:#d9f99d}.fill-emerald-500\/10{fill:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.fill-emerald-500\/10{fill:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.fill-red-400{fill:var(--color-red-400)}.fill-rose-500\/10{fill:#ff23571a}@supports (color:color-mix(in lab, red, red)){.fill-rose-500\/10{fill:color-mix(in oklab, var(--color-rose-500) 10%, transparent)}}.p-1{padding:calc(var(--spacing) * 1)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-7{padding-inline:calc(var(--spacing) * 7)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-32{padding-bottom:calc(var(--spacing) * 32)}.text-left{text-align:left}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\[\#059669\]{color:#059669}.text-\[\#d9f99d\]{color:#d9f99d}.text-\[var\(--accent-color\)\]{color:var(--accent-color)}.text-\[var\(--accent-text\)\]{color:var(--accent-text)}.text-amber-700{color:var(--color-amber-700)}.text-cyan-400{color:var(--color-cyan-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-700{color:var(--color-red-700)}.text-rose-500{color:var(--color-rose-500)}.text-sky-700{color:var(--color-sky-700)}.text-white{color:var(--color-white)}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lime-500\/10{--tw-shadow-color:#80cd001a}@supports (color:color-mix(in lab, red, red)){.shadow-lime-500\/10{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-lime-500) 10%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-\[var\(--accent-color\)\]{--tw-ring-color:var(--accent-color)}.ring-zinc-800{--tw-ring-color:var(--color-zinc-800)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-305{--tw-duration:.305s;transition-duration:.305s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:ring-2:is(:where(.group):focus-within *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-focus-within\:ring-\[var\(--accent-color\)\]:is(:where(.group):focus-within *){--tw-ring-color:var(--accent-color)}.group-focus-within\:ring-zinc-500:is(:where(.group):focus-within *){--tw-ring-color:var(--color-zinc-500)}.group-focus-within\:ring-offset-2:is(:where(.group):focus-within *){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}@media (hover:hover){.group-hover\:text-\[var\(--accent-color\)\]:is(:where(.group):hover *){color:var(--accent-color)}}.first\:pt-0:first-child{padding-top:calc(var(--spacing) * 0)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:calc(var(--spacing) * 0)}@media (hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:border-\[var\(--accent-color\)\]\/50:hover{border-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.hover\:border-\[var\(--accent-color\)\]\/50:hover{border-color:color-mix(in oklab, var(--accent-color) 50%, transparent)}}.hover\:border-\[var\(--accent-hover\)\]:hover{border-color:var(--accent-hover)}.hover\:bg-\[\#059669\]:hover{background-color:#059669}.hover\:bg-\[var\(--accent-hover\)\]:hover{background-color:var(--accent-hover)}.hover\:bg-\[var\(--accent-soft\)\]:hover,.hover\:bg-\[var\(--accent-soft\)\]\/80:hover{background-color:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-\[var\(--accent-soft\)\]\/80:hover{background-color:color-mix(in oklab, var(--accent-soft) 80%, transparent)}}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-zinc-50:hover{background-color:var(--color-zinc-50)}.hover\:bg-zinc-50\/50:hover{background-color:#fafafa80}@supports (color:color-mix(in lab, red, red)){.hover\:bg-zinc-50\/50:hover{background-color:color-mix(in oklab, var(--color-zinc-50) 50%, transparent)}}.hover\:text-\[var\(--accent-text\)\]:hover{color:var(--accent-text)}.hover\:text-zinc-700:hover{color:var(--color-zinc-700)}}.focus\:border-\[var\(--accent-color\)\]:focus{border-color:var(--accent-color)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-\[var\(--accent-color\)\]:focus{--tw-ring-color:var(--accent-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-lime-500:focus-visible{--tw-ring-color:var(--color-lime-500)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\:scale-\[0\.98\]:active{scale:.98}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:flex{display:flex}.sm\:max-w-max{max-width:max-content}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:80rem){.xl\:col-span-5{grid-column:span 5/span 5}.xl\:col-span-7{grid-column:span 7/span 7}.xl\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}}:where(.dark\:divide-zinc-800:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-zinc-800)}.dark\:border-\[var\(--accent-color\)\]\/20:where(.dark,.dark *){border-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.dark\:border-\[var\(--accent-color\)\]\/20:where(.dark,.dark *){border-color:color-mix(in oklab, var(--accent-color) 20%, transparent)}}.dark\:border-zinc-700:where(.dark,.dark *){border-color:var(--color-zinc-700)}.dark\:border-zinc-800:where(.dark,.dark *){border-color:var(--color-zinc-800)}.dark\:border-zinc-800\/50:where(.dark,.dark *){border-color:#27272a80}@supports (color:color-mix(in lab, red, red)){.dark\:border-zinc-800\/50:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-zinc-800) 50%, transparent)}}.dark\:border-zinc-800\/60:where(.dark,.dark *){border-color:#27272a99}@supports (color:color-mix(in lab, red, red)){.dark\:border-zinc-800\/60:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-zinc-800) 60%, transparent)}}.dark\:border-zinc-800\/80:where(.dark,.dark *){border-color:#27272acc}@supports (color:color-mix(in lab, red, red)){.dark\:border-zinc-800\/80:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-zinc-800) 80%, transparent)}}.dark\:border-zinc-900:where(.dark,.dark *){border-color:var(--color-zinc-900)}.dark\:bg-\[var\(--accent-color\)\]:where(.dark,.dark *),.dark\:bg-\[var\(--accent-color\)\]\/5:where(.dark,.dark *){background-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-\[var\(--accent-color\)\]\/5:where(.dark,.dark *){background-color:color-mix(in oklab, var(--accent-color) 5%, transparent)}}.dark\:bg-\[var\(--accent-color\)\]\/10:where(.dark,.dark *){background-color:var(--accent-color)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-\[var\(--accent-color\)\]\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--accent-color) 10%, transparent)}}.dark\:bg-zinc-700:where(.dark,.dark *){background-color:var(--color-zinc-700)}.dark\:bg-zinc-800:where(.dark,.dark *){background-color:var(--color-zinc-800)}.dark\:bg-zinc-800\/20:where(.dark,.dark *){background-color:#27272a33}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-800\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-zinc-800) 20%, transparent)}}.dark\:bg-zinc-800\/30:where(.dark,.dark *){background-color:#27272a4d}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-800\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-zinc-800) 30%, transparent)}}.dark\:bg-zinc-900:where(.dark,.dark *){background-color:var(--color-zinc-900)}.dark\:bg-zinc-950:where(.dark,.dark *){background-color:var(--color-zinc-950)}.dark\:bg-zinc-950\/95:where(.dark,.dark *){background-color:#09090bf2}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-950\/95:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-zinc-950) 95%, transparent)}}.dark\:text-\[var\(--accent-color\)\]:where(.dark,.dark *){color:var(--accent-color)}.dark\:text-zinc-50:where(.dark,.dark *){color:var(--color-zinc-50)}.dark\:text-zinc-100:where(.dark,.dark *){color:var(--color-zinc-100)}.dark\:text-zinc-200:where(.dark,.dark *){color:var(--color-zinc-200)}.dark\:text-zinc-300:where(.dark,.dark *){color:var(--color-zinc-300)}.dark\:text-zinc-400:where(.dark,.dark *){color:var(--color-zinc-400)}.dark\:text-zinc-500:where(.dark,.dark *){color:var(--color-zinc-500)}.dark\:text-zinc-950:where(.dark,.dark *){color:var(--color-zinc-950)}.dark\:opacity-20:where(.dark,.dark *){opacity:.2}.dark\:ring-white:where(.dark,.dark *){--tw-ring-color:var(--color-white)}.dark\:ring-zinc-200:where(.dark,.dark *){--tw-ring-color:var(--color-zinc-200)}@media (hover:hover){.dark\:hover\:bg-\[var\(--accent-hover\)\]:where(.dark,.dark *):hover{background-color:var(--accent-hover)}.dark\:hover\:bg-\[var\(--accent-soft\)\]\/20:where(.dark,.dark *):hover{background-color:var(--accent-soft)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-\[var\(--accent-soft\)\]\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--accent-soft) 20%, transparent)}}.dark\:hover\:bg-zinc-800:where(.dark,.dark *):hover{background-color:var(--color-zinc-800)}.dark\:hover\:bg-zinc-800\/30:where(.dark,.dark *):hover{background-color:#27272a4d}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-zinc-800\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-zinc-800) 30%, transparent)}}.dark\:hover\:bg-zinc-800\/50:where(.dark,.dark *):hover{background-color:#27272a80}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-zinc-800\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-zinc-800) 50%, transparent)}}.dark\:hover\:text-\[var\(--accent-color\)\]:where(.dark,.dark *):hover{color:var(--accent-color)}.dark\:hover\:text-zinc-300:where(.dark,.dark *):hover{color:var(--color-zinc-300)}}.\[\&\:\:-moz-range-thumb\]\:h-5::-moz-range-thumb{height:calc(var(--spacing) * 5)}.\[\&\:\:-moz-range-thumb\]\:w-5::-moz-range-thumb{width:calc(var(--spacing) * 5)}.\[\&\:\:-moz-range-thumb\]\:rounded-full::-moz-range-thumb{border-radius:3.40282e38px}.\[\&\:\:-moz-range-thumb\]\:border-2::-moz-range-thumb{border-style:var(--tw-border-style);border-width:2px}.\[\&\:\:-moz-range-thumb\]\:border-\[var\(--accent-color\)\]::-moz-range-thumb{border-color:var(--accent-color)}.\[\&\:\:-moz-range-thumb\]\:bg-white::-moz-range-thumb{background-color:var(--color-white)}.\[\&\:\:-moz-range-thumb\]\:shadow-md::-moz-range-thumb{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.\[\&\:\:-moz-range-thumb\]\:transition-all::-moz-range-thumb{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[\&\:\:-moz-range-thumb\]\:active\:scale-110::-moz-range-thumb:active{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.\[\&\:\:-webkit-slider-thumb\]\:h-5::-webkit-slider-thumb{height:calc(var(--spacing) * 5)}.\[\&\:\:-webkit-slider-thumb\]\:w-5::-webkit-slider-thumb{width:calc(var(--spacing) * 5)}.\[\&\:\:-webkit-slider-thumb\]\:appearance-none::-webkit-slider-thumb{appearance:none}.\[\&\:\:-webkit-slider-thumb\]\:rounded-full::-webkit-slider-thumb{border-radius:3.40282e38px}.\[\&\:\:-webkit-slider-thumb\]\:border-2::-webkit-slider-thumb{border-style:var(--tw-border-style);border-width:2px}.\[\&\:\:-webkit-slider-thumb\]\:border-\[var\(--accent-color\)\]::-webkit-slider-thumb{border-color:var(--accent-color)}.\[\&\:\:-webkit-slider-thumb\]\:bg-white::-webkit-slider-thumb{background-color:var(--color-white)}.\[\&\:\:-webkit-slider-thumb\]\:shadow-md::-webkit-slider-thumb{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.\[\&\:\:-webkit-slider-thumb\]\:transition-all::-webkit-slider-thumb{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[\&\:\:-webkit-slider-thumb\]\:active\:scale-110::-webkit-slider-thumb:active{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}}:root{--track-bg:#e4e4e7}.dark{--track-bg:#27272a}body{color:#18181b;background-color:#fafafa;font-family:Inter,system-ui,-apple-system,sans-serif;overflow-x:hidden}.glow-backdrop{z-index:-10;pointer-events:none;background-image:radial-gradient(circle at 10% 20%,#84cc160a 0%,#0000 40%),radial-gradient(circle at 90% 80%,#10b9810a 0%,#0000 40%);position:fixed;inset:0}.glass-panel{-webkit-backdrop-filter:blur(12px);background:#ffffffd9;border:1px solid #18181b0d}@keyframes signal-pulse{0%,to{transform:scale(1);box-shadow:0 0 #84cc1666}50%{transform:scale(1.1);box-shadow:0 0 10px 4px #84cc1633}}.pulse-indicator{background-color:#84cc16;border-radius:9999px;width:10px;height:10px;display:inline-block}.pulse-indicator.active{animation:2s ease-in-out infinite signal-pulse}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}} diff --git a/frontend/_next/static/chunks/turbopack-05c8c~j12fn14.js b/frontend/_next/static/chunks/turbopack-05c8c~j12fn14.js deleted file mode 100644 index 8c9cc86..0000000 --- a/frontend/_next/static/chunks/turbopack-05c8c~j12fn14.js +++ /dev/null @@ -1 +0,0 @@ -(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/0ht900cau6_ur.js","static/chunks/0r8nt2o8muejo.js","static/chunks/07lhk_q6pmm3r.js"],runtimeModuleIds:[94553]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=function(){if(null!=self.TURBOPACK_ASSET_SUFFIX)return self.TURBOPACK_ASSET_SUFFIX;let e=document?.currentScript?.getAttribute?.("src")??"",t=e.indexOf("?");return t>=0?e.slice(t):""}(),n=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];var o,l=((o=l||{})[o.Runtime=0]="Runtime",o[o.Parent=1]="Parent",o[o.Update=2]="Update",o);let i=new WeakMap;function u(e,t){this.m=e,this.e=t}let s=u.prototype,a=Object.prototype.hasOwnProperty,c="u">typeof Symbol&&Symbol.toStringTag;function f(e,t,r){a.call(e,t)||Object.defineProperty(e,t,r)}function p(e,t){let r=e[t];return r||(r=h(t),e[t]=r),r}function h(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function d(e,t){f(e,"__esModule",{value:!0}),c&&f(e,c,{value:"Module"});let r=0;for(;rObject.getPrototypeOf(e):e=>e.__proto__,y=[null,b({}),b([]),b(b)];function g(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!y.includes(t);t=b(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),d(t,n),t}function O(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=g(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function w(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function j(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}s.i=O,s.A=function(e){return this.r(e)(O.bind(this))},s.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},s.r=function(e){return B(e,this.m).exports},s.f=function(e){function t(t){if(t=w(t),a.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=w(t),a.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let k=Symbol("turbopack queues"),U=Symbol("turbopack exports"),C=Symbol("turbopack error");function P(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}s.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:l,reject:i,promise:u}=j(),s=Object.assign(u,{[U]:r.exports,[k]:e=>{n&&e(n),o.forEach(e),s.catch(()=>{})}}),a={get:()=>s,set(e){e!==s&&(s[U]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(k in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[U]:{},[k]:e=>e(t)};return e.then(e=>{r[U]=e,P(t)},e=>{r[C]=e,P(t)}),r}}return{[U]:e,[k]:()=>{}}}),r=()=>t.map(e=>{if(e[C])throw e[C];return e[U]}),{promise:l,resolve:i}=j(),u=Object.assign(()=>i(r),{queueCount:0});function s(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(u.queueCount++,e.push(u)))}return t.map(e=>e[k](s)),u.queueCount?l:r()},function(e){e?i(s[C]=e):l(s[U]),P(n)}),n&&-1===n.status&&(n.status=0)};let v=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}v.prototype=URL.prototype,s.U=v,s.z=function(e){throw Error("dynamic usage of require is not supported")},s.g=globalThis;let S=u.prototype,$=new Map;s.M=$;let _=new Map,E=new Map;async function T(e,t,r){let n;if("string"==typeof r)return M(e,t,N(r));let o=r.included||[],l=o.map(e=>!!$.has(e)||_.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);let i=r.moduleChunks||[],u=i.map(e=>E.get(e)).filter(e=>e);if(u.length>0){if(u.length===i.length)return void await Promise.all(u);let r=new Set;for(let e of i)E.has(e)||r.add(e);for(let n of r){let r=M(e,t,N(n));E.set(n,r),u.push(r)}n=Promise.all(u)}else{for(let o of(n=M(e,t,N(r.path)),i))E.has(o)||E.set(o,n)}for(let e of o)_.has(e)||_.set(e,n);await n}S.l=function(e){return T(l.Parent,this.m.id,e)};let A=Promise.resolve(void 0),x=new WeakMap;function M(t,r,n){let o=e.loadChunkCached(t,n),i=x.get(o);if(void 0===i){let e=x.set.bind(x,o,A);i=o.then(e).catch(e=>{let o;switch(t){case l.Runtime:o=`as a runtime dependency of chunk ${r}`;break;case l.Parent:o=`from module ${r}`;break;case l.Update:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let i=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw i.name="ChunkLoadError",i}),x.set(o,i)}return i}function N(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}S.L=function(e){return M(l.Parent,this.m.id,e)},S.R=function(e){let t=this.r(e);return t?.default??t},S.P=function(e){return`/ROOT/${e??""}`},S.q=function(e,t){m.call(this,`${e}${r}`,t)},S.b=function(e,t,o,l){let i="SharedWorker"===e.name,u=[o.map(e=>N(e)).reverse(),r];for(let e of n)u.push(globalThis[e]);let s=new URL(N(t),location.origin),a=JSON.stringify(u);return i?s.searchParams.set("params",a):s.hash="#params="+encodeURIComponent(a),new e(s,l?{...l,type:void 0}:void 0)};let q=/\.js(?:\?[^#]*)?(?:#.*)?$/,K=/\.css(?:\?[^#]*)?(?:#.*)?$/;function L(e){return K.test(e)}s.w=function(t,r,n){return e.loadWebAssembly(l.Parent,this.m.id,t,r,n)},s.u=function(t,r){return e.loadWebAssemblyModule(l.Parent,this.m.id,t,r)};let I={};s.c=I;let B=(e,t)=>{let r=I[e];if(r){if(r.error)throw r.error;return r}return W(e,l.Parent,t.id)};function W(e,t,r){let n=$.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let o=h(e),l=o.exports;I[e]=o;let i=new u(o,l);try{n(i,o,l)}catch(e){throw o.error=e,e}return o.namespaceObject&&o.exports!==o.namespaceObject&&g(o.exports,o.namespaceObject),o}function F(t){let r,n=function(e){if("string"==typeof e)return e;if(e)return{src:e.getAttribute("src")};if("u">typeof TURBOPACK_NEXT_CHUNK_URLS)return{src:TURBOPACK_NEXT_CHUNK_URLS.pop()};throw Error("chunk path empty but not in a worker")}(t[0]);return 2===t.length?r=t[1]:(r=void 0,!function(e,t){let r=1;for(;r{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},X.set(e,t)}return t}e={async registerChunk(e,r){let n=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(e.src.replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(e);if(D("string"==typeof e?N(e):e.src).resolve(),null!=r){for(let e of r.otherChunks)D(N("string"==typeof e?e:e.path));if(await Promise.all(r.otherChunks.map(e=>T(l.Runtime,n,e))),r.runtimeModuleIds.length>0)for(let e of r.runtimeModuleIds)!function(e,t){let r=I[t];if(r){if(r.error)throw r.error;return}W(t,l.Runtime,e)}(n,e)}},loadChunkCached:(e,t)=>(function(e,t){let r=D(t);if(r.loadingStarted)return r.promise;if(e===l.Runtime)return r.loadingStarted=!0,L(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(L(t));else if(q.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(L(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(q.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let l=fetch(N(r)),{instance:i}=await WebAssembly.instantiateStreaming(l,o);return i.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(N(r));return await WebAssembly.compileStreaming(o)}};let H=globalThis.TURBOPACK;globalThis.TURBOPACK={push:F},H.forEach(F)})(); \ No newline at end of file diff --git a/frontend/_next/static/media/4fa387ec64143e14-s.0.qu-9752pffj.woff2 b/frontend/_next/static/media/4fa387ec64143e14-s.0.qu-9752pffj.woff2 deleted file mode 100644 index c9416ca..0000000 Binary files a/frontend/_next/static/media/4fa387ec64143e14-s.0.qu-9752pffj.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 b/frontend/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 deleted file mode 100644 index 0bcca1b..0000000 Binary files a/frontend/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/5ce348bf30bf5439-s.0ee55_hj9qcer.woff2 b/frontend/_next/static/media/5ce348bf30bf5439-s.0ee55_hj9qcer.woff2 deleted file mode 100644 index c8e6bda..0000000 Binary files a/frontend/_next/static/media/5ce348bf30bf5439-s.0ee55_hj9qcer.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/6306c77e7c8268e4-s.0mao5jbfbduzp.woff2 b/frontend/_next/static/media/6306c77e7c8268e4-s.0mao5jbfbduzp.woff2 deleted file mode 100644 index 2924b09..0000000 Binary files a/frontend/_next/static/media/6306c77e7c8268e4-s.0mao5jbfbduzp.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 b/frontend/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 deleted file mode 100644 index 8a1d3df..0000000 Binary files a/frontend/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2 b/frontend/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2 deleted file mode 100644 index 67b06da..0000000 Binary files a/frontend/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/7d817b4c03b0c5f1-s.0uzt.a6d44yda.woff2 b/frontend/_next/static/media/7d817b4c03b0c5f1-s.0uzt.a6d44yda.woff2 deleted file mode 100644 index e7edd24..0000000 Binary files a/frontend/_next/static/media/7d817b4c03b0c5f1-s.0uzt.a6d44yda.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 b/frontend/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 deleted file mode 100644 index f385e23..0000000 Binary files a/frontend/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/bbc41e54d2fcbd21-s.0mvwgmnhv29no.woff2 b/frontend/_next/static/media/bbc41e54d2fcbd21-s.0mvwgmnhv29no.woff2 deleted file mode 100644 index 4f25f14..0000000 Binary files a/frontend/_next/static/media/bbc41e54d2fcbd21-s.0mvwgmnhv29no.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 b/frontend/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 deleted file mode 100644 index 8f01e76..0000000 Binary files a/frontend/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 and /dev/null differ diff --git a/frontend/_next/static/media/favicon.0x3dzn~oxb6tn.ico b/frontend/_next/static/media/favicon.0x3dzn~oxb6tn.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/frontend/_next/static/media/favicon.0x3dzn~oxb6tn.ico and /dev/null differ diff --git a/frontend/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 b/frontend/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 deleted file mode 100644 index 7ab581f..0000000 Binary files a/frontend/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 and /dev/null differ diff --git a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_buildManifest.js b/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_buildManifest.js deleted file mode 100644 index 94ca914..0000000 --- a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_buildManifest.js +++ /dev/null @@ -1,11 +0,0 @@ -self.__BUILD_MANIFEST = { - "__rewrites": { - "afterFiles": [], - "beforeFiles": [], - "fallback": [] - }, - "sortedPages": [ - "/_app", - "/_error" - ] -};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_clientMiddlewareManifest.js b/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_clientMiddlewareManifest.js deleted file mode 100644 index a8acaff..0000000 --- a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_clientMiddlewareManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__MIDDLEWARE_MATCHERS = [];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB() \ No newline at end of file diff --git a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_ssgManifest.js b/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_ssgManifest.js deleted file mode 100644 index 5b3ff59..0000000 --- a/frontend/_next/static/ncF6Dp_0OCMhTp1KUVnS4/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/frontend/_not-found.html b/frontend/_not-found.html deleted file mode 100644 index f27f112..0000000 --- a/frontend/_not-found.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found.🎙️ ONNX VC - Real-Time AI Voice Changer

404

This page could not be found.

\ No newline at end of file diff --git a/frontend/_not-found.txt b/frontend/_not-found.txt deleted file mode 100644 index 7ed0f5f..0000000 --- a/frontend/_not-found.txt +++ /dev/null @@ -1,16 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -4:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -5:"$Sreact.suspense" -8:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -a:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -c:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ncF6Dp_0OCMhTp1KUVnS4"} -d:[] -7:"$Wd" -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -e:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -6:null -b:[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$Le","3",{}]] diff --git a/frontend/_not-found/__next._full.txt b/frontend/_not-found/__next._full.txt deleted file mode 100644 index 7ed0f5f..0000000 --- a/frontend/_not-found/__next._full.txt +++ /dev/null @@ -1,16 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -4:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -5:"$Sreact.suspense" -8:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -a:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -c:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -0:{"P":null,"c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,null]},null,false,"$@7"]},null,false,null],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$c",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ncF6Dp_0OCMhTp1KUVnS4"} -d:[] -7:"$Wd" -9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -e:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -6:null -b:[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$Le","3",{}]] diff --git a/frontend/_not-found/__next._head.txt b/frontend/_not-found/__next._head.txt deleted file mode 100644 index 84685ca..0000000 --- a/frontend/_not-found/__next._head.txt +++ /dev/null @@ -1,6 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -3:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -4:"$Sreact.suspense" -5:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -0:{"rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L5","3",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/_not-found/__next._index.txt b/frontend/_not-found/__next._index.txt deleted file mode 100644 index 1ee1dcc..0000000 --- a/frontend/_not-found/__next._index.txt +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -0:{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/_not-found/__next._not-found.txt b/frontend/_not-found/__next._not-found.txt deleted file mode 100644 index 7d2643d..0000000 --- a/frontend/_not-found/__next._not-found.txt +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -4:[] -0:{"rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"isPartial":false,"staleTime":300,"varyParams":"$W4","buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend/_not-found/__next._not-found/__PAGE__.txt b/frontend/_not-found/__next._not-found/__PAGE__.txt deleted file mode 100644 index 2a200e5..0000000 --- a/frontend/_not-found/__next._not-found/__PAGE__.txt +++ /dev/null @@ -1,5 +0,0 @@ -1:"$Sreact.fragment" -2:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -3:"$Sreact.suspense" -0:{"rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"isPartial":false,"staleTime":300,"varyParams":null,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} -4:null diff --git a/frontend/_not-found/__next._tree.txt b/frontend/_not-found/__next._tree.txt deleted file mode 100644 index 04cdd39..0000000 --- a/frontend/_not-found/__next._tree.txt +++ /dev/null @@ -1,2 +0,0 @@ -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -0:{"tree":{"name":"","param":null,"prefetchHints":16,"slots":{"children":{"name":"/_not-found","param":null,"prefetchHints":0,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":0,"slots":null}}}}},"staleTime":300,"buildId":"ncF6Dp_0OCMhTp1KUVnS4"} diff --git a/frontend-next/eslint.config.mjs b/frontend/eslint.config.mjs similarity index 100% rename from frontend-next/eslint.config.mjs rename to frontend/eslint.config.mjs diff --git a/frontend/favicon.ico b/frontend/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/frontend/favicon.ico and /dev/null differ diff --git a/frontend/file.svg b/frontend/file.svg deleted file mode 100644 index 004145c..0000000 --- a/frontend/file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/globe.svg b/frontend/globe.svg deleted file mode 100644 index 567f17b..0000000 --- a/frontend/globe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html deleted file mode 100644 index 02c70b2..0000000 --- a/frontend/index.html +++ /dev/null @@ -1 +0,0 @@ -🎙️ ONNX VC - Real-Time AI Voice Changer
Loading Workspace...
\ No newline at end of file diff --git a/frontend/index.txt b/frontend/index.txt deleted file mode 100644 index 64b9687..0000000 --- a/frontend/index.txt +++ /dev/null @@ -1,20 +0,0 @@ -1:"$Sreact.fragment" -2:I[39756,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -3:I[37457,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default"] -4:I[47257,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ClientPageRoot"] -5:I[52683,["/_next/static/chunks/0dbhjjzl8qfwv.js","/_next/static/chunks/01yjdu1pd4sew.js"],"default"] -8:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"OutletBoundary"] -9:"$Sreact.suspense" -b:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"ViewportBoundary"] -d:I[97367,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"MetadataBoundary"] -f:I[68027,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"default",1] -:HL["/_next/static/chunks/0~n~ndg8g34g9.css","style"] -:HL["/_next/static/media/797e433ab948586e-s.p.09zddjkbdep5a.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",16],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/0dbhjjzl8qfwv.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable h-full antialiased","children":["$","body",null,{"className":"min-h-full flex flex-col","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"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"},"children":["$","div",null,{"children":[["$","style",null,{"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)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/01yjdu1pd4sew.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0~n~ndg8g34g9.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"h":null,"s":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"ncF6Dp_0OCMhTp1KUVnS4"} -6:{} -7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params" -c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] -10:I[27201,["/_next/static/chunks/0dbhjjzl8qfwv.js"],"IconMark"] -a:null -e:[["$","title","0",{"children":"🎙️ ONNX VC - Real-Time AI Voice Changer"}],["$","meta","1",{"name":"description","content":"ONNX VC - Pengubah suara real-time berbasis AI berlatensi ultra-rendah dengan ONNX Runtime."}],["$","link","2",{"rel":"icon","href":"/favicon.ico?favicon.0x3dzn~oxb6tn.ico","sizes":"256x256","type":"image/x-icon"}],["$","$L10","3",{}]] diff --git a/frontend-next/next.config.ts b/frontend/next.config.ts similarity index 100% rename from frontend-next/next.config.ts rename to frontend/next.config.ts diff --git a/frontend/next.svg b/frontend/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/frontend/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend-next/package-lock.json b/frontend/package-lock.json similarity index 100% rename from frontend-next/package-lock.json rename to frontend/package-lock.json diff --git a/frontend-next/package.json b/frontend/package.json similarity index 88% rename from frontend-next/package.json rename to frontend/package.json index 8d9693c..7d4e11f 100644 --- a/frontend-next/package.json +++ b/frontend/package.json @@ -1,10 +1,10 @@ { - "name": "frontend-next", + "name": "frontend", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", - "build": "next build && node copy-build.js", + "build": "next build", "start": "next start", "lint": "eslint" }, diff --git a/frontend-next/postcss.config.mjs b/frontend/postcss.config.mjs similarity index 100% rename from frontend-next/postcss.config.mjs rename to frontend/postcss.config.mjs diff --git a/frontend-next/public/file.svg b/frontend/public/file.svg similarity index 100% rename from frontend-next/public/file.svg rename to frontend/public/file.svg diff --git a/frontend-next/public/globe.svg b/frontend/public/globe.svg similarity index 100% rename from frontend-next/public/globe.svg rename to frontend/public/globe.svg diff --git a/frontend-next/public/next.svg b/frontend/public/next.svg similarity index 100% rename from frontend-next/public/next.svg rename to frontend/public/next.svg diff --git a/frontend-next/public/vercel.svg b/frontend/public/vercel.svg similarity index 100% rename from frontend-next/public/vercel.svg rename to frontend/public/vercel.svg diff --git a/frontend-next/public/window.svg b/frontend/public/window.svg similarity index 100% rename from frontend-next/public/window.svg rename to frontend/public/window.svg diff --git a/frontend-next/src/app/favicon.ico b/frontend/src/app/favicon.ico similarity index 100% rename from frontend-next/src/app/favicon.ico rename to frontend/src/app/favicon.ico diff --git a/frontend-next/src/app/globals.css b/frontend/src/app/globals.css similarity index 100% rename from frontend-next/src/app/globals.css rename to frontend/src/app/globals.css diff --git a/frontend-next/src/app/layout.tsx b/frontend/src/app/layout.tsx similarity index 100% rename from frontend-next/src/app/layout.tsx rename to frontend/src/app/layout.tsx diff --git a/frontend-next/src/app/page.tsx b/frontend/src/app/page.tsx similarity index 100% rename from frontend-next/src/app/page.tsx rename to frontend/src/app/page.tsx diff --git a/frontend-next/src/components/ui/badge.tsx b/frontend/src/components/ui/badge.tsx similarity index 100% rename from frontend-next/src/components/ui/badge.tsx rename to frontend/src/components/ui/badge.tsx diff --git a/frontend-next/src/components/ui/button.tsx b/frontend/src/components/ui/button.tsx similarity index 100% rename from frontend-next/src/components/ui/button.tsx rename to frontend/src/components/ui/button.tsx diff --git a/frontend-next/src/components/ui/dialog.tsx b/frontend/src/components/ui/dialog.tsx similarity index 100% rename from frontend-next/src/components/ui/dialog.tsx rename to frontend/src/components/ui/dialog.tsx diff --git a/frontend-next/src/components/ui/select.tsx b/frontend/src/components/ui/select.tsx similarity index 100% rename from frontend-next/src/components/ui/select.tsx rename to frontend/src/components/ui/select.tsx diff --git a/frontend-next/src/components/ui/slider.tsx b/frontend/src/components/ui/slider.tsx similarity index 100% rename from frontend-next/src/components/ui/slider.tsx rename to frontend/src/components/ui/slider.tsx diff --git a/frontend-next/src/components/ui/switch.tsx b/frontend/src/components/ui/switch.tsx similarity index 100% rename from frontend-next/src/components/ui/switch.tsx rename to frontend/src/components/ui/switch.tsx diff --git a/frontend-next/src/features/visualizer/components/WaveformPanel.tsx b/frontend/src/features/visualizer/components/WaveformPanel.tsx similarity index 100% rename from frontend-next/src/features/visualizer/components/WaveformPanel.tsx rename to frontend/src/features/visualizer/components/WaveformPanel.tsx diff --git a/frontend-next/src/hooks/useAudioPipeline.ts b/frontend/src/hooks/useAudioPipeline.ts similarity index 100% rename from frontend-next/src/hooks/useAudioPipeline.ts rename to frontend/src/hooks/useAudioPipeline.ts diff --git a/frontend-next/src/hooks/useKeyboardShortcuts.ts b/frontend/src/hooks/useKeyboardShortcuts.ts similarity index 100% rename from frontend-next/src/hooks/useKeyboardShortcuts.ts rename to frontend/src/hooks/useKeyboardShortcuts.ts diff --git a/frontend-next/src/hooks/usePictureInPicture.ts b/frontend/src/hooks/usePictureInPicture.ts similarity index 100% rename from frontend-next/src/hooks/usePictureInPicture.ts rename to frontend/src/hooks/usePictureInPicture.ts diff --git a/frontend-next/src/hooks/useWaveformCanvas.ts b/frontend/src/hooks/useWaveformCanvas.ts similarity index 100% rename from frontend-next/src/hooks/useWaveformCanvas.ts rename to frontend/src/hooks/useWaveformCanvas.ts diff --git a/frontend-next/src/types/audio.ts b/frontend/src/types/audio.ts similarity index 100% rename from frontend-next/src/types/audio.ts rename to frontend/src/types/audio.ts diff --git a/frontend-next/src/utils/translations.ts b/frontend/src/utils/translations.ts similarity index 100% rename from frontend-next/src/utils/translations.ts rename to frontend/src/utils/translations.ts diff --git a/frontend-next/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from frontend-next/tsconfig.json rename to frontend/tsconfig.json diff --git a/frontend/vercel.svg b/frontend/vercel.svg deleted file mode 100644 index 7705396..0000000 --- a/frontend/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/window.svg b/frontend/window.svg deleted file mode 100644 index b2b2a44..0000000 --- a/frontend/window.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file