(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),s=e.i(377441),n=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;#s;#n;#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,s=r.some((t,r)=>t!==e[r]),n=a||s,o=!!n||i.some((e,t)=>{let r=this.#t[t];return!r||!(0,l.U)(e,r)});(n||o)&&(n&&(this.#u=t,this.#a=r),this.#t=i,this.hasListeners()&&(n&&(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 s=e[a];return i.defaultedQueryOptions.notifyOnChangeProps?s:i.observer.trackResult(s,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.#n)&&(this.#n=t,this.#l=this.#t,void 0!==r&&(this.#o=r),this.#s=(0,l.B)(this.#s,t(e))),this.#s}return e}#m(){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.#m(),t=this.#s,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)(),m=(0,i.f)(),g=!1!==o.subscribed,b=n.useMemo(()=>e.map(e=>{let t=f.defaultQueryOptions(e);return t._optimisticResults=p?"isRestoring":g?"optimistic":void 0,t}),[e,f,p,g]);b.forEach(e=>{(0,s.p)(e);let t=f.getQueryCache().get(e.queryHash);(0,a.l)(e,m,t)}),(0,a.E)(m);let[v]=n.useState(()=>new h(f,b,o)),[y,x,w]=v.getOptimisticResult(b,o.combine),k=!p&&g;n.useSyncExternalStore(n.useCallback(e=>k?v.subscribe(u.f.batchCalls(e)):l.z,[v,k]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),n.useEffect(()=>{v.setQueries(b,o)},[b,o,v]);let C=y.some((e,t)=>(0,s.Q)(b[t],e))?y.flatMap((e,t)=>{let r=b[t];if(r&&(0,s.Q)(r,e)){let e=new c.f(f,r);return(0,s.X)(r,e,m)}return[]}):[];if(C.length>0)throw Promise.all(C);let j=y.find((e,t)=>{let r=b[t];return r&&(0,a.P)({result:e,errorResetBoundary:m,throwOnError:r.throwOnError,query:f.getQueryCache().get(r.queryHash),suspense:r.suspense})});if(j)throw j.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:s=!1,escapeSpecialCharacters:n=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()),n&&(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])},783326,e=>{"use strict";var t=e.i(651681);e.s(["f",()=>t.f])},917023,e=>{"use strict";var t=e.i(651681);let r={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],917023)},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)},706999,e=>{"use strict";var t=e.i(651681);let r={name:"gavel",size:24,node:[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],706999)},257723,734824,e=>{"use strict";var t=e.i(651681);let r={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],734824),e.s(["f",0,i],257723)},472089,e=>{"use strict";var t=e.i(651681);let r={name:"mic",size:24,node:[["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"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],472089)},529809,e=>{"use strict";var t=e.i(651681);let r={name:"speech",size:24,node:[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],529809)},99938,e=>{"use strict";var t=e.i(651681);let r={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],99938)},288087,e=>{"use strict";var t=e.i(651681);let r={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],288087)},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),s=e.i(136562),n=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))},m=()=>{let e,t=(0,r.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e={highlight:g},t[0]=e):e=t[0],e};function g(t,r,a){return(({code:t,lang:r,theme:a})=>new Promise(s=>{let n=(()=>{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(!n)return void s(null);let l=crypto.randomUUID(),o=setTimeout(()=>p(l,null),1e4);d.set(l,{resolve:s,timeoutId:o});let m=(0,i.$)(()=>n.postMessage({id:l,code:t,lang:r,theme:a}));(0,i.V)(m)&&p(l,null)}))({code:t,lang:r,theme:a})}e.s(["f",0,m],9634);let b=(0,a.memo)(e=>{let i,a=(0,r.c)(2),{html:s}=e;return a[0]!==s?(i=(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:s}}),a[0]=s,a[1]=i):i=a[1],i}),v=(0,a.memo)(e=>{let i,a=(0,r.c)(2),{text:s}=e,n=s||" ";return a[0]!==n?(i=(0,t.jsx)("div",{children:n}),a[0]=n,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:g=!1})=>{let[y,x]=(0,a.useState)([]),[w,k]=(0,a.useState)({}),[C,j]=(0,a.useState)(""),S=(0,a.useRef)(!1),O=(0,a.useRef)(null),M=(0,a.useRef)(0),{highlight:N}=m(),T=((e=500)=>{let t=(0,a.useMemo)(l,[]),r=(0,n.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),A=(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",k(i)},[]);(0,a.useEffect)(()=>{let e=!1;return(0,i.$)(()=>N("",u,c)).then(t=>{e||!(0,i.V)(t)&&t.data&&A(t.data)}),()=>{e=!0}},[u,c,N,A]),(0,a.useEffect)(()=>{O.current={code:e,lang:u,theme:c},M.current=0},[e,u,c]);let I=(0,a.useCallback)(async()=>{if(S.current||!O.current)return;S.current=!0;let e=O.current;O.current=null;let t=await (0,i.$)(()=>N(e.code,e.lang,e.theme));(0,i.V)(t)||!t.data?(M.current+=1,M.current<=5&&(O.current??=e)):(M.current=0,A(t.data),x(t.data.lines),j(e.code)),S.current=!1},[N,A]);!function(e){let t,i,s=(0,r.c)(5),{run:n,intervalMs:l,jobKey:u}=e;s[0]!==n?(t=()=>{n()},s[0]=n,s[1]=t):t=s[1],s[2]!==u||s[3]!==n?(i=[u,n],s[2]=u,s[3]=n,s[4]=i):i=s[4],(0,a.useEffect)(t,i),(0,o.f)(n,l)}({run:(0,a.useCallback)(()=>{I()},[I]),intervalMs:T,jobKey:`${u}|${c}|${e}`});let R=(0,a.useMemo)(()=>C&&e.startsWith(C)?e.substring(C.length):e,[e,C]);(0,a.useEffect)(()=>{C&&!e.startsWith(C)&&x([])},[e,C]);let E=(0,a.useMemo)(()=>R.split("\n"),[R]);return(0,t.jsx)("pre",{className:(0,s.f)("highlights overflow-x-auto min-w-0",h&&"border border-border",d&&"rounded-lg"),style:w,children:(0,t.jsxs)("code",{className:(0,s.f)("p-4",g?"block whitespace-pre-wrap break-words":"inline-block min-w-full whitespace-pre",!p&&!g&&"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&&g&&"[&>div]:pl-10 [&>div]:-indent-10",f),children:[y.map((e,r)=>(0,t.jsx)(b,{html:e},`h-${r}`)),E.slice(+!!C).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 s=e.i(199630),n=e.i(288265);let l=e=>{let i,a,s=(0,r.c)(5),{src:l}=e,o=(0,n.f)();return s[0]!==o?(i=o("AI Generated SVG"),s[0]=o,s[1]=i):i=s[1],s[2]!==l||s[3]!==i?(a=(0,t.jsx)("img",{className:"max-w-lg rounded-lg border border-current",alt:i,src:l}),s[2]=l,s[3]=i,s[4]=a):a=s[4],a},o="image/svg+xml";e.s(["MarkdownSvgFence",0,function(e){let n,u,c=(0,r.c)(5),{source:d,fallback:h}=e,f=(0,s.f)();c[0]!==f||c[1]!==d?(n=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]=n):n=c[2];let p=n;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,s,n=(0,r.c)(5),{youtubeId:l}=e,o=(0,i.f)(),u=`https://www.youtube.com/embed/${l}`;return n[0]!==o?(a=o("YouTube video"),n[0]=o,n[1]=a):a=n[1],n[2]!==u||n[3]!==a?(s=(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"})}),n[2]=u,n[3]=a,n[4]=s):s=n[4],s}])},246705,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(207298),a=e.i(288265),s=e.i(872635),n=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),m=e.i(988590),g=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,m.q)(t,b)?t:void 0}var k=e.i(609623);let C={Block:"block",Line:"line"};function j(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,m;let b,O,M,N,T,A,I,R,E,L,D,V,U,P,z,F,_,B,$,H=(0,r.c)(69),W=(0,a.f)();H[0]!==W?(b=e=>{let t;return e===y?W("Code"):(void 0===(t=w(e))?void 0:x.get(t))??e},H[0]=W,H[1]=b):b=H[1];let Q=b,{resolvedTheme:q}=(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=(B=(0,r.c)(2),$=(0,u.useRef)(null),B[0]===Symbol.for("react.memo_cache_sentinel")?(F=()=>{let e=$.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()}},_=[],B[0]=F,B[1]=_):(F=B[0],_=B[1]),(0,u.useEffect)(F,_),$),{value:ea}=e,es=j(e)?e.title:void 0,en=j(e)?e.language:void 0,el=j(e)?e.rawLanguage:void 0;H[2]!==en||H[3]!==el||H[4]!==es||H[5]!==ea?(i={title:es,language:en,rawLanguage:el},O="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)})),H[2]=en,H[3]=el,H[4]=es,H[5]=ea,H[6]=O):O=H[6];let eo=O,eu="light"===q?e.lightTheme??"github-light":e.darkTheme??"github-dark",ec=void 0!==eo[X]?X:0,ed=eo[ec]??eo[0];H[7]!==ed.code||H[8]!==e.dedent?(m=ed.code,M=e.dedent?(0,g.f)(m):m,H[7]=ed.code,H[8]=e.dedent,H[9]=M):M=H[9];let eh=M;H[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),H[10]=ed,H[11]=N):N=H[11];let ef=N;H[12]!==eh||H[13]!==Z||H[14]!==e?(T=()=>{Z(eh,{shouldWaitForReset:!1}).then(t=>{t&&e.onCopy?.()})},H[12]=eh,H[13]=Z,H[14]=e,H[15]=T):T=H[15];let ep=T;H[16]!==ep||H[17]!==G||H[18]!==W||H[19]!==e.hideCopy?(A=e.hideCopy?null:(0,t.jsx)(p.Button,{type:"button",variant:"ghost",size:"icon-sm",touchTarget:"below-sm","aria-label":G?W("Copied code"):W("Copy code"),onClick:ep,className:"shrink-0",children:(0,t.jsx)(k.f,{active:G,from:(0,t.jsx)(l.f,{className:"size-4"}),to:(0,t.jsx)(s.f,{className:"size-4"})})}),H[16]=ep,H[17]=G,H[18]=W,H[19]=e.hideCopy,H[20]=A):A=H[20];let em=A;if(e.variant===C.Line){let r,i,a;return H[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),H[21]=e.className,H[22]=r):r=H[22],H[23]!==eh||H[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}),H[23]=eh,H[24]=ei,H[25]=i):i=H[25],H[26]!==em||H[27]!==r||H[28]!==i?(a=(0,t.jsxs)("div",{className:r,children:[i,em]}),H[26]=em,H[27]=r,H[28]=i,H[29]=a):a=H[29],a}let eg=eo.length>1;H[30]!==e.bodyClassName||H[31]!==e.maxHeight?(I=(0,c.f)(S({maxHeight:e.maxHeight}),e.bodyClassName),H[30]=e.bodyClassName,H[31]=e.maxHeight,H[32]=I):I=H[32];let eb=I;H[33]!==eh||H[34]!==ef||H[35]!==eb||H[36]!==er||H[37]!==eu||H[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"})}),H[33]=eh,H[34]=ef,H[35]=eb,H[36]=er,H[37]=eu,H[38]=Y,H[39]=R):R=H[39];let ev=R;H[40]!==e.className?(E=(0,c.f)("overflow-hidden rounded-lg border border-border bg-card",e.className),H[40]=e.className,H[41]=E):E=H[41];let ey=!ee&&"border-b border-border";H[42]!==e.tabClassName||H[43]!==ey?(L=(0,c.f)("flex h-9 items-center justify-between gap-2 px-3",ey,e.tabClassName),H[42]=e.tabClassName,H[43]=ey,H[44]=L):L=H[44],H[45]!==ed.title||H[46]!==er||H[47]!==W||H[48]!==ee||H[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?W("Show {title}",{title:ed.title}):W("Hide {title}",{title:ed.title}),onClick:()=>et(!ee),className:"shrink-0",children:(0,t.jsx)(n.f,{className:(0,c.f)("size-4 transition-transform",ee&&"-rotate-90")})}):null,H[45]=ed.title,H[46]=er,H[47]=W,H[48]=ee,H[49]=J,H[50]=D):D=H[50],H[51]!==ed.title||H[52]!==eg||H[53]!==e||H[54]!==ec||H[55]!==eo||H[56]!==Q?(V=eg?(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)}),H[51]=ed.title,H[52]=eg,H[53]=e,H[54]=ec,H[55]=eo,H[56]=Q,H[57]=V):V=H[57],H[58]!==D||H[59]!==V?(U=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1",children:[D,V]}),H[58]=D,H[59]=V,H[60]=U):U=H[60],H[61]!==em||H[62]!==L||H[63]!==U?(P=(0,t.jsxs)("div",{className:L,children:[U,em]}),H[61]=em,H[62]=L,H[63]=U,H[64]=P):P=H[64];let ex=ee?null:ev;return H[65]!==P||H[66]!==ex||H[67]!==E?(z=(0,t.jsxs)("div",{className:E,children:[P,ex]}),H[65]=P,H[66]=ex,H[67]=E,H[68]=z):z=H[68],z},"CodeBlockVariant",0,C],246705)},620931,e=>{"use strict";var t=e.i(663456),r=e.i(195618),i=e.i(16179),a=e.i(207298),s=e.i(136562);let n=(0,a.f)("mx-auto max-w-full p-6",{variants:{size:{default:"md:max-w-screen-md",lg:"md:max-w-screen-lg",xl:"md:max-w-screen-xl",wide:"md:max-w-[80%]",full:"md:max-w-none"}},defaultVariants:{size:"default"}});e.s(["f",0,function(e){let a,l,o,u,c,d,h=(0,t.c)(10);if(h[0]!==e){let{className:t,size:c,render:d,...f}=e;a=d,u=i.f,l="div",o=(0,r.w)({className:(0,s.f)(n({size:c,className:t}))},f),h[0]=e,h[1]=a,h[2]=l,h[3]=o,h[4]=u}else a=h[1],l=h[2],o=h[3],u=h[4];return h[5]===Symbol.for("react.memo_cache_sentinel")?(c={slot:"container"},h[5]=c):c=h[5],h[6]!==a||h[7]!==l||h[8]!==o?(d={defaultTagName:l,props:o,render:a,state:c},h[6]=a,h[7]=l,h[8]=o,h[9]=d):d=h[9],u(d)}])},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,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.f)("grid w-full grid-cols-12 items-center",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l},"B",0,function(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.f)("col-span-7 flex min-w-0 items-center gap-4 text-left",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l},"T",0,function(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.f)("flex min-w-0 flex-col",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l},"r",0,function(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.f)("col-span-1 text-left text-muted-foreground",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l},"v",0,function(e){let s,n,l,o=(0,r.c)(7),{color:u,className:c}=e;return o[0]!==c?(s=(0,i.f)("size-3 shrink-0 rounded-full bg-(--series-color)",a.m,c),o[0]=c,o[1]=s):s=o[1],o[2]!==u?(n={"--series-color":u},o[2]=u,o[3]=n):n=o[3],o[4]!==s||o[5]!==n?(l=(0,t.jsx)("div",{className:s,"data-allow-inline-style":!0,style:n}),o[4]=s,o[5]=n,o[6]=l):l=o[6],l},"R",0,function(e){let a,s,n,l,o=(0,r.c)(8);return o[0]!==e?({className:a,...s}=e,o[0]=e,o[1]=a,o[2]=s):(a=o[1],s=o[2]),o[3]!==a?(n=(0,i.f)("col-span-4 flex items-center justify-end gap-3 text-right",a),o[3]=a,o[4]=n):n=o[4],o[5]!==s||o[6]!==n?(l=(0,t.jsx)("div",{className:n,...s}),o[5]=s,o[6]=n,o[7]=l):l=o[7],l}])},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],s=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 s=Math.ceil(e/a)*a,n=Math.floor(r/a)*a,l=Math.floor((n-s)/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)=>n-(u-1-t)*o*a)},"D",0,(e,i)=>{let a=(0,t.H)(e.map(e=>(0,r.I)(String(e[n])).getUTCFullYear())),l=(0,t.H)(e.map(e=>(0,r.I)(String(e[n])).toISOString().slice(0,10)));return{containsMultipleYears:a.length>1,containsMultipleDays:l.length>1,isHighRes:s(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 s,n,l,o,u=(0,t.c)(6),c=(0,r.useRef)(e);u[0]!==e?(s=()=>{c.current=e},n=[e],u[0]=e,u[1]=s,u[2]=n):(s=u[1],n=u[2]),(0,i.f)(s,n),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),s=e.i(467863);function n(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:m}=o,g=void 0===m||m;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]!==g){let e;p[7]!==g?(e=e=>({...(0,s.s)(e),enabled:g}),p[7]=g,p[8]=e):e=p[8],c=b.map(e),p[4]=b,p[5]=g,p[6]=c}else c=p[6];p[9]!==c?(d={queries:c,combine:n},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 k=h;return p[13]!==x||p[14]!==y||p[15]!==k||p[16]!==w?(f={...k,isPending:y,isError:x,retry:w},p[13]=x,p[14]=y,p[15]=k,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:s}){let n=(0,t.f)(e),l=a(r);return(i?n.dateTime(l,{timeZone:s,preset:"chart-numeric-hour"}):n.time(l,{timeZone:s,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:",s=";base64,";function n(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(s,r)){let i=e.slice(a.length,r),l=e.slice(r+s.length);if(i&&l&&!i.includes(":")&&n(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],s=i.split(",")[1];return a&&s?n(s)?(0,t.N)({mimeType:a,base64:s}):(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,s="function"==typeof TextDecoder?new TextDecoder:void 0,n="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,s="",n=e.length%3;for(let n=0;n255||(i=e.charCodeAt(n++))>255||(a=e.charCodeAt(n++))>255)throw TypeError("invalid character found");s+=l[(t=r<<16|i<<8|a)>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}return n?s.slice(0,n-3)+"===".substring(n):s},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),g=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"):n?e=>p(n.encode(e)):e=>f(e.replace(b,g)),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))}},k="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 s=0;s>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("")},C=a?e=>d(i.Buffer.from(e,"base64")):e=>d(k(e).split("").map(e=>e.charCodeAt(0))),j=e=>C(O(e)),S=a?e=>i.Buffer.from(e,"base64").toString("utf8"):s?e=>s.decode(C(e)):e=>k(e).replace(x,w),O=e=>e.replace(/[-_]/g,e=>"-"==e?"+":"/").replace(/[^A-Za-z0-9\+\/]/g,"");function M(e){let t=0,r=0,i=!1,a=!1;for(let s=0;s=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){if(r>0)return!1;t+=1}else if(43===n||47===n){if(r>0)return!1;i=!0,t+=1}else if(45===n||95===n){if(r>0)return!1;a=!0,t+=1}else if(61===n){if((r+=1)>2)return!1}else if(!(32===n||n>=9&&n<=13||160===n||5760===n||n>=8192&&n<=8202||8232===n||8233===n||8239===n||8287===n||12288===n||65279===n))return!1}let s=0===r||(t+r)%4==0;return t>0&&!(i&&a)&&t%4!=1&&s}let N=/^data:[^,]{0,255};base64,/i;e.s(["T",0,function(e){try{if(!M(e))return;let t=e.replaceAll(/\s/g,""),i=(0,r.$)(()=>new Uint8Array(j(t)));return(0,r.C)(i)?i.data:void 0}finally{/(?:)/.test("")}},"L",0,function(e){return m(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 M(e.replace(N,""))}finally{/(?:)/.test("")}}],820223)},885024,e=>{"use strict";var t,r,i,a=((t={}).Cards="cards",t.Table="table",t),s=((r={}).OneHour="1hr",r.OneDay="1d",r.OneWeek="1w",r.OneMonth="1mo",r.OneYear="1y",r),n=((i={}).OneMinute="forecast-1m",i.OneHour="forecast-1hr",i.OneDay="forecast-1d",i.OneWeek="forecast-1w",i.OneMonth="forecast-1mo",i);e.s(["n",()=>n,"N",()=>s,"P",()=>a])},943926,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(667417),a=e.i(773151),s=e.i(917023),n=e.i(706999),l=e.i(257723),o=e.i(472089),u=e.i(529809),c=e.i(99938),d=e.i(288087);let h=(0,e.i(783326).f)("boxes-single-path",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z M7 16.5l-4.74-2.85 M7 16.5l5-3 M7 16.5v5.17 M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z M17 16.5l-5-3 M17 16.5l4.74-2.85 M17 16.5v5.17 M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z M12 8 7.26 5.15 M12 8l4.74-2.85 M12 13.5V8",key:"boxes-single-path"}]]);e.s(["f",0,function(e){let f=(0,r.c)(27),{className:p,modality:m,strokeWidth:g}=e,b=void 0===p?"w-4 h-4":p;switch(m){case i.j.Text:{let e;return f[0]!==b||f[1]!==g?(e=(0,t.jsx)(c.f,{className:b,strokeWidth:g}),f[0]=b,f[1]=g,f[2]=e):e=f[2],e}case i.j.Image:{let e;return f[3]!==b||f[4]!==g?(e=(0,t.jsx)(l.f,{className:b,strokeWidth:g}),f[3]=b,f[4]=g,f[5]=e):e=f[5],e}case i.j.Video:{let e;return f[6]!==b||f[7]!==g?(e=(0,t.jsx)(d.f,{className:b,strokeWidth:g}),f[6]=b,f[7]=g,f[8]=e):e=f[8],e}case i.j.Audio:{let e;return f[9]!==b||f[10]!==g?(e=(0,t.jsx)(s.f,{className:b,strokeWidth:g}),f[9]=b,f[10]=g,f[11]=e):e=f[11],e}case i.j.Embeddings:{let e;return f[12]!==b||f[13]!==g?(e=(0,t.jsx)(h,{className:b,strokeWidth:g}),f[12]=b,f[13]=g,f[14]=e):e=f[14],e}case i.j.Decisions:{let e;return f[15]!==b||f[16]!==g?(e=(0,t.jsx)(n.f,{className:b,strokeWidth:g}),f[15]=b,f[16]=g,f[17]=e):e=f[17],e}case i.j.Rerank:{let e;return f[18]!==b||f[19]!==g?(e=(0,t.jsx)(a.f,{className:b,strokeWidth:g}),f[18]=b,f[19]=g,f[20]=e):e=f[20],e}case i.j.TTS:{let e;return f[21]!==b||f[22]!==g?(e=(0,t.jsx)(u.f,{className:b,strokeWidth:g}),f[21]=b,f[22]=g,f[23]=e):e=f[23],e}case i.j.Transcription:{let e;return f[24]!==b||f[25]!==g?(e=(0,t.jsx)(o.f,{className:b,strokeWidth:g}),f[24]=b,f[25]=g,f[26]=e):e=f[26],e}default:return null}}],943926)},784374,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(340800),a=e.i(339814),s=e.i(138257),n=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),s=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate())-864e5*a.getUTCDay()+864e5*e+d(t);return`${(0,i.C)(s,{...r,preset:"weekday"})??"—"} ${(0,i.P)(s,{...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,m,g=(0,r.c)(13),{windows:b,exceptions:v}=e,y=(0,s.useLocale)(),x=(0,l.P)(),w=(0,n.m)();if(void 0===w){let e;return g[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{children:"—"}),g[0]=e):e=g[0],e}if(g[1]!==v||g[2]!==y||g[3]!==w||g[4]!==x||g[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),s=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),n=e.map(e=>`${(0,i.P)(s+d(e.utc_start),{...t,preset:"schedule"})??"—"}–${(0,i.P)(s+d(e.utc_end),{...t,preset:"schedule"})??"—"}`);return`${(0,a.g)(n,{...t,style:"comma"})} ${(0,i.L)(t.referenceMs,t)??t.timeZone}`}(b,e),g[1]=v,g[2]=y,g[3]=w,g[4]=x,g[5]=b,g[6]=h,g[7]=f}else h=g[6],f=g[7];return g[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})]})}),g[8]=h,g[9]=p):p=g[9],g[10]!==f||g[11]!==p?(m=(0,t.jsxs)("span",{children:[f,p]}),g[10]=f,g[11]=p,g[12]=m):m=g[12],m}])},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 s="SharedWorker"===t.name,n=e.b,l=[i.map(t=>e.h("string"==typeof t?t:t.path,n)).reverse(),e.X,n],o=["NEXT_DEPLOYMENT_ID","NEXT_CLIENT_ASSET_SUFFIX"];for(let e=0;e