diff --git a/assets/index-8c2e2f61.js b/assets/index-9481945c.js similarity index 99% rename from assets/index-8c2e2f61.js rename to assets/index-9481945c.js index ef11da8d..fac6d879 100644 --- a/assets/index-8c2e2f61.js +++ b/assets/index-9481945c.js @@ -309,7 +309,7 @@ PERFORMANCE OF THIS SOFTWARE. * https://github.com/KingSora * * Released under the MIT license. - */function xn(e,t){if(ET(e))for(let n=0;nt(e[n],n,e));return e}function Ki(e,t){const n=$d(t);if(ol(t)||n){let i=n?"":{};if(e){const o=window.getComputedStyle(e,null);i=n?Q8(e,o,t):t.reduce((s,l)=>(s[l]=Q8(e,o,l),s),i)}return i}e&&xn(Ts(t),i=>F1e(e,i,t[i]))}const Ua=(e,t)=>{const{o:n,u:r,_:i}=e;let o=n,s;const l=(f,h)=>{const p=o,g=f,v=h||(r?!r(p,g):p!==g);return(v||i)&&(o=g,s=p),[o,v,s]};return[t?f=>l(t(o,s),f):l,f=>[o,!!f,s]]},bx=()=>typeof window<"u",XY=bx()&&Node.ELEMENT_NODE,{toString:C1e,hasOwnProperty:xD}=Object.prototype,Sc=e=>e===void 0,CT=e=>e===null,E1e=e=>Sc(e)||CT(e)?`${e}`:C1e.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),pd=e=>typeof e=="number",$d=e=>typeof e=="string",l4=e=>typeof e=="boolean",il=e=>typeof e=="function",ol=e=>Array.isArray(e),Rb=e=>typeof e=="object"&&!ol(e)&&!CT(e),ET=e=>{const t=!!e&&e.length,n=pd(t)&&t>-1&&t%1==0;return ol(e)||!il(e)&&n?t>0&&Rb(e)?t-1 in e:!0:!1},TN=e=>{if(!e||!Rb(e)||E1e(e)!=="object")return!1;let t;const n="constructor",r=e[n],i=r&&r.prototype,o=xD.call(e,n),s=i&&xD.call(i,"isPrototypeOf");if(r&&!o&&!s)return!1;for(t in e);return Sc(t)||xD.call(e,t)},rC=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===XY:!1},TT=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===XY:!1},u4=(e,t,n)=>e.indexOf(t,n),$n=(e,t,n)=>(!n&&!$d(t)&&ET(t)?Array.prototype.push.apply(e,t):e.push(t),e),rp=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(r=>{$n(n,r)}):xn(e,r=>{$n(n,r)}),n)},c4=e=>!!e&&e.length===0,Xl=(e,t,n)=>{xn(e,i=>i&&i.apply(void 0,t||[])),!n&&(e.length=0)},IT=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ts=e=>e?Object.keys(e):[],Sr=(e,t,n,r,i,o,s)=>{const l=[t,n,r,i,o,s];return(typeof e!="object"||CT(e))&&!il(e)&&(e={}),xn(l,c=>{xn(Ts(c),d=>{const f=c[d];if(e===f)return!0;const h=ol(f);if(f&&(TN(f)||h)){const p=e[d];let g=p;h&&!ol(p)?g=[]:!h&&!TN(p)&&(g={}),e[d]=Sr(g,f)}else e[d]=f})}),e},d4=e=>{for(const t in e)return!1;return!0},qY=(e,t,n,r)=>{if(Sc(r))return n?n[e]:t;n&&($d(r)||pd(r))&&(n[e]=r)},qi=(e,t,n)=>{if(Sc(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},Io=(e,t)=>{e&&e.removeAttribute(t)},$h=(e,t,n,r)=>{if(n){const i=qi(e,t)||"",o=new Set(i.split(" "));o[r?"add":"delete"](n);const s=rp(o).join(" ").trim();qi(e,t,s)}},T1e=(e,t,n)=>{const r=qi(e,t)||"";return new Set(r.split(" ")).has(n)},Qa=(e,t)=>qY("scrollLeft",0,e,t),ac=(e,t)=>qY("scrollTop",0,e,t),IN=bx()&&Element.prototype,YY=(e,t)=>{const n=[],r=t?TT(t)?t:null:document;return r?$n(n,r.querySelectorAll(e)):n},I1e=(e,t)=>{const n=t?TT(t)?t:null:document;return n?n.querySelector(e):null},iC=(e,t)=>TT(e)?(IN.matches||IN.msMatchesSelector).call(e,t):!1,f4=e=>e?rp(e.childNodes):[],vc=e=>e?e.parentElement:null,vm=(e,t)=>{if(TT(e)){const n=IN.closest;if(n)return n.call(e,t);do{if(iC(e,t))return e;e=vc(e)}while(e)}return null},R1e=(e,t,n)=>{const r=e&&vm(e,t),i=e&&I1e(n,r),o=vm(i,t)===r;return r&&i?r===e||i===e||o&&vm(vm(e,n),t)!==r:!1},h4=(e,t,n)=>{if(n&&e){let r=t,i;ET(n)?(i=document.createDocumentFragment(),xn(n,o=>{o===r&&(r=o.previousSibling),i.appendChild(o)})):i=n,t&&(r?r!==t&&(r=r.nextSibling):r=e.firstChild),e.insertBefore(i,r||null)}},js=(e,t)=>{h4(e,null,t)},A1e=(e,t)=>{h4(vc(e),e,t)},q8=(e,t)=>{h4(vc(e),e&&e.nextSibling,t)},Nl=e=>{if(ET(e))xn(rp(e),t=>Nl(t));else if(e){const t=vc(e);t&&t.removeChild(e)}},Nh=e=>{const t=document.createElement("div");return e&&qi(t,"class",e),t},KY=e=>{const t=Nh();return t.innerHTML=e.trim(),xn(f4(t),n=>Nl(n))},RN=e=>e.charAt(0).toUpperCase()+e.slice(1),P1e=()=>Nh().style,M1e=["-webkit-","-moz-","-o-","-ms-"],O1e=["WebKit","Moz","O","MS","webkit","moz","o","ms"],wD={},_D={},k1e=e=>{let t=_D[e];if(IT(_D,e))return t;const n=RN(e),r=P1e();return xn(M1e,i=>{const o=i.replace(/-/g,"");return!(t=[e,i+e,o+n,RN(o)+n].find(l=>r[l]!==void 0))}),_D[e]=t||""},xx=e=>{if(bx()){let t=wD[e]||window[e];return IT(wD,e)||(xn(O1e,n=>(t=t||window[n+RN(e)],!t)),wD[e]=t),t}},D1e=xx("MutationObserver"),Y8=xx("IntersectionObserver"),ym=xx("ResizeObserver"),QY=xx("cancelAnimationFrame"),ZY=xx("requestAnimationFrame"),oC=bx()&&window.setTimeout,AN=bx()&&window.clearTimeout,B1e=/[^\x20\t\r\n\f]+/g,JY=(e,t,n)=>{const r=e&&e.classList;let i,o=0,s=!1;if(r&&t&&$d(t)){const l=t.match(B1e)||[];for(s=l.length>0;i=l[o++];)s=!!n(r,i)&&s}return s},p4=(e,t)=>{JY(e,t,(n,r)=>n.remove(r))},lc=(e,t)=>(JY(e,t,(n,r)=>n.add(r)),p4.bind(0,e,t)),RT=(e,t,n,r)=>{if(e&&t){let i=!0;return xn(n,o=>{const s=r?r(e[o]):e[o],l=r?r(t[o]):t[o];s!==l&&(i=!1)}),i}return!1},eK=(e,t)=>RT(e,t,["w","h"]),tK=(e,t)=>RT(e,t,["x","y"]),L1e=(e,t)=>RT(e,t,["t","r","b","l"]),K8=(e,t,n)=>RT(e,t,["width","height"],n&&(r=>Math.round(r))),Ws=()=>{},Xp=e=>{let t;const n=e?oC:ZY,r=e?AN:QY;return[i=>{r(t),t=n(i,il(e)?e():e)},()=>r(t)]},m4=(e,t)=>{let n,r,i,o=Ws;const{v:s,g:l,p:c}=t||{},d=function(v){o(),AN(n),n=r=void 0,o=Ws,e.apply(this,v)},f=g=>c&&r?c(r,g):g,h=()=>{o!==Ws&&d(f(i)||i)},p=function(){const v=rp(arguments),b=il(s)?s():s;if(pd(b)&&b>=0){const S=il(l)?l():l,w=pd(S)&&S>=0,y=b>0?oC:ZY,C=b>0?AN:QY,P=f(v)||v,T=d.bind(0,P);o();const O=y(T,b);o=()=>C(O),w&&!n&&(n=oC(h,S)),r=i=P}else d(v)};return p.m=h,p},$1e={opacity:1,zindex:1},Ew=(e,t)=>{const n=t?parseFloat(e):parseInt(e,10);return n===n?n:0},N1e=(e,t)=>!$1e[e.toLowerCase()]&&pd(t)?`${t}px`:t,Q8=(e,t,n)=>t!=null?t[n]||t.getPropertyValue(n):e.style[n],F1e=(e,t,n)=>{try{const{style:r}=e;Sc(r[t])?r.setProperty(t,n):r[t]=N1e(t,n)}catch{}},Ab=e=>Ki(e,"direction")==="rtl",Z8=(e,t,n)=>{const r=t?`${t}-`:"",i=n?`-${n}`:"",o=`${r}top${i}`,s=`${r}right${i}`,l=`${r}bottom${i}`,c=`${r}left${i}`,d=Ki(e,[o,s,l,c]);return{t:Ew(d[o],!0),r:Ew(d[s],!0),b:Ew(d[l],!0),l:Ew(d[c],!0)}},{round:J8}=Math,g4={w:0,h:0},Pb=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:g4,q_=e=>e?{w:e.clientWidth,h:e.clientHeight}:g4,sC=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:g4,aC=e=>{const t=parseFloat(Ki(e,"height"))||0,n=parseFloat(Ki(e,"width"))||0;return{w:n-J8(n),h:t-J8(t)}},El=e=>e.getBoundingClientRect();let Tw;const z1e=()=>{if(Sc(Tw)){Tw=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Tw=!0}}))}catch{}}return Tw},nK=e=>e.split(" "),U1e=(e,t,n,r)=>{xn(nK(t),i=>{e.removeEventListener(i,n,r)})},si=(e,t,n,r)=>{var i;const o=z1e(),s=(i=o&&r&&r.S)!=null?i:o,l=r&&r.$||!1,c=r&&r.C||!1,d=[],f=o?{passive:s,capture:l}:l;return xn(nK(t),h=>{const p=c?g=>{e.removeEventListener(h,p,l),n&&n(g)}:n;$n(d,U1e.bind(null,e,h,p,l)),e.addEventListener(h,p,f)}),Xl.bind(0,d)},rK=e=>e.stopPropagation(),iK=e=>e.preventDefault(),H1e={x:0,y:0},SD=e=>{const t=e?El(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:H1e},eH=(e,t)=>{xn(ol(t)?t:[t],e)},v4=e=>{const t=new Map,n=(o,s)=>{if(o){const l=t.get(o);eH(c=>{l&&l[c?"delete":"clear"](c)},s)}else t.forEach(l=>{l.clear()}),t.clear()},r=(o,s)=>{if($d(o)){const d=t.get(o)||new Set;return t.set(o,d),eH(f=>{il(f)&&d.add(f)},s),n.bind(0,o,s)}l4(s)&&s&&n();const l=Ts(o),c=[];return xn(l,d=>{const f=o[d];f&&$n(c,r(d,f))}),Xl.bind(0,c)},i=(o,s)=>{const l=t.get(o);xn(rp(l),c=>{s&&!c4(s)?c.apply(0,s):c()})};return r(e||{}),[r,n,i]},tH=e=>JSON.stringify(e,(t,n)=>{if(il(n))throw new Error;return n}),W1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},oK=(e,t)=>{const n={},r=Ts(t).concat(Ts(e));return xn(r,i=>{const o=e[i],s=t[i];if(Rb(o)&&Rb(s))Sr(n[i]={},oK(o,s)),d4(n[i])&&delete n[i];else if(IT(t,i)&&s!==o){let l=!0;if(ol(o)||ol(s))try{tH(o)===tH(s)&&(l=!1)}catch{}l&&(n[i]=s)}}),n},sK="os-environment",aK=`${sK}-flexbox-glue`,G1e=`${aK}-max`,lK="os-scrollbar-hidden",CD="data-overlayscrollbars-initialize",Ha="data-overlayscrollbars",uK=`${Ha}-overflow-x`,cK=`${Ha}-overflow-y`,Dm="overflowVisible",V1e="scrollbarHidden",nH="scrollbarPressed",lC="updating",zc="data-overlayscrollbars-viewport",ED="arrange",dK="scrollbarHidden",Bm=Dm,PN="data-overlayscrollbars-padding",j1e=Bm,rH="data-overlayscrollbars-content",y4="os-size-observer",X1e=`${y4}-appear`,q1e=`${y4}-listener`,Y1e="os-trinsic-observer",K1e="os-no-css-vars",Q1e="os-theme-none",Wo="os-scrollbar",Z1e=`${Wo}-rtl`,J1e=`${Wo}-horizontal`,ebe=`${Wo}-vertical`,fK=`${Wo}-track`,b4=`${Wo}-handle`,tbe=`${Wo}-visible`,nbe=`${Wo}-cornerless`,iH=`${Wo}-transitionless`,oH=`${Wo}-interaction`,sH=`${Wo}-unusable`,aH=`${Wo}-auto-hidden`,lH=`${Wo}-wheel`,rbe=`${fK}-interactive`,ibe=`${b4}-interactive`,hK={},ip=()=>hK,obe=e=>{const t=[];return xn(ol(e)?e:[e],n=>{const r=Ts(n);xn(r,i=>{$n(t,hK[i]=n[i])})}),t},sbe="__osOptionsValidationPlugin",abe="__osSizeObserverPlugin",x4="__osScrollbarsHidingPlugin",lbe="__osClickScrollPlugin";let TD;const uH=(e,t,n,r)=>{js(e,t);const i=q_(t),o=Pb(t),s=aC(n);return r&&Nl(t),{x:o.h-i.h+s.h,y:o.w-i.w+s.w}},ube=e=>{let t=!1;const n=lc(e,lK);try{t=Ki(e,k1e("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},cbe=(e,t)=>{const n="hidden";Ki(e,{overflowX:n,overflowY:n,direction:"rtl"}),Qa(e,0);const r=SD(e),i=SD(t);Qa(e,-999);const o=SD(t);return{i:r.x===i.x,n:i.x!==o.x}},dbe=(e,t)=>{const n=lc(e,aK),r=El(e),i=El(t),o=K8(i,r,!0),s=lc(e,G1e),l=El(e),c=El(t),d=K8(c,l,!0);return n(),s(),o&&d},fbe=()=>{const{body:e}=document,n=KY(`
`)[0],r=n.firstChild,[i,,o]=v4(),[s,l]=Ua({o:uH(e,n,r),u:tK},uH.bind(0,e,n,r,!0)),[c]=l(),d=ube(n),f={x:c.x===0,y:c.y===0},h={elements:{host:null,padding:!d,viewport:w=>d&&w===w.ownerDocument.body&&w,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=Sr({},W1e),g=Sr.bind(0,{},p),v=Sr.bind(0,{},h),b={k:c,A:f,I:d,L:Ki(n,"zIndex")==="-1",B:cbe(n,r),V:dbe(n,r),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:v,q:w=>Sr(h,w)&&v(),F:g,G:w=>Sr(p,w)&&g(),X:Sr({},h),U:Sr({},p)},_=window.addEventListener,S=m4(w=>o(w?"z":"r"),{v:33,g:99});if(Io(n,"style"),Nl(n),_("resize",S.bind(0,!1)),!d&&(!f.x||!f.y)){let w;_("resize",()=>{const y=ip()[x4];w=w||y&&y.R(),w&&w(b,s,S.bind(0,!0))})}return b},Go=()=>(TD||(TD=fbe()),TD),w4=(e,t)=>il(t)?t.apply(0,e):t,hbe=(e,t,n,r)=>{const i=Sc(r)?n:r;return w4(e,i)||t.apply(0,e)},pK=(e,t,n,r)=>{const i=Sc(r)?n:r,o=w4(e,i);return!!o&&(rC(o)?o:t.apply(0,e))},pbe=(e,t,n)=>{const{nativeScrollbarsOverlaid:r,body:i}=n||{},{A:o,I:s}=Go(),{nativeScrollbarsOverlaid:l,body:c}=t,d=r??l,f=Sc(i)?c:i,h=(o.x||o.y)&&d,p=e&&(CT(f)?!s:f);return!!h||!!p},_4=new WeakMap,mbe=(e,t)=>{_4.set(e,t)},gbe=e=>{_4.delete(e)},mK=e=>_4.get(e),cH=(e,t)=>e?t.split(".").reduce((n,r)=>n&&IT(n,r)?n[r]:void 0,e):void 0,MN=(e,t,n)=>r=>[cH(e,r),n||cH(t,r)!==void 0],gK=e=>{let t=e;return[()=>t,n=>{t=Sr({},t,n)}]},Iw="tabindex",Rw=Nh.bind(0,""),ID=e=>{js(vc(e),f4(e)),Nl(e)},vbe=e=>{const t=Go(),{N:n,I:r}=t,i=ip()[x4],o=i&&i.T,{elements:s}=n(),{host:l,padding:c,viewport:d,content:f}=s,h=rC(e),p=h?{}:e,{elements:g}=p,{host:v,padding:b,viewport:_,content:S}=g||{},w=h?e:p.target,y=iC(w,"textarea"),C=w.ownerDocument,I=C.documentElement,P=w===C.body,T=C.defaultView,O=hbe.bind(0,[w]),$=pK.bind(0,[w]),L=w4.bind(0,[w]),G=O.bind(0,Rw,d),q=$.bind(0,Rw,f),H=G(_),D=H===w,F=D&&P,z=!D&&q(S),W=!D&&rC(H)&&H===z,V=W&&!!L(f),K=V?G():H,j=V?z:q(),ne=F?I:W?K:H,oe=y?O(Rw,l,v):w,ae=F?ne:oe,le=W?j:z,se=C.activeElement,me=!D&&T.top===T&&se===w,de={W:w,Z:ae,J:ne,K:!D&&$(Rw,c,b),tt:le,nt:!D&&!r&&o&&o(t),ot:F?I:ne,st:F?C:ne,et:T,ct:C,rt:y,it:P,lt:h,ut:D,dt:W,ft:(lt,pt)=>T1e(ne,D?Ha:zc,D?pt:lt),_t:(lt,pt,Wt)=>$h(ne,D?Ha:zc,D?pt:lt,Wt)},Se=Ts(de).reduce((lt,pt)=>{const Wt=de[pt];return $n(lt,Wt&&!vc(Wt)?Wt:!1)},[]),_e=lt=>lt?u4(Se,lt)>-1:null,{W:ge,Z:fe,K:ye,J:ce,tt:xe,nt:qe}=de,Ae=[()=>{Io(fe,Ha),Io(fe,CD),Io(ge,CD),P&&(Io(I,Ha),Io(I,CD))}],st=y&&_e(fe);let Nt=y?ge:f4([xe,ce,ye,fe,ge].find(lt=>_e(lt)===!1));const Pe=F?ge:xe||ce;return[de,()=>{qi(fe,Ha,D?"viewport":"host"),qi(ye,PN,""),qi(xe,rH,""),D||qi(ce,zc,"");const lt=P&&!D?lc(vc(w),lK):Ws;if(st&&(q8(ge,fe),$n(Ae,()=>{q8(fe,ge),Nl(fe)})),js(Pe,Nt),js(fe,ye),js(ye||fe,!D&&ce),js(ce,xe),$n(Ae,()=>{lt(),Io(ye,PN),Io(xe,rH),Io(ce,uK),Io(ce,cK),Io(ce,zc),_e(xe)&&ID(xe),_e(ce)&&ID(ce),_e(ye)&&ID(ye)}),r&&!D&&($h(ce,zc,dK,!0),$n(Ae,Io.bind(0,ce,zc))),qe&&(A1e(ce,qe),$n(Ae,Nl.bind(0,qe))),me){const pt=qi(ce,Iw);qi(ce,Iw,"-1"),ce.focus();const Wt=()=>pt?qi(ce,Iw,pt):Io(ce,Iw),ve=si(C,"pointerdown keydown",()=>{Wt(),ve()});$n(Ae,[Wt,ve])}else se&&se.focus&&se.focus();Nt=0},Xl.bind(0,Ae)]},ybe=(e,t)=>{const{tt:n}=e,[r]=t;return i=>{const{V:o}=Go(),{ht:s}=r(),{vt:l}=i,c=(n||!o)&&l;return c&&Ki(n,{height:s?"":"100%"}),{gt:c,wt:c}}},bbe=(e,t)=>{const[n,r]=t,{Z:i,K:o,J:s,ut:l}=e,[c,d]=Ua({u:L1e,o:Z8()},Z8.bind(0,i,"padding",""));return(f,h,p)=>{let[g,v]=d(p);const{I:b,V:_}=Go(),{bt:S}=n(),{gt:w,wt:y,yt:C}=f,[I,P]=h("paddingAbsolute");(w||v||!_&&y)&&([g,v]=c(p));const O=!l&&(P||C||v);if(O){const $=!I||!o&&!b,L=g.r+g.l,G=g.t+g.b,q={marginRight:$&&!S?-L:0,marginBottom:$?-G:0,marginLeft:$&&S?-L:0,top:$?-g.t:0,right:$?S?-g.r:"auto":0,left:$?S?"auto":-g.l:0,width:$?`calc(100% + ${L}px)`:""},H={paddingTop:$?g.t:0,paddingRight:$?g.r:0,paddingBottom:$?g.b:0,paddingLeft:$?g.l:0};Ki(o||s,q),Ki(s,H),r({K:g,St:!$,P:o?H:Sr({},q,H)})}return{xt:O}}},{max:ON}=Math,Uc=ON.bind(0,0),vK="visible",dH="hidden",xbe=42,Aw={u:eK,o:{w:0,h:0}},wbe={u:tK,o:{x:dH,y:dH}},_be=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,r={w:Uc(e.w-t.w),h:Uc(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},Pw=e=>e.indexOf(vK)===0,Sbe=(e,t)=>{const[n,r]=t,{Z:i,K:o,J:s,nt:l,ut:c,_t:d,it:f,et:h}=e,{k:p,V:g,I:v,A:b}=Go(),_=ip()[x4],S=!c&&!v&&(b.x||b.y),w=f&&c,[y,C]=Ua(Aw,aC.bind(0,s)),[I,P]=Ua(Aw,sC.bind(0,s)),[T,O]=Ua(Aw),[$,L]=Ua(Aw),[G]=Ua(wbe),q=(V,K)=>{if(Ki(s,{height:""}),K){const{St:j,K:Q}=n(),{$t:ne,D:oe}=V,ae=aC(i),le=q_(i),se=Ki(s,"boxSizing")==="content-box",me=j||se?Q.b+Q.t:0,de=!(b.x&&se);Ki(s,{height:le.h+ae.h+(ne.x&&de?oe.x:0)-me})}},H=(V,K)=>{const j=!v&&!V?xbe:0,Q=(_e,ge,fe)=>{const ye=Ki(s,_e),xe=(K?K[_e]:ye)==="scroll";return[ye,xe,xe&&!v?ge?j:fe:0,ge&&!!j]},[ne,oe,ae,le]=Q("overflowX",b.x,p.x),[se,me,de,Se]=Q("overflowY",b.y,p.y);return{Ct:{x:ne,y:se},$t:{x:oe,y:me},D:{x:ae,y:de},M:{x:le,y:Se}}},D=(V,K,j,Q)=>{const ne=(me,de)=>{const Se=Pw(me),_e=de&&Se&&me.replace(`${vK}-`,"")||"";return[de&&!Se?me:"",Pw(_e)?"hidden":_e]},[oe,ae]=ne(j.x,K.x),[le,se]=ne(j.y,K.y);return Q.overflowX=ae&&le?ae:oe,Q.overflowY=se&&oe?se:le,H(V,Q)},F=(V,K,j,Q)=>{const{D:ne,M:oe}=V,{x:ae,y:le}=oe,{x:se,y:me}=ne,{P:de}=n(),Se=K?"marginLeft":"marginRight",_e=K?"paddingLeft":"paddingRight",ge=de[Se],fe=de.marginBottom,ye=de[_e],ce=de.paddingBottom;Q.width=`calc(100% + ${me+-1*ge}px)`,Q[Se]=-me+ge,Q.marginBottom=-se+fe,j&&(Q[_e]=ye+(le?me:0),Q.paddingBottom=ce+(ae?se:0))},[z,W]=_?_.H(S,g,s,l,n,H,F):[()=>S,()=>[Ws]];return(V,K,j)=>{const{gt:Q,Ot:ne,wt:oe,xt:ae,vt:le,yt:se}=V,{ht:me,bt:de}=n(),[Se,_e]=K("showNativeOverlaidScrollbars"),[ge,fe]=K("overflow"),ye=Se&&b.x&&b.y,ce=!c&&!g&&(Q||oe||ne||_e||le),xe=Pw(ge.x),qe=Pw(ge.y),Ae=xe||qe;let st=C(j),Nt=P(j),Pe=O(j),Ke=L(j),lt;if(_e&&v&&d(dK,V1e,!ye),ce&&(lt=H(ye),q(lt,me)),Q||ae||oe||se||_e){Ae&&d(Bm,Dm,!1);const[ft,It]=W(ye,de,lt),[Kt,Or]=st=y(j),[cr,ul]=Nt=I(j),Eo=q_(s);let Ui=cr,To=Eo;ft(),(ul||Or||_e)&&It&&!ye&&z(It,cr,Kt,de)&&(To=q_(s),Ui=sC(s));const ua={w:Uc(ON(cr.w,Ui.w)+Kt.w),h:Uc(ON(cr.h,Ui.h)+Kt.h)},jo={w:Uc((w?h.innerWidth:To.w+Uc(Eo.w-cr.w))+Kt.w),h:Uc((w?h.innerHeight+Kt.h:To.h+Uc(Eo.h-cr.h))+Kt.h)};Ke=$(jo),Pe=T(_be(ua,jo),j)}const[pt,Wt]=Ke,[ve,Ne]=Pe,[Qe,Be]=Nt,[Ge,Oe]=st,Ve={x:ve.w>0,y:ve.h>0},we=xe&&qe&&(Ve.x||Ve.y)||xe&&Ve.x&&!Ve.y||qe&&Ve.y&&!Ve.x;if(ae||se||Oe||Be||Wt||Ne||fe||_e||ce){const ft={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},It=D(ye,Ve,ge,ft),Kt=z(It,Qe,Ge,de);c||F(It,de,Kt,ft),ce&&q(It,me),c?(qi(i,uK,ft.overflowX),qi(i,cK,ft.overflowY)):Ki(s,ft)}$h(i,Ha,Dm,we),$h(o,PN,j1e,we),c||$h(s,zc,Bm,Ae);const[ke,ut]=G(H(ye).Ct);return r({Ct:ke,zt:{x:pt.w,y:pt.h},Tt:{x:ve.w,y:ve.h},Et:Ve}),{It:ut,At:Wt,Lt:Ne}}},fH=(e,t,n)=>{const r={},i=t||{},o=Ts(e).concat(Ts(i));return xn(o,s=>{const l=e[s],c=i[s];r[s]=!!(n||l||c)}),r},Cbe=(e,t)=>{const{W:n,J:r,_t:i,ut:o}=e,{I:s,A:l,V:c}=Go(),d=!s&&(l.x||l.y),f=[ybe(e,t),bbe(e,t),Sbe(e,t)];return(h,p,g)=>{const v=fH(Sr({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},p),{},g),b=d||!c,_=b&&Qa(r),S=b&&ac(r);i("",lC,!0);let w=v;return xn(f,y=>{w=fH(w,y(w,h,!!g)||{},g)}),Qa(r,_),ac(r,S),i("",lC),o||(Qa(n,0),ac(n,0)),w}},Ebe=(e,t,n)=>{let r,i=!1;const o=()=>{i=!0},s=l=>{if(n){const c=n.reduce((d,f)=>{if(f){const[h,p]=f,g=p&&h&&(l?l(h):YY(h,e));g&&g.length&&p&&$d(p)&&$n(d,[g,p.trim()],!0)}return d},[]);xn(c,d=>xn(d[0],f=>{const h=d[1],p=r.get(f)||[];if(e.contains(f)){const v=si(f,h,b=>{i?(v(),r.delete(f)):t(b)});r.set(f,$n(p,v))}else Xl(p),r.delete(f)}))}};return n&&(r=new WeakMap,s()),[o,s]},hH=(e,t,n,r)=>{let i=!1;const{Ht:o,Pt:s,Dt:l,Mt:c,Rt:d,kt:f}=r||{},h=m4(()=>{i&&n(!0)},{v:33,g:99}),[p,g]=Ebe(e,h,l),v=o||[],b=s||[],_=v.concat(b),S=(y,C)=>{const I=d||Ws,P=f||Ws,T=new Set,O=new Set;let $=!1,L=!1;if(xn(y,G=>{const{attributeName:q,target:H,type:D,oldValue:F,addedNodes:z,removedNodes:W}=G,V=D==="attributes",K=D==="childList",j=e===H,Q=V&&$d(q)?qi(H,q):0,ne=Q!==0&&F!==Q,oe=u4(b,q)>-1&≠if(t&&(K||!j)){const ae=!V,le=V&&ne,se=le&&c&&iC(H,c),de=(se?!I(H,q,F,Q):ae||le)&&!P(G,!!se,e,r);xn(z,Se=>T.add(Se)),xn(W,Se=>T.add(Se)),L=L||de}!t&&j&&ne&&!I(H,q,F,Q)&&(O.add(q),$=$||oe)}),T.size>0&&g(G=>rp(T).reduce((q,H)=>($n(q,YY(G,H)),iC(H,G)?$n(q,H):q),[])),t)return!C&&L&&n(!1),[!1];if(O.size>0||$){const G=[rp(O),$];return!C&&n.apply(0,G),G}},w=new D1e(y=>S(y));return w.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:_,subtree:t,childList:t,characterData:t}),i=!0,[()=>{i&&(p(),w.disconnect(),i=!1)},()=>{if(i){h.m();const y=w.takeRecords();return!c4(y)&&S(y,!0)}}]},Mw=3333333,Ow=e=>e&&(e.height||e.width),yK=(e,t,n)=>{const{Bt:r=!1,Vt:i=!1}=n||{},o=ip()[abe],{B:s}=Go(),c=KY(`
`)[0],d=c.firstChild,f=Ab.bind(0,e),[h]=Ua({o:void 0,_:!0,u:(b,_)=>!(!b||!Ow(b)&&Ow(_))}),p=b=>{const _=ol(b)&&b.length>0&&Rb(b[0]),S=!_&&l4(b[0]);let w=!1,y=!1,C=!0;if(_){const[I,,P]=h(b.pop().contentRect),T=Ow(I),O=Ow(P);w=!P||!T,y=!O&&T,C=!w}else S?[,C]=b:y=b===!0;if(r&&C){const I=S?b[0]:Ab(c);Qa(c,I?s.n?-Mw:s.i?0:Mw:Mw),ac(c,Mw)}w||t({gt:!S,Yt:S?b:void 0,Vt:!!y})},g=[];let v=i?p:!1;return[()=>{Xl(g),Nl(c)},()=>{if(ym){const b=new ym(p);b.observe(d),$n(g,()=>{b.disconnect()})}else if(o){const[b,_]=o.O(d,p,i);v=b,$n(g,_)}if(r){const[b]=Ua({o:void 0},f);$n(g,si(c,"scroll",_=>{const S=b(),[w,y,C]=S;y&&(p4(d,"ltr rtl"),w?lc(d,"rtl"):lc(d,"ltr"),p([!!w,y,C])),rK(_)}))}v&&(lc(c,X1e),$n(g,si(c,"animationstart",v,{C:!!ym}))),(ym||o)&&js(e,c)}]},Tbe=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,Ibe=(e,t)=>{let n;const r=Nh(Y1e),i=[],[o]=Ua({o:!1}),s=(c,d)=>{if(c){const f=o(Tbe(c)),[,h]=f;if(h)return!d&&t(f),[f]}},l=(c,d)=>{if(c&&c.length>0)return s(c.pop(),d)};return[()=>{Xl(i),Nl(r)},()=>{if(Y8)n=new Y8(c=>l(c),{root:e}),n.observe(r),$n(i,()=>{n.disconnect()});else{const c=()=>{const h=Pb(r);s(h)},[d,f]=yK(r,c);$n(i,d),f(),c()}js(e,r)},()=>{if(n)return l(n.takeRecords(),!0)}]},pH=`[${Ha}]`,Rbe=`[${zc}]`,RD=["tabindex"],mH=["wrap","cols","rows"],AD=["id","class","style","open"],Abe=(e,t,n)=>{let r,i,o;const{Z:s,J:l,tt:c,rt:d,ut:f,ft:h,_t:p}=e,{V:g}=Go(),[v]=Ua({u:eK,o:{w:0,h:0}},()=>{const D=h(Bm,Dm),F=h(ED,""),z=F&&Qa(l),W=F&&ac(l);p(Bm,Dm),p(ED,""),p("",lC,!0);const V=sC(c),K=sC(l),j=aC(l);return p(Bm,Dm,D),p(ED,"",F),p("",lC),Qa(l,z),ac(l,W),{w:K.w+V.w+j.w,h:K.h+V.h+j.h}}),b=d?mH:AD.concat(mH),_=m4(n,{v:()=>r,g:()=>i,p(D,F){const[z]=D,[W]=F;return[Ts(z).concat(Ts(W)).reduce((V,K)=>(V[K]=z[K]||W[K],V),{})]}}),S=D=>{xn(D||RD,F=>{if(u4(RD,F)>-1){const z=qi(s,F);$d(z)?qi(l,F,z):Io(l,F)}})},w=(D,F)=>{const[z,W]=D,V={vt:W};return t({ht:z}),!F&&n(V),V},y=({gt:D,Yt:F,Vt:z})=>{const W=!D||z?n:_;let V=!1;if(F){const[K,j]=F;V=j,t({bt:K})}W({gt:D,yt:V})},C=(D,F)=>{const[,z]=v(),W={wt:z};return z&&!F&&(D?n:_)(W),W},I=(D,F,z)=>{const W={Ot:F};return F?!z&&_(W):f||S(D),W},[P,T,O]=c||!g?Ibe(s,w):[Ws,Ws,Ws],[$,L]=f?[Ws,Ws]:yK(s,y,{Vt:!0,Bt:!0}),[G,q]=hH(s,!1,I,{Pt:AD,Ht:AD.concat(RD)}),H=f&&ym&&new ym(y.bind(0,{gt:!0}));return H&&H.observe(s),S(),[()=>{P(),$(),o&&o[0](),H&&H.disconnect(),G()},()=>{L(),T()},()=>{const D={},F=q(),z=O(),W=o&&o[1]();return F&&Sr(D,I.apply(0,$n(F,!0))),z&&Sr(D,w.apply(0,$n(z,!0))),W&&Sr(D,C.apply(0,$n(W,!0))),D},D=>{const[F]=D("update.ignoreMutation"),[z,W]=D("update.attributes"),[V,K]=D("update.elementEvents"),[j,Q]=D("update.debounce"),ne=K||W,oe=ae=>il(F)&&F(ae);if(ne&&(o&&(o[1](),o[0]()),o=hH(c||l,!0,C,{Ht:b.concat(z||[]),Dt:V,Mt:pH,kt:(ae,le)=>{const{target:se,attributeName:me}=ae;return(!le&&me&&!f?R1e(se,pH,Rbe):!1)||!!vm(se,`.${Wo}`)||!!oe(ae)}})),Q)if(_.m(),ol(j)){const ae=j[0],le=j[1];r=pd(ae)&&ae,i=pd(le)&&le}else pd(j)?(r=j,i=!1):(r=!1,i=!1)}]},gH={x:0,y:0},Pbe=e=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:gH,Tt:gH,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:Ab(e.Z)}),Mbe=(e,t)=>{const n=MN(t,{}),[r,i,o]=v4(),[s,l,c]=vbe(e),d=gK(Pbe(s)),[f,h]=d,p=Cbe(s,d),g=(y,C,I)=>{const T=Ts(y).some(O=>y[O])||!d4(C)||I;return T&&o("u",[y,C,I]),T},[v,b,_,S]=Abe(s,h,y=>g(p(n,y),{},!1)),w=f.bind(0);return w.jt=y=>r("u",y),w.Nt=()=>{const{W:y,J:C}=s,I=Qa(y),P=ac(y);b(),l(),Qa(C,I),ac(C,P)},w.qt=s,[(y,C)=>{const I=MN(t,y,C);return S(I),g(p(I,_(),C),y,!!C)},w,()=>{i(),v(),c()}]},{round:vH}=Math,Obe=e=>{const{width:t,height:n}=El(e),{w:r,h:i}=Pb(e);return{x:vH(t)/r||1,y:vH(n)/i||1}},kbe=(e,t,n)=>{const r=t.scrollbars,{button:i,isPrimary:o,pointerType:s}=e,{pointers:l}=r;return i===0&&o&&r[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)},Dbe=(e,t)=>si(e,"mousedown",si.bind(0,t,"click",rK,{C:!0,$:!0}),{$:!0}),yH="pointerup pointerleave pointercancel lostpointercapture",Bbe=(e,t,n,r,i,o,s)=>{const{B:l}=Go(),{Ft:c,Gt:d,Xt:f}=r,h=`scroll${s?"Left":"Top"}`,p=`client${s?"X":"Y"}`,g=s?"width":"height",v=s?"left":"top",b=s?"w":"h",_=s?"x":"y",S=(w,y)=>C=>{const{Tt:I}=o(),P=Pb(d)[b]-Pb(c)[b],O=y*C/P*I[_],L=Ab(f)&&s?l.n||l.i?1:-1:1;i[h]=w+O*L};return si(d,"pointerdown",w=>{const y=vm(w.target,`.${b4}`)===c,C=y?c:d;if($h(t,Ha,nH,!0),kbe(w,e,y)){const I=!y&&w.shiftKey,P=()=>El(c),T=()=>El(d),O=(K,j)=>(K||P())[v]-(j||T())[v],$=S(i[h]||0,1/Obe(i)[_]),L=w[p],G=P(),q=T(),H=G[g],D=O(G,q)+H/2,F=L-q[v],z=y?0:F-D,W=K=>{Xl(V),C.releasePointerCapture(K.pointerId)},V=[$h.bind(0,t,Ha,nH),si(n,yH,W),si(n,"selectstart",K=>iK(K),{S:!1}),si(d,yH,W),si(d,"pointermove",K=>{const j=K[p]-L;(y||I)&&$(z+j)})];if(I)$(z);else if(!y){const K=ip()[lbe];K&&$n(V,K.O($,O,z,H,F))}C.setPointerCapture(w.pointerId)}})},Lbe=(e,t)=>(n,r,i,o,s,l)=>{const{Xt:c}=n,[d,f]=Xp(333),h=!!s.scrollBy;let p=!0;return Xl.bind(0,[si(c,"pointerenter",()=>{r(oH,!0)}),si(c,"pointerleave pointercancel",()=>{r(oH)}),si(c,"wheel",g=>{const{deltaX:v,deltaY:b,deltaMode:_}=g;h&&p&&_===0&&vc(c)===o&&s.scrollBy({left:v,top:b,behavior:"smooth"}),p=!1,r(lH,!0),d(()=>{p=!0,r(lH)}),iK(g)},{S:!1,$:!0}),Dbe(c,i),Bbe(e,o,i,n,s,t,l),f])},{min:kN,max:bH,abs:$be,round:Nbe}=Math,bK=(e,t,n,r)=>{if(r){const l=n?"x":"y",{Tt:c,zt:d}=r,f=d[l],h=c[l];return bH(0,kN(1,f/(f+h)))}const i=n?"width":"height",o=El(e)[i],s=El(t)[i];return bH(0,kN(1,o/s))},Fbe=(e,t,n,r,i,o)=>{const{B:s}=Go(),l=o?"x":"y",c=o?"Left":"Top",{Tt:d}=r,f=Nbe(d[l]),h=$be(n[`scroll${c}`]),p=o&&i,g=s.i?h:f-h,b=kN(1,(p?g:h)/f),_=bK(e,t,o);return 1/_*(1-_)*b},zbe=(e,t,n)=>{const{N:r,L:i}=Go(),{scrollbars:o}=r(),{slot:s}=o,{ct:l,W:c,Z:d,J:f,lt:h,ot:p,it:g,ut:v}=t,{scrollbars:b}=h?{}:e,{slot:_}=b||{},S=pK([c,d,f],()=>v&&g?c:d,s,_),w=(z,W,V)=>{const K=V?lc:p4;xn(z,j=>{K(j.Xt,W)})},y=(z,W)=>{xn(z,V=>{const[K,j]=W(V);Ki(K,j)})},C=(z,W,V)=>{y(z,K=>{const{Ft:j,Gt:Q}=K;return[j,{[V?"width":"height"]:`${(100*bK(j,Q,V,W)).toFixed(3)}%`}]})},I=(z,W,V)=>{const K=V?"X":"Y";y(z,j=>{const{Ft:Q,Gt:ne,Xt:oe}=j,ae=Fbe(Q,ne,p,W,Ab(oe),V);return[Q,{transform:ae===ae?`translate${K}(${(100*ae).toFixed(3)}%)`:""}]})},P=[],T=[],O=[],$=(z,W,V)=>{const K=l4(V),j=K?V:!0,Q=K?!V:!0;j&&w(T,z,W),Q&&w(O,z,W)},L=z=>{C(T,z,!0),C(O,z)},G=z=>{I(T,z,!0),I(O,z)},q=z=>{const W=z?J1e:ebe,V=z?T:O,K=c4(V)?iH:"",j=Nh(`${Wo} ${W} ${K}`),Q=Nh(fK),ne=Nh(b4),oe={Xt:j,Gt:Q,Ft:ne};return i||lc(j,K1e),js(j,Q),js(Q,ne),$n(V,oe),$n(P,[Nl.bind(0,j),n(oe,$,l,d,p,z)]),oe},H=q.bind(0,!0),D=q.bind(0,!1),F=()=>{js(S,T[0].Xt),js(S,O[0].Xt),oC(()=>{$(iH)},300)};return H(),D(),[{Ut:L,Wt:G,Zt:$,Jt:{Kt:T,Qt:H,tn:y.bind(0,T)},nn:{Kt:O,Qt:D,tn:y.bind(0,O)}},F,Xl.bind(0,P)]},Ube=(e,t,n,r)=>{let i,o,s,l,c,d=0;const f=gK({}),[h]=f,[p,g]=Xp(),[v,b]=Xp(),[_,S]=Xp(100),[w,y]=Xp(100),[C,I]=Xp(()=>d),[P,T,O]=zbe(e,n.qt,Lbe(t,n)),{Z:$,J:L,ot:G,st:q,ut:H,it:D}=n.qt,{Jt:F,nn:z,Zt:W,Ut:V,Wt:K}=P,{tn:j}=F,{tn:Q}=z,ne=me=>{const{Xt:de}=me,Se=H&&!D&&vc(de)===L&&de;return[Se,{transform:Se?`translate(${Qa(G)}px, ${ac(G)}px)`:""}]},oe=(me,de)=>{if(I(),me)W(aH);else{const Se=()=>W(aH,!0);d>0&&!de?C(Se):Se()}},ae=()=>{l=o,l&&oe(!0)},le=[S,I,y,b,g,O,si($,"pointerover",ae,{C:!0}),si($,"pointerenter",ae),si($,"pointerleave",()=>{l=!1,o&&oe(!1)}),si($,"pointermove",()=>{i&&p(()=>{S(),oe(!0),w(()=>{i&&oe(!1)})})}),si(q,"scroll",me=>{v(()=>{K(n()),s&&oe(!0),_(()=>{s&&!l&&oe(!1)})}),r(me),H&&j(ne),H&&Q(ne)})],se=h.bind(0);return se.qt=P,se.Nt=T,[(me,de,Se)=>{const{At:_e,Lt:ge,It:fe,yt:ye}=Se,{A:ce}=Go(),xe=MN(t,me,de),qe=n(),{Tt:Ae,Ct:st,bt:Nt}=qe,[Pe,Ke]=xe("showNativeOverlaidScrollbars"),[lt,pt]=xe("scrollbars.theme"),[Wt,ve]=xe("scrollbars.visibility"),[Ne,Qe]=xe("scrollbars.autoHide"),[Be]=xe("scrollbars.autoHideDelay"),[Ge,Oe]=xe("scrollbars.dragScroll"),[Ve,we]=xe("scrollbars.clickScroll"),ke=_e||ge||ye,ut=fe||ve,ft=Pe&&ce.x&&ce.y,It=(Kt,Or)=>{const cr=Wt==="visible"||Wt==="auto"&&Kt==="scroll";return W(tbe,cr,Or),cr};if(d=Be,Ke&&W(Q1e,ft),pt&&(W(c),W(lt,!0),c=lt),Qe&&(i=Ne==="move",o=Ne==="leave",s=Ne!=="never",oe(!s,!0)),Oe&&W(ibe,Ge),we&&W(rbe,Ve),ut){const Kt=It(st.x,!0),Or=It(st.y,!1);W(nbe,!(Kt&&Or))}ke&&(V(qe),K(qe),W(sH,!Ae.x,!0),W(sH,!Ae.y,!1),W(Z1e,Nt&&!D))},se,Xl.bind(0,le)]},xK=(e,t,n)=>{il(e)&&e(t||void 0,n||void 0)},ed=(e,t,n)=>{const{F:r,N:i,Y:o,j:s}=Go(),l=ip(),c=rC(e),d=c?e:e.target,f=mK(d);if(t&&!f){let h=!1;const p=H=>{const D=ip()[sbe],F=D&&D.O;return F?F(H,!0):H},g=Sr({},r(),p(t)),[v,b,_]=v4(n),[S,w,y]=Mbe(e,g),[C,I,P]=Ube(e,g,w,H=>_("scroll",[q,H])),T=(H,D)=>S(H,!!D),O=T.bind(0,{},!0),$=o(O),L=s(O),G=H=>{gbe(d),$(),L(),P(),y(),h=!0,_("destroyed",[q,!!H]),b()},q={options(H,D){if(H){const F=D?r():{},z=oK(g,Sr(F,p(H)));d4(z)||(Sr(g,z),T(z))}return Sr({},g)},on:v,off:(H,D)=>{H&&D&&b(H,D)},state(){const{zt:H,Tt:D,Ct:F,Et:z,K:W,St:V,bt:K}=w();return Sr({},{overflowEdge:H,overflowAmount:D,overflowStyle:F,hasOverflow:z,padding:W,paddingAbsolute:V,directionRTL:K,destroyed:h})},elements(){const{W:H,Z:D,K:F,J:z,tt:W,ot:V,st:K}=w.qt,{Jt:j,nn:Q}=I.qt,ne=ae=>{const{Ft:le,Gt:se,Xt:me}=ae;return{scrollbar:me,track:se,handle:le}},oe=ae=>{const{Kt:le,Qt:se}=ae,me=ne(le[0]);return Sr({},me,{clone:()=>{const de=ne(se());return C({},!0,{}),de}})};return Sr({},{target:H,host:D,padding:F||z,viewport:z,content:W||z,scrollOffsetElement:V,scrollEventElement:K,scrollbarHorizontal:oe(j),scrollbarVertical:oe(Q)})},update:H=>T({},H),destroy:G.bind(0)};return w.jt((H,D,F)=>{C(D,F,H)}),mbe(d,q),xn(Ts(l),H=>xK(l[H],0,q)),pbe(w.qt.it,i().cancel,!c&&e.cancel)?(G(!0),q):(w.Nt(),I.Nt(),_("initialized",[q]),w.jt((H,D,F)=>{const{gt:z,yt:W,vt:V,At:K,Lt:j,It:Q,wt:ne,Ot:oe}=H;_("updated",[q,{updateHints:{sizeChanged:z,directionChanged:W,heightIntrinsicChanged:V,overflowEdgeChanged:K,overflowAmountChanged:j,overflowStyleChanged:Q,contentMutation:ne,hostMutation:oe},changedOptions:D,force:F}])}),q.update(!0),q)}return f};ed.plugin=e=>{xn(obe(e),t=>xK(t,ed))};ed.valid=e=>{const t=e&&e.elements,n=il(t)&&t();return TN(n)&&!!mK(n.target)};ed.env=()=>{const{k:e,A:t,I:n,B:r,V:i,L:o,X:s,U:l,N:c,q:d,F:f,G:h}=Go();return Sr({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:i,cssCustomProperties:o,staticDefaultInitialization:s,staticDefaultOptions:l,getDefaultInitialization:c,setDefaultInitialization:d,getDefaultOptions:f,setDefaultOptions:h})};const Hbe=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",i=n.requestAnimationFrame,o=n.cancelAnimationFrame,s=r?n.requestIdleCallback:i,l=r?n.cancelIdleCallback:o,c=()=>{l(e),o(t)};return[(d,f)=>{c(),e=s(r?()=>{c(),t=i(d)}:d,typeof f=="object"?f:{timeout:2233})},c]},Wbe=e=>{const{options:t,events:n,defer:r}=e||{},[i,o]=R.useMemo(Hbe,[]),s=R.useRef(null),l=R.useRef(r),c=R.useRef(t),d=R.useRef(n);return R.useEffect(()=>{l.current=r},[r]),R.useEffect(()=>{const{current:f}=s;c.current=t,ed.valid(f)&&f.options(t||{},!0)},[t]),R.useEffect(()=>{const{current:f}=s;d.current=n,ed.valid(f)&&f.on(n||{},!0)},[n]),R.useEffect(()=>()=>{var f;o(),(f=s.current)==null||f.destroy()},[]),R.useMemo(()=>[f=>{const h=s.current;if(ed.valid(h))return;const p=l.current,g=c.current||{},v=d.current||{},b=()=>s.current=ed(f,g,v);p?i(b,p):b()},()=>s.current],[])},Gbe=(e,t)=>{const{element:n="div",options:r,events:i,defer:o,children:s,...l}=e,c=n,d=R.useRef(null),f=R.useRef(null),[h,p]=Wbe({options:r,events:i,defer:o});return R.useEffect(()=>{const{current:g}=d,{current:v}=f;return g&&v&&h({target:g,elements:{viewport:v,content:v}}),()=>{var b;return(b=p())==null?void 0:b.destroy()}},[h,n]),R.useImperativeHandle(t,()=>({osInstance:p,getElement:()=>d.current}),[]),et.createElement(c,{"data-overlayscrollbars-initialize":"",ref:d,...l},et.createElement("div",{ref:f},s))},Vbe=R.forwardRef(Gbe),wx=R.forwardRef(({children:e,x:t,y:n,px:r=6,...i},o)=>{const{palette:s,spacing:l}=In(),c=Ib({"div.os-scrollbar-vertical > div.os-scrollbar-track":{height:`calc(100% - ${l(r)})`,marginTop:l(r)}}),d=R.useCallback(f=>{if(o&&f){const h=f.elements().viewport;h&&(typeof o=="function"?o(h):o.current=h)}},[o]);return A(Vbe,{options:{overflow:{x:t?"scroll":"hidden",y:n?"scroll":"hidden"},scrollbars:{autoHide:"move",theme:s.mode==="dark"?"os-theme-light":"os-theme-dark"}},...i,className:`${c} ${i.className}`,events:{initialized:d},children:e})});function S4(){const e=In();return rme(e.breakpoints.down("sm"))}function Fy(e){if(typeof window>"u")return e;const t=R.useRef(null);return R.useLayoutEffect(()=>{t.current=e}),R.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const xH={};function jbe(e,t){xH[e]||(xH[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const Xbe={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function qbe({parentPopupState:e,popupId:t,variant:n,disableAutoFocus:r}){const i=R.useRef(!0);R.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const[o,s]=R.useState(Xbe),l=R.useCallback(w=>{i.current&&s(w)},[]),c=R.useCallback(w=>l(y=>({...y,setAnchorElUsed:!0,anchorEl:w??void 0})),[]),d=Fy(w=>(o.isOpen?p(w):f(w),o)),f=Fy(w=>{const y=w instanceof Element?void 0:w,C=w instanceof Element?w:(w==null?void 0:w.currentTarget)instanceof Element?w.currentTarget:void 0;if((y==null?void 0:y.type)==="touchstart"){l($=>({...$,_deferNextOpen:!0}));return}const I=y==null?void 0:y.clientX,P=y==null?void 0:y.clientY,T=typeof I=="number"&&typeof P=="number"?{left:I,top:P}:void 0,O=$=>{if(!w&&!$.setAnchorElUsed&&n!=="dialog"&&jbe("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return $;setTimeout(()=>e._setChildPopupState(S))}const L={...$,isOpen:!0,anchorPosition:T,hovered:(y==null?void 0:y.type)==="mouseover"||$.hovered,focused:(y==null?void 0:y.type)==="focus"||$.focused,_openEventType:y==null?void 0:y.type};return y!=null&&y.currentTarget?$.setAnchorElUsed||(L.anchorEl=y==null?void 0:y.currentTarget):C&&(L.anchorEl=C),L};l($=>$._deferNextOpen?(setTimeout(()=>l(O),0),{...$,_deferNextOpen:!1}):O($))}),h=w=>{const{_childPopupState:y}=w;return setTimeout(()=>{y==null||y.close(),e==null||e._setChildPopupState(null)}),{...w,isOpen:!1,hovered:!1,focused:!1}},p=Fy(w=>{const y=w instanceof Element?void 0:w;if((y==null?void 0:y.type)==="touchstart"){l(C=>({...C,_deferNextClose:!0}));return}l(C=>C._deferNextClose?(setTimeout(()=>l(h),0),{...C,_deferNextClose:!1}):h(C))}),g=R.useCallback((w,y)=>{w?f(y):p(y)},[]),v=Fy(w=>{const{relatedTarget:y}=w;l(C=>C.hovered&&!(y instanceof Element&&DN(y,S))?C.focused?{...C,hovered:!1}:h(C):C)}),b=Fy(w=>{if(!w)return;const{relatedTarget:y}=w;l(C=>C.focused&&!(y instanceof Element&&DN(y,S))?C.hovered?{...C,focused:!1}:h(C):C)}),_=R.useCallback(w=>l(y=>({...y,_childPopupState:w})),[]),S={...o,setAnchorEl:c,popupId:t,variant:n,open:f,close:p,toggle:d,setOpen:g,onBlur:b,onMouseLeave:v,disableAutoFocus:r??!!(o.hovered||o.focused),_setChildPopupState:_};return S}function Ybe({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e&&t!=null?t:void 0}:n==="popper"?{"aria-describedby":e&&t!=null?t:void 0}:void 0}}function C4(e){return{...Ybe(e),onClick:e.open,onTouchStart:e.open}}function AT({isOpen:e,anchorEl:t,anchorPosition:n,close:r,popupId:i,onMouseLeave:o,disableAutoFocus:s,_openEventType:l}){return{id:i,anchorEl:t,anchorPosition:n,anchorReference:l==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:o,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function Kbe(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function DN(e,t){const{anchorEl:n,_childPopupState:r}=t;return wH(n,e)||wH(Kbe(e,t),e)||r!=null&&DN(e,r)}function wH(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}function Mg({children:e,popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}){const o=qbe({popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}),s=e(o);return s??null}Mg.propTypes={children:wy.func.isRequired,popupId:wy.string,variant:wy.oneOf(["popover","popper"]).isRequired,parentPopupState:wy.object,disableAutoFocus:wy.bool};const Qbe=e=>e?48:36,Zbe=8;function Jbe({trigger:e,items:t,value:n,onChange:r,placeholder:i="Select Option"}){const o=S4(),s=re.max([re.findIndex(t,{value:n}),0])??0;return A(Mg,{variant:"popover",children:l=>he(wt,{children:[A(Ld,{title:i,children:A("span",{children:e==null?void 0:e(C4(l))})}),A(Pg,{...AT(l),anchorOrigin:{horizontal:"center",vertical:-Qbe(o)*s-Zbe},transformOrigin:{vertical:"top",horizontal:"center"},children:re.map(t,({value:c,label:d,disabled:f})=>A(hd,{disabled:f,value:c,selected:c===n,onClick:()=>{l.close(),r==null||r(c)},children:d},c))})]})})}function G1(e){const{placeholder:t,value:n,items:r=[],onChange:i}=e;return A(yx,{sx:{minWidth:120},select:!0,label:t,value:n,variant:"filled",...e,onChange:o=>i==null?void 0:i(o.target.value),children:re.map(r,o=>A(hd,{value:o.value,children:o.label},o.value))})}function xs({label:e,value:t,onChange:n,items:r,icon:i,showArrow:o,disabled:s}){const l=re.find(r,{id:t});return A(Jbe,{placeholder:re.startCase(e),trigger:c=>A($l,{...c,disabled:!(r!=null&&r.length)||s,startIcon:i,endIcon:o&&A($Y,{sx:{ml:-.5}}),children:(l==null?void 0:l.name)??e}),items:re.map(r,({id:c,name:d,description:f,hidden:h})=>({value:c,label:he(wt,{children:[A(jt,{children:d}),A(Gr,{}),A(jt,{variant:"body2",color:"text.secondary",children:f})]}),disabled:h})),value:l==null?void 0:l.id,onChange:n})}function Mb(){return Mb=Object.assign||function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var txe=["PropTypes"],nxe=function(t,n){return R.Children.toArray(t).reduce(function(r,i){if(R.isValidElement(i)){var o=i.type.displayName;n!=null&&n.includes(o)&&(r[o]=i.props)}return r},{})},rxe=function(t,n){var r=R.Children.toArray(t).filter(function(i){if(R.isValidElement(i)){var o=i.type.displayName;return!(n!=null&&n.includes(o))}return!0});return r.length>0?r:void 0},ixe=function(t){return typeof t=="string"&&!txe.includes(t)&&t.match(/^[A-Z0-9]/)},oxe=function(t){var n=R.memo(function(r){var i=r.children,o=r.propagateSlotProps,s=r.slotKeys,l=s===void 0?[]:s,c=exe(r,["children","propagateSlotProps","slotKeys"]),d=R.useMemo(function(){return nxe(i,l)},[l,i]),f=R.useMemo(function(){return rxe(i,l)},[l,i]),h=R.useMemo(function(){return Mb({},c,{slotProps:Mb({},o,d)})},[c,d,o]);return R.createElement(t,h,f)});return n},sxe=function(t){var n=R.memo(oxe(t));n.displayName="WithSlots("+(t.displayName||t.name)+")";var r=new Proxy(n,{get:function(o,s,l){var c;if(s in o||typeof s=="symbol"||!ixe(s))return Reflect.get(o,s,l);var d=((c=Reflect.get(o,"defaultProps"))==null?void 0:c.slotKeys)||[],f=Reflect.get(o,s);if(!f){var h=function(){return null};h.displayName=s,Reflect.set(o,s,h)}return Reflect.set(o,"defaultProps",Mb({},o.defaultProps,{slotKeys:[].concat(d,[s])})),Reflect.get(o,s,l)}});return r};const wK=[],_K=[{url:"internal://d2-renderer/",key:"d2-renderer",transport:"native"}],qp=4,axe={renderer:_K,remote:wK,playbackRate:qp,theme:"dark",acrylic:!0,accentColor:"blue"},[ql,lxe]=jl({},w1e("settings",axe)),{common:cWe,...uxe}=uj,cxe=` + */function xn(e,t){if(ET(e))for(let n=0;nt(e[n],n,e));return e}function Ki(e,t){const n=$d(t);if(ol(t)||n){let i=n?"":{};if(e){const o=window.getComputedStyle(e,null);i=n?Q8(e,o,t):t.reduce((s,l)=>(s[l]=Q8(e,o,l),s),i)}return i}e&&xn(Ts(t),i=>F1e(e,i,t[i]))}const Ua=(e,t)=>{const{o:n,u:r,_:i}=e;let o=n,s;const l=(f,h)=>{const p=o,g=f,v=h||(r?!r(p,g):p!==g);return(v||i)&&(o=g,s=p),[o,v,s]};return[t?f=>l(t(o,s),f):l,f=>[o,!!f,s]]},bx=()=>typeof window<"u",XY=bx()&&Node.ELEMENT_NODE,{toString:C1e,hasOwnProperty:xD}=Object.prototype,Sc=e=>e===void 0,CT=e=>e===null,E1e=e=>Sc(e)||CT(e)?`${e}`:C1e.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),pd=e=>typeof e=="number",$d=e=>typeof e=="string",l4=e=>typeof e=="boolean",il=e=>typeof e=="function",ol=e=>Array.isArray(e),Rb=e=>typeof e=="object"&&!ol(e)&&!CT(e),ET=e=>{const t=!!e&&e.length,n=pd(t)&&t>-1&&t%1==0;return ol(e)||!il(e)&&n?t>0&&Rb(e)?t-1 in e:!0:!1},TN=e=>{if(!e||!Rb(e)||E1e(e)!=="object")return!1;let t;const n="constructor",r=e[n],i=r&&r.prototype,o=xD.call(e,n),s=i&&xD.call(i,"isPrototypeOf");if(r&&!o&&!s)return!1;for(t in e);return Sc(t)||xD.call(e,t)},rC=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===XY:!1},TT=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===XY:!1},u4=(e,t,n)=>e.indexOf(t,n),$n=(e,t,n)=>(!n&&!$d(t)&&ET(t)?Array.prototype.push.apply(e,t):e.push(t),e),rp=e=>{const t=Array.from,n=[];return t&&e?t(e):(e instanceof Set?e.forEach(r=>{$n(n,r)}):xn(e,r=>{$n(n,r)}),n)},c4=e=>!!e&&e.length===0,Xl=(e,t,n)=>{xn(e,i=>i&&i.apply(void 0,t||[])),!n&&(e.length=0)},IT=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ts=e=>e?Object.keys(e):[],Sr=(e,t,n,r,i,o,s)=>{const l=[t,n,r,i,o,s];return(typeof e!="object"||CT(e))&&!il(e)&&(e={}),xn(l,c=>{xn(Ts(c),d=>{const f=c[d];if(e===f)return!0;const h=ol(f);if(f&&(TN(f)||h)){const p=e[d];let g=p;h&&!ol(p)?g=[]:!h&&!TN(p)&&(g={}),e[d]=Sr(g,f)}else e[d]=f})}),e},d4=e=>{for(const t in e)return!1;return!0},qY=(e,t,n,r)=>{if(Sc(r))return n?n[e]:t;n&&($d(r)||pd(r))&&(n[e]=r)},qi=(e,t,n)=>{if(Sc(n))return e?e.getAttribute(t):null;e&&e.setAttribute(t,n)},Io=(e,t)=>{e&&e.removeAttribute(t)},$h=(e,t,n,r)=>{if(n){const i=qi(e,t)||"",o=new Set(i.split(" "));o[r?"add":"delete"](n);const s=rp(o).join(" ").trim();qi(e,t,s)}},T1e=(e,t,n)=>{const r=qi(e,t)||"";return new Set(r.split(" ")).has(n)},Qa=(e,t)=>qY("scrollLeft",0,e,t),ac=(e,t)=>qY("scrollTop",0,e,t),IN=bx()&&Element.prototype,YY=(e,t)=>{const n=[],r=t?TT(t)?t:null:document;return r?$n(n,r.querySelectorAll(e)):n},I1e=(e,t)=>{const n=t?TT(t)?t:null:document;return n?n.querySelector(e):null},iC=(e,t)=>TT(e)?(IN.matches||IN.msMatchesSelector).call(e,t):!1,f4=e=>e?rp(e.childNodes):[],vc=e=>e?e.parentElement:null,vm=(e,t)=>{if(TT(e)){const n=IN.closest;if(n)return n.call(e,t);do{if(iC(e,t))return e;e=vc(e)}while(e)}return null},R1e=(e,t,n)=>{const r=e&&vm(e,t),i=e&&I1e(n,r),o=vm(i,t)===r;return r&&i?r===e||i===e||o&&vm(vm(e,n),t)!==r:!1},h4=(e,t,n)=>{if(n&&e){let r=t,i;ET(n)?(i=document.createDocumentFragment(),xn(n,o=>{o===r&&(r=o.previousSibling),i.appendChild(o)})):i=n,t&&(r?r!==t&&(r=r.nextSibling):r=e.firstChild),e.insertBefore(i,r||null)}},js=(e,t)=>{h4(e,null,t)},A1e=(e,t)=>{h4(vc(e),e,t)},q8=(e,t)=>{h4(vc(e),e&&e.nextSibling,t)},Nl=e=>{if(ET(e))xn(rp(e),t=>Nl(t));else if(e){const t=vc(e);t&&t.removeChild(e)}},Nh=e=>{const t=document.createElement("div");return e&&qi(t,"class",e),t},KY=e=>{const t=Nh();return t.innerHTML=e.trim(),xn(f4(t),n=>Nl(n))},RN=e=>e.charAt(0).toUpperCase()+e.slice(1),P1e=()=>Nh().style,M1e=["-webkit-","-moz-","-o-","-ms-"],O1e=["WebKit","Moz","O","MS","webkit","moz","o","ms"],wD={},_D={},k1e=e=>{let t=_D[e];if(IT(_D,e))return t;const n=RN(e),r=P1e();return xn(M1e,i=>{const o=i.replace(/-/g,"");return!(t=[e,i+e,o+n,RN(o)+n].find(l=>r[l]!==void 0))}),_D[e]=t||""},xx=e=>{if(bx()){let t=wD[e]||window[e];return IT(wD,e)||(xn(O1e,n=>(t=t||window[n+RN(e)],!t)),wD[e]=t),t}},D1e=xx("MutationObserver"),Y8=xx("IntersectionObserver"),ym=xx("ResizeObserver"),QY=xx("cancelAnimationFrame"),ZY=xx("requestAnimationFrame"),oC=bx()&&window.setTimeout,AN=bx()&&window.clearTimeout,B1e=/[^\x20\t\r\n\f]+/g,JY=(e,t,n)=>{const r=e&&e.classList;let i,o=0,s=!1;if(r&&t&&$d(t)){const l=t.match(B1e)||[];for(s=l.length>0;i=l[o++];)s=!!n(r,i)&&s}return s},p4=(e,t)=>{JY(e,t,(n,r)=>n.remove(r))},lc=(e,t)=>(JY(e,t,(n,r)=>n.add(r)),p4.bind(0,e,t)),RT=(e,t,n,r)=>{if(e&&t){let i=!0;return xn(n,o=>{const s=r?r(e[o]):e[o],l=r?r(t[o]):t[o];s!==l&&(i=!1)}),i}return!1},eK=(e,t)=>RT(e,t,["w","h"]),tK=(e,t)=>RT(e,t,["x","y"]),L1e=(e,t)=>RT(e,t,["t","r","b","l"]),K8=(e,t,n)=>RT(e,t,["width","height"],n&&(r=>Math.round(r))),Ws=()=>{},Xp=e=>{let t;const n=e?oC:ZY,r=e?AN:QY;return[i=>{r(t),t=n(i,il(e)?e():e)},()=>r(t)]},m4=(e,t)=>{let n,r,i,o=Ws;const{v:s,g:l,p:c}=t||{},d=function(v){o(),AN(n),n=r=void 0,o=Ws,e.apply(this,v)},f=g=>c&&r?c(r,g):g,h=()=>{o!==Ws&&d(f(i)||i)},p=function(){const v=rp(arguments),b=il(s)?s():s;if(pd(b)&&b>=0){const S=il(l)?l():l,w=pd(S)&&S>=0,y=b>0?oC:ZY,C=b>0?AN:QY,P=f(v)||v,T=d.bind(0,P);o();const O=y(T,b);o=()=>C(O),w&&!n&&(n=oC(h,S)),r=i=P}else d(v)};return p.m=h,p},$1e={opacity:1,zindex:1},Ew=(e,t)=>{const n=t?parseFloat(e):parseInt(e,10);return n===n?n:0},N1e=(e,t)=>!$1e[e.toLowerCase()]&&pd(t)?`${t}px`:t,Q8=(e,t,n)=>t!=null?t[n]||t.getPropertyValue(n):e.style[n],F1e=(e,t,n)=>{try{const{style:r}=e;Sc(r[t])?r.setProperty(t,n):r[t]=N1e(t,n)}catch{}},Ab=e=>Ki(e,"direction")==="rtl",Z8=(e,t,n)=>{const r=t?`${t}-`:"",i=n?`-${n}`:"",o=`${r}top${i}`,s=`${r}right${i}`,l=`${r}bottom${i}`,c=`${r}left${i}`,d=Ki(e,[o,s,l,c]);return{t:Ew(d[o],!0),r:Ew(d[s],!0),b:Ew(d[l],!0),l:Ew(d[c],!0)}},{round:J8}=Math,g4={w:0,h:0},Pb=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:g4,q_=e=>e?{w:e.clientWidth,h:e.clientHeight}:g4,sC=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:g4,aC=e=>{const t=parseFloat(Ki(e,"height"))||0,n=parseFloat(Ki(e,"width"))||0;return{w:n-J8(n),h:t-J8(t)}},El=e=>e.getBoundingClientRect();let Tw;const z1e=()=>{if(Sc(Tw)){Tw=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Tw=!0}}))}catch{}}return Tw},nK=e=>e.split(" "),U1e=(e,t,n,r)=>{xn(nK(t),i=>{e.removeEventListener(i,n,r)})},si=(e,t,n,r)=>{var i;const o=z1e(),s=(i=o&&r&&r.S)!=null?i:o,l=r&&r.$||!1,c=r&&r.C||!1,d=[],f=o?{passive:s,capture:l}:l;return xn(nK(t),h=>{const p=c?g=>{e.removeEventListener(h,p,l),n&&n(g)}:n;$n(d,U1e.bind(null,e,h,p,l)),e.addEventListener(h,p,f)}),Xl.bind(0,d)},rK=e=>e.stopPropagation(),iK=e=>e.preventDefault(),H1e={x:0,y:0},SD=e=>{const t=e?El(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:H1e},eH=(e,t)=>{xn(ol(t)?t:[t],e)},v4=e=>{const t=new Map,n=(o,s)=>{if(o){const l=t.get(o);eH(c=>{l&&l[c?"delete":"clear"](c)},s)}else t.forEach(l=>{l.clear()}),t.clear()},r=(o,s)=>{if($d(o)){const d=t.get(o)||new Set;return t.set(o,d),eH(f=>{il(f)&&d.add(f)},s),n.bind(0,o,s)}l4(s)&&s&&n();const l=Ts(o),c=[];return xn(l,d=>{const f=o[d];f&&$n(c,r(d,f))}),Xl.bind(0,c)},i=(o,s)=>{const l=t.get(o);xn(rp(l),c=>{s&&!c4(s)?c.apply(0,s):c()})};return r(e||{}),[r,n,i]},tH=e=>JSON.stringify(e,(t,n)=>{if(il(n))throw new Error;return n}),W1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},oK=(e,t)=>{const n={},r=Ts(t).concat(Ts(e));return xn(r,i=>{const o=e[i],s=t[i];if(Rb(o)&&Rb(s))Sr(n[i]={},oK(o,s)),d4(n[i])&&delete n[i];else if(IT(t,i)&&s!==o){let l=!0;if(ol(o)||ol(s))try{tH(o)===tH(s)&&(l=!1)}catch{}l&&(n[i]=s)}}),n},sK="os-environment",aK=`${sK}-flexbox-glue`,G1e=`${aK}-max`,lK="os-scrollbar-hidden",CD="data-overlayscrollbars-initialize",Ha="data-overlayscrollbars",uK=`${Ha}-overflow-x`,cK=`${Ha}-overflow-y`,Dm="overflowVisible",V1e="scrollbarHidden",nH="scrollbarPressed",lC="updating",zc="data-overlayscrollbars-viewport",ED="arrange",dK="scrollbarHidden",Bm=Dm,PN="data-overlayscrollbars-padding",j1e=Bm,rH="data-overlayscrollbars-content",y4="os-size-observer",X1e=`${y4}-appear`,q1e=`${y4}-listener`,Y1e="os-trinsic-observer",K1e="os-no-css-vars",Q1e="os-theme-none",Wo="os-scrollbar",Z1e=`${Wo}-rtl`,J1e=`${Wo}-horizontal`,ebe=`${Wo}-vertical`,fK=`${Wo}-track`,b4=`${Wo}-handle`,tbe=`${Wo}-visible`,nbe=`${Wo}-cornerless`,iH=`${Wo}-transitionless`,oH=`${Wo}-interaction`,sH=`${Wo}-unusable`,aH=`${Wo}-auto-hidden`,lH=`${Wo}-wheel`,rbe=`${fK}-interactive`,ibe=`${b4}-interactive`,hK={},ip=()=>hK,obe=e=>{const t=[];return xn(ol(e)?e:[e],n=>{const r=Ts(n);xn(r,i=>{$n(t,hK[i]=n[i])})}),t},sbe="__osOptionsValidationPlugin",abe="__osSizeObserverPlugin",x4="__osScrollbarsHidingPlugin",lbe="__osClickScrollPlugin";let TD;const uH=(e,t,n,r)=>{js(e,t);const i=q_(t),o=Pb(t),s=aC(n);return r&&Nl(t),{x:o.h-i.h+s.h,y:o.w-i.w+s.w}},ube=e=>{let t=!1;const n=lc(e,lK);try{t=Ki(e,k1e("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return n(),t},cbe=(e,t)=>{const n="hidden";Ki(e,{overflowX:n,overflowY:n,direction:"rtl"}),Qa(e,0);const r=SD(e),i=SD(t);Qa(e,-999);const o=SD(t);return{i:r.x===i.x,n:i.x!==o.x}},dbe=(e,t)=>{const n=lc(e,aK),r=El(e),i=El(t),o=K8(i,r,!0),s=lc(e,G1e),l=El(e),c=El(t),d=K8(c,l,!0);return n(),s(),o&&d},fbe=()=>{const{body:e}=document,n=KY(`
`)[0],r=n.firstChild,[i,,o]=v4(),[s,l]=Ua({o:uH(e,n,r),u:tK},uH.bind(0,e,n,r,!0)),[c]=l(),d=ube(n),f={x:c.x===0,y:c.y===0},h={elements:{host:null,padding:!d,viewport:w=>d&&w===w.ownerDocument.body&&w,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=Sr({},W1e),g=Sr.bind(0,{},p),v=Sr.bind(0,{},h),b={k:c,A:f,I:d,L:Ki(n,"zIndex")==="-1",B:cbe(n,r),V:dbe(n,r),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:v,q:w=>Sr(h,w)&&v(),F:g,G:w=>Sr(p,w)&&g(),X:Sr({},h),U:Sr({},p)},_=window.addEventListener,S=m4(w=>o(w?"z":"r"),{v:33,g:99});if(Io(n,"style"),Nl(n),_("resize",S.bind(0,!1)),!d&&(!f.x||!f.y)){let w;_("resize",()=>{const y=ip()[x4];w=w||y&&y.R(),w&&w(b,s,S.bind(0,!0))})}return b},Go=()=>(TD||(TD=fbe()),TD),w4=(e,t)=>il(t)?t.apply(0,e):t,hbe=(e,t,n,r)=>{const i=Sc(r)?n:r;return w4(e,i)||t.apply(0,e)},pK=(e,t,n,r)=>{const i=Sc(r)?n:r,o=w4(e,i);return!!o&&(rC(o)?o:t.apply(0,e))},pbe=(e,t,n)=>{const{nativeScrollbarsOverlaid:r,body:i}=n||{},{A:o,I:s}=Go(),{nativeScrollbarsOverlaid:l,body:c}=t,d=r??l,f=Sc(i)?c:i,h=(o.x||o.y)&&d,p=e&&(CT(f)?!s:f);return!!h||!!p},_4=new WeakMap,mbe=(e,t)=>{_4.set(e,t)},gbe=e=>{_4.delete(e)},mK=e=>_4.get(e),cH=(e,t)=>e?t.split(".").reduce((n,r)=>n&&IT(n,r)?n[r]:void 0,e):void 0,MN=(e,t,n)=>r=>[cH(e,r),n||cH(t,r)!==void 0],gK=e=>{let t=e;return[()=>t,n=>{t=Sr({},t,n)}]},Iw="tabindex",Rw=Nh.bind(0,""),ID=e=>{js(vc(e),f4(e)),Nl(e)},vbe=e=>{const t=Go(),{N:n,I:r}=t,i=ip()[x4],o=i&&i.T,{elements:s}=n(),{host:l,padding:c,viewport:d,content:f}=s,h=rC(e),p=h?{}:e,{elements:g}=p,{host:v,padding:b,viewport:_,content:S}=g||{},w=h?e:p.target,y=iC(w,"textarea"),C=w.ownerDocument,I=C.documentElement,P=w===C.body,T=C.defaultView,O=hbe.bind(0,[w]),$=pK.bind(0,[w]),L=w4.bind(0,[w]),G=O.bind(0,Rw,d),q=$.bind(0,Rw,f),H=G(_),D=H===w,F=D&&P,z=!D&&q(S),W=!D&&rC(H)&&H===z,V=W&&!!L(f),K=V?G():H,j=V?z:q(),ne=F?I:W?K:H,oe=y?O(Rw,l,v):w,ae=F?ne:oe,le=W?j:z,se=C.activeElement,me=!D&&T.top===T&&se===w,de={W:w,Z:ae,J:ne,K:!D&&$(Rw,c,b),tt:le,nt:!D&&!r&&o&&o(t),ot:F?I:ne,st:F?C:ne,et:T,ct:C,rt:y,it:P,lt:h,ut:D,dt:W,ft:(lt,pt)=>T1e(ne,D?Ha:zc,D?pt:lt),_t:(lt,pt,Wt)=>$h(ne,D?Ha:zc,D?pt:lt,Wt)},Se=Ts(de).reduce((lt,pt)=>{const Wt=de[pt];return $n(lt,Wt&&!vc(Wt)?Wt:!1)},[]),_e=lt=>lt?u4(Se,lt)>-1:null,{W:ge,Z:fe,K:ye,J:ce,tt:xe,nt:qe}=de,Ae=[()=>{Io(fe,Ha),Io(fe,CD),Io(ge,CD),P&&(Io(I,Ha),Io(I,CD))}],st=y&&_e(fe);let Nt=y?ge:f4([xe,ce,ye,fe,ge].find(lt=>_e(lt)===!1));const Pe=F?ge:xe||ce;return[de,()=>{qi(fe,Ha,D?"viewport":"host"),qi(ye,PN,""),qi(xe,rH,""),D||qi(ce,zc,"");const lt=P&&!D?lc(vc(w),lK):Ws;if(st&&(q8(ge,fe),$n(Ae,()=>{q8(fe,ge),Nl(fe)})),js(Pe,Nt),js(fe,ye),js(ye||fe,!D&&ce),js(ce,xe),$n(Ae,()=>{lt(),Io(ye,PN),Io(xe,rH),Io(ce,uK),Io(ce,cK),Io(ce,zc),_e(xe)&&ID(xe),_e(ce)&&ID(ce),_e(ye)&&ID(ye)}),r&&!D&&($h(ce,zc,dK,!0),$n(Ae,Io.bind(0,ce,zc))),qe&&(A1e(ce,qe),$n(Ae,Nl.bind(0,qe))),me){const pt=qi(ce,Iw);qi(ce,Iw,"-1"),ce.focus();const Wt=()=>pt?qi(ce,Iw,pt):Io(ce,Iw),ve=si(C,"pointerdown keydown",()=>{Wt(),ve()});$n(Ae,[Wt,ve])}else se&&se.focus&&se.focus();Nt=0},Xl.bind(0,Ae)]},ybe=(e,t)=>{const{tt:n}=e,[r]=t;return i=>{const{V:o}=Go(),{ht:s}=r(),{vt:l}=i,c=(n||!o)&&l;return c&&Ki(n,{height:s?"":"100%"}),{gt:c,wt:c}}},bbe=(e,t)=>{const[n,r]=t,{Z:i,K:o,J:s,ut:l}=e,[c,d]=Ua({u:L1e,o:Z8()},Z8.bind(0,i,"padding",""));return(f,h,p)=>{let[g,v]=d(p);const{I:b,V:_}=Go(),{bt:S}=n(),{gt:w,wt:y,yt:C}=f,[I,P]=h("paddingAbsolute");(w||v||!_&&y)&&([g,v]=c(p));const O=!l&&(P||C||v);if(O){const $=!I||!o&&!b,L=g.r+g.l,G=g.t+g.b,q={marginRight:$&&!S?-L:0,marginBottom:$?-G:0,marginLeft:$&&S?-L:0,top:$?-g.t:0,right:$?S?-g.r:"auto":0,left:$?S?"auto":-g.l:0,width:$?`calc(100% + ${L}px)`:""},H={paddingTop:$?g.t:0,paddingRight:$?g.r:0,paddingBottom:$?g.b:0,paddingLeft:$?g.l:0};Ki(o||s,q),Ki(s,H),r({K:g,St:!$,P:o?H:Sr({},q,H)})}return{xt:O}}},{max:ON}=Math,Uc=ON.bind(0,0),vK="visible",dH="hidden",xbe=42,Aw={u:eK,o:{w:0,h:0}},wbe={u:tK,o:{x:dH,y:dH}},_be=(e,t)=>{const n=window.devicePixelRatio%1!==0?1:0,r={w:Uc(e.w-t.w),h:Uc(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},Pw=e=>e.indexOf(vK)===0,Sbe=(e,t)=>{const[n,r]=t,{Z:i,K:o,J:s,nt:l,ut:c,_t:d,it:f,et:h}=e,{k:p,V:g,I:v,A:b}=Go(),_=ip()[x4],S=!c&&!v&&(b.x||b.y),w=f&&c,[y,C]=Ua(Aw,aC.bind(0,s)),[I,P]=Ua(Aw,sC.bind(0,s)),[T,O]=Ua(Aw),[$,L]=Ua(Aw),[G]=Ua(wbe),q=(V,K)=>{if(Ki(s,{height:""}),K){const{St:j,K:Q}=n(),{$t:ne,D:oe}=V,ae=aC(i),le=q_(i),se=Ki(s,"boxSizing")==="content-box",me=j||se?Q.b+Q.t:0,de=!(b.x&&se);Ki(s,{height:le.h+ae.h+(ne.x&&de?oe.x:0)-me})}},H=(V,K)=>{const j=!v&&!V?xbe:0,Q=(_e,ge,fe)=>{const ye=Ki(s,_e),xe=(K?K[_e]:ye)==="scroll";return[ye,xe,xe&&!v?ge?j:fe:0,ge&&!!j]},[ne,oe,ae,le]=Q("overflowX",b.x,p.x),[se,me,de,Se]=Q("overflowY",b.y,p.y);return{Ct:{x:ne,y:se},$t:{x:oe,y:me},D:{x:ae,y:de},M:{x:le,y:Se}}},D=(V,K,j,Q)=>{const ne=(me,de)=>{const Se=Pw(me),_e=de&&Se&&me.replace(`${vK}-`,"")||"";return[de&&!Se?me:"",Pw(_e)?"hidden":_e]},[oe,ae]=ne(j.x,K.x),[le,se]=ne(j.y,K.y);return Q.overflowX=ae&&le?ae:oe,Q.overflowY=se&&oe?se:le,H(V,Q)},F=(V,K,j,Q)=>{const{D:ne,M:oe}=V,{x:ae,y:le}=oe,{x:se,y:me}=ne,{P:de}=n(),Se=K?"marginLeft":"marginRight",_e=K?"paddingLeft":"paddingRight",ge=de[Se],fe=de.marginBottom,ye=de[_e],ce=de.paddingBottom;Q.width=`calc(100% + ${me+-1*ge}px)`,Q[Se]=-me+ge,Q.marginBottom=-se+fe,j&&(Q[_e]=ye+(le?me:0),Q.paddingBottom=ce+(ae?se:0))},[z,W]=_?_.H(S,g,s,l,n,H,F):[()=>S,()=>[Ws]];return(V,K,j)=>{const{gt:Q,Ot:ne,wt:oe,xt:ae,vt:le,yt:se}=V,{ht:me,bt:de}=n(),[Se,_e]=K("showNativeOverlaidScrollbars"),[ge,fe]=K("overflow"),ye=Se&&b.x&&b.y,ce=!c&&!g&&(Q||oe||ne||_e||le),xe=Pw(ge.x),qe=Pw(ge.y),Ae=xe||qe;let st=C(j),Nt=P(j),Pe=O(j),Ke=L(j),lt;if(_e&&v&&d(dK,V1e,!ye),ce&&(lt=H(ye),q(lt,me)),Q||ae||oe||se||_e){Ae&&d(Bm,Dm,!1);const[ft,It]=W(ye,de,lt),[Kt,Or]=st=y(j),[cr,ul]=Nt=I(j),Eo=q_(s);let Ui=cr,To=Eo;ft(),(ul||Or||_e)&&It&&!ye&&z(It,cr,Kt,de)&&(To=q_(s),Ui=sC(s));const ua={w:Uc(ON(cr.w,Ui.w)+Kt.w),h:Uc(ON(cr.h,Ui.h)+Kt.h)},jo={w:Uc((w?h.innerWidth:To.w+Uc(Eo.w-cr.w))+Kt.w),h:Uc((w?h.innerHeight+Kt.h:To.h+Uc(Eo.h-cr.h))+Kt.h)};Ke=$(jo),Pe=T(_be(ua,jo),j)}const[pt,Wt]=Ke,[ve,Ne]=Pe,[Qe,Be]=Nt,[Ge,Oe]=st,Ve={x:ve.w>0,y:ve.h>0},we=xe&&qe&&(Ve.x||Ve.y)||xe&&Ve.x&&!Ve.y||qe&&Ve.y&&!Ve.x;if(ae||se||Oe||Be||Wt||Ne||fe||_e||ce){const ft={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},It=D(ye,Ve,ge,ft),Kt=z(It,Qe,Ge,de);c||F(It,de,Kt,ft),ce&&q(It,me),c?(qi(i,uK,ft.overflowX),qi(i,cK,ft.overflowY)):Ki(s,ft)}$h(i,Ha,Dm,we),$h(o,PN,j1e,we),c||$h(s,zc,Bm,Ae);const[ke,ut]=G(H(ye).Ct);return r({Ct:ke,zt:{x:pt.w,y:pt.h},Tt:{x:ve.w,y:ve.h},Et:Ve}),{It:ut,At:Wt,Lt:Ne}}},fH=(e,t,n)=>{const r={},i=t||{},o=Ts(e).concat(Ts(i));return xn(o,s=>{const l=e[s],c=i[s];r[s]=!!(n||l||c)}),r},Cbe=(e,t)=>{const{W:n,J:r,_t:i,ut:o}=e,{I:s,A:l,V:c}=Go(),d=!s&&(l.x||l.y),f=[ybe(e,t),bbe(e,t),Sbe(e,t)];return(h,p,g)=>{const v=fH(Sr({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},p),{},g),b=d||!c,_=b&&Qa(r),S=b&&ac(r);i("",lC,!0);let w=v;return xn(f,y=>{w=fH(w,y(w,h,!!g)||{},g)}),Qa(r,_),ac(r,S),i("",lC),o||(Qa(n,0),ac(n,0)),w}},Ebe=(e,t,n)=>{let r,i=!1;const o=()=>{i=!0},s=l=>{if(n){const c=n.reduce((d,f)=>{if(f){const[h,p]=f,g=p&&h&&(l?l(h):YY(h,e));g&&g.length&&p&&$d(p)&&$n(d,[g,p.trim()],!0)}return d},[]);xn(c,d=>xn(d[0],f=>{const h=d[1],p=r.get(f)||[];if(e.contains(f)){const v=si(f,h,b=>{i?(v(),r.delete(f)):t(b)});r.set(f,$n(p,v))}else Xl(p),r.delete(f)}))}};return n&&(r=new WeakMap,s()),[o,s]},hH=(e,t,n,r)=>{let i=!1;const{Ht:o,Pt:s,Dt:l,Mt:c,Rt:d,kt:f}=r||{},h=m4(()=>{i&&n(!0)},{v:33,g:99}),[p,g]=Ebe(e,h,l),v=o||[],b=s||[],_=v.concat(b),S=(y,C)=>{const I=d||Ws,P=f||Ws,T=new Set,O=new Set;let $=!1,L=!1;if(xn(y,G=>{const{attributeName:q,target:H,type:D,oldValue:F,addedNodes:z,removedNodes:W}=G,V=D==="attributes",K=D==="childList",j=e===H,Q=V&&$d(q)?qi(H,q):0,ne=Q!==0&&F!==Q,oe=u4(b,q)>-1&≠if(t&&(K||!j)){const ae=!V,le=V&&ne,se=le&&c&&iC(H,c),de=(se?!I(H,q,F,Q):ae||le)&&!P(G,!!se,e,r);xn(z,Se=>T.add(Se)),xn(W,Se=>T.add(Se)),L=L||de}!t&&j&&ne&&!I(H,q,F,Q)&&(O.add(q),$=$||oe)}),T.size>0&&g(G=>rp(T).reduce((q,H)=>($n(q,YY(G,H)),iC(H,G)?$n(q,H):q),[])),t)return!C&&L&&n(!1),[!1];if(O.size>0||$){const G=[rp(O),$];return!C&&n.apply(0,G),G}},w=new D1e(y=>S(y));return w.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:_,subtree:t,childList:t,characterData:t}),i=!0,[()=>{i&&(p(),w.disconnect(),i=!1)},()=>{if(i){h.m();const y=w.takeRecords();return!c4(y)&&S(y,!0)}}]},Mw=3333333,Ow=e=>e&&(e.height||e.width),yK=(e,t,n)=>{const{Bt:r=!1,Vt:i=!1}=n||{},o=ip()[abe],{B:s}=Go(),c=KY(`
`)[0],d=c.firstChild,f=Ab.bind(0,e),[h]=Ua({o:void 0,_:!0,u:(b,_)=>!(!b||!Ow(b)&&Ow(_))}),p=b=>{const _=ol(b)&&b.length>0&&Rb(b[0]),S=!_&&l4(b[0]);let w=!1,y=!1,C=!0;if(_){const[I,,P]=h(b.pop().contentRect),T=Ow(I),O=Ow(P);w=!P||!T,y=!O&&T,C=!w}else S?[,C]=b:y=b===!0;if(r&&C){const I=S?b[0]:Ab(c);Qa(c,I?s.n?-Mw:s.i?0:Mw:Mw),ac(c,Mw)}w||t({gt:!S,Yt:S?b:void 0,Vt:!!y})},g=[];let v=i?p:!1;return[()=>{Xl(g),Nl(c)},()=>{if(ym){const b=new ym(p);b.observe(d),$n(g,()=>{b.disconnect()})}else if(o){const[b,_]=o.O(d,p,i);v=b,$n(g,_)}if(r){const[b]=Ua({o:void 0},f);$n(g,si(c,"scroll",_=>{const S=b(),[w,y,C]=S;y&&(p4(d,"ltr rtl"),w?lc(d,"rtl"):lc(d,"ltr"),p([!!w,y,C])),rK(_)}))}v&&(lc(c,X1e),$n(g,si(c,"animationstart",v,{C:!!ym}))),(ym||o)&&js(e,c)}]},Tbe=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,Ibe=(e,t)=>{let n;const r=Nh(Y1e),i=[],[o]=Ua({o:!1}),s=(c,d)=>{if(c){const f=o(Tbe(c)),[,h]=f;if(h)return!d&&t(f),[f]}},l=(c,d)=>{if(c&&c.length>0)return s(c.pop(),d)};return[()=>{Xl(i),Nl(r)},()=>{if(Y8)n=new Y8(c=>l(c),{root:e}),n.observe(r),$n(i,()=>{n.disconnect()});else{const c=()=>{const h=Pb(r);s(h)},[d,f]=yK(r,c);$n(i,d),f(),c()}js(e,r)},()=>{if(n)return l(n.takeRecords(),!0)}]},pH=`[${Ha}]`,Rbe=`[${zc}]`,RD=["tabindex"],mH=["wrap","cols","rows"],AD=["id","class","style","open"],Abe=(e,t,n)=>{let r,i,o;const{Z:s,J:l,tt:c,rt:d,ut:f,ft:h,_t:p}=e,{V:g}=Go(),[v]=Ua({u:eK,o:{w:0,h:0}},()=>{const D=h(Bm,Dm),F=h(ED,""),z=F&&Qa(l),W=F&&ac(l);p(Bm,Dm),p(ED,""),p("",lC,!0);const V=sC(c),K=sC(l),j=aC(l);return p(Bm,Dm,D),p(ED,"",F),p("",lC),Qa(l,z),ac(l,W),{w:K.w+V.w+j.w,h:K.h+V.h+j.h}}),b=d?mH:AD.concat(mH),_=m4(n,{v:()=>r,g:()=>i,p(D,F){const[z]=D,[W]=F;return[Ts(z).concat(Ts(W)).reduce((V,K)=>(V[K]=z[K]||W[K],V),{})]}}),S=D=>{xn(D||RD,F=>{if(u4(RD,F)>-1){const z=qi(s,F);$d(z)?qi(l,F,z):Io(l,F)}})},w=(D,F)=>{const[z,W]=D,V={vt:W};return t({ht:z}),!F&&n(V),V},y=({gt:D,Yt:F,Vt:z})=>{const W=!D||z?n:_;let V=!1;if(F){const[K,j]=F;V=j,t({bt:K})}W({gt:D,yt:V})},C=(D,F)=>{const[,z]=v(),W={wt:z};return z&&!F&&(D?n:_)(W),W},I=(D,F,z)=>{const W={Ot:F};return F?!z&&_(W):f||S(D),W},[P,T,O]=c||!g?Ibe(s,w):[Ws,Ws,Ws],[$,L]=f?[Ws,Ws]:yK(s,y,{Vt:!0,Bt:!0}),[G,q]=hH(s,!1,I,{Pt:AD,Ht:AD.concat(RD)}),H=f&&ym&&new ym(y.bind(0,{gt:!0}));return H&&H.observe(s),S(),[()=>{P(),$(),o&&o[0](),H&&H.disconnect(),G()},()=>{L(),T()},()=>{const D={},F=q(),z=O(),W=o&&o[1]();return F&&Sr(D,I.apply(0,$n(F,!0))),z&&Sr(D,w.apply(0,$n(z,!0))),W&&Sr(D,C.apply(0,$n(W,!0))),D},D=>{const[F]=D("update.ignoreMutation"),[z,W]=D("update.attributes"),[V,K]=D("update.elementEvents"),[j,Q]=D("update.debounce"),ne=K||W,oe=ae=>il(F)&&F(ae);if(ne&&(o&&(o[1](),o[0]()),o=hH(c||l,!0,C,{Ht:b.concat(z||[]),Dt:V,Mt:pH,kt:(ae,le)=>{const{target:se,attributeName:me}=ae;return(!le&&me&&!f?R1e(se,pH,Rbe):!1)||!!vm(se,`.${Wo}`)||!!oe(ae)}})),Q)if(_.m(),ol(j)){const ae=j[0],le=j[1];r=pd(ae)&&ae,i=pd(le)&&le}else pd(j)?(r=j,i=!1):(r=!1,i=!1)}]},gH={x:0,y:0},Pbe=e=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:gH,Tt:gH,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:Ab(e.Z)}),Mbe=(e,t)=>{const n=MN(t,{}),[r,i,o]=v4(),[s,l,c]=vbe(e),d=gK(Pbe(s)),[f,h]=d,p=Cbe(s,d),g=(y,C,I)=>{const T=Ts(y).some(O=>y[O])||!d4(C)||I;return T&&o("u",[y,C,I]),T},[v,b,_,S]=Abe(s,h,y=>g(p(n,y),{},!1)),w=f.bind(0);return w.jt=y=>r("u",y),w.Nt=()=>{const{W:y,J:C}=s,I=Qa(y),P=ac(y);b(),l(),Qa(C,I),ac(C,P)},w.qt=s,[(y,C)=>{const I=MN(t,y,C);return S(I),g(p(I,_(),C),y,!!C)},w,()=>{i(),v(),c()}]},{round:vH}=Math,Obe=e=>{const{width:t,height:n}=El(e),{w:r,h:i}=Pb(e);return{x:vH(t)/r||1,y:vH(n)/i||1}},kbe=(e,t,n)=>{const r=t.scrollbars,{button:i,isPrimary:o,pointerType:s}=e,{pointers:l}=r;return i===0&&o&&r[n?"dragScroll":"clickScroll"]&&(l||[]).includes(s)},Dbe=(e,t)=>si(e,"mousedown",si.bind(0,t,"click",rK,{C:!0,$:!0}),{$:!0}),yH="pointerup pointerleave pointercancel lostpointercapture",Bbe=(e,t,n,r,i,o,s)=>{const{B:l}=Go(),{Ft:c,Gt:d,Xt:f}=r,h=`scroll${s?"Left":"Top"}`,p=`client${s?"X":"Y"}`,g=s?"width":"height",v=s?"left":"top",b=s?"w":"h",_=s?"x":"y",S=(w,y)=>C=>{const{Tt:I}=o(),P=Pb(d)[b]-Pb(c)[b],O=y*C/P*I[_],L=Ab(f)&&s?l.n||l.i?1:-1:1;i[h]=w+O*L};return si(d,"pointerdown",w=>{const y=vm(w.target,`.${b4}`)===c,C=y?c:d;if($h(t,Ha,nH,!0),kbe(w,e,y)){const I=!y&&w.shiftKey,P=()=>El(c),T=()=>El(d),O=(K,j)=>(K||P())[v]-(j||T())[v],$=S(i[h]||0,1/Obe(i)[_]),L=w[p],G=P(),q=T(),H=G[g],D=O(G,q)+H/2,F=L-q[v],z=y?0:F-D,W=K=>{Xl(V),C.releasePointerCapture(K.pointerId)},V=[$h.bind(0,t,Ha,nH),si(n,yH,W),si(n,"selectstart",K=>iK(K),{S:!1}),si(d,yH,W),si(d,"pointermove",K=>{const j=K[p]-L;(y||I)&&$(z+j)})];if(I)$(z);else if(!y){const K=ip()[lbe];K&&$n(V,K.O($,O,z,H,F))}C.setPointerCapture(w.pointerId)}})},Lbe=(e,t)=>(n,r,i,o,s,l)=>{const{Xt:c}=n,[d,f]=Xp(333),h=!!s.scrollBy;let p=!0;return Xl.bind(0,[si(c,"pointerenter",()=>{r(oH,!0)}),si(c,"pointerleave pointercancel",()=>{r(oH)}),si(c,"wheel",g=>{const{deltaX:v,deltaY:b,deltaMode:_}=g;h&&p&&_===0&&vc(c)===o&&s.scrollBy({left:v,top:b,behavior:"smooth"}),p=!1,r(lH,!0),d(()=>{p=!0,r(lH)}),iK(g)},{S:!1,$:!0}),Dbe(c,i),Bbe(e,o,i,n,s,t,l),f])},{min:kN,max:bH,abs:$be,round:Nbe}=Math,bK=(e,t,n,r)=>{if(r){const l=n?"x":"y",{Tt:c,zt:d}=r,f=d[l],h=c[l];return bH(0,kN(1,f/(f+h)))}const i=n?"width":"height",o=El(e)[i],s=El(t)[i];return bH(0,kN(1,o/s))},Fbe=(e,t,n,r,i,o)=>{const{B:s}=Go(),l=o?"x":"y",c=o?"Left":"Top",{Tt:d}=r,f=Nbe(d[l]),h=$be(n[`scroll${c}`]),p=o&&i,g=s.i?h:f-h,b=kN(1,(p?g:h)/f),_=bK(e,t,o);return 1/_*(1-_)*b},zbe=(e,t,n)=>{const{N:r,L:i}=Go(),{scrollbars:o}=r(),{slot:s}=o,{ct:l,W:c,Z:d,J:f,lt:h,ot:p,it:g,ut:v}=t,{scrollbars:b}=h?{}:e,{slot:_}=b||{},S=pK([c,d,f],()=>v&&g?c:d,s,_),w=(z,W,V)=>{const K=V?lc:p4;xn(z,j=>{K(j.Xt,W)})},y=(z,W)=>{xn(z,V=>{const[K,j]=W(V);Ki(K,j)})},C=(z,W,V)=>{y(z,K=>{const{Ft:j,Gt:Q}=K;return[j,{[V?"width":"height"]:`${(100*bK(j,Q,V,W)).toFixed(3)}%`}]})},I=(z,W,V)=>{const K=V?"X":"Y";y(z,j=>{const{Ft:Q,Gt:ne,Xt:oe}=j,ae=Fbe(Q,ne,p,W,Ab(oe),V);return[Q,{transform:ae===ae?`translate${K}(${(100*ae).toFixed(3)}%)`:""}]})},P=[],T=[],O=[],$=(z,W,V)=>{const K=l4(V),j=K?V:!0,Q=K?!V:!0;j&&w(T,z,W),Q&&w(O,z,W)},L=z=>{C(T,z,!0),C(O,z)},G=z=>{I(T,z,!0),I(O,z)},q=z=>{const W=z?J1e:ebe,V=z?T:O,K=c4(V)?iH:"",j=Nh(`${Wo} ${W} ${K}`),Q=Nh(fK),ne=Nh(b4),oe={Xt:j,Gt:Q,Ft:ne};return i||lc(j,K1e),js(j,Q),js(Q,ne),$n(V,oe),$n(P,[Nl.bind(0,j),n(oe,$,l,d,p,z)]),oe},H=q.bind(0,!0),D=q.bind(0,!1),F=()=>{js(S,T[0].Xt),js(S,O[0].Xt),oC(()=>{$(iH)},300)};return H(),D(),[{Ut:L,Wt:G,Zt:$,Jt:{Kt:T,Qt:H,tn:y.bind(0,T)},nn:{Kt:O,Qt:D,tn:y.bind(0,O)}},F,Xl.bind(0,P)]},Ube=(e,t,n,r)=>{let i,o,s,l,c,d=0;const f=gK({}),[h]=f,[p,g]=Xp(),[v,b]=Xp(),[_,S]=Xp(100),[w,y]=Xp(100),[C,I]=Xp(()=>d),[P,T,O]=zbe(e,n.qt,Lbe(t,n)),{Z:$,J:L,ot:G,st:q,ut:H,it:D}=n.qt,{Jt:F,nn:z,Zt:W,Ut:V,Wt:K}=P,{tn:j}=F,{tn:Q}=z,ne=me=>{const{Xt:de}=me,Se=H&&!D&&vc(de)===L&&de;return[Se,{transform:Se?`translate(${Qa(G)}px, ${ac(G)}px)`:""}]},oe=(me,de)=>{if(I(),me)W(aH);else{const Se=()=>W(aH,!0);d>0&&!de?C(Se):Se()}},ae=()=>{l=o,l&&oe(!0)},le=[S,I,y,b,g,O,si($,"pointerover",ae,{C:!0}),si($,"pointerenter",ae),si($,"pointerleave",()=>{l=!1,o&&oe(!1)}),si($,"pointermove",()=>{i&&p(()=>{S(),oe(!0),w(()=>{i&&oe(!1)})})}),si(q,"scroll",me=>{v(()=>{K(n()),s&&oe(!0),_(()=>{s&&!l&&oe(!1)})}),r(me),H&&j(ne),H&&Q(ne)})],se=h.bind(0);return se.qt=P,se.Nt=T,[(me,de,Se)=>{const{At:_e,Lt:ge,It:fe,yt:ye}=Se,{A:ce}=Go(),xe=MN(t,me,de),qe=n(),{Tt:Ae,Ct:st,bt:Nt}=qe,[Pe,Ke]=xe("showNativeOverlaidScrollbars"),[lt,pt]=xe("scrollbars.theme"),[Wt,ve]=xe("scrollbars.visibility"),[Ne,Qe]=xe("scrollbars.autoHide"),[Be]=xe("scrollbars.autoHideDelay"),[Ge,Oe]=xe("scrollbars.dragScroll"),[Ve,we]=xe("scrollbars.clickScroll"),ke=_e||ge||ye,ut=fe||ve,ft=Pe&&ce.x&&ce.y,It=(Kt,Or)=>{const cr=Wt==="visible"||Wt==="auto"&&Kt==="scroll";return W(tbe,cr,Or),cr};if(d=Be,Ke&&W(Q1e,ft),pt&&(W(c),W(lt,!0),c=lt),Qe&&(i=Ne==="move",o=Ne==="leave",s=Ne!=="never",oe(!s,!0)),Oe&&W(ibe,Ge),we&&W(rbe,Ve),ut){const Kt=It(st.x,!0),Or=It(st.y,!1);W(nbe,!(Kt&&Or))}ke&&(V(qe),K(qe),W(sH,!Ae.x,!0),W(sH,!Ae.y,!1),W(Z1e,Nt&&!D))},se,Xl.bind(0,le)]},xK=(e,t,n)=>{il(e)&&e(t||void 0,n||void 0)},ed=(e,t,n)=>{const{F:r,N:i,Y:o,j:s}=Go(),l=ip(),c=rC(e),d=c?e:e.target,f=mK(d);if(t&&!f){let h=!1;const p=H=>{const D=ip()[sbe],F=D&&D.O;return F?F(H,!0):H},g=Sr({},r(),p(t)),[v,b,_]=v4(n),[S,w,y]=Mbe(e,g),[C,I,P]=Ube(e,g,w,H=>_("scroll",[q,H])),T=(H,D)=>S(H,!!D),O=T.bind(0,{},!0),$=o(O),L=s(O),G=H=>{gbe(d),$(),L(),P(),y(),h=!0,_("destroyed",[q,!!H]),b()},q={options(H,D){if(H){const F=D?r():{},z=oK(g,Sr(F,p(H)));d4(z)||(Sr(g,z),T(z))}return Sr({},g)},on:v,off:(H,D)=>{H&&D&&b(H,D)},state(){const{zt:H,Tt:D,Ct:F,Et:z,K:W,St:V,bt:K}=w();return Sr({},{overflowEdge:H,overflowAmount:D,overflowStyle:F,hasOverflow:z,padding:W,paddingAbsolute:V,directionRTL:K,destroyed:h})},elements(){const{W:H,Z:D,K:F,J:z,tt:W,ot:V,st:K}=w.qt,{Jt:j,nn:Q}=I.qt,ne=ae=>{const{Ft:le,Gt:se,Xt:me}=ae;return{scrollbar:me,track:se,handle:le}},oe=ae=>{const{Kt:le,Qt:se}=ae,me=ne(le[0]);return Sr({},me,{clone:()=>{const de=ne(se());return C({},!0,{}),de}})};return Sr({},{target:H,host:D,padding:F||z,viewport:z,content:W||z,scrollOffsetElement:V,scrollEventElement:K,scrollbarHorizontal:oe(j),scrollbarVertical:oe(Q)})},update:H=>T({},H),destroy:G.bind(0)};return w.jt((H,D,F)=>{C(D,F,H)}),mbe(d,q),xn(Ts(l),H=>xK(l[H],0,q)),pbe(w.qt.it,i().cancel,!c&&e.cancel)?(G(!0),q):(w.Nt(),I.Nt(),_("initialized",[q]),w.jt((H,D,F)=>{const{gt:z,yt:W,vt:V,At:K,Lt:j,It:Q,wt:ne,Ot:oe}=H;_("updated",[q,{updateHints:{sizeChanged:z,directionChanged:W,heightIntrinsicChanged:V,overflowEdgeChanged:K,overflowAmountChanged:j,overflowStyleChanged:Q,contentMutation:ne,hostMutation:oe},changedOptions:D,force:F}])}),q.update(!0),q)}return f};ed.plugin=e=>{xn(obe(e),t=>xK(t,ed))};ed.valid=e=>{const t=e&&e.elements,n=il(t)&&t();return TN(n)&&!!mK(n.target)};ed.env=()=>{const{k:e,A:t,I:n,B:r,V:i,L:o,X:s,U:l,N:c,q:d,F:f,G:h}=Go();return Sr({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,rtlScrollBehavior:r,flexboxGlue:i,cssCustomProperties:o,staticDefaultInitialization:s,staticDefaultOptions:l,getDefaultInitialization:c,setDefaultInitialization:d,getDefaultOptions:f,setDefaultOptions:h})};const Hbe=()=>{if(typeof window>"u"){const d=()=>{};return[d,d]}let e,t;const n=window,r=typeof n.requestIdleCallback=="function",i=n.requestAnimationFrame,o=n.cancelAnimationFrame,s=r?n.requestIdleCallback:i,l=r?n.cancelIdleCallback:o,c=()=>{l(e),o(t)};return[(d,f)=>{c(),e=s(r?()=>{c(),t=i(d)}:d,typeof f=="object"?f:{timeout:2233})},c]},Wbe=e=>{const{options:t,events:n,defer:r}=e||{},[i,o]=R.useMemo(Hbe,[]),s=R.useRef(null),l=R.useRef(r),c=R.useRef(t),d=R.useRef(n);return R.useEffect(()=>{l.current=r},[r]),R.useEffect(()=>{const{current:f}=s;c.current=t,ed.valid(f)&&f.options(t||{},!0)},[t]),R.useEffect(()=>{const{current:f}=s;d.current=n,ed.valid(f)&&f.on(n||{},!0)},[n]),R.useEffect(()=>()=>{var f;o(),(f=s.current)==null||f.destroy()},[]),R.useMemo(()=>[f=>{const h=s.current;if(ed.valid(h))return;const p=l.current,g=c.current||{},v=d.current||{},b=()=>s.current=ed(f,g,v);p?i(b,p):b()},()=>s.current],[])},Gbe=(e,t)=>{const{element:n="div",options:r,events:i,defer:o,children:s,...l}=e,c=n,d=R.useRef(null),f=R.useRef(null),[h,p]=Wbe({options:r,events:i,defer:o});return R.useEffect(()=>{const{current:g}=d,{current:v}=f;return g&&v&&h({target:g,elements:{viewport:v,content:v}}),()=>{var b;return(b=p())==null?void 0:b.destroy()}},[h,n]),R.useImperativeHandle(t,()=>({osInstance:p,getElement:()=>d.current}),[]),et.createElement(c,{"data-overlayscrollbars-initialize":"",ref:d,...l},et.createElement("div",{ref:f},s))},Vbe=R.forwardRef(Gbe),wx=R.forwardRef(({children:e,x:t,y:n,px:r=6,...i},o)=>{const{palette:s,spacing:l}=In(),c=Ib({"div.os-scrollbar-vertical > div.os-scrollbar-track":{height:`calc(100% - ${l(r)})`,marginTop:l(r)}}),d=R.useCallback(f=>{if(o&&f){const h=f.elements().viewport;h&&(typeof o=="function"?o(h):o.current=h)}},[o]);return A(Vbe,{options:{overflow:{x:t?"scroll":"hidden",y:n?"scroll":"hidden"},scrollbars:{autoHide:"move",theme:s.mode==="dark"?"os-theme-light":"os-theme-dark"}},...i,className:`${c} ${i.className}`,events:{initialized:d},children:e})});function S4(){const e=In();return rme(e.breakpoints.down("sm"))}function Fy(e){if(typeof window>"u")return e;const t=R.useRef(null);return R.useLayoutEffect(()=>{t.current=e}),R.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const xH={};function jbe(e,t){xH[e]||(xH[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const Xbe={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function qbe({parentPopupState:e,popupId:t,variant:n,disableAutoFocus:r}){const i=R.useRef(!0);R.useEffect(()=>(i.current=!0,()=>{i.current=!1}),[]);const[o,s]=R.useState(Xbe),l=R.useCallback(w=>{i.current&&s(w)},[]),c=R.useCallback(w=>l(y=>({...y,setAnchorElUsed:!0,anchorEl:w??void 0})),[]),d=Fy(w=>(o.isOpen?p(w):f(w),o)),f=Fy(w=>{const y=w instanceof Element?void 0:w,C=w instanceof Element?w:(w==null?void 0:w.currentTarget)instanceof Element?w.currentTarget:void 0;if((y==null?void 0:y.type)==="touchstart"){l($=>({...$,_deferNextOpen:!0}));return}const I=y==null?void 0:y.clientX,P=y==null?void 0:y.clientY,T=typeof I=="number"&&typeof P=="number"?{left:I,top:P}:void 0,O=$=>{if(!w&&!$.setAnchorElUsed&&n!=="dialog"&&jbe("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return $;setTimeout(()=>e._setChildPopupState(S))}const L={...$,isOpen:!0,anchorPosition:T,hovered:(y==null?void 0:y.type)==="mouseover"||$.hovered,focused:(y==null?void 0:y.type)==="focus"||$.focused,_openEventType:y==null?void 0:y.type};return y!=null&&y.currentTarget?$.setAnchorElUsed||(L.anchorEl=y==null?void 0:y.currentTarget):C&&(L.anchorEl=C),L};l($=>$._deferNextOpen?(setTimeout(()=>l(O),0),{...$,_deferNextOpen:!1}):O($))}),h=w=>{const{_childPopupState:y}=w;return setTimeout(()=>{y==null||y.close(),e==null||e._setChildPopupState(null)}),{...w,isOpen:!1,hovered:!1,focused:!1}},p=Fy(w=>{const y=w instanceof Element?void 0:w;if((y==null?void 0:y.type)==="touchstart"){l(C=>({...C,_deferNextClose:!0}));return}l(C=>C._deferNextClose?(setTimeout(()=>l(h),0),{...C,_deferNextClose:!1}):h(C))}),g=R.useCallback((w,y)=>{w?f(y):p(y)},[]),v=Fy(w=>{const{relatedTarget:y}=w;l(C=>C.hovered&&!(y instanceof Element&&DN(y,S))?C.focused?{...C,hovered:!1}:h(C):C)}),b=Fy(w=>{if(!w)return;const{relatedTarget:y}=w;l(C=>C.focused&&!(y instanceof Element&&DN(y,S))?C.hovered?{...C,focused:!1}:h(C):C)}),_=R.useCallback(w=>l(y=>({...y,_childPopupState:w})),[]),S={...o,setAnchorEl:c,popupId:t,variant:n,open:f,close:p,toggle:d,setOpen:g,onBlur:b,onMouseLeave:v,disableAutoFocus:r??!!(o.hovered||o.focused),_setChildPopupState:_};return S}function Ybe({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e&&t!=null?t:void 0}:n==="popper"?{"aria-describedby":e&&t!=null?t:void 0}:void 0}}function C4(e){return{...Ybe(e),onClick:e.open,onTouchStart:e.open}}function AT({isOpen:e,anchorEl:t,anchorPosition:n,close:r,popupId:i,onMouseLeave:o,disableAutoFocus:s,_openEventType:l}){return{id:i,anchorEl:t,anchorPosition:n,anchorReference:l==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:o,...s&&{autoFocus:!1,disableAutoFocusItem:!0,disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function Kbe(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function DN(e,t){const{anchorEl:n,_childPopupState:r}=t;return wH(n,e)||wH(Kbe(e,t),e)||r!=null&&DN(e,r)}function wH(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}function Mg({children:e,popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}){const o=qbe({popupId:t,variant:n,parentPopupState:r,disableAutoFocus:i}),s=e(o);return s??null}Mg.propTypes={children:wy.func.isRequired,popupId:wy.string,variant:wy.oneOf(["popover","popper"]).isRequired,parentPopupState:wy.object,disableAutoFocus:wy.bool};const Qbe=e=>e?48:36,Zbe=8;function Jbe({trigger:e,items:t,value:n,onChange:r,placeholder:i="Select Option"}){const o=S4(),s=re.max([re.findIndex(t,{value:n}),0])??0;return A(Mg,{variant:"popover",children:l=>he(wt,{children:[A(Ld,{title:i,children:A("span",{children:e==null?void 0:e(C4(l))})}),A(Pg,{...AT(l),anchorOrigin:{horizontal:"center",vertical:-Qbe(o)*s-Zbe},transformOrigin:{vertical:"top",horizontal:"center"},children:re.map(t,({value:c,label:d,disabled:f})=>A(hd,{disabled:f,value:c,selected:c===n,onClick:()=>{l.close(),r==null||r(c)},children:d},c))})]})})}function G1(e){const{placeholder:t,value:n,items:r=[],onChange:i}=e;return A(yx,{sx:{minWidth:120},select:!0,label:t,value:n,variant:"filled",...e,onChange:o=>i==null?void 0:i(o.target.value),children:re.map(r,o=>A(hd,{value:o.value,children:o.label},o.value))})}function xs({label:e,value:t,onChange:n,items:r,icon:i,showArrow:o,disabled:s}){const l=re.find(r,{id:t});return A(Jbe,{placeholder:re.startCase(e),trigger:c=>A($l,{...c,disabled:!(r!=null&&r.length)||s,startIcon:i,endIcon:o&&A($Y,{sx:{ml:-.5}}),children:(l==null?void 0:l.name)??e}),items:re.map(r,({id:c,name:d,description:f,hidden:h})=>({value:c,label:he(wt,{children:[A(jt,{children:d}),A(Gr,{}),A(jt,{variant:"body2",color:"text.secondary",children:f})]}),disabled:h})),value:l==null?void 0:l.id,onChange:n})}function Mb(){return Mb=Object.assign||function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var txe=["PropTypes"],nxe=function(t,n){return R.Children.toArray(t).reduce(function(r,i){if(R.isValidElement(i)){var o=i.type.displayName;n!=null&&n.includes(o)&&(r[o]=i.props)}return r},{})},rxe=function(t,n){var r=R.Children.toArray(t).filter(function(i){if(R.isValidElement(i)){var o=i.type.displayName;return!(n!=null&&n.includes(o))}return!0});return r.length>0?r:void 0},ixe=function(t){return typeof t=="string"&&!txe.includes(t)&&t.match(/^[A-Z0-9]/)},oxe=function(t){var n=R.memo(function(r){var i=r.children,o=r.propagateSlotProps,s=r.slotKeys,l=s===void 0?[]:s,c=exe(r,["children","propagateSlotProps","slotKeys"]),d=R.useMemo(function(){return nxe(i,l)},[l,i]),f=R.useMemo(function(){return rxe(i,l)},[l,i]),h=R.useMemo(function(){return Mb({},c,{slotProps:Mb({},o,d)})},[c,d,o]);return R.createElement(t,h,f)});return n},sxe=function(t){var n=R.memo(oxe(t));n.displayName="WithSlots("+(t.displayName||t.name)+")";var r=new Proxy(n,{get:function(o,s,l){var c;if(s in o||typeof s=="symbol"||!ixe(s))return Reflect.get(o,s,l);var d=((c=Reflect.get(o,"defaultProps"))==null?void 0:c.slotKeys)||[],f=Reflect.get(o,s);if(!f){var h=function(){return null};h.displayName=s,Reflect.set(o,s,h)}return Reflect.set(o,"defaultProps",Mb({},o.defaultProps,{slotKeys:[].concat(d,[s])})),Reflect.get(o,s,l)}});return r};const wK=[{url:"https://cdn.jsdelivr.net/gh/path-visualiser/app@adapter-warthog-wasm-dist/warthog-wasm.mjs",transport:"ipc",key:"default-ipc"}],_K=[{url:"internal://d2-renderer/",key:"d2-renderer",transport:"native"}],qp=4,axe={renderer:_K,remote:wK,playbackRate:qp,theme:"dark",acrylic:!0,accentColor:"blue"},[ql,lxe]=jl({},w1e("settings",axe)),{common:cWe,...uxe}=uj,cxe=` 0px 8px 18px -1px rgb(0 0 0 / 8%), 0px 10px 48px 0px rgb(0 0 0 / 1%), 0px 20px 96px 0px rgb(0 0 0 / 0.5%) diff --git a/index.html b/index.html index 9fc35ccb..dfc75787 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ Waypoint - +