(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,238819,e=>{"use strict";var t=e.i(56222),r=e.i(586415),i=e.i(537338),a=e.i(750907),n=e.i(377441),s=e.i(16043),l=e.i(613497),o=e.i(493696),u=e.i(571269),c=e.i(763576);function d(e,t){let r=new Set(t);return e.filter(e=>!r.has(e))}var h=class extends o.f{#e;#t;#r;#i;#a;#n;#s;#l;#o;#u=[];constructor(e,t,r){super(),this.#e=e,this.#i=r,this.#r=[],this.#a=[],this.#t=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#a.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(e=>{e.destroy()})}setQueries(e,t){this.#r=e,this.#i=t,u.f.batch(()=>{let e=this.#a,t=this.#d(this.#r);t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));let r=t.map(e=>e.observer),i=r.map(e=>e.getCurrentResult()),a=e.length!==r.length,n=r.some((t,r)=>t!==e[r]),s=a||n,o=!!s||i.some((e,t)=>{let r=this.#t[t];return!r||!(0,l.U)(e,r)});(s||o)&&(s&&(this.#u=t,this.#a=r),this.#t=i,this.hasListeners()&&(s&&(d(e,r).forEach(e=>{e.destroy()}),d(r,e).forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})),this.#h()))})}getCurrentResult(){return this.#t}getQueries(){return this.#a.map(e=>e.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(e,t){let r=this.#d(e),i=r.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)),a=r.map(e=>e.defaultedQueryOptions.queryHash);return[i,e=>this.#f(e??i,t,a),()=>this.#p(i,r)]}#p(e,t){let r=new Set;return t.map((i,a)=>{let n=e[a];return i.defaultedQueryOptions.notifyOnChangeProps?n:i.observer.trackResult(n,e=>{r.has(e)||(r.add(e),t.forEach(t=>{t.observer.trackProp(e)}))})})}#f(e,t,r){if(t){let i=this.#o,a=void 0!==r&&void 0!==i&&(i.length!==r.length||r.some((e,t)=>e!==i[t]));return(this.#t!==this.#l||a||t!==this.#s)&&(this.#s=t,this.#l=this.#t,void 0!==r&&(this.#o=r),this.#n=(0,l.B)(this.#n,t(e))),this.#n}return e}#g(){return!this.#i?.combine||this.#a.some((e,t)=>e.options.suspense&&this.#t[t]?.data===void 0)}#d(e){let t=new Map;this.#a.forEach(e=>{let r=e.options.queryHash;if(!r)return;let i=t.get(r);i?i.push(e):t.set(r,[e])});let r=[];return e.forEach(e=>{let i=this.#e.defaultQueryOptions(e),a=t.get(i.queryHash)?.shift()??new c.f(this.#e,i);r.push({defaultedQueryOptions:i,observer:a})}),r}#c(e,t){let r=this.#a.indexOf(e);-1!==r&&(this.#t=this.#t.slice(),this.#t[r]=t,this.#h())}#h(){if(this.hasListeners()){let e=this.#g(),t=this.#n,r=e?t:this.#f(this.#p(this.#t,this.#u),this.#i?.combine);(e||t!==r)&&u.f.batch(()=>{this.listeners.forEach(e=>{e(this.#t)})})}}};e.s(["f",0,function({queries:e,...o},d){let f=(0,t.d)(d),p=(0,r.f)(),g=(0,i.f)(),m=!1!==o.subscribed,b=s.useMemo(()=>e.map(e=>{let t=f.defaultQueryOptions(e);return t._optimisticResults=p?"isRestoring":m?"optimistic":void 0,t}),[e,f,p,m]);b.forEach(e=>{(0,n.p)(e);let t=f.getQueryCache().get(e.queryHash);(0,a.l)(e,g,t)}),(0,a.E)(g);let[v]=s.useState(()=>new h(f,b,o)),[y,x,w]=v.getOptimisticResult(b,o.combine),C=!p&&m;s.useSyncExternalStore(s.useCallback(e=>C?v.subscribe(u.f.batchCalls(e)):l.z,[v,C]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),s.useEffect(()=>{v.setQueries(b,o)},[b,o,v]);let k=y.some((e,t)=>(0,n.Q)(b[t],e))?y.flatMap((e,t)=>{let r=b[t];if(r&&(0,n.Q)(r,e)){let e=new c.f(f,r);return(0,n.X)(r,e,g)}return[]}):[];if(k.length>0)throw Promise.all(k);let O=y.find((e,t)=>{let r=b[t];return r&&(0,a.P)({result:e,errorResetBoundary:g,throwOnError:r.throwOnError,query:f.getQueryCache().get(r.queryHash),suspense:r.suspense})});if(O)throw O.error;return x(w())}],238819)},828342,e=>{"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function r(e){for(var r=1;re(r(r({},t),i)),i;function i(e,...r){let a="string"==typeof e?[e]:e.raw,{alignValues:n=!1,escapeSpecialCharacters:s=Array.isArray(e),trimWhitespace:l=!0}=t,o="";for(let e=0;e" "===t[0]||" "===t[0]?t.slice(e):t).join("\n")}return l&&(o=o.trim()),s&&(o=o.replace(/\\n/g,"\n").replace(/\\t/g," ").replace(/\\r/g,"\r").replace(/\\v/g,"\v").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\0/g,"\0").replace(/\\x([\da-fA-F]{2})/g,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/\\u\{([\da-fA-F]{1,6})\}/g,(e,t)=>String.fromCodePoint(parseInt(t,16))).replace(/\\u([\da-fA-F]{4})/g,(e,t)=>String.fromCharCode(parseInt(t,16)))),"u">typeof Bun&&(o=o.replace(/\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g,(e,t,r)=>{var i;return String.fromCodePoint(parseInt(null!=(i=null!=t?t:r)?i:"",16))})),o}}({});e.s(["f",0,i])},10460,e=>{"use strict";var t=e.i(651681);let r={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],10460)},153722,e=>{"use strict";e.s(["z",0,function(e){let t=e.split("/")[0];if(!t)return null;let r=t.startsWith("~")?t.slice(1):t;return 0===r.length?null:r},"O",0,function(e){if(!e.startsWith("~")||!e.endsWith("-latest"))return!1;let[t,...r]=e.slice(1).split("/");if(!t||0===r.length)return!1;let i=r.join("/");return 0!==i.length&&"-latest"!==i}])},913743,9634,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(647204),a=e.i(16043),n=e.i(136562),s=e.i(535072);let l=()=>{if("u"0?e:void 0};var o=e.i(866969),u=e.i(67089);let c=null,d=new Map,h=null,f=0,p=(e,t)=>{let r=d.get(e);r&&(d.delete(e),clearTimeout(r.timeoutId),r.resolve(t))},g=()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={highlight:m},t[0]=e):e=t[0],e};function m(t,r,a){return(({code:t,lang:r,theme:a})=>new Promise(n=>{let s=(()=>{if(h)return null;if(c)return c;let t=(0,i.$)(()=>e.r(405266)(Worker));return(0,i.V)(t)?((0,u.L)("Failed to initialize highlight worker",{message:"Failed to initialize highlight worker",error:t.error,metadata:{location:"highlight.singleton.ts"}}),h=t.error instanceof Error?t.error:Error(String(t.error)),c=null,null):((c=t.data).onmessage=e=>{let{id:t,lines:r,preStyle:i,error:a}=e.data;if(a){(0,u.L)("highlight worker processing error",{message:"highlight worker processing error",error:a,metadata:{location:"highlight.singleton.ts"}}),p(t,null);return}f=0,p(t,{lines:r??[],preStyle:i??""})},c.onerror=e=>{for(let t of((0,u.L)("highlight worker script error",{message:"highlight worker script error",error:e,metadata:{location:"highlight.singleton.ts"}}),(f+=1)>2&&(h=Error(e.message||"highlight worker script error")),c?.terminate(),c=null,d.keys()))p(t,null)},c)})();if(!s)return void n(null);let l=crypto.randomUUID(),o=setTimeout(()=>p(l,null),1e4);d.set(l,{resolve:n,timeoutId:o});let g=(0,i.$)(()=>s.postMessage({id:l,code:t,lang:r,theme:a}));(0,i.V)(g)&&p(l,null)}))({code:t,lang:r,theme:a})}e.s(["f",0,g],9634);let b=(0,a.memo)(e=>{let i,a=(0,r.c)(2),{html:n}=e;return a[0]!==n?(i=(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),a[0]=n,a[1]=i):i=a[1],i}),v=(0,a.memo)(e=>{let i,a=(0,r.c)(2),{text:n}=e,s=n||" ";return a[0]!==s?(i=(0,t.jsx)("div",{children:s}),a[0]=s,a[1]=i):i=a[1],i});e.s(["f",0,({code:e,lang:u,theme:c,roundedCorners:d=!0,border:h=!0,codeBackgroundClassName:f="bg-doc-surface",lineNumbers:p=!1,wrap:m=!1})=>{let[y,x]=(0,a.useState)([]),[w,C]=(0,a.useState)({}),[k,O]=(0,a.useState)(""),S=(0,a.useRef)(!1),j=(0,a.useRef)(null),T=(0,a.useRef)(0),{highlight:N}=g(),A=((e=500)=>{let t=(0,a.useMemo)(l,[]),r=(0,s.o)("(min-width: 768px)");return(0,a.useMemo)(()=>void 0!==t?t<2?4e3:t<4?2e3:e:r?e:2e3,[t,r,e])})(500),I=(0,a.useCallback)(e=>{var t;let r,i=(t=e.preStyle,r={},t&&t.split(";").forEach(e=>{let[t,i]=e.split(/:(.*)/s);t&&i&&(r[t.trim().replaceAll(/-(\w)/g,(e,t)=>t.toUpperCase())]=i.trim())}),r);i.backgroundColor="transparent",i.whiteSpace="pre",C(i)},[]);(0,a.useEffect)(()=>{let e=!1;return(0,i.$)(()=>N("",u,c)).then(t=>{e||!(0,i.V)(t)&&t.data&&I(t.data)}),()=>{e=!0}},[u,c,N,I]),(0,a.useEffect)(()=>{j.current={code:e,lang:u,theme:c},T.current=0},[e,u,c]);let M=(0,a.useCallback)(async()=>{if(S.current||!j.current)return;S.current=!0;let e=j.current;j.current=null;let t=await (0,i.$)(()=>N(e.code,e.lang,e.theme));(0,i.V)(t)||!t.data?(T.current+=1,T.current<=5&&(j.current??=e)):(T.current=0,I(t.data),x(t.data.lines),O(e.code)),S.current=!1},[N,I]);!function(e){let t,i,n=(0,r.c)(5),{run:s,intervalMs:l,jobKey:u}=e;n[0]!==s?(t=()=>{s()},n[0]=s,n[1]=t):t=n[1],n[2]!==u||n[3]!==s?(i=[u,s],n[2]=u,n[3]=s,n[4]=i):i=n[4],(0,a.useEffect)(t,i),(0,o.f)(s,l)}({run:(0,a.useCallback)(()=>{M()},[M]),intervalMs:A,jobKey:`${u}|${c}|${e}`});let R=(0,a.useMemo)(()=>k&&e.startsWith(k)?e.substring(k.length):e,[e,k]);(0,a.useEffect)(()=>{k&&!e.startsWith(k)&&x([])},[e,k]);let E=(0,a.useMemo)(()=>R.split("\n"),[R]);return(0,t.jsx)("pre",{className:(0,n.f)("highlights overflow-x-auto min-w-0",h&&"border border-border",d&&"rounded-lg"),style:w,children:(0,t.jsxs)("code",{className:(0,n.f)("p-4",m?"block whitespace-pre-wrap break-words":"inline-block min-w-full whitespace-pre",!p&&!m&&"md:whitespace-pre-wrap",p&&"[counter-reset:line] [&>div]:before:[counter-increment:line] [&>div]:before:content-[counter(line)] [&>div]:before:mr-3 [&>div]:before:inline-block [&>div]:before:w-7 [&>div]:before:text-right [&>div]:before:tabular-nums [&>div]:before:select-none [&>div]:before:text-faint",p&&m&&"[&>div]:pl-10 [&>div]:-indent-10",f),children:[y.map((e,r)=>(0,t.jsx)(b,{html:e},`h-${r}`)),E.slice(+!!k).map((e,r)=>(0,t.jsx)(v,{text:e},`r-${r}`))]})})}],913743)},273517,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(820223),a=e.i(473028);e.i(16043);var n=e.i(199630),s=e.i(288265);let l=e=>{let i,a,n=(0,r.c)(5),{src:l}=e,o=(0,s.f)();return n[0]!==o?(i=o("AI Generated SVG"),n[0]=o,n[1]=i):i=n[1],n[2]!==l||n[3]!==i?(a=(0,t.jsx)("img",{className:"max-w-lg rounded-lg border border-current",alt:i,src:l}),n[2]=l,n[3]=i,n[4]=a):a=n[4],a},o="image/svg+xml";e.s(["MarkdownSvgFence",0,function(e){let s,u,c=(0,r.c)(5),{source:d,fallback:h}=e,f=(0,n.f)();c[0]!==f||c[1]!==d?(s=f?function(e){let t=new DOMParser;try{let r=t.parseFromString(e,o);if(r.querySelector("parsererror")||"http://www.w3.org/2000/svg"!==r.documentElement.namespaceURI)return null}catch{return null}return(0,a.d)({mimeType:o,base64:(0,i.Y)(e)})}(d):null,c[0]=f,c[1]=d,c[2]=s):s=c[2];let p=s;return p?(c[3]!==p?(u=(0,t.jsx)("div",{className:"flex-row justify-items-center w-full my-6",children:(0,t.jsx)(l,{src:p})}),c[3]=p,c[4]=u):u=c[4],u):h}],273517)},567520,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(288265);e.s(["MarkdownYouTubeEmbed",0,e=>{let a,n,s=(0,r.c)(5),{youtubeId:l}=e,o=(0,i.f)(),u=`https://www.youtube.com/embed/${l}`;return s[0]!==o?(a=o("YouTube video"),s[0]=o,s[1]=a):a=s[1],s[2]!==u||s[3]!==a?(n=(0,t.jsx)("span",{className:"relative block w-full aspect-video my-4",children:(0,t.jsx)("iframe",{src:u,title:a,sandbox:"allow-scripts allow-same-origin allow-presentation allow-popups allow-popups-to-escape-sandbox",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full rounded-lg"})}),s[2]=u,s[3]=a,s[4]=n):n=s[4],n}])},246705,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(207298),a=e.i(288265),n=e.i(872635),s=e.i(354896),l=e.i(10460),o=e.i(961160),u=e.i(16043),c=e.i(136562),d=e.i(192668),h=e.i(199630),f=e.i(913743),p=e.i(139697),g=e.i(988590),m=e.i(828342);let b={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"shell",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},v={javascript:"javascript",typescript:"typescript",tsx:"tsx",python:"python",shell:"bash",rust:"rust",go:"go",json:"json",html:"html",ruby:"ruby"},y="code",x=new Map([["javascript","JavaScript"],["typescript","TypeScript"],["tsx","TSX"],["python","Python"],["shell","Shell"],["rust","Rust"],["go","Go"],["json","JSON"],["html","HTML"],["ruby","Ruby"]]);function w(e){let t=e.toLowerCase();return(0,g.q)(t,b)?t:void 0}var C=e.i(609623);let k={Block:"block",Line:"line"};function O(e){return"string"==typeof e.value}let S=(0,i.f)("overflow-auto bg-doc-surface font-mono text-body leading-relaxed text-foreground",{variants:{maxHeight:{sm:"max-h-80",md:"max-h-96",lg:"max-h-128",xl:"max-h-none"}},defaultVariants:{maxHeight:"md"}});e.s(["CodeBlock",0,e=>{var i,g;let b,j,T,N,A,I,M,R,E,U,D,L,P,F,$,B,V,_,H,z=(0,r.c)(69),Q=(0,a.f)();z[0]!==Q?(b=e=>{let t;return e===y?Q("Code"):(void 0===(t=w(e))?void 0:x.get(t))??e},z[0]=Q,z[1]=b):b=z[1];let q=b,{resolvedTheme:W}=(0,o.i)(),Y=!(0,h.f)(),{isCopied:G,copyToClipboard:Z}=(0,d.f)(1200),[X,K]=(0,u.useState)(0),J=!0===e.collapsible,[ee,et]=(0,u.useState)(J&&!0===e.defaultCollapsed),er=(0,u.useId)(),ei=(_=(0,r.c)(2),H=(0,u.useRef)(null),_[0]===Symbol.for("react.memo_cache_sentinel")?(B=()=>{let e=H.current;if(!e)return;let t=function(){var t;let r,i;if(!e)return;let a=(r=(t=e).scrollLeft>2,i=t.scrollLeft+t.clientWidth{e.removeEventListener("scroll",t),r.disconnect()}},V=[],_[0]=B,_[1]=V):(B=_[0],V=_[1]),(0,u.useEffect)(B,V),H),{value:ea}=e,en=O(e)?e.title:void 0,es=O(e)?e.language:void 0,el=O(e)?e.rawLanguage:void 0;z[2]!==es||z[3]!==el||z[4]!==en||z[5]!==ea?(i={title:en,language:es,rawLanguage:el},j="string"==typeof ea?[{code:ea,title:i.title??i.language??i.rawLanguage??y,language:i.language,rawLanguage:i.rawLanguage}]:Array.isArray(ea)?ea:Object.entries(ea).map(([e,t])=>({rawLanguage:e,title:e,code:t??"",language:w(e)})),z[2]=es,z[3]=el,z[4]=en,z[5]=ea,z[6]=j):j=z[6];let eo=j,eu="light"===W?e.lightTheme??"github-light":e.darkTheme??"github-dark",ec=void 0!==eo[X]?X:0,ed=eo[ec]??eo[0];z[7]!==ed.code||z[8]!==e.dedent?(g=ed.code,T=e.dedent?(0,m.f)(g):g,z[7]=ed.code,z[8]=e.dedent,z[9]=T):T=z[9];let eh=T;z[10]!==ed?(N=function(e){if(e.language)return v[e.language];if(!e.rawLanguage)return"text";let t=w(e.rawLanguage);return t?v[t]:e.rawLanguage}(ed),z[10]=ed,z[11]=N):N=z[11];let ef=N;z[12]!==eh||z[13]!==Z||z[14]!==e?(A=()=>{Z(eh,{shouldWaitForReset:!1}).then(t=>{t&&e.onCopy?.()})},z[12]=eh,z[13]=Z,z[14]=e,z[15]=A):A=z[15];let ep=A;z[16]!==ep||z[17]!==G||z[18]!==Q||z[19]!==e.hideCopy?(I=e.hideCopy?null:(0,t.jsx)(p.Button,{type:"button",variant:"ghost",size:"icon-sm",touchTarget:"below-sm","aria-label":G?Q("Copied code"):Q("Copy code"),onClick:ep,className:"shrink-0",children:(0,t.jsx)(C.f,{active:G,from:(0,t.jsx)(l.f,{className:"size-4"}),to:(0,t.jsx)(n.f,{className:"size-4"})})}),z[16]=ep,z[17]=G,z[18]=Q,z[19]=e.hideCopy,z[20]=I):I=z[20];let eg=I;if(e.variant===k.Line){let r,i,a;return z[21]!==e.className?(r=(0,c.f)("flex items-center gap-2 rounded-lg border border-border bg-doc-surface pr-1 pl-4",e.className),z[21]=e.className,z[22]=r):r=z[22],z[23]!==eh||z[24]!==ei?(i=(0,t.jsx)("code",{ref:ei,"data-testid":"code-block",className:"min-w-0 flex-1 overflow-x-auto overscroll-x-contain bg-transparent py-3 font-mono text-body whitespace-pre text-foreground scrollbar-hide",children:eh}),z[23]=eh,z[24]=ei,z[25]=i):i=z[25],z[26]!==eg||z[27]!==r||z[28]!==i?(a=(0,t.jsxs)("div",{className:r,children:[i,eg]}),z[26]=eg,z[27]=r,z[28]=i,z[29]=a):a=z[29],a}let em=eo.length>1;z[30]!==e.bodyClassName||z[31]!==e.maxHeight?(M=(0,c.f)(S({maxHeight:e.maxHeight}),e.bodyClassName),z[30]=e.bodyClassName,z[31]=e.maxHeight,z[32]=M):M=z[32];let eb=M;z[33]!==eh||z[34]!==ef||z[35]!==eb||z[36]!==er||z[37]!==eu||z[38]!==Y?(R=Y?(0,t.jsx)("pre",{"data-testid":"code-block",id:er,className:eb,children:(0,t.jsx)("code",{className:"inline-block min-w-full whitespace-pre bg-transparent p-4 md:whitespace-pre-wrap",children:eh})}):(0,t.jsx)("div",{"data-testid":"code-block",id:er,className:eb,children:(0,t.jsx)(f.f,{code:eh,lang:ef,theme:eu,roundedCorners:!1,border:!1,codeBackgroundClassName:"bg-transparent"})}),z[33]=eh,z[34]=ef,z[35]=eb,z[36]=er,z[37]=eu,z[38]=Y,z[39]=R):R=z[39];let ev=R;z[40]!==e.className?(E=(0,c.f)("overflow-hidden rounded-lg border border-border bg-card",e.className),z[40]=e.className,z[41]=E):E=z[41];let ey=!ee&&"border-b border-border";z[42]!==e.tabClassName||z[43]!==ey?(U=(0,c.f)("flex h-9 items-center justify-between gap-2 px-3",ey,e.tabClassName),z[42]=e.tabClassName,z[43]=ey,z[44]=U):U=z[44],z[45]!==ed.title||z[46]!==er||z[47]!==Q||z[48]!==ee||z[49]!==J?(D=J?(0,t.jsx)(p.Button,{type:"button",variant:"ghost",size:"icon-sm","aria-controls":er,"aria-expanded":!ee,"aria-label":ee?Q("Show {title}",{title:ed.title}):Q("Hide {title}",{title:ed.title}),onClick:()=>et(!ee),className:"shrink-0",children:(0,t.jsx)(s.f,{className:(0,c.f)("size-4 transition-transform",ee&&"-rotate-90")})}):null,z[45]=ed.title,z[46]=er,z[47]=Q,z[48]=ee,z[49]=J,z[50]=D):D=z[50],z[51]!==ed.title||z[52]!==em||z[53]!==e||z[54]!==ec||z[55]!==eo||z[56]!==q?(L=em?(0,t.jsx)("span",{className:"flex min-w-0 items-center gap-1 overflow-x-auto",children:eo.map((r,i)=>(0,t.jsx)(p.Button,{type:"button",variant:"ghost",size:"xs","aria-pressed":ec===i,onClick:()=>{K(i),e.onTabChange?.(i)},tone:ec===i?void 0:"subdued",className:ec===i?"bg-accent text-accent-foreground":void 0,children:q(r.title)},r.title))}):(0,t.jsx)("span",{className:"truncate text-caption text-muted-foreground",children:q(ed.title)}),z[51]=ed.title,z[52]=em,z[53]=e,z[54]=ec,z[55]=eo,z[56]=q,z[57]=L):L=z[57],z[58]!==D||z[59]!==L?(P=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1",children:[D,L]}),z[58]=D,z[59]=L,z[60]=P):P=z[60],z[61]!==eg||z[62]!==U||z[63]!==P?(F=(0,t.jsxs)("div",{className:U,children:[P,eg]}),z[61]=eg,z[62]=U,z[63]=P,z[64]=F):F=z[64];let ex=ee?null:ev;return z[65]!==F||z[66]!==ex||z[67]!==E?($=(0,t.jsxs)("div",{className:E,children:[F,ex]}),z[65]=F,z[66]=ex,z[67]=E,z[68]=$):$=z[68],$},"CodeBlockVariant",0,k],246705)},195362,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),a=e.i(261499);e.s(["F",0,function(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.f)("grid w-full grid-cols-12 items-center",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l},"B",0,function(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.f)("col-span-7 flex min-w-0 items-center gap-4 text-left",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l},"T",0,function(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.f)("flex min-w-0 flex-col",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l},"r",0,function(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.f)("col-span-1 text-left text-muted-foreground",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l},"v",0,function(e){let n,s,l,o=(0,r.c)(7),{color:u,className:c}=e;return o[0]!==c?(n=(0,i.f)("size-3 shrink-0 rounded-full bg-(--series-color)",a.m,c),o[0]=c,o[1]=n):n=o[1],o[2]!==u?(s={"--series-color":u},o[2]=u,o[3]=s):s=o[3],o[4]!==n||o[5]!==s?(l=(0,t.jsx)("div",{className:n,"data-allow-inline-style":!0,style:s}),o[4]=n,o[5]=s,o[6]=l):l=o[6],l},"R",0,function(e){let a,n,s,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...n}=e,o[0]=e,o[1]=a,o[2]=n):(a=o[1],n=o[2]),o[3]!==a?(s=(0,i.f)("col-span-4 flex items-center justify-end gap-3 text-right",a),o[3]=a,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(l=(0,t.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=l):l=o[7],l}])},254278,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(288265),a=e.i(16043),n=e.i(136562),s=e.i(336810);let l=[38,64,29,55,72,41,60,34,78,47,53,69,31,58,44,75,37,66,49,82,35,57,73,40,62,46,80,33,54,70,43,61,36,76,51,68,39,59,84,45,63,32,71,48,56,79,42,65,52,74,30,67];function o(e){return Number(e.toFixed(2))}function u(e){let i,a,s,l,o=(0,r.c)(14),{height:u,rects:c,animate:d,forecastPatternId:h}=e,f=d?"animate-pulse":void 0;o[0]!==f?(i=(0,n.f)("h-full w-full text-muted",f),o[0]=f,o[1]=i):i=o[1];let p=`0 0 400 ${u}`;if(o[2]!==h?(a=h&&(0,t.jsx)("defs",{children:(0,t.jsxs)("pattern",{id:h,height:"6",patternTransform:"rotate(45)",patternUnits:"userSpaceOnUse",width:"6",children:[(0,t.jsx)("rect",{fillOpacity:"1",height:"6",width:"6"}),(0,t.jsx)("rect",{className:"fill-white",fillOpacity:"0.16",height:"6",width:"3"})]})}),o[2]=h,o[3]=a):a=o[3],o[4]!==h||o[5]!==c){let e;o[7]!==h?(e=e=>(0,t.jsx)("rect",{fill:e.forecast&&h?`url(#${h})`:void 0,fillOpacity:e.forecast?.58:void 0,height:e.height,rx:1,width:e.width,x:e.x,y:e.y},e.key),o[7]=h,o[8]=e):e=o[8],s=c.map(e),o[4]=h,o[5]=c,o[6]=s}else s=o[6];return o[9]!==i||o[10]!==p||o[11]!==a||o[12]!==s?(l=(0,t.jsxs)("svg",{"aria-hidden":!0,className:i,fill:"currentColor",fillOpacity:.48,preserveAspectRatio:"none",viewBox:p,children:[a,s]}),o[9]=i,o[10]=p,o[11]=a,o[12]=s,o[13]=l):l=o[13],l}e.s(["StackedBarChartSkeleton",0,function(e){let c,d,h,f,p,g,m=(0,r.c)(31),{height:b,barCount:v,segmentCount:y,showForecastBar:x,animate:w,decorative:C,className:k,"data-testid":O}=e,S=void 0===b?s.i:b,j=void 0===v?52:v,T=void 0===y?5:y,N=void 0===x||x,A=void 0===w||w,I=void 0===O?"stacked-bar-chart-skeleton":O,M=(0,i.f)(),R=(0,a.useId)();m[0]!==j||m[1]!==S||m[2]!==T||m[3]!==N?(c=function({height:e,barCount:t,segmentCount:r,showForecastBar:i}){let a=(400-(t-1))/t;return Array.from({length:t},(e,t)=>t).flatMap(n=>{let s=l[n%l.length]??50,u=s/100*e,c=r>1?function({totalPercent:e,segmentCount:t,barIndex:r}){let i=Array.from({length:t},(e,t)=>12+(7*r+13*t)%22),a=i.reduce((e,t)=>e+t,0);return i.map(t=>t/a*e)}({totalPercent:s,segmentCount:r,barIndex:n}):[s],d=c.map((e,t)=>c.slice(0,t).reduce((e,t)=>e+t,0));return c.flatMap((r,s)=>{let l=r/100*e;if(l<=0)return[];let c=i&&n===t-1,h=(d[s]??0)/100*e;return[{forecast:c,height:o(l),key:`bar-${n}-segment-${s}`,width:o(a),x:o(n*(a+1)),y:o(e-u+h)}]})})}({height:S,barCount:j,segmentCount:T,showForecastBar:N}),m[0]=j,m[1]=S,m[2]=T,m[3]=N,m[4]=c):c=m[4];let E=c,U=N?R:void 0;m[5]!==A||m[6]!==S||m[7]!==E||m[8]!==U?(d=(0,t.jsx)(u,{animate:A,forecastPatternId:U,height:S,rects:E}),m[5]=A,m[6]=S,m[7]=E,m[8]=U,m[9]=d):d=m[9];let D=d;if(void 0!==C&&C){let e,r,i;m[10]!==k?(e=(0,n.f)("w-full h-(--chart-height)",k),m[10]=k,m[11]=e):e=m[11];let a=`${S}px`;return m[12]!==a?(r={"--chart-height":a},m[12]=a,m[13]=r):r=m[13],m[14]!==D||m[15]!==I||m[16]!==e||m[17]!==r?(i=(0,t.jsx)("div",{"aria-hidden":!0,className:e,"data-testid":I,"data-allow-inline-style":!0,style:r,children:D}),m[14]=D,m[15]=I,m[16]=e,m[17]=r,m[18]=i):i=m[18],i}m[19]!==M?(h=M("Loading chart"),m[19]=M,m[20]=h):h=m[20],m[21]!==k?(f=(0,n.f)("w-full h-(--chart-height)",k),m[21]=k,m[22]=f):f=m[22];let L=`${S}px`;return m[23]!==L?(p={"--chart-height":L},m[23]=L,m[24]=p):p=m[24],m[25]!==D||m[26]!==I||m[27]!==h||m[28]!==f||m[29]!==p?(g=(0,t.jsx)("div",{"aria-label":h,className:f,"data-testid":I,"data-allow-inline-style":!0,role:"status",style:p,children:D}),m[25]=D,m[26]=I,m[27]=h,m[28]=f,m[29]=p,m[30]=g):g=m[30],g}])},336810,e=>{"use strict";var t=e.i(497214),r=e.i(315368);let i={Blue:"var(--chart-1)",Mint:"var(--chart-2)",YellowOrange:"var(--chart-3)",Orange:"var(--chart-4)",Tomato:"var(--chart-5)",SteelBlue:"var(--chart-6)",YellowGreen:"var(--chart-7)",Orchid:"var(--chart-8)",Turquoise:"var(--chart-9)",HotPink:"var(--chart-10)",Goldenrod:"var(--chart-11)",MediumSlateBlue:"var(--chart-12)",LightCoral:"var(--chart-13)",OliveDrab:"var(--chart-14)",PaleVioletRed:"var(--chart-15)",MediumSeaGreen:"var(--chart-16)",DarkKhaki:"var(--chart-17)",Purple:"var(--chart-18)",OrangeRed:"var(--chart-19)",SeaGreen:"var(--chart-20)",Slate400:"#94a3b8"},a=[i.Blue,i.Mint,i.YellowOrange,i.Orange,i.Tomato,i.SteelBlue,i.YellowGreen,i.Orchid,i.Turquoise,i.HotPink,i.Goldenrod,i.MediumSlateBlue,i.LightCoral,i.OliveDrab,i.PaleVioletRed,i.MediumSeaGreen,i.DarkKhaki,i.Purple,i.OrangeRed,i.SeaGreen],n=e=>!(e.length<3)&&new Set(e.map(e=>new Date(e)).map(e=>e.toISOString().slice(0,10))).sizeMath.round(e+a*r)))}let n=Math.ceil(e/a)*a,s=Math.floor(r/a)*a,l=Math.floor((s-n)/a)+1;if(l<2)return[];let o=Math.max(1,Math.round((l-1)/(i-1))),u=Math.floor((l-1)/o)+1;return Array.from({length:u},(e,t)=>s-(u-1-t)*o*a)},"D",0,(e,i)=>{let a=(0,t.H)(e.map(e=>(0,r.I)(String(e[s])).getUTCFullYear())),l=(0,t.H)(e.map(e=>(0,r.I)(String(e[s])).toISOString().slice(0,10)));return{containsMultipleYears:a.length>1,containsMultipleDays:l.length>1,isHighRes:n(i)}},"I",0,function(e){return void 0===e||e?"opacity-100":"opacity-50"}])},866969,e=>{"use strict";var t=e.i(663456),r=e.i(16043),i=e.i(143253);e.s(["f",0,function(e,a){let n,s,l,o,u=(0,t.c)(6),c=(0,r.useRef)(e);u[0]!==e?(n=()=>{c.current=e},s=[e],u[0]=e,u[1]=n,u[2]=s):(n=u[1],s=u[2]),(0,i.f)(n,s),u[3]!==a?(l=()=>{if(null===a)return;let e=setInterval(()=>{c.current()},a);return()=>{clearInterval(e)}},o=[a],u[3]=a,u[4]=l,u[5]=o):(l=u[4],o=u[5]),(0,r.useEffect)(l,o)}])},895966,e=>{"use strict";var t=e.i(663456),r=e.i(238819);e.i(16043);var i=e.i(198453),a=e.i(979730),n=e.i(467863);function s(e){let t=e.filter(c);return{models:e.length>0&&0===t.length?void 0:t.flatMap(u),isPending:e.some(o),isError:e.some(l),retry:()=>{for(let t of e)t.isError&&void 0===t.data&&t.refetch()}}}function l(e){return e.isError&&void 0===e.data}function o(e){return e.isPending&&!e.isError}function u(e){return e.data??[]}function c(e){return void 0!==e.data}e.s(["f",0,function(e,l){let o,u,c,d,h,f,p=(0,t.c)(18);p[0]!==l?(o=void 0===l?{}:l,p[0]=l,p[1]=o):o=p[1];let{enabled:g}=o,m=void 0===g||g;p[2]!==e?(u=(0,i.Y)(e),p[2]=e,p[3]=u):u=p[3];let b=u;if(p[4]!==b||p[5]!==m){let e;p[7]!==m?(e=e=>({...(0,n.s)(e),enabled:m}),p[7]=m,p[8]=e):e=p[8],c=b.map(e),p[4]=b,p[5]=m,p[6]=c}else c=p[6];p[9]!==c?(d={queries:c,combine:s},p[9]=c,p[10]=d):d=p[10];let{models:v,isPending:y,isError:x,retry:w}=(0,r.f)(d);p[11]!==v?(h=(0,a.v)((0,a.u)({availableModels:v})),p[11]=v,p[12]=h):h=p[12];let C=h;return p[13]!==x||p[14]!==y||p[15]!==C||p[16]!==w?(f={...C,isPending:y,isError:x,retry:w},p[13]=x,p[14]=y,p[15]=C,p[16]=w,p[17]=f):f=p[17],f}])},315368,e=>{"use strict";var t=e.i(30368),r=e.i(272114),i=e.i(647204);let a=e=>{let t=(0,r.z)(e);return new Date((0,i.V)(t)?0/0:t.data)};e.s(["$",0,function(e,r,i=!1){return(0,t.f)(e).date(a(r),{timeZone:"UTC",preset:i?"medium":"day-month"})??"—"},"M",0,function(e,{value:r,shouldIncludeDay:i=!1,timeZone:n}){let s=(0,t.f)(e),l=a(r);return(i?s.dateTime(l,{timeZone:n,preset:"chart-numeric-hour"}):s.time(l,{timeZone:n,preset:"numeric"}))??"—"},"I",0,a,"n",0,function(e,t){return"utc"===e||"UTC"===t?void 0:t}])},769715,e=>{e.q("/_next/static/immutable/media/highlight.worker.3-ioem5915ckg.ts")},405266,e=>{e.v(e.r(510914).f("static/immutable/chunks/turbopack-worker-38eq_8frvyaul.js",["static/immutable/chunks/0t_n-r81acfo9.js","static/immutable/chunks/418fptazfd3br.js","static/immutable/chunks/turbopack-0bzpzepyyv54r.js","static/immutable/chunks/turbopack-35u-62ruoxs7i.js"]))},430022,e=>{"use strict";e.s(["v",0,function(e){if(!/^\d{4}-\d{2}-\d{2}$/u.test(e))return!1;let t=new Date(`${e}T00:00:00.000Z`);return!Number.isNaN(t.getTime())&&t.toISOString().slice(0,10)===e},"o",0,function(e){return!Number.isNaN(e.getTime())},"N",0,864e5,"V",0,3600,"X",0,6e4,"O",0,2592e6,"R",0,1e3,"b",0,6048e5,"y",0,function(e){if(!e)return new Date(0/0);let t=e.replace(" ","T");return new Date(/[zZ]$|[+-]\d{2}:\d{2}$/.test(t)?t:`${t}Z`)},"P",0,function(e,t){if(!e)return t;if(e instanceof Date)return Number.isNaN(e.getTime())?t:e;if("string"==typeof e||"number"==typeof e){let t=new Date(e);if(!Number.isNaN(t.getTime()))return t}return t},"S",0,function(e,t=0){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+t,1))},"Q",0,e=>e.toISOString().split("T")[0]])},473028,e=>{"use strict";var t=e.i(647204);let r=/^[A-Za-z0-9+/\-_=\s]*$/,i=/^$/,a="data:",n=";base64,";function s(e){let t=r.test(e);return i.test(""),t}e.s(["k",0,function(e){let r=e.indexOf(";");if(e.startsWith(a)&&r>a.length&&e.startsWith(n,r)){let i=e.slice(a.length,r),l=e.slice(r+n.length);if(i&&l&&!i.includes(":")&&s(l))return(0,t.N)({mimeType:i,base64:l})}return function(e){let[r,i]=e.split(";");if(!r||!i)return(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: missing data prefix or base64 payload"});let a=r.split(":")[1],n=i.split(",")[1];return a&&n?s(n)?(0,t.N)({mimeType:a,base64:n}):(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: payload is not base64-encoded data"}):(0,t.Y)({location:"decodeBase64DataURL",message:"Invalid base64 data URL: missing mime type or base64 content"})}(e)},"d",0,function({mimeType:e,base64:t}){return`data:${e};base64,${t}`},"i",0,function(e){return e.startsWith("data:")&&e.includes(";base64,",5)&&!e.includes("\n")&&!e.includes("\r")&&!e.includes("\u2028")&&!e.includes("\u2029")}])},820223,e=>{"use strict";let t;var r=e.i(647204),i=e.i(167182);let a="function"==typeof i.Buffer,n="function"==typeof TextDecoder?new TextDecoder:void 0,s="function"==typeof TextEncoder?new TextEncoder:void 0,l=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),o=(t={},l.forEach((e,r)=>t[e]=r),t),u=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,c=String.fromCharCode.bind(String),d="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),h=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),f="function"==typeof btoa?e=>btoa(e):a?e=>i.Buffer.from(e,"binary").toString("base64"):e=>{let t,r,i,a,n="",s=e.length%3;for(let s=0;s255||(i=e.charCodeAt(s++))>255||(a=e.charCodeAt(s++))>255)throw TypeError("invalid character found");n+=l[(t=r<<16|i<<8|a)>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}return s?n.slice(0,s-3)+"===".substring(s):n},p=a?e=>i.Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,i=e.length;rt?h(p(e)):p(e),m=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},b=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,v=a?e=>i.Buffer.from(e,"utf8").toString("base64"):s?e=>p(s.encode(e)):e=>f(e.replace(b,m)),y=(e,t=!1)=>t?h(v(e)):v(e),x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c((t>>>10)+55296)+c((1023&t)+56320);case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},C="function"==typeof atob?e=>atob(e.replace(/[^A-Za-z0-9\+\/]/g,"")):a?e=>i.Buffer.from(e,"base64").toString("binary"):e=>{let t,r,i;if(e=e.replace(/\s+/g,""),!u.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let a=[];for(let n=0;n>16&255)):64===i?a.push(c(t>>16&255,t>>8&255)):a.push(c(t>>16&255,t>>8&255,255&t));return a.join("")},k=a?e=>d(i.Buffer.from(e,"base64")):e=>d(C(e).split("").map(e=>e.charCodeAt(0))),O=e=>k(j(e)),S=a?e=>i.Buffer.from(e,"base64").toString("utf8"):n?e=>n.decode(k(e)):e=>C(e).replace(x,w),j=e=>e.replace(/[-_]/g,e=>"-"==e?"+":"/").replace(/[^A-Za-z0-9\+\/]/g,"");function T(e){let t=0,r=0,i=!1,a=!1;for(let n=0;n=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){if(r>0)return!1;t+=1}else if(43===s||47===s){if(r>0)return!1;i=!0,t+=1}else if(45===s||95===s){if(r>0)return!1;a=!0,t+=1}else if(61===s){if((r+=1)>2)return!1}else if(!(32===s||s>=9&&s<=13||160===s||5760===s||s>=8192&&s<=8202||8232===s||8233===s||8239===s||8287===s||12288===s||65279===s))return!1}let n=0===r||(t+r)%4==0;return t>0&&!(i&&a)&&t%4!=1&&n}let N=/^data:[^,]{0,255};base64,/i;e.s(["T",0,function(e){try{if(!T(e))return;let t=e.replaceAll(/\s/g,""),i=(0,r.$)(()=>new Uint8Array(O(t)));return(0,r.C)(i)?i.data:void 0}finally{/(?:)/.test("")}},"L",0,function(e){return g(e)},"Y",0,function(e){return y(e)},"D",0,function(e){return"data:"===e.slice(0,5).toLowerCase()},"o",0,function(e){try{return T(e.replace(N,""))}finally{/(?:)/.test("")}}],820223)},885024,e=>{"use strict";var t,r,i,a=((t={}).Cards="cards",t.Table="table",t),n=((r={}).OneHour="1hr",r.OneDay="1d",r.OneWeek="1w",r.OneMonth="1mo",r.OneYear="1y",r),s=((i={}).OneMinute="forecast-1m",i.OneHour="forecast-1hr",i.OneDay="forecast-1d",i.OneWeek="forecast-1w",i.OneMonth="forecast-1mo",i);e.s(["n",()=>s,"N",()=>n,"P",()=>a])},784374,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(340800),a=e.i(339814),n=e.i(138257),s=e.i(801103),l=e.i(304903);e.i(707060);var o=e.i(196991),u=e.i(153746);function c(e,t,r){let a=new Date(r.referenceMs),n=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate())-864e5*a.getUTCDay()+864e5*e+d(t);return`${(0,i.C)(n,{...r,preset:"weekday"})??"—"} ${(0,i.P)(n,{...r,preset:"schedule"})??"—"}`}function d(e){return(60*Math.floor(e/100)+e%100)*6e4}e.s(["f",0,function(e){let h,f,p,g,m=(0,r.c)(13),{windows:b,exceptions:v}=e,y=(0,n.useLocale)(),x=(0,l.P)(),w=(0,s.m)();if(void 0===w){let e;return m[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{children:"—"}),m[0]=e):e=m[0],e}if(m[1]!==v||m[2]!==y||m[3]!==w||m[4]!==x||m[5]!==b){let e={locale:y,timeZone:x,referenceMs:w};h=v?.length?function(e,t){if(!e.length)return"";let r=e.map(e=>`${c(e.start_utc_day,e.start_utc_clock,t)} – ${c(e.end_utc_day,e.end_utc_clock,t)}`);return`${(0,a.g)(r,{...t,style:"comma"})} ${(0,i.L)(t.referenceMs,t)??t.timeZone}`}(v,e):void 0,f=function(e,t){if(!e.length)return"";let r=new Date(t.referenceMs),n=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),s=e.map(e=>`${(0,i.P)(n+d(e.utc_start),{...t,preset:"schedule"})??"—"}–${(0,i.P)(n+d(e.utc_end),{...t,preset:"schedule"})??"—"}`);return`${(0,a.g)(s,{...t,style:"comma"})} ${(0,i.L)(t.referenceMs,t)??t.timeZone}`}(b,e),m[1]=v,m[2]=y,m[3]=w,m[4]=x,m[5]=b,m[6]=h,m[7]=f}else h=m[6],f=m[7];return m[8]!==h?(p=h&&(0,t.jsx)("span",{className:"block text-muted-foreground",children:(0,t.jsxs)(o.T,{children:["except ",(0,t.jsx)(u.d,{children:h})]})}),m[8]=h,m[9]=p):p=m[9],m[10]!==f||m[11]!==p?(g=(0,t.jsxs)("span",{children:[f,p]}),m[10]=f,m[11]=p,m[12]=g):g=m[12],g}])},192577,e=>{"use strict";e.i(707060);var t=e.i(387086);let r={"Audio Hours":(0,t.b)("Audio hours"),"Audio Input":(0,t.b)("Audio input"),"Audio Minutes":(0,t.b)("Audio minutes"),"Audio Seconds":(0,t.b)("Audio seconds"),"Cache Creation (5min)":(0,t.b)("Cache creation (5min)"),"Cache Read":(0,t.b)("Cache read"),"Cache Read (5min)":(0,t.b)("Cache read (5min)"),"Cache Write":(0,t.b)("Cache write"),"Cache Write (1h)":(0,t.b)("Cache write (1h)"),Characters:(0,t.b)("Characters"),"Code Execution":(0,t.b)("Code execution"),"File Input":(0,t.b)("File input"),"HDR Video Output":(0,t.b)("HDR video output"),"Image Input":(0,t.b)("Image input"),"Image Output":(0,t.b)("Image output"),"Image Price":(0,t.b)("Image"),"Image to Video":(0,t.b)("Image to video"),"Image Tokens":(0,t.b)("Image tokens"),"Input Audio":(0,t.b)("Input audio"),"Input Audio Cache":(0,t.b)("Input audio cache"),"Input Image":(0,t.b)("Input image"),"Input Price":(0,t.b)("Input"),"Input Text":(0,t.b)("Input text"),"Input Text Cache":(0,t.b)("Input text cache"),"Input tokens":(0,t.b)("Input tokens"),"Large source":(0,t.b)("Large source"),"Output Audio":(0,t.b)("Output audio"),"Output Image":(0,t.b)("Output image"),"Output Price":(0,t.b)("Output"),"Output Text":(0,t.b)("Output text"),Request:(0,t.b)("Request"),"Search units":(0,t.b)("Search units"),"Song Generation":(0,t.b)("Song generation"),"Standard source":(0,t.b)("Standard source"),"SVG Output":(0,t.b)("SVG output"),"Text Input":(0,t.b)("Text input"),"Text to Video":(0,t.b)("Text to video"),"UTF-8 Bytes":(0,t.b)("UTF-8 bytes"),"Video (no audio)":(0,t.b)("Video (no audio)"),"Video (with audio)":(0,t.b)("Video (with audio)"),"Video Edit Output":(0,t.b)("Video edit output"),"Video Generation":(0,t.b)("Video generation"),"Video Input":(0,t.b)("Video input"),"Video Output":(0,t.b)("Video output"),"Video Tokens (no audio)":(0,t.b)("Video tokens (no audio)"),"Video Tokens (with audio)":(0,t.b)("Video tokens (with audio)"),"Video Tokens (with video input)":(0,t.b)("Video tokens (with video input)"),"Video Upscale Output":(0,t.b)("Video upscale output"),"Web Search":(0,t.b)("Web search")};e.s(["f",0,function(e,t){let i=r[t];return void 0===i?t:e(i)}])},510914,e=>{"use strict";e.s(["f",0,function(t,r){return(i,a)=>(function(t,r,i,a){let n="SharedWorker"===t.name,s=e.b,l=[i.map(t=>e.h("string"==typeof t?t:t.path,s)).reverse(),e.X,s],o=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];for(let e=0;e