| 1 | var Li=Object.defineProperty;var Ri=(i,e,t)=>e in i?Li(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var k=(i,e,t)=>Ri(i,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function t(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(s){if(s.ep)return;s.ep=!0;const r=t(s);fetch(s.href,r)}})();const Si="modulepreload",Ii=function(i,e){return new URL(i,e).href},jt={},_t=function(e,t,n){let s=Promise.resolve();if(t&&t.length>0){const r=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),o=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.all(t.map(a=>{if(a=Ii(a,n),a in jt)return;jt[a]=!0;const d=a.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(!!n)for(let f=r.length-1;f>=0;f--){const g=r[f];if(g.href===a&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${v}`))return;const m=document.createElement("link");if(m.rel=d?"stylesheet":Si,d||(m.as="script",m.crossOrigin=""),m.href=a,o&&m.setAttribute("nonce",o),document.head.appendChild(m),d)return new Promise((f,g)=>{m.addEventListener("load",f),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${a}`)))})}))}return s.then(()=>e()).catch(r=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r})};function R(){}function hi(i){return i()}function Yt(){return Object.create(null)}function ae(i){i.forEach(hi)}function kt(i){return typeof i=="function"}function oe(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}function Oi(i){return Object.keys(i).length===0}function mi(i,...e){if(i==null){for(const n of e)n(void 0);return R}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function we(i,e,t){i.$$.on_destroy.push(mi(e,t))}function Di(i,e,t){return i.set(t),e}function u(i,e){i.appendChild(e)}function O(i,e,t){i.insertBefore(e,t||null)}function I(i){i.parentNode&&i.parentNode.removeChild(i)}function Hi(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function h(i){return document.createElement(i)}function x(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function L(i){return document.createTextNode(i)}function A(){return L(" ")}function Vi(){return L("")}function N(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Ct(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Mt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function c(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function yt(i){let e;return{p(...t){e=t,e.forEach(n=>i.push(n))},r(){e.forEach(t=>i.splice(i.indexOf(t),1))}}}function Ni(i){return Array.from(i.childNodes)}function me(i,e){e=""+e,i.data!==e&&(i.data=e)}function le(i,e){i.value=e??""}function Z(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,"")}function Xt(i,e,t){for(let n=0;n<i.options.length;n+=1){const s=i.options[n];if(s.__value===e){s.selected=!0;return}}(!t||e!==void 0)&&(i.selectedIndex=-1)}function Bi(i){const e=i.querySelector(":checked");return e&&e.__value}function Me(i,e,t){i.classList.toggle(e,!!t)}function xi(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class zi{constructor(e=!1){k(this,"is_svg",!1);k(this,"e");k(this,"n");k(this,"t");k(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=x(t.nodeName):this.e=h(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)O(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let Qe;function Ke(i){Qe=i}function Ft(){if(!Qe)throw new Error("Function called outside component initialization");return Qe}function Tt(i){Ft().$$.on_mount.push(i)}function $i(i){Ft().$$.on_destroy.push(i)}function qi(){const i=Ft();return(e,t,{cancelable:n=!1}={})=>{const s=i.$$.callbacks[e];if(s){const r=xi(e,t,{cancelable:n});return s.slice().forEach(l=>{l.call(i,r)}),!r.defaultPrevented}return!0}}const Ne=[],Ae=[];let Be=[];const Gt=[],Wi=Promise.resolve();let At=!1;function Ui(){At||(At=!0,Wi.then(pi))}function ut(i){Be.push(i)}const wt=new Set;let He=0;function pi(){if(He!==0)return;const i=Qe;do{try{for(;He<Ne.length;){const e=Ne[He];He++,Ke(e),ji(e.$$)}}catch(e){throw Ne.length=0,He=0,e}for(Ke(null),Ne.length=0,He=0;Ae.length;)Ae.pop()();for(let e=0;e<Be.length;e+=1){const t=Be[e];wt.has(t)||(wt.add(t),t())}Be.length=0}while(Ne.length);for(;Gt.length;)Gt.pop()();At=!1,wt.clear(),Ke(i)}function ji(i){if(i.fragment!==null){i.update(),ae(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ut)}}function Yi(i){const e=[],t=[];Be.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Be=e}const ct=new Set;let Le;function $e(){Le={r:0,c:[],p:Le}}function qe(){Le.r||ae(Le.c),Le=Le.p}function H(i,e){i&&i.i&&(ct.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(ct.has(i))return;ct.add(i),Le.c.push(()=>{ct.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function dt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function Xi(i,e){z(i,1,1,()=>{e.delete(i.key)})}function Gi(i,e,t,n,s,r,l,o,a,d,v,p){let m=i.length,f=r.length,g=m;const _={};for(;g--;)_[i[g].key]=g;const b=[],M=new Map,T=new Map,y=[];for(g=f;g--;){const P=p(s,r,g),w=t(P);let C=l.get(w);C?y.push(()=>C.p(P,e)):(C=d(w,P),C.c()),M.set(w,b[g]=C),w in _&&T.set(w,Math.abs(g-_[w]))}const F=new Set,D=new Set;function E(P){H(P,1),P.m(o,v),l.set(P.key,P),v=P.first,f--}for(;m&&f;){const P=b[f-1],w=i[m-1],C=P.key,S=w.key;P===w?(v=P.first,m--,f--):M.has(S)?!l.has(C)||F.has(C)?E(P):D.has(S)?m--:T.get(C)>T.get(S)?(D.add(C),E(P)):(F.add(S),m--):(a(w,l),m--)}for(;m--;){const P=i[m];M.has(P.key)||a(P,l)}for(;f;)E(b[f-1]);return ae(y),b}function be(i){i&&i.c()}function pe(i,e,t){const{fragment:n,after_update:s}=i.$$;n&&n.m(e,t),ut(()=>{const r=i.$$.on_mount.map(hi).filter(kt);i.$$.on_destroy?i.$$.on_destroy.push(...r):ae(r),i.$$.on_mount=[]}),s.forEach(ut)}function ve(i,e){const t=i.$$;t.fragment!==null&&(Yi(t.after_update),ae(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Ki(i,e){i.$$.dirty[0]===-1&&(Ne.push(i),Ui(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ce(i,e,t,n,s,r,l=null,o=[-1]){const a=Qe;Ke(i);const d=i.$$={fragment:null,ctx:[],props:r,update:R,not_equal:s,bound:Yt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Yt(),dirty:o,skip_bound:!1,root:e.target||a.$$.root};l&&l(d.root);let v=!1;if(d.ctx=t?t(i,e.props||{},(p,m,...f)=>{const g=f.length?f[0]:m;return d.ctx&&s(d.ctx[p],d.ctx[p]=g)&&(!d.skip_bound&&d.bound[p]&&d.bound[p](g),v&&Ki(i,p)),m}):[],d.update(),v=!0,ae(d.before_update),d.fragment=n?n(d.ctx):!1,e.target){if(e.hydrate){const p=Ni(e.target);d.fragment&&d.fragment.l(p),p.forEach(I)}else d.fragment&&d.fragment.c();e.intro&&H(i.$$.fragment),pe(i,e.target,e.anchor),pi()}Ke(a)}class ue{constructor(){k(this,"$$");k(this,"$$set")}$destroy(){ve(this,1),this.$destroy=R}$on(e,t){if(!kt(t))return R;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const s=n.indexOf(t);s!==-1&&n.splice(s,1)}}$set(e){this.$$set&&!Oi(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Zi="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Zi);function Qi(i){let e,t;return{c(){e=x("svg"),t=x("path"),c(t,"fill-rule","evenodd"),c(t,"clip-rule","evenodd"),c(t,"d","M5.11634 0.889422C4.86506 -0.296474 3.17237 -0.296474 2.92109 0.889422C2.78291 1.54158 2.10994 1.93011 1.47607 1.72371C0.323418 1.34837 -0.522932 2.81429 0.378448 3.62484C0.87414 4.07059 0.87414 4.84767 0.378448 5.29341C-0.522931 6.10397 0.323418 7.56989 1.47607 7.19455C2.10994 6.98814 2.78291 7.37668 2.92109 8.02883C3.17237 9.21473 4.86506 9.21473 5.11634 8.02883C5.25452 7.37668 5.92749 6.98814 6.56136 7.19455C7.71401 7.56989 8.56036 6.10397 7.65898 5.29341C7.16329 4.84767 7.16329 4.07059 7.65898 3.62484C8.56036 2.81429 7.71401 1.34837 6.56136 1.72371C5.92749 1.93011 5.25452 1.54158 5.11634 0.889422ZM4.01883 6.33408C5.05436 6.33408 5.89383 5.49462 5.89383 4.45908C5.89383 3.42355 5.05436 2.58408 4.01883 2.58408C2.98329 2.58408 2.14383 3.42355 2.14383 4.45908C2.14383 5.49462 2.98329 6.33408 4.01883 6.33408Z"),c(t,"fill","currentColor"),c(e,"width","9"),c(e,"height","9"),c(e,"viewBox","0 0 9 9"),c(e,"fill","none"),c(e,"xmlns","http://www.w3.org/2000/svg")},m(n,s){O(n,e,s),u(e,t)},p:R,i:R,o:R,d(n){n&&I(e)}}}class Ji extends ue{constructor(e){super(),ce(this,e,null,Qi,oe,{})}}function en(i){let e,t,n,s,r,l,o,a,d,v,p,m,f,g,_,b,M;return{c(){e=x("svg"),t=x("g"),n=x("path"),s=x("path"),r=x("defs"),l=x("filter"),o=x("feFlood"),a=x("feBlend"),d=x("feGaussianBlur"),v=x("linearGradient"),p=x("stop"),m=x("stop"),f=x("stop"),g=x("linearGradient"),_=x("stop"),b=x("stop"),M=x("stop"),c(n,"fill-rule","evenodd"),c(n,"clip-rule","evenodd"),c(n,"d","M30 9H10V11.5H30V9ZM30 19H12.5V21.5H30V19ZM12.5 14H32.5V16.5H12.5V14ZM20 24H12.5V26.5H20V24ZM12.5 29H20V31.5H12.5V29ZM22.5 34H10V36.5H22.5V34Z"),c(n,"fill","url(#paint0_linear_67_262)"),c(t,"opacity","0.5"),c(t,"filter","url(#filter0_f_67_262)"),c(s,"fill-rule","evenodd"),c(s,"clip-rule","evenodd"),c(s,"d","M30 9H10V11.5H30V9ZM30 19H12.5V21.5H30V19ZM12.5 14H32.5V16.5H12.5V14ZM20 24H12.5V26.5H20V24ZM12.5 29H20V31.5H12.5V29ZM22.5 34H10V36.5H22.5V34Z"),c(s,"fill","url(#paint1_linear_67_262)"),c(o,"flood-opacity","0"),c(o,"result","BackgroundImageFix"),c(a,"mode","normal"),c(a,"in","SourceGraphic"),c(a,"in2","BackgroundImageFix"),c(a,"result","shape"),c(d,"stdDeviation","3.39785"),c(d,"result","effect1_foregroundBlur_67_262"),c(l,"id","filter0_f_67_262"),c(l,"x","3.2043"),c(l,"y","2.2043"),c(l,"width","36.0914"),c(l,"height","41.0914"),c(l,"filterUnits","userSpaceOnUse"),c(l,"color-interpolation-filters","sRGB"),c(p,"stop-color","#FFAA00"),c(m,"offset","0.514478"),c(m,"stop-color","#FFEB00"),c(f,"offset","1"),c(f,"stop-color","#98FF05"),c(v,"id","paint0_linear_67_262"),c(v,"x1","7.3769"),c(v,"y1","18.4566"),c(v,"x2","20.6583"),c(v,"y2","33.1038"),c(v,"gradientUnits","userSpaceOnUse"),c(_,"stop-color","#FFC834"),c(b,"offset","0.514478"),c(b,"stop-color","#FAF534"),c(M,"offset","1"),c(M,"stop-color","#B8FF38"),c(g,"id","paint1_linear_67_262"),c(g,"x1","7.3769"),c(g,"y1","18.4566"),c(g,"x2","20.6583"),c(g,"y2","33.1038"),c(g,"gradientUnits","userSpaceOnUse"),c(e,"width","44"),c(e,"height","44"),c(e,"viewBox","0 0 44 44"),c(e,"fill","none"),c(e,"xmlns","http://www.w3.org/2000/svg")},m(T,y){O(T,e,y),u(e,t),u(t,n),u(e,s),u(e,r),u(r,l),u(l,o),u(l,a),u(l,d),u(r,v),u(v,p),u(v,m),u(v,f),u(r,g),u(g,_),u(g,b),u(g,M)},p:R,i:R,o:R,d(T){T&&I(e)}}}class tn extends ue{constructor(e){super(),ce(this,e,null,en,oe,{})}}const Ve=[];function nn(i,e){return{subscribe:ft(i,e).subscribe}}function ft(i,e=R){let t;const n=new Set;function s(o){if(oe(i,o)&&(i=o,t)){const a=!Ve.length;for(const d of n)d[1](),Ve.push(d,i);if(a){for(let d=0;d<Ve.length;d+=2)Ve[d][0](Ve[d+1]);Ve.length=0}}}function r(o){s(o(i))}function l(o,a=R){const d=[o,a];return n.add(d),n.size===1&&(t=e(s,r)||R),o(i),()=>{n.delete(d),n.size===0&&t&&(t(),t=null)}}return{set:s,update:r,subscribe:l}}function vi(i,e,t){const n=!Array.isArray(i),s=n?[i]:i;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return nn(t,(l,o)=>{let a=!1;const d=[];let v=0,p=R;const m=()=>{if(v)return;p();const g=e(n?d[0]:d,l,o);r?l(g):p=kt(g)?g:R},f=s.map((g,_)=>mi(g,b=>{d[_]=b,v&=~(1<<_),a&&m()},()=>{v|=1<<_}));return a=!0,m(),function(){ae(f),p(),a=!1}})}var bt={local:{},session:{}};function sn(i){return i==="local"?localStorage:sessionStorage}function Pt(i,e,t){var n,s,r,l,o,a,d,v;t!=null&&t.onError&&console.warn("onError has been deprecated. Please use onWriteError instead");const p=(n=t==null?void 0:t.serializer)!=null?n:JSON,m=(s=t==null?void 0:t.storage)!=null?s:"local",f=(r=t==null?void 0:t.syncTabs)!=null?r:!0,g=(o=(l=t==null?void 0:t.onWriteError)!=null?l:t==null?void 0:t.onError)!=null?o:E=>console.error(`Error when writing value from persisted store "${i}" to ${m}`,E),_=(a=t==null?void 0:t.onParseError)!=null?a:(E,P)=>console.error(`Error when parsing ${E?'"'+E+'"':"value"} from persisted store "${i}"`,P),b=(d=t==null?void 0:t.beforeRead)!=null?d:E=>E,M=(v=t==null?void 0:t.beforeWrite)!=null?v:E=>E,T=typeof window<"u"&&typeof document<"u",y=T?sn(m):null;function F(E,P){const w=M(P);try{y==null||y.setItem(E,p.stringify(w))}catch(C){g(C)}}function D(){function E(S){try{return p.parse(S)}catch($){_(S,$)}}const P=y==null?void 0:y.getItem(i);if(P==null)return e;const w=E(P);return w==null?e:b(w)}if(!bt[m][i]){const E=D(),P=ft(E,S=>{if(T&&m=="local"&&f){const $=J=>{if(J.key===i&&J.newValue){let B;try{B=p.parse(J.newValue)}catch(ee){_(J.newValue,ee);return}const Fe=b(B);S(Fe)}};return window.addEventListener("storage",$),()=>window.removeEventListener("storage",$)}}),{subscribe:w,set:C}=P;bt[m][i]={set(S){C(S),F(i,S)},update(S){return P.update($=>{const J=S($);return F(i,J),J})},reset(){this.set(e)},subscribe:w}}return bt[m][i]}function Kt(){return{collapseMode:"non-application",collapseCustomHide:"",collapseCustomShow:"",removeImportlib:!0,removeTracebackHide:!0,removePyinstrument:!0,removeIrrelevant:!0,removeIrrelevantThreshold:.001,timeFormat:"absolute"}}const K=Pt("pyinstrument:viewOptionsCallStack",Kt(),{syncTabs:!0,beforeRead(i){return{...Kt(),...i}}}),Ze=Pt("pyinstrument:viewOptions",{viewMode:"call-stack"},{syncTabs:!1}),Ge=Pt("pyinstrument:viewOptionsTimeline",{removeImportlib:!0,removeTracebackHide:!0,removePyinstrument:!0,removeIrrelevant:!0,removeIrrelevantThreshold:1e-4},{syncTabs:!0});class on extends Error{constructor(e){super(`Unreachable case: ${e}`)}}function rn(i,e){const t=e*(i.length-1),n=Math.floor(t),s=Math.ceil(t),r=i[n],l=i[s],o=t-n;return an(o,{to:[r,l]})}function ln(i,e,t){return i===1/0?(console.warn("clamp: value is Infinity, returning `max`",i),t):i===-1/0?(console.warn("clamp: value is -Infinity, returning `min`",i),e):Number.isFinite(i)?i<e?e:i>t?t:i:(console.warn("clamp: value isn't finite, returning `min`",i),e)}function xe(i,e){const{from:t=[0,1],to:n=[0,1]}=e,s=e.clamp||!1;let r=(i-t[0])/(t[1]-t[0])*(n[1]-n[0])+n[0];return s&&(r=ln(r,Math.min(n[0],n[1]),Math.max(n[0],n[1]))),r}function an(i,e){return`rgb( |