From 41eb20c50fbc685b8ed4b37548434991e4ed6ca3 Mon Sep 17 00:00:00 2001 From: haishanh Date: Sun, 12 Feb 2023 15:03:37 +0000 Subject: [PATCH] Push to gh-pages --- .nojekyll | 0 CNAME | 1 + _headers | 12 ++ apple-touch-icon-precomposed.png | Bin 0 -> 3766 bytes assets/Config-35023b66.css | 1 + assets/Config-b8a90983.js | 1 + assets/Connections-2c1d9d67.js | 1 + assets/Connections-fb8ea59b.css | 1 + assets/Fab-169bb281.js | 1 + assets/Fab-a0a7e573.css | 1 + assets/Logs-4b8e75d1.css | 1 + assets/Logs-ad267e02.js | 1 + assets/Proxies-869a8128.js | 1 + assets/Proxies-bee4beaa.css | 1 + assets/Rules-6bba7454.js | 1 + assets/Rules-e11cb70e.css | 1 + assets/Select-1e55eba1.css | 1 + assets/Select-4fa356cc.js | 1 + assets/TextFitler-4f121c73.js | 1 + assets/TextFitler-b21c0577.css | 1 + assets/chart-lib-ced68107.js | 16 +++ assets/chevron-down-fcc32a65.js | 1 + assets/debounce-c1ba2006.js | 1 + assets/en-0b55644c.js | 1 + assets/index-2a3ca6b4.js | 1 + assets/index-3e6aad90.js | 130 ++++++++++++++++++ assets/index-534e085e.js | 9 ++ assets/index-8c12d331.css | 1 + assets/index.esm-37f2c08f.js | 1 + assets/inter-latin-400-normal-0364d368.woff2 | Bin 0 -> 16708 bytes assets/inter-latin-400-normal-3ea830d4.woff | Bin 0 -> 21420 bytes assets/inter-latin-800-normal-a51ac27d.woff2 | Bin 0 -> 17764 bytes assets/inter-latin-800-normal-d08d7178.woff | Bin 0 -> 22712 bytes assets/logs-08774dd8.js | 2 + assets/play-30aef65c.js | 1 + ...oboto-mono-latin-400-normal-7295944e.woff2 | Bin 0 -> 12312 bytes ...roboto-mono-latin-400-normal-dffdffa7.woff | Bin 0 -> 15160 bytes assets/useRemainingViewPortHeight-175c2a6c.js | 1 + assets/zh-972d6106.js | 1 + index.html | 24 ++++ manifest.webmanifest | 1 + registerSW.js | 1 + sw.js | 2 + yacd-128.png | Bin 0 -> 7703 bytes yacd-64.png | Bin 0 -> 3433 bytes yacd.ico | Bin 0 -> 5430 bytes 46 files changed, 223 insertions(+) create mode 100644 .nojekyll create mode 100644 CNAME create mode 100644 _headers create mode 100644 apple-touch-icon-precomposed.png create mode 100644 assets/Config-35023b66.css create mode 100644 assets/Config-b8a90983.js create mode 100644 assets/Connections-2c1d9d67.js create mode 100644 assets/Connections-fb8ea59b.css create mode 100644 assets/Fab-169bb281.js create mode 100644 assets/Fab-a0a7e573.css create mode 100644 assets/Logs-4b8e75d1.css create mode 100644 assets/Logs-ad267e02.js create mode 100644 assets/Proxies-869a8128.js create mode 100644 assets/Proxies-bee4beaa.css create mode 100644 assets/Rules-6bba7454.js create mode 100644 assets/Rules-e11cb70e.css create mode 100644 assets/Select-1e55eba1.css create mode 100644 assets/Select-4fa356cc.js create mode 100644 assets/TextFitler-4f121c73.js create mode 100644 assets/TextFitler-b21c0577.css create mode 100644 assets/chart-lib-ced68107.js create mode 100644 assets/chevron-down-fcc32a65.js create mode 100644 assets/debounce-c1ba2006.js create mode 100644 assets/en-0b55644c.js create mode 100644 assets/index-2a3ca6b4.js create mode 100644 assets/index-3e6aad90.js create mode 100644 assets/index-534e085e.js create mode 100644 assets/index-8c12d331.css create mode 100644 assets/index.esm-37f2c08f.js create mode 100644 assets/inter-latin-400-normal-0364d368.woff2 create mode 100644 assets/inter-latin-400-normal-3ea830d4.woff create mode 100644 assets/inter-latin-800-normal-a51ac27d.woff2 create mode 100644 assets/inter-latin-800-normal-d08d7178.woff create mode 100644 assets/logs-08774dd8.js create mode 100644 assets/play-30aef65c.js create mode 100644 assets/roboto-mono-latin-400-normal-7295944e.woff2 create mode 100644 assets/roboto-mono-latin-400-normal-dffdffa7.woff create mode 100644 assets/useRemainingViewPortHeight-175c2a6c.js create mode 100644 assets/zh-972d6106.js create mode 100644 index.html create mode 100644 manifest.webmanifest create mode 100644 registerSW.js create mode 100644 sw.js create mode 100644 yacd-128.png create mode 100644 yacd-64.png create mode 100644 yacd.ico diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..356aa6f --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +yacd.haishan.me diff --git a/_headers b/_headers new file mode 100644 index 0000000..877d928 --- /dev/null +++ b/_headers @@ -0,0 +1,12 @@ +# for netlify hosting +# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file + +/* + X-Frame-Options: DENY + X-XSS-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Referrer-Policy: same-origin +/*.css + Cache-Control: public, max-age=31536000, immutable +/*.js + Cache-Control: public, max-age=31536000, immutable diff --git a/apple-touch-icon-precomposed.png b/apple-touch-icon-precomposed.png new file mode 100644 index 0000000000000000000000000000000000000000..e83c40f5fc12f51c02fe0a3f3080a608319b0775 GIT binary patch literal 3766 zcmb`Kc{~)}*T=^`$i7V03SX2x*~d0^3R%ZC*0M7ahOwKei4Y|rOUjaMFim3_Vko{M zOZI(85;6=C4L`r<&*$Ig`QzMk?z!*tI)B`IUa$LkWNU54!6wWG001~F%#H2NeaU|f z$b7!`pmE4^#|k%hi39-H`TlEkfWns-&y#eKc4iPj!xzzw^9`fF;VnY|pedXEuQw9_ zz-eV+Z0LZX+b&*;wC@w>)A&bF^?3obQt*>{_k-mpDzE75*ev)83#6W2O}K0`w3J(Q zs9YDqKDhKJuh#byKC#TZ20JlWC%sPdW~rTDGsq}CRdEaR zPh&rk!!uOh7|*!Xr^BUkhLk~@XP1>PllY+AWL9|$g;CHLLC-D$PGRCH=}HCKcp0K( z8vpOd2p6VaFYoYu)i>&sQ;u)<%~=;lr}FL5uR1Jsox8Jql}Sa~aW^}ne%_=-RO}gh zbi`YPI!xw`=w0mFSe233-JZ<0vdSLE%jG)+YzZfBcPw4KyZ47K>URg%c!NjLl%XQQ zjcWxLU5ifCd5gVsTAU@vxV;3#??q?Mhwu)b3cE6c))TF&Z)tVM zORxFaqgp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i;0PIF_J%waJq?i$AO}3Wv%F26?yQ;g)bI^qykqN>Oiutm7i|sy_qCO`T!eNQv zXOzYoH!w_c=jAwcoc(xiauO>~I(q|qypNHm%}D0puesf>eg1s)U8(?#7s%tJthX8* z?v`QeCA6w^M=ibZtZK@z46ln)Vup;>uc4t1P+aN>13voL$@W!!;O89~Uc5yRD!+G- zD`QmD|MKye^3;Y@dlukR9Y>1tYJFEpO%T4V0?!T!C7eF~P`dd!^lhl{Z91Ub6q#Q5 z@3!W296w>nOi*EHu2INNj%a#Oh0}O4qLK2oE$=2fH@{-)!GTNxuZ!f%;>G?H7t~YZ z9r#=4OpX9h@#pP^(zWHym#VnEI@d_rL_Z1Quz7n$)IPb6txl+b7p6+7Sn+q!4q2kFtD5k;L@tQCJH!Qs2TxJ3+OstI?AYQ5e0dOxed;kCd literal 0 HcmV?d00001 diff --git a/assets/Config-35023b66.css b/assets/Config-35023b66.css new file mode 100644 index 0000000..0be95e7 --- /dev/null +++ b/assets/Config-35023b66.css @@ -0,0 +1 @@ +._root_165du_1,._section_165du_2{display:grid;grid-template-columns:repeat(auto-fill,minmax(345px,1fr));max-width:900px;gap:5px}@media screen and (min-width: 30em){._root_165du_1,._section_165du_2{gap:15px}}._root_165du_1,._section_165du_2{padding:6px 15px 10px}@media screen and (min-width: 30em){._root_165du_1,._section_165du_2{padding:10px 40px 15px}}._wrapSwitch_165du_26{height:40px;display:flex;align-items:center}._sep_165du_32{max-width:900px;padding:0 15px}@media screen and (min-width: 30em){._sep_165du_32{padding:0 40px}}._sep_165du_32>div{border-top:1px dashed #373737}._label_165du_45{padding:11px 0}._fieldset_1ghjp_1{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap}._input_1ghjp_9+._cnt_1ghjp_9{border:1px solid transparent;border-radius:8px;cursor:pointer;margin-right:5px;margin-bottom:5px}._input_1ghjp_9:focus+._cnt_1ghjp_9{border-color:#387cec}._input_1ghjp_9:checked+._cnt_1ghjp_9{border-color:#387cec} diff --git a/assets/Config-b8a90983.js b/assets/Config-b8a90983.js new file mode 100644 index 0000000..010d9f3 --- /dev/null +++ b/assets/Config-b8a90983.js @@ -0,0 +1 @@ +import{r as W,R as y,k as b,j as t,s as R,i as x,c as H,b as i,l as G,n as j,o as E,q,e as $,t as F,h as T,v as J,w as K,x as w,y as Q,u as X,C as Y,z as Z,B as ee,A as te,D as ne}from"./index-3e6aad90.js";import{r as ae}from"./logs-08774dd8.js";import{S as _}from"./Select-4fa356cc.js";function S(){return S=Object.assign||function(e){for(var s=1;s=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function oe(e,s){if(e==null)return{};var r={},o=Object.keys(e),a,l;for(l=0;l=0)&&(r[a]=e[a]);return r}var O=W.forwardRef(function(e,s){var r=e.color,o=r===void 0?"currentColor":r,a=e.size,l=a===void 0?24:a,u=se(e,["color","size"]);return y.createElement("svg",S({ref:s,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),y.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),y.createElement("polyline",{points:"16 17 21 12 16 7"}),y.createElement("line",{x1:"21",y1:"12",x2:"9",y2:"12"}))});O.propTypes={color:b.string,size:b.oneOfType([b.string,b.number])};O.displayName="LogOut";const re=O,{useState:le,useRef:ce,useEffect:ie,useCallback:de}=x;function ue(e){return t("input",{className:R.input,...e})}function pe({value:e,...s}){const[r,o]=le(e),a=ce(e);ie(()=>{a.current!==e&&o(e),a.current=e},[e]);const l=de(u=>o(u.target.value),[o]);return t("input",{className:R.input,value:r,onChange:l,...s})}const he="_root_165du_1",ge="_section_165du_2",fe="_wrapSwitch_165du_26",me="_sep_165du_32",ve="_label_165du_45",c={root:he,section:ge,wrapSwitch:fe,sep:me,label:ve},ye="_fieldset_1ghjp_1",be="_input_1ghjp_9",Ce="_cnt_1ghjp_9",k={fieldset:ye,input:be,cnt:Ce};function we({OptionComponent:e,optionPropsList:s,selectedIndex:r,onChange:o}){const a=H("visually-hidden",k.input),l=u=>{o(u.target.value)};return t("fieldset",{className:k.fieldset,children:s.map((u,h)=>i("label",{children:[t("input",{type:"radio",checked:r===h,name:"selection",value:h,"aria-labelledby":"traffic chart type "+h,onChange:l,className:a}),t("div",{className:k.cnt,children:t(e,{...u})})]},h))})}const{useMemo:_e}=x,ke={plugins:{legend:{display:!1}},scales:{x:{display:!1,type:"category"},y:{display:!1,type:"linear"}}},M=[23e3,35e3,46e3,33e3,9e4,68e3,23e3,45e3],Se=[184e3,183e3,196e3,182e3,19e4,186e3,182e3,189e3],xe=M;function Oe({id:e}){const s=G.read(),r=_e(()=>({labels:xe,datasets:[{...j,...E[e].up,data:M},{...j,...E[e].down,data:Se}]}),[e]),o="chart-"+e;return q(s.Chart,o,r,null,ke),t("div",{style:{width:100,padding:5},children:t("canvas",{id:o})})}const{useEffect:z,useState:Ne,useCallback:f,useRef:Ie,useMemo:Le}=x,Pe=[{id:0},{id:1},{id:2},{id:3}],je=[["debug","Debug"],["info","Info"],["warning","Warning"],["error","Error"],["silent","Silent"]],Ee=[{key:"port",label:"HTTP Proxy Port"},{key:"socks-port",label:"SOCKS5 Proxy Port"},{key:"mixed-port",label:"Mixed Port"},{key:"redir-port",label:"Redir Port"}],Re=[["zh","中文"],["en","English"]],$e=[["Global","Global"],["Rule","Rule"],["Direct","Direct"]],Te=e=>({configs:F(e),apiConfig:T(e)}),Me=e=>({selectedChartStyleIndex:te(e),latencyTestUrl:ne(e),apiConfig:T(e)}),ze=$(Me)(Be),We=$(Te)(Ae);function Ae({dispatch:e,configs:s,apiConfig:r}){return z(()=>{e(J(r))},[e,r]),t(ze,{configs:s})}function Be({dispatch:e,configs:s,selectedChartStyleIndex:r,latencyTestUrl:o,apiConfig:a}){const[l,u]=Ne(s),h=Ie(s);z(()=>{h.current!==s&&u(s),h.current=s},[s]);const A=f(()=>{e(K("apiConfig"))},[e]),m=f((n,d)=>{u({...l,[n]:d})},[l]),B=f(n=>{const d="allow-lan",p=n;m(d,p),e(w(a,{"allow-lan":p}))},[a,e,m]),v=f(({name:n,value:d})=>{switch(n){case"mode":case"log-level":m(n,d),e(w(a,{[n]:d})),n==="log-level"&&ae({...a,logLevel:d});break;case"redir-port":case"socks-port":case"mixed-port":case"port":if(d!==""){const p=parseInt(d,10);if(p<0||p>65535)return}m(n,d);break;default:return}},[a,e,m]),U=f(n=>v(n.target),[v]),{selectChartStyleIndex:D,updateAppConfig:N}=Q(),I=f(n=>{const d=n.target,{name:p,value:P}=d;switch(p){case"port":case"socks-port":case"mixed-port":case"redir-port":{const C=parseInt(P,10);if(C<0||C>65535)return;e(w(a,{[p]:C}));break}case"latencyTestUrl":{N(p,P);break}default:throw new Error(`unknown input name ${p}`)}},[a,e,N]),V=Le(()=>{const n=l.mode;return typeof n=="string"&&n[0].toUpperCase()+n.slice(1)},[l.mode]),{t:g,i18n:L}=X();return i("div",{children:[t(Y,{title:g("Config")}),i("div",{className:c.root,children:[Ee.map(n=>l[n.key]!==void 0?i("div",{children:[t("div",{className:c.label,children:n.label}),t(ue,{name:n.key,value:l[n.key],onChange:U,onBlur:I})]},n.key):null),i("div",{children:[t("div",{className:c.label,children:"Mode"}),t(_,{options:$e,selected:V,onChange:n=>v({name:"mode",value:n.target.value})})]}),i("div",{children:[t("div",{className:c.label,children:"Log Level"}),t(_,{options:je,selected:l["log-level"],onChange:n=>v({name:"log-level",value:n.target.value})})]}),i("div",{children:[t("div",{className:c.label,children:"Allow LAN"}),t("div",{className:c.wrapSwitch,children:t(Z,{name:"allow-lan",checked:l["allow-lan"],onChange:B})})]})]}),t("div",{className:c.sep,children:t("div",{})}),i("div",{className:c.section,children:[i("div",{children:[t("div",{className:c.label,children:g("latency_test_url")}),t(pe,{name:"latencyTestUrl",type:"text",value:o,onBlur:I})]}),i("div",{children:[t("div",{className:c.label,children:g("lang")}),t("div",{children:t(_,{options:Re,selected:L.language,onChange:n=>L.changeLanguage(n.target.value)})})]}),i("div",{children:[t("div",{className:c.label,children:g("chart_style")}),t(we,{OptionComponent:Oe,optionPropsList:Pe,selectedIndex:r,onChange:D})]}),i("div",{children:[i("div",{className:c.label,children:[g("current_backend"),t("p",{children:a.baseURL})]}),t("div",{className:c.label,children:"Action"}),t(ee,{start:t(re,{size:16}),label:g("switch_backend"),onClick:A})]})]})]})}export{We as default}; diff --git a/assets/Connections-2c1d9d67.js b/assets/Connections-2c1d9d67.js new file mode 100644 index 0000000..fb230cf --- /dev/null +++ b/assets/Connections-2c1d9d67.js @@ -0,0 +1 @@ +import{r as ue,R as Pe,c as Ge,a as ro,M as Tn,j as $,b as ye,p as Rn,m as bn,d as oo,B as Cn,e as io,f as so,g as uo,u as ao,C as lo,F as co,I as fo,h as po,S as go}from"./index-3e6aad90.js";import{u as vo}from"./useRemainingViewPortHeight-175c2a6c.js";import{C as mo}from"./chevron-down-fcc32a65.js";import{f as ho}from"./index-2a3ca6b4.js";import{F as yo,p as wo,A as Ro}from"./Fab-169bb281.js";import{P as bo,a as Co}from"./play-30aef65c.js";function It(y){return F=>!!F.type&&F.type.tabsRole===y}const dt=It("Tab"),Et=It("TabList"),Tt=It("TabPanel");function So(y){return dt(y)||Et(y)||Tt(y)}function Bt(y,F){return ue.Children.map(y,p=>p===null?null:So(p)?F(p):p.props&&p.props.children&&typeof p.props.children=="object"?ue.cloneElement(p,{...p.props,children:Bt(p.props.children,F)}):p)}function Fn(y,F){return ue.Children.forEach(y,p=>{p!==null&&(dt(p)||Tt(p)?F(p):p.props&&p.props.children&&typeof p.props.children=="object"&&(Et(p)&&F(p),Fn(p.props.children,F)))})}function An(y){let F=0;return Fn(y,p=>{dt(p)&&F++}),F}function kn(y){return y&&"getAttribute"in y}function Sn(y){return kn(y)&&y.getAttribute("data-rttab")}function ke(y){return kn(y)&&y.getAttribute("aria-disabled")==="true"}let at;function Po(y){const F=y||(typeof window<"u"?window:void 0);try{at=!!(typeof F<"u"&&F.document&&F.document.activeElement)}catch{at=!1}}const xo={className:"react-tabs",focus:!1},Ft=y=>{let F=ue.useRef([]),p=ue.useRef([]);const g=ue.useRef();function X(x,H){if(x<0||x>=u())return;const{onSelect:Z,selectedIndex:Be}=y;Z(x,Be,H)}function Q(x){const H=u();for(let Z=x+1;Zx;)if(!ke(K(H)))return H;return x}function V(){const x=u();for(let H=0;H{let _e=Ie;if(Et(Ie)){let Se=0,Xe=!1;at==null&&Po(Oe);const Qe=Oe||(typeof window<"u"?window:void 0);at&&Qe&&(Xe=Pe.Children.toArray(Ie.props.children).filter(dt).some((Je,ze)=>Qe.document.activeElement===K(ze))),_e=ue.cloneElement(Ie,{children:Bt(Ie.props.children,Je=>{const ze=`tabs-${Se}`,Ye=de===Se,Me={tabRef:Ze=>{F.current[ze]=Ze},id:p.current[Se],selected:Ye,focus:Ye&&(Be||Xe)};return ve&&(Me.selectedClassName=ve),Z&&(Me.disabledClassName=Z),Se++,ue.cloneElement(Je,Me)})})}else if(Tt(Ie)){const Se={id:p.current[x],selected:de===x};ae&&(Se.forceRender=ae),Ae&&(Se.selectedClassName=Ae),x++,_e=ue.cloneElement(Ie,Se)}return _e})}function Y(x){const{direction:H,disableUpDownKeys:Z,disableLeftRightKeys:Be}=y;if(D(x.target)){let{selectedIndex:ae}=y,de=!1,ve=!1;(x.code==="Space"||x.keyCode===32||x.code==="Enter"||x.keyCode===13)&&(de=!0,ve=!1,ie(x)),!Be&&(x.keyCode===37||x.code==="ArrowLeft")||!Z&&(x.keyCode===38||x.code==="ArrowUp")?(H==="rtl"?ae=Q(ae):ae=c(ae),de=!0,ve=!0):!Be&&(x.keyCode===39||x.code==="ArrowRight")||!Z&&(x.keyCode===40||x.code==="ArrowDown")?(H==="rtl"?ae=c(ae):ae=Q(ae),de=!0,ve=!0):x.keyCode===35||x.code==="End"?(ae=oe(),de=!0,ve=!0):(x.keyCode===36||x.code==="Home")&&(ae=V(),de=!0,ve=!0),de&&x.preventDefault(),ve&&X(ae,x)}}function ie(x){let H=x.target;do if(D(H)){if(ke(H))return;const Z=[].slice.call(H.parentNode.children).filter(Sn).indexOf(H);X(Z,x);return}while((H=H.parentNode)!=null)}function D(x){if(!Sn(x))return!1;let H=x.parentElement;do{if(H===g.current)return!0;if(H.getAttribute("data-rttabs"))break;H=H.parentElement}while(H);return!1}const{children:J,className:me,disabledTabClassName:ge,domRef:le,focus:M,forceRenderTabPanel:Re,onSelect:te,selectedIndex:we,selectedTabClassName:xe,selectedTabPanelClassName:We,environment:Ne,disableUpDownKeys:be,disableLeftRightKeys:He,...Ce}=y;return Pe.createElement("div",Object.assign({},Ce,{className:Ge(me),onClick:ie,onKeyDown:Y,ref:x=>{g.current=x,le&&le(x)},"data-rttabs":!0}),ce())};Ft.defaultProps=xo;Ft.propTypes={};const Bo=0,ut=1,Io={defaultFocus:!1,focusTabOnClick:!0,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1,disableLeftRightKeys:!1},Eo=y=>y.selectedIndex===null?ut:Bo,ft=y=>{const{children:F,defaultFocus:p,defaultIndex:g,focusTabOnClick:X,onSelect:Q}=y,[c,V]=ue.useState(p),[oe]=ue.useState(Eo(y)),[u,K]=ue.useState(oe===ut?g||0:null);if(ue.useEffect(()=>{V(!1)},[]),oe===ut){const ie=An(F);ue.useEffect(()=>{if(u!=null){const D=Math.max(0,ie-1);K(Math.min(u,D))}},[ie])}const ce=(ie,D,J)=>{typeof Q=="function"&&Q(ie,D,J)===!1||(X&&V(!0),oe===ut&&K(ie))};let Y={...y};return Y.focus=c,Y.onSelect=ce,u!=null&&(Y.selectedIndex=u),delete Y.defaultFocus,delete Y.defaultIndex,delete Y.focusTabOnClick,Pe.createElement(Ft,Y,F)};ft.propTypes={};ft.defaultProps=Io;ft.tabsRole="Tabs";const To={className:"react-tabs__tab-list"},pt=y=>{const{children:F,className:p,...g}=y;return Pe.createElement("ul",Object.assign({},g,{className:Ge(p),role:"tablist"}),F)};pt.tabsRole="TabList";pt.propTypes={};pt.defaultProps=To;const xt="react-tabs__tab",Fo={className:xt,disabledClassName:`${xt}--disabled`,focus:!1,id:null,selected:!1,selectedClassName:`${xt}--selected`},Ke=y=>{let F=ue.useRef();const{children:p,className:g,disabled:X,disabledClassName:Q,focus:c,id:V,selected:oe,selectedClassName:u,tabIndex:K,tabRef:ce,...Y}=y;return ue.useEffect(()=>{oe&&c&&F.current.focus()},[oe,c]),Pe.createElement("li",Object.assign({},Y,{className:Ge(g,{[u]:oe,[Q]:X}),ref:ie=>{F.current=ie,ce&&ce(ie)},role:"tab",id:`tab${V}`,"aria-selected":oe?"true":"false","aria-disabled":X?"true":"false","aria-controls":`panel${V}`,tabIndex:K||(oe?"0":null),"data-rttab":!0}),p)};Ke.propTypes={};Ke.tabsRole="Tab";Ke.defaultProps=Fo;const Pn="react-tabs__tab-panel",Ao={className:Pn,forceRender:!1,selectedClassName:`${Pn}--selected`},Ue=y=>{const{children:F,className:p,forceRender:g,id:X,selected:Q,selectedClassName:c,...V}=y;return Pe.createElement("div",Object.assign({},V,{className:Ge(p,{[c]:Q}),role:"tabpanel",id:`panel${X}`,"aria-labelledby":`tab${X}`}),g||Q?F:null)};Ue.tabsRole="TabPanel";Ue.propTypes={};Ue.defaultProps=Ao;const ko="_placeHolder_12xws_1",Go="_connQty_12xws_10",Ho="_inputWrapper_12xws_22",Oo="_input_12xws_22",qe={placeHolder:ko,connQty:Go,inputWrapper:Ho,input:Oo};var lt={},Wo={get exports(){return lt},set exports(y){lt=y}},ct={},No={get exports(){return ct},set exports(y){ct=y}};(function(y,F){(function(p,g){g(F,ue)})(ro,function(p,g){function X(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(d){return void n(d)}a.done?t(l):Promise.resolve(l).then(r,i)}function Q(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(l){X(o,r,i,s,a,"next",l)}function a(l){X(o,r,i,s,a,"throw",l)}s(void 0)})}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function oe(e){var t=function(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var o=i.call(n,r||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}(e,"string");return typeof t=="symbol"?t:String(t)}g=g&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g;var u={init:"init"},K=function(e){var t=e.value;return t===void 0?"":t},ce=function(){return g.createElement(g.Fragment,null," ")},Y={Cell:K,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function ie(){for(var e=arguments.length,t=new Array(e),n=0;n(o=typeof o=="number"?o:1/0)){var s=i;i=o,o=s}return e.filter(function(a){return t.some(function(l){var d=a.values[l];return d>=i&&d<=o})})};jt.autoRemove=function(e){return!e||typeof e[0]!="number"&&typeof e[1]!="number"};var Le=Object.freeze({__proto__:null,text:Ht,exactText:Ot,exactTextCase:Wt,includes:Nt,includesAll:_t,includesSome:zt,includesValue:Mt,exact:Lt,equals:Dt,between:jt});u.resetFilters="resetFilters",u.setFilter="setFilter",u.setAllFilters="setAllFilters";var Vt=function(e){e.stateReducers.push(Jn),e.useInstance.push(Yn)};function Jn(e,t,n,r){if(t.type===u.init)return c({filters:[]},e);if(t.type===u.resetFilters)return c({},e,{filters:r.initialState.filters||[]});if(t.type===u.setFilter){var i=t.columnId,o=t.filterValue,s=r.allColumns,a=r.filterTypes,l=s.find(function(b){return b.id===i});if(!l)throw new Error("React-Table: Could not find a column with id: "+i);var d=de(l.filter,a||{},Le),w=e.filters.find(function(b){return b.id===i}),v=le(o,w&&w.value);return ve(d.autoRemove,v,l)?c({},e,{filters:e.filters.filter(function(b){return b.id!==i})}):c({},e,w?{filters:e.filters.map(function(b){return b.id===i?{id:i,value:v}:b})}:{filters:[].concat(e.filters,[{id:i,value:v}])})}if(t.type===u.setAllFilters){var m=t.filters,f=r.allColumns,h=r.filterTypes;return c({},e,{filters:le(m,e.filters).filter(function(b){var C=f.find(function(B){return B.id===b.id});return!ve(de(C.filter,h||{},Le).autoRemove,b.value,C)})})}}function Yn(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.allColumns,s=e.filterTypes,a=e.manualFilters,l=e.defaultCanFilter,d=l!==void 0&&l,w=e.disableFilters,v=e.state.filters,m=e.dispatch,f=e.autoResetFilters,h=f===void 0||f,b=g.useCallback(function(S,k){m({type:u.setFilter,columnId:S,filterValue:k})},[m]),C=g.useCallback(function(S){m({type:u.setAllFilters,filters:S})},[m]);o.forEach(function(S){var k=S.id,N=S.accessor,E=S.defaultCanFilter,A=S.disableFilters;S.canFilter=N?H(A!==!0&&void 0,w!==!0&&void 0,!0):H(E,d,!1),S.setFilter=function(G){return b(S.id,G)};var j=v.find(function(G){return G.id===k});S.filterValue=j&&j.value});var B=g.useMemo(function(){if(a||!v.length)return[n,r,i];var S=[],k={};return[function N(E,A){A===void 0&&(A=0);var j=E;return(j=v.reduce(function(G,L){var z=L.id,q=L.value,I=o.find(function(ee){return ee.id===z});if(!I)return G;A===0&&(I.preFilteredRows=G);var _=de(I.filter,s||{},Le);return _?(I.filteredRows=_(G,[z],q),I.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+I.id+"."),G)},E)).forEach(function(G){S.push(G),k[G.id]=G,G.subRows&&(G.subRows=G.subRows&&G.subRows.length>0?N(G.subRows,A+1):G.subRows)}),j}(n),S,k]},[a,v,n,r,i,o,s]),W=B[0],P=B[1],R=B[2];g.useMemo(function(){o.filter(function(S){return!v.find(function(k){return k.id===S.id})}).forEach(function(S){S.preFilteredRows=W,S.filteredRows=W})},[W,v,o]);var O=M(h);te(function(){O()&&m({type:u.resetFilters})},[m,a?null:t]),Object.assign(e,{preFilteredRows:n,preFilteredFlatRows:r,preFilteredRowsById:i,filteredRows:W,filteredFlatRows:P,filteredRowsById:R,rows:W,flatRows:P,rowsById:R,setFilter:b,setAllFilters:C})}Vt.pluginName="useFilters",u.resetGlobalFilter="resetGlobalFilter",u.setGlobalFilter="setGlobalFilter";var $t=function(e){e.stateReducers.push(Zn),e.useInstance.push(er)};function Zn(e,t,n,r){if(t.type===u.resetGlobalFilter)return c({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===u.setGlobalFilter){var i=t.filterValue,o=r.userFilterTypes,s=de(r.globalFilter,o||{},Le),a=le(i,e.globalFilter);return ve(s.autoRemove,a)?(e.globalFilter,V(e,["globalFilter"])):c({},e,{globalFilter:a})}}function er(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.allColumns,s=e.filterTypes,a=e.globalFilter,l=e.manualGlobalFilter,d=e.state.globalFilter,w=e.dispatch,v=e.autoResetGlobalFilter,m=v===void 0||v,f=e.disableGlobalFilter,h=g.useCallback(function(R){w({type:u.setGlobalFilter,filterValue:R})},[w]),b=g.useMemo(function(){if(l||d===void 0)return[n,r,i];var R=[],O={},S=de(a,s||{},Le);if(!S)return console.warn("Could not find a valid 'globalFilter' option."),n;o.forEach(function(N){var E=N.disableGlobalFilter;N.canFilter=H(E!==!0&&void 0,f!==!0&&void 0,!0)});var k=o.filter(function(N){return N.canFilter===!0});return[function N(E){return(E=S(E,k.map(function(A){return A.id}),d)).forEach(function(A){R.push(A),O[A.id]=A,A.subRows=A.subRows&&A.subRows.length?N(A.subRows):A.subRows}),E}(n),R,O]},[l,d,a,s,o,n,r,i,f]),C=b[0],B=b[1],W=b[2],P=M(m);te(function(){P()&&w({type:u.resetGlobalFilter})},[w,l?null:t]),Object.assign(e,{preGlobalFilteredRows:n,preGlobalFilteredFlatRows:r,preGlobalFilteredRowsById:i,globalFilteredRows:C,globalFilteredFlatRows:B,globalFilteredRowsById:W,rows:C,flatRows:B,rowsById:W,setGlobalFilter:h,disableGlobalFilter:f})}function qt(e,t){return t.reduce(function(n,r){return n+(typeof r=="number"?r:0)},0)}$t.pluginName="useGlobalFilter";var Kt=Object.freeze({__proto__:null,sum:qt,min:function(e){var t=e[0]||0;return e.forEach(function(n){typeof n=="number"&&(t=Math.min(t,n))}),t},max:function(e){var t=e[0]||0;return e.forEach(function(n){typeof n=="number"&&(t=Math.max(t,n))}),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach(function(r){typeof r=="number"&&(t=Math.min(t,r),n=Math.max(n,r))}),t+".."+n},average:function(e){return qt(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort(function(r,i){return r-i});return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),tr=[],nr={};u.resetGroupBy="resetGroupBy",u.setGroupBy="setGroupBy",u.toggleGroupBy="toggleGroupBy";var Ut=function(e){e.getGroupByToggleProps=[rr],e.stateReducers.push(or),e.visibleColumnsDeps.push(function(t,n){var r=n.instance;return[].concat(t,[r.state.groupBy])}),e.visibleColumns.push(ir),e.useInstance.push(ur),e.prepareRow.push(ar)};Ut.pluginName="useGroupBy";var rr=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(r){r.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function or(e,t,n,r){if(t.type===u.init)return c({groupBy:[]},e);if(t.type===u.resetGroupBy)return c({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===u.setGroupBy)return c({},e,{groupBy:t.value});if(t.type===u.toggleGroupBy){var i=t.columnId,o=t.value,s=o!==void 0?o:!e.groupBy.includes(i);return c({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter(function(a){return a!==i})})}}function ir(e,t){var n=t.instance.state.groupBy,r=n.map(function(o){return e.find(function(s){return s.id===o})}).filter(Boolean),i=e.filter(function(o){return!n.includes(o.id)});return(e=[].concat(r,i)).forEach(function(o){o.isGrouped=n.includes(o.id),o.groupedIndex=n.indexOf(o.id)}),e}var sr={};function ur(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.rowsById,o=e.allColumns,s=e.flatHeaders,a=e.groupByFn,l=a===void 0?Xt:a,d=e.manualGroupBy,w=e.aggregations,v=w===void 0?sr:w,m=e.plugins,f=e.state.groupBy,h=e.dispatch,b=e.autoResetGroupBy,C=b===void 0||b,B=e.disableGroupBy,W=e.defaultCanGroupBy,P=e.getHooks;ge(m,["useColumnOrder","useFilters"],"useGroupBy");var R=M(e);o.forEach(function(I){var _=I.accessor,ee=I.defaultGroupBy,fe=I.disableGroupBy;I.canGroupBy=_?H(I.canGroupBy,fe!==!0&&void 0,B!==!0&&void 0,!0):H(I.canGroupBy,ee,W,!1),I.canGroupBy&&(I.toggleGroupBy=function(){return e.toggleGroupBy(I.id)}),I.Aggregated=I.Aggregated||I.Cell});var O=g.useCallback(function(I,_){h({type:u.toggleGroupBy,columnId:I,value:_})},[h]),S=g.useCallback(function(I){h({type:u.setGroupBy,value:I})},[h]);s.forEach(function(I){I.getGroupByToggleProps=D(P().getGroupByToggleProps,{instance:R(),header:I})});var k=g.useMemo(function(){if(d||!f.length)return[n,r,i,tr,nr,r,i];var I=f.filter(function(se){return o.find(function(Te){return Te.id===se})}),_=[],ee={},fe=[],T={},U=[],ne={},pe=function se(Te,Ee,gn){if(Ee===void 0&&(Ee=0),Ee===I.length)return Te.map(function(tt){return c({},tt,{depth:Ee})});var Ct=I[Ee],Qr=l(Te,Ct);return Object.entries(Qr).map(function(tt,Jr){var vn=tt[0],nt=tt[1],rt=Ct+":"+vn,mn=se(nt,Ee+1,rt=gn?gn+">"+rt:rt),hn=Ee?Be(nt,"leafRows"):nt,Yr=function(he,St,eo){var ot={};return o.forEach(function(re){if(I.includes(re.id))ot[re.id]=St[0]?St[0].values[re.id]:null;else{var yn=typeof re.aggregate=="function"?re.aggregate:v[re.aggregate]||Kt[re.aggregate];if(yn){var to=St.map(function(it){return it.values[re.id]}),no=he.map(function(it){var Pt=it.values[re.id];if(!eo&&re.aggregateValue){var wn=typeof re.aggregateValue=="function"?re.aggregateValue:v[re.aggregateValue]||Kt[re.aggregateValue];if(!wn)throw console.info({column:re}),new Error("React Table: Invalid column.aggregateValue option for column listed above");Pt=wn(Pt,it,re)}return Pt});ot[re.id]=yn(no,to)}else{if(re.aggregate)throw console.info({column:re}),new Error("React Table: Invalid column.aggregate option for column listed above");ot[re.id]=null}}}),ot}(hn,nt,Ee),Zr={id:rt,isGrouped:!0,groupByID:Ct,groupByVal:vn,values:Yr,subRows:mn,leafRows:hn,depth:Ee,index:Jr};return mn.forEach(function(he){_.push(he),ee[he.id]=he,he.isGrouped?(fe.push(he),T[he.id]=he):(U.push(he),ne[he.id]=he)}),Zr})}(n);return pe.forEach(function(se){_.push(se),ee[se.id]=se,se.isGrouped?(fe.push(se),T[se.id]=se):(U.push(se),ne[se.id]=se)}),[pe,_,ee,fe,T,U,ne]},[d,f,n,r,i,o,v,l]),N=k[0],E=k[1],A=k[2],j=k[3],G=k[4],L=k[5],z=k[6],q=M(C);te(function(){q()&&h({type:u.resetGroupBy})},[h,d?null:t]),Object.assign(e,{preGroupedRows:n,preGroupedFlatRow:r,preGroupedRowsById:i,groupedRows:N,groupedFlatRows:E,groupedRowsById:A,onlyGroupedFlatRows:j,onlyGroupedRowsById:G,nonGroupedFlatRows:L,nonGroupedRowsById:z,rows:N,flatRows:E,rowsById:A,toggleGroupBy:O,setGroupBy:S})}function ar(e){e.allCells.forEach(function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&((n=e.subRows)==null?void 0:n.length)})}function Xt(e,t){return e.reduce(function(n,r,i){var o=""+r.values[t];return n[o]=Array.isArray(n[o])?n[o]:[],n[o].push(r),n},{})}var Qt=/([0-9]+)/gm;function mt(e,t){return e===t?0:e>t?1:-1}function De(e,t,n){return[e.values[n],t.values[n]]}function Jt(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}var lr=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=De(e,t,n),i=r[0],o=r[1];for(i=Jt(i),o=Jt(o),i=i.split(Qt).filter(Boolean),o=o.split(Qt).filter(Boolean);i.length&&o.length;){var s=i.shift(),a=o.shift(),l=parseInt(s,10),d=parseInt(a,10),w=[l,d].sort();if(isNaN(w[0])){if(s>a)return 1;if(a>s)return-1}else{if(isNaN(w[1]))return isNaN(l)?-1:1;if(l>d)return 1;if(d>l)return-1}}return i.length-o.length},datetime:function(e,t,n){var r=De(e,t,n),i=r[0],o=r[1];return mt(i=i.getTime(),o=o.getTime())},basic:function(e,t,n){var r=De(e,t,n);return mt(r[0],r[1])},string:function(e,t,n){var r=De(e,t,n),i=r[0],o=r[1];for(i=i.split("").filter(Boolean),o=o.split("").filter(Boolean);i.length&&o.length;){var s=i.shift(),a=o.shift(),l=s.toLowerCase(),d=a.toLowerCase();if(l>d)return 1;if(d>l)return-1;if(s>a)return 1;if(a>s)return-1}return i.length-o.length},number:function(e,t,n){var r=De(e,t,n),i=r[0],o=r[1],s=/[^0-9.]/gi;return mt(i=Number(String(i).replace(s,"")),o=Number(String(o).replace(s,"")))}});u.resetSortBy="resetSortBy",u.setSortBy="setSortBy",u.toggleSortBy="toggleSortBy",u.clearSortBy="clearSortBy",Y.sortType="alphanumeric",Y.sortDescFirst=!1;var Yt=function(e){e.getSortByToggleProps=[cr],e.stateReducers.push(dr),e.useInstance.push(fr)};Yt.pluginName="useSortBy";var cr=function(e,t){var n=t.instance,r=t.column,i=n.isMultiSortEvent,o=i===void 0?function(s){return s.shiftKey}:i;return[e,{onClick:r.canSort?function(s){s.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(s))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function dr(e,t,n,r){if(t.type===u.init)return c({sortBy:[]},e);if(t.type===u.resetSortBy)return c({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===u.clearSortBy)return c({},e,{sortBy:e.sortBy.filter(function(R){return R.id!==t.columnId})});if(t.type===u.setSortBy)return c({},e,{sortBy:t.sortBy});if(t.type===u.toggleSortBy){var i,o=t.columnId,s=t.desc,a=t.multi,l=r.allColumns,d=r.disableMultiSort,w=r.disableSortRemove,v=r.disableMultiRemove,m=r.maxMultiSortColCount,f=m===void 0?Number.MAX_SAFE_INTEGER:m,h=e.sortBy,b=l.find(function(R){return R.id===o}).sortDescFirst,C=h.find(function(R){return R.id===o}),B=h.findIndex(function(R){return R.id===o}),W=s!=null,P=[];return(i=!d&&a?C?"toggle":"add":B!==h.length-1||h.length!==1?"replace":C?"toggle":"replace")!="toggle"||w||W||a&&v||!(C&&C.desc&&!b||!C.desc&&b)||(i="remove"),i==="replace"?P=[{id:o,desc:W?s:b}]:i==="add"?(P=[].concat(h,[{id:o,desc:W?s:b}])).splice(0,P.length-f):i==="toggle"?P=h.map(function(R){return R.id===o?c({},R,{desc:W?s:!C.desc}):R}):i==="remove"&&(P=h.filter(function(R){return R.id!==o})),c({},e,{sortBy:P})}}function fr(e){var t=e.data,n=e.rows,r=e.flatRows,i=e.allColumns,o=e.orderByFn,s=o===void 0?Zt:o,a=e.sortTypes,l=e.manualSortBy,d=e.defaultCanSort,w=e.disableSortBy,v=e.flatHeaders,m=e.state.sortBy,f=e.dispatch,h=e.plugins,b=e.getHooks,C=e.autoResetSortBy,B=C===void 0||C;ge(h,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var W=g.useCallback(function(E){f({type:u.setSortBy,sortBy:E})},[f]),P=g.useCallback(function(E,A,j){f({type:u.toggleSortBy,columnId:E,desc:A,multi:j})},[f]),R=M(e);v.forEach(function(E){var A=E.accessor,j=E.canSort,G=E.disableSortBy,L=E.id,z=A?H(G!==!0&&void 0,w!==!0&&void 0,!0):H(d,j,!1);E.canSort=z,E.canSort&&(E.toggleSortBy=function(I,_){return P(E.id,I,_)},E.clearSortBy=function(){f({type:u.clearSortBy,columnId:E.id})}),E.getSortByToggleProps=D(b().getSortByToggleProps,{instance:R(),column:E});var q=m.find(function(I){return I.id===L});E.isSorted=!!q,E.sortedIndex=m.findIndex(function(I){return I.id===L}),E.isSortedDesc=E.isSorted?q.desc:void 0});var O=g.useMemo(function(){if(l||!m.length)return[n,r];var E=[],A=m.filter(function(j){return i.find(function(G){return G.id===j.id})});return[function j(G){var L=s(G,A.map(function(z){var q=i.find(function(ee){return ee.id===z.id});if(!q)throw new Error("React-Table: Could not find a column with id: "+z.id+" while sorting");var I=q.sortType,_=Z(I)||(a||{})[I]||lr[I];if(!_)throw new Error("React-Table: Could not find a valid sortType of '"+I+"' for column '"+z.id+"'.");return function(ee,fe){return _(ee,fe,z.id,z.desc)}}),A.map(function(z){var q=i.find(function(I){return I.id===z.id});return q&&q.sortInverted?z.desc:!z.desc}));return L.forEach(function(z){E.push(z),z.subRows&&z.subRows.length!==0&&(z.subRows=j(z.subRows))}),L}(n),E]},[l,m,n,r,i,s,a]),S=O[0],k=O[1],N=M(B);te(function(){N()&&f({type:u.resetSortBy})},[l?null:t]),Object.assign(e,{preSortedRows:n,preSortedFlatRows:r,sortedRows:S,sortedFlatRows:k,rows:S,flatRows:k,setSortBy:W,toggleSortBy:P})}function Zt(e,t,n){return[].concat(e).sort(function(r,i){for(var o=0;oe.pageIndex?a=i===-1?o.length>=e.pageSize:s-1),a?c({},e,{pageIndex:s}):e}if(t.type===u.setPageSize){var l=t.pageSize,d=e.pageSize*e.pageIndex;return c({},e,{pageIndex:Math.floor(d/l),pageSize:l})}}function gr(e){var t=e.rows,n=e.autoResetPage,r=n===void 0||n,i=e.manualExpandedKey,o=i===void 0?"expanded":i,s=e.plugins,a=e.pageCount,l=e.paginateExpandedRows,d=l===void 0||l,w=e.expandSubRows,v=w===void 0||w,m=e.state,f=m.pageSize,h=m.pageIndex,b=m.expanded,C=m.globalFilter,B=m.filters,W=m.groupBy,P=m.sortBy,R=e.dispatch,O=e.data,S=e.manualPagination;ge(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var k=M(r);te(function(){k()&&R({type:u.resetPage})},[R,S?null:O,C,B,W,P]);var N=S?a:Math.ceil(t.length/f),E=g.useMemo(function(){return N>0?[].concat(new Array(N)).fill(null).map(function(_,ee){return ee}):[]},[N]),A=g.useMemo(function(){var _;if(S)_=t;else{var ee=f*h,fe=ee+f;_=t.slice(ee,fe)}return d?_:ae(_,{manualExpandedKey:o,expanded:b,expandSubRows:v})},[v,b,o,S,h,f,d,t]),j=h>0,G=N===-1?A.length>=f:h-1&&o.push(i.splice(l,1)[0])};i.length&&r.length;)s();return[].concat(o,i)}function Nr(e){var t=e.dispatch;e.setColumnOrder=g.useCallback(function(n){return t({type:u.setColumnOrder,columnOrder:n})},[t])}an.pluginName="useColumnOrder",Y.canResize=!0,u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize";var ln=function(e){e.getResizerProps=[_r],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(zr),e.useInstance.push(Lr),e.useInstanceBeforeDimensions.push(Mr)},_r=function(e,t){var n=t.instance,r=t.header,i=n.dispatch,o=function(s,a){var l=!1;if(s.type==="touchstart"){if(s.touches&&s.touches.length>1)return;l=!0}var d,w,v=function(P){var R=[];return function O(S){S.columns&&S.columns.length&&S.columns.map(O),R.push(S)}(P),R}(a).map(function(P){return[P.id,P.totalWidth]}),m=l?Math.round(s.touches[0].clientX):s.clientX,f=function(){window.cancelAnimationFrame(d),d=null,i({type:u.columnDoneResizing})},h=function(){window.cancelAnimationFrame(d),d=null,i({type:u.columnResizing,clientX:w})},b=function(P){w=P,d||(d=window.requestAnimationFrame(h))},C={mouse:{moveEvent:"mousemove",moveHandler:function(P){return b(P.clientX)},upEvent:"mouseup",upHandler:function(P){document.removeEventListener("mousemove",C.mouse.moveHandler),document.removeEventListener("mouseup",C.mouse.upHandler),f()}},touch:{moveEvent:"touchmove",moveHandler:function(P){return P.cancelable&&(P.preventDefault(),P.stopPropagation()),b(P.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(P){document.removeEventListener(C.touch.moveEvent,C.touch.moveHandler),document.removeEventListener(C.touch.upEvent,C.touch.moveHandler),f()}}},B=l?C.touch:C.mouse,W=!!function(){if(typeof Oe=="boolean")return Oe;var P=!1;try{var R={get passive(){return P=!0,!1}};window.addEventListener("test",null,R),window.removeEventListener("test",null,R)}catch{P=!1}return Oe=P}()&&{passive:!1};document.addEventListener(B.moveEvent,B.moveHandler,W),document.addEventListener(B.upEvent,B.upHandler,W),i({type:u.columnStartResizing,columnId:a.id,columnWidth:a.totalWidth,headerIdWidths:v,clientX:m})};return[e,{onMouseDown:function(s){return s.persist()||o(s,r)},onTouchStart:function(s){return s.persist()||o(s,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function zr(e,t){if(t.type===u.init)return c({columnResizing:{columnWidths:{}}},e);if(t.type===u.resetResize)return c({},e,{columnResizing:{columnWidths:{}}});if(t.type===u.columnStartResizing){var n=t.clientX,r=t.columnId,i=t.columnWidth,o=t.headerIdWidths;return c({},e,{columnResizing:c({},e.columnResizing,{startX:n,headerIdWidths:o,columnWidth:i,isResizingColumn:r})})}if(t.type===u.columnResizing){var s=t.clientX,a=e.columnResizing,l=a.startX,d=a.columnWidth,w=a.headerIdWidths,v=(s-l)/d,m={};return(w===void 0?[]:w).forEach(function(f){var h=f[0],b=f[1];m[h]=Math.max(b+b*v,0)}),c({},e,{columnResizing:c({},e.columnResizing,{columnWidths:c({},e.columnResizing.columnWidths,{},m)})})}return t.type===u.columnDoneResizing?c({},e,{columnResizing:c({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}ln.pluginName="useResizeColumns";var Mr=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,i=e.state.columnResizing,o=M(e);t.forEach(function(s){var a=H(s.disableResizing!==!0&&void 0,n!==!0&&void 0,!0);s.canResize=a,s.width=i.columnWidths[s.id]||s.originalWidth||s.width,s.isResizing=i.isResizingColumn===s.id,a&&(s.getResizerProps=D(r().getResizerProps,{instance:o(),header:s}))})};function Lr(e){var t=e.plugins,n=e.dispatch,r=e.autoResetResize,i=r===void 0||r,o=e.columns;ge(t,["useAbsoluteLayout"],"useResizeColumns");var s=M(i);te(function(){s()&&n({type:u.resetResize})},[o]);var a=g.useCallback(function(){return n({type:u.resetResize})},[n]);Object.assign(e,{resetResizing:a})}var ht={position:"absolute",top:0},cn=function(e){e.getTableBodyProps.push(et),e.getRowProps.push(et),e.getHeaderGroupProps.push(et),e.getFooterGroupProps.push(et),e.getHeaderProps.push(function(t,n){var r=n.column;return[t,{style:c({},ht,{left:r.totalLeft+"px",width:r.totalWidth+"px"})}]}),e.getCellProps.push(function(t,n){var r=n.cell;return[t,{style:c({},ht,{left:r.column.totalLeft+"px",width:r.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(t,n){var r=n.column;return[t,{style:c({},ht,{left:r.totalLeft+"px",width:r.totalWidth+"px"})}]})};cn.pluginName="useAbsoluteLayout";var et=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},yt={display:"inline-block",boxSizing:"border-box"},wt=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},dn=function(e){e.getRowProps.push(wt),e.getHeaderGroupProps.push(wt),e.getFooterGroupProps.push(wt),e.getHeaderProps.push(function(t,n){var r=n.column;return[t,{style:c({},yt,{width:r.totalWidth+"px"})}]}),e.getCellProps.push(function(t,n){var r=n.cell;return[t,{style:c({},yt,{width:r.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(t,n){var r=n.column;return[t,{style:c({},yt,{width:r.totalWidth+"px"})}]})};function fn(e){e.getTableProps.push(Dr),e.getRowProps.push(Rt),e.getHeaderGroupProps.push(Rt),e.getFooterGroupProps.push(Rt),e.getHeaderProps.push(jr),e.getCellProps.push(Vr),e.getFooterProps.push($r)}dn.pluginName="useBlockLayout",fn.pluginName="useFlexLayout";var Dr=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Rt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},jr=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Vr=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},$r=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function pn(e){e.stateReducers.push(Xr),e.getTableProps.push(qr),e.getHeaderProps.push(Kr),e.getRowProps.push(Ur)}u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize",pn.pluginName="useGridLayout";var qr=function(e,t){var n=t.instance;return[e,{style:{display:"grid",gridTemplateColumns:n.visibleColumns.map(function(r){var i;return n.state.gridLayout.columnWidths[r.id]?n.state.gridLayout.columnWidths[r.id]+"px":(i=n.state.columnResizing)!=null&&i.isResizingColumn?n.state.gridLayout.startWidths[r.id]+"px":typeof r.width=="number"?r.width+"px":r.width}).join(" ")}}]},Kr=function(e,t){var n=t.column;return[e,{id:"header-cell-"+n.id,style:{position:"sticky",gridColumn:"span "+n.totalVisibleHeaderCount}}]},Ur=function(e,t){var n=t.row;return n.isExpanded?[e,{style:{gridColumn:"1 / "+(n.cells.length+1)}}]:[e,{}]};function Xr(e,t,n,r){if(t.type===u.init)return c({gridLayout:{columnWidths:{}}},e);if(t.type===u.resetResize)return c({},e,{gridLayout:{columnWidths:{}}});if(t.type===u.columnStartResizing){var i=t.columnId,o=t.headerIdWidths,s=bt(i);if(s!==void 0){var a=r.visibleColumns.reduce(function(R,O){var S;return c({},R,((S={})[O.id]=bt(O.id),S))},{}),l=r.visibleColumns.reduce(function(R,O){var S;return c({},R,((S={})[O.id]=O.minWidth,S))},{}),d=r.visibleColumns.reduce(function(R,O){var S;return c({},R,((S={})[O.id]=O.maxWidth,S))},{}),w=o.map(function(R){var O=R[0];return[O,bt(O)]});return c({},e,{gridLayout:c({},e.gridLayout,{startWidths:a,minWidths:l,maxWidths:d,headerIdGridWidths:w,columnWidth:s})})}return e}if(t.type===u.columnResizing){var v=t.clientX,m=e.columnResizing.startX,f=e.gridLayout,h=f.columnWidth,b=f.minWidths,C=f.maxWidths,B=f.headerIdGridWidths,W=(v-m)/h,P={};return(B===void 0?[]:B).forEach(function(R){var O=R[0],S=R[1];P[O]=Math.min(Math.max(b[O],S+S*W),C[O])}),c({},e,{gridLayout:c({},e.gridLayout,{columnWidths:c({},e.gridLayout.columnWidths,{},P)})})}return t.type===u.columnDoneResizing?c({},e,{gridLayout:c({},e.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function bt(e){var t,n=(t=document.getElementById("header-cell-"+e))==null?void 0:t.offsetWidth;if(n!==void 0)return n}p._UNSTABLE_usePivotColumns=tn,p.actions=u,p.defaultColumn=Y,p.defaultGroupByFn=Xt,p.defaultOrderByFn=Zt,p.defaultRenderer=K,p.emptyRenderer=ce,p.ensurePluginOrder=ge,p.flexRender=xe,p.functionalUpdate=le,p.loopHooks=me,p.makePropGetter=D,p.makeRenderer=we,p.reduceHooks=J,p.safeUseLayoutEffect=Re,p.useAbsoluteLayout=cn,p.useAsyncDebounce=function(e,t){t===void 0&&(t=0);var n=g.useRef({}),r=M(e),i=M(t);return g.useCallback(function(){var o=Q(regeneratorRuntime.mark(function s(){var a,l,d,w=arguments;return regeneratorRuntime.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:for(a=w.length,l=new Array(a),d=0;d1?t-1:0),r=1;ry.accessor!=="process");function Ko(y){switch(y.column.id){case"start":return ho(y.value,0);case"download":case"upload":return Rn(y.value);case"downloadSpeedCurr":case"uploadSpeedCurr":return Rn(y.value)+"/s";default:return y.value}}const Uo={id:"id",desc:!0},Xo={sortBy:[Uo],hiddenColumns:["id"]};function Qo({data:y}){const F=Pe.useContext(Tn),{getTableProps:p,headerGroups:g,rows:X,prepareRow:Q}=lt.useTable({columns:F.hasProcessPath?$o:qo,data:y,initialState:Xo,autoResetSortBy:!1},lt.useSortBy);return $("div",{...p(),style:{"--col-count":F.hasProcessPath?"12":"11"},children:g.map(c=>ye("div",{...c.getHeaderGroupProps(),className:Fe.tr,children:[c.headers.map(V=>ye("div",{...V.getHeaderProps(V.getSortByToggleProps()),className:Fe.th,children:[$("span",{children:V.render("Header")}),$("span",{className:Fe.sortIconContainer,children:V.isSorted?$("span",{className:V.isSortedDesc?"":Fe.rotate180,children:$(mo,{size:16})}):null})]})),X.map((V,oe)=>(Q(V),V.cells.map((u,K)=>$("div",{...u.getCellProps(),className:Ge(Fe.td,oe%2===0?Fe.odd:!1,F.hasProcessPath?K>=2&&K<=5?Fe.du:!1:K>=1&&K<=4?Fe.du:!1),children:Ko(u)}))))]}))})}const Jo="_overlay_148w6_1",Yo="_cnt_148w6_5",Zo="_afterOpen_148w6_15",ei="_btngrp_148w6_20",st={overlay:Jo,cnt:Yo,afterOpen:Zo,btngrp:ei},{useRef:ti,useCallback:ni,useMemo:ri}=Pe;function oi({isOpen:y,onRequestClose:F,primaryButtonOnTap:p}){const g=ti(null),X=ni(()=>{g.current.focus()},[]),Q=ri(()=>({base:Ge(bn.content,st.cnt),afterOpen:st.afterOpen,beforeClose:""}),[]);return ye(oo,{isOpen:y,onRequestClose:F,onAfterOpen:X,className:Q,overlayClassName:Ge(bn.overlay,st.overlay),children:[$("p",{children:"Are you sure you want to close all connections?"}),ye("div",{className:st.btngrp,children:[$(Cn,{onClick:p,ref:g,children:"I'm sure"}),$("div",{style:{width:20}}),$(Cn,{onClick:F,children:"No"})]})]})}const{useEffect:ii,useState:Ve,useRef:si,useCallback:$e}=Pe,xn=30;function ui(y){const F={};for(let p=0;p[p.host,p.sourceIP,p.sourcePort,p.destinationIP,p.chains,p.rule,p.type,p.network,p.processPath].some(g=>li(g,F))):y}function ci(y,F,p,g){const{id:X,metadata:Q,upload:c,download:V,start:oe,chains:u,rule:K,rulePayload:ce}=y,{host:Y,destinationPort:ie,destinationIP:D,network:J,type:me,sourceIP:ge,sourcePort:le}=Q,M=Q.processPath;g.hasProcessPath===!1&&typeof M<"u"&&(g.hasProcessPath=!0);let Re=Y;Re===""&&(Re=D);const te=F[X];return{id:X,upload:c,download:V,start:p-new Date(oe).valueOf(),chains:u.reverse().join(" / "),rule:ce?`${K}(${ce})`:K,...Q,host:`${Re}:${ie}`,type:`${me}(${J})`,source:`${ge}:${le}`,downloadSpeedCurr:V-(te?te.download:0),uploadSpeedCurr:c-(te?te.upload:0),process:ai(M)}}function In(y){return y.length>0?$(Qo,{data:y}):$("div",{className:qe.placeHolder,children:$(go,{width:200,height:200,c1:"var(--color-text)"})})}function En({qty:y}){return y<100?""+y:"99+"}function di({apiConfig:y}){const[F,p]=vo(),[g,X]=Ve([]),[Q,c]=Ve([]),[V,oe]=Ve(""),u=Bn(g,V),K=Bn(Q,V),[ce,Y]=Ve(!1),ie=$e(()=>Y(!0),[]),D=$e(()=>Y(!1),[]),[J,me]=Ve(!1),ge=$e(()=>me(xe=>!xe),[]),le=$e(()=>{so(y),D()},[y,D]),M=si(g),Re=Pe.useContext(Tn),te=$e(({connections:xe})=>{const We=ui(M.current),Ne=Date.now(),be=xe.map(Ce=>ci(Ce,We,Ne,Re)),He=[];for(const Ce of M.current)be.findIndex(H=>H.id===Ce.id)<0&&He.push(Ce);c(Ce=>[...He,...Ce].slice(0,101)),be&&(be.length!==0||M.current.length!==0)&&!J?(M.current=be,X(be)):M.current=be},[X,J,Re]);ii(()=>uo(y,te),[y,te]);const{t:we}=ao();return ye("div",{children:[$(lo,{title:we("Connections")}),ye(ft,{children:[ye("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between"},children:[ye(pt,{children:[ye(Ke,{children:[$("span",{children:we("Active")}),$("span",{className:qe.connQty,children:En({qty:u.length})})]}),ye(Ke,{children:[$("span",{children:we("Closed")}),$("span",{className:qe.connQty,children:En({qty:K.length})})]})]}),$("div",{className:qe.inputWrapper,children:$("input",{type:"text",name:"filter",autoComplete:"off",className:qe.input,placeholder:"Filter",onChange:xe=>oe(xe.target.value)})})]}),$("div",{ref:F,style:{padding:30,paddingBottom:xn,paddingTop:0},children:ye("div",{style:{height:p-xn,overflow:"auto"},children:[ye(Ue,{children:[$(co,{children:In(u)}),$(yo,{icon:J?$(bo,{size:16}):$(Co,{size:16}),mainButtonStyles:J?{background:"#e74c3c"}:{},style:wo,text:we(J?"Resume Refresh":"Pause Refresh"),onClick:ge,children:$(Ro,{text:"Close All Connections",onClick:ie,children:$(fo,{size:10})})})]}),$(Ue,{children:In(K)})]})}),$(oi,{isOpen:ce,primaryButtonOnTap:le,onRequestClose:D})]})]})}const fi=y=>({apiConfig:po(y)}),wi=io(fi)(di);export{wi as default}; diff --git a/assets/Connections-fb8ea59b.css b/assets/Connections-fb8ea59b.css new file mode 100644 index 0000000..5d18a47 --- /dev/null +++ b/assets/Connections-fb8ea59b.css @@ -0,0 +1 @@ +.react-tabs{-webkit-tap-highlight-color:transparent}.react-tabs__tab-list{margin:0 0 10px;padding:0 30px}.react-tabs__tab{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:5px;bottom:-1px;position:relative;list-style:none;padding:6px 10px;cursor:pointer;font-size:1.2em;opacity:.5}.react-tabs__tab--selected{opacity:1}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{border-color:#0188fe;outline:none}.react-tabs__tab:focus:after{content:"";position:absolute}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}._placeHolder_12xws_1{height:100%;display:flex;align-items:center;justify-content:center;color:var(--color-background);opacity:.1}._connQty_12xws_10{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._inputWrapper_12xws_22{margin:0 30px;width:100%;max-width:350px;justify-self:flex-end}._input_12xws_22{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:18px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:36px;outline:none;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._tr_daq0k_1{display:grid;grid-template-columns:repeat(var(--col-count, 11),minmax(-webkit-max-content,auto));grid-template-columns:repeat(var(--col-count, 11),minmax(max-content,auto))}._th_daq0k_6{padding:8px 10px;height:50px;background:var(--color-background);position:-webkit-sticky;position:sticky;top:0;font-size:.8em;text-align:center;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between}._th_daq0k_6:hover{color:var(--color-text-highlight)}._td_daq0k_23{padding:8px 13px;font-size:.9em;font-family:var(--font-normal)}._td_daq0k_23._odd_daq0k_29{background:var(--color-row-odd)}._du_daq0k_34{text-align:right}._sortIconContainer_daq0k_38{display:inline-flex;margin-left:10px;width:16px;height:16px}._rotate180_daq0k_45{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._overlay_148w6_1{background-color:#0009}._cnt_148w6_5{background-color:var(--bg-modal);color:var(--color-text);max-width:300px;line-height:1.4;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);opacity:.6;transition:all .3s ease}._afterOpen_148w6_15{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._btngrp_148w6_20{display:flex;align-items:center;justify-content:center;margin-top:30px} diff --git a/assets/Fab-169bb281.js b/assets/Fab-169bb281.js new file mode 100644 index 0000000..b225a7d --- /dev/null +++ b/assets/Fab-169bb281.js @@ -0,0 +1 @@ +import{j as e,b,i as y,r as l}from"./index-3e6aad90.js";const E="_spining_4i8sg_1",F="_spining_keyframes_4i8sg_1",M={spining:E,spining_keyframes:F},{useState:j}=y;function B({children:s}){return e("span",{className:M.spining,children:s})}const H={right:10,bottom:10},L=({children:s,...n})=>e("button",{type:"button",...n,className:"rtf--ab",children:s}),v=({children:s,...n})=>e("button",{type:"button",className:"rtf--mb",...n,children:s}),O={bottom:24,right:24},R=({event:s="hover",style:n=O,alwaysShowTitle:o=!1,children:f,icon:g,mainButtonStyles:h,onClick:p,text:d,..._})=>{const[a,r]=j(!1),c=o||!a,u=()=>r(!0),m=()=>r(!1),k=()=>s==="hover"&&u(),x=()=>s==="hover"&&m(),N=t=>p?p(t):(t.persist(),s==="click"?a?m():u():null),$=(t,i)=>{t.persist(),r(!1),setTimeout(()=>{i(t)},1)},C=()=>l.Children.map(f,(t,i)=>l.isValidElement(t)?b("li",{className:`rtf--ab__c ${"top"in n?"top":""}`,children:[l.cloneElement(t,{"data-testid":`action-button-${i}`,"aria-label":t.props.text||`Menu button ${i+1}`,"aria-hidden":c,tabIndex:a?0:-1,...t.props,onClick:I=>{t.props.onClick&&$(I,t.props.onClick)}}),t.props.text&&e("span",{className:`${"right"in n?"right":""} ${o?"always-show":""}`,"aria-hidden":c,children:t.props.text})]}):null);return e("ul",{onMouseEnter:k,onMouseLeave:x,className:`rtf ${a?"open":"closed"}`,"data-testid":"fab",style:n,..._,children:b("li",{className:"rtf--mb__c",children:[e(v,{onClick:N,style:h,"data-testid":"main-button",role:"button","aria-label":"Floating menu",tabIndex:0,children:g}),d&&e("span",{className:`${"right"in n?"right":""} ${o?"always-show":""}`,"aria-hidden":c,children:d}),e("ul",{children:C()})]})})};export{L as A,R as F,B as I,H as p}; diff --git a/assets/Fab-a0a7e573.css b/assets/Fab-a0a7e573.css new file mode 100644 index 0000000..673a61d --- /dev/null +++ b/assets/Fab-a0a7e573.css @@ -0,0 +1 @@ +.rtf{box-sizing:border-box;margin:25px;position:fixed;white-space:nowrap;z-index:9998;padding-left:0;list-style:none}.rtf.open .rtf--mb{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.rtf.open .rtf--mb>ul{list-style:none;margin:0;padding:0}.rtf.open .rtf--ab__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf.open .rtf--ab__c:nth-child(1){-webkit-transform:translateY(-60px) scale(1);transform:translateY(-60px) scale(1);transition-delay:.03s}.rtf.open .rtf--ab__c:nth-child(1).top{-webkit-transform:translateY(60px) scale(1);transform:translateY(60px) scale(1)}.rtf.open .rtf--ab__c:nth-child(2){-webkit-transform:translateY(-120px) scale(1);transform:translateY(-120px) scale(1);transition-delay:.09s}.rtf.open .rtf--ab__c:nth-child(2).top{-webkit-transform:translateY(120px) scale(1);transform:translateY(120px) scale(1)}.rtf.open .rtf--ab__c:nth-child(3){-webkit-transform:translateY(-180px) scale(1);transform:translateY(-180px) scale(1);transition-delay:.12s}.rtf.open .rtf--ab__c:nth-child(3).top{-webkit-transform:translateY(180px) scale(1);transform:translateY(180px) scale(1)}.rtf.open .rtf--ab__c:nth-child(4){-webkit-transform:translateY(-240px) scale(1);transform:translateY(-240px) scale(1);transition-delay:.15s}.rtf.open .rtf--ab__c:nth-child(4).top{-webkit-transform:translateY(240px) scale(1);transform:translateY(240px) scale(1)}.rtf.open .rtf--ab__c:nth-child(5){-webkit-transform:translateY(-300px) scale(1);transform:translateY(-300px) scale(1);transition-delay:.18s}.rtf.open .rtf--ab__c:nth-child(5).top{-webkit-transform:translateY(300px) scale(1);transform:translateY(300px) scale(1)}.rtf.open .rtf--ab__c:nth-child(6){-webkit-transform:translateY(-360px) scale(1);transform:translateY(-360px) scale(1);transition-delay:.21s}.rtf.open .rtf--ab__c:nth-child(6).top{-webkit-transform:translateY(360px) scale(1);transform:translateY(360px) scale(1)}.rtf--mb__c{padding:25px;margin:-25px}.rtf--mb__c *:last-child{margin-bottom:0}.rtf--mb__c:hover>span{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span.always-show{transition:ease-in-out opacity .2s;opacity:.9}.rtf--mb__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-right:6px;margin-left:4px;background:rgba(0,0,0,.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--mb__c>span.right{right:100%}.rtf--mb{width:48px;height:48px;background:var(--btn-bg);z-index:9999;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:18px}.rtf--mb>*{transition:ease-in-out transform .2s}.rtf--ab__c{display:block;position:absolute;top:0;right:1px;padding:10px 0;margin:-10px 0;transition:ease-in-out transform .2s}.rtf--ab__c>span{opacity:0;transition:ease-in-out opacity .2s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-right:6px;background:rgba(0,0,0,.75);padding:2px 4px;border-radius:2px;color:#fff;font-size:13px;box-shadow:0 0 4px #00000024,0 4px 8px #00000047}.rtf--ab__c>span.right{right:100%}.rtf--ab__c:nth-child(1){-webkit-transform:translateY(-60px) scale(0);transform:translateY(-60px) scale(0);transition-delay:.21s}.rtf--ab__c:nth-child(1).top{-webkit-transform:translateY(60px) scale(0);transform:translateY(60px) scale(0)}.rtf--ab__c:nth-child(2){-webkit-transform:translateY(-120px) scale(0);transform:translateY(-120px) scale(0);transition-delay:.18s}.rtf--ab__c:nth-child(2).top{-webkit-transform:translateY(120px) scale(0);transform:translateY(120px) scale(0)}.rtf--ab__c:nth-child(3){-webkit-transform:translateY(-180px) scale(0);transform:translateY(-180px) scale(0);transition-delay:.15s}.rtf--ab__c:nth-child(3).top{-webkit-transform:translateY(180px) scale(0);transform:translateY(180px) scale(0)}.rtf--ab__c:nth-child(4){-webkit-transform:translateY(-240px) scale(0);transform:translateY(-240px) scale(0);transition-delay:.12s}.rtf--ab__c:nth-child(4).top{-webkit-transform:translateY(240px) scale(0);transform:translateY(240px) scale(0)}.rtf--ab__c:nth-child(5){-webkit-transform:translateY(-300px) scale(0);transform:translateY(-300px) scale(0);transition-delay:.09s}.rtf--ab__c:nth-child(5).top{-webkit-transform:translateY(300px) scale(0);transform:translateY(300px) scale(0)}.rtf--ab__c:nth-child(6){-webkit-transform:translateY(-360px) scale(0);transform:translateY(-360px) scale(0);transition-delay:.03s}.rtf--ab__c:nth-child(6).top{-webkit-transform:translateY(360px) scale(0);transform:translateY(360px) scale(0)}.rtf--ab{height:40px;width:40px;margin-right:4px;background-color:#aaa;display:inline-flex;justify-content:center;align-items:center;position:relative;border:none;border-radius:50%;box-shadow:0 0 4px #00000024,0 4px 8px #00000047;cursor:pointer;outline:none;padding:0;-webkit-user-drag:none;font-weight:700;color:#f1f1f1;font-size:16px;z-index:10000}.rtf--ab:hover{background:#387cec;border:1px solid #387cec;color:#fff}.rtf--ab:focus{border-color:var(--color-focus-blue)}._spining_4i8sg_1{position:relative;border-radius:50%;background:linear-gradient(60deg,#e66465,#9198e5);width:48px;height:48px;display:flex;justify-content:center;align-items:center}._spining_4i8sg_1:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;-webkit-animation:_spining_keyframes_4i8sg_1 1s linear infinite;animation:_spining_keyframes_4i8sg_1 1s linear infinite}@-webkit-keyframes _spining_keyframes_4i8sg_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _spining_keyframes_4i8sg_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}} diff --git a/assets/Logs-4b8e75d1.css b/assets/Logs-4b8e75d1.css new file mode 100644 index 0000000..821aba4 --- /dev/null +++ b/assets/Logs-4b8e75d1.css @@ -0,0 +1 @@ +._RuleSearch_1oz2t_1{padding:0 40px 5px}._RuleSearchContainer_1oz2t_5{position:relative;height:40px}._inputWrapper_1oz2t_10{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;width:100%}._input_1oz2t_10{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 15px 0 35px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._iconWrapper_1oz2t_35{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:10px;display:flex;justify-content:center;align-items:center}._logMeta_7a1x3_1{display:flex;align-items:center;flex-wrap:wrap;font-size:.9em}._logType_7a1x3_8{color:#eee;flex-shrink:0;text-align:center;width:66px;border-radius:100px;padding:3px 5px;margin:0 8px}._logTime_7a1x3_18{flex-shrink:0;color:#999;font-size:14px}._logText_7a1x3_24{flex-shrink:0;display:flex;font-family:Roboto Mono,Menlo,monospace;align-items:center;padding:8px 0;width:100%;white-space:pre;overflow:auto}._logsWrapper_7a1x3_37{margin:0;padding:0;color:var(--color-text)}._logsWrapper_7a1x3_37 .log{padding:10px 40px;background:var(--color-background)}._logsWrapper_7a1x3_37 .log.even{background:var(--color-background)}._logPlaceholder_7a1x3_51{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2d2d30}._logPlaceholder_7a1x3_51 div:nth-child(2){color:var(--color-text-secondary);font-size:1.4em;opacity:.6}._logPlaceholderIcon_7a1x3_64{opacity:.3}._search_7a1x3_68{max-width:1000px} diff --git a/assets/Logs-ad267e02.js b/assets/Logs-ad267e02.js new file mode 100644 index 0000000..c032764 --- /dev/null +++ b/assets/Logs-ad267e02.js @@ -0,0 +1 @@ +import{r as m,R as f,k as d,j as n,b as g,e as b,J as P,K as R,y as L,L as N,u as w,C as z,S as C,N as W,O,h as j,P as k,i as I,c as E}from"./index-3e6aad90.js";import{a as $,F}from"./index.esm-37f2c08f.js";import{r as M,s as A,f as B}from"./logs-08774dd8.js";import{d as D}from"./debounce-c1ba2006.js";import{u as H}from"./useRemainingViewPortHeight-175c2a6c.js";import{F as K,p as q}from"./Fab-169bb281.js";import{P as J,a as V}from"./play-30aef65c.js";function v(){return v=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function G(e,r){if(e==null)return{};var t={},o=Object.keys(e),a,s;for(s=0;s=0)&&(t[a]=e[a]);return t}var x=m.forwardRef(function(e,r){var t=e.color,o=t===void 0?"currentColor":t,a=e.size,s=a===void 0?24:a,l=Y(e,["color","size"]);return f.createElement("svg",v({ref:r,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),f.createElement("circle",{cx:"11",cy:"11",r:"8"}),f.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))});x.propTypes={color:d.string,size:d.oneOfType([d.string,d.number])};x.displayName="Search";const Q=x,U="_RuleSearch_1oz2t_1",X="_RuleSearchContainer_1oz2t_5",Z="_inputWrapper_1oz2t_10",ee="_input_1oz2t_10",te="_iconWrapper_1oz2t_35",p={RuleSearch:U,RuleSearchContainer:X,inputWrapper:Z,input:ee,iconWrapper:te};function oe({dispatch:e,searchText:r,updateSearchText:t}){const[o,a]=m.useState(r),s=m.useCallback(i=>{e(t(i))},[e,t]),l=m.useMemo(()=>D(s,300),[s]),h=i=>{a(i.target.value),l(i.target.value)};return n("div",{className:p.RuleSearch,children:g("div",{className:p.RuleSearchContainer,children:[n("div",{className:p.inputWrapper,children:n("input",{type:"text",value:o,onChange:h,className:p.input})}),n("div",{className:p.iconWrapper,children:n(Q,{size:20})})]})})}const re=e=>({searchText:P(e),updateSearchText:R}),ae=b(re)(oe),ne="_logMeta_7a1x3_1",se="_logType_7a1x3_8",ce="_logTime_7a1x3_18",ie="_logText_7a1x3_24",le="_logsWrapper_7a1x3_37",pe="_logPlaceholder_7a1x3_51",ge="_logPlaceholderIcon_7a1x3_64",he="_search_7a1x3_68",c={logMeta:ne,logType:se,logTime:ce,logText:ie,logsWrapper:le,logPlaceholder:pe,logPlaceholderIcon:ge,search:he},{useCallback:S,memo:ue,useEffect:de}=I,_=30,me={debug:"#28792c",info:"var(--bg-log-info-tag)",warning:"#b99105",error:"#c11c1c"};function fe({time:e,even:r,payload:t,type:o}){const a=E({even:r},"log");return n("div",{className:a,children:g("div",{className:c.logMeta,children:[n("div",{className:c.logTime,children:e}),n("div",{className:c.logType,style:{backgroundColor:me[o]},children:o}),n("div",{className:c.logText,children:t})]})})}function _e(e,r){return r[e].id}const ve=ue(({index:e,style:r,data:t})=>{const o=t[e];return n("div",{style:r,children:n(fe,{...o})})},$);function xe({dispatch:e,logLevel:r,apiConfig:t,logs:o,logStreamingPaused:a}){const s=L(),l=S(()=>{a?M({...t,logLevel:r}):A(),s.app.updateAppConfig("logStreamingPaused",!a)},[t,r,a,s.app]),h=S(T=>e(N(T)),[e]);de(()=>{B({...t,logLevel:r},h)},[t,r,h]);const[i,y]=H(),{t:u}=w();return g("div",{children:[n(z,{title:u("Logs")}),n("div",{className:c.search,children:n(ae,{})}),n("div",{ref:i,style:{paddingBottom:_},children:o.length===0?g("div",{className:c.logPlaceholder,style:{height:y-_},children:[n("div",{className:c.logPlaceholderIcon,children:n(C,{width:200,height:200})}),n("div",{children:u("no_logs")})]}):g("div",{className:c.logsWrapper,children:[n(F,{height:y-_,width:"100%",itemCount:o.length,itemSize:80,itemData:o,itemKey:_e,children:ve}),n(K,{icon:a?n(J,{size:16}):n(V,{size:16}),mainButtonStyles:a?{background:"#e74c3c"}:{},style:q,text:u(a?"Resume Refresh":"Pause Refresh"),onClick:l})]})})]})}const ye=e=>({logs:W(e),logLevel:O(e),apiConfig:j(e),logStreamingPaused:k(e)}),we=b(ye)(xe);export{we as default}; diff --git a/assets/Proxies-869a8128.js b/assets/Proxies-869a8128.js new file mode 100644 index 0000000..f520a96 --- /dev/null +++ b/assets/Proxies-869a8128.js @@ -0,0 +1 @@ +import{r as b,R as W,k as O,c as C,T as xe,j as o,b as i,B as g,i as f,U as be,V as ge,W as ne,X as re,e as k,Y as we,F as T,Z as Ce,$ as oe,a0 as H,y as D,a1 as ke,a2 as se,a3 as L,a4 as ae,a5 as U,a6 as q,a7 as Pe,a8 as Se,u as z,a9 as Ne,aa as Oe,ab as $e,h as ce,C as le,z as Z,ac as Ae,m as G,d as Le,ad as Te,ae as De,af as je,ag as Be}from"./index-3e6aad90.js";import{C as Ie}from"./chevron-down-fcc32a65.js";import{F as Re,p as Fe,A as Ee,I as Me}from"./Fab-169bb281.js";import{R as He,a as Ue,T as qe}from"./TextFitler-4f121c73.js";import{f as ze}from"./index-2a3ca6b4.js";import{S as Ke}from"./Select-4fa356cc.js";import"./debounce-c1ba2006.js";function M(){return M=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function We(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,a;for(a=0;a=0)&&(n[s]=e[s]);return n}var K=b.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,s=e.size,a=s===void 0?24:s,c=Ve(e,["color","size"]);return W.createElement("svg",M({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),W.createElement("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}))});K.propTypes={color:O.string,size:O.oneOfType([O.string,O.number])};K.displayName="Zap";const Y=K;function ie(e){const t=e.size||24,n=C({[xe.animate]:e.animate});return o("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"})})}const Ze="_FlexCenter_1380a_1",Ge={FlexCenter:Ze};function Ye({children:e}){return o("div",{className:Ge.FlexCenter,children:e})}const{useRef:X,useEffect:Xe}=f;function Je({onClickPrimaryButton:e,onClickSecondaryButton:t}){const n=X(null),r=X(null);return Xe(()=>{n.current.focus()},[]),i("div",{onKeyDown:a=>{a.code==="ArrowRight"?r.current.focus():a.code==="ArrowLeft"&&n.current.focus()},children:[o("h2",{children:"Close Connections?"}),o("p",{children:'Click "Yes" to close those connections that are still using the old selected proxy in this group'}),o("div",{style:{height:30}}),i(Ye,{children:[o(g,{onClick:e,ref:n,children:"Yes"}),o("div",{style:{width:20}}),o(g,{onClick:t,ref:r,children:"No"})]})]})}const Qe="_header_1y9js_1",et="_arrow_1y9js_8",tt="_isOpen_1y9js_13",nt="_btn_1y9js_20",rt="_qty_1y9js_25",P={header:Qe,arrow:et,isOpen:tt,btn:nt,qty:rt};function ue({name:e,type:t,toggle:n,isOpen:r,qty:s}){const a=b.useCallback(c=>{c.preventDefault(),(c.key==="Enter"||c.key===" ")&&n()},[n]);return i("div",{className:P.header,onClick:n,style:{cursor:"pointer"},tabIndex:0,onKeyDown:a,role:"button",children:[o("div",{children:o(be,{name:e,type:t})}),typeof s=="number"?o("span",{className:P.qty,children:s}):null,o(g,{kind:"minimal",onClick:n,className:P.btn,title:"Toggle collapsible section",children:o("span",{className:C(P.arrow,{[P.isOpen]:r}),children:o(Ie,{size:20})})})]})}const{useMemo:ot}=f;function st(e,t){return e.filter(n=>{const r=t[n];return r===void 0?!0:r.number!==0})}const $=(e,t)=>{if(e&&typeof e.number=="number"&&e.number>0)return e.number;const n=t&&t.type;return n&&re.indexOf(n)>-1?-1:999999},at={Natural:e=>e,LatencyAsc:(e,t,n)=>e.sort((r,s)=>{const a=$(t[r],n&&n[r]),c=$(t[s],n&&n[s]);return a-c}),LatencyDesc:(e,t,n)=>e.sort((r,s)=>{const a=$(t[r],n&&n[r]);return $(t[s],n&&n[s])-a}),NameAsc:e=>e.sort(),NameDesc:e=>e.sort((t,n)=>t>n?-1:tr.trim()).filter(r=>!!r);return n.length===0?e:e.filter(r=>{let s=0;for(;s-1)return!0}return!1})}function lt(e,t,n,r,s,a){let c=[...e];return n&&(c=st(e,t)),typeof r=="string"&&r!==""&&(c=ct(c,r)),at[s](c,t,a)}function de(e,t,n,r,s){const[a]=ge(ne);return ot(()=>lt(e,t,n,a,r,s),[e,t,n,a,r,s])}const it="_header_5pmv2_1",ut="_groupHead_5pmv2_5",dt="_action_5pmv2_11",I={header:it,groupHead:ut,action:dt},pt="_proxy_ryc3j_1",ht="_now_ryc3j_25",yt="_error_ryc3j_29",ft="_selectable_ryc3j_32",mt="_proxyType_ryc3j_40",_t="_row_ryc3j_51",vt="_proxyName_ryc3j_57",xt="_proxySmall_ryc3j_66",m={proxy:pt,now:ht,error:yt,selectable:ft,proxyType:mt,row:_t,proxyName:vt,proxySmall:xt},bt="_proxyLatency_pw0sa_1",gt={proxyLatency:bt};function wt({latency:e,color:t}){let n=" ";if(e)switch(e.kind){case"Error":case"Testing":n="- ms";break;case"Result":n=(e.number!==0?e.number:"-")+" ms";break}return o("span",{className:gt.proxyLatency,style:{color:t},children:n})}const{useMemo:N}=f,w={good:"#67c23a",normal:"#d4b75c",bad:"#e67f3c",na:"#909399"};function pe(e){if(!e||e.kind!=="Result")return w.na;const t=e.number;return t===0?w.na:t<200?w.good:t<400?w.normal:typeof t=="number"?w.bad:w.na}function Ct(e,t){return re.indexOf(t)>-1?{border:"1px dotted #777"}:{background:pe(e)}}function kt({now:e,name:t,proxy:n,latency:r,isSelectable:s,onClick:a}){const c=N(()=>Ct(r,n.type),[r,n]),l=N(()=>{let d=t;return r&&r.kind==="Result"&&typeof r.number=="number"&&(d+=" "+r.number+" ms"),d},[t,r]),u=b.useCallback(()=>{s&&a&&a(t)},[t,a,s]),p=N(()=>C(m.proxySmall,{[m.now]:e,[m.selectable]:s}),[s,e]),h=b.useCallback(d=>{d.key==="Enter"&&u()},[u]);return o("div",{title:l,className:p,style:c,onClick:u,onKeyDown:h,role:s?"menuitem":""})}function Pt(e){return e==="Shadowsocks"?"SS":e}const St=e=>({left:e.left+window.scrollX-5,top:e.top+window.scrollY-38});function Nt({children:e,label:t,"aria-label":n}){const[r,s]=we();return i(T,{children:[b.cloneElement(e,r),o(Ce,{...s,label:t,"aria-label":n,position:St})]})}function Ot({now:e,name:t,proxy:n,latency:r,isSelectable:s,onClick:a}){const c=N(()=>pe(r),[r]),l=b.useCallback(()=>{s&&a&&a(t)},[t,a,s]),u=b.useCallback(h=>{h.key==="Enter"&&l()},[l]),p=N(()=>C(m.proxy,{[m.now]:e,[m.selectable]:s}),[s,e]);return i("div",{tabIndex:0,className:p,onClick:l,onKeyDown:u,role:s?"menuitem":"",children:[o("div",{className:m.proxyName,children:o(Nt,{label:t,"aria-label":"proxy name: "+t,children:o("span",{children:t})})}),i("div",{className:m.row,children:[o("span",{className:m.proxyType,style:{opacity:e?.6:.2},children:Pt(n.type)}),o(wt,{latency:r,color:c})]})]})}const he=(e,{name:t})=>{const n=oe(e),r=H(e);return{proxy:n[t]||{name:t,type:"Unknown",history:[]},latency:r[t]}},$t=k(he)(Ot),At=k(he)(kt),Lt="_list_1oy7w_1",Tt="_listSummaryView_1oy7w_8",ye={list:Lt,listSummaryView:Tt};function fe({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){const s=e;return o("div",{className:ye.list,children:s.map(a=>o($t,{onClick:r,isSelectable:n,name:a,now:a===t},a))})}function me({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){return o("div",{className:ye.listSummaryView,children:e.map(s=>o(At,{onClick:r,isSelectable:n,name:s,now:s===t},s))})}const{createElement:Dt,useCallback:R,useMemo:jt}=f;function Bt({name:e,all:t,delay:n,hideUnavailableProxies:r,proxySortBy:s,proxies:a,type:c,now:l,isOpen:u,apiConfig:p,dispatch:h}){const d=de(t,n,r,s,a),v=jt(()=>c==="Selector",[c]),{app:{updateCollapsibleIsOpen:x},proxies:{requestDelayForProxies:y}}=D(),j=R(()=>{x("proxyGroup",e,!u)},[u,x,e]),B=R(V=>{v&&h(ke(p,e,V))},[p,h,e,v]),_=se(!1),ve=R(async()=>{if(!_.value){_.set(!0);try{await y(p,d)}catch{}_.set(!1)}},[d,p,y,_]);return i("div",{className:I.group,children:[i("div",{className:I.groupHead,children:[o(ue,{name:e,type:c,toggle:j,qty:d.length,isOpen:u}),o("div",{className:I.action,children:o(L,{label:"Test latency",children:o(g,{kind:"circular",onClick:ve,children:o(ie,{animate:_.value,size:16})})})})]}),Dt(u?fe:me,{all:d,now:l,isSelectable:v,itemOnTapCallback:B})]})}const It=k((e,{name:t,delay:n})=>{const r=oe(e),s=ae(e),a=U(e),c=q(e),l=r[t],{all:u,type:p,now:h}=l;return{all:u,delay:n,hideUnavailableProxies:c,proxySortBy:a,proxies:r,type:p,now:h,isOpen:s[`proxyGroup:${t}`]}})(Bt),{useCallback:_e,useState:Rt}=f;function Ft({dispatch:e,apiConfig:t,name:n}){return _e(()=>e(Pe(t,n)),[t,e,n])}function Et({dispatch:e,apiConfig:t,names:n}){const[r,s]=Rt(!1);return[_e(async()=>{if(!r){s(!0);try{await e(Se(t,n))}catch{}s(!1)}},[t,e,n,r]),r]}const{useState:Mt,useCallback:Ht}=f;function Ut({isLoading:e}){return e?o(Me,{children:o(Y,{width:16,height:16})}):o(Y,{width:16,height:16})}function qt({dispatch:e,apiConfig:t}){const[n,r]=Mt(!1);return[Ht(()=>{n||(r(!0),e(Ne(t)).then(()=>r(!1),()=>r(!1)))},[t,e,n]),n]}function zt({dispatch:e,apiConfig:t,proxyProviders:n}){const{t:r}=z(),[s,a]=qt({dispatch:e,apiConfig:t}),[c,l]=Et({apiConfig:t,dispatch:e,names:n.map(u=>u.name)});return o(Re,{icon:o(Ut,{isLoading:a}),onClick:s,text:r("Test Latency"),style:Fe,children:n.length>0?o(Ee,{text:r("update_all_proxy_provider"),onClick:c,children:o(He,{isRotating:l})}):null})}const Kt="_updatedAt_919yi_1",Vt="_main_919yi_8",Wt="_head_919yi_17",Zt="_action_919yi_23",Gt="_refresh_919yi_31",S={updatedAt:Kt,main:Vt,head:Wt,action:Zt,refresh:Gt},{useCallback:J}=f;function Yt({name:e,proxies:t,delay:n,hideUnavailableProxies:r,proxySortBy:s,vehicleType:a,updatedAt:c,isOpen:l,dispatch:u,apiConfig:p}){const h=de(t,n,r,s),d=se(!1),v=Ft({dispatch:u,apiConfig:p,name:e}),x=J(()=>{if(d.value)return;d.set(!0);const _=()=>d.set(!1);u(Oe(p,e)).then(_,_)},[p,u,e,d]),{app:{updateCollapsibleIsOpen:y}}=D(),j=J(()=>{y("proxyProvider",e,!l)},[l,y,e]),B=ze(new Date(c),new Date);return i("div",{className:S.main,children:[i("div",{className:S.head,children:[o(ue,{name:e,toggle:j,type:a,isOpen:l,qty:h.length}),i("div",{className:S.action,children:[o(L,{label:"Update",children:o(g,{kind:"circular",onClick:v,children:o(Qt,{})})}),o(L,{label:"Health Check",children:o(g,{kind:"circular",onClick:x,children:o(ie,{animate:d.value,size:16})})})]})]}),o("div",{className:S.updatedAt,children:i("small",{children:["Updated ",B," ago"]})}),l?o(fe,{all:h}):o(me,{all:h})]})}const Xt={rest:{scale:1},pressed:{scale:.95}},Jt={rest:{rotate:0},hover:{rotate:360,transition:{duration:.3}}};function Qt(){const t=$e.read().motion;return o(t.div,{className:S.refresh,variants:Xt,initial:"rest",whileHover:"hover",whileTap:"pressed",children:o(t.div,{className:"flexCenter",variants:Jt,children:o(Ue,{size:16})})})}const en=(e,{proxies:t,name:n})=>{const r=q(e),s=H(e),a=ae(e),c=ce(e),l=U(e);return{apiConfig:c,proxies:t,delay:s,hideUnavailableProxies:r,proxySortBy:l,isOpen:a[`proxyProvider:${n}`]}},tn=k(en)(Yt);function nn({items:e}){return e.length===0?null:i(T,{children:[o(le,{title:"Proxy Provider"}),o("div",{children:e.map(t=>o(tn,{name:t.name,proxies:t.proxies,type:t.type,vehicleType:t.vehicleType,updatedAt:t.updatedAt},t.name))})]})}const rn="_labeledInput_cmki0_1",F={labeledInput:rn},on=[["Natural","order_natural"],["LatencyAsc","order_latency_asc"],["LatencyDesc","order_latency_desc"],["NameAsc","order_name_asc"],["NameDesc","order_name_desc"]],{useCallback:Q}=f;function sn({appConfig:e}){const{app:{updateAppConfig:t}}=D(),n=Q(a=>{t("proxySortBy",a.target.value)},[t]),r=Q(a=>{t("hideUnavailableProxies",a)},[t]),{t:s}=z();return i(T,{children:[i("div",{className:F.labeledInput,children:[o("span",{children:s("sort_in_grp")}),o("div",{children:o(Ke,{options:on.map(a=>[a[0],s(a[1])]),selected:e.proxySortBy,onChange:n})})]}),o("hr",{}),i("div",{className:F.labeledInput,children:[o("span",{children:s("hide_unavail_proxies")}),o("div",{children:o(Z,{name:"hideUnavailableProxies",checked:e.hideUnavailableProxies,onChange:r})})]}),i("div",{className:F.labeledInput,children:[o("span",{children:s("auto_close_conns")}),o("div",{children:o(Z,{name:"autoCloseOldConns",checked:e.autoCloseOldConns,onChange:a=>t("autoCloseOldConns",a)})})]})]})}const an=e=>{const t=U(e),n=q(e),r=Ae(e);return{appConfig:{proxySortBy:t,hideUnavailableProxies:n,autoCloseOldConns:r}}},cn=k(an)(sn),ln="_overlay_uuk3b_1",un="_cnt_uuk3b_5",dn="_afterOpen_uuk3b_16",E={overlay:ln,cnt:un,afterOpen:dn},{useMemo:pn}=f;function ee({isOpen:e,onRequestClose:t,children:n}){const r=pn(()=>({base:C(G.content,E.cnt),afterOpen:E.afterOpen,beforeClose:""}),[]);return o(Le,{isOpen:e,onRequestClose:t,className:r,overlayClassName:C(G.overlay,E.overlay),children:n})}function hn({color:e="currentColor",size:t=24}){return i("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o("path",{d:"M2 6h9M18.5 6H22"}),o("circle",{cx:"16",cy:"6",r:"2"}),o("path",{d:"M22 18h-9M6 18H2"}),o("circle",{r:"2",transform:"matrix(-1 0 0 1 8 18)"})]})}const yn="_topBar_16fpp_1",fn="_topBarRight_16fpp_13",mn="_textFilterContainer_16fpp_22",_n="_group_16fpp_29",A={topBar:yn,topBarRight:fn,textFilterContainer:mn,group:_n},{useState:vn,useEffect:xn,useCallback:te,useRef:bn}=f;function gn({dispatch:e,groupNames:t,delay:n,proxyProviders:r,apiConfig:s,showModalClosePrevConns:a}){const c=bn({}),l=te(()=>{c.current.startAt=Date.now(),e(Te(s)).then(()=>{c.current.completeAt=Date.now()})},[s,e]);xn(()=>{l();const y=()=>{c.current.startAt&&Date.now()-c.current.startAt>3e4&&l()};return window.addEventListener("focus",y,!1),()=>window.removeEventListener("focus",y,!1)},[l]);const[u,p]=vn(!1),h=te(()=>{p(!1)},[]),{proxies:{closeModalClosePrevConns:d,closePrevConnsAndTheModal:v}}=D(),{t:x}=z();return i(T,{children:[o(ee,{isOpen:u,onRequestClose:h,children:o(cn,{})}),i("div",{className:A.topBar,children:[o(le,{title:x("Proxies")}),i("div",{className:A.topBarRight,children:[o("div",{className:A.textFilterContainer,children:o(qe,{textAtom:ne})}),o(L,{label:x("settings"),children:o(g,{kind:"minimal",onClick:()=>p(!0),children:o(hn,{size:16})})})]})]}),o("div",{children:t.map(y=>o("div",{className:A.group,children:o(It,{name:y,delay:n,apiConfig:s,dispatch:e})},y))}),o(nn,{items:r}),o("div",{style:{height:60}}),o(zt,{dispatch:e,apiConfig:s,proxyProviders:r}),o(ee,{isOpen:a,onRequestClose:d,children:o(Je,{onClickPrimaryButton:()=>v(s),onClickSecondaryButton:d})})]})}const wn=e=>({apiConfig:ce(e),groupNames:De(e),proxyProviders:je(e),delay:H(e),showModalClosePrevConns:Be(e)}),An=k(wn)(gn);export{An as default}; diff --git a/assets/Proxies-bee4beaa.css b/assets/Proxies-bee4beaa.css new file mode 100644 index 0000000..92088e6 --- /dev/null +++ b/assets/Proxies-bee4beaa.css @@ -0,0 +1 @@ +._FlexCenter_1380a_1{display:flex;justify-content:center;align-items:center}._header_1y9js_1{display:flex;align-items:center}._header_1y9js_1:focus{outline:none}._header_1y9js_1 ._arrow_1y9js_8{display:inline-flex;-webkit-transform:rotate(0deg);transform:rotate(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}._header_1y9js_1 ._arrow_1y9js_8._isOpen_1y9js_13{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._header_1y9js_1 ._arrow_1y9js_8:focus{outline:var(--color-focus-blue) solid 1px}._btn_1y9js_20{margin-left:5px}._qty_1y9js_25{font-family:var(--font-normal);font-size:.75em;margin-left:3px;padding:2px 7px;display:inline-flex;justify-content:center;align-items:center;background-color:var(--bg-near-transparent);border-radius:30px}._header_5pmv2_1{margin-bottom:12px}._groupHead_5pmv2_5{display:flex;flex-wrap:wrap;align-items:center}._action_5pmv2_11{margin:0 5px}._proxy_ryc3j_1{margin:3px;padding:5px;position:relative;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;outline:none;border:1px solid transparent;max-width:200px;background-color:var(--color-bg-proxy)}._proxy_ryc3j_1:focus{border:1px solid var(--color-focus-blue)}@media screen and (min-width: 30em){._proxy_ryc3j_1{min-width:200px;border-radius:10px;padding:10px}}._proxy_ryc3j_1._now_ryc3j_25{background-color:var(--color-focus-blue);color:#ddd}._proxy_ryc3j_1._error_ryc3j_29{opacity:.5}._proxy_ryc3j_1._selectable_ryc3j_32{transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;cursor:pointer}._proxy_ryc3j_1._selectable_ryc3j_32:hover{border-color:hsl(0deg,0%,var(--card-hover-border-lightness))}._proxyType_ryc3j_40{font-family:var(--font-mono);font-size:.6em;margin-right:3px}@media screen and (min-width: 30em){._proxyType_ryc3j_40{font-size:.85em}}._row_ryc3j_51{display:flex;align-items:center;justify-content:space-between}._proxyName_ryc3j_57{width:100%;margin-bottom:5px;font-size:.85em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._proxySmall_ryc3j_66{--size: 13px;width:var(--size);height:var(--size);border-radius:50%;position:relative}._proxySmall_ryc3j_66._now_ryc3j_25{--size: 15px}._proxySmall_ryc3j_66._now_ryc3j_25:before{--size-dot: 7px;content:"";position:absolute;width:var(--size-dot);height:var(--size-dot);background-color:#fff;border:1px solid var(--color-proxy-dot-selected-ind-bo);border-radius:4px;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}._proxySmall_ryc3j_66._selectable_ryc3j_32{transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out;cursor:pointer}._proxySmall_ryc3j_66._selectable_ryc3j_32:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}._proxyLatency_pw0sa_1{border-radius:20px;color:#eee;font-size:.6em}@media screen and (min-width: 30em){._proxyLatency_pw0sa_1{font-size:.85em}}._list_1oy7w_1{display:flex;flex-wrap:wrap;margin:8px 0 8px -3px}._listSummaryView_1oy7w_8{margin:14px 0;display:grid;grid-template-columns:repeat(auto-fill,13px);grid-gap:10px;place-items:center;max-width:900px}._updatedAt_919yi_1{margin-bottom:12px}._updatedAt_919yi_1 small{color:#777}._main_919yi_8{padding:10px 15px}@media screen and (min-width: 30em){._main_919yi_8{padding:10px 40px}}._head_919yi_17{display:flex;align-items:center;flex-wrap:wrap}._action_919yi_23{margin:0 5px;display:grid;grid-template-columns:auto auto;gap:10px;place-items:center}._refresh_919yi_31{display:flex;justify-content:center;align-items:center;cursor:pointer}._labeledInput_cmki0_1{max-width:85vw;width:400px;display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:13px 0}hr{height:1px;background-color:var(--color-separator);border:none;outline:none;margin:1rem 0px}._overlay_uuk3b_1{background-color:#0009}._cnt_uuk3b_5{position:absolute;background-color:var(--bg-modal);color:var(--color-text);line-height:1.4;opacity:.6;transition:all .3s ease;-webkit-transform:translate(-50%,-50%) scale(1.2);transform:translate(-50%,-50%) scale(1.2);box-shadow:#0000001f 0 4px 4px,#0000003d 0 16px 32px}._afterOpen_uuk3b_16{opacity:1;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}._topBar_16fpp_1{position:-webkit-sticky;position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;z-index:1;background-color:var(--color-background2);-webkit-backdrop-filter:blur(36px);backdrop-filter:blur(36px)}._topBarRight_16fpp_13{display:flex;align-items:center;flex-wrap:wrap;flex:1;justify-content:flex-end;margin-right:20px}._textFilterContainer_16fpp_22{max-width:350px;min-width:150px;flex:1;margin-right:8px}._group_16fpp_29{padding:10px 15px}@media screen and (min-width: 30em){._group_16fpp_29{padding:10px 40px}} diff --git a/assets/Rules-6bba7454.js b/assets/Rules-6bba7454.js new file mode 100644 index 0000000..199e09b --- /dev/null +++ b/assets/Rules-6bba7454.js @@ -0,0 +1 @@ +import{ah as S,ai as k,aj as E,ak as b,al as B,am as R,r as m,an as T,ao as O,G as g,ap as A,aq as _,V as F,b as d,j as a,U as L,B as U,u as P,e as z,h as D,C as Q,i as j}from"./index-3e6aad90.js";import{a as q,V}from"./index.esm-37f2c08f.js";import{R as x,T as W}from"./TextFitler-4f121c73.js";import{f as H}from"./index-2a3ca6b4.js";import{F as G,p as J}from"./Fab-169bb281.js";import{u as K}from"./useRemainingViewPortHeight-175c2a6c.js";import"./debounce-c1ba2006.js";class X extends S{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.client.defaultMutationOptions(e),k(t,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this})}onUnsubscribe(){if(!this.listeners.length){var e;(e=this.currentMutation)==null||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();const t={listeners:!0};e.type==="success"?t.onSuccess=!0:e.type==="error"&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof e<"u"?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:E(),t={...e,isLoading:e.status==="loading",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){b.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(e.onSuccess){var t,r,n,i;(t=(r=this.mutateOptions).onSuccess)==null||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(n=(i=this.mutateOptions).onSettled)==null||n.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(e.onError){var o,u,l,c;(o=(u=this.mutateOptions).onError)==null||o.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(l=(c=this.mutateOptions).onSettled)==null||l.call(c,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}e.listeners&&this.listeners.forEach(v=>{v(this.currentResult)})})}}function C(s,e,t){const r=B(s,e,t),n=R({context:r.context}),[i]=m.useState(()=>new X(n,r));m.useEffect(()=>{i.setOptions(r)},[i,r]);const o=T(m.useCallback(l=>i.subscribe(b.batchCalls(l)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),u=m.useCallback((l,c)=>{i.mutate(l,c).catch(Y)},[i]);if(o.error&&O(i.options.useErrorBoundary,[o.error]))throw o.error;return{...o,mutate:u,mutateAsync:o.mutate}}function Y(){}function Z(s){const e=s.providers,t=Object.keys(e),r={};for(let n=0;n=0,"there is no valid rules list in the rules API response"),s.rules.map((e,t)=>({...e,id:t}))}async function ne(s,e){let t={rules:[]};try{const{url:r,init:n}=g(e),i=await fetch(r+s,n);i.ok&&(t=await i.json())}catch(r){console.log("failed to fetch rules",r)}return re(t)}const I=A({key:"ruleFilterText",default:""});function ie(s,e){const t=R(),{mutate:r,isLoading:n}=C(w,{onSuccess:()=>{t.invalidateQueries(["/providers/rules"])}});return[o=>{o.preventDefault(),r({name:s,apiConfig:e})},n]}function oe(s){const e=R(),{data:t}=M(s),{mutate:r,isLoading:n}=C(ee,{onSuccess:()=>{e.invalidateQueries(["/providers/rules"])}});return[o=>{o.preventDefault(),r({names:t.names,apiConfig:s})},n]}function M(s){return _(["/providers/rules",s],()=>$("/providers/rules",s))}function ae(s){const{data:e,isFetching:t}=_(["/rules",s],()=>ne("/rules",s)),{data:r}=M(s),[n]=F(I);if(n==="")return{rules:e,provider:r,isFetching:t};{const i=n.toLowerCase();return{rules:e.filter(o=>o.payload.toLowerCase().indexOf(i)>=0),isFetching:t,provider:{byName:r.byName,names:r.names.filter(o=>o.toLowerCase().indexOf(i)>=0)}}}}const le="_RuleProviderItem_12aid_1",ue="_left_12aid_7",ce="_middle_12aid_14",de="_gray_12aid_21",he="_action_12aid_25",fe="_refreshBtn_12aid_32",h={RuleProviderItem:le,left:ue,middle:ce,gray:de,action:he,refreshBtn:fe};function me({idx:s,name:e,vehicleType:t,behavior:r,updatedAt:n,ruleCount:i,apiConfig:o}){const[u,l]=ie(e,o),c=H(new Date(n),new Date);return d("div",{className:h.RuleProviderItem,children:[a("span",{className:h.left,children:s}),d("div",{className:h.middle,children:[a(L,{name:e,type:`${t} / ${r}`}),a("div",{className:h.gray,children:i<2?`${i} rule`:`${i} rules`}),d("div",{className:h.action,children:[d(U,{onClick:u,disabled:l,className:h.refreshBtn,children:[a(x,{isRotating:l,size:13}),a("span",{className:"visually-hidden",children:"Refresh"})]}),d("small",{className:h.gray,children:["Updated ",c," ago"]})]})]})]})}function ve({apiConfig:s}){const[e,t]=oe(s),{t:r}=P();return a(G,{icon:a(x,{isRotating:t}),text:r("update_all_rule_provider"),style:J,onClick:e})}const pe="_rule_1kxgd_1",Re="_left_1kxgd_12",ge="_a_1kxgd_19",ye="_b_1kxgd_26",be="_type_1kxgd_37",f={rule:pe,left:Re,a:ge,b:ye,type:be},p={_default:"#59caf9",DIRECT:"#f5bc41",REJECT:"#cb3166"};function _e({proxy:s}){let e=p._default;return p[s]&&(e=p[s]),{color:e}}function Pe({type:s,payload:e,proxy:t,id:r}){const n=_e({proxy:t});return d("div",{className:f.rule,children:[a("div",{className:f.left,children:r}),d("div",{children:[a("div",{className:f.b,children:e}),d("div",{className:f.a,children:[a("div",{className:f.type,children:s}),a("div",{style:n,children:t})]})]})]})}const xe="_header_n1m95_1",Ce="_RuleProviderItemWrapper_n1m95_17",N={header:xe,RuleProviderItemWrapper:Ce},{memo:we}=j,y=30;function Ie(s,{rules:e,provider:t}){const r=t.names.length;return s{const{rules:r,provider:n,apiConfig:i}=t,o=n.names.length;if(s({apiConfig:D(s)}),Ue=z(Se)(ke);function ke({apiConfig:s}){const[e,t]=K(),{rules:r,provider:n}=ae(s),i=Me({provider:n}),{t:o}=P();return d("div",{children:[d("div",{className:N.header,children:[a(Q,{title:o("Rules")}),a(W,{placeholder:"Filter",textAtom:I})]}),a("div",{ref:e,style:{paddingBottom:y},children:a(V,{height:t-y,width:"100%",itemCount:r.length+n.names.length,itemSize:i,itemData:{rules:r,provider:n,apiConfig:s},itemKey:Ie,children:Ne})}),n&&n.names&&n.names.length>0?a(ve,{apiConfig:s}):null]})}export{Ue as default}; diff --git a/assets/Rules-e11cb70e.css b/assets/Rules-e11cb70e.css new file mode 100644 index 0000000..bbe007e --- /dev/null +++ b/assets/Rules-e11cb70e.css @@ -0,0 +1 @@ +._RuleProviderItem_12aid_1{display:grid;grid-template-columns:40px 1fr 46px;height:100%}._left_12aid_7{display:inline-flex;align-items:center;color:var(--color-text-secondary);opacity:.4}._middle_12aid_14{display:grid;gap:6px;grid-template-rows:1fr auto auto;align-items:center}._gray_12aid_21{color:#777}._action_12aid_25{display:grid;gap:4px;grid-template-columns:auto 1fr;align-items:center}._refreshBtn_12aid_32{padding:5px}._rule_1kxgd_1{display:flex;align-items:center;padding:6px 15px}@media screen and (min-width: 30em){._rule_1kxgd_1{padding:10px 40px}}._left_1kxgd_12{width:40px;padding-right:15px;color:var(--color-text-secondary);opacity:.4}._a_1kxgd_19{display:flex;align-items:center;font-size:12px;opacity:.8}._b_1kxgd_26{padding:10px 0;font-family:Roboto Mono,Menlo,monospace;font-size:16px}@media screen and (min-width: 30em){._b_1kxgd_26{font-size:19px}}._type_1kxgd_37{width:110px}._header_n1m95_1{display:grid;grid-template-columns:1fr minmax(auto,330px);align-items:center;padding-right:15px}@media screen and (min-width: 30em){._header_n1m95_1{padding-right:40px}}._RuleProviderItemWrapper_n1m95_17{padding:6px 15px}@media screen and (min-width: 30em){._RuleProviderItemWrapper_n1m95_17{padding:10px 40px}} diff --git a/assets/Select-1e55eba1.css b/assets/Select-1e55eba1.css new file mode 100644 index 0000000..b3abe6a --- /dev/null +++ b/assets/Select-1e55eba1.css @@ -0,0 +1 @@ +._select_13zm8_1{height:40px;line-height:1.5;width:100%;padding-left:8px;-webkit-appearance:none;appearance:none;background-color:var(--color-input-bg);color:var(--color-text);padding-right:20px;border-radius:4px;border:1px solid var(--color-input-border);background-image:url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23999999%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);background-position:right 8px center;background-repeat:no-repeat}._select_13zm8_1:hover,._select_13zm8_1:focus{border-color:#343434;outline:none!important;color:var(--color-text-highlight);background-image:var(--select-bg-hover)}._select_13zm8_1:focus{box-shadow:#4299e199 0 0 0 3px}._select_13zm8_1 option{background-color:var(--color-background)} diff --git a/assets/Select-4fa356cc.js b/assets/Select-4fa356cc.js new file mode 100644 index 0000000..7949472 --- /dev/null +++ b/assets/Select-4fa356cc.js @@ -0,0 +1 @@ +import{j as s}from"./index-3e6aad90.js";const o="_select_13zm8_1",r={select:o};function i({options:t,selected:c,onChange:l}){return s("select",{className:r.select,value:c,onChange:l,children:t.map(([e,n])=>s("option",{value:e,children:n},e))})}export{i as S}; diff --git a/assets/TextFitler-4f121c73.js b/assets/TextFitler-4f121c73.js new file mode 100644 index 0000000..779be9a --- /dev/null +++ b/assets/TextFitler-4f121c73.js @@ -0,0 +1 @@ +import{r as g,R as c,k as i,c as d,j as l,V as h,i as m}from"./index-3e6aad90.js";import{d as v}from"./debounce-c1ba2006.js";function p(){return p=Object.assign||function(t){for(var n=1;n=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(e[o]=t[o])}return e}function _(t,n){if(t==null)return{};var e={},o=Object.keys(t),r,a;for(a=0;a=0)&&(e[r]=t[r]);return e}var u=g.forwardRef(function(t,n){var e=t.color,o=e===void 0?"currentColor":e,r=t.size,a=r===void 0?24:r,s=x(t,["color","size"]);return c.createElement("svg",p({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),c.createElement("polyline",{points:"23 4 23 10 17 10"}),c.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"}))});u.propTypes={color:i.string,size:i.oneOfType([i.string,i.number])};u.displayName="RotateCw";const b=u,y="_rotate_1dspl_1",R="_isRotating_1dspl_5",w="_rotating_1dspl_1",f={rotate:y,isRotating:R,rotating:w};function $(t){const n=t.size||16,e=d(f.rotate,{[f.isRotating]:t.isRotating});return l("span",{className:e,children:l(b,{size:n})})}const{useCallback:O,useState:j,useMemo:T}=m;function C(t){const[,n]=h(t),[e,o]=j(""),r=T(()=>v(n,300),[n]);return[O(s=>{o(s.target.value),r(s.target.value)},[r]),e]}const k="_input_16a1f_1",z={input:k};function L(t){const[n,e]=C(t.textAtom);return l("input",{className:z.input,type:"text",value:e,onChange:n,placeholder:t.placeholder})}export{$ as R,L as T,b as a}; diff --git a/assets/TextFitler-b21c0577.css b/assets/TextFitler-b21c0577.css new file mode 100644 index 0000000..bbdf014 --- /dev/null +++ b/assets/TextFitler-b21c0577.css @@ -0,0 +1 @@ +._rotate_1dspl_1{display:inline-flex}._isRotating_1dspl_5{-webkit-animation:_rotating_1dspl_1 3s infinite linear;animation:_rotating_1dspl_1 3s infinite linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _rotating_1dspl_1{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}._input_16a1f_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:20px;border:1px solid var(--color-input-border);box-sizing:border-box;color:#c1c1c1;display:inline-block;font-size:inherit;outline:none;padding:8px 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}._input_16a1f_1:focus{border:1px solid var(--color-focus-blue)} diff --git a/assets/chart-lib-ced68107.js b/assets/chart-lib-ced68107.js new file mode 100644 index 0000000..9a2c04b --- /dev/null +++ b/assets/chart-lib-ced68107.js @@ -0,0 +1,16 @@ +var gn=Object.defineProperty;var pn=(i,t,e)=>t in i?gn(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var S=(i,t,e)=>(pn(i,typeof t!="symbol"?t+"":t,e),e);/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function te(i){return i+.5|0}const ot=(i,t,e)=>Math.max(Math.min(i,e),t);function Wt(i){return ot(te(i*2.55),0,255)}function ht(i){return ot(te(i*255),0,255)}function st(i){return ot(te(i/2.55)/100,0,1)}function ui(i){return ot(te(i*100),0,100)}const q={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ye=[..."0123456789ABCDEF"],mn=i=>Ye[i&15],bn=i=>Ye[(i&240)>>4]+Ye[i&15],oe=i=>(i&240)>>4===(i&15),_n=i=>oe(i.r)&&oe(i.g)&&oe(i.b)&&oe(i.a);function xn(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&q[i[1]]*17,g:255&q[i[2]]*17,b:255&q[i[3]]*17,a:t===5?q[i[4]]*17:255}:(t===7||t===9)&&(e={r:q[i[1]]<<4|q[i[2]],g:q[i[3]]<<4|q[i[4]],b:q[i[5]]<<4|q[i[6]],a:t===9?q[i[7]]<<4|q[i[8]]:255})),e}const yn=(i,t)=>i<255?t(i):"";function vn(i){var t=_n(i)?mn:bn;return i?"#"+t(i.r)+t(i.g)+t(i.b)+yn(i.a,t):void 0}const kn=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ps(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function wn(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function Mn(i,t,e){const s=Ps(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function Sn(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=Sn(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function ei(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(ht)}function ii(i,t,e){return ei(Ps,i,t,e)}function Pn(i,t,e){return ei(Mn,i,t,e)}function Dn(i,t,e){return ei(wn,i,t,e)}function Ds(i){return(i%360+360)%360}function On(i){const t=kn.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?Wt(+t[5]):ht(+t[5]));const n=Ds(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=Pn(n,o,r):t[1]==="hsv"?s=Dn(n,o,r):s=ii(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function Ln(i,t){var e=ti(i);e[0]=Ds(e[0]+t),e=ii(e),i.r=e[0],i.g=e[1],i.b=e[2]}function Tn(i){if(!i)return;const t=ti(i),e=t[0],s=ui(t[1]),n=ui(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${st(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const gi={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},pi={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Cn(){const i={},t=Object.keys(pi),e=Object.keys(gi);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let re;function In(i){re||(re=Cn(),re.transparent=[0,0,0,0]);const t=re[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const An=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Fn(i){const t=An.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?Wt(r):ot(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?Wt(s):ot(s,0,255)),n=255&(t[4]?Wt(n):ot(n,0,255)),o=255&(t[6]?Wt(o):ot(o,0,255)),{r:s,g:n,b:o,a:e}}}function zn(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${st(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Ee=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,Pt=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function En(i,t,e){const s=Pt(st(i.r)),n=Pt(st(i.g)),o=Pt(st(i.b));return{r:ht(Ee(s+e*(Pt(st(t.r))-s))),g:ht(Ee(n+e*(Pt(st(t.g))-n))),b:ht(Ee(o+e*(Pt(st(t.b))-o))),a:i.a+e*(t.a-i.a)}}function ae(i,t,e){if(i){let s=ti(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=ii(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function Os(i,t){return i&&Object.assign(t||{},i)}function mi(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=ht(i[3]))):(t=Os(i,{r:0,g:0,b:0,a:1}),t.a=ht(t.a)),t}function Rn(i){return i.charAt(0)==="r"?Fn(i):On(i)}class Kt{constructor(t){if(t instanceof Kt)return t;const e=typeof t;let s;e==="object"?s=mi(t):e==="string"&&(s=xn(t)||In(t)||Rn(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=Os(this._rgb);return t&&(t.a=st(t.a)),t}set rgb(t){this._rgb=mi(t)}rgbString(){return this._valid?zn(this._rgb):void 0}hexString(){return this._valid?vn(this._rgb):void 0}hslString(){return this._valid?Tn(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=En(this._rgb,t._rgb,e)),this}clone(){return new Kt(this.rgb)}alpha(t){return this._rgb.a=ht(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=te(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return ae(this._rgb,2,t),this}darken(t){return ae(this._rgb,2,-t),this}saturate(t){return ae(this._rgb,1,t),this}desaturate(t){return ae(this._rgb,1,-t),this}rotate(t){return Ln(this._rgb,t),this}}/*! + * Chart.js v4.2.1 + * https://www.chartjs.org + * (c) 2023 Chart.js Contributors + * Released under the MIT License + */const Bn=(()=>{let i=0;return()=>i++})();function A(i){return i===null||typeof i>"u"}function F(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function L(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function z(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function U(i,t){return z(i)?i:t}function O(i,t){return typeof i>"u"?t:i}const Hn=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function I(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function N(i,t,e,s){let n,o,r;if(F(i))if(o=i.length,s)for(n=o-1;n>=0;n--)t.call(e,i[n],n);else for(n=0;ni,x:i=>i.x,y:i=>i.y};function Vn(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function jn(i){const t=Vn(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function we(i,t){return(_i[t]||(_i[t]=jn(t)))(i)}function si(i){return i.charAt(0).toUpperCase()+i.slice(1)}const Z=i=>typeof i<"u",ft=i=>typeof i=="function",xi=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function $n(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const H=Math.PI,X=2*H,Un=X+H,Me=Number.POSITIVE_INFINITY,Yn=H/180,j=H/2,dt=H/4,yi=H*2/3,rt=Math.log10,Ot=Math.sign;function $t(i,t,e){return Math.abs(i-t)n-o).pop(),t}function Gt(i){return!isNaN(parseFloat(i))&&isFinite(i)}function Kn(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function Ts(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function oi(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const _t=(i,t,e,s)=>oi(i,e,s?n=>{const o=i[n][t];return oi[n][t]oi(i,e,s=>i[s][t]>=e);function Jn(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+si(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Mi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(Is.forEach(o=>{delete i[o]}),delete i._chartjs)}function eo(i){const t=new Set;let e,s;for(e=0,s=i.length;e"u"?function(i){return i()}:window.requestAnimationFrame}();function Fs(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,As.call(window,()=>{s=!1,i.apply(t,e)}))}}function io(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const zs=i=>i==="start"?"left":i==="end"?"right":"center",$=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,so=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function no(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:f,maxDefined:d}=r.getUserBounds();f&&(n=tt(Math.min(_t(a,r.axis,c).lo,e?s:_t(t,l,r.getPixelForValue(c)).lo),0,s-1)),d?o=tt(Math.max(_t(a,r.axis,h,!0).hi+1,e?0:_t(t,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function oo(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}const le=i=>i===0||i===1,Si=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*X/e)),Pi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*X/e)+1,Ut={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*j)+1,easeOutSine:i=>Math.sin(i*j),easeInOutSine:i=>-.5*(Math.cos(H*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>le(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>le(i)?i:Si(i,.075,.3),easeOutElastic:i=>le(i)?i:Pi(i,.075,.3),easeInOutElastic(i){return le(i)?i:i<.5?.5*Si(i*2,.1125,.45):.5+.5*Pi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-Ut.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?Ut.easeInBounce(i*2)*.5:Ut.easeOutBounce(i*2-1)*.5+.5};function Es(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Di(i){return Es(i)?i:new Kt(i)}function Re(i){return Es(i)?i:new Kt(i).saturate(.5).darken(.1).hexString()}const ro=["x","y","borderWidth","radius","tension"],ao=["color","borderColor","backgroundColor"];function lo(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:ao},numbers:{type:"number",properties:ro}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function co(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Oi=new Map;function ho(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Oi.get(e);return s||(s=new Intl.NumberFormat(i,t),Oi.set(e,s)),s}function ri(i,t,e){return ho(t,e).format(i)}const Rs={values(i){return F(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=fo(i,e)}const r=rt(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),ri(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=e[t].significand||i/Math.pow(10,Math.floor(rt(i)));return[1,2,3,5,10,15].includes(s)||t>.8*e.length?Rs.numeric.call(this,i,t,e):""}};function fo(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var Ce={formatters:Rs};function uo(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ce.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const yt=Object.create(null),Xe=Object.create(null);function Yt(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>Re(n.backgroundColor),this.hoverBorderColor=(s,n)=>Re(n.borderColor),this.hoverColor=(s,n)=>Re(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return Be(this,t,e)}get(t){return Yt(this,t)}describe(t,e){return Be(Xe,t,e)}override(t,e){return Be(yt,t,e)}route(t,e,s,n){const o=Yt(this,t),r=Yt(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return L(l)?Object.assign({},c,l):O(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var R=new go({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[lo,co,uo]);function po(i){return!i||A(i.size)||A(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function Se(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function mo(i,t,e,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(n=s.data={},o=s.garbageCollect=[],s.font=t),i.save(),i.font=t;let r=0;const a=e.length;let l,c,h,f,d;for(l=0;le.length){for(l=0;l0&&i.stroke()}}function Zt(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,yo(i,o),l=0;l+i||0;function Ns(i,t){const e={},s=L(t),n=s?Object.keys(t):t,o=L(i)?s?r=>O(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=Po(o(r));return e}function Do(i){return Ns(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ws(i){return Ns(i,["topLeft","topRight","bottomLeft","bottomRight"])}function G(i){const t=Do(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function et(i,t){i=i||{},t=t||R.font;let e=O(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=O(i.style,t.style);s&&!(""+s).match(Mo)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:O(i.family,t.family),lineHeight:So(O(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:O(i.weight,t.weight),string:""};return n.string=po(n),n}function ce(i,t,e,s){let n=!0,o,r,a;for(o=0,r=i.length;oe&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function kt(i,t){return Object.assign(Object.create(i),t)}function ai(i,t=[""],e=i,s,n=()=>i[0]){Z(s)||(s=Us("_fallback",i));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:e,_fallback:s,_getTarget:n,override:r=>ai([r,...i],t,e,s)};return new Proxy(o,{deleteProperty(r,a){return delete r[a],delete r._keys,delete i[0][a],!0},get(r,a){return js(r,a,()=>Eo(a,t,i,r))},getOwnPropertyDescriptor(r,a){return Reflect.getOwnPropertyDescriptor(r._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(r,a){return Ci(r).includes(a)},ownKeys(r){return Ci(r)},set(r,a,l){const c=r._storage||(r._storage=n());return r[a]=c[a]=l,delete r._keys,!0}})}function Tt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:Vs(i,s),setContext:o=>Tt(i,o,e,s),override:o=>Tt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return js(o,r,()=>To(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function Vs(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:ft(e)?e:()=>e,isIndexable:ft(s)?s:()=>s}}const Lo=(i,t)=>i?i+si(t):t,li=(i,t)=>L(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function js(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t))return i[t];const s=e();return i[t]=s,s}function To(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return ft(a)&&r.isScriptable(t)&&(a=Co(t,a,i,e)),F(a)&&a.length&&(a=Io(t,a,i,r.isIndexable)),li(t,a)&&(a=Tt(a,n,o&&o[t],r)),a}function Co(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);return a.add(i),t=t(o,r||s),a.delete(i),li(i,t)&&(t=ci(n._scopes,n,i,t)),t}function Io(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(Z(o.index)&&s(i))t=t[o.index%t.length];else if(L(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const f=ci(c,n,i,h);t.push(Tt(f,o,r&&r[i],a))}}return t}function $s(i,t,e){return ft(i)?i(t,e):i}const Ao=(i,t)=>i===!0?t:typeof i=="string"?we(t,i):void 0;function Fo(i,t,e,s,n){for(const o of t){const r=Ao(e,o);if(r){i.add(r);const a=$s(r._fallback,e,n);if(Z(a)&&a!==e&&a!==s)return a}else if(r===!1&&Z(s)&&e!==s)return null}return!1}function ci(i,t,e,s){const n=t._rootScopes,o=$s(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=Ti(a,r,e,o||e,s);return l===null||Z(o)&&o!==e&&(l=Ti(a,r,o,l,s),l===null)?!1:ai(Array.from(a),[""],n,o,()=>zo(t,e,s))}function Ti(i,t,e,s,n){for(;e;)e=Fo(i,t,e,s,n);return e}function zo(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return F(n)&&L(e)?e:n||{}}function Eo(i,t,e,s){let n;for(const o of t)if(n=Us(Lo(o,i),e),Z(n))return li(i,n)?ci(e,s,i,n):n}function Us(i,t){for(const e of t){if(!e)continue;const s=e[i];if(Z(s))return s}}function Ci(i){let t=i._keys;return t||(t=i._keys=Ro(i._scopes)),t}function Ro(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Bo=Number.EPSILON||1e-14,Ct=(i,t)=>ti==="x"?"y":"x";function Ho(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=wi(o,n),l=wi(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const f=s*c,d=s*h;return{previous:{x:o.x-f*(r.x-n.x),y:o.y-f*(r.y-n.y)},next:{x:o.x+d*(r.x-n.x),y:o.y+d*(r.y-n.y)}}}function No(i,t,e){const s=i.length;let n,o,r,a,l,c=Ct(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Vo(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;oi.ownerDocument.defaultView.getComputedStyle(i,null);function Uo(i,t){return Fe(i).getPropertyValue(t)}const Yo=["top","right","bottom","left"];function xt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=Yo[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Xo=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Ko(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Xo(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function mt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=Fe(e),o=n.boxSizing==="border-box",r=xt(n,"padding"),a=xt(n,"border","width"),{x:l,y:c,box:h}=Ko(i,e),f=r.left+(h&&a.left),d=r.top+(h&&a.top);let{width:u,height:m}=t;return o&&(u-=r.width+a.width,m-=r.height+a.height),{x:Math.round((l-f)/u*e.width/s),y:Math.round((c-d)/m*e.height/s)}}function qo(i,t,e){let s,n;if(t===void 0||e===void 0){const o=hi(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Fe(o),l=xt(a,"border","width"),c=xt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=Pe(a.maxWidth,o,"clientWidth"),n=Pe(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Me,maxHeight:n||Me}}const fe=i=>Math.round(i*10)/10;function Go(i,t,e,s){const n=Fe(i),o=xt(n,"margin"),r=Pe(n.maxWidth,i,"clientWidth")||Me,a=Pe(n.maxHeight,i,"clientHeight")||Me,l=qo(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const d=xt(n,"border","width"),u=xt(n,"padding");c-=u.width+d.width,h-=u.height+d.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=fe(Math.min(c,r,l.maxWidth)),h=fe(Math.min(h,a,l.maxHeight)),c&&!h&&(h=fe(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=fe(Math.floor(h*s))),{width:c,height:h}}function Ii(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Zo=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return i}();function Ai(i,t){const e=Uo(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function bt(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function Qo(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function Jo(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=bt(i,n,e),a=bt(n,o,e),l=bt(o,t,e),c=bt(r,a,e),h=bt(a,l,e);return bt(c,h,e)}const tr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},er=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function He(i,t,e){return i?tr(t,e):er()}function ir(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function sr(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function Ks(i){return i==="angle"?{between:Cs,compare:Gn,normalize:Y}:{between:Dt,compare:(t,e)=>t-e,normalize:t=>t}}function Fi({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function nr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=Ks(s),l=t.length;let{start:c,end:h,loop:f}=i,d,u;if(f){for(c+=l,h+=l,d=0,u=l;dl(n,w,b)&&a(n,w)!==0,_=()=>a(o,b)===0||l(o,w,b),k=()=>g||P(),v=()=>!g||_();for(let x=h,M=h;x<=f;++x)y=t[x%r],!y.skip&&(b=c(y[s]),b!==w&&(g=l(b,n,o),p===null&&k()&&(p=a(b,n)===0?x:M),p!==null&&v()&&(m.push(Fi({start:p,end:x,loop:d,count:r,style:u})),p=null),M=x,w=b));return p!==null&&m.push(Fi({start:p,end:f,loop:d,count:r,style:u})),m}function Gs(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function rr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function ar(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=or(e,n,o,s);if(s===!0)return zi(i,[{start:r,end:a,loop:o}],e,t);const l=aa({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=As.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var it=new hr;const Ri="transparent",fr={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Di(i||Ri),n=s.valid&&Di(t||Ri);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class dr{constructor(t,e,s,n){const o=e[s];n=ce([t.to,n,o,t.from]);const r=ce([t.from,o,n]);this._active=!0,this._fn=t.fn||fr[t.type||typeof r],this._easing=Ut[t.easing]||Ut.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=ce([t.to,e,n,t.from]),this._from=ce([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!L(o))return;const r={};for(const a of e)r[a]=o[a];(F(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=pr(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&gr(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let f=o[c];const d=s.get(c);if(f)if(d&&f.active()){f.update(d,h,a);continue}else f.cancel();if(!d||!d.duration){t[c]=h;continue}o[c]=f=new dr(d,t,c,h),n.push(f)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return it.add(this._chart,s),!0}}function gr(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function Vi(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=xr(o,r,s),f=t.length;let d;for(let u=0;ue[s].axis===t).shift()}function kr(i,t){return kt(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function wr(i,t,e){return kt(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Et(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const We=i=>i==="reset"||i==="none",ji=(i,t)=>t?i:Object.assign({},i),Mr=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:Zs(e,!0),values:null};class Xt{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Ni(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Et(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(f,d,u,m)=>f==="x"?d:f==="r"?m:u,o=e.xAxisID=O(s.xAxisID,Ne(t,"x")),r=e.yAxisID=O(s.yAxisID,Ne(t,"y")),a=e.rAxisID=O(s.rAxisID,Ne(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Mi(this._data,this),t._stacked&&Et(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(L(e))this._data=_r(e);else if(s!==e){if(s){Mi(s,this);const n=this._cachedMeta;Et(n),n._parsed=[]}e&&Object.isExtensible(e)&&to(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=Ni(e.vScale,e),e.stack!==s.stack&&(n=!0,Et(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&Vi(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,f,d;if(this._parsing===!1)s._parsed=n,s._sorted=!0,d=n;else{F(n[t])?d=this.parseArrayData(s,n,t,e):L(n[t])?d=this.parseObjectData(s,n,t,e):d=this.parsePrimitiveData(s,n,t,e);const u=()=>f[a]===null||c&&f[a]g||f=0;--d)if(!m()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),g=c.resolveNamedOptions(d,u,m,f);return g.$shared&&(g.$shared=l,o[r]=Object.freeze(ji(g,l))),g}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,f=h.datasetAnimationScopeKeys(this._type,e),d=h.getOptionScopes(this.getDataset(),f);l=h.createResolver(d,this.getContext(t,s,e))}const c=new ur(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||We(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){We(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!We(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;a0&&this.getParsed(e-1);for(let _=0;_=y){v.skip=!0;continue}const x=this.getParsed(_),M=A(x[u]),T=v[d]=r.getPixelForValue(x[d],_),D=v[u]=o||M?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,x,l):x[u],_);v.skip=isNaN(T)||isNaN(D)||M,v.stop=_>0&&Math.abs(x[d]-P[d])>p,g&&(v.parsed=x,v.raw=c.data[_]),f&&(v.options=h||this.resolveDataElementOptions(_,k.active?"active":n)),b||this.updateElement(k,_,v,n),P=x}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}S(_e,"id","line"),S(_e,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),S(_e,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function gt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class fi{static override(t){Object.assign(fi.prototype,t)}constructor(t){this.options=t||{}}init(){}formats(){return gt()}parse(){return gt()}format(){return gt()}add(){return gt()}diff(){return gt()}startOf(){return gt()}endOf(){return gt()}}var Sr={_date:fi};function Pr(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Qn:_t;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const f=l(o,t,e-h),d=l(o,t,e+h);return{lo:f.lo,hi:d.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function ee(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Tr={evaluateInteractionItems:ee,modes:{index(i,t,e,s){const n=mt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?Ve(i,n,o,s,r):je(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,f=c.data[h];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=mt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?Ve(i,n,o,s,r):je(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function Ui(i,t){return i.filter(e=>Qs.indexOf(e.pos)===-1&&e.box.axis===t)}function Bt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Cr(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Bt(Rt(t,"left"),!0),n=Bt(Rt(t,"right")),o=Bt(Rt(t,"top"),!0),r=Bt(Rt(t,"bottom")),a=Ui(t,"x"),l=Ui(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Rt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function Yi(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function Js(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function zr(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!L(n)){e.size&&(i[n]-=e.size);const f=s[e.stack]||{size:0,count:1};f.size=Math.max(f.size,e.horizontal?o.height:o.width),e.size=f.size/f.count,i[n]+=e.size}o.getPadding&&Js(r,o.getPadding());const a=Math.max(0,t.outerWidth-Yi(r,i,"left","right")),l=Math.max(0,t.outerHeight-Yi(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function Er(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function Rr(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function Vt(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});const h=l.reduce((g,p)=>p.box.options&&p.box.options.display===!1?g:g+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),d=Object.assign({},n);Js(d,G(s));const u=Object.assign({maxPadding:d,w:o,h:r,x:n.left,y:n.top},n),m=Ar(l.concat(c),f);Vt(a.fullSize,u,f,m),Vt(l,u,f,m),Vt(c,u,f,m)&&Vt(l,u,f,m),Er(u),Xi(a.leftAndTop,u,f,m),u.x+=u.w,u.y+=u.h,Xi(a.rightAndBottom,u,f,m),i.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},N(a.chartArea,g=>{const p=g.box;Object.assign(p,i.chartArea),p.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class tn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class Br extends tn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const xe="$chartjs",Hr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ki=i=>i===null||i==="";function Nr(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[xe]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",Ki(n)){const o=Ai(i,"width");o!==void 0&&(i.width=o)}if(Ki(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=Ai(i,"height");o!==void 0&&(i.height=o)}return i}const en=Zo?{passive:!0}:!1;function Wr(i,t,e){i.addEventListener(t,e,en)}function Vr(i,t,e){i.canvas.removeEventListener(t,e,en)}function jr(i,t){const e=Hr[i.type]||i.type,{x:s,y:n}=mt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function De(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function $r(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||De(a.addedNodes,s),r=r&&!De(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function Ur(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||De(a.removedNodes,s),r=r&&!De(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const Qt=new Map;let qi=0;function sn(){const i=window.devicePixelRatio;i!==qi&&(qi=i,Qt.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function Yr(i,t){Qt.size||window.addEventListener("resize",sn),Qt.set(i,t)}function Xr(i){Qt.delete(i),Qt.size||window.removeEventListener("resize",sn)}function Kr(i,t,e){const s=i.canvas,n=s&&hi(s);if(!n)return;const o=Fs((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),Yr(i,o),r}function $e(i,t,e){e&&e.disconnect(),t==="resize"&&Xr(i)}function qr(i,t,e){const s=i.canvas,n=Fs(o=>{i.ctx!==null&&e(jr(o,i))},i);return Wr(s,t,n),n}class Gr extends tn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Nr(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[xe])return!1;const s=e[xe].initial;["height","width"].forEach(o=>{const r=s[o];A(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[xe],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:$r,detach:Ur,resize:Kr}[e]||qr;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:$e,detach:$e,resize:$e}[e]||Vr)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Go(t,e,s,n)}isAttached(t){const e=hi(t);return!!(e&&e.isConnected)}}function Zr(i){return!Xs()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Br:Gr}class vt{constructor(){S(this,"active",!1)}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return Gt(this.x)&&Gt(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}S(vt,"defaults",{}),S(vt,"defaultRoutes");function Qr(i,t){const e=i.options.ticks,s=Jr(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?ea(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return ia(t,c,o,r/n),c;const h=ta(o,t,n);if(r>0){let f,d;const u=r>1?Math.round((l-a)/(r-1)):null;for(ue(t,c,h,A(u)?0:a-u,a),f=0,d=r-1;fn)return l}return Math.max(n,1)}function ea(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,Gi=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,Zi=(i,t)=>Math.min(t||i,i);function Qi(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function ra(i,t){N(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:U(e,U(s,e)),max:U(s,U(e,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){I(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Oo(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),f=h.widest.width,d=h.highest.height,u=tt(this.chart.width-f,0,this.maxWidth);a=t.offset?this.maxWidth/s:u/(s-1),f+6>a&&(a=u/(s-(t.offset?.5:1)),l=this.maxHeight-Ht(t.grid)-e.padding-Ji(t.title,this.chart.options.font),c=Math.sqrt(f*f+d*d),r=ni(Math.min(Math.asin(tt((h.highest.height+6)/a,-1,1)),Math.asin(tt(l/c,-1,1))-Math.asin(tt(d/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){I(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){I(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Ji(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ht(o)+l):(t.height=this.maxHeight,t.width=Ht(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:f,highest:d}=this._getLabelSizes(),u=s.padding*2,m=at(this.labelRotation),g=Math.cos(m),p=Math.sin(m);if(a){const b=s.mirror?0:p*f.width+g*d.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=s.mirror?0:g*f.width+p*d.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,p,g)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;l?c?(d=n*t.width,u=s*e.height):(d=s*t.height,u=n*e.width):o==="start"?u=e.width:o==="end"?d=t.width:o!=="inner"&&(d=t.width/2,u=e.width/2),this.paddingLeft=Math.max((d-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-f+r)*this.width/(this.width-f),0)}else{let h=e.height/2,f=t.height/2;o==="start"?(h=0,f=t.height):o==="end"&&(h=e.height,f=0),this.paddingTop=h+r,this.paddingBottom=f+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){I(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,s;for(e=0,s=t.length;e({width:r[M]||0,height:a[M]||0});return{first:x(0),last:x(e-1),widest:x(k),highest:x(v),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Zn(this._alignToPixels?ut(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),d=Ht(o),u=[],m=a.setContext(this.getContext()),g=m.display?m.width:0,p=g/2,b=function(B){return ut(s,B,g)};let y,w,P,_,k,v,x,M,T,D,C,W;if(r==="top")y=b(this.bottom),v=this.bottom-d,M=y-p,D=b(t.top)+p,W=t.bottom;else if(r==="bottom")y=b(this.top),D=t.top,W=b(t.bottom)-p,v=y+p,M=this.top+d;else if(r==="left")y=b(this.right),k=this.right-d,x=y-p,T=b(t.left)+p,C=t.right;else if(r==="right")y=b(this.left),T=t.left,C=b(t.right)-p,k=y+p,x=this.left+d;else if(e==="x"){if(r==="center")y=b((t.top+t.bottom)/2+.5);else if(L(r)){const B=Object.keys(r)[0],K=r[B];y=b(this.chart.scales[B].getPixelForValue(K))}D=t.top,W=t.bottom,v=y+p,M=v+d}else if(e==="y"){if(r==="center")y=b((t.left+t.right)/2);else if(L(r)){const B=Object.keys(r)[0],K=r[B];y=b(this.chart.scales[B].getPixelForValue(K))}k=y-p,x=k-d,T=t.left,C=t.right}const Q=O(n.ticks.maxTicksLimit,f),E=Math.max(1,Math.ceil(f/Q));for(w=0;wo.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");R.route(o,n,l,a)})}function ua(i){return"id"in i&&"defaults"in i}class ga{constructor(){this.controllers=new ge(Xt,"datasets",!0),this.elements=new ge(vt,"elements"),this.plugins=new ge(Object,"plugins"),this.scales=new ge(wt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):N(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=si(t);I(s["before"+n],[],s),e[t](s),I(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function ma(i){const t={},e=[],s=Object.keys(J.plugins.items);for(let o=0;o1&&Oe(i[0].toLowerCase(),t),i))return i;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function wa(i,t){const e=yt[i.type]||{scales:{}},s=t.scales||{},n=Ke(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!L(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Oe(r,a),c=va(l,n),h=e.scales||{};o[r]=jt(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||Ke(a,t),h=(yt[a]||{}).scales||{};Object.keys(h).forEach(f=>{const d=ya(f,l),u=r[d+"AxisID"]||d;o[u]=o[u]||Object.create(null),jt(o[u],[{axis:d},s[u],h[f]])})}),Object.keys(o).forEach(r=>{const a=o[r];jt(a,[R.scales[a.type],R.scale])}),o}function nn(i){const t=i.options||(i.options={});t.plugins=O(t.plugins,{}),t.scales=wa(i,t)}function on(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function Ma(i){return i=i||{},i.data=on(i.data),nn(i),i}const ts=new Map,rn=new Set;function pe(i,t){let e=ts.get(i);return e||(e=t(),ts.set(i,e),rn.add(e)),e}const Nt=(i,t,e)=>{const s=we(t,e);s!==void 0&&i.add(s)};class Sa{constructor(t){this._config=Ma(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=on(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),nn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return pe(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return pe(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return pe(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return pe(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(f=>Nt(l,t,f))),h.forEach(f=>Nt(l,n,f)),h.forEach(f=>Nt(l,yt[o]||{},f)),h.forEach(f=>Nt(l,R,f)),h.forEach(f=>Nt(l,Xe,f))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),rn.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,yt[e]||{},R.datasets[e]||{},{type:e},R,Xe]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=es(this._resolverCache,t,n);let l=r;if(Da(r,e)){o.$shared=!1,s=ft(s)?s():s;const c=this.createResolver(t,s,a);l=Tt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=es(this._resolverCache,t,s);return L(e)?Tt(o,e,void 0,n):o}}function es(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:ai(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Pa=i=>L(i)&&Object.getOwnPropertyNames(i).reduce((t,e)=>t||ft(i[e]),!1);function Da(i,t){const{isScriptable:e,isIndexable:s}=Vs(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(ft(a)||Pa(a))||r&&F(a))return!0}return!1}var Oa="4.2.1";const La=["top","bottom","left","right","chartArea"];function is(i,t){return i==="top"||i==="bottom"||La.indexOf(i)===-1&&t==="x"}function ss(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function ns(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),I(e&&e.onComplete,[i],t)}function Ta(i){const t=i.chart,e=t.options.animation;I(e&&e.onProgress,[i],t)}function an(i){return Xs()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const ye={},os=i=>{const t=an(i);return Object.values(ye).filter(e=>e.canvas===t).pop()};function Ca(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Ia(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Aa(i){const{xScale:t,yScale:e}=i;if(t&&e)return{left:t.left,right:t.right,top:e.top,bottom:e.bottom}}class nt{static register(...t){J.add(...t),rs()}static unregister(...t){J.remove(...t),rs()}constructor(t,e){const s=this.config=new Sa(e),n=an(t),o=os(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||Zr(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Bn(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new pa,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=io(f=>this.update(f),r.resizeDelay||0),this._dataChanges=[],ye[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}it.listen(this,"complete",ns),it.listen(this,"progress",Ta),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return A(t)?e&&o?o:n?s/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return J}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Ii(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Li(this.canvas,this.ctx),this}stop(){return it.stop(this),this}resize(t,e){it.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,Ii(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),I(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};N(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=Oe(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),N(o,r=>{const a=r.options,l=a.id,c=Oe(l,a),h=O(a.type,r.dtype);(a.position===void 0||is(a.position,c)!==is(r.dposition))&&(a.position=r.dposition),n[l]=!0;let f=null;if(l in s&&s[l].type===h)f=s[l];else{const d=J.getScale(h);f=new d({id:l,type:h,ctx:this.ctx,chart:this}),s[f.id]=f}f.init(a,t)}),N(n,(r,a)=>{r||delete s[a]}),N(s,r=>{lt.configure(this,r,r.options),lt.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(ss("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){N(this.scales,t=>{lt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!xi(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Ca(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;lt.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],N(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Aa(t)||this.chartArea,r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Ie(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&Ae(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return Zt(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Tr.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=kt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);Z(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),it.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};N(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){N(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},N(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!bi(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(f=>h.datasetIndex===f.datasetIndex&&h.index===f.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=$n(t),c=Ia(t,this._lastEvent,s,l);s&&(this._lastEvent=null,I(o.onHover,[t,a,this],this),l&&I(o.onClick,[t,a,this],this));const h=!bi(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}S(nt,"defaults",R),S(nt,"instances",ye),S(nt,"overrides",yt),S(nt,"registry",J),S(nt,"version",Oa),S(nt,"getChart",os);function rs(){return N(nt.instances,i=>i._plugins.invalidate())}function ln(i,t,e=t){i.lineCap=O(e.borderCapStyle,t.borderCapStyle),i.setLineDash(O(e.borderDash,t.borderDash)),i.lineDashOffset=O(e.borderDashOffset,t.borderDashOffset),i.lineJoin=O(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=O(e.borderWidth,t.borderWidth),i.strokeStyle=O(e.borderColor,t.borderColor)}function Fa(i,t,e){i.lineTo(e.x,e.y)}function za(i){return i.stepped?_o:i.tension||i.cubicInterpolationMode==="monotone"?xo:Fa}function cn(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-P:P))%o,w=()=>{g!==p&&(i.lineTo(h,p),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[y(0)],i.moveTo(u.x,u.y)),d=0;d<=a;++d){if(u=n[y(d)],u.skip)continue;const P=u.x,_=u.y,k=P|0;k===m?(_p&&(p=_),h=(f*h+P)/++f):(w(),i.lineTo(P,_),m=k,f=0,g=p=_),b=_}w()}function qe(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?Ra:Ea}function Ba(i){return i.stepped?Qo:i.tension||i.cubicInterpolationMode==="monotone"?Jo:bt}function Ha(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),ln(i,t.options),i.stroke(n)}function Na(i,t,e,s){const{segments:n,options:o}=t,r=qe(t);for(const a of n)ln(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Wa=typeof Path2D=="function";function Va(i,t,e,s){Wa&&!t.options.segment?Ha(i,t,e,s):Na(i,t,e,s)}class ct extends vt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;$o(this._points,s,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=ar(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=Gs(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Ba(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function as(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o){a=di(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function di(i,t,e){for(;t>i;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function ls(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function hn(i,t){let e=[],s=!1;return F(i)?(s=!0,e=i):e=$a(i,t),e.length?new ct({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function cs(i){return i&&i.fill!==!1}function Ua(i,t,e){let n=i[t].fill;const o=[t];let r;if(!e)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!z(n))return n;if(r=i[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function Ya(i,t,e){const s=Ga(i);if(L(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return z(n)&&Math.floor(n)===n?Xa(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Xa(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function Ka(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:L(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function qa(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:L(i)?s=i.value:s=t.getBaseValue(),s}function Ga(i){const t=i.options,e=t.fill;let s=O(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function Za(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=Qa(t,e);a.push(hn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Ue(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;cs(o)&&Ue(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!cs(s)||e.drawTime!=="beforeDatasetDraw"||Ue(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const us=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=i.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},cl=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class gs extends vt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=I(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const s=t.labels,n=et(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=us(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let f=t;o.textAlign="left",o.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach((m,g)=>{const p=s+e/2+o.measureText(m.text).width;(g===0||c[c.length-1]+p+2*a>r)&&(f+=h,c[c.length-(g>0?0:1)]=0,u+=h,d++),l[g]={left:0,top:u,row:d,width:p,height:n},c[c.length-1]+=p+a}),f}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let f=a,d=0,u=0,m=0,g=0;return this.legendItems.forEach((p,b)=>{const{itemWidth:y,itemHeight:w}=hl(s,e,o,p,n);b>0&&u+w+2*a>h&&(f+=d+a,c.push({width:d,height:u}),m+=d+a,g++,d=u=0),l[b]={left:m,top:u,col:g,width:y,height:w},d=Math.max(d,y),u+=w+a}),f+=d,c.push({width:d,height:u}),f}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=He(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=$(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=$(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=$(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=$(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ie(t,this),this._draw(),Ae(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=R.color,l=He(t.rtl,this.left,this.width),c=et(r.font),{padding:h}=r,f=c.size,d=f/2;let u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:m,boxHeight:g,itemHeight:p}=us(r,f),b=function(k,v,x){if(isNaN(m)||m<=0||isNaN(g)||g<0)return;n.save();const M=O(x.lineWidth,1);if(n.fillStyle=O(x.fillStyle,a),n.lineCap=O(x.lineCap,"butt"),n.lineDashOffset=O(x.lineDashOffset,0),n.lineJoin=O(x.lineJoin,"miter"),n.lineWidth=M,n.strokeStyle=O(x.strokeStyle,a),n.setLineDash(O(x.lineDash,[])),r.usePointStyle){const T={radius:g*Math.SQRT2/2,pointStyle:x.pointStyle,rotation:x.rotation,borderWidth:M},D=l.xPlus(k,m/2),C=v+d;Bs(n,T,D,C,r.pointStyleWidth&&m)}else{const T=v+Math.max((f-g)/2,0),D=l.leftForLtr(k,m),C=Ws(x.borderRadius);n.beginPath(),Object.values(C).some(W=>W!==0)?Hs(n,{x:D,y:T,w:m,h:g,radius:C}):n.rect(D,T,m,g),n.fill(),M!==0&&n.stroke()}n.restore()},y=function(k,v,x){Lt(n,x.text,k,v+p/2,c,{strikethrough:x.hidden,textAlign:l.textAlign(x.textAlign)})},w=this.isHorizontal(),P=this._computeTitleHeight();w?u={x:$(o,this.left+h,this.right-s[0]),y:this.top+h+P,line:0}:u={x:this.left+h,y:$(o,this.top+P+h,this.bottom-e[0].height),line:0},ir(this.ctx,t.textDirection);const _=p+h;this.legendItems.forEach((k,v)=>{n.strokeStyle=k.fontColor,n.fillStyle=k.fontColor;const x=n.measureText(k.text).width,M=l.textAlign(k.textAlign||(k.textAlign=r.textAlign)),T=m+d+x;let D=u.x,C=u.y;l.setWidth(this.width),w?v>0&&D+T+h>this.right&&(C=u.y+=_,u.line++,D=u.x=$(o,this.left+h,this.right-s[u.line])):v>0&&C+_>this.bottom&&(D=u.x=D+e[u.line].width+h,u.line++,C=u.y=$(o,this.top+P+h,this.bottom-e[u.line].height));const W=l.x(D);if(b(W,C,k),D=so(M,D+m+d,w?D+T:this.right,t.rtl),y(l.x(D),C,k),w)u.x+=T+h;else if(typeof k.text!="string"){const Q=c.lineHeight;u.y+=dn(k,Q)}else u.y+=_}),sr(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=et(e.font),n=G(e.padding);if(!e.display)return;const o=He(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+c,f=$(t.align,f,this.right-d);else{const m=this.columnSizes.reduce((g,p)=>Math.max(g,p.height),0);h=c+$(t.align,this.top,this.bottom-m-t.labels.padding-this._computeTitleHeight())}const u=$(a,f,f+d);r.textAlign=o.textAlign(zs(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,Lt(r,e.text,u,h,s)}_computeTitleHeight(){const t=this.options.title,e=et(t.font),s=G(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(Dt(t,this.left,this.right)&&Dt(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),t+e.size/2+s.measureText(n).width}function dl(i,t,e){let s=i;return typeof t.text!="string"&&(s=dn(t,e)),s}function dn(i,t){const e=i.text?i.text.length+.5:0;return t*e}function ul(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var gl={id:"legend",_element:gs,start(i,t,e){const s=i.legend=new gs({ctx:i.ctx,options:e,chart:i});lt.configure(i,s,e),lt.addBox(i,s)},stop(i){lt.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,t,e){const s=i.legend;lt.configure(i,s,e),s.options=e},afterUpdate(i){const t=i.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(i,t){t.replay||i.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,t,e){const s=t.datasetIndex,n=e.chart;n.isDatasetVisible(s)?(n.hide(s),t.hidden=!0):(n.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),h=G(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};const pl=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function ml(i,t,e,s){const n=i.indexOf(t);if(n===-1)return pl(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const bl=(i,t)=>i===null?null:tt(Math.round(i),0,t);function ps(i){const t=this.getLabels();return i>=0&&ie.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}S(Ze,"id","category"),S(Ze,"defaults",{ticks:{callback:ps}});function _l(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:f,includeBounds:d}=i,u=o||1,m=h-1,{min:g,max:p}=t,b=!A(r),y=!A(a),w=!A(c),P=(p-g)/(f+1);let _=vi((p-g)/m/u)*u,k,v,x,M;if(_<1e-14&&!b&&!y)return[{value:g},{value:p}];M=Math.ceil(p/_)-Math.floor(g/_),M>m&&(_=vi(M*_/m/u)*u),A(l)||(k=Math.pow(10,l),_=Math.ceil(_*k)/k),n==="ticks"?(v=Math.floor(g/_)*_,x=Math.ceil(p/_)*_):(v=g,x=p),b&&y&&o&&Kn((a-r)/o,_/1e3)?(M=Math.round(Math.min((a-r)/_,h)),_=(a-r)/M,v=r,x=a):w?(v=b?r:v,x=y?a:x,M=c-1,_=(x-v)/M):(M=(x-v)/_,$t(M,Math.round(M),_/1e3)?M=Math.round(M):M=Math.ceil(M));const T=Math.max(ki(_),ki(v));k=Math.pow(10,A(l)?T:l),v=Math.round(v*k)/k,x=Math.round(x*k)/k;let D=0;for(b&&(d&&v!==r?(e.push({value:r}),vn=e?n:l,a=l=>o=s?o:l;if(t){const l=Ot(n),c=Ot(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},o=this._range||this,r=_l(n,o);return t.bounds==="ticks"&&Ts(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return ri(t,this.chart.options.locale,this.options.ticks.format)}}class Qe extends Le{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=z(t)?t:0,this.max=z(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=at(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}S(Qe,"id","linear"),S(Qe,"defaults",{ticks:{callback:Ce.formatters.numeric}});const Jt=i=>Math.floor(rt(i)),pt=(i,t)=>Math.pow(10,Jt(i)+t);function bs(i){return i/Math.pow(10,Jt(i))===1}function _s(i,t,e){const s=Math.pow(10,e),n=Math.floor(i/s);return Math.ceil(t/s)-n}function xl(i,t){const e=t-i;let s=Jt(e);for(;_s(i,t,s)>10;)s++;for(;_s(i,t,s)<10;)s--;return Math.min(s,Jt(i))}function yl(i,{min:t,max:e}){t=U(i.min,t);const s=[],n=Jt(t);let o=xl(t,e),r=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=n>o?Math.pow(10,n):0,c=Math.round((t-l)*r)/r,h=Math.floor((t-l)/a/10)*a*10;let f=Math.floor((c-h)/Math.pow(10,o)),d=U(i.min,Math.round((l+h+f*Math.pow(10,o))*r)/r);for(;d=10?f=f<15?15:20:f++,f>=20&&(o++,f=2,r=o>=0?1:r),d=Math.round((l+h+f*Math.pow(10,o))*r)/r;const u=U(i.max,d);return s.push({value:u,major:bs(u),significand:f}),s}class xs extends wt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const s=Le.prototype.parse.apply(this,[t,e]);if(s===0){this._zero=!0;return}return z(s)&&s>0?s:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=z(t)?Math.max(0,t):null,this.max=z(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!z(this._userMin)&&(this.min=t===pt(this.min,0)?pt(this.min,-1):pt(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let s=this.min,n=this.max;const o=a=>s=t?s:a,r=a=>n=e?n:a;s===n&&(s<=0?(o(1),r(10)):(o(pt(s,-1)),r(pt(n,1)))),s<=0&&o(pt(n,-1)),n<=0&&r(pt(s,1)),this.min=s,this.max=n}buildTicks(){const t=this.options,e={min:this._userMin,max:this._userMax},s=yl(e,this);return t.bounds==="ticks"&&Ts(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(t){return t===void 0?"0":ri(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=rt(t),this._valueRange=rt(this.max)-rt(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(rt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}S(xs,"id","logarithmic"),S(xs,"defaults",{ticks:{callback:Ce.formatters.logarithmic,major:{enabled:!0}}});function Je(i){const t=i.ticks;if(t.display&&i.display){const e=G(t.backdropPadding);return O(t.font&&t.font.size,R.font.size)+e.height}return 0}function vl(i,t,e){return e=F(e)?e:[e],{w:mo(i,t.string,e),h:e.length*t.lineHeight}}function ys(i,t,e,s,n){return i===s||i===n?{start:t-e/2,end:t+e/2}:in?{start:t-e,end:t}:{start:t,end:t+e}}function kl(i){const t={l:i.left+i._padding.left,r:i.right-i._padding.right,t:i.top+i._padding.top,b:i.bottom-i._padding.bottom},e=Object.assign({},t),s=[],n=[],o=i._pointLabels.length,r=i.options.pointLabels,a=r.centerPointLabels?H/o:0;for(let l=0;lt.r&&(a=(s.end-t.r)/o,i.r=Math.max(i.r,t.r+a)),n.startt.b&&(l=(n.end-t.b)/r,i.b=Math.max(i.b,t.b+l))}function Ml(i,t,e){const s=[],n=i._pointLabels.length,o=i.options,r=Je(o)/2,a=i.drawingArea,l=o.pointLabels.centerPointLabels?H/n:0;for(let c=0;c270||e<90)&&(i-=t),i}function Ol(i,t){const{ctx:e,options:{pointLabels:s}}=i;for(let n=t-1;n>=0;n--){const o=s.setContext(i.getPointLabelContext(n)),r=et(o.font),{x:a,y:l,textAlign:c,left:h,top:f,right:d,bottom:u}=i._pointLabelItems[n],{backdropColor:m}=o;if(!A(m)){const g=Ws(o.borderRadius),p=G(o.backdropPadding);e.fillStyle=m;const b=h-p.left,y=f-p.top,w=d-h+p.width,P=u-f+p.height;Object.values(g).some(_=>_!==0)?(e.beginPath(),Hs(e,{x:b,y,w,h:P,radius:g}),e.fill()):e.fillRect(b,y,w,P)}Lt(e,i._pointLabels[n],a,l+r.lineHeight/2,r,{color:o.color,textAlign:c,textBaseline:"middle"})}}function un(i,t,e,s){const{ctx:n}=i;if(e)n.arc(i.xCenter,i.yCenter,t,0,X);else{let o=i.getPointPosition(0,t);n.moveTo(o.x,o.y);for(let r=1;r{const n=I(this.options.pointLabels.callback,[e,s],this);return n||n===0?n:""}).filter((e,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?kl(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,s,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,s,n))}getIndexAngle(t){const e=X/(this._pointLabels.length||1),s=this.options.startAngle||0;return Y(t*e+at(s))}getDistanceFromCenterForValue(t){if(A(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(A(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t{if(f!==0){l=this.getDistanceFromCenterForValue(h.value);const d=this.getContext(f),u=n.setContext(d),m=o.setContext(d);Ll(this,u,l,r,m)}}),s.display){for(t.save(),a=r-1;a>=0;a--){const h=s.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:d}=h;!d||!f||(t.lineWidth=d,t.strokeStyle=f,t.setLineDash(h.borderDash),t.lineDashOffset=h.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,s=e.ticks;if(!s.display)return;const n=this.getIndexAngle(0);let o,r;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!e.reverse)return;const c=s.setContext(this.getContext(l)),h=et(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=h.string,r=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const f=G(c.backdropPadding);t.fillRect(-r/2-f.left,-o-h.size/2-f.top,r+f.width,h.size+f.height)}Lt(t,a.label,0,-o,h,{color:c.color})}),t.restore()}drawTitle(){}}S(me,"id","radialLinear"),S(me,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ce.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),S(me,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),S(me,"descriptors",{angleLines:{_fallback:"grid"}});const ze={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},V=Object.keys(ze);function Cl(i,t){return i-t}function vs(i,t){if(A(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),z(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(Gt(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function ks(i,t,e,s){const n=V.length;for(let o=V.indexOf(i);o=V.indexOf(e);o--){const r=V[o];if(ze[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return V[e?V.indexOf(e):0]}function Al(i){for(let t=V.indexOf(i)+1,e=V.length;t=t?e[s]:e[n];i[o]=!0}}function Fl(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function Ms(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=tt(e,0,r),s=tt(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||ks(o.minUnit,e,s,this._getLabelCapacity(e)),a=O(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=Gt(l)||l===!0,h={};let f=e,d,u;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const m=n.ticks.source==="data"&&this.getDataTimestamps();for(d=f,u=0;dg-p).map(g=>+g)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return I(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],f=c&&a[c],d=s[e],u=c&&f&&d&&d.major;return this._adapter.format(t,n||(u?f:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=_t(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=_t(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class Ss extends Te{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=be(e,this.min),this._tableRange=be(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;r=0)&&Object.prototype.propertyIsEnumerable.call(r,e)&&(t[e]=r[e])}return t}function u(r,o){if(r==null)return{};var t={},e=Object.keys(r),n,i;for(i=0;i=0)&&(t[n]=r[n]);return t}var p=c.forwardRef(function(r,o){var t=r.color,e=t===void 0?"currentColor":t,n=r.size,i=n===void 0?24:n,f=v(r,["color","size"]);return l.createElement("svg",s({ref:o,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},f),l.createElement("polyline",{points:"6 9 12 15 18 9"}))});p.propTypes={color:a.string,size:a.oneOfType([a.string,a.number])};p.displayName="ChevronDown";const h=p;export{h as C}; diff --git a/assets/debounce-c1ba2006.js b/assets/debounce-c1ba2006.js new file mode 100644 index 0000000..3f3779c --- /dev/null +++ b/assets/debounce-c1ba2006.js @@ -0,0 +1 @@ +function O(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var M=typeof global=="object"&&global&&global.Object===Object&&global;const R=M;var w=typeof self=="object"&&self&&self.Object===Object&&self,B=R||w||Function("return this")();const W=B;var F=function(){return W.Date.now()};const S=F;var G=/\s/;function U(e){for(var n=e.length;n--&&G.test(e.charAt(n)););return n}var _=/^\s+/;function D(e){return e&&e.slice(0,U(e)+1).replace(_,"")}var H=W.Symbol;const y=H;var L=Object.prototype,X=L.hasOwnProperty,q=L.toString,g=y?y.toStringTag:void 0;function z(e){var n=X.call(e,g),i=e[g];try{e[g]=void 0;var o=!0}catch{}var f=q.call(e);return o&&(n?e[g]=i:delete e[g]),f}var J=Object.prototype,K=J.toString;function Q(e){return K.call(e)}var V="[object Null]",Y="[object Undefined]",$=y?y.toStringTag:void 0;function Z(e){return e==null?e===void 0?Y:V:$&&$ in Object(e)?z(e):Q(e)}function ee(e){return e!=null&&typeof e=="object"}var ne="[object Symbol]";function te(e){return typeof e=="symbol"||ee(e)&&Z(e)==ne}var E=0/0,re=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^0o[0-7]+$/i,ae=parseInt;function k(e){if(typeof e=="number")return e;if(te(e))return E;if(O(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=O(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=D(e);var i=ie.test(e);return i||oe.test(e)?ae(e.slice(2),i?2:8):re.test(e)?E:+e}var fe="Expected a function",ce=Math.max,ue=Math.min;function se(e,n,i){var o,f,s,u,r,c,d=0,v=!1,l=!1,T=!0;if(typeof e!="function")throw new TypeError(fe);n=k(n)||0,O(i)&&(v=!!i.leading,l="maxWait"in i,s=l?ce(k(i.maxWait)||0,n):s,T="trailing"in i?!!i.trailing:T);function j(t){var a=o,b=f;return o=f=void 0,d=t,u=e.apply(b,a),u}function N(t){return d=t,r=setTimeout(m,n),v?j(t):u}function P(t){var a=t-c,b=t-d,I=n-a;return l?ue(I,s-b):I}function h(t){var a=t-c,b=t-d;return c===void 0||a>=n||a<0||l&&b>=s}function m(){var t=S();if(h(t))return x(t);r=setTimeout(m,P(t))}function x(t){return r=void 0,T&&o?j(t):(o=f=void 0,u)}function A(){r!==void 0&&clearTimeout(r),d=0,o=c=f=r=void 0}function C(){return r===void 0?u:x(S())}function p(){var t=S(),a=h(t);if(o=arguments,f=this,c=t,a){if(r===void 0)return N(c);if(l)return clearTimeout(r),r=setTimeout(m,n),j(c)}return r===void 0&&(r=setTimeout(m,n)),u}return p.cancel=A,p.flush=C,p}export{se as d}; diff --git a/assets/en-0b55644c.js b/assets/en-0b55644c.js new file mode 100644 index 0000000..ff49066 --- /dev/null +++ b/assets/en-0b55644c.js @@ -0,0 +1 @@ +const e={Overview:"Overview",Proxies:"Proxies",Rules:"Rules",Conns:"Conns",Config:"Config",Logs:"Logs",Upload:"Upload",Download:"Download","Upload Total":"Upload Total","Download Total":"Download Total","Active Connections":"Active Connections","Pause Refresh":"Pause Refresh","Resume Refresh":"Resume Refresh",Up:"Up",Down:"Down","Test Latency":"Test Latency",settings:"settings",sort_in_grp:"Sorting in group",hide_unavail_proxies:"Hide unavailable proxies",auto_close_conns:"Automatically close old connections",order_natural:"Original order in config file",order_latency_asc:"By latency from small to big",order_latency_desc:"By latency from big to small",order_name_asc:"By name alphabetically (A-Z)",order_name_desc:"By name alphabetically (Z-A)",Connections:"Connections",current_backend:"Current Backend",Active:"Active",switch_backend:"Switch backend",Closed:"Closed",switch_theme:"Switch theme",theme:"theme",about:"about",no_logs:"No logs yet, hang tight...",chart_style:"Chart Style",latency_test_url:"Latency Test URL",lang:"Language",update_all_rule_provider:"Update all rule providers",update_all_proxy_provider:"Update all proxy providers"};export{e as data}; diff --git a/assets/index-2a3ca6b4.js b/assets/index-2a3ca6b4.js new file mode 100644 index 0000000..8c5dbd6 --- /dev/null +++ b/assets/index-2a3ca6b4.js @@ -0,0 +1 @@ +function c(e,a){if(a.length1?"s":"")+" required, but only "+a.length+" present")}function y(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(t){return typeof t}:y=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(e)}function s(e){c(1,arguments);var a=Object.prototype.toString.call(e);return e instanceof Date||y(e)==="object"&&a==="[object Date]"?new Date(e.getTime()):typeof e=="number"||a==="[object Number]"?new Date(e):((typeof e=="string"||a==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}var C={};function A(){return C}function S(e){var a=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return a.setUTCFullYear(e.getFullYear()),e.getTime()-a.getTime()}function M(e,a){c(2,arguments);var t=s(e),n=s(a),i=t.getTime()-n.getTime();return i<0?-1:i>0?1:i}function _(e,a){c(2,arguments);var t=s(e),n=s(a),i=t.getFullYear()-n.getFullYear(),o=t.getMonth()-n.getMonth();return i*12+o}function X(e,a){return c(2,arguments),s(e).getTime()-s(a).getTime()}var T={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(a){return a<0?Math.ceil(a):Math.floor(a)}},I="trunc";function R(e){return e?T[e]:T[I]}function E(e){c(1,arguments);var a=s(e);return a.setHours(23,59,59,999),a}function Y(e){c(1,arguments);var a=s(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function j(e){c(1,arguments);var a=s(e);return E(a).getTime()===Y(a).getTime()}function z(e,a){c(2,arguments);var t=s(e),n=s(a),i=M(t,n),o=Math.abs(_(t,n)),r;if(o<1)r=0;else{t.getMonth()===1&&t.getDate()>27&&t.setDate(30),t.setMonth(t.getMonth()-i*o);var l=M(t,n)===-i;j(s(e))&&o===1&&M(e,n)===1&&(l=!1),r=i*(o-Number(l))}return r===0?0:r}function L(e,a,t){c(2,arguments);var n=X(e,a)/1e3;return R(t==null?void 0:t.roundingMethod)(n)}var V={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},q=function(a,t,n){var i,o=V[a];return typeof o=="string"?i=o:t===1?i=o.one:i=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};const H=q;function p(e){return function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=a.width?String(a.width):e.defaultWidth,n=e.formats[t]||e.formats[e.defaultWidth];return n}}var J={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},U={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Q={date:p({formats:J,defaultWidth:"full"}),time:p({formats:U,defaultWidth:"full"}),dateTime:p({formats:$,defaultWidth:"full"})};const B=Q;var G={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},K=function(a,t,n,i){return G[a]};const Z=K;function g(e){return function(a,t){var n=t!=null&&t.context?String(t.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,r=t!=null&&t.width?String(t.width):o;i=e.formattingValues[r]||e.formattingValues[o]}else{var l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;i=e.values[u]||e.values[l]}var f=e.argumentCallback?e.argumentCallback(a):a;return i[f]}}var ee={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},te={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ae={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},re={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ie={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},oe=function(a,t){var n=Number(a),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},ue={ordinalNumber:oe,era:g({values:ee,defaultWidth:"wide"}),quarter:g({values:te,defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:g({values:ae,defaultWidth:"wide"}),day:g({values:ne,defaultWidth:"wide"}),dayPeriod:g({values:re,defaultWidth:"wide",formattingValues:ie,defaultFormattingWidth:"wide"})};const se=ue;function b(e){return function(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=a.match(i);if(!o)return null;var r=o[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?de(l,function(m){return m.test(r)}):le(l,function(m){return m.test(r)}),f;f=e.valueCallback?e.valueCallback(u):u,f=t.valueCallback?t.valueCallback(f):f;var h=a.slice(r.length);return{value:f,rest:h}}}function le(e,a){for(var t in e)if(e.hasOwnProperty(t)&&a(e[t]))return t}function de(e,a){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:{},n=a.match(e.matchPattern);if(!n)return null;var i=n[0],o=a.match(e.parsePattern);if(!o)return null;var r=e.valueCallback?e.valueCallback(o[0]):o[0];r=t.valueCallback?t.valueCallback(r):r;var l=a.slice(i.length);return{value:r,rest:l}}}var me=/^(\d+)(th|st|nd|rd)?/i,ce=/\d+/i,he={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ve={any:[/^b/i,/^(a|c)/i]},ge={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},be={any:[/1/i,/2/i,/3/i,/4/i]},ye={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Me={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},we={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},pe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},De={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Se={ordinalNumber:fe({matchPattern:me,parsePattern:ce,valueCallback:function(a){return parseInt(a,10)}}),era:b({matchPatterns:he,defaultMatchWidth:"wide",parsePatterns:ve,defaultParseWidth:"any"}),quarter:b({matchPatterns:ge,defaultMatchWidth:"wide",parsePatterns:be,defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:b({matchPatterns:ye,defaultMatchWidth:"wide",parsePatterns:Me,defaultParseWidth:"any"}),day:b({matchPatterns:we,defaultMatchWidth:"wide",parsePatterns:pe,defaultParseWidth:"any"}),dayPeriod:b({matchPatterns:De,defaultMatchWidth:"any",parsePatterns:Pe,defaultParseWidth:"any"})};const Te=Se;var We={code:"en-US",formatDistance:H,formatLong:B,formatRelative:Z,localize:se,match:Te,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ne=We;function N(e,a){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t]);return e}function ke(e){return N({},e)}var W=1440,Oe=2520,D=43200,Fe=86400;function xe(e,a,t){var n,i;c(2,arguments);var o=A(),r=(n=(i=t==null?void 0:t.locale)!==null&&i!==void 0?i:o.locale)!==null&&n!==void 0?n:Ne;if(!r.formatDistance)throw new RangeError("locale must contain formatDistance property");var l=M(e,a);if(isNaN(l))throw new RangeError("Invalid time value");var u=N(ke(t),{addSuffix:Boolean(t==null?void 0:t.addSuffix),comparison:l}),f,h;l>0?(f=s(a),h=s(e)):(f=s(e),h=s(a));var m=L(h,f),k=(S(h)-S(f))/1e3,d=Math.round((m-k)/60),v;if(d<2)return t!=null&&t.includeSeconds?m<5?r.formatDistance("lessThanXSeconds",5,u):m<10?r.formatDistance("lessThanXSeconds",10,u):m<20?r.formatDistance("lessThanXSeconds",20,u):m<40?r.formatDistance("halfAMinute",0,u):m<60?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",1,u):d===0?r.formatDistance("lessThanXMinutes",1,u):r.formatDistance("xMinutes",d,u);if(d<45)return r.formatDistance("xMinutes",d,u);if(d<90)return r.formatDistance("aboutXHours",1,u);if(dt in e?g_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ch=(e,t,n)=>(y_(e,typeof t!="symbol"?t+"":t,n),n);function w_(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var vU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ld(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S_(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Ni={},__={get exports(){return Ni},set exports(e){Ni=e}},gl={},w={},b_={get exports(){return w},set exports(e){w=e}},ce={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=Symbol.for("react.element"),E_=Symbol.for("react.portal"),C_=Symbol.for("react.fragment"),R_=Symbol.for("react.strict_mode"),x_=Symbol.for("react.profiler"),k_=Symbol.for("react.provider"),O_=Symbol.for("react.context"),T_=Symbol.for("react.forward_ref"),P_=Symbol.for("react.suspense"),N_=Symbol.for("react.memo"),L_=Symbol.for("react.lazy"),fh=Symbol.iterator;function A_(e){return e===null||typeof e!="object"?null:(e=fh&&e[fh]||e["@@iterator"],typeof e=="function"?e:null)}var Tg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pg=Object.assign,Ng={};function Io(e,t,n){this.props=e,this.context=t,this.refs=Ng,this.updater=n||Tg}Io.prototype.isReactComponent={};Io.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Io.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Lg(){}Lg.prototype=Io.prototype;function ud(e,t,n){this.props=e,this.context=t,this.refs=Ng,this.updater=n||Tg}var cd=ud.prototype=new Lg;cd.constructor=ud;Pg(cd,Io.prototype);cd.isPureReactComponent=!0;var dh=Array.isArray,Ag=Object.prototype.hasOwnProperty,fd={current:null},Ig={key:!0,ref:!0,__self:!0,__source:!0};function Dg(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Ag.call(t,r)&&!Ig.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1{if(i=H_(i,r),i in hh)return;hh[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let c=o.length-1;c>=0;c--){const f=o[c];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":W_,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};function Qt(e){return Qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(e)}function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K_(e,t){if(Qt(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Qt(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $g(e){var t=K_(e,"string");return Qt(t)==="symbol"?t:String(t)}function vh(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};Dt(this,e),this.init(t,n)}return Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||G_,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return o()?{}:{obj:e,k:r(i.shift())}}function Sh(e,t,n){var r=pd(e,t,Object),o=r.obj,i=r.k;o[i]=n}function J_(e,t,n,r){var o=pd(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}function Es(e,t){var n=pd(e,t),r=n.obj,o=n.k;if(r)return r[o]}function _h(e,t,n){var r=Es(e,n);return r!==void 0?r:Es(t,n)}function zg(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):zg(e[r],t[r],n):e[r]=t[r]);return e}function Br(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Z_={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function eb(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Z_[t]}):e}var wl=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,tb=[" ",",","?","!",";"];function nb(e,t,n){t=t||"",n=n||"";var r=tb.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var o=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Pa(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bg(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;ii+a;)a++,s=r.slice(i,i+a).join(n),l=o[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var u=r.slice(i+a).join(n);return u?Bg(l,u,n):void 0}o=o[r[i]]}return o}}var ib=function(e){yl(n,e);var t=rb(n);function n(r){var o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Dt(this,n),o=t.call(this),wl&&nr.call(Hn(o)),o.data=r||{},o.options=i,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.options.ignoreJSONStructure===void 0&&(o.options.ignoreJSONStructure=!0),o}return Mt(n,[{key:"addNamespaces",value:function(o){this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}},{key:"removeNamespaces",value:function(o){var i=this.options.ns.indexOf(o);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[o,i];a&&typeof a!="string"&&(c=c.concat(a)),a&&typeof a=="string"&&(c=c.concat(l?a.split(l):a)),o.indexOf(".")>-1&&(c=o.split("."));var f=Es(this.data,c);return f||!u||typeof a!="string"?f:Bg(this.data&&this.data[o]&&this.data[o][i],a,l)}},{key:"addResource",value:function(o,i,a,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var c=[o,i];a&&(c=c.concat(u?a.split(u):a)),o.indexOf(".")>-1&&(c=o.split("."),s=i,i=c[1]),this.addNamespaces(i),Sh(this.data,c,s),l.silent||this.emit("added",o,i,a,s)}},{key:"addResources",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in a)(typeof a[l]=="string"||Object.prototype.toString.apply(a[l])==="[object Array]")&&this.addResource(o,i,l,a[l],{silent:!0});s.silent||this.emit("added",o,i,a)}},{key:"addResourceBundle",value:function(o,i,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[o,i];o.indexOf(".")>-1&&(c=o.split("."),s=a,a=i,i=c[1]),this.addNamespaces(i);var f=Es(this.data,c)||{};s?zg(f,a,l):f=Pa(Pa({},f),a),Sh(this.data,c,f),u.silent||this.emit("added",o,i,a)}},{key:"removeResourceBundle",value:function(o,i){this.hasResourceBundle(o,i)&&delete this.data[o][i],this.removeNamespaces(i),this.emit("removed",o,i)}},{key:"hasResourceBundle",value:function(o,i){return this.getResource(o,i)!==void 0}},{key:"getResourceBundle",value:function(o,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Pa(Pa({},{}),this.getResource(o,i)):this.getResource(o,i)}},{key:"getDataByLanguage",value:function(o){return this.data[o]}},{key:"hasLanguageSomeTranslations",value:function(o){var i=this.getDataByLanguage(o),a=i&&Object.keys(i)||[];return!!a.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(nr),Vg={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,o,i){var a=this;return t.forEach(function(s){a.processors[s]&&(n=a.processors[s].process(n,r,o,i))}),n}};function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ch={},Rh=function(e){yl(n,e);var t=ab(n);function n(r){var o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Dt(this,n),o=t.call(this),wl&&nr.call(Hn(o)),X_(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Hn(o)),o.options=i,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.logger=an.create("translator"),o}return Mt(n,[{key:"changeLanguage",value:function(o){o&&(this.language=o)}},{key:"exists",value:function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(o==null)return!1;var a=this.resolve(o,i);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(o,i){var a=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ns||this.options.defaultNS||[],u=a&&o.indexOf(a)>-1,c=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!nb(o,a,s);if(u&&!c){var f=o.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:o,namespaces:l};var p=o.split(a);(a!==s||a===s&&this.options.ns.indexOf(p[0])>-1)&&(l=p.shift()),o=p.join(s)}return typeof l=="string"&&(l=[l]),{key:o,namespaces:l}}},{key:"translate",value:function(o,i,a){var s=this;if(Qt(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),i||(i={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);var l=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,u=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,c=this.extractFromKey(o[o.length-1],i),f=c.key,p=c.namespaces,v=p[p.length-1],g=i.lng||this.language,y=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(g&&g.toLowerCase()==="cimode"){if(y){var S=i.nsSeparator||this.options.nsSeparator;return l?(h.res="".concat(v).concat(S).concat(f),h):"".concat(v).concat(S).concat(f)}return l?(h.res=f,h):f}var h=this.resolve(o,i),d=h&&h.res,m=h&&h.usedKey||f,_=h&&h.exactUsedKey||f,x=Object.prototype.toString.apply(d),C=["[object Number]","[object Function]","[object RegExp]"],T=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,W=typeof d!="string"&&typeof d!="boolean"&&typeof d!="number";if(N&&d&&W&&C.indexOf(x)<0&&!(typeof T=="string"&&x==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var M=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,d,Je(Je({},i),{},{ns:p})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return l?(h.res=M,h):M}if(u){var ee=x==="[object Array]",pe=ee?[]:{},ue=ee?_:m;for(var K in d)if(Object.prototype.hasOwnProperty.call(d,K)){var j="".concat(ue).concat(u).concat(K);pe[K]=this.translate(j,Je(Je({},i),{joinArrays:!1,ns:p})),pe[K]===j&&(pe[K]=d[K])}d=pe}}else if(N&&typeof T=="string"&&x==="[object Array]")d=d.join(T),d&&(d=this.extendTranslation(d,o,i,a));else{var X=!1,O=!1,P=i.count!==void 0&&typeof i.count!="string",H=n.hasDefaultValue(i),$=P?this.pluralResolver.getSuffix(g,i.count,i):"",U=i["defaultValue".concat($)]||i.defaultValue;!this.isValidLookup(d)&&H&&(X=!0,d=U),this.isValidLookup(d)||(O=!0,d=f);var E=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,L=E&&O?void 0:d,A=H&&U!==d&&this.options.updateMissing;if(O||X||A){if(this.logger.log(A?"updateKey":"missingKey",g,v,f,A?U:d),u){var J=this.resolve(f,Je(Je({},i),{},{keySeparator:!1}));J&&J.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var F=[],z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&z&&z[0])for(var Z=0;Z1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,c,f;return typeof o=="string"&&(o=[o]),o.forEach(function(p){if(!i.isValidLookup(s)){var v=i.extractFromKey(p,a),g=v.key;l=g;var y=v.namespaces;i.options.fallbackNS&&(y=y.concat(i.options.fallbackNS));var S=a.count!==void 0&&typeof a.count!="string",h=S&&!a.ordinal&&a.count===0&&i.pluralResolver.shouldUseIntlApi(),d=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",m=a.lngs?a.lngs:i.languageUtils.toResolveHierarchy(a.lng||i.language,a.fallbackLng);y.forEach(function(_){i.isValidLookup(s)||(f=_,!Ch["".concat(m[0],"-").concat(_)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(f)&&(Ch["".concat(m[0],"-").concat(_)]=!0,i.logger.warn('key "'.concat(l,'" for languages "').concat(m.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(function(x){if(!i.isValidLookup(s)){c=x;var C=[g];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(C,g,x,_,a);else{var T;S&&(T=i.pluralResolver.getSuffix(x,a.count,a));var N="".concat(i.options.pluralSeparator,"zero");if(S&&(C.push(g+T),h&&C.push(g+N)),d){var W="".concat(g).concat(i.options.contextSeparator).concat(a.context);C.push(W),S&&(C.push(W+T),h&&C.push(W+N))}}for(var M;M=C.pop();)i.isValidLookup(s)||(u=M,s=i.getResource(x,_,M,a))}}))})}}),{res:s,usedKey:l,exactUsedKey:u,usedLng:c,usedNS:f}}},{key:"isValidLookup",value:function(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}},{key:"getResource",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(o,i,a,s):this.resourceStore.getResource(o,i,a,s)}}],[{key:"hasDefaultValue",value:function(o){var i="defaultValue";for(var a in o)if(Object.prototype.hasOwnProperty.call(o,a)&&i===a.substring(0,i.length)&&o[a]!==void 0)return!0;return!1}}]),n}(nr);function _u(e){return e.charAt(0).toUpperCase()+e.slice(1)}var xh=function(){function e(t){Dt(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=an.create("languageUtils")}return Mt(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],o=n.split("-");return this.options.lowerCaseLng?o=o.map(function(i){return i.toLowerCase()}):o.length===2?(o[0]=o[0].toLowerCase(),o[1]=o[1].toUpperCase(),r.indexOf(o[1].toLowerCase())>-1&&(o[1]=_u(o[1].toLowerCase()))):o.length===3&&(o[0]=o[0].toLowerCase(),o[1].length===2&&(o[1]=o[1].toUpperCase()),o[0]!=="sgn"&&o[2].length===2&&(o[2]=o[2].toUpperCase()),r.indexOf(o[1].toLowerCase())>-1&&(o[1]=_u(o[1].toLowerCase())),r.indexOf(o[2].toLowerCase())>-1&&(o[2]=_u(o[2].toLowerCase()))),o.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var o;return n.forEach(function(i){if(!o){var a=r.formatLanguageCode(i);(!r.options.supportedLngs||r.isSupportedCode(a))&&(o=a)}}),!o&&this.options.supportedLngs&&n.forEach(function(i){if(!o){var a=r.getLanguagePartFromCode(i);if(r.isSupportedCode(a))return o=a;o=r.options.supportedLngs.find(function(s){if(s.indexOf(a)===0)return s})}}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var o=n[r];return o||(o=n[this.getScriptPartFromCode(r)]),o||(o=n[this.formatLanguageCode(r)]),o||(o=n[this.getLanguagePartFromCode(r)]),o||(o=n.default),o||[]}},{key:"toResolveHierarchy",value:function(n,r){var o=this,i=this.getFallbackCodes(r||this.options.fallbackLng||[],n),a=[],s=function(u){u&&(o.isSupportedCode(u)?a.push(u):o.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),i.forEach(function(l){a.indexOf(l)<0&&s(o.formatLanguageCode(l))}),a}}]),e}(),lb=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ub={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},cb=["v1","v2","v3"],kh={zero:0,one:1,two:2,few:3,many:4,other:5};function fb(){var e={};return lb.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:ub[t.fc]}})}),e}var db=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt(this,e),this.languageUtils=t,this.options=n,this.logger=an.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=fb()}return Mt(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,r);return this.shouldUseIntlApi()?o&&o.resolvedOptions().pluralCategories.length>1:o&&o.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,o).map(function(i){return"".concat(r).concat(i)})}},{key:"getSuffixes",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,o);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(a,s){return kh[a]-kh[s]}).map(function(a){return"".concat(r.options.prepend).concat(a)}):i.numbers.map(function(a){return r.getSuffix(n,a,o)}):[]}},{key:"getSuffix",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(n,o);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(r)):this.getSuffixRetroCompatible(i,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var o=this,i=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),a=n.numbers[i];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return o.options.prepend&&a.toString()?o.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!cb.includes(this.options.compatibilityJSON)}}]),e}();function Oh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ut(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};Dt(this,e),this.logger=an.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return Mt(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:eb,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Br(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Br(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Br(r.nestingPrefix):r.nestingPrefixEscaped||Br("$t("),this.nestingSuffix=r.nestingSuffix?Br(r.nestingSuffix):r.nestingSuffixEscaped||Br(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var o="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(o,"g")}},{key:"interpolate",value:function(n,r,o,i){var a=this,s,l,u,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(S){return S.replace(/\$/g,"$$$$")}var p=function(h){if(h.indexOf(a.formatSeparator)<0){var d=_h(r,c,h);return a.alwaysFormat?a.format(d,void 0,o,Ut(Ut(Ut({},i),r),{},{interpolationkey:h})):d}var m=h.split(a.formatSeparator),_=m.shift().trim(),x=m.join(a.formatSeparator).trim();return a.format(_h(r,c,_),x,o,Ut(Ut(Ut({},i),r),{},{interpolationkey:_}))};this.resetRegExp();var v=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,g=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(h){return f(h)}},{regex:this.regexp,safeValue:function(h){return a.escapeValue?f(a.escape(h)):f(h)}}];return y.forEach(function(S){for(u=0;s=S.regex.exec(n);){var h=s[1].trim();if(l=p(h),l===void 0)if(typeof v=="function"){var d=v(n,s,i);l=typeof d=="string"?d:""}else if(i&&i.hasOwnProperty(h))l="";else if(g){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(h," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=wh(l));var m=S.safeValue(l);if(n=n.replace(s[0],m),g?(S.regex.lastIndex+=l.length,S.regex.lastIndex-=s[0].length):S.regex.lastIndex=0,u++,u>=a.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,l;function u(v,g){var y=this.nestingOptionsSeparator;if(v.indexOf(y)<0)return v;var S=v.split(new RegExp("".concat(y,"[ ]*{"))),h="{".concat(S[1]);v=S[0],h=this.interpolate(h,l);var d=h.match(/'/g),m=h.match(/"/g);(d&&d.length%2===0&&!m||m.length%2!==0)&&(h=h.replace(/'/g,'"'));try{l=JSON.parse(h),g&&(l=Ut(Ut({},g),l))}catch(_){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),_),"".concat(v).concat(y).concat(h)}return delete l.defaultValue,v}for(;a=this.nestingRegexp.exec(n);){var c=[];l=Ut({},i),l=l.replace&&typeof l.replace!="string"?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;var f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){var p=a[1].split(this.formatSeparator).map(function(v){return v.trim()});a[1]=p.shift(),c=p,f=!0}if(s=r(u.call(this,a[1].trim(),l),l),s&&a[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=wh(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),f&&(s=c.reduce(function(v,g){return o.format(v,g,i.lng,Ut(Ut({},i),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function Th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if(t==="currency"&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if(t==="relativetime"&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{var i=o.split(";");i.forEach(function(a){if(a){var s=a.split(":"),l=q_(s),u=l[0],c=l.slice(1),f=c.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=f),f==="false"&&(n[u.trim()]=!1),f==="true"&&(n[u.trim()]=!0),isNaN(f)||(n[u.trim()]=parseInt(f,10))}})}}return{formatName:t,formatOptions:n}}function Vr(e){var t={};return function(r,o,i){var a=o+JSON.stringify(i),s=t[a];return s||(s=e(o,i),t[a]=s),s(r)}}var vb=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Dt(this,e),this.logger=an.create("formatter"),this.options=t,this.formats={number:Vr(function(n,r){var o=new Intl.NumberFormat(n,r);return function(i){return o.format(i)}}),currency:Vr(function(n,r){var o=new Intl.NumberFormat(n,Tn(Tn({},r),{},{style:"currency"}));return function(i){return o.format(i)}}),datetime:Vr(function(n,r){var o=new Intl.DateTimeFormat(n,Tn({},r));return function(i){return o.format(i)}}),relativetime:Vr(function(n,r){var o=new Intl.RelativeTimeFormat(n,Tn({},r));return function(i){return o.format(i,r.range||"day")}}),list:Vr(function(n,r){var o=new Intl.ListFormat(n,Tn({},r));return function(i){return o.format(i)}})},this.init(t)}return Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},o=r.interpolation;this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Vr(r)}},{key:"format",value:function(n,r,o,i){var a=this,s=r.split(this.formatSeparator),l=s.reduce(function(u,c){var f=hb(c),p=f.formatName,v=f.formatOptions;if(a.formats[p]){var g=u;try{var y=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},S=y.locale||y.lng||i.locale||i.lng||o;g=a.formats[p](u,S,Tn(Tn(Tn({},v),i),y))}catch(h){a.logger.warn(h)}return g}else a.logger.warn("there was no format function for ".concat(p));return u},n);return l}}]),e}();function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Nh(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function yb(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var wb=function(e){yl(n,e);var t=mb(n);function n(r,o,i){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Dt(this,n),a=t.call(this),wl&&nr.call(Hn(a)),a.backend=r,a.store=o,a.services=i,a.languageUtils=i.languageUtils,a.options=s,a.logger=an.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=s.maxParallelReads||10,a.readingCalls=0,a.maxRetries=s.maxRetries>=0?s.maxRetries:5,a.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(i,s.backend,s),a}return Mt(n,[{key:"queueLoad",value:function(o,i,a,s){var l=this,u={},c={},f={},p={};return o.forEach(function(v){var g=!0;i.forEach(function(y){var S="".concat(v,"|").concat(y);!a.reload&&l.store.hasResourceBundle(v,y)?l.state[S]=2:l.state[S]<0||(l.state[S]===1?c[S]===void 0&&(c[S]=!0):(l.state[S]=1,g=!1,c[S]===void 0&&(c[S]=!0),u[S]===void 0&&(u[S]=!0),p[y]===void 0&&(p[y]=!0)))}),g||(f[v]=!0)}),(Object.keys(u).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(c),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(p)}}},{key:"loaded",value:function(o,i,a){var s=o.split("|"),l=s[0],u=s[1];i&&this.emit("failedLoading",l,u,i),a&&this.store.addResourceBundle(l,u,a),this.state[o]=i?-1:2;var c={};this.queue.forEach(function(f){J_(f.loaded,[l],u),yb(f,o),i&&f.errors.push(i),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(p){c[p]||(c[p]={});var v=f.loaded[p];v.length&&v.forEach(function(g){c[p][g]===void 0&&(c[p][g]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(o,i,a){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!o.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:i,fcName:a,tried:l,wait:u,callback:c});return}this.readingCalls++;var f=function(y,S){if(s.readingCalls--,s.waitingReads.length>0){var h=s.waitingReads.shift();s.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(y&&S&&l2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof o=="string"&&(o=this.languageUtils.toResolveHierarchy(o)),typeof i=="string"&&(i=[i]);var u=this.queueLoad(o,i,s,l);if(!u.toLoad.length)return u.pending.length||l(),null;u.toLoad.forEach(function(c){a.loadOne(c)})}},{key:"load",value:function(o,i,a){this.prepareLoading(o,i,{},a)}},{key:"reload",value:function(o,i,a){this.prepareLoading(o,i,{reload:!0},a)}},{key:"loadOne",value:function(o){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=o.split("|"),l=s[0],u=s[1];this.read(l,u,"read",void 0,void 0,function(c,f){c&&i.logger.warn("".concat(a,"loading namespace ").concat(u," for language ").concat(l," failed"),c),!c&&f&&i.logger.log("".concat(a,"loaded namespace ").concat(u," for language ").concat(l),f),i.loaded(o,c,f)})}},{key:"saveMissing",value:function(o,i,a,s,l){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(a,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){var f=Nh(Nh({},u),{},{isUpdate:l}),p=this.backend.create.bind(this.backend);if(p.length<6)try{var v;p.length===5?v=p(o,i,a,s,f):v=p(o,i,a,s),v&&typeof v.then=="function"?v.then(function(g){return c(null,g)}).catch(c):c(null,v)}catch(g){c(g)}else p(o,i,a,s,c,f)}!o||!o[0]||this.store.addResource(o[0],i,a,s)}}}]),n}(nr);function Lh(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(Qt(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Qt(t[2])==="object"||Qt(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(o){n[o]=r[o]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,o){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ah(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Na(){}function bb(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Cs=function(e){yl(n,e);var t=Sb(n);function n(){var r,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(Dt(this,n),r=t.call(this),wl&&nr.call(Hn(r)),r.options=Ah(o),r.services={},r.logger=an,r.modules={external:[]},bb(Hn(r)),i&&!r.isInitialized&&!o.isClone){if(!r.options.initImmediate)return r.init(o,i),sa(r,Hn(r));setTimeout(function(){r.init(o,i)},0)}return r}return Mt(n,[{key:"init",value:function(){var o=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(a=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=Lh();this.options=en(en(en({},s),this.options),Ah(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=en(en({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function l(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?an.init(l(this.modules.logger),this.options):an.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=vb);var c=new xh(this.options);this.store=new ib(this.options.resources,this.options);var f=this.services;f.logger=an,f.resourceStore=this.store,f.languageUtils=c,f.pluralResolver=new db(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=l(u),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new pb(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new wb(l(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(h){for(var d=arguments.length,m=new Array(d>1?d-1:0),_=1;_1?d-1:0),_=1;_0&&p[0]!=="dev"&&(this.options.lng=p[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(h){o[h]=function(){var d;return(d=o.store)[h].apply(d,arguments)}});var g=["addResource","addResources","addResourceBundle","removeResourceBundle"];g.forEach(function(h){o[h]=function(){var d;return(d=o.store)[h].apply(d,arguments),o}});var y=Qo(),S=function(){var d=function(_,x){o.isInitialized&&!o.initializedStoreOnce&&o.logger.warn("init: i18next is already initialized. You should call init just once!"),o.isInitialized=!0,o.options.isClone||o.logger.log("initialized",o.options),o.emit("initialized",o.options),y.resolve(x),a(_,x)};if(o.languages&&o.options.compatibilityAPI!=="v1"&&!o.isInitialized)return d(null,o.t.bind(o));o.changeLanguage(o.options.lng,d)};return this.options.resources||!this.options.initImmediate?S():setTimeout(S,0),y}},{key:"loadResources",value:function(o){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na,s=a,l=typeof o=="string"?o:this.language;if(typeof o=="function"&&(s=o),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var u=[],c=function(v){if(v){var g=i.services.languageUtils.toResolveHierarchy(v);g.forEach(function(y){u.indexOf(y)<0&&u.push(y)})}};if(l)c(l);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(p){return c(p)})}this.options.preload&&this.options.preload.forEach(function(p){return c(p)}),this.services.backendConnector.load(u,this.options.ns,function(p){!p&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(p)})}else s(null)}},{key:"reloadResources",value:function(o,i,a){var s=Qo();return o||(o=this.languages),i||(i=this.options.ns),a||(a=Na),this.services.backendConnector.reload(o,i,function(l){s.resolve(),a(l)}),s}},{key:"use",value:function(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&Vg.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}},{key:"setResolvedLanguage",value:function(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1))for(var i=0;i-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}},{key:"changeLanguage",value:function(o,i){var a=this;this.isLanguageChangingTo=o;var s=Qo();this.emit("languageChanging",o);var l=function(p){a.language=p,a.languages=a.services.languageUtils.toResolveHierarchy(p),a.resolvedLanguage=void 0,a.setResolvedLanguage(p)},u=function(p,v){v?(l(v),a.translator.changeLanguage(v),a.isLanguageChangingTo=void 0,a.emit("languageChanged",v),a.logger.log("languageChanged",v)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),i&&i(p,function(){return a.t.apply(a,arguments)})},c=function(p){!o&&!p&&a.services.languageDetector&&(p=[]);var v=typeof p=="string"?p:a.services.languageUtils.getBestMatchFromCodes(p);v&&(a.language||l(v),a.translator.language||a.translator.changeLanguage(v),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(v)),a.loadResources(v,function(g){u(g,v)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(o),s}},{key:"getFixedT",value:function(o,i,a){var s=this,l=function u(c,f){var p;if(Qt(f)!=="object"){for(var v=arguments.length,g=new Array(v>2?v-2:0),y=2;y1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var c=function(v,g){var y=i.services.backendConnector.state["".concat(v,"|").concat(g)];return y===-1||y===2};if(a.precheck){var f=a.precheck(this,c);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(s,o)&&(!l||c(u,o)))}},{key:"loadNamespaces",value:function(o,i){var a=this,s=Qo();return this.options.ns?(typeof o=="string"&&(o=[o]),o.forEach(function(l){a.options.ns.indexOf(l)<0&&a.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),i&&i(l)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(o,i){var a=Qo();typeof o=="string"&&(o=[o]);var s=this.options.preload||[],l=o.filter(function(u){return s.indexOf(u)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(u){a.resolve(),i&&i(u)}),a):(i&&i(),Promise.resolve())}},{key:"dir",value:function(o){if(o||(o=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!o)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new xh(Lh());return i.indexOf(a.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var o=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Na,s=en(en(en({},this.options),i),{isClone:!0}),l=new n(s);(i.debug!==void 0||i.prefix!==void 0)&&(l.logger=l.logger.clone(i));var u=["store","services","language"];return u.forEach(function(c){l[c]=o[c]}),l.services=en({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new Rh(l.services,l.options),l.translator.on("*",function(c){for(var f=arguments.length,p=new Array(f>1?f-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Cs(e,t)});var Xe=Cs.createInstance();Xe.createInstance=Cs.createInstance;Xe.createInstance;Xe.dir;Xe.init;Xe.loadResources;Xe.reloadResources;Xe.use;Xe.changeLanguage;Xe.getFixedT;Xe.t;Xe.exists;Xe.setDefaultNamespace;Xe.hasLoadedNamespace;Xe.loadNamespaces;Xe.loadLanguages;var Wg=[],Eb=Wg.forEach,Cb=Wg.slice;function Rb(e){return Eb.call(Cb.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Dh=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,xb=function(t,n,r){var o=r||{};o.path=o.path||"/";var i=encodeURIComponent(n),a="".concat(t,"=").concat(i);if(o.maxAge>0){var s=o.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(s))}if(o.domain){if(!Dh.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(o.domain)}if(o.path){if(!Dh.test(o.path))throw new TypeError("option path is invalid");a+="; Path=".concat(o.path)}if(o.expires){if(typeof o.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(a+="; HttpOnly"),o.secure&&(a+="; Secure"),o.sameSite){var l=typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},Mh={create:function(t,n,r,o){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+r*60*1e3)),o&&(i.domain=o),document.cookie=xb(t,encodeURIComponent(n),i)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),o=0;o-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=r.substring(1),i=o.split("&"),a=0;a0){var l=i[a].substring(0,s);l===t.lookupQuerystring&&(n=i[a].substring(s+1))}}}return n}},qo=null,$h=function(){if(qo!==null)return qo;try{qo=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{qo=!1}return qo},Tb={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&$h()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&$h()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Go=null,Uh=function(){if(Go!==null)return Go;try{Go=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Go=!1}return Go},Pb={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Uh()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Uh()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Nb={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},Lb={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Ab={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},Ib={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function Db(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Hg=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Rb(r,this.options||{},Db()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(kb),this.addDetector(Ob),this.addDetector(Tb),this.addDetector(Pb),this.addDetector(Nb),this.addDetector(Lb),this.addDetector(Ab),this.addDetector(Ib)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var o=[];return n.forEach(function(i){if(r.detectors[i]){var a=r.detectors[i].lookup(r.options);a&&typeof a=="string"&&(a=[a]),a&&(o=o.concat(a))}}),this.services.languageUtils.getBestMatchFromCodes?o:o.length>0?o[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var o=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(i){o.detectors[i]&&o.detectors[i].cacheUserLanguage(n,o.options)}))}}]),e}();Hg.type="languageDetector";function Mb(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],o=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var a=function(l,u){var c=t.services.backendConnector.state["".concat(l,"|").concat(u)];return c===-1||c===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!o||a(i,e)))}function Ub(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return bc("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(i,a){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!a(i.isLanguageChangingTo,e))return!1}}):$b(e,t,n)}var Fb=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,jb={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},zb=function(t){return jb[t]},Bb=function(t){return t.replace(Fb,zb)};function zh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bh(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};Ec=Bh(Bh({},Ec),e)}function Wb(){return Ec}var Kg;function Hb(e){Kg=e}function Kb(){return Kg}var Qb={type:"3rdParty",init:function(t){Vb(t.options.react),Hb(t)}},qb=w.createContext(),Gb=function(){function e(){Dt(this,e),this.usedNamespaces={}}return Mt(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(o){r.usedNamespaces[o]||(r.usedNamespaces[o]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function Yb(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(c){u=!0,o=c}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}function Xb(e,t){return Ug(e)||Yb(e,t)||Fg(e,t)||jg()}function Vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function bu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=w.useContext(qb)||{},o=r.i18n,i=r.defaultNS,a=n||o||Kb();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Gb),!a){bc("You will need to pass in an i18next instance by using initReactI18next");var s=function(W){return Array.isArray(W)?W[W.length-1]:W},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&bc("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=bu(bu(bu({},Wb()),a.options.react),t),c=u.useSuspense,f=u.keyPrefix,p=e||i||a.options&&a.options.defaultNS;p=typeof p=="string"?[p]:p||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(p);var v=(a.isInitialized||a.initializedStoreOnce)&&p.every(function(N){return Ub(N,a,u)});function g(){return a.getFixedT(null,u.nsMode==="fallback"?p:p[0],f)}var y=w.useState(g),S=Xb(y,2),h=S[0],d=S[1],m=p.join(),_=Jb(m),x=w.useRef(!0);w.useEffect(function(){var N=u.bindI18n,W=u.bindI18nStore;x.current=!0,!v&&!c&&jh(a,p,function(){x.current&&d(g)}),v&&_&&_!==m&&x.current&&d(g);function M(){x.current&&d(g)}return N&&a&&a.on(N,M),W&&a&&a.store.on(W,M),function(){x.current=!1,N&&a&&N.split(" ").forEach(function(ee){return a.off(ee,M)}),W&&a&&W.split(" ").forEach(function(ee){return a.store.off(ee,M)})}},[a,m]);var C=w.useRef(!0);w.useEffect(function(){x.current&&!C.current&&d(g),C.current=!1},[a,f]);var T=[h,a,v];if(T.t=h,T.i18n=a,T.ready=v,v||!v&&!c)return T;throw new Promise(function(N){jh(a,p,function(){N()})})}const Zb={type:"backend",read:(e,t,n)=>{let r;switch(e){case"zh":case"zh-CN":r=_n(()=>import("./zh-972d6106.js"),[],import.meta.url);break;case"en":default:r=_n(()=>import("./en-0b55644c.js"),[],import.meta.url);break}r?r.then(o=>n(null,o.data),o=>n(o,null)):n(new Error(`unable to load translation file for language ${e}`),null)}};Xe.use(Qb).use(Hg).use(Zb).init({debug:!1,fallbackLng:"en",interpolation:{escapeValue:!1}});const eE=""+new URL("inter-latin-400-normal-0364d368.woff2",import.meta.url).href,tE=""+new URL("inter-latin-800-normal-a51ac27d.woff2",import.meta.url).href,nE=""+new URL("roboto-mono-latin-400-normal-7295944e.woff2",import.meta.url).href;var go={},rE={get exports(){return go},set exports(e){go=e}},wt={},Cc={},oE={get exports(){return Cc},set exports(e){Cc=e}},Qg={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function t(P,H){var $=P.length;P.push(H);e:for(;0<$;){var U=$-1>>>1,E=P[U];if(0>>1;Uo(J,$))Fo(z,J)?(P[U]=z,P[F]=$,U=F):(P[U]=J,P[A]=$,U=A);else if(Fo(z,$))P[U]=z,P[F]=$,U=F;else break e}}return H}function o(P,H){var $=P.sortIndex-H.sortIndex;return $!==0?$:P.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,p=3,v=!1,g=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(P){for(var H=n(u);H!==null;){if(H.callback===null)r(u);else if(H.startTime<=P)r(u),H.sortIndex=H.expirationTime,t(l,H);else break;H=n(u)}}function _(P){if(y=!1,m(P),!g)if(n(l)!==null)g=!0,X(x);else{var H=n(u);H!==null&&O(_,H.startTime-P)}}function x(P,H){g=!1,y&&(y=!1,h(N),N=-1),v=!0;var $=p;try{for(m(H),f=n(l);f!==null&&(!(f.expirationTime>H)||P&&!ee());){var U=f.callback;if(typeof U=="function"){f.callback=null,p=f.priorityLevel;var E=U(f.expirationTime<=H);H=e.unstable_now(),typeof E=="function"?f.callback=E:f===n(l)&&r(l),m(H)}else r(l);f=n(l)}if(f!==null)var L=!0;else{var A=n(u);A!==null&&O(_,A.startTime-H),L=!1}return L}finally{f=null,p=$,v=!1}}var C=!1,T=null,N=-1,W=5,M=-1;function ee(){return!(e.unstable_now()-MP||125U?(P.sortIndex=$,t(u,P),n(l)===null&&P===n(u)&&(y?(h(N),N=-1):y=!0,O(_,$-U))):(P.sortIndex=E,t(l,P),g||v||(g=!0,X(x))),P},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(P){var H=p;return function(){var $=p;p=H;try{return P.apply(this,arguments)}finally{p=$}}}})(Qg);(function(e){e.exports=Qg})(oE);/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qg=w,mt=Cc;function D(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rc=Object.prototype.hasOwnProperty,iE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Wh={},Hh={};function aE(e){return Rc.call(Hh,e)?!0:Rc.call(Wh,e)?!1:iE.test(e)?Hh[e]=!0:(Wh[e]=!0,!1)}function sE(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function lE(e,t,n,r){if(t===null||typeof t>"u"||sE(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function nt(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var We={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){We[e]=new nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];We[t]=new nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){We[e]=new nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){We[e]=new nt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){We[e]=new nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){We[e]=new nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){We[e]=new nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){We[e]=new nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){We[e]=new nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var hd=/[\-:]([a-z])/g;function vd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(hd,vd);We[t]=new nt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(hd,vd);We[t]=new nt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(hd,vd);We[t]=new nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){We[e]=new nt(e,1,!1,e.toLowerCase(),null,!1,!1)});We.xlinkHref=new nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){We[e]=new nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function md(e,t,n,r){var o=We.hasOwnProperty(t)?We[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` +`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Cu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ui(e):""}function uE(e){switch(e.tag){case 5:return ui(e.type);case 16:return ui("Lazy");case 13:return ui("Suspense");case 19:return ui("SuspenseList");case 0:case 2:case 15:return e=Ru(e.type,!1),e;case 11:return e=Ru(e.type.render,!1),e;case 1:return e=Ru(e.type,!0),e;default:return""}}function Tc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qr:return"Fragment";case Qr:return"Portal";case xc:return"Profiler";case gd:return"StrictMode";case kc:return"Suspense";case Oc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xg:return(e.displayName||"Context")+".Consumer";case Yg:return(e._context.displayName||"Context")+".Provider";case yd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wd:return t=e.displayName||null,t!==null?t:Tc(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return Tc(e(t))}catch{}}return null}function cE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tc(t);case 8:return t===gd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fE(e){var t=Zg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Aa(e){e._valueTracker||(e._valueTracker=fE(e))}function ey(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Pc(e,t){var n=t.checked;return Pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ty(e,t){t=t.checked,t!=null&&md(e,"checked",t,!1)}function Nc(e,t){ty(e,t);var n=rr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Lc(e,t.type,rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Lc(e,t,n){(t!=="number"||Rs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ci=Array.isArray;function lo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ia.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ai(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var gi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},dE=["Webkit","ms","Moz","O"];Object.keys(gi).forEach(function(e){dE.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),gi[t]=gi[e]})});function iy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||gi.hasOwnProperty(e)&&gi[e]?(""+t).trim():t+"px"}function ay(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=iy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var pE=Pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Dc(e,t){if(t){if(pE[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function Mc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $c=null;function Sd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Uc=null,uo=null,co=null;function Xh(e){if(e=fa(e)){if(typeof Uc!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Cl(t),Uc(e.stateNode,e.type,t))}}function sy(e){uo?co?co.push(e):co=[e]:uo=e}function ly(){if(uo){var e=uo,t=co;if(co=uo=null,Xh(e),t)for(e=0;e>>=0,e===0?32:31-(CE(e)/RE|0)|0}var Da=64,Ma=4194304;function fi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ts(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=fi(s):(i&=a,i!==0&&(r=fi(i)))}else a=n&~o,a!==0?r=fi(a):i!==0&&(r=fi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ua(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qt(t),e[t]=n}function TE(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wi),av=String.fromCharCode(32),sv=!1;function Oy(e,t){switch(e){case"keyup":return rC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ty(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function iC(e,t){switch(e){case"compositionend":return Ty(t);case"keypress":return t.which!==32?null:(sv=!0,av);case"textInput":return e=t.data,e===av&&sv?null:e;default:return null}}function aC(e,t){if(Gr)return e==="compositionend"||!Od&&Oy(e,t)?(e=xy(),ls=Rd=jn=null,Gr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=fv(n)}}function Ay(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ay(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Iy(){for(var e=window,t=Rs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rs(e.document)}return t}function Td(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function vC(e){var t=Iy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ay(n.ownerDocument.documentElement,n)){if(r!==null&&Td(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=dv(n,i);var a=dv(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Yr=null,Wc=null,_i=null,Hc=!1;function pv(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hc||Yr==null||Yr!==Rs(r)||(r=Yr,"selectionStart"in r&&Td(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),_i&&Fi(_i,r)||(_i=r,r=Ls(Wc,"onSelect"),0Zr||(e.current=Xc[Zr],Xc[Zr]=null,Zr--)}function _e(e,t){Zr++,Xc[Zr]=e.current,e.current=t}var or={},Ye=lr(or),st=lr(!1),Rr=or;function wo(e,t){var n=e.type.contextTypes;if(!n)return or;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function lt(e){return e=e.childContextTypes,e!=null}function Is(){Ee(st),Ee(Ye)}function Sv(e,t,n){if(Ye.current!==or)throw Error(D(168));_e(Ye,t),_e(st,n)}function Vy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(D(108,cE(e)||"Unknown",o));return Pe({},n,r)}function Ds(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,Rr=Ye.current,_e(Ye,e),_e(st,st.current),!0}function _v(e,t,n){var r=e.stateNode;if(!r)throw Error(D(169));n?(e=Vy(e,t,Rr),r.__reactInternalMemoizedMergedChildContext=e,Ee(st),Ee(Ye),_e(Ye,e)):Ee(st),_e(st,n)}var mn=null,Rl=!1,Fu=!1;function Wy(e){mn===null?mn=[e]:mn.push(e)}function kC(e){Rl=!0,Wy(e)}function ur(){if(!Fu&&mn!==null){Fu=!0;var e=0,t=ve;try{var n=mn;for(ve=1;e>=a,o-=a,gn=1<<32-qt(t)+o|n<N?(W=T,T=null):W=T.sibling;var M=p(h,T,m[N],_);if(M===null){T===null&&(T=W);break}e&&T&&M.alternate===null&&t(h,T),d=i(M,d,N),C===null?x=M:C.sibling=M,C=M,T=W}if(N===m.length)return n(h,T),Re&&pr(h,N),x;if(T===null){for(;NN?(W=T,T=null):W=T.sibling;var ee=p(h,T,M.value,_);if(ee===null){T===null&&(T=W);break}e&&T&&ee.alternate===null&&t(h,T),d=i(ee,d,N),C===null?x=ee:C.sibling=ee,C=ee,T=W}if(M.done)return n(h,T),Re&&pr(h,N),x;if(T===null){for(;!M.done;N++,M=m.next())M=f(h,M.value,_),M!==null&&(d=i(M,d,N),C===null?x=M:C.sibling=M,C=M);return Re&&pr(h,N),x}for(T=r(h,T);!M.done;N++,M=m.next())M=v(T,h,N,M.value,_),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?N:M.key),d=i(M,d,N),C===null?x=M:C.sibling=M,C=M);return e&&T.forEach(function(pe){return t(h,pe)}),Re&&pr(h,N),x}function S(h,d,m,_){if(typeof m=="object"&&m!==null&&m.type===qr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case La:e:{for(var x=m.key,C=d;C!==null;){if(C.key===x){if(x=m.type,x===qr){if(C.tag===7){n(h,C.sibling),d=o(C,m.props.children),d.return=h,h=d;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===An&&Ov(x)===C.type){n(h,C.sibling),d=o(C,m.props),d.ref=ti(h,C,m),d.return=h,h=d;break e}n(h,C);break}else t(h,C);C=C.sibling}m.type===qr?(d=Er(m.props.children,h.mode,_,m.key),d.return=h,h=d):(_=ms(m.type,m.key,m.props,null,h.mode,_),_.ref=ti(h,d,m),_.return=h,h=_)}return a(h);case Qr:e:{for(C=m.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=o(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Qu(m,h.mode,_),d.return=h,h=d}return a(h);case An:return C=m._init,S(h,d,C(m._payload),_)}if(ci(m))return g(h,d,m,_);if(Yo(m))return y(h,d,m,_);Va(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=o(d,m),d.return=h,h=d):(n(h,d),d=Ku(m,h.mode,_),d.return=h,h=d),a(h)):n(h,d)}return S}var _o=Jy(!0),Zy=Jy(!1),da={},ln=lr(da),Vi=lr(da),Wi=lr(da);function Sr(e){if(e===da)throw Error(D(174));return e}function Ud(e,t){switch(_e(Wi,t),_e(Vi,e),_e(ln,da),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ic(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ic(t,e)}Ee(ln),_e(ln,t)}function bo(){Ee(ln),Ee(Vi),Ee(Wi)}function e0(e){Sr(Wi.current);var t=Sr(ln.current),n=Ic(t,e.type);t!==n&&(_e(Vi,e),_e(ln,n))}function Fd(e){Vi.current===e&&(Ee(ln),Ee(Vi))}var Oe=lr(0);function zs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ju=[];function jd(){for(var e=0;en?n:4,e(!0);var r=zu.transition;zu.transition={};try{e(!1),t()}finally{ve=n,zu.transition=r}}function m0(){return It().memoizedState}function NC(e,t,n){var r=Jn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},g0(e))y0(t,n);else if(n=qy(e,t,n,r),n!==null){var o=et();Gt(n,e,r,o),w0(n,t,r)}}function LC(e,t,n){var r=Jn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(g0(e))y0(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Xt(s,a)){var l=t.interleaved;l===null?(o.next=o,Md(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=qy(e,t,o,r),n!==null&&(o=et(),Gt(n,e,r,o),w0(n,t,r))}}function g0(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function y0(e,t){bi=Bs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function w0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bd(e,n)}}var Vs={readContext:At,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useInsertionEffect:He,useLayoutEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useMutableSource:He,useSyncExternalStore:He,useId:He,unstable_isNewReconciler:!1},AC={readContext:At,useCallback:function(e,t){return nn().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:Pv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ds(4194308,4,f0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){return ds(4,2,e,t)},useMemo:function(e,t){var n=nn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=NC.bind(null,Te,e),[r.memoizedState,e]},useRef:function(e){var t=nn();return e={current:e},t.memoizedState=e},useState:Tv,useDebugValue:Hd,useDeferredValue:function(e){return nn().memoizedState=e},useTransition:function(){var e=Tv(!1),t=e[0];return e=PC.bind(null,e[1]),nn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Te,o=nn();if(Re){if(n===void 0)throw Error(D(407));n=n()}else{if(n=t(),je===null)throw Error(D(349));kr&30||r0(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Pv(i0.bind(null,r,i,e),[e]),r.flags|=2048,Qi(9,o0.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=nn(),t=je.identifierPrefix;if(Re){var n=yn,r=gn;n=(r&~(1<<32-qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[on]=t,e[Bi]=r,O0(e,t,!1,!1),t.stateNode=e;e:{switch(a=Mc(n,r),n){case"dialog":be("cancel",e),be("close",e),o=r;break;case"iframe":case"object":case"embed":be("load",e),o=r;break;case"video":case"audio":for(o=0;oCo&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304)}else{if(!r)if(e=zs(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ni(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Re)return Ke(t),null}else 2*Ae()-i.renderingStartTime>Co&&n!==1073741824&&(t.flags|=128,r=!0,ni(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ae(),t.sibling=null,n=Oe.current,_e(Oe,r?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return Xd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?pt&1073741824&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function zC(e,t){switch(Nd(t),t.tag){case 1:return lt(t.type)&&Is(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),Ee(st),Ee(Ye),jd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fd(t),null;case 13:if(Ee(Oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));So()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ee(Oe),null;case 4:return bo(),null;case 10:return Dd(t.type._context),null;case 22:case 23:return Xd(),null;case 24:return null;default:return null}}var Ha=!1,qe=!1,BC=typeof WeakSet=="function"?WeakSet:Set,Q=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ne(e,t,r)}else n.current=null}function cf(e,t,n){try{n()}catch(r){Ne(e,t,r)}}var Fv=!1;function VC(e,t){if(Kc=Ps,e=Iy(),Td(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var v;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(v=f.firstChild)!==null;)p=f,f=v;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(v=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qc={focusedElem:e,selectionRange:n},Ps=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,S=g.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?y:zt(t.type,y),S);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(_){Ne(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return g=Fv,Fv=!1,g}function Ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&cf(t,n,i)}o=o.next}while(o!==r)}}function Ol(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ff(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function N0(e){var t=e.alternate;t!==null&&(e.alternate=null,N0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[on],delete t[Bi],delete t[Yc],delete t[RC],delete t[xC])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function L0(e){return e.tag===5||e.tag===3||e.tag===4}function jv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||L0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function df(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=As));else if(r!==4&&(e=e.child,e!==null))for(df(e,t,n),e=e.sibling;e!==null;)df(e,t,n),e=e.sibling}function pf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pf(e,t,n),e=e.sibling;e!==null;)pf(e,t,n),e=e.sibling}var Be=null,Wt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)A0(e,t,n),n=n.sibling}function A0(e,t,n){if(sn&&typeof sn.onCommitFiberUnmount=="function")try{sn.onCommitFiberUnmount(Sl,n)}catch{}switch(n.tag){case 5:qe||ro(n,t);case 6:var r=Be,o=Wt;Be=null,Pn(e,t,n),Be=r,Wt=o,Be!==null&&(Wt?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Wt?(e=Be,n=n.stateNode,e.nodeType===8?Uu(e.parentNode,n):e.nodeType===1&&Uu(e,n),$i(e)):Uu(Be,n.stateNode));break;case 4:r=Be,o=Wt,Be=n.stateNode.containerInfo,Wt=!0,Pn(e,t,n),Be=r,Wt=o;break;case 0:case 11:case 14:case 15:if(!qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&cf(n,t,a),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!qe&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ne(n,t,s)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(qe=(r=qe)||n.memoizedState!==null,Pn(e,t,n),qe=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function zv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new BC),t.forEach(function(r){var o=JC.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=Ae()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*HC(r/1960))-r,10e?16:e,zn===null)var r=!1;else{if(e=zn,zn=null,Ks=0,fe&6)throw Error(D(331));var o=fe;for(fe|=4,Q=e.current;Q!==null;){var i=Q,a=i.child;if(Q.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lAe()-Gd?br(e,0):qd|=n),ut(e,t)}function z0(e,t){t===0&&(e.mode&1?(t=Ma,Ma<<=1,!(Ma&130023424)&&(Ma=4194304)):t=1);var n=et();e=Cn(e,t),e!==null&&(ua(e,t,n),ut(e,n))}function XC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),z0(e,n)}function JC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(D(314))}r!==null&&r.delete(t),z0(e,n)}var B0;B0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)at=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return at=!1,FC(e,t,n);at=!!(e.flags&131072)}else at=!1,Re&&t.flags&1048576&&Hy(t,$s,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ps(e,t),e=t.pendingProps;var o=wo(t,Ye.current);po(t,n),o=Bd(null,t,r,e,o,n);var i=Vd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,lt(r)?(i=!0,Ds(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$d(t),o.updater=xl,t.stateNode=o,o._reactInternals=t,nf(t,r,e,n),t=af(null,t,r,!0,i,n)):(t.tag=0,Re&&i&&Pd(t),Ze(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ps(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=eR(r),e=zt(r,e),o){case 0:t=of(null,t,r,e,n);break e;case 1:t=Mv(null,t,r,e,n);break e;case 11:t=Iv(null,t,r,e,n);break e;case 14:t=Dv(null,t,r,zt(r.type,e),n);break e}throw Error(D(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),of(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),Mv(e,t,r,o,n);case 3:e:{if(R0(t),e===null)throw Error(D(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Gy(e,t),js(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Eo(Error(D(423)),t),t=$v(e,t,r,n,o);break e}else if(r!==o){o=Eo(Error(D(424)),t),t=$v(e,t,r,n,o);break e}else for(ht=Gn(t.stateNode.containerInfo.firstChild),vt=t,Re=!0,Ht=null,n=Zy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(So(),r===o){t=Rn(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return e0(t),e===null&&Zc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,qc(r,o)?a=null:i!==null&&qc(r,i)&&(t.flags|=32),C0(e,t),Ze(e,t,a,n),t.child;case 6:return e===null&&Zc(t),null;case 13:return x0(e,t,n);case 4:return Ud(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_o(t,null,r,n):Ze(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),Iv(e,t,r,o,n);case 7:return Ze(e,t,t.pendingProps,n),t.child;case 8:return Ze(e,t,t.pendingProps.children,n),t.child;case 12:return Ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,_e(Us,r._currentValue),r._currentValue=a,i!==null)if(Xt(i.value,a)){if(i.children===o.children&&!st.current){t=Rn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Sn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ef(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(D(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),ef(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ze(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,po(t,n),o=At(o),r=r(o),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,o=zt(r,t.pendingProps),o=zt(r.type,o),Dv(e,t,r,o,n);case 15:return b0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:zt(r,o),ps(e,t),t.tag=1,lt(r)?(e=!0,Ds(t)):e=!1,po(t,n),Xy(t,r,o),nf(t,r,o,n),af(null,t,r,!0,e,n);case 19:return k0(e,t,n);case 22:return E0(e,t,n)}throw Error(D(156,t.tag))};function V0(e,t){return vy(e,t)}function ZC(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,n,r){return new ZC(e,t,n,r)}function Zd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eR(e){if(typeof e=="function")return Zd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yd)return 11;if(e===wd)return 14}return 2}function Zn(e,t){var n=e.alternate;return n===null?(n=Tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ms(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Zd(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case qr:return Er(n.children,o,i,t);case gd:a=8,o|=8;break;case xc:return e=Tt(12,n,t,o|2),e.elementType=xc,e.lanes=i,e;case kc:return e=Tt(13,n,t,o),e.elementType=kc,e.lanes=i,e;case Oc:return e=Tt(19,n,t,o),e.elementType=Oc,e.lanes=i,e;case Jg:return Pl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yg:a=10;break e;case Xg:a=9;break e;case yd:a=11;break e;case wd:a=14;break e;case An:a=16,r=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Tt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Er(e,t,n,r){return e=Tt(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=Tt(22,e,r,t),e.elementType=Jg,e.lanes=n,e.stateNode={isHidden:!1},e}function Ku(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function Qu(e,t,n){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tR(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ku(0),this.expirationTimes=ku(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ku(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ep(e,t,n,r,o,i,a,s,l){return e=new tR(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Tt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$d(i),e}function nR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=wt})(rE);const sR=ld(go);var Q0,Gv=go;Q0=Gv.createRoot,Gv.hydrateRoot;var Gs={},lR={get exports(){return Gs},set exports(e){Gs=e}},Pr={},ge={},uR={get exports(){return ge},set exports(e){ge=e}},cR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fR=cR,dR=fR;function q0(){}function G0(){}G0.resetWarningCache=q0;var pR=function(){function e(r,o,i,a,s,l){if(l!==dR){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:G0,resetWarningCache:q0};return n.PropTypes=n,n};uR.exports=pR();var Ys={},hR={get exports(){return Ys},set exports(e){Ys=e}},Jt={},Gi={},vR={get exports(){return Gi},set exports(e){Gi=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;/*! + * Adapted from jQuery UI core + * + * http://jqueryui.com + * + * Copyright 2014 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://api.jqueryui.com/category/ui-core/ + */var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(f,p){return p.getPropertyValue("overflow")!=="visible"||f.scrollWidth<=0&&f.scrollHeight<=0}function a(f){var p=f.offsetWidth<=0&&f.offsetHeight<=0;if(p&&!f.innerHTML)return!0;try{var v=window.getComputedStyle(f),g=v.getPropertyValue("display");return p?g!==r&&i(f,v):g===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(f){for(var p=f,v=f.getRootNode&&f.getRootNode();p&&p!==document.body;){if(v&&p===v&&(p=v.host.parentNode),a(p))return!1;p=p.parentNode}return!0}function l(f,p){var v=f.nodeName.toLowerCase(),g=o.test(v)&&!f.disabled||v==="a"&&f.href||p;return g&&s(f)}function u(f){var p=f.getAttribute("tabindex");p===null&&(p=void 0);var v=isNaN(p);return(v||p>=0)&&l(f,!v)}function c(f){var p=[].slice.call(f.querySelectorAll("*"),0).reduce(function(v,g){return v.concat(g.shadowRoot?c(g.shadowRoot):[g])},[]);return p.filter(u)}e.exports=t.default})(vR,Gi);Object.defineProperty(Jt,"__esModule",{value:!0});Jt.resetState=wR;Jt.log=SR;Jt.handleBlur=Yi;Jt.handleFocus=Xi;Jt.markForFocusLater=_R;Jt.returnFocus=bR;Jt.popWithoutFocus=ER;Jt.setupScopedFocus=CR;Jt.teardownScopedFocus=RR;var mR=Gi,gR=yR(mR);function yR(e){return e&&e.__esModule?e:{default:e}}var Ro=[],io=null,yf=!1;function wR(){Ro=[]}function SR(){}function Yi(){yf=!0}function Xi(){if(yf){if(yf=!1,!io)return;setTimeout(function(){if(!io.contains(document.activeElement)){var e=(0,gR.default)(io)[0]||io;e.focus()}},0)}}function _R(){Ro.push(document.activeElement)}function bR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Ro.length!==0&&(t=Ro.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function ER(){Ro.length>0&&Ro.pop()}function CR(e){io=e,window.addEventListener?(window.addEventListener("blur",Yi,!1),document.addEventListener("focus",Xi,!0)):(window.attachEvent("onBlur",Yi),document.attachEvent("onFocus",Xi))}function RR(){io=null,window.addEventListener?(window.removeEventListener("blur",Yi),document.removeEventListener("focus",Xi)):(window.detachEvent("onBlur",Yi),document.detachEvent("onFocus",Xi))}var Xs={},xR={get exports(){return Xs},set exports(e){Xs=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=Gi,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?i(s.activeElement.shadowRoot):s.activeElement}function a(s,l){var u=(0,r.default)(s);if(!u.length){l.preventDefault();return}var c=void 0,f=l.shiftKey,p=u[0],v=u[u.length-1],g=i();if(s===g){if(!f)return;c=v}if(v===g&&!f&&(c=p),p===g&&f&&(c=v),c){l.preventDefault(),c.focus();return}var y=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),S=y!=null&&y[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(S){var h=u.indexOf(g);if(h>-1&&(h+=f?-1:1),c=u[h],typeof c>"u"){l.preventDefault(),c=f?v:p,c.focus();return}l.preventDefault(),c.focus()}}e.exports=t.default})(xR,Xs);var Zt={},kR=function(){},OR=kR,Yt={},wf={},TR={get exports(){return wf},set exports(e){wf=e}};/*! + Copyright (c) 2015 Jed Watson. + Based on code that is Copyright 2013-2015, Facebook, Inc. + All rights reserved. +*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(TR);Object.defineProperty(Yt,"__esModule",{value:!0});Yt.canUseDOM=Yt.SafeNodeList=Yt.SafeHTMLCollection=void 0;var PR=wf,NR=LR(PR);function LR(e){return e&&e.__esModule?e:{default:e}}var Dl=NR.default,AR=Dl.canUseDOM?window.HTMLElement:{};Yt.SafeHTMLCollection=Dl.canUseDOM?window.HTMLCollection:{};Yt.SafeNodeList=Dl.canUseDOM?window.NodeList:{};Yt.canUseDOM=Dl.canUseDOM;Yt.default=AR;Object.defineProperty(Zt,"__esModule",{value:!0});Zt.resetState=UR;Zt.log=FR;Zt.assertNodeList=Y0;Zt.setElement=jR;Zt.validateElement=op;Zt.hide=zR;Zt.show=BR;Zt.documentNotReadyOrSSRTesting=VR;var IR=OR,DR=$R(IR),MR=Yt;function $R(e){return e&&e.__esModule?e:{default:e}}var xt=null;function UR(){xt&&(xt.removeAttribute?xt.removeAttribute("aria-hidden"):xt.length!=null?xt.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(xt).forEach(function(e){return e.removeAttribute("aria-hidden")})),xt=null}function FR(){}function Y0(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function jR(e){var t=e;if(typeof t=="string"&&MR.canUseDOM){var n=document.querySelectorAll(t);Y0(n,t),t=n}return xt=t||xt,xt}function op(e){var t=e||xt;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,DR.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function zR(e){var t=!0,n=!1,r=void 0;try{for(var o=op(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function BR(e){var t=!0,n=!1,r=void 0;try{for(var o=op(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function VR(){xt=null}var $o={};Object.defineProperty($o,"__esModule",{value:!0});$o.resetState=WR;$o.log=HR;var xi={},ki={};function Yv(e,t){e.classList.remove(t)}function WR(){var e=document.getElementsByTagName("html")[0];for(var t in xi)Yv(e,xi[t]);var n=document.body;for(var r in ki)Yv(n,ki[r]);xi={},ki={}}function HR(){}var KR=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},QR=function(t,n){return t[n]&&(t[n]-=1),n},qR=function(t,n,r){r.forEach(function(o){KR(n,o),t.add(o)})},GR=function(t,n,r){r.forEach(function(o){QR(n,o),n[o]===0&&t.remove(o)})};$o.add=function(t,n){return qR(t.classList,t.nodeName.toLowerCase()=="html"?xi:ki,n.split(" "))};$o.remove=function(t,n){return GR(t.classList,t.nodeName.toLowerCase()=="html"?xi:ki,n.split(" "))};var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.log=XR;Uo.resetState=JR;function YR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var X0=function e(){var t=this;YR(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Js=new X0;function XR(){console.log("portalOpenInstances ----------"),console.log(Js.openInstances.length),Js.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function JR(){Js=new X0}Uo.default=Js;var ip={};Object.defineProperty(ip,"__esModule",{value:!0});ip.resetState=n2;ip.log=r2;var ZR=Uo,e2=t2(ZR);function t2(e){return e&&e.__esModule?e:{default:e}}var Qe=void 0,Bt=void 0,Cr=[];function n2(){for(var e=[Qe,Bt],t=0;t0?(document.body.firstChild!==Qe&&document.body.insertBefore(Qe,document.body.firstChild),document.body.lastChild!==Bt&&document.body.appendChild(Bt)):(Qe.parentElement&&Qe.parentElement.removeChild(Qe),Bt.parentElement&&Bt.parentElement.removeChild(Bt))}e2.default.subscribe(o2);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(K){for(var j=1;j0&&(pe-=1,pe===0&&v.show(H)),O.props.shouldFocusAfterRender&&(O.props.shouldReturnFocusAfterClose?(u.returnFocus(O.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),O.props.onAfterClose&&O.props.onAfterClose(),m.default.deregister(O)},O.open=function(){O.beforeOpen(),O.state.afterOpen&&O.state.beforeClose?(clearTimeout(O.closeTimer),O.setState({beforeClose:!1})):(O.props.shouldFocusAfterRender&&(u.setupScopedFocus(O.node),u.markForFocusLater()),O.setState({isOpen:!0},function(){O.openAnimationFrame=requestAnimationFrame(function(){O.setState({afterOpen:!0}),O.props.isOpen&&O.props.onAfterOpen&&O.props.onAfterOpen({overlayEl:O.overlay,contentEl:O.content})})}))},O.close=function(){O.props.closeTimeoutMS>0?O.closeWithTimeout():O.closeWithoutTimeout()},O.focusContent=function(){return O.content&&!O.contentHasFocus()&&O.content.focus({preventScroll:!0})},O.closeWithTimeout=function(){var P=Date.now()+O.props.closeTimeoutMS;O.setState({beforeClose:!0,closesAt:P},function(){O.closeTimer=setTimeout(O.closeWithoutTimeout,O.state.closesAt-Date.now())})},O.closeWithoutTimeout=function(){O.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},O.afterClose)},O.handleKeyDown=function(P){M(P)&&(0,f.default)(O.content,P),O.props.shouldCloseOnEsc&&ee(P)&&(P.stopPropagation(),O.requestClose(P))},O.handleOverlayOnClick=function(P){O.shouldClose===null&&(O.shouldClose=!0),O.shouldClose&&O.props.shouldCloseOnOverlayClick&&(O.ownerHandlesClose()?O.requestClose(P):O.focusContent()),O.shouldClose=null},O.handleContentOnMouseUp=function(){O.shouldClose=!1},O.handleOverlayOnMouseDown=function(P){!O.props.shouldCloseOnOverlayClick&&P.target==O.overlay&&P.preventDefault()},O.handleContentOnClick=function(){O.shouldClose=!1},O.handleContentOnMouseDown=function(){O.shouldClose=!1},O.requestClose=function(P){return O.ownerHandlesClose()&&O.props.onRequestClose(P)},O.ownerHandlesClose=function(){return O.props.onRequestClose},O.shouldBeClosed=function(){return!O.state.isOpen&&!O.state.beforeClose},O.contentHasFocus=function(){return document.activeElement===O.content||O.content.contains(document.activeElement)},O.buildClassName=function(P,H){var $=(typeof H>"u"?"undefined":r(H))==="object"?H:{base:W[P],afterOpen:W[P]+"--after-open",beforeClose:W[P]+"--before-close"},U=$.base;return O.state.afterOpen&&(U=U+" "+$.afterOpen),O.state.beforeClose&&(U=U+" "+$.beforeClose),typeof H=="string"&&H?U+" "+H:U},O.attributesFromObject=function(P,H){return Object.keys(H).reduce(function($,U){return $[P+"-"+U]=H[U],$},{})},O.state={afterOpen:!1,beforeClose:!1},O.shouldClose=null,O.moveFromContentToOverlay=null,O}return o(j,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(O,P){this.props.isOpen&&!O.isOpen?this.open():!this.props.isOpen&&O.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!P.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var O=this.props,P=O.appElement,H=O.ariaHideApp,$=O.htmlOpenClassName,U=O.bodyOpenClassName,E=O.parentSelector,L=E&&E().ownerDocument||document;U&&y.add(L.body,U),$&&y.add(L.getElementsByTagName("html")[0],$),H&&(pe+=1,v.hide(P)),m.default.register(this)}},{key:"render",value:function(){var O=this.props,P=O.id,H=O.className,$=O.overlayClassName,U=O.defaultStyles,E=O.children,L=H?{}:U.content,A=$?{}:U.overlay;if(this.shouldBeClosed())return null;var J={ref:this.setOverlayRef,className:this.buildClassName("overlay",$),style:n({},A,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},F=n({id:P,ref:this.setContentRef,style:n({},L,this.props.style.content),className:this.buildClassName("content",H),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),z=this.props.contentElement(F,E);return this.props.overlayElement(J,z)}}]),j}(i.Component);ue.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},ue.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(h.default),s.default.instanceOf(S.SafeHTMLCollection),s.default.instanceOf(S.SafeNodeList),s.default.arrayOf(s.default.instanceOf(h.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=ue,e.exports=t.default})(hR,Ys);function J0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Z0(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function e1(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}J0.__suppressDeprecationWarning=!0;Z0.__suppressDeprecationWarning=!0;e1.__suppressDeprecationWarning=!0;function i2(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,r=null,o=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),n!==null||r!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs. + +`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?` + `+n:"")+(r!==null?` + `+r:"")+(o!==null?` + `+o:"")+` + +The above lifecycles should be removed. Learn more about this warning here: +https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=J0,t.componentWillReceiveProps=Z0),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=e1;var s=t.componentDidUpdate;t.componentDidUpdate=function(u,c,f){var p=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;s.call(this,u,c,p)}}return e}const a2=Object.freeze(Object.defineProperty({__proto__:null,polyfill:i2},Symbol.toStringTag,{value:"Module"})),s2=S_(a2);Object.defineProperty(Pr,"__esModule",{value:!0});Pr.bodyOpenClassName=Pr.portalClassName=void 0;var Jv=Object.assign||function(e){for(var t=1;t{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Ji=typeof window>"u"||"Deno"in window;function Rt(){}function S2(e,t){return typeof e=="function"?e(t):e}function Sf(e){return typeof e=="number"&&e>=0&&e!==1/0}function r1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pi(e,t,n){return ma(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function mU(e,t,n){return ma(e)?typeof t=="function"?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:typeof e=="function"?{...t,mutationFn:e}:{...e}}function Dn(e,t,n){return ma(e)?[{...t,queryKey:e},n]:[e||{},t]}function om(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ma(a)){if(r){if(t.queryHash!==ap(a,t.options))return!1}else if(!tl(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o<"u"&&o!==t.state.fetchStatus||i&&!i(t))}function im(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(ma(i)){if(!t.options.mutationKey)return!1;if(n){if(_r(t.options.mutationKey)!==_r(i))return!1}else if(!tl(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function ap(e,t){return((t==null?void 0:t.queryKeyHashFn)||_r)(e)}function _r(e){return JSON.stringify(e,(t,n)=>_f(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function tl(e,t){return o1(e,t)}function o1(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!o1(e[n],t[n])):!1}function i1(e,t){if(e===t)return e;const n=sm(e)&&sm(t);if(n||_f(e)&&_f(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l"u")return!0;const n=t.prototype;return!(!lm(n)||!n.hasOwnProperty("isPrototypeOf"))}function lm(e){return Object.prototype.toString.call(e)==="[object Object]"}function ma(e){return Array.isArray(e)}function a1(e){return new Promise(t=>{setTimeout(t,e)})}function um(e){a1(0).then(e)}function _2(){if(typeof AbortController=="function")return new AbortController}function bf(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?i1(e,t):t}class b2 extends va{constructor(){super(),this.setup=t=>{if(!Ji&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const nl=new b2;class E2 extends va{constructor(){super(),this.setup=t=>{if(!Ji&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const rl=new E2;function C2(e){return Math.min(1e3*2**e,3e4)}function Ml(e){return(e??"online")==="online"?rl.isOnline():!0}class s1{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function gs(e){return e instanceof s1}function l1(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((S,h)=>{i=S,a=h}),l=S=>{r||(v(new s1(S)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},f=()=>!nl.isFocused()||e.networkMode!=="always"&&!rl.isOnline(),p=S=>{r||(r=!0,e.onSuccess==null||e.onSuccess(S),o==null||o(),i(S))},v=S=>{r||(r=!0,e.onError==null||e.onError(S),o==null||o(),a(S))},g=()=>new Promise(S=>{o=h=>{if(r||!f())return S(h)},e.onPause==null||e.onPause()}).then(()=>{o=void 0,r||e.onContinue==null||e.onContinue()}),y=()=>{if(r)return;let S;try{S=e.fn()}catch(h){S=Promise.reject(h)}Promise.resolve(S).then(p).catch(h=>{var d,m;if(r)return;const _=(d=e.retry)!=null?d:3,x=(m=e.retryDelay)!=null?m:C2,C=typeof x=="function"?x(n,h):x,T=_===!0||typeof _=="number"&&n<_||typeof _=="function"&&_(n,h);if(t||!T){v(h);return}n++,e.onFail==null||e.onFail(n,h),a1(C).then(()=>{if(f())return g()}).then(()=>{t?v(h):y()})})};return Ml(e.networkMode)?y():g().then(y),{promise:s,cancel:l,continue:()=>{o==null||o()},cancelRetry:u,continueRetry:c}}const sp=console;function R2(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const o=c=>{let f;t++;try{f=c()}finally{t--,t||s()}return f},i=c=>{t?e.push(c):um(()=>{n(c)})},a=c=>(...f)=>{i(()=>{c(...f)})},s=()=>{const c=e;e=[],c.length&&um(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Ie=R2();class u1{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Sf(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(Ji?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class x2 extends u1{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||sp,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||k2(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=bf(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(Rt).catch(Rt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!r1(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const v=this.observers.find(g=>g.options.queryFn);v&&this.setOptions(v.options)}Array.isArray(this.options.queryKey);const a=_2(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(l(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=c.fetchOptions)==null?void 0:o.meta)){var f;this.dispatch({type:"fetch",meta:(f=c.fetchOptions)==null?void 0:f.meta})}const p=v=>{if(gs(v)&&v.silent||this.dispatch({type:"error",error:v}),!gs(v)){var g,y;(g=(y=this.cache.config).onError)==null||g.call(y,v,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=l1({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:v=>{var g,y;if(typeof v>"u"){p(new Error("undefined"));return}this.setData(v),(g=(y=this.cache.config).onSuccess)==null||g.call(y,v,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:(v,g)=>{this.dispatch({type:"failed",failureCount:v,error:g})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var o,i;switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Ml(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return gs(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ie.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function k2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=typeof t<"u",r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}class c1 extends va{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var o;const i=n.queryKey,a=(o=n.queryHash)!=null?o:ap(i,n);let s=this.get(a);return s||(s=new x2({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Ie.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Dn(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(o=>om(r,o))}findAll(t,n){const[r]=Dn(t,n);return Object.keys(r).length>0?this.queries.filter(o=>om(r,o)):this.queries}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ie.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ie.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class O2 extends u1{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||sp,this.observers=[],this.state=t.state||T2(),this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var m;return this.retryer=l1({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(_,x)=>{this.dispatch({type:"failed",failureCount:_,error:x})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(m=this.options.retry)!=null?m:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,o,i,a,s,l;if(!n){var u,c,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await((u=(c=this.mutationCache.config).onMutate)==null?void 0:u.call(c,this.state.variables,this));const _=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));_!==this.state.context&&this.dispatch({type:"loading",context:_,variables:this.state.variables})}const m=await t();return await((r=(o=this.mutationCache.config).onSuccess)==null?void 0:r.call(o,m,this.state.variables,this.state.context,this)),await((i=(a=this.options).onSuccess)==null?void 0:i.call(a,m,this.state.variables,this.state.context)),await((s=(l=this.options).onSettled)==null?void 0:s.call(l,m,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:m}),m}catch(m){try{var v,g,y,S,h,d;throw await((v=(g=this.mutationCache.config).onError)==null?void 0:v.call(g,m,this.state.variables,this.state.context,this)),await((y=(S=this.options).onError)==null?void 0:y.call(S,m,this.state.variables,this.state.context)),await((h=(d=this.options).onSettled)==null?void 0:h.call(d,void 0,m,this.state.variables,this.state.context)),m}finally{this.dispatch({type:"error",error:m})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Ml(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ie.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function T2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class P2 extends va{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const o=new O2({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){Ie.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>im(t,n))}findAll(t){return this.mutations.filter(n=>im(t,n))}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Ie.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(Rt)),Promise.resolve()))}}function N2(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,i,a;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(o=r.meta)==null?void 0:o.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",f=(l==null?void 0:l.direction)==="backward",p=((i=e.state.data)==null?void 0:i.pages)||[],v=((a=e.state.data)==null?void 0:a.pageParams)||[];let g=v,y=!1;const S=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var T;if((T=e.signal)!=null&&T.aborted)y=!0;else{var N;(N=e.signal)==null||N.addEventListener("abort",()=>{y=!0})}return e.signal}})},h=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),d=(C,T,N,W)=>(g=W?[T,...g]:[...g,T],W?[N,...C]:[...C,N]),m=(C,T,N,W)=>{if(y)return Promise.reject("Cancelled");if(typeof N>"u"&&!T&&C.length)return Promise.resolve(C);const M={queryKey:e.queryKey,pageParam:N,meta:e.options.meta};S(M);const ee=h(M);return Promise.resolve(ee).then(ue=>d(C,N,ue,W))};let _;if(!p.length)_=m([]);else if(c){const C=typeof u<"u",T=C?u:cm(e.options,p);_=m(p,C,T)}else if(f){const C=typeof u<"u",T=C?u:L2(e.options,p);_=m(p,C,T,!0)}else{g=[];const C=typeof e.options.getNextPageParam>"u";_=(s&&p[0]?s(p[0],0,p):!0)?m([],C,v[0]):Promise.resolve(d([],v[0],p[0]));for(let N=1;N{if(s&&p[N]?s(p[N],N,p):!0){const ee=C?v[N]:cm(e.options,W);return m(W,C,ee)}return Promise.resolve(d(W,v[N],p[N]))})}return _.then(C=>({pages:C,pageParams:g}))}}}}function cm(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function L2(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class A2{constructor(t={}){this.queryCache=t.queryCache||new c1,this.mutationCache=t.mutationCache||new P2,this.logger=t.logger||sp,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=nl.subscribe(()=>{nl.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=rl.subscribe(()=>{rl.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,n;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(n=this.unsubscribeOnline)==null||n.call(this),this.unsubscribeOnline=void 0)}isFetching(t,n){const[r]=Dn(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}ensureQueryData(t,n,r){const o=pi(t,n,r),i=this.getQueryData(o.queryKey);return i?Promise.resolve(i):this.fetchQuery(o)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const o=r.data;return[n,o]})}setQueryData(t,n,r){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=S2(n,i);if(typeof a>"u")return;const s=pi(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Ie.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=Dn(t,n),o=this.queryCache;Ie.batch(()=>{o.findAll(r).forEach(i=>{o.remove(i)})})}resetQueries(t,n,r){const[o,i]=Dn(t,n,r),a=this.queryCache,s={type:"active",...o};return Ie.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,n,r){const[o,i={}]=Dn(t,n,r);typeof i.revert>"u"&&(i.revert=!0);const a=Ie.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(Rt).catch(Rt)}invalidateQueries(t,n,r){const[o,i]=Dn(t,n,r);return Ie.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(u=>{u.invalidate()}),o.refetchType==="none")return Promise.resolve();const l={...o,type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"};return this.refetchQueries(l,i)})}refetchQueries(t,n,r){const[o,i]=Dn(t,n,r),a=Ie.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var u;return l.fetch(void 0,{...i,cancelRefetch:(u=i==null?void 0:i.cancelRefetch)!=null?u:!0,meta:{refetchPage:o.refetchPage}})}));let s=Promise.all(a).then(Rt);return i!=null&&i.throwOnError||(s=s.catch(Rt)),s}fetchQuery(t,n,r){const o=pi(t,n,r),i=this.defaultQueryOptions(o);typeof i.retry>"u"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(Rt).catch(Rt)}fetchInfiniteQuery(t,n,r){const o=pi(t,n,r);return o.behavior=N2(),this.fetchQuery(o)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(Rt).catch(Rt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(o=>_r(t)===_r(o.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>tl(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(o=>_r(t)===_r(o.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>tl(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=ap(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class I2 extends va{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),fm(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Ef(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ef(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),am(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const i=this.hasListeners();i&&dm(this.currentQuery,o,this.options,r)&&this.executeFetch(),this.updateResult(n),i&&(this.currentQuery!==o||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();i&&(this.currentQuery!==o||this.options.enabled!==r.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Rt)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Ji||this.currentResult.isStale||!Sf(this.options.staleTime))return;const n=r1(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Ji||this.options.enabled===!1||!Sf(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||nl.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==r,u=l?t.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:p,error:v,errorUpdatedAt:g,fetchStatus:y,status:S}=f,h=!1,d=!1,m;if(n._optimisticResults){const N=this.hasListeners(),W=!N&&fm(t,n),M=N&&dm(t,r,n,o);(W||M)&&(y=Ml(t.options.networkMode)?"fetching":"paused",p||(S="loading")),n._optimisticResults==="isRestoring"&&(y="idle")}if(n.keepPreviousData&&!f.dataUpdatedAt&&c!=null&&c.isSuccess&&S!=="error")m=c.data,p=c.dataUpdatedAt,S=c.status,h=!0;else if(n.select&&typeof f.data<"u")if(i&&f.data===(a==null?void 0:a.data)&&n.select===this.selectFn)m=this.selectResult;else try{this.selectFn=n.select,m=n.select(f.data),m=bf(i==null?void 0:i.data,m,n),this.selectResult=m,this.selectError=null}catch(N){this.selectError=N}else m=f.data;if(typeof n.placeholderData<"u"&&typeof m>"u"&&S==="loading"){let N;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData))N=i.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof N<"u")try{N=n.select(N),this.selectError=null}catch(W){this.selectError=W}typeof N<"u"&&(S="success",m=bf(i==null?void 0:i.data,N,n),d=!0)}this.selectError&&(v=this.selectError,m=this.selectResult,g=Date.now(),S="error");const _=y==="fetching",x=S==="loading",C=S==="error";return{status:S,fetchStatus:y,isLoading:x,isSuccess:S==="success",isError:C,isInitialLoading:x&&_,data:m,dataUpdatedAt:p,error:v,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:_,isRefetching:_&&!x,isLoadingError:C&&f.dataUpdatedAt===0,isPaused:y==="paused",isPlaceholderData:d,isPreviousData:h,isRefetchError:C&&f.dataUpdatedAt!==0,isStale:lp(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,am(r,n))return;this.currentResult=r;const o={cache:!0},i=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options;if(a==="all"||!a&&!this.trackedProps.size)return!0;const s=new Set(a??this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(l=>{const u=l;return this.currentResult[u]!==n[u]&&s.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify({...o,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!gs(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){Ie.batch(()=>{if(t.onSuccess){var n,r,o,i;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,l,u;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(l=(u=this.options).onSettled)==null||l.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function D2(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function fm(e,t){return D2(e,t)||e.state.dataUpdatedAt>0&&Ef(e,t,t.refetchOnMount)}function Ef(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&lp(e,t)}return!1}function dm(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&lp(e,n)}function lp(e,t){return e.isStaleByTime(t.staleTime)}var Cf={},M2={get exports(){return Cf},set exports(e){Cf=e}},f1={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xo=w;function $2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var U2=typeof Object.is=="function"?Object.is:$2,F2=xo.useState,j2=xo.useEffect,z2=xo.useLayoutEffect,B2=xo.useDebugValue;function V2(e,t){var n=t(),r=F2({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return z2(function(){o.value=n,o.getSnapshot=t,qu(o)&&i({inst:o})},[e,n,t]),j2(function(){return qu(o)&&i({inst:o}),e(function(){qu(o)&&i({inst:o})})},[e]),B2(n),n}function qu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!U2(e,n)}catch{return!0}}function W2(e,t){return t()}var H2=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?W2:V2;f1.useSyncExternalStore=xo.useSyncExternalStore!==void 0?xo.useSyncExternalStore:H2;(function(e){e.exports=f1})(M2);const K2=Cf.useSyncExternalStore,pm=w.createContext(void 0),d1=w.createContext(!1);function p1(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=pm),window.ReactQueryClientContext):pm)}const Q2=({context:e}={})=>{const t=w.useContext(p1(e,w.useContext(d1)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},q2=({client:e,children:t,context:n,contextSharing:r=!1})=>{w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=p1(n,r);return w.createElement(d1.Provider,{value:!n&&r},w.createElement(o.Provider,{value:e},t))},h1=w.createContext(!1),G2=()=>w.useContext(h1);h1.Provider;function Y2(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const X2=w.createContext(Y2()),J2=()=>w.useContext(X2);function Z2(e,t){return typeof e=="function"?e(...t):!!e}const ex=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},tx=e=>{w.useEffect(()=>{e.clearReset()},[e])},nx=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Z2(n,[e.error,r]),rx=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},ox=(e,t)=>e.isLoading&&e.isFetching&&!t,ix=(e,t,n)=>(e==null?void 0:e.suspense)&&ox(t,n),ax=(e,t,n)=>t.fetchOptimistic(e).then(({data:r})=>{e.onSuccess==null||e.onSuccess(r),e.onSettled==null||e.onSettled(r,null)}).catch(r=>{n.clearReset(),e.onError==null||e.onError(r),e.onSettled==null||e.onSettled(void 0,r)});function sx(e,t){const n=Q2({context:e.context}),r=G2(),o=J2(),i=n.defaultQueryOptions(e);i._optimisticResults=r?"isRestoring":"optimistic",i.onError&&(i.onError=Ie.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Ie.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Ie.batchCalls(i.onSettled)),rx(i),ex(i,o),tx(o);const[a]=w.useState(()=>new t(n,i)),s=a.getOptimisticResult(i);if(K2(w.useCallback(l=>r?()=>{}:a.subscribe(Ie.batchCalls(l)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),w.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),ix(i,s,r))throw ax(i,a,o);if(nx({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function lx(e,t,n){const r=pi(e,t,n);return sx(r,I2)}/** + * @remix-run/router v1.3.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Zi(){return Zi=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function cx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function fx(){return Math.random().toString(36).substr(2,8)}function vm(e,t){return{usr:e.state,key:e.key,idx:t}}function Rf(e,t,n,r){return n===void 0&&(n=null),Zi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Mr(t):t,{state:n,key:t&&t.key||r||fx()})}function ol(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Mr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dx(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=Vn.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(Zi({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function f(){s=Vn.Pop;let S=c(),h=S==null?null:S-u;u=S,l&&l({action:s,location:y.location,delta:h})}function p(S,h){s=Vn.Push;let d=Rf(y.location,S,h);n&&n(d,S),u=c()+1;let m=vm(d,u),_=y.createHref(d);try{a.pushState(m,"",_)}catch{o.location.assign(_)}i&&l&&l({action:s,location:y.location,delta:1})}function v(S,h){s=Vn.Replace;let d=Rf(y.location,S,h);n&&n(d,S),u=c();let m=vm(d,u),_=y.createHref(d);a.replaceState(m,"",_),i&&l&&l({action:s,location:y.location,delta:0})}function g(S){let h=o.location.origin!=="null"?o.location.origin:o.location.href,d=typeof S=="string"?S:ol(S);return Ge(h,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,h)}let y={get action(){return s},get location(){return e(o,a)},listen(S){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(hm,f),l=S,()=>{o.removeEventListener(hm,f),l=null}},createHref(S){return t(o,S)},createURL:g,encodeLocation(S){let h=g(S);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:v,go(S){return a.go(S)}};return y}var mm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(mm||(mm={}));function px(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Mr(t):t,o=g1(r.pathname||"/",n);if(o==null)return null;let i=v1(e);hx(i);let a=null;for(let s=0;a==null&&s{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(Ge(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=er([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Ge(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),v1(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:_x(u,i.index),routesMeta:c})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of m1(i.path))o(i,a,l)}),t}function m1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=m1(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function hx(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bx(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const vx=/^:\w+$/,mx=3,gx=2,yx=1,wx=10,Sx=-2,gm=e=>e==="*";function _x(e,t){let n=e.split("/"),r=n.length;return n.some(gm)&&(r+=Sx),t&&(r+=gx),n.filter(o=>!gm(o)).reduce((o,i)=>o+(vx.test(i)?mx:i===""?yx:wx),r)}function bx(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Ex(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{if(c==="*"){let p=s[f]||"";a=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}return u[c]=kx(s[f]||"",c),u},{}),pathname:i,pathnameBase:a,pattern:e}}function Rx(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),up(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function xx(e){try{return decodeURI(e)}catch(t){return up(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function kx(e,t){try{return decodeURIComponent(e)}catch(n){return up(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function g1(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function up(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Ox(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Mr(e):e;return{pathname:n?n.startsWith("/")?n:Tx(n,t):t,search:Nx(r),hash:Lx(o)}}function Tx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Gu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function y1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function w1(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Mr(e):(o=Zi({},e),Ge(!o.pathname||!o.pathname.includes("?"),Gu("?","pathname","search",o)),Ge(!o.pathname||!o.pathname.includes("#"),Gu("#","pathname","hash",o)),Ge(!o.search||!o.search.includes("#"),Gu("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(r||a==null)s=n;else{let f=t.length-1;if(a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}s=f>=0?t[f]:"/"}let l=Ox(o,s),u=a&&a!=="/"&&a.endsWith("/"),c=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const er=e=>e.join("/").replace(/\/\/+/g,"/"),Px=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Nx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Lx=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ax(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ix=["post","put","patch","delete"];[...Ix];/** + * React Router v6.8.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function xf(){return xf=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.value=r,o.getSnapshot=t,Yu(o)&&i({inst:o})},[e,r,t]),Ux(()=>(Yu(o)&&i({inst:o}),e(()=>{Yu(o)&&i({inst:o})})),[e]),jx(r),r}function Yu(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!Mx(n,r)}catch{return!0}}function Bx(e,t,n){return t()}const Vx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wx=!Vx,Hx=Wx?Bx:zx;"useSyncExternalStore"in Lt&&(e=>e.useSyncExternalStore)(Lt);const Kx=w.createContext(null),S1=w.createContext(null),$l=w.createContext(null),Ul=w.createContext(null),Fo=w.createContext({outlet:null,matches:[]}),_1=w.createContext(null);function Qx(e,t){let{relative:n}=t===void 0?{}:t;ga()||Ge(!1);let{basename:r,navigator:o}=w.useContext($l),{hash:i,pathname:a,search:s}=b1(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:er([r,a])),o.createHref({pathname:l,search:s,hash:i})}function ga(){return w.useContext(Ul)!=null}function ya(){return ga()||Ge(!1),w.useContext(Ul).location}function qx(){ga()||Ge(!1);let{basename:e,navigator:t}=w.useContext($l),{matches:n}=w.useContext(Fo),{pathname:r}=ya(),o=JSON.stringify(y1(n).map(s=>s.pathnameBase)),i=w.useRef(!1);return w.useEffect(()=>{i.current=!0}),w.useCallback(function(s,l){if(l===void 0&&(l={}),!i.current)return;if(typeof s=="number"){t.go(s);return}let u=w1(s,JSON.parse(o),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:er([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,o,r])}function b1(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=w.useContext(Fo),{pathname:o}=ya(),i=JSON.stringify(y1(r).map(a=>a.pathnameBase));return w.useMemo(()=>w1(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function E1(e,t){ga()||Ge(!1);let{navigator:n}=w.useContext($l),r=w.useContext(S1),{matches:o}=w.useContext(Fo),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let l=ya(),u;if(t){var c;let y=typeof t=="string"?Mr(t):t;s==="/"||(c=y.pathname)!=null&&c.startsWith(s)||Ge(!1),u=y}else u=l;let f=u.pathname||"/",p=s==="/"?f:f.slice(s.length)||"/",v=px(e,{pathname:p}),g=Jx(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:er([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:er([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r||void 0);return t&&g?w.createElement(Ul.Provider,{value:{location:xf({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Vn.Pop}},g):g}function Gx(){let e=nk(),t=Ax(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,i)}class Yx extends w.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?w.createElement(Fo.Provider,{value:this.props.routeContext},w.createElement(_1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xx(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(Kx);return o&&o.static&&o.staticContext&&n.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Fo.Provider,{value:t},r)}function Jx(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,o=n==null?void 0:n.errors;if(o!=null){let i=r.findIndex(a=>a.route.id&&(o==null?void 0:o[a.route.id]));i>=0||Ge(!1),r=r.slice(0,Math.min(r.length,i+1))}return r.reduceRight((i,a,s)=>{let l=a.route.id?o==null?void 0:o[a.route.id]:null,u=n?a.route.errorElement||w.createElement(Gx,null):null,c=t.concat(r.slice(0,s+1)),f=()=>w.createElement(Xx,{match:a,routeContext:{outlet:i,matches:c}},l?u:a.route.element!==void 0?a.route.element:i);return n&&(a.route.errorElement||s===0)?w.createElement(Yx,{location:n.location,component:u,error:l,children:f(),routeContext:{outlet:null,matches:c}}):f()},null)}var ym;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(ym||(ym={}));var il;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(il||(il={}));function Zx(e){let t=w.useContext(S1);return t||Ge(!1),t}function ek(e){let t=w.useContext(Fo);return t||Ge(!1),t}function tk(e){let t=ek(),n=t.matches[t.matches.length-1];return n.route.id||Ge(!1),n.route.id}function nk(){var e;let t=w.useContext(_1),n=Zx(il.UseRouteError),r=tk(il.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function rk(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Vn.Pop,navigator:i,static:a=!1}=e;ga()&&Ge(!1);let s=t.replace(/^\/*/,"/"),l=w.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof r=="string"&&(r=Mr(r));let{pathname:u="/",search:c="",hash:f="",state:p=null,key:v="default"}=r,g=w.useMemo(()=>{let y=g1(u,s);return y==null?null:{pathname:y,search:c,hash:f,state:p,key:v}},[s,u,c,f,p,v]);return g==null?null:w.createElement($l.Provider,{value:l},w.createElement(Ul.Provider,{children:n,value:{location:g,navigationType:o}}))}var wm;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(wm||(wm={}));new Promise(()=>{});/** + * React Router DOM v6.8.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function kf(){return kf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function ik(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ak(e,t){return e.button===0&&(!t||t==="_self")&&!ik(e)}const sk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function lk(e){let{basename:t,children:n,window:r}=e,o=w.useRef();o.current==null&&(o.current=ux({window:r,v5Compat:!0}));let i=o.current,[a,s]=w.useState({action:i.action,location:i.location});return w.useLayoutEffect(()=>i.listen(s),[i]),w.createElement(rk,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i})}const uk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",C1=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:u,preventScrollReset:c}=t,f=ok(t,sk),p,v=!1;if(uk&&typeof u=="string"&&/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(u)){p=u;let h=new URL(window.location.href),d=u.startsWith("//")?new URL(h.protocol+u):new URL(u);d.origin===h.origin?u=d.pathname+d.search+d.hash:v=!0}let g=Qx(u,{relative:o}),y=ck(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:o});function S(h){r&&r(h),h.defaultPrevented||y(h)}return w.createElement("a",kf({},f,{href:p||g,onClick:v||i?r:S,ref:n,target:l}))});var Sm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Sm||(Sm={}));var _m;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_m||(_m={}));function ck(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=qx(),l=ya(),u=b1(e,{relative:a});return w.useCallback(c=>{if(ak(c,n)){c.preventDefault();let f=r!==void 0?r:ol(l)===ol(u);s(e,{replace:f,state:o,preventScrollReset:i,relative:a})}},[l,s,u,r,o,n,e,i,a])}function fk(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var dk=fk,ae=dk;function pk(e){return!!e&&typeof e.then=="function"}var xe=pk;function hk(e,t){if(e!=null)return e;throw ae(t??"Got unexpected null or undefined")}var ke=hk;function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Fl{getValue(){throw ae("BaseLoadable")}toPromise(){throw ae("BaseLoadable")}valueMaybe(){throw ae("BaseLoadable")}valueOrThrow(){throw ae(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw ae("BaseLoadable")}promiseOrThrow(){throw ae(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw ae("BaseLoadable")}errorOrThrow(){throw ae(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw ae("BaseLoadable")}}class vk extends Fl{constructor(t){super(),ie(this,"state","hasValue"),ie(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return xe(n)?Nr(n):ko(n)?n:wa(n)}catch(n){return xe(n)?Nr(n.next(()=>this.map(t))):jl(n)}}}class mk extends Fl{constructor(t){super(),ie(this,"state","hasError"),ie(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class R1 extends Fl{constructor(t){super(),ie(this,"state","loading"),ie(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return Nr(this.contents.then(n=>{const r=t(n);if(ko(r)){const o=r;switch(o.state){case"hasValue":return o.contents;case"hasError":throw o.contents;case"loading":return o.contents}}return r}).catch(n=>{if(xe(n))return n.then(()=>this.map(t).contents);throw n}))}}function wa(e){return Object.freeze(new vk(e))}function jl(e){return Object.freeze(new mk(e))}function Nr(e){return Object.freeze(new R1(e))}function x1(){return Object.freeze(new R1(new Promise(()=>{})))}function gk(e){return e.every(t=>t.state==="hasValue")?wa(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?jl(ke(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Nr(Promise.all(e.map(t=>t.contents)))}function k1(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>ko(o)?o:xe(o)?Nr(o):wa(o)),r=gk(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((i,a,s)=>({...i,[a]:o[s]}),{}))}function ko(e){return e instanceof Fl}const yk={of:e=>xe(e)?Nr(e):ko(e)?e:wa(e),error:e=>jl(e),loading:()=>x1(),all:k1,isLoadable:ko};var $r={loadableWithValue:wa,loadableWithError:jl,loadableWithPromise:Nr,loadableLoading:x1,loadableAll:k1,isLoadable:ko,RecoilLoadable:yk},wk=$r.loadableWithValue,Sk=$r.loadableWithError,_k=$r.loadableWithPromise,bk=$r.loadableLoading,Ek=$r.loadableAll,Ck=$r.isLoadable,Rk=$r.RecoilLoadable,Sa=Object.freeze({__proto__:null,loadableWithValue:wk,loadableWithError:Sk,loadableWithPromise:_k,loadableLoading:bk,loadableAll:Ek,isLoadable:Ck,RecoilLoadable:Rk});const zl=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function Bl(e){var t;return(t=zl.get(e))!==null&&t!==void 0?t:!1}Bl.setPass=e=>{zl.set(e,!0)};Bl.setFail=e=>{zl.set(e,!1)};Bl.clear=()=>{zl.clear()};var ye=Bl;function xk(e,t,{error:n}={}){return null}var kk=xk,cp=kk,Xu,Ju,Zu;const Ok=(Xu=q.createMutableSource)!==null&&Xu!==void 0?Xu:q.unstable_createMutableSource,O1=(Ju=q.useMutableSource)!==null&&Ju!==void 0?Ju:q.unstable_useMutableSource,T1=(Zu=q.useSyncExternalStore)!==null&&Zu!==void 0?Zu:q.unstable_useSyncExternalStore;function Tk(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null}function Pk(){return ye("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:ye("recoil_sync_external_store")&&T1!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:ye("recoil_mutable_source")&&O1!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?ye("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:ye("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Nk(){return!1}var _a={createMutableSource:Ok,useMutableSource:O1,useSyncExternalStore:T1,currentRendererSupportsUseSyncExternalStore:Tk,reactMode:Pk,isFastRefreshEnabled:Nk};const P1={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};function Lk(){var e,t,n;if(typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)==null)return;const r=(t={}.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED)===null||t===void 0||(n=t.toLowerCase())===null||n===void 0?void 0:n.trim();if(r==null||r==="")return;if(!["true","false"].includes(r))throw ae(`({}).RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${r}`);P1.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=r==="true"}Lk();var N1=P1;class fp{constructor(t){ie(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class L1 extends fp{}class A1 extends fp{}function Ak(e){return e instanceof L1||e instanceof A1}var Vl={AbstractRecoilValue:fp,RecoilState:L1,RecoilValueReadOnly:A1,isRecoilValue:Ak},Ik=Vl.AbstractRecoilValue,Dk=Vl.RecoilState,Mk=Vl.RecoilValueReadOnly,$k=Vl.isRecoilValue,Oo=Object.freeze({__proto__:null,AbstractRecoilValue:Ik,RecoilState:Dk,RecoilValueReadOnly:Mk,isRecoilValue:$k});function Uk(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var Wl=Uk;class I1{}const Fk=new I1,Lr=new Map,dp=new Map;function jk(e){return Wl(e,t=>ke(dp.get(t)))}function zk(e){if(Lr.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in + production. But it is safe to ignore this warning if it occurred because of + hot module replacement.`;console.warn(t)}}function Bk(e){N1.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&zk(e.key),Lr.set(e.key,e);const t=e.set==null?new Oo.RecoilValueReadOnly(e.key):new Oo.RecoilState(e.key);return dp.set(e.key,t),t}class D1 extends Error{}function Vk(e){const t=Lr.get(e);if(t==null)throw new D1(`Missing definition for RecoilValue: "${e}""`);return t}function Wk(e){return Lr.get(e)}const al=new Map;function Hk(e){var t;if(!ye("recoil_memory_managament_2020"))return;const n=Lr.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;Lr.delete(e),(r=M1(e))===null||r===void 0||r(),al.delete(e)}}function Kk(e,t){ye("recoil_memory_managament_2020")&&(t===void 0?al.delete(e):al.set(e,t))}function M1(e){return al.get(e)}var ft={nodes:Lr,recoilValues:dp,registerNode:Bk,getNode:Vk,getNodeMaybe:Wk,deleteNodeConfigIfPossible:Hk,setConfigDeletionHandler:Kk,getConfigDeletionHandler:M1,recoilValuesForKeys:jk,NodeMissingError:D1,DefaultValue:I1,DEFAULT_VALUE:Fk};function Qk(e,t){t()}var qk={enqueueExecution:Qk};function Gk(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Yk=Gk(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},n={},r=5,o=Math.pow(2,r),i=o-1,a=o/2,s=o/4,l={},u=function(b){return function(){return b}},c=n.hash=function(k){var b=typeof k>"u"?"undefined":t(k);if(b==="number")return k;b!=="string"&&(k+="");for(var I=0,B=0,V=k.length;B>1&1431655765,b=(b&858993459)+(b>>2&858993459),b=b+(b>>4)&252645135,b+=b>>8,b+=b>>16,b&127},p=function(b,I){return I>>>b&i},v=function(b){return 1<=I;)V[re--]=V[re];return V[I]=B,V}for(var te=0,ne=0,le=new Array(G+1);te>>=1;return re[I]=B,ee(b,ne+1,re)},K=function(b,I,B,V){for(var G=new Array(I-1),re=0,te=0,ne=0,le=V.length;ne1?W(b,this.hash,le):le[0]}var Ce=V();return Ce===l?this:(++te.value,j(b,B,this.hash,this,G,N(b,G,re,Ce)))},$=function(b,I,B,V,G,re,te){var ne=this.mask,le=this.children,Ce=p(B,G),ot=v(Ce),Ue=g(ne,ot),Ct=ne&ot,$t=Ct?le[Ue]:C,zr=$t._modify(b,I,B+r,V,G,re,te);if($t===zr)return this;var Oa=O(b,this),Ho=ne,Ko=void 0;if(Ct&&T(zr)){if(Ho&=~ot,!Ho)return C;if(le.length<=2&&pe(le[Ue^1]))return le[Ue^1];Ko=S(Oa,Ue,le)}else if(!Ct&&!T(zr)){if(le.length>=a)return ue(b,Ce,zr,ne,le);Ho|=ot,Ko=h(Oa,Ue,zr,le)}else Ko=y(Oa,Ue,zr,le);return Oa?(this.mask=Ho,this.children=Ko,this):M(b,Ho,Ko)},U=function(b,I,B,V,G,re,te){var ne=this.size,le=this.children,Ce=p(B,G),ot=le[Ce],Ue=(ot||C)._modify(b,I,B+r,V,G,re,te);if(ot===Ue)return this;var Ct=O(b,this),$t=void 0;if(T(ot)&&!T(Ue))++ne,$t=y(Ct,Ce,Ue,le);else if(!T(ot)&&T(Ue)){if(--ne,ne<=s)return K(b,ne,Ce,le);$t=y(Ct,Ce,C,le)}else $t=y(Ct,Ce,Ue,le);return Ct?(this.size=ne,this.children=$t,this):ee(b,ne,$t)};C._modify=function(k,b,I,B,V,G,re){var te=B();return te===l?C:(++re.value,N(k,V,G,te))};function E(k,b,I,B,V){this._editable=k,this._edit=b,this._config=I,this._root=B,this._size=V}E.prototype.setTree=function(k,b){return this._editable?(this._root=k,this._size=b,this):k===this._root?this:new E(this._editable,this._edit,this._config,k,b)};var L=n.tryGetHash=function(k,b,I,B){for(var V=B._root,G=0,re=B._config.keyEq;;)switch(V.type){case d:return re(I,V.key)?V.value:k;case m:{if(b===V.hash)for(var te=V.children,ne=0,le=te.length;ne{n.set(o,t(r,o))}),n}var sl=nO;function rO(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function oO(e){return{nodeDeps:sl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:sl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function ec(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:i}=n,a=o.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;o.set(e,t);const s=a==null?t:Oi(t,a);for(const l of s)i.has(l)||i.set(l,new Set),ke(i.get(l)).add(e);if(a){const l=Oi(a,t);for(const u of l){if(!i.has(u))return;const c=ke(i.get(u));c.delete(e),c.size===0&&i.delete(u)}}}function iO(e,t,n,r){var o,i,a,s;const l=n.getState();r===l.currentTree.version||r===((o=l.nextTree)===null||o===void 0?void 0:o.version)||((i=l.previousTree)===null||i===void 0||i.version);const u=n.getGraph(r);if(ec(e,t,u),r===((a=l.previousTree)===null||a===void 0?void 0:a.version)){const f=n.getGraph(l.currentTree.version);ec(e,t,f,u)}if(r===((s=l.previousTree)===null||s===void 0?void 0:s.version)||r===l.currentTree.version){var c;const f=(c=l.nextTree)===null||c===void 0?void 0:c.version;if(f!==void 0){const p=n.getGraph(f);ec(e,t,p,u)}}}var ba={cloneGraph:oO,graph:rO,saveDepsToStore:iO};let aO=0;const sO=()=>aO++;let lO=0;const uO=()=>lO++;let cO=0;const fO=()=>cO++;var Hl={getNextTreeStateVersion:sO,getNextStoreID:uO,getNextComponentID:fO};const{persistentMap:bm}=eO,{graph:dO}=ba,{getNextTreeStateVersion:$1}=Hl;function U1(){const e=$1();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:bm(),nonvalidatedAtoms:bm()}}function pO(){const e=U1();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,dO()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var F1={makeEmptyTreeState:U1,makeEmptyStoreState:pO,getNextTreeStateVersion:$1};class j1{}function hO(){return new j1}var Kl={RetentionZone:j1,retentionZone:hO};function vO(e,t){const n=new Set(e);return n.add(t),n}function mO(e,t){const n=new Set(e);return n.delete(t),n}function gO(e,t,n){const r=new Map(e);return r.set(t,n),r}function yO(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function wO(e,t){const n=new Map(e);return n.delete(t),n}function SO(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var z1={setByAddingToSet:vO,setByDeletingFromSet:mO,mapBySettingInMap:gO,mapByUpdatingInMap:yO,mapByDeletingFromMap:wO,mapByDeletingMultipleFromMap:SO};function*_O(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var vp=_O;function bO(e,t){return new Proxy(e,{get:(r,o)=>(!(o in r)&&o in t&&(r[o]=t[o]()),r[o]),ownKeys:r=>Object.keys(r)})}var B1=bO;const{getNode:Ea,getNodeMaybe:EO,recoilValuesForKeys:Em}=ft,{RetentionZone:Cm}=Kl,{setByAddingToSet:CO}=z1,RO=Object.freeze(new Set);class xO extends Error{}function kO(e,t,n){if(!ye("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(i){let a=r.get(i);a||r.set(i,a=new Set),a.add(t)}if(n instanceof Cm)o(n);else if(Array.isArray(n))for(const i of n)o(i);return()=>{if(!ye("recoil_memory_managament_2020"))return;const{retention:i}=e.getState();function a(s){const l=i.nodesRetainedByZone.get(s);l==null||l.delete(t),l&&l.size===0&&i.nodesRetainedByZone.delete(s)}if(n instanceof Cm)a(n);else if(Array.isArray(n))for(const s of n)a(s)}}function mp(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const i=Ea(n),a=kO(e,n,i.retainedBy),s=i.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{s(),a()})}function OO(e,t,n){mp(e,e.getState().currentTree,t,n)}function TO(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function PO(e,t,n){return mp(e,t,n,"get"),Ea(n).get(e,t)}function V1(e,t,n){return Ea(n).peek(e,t)}function NO(e,t,n){var r;const o=EO(t);return o==null||(r=o.invalidate)===null||r===void 0||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:CO(e.dirtyAtoms,t)}}function LO(e,t,n,r){const o=Ea(n);if(o.set==null)throw new xO(`Attempt to set read-only RecoilValue: ${n}`);const i=o.set;return mp(e,t,n,"set"),i(e,t,r)}function AO(e,t,n){const r=e.getState(),o=e.getGraph(t.version),i=Ea(n).nodeType;return B1({type:i},{loadable:()=>V1(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>i==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var a;return Em((a=o.nodeDeps.get(n))!==null&&a!==void 0?a:[])},subscribers:()=>{var a,s;return{nodes:Em(vp(W1(e,t,new Set([n])),l=>l!==n)),components:Wl((a=(s=r.nodeToComponentSubscriptions.get(n))===null||s===void 0?void 0:s.values())!==null&&a!==void 0?a:[],([l])=>({name:l}))}}})}function W1(e,t,n){const r=new Set,o=Array.from(n),i=e.getGraph(t.version);for(let s=o.pop();s;s=o.pop()){var a;r.add(s);const l=(a=i.nodeToNodeSubscriptions.get(s))!==null&&a!==void 0?a:RO;for(const u of l)r.has(u)||o.push(u)}return r}var cr={getNodeLoadable:PO,peekNodeLoadable:V1,setNodeValue:LO,initializeNode:OO,cleanUpNode:TO,setUnvalidatedAtomValue_DEPRECATED:NO,peekNodeInfo:AO,getDownstreamNodes:W1};let H1=null;function IO(e){H1=e}function DO(){var e;(e=H1)===null||e===void 0||e()}var K1={setInvalidateMemoizedSnapshot:IO,invalidateMemoizedSnapshot:DO};const{getDownstreamNodes:MO,getNodeLoadable:Q1,setNodeValue:$O}=cr,{getNextComponentID:UO}=Hl,{getNode:FO,getNodeMaybe:q1}=ft,{DefaultValue:gp}=ft,{reactMode:jO}=_a,{AbstractRecoilValue:zO,RecoilState:BO,RecoilValueReadOnly:VO,isRecoilValue:WO}=Oo,{invalidateMemoizedSnapshot:HO}=K1;function KO(e,{key:t},n=e.getState().currentTree){var r,o;const i=e.getState();n.version===i.currentTree.version||n.version===((r=i.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=i.previousTree)===null||o===void 0||o.version);const a=Q1(e,n,t);return a.state==="loading"&&a.contents.catch(()=>{}),a}function QO(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof gp?n.delete(o):n.set(o,r)}),n}function qO(e,t,{key:n},r){if(typeof r=="function"){const o=Q1(e,t,n);if(o.state==="loading"){const i=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw ae(i)}else if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function GO(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:i}=n,a=qO(e,t,o,i),s=$O(e,t,o.key,a);for(const[l,u]of s.entries())Of(t,l,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:i}=n;Of(t,o,i)}else if(n.type==="markModified"){const{recoilValue:{key:o}}=n;t.dirtyAtoms.add(o)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:o},unvalidatedValue:i}=n,a=q1(o);a==null||(r=a.invalidate)===null||r===void 0||r.call(a,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,i),t.dirtyAtoms.add(o)}else cp(`Unknown action ${n.type}`)}function Of(e,t,n){n.state==="hasValue"&&n.contents instanceof gp?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function G1(e,t){e.replaceState(n=>{const r=Y1(n);for(const o of t)GO(e,r,o);return X1(e,r),HO(),r})}function Ql(e,t){if(Ti.length){const n=Ti[Ti.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else G1(e,[t])}const Ti=[];function YO(){const e=new Map;return Ti.push(e),()=>{for(const[t,n]of e)G1(t,n);Ti.pop()}}function Y1(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function X1(e,t){const n=MO(e,t,t.dirtyAtoms);for(const i of n){var r,o;(r=q1(i))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function J1(e,t,n){Ql(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function XO(e,t,n){if(n instanceof gp)return J1(e,t,n);Ql(e,{type:"setLoadable",recoilValue:t,loadable:n})}function JO(e,t){Ql(e,{type:"markModified",recoilValue:t})}function ZO(e,t,n){Ql(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function eT(e,{key:t},n,r=null){const o=UO(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),ke(i.nodeToComponentSubscriptions.get(t)).set(o,[r??"",n]);const a=jO();if(a.early&&(a.mode==="LEGACY"||a.mode==="MUTABLE_SOURCE")){const s=e.getState().nextTree;s&&s.dirtyAtoms.has(t)&&n(s)}return{release:()=>{const s=e.getState(),l=s.nodeToComponentSubscriptions.get(t);l===void 0||!l.has(o)||(l.delete(o),l.size===0&&s.nodeToComponentSubscriptions.delete(t))}}}function tT(e,t){var n;const{currentTree:r}=e.getState(),o=FO(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var dn={RecoilValueReadOnly:VO,AbstractRecoilValue:zO,RecoilState:BO,getRecoilValueAsLoadable:KO,setRecoilValue:J1,setRecoilValueLoadable:XO,markRecoilValueModified:JO,setUnvalidatedRecoilValue:ZO,subscribeToRecoilValue:eT,isRecoilValue:WO,applyAtomValueWrites:QO,batchStart:YO,writeLoadableToTreeState:Of,invalidateDownstreams:X1,copyTreeState:Y1,refreshRecoilValue:tT};function nT(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const i=o.value;if(t.call(n,i[1],i[0],e))return!0;o=r.next()}return!1}var rT=nT;const{cleanUpNode:oT}=cr,{deleteNodeConfigIfPossible:iT,getNode:Z1}=ft,{RetentionZone:ew}=Kl,aT=12e4,tw=new Set;function nw(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const a of t)if(a instanceof ew)for(const s of cT(n,a))o.add(s);else o.add(a);const i=sT(e,o);for(const a of i)uT(e,r,a)}function sT(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),i=new Set,a=new Set;return s(t),i;function s(l){const u=new Set,c=lT(e,r,l,i,a);for(const g of c){var f;if(Z1(g).retainedBy==="recoilRoot"){a.add(g);continue}if(((f=n.retention.referenceCounts.get(g))!==null&&f!==void 0?f:0)>0){a.add(g);continue}if(rw(g).some(S=>n.retention.referenceCounts.get(S))){a.add(g);continue}const y=o.nodeToNodeSubscriptions.get(g);if(y&&rT(y,S=>a.has(S))){a.add(g);continue}i.add(g),u.add(g)}const p=new Set;for(const g of u)for(const y of(v=o.nodeDeps.get(g))!==null&&v!==void 0?v:tw){var v;i.has(y)||p.add(y)}p.size&&s(p)}}function lT(e,t,n,r,o){const i=e.getGraph(t.version),a=[],s=new Set;for(;n.size>0;)l(ke(n.values().next().value));return a;function l(u){if(r.has(u)||o.has(u)){n.delete(u);return}if(s.has(u))return;const c=i.nodeToNodeSubscriptions.get(u);if(c)for(const f of c)l(f);s.add(u),n.delete(u),a.push(u)}}function uT(e,t,n){if(!ye("recoil_memory_managament_2020"))return;oT(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=rw(n);for(const l of o){var i;(i=r.retention.nodesRetainedByZone.get(l))===null||i===void 0||i.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const a=r.graphsByVersion.get(t.version);if(a){const l=a.nodeDeps.get(n);if(l!==void 0){a.nodeDeps.delete(n);for(const u of l){var s;(s=a.nodeToNodeSubscriptions.get(u))===null||s===void 0||s.delete(n)}}a.nodeToNodeSubscriptions.delete(n)}iT(n)}function cT(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:tw}function rw(e){const t=Z1(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof ew?[t]:t}function fT(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):nw(e,new Set([t]))}function dT(e,t,n){var r;if(!ye("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,i=((r=o.get(t))!==null&&r!==void 0?r:0)+n;i===0?ow(e,t):o.set(t,i)}function ow(e,t){if(!ye("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),fT(e,t)}function pT(e){if(!ye("recoil_memory_managament_2020"))return;const t=e.getState();nw(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function hT(e){return e===void 0?"recoilRoot":e}var Ur={SUSPENSE_TIMEOUT_MS:aT,updateRetainCount:dT,updateRetainCountToZero:ow,releaseScheduledRetainablesNow:pT,retainedByOptionWithDefault:hT};const{unstable_batchedUpdates:vT}=sR;var mT={unstable_batchedUpdates:vT};const{unstable_batchedUpdates:gT}=mT;var yT={unstable_batchedUpdates:gT};const{batchStart:wT}=dn,{unstable_batchedUpdates:ST}=yT;let yp=ST;const _T=e=>{yp=e},bT=()=>yp,ET=e=>{yp(()=>{let t=()=>{};try{t=wT(),e()}finally{t()}})};var ql={getBatcher:bT,setBatcher:_T,batchUpdates:ET};function*CT(e){for(const t of e)for(const n of t)yield n}var iw=CT;const aw=typeof Window>"u"||typeof window>"u",RT=e=>!aw&&(e===window||e instanceof Window),xT=typeof navigator<"u"&&navigator.product==="ReactNative";var wp={isSSR:aw,isReactNative:xT,isWindow:RT};function kT(e,t){let n;return(...o)=>{n||(n={});const i=t(...o);return Object.hasOwnProperty.call(n,i)||(n[i]=e(...o)),n[i]}}function OT(e,t){let n,r;return(...i)=>{const a=t(...i);return n===a||(n=a,r=e(...i)),r}}function TT(e,t){let n,r;return[(...a)=>{const s=t(...a);return n===s||(n=s,r=e(...a)),r},()=>{n=null}]}var PT={memoizeWithArgsHash:kT,memoizeOneWithArgsHash:OT,memoizeOneWithArgsHashAndInvalidation:TT};const{batchUpdates:Tf}=ql,{initializeNode:NT,peekNodeInfo:LT}=cr,{graph:AT}=ba,{getNextStoreID:IT}=Hl,{DEFAULT_VALUE:DT,recoilValues:Rm,recoilValuesForKeys:xm}=ft,{AbstractRecoilValue:MT,getRecoilValueAsLoadable:$T,setRecoilValue:km,setUnvalidatedRecoilValue:UT}=dn,{updateRetainCount:ys}=Ur,{setInvalidateMemoizedSnapshot:FT}=K1,{getNextTreeStateVersion:jT,makeEmptyStoreState:zT}=F1,{isSSR:BT}=wp,{memoizeOneWithArgsHashAndInvalidation:VT}=PT;class Gl{constructor(t,n){ie(this,"_store",void 0),ie(this,"_refCount",1),ie(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),$T(this._store,r))),ie(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),ie(this,"getNodes_UNSTABLE",r=>{if(this.checkRefCount_INTERNAL(),(r==null?void 0:r.isModified)===!0){if((r==null?void 0:r.isInitialized)===!1)return[];const a=this._store.getState().currentTree;return xm(a.dirtyAtoms)}const o=this._store.getState().knownAtoms,i=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?Rm.values():r.isInitialized===!0?xm(iw([o,i])):vp(Rm.values(),({key:a})=>!o.has(a)&&!i.has(a))}),ie(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),LT(this._store,this._store.getState().currentTree,r))),ie(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new Pf(this,Tf);return r(o),o}),ie(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new Pf(this,Tf);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:IT(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return ke(o.get(r));const i=AT();return o.set(r,i),i},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw ae("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)NT(this._store,r,"get"),ys(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){BT||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!ye("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){ye("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function sw(e,t,n=!1){const r=e.getState(),o=n?jT():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(Wl(r.nodeCleanupFunctions.entries(),([i])=>[i,()=>{}]))}}function WT(e){const t=new Gl(zT());return e!=null?t.map(e):t}const[Om,lw]=VT((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:ke(r.previousTree);return new Gl(sw(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String((n=e.getState().nextTree)===null||n===void 0?void 0:n.version)+String(e.getState().currentTree.version)+String((r=e.getState().previousTree)===null||r===void 0?void 0:r.version)});FT(lw);function HT(e,t="latest"){const n=Om(e,t);return n.isRetained()?n:(lw(),Om(e,t))}class Pf extends Gl{constructor(t,n){super(sw(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),ie(this,"_batch",void 0),ie(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const i=this.getStore_INTERNAL();this._batch(()=>{ys(i,r.key,1),km(this.getStore_INTERNAL(),r,o)})}),ie(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{ys(o,r.key,1),km(this.getStore_INTERNAL(),r,DT)})}),ie(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();Tf(()=>{for(const[i,a]of r.entries())ys(o,i,1),UT(o,new MT(i),a)})}),this._batch=n}}var Yl={Snapshot:Gl,MutableSnapshot:Pf,freshSnapshot:WT,cloneSnapshot:HT},KT=Yl.Snapshot,QT=Yl.MutableSnapshot,qT=Yl.freshSnapshot,GT=Yl.cloneSnapshot,Xl=Object.freeze({__proto__:null,Snapshot:KT,MutableSnapshot:QT,freshSnapshot:qT,cloneSnapshot:GT});function YT(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var XT=YT;const{useRef:JT}=q;function ZT(e){const t=JT(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var Tm=ZT;const{getNextTreeStateVersion:eP,makeEmptyStoreState:uw}=F1,{cleanUpNode:tP,getDownstreamNodes:nP,initializeNode:rP,setNodeValue:oP,setUnvalidatedAtomValue_DEPRECATED:iP}=cr,{graph:aP}=ba,{cloneGraph:sP}=ba,{getNextStoreID:cw}=Hl,{createMutableSource:tc,reactMode:fw}=_a,{applyAtomValueWrites:lP}=dn,{releaseScheduledRetainablesNow:dw}=Ur,{freshSnapshot:uP}=Xl,{useCallback:cP,useContext:pw,useEffect:Nf,useMemo:fP,useRef:dP,useState:pP}=q;function oi(){throw ae("This component must be used inside a component.")}const hw=Object.freeze({storeID:cw(),getState:oi,replaceState:oi,getGraph:oi,subscribeToTransactions:oi,addTransactionMetadata:oi});let Lf=!1;function Pm(e){if(Lf)throw ae("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){ye("recoil_memory_managament_2020")&&ye("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&dw(e);const n=t.currentTree.version,r=eP();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,sP(ke(t.graphsByVersion.get(n))))}}const vw=q.createContext({current:hw}),Jl=()=>pw(vw),mw=q.createContext(null);function hP(){return pw(mw)}function Sp(e,t,n){const r=nP(e,n,n.dirtyAtoms);for(const o of r){const i=t.nodeToComponentSubscriptions.get(o);if(i)for(const[a,[s,l]]of i)l(n)}}function gw(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,i]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[a,s]of i)s(e);for(const[o,i]of t.transactionSubscriptions)i(e);(!fw().early||t.suspendedComponentResolvers.size>0)&&(Sp(e,t,n),t.suspendedComponentResolvers.forEach(o=>o()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(o=>o(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function vP(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n==null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,gw(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):cp("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,ye("recoil_memory_managament_2020")&&n==null&&dw(e)}finally{t.commitDepth--}}function mP({setNotifyBatcherOfChange:e}){const t=Jl(),[,n]=pP([]);return e(()=>n({})),Nf(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),Nf(()=>{qk.enqueueExecution("Batcher",()=>{vP(t.current)})}),null}function gP(e,t){const n=uw();return t({set:(r,o)=>{const i=n.currentTree,a=oP(e,i,r.key,o),s=new Set(a.keys()),l=i.nonvalidatedAtoms.clone();for(const u of s)l.delete(u);n.currentTree={...i,dirtyAtoms:XT(i.dirtyAtoms,s),atomValues:lP(i.atomValues,a),nonvalidatedAtoms:l}},setUnvalidatedAtomValues:r=>{r.forEach((o,i)=>{n.currentTree=iP(n.currentTree,i,o)})}}),n}function yP(e){const t=uP(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let Nm=0;function wP({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const i=v=>{const g=o.current.graphsByVersion;if(g.has(v))return ke(g.get(v));const y=aP();return g.set(v,y),y},a=(v,g)=>{if(g==null){const{transactionSubscriptions:y}=f.current.getState(),S=Nm++;return y.set(S,v),{release:()=>{y.delete(S)}}}else{const{nodeTransactionSubscriptions:y}=f.current.getState();y.has(g)||y.set(g,new Map);const S=Nm++;return ke(y.get(g)).set(S,v),{release:()=>{const h=y.get(g);h&&(h.delete(S),h.size===0&&y.delete(g))}}}},s=v=>{Pm(f.current);for(const g of Object.keys(v))ke(f.current.getState().nextTree).transactionMetadata[g]=v[g]},l=v=>{Pm(f.current);const g=ke(o.current.nextTree);let y;try{Lf=!0,y=v(g)}finally{Lf=!1}y!==g&&(o.current.nextTree=y,fw().early&&Sp(f.current,o.current,y),ke(u.current)())},u=dP(null),c=cP(v=>{u.current=v},[u]),f=Tm(()=>n??{storeID:cw(),getState:()=>o.current,replaceState:l,getGraph:i,subscribeToTransactions:a,addTransactionMetadata:s});n!=null&&(f.current=n),o=Tm(()=>e!=null?gP(f.current,e):t!=null?yP(t):uw());const p=fP(()=>tc==null?void 0:tc(o,()=>o.current.currentTree.version),[o]);return Nf(()=>{const v=f.current;for(const g of new Set(v.getState().knownAtoms))rP(v,g,"get");return()=>{for(const g of v.getState().knownAtoms)tP(v,g)}},[f]),q.createElement(vw.Provider,{value:f},q.createElement(mw.Provider,{value:p},q.createElement(mP,{setNotifyBatcherOfChange:c}),r))}function SP(e){const{override:t,...n}=e,r=Jl();return t===!1&&r.current!==hw?e.children:q.createElement(wP,n)}function _P(){return Jl().current.storeID}var kn={RecoilRoot:SP,useStoreRef:Jl,useRecoilMutableSource:hP,useRecoilStoreID:_P,notifyComponents_FOR_TESTING:Sp,sendEndOfBatchNotifications_FOR_TESTING:gw};function bP(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current}var yw=xP;const{useStoreRef:kP}=kn,{SUSPENSE_TIMEOUT_MS:OP}=Ur,{updateRetainCount:ii}=Ur,{RetentionZone:TP}=Kl,{useEffect:PP,useRef:NP}=q,{isSSR:Lm}=wp;function LP(e){if(ye("recoil_memory_managament_2020"))return AP(e)}function AP(e){const n=(Array.isArray(e)?e:[e]).map(a=>a instanceof TP?a:a.key),r=kP();PP(()=>{if(!ye("recoil_memory_managament_2020"))return;const a=r.current;if(o.current&&!Lm)window.clearTimeout(o.current),o.current=null;else for(const s of n)ii(a,s,1);return()=>{for(const s of n)ii(a,s,-1)}},[r,...n]);const o=NP(),i=yw(n);if(!Lm&&(i===void 0||!EP(i,n))){const a=r.current;for(const s of n)ii(a,s,1);if(i)for(const s of i)ii(a,s,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const s of n)ii(a,s,-1)},OP)}}var _p=LP;function IP(){return""}var Ca=IP;const{batchUpdates:DP}=ql,{DEFAULT_VALUE:ww}=ft,{currentRendererSupportsUseSyncExternalStore:MP,reactMode:jo,useMutableSource:$P,useSyncExternalStore:UP}=_a,{useRecoilMutableSource:FP,useStoreRef:pn}=kn,{AbstractRecoilValue:Af,getRecoilValueAsLoadable:Ra,setRecoilValue:ll,setUnvalidatedRecoilValue:jP,subscribeToRecoilValue:To}=dn,{useCallback:ct,useEffect:Po,useMemo:Sw,useRef:Pi,useState:bp}=q,{setByAddingToSet:zP}=z1;function Ep(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{n.current.getState().suspendedComponentResolvers.add(o)}):e.state==="hasError"?e.contents:ae(`Invalid value of loadable atom "${t.key}"`)}function BP(){const e=Ca(),t=pn(),[,n]=bp([]),r=Pi(new Set);r.current=new Set;const o=Pi(new Set),i=Pi(new Map),a=ct(l=>{const u=i.current.get(l);u&&(u.release(),i.current.delete(l))},[i]),s=ct((l,u)=>{i.current.has(u)&&n([])},[]);return Po(()=>{const l=t.current;Oi(r.current,o.current).forEach(u=>{if(i.current.has(u))return;const c=To(l,new Af(u),p=>s(p,u),e);i.current.set(u,c),l.getState().nextTree?l.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s(l.getState(),u)}):s(l.getState(),u)}),Oi(o.current,r.current).forEach(u=>{a(u)}),o.current=r.current}),Po(()=>{const l=i.current;return Oi(r.current,new Set(l.keys())).forEach(u=>{const c=To(t.current,new Af(u),f=>s(f,u),e);l.set(u,c)}),()=>l.forEach((u,c)=>a(c))},[e,t,a,s]),Sw(()=>{function l(g){return y=>{ll(t.current,g,y)}}function u(g){return()=>ll(t.current,g,ww)}function c(g){var y;r.current.has(g.key)||(r.current=zP(r.current,g.key));const S=t.current.getState();return Ra(t.current,g,jo().early&&(y=S.nextTree)!==null&&y!==void 0?y:S.currentTree)}function f(g){const y=c(g);return Ep(y,g,t)}function p(g){return[f(g),l(g)]}function v(g){return[c(g),l(g)]}return{getRecoilValue:f,getRecoilValueLoadable:c,getRecoilState:p,getRecoilStateLoadable:v,getSetRecoilState:l,getResetRecoilState:u}},[r,t])}const VP={current:0};function WP(e){const t=pn(),n=Ca(),r=ct(()=>{var s;const l=t.current,u=l.getState(),c=jo().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return{loadable:Ra(l,e,c),key:e.key}},[t,e]),o=ct(s=>{let l;return()=>{var u,c;const f=s();return(u=l)!==null&&u!==void 0&&u.loadable.is(f.loadable)&&((c=l)===null||c===void 0?void 0:c.key)===f.key?l:(l=f,f)}},[]),i=Sw(()=>o(r),[r,o]),a=ct(s=>{const l=t.current;return To(l,e,s,n).release},[t,e,n]);return UP(a,i,i).loadable}function HP(e){const t=pn(),n=ct(()=>{var u;const c=t.current,f=c.getState(),p=jo().early&&(u=f.nextTree)!==null&&u!==void 0?u:f.currentTree;return Ra(c,e,p)},[t,e]),r=ct(()=>n(),[n]),o=Ca(),i=ct((u,c)=>{const f=t.current;return To(f,e,()=>{if(!ye("recoil_suppress_rerender_in_callback"))return c();const v=n();l.current.is(v)||c(),l.current=v},o).release},[t,e,o,n]),a=FP();if(a==null)throw ae("Recoil hooks must be used in components contained within a component.");const s=$P(a,r,i),l=Pi(s);return Po(()=>{l.current=s}),s}function If(e){const t=pn(),n=Ca(),r=ct(()=>{var l;const u=t.current,c=u.getState(),f=jo().early&&(l=c.nextTree)!==null&&l!==void 0?l:c.currentTree;return Ra(u,e,f)},[t,e]),o=ct(()=>({loadable:r(),key:e.key}),[r,e.key]),i=ct(l=>{const u=o();return l.loadable.is(u.loadable)&&l.key===u.key?l:u},[o]);Po(()=>{const l=To(t.current,e,u=>{s(i)},n);return s(i),l.release},[n,e,t,i]);const[a,s]=bp(o);return a.key!==e.key?o().loadable:a.loadable}function KP(e){const t=pn(),[,n]=bp([]),r=Ca(),o=ct(()=>{var s;const l=t.current,u=l.getState(),c=jo().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return Ra(l,e,c)},[t,e]),i=o(),a=Pi(i);return Po(()=>{a.current=i}),Po(()=>{const s=t.current,l=s.getState(),u=To(s,e,f=>{var p;if(!ye("recoil_suppress_rerender_in_callback"))return n([]);const v=o();(p=a.current)!==null&&p!==void 0&&p.is(v)||n(v),a.current=v},r);if(l.nextTree)s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a.current=null,n([])});else{var c;if(!ye("recoil_suppress_rerender_in_callback"))return n([]);const f=o();(c=a.current)!==null&&c!==void 0&&c.is(f)||n(f),a.current=f}return u.release},[r,o,e,t]),i}function Cp(e){return ye("recoil_memory_managament_2020")&&_p(e),{TRANSITION_SUPPORT:If,SYNC_EXTERNAL_STORE:MP()?WP:If,MUTABLE_SOURCE:HP,LEGACY:KP}[jo().mode](e)}function _w(e){const t=pn(),n=Cp(e);return Ep(n,e,t)}function Zl(e){const t=pn();return ct(n=>{ll(t.current,e,n)},[t,e])}function QP(e){const t=pn();return ct(()=>{ll(t.current,e,ww)},[t,e])}function qP(e){return[_w(e),Zl(e)]}function GP(e){return[Cp(e),Zl(e)]}function YP(){const e=pn();return(t,n={})=>{DP(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>jP(e.current,new Af(o),r))})}}function bw(e){return ye("recoil_memory_managament_2020")&&_p(e),If(e)}function Ew(e){const t=pn(),n=bw(e);return Ep(n,e,t)}function XP(e){return[Ew(e),Zl(e)]}var JP={recoilComponentGetRecoilValueCount_FOR_TESTING:VP,useRecoilInterface:BP,useRecoilState:qP,useRecoilStateLoadable:GP,useRecoilValue:_w,useRecoilValueLoadable:Cp,useResetRecoilState:QP,useSetRecoilState:Zl,useSetUnvalidatedAtomValues:YP,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:bw,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ew,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:XP};function ZP(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var eN=ZP;function tN(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var nN=tN;function rN(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function Dm(e){const t=e.atomValues.toMap(),n=sl(eN(t,(r,o)=>{const a=Cw(o).persistence_UNSTABLE;return a!=null&&a.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return oN(e.nonvalidatedAtoms.toMap(),n)}function dN(e){tu(eu(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=Dm(r),i=Dm(n),a=sl(sN,l=>{var u,c,f,p;return{persistence_UNSTABLE:{type:(u=(c=l.persistence_UNSTABLE)===null||c===void 0?void 0:c.type)!==null&&u!==void 0?u:"none",backButton:(f=(p=l.persistence_UNSTABLE)===null||p===void 0?void 0:p.backButton)!==null&&f!==void 0?f:!1}}}),s=nN(r.dirtyAtoms,l=>o.has(l)||i.has(l));e({atomValues:o,previousAtomValues:i,atomInfo:a,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})},[e]))}function pN(e){tu(eu(t=>{const n=ul(t,"latest"),r=ul(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function hN(){const e=Rp(),[t,n]=fN(()=>ul(e.current)),r=yw(t),o=Am(),i=Am();if(tu(eu(s=>n(ul(s)),[])),Rw(()=>{const s=t.retain();if(o.current&&!Im){var l;window.clearTimeout(o.current),o.current=null,(l=i.current)===null||l===void 0||l.call(i),i.current=null}return()=>{window.setTimeout(s,10)}},[t]),r!==t&&!Im){if(o.current){var a;window.clearTimeout(o.current),o.current=null,(a=i.current)===null||a===void 0||a.call(i),i.current=null}i.current=t.retain(),o.current=window.setTimeout(()=>{var s;o.current=null,(s=i.current)===null||s===void 0||s.call(i),i.current=null},cN)}return t}function xw(e,t){var n;const r=e.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,i=t.getStore_INTERNAL().getState().currentTree;iN(()=>{const a=new Set;for(const u of[o.atomValues.keys(),i.atomValues.keys()])for(const c of u){var s,l;((s=o.atomValues.get(c))===null||s===void 0?void 0:s.contents)!==((l=i.atomValues.get(c))===null||l===void 0?void 0:l.contents)&&Cw(c).shouldRestoreFromSnapshots&&a.add(c)}a.forEach(u=>{uN(e,new lN(u),i.atomValues.has(u)?ke(i.atomValues.get(u)):aN)}),e.replaceState(u=>({...u,stateID:t.getID()}))})}function vN(){const e=Rp();return eu(t=>xw(e.current,t),[e])}var kw={useRecoilSnapshot:hN,gotoSnapshot:xw,useGotoRecoilSnapshot:vN,useRecoilTransactionObserver:pN,useTransactionObservation_DEPRECATED:dN,useTransactionSubscription_DEPRECATED:tu};const{peekNodeInfo:mN}=cr,{useStoreRef:gN}=kn;function yN(){const e=gN();return({key:t})=>mN(e.current,e.current.getState().currentTree,t)}var wN=yN;const{reactMode:SN}=_a,{RecoilRoot:_N,useStoreRef:bN}=kn,{useMemo:EN}=q;function CN(){SN().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=bN().current;return EN(()=>{function t({children:n}){return q.createElement(_N,{store_INTERNAL:e},n)}return t},[e])}var RN=CN;const{loadableWithValue:xN}=Sa,{initializeNode:kN}=cr,{DEFAULT_VALUE:ON,getNode:TN}=ft,{copyTreeState:PN,getRecoilValueAsLoadable:NN,invalidateDownstreams:LN,writeLoadableToTreeState:AN}=dn;function Mm(e){return TN(e.key).nodeType==="atom"}class IN{constructor(t,n){ie(this,"_store",void 0),ie(this,"_treeState",void 0),ie(this,"_changes",void 0),ie(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!Mm(r))throw ae("Reading selectors within atomicUpdate is not supported");const o=NN(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:ae(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),ie(this,"set",(r,o)=>{if(!Mm(r))throw ae("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const i=this.get(r);this._changes.set(r.key,o(i))}else kN(this._store,r.key,"set"),this._changes.set(r.key,o)}),ie(this,"reset",r=>{this.set(r,ON)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=PN(this._treeState);for(const[n,r]of this._changes)AN(t,n,xN(r));return LN(this._store,t),t}}function DN(e){return t=>{e.replaceState(n=>{const r=new IN(e,n);return t(r),r.newTreeState_INTERNAL()})}}var MN={atomicUpdater:DN},$N=MN.atomicUpdater,Ow=Object.freeze({__proto__:null,atomicUpdater:$N});function UN(e,t){if(!e)throw new Error(t)}var FN=UN,hi=FN;const{atomicUpdater:jN}=Ow,{batchUpdates:zN}=ql,{DEFAULT_VALUE:BN}=ft,{useStoreRef:VN}=kn,{refreshRecoilValue:WN,setRecoilValue:$m}=dn,{cloneSnapshot:HN}=Xl,{gotoSnapshot:KN}=kw,{useCallback:QN}=q;class Tw{}const qN=new Tw;function Pw(e,t,n,r){let o=qN,i;if(zN(()=>{const s="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw ae(s);const l=B1({...r??{},set:(c,f)=>$m(e,c,f),reset:c=>$m(e,c,BN),refresh:c=>WN(e,c),gotoSnapshot:c=>KN(e,c),transact_UNSTABLE:c=>jN(e)(c)},{snapshot:()=>{const c=HN(e);return i=c.retain(),c}}),u=t(l);if(typeof u!="function")throw ae(s);o=u(...n)}),o instanceof Tw&&hi(!1),xe(o))o.finally(()=>{var s;(s=i)===null||s===void 0||s()});else{var a;(a=i)===null||a===void 0||a()}return o}function GN(e,t){const n=VN();return QN((...r)=>Pw(n.current,e,r),t!=null?[...t,n]:void 0)}var Nw={recoilCallback:Pw,useRecoilCallback:GN};const{useStoreRef:YN}=kn,{refreshRecoilValue:XN}=dn,{useCallback:JN}=q;function ZN(e){const t=YN();return JN(()=>{const n=t.current;XN(n,e)},[e,t])}var eL=ZN;const{atomicUpdater:tL}=Ow,{useStoreRef:nL}=kn,{useMemo:rL}=q;function oL(e,t){const n=nL();return rL(()=>(...r)=>{tL(n.current)(i=>{e(i)(...r)})},t!=null?[...t,n]:void 0)}var iL=oL;class aL{constructor(t){ie(this,"value",void 0),this.value=t}}var sL={WrappedValue:aL},lL=sL.WrappedValue,Lw=Object.freeze({__proto__:null,WrappedValue:lL});const{isFastRefreshEnabled:uL}=_a;class Um extends Error{}class cL{constructor(t){var n,r,o;ie(this,"_name",void 0),ie(this,"_numLeafs",void 0),ie(this,"_root",void 0),ie(this,"_onHit",void 0),ie(this,"_onSet",void 0),ie(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:i=>i}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){if(this._root==null)return;let r=this._root;for(;r;){if(n==null||n.onNodeVisit(r),r.type==="leaf")return this._onHit(r),r;const o=this._mapNodeValue(t(r.nodeKey));r=r.branches.get(o)}}set(t,n,r){const o=()=>{var i,a,s,l;let u,c;for(const[S,h]of t){var f,p,v;const d=this._root;if((d==null?void 0:d.type)==="leaf")throw this.invalidCacheError();const m=u;if(u=m?m.branches.get(c):d,u=(f=u)!==null&&f!==void 0?f:{type:"branch",nodeKey:S,parent:m,branches:new Map,branchKey:c},u.type!=="branch"||u.nodeKey!==S)throw this.invalidCacheError();m==null||m.branches.set(c,u),r==null||(p=r.onNodeVisit)===null||p===void 0||p.call(r,u),c=this._mapNodeValue(h),this._root=(v=this._root)!==null&&v!==void 0?v:u}const g=u?(i=u)===null||i===void 0?void 0:i.branches.get(c):this._root;if(g!=null&&(g.type!=="leaf"||g.branchKey!==c))throw this.invalidCacheError();const y={type:"leaf",value:n,parent:u,branchKey:c};(a=u)===null||a===void 0||a.branches.set(c,y),this._root=(s=this._root)!==null&&s!==void 0?s:y,this._numLeafs++,this._onSet(y),r==null||(l=r.onNodeVisit)===null||l===void 0||l.call(r,y)};try{o()}catch(i){if(i instanceof Um)this.clear(),o();else throw i}}delete(t){const n=this.root();if(!n)return!1;if(t===n)return this._root=null,this._numLeafs=0,!0;let r=t.parent,o=t.branchKey;for(;r;){var i;if(r.branches.delete(o),r===n)return r.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(r.branches.size>0)break;o=(i=r)===null||i===void 0?void 0:i.branchKey,r=r.parent}for(;r!==n;r=r.parent)if(r==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=uL()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw cp(t+(this._name!=null?` - ${this._name}`:"")),new Um}}var fL={TreeCache:cL},dL=fL.TreeCache,Aw=Object.freeze({__proto__:null,TreeCache:dL});class pL{constructor(t){var n;ie(this,"_maxSize",void 0),ie(this,"_size",void 0),ie(this,"_head",void 0),ie(this,"_tail",void 0),ie(this,"_map",void 0),ie(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const i=this.head(),a={key:t,right:i,left:null,value:n};i?i.left=a:this._tail=a,this._map.set(r,a),this._head=a,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=ke(this._map.get(n)),o=r.right,i=r.left;o&&(o.left=r.left),i&&(i.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=i),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var hL={LRUCache:pL},vL=hL.LRUCache,Iw=Object.freeze({__proto__:null,LRUCache:vL});const{LRUCache:mL}=Iw,{TreeCache:gL}=Aw;function yL({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new mL({maxSize:t}),o=new gL({name:e,mapNodeValue:n,onHit:i=>{r.set(i,!0)},onSet:i=>{const a=r.tail();r.set(i,!0),a&&o.size()>t&&o.delete(a.key)}});return o}var Fm=yL;function jt(e,t,n){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw ae("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var r;return(r=JSON.stringify(e))!==null&&r!==void 0?r:""}if(xe(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,i)=>jt(o,t,i.toString()))}]`;if(typeof e.toJSON=="function")return jt(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[i,a]of e)o[typeof i=="string"?i:jt(i,t)]=a;return jt(o,t,n)}return e instanceof Set?jt(Array.from(e).sort((o,i)=>jt(o,t).localeCompare(jt(i,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?jt(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${jt(o,t)}:${jt(e[o],t,o)}`).join(",")}}`}function wL(e,t={allowFunctions:!1}){return jt(e,t)}var nu=wL;const{TreeCache:SL}=Aw,Ga={equality:"reference",eviction:"keep-all",maxSize:1/0};function _L({equality:e=Ga.equality,eviction:t=Ga.eviction,maxSize:n=Ga.maxSize}=Ga,r){const o=bL(e);return EL(t,n,o,r)}function bL(e){switch(e){case"reference":return t=>t;case"value":return t=>nu(t)}throw ae(`Unrecognized equality policy ${e}`)}function EL(e,t,n,r){switch(e){case"keep-all":return new SL({name:r,mapNodeValue:n});case"lru":return Fm({name:r,maxSize:ke(t),mapNodeValue:n});case"most-recent":return Fm({name:r,maxSize:1,mapNodeValue:n})}throw ae(`Unrecognized eviction policy ${e}`)}var CL=_L;function RL(e){return()=>null}var xL={startPerfBlock:RL};const{isLoadable:kL,loadableWithError:Ya,loadableWithPromise:OL,loadableWithValue:nc}=Sa,{WrappedValue:Dw}=Lw,{getNodeLoadable:Xa,peekNodeLoadable:TL,setNodeValue:PL}=cr,{saveDepsToStore:NL}=ba,{DEFAULT_VALUE:LL,getConfigDeletionHandler:AL,getNode:IL,registerNode:jm}=ft,{isRecoilValue:DL}=Oo,{markRecoilValueModified:zm}=dn,{retainedByOptionWithDefault:ML}=Ur,{recoilCallback:$L}=Nw,{startPerfBlock:UL}=xL;class Mw{}const ai=new Mw,si=[],Ja=new Map,FL=(()=>{let e=0;return()=>e++})();function $w(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,i=e.set!=null?e.set:void 0,a=new Set,s=CL(o??{equality:"reference",eviction:"keep-all"},n),l=ML(e.retainedBy_UNSTABLE),u=new Map;let c=0;function f(){return!ye("recoil_memory_managament_2020")||c>0}function p(E){return E.getState().knownSelectors.add(n),c++,()=>{c--}}function v(){return AL(n)!==void 0&&!f()}function g(E,L,A,J,F){X(L,J,F),y(E,A)}function y(E,L){K(E,L)&&ue(E),h(L,!0)}function S(E,L){K(E,L)&&(ke(M(E)).stateVersions.clear(),h(L,!1))}function h(E,L){const A=Ja.get(E);if(A!=null){for(const J of A)zm(J,ke(t));L&&Ja.delete(E)}}function d(E,L){let A=Ja.get(L);A==null&&Ja.set(L,A=new Set),A.add(E)}function m(E,L,A,J,F,z){return L.then(Z=>{if(!f())throw ue(E),ai;const Y=nc(Z);return g(E,A,F,Y,J),Z}).catch(Z=>{if(!f())throw ue(E),ai;if(xe(Z))return _(E,Z,A,J,F,z);const Y=Ya(Z);throw g(E,A,F,Y,J),Z})}function _(E,L,A,J,F,z){return L.then(Z=>{if(!f())throw ue(E),ai;z.loadingDepKey!=null&&z.loadingDepPromise===L?A.atomValues.set(z.loadingDepKey,nc(Z)):E.getState().knownSelectors.forEach(de=>{A.atomValues.delete(de)});const Y=T(E,A);if(Y&&Y.state!=="loading"){if((K(E,F)||M(E)==null)&&y(E,F),Y.state==="hasValue")return Y.contents;throw Y.contents}if(!K(E,F)){const de=W(E,A);if(de!=null)return de.loadingLoadable.contents}const[he,we]=C(E,A,F);if(he.state!=="loading"&&g(E,A,F,he,we),he.state==="hasError")throw he.contents;return he.contents}).catch(Z=>{if(Z instanceof Mw)throw ai;if(!f())throw ue(E),ai;const Y=Ya(Z);throw g(E,A,F,Y,J),Z})}function x(E,L,A,J){var F,z,Z,Y;if(K(E,J)||L.version===((F=E.getState())===null||F===void 0||(z=F.currentTree)===null||z===void 0?void 0:z.version)||L.version===((Z=E.getState())===null||Z===void 0||(Y=Z.nextTree)===null||Y===void 0?void 0:Y.version)){var he,we,de;NL(n,A,E,(he=(we=E.getState())===null||we===void 0||(de=we.nextTree)===null||de===void 0?void 0:de.version)!==null&&he!==void 0?he:E.getState().currentTree.version)}for(const Se of A)a.add(Se)}function C(E,L,A){const J=UL(n);let F=!0,z=!0;const Z=()=>{J(),z=!1};let Y,he=!1,we;const de={loadingDepKey:null,loadingDepPromise:null},Se=new Map;function rt({key:Et}){const dt=Xa(E,L,Et);switch(Se.set(Et,dt),F||(x(E,L,new Set(Se.keys()),A),S(E,A)),dt.state){case"hasValue":return dt.contents;case"hasError":throw dt.contents;case"loading":throw de.loadingDepKey=Et,de.loadingDepPromise=dt.contents,dt.contents}throw ae("Invalid Loadable state")}const dr=Et=>(...dt)=>{if(z)throw ae("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&hi(!1),$L(E,Et,dt,{node:t})};try{Y=r({get:rt,getCallback:dr}),Y=DL(Y)?rt(Y):Y,kL(Y)&&(Y.state==="hasError"&&(he=!0),Y=Y.contents),xe(Y)?Y=m(E,Y,L,Se,A,de).finally(Z):Z(),Y=Y instanceof Dw?Y.value:Y}catch(Et){Y=Et,xe(Y)?Y=_(E,Y,L,Se,A,de).finally(Z):(he=!0,Z())}return he?we=Ya(Y):xe(Y)?we=OL(Y):we=nc(Y),F=!1,pe(E,A,Se),x(E,L,new Set(Se.keys()),A),[we,Se]}function T(E,L){let A=L.atomValues.get(n);if(A!=null)return A;const J=new Set;try{A=s.get(z=>(typeof z!="string"&&hi(!1),Xa(E,L,z).contents),{onNodeVisit:z=>{z.type==="branch"&&z.nodeKey!==n&&J.add(z.nodeKey)}})}catch(z){throw ae(`Problem with cache lookup for selector "${n}": ${z.message}`)}if(A){var F;L.atomValues.set(n,A),x(E,L,J,(F=M(E))===null||F===void 0?void 0:F.executionID)}return A}function N(E,L){const A=T(E,L);if(A!=null)return ue(E),A;const J=W(E,L);if(J!=null){var F;return((F=J.loadingLoadable)===null||F===void 0?void 0:F.state)==="loading"&&d(E,J.executionID),J.loadingLoadable}const z=FL(),[Z,Y]=C(E,L,z);return Z.state==="loading"?(ee(E,z,Z,Y,L),d(E,z)):(ue(E),X(L,Z,Y)),Z}function W(E,L){const A=iw([u.has(E)?[ke(u.get(E))]:[],Wl(vp(u,([F])=>F!==E),([,F])=>F)]);function J(F){for(const[z,Z]of F)if(!Xa(E,L,z).is(Z))return!0;return!1}for(const F of A){if(F.stateVersions.get(L.version)||!J(F.depValuesDiscoveredSoFarDuringAsyncWork))return F.stateVersions.set(L.version,!0),F;F.stateVersions.set(L.version,!1)}}function M(E){return u.get(E)}function ee(E,L,A,J,F){u.set(E,{depValuesDiscoveredSoFarDuringAsyncWork:J,executionID:L,loadingLoadable:A,stateVersions:new Map([[F.version,!0]])})}function pe(E,L,A){if(K(E,L)){const J=M(E);J!=null&&(J.depValuesDiscoveredSoFarDuringAsyncWork=A)}}function ue(E){u.delete(E)}function K(E,L){var A;return L===((A=M(E))===null||A===void 0?void 0:A.executionID)}function j(E){return Array.from(E.entries()).map(([L,A])=>[L,A.contents])}function X(E,L,A){E.atomValues.set(n,L);try{s.set(j(A),L)}catch(J){throw ae(`Problem with setting cache for selector "${n}": ${J.message}`)}}function O(E){if(si.includes(n)){const L=`Recoil selector has circular dependencies: ${si.slice(si.indexOf(n)).join(" → ")}`;return Ya(ae(L))}si.push(n);try{return E()}finally{si.pop()}}function P(E,L){const A=L.atomValues.get(n);return A??s.get(J=>{var F;return typeof J!="string"&&hi(!1),(F=TL(E,L,J))===null||F===void 0?void 0:F.contents})}function H(E,L){return O(()=>N(E,L))}function $(E){E.atomValues.delete(n)}function U(E,L){t==null&&hi(!1);for(const J of a){var A;const F=IL(J);(A=F.clearCache)===null||A===void 0||A.call(F,E,L)}a.clear(),$(L),s.clear(),zm(E,t)}return i!=null?t=jm({key:n,nodeType:"selector",peek:P,get:H,set:(L,A,J)=>{let F=!1;const z=new Map;function Z({key:de}){if(F)throw ae("Recoil: Async selector sets are not currently supported.");const Se=Xa(L,A,de);if(Se.state==="hasValue")return Se.contents;if(Se.state==="loading"){const rt=`Getting value of asynchronous atom or selector "${de}" in a pending state while setting selector "${n}" is not yet supported.`;throw ae(rt)}else throw Se.contents}function Y(de,Se){if(F)throw ae("Recoil: Async selector sets are not currently supported.");const rt=typeof Se=="function"?Se(Z(de)):Se;PL(L,A,de.key,rt).forEach((Et,dt)=>z.set(dt,Et))}function he(de){Y(de,LL)}const we=i({set:Y,get:Z,reset:he},J);if(we!==void 0)throw xe(we)?ae("Recoil: Async selector sets are not currently supported."):ae("Recoil: selector set should be a void function.");return F=!0,z},init:p,invalidate:$,clearCache:U,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l}):t=jm({key:n,nodeType:"selector",peek:P,get:H,init:p,invalidate:$,clearCache:U,shouldDeleteConfigOnRelease:v,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l})}$w.value=e=>new Dw(e);var No=$w;const{isLoadable:jL,loadableWithError:rc,loadableWithPromise:oc,loadableWithValue:Hr}=Sa,{WrappedValue:Uw}=Lw,{peekNodeInfo:zL}=cr,{DEFAULT_VALUE:gr,DefaultValue:Mn,getConfigDeletionHandler:Fw,registerNode:BL,setConfigDeletionHandler:VL}=ft,{isRecoilValue:WL}=Oo,{getRecoilValueAsLoadable:HL,markRecoilValueModified:KL,setRecoilValue:Bm,setRecoilValueLoadable:QL}=dn,{retainedByOptionWithDefault:qL}=Ur,li=e=>e instanceof Uw?e.value:e;function GL(e){const{key:t,persistence_UNSTABLE:n}=e,r=qL(e.retainedBy_UNSTABLE);let o=0;function i(d){return oc(d.then(m=>(a=Hr(m),m)).catch(m=>{throw a=rc(m),m}))}let a=xe(e.default)?i(e.default):jL(e.default)?e.default.state==="loading"?i(e.default.contents):e.default:Hr(li(e.default));a.contents;let s;const l=new Map;function u(d){return d}function c(d,m){const _=m.then(x=>{var C,T;return((T=((C=d.getState().nextTree)!==null&&C!==void 0?C:d.getState().currentTree).atomValues.get(t))===null||T===void 0?void 0:T.contents)===_&&Bm(d,h,x),x}).catch(x=>{var C,T;throw((T=((C=d.getState().nextTree)!==null&&C!==void 0?C:d.getState().currentTree).atomValues.get(t))===null||T===void 0?void 0:T.contents)===_&&QL(d,h,rc(x)),x});return _}function f(d,m,_){var x;o++;const C=()=>{var M;o--,(M=l.get(d))===null||M===void 0||M.forEach(ee=>ee()),l.delete(d)};if(d.getState().knownAtoms.add(t),a.state==="loading"){const M=()=>{var ee;((ee=d.getState().nextTree)!==null&&ee!==void 0?ee:d.getState().currentTree).atomValues.has(t)||KL(d,h)};a.contents.finally(M)}const T=(x=e.effects)!==null&&x!==void 0?x:e.effects_UNSTABLE;if(T!=null){let K=function($){if(ee&&$.key===t){const U=M;return U instanceof Mn?p(d,m):xe(U)?oc(U.then(E=>E instanceof Mn?a.toPromise():E)):Hr(U)}return HL(d,$)},j=function($){return K($).toPromise()},X=function($){var U;const E=zL(d,(U=d.getState().nextTree)!==null&&U!==void 0?U:d.getState().currentTree,$.key);return ee&&$.key===t&&!(M instanceof Mn)?{...E,isSet:!0,loadable:K($)}:E},M=gr,ee=!0,pe=!1,ue=null;const O=$=>U=>{if(ee){const E=K(h),L=E.state==="hasValue"?E.contents:gr;M=typeof U=="function"?U(L):U,xe(M)&&(M=M.then(A=>(ue={effect:$,value:A},A)))}else{if(xe(U))throw ae("Setting atoms to async values is not implemented.");typeof U!="function"&&(ue={effect:$,value:li(U)}),Bm(d,h,typeof U=="function"?E=>{const L=li(U(E));return ue={effect:$,value:L},L}:li(U))}},P=$=>()=>O($)(gr),H=$=>U=>{var E;const{release:L}=d.subscribeToTransactions(A=>{var J;let{currentTree:F,previousTree:z}=A.getState();z||(z=F);const Z=(J=F.atomValues.get(t))!==null&&J!==void 0?J:a;if(Z.state==="hasValue"){var Y,he,we,de;const Se=Z.contents,rt=(Y=z.atomValues.get(t))!==null&&Y!==void 0?Y:a,dr=rt.state==="hasValue"?rt.contents:gr;((he=ue)===null||he===void 0?void 0:he.effect)!==$||((we=ue)===null||we===void 0?void 0:we.value)!==Se?U(Se,dr,!F.atomValues.has(t)):((de=ue)===null||de===void 0?void 0:de.effect)===$&&(ue=null)}},t);l.set(d,[...(E=l.get(d))!==null&&E!==void 0?E:[],L])};for(const $ of T)try{const U=$({node:h,storeID:d.storeID,parentStoreID_UNSTABLE:d.parentStoreID,trigger:_,setSelf:O($),resetSelf:P($),onSet:H($),getPromise:j,getLoadable:K,getInfo_UNSTABLE:X});if(U!=null){var N;l.set(d,[...(N=l.get(d))!==null&&N!==void 0?N:[],U])}}catch(U){M=U,pe=!0}if(ee=!1,!(M instanceof Mn)){var W;const $=pe?rc(M):xe(M)?oc(c(d,M)):Hr(li(M));$.contents,m.atomValues.set(t,$),(W=d.getState().nextTree)===null||W===void 0||W.atomValues.set(t,$)}}return C}function p(d,m){var _,x;return(_=(x=m.atomValues.get(t))!==null&&x!==void 0?x:s)!==null&&_!==void 0?_:a}function v(d,m){if(m.atomValues.has(t))return ke(m.atomValues.get(t));if(m.nonvalidatedAtoms.has(t)){if(s!=null)return s;if(n==null)return a;const _=m.nonvalidatedAtoms.get(t),x=n.validator(_,gr);return s=x instanceof Mn?a:Hr(x),s}else return a}function g(){s=void 0}function y(d,m,_){if(m.atomValues.has(t)){const x=ke(m.atomValues.get(t));if(x.state==="hasValue"&&_===x.contents)return new Map}else if(!m.nonvalidatedAtoms.has(t)&&_ instanceof Mn)return new Map;return s=void 0,new Map().set(t,Hr(_))}function S(){return Fw(t)!==void 0&&o<=0}const h=BL({key:t,nodeType:"atom",peek:p,get:v,set:y,init:f,invalidate:g,shouldDeleteConfigOnRelease:S,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return h}function xp(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return WL(n)?YL({...t,default:n}):GL({...t,default:n})}function YL(e){const t=xp({...e,default:gr,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof Mn?r:ke(e.persistence_UNSTABLE).validator(r,gr)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=No({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Mn?e.default:o},set:({set:r},o)=>r(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return VL(n.key,Fw(e.key)),n}xp.value=e=>new Uw(e);var jw=xp;class XL{constructor(t){var n;ie(this,"_map",void 0),ie(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(n=t==null?void 0:t.mapKey)!==null&&n!==void 0?n:r=>r}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,n){this._map.set(this._keyMapper(t),n)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}var JL={MapCache:XL},ZL=JL.MapCache,eA=Object.freeze({__proto__:null,MapCache:ZL});const{LRUCache:Vm}=Iw,{MapCache:tA}=eA,Za={equality:"reference",eviction:"none",maxSize:1/0};function nA({equality:e=Za.equality,eviction:t=Za.eviction,maxSize:n=Za.maxSize}=Za){const r=rA(e);return oA(t,n,r)}function rA(e){switch(e){case"reference":return t=>t;case"value":return t=>nu(t)}throw ae(`Unrecognized equality policy ${e}`)}function oA(e,t,n){switch(e){case"keep-all":return new tA({mapKey:n});case"lru":return new Vm({mapKey:n,maxSize:ke(t)});case"most-recent":return new Vm({mapKey:n,maxSize:1})}throw ae(`Unrecognized eviction policy ${e}`)}var zw=nA;const{setConfigDeletionHandler:iA}=ft;function aA(e){var t,n;const r=zw({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var i,a;const s=r.get(o);if(s!=null)return s;const{cachePolicyForParams_UNSTABLE:l,...u}=e,c="default"in e?e.default:new Promise(()=>{}),f=jw({...u,key:`${e.key}__${(i=nu(o))!==null&&i!==void 0?i:"void"}`,default:typeof c=="function"?c(o):c,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(o):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):(a=e.effects)!==null&&a!==void 0?a:e.effects_UNSTABLE});return r.set(o,f),iA(f.key,()=>{r.delete(o)}),f}}var sA=aA;const{setConfigDeletionHandler:lA}=ft;let uA=0;function cA(e){var t,n;const r=zw({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var i;let a;try{a=r.get(o)}catch(p){throw ae(`Problem with cache lookup for selector ${e.key}: ${p.message}`)}if(a!=null)return a;const s=`${e.key}__selectorFamily/${(i=nu(o,{allowFunctions:!0}))!==null&&i!==void 0?i:"void"}/${uA++}`,l=p=>e.get(o)(p),u=e.cachePolicy_UNSTABLE,c=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let f;if(e.set!=null){const p=e.set;f=No({key:s,get:l,set:(g,y)=>p(o)(g,y),cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else f=No({key:s,get:l,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(o,f),lA(f.key,()=>{r.delete(o)}),f}}var fr=cA;const fA=fr({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function dA(e){return fA(e)}var pA=dA;const hA=fr({key:"__error",get:e=>()=>{throw ae(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function vA(e){return hA(e)}var mA=vA;function gA(e){return e}var yA=gA;const{loadableWithError:Bw,loadableWithPromise:Vw,loadableWithValue:Ww}=Sa;function ru(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,i]of t.entries())try{n[o]=e(i)}catch(a){r[o]=a}return[n,r]}function wA(e){return e!=null&&!xe(e)}function ou(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Df(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>({...n,[r]:t[o]}),{})}function vo(e,t,n){const r=n.map((o,i)=>o==null?Ww(t[i]):xe(o)?Vw(o):Bw(o));return Df(e,r)}function SA(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const _A=fr({key:"__waitForNone",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return vo(e,r,o)},dangerouslyAllowMutability:!0}),bA=fr({key:"__waitForAny",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return o.some(i=>!xe(i))?vo(e,r,o):new Promise(i=>{for(const[a,s]of o.entries())xe(s)&&s.then(l=>{r[a]=l,o[a]=void 0,i(vo(e,r,o))}).catch(l=>{o[a]=l,i(vo(e,r,o))})})},dangerouslyAllowMutability:!0}),EA=fr({key:"__waitForAll",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);if(o.every(a=>a==null))return Df(e,r);const i=o.find(wA);if(i!=null)throw i;return Promise.all(o).then(a=>Df(e,SA(r,a)))},dangerouslyAllowMutability:!0}),CA=fr({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=ou(e),[r,o]=ru(t,n);return o.every(i=>!xe(i))?vo(e,r,o):Promise.all(o.map((i,a)=>xe(i)?i.then(s=>{r[a]=s,o[a]=void 0}).catch(s=>{r[a]=void 0,o[a]=s}):null)).then(()=>vo(e,r,o))},dangerouslyAllowMutability:!0}),RA=fr({key:"__noWait",get:e=>({get:t})=>{try{return No.value(Ww(t(e)))}catch(n){return No.value(xe(n)?Vw(n):Bw(n))}},dangerouslyAllowMutability:!0});var xA={waitForNone:_A,waitForAny:bA,waitForAll:EA,waitForAllSettled:CA,noWait:RA};const{RecoilLoadable:kA}=Sa,{DefaultValue:OA}=ft,{RecoilRoot:TA,useRecoilStoreID:PA}=kn,{isRecoilValue:NA}=Oo,{retentionZone:LA}=Kl,{freshSnapshot:AA}=Xl,{useRecoilState:IA,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:DA,useRecoilStateLoadable:MA,useRecoilValue:$A,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:UA,useRecoilValueLoadable:FA,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:jA,useResetRecoilState:zA,useSetRecoilState:BA}=JP,{useGotoRecoilSnapshot:VA,useRecoilSnapshot:WA,useRecoilTransactionObserver:HA}=kw,{useRecoilCallback:KA}=Nw,{noWait:QA,waitForAll:qA,waitForAllSettled:GA,waitForAny:YA,waitForNone:XA}=xA;var kp={DefaultValue:OA,isRecoilValue:NA,RecoilLoadable:kA,RecoilEnv:N1,RecoilRoot:TA,useRecoilStoreID:PA,useRecoilBridgeAcrossReactRoots_UNSTABLE:RN,atom:jw,selector:No,atomFamily:sA,selectorFamily:fr,constSelector:pA,errorSelector:mA,readOnlySelector:yA,noWait:QA,waitForNone:XA,waitForAny:YA,waitForAll:qA,waitForAllSettled:GA,useRecoilValue:$A,useRecoilValueLoadable:FA,useRecoilState:IA,useRecoilStateLoadable:MA,useSetRecoilState:BA,useResetRecoilState:zA,useGetRecoilValueInfo_UNSTABLE:wN,useRecoilRefresher_UNSTABLE:eL,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:jA,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:UA,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:DA,useRecoilCallback:KA,useRecoilTransaction_UNSTABLE:iL,useGotoRecoilSnapshot:VA,useRecoilSnapshot:WA,useRecoilTransactionObserver_UNSTABLE:HA,snapshot_UNSTABLE:AA,useRetain:_p,retentionZone:LA},JA=kp.RecoilRoot,ZA=kp.atom,gU=kp.useRecoilState;function Mf(){return Mf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Op=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=eI(e,["color","size"]);return q.createElement("svg",Mf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("polyline",{points:"20 6 9 17 4 12"}))});Op.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Op.displayName="Check";const nI=Op;function $f(){return $f=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Tp=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=rI(e,["color","size"]);return q.createElement("svg",$f({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),q.createElement("line",{x1:"1",y1:"1",x2:"23",y2:"23"}))});Tp.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Tp.displayName="EyeOff";const iI=Tp;function Uf(){return Uf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function sI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Pp=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=aI(e,["color","size"]);return q.createElement("svg",Uf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),q.createElement("circle",{cx:"12",cy:"12",r:"3"}))});Pp.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Pp.displayName="Eye";const lI=Pp;function Ff(){return Ff=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function cI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Np=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=uI(e,["color","size"]);return q.createElement("svg",Ff({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"}))});Np.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Np.displayName="GitHub";const fI=Np;function jf(){return jf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Lp=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=dI(e,["color","size"]);return q.createElement("svg",jf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("circle",{cx:"12",cy:"12",r:"10"}),q.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),q.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"}))});Lp.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Lp.displayName="Info";const hI=Lp;function zf(){return zf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function mI(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var Ap=w.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=vI(e,["color","size"]);return q.createElement("svg",zf({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),q.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))});Ap.propTypes={color:ge.string,size:ge.oneOfType([ge.string,ge.number])};Ap.displayName="X";const gI=Ap;function yI(e,t){let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function Hw(e){return e.replace(/\/$/,"")}function yU(e,t){let n=String(e);for(;n.length1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Ip(e)?2:Dp(e)?3:0}function Bf(e,t){return zo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function RI(e,t){return zo(e)===2?e.get(t):e[t]}function Gw(e,t,n){var r=zo(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function xI(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ip(e){return PI&&e instanceof Map}function Dp(e){return NI&&e instanceof Set}function mr(e){return e.o||e.t}function Mp(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=AI(e);delete t[gt];for(var n=jp(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=kI),Object.freeze(e),t&&ea(e,function(n,r){return $p(r,!0)},!0)),e}function kI(){Kt(2)}function Up(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function un(e){var t=II[e];return t||Kt(18,e),t}function Hm(){return ta}function ic(e,t){t&&(un("Patches"),e.u=[],e.s=[],e.v=t)}function cl(e){Vf(e),e.p.forEach(OI),e.p=null}function Vf(e){e===ta&&(ta=e.l)}function Km(e){return ta={p:[],l:ta,h:e,m:!0,_:0}}function OI(e){var t=e[gt];t.i===0||t.i===1?t.j():t.O=!0}function ac(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||un("ES5").S(t,e,r),r?(n[gt].P&&(cl(t),Kt(4)),Ar(e)&&(e=fl(t,e),t.l||dl(t,e)),t.u&&un("Patches").M(n[gt].t,e,t.u,t.s)):e=fl(t,n,[]),cl(t),t.u&&t.v(t.u,t.s),e!==Yw?e:void 0}function fl(e,t,n){if(Up(t))return t;var r=t[gt];if(!r)return ea(t,function(s,l){return Qm(e,r,t,s,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return dl(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Mp(r.k):r.o,i=o,a=!1;r.i===3&&(i=new Set(o),o.clear(),a=!0),ea(i,function(s,l){return Qm(e,r,o,s,l,n,a)}),dl(e,o,!1),n&&e.u&&un("Patches").N(r,n,e.u,e.s)}return r.o}function Qm(e,t,n,r,o,i,a){if(Lo(o)){var s=fl(e,o,i&&t&&t.i!==3&&!Bf(t.R,r)?i.concat(r):void 0);if(Gw(n,r,s),!Lo(s))return;e.m=!1}else a&&n.add(o);if(Ar(o)&&!Up(o)){if(!e.h.D&&e._<1)return;fl(e,o),t&&t.A.l||dl(e,o)}}function dl(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&$p(t,n)}function sc(e,t){var n=e[gt];return(n?mr(n):e)[t]}function qm(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Wf(e){e.P||(e.P=!0,e.l&&Wf(e.l))}function lc(e){e.o||(e.o=Mp(e.t))}function Hf(e,t,n){var r=Ip(t)?un("MapSet").F(t,n):Dp(t)?un("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Hm(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,u=Kf;a&&(l=[s],u=vi);var c=Proxy.revocable(l,u),f=c.revoke,p=c.proxy;return s.k=p,s.j=f,p}(t,n):un("ES5").J(t,n);return(n?n.A:Hm()).p.push(r),r}function TI(e){return Lo(e)||Kt(22,e),function t(n){if(!Ar(n))return n;var r,o=n[gt],i=zo(n);if(o){if(!o.P&&(o.i<4||!un("ES5").K(o)))return o.t;o.I=!0,r=Gm(n,i),o.I=!1}else r=Gm(n,i);return ea(r,function(a,s){o&&RI(o.t,a)===s||Gw(r,a,t(s))}),i===3?new Set(r):r}(e)}function Gm(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Mp(e)}var Ym,ta,Fp=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",PI=typeof Map<"u",NI=typeof Set<"u",Xm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yw=Fp?Symbol.for("immer-nothing"):((Ym={})["immer-nothing"]=!0,Ym),Jm=Fp?Symbol.for("immer-draftable"):"__$immer_draftable",gt=Fp?Symbol.for("immer-state"):"__$immer_state",LI=""+Object.prototype.constructor,jp=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,AI=Object.getOwnPropertyDescriptors||function(e){var t={};return jp(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},II={},Kf={get:function(e,t){if(t===gt)return e;var n=mr(e);if(!Bf(n,t))return function(o,i,a){var s,l=qm(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!Ar(r)?r:r===sc(e.t,t)?(lc(e),e.o[t]=Hf(e.A.h,r,e)):r},has:function(e,t){return t in mr(e)},ownKeys:function(e){return Reflect.ownKeys(mr(e))},set:function(e,t,n){var r=qm(mr(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=sc(mr(e),t),i=o==null?void 0:o[gt];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(xI(n,o)&&(n!==void 0||Bf(e.t,t)))return!0;lc(e),Wf(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return sc(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,lc(e),Wf(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=mr(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Kt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Kt(12)}},vi={};ea(Kf,function(e,t){vi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),vi.deleteProperty=function(e,t){return vi.set.call(this,e,t,void 0)},vi.set=function(e,t,n){return Kf.set.call(this,e[0],t,n,e[0])};var DI=function(){function e(n){var r=this;this.g=Xm,this.D=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=r;return function(y){var S=this;y===void 0&&(y=s);for(var h=arguments.length,d=Array(h>1?h-1:0),m=1;m1?c-1:0),p=1;p=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=un("Patches").$;return Lo(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),yt=new DI,MI=yt.produce;yt.produceWithPatches.bind(yt);var $I=yt.setAutoFreeze.bind(yt);yt.setUseProxies.bind(yt);yt.applyPatches.bind(yt);yt.createDraft.bind(yt);yt.finishDraft.bind(yt);$I(!1);const{createContext:zp,memo:UI,useMemo:FI,useRef:jI,useEffect:zI,useCallback:Zm,useContext:Qf,useState:BI}=q,Xw=zp(null),Jw=zp(null),Zw=zp(null);function VI(){return Qf(Zw)}function WI({initialState:e,actions:t={},children:n}){const r=jI(e),[o,i]=BI(e),a=Zm(()=>r.current,[]);zI(()=>{},[a]);const s=Zm((u,c)=>{if(typeof u=="function")return u(s,a);const f=MI(a(),c);f!==r.current&&(r.current=f,i(f))},[a]),l=FI(()=>eS(t,s),[t,s]);return R(Xw.Provider,{value:o,children:R(Jw.Provider,{value:s,children:R(Zw.Provider,{value:l,children:n})})})}function On(e){return t=>{const n=UI(t);function r(o){const i=Qf(Xw),a=Qf(Jw),s=e(i,o),l={dispatch:a,...o,...s};return R(n,{...l})}return r}}function HI(e,t){return function(...n){return t(e.apply(this,n))}}function eS(e,t){const n={};for(const r in e){const o=e[r];typeof o=="function"?n[r]=HI(o,t):typeof o=="object"&&(n[r]=eS(o,t))}return n}const tS="yacd.haishan.me";function KI(){try{const e=localStorage.getItem(tS);return e?JSON.parse(e):void 0}catch{return}}function Fr(e){try{const t=JSON.stringify(e);localStorage.setItem(tS,t)}catch{}}const nS="/configs";async function rS(e){const{url:t,init:n}=_t(e);return await fetch(t+nS,n)}function QI(e){return"socks-port"in e&&(e["socket-port"]=e["socks-port"]),e}async function qI(e,t){const{url:n,init:r}=_t(e),o=JSON.stringify(QI(t));return await fetch(n+nS,{...r,body:o,method:"PATCH"})}const oS="/traffic",GI=new TextDecoder("utf-8"),es=150,na={labels:Array(es).fill(0),up:Array(es),down:Array(es),size:es,subscribers:[],appendData(e){this.up.shift(),this.down.shift(),this.labels.shift();const t=Date.now();this.up.push(e.up),this.down.push(e.down),this.labels.push(t),this.subscribers.forEach(n=>n(e))},subscribe(e){return this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}}};let ao=!1,ts="";function qf(e){na.appendData(JSON.parse(e))}function iS(e){return e.read().then(({done:t,value:n})=>{const r=GI.decode(n,{stream:!t});ts+=r;const o=ts.split(` +`),i=o[o.length-1];for(let a=0;a{if(r.ok){const o=r.body.getReader();iS(o)}else ao=!1},r=>{console.log("fetch /traffic error",r),ao=!1}),na}function eg(e){return t=>{t(`openModal:${e}`,n=>{n.modals[e]=!0})}}function XI(e){return t=>{t(`closeModal:${e}`,n=>{n.modals[e]=!1})}}const JI={apiConfig:!1},SU=e=>e.configs.configs,ZI=e=>e.configs.haveFetchedConfig,_U=e=>e.configs.configs["log-level"];function aS(e){return async(t,n)=>{let r;try{r=await rS(e)}catch{t(eg("apiConfig"));return}if(!r.ok){console.log("Error fetch configs",r.statusText),t(eg("apiConfig"));return}const o=await r.json();t("store/configs#fetchConfigs",a=>{a.configs.configs=o}),ZI(n())?Bp(e):t(eD())}}function eD(){return e=>{e("store/configs#markHaveFetchedConfig",t=>{t.configs.haveFetchedConfig=!0})}}function bU(e,t){return async n=>{qI(e,t).then(r=>{r.ok===!1&&console.log("Error update configs",r.statusText)},r=>{throw console.log("Error update configs",r),r}).then(()=>{n(aS(e))}),n("storeConfigsOptimisticUpdateConfigs",r=>{r.configs.configs={...r.configs.configs,...t}})}}const tD={configs:{port:7890,"socks-port":7891,"redir-port":0,"allow-lan":!1,mode:"Rule","log-level":"uninit"},haveFetchedConfig:!1},Bo=e=>{const t=e.app.selectedClashAPIConfigIndex;return e.app.clashAPIConfigs[t]},sS=e=>e.app.selectedClashAPIConfigIndex,Vp=e=>e.app.clashAPIConfigs,Wp=e=>e.app.theme,nD=e=>e.app.selectedChartStyleIndex,lS=e=>e.app.latencyTestUrl,EU=e=>e.app.collapsibleIsOpen,CU=e=>e.app.proxySortBy,RU=e=>e.app.hideUnavailableProxies,rD=e=>e.app.autoCloseOldConns,xU=e=>e.app.logStreamingPaused,oD=yI(Fr,600);function Hp(e,{baseURL:t,secret:n,metaLabel:r}){const o=Vp(e());for(let i=0;i{if(Hp(n,e))return;const o={...e,addedAt:Date.now()};t("addClashAPIConfig",i=>{i.app.clashAPIConfigs.push(o)}),Fr(n().app)}}function aD(e){return async(t,n)=>{const r=Hp(n,e);t("removeClashAPIConfig",o=>{o.app.clashAPIConfigs.splice(r,1)}),Fr(n().app)}}function sD(e){return async(t,n)=>{const r=Hp(n,e);sS(n())!==r&&t("selectClashAPIConfig",i=>{i.app.selectedClashAPIConfigIndex=r}),Fr(n().app);try{window.location.reload()}catch{}}}const uc=document.querySelector("html");function cc(e,t){const n=document.createElement("meta");n.setAttribute("name","theme-color"),n.setAttribute("content",e),t&&n.setAttribute("media",t),document.head.appendChild(n)}function lD(e){const t=Array.from(document.querySelectorAll("meta[name=theme-color]"));let n;for(const r of t)r.getAttribute("media")?document.head.removeChild(r):n=r;if(e==="auto")if(cc("#eeeeee","(prefers-color-scheme: light)"),cc("#202020","(prefers-color-scheme: dark)"),n)document.head.removeChild(n);else return;else{const r=e==="light"?"#eeeeee":"#202020";n?n.setAttribute("content",r):cc(r)}}function uS(e="dark"){e==="auto"?uc.setAttribute("data-theme","auto"):e==="dark"?uc.setAttribute("data-theme","dark"):uc.setAttribute("data-theme","light"),lD(e)}function uD(e="auto"){return(t,n)=>{Wp(n())!==e&&(uS(e),t("storeSwitchTheme",o=>{o.app.theme=e}),Fr(n().app))}}function cD(e){return(t,n)=>{t("appSelectChartStyleIndex",r=>{r.app.selectedChartStyleIndex=Number(e)}),Fr(n().app)}}function tg(e,t){return(n,r)=>{n("appUpdateAppConfig",o=>{o.app[e]=t}),Fr(r().app)}}function fD(e,t,n){return(r,o)=>{r("updateCollapsibleIsOpen",i=>{i.app.collapsibleIsOpen[`${e}:${t}`]=n}),oD(o().app)}}var Og;const dD={baseURL:((Og=document.getElementById("app"))==null?void 0:Og.getAttribute("data-base-url"))??"http://127.0.0.1:9090",secret:"",addedAt:0},pD={selectedClashAPIConfigIndex:0,clashAPIConfigs:[dD],latencyTestUrl:"http://www.gstatic.com/generate_204",selectedChartStyleIndex:0,theme:"dark",collapsibleIsOpen:{},proxySortBy:"Natural",hideUnavailableProxies:!1,autoCloseOldConns:!1,logStreamingPaused:!1};function hD(){const{search:e}=window.location,t={};if(typeof e!="string"||e==="")return t;const n=e.replace(/^\?/,"").split("&");for(let r=0;r_I("/version",e.apiConfig));return se(wn,{children:[R(qw,{title:"About"}),t&&t.version?R(ng,{name:"Clash",version:t.version,link:"https://github.com/Dreamacro/clash"}):null,R(ng,{name:"Yacd",version:"0.3.8",link:"https://github.com/haishanh/yacd"})]})}const SD=e=>({apiConfig:Bo(e)}),_D=On(SD)(wD),bD="_loading_74j3j_1",ED="_spinner_74j3j_9",CD="_rotate_74j3j_1",rg={loading:bD,spinner:ED,rotate:CD},cS=({height:e})=>{const t=e?{height:e}:{};return R("div",{className:rg.loading,style:t,children:R("div",{className:rg.spinner})})},RD=e=>({apiConfig:Bo(e),apiConfigs:Vp(e)});function xD({apiConfig:e,apiConfigs:t}){return w.useEffect(()=>{let n="yacd";if(t.length>1)try{n=`${e.metaLabel||new URL(e.baseURL).host} - yacd`}catch{}document.title=n}),R(wn,{})}const kD=On(RD)(xD),OD=new c1,TD=new A2({queryCache:OD,defaultOptions:{queries:{suspense:!0}}});var pl="NOT_FOUND";function PD(e){var t;return{get:function(r){return t&&e(t.key,r)?t.value:pl},put:function(r,o){t={key:r,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function ND(e,t){var n=[];function r(s){var l=n.findIndex(function(c){return t(s,c.key)});if(l>-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return pl}function o(s,l){r(s)===pl&&(n.unshift({key:s,value:l}),n.length>e&&n.pop())}function i(){return n}function a(){n=[]}return{get:r,put:o,getEntries:i,clear:a}}var LD=function(t,n){return t===n};function AD(e){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var o=n.length,i=0;i1?t-1:0),r=1;re.logs.logs,dS=e=>e.logs.tail,UD=e=>e.logs.searchText,kU=$D(fS,dS,UD,(e,t,n)=>{const r=[];for(let o=t;o>=0;o--)r.push(e[o]);if(e.length===Gf)for(let o=Gf-1;o>t;o--)r.push(e[o]);return n===""?r:r.filter(o=>o.payload.toLowerCase().indexOf(n)>=0)});function OU(e){return t=>{t("logsUpdateSearchText",n=>{n.logs.searchText=e.toLowerCase()})}}function TU(e){return(t,n)=>{const r=n(),o=fS(r),i=dS(r),a=i>=Gf-1?0:i+1;o[a]=e,t("logsAppendLog",s=>{s.logs.tail=a})}}const FD={searchText:"",logs:[],tail:-1},iu="/connections",ws=[];function jD(e){let t;try{t=JSON.parse(e)}catch{console.log("JSON.parse error",JSON.parse(e))}ws.forEach(n=>n(t))}let dc;function zD(e,t){if(dc===1&&t)return og(t);dc=1;const n=Qw(e,iu),r=new WebSocket(n);if(r.addEventListener("error",()=>dc=3),r.addEventListener("message",o=>jD(o.data)),t)return og(t)}function og(e){return ws.push(e),function(){const n=ws.indexOf(e);ws.splice(n,1)}}async function PU(e){const{url:t,init:n}=_t(e);return await fetch(t+iu,{...n,method:"DELETE"})}async function BD(e){const{url:t,init:n}=_t(e);return await fetch(t+iu,{...n})}async function VD(e,t){const{url:n,init:r}=_t(e),o=`${n}${iu}/${t}`;return await fetch(o,{...r,method:"DELETE"})}const Kp="/proxies";async function WD(e){const{url:t,init:n}=_t(e);return await(await fetch(t+Kp,n)).json()}async function HD(e,t,n){const r={name:n},{url:o,init:i}=_t(e),a=encodeURIComponent(t),s=`${o}${Kp}/${a}`;return await fetch(s,{...i,method:"PUT",body:JSON.stringify(r)})}async function pS(e,t,n="http://www.gstatic.com/generate_204"){const{url:r,init:o}=_t(e),i=`timeout=5000&url=${encodeURIComponent(n)}`,a=`${r}${Kp}/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function KD(e){const{url:t,init:n}=_t(e),r=await fetch(t+"/providers/proxies",n);return r.status===404?{providers:{}}:await r.json()}async function hS(e,t){const{url:n,init:r}=_t(e),o={...r,method:"PUT"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t),o)}async function QD(e,t){const{url:n,init:r}=_t(e),o={...r,method:"GET"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t)+"/healthcheck",o)}const qD={proxies:{},delay:{},groupNames:[],showModalClosePrevConns:!1},vS=()=>null,GD=["Direct","Reject","Relay","Selector","Fallback","URLTest","LoadBalance","Unknown"],mS=e=>e.proxies.proxies,so=e=>e.proxies.delay,NU=e=>e.proxies.groupNames,YD=e=>e.proxies.proxyProviders||[],XD=e=>e.proxies.dangleProxyNames,LU=e=>e.proxies.showModalClosePrevConns;function JD(e,t){const n={};for(const r of e){const i=(t(r)||{history:[]}).history,a=i[i.length-1];a&&typeof a.delay=="number"&&(n[r]={kind:"Result",number:a.delay})}return n}function Vo(e){return async(t,n)=>{const[r,o]=await Promise.all([WD(e),KD(e)]),{proxyProviders:i,providerProxyRecord:a}=aM(o.providers),s={...a,...r.proxies},[l,u]=iM(s),c={...so(n()),...JD(Object.keys(s),p=>s[p])},f=[];for(const p of u)a[p]||f.push(p);t("store/proxies#fetchProxies",p=>{p.proxies.proxies=s,p.proxies.groupNames=l,p.proxies.dangleProxyNames=f,p.proxies.delay=c,p.proxies.proxyProviders=i})}}function AU(e,t){return async n=>{try{await hS(e,t)}catch{}n(Vo(e))}}function IU(e,t){return async n=>{for(let r=0;r{await Qp(e,t),await n(Vo(e))}}async function ZD(e,t,n){const r=await BD(e);r.ok||console.log("unable to fetch all connections",r.statusText);const i=(await r.json()).connections,a=[];for(const s of i)s.chains.indexOf(t)>-1&&s.chains.indexOf(n)<0&&a.push(s.id);await Promise.all(a.map(s=>VD(e,s).catch(vS)))}function eM(e,t,n){const r=[n,t];let o,i=n;for(;(o=e[i])&&o.now;)r.unshift(o.now),i=o.now;return r}async function tM(e,t,n,r,o){try{if((await HD(n,r,o)).ok===!1)throw new Error("failed to switch proxy: res.statusText")}catch(a){throw console.log(a,"failed to swith proxy"),a}if(e(Vo(n)),rD(t())){const a=mS(t());yS(n,a,{groupName:r,itemName:o})}}function gS(){return e=>{e("closeModalClosePrevConns",t=>{t.proxies.showModalClosePrevConns=!1})}}function yS(e,t,n){const r=eM(t,n.groupName,n.itemName);ZD(e,n.groupName,r[0])}function nM(e){return async(t,n)=>{var a;const r=n(),o=(a=r.proxies.switchProxyCtx)==null?void 0:a.to;if(!o){t(gS());return}const i=r.proxies.proxies;yS(e,i,o),t("closePrevConnsAndTheModal",s=>{s.proxies.showModalClosePrevConns=!1,s.proxies.switchProxyCtx=void 0})}}function MU(e,t,n){return async(r,o)=>{tM(r,o,e,t,n).catch(vS),r("store/proxies#switchProxy",i=>{const a=i.proxies.proxies;a[t]&&a[t].now&&(a[t].now=n)})}}function rM(e,t){return async(n,r)=>{n("set latency state to testing in progress",i=>{i.proxies.delay={...so(r()),[t]:{kind:"Testing"}}});const o=lS(r());try{const i=await pS(e,t,o);if(i.ok){const{delay:a}=await i.json();n("set latency result",s=>{s.proxies.delay={...so(r()),[t]:{kind:"Result",number:a}}})}else n("set latency testing error",a=>{a.proxies.delay={...so(r()),[t]:{kind:"Error",message:i.statusText}}})}catch(i){n("set latency testing networkish error",a=>{a.proxies.delay={...so(r()),[t]:{kind:"Error",message:i.message||i.type}}})}}}function oM(e,t){return async(n,r)=>{const o=mS(r()),i=new Map,a=new Map,s=[];t.forEach(l=>{const u=o[l];u.__provider?u.__provider&&(i.get(l)||(i.set(l,!0),n("set latency state to testing in progress",c=>{c.proxies.delay={...so(r()),[l]:{kind:"Testing"}}})),a.get(u.__provider)||(a.set(u.__provider,!0),s.push(Qp(e,u.__provider)))):i.get(l)||(i.set(l,!0),n(rM(e,l)))}),await Promise.all(s),await n(Vo(e))}}function $U(e){return async(t,n)=>{const r=XD(n()),o=lS(n());await Promise.all(r.map(a=>pS(e,a,o)));const i=YD(n());for(const a of i)await Qp(e,a.name);await t(Vo(e))}}function iM(e){let t=[],n;const r=[];for(const o in e){const i=e[o];i.all&&Array.isArray(i.all)?(t.push(o),o==="GLOBAL"&&(n=Array.from(i.all))):GD.indexOf(i.type)<0&&r.push(o)}return n&&(n.push("GLOBAL"),t=t.map(o=>[n.indexOf(o),o]).sort((o,i)=>o[0]-i[0]).map(o=>o[1])),[t,r]}function aM(e){const t=Object.keys(e),n=[],r={};for(let o=0;on(o=>!o),[]);return[t,r]}function FU(e){const[t,n]=SS(e);return{value:t,set:n}}const dM="_ul_1ore2_1",pM="_li_1ore2_10",hM="_right_1ore2_21",vM="_close_1ore2_32",mM="_eye_1ore2_39",gM="_url_1ore2_54",yM="_secret_1ore2_55",wM="_metaLabel_1ore2_56",SM="_btn_1ore2_62",rn={ul:dM,li:pM,right:hM,close:vM,eye:mM,url:gM,secret:yM,metaLabel:wM,btn:SM},_M=e=>({apiConfigs:Vp(e),selectedClashAPIConfigIndex:sS(e)}),bM=On(_M)(EM);function EM({apiConfigs:e,selectedClashAPIConfigIndex:t}){const{app:{removeClashAPIConfig:n,selectClashAPIConfig:r}}=VI(),o=w.useCallback(a=>{n(a)},[n]),i=w.useCallback(a=>{r(a)},[r]);return R(wn,{children:R("ul",{className:rn.ul,children:e.map((a,s)=>R("li",{className:ir(rn.li,{[rn.isSelected]:s===t}),children:R(CM,{disableRemove:s===t,conf:a,onRemove:o,onSelect:i})},a.baseURL+a.secret+a.metaLabel))})})}function CM({conf:e,disableRemove:t,onRemove:n,onSelect:r}){const[o,i]=fM(),a=o?iI:lI,s=w.useCallback(l=>{l.stopPropagation()},[]);return se(wn,{children:[R(ig,{disabled:t,onClick:()=>n(e),className:rn.close,children:R(gI,{size:20})}),se("div",{className:rn.right,children:[e.metaLabel?se(wn,{children:[R("span",{className:rn.metaLabel,tabIndex:0,role:"button",onClick:()=>r(e),onKeyUp:s,children:e.metaLabel}),R("span",{})]}):null,R("span",{className:rn.url,tabIndex:0,role:"button",onClick:()=>r(e),onKeyUp:s,children:e.baseURL}),R("span",{}),e.secret?se(wn,{children:[R("span",{className:rn.secret,children:o?e.secret:"***"}),R(ig,{onClick:i,className:rn.eye,children:R(a,{size:16})})]}):null]})]})}function ig({children:e,onClick:t,className:n,disabled:r}){return R("button",{disabled:r,className:ir(n,rn.btn),onClick:t,children:e})}const RM="_root_zwtea_1",xM="_header_zwtea_5",kM="_icon_zwtea_10",OM="_body_zwtea_20",TM="_hostnamePort_zwtea_24",PM="_error_zwtea_36",NM="_footer_zwtea_42",Nn={root:RM,header:xM,icon:kM,body:OM,hostnamePort:TM,error:PM,footer:NM},LM="_btn_lzu00_1",AM="_circular_lzu00_27",IM="_minimal_lzu00_30",DM="_btnStart_lzu00_48",MM="_loadingContainer_lzu00_55",mi={btn:LM,circular:AM,minimal:IM,btnStart:DM,loadingContainer:MM},$M="_sectionNameType_1b9pp_1",UM="_loadingDot_1b9pp_66",FM="_dot2_1b9pp_1",jM="_dot1_1b9pp_1",zM="_dot3_1b9pp_1",_S={sectionNameType:$M,loadingDot:UM,dot2:FM,dot1:jM,dot3:zM};function jU({name:e,type:t}){return se("h2",{className:_S.sectionNameType,children:[R("span",{children:e}),R("span",{children:t})]})}function BM(){return R("span",{className:_S.loadingDot})}const{forwardRef:VM,useCallback:WM}=Lt;function HM(e,t){const{onClick:n,disabled:r=!1,isLoading:o,kind:i="primary",className:a,children:s,label:l,text:u,start:c,...f}=e,p={children:s,label:l,text:u,start:c},v=WM(y=>{o||n&&n(y)},[o,n]),g=ir(mi.btn,{[mi.minimal]:i==="minimal",[mi.circular]:i==="circular"},a);return R("button",{className:g,ref:t,onClick:v,disabled:r,...f,children:o?se(wn,{children:[R("span",{style:{display:"inline-flex",opacity:0},children:R(ag,{...p})}),R("span",{className:mi.loadingContainer,children:R(BM,{})})]}):R(ag,{...p})})}function ag({children:e,label:t,text:n,start:r}){return se(wn,{children:[r?R("span",{className:mi.btnStart,children:typeof r=="function"?r():r}):null,e||t||n]})}const KM=VM(HM),QM="_root_1or8t_1",qM="_floatAbove_1or8t_32",sg={root:QM,floatAbove:qM},{useCallback:GM}=Lt;function pc({id:e,label:t,value:n,onChange:r,...o}){const i=GM(a=>r(a),[r]);return se("div",{className:sg.root,children:[R("input",{id:e,value:n,onChange:i,...o}),R("label",{htmlFor:e,className:sg.floatAbove,children:t})]})}const YM="_path_r8pm3_1",XM="_dash_r8pm3_1",JM={path:YM,dash:XM};function qp({width:e=320,height:t=320,animate:n=!1,c0:r="currentColor",stroke:o="#eee",eye:i="#eee",mouth:a="#eee"}){const s=ir({[JM.path]:n});return R("svg",{width:e,height:t,viewBox:"0 0 320 320",xmlns:"http://www.w3.org/2000/svg",children:se("g",{fill:"none",fillRule:"evenodd",children:[R("path",{d:"M71.689 53.055c9.23-1.487 25.684 27.263 41.411 56.663 18.572-8.017 71.708-7.717 93.775 0 4.714-15.612 31.96-57.405 41.626-56.663 3.992.088 13.07 31.705 23.309 94.96 2.743 16.949 7.537 47.492 14.38 91.63-42.339 17.834-84.37 26.751-126.095 26.751-41.724 0-83.756-8.917-126.095-26.751C52.973 116.244 65.536 54.047 71.689 53.055z",stroke:o,strokeWidth:"4",strokeLinecap:"round",fill:r,className:s}),R("circle",{fill:i,cx:"216.5",cy:"181.5",r:"14.5"}),R("circle",{fill:i,cx:"104.5",cy:"181.5",r:"14.5"}),R("g",{stroke:a,strokeLinecap:"round",strokeWidth:"4",children:R("path",{d:"M175.568 218.694c-2.494 1.582-5.534 2.207-8.563 1.508-3.029-.7-5.487-2.594-7.035-5.11M143.981 218.694c2.494 1.582 5.534 2.207 8.563 1.508 3.03-.7 5.488-2.594 7.036-5.11"})})]})})}const{useState:rs,useRef:lg,useCallback:hc,useEffect:ZM}=Lt,bS=0,e3=()=>{},t3=e=>({apiConfig:Bo(e)});function n3({dispatch:e}){const[t,n]=rs(""),[r,o]=rs(""),[i,a]=rs(""),[s,l]=rs(""),u=lg(!1),c=lg(null),f=hc(y=>{u.current=!0,l("");const S=y.target,{name:h}=S,d=S.value;switch(h){case"baseURL":n(d);break;case"secret":o(d);break;case"metaLabel":a(d);break;default:throw new Error(`unknown input name ${h}`)}},[]),p=hc(()=>{r3({baseURL:t,secret:r}).then(y=>{y[0]!==bS?l(y[1]):e(iD({baseURL:t,secret:r,metaLabel:i}))})},[t,r,i,e]),v=hc(y=>{y.target instanceof Element&&(!y.target.tagName||y.target.tagName.toUpperCase()!=="INPUT")||y.key==="Enter"&&p()},[p]),g=async()=>{(await fetch("/")).json().then(S=>{S.hello==="clash"&&n(window.location.origin)},e3)};return ZM(()=>{g()},[]),se("div",{className:Nn.root,ref:c,onKeyDown:v,children:[R("div",{className:Nn.header,children:R("div",{className:Nn.icon,children:R(qp,{width:160,height:160,stroke:"var(--stroke)"})})}),se("div",{className:Nn.body,children:[se("div",{className:Nn.hostnamePort,children:[R(pc,{id:"baseURL",name:"baseURL",label:"API Base URL",type:"text",placeholder:"http://127.0.0.1:9090",value:t,onChange:f}),R(pc,{id:"secret",name:"secret",label:"Secret(optional)",value:r,type:"text",onChange:f})]}),s?R("div",{className:Nn.error,children:s}):null,R("div",{className:Nn.label,children:R(pc,{id:"metaLabel",name:"metaLabel",label:"Label(optional)",type:"text",placeholder:"",value:i,onChange:f})})]}),R("div",{className:Nn.footer,children:R(KM,{label:"Add",onClick:p})}),R("div",{style:{height:20}}),R(bM,{})]})}const ES=On(t3)(n3);async function r3(e){try{new URL(e.baseURL)}catch{if(e.baseURL){const n=e.baseURL.substring(0,7);if(n!=="http://"&&n!=="https:/")return[1,"Must starts with http:// or https://"]}return[1,"Invalid URL"]}try{const t=await rS(e);return t.status>399?[1,t.statusText]:[bS]}catch{return[1,"Failed to connect"]}}/** + * @reach/utils v0.18.0 + * + * Copyright (c) 2018-2022, React Training LLC + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function CS(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Le(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function ug(e){return typeof e=="boolean"}function hl(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function o3(e){return typeof e=="string"}function i3(e,t){if(e!=null)if(hl(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function jr(...e){return w.useCallback(t=>{for(let n of e)i3(n,t)},e)}function ar(e){return CS()?e?e.ownerDocument:document:null}function a3(e,t){let n=w.createContext(t);function r(i){let{children:a,...s}=i,l=w.useMemo(()=>s,Object.values(s));return w.createElement(n.Provider,{value:l},a)}function o(i){let a=w.useContext(n);if(a)return a;if(t)return t;throw Error(`${i} must be rendered inside of a ${e} component.`)}return n.displayName=`${e}Context`,r.displayName=`${e}Provider`,[r,o]}function s3(e){let t=ar(e),n=t.defaultView||window;return t?{width:t.documentElement.clientWidth??n.innerWidth,height:t.documentElement.clientHeight??n.innerHeight}:{width:0,height:0}}function Ss(e){return"which"in e?e.which===3:"button"in e?e.button===2:!1}function Ao(...e){return e.filter(t=>t!=null).join("--")}function Gp(){}function RS(){let[,e]=w.useState(Object.create(null));return w.useCallback(()=>{e(Object.create(null))},[])}var mo=CS()?w.useLayoutEffect:w.useEffect;function vc(e){const t=w.useRef(null);return w.useEffect(()=>{t.current=e},[e]),t.current}function l3(e,t){let[n,r]=w.useState(t),o=w.useCallback(i=>{e.current=i,r(i)},[]);return[n,o]}var u3=({children:e,type:t="reach-portal",containerRef:n})=>{let r=w.useRef(null),o=w.useRef(null),i=RS();return w.useEffect(()=>{n!=null&&(typeof n!="object"||!("current"in n)?console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."):n.current==null&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."))},[n]),mo(()=>{if(!r.current)return;let a=r.current.ownerDocument,s=(n==null?void 0:n.current)||a.body;return o.current=a==null?void 0:a.createElement(t),s.appendChild(o.current),i(),()=>{o.current&&s&&s.removeChild(o.current)}},[t,i,n]),o.current?go.createPortal(e,o.current):w.createElement("span",{ref:r})},Yp=({unstable_skipInitialRender:e,...t})=>{let[n,r]=w.useState(!1);return w.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:w.createElement(u3,{...t})};Yp.displayName="Portal";var c3=["bottom","height","left","right","top","width"],f3=function(t,n){return t===void 0&&(t={}),n===void 0&&(n={}),c3.some(function(r){return t[r]!==n[r]})},Ln=new Map,xS,d3=function e(){var t=[];Ln.forEach(function(n,r){var o=r.getBoundingClientRect();f3(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),xS=window.requestAnimationFrame(e)};function p3(e,t){return{observe:function(){var r=Ln.size===0;Ln.has(e)?Ln.get(e).callbacks.push(t):Ln.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),r&&d3()},unobserve:function(){var r=Ln.get(e);if(r){var o=r.callbacks.indexOf(t);o>=0&&r.callbacks.splice(o,1),r.callbacks.length||Ln.delete(e),Ln.size||cancelAnimationFrame(xS)}}}}function vl(e,t,n){let r,o;ug(t)?r=t:(r=(t==null?void 0:t.observe)??!0,o=t==null?void 0:t.onChange),hl(n)&&(o=n),w.useEffect(()=>{ug(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),w.useEffect(()=>{hl(n)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[n]);let[i,a]=w.useState(e.current),s=w.useRef(!1),l=w.useRef(!1),[u,c]=w.useState(null),f=w.useRef(o);return mo(()=>{f.current=o,e.current!==i&&a(e.current)}),mo(()=>{i&&!s.current&&(s.current=!0,c(i.getBoundingClientRect()))},[i]),mo(()=>{if(!r)return;let p=i;if(l.current||(l.current=!0,p=e.current),!p){console.warn("You need to place the ref");return}let v=p3(p,g=>{var y;(y=f.current)==null||y.call(f,g),c(g)});return v.observe(),()=>{v.unobserve()}},[r,i,e]),u}/*! +* tabbable 5.3.3 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var h3=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Yf=h3.join(","),kS=typeof Element>"u",ra=kS?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Xf=!kS&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},v3=function(t,n,r){var o=Array.prototype.slice.apply(t.querySelectorAll(Yf));return n&&ra.call(t,Yf)&&o.unshift(t),o=o.filter(r),o},m3=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if(a.tagName==="SLOT"){var s=a.assignedElements(),l=s.length?s:a.children,u=e(l,!0,r);r.flatten?o.push.apply(o,u):o.push({scope:a,candidates:u})}else{var c=ra.call(a,Yf);c&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var f=a.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(a),p=!r.shadowRootFilter||r.shadowRootFilter(a);if(f&&p){var v=e(f===!0?a.children:f.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scope:a,candidates:v})}else i.unshift.apply(i,a.children)}}return o},OS=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},g3=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},TS=function(t){return t.tagName==="INPUT"},y3=function(t){return TS(t)&&t.type==="hidden"},w3=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},S3=function(t,n){for(var r=0;rsummary:first-of-type"),a=i?t.parentElement:t;if(ra.call(a,"details:not([open]) *"))return!0;var s=Xf(t).host,l=(s==null?void 0:s.ownerDocument.contains(s))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof o=="function"){for(var u=t;t;){var c=t.parentElement,f=Xf(t);if(c&&!c.shadowRoot&&o(c)===!0)return cg(t);t.assignedSlot?t=t.assignedSlot:!c&&f!==t.ownerDocument?t=f.host:t=c}t=u}if(l)return!t.getClientRects().length}else if(r==="non-zero-area")return cg(t);return!1},R3=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},O3=function e(t){var n=[],r=[];return t.forEach(function(o,i){var a=!!o.scope,s=a?o.scope:o,l=OS(s,a),u=a?e(o.candidates):s;l===0?a?n.push.apply(n,u):n.push(s):r.push({documentOrder:i,tabIndex:l,item:o,isScope:a,content:u})}),r.sort(g3).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},hn=function(t,n){n=n||{};var r;return n.getShadowRoot?r=m3([t],n.includeContainer,{filter:fg.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:k3}):r=v3(t,n.includeContainer,fg.bind(null,n)),O3(r)},Xp=w.forwardRef(function({unstable_skipInitialPortalRender:t,...n},r){return w.createElement(Yp,{unstable_skipInitialRender:t},w.createElement(PS,{ref:r,...n}))});Xp.displayName="Popover";var PS=w.forwardRef(function({as:t="div",targetRef:n,position:r=N3,unstable_observableRefs:o=[],...i},a){const s=w.useRef(null),l=vl(s,{observe:!i.hidden}),u=vl(n,{observe:!0}),c=jr(s,a);return A3(n,s),w.createElement(t,{"data-reach-popover":"",ref:c,...i,style:{position:"absolute",...T3(r,u,l,...o),...i.style}})});PS.displayName="PopoverImpl";function T3(e,t,n,...r){return n?e(t,n,...r.map(o=>o.current)):{visibility:"hidden"}}function P3(e,t,n){return{top:n?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}var N3=(e,t)=>{if(!e||!t)return{};const{directionRight:n,directionUp:r}=L3(e,t);return{left:n?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...P3(e,t,r)}};function L3(e,t,n=0,r=0){const o={top:e.top-t.height<0,right:window.innerWidth(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)}),[]);function o(){const d=hn(n),m=d&&e.current?d.indexOf(e.current):-1,_=d&&d[m+1];return t.current&&t.current.contains(_||null)?!1:_}function i(){return e.current?e.current===n.activeElement:!1}function a(d){const m=t.current&&hn(t.current);m&&m[0]&&(d.preventDefault(),m[0].focus())}function s(){if(t.current?t.current.contains(n.activeElement||null):!1){const m=t.current&&hn(t.current);return Boolean(m&&m[m.length-1]===n.activeElement)}return!1}function l(d){const m=o();m&&(d.preventDefault(),m.focus())}function u(d){if(!d.shiftKey)return;const m=o();return d.target===m}function c(d){const m=t.current&&hn(t.current),_=m&&m[m.length-1];_&&(d.preventDefault(),_.focus())}function f(d){const m=t.current&&hn(t.current);return m?m.length===0?!1:d.target===m[0]:!1}function p(d){var m;d.preventDefault(),(m=e.current)==null||m.focus()}function v(d){const m=t.current?hn(n).filter(_=>!t.current.contains(_)):null;return m?d.target===m[m.length-1]:!1}function g(d){return d.target===hn(n)[0]}let y=[];function S(){const d=t.current&&hn(t.current);d&&(d.forEach(m=>{y.push([m,m.tabIndex]),m.tabIndex=-1}),n.addEventListener("focusin",h))}function h(){n.removeEventListener("focusin",h),y.forEach(([d,m])=>{d.tabIndex=m})}}var mc=!1,I3=0;function dg(){return++I3}var pg=Lt["useId".toString()];function NS(e){if(pg!==void 0){let o=pg();return e??o}let t=e??(mc?dg():null),[n,r]=w.useState(t);return mo(()=>{n===null&&r(dg())},[]),w.useEffect(()=>{mc===!1&&(mc=!0)},[]),e??n??void 0}function D3(e,t={}){const n=[];let r=w.createContext({descendants:n,registerDescendant:()=>Gp,...t});return r.displayName=e,r}function M3(e,t,n){let r=RS(),{registerDescendant:o,descendants:i}=w.useContext(t),a=n??i.findIndex(s=>s.element===e.element);return mo(()=>(e.element||r(),o({...e,index:a})),[e,r,a,o,...Object.values(e)]),a}function $3(){return w.useState([])}function U3(e){return w.useContext(e).descendants}function F3({context:e,children:t,items:n,set:r}){let o=w.useCallback(({element:i,index:a,...s})=>i?(r(l=>{if(a!=null&&a!==-1)return hg(l,{element:i,index:a,...s},a);if(l.length===0)return[{...s,element:i,index:0}];if(l.find(f=>f.element===i))return console.warn(`[reach-ui]: \`useDescendant\` was called with an element that was already registered. + +If you are using the \`@reach/descendants\` package directly, make sure to only register descendants once. Registering a descendant more than once will lead to bugs in your app. + +If you are using another \`reach-ui\` package, this is probably our bug! + +To report a bug, open a new issue: + + https://github.com/reach/reach-ui/issues/new?assignees=&labels=&template=Bug_report.md + +IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),B3(l);let u=z3(l,i),c;return u===-1?c=[...l,{...s,element:i,index:l.length}]:c=hg(l,{...s,element:i,index:u},u),c}),()=>{i&&r(l=>l.filter(u=>i!==u.element))}):Gp,[]);return w.createElement(e.Provider,{value:w.useMemo(()=>({descendants:n,registerDescendant:o}),[n,o])},t)}function j3(e,t){let{descendants:n}=w.useContext(e),{callback:r,currentIndex:o,filter:i,key:a="index",orientation:s="vertical",rotate:l=!0,rtl:u=!1}=t;return function(f){if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(f.key))return;let p=o??-1,v=i?n.filter(i):n;if(!v.length)return;let g=v.findIndex(m=>m.index===o);function y(){return p===d().index?l?h():v[g]:v[(g+1)%v.length]}function S(){return p===h().index?l?d():v[g]:v[(g-1+v.length)%v.length]}function h(){return v[0]}function d(){return v[v.length-1]}switch(f.key){case"ArrowDown":if(s==="vertical"||s==="both"){f.preventDefault();let T=y();r(a==="option"?T:T[a])}break;case"ArrowUp":if(s==="vertical"||s==="both"){f.preventDefault();let T=S();r(a==="option"?T:T[a])}break;case"ArrowLeft":if(s==="horizontal"||s==="both"){f.preventDefault();let T=(u?y:S)();r(a==="option"?T:T[a])}break;case"ArrowRight":if(s==="horizontal"||s==="both"){f.preventDefault();let T=(u?S:y)();r(a==="option"?T:T[a])}break;case"PageUp":f.preventDefault();let m=(f.ctrlKey?S:h)();r(a==="option"?m:m[a]);break;case"Home":f.preventDefault();let _=h();r(a==="option"?_:_[a]);break;case"PageDown":f.preventDefault();let x=(f.ctrlKey?y:d)();r(a==="option"?x:x[a]);break;case"End":f.preventDefault();let C=d();r(a==="option"?C:C[a]);break}}}function LS(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function z3(e,t){if(!t||!e.length)return-1;let n=e.length;for(;n--;){let r=e[n].element;if(r&&LS(r,t))return n+1}return-1}function hg(e,t,n){return n==null||!(n in e)?[...e,t]:[...e.slice(0,n),t,...e.slice(n)]}function B3(e){return e.sort((t,n)=>!t.element||!n.element?0:LS(t.element,n.element)?-1:1).map((t,n)=>({...t,index:n}))}var AS="CLEAR_SELECTION_INDEX",Jp="CLICK_MENU_ITEM",oa="CLOSE_MENU",V3="OPEN_MENU_AT_FIRST_ITEM",Jf="OPEN_MENU_AT_INDEX",IS="OPEN_MENU_CLEARED",Zf="SEARCH_FOR_ITEM",Wn="SELECT_ITEM_AT_INDEX",ed="SET_BUTTON_ID",au=D3("DropdownDescendantContext"),[W3,xa]=a3("Dropdown"),H3={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},DS=({id:e,children:t})=>{let n=w.useRef(null),r=w.useRef(null),o=w.useRef(null),[i,a]=$3(),s=NS(e),l=e||Ao("menu",s),u=Ao("menu-button",l),[c,f]=w.useReducer(J3,{...H3,triggerId:u}),p=w.useRef(!1),v=w.useRef([]),g=w.useRef(!1),y=w.useRef({x:0,y:0});return w.useEffect(()=>{c.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame(()=>{ml(r.current)})):window.__REACH_DISABLE_TOOLTIPS=!1},[c.isExpanded]),w.createElement(F3,{context:au,items:i,set:a},w.createElement(W3,{dispatch:f,dropdownId:l,dropdownRef:r,mouseDownStartPosRef:y,popoverRef:o,readyToSelect:g,selectCallbacks:v,state:c,triggerClickedRef:p,triggerRef:n},hl(t)?t({isExpanded:c.isExpanded,isOpen:c.isExpanded}):t))};DS.displayName="DropdownProvider";function MS({onKeyDown:e,onMouseDown:t,id:n,ref:r,...o}){let{dispatch:i,dropdownId:a,mouseDownStartPosRef:s,triggerClickedRef:l,triggerRef:u,state:{triggerId:c,isExpanded:f}}=xa("useDropdownTrigger"),p=jr(u,r),v=zS(),g=w.useMemo(()=>v.findIndex(h=>!h.disabled),[v]);w.useEffect(()=>{n!=null&&n!==c&&i({type:ed,payload:n})},[c,i,n]),w.useEffect(()=>{n==null&&i({type:ed,payload:Ao("menu-button",a)})},[a,i,n]);function y(h){switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),i({type:Jf,payload:{index:g}});break;case"Enter":case" ":i({type:Jf,payload:{index:g}});break}}function S(h){Ss(h.nativeEvent)||(s.current={x:h.clientX,y:h.clientY},f||(l.current=!0),i(f?{type:oa}:{type:IS}))}return{data:{isExpanded:f,controls:a},props:{...o,ref:p,id:c||void 0,onKeyDown:Le(e,y),onMouseDown:Le(t,S),type:"button"}}}var K3=w.forwardRef(({as:e="button",...t},n)=>{let{props:r}=MS({...t,ref:n});return w.createElement(e,{"data-reach-dropdown-trigger":"",...r})});K3.displayName="DropdownTrigger";function $S({index:e,isLink:t=!1,onClick:n,onDragStart:r,onMouseDown:o,onMouseEnter:i,onMouseLeave:a,onMouseMove:s,onMouseUp:l,onSelect:u,disabled:c,onFocus:f,valueText:p,ref:v,...g}){let{dispatch:y,dropdownRef:S,mouseDownStartPosRef:h,readyToSelect:d,selectCallbacks:m,triggerRef:_,state:{selectionIndex:x,isExpanded:C}}=xa("useDropdownItem"),T=w.useRef(null),[N,W]=w.useState(p||""),M=w.useCallback(z=>{!p&&(z!=null&&z.textContent)&&W(z.textContent)},[p]),ee=w.useRef(!1),[pe,ue]=l3(T,null),K=w.useMemo(()=>({element:pe,key:N,disabled:c,isLink:t}),[c,pe,t,N]),j=M3(K,au,e),X=j===x&&!c,O=jr(v,ue,M);m.current[j]=u;function P(){ml(_.current),u&&u(),y({type:Jp})}function H(z){Ss(z.nativeEvent)||t&&(c?z.preventDefault():P())}function $(z){t&&z.preventDefault()}function U(z){Ss(z.nativeEvent)||(t?ee.current=!0:z.preventDefault())}function E(z){let Z=ar(S.current);!X&&j!=null&&!c&&(S!=null&&S.current&&S.current!==Z.activeElement&&T.current!==Z.activeElement&&S.current.focus(),y({type:Wn,payload:{index:j}}))}function L(z){y({type:AS})}function A(z){if(!d.current){let Z=8,Y=Math.abs(z.clientX-h.current.x),he=Math.abs(z.clientY-h.current.y);(Y>Z||he>Z)&&(d.current=!0)}!X&&j!=null&&!c&&y({type:Wn,payload:{index:j,dropdownRef:S}})}function J(){d.current=!0,!X&&j!=null&&!c&&y({type:Wn,payload:{index:j}})}function F(z){if(!Ss(z.nativeEvent)){if(!d.current){d.current=!0;return}t?ee.current?ee.current=!1:T.current&&T.current.click():c||P()}}return w.useEffect(()=>{if(C){let z=window.setTimeout(()=>{d.current=!0},400);return()=>{window.clearTimeout(z)}}else d.current=!1},[C,d]),w.useEffect(()=>{let z=ar(T.current);return z.addEventListener("mouseup",Z),()=>{z.removeEventListener("mouseup",Z)};function Z(){ee.current=!1}},[]),{data:{disabled:c},props:{id:jS(j),tabIndex:-1,...g,ref:O,"data-disabled":c?"":void 0,"data-selected":X?"":void 0,"data-valuetext":N,onClick:Le(n,H),onDragStart:Le(r,$),onMouseDown:Le(o,U),onMouseEnter:Le(i,E),onMouseLeave:Le(a,L),onMouseMove:Le(s,A),onFocus:Le(f,J),onMouseUp:Le(l,F)}}}var Q3=w.forwardRef(({as:e="div",...t},n)=>{let{props:r}=$S({...t,ref:n});return w.createElement(e,{"data-reach-dropdown-item":"",...r})});Q3.displayName="DropdownItem";function US({id:e,onKeyDown:t,ref:n,...r}){let{dispatch:o,triggerRef:i,dropdownRef:a,selectCallbacks:s,dropdownId:l,state:{isExpanded:u,triggerId:c,selectionIndex:f,typeaheadQuery:p}}=xa("useDropdownItems"),v=zS(),g=jr(a,n);w.useEffect(()=>{let m=Y3(v,p);p&&m!=null&&o({type:Wn,payload:{index:m,dropdownRef:a}});let _=window.setTimeout(()=>p&&o({type:Zf,payload:""}),1e3);return()=>window.clearTimeout(_)},[o,v,p,a]);let y=vc(v.length),S=vc(v[f]),h=vc(f);w.useEffect(()=>{f>v.length-1?o({type:Wn,payload:{index:v.length-1,dropdownRef:a}}):y!==v.length&&f>-1&&S&&h===f&&v[f]!==S&&o({type:Wn,payload:{index:v.findIndex(m=>m.key===(S==null?void 0:S.key)),dropdownRef:a}})},[a,o,v,y,S,h,f]);let d=Le(function(_){let{key:x}=_;if(u)switch(x){case"Enter":case" ":let C=v.find(T=>T.index===f);C&&!C.disabled&&(_.preventDefault(),C.isLink&&C.element?C.element.click():(ml(i.current),s.current[C.index]&&s.current[C.index](),o({type:Jp})));break;case"Escape":ml(i.current),o({type:oa});break;case"Tab":_.preventDefault();break;default:if(o3(x)&&x.length===1){let T=p+x.toLowerCase();o({type:Zf,payload:T})}break}},j3(au,{currentIndex:f,orientation:"vertical",rotate:!1,filter:m=>!m.disabled,callback:m=>{o({type:Wn,payload:{index:m,dropdownRef:a}})},key:"index"}));return{data:{activeDescendant:jS(f)||void 0,triggerId:c},props:{tabIndex:-1,...r,ref:g,id:l,onKeyDown:Le(t,d)}}}var q3=w.forwardRef(({as:e="div",...t},n)=>{let{props:r}=US({...t,ref:n});return w.createElement(e,{"data-reach-dropdown-items":"",...r})});q3.displayName="DropdownItems";function FS({onBlur:e,portal:t=!0,position:n,ref:r,...o}){let{triggerRef:i,triggerClickedRef:a,dispatch:s,dropdownRef:l,popoverRef:u,state:{isExpanded:c}}=xa("useDropdownPopover"),f=jr(u,r);return w.useEffect(()=>{if(!c)return;let p=ar(u.current);function v(g){a.current?a.current=!1:X3(u.current,g.target)||s({type:oa})}return p.addEventListener("mousedown",v),()=>{p.removeEventListener("mousedown",v)}},[a,i,s,l,u,c]),{data:{portal:t,position:n,targetRef:i,isExpanded:c},props:{ref:f,hidden:!c,onBlur:Le(e,p=>{p.currentTarget.contains(p.relatedTarget)||s({type:oa})}),...o}}}var G3=w.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:a}=FS({...t,ref:n}),s={"data-reach-dropdown-popover":""};return r?w.createElement(Xp,{...a,...s,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):w.createElement(e,{...a,...s})});G3.displayName="DropdownPopover";function Y3(e,t=""){if(!t)return null;let n=e.find(r=>{var o,i,a;return r.disabled?!1:(a=(i=(o=r.element)==null?void 0:o.dataset)==null?void 0:i.valuetext)==null?void 0:a.toLowerCase().startsWith(t)});return n?e.indexOf(n):null}function jS(e){let{dropdownId:t}=xa("useItemId");return e!=null&&e>-1?Ao(`option-${e}`,t):void 0}function ml(e){e&&e.focus()}function X3(e,t){return!!(e&&e.contains(t))}function J3(e,t={}){switch(t.type){case Jp:return{...e,isExpanded:!1,selectionIndex:-1};case oa:return{...e,isExpanded:!1,selectionIndex:-1};case V3:return{...e,isExpanded:!0,selectionIndex:0};case Jf:return{...e,isExpanded:!0,selectionIndex:t.payload.index};case IS:return{...e,isExpanded:!0,selectionIndex:-1};case Wn:{let{dropdownRef:n={current:null}}=t.payload;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(n.current){let r=ar(n.current);n.current!==(r==null?void 0:r.activeElement)&&n.current.focus()}return{...e,selectionIndex:t.payload.max!=null?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)}}return e}case AS:return{...e,selectionIndex:-1};case ed:return{...e,triggerId:t.payload};case Zf:return typeof t.payload<"u"?{...e,typeaheadQuery:t.payload}:e;default:return e}}function zS(){return U3(au)}var td={},Z3={get exports(){return td},set exports(e){td=e}},me={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ze=typeof Symbol=="function"&&Symbol.for,Zp=ze?Symbol.for("react.element"):60103,eh=ze?Symbol.for("react.portal"):60106,su=ze?Symbol.for("react.fragment"):60107,lu=ze?Symbol.for("react.strict_mode"):60108,uu=ze?Symbol.for("react.profiler"):60114,cu=ze?Symbol.for("react.provider"):60109,fu=ze?Symbol.for("react.context"):60110,th=ze?Symbol.for("react.async_mode"):60111,du=ze?Symbol.for("react.concurrent_mode"):60111,pu=ze?Symbol.for("react.forward_ref"):60112,hu=ze?Symbol.for("react.suspense"):60113,e4=ze?Symbol.for("react.suspense_list"):60120,vu=ze?Symbol.for("react.memo"):60115,mu=ze?Symbol.for("react.lazy"):60116,t4=ze?Symbol.for("react.block"):60121,n4=ze?Symbol.for("react.fundamental"):60117,r4=ze?Symbol.for("react.responder"):60118,o4=ze?Symbol.for("react.scope"):60119;function bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zp:switch(e=e.type,e){case th:case du:case su:case uu:case lu:case hu:return e;default:switch(e=e&&e.$$typeof,e){case fu:case pu:case mu:case vu:case cu:return e;default:return t}}case eh:return t}}}function BS(e){return bt(e)===du}me.AsyncMode=th;me.ConcurrentMode=du;me.ContextConsumer=fu;me.ContextProvider=cu;me.Element=Zp;me.ForwardRef=pu;me.Fragment=su;me.Lazy=mu;me.Memo=vu;me.Portal=eh;me.Profiler=uu;me.StrictMode=lu;me.Suspense=hu;me.isAsyncMode=function(e){return BS(e)||bt(e)===th};me.isConcurrentMode=BS;me.isContextConsumer=function(e){return bt(e)===fu};me.isContextProvider=function(e){return bt(e)===cu};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zp};me.isForwardRef=function(e){return bt(e)===pu};me.isFragment=function(e){return bt(e)===su};me.isLazy=function(e){return bt(e)===mu};me.isMemo=function(e){return bt(e)===vu};me.isPortal=function(e){return bt(e)===eh};me.isProfiler=function(e){return bt(e)===uu};me.isStrictMode=function(e){return bt(e)===lu};me.isSuspense=function(e){return bt(e)===hu};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===su||e===du||e===uu||e===lu||e===hu||e===e4||typeof e=="object"&&e!==null&&(e.$$typeof===mu||e.$$typeof===vu||e.$$typeof===cu||e.$$typeof===fu||e.$$typeof===pu||e.$$typeof===n4||e.$$typeof===r4||e.$$typeof===o4||e.$$typeof===t4)};me.typeOf=bt;(function(e){e.exports=me})(Z3);var VS=w.forwardRef(({as:e=w.Fragment,id:t,children:n,...r},o)=>{let a=w.useMemo(()=>{try{return td.isFragment(w.createElement(e,null))}catch{return!1}},[e])?{}:{ref:o,id:t,"data-reach-menu":"",...r};return w.createElement(e,{...a},w.createElement(DS,{id:t,children:n}))});VS.displayName="Menu";var WS=w.forwardRef(({as:e="button",...t},n)=>{let{data:{isExpanded:r,controls:o},props:i}=MS({...t,ref:n});return w.createElement(e,{"aria-expanded":r?!0:void 0,"aria-haspopup":!0,"aria-controls":o,...i,"data-reach-menu-button":""})});WS.displayName="MenuButton";var nh=w.forwardRef(({as:e="div",...t},n)=>{let{data:{disabled:r},props:o}=$S({...t,ref:n});return w.createElement(e,{role:"menuitem",...o,"aria-disabled":r||void 0,"data-reach-menu-item":""})});nh.displayName="MenuItemImpl";var HS=w.forwardRef(({as:e="div",...t},n)=>w.createElement(nh,{...t,ref:n,as:e}));HS.displayName="MenuItem";var KS=w.forwardRef(({as:e="div",...t},n)=>{let{data:{activeDescendant:r,triggerId:o},props:i}=US({...t,ref:n});return w.createElement(e,{"aria-activedescendant":r,"aria-labelledby":o||void 0,role:"menu",...i,"data-reach-menu-items":""})});KS.displayName="MenuItems";var i4=w.forwardRef(({as:e="a",component:t,onSelect:n,...r},o)=>(w.useEffect(()=>{t&&console.warn("[@reach/menu-button]: Please use the `as` prop instead of `component`")},[t]),w.createElement(nh,{...r,ref:o,"data-reach-menu-link":"",as:e,isLink:!0,onSelect:n||Gp})));i4.displayName="MenuLink";var QS=w.forwardRef(({portal:e=!0,...t},n)=>w.createElement(qS,{portal:e},w.createElement(KS,{...t,ref:n,"data-reach-menu-list":""})));QS.displayName="MenuList";var qS=w.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:a}=FS({...t,ref:n}),s={"data-reach-menu-popover":""};return r?w.createElement(Xp,{...a,...s,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):w.createElement(e,{...a,...s})});qS.displayName="MenuPopover";var GS=w.forwardRef(function({as:t="span",style:n={},...r},o){return w.createElement(t,{ref:o,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal",...n},...r})});GS.displayName="VisuallyHidden";var a4=100,s4=500,nd={initial:"IDLE",states:{IDLE:{enter:gc,on:{MOUSE_ENTER:"FOCUSED",FOCUS:"VISIBLE"}},FOCUSED:{enter:c4,leave:f4,on:{MOUSE_MOVE:"FOCUSED",MOUSE_LEAVE:"IDLE",MOUSE_DOWN:"DISMISSED",BLUR:"IDLE",REST:"VISIBLE"}},VISIBLE:{on:{FOCUS:"FOCUSED",MOUSE_ENTER:"FOCUSED",MOUSE_LEAVE:"LEAVING_VISIBLE",BLUR:"LEAVING_VISIBLE",MOUSE_DOWN:"DISMISSED",SELECT_WITH_KEYBOARD:"DISMISSED",GLOBAL_MOUSE_MOVE:"LEAVING_VISIBLE"}},LEAVING_VISIBLE:{enter:d4,leave:()=>{p4(),gc()},on:{MOUSE_ENTER:"VISIBLE",FOCUS:"VISIBLE",TIME_COMPLETE:"IDLE"}},DISMISSED:{leave:()=>{gc()},on:{MOUSE_LEAVE:"IDLE",BLUR:"IDLE"}}}},Pt={value:nd.initial,context:{id:null}},_s=[];function l4(e){return _s.push(e),()=>{_s.splice(_s.indexOf(e),1)}}function u4(){_s.forEach(e=>e(Pt))}var rd;function c4(){window.clearTimeout(rd),rd=window.setTimeout(()=>{Vt({type:"REST"})},a4)}function f4(){window.clearTimeout(rd)}var od;function d4(){window.clearTimeout(od),od=window.setTimeout(()=>Vt({type:"TIME_COMPLETE"}),s4)}function p4(){window.clearTimeout(od)}function gc(){Pt.context.id=null}function h4({id:e,onPointerEnter:t,onPointerMove:n,onPointerLeave:r,onPointerDown:o,onMouseEnter:i,onMouseMove:a,onMouseLeave:s,onMouseDown:l,onFocus:u,onBlur:c,onKeyDown:f,disabled:p,ref:v,DEBUG_STYLE:g}={}){let y=String(NS(e)),[S,h]=w.useState(g?!0:vg(y,!0)),d=w.useRef(null),m=jr(v,d),_=vl(d,{observe:S});w.useEffect(()=>l4(()=>{h(vg(y))}),[y]),w.useEffect(()=>{let X=ar(d.current);function O(P){(P.key==="Escape"||P.key==="Esc")&&Pt.value==="VISIBLE"&&Vt({type:"SELECT_WITH_KEYBOARD"})}return X.addEventListener("keydown",O),()=>X.removeEventListener("keydown",O)},[]),y4({disabled:p,isVisible:S,ref:d});function x(X,O){return typeof window<"u"&&"PointerEvent"in window?X:Le(X,O)}function C(X){return function(P){P.pointerType==="mouse"&&X(P)}}function T(){Vt({type:"MOUSE_ENTER",id:y})}function N(){Vt({type:"MOUSE_MOVE",id:y})}function W(){Vt({type:"MOUSE_LEAVE"})}function M(){Pt.context.id===y&&Vt({type:"MOUSE_DOWN"})}function ee(){window.__REACH_DISABLE_TOOLTIPS||Vt({type:"FOCUS",id:y})}function pe(){Pt.context.id===y&&Vt({type:"BLUR"})}function ue(X){(X.key==="Enter"||X.key===" ")&&Vt({type:"SELECT_WITH_KEYBOARD"})}return[{"aria-describedby":S?Ao("tooltip",y):void 0,"data-state":S?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:m,onPointerEnter:Le(t,C(T)),onPointerMove:Le(n,C(N)),onPointerLeave:Le(r,C(W)),onPointerDown:Le(o,C(M)),onMouseEnter:x(i,T),onMouseMove:x(a,N),onMouseLeave:x(s,W),onMouseDown:x(l,M),onFocus:Le(u,ee),onBlur:Le(c,pe),onKeyDown:Le(f,ue)},{id:y,triggerRect:_,isVisible:S},S]}var rh=w.forwardRef(function({children:e,label:t,ariaLabel:n,id:r,DEBUG_STYLE:o,...i},a){let s=w.Children.only(e);w.useEffect(()=>{n&&console.warn("The `ariaLabel prop is deprecated and will be removed from @reach/tooltip in a future version of Reach UI. Please use `aria-label` instead.")},[n]);let[l,u]=h4({id:r,onPointerEnter:s.props.onPointerEnter,onPointerMove:s.props.onPointerMove,onPointerLeave:s.props.onPointerLeave,onPointerDown:s.props.onPointerDown,onMouseEnter:s.props.onMouseEnter,onMouseMove:s.props.onMouseMove,onMouseLeave:s.props.onMouseLeave,onMouseDown:s.props.onMouseDown,onFocus:s.props.onFocus,onBlur:s.props.onBlur,onKeyDown:s.props.onKeyDown,disabled:s.props.disabled,ref:s.ref,DEBUG_STYLE:o});return w.createElement(w.Fragment,null,w.cloneElement(s,l),w.createElement(YS,{ref:a,label:t,"aria-label":n,...u,...i}))});rh.displayName="Tooltip";var YS=w.forwardRef(function({label:t,ariaLabel:n,isVisible:r,id:o,...i},a){return r?w.createElement(Yp,null,w.createElement(XS,{ref:a,label:t,"aria-label":n,isVisible:r,...i,id:Ao("tooltip",String(o))})):null});YS.displayName="TooltipPopup";var XS=w.forwardRef(function({ariaLabel:t,"aria-label":n,as:r="div",id:o,isVisible:i,label:a,position:s=g4,style:l,triggerRect:u,...c},f){let p=(n||t)!=null,v=w.useRef(null),g=jr(f,v),y=vl(v,{observe:i});return w.createElement(w.Fragment,null,w.createElement(r,{role:p?void 0:"tooltip",...c,ref:g,"data-reach-tooltip":"",id:p?void 0:o,style:{...l,...v4(s,u,y)}},a),p&&w.createElement(GS,{role:"tooltip",id:o},n||t))});XS.displayName="TooltipContent";function v4(e,t,n){return n?e(t,n):{visibility:"hidden"}}var m4=8,g4=(e,t,n=m4)=>{let{width:r,height:o}=s3();if(!e||!t)return{};let i={top:e.top-t.height<0,right:r{if(!(typeof window<"u"&&"PointerEvent"in window)||!e||!t)return;let r=ar(n.current);function o(i){t&&(i.target instanceof Element&&i.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||Vt({type:"GLOBAL_MOUSE_MOVE"}))}return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)}},[e,t,n])}function Vt(e){let{value:t,context:n,changed:r}=w4(Pt,e);r&&(Pt={value:t,context:n},u4())}function w4(e,t){let n=nd.states[e.value],r=n&&n.on&&n.on[t.type];if(!r)return{...e,changed:!1};n&&n.leave&&n.leave(e.context,t);const{type:o,...i}=t;let a={...Pt.context,...i},s=typeof r=="string"?r:r.target,l=nd.states[s];return l&&l.enter&&l.enter(e.context,t),{value:s,context:a,changed:!0}}function vg(e,t){return Pt.context.id===e&&(t?Pt.value==="VISIBLE":Pt.value==="VISIBLE"||Pt.value==="LEAVING_VISIBLE")}function S4(e){let t={};const n={},r={};function o(l="default"){return n[l]=e(l).then(u=>{delete n[l],t[l]=u}).catch(u=>{r[l]=u}),n[l]}function i(l="default"){t[l]!==void 0||n[l]||o(l)}function a(l="default"){if(t[l]!==void 0)return t[l];throw r[l]?r[l]:n[l]?n[l]:o(l)}function s(l){l?delete t[l]:t={}}return{preload:i,read:a,clear:s}}const oh=S4(()=>_n(()=>import("./index-534e085e.js"),[],import.meta.url)),_4="_checkWrapper_1nrct_45",b4="_active_1nrct_51",mg={checkWrapper:_4,active:b4};function E4({theme:e,dispatch:t}){const{t:n}=la(),r=w.useMemo(()=>{switch(e){case"dark":return R(gg,{});case"auto":return R(R4,{});case"light":return R(C4,{});default:return console.assert(!1,"Unknown theme"),R(gg,{})}},[e]),o=w.useCallback(i=>t(uD(i)),[t]);return se(VS,{children:[R(rh,{label:n("switch_theme"),"aria-label":"switch theme",children:R(WS,{children:r})}),se(QS,{children:[R(yc,{value:"auto",label:"Auto",active:e==="auto",onSelect:o}),R(yc,{value:"dark",label:"Dark",active:e==="dark",onSelect:o}),R(yc,{value:"light",label:"Light",active:e==="light",onSelect:o})]})]})}function yc(e){const t=ir(mg.checkWrapper,{[mg.active]:e.active});return se(HS,{onSelect:()=>e.onSelect(e.value),children:[R("span",{className:t,children:R(nI,{size:14})}),R("span",{children:e.label})]})}function gg(){const t=oh.read().motion;return R("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:R(t.path,{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})})}function C4(){const t=oh.read().motion;return se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R("circle",{cx:"12",cy:"12",r:"5"}),se(t.g,{initial:{scale:.7},animate:{scale:1},transition:{duration:.5},children:[R("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),R("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),R("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),R("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),R("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),R("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),R("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),R("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]})}function R4(){const t=oh.read().motion;return se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[R("circle",{cx:"12",cy:"12",r:"11"}),R("clipPath",{id:"cut-off-bottom",children:R(t.rect,{x:"12",y:"0",width:"12",height:"24",initial:{rotate:-30},animate:{rotate:0},transition:{duration:.7}})}),R("circle",{cx:"12",cy:"12",r:"6",clipPath:"url(#cut-off-bottom)",fill:"currentColor"})]})}const x4=e=>({theme:Wp(e)}),JS=On(x4)(E4),id=0;class k4 extends Error{constructor(t,n){super(t),this.message=t,this.code=n}}const ad={[id]:{message:"Browser not supported!",detail:'This browser does not support "fetch", please choose another one.'},default:{message:"Oops, something went wrong!"}};function O4(e){const{code:t}=e;return typeof t=="number"?ad[t]:ad.default}const T4="_content_b98hm_1",P4="_container_b98hm_16",N4="_overlay_b98hm_22",L4="_fixed_b98hm_26",os={content:T4,container:P4,overlay:N4,fixed:L4},A4="_overlay_1i06e_1",I4="_content_1i06e_10",yg={overlay:A4,content:I4};function D4({isOpen:e,onRequestClose:t,className:n,overlayClassName:r,children:o,...i}){const a=ir(n,yg.content),s=ir(r,yg.overlay);return R(n1,{isOpen:e,onRequestClose:t,className:a,overlayClassName:s,...i,children:o})}const M4=w.memo(D4),{useCallback:$4,useEffect:U4}=Lt;function F4({dispatch:e,apiConfig:t,modals:n}){if(!window.fetch){const{detail:o}=ad[id];throw new k4(o,id)}const r=$4(()=>{e(XI("apiConfig"))},[e]);return U4(()=>{e(aS(t))},[e,t]),se(M4,{isOpen:n.apiConfig,className:os.content,overlayClassName:os.overlay,shouldCloseOnOverlayClick:!1,shouldCloseOnEsc:!1,onRequestClose:r,children:[R("div",{className:os.container,children:R(ES,{})}),R("div",{className:os.fixed,children:R(JS,{})})]})}const j4=e=>({modals:e.modals,apiConfig:Bo(e)}),z4=On(j4)(F4),B4={hasProcessPath:!1},V4=w.createContext(B4),W4="_root_4m2cd_1",H4="_yacd_4m2cd_14",K4="_link_4m2cd_23",wc={root:W4,yacd:H4,link:K4};function Q4({width:e=24,height:t=24}={}){return R("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:R("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})})}const q4="https://github.com/haishanh/yacd/issues";function G4({message:e,detail:t}){return se("div",{className:wc.root,children:[R("div",{className:wc.yacd,children:R(qp,{width:150,height:150})}),e?R("h1",{children:e}):null,t?R("p",{children:t}):null,R("p",{children:se("a",{className:wc.link,href:q4,children:[R(Q4,{width:16,height:16}),"haishanh/yacd"]})})]})}class Y4 extends w.Component{constructor(){super(...arguments);ch(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n}}render(){if(this.state.error){const{message:n,detail:r}=O4(this.state.error);return R(G4,{message:n,detail:r})}else return this.props.children}}const X4="_root_4oasi_1",J4="_chart_4oasi_10",wg={root:X4,chart:J4};var ih=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n};function Sg(e,t,n,r=0,o=!1){for(const a of t)if(ih(n,a.args)){if(o)return;if(a.error)throw a.error;if(a.response)return a.response;throw a.promise}const i={args:n,promise:e(...n).then(a=>i.response=a??!0).catch(a=>i.error=a??"unknown error").then(()=>{r>0&&setTimeout(()=>{const a=t.indexOf(i);a!==-1&&t.splice(a,1)},r)})};if(t.push(i),!o)throw i.promise}function Z4(e,...t){if(t===void 0||t.length===0)e.splice(0,e.length);else{const n=e.find(r=>ih(t,r.args));if(n){const r=e.indexOf(n);r!==-1&&e.splice(r,1)}}}function e$(e,t=0){const n=[];return{read:(...r)=>Sg(e,n,r,t),preload:(...r)=>void Sg(e,n,r,t,!0),clear:(...r)=>Z4(n,...r),peek:(...r)=>{var o;return(o=n.find(i=>ih(r,i.args)))==null?void 0:o.response}}}const _g=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];function ia(e){if(e<1e3)return e+" B";const t=Math.min(Math.floor(Math.log10(e)/3),_g.length-1);e=Number((e/Math.pow(1e3,t)).toPrecision(3));const n=_g[t];return e+" "+n}const t$=e$(()=>_n(()=>import("./chart-lib-ced68107.js"),[],import.meta.url)),bg={borderWidth:1,pointRadius:0,tension:.2,fill:!0},n$={responsive:!0,maintainAspectRatio:!0,plugins:{legend:{labels:{boxWidth:20}}},scales:{x:{display:!1,type:"category"},y:{type:"linear",display:!0,grid:{display:!0,color:"#555",drawTicks:!1},border:{display:!1,dash:[3,6]},ticks:{callback(e){return ia(e)+"/s "}}}}},Eg=[{down:{backgroundColor:"rgba(176, 209, 132, 0.8)",borderColor:"rgb(176, 209, 132)"},up:{backgroundColor:"rgba(181, 220, 231, 0.8)",borderColor:"rgb(181, 220, 231)"}},{up:{backgroundColor:"rgb(98, 190, 100)",borderColor:"rgb(78,146,79)"},down:{backgroundColor:"rgb(160, 230, 66)",borderColor:"rgb(110, 156, 44)"}},{up:{backgroundColor:"rgba(94, 175, 223, 0.3)",borderColor:"rgb(94, 175, 223)"},down:{backgroundColor:"rgba(139, 227, 195, 0.3)",borderColor:"rgb(139, 227, 195)"}},{up:{backgroundColor:"rgba(242, 174, 62, 0.3)",borderColor:"rgb(242, 174, 62)"},down:{backgroundColor:"rgba(69, 154, 248, 0.3)",borderColor:"rgb(69, 154, 248)"}}],{useEffect:r$}=q;function o$(e,t,n,r,o={}){r$(()=>{const i=document.getElementById(t).getContext("2d"),a={...n$,...o},s=new e(i,{type:"line",data:n,options:a}),l=r&&r.subscribe(()=>s.update());return()=>{l&&l(),s.destroy()}},[e,t,n,r,o])}const{useMemo:i$}=Lt,a$={position:"relative",maxWidth:1e3},s$=e=>({apiConfig:Bo(e),selectedChartStyleIndex:nD(e)}),l$=On(s$)(u$);function u$({apiConfig:e,selectedChartStyleIndex:t}){const n=t$.read(),r=Bp(e),{t:o}=la(),i=i$(()=>({labels:r.labels,datasets:[{...bg,...Eg[t].up,label:o("Up"),data:r.up},{...bg,...Eg[t].down,label:o("Down"),data:r.down}]}),[r,t,o]);return o$(n.Chart,"trafficChart",i,r),R("div",{style:a$,children:R("canvas",{id:"trafficChart"})})}const c$="_TrafficNow_hzna1_1",f$="_sec_hzna1_10",Kr={TrafficNow:c$,sec:f$},{useState:ZS,useEffect:e_,useCallback:d$}=Lt,p$=e=>({apiConfig:Bo(e)}),h$=On(p$)(v$);function v$({apiConfig:e}){const{t}=la(),{upStr:n,downStr:r}=m$(e),{upTotal:o,dlTotal:i,connNumber:a}=g$(e);return se("div",{className:Kr.TrafficNow,children:[se("div",{className:Kr.sec,children:[R("div",{children:t("Upload")}),R("div",{children:n})]}),se("div",{className:Kr.sec,children:[R("div",{children:t("Download")}),R("div",{children:r})]}),se("div",{className:Kr.sec,children:[R("div",{children:t("Upload Total")}),R("div",{children:o})]}),se("div",{className:Kr.sec,children:[R("div",{children:t("Download Total")}),R("div",{children:i})]}),se("div",{className:Kr.sec,children:[R("div",{children:t("Active Connections")}),R("div",{children:a})]})]})}function m$(e){const[t,n]=ZS({upStr:"0 B/s",downStr:"0 B/s"});return e_(()=>Bp(e).subscribe(r=>n({upStr:ia(r.up)+"/s",downStr:ia(r.down)+"/s"})),[e]),t}function g$(e){const[t,n]=ZS({upTotal:"0 B",dlTotal:"0 B",connNumber:0}),r=d$(({downloadTotal:o,uploadTotal:i,connections:a})=>{n({upTotal:ia(i),dlTotal:ia(o),connNumber:a.length})},[n]);return e_(()=>zD(e,r),[e,r]),t}function y$(){const{t:e}=la();return se("div",{children:[R(qw,{title:e("Overview")}),se("div",{className:wg.root,children:[R("div",{children:R(h$,{})}),R("div",{className:wg.chart,children:R(w.Suspense,{fallback:R(cS,{height:"200px"}),children:R(l$,{})})})]})]})}const w$="_lo_pmly2_1",S$={lo:w$};function _$(){return R("div",{className:S$.lo,children:R(qp,{width:280,height:280,animate:!0,c0:"transparent",c1:"#646464"})})}const b$="_app_1s3k7_1",E$="_content_1s3k7_18",t_={app:b$,content:E$};var n_={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Cg=q.createContext&&q.createContext(n_),tr=globalThis&&globalThis.__assign||function(){return tr=Object.assign||function(e){for(var t,n=1,r=arguments.length;nR(z$,{to:n,isActive:t.pathname===n,iconId:r,labelText:e(o)},n))}),se("div",{className:Fn.footer,children:[R(JS,{}),R(rh,{label:e("about"),children:R(C1,{to:"/about",className:Fn.iconWrapper,children:R(hI,{size:20})})})]})]})}const W$="_input_mh4af_1",zU={input:W$},H$="_animate_1w0e8_1",BU={animate:H$,"zap-pulse":"_zap-pulse_1w0e8_1"};function sd(){return sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=l)&&this.A(n),this.W&&this.setState({N:!1,j:!1}),this.l=Date.now()},t.prototype.p=function(n){n.preventDefault(),typeof n.button=="number"&&n.button!==0||(this.I(n.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},t.prototype.v=function(n){n.preventDefault(),this.L(n.clientX)},t.prototype.g=function(n){this.U(n),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},t.prototype.k=function(n){this.X=null,this.I(n.touches[0].clientX)},t.prototype.m=function(n){this.L(n.touches[0].clientX)},t.prototype.M=function(n){n.preventDefault(),this.U(n)},t.prototype.$=function(n){Date.now()-this.l>50&&(this.A(n),Date.now()-this.u>50&&this.W&&this.setState({j:!1}))},t.prototype.C=function(){this.u=Date.now()},t.prototype.D=function(){this.setState({j:!0})},t.prototype.O=function(){this.setState({j:!1})},t.prototype.S=function(n){this.H=n},t.prototype.T=function(n){n.preventDefault(),this.H.focus(),this.A(n),this.W&&this.setState({j:!1})},t.prototype.A=function(n){var r=this.props;(0,r.onChange)(!r.checked,n,r.id)},t.prototype.render=function(){var n=this.props,r=n.checked,o=n.disabled,i=n.className,a=n.offColor,s=n.onColor,l=n.offHandleColor,u=n.onHandleColor,c=n.checkedIcon,f=n.uncheckedIcon,p=n.checkedHandleIcon,v=n.uncheckedHandleIcon,g=n.boxShadow,y=n.activeBoxShadow,S=n.height,h=n.width,d=n.borderRadius,m=function(j,X){var O={};for(var P in j)Object.prototype.hasOwnProperty.call(j,P)&&X.indexOf(P)===-1&&(O[P]=j[P]);return O}(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),_=this.state,x=_.h,C=_.N,T=_.j,N={position:"relative",display:"inline-block",textAlign:"left",opacity:o?.5:1,direction:"ltr",borderRadius:S/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},W={height:S,width:h,margin:Math.max(0,(this.t-S)/2),position:"relative",background:xg(x,this.i,this.o,a,s),borderRadius:typeof d=="number"?d:S/2,cursor:o?"default":"pointer",WebkitTransition:C?null:"background 0.25s",MozTransition:C?null:"background 0.25s",transition:C?null:"background 0.25s"},M={height:S,width:Math.min(1.5*S,h-(this.t+S)/2+1),position:"relative",opacity:(x-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},ee={height:S,width:Math.min(1.5*S,h-(this.t+S)/2+1),position:"absolute",opacity:1-(x-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},pe={height:this.t,width:this.t,background:xg(x,this.i,this.o,l,u),display:"inline-block",cursor:o?"default":"pointer",borderRadius:typeof d=="number"?d-1:"50%",position:"absolute",transform:"translateX("+x+"px)",top:Math.max(0,(S-this.t)/2),outline:0,boxShadow:T?y:g,border:0,WebkitTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:C?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},ue={height:this.t,width:this.t,opacity:Math.max(2*(1-(x-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"},K={height:this.t,width:this.t,opacity:Math.max(2*((x-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:C?null:"opacity 0.25s",MozTransition:C?null:"opacity 0.25s",transition:C?null:"opacity 0.25s"};return q.createElement("div",{className:i,style:N},q.createElement("div",{className:"react-switch-bg",style:W,onClick:o?null:this.T,onMouseDown:function(j){return j.preventDefault()}},c&&q.createElement("div",{style:M},c),f&&q.createElement("div",{style:ee},f)),q.createElement("div",{className:"react-switch-handle",style:pe,onClick:function(j){return j.preventDefault()},onMouseDown:o?null:this.p,onTouchStart:o?null:this.k,onTouchMove:o?null:this.m,onTouchEnd:o?null:this.M,onTouchCancel:o?null:this.O},v&&q.createElement("div",{style:ue},v),p&&q.createElement("div",{style:K},p)),q.createElement("input",sd({},{type:"checkbox",role:"switch","aria-checked":r,checked:r,disabled:o,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},m,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))},t}(w.Component);bs.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:K$,checkedIcon:Q$,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const q$=bs.default?bs.default:bs;function G$({checked:e=!1,onChange:t,theme:n,name:r}){return R(q$,{onChange:t,checked:e,uncheckedIcon:!1,checkedIcon:!1,offColor:n==="dark"?"#393939":"#e9e9e9",onColor:"#047aff",offHandleColor:"#fff",onHandleColor:"#fff",handleDiameter:24,height:28,width:44,className:"rs",name:r})}const VU=On(e=>({theme:Wp(e)}))(G$),Y$="_ToggleSwitch_10mtp_1",X$="_slider_10mtp_28",kg={ToggleSwitch:Y$,slider:X$};function J$({options:e,value:t,name:n,onChange:r}){const o=w.useMemo(()=>e.map(s=>s.value).indexOf(t),[e,t]),i=w.useCallback(s=>{const l=Math.floor(100/e.length);if(s===e.length-1)return 100-e.length*l+l;if(s>-1)return l},[e]),a=w.useMemo(()=>({width:i(o)+"%",left:o*i(0)+"%"}),[o,i]);return se("div",{className:kg.ToggleSwitch,children:[R("div",{className:kg.slider,style:a}),e.map((s,l)=>{const u=`${n}-${s.label}`;return se("label",{htmlFor:u,className:l===0?"":"border-left",style:{width:i(l)+"%"},children:[R("input",{id:u,name:n,type:"radio",value:s.value,checked:t===s.value,onChange:r}),R("div",{children:s.label})]},u)})]})}q.memo(J$);const{lazy:ka,Suspense:o_}=Lt,Z$=ka(()=>_n(()=>import("./Connections-2c1d9d67.js"),["./Connections-2c1d9d67.js","./useRemainingViewPortHeight-175c2a6c.js","./chevron-down-fcc32a65.js","./index-2a3ca6b4.js","./Fab-169bb281.js","./Fab-a0a7e573.css","./play-30aef65c.js","./Connections-fb8ea59b.css"],import.meta.url)),eU=ka(()=>_n(()=>import("./Config-b8a90983.js"),["./Config-b8a90983.js","./logs-08774dd8.js","./Select-4fa356cc.js","./Select-1e55eba1.css","./Config-35023b66.css"],import.meta.url)),tU=ka(()=>_n(()=>import("./Logs-ad267e02.js"),["./Logs-ad267e02.js","./index.esm-37f2c08f.js","./logs-08774dd8.js","./debounce-c1ba2006.js","./useRemainingViewPortHeight-175c2a6c.js","./Fab-169bb281.js","./Fab-a0a7e573.css","./play-30aef65c.js","./Logs-4b8e75d1.css"],import.meta.url)),nU=ka(()=>_n(()=>import("./Proxies-869a8128.js"),["./Proxies-869a8128.js","./chevron-down-fcc32a65.js","./Fab-169bb281.js","./Fab-a0a7e573.css","./TextFitler-4f121c73.js","./debounce-c1ba2006.js","./TextFitler-b21c0577.css","./index-2a3ca6b4.js","./Select-4fa356cc.js","./Select-1e55eba1.css","./Proxies-bee4beaa.css"],import.meta.url)),rU=ka(()=>_n(()=>import("./Rules-6bba7454.js"),["./Rules-6bba7454.js","./index.esm-37f2c08f.js","./TextFitler-4f121c73.js","./debounce-c1ba2006.js","./TextFitler-b21c0577.css","./index-2a3ca6b4.js","./Fab-169bb281.js","./Fab-a0a7e573.css","./useRemainingViewPortHeight-175c2a6c.js","./Rules-e11cb70e.css"],import.meta.url)),oU=[{path:"/",element:R(y$,{})},{path:"/connections",element:R(V4.Provider,{value:{hasProcessPath:!1},children:R(Z$,{})})},{path:"/configs",element:R(eU,{})},{path:"/logs",element:R(tU,{})},{path:"/proxies",element:R(nU,{})},{path:"/rules",element:R(rU,{})},{path:"/about",element:R(_D,{})},!1].filter(Boolean);function iU(){return E1(oU)}function aU(){return se(wn,{children:[R(z4,{}),R(V$,{}),R("div",{className:t_.content,children:R(o_,{fallback:R(_$,{}),children:R(iU,{})})})]})}function sU(){return E1([{path:"/backend",element:R(ES,{})},{path:"*",element:R(aU,{})}])}const lU=()=>R(Y4,{children:R(JA,{children:R(WI,{initialState:lM,actions:uM,children:R(q2,{client:TD,children:R(lk,{children:se("div",{className:t_.app,children:[R(kD,{}),R(o_,{fallback:R(cS,{}),children:R(sU,{})})]})})})})})}),uU=Boolean(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function cU(e){if("serviceWorker"in navigator){if(new URL("",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n="/sw.js";uU?(fU(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker")})):i_(n,e)})}}function i_(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function fU(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(o=>{o.unregister().then(()=>{window.location.reload()})}):i_(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}pU();const a_=document.getElementById("app"),dU=Q0(a_);function Sc(e){const t=document.createElement("link");t.href=e,t.rel="preload",t.as="font",t.crossOrigin="",document.head.appendChild(t)}function pU(){Sc(eE),Sc(tE),Sc(nE)}n1.setAppElement(a_);dU.render(R(w.StrictMode,{children:R(lU,{})}));cU();console.log("Checkout the repo: https://github.com/haishanh/yacd");console.log("Version:","0.3.8");console.log("Commit hash:","8337591");export{mS as $,nD as A,KM as B,qw as C,lS as D,wU as E,wn as F,_t as G,yU as H,gI as I,UD as J,OU as K,TU as L,V4 as M,kU as N,_U as O,xU as P,Hn as Q,q as R,qp as S,BU as T,jU as U,gU as V,UU as W,GD as X,h4 as Y,YS as Z,_c as _,vU as a,so as a0,MU as a1,FU as a2,rh as a3,EU as a4,CU as a5,RU as a6,AU as a7,IU as a8,$U as a9,DU as aa,oh as ab,rD as ac,Vo as ad,NU as ae,YD as af,LU as ag,va as ah,am as ai,T2 as aj,Ie as ak,mU as al,Q2 as am,K2 as an,Z2 as ao,ZA as ap,lx as aq,se as b,ir as c,n1 as d,On as e,PU as f,zD as g,Bo as h,Lt as i,R as j,ge as k,t$ as l,yg as m,bg as n,Eg as o,ia as p,o$ as q,w as r,zU as s,SU as t,la as u,aS as v,eg as w,bU as x,VI as y,VU as z}; diff --git a/assets/index-534e085e.js b/assets/index-534e085e.js new file mode 100644 index 0000000..9b131a1 --- /dev/null +++ b/assets/index-534e085e.js @@ -0,0 +1,9 @@ +import{r as p,R as rn}from"./index-3e6aad90.js";const K=p.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ce=p.createContext({});function ei(){return p.useContext(ce).visualElement}const gt=p.createContext(null),ue=typeof document<"u",Q=ue?p.useLayoutEffect:p.useEffect,on=p.createContext({strict:!1});function jr(t,e,n,s){const i=ei(),o=p.useContext(on),r=p.useContext(gt),a=p.useContext(K).reducedMotion,c=p.useRef();s=s||o.renderer,!c.current&&s&&(c.current=s(t,{visualState:e,parent:i,props:n,presenceId:r?r.id:void 0,blockInitialAnimation:r?r.initial===!1:!1,reducedMotionConfig:a}));const u=c.current;return Q(()=>{u&&u.render()}),(window.HandoffAppearAnimations?Q:p.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}function ft(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function _r(t,e,n){return p.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):ft(n)&&(n.current=s))},[e])}function Et(t){return typeof t=="string"||Array.isArray(t)}function le(t){return typeof t=="object"&&typeof t.start=="function"}const Ur=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function fe(t){return le(t.animate)||Ur.some(e=>Et(t[e]))}function ni(t){return Boolean(fe(t)||t.variants)}function zr(t,e){if(fe(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Et(n)?n:void 0,animate:Et(s)?s:void 0}}return t.inherit!==!1?e:{}}function Nr(t){const{initial:e,animate:n}=zr(t,p.useContext(ce));return p.useMemo(()=>({initial:e,animate:n}),[Wn(e),Wn(n)])}function Wn(t){return Array.isArray(t)?t.join(" "):t}const G=t=>({isEnabled:e=>t.some(n=>!!e[n])}),Lt={measureLayout:G(["layout","layoutId","drag"]),animation:G(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:G(["exit"]),drag:G(["drag","dragControls"]),focus:G(["whileFocus"]),hover:G(["whileHover","onHoverStart","onHoverEnd"]),tap:G(["whileTap","onTap","onTapStart","onTapCancel"]),pan:G(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:G(["whileInView","onViewportEnter","onViewportLeave"])};function Be(t){for(const e in t)e==="projectionNodeConstructor"?Lt.projectionNodeConstructor=t[e]:Lt[e].Component=t[e]}function D(t){const e=p.useRef(null);return e.current===null&&(e.current=t()),e.current}const Pt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let Wr=1;function $r(){return D(()=>{if(Pt.hasEverUpdated)return Wr++})}const Dt=p.createContext({});class Gr extends rn.Component{getSnapshotBeforeUpdate(){const{visualElement:e,props:n}=this.props;return e&&e.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const si=p.createContext({}),an=Symbol.for("motionComponentSymbol");function ii({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:n,useRender:s,useVisualState:i,Component:o}){t&&Be(t);function r(c,u){const l={...p.useContext(K),...c,layoutId:Hr(c)},{isStatic:d}=l;let f=null;const h=Nr(c),m=d?void 0:$r(),g=i(c,d);if(!d&&ue){h.visualElement=jr(o,g,l,e);const b=p.useContext(si);h.visualElement&&(f=h.visualElement.loadFeatures(l,p.useContext(on).strict,t,m,n||Lt.projectionNodeConstructor,b))}return p.createElement(Gr,{visualElement:h.visualElement,props:l},f,p.createElement(ce.Provider,{value:h},s(o,c,m,_r(g,h.visualElement,u),g,d,h.visualElement)))}const a=p.forwardRef(r);return a[an]=o,a}function Hr({layoutId:t}){const e=p.useContext(Dt).id;return e&&t!==void 0?e+"-"+t:t}function ri(t){function e(s,i={}){return ii(t(s,i))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(s,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const Kr=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function cn(t){return typeof t!="string"||t.includes("-")?!1:!!(Kr.indexOf(t)>-1||/[A-Z]/.test(t))}const Yt={};function Xr(t){Object.assign(Yt,t)}const qt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],X=new Set(qt);function oi(t,{layout:e,layoutId:n}){return X.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Yt[t]||t==="opacity")}const L=t=>!!(t!=null&&t.getVelocity),Yr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qr=(t,e)=>qt.indexOf(t)-qt.indexOf(e);function Zr({transform:t,transformKeys:e},{enableHardwareAcceleration:n=!0,allowTransformNone:s=!0},i,o){let r="";e.sort(qr);for(const a of e)r+=`${Yr[a]||a}(${t[a]}) `;return n&&!t.z&&(r+="translateZ(0)"),r=r.trim(),o?r=o(t,i?"":r):s&&i&&(r="none"),r}function un(t){return t.startsWith("--")}const Jr=(t,e)=>e&&typeof t=="number"?e.transform(t):t,mt=(t,e,n)=>Math.min(Math.max(n,t),e),ut={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ct={...ut,transform:t=>mt(0,1,t)},zt={...ut,default:1},St=t=>Math.round(t*1e5)/1e5,It=/(-)?([\d]*\.?[\d])+/g,Fe=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Qr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function jt(t){return typeof t=="string"}const _t=t=>({test:e=>jt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Y=_t("deg"),W=_t("%"),V=_t("px"),to=_t("vh"),eo=_t("vw"),$n={...W,parse:t=>W.parse(t)/100,transform:t=>W.transform(t*100)},Gn={...ut,transform:Math.round},ai={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,size:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scale:zt,scaleX:zt,scaleY:zt,scaleZ:zt,skew:Y,skewX:Y,skewY:Y,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:Ct,originX:$n,originY:$n,originZ:V,zIndex:Gn,fillOpacity:Ct,strokeOpacity:Ct,numOctaves:Gn};function ln(t,e,n,s){const{style:i,vars:o,transform:r,transformKeys:a,transformOrigin:c}=t;a.length=0;let u=!1,l=!1,d=!0;for(const f in e){const h=e[f];if(un(f)){o[f]=h;continue}const m=ai[f],g=Jr(h,m);if(X.has(f)){if(u=!0,r[f]=g,a.push(f),!d)continue;h!==(m.default||0)&&(d=!1)}else f.startsWith("origin")?(l=!0,c[f]=g):i[f]=g}if(e.transform||(u||s?i.transform=Zr(t,n,d,s):i.transform&&(i.transform="none")),l){const{originX:f="50%",originY:h="50%",originZ:m=0}=c;i.transformOrigin=`${f} ${h} ${m}`}}const fn=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function ci(t,e,n){for(const s in e)!L(e[s])&&!oi(s,n)&&(t[s]=e[s])}function no({transformTemplate:t},e,n){return p.useMemo(()=>{const s=fn();return ln(s,e,{enableHardwareAcceleration:!n},t),Object.assign({},s.vars,s.style)},[e])}function so(t,e,n){const s=t.style||{},i={};return ci(i,s,t),Object.assign(i,no(t,e,n)),t.transformValues?t.transformValues(i):i}function io(t,e,n){const s={},i=so(t,e,n);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=i,s}const ro=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Zt(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||ro.has(t)}let ui=t=>!Zt(t);function li(t){t&&(ui=e=>e.startsWith("on")?!Zt(e):t(e))}try{li(require("@emotion/is-prop-valid").default)}catch{}function oo(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(ui(i)||n===!0&&Zt(i)||!e&&!Zt(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function Hn(t,e,n){return typeof t=="string"?t:V.transform(e+n*t)}function ao(t,e,n){const s=Hn(e,t.x,t.width),i=Hn(n,t.y,t.height);return`${s} ${i}`}const co={offset:"stroke-dashoffset",array:"stroke-dasharray"},uo={offset:"strokeDashoffset",array:"strokeDasharray"};function lo(t,e,n=1,s=0,i=!0){t.pathLength=1;const o=i?co:uo;t[o.offset]=V.transform(-s);const r=V.transform(e),a=V.transform(n);t[o.array]=`${r} ${a}`}function dn(t,{attrX:e,attrY:n,originX:s,originY:i,pathLength:o,pathSpacing:r=1,pathOffset:a=0,...c},u,l,d){if(ln(t,c,u,d),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h,dimensions:m}=t;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(s!==void 0||i!==void 0||h.transform)&&(h.transformOrigin=ao(m,s!==void 0?s:.5,i!==void 0?i:.5)),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),o!==void 0&&lo(f,o,r,a,!1)}const fi=()=>({...fn(),attrs:{}}),hn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function fo(t,e,n,s){const i=p.useMemo(()=>{const o=fi();return dn(o,e,{enableHardwareAcceleration:!1},hn(s),t.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(t.style){const o={};ci(o,t.style,t),i.style={...o,...i.style}}return i}function ho(t=!1){return(n,s,i,o,{latestValues:r},a)=>{const u=(cn(n)?fo:io)(s,r,a,n),d={...oo(s,typeof n=="string",t),...u,ref:o},{children:f}=s,h=p.useMemo(()=>L(f)?f.get():f,[f]);return i&&(d["data-projection-id"]=i),p.createElement(n,{...d,children:h})}}const Ot=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function di(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const o in n)t.style.setProperty(o,n[o])}const hi=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function pi(t,e,n,s){di(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(hi.has(i)?i:Ot(i),e.attrs[i])}function pn(t,e){const{style:n}=t,s={};for(const i in n)(L(n[i])||e.style&&L(e.style[i])||oi(i,t))&&(s[i]=n[i]);return s}function mi(t,e){const n=pn(t,e);for(const s in t)if(L(t[s])||L(e[s])){const i=s==="x"||s==="y"?"attr"+s.toUpperCase():s;n[i]=t[s]}return n}function mn(t,e,n,s={},i={}){return typeof e=="function"&&(e=e(n!==void 0?n:t.custom,s,i)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(n!==void 0?n:t.custom,s,i)),e}const Jt=t=>Array.isArray(t),po=t=>Boolean(t&&typeof t=="object"&&t.mix&&t.toValue),mo=t=>Jt(t)?t[t.length-1]||0:t;function Gt(t){const e=L(t)?t.get():t;return po(e)?e.toValue():e}function go({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,o){const r={latestValues:yo(s,i,o,t),renderState:e()};return n&&(r.mount=a=>n(s,a,r)),r}const gn=t=>(e,n)=>{const s=p.useContext(ce),i=p.useContext(gt),o=()=>go(t,e,s,i);return n?o():D(o)};function yo(t,e,n,s){const i={},o=s(t,{});for(const f in o)i[f]=Gt(o[f]);let{initial:r,animate:a}=t;const c=fe(t),u=ni(t);e&&u&&!c&&t.inherit!==!1&&(r===void 0&&(r=e.initial),a===void 0&&(a=e.animate));let l=n?n.initial===!1:!1;l=l||r===!1;const d=l?a:r;return d&&typeof d!="boolean"&&!le(d)&&(Array.isArray(d)?d:[d]).forEach(h=>{const m=mn(t,h);if(!m)return;const{transitionEnd:g,transition:b,...T}=m;for(const x in T){let v=T[x];if(Array.isArray(v)){const y=l?v.length-1:0;v=v[y]}v!==null&&(i[x]=v)}for(const x in g)i[x]=g[x]}),i}const vo={useVisualState:gn({scrapeMotionValuesFromProps:mi,createRenderState:fi,onMount:(t,e,{renderState:n,latestValues:s})=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}dn(n,s,{enableHardwareAcceleration:!1},hn(e.tagName),t.transformTemplate),pi(e,n)}})},xo={useVisualState:gn({scrapeMotionValuesFromProps:pn,createRenderState:fn})};function yn(t,{forwardMotionProps:e=!1},n,s,i){return{...cn(t)?vo:xo,preloadedFeatures:n,useRender:ho(e),createVisualElement:s,projectionNodeConstructor:i,Component:t}}var S;(function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"})(S||(S={}));function ot(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function Qt(t,e,n,s){p.useEffect(()=>{const i=t.current;if(n&&i)return ot(i,e,n,s)},[t,e,n,s])}function bo({whileFocus:t,visualElement:e}){const n=p.useRef(!1),{animationState:s}=e,i=p.useCallback(()=>{let r=!1;try{r=e.current.matches(":focus-visible")}catch{r=!0}!r||!s||(s.setActive(S.Focus,!0),n.current=!0)},[s]),o=p.useCallback(()=>{!n.current||!s||(s.setActive(S.Focus,!1),n.current=!1)},[s]);Qt(e,"focus",t?i:void 0),Qt(e,"blur",t?o:void 0)}const gi=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function de(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const yi=t=>e=>gi(e)&&t(e,de(e));function pt(t,e,n,s){return ot(t,e,yi(n),s)}function te(t,e,n,s){return Qt(t,e,n&&yi(n),s)}function vi(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Kn=vi("dragHorizontal"),Xn=vi("dragVertical");function xi(t){let e=!1;if(t==="y")e=Xn();else if(t==="x")e=Kn();else{const n=Kn(),s=Xn();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function bi(){const t=xi(!0);return t?(t(),!1):!0}function Yn(t,e,n,s){return(i,o)=>{i.type==="touch"||bi()||(n&&t.animationState&&t.animationState.setActive(S.Hover,e),s&&s(i,o))}}function To({onHoverStart:t,onHoverEnd:e,whileHover:n,visualElement:s}){te(s,"pointerenter",p.useMemo(()=>t||n?Yn(s,!0,Boolean(n),t):void 0,[t,Boolean(n),s]),{passive:!t}),te(s,"pointerleave",p.useMemo(()=>e||n?Yn(s,!1,Boolean(n),e):void 0,[t,Boolean(n),s]),{passive:!e})}const Ti=(t,e)=>e?t===e?!0:Ti(t,e.parentElement):!1;function vn(t){return p.useEffect(()=>()=>t(),[])}const Vo=(t,e)=>n=>e(t(n)),he=(...t)=>t.reduce(Vo);function be(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,de(n))}function Po({onTap:t,onTapStart:e,onTapCancel:n,whileTap:s,visualElement:i,...o}){const r=t||e||n||s,a=p.useRef(!1),c=p.useRef(null),u={passive:!(e||t||n||o.onPointerDown)};function l(){c.current&&c.current(),c.current=null}function d(){return l(),a.current=!1,i.getProps().whileTap&&i.animationState&&i.animationState.setActive(S.Tap,!1),!bi()}function f(x,v){var y,P,C,w;d()&&(Ti(i.current,x.target)?(w=(C=i.getProps()).onTap)===null||w===void 0||w.call(C,x,v):(P=(y=i.getProps()).onTapCancel)===null||P===void 0||P.call(y,x,v))}function h(x,v){var y,P;d()&&((P=(y=i.getProps()).onTapCancel)===null||P===void 0||P.call(y,x,v))}function m(x,v){var y;const P=i.getProps();P.whileTap&&i.animationState&&i.animationState.setActive(S.Tap,!0),(y=P.onTapStart)===null||y===void 0||y.call(P,x,v)}const g=[Boolean(e),Boolean(t),Boolean(s),i],b=p.useCallback((x,v)=>{l(),!a.current&&(a.current=!0,c.current=he(pt(window,"pointerup",f,u),pt(window,"pointercancel",h,u)),m(x,v))},g);te(i,"pointerdown",r?b:void 0,u);const T=p.useCallback(()=>{const x=ot(i.current,"keydown",y=>{y.key!=="Enter"||a.current||(a.current=!0,c.current=ot(i.current,"keyup",()=>{y.key!=="Enter"||!d()||be("up",i.getProps().onTap)},u),be("down",m))}),v=ot(i.current,"blur",()=>{x(),v(),a.current&&be("cancel",h)})},g);Qt(i,"focus",r?T:void 0),vn(l)}const ke=new WeakMap,Te=new WeakMap,Co=t=>{const e=ke.get(t.target);e&&e(t)},So=t=>{t.forEach(Co)};function Ao({root:t,...e}){const n=t||document;Te.has(n)||Te.set(n,{});const s=Te.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(So,{root:t,...e})),s[i]}function wo(t,e,n){const s=Ao(e);return ke.set(t,n),s.observe(t),()=>{ke.delete(t),s.unobserve(t)}}function Mo({visualElement:t,whileInView:e,onViewportEnter:n,onViewportLeave:s,viewport:i={}}){const o=p.useRef({hasEnteredView:!1,isInView:!1});let r=Boolean(e||n||s);i.once&&o.current.hasEnteredView&&(r=!1),(typeof IntersectionObserver>"u"?Lo:Eo)(r,o.current,t,i)}const Ro={some:0,all:1};function Eo(t,e,n,{root:s,margin:i,amount:o="some",once:r}){p.useEffect(()=>{if(!t||!n.current)return;const a={root:s==null?void 0:s.current,rootMargin:i,threshold:typeof o=="number"?o:Ro[o]},c=u=>{const{isIntersecting:l}=u;if(e.isInView===l||(e.isInView=l,r&&!l&&e.hasEnteredView))return;l&&(e.hasEnteredView=!0),n.animationState&&n.animationState.setActive(S.InView,l);const d=n.getProps(),f=l?d.onViewportEnter:d.onViewportLeave;f&&f(u)};return wo(n.current,a,c)},[t,s,i,o])}function Lo(t,e,n,{fallback:s=!0}){p.useEffect(()=>{!t||!s||requestAnimationFrame(()=>{e.hasEnteredView=!0;const{onViewportEnter:i}=n.getProps();i&&i(null),n.animationState&&n.animationState.setActive(S.InView,!0)})},[t])}const J=t=>e=>(t(e),null),Vi={inView:J(Mo),tap:J(Po),focus:J(bo),hover:J(To)};function Pi(){const t=p.useContext(gt);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=p.useId();return p.useEffect(()=>s(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}function kl(){return Do(p.useContext(gt))}function Do(t){return t===null?!0:t.isPresent}function Ci(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s/^\-?\d*\.?\d+$/.test(t),Oo=t=>/^0[^.\s]+$/.test(t),H={delta:0,timestamp:0},Si=1/60*1e3,Bo=typeof performance<"u"?()=>performance.now():()=>Date.now(),Ai=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(Bo()),Si);function Fo(t){let e=[],n=[],s=0,i=!1,o=!1;const r=new WeakSet,a={schedule:(c,u=!1,l=!1)=>{const d=l&&i,f=d?e:n;return u&&r.add(c),f.indexOf(c)===-1&&(f.push(c),d&&i&&(s=e.length)),c},cancel:c=>{const u=n.indexOf(c);u!==-1&&n.splice(u,1),r.delete(c)},process:c=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,s=e.length,s)for(let u=0;u(t[e]=Fo(()=>Bt=!0),t),{}),E=Ut.reduce((t,e)=>{const n=pe[e];return t[e]=(s,i=!1,o=!1)=>(Bt||_o(),n.schedule(s,i,o)),t},{}),$=Ut.reduce((t,e)=>(t[e]=pe[e].cancel,t),{}),Ve=Ut.reduce((t,e)=>(t[e]=()=>pe[e].process(H),t),{}),jo=t=>pe[t].process(H),wi=t=>{Bt=!1,H.delta=je?Si:Math.max(Math.min(t-H.timestamp,ko),1),H.timestamp=t,_e=!0,Ut.forEach(jo),_e=!1,Bt&&(je=!1,Ai(wi))},_o=()=>{Bt=!0,je=!0,_e||Ai(wi)};function me(t,e){t.indexOf(e)===-1&&t.push(e)}function Ft(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Uo([...t],e,n){const s=e<0?t.length+e:e;if(s>=0&&sFt(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let o=0;o!isNaN(parseFloat(t));class Mi{constructor(e,n={}){this.version="9.0.2",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(s,i=!0)=>{this.prev=this.current,this.current=s;const{delta:o,timestamp:r}=H;this.lastUpdated!==r&&(this.timeDelta=o,this.lastUpdated=r,E.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>E.postRender(this.velocityCheck),this.velocityCheck=({timestamp:s})=>{s!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=zo(this.current),this.owner=n.owner}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new xn);const s=this.events[e].add(n);return e==="change"?()=>{s(),E.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=e,this.timeDelta=s}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?bn(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n)||null,this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=null}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function z(t,e){return new Mi(t,e)}const Tn=(t,e)=>n=>Boolean(jt(n)&&Qr.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),Ri=(t,e,n)=>s=>{if(!jt(s))return s;const[i,o,r,a]=s.match(It);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},No=t=>mt(0,255,t),Pe={...ut,transform:t=>Math.round(No(t))},rt={test:Tn("rgb","red"),parse:Ri("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+Pe.transform(t)+", "+Pe.transform(e)+", "+Pe.transform(n)+", "+St(Ct.transform(s))+")"};function Wo(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Ue={test:Tn("#"),parse:Wo,transform:rt.transform},dt={test:Tn("hsl","hue"),parse:Ri("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+W.transform(St(e))+", "+W.transform(St(n))+", "+St(Ct.transform(s))+")"},O={test:t=>rt.test(t)||Ue.test(t)||dt.test(t),parse:t=>rt.test(t)?rt.parse(t):dt.test(t)?dt.parse(t):Ue.parse(t),transform:t=>jt(t)?t:t.hasOwnProperty("red")?rt.transform(t):dt.transform(t)},Ei="${c}",Li="${n}";function $o(t){var e,n;return isNaN(t)&&jt(t)&&(((e=t.match(It))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Fe))===null||n===void 0?void 0:n.length)||0)>0}function ee(t){typeof t=="number"&&(t=`${t}`);const e=[];let n=0,s=0;const i=t.match(Fe);i&&(n=i.length,t=t.replace(Fe,Ei),e.push(...i.map(O.parse)));const o=t.match(It);return o&&(s=o.length,t=t.replace(It,Li),e.push(...o.map(ut.parse))),{values:e,numColors:n,numNumbers:s,tokenised:t}}function Di(t){return ee(t).values}function Ii(t){const{values:e,numColors:n,tokenised:s}=ee(t),i=e.length;return o=>{let r=s;for(let a=0;atypeof t=="number"?0:t;function Ho(t){const e=Di(t);return Ii(t)(e.map(Go))}const tt={test:$o,parse:Di,createTransformer:Ii,getAnimatableNone:Ho},Ko=new Set(["brightness","contrast","saturate","opacity"]);function Xo(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(It)||[];if(!s)return t;const i=n.replace(s,"");let o=Ko.has(e)?1:0;return s!==n&&(o*=100),e+"("+o+i+")"}const Yo=/([a-z-]*)\(.*?\)/g,ze={...tt,getAnimatableNone:t=>{const e=t.match(Yo);return e?e.map(Xo).join(" "):t}},qo={...ai,color:O,backgroundColor:O,outlineColor:O,fill:O,stroke:O,borderColor:O,borderTopColor:O,borderRightColor:O,borderBottomColor:O,borderLeftColor:O,filter:ze,WebkitFilter:ze},Vn=t=>qo[t];function Pn(t,e){var n;let s=Vn(t);return s!==ze&&(s=tt),(n=s.getAnimatableNone)===null||n===void 0?void 0:n.call(s,e)}const Oi=t=>e=>e.test(t),Zo={test:t=>t==="auto",parse:t=>t},Bi=[ut,V,W,Y,eo,to,Zo],xt=t=>Bi.find(Oi(t)),Jo=[...Bi,O,tt],Qo=t=>Jo.find(Oi(t));function ta(t){const e={};return t.values.forEach((n,s)=>e[s]=n.get()),e}function ea(t){const e={};return t.values.forEach((n,s)=>e[s]=n.getVelocity()),e}function ge(t,e,n){const s=t.getProps();return mn(s,e,n!==void 0?n:s.custom,ta(t),ea(t))}function na(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,z(n))}function Cn(t,e){const n=ge(t,e);let{transitionEnd:s={},transition:i={},...o}=n?t.makeTargetAnimatable(n,!1):{};o={...o,...s};for(const r in o){const a=mo(o[r]);na(t,r,a)}}function Ne(t,e){[...e].reverse().forEach(s=>{var i;const o=t.getVariant(s);o&&Cn(t,o),(i=t.variantChildren)===null||i===void 0||i.forEach(r=>{Ne(r,e)})})}function sa(t,e){if(Array.isArray(e))return Ne(t,e);if(typeof e=="string")return Ne(t,[e]);Cn(t,e)}function Fi(t,e,n){var s,i;const o=Object.keys(e).filter(a=>!t.hasValue(a)),r=o.length;if(r)for(let a=0;at*1e3,We={current:!1},Sn=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,An=t=>e=>1-t(1-e),wn=t=>t*t,oa=An(wn),Mn=Sn(wn),A=(t,e,n)=>-n*t+n*e+t;function Ce(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function aa({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,o=0,r=0;if(!e)i=o=r=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;i=Ce(c,a,t+1/3),o=Ce(c,a,t),r=Ce(c,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:s}}const Se=(t,e,n)=>{const s=t*t;return Math.sqrt(Math.max(0,n*(e*e-s)+s))},ca=[Ue,rt,dt],ua=t=>ca.find(e=>e.test(t));function qn(t){const e=ua(t);let n=e.parse(t);return e===dt&&(n=aa(n)),n}const Ui=(t,e)=>{const n=qn(t),s=qn(e),i={...n};return o=>(i.red=Se(n.red,s.red,o),i.green=Se(n.green,s.green,o),i.blue=Se(n.blue,s.blue,o),i.alpha=A(n.alpha,s.alpha,o),rt.transform(i))};function zi(t,e){return typeof t=="number"?n=>A(t,e,n):O.test(t)?Ui(t,e):Wi(t,e)}const Ni=(t,e)=>{const n=[...t],s=n.length,i=t.map((o,r)=>zi(o,e[r]));return o=>{for(let r=0;r{const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=zi(t[i],e[i]));return i=>{for(const o in s)n[o]=s[o](i);return n}},Wi=(t,e)=>{const n=tt.createTransformer(e),s=ee(t),i=ee(e);return s.numColors===i.numColors&&s.numNumbers>=i.numNumbers?he(Ni(s.values,i.values),n):r=>`${r>0?e:t}`},ie=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},Zn=(t,e)=>n=>A(t,e,n);function fa(t){return typeof t=="number"?Zn:typeof t=="string"?O.test(t)?Ui:Wi:Array.isArray(t)?Ni:typeof t=="object"?la:Zn}function da(t,e,n){const s=[],i=n||fa(t[0]),o=t.length-1;for(let r=0;rt[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const r=da(e,s,i),a=r.length,c=u=>{let l=0;if(a>1)for(;lc(mt(t[0],t[o-1],u)):c}const ye=t=>t,$i=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,ha=1e-7,pa=12;function ma(t,e,n,s,i){let o,r,a=0;do r=e+(n-e)/2,o=$i(r,s,i)-t,o>0?n=r:e=r;while(Math.abs(o)>ha&&++ama(o,0,1,t,n);return o=>o===0||o===1?o:$i(i(o),e,s)}const Hi=t=>1-Math.sin(Math.acos(t)),En=An(Hi),ga=Sn(En),Ki=Gi(.33,1.53,.69,.99),Ln=An(Ki),ya=Sn(Ln),va=t=>(t*=2)<1?.5*Ln(t):.5*(2-Math.pow(2,-10*(t-1))),xa={linear:ye,easeIn:wn,easeInOut:Mn,easeOut:oa,circIn:Hi,circInOut:ga,circOut:En,backIn:Ln,backInOut:ya,backOut:Ki,anticipate:va},Jn=t=>{if(Array.isArray(t)){se(t.length===4);const[e,n,s,i]=t;return Gi(e,n,s,i)}else if(typeof t=="string")return xa[t];return t},ba=t=>Array.isArray(t)&&typeof t[0]!="number";function Ta(t,e){return t.map(()=>e||Mn).splice(0,t.length-1)}function Va(t){const e=t.length;return t.map((n,s)=>s!==0?s/(e-1):0)}function Pa(t,e){return t.map(n=>n*e)}function $e({keyframes:t,ease:e=Mn,times:n,duration:s=300}){t=[...t];const i=ba(e)?e.map(Jn):Jn(e),o={done:!1,value:t[0]},r=Pa(n&&n.length===t.length?n:Va(t),s);function a(){return Rn(r,t,{ease:Array.isArray(i)?i:Ta(t,i)})}let c=a();return{next:u=>(o.value=c(u),o.done=u>=s,o),flipTarget:()=>{t.reverse(),c=a()}}}const Ae=.001,Ca=.01,Qn=10,Sa=.05,Aa=1;function wa({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let i,o;_i(t<=Qn*1e3);let r=1-e;r=mt(Sa,Aa,r),t=mt(Ca,Qn,t/1e3),r<1?(i=u=>{const l=u*r,d=l*t,f=l-n,h=Ge(u,r),m=Math.exp(-d);return Ae-f/h*m},o=u=>{const d=u*r*t,f=d*n+n,h=Math.pow(r,2)*Math.pow(u,2)*t,m=Math.exp(-d),g=Ge(Math.pow(u,2),r);return(-i(u)+Ae>0?-1:1)*((f-h)*m)/g}):(i=u=>{const l=Math.exp(-u*t),d=(u-n)*t+1;return-Ae+l*d},o=u=>{const l=Math.exp(-u*t),d=(n-u)*(t*t);return l*d});const a=5/t,c=Ra(i,o,a);if(t=t*1e3,isNaN(c))return{stiffness:100,damping:10,duration:t};{const u=Math.pow(c,2)*s;return{stiffness:u,damping:r*2*Math.sqrt(s*u),duration:t}}}const Ma=12;function Ra(t,e,n){let s=n;for(let i=1;it[n]!==void 0)}function Da(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!ts(t,La)&&ts(t,Ea)){const n=wa(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}const Ia=5;function Xi({keyframes:t,restDelta:e,restSpeed:n,...s}){let i=t[0],o=t[t.length-1];const r={done:!1,value:i},{stiffness:a,damping:c,mass:u,velocity:l,duration:d,isResolvedFromDuration:f}=Da(s);let h=Oa,m=l?-(l/1e3):0;const g=c/(2*Math.sqrt(a*u));function b(){const T=o-i,x=Math.sqrt(a/u)/1e3,v=Math.abs(T)<5;if(n||(n=v?.01:2),e||(e=v?.005:.5),g<1){const y=Ge(x,g);h=P=>{const C=Math.exp(-g*x*P);return o-C*((m+g*x*T)/y*Math.sin(y*P)+T*Math.cos(y*P))}}else if(g===1)h=y=>o-Math.exp(-x*y)*(T+(m+x*T)*y);else{const y=x*Math.sqrt(g*g-1);h=P=>{const C=Math.exp(-g*x*P),w=Math.min(y*P,300);return o-C*((m+g*x*T)*Math.sinh(w)+y*T*Math.cosh(w))/y}}}return b(),{next:T=>{const x=h(T);if(f)r.done=T>=d;else{let v=m;if(T!==0)if(g<1){const C=Math.max(0,T-Ia);v=bn(x-h(C),T-C)}else v=0;const y=Math.abs(v)<=n,P=Math.abs(o-x)<=e;r.done=y&&P}return r.value=r.done?o:x,r},flipTarget:()=>{m=-m,[i,o]=[o,i],b()}}}Xi.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";const Oa=t=>0;function Ba({keyframes:t=[0],velocity:e=0,power:n=.8,timeConstant:s=350,restDelta:i=.5,modifyTarget:o}){const r=t[0],a={done:!1,value:r};let c=n*e;const u=r+c,l=o===void 0?u:o(u);return l!==u&&(c=l-r),{next:d=>{const f=-c*Math.exp(-d/s);return a.done=!(f>i||f<-i),a.value=a.done?l:l+f,a},flipTarget:()=>{}}}const Fa={decay:Ba,keyframes:$e,tween:$e,spring:Xi};function Yi(t,e,n=0){return t-e-n}function ka(t,e=0,n=0,s=!0){return s?Yi(e+-t,e,n):e-(t-e)+n}function ja(t,e,n,s){return s?t>=e+n:t<=-n}const _a=t=>{const e=({delta:n})=>t(n);return{start:()=>E.update(e,!0),stop:()=>$.update(e)}};function kt({duration:t,driver:e=_a,elapsed:n=0,repeat:s=0,repeatType:i="loop",repeatDelay:o=0,keyframes:r,autoplay:a=!0,onPlay:c,onStop:u,onComplete:l,onRepeat:d,onUpdate:f,type:h="keyframes",...m}){var g,b;const T=n;let x,v=0,y=t,P=!1,C=!0,w;const F=Fa[r.length>2?"keyframes":h]||$e,k=r[0],I=r[r.length-1];let j={done:!1,value:k};!((b=(g=F).needsInterpolation)===null||b===void 0)&&b.call(g,k,I)&&(w=Rn([0,100],[k,I],{clamp:!1}),r=[0,100]);const yt=F({...m,duration:t,keyframes:r});function ve(){v++,i==="reverse"?(C=v%2===0,n=ka(n,y,o,C)):(n=Yi(n,y,o),i==="mirror"&&yt.flipTarget()),P=!1,d&&d()}function vt(){x&&x.stop(),l&&l()}function M(_){C||(_=-_),n+=_,P||(j=yt.next(Math.max(0,n)),w&&(j.value=w(j.value)),P=C?j.done:n<=0),f&&f(j.value),P&&(v===0&&(y=y!==void 0?y:n),v{u&&u(),x&&x.stop()},set currentTime(_){n=T,M(_)},sample:_=>{n=T;const Nn=t&&typeof t=="number"?Math.max(t*.5,50):50;let xe=0;for(M(0);xe<=_;){const kr=_-xe;M(Math.min(kr,Nn)),xe+=Nn}return j}}}function Ua(t){return!t||Array.isArray(t)||typeof t=="string"&&qi[t]}const Vt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,qi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vt([0,.65,.55,1]),circOut:Vt([.55,0,1,.45]),backIn:Vt([.31,.01,.66,-.59]),backOut:Vt([.33,1.53,.69,.99])};function za(t){if(t)return Array.isArray(t)?Vt(t):qi[t]}function He(t,e,n,{delay:s=0,duration:i,repeat:o=0,repeatType:r="loop",ease:a,times:c}={}){return t.animate({[e]:n,offset:c},{delay:s,duration:i,easing:za(a),fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"})}const es={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},we={},Zi={};for(const t in es)Zi[t]=()=>(we[t]===void 0&&(we[t]=es[t]()),we[t]);function Na(t,{repeat:e,repeatType:n="loop"}){const s=e&&n!=="loop"&&e%2===1?0:t.length-1;return t[s]}const Wa=new Set(["opacity"]),Nt=10;function $a(t,e,{onUpdate:n,onComplete:s,...i}){if(!(Zi.waapi()&&Wa.has(e)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0))return!1;let{keyframes:r,duration:a=300,elapsed:c=0,ease:u}=i;if(i.type==="spring"||!Ua(i.ease)){if(i.repeat===1/0)return;const d=kt({...i,elapsed:0});let f={done:!1,value:r[0]};const h=[];let m=0;for(;!f.done&&m<2e4;)f=d.sample(m),h.push(f.value),m+=Nt;r=h,a=m-Nt,u="linear"}const l=He(t.owner.current,e,r,{...i,delay:-c,duration:a,ease:u});return l.onfinish=()=>{t.set(Na(r,i)),E.update(()=>l.cancel()),s&&s()},{get currentTime(){return l.currentTime||0},set currentTime(d){l.currentTime=d},stop:()=>{const{currentTime:d}=l;if(d){const f=kt({...i,autoplay:!1});t.setWithVelocity(f.sample(d-Nt).value,f.sample(d).value,Nt)}E.update(()=>l.cancel())}}}function Ji(t,e){const n=performance.now(),s=({timestamp:i})=>{const o=i-n;o>=e&&($.read(s),t(o-e))};return E.read(s,!0),()=>$.read(s)}function Ga({keyframes:t,elapsed:e,onUpdate:n,onComplete:s}){const i=()=>{n&&n(t[t.length-1]),s&&s()};return e?{stop:Ji(i,-e)}:i()}function Ha({keyframes:t,velocity:e=0,min:n,max:s,power:i=.8,timeConstant:o=750,bounceStiffness:r=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:u,driver:l,onUpdate:d,onComplete:f,onStop:h}){const m=t[0];let g;function b(y){return n!==void 0&&ys}function T(y){return n===void 0?s:s===void 0||Math.abs(n-y){var C;d==null||d(P),(C=y.onUpdate)===null||C===void 0||C.call(y,P)},onComplete:f,onStop:h})}function v(y){x({type:"spring",stiffness:r,damping:a,restDelta:c,...y})}if(b(m))v({velocity:e,keyframes:[m,T(m)]});else{let y=i*e+m;typeof u<"u"&&(y=u(y));const P=T(y),C=P===n?-1:1;let w,F;const k=I=>{w=F,F=I,e=bn(I-w,H.delta),(C===1&&I>P||C===-1&&Ig==null?void 0:g.stop()}}const nt=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Wt=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Me=()=>({type:"keyframes",ease:"linear",duration:.3}),Ka={type:"keyframes",duration:.8},ns={x:nt,y:nt,z:nt,rotate:nt,rotateX:nt,rotateY:nt,rotateZ:nt,scaleX:Wt,scaleY:Wt,scale:Wt,opacity:Me,backgroundColor:Me,color:Me,default:Wt},Xa=(t,{keyframes:e})=>e.length>2?Ka:(ns[t]||ns.default)(e[1]),Ke=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&tt.test(e)&&!e.startsWith("url("));function Ya({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:c,elapsed:u,...l}){return!!Object.keys(l).length}function ss(t){return t===0||typeof t=="string"&&parseFloat(t)===0&&t.indexOf(" ")===-1}function is(t){return typeof t=="number"?0:Pn("",t)}function Qi(t,e){return t[e]||t.default||t}function qa(t,e,n,s){const i=Ke(e,n);let o=s.from!==void 0?s.from:t.get();return o==="none"&&i&&typeof n=="string"?o=Pn(e,n):ss(o)&&typeof n=="string"?o=is(n):!Array.isArray(n)&&ss(n)&&typeof o=="string"&&(n=is(o)),Array.isArray(n)?(n[0]===null&&(n[0]=o),n):[o,n]}const Dn=(t,e,n,s={})=>i=>{const o=Qi(s,t)||{},r=o.delay||s.delay||0;let{elapsed:a=0}=s;a=a-Ht(r);const c=qa(e,t,n,o),u=c[0],l=c[c.length-1],d=Ke(t,u),f=Ke(t,l);let h={keyframes:c,velocity:e.getVelocity(),...o,elapsed:a,onUpdate:b=>{e.set(b),o.onUpdate&&o.onUpdate(b)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!d||!f||We.current||o.type===!1)return Ga(h);if(o.type==="inertia")return Ha(h);Ya(o)||(h={...h,...Xa(t,h)}),h.duration&&(h.duration=Ht(h.duration)),h.repeatDelay&&(h.repeatDelay=Ht(h.repeatDelay));const m=e.owner,g=m&&m.current;if(m&&g instanceof HTMLElement&&!(m!=null&&m.getProps().onUpdate)){const b=$a(e,t,h);if(b)return b}return kt(h)};function In(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(o=>Xe(t,o,n));s=Promise.all(i)}else if(typeof e=="string")s=Xe(t,e,n);else{const i=typeof e=="function"?ge(t,e,n.custom):e;s=tr(t,i,n)}return s.then(()=>t.notify("AnimationComplete",e))}function Xe(t,e,n={}){var s;const i=ge(t,e,n.custom);let{transition:o=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>tr(t,i,n):()=>Promise.resolve(),a=!((s=t.variantChildren)===null||s===void 0)&&s.size?(u=0)=>{const{delayChildren:l=0,staggerChildren:d,staggerDirection:f}=o;return Za(t,e,l+u,d,f,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,l]=c==="beforeChildren"?[r,a]:[a,r];return u().then(l)}else return Promise.all([r(),a(n.delay)])}function tr(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var o;let{transition:r=t.getDefaultTransition(),transitionEnd:a,...c}=t.makeTargetAnimatable(e);const u=t.getValue("willChange");s&&(r=s);const l=[],d=i&&((o=t.animationState)===null||o===void 0?void 0:o.getState()[i]);for(const f in c){const h=t.getValue(f),m=c[f];if(!h||m===void 0||d&&tc(d,f))continue;const g={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!h.hasAnimated){const T=t.getProps()[ra];T&&(g.elapsed=window.HandoffAppearAnimations(T,f,h,E))}let b=h.start(Dn(f,h,m,t.shouldReduceMotion&&X.has(f)?{type:!1}:g));ne(u)&&(u.add(f),b=b.then(()=>u.remove(f))),l.push(b)}return Promise.all(l).then(()=>{a&&Cn(t,a)})}function Za(t,e,n=0,s=0,i=1,o){const r=[],a=(t.variantChildren.size-1)*s,c=i===1?(u=0)=>u*s:(u=0)=>a-u*s;return Array.from(t.variantChildren).sort(Qa).forEach((u,l)=>{u.notify("AnimationStart",e),r.push(Xe(u,e,{...o,delay:n+c(l)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(r)}function Ja(t){t.values.forEach(e=>e.stop())}function Qa(t,e){return t.sortNodePosition(e)}function tc({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}const On=[S.Animate,S.InView,S.Focus,S.Hover,S.Tap,S.Drag,S.Exit],ec=[...On].reverse(),nc=On.length;function sc(t){return e=>Promise.all(e.map(({animation:n,options:s})=>In(t,n,s)))}function ic(t){let e=sc(t);const n=oc();let s=!0;const i=(c,u)=>{const l=ge(t,u);if(l){const{transition:d,transitionEnd:f,...h}=l;c={...c,...h,...f}}return c};function o(c){e=c(t)}function r(c,u){const l=t.getProps(),d=t.getVariantContext(!0)||{},f=[],h=new Set;let m={},g=1/0;for(let T=0;Tg&&P;const I=Array.isArray(y)?y:[y];let j=I.reduce(i,{});C===!1&&(j={});const{prevResolvedValues:yt={}}=v,ve={...yt,...j},vt=M=>{k=!0,h.delete(M),v.needsAnimating[M]=!0};for(const M in ve){const et=j[M],_=yt[M];m.hasOwnProperty(M)||(et!==_?Jt(et)&&Jt(_)?!Ci(et,_)||F?vt(M):v.protectedKeys[M]=!0:et!==void 0?vt(M):h.add(M):et!==void 0&&h.has(M)?vt(M):v.protectedKeys[M]=!0)}v.prevProp=y,v.prevResolvedValues=j,v.isActive&&(m={...m,...j}),s&&t.blockInitialAnimation&&(k=!1),k&&!w&&f.push(...I.map(M=>({animation:M,options:{type:x,...c}})))}if(h.size){const T={};h.forEach(x=>{const v=t.getBaseTarget(x);v!==void 0&&(T[x]=v)}),f.push({animation:T})}let b=Boolean(f.length);return s&&l.initial===!1&&!t.manuallyAnimateOnMount&&(b=!1),s=!1,b?e(f):Promise.resolve()}function a(c,u,l){var d;if(n[c].isActive===u)return Promise.resolve();(d=t.variantChildren)===null||d===void 0||d.forEach(h=>{var m;return(m=h.animationState)===null||m===void 0?void 0:m.setActive(c,u)}),n[c].isActive=u;const f=r(l,c);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>n}}function rc(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Ci(e,t):!1}function st(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function oc(){return{[S.Animate]:st(!0),[S.InView]:st(),[S.Hover]:st(),[S.Tap]:st(),[S.Drag]:st(),[S.Focus]:st(),[S.Exit]:st()}}const er={animation:J(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=ic(t)),le(e)&&p.useEffect(()=>e.subscribe(t),[e])}),exit:J(t=>{const{custom:e,visualElement:n}=t,[s,i]=Pi(),o=p.useContext(gt);p.useEffect(()=>{n.isPresent=s;const r=n.animationState&&n.animationState.setActive(S.Exit,!s,{custom:o&&o.custom||e});r&&!s&&r.then(i)},[s])})},rs=(t,e)=>Math.abs(t-e);function ac(t,e){const n=rs(t.x,e.x),s=rs(t.y,e.y);return Math.sqrt(n**2+s**2)}class nr{constructor(e,n,{transformPagePoint:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const u=Ee(this.lastMoveEventInfo,this.history),l=this.startEvent!==null,d=ac(u.offset,{x:0,y:0})>=3;if(!l&&!d)return;const{point:f}=u,{timestamp:h}=H;this.history.push({...f,timestamp:h});const{onStart:m,onMove:g}=this.handlers;l||(m&&m(this.lastMoveEvent,u),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,u)},this.handlePointerMove=(u,l)=>{this.lastMoveEvent=u,this.lastMoveEventInfo=Re(l,this.transformPagePoint),E.update(this.updatePoint,!0)},this.handlePointerUp=(u,l)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:d,onSessionEnd:f}=this.handlers,h=Ee(u.type==="pointercancel"?this.lastMoveEventInfo:Re(l,this.transformPagePoint),this.history);this.startEvent&&d&&d(u,h),f&&f(u,h)},!gi(e))return;this.handlers=n,this.transformPagePoint=s;const i=de(e),o=Re(i,this.transformPagePoint),{point:r}=o,{timestamp:a}=H;this.history=[{...r,timestamp:a}];const{onSessionStart:c}=n;c&&c(e,Ee(o,this.history)),this.removeListeners=he(pt(window,"pointermove",this.handlePointerMove),pt(window,"pointerup",this.handlePointerUp),pt(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),$.update(this.updatePoint)}}function Re(t,e){return e?{point:e(t.point)}:t}function os(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ee({point:t},e){return{point:t,delta:os(t,sr(e)),offset:os(t,cc(e)),velocity:uc(e,.1)}}function cc(t){return t[0]}function sr(t){return t[t.length-1]}function uc(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=sr(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>Ht(e)));)n--;if(!s)return{x:0,y:0};const o=(i.timestamp-s.timestamp)/1e3;if(o===0)return{x:0,y:0};const r={x:(i.x-s.x)/o,y:(i.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function B(t){return t.max-t.min}function Ye(t,e=0,n=.01){return Math.abs(t-e)<=n}function as(t,e,n,s=.5){t.origin=s,t.originPoint=A(e.min,e.max,t.origin),t.scale=B(n)/B(e),(Ye(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=A(n.min,n.max,t.origin)-t.originPoint,(Ye(t.translate)||isNaN(t.translate))&&(t.translate=0)}function At(t,e,n,s){as(t.x,e.x,n.x,s==null?void 0:s.originX),as(t.y,e.y,n.y,s==null?void 0:s.originY)}function cs(t,e,n){t.min=n.min+e.min,t.max=t.min+B(e)}function lc(t,e,n){cs(t.x,e.x,n.x),cs(t.y,e.y,n.y)}function us(t,e,n){t.min=e.min-n.min,t.max=t.min+B(e)}function wt(t,e,n){us(t.x,e.x,n.x),us(t.y,e.y,n.y)}function fc(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?A(n,t,s.max):Math.min(t,n)),t}function ls(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function dc(t,{top:e,left:n,bottom:s,right:i}){return{x:ls(t.x,n,i),y:ls(t.y,e,s)}}function fs(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ie(e.min,e.max-s,t.min):s>i&&(n=ie(t.min,t.max-i,e.min)),mt(0,1,n)}function mc(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const qe=.35;function gc(t=qe){return t===!1?t=0:t===!0&&(t=qe),{x:ds(t,"left","right"),y:ds(t,"top","bottom")}}function ds(t,e,n){return{min:hs(t,e),max:hs(t,n)}}function hs(t,e){return typeof t=="number"?t:t[e]||0}const ps=()=>({translate:0,scale:1,origin:0,originPoint:0}),Mt=()=>({x:ps(),y:ps()}),ms=()=>({min:0,max:0}),R=()=>({x:ms(),y:ms()});function N(t){return[t("x"),t("y")]}function ir({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function yc({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function vc(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Le(t){return t===void 0||t===1}function Ze({scale:t,scaleX:e,scaleY:n}){return!Le(t)||!Le(e)||!Le(n)}function it(t){return Ze(t)||rr(t)||t.z||t.rotate||t.rotateX||t.rotateY}function rr(t){return gs(t.x)||gs(t.y)}function gs(t){return t&&t!=="0%"}function re(t,e,n){const s=t-n,i=e*s;return n+i}function ys(t,e,n,s,i){return i!==void 0&&(t=re(t,i,s)),re(t,n,s)+e}function Je(t,e=0,n=1,s,i){t.min=ys(t.min,e,n,s,i),t.max=ys(t.max,e,n,s,i)}function or(t,{x:e,y:n}){Je(t.x,e.translate,e.scale,e.originPoint),Je(t.y,n.translate,n.scale,n.originPoint)}function xc(t,e,n,s=!1){var i,o;const r=n.length;if(!r)return;e.x=e.y=1;let a,c;for(let u=0;u1.0000000000001||t<.999999999999?t:1}function Z(t,e){t.min=t.min+e,t.max=t.max+e}function xs(t,e,[n,s,i]){const o=e[i]!==void 0?e[i]:.5,r=A(t.min,t.max,o);Je(t,e[n],e[s],r,e.scale)}const bc=["x","scaleX","originX"],Tc=["y","scaleY","originY"];function ht(t,e){xs(t.x,e,bc),xs(t.y,e,Tc)}function ar(t,e){return ir(vc(t.getBoundingClientRect(),e))}function Vc(t,e,n){const s=ar(t,n),{scroll:i}=e;return i&&(Z(s.x,i.offset.x),Z(s.y,i.offset.y)),s}const Pc=new WeakMap;class Cc{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=R(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){if(this.visualElement.isPresent===!1)return;const s=a=>{this.stopAnimation(),n&&this.snapToCursor(de(a,"page").point)},i=(a,c)=>{var u;const{drag:l,dragPropagation:d,onDragStart:f}=this.getProps();l&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=xi(l),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),N(h=>{var m,g;let b=this.getAxisMotionValue(h).get()||0;if(W.test(b)){const T=(g=(m=this.visualElement.projection)===null||m===void 0?void 0:m.layout)===null||g===void 0?void 0:g.layoutBox[h];T&&(b=B(T)*(parseFloat(b)/100))}this.originPoint[h]=b}),f==null||f(a,c),(u=this.visualElement.animationState)===null||u===void 0||u.setActive(S.Drag,!0))},o=(a,c)=>{const{dragPropagation:u,dragDirectionLock:l,onDirectionLock:d,onDrag:f}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:h}=c;if(l&&this.currentDirection===null){this.currentDirection=Sc(h),this.currentDirection!==null&&(d==null||d(this.currentDirection));return}this.updateAxis("x",c.point,h),this.updateAxis("y",c.point,h),this.visualElement.render(),f==null||f(a,c)},r=(a,c)=>this.stop(a,c);this.panSession=new nr(e,{onSessionStart:s,onStart:i,onMove:o,onSessionEnd:r},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o==null||o(e,n)}cancel(){var e,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(e=this.panSession)===null||e===void 0||e.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(S.Drag,!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!$t(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(r=fc(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),{layout:s}=this.visualElement.projection||{},i=this.constraints;e&&ft(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=dc(s.layoutBox,e):this.constraints=!1,this.elastic=gc(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&N(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=mc(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ft(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Vc(s,i.root,this.visualElement.getTransformPagePoint());let r=hc(i.layout.layoutBox,o);if(n){const a=n(yc(r));this.hasMutatedConstraints=!!a,a&&(r=ir(a))}return r}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=N(l=>{if(!$t(l,n,this.currentDirection))return;let d=(c==null?void 0:c[l])||{};r&&(d={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,m={type:"inertia",velocity:s?e[l]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(l,m)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return s.start(Dn(e,s,0,n))}stopAnimation(){N(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var n;const s="_drag"+e.toUpperCase(),i=this.visualElement.getProps()[s];return i||this.visualElement.getValue(e,((n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[e])||0)}snapToCursor(e){N(n=>{const{drag:s}=this.getProps();if(!$t(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:r,max:a}=i.layout.layoutBox[n];o.set(e[n]-A(r,a,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;const{drag:n,dragConstraints:s}=this.getProps(),{projection:i}=this.visualElement;if(!ft(s)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};N(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=pc({min:u,max:u},this.constraints[a])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",(e=i.root)===null||e===void 0||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),N(a=>{if(!$t(a,n,null))return;const c=this.getAxisMotionValue(a),{min:u,max:l}=this.constraints[a];c.set(A(u,l,o[a]))})}addListeners(){var e;if(!this.visualElement.current)return;Pc.set(this.visualElement,this);const n=this.visualElement.current,s=pt(n,"pointerdown",u=>{const{drag:l,dragListener:d=!0}=this.getProps();l&&d&&this.start(u)}),i=()=>{const{dragConstraints:u}=this.getProps();ft(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,r=o.addEventListener("measure",i);o&&!o.layout&&((e=o.root)===null||e===void 0||e.updateScroll(),o.updateLayout()),i();const a=ot(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:l})=>{this.isDragging&&l&&(N(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),s(),r(),c==null||c()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=qe,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function $t(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Sc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}function Ac(t){const{dragControls:e,visualElement:n}=t,s=D(()=>new Cc(n));p.useEffect(()=>e&&e.subscribe(s),[s,e]),p.useEffect(()=>s.addListeners(),[s])}function wc({onPan:t,onPanStart:e,onPanEnd:n,onPanSessionStart:s,visualElement:i}){const o=t||e||n||s,r=p.useRef(null),{transformPagePoint:a}=p.useContext(K),c={onSessionStart:s,onStart:e,onMove:t,onEnd:(l,d)=>{r.current=null,n&&n(l,d)}};p.useEffect(()=>{r.current!==null&&r.current.updateHandlers(c)});function u(l){r.current=new nr(l,c,{transformPagePoint:a})}te(i,"pointerdown",o&&u),vn(()=>r.current&&r.current.end())}const cr={pan:J(wc),drag:J(Ac)};function Qe(t){return typeof t=="string"&&t.startsWith("var(--")}const ur=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Mc(t){const e=ur.exec(t);if(!e)return[,];const[,n,s]=e;return[n,s]}function tn(t,e,n=1){const[s,i]=Mc(t);if(!s)return;const o=window.getComputedStyle(e).getPropertyValue(s);return o?o.trim():Qe(i)?tn(i,e,n+1):i}function Rc(t,{...e},n){const s=t.current;if(!(s instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach(i=>{const o=i.get();if(!Qe(o))return;const r=tn(o,s);r&&i.set(r)});for(const i in e){const o=e[i];if(!Qe(o))continue;const r=tn(o,s);r&&(e[i]=r,n&&n[i]===void 0&&(n[i]=o))}return{target:e,transitionEnd:n}}const Ec=new Set(["width","height","top","left","right","bottom","x","y"]),lr=t=>Ec.has(t),Lc=t=>Object.keys(t).some(lr),bs=t=>t===ut||t===V;var Ts;(function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"})(Ts||(Ts={}));const Vs=(t,e)=>parseFloat(t.split(", ")[e]),Ps=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/);if(i)return Vs(i[1],e);{const o=s.match(/^matrix\((.+)\)$/);return o?Vs(o[1],t):0}},Dc=new Set(["x","y","z"]),Ic=qt.filter(t=>!Dc.has(t));function Oc(t){const e=[];return Ic.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}const Cs={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:Ps(4,13),y:Ps(5,14)},Bc=(t,e,n)=>{const s=e.measureViewportBox(),i=e.current,o=getComputedStyle(i),{display:r}=o,a={};r==="none"&&e.setStaticValue("display",t.display||"block"),n.forEach(u=>{a[u]=Cs[u](s,o)}),e.render();const c=e.measureViewportBox();return n.forEach(u=>{const l=e.getValue(u);l&&l.jump(a[u]),t[u]=Cs[u](c,o)}),t},Fc=(t,e,n={},s={})=>{e={...e},s={...s};const i=Object.keys(e).filter(lr);let o=[],r=!1;const a=[];if(i.forEach(c=>{const u=t.getValue(c);if(!t.hasValue(c))return;let l=n[c],d=xt(l);const f=e[c];let h;if(Jt(f)){const m=f.length,g=f[0]===null?1:0;l=f[g],d=xt(l);for(let b=g;b=0?window.pageYOffset:null,u=Bc(e,t,a);return o.length&&o.forEach(([l,d])=>{t.getValue(l).set(d)}),t.render(),ue&&c!==null&&window.scrollTo({top:c}),{target:u,transitionEnd:s}}else return{target:e,transitionEnd:s}};function kc(t,e,n,s){return Lc(e)?Fc(t,e,n,s):{target:e,transitionEnd:s}}const jc=(t,e,n,s)=>{const i=Rc(t,e,s);return e=i.target,s=i.transitionEnd,kc(t,e,n,s)},oe={current:null},Bn={current:!1};function fr(){if(Bn.current=!0,!!ue)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>oe.current=t.matches;t.addListener(e),e()}else oe.current=!1}function _c(t,e,n){const{willChange:s}=e;for(const i in e){const o=e[i],r=n[i];if(L(o))t.addValue(i,o),ne(s)&&s.add(i);else if(L(r))t.addValue(i,z(o,{owner:t})),ne(s)&&s.remove(i);else if(r!==o)if(t.hasValue(i)){const a=t.getValue(i);!a.hasAnimated&&a.set(o)}else{const a=t.getStaticValue(i);t.addValue(i,z(a!==void 0?a:o,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const dr=Object.keys(Lt),Uc=dr.length,Ss=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class hr{constructor({parent:e,props:n,reducedMotionConfig:s,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>E.render(this.render,!1,!0);const{latestValues:r,renderState:a}=i;this.latestValues=r,this.baseTarget={...r},this.initialValues=n.initial?{...r}:{},this.renderState=a,this.parent=e,this.props=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.isControllingVariants=fe(n),this.isVariantNode=ni(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(n,{});for(const l in u){const d=u[l];r[l]!==void 0&&L(d)&&(d.set(r[l],!1),ne(c)&&c.add(l))}}scrapeMotionValuesFromProps(e,n){return{}}mount(e){var n;this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=(n=this.parent)===null||n===void 0?void 0:n.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),Bn.current||fr(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:oe.current,this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var e,n,s;(e=this.projection)===null||e===void 0||e.unmount(),$.update(this.notifyUpdate),$.render(this.render),this.valueSubscriptions.forEach(i=>i()),(n=this.removeFromVariantTree)===null||n===void 0||n.call(this),(s=this.parent)===null||s===void 0||s.children.delete(this);for(const i in this.events)this.events[i].clear();this.current=null}bindToMotionValue(e,n){const s=X.has(e),i=n.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&E.update(this.notifyUpdate,!1,!0),s&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),o()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},s,i,o,r,a){const c=[];for(let u=0;uthis.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:a,layoutScroll:h,layoutRoot:m})}return c}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}makeTargetAnimatable(e,n=!0){return this.makeTargetAnimatableFromInstance(e,this.props,n)}setProps(e){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender();const n=this.props;this.props=e;for(let s=0;ss.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){var n;this.values.delete(e),(n=this.valueSubscriptions.get(e))===null||n===void 0||n(),this.valueSubscriptions.delete(e),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=z(n,{owner:this}),this.addValue(e,s)),s}readValue(e){return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props,i=typeof s=="string"||typeof s=="object"?(n=mn(this.props,s))===null||n===void 0?void 0:n[e]:void 0;if(s&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!L(o)?o:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new xn),this.events[e].add(n)}notify(e,...n){var s;(s=this.events[e])===null||s===void 0||s.notify(...n)}}const pr=["initial",...On],zc=pr.length;class mr extends hr{sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){var s;return(s=e.style)===null||s===void 0?void 0:s[n]}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...s},{transformValues:i},o){let r=ki(s,e||{},this);if(i&&(n&&(n=i(n)),s&&(s=i(s)),r&&(r=i(r))),o){Fi(this,s,r);const a=jc(this,s,r,n);n=a.transitionEnd,s=a.target}return{transition:e,transitionEnd:n,...s}}}function Nc(t){return window.getComputedStyle(t)}class Wc extends mr{readValueFromInstance(e,n){if(X.has(n)){const s=Vn(n);return s&&s.default||0}else{const s=Nc(e),i=(un(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return ar(e,n)}build(e,n,s,i){ln(e,n,s,i.transformTemplate)}scrapeMotionValuesFromProps(e,n){return pn(e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;L(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,s,i){di(e,n,s,i)}}class $c extends mr{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){var s;return X.has(n)?((s=Vn(n))===null||s===void 0?void 0:s.default)||0:(n=hi.has(n)?n:Ot(n),e.getAttribute(n))}measureInstanceViewportBox(){return R()}scrapeMotionValuesFromProps(e,n){return mi(e,n)}build(e,n,s,i){dn(e,n,s,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,s,i){pi(e,n,s,i)}mount(e){this.isSVGTag=hn(e.tagName),super.mount(e)}}const Fn=(t,e)=>cn(t)?new $c(e,{enableHardwareAcceleration:!1}):new Wc(e,{enableHardwareAcceleration:!0});function As(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const bt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(V.test(t))t=parseFloat(t);else return t;const n=As(t,e.target.x),s=As(t,e.target.y);return`${n}% ${s}%`}},ws="_$css",Gc={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=t.includes("var("),o=[];i&&(t=t.replace(ur,h=>(o.push(h),ws)));const r=tt.parse(t);if(r.length>5)return s;const a=tt.createTransformer(t),c=typeof r[0]!="number"?1:0,u=n.x.scale*e.x,l=n.y.scale*e.y;r[0+c]/=u,r[1+c]/=l;const d=A(u,l,.5);typeof r[2+c]=="number"&&(r[2+c]/=d),typeof r[3+c]=="number"&&(r[3+c]/=d);let f=a(r);if(i){let h=0;f=f.replace(ws,()=>{const m=o[h];return h++,m})}return f}};class Hc extends rn.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:o}=e;Xr(Xc),o&&(n.group&&n.group.add(o),s&&s.register&&i&&s.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Pt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:o}=this.props,r=s.projection;return r&&(r.isPresent=o,i||e.layoutDependency!==n||n===void 0?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||E.postRender(()=>{var a;!((a=r.getStack())===null||a===void 0)&&a.members.length||this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n!=null&&n.group&&n.group.remove(i),s!=null&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e==null||e()}render(){return null}}function Kc(t){const[e,n]=Pi(),s=p.useContext(Dt);return rn.createElement(Hc,{...t,layoutGroup:s,switchLayoutGroup:p.useContext(si),isPresent:e,safeToRemove:n})}const Xc={borderRadius:{...bt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:bt,borderTopRightRadius:bt,borderBottomLeftRadius:bt,borderBottomRightRadius:bt,boxShadow:Gc},gr={measureLayout:Kc};function Yc(t,e,n={}){const s=L(t)?t:z(t);return s.start(Dn("",s,e,n)),{stop:()=>s.stop(),isAnimating:()=>s.isAnimating()}}const yr=["TopLeft","TopRight","BottomLeft","BottomRight"],qc=yr.length,Ms=t=>typeof t=="string"?parseFloat(t):t,Rs=t=>typeof t=="number"||V.test(t);function Zc(t,e,n,s,i,o){i?(t.opacity=A(0,n.opacity!==void 0?n.opacity:1,Jc(s)),t.opacityExit=A(e.opacity!==void 0?e.opacity:1,0,Qc(s))):o&&(t.opacity=A(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let r=0;rse?1:n(ie(t,e,s))}function Ls(t,e){t.min=e.min,t.max=e.max}function U(t,e){Ls(t.x,e.x),Ls(t.y,e.y)}function Ds(t,e,n,s,i){return t-=e,t=re(t,1/n,s),i!==void 0&&(t=re(t,1/i,s)),t}function tu(t,e=0,n=1,s=.5,i,o=t,r=t){if(W.test(e)&&(e=parseFloat(e),e=A(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=A(o.min,o.max,s);t===o&&(a-=e),t.min=Ds(t.min,e,n,a,i),t.max=Ds(t.max,e,n,a,i)}function Is(t,e,[n,s,i],o,r){tu(t,e[n],e[s],e[i],e.scale,o,r)}const eu=["x","scaleX","originX"],nu=["y","scaleY","originY"];function Os(t,e,n,s){Is(t.x,e,eu,n==null?void 0:n.x,s==null?void 0:s.x),Is(t.y,e,nu,n==null?void 0:n.y,s==null?void 0:s.y)}function Bs(t){return t.translate===0&&t.scale===1}function xr(t){return Bs(t.x)&&Bs(t.y)}function br(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Fs(t){return B(t.x)/B(t.y)}class su{constructor(){this.members=[]}add(e){me(this.members,e),e.scheduleRender()}remove(e){if(Ft(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){s=o;break}}return s?(this.promote(s),!0):!1}promote(e,n){var s;const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),!((s=e.root)===null||s===void 0)&&s.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var n,s,i,o,r;(s=(n=e.options).onExitComplete)===null||s===void 0||s.call(n),(r=(i=e.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||r===void 0||r.call(o)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ks(t,e,n){let s="";const i=t.x.translate/e.x,o=t.y.translate/e.y;if((i||o)&&(s=`translate3d(${i}px, ${o}px, 0) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:c,rotateX:u,rotateY:l}=n;c&&(s+=`rotate(${c}deg) `),u&&(s+=`rotateX(${u}deg) `),l&&(s+=`rotateY(${l}deg) `)}const r=t.x.scale*e.x,a=t.y.scale*e.y;return(r!==1||a!==1)&&(s+=`scale(${r}, ${a})`),s||"none"}const iu=(t,e)=>t.depth-e.depth;class ru{constructor(){this.children=[],this.isDirty=!1}add(e){me(this.children,e),this.isDirty=!0}remove(e){Ft(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iu),this.isDirty=!1,this.children.forEach(e)}}const js=["","X","Y","Z"],_s=1e3;let ou=0;function Tr({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(r,a={},c=e==null?void 0:e()){this.id=ou++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(uu),this.nodes.forEach(du),this.nodes.forEach(hu)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=r,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0,r&&this.root.registerPotentialNode(r,this);for(let u=0;uthis.root.updateBlockedByResize=!1;t(r,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Ji(h,250),Pt.hasAnimatedSinceResize&&(Pt.hasAnimatedSinceResize=!1,this.nodes.forEach(zs))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&d&&(u||l)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h,hasRelativeTargetChanged:m,layout:g})=>{var b,T,x,v,y;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const P=(T=(b=this.options.transition)!==null&&b!==void 0?b:d.getDefaultTransition())!==null&&T!==void 0?T:vu,{onLayoutAnimationStart:C,onLayoutAnimationComplete:w}=d.getProps(),F=!this.targetLayout||!br(this.targetLayout,g)||m,k=!h&&m;if(this.options.layoutRoot||!((x=this.resumeFrom)===null||x===void 0)&&x.instance||k||h&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,k);const I={...Qi(P,"layout"),onPlay:C,onComplete:w};(d.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else!h&&this.animationProgress===0&&zs(this),this.isLead()&&((y=(v=this.options).onExitComplete)===null||y===void 0||y.call(v));this.targetLayout=g})}unmount(){var r,a;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(r=this.getStack())===null||r===void 0||r.remove(this),(a=this.parent)===null||a===void 0||a.children.delete(this),this.instance=void 0,$.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var r;return this.isAnimationBlocked||((r=this.parent)===null||r===void 0?void 0:r.isTreeAnimationBlocked())||!1}startUpdate(){var r;this.isUpdateBlocked()||(this.isUpdating=!0,(r=this.nodes)===null||r===void 0||r.forEach(pu),this.animationId++)}getTransformTemplate(){var r;return(r=this.options.visualElement)===null||r===void 0?void 0:r.getProps().transformTemplate}willUpdate(r=!0){var a,c,u;if(this.root.isUpdateBlocked()){(c=(a=this.options).onExitComplete)===null||c===void 0||c.call(a);return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){var r;if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c{var v;const y=x/1e3;Ns(h.x,r.x,y),Ns(h.y,r.y,y),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((v=this.relativeParent)===null||v===void 0)&&v.layout)&&(wt(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),gu(this.relativeTarget,this.relativeTargetOrigin,m,y)),g&&(this.animationValues=f,Zc(f,d,this.latestValues,y,T,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){var a,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)===null||a===void 0||a.stop(),this.resumingFrom&&((c=this.resumingFrom.currentAnimation)===null||c===void 0||c.stop()),this.pendingAnimation&&($.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=E.update(()=>{Pt.hasAnimatedSinceResize=!0,this.currentAnimation=Yc(0,_s,{...r,onUpdate:u=>{var l;this.mixTargetDelta(u),(l=r.onUpdate)===null||l===void 0||l.call(r,u)},onComplete:()=>{var u;(u=r.onComplete)===null||u===void 0||u.call(r),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var r;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(r=this.getStack())===null||r===void 0||r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var r;this.currentAnimation&&((r=this.mixTargetDelta)===null||r===void 0||r.call(this,_s),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:c,layout:u,latestValues:l}=r;if(!(!a||!c||!u)){if(this!==r&&this.layout&&u&&Vr(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||R();const d=B(this.layout.layoutBox.x);c.x.min=r.target.x.min,c.x.max=c.x.min+d;const f=B(this.layout.layoutBox.y);c.y.min=r.target.y.min,c.y.max=c.y.min+f}U(a,c),ht(a,l),At(this.projectionDeltaWithTransform,this.layoutCorrected,a,l)}}registerSharedNode(r,a){var c,u,l;this.sharedNodes.has(r)||this.sharedNodes.set(r,new su),this.sharedNodes.get(r).add(a),a.promote({transition:(c=a.options.initialPromotionConfig)===null||c===void 0?void 0:c.transition,preserveFollowOpacity:(l=(u=a.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||l===void 0?void 0:l.call(u,a)})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){var r;const{layoutId:a}=this.options;return a?((r=this.getStack())===null||r===void 0?void 0:r.lead)||this:this}getPrevLead(){var r;const{layoutId:a}=this.options;return a?(r=this.getStack())===null||r===void 0?void 0:r.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:c}=r;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(a=!0),!a)return;const u={};for(let l=0;l{var a;return(a=r.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Us),this.root.sharedNodes.clear()}}}function au(t){t.updateLayout()}function cu(t){var e,n,s;const i=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:r}=t.layout,{animationType:a}=t.options,c=i.source!==t.layout.source;a==="size"?N(h=>{const m=c?i.measuredBox[h]:i.layoutBox[h],g=B(m);m.min=o[h].min,m.max=m.min+g}):Vr(a,i.layoutBox,o)&&N(h=>{const m=c?i.measuredBox[h]:i.layoutBox[h],g=B(o[h]);m.max=m.min+g});const u=Mt();At(u,o,i.layoutBox);const l=Mt();c?At(l,t.applyTransform(r,!0),i.measuredBox):At(l,o,i.layoutBox);const d=!xr(u);let f=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:m,layout:g}=h;if(m&&g){const b=R();wt(b,i.layoutBox,m.layoutBox);const T=R();wt(T,o,g.layoutBox),br(b,T)||(f=!0),h.options.layoutRoot&&(t.relativeTarget=T,t.relativeTargetOrigin=b,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:l,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else t.isLead()&&((s=(n=t.options).onExitComplete)===null||s===void 0||s.call(n));t.options.transition=void 0}function uu(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function lu(t){t.clearSnapshot()}function Us(t){t.clearMeasurements()}function fu(t){const{visualElement:e}=t.options;e!=null&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function zs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function du(t){t.resolveTargetDelta()}function hu(t){t.calcProjection()}function pu(t){t.resetRotation()}function mu(t){t.removeLeadSnapshot()}function Ns(t,e,n){t.translate=A(e.translate,0,n),t.scale=A(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ws(t,e,n,s){t.min=A(e.min,n.min,s),t.max=A(e.max,n.max,s)}function gu(t,e,n,s){Ws(t.x,e.x,n.x,s),Ws(t.y,e.y,n.y,s)}function yu(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const vu={duration:.45,ease:[.4,0,.1,1]};function xu(t,e){let n=t.root;for(let o=t.path.length-1;o>=0;o--)if(Boolean(t.path[o].instance)){n=t.path[o];break}const i=(n&&n!==t.root?n.instance:document).querySelector(`[data-projection-id="${e}"]`);i&&t.mount(i,!0)}function $s(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function bu(t){$s(t.x),$s(t.y)}function Vr(t,e,n){return t==="position"||t==="preserve-aspect"&&!Ye(Fs(e),Fs(n),.2)}const Tu=Tr({attachResizeListener:(t,e)=>ot(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),at={current:void 0},kn=Tr({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!at.current){const t=new Tu(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),at.current=t}return at.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>Boolean(window.getComputedStyle(t).position==="fixed")}),Pr={...er,...Vi,...cr,...gr},Cr=ri((t,e)=>yn(t,e,Pr,Fn,kn));function _l(t){return ii(yn(t,{forwardMotionProps:!1},Pr,Fn,kn))}const Ul=ri(yn);function Sr(){const t=p.useRef(!1);return Q(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function jn(){const t=Sr(),[e,n]=p.useState(0),s=p.useCallback(()=>{t.current&&n(e+1)},[e]);return[p.useCallback(()=>E.postRender(s),[s]),e]}class Vu extends p.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Pu({children:t,isPresent:e}){const n=p.useId(),s=p.useRef(null),i=p.useRef({width:0,height:0,top:0,left:0});return p.useInsertionEffect(()=>{const{width:o,height:r,top:a,left:c}=i.current;if(e||!s.current||!o||!r)return;s.current.dataset.motionPopId=n;const u=document.createElement("style");return document.head.appendChild(u),u.sheet&&u.sheet.insertRule(` + [data-motion-pop-id="${n}"] { + position: absolute !important; + width: ${o}px !important; + height: ${r}px !important; + top: ${a}px !important; + left: ${c}px !important; + } + `),()=>{document.head.removeChild(u)}},[e]),p.createElement(Vu,{isPresent:e,childRef:s,sizeRef:i},p.cloneElement(t,{ref:s}))}const De=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:o,mode:r})=>{const a=D(Cu),c=p.useId(),u=p.useMemo(()=>({id:c,initial:e,isPresent:n,custom:i,onExitComplete:l=>{a.set(l,!0);for(const d of a.values())if(!d)return;s&&s()},register:l=>(a.set(l,!1),()=>a.delete(l))}),o?void 0:[n]);return p.useMemo(()=>{a.forEach((l,d)=>a.set(d,!1))},[n]),p.useEffect(()=>{!n&&!a.size&&s&&s()},[n]),r==="popLayout"&&(t=p.createElement(Pu,{isPresent:n},t)),p.createElement(gt.Provider,{value:u},t)};function Cu(){return new Map}const lt=t=>t.key||"";function Su(t,e){t.forEach(n=>{const s=lt(n);e.set(s,n)})}function Au(t){const e=[];return p.Children.forEach(t,n=>{p.isValidElement(n)&&e.push(n)}),e}const zl=({children:t,custom:e,initial:n=!0,onExitComplete:s,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:r="sync"})=>{i&&(r="wait");let[a]=jn();const c=p.useContext(Dt).forceRender;c&&(a=c);const u=Sr(),l=Au(t);let d=l;const f=new Set,h=p.useRef(d),m=p.useRef(new Map).current,g=p.useRef(!0);if(Q(()=>{g.current=!1,Su(l,m),h.current=d}),vn(()=>{g.current=!0,m.clear(),f.clear()}),g.current)return p.createElement(p.Fragment,null,d.map(v=>p.createElement(De,{key:lt(v),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:r},v)));d=[...d];const b=h.current.map(lt),T=l.map(lt),x=b.length;for(let v=0;v{if(T.indexOf(v)!==-1)return;const y=m.get(v);if(!y)return;const P=b.indexOf(v),C=()=>{m.delete(v),f.delete(v);const w=h.current.findIndex(F=>F.key===v);if(h.current.splice(w,1),!f.size){if(h.current=l,u.current===!1)return;a(),s&&s()}};d.splice(P,0,p.createElement(De,{key:lt(y),isPresent:!1,onExitComplete:C,custom:e,presenceAffectsLayout:o,mode:r},y))}),d=d.map(v=>{const y=v.key;return f.has(y)?v:p.createElement(De,{key:lt(v),isPresent:!0,presenceAffectsLayout:o,mode:r},v)}),p.createElement(p.Fragment,null,f.size?d:d.map(v=>p.cloneElement(v)))},wu=p.createContext(null),Mu=t=>!t.isLayoutDirty&&t.willUpdate(!1);function Gs(){const t=new Set,e=new WeakMap,n=()=>t.forEach(Mu);return{add:s=>{t.add(s),e.set(s,s.addEventListener("willUpdate",n))},remove:s=>{var i;t.delete(s),(i=e.get(s))===null||i===void 0||i(),e.delete(s),n()},dirty:n}}const Ar=t=>t===!0,Ru=t=>Ar(t===!0)||t==="id",Eu=({children:t,id:e,inheritId:n,inherit:s=!0})=>{n!==void 0&&(s=n);const i=p.useContext(Dt),o=p.useContext(wu),[r,a]=jn(),c=p.useRef(null),u=i.id||o;c.current===null&&(Ru(s)&&u&&(e=e?u+"-"+e:u),c.current={id:e,group:Ar(s)&&i.group||Gs()});const l=p.useMemo(()=>({...c.current,forceRender:r}),[a]);return p.createElement(Dt.Provider,{value:l},t)};let Lu=0;const Nl=({children:t})=>(p.useEffect(()=>{},[]),p.createElement(Eu,{id:D(()=>`asl-${Lu++}`)},t));function Wl({children:t,isValidProp:e,...n}){e&&li(e),n={...p.useContext(K),...n},n.isStatic=D(()=>n.isStatic);const s=p.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return p.createElement(K.Provider,{value:s},t)}function $l({children:t,features:e,strict:n=!1}){const[,s]=p.useState(!Ie(e)),i=p.useRef(void 0);if(!Ie(e)){const{renderer:o,...r}=e;i.current=o,Be(r)}return p.useEffect(()=>{Ie(e)&&e().then(({renderer:o,...r})=>{Be(r),i.current=o,s(!0)})},[]),p.createElement(on.Provider,{value:{renderer:i.current,strict:n}},t)}function Ie(t){return typeof t=="function"}const wr=p.createContext(null);function Du(t,e,n,s){if(!s)return t;const i=t.findIndex(l=>l.value===e);if(i===-1)return t;const o=s>0?1:-1,r=t[i+o];if(!r)return t;const a=t[i],c=r.layout,u=A(c.min,c.max,.5);return o===1&&a.layout.max+n>u||o===-1&&a.layout.min+nCr(e)),c=[],u=p.useRef(!1),l={axis:n,registerItem:(d,f)=>{f&&c.findIndex(h=>d===h.value)===-1&&(c.push({value:d,layout:f[n]}),c.sort(Fu))},updateOrder:(d,f,h)=>{if(u.current)return;const m=Du(c,d,f,h);c!==m&&(u.current=!0,s(m.map(Bu).filter(g=>i.indexOf(g)!==-1)))}};return p.useEffect(()=>{u.current=!1}),p.createElement(a,{...o,ref:r,ignoreStrict:!0},p.createElement(wr.Provider,{value:l},t))}const Ou=p.forwardRef(Iu);function Bu(t){return t.value}function Fu(t,e){return t.layout.min-e.layout.min}function ct(t){const e=D(()=>z(t)),{isStatic:n}=p.useContext(K);if(n){const[,s]=p.useState(t);p.useEffect(()=>e.on("change",s),[])}return e}const ku=t=>typeof t=="object"&&t.mix,ju=t=>ku(t)?t.mix:void 0;function _u(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],i=t[1+n],o=t[2+n],r=t[3+n],a=Rn(i,o,{mixer:ju(o[0]),...r});return e?a(s):a}function Mr(t,e){const n=ct(e()),s=()=>n.set(e());return s(),Q(()=>{const i=()=>E.update(s,!1,!0),o=t.map(r=>r.on("change",i));return()=>{o.forEach(r=>r()),$.update(s)}}),n}function en(t,e,n,s){const i=typeof e=="function"?e:_u(e,n,s);return Array.isArray(t)?Hs(t,i):Hs([t],([o])=>i(o))}function Hs(t,e){const n=D(()=>[]);return Mr(t,()=>{n.length=0;const s=t.length;for(let i=0;iCr(s)),u=p.useContext(wr),l={x:Ks(e.x),y:Ks(e.y)},d=en([l.x,l.y],([b,T])=>b||T?1:"unset"),f=p.useRef(null),{axis:h,registerItem:m,updateOrder:g}=u;return p.useEffect(()=>{m(n,f.current)},[u]),p.createElement(c,{drag:h,...r,dragSnapToOrigin:!0,style:{...e,x:l.x,y:l.y,zIndex:d},layout:o,onDrag:(b,T)=>{const{velocity:x}=T;x[h]&&g(n,l[h].get(),x[h]),i&&i(b,T)},onLayoutMeasure:b=>{f.current=b},ref:a,ignoreStrict:!0},t)}const zu=p.forwardRef(Uu),Gl={Group:Ou,Item:zu},Nu={renderer:Fn,...er,...Vi},Hl={...Nu,...cr,...gr,projectionNodeConstructor:kn};function Kl(t,...e){const n=t.length;function s(){let i="";for(let o=0;o{s.current&&s.current.stop()};return p.useInsertionEffect(()=>i.attach((r,a)=>n?a(r):(o(),s.current=kt({keyframes:[i.get(),r],velocity:i.getVelocity(),type:"spring",...e,onUpdate:a}),i.get()),o),[JSON.stringify(e)]),Q(()=>{if(L(t))return t.on("change",r=>i.set(parseFloat(r)))},[i]),i}function Yl(t){const e=ct(t.getVelocity());return p.useEffect(()=>t.on("velocityChange",n=>{e.set(n)}),[t]),e}const Wu=(t,e,n)=>Math.min(Math.max(n,t),e),_n=t=>typeof t=="number",$u=t=>Array.isArray(t)&&!_n(t[0]),Gu=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t};function Hu(t,e){return $u(t)?t[Gu(0,t.length,e)]:t}const Rr=(t,e,n)=>-n*t+n*e+t,Er=t=>t,Un=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function Lr(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Un(0,e,s);t.push(Rr(n,1,i))}}function Dr(t){const e=[0];return Lr(e,t-1),e}function Ku(t,e=Dr(t.length),n=Er){const s=t.length,i=s-e.length;return i>0&&Lr(e,i),o=>{let r=0;for(;rtypeof t=="function",Ir=t=>typeof t=="string";function Xu(t,e){return e?t*(1e3/e):0}function Or(t,e){var n;return typeof t=="string"?e?((n=e[t])!==null&&n!==void 0||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}function Yu(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,s=Object.getOwnPropertySymbols(t);i"u")return()=>{};const o=Or(t),r=new WeakMap,a=u=>{u.forEach(l=>{const d=r.get(l.target);if(l.isIntersecting!==Boolean(d))if(l.isIntersecting){const f=e(l);zn(f)?r.set(l.target,f):c.unobserve(l.target)}else d&&(d(l),r.delete(l.target))})},c=new IntersectionObserver(a,{root:n,rootMargin:s,threshold:typeof i=="number"?i:qu[i]});return o.forEach(u=>c.observe(u)),()=>c.disconnect()}const Kt=new WeakMap;let q;function Ju(t,e){if(e){const{inlineSize:n,blockSize:s}=e[0];return{width:n,height:s}}else return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}function Qu({target:t,contentRect:e,borderBoxSize:n}){var s;(s=Kt.get(t))===null||s===void 0||s.forEach(i=>{i({target:t,contentSize:e,get size(){return Ju(t,n)}})})}function tl(t){t.forEach(Qu)}function el(){typeof ResizeObserver>"u"||(q=new ResizeObserver(tl))}function nl(t,e){q||el();const n=Or(t);return n.forEach(s=>{let i=Kt.get(s);i||(i=new Set,Kt.set(s,i)),i.add(e),q==null||q.observe(s)}),()=>{n.forEach(s=>{const i=Kt.get(s);i==null||i.delete(e),i!=null&&i.size||q==null||q.unobserve(s)})}}const Xt=new Set;let Rt;function sl(){Rt=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};Xt.forEach(n=>n(e))},window.addEventListener("resize",Rt)}function il(t){return Xt.add(t),Rt||sl(),()=>{Xt.delete(t),!Xt.size&&Rt&&(Rt=void 0)}}function rl(t,e){return zn(t)?il(t):nl(t,e)}const ol=50,Xs=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),al=()=>({time:0,x:Xs(),y:Xs()}),cl={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Ys(t,e,n,s){const i=n[e],{length:o,position:r}=cl[e],a=i.current,c=n.time;i.current=t["scroll"+r],i.scrollLength=t["scroll"+o]-t["client"+o],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=Un(0,i.scrollLength,i.current);const u=s-c;i.velocity=u>ol?0:Xu(i.current-a,u)}function ul(t,e,n){Ys(t,"x",e,n),Ys(t,"y",e,n),e.time=n}function ll(t,e){let n={x:0,y:0},s=t;for(;s&&s!==e;)if(s instanceof HTMLElement)n.x+=s.offsetLeft,n.y+=s.offsetTop,s=s.offsetParent;else if(s instanceof SVGGraphicsElement&&"getBBox"in s){const{top:i,left:o}=s.getBBox();for(n.x+=o,n.y+=i;s&&s.tagName!=="svg";)s=s.parentNode}return n}const fl={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},nn={start:0,center:.5,end:1};function qs(t,e,n=0){let s=0;if(nn[t]!==void 0&&(t=nn[t]),Ir(t)){const i=parseFloat(t);t.endsWith("px")?s=i:t.endsWith("%")?t=i/100:t.endsWith("vw")?s=i/100*document.documentElement.clientWidth:t.endsWith("vh")?s=i/100*document.documentElement.clientHeight:t=i}return _n(t)&&(s=e*t),n+s}const dl=[0,0];function hl(t,e,n,s){let i=Array.isArray(t)?t:dl,o=0,r=0;return _n(t)?i=[t,t]:Ir(t)&&(t=t.trim(),t.includes(" ")?i=t.split(" "):i=[t,nn[t]?t:"0"]),o=qs(i[0],n,s),r=qs(i[1],e),o-r}const pl={x:0,y:0};function ml(t,e,n){let{offset:s=fl.All}=n;const{target:i=t,axis:o="y"}=n,r=o==="y"?"height":"width",a=i!==t?ll(i,t):pl,c=i===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:i.clientWidth,height:i.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[o].offset.length=0;let l=!e[o].interpolate;const d=s.length;for(let f=0;fgl(t,s.target,n),update:o=>{ul(t,n,o),(s.offset||s.target)&&ml(t,n,s)},notify:zn(e)?()=>e(n):vl(e,n[i])}}function vl(t,e){return t.pause(),t.forEachNative((n,{easing:s})=>{var i,o;if(n.updateDuration)s||(n.easing=Er),n.updateDuration(1);else{const r={duration:1e3};s||(r.easing="linear"),(o=(i=n.effect)===null||i===void 0?void 0:i.updateTiming)===null||o===void 0||o.call(i,r)}}),()=>{t.currentTime=e.progress}}const Tt=new WeakMap,Zs=new WeakMap,Oe=new WeakMap,Js=t=>t===document.documentElement?window:t;function xl(t,e={}){var{container:n=document.documentElement}=e,s=Yu(e,["container"]);let i=Oe.get(n);i||(i=new Set,Oe.set(n,i));const o=al(),r=yl(n,t,o,s);if(i.add(r),!Tt.has(n)){const u=()=>{const d=performance.now();for(const f of i)f.measure();for(const f of i)f.update(d);for(const f of i)f.notify()};Tt.set(n,u);const l=Js(n);window.addEventListener("resize",u,{passive:!0}),n!==document.documentElement&&Zs.set(n,rl(n,u)),l.addEventListener("scroll",u,{passive:!0})}const a=Tt.get(n),c=requestAnimationFrame(a);return()=>{var u;typeof t!="function"&&t.stop(),cancelAnimationFrame(c);const l=Oe.get(n);if(!l||(l.delete(r),l.size))return;const d=Tt.get(n);Tt.delete(n),d&&(Js(n).removeEventListener("scroll",d),(u=Zs.get(n))===null||u===void 0||u(),window.removeEventListener("resize",d))}}function Qs(t,e){_i(Boolean(!e||e.current))}const bl=()=>({scrollX:z(0),scrollY:z(0),scrollXProgress:z(0),scrollYProgress:z(0)});function Br({container:t,target:e,layoutEffect:n=!0,...s}={}){const i=D(bl);return(n?Q:p.useEffect)(()=>(Qs("target",e),Qs("container",t),xl(({x:r,y:a})=>{i.scrollX.set(r.current),i.scrollXProgress.set(r.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...s,container:(t==null?void 0:t.current)||void 0,target:(e==null?void 0:e.current)||void 0})),[]),i}function ql(t){return Br({container:t})}function Zl(){return Br()}function Tl(t){const e=p.useRef(0),{isStatic:n}=p.useContext(K);p.useEffect(()=>{if(n)return;const s=({timestamp:i,delta:o})=>{e.current||(e.current=i),t(i-e.current,o)};return E.update(s,!0),()=>$.update(s)},[t])}function Jl(){const t=ct(0);return Tl(e=>t.set(e)),t}class Vl extends Mi{constructor(){super(...arguments),this.members=[],this.transforms=new Set}add(e){let n;X.has(e)?(this.transforms.add(e),n="transform"):!e.startsWith("origin")&&!un(e)&&e!=="willChange"&&(n=Ot(e)),n&&(me(this.members,n),this.update())}remove(e){X.has(e)?(this.transforms.delete(e),this.transforms.size||Ft(this.members,"transform")):Ft(this.members,Ot(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function Ql(){return D(()=>new Vl("auto"))}function tf(t,e,n){p.useInsertionEffect(()=>t.on(e,n),[t,e,n])}function Pl(){!Bn.current&&fr();const[t]=p.useState(oe.current);return t}function ef(){const t=Pl(),{reducedMotion:e}=p.useContext(K);return e==="never"?!1:e==="always"?!0:t}function Cl(){const t=new Set,e={subscribe(n){return t.add(n),()=>void t.delete(n)},start(n,s){const i=[];return t.forEach(o=>{i.push(In(o,n,{transitionOverride:s}))}),Promise.all(i)},set(n){return t.forEach(s=>{sa(s,n)})},stop(){t.forEach(n=>{Ja(n)})},mount(){return()=>{e.stop()}}};return e}function Sl(){const t=D(Cl);return Q(t.mount,[]),t}const nf=Sl,Al=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t};function sf(...t){const e=p.useRef(0),[n,s]=p.useState(t[e.current]),i=p.useCallback(o=>{e.current=typeof o!="number"?Al(0,t.length,e.current+1):o,s(t[e.current])},[t.length,...t]);return[n,i]}function rf(t,{root:e,margin:n,amount:s,once:i=!1}={}){const[o,r]=p.useState(!1);return p.useEffect(()=>{if(!t.current||i&&o)return;const a=()=>(r(!0),i?void 0:()=>r(!1)),c={root:e&&e.current||void 0,margin:n,amount:s==="some"?"any":s};return Zu(t.current,a,c)},[e,t,n,i]),o}class wl{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,n){this.componentControls.forEach(s=>{s.start(e.nativeEvent||e,n)})}}const Ml=()=>new wl;function of(){return D(Ml)}function Rl(t){return t!==null&&typeof t=="object"&&an in t}function af(t){if(Rl(t))return t[an]}function El(){return Ll}function Ll(t){at.current&&(at.current.isUpdating=!1,at.current.blockUpdate(),t&&t())}function cf(){const[t,e]=jn(),n=El();return p.useEffect(()=>{E.postRender(()=>E.postRender(()=>We.current=!1))},[e]),s=>{n(()=>{We.current=!0,t(),s()})}}function uf(){return p.useCallback(()=>{const e=at.current;e&&e.resetTree()},[])}const Fr=(t,e)=>`${t}: ${e}`,ae=new Map;function Dl(t,e,n,s){const i=Fr(t,X.has(e)?"transform":e),o=ae.get(i);if(!o)return 0;const{animation:r,startTime:a}=o,c=()=>{ae.delete(i);try{r.cancel()}catch{}};if(a!==null){const u=performance.now();return s.update(()=>{n.animation&&(n.animation.currentTime=performance.now()-u)}),s.render(c),u-a||0}else return c(),0}function lf(t,e,n,s,i){const o=t.dataset[ji];if(!o)return;window.HandoffAppearAnimations=Dl;const r=Fr(o,e),a=He(t,e,[n[0],n[0]],{duration:1e4,ease:"linear"});ae.set(r,{animation:a,startTime:null});const c=()=>{a.cancel();const u=He(t,e,n,s);document.timeline&&(u.startTime=document.timeline.currentTime),ae.set(r,{animation:u,startTime:performance.now()}),i&&i(u)};a.ready?a.ready.then(c).catch(ye):c()}const sn=()=>({});class Il extends hr{build(){}measureInstanceViewportBox(){return R()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return sn()}getBaseTargetFromProps(){}readValueFromInstance(e,n,s){return s.initialState[n]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...s}){const i=ki(s,e||{},this);return Fi(this,s,i),{transition:e,transitionEnd:n,...s}}}const Ol=gn({scrapeMotionValuesFromProps:sn,createRenderState:sn});function ff(t){const[e,n]=p.useState(t),s=Ol({},!1),i=D(()=>new Il({props:{},visualState:s},{initialState:t}));p.useEffect(()=>(i.mount({}),()=>i.unmount()),[i]),p.useEffect(()=>{i.setProps({onUpdate:r=>{n({...r})}})},[n,i]);const o=D(()=>r=>In(i,r));return[e,o]}const Bl=1e5,ti=t=>t>.001?1/t:Bl;function df(t){let e=ct(1),n=ct(1);const s=ei();t?(e=t.scaleX||e,n=t.scaleY||n):s&&(e=s.getValue("scaleX",1),n=s.getValue("scaleY",1));const i=en(e,ti),o=en(n,ti);return{scaleX:i,scaleY:o}}export{zl as AnimatePresence,Nl as AnimateSharedLayout,S as AnimationType,wu as DeprecatedLayoutGroupContext,wl as DragControls,ru as FlatTree,Eu as LayoutGroup,Dt as LayoutGroupContext,$l as LazyMotion,Wl as MotionConfig,K as MotionConfigContext,ce as MotionContext,Mi as MotionValue,gt as PresenceContext,Gl as Reorder,si as SwitchLayoutGroupContext,hr as VisualElement,pt as addPointerEvent,yi as addPointerInfo,Xr as addScaleCorrector,Yc as animate,In as animateVisualElement,Cl as animationControls,er as animations,va as anticipate,Ln as backIn,ya as backInOut,Ki as backOut,Zr as buildTransform,B as calcLength,Fi as checkTargetForNewValues,Hi as circIn,ga as circInOut,En as circOut,mt as clamp,R as createBox,_l as createDomMotionComponent,ii as createMotionComponent,Gi as cubicBezier,Ji as delay,rs as distance,ac as distance2D,Nu as domAnimation,Hl as domMax,wn as easeIn,Mn as easeInOut,oa as easeOut,oo as filterProps,H as frameData,ue as isBrowser,bi as isDragActive,Rl as isMotionComponent,L as isMotionValue,Zt as isValidMotionProp,Ul as m,gn as makeUseVisualState,A as mix,Cr as motion,z as motionValue,ra as optimizedAppearDataAttribute,he as pipe,Gt as resolveMotionValue,Xi as spring,lf as startOptimizedAppearAnimation,E as sync,_u as transform,af as unwrapMotionComponent,nf as useAnimation,Sl as useAnimationControls,Tl as useAnimationFrame,sf as useCycle,ff as useDeprecatedAnimatedState,df as useDeprecatedInvertedScale,Qt as useDomEvent,of as useDragControls,ql as useElementScroll,jn as useForceUpdate,rf as useInView,El as useInstantLayoutTransition,cf as useInstantTransition,kl as useIsPresent,Q as useIsomorphicLayoutEffect,Kl as useMotionTemplate,ct as useMotionValue,tf as useMotionValueEvent,Pi as usePresence,Pl as useReducedMotion,ef as useReducedMotionConfig,uf as useResetProjection,Br as useScroll,Xl as useSpring,Jl as useTime,en as useTransform,vn as useUnmountEffect,Yl as useVelocity,Zl as useViewportScroll,ei as useVisualElementContext,Ql as useWillChange,Al as wrap}; diff --git a/assets/index-8c12d331.css b/assets/index-8c12d331.css new file mode 100644 index 0000000..df3b0ef --- /dev/null +++ b/assets/index-8c12d331.css @@ -0,0 +1 @@ +@charset "UTF-8";/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal-7295944e.woff2) format("woff2"),url(./roboto-mono-latin-400-normal-dffdffa7.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-0364d368.woff2) format("woff2"),url(./inter-latin-400-normal-3ea830d4.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(./inter-latin-800-normal-a51ac27d.woff2) format("woff2"),url(./inter-latin-800-normal-d08d7178.woff) format("woff")}.relative,.border-left,.border-top,.border-bottom{position:relative}.border-bottom:after,.border-top:before{position:absolute;content:"";height:1px;width:100%;-webkit-transform:scaleY(.5) translateZ(0);transform:scaleY(.5) translateZ(0);left:0;right:0;background:#555}.border-left:before{position:absolute;content:"";height:100%;width:1px;-webkit-transform:scaleX(.5) translateZ(0);transform:scaleX(.5) translateZ(0);top:0;bottom:0;background:#555}.border-top:before{top:0}.border-bottom:after{bottom:0}.border-left:before{left:0}*,*:before,*:after{box-sizing:border-box}:root{--font-mono: "Roboto Mono", Menlo, monospace;--font-normal: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, "PingFang SC", "Microsoft YaHei", "\5fae\8f6f\96c5\9ed1", Arial, sans-serif;--color-focus-blue: #1a73e8;--btn-bg: #387cec}body{font-family:var(--font-normal);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0}@media (prefers-color-scheme: dark){:root[data-theme=auto]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-card: #2d2d2d;--card-hover-border-lightness: 30%;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #2d2d30;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #303030;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--color-proxy-dot-selected-ind-bo: transparent;color-scheme:dark}}@media (prefers-color-scheme: light){:root[data-theme=auto]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-card: #fafafa;--card-hover-border-lightness: 80%;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: #f8f8f8;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: #ffffff;--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #101010;--color-bg-proxy: #fafafa;--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--color-proxy-dot-selected-ind-bo: #888;color-scheme:light}}:root[data-theme=dark]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-card: #2d2d2d;--card-hover-border-lightness: 30%;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #2d2d30;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #303030;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--color-proxy-dot-selected-ind-bo: transparent;color-scheme:dark}:root[data-theme=light]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-card: #fafafa;--card-hover-border-lightness: 80%;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: #f8f8f8;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: #ffffff;--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #101010;--color-bg-proxy: #fafafa;--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--color-proxy-dot-selected-ind-bo: #888;color-scheme:light}.flexCenter{display:flex;align-items:center;justify-content:center}.fabgrp{position:fixed;z-index:3;right:20px;bottom:20px}.visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;border:0;padding:0}:root{--reach-tooltip: 1}[data-reach-tooltip]{z-index:1;pointer-events:none;position:absolute;padding:.25em .5em;box-shadow:2px 2px 10px #0000001a;white-space:nowrap;font-size:85%;background:var(--bg-tooltip);color:var(--color-text);border:solid 1px var(--bc-tooltip);border-radius:4px}._root_5bosw_1{height:76px;display:flex;align-items:center}._h1_5bosw_7{padding:0 15px;font-size:1.7em;text-align:left;margin:0}@media screen and (min-width: 30em){._h1_5bosw_7{padding:0 40px;font-size:2em}}._root_1392e_1{padding:6px 15px}@media screen and (min-width: 30em){._root_1392e_1{padding:10px 40px}}._mono_1392e_10{font-family:var(--font-mono)}._link_1392e_14{color:var(--color-text-secondary);display:inline-flex}._link_1392e_14:hover{color:var(--color-text-highlight)}._loading_74j3j_1{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._spinner_74j3j_9{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:_rotate_74j3j_1 1s steps(12,end) infinite;animation:_rotate_74j3j_1 1s steps(12,end) infinite;background:transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;background-size:100%}@-webkit-keyframes _rotate_74j3j_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}@keyframes _rotate_74j3j_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}._ul_1ore2_1{position:relative;margin:0;padding:0;list-style:none;line-height:1.8;--width-max-content: 230px}._li_1ore2_10{position:relative;margin:5px 0;padding:10px 0;border-radius:10px;display:grid;place-content:center;grid-template-columns:40px 1fr;-webkit-column-gap:10px;column-gap:10px;border:1px solid var(--bg-near-transparent)}._li_1ore2_10 ._right_1ore2_21{display:grid;-webkit-column-gap:10px;column-gap:10px;grid-template-columns:1fr 40px;grid-auto-rows:30px}._li_1ore2_10:hover{background-color:var(--bg-near-transparent)}._close_1ore2_32{opacity:0;place-self:center;cursor:pointer}._li_1ore2_10:hover ._close_1ore2_32,._li_1ore2_10:hover ._eye_1ore2_39{opacity:1}._close_1ore2_32:focus,._eye_1ore2_39:focus{opacity:1}._eye_1ore2_39{opacity:0;place-self:center;cursor:pointer}._url_1ore2_54,._secret_1ore2_55,._metaLabel_1ore2_56{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._btn_1ore2_62{outline:none;-webkit-appearance:none;appearance:none;border:1px solid transparent;background-color:transparent;color:inherit;display:flex;align-items:center;padding:5px;border-radius:100px}._btn_1ore2_62:focus{border-color:var(--color-focus-blue)}._btn_1ore2_62:hover:enabled{background-color:var(--color-focus-blue);color:#fff}._btn_1ore2_62:active:enabled{-webkit-transform:scale(.97);transform:scale(.97)}._btn_1ore2_62:disabled{color:var(--color-text-secondary)}._url_1ore2_54,._metaLabel_1ore2_56{cursor:pointer}._url_1ore2_54:hover,._metaLabel_1ore2_56:hover{color:var(--color-text-highlight)}._root_zwtea_1:focus{outline:none}._header_zwtea_5{display:flex;justify-content:center;align-items:center}._header_zwtea_5 ._icon_zwtea_10{--stroke: #f3f3f3;color:#20497e;opacity:.7;transition:opacity .4s}._header_zwtea_5 ._icon_zwtea_10:hover{opacity:1}._body_zwtea_20{padding:15px 0 0}._hostnamePort_zwtea_24{display:flex}._hostnamePort_zwtea_24 div{flex:1 1 auto}._hostnamePort_zwtea_24 div:nth-child(2){flex-grow:0;flex-basis:120px;margin-left:10px}._error_zwtea_36{height:20px;font-size:.8em;color:#ff8b8b}._footer_zwtea_42{padding:5px 0 10px;display:flex;justify-content:flex-end;align-items:center}._btn_lzu00_1{-webkit-appearance:none;outline:none;-webkit-user-select:none;user-select:none;position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--color-btn-fg);background:var(--color-btn-bg);border:1px solid #555;border-radius:100px;padding:10px 13px}._btn_lzu00_1:focus{border-color:var(--color-focus-blue)}._btn_lzu00_1:hover{background:#387cec;border:1px solid #387cec;color:#fff}._btn_lzu00_1:active{-webkit-transform:scale(.97);transform:scale(.97)}._btn_lzu00_1._circular_lzu00_27{padding:8px}._btn_lzu00_1._minimal_lzu00_30{border-color:transparent;background:none;padding:6px 12px}._btn_lzu00_1._minimal_lzu00_30:focus{border-color:var(--color-focus-blue)}._btn_lzu00_1._minimal_lzu00_30:hover{color:#fff;background:#387cec;border:1px solid #387cec}._btn_lzu00_1:disabled{opacity:.5}._btnStart_lzu00_48{margin-right:5px;display:inline-flex;align-items:center;justify-content:center}._loadingContainer_lzu00_55{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:inline-flex}h2._sectionNameType_1b9pp_1{margin:0;font-size:1.3em}@media screen and (min-width: 30em){h2._sectionNameType_1b9pp_1{font-size:1.5em}}h2._sectionNameType_1b9pp_1 span:nth-child(2){font-size:12px;color:#777;font-weight:400;margin:0 .3em}:root[data-theme=light]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1)}:root[data-theme=dark]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5)}._loadingDot_1b9pp_66,._loadingDot_1b9pp_66:before,._loadingDot_1b9pp_66:after{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;font-size:0}._loadingDot_1b9pp_66{position:relative;background-color:var(--loading-dot-2-1);-webkit-animation:_dot2_1b9pp_1 1s step-start infinite;animation:_dot2_1b9pp_1 1s step-start infinite}._loadingDot_1b9pp_66:before{content:"";position:absolute;left:-12px;background-color:var(--loading-dot-1-1);-webkit-animation:_dot1_1b9pp_1 1s step-start infinite;animation:_dot1_1b9pp_1 1s step-start infinite}._loadingDot_1b9pp_66:after{content:"";position:absolute;right:-12px;background-color:var(--loading-dot-3-1);-webkit-animation:_dot3_1b9pp_1 1s step-start infinite;animation:_dot3_1b9pp_1 1s step-start infinite}@-webkit-keyframes _dot1_1b9pp_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@keyframes _dot1_1b9pp_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@-webkit-keyframes _dot2_1b9pp_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@keyframes _dot2_1b9pp_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@-webkit-keyframes _dot3_1b9pp_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}@keyframes _dot3_1b9pp_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}._root_1or8t_1{position:relative;padding:10px 0}._root_1or8t_1 input{-webkit-appearance:none;background-color:transparent;background-image:none;border:none;border-radius:0;border-bottom:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 4px;width:100%}._root_1or8t_1 input:focus{border-color:var(--color-focus-blue)}._root_1or8t_1 label{position:absolute;left:5px;bottom:22px;transition:-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out;transition:transform .15s ease-in-out,-webkit-transform .15s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0;font-size:.9em}._root_1or8t_1 label._floatAbove_1or8t_32{-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._root_1or8t_1 input:focus+label{color:var(--color-focus-blue);-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._path_r8pm3_1{stroke-dasharray:890;stroke-dashoffset:890;-webkit-animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite;animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite}@-webkit-keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}@keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}[data-reach-menu-button]{--sz: 40px;width:var(--sz);height:var(--sz);display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;outline:none;-webkit-user-select:none;user-select:none;cursor:pointer;color:var(--color-btn-fg);background:none;border:1px solid transparent;border-radius:20px}[data-reach-menu-button]:hover{opacity:.6}[data-reach-menu-button]:focus{border-color:var(--color-focus-blue)}[data-reach-menu-list]{background:var(--bg-tooltip);color:var(--color-text);border:1px solid #555;padding:4px;border-radius:8px}[data-reach-menu-item]{padding:5px 16px 5px 6px;border-radius:7px;cursor:pointer;display:flex;align-items:center}[data-reach-menu-item][data-selected]{background:var(--color-focus-blue);color:#f7f7f7}._checkWrapper_1nrct_45{display:inline-flex;align-items:center;margin-right:2px;visibility:hidden}._checkWrapper_1nrct_45._active_1nrct_51{visibility:visible}._content_b98hm_1._content_b98hm_1{background:none;position:fixed;top:0;bottom:0;left:0;right:0;-webkit-transform:none;transform:none;padding:0;border-radius:0;display:flex;justify-content:center;overflow-y:auto}._container_b98hm_16{position:relative;margin-left:20px;margin-right:20px}._overlay_b98hm_22._overlay_b98hm_22{background-color:var(--color-background)}._fixed_b98hm_26{position:fixed;padding:16px;bottom:0;right:0}._overlay_1i06e_1{position:fixed;top:0;right:0;left:0;bottom:0;background:#444}._content_1i06e_10{outline:none;position:relative;color:var(--color-text);background:#444;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:20px;border-radius:10px}._root_4m2cd_1{position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden;padding:20px;background:var(--color-background);color:var(--color-text);text-align:center}._yacd_4m2cd_14{color:#2a477a;opacity:.6;display:flex;justify-content:center;align-items:center;padding:40px}._link_4m2cd_23{display:inline-flex;align-items:center;color:var(--color-text-secondary)}._link_4m2cd_23:hover,._link_4m2cd_23:active{color:#387cec}._link_4m2cd_23 svg{margin-right:5px}._root_4oasi_1{padding:6px 15px}@media screen and (min-width: 30em){._root_4oasi_1{padding:10px 40px}}._chart_4oasi_10{margin-top:15px}._TrafficNow_hzna1_1{color:var(--color-text);display:flex;align-items:center;flex-wrap:wrap;display:grid;grid-template-columns:repeat(auto-fit,180px);grid-gap:10px}._TrafficNow_hzna1_1 ._sec_hzna1_10{padding:10px;background-color:var(--color-bg-card);border-radius:10px;box-shadow:0 1px 5px #0000001a}._TrafficNow_hzna1_1 ._sec_hzna1_10 div:nth-child(1){color:var(--color-text-secondary);font-size:.7em}._TrafficNow_hzna1_1 ._sec_hzna1_10 div:nth-child(2){padding:10px 0 0;font-size:1.8em}._lo_pmly2_1{opacity:.5;width:100%;height:100%;display:flex;justify-content:center;align-items:center}._app_1s3k7_1{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:stretch;background:var(--color-background);color:var(--color-text)}@media (max-width: 768px){._app_1s3k7_1{flex-direction:column}}._content_1s3k7_18{flex-grow:1;overflow:auto}._root_r8ke8_1{display:flex;flex-direction:column;padding:8px}@media (max-width: 768px){._root_r8ke8_1{padding:0}}._logoPlaceholder_r8ke8_12{height:15px}@media (max-width: 768px){._logoPlaceholder_r8ke8_12{display:none}}._rows_r8ke8_21{flex:1}@media (max-width: 768px){._rows_r8ke8_21{display:flex;justify-content:space-between;overflow:auto}}._row_r8ke8_21{color:var(--color-text);text-decoration:none;border-radius:1000px;display:flex;align-items:center;padding:6px 16px}@media screen and (min-width: 30em){._row_r8ke8_21{padding:8px 20px}}@media (max-width: 768px){._row_r8ke8_21{border-radius:0}}@media (max-width: 768px){._row_r8ke8_21{flex-direction:column}}._row_r8ke8_21 svg{color:var(--color-icon);width:22px;height:22px}@media screen and (min-width: 30em){._row_r8ke8_21 svg{width:24px;height:24px}}._rowActive_r8ke8_68{--bg: hsla(217deg, 83%, 57%, .2);--fg: hsl(217deg 83% 57%);color:var(--fg);background:var(--bg)}@media (max-width: 768px){._rowActive_r8ke8_68{background:none}}._label_r8ke8_80{padding-left:14px;font-size:.75em;white-space:nowrap}@media (max-width: 768px){._label_r8ke8_80{padding-left:0;padding-top:5px}}@media screen and (min-width: 30em){._label_r8ke8_80{font-size:1em}}._footer_r8ke8_97{display:flex;flex-direction:column;align-items:center}@media (max-width: 768px){._footer_r8ke8_97{display:none}}._iconWrapper_r8ke8_108{--sz: 40px;width:var(--sz);height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text);border-radius:100%;border:1px solid transparent}._iconWrapper_r8ke8_108:hover{opacity:.6}._iconWrapper_r8ke8_108:focus{border-color:var(--color-focus-blue)}._input_mh4af_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:4px;border:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 8px;width:100%}._input_mh4af_1:focus{box-shadow:#4299e199 0 0 0 3px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._animate_1w0e8_1{--saturation: 70%;stroke:hsl(46deg,var(--saturation),45%);-webkit-transform:scale(1);transform:scale(1);-webkit-animation:_zap-pulse_1w0e8_1 .7s 0s ease-in-out none normal infinite;animation:_zap-pulse_1w0e8_1 .7s 0s ease-in-out none normal infinite}@-webkit-keyframes _zap-pulse_1w0e8_1{0%{stroke:hsl(46deg,var(--saturation),45%);-webkit-transform:scale(1);transform:scale(1)}50%{stroke:hsl(46deg,var(--saturation),95%);-webkit-transform:scale(1.1);transform:scale(1.1)}to{stroke:hsl(46deg,var(--saturation),45%);-webkit-transform:scale(1);transform:scale(1)}}@keyframes _zap-pulse_1w0e8_1{0%{stroke:hsl(46deg,var(--saturation),45%);-webkit-transform:scale(1);transform:scale(1)}50%{stroke:hsl(46deg,var(--saturation),95%);-webkit-transform:scale(1.1);transform:scale(1.1)}to{stroke:hsl(46deg,var(--saturation),45%);-webkit-transform:scale(1);transform:scale(1)}}._ToggleSwitch_10mtp_1{-webkit-user-select:none;user-select:none;border-radius:4px;border:1px solid #525252;color:var(--color-text);background:var(--color-toggle-bg);display:flex;position:relative;outline:none}._ToggleSwitch_10mtp_1:focus{border-color:var(--color-focus-blue)}._ToggleSwitch_10mtp_1 input{position:absolute;left:0;opacity:0}._ToggleSwitch_10mtp_1 label{z-index:2;display:flex;align-items:center;justify-content:center;padding:10px 0;cursor:pointer}._slider_10mtp_28{z-index:1;position:absolute;display:block;left:0;height:100%;transition:left .2s ease-out;background:var(--color-toggle-selected)} diff --git a/assets/index.esm-37f2c08f.js b/assets/index.esm-37f2c08f.js new file mode 100644 index 0000000..61336cb --- /dev/null +++ b/assets/index.esm-37f2c08f.js @@ -0,0 +1 @@ +import{_ as at,Q as $,r as E}from"./index-3e6aad90.js";function U(n,t){if(n==null)return{};var r={},i=Object.keys(n),a,l;for(l=0;l=0)&&(r[a]=n[a]);return r}function L(){return L=Object.assign?Object.assign.bind():function(n){for(var t=1;t=t?n.call(null):a.id=requestAnimationFrame(i)}var a={id:requestAnimationFrame(i)};return a}var P=-1;function K(n){if(n===void 0&&(n=!1),P===-1||n){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),P=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return P}var _=null;function V(n){if(n===void 0&&(n=!1),_===null||n){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var i=document.createElement("div"),a=i.style;return a.width="100px",a.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?_="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?_="negative":_="positive-ascending"),document.body.removeChild(t),_}return _}var ft=150,dt=function(t,r){return t};function Q(n){var t,r=n.getItemOffset,i=n.getEstimatedTotalSize,a=n.getItemSize,l=n.getOffsetForIndexAndAlignment,c=n.getStartIndexForOffset,f=n.getStopIndexForStartIndex,p=n.initInstanceProps,z=n.shouldResetStyleCacheOnItemSizeChange,g=n.validateProps;return t=function(O){ot(M,O);function M(v){var e;return e=O.call(this,v)||this,e._instanceProps=p(e.props,$(e)),e._outerRef=void 0,e._resetIsScrollingTimeoutId=null,e.state={instance:$(e),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof e.props.initialScrollOffset=="number"?e.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},e._callOnItemsRendered=void 0,e._callOnItemsRendered=N(function(o,s,u,m){return e.props.onItemsRendered({overscanStartIndex:o,overscanStopIndex:s,visibleStartIndex:u,visibleStopIndex:m})}),e._callOnScroll=void 0,e._callOnScroll=N(function(o,s,u){return e.props.onScroll({scrollDirection:o,scrollOffset:s,scrollUpdateWasRequested:u})}),e._getItemStyle=void 0,e._getItemStyle=function(o){var s=e.props,u=s.direction,m=s.itemSize,S=s.layout,d=e._getItemStyleCache(z&&m,z&&S,z&&u),h;if(d.hasOwnProperty(o))h=d[o];else{var y=r(e.props,o,e._instanceProps),x=a(e.props,o,e._instanceProps),T=u==="horizontal"||S==="horizontal",b=u==="rtl",R=T?y:0;d[o]=h={position:"absolute",left:b?void 0:R,right:b?R:void 0,top:T?0:y,height:T?"100%":x,width:T?x:"100%"}}return h},e._getItemStyleCache=void 0,e._getItemStyleCache=N(function(o,s,u){return{}}),e._onScrollHorizontal=function(o){var s=o.currentTarget,u=s.clientWidth,m=s.scrollLeft,S=s.scrollWidth;e.setState(function(d){if(d.scrollOffset===m)return null;var h=e.props.direction,y=m;if(h==="rtl")switch(V()){case"negative":y=-m;break;case"positive-descending":y=S-u-m;break}return y=Math.max(0,Math.min(y,S-u)),{isScrolling:!0,scrollDirection:d.scrollOffseth.clientWidth?K():0:d=h.scrollHeight>h.clientHeight?K():0}this.scrollTo(l(this.props,e,o,S,this._instanceProps,d))},I.componentDidMount=function(){var e=this.props,o=e.direction,s=e.initialScrollOffset,u=e.layout;if(typeof s=="number"&&this._outerRef!=null){var m=this._outerRef;o==="horizontal"||u==="horizontal"?m.scrollLeft=s:m.scrollTop=s}this._callPropsCallbacks()},I.componentDidUpdate=function(){var e=this.props,o=e.direction,s=e.layout,u=this.state,m=u.scrollOffset,S=u.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var d=this._outerRef;if(o==="horizontal"||s==="horizontal")if(o==="rtl")switch(V()){case"negative":d.scrollLeft=-m;break;case"positive-ascending":d.scrollLeft=m;break;default:var h=d.clientWidth,y=d.scrollWidth;d.scrollLeft=y-h-m;break}else d.scrollLeft=m;else d.scrollTop=m}this._callPropsCallbacks()},I.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&j(this._resetIsScrollingTimeoutId)},I.render=function(){var e=this.props,o=e.children,s=e.className,u=e.direction,m=e.height,S=e.innerRef,d=e.innerElementType,h=e.innerTagName,y=e.itemCount,x=e.itemData,T=e.itemKey,b=T===void 0?dt:T,R=e.layout,J=e.outerElementType,X=e.outerTagName,Y=e.style,tt=e.useIsScrolling,et=e.width,W=this.state.isScrolling,F=u==="horizontal"||R==="horizontal",rt=F?this._onScrollHorizontal:this._onScrollVertical,A=this._getRangeToRender(),it=A[0],nt=A[1],D=[];if(y>0)for(var w=it;w<=nt;w++)D.push(E.createElement(o,{data:x,key:b(w,x),index:w,isScrolling:tt?W:void 0,style:this._getItemStyle(w)}));var k=i(this.props,this._instanceProps);return E.createElement(J||X||"div",{className:s,onScroll:rt,ref:this._outerRefSetter,style:L({position:"relative",height:m,width:et,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:u},Y)},E.createElement(d||h||"div",{children:D,ref:S,style:{height:F?"100%":k,pointerEvents:W?"none":void 0,width:F?k:"100%"}}))},I._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var e=this.props.itemCount;if(e>0){var o=this._getRangeToRender(),s=o[0],u=o[1],m=o[2],S=o[3];this._callOnItemsRendered(s,u,m,S)}}if(typeof this.props.onScroll=="function"){var d=this.state,h=d.scrollDirection,y=d.scrollOffset,x=d.scrollUpdateWasRequested;this._callOnScroll(h,y,x)}},I._getRangeToRender=function(){var e=this.props,o=e.itemCount,s=e.overscanCount,u=this.state,m=u.isScrolling,S=u.scrollDirection,d=u.scrollOffset;if(o===0)return[0,0,0,0];var h=c(this.props,d,this._instanceProps),y=f(this.props,h,d,this._instanceProps),x=!m||S==="backward"?Math.max(1,s):1,T=!m||S==="forward"?Math.max(1,s):1;return[Math.max(0,h-x),Math.max(0,Math.min(o-1,y+T)),h,y]},M}(E.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var mt=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},ht=50,C=function(t,r,i){var a=t,l=a.itemSize,c=i.itemMetadataMap,f=i.lastMeasuredIndex;if(r>f){var p=0;if(f>=0){var z=c[f];p=z.offset+z.size}for(var g=f+1;g<=r;g++){var O=l(g);c[g]={offset:p,size:O},p+=O}i.lastMeasuredIndex=r}return c[r]},vt=function(t,r,i){var a=r.itemMetadataMap,l=r.lastMeasuredIndex,c=l>0?a[l].offset:0;return c>=i?Z(t,r,l,0,i):pt(t,r,Math.max(0,l),i)},Z=function(t,r,i,a,l){for(;a<=i;){var c=a+Math.floor((i-a)/2),f=C(t,c,r).offset;if(f===l)return c;fl&&(i=c-1)}return a>0?a-1:0},pt=function(t,r,i,a){for(var l=t.itemCount,c=1;i=i&&(c=i-1),c>=0){var p=a[c];f=p.offset+p.size}var z=i-c-1,g=z*l;return f+g},yt=Q({getItemOffset:function(t,r,i){return C(t,r,i).offset},getItemSize:function(t,r,i){return i.itemMetadataMap[r].size},getEstimatedTotalSize:B,getOffsetForIndexAndAlignment:function(t,r,i,a,l,c){var f=t.direction,p=t.height,z=t.layout,g=t.width,O=f==="horizontal"||z==="horizontal",M=O?g:p,I=C(t,r,l),v=B(t,l),e=Math.max(0,Math.min(v-M,I.offset)),o=Math.max(0,I.offset-M+I.size+c);switch(i==="smart"&&(a>=o-M&&a<=e+M?i="auto":i="center"),i){case"start":return e;case"end":return o;case"center":return Math.round(o+(e-o)/2);case"auto":default:return a>=o&&a<=e?a:a=s-v&&a<=o+v?i="auto":i="center"),i){case"start":return o;case"end":return s;case"center":{var u=Math.round(s+(o-s)/2);return ue+Math.floor(v/2)?e:u}case"auto":default:return a>=s&&a<=o?a:a&fd4{J z1OVZGbK3;~fWYDZ!~VDazk%h3eGGy#1_oxpudE`dA^{Kzf(QW>SgH^h<_#Un0szPc zL;@UT0zv>9f(A|i1CBje48GCUV&KNjfb?;9O16XHwZQ>~=S+qq3Tmmh`S*tj$uzd$ zlamf!xK)>}K(WghtajG=M&oVSDqTo&Rd<;rAVc?r)qbX|7F$<_FdIS^>R!zn*43g= zF<8h6K!s+A0O#mJ=2uWdVdu}HOGMKpYXlg*3tqPOoi_j8IlY2soTBK}rGAv8!STIU z6!&S)p|4#OI(gYQOr{05Yj;jF-x&GzeU8v2S^74QQ`ji)~0x|^09c1u13M=K_wT#QYD=0J~hl9<&%7D{EYa{qfpi14-Y8l}t()Wz!u>|P(Ktg$ge2sFDS?osyh?mgB}69#=sc;A&*=zL%31h2vBiu> z$f*B#8Wfi2uYc{T$JcqCRIW$`+SJl^^v`eR%w{XZ0vQ&yNIWt`taJ%Fe1VB)e=CB| zM-Pb+Q^{=?8)10qbmm?46_QKn1sxl0m)@V~hV z21QID42|CT;~J@t?yd*cPAyNIF8^UG1h4@l0fb->vVsb+QiZsW2z%gz3+2K<=ud_= zEC`JV!y^WRA@cE!G$bV;QA&uAV?~aX5GAIukXSLn0s+>BL<*+!=&8o)+9R6#hv-f` z($9ZGP=uraArKrY22ujcLPi9>1EMv+%4dINHrtS>R*(tl`l>&0sbQ32_74dO^9tEk z?_Je&zR?NAy2y!VzC(LR83%F}K@NIk^<)}{iDj}k%dGZqt-Wp~zvcAWcCSCX*8BAK zdvw1eep&!o6z4;exg;247SXJ8A8c@H!G(R7|#?mQUwnQaKr2BpLDAg67dv@EjO_3TFNo@ zh5u`v?U@);@Z$5fUFIzgU-Zz@DC%(5Sywrenp>AT){cmMGP~@Hp?4IM5tum4wMWWv18 zD5{`|23Zbl0)-w=O%+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^N8H3ljD0N290 z4k6OK4kfjE9fpQ&9ae-Z>j>m}v<@dC%C)7kQ?@Z8gE;1{BPWXaEHw24TaJk(LyCBD z=r{~z(tI*vR5yTXJtrAwr74L{IvGp}nUMpH(YQ|Ot&t+NX37Kx2Wv4Lq!;rY@rM={ z$?+Y7Oi4@wq0?0Hy_>l3kcbt8DsC|th)OMYz3mzq@)epQ*lEEW14|s6QoYU$*%?@= z;xYThhDmXj^jK}Z##)9Ox!%%BUl$=K#ca+(E+b_rO%)_T8IB4=<9f%R=mbAusHJAX YIibWp^?&tIht8qTWw`N6_B#Lo07d&VN&o-= literal 0 HcmV?d00001 diff --git a/assets/inter-latin-400-normal-3ea830d4.woff b/assets/inter-latin-400-normal-3ea830d4.woff new file mode 100644 index 0000000000000000000000000000000000000000..18662613fb3957fd382395c5bc98b7d215bc5ae3 GIT binary patch literal 21420 zcmYhi19T)?`#s#TZ6^~u6Wg{Ywr$&XCbn&BGO;zWH8DHpKlk4E`_}KQe(LGHYoA@u zIkl?S>8@&b1#xiz2;i%!R0ELz$t}fS_+RE9^naU#sF*ka0AlmSseXkU{1AMVgrb7V z7xxPQfJ+1bzK3+hu&zp|s0jlA2wxgRUI2g;GL}jELP3R*834db`0A(j6$XCPuSP1W zLSGuZ<1Z}u6_PiOt768sh7JG#KGm0J4*&ofB1{o`YHsNK#S#3YgZ^J2o7;GreR0nVAL5q| zlZi}8(81o>Y9C3n+4?>r4A(VX=(fS8Tp_$20|7*64s zGPO0p5qmouC+lz|d=(^bk2TeC5K%BCe8}so>1-GlN|WDSSDTxgpD@q~323P4f{3Z# zQazcOLXZQf5=a6C(?eiL00{|#=?U;K2}_?_)LD5~-ZQU+_yDwYVFJ6(=EkVC5Amu< z-0Yr3iGENU}Zt6IbpYN*moi@A~+TZ@Y zX2ca@-tzY7-YyxB3k=rFrSQVaZBK$`*NdE{zDACxb;s(w_f(G#Skhd(EOHtd}(5G$ESUG|s-luAS~Z4b2f7&IT!_xQV=^|XC%9R1==XKJ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8w5JbLitn zt4Lipb`X_WZgjG^&nbmHUGe0G^ywjcHprPKj?GXhyS)1sT;}UnGYv?tYPVYi*+vSZ zCK)-b*9ap;$9Kv-dGNf5k;e0ORaRMb@Oa1s9m0OJISdUp)}PQ zJ&I#%V%K~Hv~&ro+i*lz} zvf9&%06K}B-fj3Qj|xkjsk6s8F-}Er4K>iRt+j%nl>o5uT|9{A0oXk*Bo8@|&tRDy zqHE}9(C=8WCnE?%!t`)V^olex8()76XR5y;fB+<$dL|3nw8{K_}daBu1O_BFfkT0 zq3Layh+s|@MB`vKP7KXR#YB*65t-jr70I^JBt3SJHFLCJ)Y8HvPaXXJU0oWqXftMt ziiV8FG?x!ZiB@NfyN3P`EKSH+`JUJ=dJ9(t0001Az*ScO literal 0 HcmV?d00001 diff --git a/assets/inter-latin-800-normal-d08d7178.woff b/assets/inter-latin-800-normal-d08d7178.woff new file mode 100644 index 0000000000000000000000000000000000000000..83d445c6b8e0c44932446a0ecbce4636a2f9bcda GIT binary patch literal 22712 zcmYhi19)Uh_dVRPZQHhO+qP{d6Wg{Y6HRP86WgBHcK*5dzR&ml>gip(*FLLO?e3~R zs?#0{;^F`xz<1GX1t9+8Tdu$Hzmb2?|1A=tV&VV*knML&_1oNGhhQru6ctpyW4!?5I~CJX?;?EnDqyZ`_Rcr2sNg@OtLGXQ{#``zxF4=@a9doxy175dh} zb^ONM-zIu3v?^s{XY`G6tG+e6007_+Ve;5h3nQ2B82&%~LjKPXEo{BazhkZd0Lyn@ zDml*920oT%My3FOQtLN|{U4(nFcP!;4t~e3zcJyrk>Wofkz3lidIA8-h~N4R005Y& z_;9PVt%J!oPj&D+mi}#x8C^Bzc1E7x{c7lbxBDk=LLg@#aC;*=v+vky6DThFns?~+;kZN=qiD|I=rT3c zcOwq=w$3);2)HT;KAvl;<3OSyO1R+HS5rAqEEJ~w-dCHOn_p0nf}>DSvV`H%iQ~Lj zn8J{PsG|vjgtGl1hyY1RLRrZ$P|34^E7t7%E1&5%d|ZG^h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ircNp{GZZ;~`7%tcrwYBH~C+FE5zw=?>}z)Tmk#1+Dv+9yYhSDhqva%vT}SY@3J z4mi?zMath.floor((1+Math.random())*65536).toString(16);let h=!1,i=!1,f="",s,g;function m(e,n){let t;try{t=JSON.parse(e)}catch{console.log("JSON.parse error",JSON.parse(e))}const r=new Date,l=$(r);t.time=l,t.id=+r-0+M(),t.even=h=!h,n(t)}function $(e){const n=e.getFullYear()%100,t=u(e.getMonth()+1,2),r=u(e.getDate(),2),l=u(e.getHours(),2),o=u(e.getMinutes(),2),c=u(e.getSeconds(),2);return`${n}-${t}-${r} ${l}:${o}:${c}`}function p(e,n){return e.read().then(({done:t,value:r})=>{const l=L.decode(r,{stream:!t});f+=l;const o=f.split(` +`),c=o[o.length-1];for(let d=0;de[t]).join("|")}let b,a;function k(e,n){if(e.logLevel==="uninit"||i||s&&s.readyState===1)return;g=n;const t=w(e,v);s=new WebSocket(t),s.addEventListener("error",()=>{y(e,n)}),s.addEventListener("message",function(r){m(r.data,n)})}function H(){s.close(),a&&a.abort()}function O(e){!g||!s||(s.close(),i=!1,k(e,g))}function y(e,n){if(a&&S(e)!==b)a.abort();else if(i)return;i=!0,b=S(e),a=new AbortController;const t=a.signal,{url:r,init:l}=D(e);fetch(r+v+"?level="+e.logLevel,{...l,signal:t}).then(o=>{const c=o.body.getReader();p(c,n)},o=>{i=!1,!t.aborted&&console.log("GET /logs error:",o.message)})}export{k as f,O as r,H as s}; diff --git a/assets/play-30aef65c.js b/assets/play-30aef65c.js new file mode 100644 index 0000000..1233f1d --- /dev/null +++ b/assets/play-30aef65c.js @@ -0,0 +1 @@ +import{r as g,R as s,k as a}from"./index-3e6aad90.js";function p(){return p=Object.assign||function(t){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}return r}function y(t,o){if(t==null)return{};var r={},e=Object.keys(t),n,i;for(i=0;i=0)&&(r[n]=t[n]);return r}var c=g.forwardRef(function(t,o){var r=t.color,e=r===void 0?"currentColor":r,n=t.size,i=n===void 0?24:n,l=v(t,["color","size"]);return s.createElement("svg",p({ref:o,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),s.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),s.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))});c.propTypes={color:a.string,size:a.oneOfType([a.string,a.number])};c.displayName="Pause";const b=c;function f(){return f=Object.assign||function(t){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}return r}function O(t,o){if(t==null)return{};var r={},e=Object.keys(t),n,i;for(i=0;i=0)&&(r[n]=t[n]);return r}var u=g.forwardRef(function(t,o){var r=t.color,e=r===void 0?"currentColor":r,n=t.size,i=n===void 0?24:n,l=h(t,["color","size"]);return s.createElement("svg",f({ref:o,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),s.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}))});u.propTypes={color:a.string,size:a.oneOfType([a.string,a.number])};u.displayName="Play";const w=u;export{w as P,b as a}; diff --git a/assets/roboto-mono-latin-400-normal-7295944e.woff2 b/assets/roboto-mono-latin-400-normal-7295944e.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..f8894bab50f641e86f695e85830a74dd395732fa GIT binary patch literal 12312 zcmV+zFz3&APew8T0RR9105BK;4gdfE09Tv<0584(0RR9100000000000000000000 z0000SHU?lnQ&d4zNC1R35eN!_nPB-93xh%c0X7081A{^YAO(d42Otaw8<#}0BG@

g8xH;JVTo83NLUjTlP$et*QVVIE@_;OVum2fn5Gp9HFsKa-phW>)CXq=u#2}p>oh5K_VPTO)ig+s8?Sei-bRVH~U$V z5SZCOx%SjNf>ey=R1)?{@=L!?MJP2Hf^Bv^-GrL{Sy zZt8St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Oa8hZ5T>Vur`~6bXN1T6 zN8gX054?YEpyW#AN^JF%PJCHB+}vIq!(kf{8Ig<;1(D%SD^B}PbvI=ncfXX^X-&;gl@7E5}yjMQO} zi-dQvkGk@7xrXLDFm*ZojPSAAN6NpZquF}{*FMoeey2=`y%Coqp2cFJ+k~MFQD@cJ zCl3#6EZy0E3*B?r{|1^Lf~nv3#`Rye7qp^VO2z@X#19FTOnkD;-vW0reqch1S?6A^(Y(kba}1O(ng$*2p@B}4TRVUjR)MBbfB~KZ{f9morn?_h*yJ- zH-^6AgeNLH;u!2Z>3$?8Kj~t$#jIiUBk9cM_KpHFSSYEOQZ%VNGSP}92^6C^)ihga zG70&#C-Ude19aWEE_1nh@4d_@_WO8M3<<4jWlknhry;U+RW&){+gb-LAmWEpj;l@2 z6kbSvCr+HH$_A{5(_pKZPn{aUs31*X=lR$#+xEkRfLqVr<#$a4e+>WB>Skvj6MO~l zduMMkrXG?Nrv+4Fj<)UzlBfD$2K@byd+hSECxo82$hG}?;GGt0_`nBS3X`eC|8i*o f2>sHArxA`x20;J-XqiD40DyLoukd>Cc){const{top:o}=t.current.getBoundingClientRect();i(window.innerHeight-o)},[]);return c(()=>(e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[e]),[t,n]}export{d as u}; diff --git a/assets/zh-972d6106.js b/assets/zh-972d6106.js new file mode 100644 index 0000000..0259a15 --- /dev/null +++ b/assets/zh-972d6106.js @@ -0,0 +1 @@ +const e={Overview:"概览",Proxies:"代理",Rules:"规则",Conns:"连接",Config:"配置",Logs:"日志",Upload:"上传",Download:"下载","Upload Total":"上传总量","Download Total":"下载总量","Active Connections":"活动连接","Pause Refresh":"暂停刷新","Resume Refresh":"继续刷新",Up:"上传",Down:"下载","Test Latency":"延迟测速",settings:"设置",sort_in_grp:"代理组条目排序",hide_unavail_proxies:"隐藏不可用代理",auto_close_conns:"切换代理时自动断开旧连接",order_natural:"原 config 文件中的排序",order_latency_asc:"按延迟从小到大",order_latency_desc:"按延迟从大到小",order_name_asc:"按名称字母排序 (A-Z)",order_name_desc:"按名称字母排序 (Z-A)",Connections:"连接",current_backend:"当前后端",Active:"活动",switch_backend:"切换后端",Closed:"已断开",switch_theme:"切换主题",theme:"主题",about:"关于",no_logs:"暂无日志...",chart_style:"流量图样式",latency_test_url:"延迟测速 URL",lang:"语言",update_all_rule_provider:"更新所有 rule provider",update_all_proxy_provider:"更新所有 proxy providers"};export{e as data}; diff --git a/index.html b/index.html new file mode 100644 index 0000000..378bbef --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + yacd + + + + +

+ + + diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..0fda37a --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"yacd","short_name":"yacd","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./"} diff --git a/registerSW.js b/registerSW.js new file mode 100644 index 0000000..179c13c --- /dev/null +++ b/registerSW.js @@ -0,0 +1 @@ +if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})} \ No newline at end of file diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..11897aa --- /dev/null +++ b/sw.js @@ -0,0 +1,2 @@ +try{self["workbox:core:6.5.3"]&&_()}catch{}const G=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Q=G;class l extends Error{constructor(e,t){const n=Q(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function z(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),J=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{J(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function A(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function X(s,e,t,n){const a=A(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=A(c.url,t);if(a===o)return s.match(c,n)}}let m;function Y(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function q(s){s.then(()=>{})}class Z{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function ee(){for(const s of j)await s()}const te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function se(s){return new Promise(e=>setTimeout(e,s))}function v(s,e){const t=e();return s.waitUntil(t),t}async function ne(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const n=s.clone(),a={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},r=e?e(a):a,i=Y()?n.body:await n.blob();return new Response(i,r)}function ae(){self.addEventListener("activate",()=>self.clients.claim())}const re=(s,e)=>e.some(t=>s instanceof t);let O,S;function ie(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ce(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const F=new WeakMap,P=new WeakMap,H=new WeakMap,D=new WeakMap,I=new WeakMap;function oe(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&F.set(t,s)}).catch(()=>{}),I.set(e,s),e}function he(s){if(P.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});P.set(s,e)}let k={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return P.get(s);if(e==="objectStoreNames")return s.objectStoreNames||H.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function le(s){k=s(k)}function ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(L(this),e,...t);return H.set(n,e.sort?e.sort():[e]),f(n)}:ce().includes(s)?function(...e){return s.apply(L(this),e),f(F.get(this))}:function(...e){return f(s.apply(L(this),e))}}function de(s){return typeof s=="function"?ue(s):(s instanceof IDBTransaction&&he(s),re(s,ie())?new Proxy(s,k):s)}function f(s){if(s instanceof IDBRequest)return oe(s);if(D.has(s))return D.get(s);const e=de(s);return e!==s&&(D.set(s,e),I.set(e,s)),e}const L=s=>I.get(s);function fe(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction))}),t&&i.addEventListener("blocked",()=>t()),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",()=>a())}).catch(()=>{}),c}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",()=>e()),f(t).then(()=>{})}const ge=["get","getKey","getAll","getAllKeys","count"],me=["put","add","delete","clear"],U=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(U.get(e))return U.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||ge.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let h=o.store;return n&&(h=h.index(c.shift())),(await Promise.all([h[t](...c),a&&o.done]))[0]};return U.set(e,r),r}le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:6.5.3"]&&_()}catch{}const ye="workbox-expiration",y="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class we{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(y,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(y,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(y,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(y).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(y,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await fe(ye,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class _e{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new we(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,q(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);q(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&z(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new l("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new _e(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:6.5.3"]&&_()}catch{}const be="__WB_REVISION__";function Ce(s){if(!s)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(be,e),{cacheKey:n.href,url:a.href}}class xe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Ee{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:6.5.3"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class De{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Z,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new l("cache-put-with-no-response",{url:te(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),g=h?await X(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await ee(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class V{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new De(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends V{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new l("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ne(s):s}};class Le{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new Ee({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=Ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return v(e,async()=>{const t=new xe;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:h,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return v(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let T;const M=()=>(T||(T=new Le),T);try{self["workbox:routing:6.5.3"]&&_()}catch{}const $="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=$){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class Ue extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Te{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let h;try{h=c.handle({url:n,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(K){K instanceof Error&&(u=K)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=$){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let w;const Pe=()=>(w||(w=new Te,w.addFetchListener(),w.addCacheListener()),w);function N(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new Ue(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Pe().registerRoute(n),n}function ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=ke(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class Me extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of Ie(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function Ne(s){const e=M(),t=new Me(e,s);N(t)}function Ke(s){return M().createHandlerBoundToURL(s)}function Ae(s){M().precache(s)}function ve(s,e){Ae(s),Ne(e)}const Oe={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Se extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Oe)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new l("no-response",{url:e.url,error:r});return a}}ae();ve([{"revision":null,"url":"assets/chart-lib-ced68107.js"},{"revision":null,"url":"assets/chevron-down-fcc32a65.js"},{"revision":null,"url":"assets/Config-35023b66.css"},{"revision":null,"url":"assets/Config-b8a90983.js"},{"revision":null,"url":"assets/Connections-2c1d9d67.js"},{"revision":null,"url":"assets/Connections-fb8ea59b.css"},{"revision":null,"url":"assets/debounce-c1ba2006.js"},{"revision":null,"url":"assets/en-0b55644c.js"},{"revision":null,"url":"assets/Fab-169bb281.js"},{"revision":null,"url":"assets/Fab-a0a7e573.css"},{"revision":null,"url":"assets/index-2a3ca6b4.js"},{"revision":null,"url":"assets/index-3e6aad90.js"},{"revision":null,"url":"assets/index-534e085e.js"},{"revision":null,"url":"assets/index-8c12d331.css"},{"revision":null,"url":"assets/index.esm-37f2c08f.js"},{"revision":null,"url":"assets/logs-08774dd8.js"},{"revision":null,"url":"assets/Logs-4b8e75d1.css"},{"revision":null,"url":"assets/Logs-ad267e02.js"},{"revision":null,"url":"assets/play-30aef65c.js"},{"revision":null,"url":"assets/Proxies-869a8128.js"},{"revision":null,"url":"assets/Proxies-bee4beaa.css"},{"revision":null,"url":"assets/Rules-6bba7454.js"},{"revision":null,"url":"assets/Rules-e11cb70e.css"},{"revision":null,"url":"assets/Select-1e55eba1.css"},{"revision":null,"url":"assets/Select-4fa356cc.js"},{"revision":null,"url":"assets/TextFitler-4f121c73.js"},{"revision":null,"url":"assets/TextFitler-b21c0577.css"},{"revision":null,"url":"assets/useRemainingViewPortHeight-175c2a6c.js"},{"revision":null,"url":"assets/zh-972d6106.js"},{"revision":"529556cb32da42ff8f3e3d8184ecbac3","url":"index.html"},{"revision":"402b66900e731ca748771b6fc5e7a068","url":"registerSW.js"},{"revision":"c0f9cb6aaf647e778bdc01c59944755b","url":"manifest.webmanifest"}]);const We=new RegExp("/[^/?]+\\.[^/]+$");N(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(We)),Ke("index.html"));N(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Se({cacheName:"images",plugins:[new Re({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()}); diff --git a/yacd-128.png b/yacd-128.png new file mode 100644 index 0000000000000000000000000000000000000000..4609a149d9a5cce8dcbae9502fdb9996852420d6 GIT binary patch literal 7703 zcma)B^*7#&iIgn)DiNQ*FXOe7Uiq=f-eA}|_-(V>7aN*a+= zN~C)q-+#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{cyG+T8@nb@Wt!Q5Gx=tU1xui1UBX{ZR?@gMs&?at|Lt zVv)J5#%7m?sPSSd`7nY}lT-DOpbWOc>%~S5`qZ2}2oDAvnm>yCa30;DSNf*Zjiiw? zotku4!QZ@7Rl$M_^zE?6YI`|%wznDw(QEEJ?uUMdq{KSjL0;%bMQ^|K#Ff1%hyQ#% zv*cQ2cW53NCjYkbpo7R}rRJg65uIDXmGp!)?SrlAtm&fnEHa-8$rcu^sv*kGXKW+p z_gC7}!g#I}K|f;aGadartZ|fAG(8DU_(*{ULy9L)HIKuV(})L~Nt(YAb{ndGV;Ga7 zLCW8KRLa08HagS%VD}JXF{+&0iqPppGheucB*heege4${i@3lY<|8p|4XzB-&=63Z zXN$emI&*tfpphPK$61`bBgE{$CH~THRQU4+6|_k=xA!?+mFsjz`?W`bk6MQd!kppU z-~uXLjEDTRJ^#?MhcgY%I@4&F3AEVwWIZCxUdl3`FD?fj$d^$AkCAIep=`sJ=X6`3 zom5>Rvodc2} z&FIosOdP(}7+jrU=^!|5cGFj>L2dBl?#Q6M)g3dS&Mq5`_B(1VoiSQ-=ibxv-bSwQ zFC%4X>fpz(0%+Rh+Ed^@b`j}fA13RY%pK4HT$EI6cCWr_1e0EpV50#i#v9*U0w~sq zV0GwPs-owblOEC&DJrQH?C2e<7wJ52*1MP0>SjMV(zdO7OM7++{!~M@d*W+rtj)HK z{?<2H!N0sgxa&VT)d>pC6G&S*I%UPQe4%}Gnna;=H^KJ&o%VtdhjvVOxODaR=_37l z^X}#e-=B+@73H%2<>g9kwfh{~f=Cl_?k(dXkq;L&402@(^bRHmwAWV`$^CpANxJB! zMEOYO1X}yD_`cvv!rA_@6@##e zdDLKq(9qkBnoHJG%__#n{|`6yKgU(CivZ{ap3)^`tI7T|e2ENnOth;t9b^9oyR?P% literal 0 HcmV?d00001 diff --git a/yacd-64.png b/yacd-64.png new file mode 100644 index 0000000000000000000000000000000000000000..bbbcf65131c8f2c1b0108767cc416b09190732e3 GIT binary patch literal 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-yV1ZNN zGU)zyxP0s8JBHqG`;kZ2`K;T5^ zeGdG`gVfUkwmO0DayS{E+gAUnm|k`O>iKLs8c}em-Nztpx6oPr0R)_b=)13CJk>AhiF$zsB||j%d9Iw$a?h#f(S0xu)eZv<)D(^v?u}T0?6x?5?M2l(m>Ldvu%Dn;@lx>B@`TC5$LchYJnex`NU-~iKN zpie{Sa35NygIE(>OUzxQXw1nYAQ=g8b1C5&$7Y2f89-8jbO)qUAWa3y2E@6hTOLzS zFL+WS{RCcnp-UeaF%UjJ4sjnAe|Nrb=ED092j>>(W}elidPQn`{b|7?YdB(|2V07W zN5L?3vsUQVH>#_>-bGfBIQuU-(_?pE3rjtBqOYo2oOAJnwF6*w2N>-L{f0u96zI4Y z+B<@$Gqllz`yFr}2W>*YBMiJm@c9n>XF+fe7y=knvJ zyp^j8iZ%`j)_wclKlI)e@5u;@7rSNyH{z*i+9!^J7}jHl_VCq|7)YF z$Jy-6y{TueC*LkO`EK^XxD|O}Yd+ApPAJxm4VbB4SYXASE#a2qCR7#~(N~KiFE0O;Lmc&oh*I@n>00000 LNkvXXu0mjfEasRE literal 0 HcmV?d00001 diff --git a/yacd.ico b/yacd.ico new file mode 100644 index 0000000000000000000000000000000000000000..ec4e4708261d84ee0fe34fe921b39509a0bfffd7 GIT binary patch literal 5430 zcmeHLXHZo~6kasgVuEC%I3_dE$QV0fZ&<+&HtdQhHk={G9!n5xVMe1QJQkIcBtVei{}%AT{Q?G?gCln_;`3d~i- zt_nib5JFVI%-`ca6XGJCYhn#3q8)(iYGD1-`2ScSGc!}Xc=5svoJzebBu|r5HZ2;u}4taTbj#*h* zP8k^)jj@*|pmEO4&8>-dRRCWAO3a%#Ph7u#T>!_#kG!o7t!H+2wvu`2(j_g=0Xn)Q zBqaD9Ja{m8)22<)K|w*ubLPysJ8jyur;{d4dOmUD#1~VhOv#u%d-nZBix&O4Zr!@r zef#!>o;h=7I`-Zfd-)bn^6c5O%04e&zEn0c+J*Z9j@laL$~SM`>~-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