From e3e763d5a754df3505d3238be73f9e0dd31eeb72 Mon Sep 17 00:00:00 2001 From: Kaveh Dadgar Date: Sun, 8 Sep 2024 20:18:49 +0330 Subject: [PATCH] add: openwrt import webui assets 2.3.0 import webui assets from latest 2.3.0 release packages for OpenWrt releases as well. --- wrt/files/webui/CNAME | 1 + wrt/files/webui/_headers | 12 ++ .../webui/apple-touch-icon-precomposed.png | Bin 0 -> 48291 bytes wrt/files/webui/assets/BaseModal-ab8cd8e0.js | 1 + wrt/files/webui/assets/BaseModal-e9f180d4.css | 1 + wrt/files/webui/assets/Config-7eb3f1bb.css | 1 + wrt/files/webui/assets/Config-d98df917.js | 1 + .../webui/assets/Connections-2b49f1fb.css | 1 + .../webui/assets/Connections-ac8a4ae7.js | 68 ++++++++++++ wrt/files/webui/assets/Fab-12e96042.js | 1 + wrt/files/webui/assets/Fab-48def6bf.css | 1 + wrt/files/webui/assets/Input-4a412620.js | 1 + wrt/files/webui/assets/Logs-4c263fad.css | 1 + wrt/files/webui/assets/Logs-9ddf6a86.js | 1 + wrt/files/webui/assets/Proxies-06b60f95.css | 1 + wrt/files/webui/assets/Proxies-b1261fd3.js | 1 + wrt/files/webui/assets/Rules-162ef666.css | 1 + wrt/files/webui/assets/Rules-ce05c965.js | 1 + wrt/files/webui/assets/Select-07e025ab.css | 1 + wrt/files/webui/assets/Select-0e7ed95b.js | 1 + .../webui/assets/TextFitler-a112af1a.css | 1 + wrt/files/webui/assets/TextFitler-ae90d90b.js | 1 + wrt/files/webui/assets/chart-lib-6081a478.js | 16 +++ wrt/files/webui/assets/debounce-c1ba2006.js | 1 + wrt/files/webui/assets/en-1067a8eb.js | 1 + wrt/files/webui/assets/index-3a58cb87.js | 104 ++++++++++++++++++ wrt/files/webui/assets/index-777fdc28.js | 9 ++ wrt/files/webui/assets/index-84fa0cb3.js | 1 + wrt/files/webui/assets/index-ef878e7c.css | 1 + .../inter-latin-400-normal-0364d368.woff2 | Bin 0 -> 16708 bytes .../inter-latin-400-normal-3ea830d4.woff | Bin 0 -> 21420 bytes .../inter-latin-800-normal-a51ac27d.woff2 | Bin 0 -> 17764 bytes .../inter-latin-800-normal-d08d7178.woff | Bin 0 -> 22712 bytes wrt/files/webui/assets/logo-c5e49ecc.png | Bin 0 -> 5666 bytes wrt/files/webui/assets/logs-3f8dcdee.js | 2 + .../objectWithoutPropertiesLoose-4f48578a.js | 1 + wrt/files/webui/assets/play-c7b83a10.js | 1 + ...oboto-mono-latin-400-normal-7295944e.woff2 | Bin 0 -> 12312 bytes ...roboto-mono-latin-400-normal-dffdffa7.woff | Bin 0 -> 15160 bytes wrt/files/webui/assets/rotate-cw-6c7b4819.js | 1 + .../useRemainingViewPortHeight-1c35aab5.js | 1 + wrt/files/webui/assets/vi-75c7db25.js | 1 + wrt/files/webui/assets/zh-cn-ace621d4.js | 1 + wrt/files/webui/assets/zh-tw-47d3ce5e.js | 1 + wrt/files/webui/index.html | 24 ++++ wrt/files/webui/logo.png | Bin 0 -> 5666 bytes wrt/files/webui/manifest.webmanifest | 1 + wrt/files/webui/registerSW.js | 1 + wrt/files/webui/sw.js | 2 + wrt/files/webui/yacd.ico | Bin 0 -> 5666 bytes wrt/files/webui/yacd.png | Bin 0 -> 5666 bytes 51 files changed, 269 insertions(+) create mode 100644 wrt/files/webui/CNAME create mode 100644 wrt/files/webui/_headers create mode 100644 wrt/files/webui/apple-touch-icon-precomposed.png create mode 100644 wrt/files/webui/assets/BaseModal-ab8cd8e0.js create mode 100644 wrt/files/webui/assets/BaseModal-e9f180d4.css create mode 100644 wrt/files/webui/assets/Config-7eb3f1bb.css create mode 100644 wrt/files/webui/assets/Config-d98df917.js create mode 100644 wrt/files/webui/assets/Connections-2b49f1fb.css create mode 100644 wrt/files/webui/assets/Connections-ac8a4ae7.js create mode 100644 wrt/files/webui/assets/Fab-12e96042.js create mode 100644 wrt/files/webui/assets/Fab-48def6bf.css create mode 100644 wrt/files/webui/assets/Input-4a412620.js create mode 100644 wrt/files/webui/assets/Logs-4c263fad.css create mode 100644 wrt/files/webui/assets/Logs-9ddf6a86.js create mode 100644 wrt/files/webui/assets/Proxies-06b60f95.css create mode 100644 wrt/files/webui/assets/Proxies-b1261fd3.js create mode 100644 wrt/files/webui/assets/Rules-162ef666.css create mode 100644 wrt/files/webui/assets/Rules-ce05c965.js create mode 100644 wrt/files/webui/assets/Select-07e025ab.css create mode 100644 wrt/files/webui/assets/Select-0e7ed95b.js create mode 100644 wrt/files/webui/assets/TextFitler-a112af1a.css create mode 100644 wrt/files/webui/assets/TextFitler-ae90d90b.js create mode 100644 wrt/files/webui/assets/chart-lib-6081a478.js create mode 100644 wrt/files/webui/assets/debounce-c1ba2006.js create mode 100644 wrt/files/webui/assets/en-1067a8eb.js create mode 100644 wrt/files/webui/assets/index-3a58cb87.js create mode 100644 wrt/files/webui/assets/index-777fdc28.js create mode 100644 wrt/files/webui/assets/index-84fa0cb3.js create mode 100644 wrt/files/webui/assets/index-ef878e7c.css create mode 100644 wrt/files/webui/assets/inter-latin-400-normal-0364d368.woff2 create mode 100644 wrt/files/webui/assets/inter-latin-400-normal-3ea830d4.woff create mode 100644 wrt/files/webui/assets/inter-latin-800-normal-a51ac27d.woff2 create mode 100644 wrt/files/webui/assets/inter-latin-800-normal-d08d7178.woff create mode 100644 wrt/files/webui/assets/logo-c5e49ecc.png create mode 100644 wrt/files/webui/assets/logs-3f8dcdee.js create mode 100644 wrt/files/webui/assets/objectWithoutPropertiesLoose-4f48578a.js create mode 100644 wrt/files/webui/assets/play-c7b83a10.js create mode 100644 wrt/files/webui/assets/roboto-mono-latin-400-normal-7295944e.woff2 create mode 100644 wrt/files/webui/assets/roboto-mono-latin-400-normal-dffdffa7.woff create mode 100644 wrt/files/webui/assets/rotate-cw-6c7b4819.js create mode 100644 wrt/files/webui/assets/useRemainingViewPortHeight-1c35aab5.js create mode 100644 wrt/files/webui/assets/vi-75c7db25.js create mode 100644 wrt/files/webui/assets/zh-cn-ace621d4.js create mode 100644 wrt/files/webui/assets/zh-tw-47d3ce5e.js create mode 100644 wrt/files/webui/index.html create mode 100644 wrt/files/webui/logo.png create mode 100644 wrt/files/webui/manifest.webmanifest create mode 100644 wrt/files/webui/registerSW.js create mode 100644 wrt/files/webui/sw.js create mode 100644 wrt/files/webui/yacd.ico create mode 100644 wrt/files/webui/yacd.png diff --git a/wrt/files/webui/CNAME b/wrt/files/webui/CNAME new file mode 100644 index 0000000..501d8c0 --- /dev/null +++ b/wrt/files/webui/CNAME @@ -0,0 +1 @@ +yacd.metacubex.one \ No newline at end of file diff --git a/wrt/files/webui/_headers b/wrt/files/webui/_headers new file mode 100644 index 0000000..877d928 --- /dev/null +++ b/wrt/files/webui/_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/wrt/files/webui/apple-touch-icon-precomposed.png b/wrt/files/webui/apple-touch-icon-precomposed.png new file mode 100644 index 0000000000000000000000000000000000000000..cbb3fcbf293ab72a7776270f285c82be6c993caf GIT binary patch literal 48291 zcmYIwbzD>5|Nq?vqXk5zB$P7g5Q&WtR9XyDP^877ARx673P_7eGY};VKtMr>jgSy& zBt+Oik(3@A%iqQK=ll5mvB!4rJ@=f~d7W22U$4g!tSwFXxW%{u0N}fD-uMy#K*66- zfD;aWZHJ6d!7oU_B~wGlME5B)c){g=-aY^Tc!c&o5FjT{1OOV(UobYf9Fn)v#8Y*} z{rUWa^LLH!dQ)o7DiVV>Qz}<%RfYxiY_5Er<2!ong}uk~E6?nm?Vn{|DfcefJizuK z{wU{HGo*k^d3kwuxp&TEU8S|oIR@N7pk27|=!y8~uFKzy$y&5YTG-nU&7{9g{q8P( zkkMqymj~Fe)lc&)EVN!TiIIptg7Di3SpE44VL`EMEsOQ$vXXC1Q&zfhrS)U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js new file mode 100644 index 0000000..24a2ca7 --- /dev/null +++ b/wrt/files/webui/assets/BaseModal-ab8cd8e0.js @@ -0,0 +1 @@ +import{r as y,R as p,p as s,c as f,m as v,b as h,M as m,s as O}from"./index-3a58cb87.js";function l(){return l=Object.assign||function(e){for(var n=1;n=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function b(e,n){if(e==null)return{};var r={},t=Object.keys(e),o,a;for(a=0;a=0)&&(r[o]=e[o]);return r}var c=y.forwardRef(function(e,n){var r=e.color,t=r===void 0?"currentColor":r,o=e.size,a=o===void 0?24:o,u=g(e,["color","size"]);return p.createElement("svg",l({ref:n,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},u),p.createElement("polyline",{points:"6 9 12 15 18 9"}))});c.propTypes={color:s.string,size:s.oneOfType([s.string,s.number])};c.displayName="ChevronDown";const k=c,w="_overlay_ukhe7_1",d="_cnt_ukhe7_5",_="_afterOpen_ukhe7_15",i={overlay:w,cnt:d,afterOpen:_},{useMemo:j}=O;function C({isOpen:e,onRequestClose:n,children:r}){const t=j(()=>({base:f(v.content,i.cnt),afterOpen:i.afterOpen,beforeClose:""}),[]);return h(m,{isOpen:e,onRequestClose:n,className:t,overlayClassName:f(v.overlay,i.overlay),children:r})}export{C as B,k as C}; diff --git a/wrt/files/webui/assets/BaseModal-e9f180d4.css b/wrt/files/webui/assets/BaseModal-e9f180d4.css new file mode 100644 index 0000000..0229f08 --- /dev/null +++ b/wrt/files/webui/assets/BaseModal-e9f180d4.css @@ -0,0 +1 @@ +._overlay_ukhe7_1{background-color:#0009}._cnt_ukhe7_5{position:absolute;background-color:var(--bg-modal);color:var(--color-text);line-height:1.4;opacity:.6;transition:all .3s ease;box-shadow:#0000001f 0 4px 4px,#0000003d 0 16px 32px}._afterOpen_ukhe7_15{opacity:1} diff --git a/wrt/files/webui/assets/Config-7eb3f1bb.css b/wrt/files/webui/assets/Config-7eb3f1bb.css new file mode 100644 index 0000000..766b1fd --- /dev/null +++ b/wrt/files/webui/assets/Config-7eb3f1bb.css @@ -0,0 +1 @@ +._root_1vck5_4,._section_1vck5_5{display:grid;grid-template-columns:repeat(auto-fill,minmax(49%,1fr));max-width:900px;grid-gap:5px;gap:5px}@media screen and (min-width: 30em){._root_1vck5_4,._section_1vck5_5{gap:15px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}._root_1vck5_4,._section_1vck5_5{padding:6px 15px 10px}@media screen and (min-width: 30em){._root_1vck5_4,._section_1vck5_5{padding:10px 40px 15px}}._wrapSwitch_1vck5_30{height:40px;display:flex;align-items:center}._sep_1vck5_36{max-width:900px;padding:0 15px}@media screen and (min-width: 30em){._sep_1vck5_36{padding:0 40px}}._sep_1vck5_36>div{border-top:1px dashed #373737}._label_1vck5_49{padding:15px 0;font-size:small}._fieldset_1hnn2_1{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;flex-direction:row}._input_1hnn2_10+._cnt_1hnn2_10{border:1px solid transparent;border-radius:4px;cursor:pointer;margin-bottom:5px}._input_1hnn2_10:focus+._cnt_1hnn2_10{border-color:var(--color-focus-blue)}._input_1hnn2_10:checked+._cnt_1hnn2_10{border-color:var(--color-focus-blue)} diff --git a/wrt/files/webui/assets/Config-d98df917.js b/wrt/files/webui/assets/Config-d98df917.js new file mode 100644 index 0000000..353e122 --- /dev/null +++ b/wrt/files/webui/assets/Config-d98df917.js @@ -0,0 +1 @@ +import{r as E,R as h,p as v,c as re,b as n,j as c,v as le,w as V,x as G,y as oe,s as H,d as J,z as se,g as Q,A as ie,u as ce,D as de,E as x,F as ue,G as me,H as he,J as pe,K as ve,L as fe,N as ge,C as be,S as N,O as ye,B as y,P as we,Q as ke,T as _e}from"./index-3a58cb87.js";import{r as Ce}from"./logs-3f8dcdee.js";import{S as k}from"./Select-0e7ed95b.js";import{I as S,S as Oe}from"./Input-4a412620.js";import{R as P}from"./rotate-cw-6c7b4819.js";function I(){return I=Object.assign||function(e){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function Ne(e,o){if(e==null)return{};var l={},a=Object.keys(e),t,r;for(r=0;r=0)&&(l[t]=e[t]);return l}var T=E.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,t=e.size,r=t===void 0?24:t,p=xe(e,["color","size"]);return h.createElement("svg",I({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p),h.createElement("polyline",{points:"8 17 12 21 16 17"}),h.createElement("line",{x1:"12",y1:"12",x2:"12",y2:"21"}),h.createElement("path",{d:"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"}))});T.propTypes={color:v.string,size:v.oneOfType([v.string,v.number])};T.displayName="DownloadCloud";const Se=T;function L(){return L=Object.assign||function(e){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function je(e,o){if(e==null)return{};var l={},a=Object.keys(e),t,r;for(r=0;r=0)&&(l[t]=e[t]);return l}var $=E.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,t=e.size,r=t===void 0?24:t,p=Pe(e,["color","size"]);return h.createElement("svg",L({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p),h.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),h.createElement("polyline",{points:"16 17 21 12 16 7"}),h.createElement("line",{x1:"21",y1:"12",x2:"9",y2:"12"}))});$.propTypes={color:v.string,size:v.oneOfType([v.string,v.number])};$.displayName="LogOut";const Ie=$;function z(){return z=Object.assign||function(e){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function ze(e,o){if(e==null)return{};var l={},a=Object.keys(e),t,r;for(r=0;r=0)&&(l[t]=e[t]);return l}var R=E.forwardRef(function(e,o){var l=e.color,a=l===void 0?"currentColor":l,t=e.size,r=t===void 0?24:t,p=Le(e,["color","size"]);return h.createElement("svg",z({ref:o,xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},p),h.createElement("polyline",{points:"3 6 5 6 21 6"}),h.createElement("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),h.createElement("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),h.createElement("line",{x1:"14",y1:"11",x2:"14",y2:"17"}))});R.propTypes={color:v.string,size:v.oneOfType([v.string,v.number])};R.displayName="Trash2";const Ee=R,Te="_root_1vck5_4",$e="_section_1vck5_5",Re="_wrapSwitch_1vck5_30",Me="_sep_1vck5_36",De="_label_1vck5_49",i={root:Te,section:$e,wrapSwitch:Re,sep:Me,label:De},Fe="_fieldset_1hnn2_1",We="_input_1hnn2_10",Be="_cnt_1hnn2_10",j={fieldset:Fe,input:We,cnt:Be};function Ue({OptionComponent:e,optionPropsList:o,selectedIndex:l,onChange:a}){const t=re("visually-hidden",j.input),r=p=>{a(p.target.value)};return n("fieldset",{className:j.fieldset,children:o.map((p,d)=>c("label",{children:[n("input",{type:"radio",checked:l===d,name:"selection",value:d,"aria-labelledby":"traffic chart type "+d,onChange:r,className:t}),n("div",{className:j.cnt,children:n(e,{...p})})]},d))})}const{useMemo:Ae}=H,Ve={plugins:{legend:{display:!1}},scales:{x:{display:!1,type:"category"},y:{display:!1,type:"linear"}}},K=[23e3,35e3,46e3,33e3,9e4,68e3,23e3,45e3],Ge=[184e3,183e3,196e3,182e3,19e4,186e3,182e3,189e3],He=K;function Je({id:e}){const o=le.read(),l=Ae(()=>({labels:He,datasets:[{...V,...G[e].up,data:K},{...V,...G[e].down,data:Ge}]}),[e]),a="chart-"+e;return oe(o.Chart,a,l,null,Ve),n("div",{style:{width:80,padding:5},children:n("canvas",{id:a})})}const{useEffect:q,useState:Qe,useCallback:f,useRef:Ke}=H,qe=[{id:0},{id:1},{id:2},{id:3}],Xe=[["debug","Debug"],["info","Info"],["warning","Warning"],["error","Error"],["silent","Silent"]],Ye=[{key:"port",label:"Http Port"},{key:"socks-port",label:"Socks5 Port"},{key:"mixed-port",label:"Mixed Port"},{key:"redir-port",label:"Redir Port"},{key:"mitm-port",label:"MITM Port"}],Ze=[["zh-cn","简体中文"],["zh-tw","繁體中文"],["en","English"],["vi","Vietnamese"]],et=[["direct","Direct"],["rule","Rule"],["script","Script"],["global","Global"]],tt=[["gvisor","gVisor"],["mixed","Mixed"],["system","System"],["lwip","LWIP"]],nt=e=>({configs:se(e),apiConfig:Q(e)}),at=e=>({selectedChartStyleIndex:ke(e),latencyTestUrl:_e(e),apiConfig:Q(e)}),rt=J(at)(st),ht=J(nt)(lt);function lt({dispatch:e,configs:o,apiConfig:l}){return q(()=>{e(ie(l))},[e,l]),n(rt,{configs:o})}function ot(e){return e&&e.meta&&!e.premium?"Clash.Meta ":e&&e.meta&&e.premium?"sing-box ":"Clash Premium"}function st({dispatch:e,configs:o,selectedChartStyleIndex:l,latencyTestUrl:a,apiConfig:t}){var W,B,U,A;const{t:r,i18n:p}=ce(),[d,_]=Qe(o),M=Ke(o);q(()=>{M.current!==o&&_(o),M.current=o},[o]);const X=f(()=>{e(de("apiConfig"))},[e]),C=f((s,u)=>{_({...d,[s]:u})},[d]),D=f((s,u)=>{const g={...d.tun,[s]:u};_({...d,tun:{...g}})},[d]),b=f(({name:s,value:u})=>{switch(s){case"mode":case"log-level":case"allow-lan":case"sniffing":C(s,u),e(x(t,{[s]:u})),s==="log-level"&&Ce({...t,logLevel:u});break;case"mitm-port":case"redir-port":case"socks-port":case"mixed-port":case"port":if(u!==""){const g=parseInt(u,10);if(g<0||g>65535)return}C(s,u);break;case"enable":case"stack":D(s,u),e(x(t,{tun:{[s]:u}}));break;default:return}},[t,e,C,D]),{selectChartStyleIndex:Y,updateAppConfig:F}=ue(),w=f(s=>{const{name:u,value:g}=s.target;switch(u){case"port":case"socks-port":case"mixed-port":case"redir-port":case"mitm-port":{const O=parseInt(g,10);if(O<0||O>65535)return;e(x(t,{[u]:O}));break}case"latencyTestUrl":{F(u,g);break}case"device name":case"interface name":break;default:throw new Error(`unknown input name ${u}`)}},[t,e,F]),Z=f(()=>{e(me(t))},[t,e]),ee=f(()=>{e(he(t))},[t,e]),te=f(()=>{e(pe(t))},[t,e]),ne=f(()=>{e(ve(t))},[t,e]),ae=f(()=>{e(fe(t))},[t,e]),{data:m}=ge(["/version",t],()=>we("/version",t));return c("div",{children:[n(be,{title:r("Config")}),c("div",{className:i.root,children:[m.meta&&m.premium||Ye.map(s=>d[s.key]!==void 0?c("div",{children:[n("div",{className:i.label,children:s.label}),n(S,{name:s.key,value:d[s.key],onChange:({target:{name:u,value:g}})=>b({name:u,value:g}),onBlur:w})]},s.key):null),c("div",{children:[n("div",{className:i.label,children:"Mode"}),n(k,{options:et,selected:d.mode.toLowerCase(),onChange:s=>b({name:"mode",value:s.target.value})})]}),c("div",{children:[n("div",{className:i.label,children:"Log Level"}),n(k,{options:Xe,selected:d["log-level"].toLowerCase(),onChange:s=>b({name:"log-level",value:s.target.value})})]}),m.meta&&m.premium||c("div",{children:[n("div",{className:i.label,children:r("allow_lan")}),n("div",{className:i.wrapSwitch,children:n(N,{name:"allow-lan",checked:d["allow-lan"],onChange:s=>b({name:"allow-lan",value:s})})})]}),m.meta&&!m.premium&&c("div",{children:[n("div",{className:i.label,children:r("tls_sniffing")}),n("div",{className:i.wrapSwitch,children:n(N,{name:"sniffing",checked:d.sniffing,onChange:s=>b({name:"sniffing",value:s})})})]})]}),n("div",{className:i.sep,children:n("div",{})}),m.meta&&c(ye,{children:[m.premium||c("div",{children:[c("div",{className:i.section,children:[c("div",{children:[n("div",{className:i.label,children:r("enable_tun_device")}),n("div",{className:i.wrapSwitch,children:n(N,{checked:(W=d.tun)==null?void 0:W.enable,onChange:s=>b({name:"enable",value:s})})})]}),c("div",{children:[n("div",{className:i.label,children:"TUN IP Stack"}),n(k,{options:tt,selected:(U=(B=d.tun)==null?void 0:B.stack)==null?void 0:U.toLowerCase(),onChange:s=>b({name:"stack",value:s.target.value})})]}),c("div",{children:[n("div",{className:i.label,children:"Device Name"}),n(S,{name:"device name",value:(A=d.tun)==null?void 0:A.device,onChange:w})]}),c("div",{children:[n("div",{className:i.label,children:"Interface Name"}),n(S,{name:"interface name",value:d["interface-name"]||"",onChange:w})]})]}),n("div",{className:i.sep,children:n("div",{})})]}),c("div",{className:i.section,children:[c("div",{children:[n("div",{className:i.label,children:"Reload"}),n(y,{start:n(P,{size:16}),label:r("reload_config_file"),onClick:Z})]}),m.meta&&!m.premium&&c("div",{children:[n("div",{className:i.label,children:"GEO Databases"}),n(y,{start:n(Se,{size:16}),label:r("update_geo_databases_file"),onClick:ne})]}),c("div",{children:[n("div",{className:i.label,children:"FakeIP"}),n(y,{start:n(Ee,{size:16}),label:r("flush_fake_ip_pool"),onClick:ae})]}),m.meta&&!m.premium&&c("div",{children:[n("div",{className:i.label,children:"Restart"}),n(y,{start:n(P,{size:16}),label:r("restart_core"),onClick:ee})]}),m.meta&&!m.premium&&c("div",{children:[n("div",{className:i.label,children:"⚠️ Upgrade ⚠️"}),n(y,{start:n(P,{size:16}),label:r("upgrade_core"),onClick:te})]})]}),n("div",{className:i.sep,children:n("div",{})})]}),c("div",{className:i.section,children:[c("div",{children:[n("div",{className:i.label,children:r("latency_test_url")}),n(Oe,{name:"latencyTestUrl",type:"text",value:a,onBlur:w})]}),c("div",{children:[n("div",{className:i.label,children:r("lang")}),n("div",{children:n(k,{options:Ze,selected:p.language,onChange:s=>p.changeLanguage(s.target.value)})})]}),c("div",{children:[n("div",{className:i.label,children:r("chart_style")}),n(Ue,{OptionComponent:Je,optionPropsList:qe,selectedIndex:l,onChange:Y})]}),c("div",{children:[c("div",{className:i.label,children:[r("current_backend"),n("p",{children:ot(m)+(t==null?void 0:t.baseURL)})]}),n("div",{className:i.label,children:"Action"}),n(y,{start:n(Ie,{size:16}),label:r("switch_backend"),onClick:X})]})]})]})}export{ht as default}; diff --git a/wrt/files/webui/assets/Connections-2b49f1fb.css b/wrt/files/webui/assets/Connections-2b49f1fb.css new file mode 100644 index 0000000..ce25575 --- /dev/null +++ b/wrt/files/webui/assets/Connections-2b49f1fb.css @@ -0,0 +1 @@ +@charset "UTF-8";.react-tabs{-webkit-tap-highlight-color:transparent}.react-tabs__tab-list{margin:0;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:var(--color-focus-blue);outline:none}.react-tabs__tab:focus:after{content:"";position:absolute}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}._btn_lzu00_1{margin-right:10px}._placeHolder_1vhnb_1{margin-top:20%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--color-background);opacity:.1}@media (max-width: 768px){._placeHolder_1vhnb_1{margin-top:35%}}._connQty_1vhnb_16{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_1vhnb_28{display:grid;grid-template-columns:1fr minmax(auto,290px);align-items:center;padding-right:15px}@media (--breakpoint-not-small){._header_1vhnb_28{padding-right:25px}}._inputWrapper_1vhnb_44{margin:0;width:100%;max-width:350px;justify-self:flex-end}@media (--breakpoint-not-small){._inputWrapper_1vhnb_44{margin:0 25px}}._input_1vhnb_44{-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:var(--color-text-secondary);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%}.connections-table td.ctrl{min-width:4em;text-align:center;display:flex;justify-content:center;align-items:center}.connections-table td.ctrl svg{height:16px}.connections-table td.type,.connections-table td.start,.connections-table td.downloadSpeedCurr,.connections-table td.uploadSpeedCurr,.connections-table td.download,.connections-table td.upload{min-width:7em;text-align:center}._th_12ddc_6{height:50px;background:var(--color-background);top:0;font-size:1em;-webkit-user-select:none;-ms-user-select:none;user-select:none;text-align:center}._th_12ddc_6:hover{color:var(--color-text-highlight)}._btnSection_12ddc_18 button{margin-right:15px}._break_12ddc_22{word-wrap:break-word;word-break:break-all;align-items:center;text-align:left}._td_12ddc_29{padding:10px 5px;font-size:.9em;min-width:9em;cursor:default;text-align:left;vertical-align:middle;white-space:nowrap;font-family:var(--font-normal)}._td_12ddc_29:hover{color:var(--color-text-highlight)}._overlay_12ddc_44{background:#444}._modal_12ddc_48{background-color:var(--bg-modal)}._table_12ddc_52{border-collapse:collapse}._td_12ddc_29._odd_12ddc_56{background:var(--color-row-odd)}._center_12ddc_61{min-width:7em;text-align:center}._sortIconContainer_12ddc_66{float:right;width:1em;height:1em}._rotate180_12ddc_72{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._overlay_1cbjw_1{background-color:#0009}._cnt_1cbjw_5{background-color:var(--bg-modal);color:var(--color-text);max-width:300px;line-height:1.4;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:.6;transition:all .3s ease}._afterOpen_1cbjw_15{opacity:1;-webkit-transform:scale(1);transform:scale(1)}._btngrp_1cbjw_20{display:flex;align-items:center;justify-content:center;margin-top:30px}._columnManagerRow_e56pa_1{width:200px;display:flex;margin:5px 0;align-items:center}._columnManagerRow_e56pa_1 ._columnManageLabel_e56pa_7{flex:1;margin-left:10px}._columnManagerRow_e56pa_1 ._columnManageSwitch_e56pa_11{-webkit-transform:scale(.7);transform:scale(.7);height:20px;display:flex;align-items:center}._sourceipTable_2lem6_1 input{width:120px}._iptableTipContainer_2lem6_5{width:300px} diff --git a/wrt/files/webui/assets/Connections-ac8a4ae7.js b/wrt/files/webui/assets/Connections-ac8a4ae7.js new file mode 100644 index 0000000..587fbc3 --- /dev/null +++ b/wrt/files/webui/assets/Connections-ac8a4ae7.js @@ -0,0 +1,68 @@ +import{r as G,R as ee,p as Ne,c as Ir,a as Pu,u as it,m as Oo,j as Re,M as Ru,b as U,B as Tt,d as Li,e as Wi,f as Ao,g as Gi,_ as Du,h as ne,i as Eu,k as ki,l as Bu,S as Ou,n as Au,o as Tu,C as Mu,I as To,q as Nu}from"./index-3a58cb87.js";import{S as Fu}from"./Select-0e7ed95b.js";import{u as Lu}from"./useRemainingViewPortHeight-1c35aab5.js";import{C as Wu,B as $i}from"./BaseModal-ab8cd8e0.js";import{r as Hi,t as Gu,g as ku,b as Wr,a as gr,c as zi,d as mr,f as $u,e as Hu}from"./index-84fa0cb3.js";import{I as kn}from"./Input-4a412620.js";import{_ as Mt}from"./objectWithoutPropertiesLoose-4f48578a.js";import{F as Mo,p as No,A as Br}from"./Fab-12e96042.js";import{P as zu,a as ju}from"./play-c7b83a10.js";function $n(){return $n=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function Uu(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i=0)&&(t[o]=e[o]);return t}var na=G.forwardRef(function(e,r){var t=e.color,n=t===void 0?"currentColor":t,o=e.size,i=o===void 0?24:o,l=Vu(e,["color","size"]);return ee.createElement("svg",$n({ref:r,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),ee.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),ee.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),ee.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18"}))});na.propTypes={color:Ne.string,size:Ne.oneOfType([Ne.string,Ne.number])};na.displayName="Menu";const qu=na;function Hn(){return Hn=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function Xu(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i=0)&&(t[o]=e[o]);return t}var aa=G.forwardRef(function(e,r){var t=e.color,n=t===void 0?"currentColor":t,o=e.size,i=o===void 0?24:o,l=_u(e,["color","size"]);return ee.createElement("svg",Hn({ref:r,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),ee.createElement("polyline",{points:"1 4 1 10 7 10"}),ee.createElement("polyline",{points:"23 20 23 14 17 14"}),ee.createElement("path",{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}))});aa.propTypes={color:Ne.string,size:Ne.oneOfType([Ne.string,Ne.number])};aa.displayName="RefreshCcw";const Fo=aa;function zn(){return zn=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function Yu(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i=0)&&(t[o]=e[o]);return t}var oa=G.forwardRef(function(e,r){var t=e.color,n=t===void 0?"currentColor":t,o=e.size,i=o===void 0?24:o,l=Ku(e,["color","size"]);return ee.createElement("svg",zn({ref:r,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),ee.createElement("circle",{cx:"12",cy:"12",r:"3"}),ee.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))});oa.propTypes={color:Ne.string,size:Ne.oneOfType([Ne.string,Ne.number])};oa.displayName="Settings";const Lo=oa;function jn(){return jn=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function Qu(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i=0)&&(t[o]=e[o]);return t}var ia=G.forwardRef(function(e,r){var t=e.color,n=t===void 0?"currentColor":t,o=e.size,i=o===void 0?24:o,l=Ju(e,["color","size"]);return ee.createElement("svg",jn({ref:r,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),ee.createElement("path",{d:"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"}),ee.createElement("line",{x1:"7",y1:"7",x2:"7.01",y2:"7"}))});ia.propTypes={color:Ne.string,size:Ne.oneOfType([Ne.string,Ne.number])};ia.displayName="Tag";const Wo=ia;function Vn(){return Vn=Object.assign||function(e){for(var r=1;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function ec(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i=0)&&(t[o]=e[o]);return t}var la=G.forwardRef(function(e,r){var t=e.color,n=t===void 0?"currentColor":t,o=e.size,i=o===void 0?24:o,l=Zu(e,["color","size"]);return ee.createElement("svg",Vn({ref:r,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l),ee.createElement("circle",{cx:"12",cy:"12",r:"10"}),ee.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),ee.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15"}))});la.propTypes={color:Ne.string,size:Ne.oneOfType([Ne.string,Ne.number])};la.displayName="XCircle";const rc=la;function sa(e){return r=>!!r.type&&r.type.tabsRole===e}const Ut=sa("Tab"),ua=sa("TabList"),ca=sa("TabPanel");function tc(e){return Ut(e)||ua(e)||ca(e)}function Un(e,r){return G.Children.map(e,t=>t===null?null:tc(t)?r(t):t.props&&t.props.children&&typeof t.props.children=="object"?G.cloneElement(t,{...t.props,children:Un(t.props.children,r)}):t)}function ji(e,r){return G.Children.forEach(e,t=>{t!==null&&(Ut(t)||ca(t)?r(t):t.props&&t.props.children&&typeof t.props.children=="object"&&(ua(t)&&r(t),ji(t.props.children,r)))})}function Vi(e){let r=0;return ji(e,t=>{Ut(t)&&r++}),r}function Ui(e){return e&&"getAttribute"in e}function Go(e){return Ui(e)&&e.getAttribute("data-rttab")}function Or(e){return Ui(e)&&e.getAttribute("aria-disabled")==="true"}let Nt;function nc(e){const r=e||(typeof window<"u"?window:void 0);try{Nt=!!(typeof r<"u"&&r.document&&r.document.activeElement)}catch{Nt=!1}}const ac={className:"react-tabs",focus:!1},da=e=>{let r=G.useRef([]),t=G.useRef([]);const n=G.useRef();function o(H,V){if(H<0||H>=u())return;const{onSelect:se,selectedIndex:Ie}=e;se(H,Ie,V)}function i(H){const V=u();for(let se=H+1;seH;)if(!Or(m(V)))return V;return H}function s(){const H=u();for(let V=0;V{let Ae=Ve;if(ua(Ve)){let We=0,cr=!1;Nt==null&&nc(Oe);const nr=Oe||(typeof window<"u"?window:void 0);Nt&&nr&&(cr=ee.Children.toArray(Ve.props.children).filter(Ut).some((dr,Ke)=>nr.document.activeElement===m(Ke))),Ae=G.cloneElement(Ve,{children:Un(Ve.props.children,dr=>{const Ke=`tabs-${We}`,xe=we===We,Ue={tabRef:vr=>{r.current[Ke]=vr},id:t.current[We],selected:xe,focus:xe&&(Ie||cr)};return Ee&&(Ue.selectedClassName=Ee),se&&(Ue.disabledClassName=se),We++,G.cloneElement(dr,Ue)})})}else if(ca(Ve)){const We={id:t.current[H],selected:we===H};Se&&(We.forceRender=Se),De&&(We.selectedClassName=De),H++,Ae=G.cloneElement(Ve,We)}return Ae})}function p(H){const{direction:V,disableUpDownKeys:se,disableLeftRightKeys:Ie}=e;if(C(H.target)){let{selectedIndex:Se}=e,we=!1,Ee=!1;(H.code==="Space"||H.keyCode===32||H.code==="Enter"||H.keyCode===13)&&(we=!0,Ee=!1,b(H)),!Ie&&(H.keyCode===37||H.code==="ArrowLeft")||!se&&(H.keyCode===38||H.code==="ArrowUp")?(V==="rtl"?Se=i(Se):Se=l(Se),we=!0,Ee=!0):!Ie&&(H.keyCode===39||H.code==="ArrowRight")||!se&&(H.keyCode===40||H.code==="ArrowDown")?(V==="rtl"?Se=l(Se):Se=i(Se),we=!0,Ee=!0):H.keyCode===35||H.code==="End"?(Se=f(),we=!0,Ee=!0):(H.keyCode===36||H.code==="Home")&&(Se=s(),we=!0,Ee=!0),we&&H.preventDefault(),Ee&&o(Se,H)}}function b(H){let V=H.target;do if(C(V)){if(Or(V))return;const se=[].slice.call(V.parentNode.children).filter(Go).indexOf(V);o(se,H);return}while((V=V.parentNode)!=null)}function C(H){if(!Go(H))return!1;let V=H.parentElement;do{if(V===n.current)return!0;if(V.getAttribute("data-rttabs"))break;V=V.parentElement}while(V);return!1}const{children:S,className:P,disabledTabClassName:D,domRef:B,focus:O,forceRenderTabPanel:A,onSelect:k,selectedIndex:j,selectedTabClassName:J,selectedTabPanelClassName:fe,environment:le,disableUpDownKeys:be,disableLeftRightKeys:pe,...Le}=e;return ee.createElement("div",Object.assign({},Le,{className:Ir(P),onClick:b,onKeyDown:p,ref:H=>{n.current=H,B&&B(H)},"data-rttabs":!0}),g())};da.defaultProps=ac;da.propTypes={};const oc=0,Ot=1,ic={defaultFocus:!1,focusTabOnClick:!0,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1,disableLeftRightKeys:!1},lc=e=>e.selectedIndex===null?Ot:oc,qt=e=>{const{children:r,defaultFocus:t,defaultIndex:n,focusTabOnClick:o,onSelect:i}=e,[l,s]=G.useState(t),[f]=G.useState(lc(e)),[u,m]=G.useState(f===Ot?n||0:null);if(G.useEffect(()=>{s(!1)},[]),f===Ot){const b=Vi(r);G.useEffect(()=>{if(u!=null){const C=Math.max(0,b-1);m(Math.min(u,C))}},[b])}const g=(b,C,S)=>{typeof i=="function"&&i(b,C,S)===!1||(o&&s(!0),f===Ot&&m(b))};let p={...e};return p.focus=l,p.onSelect=g,u!=null&&(p.selectedIndex=u),delete p.defaultFocus,delete p.defaultIndex,delete p.focusTabOnClick,ee.createElement(da,p,r)};qt.propTypes={};qt.defaultProps=ic;qt.tabsRole="Tabs";const sc={className:"react-tabs__tab-list"},_t=e=>{const{children:r,className:t,...n}=e;return ee.createElement("ul",Object.assign({},n,{className:Ir(t),role:"tablist"}),r)};_t.tabsRole="TabList";_t.propTypes={};_t.defaultProps=sc;const xn="react-tabs__tab",uc={className:xn,disabledClassName:`${xn}--disabled`,focus:!1,id:null,selected:!1,selectedClassName:`${xn}--selected`},Zr=e=>{let r=G.useRef();const{children:t,className:n,disabled:o,disabledClassName:i,focus:l,id:s,selected:f,selectedClassName:u,tabIndex:m,tabRef:g,...p}=e;return G.useEffect(()=>{f&&l&&r.current.focus()},[f,l]),ee.createElement("li",Object.assign({},p,{className:Ir(n,{[u]:f,[i]:o}),ref:b=>{r.current=b,g&&g(b)},role:"tab",id:`tab${s}`,"aria-selected":f?"true":"false","aria-disabled":o?"true":"false","aria-controls":`panel${s}`,tabIndex:m||(f?"0":null),"data-rttab":!0}),t)};Zr.propTypes={};Zr.tabsRole="Tab";Zr.defaultProps=uc;const ko="react-tabs__tab-panel",cc={className:ko,forceRender:!1,selectedClassName:`${ko}--selected`},et=e=>{const{children:r,className:t,forceRender:n,id:o,selected:i,selectedClassName:l,...s}=e;return ee.createElement("div",Object.assign({},s,{className:Ir(t,{[l]:i}),role:"tabpanel",id:`panel${o}`,"aria-labelledby":`tab${o}`}),n||i?r:null)};et.tabsRole="TabPanel";et.propTypes={};et.defaultProps=cc;const dc="_placeHolder_1vhnb_1",fc="_connQty_1vhnb_16",pc="_header_1vhnb_28",vc="_inputWrapper_1vhnb_44",gc="_input_1vhnb_44",Lr={placeHolder:dc,connQty:fc,header:pc,inputWrapper:vc,input:gc};function mc(e){if(e===null||e===!0||e===!1)return NaN;var r=Number(e);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}function $o(e,r){var t,n,o,i,l,s,f,u;Hi(1,arguments);var m=ku(),g=mc((t=(n=(o=(i=r==null?void 0:r.weekStartsOn)!==null&&i!==void 0?i:r==null||(l=r.locale)===null||l===void 0||(s=l.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&o!==void 0?o:m.weekStartsOn)!==null&&n!==void 0?n:(f=m.locale)===null||f===void 0||(u=f.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&t!==void 0?t:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Gu(e),b=p.getUTCDay(),C=(b0?o+"内":o+"前":o};const wc=yc;var Cc={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Sc={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},xc={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ic={date:Wr({formats:Cc,defaultWidth:"full"}),time:Wr({formats:Sc,defaultWidth:"full"}),dateTime:Wr({formats:xc,defaultWidth:"full"})};const Pc=Ic;function Ho(e,r,t){var n="eeee p";return hc(e,r,t)?n:e.getTime()>r.getTime()?"'下个'"+n:"'上个'"+n}var Rc={lastWeek:Ho,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:Ho,other:"PP p"},Dc=function(r,t,n,o){var i=Rc[r];return typeof i=="function"?i(t,n,o):i};const Ec=Dc;var Bc={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Oc={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},Ac={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Tc={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Mc={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Nc={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Fc=function(r,t){var n=Number(r);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},Lc={ordinalNumber:Fc,era:gr({values:Bc,defaultWidth:"wide"}),quarter:gr({values:Oc,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:gr({values:Ac,defaultWidth:"wide"}),day:gr({values:Tc,defaultWidth:"wide"}),dayPeriod:gr({values:Mc,defaultWidth:"wide",formattingValues:Nc,defaultFormattingWidth:"wide"})};const Wc=Lc;var Gc=/^(第\s*)?\d+(日|时|分|秒)?/i,kc=/\d+/i,$c={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Hc={any:[/^(前)/i,/^(公元)/i]},zc={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},jc={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Vc={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Uc={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},qc={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},_c={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Xc={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Kc={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Yc={ordinalNumber:zi({matchPattern:Gc,parsePattern:kc,valueCallback:function(r){return parseInt(r,10)}}),era:mr({matchPatterns:$c,defaultMatchWidth:"wide",parsePatterns:Hc,defaultParseWidth:"any"}),quarter:mr({matchPatterns:zc,defaultMatchWidth:"wide",parsePatterns:jc,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:mr({matchPatterns:Vc,defaultMatchWidth:"wide",parsePatterns:Uc,defaultParseWidth:"any"}),day:mr({matchPatterns:qc,defaultMatchWidth:"wide",parsePatterns:_c,defaultParseWidth:"any"}),dayPeriod:mr({matchPatterns:Xc,defaultMatchWidth:"any",parsePatterns:Kc,defaultParseWidth:"any"})};const Jc=Yc;var Qc={code:"zh-CN",formatDistance:wc,formatLong:Pc,formatRelative:Ec,localize:Wc,match:Jc,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Zc=Qc;var ed={lessThanXSeconds:{one:"少於 1 秒",other:"少於 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分鐘",lessThanXMinutes:{one:"少於 1 分鐘",other:"少於 {{count}} 分鐘"},xMinutes:{one:"1 分鐘",other:"{{count}} 分鐘"},xHours:{one:"1 小時",other:"{{count}} 小時"},aboutXHours:{one:"大約 1 小時",other:"大約 {{count}} 小時"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大約 1 個星期",other:"大約 {{count}} 個星期"},xWeeks:{one:"1 個星期",other:"{{count}} 個星期"},aboutXMonths:{one:"大約 1 個月",other:"大約 {{count}} 個月"},xMonths:{one:"1 個月",other:"{{count}} 個月"},aboutXYears:{one:"大約 1 年",other:"大約 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超過 1 年",other:"超過 {{count}} 年"},almostXYears:{one:"將近 1 年",other:"將近 {{count}} 年"}},rd=function(r,t,n){var o,i=ed[r];return typeof i=="string"?o=i:t===1?o=i.one:o=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?o+"內":o+"前":o};const td=rd;var nd={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ad={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},od={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},id={date:Wr({formats:nd,defaultWidth:"full"}),time:Wr({formats:ad,defaultWidth:"full"}),dateTime:Wr({formats:od,defaultWidth:"full"})};const ld=id;var sd={lastWeek:"'上個'eeee p",yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:"'下個'eeee p",other:"P"},ud=function(r,t,n,o){return sd[r]};const cd=ud;var dd={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},fd={narrow:["1","2","3","4"],abbreviated:["第一刻","第二刻","第三刻","第四刻"],wide:["第一刻鐘","第二刻鐘","第三刻鐘","第四刻鐘"]},pd={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},vd={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["週日","週一","週二","週三","週四","週五","週六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},gd={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},md={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜間"}},hd=function(r,t){var n=Number(r);switch(t==null?void 0:t.unit){case"date":return n+"日";case"hour":return n+"時";case"minute":return n+"分";case"second":return n+"秒";default:return"第 "+n}},bd={ordinalNumber:hd,era:gr({values:dd,defaultWidth:"wide"}),quarter:gr({values:fd,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:gr({values:pd,defaultWidth:"wide"}),day:gr({values:vd,defaultWidth:"wide"}),dayPeriod:gr({values:gd,defaultWidth:"wide",formattingValues:md,defaultFormattingWidth:"wide"})};const yd=bd;var wd=/^(第\s*)?\d+(日|時|分|秒)?/i,Cd=/\d+/i,Sd={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},xd={any:[/^(前)/i,/^(公元)/i]},Id={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻鐘/i},Pd={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Rd={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Dd={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Ed={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},Bd={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Od={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},Ad={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Td={ordinalNumber:zi({matchPattern:wd,parsePattern:Cd,valueCallback:function(r){return parseInt(r,10)}}),era:mr({matchPatterns:Sd,defaultMatchWidth:"wide",parsePatterns:xd,defaultParseWidth:"any"}),quarter:mr({matchPatterns:Id,defaultMatchWidth:"wide",parsePatterns:Pd,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:mr({matchPatterns:Rd,defaultMatchWidth:"wide",parsePatterns:Dd,defaultParseWidth:"any"}),day:mr({matchPatterns:Ed,defaultMatchWidth:"wide",parsePatterns:Bd,defaultParseWidth:"any"}),dayPeriod:mr({matchPatterns:Od,defaultMatchWidth:"any",parsePatterns:Ad,defaultParseWidth:"any"})};const Md=Td;var Nd={code:"zh-TW",formatDistance:td,formatLong:ld,formatRelative:cd,localize:yd,match:Md,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Fd=Nd;var Ft={},Ld={get exports(){return Ft},set exports(e){Ft=e}},Lt={},Wd={get exports(){return Lt},set exports(e){Lt=e}};(function(e,r){(function(t,n){n(r,G)})(Pu,function(t,n){function o(a,c,d,v,y,h,w){try{var x=a[h](w),I=x.value}catch(R){return void d(R)}x.done?c(I):Promise.resolve(I).then(v,y)}function i(a){return function(){var c=this,d=arguments;return new Promise(function(v,y){var h=a.apply(c,d);function w(I){o(h,v,y,w,x,"next",I)}function x(I){o(h,v,y,w,x,"throw",I)}w(void 0)})}}function l(){return(l=Object.assign||function(a){for(var c=1;c=0||(y[d]=a[d]);return y}function f(a){var c=function(d,v){if(typeof d!="object"||d===null)return d;var y=d[Symbol.toPrimitive];if(y!==void 0){var h=y.call(d,v||"default");if(typeof h!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(d)}(a,"string");return typeof c=="symbol"?c:String(c)}n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var u={init:"init"},m=function(a){var c=a.value;return c===void 0?"":c},g=function(){return n.createElement(n.Fragment,null," ")},p={Cell:m,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function b(){for(var a=arguments.length,c=new Array(a),d=0;d(h=typeof h=="number"?h:1/0)){var w=y;y=h,h=w}return a.filter(function(x){return c.some(function(I){var R=x.values[I];return R>=y&&R<=h})})};Za.autoRemove=function(a){return!a||typeof a[0]!="number"&&typeof a[1]!="number"};var qr=Object.freeze({__proto__:null,text:Va,exactText:Ua,exactTextCase:qa,includes:_a,includesAll:Xa,includesSome:Ka,includesValue:Ya,exact:Ja,equals:Qa,between:Za});u.resetFilters="resetFilters",u.setFilter="setFilter",u.setAllFilters="setAllFilters";var eo=function(a){a.stateReducers.push(ys),a.useInstance.push(ws)};function ys(a,c,d,v){if(c.type===u.init)return l({filters:[]},a);if(c.type===u.resetFilters)return l({},a,{filters:v.initialState.filters||[]});if(c.type===u.setFilter){var y=c.columnId,h=c.filterValue,w=v.allColumns,x=v.filterTypes,I=w.find(function($){return $.id===y});if(!I)throw new Error("React-Table: Could not find a column with id: "+y);var R=we(I.filter,x||{},qr),F=a.filters.find(function($){return $.id===y}),T=B(h,F&&F.value);return Ee(R.autoRemove,T,I)?l({},a,{filters:a.filters.filter(function($){return $.id!==y})}):l({},a,F?{filters:a.filters.map(function($){return $.id===y?{id:y,value:T}:$})}:{filters:[].concat(a.filters,[{id:y,value:T}])})}if(c.type===u.setAllFilters){var M=c.filters,E=v.allColumns,N=v.filterTypes;return l({},a,{filters:B(M,a.filters).filter(function($){var z=E.find(function(X){return X.id===$.id});return!Ee(we(z.filter,N||{},qr).autoRemove,$.value,z)})})}}function ws(a){var c=a.data,d=a.rows,v=a.flatRows,y=a.rowsById,h=a.allColumns,w=a.filterTypes,x=a.manualFilters,I=a.defaultCanFilter,R=I!==void 0&&I,F=a.disableFilters,T=a.state.filters,M=a.dispatch,E=a.autoResetFilters,N=E===void 0||E,$=n.useCallback(function(q,te){M({type:u.setFilter,columnId:q,filterValue:te})},[M]),z=n.useCallback(function(q){M({type:u.setAllFilters,filters:q})},[M]);h.forEach(function(q){var te=q.id,ue=q.accessor,Q=q.defaultCanFilter,re=q.disableFilters;q.canFilter=ue?V(re!==!0&&void 0,F!==!0&&void 0,!0):V(Q,R,!1),q.setFilter=function(ae){return $(q.id,ae)};var ge=T.find(function(ae){return ae.id===te});q.filterValue=ge&&ge.value});var X=n.useMemo(function(){if(x||!T.length)return[d,v,y];var q=[],te={};return[function ue(Q,re){re===void 0&&(re=0);var ge=Q;return(ge=T.reduce(function(ae,ve){var de=ve.id,ye=ve.value,K=h.find(function(Be){return Be.id===de});if(!K)return ae;re===0&&(K.preFilteredRows=ae);var ce=we(K.filter,w||{},qr);return ce?(K.filteredRows=ce(ae,[de],ye),K.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+K.id+"."),ae)},Q)).forEach(function(ae){q.push(ae),te[ae.id]=ae,ae.subRows&&(ae.subRows=ae.subRows&&ae.subRows.length>0?ue(ae.subRows,re+1):ae.subRows)}),ge}(d),q,te]},[x,T,d,v,y,h,w]),ie=X[0],_=X[1],L=X[2];n.useMemo(function(){h.filter(function(q){return!T.find(function(te){return te.id===q.id})}).forEach(function(q){q.preFilteredRows=ie,q.filteredRows=ie})},[ie,T,h]);var oe=O(N);k(function(){oe()&&M({type:u.resetFilters})},[M,x?null:c]),Object.assign(a,{preFilteredRows:d,preFilteredFlatRows:v,preFilteredRowsById:y,filteredRows:ie,filteredFlatRows:_,filteredRowsById:L,rows:ie,flatRows:_,rowsById:L,setFilter:$,setAllFilters:z})}eo.pluginName="useFilters",u.resetGlobalFilter="resetGlobalFilter",u.setGlobalFilter="setGlobalFilter";var ro=function(a){a.stateReducers.push(Cs),a.useInstance.push(Ss)};function Cs(a,c,d,v){if(c.type===u.resetGlobalFilter)return l({},a,{globalFilter:v.initialState.globalFilter||void 0});if(c.type===u.setGlobalFilter){var y=c.filterValue,h=v.userFilterTypes,w=we(v.globalFilter,h||{},qr),x=B(y,a.globalFilter);return Ee(w.autoRemove,x)?(a.globalFilter,s(a,["globalFilter"])):l({},a,{globalFilter:x})}}function Ss(a){var c=a.data,d=a.rows,v=a.flatRows,y=a.rowsById,h=a.allColumns,w=a.filterTypes,x=a.globalFilter,I=a.manualGlobalFilter,R=a.state.globalFilter,F=a.dispatch,T=a.autoResetGlobalFilter,M=T===void 0||T,E=a.disableGlobalFilter,N=n.useCallback(function(L){F({type:u.setGlobalFilter,filterValue:L})},[F]),$=n.useMemo(function(){if(I||R===void 0)return[d,v,y];var L=[],oe={},q=we(x,w||{},qr);if(!q)return console.warn("Could not find a valid 'globalFilter' option."),d;h.forEach(function(ue){var Q=ue.disableGlobalFilter;ue.canFilter=V(Q!==!0&&void 0,E!==!0&&void 0,!0)});var te=h.filter(function(ue){return ue.canFilter===!0});return[function ue(Q){return(Q=q(Q,te.map(function(re){return re.id}),R)).forEach(function(re){L.push(re),oe[re.id]=re,re.subRows=re.subRows&&re.subRows.length?ue(re.subRows):re.subRows}),Q}(d),L,oe]},[I,R,x,w,h,d,v,y,E]),z=$[0],X=$[1],ie=$[2],_=O(M);k(function(){_()&&F({type:u.resetGlobalFilter})},[F,I?null:c]),Object.assign(a,{preGlobalFilteredRows:d,preGlobalFilteredFlatRows:v,preGlobalFilteredRowsById:y,globalFilteredRows:z,globalFilteredFlatRows:X,globalFilteredRowsById:ie,rows:z,flatRows:X,rowsById:ie,setGlobalFilter:N,disableGlobalFilter:E})}function to(a,c){return c.reduce(function(d,v){return d+(typeof v=="number"?v:0)},0)}ro.pluginName="useGlobalFilter";var no=Object.freeze({__proto__:null,sum:to,min:function(a){var c=a[0]||0;return a.forEach(function(d){typeof d=="number"&&(c=Math.min(c,d))}),c},max:function(a){var c=a[0]||0;return a.forEach(function(d){typeof d=="number"&&(c=Math.max(c,d))}),c},minMax:function(a){var c=a[0]||0,d=a[0]||0;return a.forEach(function(v){typeof v=="number"&&(c=Math.min(c,v),d=Math.max(d,v))}),c+".."+d},average:function(a){return to(0,a)/a.length},median:function(a){if(!a.length)return null;var c=Math.floor(a.length/2),d=[].concat(a).sort(function(v,y){return v-y});return a.length%2!=0?d[c]:(d[c-1]+d[c])/2},unique:function(a){return Array.from(new Set(a).values())},uniqueCount:function(a){return new Set(a).size},count:function(a){return a.length}}),xs=[],Is={};u.resetGroupBy="resetGroupBy",u.setGroupBy="setGroupBy",u.toggleGroupBy="toggleGroupBy";var ao=function(a){a.getGroupByToggleProps=[Ps],a.stateReducers.push(Rs),a.visibleColumnsDeps.push(function(c,d){var v=d.instance;return[].concat(c,[v.state.groupBy])}),a.visibleColumns.push(Ds),a.useInstance.push(Bs),a.prepareRow.push(Os)};ao.pluginName="useGroupBy";var Ps=function(a,c){var d=c.header;return[a,{onClick:d.canGroupBy?function(v){v.persist(),d.toggleGroupBy()}:void 0,style:{cursor:d.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Rs(a,c,d,v){if(c.type===u.init)return l({groupBy:[]},a);if(c.type===u.resetGroupBy)return l({},a,{groupBy:v.initialState.groupBy||[]});if(c.type===u.setGroupBy)return l({},a,{groupBy:c.value});if(c.type===u.toggleGroupBy){var y=c.columnId,h=c.value,w=h!==void 0?h:!a.groupBy.includes(y);return l({},a,w?{groupBy:[].concat(a.groupBy,[y])}:{groupBy:a.groupBy.filter(function(x){return x!==y})})}}function Ds(a,c){var d=c.instance.state.groupBy,v=d.map(function(h){return a.find(function(w){return w.id===h})}).filter(Boolean),y=a.filter(function(h){return!d.includes(h.id)});return(a=[].concat(v,y)).forEach(function(h){h.isGrouped=d.includes(h.id),h.groupedIndex=d.indexOf(h.id)}),a}var Es={};function Bs(a){var c=a.data,d=a.rows,v=a.flatRows,y=a.rowsById,h=a.allColumns,w=a.flatHeaders,x=a.groupByFn,I=x===void 0?oo:x,R=a.manualGroupBy,F=a.aggregations,T=F===void 0?Es:F,M=a.plugins,E=a.state.groupBy,N=a.dispatch,$=a.autoResetGroupBy,z=$===void 0||$,X=a.disableGroupBy,ie=a.defaultCanGroupBy,_=a.getHooks;D(M,["useColumnOrder","useFilters"],"useGroupBy");var L=O(a);h.forEach(function(K){var ce=K.accessor,Be=K.defaultGroupBy,qe=K.disableGroupBy;K.canGroupBy=ce?V(K.canGroupBy,qe!==!0&&void 0,X!==!0&&void 0,!0):V(K.canGroupBy,Be,ie,!1),K.canGroupBy&&(K.toggleGroupBy=function(){return a.toggleGroupBy(K.id)}),K.Aggregated=K.Aggregated||K.Cell});var oe=n.useCallback(function(K,ce){N({type:u.toggleGroupBy,columnId:K,value:ce})},[N]),q=n.useCallback(function(K){N({type:u.setGroupBy,value:K})},[N]);w.forEach(function(K){K.getGroupByToggleProps=C(_().getGroupByToggleProps,{instance:L(),header:K})});var te=n.useMemo(function(){if(R||!E.length)return[d,v,y,xs,Is,v,y];var K=E.filter(function(Ge){return h.find(function(br){return br.id===Ge})}),ce=[],Be={},qe=[],Z={},Pe=[],Te={},_e=function Ge(br,hr,Io){if(hr===void 0&&(hr=0),hr===K.length)return br.map(function(yt){return l({},yt,{depth:hr})});var wn=K[hr],bu=I(br,wn);return Object.entries(bu).map(function(yt,yu){var Po=yt[0],wt=yt[1],Ct=wn+":"+Po,Ro=Ge(wt,hr+1,Ct=Io?Io+">"+Ct:Ct),Do=hr?Ie(wt,"leafRows"):wt,wu=function(or,Cn,Su){var St={};return h.forEach(function(Me){if(K.includes(Me.id))St[Me.id]=Cn[0]?Cn[0].values[Me.id]:null;else{var Eo=typeof Me.aggregate=="function"?Me.aggregate:T[Me.aggregate]||no[Me.aggregate];if(Eo){var xu=Cn.map(function(xt){return xt.values[Me.id]}),Iu=or.map(function(xt){var Sn=xt.values[Me.id];if(!Su&&Me.aggregateValue){var Bo=typeof Me.aggregateValue=="function"?Me.aggregateValue:T[Me.aggregateValue]||no[Me.aggregateValue];if(!Bo)throw console.info({column:Me}),new Error("React Table: Invalid column.aggregateValue option for column listed above");Sn=Bo(Sn,xt,Me)}return Sn});St[Me.id]=Eo(Iu,xu)}else{if(Me.aggregate)throw console.info({column:Me}),new Error("React Table: Invalid column.aggregate option for column listed above");St[Me.id]=null}}}),St}(Do,wt,hr),Cu={id:Ct,isGrouped:!0,groupByID:wn,groupByVal:Po,values:wu,subRows:Ro,leafRows:Do,depth:hr,index:yu};return Ro.forEach(function(or){ce.push(or),Be[or.id]=or,or.isGrouped?(qe.push(or),Z[or.id]=or):(Pe.push(or),Te[or.id]=or)}),Cu})}(d);return _e.forEach(function(Ge){ce.push(Ge),Be[Ge.id]=Ge,Ge.isGrouped?(qe.push(Ge),Z[Ge.id]=Ge):(Pe.push(Ge),Te[Ge.id]=Ge)}),[_e,ce,Be,qe,Z,Pe,Te]},[R,E,d,v,y,h,T,I]),ue=te[0],Q=te[1],re=te[2],ge=te[3],ae=te[4],ve=te[5],de=te[6],ye=O(z);k(function(){ye()&&N({type:u.resetGroupBy})},[N,R?null:c]),Object.assign(a,{preGroupedRows:d,preGroupedFlatRow:v,preGroupedRowsById:y,groupedRows:ue,groupedFlatRows:Q,groupedRowsById:re,onlyGroupedFlatRows:ge,onlyGroupedRowsById:ae,nonGroupedFlatRows:ve,nonGroupedRowsById:de,rows:ue,flatRows:Q,rowsById:re,toggleGroupBy:oe,setGroupBy:q})}function Os(a){a.allCells.forEach(function(c){var d;c.isGrouped=c.column.isGrouped&&c.column.id===a.groupByID,c.isPlaceholder=!c.isGrouped&&c.column.isGrouped,c.isAggregated=!c.isGrouped&&!c.isPlaceholder&&((d=a.subRows)==null?void 0:d.length)})}function oo(a,c){return a.reduce(function(d,v,y){var h=""+v.values[c];return d[h]=Array.isArray(d[h])?d[h]:[],d[h].push(v),d},{})}var io=/([0-9]+)/gm;function vn(a,c){return a===c?0:a>c?1:-1}function _r(a,c,d){return[a.values[d],c.values[d]]}function lo(a){return typeof a=="number"?isNaN(a)||a===1/0||a===-1/0?"":String(a):typeof a=="string"?a:""}var As=Object.freeze({__proto__:null,alphanumeric:function(a,c,d){var v=_r(a,c,d),y=v[0],h=v[1];for(y=lo(y),h=lo(h),y=y.split(io).filter(Boolean),h=h.split(io).filter(Boolean);y.length&&h.length;){var w=y.shift(),x=h.shift(),I=parseInt(w,10),R=parseInt(x,10),F=[I,R].sort();if(isNaN(F[0])){if(w>x)return 1;if(x>w)return-1}else{if(isNaN(F[1]))return isNaN(I)?-1:1;if(I>R)return 1;if(R>I)return-1}}return y.length-h.length},datetime:function(a,c,d){var v=_r(a,c,d),y=v[0],h=v[1];return vn(y=y.getTime(),h=h.getTime())},basic:function(a,c,d){var v=_r(a,c,d);return vn(v[0],v[1])},string:function(a,c,d){var v=_r(a,c,d),y=v[0],h=v[1];for(y=y.split("").filter(Boolean),h=h.split("").filter(Boolean);y.length&&h.length;){var w=y.shift(),x=h.shift(),I=w.toLowerCase(),R=x.toLowerCase();if(I>R)return 1;if(R>I)return-1;if(w>x)return 1;if(x>w)return-1}return y.length-h.length},number:function(a,c,d){var v=_r(a,c,d),y=v[0],h=v[1],w=/[^0-9.]/gi;return vn(y=Number(String(y).replace(w,"")),h=Number(String(h).replace(w,"")))}});u.resetSortBy="resetSortBy",u.setSortBy="setSortBy",u.toggleSortBy="toggleSortBy",u.clearSortBy="clearSortBy",p.sortType="alphanumeric",p.sortDescFirst=!1;var so=function(a){a.getSortByToggleProps=[Ts],a.stateReducers.push(Ms),a.useInstance.push(Ns)};so.pluginName="useSortBy";var Ts=function(a,c){var d=c.instance,v=c.column,y=d.isMultiSortEvent,h=y===void 0?function(w){return w.shiftKey}:y;return[a,{onClick:v.canSort?function(w){w.persist(),v.toggleSortBy(void 0,!d.disableMultiSort&&h(w))}:void 0,style:{cursor:v.canSort?"pointer":void 0},title:v.canSort?"Toggle SortBy":void 0}]};function Ms(a,c,d,v){if(c.type===u.init)return l({sortBy:[]},a);if(c.type===u.resetSortBy)return l({},a,{sortBy:v.initialState.sortBy||[]});if(c.type===u.clearSortBy)return l({},a,{sortBy:a.sortBy.filter(function(L){return L.id!==c.columnId})});if(c.type===u.setSortBy)return l({},a,{sortBy:c.sortBy});if(c.type===u.toggleSortBy){var y,h=c.columnId,w=c.desc,x=c.multi,I=v.allColumns,R=v.disableMultiSort,F=v.disableSortRemove,T=v.disableMultiRemove,M=v.maxMultiSortColCount,E=M===void 0?Number.MAX_SAFE_INTEGER:M,N=a.sortBy,$=I.find(function(L){return L.id===h}).sortDescFirst,z=N.find(function(L){return L.id===h}),X=N.findIndex(function(L){return L.id===h}),ie=w!=null,_=[];return(y=!R&&x?z?"toggle":"add":X!==N.length-1||N.length!==1?"replace":z?"toggle":"replace")!="toggle"||F||ie||x&&T||!(z&&z.desc&&!$||!z.desc&&$)||(y="remove"),y==="replace"?_=[{id:h,desc:ie?w:$}]:y==="add"?(_=[].concat(N,[{id:h,desc:ie?w:$}])).splice(0,_.length-E):y==="toggle"?_=N.map(function(L){return L.id===h?l({},L,{desc:ie?w:!z.desc}):L}):y==="remove"&&(_=N.filter(function(L){return L.id!==h})),l({},a,{sortBy:_})}}function Ns(a){var c=a.data,d=a.rows,v=a.flatRows,y=a.allColumns,h=a.orderByFn,w=h===void 0?uo:h,x=a.sortTypes,I=a.manualSortBy,R=a.defaultCanSort,F=a.disableSortBy,T=a.flatHeaders,M=a.state.sortBy,E=a.dispatch,N=a.plugins,$=a.getHooks,z=a.autoResetSortBy,X=z===void 0||z;D(N,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var ie=n.useCallback(function(Q){E({type:u.setSortBy,sortBy:Q})},[E]),_=n.useCallback(function(Q,re,ge){E({type:u.toggleSortBy,columnId:Q,desc:re,multi:ge})},[E]),L=O(a);T.forEach(function(Q){var re=Q.accessor,ge=Q.canSort,ae=Q.disableSortBy,ve=Q.id,de=re?V(ae!==!0&&void 0,F!==!0&&void 0,!0):V(R,ge,!1);Q.canSort=de,Q.canSort&&(Q.toggleSortBy=function(K,ce){return _(Q.id,K,ce)},Q.clearSortBy=function(){E({type:u.clearSortBy,columnId:Q.id})}),Q.getSortByToggleProps=C($().getSortByToggleProps,{instance:L(),column:Q});var ye=M.find(function(K){return K.id===ve});Q.isSorted=!!ye,Q.sortedIndex=M.findIndex(function(K){return K.id===ve}),Q.isSortedDesc=Q.isSorted?ye.desc:void 0});var oe=n.useMemo(function(){if(I||!M.length)return[d,v];var Q=[],re=M.filter(function(ge){return y.find(function(ae){return ae.id===ge.id})});return[function ge(ae){var ve=w(ae,re.map(function(de){var ye=y.find(function(Be){return Be.id===de.id});if(!ye)throw new Error("React-Table: Could not find a column with id: "+de.id+" while sorting");var K=ye.sortType,ce=se(K)||(x||{})[K]||As[K];if(!ce)throw new Error("React-Table: Could not find a valid sortType of '"+K+"' for column '"+de.id+"'.");return function(Be,qe){return ce(Be,qe,de.id,de.desc)}}),re.map(function(de){var ye=y.find(function(K){return K.id===de.id});return ye&&ye.sortInverted?de.desc:!de.desc}));return ve.forEach(function(de){Q.push(de),de.subRows&&de.subRows.length!==0&&(de.subRows=ge(de.subRows))}),ve}(d),Q]},[I,M,d,v,y,w,x]),q=oe[0],te=oe[1],ue=O(X);k(function(){ue()&&E({type:u.resetSortBy})},[I?null:c]),Object.assign(a,{preSortedRows:d,preSortedFlatRows:v,sortedRows:q,sortedFlatRows:te,rows:q,flatRows:te,setSortBy:ie,toggleSortBy:_})}function uo(a,c,d){return[].concat(a).sort(function(v,y){for(var h=0;ha.pageIndex?x=y===-1?h.length>=a.pageSize:w-1),x?l({},a,{pageIndex:w}):a}if(c.type===u.setPageSize){var I=c.pageSize,R=a.pageSize*a.pageIndex;return l({},a,{pageIndex:Math.floor(R/I),pageSize:I})}}function Ls(a){var c=a.rows,d=a.autoResetPage,v=d===void 0||d,y=a.manualExpandedKey,h=y===void 0?"expanded":y,w=a.plugins,x=a.pageCount,I=a.paginateExpandedRows,R=I===void 0||I,F=a.expandSubRows,T=F===void 0||F,M=a.state,E=M.pageSize,N=M.pageIndex,$=M.expanded,z=M.globalFilter,X=M.filters,ie=M.groupBy,_=M.sortBy,L=a.dispatch,oe=a.data,q=a.manualPagination;D(w,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var te=O(v);k(function(){te()&&L({type:u.resetPage})},[L,q?null:oe,z,X,ie,_]);var ue=q?x:Math.ceil(c.length/E),Q=n.useMemo(function(){return ue>0?[].concat(new Array(ue)).fill(null).map(function(ce,Be){return Be}):[]},[ue]),re=n.useMemo(function(){var ce;if(q)ce=c;else{var Be=E*N,qe=Be+E;ce=c.slice(Be,qe)}return R?ce:Se(ce,{manualExpandedKey:h,expanded:$,expandSubRows:T})},[T,$,h,q,N,E,R,c]),ge=N>0,ae=ue===-1?re.length>=E:N-1&&h.push(y.splice(I,1)[0])};y.length&&v.length;)w();return[].concat(h,y)}function ou(a){var c=a.dispatch;a.setColumnOrder=n.useCallback(function(d){return c({type:u.setColumnOrder,columnOrder:d})},[c])}bo.pluginName="useColumnOrder",p.canResize=!0,u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize";var yo=function(a){a.getResizerProps=[iu],a.getHeaderProps.push({style:{position:"relative"}}),a.stateReducers.push(lu),a.useInstance.push(uu),a.useInstanceBeforeDimensions.push(su)},iu=function(a,c){var d=c.instance,v=c.header,y=d.dispatch,h=function(w,x){var I=!1;if(w.type==="touchstart"){if(w.touches&&w.touches.length>1)return;I=!0}var R,F,T=function(_){var L=[];return function oe(q){q.columns&&q.columns.length&&q.columns.map(oe),L.push(q)}(_),L}(x).map(function(_){return[_.id,_.totalWidth]}),M=I?Math.round(w.touches[0].clientX):w.clientX,E=function(){window.cancelAnimationFrame(R),R=null,y({type:u.columnDoneResizing})},N=function(){window.cancelAnimationFrame(R),R=null,y({type:u.columnResizing,clientX:F})},$=function(_){F=_,R||(R=window.requestAnimationFrame(N))},z={mouse:{moveEvent:"mousemove",moveHandler:function(_){return $(_.clientX)},upEvent:"mouseup",upHandler:function(_){document.removeEventListener("mousemove",z.mouse.moveHandler),document.removeEventListener("mouseup",z.mouse.upHandler),E()}},touch:{moveEvent:"touchmove",moveHandler:function(_){return _.cancelable&&(_.preventDefault(),_.stopPropagation()),$(_.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(_){document.removeEventListener(z.touch.moveEvent,z.touch.moveHandler),document.removeEventListener(z.touch.upEvent,z.touch.moveHandler),E()}}},X=I?z.touch:z.mouse,ie=!!function(){if(typeof Oe=="boolean")return Oe;var _=!1;try{var L={get passive(){return _=!0,!1}};window.addEventListener("test",null,L),window.removeEventListener("test",null,L)}catch{_=!1}return Oe=_}()&&{passive:!1};document.addEventListener(X.moveEvent,X.moveHandler,ie),document.addEventListener(X.upEvent,X.upHandler,ie),y({type:u.columnStartResizing,columnId:x.id,columnWidth:x.totalWidth,headerIdWidths:T,clientX:M})};return[a,{onMouseDown:function(w){return w.persist()||h(w,v)},onTouchStart:function(w){return w.persist()||h(w,v)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function lu(a,c){if(c.type===u.init)return l({columnResizing:{columnWidths:{}}},a);if(c.type===u.resetResize)return l({},a,{columnResizing:{columnWidths:{}}});if(c.type===u.columnStartResizing){var d=c.clientX,v=c.columnId,y=c.columnWidth,h=c.headerIdWidths;return l({},a,{columnResizing:l({},a.columnResizing,{startX:d,headerIdWidths:h,columnWidth:y,isResizingColumn:v})})}if(c.type===u.columnResizing){var w=c.clientX,x=a.columnResizing,I=x.startX,R=x.columnWidth,F=x.headerIdWidths,T=(w-I)/R,M={};return(F===void 0?[]:F).forEach(function(E){var N=E[0],$=E[1];M[N]=Math.max($+$*T,0)}),l({},a,{columnResizing:l({},a.columnResizing,{columnWidths:l({},a.columnResizing.columnWidths,{},M)})})}return c.type===u.columnDoneResizing?l({},a,{columnResizing:l({},a.columnResizing,{startX:null,isResizingColumn:null})}):void 0}yo.pluginName="useResizeColumns";var su=function(a){var c=a.flatHeaders,d=a.disableResizing,v=a.getHooks,y=a.state.columnResizing,h=O(a);c.forEach(function(w){var x=V(w.disableResizing!==!0&&void 0,d!==!0&&void 0,!0);w.canResize=x,w.width=y.columnWidths[w.id]||w.originalWidth||w.width,w.isResizing=y.isResizingColumn===w.id,x&&(w.getResizerProps=C(v().getResizerProps,{instance:h(),header:w}))})};function uu(a){var c=a.plugins,d=a.dispatch,v=a.autoResetResize,y=v===void 0||v,h=a.columns;D(c,["useAbsoluteLayout"],"useResizeColumns");var w=O(y);k(function(){w()&&d({type:u.resetResize})},[h]);var x=n.useCallback(function(){return d({type:u.resetResize})},[d]);Object.assign(a,{resetResizing:x})}var gn={position:"absolute",top:0},wo=function(a){a.getTableBodyProps.push(bt),a.getRowProps.push(bt),a.getHeaderGroupProps.push(bt),a.getFooterGroupProps.push(bt),a.getHeaderProps.push(function(c,d){var v=d.column;return[c,{style:l({},gn,{left:v.totalLeft+"px",width:v.totalWidth+"px"})}]}),a.getCellProps.push(function(c,d){var v=d.cell;return[c,{style:l({},gn,{left:v.column.totalLeft+"px",width:v.column.totalWidth+"px"})}]}),a.getFooterProps.push(function(c,d){var v=d.column;return[c,{style:l({},gn,{left:v.totalLeft+"px",width:v.totalWidth+"px"})}]})};wo.pluginName="useAbsoluteLayout";var bt=function(a,c){return[a,{style:{position:"relative",width:c.instance.totalColumnsWidth+"px"}}]},mn={display:"inline-block",boxSizing:"border-box"},hn=function(a,c){return[a,{style:{display:"flex",width:c.instance.totalColumnsWidth+"px"}}]},Co=function(a){a.getRowProps.push(hn),a.getHeaderGroupProps.push(hn),a.getFooterGroupProps.push(hn),a.getHeaderProps.push(function(c,d){var v=d.column;return[c,{style:l({},mn,{width:v.totalWidth+"px"})}]}),a.getCellProps.push(function(c,d){var v=d.cell;return[c,{style:l({},mn,{width:v.column.totalWidth+"px"})}]}),a.getFooterProps.push(function(c,d){var v=d.column;return[c,{style:l({},mn,{width:v.totalWidth+"px"})}]})};function So(a){a.getTableProps.push(cu),a.getRowProps.push(bn),a.getHeaderGroupProps.push(bn),a.getFooterGroupProps.push(bn),a.getHeaderProps.push(du),a.getCellProps.push(fu),a.getFooterProps.push(pu)}Co.pluginName="useBlockLayout",So.pluginName="useFlexLayout";var cu=function(a,c){return[a,{style:{minWidth:c.instance.totalColumnsMinWidth+"px"}}]},bn=function(a,c){return[a,{style:{display:"flex",flex:"1 0 auto",minWidth:c.instance.totalColumnsMinWidth+"px"}}]},du=function(a,c){var d=c.column;return[a,{style:{boxSizing:"border-box",flex:d.totalFlexWidth?d.totalFlexWidth+" 0 auto":void 0,minWidth:d.totalMinWidth+"px",width:d.totalWidth+"px"}}]},fu=function(a,c){var d=c.cell;return[a,{style:{boxSizing:"border-box",flex:d.column.totalFlexWidth+" 0 auto",minWidth:d.column.totalMinWidth+"px",width:d.column.totalWidth+"px"}}]},pu=function(a,c){var d=c.column;return[a,{style:{boxSizing:"border-box",flex:d.totalFlexWidth?d.totalFlexWidth+" 0 auto":void 0,minWidth:d.totalMinWidth+"px",width:d.totalWidth+"px"}}]};function xo(a){a.stateReducers.push(hu),a.getTableProps.push(vu),a.getHeaderProps.push(gu),a.getRowProps.push(mu)}u.columnStartResizing="columnStartResizing",u.columnResizing="columnResizing",u.columnDoneResizing="columnDoneResizing",u.resetResize="resetResize",xo.pluginName="useGridLayout";var vu=function(a,c){var d=c.instance;return[a,{style:{display:"grid",gridTemplateColumns:d.visibleColumns.map(function(v){var y;return d.state.gridLayout.columnWidths[v.id]?d.state.gridLayout.columnWidths[v.id]+"px":(y=d.state.columnResizing)!=null&&y.isResizingColumn?d.state.gridLayout.startWidths[v.id]+"px":typeof v.width=="number"?v.width+"px":v.width}).join(" ")}}]},gu=function(a,c){var d=c.column;return[a,{id:"header-cell-"+d.id,style:{position:"sticky",gridColumn:"span "+d.totalVisibleHeaderCount}}]},mu=function(a,c){var d=c.row;return d.isExpanded?[a,{style:{gridColumn:"1 / "+(d.cells.length+1)}}]:[a,{}]};function hu(a,c,d,v){if(c.type===u.init)return l({gridLayout:{columnWidths:{}}},a);if(c.type===u.resetResize)return l({},a,{gridLayout:{columnWidths:{}}});if(c.type===u.columnStartResizing){var y=c.columnId,h=c.headerIdWidths,w=yn(y);if(w!==void 0){var x=v.visibleColumns.reduce(function(L,oe){var q;return l({},L,((q={})[oe.id]=yn(oe.id),q))},{}),I=v.visibleColumns.reduce(function(L,oe){var q;return l({},L,((q={})[oe.id]=oe.minWidth,q))},{}),R=v.visibleColumns.reduce(function(L,oe){var q;return l({},L,((q={})[oe.id]=oe.maxWidth,q))},{}),F=h.map(function(L){var oe=L[0];return[oe,yn(oe)]});return l({},a,{gridLayout:l({},a.gridLayout,{startWidths:x,minWidths:I,maxWidths:R,headerIdGridWidths:F,columnWidth:w})})}return a}if(c.type===u.columnResizing){var T=c.clientX,M=a.columnResizing.startX,E=a.gridLayout,N=E.columnWidth,$=E.minWidths,z=E.maxWidths,X=E.headerIdGridWidths,ie=(T-M)/N,_={};return(X===void 0?[]:X).forEach(function(L){var oe=L[0],q=L[1];_[oe]=Math.min(Math.max($[oe],q+q*ie),z[oe])}),l({},a,{gridLayout:l({},a.gridLayout,{columnWidths:l({},a.gridLayout.columnWidths,{},_)})})}return c.type===u.columnDoneResizing?l({},a,{gridLayout:l({},a.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function yn(a){var c,d=(c=document.getElementById("header-cell-"+a))==null?void 0:c.offsetWidth;if(d!==void 0)return d}t._UNSTABLE_usePivotColumns=fo,t.actions=u,t.defaultColumn=p,t.defaultGroupByFn=oo,t.defaultOrderByFn=uo,t.defaultRenderer=m,t.emptyRenderer=g,t.ensurePluginOrder=D,t.flexRender=J,t.functionalUpdate=B,t.loopHooks=P,t.makePropGetter=C,t.makeRenderer=j,t.reduceHooks=S,t.safeUseLayoutEffect=A,t.useAbsoluteLayout=wo,t.useAsyncDebounce=function(a,c){c===void 0&&(c=0);var d=n.useRef({}),v=O(a),y=O(c);return n.useCallback(function(){var h=i(regeneratorRuntime.mark(function w(){var x,I,R,F=arguments;return regeneratorRuntime.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:for(x=F.length,I=new Array(x),R=0;R1?c-1:0),v=1;v{i.current.focus()},[]),s=rf(()=>({base:Ir(Oo.content,It.cnt),afterOpen:It.afterOpen,beforeClose:""}),[]);return Re(Ru,{isOpen:r,onRequestClose:t,onAfterOpen:l,className:s,overlayClassName:Ir(Oo.overlay,It.overlay),children:[U("p",{children:o(e)}),Re("div",{className:It.btngrp,children:[U(Tt,{onClick:n,ref:i,children:o("close_all_confirm_yes")}),U("div",{style:{width:20}}),U(Tt,{onClick:t,children:o("close_all_confirm_no")})]})]})}const tf={id:"id",desc:!0};function nf({data:e,columns:r,hiddenColumns:t,apiConfig:n}){const[o,i]=G.useState(""),[l,s]=G.useState(!1),f={sortBy:[tf],hiddenColumns:t},u=Ft.useTable({columns:r,data:e,initialState:f,autoResetSortBy:!1},Ft.useSortBy),{getTableProps:m,setHiddenColumns:g,headerGroups:p,rows:b,prepareRow:C}=u;G.useEffect(()=>{g(t)},[g,t]);const{t:S,i18n:P}=it();let D;P.language==="zh-CN"?D=Zc:P.language==="zh-TW"?D=Fd:D=Hu;const B=()=>{Wi(n,o),s(!1)},O=k=>{i(k),s(!0)},A=(k,j)=>{switch(k.column.id){case"ctrl":return U(rc,{style:{cursor:"pointer"},onClick:()=>O(k.row.original.id)});case"start":return $u(k.value,0,{locale:j});case"download":case"upload":return Ao(k.value);case"downloadSpeedCurr":case"uploadSpeedCurr":return Ao(k.value)+"/s";default:return k.value}};return Re("div",{style:{marginTop:"5px"},children:[Re("table",{...m(),className:Ir(yr.table,"connections-table"),children:[U("thead",{children:p.map((k,j)=>G.createElement("tr",{...k.getHeaderGroupProps(),className:yr.tr,key:j},k.headers.map(J=>Re("th",{...J.getHeaderProps(J.getSortByToggleProps()),className:yr.th,children:[U("span",{children:S(J.render("Header"))}),J.id!=="ctrl"?U("span",{className:yr.sortIconContainer,children:J.isSorted?U(Wu,{size:16,className:J.isSortedDesc?"":yr.rotate180}):null}):null]}))))}),U("tbody",{children:b.map((k,j)=>(C(k),U("tr",{className:yr.tr,children:k.cells.map(J=>U("td",{...J.getCellProps(),className:Ir(yr.td,j%2===0?yr.odd:!1,J.column.id),children:A(J,D)}))},j)))})]}),U(qn,{confirm:"disconnect",isOpen:l,onRequestClose:()=>s(!1),primaryButtonOnTap:B})]})}const af=e=>({apiConfig:Gi(e)}),of=Li(af)(nf);function zo(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function jo(e){for(var r=1;r"u"&&(t=r,r=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(Ye(1));return t(qi)(e,r)}if(typeof e!="function")throw new Error(Ye(2));var o=e,i=r,l=[],s=l,f=!1;function u(){s===l&&(s=l.slice())}function m(){if(f)throw new Error(Ye(3));return i}function g(S){if(typeof S!="function")throw new Error(Ye(4));if(f)throw new Error(Ye(5));var P=!0;return u(),s.push(S),function(){if(P){if(f)throw new Error(Ye(6));P=!1,u();var B=s.indexOf(S);s.splice(B,1),l=null}}}function p(S){if(!lf(S))throw new Error(Ye(7));if(typeof S.type>"u")throw new Error(Ye(8));if(f)throw new Error(Ye(9));try{f=!0,i=o(i,S)}finally{f=!1}for(var P=l=s,D=0;D=0;n--){var o=r[n](e);if(o)return o}return function(i,l){throw new Error("Invalid value of type "+typeof e+" for "+t+" argument when connecting component "+l.wrappedComponentName+".")}}function dp(e,r){return e===r}function fp(e){var r=e===void 0?{}:e,t=r.connectHOC,n=t===void 0?qf:t,o=r.mapStateToPropsFactories,i=o===void 0?ep:o,l=r.mapDispatchToPropsFactories,s=l===void 0?Jf:l,f=r.mergePropsFactories,u=f===void 0?op:f,m=r.selectorFactory,g=m===void 0?up:m;return function(b,C,S,P){P===void 0&&(P={});var D=P,B=D.pure,O=B===void 0?!0:B,A=D.areStatesEqual,k=A===void 0?dp:A,j=D.areOwnPropsEqual,J=j===void 0?Pn:j,fe=D.areStatePropsEqual,le=fe===void 0?Pn:fe,be=D.areMergedPropsEqual,pe=be===void 0?Pn:be,Le=Mt(D,cp),H=Rn(b,i,"mapStateToProps"),V=Rn(C,s,"mapDispatchToProps"),se=Rn(S,u,"mergeProps");return n(g,ne({methodName:"connect",getDisplayName:function(Se){return"Connect("+Se+")"},shouldHandleStateChanges:Boolean(b),initMapStateToProps:H,initMapDispatchToProps:V,initMergeProps:se,pure:O,areStatesEqual:k,areOwnPropsEqual:J,areStatePropsEqual:le,areMergedPropsEqual:pe},Le))}}const ll=fp();cf(Eu.unstable_batchedUpdates);function pp(e,r){if(e.length!==r.length)return!1;for(var t=0;t");return n.callbacks},n.setCallbacks=function(s){n.callbacks=s},n}var t=r.prototype;return t.componentDidMount=function(){this.unbind=lr(window,[{eventName:"error",fn:this.onWindowError}])},t.componentDidCatch=function(o){if(o instanceof kt){this.setState({});return}throw o},t.componentWillUnmount=function(){this.unbind()},t.render=function(){return this.props.children(this.setCallbacks)},r}(ee.Component),Pp=` + Press space bar to start a drag. + When dragging you can use the arrow keys to move the item around and escape to cancel. + Some screen readers may require you to be in focus mode or to use your pass through key +`,$t=function(r){return r+1},Rp=function(r){return` + You have lifted an item in position `+$t(r.source.index)+` +`},fl=function(r,t){var n=r.droppableId===t.droppableId,o=$t(r.index),i=$t(t.index);return n?` + You have moved the item from position `+o+` + to position `+i+` + `:` + You have moved the item from position `+o+` + in list `+r.droppableId+` + to list `+t.droppableId+` + in position `+i+` + `},pl=function(r,t,n){var o=t.droppableId===n.droppableId;return o?` + The item `+r+` + has been combined with `+n.draggableId:` + The item `+r+` + in list `+t.droppableId+` + has been combined with `+n.draggableId+` + in list `+n.droppableId+` + `},Dp=function(r){var t=r.destination;if(t)return fl(r.source,t);var n=r.combine;return n?pl(r.draggableId,r.source,n):"You are over an area that cannot be dropped on"},ai=function(r){return` + The item has returned to its starting position + of `+$t(r.index)+` +`},Ep=function(r){if(r.reason==="CANCEL")return` + Movement cancelled. + `+ai(r.source)+` + `;var t=r.destination,n=r.combine;return t?` + You have dropped the item. + `+fl(r.source,t)+` + `:n?` + You have dropped the item. + `+pl(r.draggableId,r.source,n)+` + `:` + The item has been dropped while not over a drop area. + `+ai(r.source)+` + `},At={dragHandleUsageInstructions:Pp,onDragStart:Rp,onDragUpdate:Dp,onDragEnd:Ep},$e={x:0,y:0},je=function(r,t){return{x:r.x+t.x,y:r.y+t.y}},Ze=function(r,t){return{x:r.x-t.x,y:r.y-t.y}},Sr=function(r,t){return r.x===t.x&&r.y===t.y},Hr=function(r){return{x:r.x!==0?-r.x:0,y:r.y!==0?-r.y:0}},Mr=function(r,t,n){var o;return n===void 0&&(n=0),o={},o[r]=t,o[r==="x"?"y":"x"]=n,o},tt=function(r,t){return Math.sqrt(Math.pow(t.x-r.x,2)+Math.pow(t.y-r.y,2))},oi=function(r,t){return Math.min.apply(Math,t.map(function(n){return tt(r,n)}))},vl=function(r){return function(t){return{x:r(t.x),y:r(t.y)}}},Bp=function(e,r){var t=fr({top:Math.max(r.top,e.top),right:Math.min(r.right,e.right),bottom:Math.min(r.bottom,e.bottom),left:Math.max(r.left,e.left)});return t.width<=0||t.height<=0?null:t},mt=function(r,t){return{top:r.top+t.y,left:r.left+t.x,bottom:r.bottom+t.y,right:r.right+t.x}},ii=function(r){return[{x:r.left,y:r.top},{x:r.right,y:r.top},{x:r.left,y:r.bottom},{x:r.right,y:r.bottom}]},Op={top:0,right:0,bottom:0,left:0},Ap=function(r,t){return t?mt(r,t.scroll.diff.displacement):r},Tp=function(r,t,n){if(n&&n.increasedBy){var o;return ne({},r,(o={},o[t.end]=r[t.end]+n.increasedBy[t.line],o))}return r},Mp=function(r,t){return t&&t.shouldClipSubject?Bp(t.pageMarginBox,r):fr(r)},Gr=function(e){var r=e.page,t=e.withPlaceholder,n=e.axis,o=e.frame,i=Ap(r.marginBox,o),l=Tp(i,n,t),s=Mp(l,o);return{page:r,withPlaceholder:t,active:s}},Ca=function(e,r){e.frame||W(!1);var t=e.frame,n=Ze(r,t.scroll.initial),o=Hr(n),i=ne({},t,{scroll:{initial:t.scroll.initial,current:r,diff:{value:n,displacement:o},max:t.scroll.max}}),l=Gr({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i}),s=ne({},e,{frame:i,subject:l});return s};function Ht(e){return Object.values?Object.values(e):Object.keys(e).map(function(r){return e[r]})}function Sa(e,r){if(e.findIndex)return e.findIndex(r);for(var t=0;te.bottom,u=n.lefte.right,m=f&&u;if(m)return!0;var g=f&&l||u&&i;return g}},Wp=function(e){var r=sr(e.top,e.bottom),t=sr(e.left,e.right);return function(n){var o=r(n.top)&&r(n.bottom)&&t(n.left)&&t(n.right);return o}},Ia={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},wl={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Gp=function(e){return function(r){var t=sr(r.top,r.bottom),n=sr(r.left,r.right);return function(o){return e===Ia?t(o.top)&&t(o.bottom):n(o.left)&&n(o.right)}}},kp=function(r,t){var n=t.frame?t.frame.scroll.diff.displacement:$e;return mt(r,n)},$p=function(r,t,n){return t.subject.active?n(t.subject.active)(r):!1},Hp=function(r,t,n){return n(t)(r)},Pa=function(r){var t=r.target,n=r.destination,o=r.viewport,i=r.withDroppableDisplacement,l=r.isVisibleThroughFrameFn,s=i?kp(t,n):t;return $p(s,n,l)&&Hp(s,o,l)},zp=function(r){return Pa(ne({},r,{isVisibleThroughFrameFn:yl}))},Cl=function(r){return Pa(ne({},r,{isVisibleThroughFrameFn:Wp}))},jp=function(r){return Pa(ne({},r,{isVisibleThroughFrameFn:Gp(r.destination.axis)}))},Vp=function(r,t,n){if(typeof n=="boolean")return n;if(!t)return!0;var o=t.invisible,i=t.visible;if(o[r])return!1;var l=i[r];return l?l.shouldAnimate:!0};function Up(e,r){var t=e.page.marginBox,n={top:r.point.y,right:0,bottom:0,left:r.point.x};return fr(ya(t,n))}function at(e){var r=e.afterDragging,t=e.destination,n=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,l=e.last;return r.reduce(function(f,u){var m=Up(u,n),g=u.descriptor.id;f.all.push(g);var p=zp({target:m,destination:t,viewport:o,withDroppableDisplacement:!0});if(!p)return f.invisible[u.descriptor.id]=!0,f;var b=Vp(g,l,i),C={draggableId:g,shouldAnimate:b};return f.visible[g]=C,f},{all:[],visible:{},invisible:{}})}function qp(e,r){if(!e.length)return 0;var t=e[e.length-1].descriptor.index;return r.inHomeList?t:t+1}function li(e){var r=e.insideDestination,t=e.inHomeList,n=e.displacedBy,o=e.destination,i=qp(r,{inHomeList:t});return{displaced:nt,displacedBy:n,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function zt(e){var r=e.draggable,t=e.insideDestination,n=e.destination,o=e.viewport,i=e.displacedBy,l=e.last,s=e.index,f=e.forceShouldAnimate,u=jr(r,n);if(s==null)return li({insideDestination:t,inHomeList:u,displacedBy:i,destination:n});var m=Rr(t,function(S){return S.descriptor.index===s});if(!m)return li({insideDestination:t,inHomeList:u,displacedBy:i,destination:n});var g=un(r,t),p=t.indexOf(m),b=g.slice(p),C=at({afterDragging:b,destination:n,displacedBy:i,last:l,viewport:o.frame,forceShouldAnimate:f});return{displaced:C,displacedBy:i,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:s}}}}function Pr(e,r){return Boolean(r.effected[e])}var _p=function(e){var r=e.isMovingForward,t=e.destination,n=e.draggables,o=e.combine,i=e.afterCritical;if(!t.isCombineEnabled)return null;var l=o.draggableId,s=n[l],f=s.descriptor.index,u=Pr(l,i);return u?r?f:f-1:r?f+1:f},Xp=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.insideDestination,o=e.location;if(!n.length)return null;var i=o.index,l=r?i+1:i-1,s=n[0].descriptor.index,f=n[n.length-1].descriptor.index,u=t?f:f+1;return lu?null:l},Kp=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.draggable,o=e.draggables,i=e.destination,l=e.insideDestination,s=e.previousImpact,f=e.viewport,u=e.afterCritical,m=s.at;if(m||W(!1),m.type==="REORDER"){var g=Xp({isMovingForward:r,isInHomeList:t,location:m.destination,insideDestination:l});return g==null?null:zt({draggable:n,insideDestination:l,destination:i,viewport:f,last:s.displaced,displacedBy:s.displacedBy,index:g})}var p=_p({isMovingForward:r,destination:i,displaced:s.displaced,draggables:o,combine:m.combine,afterCritical:u});return p==null?null:zt({draggable:n,insideDestination:l,destination:i,viewport:f,last:s.displaced,displacedBy:s.displacedBy,index:p})},Yp=function(e){var r=e.displaced,t=e.afterCritical,n=e.combineWith,o=e.displacedBy,i=Boolean(r.visible[n]||r.invisible[n]);return Pr(n,t)?i?$e:Hr(o.point):i?o.point:$e},Jp=function(e){var r=e.afterCritical,t=e.impact,n=e.draggables,o=sn(t);o||W(!1);var i=o.draggableId,l=n[i].page.borderBox.center,s=Yp({displaced:t.displaced,afterCritical:r,combineWith:i,displacedBy:t.displacedBy});return je(l,s)},Sl=function(r,t){return t.margin[r.start]+t.borderBox[r.size]/2},Qp=function(r,t){return t.margin[r.end]+t.borderBox[r.size]/2},Ra=function(r,t,n){return t[r.crossAxisStart]+n.margin[r.crossAxisStart]+n.borderBox[r.crossAxisSize]/2},si=function(r){var t=r.axis,n=r.moveRelativeTo,o=r.isMoving;return Mr(t.line,n.marginBox[t.end]+Sl(t,o),Ra(t,n.marginBox,o))},ui=function(r){var t=r.axis,n=r.moveRelativeTo,o=r.isMoving;return Mr(t.line,n.marginBox[t.start]-Qp(t,o),Ra(t,n.marginBox,o))},Zp=function(r){var t=r.axis,n=r.moveInto,o=r.isMoving;return Mr(t.line,n.contentBox[t.start]+Sl(t,o),Ra(t,n.contentBox,o))},ev=function(e){var r=e.impact,t=e.draggable,n=e.draggables,o=e.droppable,i=e.afterCritical,l=zr(o.descriptor.id,n),s=t.page,f=o.axis;if(!l.length)return Zp({axis:f,moveInto:o.page,isMoving:s});var u=r.displaced,m=r.displacedBy,g=u.all[0];if(g){var p=n[g];if(Pr(g,i))return ui({axis:f,moveRelativeTo:p.page,isMoving:s});var b=Wt(p.page,m.point);return ui({axis:f,moveRelativeTo:b,isMoving:s})}var C=l[l.length-1];if(C.descriptor.id===t.descriptor.id)return s.borderBox.center;if(Pr(C.descriptor.id,i)){var S=Wt(C.page,Hr(i.displacedBy.point));return si({axis:f,moveRelativeTo:S,isMoving:s})}return si({axis:f,moveRelativeTo:C.page,isMoving:s})},Kn=function(e,r){var t=e.frame;return t?je(r,t.scroll.diff.displacement):r},rv=function(r){var t=r.impact,n=r.draggable,o=r.droppable,i=r.draggables,l=r.afterCritical,s=n.page.borderBox.center,f=t.at;return!o||!f?s:f.type==="REORDER"?ev({impact:t,draggable:n,draggables:i,droppable:o,afterCritical:l}):Jp({impact:t,draggables:i,afterCritical:l})},cn=function(e){var r=rv(e),t=e.droppable,n=t?Kn(t,r):r;return n},xl=function(e,r){var t=Ze(r,e.scroll.initial),n=Hr(t),o=fr({top:r.y,bottom:r.y+e.frame.height,left:r.x,right:r.x+e.frame.width}),i={frame:o,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:r,diff:{value:t,displacement:n}}};return i};function ci(e,r){return e.map(function(t){return r[t]})}function tv(e,r){for(var t=0;t1?m.sort(function(g,p){return Xe(g)[s.start]-Xe(p)[s.start]})[0]:u.sort(function(g,p){var b=oi(t,ii(Xe(g))),C=oi(t,ii(Xe(p)));return b!==C?b-C:Xe(g)[s.start]-Xe(p)[s.start]})[0]},di=function(r,t){var n=r.page.borderBox.center;return Pr(r.descriptor.id,t)?Ze(n,t.displacedBy.point):n},lv=function(r,t){var n=r.page.borderBox;return Pr(r.descriptor.id,t)?mt(n,Hr(t.displacedBy.point)):n},sv=function(e){var r=e.pageBorderBoxCenter,t=e.viewport,n=e.destination,o=e.insideDestination,i=e.afterCritical,l=o.filter(function(s){return Cl({target:lv(s,i),destination:n,viewport:t.frame,withDroppableDisplacement:!0})}).sort(function(s,f){var u=tt(r,Kn(n,di(s,i))),m=tt(r,Kn(n,di(f,i)));return ur.left&&e.topr.top}function mv(e){var r=e.pageBorderBox,t=e.draggable,n=e.candidates,o=t.page.borderBox.center,i=n.map(function(l){var s=l.axis,f=Mr(l.axis.line,r.center[s.line],l.page.borderBox.center[s.crossAxisLine]);return{id:l.descriptor.id,distance:tt(o,f)}}).sort(function(l,s){return s.distance-l.distance});return i[0]?i[0].id:null}function hv(e){var r=e.pageBorderBox,t=e.draggable,n=e.droppables,o=ln(n).filter(function(i){if(!i.isEnabled)return!1;var l=i.subject.active;if(!l||!gv(r,l))return!1;if(Dl(l)(r.center))return!0;var s=i.axis,f=l.center[s.crossAxisLine],u=r[s.crossAxisStart],m=r[s.crossAxisEnd],g=sr(l[s.crossAxisStart],l[s.crossAxisEnd]),p=g(u),b=g(m);return!p&&!b?!0:p?uf});return o.length?o.length===1?o[0].descriptor.id:mv({pageBorderBox:r,draggable:t,candidates:o}):null}var El=function(r,t){return fr(mt(r,t))},bv=function(e,r){var t=e.frame;return t?El(r,t.scroll.diff.value):r};function Bl(e){var r=e.displaced,t=e.id;return Boolean(r.visible[t]||r.invisible[t])}function yv(e){var r=e.draggable,t=e.closest,n=e.inHomeList;return t?n&&t.descriptor.index>r.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}var wv=function(e){var r=e.pageBorderBoxWithDroppableScroll,t=e.draggable,n=e.destination,o=e.insideDestination,i=e.last,l=e.viewport,s=e.afterCritical,f=n.axis,u=ht(n.axis,t.displaceBy),m=u.value,g=r[f.start],p=r[f.end],b=un(t,o),C=Rr(b,function(P){var D=P.descriptor.id,B=P.page.borderBox.center[f.line],O=Pr(D,s),A=Bl({displaced:i,id:D});return O?A?p<=B:gD[s.start]+O&&gD[s.start]-u+O&&mD[s.start]+u+O&&gD[s.start]+O&&m=vi)return Gl;var i=o/vi,l=Qn+Jv*i,s=n==="CANCEL"?l*Qv:l;return Number(s.toFixed(2))},eg=function(e){var r=e.impact,t=e.draggable,n=e.dimensions,o=e.viewport,i=e.afterCritical,l=n.draggables,s=n.droppables,f=er(r),u=f?s[f]:null,m=s[t.descriptor.droppableId],g=Tl({impact:r,draggable:t,draggables:l,afterCritical:i,droppable:u||m,viewport:o}),p=Ze(g,t.client.borderBox.center);return p},rg=function(e){var r=e.draggables,t=e.reason,n=e.lastImpact,o=e.home,i=e.viewport,l=e.onLiftImpact;if(!n.at||t!=="DROP"){var s=Al({draggables:r,impact:l,destination:o,viewport:i,forceShouldAnimate:!0});return{impact:s,didDropInsideDroppable:!1}}if(n.at.type==="REORDER")return{impact:n,didDropInsideDroppable:!0};var f=ne({},n,{displaced:nt});return{impact:f,didDropInsideDroppable:!0}},tg=function(e){var r=e.getState,t=e.dispatch;return function(n){return function(o){if(o.type!=="DROP"){n(o);return}var i=r(),l=o.payload.reason;if(i.phase==="COLLECTING"){t(Xv({reason:l}));return}if(i.phase!=="IDLE"){var s=i.phase==="DROP_PENDING"&&i.isWaiting;s&&W(!1),i.phase==="DRAGGING"||i.phase==="DROP_PENDING"||W(!1);var f=i.critical,u=i.dimensions,m=u.draggables[i.critical.draggable.id],g=rg({reason:l,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),p=g.impact,b=g.didDropInsideDroppable,C=b?xa(p):null,S=b?sn(p):null,P={index:f.draggable.index,droppableId:f.droppable.id},D={draggableId:m.descriptor.id,type:m.descriptor.type,source:P,reason:l,mode:i.movementMode,destination:C,combine:S},B=eg({impact:p,draggable:m,dimensions:u,viewport:i.viewport,afterCritical:i.afterCritical}),O={critical:i.critical,afterCritical:i.afterCritical,result:D,impact:p},A=!Sr(i.current.client.offset,B)||Boolean(D.combine);if(!A){t(Oa({completed:O}));return}var k=Zv({current:i.current.client.offset,destination:B,reason:l}),j={newHomeClientOffset:B,dropDuration:k,completed:O};t(_v(j))}}}},kl=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ng(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}function ag(e){var r=e.onWindowScroll;function t(){r(kl())}var n=rt(t),o=ng(n),i=Cr;function l(){return i!==Cr}function s(){l()&&W(!1),i=lr(window,[o])}function f(){l()||W(!1),n.cancel(),i(),i=Cr}return{start:s,stop:f,isActive:l}}var og=function(r){return r.type==="DROP_COMPLETE"||r.type==="DROP_ANIMATE"||r.type==="FLUSH"},ig=function(e){var r=ag({onWindowScroll:function(n){e.dispatch(Hv({newScroll:n}))}});return function(t){return function(n){!r.isActive()&&n.type==="INITIAL_PUBLISH"&&r.start(),r.isActive()&&og(n)&&r.stop(),t(n)}}},lg=function(e){var r=!1,t=!1,n=setTimeout(function(){t=!0}),o=function(l){r||t||(r=!0,e(l),clearTimeout(n))};return o.wasCalled=function(){return r},o},sg=function(){var e=[],r=function(i){var l=Sa(e,function(u){return u.timerId===i});l===-1&&W(!1);var s=e.splice(l,1),f=s[0];f.callback()},t=function(i){var l=setTimeout(function(){return r(l)}),s={timerId:l,callback:i};e.push(s)},n=function(){if(e.length){var i=[].concat(e);e.length=0,i.forEach(function(l){clearTimeout(l.timerId),l.callback()})}};return{add:t,flush:n}},ug=function(r,t){return r==null&&t==null?!0:r==null||t==null?!1:r.droppableId===t.droppableId&&r.index===t.index},cg=function(r,t){return r==null&&t==null?!0:r==null||t==null?!1:r.draggableId===t.draggableId&&r.droppableId===t.droppableId},dg=function(r,t){if(r===t)return!0;var n=r.draggable.id===t.draggable.id&&r.draggable.droppableId===t.draggable.droppableId&&r.draggable.type===t.draggable.type&&r.draggable.index===t.draggable.index,o=r.droppable.id===t.droppable.id&&r.droppable.type===t.droppable.type;return n&&o},Xr=function(r,t){t()},Pt=function(r,t){return{draggableId:r.draggable.id,type:r.droppable.type,source:{droppableId:r.droppable.id,index:r.draggable.index},mode:t}},An=function(r,t,n,o){if(!r){n(o(t));return}var i=lg(n),l={announce:i};r(t,l),i.wasCalled()||n(o(t))},fg=function(e,r){var t=sg(),n=null,o=function(p,b){n&&W(!1),Xr("onBeforeCapture",function(){var C=e().onBeforeCapture;if(C){var S={draggableId:p,mode:b};C(S)}})},i=function(p,b){n&&W(!1),Xr("onBeforeDragStart",function(){var C=e().onBeforeDragStart;C&&C(Pt(p,b))})},l=function(p,b){n&&W(!1);var C=Pt(p,b);n={mode:b,lastCritical:p,lastLocation:C.source,lastCombine:null},t.add(function(){Xr("onDragStart",function(){return An(e().onDragStart,C,r,At.onDragStart)})})},s=function(p,b){var C=xa(b),S=sn(b);n||W(!1);var P=!dg(p,n.lastCritical);P&&(n.lastCritical=p);var D=!ug(n.lastLocation,C);D&&(n.lastLocation=C);var B=!cg(n.lastCombine,S);if(B&&(n.lastCombine=S),!(!P&&!D&&!B)){var O=ne({},Pt(p,n.mode),{combine:S,destination:C});t.add(function(){Xr("onDragUpdate",function(){return An(e().onDragUpdate,O,r,At.onDragUpdate)})})}},f=function(){n||W(!1),t.flush()},u=function(p){n||W(!1),n=null,Xr("onDragEnd",function(){return An(e().onDragEnd,p,r,At.onDragEnd)})},m=function(){if(n){var p=ne({},Pt(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});u(p)}};return{beforeCapture:o,beforeStart:i,start:l,update:s,flush:f,drop:u,abort:m}},pg=function(e,r){var t=fg(e,r);return function(n){return function(o){return function(i){if(i.type==="BEFORE_INITIAL_CAPTURE"){t.beforeCapture(i.payload.draggableId,i.payload.movementMode);return}if(i.type==="INITIAL_PUBLISH"){var l=i.payload.critical;t.beforeStart(l,i.payload.movementMode),o(i),t.start(l,i.payload.movementMode);return}if(i.type==="DROP_COMPLETE"){var s=i.payload.completed.result;t.flush(),o(i),t.drop(s);return}if(o(i),i.type==="FLUSH"){t.abort();return}var f=n.getState();f.phase==="DRAGGING"&&t.update(f.critical,f.impact)}}}},vg=function(e){return function(r){return function(t){if(t.type!=="DROP_ANIMATION_FINISHED"){r(t);return}var n=e.getState();n.phase!=="DROP_ANIMATING"&&W(!1),e.dispatch(Oa({completed:n.completed}))}}},gg=function(e){var r=null,t=null;function n(){t&&(cancelAnimationFrame(t),t=null),r&&(r(),r=null)}return function(o){return function(i){if((i.type==="FLUSH"||i.type==="DROP_COMPLETE"||i.type==="DROP_ANIMATION_FINISHED")&&n(),o(i),i.type==="DROP_ANIMATE"){var l={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var f=e.getState();f.phase==="DROP_ANIMATING"&&e.dispatch(Wl())}};t=requestAnimationFrame(function(){t=null,r=lr(window,[l])})}}}},mg=function(e){return function(){return function(r){return function(t){(t.type==="DROP_COMPLETE"||t.type==="FLUSH"||t.type==="DROP_ANIMATE")&&e.stopPublishing(),r(t)}}}},hg=function(e){var r=!1;return function(){return function(t){return function(n){if(n.type==="INITIAL_PUBLISH"){r=!0,e.tryRecordFocus(n.payload.critical.draggable.id),t(n),e.tryRestoreFocusRecorded();return}if(t(n),!!r){if(n.type==="FLUSH"){r=!1,e.tryRestoreFocusRecorded();return}if(n.type==="DROP_COMPLETE"){r=!1;var o=n.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},bg=function(r){return r.type==="DROP_COMPLETE"||r.type==="DROP_ANIMATE"||r.type==="FLUSH"},yg=function(e){return function(r){return function(t){return function(n){if(bg(n)){e.stop(),t(n);return}if(n.type==="INITIAL_PUBLISH"){t(n);var o=r.getState();o.phase!=="DRAGGING"&&W(!1),e.start(o);return}t(n),e.scroll(r.getState())}}}},wg=function(e){return function(r){return function(t){if(r(t),t.type==="PUBLISH_WHILE_DRAGGING"){var n=e.getState();n.phase==="DROP_PENDING"&&(n.isWaiting||e.dispatch(Ll({reason:n.reason})))}}}},Cg=_i,Sg=function(e){var r=e.dimensionMarshal,t=e.focusMarshal,n=e.styleMarshal,o=e.getResponders,i=e.announce,l=e.autoScroller;return qi(Tv,Cg(sf(Yv(n),mg(r),Kv(r),tg,vg,gg,wg,yg(l),ig,hg(t),pg(o,i))))},Tn=function(){return{additions:{},removals:{},modified:{}}};function xg(e){var r=e.registry,t=e.callbacks,n=Tn(),o=null,i=function(){o||(t.collectionStarting(),o=requestAnimationFrame(function(){o=null;var m=n,g=m.additions,p=m.removals,b=m.modified,C=Object.keys(g).map(function(D){return r.draggable.getById(D).getDimension($e)}).sort(function(D,B){return D.descriptor.index-B.descriptor.index}),S=Object.keys(b).map(function(D){var B=r.droppable.getById(D),O=B.callbacks.getScrollWhileDragging();return{droppableId:D,scroll:O}}),P={additions:C,removals:Object.keys(p),modified:S};n=Tn(),t.publish(P)}))},l=function(m){var g=m.descriptor.id;n.additions[g]=m,n.modified[m.descriptor.droppableId]=!0,n.removals[g]&&delete n.removals[g],i()},s=function(m){var g=m.descriptor;n.removals[g.id]=!0,n.modified[g.droppableId]=!0,n.additions[g.id]&&delete n.additions[g.id],i()},f=function(){o&&(cancelAnimationFrame(o),o=null,n=Tn())};return{add:l,remove:s,stop:f}}var $l=function(e){var r=e.scrollHeight,t=e.scrollWidth,n=e.height,o=e.width,i=Ze({x:t,y:r},{x:o,y:n}),l={x:Math.max(0,i.x),y:Math.max(0,i.y)};return l},Hl=function(){var e=document.documentElement;return e||W(!1),e},zl=function(){var e=Hl(),r=$l({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return r},Ig=function(){var e=kl(),r=zl(),t=e.y,n=e.x,o=Hl(),i=o.clientWidth,l=o.clientHeight,s=n+i,f=t+l,u=fr({top:t,left:n,right:s,bottom:f}),m={frame:u,scroll:{initial:e,current:e,max:r,diff:{value:$e,displacement:$e}}};return m},Pg=function(e){var r=e.critical,t=e.scrollOptions,n=e.registry,o=Ig(),i=o.scroll.current,l=r.droppable,s=n.droppable.getAllByType(l.type).map(function(g){return g.callbacks.getDimensionAndWatchScroll(i,t)}),f=n.draggable.getAllByType(r.draggable.type).map(function(g){return g.getDimension(i)}),u={draggables:hl(f),droppables:ml(s)},m={dimensions:u,critical:r,viewport:o};return m};function gi(e,r,t){if(t.descriptor.id===r.id||t.descriptor.type!==r.type)return!1;var n=e.droppable.getById(t.descriptor.droppableId);return n.descriptor.mode==="virtual"}var Rg=function(e,r){var t=null,n=xg({callbacks:{publish:r.publishWhileDragging,collectionStarting:r.collectionStarting},registry:e}),o=function(b,C){e.droppable.exists(b)||W(!1),t&&r.updateDroppableIsEnabled({id:b,isEnabled:C})},i=function(b,C){t&&(e.droppable.exists(b)||W(!1),r.updateDroppableIsCombineEnabled({id:b,isCombineEnabled:C}))},l=function(b,C){t&&(e.droppable.exists(b)||W(!1),r.updateDroppableScroll({id:b,newScroll:C}))},s=function(b,C){t&&e.droppable.getById(b).callbacks.scroll(C)},f=function(){if(t){n.stop();var b=t.critical.droppable;e.droppable.getAllByType(b.type).forEach(function(C){return C.callbacks.dragStopped()}),t.unsubscribe(),t=null}},u=function(b){t||W(!1);var C=t.critical.draggable;b.type==="ADDITION"&&gi(e,C,b.value)&&n.add(b.value),b.type==="REMOVAL"&&gi(e,C,b.value)&&n.remove(b.value)},m=function(b){t&&W(!1);var C=e.draggable.getById(b.draggableId),S=e.droppable.getById(C.descriptor.droppableId),P={draggable:C.descriptor,droppable:S.descriptor},D=e.subscribe(u);return t={critical:P,unsubscribe:D},Pg({critical:P,registry:e,scrollOptions:b.scrollOptions})},g={updateDroppableIsEnabled:o,updateDroppableIsCombineEnabled:i,scrollDroppable:s,updateDroppableScroll:l,startPublishing:m,stopPublishing:f};return g},jl=function(e,r){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===r?!1:e.completed.result.reason==="DROP"},Dg=function(e){window.scrollBy(e.x,e.y)},Eg=ke(function(e){return ln(e).filter(function(r){return!(!r.isEnabled||!r.frame)})}),Bg=function(r,t){var n=Rr(Eg(t),function(o){return o.frame||W(!1),Dl(o.frame.pageMarginBox)(r)});return n},Og=function(e){var r=e.center,t=e.destination,n=e.droppables;if(t){var o=n[t];return o.frame?o:null}var i=Bg(r,n);return i},xr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(r){return Math.pow(r,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Ag=function(e,r){var t=e[r.size]*xr.startFromPercentage,n=e[r.size]*xr.maxScrollAtPercentage,o={startScrollingFrom:t,maxScrollValueAt:n};return o},Vl=function(e){var r=e.startOfRange,t=e.endOfRange,n=e.current,o=t-r;if(o===0)return 0;var i=n-r,l=i/o;return l},Ma=1,Tg=function(e,r){if(e>r.startScrollingFrom)return 0;if(e<=r.maxScrollValueAt)return xr.maxPixelScroll;if(e===r.startScrollingFrom)return Ma;var t=Vl({startOfRange:r.maxScrollValueAt,endOfRange:r.startScrollingFrom,current:e}),n=1-t,o=xr.maxPixelScroll*xr.ease(n);return Math.ceil(o)},mi=xr.durationDampening.accelerateAt,hi=xr.durationDampening.stopDampeningAt,Mg=function(e,r){var t=r,n=hi,o=Date.now(),i=o-t;if(i>=hi)return e;if(ir.height,i=t.width>r.width;return!i&&!o?n:i&&o?null:{x:i?0:n.x,y:o?0:n.y}},Fg=vl(function(e){return e===0?0:e}),Ul=function(e){var r=e.dragStartTime,t=e.container,n=e.subject,o=e.center,i=e.shouldUseTimeDampening,l={top:o.y-t.top,right:t.right-o.x,bottom:t.bottom-o.y,left:o.x-t.left},s=yi({container:t,distanceToEdges:l,dragStartTime:r,axis:Ia,shouldUseTimeDampening:i}),f=yi({container:t,distanceToEdges:l,dragStartTime:r,axis:wl,shouldUseTimeDampening:i}),u=Fg({x:f,y:s});if(Sr(u,$e))return null;var m=Ng({container:t,subject:n,proposedScroll:u});return m?Sr(m,$e)?null:m:null},Lg=vl(function(e){return e===0?0:e>0?1:-1}),Na=function(){var e=function(t,n){return t<0?t:t>n?t-n:0};return function(r){var t=r.current,n=r.max,o=r.change,i=je(t,o),l={x:e(i.x,n.x),y:e(i.y,n.y)};return Sr(l,$e)?null:l}}(),ql=function(r){var t=r.max,n=r.current,o=r.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},l=Lg(o),s=Na({max:i,current:n,change:l});return!s||l.x!==0&&s.x===0||l.y!==0&&s.y===0},Fa=function(r,t){return ql({current:r.scroll.current,max:r.scroll.max,change:t})},Wg=function(r,t){if(!Fa(r,t))return null;var n=r.scroll.max,o=r.scroll.current;return Na({current:o,max:n,change:t})},La=function(r,t){var n=r.frame;return n?ql({current:n.scroll.current,max:n.scroll.max,change:t}):!1},Gg=function(r,t){var n=r.frame;return!n||!La(r,t)?null:Na({current:n.scroll.current,max:n.scroll.max,change:t})},kg=function(e){var r=e.viewport,t=e.subject,n=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,l=Ul({dragStartTime:o,container:r.frame,subject:t,center:n,shouldUseTimeDampening:i});return l&&Fa(r,l)?l:null},$g=function(e){var r=e.droppable,t=e.subject,n=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,l=r.frame;if(!l)return null;var s=Ul({dragStartTime:o,container:l.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:i});return s&&La(r,s)?s:null},wi=function(e){var r=e.state,t=e.dragStartTime,n=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,l=r.current.page.borderBoxCenter,s=r.dimensions.draggables[r.critical.draggable.id],f=s.page.marginBox;if(r.isWindowScrollAllowed){var u=r.viewport,m=kg({dragStartTime:t,viewport:u,subject:f,center:l,shouldUseTimeDampening:n});if(m){o(m);return}}var g=Og({center:l,destination:er(r.impact),droppables:r.dimensions.droppables});if(g){var p=$g({dragStartTime:t,droppable:g,subject:f,center:l,shouldUseTimeDampening:n});p&&i(g.descriptor.id,p)}},Hg=function(e){var r=e.scrollWindow,t=e.scrollDroppable,n=rt(r),o=rt(t),i=null,l=function(m){i||W(!1);var g=i,p=g.shouldUseTimeDampening,b=g.dragStartTime;wi({state:m,scrollWindow:n,scrollDroppable:o,dragStartTime:b,shouldUseTimeDampening:p})},s=function(m){i&&W(!1);var g=Date.now(),p=!1,b=function(){p=!0};wi({state:m,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:b,scrollDroppable:b}),i={dragStartTime:g,shouldUseTimeDampening:p},p&&l(m)},f=function(){i&&(n.cancel(),o.cancel(),i=null)};return{start:s,stop:f,scroll:l}},zg=function(e){var r=e.move,t=e.scrollDroppable,n=e.scrollWindow,o=function(u,m){var g=je(u.current.client.selection,m);r({client:g})},i=function(u,m){if(!La(u,m))return m;var g=Gg(u,m);if(!g)return t(u.descriptor.id,m),null;var p=Ze(m,g);t(u.descriptor.id,p);var b=Ze(m,p);return b},l=function(u,m,g){if(!u||!Fa(m,g))return g;var p=Wg(m,g);if(!p)return n(g),null;var b=Ze(g,p);n(b);var C=Ze(g,b);return C},s=function(u){var m=u.scrollJumpRequest;if(m){var g=er(u.impact);g||W(!1);var p=i(u.dimensions.droppables[g],m);if(p){var b=u.viewport,C=l(u.isWindowScrollAllowed,b,p);C&&o(u,C)}}};return s},jg=function(e){var r=e.scrollDroppable,t=e.scrollWindow,n=e.move,o=Hg({scrollWindow:t,scrollDroppable:r}),i=zg({move:n,scrollWindow:t,scrollDroppable:r}),l=function(u){if(u.phase==="DRAGGING"){if(u.movementMode==="FLUID"){o.scroll(u);return}u.scrollJumpRequest&&i(u)}},s={scroll:l,start:o.start,stop:o.stop};return s},kr="data-rbd",$r=function(){var e=kr+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Zn=function(){var e=kr+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Vg=function(){var e=kr+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ci={contextId:kr+"-scroll-container-context-id"},Ug=function(r){return function(t){return"["+t+'="'+r+'"]'}},Kr=function(r,t){return r.map(function(n){var o=n.styles[t];return o?n.selector+" { "+o+" }":""}).join(" ")},qg="pointer-events: none;",_g=function(e){var r=Ug(e),t=function(){var s=` + cursor: -webkit-grab; + cursor: grab; + `;return{selector:r($r.contextId),styles:{always:` + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0,0,0,0); + touch-action: manipulation; + `,resting:s,dragging:qg,dropAnimating:s}}}(),n=function(){var s=` + transition: `+Qr.outOfTheWay+`; + `;return{selector:r(Zn.contextId),styles:{dragging:s,dropAnimating:s,userCancel:s}}}(),o={selector:r(Vg.contextId),styles:{always:"overflow-anchor: none;"}},i={selector:"body",styles:{dragging:` + cursor: grabbing; + cursor: -webkit-grabbing; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + overflow-anchor: none; + `}},l=[n,t,o,i];return{always:Kr(l,"always"),resting:Kr(l,"resting"),dragging:Kr(l,"dragging"),dropAnimating:Kr(l,"dropAnimating"),userCancel:Kr(l,"userCancel")}},rr=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?G.useLayoutEffect:G.useEffect,Mn=function(){var r=document.querySelector("head");return r||W(!1),r},Si=function(r){var t=document.createElement("style");return r&&t.setAttribute("nonce",r),t.type="text/css",t};function Xg(e,r){var t=me(function(){return _g(e)},[e]),n=G.useRef(null),o=G.useRef(null),i=Y(ke(function(g){var p=o.current;p||W(!1),p.textContent=g}),[]),l=Y(function(g){var p=n.current;p||W(!1),p.textContent=g},[]);rr(function(){!n.current&&!o.current||W(!1);var g=Si(r),p=Si(r);return n.current=g,o.current=p,g.setAttribute(kr+"-always",e),p.setAttribute(kr+"-dynamic",e),Mn().appendChild(g),Mn().appendChild(p),l(t.always),i(t.resting),function(){var b=function(S){var P=S.current;P||W(!1),Mn().removeChild(P),S.current=null};b(n),b(o)}},[r,l,i,t.always,t.resting,e]);var s=Y(function(){return i(t.dragging)},[i,t.dragging]),f=Y(function(g){if(g==="DROP"){i(t.dropAnimating);return}i(t.userCancel)},[i,t.dropAnimating,t.userCancel]),u=Y(function(){o.current&&i(t.resting)},[i,t.resting]),m=me(function(){return{dragging:s,dropping:f,resting:u}},[s,f,u]);return m}var _l=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function dn(e){return e instanceof _l(e).HTMLElement}function Kg(e,r){var t="["+$r.contextId+'="'+e+'"]',n=gl(document.querySelectorAll(t));if(!n.length)return null;var o=Rr(n,function(i){return i.getAttribute($r.draggableId)===r});return!o||!dn(o)?null:o}function Yg(e){var r=G.useRef({}),t=G.useRef(null),n=G.useRef(null),o=G.useRef(!1),i=Y(function(p,b){var C={id:p,focus:b};return r.current[p]=C,function(){var P=r.current,D=P[p];D!==C&&delete P[p]}},[]),l=Y(function(p){var b=Kg(e,p);b&&b!==document.activeElement&&b.focus()},[e]),s=Y(function(p,b){t.current===p&&(t.current=b)},[]),f=Y(function(){n.current||o.current&&(n.current=requestAnimationFrame(function(){n.current=null;var p=t.current;p&&l(p)}))},[l]),u=Y(function(p){t.current=null;var b=document.activeElement;b&&b.getAttribute($r.draggableId)===p&&(t.current=p)},[]);rr(function(){return o.current=!0,function(){o.current=!1;var p=n.current;p&&cancelAnimationFrame(p)}},[]);var m=me(function(){return{register:i,tryRecordFocus:u,tryRestoreFocusRecorded:f,tryShiftRecord:s}},[i,u,f,s]);return m}function Jg(){var e={draggables:{},droppables:{}},r=[];function t(g){return r.push(g),function(){var b=r.indexOf(g);b!==-1&&r.splice(b,1)}}function n(g){r.length&&r.forEach(function(p){return p(g)})}function o(g){return e.draggables[g]||null}function i(g){var p=o(g);return p||W(!1),p}var l={register:function(p){e.draggables[p.descriptor.id]=p,n({type:"ADDITION",value:p})},update:function(p,b){var C=e.draggables[b.descriptor.id];C&&C.uniqueId===p.uniqueId&&(delete e.draggables[b.descriptor.id],e.draggables[p.descriptor.id]=p)},unregister:function(p){var b=p.descriptor.id,C=o(b);C&&p.uniqueId===C.uniqueId&&(delete e.draggables[b],n({type:"REMOVAL",value:p}))},getById:i,findById:o,exists:function(p){return Boolean(o(p))},getAllByType:function(p){return Ht(e.draggables).filter(function(b){return b.descriptor.type===p})}};function s(g){return e.droppables[g]||null}function f(g){var p=s(g);return p||W(!1),p}var u={register:function(p){e.droppables[p.descriptor.id]=p},unregister:function(p){var b=s(p.descriptor.id);b&&p.uniqueId===b.uniqueId&&delete e.droppables[p.descriptor.id]},getById:f,findById:s,exists:function(p){return Boolean(s(p))},getAllByType:function(p){return Ht(e.droppables).filter(function(b){return b.descriptor.type===p})}};function m(){e.draggables={},e.droppables={},r.length=0}return{draggable:l,droppable:u,subscribe:t,clean:m}}function Qg(){var e=me(Jg,[]);return G.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var Wa=ee.createContext(null),jt=function(){var e=document.body;return e||W(!1),e},Zg={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},em=function(r){return"rbd-announcement-"+r};function rm(e){var r=me(function(){return em(e)},[e]),t=G.useRef(null);G.useEffect(function(){var i=document.createElement("div");return t.current=i,i.id=r,i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true"),ne(i.style,Zg),jt().appendChild(i),function(){setTimeout(function(){var f=jt();f.contains(i)&&f.removeChild(i),i===t.current&&(t.current=null)})}},[r]);var n=Y(function(o){var i=t.current;if(i){i.textContent=o;return}},[]);return n}var tm=0,nm={separator:"::"};function Ga(e,r){return r===void 0&&(r=nm),me(function(){return""+e+r.separator+tm++},[r.separator,e])}function am(e){var r=e.contextId,t=e.uniqueId;return"rbd-hidden-text-"+r+"-"+t}function om(e){var r=e.contextId,t=e.text,n=Ga("hidden-text",{separator:"-"}),o=me(function(){return am({contextId:r,uniqueId:n})},[n,r]);return G.useEffect(function(){var l=document.createElement("div");return l.id=o,l.textContent=t,l.style.display="none",jt().appendChild(l),function(){var f=jt();f.contains(l)&&f.removeChild(l)}},[o,t]),o}var fn=ee.createContext(null);function Xl(e){var r=G.useRef(e);return G.useEffect(function(){r.current=e}),r}function im(){var e=null;function r(){return Boolean(e)}function t(l){return l===e}function n(l){e&&W(!1);var s={abandon:l};return e=s,s}function o(){e||W(!1),e=null}function i(){e&&(e.abandon(),o())}return{isClaimed:r,isActive:t,claim:n,release:o,tryAbandon:i}}var lm=9,sm=13,ka=27,Kl=32,um=33,cm=34,dm=35,fm=36,pm=37,vm=38,gm=39,mm=40,Rt,hm=(Rt={},Rt[sm]=!0,Rt[lm]=!0,Rt),Yl=function(e){hm[e.keyCode]&&e.preventDefault()},pn=function(){var e="visibilitychange";if(typeof document>"u")return e;var r=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],t=Rr(r,function(n){return"on"+n in document});return t||e}(),Jl=0,xi=5;function bm(e,r){return Math.abs(r.x-e.x)>=xi||Math.abs(r.y-e.y)>=xi}var Ii={type:"IDLE"};function ym(e){var r=e.cancel,t=e.completed,n=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(l){var s=l.button,f=l.clientX,u=l.clientY;if(s===Jl){var m={x:f,y:u},g=n();if(g.type==="DRAGGING"){l.preventDefault(),g.actions.move(m);return}g.type!=="PENDING"&&W(!1);var p=g.point;if(bm(p,m)){l.preventDefault();var b=g.actions.fluidLift(m);o({type:"DRAGGING",actions:b})}}}},{eventName:"mouseup",fn:function(l){var s=n();if(s.type!=="DRAGGING"){r();return}l.preventDefault(),s.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"mousedown",fn:function(l){n().type==="DRAGGING"&&l.preventDefault(),r()}},{eventName:"keydown",fn:function(l){var s=n();if(s.type==="PENDING"){r();return}if(l.keyCode===ka){l.preventDefault(),r();return}Yl(l)}},{eventName:"resize",fn:r},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&r()}},{eventName:"webkitmouseforcedown",fn:function(l){var s=n();if(s.type==="IDLE"&&W(!1),s.actions.shouldRespectForcePress()){r();return}l.preventDefault()}},{eventName:pn,fn:r}]}function wm(e){var r=G.useRef(Ii),t=G.useRef(Cr),n=me(function(){return{eventName:"mousedown",fn:function(g){if(!g.defaultPrevented&&g.button===Jl&&!(g.ctrlKey||g.metaKey||g.shiftKey||g.altKey)){var p=e.findClosestDraggableId(g);if(p){var b=e.tryGetLock(p,l,{sourceEvent:g});if(b){g.preventDefault();var C={x:g.clientX,y:g.clientY};t.current(),u(b,C)}}}}}},[e]),o=me(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(g){if(!g.defaultPrevented){var p=e.findClosestDraggableId(g);if(p){var b=e.findOptionsForDraggable(p);b&&(b.shouldRespectForcePress||e.canGetLock(p)&&g.preventDefault())}}}}},[e]),i=Y(function(){var g={passive:!1,capture:!0};t.current=lr(window,[o,n],g)},[o,n]),l=Y(function(){var m=r.current;m.type!=="IDLE"&&(r.current=Ii,t.current(),i())},[i]),s=Y(function(){var m=r.current;l(),m.type==="DRAGGING"&&m.actions.cancel({shouldBlockNextClick:!0}),m.type==="PENDING"&&m.actions.abort()},[l]),f=Y(function(){var g={capture:!0,passive:!1},p=ym({cancel:s,completed:l,getPhase:function(){return r.current},setPhase:function(C){r.current=C}});t.current=lr(window,p,g)},[s,l]),u=Y(function(g,p){r.current.type!=="IDLE"&&W(!1),r.current={type:"PENDING",point:p,actions:g},f()},[f]);rr(function(){return i(),function(){t.current()}},[i])}var Fr;function Cm(){}var Sm=(Fr={},Fr[cm]=!0,Fr[um]=!0,Fr[fm]=!0,Fr[dm]=!0,Fr);function xm(e,r){function t(){r(),e.cancel()}function n(){r(),e.drop()}return[{eventName:"keydown",fn:function(i){if(i.keyCode===ka){i.preventDefault(),t();return}if(i.keyCode===Kl){i.preventDefault(),n();return}if(i.keyCode===mm){i.preventDefault(),e.moveDown();return}if(i.keyCode===vm){i.preventDefault(),e.moveUp();return}if(i.keyCode===gm){i.preventDefault(),e.moveRight();return}if(i.keyCode===pm){i.preventDefault(),e.moveLeft();return}if(Sm[i.keyCode]){i.preventDefault();return}Yl(i)}},{eventName:"mousedown",fn:t},{eventName:"mouseup",fn:t},{eventName:"click",fn:t},{eventName:"touchstart",fn:t},{eventName:"resize",fn:t},{eventName:"wheel",fn:t,options:{passive:!0}},{eventName:pn,fn:t}]}function Im(e){var r=G.useRef(Cm),t=me(function(){return{eventName:"keydown",fn:function(i){if(i.defaultPrevented||i.keyCode!==Kl)return;var l=e.findClosestDraggableId(i);if(!l)return;var s=e.tryGetLock(l,m,{sourceEvent:i});if(!s)return;i.preventDefault();var f=!0,u=s.snapLift();r.current();function m(){f||W(!1),f=!1,r.current(),n()}r.current=lr(window,xm(u,m),{capture:!0,passive:!1})}}},[e]),n=Y(function(){var i={passive:!1,capture:!0};r.current=lr(window,[t],i)},[t]);rr(function(){return n(),function(){r.current()}},[n])}var Nn={type:"IDLE"},Pm=120,Rm=.15;function Dm(e){var r=e.cancel,t=e.getPhase;return[{eventName:"orientationchange",fn:r},{eventName:"resize",fn:r},{eventName:"contextmenu",fn:function(o){o.preventDefault()}},{eventName:"keydown",fn:function(o){if(t().type!=="DRAGGING"){r();return}o.keyCode===ka&&o.preventDefault(),r()}},{eventName:pn,fn:r}]}function Em(e){var r=e.cancel,t=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(i){var l=n();if(l.type!=="DRAGGING"){r();return}l.hasMoved=!0;var s=i.touches[0],f=s.clientX,u=s.clientY,m={x:f,y:u};i.preventDefault(),l.actions.move(m)}},{eventName:"touchend",fn:function(i){var l=n();if(l.type!=="DRAGGING"){r();return}i.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),t()}},{eventName:"touchcancel",fn:function(i){if(n().type!=="DRAGGING"){r();return}i.preventDefault(),r()}},{eventName:"touchforcechange",fn:function(i){var l=n();l.type==="IDLE"&&W(!1);var s=i.touches[0];if(s){var f=s.force>=Rm;if(f){var u=l.actions.shouldRespectForcePress();if(l.type==="PENDING"){u&&r();return}if(u){if(l.hasMoved){i.preventDefault();return}r();return}i.preventDefault()}}}},{eventName:pn,fn:r}]}function Bm(e){var r=G.useRef(Nn),t=G.useRef(Cr),n=Y(function(){return r.current},[]),o=Y(function(b){r.current=b},[]),i=me(function(){return{eventName:"touchstart",fn:function(b){if(!b.defaultPrevented){var C=e.findClosestDraggableId(b);if(C){var S=e.tryGetLock(C,s,{sourceEvent:b});if(S){var P=b.touches[0],D=P.clientX,B=P.clientY,O={x:D,y:B};t.current(),g(S,O)}}}}}},[e]),l=Y(function(){var b={capture:!0,passive:!1};t.current=lr(window,[i],b)},[i]),s=Y(function(){var p=r.current;p.type!=="IDLE"&&(p.type==="PENDING"&&clearTimeout(p.longPressTimerId),o(Nn),t.current(),l())},[l,o]),f=Y(function(){var p=r.current;s(),p.type==="DRAGGING"&&p.actions.cancel({shouldBlockNextClick:!0}),p.type==="PENDING"&&p.actions.abort()},[s]),u=Y(function(){var b={capture:!0,passive:!1},C={cancel:f,completed:s,getPhase:n},S=lr(window,Em(C),b),P=lr(window,Dm(C),b);t.current=function(){S(),P()}},[f,n,s]),m=Y(function(){var b=n();b.type!=="PENDING"&&W(!1);var C=b.actions.fluidLift(b.point);o({type:"DRAGGING",actions:C,hasMoved:!1})},[n,o]),g=Y(function(b,C){n().type!=="IDLE"&&W(!1);var S=setTimeout(m,Pm);o({type:"PENDING",point:C,actions:b,longPressTimerId:S}),u()},[u,n,o,m]);rr(function(){return l(),function(){t.current();var C=n();C.type==="PENDING"&&(clearTimeout(C.longPressTimerId),o(Nn))}},[n,l,o]),rr(function(){var b=lr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return b},[])}var Om={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ql(e,r){if(r==null)return!1;var t=Boolean(Om[r.tagName.toLowerCase()]);if(t)return!0;var n=r.getAttribute("contenteditable");return n==="true"||n===""?!0:r===e?!1:Ql(e,r.parentElement)}function Am(e,r){var t=r.target;return dn(t)?Ql(e,t):!1}var Tm=function(e){return fr(e.getBoundingClientRect()).center};function Mm(e){return e instanceof _l(e).Element}var Nm=function(){var e="matches";if(typeof document>"u")return e;var r=[e,"msMatchesSelector","webkitMatchesSelector"],t=Rr(r,function(n){return n in Element.prototype});return t||e}();function Zl(e,r){return e==null?null:e[Nm](r)?e:Zl(e.parentElement,r)}function Fm(e,r){return e.closest?e.closest(r):Zl(e,r)}function Lm(e){return"["+$r.contextId+'="'+e+'"]'}function Wm(e,r){var t=r.target;if(!Mm(t))return null;var n=Lm(e),o=Fm(t,n);return!o||!dn(o)?null:o}function Gm(e,r){var t=Wm(e,r);return t?t.getAttribute($r.draggableId):null}function km(e,r){var t="["+Zn.contextId+'="'+e+'"]',n=gl(document.querySelectorAll(t)),o=Rr(n,function(i){return i.getAttribute(Zn.id)===r});return!o||!dn(o)?null:o}function $m(e){e.preventDefault()}function Dt(e){var r=e.expected,t=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||r!==t)}function es(e){var r=e.lockAPI,t=e.store,n=e.registry,o=e.draggableId;if(r.isClaimed())return!1;var i=n.draggable.findById(o);return!(!i||!i.options.isEnabled||!jl(t.getState(),o))}function Hm(e){var r=e.lockAPI,t=e.contextId,n=e.store,o=e.registry,i=e.draggableId,l=e.forceSensorStop,s=e.sourceEvent,f=es({lockAPI:r,store:n,registry:o,draggableId:i});if(!f)return null;var u=o.draggable.getById(i),m=km(t,u.descriptor.id);if(!m||s&&!u.options.canDragInteractiveElements&&Am(m,s))return null;var g=r.claim(l||Cr),p="PRE_DRAG";function b(){return u.options.shouldRespectForcePress}function C(){return r.isActive(g)}function S(j,J){Dt({expected:j,phase:p,isLockActive:C,shouldWarn:!0})&&n.dispatch(J())}var P=S.bind(null,"DRAGGING");function D(j){function J(){r.release(),p="COMPLETED"}p!=="PRE_DRAG"&&(J(),p!=="PRE_DRAG"&&W(!1)),n.dispatch(Nv(j.liftActionArgs)),p="DRAGGING";function fe(le,be){if(be===void 0&&(be={shouldBlockNextClick:!1}),j.cleanup(),be.shouldBlockNextClick){var pe=lr(window,[{eventName:"click",fn:$m,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(pe)}J(),n.dispatch(Ll({reason:le}))}return ne({isActive:function(){return Dt({expected:"DRAGGING",phase:p,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:b,drop:function(be){return fe("DROP",be)},cancel:function(be){return fe("CANCEL",be)}},j.actions)}function B(j){var J=rt(function(le){P(function(){return Fl({client:le})})}),fe=D({liftActionArgs:{id:i,clientSelection:j,movementMode:"FLUID"},cleanup:function(){return J.cancel()},actions:{move:J}});return ne({},fe,{move:J})}function O(){var j={moveUp:function(){return P(jv)},moveRight:function(){return P(Uv)},moveDown:function(){return P(Vv)},moveLeft:function(){return P(qv)}};return D({liftActionArgs:{id:i,clientSelection:Tm(m),movementMode:"SNAP"},cleanup:Cr,actions:j})}function A(){var j=Dt({expected:"PRE_DRAG",phase:p,isLockActive:C,shouldWarn:!0});j&&r.release()}var k={isActive:function(){return Dt({expected:"PRE_DRAG",phase:p,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:b,fluidLift:B,snapLift:O,abort:A};return k}var zm=[wm,Im,Bm];function jm(e){var r=e.contextId,t=e.store,n=e.registry,o=e.customSensors,i=e.enableDefaultSensors,l=[].concat(i?zm:[],o||[]),s=G.useState(function(){return im()})[0],f=Y(function(B,O){B.isDragging&&!O.isDragging&&s.tryAbandon()},[s]);rr(function(){var B=t.getState(),O=t.subscribe(function(){var A=t.getState();f(B,A),B=A});return O},[s,t,f]),rr(function(){return s.tryAbandon},[s.tryAbandon]);for(var u=Y(function(D){return es({lockAPI:s,registry:n,store:t,draggableId:D})},[s,n,t]),m=Y(function(D,B,O){return Hm({lockAPI:s,registry:n,contextId:r,store:t,draggableId:D,forceSensorStop:B,sourceEvent:O&&O.sourceEvent?O.sourceEvent:null})},[r,s,n,t]),g=Y(function(D){return Gm(r,D)},[r]),p=Y(function(D){var B=n.draggable.findById(D);return B?B.options:null},[n.draggable]),b=Y(function(){s.isClaimed()&&(s.tryAbandon(),t.getState().phase!=="IDLE"&&t.dispatch(Ba()))},[s,t]),C=Y(s.isClaimed,[s]),S=me(function(){return{canGetLock:u,tryGetLock:m,findClosestDraggableId:g,findOptionsForDraggable:p,tryReleaseLock:b,isLockClaimed:C}},[u,m,g,p,b,C]),P=0;P({...r,...e&&{background:"transparent"}});function Hh({isOpen:e,onRequestClose:r,columns:t,hiddenColumns:n,setColumns:o,setHiddenColumns:i}){const{t:l}=it(),s=u=>{if(!u.destination)return;const m=Array.from(t),[g]=m.splice(u.source.index,1);m.splice(u.destination.index,0,g),o(m),localStorage.setItem("columns",JSON.stringify(m))},f=(u,m)=>{if(!m)n.push(u.accessor);else{const g=n.indexOf(u.accessor);n.splice(g,1)}i(Array.from(n)),localStorage.setItem("hiddenColumns",JSON.stringify(n))};return U($i,{isOpen:e,onRequestClose:r,children:U("div",{children:U(Xm,{onDragEnd:s,children:U(is,{droppableId:"droppable-modal",children:u=>Re("div",{...u.droppableProps,ref:u.innerRef,children:[t.filter(m=>m.accessor!=="id").map(m=>{const g=!n.includes(m.accessor);return U(Ah,{draggableId:m.accessor,index:t.findIndex(p=>p.accessor===m.accessor),children:(p,b)=>Re("div",{ref:p.innerRef,...p.draggableProps,...p.dragHandleProps,className:Wn.columnManagerRow,style:$h(b.isDragging,p.draggableProps.style),children:[U(qu,{}),U("span",{className:Wn.columnManageLabel,children:l(m.Header)}),U("div",{className:Wn.columnManageSwitch,children:U(Ou,{size:"mini",checked:g,onChange:C=>f(m,C)})})]})},m.accessor)}),u.placeholder]})})})})})}const zh="_sourceipTable_2lem6_1",jh="_iptableTipContainer_2lem6_5",Oi={sourceipTable:zh,iptableTipContainer:jh};function Vh({isOpen:e,onRequestClose:r,sourceMap:t,setSourceMap:n}){const{t:o}=it(),i=(l,s,f)=>{t[s][l]=f,n(Array.from(t))};return Re($i,{isOpen:e,onRequestClose:r,children:[Re("table",{className:Oi.sourceipTable,children:[U("thead",{children:Re("tr",{children:[U("th",{children:o("c_source")}),U("th",{children:o("device_name")})]})}),U("tbody",{children:t.map((l,s)=>Re("tr",{children:[U("td",{children:U(kn,{type:"text",name:"reg",autoComplete:"off",value:l.reg,onChange:f=>i("reg",s,f.target.value)})}),U("td",{children:U(kn,{type:"text",name:"name",autoComplete:"off",value:l.name,onChange:f=>i("name",s,f.target.value)})}),U("td",{children:U(Tt,{onClick:()=>t.splice(s,1),children:o("delete")})})]},`${s}`))})]}),Re("div",{children:[U("div",{className:Oi.iptableTipContainer,children:o("sourceip_tip")}),U(Tt,{onClick:()=>t.push({reg:"",name:""}),children:o("add_tag")})]})]})}const{useEffect:Uh,useState:Qe,useRef:qh,useCallback:wr}=ee,ra="ALL_SOURCE_IP",_h=localStorage.getItem("sourceMap")?JSON.parse(localStorage.getItem("sourceMap")):[],Xh=30;function Kh(e){const r={};for(let t=0;tt.sourceIP===r)}function Ai(e,r,t){let n=e;return r!==""&&(n=e.filter(o=>[o.host,o.sourceIP,o.sourcePort,o.destinationIP,o.chains,o.rule,o.type,o.network,o.process].some(i=>Yh(i,r)))),t!==ra&&(n=Jh(n,t)),n}function ls(e,r,t){let n=t??e;return r.forEach(({reg:o,name:i})=>{o&&(o.startsWith("/")?new RegExp(o.replace("/",""),"g").test(e)&&i&&(n=`${i}(${e})`):e===o&&i&&(n=`${i}(${e})`))}),n}function Qh(e,r,t,n){const{id:o,metadata:i,upload:l,download:s,start:f,chains:u,rule:m,rulePayload:g}=e,{host:p,destinationPort:b,destinationIP:C,remoteDestination:S,network:P,type:D,sourceIP:B,sourcePort:O,process:A,sniffHost:k}=i;let j=p;j===""&&(j=C);const J=r[o],fe=`${B}:${O}`;return{id:o,upload:l,download:s,start:t-new Date(f).valueOf(),chains:Zh(u),rule:g?`${m} :: ${g}`:m,...i,host:`${j}:${b}`,sniffHost:k||"-",type:`${D}(${P})`,source:ls(B,n,fe),downloadSpeedCurr:s-(J?J.download:0),uploadSpeedCurr:l-(J?J.upload:0),process:A||"-",destinationIP:S||C||p}}function Zh(e){if(!Array.isArray(e)||e.length===0)return"";if(e.length===1)return e[0];if(e.length===2)return`${e[1]} -> ${e[0]}`;const r=e.pop(),t=e.shift();return`${r} -> ${t}`}function Ti(e,r,t){return t.length>0?U(of,{data:t,columns:e,hiddenColumns:r}):U("div",{className:Lr.placeHolder,children:U(Nu,{width:200,height:200,c1:"var(--color-text)"})})}function Mi({qty:e}){return e<100?""+e:"99+"}const Bt=!0,ss=["id"],ta=[{accessor:"id",show:!1},{Header:"c_type",accessor:"type"},{Header:"c_process",accessor:"process"},{Header:"c_host",accessor:"host"},{Header:"c_rule",accessor:"rule"},{Header:"c_chains",accessor:"chains"},{Header:"c_time",accessor:"start"},{Header:"c_dl_speed",accessor:"downloadSpeedCurr",sortDescFirst:Bt},{Header:"c_ul_speed",accessor:"uploadSpeedCurr",sortDescFirst:Bt},{Header:"c_dl",accessor:"download",sortDescFirst:Bt},{Header:"c_ul",accessor:"upload",sortDescFirst:Bt},{Header:"c_source",accessor:"source"},{Header:"c_destination_ip",accessor:"destinationIP"},{Header:"c_sni",accessor:"sniffHost"},{Header:"c_ctrl",accessor:"ctrl"}],Ni=localStorage.getItem("hiddenColumns"),Fi=localStorage.getItem("columns"),eb=Ni?JSON.parse(Ni):[...ss],Gn=Fi?JSON.parse(Fi):null,rb=Gn?[...ta].sort((e,r)=>{const t=Gn.findIndex(o=>o.accessor===e.accessor),n=Gn.findIndex(o=>o.accessor===r.accessor);return t===-1?1:n===-1?-1:t-n}):[...ta];function tb({apiConfig:e}){const{t:r}=it(),[t,n]=Qe(!1),[o,i]=Qe(eb),[l,s]=Qe(rb),f=()=>{n(!1)},u=()=>{i([...ss]),s([...ta]),localStorage.removeItem("hiddenColumns"),localStorage.removeItem("columns")},[m,g]=Qe(!1),[p,b]=Qe(_h),[C,S]=Lu(),[P,D]=Qe([]),[B,O]=Qe([]),[A,k]=Qe(""),[j,J]=Qe(ra),fe=Ai(P,A,j),le=Ai(B,A,j),pe=(xe=>[[ra,r("All")],...Array.from(new Set(xe.map(Ue=>Ue.sourceIP))).sort().map(Ue=>[Ue,ls(Ue,p).trim()||r("internel")])])(P),[Le,H]=Qe(!1),V=wr(()=>H(!0),[]),se=wr(()=>H(!1),[]),Ie=wr(async()=>{for(const xe of fe)await Wi(e,xe.id);se()},[e,fe,se]),[Se,we]=Qe(!1),Ee=wr(()=>we(!0),[]),De=wr(()=>we(!1),[]),[Oe,Fe]=Qe(!1),ur=wr(()=>{Fe(xe=>!xe)},[]),Ve=wr(()=>{Au(e),De()},[e,De]),Ae=qh(P),We=wr(({connections:xe})=>{const Ue=Kh(Ae.current),vr=Date.now(),Je=xe.map(ar=>Qh(ar,Ue,vr,p)),Dr=[];for(const ar of Ae.current)Je.findIndex(Vr=>Vr.id===ar.id)<0&&Dr.push(ar);O(ar=>[...Dr,...ar].slice(0,101)),Je&&(Je.length!==0||Ae.current.length!==0)&&!Oe?(Ae.current=Je,D(Je)):Ae.current=Je},[D,p,Oe]),[cr,nr]=Qe(0);Uh(()=>Tu(e,We,()=>{setTimeout(()=>{nr(xe=>xe+1)},1e3)}),[e,We,cr,nr]);const dr=()=>{p.length===0&&p.push({reg:"",name:""}),g(!0)},Ke=()=>{b(p.filter(xe=>xe.reg||xe.name)),localStorage.setItem("sourceMap",JSON.stringify(p)),g(!1)};return Re("div",{children:[Re("div",{className:Lr.header,children:[U(Mu,{title:r("Connections")}),U("div",{className:Lr.inputWrapper,children:U(kn,{type:"text",name:"filter",autoComplete:"off",className:Lr.input,placeholder:r("Search"),onChange:xe=>k(xe.target.value)})})]}),Re(qt,{children:[Re("div",{style:{display:"flex",flexWrap:"wrap",paddingLeft:"30px",justifyContent:"flex-start"},children:[Re(_t,{style:{padding:"0 15px 0 0"},children:[Re(Zr,{children:[U("span",{children:r("Active")}),U("span",{className:Lr.connQty,children:U(Mi,{qty:fe.length})})]}),Re(Zr,{children:[U("span",{children:r("Closed")}),U("span",{className:Lr.connQty,children:U(Mi,{qty:le.length})})]})]}),U(Fu,{options:pe,selected:j,style:{width:"unset"},onChange:xe=>J(xe.target.value)})]}),U("div",{ref:C,style:{padding:30,paddingBottom:10,paddingTop:10},children:Re("div",{style:{height:S-Xh,overflow:"auto"},children:[Re(et,{children:[Ti(l,o,fe),Re(Mo,{icon:Oe?U(zu,{size:16}):U(ju,{size:16}),mainButtonStyles:Oe?{background:"#e74c3c"}:{},style:No,text:r(Oe?"Resume Refresh":"Pause Refresh"),onClick:ur,children:[U(Br,{text:r("close_all_connections"),onClick:Ee,children:U(To,{size:10})}),U(Br,{text:r("close_filter_connections"),onClick:V,children:U(To,{size:10})}),U(Br,{text:r("manage_column"),onClick:()=>n(!0),children:U(Lo,{size:10})}),U(Br,{text:r("reset_column"),onClick:u,children:U(Fo,{size:10})}),U(Br,{text:r("client_tag"),onClick:dr,children:U(Wo,{size:10})})]})]}),Re(et,{children:[Ti(l,o,le),Re(Mo,{icon:U(Lo,{size:16}),style:No,text:r("manage_column"),onClick:()=>n(!0),children:[U(Br,{text:r("reset_column"),onClick:u,children:U(Fo,{size:10})}),U(Br,{text:r("client_tag"),onClick:dr,children:U(Wo,{size:10})})]})]})]})}),U(qn,{isOpen:Se,primaryButtonOnTap:Ve,onRequestClose:De}),U(qn,{confirm:"close_filter_connections",isOpen:Le,primaryButtonOnTap:Ie,onRequestClose:se}),U(Hh,{isOpen:t,onRequestClose:f,columns:l,hiddenColumns:o,setColumns:s,setHiddenColumns:i}),U(Vh,{isOpen:m,onRequestClose:Ke,sourceMap:p,setSourceMap:b})]})]})}const nb=e=>({apiConfig:Gi(e)}),pb=Li(nb)(tb);export{pb as default}; diff --git a/wrt/files/webui/assets/Fab-12e96042.js b/wrt/files/webui/assets/Fab-12e96042.js new file mode 100644 index 0000000..4143072 --- /dev/null +++ b/wrt/files/webui/assets/Fab-12e96042.js @@ -0,0 +1 @@ +import{b as e,j as b,s as y,r as l}from"./index-3a58cb87.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/wrt/files/webui/assets/Fab-48def6bf.css b/wrt/files/webui/assets/Fab-48def6bf.css new file mode 100644 index 0000000..d7bf520 --- /dev/null +++ b/wrt/files/webui/assets/Fab-48def6bf.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:var(--color-focus-blue);border:1px solid var(--color-focus-blue);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/wrt/files/webui/assets/Input-4a412620.js b/wrt/files/webui/assets/Input-4a412620.js new file mode 100644 index 0000000..709bf82 --- /dev/null +++ b/wrt/files/webui/assets/Input-4a412620.js @@ -0,0 +1 @@ +import{b as s,t as a,R as f}from"./index-3a58cb87.js";const{useState:i,useRef:l,useEffect:p,useCallback:m}=f;function C(t){return s("input",{className:a.input,...t})}function R({value:t,...r}){const[u,n]=i(t),e=l(t);p(()=>{e.current!==t&&n(t),e.current=t},[t]);const c=m(o=>n(o.target.value),[n]);return s("input",{className:a.input,value:u,onChange:c,...r})}export{C as I,R as S}; diff --git a/wrt/files/webui/assets/Logs-4c263fad.css b/wrt/files/webui/assets/Logs-4c263fad.css new file mode 100644 index 0000000..bf7dfc3 --- /dev/null +++ b/wrt/files/webui/assets/Logs-4c263fad.css @@ -0,0 +1 @@ +._RuleSearch_ue4xf_1{padding:0 40px 5px}@media (max-width: 768px){._RuleSearch_ue4xf_1{padding:0 25px 5px}}._RuleSearchContainer_ue4xf_10{position:relative;height:40px}@media (max-width: 768px){._RuleSearchContainer_ue4xf_10{height:30px}}._inputWrapper_ue4xf_20{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:0;width:100%}._input_ue4xf_20{-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:var(--color-text-secondary);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_ue4xf_45{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:10px;line-height:0}._logMeta_pycfb_1{font-size:.8em;margin-bottom:5px;display:block;line-height:1.55em}._logType_pycfb_8{flex-shrink:0;text-align:center;width:66px;border-radius:100px;padding:3px 5px;margin:0 8px}._logTime_pycfb_17{flex-shrink:0;color:#fb923c}._logText_pycfb_22{flex-shrink:0;color:#888;align-items:center;line-height:1.35em;width:100%}@media (max-width: 768px){._logText_pycfb_22{display:inline-block}}._logsWrapper_pycfb_37{margin:45px;padding:10px;background-color:var(--bg-log-info-card);border-radius:4px;color:var(--color-text);overflow-y:auto}@media (max-width: 768px){._logsWrapper_pycfb_37{margin:25px}}._logsWrapper_pycfb_37 .log{margin-bottom:10px}._logPlaceholder_pycfb_54{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2d2d30}._logPlaceholder_pycfb_54 div:nth-child(2){color:var(--color-text-secondary);font-size:1.4em;opacity:.6}._logPlaceholderIcon_pycfb_67{opacity:.3} diff --git a/wrt/files/webui/assets/Logs-9ddf6a86.js b/wrt/files/webui/assets/Logs-9ddf6a86.js new file mode 100644 index 0000000..bea2ae2 --- /dev/null +++ b/wrt/files/webui/assets/Logs-9ddf6a86.js @@ -0,0 +1 @@ +import{r as f,R as y,p as d,u as S,b as a,j as p,d as T,X as R,Y as w,F as L,Z as W,C as N,q as C,$ as j,a0 as O,g as I,a1 as k,s as z}from"./index-3a58cb87.js";import{r as E,s as $,f as M}from"./logs-3f8dcdee.js";import{d as F}from"./debounce-c1ba2006.js";import{u as A}from"./useRemainingViewPortHeight-1c35aab5.js";import{F as H,p as B}from"./Fab-12e96042.js";import{P as D,a as Y}from"./play-c7b83a10.js";function v(){return v=Object.assign||function(e){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function V(e,o){if(e==null)return{};var t={},n=Object.keys(e),r,s;for(s=0;s=0)&&(t[r]=e[r]);return t}var b=f.forwardRef(function(e,o){var t=e.color,n=t===void 0?"currentColor":t,r=e.size,s=r===void 0?24:r,i=q(e,["color","size"]);return y.createElement("svg",v({ref:o,xmlns:"http://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},i),y.createElement("circle",{cx:"11",cy:"11",r:"8"}),y.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))});b.propTypes={color:d.string,size:d.oneOfType([d.string,d.number])};b.displayName="Search";const X=b,Z="_RuleSearch_ue4xf_1",G="_RuleSearchContainer_ue4xf_10",J="_inputWrapper_ue4xf_20",K="_input_ue4xf_20",Q="_iconWrapper_ue4xf_45",g={RuleSearch:Z,RuleSearchContainer:G,inputWrapper:J,input:K,iconWrapper:Q};function U({dispatch:e,searchText:o,updateSearchText:t}){const{t:n}=S(),[r,s]=f.useState(o),i=f.useCallback(c=>{e(t(c))},[e,t]),u=f.useMemo(()=>F(i,300),[i]),m=c=>{s(c.target.value),u(c.target.value)};return a("div",{className:g.RuleSearch,children:p("div",{className:g.RuleSearchContainer,children:[a("div",{className:g.inputWrapper,children:a("input",{type:"text",value:r,onChange:m,className:g.input,placeholder:n("Search")})}),a("div",{className:g.iconWrapper,children:a(X,{size:20})})]})})}const ee=e=>({searchText:R(e),updateSearchText:w}),te=T(ee)(U),re="_logMeta_pycfb_1",oe="_logType_pycfb_8",ne="_logTime_pycfb_17",ae="_logText_pycfb_22",se="_logsWrapper_pycfb_37",ce="_logPlaceholder_pycfb_54",le="_logPlaceholderIcon_pycfb_67",l={logMeta:re,logType:oe,logTime:ne,logText:ae,logsWrapper:se,logPlaceholder:ce,logPlaceholderIcon:le},{useCallback:x,useEffect:ie}=z,pe={debug:"#389d3d",info:"#58c3f2",warning:"#cc5abb",error:"#c11c1c"},ge={debug:"debug",info:"info",warning:"warn",error:"error"};function ue({time:e,payload:o,type:t}){return p("div",{className:l.logMeta,children:[a("span",{className:l.logTime,children:e}),p("span",{className:l.logType,style:{color:pe[t]},children:["[ ",ge[t]," ]"]}),a("span",{className:l.logText,children:o})]})}function he({dispatch:e,logLevel:o,apiConfig:t,logs:n,logStreamingPaused:r}){const s=L(),i=x(()=>{r?E({...t,logLevel:o}):$(),s.app.updateAppConfig("logStreamingPaused",!r)},[t,o,r,s.app]),u=x(_=>e(W(_)),[e]);ie(()=>{M({...t,logLevel:o},u)},[t,o,u]);const[m,c]=A(),{t:h}=S();return p("div",{children:[a(N,{title:h("Logs")}),a(te,{}),a("div",{ref:m,children:n.length===0?p("div",{className:l.logPlaceholder,style:{height:c*.9},children:[a("div",{className:l.logPlaceholderIcon,children:a(C,{width:200,height:200})}),a("div",{children:h("no_logs")})]}):p("div",{className:l.logsWrapper,style:{height:c*.85},children:[n.map((_,P)=>a("div",{className:"",children:a(ue,{..._})},P)),a(H,{icon:r?a(D,{size:16}):a(Y,{size:16}),mainButtonStyles:r?{background:"#e74c3c"}:{},style:B,text:h(r?"Resume Refresh":"Pause Refresh"),onClick:i})]})})]})}const de=e=>({logs:j(e),logLevel:O(e),apiConfig:I(e),logStreamingPaused:k(e)}),xe=T(de)(he);export{xe as default}; diff --git a/wrt/files/webui/assets/Proxies-06b60f95.css b/wrt/files/webui/assets/Proxies-06b60f95.css new file mode 100644 index 0000000..8b51531 --- /dev/null +++ b/wrt/files/webui/assets/Proxies-06b60f95.css @@ -0,0 +1 @@ +._FlexCenter_1380a_1{display:flex;justify-content:center;align-items:center}._header_19ilz_1{display:flex;align-items:center;padding:5px}._header_19ilz_1:focus{outline:none}._header_19ilz_1 ._arrow_19ilz_9{display:inline-flex;-webkit-transform:rotate(0deg);transform:rotate(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}._header_19ilz_1 ._arrow_19ilz_9._isOpen_19ilz_14{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._header_19ilz_1 ._arrow_19ilz_9:focus{outline:var(--color-focus-blue) solid 1px}._btn_19ilz_21{margin-left:5px}._qty_19ilz_26{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_1qjca_1{margin-bottom:12px}._group_1qjca_5{padding:10px;background-color:var(--color-bg-card);border-radius:10px;box-shadow:0 1px 5px #0000001a}._zapWrapper_1qjca_12{width:20px;height:20px;display:flex;align-items:center;justify-content:center}._arrow_1qjca_20{display:inline-flex;-webkit-transform:rotate(0deg);transform:rotate(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}._arrow_1qjca_20._isOpen_1qjca_25{-webkit-transform:rotate(180deg);transform:rotate(180deg)}._arrow_1qjca_20:focus{outline:var(--color-focus-blue) solid 1px}._proxy_xgbmr_4{padding:5px;position:relative;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;outline:var(--color-proxy-border) 1px outset;border:2px solid transparent;background-color:var(--color-bg-proxy)}._proxy_xgbmr_4:focus{border-color:var(--color-focus-blue)}@media screen and (min-width: 30em){._proxy_xgbmr_4{border-radius:10px;padding:10px}}._proxy_xgbmr_4._now_xgbmr_25{background-color:var(--color-focus-blue);color:#ddd}._proxy_xgbmr_4._error_xgbmr_29{opacity:.5}._proxy_xgbmr_4._selectable_xgbmr_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_xgbmr_4._selectable_xgbmr_32:hover{border-color:var(--card-hover-border-lightness)}._proxyType_xgbmr_40{font-family:var(--font-mono);font-size:.6em}@media screen and (min-width: 30em){._proxyType_xgbmr_40{font-size:.7em}}._udpType_xgbmr_50{font-family:var(--font-mono);font-size:.6em;margin-right:3px}@media screen and (min-width: 30em){._udpType_xgbmr_50{font-size:.7em}}._tfoType_xgbmr_61{padding:2px}._row_xgbmr_65{display:flex;align-items:center;height:auto;font-weight:400;justify-content:space-between}._proxyName_xgbmr_73{width:100%;margin-bottom:5px;font-size:.75em}@media screen and (min-width: 30em){._proxyName_xgbmr_73{font-size:.85em}}._proxySmall_xgbmr_84{position:relative;width:15px;height:15px;border-radius:50%}._proxySmall_xgbmr_84 ._now_xgbmr_25{position:absolute;width:9px;height:9px;margin:auto;top:0;right:0;bottom:0;left:0;border-radius:50%;background-color:#fffdfd}._proxySmall_xgbmr_84._selectable_xgbmr_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_xgbmr_84._selectable_xgbmr_32:hover{-webkit-transform:scale(1.5);transform:scale(1.5)}._proxyLatency_1h5y2_4{border-radius:20px;color:#eee;font-size:.75em}@media screen and (min-width: 30em){._proxyLatency_1h5y2_4{font-size:.8em}}._list_4awfc_4{margin:8px 0;display:grid;grid-gap:10px}._detail_4awfc_10{grid-template-columns:auto auto}@media screen and (min-width: 30em){._detail_4awfc_10{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}._summary_4awfc_19{grid-template-columns:repeat(auto-fill,12px);padding-left:10px}._updatedAt_1d817_4{margin-bottom:12px;margin-left:5px}._updatedAt_1d817_4 small{color:#777}._body_1d817_12{margin:10px 15px;padding:10px;background-color:var(--color-bg-card);border-radius:10px;box-shadow:0 1px 5px #0000001a}@media screen and (min-width: 30em){._body_1d817_12{margin:10px 40px}}._actionFooter_1d817_25{display:flex}._actionFooter_1d817_25 button{margin:0 5px}._actionFooter_1d817_25 button:first-child{margin-left:0}._refresh_1d817_35{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}._topBar_15n7g_4{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_15n7g_16{display:flex;align-items:center;flex-wrap:wrap;flex:1;justify-content:flex-end;margin-right:20px}._textFilterContainer_15n7g_25{max-width:350px;min-width:150px;flex:1;margin-right:8px}._group_15n7g_32{padding:10px 15px}@media screen and (min-width: 30em){._group_15n7g_32{padding:10px 40px}} diff --git a/wrt/files/webui/assets/Proxies-b1261fd3.js b/wrt/files/webui/assets/Proxies-b1261fd3.js new file mode 100644 index 0000000..6677c2d --- /dev/null +++ b/wrt/files/webui/assets/Proxies-b1261fd3.js @@ -0,0 +1 @@ +import{r as k,R as X,p as $,b as s,j as u,B as _,s as x,a2 as Ue,a3 as Ge,a4 as we,a5 as He,d as S,c as P,a6 as Ke,O as E,a7 as Ve,a8 as xe,a9 as ne,T as Ce,N as Ye,F as H,aa as Ze,ab as Xe,ac as Q,P as Qe,ad as Oe,ae as re,af as oe,ag as Je,ah as et,u as se,ai as tt,aj as Pe,ak as nt,g as ke,C as Ee,S as ae,al as rt,am as ot,an as st,ao as it,ap as at}from"./index-3a58cb87.js";import{C as J,B as ce}from"./BaseModal-ab8cd8e0.js";import{F as ct,p as lt,A as ut,I as dt}from"./Fab-12e96042.js";import{R as ht,T as ft}from"./TextFitler-ae90d90b.js";import{f as pt}from"./index-84fa0cb3.js";import{R as vt}from"./rotate-cw-6c7b4819.js";import{S as mt}from"./Select-0e7ed95b.js";import"./debounce-c1ba2006.js";function ee(){return ee=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _t(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 ie=k.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=yt(e,["color","size"]);return X.createElement("svg",ee({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),X.createElement("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}))});ie.propTypes={color:$.string,size:$.oneOfType([$.string,$.number])};ie.displayName="Zap";const R=ie,bt="_FlexCenter_1380a_1",gt={FlexCenter:bt};function wt({children:e}){return s("div",{className:gt.FlexCenter,children:e})}const{useRef:le,useEffect:xt}=x;function Ct({onClickPrimaryButton:e,onClickSecondaryButton:t}){const n=le(null),r=le(null);return xt(()=>{n.current.focus()},[]),u("div",{onKeyDown:i=>{i.keyCode===39?r.current.focus():i.keyCode===37&&n.current.focus()},children:[s("h2",{children:"Close Connections?"}),s("p",{children:"Click 'Yes' to close those connections that are still using the old selected proxy in this group"}),s("div",{style:{height:30}}),u(wt,{children:[s(_,{onClick:e,ref:n,children:"Yes"}),s("div",{style:{width:20}}),s(_,{onClick:t,ref:r,children:"No"})]})]})}const Ot="_header_19ilz_1",Pt="_arrow_19ilz_9",kt="_isOpen_19ilz_14",Et="_btn_19ilz_21",Tt="_qty_19ilz_26",ue={header:Ot,arrow:Pt,isOpen:kt,btn:Et,qty:Tt};function Te({name:e,type:t,toggle:n,qty:r}){const o=k.useCallback(i=>{i.preventDefault(),(i.key==="Enter"||i.key===" ")&&n()},[n]);return u("div",{className:ue.header,onClick:n,style:{cursor:"pointer"},tabIndex:0,onKeyDown:o,role:"button",children:[s("div",{children:s(Ue,{name:e,type:t})}),typeof r=="number"?s("span",{className:ue.qty,children:r}):null]})}const{useMemo:St}=x;function Lt(e,t){return e.filter(n=>{const r=t[n];return r===void 0?!0:r.number!==0})}const F=(e,t)=>{if(e&&typeof e.number=="number"&&e.number>0)return e.number;const n=t&&t.type;return n&&He.indexOf(n)>-1?-1:999999},Rt={Natural:e=>e,LatencyAsc:(e,t,n)=>e.sort((r,o)=>{const i=F(t[r],n&&n[r]),a=F(t[o],n&&n[o]);return i-a}),LatencyDesc:(e,t,n)=>e.sort((r,o)=>{const i=F(t[r],n&&n[r]);return F(t[o],n&&n[o])-i}),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 o=0;for(;o-1)return!0}return!1})}function Mt(e,t,n,r,o,i){let a=[...e];return n&&(a=Lt(e,t)),typeof r=="string"&&r!==""&&(a=At(a,r)),Rt[o](a,t,i)}function Se(e,t,n,r,o){const[i]=Ge(we);return St(()=>Mt(e,t,n,i,r,o),[e,t,n,i,r,o])}const Nt="_header_1qjca_1",Dt="_group_1qjca_5",zt="_zapWrapper_1qjca_12",Bt="_arrow_1qjca_20",$t="_isOpen_1qjca_25",b={header:Nt,group:Dt,zapWrapper:zt,arrow:Bt,isOpen:$t},Le={Right:39,Left:37,Enter:13,Space:32},Ft="_proxy_xgbmr_4",jt="_now_xgbmr_25",It="_error_xgbmr_29",Wt="_selectable_xgbmr_32",qt="_proxyType_xgbmr_40",Ut="_udpType_xgbmr_50",Gt="_tfoType_xgbmr_61",Ht="_row_xgbmr_65",Kt="_proxyName_xgbmr_73",Vt="_proxySmall_xgbmr_84",y={proxy:Ft,now:jt,error:It,selectable:Wt,proxyType:qt,udpType:Ut,tfoType:Gt,row:Ht,proxyName:Kt,proxySmall:Vt},Yt="_proxyLatency_1h5y2_4",de={proxyLatency:Yt};function Zt({number:e,color:t}){if(e>65e3)de.proxyLatency;else return s("span",{className:de.proxyLatency,style:{color:t},children:u("span",{children:[e," ms"]})})}const{useMemo:W}=x,L={good:"#67c23a",normal:"#d4b75c",bad:"#e67f3c",na:"#909399"};function Re({number:e}={},t){const n={good:t?800:200,normal:t?1500:500};return e===0?L.na:eXt({number:l},o),[l]),d=W(()=>{let h=t;return r&&typeof r.number=="number"&&(h+=r.number<65e3?": 🟢 "+r.number+" ms":": 🔴"),h},[t,r]),f=k.useCallback(()=>{i&&a&&a(t)},[t,a,i]),m=k.useCallback(h=>{h.keyCode===Le.Enter&&f()},[f]);return s("div",{title:d,className:P(y.proxySmall,{[y.selectable]:i}),style:{background:v,scale:e?"1.2":"1"},onClick:f,onKeyDown:m,role:i?"menuitem":"",children:e&&s("div",{className:y.now})})}function Jt(e){return e==="Shadowsocks"?"SS":e}const en=e=>({left:e.left+window.scrollX-5,top:e.top+window.scrollY-38});function tn({children:e,label:t,"aria-label":n}){const[r,o]=Ke();return u(E,{children:[k.cloneElement(e,r),s(Ve,{...o,label:t,"aria-label":n,position:en})]})}function nn({now:e,name:t,proxy:n,latency:r,httpsLatencyTest:o,isSelectable:i,onClick:a}){var C;const c=(C=n.history[n.history.length-1])==null?void 0:C.delay,l=(r==null?void 0:r.number)??c,v=W(()=>Re({number:l},o),[l]),d=k.useCallback(()=>{i&&a&&a(t)},[t,a,i]);function f(g,O){return g?O?"XUDP":"UDP":""}function m(g){return g?s("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2962",width:"10",height:"10",children:s("path",{d:"M648.093513 719.209284l-1.492609-40.940127 31.046263-26.739021c202.73892-174.805813 284.022131-385.860697 255.70521-561.306199-176.938111-28.786027-389.698834 51.857494-563.907604 254.511123l-26.31256 30.619803-40.38573-0.938211c-60.557271-1.407317-111.903014 12.79379-162.822297 47.0385l189.561318 127.084977-37.95491 68.489421c-9.126237 16.461343-0.554398 53.307457 29.084549 82.818465 29.5963 29.511008 67.380626 38.381369 83.287571 29.852176l68.318836-36.760822 127.639376 191.267156c36.163779-52.11337 50.450177-103.629696 48.189941-165.039887zM994.336107 16.105249l10.490908 2.686696 2.64405 10.405615c47.46496 178.089552-1.023503 451.492838-274.170913 686.898568 4.051367 111.263324-35.396151 200.222809-127.255561 291.741051l-15.779008 15.693715-145.934494-218.731157c-51.217805 27.59194-128.790816 10.405616-183.93205-44.522388-55.226525-55.013296-72.41285-132.287785-43.498885-184.529093L0.002773 430.325513l15.736362-15.65107c89.300652-88.959484 178.64395-128.108481 289.011709-125.549722C539.730114 15.806727 815.56422-31.061189 994.336107 16.105249zM214.93844 805.098259c28.572797 28.572797 22.346486 79.49208-12.537914 114.376479C156.428175 965.489735 34.034254 986.002445 34.034254 986.002445s25.331704-127.084978 66.612998-168.323627c34.8844-34.8844 85.633099-41.281295 114.291188-12.580559zM661.01524 298.549479a63.968948 63.968948 0 1 0 0 127.937897 63.968948 63.968948 0 0 0 0-127.937897z","p-id":"2963"})}):""}const p=k.useCallback(g=>{g.keyCode===Le.Enter&&d()},[d]),h=W(()=>P(y.proxy,{[y.now]:e,[y.error]:r&&r.error||c>65e3,[y.selectable]:i}),[i,e,r]);return u("div",{tabIndex:0,className:h,onClick:d,onKeyDown:p,role:i?"menuitem":"",children:[u("div",{className:P(y.proxyName,y.row),children:[s(tn,{label:t,"aria-label":`proxy name: ${t}`,children:s("span",{children:t})}),s("span",{className:y.proxyType,style:{paddingLeft:4,opacity:.6,color:"#51A8DD"},children:f(n.udp,n.xudp)})]}),u("div",{className:y.row,children:[u("div",{className:y.row,children:[s("span",{className:y.proxyType,style:{paddingRight:4,opacity:.6,color:"#F596AA"},children:Jt(n.type)}),m(n.tfo)]}),l?s(Zt,{number:l,color:v}):null]})]})}const Ae=(e,{name:t})=>{const n=xe(e),r=ne(e),o=Ce(e);return{proxy:n[t]||{name:t,history:[]},latency:r[t],httpsLatencyTest:o.startsWith("https://")}},rn=S(Ae)(nn),on=S(Ae)(Qt),sn="_list_4awfc_4",an="_detail_4awfc_10",cn="_summary_4awfc_19",q={list:sn,detail:an,summary:cn};function Me({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){const o=e;return s("div",{className:P(q.list,q.detail),children:o.map(i=>s(rn,{onClick:r,isSelectable:n,name:i,now:i===t},i))})}function Ne({all:e,now:t,isSelectable:n,itemOnTapCallback:r}){return s("div",{className:P(q.list,q.summary),children:e.map(o=>s(on,{onClick:r,isSelectable:n,name:o,now:o===t},o))})}const{createElement:ln,useCallback:Y,useMemo:un,useState:he,useEffect:dn}=x;function fe(){return s("div",{className:b.zapWrapper,children:s(R,{size:16})})}function hn({name:e,all:t,delay:n,hideUnavailableProxies:r,proxySortBy:o,proxies:i,type:a,now:c,isOpen:l,latencyTestUrl:v,apiConfig:d,dispatch:f}){const m=Se(t,n,r,o,i),{data:p}=Ye(["/version",d],()=>Qe("/version",d)),h=un(()=>["Selector",p.meta&&"Fallback",p.meta&&"URLTest"].includes(a),[a,p.meta]),{app:{updateCollapsibleIsOpen:C},proxies:{requestDelayForProxies:g}}=H(),O=Y(()=>{C("proxyGroup",e,!l)},[l,C,e]),V=Y(B=>{h&&f(Ze(d,e,B))},[d,f,e,h]),[A,M]=he(!1),N=Y(async()=>{M(!0);try{p.meta===!0?(await Xe(d,e,v),await f(Q(d))):(await g(d,m),await f(Q(d)))}catch{}M(!1)},[m,d,f,e,p.meta]),[D,w]=he(window.innerWidth),z=()=>{w(window.innerWidth)};return dn(()=>(window.addEventListener("resize",z),()=>window.removeEventListener("resize",z)),[]),u("div",{className:b.group,children:[u("div",{style:{display:"flex",alignItems:"center",justifyContent:D>768?"start":"space-between"},children:[s(Te,{name:e,type:a,toggle:O,qty:m.length}),s("div",{style:{display:"flex"},children:D>768?u(E,{children:[s(_,{kind:"minimal",onClick:O,className:b.btn,title:"Toggle collapsible section",children:s("span",{className:P(b.arrow,{[b.isOpen]:l}),children:s(J,{size:20})})}),s(_,{title:"Test latency",kind:"minimal",onClick:N,isLoading:A,children:s(fe,{})})]}):u(E,{children:[s(_,{title:"Test latency",kind:"minimal",onClick:N,isLoading:A,children:s(fe,{})}),s(_,{kind:"minimal",onClick:O,className:b.btn,title:"Toggle collapsible section",children:s("span",{className:P(b.arrow,{[b.isOpen]:l}),children:s(J,{size:20})})})]})})]}),ln(l?Me:Ne,{all:m,now:c,isSelectable:h,itemOnTapCallback:V})]})}const fn=S((e,{name:t,delay:n})=>{const r=xe(e),o=Oe(e),i=re(e),a=oe(e),c=Ce(e),l=r[t],{all:v,type:d,now:f}=l;return{all:v,delay:n,hideUnavailableProxies:a,proxySortBy:i,proxies:r,type:d,now:f,isOpen:o[`proxyGroup:${t}`],latencyTestUrl:c}})(hn),{useCallback:De,useState:pn}=x;function vn({dispatch:e,apiConfig:t,name:n}){return De(()=>e(Je(t,n)),[t,e,n])}function mn({dispatch:e,apiConfig:t,names:n}){const[r,o]=pn(!1);return[De(async()=>{if(!r){o(!0);try{await e(et(t,n))}catch{}o(!1)}},[t,e,n,r]),r]}const{useState:yn,useCallback:_n}=x;function bn({isLoading:e}){return e?s(dt,{children:s(R,{width:16,height:16})}):s(R,{width:16,height:16})}function gn({dispatch:e,apiConfig:t}){const[n,r]=yn(!1);return[_n(()=>{n||(r(!0),e(tt(t)).then(()=>r(!1),()=>r(!1)))},[t,e,n]),n]}function wn({dispatch:e,apiConfig:t,proxyProviders:n}){const{t:r}=se(),[o,i]=gn({dispatch:e,apiConfig:t}),[a,c]=mn({apiConfig:t,dispatch:e,names:n.map(l=>l.name)});return s(ct,{icon:s(bn,{isLoading:i}),onClick:o,text:r("Test Latency"),style:lt,children:n.length>0?s(ut,{text:r("update_all_proxy_provider"),onClick:a,children:s(ht,{isRotating:c})}):null})}var ze=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!te||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),En?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!te||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=kn.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Be=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof T(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new zn(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof T(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new Bn(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Fe=typeof WeakMap<"u"?new WeakMap:new ze,je=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Tn.getInstance(),r=new $n(t,n,this);Fe.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){je.prototype[e]=function(){var t;return(t=Fe.get(this))[e].apply(t,arguments)}});var Fn=function(){return typeof U.ResizeObserver<"u"?U.ResizeObserver:je}();const{memo:jn,useState:In,useRef:Ie,useEffect:We}=X;function Wn(e){const t=Ie();return We(()=>void(t.current=e),[e]),t.current}function qn(){const e=Ie(),[t,n]=In({height:0});return We(()=>{const r=new Fn(([o])=>n(o.contentRect));return e.current&&r.observe(e.current),()=>r.disconnect()},[]),[e,t]}const Un={initialOpen:{height:"auto",transition:{duration:0}},open:e=>({height:e,opacity:1,visibility:"visible",transition:{duration:.3}}),closed:{height:0,opacity:0,visibility:"hidden",overflowY:"hidden",transition:{duration:.3}}},Gn={open:{},closed:{}},ve=jn(({children:e,isOpen:t})=>{const r=Pe.read().motion,o=Wn(t),[i,{height:a}]=qn();return s("div",{children:s(r.div,{animate:t&&o===t?"initialOpen":t?"open":"closed",custom:a,variants:Un,children:s(r.div,{variants:Gn,ref:i,children:e})})})}),Hn="_updatedAt_1d817_4",Kn="_body_1d817_12",Vn="_actionFooter_1d817_25",Yn="_refresh_1d817_35",I={updatedAt:Hn,body:Kn,actionFooter:Vn,refresh:Yn},{useState:Zn,useCallback:me}=x;function Xn({name:e,proxies:t,delay:n,hideUnavailableProxies:r,proxySortBy:o,vehicleType:i,updatedAt:a,subscriptionInfo:c,isOpen:l,dispatch:v,apiConfig:d}){const f=Se(t,n,r,o),[m,p]=Zn(!1),h=vn({dispatch:v,apiConfig:d,name:e}),C=me(async()=>{p(!0),await v(nt(d,e)),p(!1)},[d,v,e,p]),{app:{updateCollapsibleIsOpen:g}}=H(),O=me(()=>{g("proxyProvider",e,!l)},[l,g,e]),V=pt(new Date(a),new Date),A=c?ye(c.Total):0,M=c?ye(c.Download+c.Upload):0,N=c?((c.Download+c.Upload)/c.Total*100).toFixed(2):0,D=()=>{if(c.Expire===0)return"Null";const w=new Date(c.Expire*1e3),z=w.getFullYear()+"-",B=(w.getMonth()+1<10?"0"+(w.getMonth()+1):w.getMonth()+1)+"-",qe=(w.getDate()<10?"0"+w.getDate():w.getDate())+" ";return z+B+qe};return u("div",{className:I.body,children:[u("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between"},children:[s(Te,{name:e,toggle:O,type:i,isOpen:l,qty:f.length}),u("div",{style:{display:"flex"},children:[s(_,{kind:"minimal",onClick:O,className:b.btn,title:"Toggle collapsible section",children:s("span",{className:P(b.arrow,{[b.isOpen]:l}),children:s(J,{size:20})})}),s(_,{kind:"minimal",start:s(_e,{}),onClick:h}),s(_,{kind:"minimal",start:s(R,{size:16}),onClick:C,isLoading:m})]})]}),u("div",{className:I.updatedAt,children:[c&&u("small",{children:[M," / ",A," ( ",N,"% )    Expire: ",D()," "]}),s("br",{}),u("small",{children:["Updated ",V," ago"]})]}),u(ve,{isOpen:l,children:[s(Me,{all:f}),u("div",{className:I.actionFooter,children:[s(_,{text:"Update",start:s(_e,{}),onClick:h}),s(_,{text:"Health Check",start:s(R,{size:16}),onClick:C,isLoading:m})]})]}),s(ve,{isOpen:!l,children:s(Ne,{all:f})})]})}const Qn={rest:{scale:1},pressed:{scale:.95}},Jn={rest:{rotate:0},hover:{rotate:360,transition:{duration:.3}}};function ye(e,t=2){if(!+e)return"0 Bytes";const n=1024,r=t<0?0:t,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return`${parseFloat((e/Math.pow(n,i)).toFixed(r))} ${o[i]}`}function _e(){const t=Pe.read().motion;return s(t.div,{className:I.refresh,variants:Qn,initial:"rest",whileHover:"hover",whileTap:"pressed",children:s(t.div,{className:"flexCenter",variants:Jn,children:s(vt,{size:16})})})}const er=(e,{proxies:t,name:n})=>{const r=oe(e),o=ne(e),i=Oe(e),a=ke(e),c=re(e);return{apiConfig:a,proxies:t,delay:o,hideUnavailableProxies:r,proxySortBy:c,isOpen:i[`proxyProvider:${n}`]}},tr=S(er)(Xn);function nr({items:e}){return e.length===0?null:(e=e.filter(t=>!["auto","GLOBAL"].includes(t.name)),u(E,{children:[s(Ee,{title:"Proxy Provider"}),s("div",{children:e.map(t=>s(tr,{name:t.name,proxies:t.proxies,type:t.type,vehicleType:t.vehicleType,updatedAt:t.updatedAt,subscriptionInfo:t.subscriptionInfo},t.name))})]}))}const rr="_labeledInput_cmki0_1",Z={labeledInput:rr},or=[["Natural","order_natural"],["LatencyAsc","order_latency_asc"],["LatencyDesc","order_latency_desc"],["NameAsc","order_name_asc"],["NameDesc","order_name_desc"]],{useCallback:be}=x;function sr({appConfig:e}){const{app:{updateAppConfig:t}}=H(),n=be(i=>{t("proxySortBy",i.target.value)},[t]),r=be(i=>{t("hideUnavailableProxies",i)},[t]),{t:o}=se();return u(E,{children:[u("div",{className:Z.labeledInput,children:[s("span",{children:o("sort_in_grp")}),s("div",{children:s(mt,{options:or.map(i=>[i[0],o(i[1])]),selected:e.proxySortBy,onChange:n})})]}),s("hr",{}),u("div",{className:Z.labeledInput,children:[s("span",{children:o("hide_unavail_proxies")}),s("div",{children:s(ae,{name:"hideUnavailableProxies",checked:e.hideUnavailableProxies,onChange:r})})]}),u("div",{className:Z.labeledInput,children:[s("span",{children:o("auto_close_conns")}),s("div",{children:s(ae,{name:"autoCloseOldConns",checked:e.autoCloseOldConns,onChange:i=>t("autoCloseOldConns",i)})})]})]})}const ir=e=>{const t=re(e),n=oe(e),r=rt(e);return{appConfig:{proxySortBy:t,hideUnavailableProxies:n,autoCloseOldConns:r}}},ar=S(ir)(sr);function cr({color:e="currentColor",size:t=24}){return u("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:[s("path",{d:"M2 6h9M18.5 6H22"}),s("circle",{cx:"16",cy:"6",r:"2"}),s("path",{d:"M22 18h-9M6 18H2"}),s("circle",{r:"2",transform:"matrix(-1 0 0 1 8 18)"})]})}const lr="_topBar_15n7g_4",ur="_topBarRight_15n7g_16",dr="_textFilterContainer_15n7g_25",hr="_group_15n7g_32",j={topBar:lr,topBarRight:ur,textFilterContainer:dr,group:hr},{useState:fr,useEffect:pr,useCallback:ge,useRef:vr}=x;function mr({dispatch:e,groupNames:t,delay:n,proxyProviders:r,apiConfig:o,showModalClosePrevConns:i}){const a=vr({}),c=ge(()=>{a.current.startAt=Date.now(),e(Q(o)).then(()=>{a.current.completeAt=Date.now()})},[o,e]);pr(()=>{c();const h=()=>{a.current.startAt&&Date.now()-a.current.startAt>3e4&&c()};return window.addEventListener("focus",h,!1),()=>window.removeEventListener("focus",h,!1)},[c]);const[l,v]=fr(!1),d=ge(()=>{v(!1)},[]),{proxies:{closeModalClosePrevConns:f,closePrevConnsAndTheModal:m}}=H(),{t:p}=se();return t=t.filter(h=>!["auto","GLOBAL"].includes(h)),u(E,{children:[s(ce,{isOpen:l,onRequestClose:d,children:s(ar,{})}),u("div",{className:j.topBar,children:[s(Ee,{title:p("Proxies")}),u("div",{className:j.topBarRight,children:[s("div",{className:j.textFilterContainer,children:s(ft,{textAtom:we,placeholder:p("Search")})}),s(ot,{label:p("settings"),children:s(_,{kind:"minimal",onClick:()=>v(!0),children:s(cr,{size:16})})})]})]}),s("div",{children:t.map(h=>s("div",{className:j.group,children:s(fn,{name:h,delay:n,apiConfig:o,dispatch:e})},h))}),s(nr,{items:r}),s("div",{style:{height:60}}),s(wn,{dispatch:e,apiConfig:o,proxyProviders:r}),s(ce,{isOpen:i,onRequestClose:f,children:s(Ct,{onClickPrimaryButton:()=>m(o),onClickSecondaryButton:f})})]})}const yr=e=>({apiConfig:ke(e),groupNames:st(e),proxyProviders:it(e),delay:ne(e),showModalClosePrevConns:at(e)}),kr=S(yr)(mr);export{kr as default}; diff --git a/wrt/files/webui/assets/Rules-162ef666.css b/wrt/files/webui/assets/Rules-162ef666.css new file mode 100644 index 0000000..d6191f2 --- /dev/null +++ b/wrt/files/webui/assets/Rules-162ef666.css @@ -0,0 +1 @@ +._RuleProviderItem_ly9yn_1{display:grid;grid-template-columns:40px 1fr 46px;height:100%}._left_ly9yn_7{display:inline-flex;align-items:center;color:var(--color-text-secondary);opacity:.4}._middle_ly9yn_14{display:grid;grid-template-rows:1fr auto auto;align-items:center}._gray_ly9yn_20{color:#777}._refreshButtonWrapper_ly9yn_24{display:grid;align-items:center;justify-items:center;place-items:center;opacity:0;transition:opacity .2s}._RuleProviderItem_ly9yn_1:hover ._refreshButtonWrapper_ly9yn_24{opacity:1}._rule_1e5p9_4{display:flex;align-items:center;padding:6px 15px}@media screen and (min-width: 30em){._rule_1e5p9_4{padding:10px 40px}}._left_1e5p9_15{width:40px;padding-right:15px;color:var(--color-text-secondary);opacity:.4}._a_1e5p9_22{display:flex;align-items:center;font-size:1em;opacity:.8}._b_1e5p9_29{flex-grow:1;padding:10px 0;font-family:Roboto Mono,Menlo,monospace;font-size:1em}@media screen and (min-width: 30em){._b_1e5p9_29{font-size:1em}}._type_1e5p9_41{width:110px;color:#3b5f76}._size_1e5p9_46{width:110px}._payloadAndSize_1e5p9_50{display:flex;align-items:center}._header_10x16_4{display:grid;grid-template-columns:1fr minmax(auto,290px);align-items:center;padding-right:15px}._RuleProviderItemWrapper_10x16_11{padding:6px 15px}@media screen and (min-width: 30em){._RuleProviderItemWrapper_10x16_11{padding:10px 40px}} diff --git a/wrt/files/webui/assets/Rules-ce05c965.js b/wrt/files/webui/assets/Rules-ce05c965.js new file mode 100644 index 0000000..b62591f --- /dev/null +++ b/wrt/files/webui/assets/Rules-ce05c965.js @@ -0,0 +1 @@ +import{k as ie,h as W,aq as be,ar as se,as as Me,R as N,at as Oe,au as B,av as ze,aw as Te,ax as K,r as L,V as q,ay as Ce,N as ae,a3 as we,j as O,b as g,a2 as xe,B as Ne,u as oe,d as Pe,g as Ee,C as Ae}from"./index-3a58cb87.js";import{_ as G}from"./objectWithoutPropertiesLoose-4f48578a.js";import{R as le,T as ke}from"./TextFitler-ae90d90b.js";import{f as Le}from"./index-84fa0cb3.js";import{F as We,p as De}from"./Fab-12e96042.js";import{u as $e}from"./useRemainingViewPortHeight-1c35aab5.js";import"./rotate-cw-6c7b4819.js";import"./debounce-c1ba2006.js";var Fe=function(r){ie(e,r);function e(n,i){var s;return s=r.call(this)||this,s.client=n,s.setOptions(i),s.bindMethods(),s.updateResult(),s}var t=e.prototype;return t.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},t.setOptions=function(i){this.options=this.client.defaultMutationOptions(i)},t.onUnsubscribe=function(){if(!this.listeners.length){var i;(i=this.currentMutation)==null||i.removeObserver(this)}},t.onMutationUpdate=function(i){this.updateResult();var s={listeners:!0};i.type==="success"?s.onSuccess=!0:i.type==="error"&&(s.onError=!0),this.notify(s)},t.getCurrentResult=function(){return this.currentResult},t.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},t.mutate=function(i,s){return this.mutateOptions=s,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,W({},this.options,{variables:typeof i<"u"?i:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},t.updateResult=function(){var i=this.currentMutation?this.currentMutation.state:be(),s=W({},i,{isLoading:i.status==="loading",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=s},t.notify=function(i){var s=this;se.batch(function(){s.mutateOptions&&(i.onSuccess?(s.mutateOptions.onSuccess==null||s.mutateOptions.onSuccess(s.currentResult.data,s.currentResult.variables,s.currentResult.context),s.mutateOptions.onSettled==null||s.mutateOptions.onSettled(s.currentResult.data,null,s.currentResult.variables,s.currentResult.context)):i.onError&&(s.mutateOptions.onError==null||s.mutateOptions.onError(s.currentResult.error,s.currentResult.variables,s.currentResult.context),s.mutateOptions.onSettled==null||s.mutateOptions.onSettled(void 0,s.currentResult.error,s.currentResult.variables,s.currentResult.context))),i.listeners&&s.listeners.forEach(function(o){o(s.currentResult)})})},e}(Me);function ue(r,e,t){var n=N.useRef(!1),i=N.useState(0),s=i[1],o=Oe(r,e,t),d=B(),c=N.useRef();c.current?c.current.setOptions(o):c.current=new Fe(d,o);var v=c.current.getCurrentResult();N.useEffect(function(){n.current=!0;var M=c.current.subscribe(se.batchCalls(function(){n.current&&s(function(_){return _+1})}));return function(){n.current=!1,M()}},[]);var y=N.useCallback(function(M,_){c.current.mutate(M,_).catch(ze)},[]);if(v.error&&Te(void 0,c.current.options.useErrorBoundary,[v.error]))throw v.error;return W({},v,{mutate:y,mutateAsync:v.mutate})}var J=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ue(r,e){return!!(r===e||J(r)&&J(e))}function Be(r,e){if(r.length!==e.length)return!1;for(var t=0;t=e?r.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var F=-1;function Y(r){if(r===void 0&&(r=!1),F===-1||r){var e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",document.body.appendChild(e),F=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return F}var w=null;function ee(r){if(r===void 0&&(r=!1),w===null||r){var e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?w="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?w="negative":w="positive-ascending"),document.body.removeChild(e),w}return w}var je=150,Qe=function(e,t){return e};function Ve(r){var e,t=r.getItemOffset,n=r.getEstimatedTotalSize,i=r.getItemSize,s=r.getOffsetForIndexAndAlignment,o=r.getStartIndexForOffset,d=r.getStopIndexForStartIndex,c=r.initInstanceProps,v=r.shouldResetStyleCacheOnItemSizeChange,y=r.validateProps;return e=function(M){ie(_,M);function _(R){var a;return a=M.call(this,R)||this,a._instanceProps=c(a.props,K(a)),a._outerRef=void 0,a._resetIsScrollingTimeoutId=null,a.state={instance:K(a),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof a.props.initialScrollOffset=="number"?a.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},a._callOnItemsRendered=void 0,a._callOnItemsRendered=$(function(l,u,h,m){return a.props.onItemsRendered({overscanStartIndex:l,overscanStopIndex:u,visibleStartIndex:h,visibleStopIndex:m})}),a._callOnScroll=void 0,a._callOnScroll=$(function(l,u,h){return a.props.onScroll({scrollDirection:l,scrollOffset:u,scrollUpdateWasRequested:h})}),a._getItemStyle=void 0,a._getItemStyle=function(l){var u=a.props,h=u.direction,m=u.itemSize,S=u.layout,f=a._getItemStyleCache(v&&m,v&&S,v&&h),p;if(f.hasOwnProperty(l))p=f[l];else{var I=t(a.props,l,a._instanceProps),z=i(a.props,l,a._instanceProps),T=h==="horizontal"||S==="horizontal",A=h==="rtl",k=T?I:0;f[l]=p={position:"absolute",left:A?void 0:k,right:A?k:void 0,top:T?0:I,height:T?"100%":z,width:T?z:"100%"}}return p},a._getItemStyleCache=void 0,a._getItemStyleCache=$(function(l,u,h){return{}}),a._onScrollHorizontal=function(l){var u=l.currentTarget,h=u.clientWidth,m=u.scrollLeft,S=u.scrollWidth;a.setState(function(f){if(f.scrollOffset===m)return null;var p=a.props.direction,I=m;if(p==="rtl")switch(ee()){case"negative":I=-m;break;case"positive-descending":I=S-h-m;break}return I=Math.max(0,Math.min(I,S-h)),{isScrolling:!0,scrollDirection:f.scrollOffsetp.clientWidth?Y():0:f=p.scrollHeight>p.clientHeight?Y():0}this.scrollTo(s(this.props,a,l,S,this._instanceProps,f))},b.componentDidMount=function(){var a=this.props,l=a.direction,u=a.initialScrollOffset,h=a.layout;if(typeof u=="number"&&this._outerRef!=null){var m=this._outerRef;l==="horizontal"||h==="horizontal"?m.scrollLeft=u:m.scrollTop=u}this._callPropsCallbacks()},b.componentDidUpdate=function(){var a=this.props,l=a.direction,u=a.layout,h=this.state,m=h.scrollOffset,S=h.scrollUpdateWasRequested;if(S&&this._outerRef!=null){var f=this._outerRef;if(l==="horizontal"||u==="horizontal")if(l==="rtl")switch(ee()){case"negative":f.scrollLeft=-m;break;case"positive-ascending":f.scrollLeft=m;break;default:var p=f.clientWidth,I=f.scrollWidth;f.scrollLeft=I-p-m;break}else f.scrollLeft=m;else f.scrollTop=m}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&X(this._resetIsScrollingTimeoutId)},b.render=function(){var a=this.props,l=a.children,u=a.className,h=a.direction,m=a.height,S=a.innerRef,f=a.innerElementType,p=a.innerTagName,I=a.itemCount,z=a.itemData,T=a.itemKey,A=T===void 0?Qe:T,k=a.layout,ve=a.outerElementType,pe=a.outerTagName,ge=a.style,Se=a.useIsScrolling,Ie=a.width,H=this.state.isScrolling,D=h==="horizontal"||k==="horizontal",ye=D?this._onScrollHorizontal:this._onScrollVertical,j=this._getRangeToRender(),_e=j[0],Re=j[1],Q=[];if(I>0)for(var E=_e;E<=Re;E++)Q.push(L.createElement(l,{data:z,key:A(E,z),index:E,isScrolling:Se?H:void 0,style:this._getItemStyle(E)}));var V=n(this.props,this._instanceProps);return L.createElement(ve||pe||"div",{className:u,onScroll:ye,ref:this._outerRefSetter,style:W({position:"relative",height:m,width:Ie,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:h},ge)},L.createElement(f||p||"div",{children:Q,ref:S,style:{height:D?"100%":V,pointerEvents:H?"none":void 0,width:D?V:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var a=this.props.itemCount;if(a>0){var l=this._getRangeToRender(),u=l[0],h=l[1],m=l[2],S=l[3];this._callOnItemsRendered(u,h,m,S)}}if(typeof this.props.onScroll=="function"){var f=this.state,p=f.scrollDirection,I=f.scrollOffset,z=f.scrollUpdateWasRequested;this._callOnScroll(p,I,z)}},b._getRangeToRender=function(){var a=this.props,l=a.itemCount,u=a.overscanCount,h=this.state,m=h.isScrolling,S=h.scrollDirection,f=h.scrollOffset;if(l===0)return[0,0,0,0];var p=o(this.props,f,this._instanceProps),I=d(this.props,p,f,this._instanceProps),z=!m||S==="backward"?Math.max(1,u):1,T=!m||S==="forward"?Math.max(1,u):1;return[Math.max(0,p-z),Math.max(0,Math.min(l-1,I+T)),p,I]},_}(L.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var Ke=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Ge=50,P=function(e,t,n){var i=e,s=i.itemSize,o=n.itemMetadataMap,d=n.lastMeasuredIndex;if(t>d){var c=0;if(d>=0){var v=o[d];c=v.offset+v.size}for(var y=d+1;y<=t;y++){var M=s(y);o[y]={offset:c,size:M},c+=M}n.lastMeasuredIndex=t}return o[t]},Je=function(e,t,n){var i=t.itemMetadataMap,s=t.lastMeasuredIndex,o=s>0?i[s].offset:0;return o>=n?ce(e,t,s,0,n):Ze(e,t,Math.max(0,s),n)},ce=function(e,t,n,i,s){for(;i<=n;){var o=i+Math.floor((n-i)/2),d=P(e,o,t).offset;if(d===s)return o;ds&&(n=o-1)}return i>0?i-1:0},Ze=function(e,t,n,i){for(var s=e.itemCount,o=1;n=n&&(o=n-1),o>=0){var c=i[o];d=c.offset+c.size}var v=n-o-1,y=v*s;return d+y},Xe=Ve({getItemOffset:function(e,t,n){return P(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:te,getOffsetForIndexAndAlignment:function(e,t,n,i,s,o){var d=e.direction,c=e.height,v=e.layout,y=e.width,M=d==="horizontal"||v==="horizontal",_=M?y:c,b=P(e,t,s),R=te(e,s),a=Math.max(0,Math.min(R-_,b.offset)),l=Math.max(0,b.offset-_+b.size+o);switch(n==="smart"&&(i>=l-_&&i<=a+_?n="auto":n="center"),n){case"start":return a;case"end":return l;case"center":return Math.round(l+(a-l)/2);case"auto":default:return i>=l&&i<=a?i:i=0,"there is no valid rules list in the rules API response"),r.rules.map((e,t)=>({...e,id:t}))}async function lt(r,e){let t={rules:[]};try{const{url:n,init:i}=q(e),s=await fetch(n+r,i);s.ok&&(t=await s.json())}catch(n){console.log("failed to fetch rules",n)}return ot(t)}const fe=Ce({key:"ruleFilterText",default:""});function ut(r,e){const t=B(),{mutate:n,isLoading:i}=ue(de,{onSuccess:()=>{t.invalidateQueries("/providers/rules")}});return[o=>{o.preventDefault(),n({name:r,apiConfig:e})},i]}function ct(r){const e=B(),{data:t}=he(r),{mutate:n,isLoading:i}=ue(it,{onSuccess:()=>{e.invalidateQueries("/providers/rules")}});return[o=>{o.preventDefault(),n({names:t.names,apiConfig:r})},i]}function he(r){return ae(["/providers/rules",r],()=>nt("/providers/rules",r))}function dt(r){const{data:e,isFetching:t}=ae(["/rules",r],()=>lt("/rules",r)),{data:n}=he(r),[i]=we(fe);if(i==="")return{rules:e,provider:n,isFetching:t};{const s=i.toLowerCase();return{rules:e.filter(o=>o.payload.toLowerCase().indexOf(s)>=0),isFetching:t,provider:{byName:n.byName,names:n.names.filter(o=>o.toLowerCase().indexOf(s)>=0)}}}}const ft="_RuleProviderItem_ly9yn_1",ht="_left_ly9yn_7",mt="_middle_ly9yn_14",vt="_gray_ly9yn_20",pt="_refreshButtonWrapper_ly9yn_24",x={RuleProviderItem:ft,left:ht,middle:mt,gray:vt,refreshButtonWrapper:pt};function gt({idx:r,name:e,vehicleType:t,behavior:n,updatedAt:i,ruleCount:s,apiConfig:o}){const[d,c]=ut(e,o),v=Le(new Date(i),new Date);return O("div",{className:x.RuleProviderItem,children:[g("span",{className:x.left,children:r}),O("div",{className:x.middle,children:[g(xe,{name:e,type:`${t} / ${n}`}),g("div",{className:x.gray,children:s<2?`${s} rule`:`${s} rules`}),O("small",{className:x.gray,children:["Updated ",v," ago"]})]}),g("span",{className:x.refreshButtonWrapper,children:g(Ne,{onClick:d,disabled:c,children:g(le,{isRotating:c})})})]})}function St({apiConfig:r}){const[e,t]=ct(r),{t:n}=oe();return g(We,{icon:g(le,{isRotating:t}),text:n("update_all_rule_provider"),style:De,onClick:e})}const It="_rule_1e5p9_4",yt="_left_1e5p9_15",_t="_a_1e5p9_22",Rt="_b_1e5p9_29",bt="_type_1e5p9_41",Mt="_size_1e5p9_46",Ot="_payloadAndSize_1e5p9_50",C={rule:It,left:yt,a:_t,b:Rt,type:bt,size:Mt,payloadAndSize:Ot},U={_default:"#59caf9",DIRECT:"#f5bc41",REJECT:"#cb3166"};function zt({proxy:r}){let e=U._default;return U[r]&&(e=U[r]),{color:e}}function Tt({type:r,payload:e,proxy:t,id:n,size:i}){const s=zt({proxy:t});return O("div",{className:C.rule,children:[g("div",{className:C.left,children:n}),O("div",{style:{marginLeft:10},children:[O("div",{className:C.payloadAndSize,children:[g("div",{className:C.payload,children:e}),(r==="GeoSite"||r==="GeoIP")&&O("div",{style:{margin:"0 1em"},className:C.size,children:[" ","size: ",i]})]}),O("div",{className:C.a,children:[g("div",{className:C.type,children:r}),g("div",{style:s,children:t})]})]})]})}const Ct="_header_10x16_4",wt="_RuleProviderItemWrapper_10x16_11",me={header:Ct,RuleProviderItemWrapper:wt},{memo:xt}=N,ne=30;function Nt(r,{rules:e,provider:t}){const n=t.names.length;return r{const{rules:n,provider:i,apiConfig:s}=t,o=i.names.length;if(r({apiConfig:Ee(r)}),Ht=Pe(At)(kt);function kt({apiConfig:r}){const[e,t]=$e(),{rules:n,provider:i}=dt(r),s=Pt({provider:i}),{t:o}=oe();return O("div",{children:[O("div",{className:me.header,children:[g(Ae,{title:o("Rules")}),g(ke,{textAtom:fe,placeholder:o("Search")})]}),g("div",{ref:e,style:{paddingBottom:ne},children:g(Xe,{height:t-ne,width:"100%",itemCount:n.length+i.names.length,itemSize:s,itemData:{rules:n,provider:i,apiConfig:r},itemKey:Nt,children:Et})}),i&&i.names&&i.names.length>0?g(St,{apiConfig:r}):null]})}export{Ht as default}; diff --git a/wrt/files/webui/assets/Select-07e025ab.css b/wrt/files/webui/assets/Select-07e025ab.css new file mode 100644 index 0000000..13d042e --- /dev/null +++ b/wrt/files/webui/assets/Select-07e025ab.css @@ -0,0 +1 @@ +._select_gfkcv_1{height:35px;line-height:1.5;width:100%;font-size:small;padding-left:15px;-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_gfkcv_1:hover,._select_gfkcv_1:focus{outline:none!important}._select_gfkcv_1:hover,._select_gfkcv_1:focus{border-color:#343434;color:var(--color-text-highlight);background-image:var(--select-bg-hover)}._select_gfkcv_1:focus{box-shadow:#4299e199 0 0 0 3px}._select_gfkcv_1 option{background-color:var(--color-background)} diff --git a/wrt/files/webui/assets/Select-0e7ed95b.js b/wrt/files/webui/assets/Select-0e7ed95b.js new file mode 100644 index 0000000..2217422 --- /dev/null +++ b/wrt/files/webui/assets/Select-0e7ed95b.js @@ -0,0 +1 @@ +import{b as c}from"./index-3a58cb87.js";const r="_select_gfkcv_1",a={select:r};function m({options:s,selected:t,onChange:l,...n}){return c("select",{className:a.select,value:t,onChange:l,...n,children:s.map(([e,o])=>c("option",{value:e,children:o},e))})}export{m as S}; diff --git a/wrt/files/webui/assets/TextFitler-a112af1a.css b/wrt/files/webui/assets/TextFitler-a112af1a.css new file mode 100644 index 0000000..112e3b1 --- /dev/null +++ b/wrt/files/webui/assets/TextFitler-a112af1a.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_uqa0o_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:var(--color-text-secondary);display:inline-block;font-size:inherit;outline:none;padding:8px 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;height:36px}._input_uqa0o_1:focus{border:1px solid var(--color-focus-blue)} diff --git a/wrt/files/webui/assets/TextFitler-ae90d90b.js b/wrt/files/webui/assets/TextFitler-ae90d90b.js new file mode 100644 index 0000000..8232c55 --- /dev/null +++ b/wrt/files/webui/assets/TextFitler-ae90d90b.js @@ -0,0 +1 @@ +import{c as r,b as n,a3 as u,s as l}from"./index-3a58cb87.js";import{R as p}from"./rotate-cw-6c7b4819.js";import{d as _}from"./debounce-c1ba2006.js";const x="_rotate_1dspl_1",g="_isRotating_1dspl_5",d="_rotating_1dspl_1",c={rotate:x,isRotating:g,rotating:d};function N({isRotating:t}){const e=r(c.rotate,{[c.isRotating]:t});return n("span",{className:e,children:n(p,{width:16})})}const{useCallback:m,useState:R,useMemo:h}=l;function f(t){const[,e]=u(t),[o,i]=R(""),s=h(()=>_(e,300),[e]);return[m(a=>{i(a.target.value),s(a.target.value)},[s]),o]}const T="_input_uqa0o_1",b={input:T};function j(t){const[e,o]=f(t.textAtom);return n("input",{className:b.input,type:"text",value:o,onChange:e,placeholder:t.placeholder})}export{N as R,j as T}; diff --git a/wrt/files/webui/assets/chart-lib-6081a478.js b/wrt/files/webui/assets/chart-lib-6081a478.js new file mode 100644 index 0000000..28bbbe1 --- /dev/null +++ b/wrt/files/webui/assets/chart-lib-6081a478.js @@ -0,0 +1,16 @@ +var un=Object.defineProperty;var gn=(i,t,e)=>t in i?un(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var S=(i,t,e)=>(gn(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"],pn=i=>Ye[i&15],mn=i=>Ye[(i&240)>>4]+Ye[i&15],oe=i=>(i&240)>>4===(i&15),bn=i=>oe(i.r)&&oe(i.g)&&oe(i.b)&&oe(i.a);function _n(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 xn=(i,t)=>i<255?t(i):"";function yn(i){var t=bn(i)?pn:mn;return i?"#"+t(i.r)+t(i.g)+t(i.b)+xn(i.a,t):void 0}const vn=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ss(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 kn(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 wn(i,t,e){const s=Ss(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 Mn(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=Mn(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(Ss,i,t,e)}function Sn(i,t,e){return ei(wn,i,t,e)}function Pn(i,t,e){return ei(kn,i,t,e)}function Ps(i){return(i%360+360)%360}function Dn(i){const t=vn.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?Wt(+t[5]):ht(+t[5]));const n=Ps(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=Sn(n,o,r):t[1]==="hsv"?s=Pn(n,o,r):s=ii(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function On(i,t){var e=ti(i);e[0]=Ps(e[0]+t),e=ii(e),i.r=e[0],i.g=e[1],i.b=e[2]}function Ln(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 Tn(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 In=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function An(i){const t=In.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 Fn(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 zn(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 Ds(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=Ds(i,{r:0,g:0,b:0,a:1}),t.a=ht(t.a)),t}function En(i){return i.charAt(0)==="r"?An(i):Dn(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=_n(t)||Tn(t)||En(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=Ds(this._rgb);return t&&(t.a=st(t.a)),t}set rgb(t){this._rgb=mi(t)}rgbString(){return this._valid?Fn(this._rgb):void 0}hexString(){return this._valid?yn(this._rgb):void 0}hslString(){return this._valid?Ln(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=zn(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 On(this._rgb,t),this}}/*! + * Chart.js v4.2.0 + * https://www.chartjs.org + * (c) 2023 Chart.js Contributors + * Released under the MIT License + */const Rn=(()=>{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 O(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 D(i,t){return typeof i>"u"?t:i}const Bn=(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 Wn(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 Vn(i){const t=Wn(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]=Vn(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 jn(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const H=Math.PI,X=2*H,$n=X+H,Me=Number.POSITIVE_INFINITY,Un=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 Xn(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function Ls(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 Qn(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)&&(Ts.forEach(o=>{delete i[o]}),delete i._chartjs)}function to(i){const t=new Set;let e,s;for(e=0,s=i.length;e"u"?function(i){return i()}:window.requestAnimationFrame}();function As(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,Is.call(window,()=>{s=!1,i.apply(t,e)}))}}function eo(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Fs=i=>i==="start"?"left":i==="end"?"right":"center",$=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,io=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function so(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 no(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 zs(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Di(i){return zs(i)?i:new Kt(i)}function Re(i){return zs(i)?i:new Kt(i).saturate(.5).darken(.1).hexString()}const oo=["x","y","borderWidth","radius","tension"],ro=["color","borderColor","backgroundColor"];function ao(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:ro},numbers:{type:"number",properties:oo}}),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 lo(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Oi=new Map;function co(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 co(t,e).format(i)}const Es={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=ho(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?Es.numeric.call(this,i,t,e):""}};function ho(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 Te={formatters:Es};function fo(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:Te.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 O(l)?Object.assign({},c,l):D(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var R=new uo({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[ao,lo,fo]);function go(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 po(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,xo(i,o),l=0;l+i||0;function Hs(i,t){const e={},s=O(t),n=s?Object.keys(t):t,o=O(i)?s?r=>D(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=So(o(r));return e}function Po(i){return Hs(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ns(i){return Hs(i,["topLeft","topRight","bottomLeft","bottomRight"])}function G(i){const t=Po(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=D(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=D(i.style,t.style);s&&!(""+s).match(wo)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:D(i.family,t.family),lineHeight:Mo(D(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:D(i.weight,t.weight),string:""};return n.string=go(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=$s("_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 Vs(r,a,()=>zo(a,t,i,r))},getOwnPropertyDescriptor(r,a){return Reflect.getOwnPropertyDescriptor(r._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(r,a){return Ti(r).includes(a)},ownKeys(r){return Ti(r)},set(r,a,l){const c=r._storage||(r._storage=n());return r[a]=c[a]=l,delete r._keys,!0}})}function Ct(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:Ws(i,s),setContext:o=>Ct(i,o,e,s),override:o=>Ct(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 Vs(o,r,()=>Lo(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 Ws(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 Oo=(i,t)=>i?i+si(t):t,li=(i,t)=>O(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Vs(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t))return i[t];const s=e();return i[t]=s,s}function Lo(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=To(t,a,i,r.isIndexable)),li(t,a)&&(a=Ct(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 To(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(O(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(Ct(f,o,r&&r[i],a))}}return t}function js(i,t,e){return ft(i)?i(t,e):i}const Io=(i,t)=>i===!0?t:typeof i=="string"?we(t,i):void 0;function Ao(i,t,e,s,n){for(const o of t){const r=Io(e,o);if(r){i.add(r);const a=js(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=js(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=Ci(a,r,e,o||e,s);return l===null||Z(o)&&o!==e&&(l=Ci(a,r,o,l,s),l===null)?!1:ai(Array.from(a),[""],n,o,()=>Fo(t,e,s))}function Ci(i,t,e,s,n){for(;e;)e=Ao(i,t,e,s,n);return e}function Fo(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return F(n)&&O(e)?e:n||{}}function zo(i,t,e,s){let n;for(const o of t)if(n=$s(Oo(o,i),e),Z(n))return li(i,n)?ci(e,s,i,n):n}function $s(i,t){for(const e of t){if(!e)continue;const s=e[i];if(Z(s))return s}}function Ti(i){let t=i._keys;return t||(t=i._keys=Eo(i._scopes)),t}function Eo(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 Ro=Number.EPSILON||1e-14,Tt=(i,t)=>ti==="x"?"y":"x";function Bo(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 Ho(i,t,e){const s=i.length;let n,o,r,a,l,c=Tt(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Wo(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 $o(i,t){return Fe(i).getPropertyValue(t)}const Uo=["top","right","bottom","left"];function xt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=Uo[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Yo=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Xo(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Yo(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}=Xo(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 Ko(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 qo(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=Ko(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 Go=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=$o(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 Zo(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 Qo(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 Jo=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}}},tr=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?Jo(t,e):tr()}function er(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 ir(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function Xs(i){return i==="angle"?{between:Cs,compare:qn,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 sr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=Xs(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),y=()=>g||L(),v=()=>!g||_();for(let k=h,M=h;k<=f;++k)x=t[k%r],!x.skip&&(b=c(x[s]),b!==w&&(g=l(b,n,o),p===null&&y()&&(p=a(b,n)===0?k:M),p!==null&&v()&&(m.push(Fi({start:p,end:k,loop:d,count:r,style:u})),p=null),M=k,w=b));return p!==null&&m.push(Fi({start:p,end:f,loop:d,count:r,style:u})),m}function qs(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 or(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 rr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=nr(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=Is.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 cr;const Ri="transparent",hr={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 fr{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||hr[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(!O(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=gr(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&ur(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 fr(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 ur(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=_r(o,r,s),f=t.length;let d;for(let u=0;ue[s].axis===t).shift()}function vr(i,t){return kt(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function kr(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),wr=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:Gs(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=D(s.xAxisID,Ne(t,"x")),r=e.yAxisID=D(s.yAxisID,Ne(t,"y")),a=e.rAxisID=D(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(O(e))this._data=br(e);else if(s!==e){if(s){Mi(s,this);const n=this._cachedMeta;Et(n),n._parsed=[]}e&&Object.isExtensible(e)&&Jn(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):O(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 dr(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;_=x){v.skip=!0;continue}const k=this.getParsed(_),M=A(k[u]),C=v[d]=r.getPixelForValue(k[d],_),P=v[u]=o||M?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],_);v.skip=isNaN(C)||isNaN(P)||M,v.stop=_>0&&Math.abs(k[d]-L[d])>p,g&&(v.parsed=k,v.raw=c.data[_]),f&&(v.options=h||this.resolveDataElementOptions(_,y.active?"active":n)),b||this.updateElement(y,_,v,n),L=k}}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 Mr={_date:fi};function Sr(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?Zn:_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 Lr={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=>Zs.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 Qs(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 Fr(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!O(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&&Qs(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 zr(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 Er(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);Qs(d,G(s));const u=Object.assign({maxPadding:d,w:o,h:r,x:n.left,y:n.top},n),m=Ir(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),zr(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 Js{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 Rr extends Js{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const xe="$chartjs",Br={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ki=i=>i===null||i==="";function Hr(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 tn=Go?{passive:!0}:!1;function Nr(i,t,e){i.addEventListener(t,e,tn)}function Wr(i,t,e){i.canvas.removeEventListener(t,e,tn)}function Vr(i,t){const e=Br[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 jr(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 $r(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 en(){const i=window.devicePixelRatio;i!==qi&&(qi=i,Qt.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function Ur(i,t){Qt.size||window.addEventListener("resize",en),Qt.set(i,t)}function Yr(i){Qt.delete(i),Qt.size||window.removeEventListener("resize",en)}function Xr(i,t,e){const s=i.canvas,n=s&&hi(s);if(!n)return;const o=As((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),Ur(i,o),r}function $e(i,t,e){e&&e.disconnect(),t==="resize"&&Yr(i)}function Kr(i,t,e){const s=i.canvas,n=As(o=>{i.ctx!==null&&e(Vr(o,i))},i);return Nr(s,t,n),n}class qr extends Js{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Hr(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:jr,detach:$r,resize:Xr}[e]||Kr;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]||Wr)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return qo(t,e,s,n)}isAttached(t){const e=hi(t);return!!(e&&e.isConnected)}}function Gr(i){return!Ys()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Rr:qr}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 Zr(i,t){const e=i.options.ticks,s=Qr(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?ta(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return ea(t,c,o,r/n),c;const h=Jr(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 ta(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;function Zi(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function oa(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=Do(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-Qi(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=Qi(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:o[v]||0,height:r[v]||0});return{first:y(0),last:y(e-1),widest:y(L),highest:y(_),widths:o,heights:r}}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 Gn(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 x,w,L,_,y,v,k,M,C,P,T,W;if(r==="top")x=b(this.bottom),v=this.bottom-d,M=x-p,P=b(t.top)+p,W=t.bottom;else if(r==="bottom")x=b(this.top),P=t.top,W=b(t.bottom)-p,v=x+p,M=this.top+d;else if(r==="left")x=b(this.right),y=this.right-d,k=x-p,C=b(t.left)+p,T=t.right;else if(r==="right")x=b(this.left),C=t.left,T=b(t.right)-p,y=x+p,k=this.left+d;else if(e==="x"){if(r==="center")x=b((t.top+t.bottom)/2+.5);else if(O(r)){const B=Object.keys(r)[0],K=r[B];x=b(this.chart.scales[B].getPixelForValue(K))}P=t.top,W=t.bottom,v=x+p,M=v+d}else if(e==="y"){if(r==="center")x=b((t.left+t.right)/2);else if(O(r)){const B=Object.keys(r)[0],K=r[B];x=b(this.chart.scales[B].getPixelForValue(K))}y=x-p,k=y-d,C=t.left,T=t.right}const Q=D(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 da(i){return"id"in i&&"defaults"in i}class ua{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 pa(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 ka(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(!O(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=ya(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=xa(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 sn(i){const t=i.options||(i.options={});t.plugins=D(t.plugins,{}),t.scales=ka(i,t)}function nn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function wa(i){return i=i||{},i.data=nn(i.data),sn(i),i}const Ji=new Map,on=new Set;function pe(i,t){let e=Ji.get(i);return e||(e=t(),Ji.set(i,e),on.add(e)),e}const Nt=(i,t,e)=>{const s=we(t,e);s!==void 0&&i.add(s)};class Ma{constructor(t){this._config=wa(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=nn(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(),sn(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)),on.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}=ts(this._resolverCache,t,n);let l=r;if(Pa(r,e)){o.$shared=!1,s=ft(s)?s():s;const c=this.createResolver(t,s,a);l=Ct(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=ts(this._resolverCache,t,s);return O(e)?Ct(o,e,void 0,n):o}}function ts(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 Sa=i=>O(i)&&Object.getOwnPropertyNames(i).reduce((t,e)=>t||ft(i[e]),!1);function Pa(i,t){const{isScriptable:e,isIndexable:s}=Ws(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(ft(a)||Sa(a))||r&&F(a))return!0}return!1}var Da="4.2.0";const Oa=["top","bottom","left","right","chartArea"];function es(i,t){return i==="top"||i==="bottom"||Oa.indexOf(i)===-1&&t==="x"}function is(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function ss(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),I(e&&e.onComplete,[i],t)}function La(i){const t=i.chart,e=t.options.animation;I(e&&e.onProgress,[i],t)}function rn(i){return Ys()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const ye={},ns=i=>{const t=rn(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 Ta(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Ia(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),os()}static unregister(...t){J.remove(...t),os()}constructor(t,e){const s=this.config=new Ma(e),n=rn(t),o=ns(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||Gr(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=Rn(),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 ga,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=eo(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",ss),it.listen(this,"progress",La),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=D(a.type,r.dtype);(a.position===void 0||es(a.position,c)!==es(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(is("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=Ia(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=Lr.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=jn(t),c=Ta(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",Da),S(nt,"getChart",ns);function os(){return N(nt.instances,i=>i._plugins.invalidate())}function an(i,t,e=t){i.lineCap=D(e.borderCapStyle,t.borderCapStyle),i.setLineDash(D(e.borderDash,t.borderDash)),i.lineDashOffset=D(e.borderDashOffset,t.borderDashOffset),i.lineJoin=D(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=D(e.borderWidth,t.borderWidth),i.strokeStyle=D(e.borderColor,t.borderColor)}function Aa(i,t,e){i.lineTo(e.x,e.y)}function Fa(i){return i.stepped?bo:i.tension||i.cubicInterpolationMode==="monotone"?_o:Aa}function ln(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-L:L))%o,w=()=>{g!==p&&(i.lineTo(h,p),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[x(0)],i.moveTo(u.x,u.y)),d=0;d<=a;++d){if(u=n[x(d)],u.skip)continue;const L=u.x,_=u.y,y=L|0;y===m?(_p&&(p=_),h=(f*h+L)/++f):(w(),i.lineTo(L,_),m=y,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?Ea:za}function Ra(i){return i.stepped?Zo:i.tension||i.cubicInterpolationMode==="monotone"?Qo:bt}function Ba(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),an(i,t.options),i.stroke(n)}function Ha(i,t,e,s){const{segments:n,options:o}=t,r=qe(t);for(const a of n)an(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Na=typeof Path2D=="function";function Wa(i,t,e,s){Na&&!t.options.segment?Ba(i,t,e,s):Ha(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;jo(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=rr(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=qs(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Ra(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function rs(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 as(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function cn(i,t){let e=[],s=!1;return F(i)?(s=!0,e=i):e=ja(i,t),e.length?new ct({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function ls(i){return i&&i.fill!==!1}function $a(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 Ua(i,t,e){const s=qa(i);if(O(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return z(n)&&Math.floor(n)===n?Ya(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Ya(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function Xa(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:O(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function Ka(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:O(i)?s=i.value:s=t.getBaseValue(),s}function qa(i){const t=i.options,e=t.fill;let s=D(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function Ga(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=Za(t,e);a.push(cn({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;ls(o)&&Ue(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!ls(s)||e.drawTime!=="beforeDatasetDraw"||Ue(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ds=(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)}},ll=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class us 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}=ds(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:x,itemHeight:w}=cl(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:x,height:w},d=Math.max(d,x),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}=ds(r,f),b=function(y,v,k){if(isNaN(m)||m<=0||isNaN(g)||g<0)return;n.save();const M=D(k.lineWidth,1);if(n.fillStyle=D(k.fillStyle,a),n.lineCap=D(k.lineCap,"butt"),n.lineDashOffset=D(k.lineDashOffset,0),n.lineJoin=D(k.lineJoin,"miter"),n.lineWidth=M,n.strokeStyle=D(k.strokeStyle,a),n.setLineDash(D(k.lineDash,[])),r.usePointStyle){const C={radius:g*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:M},P=l.xPlus(y,m/2),T=v+d;Rs(n,C,P,T,r.pointStyleWidth&&m)}else{const C=v+Math.max((f-g)/2,0),P=l.leftForLtr(y,m),T=Ns(k.borderRadius);n.beginPath(),Object.values(T).some(W=>W!==0)?Bs(n,{x:P,y:C,w:m,h:g,radius:T}):n.rect(P,C,m,g),n.fill(),M!==0&&n.stroke()}n.restore()},x=function(y,v,k){Lt(n,k.text,y,v+p/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},w=this.isHorizontal(),L=this._computeTitleHeight();w?u={x:$(o,this.left+h,this.right-s[0]),y:this.top+h+L,line:0}:u={x:this.left+h,y:$(o,this.top+L+h,this.bottom-e[0].height),line:0},er(this.ctx,t.textDirection);const _=p+h;this.legendItems.forEach((y,v)=>{n.strokeStyle=y.fontColor,n.fillStyle=y.fontColor;const k=n.measureText(y.text).width,M=l.textAlign(y.textAlign||(y.textAlign=r.textAlign)),C=m+d+k;let P=u.x,T=u.y;l.setWidth(this.width),w?v>0&&P+C+h>this.right&&(T=u.y+=_,u.line++,P=u.x=$(o,this.left+h,this.right-s[u.line])):v>0&&T+_>this.bottom&&(P=u.x=P+e[u.line].width+h,u.line++,T=u.y=$(o,this.top+L+h,this.bottom-e[u.line].height));const W=l.x(P);if(b(W,T,y),P=io(M,P+m+d,w?P+C:this.right,t.rtl),x(l.x(P),T,y),w)u.x+=C+h;else if(typeof y.text!="string"){const Q=c.lineHeight;u.y+=fn(y,Q)}else u.y+=_}),ir(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(Fs(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 fl(i,t,e){let s=i;return typeof t.text!="string"&&(s=fn(t,e)),s}function fn(i,t){const e=i.text?i.text.length+.5:0;return t*e}function dl(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var ul={id:"legend",_element:us,start(i,t,e){const s=i.legend=new us({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 gl=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function pl(i,t,e,s){const n=i.indexOf(t);if(n===-1)return gl(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const ml=(i,t)=>i===null?null:tt(Math.round(i),0,t);function gs(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:gs}});function bl(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),x=!A(a),w=!A(c),L=(p-g)/(f+1);let _=vi((p-g)/m/u)*u,y,v,k,M;if(_<1e-14&&!b&&!x)return[{value:g},{value:p}];M=Math.ceil(p/_)-Math.floor(g/_),M>m&&(_=vi(M*_/m/u)*u),A(l)||(y=Math.pow(10,l),_=Math.ceil(_*y)/y),n==="ticks"?(v=Math.floor(g/_)*_,k=Math.ceil(p/_)*_):(v=g,k=p),b&&x&&o&&Xn((a-r)/o,_/1e3)?(M=Math.round(Math.min((a-r)/_,h)),_=(a-r)/M,v=r,k=a):w?(v=b?r:v,k=x?a:k,M=c-1,_=(k-v)/M):(M=(k-v)/_,$t(M,Math.round(M),_/1e3)?M=Math.round(M):M=Math.ceil(M));const C=Math.max(ki(_),ki(v));y=Math.pow(10,A(l)?C:l),v=Math.round(v*y)/y,k=Math.round(k*y)/y;let P=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=bl(n,o);return t.bounds==="ticks"&&Ls(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:Te.formatters.numeric}});const Jt=i=>Math.floor(rt(i)),pt=(i,t)=>Math.pow(10,Jt(i)+t);function ms(i){return i/Math.pow(10,Jt(i))===1}function bs(i,t,e){const s=Math.pow(10,e),n=Math.floor(i/s);return Math.ceil(t/s)-n}function _l(i,t){const e=t-i;let s=Jt(e);for(;bs(i,t,s)>10;)s++;for(;bs(i,t,s)<10;)s--;return Math.min(s,Jt(i))}function xl(i,{min:t,max:e}){t=U(i.min,t);const s=[],n=Jt(t);let o=_l(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:ms(u),significand:f}),s}class _s 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=xl(e,this);return t.bounds==="ticks"&&Ls(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(_s,"id","logarithmic"),S(_s,"defaults",{ticks:{callback:Te.formatters.logarithmic,major:{enabled:!0}}});function Je(i){const t=i.ticks;if(t.display&&i.display){const e=G(t.backdropPadding);return D(t.font&&t.font.size,R.font.size)+e.height}return 0}function yl(i,t,e){return e=F(e)?e:[e],{w:po(i,t.string,e),h:e.length*t.lineHeight}}function xs(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 vl(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 wl(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 Dl(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=Ns(o.borderRadius),p=G(o.backdropPadding);e.fillStyle=m;const b=h-p.left,x=f-p.top,w=d-h+p.width,L=u-f+p.height;Object.values(g).some(_=>_!==0)?(e.beginPath(),Bs(e,{x:b,y:x,w,h:L,radius:g}),e.fill()):e.fillRect(b,x,w,L)}Lt(e,i._pointLabels[n],a,l+r.lineHeight/2,r,{color:o.color,textAlign:c,textBaseline:"middle"})}}function dn(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?vl(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);Ol(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:Te.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 ys(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 vs(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 Il(i){for(let t=V.indexOf(i)+1,e=V.length;t=t?e[s]:e[n];i[o]=!0}}function Al(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 ws(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||vs(o.minUnit,e,s,this._getLabelCapacity(e)),a=D(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 Ms extends Ce{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=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/wrt/files/webui/assets/en-1067a8eb.js b/wrt/files/webui/assets/en-1067a8eb.js new file mode 100644 index 0000000..a9a5264 --- /dev/null +++ b/wrt/files/webui/assets/en-1067a8eb.js @@ -0,0 +1 @@ +const e={All:"All",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","Memory Usage":"Memory Usage","Pause Refresh":"Pause Refresh","Resume Refresh":"Resume Refresh",close_all_connections:"Close All Connections",close_filter_connections:"Close all connections after filtering",Search:"Search",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",reload_config_file:"Reload config file",restart_core:"Restart clash core",upgrade_core:"Upgrade Alpha core",update_geo_databases_file:"Update GEO Databases ",flush_fake_ip_pool:"Flush fake-ip data",enable_tun_device:"Enable TUN Device",allow_lan:"Allow LAN",tls_sniffing:"Sniffer",c_host:"Host",c_sni:"Sniff Host",c_process:"Process",c_dl:"DL",c_ul:"UL",c_dl_speed:"DL Speed",c_ul_speed:"UP Speed",c_chains:"Chains",c_rule:"Rule",c_time:"Time",c_source:"Source",c_destination_ip:"Destination IP",c_type:"Type",c_ctrl:"Close",close_all_confirm:"Are you sure you want to close all connections?",close_all_confirm_yes:"I'm sure",close_all_confirm_no:"No",manage_column:"Custom columns",reset_column:"Reset columns",device_name:"Device Tag",delete:"Delete",add_tag:"Add tag",client_tag:"Client tags",sourceip_tip:"Prefix with / for regular expressions, otherwise it's a complete match",disconnect:"Close Connection",internel:"Internal Connection"};export{e as data}; diff --git a/wrt/files/webui/assets/index-3a58cb87.js b/wrt/files/webui/assets/index-3a58cb87.js new file mode 100644 index 0000000..cb73e1f --- /dev/null +++ b/wrt/files/webui/assets/index-3a58cb87.js @@ -0,0 +1,104 @@ +var jS=Object.defineProperty;var BS=(e,t,n)=>t in e?jS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Bh=(e,t,n)=>(BS(e,typeof t!="symbol"?t+"":t,n),n);function sg(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 ls=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zS(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 Li={},VS={get exports(){return Li},set exports(e){Li=e}},El={},L={},WS={get exports(){return L},set exports(e){L=e}},fe={};/** + * @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 sa=Symbol.for("react.element"),HS=Symbol.for("react.portal"),qS=Symbol.for("react.fragment"),KS=Symbol.for("react.strict_mode"),QS=Symbol.for("react.profiler"),GS=Symbol.for("react.provider"),XS=Symbol.for("react.context"),YS=Symbol.for("react.forward_ref"),JS=Symbol.for("react.suspense"),ZS=Symbol.for("react.memo"),e_=Symbol.for("react.lazy"),zh=Symbol.iterator;function t_(e){return e===null||typeof e!="object"?null:(e=zh&&e[zh]||e["@@iterator"],typeof e=="function"?e:null)}var lg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ug=Object.assign,cg={};function Lo(e,t,n){this.props=e,this.context=t,this.refs=cg,this.updater=n||lg}Lo.prototype.isReactComponent={};Lo.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")};Lo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fg(){}fg.prototype=Lo.prototype;function Qf(e,t,n){this.props=e,this.context=t,this.refs=cg,this.updater=n||lg}var Gf=Qf.prototype=new fg;Gf.constructor=Qf;ug(Gf,Lo.prototype);Gf.isPureReactComponent=!0;var Vh=Array.isArray,dg=Object.prototype.hasOwnProperty,Xf={current:null},hg={key:!0,ref:!0,__self:!0,__source:!0};function pg(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)dg.call(t,r)&&!hg.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":d_,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 Ht(e){return Ht=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},Ht(e)}function At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p_(e,t){if(Ht(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ht(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mg(e){var t=p_(e,"string");return Ht(t)==="symbol"?t:String(t)}function qh(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]:{};At(this,e),this.init(t,n)}return It(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 Yh(e,t,n){var r=Jf(e,t,Object),o=r.obj,i=r.k;o[i]=n}function S_(e,t,n,r){var o=Jf(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 ks(e,t){var n=Jf(e,t),r=n.obj,o=n.k;if(r)return r[o]}function Jh(e,t,n){var r=ks(e,n);return r!==void 0?r:ks(t,n)}function Sg(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]):Sg(e[r],t[r],n):e[r]=t[r]);return e}function Vr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var __={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function b_(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return __[t]}):e}var Rl=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,E_=[" ",",","?","!",";"];function C_(e,t,n){t=t||"",n=n||"";var r=E_.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 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 Ta(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 _g(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?_g(l,u,n):void 0}o=o[r[i]]}return o}}var x_=function(e){Cl(n,e);var t=R_(n);function n(r){var o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return At(this,n),o=t.call(this),Rl&&Zn.call(zn(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 It(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=ks(this.data,c);return f||!u||typeof a!="string"?f:_g(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),Yh(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=ks(this.data,c)||{};s?Sg(f,a,l):f=Ta(Ta({},f),a),Yh(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"?Ta(Ta({},{}),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}(Zn),bg={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 ep(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 tp={},np=function(e){Cl(n,e);var t=k_(n);function n(r){var o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return At(this,n),o=t.call(this),Rl&&Zn.call(zn(o)),w_(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,zn(o)),o.options=i,o.options.keySeparator===void 0&&(o.options.keySeparator="."),o.logger=rn.create("translator"),o}return It(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&&!C_(o,a,s);if(u&&!c){var f=o.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:o,namespaces:l};var d=o.split(a);(a!==s||a===s&&this.options.ns.indexOf(d[0])>-1)&&(l=d.shift()),o=d.join(s)}return typeof l=="string"&&(l=[l]),{key:o,namespaces:l}}},{key:"translate",value:function(o,i,a){var s=this;if(Ht(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,d=c.namespaces,p=d[d.length-1],v=i.lng||this.language,y=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(y){var _=i.nsSeparator||this.options.nsSeparator;return l?(m.res="".concat(p).concat(_).concat(f),m):"".concat(p).concat(_).concat(f)}return l?(m.res=f,m):f}var m=this.resolve(o,i),h=m&&m.res,g=m&&m.usedKey||f,S=m&&m.exactUsedKey||f,k=Object.prototype.toString.apply(h),T=["[object Number]","[object Function]","[object RegExp]"],N=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,I=!this.i18nFormat||this.i18nFormat.handleAsObject,G=typeof h!="string"&&typeof h!="boolean"&&typeof h!="number";if(I&&h&&G&&T.indexOf(k)<0&&!(typeof N=="string"&&k==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var $=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,Je(Je({},i),{},{ns:d})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return l?(m.res=$,m):$}if(u){var X=k==="[object Array]",ce=X?[]:{},re=X?S:g;for(var w in h)if(Object.prototype.hasOwnProperty.call(h,w)){var P="".concat(re).concat(u).concat(w);ce[w]=this.translate(P,Je(Je({},i),{joinArrays:!1,ns:d})),ce[w]===P&&(ce[w]=h[w])}h=ce}}else if(I&&typeof N=="string"&&k==="[object Array]")h=h.join(N),h&&(h=this.extendTranslation(h,o,i,a));else{var M=!1,C=!1,O=i.count!==void 0&&typeof i.count!="string",A=n.hasDefaultValue(i),D=O?this.pluralResolver.getSuffix(v,i.count,i):"",z=i["defaultValue".concat(D)]||i.defaultValue;!this.isValidLookup(h)&&A&&(M=!0,h=z),this.isValidLookup(h)||(C=!0,h=f);var b=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,U=b&&C?void 0:h,B=A&&z!==h&&this.options.updateMissing;if(C||M||B){if(this.logger.log(B?"updateKey":"missingKey",v,p,f,B?z:h),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 W=[],Z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Z&&Z[0])for(var ae=0;ae1&&arguments[1]!==void 0?arguments[1]:{},s,l,u,c,f;return typeof o=="string"&&(o=[o]),o.forEach(function(d){if(!i.isValidLookup(s)){var p=i.extractFromKey(d,a),v=p.key;l=v;var y=p.namespaces;i.options.fallbackNS&&(y=y.concat(i.options.fallbackNS));var _=a.count!==void 0&&typeof a.count!="string",m=_&&!a.ordinal&&a.count===0&&i.pluralResolver.shouldUseIntlApi(),h=a.context!==void 0&&(typeof a.context=="string"||typeof a.context=="number")&&a.context!=="",g=a.lngs?a.lngs:i.languageUtils.toResolveHierarchy(a.lng||i.language,a.fallbackLng);y.forEach(function(S){i.isValidLookup(s)||(f=S,!tp["".concat(g[0],"-").concat(S)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(f)&&(tp["".concat(g[0],"-").concat(S)]=!0,i.logger.warn('key "'.concat(l,'" for languages "').concat(g.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!!!")),g.forEach(function(k){if(!i.isValidLookup(s)){c=k;var T=[v];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(T,v,k,S,a);else{var N;_&&(N=i.pluralResolver.getSuffix(k,a.count,a));var I="".concat(i.options.pluralSeparator,"zero");if(_&&(T.push(v+N),m&&T.push(v+I)),h){var G="".concat(v).concat(i.options.contextSeparator).concat(a.context);T.push(G),_&&(T.push(G+N),m&&T.push(G+I))}}for(var $;$=T.pop();)i.isValidLookup(s)||(u=$,s=i.getResource(k,S,$,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}(Zn);function vu(e){return e.charAt(0).toUpperCase()+e.slice(1)}var rp=function(){function e(t){At(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rn.create("languageUtils")}return It(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]=vu(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]=vu(o[1].toLowerCase())),r.indexOf(o[2].toLowerCase())>-1&&(o[2]=vu(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}(),T_=[{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}],L_={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)}},N_=["v1","v2","v3"],op={zero:0,one:1,two:2,few:3,many:4,other:5};function A_(){var e={};return T_.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:L_[t.fc]}})}),e}var I_=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};At(this,e),this.languageUtils=t,this.options=n,this.logger=rn.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=A_()}return It(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 op[a]-op[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!N_.includes(this.options.compatibilityJSON)}}]),e}();function ip(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 Dt(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};At(this,e),this.logger=rn.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return It(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:b_,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Vr(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Vr(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?Vr(r.nestingPrefix):r.nestingPrefixEscaped||Vr("$t("),this.nestingSuffix=r.nestingSuffix?Vr(r.nestingSuffix):r.nestingSuffixEscaped||Vr(")"),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(_){return _.replace(/\$/g,"$$$$")}var d=function(m){if(m.indexOf(a.formatSeparator)<0){var h=Jh(r,c,m);return a.alwaysFormat?a.format(h,void 0,o,Dt(Dt(Dt({},i),r),{},{interpolationkey:m})):h}var g=m.split(a.formatSeparator),S=g.shift().trim(),k=g.join(a.formatSeparator).trim();return a.format(Jh(r,c,S),k,o,Dt(Dt(Dt({},i),r),{},{interpolationkey:S}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,v=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(m){return f(m)}},{regex:this.regexp,safeValue:function(m){return a.escapeValue?f(a.escape(m)):f(m)}}];return y.forEach(function(_){for(u=0;s=_.regex.exec(n);){var m=s[1].trim();if(l=d(m),l===void 0)if(typeof p=="function"){var h=p(n,s,i);l=typeof h=="string"?h:""}else if(i&&i.hasOwnProperty(m))l="";else if(v){l=s[0];continue}else a.logger.warn("missed to pass in variable ".concat(m," for interpolating ").concat(n)),l="";else typeof l!="string"&&!a.useRawValueToEscape&&(l=Xh(l));var g=_.safeValue(l);if(n=n.replace(s[0],g),v?(_.regex.lastIndex+=l.length,_.regex.lastIndex-=s[0].length):_.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(p,v){var y=this.nestingOptionsSeparator;if(p.indexOf(y)<0)return p;var _=p.split(new RegExp("".concat(y,"[ ]*{"))),m="{".concat(_[1]);p=_[0],m=this.interpolate(m,l);var h=m.match(/'/g),g=m.match(/"/g);(h&&h.length%2===0&&!g||g.length%2!==0)&&(m=m.replace(/'/g,'"'));try{l=JSON.parse(m),v&&(l=Dt(Dt({},v),l))}catch(S){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),S),"".concat(p).concat(y).concat(m)}return delete l.defaultValue,p}for(;a=this.nestingRegexp.exec(n);){var c=[];l=Dt({},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 d=a[1].split(this.formatSeparator).map(function(p){return p.trim()});a[1]=d.shift(),c=d,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=Xh(s)),s||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(n)),s=""),f&&(s=c.reduce(function(p,v){return o.format(p,v,i.lng,Dt(Dt({},i),{},{interpolationkey:a[1].trim()}))},s.trim())),n=n.replace(a[0],s),this.regexp.lastIndex=0}return n}}]),e}();function ap(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 On(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=m_(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 Wr(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 $_=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};At(this,e),this.logger=rn.create("formatter"),this.options=t,this.formats={number:Wr(function(n,r){var o=new Intl.NumberFormat(n,r);return function(i){return o.format(i)}}),currency:Wr(function(n,r){var o=new Intl.NumberFormat(n,On(On({},r),{},{style:"currency"}));return function(i){return o.format(i)}}),datetime:Wr(function(n,r){var o=new Intl.DateTimeFormat(n,On({},r));return function(i){return o.format(i)}}),relativetime:Wr(function(n,r){var o=new Intl.RelativeTimeFormat(n,On({},r));return function(i){return o.format(i,r.range||"day")}}),list:Wr(function(n,r){var o=new Intl.ListFormat(n,On({},r));return function(i){return o.format(i)}})},this.init(t)}return It(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()]=Wr(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=D_(c),d=f.formatName,p=f.formatOptions;if(a.formats[d]){var v=u;try{var y=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},_=y.locale||y.lng||i.locale||i.lng||o;v=a.formats[d](u,_,On(On(On({},p),i),y))}catch(m){a.logger.warn(m)}return v}else a.logger.warn("there was no format function for ".concat(d));return u},n);return l}}]),e}();function sp(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 lp(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 j_(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var B_=function(e){Cl(n,e);var t=U_(n);function n(r,o,i){var a,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return At(this,n),a=t.call(this),Rl&&Zn.call(zn(a)),a.backend=r,a.store=o,a.services=i,a.languageUtils=i.languageUtils,a.options=s,a.logger=rn.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 It(n,[{key:"queueLoad",value:function(o,i,a,s){var l=this,u={},c={},f={},d={};return o.forEach(function(p){var v=!0;i.forEach(function(y){var _="".concat(p,"|").concat(y);!a.reload&&l.store.hasResourceBundle(p,y)?l.state[_]=2:l.state[_]<0||(l.state[_]===1?c[_]===void 0&&(c[_]=!0):(l.state[_]=1,v=!1,c[_]===void 0&&(c[_]=!0),u[_]===void 0&&(u[_]=!0),d[y]===void 0&&(d[y]=!0)))}),v||(f[p]=!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(d)}}},{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){S_(f.loaded,[l],u),j_(f,o),i&&f.errors.push(i),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(d){c[d]||(c[d]={});var p=f.loaded[d];p.length&&p.forEach(function(v){c[d][v]===void 0&&(c[d][v]=!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,_){if(s.readingCalls--,s.waitingReads.length>0){var m=s.waitingReads.shift();s.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(y&&_&&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=lp(lp({},u),{},{isUpdate:l}),d=this.backend.create.bind(this.backend);if(d.length<6)try{var p;d.length===5?p=d(o,i,a,s,f):p=d(o,i,a,s),p&&typeof p.then=="function"?p.then(function(v){return c(null,v)}).catch(c):c(null,p)}catch(v){c(v)}else d(o,i,a,s,c,f)}!o||!o[0]||this.store.addResource(o[0],i,a,s)}}}]),n}(Zn);function up(){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(Ht(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),Ht(t[2])==="object"||Ht(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 cp(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 fp(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 Zt(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 La(){}function W_(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Ps=function(e){Cl(n,e);var t=z_(n);function n(){var r,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(At(this,n),r=t.call(this),Rl&&Zn.call(zn(r)),r.options=cp(o),r.services={},r.logger=rn,r.modules={external:[]},W_(zn(r)),i&&!r.isInitialized&&!o.isClone){if(!r.options.initImmediate)return r.init(o,i),la(r,zn(r));setTimeout(function(){r.init(o,i)},0)}return r}return It(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=up();this.options=Zt(Zt(Zt({},s),this.options),cp(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=Zt(Zt({},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(m){return m?typeof m=="function"?new m:m:null}if(!this.options.isClone){this.modules.logger?rn.init(l(this.modules.logger),this.options):rn.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=$_);var c=new rp(this.options);this.store=new x_(this.options.resources,this.options);var f=this.services;f.logger=rn,f.resourceStore=this.store,f.languageUtils=c,f.pluralResolver=new I_(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 M_(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new B_(l(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var h=arguments.length,g=new Array(h>1?h-1:0),S=1;S1?h-1:0),S=1;S0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var p=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];p.forEach(function(m){o[m]=function(){var h;return(h=o.store)[m].apply(h,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(m){o[m]=function(){var h;return(h=o.store)[m].apply(h,arguments),o}});var y=Wo(),_=function(){var h=function(S,k){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(k),a(S,k)};if(o.languages&&o.options.compatibilityAPI!=="v1"&&!o.isInitialized)return h(null,o.t.bind(o));o.changeLanguage(o.options.lng,h)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),y}},{key:"loadResources",value:function(o){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:La,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(p){if(p){var v=i.services.languageUtils.toResolveHierarchy(p);v.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(d){return c(d)})}this.options.preload&&this.options.preload.forEach(function(d){return c(d)}),this.services.backendConnector.load(u,this.options.ns,function(d){!d&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(d)})}else s(null)}},{key:"reloadResources",value:function(o,i,a){var s=Wo();return o||(o=this.languages),i||(i=this.options.ns),a||(a=La),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"&&bg.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=Wo();this.emit("languageChanging",o);var l=function(d){a.language=d,a.languages=a.services.languageUtils.toResolveHierarchy(d),a.resolvedLanguage=void 0,a.setResolvedLanguage(d)},u=function(d,p){p?(l(p),a.translator.changeLanguage(p),a.isLanguageChangingTo=void 0,a.emit("languageChanged",p),a.logger.log("languageChanged",p)):a.isLanguageChangingTo=void 0,s.resolve(function(){return a.t.apply(a,arguments)}),i&&i(d,function(){return a.t.apply(a,arguments)})},c=function(d){!o&&!d&&a.services.languageDetector&&(d=[]);var p=typeof d=="string"?d:a.services.languageUtils.getBestMatchFromCodes(d);p&&(a.language||l(p),a.translator.language||a.translator.changeLanguage(p),a.services.languageDetector&&a.services.languageDetector.cacheUserLanguage&&a.services.languageDetector.cacheUserLanguage(p)),a.loadResources(p,function(v){u(v,p)})};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 d;if(Ht(f)!=="object"){for(var p=arguments.length,v=new Array(p>2?p-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(p,v){var y=i.services.backendConnector.state["".concat(p,"|").concat(v)];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=Wo();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=Wo();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 rp(up());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]:La,s=Zt(Zt(Zt({},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=Zt({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new np(l.services,l.options),l.translator.on("*",function(c){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Ps(e,t)});var Ye=Ps.createInstance();Ye.createInstance=Ps.createInstance;Ye.createInstance;Ye.dir;Ye.init;Ye.loadResources;Ye.reloadResources;Ye.use;Ye.changeLanguage;Ye.getFixedT;Ye.t;Ye.exists;Ye.setDefaultNamespace;Ye.hasLoadedNamespace;Ye.loadNamespaces;Ye.loadLanguages;var Eg=[],H_=Eg.forEach,q_=Eg.slice;function K_(e){return H_.call(q_.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var dp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Q_=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(!dp.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(o.domain)}if(o.path){if(!dp.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},hp={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=Q_(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}},Ho=null,pp=function(){if(Ho!==null)return Ho;try{Ho=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Ho=!1}return Ho},Y_={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&pp()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&pp()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},qo=null,vp=function(){if(qo!==null)return qo;try{qo=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{qo=!1}return qo},J_={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&vp()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&vp()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Z_={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r0?n:void 0}},eb={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}},tb={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}},nb={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 rb(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Cg=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};At(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return It(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=K_(r,this.options||{},rb()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=o,this.addDetector(G_),this.addDetector(X_),this.addDetector(Y_),this.addDetector(J_),this.addDetector(Z_),this.addDetector(eb),this.addDetector(tb),this.addDetector(nb)}},{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}();Cg.type="languageDetector";function uc(e){return uc=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},uc(e)}var Rg=[],ob=Rg.forEach,ib=Rg.slice;function cc(e){return ob.call(ib.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}function Og(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":uc(XMLHttpRequest))==="object"}function ab(e){return!!e&&typeof e.then=="function"}function sb(e){return ab(e)?e:Promise.resolve(e)}function lb(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ni={},ub={get exports(){return Ni},set exports(e){Ni=e}},hi={},cb={get exports(){return hi},set exports(e){hi=e}},mp;function fb(){return mp||(mp=1,function(e,t){var n=typeof self<"u"?self:ls,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(a){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function l(w){return w&&DataView.prototype.isPrototypeOf(w)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(w){return w&&u.indexOf(Object.prototype.toString.call(w))>-1};function f(w){if(typeof w!="string"&&(w=String(w)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(w))throw new TypeError("Invalid character in header field name");return w.toLowerCase()}function d(w){return typeof w!="string"&&(w=String(w)),w}function p(w){var P={next:function(){var M=w.shift();return{done:M===void 0,value:M}}};return s.iterable&&(P[Symbol.iterator]=function(){return P}),P}function v(w){this.map={},w instanceof v?w.forEach(function(P,M){this.append(M,P)},this):Array.isArray(w)?w.forEach(function(P){this.append(P[0],P[1])},this):w&&Object.getOwnPropertyNames(w).forEach(function(P){this.append(P,w[P])},this)}v.prototype.append=function(w,P){w=f(w),P=d(P);var M=this.map[w];this.map[w]=M?M+", "+P:P},v.prototype.delete=function(w){delete this.map[f(w)]},v.prototype.get=function(w){return w=f(w),this.has(w)?this.map[w]:null},v.prototype.has=function(w){return this.map.hasOwnProperty(f(w))},v.prototype.set=function(w,P){this.map[f(w)]=d(P)},v.prototype.forEach=function(w,P){for(var M in this.map)this.map.hasOwnProperty(M)&&w.call(P,this.map[M],M,this)},v.prototype.keys=function(){var w=[];return this.forEach(function(P,M){w.push(M)}),p(w)},v.prototype.values=function(){var w=[];return this.forEach(function(P){w.push(P)}),p(w)},v.prototype.entries=function(){var w=[];return this.forEach(function(P,M){w.push([M,P])}),p(w)},s.iterable&&(v.prototype[Symbol.iterator]=v.prototype.entries);function y(w){if(w.bodyUsed)return Promise.reject(new TypeError("Already read"));w.bodyUsed=!0}function _(w){return new Promise(function(P,M){w.onload=function(){P(w.result)},w.onerror=function(){M(w.error)}})}function m(w){var P=new FileReader,M=_(P);return P.readAsArrayBuffer(w),M}function h(w){var P=new FileReader,M=_(P);return P.readAsText(w),M}function g(w){for(var P=new Uint8Array(w),M=new Array(P.length),C=0;C-1?P:w}function I(w,P){P=P||{};var M=P.body;if(w instanceof I){if(w.bodyUsed)throw new TypeError("Already read");this.url=w.url,this.credentials=w.credentials,P.headers||(this.headers=new v(w.headers)),this.method=w.method,this.mode=w.mode,this.signal=w.signal,!M&&w._bodyInit!=null&&(M=w._bodyInit,w.bodyUsed=!0)}else this.url=String(w);if(this.credentials=P.credentials||this.credentials||"same-origin",(P.headers||!this.headers)&&(this.headers=new v(P.headers)),this.method=N(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(M)}I.prototype.clone=function(){return new I(this,{body:this._bodyInit})};function G(w){var P=new FormData;return w.trim().split("&").forEach(function(M){if(M){var C=M.split("="),O=C.shift().replace(/\+/g," "),A=C.join("=").replace(/\+/g," ");P.append(decodeURIComponent(O),decodeURIComponent(A))}}),P}function $(w){var P=new v,M=w.replace(/\r?\n[\t ]+/g," ");return M.split(/\r?\n/).forEach(function(C){var O=C.split(":"),A=O.shift().trim();if(A){var D=O.join(":").trim();P.append(A,D)}}),P}k.call(I.prototype);function X(w,P){P||(P={}),this.type="default",this.status=P.status===void 0?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in P?P.statusText:"OK",this.headers=new v(P.headers),this.url=P.url||"",this._initBody(w)}k.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},X.error=function(){var w=new X(null,{status:0,statusText:""});return w.type="error",w};var ce=[301,302,303,307,308];X.redirect=function(w,P){if(ce.indexOf(P)===-1)throw new RangeError("Invalid status code");return new X(null,{status:P,headers:{location:w}})},a.DOMException=i.DOMException;try{new a.DOMException}catch{a.DOMException=function(P,M){this.message=P,this.name=M;var C=Error(P);this.stack=C.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function re(w,P){return new Promise(function(M,C){var O=new I(w,P);if(O.signal&&O.signal.aborted)return C(new a.DOMException("Aborted","AbortError"));var A=new XMLHttpRequest;function D(){A.abort()}A.onload=function(){var z={status:A.status,statusText:A.statusText,headers:$(A.getAllResponseHeaders()||"")};z.url="responseURL"in A?A.responseURL:z.headers.get("X-Request-URL");var b="response"in A?A.response:A.responseText;M(new X(b,z))},A.onerror=function(){C(new TypeError("Network request failed"))},A.ontimeout=function(){C(new TypeError("Network request failed"))},A.onabort=function(){C(new a.DOMException("Aborted","AbortError"))},A.open(O.method,O.url,!0),O.credentials==="include"?A.withCredentials=!0:O.credentials==="omit"&&(A.withCredentials=!1),"responseType"in A&&s.blob&&(A.responseType="blob"),O.headers.forEach(function(z,b){A.setRequestHeader(b,z)}),O.signal&&(O.signal.addEventListener("abort",D),A.onreadystatechange=function(){A.readyState===4&&O.signal.removeEventListener("abort",D)}),A.send(typeof O._bodyInit>"u"?null:O._bodyInit)})}return re.polyfill=!0,i.fetch||(i.fetch=re,i.Headers=v,i.Request=I,i.Response=X),a.Headers=v,a.Request=I,a.Response=X,a.fetch=re,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(cb,hi)),hi}(function(e,t){var n;if(typeof fetch=="function"&&(typeof ls<"u"&&ls.fetch?n=ls.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof lb<"u"&&(typeof window>"u"||typeof window.document>"u")){var r=n||fb();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(ub,Ni);const xg=Ni,gp=sg({__proto__:null,default:xg},[Ni]);function Ts(e){return Ts=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},Ts(e)}var yn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?yn=global.fetch:typeof window<"u"&&window.fetch?yn=window.fetch:yn=fetch);var Ai;Og()&&(typeof global<"u"&&global.XMLHttpRequest?Ai=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(Ai=window.XMLHttpRequest));var Ls;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Ls=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Ls=window.ActiveXObject));!yn&&gp&&!Ai&&!Ls&&(yn=xg||gp);typeof yn!="function"&&(yn=void 0);var fc=function(t,n){if(n&&Ts(n)==="object"){var r="";for(var o in n)r+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},yp=function(t,n,r){yn(t,n).then(function(o){if(!o.ok)return r(o.statusText||"Error",{status:o.status});o.text().then(function(i){r(null,{status:o.status,data:i})}).catch(r)}).catch(r)},wp=!1,db=function(t,n,r,o){t.queryStringParams&&(n=fc(n,t.queryStringParams));var i=cc({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);r&&(i["Content-Type"]="application/json");var a=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=cc({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},wp?{}:a);try{yp(n,s,o)}catch(l){if(!a||Object.keys(a).length===0||!l.message||l.message.indexOf("not implemented")<0)return o(l);try{Object.keys(a).forEach(function(u){delete s[u]}),yp(n,s,o),wp=!0}catch(u){o(u)}}},hb=function(t,n,r,o){r&&Ts(r)==="object"&&(r=fc("",r).slice(1)),t.queryStringParams&&(n=fc(n,t.queryStringParams));try{var i;Ai?i=new Ai:i=new Ls("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var a=t.customHeaders;if(a=typeof a=="function"?a():a,a)for(var s in a)i.setRequestHeader(s,a[s]);i.onreadystatechange=function(){i.readyState>3&&o(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},pb=function(t,n,r,o){if(typeof r=="function"&&(o=r,r=void 0),o=o||function(){},yn&&n.indexOf("file:")!==0)return db(t,n,r,o);if(Og()||typeof ActiveXObject=="function")return hb(t,n,r,o);o(new Error("No fetch and no xhr implementation found!"))};function Ii(e){return Ii=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},Ii(e)}function vb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};vb(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return mb(e,[{key:"init",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=cc(o,this.options||{},wb()),this.allOptions=i,this.services&&this.options.reloadInterval&&setInterval(function(){return r.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(n,r,o){this._readAny(n,n,r,r,o)}},{key:"read",value:function(n,r,o){this._readAny([n],n,[r],r,o)}},{key:"_readAny",value:function(n,r,o,i,a){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,o)),l=sb(l),l.then(function(u){if(!u)return a(null,{});var c=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:o.join("+")});s.loadUrl(c,a,r,i)})}},{key:"loadUrl",value:function(n,r,o,i){var a=this;this.options.request(this.options,n,void 0,function(s,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&&s&&s.message&&s.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+s.message,!0);if(s)return r(s,!1);var u,c;try{typeof l.data=="string"?u=a.options.parse(l.data,o,i):u=l.data}catch{c="failed parsing "+n+" to json"}if(c)return r(c,!1);r(null,u)})}},{key:"create",value:function(n,r,o,i,a){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,o,i),u=0,c=[],f=[];n.forEach(function(d){var p=s.options.addPath;typeof s.options.addPath=="function"&&(p=s.options.addPath(d,r));var v=s.services.interpolator.interpolate(p,{lng:d,ns:r});s.options.request(s.options,v,l,function(y,_){u+=1,c.push(y),f.push(_),u===n.length&&typeof a=="function"&&a(c,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,o=r.backendConnector,i=r.languageUtils,a=r.logger,s=o.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(f){var d=i.toResolveHierarchy(f);d.forEach(function(p){l.indexOf(p)<0&&l.push(p)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(c){return u(c)}),l.forEach(function(c){n.allOptions.ns.forEach(function(f){o.read(c,f,"read",null,null,function(d,p){d&&a.warn("loading namespace ".concat(f," for language ").concat(c," failed"),d),!d&&p&&a.log("loaded namespace ".concat(f," for language ").concat(c),p),o.loaded("".concat(c,"|").concat(f),d,p)})})})}}}]),e}();Pg.type="backend";function Sb(){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 bb(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return dc("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 Eb=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Cb={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Rb=function(t){return Cb[t]},Ob=function(t){return t.replace(Eb,Rb)};function Ep(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 Cp(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:{};hc=Cp(Cp({},hc),e)}function kb(){return hc}var Tg;function Pb(e){Tg=e}function Tb(){return Tg}var Lb={type:"3rdParty",init:function(t){xb(t.options.react),Pb(t)}},Nb=L.createContext(),Ab=function(){function e(){At(this,e),this.usedNamespaces={}}return It(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 Ib(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 Mb(e,t){return gg(e)||Ib(e,t)||yg(e,t)||wg()}function Rp(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 mu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=L.useContext(Nb)||{},o=r.i18n,i=r.defaultNS,a=n||o||Tb();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Ab),!a){dc("You will need to pass in an i18next instance by using initReactI18next");var s=function(G){return Array.isArray(G)?G[G.length-1]:G},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}a.options.react&&a.options.react.wait!==void 0&&dc("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=mu(mu(mu({},kb()),a.options.react),t),c=u.useSuspense,f=u.keyPrefix,d=e||i||a.options&&a.options.defaultNS;d=typeof d=="string"?[d]:d||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(d);var p=(a.isInitialized||a.initializedStoreOnce)&&d.every(function(I){return bb(I,a,u)});function v(){return a.getFixedT(null,u.nsMode==="fallback"?d:d[0],f)}var y=L.useState(v),_=Mb(y,2),m=_[0],h=_[1],g=d.join(),S=Db(g),k=L.useRef(!0);L.useEffect(function(){var I=u.bindI18n,G=u.bindI18nStore;k.current=!0,!p&&!c&&bp(a,d,function(){k.current&&h(v)}),p&&S&&S!==g&&k.current&&h(v);function $(){k.current&&h(v)}return I&&a&&a.on(I,$),G&&a&&a.store.on(G,$),function(){k.current=!1,I&&a&&I.split(" ").forEach(function(X){return a.off(X,$)}),G&&a&&G.split(" ").forEach(function(X){return a.store.off(X,$)})}},[a,g]);var T=L.useRef(!0);L.useEffect(function(){k.current&&!T.current&&h(v),T.current=!1},[a,f]);var N=[m,a,p];if(N.t=m,N.i18n=a,N.ready=p,p||!p&&!c)return N;throw new Promise(function(I){bp(a,d,function(){I()})})}const Ko={zh_cn:Ot(()=>import("./zh-cn-ace621d4.js"),[],import.meta.url),zh_tw:Ot(()=>import("./zh-tw-47d3ce5e.js"),[],import.meta.url),en:Ot(()=>import("./en-1067a8eb.js"),[],import.meta.url),vi:Ot(()=>import("./vi-75c7db25.js"),[],import.meta.url)};Ye.use(Pg).use(Lb).use(Cg).init({debug:!1,backend:{loadPath:"/__{{lng}}/{{ns}}.json",request:function(e,t,n,r){let o;switch(t){case"/__zh/translation.json":case"/__zh-CN/translation.json":o=Ko.zh_cn;break;case"/__zh-TW/translation.json":o=Ko.zh_tw;break;case"/__en/translation.json":o=Ko.en;break;case"/__vi/translation.json":o=Ko.vi;break;default:o=Ko.zh_cn;break}o&&o.then(i=>{r(null,{status:200,data:i.data})})}},supportedLngs:["zh-CN","zh-TW","en","vi"],load:"currentOnly",fallbackLng:"en",interpolation:{escapeValue:!1}});var mo={},$b={get exports(){return mo},set exports(e){mo=e}},wt={},pc={},Ub={get exports(){return pc},set exports(e){pc=e}},Lg={};/** + * @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(O,A){var D=O.length;O.push(A);e:for(;0>>1,b=O[z];if(0>>1;zo(J,D))Wo(Z,J)?(O[z]=Z,O[W]=D,z=W):(O[z]=J,O[B]=D,z=B);else if(Wo(Z,D))O[z]=Z,O[W]=D,z=W;else break e}}return A}function o(O,A){var D=O.sortIndex-A.sortIndex;return D!==0?D:O.id-A.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,d=3,p=!1,v=!1,y=!1,_=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(O){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=O)r(u),A.sortIndex=A.expirationTime,t(l,A);else break;A=n(u)}}function S(O){if(y=!1,g(O),!v)if(n(l)!==null)v=!0,M(k);else{var A=n(u);A!==null&&C(S,A.startTime-O)}}function k(O,A){v=!1,y&&(y=!1,m(I),I=-1),p=!0;var D=d;try{for(g(A),f=n(l);f!==null&&(!(f.expirationTime>A)||O&&!X());){var z=f.callback;if(typeof z=="function"){f.callback=null,d=f.priorityLevel;var b=z(f.expirationTime<=A);A=e.unstable_now(),typeof b=="function"?f.callback=b:f===n(l)&&r(l),g(A)}else r(l);f=n(l)}if(f!==null)var U=!0;else{var B=n(u);B!==null&&C(S,B.startTime-A),U=!1}return U}finally{f=null,d=D,p=!1}}var T=!1,N=null,I=-1,G=5,$=-1;function X(){return!(e.unstable_now()-$O||125z?(O.sortIndex=D,t(u,O),n(l)===null&&O===n(u)&&(y?(m(I),I=-1):y=!0,C(S,D-z))):(O.sortIndex=b,t(l,O),v||p||(v=!0,M(k))),O},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(O){var A=d;return function(){var D=d;d=A;try{return O.apply(this,arguments)}finally{d=D}}}})(Lg);(function(e){e.exports=Lg})(Ub);/** + * @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 Ng=L,mt=pc;function j(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"),vc=Object.prototype.hasOwnProperty,Fb=/^[: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]*$/,Op={},xp={};function jb(e){return vc.call(xp,e)?!0:vc.call(Op,e)?!1:Fb.test(e)?xp[e]=!0:(Op[e]=!0,!1)}function Bb(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 zb(e,t,n,r){if(t===null||typeof t>"u"||Bb(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 Zf=/[\-:]([a-z])/g;function ed(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(Zf,ed);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(Zf,ed);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(Zf,ed);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 td(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{yu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?si(e):""}function Vb(e){switch(e.tag){case 5:return si(e.type);case 16:return si("Lazy");case 13:return si("Suspense");case 19:return si("SuspenseList");case 0:case 2:case 15:return e=wu(e.type,!1),e;case 11:return e=wu(e.type.render,!1),e;case 1:return e=wu(e.type,!0),e;default:return""}}function wc(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 Kr:return"Portal";case mc:return"Profiler";case nd:return"StrictMode";case gc:return"Suspense";case yc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mg:return(e.displayName||"Context")+".Consumer";case Ig:return(e._context.displayName||"Context")+".Provider";case rd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case od:return t=e.displayName||null,t!==null?t:wc(e.type)||"Memo";case Tn:t=e._payload,e=e._init;try{return wc(e(t))}catch{}}return null}function Wb(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 wc(t);case 8:return t===nd?"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 er(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $g(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hb(e){var t=$g(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=Hb(e))}function Ug(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$g(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ns(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 Sc(e,t){var n=t.checked;return Te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Pp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=er(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 Fg(e,t){t=t.checked,t!=null&&td(e,"checked",t,!1)}function _c(e,t){Fg(e,t);var n=er(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")?bc(e,t.type,n):t.hasOwnProperty("defaultValue")&&bc(e,t.type,er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tp(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 bc(e,t,n){(t!=="number"||Ns(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var li=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 Di(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pi={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},qb=["Webkit","ms","Moz","O"];Object.keys(pi).forEach(function(e){qb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pi[t]=pi[e]})});function Vg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pi.hasOwnProperty(e)&&pi[e]?(""+t).trim():t+"px"}function Wg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vg(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Kb=Te({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 Rc(e,t){if(t){if(Kb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Oc(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 xc=null;function id(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kc=null,uo=null,co=null;function Ap(e){if(e=fa(e)){if(typeof kc!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Tl(t),kc(e.stateNode,e.type,t))}}function Hg(e){uo?co?co.push(e):co=[e]:uo=e}function qg(){if(uo){var e=uo,t=co;if(co=uo=null,Ap(e),t)for(e=0;e>>=0,e===0?32:31-(oE(e)/iE|0)|0}var Ma=64,Da=4194304;function ui(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 Ds(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=ui(s):(i&=a,i!==0&&(r=ui(i)))}else a=n&~o,a!==0?r=ui(a):i!==0&&(r=ui(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 uE(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=mi),zp=String.fromCharCode(32),Vp=!1;function dy(e,t){switch(e){case"keyup":return $E.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gr=!1;function FE(e,t){switch(e){case"compositionend":return hy(t);case"keypress":return t.which!==32?null:(Vp=!0,zp);case"textInput":return e=t.data,e===zp&&Vp?null:e;default:return null}}function jE(e,t){if(Gr)return e==="compositionend"||!hd&&dy(e,t)?(e=cy(),ds=cd=$n=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=Kp(n)}}function gy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yy(){for(var e=window,t=Ns();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ns(e.document)}return t}function pd(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 GE(e){var t=yy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gy(n.ownerDocument.documentElement,n)){if(r!==null&&pd(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=Qp(n,i);var a=Qp(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,Xr=null,Ic=null,yi=null,Mc=!1;function Gp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mc||Xr==null||Xr!==Ns(r)||(r=Xr,"selectionStart"in r&&pd(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}),yi&&zi(yi,r)||(yi=r,r=Fs(Ic,"onSelect"),0Zr||(e.current=Bc[Zr],Bc[Zr]=null,Zr--)}function Se(e,t){Zr++,Bc[Zr]=e.current,e.current=t}var tr={},Xe=rr(tr),st=rr(!1),Rr=tr;function yo(e,t){var n=e.type.contextTypes;if(!n)return tr;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 Bs(){be(st),be(Xe)}function nv(e,t,n){if(Xe.current!==tr)throw Error(j(168));Se(Xe,t),Se(st,n)}function xy(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(j(108,Wb(e)||"Unknown",o));return Te({},n,r)}function zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tr,Rr=Xe.current,Se(Xe,e),Se(st,st.current),!0}function rv(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=xy(e,t,Rr),r.__reactInternalMemoizedMergedChildContext=e,be(st),be(Xe),Se(Xe,e)):be(st),Se(st,n)}var pn=null,Ll=!1,Au=!1;function ky(e){pn===null?pn=[e]:pn.push(e)}function s2(e){Ll=!0,ky(e)}function or(){if(!Au&&pn!==null){Au=!0;var e=0,t=ve;try{var n=pn;for(ve=1;e>=a,o-=a,vn=1<<32-qt(t)+o|n<I?(G=N,N=null):G=N.sibling;var $=d(m,N,g[I],S);if($===null){N===null&&(N=G);break}e&&N&&$.alternate===null&&t(m,N),h=i($,h,I),T===null?k=$:T.sibling=$,T=$,N=G}if(I===g.length)return n(m,N),Ce&&fr(m,I),k;if(N===null){for(;II?(G=N,N=null):G=N.sibling;var X=d(m,N,$.value,S);if(X===null){N===null&&(N=G);break}e&&N&&X.alternate===null&&t(m,N),h=i(X,h,I),T===null?k=X:T.sibling=X,T=X,N=G}if($.done)return n(m,N),Ce&&fr(m,I),k;if(N===null){for(;!$.done;I++,$=g.next())$=f(m,$.value,S),$!==null&&(h=i($,h,I),T===null?k=$:T.sibling=$,T=$);return Ce&&fr(m,I),k}for(N=r(m,N);!$.done;I++,$=g.next())$=p(N,m,I,$.value,S),$!==null&&(e&&$.alternate!==null&&N.delete($.key===null?I:$.key),h=i($,h,I),T===null?k=$:T.sibling=$,T=$);return e&&N.forEach(function(ce){return t(m,ce)}),Ce&&fr(m,I),k}function _(m,h,g,S){if(typeof g=="object"&&g!==null&&g.type===Qr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Na:e:{for(var k=g.key,T=h;T!==null;){if(T.key===k){if(k=g.type,k===Qr){if(T.tag===7){n(m,T.sibling),h=o(T,g.props.children),h.return=m,m=h;break e}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Tn&&cv(k)===T.type){n(m,T.sibling),h=o(T,g.props),h.ref=Zo(m,T,g),h.return=m,m=h;break e}n(m,T);break}else t(m,T);T=T.sibling}g.type===Qr?(h=_r(g.props.children,m.mode,S,g.key),h.return=m,m=h):(S=Ss(g.type,g.key,g.props,null,m.mode,S),S.ref=Zo(m,h,g),S.return=m,m=S)}return a(m);case Kr:e:{for(T=g.key;h!==null;){if(h.key===T)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(m,h.sibling),h=o(h,g.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Bu(g,m.mode,S),h.return=m,m=h}return a(m);case Tn:return T=g._init,_(m,h,T(g._payload),S)}if(li(g))return v(m,h,g,S);if(Qo(g))return y(m,h,g,S);Va(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,g),h.return=m,m=h):(n(m,h),h=ju(g,m.mode,S),h.return=m,m=h),a(m)):n(m,h)}return _}var So=Dy(!0),$y=Dy(!1),da={},sn=rr(da),qi=rr(da),Ki=rr(da);function yr(e){if(e===da)throw Error(j(174));return e}function Ed(e,t){switch(Se(Ki,t),Se(qi,e),Se(sn,da),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Cc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Cc(t,e)}be(sn),Se(sn,t)}function _o(){be(sn),be(qi),be(Ki)}function Uy(e){yr(Ki.current);var t=yr(sn.current),n=Cc(t,e.type);t!==n&&(Se(qi,e),Se(sn,n))}function Cd(e){qi.current===e&&(be(sn),be(qi))}var ke=rr(0);function Qs(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 Iu=[];function Rd(){for(var e=0;en?n:4,e(!0);var r=Mu.transition;Mu.transition={};try{e(!1),t()}finally{ve=n,Mu.transition=r}}function e0(){return Nt().memoizedState}function f2(e,t,n){var r=Gn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},t0(e))n0(t,n);else if(n=Ny(e,t,n,r),n!==null){var o=et();Kt(n,e,r,o),r0(n,t,r)}}function d2(e,t,n){var r=Gn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(t0(e))n0(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,Gt(s,a)){var l=t.interleaved;l===null?(o.next=o,_d(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Ny(e,t,o,r),n!==null&&(o=et(),Kt(n,e,r,o),r0(n,t,r))}}function t0(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function n0(e,t){wi=Gs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function r0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,sd(e,n)}}var Xs={readContext:Lt,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},h2={readContext:Lt,useCallback:function(e,t){return tn().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:dv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ms(4194308,4,Gy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ms(4194308,4,e,t)},useInsertionEffect:function(e,t){return ms(4,2,e,t)},useMemo:function(e,t){var n=tn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tn();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=f2.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=tn();return e={current:e},t.memoizedState=e},useState:fv,useDebugValue:Td,useDeferredValue:function(e){return tn().memoizedState=e},useTransition:function(){var e=fv(!1),t=e[0];return e=c2.bind(null,e[1]),tn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=tn();if(Ce){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Be===null)throw Error(j(349));xr&30||By(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,dv(Vy.bind(null,r,i,e),[e]),r.flags|=2048,Xi(9,zy.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=tn(),t=Be.identifierPrefix;if(Ce){var n=mn,r=vn;n=(r&~(1<<32-qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qi++,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[nn]=t,e[Hi]=r,d0(e,t,!1,!1),t.stateNode=e;e:{switch(a=Oc(n,r),n){case"dialog":_e("cancel",e),_e("close",e),o=r;break;case"iframe":case"object":case"embed":_e("load",e),o=r;break;case"video":case"audio":for(o=0;oEo&&(t.flags|=128,r=!0,ei(i,!1),t.lanes=4194304)}else{if(!r)if(e=Qs(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ei(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ce)return qe(t),null}else 2*Ae()-i.renderingStartTime>Eo&&n!==1073741824&&(t.flags|=128,r=!0,ei(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=ke.current,Se(ke,r?n&1|2:n&1),t):(qe(t),null);case 22:case 23:return Dd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ht&1073741824&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function _2(e,t){switch(md(t),t.tag){case 1:return lt(t.type)&&Bs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _o(),be(st),be(Xe),Rd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Cd(t),null;case 13:if(be(ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return be(ke),null;case 4:return _o(),null;case 10:return Sd(t.type._context),null;case 22:case 23:return Dd(),null;case 24:return null;default:return null}}var Ha=!1,Ge=!1,b2=typeof WeakSet=="function"?WeakSet:Set,K=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Le(e,t,r)}else n.current=null}function Zc(e,t,n){try{n()}catch(r){Le(e,t,r)}}var _v=!1;function E2(e,t){if(Dc=$s,e=yy(),pd(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,d=null;t:for(;;){for(var p;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),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===o&&(s=a),d===i&&++c===r&&(l=a),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},$s=!1,K=t;K!==null;)if(t=K,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,K=e;else for(;K!==null;){t=K;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,_=v.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ft(t.type,y),_);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){Le(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,K=e;break}K=t.return}return v=_v,_v=!1,v}function Si(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&&Zc(t,n,i)}o=o.next}while(o!==r)}}function Il(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 ef(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 v0(e){var t=e.alternate;t!==null&&(e.alternate=null,v0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nn],delete t[Hi],delete t[jc],delete t[i2],delete t[a2])),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 m0(e){return e.tag===5||e.tag===3||e.tag===4}function bv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||m0(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 tf(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=js));else if(r!==4&&(e=e.child,e!==null))for(tf(e,t,n),e=e.sibling;e!==null;)tf(e,t,n),e=e.sibling}function nf(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(nf(e,t,n),e=e.sibling;e!==null;)nf(e,t,n),e=e.sibling}var ze=null,zt=!1;function xn(e,t,n){for(n=n.child;n!==null;)g0(e,t,n),n=n.sibling}function g0(e,t,n){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(Ol,n)}catch{}switch(n.tag){case 5:Ge||ro(n,t);case 6:var r=ze,o=zt;ze=null,xn(e,t,n),ze=r,zt=o,ze!==null&&(zt?(e=ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ze.removeChild(n.stateNode));break;case 18:ze!==null&&(zt?(e=ze,n=n.stateNode,e.nodeType===8?Nu(e.parentNode,n):e.nodeType===1&&Nu(e,n),ji(e)):Nu(ze,n.stateNode));break;case 4:r=ze,o=zt,ze=n.stateNode.containerInfo,zt=!0,xn(e,t,n),ze=r,zt=o;break;case 0:case 11:case 14:case 15:if(!Ge&&(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)&&Zc(n,t,a),o=o.next}while(o!==r)}xn(e,t,n);break;case 1:if(!Ge&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Le(n,t,s)}xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,xn(e,t,n),Ge=r):xn(e,t,n);break;default:xn(e,t,n)}}function Ev(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new b2),t.forEach(function(r){var o=N2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function $t(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*R2(r/1960))-r,10e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,Zs=0,he&6)throw Error(j(331));var o=he;for(he|=4,K=e.current;K!==null;){var i=K,a=i.child;if(K.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lAe()-Id?Sr(e,0):Ad|=n),ut(e,t)}function R0(e,t){t===0&&(e.mode&1?(t=Da,Da<<=1,!(Da&130023424)&&(Da=4194304)):t=1);var n=et();e=bn(e,t),e!==null&&(ua(e,t,n),ut(e,n))}function L2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),R0(e,n)}function N2(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(j(314))}r!==null&&r.delete(t),R0(e,n)}var O0;O0=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,w2(e,t,n);at=!!(e.flags&131072)}else at=!1,Ce&&t.flags&1048576&&Py(t,Ws,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gs(e,t),e=t.pendingProps;var o=yo(t,Xe.current);ho(t,n),o=xd(null,t,r,e,o,n);var i=kd();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,zs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,bd(t),o.updater=Nl,t.stateNode=o,o._reactInternals=t,qc(t,r,e,n),t=Gc(null,t,r,!0,i,n)):(t.tag=0,Ce&&i&&vd(t),Ze(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=I2(r),e=Ft(r,e),o){case 0:t=Qc(null,t,r,e,n);break e;case 1:t=yv(null,t,r,e,n);break e;case 11:t=mv(null,t,r,e,n);break e;case 14:t=gv(null,t,r,Ft(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ft(r,o),Qc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ft(r,o),yv(e,t,r,o,n);case 3:e:{if(u0(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ay(e,t),Ks(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=bo(Error(j(423)),t),t=wv(e,t,r,n,o);break e}else if(r!==o){o=bo(Error(j(424)),t),t=wv(e,t,r,n,o);break e}else for(pt=qn(t.stateNode.containerInfo.firstChild),vt=t,Ce=!0,Vt=null,n=$y(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wo(),r===o){t=En(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return Uy(t),e===null&&Vc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Uc(r,o)?a=null:i!==null&&Uc(r,i)&&(t.flags|=32),l0(e,t),Ze(e,t,a,n),t.child;case 6:return e===null&&Vc(t),null;case 13:return c0(e,t,n);case 4:return Ed(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=So(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:Ft(r,o),mv(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,Se(Hs,r._currentValue),r._currentValue=a,i!==null)if(Gt(i.value,a)){if(i.children===o.children&&!st.current){t=En(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=wn(-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),Wc(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(j(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Wc(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,ho(t,n),o=Lt(o),r=r(o),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,o=Ft(r,t.pendingProps),o=Ft(r.type,o),gv(e,t,r,o,n);case 15:return a0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ft(r,o),gs(e,t),t.tag=1,lt(r)?(e=!0,zs(t)):e=!1,ho(t,n),My(t,r,o),qc(t,r,o,n),Gc(null,t,r,!0,e,n);case 19:return f0(e,t,n);case 22:return s0(e,t,n)}throw Error(j(156,t.tag))};function x0(e,t){return Zg(e,t)}function A2(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 xt(e,t,n,r){return new A2(e,t,n,r)}function Ud(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I2(e){if(typeof e=="function")return Ud(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rd)return 11;if(e===od)return 14}return 2}function Xn(e,t){var n=e.alternate;return n===null?(n=xt(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 Ss(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Ud(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Qr:return _r(n.children,o,i,t);case nd:a=8,o|=8;break;case mc:return e=xt(12,n,t,o|2),e.elementType=mc,e.lanes=i,e;case gc:return e=xt(13,n,t,o),e.elementType=gc,e.lanes=i,e;case yc:return e=xt(19,n,t,o),e.elementType=yc,e.lanes=i,e;case Dg:return Dl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ig:a=10;break e;case Mg:a=9;break e;case rd:a=11;break e;case od:a=14;break e;case Tn:a=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=xt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function _r(e,t,n,r){return e=xt(7,e,r,t),e.lanes=n,e}function Dl(e,t,n,r){return e=xt(22,e,r,t),e.elementType=Dg,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return e=xt(6,e,null,t),e.lanes=n,e}function Bu(e,t,n){return t=xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function M2(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=_u(0),this.expirationTimes=_u(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_u(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fd(e,t,n,r,o,i,a,s,l){return e=new M2(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=xt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bd(i),e}function D2(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})($b);const L0=Kf(mo);var N0,Lv=mo;N0=Lv.createRoot,Lv.hydrateRoot;var nl={},B2={get exports(){return nl},set exports(e){nl=e}},Tr={},xe={},z2={get exports(){return xe},set exports(e){xe=e}},V2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",W2=V2,H2=W2;function A0(){}function I0(){}I0.resetWarningCache=A0;var q2=function(){function e(r,o,i,a,s,l){if(l!==H2){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:I0,resetWarningCache:A0};return n.PropTypes=n,n};z2.exports=q2();var rl={},K2={get exports(){return rl},set exports(e){rl=e}},Xt={},Ji={},Q2={get exports(){return Ji},set exports(e){Ji=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,d){return d.getPropertyValue("overflow")!=="visible"||f.scrollWidth<=0&&f.scrollHeight<=0}function a(f){var d=f.offsetWidth<=0&&f.offsetHeight<=0;if(d&&!f.innerHTML)return!0;try{var p=window.getComputedStyle(f),v=p.getPropertyValue("display");return d?v!==r&&i(f,p):v===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(f){for(var d=f,p=f.getRootNode&&f.getRootNode();d&&d!==document.body;){if(p&&d===p&&(d=p.host.parentNode),a(d))return!1;d=d.parentNode}return!0}function l(f,d){var p=f.nodeName.toLowerCase(),v=o.test(p)&&!f.disabled||p==="a"&&f.href||d;return v&&s(f)}function u(f){var d=f.getAttribute("tabindex");d===null&&(d=void 0);var p=isNaN(d);return(p||d>=0)&&l(f,!p)}function c(f){var d=[].slice.call(f.querySelectorAll("*"),0).reduce(function(p,v){return p.concat(v.shadowRoot?c(v.shadowRoot):[v])},[]);return d.filter(u)}e.exports=t.default})(Q2,Ji);Object.defineProperty(Xt,"__esModule",{value:!0});Xt.resetState=J2;Xt.log=Z2;Xt.handleBlur=Zi;Xt.handleFocus=ea;Xt.markForFocusLater=eC;Xt.returnFocus=tC;Xt.popWithoutFocus=nC;Xt.setupScopedFocus=rC;Xt.teardownScopedFocus=oC;var G2=Ji,X2=Y2(G2);function Y2(e){return e&&e.__esModule?e:{default:e}}var Co=[],io=null,lf=!1;function J2(){Co=[]}function Z2(){}function Zi(){lf=!0}function ea(){if(lf){if(lf=!1,!io)return;setTimeout(function(){if(!io.contains(document.activeElement)){var e=(0,X2.default)(io)[0]||io;e.focus()}},0)}}function eC(){Co.push(document.activeElement)}function tC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Co.length!==0&&(t=Co.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 nC(){Co.length>0&&Co.pop()}function rC(e){io=e,window.addEventListener?(window.addEventListener("blur",Zi,!1),document.addEventListener("focus",ea,!0)):(window.attachEvent("onBlur",Zi),document.attachEvent("onFocus",ea))}function oC(){io=null,window.addEventListener?(window.removeEventListener("blur",Zi),document.removeEventListener("focus",ea)):(window.detachEvent("onBlur",Zi),document.detachEvent("onFocus",ea))}var ol={},iC={get exports(){return ol},set exports(e){ol=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=Ji,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,d=u[0],p=u[u.length-1],v=i();if(s===v){if(!f)return;c=p}if(p===v&&!f&&(c=d),d===v&&f&&(c=p),c){l.preventDefault(),c.focus();return}var y=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),_=y!=null&&y[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(_){var m=u.indexOf(v);if(m>-1&&(m+=f?-1:1),c=u[m],typeof c>"u"){l.preventDefault(),c=f?p:d,c.focus();return}l.preventDefault(),c.focus()}}e.exports=t.default})(iC,ol);var Yt={},aC=function(){},sC=aC,Qt={},uf={},lC={get exports(){return uf},set exports(e){uf=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})()})(lC);Object.defineProperty(Qt,"__esModule",{value:!0});Qt.canUseDOM=Qt.SafeNodeList=Qt.SafeHTMLCollection=void 0;var uC=uf,cC=fC(uC);function fC(e){return e&&e.__esModule?e:{default:e}}var Bl=cC.default,dC=Bl.canUseDOM?window.HTMLElement:{};Qt.SafeHTMLCollection=Bl.canUseDOM?window.HTMLCollection:{};Qt.SafeNodeList=Bl.canUseDOM?window.NodeList:{};Qt.canUseDOM=Bl.canUseDOM;Qt.default=dC;Object.defineProperty(Yt,"__esModule",{value:!0});Yt.resetState=gC;Yt.log=yC;Yt.assertNodeList=M0;Yt.setElement=wC;Yt.validateElement=Vd;Yt.hide=SC;Yt.show=_C;Yt.documentNotReadyOrSSRTesting=bC;var hC=sC,pC=mC(hC),vC=Qt;function mC(e){return e&&e.__esModule?e:{default:e}}var Et=null;function gC(){Et&&(Et.removeAttribute?Et.removeAttribute("aria-hidden"):Et.length!=null?Et.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Et).forEach(function(e){return e.removeAttribute("aria-hidden")})),Et=null}function yC(){}function M0(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function wC(e){var t=e;if(typeof t=="string"&&vC.canUseDOM){var n=document.querySelectorAll(t);M0(n,t),t=n}return Et=t||Et,Et}function Vd(e){var t=e||Et;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,pC.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 SC(e){var t=!0,n=!1,r=void 0;try{for(var o=Vd(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 _C(e){var t=!0,n=!1,r=void 0;try{for(var o=Vd(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 bC(){Et=null}var Mo={};Object.defineProperty(Mo,"__esModule",{value:!0});Mo.resetState=EC;Mo.log=CC;var Ei={},Ci={};function Nv(e,t){e.classList.remove(t)}function EC(){var e=document.getElementsByTagName("html")[0];for(var t in Ei)Nv(e,Ei[t]);var n=document.body;for(var r in Ci)Nv(n,Ci[r]);Ei={},Ci={}}function CC(){}var RC=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},OC=function(t,n){return t[n]&&(t[n]-=1),n},xC=function(t,n,r){r.forEach(function(o){RC(n,o),t.add(o)})},kC=function(t,n,r){r.forEach(function(o){OC(n,o),n[o]===0&&t.remove(o)})};Mo.add=function(t,n){return xC(t.classList,t.nodeName.toLowerCase()=="html"?Ei:Ci,n.split(" "))};Mo.remove=function(t,n){return kC(t.classList,t.nodeName.toLowerCase()=="html"?Ei:Ci,n.split(" "))};var Do={};Object.defineProperty(Do,"__esModule",{value:!0});Do.log=TC;Do.resetState=LC;function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var D0=function e(){var t=this;PC(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=[]},il=new D0;function TC(){console.log("portalOpenInstances ----------"),console.log(il.openInstances.length),il.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function LC(){il=new D0}Do.default=il;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0});Wd.resetState=MC;Wd.log=DC;var NC=Do,AC=IC(NC);function IC(e){return e&&e.__esModule?e:{default:e}}var Ke=void 0,jt=void 0,br=[];function MC(){for(var e=[Ke,jt],t=0;t0?(document.body.firstChild!==Ke&&document.body.insertBefore(Ke,document.body.firstChild),document.body.lastChild!==jt&&document.body.appendChild(jt)):(Ke.parentElement&&Ke.parentElement.removeChild(Ke),jt.parentElement&&jt.parentElement.removeChild(jt))}AC.default.subscribe($C);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(w){for(var P=1;P0&&(ce-=1,ce===0&&p.show(A)),C.props.shouldFocusAfterRender&&(C.props.shouldReturnFocusAfterClose?(u.returnFocus(C.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),C.props.onAfterClose&&C.props.onAfterClose(),g.default.deregister(C)},C.open=function(){C.beforeOpen(),C.state.afterOpen&&C.state.beforeClose?(clearTimeout(C.closeTimer),C.setState({beforeClose:!1})):(C.props.shouldFocusAfterRender&&(u.setupScopedFocus(C.node),u.markForFocusLater()),C.setState({isOpen:!0},function(){C.openAnimationFrame=requestAnimationFrame(function(){C.setState({afterOpen:!0}),C.props.isOpen&&C.props.onAfterOpen&&C.props.onAfterOpen({overlayEl:C.overlay,contentEl:C.content})})}))},C.close=function(){C.props.closeTimeoutMS>0?C.closeWithTimeout():C.closeWithoutTimeout()},C.focusContent=function(){return C.content&&!C.contentHasFocus()&&C.content.focus({preventScroll:!0})},C.closeWithTimeout=function(){var O=Date.now()+C.props.closeTimeoutMS;C.setState({beforeClose:!0,closesAt:O},function(){C.closeTimer=setTimeout(C.closeWithoutTimeout,C.state.closesAt-Date.now())})},C.closeWithoutTimeout=function(){C.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},C.afterClose)},C.handleKeyDown=function(O){$(O)&&(0,f.default)(C.content,O),C.props.shouldCloseOnEsc&&X(O)&&(O.stopPropagation(),C.requestClose(O))},C.handleOverlayOnClick=function(O){C.shouldClose===null&&(C.shouldClose=!0),C.shouldClose&&C.props.shouldCloseOnOverlayClick&&(C.ownerHandlesClose()?C.requestClose(O):C.focusContent()),C.shouldClose=null},C.handleContentOnMouseUp=function(){C.shouldClose=!1},C.handleOverlayOnMouseDown=function(O){!C.props.shouldCloseOnOverlayClick&&O.target==C.overlay&&O.preventDefault()},C.handleContentOnClick=function(){C.shouldClose=!1},C.handleContentOnMouseDown=function(){C.shouldClose=!1},C.requestClose=function(O){return C.ownerHandlesClose()&&C.props.onRequestClose(O)},C.ownerHandlesClose=function(){return C.props.onRequestClose},C.shouldBeClosed=function(){return!C.state.isOpen&&!C.state.beforeClose},C.contentHasFocus=function(){return document.activeElement===C.content||C.content.contains(document.activeElement)},C.buildClassName=function(O,A){var D=(typeof A>"u"?"undefined":r(A))==="object"?A:{base:G[O],afterOpen:G[O]+"--after-open",beforeClose:G[O]+"--before-close"},z=D.base;return C.state.afterOpen&&(z=z+" "+D.afterOpen),C.state.beforeClose&&(z=z+" "+D.beforeClose),typeof A=="string"&&A?z+" "+A:z},C.attributesFromObject=function(O,A){return Object.keys(A).reduce(function(D,z){return D[O+"-"+z]=A[z],D},{})},C.state={afterOpen:!1,beforeClose:!1},C.shouldClose=null,C.moveFromContentToOverlay=null,C}return o(P,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(C,O){this.props.isOpen&&!C.isOpen?this.open():!this.props.isOpen&&C.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!O.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var C=this.props,O=C.appElement,A=C.ariaHideApp,D=C.htmlOpenClassName,z=C.bodyOpenClassName,b=C.parentSelector,U=b&&b().ownerDocument||document;z&&y.add(U.body,z),D&&y.add(U.getElementsByTagName("html")[0],D),A&&(ce+=1,p.hide(O)),g.default.register(this)}},{key:"render",value:function(){var C=this.props,O=C.id,A=C.className,D=C.overlayClassName,z=C.defaultStyles,b=C.children,U=A?{}:z.content,B=D?{}:z.overlay;if(this.shouldBeClosed())return null;var J={ref:this.setOverlayRef,className:this.buildClassName("overlay",D),style:n({},B,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},W=n({id:O,ref:this.setContentRef,style:n({},U,this.props.style.content),className:this.buildClassName("content",A),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(W,b);return this.props.overlayElement(J,Z)}}]),P}(i.Component);re.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},re.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(m.default),s.default.instanceOf(_.SafeHTMLCollection),s.default.instanceOf(_.SafeNodeList),s.default.arrayOf(s.default.instanceOf(m.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=re,e.exports=t.default})(K2,rl);function $0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function U0(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function F0(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}}$0.__suppressDeprecationWarning=!0;U0.__suppressDeprecationWarning=!0;F0.__suppressDeprecationWarning=!0;function UC(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=$0,t.componentWillReceiveProps=U0),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=F0;var s=t.componentDidUpdate;t.componentDidUpdate=function(u,c,f){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;s.call(this,u,c,d)}}return e}const FC=Object.freeze(Object.defineProperty({__proto__:null,polyfill:UC},Symbol.toStringTag,{value:"Module"})),jC=zS(FC);Object.defineProperty(Tr,"__esModule",{value:!0});Tr.bodyOpenClassName=Tr.portalClassName=void 0;var Iv=Object.assign||function(e){for(var t=1;t0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function Qe(){}function ZC(e,t){return typeof e=="function"?e(t):e}function cf(e){return typeof e=="number"&&e>=0&&e!==1/0}function ul(e){return Array.isArray(e)?e:[e]}function z0(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _s(e,t,n){return ga(e)?typeof t=="function"?de({},n,{queryKey:e,queryFn:t}):de({},t,{queryKey:e}):e}function l$(e,t,n){return ga(e)?typeof t=="function"?de({},n,{mutationKey:e,mutationFn:t}):de({},t,{mutationKey:e}):typeof e=="function"?de({},t,{mutationFn:e}):de({},e)}function Nn(e,t,n){return ga(e)?[de({},t,{queryKey:e}),n]:[e||{},t]}function eR(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var n=e??!t;return n?"active":"inactive"}function jv(e,t){var n=e.active,r=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,s=e.queryKey,l=e.stale;if(ga(s)){if(r){if(t.queryHash!==Hd(s,t.options))return!1}else if(!cl(t.queryKey,s))return!1}var u=eR(n,i);if(u==="none")return!1;if(u!=="all"){var c=t.isActive();if(u==="active"&&!c||u==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof o=="boolean"&&t.isFetching()!==o||a&&!a(t))}function Bv(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(ga(i)){if(!t.options.mutationKey)return!1;if(n){if(wr(t.options.mutationKey)!==wr(i))return!1}else if(!cl(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function Hd(e,t){var n=(t==null?void 0:t.queryKeyHashFn)||wr;return n(e)}function wr(e){var t=ul(e);return tR(t)}function tR(e){return JSON.stringify(e,function(t,n){return ff(n)?Object.keys(n).sort().reduce(function(r,o){return r[o]=n[o],r},{}):n})}function cl(e,t){return V0(ul(e),ul(t))}function V0(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(n){return!V0(e[n],t[n])}):!1}function fl(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||ff(e)&&ff(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},s=0,l=0;l"u")return!0;var n=t.prototype;return!(!zv(n)||!n.hasOwnProperty("isPrototypeOf"))}function zv(e){return Object.prototype.toString.call(e)==="[object Object]"}function ga(e){return typeof e=="string"||Array.isArray(e)}function rR(e){return new Promise(function(t){setTimeout(t,e)})}function Vv(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function W0(){if(typeof AbortController=="function")return new AbortController}var oR=function(e){va(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(o){var i;if(!ll&&((i=window)!=null&&i.addEventListener)){var a=function(){return o()};return window.addEventListener("visibilitychange",a,!1),window.addEventListener("focus",a,!1),function(){window.removeEventListener("visibilitychange",a),window.removeEventListener("focus",a)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},n.setEventListener=function(o){var i,a=this;this.setup=o,(i=this.cleanup)==null||i.call(this),this.cleanup=o(function(s){typeof s=="boolean"?a.setFocused(s):a.onFocus()})},n.setFocused=function(o){this.focused=o,o&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(o){o()})},n.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(ma),Ri=new oR,iR=function(e){va(t,e);function t(){var r;return r=e.call(this)||this,r.setup=function(o){var i;if(!ll&&((i=window)!=null&&i.addEventListener)){var a=function(){return o()};return window.addEventListener("online",a,!1),window.addEventListener("offline",a,!1),function(){window.removeEventListener("online",a),window.removeEventListener("offline",a)}}},r}var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},n.setEventListener=function(o){var i,a=this;this.setup=o,(i=this.cleanup)==null||i.call(this),this.cleanup=o(function(s){typeof s=="boolean"?a.setOnline(s):a.onOnline()})},n.setOnline=function(o){this.online=o,o&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(o){o()})},n.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(ma),bs=new iR;function aR(e){return Math.min(1e3*Math.pow(2,e),3e4)}function dl(e){return typeof(e==null?void 0:e.cancel)=="function"}var H0=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function Es(e){return e instanceof H0}var q0=function(t){var n=this,r=!1,o,i,a,s;this.abort=t.abort,this.cancel=function(d){return o==null?void 0:o(d)},this.cancelRetry=function(){r=!0},this.continueRetry=function(){r=!1},this.continue=function(){return i==null?void 0:i()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(d,p){a=d,s=p});var l=function(p){n.isResolved||(n.isResolved=!0,t.onSuccess==null||t.onSuccess(p),i==null||i(),a(p))},u=function(p){n.isResolved||(n.isResolved=!0,t.onError==null||t.onError(p),i==null||i(),s(p))},c=function(){return new Promise(function(p){i=p,n.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){i=void 0,n.isPaused=!1,t.onContinue==null||t.onContinue()})},f=function d(){if(!n.isResolved){var p;try{p=t.fn()}catch(v){p=Promise.reject(v)}o=function(y){if(!n.isResolved&&(u(new H0(y)),n.abort==null||n.abort(),dl(p)))try{p.cancel()}catch{}},n.isTransportCancelable=dl(p),Promise.resolve(p).then(l).catch(function(v){var y,_;if(!n.isResolved){var m=(y=t.retry)!=null?y:3,h=(_=t.retryDelay)!=null?_:aR,g=typeof h=="function"?h(n.failureCount,v):h,S=m===!0||typeof m=="number"&&n.failureCount"u"&&(s.exact=!0),this.queries.find(function(l){return jv(s,l)})},n.findAll=function(o,i){var a=Nn(o,i),s=a[0];return Object.keys(s).length>0?this.queries.filter(function(l){return jv(s,l)}):this.queries},n.notify=function(o){var i=this;Ne.batch(function(){i.listeners.forEach(function(a){a(o)})})},n.onFocus=function(){var o=this;Ne.batch(function(){o.queries.forEach(function(i){i.onFocus()})})},n.onOnline=function(){var o=this;Ne.batch(function(){o.queries.forEach(function(i){i.onOnline()})})},t}(ma),cR=function(){function e(n){this.options=de({},n.defaultOptions,n.options),this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.observers=[],this.state=n.state||fR(),this.meta=n.meta}var t=e.prototype;return t.setState=function(r){this.dispatch({type:"setState",state:r})},t.addObserver=function(r){this.observers.indexOf(r)===-1&&this.observers.push(r)},t.removeObserver=function(r){this.observers=this.observers.filter(function(o){return o!==r})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Qe).catch(Qe)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var r=this,o,i=this.state.status==="loading",a=Promise.resolve();return i||(this.dispatch({type:"loading",variables:this.options.variables}),a=a.then(function(){r.mutationCache.config.onMutate==null||r.mutationCache.config.onMutate(r.state.variables,r)}).then(function(){return r.options.onMutate==null?void 0:r.options.onMutate(r.state.variables)}).then(function(s){s!==r.state.context&&r.dispatch({type:"loading",context:s,variables:r.state.variables})})),a.then(function(){return r.executeMutation()}).then(function(s){o=s,r.mutationCache.config.onSuccess==null||r.mutationCache.config.onSuccess(o,r.state.variables,r.state.context,r)}).then(function(){return r.options.onSuccess==null?void 0:r.options.onSuccess(o,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(o,null,r.state.variables,r.state.context)}).then(function(){return r.dispatch({type:"success",data:o}),o}).catch(function(s){return r.mutationCache.config.onError==null||r.mutationCache.config.onError(s,r.state.variables,r.state.context,r),hl().error(s),Promise.resolve().then(function(){return r.options.onError==null?void 0:r.options.onError(s,r.state.variables,r.state.context)}).then(function(){return r.options.onSettled==null?void 0:r.options.onSettled(void 0,s,r.state.variables,r.state.context)}).then(function(){throw r.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var r=this,o;return this.retryer=new q0({fn:function(){return r.options.mutationFn?r.options.mutationFn(r.state.variables):Promise.reject("No mutationFn found")},onFail:function(){r.dispatch({type:"failed"})},onPause:function(){r.dispatch({type:"pause"})},onContinue:function(){r.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(r){var o=this;this.state=dR(this.state,r),Ne.batch(function(){o.observers.forEach(function(i){i.onMutationUpdate(r)}),o.mutationCache.notify(o)})},e}();function fR(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function dR(e,t){switch(t.type){case"failed":return de({},e,{failureCount:e.failureCount+1});case"pause":return de({},e,{isPaused:!0});case"continue":return de({},e,{isPaused:!1});case"loading":return de({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return de({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return de({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return de({},e,t.state);default:return e}}var hR=function(e){va(t,e);function t(r){var o;return o=e.call(this)||this,o.config=r||{},o.mutations=[],o.mutationId=0,o}var n=t.prototype;return n.build=function(o,i,a){var s=new cR({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(i),state:a,defaultOptions:i.mutationKey?o.getMutationDefaults(i.mutationKey):void 0,meta:i.meta});return this.add(s),s},n.add=function(o){this.mutations.push(o),this.notify(o)},n.remove=function(o){this.mutations=this.mutations.filter(function(i){return i!==o}),o.cancel(),this.notify(o)},n.clear=function(){var o=this;Ne.batch(function(){o.mutations.forEach(function(i){o.remove(i)})})},n.getAll=function(){return this.mutations},n.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(i){return Bv(o,i)})},n.findAll=function(o){return this.mutations.filter(function(i){return Bv(o,i)})},n.notify=function(o){var i=this;Ne.batch(function(){i.listeners.forEach(function(a){a(o)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var o=this.mutations.filter(function(i){return i.state.isPaused});return Ne.batch(function(){return o.reduce(function(i,a){return i.then(function(){return a.continue().catch(Qe)})},Promise.resolve())})},t}(ma);function pR(){return{onFetch:function(t){t.fetchFn=function(){var n,r,o,i,a,s,l=(n=t.fetchOptions)==null||(r=n.meta)==null?void 0:r.refetchPage,u=(o=t.fetchOptions)==null||(i=o.meta)==null?void 0:i.fetchMore,c=u==null?void 0:u.pageParam,f=(u==null?void 0:u.direction)==="forward",d=(u==null?void 0:u.direction)==="backward",p=((a=t.state.data)==null?void 0:a.pages)||[],v=((s=t.state.data)==null?void 0:s.pageParams)||[],y=W0(),_=y==null?void 0:y.signal,m=v,h=!1,g=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},S=function(w,P,M,C){return m=C?[P].concat(m):[].concat(m,[P]),C?[M].concat(w):[].concat(w,[M])},k=function(w,P,M,C){if(h)return Promise.reject("Cancelled");if(typeof M>"u"&&!P&&w.length)return Promise.resolve(w);var O={queryKey:t.queryKey,signal:_,pageParam:M,meta:t.meta},A=g(O),D=Promise.resolve(A).then(function(b){return S(w,M,b,C)});if(dl(A)){var z=D;z.cancel=A.cancel}return D},T;if(!p.length)T=k([]);else if(f){var N=typeof c<"u",I=N?c:Wv(t.options,p);T=k(p,N,I)}else if(d){var G=typeof c<"u",$=G?c:vR(t.options,p);T=k(p,G,$,!0)}else(function(){m=[];var re=typeof t.options.getNextPageParam>"u",w=l&&p[0]?l(p[0],0,p):!0;T=w?k([],re,v[0]):Promise.resolve(S([],v[0],p[0]));for(var P=function(O){T=T.then(function(A){var D=l&&p[O]?l(p[O],O,p):!0;if(D){var z=re?v[O]:Wv(t.options,A);return k(A,re,z)}return Promise.resolve(S(A,v[O],p[O]))})},M=1;M"u"&&(c.revert=!0);var f=Ne.batch(function(){return a.queryCache.findAll(l).map(function(d){return d.cancel(c)})});return Promise.all(f).then(Qe).catch(Qe)},t.invalidateQueries=function(r,o,i){var a,s,l,u=this,c=Nn(r,o,i),f=c[0],d=c[1],p=de({},f,{active:(a=(s=f.refetchActive)!=null?s:f.active)!=null?a:!0,inactive:(l=f.refetchInactive)!=null?l:!1});return Ne.batch(function(){return u.queryCache.findAll(f).forEach(function(v){v.invalidate()}),u.refetchQueries(p,d)})},t.refetchQueries=function(r,o,i){var a=this,s=Nn(r,o,i),l=s[0],u=s[1],c=Ne.batch(function(){return a.queryCache.findAll(l).map(function(d){return d.fetch(void 0,de({},u,{meta:{refetchPage:l==null?void 0:l.refetchPage}}))})}),f=Promise.all(c).then(Qe);return u!=null&&u.throwOnError||(f=f.catch(Qe)),f},t.fetchQuery=function(r,o,i){var a=_s(r,o,i),s=this.defaultQueryOptions(a);typeof s.retry>"u"&&(s.retry=!1);var l=this.queryCache.build(this,s);return l.isStaleByTime(s.staleTime)?l.fetch(s):Promise.resolve(l.state.data)},t.prefetchQuery=function(r,o,i){return this.fetchQuery(r,o,i).then(Qe).catch(Qe)},t.fetchInfiniteQuery=function(r,o,i){var a=_s(r,o,i);return a.behavior=pR(),this.fetchQuery(a)},t.prefetchInfiniteQuery=function(r,o,i){return this.fetchInfiniteQuery(r,o,i).then(Qe).catch(Qe)},t.cancelMutations=function(){var r=this,o=Ne.batch(function(){return r.mutationCache.getAll().map(function(i){return i.cancel()})});return Promise.all(o).then(Qe).catch(Qe)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(r){return this.mutationCache.build(this,r).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(r){this.defaultOptions=r},t.setQueryDefaults=function(r,o){var i=this.queryDefaults.find(function(a){return wr(r)===wr(a.queryKey)});i?i.defaultOptions=o:this.queryDefaults.push({queryKey:r,defaultOptions:o})},t.getQueryDefaults=function(r){var o;return r?(o=this.queryDefaults.find(function(i){return cl(r,i.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(r,o){var i=this.mutationDefaults.find(function(a){return wr(r)===wr(a.mutationKey)});i?i.defaultOptions=o:this.mutationDefaults.push({mutationKey:r,defaultOptions:o})},t.getMutationDefaults=function(r){var o;return r?(o=this.mutationDefaults.find(function(i){return cl(r,i.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(r){if(r!=null&&r._defaulted)return r;var o=de({},this.defaultOptions.queries,this.getQueryDefaults(r==null?void 0:r.queryKey),r,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=Hd(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(r){return this.defaultQueryOptions(r)},t.defaultMutationOptions=function(r){return r!=null&&r._defaulted?r:de({},this.defaultOptions.mutations,this.getMutationDefaults(r==null?void 0:r.mutationKey),r,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),gR=function(e){va(t,e);function t(r,o){var i;return i=e.call(this)||this,i.client=r,i.options=o,i.trackedProps=[],i.selectError=null,i.bindMethods(),i.setOptions(o),i}var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Hv(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return df(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return df(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(o,i){var a=this.options,s=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),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=a.queryKey),this.updateQuery();var l=this.hasListeners();l&&qv(this.currentQuery,s,this.options,a)&&this.executeFetch(),this.updateResult(i),l&&(this.currentQuery!==s||this.options.enabled!==a.enabled||this.options.staleTime!==a.staleTime)&&this.updateStaleTimeout();var u=this.computeRefetchInterval();l&&(this.currentQuery!==s||this.options.enabled!==a.enabled||u!==this.currentRefetchInterval)&&this.updateRefetchInterval(u)},n.getOptimisticResult=function(o){var i=this.client.defaultQueryObserverOptions(o),a=this.client.getQueryCache().build(this.client,i);return this.createResult(a,i)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(o,i){var a=this,s={},l=function(c){a.trackedProps.includes(c)||a.trackedProps.push(c)};return Object.keys(o).forEach(function(u){Object.defineProperty(s,u,{configurable:!1,enumerable:!0,get:function(){return l(u),o[u]}})}),(i.useErrorBoundary||i.suspense)&&l("error"),s},n.getNextResult=function(o){var i=this;return new Promise(function(a,s){var l=i.subscribe(function(u){u.isFetching||(l(),u.isError&&(o!=null&&o.throwOnError)?s(u.error):a(u))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(o){return this.fetch(de({},o,{meta:{refetchPage:o==null?void 0:o.refetchPage}}))},n.fetchOptimistic=function(o){var i=this,a=this.client.defaultQueryObserverOptions(o),s=this.client.getQueryCache().build(this.client,a);return s.fetch().then(function(){return i.createResult(s,a)})},n.fetch=function(o){var i=this;return this.executeFetch(o).then(function(){return i.updateResult(),i.currentResult})},n.executeFetch=function(o){this.updateQuery();var i=this.currentQuery.fetch(this.options,o);return o!=null&&o.throwOnError||(i=i.catch(Qe)),i},n.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(ll||this.currentResult.isStale||!cf(this.options.staleTime))){var i=z0(this.currentResult.dataUpdatedAt,this.options.staleTime),a=i+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},a)}},n.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},n.updateRefetchInterval=function(o){var i=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(ll||this.options.enabled===!1||!cf(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(i.options.refetchIntervalInBackground||Ri.isFocused())&&i.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(o,i){var a=this.currentQuery,s=this.options,l=this.currentResult,u=this.currentResultState,c=this.currentResultOptions,f=o!==a,d=f?o.state:this.currentQueryInitialState,p=f?this.currentResult:this.previousQueryResult,v=o.state,y=v.dataUpdatedAt,_=v.error,m=v.errorUpdatedAt,h=v.isFetching,g=v.status,S=!1,k=!1,T;if(i.optimisticResults){var N=this.hasListeners(),I=!N&&Hv(o,i),G=N&&qv(o,a,i,s);(I||G)&&(h=!0,y||(g="loading"))}if(i.keepPreviousData&&!v.dataUpdateCount&&(p!=null&&p.isSuccess)&&g!=="error")T=p.data,y=p.dataUpdatedAt,g=p.status,S=!0;else if(i.select&&typeof v.data<"u")if(l&&v.data===(u==null?void 0:u.data)&&i.select===this.selectFn)T=this.selectResult;else try{this.selectFn=i.select,T=i.select(v.data),i.structuralSharing!==!1&&(T=fl(l==null?void 0:l.data,T)),this.selectResult=T,this.selectError=null}catch(ce){hl().error(ce),this.selectError=ce}else T=v.data;if(typeof i.placeholderData<"u"&&typeof T>"u"&&(g==="loading"||g==="idle")){var $;if(l!=null&&l.isPlaceholderData&&i.placeholderData===(c==null?void 0:c.placeholderData))$=l.data;else if($=typeof i.placeholderData=="function"?i.placeholderData():i.placeholderData,i.select&&typeof $<"u")try{$=i.select($),i.structuralSharing!==!1&&($=fl(l==null?void 0:l.data,$)),this.selectError=null}catch(ce){hl().error(ce),this.selectError=ce}typeof $<"u"&&(g="success",T=$,k=!0)}this.selectError&&(_=this.selectError,T=this.selectResult,m=Date.now(),g="error");var X={status:g,isLoading:g==="loading",isSuccess:g==="success",isError:g==="error",isIdle:g==="idle",data:T,dataUpdatedAt:y,error:_,errorUpdatedAt:m,failureCount:v.fetchFailureCount,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>d.dataUpdateCount||v.errorUpdateCount>d.errorUpdateCount,isFetching:h,isRefetching:h&&g!=="loading",isLoadingError:g==="error"&&v.dataUpdatedAt===0,isPlaceholderData:k,isPreviousData:S,isRefetchError:g==="error"&&v.dataUpdatedAt!==0,isStale:qd(o,i),refetch:this.refetch,remove:this.remove};return X},n.shouldNotifyListeners=function(o,i){if(!i)return!0;var a=this.options,s=a.notifyOnChangeProps,l=a.notifyOnChangePropsExclusions;if(!s&&!l||s==="tracked"&&!this.trackedProps.length)return!0;var u=s==="tracked"?this.trackedProps:s;return Object.keys(o).some(function(c){var f=c,d=o[f]!==i[f],p=u==null?void 0:u.some(function(y){return y===c}),v=l==null?void 0:l.some(function(y){return y===c});return d&&!v&&(!u||p)})},n.updateResult=function(o){var i=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!nR(this.currentResult,i)){var a={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,i)&&(a.listeners=!0),this.notify(de({},a,o))}},n.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var i=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(i==null||i.removeObserver(this),o.addObserver(this))}},n.onQueryUpdate=function(o){var i={};o.type==="success"?i.onSuccess=!0:o.type==="error"&&!Es(o.error)&&(i.onError=!0),this.updateResult(i),this.hasListeners()&&this.updateTimers()},n.notify=function(o){var i=this;Ne.batch(function(){o.onSuccess?(i.options.onSuccess==null||i.options.onSuccess(i.currentResult.data),i.options.onSettled==null||i.options.onSettled(i.currentResult.data,null)):o.onError&&(i.options.onError==null||i.options.onError(i.currentResult.error),i.options.onSettled==null||i.options.onSettled(void 0,i.currentResult.error)),o.listeners&&i.listeners.forEach(function(a){a(i.currentResult)}),o.cache&&i.client.getQueryCache().notify({query:i.currentQuery,type:"observerResultsUpdated"})})},t}(ma);function yR(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Hv(e,t){return yR(e,t)||e.state.dataUpdatedAt>0&&df(e,t,t.refetchOnMount)}function df(e,t,n){if(t.enabled!==!1){var r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&qd(e,t)}return!1}function qv(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&qd(e,n)}function qd(e,t){return e.isStaleByTime(t.staleTime)}var wR=L0.unstable_batchedUpdates;Ne.setBatchNotifyFunction(wR);var SR=console;lR(SR);var Kv=V.createContext(void 0),G0=V.createContext(!1);function X0(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Kv),window.ReactQueryClientContext):Kv}var _R=function(){var t=V.useContext(X0(V.useContext(G0)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},bR=function(t){var n=t.client,r=t.contextSharing,o=r===void 0?!1:r,i=t.children;V.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var a=X0(o);return V.createElement(G0.Provider,{value:o},V.createElement(a.Provider,{value:n},i))};function ER(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var CR=V.createContext(ER()),RR=function(){return V.useContext(CR)};function OR(e,t,n){return typeof t=="function"?t.apply(void 0,n):typeof t=="boolean"?t:!!e}function xR(e,t){var n=V.useRef(!1),r=V.useState(0),o=r[1],i=_R(),a=RR(),s=i.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=Ne.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=Ne.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=Ne.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(a.isReset()||(s.retryOnMount=!1));var l=V.useState(function(){return new t(i,s)}),u=l[0],c=u.getOptimisticResult(s);if(V.useEffect(function(){n.current=!0,a.clearReset();var f=u.subscribe(Ne.batchCalls(function(){n.current&&o(function(d){return d+1})}));return u.updateResult(),function(){n.current=!1,f()}},[a,u]),V.useEffect(function(){u.setOptions(s,{listeners:!1})},[s,u]),s.suspense&&c.isLoading)throw u.fetchOptimistic(s).then(function(f){var d=f.data;s.onSuccess==null||s.onSuccess(d),s.onSettled==null||s.onSettled(d,null)}).catch(function(f){a.clearReset(),s.onError==null||s.onError(f),s.onSettled==null||s.onSettled(void 0,f)});if(c.isError&&!a.isReset()&&!c.isFetching&&OR(s.suspense,s.useErrorBoundary,[c.error,u.getCurrentQuery()]))throw c.error;return s.notifyOnChangeProps==="tracked"&&(c=u.trackResult(c,s)),c}function Y0(e,t,n){var r=_s(e,t,n);return xR(r,gR)}/** + * @remix-run/router v1.3.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 ta(){return ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function PR(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function TR(){return Math.random().toString(36).substr(2,8)}function Gv(e,t){return{usr:e.state,key:e.key,idx:t}}function hf(e,t,n,r){return n===void 0&&(n=null),ta({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?$r(t):t,{state:n,key:t&&t.key||r||TR()})}function na(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 $r(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 LR(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=jn.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(ta({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function f(){s=jn.Pop;let _=c(),m=_==null?null:_-u;u=_,l&&l({action:s,location:y.location,delta:m})}function d(_,m){s=jn.Push;let h=hf(y.location,_,m);n&&n(h,_),u=c()+1;let g=Gv(h,u),S=y.createHref(h);try{a.pushState(g,"",S)}catch{o.location.assign(S)}i&&l&&l({action:s,location:y.location,delta:1})}function p(_,m){s=jn.Replace;let h=hf(y.location,_,m);n&&n(h,_),u=c();let g=Gv(h,u),S=y.createHref(h);a.replaceState(g,"",S),i&&l&&l({action:s,location:y.location,delta:0})}function v(_){let m=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof _=="string"?_:na(_);return Ue(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let y={get action(){return s},get location(){return e(o,a)},listen(_){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Qv,f),l=_,()=>{o.removeEventListener(Qv,f),l=null}},createHref(_){return t(o,_)},createURL:v,encodeLocation(_){let m=v(_);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:p,go(_){return a.go(_)}};return y}var Xv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xv||(Xv={}));function NR(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?$r(t):t,o=e1(r.pathname||"/",n);if(o==null)return null;let i=J0(e);AR(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("/")&&(Ue(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=Yn([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),J0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:jR(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 Z0(i.path))o(i,a,l)}),t}function Z0(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=Z0(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 AR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:BR(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const IR=/^:\w+$/,MR=3,DR=2,$R=1,UR=10,FR=-2,Yv=e=>e==="*";function jR(e,t){let n=e.split("/"),r=n.length;return n.some(Yv)&&(r+=FR),t&&(r+=DR),n.filter(o=>!Yv(o)).reduce((o,i)=>o+(IR.test(i)?MR:i===""?$R:UR),r)}function BR(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 zR(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let a=0;a{if(c==="*"){let d=s[f]||"";a=i.slice(0,i.length-d.length).replace(/(.)\/+$/,"$1")}return u[c]=qR(s[f]||"",c),u},{}),pathname:i,pathnameBase:a,pattern:e}}function WR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Kd(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 HR(e){try{return decodeURI(e)}catch(t){return Kd(!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 qR(e,t){try{return decodeURIComponent(e)}catch(n){return Kd(!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 e1(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 Kd(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function KR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?$r(e):e;return{pathname:n?n.startsWith("/")?n:QR(n,t):t,search:XR(r),hash:YR(o)}}function QR(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 zu(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 t1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function n1(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=$r(e):(o=ta({},e),Ue(!o.pathname||!o.pathname.includes("?"),zu("?","pathname","search",o)),Ue(!o.pathname||!o.pathname.includes("#"),zu("#","pathname","hash",o)),Ue(!o.search||!o.search.includes("#"),zu("#","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 d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;o.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=KR(o,s),u=a&&a!=="/"&&a.endsWith("/"),c=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Yn=e=>e.join("/").replace(/\/\/+/g,"/"),GR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),XR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,YR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function JR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ZR=["post","put","patch","delete"];[...ZR];/** + * React Router v6.8.0 + * + * 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 pf(){return pf=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.value=r,o.getSnapshot=t,Vu(o)&&i({inst:o})},[e,r,t]),rO(()=>(Vu(o)&&i({inst:o}),e(()=>{Vu(o)&&i({inst:o})})),[e]),iO(r),r}function Vu(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!tO(n,r)}catch{return!0}}function sO(e,t,n){return t()}const lO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",uO=!lO,cO=uO?sO:aO;"useSyncExternalStore"in Tt&&(e=>e.useSyncExternalStore)(Tt);const r1=L.createContext(null),o1=L.createContext(null),zl=L.createContext(null),Vl=L.createContext(null),$o=L.createContext({outlet:null,matches:[]}),i1=L.createContext(null);function fO(e,t){let{relative:n}=t===void 0?{}:t;ya()||Ue(!1);let{basename:r,navigator:o}=L.useContext(zl),{hash:i,pathname:a,search:s}=a1(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:Yn([r,a])),o.createHref({pathname:l,search:s,hash:i})}function ya(){return L.useContext(Vl)!=null}function wa(){return ya()||Ue(!1),L.useContext(Vl).location}function dO(){ya()||Ue(!1);let{basename:e,navigator:t}=L.useContext(zl),{matches:n}=L.useContext($o),{pathname:r}=wa(),o=JSON.stringify(t1(n).map(s=>s.pathnameBase)),i=L.useRef(!1);return L.useEffect(()=>{i.current=!0}),L.useCallback(function(s,l){if(l===void 0&&(l={}),!i.current)return;if(typeof s=="number"){t.go(s);return}let u=n1(s,JSON.parse(o),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Yn([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,o,r])}function a1(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=L.useContext($o),{pathname:o}=wa(),i=JSON.stringify(t1(r).map(a=>a.pathnameBase));return L.useMemo(()=>n1(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function s1(e,t){ya()||Ue(!1);let{navigator:n}=L.useContext(zl),r=L.useContext(o1),{matches:o}=L.useContext($o),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let l=wa(),u;if(t){var c;let y=typeof t=="string"?$r(t):t;s==="/"||(c=y.pathname)!=null&&c.startsWith(s)||Ue(!1),u=y}else u=l;let f=u.pathname||"/",d=s==="/"?f:f.slice(s.length)||"/",p=NR(e,{pathname:d}),v=mO(p&&p.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:Yn([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Yn([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,r||void 0);return t&&v?L.createElement(Vl.Provider,{value:{location:pf({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:jn.Pop}},v):v}function hO(){let e=SO(),t=JR(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 L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},t),n?L.createElement("pre",{style:o},n):null,i)}class pO extends L.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?L.createElement($o.Provider,{value:this.props.routeContext},L.createElement(i1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vO(e){let{routeContext:t,match:n,children:r}=e,o=L.useContext(r1);return o&&o.static&&o.staticContext&&n.route.errorElement&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),L.createElement($o.Provider,{value:t},r)}function mO(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||Ue(!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||L.createElement(hO,null):null,c=t.concat(r.slice(0,s+1)),f=()=>L.createElement(vO,{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)?L.createElement(pO,{location:n.location,component:u,error:l,children:f(),routeContext:{outlet:null,matches:c}}):f()},null)}var Jv;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(Jv||(Jv={}));var pl;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(pl||(pl={}));function gO(e){let t=L.useContext(o1);return t||Ue(!1),t}function yO(e){let t=L.useContext($o);return t||Ue(!1),t}function wO(e){let t=yO(),n=t.matches[t.matches.length-1];return n.route.id||Ue(!1),n.route.id}function SO(){var e;let t=L.useContext(i1),n=gO(pl.UseRouteError),r=wO(pl.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function vf(e){Ue(!1)}function _O(e){let{basename:t="/",children:n=null,location:r,navigationType:o=jn.Pop,navigator:i,static:a=!1}=e;ya()&&Ue(!1);let s=t.replace(/^\/*/,"/"),l=L.useMemo(()=>({basename:s,navigator:i,static:a}),[s,i,a]);typeof r=="string"&&(r=$r(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:p="default"}=r,v=L.useMemo(()=>{let y=e1(u,s);return y==null?null:{pathname:y,search:c,hash:f,state:d,key:p}},[s,u,c,f,d,p]);return v==null?null:L.createElement(zl.Provider,{value:l},L.createElement(Vl.Provider,{children:n,value:{location:v,navigationType:o}}))}function bO(e){let{children:t,location:n}=e,r=L.useContext(r1),o=r&&!t?r.router.routes:mf(t);return s1(o,n)}var Zv;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Zv||(Zv={}));new Promise(()=>{});function mf(e,t){t===void 0&&(t=[]);let n=[];return L.Children.forEach(e,(r,o)=>{if(!L.isValidElement(r))return;if(r.type===L.Fragment){n.push.apply(n,mf(r.props.children,t));return}r.type!==vf&&Ue(!1),!r.props.index||!r.props.children||Ue(!1);let i=[...t,o],a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(a.children=mf(r.props.children,i)),n.push(a)}),n}/** + * React Router DOM v6.8.0 + * + * 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 gf(){return gf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function CO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function RO(e,t){return e.button===0&&(!t||t==="_self")&&!CO(e)}const OO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function xO(e){let{basename:t,children:n,window:r}=e,o=L.useRef();o.current==null&&(o.current=kR({window:r,v5Compat:!0}));let i=o.current,[a,s]=L.useState({action:i.action,location:i.location});return L.useLayoutEffect(()=>i.listen(s),[i]),L.createElement(_O,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i})}const kO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",l1=L.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:u,preventScrollReset:c}=t,f=EO(t,OO),d=typeof u=="string"?u:na(u),p=/^[a-z+]+:\/\//i.test(d)||d.startsWith("//"),v=d,y=!1;if(kO&&p){let g=new URL(window.location.href),S=d.startsWith("//")?new URL(g.protocol+d):new URL(d);S.origin===g.origin?v=S.pathname+S.search+S.hash:y=!0}let _=fO(v,{relative:o}),m=PO(v,{replace:a,state:s,target:l,preventScrollReset:c,relative:o});function h(g){r&&r(g),g.defaultPrevented||m(g)}return L.createElement("a",gf({},f,{href:p?d:_,onClick:y||i?r:h,ref:n,target:l}))});var em;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(em||(em={}));var tm;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(tm||(tm={}));function PO(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a}=t===void 0?{}:t,s=dO(),l=wa(),u=a1(e,{relative:a});return L.useCallback(c=>{if(RO(c,n)){c.preventDefault();let f=r!==void 0?r:na(l)===na(u);s(e,{replace:f,state:o,preventScrollReset:i,relative:a})}},[l,s,u,r,o,n,e,i,a])}function TO(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var LO=TO,se=LO;function NO(e){return!!e&&typeof e.then=="function"}var Re=NO;function AO(e,t){if(e!=null)return e;throw se(t??"Got unexpected null or undefined")}var Oe=AO;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 Wl{getValue(){throw se("BaseLoadable")}toPromise(){throw se("BaseLoadable")}valueMaybe(){throw se("BaseLoadable")}valueOrThrow(){throw se(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw se("BaseLoadable")}promiseOrThrow(){throw se(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw se("BaseLoadable")}errorOrThrow(){throw se(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw se("BaseLoadable")}}class IO extends Wl{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 Re(n)?Lr(n):Ro(n)?n:Sa(n)}catch(n){return Re(n)?Lr(n.next(()=>this.map(t))):Hl(n)}}}class MO extends Wl{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 u1 extends Wl{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 Lr(this.contents.then(n=>{const r=t(n);if(Ro(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(Re(n))return n.then(()=>this.map(t).contents);throw n}))}}function Sa(e){return Object.freeze(new IO(e))}function Hl(e){return Object.freeze(new MO(e))}function Lr(e){return Object.freeze(new u1(e))}function c1(){return Object.freeze(new u1(new Promise(()=>{})))}function DO(e){return e.every(t=>t.state==="hasValue")?Sa(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?Hl(Oe(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Lr(Promise.all(e.map(t=>t.contents)))}function f1(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>Ro(o)?o:Re(o)?Lr(o):Sa(o)),r=DO(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((i,a,s)=>({...i,[a]:o[s]}),{}))}function Ro(e){return e instanceof Wl}const $O={of:e=>Re(e)?Lr(e):Ro(e)?e:Sa(e),error:e=>Hl(e),loading:()=>c1(),all:f1,isLoadable:Ro};var Ur={loadableWithValue:Sa,loadableWithError:Hl,loadableWithPromise:Lr,loadableLoading:c1,loadableAll:f1,isLoadable:Ro,RecoilLoadable:$O},UO=Ur.loadableWithValue,FO=Ur.loadableWithError,jO=Ur.loadableWithPromise,BO=Ur.loadableLoading,zO=Ur.loadableAll,VO=Ur.isLoadable,WO=Ur.RecoilLoadable,_a=Object.freeze({__proto__:null,loadableWithValue:UO,loadableWithError:FO,loadableWithPromise:jO,loadableLoading:BO,loadableAll:zO,isLoadable:VO,RecoilLoadable:WO});const ql=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 Kl(e){var t;return(t=ql.get(e))!==null&&t!==void 0?t:!1}Kl.setPass=e=>{ql.set(e,!0)};Kl.setFail=e=>{ql.set(e,!1)};Kl.clear=()=>{ql.clear()};var ge=Kl;function HO(e,t,{error:n}={}){return null}var qO=HO,Qd=qO,Wu,Hu,qu;const KO=(Wu=V.createMutableSource)!==null&&Wu!==void 0?Wu:V.unstable_createMutableSource,d1=(Hu=V.useMutableSource)!==null&&Hu!==void 0?Hu:V.unstable_useMutableSource,h1=(qu=V.useSyncExternalStore)!==null&&qu!==void 0?qu:V.unstable_useSyncExternalStore;function QO(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=V.__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 GO(){return ge("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:ge("recoil_sync_external_store")&&h1!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:ge("recoil_mutable_source")&&d1!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?ge("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:ge("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function XO(){return!1}var ba={createMutableSource:KO,useMutableSource:d1,useSyncExternalStore:h1,currentRendererSupportsUseSyncExternalStore:QO,reactMode:GO,isFastRefreshEnabled:XO};const p1={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};function YO(){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 se(`({}).RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${r}`);p1.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=r==="true"}YO();var v1=p1;class Gd{constructor(t){ie(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class m1 extends Gd{}class g1 extends Gd{}function JO(e){return e instanceof m1||e instanceof g1}var Ql={AbstractRecoilValue:Gd,RecoilState:m1,RecoilValueReadOnly:g1,isRecoilValue:JO},ZO=Ql.AbstractRecoilValue,ex=Ql.RecoilState,tx=Ql.RecoilValueReadOnly,nx=Ql.isRecoilValue,Oo=Object.freeze({__proto__:null,AbstractRecoilValue:ZO,RecoilState:ex,RecoilValueReadOnly:tx,isRecoilValue:nx});function rx(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var Gl=rx;class y1{}const ox=new y1,Nr=new Map,Xd=new Map;function ix(e){return Gl(e,t=>Oe(Xd.get(t)))}function ax(e){if(Nr.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 sx(e){v1.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&ax(e.key),Nr.set(e.key,e);const t=e.set==null?new Oo.RecoilValueReadOnly(e.key):new Oo.RecoilState(e.key);return Xd.set(e.key,t),t}class w1 extends Error{}function lx(e){const t=Nr.get(e);if(t==null)throw new w1(`Missing definition for RecoilValue: "${e}""`);return t}function ux(e){return Nr.get(e)}const vl=new Map;function cx(e){var t;if(!ge("recoil_memory_managament_2020"))return;const n=Nr.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;Nr.delete(e),(r=S1(e))===null||r===void 0||r(),vl.delete(e)}}function fx(e,t){ge("recoil_memory_managament_2020")&&(t===void 0?vl.delete(e):vl.set(e,t))}function S1(e){return vl.get(e)}var ft={nodes:Nr,recoilValues:Xd,registerNode:sx,getNode:lx,getNodeMaybe:ux,deleteNodeConfigIfPossible:cx,setConfigDeletionHandler:fx,getConfigDeletionHandler:S1,recoilValuesForKeys:ix,NodeMissingError:w1,DefaultValue:y1,DEFAULT_VALUE:ox};function dx(e,t){t()}var hx={enqueueExecution:dx};function px(e,t){return t={exports:{}},e(t,t.exports),t.exports}var vx=px(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},n={},r=5,o=Math.pow(2,r),i=o-1,a=o/2,s=o/4,l={},u=function(E){return function(){return E}},c=n.hash=function(x){var E=typeof x>"u"?"undefined":t(x);if(E==="number")return x;E!=="string"&&(x+="");for(var F=0,H=0,q=x.length;H>1&1431655765,E=(E&858993459)+(E>>2&858993459),E=E+(E>>4)&252645135,E+=E>>8,E+=E>>16,E&127},d=function(E,F){return F>>>E&i},p=function(E){return 1<=F;)q[ne--]=q[ne];return q[F]=H,q}for(var ee=0,te=0,ue=new Array(Q+1);ee>>=1;return ne[F]=H,X(E,te+1,ne)},w=function(E,F,H,q){for(var Q=new Array(F-1),ne=0,ee=0,te=0,ue=q.length;te1?G(E,this.hash,ue):ue[0]}var Ee=q();return Ee===l?this:(++ee.value,P(E,H,this.hash,this,Q,I(E,Q,ne,Ee)))},D=function(E,F,H,q,Q,ne,ee){var te=this.mask,ue=this.children,Ee=d(H,Q),ot=p(Ee),Fe=v(te,ot),bt=te&ot,Mt=bt?ue[Fe]:T,zr=Mt._modify(E,F,H+r,q,Q,ne,ee);if(Mt===zr)return this;var ka=C(E,this),zo=te,Vo=void 0;if(bt&&N(zr)){if(zo&=~ot,!zo)return T;if(ue.length<=2&&ce(ue[Fe^1]))return ue[Fe^1];Vo=_(ka,Fe,ue)}else if(!bt&&!N(zr)){if(ue.length>=a)return re(E,Ee,zr,te,ue);zo|=ot,Vo=m(ka,Fe,zr,ue)}else Vo=y(ka,Fe,zr,ue);return ka?(this.mask=zo,this.children=Vo,this):$(E,zo,Vo)},z=function(E,F,H,q,Q,ne,ee){var te=this.size,ue=this.children,Ee=d(H,Q),ot=ue[Ee],Fe=(ot||T)._modify(E,F,H+r,q,Q,ne,ee);if(ot===Fe)return this;var bt=C(E,this),Mt=void 0;if(N(ot)&&!N(Fe))++te,Mt=y(bt,Ee,Fe,ue);else if(!N(ot)&&N(Fe)){if(--te,te<=s)return w(E,te,Ee,ue);Mt=y(bt,Ee,T,ue)}else Mt=y(bt,Ee,Fe,ue);return bt?(this.size=te,this.children=Mt,this):X(E,te,Mt)};T._modify=function(x,E,F,H,q,Q,ne){var ee=H();return ee===l?T:(++ne.value,I(x,q,Q,ee))};function b(x,E,F,H,q){this._editable=x,this._edit=E,this._config=F,this._root=H,this._size=q}b.prototype.setTree=function(x,E){return this._editable?(this._root=x,this._size=E,this):x===this._root?this:new b(this._editable,this._edit,this._config,x,E)};var U=n.tryGetHash=function(x,E,F,H){for(var q=H._root,Q=0,ne=H._config.keyEq;;)switch(q.type){case h:return ne(F,q.key)?q.value:x;case g:{if(E===q.hash)for(var ee=q.children,te=0,ue=ee.length;te{n.set(o,t(r,o))}),n}var ml=_x;function bx(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function Ex(e){return{nodeDeps:ml(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:ml(e.nodeToNodeSubscriptions,t=>new Set(t))}}function Ku(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),Oe(i.get(l)).add(e);if(a){const l=Oi(a,t);for(const u of l){if(!i.has(u))return;const c=Oe(i.get(u));c.delete(e),c.size===0&&i.delete(u)}}}function Cx(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(Ku(e,t,u),r===((a=l.previousTree)===null||a===void 0?void 0:a.version)){const f=n.getGraph(l.currentTree.version);Ku(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 d=n.getGraph(f);Ku(e,t,d,u)}}}var Ea={cloneGraph:Ex,graph:bx,saveDepsToStore:Cx};let Rx=0;const Ox=()=>Rx++;let xx=0;const kx=()=>xx++;let Px=0;const Tx=()=>Px++;var Xl={getNextTreeStateVersion:Ox,getNextStoreID:kx,getNextComponentID:Tx};const{persistentMap:nm}=wx,{graph:Lx}=Ea,{getNextTreeStateVersion:_1}=Xl;function b1(){const e=_1();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:nm(),nonvalidatedAtoms:nm()}}function Nx(){const e=b1();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,Lx()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var E1={makeEmptyTreeState:b1,makeEmptyStoreState:Nx,getNextTreeStateVersion:_1};class C1{}function Ax(){return new C1}var Yl={RetentionZone:C1,retentionZone:Ax};function Ix(e,t){const n=new Set(e);return n.add(t),n}function Mx(e,t){const n=new Set(e);return n.delete(t),n}function Dx(e,t,n){const r=new Map(e);return r.set(t,n),r}function $x(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function Ux(e,t){const n=new Map(e);return n.delete(t),n}function Fx(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var R1={setByAddingToSet:Ix,setByDeletingFromSet:Mx,mapBySettingInMap:Dx,mapByUpdatingInMap:$x,mapByDeletingFromMap:Ux,mapByDeletingMultipleFromMap:Fx};function*jx(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var Zd=jx;function Bx(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 O1=Bx;const{getNode:Ca,getNodeMaybe:zx,recoilValuesForKeys:rm}=ft,{RetentionZone:om}=Yl,{setByAddingToSet:Vx}=R1,Wx=Object.freeze(new Set);class Hx extends Error{}function qx(e,t,n){if(!ge("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 om)o(n);else if(Array.isArray(n))for(const i of n)o(i);return()=>{if(!ge("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 om)a(n);else if(Array.isArray(n))for(const s of n)a(s)}}function eh(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const i=Ca(n),a=qx(e,n,i.retainedBy),s=i.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{s(),a()})}function Kx(e,t,n){eh(e,e.getState().currentTree,t,n)}function Qx(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function Gx(e,t,n){return eh(e,t,n,"get"),Ca(n).get(e,t)}function x1(e,t,n){return Ca(n).peek(e,t)}function Xx(e,t,n){var r;const o=zx(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:Vx(e.dirtyAtoms,t)}}function Yx(e,t,n,r){const o=Ca(n);if(o.set==null)throw new Hx(`Attempt to set read-only RecoilValue: ${n}`);const i=o.set;return eh(e,t,n,"set"),i(e,t,r)}function Jx(e,t,n){const r=e.getState(),o=e.getGraph(t.version),i=Ca(n).nodeType;return O1({type:i},{loadable:()=>x1(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 rm((a=o.nodeDeps.get(n))!==null&&a!==void 0?a:[])},subscribers:()=>{var a,s;return{nodes:rm(Zd(k1(e,t,new Set([n])),l=>l!==n)),components:Gl((a=(s=r.nodeToComponentSubscriptions.get(n))===null||s===void 0?void 0:s.values())!==null&&a!==void 0?a:[],([l])=>({name:l}))}}})}function k1(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:Wx;for(const u of l)r.has(u)||o.push(u)}return r}var ir={getNodeLoadable:Gx,peekNodeLoadable:x1,setNodeValue:Yx,initializeNode:Kx,cleanUpNode:Qx,setUnvalidatedAtomValue_DEPRECATED:Xx,peekNodeInfo:Jx,getDownstreamNodes:k1};let P1=null;function Zx(e){P1=e}function ek(){var e;(e=P1)===null||e===void 0||e()}var T1={setInvalidateMemoizedSnapshot:Zx,invalidateMemoizedSnapshot:ek};const{getDownstreamNodes:tk,getNodeLoadable:L1,setNodeValue:nk}=ir,{getNextComponentID:rk}=Xl,{getNode:ok,getNodeMaybe:N1}=ft,{DefaultValue:th}=ft,{reactMode:ik}=ba,{AbstractRecoilValue:ak,RecoilState:sk,RecoilValueReadOnly:lk,isRecoilValue:uk}=Oo,{invalidateMemoizedSnapshot:ck}=T1;function fk(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=L1(e,n,t);return a.state==="loading"&&a.contents.catch(()=>{}),a}function dk(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof th?n.delete(o):n.set(o,r)}),n}function hk(e,t,{key:n},r){if(typeof r=="function"){const o=L1(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 se(i)}else if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function pk(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:i}=n,a=hk(e,t,o,i),s=nk(e,t,o.key,a);for(const[l,u]of s.entries())yf(t,l,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:i}=n;yf(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=N1(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 Qd(`Unknown action ${n.type}`)}function yf(e,t,n){n.state==="hasValue"&&n.contents instanceof th?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function A1(e,t){e.replaceState(n=>{const r=I1(n);for(const o of t)pk(e,r,o);return M1(e,r),ck(),r})}function Jl(e,t){if(xi.length){const n=xi[xi.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else A1(e,[t])}const xi=[];function vk(){const e=new Map;return xi.push(e),()=>{for(const[t,n]of e)A1(t,n);xi.pop()}}function I1(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function M1(e,t){const n=tk(e,t,t.dirtyAtoms);for(const i of n){var r,o;(r=N1(i))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function D1(e,t,n){Jl(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function mk(e,t,n){if(n instanceof th)return D1(e,t,n);Jl(e,{type:"setLoadable",recoilValue:t,loadable:n})}function gk(e,t){Jl(e,{type:"markModified",recoilValue:t})}function yk(e,t,n){Jl(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function wk(e,{key:t},n,r=null){const o=rk(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),Oe(i.nodeToComponentSubscriptions.get(t)).set(o,[r??"",n]);const a=ik();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 Sk(e,t){var n;const{currentTree:r}=e.getState(),o=ok(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var fn={RecoilValueReadOnly:lk,AbstractRecoilValue:ak,RecoilState:sk,getRecoilValueAsLoadable:fk,setRecoilValue:D1,setRecoilValueLoadable:mk,markRecoilValueModified:gk,setUnvalidatedRecoilValue:yk,subscribeToRecoilValue:wk,isRecoilValue:uk,applyAtomValueWrites:dk,batchStart:vk,writeLoadableToTreeState:yf,invalidateDownstreams:M1,copyTreeState:I1,refreshRecoilValue:Sk};function _k(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 bk=_k;const{cleanUpNode:Ek}=ir,{deleteNodeConfigIfPossible:Ck,getNode:$1}=ft,{RetentionZone:U1}=Yl,Rk=12e4,F1=new Set;function j1(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 U1)for(const s of Pk(n,a))o.add(s);else o.add(a);const i=Ok(e,o);for(const a of i)kk(e,r,a)}function Ok(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=xk(e,r,l,i,a);for(const v of c){var f;if($1(v).retainedBy==="recoilRoot"){a.add(v);continue}if(((f=n.retention.referenceCounts.get(v))!==null&&f!==void 0?f:0)>0){a.add(v);continue}if(B1(v).some(_=>n.retention.referenceCounts.get(_))){a.add(v);continue}const y=o.nodeToNodeSubscriptions.get(v);if(y&&bk(y,_=>a.has(_))){a.add(v);continue}i.add(v),u.add(v)}const d=new Set;for(const v of u)for(const y of(p=o.nodeDeps.get(v))!==null&&p!==void 0?p:F1){var p;i.has(y)||d.add(y)}d.size&&s(d)}}function xk(e,t,n,r,o){const i=e.getGraph(t.version),a=[],s=new Set;for(;n.size>0;)l(Oe(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 kk(e,t,n){if(!ge("recoil_memory_managament_2020"))return;Ek(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=B1(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)}Ck(n)}function Pk(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:F1}function B1(e){const t=$1(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof U1?[t]:t}function Tk(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):j1(e,new Set([t]))}function Lk(e,t,n){var r;if(!ge("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?z1(e,t):o.set(t,i)}function z1(e,t){if(!ge("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),Tk(e,t)}function Nk(e){if(!ge("recoil_memory_managament_2020"))return;const t=e.getState();j1(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function Ak(e){return e===void 0?"recoilRoot":e}var Fr={SUSPENSE_TIMEOUT_MS:Rk,updateRetainCount:Lk,updateRetainCountToZero:z1,releaseScheduledRetainablesNow:Nk,retainedByOptionWithDefault:Ak};const{unstable_batchedUpdates:Ik}=L0;var Mk={unstable_batchedUpdates:Ik};const{unstable_batchedUpdates:Dk}=Mk;var $k={unstable_batchedUpdates:Dk};const{batchStart:Uk}=fn,{unstable_batchedUpdates:Fk}=$k;let nh=Fk;const jk=e=>{nh=e},Bk=()=>nh,zk=e=>{nh(()=>{let t=()=>{};try{t=Uk(),e()}finally{t()}})};var Zl={getBatcher:Bk,setBatcher:jk,batchUpdates:zk};function*Vk(e){for(const t of e)for(const n of t)yield n}var V1=Vk;const W1=typeof Window>"u"||typeof window>"u",Wk=e=>!W1&&(e===window||e instanceof Window),Hk=typeof navigator<"u"&&navigator.product==="ReactNative";var rh={isSSR:W1,isReactNative:Hk,isWindow:Wk};function qk(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 Kk(e,t){let n,r;return(...i)=>{const a=t(...i);return n===a||(n=a,r=e(...i)),r}}function Qk(e,t){let n,r;return[(...a)=>{const s=t(...a);return n===s||(n=s,r=e(...a)),r},()=>{n=null}]}var Gk={memoizeWithArgsHash:qk,memoizeOneWithArgsHash:Kk,memoizeOneWithArgsHashAndInvalidation:Qk};const{batchUpdates:wf}=Zl,{initializeNode:Xk,peekNodeInfo:Yk}=ir,{graph:Jk}=Ea,{getNextStoreID:Zk}=Xl,{DEFAULT_VALUE:eP,recoilValues:im,recoilValuesForKeys:am}=ft,{AbstractRecoilValue:tP,getRecoilValueAsLoadable:nP,setRecoilValue:sm,setUnvalidatedRecoilValue:rP}=fn,{updateRetainCount:Cs}=Fr,{setInvalidateMemoizedSnapshot:oP}=T1,{getNextTreeStateVersion:iP,makeEmptyStoreState:aP}=E1,{isSSR:sP}=rh,{memoizeOneWithArgsHashAndInvalidation:lP}=Gk;class eu{constructor(t,n){ie(this,"_store",void 0),ie(this,"_refCount",1),ie(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),nP(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 am(a.dirtyAtoms)}const o=this._store.getState().knownAtoms,i=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?im.values():r.isInitialized===!0?am(V1([o,i])):Zd(im.values(),({key:a})=>!o.has(a)&&!i.has(a))}),ie(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),Yk(this._store,this._store.getState().currentTree,r))),ie(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new Sf(this,wf);return r(o),o}),ie(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new Sf(this,wf);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:Zk(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return Oe(o.get(r));const i=Jk();return o.set(r,i),i},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw se("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)Xk(this._store,r,"get"),Cs(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){sP||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(),!ge("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){ge("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 H1(e,t,n=!1){const r=e.getState(),o=n?iP():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(Gl(r.nodeCleanupFunctions.entries(),([i])=>[i,()=>{}]))}}function uP(e){const t=new eu(aP());return e!=null?t.map(e):t}const[lm,q1]=lP((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:Oe(r.previousTree);return new eu(H1(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)});oP(q1);function cP(e,t="latest"){const n=lm(e,t);return n.isRetained()?n:(q1(),lm(e,t))}class Sf extends eu{constructor(t,n){super(H1(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(()=>{Cs(i,r.key,1),sm(this.getStore_INTERNAL(),r,o)})}),ie(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{Cs(o,r.key,1),sm(this.getStore_INTERNAL(),r,eP)})}),ie(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();wf(()=>{for(const[i,a]of r.entries())Cs(o,i,1),rP(o,new tP(i),a)})}),this._batch=n}}var tu={Snapshot:eu,MutableSnapshot:Sf,freshSnapshot:uP,cloneSnapshot:cP},fP=tu.Snapshot,dP=tu.MutableSnapshot,hP=tu.freshSnapshot,pP=tu.cloneSnapshot,nu=Object.freeze({__proto__:null,Snapshot:fP,MutableSnapshot:dP,freshSnapshot:hP,cloneSnapshot:pP});function vP(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var mP=vP;const{useRef:gP}=V;function yP(e){const t=gP(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var um=yP;const{getNextTreeStateVersion:wP,makeEmptyStoreState:K1}=E1,{cleanUpNode:SP,getDownstreamNodes:_P,initializeNode:bP,setNodeValue:EP,setUnvalidatedAtomValue_DEPRECATED:CP}=ir,{graph:RP}=Ea,{cloneGraph:OP}=Ea,{getNextStoreID:Q1}=Xl,{createMutableSource:Qu,reactMode:G1}=ba,{applyAtomValueWrites:xP}=fn,{releaseScheduledRetainablesNow:X1}=Fr,{freshSnapshot:kP}=nu,{useCallback:PP,useContext:Y1,useEffect:_f,useMemo:TP,useRef:LP,useState:NP}=V;function ni(){throw se("This component must be used inside a component.")}const J1=Object.freeze({storeID:Q1(),getState:ni,replaceState:ni,getGraph:ni,subscribeToTransactions:ni,addTransactionMetadata:ni});let bf=!1;function cm(e){if(bf)throw se("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){ge("recoil_memory_managament_2020")&&ge("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&X1(e);const n=t.currentTree.version,r=wP();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,OP(Oe(t.graphsByVersion.get(n))))}}const Z1=V.createContext({current:J1}),ru=()=>Y1(Z1),ew=V.createContext(null);function AP(){return Y1(ew)}function oh(e,t,n){const r=_P(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 tw(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);(!G1().early||t.suspendedComponentResolvers.size>0)&&(oh(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 IP(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,tw(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):Qd("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,ge("recoil_memory_managament_2020")&&n==null&&X1(e)}finally{t.commitDepth--}}function MP({setNotifyBatcherOfChange:e}){const t=ru(),[,n]=NP([]);return e(()=>n({})),_f(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),_f(()=>{hx.enqueueExecution("Batcher",()=>{IP(t.current)})}),null}function DP(e,t){const n=K1();return t({set:(r,o)=>{const i=n.currentTree,a=EP(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:mP(i.dirtyAtoms,s),atomValues:xP(i.atomValues,a),nonvalidatedAtoms:l}},setUnvalidatedAtomValues:r=>{r.forEach((o,i)=>{n.currentTree=CP(n.currentTree,i,o)})}}),n}function $P(e){const t=kP(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let fm=0;function UP({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const i=p=>{const v=o.current.graphsByVersion;if(v.has(p))return Oe(v.get(p));const y=RP();return v.set(p,y),y},a=(p,v)=>{if(v==null){const{transactionSubscriptions:y}=f.current.getState(),_=fm++;return y.set(_,p),{release:()=>{y.delete(_)}}}else{const{nodeTransactionSubscriptions:y}=f.current.getState();y.has(v)||y.set(v,new Map);const _=fm++;return Oe(y.get(v)).set(_,p),{release:()=>{const m=y.get(v);m&&(m.delete(_),m.size===0&&y.delete(v))}}}},s=p=>{cm(f.current);for(const v of Object.keys(p))Oe(f.current.getState().nextTree).transactionMetadata[v]=p[v]},l=p=>{cm(f.current);const v=Oe(o.current.nextTree);let y;try{bf=!0,y=p(v)}finally{bf=!1}y!==v&&(o.current.nextTree=y,G1().early&&oh(f.current,o.current,y),Oe(u.current)())},u=LP(null),c=PP(p=>{u.current=p},[u]),f=um(()=>n??{storeID:Q1(),getState:()=>o.current,replaceState:l,getGraph:i,subscribeToTransactions:a,addTransactionMetadata:s});n!=null&&(f.current=n),o=um(()=>e!=null?DP(f.current,e):t!=null?$P(t):K1());const d=TP(()=>Qu==null?void 0:Qu(o,()=>o.current.currentTree.version),[o]);return _f(()=>{const p=f.current;for(const v of new Set(p.getState().knownAtoms))bP(p,v,"get");return()=>{for(const v of p.getState().knownAtoms)SP(p,v)}},[f]),V.createElement(Z1.Provider,{value:f},V.createElement(ew.Provider,{value:d},V.createElement(MP,{setNotifyBatcherOfChange:c}),r))}function FP(e){const{override:t,...n}=e,r=ru();return t===!1&&r.current!==J1?e.children:V.createElement(UP,n)}function jP(){return ru().current.storeID}var Rn={RecoilRoot:FP,useStoreRef:ru,useRecoilMutableSource:AP,useRecoilStoreID:jP,notifyComponents_FOR_TESTING:oh,sendEndOfBatchNotifications_FOR_TESTING:tw};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 nw=HP;const{useStoreRef:qP}=Rn,{SUSPENSE_TIMEOUT_MS:KP}=Fr,{updateRetainCount:ri}=Fr,{RetentionZone:QP}=Yl,{useEffect:GP,useRef:XP}=V,{isSSR:dm}=rh;function YP(e){if(ge("recoil_memory_managament_2020"))return JP(e)}function JP(e){const n=(Array.isArray(e)?e:[e]).map(a=>a instanceof QP?a:a.key),r=qP();GP(()=>{if(!ge("recoil_memory_managament_2020"))return;const a=r.current;if(o.current&&!dm)window.clearTimeout(o.current),o.current=null;else for(const s of n)ri(a,s,1);return()=>{for(const s of n)ri(a,s,-1)}},[r,...n]);const o=XP(),i=nw(n);if(!dm&&(i===void 0||!zP(i,n))){const a=r.current;for(const s of n)ri(a,s,1);if(i)for(const s of i)ri(a,s,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const s of n)ri(a,s,-1)},KP)}}var ih=YP;function ZP(){return""}var Ra=ZP;const{batchUpdates:eT}=Zl,{DEFAULT_VALUE:rw}=ft,{currentRendererSupportsUseSyncExternalStore:tT,reactMode:Uo,useMutableSource:nT,useSyncExternalStore:rT}=ba,{useRecoilMutableSource:oT,useStoreRef:dn}=Rn,{AbstractRecoilValue:Ef,getRecoilValueAsLoadable:Oa,setRecoilValue:gl,setUnvalidatedRecoilValue:iT,subscribeToRecoilValue:xo}=fn,{useCallback:ct,useEffect:ko,useMemo:ow,useRef:ki,useState:ah}=V,{setByAddingToSet:aT}=R1;function sh(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:se(`Invalid value of loadable atom "${t.key}"`)}function sT(){const e=Ra(),t=dn(),[,n]=ah([]),r=ki(new Set);r.current=new Set;const o=ki(new Set),i=ki(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 ko(()=>{const l=t.current;Oi(r.current,o.current).forEach(u=>{if(i.current.has(u))return;const c=xo(l,new Ef(u),d=>s(d,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}),ko(()=>{const l=i.current;return Oi(r.current,new Set(l.keys())).forEach(u=>{const c=xo(t.current,new Ef(u),f=>s(f,u),e);l.set(u,c)}),()=>l.forEach((u,c)=>a(c))},[e,t,a,s]),ow(()=>{function l(v){return y=>{gl(t.current,v,y)}}function u(v){return()=>gl(t.current,v,rw)}function c(v){var y;r.current.has(v.key)||(r.current=aT(r.current,v.key));const _=t.current.getState();return Oa(t.current,v,Uo().early&&(y=_.nextTree)!==null&&y!==void 0?y:_.currentTree)}function f(v){const y=c(v);return sh(y,v,t)}function d(v){return[f(v),l(v)]}function p(v){return[c(v),l(v)]}return{getRecoilValue:f,getRecoilValueLoadable:c,getRecoilState:d,getRecoilStateLoadable:p,getSetRecoilState:l,getResetRecoilState:u}},[r,t])}const lT={current:0};function uT(e){const t=dn(),n=Ra(),r=ct(()=>{var s;const l=t.current,u=l.getState(),c=Uo().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return{loadable:Oa(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=ow(()=>o(r),[r,o]),a=ct(s=>{const l=t.current;return xo(l,e,s,n).release},[t,e,n]);return rT(a,i,i).loadable}function cT(e){const t=dn(),n=ct(()=>{var u;const c=t.current,f=c.getState(),d=Uo().early&&(u=f.nextTree)!==null&&u!==void 0?u:f.currentTree;return Oa(c,e,d)},[t,e]),r=ct(()=>n(),[n]),o=Ra(),i=ct((u,c)=>{const f=t.current;return xo(f,e,()=>{if(!ge("recoil_suppress_rerender_in_callback"))return c();const p=n();l.current.is(p)||c(),l.current=p},o).release},[t,e,o,n]),a=oT();if(a==null)throw se("Recoil hooks must be used in components contained within a component.");const s=nT(a,r,i),l=ki(s);return ko(()=>{l.current=s}),s}function Cf(e){const t=dn(),n=Ra(),r=ct(()=>{var l;const u=t.current,c=u.getState(),f=Uo().early&&(l=c.nextTree)!==null&&l!==void 0?l:c.currentTree;return Oa(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]);ko(()=>{const l=xo(t.current,e,u=>{s(i)},n);return s(i),l.release},[n,e,t,i]);const[a,s]=ah(o);return a.key!==e.key?o().loadable:a.loadable}function fT(e){const t=dn(),[,n]=ah([]),r=Ra(),o=ct(()=>{var s;const l=t.current,u=l.getState(),c=Uo().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return Oa(l,e,c)},[t,e]),i=o(),a=ki(i);return ko(()=>{a.current=i}),ko(()=>{const s=t.current,l=s.getState(),u=xo(s,e,f=>{var d;if(!ge("recoil_suppress_rerender_in_callback"))return n([]);const p=o();(d=a.current)!==null&&d!==void 0&&d.is(p)||n(p),a.current=p},r);if(l.nextTree)s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a.current=null,n([])});else{var c;if(!ge("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 lh(e){return ge("recoil_memory_managament_2020")&&ih(e),{TRANSITION_SUPPORT:Cf,SYNC_EXTERNAL_STORE:tT()?uT:Cf,MUTABLE_SOURCE:cT,LEGACY:fT}[Uo().mode](e)}function iw(e){const t=dn(),n=lh(e);return sh(n,e,t)}function ou(e){const t=dn();return ct(n=>{gl(t.current,e,n)},[t,e])}function dT(e){const t=dn();return ct(()=>{gl(t.current,e,rw)},[t,e])}function hT(e){return[iw(e),ou(e)]}function pT(e){return[lh(e),ou(e)]}function vT(){const e=dn();return(t,n={})=>{eT(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>iT(e.current,new Ef(o),r))})}}function aw(e){return ge("recoil_memory_managament_2020")&&ih(e),Cf(e)}function sw(e){const t=dn(),n=aw(e);return sh(n,e,t)}function mT(e){return[sw(e),ou(e)]}var gT={recoilComponentGetRecoilValueCount_FOR_TESTING:lT,useRecoilInterface:sT,useRecoilState:hT,useRecoilStateLoadable:pT,useRecoilValue:iw,useRecoilValueLoadable:lh,useResetRecoilState:dT,useSetRecoilState:ou,useSetUnvalidatedAtomValues:vT,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:aw,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:sw,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:mT};function yT(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var wT=yT;function ST(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var _T=ST;function bT(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function vm(e){const t=e.atomValues.toMap(),n=ml(wT(t,(r,o)=>{const a=lw(o).persistence_UNSTABLE;return a!=null&&a.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return ET(e.nonvalidatedAtoms.toMap(),n)}function LT(e){au(iu(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=vm(r),i=vm(n),a=ml(OT,l=>{var u,c,f,d;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=(d=l.persistence_UNSTABLE)===null||d===void 0?void 0:d.backButton)!==null&&f!==void 0?f:!1}}}),s=_T(r.dirtyAtoms,l=>o.has(l)||i.has(l));e({atomValues:o,previousAtomValues:i,atomInfo:a,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})},[e]))}function NT(e){au(iu(t=>{const n=yl(t,"latest"),r=yl(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function AT(){const e=uh(),[t,n]=TT(()=>yl(e.current)),r=nw(t),o=hm(),i=hm();if(au(iu(s=>n(yl(s)),[])),uw(()=>{const s=t.retain();if(o.current&&!pm){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&&!pm){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},PT)}return t}function cw(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;CT(()=>{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)&&lw(c).shouldRestoreFromSnapshots&&a.add(c)}a.forEach(u=>{kT(e,new xT(u),i.atomValues.has(u)?Oe(i.atomValues.get(u)):RT)}),e.replaceState(u=>({...u,stateID:t.getID()}))})}function IT(){const e=uh();return iu(t=>cw(e.current,t),[e])}var fw={useRecoilSnapshot:AT,gotoSnapshot:cw,useGotoRecoilSnapshot:IT,useRecoilTransactionObserver:NT,useTransactionObservation_DEPRECATED:LT,useTransactionSubscription_DEPRECATED:au};const{peekNodeInfo:MT}=ir,{useStoreRef:DT}=Rn;function $T(){const e=DT();return({key:t})=>MT(e.current,e.current.getState().currentTree,t)}var UT=$T;const{reactMode:FT}=ba,{RecoilRoot:jT,useStoreRef:BT}=Rn,{useMemo:zT}=V;function VT(){FT().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=BT().current;return zT(()=>{function t({children:n}){return V.createElement(jT,{store_INTERNAL:e},n)}return t},[e])}var WT=VT;const{loadableWithValue:HT}=_a,{initializeNode:qT}=ir,{DEFAULT_VALUE:KT,getNode:QT}=ft,{copyTreeState:GT,getRecoilValueAsLoadable:XT,invalidateDownstreams:YT,writeLoadableToTreeState:JT}=fn;function mm(e){return QT(e.key).nodeType==="atom"}class ZT{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 se("Reading selectors within atomicUpdate is not supported");const o=XT(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:se(`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 se("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const i=this.get(r);this._changes.set(r.key,o(i))}else qT(this._store,r.key,"set"),this._changes.set(r.key,o)}),ie(this,"reset",r=>{this.set(r,KT)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=GT(this._treeState);for(const[n,r]of this._changes)JT(t,n,HT(r));return YT(this._store,t),t}}function eL(e){return t=>{e.replaceState(n=>{const r=new ZT(e,n);return t(r),r.newTreeState_INTERNAL()})}}var tL={atomicUpdater:eL},nL=tL.atomicUpdater,dw=Object.freeze({__proto__:null,atomicUpdater:nL});function rL(e,t){if(!e)throw new Error(t)}var oL=rL,fi=oL;const{atomicUpdater:iL}=dw,{batchUpdates:aL}=Zl,{DEFAULT_VALUE:sL}=ft,{useStoreRef:lL}=Rn,{refreshRecoilValue:uL,setRecoilValue:gm}=fn,{cloneSnapshot:cL}=nu,{gotoSnapshot:fL}=fw,{useCallback:dL}=V;class hw{}const hL=new hw;function pw(e,t,n,r){let o=hL,i;if(aL(()=>{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 se(s);const l=O1({...r??{},set:(c,f)=>gm(e,c,f),reset:c=>gm(e,c,sL),refresh:c=>uL(e,c),gotoSnapshot:c=>fL(e,c),transact_UNSTABLE:c=>iL(e)(c)},{snapshot:()=>{const c=cL(e);return i=c.retain(),c}}),u=t(l);if(typeof u!="function")throw se(s);o=u(...n)}),o instanceof hw&&fi(!1),Re(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 pL(e,t){const n=lL();return dL((...r)=>pw(n.current,e,r),t!=null?[...t,n]:void 0)}var vw={recoilCallback:pw,useRecoilCallback:pL};const{useStoreRef:vL}=Rn,{refreshRecoilValue:mL}=fn,{useCallback:gL}=V;function yL(e){const t=vL();return gL(()=>{const n=t.current;mL(n,e)},[e,t])}var wL=yL;const{atomicUpdater:SL}=dw,{useStoreRef:_L}=Rn,{useMemo:bL}=V;function EL(e,t){const n=_L();return bL(()=>(...r)=>{SL(n.current)(i=>{e(i)(...r)})},t!=null?[...t,n]:void 0)}var CL=EL;class RL{constructor(t){ie(this,"value",void 0),this.value=t}}var OL={WrappedValue:RL},xL=OL.WrappedValue,mw=Object.freeze({__proto__:null,WrappedValue:xL});const{isFastRefreshEnabled:kL}=ba;class ym extends Error{}class PL{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[_,m]of t){var f,d,p;const h=this._root;if((h==null?void 0:h.type)==="leaf")throw this.invalidCacheError();const g=u;if(u=g?g.branches.get(c):h,u=(f=u)!==null&&f!==void 0?f:{type:"branch",nodeKey:_,parent:g,branches:new Map,branchKey:c},u.type!=="branch"||u.nodeKey!==_)throw this.invalidCacheError();g==null||g.branches.set(c,u),r==null||(d=r.onNodeVisit)===null||d===void 0||d.call(r,u),c=this._mapNodeValue(m),this._root=(p=this._root)!==null&&p!==void 0?p:u}const v=u?(i=u)===null||i===void 0?void 0:i.branches.get(c):this._root;if(v!=null&&(v.type!=="leaf"||v.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 ym)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=kL()?"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 Qd(t+(this._name!=null?` - ${this._name}`:"")),new ym}}var TL={TreeCache:PL},LL=TL.TreeCache,gw=Object.freeze({__proto__:null,TreeCache:LL});class NL{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=Oe(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 AL={LRUCache:NL},IL=AL.LRUCache,yw=Object.freeze({__proto__:null,LRUCache:IL});const{LRUCache:ML}=yw,{TreeCache:DL}=gw;function $L({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new ML({maxSize:t}),o=new DL({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 wm=$L;function Ut(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 se("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(Re(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,i)=>Ut(o,t,i.toString()))}]`;if(typeof e.toJSON=="function")return Ut(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[i,a]of e)o[typeof i=="string"?i:Ut(i,t)]=a;return Ut(o,t,n)}return e instanceof Set?Ut(Array.from(e).sort((o,i)=>Ut(o,t).localeCompare(Ut(i,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?Ut(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${Ut(o,t)}:${Ut(e[o],t,o)}`).join(",")}}`}function UL(e,t={allowFunctions:!1}){return Ut(e,t)}var su=UL;const{TreeCache:FL}=gw,Ga={equality:"reference",eviction:"keep-all",maxSize:1/0};function jL({equality:e=Ga.equality,eviction:t=Ga.eviction,maxSize:n=Ga.maxSize}=Ga,r){const o=BL(e);return zL(t,n,o,r)}function BL(e){switch(e){case"reference":return t=>t;case"value":return t=>su(t)}throw se(`Unrecognized equality policy ${e}`)}function zL(e,t,n,r){switch(e){case"keep-all":return new FL({name:r,mapNodeValue:n});case"lru":return wm({name:r,maxSize:Oe(t),mapNodeValue:n});case"most-recent":return wm({name:r,maxSize:1,mapNodeValue:n})}throw se(`Unrecognized eviction policy ${e}`)}var VL=jL;function WL(e){return()=>null}var HL={startPerfBlock:WL};const{isLoadable:qL,loadableWithError:Xa,loadableWithPromise:KL,loadableWithValue:Gu}=_a,{WrappedValue:ww}=mw,{getNodeLoadable:Ya,peekNodeLoadable:QL,setNodeValue:GL}=ir,{saveDepsToStore:XL}=Ea,{DEFAULT_VALUE:YL,getConfigDeletionHandler:JL,getNode:ZL,registerNode:Sm}=ft,{isRecoilValue:eN}=Oo,{markRecoilValueModified:_m}=fn,{retainedByOptionWithDefault:tN}=Fr,{recoilCallback:nN}=vw,{startPerfBlock:rN}=HL;class Sw{}const oi=new Sw,ii=[],Ja=new Map,oN=(()=>{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=VL(o??{equality:"reference",eviction:"keep-all"},n),l=tN(e.retainedBy_UNSTABLE),u=new Map;let c=0;function f(){return!ge("recoil_memory_managament_2020")||c>0}function d(b){return b.getState().knownSelectors.add(n),c++,()=>{c--}}function p(){return JL(n)!==void 0&&!f()}function v(b,U,B,J,W){M(U,J,W),y(b,B)}function y(b,U){w(b,U)&&re(b),m(U,!0)}function _(b,U){w(b,U)&&(Oe($(b)).stateVersions.clear(),m(U,!1))}function m(b,U){const B=Ja.get(b);if(B!=null){for(const J of B)_m(J,Oe(t));U&&Ja.delete(b)}}function h(b,U){let B=Ja.get(U);B==null&&Ja.set(U,B=new Set),B.add(b)}function g(b,U,B,J,W,Z){return U.then(ae=>{if(!f())throw re(b),oi;const Y=Gu(ae);return v(b,B,W,Y,J),ae}).catch(ae=>{if(!f())throw re(b),oi;if(Re(ae))return S(b,ae,B,J,W,Z);const Y=Xa(ae);throw v(b,B,W,Y,J),ae})}function S(b,U,B,J,W,Z){return U.then(ae=>{if(!f())throw re(b),oi;Z.loadingDepKey!=null&&Z.loadingDepPromise===U?B.atomValues.set(Z.loadingDepKey,Gu(ae)):b.getState().knownSelectors.forEach(pe=>{B.atomValues.delete(pe)});const Y=N(b,B);if(Y&&Y.state!=="loading"){if((w(b,W)||$(b)==null)&&y(b,W),Y.state==="hasValue")return Y.contents;throw Y.contents}if(!w(b,W)){const pe=G(b,B);if(pe!=null)return pe.loadingLoadable.contents}const[me,ye]=T(b,B,W);if(me.state!=="loading"&&v(b,B,W,me,ye),me.state==="hasError")throw me.contents;return me.contents}).catch(ae=>{if(ae instanceof Sw)throw oi;if(!f())throw re(b),oi;const Y=Xa(ae);throw v(b,B,W,Y,J),ae})}function k(b,U,B,J){var W,Z,ae,Y;if(w(b,J)||U.version===((W=b.getState())===null||W===void 0||(Z=W.currentTree)===null||Z===void 0?void 0:Z.version)||U.version===((ae=b.getState())===null||ae===void 0||(Y=ae.nextTree)===null||Y===void 0?void 0:Y.version)){var me,ye,pe;XL(n,B,b,(me=(ye=b.getState())===null||ye===void 0||(pe=ye.nextTree)===null||pe===void 0?void 0:pe.version)!==null&&me!==void 0?me:b.getState().currentTree.version)}for(const we of B)a.add(we)}function T(b,U,B){const J=rN(n);let W=!0,Z=!0;const ae=()=>{J(),Z=!1};let Y,me=!1,ye;const pe={loadingDepKey:null,loadingDepPromise:null},we=new Map;function rt({key:_t}){const dt=Ya(b,U,_t);switch(we.set(_t,dt),W||(k(b,U,new Set(we.keys()),B),_(b,B)),dt.state){case"hasValue":return dt.contents;case"hasError":throw dt.contents;case"loading":throw pe.loadingDepKey=_t,pe.loadingDepPromise=dt.contents,dt.contents}throw se("Invalid Loadable state")}const lr=_t=>(...dt)=>{if(Z)throw se("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&&fi(!1),nN(b,_t,dt,{node:t})};try{Y=r({get:rt,getCallback:lr}),Y=eN(Y)?rt(Y):Y,qL(Y)&&(Y.state==="hasError"&&(me=!0),Y=Y.contents),Re(Y)?Y=g(b,Y,U,we,B,pe).finally(ae):ae(),Y=Y instanceof ww?Y.value:Y}catch(_t){Y=_t,Re(Y)?Y=S(b,Y,U,we,B,pe).finally(ae):(me=!0,ae())}return me?ye=Xa(Y):Re(Y)?ye=KL(Y):ye=Gu(Y),W=!1,ce(b,B,we),k(b,U,new Set(we.keys()),B),[ye,we]}function N(b,U){let B=U.atomValues.get(n);if(B!=null)return B;const J=new Set;try{B=s.get(Z=>(typeof Z!="string"&&fi(!1),Ya(b,U,Z).contents),{onNodeVisit:Z=>{Z.type==="branch"&&Z.nodeKey!==n&&J.add(Z.nodeKey)}})}catch(Z){throw se(`Problem with cache lookup for selector "${n}": ${Z.message}`)}if(B){var W;U.atomValues.set(n,B),k(b,U,J,(W=$(b))===null||W===void 0?void 0:W.executionID)}return B}function I(b,U){const B=N(b,U);if(B!=null)return re(b),B;const J=G(b,U);if(J!=null){var W;return((W=J.loadingLoadable)===null||W===void 0?void 0:W.state)==="loading"&&h(b,J.executionID),J.loadingLoadable}const Z=oN(),[ae,Y]=T(b,U,Z);return ae.state==="loading"?(X(b,Z,ae,Y,U),h(b,Z)):(re(b),M(U,ae,Y)),ae}function G(b,U){const B=V1([u.has(b)?[Oe(u.get(b))]:[],Gl(Zd(u,([W])=>W!==b),([,W])=>W)]);function J(W){for(const[Z,ae]of W)if(!Ya(b,U,Z).is(ae))return!0;return!1}for(const W of B){if(W.stateVersions.get(U.version)||!J(W.depValuesDiscoveredSoFarDuringAsyncWork))return W.stateVersions.set(U.version,!0),W;W.stateVersions.set(U.version,!1)}}function $(b){return u.get(b)}function X(b,U,B,J,W){u.set(b,{depValuesDiscoveredSoFarDuringAsyncWork:J,executionID:U,loadingLoadable:B,stateVersions:new Map([[W.version,!0]])})}function ce(b,U,B){if(w(b,U)){const J=$(b);J!=null&&(J.depValuesDiscoveredSoFarDuringAsyncWork=B)}}function re(b){u.delete(b)}function w(b,U){var B;return U===((B=$(b))===null||B===void 0?void 0:B.executionID)}function P(b){return Array.from(b.entries()).map(([U,B])=>[U,B.contents])}function M(b,U,B){b.atomValues.set(n,U);try{s.set(P(B),U)}catch(J){throw se(`Problem with setting cache for selector "${n}": ${J.message}`)}}function C(b){if(ii.includes(n)){const U=`Recoil selector has circular dependencies: ${ii.slice(ii.indexOf(n)).join(" → ")}`;return Xa(se(U))}ii.push(n);try{return b()}finally{ii.pop()}}function O(b,U){const B=U.atomValues.get(n);return B??s.get(J=>{var W;return typeof J!="string"&&fi(!1),(W=QL(b,U,J))===null||W===void 0?void 0:W.contents})}function A(b,U){return C(()=>I(b,U))}function D(b){b.atomValues.delete(n)}function z(b,U){t==null&&fi(!1);for(const J of a){var B;const W=ZL(J);(B=W.clearCache)===null||B===void 0||B.call(W,b,U)}a.clear(),D(U),s.clear(),_m(b,t)}return i!=null?t=Sm({key:n,nodeType:"selector",peek:O,get:A,set:(U,B,J)=>{let W=!1;const Z=new Map;function ae({key:pe}){if(W)throw se("Recoil: Async selector sets are not currently supported.");const we=Ya(U,B,pe);if(we.state==="hasValue")return we.contents;if(we.state==="loading"){const rt=`Getting value of asynchronous atom or selector "${pe}" in a pending state while setting selector "${n}" is not yet supported.`;throw se(rt)}else throw we.contents}function Y(pe,we){if(W)throw se("Recoil: Async selector sets are not currently supported.");const rt=typeof we=="function"?we(ae(pe)):we;GL(U,B,pe.key,rt).forEach((_t,dt)=>Z.set(dt,_t))}function me(pe){Y(pe,YL)}const ye=i({set:Y,get:ae,reset:me},J);if(ye!==void 0)throw Re(ye)?se("Recoil: Async selector sets are not currently supported."):se("Recoil: selector set should be a void function.");return W=!0,Z},init:d,invalidate:D,clearCache:z,shouldDeleteConfigOnRelease:p,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l}):t=Sm({key:n,nodeType:"selector",peek:O,get:A,init:d,invalidate:D,clearCache:z,shouldDeleteConfigOnRelease:p,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l})}_w.value=e=>new ww(e);var Po=_w;const{isLoadable:iN,loadableWithError:Xu,loadableWithPromise:Yu,loadableWithValue:qr}=_a,{WrappedValue:bw}=mw,{peekNodeInfo:aN}=ir,{DEFAULT_VALUE:vr,DefaultValue:An,getConfigDeletionHandler:Ew,registerNode:sN,setConfigDeletionHandler:lN}=ft,{isRecoilValue:uN}=Oo,{getRecoilValueAsLoadable:cN,markRecoilValueModified:fN,setRecoilValue:bm,setRecoilValueLoadable:dN}=fn,{retainedByOptionWithDefault:hN}=Fr,ai=e=>e instanceof bw?e.value:e;function pN(e){const{key:t,persistence_UNSTABLE:n}=e,r=hN(e.retainedBy_UNSTABLE);let o=0;function i(h){return Yu(h.then(g=>(a=qr(g),g)).catch(g=>{throw a=Xu(g),g}))}let a=Re(e.default)?i(e.default):iN(e.default)?e.default.state==="loading"?i(e.default.contents):e.default:qr(ai(e.default));a.contents;let s;const l=new Map;function u(h){return h}function c(h,g){const S=g.then(k=>{var T,N;return((N=((T=h.getState().nextTree)!==null&&T!==void 0?T:h.getState().currentTree).atomValues.get(t))===null||N===void 0?void 0:N.contents)===S&&bm(h,m,k),k}).catch(k=>{var T,N;throw((N=((T=h.getState().nextTree)!==null&&T!==void 0?T:h.getState().currentTree).atomValues.get(t))===null||N===void 0?void 0:N.contents)===S&&dN(h,m,Xu(k)),k});return S}function f(h,g,S){var k;o++;const T=()=>{var $;o--,($=l.get(h))===null||$===void 0||$.forEach(X=>X()),l.delete(h)};if(h.getState().knownAtoms.add(t),a.state==="loading"){const $=()=>{var X;((X=h.getState().nextTree)!==null&&X!==void 0?X:h.getState().currentTree).atomValues.has(t)||fN(h,m)};a.contents.finally($)}const N=(k=e.effects)!==null&&k!==void 0?k:e.effects_UNSTABLE;if(N!=null){let w=function(D){if(X&&D.key===t){const z=$;return z instanceof An?d(h,g):Re(z)?Yu(z.then(b=>b instanceof An?a.toPromise():b)):qr(z)}return cN(h,D)},P=function(D){return w(D).toPromise()},M=function(D){var z;const b=aN(h,(z=h.getState().nextTree)!==null&&z!==void 0?z:h.getState().currentTree,D.key);return X&&D.key===t&&!($ instanceof An)?{...b,isSet:!0,loadable:w(D)}:b},$=vr,X=!0,ce=!1,re=null;const C=D=>z=>{if(X){const b=w(m),U=b.state==="hasValue"?b.contents:vr;$=typeof z=="function"?z(U):z,Re($)&&($=$.then(B=>(re={effect:D,value:B},B)))}else{if(Re(z))throw se("Setting atoms to async values is not implemented.");typeof z!="function"&&(re={effect:D,value:ai(z)}),bm(h,m,typeof z=="function"?b=>{const U=ai(z(b));return re={effect:D,value:U},U}:ai(z))}},O=D=>()=>C(D)(vr),A=D=>z=>{var b;const{release:U}=h.subscribeToTransactions(B=>{var J;let{currentTree:W,previousTree:Z}=B.getState();Z||(Z=W);const ae=(J=W.atomValues.get(t))!==null&&J!==void 0?J:a;if(ae.state==="hasValue"){var Y,me,ye,pe;const we=ae.contents,rt=(Y=Z.atomValues.get(t))!==null&&Y!==void 0?Y:a,lr=rt.state==="hasValue"?rt.contents:vr;((me=re)===null||me===void 0?void 0:me.effect)!==D||((ye=re)===null||ye===void 0?void 0:ye.value)!==we?z(we,lr,!W.atomValues.has(t)):((pe=re)===null||pe===void 0?void 0:pe.effect)===D&&(re=null)}},t);l.set(h,[...(b=l.get(h))!==null&&b!==void 0?b:[],U])};for(const D of N)try{const z=D({node:m,storeID:h.storeID,parentStoreID_UNSTABLE:h.parentStoreID,trigger:S,setSelf:C(D),resetSelf:O(D),onSet:A(D),getPromise:P,getLoadable:w,getInfo_UNSTABLE:M});if(z!=null){var I;l.set(h,[...(I=l.get(h))!==null&&I!==void 0?I:[],z])}}catch(z){$=z,ce=!0}if(X=!1,!($ instanceof An)){var G;const D=ce?Xu($):Re($)?Yu(c(h,$)):qr(ai($));D.contents,g.atomValues.set(t,D),(G=h.getState().nextTree)===null||G===void 0||G.atomValues.set(t,D)}}return T}function d(h,g){var S,k;return(S=(k=g.atomValues.get(t))!==null&&k!==void 0?k:s)!==null&&S!==void 0?S:a}function p(h,g){if(g.atomValues.has(t))return Oe(g.atomValues.get(t));if(g.nonvalidatedAtoms.has(t)){if(s!=null)return s;if(n==null)return a;const S=g.nonvalidatedAtoms.get(t),k=n.validator(S,vr);return s=k instanceof An?a:qr(k),s}else return a}function v(){s=void 0}function y(h,g,S){if(g.atomValues.has(t)){const k=Oe(g.atomValues.get(t));if(k.state==="hasValue"&&S===k.contents)return new Map}else if(!g.nonvalidatedAtoms.has(t)&&S instanceof An)return new Map;return s=void 0,new Map().set(t,qr(S))}function _(){return Ew(t)!==void 0&&o<=0}const m=sN({key:t,nodeType:"atom",peek:d,get:p,set:y,init:f,invalidate:v,shouldDeleteConfigOnRelease:_,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 m}function ch(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return uN(n)?vN({...t,default:n}):pN({...t,default:n})}function vN(e){const t=ch({...e,default:vr,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof An?r:Oe(e.persistence_UNSTABLE).validator(r,vr)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=Po({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof An?e.default:o},set:({set:r},o)=>r(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return lN(n.key,Ew(e.key)),n}ch.value=e=>new bw(e);var Cw=ch;class mN{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 gN={MapCache:mN},yN=gN.MapCache,wN=Object.freeze({__proto__:null,MapCache:yN});const{LRUCache:Em}=yw,{MapCache:SN}=wN,Za={equality:"reference",eviction:"none",maxSize:1/0};function _N({equality:e=Za.equality,eviction:t=Za.eviction,maxSize:n=Za.maxSize}=Za){const r=bN(e);return EN(t,n,r)}function bN(e){switch(e){case"reference":return t=>t;case"value":return t=>su(t)}throw se(`Unrecognized equality policy ${e}`)}function EN(e,t,n){switch(e){case"keep-all":return new SN({mapKey:n});case"lru":return new Em({mapKey:n,maxSize:Oe(t)});case"most-recent":return new Em({mapKey:n,maxSize:1})}throw se(`Unrecognized eviction policy ${e}`)}var Rw=_N;const{setConfigDeletionHandler:CN}=ft;function RN(e){var t,n;const r=Rw({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=Cw({...u,key:`${e.key}__${(i=su(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),CN(f.key,()=>{r.delete(o)}),f}}var ON=RN;const{setConfigDeletionHandler:xN}=ft;let kN=0;function PN(e){var t,n;const r=Rw({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(d){throw se(`Problem with cache lookup for selector ${e.key}: ${d.message}`)}if(a!=null)return a;const s=`${e.key}__selectorFamily/${(i=su(o,{allowFunctions:!0}))!==null&&i!==void 0?i:"void"}/${kN++}`,l=d=>e.get(o)(d),u=e.cachePolicy_UNSTABLE,c=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let f;if(e.set!=null){const d=e.set;f=Po({key:s,get:l,set:(v,y)=>d(o)(v,y),cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else f=Po({key:s,get:l,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(o,f),xN(f.key,()=>{r.delete(o)}),f}}var ar=PN;const TN=ar({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function LN(e){return TN(e)}var NN=LN;const AN=ar({key:"__error",get:e=>()=>{throw se(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function IN(e){return AN(e)}var MN=IN;function DN(e){return e}var $N=DN;const{loadableWithError:Ow,loadableWithPromise:xw,loadableWithValue:kw}=_a;function lu(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 UN(e){return e!=null&&!Re(e)}function uu(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Rf(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?kw(t[i]):Re(o)?xw(o):Ow(o));return Rf(e,r)}function FN(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const jN=ar({key:"__waitForNone",get:e=>({get:t})=>{const n=uu(e),[r,o]=lu(t,n);return vo(e,r,o)},dangerouslyAllowMutability:!0}),BN=ar({key:"__waitForAny",get:e=>({get:t})=>{const n=uu(e),[r,o]=lu(t,n);return o.some(i=>!Re(i))?vo(e,r,o):new Promise(i=>{for(const[a,s]of o.entries())Re(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}),zN=ar({key:"__waitForAll",get:e=>({get:t})=>{const n=uu(e),[r,o]=lu(t,n);if(o.every(a=>a==null))return Rf(e,r);const i=o.find(UN);if(i!=null)throw i;return Promise.all(o).then(a=>Rf(e,FN(r,a)))},dangerouslyAllowMutability:!0}),VN=ar({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=uu(e),[r,o]=lu(t,n);return o.every(i=>!Re(i))?vo(e,r,o):Promise.all(o.map((i,a)=>Re(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}),WN=ar({key:"__noWait",get:e=>({get:t})=>{try{return Po.value(kw(t(e)))}catch(n){return Po.value(Re(n)?xw(n):Ow(n))}},dangerouslyAllowMutability:!0});var HN={waitForNone:jN,waitForAny:BN,waitForAll:zN,waitForAllSettled:VN,noWait:WN};const{RecoilLoadable:qN}=_a,{DefaultValue:KN}=ft,{RecoilRoot:QN,useRecoilStoreID:GN}=Rn,{isRecoilValue:XN}=Oo,{retentionZone:YN}=Yl,{freshSnapshot:JN}=nu,{useRecoilState:ZN,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:eA,useRecoilStateLoadable:tA,useRecoilValue:nA,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:rA,useRecoilValueLoadable:oA,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:iA,useResetRecoilState:aA,useSetRecoilState:sA}=gT,{useGotoRecoilSnapshot:lA,useRecoilSnapshot:uA,useRecoilTransactionObserver:cA}=fw,{useRecoilCallback:fA}=vw,{noWait:dA,waitForAll:hA,waitForAllSettled:pA,waitForAny:vA,waitForNone:mA}=HN;var fh={DefaultValue:KN,isRecoilValue:XN,RecoilLoadable:qN,RecoilEnv:v1,RecoilRoot:QN,useRecoilStoreID:GN,useRecoilBridgeAcrossReactRoots_UNSTABLE:WT,atom:Cw,selector:Po,atomFamily:ON,selectorFamily:ar,constSelector:NN,errorSelector:MN,readOnlySelector:$N,noWait:dA,waitForNone:mA,waitForAny:vA,waitForAll:hA,waitForAllSettled:pA,useRecoilValue:nA,useRecoilValueLoadable:oA,useRecoilState:ZN,useRecoilStateLoadable:tA,useSetRecoilState:sA,useResetRecoilState:aA,useGetRecoilValueInfo_UNSTABLE:UT,useRecoilRefresher_UNSTABLE:wL,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:iA,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:rA,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:eA,useRecoilCallback:fA,useRecoilTransaction_UNSTABLE:CL,useGotoRecoilSnapshot:lA,useRecoilSnapshot:uA,useRecoilTransactionObserver_UNSTABLE:cA,snapshot_UNSTABLE:JN,useRetain:ih,retentionZone:YN},gA=fh.RecoilRoot,yA=fh.atom,u$=fh.useRecoilState;function wA(e,t){let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function Pw(e){return e.replace(/\/$/,"")}function c$(e,t){let n=String(e);for(;n.length=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function IA(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 ph=L.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=AA(e,["color","size"]);return V.createElement("svg",Of({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),V.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"}),V.createElement("line",{x1:"1",y1:"1",x2:"23",y2:"23"}))});ph.propTypes={color:xe.string,size:xe.oneOfType([xe.string,xe.number])};ph.displayName="EyeOff";const MA=ph;function xf(){return xf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $A(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 vh=L.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=DA(e,["color","size"]);return V.createElement("svg",xf({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),V.createElement("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),V.createElement("circle",{cx:"12",cy:"12",r:"3"}))});vh.propTypes={color:xe.string,size:xe.oneOfType([xe.string,xe.number])};vh.displayName="Eye";const UA=vh;function kf(){return kf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jA(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 mh=L.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=FA(e,["color","size"]);return V.createElement("svg",kf({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),V.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"}))});mh.propTypes={color:xe.string,size:xe.oneOfType([xe.string,xe.number])};mh.displayName="GitHub";const BA=mh;function Pf(){return Pf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function VA(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 gh=L.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=zA(e,["color","size"]);return V.createElement("svg",Pf({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),V.createElement("circle",{cx:"12",cy:"12",r:"10"}),V.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),V.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"}))});gh.propTypes={color:xe.string,size:xe.oneOfType([xe.string,xe.number])};gh.displayName="Info";const WA=gh;function Tf(){return Tf=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function qA(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 yh=L.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=e.size,i=o===void 0?24:o,a=HA(e,["color","size"]);return V.createElement("svg",Tf({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),V.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))});yh.propTypes={color:xe.string,size:xe.oneOfType([xe.string,xe.number])};yh.displayName="X";const KA=yh,{useState:QA,useCallback:GA}=V;function XA(e=!1){const[t,n]=QA(e),r=GA(()=>n(o=>!o),[]);return[t,r]}const Aw="yacd.metacubex.one";function YA(){try{const e=localStorage.getItem(Aw);return e?JSON.parse(e):void 0}catch{return}}function jr(e){try{const t=JSON.stringify(e);localStorage.setItem(Aw,t)}catch{}}const Iw="/traffic",JA=new TextDecoder("utf-8"),es=150,ra={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 Lf(e){ra.appendData(JSON.parse(e))}function Mw(e){return e.read().then(({done:t,value:n})=>{const r=JA.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();Mw(o)}else ao=!1},r=>{console.log("fetch /traffic error",r),ao=!1}),ra}function Cm(e){return t=>{t(`openModal:${e}`,n=>{n.modals[e]=!0})}}function e3(e){return t=>{t(`closeModal:${e}`,n=>{n.modals[e]=!1})}}const t3={apiConfig:!1},d$=e=>e.configs.configs,n3=e=>e.configs.haveFetchedConfig,h$=e=>e.configs.configs["log-level"];function Br(e){return async(t,n)=>{let r;try{r=await Lw(e)}catch{t(Cm("apiConfig"));return}if(!r.ok){console.log("Error fetch configs",r.statusText),t(Cm("apiConfig"));return}const o=await r.json();t("store/configs#fetchConfigs",a=>{a.configs.configs=o}),n3(n())?wh(e):t(r3())}}function r3(){return e=>{e("store/configs#markHaveFetchedConfig",t=>{t.configs.haveFetchedConfig=!0})}}function p$(e,t){return async n=>{xA(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(Br(e))}),n("storeConfigsOptimisticUpdateConfigs",r=>{r.configs.configs={...r.configs.configs,...t}})}}function v$(e){return async t=>{kA(e).then(n=>{n.ok===!1&&console.log("Error reload config file",n.statusText)},n=>{throw console.log("Error reload config file",n),n}).then(()=>{t(Br(e))})}}function m$(e){return async t=>{TA(e).then(n=>{n.ok===!1&&console.log("Error restart core",n.statusText)},n=>{throw console.log("Error restart core",n),n}).then(()=>{t(Br(e))})}}function g$(e){return async t=>{LA(e).then(n=>{n.ok===!1&&console.log("Error upgrade core",n.statusText)},n=>{throw console.log("Error upgrade core",n),n}).then(()=>{t(Br(e))})}}function y$(e){return async t=>{PA(e).then(n=>{n.ok===!1&&console.log("Error update geo databases file",n.statusText)},n=>{throw console.log("Error update geo databases file",n),n}).then(()=>{t(Br(e))})}}function w$(e){return async t=>{NA(e).then(n=>{n.ok===!1&&console.log("Error flush FakeIP pool",n.statusText)},n=>{throw console.log("Error flush FakeIP pool",n),n}).then(()=>{t(Br(e))})}}const o3={configs:{port:7890,"socks-port":7891,"mixed-port":0,"redir-port":0,"tproxy-port":0,"mitm-port":0,"allow-lan":!1,mode:"rule","log-level":"uninit",sniffing:!1,tun:{enable:!1,device:"",stack:"","dns-hijack":[],"auto-route":!1}},haveFetchedConfig:!1},sr=e=>{const t=e.app.selectedClashAPIConfigIndex;return e.app.clashAPIConfigs[t]},Dw=e=>e.app.selectedClashAPIConfigIndex,Sh=e=>e.app.clashAPIConfigs,_h=e=>e.app.theme,$w=e=>e.app.selectedChartStyleIndex,i3=e=>e.app.latencyTestUrl,S$=e=>e.app.collapsibleIsOpen,_$=e=>e.app.proxySortBy,b$=e=>e.app.hideUnavailableProxies,a3=e=>e.app.autoCloseOldConns,E$=e=>e.app.logStreamingPaused,s3=wA(jr,600);function bh(e,{baseURL:t,secret:n}){const r=Sh(e());for(let o=0;o{if(bh(r,{baseURL:e,secret:t}))return;const i={baseURL:e,secret:t,addedAt:Date.now()};n("addClashAPIConfig",a=>{a.app.clashAPIConfigs.push(i)}),jr(r().app)}}function u3({baseURL:e,secret:t}){return async(n,r)=>{const o=bh(r,{baseURL:e,secret:t});n("removeClashAPIConfig",i=>{i.app.clashAPIConfigs.splice(o,1)}),jr(r().app)}}function c3({baseURL:e,secret:t}){return async(n,r)=>{const o=bh(r,{baseURL:e,secret:t});Dw(r())!==o&&n("selectClashAPIConfig",a=>{a.app.selectedClashAPIConfigIndex=o}),jr(r().app);try{window.location.reload()}catch{}}}const Ju=document.querySelector("html");function Uw(e="light"){e==="auto"?Ju.setAttribute("data-theme","auto"):e==="dark"?Ju.setAttribute("data-theme","dark"):Ju.setAttribute("data-theme","light")}function f3(e="auto"){return(t,n)=>{_h(n())!==e&&(Uw(e),t("storeSwitchTheme",o=>{o.app.theme=e}),jr(n().app))}}function d3(e){return(t,n)=>{t("appSelectChartStyleIndex",r=>{r.app.selectedChartStyleIndex=Number(e)}),jr(n().app)}}function Rm(e,t){return(n,r)=>{n("appUpdateAppConfig",o=>{o.app[e]=t}),jr(r().app)}}function h3(e,t,n){return(r,o)=>{r("updateCollapsibleIsOpen",i=>{i.app.collapsibleIsOpen[`${e}:${t}`]=n}),s3(o().app)}}var ag;const p3={baseURL:((ag=document.getElementById("app"))==null?void 0:ag.getAttribute("data-base-url"))??"http://127.0.0.1:6756",secret:"",addedAt:0},v3={selectedClashAPIConfigIndex:0,clashAPIConfigs:[p3],latencyTestUrl:"https://www.gstatic.com/generate_204",selectedChartStyleIndex:0,theme:"dark",collapsibleIsOpen:{},proxySortBy:"Natural",hideUnavailableProxies:!1,autoCloseOldConns:!1,logStreamingPaused:!1};function m3(){const{search:e}=window.location,t={};if(typeof e!="string"||e==="")return t;const n=e.replace(/^\?/,"").split("&");for(let r=0;r1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Eh(e)?2:Ch(e)?3:0}function Nf(e,t){return Fo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function O3(e,t){return Fo(e)===2?e.get(t):e[t]}function Fw(e,t,n){var r=Fo(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function x3(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Eh(e){return L3&&e instanceof Map}function Ch(e){return N3&&e instanceof Set}function pr(e){return e.o||e.t}function Rh(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=I3(e);delete t[gt];for(var n=Ph(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=k3),Object.freeze(e),t&&oa(e,function(n,r){return Oh(r,!0)},!0)),e}function k3(){Wt(2)}function xh(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ln(e){var t=M3[e];return t||Wt(18,e),t}function Om(){return ia}function Zu(e,t){t&&(ln("Patches"),e.u=[],e.s=[],e.v=t)}function wl(e){Af(e),e.p.forEach(P3),e.p=null}function Af(e){e===ia&&(ia=e.l)}function xm(e){return ia={p:[],l:ia,h:e,m:!0,_:0}}function P3(e){var t=e[gt];t.i===0||t.i===1?t.j():t.O=!0}function ec(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||ln("ES5").S(t,e,r),r?(n[gt].P&&(wl(t),Wt(4)),Ir(e)&&(e=Sl(t,e),t.l||_l(t,e)),t.u&&ln("Patches").M(n[gt].t,e,t.u,t.s)):e=Sl(t,n,[]),wl(t),t.u&&t.v(t.u,t.s),e!==jw?e:void 0}function Sl(e,t,n){if(xh(t))return t;var r=t[gt];if(!r)return oa(t,function(s,l){return km(e,r,t,s,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return _l(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Rh(r.k):r.o,i=o,a=!1;r.i===3&&(i=new Set(o),o.clear(),a=!0),oa(i,function(s,l){return km(e,r,o,s,l,n,a)}),_l(e,o,!1),n&&e.u&&ln("Patches").N(r,n,e.u,e.s)}return r.o}function km(e,t,n,r,o,i,a){if(To(o)){var s=Sl(e,o,i&&t&&t.i!==3&&!Nf(t.R,r)?i.concat(r):void 0);if(Fw(n,r,s),!To(s))return;e.m=!1}else a&&n.add(o);if(Ir(o)&&!xh(o)){if(!e.h.D&&e._<1)return;Sl(e,o),t&&t.A.l||_l(e,o)}}function _l(e,t,n){n===void 0&&(n=!1),e.h.D&&e.m&&Oh(t,n)}function tc(e,t){var n=e[gt];return(n?pr(n):e)[t]}function Pm(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 If(e){e.P||(e.P=!0,e.l&&If(e.l))}function nc(e){e.o||(e.o=Rh(e.t))}function Mf(e,t,n){var r=Eh(t)?ln("MapSet").F(t,n):Ch(t)?ln("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Om(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,u=Df;a&&(l=[s],u=di);var c=Proxy.revocable(l,u),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):ln("ES5").J(t,n);return(n?n.A:Om()).p.push(r),r}function T3(e){return To(e)||Wt(22,e),function t(n){if(!Ir(n))return n;var r,o=n[gt],i=Fo(n);if(o){if(!o.P&&(o.i<4||!ln("ES5").K(o)))return o.t;o.I=!0,r=Tm(n,i),o.I=!1}else r=Tm(n,i);return oa(r,function(a,s){o&&O3(o.t,a)===s||Fw(r,a,t(s))}),i===3?new Set(r):r}(e)}function Tm(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Rh(e)}var Lm,ia,kh=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",L3=typeof Map<"u",N3=typeof Set<"u",Nm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",jw=kh?Symbol.for("immer-nothing"):((Lm={})["immer-nothing"]=!0,Lm),Am=kh?Symbol.for("immer-draftable"):"__$immer_draftable",gt=kh?Symbol.for("immer-state"):"__$immer_state",A3=""+Object.prototype.constructor,Ph=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,I3=Object.getOwnPropertyDescriptors||function(e){var t={};return Ph(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},M3={},Df={get:function(e,t){if(t===gt)return e;var n=pr(e);if(!Nf(n,t))return function(o,i,a){var s,l=Pm(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||!Ir(r)?r:r===tc(e.t,t)?(nc(e),e.o[t]=Mf(e.A.h,r,e)):r},has:function(e,t){return t in pr(e)},ownKeys:function(e){return Reflect.ownKeys(pr(e))},set:function(e,t,n){var r=Pm(pr(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=tc(pr(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(x3(n,o)&&(n!==void 0||Nf(e.t,t)))return!0;nc(e),If(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 tc(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,nc(e),If(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=pr(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Wt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Wt(12)}},di={};oa(Df,function(e,t){di[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),di.deleteProperty=function(e,t){return di.set.call(this,e,t,void 0)},di.set=function(e,t,n){return Df.set.call(this,e[0],t,n,e[0])};var D3=function(){function e(n){var r=this;this.g=Nm,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 _=this;y===void 0&&(y=s);for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g1?c-1:0),d=1;d=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=ln("Patches").$;return To(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),yt=new D3,$3=yt.produce;yt.produceWithPatches.bind(yt);var U3=yt.setAutoFreeze.bind(yt);yt.setUseProxies.bind(yt);yt.applyPatches.bind(yt);yt.createDraft.bind(yt);yt.finishDraft.bind(yt);U3(!1);const{createContext:Th,memo:F3,useMemo:j3,useRef:B3,useEffect:z3,useCallback:Im,useContext:$f,useState:V3}=V,Bw=Th(null),zw=Th(null),Vw=Th(null);function W3(){return $f(Vw)}function H3({initialState:e,actions:t={},children:n}){const r=B3(e),[o,i]=V3(e),a=Im(()=>r.current,[]);z3(()=>{},[a]);const s=Im((u,c)=>{if(typeof u=="function")return u(s,a);const f=$3(a(),c);f!==r.current&&(r.current=f,i(f))},[a]),l=j3(()=>Ww(t,s),[t,s]);return R(Bw.Provider,{value:o,children:R(zw.Provider,{value:s,children:R(Vw.Provider,{value:l,children:n})})})}function Jt(e){return t=>{const n=F3(t);function r(o){const i=$f(Bw),a=$f(zw),s=e(i,o),l={dispatch:a,...o,...s};return R(n,{...l})}return r}}function q3(e,t){return function(...n){return t(e.apply(this,n))}}function Ww(e,t){const n={};for(const r in e){const o=e[r];typeof o=="function"?n[r]=q3(o,t):typeof o=="object"&&(n[r]=Ww(o,t))}return n}const K3=e=>({apiConfigs:Sh(e),selectedClashAPIConfigIndex:Dw(e)}),Q3=Jt(K3)(G3);function G3({apiConfigs:e,selectedClashAPIConfigIndex:t}){const{app:{removeClashAPIConfig:n,selectClashAPIConfig:r}}=W3(),o=L.useCallback(a=>{n(a)},[n]),i=L.useCallback(a=>{r(a)},[r]);return R(Cr,{children:R("ul",{className:gn.ul,children:e.map((a,s)=>R("li",{className:Ar(gn.li,{[gn.hasSecret]:a.secret,[gn.isSelected]:s===t}),children:R(X3,{disableRemove:s===t,baseURL:a.baseURL,secret:a.secret,onRemove:o,onSelect:i})},a.baseURL+a.secret))})})}function X3({baseURL:e,secret:t,disableRemove:n,onRemove:r,onSelect:o}){const[i,a]=XA(),s=i?MA:UA,l=L.useCallback(u=>{u.stopPropagation()},[]);return le(Cr,{children:[R(Mm,{disabled:n,onClick:()=>r({baseURL:e,secret:t}),className:gn.close,children:R(KA,{size:20})}),R("span",{className:gn.url,tabIndex:0,role:"button",onClick:()=>o({baseURL:e,secret:t}),onKeyUp:l,children:e}),R("span",{}),t?le(Cr,{children:[R("span",{className:gn.secret,children:i?t:"***"}),R(Mm,{onClick:a,className:gn.eye,children:R(s,{size:20})})]}):null]})}function Mm({children:e,onClick:t,className:n,disabled:r}){return R("button",{disabled:r,className:Ar(n,gn.btn),onClick:t,children:e})}const Y3="_root_zwtea_1",J3="_header_zwtea_5",Z3="_icon_zwtea_10",e4="_body_zwtea_20",t4="_hostnamePort_zwtea_24",n4="_error_zwtea_36",r4="_footer_zwtea_42",ur={root:Y3,header:J3,icon:Z3,body:e4,hostnamePort:t4,error:n4,footer:r4},o4="_btn_vsco8_4",i4="_minimal_vsco8_37",a4="_btnInternal_vsco8_54",s4="_btnStart_vsco8_61",l4="_loadingContainer_vsco8_67",Pi={btn:o4,minimal:i4,btnInternal:a4,btnStart:s4,loadingContainer:l4},u4="_sectionNameType_k6imc_4",c4="_loadingDot_k6imc_75",f4="_dot2_k6imc_1",d4="_dot1_k6imc_1",h4="_dot3_k6imc_1",Hw={sectionNameType:u4,loadingDot:c4,dot2:f4,dot1:d4,dot3:h4};function C$({name:e,type:t}){return le("h2",{className:Hw.sectionNameType,children:[R("span",{style:{marginRight:5},children:e}),R("span",{children:t})]})}function p4(){return R("span",{className:Hw.loadingDot})}const{forwardRef:v4,useCallback:m4}=Tt;function g4(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,d={children:s,label:l,text:u,start:c},p=m4(y=>{o||n&&n(y)},[o,n]),v=Ar(Pi.btn,{[Pi.minimal]:i==="minimal"},a);return R("button",{className:v,ref:t,onClick:p,disabled:r,...f,children:o?le(Cr,{children:[R("span",{style:{display:"inline-flex",opacity:0},children:R(Dm,{...d})}),R("span",{className:Pi.loadingContainer,children:R(p4,{})})]}):R(Dm,{...d})})}function Dm({children:e,label:t,text:n,start:r}){return le("div",{className:Pi.btnInternal,children:[r&&R("span",{className:Pi.btnStart,children:typeof r=="function"?r():r}),e||t||n]})}const y4=v4(g4),w4="_root_1or8t_1",S4="_floatAbove_1or8t_32",$m={root:w4,floatAbove:S4},{useCallback:_4}=Tt;function Um({id:e,label:t,value:n,onChange:r,...o}){const i=_4(a=>r(a),[r]);return le("div",{className:$m.root,children:[R("input",{id:e,value:n,onChange:i,...o}),R("label",{htmlFor:e,className:$m.floatAbove,children:t})]})}const b4="_path_r8pm3_1",E4="_dash_r8pm3_1",C4={path:b4,dash:E4};function Lh({width:e=320,height:t=320,animate:n=!1,c0:r="#316eb5",c1:o="#f19500",line:i="#cccccc"}){const a=Ar({[C4.path]:n});return le("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.2",viewBox:"0 0 512 512",width:e,height:t,children:[R("path",{id:"Layer",className:a,fill:r,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m280.8 182.4l119-108.3c1.9-1.7 4.3-2.7 6.8-2.4l39.5 4.1c2.1 0.3 3.9 2.2 3.9 4.4v251.1c0 2-1.5 3.9-3.5 4.4l-41.9 9c-0.5 0.3-1.2 0.3-1.9 0.3h-18.8c-2.4 0-4.4-2-4.4-4.4v-132.9c0-7.5-9-11.7-14.8-6.3l-59 53.4c-2.2 2.2-5.4 2.9-8.5 1.9-27.1-8-56.3-8-83.4 0-2.9 1-6.1 0.3-8.5-1.9l-59-53.4c-5.6-5.4-14.6-1.2-14.6 6.3v132.9c0 2.4-2.2 4.4-4.7 4.4h-18.7c-0.7 0-1.2 0-2-0.3l-41.6-9c-2-0.5-3.5-2.4-3.5-4.4v-251.1c0-2.2 1.8-4.1 3.9-4.4l39.5-4.1c2.5-0.3 4.9 0.7 6.9 2.4l115.7 105.3c2 1.7 4.6 2.5 7.1 2.2 15.3-2.2 31.4-1.9 46.5 0.8z"}),R("path",{id:"Layer",className:a,fill:r,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m269.4 361.8l-7.1 13.4c-2.4 4.2-8.5 4.2-11 0l-7-13.4c-2.5-4.1 0.7-9.3 5.3-9h14.4c4.9 0 7.8 4.9 5.4 9z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m160.7 362.5c3.6 0 6.8 3.2 6.8 6.9 0 3.6-3.2 6.5-6.8 6.5h-94.6c-3.6 0-6.8-2.9-6.8-6.5 0-3.7 3.2-6.9 6.8-6.9z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m158.7 394.7c3.4-1 7.1 1 8.3 4.4 1 3.4-1 7.3-4.4 8.3l-92.8 31.7c-3.4 1.2-7.3-0.7-8.3-4.2-1.2-3.6 0.7-7.3 4.4-8.5z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m446.1 426.4c3.4 1.2 5.3 4.9 4.3 8.5-1.2 3.5-4.8 5.4-8.2 4.2l-93.1-31.7c-3.5-1-5.4-4.9-4.2-8.3 1-3.4 4.9-5.4 8.3-4.4z"}),R("path",{id:"Layer",className:a,fill:o,stroke:i,strokeLinecap:"round",strokeWidth:"4",d:"m445.8 362.5c3.7 0 6.6 3.2 6.6 6.9 0 3.6-2.9 6.5-6.6 6.5h-94.8c-3.6 0-6.6-2.9-6.6-6.5 0-3.7 3-6.9 6.6-6.9z"})]})}const{useState:rc,useRef:Fm,useCallback:oc,useEffect:R4}=Tt,qw=0,O4=e=>({apiConfig:sr(e)});function x4({dispatch:e}){const[t,n]=rc(""),[r,o]=rc(""),[i,a]=rc(""),s=Fm(!1),l=Fm(null),u=oc(p=>{s.current=!0,a("");const v=p.target,{name:y}=v,_=v.value;switch(y){case"baseURL":n(_);break;case"secret":o(_);break;default:throw new Error(`unknown input name ${y}`)}},[]),c=oc(()=>{let p=t;if(p){const v=t.substring(0,7);if(v.includes(":/")){if(v!=="http://"&&v!=="https:/")return[1,"Must starts with http:// or https://"]}else window.location.protocol&&(p=`${window.location.protocol}//${p}`)}k4({baseURL:p,secret:r}).then(v=>{v[0]!==qw?a(v[1]):e(l3({baseURL:p,secret:r}))})},[t,r,e]),f=oc(p=>{p.target instanceof Element&&(!p.target.tagName||p.target.tagName.toUpperCase()!=="INPUT")||p.key==="Enter"&&c()},[c]),d=async()=>{(await fetch("/")).json().then(v=>{v.hello==="clash"&&n(window.location.origin)})};return R4(()=>{d()},[]),le("div",{className:ur.root,ref:l,onKeyDown:f,children:[R("div",{className:ur.header,children:R("div",{className:ur.icon,children:R(Lh,{width:160,height:160,stroke:"var(--stroke)"})})}),R("div",{className:ur.body,children:le("div",{className:ur.hostnamePort,children:[R(Um,{id:"baseURL",name:"baseURL",label:"API Base URL",type:"text",placeholder:"http://127.0.0.1:6756",value:t,onChange:u}),R(Um,{id:"secret",name:"secret",label:"Secret(optional)",value:r,type:"text",onChange:u})]})}),R("div",{className:ur.error,children:i||null}),R("div",{className:ur.footer,children:R(y4,{label:"Add",onClick:c})}),R("div",{style:{height:20}}),R(Q3,{})]})}const Kw=Jt(O4)(x4);async function k4(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 Lw(e);return t.status>399?[1,t.statusText]:[qw]}catch{return[1,"Failed to connect"]}}async function Qw(e,t){let n={};try{const{url:r,init:o}=Me(t),i=await fetch(r+e,o);i.ok&&(n=await i.json())}catch(r){console.log(`failed to fetch ${e}`,r)}return n}const P4="_root_ul0od_4",T4="_h1_ul0od_10",jm={root:P4,h1:T4};function L4({title:e}){return R("div",{className:jm.root,children:R("h1",{className:jm.h1,children:e})})}const Gw=V.memo(L4),N4="_root_10mcy_4",A4="_mono_10mcy_13",I4="_link_10mcy_17",ic={root:N4,mono:A4,link:I4};function Bm({name:e,link:t,version:n}){return le("div",{className:ic.root,children:[R("h2",{children:e}),le("p",{children:[R("span",{children:"Version "}),R("span",{className:ic.mono,children:n})]}),R("p",{children:le("a",{className:ic.link,href:t,target:"_blank",rel:"noopener noreferrer",children:[R(BA,{size:20}),R("span",{children:"Source"})]})})]})}function M4(e){const{data:t}=Y0(["/version",e.apiConfig],()=>Qw("/version",e.apiConfig));return le(Cr,{children:[R(Gw,{title:"About"}),t&&t.version?R(Bm,{name:t.meta&&t.premium?"sing-box":t.meta?"Clash.Meta":"Clash",version:t.version,link:t.meta&&t.premium?"https://github.com/SagerNet/sing-box":t.meta?"https://github.com/MetaCubeX/Clash.Meta":"https://github.com/Dreamacro/clash"}):null,R(Bm,{name:"Yacd",version:"0.3.7",link:"https://github.com/metacubex/yacd"})]})}const D4=e=>({apiConfig:sr(e)}),$4=Jt(D4)(M4);/** + * @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 Xw(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function kn(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function zm(e){return typeof e=="boolean"}function Uf(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function U4(e,t){if(e!=null)if(Uf(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function Yw(...e){return L.useCallback(t=>{for(let n of e)U4(n,t)},e)}function Nh(e){return Xw()?e?e.ownerDocument:document:null}function F4(e){let t=Nh(e),n=t.defaultView||window;return t?{width:t.documentElement.clientWidth??n.innerWidth,height:t.documentElement.clientHeight??n.innerHeight}:{width:0,height:0}}function Jw(...e){return e.filter(t=>t!=null).join("--")}function j4(){let[,e]=L.useState(Object.create(null));return L.useCallback(()=>{e(Object.create(null))},[])}var Ti=Xw()?L.useLayoutEffect:L.useEffect,ac=!1,B4=0;function Vm(){return++B4}var Wm=Tt["useId".toString()];function z4(e){if(Wm!==void 0){let o=Wm();return e??o}let t=e??(ac?Vm():null),[n,r]=L.useState(t);return Ti(()=>{n===null&&r(Vm())},[]),L.useEffect(()=>{ac===!1&&(ac=!0)},[]),e??n??void 0}var V4=({children:e,type:t="reach-portal",containerRef:n})=>{let r=L.useRef(null),o=L.useRef(null),i=j4();return L.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]),Ti(()=>{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?mo.createPortal(e,o.current):L.createElement("span",{ref:r})},Zw=({unstable_skipInitialRender:e,...t})=>{let[n,r]=L.useState(!1);return L.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:L.createElement(V4,{...t})};Zw.displayName="Portal";var eS=L.forwardRef(function({as:t="span",style:n={},...r},o){return L.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})});eS.displayName="VisuallyHidden";var W4=["bottom","height","left","right","top","width"],H4=function(t,n){return t===void 0&&(t={}),n===void 0&&(n={}),W4.some(function(r){return t[r]!==n[r]})},Pn=new Map,tS,q4=function e(){var t=[];Pn.forEach(function(n,r){var o=r.getBoundingClientRect();H4(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),tS=window.requestAnimationFrame(e)};function K4(e,t){return{observe:function(){var r=Pn.size===0;Pn.has(e)?Pn.get(e).callbacks.push(t):Pn.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),r&&q4()},unobserve:function(){var r=Pn.get(e);if(r){var o=r.callbacks.indexOf(t);o>=0&&r.callbacks.splice(o,1),r.callbacks.length||Pn.delete(e),Pn.size||cancelAnimationFrame(tS)}}}}function nS(e,t,n){let r,o;zm(t)?r=t:(r=(t==null?void 0:t.observe)??!0,o=t==null?void 0:t.onChange),Uf(n)&&(o=n),L.useEffect(()=>{zm(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]),L.useEffect(()=>{Uf(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]=L.useState(e.current),s=L.useRef(!1),l=L.useRef(!1),[u,c]=L.useState(null),f=L.useRef(o);return Ti(()=>{f.current=o,e.current!==i&&a(e.current)}),Ti(()=>{i&&!s.current&&(s.current=!0,c(i.getBoundingClientRect()))},[i]),Ti(()=>{if(!r)return;let d=i;if(l.current||(l.current=!0,d=e.current),!d){console.warn("You need to place the ref");return}let p=K4(d,v=>{var y;(y=f.current)==null||y.call(f,v),c(v)});return p.observe(),()=>{p.unobserve()}},[r,i,e]),u}var Q4=100,G4=500,Ff={initial:"IDLE",states:{IDLE:{enter:sc,on:{MOUSE_ENTER:"FOCUSED",FOCUS:"VISIBLE"}},FOCUSED:{enter:J4,leave:Z4,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:eI,leave:()=>{tI(),sc()},on:{MOUSE_ENTER:"VISIBLE",FOCUS:"VISIBLE",TIME_COMPLETE:"IDLE"}},DISMISSED:{leave:()=>{sc()},on:{MOUSE_LEAVE:"IDLE",BLUR:"IDLE"}}}},kt={value:Ff.initial,context:{id:null}},Rs=[];function X4(e){return Rs.push(e),()=>{Rs.splice(Rs.indexOf(e),1)}}function Y4(){Rs.forEach(e=>e(kt))}var jf;function J4(){window.clearTimeout(jf),jf=window.setTimeout(()=>{Bt({type:"REST"})},Q4)}function Z4(){window.clearTimeout(jf)}var Bf;function eI(){window.clearTimeout(Bf),Bf=window.setTimeout(()=>Bt({type:"TIME_COMPLETE"}),G4)}function tI(){window.clearTimeout(Bf)}function sc(){kt.context.id=null}function nI({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:d,ref:p,DEBUG_STYLE:v}={}){let y=String(z4(e)),[_,m]=L.useState(v?!0:Hm(y,!0)),h=L.useRef(null),g=Yw(p,h),S=nS(h,{observe:_});L.useEffect(()=>X4(()=>{m(Hm(y))}),[y]),L.useEffect(()=>{let M=Nh(h.current);function C(O){(O.key==="Escape"||O.key==="Esc")&&kt.value==="VISIBLE"&&Bt({type:"SELECT_WITH_KEYBOARD"})}return M.addEventListener("keydown",C),()=>M.removeEventListener("keydown",C)},[]),aI({disabled:d,isVisible:_,ref:h});function k(M,C){return typeof window<"u"&&"PointerEvent"in window?M:kn(M,C)}function T(M){return function(O){O.pointerType==="mouse"&&M(O)}}function N(){Bt({type:"MOUSE_ENTER",id:y})}function I(){Bt({type:"MOUSE_MOVE",id:y})}function G(){Bt({type:"MOUSE_LEAVE"})}function $(){kt.context.id===y&&Bt({type:"MOUSE_DOWN"})}function X(){window.__REACH_DISABLE_TOOLTIPS||Bt({type:"FOCUS",id:y})}function ce(){kt.context.id===y&&Bt({type:"BLUR"})}function re(M){(M.key==="Enter"||M.key===" ")&&Bt({type:"SELECT_WITH_KEYBOARD"})}return[{"aria-describedby":_?Jw("tooltip",y):void 0,"data-state":_?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:g,onPointerEnter:kn(t,T(N)),onPointerMove:kn(n,T(I)),onPointerLeave:kn(r,T(G)),onPointerDown:kn(o,T($)),onMouseEnter:k(i,N),onMouseMove:k(a,I),onMouseLeave:k(s,G),onMouseDown:k(l,$),onFocus:kn(u,X),onBlur:kn(c,ce),onKeyDown:kn(f,re)},{id:y,triggerRect:S,isVisible:_},_]}var Ah=L.forwardRef(function({children:e,label:t,ariaLabel:n,id:r,DEBUG_STYLE:o,...i},a){let s=L.Children.only(e);L.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]=nI({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 L.createElement(L.Fragment,null,L.cloneElement(s,l),L.createElement(rS,{ref:a,label:t,"aria-label":n,...u,...i}))});Ah.displayName="Tooltip";var rS=L.forwardRef(function({label:t,ariaLabel:n,isVisible:r,id:o,...i},a){return r?L.createElement(Zw,null,L.createElement(oS,{ref:a,label:t,"aria-label":n,isVisible:r,...i,id:Jw("tooltip",String(o))})):null});rS.displayName="TooltipPopup";var oS=L.forwardRef(function({ariaLabel:t,"aria-label":n,as:r="div",id:o,isVisible:i,label:a,position:s=iI,style:l,triggerRect:u,...c},f){let d=(n||t)!=null,p=L.useRef(null),v=Yw(f,p),y=nS(p,{observe:i});return L.createElement(L.Fragment,null,L.createElement(r,{role:d?void 0:"tooltip",...c,ref:v,"data-reach-tooltip":"",id:d?void 0:o,style:{...l,...rI(s,u,y)}},a),d&&L.createElement(eS,{role:"tooltip",id:o},n||t))});oS.displayName="TooltipContent";function rI(e,t,n){return n?e(t,n):{visibility:"hidden"}}var oI=8,iI=(e,t,n=oI)=>{let{width:r,height:o}=F4();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=Nh(n.current);function o(i){t&&(i.target instanceof Element&&i.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||Bt({type:"GLOBAL_MOUSE_MOVE"}))}return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)}},[e,t,n])}function Bt(e){let{value:t,context:n,changed:r}=sI(kt,e);r&&(kt={value:t,context:n},Y4())}function sI(e,t){let n=Ff.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={...kt.context,...i},s=typeof r=="string"?r:r.target,l=Ff.states[s];return l&&l.enter&&l.enter(e.context,t),{value:s,context:a,changed:!0}}function Hm(e,t){return kt.context.id===e&&(t?kt.value==="VISIBLE":kt.value==="VISIBLE"||kt.value==="LEAVING_VISIBLE")}function lI(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 Ih=lI(()=>Ot(()=>import("./index-777fdc28.js"),[],import.meta.url)),uI="_iconWrapper_1rpjb_1",cI="_themeSwitchContainer_1rpjb_21",qm={iconWrapper:uI,themeSwitchContainer:cI};function fI({theme:e,dispatch:t}){const{t:n}=No(),r=L.useMemo(()=>{switch(e){case"dark":return R(Km,{});case"auto":return R(hI,{});case"light":return R(dI,{});default:return console.assert(!1,"Unknown theme"),R(Km,{})}},[e]),o=L.useCallback(i=>t(f3(i.target.value)),[t]);return R(Ah,{label:n("switch_theme"),"aria-label":"switch theme",children:le("div",{className:qm.themeSwitchContainer,children:[R("span",{className:qm.iconWrapper,children:r}),le("select",{onChange:o,children:[R("option",{value:"auto",children:"Auto"}),R("option",{value:"dark",children:"Dark"}),R("option",{value:"light",children:"Light"})]})]})})}function Km(){const t=Ih.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 dI(){const t=Ih.read().motion;return le("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"}),le(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 hI(){const t=Ih.read().motion;return le("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 pI=e=>({theme:_h(e)}),iS=Jt(pI)(fI),zf=0,Vf={[zf]:{message:"Browser not supported!",detail:'This browser does not support "fetch", please choose another one.'},default:{message:`出错了! + 请尝试清理缓存和Cookie后重试`}};function vI(e){const{code:t}=e;return typeof t=="number"?Vf[t]:Vf.default}const mI="_content_b98hm_1",gI="_container_b98hm_16",yI="_overlay_b98hm_22",wI="_fixed_b98hm_26",rs={content:mI,container:gI,overlay:yI,fixed:wI},SI="_overlay_fy74n_1",_I="_content_fy74n_14",Qm={overlay:SI,content:_I};function bI({isOpen:e,onRequestClose:t,className:n,overlayClassName:r,children:o,...i}){const a=Ar(n,Qm.content),s=Ar(r,Qm.overlay);return R(B0,{isOpen:e,onRequestClose:t,className:a,overlayClassName:s,...i,children:o})}const EI=L.memo(bI),{useCallback:CI,useEffect:RI}=Tt;function OI({dispatch:e,apiConfig:t,modals:n}){if(!window.fetch){const{detail:o}=Vf[zf],i=new Error(o);throw i.code=zf,i}const r=CI(()=>{e(e3("apiConfig"))},[e]);return RI(()=>{e(Br(t))},[e,t]),le(EI,{isOpen:n.apiConfig,className:rs.content,overlayClassName:rs.overlay,shouldCloseOnOverlayClick:!1,shouldCloseOnEsc:!1,onRequestClose:r,children:[R("div",{className:rs.container,children:R(Kw,{})}),R("div",{className:rs.fixed,children:R(iS,{})})]})}const xI=e=>({modals:e.modals,apiConfig:sr(e)}),kI=Jt(xI)(OI),PI="_root_16avz_1",TI="_yacd_16avz_14",LI="_link_16avz_23",lc={root:PI,yacd:TI,link:LI};function NI({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 AI="https://github.com/metacubex/yacd";function II({message:e,detail:t}){return le("div",{className:lc.root,children:[R("div",{className:lc.yacd,children:R(Lh,{width:150,height:150})}),e?R("h1",{children:e}):null,t?R("p",{children:t}):null,R("p",{children:le("a",{className:lc.link,href:AI,children:[R(NI,{width:16,height:16}),"metacubex/yacd"]})})]})}class MI extends L.Component{constructor(){super(...arguments);Bh(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n}}render(){if(this.state.error){const{message:n,detail:r}=vI(this.state.error);return R(II,{message:n,detail:r})}else return this.props.children}}const DI="_root_1ddes_4",$I="_chart_1ddes_13",Gm={root:DI,chart:$I},UI="_loading_wpm96_1",FI="_spinner_wpm96_9",jI="_rotate_wpm96_1",Xm={loading:UI,spinner:FI,rotate:jI},aS=({height:e})=>{const t=e?{height:e}:{};return R("div",{className:Xm.loading,style:t,children:R("div",{className:Xm.spinner})})},sS="/memory",BI=new TextDecoder("utf-8"),os=150,aa={labels:Array(os).fill(0),inuse:Array(os),oslimit:Array(os),size:os,subscribers:[],appendData(e){this.inuse.shift(),this.oslimit.shift(),this.labels.shift();const t=Date.now();this.inuse.push(e.inuse),this.oslimit.push(e.oslimit),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 so=!1,is="";function Wf(e){aa.appendData(JSON.parse(e))}function lS(e){return e.read().then(({done:t,value:n})=>{const r=BI.decode(n,{stream:!t});is+=r;const o=is.split(` +`),i=o[o.length-1];for(let a=0;a{if(r.ok){const o=r.body.getReader();lS(o)}else so=!1},r=>{console.log("fetch /memory error",r),so=!1}),aa}var Mh=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 Ym(e,t,n,r=0,o=!1){for(const a of t)if(Mh(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 WI(e,...t){if(t===void 0||t.length===0)e.splice(0,e.length);else{const n=e.find(r=>Mh(t,r.args));if(n){const r=e.indexOf(n);r!==-1&&e.splice(r,1)}}}function uS(e,t=0){const n=[];return{read:(...r)=>Ym(e,n,r,t),preload:(...r)=>void Ym(e,n,r,t,!0),clear:(...r)=>WI(n,...r),peek:(...r)=>{var o;return(o=n.find(i=>Mh(r,i.args)))==null?void 0:o.response}}}const Jm=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];function Er(e){if(e<1e3)return e+" B";const t=Math.min(Math.floor(Math.log10(e)/3),Jm.length-1);e=Number((e/Math.pow(1e3,t)).toPrecision(3));const n=Jm[t];return e+" "+n}const HI=uS(()=>Ot(()=>import("./chart-lib-6081a478.js"),[],import.meta.url)),Zm={borderWidth:1,pointRadius:0,tension:.2,fill:!0},qI={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:{dash:[3,6]},ticks:{maxTicksLimit:5,callback(e){return Er(e)+"/s "}}}}},eg=[{down:{backgroundColor:"rgba(81, 168, 221, 0.5)",borderColor:"rgb(81, 168, 221)"},up:{backgroundColor:"rgba(219, 77, 109, 0.5)",borderColor:"rgb(219, 77, 109)"}},{up:{backgroundColor:"rgba(245,78,162,0.6)",borderColor:"rgba(245,78,162,1)"},down:{backgroundColor:"rgba(123,59,140,0.6)",borderColor:"rgba(66,33,142,1)"}},{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)"}}],KI=uS(()=>Ot(()=>import("./chart-lib-6081a478.js"),[],import.meta.url)),QI={borderWidth:1,pointRadius:0,tension:.2,fill:!0},cS={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:{dash:[3,6]},ticks:{maxTicksLimit:3,callback(e){return Er(e)}}}}},GI=[{inuse:{backgroundColor:"rgba(81, 168, 221, 0.5)",borderColor:"rgb(81, 168, 221)"}},{inuse:{backgroundColor:"rgba(245,78,162,0.6)",borderColor:"rgba(245,78,162,1)"}},{inuse:{backgroundColor:"rgba(94, 175, 223, 0.3)",borderColor:"rgb(94, 175, 223)"}},{inuse:{backgroundColor:"rgba(242, 174, 62, 0.3)",borderColor:"rgb(242, 174, 62)"}}],{useEffect:fS}=V;function XI(e,t,n,r,o={}){fS(()=>{const i=document.getElementById(t).getContext("2d"),a={...qI,...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])}function YI(e,t,n,r,o={}){fS(()=>{const i=document.getElementById(t).getContext("2d"),a={...cS,...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 JI="_TrafficChart_13afo_1",ZI={TrafficChart:JI},{useMemo:eM}=Tt,tM={justifySelf:"center",position:"relative",width:"100%",height:"100%"},nM={width:"100%",height:"100%",padding:"10px",borderRadius:"10px"},rM=e=>({apiConfig:sr(e),selectedChartStyleIndex:$w(e)}),oM=Jt(rM)(iM);function iM({apiConfig:e,selectedChartStyleIndex:t}){const n=KI.read(),r=zI(e),{t:o}=No(),i=eM(()=>({labels:r.labels,datasets:[{...QI,...cS,...GI[t].inuse,label:o("Memory"),data:r.inuse}]}),[r,t,o]);return YI(n.Chart,"MemoryChart",i,r),R("div",{style:tM,children:R("canvas",{id:"MemoryChart",style:nM,className:ZI.TrafficChart})})}const aM="_TrafficChart_13afo_1",sM={TrafficChart:aM},{useMemo:lM}=Tt,uM={justifySelf:"center",position:"relative",width:"100%",height:"100%"},cM={width:"100%",height:"100%",padding:"10px",borderRadius:"10px"},fM=e=>({apiConfig:sr(e),selectedChartStyleIndex:$w(e)}),dM=Jt(fM)(hM);function hM({apiConfig:e,selectedChartStyleIndex:t}){const n=HI.read(),r=wh(e),{t:o}=No(),i=lM(()=>({labels:r.labels,datasets:[{...Zm,...eg[t].up,label:o("Up"),data:r.up},{...Zm,...eg[t].down,label:o("Down"),data:r.down}]}),[r,t,o]);return XI(n.Chart,"trafficChart",i,r),R("div",{style:uM,children:R("canvas",{id:"trafficChart",style:cM,className:sM.TrafficChart})})}const cu="/connections",Bn=[];function pM(e){let t;try{t=JSON.parse(e),t.connections.forEach(n=>{let r=n.metadata;r.process==null&&r.processPath!=null&&(r.process=r.processPath.replace(/^.*[/\\](.*)$/,"$1"))})}catch{console.log("JSON.parse error",JSON.parse(e))}Bn.forEach(n=>n.listner(t))}let ss;function vM(e,t,n){if(ss===1&&t)return tg({listner:t,onClose:n});ss=1;const r=dh(e,cu),o=new WebSocket(r);if(o.addEventListener("error",()=>{ss=3,Bn.forEach(i=>i.onClose()),Bn.length=0}),o.addEventListener("close",()=>{ss=3,Bn.forEach(i=>i.onClose()),Bn.length=0}),o.addEventListener("message",i=>pM(i.data)),t)return tg({listner:t,onClose:n})}function tg(e){return Bn.push(e),function(){const n=Bn.indexOf(e);Bn.splice(n,1)}}async function R$(e){const{url:t,init:n}=Me(e);return await fetch(t+cu,{...n,method:"DELETE"})}async function mM(e){const{url:t,init:n}=Me(e);return await fetch(t+cu,{...n})}async function gM(e,t){const{url:n,init:r}=Me(e),o=`${n}${cu}/${t}`;return await fetch(o,{...r,method:"DELETE"})}const yM="_TrafficNow_w4nk9_2",wM="_sec_w4nk9_35",cr={TrafficNow:yM,sec:wM},{useState:dS,useEffect:hS,useCallback:SM}=Tt,_M=e=>({apiConfig:sr(e)}),bM=Jt(_M)(EM);function EM({apiConfig:e}){const{t}=No(),{upStr:n,downStr:r}=CM(e),{upTotal:o,dlTotal:i,connNumber:a,mUsage:s}=RM(e);return le("div",{className:cr.TrafficNow,children:[le("div",{className:cr.sec,children:[R("div",{children:t("Upload")}),R("div",{children:n})]}),le("div",{className:cr.sec,children:[R("div",{children:t("Download")}),R("div",{children:r})]}),le("div",{className:cr.sec,children:[R("div",{children:t("Upload Total")}),R("div",{children:o})]}),le("div",{className:cr.sec,children:[R("div",{children:t("Download Total")}),R("div",{children:i})]}),le("div",{className:cr.sec,children:[R("div",{children:t("Active Connections")}),R("div",{children:a})]}),le("div",{className:cr.sec,children:[R("div",{children:t("Memory Usage")}),R("div",{children:s})]})]})}function CM(e){const[t,n]=dS({upStr:"0 B/s",downStr:"0 B/s"});return hS(()=>wh(e).subscribe(r=>n({upStr:Er(r.up)+"/s",downStr:Er(r.down)+"/s"})),[e]),t}function RM(e){const[t,n]=dS({upTotal:"0 B",dlTotal:"0 B",connNumber:0,mUsage:"0 B"}),r=SM(({downloadTotal:o,uploadTotal:i,connections:a,memory:s})=>{n({upTotal:Er(i),dlTotal:Er(o),connNumber:a.length,mUsage:Er(s)})},[n]);return hS(()=>vM(e,r),[e,r]),t}function OM(){const{t:e}=No();return le("div",{children:[R(Gw,{title:e("Overview")}),le("div",{className:Gm.root,children:[R("div",{children:R(bM,{})}),R("div",{className:Gm.chart,children:le(L.Suspense,{fallback:R(aS,{height:"200px"}),children:[R(dM,{}),R(oM,{})]})})]})]})}const xM="_lo_pmly2_1",kM={lo:xM};function PM(){return R("div",{className:kM.lo,children:R(Lh,{width:280,height:280,animate:!0,c0:"transparent",c1:"#646464"})})}const TM=e=>({apiConfig:sr(e),apiConfigs:Sh(e)});function LM({apiConfig:e,apiConfigs:t}){return L.useEffect(()=>{let n="yacd";if(t.length>1)try{n=`${new URL(e.baseURL).host} - yacd`}catch{}document.title=n}),R(Cr,{})}const NM=Jt(TM)(LM);var pS={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ng=V.createContext&&V.createContext(pS),Jn=globalThis&&globalThis.__assign||function(){return Jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n({apiConfig:sr(e)}),tD=Jt(eD)(nD);function nD(e){const{t}=No(),n=wa();return Y0(["/version",e.apiConfig],()=>Qw("/version",e.apiConfig)),le("div",{className:Dn.root,children:[R("div",{className:Dn.logo_hiddify}),R("center",{children:"WebUI V0 Alpha"}),R("div",{className:Dn.rows,children:ZM.map(({to:r,iconId:o,labelText:i})=>R(JM,{to:r,isActive:n.pathname===r,iconId:o,labelText:t(i)},r))}),le("div",{className:Dn.footer,children:[R(iS,{}),R(Ah,{label:t("about"),children:R(l1,{to:"/about",className:Dn.iconWrapper,children:R(WA,{size:20})})})]})]})}const rD="_input_12jxq_1",O$={input:rD};function Hf(){return Hf=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,d=n.checkedHandleIcon,p=n.uncheckedHandleIcon,v=n.boxShadow,y=n.activeBoxShadow,_=n.height,m=n.width,h=n.borderRadius,g=function(P,M){var C={};for(var O in P)Object.prototype.hasOwnProperty.call(P,O)&&M.indexOf(O)===-1&&(C[O]=P[O]);return C}(n,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),S=this.state,k=S.h,T=S.N,N=S.j,I={position:"relative",display:"inline-block",textAlign:"left",opacity:o?.5:1,direction:"ltr",borderRadius:_/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"},G={height:_,width:m,margin:Math.max(0,(this.t-_)/2),position:"relative",background:og(k,this.i,this.o,a,s),borderRadius:typeof h=="number"?h:_/2,cursor:o?"default":"pointer",WebkitTransition:T?null:"background 0.25s",MozTransition:T?null:"background 0.25s",transition:T?null:"background 0.25s"},$={height:_,width:Math.min(1.5*_,m-(this.t+_)/2+1),position:"relative",opacity:(k-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:T?null:"opacity 0.25s",MozTransition:T?null:"opacity 0.25s",transition:T?null:"opacity 0.25s"},X={height:_,width:Math.min(1.5*_,m-(this.t+_)/2+1),position:"absolute",opacity:1-(k-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:T?null:"opacity 0.25s",MozTransition:T?null:"opacity 0.25s",transition:T?null:"opacity 0.25s"},ce={height:this.t,width:this.t,background:og(k,this.i,this.o,l,u),display:"inline-block",cursor:o?"default":"pointer",borderRadius:typeof h=="number"?h-1:"50%",position:"absolute",transform:"translateX("+k+"px)",top:Math.max(0,(_-this.t)/2),outline:0,boxShadow:N?y:v,border:0,WebkitTransition:T?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:T?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:T?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},re={height:this.t,width:this.t,opacity:Math.max(2*(1-(k-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:T?null:"opacity 0.25s",MozTransition:T?null:"opacity 0.25s",transition:T?null:"opacity 0.25s"},w={height:this.t,width:this.t,opacity:Math.max(2*((k-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:T?null:"opacity 0.25s",MozTransition:T?null:"opacity 0.25s",transition:T?null:"opacity 0.25s"};return V.createElement("div",{className:i,style:I},V.createElement("div",{className:"react-switch-bg",style:G,onClick:o?null:this.T,onMouseDown:function(P){return P.preventDefault()}},c&&V.createElement("div",{style:$},c),f&&V.createElement("div",{style:X},f)),V.createElement("div",{className:"react-switch-handle",style:ce,onClick:function(P){return P.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},p&&V.createElement("div",{style:re},p),d&&V.createElement("div",{style:w},d)),V.createElement("input",Hf({},{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}},g,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))},t}(L.Component);Os.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:oD,checkedIcon:iD,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const aD=Os.default?Os.default:Os;function sD({checked:e=!1,onChange:t,theme:n,name:r}){return R(aD,{onChange:t,checked:e,uncheckedIcon:!1,checkedIcon:!1,offColor:n==="dark"?"#393939":"#e9e9e9",onColor:n==="dark"?"#306081":"#005caf",offHandleColor:"#fff",onHandleColor:"#fff",handleDiameter:24,height:28,width:44,className:"rs",name:r})}const x$=Jt(e=>({theme:_h(e)}))(sD),lD="_ToggleSwitch_10mtp_1",uD="_slider_10mtp_28",ig={ToggleSwitch:lD,slider:uD};function cD({options:e,value:t,name:n,onChange:r}){const o=L.useMemo(()=>e.map(s=>s.value).indexOf(t),[e,t]),i=L.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=L.useMemo(()=>({width:i(o)+"%",left:o*i(0)+"%"}),[o,i]);return le("div",{className:ig.ToggleSwitch,children:[R("div",{className:ig.slider,style:a}),e.map((s,l)=>{const u=`${n}-${s.label}`;return le("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)})]})}V.memo(cD);const fD=new Q0,dD=new mR({queryCache:fD,defaultOptions:{queries:{suspense:!0}}});var bl="NOT_FOUND";function hD(e){var t;return{get:function(r){return t&&e(t.key,r)?t.value:bl},put:function(r,o){t={key:r,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function pD(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 bl}function o(s,l){r(s)===bl&&(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 vD=function(t,n){return t===n};function mD(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,gS=e=>e.logs.tail,_D=e=>e.logs.searchText,k$=SD(mS,gS,_D,(e,t,n)=>{const r=[];for(let o=t;o>=0;o--)r.push(e[o]);if(e.length===qf)for(let o=qf-1;o>t;o--)r.push(e[o]);return n===""?r:r.filter(o=>o.payload.toLowerCase().indexOf(n)>=0)});function P$(e){return t=>{t("logsUpdateSearchText",n=>{n.logs.searchText=e.toLowerCase()})}}function T$(e){return(t,n)=>{const r=n(),o=mS(r),i=gS(r),a=i>=qf-1?0:i+1;o[a]=e,t("logsAppendLog",s=>{s.logs.tail=a})}}const bD={searchText:"",logs:[],tail:-1},Dh="/proxies";async function ED(e){const{url:t,init:n}=Me(e);return await(await fetch(t+Dh,n)).json()}async function CD(e,t,n){const r={name:n},{url:o,init:i}=Me(e),a=`${o}${Dh}/${t}`;return await fetch(a,{...i,method:"PUT",body:JSON.stringify(r)})}async function RD(e,t,n="https://www.gstatic.com/generate_204"){const{url:r,init:o}=Me(e),i=`timeout=5000&url=${encodeURIComponent(n)}`,a=`${r}${Dh}/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function L$(e,t,n="http://www.gstatic.com/generate_202"){const{url:r,init:o}=Me(e),i=`url=${encodeURIComponent(n)}&timeout=2000`,a=`${r}/group/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function OD(e){const{url:t,init:n}=Me(e),r=await fetch(t+"/providers/proxies",n);return r.status===404?{providers:{}}:await r.json()}async function yS(e,t){const{url:n,init:r}=Me(e),o={...r,method:"PUT"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t),o)}async function xD(e,t){const{url:n,init:r}=Me(e),o={...r,method:"GET"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t)+"/healthcheck",o)}const kD={proxies:{},delay:{},groupNames:[],showModalClosePrevConns:!1},wS=()=>null,PD=["Direct","Fallback","Reject","Pass","Selector","URLTest","LoadBalance","Unknown"],TD=e=>e.proxies.proxies,SS=e=>e.proxies.delay,N$=e=>e.proxies.groupNames,LD=e=>e.proxies.proxyProviders||[],_S=e=>e.proxies.dangleProxyNames,A$=e=>e.proxies.showModalClosePrevConns;function Bo(e){return async(t,n)=>{const[r,o]=await Promise.all([ED(e),OD(e)]),{providers:i,proxies:a}=FD(o.providers),s={...a,...r.proxies},[l,u]=UD(s),f={...SS(n())};for(let p=0;p{p.proxies.proxies=s,p.proxies.groupNames=l,p.proxies.delay=f,p.proxies.proxyProviders=i,p.proxies.dangleProxyNames=d})}}function I$(e,t){return async n=>{try{await yS(e,t)}catch{}n(Bo(e))}}function M$(e,t){return async n=>{for(let r=0;r{await bS(e,t),await n(Bo(e))}}async function ND(e,t,n){const r=await mM(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=>gM(e,s).catch(wS)))}function AD(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 ID(e,t,n,r,o){try{if((await CD(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(Bo(n)),a3(t())){const a=TD(t());CS(n,a,{groupName:r,itemName:o})}}function ES(){return e=>{e("closeModalClosePrevConns",t=>{t.proxies.showModalClosePrevConns=!1})}}function CS(e,t,n){const r=AD(t,n.groupName,n.itemName);ND(e,n.groupName,r[0])}function MD(e){return async(t,n)=>{var a;const r=n(),o=(a=r.proxies.switchProxyCtx)==null?void 0:a.to;if(!o){t(ES());return}const i=r.proxies.proxies;CS(e,i,o),t("closePrevConnsAndTheModal",s=>{s.proxies.showModalClosePrevConns=!1,s.proxies.switchProxyCtx=void 0})}}function $$(e,t,n){return async(r,o)=>{ID(r,o,e,t,n).catch(wS),r("store/proxies#switchProxy",i=>{const a=i.proxies.proxies;a[t]&&a[t].now&&(a[t].now=n)})}}function DD(e,t){return async(n,r)=>{const o=i3(r()),i=await RD(e,t,o);let a="";i.ok===!1&&(a=i.statusText);const{delay:s}=await i.json(),u={...SS(r()),[t]:{error:a,number:s}};n("requestDelayForProxyOnce",c=>{c.proxies.delay=u})}}function RS(e,t){return async n=>{await n(DD(e,t))}}function $D(e,t){return async(n,r)=>{const o=_S(r()),i=t.filter(a=>o.indexOf(a)>-1).map(a=>n(RS(e,a)));await Promise.all(i),await n(Bo(e))}}function U$(e){return async(t,n)=>{const r=_S(n());await Promise.all(r.map(i=>t(RS(e,i))));const o=LD(n());for(const i of o)await bS(e,i.name);await t(Bo(e))}}function UD(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))):PD.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 FD(e){const t=Object.keys(e),n=[],r={};for(let o=0;oOt(()=>import("./Connections-ac8a4ae7.js"),["./Connections-ac8a4ae7.js","./Select-0e7ed95b.js","./Select-07e025ab.css","./useRemainingViewPortHeight-1c35aab5.js","./BaseModal-ab8cd8e0.js","./BaseModal-e9f180d4.css","./index-84fa0cb3.js","./Input-4a412620.js","./objectWithoutPropertiesLoose-4f48578a.js","./Fab-12e96042.js","./Fab-48def6bf.css","./play-c7b83a10.js","./Connections-2b49f1fb.css"],import.meta.url)),qD=xa(()=>Ot(()=>import("./Config-d98df917.js"),["./Config-d98df917.js","./logs-3f8dcdee.js","./Select-0e7ed95b.js","./Select-07e025ab.css","./Input-4a412620.js","./rotate-cw-6c7b4819.js","./Config-7eb3f1bb.css"],import.meta.url)),KD=xa(()=>Ot(()=>import("./Logs-9ddf6a86.js"),["./Logs-9ddf6a86.js","./logs-3f8dcdee.js","./debounce-c1ba2006.js","./useRemainingViewPortHeight-1c35aab5.js","./Fab-12e96042.js","./Fab-48def6bf.css","./play-c7b83a10.js","./Logs-4c263fad.css"],import.meta.url)),QD=xa(()=>Ot(()=>import("./Proxies-b1261fd3.js"),["./Proxies-b1261fd3.js","./BaseModal-ab8cd8e0.js","./BaseModal-e9f180d4.css","./Fab-12e96042.js","./Fab-48def6bf.css","./TextFitler-ae90d90b.js","./rotate-cw-6c7b4819.js","./debounce-c1ba2006.js","./TextFitler-a112af1a.css","./index-84fa0cb3.js","./Select-0e7ed95b.js","./Select-07e025ab.css","./Proxies-06b60f95.css"],import.meta.url)),GD=xa(()=>Ot(()=>import("./Rules-ce05c965.js"),["./Rules-ce05c965.js","./objectWithoutPropertiesLoose-4f48578a.js","./TextFitler-ae90d90b.js","./rotate-cw-6c7b4819.js","./debounce-c1ba2006.js","./TextFitler-a112af1a.css","./index-84fa0cb3.js","./Fab-12e96042.js","./Fab-48def6bf.css","./useRemainingViewPortHeight-1c35aab5.js","./Rules-162ef666.css"],import.meta.url)),XD=[{path:"/overview",element:R(OM,{})},{path:"/connections",element:R(HD,{})},{path:"/configs",element:R(qD,{})},{path:"/logs",element:R(KD,{})},{path:"/",element:R(QD,{})},{path:"/rules",element:R(GD,{})},{path:"/about",element:R($4,{})},!1].filter(Boolean);function YD(){return le(Cr,{children:[R(kI,{}),R(tD,{}),R("div",{className:OS.content,children:R(xS,{fallback:R(PM,{}),children:s1(XD)})})]})}const JD=()=>R(MI,{children:R(gA,{children:R(H3,{initialState:BD,actions:zD,children:R(bR,{client:dD,children:le("div",{className:OS.app,children:[R(NM,{}),R(xS,{fallback:R(aS,{}),children:R(xO,{children:le(bO,{children:[R(vf,{path:"/backend",element:R(Kw,{})}),R(vf,{path:"*",element:R(YD,{})})]})})})]})})})})}),ZD=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 e$(e){if("serviceWorker"in navigator){if(new URL("./",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=".//sw.js";ZD?(t$(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker")})):kS(n,e)})}}function kS(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 t$(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()})}):kS(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const PS=document.getElementById("app"),n$=N0(PS);B0.setAppElement(PS);n$.render(R(JD,{}));e$();console.log("Checkout the repo: https://github.com/MetaCubeX/yacd");console.log("Version:","0.3.7");window.onload=function(){const t=document.getElementById("app");t.addEventListener("touchstart",r$,{passive:!0}),t.addEventListener("touchmove",o$,!1),t.addEventListener("touchend",i$,!1)};const on={touching:!1,trace:[]};function r$(e){if(e.touches.length!==1){on.touching=!1,on.trace=[];return}on.touching=!0,on.trace=[{x:e.touches[0].screenX,y:e.touches[0].screenY}]}function o$(e){on.touching&&on.trace.push({x:e.touches[0].screenX,y:e.touches[0].screenY})}function i$(){if(!on.touching)return;const e=on.trace;on.touching=!1,on.trace=[],a$(e)}function a$(e){const t=["/","/proxies","/rules","/connections","/configs","/logs"],n=e[0],r=e[e.length-1],o=window.location.hash.slice(1),i=t.indexOf(o);console.log(i,o,t.length),i!==3&&(r.x-n.x>200&&i>0?window.location.hash=t[i-1]:r.x-n.x<-200&&it,isStatic:!1,reducedMotion:"never"}),re=p.createContext({});function ti(){return p.useContext(re).visualElement}const mt=p.createContext(null),ae=typeof document<"u",Q=ae?p.useLayoutEffect:p.useEffect,sn=p.createContext({strict:!1});function jo(t,e,n,s){const i=ti(),r=p.useContext(sn),o=p.useContext(mt),a=p.useContext(K).reducedMotion,c=p.useRef();s=s||r.renderer,!c.current&&s&&(c.current=s(t,{visualState:e,parent:i,props:n,presenceId:o?o.id:void 0,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const l=c.current;return Q(()=>{l&&l.render()}),(window.HandoffAppearAnimations?Q:p.useEffect)(()=>{l&&l.animationState&&l.animationState.animateChanges()}),l}function ut(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function _o(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):ut(n)&&(n.current=s))},[e])}function Rt(t){return typeof t=="string"||Array.isArray(t)}function ce(t){return typeof t=="object"&&typeof t.start=="function"}const Uo=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function le(t){return ce(t.animate)||Uo.some(e=>Rt(t[e]))}function ei(t){return Boolean(le(t)||t.variants)}function zo(t,e){if(le(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Rt(n)?n:void 0,animate:Rt(s)?s:void 0}}return t.inherit!==!1?e:{}}function No(t){const{initial:e,animate:n}=zo(t,p.useContext(re));return p.useMemo(()=>({initial:e,animate:n}),[Nn(e),Nn(n)])}function Nn(t){return Array.isArray(t)?t.join(" "):t}const G=t=>({isEnabled:e=>t.some(n=>!!e[n])}),Et={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 De(t){for(const e in t)e==="projectionNodeConstructor"?Et.projectionNodeConstructor=t[e]:Et[e].Component=t[e]}function D(t){const e=p.useRef(null);return e.current===null&&(e.current=t()),e.current}const Vt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let $o=1;function Wo(){return D(()=>{if(Vt.hasEverUpdated)return $o++})}const Lt=p.createContext({});class Go extends nn.Component{getSnapshotBeforeUpdate(){const{visualElement:e,props:n}=this.props;return e&&e.setProps(n),null}componentDidUpdate(){}render(){return this.props.children}}const ni=p.createContext({}),on=Symbol.for("motionComponentSymbol");function si({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:n,useRender:s,useVisualState:i,Component:r}){t&&De(t);function o(c,l){const u={...p.useContext(K),...c,layoutId:Ho(c)},{isStatic:d}=u;let f=null;const h=No(c),m=d?void 0:Wo(),g=i(c,d);if(!d&&ae){h.visualElement=jo(r,g,u,e);const b=p.useContext(sn).strict,v=p.useContext(ni);h.visualElement&&(f=h.visualElement.loadFeatures(u,b,t,m,n||Et.projectionNodeConstructor,v))}return p.createElement(Go,{visualElement:h.visualElement,props:u},f,p.createElement(re.Provider,{value:h},s(r,c,m,_o(g,h.visualElement,l),g,d,h.visualElement)))}const a=p.forwardRef(o);return a[on]=r,a}function Ho({layoutId:t}){const e=p.useContext(Lt).id;return e&&t!==void 0?e+"-"+t:t}function ii(t){function e(s,i={}){return si(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 Ko=["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 rn(t){return typeof t!="string"||t.includes("-")?!1:!!(Ko.indexOf(t)>-1||/[A-Z]/.test(t))}const Xt={};function Xo(t){Object.assign(Xt,t)}const Yt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],X=new Set(Yt);function oi(t,{layout:e,layoutId:n}){return X.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Xt[t]||t==="opacity")}const E=t=>!!(t!=null&&t.getVelocity),Yo={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qo=(t,e)=>Yt.indexOf(t)-Yt.indexOf(e);function Zo({transform:t,transformKeys:e},{enableHardwareAcceleration:n=!0,allowTransformNone:s=!0},i,r){let o="";e.sort(qo);for(const a of e)o+=`${Yo[a]||a}(${t[a]}) `;return n&&!t.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(t,i?"":o):s&&i&&(o="none"),o}function an(t){return t.startsWith("--")}const Jo=(t,e)=>e&&typeof t=="number"?e.transform(t):t,pt=(t,e,n)=>Math.min(Math.max(n,t),e),ct={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Pt={...ct,transform:t=>pt(0,1,t)},Ut={...ct,default:1},Ct=t=>Math.round(t*1e5)/1e5,Dt=/(-)?([\d]*\.?[\d])+/g,Ie=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Qo=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function kt(t){return typeof t=="string"}const jt=t=>({test:e=>kt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Y=jt("deg"),$=jt("%"),V=jt("px"),tr=jt("vh"),er=jt("vw"),$n={...$,parse:t=>$.parse(t)/100,transform:t=>$.transform(t*100)},Wn={...ct,transform:Math.round},ri={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:Ut,scaleX:Ut,scaleY:Ut,scaleZ:Ut,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:Pt,originX:$n,originY:$n,originZ:V,zIndex:Wn,fillOpacity:Pt,strokeOpacity:Pt,numOctaves:Wn};function cn(t,e,n,s){const{style:i,vars:r,transform:o,transformKeys:a,transformOrigin:c}=t;a.length=0;let l=!1,u=!1,d=!0;for(const f in e){const h=e[f];if(an(f)){r[f]=h;continue}const m=ri[f],g=Jo(h,m);if(X.has(f)){if(l=!0,o[f]=g,a.push(f),!d)continue;h!==(m.default||0)&&(d=!1)}else f.startsWith("origin")?(u=!0,c[f]=g):i[f]=g}if(e.transform||(l||s?i.transform=Zo(t,n,d,s):i.transform&&(i.transform="none")),u){const{originX:f="50%",originY:h="50%",originZ:m=0}=c;i.transformOrigin=`${f} ${h} ${m}`}}const ln=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function ai(t,e,n){for(const s in e)!E(e[s])&&!oi(s,n)&&(t[s]=e[s])}function nr({transformTemplate:t},e,n){return p.useMemo(()=>{const s=ln();return cn(s,e,{enableHardwareAcceleration:!n},t),Object.assign({},s.vars,s.style)},[e])}function sr(t,e,n){const s=t.style||{},i={};return ai(i,s,t),Object.assign(i,nr(t,e,n)),t.transformValues?t.transformValues(i):i}function ir(t,e,n){const s={},i=sr(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"}`),s.style=i,s}const or=["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],rr=["whileTap","onTap","onTapStart","onTapCancel"],ar=["onPan","onPanStart","onPanSessionStart","onPanEnd"],cr=["whileInView","onViewportEnter","onViewportLeave","viewport"],lr=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","layoutScroll","layoutRoot","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd",...cr,...rr,...or,...ar]);function qt(t){return lr.has(t)}let ci=t=>!qt(t);function li(t){t&&(ci=e=>e.startsWith("on")?!qt(e):t(e))}try{li(require("@emotion/is-prop-valid").default)}catch{}function ur(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(ci(i)||n===!0&&qt(i)||!e&&!qt(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function Gn(t,e,n){return typeof t=="string"?t:V.transform(e+n*t)}function fr(t,e,n){const s=Gn(e,t.x,t.width),i=Gn(n,t.y,t.height);return`${s} ${i}`}const dr={offset:"stroke-dashoffset",array:"stroke-dasharray"},hr={offset:"strokeDashoffset",array:"strokeDasharray"};function pr(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?dr:hr;t[r.offset]=V.transform(-s);const o=V.transform(e),a=V.transform(n);t[r.array]=`${o} ${a}`}function un(t,{attrX:e,attrY:n,originX:s,originY:i,pathLength:r,pathSpacing:o=1,pathOffset:a=0,...c},l,u,d){if(cn(t,c,l,d),u){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=fr(m,s!==void 0?s:.5,i!==void 0?i:.5)),e!==void 0&&(f.x=e),n!==void 0&&(f.y=n),r!==void 0&&pr(f,r,o,a,!1)}const ui=()=>({...ln(),attrs:{}}),fn=t=>typeof t=="string"&&t.toLowerCase()==="svg";function mr(t,e,n,s){const i=p.useMemo(()=>{const r=ui();return un(r,e,{enableHardwareAcceleration:!1},fn(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};ai(r,t.style,t),i.style={...r,...i.style}}return i}function gr(t=!1){return(n,s,i,r,{latestValues:o},a)=>{const l=(rn(n)?mr:ir)(s,o,a,n),d={...ur(s,typeof n=="string",t),...l,ref:r},{children:f}=s,h=p.useMemo(()=>E(f)?f.get():f,[f]);return i&&(d["data-projection-id"]=i),p.createElement(n,{...d,children:h})}}const It=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function fi(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const di=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 hi(t,e,n,s){fi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(di.has(i)?i:It(i),e.attrs[i])}function dn(t,e){const{style:n}=t,s={};for(const i in n)(E(n[i])||e.style&&E(e.style[i])||oi(i,t))&&(s[i]=n[i]);return s}function pi(t,e){const n=dn(t,e);for(const s in t)if(E(t[s])||E(e[s])){const i=s==="x"||s==="y"?"attr"+s.toUpperCase():s;n[i]=t[s]}return n}function hn(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 Zt=t=>Array.isArray(t),yr=t=>Boolean(t&&typeof t=="object"&&t.mix&&t.toValue),vr=t=>Zt(t)?t[t.length-1]||0:t;function Wt(t){const e=E(t)?t.get():t;return yr(e)?e.toValue():e}function xr({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:br(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const pn=t=>(e,n)=>{const s=p.useContext(re),i=p.useContext(mt),r=()=>xr(t,e,s,i);return n?r():D(r)};function br(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=Wt(r[f]);let{initial:o,animate:a}=t;const c=le(t),l=ei(t);e&&l&&!c&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const d=u?a:o;return d&&typeof d!="boolean"&&!ce(d)&&(Array.isArray(d)?d:[d]).forEach(h=>{const m=hn(t,h);if(!m)return;const{transitionEnd:g,transition:b,...v}=m;for(const T in v){let x=v[T];if(Array.isArray(x)){const y=u?x.length-1:0;x=x[y]}x!==null&&(i[T]=x)}for(const T in g)i[T]=g[T]}),i}const Tr={useVisualState:pn({scrapeMotionValuesFromProps:pi,createRenderState:ui,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}}un(n,s,{enableHardwareAcceleration:!1},fn(e.tagName),t.transformTemplate),hi(e,n)}})},Vr={useVisualState:pn({scrapeMotionValuesFromProps:dn,createRenderState:ln})};function mn(t,{forwardMotionProps:e=!1},n,s,i){return{...rn(t)?Tr:Vr,preloadedFeatures:n,useRender:gr(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 ue(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function Oe(t,e,n,s){p.useEffect(()=>{const i=t.current;if(n&&i)return ue(i,e,n,s)},[t,e,n,s])}function Pr({whileFocus:t,visualElement:e}){const{animationState:n}=e,s=p.useCallback(()=>{n&&n.setActive(S.Focus,!0)},[n]),i=p.useCallback(()=>{n&&n.setActive(S.Focus,!1)},[n]);Oe(e,"focus",t?s:void 0),Oe(e,"blur",t?i:void 0)}const mi=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function gn(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const gi=t=>e=>mi(e)&&t(e,gn(e));function ht(t,e,n,s){return ue(t,e,gi(n),s)}function Jt(t,e,n,s){return Oe(t,e,n&&gi(n),s)}function yi(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Hn=yi("dragHorizontal"),Kn=yi("dragVertical");function vi(t){let e=!1;if(t==="y")e=Kn();else if(t==="x")e=Hn();else{const n=Hn(),s=Kn();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function xi(){const t=vi(!0);return t?(t(),!1):!0}function Xn(t,e,n,s){return(i,r)=>{i.type==="touch"||xi()||(n&&t.animationState&&t.animationState.setActive(S.Hover,e),s&&s(i,r))}}function Cr({onHoverStart:t,onHoverEnd:e,whileHover:n,visualElement:s}){Jt(s,"pointerenter",p.useMemo(()=>t||n?Xn(s,!0,Boolean(n),t):void 0,[t,Boolean(n),s]),{passive:!t}),Jt(s,"pointerleave",p.useMemo(()=>e||n?Xn(s,!1,Boolean(n),e):void 0,[t,Boolean(n),s]),{passive:!e})}const bi=(t,e)=>e?t===e?!0:bi(t,e.parentElement):!1;function yn(t){return p.useEffect(()=>()=>t(),[])}const Sr=(t,e)=>n=>e(t(n)),fe=(...t)=>t.reduce(Sr);function wr({onTap:t,onTapStart:e,onTapCancel:n,whileTap:s,visualElement:i,...r}){const o=t||e||n||s,a=p.useRef(!1),c=p.useRef(null),l={passive:!(e||t||n||r.onPointerDown)};function u(){c.current&&c.current(),c.current=null}function d(){return u(),a.current=!1,i.getProps().whileTap&&i.animationState&&i.animationState.setActive(S.Tap,!1),!xi()}function f(g,b){var v,T,x,y;d()&&(bi(i.current,g.target)?(y=(x=i.getProps()).onTap)===null||y===void 0||y.call(x,g,b):(T=(v=i.getProps()).onTapCancel)===null||T===void 0||T.call(v,g,b))}function h(g,b){var v,T;d()&&((T=(v=i.getProps()).onTapCancel)===null||T===void 0||T.call(v,g,b))}const m=p.useCallback((g,b)=>{var v;if(u(),a.current)return;a.current=!0,c.current=fe(ht(window,"pointerup",f,l),ht(window,"pointercancel",h,l));const T=i.getProps();T.whileTap&&i.animationState&&i.animationState.setActive(S.Tap,!0),(v=T.onTapStart)===null||v===void 0||v.call(T,g,b)},[Boolean(e),i]);Jt(i,"pointerdown",o?m:void 0,l),yn(u)}const Be=new WeakMap,ve=new WeakMap,Ar=t=>{const e=Be.get(t.target);e&&e(t)},Mr=t=>{t.forEach(Ar)};function Rr({root:t,...e}){const n=t||document;ve.has(n)||ve.set(n,{});const s=ve.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(Mr,{root:t,...e})),s[i]}function Er(t,e,n){const s=Rr(e);return Be.set(t,n),s.observe(t),()=>{Be.delete(t),s.unobserve(t)}}function Lr({visualElement:t,whileInView:e,onViewportEnter:n,onViewportLeave:s,viewport:i={}}){const r=p.useRef({hasEnteredView:!1,isInView:!1});let o=Boolean(e||n||s);i.once&&r.current.hasEnteredView&&(o=!1),(typeof IntersectionObserver>"u"?Or:Ir)(o,r.current,t,i)}const Dr={some:0,all:1};function Ir(t,e,n,{root:s,margin:i,amount:r="some",once:o}){p.useEffect(()=>{if(!t||!n.current)return;const a={root:s==null?void 0:s.current,rootMargin:i,threshold:typeof r=="number"?r:Dr[r]},c=l=>{const{isIntersecting:u}=l;if(e.isInView===u||(e.isInView=u,o&&!u&&e.hasEnteredView))return;u&&(e.hasEnteredView=!0),n.animationState&&n.animationState.setActive(S.InView,u);const d=n.getProps(),f=u?d.onViewportEnter:d.onViewportLeave;f&&f(l)};return Er(n.current,a,c)},[t,s,i,r])}function Or(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),Ti={inView:J(Lr),tap:J(wr),focus:J(Pr),hover:J(Cr)};function Vi(){const t=p.useContext(mt);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 Uu(){return Br(p.useContext(mt))}function Br(t){return t===null?!0:t.isPresent}function Pi(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),kr=t=>/^0[^.\s]+$/.test(t),H={delta:0,timestamp:0},Ci=1/60*1e3,jr=typeof performance<"u"?()=>performance.now():()=>Date.now(),Si=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(jr()),Ci);function _r(t){let e=[],n=[],s=0,i=!1,r=!1;const o=new WeakSet,a={schedule:(c,l=!1,u=!1)=>{const d=u&&i,f=d?e:n;return l&&o.add(c),f.indexOf(c)===-1&&(f.push(c),d&&i&&(s=e.length)),c},cancel:c=>{const l=n.indexOf(c);l!==-1&&n.splice(l,1),o.delete(c)},process:c=>{if(i){r=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,s=e.length,s)for(let l=0;l(t[e]=_r(()=>Ot=!0),t),{}),R=_t.reduce((t,e)=>{const n=de[e];return t[e]=(s,i=!1,r=!1)=>(Ot||Nr(),n.schedule(s,i,r)),t},{}),W=_t.reduce((t,e)=>(t[e]=de[e].cancel,t),{}),xe=_t.reduce((t,e)=>(t[e]=()=>de[e].process(H),t),{}),zr=t=>de[t].process(H),wi=t=>{Ot=!1,H.delta=Fe?Ci:Math.max(Math.min(t-H.timestamp,Ur),1),H.timestamp=t,ke=!0,_t.forEach(zr),ke=!1,Ot&&(Fe=!1,Si(wi))},Nr=()=>{Ot=!0,Fe=!0,ke||Si(wi)};function he(t,e){t.indexOf(e)===-1&&t.push(e)}function Bt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function $r([...t],e,n){const s=e<0?t.length+e:e;if(s>=0&&sBt(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 r=0;r!isNaN(parseFloat(t));class Ai{constructor(e,n={}){this.version="8.5.3",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:r,timestamp:o}=H;this.lastUpdated!==o&&(this.timeDelta=r,this.lastUpdated=o,R.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=()=>R.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=Wr(this.current),this.owner=n.owner}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new vn);const s=this.events[e].add(n);return e==="change"?()=>{s(),R.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?xn(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 Ai(t,e)}const bn=(t,e)=>n=>Boolean(kt(n)&&Qo.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),Mi=(t,e,n)=>s=>{if(!kt(s))return s;const[i,r,o,a]=s.match(Dt);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Gr=t=>pt(0,255,t),be={...ct,transform:t=>Math.round(Gr(t))},ot={test:bn("rgb","red"),parse:Mi("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+be.transform(t)+", "+be.transform(e)+", "+be.transform(n)+", "+Ct(Pt.transform(s))+")"};function Hr(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 je={test:bn("#"),parse:Hr,transform:ot.transform},ft={test:bn("hsl","hue"),parse:Mi("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+$.transform(Ct(e))+", "+$.transform(Ct(n))+", "+Ct(Pt.transform(s))+")"},O={test:t=>ot.test(t)||je.test(t)||ft.test(t),parse:t=>ot.test(t)?ot.parse(t):ft.test(t)?ft.parse(t):je.parse(t),transform:t=>kt(t)?t:t.hasOwnProperty("red")?ot.transform(t):ft.transform(t)},Ri="${c}",Ei="${n}";function Kr(t){var e,n;return isNaN(t)&&kt(t)&&(((e=t.match(Dt))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Ie))===null||n===void 0?void 0:n.length)||0)>0}function Qt(t){typeof t=="number"&&(t=`${t}`);const e=[];let n=0,s=0;const i=t.match(Ie);i&&(n=i.length,t=t.replace(Ie,Ri),e.push(...i.map(O.parse)));const r=t.match(Dt);return r&&(s=r.length,t=t.replace(Dt,Ei),e.push(...r.map(ct.parse))),{values:e,numColors:n,numNumbers:s,tokenised:t}}function Li(t){return Qt(t).values}function Di(t){const{values:e,numColors:n,tokenised:s}=Qt(t),i=e.length;return r=>{let o=s;for(let a=0;atypeof t=="number"?0:t;function Yr(t){const e=Li(t);return Di(t)(e.map(Xr))}const tt={test:Kr,parse:Li,createTransformer:Di,getAnimatableNone:Yr},qr=new Set(["brightness","contrast","saturate","opacity"]);function Zr(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Dt)||[];if(!s)return t;const i=n.replace(s,"");let r=qr.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Jr=/([a-z-]*)\(.*?\)/g,_e={...tt,getAnimatableNone:t=>{const e=t.match(Jr);return e?e.map(Zr).join(" "):t}},Qr={...ri,color:O,backgroundColor:O,outlineColor:O,fill:O,stroke:O,borderColor:O,borderTopColor:O,borderRightColor:O,borderBottomColor:O,borderLeftColor:O,filter:_e,WebkitFilter:_e},Tn=t=>Qr[t];function Vn(t,e){var n;let s=Tn(t);return s!==_e&&(s=tt),(n=s.getAnimatableNone)===null||n===void 0?void 0:n.call(s,e)}const Ii=t=>e=>e.test(t),ta={test:t=>t==="auto",parse:t=>t},Oi=[ct,V,$,Y,er,tr,ta],vt=t=>Oi.find(Ii(t)),ea=[...Oi,O,tt],na=t=>ea.find(Ii(t));function sa(t){const e={};return t.values.forEach((n,s)=>e[s]=n.get()),e}function ia(t){const e={};return t.values.forEach((n,s)=>e[s]=n.getVelocity()),e}function pe(t,e,n){const s=t.getProps();return hn(s,e,n!==void 0?n:s.custom,sa(t),ia(t))}function oa(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,z(n))}function Pn(t,e){const n=pe(t,e);let{transitionEnd:s={},transition:i={},...r}=n?t.makeTargetAnimatable(n,!1):{};r={...r,...s};for(const o in r){const a=vr(r[o]);oa(t,o,a)}}function Ue(t,e){[...e].reverse().forEach(s=>{var i;const r=t.getVariant(s);r&&Pn(t,r),(i=t.variantChildren)===null||i===void 0||i.forEach(o=>{Ue(o,e)})})}function ra(t,e){if(Array.isArray(e))return Ue(t,e);if(typeof e=="string")return Ue(t,[e]);Pn(t,e)}function Bi(t,e,n){var s,i;const r=Object.keys(e).filter(a=>!t.hasValue(a)),o=r.length;if(o)for(let a=0;at*1e3,ze={current:!1},Cn=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Sn=t=>e=>1-t(1-e),wn=t=>t*t,la=Sn(wn),An=Cn(wn),w=(t,e,n)=>-n*t+n*e+t;function Te(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 ua({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;i=Te(c,a,t+1/3),r=Te(c,a,t),o=Te(c,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}const Ve=(t,e,n)=>{const s=t*t;return Math.sqrt(Math.max(0,n*(e*e-s)+s))},fa=[je,ot,ft],da=t=>fa.find(e=>e.test(t));function Yn(t){const e=da(t);let n=e.parse(t);return e===ft&&(n=ua(n)),n}const _i=(t,e)=>{const n=Yn(t),s=Yn(e),i={...n};return r=>(i.red=Ve(n.red,s.red,r),i.green=Ve(n.green,s.green,r),i.blue=Ve(n.blue,s.blue,r),i.alpha=w(n.alpha,s.alpha,r),ot.transform(i))};function Ui(t,e){return typeof t=="number"?n=>w(t,e,n):O.test(t)?_i(t,e):Ni(t,e)}const zi=(t,e)=>{const n=[...t],s=n.length,i=t.map((r,o)=>Ui(r,e[o]));return r=>{for(let o=0;o{const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=Ui(t[i],e[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}},Ni=(t,e)=>{const n=tt.createTransformer(e),s=Qt(t),i=Qt(e);return s.numColors===i.numColors&&s.numNumbers>=i.numNumbers?fe(zi(s.values,i.values),n):o=>`${o>0?e:t}`},ne=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},qn=(t,e)=>n=>w(t,e,n);function pa(t){return typeof t=="number"?qn:typeof t=="string"?O.test(t)?_i:Ni:Array.isArray(t)?zi:typeof t=="object"?ha:qn}function ma(t,e,n){const s=[],i=n||pa(t[0]),r=t.length-1;for(let o=0;ot[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=ma(e,s,i),a=o.length,c=l=>{let u=0;if(a>1)for(;uc(pt(t[0],t[r-1],l)):c}const me=t=>t,$i=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,ga=1e-7,ya=12;function va(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=$i(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>ga&&++ava(r,0,1,t,n);return r=>r===0||r===1?r:$i(i(r),e,s)}const Gi=t=>1-Math.sin(Math.acos(t)),Rn=Sn(Gi),xa=Cn(Rn),Hi=Wi(.33,1.53,.69,.99),En=Sn(Hi),ba=Cn(En),Ta=t=>(t*=2)<1?.5*En(t):.5*(2-Math.pow(2,-10*(t-1))),Va={linear:me,easeIn:wn,easeInOut:An,easeOut:la,circIn:Gi,circInOut:xa,circOut:Rn,backIn:En,backInOut:ba,backOut:Hi,anticipate:Ta},Zn=t=>{if(Array.isArray(t)){ee(t.length===4);const[e,n,s,i]=t;return Wi(e,n,s,i)}else if(typeof t=="string")return Va[t];return t},Pa=t=>Array.isArray(t)&&typeof t[0]!="number";function Ca(t,e){return t.map(()=>e||An).splice(0,t.length-1)}function Sa(t){const e=t.length;return t.map((n,s)=>s!==0?s/(e-1):0)}function wa(t,e){return t.map(n=>n*e)}function Ne({keyframes:t,ease:e=An,times:n,duration:s=300}){t=[...t];const i=Pa(e)?e.map(Zn):Zn(e),r={done:!1,value:t[0]},o=wa(n&&n.length===t.length?n:Sa(t),s);function a(){return Mn(o,t,{ease:Array.isArray(i)?i:Ca(t,i)})}let c=a();return{next:l=>(r.value=c(l),r.done=l>=s,r),flipTarget:()=>{t.reverse(),c=a()}}}const Pe=.001,Aa=.01,Jn=10,Ma=.05,Ra=1;function Ea({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let i,r;ji(t<=Jn*1e3);let o=1-e;o=pt(Ma,Ra,o),t=pt(Aa,Jn,t/1e3),o<1?(i=l=>{const u=l*o,d=u*t,f=u-n,h=$e(l,o),m=Math.exp(-d);return Pe-f/h*m},r=l=>{const d=l*o*t,f=d*n+n,h=Math.pow(o,2)*Math.pow(l,2)*t,m=Math.exp(-d),g=$e(Math.pow(l,2),o);return(-i(l)+Pe>0?-1:1)*((f-h)*m)/g}):(i=l=>{const u=Math.exp(-l*t),d=(l-n)*t+1;return-Pe+u*d},r=l=>{const u=Math.exp(-l*t),d=(n-l)*(t*t);return u*d});const a=5/t,c=Da(i,r,a);if(t=t*1e3,isNaN(c))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(c,2)*s;return{stiffness:l,damping:o*2*Math.sqrt(s*l),duration:t}}}const La=12;function Da(t,e,n){let s=n;for(let i=1;it[n]!==void 0)}function Ba(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Qn(t,Oa)&&Qn(t,Ia)){const n=Ea(t);e={...e,...n,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}const Fa=5;function Ki({keyframes:t,restDelta:e,restSpeed:n,...s}){let i=t[0],r=t[t.length-1];const o={done:!1,value:i},{stiffness:a,damping:c,mass:l,velocity:u,duration:d,isResolvedFromDuration:f}=Ba(s);let h=ka,m=u?-(u/1e3):0;const g=c/(2*Math.sqrt(a*l));function b(){const v=r-i,T=Math.sqrt(a/l)/1e3,x=Math.abs(v)<5;if(n||(n=x?.01:2),e||(e=x?.005:.5),g<1){const y=$e(T,g);h=P=>{const C=Math.exp(-g*T*P);return r-C*((m+g*T*v)/y*Math.sin(y*P)+v*Math.cos(y*P))}}else if(g===1)h=y=>r-Math.exp(-T*y)*(v+(m+T*v)*y);else{const y=T*Math.sqrt(g*g-1);h=P=>{const C=Math.exp(-g*T*P),L=Math.min(y*P,300);return r-C*((m+g*T*v)*Math.sinh(L)+y*v*Math.cosh(L))/y}}}return b(),{next:v=>{const T=h(v);if(f)o.done=v>=d;else{let x=m;if(v!==0)if(g<1){const C=Math.max(0,v-Fa);x=xn(T-h(C),v-C)}else x=0;const y=Math.abs(x)<=n,P=Math.abs(r-T)<=e;o.done=y&&P}return o.value=o.done?r:T,o},flipTarget:()=>{m=-m,[i,r]=[r,i],b()}}}Ki.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";const ka=t=>0;function ja({keyframes:t=[0],velocity:e=0,power:n=.8,timeConstant:s=350,restDelta:i=.5,modifyTarget:r}){const o=t[0],a={done:!1,value:o};let c=n*e;const l=o+c,u=r===void 0?l:r(l);return u!==l&&(c=u-o),{next:d=>{const f=-c*Math.exp(-d/s);return a.done=!(f>i||f<-i),a.value=a.done?u:u+f,a},flipTarget:()=>{}}}const _a={decay:ja,keyframes:Ne,tween:Ne,spring:Ki};function Xi(t,e,n=0){return t-e-n}function Ua(t,e=0,n=0,s=!0){return s?Xi(e+-t,e,n):e-(t-e)+n}function za(t,e,n,s){return s?t>=e+n:t<=-n}const Na=t=>{const e=({delta:n})=>t(n);return{start:()=>R.update(e,!0),stop:()=>W.update(e)}};function Ft({duration:t,driver:e=Na,elapsed:n=0,repeat:s=0,repeatType:i="loop",repeatDelay:r=0,keyframes:o,autoplay:a=!0,onPlay:c,onStop:l,onComplete:u,onRepeat:d,onUpdate:f,type:h="keyframes",...m}){var g,b;const v=n;let T,x=0,y=t,P=!1,C=!0,L;const F=_a[o.length>2?"keyframes":h]||Ne,k=o[0],I=o[o.length-1];let j={done:!1,value:k};!((b=(g=F).needsInterpolation)===null||b===void 0)&&b.call(g,k,I)&&(L=Mn([0,100],[k,I],{clamp:!1}),o=[0,100]);const gt=F({...m,duration:t,keyframes:o});function ge(){x++,i==="reverse"?(C=x%2===0,n=Ua(n,y,r,C)):(n=Xi(n,y,r),i==="mirror"&>.flipTarget()),P=!1,d&&d()}function yt(){T&&T.stop(),u&&u()}function A(_){C||(_=-_),n+=_,P||(j=gt.next(Math.max(0,n)),L&&(j.value=L(j.value)),P=C?j.done:n<=0),f&&f(j.value),P&&(x===0&&(y=y!==void 0?y:n),x{l&&l(),T&&T.stop()},set currentTime(_){n=v,A(_)},sample:_=>{n=v;const zn=t&&typeof t=="number"?Math.max(t*.5,50):50;let ye=0;for(A(0);ye<=_;){const ko=_-ye;A(Math.min(ko,zn)),ye+=zn}return j}}}function $a(t){return!t||Array.isArray(t)||typeof t=="string"&&Yi[t]}const Tt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Yi={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Tt([0,.65,.55,1]),circOut:Tt([.55,0,1,.45]),backIn:Tt([.31,.01,.66,-.59]),backOut:Tt([.33,1.53,.69,.99])};function Wa(t){if(t)return Array.isArray(t)?Tt(t):Yi[t]}function We(t,e,n,{delay:s=0,duration:i,repeat:r=0,repeatType:o="loop",ease:a,times:c}={}){return t.animate({[e]:n,offset:c},{delay:s,duration:i,easing:Wa(a),fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}const ts={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ce={},qi={};for(const t in ts)qi[t]=()=>(Ce[t]===void 0&&(Ce[t]=ts[t]()),Ce[t]);function Ga(t,{repeat:e,repeatType:n="loop"}){const s=e&&n!=="loop"&&e%2===1?0:t.length-1;return t[s]}const Ha=new Set(["opacity"]),zt=10;function Ka(t,e,{onUpdate:n,onComplete:s,...i}){if(!(qi.waapi()&&Ha.has(e)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0))return!1;let{keyframes:o,duration:a=300,elapsed:c=0,ease:l}=i;if(i.type==="spring"||!$a(i.ease)){if(i.repeat===1/0)return;const d=Ft({...i,elapsed:0});let f={done:!1,value:o[0]};const h=[];let m=0;for(;!f.done&&m<2e4;)f=d.sample(m),h.push(f.value),m+=zt;o=h,a=m-zt,l="linear"}const u=We(t.owner.current,e,o,{...i,delay:-c,duration:a,ease:l});return u.onfinish=()=>{t.set(Ga(o,i)),s&&s()},{get currentTime(){return u.currentTime||0},set currentTime(d){u.currentTime=d},stop:()=>{const{currentTime:d}=u;if(d){const f=Ft({...i,autoplay:!1});t.setWithVelocity(f.sample(d-zt).value,f.sample(d).value,zt)}R.update(()=>u.cancel())}}}function Zi(t,e){const n=performance.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(W.read(s),t(r-e))};return R.read(s,!0),()=>W.read(s)}function Xa({keyframes:t,elapsed:e,onUpdate:n,onComplete:s}){const i=()=>{n&&n(t[t.length-1]),s&&s()};return e?{stop:Zi(i,-e)}:i()}function Ya({keyframes:t,velocity:e=0,min:n,max:s,power:i=.8,timeConstant:r=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:d,onComplete:f,onStop:h}){const m=t[0];let g;function b(y){return n!==void 0&&ys}function v(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 x(y){T({type:"spring",stiffness:o,damping:a,restDelta:c,...y})}if(b(m))x({velocity:e,keyframes:[m,v(m)]});else{let y=i*e+m;typeof l<"u"&&(y=l(y));const P=v(y),C=P===n?-1:1;let L,F;const k=I=>{L=F,F=I,e=xn(I-L,H.delta),(C===1&&I>P||C===-1&&Ig==null?void 0:g.stop()}}const nt=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),Nt=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Se=()=>({type:"keyframes",ease:"linear",duration:.3}),qa={type:"keyframes",duration:.8},es={x:nt,y:nt,z:nt,rotate:nt,rotateX:nt,rotateY:nt,rotateZ:nt,scaleX:Nt,scaleY:Nt,scale:Nt,opacity:Se,backgroundColor:Se,color:Se,default:Nt},Za=(t,{keyframes:e})=>e.length>2?qa:(es[t]||es.default)(e[1]),Ge=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&tt.test(e)&&!e.startsWith("url("));function Ja({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:c,elapsed:l,...u}){return!!Object.keys(u).length}function ns(t){return t===0||typeof t=="string"&&parseFloat(t)===0&&t.indexOf(" ")===-1}function ss(t){return typeof t=="number"?0:Vn("",t)}function Ji(t,e){return t[e]||t.default||t}function Qa(t,e,n,s){const i=Ge(e,n);let r=s.from!==void 0?s.from:t.get();return r==="none"&&i&&typeof n=="string"?r=Vn(e,n):ns(r)&&typeof n=="string"?r=ss(n):!Array.isArray(n)&&ns(n)&&typeof r=="string"&&(n=ss(r)),Array.isArray(n)?(n[0]===null&&(n[0]=r),n):[r,n]}const Ln=(t,e,n,s={})=>i=>{const r=Ji(s,t)||{},o=r.delay||s.delay||0;let{elapsed:a=0}=s;a=a-Gt(o);const c=Qa(e,t,n,r),l=c[0],u=c[c.length-1],d=Ge(t,l),f=Ge(t,u);let h={keyframes:c,velocity:e.getVelocity(),...r,elapsed:a,onUpdate:b=>{e.set(b),r.onUpdate&&r.onUpdate(b)},onComplete:()=>{i(),r.onComplete&&r.onComplete()}};if(!d||!f||ze.current||r.type===!1)return Xa(h);if(r.type==="inertia")return Ya(h);Ja(r)||(h={...h,...Za(t,h)}),h.duration&&(h.duration=Gt(h.duration)),h.repeatDelay&&(h.repeatDelay=Gt(h.repeatDelay));const m=e.owner,g=m&&m.current;if(m&&g instanceof HTMLElement&&!(m!=null&&m.getProps().onUpdate)){const b=Ka(e,t,h);if(b)return b}return Ft(h)};function Dn(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>He(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=He(t,e,n);else{const i=typeof e=="function"?pe(t,e,n.custom):e;s=Qi(t,i,n)}return s.then(()=>t.notify("AnimationComplete",e))}function He(t,e,n={}){var s;const i=pe(t,e,n.custom);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Qi(t,i,n):()=>Promise.resolve(),a=!((s=t.variantChildren)===null||s===void 0)&&s.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=r;return tc(t,e,u+l,d,f,n)}:()=>Promise.resolve(),{when:c}=r;if(c){const[l,u]=c==="beforeChildren"?[o,a]:[a,o];return l().then(u)}else return Promise.all([o(),a(n.delay)])}function Qi(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...c}=t.makeTargetAnimatable(e);const l=t.getValue("willChange");s&&(o=s);const u=[],d=i&&((r=t.animationState)===null||r===void 0?void 0:r.getState()[i]);for(const f in c){const h=t.getValue(f),m=c[f];if(!h||m===void 0||d&&sc(d,f))continue;const g={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!h.hasAnimated){const v=t.getProps()[ca];v&&(g.elapsed=window.HandoffAppearAnimations(v,f,h,R))}let b=h.start(Ln(f,h,m,t.shouldReduceMotion&&X.has(f)?{type:!1}:g));te(l)&&(l.add(f),b=b.then(()=>l.remove(f))),u.push(b)}return Promise.all(u).then(()=>{a&&Pn(t,a)})}function tc(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,c=i===1?(l=0)=>l*s:(l=0)=>a-l*s;return Array.from(t.variantChildren).sort(nc).forEach((l,u)=>{l.notify("AnimationStart",e),o.push(He(l,e,{...r,delay:n+c(u)}).then(()=>l.notify("AnimationComplete",e)))}),Promise.all(o)}function ec(t){t.values.forEach(e=>e.stop())}function nc(t,e){return t.sortNodePosition(e)}function sc({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}const In=[S.Animate,S.InView,S.Focus,S.Hover,S.Tap,S.Drag,S.Exit],ic=[...In].reverse(),oc=In.length;function rc(t){return e=>Promise.all(e.map(({animation:n,options:s})=>Dn(t,n,s)))}function ac(t){let e=rc(t);const n=lc();let s=!0;const i=(c,l)=>{const u=pe(t,l);if(u){const{transition:d,transitionEnd:f,...h}=u;c={...c,...h,...f}}return c};function r(c){e=c(t)}function o(c,l){const u=t.getProps(),d=t.getVariantContext(!0)||{},f=[],h=new Set;let m={},g=1/0;for(let v=0;vg&&P;const I=Array.isArray(y)?y:[y];let j=I.reduce(i,{});C===!1&&(j={});const{prevResolvedValues:gt={}}=x,ge={...gt,...j},yt=A=>{k=!0,h.delete(A),x.needsAnimating[A]=!0};for(const A in ge){const et=j[A],_=gt[A];m.hasOwnProperty(A)||(et!==_?Zt(et)&&Zt(_)?!Pi(et,_)||F?yt(A):x.protectedKeys[A]=!0:et!==void 0?yt(A):h.add(A):et!==void 0&&h.has(A)?yt(A):x.protectedKeys[A]=!0)}x.prevProp=y,x.prevResolvedValues=j,x.isActive&&(m={...m,...j}),s&&t.blockInitialAnimation&&(k=!1),k&&!L&&f.push(...I.map(A=>({animation:A,options:{type:T,...c}})))}if(h.size){const v={};h.forEach(T=>{const x=t.getBaseTarget(T);x!==void 0&&(v[T]=x)}),f.push({animation:v})}let b=Boolean(f.length);return s&&u.initial===!1&&!t.manuallyAnimateOnMount&&(b=!1),s=!1,b?e(f):Promise.resolve()}function a(c,l,u){var d;if(n[c].isActive===l)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,l)}),n[c].isActive=l;const f=o(u,c);for(const h in n)n[h].protectedKeys={};return f}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n}}function cc(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Pi(e,t):!1}function st(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lc(){return{[S.Animate]:st(!0),[S.InView]:st(),[S.Hover]:st(),[S.Tap]:st(),[S.Drag]:st(),[S.Focus]:st(),[S.Exit]:st()}}const to={animation:J(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=ac(t)),ce(e)&&p.useEffect(()=>e.subscribe(t),[e])}),exit:J(t=>{const{custom:e,visualElement:n}=t,[s,i]=Vi(),r=p.useContext(mt);p.useEffect(()=>{n.isPresent=s;const o=n.animationState&&n.animationState.setActive(S.Exit,!s,{custom:r&&r.custom||e});o&&!s&&o.then(i)},[s])})},is=(t,e)=>Math.abs(t-e);function uc(t,e){const n=is(t.x,e.x),s=is(t.y,e.y);return Math.sqrt(n**2+s**2)}class eo{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 l=Ae(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,d=uc(l.offset,{x:0,y:0})>=3;if(!u&&!d)return;const{point:f}=l,{timestamp:h}=H;this.history.push({...f,timestamp:h});const{onStart:m,onMove:g}=this.handlers;u||(m&&m(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,l)},this.handlePointerMove=(l,u)=>{this.lastMoveEvent=l,this.lastMoveEventInfo=we(u,this.transformPagePoint),R.update(this.updatePoint,!0)},this.handlePointerUp=(l,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:d,onSessionEnd:f}=this.handlers,h=Ae(l.type==="pointercancel"?this.lastMoveEventInfo:we(u,this.transformPagePoint),this.history);this.startEvent&&d&&d(l,h),f&&f(l,h)},!mi(e))return;this.handlers=n,this.transformPagePoint=s;const i=gn(e),r=we(i,this.transformPagePoint),{point:o}=r,{timestamp:a}=H;this.history=[{...o,timestamp:a}];const{onSessionStart:c}=n;c&&c(e,Ae(r,this.history)),this.removeListeners=fe(ht(window,"pointermove",this.handlePointerMove),ht(window,"pointerup",this.handlePointerUp),ht(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),W.update(this.updatePoint)}}function we(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 Ae({point:t},e){return{point:t,delta:os(t,no(e)),offset:os(t,fc(e)),velocity:dc(e,.1)}}function fc(t){return t[0]}function no(t){return t[t.length-1]}function dc(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=no(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>Gt(e)));)n--;if(!s)return{x:0,y:0};const r=(i.timestamp-s.timestamp)/1e3;if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function B(t){return t.max-t.min}function Ke(t,e=0,n=.01){return Math.abs(t-e)<=n}function rs(t,e,n,s=.5){t.origin=s,t.originPoint=w(e.min,e.max,t.origin),t.scale=B(n)/B(e),(Ke(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=w(n.min,n.max,t.origin)-t.originPoint,(Ke(t.translate)||isNaN(t.translate))&&(t.translate=0)}function St(t,e,n,s){rs(t.x,e.x,n.x,s==null?void 0:s.originX),rs(t.y,e.y,n.y,s==null?void 0:s.originY)}function as(t,e,n){t.min=n.min+e.min,t.max=t.min+B(e)}function hc(t,e,n){as(t.x,e.x,n.x),as(t.y,e.y,n.y)}function cs(t,e,n){t.min=e.min-n.min,t.max=t.min+B(e)}function wt(t,e,n){cs(t.x,e.x,n.x),cs(t.y,e.y,n.y)}function pc(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?w(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 mc(t,{top:e,left:n,bottom:s,right:i}){return{x:ls(t.x,n,i),y:ls(t.y,e,s)}}function us(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ne(e.min,e.max-s,t.min):s>i&&(n=ne(t.min,t.max-i,e.min)),pt(0,1,n)}function vc(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 Xe=.35;function xc(t=Xe){return t===!1?t=0:t===!0&&(t=Xe),{x:fs(t,"left","right"),y:fs(t,"top","bottom")}}function fs(t,e,n){return{min:ds(t,e),max:ds(t,n)}}function ds(t,e){return typeof t=="number"?t:t[e]||0}const hs=()=>({translate:0,scale:1,origin:0,originPoint:0}),At=()=>({x:hs(),y:hs()}),ps=()=>({min:0,max:0}),M=()=>({x:ps(),y:ps()});function N(t){return[t("x"),t("y")]}function so({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function bc({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Tc(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 Me(t){return t===void 0||t===1}function Ye({scale:t,scaleX:e,scaleY:n}){return!Me(t)||!Me(e)||!Me(n)}function it(t){return Ye(t)||io(t)||t.z||t.rotate||t.rotateX||t.rotateY}function io(t){return ms(t.x)||ms(t.y)}function ms(t){return t&&t!=="0%"}function se(t,e,n){const s=t-n,i=e*s;return n+i}function gs(t,e,n,s,i){return i!==void 0&&(t=se(t,i,s)),se(t,n,s)+e}function qe(t,e=0,n=1,s,i){t.min=gs(t.min,e,n,s,i),t.max=gs(t.max,e,n,s,i)}function oo(t,{x:e,y:n}){qe(t.x,e.translate,e.scale,e.originPoint),qe(t.y,n.translate,n.scale,n.originPoint)}function Vc(t,e,n,s=!1){var i,r;const o=n.length;if(!o)return;e.x=e.y=1;let a,c;for(let l=0;l1.0000000000001||t<.999999999999?t:1}function Z(t,e){t.min=t.min+e,t.max=t.max+e}function vs(t,e,[n,s,i]){const r=e[i]!==void 0?e[i]:.5,o=w(t.min,t.max,r);qe(t,e[n],e[s],o,e.scale)}const Pc=["x","scaleX","originX"],Cc=["y","scaleY","originY"];function dt(t,e){vs(t.x,e,Pc),vs(t.y,e,Cc)}function ro(t,e){return so(Tc(t.getBoundingClientRect(),e))}function Sc(t,e,n){const s=ro(t,n),{scroll:i}=e;return i&&(Z(s.x,i.offset.x),Z(s.y,i.offset.y)),s}const wc=new WeakMap;class Ac{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=M(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){if(this.visualElement.isPresent===!1)return;const s=a=>{this.stopAnimation(),n&&this.snapToCursor(gn(a,"page").point)},i=(a,c)=>{var l;const{drag:u,dragPropagation:d,onDragStart:f}=this.getProps();u&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=vi(u),!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($.test(b)){const v=(g=(m=this.visualElement.projection)===null||m===void 0?void 0:m.layout)===null||g===void 0?void 0:g.layoutBox[h];v&&(b=B(v)*(parseFloat(b)/100))}this.originPoint[h]=b}),f==null||f(a,c),(l=this.visualElement.animationState)===null||l===void 0||l.setActive(S.Drag,!0))},r=(a,c)=>{const{dragPropagation:l,dragDirectionLock:u,onDirectionLock:d,onDrag:f}=this.getProps();if(!l&&!this.openGlobalLock)return;const{offset:h}=c;if(u&&this.currentDirection===null){this.currentDirection=Mc(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)},o=(a,c)=>this.stop(a,c);this.panSession=new eo(e,{onSessionStart:s,onStart:i,onMove:r,onSessionEnd:o},{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:r}=this.getProps();r==null||r(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 r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=pc(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),{layout:s}=this.visualElement.projection||{},i=this.constraints;e&&ut(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=mc(s.layoutBox,e):this.constraints=!1,this.elastic=xc(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&N(r=>{this.getAxisMotionValue(r)&&(this.constraints[r]=vc(s.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ut(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Sc(s,i.root,this.visualElement.getTransformPagePoint());let o=gc(i.layout.layoutBox,r);if(n){const a=n(bc(o));this.hasMutatedConstraints=!!a,a&&(o=so(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},l=N(u=>{if(!$t(u,n,this.currentDirection))return;let d=(c==null?void 0:c[u])||{};o&&(d={min:0,max:0});const f=i?200:1e6,h=i?40:1e7,m={type:"inertia",velocity:s?e[u]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...r,...d};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return s.start(Ln(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,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-w(o,a,.5))}})}scalePositionWithinConstraints(){var e;if(!this.visualElement.current)return;const{drag:n,dragConstraints:s}=this.getProps(),{projection:i}=this.visualElement;if(!ut(s)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};N(a=>{const c=this.getAxisMotionValue(a);if(c){const l=c.get();r[a]=yc({min:l,max:l},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"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:l,max:u}=this.constraints[a];c.set(w(l,u,r[a]))})}addListeners(){var e;if(!this.visualElement.current)return;wc.set(this.visualElement,this);const n=this.visualElement.current,s=ht(n,"pointerdown",l=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(l)}),i=()=>{const{dragConstraints:l}=this.getProps();ut(l)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&((e=r.root)===null||e===void 0||e.updateScroll(),r.updateLayout()),i();const a=ue(window,"resize",()=>this.scalePositionWithinConstraints()),c=r.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(N(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=l[d].translate,f.set(f.get()+l[d].translate))}),this.visualElement.render())});return()=>{a(),s(),o(),c==null||c()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Xe,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function $t(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Mc(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}function Rc(t){const{dragControls:e,visualElement:n}=t,s=D(()=>new Ac(n));p.useEffect(()=>e&&e.subscribe(s),[s,e]),p.useEffect(()=>s.addListeners(),[s])}function Ec({onPan:t,onPanStart:e,onPanEnd:n,onPanSessionStart:s,visualElement:i}){const r=t||e||n||s,o=p.useRef(null),{transformPagePoint:a}=p.useContext(K),c={onSessionStart:s,onStart:e,onMove:t,onEnd:(u,d)=>{o.current=null,n&&n(u,d)}};p.useEffect(()=>{o.current!==null&&o.current.updateHandlers(c)});function l(u){o.current=new eo(u,c,{transformPagePoint:a})}Jt(i,"pointerdown",r&&l),yn(()=>o.current&&o.current.end())}const ao={pan:J(Ec),drag:J(Rc)};function Ze(t){return typeof t=="string"&&t.startsWith("var(--")}const co=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Lc(t){const e=co.exec(t);if(!e)return[,];const[,n,s]=e;return[n,s]}function Je(t,e,n=1){const[s,i]=Lc(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);return r?r.trim():Ze(i)?Je(i,e,n+1):i}function Dc(t,{...e},n){const s=t.current;if(!(s instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.values.forEach(i=>{const r=i.get();if(!Ze(r))return;const o=Je(r,s);o&&i.set(o)});for(const i in e){const r=e[i];if(!Ze(r))continue;const o=Je(r,s);o&&(e[i]=o,n&&n[i]===void 0&&(n[i]=r))}return{target:e,transitionEnd:n}}const Ic=new Set(["width","height","top","left","right","bottom","x","y"]),lo=t=>Ic.has(t),Oc=t=>Object.keys(t).some(lo),xs=t=>t===ct||t===V;var bs;(function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"})(bs||(bs={}));const Ts=(t,e)=>parseFloat(t.split(", ")[e]),Vs=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/);if(i)return Ts(i[1],e);{const r=s.match(/^matrix\((.+)\)$/);return r?Ts(r[1],t):0}},Bc=new Set(["x","y","z"]),Fc=Yt.filter(t=>!Bc.has(t));function kc(t){const e=[];return Fc.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 Ps={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:Vs(4,13),y:Vs(5,14)},jc=(t,e,n)=>{const s=e.measureViewportBox(),i=e.current,r=getComputedStyle(i),{display:o}=r,a={};o==="none"&&e.setStaticValue("display",t.display||"block"),n.forEach(l=>{a[l]=Ps[l](s,r)}),e.render();const c=e.measureViewportBox();return n.forEach(l=>{const u=e.getValue(l);u&&u.jump(a[l]),t[l]=Ps[l](c,r)}),t},_c=(t,e,n={},s={})=>{e={...e},s={...s};const i=Object.keys(e).filter(lo);let r=[],o=!1;const a=[];if(i.forEach(c=>{const l=t.getValue(c);if(!t.hasValue(c))return;let u=n[c],d=vt(u);const f=e[c];let h;if(Zt(f)){const m=f.length,g=f[0]===null?1:0;u=f[g],d=vt(u);for(let b=g;b=0?window.pageYOffset:null,l=jc(e,t,a);return r.length&&r.forEach(([u,d])=>{t.getValue(u).set(d)}),t.render(),ae&&c!==null&&window.scrollTo({top:c}),{target:l,transitionEnd:s}}else return{target:e,transitionEnd:s}};function Uc(t,e,n,s){return Oc(e)?_c(t,e,n,s):{target:e,transitionEnd:s}}const zc=(t,e,n,s)=>{const i=Dc(t,e,s);return e=i.target,s=i.transitionEnd,Uc(t,e,n,s)},ie={current:null},On={current:!1};function uo(){if(On.current=!0,!!ae)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ie.current=t.matches;t.addListener(e),e()}else ie.current=!1}function Nc(t,e,n){const{willChange:s}=e;for(const i in e){const r=e[i],o=n[i];if(E(r))t.addValue(i,r),te(s)&&s.add(i);else if(E(o))t.addValue(i,z(r,{owner:t})),te(s)&&s.remove(i);else if(o!==r)if(t.hasValue(i)){const a=t.getValue(i);!a.hasAnimated&&a.set(r)}else{const a=t.getStaticValue(i);t.addValue(i,z(a!==void 0?a:r,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const fo=Object.keys(Et),$c=fo.length,Cs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ho{constructor({parent:e,props:n,reducedMotionConfig:s,visualState:i},r={}){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=()=>R.render(this.render,!1,!0);const{latestValues:o,renderState:a}=i;this.latestValues=o,this.baseTarget={...o},this.initialValues=n.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=r,this.isControllingVariants=le(n),this.isVariantNode=ei(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...l}=this.scrapeMotionValuesFromProps(n,{});for(const u in l){const d=l[u];o[u]!==void 0&&E(d)&&(d.set(o[u],!1),te(c)&&c.add(u))}}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)),On.current||uo(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ie.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(),W.update(this.notifyUpdate),W.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",o=>{this.latestValues[e]=o,this.props.onUpdate&&R.update(this.notifyUpdate,!1,!0),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),r()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},s,i,r,o,a){const c=[];for(let l=0;l<$c;l++){const u=fo[l],{isEnabled:d,Component:f}=Et[u];d(n)&&f&&c.push(p.createElement(f,{key:u,...n,visualElement:this}))}if(!this.projection&&o){this.projection=new o(r,this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:u,drag:d,dragConstraints:f,layoutScroll:h,layoutRoot:m}=n;this.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:Boolean(d)||f&&ut(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof u=="string"?u:"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):M()}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=hn(this.props,s))===null||n===void 0?void 0:n[e]:void 0;if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!E(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new vn),this.events[e].add(n)}notify(e,...n){var s;(s=this.events[e])===null||s===void 0||s.notify(...n)}}const po=["initial",...In],Wc=po.length;class mo extends ho{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},r){let o=Fi(s,e||{},this);if(i&&(n&&(n=i(n)),s&&(s=i(s)),o&&(o=i(o))),r){Bi(this,s,o);const a=zc(this,s,o,n);n=a.transitionEnd,s=a.target}return{transition:e,transitionEnd:n,...s}}}function Gc(t){return window.getComputedStyle(t)}class Hc extends mo{readValueFromInstance(e,n){if(X.has(n)){const s=Tn(n);return s&&s.default||0}else{const s=Gc(e),i=(an(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return ro(e,n)}build(e,n,s,i){cn(e,n,s,i.transformTemplate)}scrapeMotionValuesFromProps(e,n){return dn(e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;E(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,s,i){fi(e,n,s,i)}}class Kc extends mo{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){var s;return X.has(n)?((s=Tn(n))===null||s===void 0?void 0:s.default)||0:(n=di.has(n)?n:It(n),e.getAttribute(n))}measureInstanceViewportBox(){return M()}scrapeMotionValuesFromProps(e,n){return pi(e,n)}build(e,n,s,i){un(e,n,s,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,s,i){hi(e,n,s,i)}mount(e){this.isSVGTag=fn(e.tagName),super.mount(e)}}const Bn=(t,e)=>rn(t)?new Kc(e,{enableHardwareAcceleration:!1}):new Hc(e,{enableHardwareAcceleration:!0});function Ss(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const xt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(V.test(t))t=parseFloat(t);else return t;const n=Ss(t,e.target.x),s=Ss(t,e.target.y);return`${n}% ${s}%`}},ws="_$css",Xc={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=t.includes("var("),r=[];i&&(t=t.replace(co,h=>(r.push(h),ws)));const o=tt.parse(t);if(o.length>5)return s;const a=tt.createTransformer(t),c=typeof o[0]!="number"?1:0,l=n.x.scale*e.x,u=n.y.scale*e.y;o[0+c]/=l,o[1+c]/=u;const d=w(l,u,.5);typeof o[2+c]=="number"&&(o[2+c]/=d),typeof o[3+c]=="number"&&(o[3+c]/=d);let f=a(o);if(i){let h=0;f=f.replace(ws,()=>{const m=r[h];return h++,m})}return f}};class Yc extends nn.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;Xo(Zc),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Vt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||R.postRender(()=>{var a;!((a=o.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 qc(t){const[e,n]=Vi(),s=p.useContext(Lt);return nn.createElement(Yc,{...t,layoutGroup:s,switchLayoutGroup:p.useContext(ni),isPresent:e,safeToRemove:n})}const Zc={borderRadius:{...xt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xt,borderTopRightRadius:xt,borderBottomLeftRadius:xt,borderBottomRightRadius:xt,boxShadow:Xc},go={measureLayout:qc};function Jc(t,e,n={}){const s=E(t)?t:z(t);return s.start(Ln("",s,e,n)),{stop:()=>s.stop(),isAnimating:()=>s.isAnimating()}}const yo=["TopLeft","TopRight","BottomLeft","BottomRight"],Qc=yo.length,As=t=>typeof t=="string"?parseFloat(t):t,Ms=t=>typeof t=="number"||V.test(t);function tl(t,e,n,s,i,r){i?(t.opacity=w(0,n.opacity!==void 0?n.opacity:1,el(s)),t.opacityExit=w(e.opacity!==void 0?e.opacity:1,0,nl(s))):r&&(t.opacity=w(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ose?1:n(ne(t,e,s))}function Es(t,e){t.min=e.min,t.max=e.max}function U(t,e){Es(t.x,e.x),Es(t.y,e.y)}function Ls(t,e,n,s,i){return t-=e,t=se(t,1/n,s),i!==void 0&&(t=se(t,1/i,s)),t}function sl(t,e=0,n=1,s=.5,i,r=t,o=t){if($.test(e)&&(e=parseFloat(e),e=w(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=w(r.min,r.max,s);t===r&&(a-=e),t.min=Ls(t.min,e,n,a,i),t.max=Ls(t.max,e,n,a,i)}function Ds(t,e,[n,s,i],r,o){sl(t,e[n],e[s],e[i],e.scale,r,o)}const il=["x","scaleX","originX"],ol=["y","scaleY","originY"];function Is(t,e,n,s){Ds(t.x,e,il,n==null?void 0:n.x,s==null?void 0:s.x),Ds(t.y,e,ol,n==null?void 0:n.y,s==null?void 0:s.y)}function Os(t){return t.translate===0&&t.scale===1}function xo(t){return Os(t.x)&&Os(t.y)}function bo(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 Bs(t){return B(t.x)/B(t.y)}class rl{constructor(){this.members=[]}add(e){he(this.members,e),e.scheduleRender()}remove(e){if(Bt(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 r=this.members[i];if(r.isPresent!==!1){s=r;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:r}=e.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var n,s,i,r,o;(s=(n=e.options).onExitComplete)===null||s===void 0||s.call(n),(o=(i=e.resumingFrom)===null||i===void 0?void 0:(r=i.options).onExitComplete)===null||o===void 0||o.call(r)})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Fs(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y;if((i||r)&&(s=`translate3d(${i}px, ${r}px, 0) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:c,rotateX:l,rotateY:u}=n;c&&(s+=`rotate(${c}deg) `),l&&(s+=`rotateX(${l}deg) `),u&&(s+=`rotateY(${u}deg) `)}const o=t.x.scale*e.x,a=t.y.scale*e.y;return(o!==1||a!==1)&&(s+=`scale(${o}, ${a})`),s||"none"}const al=(t,e)=>t.depth-e.depth;class cl{constructor(){this.children=[],this.isDirty=!1}add(e){he(this.children,e),this.isDirty=!0}remove(e){Bt(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(al),this.isDirty=!1,this.children.forEach(e)}}const ks=["","X","Y","Z"],js=1e3;let ll=0;function To({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o,a={},c=e==null?void 0:e()){this.id=ll++,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(dl),this.nodes.forEach(ml),this.nodes.forEach(gl)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=o,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,o&&this.root.registerPotentialNode(o,this);for(let l=0;lthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Zi(h,250),Vt.hasAnimatedSinceResize&&(Vt.hasAnimatedSinceResize=!1,this.nodes.forEach(Us))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h,hasRelativeTargetChanged:m,layout:g})=>{var b,v,T,x,y;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const P=(v=(b=this.options.transition)!==null&&b!==void 0?b:d.getDefaultTransition())!==null&&v!==void 0?v:Tl,{onLayoutAnimationStart:C,onLayoutAnimationComplete:L}=d.getProps(),F=!this.targetLayout||!bo(this.targetLayout,g)||m,k=!h&&m;if(this.options.layoutRoot||!((T=this.resumeFrom)===null||T===void 0)&&T.instance||k||h&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,k);const I={...Ji(P,"layout"),onPlay:C,onComplete:L};(d.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else!h&&this.animationProgress===0&&Us(this),this.isLead()&&((y=(x=this.options).onExitComplete)===null||y===void 0||y.call(x));this.targetLayout=g})}unmount(){var o,a;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(o=this.getStack())===null||o===void 0||o.remove(this),(a=this.parent)===null||a===void 0||a.children.delete(this),this.instance=void 0,W.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var o;return this.isAnimationBlocked||((o=this.parent)===null||o===void 0?void 0:o.isTreeAnimationBlocked())||!1}startUpdate(){var o;this.isUpdateBlocked()||(this.isUpdating=!0,(o=this.nodes)===null||o===void 0||o.forEach(yl),this.animationId++)}getTransformTemplate(){var o;return(o=this.options.visualElement)===null||o===void 0?void 0:o.getProps().transformTemplate}willUpdate(o=!0){var a,c,l;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 o;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 x;const y=T/1e3;zs(h.x,o.x,y),zs(h.y,o.y,y),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(!((x=this.relativeParent)===null||x===void 0)&&x.layout)&&(wt(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),xl(this.relativeTarget,this.relativeTargetOrigin,m,y)),g&&(this.animationValues=f,tl(f,d,this.latestValues,y,v,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){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&&(W.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.update(()=>{Vt.hasAnimatedSinceResize=!0,this.currentAnimation=Jc(0,js,{...o,onUpdate:l=>{var u;this.mixTargetDelta(l),(u=o.onUpdate)===null||u===void 0||u.call(o,l)},onComplete:()=>{var l;(l=o.onComplete)===null||l===void 0||l.call(o),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var o;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(o=this.getStack())===null||o===void 0||o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var o;this.currentAnimation&&((o=this.mixTargetDelta)===null||o===void 0||o.call(this,js),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:l,latestValues:u}=o;if(!(!a||!c||!l)){if(this!==o&&this.layout&&l&&Vo(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||M();const d=B(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const f=B(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}U(a,c),dt(a,u),St(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){var c,l,u;this.sharedNodes.has(o)||this.sharedNodes.set(o,new rl),this.sharedNodes.get(o).add(a),a.promote({transition:(c=a.options.initialPromotionConfig)===null||c===void 0?void 0:c.transition,preserveFollowOpacity:(u=(l=a.options.initialPromotionConfig)===null||l===void 0?void 0:l.shouldPreserveFollowOpacity)===null||u===void 0?void 0:u.call(l,a)})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(a=!0),!a)return;const l={};for(let u=0;u{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(_s),this.root.sharedNodes.clear()}}}function ul(t){t.updateLayout()}function fl(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:r,measuredBox:o}=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=r[h].min,m.max=m.min+g}):Vo(a,i.layoutBox,r)&&N(h=>{const m=c?i.measuredBox[h]:i.layoutBox[h],g=B(r[h]);m.max=m.min+g});const l=At();St(l,r,i.layoutBox);const u=At();c?St(u,t.applyTransform(o,!0),i.measuredBox):St(u,r,i.layoutBox);const d=!xo(l);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=M();wt(b,i.layoutBox,m.layoutBox);const v=M();wt(v,r,g.layoutBox),bo(b,v)||(f=!0),h.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=b,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:i,delta:u,layoutDelta:l,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 dl(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function hl(t){t.clearSnapshot()}function _s(t){t.clearMeasurements()}function pl(t){const{visualElement:e}=t.options;e!=null&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Us(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function ml(t){t.resolveTargetDelta()}function gl(t){t.calcProjection()}function yl(t){t.resetRotation()}function vl(t){t.removeLeadSnapshot()}function zs(t,e,n){t.translate=w(e.translate,0,n),t.scale=w(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ns(t,e,n,s){t.min=w(e.min,n.min,s),t.max=w(e.max,n.max,s)}function xl(t,e,n,s){Ns(t.x,e.x,n.x,s),Ns(t.y,e.y,n.y,s)}function bl(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Tl={duration:.45,ease:[.4,0,.1,1]};function Vl(t,e){let n=t.root;for(let r=t.path.length-1;r>=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];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 Pl(t){$s(t.x),$s(t.y)}function Vo(t,e,n){return t==="position"||t==="preserve-aspect"&&!Ke(Bs(e),Bs(n),.2)}const Cl=To({attachResizeListener:(t,e)=>ue(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rt={current:void 0},Fn=To({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rt.current){const t=new Cl(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),rt.current=t}return rt.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>Boolean(window.getComputedStyle(t).position==="fixed")}),Po={...to,...Ti,...ao,...go},Co=ii((t,e)=>mn(t,e,Po,Bn,Fn));function Nu(t){return si(mn(t,{forwardMotionProps:!1},Po,Bn,Fn))}const $u=ii(mn);function So(){const t=p.useRef(!1);return Q(()=>(t.current=!0,()=>{t.current=!1}),[]),t}function kn(){const t=So(),[e,n]=p.useState(0),s=p.useCallback(()=>{t.current&&n(e+1)},[e]);return[p.useCallback(()=>R.postRender(s),[s]),e]}class Sl 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 wl({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:r,height:o,top:a,left:c}=i.current;if(e||!s.current||!r||!o)return;s.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` + [data-motion-pop-id="${n}"] { + position: absolute !important; + width: ${r}px !important; + height: ${o}px !important; + top: ${a}px !important; + left: ${c}px !important; + } + `),()=>{document.head.removeChild(l)}},[e]),p.createElement(Sl,{isPresent:e,childRef:s,sizeRef:i},p.cloneElement(t,{ref:s}))}const Re=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:r,mode:o})=>{const a=D(Al),c=p.useId(),l=p.useMemo(()=>({id:c,initial:e,isPresent:n,custom:i,onExitComplete:u=>{a.set(u,!0);for(const d of a.values())if(!d)return;s&&s()},register:u=>(a.set(u,!1),()=>a.delete(u))}),r?void 0:[n]);return p.useMemo(()=>{a.forEach((u,d)=>a.set(d,!1))},[n]),p.useEffect(()=>{!n&&!a.size&&s&&s()},[n]),o==="popLayout"&&(t=p.createElement(wl,{isPresent:n},t)),p.createElement(mt.Provider,{value:l},t)};function Al(){return new Map}const lt=t=>t.key||"";function Ml(t,e){t.forEach(n=>{const s=lt(n);e.set(s,n)})}function Rl(t){const e=[];return p.Children.forEach(t,n=>{p.isValidElement(n)&&e.push(n)}),e}const Wu=({children:t,custom:e,initial:n=!0,onExitComplete:s,exitBeforeEnter:i,presenceAffectsLayout:r=!0,mode:o="sync"})=>{i&&(o="wait");let[a]=kn();const c=p.useContext(Lt).forceRender;c&&(a=c);const l=So(),u=Rl(t);let d=u;const f=new Set,h=p.useRef(d),m=p.useRef(new Map).current,g=p.useRef(!0);if(Q(()=>{g.current=!1,Ml(u,m),h.current=d}),yn(()=>{g.current=!0,m.clear(),f.clear()}),g.current)return p.createElement(p.Fragment,null,d.map(x=>p.createElement(Re,{key:lt(x),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:r,mode:o},x)));d=[...d];const b=h.current.map(lt),v=u.map(lt),T=b.length;for(let x=0;x{if(v.indexOf(x)!==-1)return;const y=m.get(x);if(!y)return;const P=b.indexOf(x),C=()=>{m.delete(x),f.delete(x);const L=h.current.findIndex(F=>F.key===x);if(h.current.splice(L,1),!f.size){if(h.current=u,l.current===!1)return;a(),s&&s()}};d.splice(P,0,p.createElement(Re,{key:lt(y),isPresent:!1,onExitComplete:C,custom:e,presenceAffectsLayout:r,mode:o},y))}),d=d.map(x=>{const y=x.key;return f.has(y)?x:p.createElement(Re,{key:lt(x),isPresent:!0,presenceAffectsLayout:r,mode:o},x)}),p.createElement(p.Fragment,null,f.size?d:d.map(x=>p.cloneElement(x)))},El=p.createContext(null),Ll=t=>!t.isLayoutDirty&&t.willUpdate(!1);function Ws(){const t=new Set,e=new WeakMap,n=()=>t.forEach(Ll);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 wo=t=>t===!0,Dl=t=>wo(t===!0)||t==="id",Il=({children:t,id:e,inheritId:n,inherit:s=!0})=>{n!==void 0&&(s=n);const i=p.useContext(Lt),r=p.useContext(El),[o,a]=kn(),c=p.useRef(null),l=i.id||r;c.current===null&&(Dl(s)&&l&&(e=e?l+"-"+e:l),c.current={id:e,group:wo(s)&&i.group||Ws()});const u=p.useMemo(()=>({...c.current,forceRender:o}),[a]);return p.createElement(Lt.Provider,{value:u},t)};let Ol=0;const Gu=({children:t})=>(p.useEffect(()=>{},[]),p.createElement(Il,{id:D(()=>`asl-${Ol++}`)},t));function Hu({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 Ku({children:t,features:e,strict:n=!1}){const[,s]=p.useState(!Ee(e)),i=p.useRef(void 0);if(!Ee(e)){const{renderer:r,...o}=e;i.current=r,De(o)}return p.useEffect(()=>{Ee(e)&&e().then(({renderer:r,...o})=>{De(o),i.current=r,s(!0)})},[]),p.createElement(sn.Provider,{value:{renderer:i.current,strict:n}},t)}function Ee(t){return typeof t=="function"}const Ao=p.createContext(null);function Bl(t,e,n,s){if(!s)return t;const i=t.findIndex(u=>u.value===e);if(i===-1)return t;const r=s>0?1:-1,o=t[i+r];if(!o)return t;const a=t[i],c=o.layout,l=w(c.min,c.max,.5);return r===1&&a.layout.max+n>l||r===-1&&a.layout.min+nCo(e)),c=[],l=p.useRef(!1),u={axis:n,registerItem:(d,f)=>{f&&c.findIndex(h=>d===h.value)===-1&&(c.push({value:d,layout:f[n]}),c.sort(_l))},updateOrder:(d,f,h)=>{if(l.current)return;const m=Bl(c,d,f,h);c!==m&&(l.current=!0,s(m.map(jl).filter(g=>i.indexOf(g)!==-1)))}};return p.useEffect(()=>{l.current=!1}),p.createElement(a,{...r,ref:o},p.createElement(Ao.Provider,{value:u},t))}const kl=p.forwardRef(Fl);function jl(t){return t.value}function _l(t,e){return t.layout.min-e.layout.min}function at(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 Ul=t=>typeof t=="object"&&t.mix,zl=t=>Ul(t)?t.mix:void 0;function Nl(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],i=t[1+n],r=t[2+n],o=t[3+n],a=Mn(i,r,{mixer:zl(r[0]),...o});return e?a(s):a}function Mo(t,e){const n=at(e()),s=()=>n.set(e());return s(),Q(()=>{const i=()=>R.update(s,!1,!0),r=t.map(o=>o.on("change",i));return()=>{r.forEach(o=>o()),W.update(s)}}),n}function Qe(t,e,n,s){const i=typeof e=="function"?e:Nl(e,n,s);return Array.isArray(t)?Gs(t,i):Gs([t],([r])=>i(r))}function Gs(t,e){const n=D(()=>[]);return Mo(t,()=>{n.length=0;const s=t.length;for(let i=0;iCo(s)),l=p.useContext(Ao),u={x:Hs(e.x),y:Hs(e.y)},d=Qe([u.x,u.y],([b,v])=>b||v?1:"unset"),f=p.useRef(null),{axis:h,registerItem:m,updateOrder:g}=l;return p.useEffect(()=>{m(n,f.current)},[l]),p.createElement(c,{drag:h,...o,dragSnapToOrigin:!0,style:{...e,x:u.x,y:u.y,zIndex:d},layout:r,onDrag:(b,v)=>{const{velocity:T}=v;T[h]&&g(n,u[h].get(),T[h]),i&&i(b,v)},onLayoutMeasure:b=>{f.current=b},ref:a},t)}const Wl=p.forwardRef($l),Xu={Group:kl,Item:Wl},Gl={renderer:Bn,...to,...Ti},Yu={...Gl,...ao,...go,projectionNodeConstructor:Fn};function qu(t,...e){const n=t.length;function s(){let i="";for(let r=0;r{s.current&&s.current.stop()};return p.useInsertionEffect(()=>i.attach((o,a)=>n?a(o):(r(),s.current=Ft({keyframes:[i.get(),o],velocity:i.getVelocity(),type:"spring",...e,onUpdate:a}),i.get()),r),[JSON.stringify(e)]),Q(()=>{if(E(t))return t.on("change",o=>i.set(parseFloat(o)))},[i]),i}function Ju(t){const e=at(t.getVelocity());return p.useEffect(()=>t.on("velocityChange",n=>{e.set(n)}),[t]),e}const Hl=(t,e,n)=>Math.min(Math.max(n,t),e),jn=t=>typeof t=="number",Kl=t=>Array.isArray(t)&&!jn(t[0]),Xl=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t};function Yl(t,e){return Kl(t)?t[Xl(0,t.length,e)]:t}const Ro=(t,e,n)=>-n*t+n*e+t,Eo=t=>t,_n=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function Lo(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=_n(0,e,s);t.push(Ro(n,1,i))}}function Do(t){const e=[0];return Lo(e,t-1),e}function ql(t,e=Do(t.length),n=Eo){const s=t.length,i=s-e.length;return i>0&&Lo(e,i),r=>{let o=0;for(;otypeof t=="function",Io=t=>typeof t=="string";function Zl(t,e){return e?t*(1e3/e):0}function Oo(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 Jl(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 r=Oo(t),o=new WeakMap,a=l=>{l.forEach(u=>{const d=o.get(u.target);if(u.isIntersecting!==Boolean(d))if(u.isIntersecting){const f=e(u);Un(f)?o.set(u.target,f):c.unobserve(u.target)}else d&&(d(u),o.delete(u.target))})},c=new IntersectionObserver(a,{root:n,rootMargin:s,threshold:typeof i=="number"?i:Ql[i]});return r.forEach(l=>c.observe(l)),()=>c.disconnect()}const Ht=new WeakMap;let q;function eu(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 nu({target:t,contentRect:e,borderBoxSize:n}){var s;(s=Ht.get(t))===null||s===void 0||s.forEach(i=>{i({target:t,contentSize:e,get size(){return eu(t,n)}})})}function su(t){t.forEach(nu)}function iu(){typeof ResizeObserver>"u"||(q=new ResizeObserver(su))}function ou(t,e){q||iu();const n=Oo(t);return n.forEach(s=>{let i=Ht.get(s);i||(i=new Set,Ht.set(s,i)),i.add(e),q==null||q.observe(s)}),()=>{n.forEach(s=>{const i=Ht.get(s);i==null||i.delete(e),i!=null&&i.size||q==null||q.unobserve(s)})}}const Kt=new Set;let Mt;function ru(){Mt=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};Kt.forEach(n=>n(e))},window.addEventListener("resize",Mt)}function au(t){return Kt.add(t),Mt||ru(),()=>{Kt.delete(t),!Kt.size&&Mt&&(Mt=void 0)}}function cu(t,e){return Un(t)?au(t):ou(t,e)}const lu=50,Ks=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),uu=()=>({time:0,x:Ks(),y:Ks()}),fu={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Xs(t,e,n,s){const i=n[e],{length:r,position:o}=fu[e],a=i.current,c=n.time;i.current=t["scroll"+o],i.scrollLength=t["scroll"+r]-t["client"+r],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=_n(0,i.scrollLength,i.current);const l=s-c;i.velocity=l>lu?0:Zl(i.current-a,l)}function du(t,e,n){Xs(t,"x",e,n),Xs(t,"y",e,n),e.time=n}function hu(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:r}=s.getBBox();for(n.x+=r,n.y+=i;s&&s.tagName!=="svg";)s=s.parentNode}return n}const pu={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},tn={start:0,center:.5,end:1};function Ys(t,e,n=0){let s=0;if(tn[t]!==void 0&&(t=tn[t]),Io(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 jn(t)&&(s=e*t),n+s}const mu=[0,0];function gu(t,e,n,s){let i=Array.isArray(t)?t:mu,r=0,o=0;return jn(t)?i=[t,t]:Io(t)&&(t=t.trim(),t.includes(" ")?i=t.split(" "):i=[t,tn[t]?t:"0"]),r=Ys(i[0],n,s),o=Ys(i[1],e),r-o}const yu={x:0,y:0};function vu(t,e,n){let{offset:s=pu.All}=n;const{target:i=t,axis:r="y"}=n,o=r==="y"?"height":"width",a=i!==t?hu(i,t):yu,c=i===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:i.clientWidth,height:i.clientHeight},l={width:t.clientWidth,height:t.clientHeight};e[r].offset.length=0;let u=!e[r].interpolate;const d=s.length;for(let f=0;fxu(t,s.target,n),update:r=>{du(t,n,r),(s.offset||s.target)&&vu(t,n,s)},notify:Un(e)?()=>e(n):Tu(e,n[i])}}function Tu(t,e){return t.pause(),t.forEachNative((n,{easing:s})=>{var i,r;if(n.updateDuration)s||(n.easing=Eo),n.updateDuration(1);else{const o={duration:1e3};s||(o.easing="linear"),(r=(i=n.effect)===null||i===void 0?void 0:i.updateTiming)===null||r===void 0||r.call(i,o)}}),()=>{t.currentTime=e.progress}}const bt=new WeakMap,qs=new WeakMap,Le=new WeakMap,Zs=t=>t===document.documentElement?window:t;function Vu(t,e={}){var{container:n=document.documentElement}=e,s=Jl(e,["container"]);let i=Le.get(n);i||(i=new Set,Le.set(n,i));const r=uu(),o=bu(n,t,r,s);if(i.add(o),!bt.has(n)){const l=()=>{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()};bt.set(n,l);const u=Zs(n);window.addEventListener("resize",l,{passive:!0}),n!==document.documentElement&&qs.set(n,cu(n,l)),u.addEventListener("scroll",l,{passive:!0})}const a=bt.get(n),c=requestAnimationFrame(a);return()=>{var l;typeof t!="function"&&t.stop(),cancelAnimationFrame(c);const u=Le.get(n);if(!u||(u.delete(o),u.size))return;const d=bt.get(n);bt.delete(n),d&&(Zs(n).removeEventListener("scroll",d),(l=qs.get(n))===null||l===void 0||l(),window.removeEventListener("resize",d))}}function Js(t,e){ji(Boolean(!e||e.current))}const Pu=()=>({scrollX:z(0),scrollY:z(0),scrollXProgress:z(0),scrollYProgress:z(0)});function Bo({container:t,target:e,layoutEffect:n=!0,...s}={}){const i=D(Pu);return(n?Q:p.useEffect)(()=>(Js("target",e),Js("container",t),Vu(({x:o,y:a})=>{i.scrollX.set(o.current),i.scrollXProgress.set(o.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 Qu(t){return Bo({container:t})}function tf(){return Bo()}function Cu(t){const e=p.useRef(0),{isStatic:n}=p.useContext(K);p.useEffect(()=>{if(n)return;const s=({timestamp:i,delta:r})=>{e.current||(e.current=i),t(i-e.current,r)};return R.update(s,!0),()=>W.update(s)},[t])}function ef(){const t=at(0);return Cu(e=>t.set(e)),t}class Su extends Ai{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")&&!an(e)&&e!=="willChange"&&(n=It(e)),n&&(he(this.members,n),this.update())}remove(e){X.has(e)?(this.transforms.delete(e),this.transforms.size||Bt(this.members,"transform")):Bt(this.members,It(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function nf(){return D(()=>new Su("auto"))}function sf(t,e,n){p.useInsertionEffect(()=>t.on(e,n),[t,e,n])}function wu(){!On.current&&uo();const[t]=p.useState(ie.current);return t}function of(){const t=wu(),{reducedMotion:e}=p.useContext(K);return e==="never"?!1:e==="always"?!0:t}function Au(){const t=new Set,e={subscribe(n){return t.add(n),()=>void t.delete(n)},start(n,s){const i=[];return t.forEach(r=>{i.push(Dn(r,n,{transitionOverride:s}))}),Promise.all(i)},set(n){return t.forEach(s=>{ra(s,n)})},stop(){t.forEach(n=>{ec(n)})},mount(){return()=>{e.stop()}}};return e}function Mu(){const t=D(Au);return Q(t.mount,[]),t}const rf=Mu,Ru=(t,e,n)=>{const s=e-t;return((n-t)%s+s)%s+t};function af(...t){const e=p.useRef(0),[n,s]=p.useState(t[e.current]),i=p.useCallback(r=>{e.current=typeof r!="number"?Ru(0,t.length,e.current+1):r,s(t[e.current])},[t.length,...t]);return[n,i]}function cf(t,{root:e,margin:n,amount:s,once:i=!1}={}){const[r,o]=p.useState(!1);return p.useEffect(()=>{if(!t.current||i&&r)return;const a=()=>(o(!0),i?void 0:()=>o(!1)),c={root:e&&e.current||void 0,margin:n,amount:s==="some"?"any":s};return tu(t.current,a,c)},[e,t,n,i]),r}class Eu{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 Lu=()=>new Eu;function lf(){return D(Lu)}function Du(t){return t!==null&&typeof t=="object"&&on in t}function uf(t){if(Du(t))return t[on]}function Iu(){return Ou}function Ou(t){rt.current&&(rt.current.isUpdating=!1,rt.current.blockUpdate(),t&&t())}function ff(){const[t,e]=kn(),n=Iu();return p.useEffect(()=>{R.postRender(()=>R.postRender(()=>ze.current=!1))},[e]),s=>{n(()=>{ze.current=!0,t(),s()})}}function df(){return p.useCallback(()=>{const e=rt.current;e&&e.resetTree()},[])}const Fo=(t,e)=>`${t}: ${e}`,oe=new Map;function Bu(t,e,n,s){const i=Fo(t,X.has(e)?"transform":e),r=oe.get(i);if(!r)return 0;const{animation:o,startTime:a}=r,c=()=>{oe.delete(i);try{o.cancel()}catch{}};if(a!==null){const l=performance.now();return s.update(()=>{n.animation&&(n.animation.currentTime=performance.now()-l)}),s.render(c),l-a||0}else return c(),0}function hf(t,e,n,s,i){const r=t.dataset[ki];if(!r)return;window.HandoffAppearAnimations=Bu;const o=Fo(r,e),a=We(t,e,[n[0],n[0]],{duration:1e4,ease:"linear"});oe.set(o,{animation:a,startTime:null});const c=()=>{a.cancel();const l=We(t,e,n,s);document.timeline&&(l.startTime=document.timeline.currentTime),oe.set(o,{animation:l,startTime:performance.now()}),i&&i(l)};a.ready?a.ready.then(c).catch(me):c()}const en=()=>({});class Fu extends ho{build(){}measureInstanceViewportBox(){return M()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return en()}getBaseTargetFromProps(){}readValueFromInstance(e,n,s){return s.initialState[n]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...s}){const i=Fi(s,e||{},this);return Bi(this,s,i),{transition:e,transitionEnd:n,...s}}}const ku=pn({scrapeMotionValuesFromProps:en,createRenderState:en});function pf(t){const[e,n]=p.useState(t),s=ku({},!1),i=D(()=>new Fu({props:{},visualState:s},{initialState:t}));p.useEffect(()=>(i.mount({}),()=>i.unmount()),[i]),p.useEffect(()=>{i.setProps({onUpdate:o=>{n({...o})}})},[n,i]);const r=D(()=>o=>Dn(i,o));return[e,r]}const ju=1e5,Qs=t=>t>.001?1/t:ju;function mf(t){let e=at(1),n=at(1);const s=ti();t?(e=t.scaleX||e,n=t.scaleY||n):s&&(e=s.getValue("scaleX",1),n=s.getValue("scaleY",1));const i=Qe(e,Qs),r=Qe(n,Qs);return{scaleX:i,scaleY:r}}export{Wu as AnimatePresence,Gu as AnimateSharedLayout,S as AnimationType,El as DeprecatedLayoutGroupContext,Eu as DragControls,cl as FlatTree,Il as LayoutGroup,Lt as LayoutGroupContext,Ku as LazyMotion,Hu as MotionConfig,K as MotionConfigContext,re as MotionContext,Ai as MotionValue,mt as PresenceContext,Xu as Reorder,ni as SwitchLayoutGroupContext,ho as VisualElement,ht as addPointerEvent,gi as addPointerInfo,Xo as addScaleCorrector,Jc as animate,Dn as animateVisualElement,Au as animationControls,to as animations,Ta as anticipate,En as backIn,ba as backInOut,Hi as backOut,Zo as buildTransform,B as calcLength,Bi as checkTargetForNewValues,Gi as circIn,xa as circInOut,Rn as circOut,pt as clamp,M as createBox,Nu as createDomMotionComponent,si as createMotionComponent,Wi as cubicBezier,Zi as delay,is as distance,uc as distance2D,Gl as domAnimation,Yu as domMax,wn as easeIn,An as easeInOut,la as easeOut,ur as filterProps,H as frameData,ae as isBrowser,xi as isDragActive,Du as isMotionComponent,E as isMotionValue,qt as isValidMotionProp,$u as m,pn as makeUseVisualState,w as mix,Co as motion,z as motionValue,ca as optimizedAppearDataAttribute,fe as pipe,Wt as resolveMotionValue,Ki as spring,hf as startOptimizedAppearAnimation,R as sync,Nl as transform,uf as unwrapMotionComponent,rf as useAnimation,Mu as useAnimationControls,Cu as useAnimationFrame,af as useCycle,pf as useDeprecatedAnimatedState,mf as useDeprecatedInvertedScale,Oe as useDomEvent,lf as useDragControls,Qu as useElementScroll,kn as useForceUpdate,cf as useInView,Iu as useInstantLayoutTransition,ff as useInstantTransition,Uu as useIsPresent,Q as useIsomorphicLayoutEffect,qu as useMotionTemplate,at as useMotionValue,sf as useMotionValueEvent,Vi as usePresence,wu as useReducedMotion,of as useReducedMotionConfig,df as useResetProjection,Bo as useScroll,Zu as useSpring,ef as useTime,Qe as useTransform,yn as useUnmountEffect,Ju as useVelocity,tf as useViewportScroll,ti as useVisualElementContext,nf as useWillChange,Ru as wrap}; diff --git a/wrt/files/webui/assets/index-84fa0cb3.js b/wrt/files/webui/assets/index-84fa0cb3.js new file mode 100644 index 0000000..5e52995 --- /dev/null +++ b/wrt/files/webui/assets/index-84fa0cb3.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 V(e,a,t){c(2,arguments);var n=X(e,a)/1e3;return R(t==null?void 0:t.roundingMethod)(n)}var q={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"}},L=function(a,t,n){var i,o=q[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=L;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=V(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(d&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~@H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F6KBiu{meKHIiL{fQ-tajL5P+r>ky7TmL8S01^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/wrt/files/webui/assets/inter-latin-400-normal-3ea830d4.woff b/wrt/files/webui/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#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`blPcC$v3&R36JR4fb3#o-;2yYX0=cKfGnm92gL*0)8)>+F;P%4RD7!K8w5JbLitn 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/wrt/files/webui/assets/inter-latin-800-normal-d08d7178.woff b/wrt/files/webui/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-dCH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d^XIq)!<|^KP`W{X4;4ECu{mcgn1&rmD>i6nyv<>YSI@mGPHU+ z9Mf}LS|J6G1Rs;aO$<-8==anLZFA?n5qUdv(o`Cz@Hj86wUt{`<(-A&8i2V3Y%|2J z(a>jTXWmG3ACYobK$~l$)N6f#)yeX`7{cK#q0!R6*^B%h@+RuPw5@ z&S%dl{rryF!@xOE!|z&?dzCV$?8Hrpv_lVf2sB@u^C#IFIBQcu+UlDZo7=q%X9QHI z&HHCk-sm|AO5IO89gwiO&|d5kj2b9hAIbm3D6CND)v`R7U^ri(Xy0TIgvlw|CmRAV zZmp2_I^>%+$$V1bwu@&nMNXrbZCbmVQU=Smiq(;EX`XrwAd-Q*K-KXfGv>c>S7 zdiJt|^upzbXxfxPv*(B&@Cq#Ydp{>t^@j>y?Lk;4eyQ0;ScebyYbTGj!fe4S6kg$V zeXNbc=-!Cuf65`hk_#1L=sN^moT?GICw@i8ZfRMyyo-%o5YX=?-!>i+TRHR8Q!}L^ zlXR6Qv1Fb8UhS@1JCZo~q_-!g9K2R%;ynnZN~tVUGOqk8<(P)szt>~O4H?xv2)uRM zDSBK4x4jF`uq>a<{aE7smymeZ0wlgAANcGvm8xDD&-!=a;TN8Ahg)H(pr@pJT Q2->;(8{ZwYufx9oCzD32^8f$< literal 0 HcmV?d00001 diff --git a/wrt/files/webui/assets/logs-3f8dcdee.js b/wrt/files/webui/assets/logs-3f8dcdee.js new file mode 100644 index 0000000..6a58f1b --- /dev/null +++ b/wrt/files/webui/assets/logs-3f8dcdee.js @@ -0,0 +1,2 @@ +import{U as w,V as D,W as u}from"./index-3a58cb87.js";const v="/logs",L=new TextDecoder("utf-8"),M=()=>Math.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 O(){s.close(),a&&a.abort()}function R(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,R as r,O as s}; diff --git a/wrt/files/webui/assets/objectWithoutPropertiesLoose-4f48578a.js b/wrt/files/webui/assets/objectWithoutPropertiesLoose-4f48578a.js new file mode 100644 index 0000000..c074a33 --- /dev/null +++ b/wrt/files/webui/assets/objectWithoutPropertiesLoose-4f48578a.js @@ -0,0 +1 @@ +function a(r,o){if(r==null)return{};var n={},i=Object.keys(r),e,t;for(t=0;t=0)&&(n[e]=r[e]);return n}export{a as _}; diff --git a/wrt/files/webui/assets/play-c7b83a10.js b/wrt/files/webui/assets/play-c7b83a10.js new file mode 100644 index 0000000..7d7c7b2 --- /dev/null +++ b/wrt/files/webui/assets/play-c7b83a10.js @@ -0,0 +1 @@ +import{r as g,R as s,p as a}from"./index-3a58cb87.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/wrt/files/webui/assets/roboto-mono-latin-400-normal-7295944e.woff2 b/wrt/files/webui/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>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!156^MXd&+)Rc^PRsWuqAi?l*)30jW&U`9MSfd;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)=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}return r}function g(t,n){if(t==null)return{};var r={},e=Object.keys(t),o,i;for(i=0;i=0)&&(r[o]=t[o]);return r}var l=c.forwardRef(function(t,n){var r=t.color,e=r===void 0?"currentColor":r,o=t.size,i=o===void 0?24:o,f=u(t,["color","size"]);return s.createElement("svg",p({ref:n,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),s.createElement("polyline",{points:"23 4 23 10 17 10"}),s.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"}))});l.propTypes={color:a.string,size:a.oneOfType([a.string,a.number])};l.displayName="RotateCw";const y=l;export{y as R}; diff --git a/wrt/files/webui/assets/useRemainingViewPortHeight-1c35aab5.js b/wrt/files/webui/assets/useRemainingViewPortHeight-1c35aab5.js new file mode 100644 index 0000000..d9e813c --- /dev/null +++ b/wrt/files/webui/assets/useRemainingViewPortHeight-1c35aab5.js @@ -0,0 +1 @@ +import{s as r}from"./index-3a58cb87.js";const{useState:s,useRef:u,useCallback:a,useLayoutEffect:c}=r;function d(){const t=u(null),[n,i]=s(200),e=a(()=>{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/wrt/files/webui/assets/vi-75c7db25.js b/wrt/files/webui/assets/vi-75c7db25.js new file mode 100644 index 0000000..eca30a9 --- /dev/null +++ b/wrt/files/webui/assets/vi-75c7db25.js @@ -0,0 +1 @@ +const n={All:"Tất cả",Overview:"Tổng quan",Proxies:"Proxy",Rules:"Quy tắc",Conns:"Kết nối",Config:"Cấu hình",Logs:"Nhật ký",Upload:"Tải lên",Download:"Tải xuống","Upload Total":"Tổng tải lên","Download Total":"Tổng tải xuống","Active Connections":"Kết nối hoạt động","Memory Usage":"Sử dụng bộ nhớ","Pause Refresh":"Tạm dừng làm mới","Resume Refresh":"Tiếp tục làm mới",close_all_connections:"Đóng tất cả kết nối",close_filter_connections:"Đóng tất cả kết nối sau khi lọc",Search:"Tìm kiếm",Up:"Lên",Down:"Xuống","Test Latency":"Kiểm tra độ trễ",settings:"Cài đặt",sort_in_grp:"Sắp xếp trong nhóm",hide_unavail_proxies:"Ẩn proxy không khả dụng",auto_close_conns:"Tự động đóng kết nối cũ",order_natural:"Thứ tự ban đầu trong tệp cấu hình",order_latency_asc:"Theo độ trễ từ nhỏ đến lớn",order_latency_desc:"Theo độ trễ từ lớn đến nhỏ",order_name_asc:"Theo tên theo thứ tự bảng chữ cái (A-Z)",order_name_desc:"Theo tên theo thứ tự bảng chữ cái (Z-A)",Connections:"Kết nối",current_backend:"Backend hiện tại",Active:"Hoạt động",switch_backend:"Chuyển đổi backend",Closed:"Đã đóng",switch_theme:"Chuyển đổi giao diện",theme:"Giao diện",about:"Về chúng tôi",no_logs:"Chưa có nhật ký, hãy kiên nhẫn...",chart_style:"Kiểu biểu đồ",latency_test_url:"URL kiểm tra độ trễ",lang:"Ngôn ngữ",update_all_rule_provider:"Cập nhật tất cả nhà cung cấp quy tắc",update_all_proxy_provider:"Cập nhật tất cả nhà cung cấp proxy",reload_config_file:"Tải lại tệp cấu hình",restart_core:"Khởi động lõi lại Clash",upgrade_core:"Nâng cấp lõi Clash",update_geo_databases_file:"Cập nhật tệp cơ sở dữ liệu GEO",flush_fake_ip_pool:"Xóa bộ nhớ đệm fake-ip",enable_tun_device:"Bật thiết bị TUN",allow_lan:"Cho phép LAN",tls_sniffing:"Bộ giám sát gói tin Sniffer",c_host:"Máy chủ",c_sni:"Phát hiện máy chủ Sniff ",c_process:"Quá trình",c_dl:"Tải Xuống",c_ul:"Tải Lên",c_dl_speed:"Tốc độ Tải Xuống",c_ul_speed:"Tốc độ Tải lên",c_chains:"Chuỗi",c_rule:"Quy tắc",c_time:"Thời gian",c_source:"Nguồn",c_destination_ip:"Địa chỉ IP đích",c_type:"Loại",c_ctrl:"Đóng",close_all_confirm:"Bạn có chắc chắn muốn đóng tất cả kết nối không?",close_all_confirm_yes:"Chắc chắn",close_all_confirm_no:"Không",manage_column:"Quản lý cột",reset_column:"Đặt lại cột",device_name:"Thẻ thiết bị",delete:"Xóa",add_tag:"Thêm thẻ",client_tag:"Thẻ khách hàng",sourceip_tip:"Thêm / vào đầu để sử dụng biểu thức chính quy, nếu không sẽ là kết quả khớp chính xác(By Ohoang7)",disconnect:"Đóng kết nối",internel:"Kết nối nội bộ"};export{n as data}; diff --git a/wrt/files/webui/assets/zh-cn-ace621d4.js b/wrt/files/webui/assets/zh-cn-ace621d4.js new file mode 100644 index 0000000..840a0e9 --- /dev/null +++ b/wrt/files/webui/assets/zh-cn-ace621d4.js @@ -0,0 +1 @@ +const e={All:"全部",Overview:"概览",Proxies:"代理",Rules:"规则",Conns:"连接",Config:"配置",Logs:"日志",Upload:"上传",Download:"下载","Upload Total":"上传总量","Download Total":"下载总量","Active Connections":"活动连接","Memory Usage":"内存使用情况",Memory:"内存","Pause Refresh":"暂停刷新","Resume Refresh":"继续刷新",close_all_connections:"关闭所有连接",close_filter_connections:"关闭所有过滤后的连接",Search:"查找",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 provider",reload_config_file:"重载配置文件",update_geo_databases_file:"更新 GEO 数据库文件",flush_fake_ip_pool:"清空 FakeIP 数据库",enable_tun_device:"开启 TUN 转发",allow_lan:"允许局域网连接",tls_sniffing:"SNI 嗅探",c_host:"域名",c_sni:"嗅探域名",c_process:"进程",c_dl:"下载",c_ul:"上传",c_dl_speed:"下载速率",c_ul_speed:"上传速率",c_chains:"节点链",c_rule:"规则",c_time:"连接时间",c_source:"来源",c_destination_ip:"目标IP",c_type:"类型",c_ctrl:"关闭",restart_core:"重启 clash 核心",upgrade_core:"更新 Alpha 核心",close_all_confirm:"确定关闭所有连接?",close_all_confirm_yes:"确定",close_all_confirm_no:"取消",manage_column:"管理列",reset_column:"重置列",device_name:"设备名",delete:"删除",add_tag:"添加标签",client_tag:"客户端标签",sourceip_tip:"/开头为正则,否则为全匹配",disconnect:"断开连接",internel:"内部链接"};export{e as data}; diff --git a/wrt/files/webui/assets/zh-tw-47d3ce5e.js b/wrt/files/webui/assets/zh-tw-47d3ce5e.js new file mode 100644 index 0000000..4b11f8d --- /dev/null +++ b/wrt/files/webui/assets/zh-tw-47d3ce5e.js @@ -0,0 +1 @@ +const e={All:"全部",Overview:"概覽",Proxies:"代理",Rules:"規則",Conns:"連線",Config:"設定",Logs:"紀錄",Upload:"上傳",Download:"下載","Upload Total":"總上傳","Download Total":"總下載","Active Connections":"活動中連線","Memory Usage":"記憶體使用狀況",Memory:"記憶體","Pause Refresh":"暫停重整","Resume Refresh":"繼續重整",close_all_connections:"斷開所有連線",close_filter_connections:"斷開所有過濾後的連線",Search:"搜尋",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:"更新所有規則提供者",update_all_proxy_provider:"更新所有代理伺服器提供者",reload_config_file:"重新載入設定檔",update_geo_databases_file:"更新 GEO 資料庫文件",flush_fake_ip_pool:"清除 Fake IP 資料庫",enable_tun_device:"開啟 TUN 轉發",allow_lan:"允許區域網路連接",tls_sniffing:"SNI 嗅探",c_host:"網域名稱",c_sni:"嗅探網域名稱",c_process:"處理程序",c_dl:"下載",c_ul:"上傳",c_dl_speed:"下載速度",c_ul_speed:"上傳速度",c_chains:"節點鍊",c_rule:"規則",c_time:"連線時間",c_source:"來源",c_destination_ip:"目標 IP",c_type:"類型",c_ctrl:"關閉",restart_core:"重新啟動 clash 核心",upgrade_core:"更新 Alpha 核心",close_all_confirm:"確定關閉所有連接?",close_all_confirm_yes:"確定",close_all_confirm_no:"取消",manage_column:"管理列",reset_column:"重置列",device_name:"設備名稱",delete:"刪除",add_tag:"新增標籤",client_tag:"客戶端標籤",sourceip_tip:"/開頭為正規表達式,否則為全面配對",disconnect:"斷開連線",internel:"內部連線"};export{e as data}; diff --git a/wrt/files/webui/index.html b/wrt/files/webui/index.html new file mode 100644 index 0000000..68f5ecd --- /dev/null +++ b/wrt/files/webui/index.html @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + yacd + + + + +

+ + + diff --git a/wrt/files/webui/logo.png b/wrt/files/webui/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..92ccf2a595910f9554117bd14dd00a5f0961d15b GIT binary patch literal 5666 zcmeHLc~FyQ8vg)CY*o@Ot<h;_L#+fz0679eAc3SwB$zJ5yn|NZw zsRgCke)oSr{lm>O7hhI+H}T3a=^t?Mw`ZQA~{|N5ob>t0wl9em@L`qP!|(b?y% zZk~2$x~yNtD5HFDo)ISOIR3PDwUikt9wFdWg()M7)ZN(2^?Z^dzI~zzmY3YG0!_cq zzjTYK`aP~!-L@fgFP`IMJx7^J#gJee*{5kACC4YoINJ3(63}%AbwxW0-{>3QOxM*Z z#fc2(H{|oaZMtnbHt@ju%*!%Vi7rmr^ca5VWg$(wj=U6zivQ!qIO;;)Xn&0mcH40q zXn?Jj0k8Mhj3y4~M&Nt1`aDTvBk)oBQXv1jnl)wXm^Z2`;CKQa`(aYn)b(X8uM|=t zP`Bn`3OYHVR7n}45YWl{?x|COsg7m#k>o`6k0CZ8{v;nDIgHB9YG{#)hv8fD_mN_O z_3UA8R*qmP;P+yh6?eDV0;nu~JJEeLp~mTogV-#ckgDB-B|T6j4)~|o0KspfQl!oo z@KccJQb1HHz@Jut2%oWHZ9>4OUYFilXnReOX|+9 z8rSQ#4Exn;28?1xW8w1U8b}@wgxU3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wrt/files/webui/manifest.webmanifest new file mode 100644 index 0000000..4ee2822 --- /dev/null +++ b/wrt/files/webui/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"yacd","short_name":"yacd","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","icons":[{"src":"apple-touch-icon-precomposed.png","sizes":"512x512","type":"image/png"}]} diff --git a/wrt/files/webui/registerSW.js b/wrt/files/webui/registerSW.js new file mode 100644 index 0000000..179c13c --- /dev/null +++ b/wrt/files/webui/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/wrt/files/webui/sw.js b/wrt/files/webui/sw.js new file mode 100644 index 0000000..fda0308 --- /dev/null +++ b/wrt/files/webui/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 O(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 S,v;function ie(){return S||(S=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ce(){return v||(v=[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),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",h=>a(h.oldVersion,h.newVersion,h))}).catch(()=>{}),c}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),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 O(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 O(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 Oe(s,e){Ae(s),Ne(e)}const Se={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class ve extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Se)}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();Oe([{"revision":null,"url":"assets/BaseModal-ab8cd8e0.js"},{"revision":null,"url":"assets/BaseModal-e9f180d4.css"},{"revision":null,"url":"assets/chart-lib-6081a478.js"},{"revision":null,"url":"assets/Config-7eb3f1bb.css"},{"revision":null,"url":"assets/Config-d98df917.js"},{"revision":null,"url":"assets/Connections-2b49f1fb.css"},{"revision":null,"url":"assets/Connections-ac8a4ae7.js"},{"revision":null,"url":"assets/debounce-c1ba2006.js"},{"revision":null,"url":"assets/en-1067a8eb.js"},{"revision":null,"url":"assets/Fab-12e96042.js"},{"revision":null,"url":"assets/Fab-48def6bf.css"},{"revision":null,"url":"assets/index-3a58cb87.js"},{"revision":null,"url":"assets/index-777fdc28.js"},{"revision":null,"url":"assets/index-84fa0cb3.js"},{"revision":null,"url":"assets/index-ef878e7c.css"},{"revision":null,"url":"assets/Input-4a412620.js"},{"revision":null,"url":"assets/logs-3f8dcdee.js"},{"revision":null,"url":"assets/Logs-4c263fad.css"},{"revision":null,"url":"assets/Logs-9ddf6a86.js"},{"revision":null,"url":"assets/objectWithoutPropertiesLoose-4f48578a.js"},{"revision":null,"url":"assets/play-c7b83a10.js"},{"revision":null,"url":"assets/Proxies-06b60f95.css"},{"revision":null,"url":"assets/Proxies-b1261fd3.js"},{"revision":null,"url":"assets/rotate-cw-6c7b4819.js"},{"revision":null,"url":"assets/Rules-162ef666.css"},{"revision":null,"url":"assets/Rules-ce05c965.js"},{"revision":null,"url":"assets/Select-07e025ab.css"},{"revision":null,"url":"assets/Select-0e7ed95b.js"},{"revision":null,"url":"assets/TextFitler-a112af1a.css"},{"revision":null,"url":"assets/TextFitler-ae90d90b.js"},{"revision":null,"url":"assets/useRemainingViewPortHeight-1c35aab5.js"},{"revision":null,"url":"assets/vi-75c7db25.js"},{"revision":null,"url":"assets/zh-cn-ace621d4.js"},{"revision":null,"url":"assets/zh-tw-47d3ce5e.js"},{"revision":"b188acb6de2a3ddb1354092106435300","url":"index.html"},{"revision":"402b66900e731ca748771b6fc5e7a068","url":"registerSW.js"},{"revision":"ef24a4bbd6aba7f4424b413e8fc116ea","url":"apple-touch-icon-precomposed.png"},{"revision":"f00e213a787b40930c64ed1f84eb6c66","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 ve({cacheName:"images",plugins:[new Re({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()}); diff --git a/wrt/files/webui/yacd.ico b/wrt/files/webui/yacd.ico new file mode 100644 index 0000000000000000000000000000000000000000..92ccf2a595910f9554117bd14dd00a5f0961d15b GIT binary patch literal 5666 zcmeHLc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>jTXWmG3ACYobK$~l$)N6f#)yeX`7{cK#q0!R6*^B%h@+RuPw5@ z&S%dl{rryF!@xOE!|z&?dzCV$?8Hrpv_lVf2sB@u^C#IFIBQcu+UlDZo7=q%X9QHI z&HHCk-sm|AO5IO89gwiO&|d5kj2b9hAIbm3D6CND)v`R7U^ri(Xy0TIgvlw|CmRAV zZmp2_I^>%+$$V1bwu@&nMNXrbZCbmVQU=Smiq(;EX`XrwAd-Q*K-KXfGv>c>S7 zdiJt|^upzbXxfxPv*(B&@Cq#Ydp{>t^@j>y?Lk;4eyQ0;ScebyYbTGj!fe4S6kg$V zeXNbc=-!Cuf65`hk_#1L=sN^moT?GICw@i8ZfRMyyo-%o5YX=?-!>i+TRHR8Q!}L^ zlXR6Qv1Fb8UhS@1JCZo~q_-!g9K2R%;ynnZN~tVUGOqk8<(P)szt>~O4H?xv2)uRM zDSBK4x4jF`uq>a<{aE7smymeZ0wlgAANcGvm8xDD&-!=a;TN8Ahg)H(pr@pJT Q2->;(8{ZwYufx9oCzD32^8f$< literal 0 HcmV?d00001 diff --git a/wrt/files/webui/yacd.png b/wrt/files/webui/yacd.png new file mode 100644 index 0000000000000000000000000000000000000000..92ccf2a595910f9554117bd14dd00a5f0961d15b GIT binary patch literal 5666 zcmeHLc~FyQ8vg)CY*o@Ot<h;_L#+fz0679eAc3SwB$zJ5yn|NZw zsRgCke)oSr{lm>O7hhI+H}T3a=^t?Mw`ZQA~{|N5ob>t0wl9em@L`qP!|(b?y% zZk~2$x~yNtD5HFDo)ISOIR3PDwUikt9wFdWg()M7)ZN(2^?Z^dzI~zzmY3YG0!_cq zzjTYK`aP~!-L@fgFP`IMJx7^J#gJee*{5kACC4YoINJ3(63}%AbwxW0-{>3QOxM*Z z#fc2(H{|oaZMtnbHt@ju%*!%Vi7rmr^ca5VWg$(wj=U6zivQ!qIO;;)Xn&0mcH40q zXn?Jj0k8Mhj3y4~M&Nt1`aDTvBk)oBQXv1jnl)wXm^Z2`;CKQa`(aYn)b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