diff --git a/rootfs/etc/init.d/clash b/rootfs/etc/init.d/clash new file mode 100644 index 0000000..4ae60e6 --- /dev/null +++ b/rootfs/etc/init.d/clash @@ -0,0 +1,36 @@ +#!/bin/sh /etc/rc.common + +START=21 +STOP=89 + +USE_PROCD=1 + +start_service() { + procd_open_instance + procd_set_param command /opt/clash/bin/clash -d /opt/clash + procd_set_param respawn + procd_close_instance + + uci add_list dhcp.@dnsmasq[0].server='127.0.0.1#7874' + uci set dhcp.@dnsmasq[0].cachesize='0' + uci set dhcp.@dnsmasq[0].noresolv='1' + uci commit + + /opt/clash/bin/clash-rules start + /etc/init.d/dnsmasq restart +} + +stop_service() { + uci del dhcp.@dnsmasq[0].server + uci del dhcp.@dnsmasq[0].cachesize + uci del dhcp.@dnsmasq[0].noresolv + uci commit + + /opt/clash/bin/clash-rules stop + /etc/init.d/dnsmasq restart +} + +boot() { + sleep 10 + start +} \ No newline at end of file diff --git a/rootfs/opt/clash/bin/clash-rules b/rootfs/opt/clash/bin/clash-rules new file mode 100644 index 0000000..087ff97 --- /dev/null +++ b/rootfs/opt/clash/bin/clash-rules @@ -0,0 +1,84 @@ +#!/bin/sh + +start(){ + if hash nft; then + nft -f /opt/clash/nft.conf + ip route add local default dev lo table 100 + ip rule add fwmark 1 table 100 + elif hash iptables; then + iptables -t mangle -N CLASH + iptables -t mangle -I CLASH -p udp --dport 443 -j REJECT # Block QUIC first (for YouTube) + iptables -t mangle -A CLASH -d 0.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH -d 10.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH -d 100.64.0.0/10 -j RETURN + iptables -t mangle -A CLASH -d 127.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH -d 169.254.0.0/16 -j RETURN + iptables -t mangle -A CLASH -d 172.16.0.0/12 -j RETURN + iptables -t mangle -A CLASH -d 192.168.0.0/16 -j RETURN + iptables -t mangle -A CLASH -d 224.0.0.0/4 -j RETURN + iptables -t mangle -A CLASH -d 240.0.0.0/4 -j RETURN + iptables -t mangle -A CLASH -i wg+ -j RETURN + iptables -t mangle -A CLASH -i ppp+ -j RETURN + iptables -t mangle -A CLASH -i veth+ -j RETURN + iptables -t mangle -A CLASH -i docker+ -j RETURN + iptables -t mangle -A CLASH -p tcp -j TPROXY --on-port 7894 --tproxy-mark 1 + iptables -t mangle -A CLASH -p udp -j TPROXY --on-port 7894 --tproxy-mark 1 + iptables -t mangle -A PREROUTING -m addrtype --dst-type LOCAL -j RETURN + iptables -t mangle -A PREROUTING -j CLASH + + iptables -t mangle -N CLASH_SELF + iptables -t mangle -A CLASH_SELF -d 0.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH_SELF -d 10.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH_SELF -d 100.64.0.0/10 -j RETURN + iptables -t mangle -A CLASH_SELF -d 127.0.0.0/8 -j RETURN + iptables -t mangle -A CLASH_SELF -d 169.254.0.0/16 -j RETURN + iptables -t mangle -A CLASH_SELF -d 172.16.0.0/12 -j RETURN + iptables -t mangle -A CLASH_SELF -d 192.168.0.0/16 -j RETURN + iptables -t mangle -A CLASH_SELF -d 224.0.0.0/4 -j RETURN + iptables -t mangle -A CLASH_SELF -d 240.0.0.0/4 -j RETURN + iptables -t mangle -A CLASH_SELF -i wg+ -j RETURN + iptables -t mangle -A CLASH_SELF -i ppp+ -j RETURN + iptables -t mangle -A CLASH_SELF -i veth+ -j RETURN + iptables -t mangle -A CLASH_SELF -i docker+ -j RETURN + iptables -t mangle -A CLASH_SELF -m mark --mark 2 -j RETURN + iptables -t mangle -A CLASH_SELF -p tcp -j MARK --set-mark 1 + iptables -t mangle -A CLASH_SELF -p udp -j MARK --set-mark 1 + iptables -t mangle -A OUTPUT -j CLASH_SELF + + ip route add local default dev lo table 100 + ip rule add fwmark 1 table 100 + else + echo "unknown firewall, ignore" + fi +} + +stop(){ + if hash nft; then + nft table ip clash + nft delete table ip clash + ip route del local default dev lo table 100 + ip rule del table 100 + elif hash iptables; then + iptables -t mangle -D PREROUTING -j CLASH + iptables -t mangle -F CLASH + iptables -t mangle -X CLASH + + iptables -t mangle -D OUTPUT -j CLASH_SELF + iptables -t mangle -F CLASH_SELF + iptables -t mangle -X CLASH_SELF + + ip route del local default dev lo table 100 + ip rule del table 100 + else + echo "unknown firewall, ignore" + fi +} + +case $1 in +start) + start + ;; +stop) + stop + ;; +esac \ No newline at end of file diff --git a/rootfs/opt/clash/config.yaml b/rootfs/opt/clash/config.yaml new file mode 100644 index 0000000..cb8dfe8 --- /dev/null +++ b/rootfs/opt/clash/config.yaml @@ -0,0 +1,111 @@ +mode: rule +ipv6: false +log-level: error +allow-lan: false +mixed-port: 7890 +tproxy-port: 7894 +unified-delay: false +tcp-concurrent: true +external-controller: 0.0.0.0:9090 +external-ui: ./ui + +dns: + enable: true + listen: 0.0.0.0:7874 + ipv6: false + # Bootstrap DNS + default-nameserver: + - 1.1.1.1 + - 1.0.0.1 + - 8.8.8.8 + - 8.8.4.4 + # Upstream DNS + nameserver: + - https://dns10.quad9.net/dns-query + - https://dns.aa.net.uk/dns-query + +profile: + store-selected: true + store-fake-ip: true + +routing-mark: 2 + +find-process-mode: off + +sniffer: + enable: true + sniff: + TLS: + ports: [443, 8443] + HTTP: + ports: [80, 8080-8880] + override-destination: true + skip-domain: + - Mijia Cloud + - 'dlg.io.mi.com' + +proxies: + # vless + - name: "XX-reality" + type: vless + server: change-it + port: 443 + uuid: change-it + network: tcp + tls: true + udp: true + flow: xtls-rprx-vision + servername: change-it + reality-opts: + public-key: change-it + short-id: change-it + client-fingerprint: chrome + +proxy-groups: + # select is used for selecting proxy or proxy group + # you can use RESTful API to switch proxy is recommended for use in GUI. + - name: PROXY + type: select + # disable-udp: true + proxies: + - SRV-reality + +rule-providers: + direct-domain: + behavior: classical + type: http + url: "https://YOUR_URL/direct-domain.yaml" + interval: 3600 + path: ./ruleset/direct-domain.yaml + direct-ip: + behavior: classical + type: http + url: "https://YOUR_URL/direct-ip.yaml" + interval: 3600 + path: ./ruleset/direct-ip.yaml + proxy-domain: + behavior: classical + type: http + url: "https://YOUR_URL/proxy-domain.yaml" + interval: 3600 + path: ./ruleset/proxy-domain.yaml + proxy-ip: + behavior: classical + type: http + url: "https://YOUR_URL/proxy-ip.yaml" + interval: 3600 + path: ./ruleset/proxy-ip.yaml + antifilter-ip: + behavior: classical + type: http + url: "https://YOUR_URL/antifilter-ip.yaml" + interval: 43200 + path: ./ruleset/antifilter-ip.yaml + +rules: + - RULE-SET,direct-domain,DIRECT + - RULE-SET,proxy-domain,PROXY + - RULE-SET,direct-ip,DIRECT + - RULE-SET,proxy-ip,PROXY + - RULE-SET,antifilter-ip,PROXY + - MATCH,DIRECT diff --git a/rootfs/opt/clash/nft.conf b/rootfs/opt/clash/nft.conf new file mode 100644 index 0000000..9dd9216 --- /dev/null +++ b/rootfs/opt/clash/nft.conf @@ -0,0 +1,43 @@ +#!/usr/sbin/nft -f + +table ip clash +delete table ip clash + +define RESERVED_IP = { + 0.0.0.0/8, + 10.0.0.0/8, + 100.64.0.0/10, + 127.0.0.0/8, + 169.254.0.0/16, + 172.16.0.0/12, + 192.168.0.0/16, + 224.0.0.0/4, + 240.0.0.0/4 +} + +define RESERVED_IFACE = { + "wg*", + "ppp*", + "veth*", + "docker*" +} + +table ip clash { + chain prerouting { + type filter hook prerouting priority mangle; policy accept; + udp dport 443 reject position 0 # Block QUIC first (for YouTube) + fib daddr type local return + ip daddr $RESERVED_IP return + iifname $RESERVED_IFACE return + ip protocol tcp tproxy to 127.0.0.1:7894 meta mark set 1 + ip protocol udp tproxy to 127.0.0.1:7894 meta mark set 1 + } + chain output { + type route hook output priority mangle; policy accept; + ip daddr $RESERVED_IP return + iifname $RESERVED_IFACE return + meta mark 2 return + ip protocol tcp meta mark set 1 + ip protocol udp meta mark set 1 + } +} \ No newline at end of file diff --git a/rootfs/opt/clash/ui/Twemoji_Mozilla.ttf b/rootfs/opt/clash/ui/Twemoji_Mozilla.ttf new file mode 100644 index 0000000..9f45178 Binary files /dev/null and b/rootfs/opt/clash/ui/Twemoji_Mozilla.ttf differ diff --git a/rootfs/opt/clash/ui/_headers b/rootfs/opt/clash/ui/_headers new file mode 100644 index 0000000..877d928 --- /dev/null +++ b/rootfs/opt/clash/ui/_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/rootfs/opt/clash/ui/apple-touch-icon-precomposed.png b/rootfs/opt/clash/ui/apple-touch-icon-precomposed.png new file mode 100644 index 0000000..cbb3fcb Binary files /dev/null and b/rootfs/opt/clash/ui/apple-touch-icon-precomposed.png differ diff --git a/rootfs/opt/clash/ui/assets/BaseModal-0f630377.js b/rootfs/opt/clash/ui/assets/BaseModal-0f630377.js new file mode 100644 index 0000000..e8dee89 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/BaseModal-0f630377.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-7c6466d3.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/rootfs/opt/clash/ui/assets/BaseModal-e9f180d4.css b/rootfs/opt/clash/ui/assets/BaseModal-e9f180d4.css new file mode 100644 index 0000000..0229f08 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Config-3d242ed2.js b/rootfs/opt/clash/ui/assets/Config-3d242ed2.js new file mode 100644 index 0000000..8093d86 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Config-3d242ed2.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-7c6466d3.js";import{r as Ce}from"./logs-8ad08aa6.js";import{S as k}from"./Select-3321dc18.js";import{I as S,S as Oe}from"./Input-eec9e65c.js";import{R as P}from"./rotate-cw-76728396.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"]],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/rootfs/opt/clash/ui/assets/Config-7eb3f1bb.css b/rootfs/opt/clash/ui/assets/Config-7eb3f1bb.css new file mode 100644 index 0000000..766b1fd --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Connections-2720e021.js b/rootfs/opt/clash/ui/assets/Connections-2720e021.js new file mode 100644 index 0000000..91ec0d2 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Connections-2720e021.js @@ -0,0 +1,68 @@ +import{r as G,R as re,p as Me,c as Ir,a as Pu,u as it,m as Oo,j as Re,M as Ru,b as j,B as Tt,d as Li,e as Wi,f as Ao,g as Gi,_ as Du,h as ae,i as Eu,k as ki,l as Bu,S as Ou,n as Au,o as Tu,C as Nu,I as To,q as Mu}from"./index-7c6466d3.js";import{S as Fu}from"./Select-3321dc18.js";import{u as Lu}from"./useRemainingViewPortHeight-aa016eed.js";import{C as Wu,B as $i}from"./BaseModal-0f630377.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-eec9e65c.js";import{_ as Nt}from"./objectWithoutPropertiesLoose-4f48578a.js";import{F as No,p as Mo,A as Br}from"./Fab-e6dedc20.js";import{P as zu,a as ju}from"./play-4baa6dad.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 re.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),re.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),re.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),re.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18"}))});na.propTypes={color:Me.string,size:Me.oneOfType([Me.string,Me.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 re.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),re.createElement("polyline",{points:"1 4 1 10 7 10"}),re.createElement("polyline",{points:"23 20 23 14 17 14"}),re.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:Me.string,size:Me.oneOfType([Me.string,Me.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 re.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),re.createElement("circle",{cx:"12",cy:"12",r:"3"}),re.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:Me.string,size:Me.oneOfType([Me.string,Me.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 re.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),re.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"}),re.createElement("line",{x1:"7",y1:"7",x2:"7.01",y2:"7"}))});ia.propTypes={color:Me.string,size:Me.oneOfType([Me.string,Me.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 re.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),re.createElement("circle",{cx:"12",cy:"12",r:"10"}),re.createElement("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),re.createElement("line",{x1:"9",y1:"9",x2:"15",y2:"15"}))});la.propTypes={color:Me.string,size:Me.oneOfType([Me.string,Me.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 Mt;function nc(e){const r=e||(typeof window<"u"?window:void 0);try{Mt=!!(typeof r<"u"&&r.document&&r.document.activeElement)}catch{Mt=!1}}const ac={className:"react-tabs",focus:!1},da=e=>{let r=G.useRef([]),t=G.useRef([]);const n=G.useRef();function o($,z){if($<0||$>=u())return;const{onSelect:ue,selectedIndex:Ie}=e;ue($,Ie,z)}function i($){const z=u();for(let ue=$+1;ue$;)if(!Or(m(z)))return z;return $}function s(){const $=u();for(let z=0;z<$;z++)if(!Or(m(z)))return z;return null}function f(){let $=u();for(;$--;)if(!Or(m($)))return $;return null}function u(){const{children:$}=e;return Vi($)}function m($){return r.current[`tabs-${$}`]}function g(){let $=0;const{children:z,disabledTabClassName:ue,focus:Ie,forceRenderTabPanel:Se,selectedIndex:we,selectedTabClassName:Ee,selectedTabPanelClassName:De,environment:Oe}=e;t.current=t.current||[];let Fe=t.current.length-u();const ur=G.useId();for(;Fe++<0;)t.current.push(`${ur}${t.current.length}`);return Un(z,Ve=>{let Ae=Ve;if(ua(Ve)){let We=0,cr=!1;Mt==null&&nc(Oe);const nr=Oe||(typeof window<"u"?window:void 0);Mt&&nr&&(cr=re.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),ue&&(Ue.disabledClassName=ue),We++,G.cloneElement(dr,Ue)})})}else if(ca(Ve)){const We={id:t.current[$],selected:we===$};Se&&(We.forceRender=Se),De&&(We.selectedClassName=De),$++,Ae=G.cloneElement(Ve,We)}return Ae})}function p($){const{direction:z,disableUpDownKeys:ue,disableLeftRightKeys:Ie}=e;if(C($.target)){let{selectedIndex:Se}=e,we=!1,Ee=!1;($.code==="Space"||$.keyCode===32||$.code==="Enter"||$.keyCode===13)&&(we=!0,Ee=!1,b($)),!Ie&&($.keyCode===37||$.code==="ArrowLeft")||!ue&&($.keyCode===38||$.code==="ArrowUp")?(z==="rtl"?Se=i(Se):Se=l(Se),we=!0,Ee=!0):!Ie&&($.keyCode===39||$.code==="ArrowRight")||!ue&&($.keyCode===40||$.code==="ArrowDown")?(z==="rtl"?Se=l(Se):Se=i(Se),we=!0,Ee=!0):$.keyCode===35||$.code==="End"?(Se=f(),we=!0,Ee=!0):($.keyCode===36||$.code==="Home")&&(Se=s(),we=!0,Ee=!0),we&&$.preventDefault(),Ee&&o(Se,$)}}function b($){let z=$.target;do if(C(z)){if(Or(z))return;const ue=[].slice.call(z.parentNode.children).filter(Go).indexOf(z);o(ue,$);return}while((z=z.parentNode)!=null)}function C($){if(!Go($))return!1;let z=$.parentElement;do{if(z===n.current)return!0;if(z.getAttribute("data-rttabs"))break;z=z.parentElement}while(z);return!1}const{children:S,className:P,disabledTabClassName:D,domRef:B,focus:O,forceRenderTabPanel:A,onSelect:V,selectedIndex:q,selectedTabClassName:Y,selectedTabPanelClassName:se,environment:Q,disableUpDownKeys:be,disableLeftRightKeys:pe,...Le}=e;return re.createElement("div",Object.assign({},Le,{className:Ir(P),onClick:b,onKeyDown:p,ref:$=>{n.current=$,B&&B($)},"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,re.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 re.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]),re.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 re.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:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},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:"夜间"}},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:"夜间"}},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:Nc,defaultWidth:"wide",formattingValues:Mc,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 Nd=Td;var Md={code:"zh-TW",formatDistance:td,formatLong:ld,formatRelative:cd,localize:yd,match:Nd,options:{weekStartsOn:1,firstWeekContainsDate:4}};const Fd=Md;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(k){return k.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(k){return k.id===y}),T=B(h,F&&F.value);return Ee(R.autoRemove,T,I)?l({},a,{filters:a.filters.filter(function(k){return k.id!==y})}):l({},a,F?{filters:a.filters.map(function(k){return k.id===y?{id:y,value:T}:k})}:{filters:[].concat(a.filters,[{id:y,value:T}])})}if(c.type===u.setAllFilters){var N=c.filters,E=v.allColumns,M=v.filterTypes;return l({},a,{filters:B(N,a.filters).filter(function(k){var H=E.find(function(X){return X.id===k.id});return!Ee(we(H.filter,M||{},qr).autoRemove,k.value,H)})})}}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,N=a.dispatch,E=a.autoResetFilters,M=E===void 0||E,k=n.useCallback(function(U,ne){N({type:u.setFilter,columnId:U,filterValue:ne})},[N]),H=n.useCallback(function(U){N({type:u.setAllFilters,filters:U})},[N]);h.forEach(function(U){var ne=U.id,ce=U.accessor,Z=U.defaultCanFilter,te=U.disableFilters;U.canFilter=ce?z(te!==!0&&void 0,F!==!0&&void 0,!0):z(Z,R,!1),U.setFilter=function(oe){return k(U.id,oe)};var ge=T.find(function(oe){return oe.id===ne});U.filterValue=ge&&ge.value});var X=n.useMemo(function(){if(x||!T.length)return[d,v,y];var U=[],ne={};return[function ce(Z,te){te===void 0&&(te=0);var ge=Z;return(ge=T.reduce(function(oe,ve){var fe=ve.id,ye=ve.value,K=h.find(function(Be){return Be.id===fe});if(!K)return oe;te===0&&(K.preFilteredRows=oe);var de=we(K.filter,w||{},qr);return de?(K.filteredRows=de(oe,[fe],ye),K.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+K.id+"."),oe)},Z)).forEach(function(oe){U.push(oe),ne[oe.id]=oe,oe.subRows&&(oe.subRows=oe.subRows&&oe.subRows.length>0?ce(oe.subRows,te+1):oe.subRows)}),ge}(d),U,ne]},[x,T,d,v,y,h,w]),le=X[0],_=X[1],L=X[2];n.useMemo(function(){h.filter(function(U){return!T.find(function(ne){return ne.id===U.id})}).forEach(function(U){U.preFilteredRows=le,U.filteredRows=le})},[le,T,h]);var ie=O(M);V(function(){ie()&&N({type:u.resetFilters})},[N,x?null:c]),Object.assign(a,{preFilteredRows:d,preFilteredFlatRows:v,preFilteredRowsById:y,filteredRows:le,filteredFlatRows:_,filteredRowsById:L,rows:le,flatRows:_,rowsById:L,setFilter:k,setAllFilters:H})}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,N=T===void 0||T,E=a.disableGlobalFilter,M=n.useCallback(function(L){F({type:u.setGlobalFilter,filterValue:L})},[F]),k=n.useMemo(function(){if(I||R===void 0)return[d,v,y];var L=[],ie={},U=we(x,w||{},qr);if(!U)return console.warn("Could not find a valid 'globalFilter' option."),d;h.forEach(function(ce){var Z=ce.disableGlobalFilter;ce.canFilter=z(Z!==!0&&void 0,E!==!0&&void 0,!0)});var ne=h.filter(function(ce){return ce.canFilter===!0});return[function ce(Z){return(Z=U(Z,ne.map(function(te){return te.id}),R)).forEach(function(te){L.push(te),ie[te.id]=te,te.subRows=te.subRows&&te.subRows.length?ce(te.subRows):te.subRows}),Z}(d),L,ie]},[I,R,x,w,h,d,v,y,E]),H=k[0],X=k[1],le=k[2],_=O(N);V(function(){_()&&F({type:u.resetGlobalFilter})},[F,I?null:c]),Object.assign(a,{preGlobalFilteredRows:d,preGlobalFilteredFlatRows:v,preGlobalFilteredRowsById:y,globalFilteredRows:H,globalFilteredFlatRows:X,globalFilteredRowsById:le,rows:H,flatRows:X,rowsById:le,setGlobalFilter:M,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,N=a.plugins,E=a.state.groupBy,M=a.dispatch,k=a.autoResetGroupBy,H=k===void 0||k,X=a.disableGroupBy,le=a.defaultCanGroupBy,_=a.getHooks;D(N,["useColumnOrder","useFilters"],"useGroupBy");var L=O(a);h.forEach(function(K){var de=K.accessor,Be=K.defaultGroupBy,qe=K.disableGroupBy;K.canGroupBy=de?z(K.canGroupBy,qe!==!0&&void 0,X!==!0&&void 0,!0):z(K.canGroupBy,Be,le,!1),K.canGroupBy&&(K.toggleGroupBy=function(){return a.toggleGroupBy(K.id)}),K.Aggregated=K.Aggregated||K.Cell});var ie=n.useCallback(function(K,de){M({type:u.toggleGroupBy,columnId:K,value:de})},[M]),U=n.useCallback(function(K){M({type:u.setGroupBy,value:K})},[M]);w.forEach(function(K){K.getGroupByToggleProps=C(_().getGroupByToggleProps,{instance:L(),header:K})});var ne=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})}),de=[],Be={},qe=[],ee={},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(Ne){if(K.includes(Ne.id))St[Ne.id]=Cn[0]?Cn[0].values[Ne.id]:null;else{var Eo=typeof Ne.aggregate=="function"?Ne.aggregate:T[Ne.aggregate]||no[Ne.aggregate];if(Eo){var xu=Cn.map(function(xt){return xt.values[Ne.id]}),Iu=or.map(function(xt){var Sn=xt.values[Ne.id];if(!Su&&Ne.aggregateValue){var Bo=typeof Ne.aggregateValue=="function"?Ne.aggregateValue:T[Ne.aggregateValue]||no[Ne.aggregateValue];if(!Bo)throw console.info({column:Ne}),new Error("React Table: Invalid column.aggregateValue option for column listed above");Sn=Bo(Sn,xt,Ne)}return Sn});St[Ne.id]=Eo(Iu,xu)}else{if(Ne.aggregate)throw console.info({column:Ne}),new Error("React Table: Invalid column.aggregate option for column listed above");St[Ne.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){de.push(or),Be[or.id]=or,or.isGrouped?(qe.push(or),ee[or.id]=or):(Pe.push(or),Te[or.id]=or)}),Cu})}(d);return _e.forEach(function(Ge){de.push(Ge),Be[Ge.id]=Ge,Ge.isGrouped?(qe.push(Ge),ee[Ge.id]=Ge):(Pe.push(Ge),Te[Ge.id]=Ge)}),[_e,de,Be,qe,ee,Pe,Te]},[R,E,d,v,y,h,T,I]),ce=ne[0],Z=ne[1],te=ne[2],ge=ne[3],oe=ne[4],ve=ne[5],fe=ne[6],ye=O(H);V(function(){ye()&&M({type:u.resetGroupBy})},[M,R?null:c]),Object.assign(a,{preGroupedRows:d,preGroupedFlatRow:v,preGroupedRowsById:y,groupedRows:ce,groupedFlatRows:Z,groupedRowsById:te,onlyGroupedFlatRows:ge,onlyGroupedRowsById:oe,nonGroupedFlatRows:ve,nonGroupedRowsById:fe,rows:ce,flatRows:Z,rowsById:te,toggleGroupBy:ie,setGroupBy:U})}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(Ns),a.useInstance.push(Ms)};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 Ns(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,N=v.maxMultiSortColCount,E=N===void 0?Number.MAX_SAFE_INTEGER:N,M=a.sortBy,k=I.find(function(L){return L.id===h}).sortDescFirst,H=M.find(function(L){return L.id===h}),X=M.findIndex(function(L){return L.id===h}),le=w!=null,_=[];return(y=!R&&x?H?"toggle":"add":X!==M.length-1||M.length!==1?"replace":H?"toggle":"replace")!="toggle"||F||le||x&&T||!(H&&H.desc&&!k||!H.desc&&k)||(y="remove"),y==="replace"?_=[{id:h,desc:le?w:k}]:y==="add"?(_=[].concat(M,[{id:h,desc:le?w:k}])).splice(0,_.length-E):y==="toggle"?_=M.map(function(L){return L.id===h?l({},L,{desc:le?w:!H.desc}):L}):y==="remove"&&(_=M.filter(function(L){return L.id!==h})),l({},a,{sortBy:_})}}function Ms(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,N=a.state.sortBy,E=a.dispatch,M=a.plugins,k=a.getHooks,H=a.autoResetSortBy,X=H===void 0||H;D(M,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var le=n.useCallback(function(Z){E({type:u.setSortBy,sortBy:Z})},[E]),_=n.useCallback(function(Z,te,ge){E({type:u.toggleSortBy,columnId:Z,desc:te,multi:ge})},[E]),L=O(a);T.forEach(function(Z){var te=Z.accessor,ge=Z.canSort,oe=Z.disableSortBy,ve=Z.id,fe=te?z(oe!==!0&&void 0,F!==!0&&void 0,!0):z(R,ge,!1);Z.canSort=fe,Z.canSort&&(Z.toggleSortBy=function(K,de){return _(Z.id,K,de)},Z.clearSortBy=function(){E({type:u.clearSortBy,columnId:Z.id})}),Z.getSortByToggleProps=C(k().getSortByToggleProps,{instance:L(),column:Z});var ye=N.find(function(K){return K.id===ve});Z.isSorted=!!ye,Z.sortedIndex=N.findIndex(function(K){return K.id===ve}),Z.isSortedDesc=Z.isSorted?ye.desc:void 0});var ie=n.useMemo(function(){if(I||!N.length)return[d,v];var Z=[],te=N.filter(function(ge){return y.find(function(oe){return oe.id===ge.id})});return[function ge(oe){var ve=w(oe,te.map(function(fe){var ye=y.find(function(Be){return Be.id===fe.id});if(!ye)throw new Error("React-Table: Could not find a column with id: "+fe.id+" while sorting");var K=ye.sortType,de=ue(K)||(x||{})[K]||As[K];if(!de)throw new Error("React-Table: Could not find a valid sortType of '"+K+"' for column '"+fe.id+"'.");return function(Be,qe){return de(Be,qe,fe.id,fe.desc)}}),te.map(function(fe){var ye=y.find(function(K){return K.id===fe.id});return ye&&ye.sortInverted?fe.desc:!fe.desc}));return ve.forEach(function(fe){Z.push(fe),fe.subRows&&fe.subRows.length!==0&&(fe.subRows=ge(fe.subRows))}),ve}(d),Z]},[I,N,d,v,y,w,x]),U=ie[0],ne=ie[1],ce=O(X);V(function(){ce()&&E({type:u.resetSortBy})},[I?null:c]),Object.assign(a,{preSortedRows:d,preSortedFlatRows:v,sortedRows:U,sortedFlatRows:ne,rows:U,flatRows:ne,setSortBy:le,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,N=a.state,E=N.pageSize,M=N.pageIndex,k=N.expanded,H=N.globalFilter,X=N.filters,le=N.groupBy,_=N.sortBy,L=a.dispatch,ie=a.data,U=a.manualPagination;D(w,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var ne=O(v);V(function(){ne()&&L({type:u.resetPage})},[L,U?null:ie,H,X,le,_]);var ce=U?x:Math.ceil(c.length/E),Z=n.useMemo(function(){return ce>0?[].concat(new Array(ce)).fill(null).map(function(de,Be){return Be}):[]},[ce]),te=n.useMemo(function(){var de;if(U)de=c;else{var Be=E*M,qe=Be+E;de=c.slice(Be,qe)}return R?de:Se(de,{manualExpandedKey:h,expanded:k,expandSubRows:T})},[T,k,h,U,M,E,R,c]),ge=M>0,oe=ce===-1?te.length>=E:M-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 ie(U){U.columns&&U.columns.length&&U.columns.map(ie),L.push(U)}(_),L}(x).map(function(_){return[_.id,_.totalWidth]}),N=I?Math.round(w.touches[0].clientX):w.clientX,E=function(){window.cancelAnimationFrame(R),R=null,y({type:u.columnDoneResizing})},M=function(){window.cancelAnimationFrame(R),R=null,y({type:u.columnResizing,clientX:F})},k=function(_){F=_,R||(R=window.requestAnimationFrame(M))},H={mouse:{moveEvent:"mousemove",moveHandler:function(_){return k(_.clientX)},upEvent:"mouseup",upHandler:function(_){document.removeEventListener("mousemove",H.mouse.moveHandler),document.removeEventListener("mouseup",H.mouse.upHandler),E()}},touch:{moveEvent:"touchmove",moveHandler:function(_){return _.cancelable&&(_.preventDefault(),_.stopPropagation()),k(_.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(_){document.removeEventListener(H.touch.moveEvent,H.touch.moveHandler),document.removeEventListener(H.touch.upEvent,H.touch.moveHandler),E()}}},X=I?H.touch:H.mouse,le=!!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,le),document.addEventListener(X.upEvent,X.upHandler,le),y({type:u.columnStartResizing,columnId:x.id,columnWidth:x.totalWidth,headerIdWidths:T,clientX:N})};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,N={};return(F===void 0?[]:F).forEach(function(E){var M=E[0],k=E[1];N[M]=Math.max(k+k*T,0)}),l({},a,{columnResizing:l({},a.columnResizing,{columnWidths:l({},a.columnResizing.columnWidths,{},N)})})}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=z(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);V(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,ie){var U;return l({},L,((U={})[ie.id]=yn(ie.id),U))},{}),I=v.visibleColumns.reduce(function(L,ie){var U;return l({},L,((U={})[ie.id]=ie.minWidth,U))},{}),R=v.visibleColumns.reduce(function(L,ie){var U;return l({},L,((U={})[ie.id]=ie.maxWidth,U))},{}),F=h.map(function(L){var ie=L[0];return[ie,yn(ie)]});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,N=a.columnResizing.startX,E=a.gridLayout,M=E.columnWidth,k=E.minWidths,H=E.maxWidths,X=E.headerIdGridWidths,le=(T-N)/M,_={};return(X===void 0?[]:X).forEach(function(L){var ie=L[0],U=L[1];_[ie]=Math.min(Math.max(k[ie],U+U*le),H[ie])}),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=Y,t.functionalUpdate=B,t.loopHooks=P,t.makePropGetter=C,t.makeRenderer=q,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:[j("p",{children:o(e)}),Re("div",{className:It.btngrp,children:[j(Tt,{onClick:n,ref:i,children:o("close_all_confirm_yes")}),j("div",{style:{width:20}}),j(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),u={sortBy:JSON.parse(localStorage.getItem("tableSortBy"))||[tf],hiddenColumns:t},m=Ft.useTable({columns:r,data:e,initialState:u,autoResetSortBy:!1},Ft.useSortBy),{getTableProps:g,setHiddenColumns:p,headerGroups:b,rows:C,prepareRow:S}=m,P=m.state;G.useEffect(()=>{p(t)},[p,t]);const{t:D,i18n:B}=it();let O;B.language==="zh-CN"?O=Zc:B.language==="zh-TW"?O=Fd:O=Hu;const A=()=>{Wi(n,o),s(!1)},V=Y=>{i(Y),s(!0)},q=(Y,se)=>{switch(Y.column.id){case"ctrl":return j(rc,{style:{cursor:"pointer"},onClick:()=>V(Y.row.original.id)});case"start":return $u(Y.value,0,{locale:se});case"download":case"upload":return Ao(Y.value);case"downloadSpeedCurr":case"uploadSpeedCurr":return Ao(Y.value)+"/s";default:return Y.value}};return G.useEffect(()=>{localStorage.setItem("tableSortBy",JSON.stringify(P.sortBy))},[P.sortBy]),Re("div",{style:{marginTop:"5px"},children:[Re("table",{...g(),className:Ir(yr.table,"connections-table"),children:[j("thead",{children:b.map((Y,se)=>G.createElement("tr",{...Y.getHeaderGroupProps(),className:yr.tr,key:se},Y.headers.map(Q=>Re("th",{...Q.getHeaderProps(Q.getSortByToggleProps()),className:yr.th,children:[j("span",{children:D(Q.render("Header"))}),Q.id!=="ctrl"?j("span",{className:yr.sortIconContainer,children:Q.isSorted?j(Wu,{size:16,className:Q.isSortedDesc?"":yr.rotate180}):null}):null]}))))}),j("tbody",{children:C.map((Y,se)=>(S(Y),j("tr",{className:yr.tr,children:Y.cells.map(Q=>j("td",{...Q.getCellProps(),className:Ir(yr.td,se%2===0?yr.odd:!1,Q.column.id),children:q(Q,O)}))},se)))})]}),j(qn,{confirm:"disconnect",isOpen:l,onRequestClose:()=>s(!1),primaryButtonOnTap:A})]})}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,V=A===void 0?dp:A,q=D.areOwnPropsEqual,Y=q===void 0?Pn:q,se=D.areStatePropsEqual,Q=se===void 0?Pn:se,be=D.areMergedPropsEqual,pe=be===void 0?Pn:be,Le=Nt(D,cp),$=Rn(b,i,"mapStateToProps"),z=Rn(C,s,"mapDispatchToProps"),ue=Rn(S,u,"mergeProps");return n(g,ae({methodName:"connect",getDisplayName:function(Se){return"Connect("+Se+")"},shouldHandleStateChanges:Boolean(b),initMapStateToProps:$,initMapDispatchToProps:z,initMergeProps:ue,pure:O,areStatesEqual:V,areOwnPropsEqual:Y,areStatePropsEqual:Q,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}(re.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}},Nr=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 ae({},r,(o={},o[t.end]=r[t.end]+n.increasedBy[t.line],o))}return r},Np=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=Np(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=ae({},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=ae({},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(ae({},r,{isVisibleThroughFrameFn:yl}))},Cl=function(r){return Pa(ae({},r,{isVisibleThroughFrameFn:Wp}))},jp=function(r){return Pa(ae({},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 Nr(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 Nr(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 Nr(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=Nr(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=ae({},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 V=Zv({current:i.current.client.offset,destination:B,reason:l}),q={newHomeClientOffset:B,dropDuration:V,completed:O};t(_v(q))}}}},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=ae({},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=ae({},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},Na=1,Tg=function(e,r){if(e>r.startScrollingFrom)return 0;if(e<=r.maxScrollValueAt)return xr.maxPixelScroll;if(e===r.startScrollingFrom)return Na;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,Ng=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=Mg({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}),Ma=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=Ma({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 Ma({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:Ma({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,Nn=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=J(ke(function(g){var p=o.current;p||W(!1),p.textContent=g}),[]),l=J(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),Nn().appendChild(g),Nn().appendChild(p),l(t.always),i(t.resting),function(){var b=function(S){var P=S.current;P||W(!1),Nn().removeChild(P),S.current=null};b(n),b(o)}},[r,l,i,t.always,t.resting,e]);var s=J(function(){return i(t.dragging)},[i,t.dragging]),f=J(function(g){if(g==="DROP"){i(t.dropAnimating);return}i(t.userCancel)},[i,t.dropAnimating,t.userCancel]),u=J(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=J(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=J(function(p){var b=Kg(e,p);b&&b!==document.activeElement&&b.focus()},[e]),s=J(function(p,b){t.current===p&&(t.current=b)},[]),f=J(function(){n.current||o.current&&(n.current=requestAnimationFrame(function(){n.current=null;var p=t.current;p&&l(p)}))},[l]),u=J(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=re.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"),ae(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=J(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=re.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=J(function(){var g={passive:!1,capture:!0};t.current=lr(window,[o,n],g)},[o,n]),l=J(function(){var m=r.current;m.type!=="IDLE"&&(r.current=Ii,t.current(),i())},[i]),s=J(function(){var m=r.current;l(),m.type==="DRAGGING"&&m.actions.cancel({shouldBlockNextClick:!0}),m.type==="PENDING"&&m.actions.abort()},[l]),f=J(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=J(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=J(function(){var i={passive:!1,capture:!0};r.current=lr(window,[t],i)},[t]);rr(function(){return n(),function(){r.current()}},[n])}var Mn={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(Mn),t=G.useRef(Cr),n=J(function(){return r.current},[]),o=J(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=J(function(){var b={capture:!0,passive:!1};t.current=lr(window,[i],b)},[i]),s=J(function(){var p=r.current;p.type!=="IDLE"&&(p.type==="PENDING"&&clearTimeout(p.longPressTimerId),o(Mn),t.current(),l())},[l,o]),f=J(function(){var p=r.current;s(),p.type==="DRAGGING"&&p.actions.cancel({shouldBlockNextClick:!0}),p.type==="PENDING"&&p.actions.abort()},[s]),u=J(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=J(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=J(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(Mn))}},[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 Nm(e){return e instanceof _l(e).Element}var Mm=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[Mm](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(!Nm(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(q,Y){Dt({expected:q,phase:p,isLockActive:C,shouldWarn:!0})&&n.dispatch(Y())}var P=S.bind(null,"DRAGGING");function D(q){function Y(){r.release(),p="COMPLETED"}p!=="PRE_DRAG"&&(Y(),p!=="PRE_DRAG"&&W(!1)),n.dispatch(Mv(q.liftActionArgs)),p="DRAGGING";function se(Q,be){if(be===void 0&&(be={shouldBlockNextClick:!1}),q.cleanup(),be.shouldBlockNextClick){var pe=lr(window,[{eventName:"click",fn:$m,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(pe)}Y(),n.dispatch(Ll({reason:Q}))}return ae({isActive:function(){return Dt({expected:"DRAGGING",phase:p,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:b,drop:function(be){return se("DROP",be)},cancel:function(be){return se("CANCEL",be)}},q.actions)}function B(q){var Y=rt(function(Q){P(function(){return Fl({client:Q})})}),se=D({liftActionArgs:{id:i,clientSelection:q,movementMode:"FLUID"},cleanup:function(){return Y.cancel()},actions:{move:Y}});return ae({},se,{move:Y})}function O(){var q={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:q})}function A(){var q=Dt({expected:"PRE_DRAG",phase:p,isLockActive:C,shouldWarn:!0});q&&r.release()}var V={isActive:function(){return Dt({expected:"PRE_DRAG",phase:p,isLockActive:C,shouldWarn:!1})},shouldRespectForcePress:b,fluidLift:B,snapLift:O,abort:A};return V}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=J(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=J(function(D){return es({lockAPI:s,registry:n,store:t,draggableId:D})},[s,n,t]),m=J(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=J(function(D){return Gm(r,D)},[r]),p=J(function(D){var B=n.draggable.findById(D);return B?B.options:null},[n.draggable]),b=J(function(){s.isClaimed()&&(s.tryAbandon(),t.getState().phase!=="IDLE"&&t.dispatch(Ba()))},[s,t]),C=J(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 j($i,{isOpen:e,onRequestClose:r,children:j("div",{children:j(Xm,{onDragEnd:s,children:j(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 j(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:[j(qu,{}),j("span",{className:Wn.columnManageLabel,children:l(m.Header)}),j("div",{className:Wn.columnManageSwitch,children:j(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:[j("thead",{children:Re("tr",{children:[j("th",{children:o("c_source")}),j("th",{children:o("device_name")})]})}),j("tbody",{children:t.map((l,s)=>Re("tr",{children:[j("td",{children:j(kn,{type:"text",name:"reg",autoComplete:"off",value:l.reg,onChange:f=>i("reg",s,f.target.value)})}),j("td",{children:j(kn,{type:"text",name:"name",autoComplete:"off",value:l.name,onChange:f=>i("name",s,f.target.value)})}),j("td",{children:j(Tt,{onClick:()=>t.splice(s,1),children:o("delete")})})]},`${s}`))})]}),Re("div",{children:[j("div",{className:Oi.iptableTipContainer,children:o("sourceip_tip")}),j(Tt,{onClick:()=>t.push({reg:"",name:""}),children:o("add_tag")})]})]})}const{useEffect:Uh,useState:Qe,useRef:qh,useCallback:wr}=re,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:V}=i;let q=p;q===""&&(q=C);const Y=r[o],se=`${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:`${q}:${b}`,sniffHost:V||"-",type:`${D}(${P})`,source:ls(B,n,se),downloadSpeedCurr:s-(Y?Y.download:0),uploadSpeedCurr:l-(Y?Y.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?j(of,{data:t,columns:e,hiddenColumns:r}):j("div",{className:Lr.placeHolder,children:j(Mu,{width:200,height:200,c1:"var(--color-text)"})})}function Ni({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"}],Mi=localStorage.getItem("hiddenColumns"),Fi=localStorage.getItem("columns"),eb=Mi?JSON.parse(Mi):[...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,V]=Qe(""),[q,Y]=Qe(ra),se=Ai(P,A,q),Q=Ai(B,A,q),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,$]=Qe(!1),z=wr(()=>$(!0),[]),ue=wr(()=>$(!1),[]),Ie=wr(async()=>{for(const xe of se)await Wi(e,xe.id);ue()},[e,se,ue]),[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:[j(Nu,{title:r("Connections")}),j("div",{className:Lr.inputWrapper,children:j(kn,{type:"text",name:"filter",autoComplete:"off",className:Lr.input,placeholder:r("Search"),onChange:xe=>V(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:[j("span",{children:r("Active")}),j("span",{className:Lr.connQty,children:j(Ni,{qty:se.length})})]}),Re(Zr,{children:[j("span",{children:r("Closed")}),j("span",{className:Lr.connQty,children:j(Ni,{qty:Q.length})})]})]}),j(Fu,{options:pe,selected:q,style:{width:"unset"},onChange:xe=>Y(xe.target.value)})]}),j("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,se),Re(No,{icon:Oe?j(zu,{size:16}):j(ju,{size:16}),mainButtonStyles:Oe?{background:"#e74c3c"}:{},style:Mo,text:r(Oe?"Resume Refresh":"Pause Refresh"),onClick:ur,children:[j(Br,{text:r("close_all_connections"),onClick:Ee,children:j(To,{size:10})}),j(Br,{text:r("close_filter_connections"),onClick:z,children:j(To,{size:10})}),j(Br,{text:r("manage_column"),onClick:()=>n(!0),children:j(Lo,{size:10})}),j(Br,{text:r("reset_column"),onClick:u,children:j(Fo,{size:10})}),j(Br,{text:r("client_tag"),onClick:dr,children:j(Wo,{size:10})})]})]}),Re(et,{children:[Ti(l,o,Q),Re(No,{icon:j(Lo,{size:16}),style:Mo,text:r("manage_column"),onClick:()=>n(!0),children:[j(Br,{text:r("reset_column"),onClick:u,children:j(Fo,{size:10})}),j(Br,{text:r("client_tag"),onClick:dr,children:j(Wo,{size:10})})]})]})]})}),j(qn,{isOpen:Se,primaryButtonOnTap:Ve,onRequestClose:De}),j(qn,{confirm:"close_filter_connections",isOpen:Le,primaryButtonOnTap:Ie,onRequestClose:ue}),j(Hh,{isOpen:t,onRequestClose:f,columns:l,hiddenColumns:o,setColumns:s,setHiddenColumns:i}),j(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/rootfs/opt/clash/ui/assets/Connections-2b49f1fb.css b/rootfs/opt/clash/ui/assets/Connections-2b49f1fb.css new file mode 100644 index 0000000..ce25575 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Fab-48def6bf.css b/rootfs/opt/clash/ui/assets/Fab-48def6bf.css new file mode 100644 index 0000000..d7bf520 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Fab-e6dedc20.js b/rootfs/opt/clash/ui/assets/Fab-e6dedc20.js new file mode 100644 index 0000000..ebb5cf8 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Fab-e6dedc20.js @@ -0,0 +1 @@ +import{b as e,j as b,s as y,r as l}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/Input-eec9e65c.js b/rootfs/opt/clash/ui/assets/Input-eec9e65c.js new file mode 100644 index 0000000..751032e --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Input-eec9e65c.js @@ -0,0 +1 @@ +import{b as s,t as a,R as f}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/Logs-4c263fad.css b/rootfs/opt/clash/ui/assets/Logs-4c263fad.css new file mode 100644 index 0000000..bf7dfc3 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Logs-8ed10c2c.js b/rootfs/opt/clash/ui/assets/Logs-8ed10c2c.js new file mode 100644 index 0000000..c893195 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Logs-8ed10c2c.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-7c6466d3.js";import{r as E,s as $,f as M}from"./logs-8ad08aa6.js";import{d as F}from"./debounce-c1ba2006.js";import{u as A}from"./useRemainingViewPortHeight-aa016eed.js";import{F as H,p as B}from"./Fab-e6dedc20.js";import{P as D,a as Y}from"./play-4baa6dad.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/rootfs/opt/clash/ui/assets/Proxies-06b60f95.css b/rootfs/opt/clash/ui/assets/Proxies-06b60f95.css new file mode 100644 index 0000000..8b51531 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Proxies-ce7620dc.js b/rootfs/opt/clash/ui/assets/Proxies-ce7620dc.js new file mode 100644 index 0000000..0ef4e45 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Proxies-ce7620dc.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 qe,a3 as Ue,a4 as ge,a5 as He,d as S,c as P,a6 as Ge,O as E,a7 as Ke,a8 as we,a9 as ne,T as xe,N as Ve,F as G,aa as Ye,ab as Ze,ac as Q,P as Xe,ad as Ce,ae as re,af as oe,ag as Qe,ah as Je,u as se,ai as et,aj as Oe,ak as tt,g as Pe,C as ke,S as ae,al as nt,am as rt,an as ot,ao as st,ap as it}from"./index-7c6466d3.js";import{C as J,B as ce}from"./BaseModal-0f630377.js";import{F as at,p as ct,A as lt,I as ut}from"./Fab-e6dedc20.js";import{R as dt,T as ht}from"./TextFitler-2e63abd5.js";import{f as ft}from"./index-84fa0cb3.js";import{R as pt}from"./rotate-cw-76728396.js";import{S as vt}from"./Select-3321dc18.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 yt(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=mt(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 A=ie,_t="_FlexCenter_1380a_1",bt={FlexCenter:_t};function gt({children:e}){return s("div",{className:bt.FlexCenter,children:e})}const{useRef:le,useEffect:wt}=x;function xt({onClickPrimaryButton:e,onClickSecondaryButton:t}){const n=le(null),r=le(null);return wt(()=>{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(gt,{children:[s(_,{onClick:e,ref:n,children:"Yes"}),s("div",{style:{width:20}}),s(_,{onClick:t,ref:r,children:"No"})]})]})}const Ct="_header_19ilz_1",Ot="_arrow_19ilz_9",Pt="_isOpen_19ilz_14",kt="_btn_19ilz_21",Et="_qty_19ilz_26",ue={header:Ct,arrow:Ot,isOpen:Pt,btn:kt,qty:Et};function Ee({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(qe,{name:e,type:t})}),typeof r=="number"?s("span",{className:ue.qty,children:r}):null]})}const{useMemo:Tt}=x;function St(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 Lt(e,t,n,r,o,i){let a=[...e];return n&&(a=St(e,t)),typeof r=="string"&&r!==""&&(a=At(a,r)),Rt[o](a,t,i)}function Te(e,t,n,r,o){const[i]=Ue(ge);return Tt(()=>Lt(e,t,n,i,r,o),[e,t,n,i,r,o])}const Mt="_header_1qjca_1",Nt="_group_1qjca_5",Dt="_zapWrapper_1qjca_12",zt="_arrow_1qjca_20",Bt="_isOpen_1qjca_25",b={header:Mt,group:Nt,zapWrapper:Dt,arrow:zt,isOpen:Bt},Se={Right:39,Left:37,Enter:13,Space:32},$t="_proxy_xgbmr_4",Ft="_now_xgbmr_25",jt="_error_xgbmr_29",It="_selectable_xgbmr_32",Wt="_proxyType_xgbmr_40",qt="_udpType_xgbmr_50",Ut="_tfoType_xgbmr_61",Ht="_row_xgbmr_65",Gt="_proxyName_xgbmr_73",Kt="_proxySmall_xgbmr_84",y={proxy:$t,now:Ft,error:jt,selectable:It,proxyType:Wt,udpType:qt,tfoType:Ut,row:Ht,proxyName:Gt,proxySmall:Kt},Vt="_proxyLatency_1h5y2_4",Yt={proxyLatency:Vt};function Zt({number:e,color:t}){return s("span",{className:Yt.proxyLatency,style:{color:t},children:u("span",{children:[e," ms"]})})}const{useMemo:W}=x,R={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?R.na:eXt({number:l},o),[l]),d=W(()=>{let f=t;return r&&typeof r.number=="number"&&(f+=" "+r.number+" ms"),f},[t,r]),h=k.useCallback(()=>{i&&a&&a(t)},[t,a,i]),m=k.useCallback(f=>{f.keyCode===Se.Enter&&h()},[h]);return s("div",{title:d,className:P(y.proxySmall,{[y.selectable]:i}),style:{background:v,scale:e?"1.2":"1"},onClick:h,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]=Ge();return u(E,{children:[k.cloneElement(e,r),s(Ke,{...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 h(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===Se.Enter&&d()},[d]),f=W(()=>P(y.proxy,{[y.now]:e,[y.error]:r&&r.error,[y.selectable]:i}),[i,e,r]);return u("div",{tabIndex:0,className:f,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:h(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=we(e),r=ne(e),o=xe(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 Le({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 Me({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:de,useEffect:dn}=x;function he(){return s("div",{className:b.zapWrapper,children:s(A,{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:h}){const m=Te(t,n,r,o,i),{data:p}=Ve(["/version",d],()=>Xe("/version",d)),f=un(()=>["Selector",p.meta&&"Fallback",p.meta&&"URLTest"].includes(a),[a,p.meta]),{app:{updateCollapsibleIsOpen:C},proxies:{requestDelayForProxies:g}}=G(),O=Y(()=>{C("proxyGroup",e,!l)},[l,C,e]),V=Y(B=>{f&&h(Ye(d,e,B))},[d,h,e,f]),[L,M]=de(!1),N=Y(async()=>{M(!0);try{p.meta===!0?(await Ze(d,e,v),await h(Q(d))):(await g(d,m),await h(Q(d)))}catch{}M(!1)},[m,d,h,e,p.meta]),[D,w]=de(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(Ee,{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:L,children:s(he,{})})]}):u(E,{children:[s(_,{title:"Test latency",kind:"minimal",onClick:N,isLoading:L,children:s(he,{})}),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?Le:Me,{all:m,now:c,isSelectable:f,itemOnTapCallback:V})]})}const fn=S((e,{name:t,delay:n})=>{const r=we(e),o=Ce(e),i=re(e),a=oe(e),c=xe(e),l=r[t],{all:v,type:d,now:h}=l;return{all:v,delay:n,hideUnavailableProxies:a,proxySortBy:i,proxies:r,type:d,now:h,isOpen:o[`proxyGroup:${t}`],latencyTestUrl:c}})(hn),{useCallback:Ne,useState:pn}=x;function vn({dispatch:e,apiConfig:t,name:n}){return Ne(()=>e(Qe(t,n)),[t,e,n])}function mn({dispatch:e,apiConfig:t,names:n}){const[r,o]=pn(!1);return[Ne(async()=>{if(!r){o(!0);try{await e(Je(t,n))}catch{}o(!1)}},[t,e,n,r]),r]}const{useState:yn,useCallback:_n}=x;function bn({isLoading:e}){return e?s(ut,{children:s(A,{width:16,height:16})}):s(A,{width:16,height:16})}function gn({dispatch:e,apiConfig:t}){const[n,r]=yn(!1);return[_n(()=>{n||(r(!0),e(et(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(at,{icon:s(bn,{isLoading:i}),onClick:o,text:r("Test Latency"),style:ct,children:n.length>0?s(lt,{text:r("update_all_proxy_provider"),onClick:a,children:s(dt,{isRotating:c})}):null})}var De=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}(),ze=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}(),$e=typeof WeakMap<"u"?new WeakMap:new De,Fe=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);$e.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Fe.prototype[e]=function(){var t;return(t=$e.get(this))[e].apply(t,arguments)}});var Fn=function(){return typeof U.ResizeObserver<"u"?U.ResizeObserver:Fe}();const{memo:jn,useState:In,useRef:je,useEffect:Ie}=X;function Wn(e){const t=je();return Ie(()=>void(t.current=e),[e]),t.current}function qn(){const e=je(),[t,n]=In({height:0});return Ie(()=>{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}}},Hn={open:{},closed:{}},pe=jn(({children:e,isOpen:t})=>{const r=Oe.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:Hn,ref:i,children:e})})})}),Gn="_updatedAt_1d817_4",Kn="_body_1d817_12",Vn="_actionFooter_1d817_25",Yn="_refresh_1d817_35",I={updatedAt:Gn,body:Kn,actionFooter:Vn,refresh:Yn},{useState:Zn,useCallback:ve}=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 h=Te(t,n,r,o),[m,p]=Zn(!1),f=vn({dispatch:v,apiConfig:d,name:e}),C=ve(async()=>{p(!0),await v(tt(d,e)),p(!1)},[d,v,e,p]),{app:{updateCollapsibleIsOpen:g}}=G(),O=ve(()=>{g("proxyProvider",e,!l)},[l,g,e]),V=ft(new Date(a),new Date),L=c?me(c.Total):0,M=c?me(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)+"-",We=(w.getDate()<10?"0"+w.getDate():w.getDate())+" ";return z+B+We};return u("div",{className:I.body,children:[u("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",justifyContent:"space-between"},children:[s(Ee,{name:e,toggle:O,type:i,isOpen:l,qty:h.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(ye,{}),onClick:f}),s(_,{kind:"minimal",start:s(A,{size:16}),onClick:C,isLoading:m})]})]}),u("div",{className:I.updatedAt,children:[c&&u("small",{children:[M," / ",L," ( ",N,"% )    Expire: ",D()," "]}),s("br",{}),u("small",{children:["Updated ",V," ago"]})]}),u(pe,{isOpen:l,children:[s(Le,{all:h}),u("div",{className:I.actionFooter,children:[s(_,{text:"Update",start:s(ye,{}),onClick:f}),s(_,{text:"Health Check",start:s(A,{size:16}),onClick:C,isLoading:m})]})]}),s(pe,{isOpen:!l,children:s(Me,{all:h})})]})}const Qn={rest:{scale:1},pressed:{scale:.95}},Jn={rest:{rotate:0},hover:{rotate:360,transition:{duration:.3}}};function me(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 ye(){const t=Oe.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(pt,{size:16})})})}const er=(e,{proxies:t,name:n})=>{const r=oe(e),o=ne(e),i=Ce(e),a=Pe(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:u(E,{children:[s(ke,{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:_e}=x;function sr({appConfig:e}){const{app:{updateAppConfig:t}}=G(),n=_e(i=>{t("proxySortBy",i.target.value)},[t]),r=_e(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(vt,{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=nt(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:be,useRef:vr}=x;function mr({dispatch:e,groupNames:t,delay:n,proxyProviders:r,apiConfig:o,showModalClosePrevConns:i}){const a=vr({}),c=be(()=>{a.current.startAt=Date.now(),e(Q(o)).then(()=>{a.current.completeAt=Date.now()})},[o,e]);pr(()=>{c();const f=()=>{a.current.startAt&&Date.now()-a.current.startAt>3e4&&c()};return window.addEventListener("focus",f,!1),()=>window.removeEventListener("focus",f,!1)},[c]);const[l,v]=fr(!1),d=be(()=>{v(!1)},[]),{proxies:{closeModalClosePrevConns:h,closePrevConnsAndTheModal:m}}=G(),{t:p}=se();return u(E,{children:[s(ce,{isOpen:l,onRequestClose:d,children:s(ar,{})}),u("div",{className:j.topBar,children:[s(ke,{title:p("Proxies")}),u("div",{className:j.topBarRight,children:[s("div",{className:j.textFilterContainer,children:s(ht,{textAtom:ge,placeholder:p("Search")})}),s(rt,{label:p("settings"),children:s(_,{kind:"minimal",onClick:()=>v(!0),children:s(cr,{size:16})})})]})]}),s("div",{children:t.map(f=>s("div",{className:j.group,children:s(fn,{name:f,delay:n,apiConfig:o,dispatch:e})},f))}),s(nr,{items:r}),s("div",{style:{height:60}}),s(wn,{dispatch:e,apiConfig:o,proxyProviders:r}),s(ce,{isOpen:i,onRequestClose:h,children:s(xt,{onClickPrimaryButton:()=>m(o),onClickSecondaryButton:h})})]})}const yr=e=>({apiConfig:Pe(e),groupNames:ot(e),proxyProviders:st(e),delay:ne(e),showModalClosePrevConns:it(e)}),kr=S(yr)(mr);export{kr as default}; diff --git a/rootfs/opt/clash/ui/assets/Rules-162ef666.css b/rootfs/opt/clash/ui/assets/Rules-162ef666.css new file mode 100644 index 0000000..d6191f2 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Rules-2c94a03b.js b/rootfs/opt/clash/ui/assets/Rules-2c94a03b.js new file mode 100644 index 0000000..6c24feb --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Rules-2c94a03b.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-7c6466d3.js";import{_ as G}from"./objectWithoutPropertiesLoose-4f48578a.js";import{R as le,T as ke}from"./TextFitler-2e63abd5.js";import{f as Le}from"./index-84fa0cb3.js";import{F as We,p as De}from"./Fab-e6dedc20.js";import{u as $e}from"./useRemainingViewPortHeight-aa016eed.js";import"./rotate-cw-76728396.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/rootfs/opt/clash/ui/assets/Select-07e025ab.css b/rootfs/opt/clash/ui/assets/Select-07e025ab.css new file mode 100644 index 0000000..13d042e --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Select-3321dc18.js b/rootfs/opt/clash/ui/assets/Select-3321dc18.js new file mode 100644 index 0000000..2bb06f6 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/Select-3321dc18.js @@ -0,0 +1 @@ +import{b as c}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/TextFitler-2e63abd5.js b/rootfs/opt/clash/ui/assets/TextFitler-2e63abd5.js new file mode 100644 index 0000000..9c7b64d --- /dev/null +++ b/rootfs/opt/clash/ui/assets/TextFitler-2e63abd5.js @@ -0,0 +1 @@ +import{c as r,b as n,a3 as u,s as l}from"./index-7c6466d3.js";import{R as p}from"./rotate-cw-76728396.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/rootfs/opt/clash/ui/assets/TextFitler-a112af1a.css b/rootfs/opt/clash/ui/assets/TextFitler-a112af1a.css new file mode 100644 index 0000000..112e3b1 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/Twemoji_Mozilla-6d90152e.ttf b/rootfs/opt/clash/ui/assets/Twemoji_Mozilla-6d90152e.ttf new file mode 100644 index 0000000..9f45178 Binary files /dev/null and b/rootfs/opt/clash/ui/assets/Twemoji_Mozilla-6d90152e.ttf differ diff --git a/rootfs/opt/clash/ui/assets/chart-lib-6081a478.js b/rootfs/opt/clash/ui/assets/chart-lib-6081a478.js new file mode 100644 index 0000000..28bbbe1 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/en-1067a8eb.js b/rootfs/opt/clash/ui/assets/en-1067a8eb.js new file mode 100644 index 0000000..a9a5264 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/index-64292e67.css b/rootfs/opt/clash/ui/assets/index-64292e67.css new file mode 100644 index 0000000..7a505f3 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/index-64292e67.css @@ -0,0 +1 @@ +@charset "UTF-8";@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-0364d368.woff2) format("woff2"),url(./inter-latin-400-normal-3ea830d4.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(./inter-latin-800-normal-a51ac27d.woff2) format("woff2"),url(./inter-latin-800-normal-d08d7178.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-mono-latin-400-normal-7295944e.woff2) format("woff2"),url(./roboto-mono-latin-400-normal-dffdffa7.woff) format("woff")}/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted currentColor;text-decoration:underline dotted currentColor}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}@font-face{font-family:_Twemoji Mozilla;src:url(./Twemoji_Mozilla-6d90152e.ttf) format("truetype")}.relative,.border-left,.border-top,.border-bottom{position:relative}.border-bottom:after,.border-top:before{position:absolute;content:"";height:1px;width:100%;-webkit-transform:scaleY(.5) translateZ(0);transform:scaleY(.5) translateZ(0);left:0;right:0;background:#555}.border-left:before{position:absolute;content:"";height:100%;width:1px;-webkit-transform:scaleX(.5) translateZ(0);transform:scaleX(.5) translateZ(0);top:0;bottom:0;background:#555}.border-top:before{top:0}.border-bottom:after{bottom:0}.border-left:before{left:0}*,*:before,*:after{box-sizing:border-box}:root{--font-mono: "Roboto Mono", Menlo, monospace;--font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "\5fae\8f6f\96c5\9ed1", Arial,"Twemoji Mozilla", "_Twemoji Mozilla","Segoe UI Emoji", "Segoe UI Symbol"}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji",Source Han Sans,PingFang SC,Microsoft YaHei,\5fae\8f6f\96c5\9ed1,Arial,Twemoji Mozilla,_Twemoji Mozilla,"Segoe UI Emoji",Segoe UI Symbol;font-family:var(--font-normal);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0}body ::-webkit-scrollbar{z-index:11;background:transparent}body ::-webkit-scrollbar-thumb{border-radius:5px;background:#306081}body ::-webkit-scrollbar:vertical{width:6px}body ::-webkit-scrollbar:horizontal{height:6px}@media (prefers-color-scheme: dark){:root[data-theme=auto]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-chart: #24292f;--color-bg-card: #24292f;--color-focus-blue: #306081;--btn-bg: #24292f;--color-proxy-border: rgba(0,0,0,0);--card-hover-border-lightness: #306081;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #24292f;--color-sb-active-row-bg: #30363d;--color-sb-active-row-font: #eee;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #202020;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #24292f;color-scheme:dark}}@media (prefers-color-scheme: light){:root[data-theme=auto]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-chart: rgb(245, 245, 245);--color-bg-card: rgb(245, 245, 245);--color-focus-blue: #005caf;--btn-bg: #005caf;--color-proxy-border: rgba(204,204,204,.23137);--card-hover-border-lightness: #005caf;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: rgba(203,203,203,.18431);--color-sb-active-row-bg: #005caf;--color-sb-active-row-font: #040404;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: rgba(255,255,255,.50196);--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #000000;--color-bg-proxy: rgba(219,219,219,.33725);--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: rgba(227,227,227,.31765);color-scheme:light}}@media only screen and (prefers-color-scheme: light) and (min-width: 769px){:root[data-theme=auto]{--color-sb-active-row-font: #eee}}:root[data-theme=dark]{--color-background: #202020;--color-background2: rgba(32, 32, 32, .3);--color-bg-chart: #24292f;--color-bg-card: #24292f;--color-focus-blue: #306081;--btn-bg: #24292f;--color-proxy-border: rgba(0,0,0,0);--card-hover-border-lightness: #306081;--color-text: #ddd;--color-text-secondary: #ccc;--color-text-highlight: #fff;--color-bg-sidebar: #24292f;--color-sb-active-row-bg: #30363d;--color-sb-active-row-font: #eee;--color-input-bg: #2d2d30;--color-input-border: #3f3f3f;--color-toggle-bg: #353535;--color-toggle-selected: #181818;--color-icon: #c7c7c7;--color-separator: #333;--color-btn-bg: #232323;--color-btn-fg: #bebebe;--color-bg-proxy: #202020;--color-row-odd: #282828;--bg-log-info-tag: #454545;--bg-modal: #1f1f20;--bg-near-transparent: rgba(255, 255, 255, .1);--bg-tooltip: #111;--bc-tooltip: #555;--select-border-color: #040404;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23ffffff%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: #24292f;color-scheme:dark}:root[data-theme=light]{--color-background: #eee;--color-background2: rgba(240, 240, 240, .3);--color-bg-chart: rgb(245, 245, 245);--color-bg-card: rgb(245, 245, 245);--color-focus-blue: #005caf;--btn-bg: #005caf;--color-proxy-border: rgba(204,204,204,.23137);--card-hover-border-lightness: #005caf;--color-text: #222;--color-text-secondary: #646464;--color-text-highlight: #040404;--color-bg-sidebar: rgba(203,203,203,.18431);--color-sb-active-row-bg: #005caf;--color-sb-active-row-font: #040404;--color-input-bg: #f0f0f0;--color-input-border: #c0c0c0;--color-toggle-bg: rgba(255,255,255,.50196);--color-toggle-selected: #d7d7d7;--color-icon: #5b5b5b;--color-separator: #ccc;--color-btn-bg: #f4f4f4;--color-btn-fg: #000000;--color-bg-proxy: rgba(219,219,219,.33725);--color-row-odd: #f5f5f5;--bg-log-info-tag: #888;--bg-modal: #fbfbfb;--bg-near-transparent: rgba(0, 0, 0, .1);--bg-tooltip: #f0f0f0;--bc-tooltip: #ccc;--select-border-color: #999999;--select-bg-hover: url(data:image/svg+xml,%0A%20%20%20%20%3Csvg%20width%3D%228%22%20height%3D%2224%22%20viewBox%3D%220%200%208%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%207L7%2011H1L4%207Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%20%20%3Cpath%20d%3D%22M4%2017L1%2013L7%2013L4%2017Z%22%20fill%3D%22%23222222%22%20%2F%3E%0A%20%20%20%20%3C%2Fsvg%3E%0A%20%20);--bg-log-info-card: rgba(227,227,227,.31765);color-scheme:light}@media only screen and (min-width: 769px){:root[data-theme=light]{--color-sb-active-row-font: #eee}}.flexCenter{display:flex;align-items:center;justify-content:center}.fabgrp{position:fixed;z-index:3;right:20px;bottom:20px}.visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;border:0;padding:0}:root{--reach-tooltip: 1}[data-reach-tooltip]{z-index:1;pointer-events:none;position:absolute;padding:.25em .5em;box-shadow:2px 2px 10px #0000001a;white-space:nowrap;font-size:85%;background:var(--bg-tooltip);color:var(--color-text);border:solid 1px var(--bc-tooltip);border-radius:4px}._ul_1d6f2_1{position:relative;margin:0;padding:0;list-style:none;line-height:1.8;--width-max-content: 230px}._li_1d6f2_10{position:relative;margin:5px 0;padding:10px 0;border-radius:10px;display:grid;align-content:center;justify-content:center;place-content:center;grid-template-columns:40px 1fr 40px;grid-template-rows:30px;grid-template-areas:"close url .";grid-column-gap:10px;-webkit-column-gap:10px;column-gap:10px;border:1px solid var(--bg-near-transparent)}._li_1d6f2_10:hover{background-color:var(--bg-near-transparent)}._close_1d6f2_28{opacity:0;grid-area:close;align-self:center;justify-self:center;place-self:center;cursor:pointer}._li_1d6f2_10:hover ._close_1d6f2_28,._li_1d6f2_10:hover ._eye_1d6f2_36{opacity:1}._close_1d6f2_28:focus,._eye_1d6f2_36:focus{opacity:1}._hasSecret_1d6f2_45{grid-template-rows:repeat(2,30px);grid-template-areas:"close url ." "close secret eye"}._url_1d6f2_50{grid-area:url}._secret_1d6f2_54{grid-area:secret}._eye_1d6f2_36{grid-area:eye;opacity:0;align-self:center;justify-self:center;place-self:center;cursor:pointer}._url_1d6f2_50,._secret_1d6f2_54{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._btn_1d6f2_72{outline:none;-webkit-appearance:none;appearance:none;border:1px solid transparent;background-color:transparent;color:inherit;display:flex;align-items:center;padding:5px;border-radius:100px}._btn_1d6f2_72:focus{border-color:var(--color-focus-blue)}._btn_1d6f2_72:hover:enabled{background-color:var(--color-focus-blue);color:#fff}._btn_1d6f2_72:active:enabled{-webkit-transform:scale(.97);transform:scale(.97)}._btn_1d6f2_72:disabled{color:var(--color-text-secondary)}._url_1d6f2_50{cursor:pointer}._url_1d6f2_50:hover{color:var(--color-text-highlight)}._root_zwtea_1:focus{outline:none}._header_zwtea_5{display:flex;justify-content:center;align-items:center}._header_zwtea_5 ._icon_zwtea_10{--stroke: #f3f3f3;color:#20497e;opacity:.7;transition:opacity .4s}._header_zwtea_5 ._icon_zwtea_10:hover{opacity:1}._body_zwtea_20{padding:15px 0 0}._hostnamePort_zwtea_24{display:flex}._hostnamePort_zwtea_24 div{flex:1 1 auto}._hostnamePort_zwtea_24 div:nth-child(2){flex-grow:0;flex-basis:120px;margin-left:10px}._error_zwtea_36{height:20px;font-size:.8em;color:#ff8b8b}._footer_zwtea_42{padding:5px 0 10px;display:flex;justify-content:flex-end;align-items:center}._btn_vsco8_4{-webkit-appearance:none;outline:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--color-btn-fg);background:var(--color-btn-bg);border:1px solid #555;border-radius:100px;font-size:.75em;padding:4px 7px}._btn_vsco8_4:focus{border-color:var(--color-focus-blue)}._btn_vsco8_4:hover{color:#fff;background:var(--color-focus-blue);border:1px solid var(--color-focus-blue)}._btn_vsco8_4:active{-webkit-transform:scale(.97);transform:scale(.97)}@media screen and (min-width: 30em){._btn_vsco8_4{font-size:small;padding:6px 12px}}._btn_vsco8_4._minimal_vsco8_37{border-color:transparent;background:none}._btn_vsco8_4._minimal_vsco8_37:focus{border-color:var(--color-focus-blue)}._btn_vsco8_4._minimal_vsco8_37:hover{color:#fff;background:var(--color-focus-blue);border:1px solid var(--color-focus-blue)}._btn_vsco8_4:disabled{opacity:.5}._btnInternal_vsco8_54{display:flex;align-items:center;justify-content:center;-webkit-column-gap:4px;column-gap:4px}._btnStart_vsco8_61{display:inline-flex;align-items:center;justify-content:center}._loadingContainer_vsco8_67{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:inline-flex}h2._sectionNameType_k6imc_4{margin:0;font-size:1em}@media screen and (min-width: 30em){h2._sectionNameType_k6imc_4{font-size:1.3em}}h2._sectionNameType_k6imc_4 span:nth-child(2){font-size:12px;color:#777;font-weight:400;margin:0 .3em}@media (prefers-color-scheme: dark){:root[data-theme=auto]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5);color-scheme:dark}}@media (prefers-color-scheme: light){:root[data-theme=auto]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1);color-scheme:light}}:root[data-theme=dark]{--loading-dot-1-1: rgba(255, 255, 255, .5);--loading-dot-1-2: rgba(255, 255, 255, .1);--loading-dot-1-3: rgba(255, 255, 255, .3);--loading-dot-2-1: rgba(255, 255, 255, .3);--loading-dot-2-2: rgba(255, 255, 255, .5);--loading-dot-2-3: rgba(255, 255, 255, .1);--loading-dot-3-1: rgba(255, 255, 255, .1);--loading-dot-3-2: rgba(255, 255, 255, .3);--loading-dot-3-3: rgba(255, 255, 255, .5);color-scheme:dark}:root[data-theme=light]{--loading-dot-1-1: rgba(0, 0, 0, .1);--loading-dot-1-2: rgba(0, 0, 0, .5);--loading-dot-1-3: rgba(0, 0, 0, .3);--loading-dot-2-1: rgba(0, 0, 0, .3);--loading-dot-2-2: rgba(0, 0, 0, .1);--loading-dot-2-3: rgba(0, 0, 0, .5);--loading-dot-3-1: rgba(0, 0, 0, .5);--loading-dot-3-2: rgba(0, 0, 0, .3);--loading-dot-3-3: rgba(0, 0, 0, .1);color-scheme:light}._loadingDot_k6imc_75,._loadingDot_k6imc_75:before,._loadingDot_k6imc_75:after{display:inline-block;vertical-align:middle;width:6px;height:6px;border-radius:50%;font-size:0}._loadingDot_k6imc_75{position:relative;background-color:var(--loading-dot-2-1);-webkit-animation:_dot2_k6imc_1 1s step-start infinite;animation:_dot2_k6imc_1 1s step-start infinite}._loadingDot_k6imc_75:before{content:"";position:absolute;left:-12px;background-color:var(--loading-dot-1-1);-webkit-animation:_dot1_k6imc_1 1s step-start infinite;animation:_dot1_k6imc_1 1s step-start infinite}._loadingDot_k6imc_75:after{content:"";position:absolute;right:-12px;background-color:var(--loading-dot-3-1);-webkit-animation:_dot3_k6imc_1 1s step-start infinite;animation:_dot3_k6imc_1 1s step-start infinite}@-webkit-keyframes _dot1_k6imc_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@keyframes _dot1_k6imc_1{0%,to{background-color:var(--loading-dot-1-1)}33%{background-color:var(--loading-dot-1-2)}66%{background-color:var(--loading-dot-1-3)}}@-webkit-keyframes _dot2_k6imc_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@keyframes _dot2_k6imc_1{0%,to{background-color:var(--loading-dot-2-1)}33%{background-color:var(--loading-dot-2-2)}66%{background-color:var(--loading-dot-2-3)}}@-webkit-keyframes _dot3_k6imc_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}@keyframes _dot3_k6imc_1{0%,to{background-color:var(--loading-dot-3-1)}33%{background-color:var(--loading-dot-3-2)}66%{background-color:var(--loading-dot-3-3)}}._root_1or8t_1{position:relative;padding:10px 0}._root_1or8t_1 input{-webkit-appearance:none;background-color:transparent;background-image:none;border:none;border-radius:0;border-bottom:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:40px;outline:none;padding:0 4px;width:100%}._root_1or8t_1 input:focus{border-color:var(--color-focus-blue)}._root_1or8t_1 label{position:absolute;left:5px;bottom:22px;transition:-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out;transition:transform .15s ease-in-out,-webkit-transform .15s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0;font-size:.9em}._root_1or8t_1 label._floatAbove_1or8t_32{-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._root_1or8t_1 input:focus+label{color:var(--color-focus-blue);-webkit-transform:scale(.75) translateY(-25px);transform:scale(.75) translateY(-25px)}._path_r8pm3_1{stroke-dasharray:890;stroke-dashoffset:890;-webkit-animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite;animation:_dash_r8pm3_1 3s ease-in-out forwards normal infinite}@-webkit-keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}@keyframes _dash_r8pm3_1{0%{stroke-dashoffset:890}to{stroke-dashoffset:0}}._root_ul0od_4{height:76px;display:flex;align-items:center}._h1_ul0od_10{white-space:nowrap;padding:0 15px;font-size:1.7em;text-align:left;margin:0}@media screen and (min-width: 30em){._h1_ul0od_10{padding:0 40px;font-size:2em}}._root_10mcy_4{padding:6px 15px}@media screen and (min-width: 30em){._root_10mcy_4{padding:10px 40px}}._mono_10mcy_13{font-family:var(--font-mono)}._link_10mcy_17{color:var(--color-text-secondary);display:inline-flex}._link_10mcy_17:hover{color:var(--color-text-highlight)}._iconWrapper_1rpjb_1{--sz: 40px;width:40px;width:var(--sz);height:40px;height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text)}._iconWrapper_1rpjb_1:hover{opacity:.6}._iconWrapper_1rpjb_1:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_1rpjb_21{--sz: 40px;position:relative;display:flex;align-items:center;height:40px;height:var(--sz)}._themeSwitchContainer_1rpjb_21 select{cursor:pointer;padding-left:var(--sz);width:var(--sz);height:var(--sz);-webkit-appearance:none;appearance:none;outline:none;border-radius:100%;border:1px solid transparent;background:var(--color-bg-sidebar)}._themeSwitchContainer_1rpjb_21 select:focus{border-color:var(--color-focus-blue)}._themeSwitchContainer_1rpjb_21 select option{background:var(--color-bg-sidebar)}._themeSwitchContainer_1rpjb_21 ._iconWrapper_1rpjb_1{pointer-events:none;width:100%;height:100%;position:absolute;left:0;top:0}._content_b98hm_1._content_b98hm_1{background:none;position:fixed;top:0;bottom:0;left:0;right:0;-webkit-transform:none;transform:none;padding:0;border-radius:0;display:flex;justify-content:center;overflow-y:auto}._container_b98hm_16{position:relative;margin-left:20px;margin-right:20px}._overlay_b98hm_22._overlay_b98hm_22{background-color:var(--color-background)}._fixed_b98hm_26{position:fixed;padding:16px;bottom:0;right:0}._overlay_fy74n_1{position:fixed;top:0;right:0;left:0;bottom:0;background:#444;z-index:1024;display:flex;align-items:center;justify-content:center}._content_fy74n_14{outline:none;color:var(--color-text);background:#444;padding:20px;border-radius:10px}._root_16avz_1{position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden;padding:20px;background:var(--color-background);color:var(--color-text);text-align:center}._yacd_16avz_14{color:#2a477a;opacity:.6;display:flex;justify-content:center;align-items:center;padding:40px}._link_16avz_23{display:inline-flex;align-items:center;color:var(--color-text-secondary)}._link_16avz_23:hover,._link_16avz_23:active{color:var(--color-focus-blue)}._link_16avz_23 svg{margin-right:5px}._root_1ddes_4{padding:6px 15px}@media screen and (min-width: 30em){._root_1ddes_4{padding:10px 40px}}._chart_1ddes_13{margin-top:25px;height:50vh;display:grid;grid-gap:20px;grid-template-columns:100%;justify-content:space-around}@media only screen and (min-width: 600px){._chart_1ddes_13{height:55vh}}@media only screen and (min-width: 768px){._chart_1ddes_13{height:60vh}}@media only screen and (min-width: 1200px){._chart_1ddes_13{height:75vh}}._loading_wpm96_1{width:100%;height:100%;display:flex;justify-content:center;align-items:center}._spinner_wpm96_9{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:_rotate_wpm96_1 1s steps(12,end) infinite;animation:_rotate_wpm96_1 1s steps(12,end) infinite;background:transparent url('data:image/svg+xml;charset=utf8, %3Csvg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 100 100"%3E%3Cpath fill="none" d="M0 0h100v100H0z"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23E9E9E9" rx="5" ry="5" transform="translate(0 -30)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23989697" rx="5" ry="5" transform="rotate(30 105.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%239B999A" rx="5" ry="5" transform="rotate(60 75.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23A3A1A2" rx="5" ry="5" transform="rotate(90 65 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23ABA9AA" rx="5" ry="5" transform="rotate(120 58.66 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23B2B2B2" rx="5" ry="5" transform="rotate(150 54.02 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23BAB8B9" rx="5" ry="5" transform="rotate(180 50 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23C2C0C1" rx="5" ry="5" transform="rotate(-150 45.98 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23CBCBCB" rx="5" ry="5" transform="rotate(-120 41.34 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23D2D2D2" rx="5" ry="5" transform="rotate(-90 35 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23DADADA" rx="5" ry="5" transform="rotate(-60 24.02 65)"/%3E%3Crect width="7" height="20" x="46.5" y="40" fill="%23E2E2E2" rx="5" ry="5" transform="rotate(-30 -5.98 65)"/%3E%3C/svg%3E') no-repeat;background-size:100%}@-webkit-keyframes _rotate_wpm96_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}@keyframes _rotate_wpm96_1{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}._TrafficChart_13afo_1{height:23vh!important}._TrafficChart_13afo_1{color:var(--color-text);background-color:var(--color-bg-chart);box-shadow:0 1px 5px #0000001a}@media only screen and (min-width: 600px){._TrafficChart_13afo_1{height:25vh!important}}@media only screen and (min-width: 768px){._TrafficChart_13afo_1{height:27vh!important}}@media only screen and (min-width: 1200px){._TrafficChart_13afo_1{height:35vh!important}}._TrafficNow_w4nk9_2{color:var(--color-text);align-items:center;flex-wrap:wrap;display:grid;grid-gap:10px;grid-template-columns:90%;justify-content:space-between}@media only screen and (min-width: 300px){._TrafficNow_w4nk9_2{grid-template-columns:49% 49%}}@media only screen and (min-width: 600px){._TrafficNow_w4nk9_2{grid-template-columns:repeat(auto-fill,32%)}}@media only screen and (min-width: 1000px){._TrafficNow_w4nk9_2{grid-template-columns:repeat(auto-fill,24%)}}@media only screen and (min-width: 1200px){._TrafficNow_w4nk9_2{grid-template-columns:repeat(auto-fill,15%)}}._TrafficNow_w4nk9_2 ._sec_w4nk9_35{padding:10px;background-color:var(--color-bg-card);border-radius:10px;box-shadow:0 1px 5px #0000001a}._TrafficNow_w4nk9_2 ._sec_w4nk9_35 div:nth-child(1){color:var(--color-text-secondary);font-size:.7em}._TrafficNow_w4nk9_2 ._sec_w4nk9_35 div:nth-child(2){padding:10px 0 0;font-size:1.2em}@media only screen and (min-width: 720px){._TrafficNow_w4nk9_2 ._sec_w4nk9_35 div:nth-child(2){font-size:1.1em}}._lo_pmly2_1{opacity:.5;width:100%;height:100%;display:flex;justify-content:center;align-items:center}._root_hmmtd_4{background:var(--color-bg-sidebar);min-width:150px;position:relative}._logo_meta_hmmtd_10{margin-top:12px;height:120px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAAN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media (max-width: 768px){._logo_meta_hmmtd_10{display:none}}._logo_singbox_hmmtd_24{margin-top:12px;height:120px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNyIgaGVpZ2h0PSIxMTA5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBvdmVyZmxvdz0iaGlkZGVuIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImZ4MCIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyMCUiIGhlaWdodD0iMTIwJSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwcmltaXRpdmVVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8ZmVDb21wb25lbnRUcmFuc2ZlciBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgogICAgICAgIDxmZUZ1bmNSIHR5cGU9ImRpc2NyZXRlIiB0YWJsZVZhbHVlcz0iMCAwIiAvPgogICAgICAgICAgPGZlRnVuY0cgdHlwZT0iZGlzY3JldGUiIHRhYmxlVmFsdWVzPSIwIDAiIC8+CiAgICAgICAgICA8ZmVGdW5jQiB0eXBlPSJkaXNjcmV0ZSIgdGFibGVWYWx1ZXM9IjAgMCIgLz4KICAgICAgICAgIDxmZUZ1bmNBIHR5cGU9ImxpbmVhciIgc2xvcGU9IjAuNCIgaW50ZXJjZXB0PSIwIiAvPgogICAgICA8L2ZlQ29tcG9uZW50VHJhbnNmZXI+CiAgICAgICAgPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iNC41ODMzMyA0LjU4MzMzIiAvPgogICAgPC9maWx0ZXI+CiAgICAgIDxjbGlwUGF0aCBpZD0iY2xpcDEiPgogICAgICA8cmVjdCB4PSI2OTIiIHk9Ijg1NSIgd2lkdG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zLjQxIDEzMTAuMjFaIiBmaWxsPSIjQ0NENkREIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIC8+CiAgICAgICAgPHBhdGggZD0iTTE1NTQuOSAxNDM1LjQ4IDE1NTQuOSAxMzI0LjE5QzE1NTQuOSAxMzE3LjAxIDE1NTEuMyAxMzEzLjQyIDE1NDQuMTEgMTMwOS44MyAxNDAwLjI4IDEyMTIuODkgMTA1OC42NyA5ODYuNzIxIDEwMTUuNTEgOTU4TDk0MCAxMDA4LjI2QzEwNjIuMjYgMTA5MC44MyAxMzg5LjQ5IDEzMDYuMjQgMTQ3NS43OSAxMzY3LjI3IDE0ODYuNTggMTM3NC40NSAxNDg2LjU4IDEzODEuNjMgMTQ4Ni41OCAxMzg1LjIyTDE0ODYuNTggMTUzNiAxNTIyLjU0IDE1MTAuODdDMTU1OC41IDE0ODUuNzQgMTU1NC45IDE0NjcuNzkgMTU1NC45IDE0MzUuNDhaIiBmaWxsPSIjQ0NENkREIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIC8+CiAgICAgICAgPHBhdGggZD0iTTE1NDMuMjMgMTMwOS45NUMxMzk5LjYgMTIxMi45OCAxMDU4LjQ5IDk4Ni43MzEgMTAxNS40IDk1OEw5NDAgMTAwOC4yOEMxMDYyLjA4IDEwOTAuODggMTM4OC44MyAxMzA2LjM2IDE0NzUuMDEgMTM2Ny40MSAxNDc1LjAxIDEzNjcuNDEgMTQ3OC42IDEzNzEgMTQ3OC42IDEzNzFMMTU1NCAxMzE3LjEzQzE1NDYuODIgMTMxMy41NCAxNTQ2LjgyIDEzMDkuOTUgMTU0My4yMyAxMzA5Ljk1WiIgZmlsbD0iI0UxRThFRCIgZmlsbC1ydWxlPSJldmVub2RkIiAvPgogIDwvZz4KPC9zdmc+);background-size:80px;background-repeat:no-repeat;background-position:center}@media (max-width: 768px){._logo_singbox_hmmtd_24{display:none}}@media (max-width: 768px){._rows_hmmtd_39{display:flex;justify-content:space-between;overflow:auto}}._row_hmmtd_39{color:var(--color-text);-webkit-text-decoration:none;text-decoration:none;display:flex;align-items:center;padding:6px 10px}@media screen and (min-width: 30em){._row_hmmtd_39{padding:8px 20px}}@media (max-width: 768px){._row_hmmtd_39{flex-direction:column}}._row_hmmtd_39 svg{color:var(--color-icon);width:22px;height:22px}@media screen and (min-width: 30em){._row_hmmtd_39 svg{width:24px;height:24px}}._rowActive_hmmtd_76{background:var(--color-sb-active-row-bg);color:var(--color-sb-active-row-font)}@media (max-width: 768px){._rowActive_hmmtd_76{background:none;border-bottom:2px solid var(--color-focus-blue)}}._label_hmmtd_87{padding-left:14px;font-size:.75em}@media (max-width: 768px){._label_hmmtd_87{padding-left:0;padding-top:5px}}@media screen and (min-width: 30em){._label_hmmtd_87{font-size:1em}}._footer_hmmtd_103{position:absolute;bottom:10px;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%)}@media (max-width: 768px){._footer_hmmtd_103{display:none}}._iconWrapper_hmmtd_115{--sz: 40px;width:40px;width:var(--sz);height:40px;height:var(--sz);display:flex;justify-content:center;align-items:center;outline:none;padding:5px;color:var(--color-text);border-radius:100%;border:1px solid transparent}._iconWrapper_hmmtd_115:hover{opacity:.6}._iconWrapper_hmmtd_115:focus{border-color:var(--color-focus-blue)}._input_12jxq_1{-webkit-appearance:none;background-color:var(--color-input-bg);background-image:none;border-radius:4px;border:1px solid var(--color-input-border);box-sizing:border-box;color:inherit;display:inline-block;font-size:inherit;height:35px;outline:none;padding:0 15px;width:100%;font-size:small}._input_12jxq_1:focus{box-shadow:#4299e199 0 0 0 3px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}._ToggleSwitch_10mtp_1{-webkit-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;border:1px solid #525252;color:var(--color-text);background:var(--color-toggle-bg);display:flex;position:relative;outline:none}._ToggleSwitch_10mtp_1:focus{border-color:var(--color-focus-blue)}._ToggleSwitch_10mtp_1 input{position:absolute;left:0;opacity:0}._ToggleSwitch_10mtp_1 label{z-index:2;display:flex;align-items:center;justify-content:center;padding:10px 0;cursor:pointer}._slider_10mtp_28{z-index:1;position:absolute;display:block;left:0;height:100%;transition:left .2s ease-out;background:var(--color-toggle-selected)}._app_tjhhp_1{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;background:var(--color-background);color:var(--color-text)}@media (max-width: 768px){._app_tjhhp_1{flex-direction:column}}._content_tjhhp_17{flex-grow:1;overflow-y:auto} diff --git a/rootfs/opt/clash/ui/assets/index-7c6466d3.js b/rootfs/opt/clash/ui/assets/index-7c6466d3.js new file mode 100644 index 0000000..2741e50 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/index-7c6466d3.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 Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||g_,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return o()?{}:{obj:e,k:r(i.shift())}}function 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 Mt(n,[{key:"addNamespaces",value:function(o){this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}},{key:"removeNamespaces",value:function(o){var i=this.options.ns.indexOf(o);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(o,i,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[o,i];a&&typeof a!="string"&&(c=c.concat(a)),a&&typeof a=="string"&&(c=c.concat(l?a.split(l):a)),o.indexOf(".")>-1&&(c=o.split("."));var f=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 Mt(n,[{key:"changeLanguage",value:function(o){o&&(this.language=o)}},{key:"exists",value:function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(o==null)return!1;var a=this.resolve(o,i);return a&&a.res!==void 0}},{key:"extractFromKey",value:function(o,i){var a=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ns||this.options.defaultNS||[],u=a&&o.indexOf(a)>-1,c=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!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,M=!this.i18nFormat||this.i18nFormat.handleAsObject,G=typeof h!="string"&&typeof h!="boolean"&&typeof h!="number";if(M&&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(M&&typeof N=="string"&&k==="[object Array]")h=h.join(N),h&&(h=this.extendTranslation(h,o,i,a));else{var I=!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&&(I=!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||I||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 M="".concat(i.options.pluralSeparator,"zero");if(_&&(T.push(v+N),m&&T.push(v+M)),h){var G="".concat(v).concat(i.options.contextSeparator).concat(a.context);T.push(G),_&&(T.push(G+N),m&&T.push(G+M))}}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 Mt(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],o=n.split("-");return this.options.lowerCaseLng?o=o.map(function(i){return i.toLowerCase()}):o.length===2?(o[0]=o[0].toLowerCase(),o[1]=o[1].toUpperCase(),r.indexOf(o[1].toLowerCase())>-1&&(o[1]=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 M_=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 Mt(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,r);return this.shouldUseIntlApi()?o&&o.resolvedOptions().pluralCategories.length>1:o&&o.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,o).map(function(i){return"".concat(r).concat(i)})}},{key:"getSuffixes",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,o);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(a,s){return 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 Mt(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape: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 xn(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,xn(xn({},r),{},{style:"currency"}));return function(i){return o.format(i)}}),datetime:Wr(function(n,r){var o=new Intl.DateTimeFormat(n,xn({},r));return function(i){return o.format(i)}}),relativetime:Wr(function(n,r){var o=new Intl.RelativeTimeFormat(n,xn({},r));return function(i){return o.format(i,r.range||"day")}}),list:Wr(function(n,r){var o=new Intl.ListFormat(n,xn({},r));return function(i){return o.format(i)}})},this.init(t)}return Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},o=r.interpolation;this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=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,_,xn(xn(xn({},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 Mt(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 Mt(n,[{key:"init",value:function(){var o=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(a=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=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 M_(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 I_(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 Mt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=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 I=w.shift();return{done:I===void 0,value:I}}};return s.iterable&&(P[Symbol.iterator]=function(){return P}),P}function v(w){this.map={},w instanceof v?w.forEach(function(P,I){this.append(I,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 I=this.map[w];this.map[w]=I?I+", "+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 I in this.map)this.map.hasOwnProperty(I)&&w.call(P,this.map[I],I,this)},v.prototype.keys=function(){var w=[];return this.forEach(function(P,I){w.push(I)}),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,I){w.push([I,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,I){w.onload=function(){P(w.result)},w.onerror=function(){I(w.error)}})}function m(w){var P=new FileReader,I=_(P);return P.readAsArrayBuffer(w),I}function h(w){var P=new FileReader,I=_(P);return P.readAsText(w),I}function g(w){for(var P=new Uint8Array(w),I=new Array(P.length),C=0;C-1?P:w}function M(w,P){P=P||{};var I=P.body;if(w instanceof M){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,!I&&w._bodyInit!=null&&(I=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")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(I)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})};function G(w){var P=new FormData;return w.trim().split("&").forEach(function(I){if(I){var C=I.split("="),O=C.shift().replace(/\+/g," "),A=C.join("=").replace(/\+/g," ");P.append(decodeURIComponent(O),decodeURIComponent(A))}}),P}function $(w){var P=new v,I=w.replace(/\r?\n[\t ]+/g," ");return I.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(M.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,I){this.message=P,this.name=I;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(I,C){var O=new M(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;I(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=M,i.Response=X),a.Headers=v,a.Request=M,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 wn;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?wn=global.fetch:typeof window<"u"&&window.fetch?wn=window.fetch:wn=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));!wn&&gp&&!Ai&&!Ls&&(wn=xg||gp);typeof wn!="function"&&(wn=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){wn(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(){},wn&&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 Mi(e){return Mi=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},Mi(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 Mt(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(o){r.usedNamespaces[o]||(r.usedNamespaces[o]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function Mb(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 Ib(e,t){return gg(e)||Mb(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(M){return bb(M,a,u)});function v(){return a.getFixedT(null,u.nsMode==="fallback"?d:d[0],f)}var y=L.useState(v),_=Ib(y,2),m=_[0],h=_[1],g=d.join(),S=Db(g),k=L.useRef(!0);L.useEffect(function(){var M=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 M&&a&&a.on(M,$),G&&a&&a.store.on(G,$),function(){k.current=!1,M&&a&&M.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(M){bp(a,d,function(){M()})})}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,I(k);else{var A=n(u);A!==null&&C(S,A.startTime-O)}}function k(O,A){v=!1,y&&(y=!1,m(M),M=-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,M=-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(M),M=-1):y=!0,C(S,D-z))):(O.sortIndex=b,t(l,O),v||p||(v=!0,I(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 Ig:return(e.displayName||"Context")+".Consumer";case Mg: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 Ln: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=Ma.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 Ia=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,Mc=null,yi=null,Ic=!1;function Gp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ic||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(Mc,"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,mn=1<<32-qt(t)+o|n<M?(G=N,N=null):G=N.sibling;var $=d(m,N,g[M],S);if($===null){N===null&&(N=G);break}e&&N&&$.alternate===null&&t(m,N),h=i($,h,M),T===null?k=$:T.sibling=$,T=$,N=G}if(M===g.length)return n(m,N),Ce&&fr(m,M),k;if(N===null){for(;MM?(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,M),T===null?k=X:T.sibling=X,T=X,N=G}if($.done)return n(m,N),Ce&&fr(m,M),k;if(N===null){for(;!$.done;M++,$=g.next())$=f(m,$.value,S),$!==null&&(h=i($,h,M),T===null?k=$:T.sibling=$,T=$);return Ce&&fr(m,M),k}for(N=r(m,N);!$.done;M++,$=g.next())$=p(N,m,M,$.value,S),$!==null&&(e&&$.alternate!==null&&N.delete($.key===null?M:$.key),h=i($,h,M),T===null?k=$:T.sibling=$,T=$);return e&&N.forEach(function(ce){return t(m,ce)}),Ce&&fr(m,M),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===Ln&&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 Ln: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 Mu=[];function Rd(){for(var e=0;en?n:4,e(!0);var r=Iu.transition;Iu.transition={};try{e(!1),t()}finally{ve=n,Iu.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=gn,r=mn;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 Ml(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 kn(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,kn(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,kn(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)}kn(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)}kn(e,t,n);break;case 21:kn(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,kn(e,t,n),Ge=r):kn(e,t,n);break;default:kn(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()-Md?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=En(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=M2(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=Cn(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=Cn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Sn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),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),Iy(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 M2(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 Mg:a=10;break e;case Ig:a=9;break e;case rd:a=11;break e;case od:a=14;break e;case Ln: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 I2(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 I2(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 M0(){}M0.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:M0,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=I0;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 I0(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);I0(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 Io={};Object.defineProperty(Io,"__esModule",{value:!0});Io.resetState=EC;Io.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)})};Io.add=function(t,n){return xC(t.classList,t.nodeName.toLowerCase()=="html"?Ei:Ci,n.split(" "))};Io.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=IC;Wd.log=DC;var NC=Do,AC=MC(NC);function MC(e){return e&&e.__esModule?e:{default:e}}var Ke=void 0,jt=void 0,br=[];function IC(){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 Mv=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 s$(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 An(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=An(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,I,C){return m=C?[P].concat(m):[].concat(m,[P]),C?[I].concat(w):[].concat(w,[I])},k=function(w,P,I,C){if(h)return Promise.reject("Cancelled");if(typeof I>"u"&&!P&&w.length)return Promise.resolve(w);var O={queryKey:t.queryKey,signal:_,pageParam:I,meta:t.meta},A=g(O),D=Promise.resolve(A).then(function(b){return S(w,I,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",M=N?c:Wv(t.options,p);T=k(p,N,M)}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]))})},I=1;I"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=An(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=An(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(),M=!N&&Hv(o,i),G=N&&qv(o,a,i,s);(M||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 MR=/^:\w+$/,IR=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+(MR.test(i)?IR: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 MO 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 IO 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 MO(e))}function Hl(e){return Object.freeze(new IO(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,M(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,It=bt?ue[Fe]:T,zr=It._modify(E,F,H+r,q,Q,ne,ee);if(It===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),It=void 0;if(N(ot)&&!N(Fe))++te,It=y(bt,Ee,Fe,ue);else if(!N(ot)&&N(Fe)){if(--te,te<=s)return w(E,te,Ee,ue);It=y(bt,Ee,T,ue)}else It=y(bt,Ee,Fe,ue);return bt?(this.size=te,this.children=It,this):X(E,te,It)};T._modify=function(x,E,F,H,q,Q,ne){var ee=H();return ee===l?T:(++ne.value,M(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 Mx(e,t){const n=new Set(e);return n.add(t),n}function Ix(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:Mx,setByDeletingFromSet:Ix,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=M1(n);for(const o of t)pk(e,r,o);return I1(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 M1(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function I1(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:I1,copyTreeState:M1,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:Mk}=L0;var Ik={unstable_batchedUpdates:Mk};const{unstable_batchedUpdates:Dk}=Ik;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 MP(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 IP({setNotifyBatcherOfChange:e}){const t=ru(),[,n]=NP([]);return e(()=>n({})),_f(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),_f(()=>{hx.enqueueExecution("Batcher",()=>{MP(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(IP,{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 On={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}=On,{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}=On,{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 MT(){const e=uh();return iu(t=>cw(e.current,t),[e])}var fw={useRecoilSnapshot:AT,gotoSnapshot:cw,useGotoRecoilSnapshot:MT,useRecoilTransactionObserver:NT,useTransactionObservation_DEPRECATED:LT,useTransactionSubscription_DEPRECATED:au};const{peekNodeInfo:IT}=ir,{useStoreRef:DT}=On;function $T(){const e=DT();return({key:t})=>IT(e.current,e.current.getState().currentTree,t)}var UT=$T;const{reactMode:FT}=ba,{RecoilRoot:jT,useStoreRef:BT}=On,{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}=On,{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}=On,{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}=On,{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},ML=AL.LRUCache,yw=Object.freeze({__proto__:null,LRUCache:ML});const{LRUCache:IL}=yw,{TreeCache:DL}=gw;function $L({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new IL({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){I(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 M(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),I(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 I(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(()=>M(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:Mn,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 Mn?d(h,g):Re(z)?Yu(z.then(b=>b instanceof Mn?a.toPromise():b)):qr(z)}return cN(h,D)},P=function(D){return w(D).toPromise()},I=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 Mn)?{...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:I});if(z!=null){var M;l.set(h,[...(M=l.get(h))!==null&&M!==void 0?M:[],z])}}catch(z){$=z,ce=!0}if(X=!1,!($ instanceof Mn)){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 Mn?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 Mn)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 Mn?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 Mn?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 MN(e){return AN(e)}var IN=MN;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}=On,{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:IN,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,l$=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 u$(e,t){let n=String(e);for(;n.length=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MA(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 IA=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 Mw="/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 Iw(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();Iw(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},f$=e=>e.configs.configs,n3=e=>e.configs.haveFetchedConfig,d$=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 h$(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 p$(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 v$(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 m$(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 g$(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 y$(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,w$=e=>e.app.collapsibleIsOpen,S$=e=>e.app.proxySortBy,_$=e=>e.app.hideUnavailableProxies,a3=e=>e.app.autoCloseOldConns,b$=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:9090",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=M3(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=I3[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)),Mr(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(Mr(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 Mf(e){e.P||(e.P=!0,e.l&&Mf(e.l))}function nc(e){e.o||(e.o=Rh(e.t))}function If(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(!Mr(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,M3=Object.getOwnPropertyDescriptors||function(e){var t={};return Ph(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},I3={},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||!Mr(r)?r:r===tc(e.t,t)?(nc(e),e.o[t]=If(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),Mf(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),Mf(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:Mm,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=Mm(()=>r.current,[]);z3(()=>{},[a]);const s=Mm((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:yn.ul,children:e.map((a,s)=>R("li",{className:Ar(yn.li,{[yn.hasSecret]:a.secret,[yn.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?IA:UA,l=L.useCallback(u=>{u.stopPropagation()},[]);return le(Cr,{children:[R(Im,{disabled:n,onClick:()=>r({baseURL:e,secret:t}),className:yn.close,children:R(KA,{size:20})}),R("span",{className:yn.url,tabIndex:0,role:"button",onClick:()=>o({baseURL:e,secret:t}),onKeyUp:l,children:e}),R("span",{}),t?le(Cr,{children:[R("span",{className:yn.secret,children:i?t:"***"}),R(Im,{onClick:a,className:yn.eye,children:R(s,{size:20})})]}):null]})}function Im({children:e,onClick:t,className:n,disabled:r}){return R("button",{disabled:r,className:Ar(n,yn.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 E$({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:9090",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}=Ie(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",M4="_link_10mcy_17",ic={root:N4,mono:A4,link:M4};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 I4(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)(I4);/** + * @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 Pn(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]})},Tn=new Map,tS,q4=function e(){var t=[];Tn.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=Tn.size===0;Tn.has(e)?Tn.get(e).callbacks.push(t):Tn.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),r&&q4()},unobserve:function(){var r=Tn.get(e);if(r){var o=r.callbacks.indexOf(t);o>=0&&r.callbacks.splice(o,1),r.callbacks.length||Tn.delete(e),Tn.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:eM,leave:()=>{tM(),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 eM(){window.clearTimeout(Bf),Bf=window.setTimeout(()=>Bt({type:"TIME_COMPLETE"}),G4)}function tM(){window.clearTimeout(Bf)}function sc(){kt.context.id=null}function nM({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 I=Nh(h.current);function C(O){(O.key==="Escape"||O.key==="Esc")&&kt.value==="VISIBLE"&&Bt({type:"SELECT_WITH_KEYBOARD"})}return I.addEventListener("keydown",C),()=>I.removeEventListener("keydown",C)},[]),aM({disabled:d,isVisible:_,ref:h});function k(I,C){return typeof window<"u"&&"PointerEvent"in window?I:Pn(I,C)}function T(I){return function(O){O.pointerType==="mouse"&&I(O)}}function N(){Bt({type:"MOUSE_ENTER",id:y})}function M(){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(I){(I.key==="Enter"||I.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:Pn(t,T(N)),onPointerMove:Pn(n,T(M)),onPointerLeave:Pn(r,T(G)),onPointerDown:Pn(o,T($)),onMouseEnter:k(i,N),onMouseMove:k(a,M),onMouseLeave:k(s,G),onMouseDown:k(l,$),onFocus:Pn(u,X),onBlur:Pn(c,ce),onKeyDown:Pn(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]=nM({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=iM,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,...rM(s,u,y)}},a),d&&L.createElement(eS,{role:"tooltip",id:o},n||t))});oS.displayName="TooltipContent";function rM(e,t,n){return n?e(t,n):{visibility:"hidden"}}var oM=8,iM=(e,t,n=oM)=>{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}=sM(kt,e);r&&(kt={value:t,context:n},Y4())}function sM(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 lM(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 Mh=lM(()=>Ot(()=>import("./index-e51a0671.js"),[],import.meta.url)),uM="_iconWrapper_1rpjb_1",cM="_themeSwitchContainer_1rpjb_21",qm={iconWrapper:uM,themeSwitchContainer:cM};function fM({theme:e,dispatch:t}){const{t:n}=No(),r=L.useMemo(()=>{switch(e){case"dark":return R(Km,{});case"auto":return R(hM,{});case"light":return R(dM,{});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=Mh.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 dM(){const t=Mh.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 hM(){const t=Mh.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 pM=e=>({theme:_h(e)}),iS=Jt(pM)(fM),zf=0,Vf={[zf]:{message:"Browser not supported!",detail:'This browser does not support "fetch", please choose another one.'},default:{message:`出错了! + 请尝试清理缓存和Cookie后重试`}};function vM(e){const{code:t}=e;return typeof t=="number"?Vf[t]:Vf.default}const mM="_content_b98hm_1",gM="_container_b98hm_16",yM="_overlay_b98hm_22",wM="_fixed_b98hm_26",rs={content:mM,container:gM,overlay:yM,fixed:wM},SM="_overlay_fy74n_1",_M="_content_fy74n_14",Qm={overlay:SM,content:_M};function bM({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 EM=L.memo(bM),{useCallback:CM,useEffect:RM}=Tt;function OM({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=CM(()=>{e(e3("apiConfig"))},[e]);return RM(()=>{e(Br(t))},[e,t]),le(EM,{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 xM=e=>({modals:e.modals,apiConfig:sr(e)}),kM=Jt(xM)(OM),PM="_root_16avz_1",TM="_yacd_16avz_14",LM="_link_16avz_23",lc={root:PM,yacd:TM,link:LM};function NM({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 AM="https://github.com/metacubex/yacd";function MM({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:AM,children:[R(NM,{width:16,height:16}),"metacubex/yacd"]})})]})}class IM 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}=vM(this.state.error);return R(MM,{message:n,detail:r})}else return this.props.children}}const DM="_root_1ddes_4",$M="_chart_1ddes_13",Gm={root:DM,chart:$M},UM="_loading_wpm96_1",FM="_spinner_wpm96_9",jM="_rotate_wpm96_1",Xm={loading:UM,spinner:FM,rotate:jM},aS=({height:e})=>{const t=e?{height:e}:{};return R("div",{className:Xm.loading,style:t,children:R("div",{className:Xm.spinner})})},sS="/memory",BM=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=BM.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 Ih=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n};function Ym(e,t,n,r=0,o=!1){for(const a of t)if(Ih(n,a.args)){if(o)return;if(a.error)throw a.error;if(a.response)return a.response;throw a.promise}const i={args:n,promise:e(...n).then(a=>i.response=a??!0).catch(a=>i.error=a??"unknown error").then(()=>{r>0&&setTimeout(()=>{const a=t.indexOf(i);a!==-1&&t.splice(a,1)},r)})};if(t.push(i),!o)throw i.promise}function WM(e,...t){if(t===void 0||t.length===0)e.splice(0,e.length);else{const n=e.find(r=>Ih(t,r.args));if(n){const r=e.indexOf(n);r!==-1&&e.splice(r,1)}}}function 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)=>WM(n,...r),peek:(...r)=>{var o;return(o=n.find(i=>Ih(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 HM=uS(()=>Ot(()=>import("./chart-lib-6081a478.js"),[],import.meta.url)),Zm={borderWidth:1,pointRadius:0,tension:.2,fill:!0},qM={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)"}}],KM=uS(()=>Ot(()=>import("./chart-lib-6081a478.js"),[],import.meta.url)),QM={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)}}}}},GM=[{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 XM(e,t,n,r,o={}){fS(()=>{const i=document.getElementById(t).getContext("2d"),a={...qM,...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 YM(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 JM="_TrafficChart_13afo_1",ZM={TrafficChart:JM},{useMemo:eI}=Tt,tI={justifySelf:"center",position:"relative",width:"100%",height:"100%"},nI={width:"100%",height:"100%",padding:"10px",borderRadius:"10px"},rI=e=>({apiConfig:sr(e),selectedChartStyleIndex:$w(e)}),oI=Jt(rI)(iI);function iI({apiConfig:e,selectedChartStyleIndex:t}){const n=KM.read(),r=zM(e),{t:o}=No(),i=eI(()=>({labels:r.labels,datasets:[{...QM,...cS,...GM[t].inuse,label:o("Memory"),data:r.inuse}]}),[r,t,o]);return YM(n.Chart,"MemoryChart",i,r),R("div",{style:tI,children:R("canvas",{id:"MemoryChart",style:nI,className:ZM.TrafficChart})})}const aI="_TrafficChart_13afo_1",sI={TrafficChart:aI},{useMemo:lI}=Tt,uI={justifySelf:"center",position:"relative",width:"100%",height:"100%"},cI={width:"100%",height:"100%",padding:"10px",borderRadius:"10px"},fI=e=>({apiConfig:sr(e),selectedChartStyleIndex:$w(e)}),dI=Jt(fI)(hI);function hI({apiConfig:e,selectedChartStyleIndex:t}){const n=HM.read(),r=wh(e),{t:o}=No(),i=lI(()=>({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 XM(n.Chart,"trafficChart",i,r),R("div",{style:uI,children:R("canvas",{id:"trafficChart",style:cI,className:sI.TrafficChart})})}const cu="/connections",Bn=[];function pI(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 vI(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=>pI(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 C$(e){const{url:t,init:n}=Ie(e);return await fetch(t+cu,{...n,method:"DELETE"})}async function mI(e){const{url:t,init:n}=Ie(e);return await fetch(t+cu,{...n})}async function gI(e,t){const{url:n,init:r}=Ie(e),o=`${n}${cu}/${t}`;return await fetch(o,{...r,method:"DELETE"})}const yI="_TrafficNow_w4nk9_2",wI="_sec_w4nk9_35",cr={TrafficNow:yI,sec:wI},{useState:dS,useEffect:hS,useCallback:SI}=Tt,_I=e=>({apiConfig:sr(e)}),bI=Jt(_I)(EI);function EI({apiConfig:e}){const{t}=No(),{upStr:n,downStr:r}=CI(e),{upTotal:o,dlTotal:i,connNumber:a,mUsage:s}=RI(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 CI(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 RI(e){const[t,n]=dS({upTotal:"0 B",dlTotal:"0 B",connNumber:0,mUsage:"0 B"}),r=SI(({downloadTotal:o,uploadTotal:i,connections:a,memory:s})=>{n({upTotal:Er(i),dlTotal:Er(o),connNumber:a.length,mUsage:Er(s)})},[n]);return hS(()=>vI(e,r),[e,r]),t}function OI(){const{t:e}=No();return le("div",{children:[R(Gw,{title:e("Overview")}),le("div",{className:Gm.root,children:[R("div",{children:R(bI,{})}),R("div",{className:Gm.chart,children:le(L.Suspense,{fallback:R(aS,{height:"200px"}),children:[R(dI,{}),R(oI,{})]})})]})]})}const xI="_lo_pmly2_1",kI={lo:xI};function PI(){return R("div",{className:kI.lo,children:R(Lh,{width:280,height:280,animate:!0,c0:"transparent",c1:"#646464"})})}const TI=e=>({apiConfig:sr(e),apiConfigs:Sh(e)});function LI({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 NI=Jt(TI)(LI);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)}),eD=Jt(ZI)(tD);function tD(e){const{t}=No(),n=wa(),{data:r}=Y0(["/version",e.apiConfig],()=>Qw("/version",e.apiConfig));return le("div",{className:vn.root,children:[R("div",{className:r.meta&&r.premium?vn.logo_singbox:vn.logo_meta}),R("div",{className:vn.rows,children:JI.map(({to:o,iconId:i,labelText:a})=>R(YI,{to:o,isActive:n.pathname===o,iconId:i,labelText:t(a)},o))}),le("div",{className:vn.footer,children:[R(iS,{}),R(Ah,{label:t("about"),children:R(l1,{to:"/about",className:vn.iconWrapper,children:R(WA,{size:20})})})]})]})}const nD="_input_12jxq_1",R$={input:nD};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,I){var C={};for(var O in P)Object.prototype.hasOwnProperty.call(P,O)&&I.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,M={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:M},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:rD,checkedIcon:oD,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};const iD=Os.default?Os.default:Os;function aD({checked:e=!1,onChange:t,theme:n,name:r}){return R(iD,{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 O$=Jt(e=>({theme:_h(e)}))(aD),sD="_ToggleSwitch_10mtp_1",lD="_slider_10mtp_28",ig={ToggleSwitch:sD,slider:lD};function uD({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(uD);const cD=new Q0,fD=new mR({queryCache:cD,defaultOptions:{queries:{suspense:!0}}});var bl="NOT_FOUND";function dD(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 hD(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 pD=function(t,n){return t===n};function vD(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,SD=e=>e.logs.searchText,x$=wD(mS,gS,SD,(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 k$(e){return t=>{t("logsUpdateSearchText",n=>{n.logs.searchText=e.toLowerCase()})}}function P$(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 _D={searchText:"",logs:[],tail:-1},Dh="/proxies";async function bD(e){const{url:t,init:n}=Ie(e);return await(await fetch(t+Dh,n)).json()}async function ED(e,t,n){const r={name:n},{url:o,init:i}=Ie(e),a=`${o}${Dh}/${t}`;return await fetch(a,{...i,method:"PUT",body:JSON.stringify(r)})}async function CD(e,t,n="https://www.gstatic.com/generate_204"){const{url:r,init:o}=Ie(e),i=`timeout=5000&url=${encodeURIComponent(n)}`,a=`${r}${Dh}/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function T$(e,t,n="http://www.gstatic.com/generate_202"){const{url:r,init:o}=Ie(e),i=`url=${encodeURIComponent(n)}&timeout=2000`,a=`${r}/group/${encodeURIComponent(t)}/delay?${i}`;return await fetch(a,o)}async function RD(e){const{url:t,init:n}=Ie(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}=Ie(e),o={...r,method:"PUT"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t),o)}async function OD(e,t){const{url:n,init:r}=Ie(e),o={...r,method:"GET"};return await fetch(n+"/providers/proxies/"+encodeURIComponent(t)+"/healthcheck",o)}const xD={proxies:{},delay:{},groupNames:[],showModalClosePrevConns:!1},wS=()=>null,kD=["Direct","Fallback","Reject","Pass","Selector","URLTest","LoadBalance","Unknown"],PD=e=>e.proxies.proxies,SS=e=>e.proxies.delay,L$=e=>e.proxies.groupNames,TD=e=>e.proxies.proxyProviders||[],_S=e=>e.proxies.dangleProxyNames,N$=e=>e.proxies.showModalClosePrevConns;function Bo(e){return async(t,n)=>{const[r,o]=await Promise.all([bD(e),RD(e)]),{providers:i,proxies:a}=UD(o.providers),s={...a,...r.proxies},[l,u]=$D(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 A$(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 LD(e,t,n){const r=await mI(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=>gI(e,s).catch(wS)))}function ND(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 AD(e,t,n,r,o){try{if((await ED(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=PD(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=ND(t,n.groupName,n.itemName);LD(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 D$(e,t,n){return async(r,o)=>{AD(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 ID(e,t){return async(n,r)=>{const o=i3(r()),i=await CD(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(ID(e,t))}}function DD(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 $$(e){return async(t,n)=>{const r=_S(n());await Promise.all(r.map(i=>t(RS(e,i))));const o=TD(n());for(const i of o)await bS(e,i.name);await t(Bo(e))}}function $D(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))):kD.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 UD(e){const t=Object.keys(e),n=[],r={};for(let o=0;oOt(()=>import("./Connections-2720e021.js"),["./Connections-2720e021.js","./Select-3321dc18.js","./Select-07e025ab.css","./useRemainingViewPortHeight-aa016eed.js","./BaseModal-0f630377.js","./BaseModal-e9f180d4.css","./index-84fa0cb3.js","./Input-eec9e65c.js","./objectWithoutPropertiesLoose-4f48578a.js","./Fab-e6dedc20.js","./Fab-48def6bf.css","./play-4baa6dad.js","./Connections-2b49f1fb.css"],import.meta.url)),HD=xa(()=>Ot(()=>import("./Config-3d242ed2.js"),["./Config-3d242ed2.js","./logs-8ad08aa6.js","./Select-3321dc18.js","./Select-07e025ab.css","./Input-eec9e65c.js","./rotate-cw-76728396.js","./Config-7eb3f1bb.css"],import.meta.url)),qD=xa(()=>Ot(()=>import("./Logs-8ed10c2c.js"),["./Logs-8ed10c2c.js","./logs-8ad08aa6.js","./debounce-c1ba2006.js","./useRemainingViewPortHeight-aa016eed.js","./Fab-e6dedc20.js","./Fab-48def6bf.css","./play-4baa6dad.js","./Logs-4c263fad.css"],import.meta.url)),KD=xa(()=>Ot(()=>import("./Proxies-ce7620dc.js"),["./Proxies-ce7620dc.js","./BaseModal-0f630377.js","./BaseModal-e9f180d4.css","./Fab-e6dedc20.js","./Fab-48def6bf.css","./TextFitler-2e63abd5.js","./rotate-cw-76728396.js","./debounce-c1ba2006.js","./TextFitler-a112af1a.css","./index-84fa0cb3.js","./Select-3321dc18.js","./Select-07e025ab.css","./Proxies-06b60f95.css"],import.meta.url)),QD=xa(()=>Ot(()=>import("./Rules-2c94a03b.js"),["./Rules-2c94a03b.js","./objectWithoutPropertiesLoose-4f48578a.js","./TextFitler-2e63abd5.js","./rotate-cw-76728396.js","./debounce-c1ba2006.js","./TextFitler-a112af1a.css","./index-84fa0cb3.js","./Fab-e6dedc20.js","./Fab-48def6bf.css","./useRemainingViewPortHeight-aa016eed.js","./Rules-162ef666.css"],import.meta.url)),GD=[{path:"/",element:R(OI,{})},{path:"/connections",element:R(WD,{})},{path:"/configs",element:R(HD,{})},{path:"/logs",element:R(qD,{})},{path:"/proxies",element:R(KD,{})},{path:"/rules",element:R(QD,{})},{path:"/about",element:R($4,{})},!1].filter(Boolean);function XD(){return le(Cr,{children:[R(kM,{}),R(eD,{}),R("div",{className:OS.content,children:R(xS,{fallback:R(PI,{}),children:s1(GD)})})]})}const YD=()=>R(IM,{children:R(gA,{children:R(H3,{initialState:jD,actions:BD,children:R(bR,{client:fD,children:le("div",{className:OS.app,children:[R(NI,{}),R(xS,{fallback:R(aS,{}),children:R(xO,{children:le(bO,{children:[R(vf,{path:"/backend",element:R(Kw,{})}),R(vf,{path:"*",element:R(XD,{})})]})})})]})})})})}),JD=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 ZD(e){if("serviceWorker"in navigator){if(new URL("./",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=".//sw.js";JD?(e$(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 e$(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"),t$=N0(PS);B0.setAppElement(PS);t$.render(R(YD,{}));ZD();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",n$,{passive:!0}),t.addEventListener("touchmove",r$,!1),t.addEventListener("touchend",o$,!1)};const on={touching:!1,trace:[]};function n$(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 r$(e){on.touching&&on.trace.push({x:e.touches[0].screenX,y:e.touches[0].screenY})}function o$(){if(!on.touching)return;const e=on.trace;on.touching=!1,on.trace=[],i$(e)}function i$(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&&i1?"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(dt,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/rootfs/opt/clash/ui/assets/inter-latin-400-normal-0364d368.woff2 b/rootfs/opt/clash/ui/assets/inter-latin-400-normal-0364d368.woff2 new file mode 100644 index 0000000..c659f5e Binary files /dev/null and b/rootfs/opt/clash/ui/assets/inter-latin-400-normal-0364d368.woff2 differ diff --git a/rootfs/opt/clash/ui/assets/inter-latin-400-normal-3ea830d4.woff b/rootfs/opt/clash/ui/assets/inter-latin-400-normal-3ea830d4.woff new file mode 100644 index 0000000..1866261 Binary files /dev/null and b/rootfs/opt/clash/ui/assets/inter-latin-400-normal-3ea830d4.woff differ diff --git a/rootfs/opt/clash/ui/assets/inter-latin-800-normal-a51ac27d.woff2 b/rootfs/opt/clash/ui/assets/inter-latin-800-normal-a51ac27d.woff2 new file mode 100644 index 0000000..27db054 Binary files /dev/null and b/rootfs/opt/clash/ui/assets/inter-latin-800-normal-a51ac27d.woff2 differ diff --git a/rootfs/opt/clash/ui/assets/inter-latin-800-normal-d08d7178.woff b/rootfs/opt/clash/ui/assets/inter-latin-800-normal-d08d7178.woff new file mode 100644 index 0000000..83d445c Binary files /dev/null and b/rootfs/opt/clash/ui/assets/inter-latin-800-normal-d08d7178.woff differ diff --git a/rootfs/opt/clash/ui/assets/logs-8ad08aa6.js b/rootfs/opt/clash/ui/assets/logs-8ad08aa6.js new file mode 100644 index 0000000..e986394 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/logs-8ad08aa6.js @@ -0,0 +1,2 @@ +import{U as w,V as D,W as u}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/objectWithoutPropertiesLoose-4f48578a.js b/rootfs/opt/clash/ui/assets/objectWithoutPropertiesLoose-4f48578a.js new file mode 100644 index 0000000..c074a33 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/play-4baa6dad.js b/rootfs/opt/clash/ui/assets/play-4baa6dad.js new file mode 100644 index 0000000..855a314 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/play-4baa6dad.js @@ -0,0 +1 @@ +import{r as g,R as s,p as a}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-7295944e.woff2 b/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-7295944e.woff2 new file mode 100644 index 0000000..f8894ba Binary files /dev/null and b/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-7295944e.woff2 differ diff --git a/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-dffdffa7.woff b/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-dffdffa7.woff new file mode 100644 index 0000000..be3eb4c Binary files /dev/null and b/rootfs/opt/clash/ui/assets/roboto-mono-latin-400-normal-dffdffa7.woff differ diff --git a/rootfs/opt/clash/ui/assets/rotate-cw-76728396.js b/rootfs/opt/clash/ui/assets/rotate-cw-76728396.js new file mode 100644 index 0000000..c07c69d --- /dev/null +++ b/rootfs/opt/clash/ui/assets/rotate-cw-76728396.js @@ -0,0 +1 @@ +import{r as c,R as s,p as a}from"./index-7c6466d3.js";function p(){return p=Object.assign||function(t){for(var n=1;n=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/rootfs/opt/clash/ui/assets/useRemainingViewPortHeight-aa016eed.js b/rootfs/opt/clash/ui/assets/useRemainingViewPortHeight-aa016eed.js new file mode 100644 index 0000000..962a7d4 --- /dev/null +++ b/rootfs/opt/clash/ui/assets/useRemainingViewPortHeight-aa016eed.js @@ -0,0 +1 @@ +import{s as r}from"./index-7c6466d3.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/rootfs/opt/clash/ui/assets/vi-75c7db25.js b/rootfs/opt/clash/ui/assets/vi-75c7db25.js new file mode 100644 index 0000000..eca30a9 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/zh-cn-ace621d4.js b/rootfs/opt/clash/ui/assets/zh-cn-ace621d4.js new file mode 100644 index 0000000..840a0e9 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/assets/zh-tw-47d3ce5e.js b/rootfs/opt/clash/ui/assets/zh-tw-47d3ce5e.js new file mode 100644 index 0000000..4b11f8d --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/index.html b/rootfs/opt/clash/ui/index.html new file mode 100644 index 0000000..42d14d6 --- /dev/null +++ b/rootfs/opt/clash/ui/index.html @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + yacd + + + + +
+ + + diff --git a/rootfs/opt/clash/ui/logo.png b/rootfs/opt/clash/ui/logo.png new file mode 100644 index 0000000..1f6323d Binary files /dev/null and b/rootfs/opt/clash/ui/logo.png differ diff --git a/rootfs/opt/clash/ui/manifest.webmanifest b/rootfs/opt/clash/ui/manifest.webmanifest new file mode 100644 index 0000000..4ee2822 --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/registerSW.js b/rootfs/opt/clash/ui/registerSW.js new file mode 100644 index 0000000..179c13c --- /dev/null +++ b/rootfs/opt/clash/ui/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/rootfs/opt/clash/ui/sw.js b/rootfs/opt/clash/ui/sw.js new file mode 100644 index 0000000..c51ae08 --- /dev/null +++ b/rootfs/opt/clash/ui/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-0f630377.js"},{"revision":null,"url":"assets/BaseModal-e9f180d4.css"},{"revision":null,"url":"assets/chart-lib-6081a478.js"},{"revision":null,"url":"assets/Config-3d242ed2.js"},{"revision":null,"url":"assets/Config-7eb3f1bb.css"},{"revision":null,"url":"assets/Connections-2720e021.js"},{"revision":null,"url":"assets/Connections-2b49f1fb.css"},{"revision":null,"url":"assets/debounce-c1ba2006.js"},{"revision":null,"url":"assets/en-1067a8eb.js"},{"revision":null,"url":"assets/Fab-48def6bf.css"},{"revision":null,"url":"assets/Fab-e6dedc20.js"},{"revision":null,"url":"assets/index-64292e67.css"},{"revision":null,"url":"assets/index-7c6466d3.js"},{"revision":null,"url":"assets/index-84fa0cb3.js"},{"revision":null,"url":"assets/index-e51a0671.js"},{"revision":null,"url":"assets/Input-eec9e65c.js"},{"revision":null,"url":"assets/Logs-4c263fad.css"},{"revision":null,"url":"assets/logs-8ad08aa6.js"},{"revision":null,"url":"assets/Logs-8ed10c2c.js"},{"revision":null,"url":"assets/objectWithoutPropertiesLoose-4f48578a.js"},{"revision":null,"url":"assets/play-4baa6dad.js"},{"revision":null,"url":"assets/Proxies-06b60f95.css"},{"revision":null,"url":"assets/Proxies-ce7620dc.js"},{"revision":null,"url":"assets/rotate-cw-76728396.js"},{"revision":null,"url":"assets/Rules-162ef666.css"},{"revision":null,"url":"assets/Rules-2c94a03b.js"},{"revision":null,"url":"assets/Select-07e025ab.css"},{"revision":null,"url":"assets/Select-3321dc18.js"},{"revision":null,"url":"assets/TextFitler-2e63abd5.js"},{"revision":null,"url":"assets/TextFitler-a112af1a.css"},{"revision":null,"url":"assets/useRemainingViewPortHeight-aa016eed.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":"0ae55c380b3cc388cffacbfb2231c342","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/rootfs/opt/clash/ui/yacd.ico b/rootfs/opt/clash/ui/yacd.ico new file mode 100644 index 0000000..0cc77ed Binary files /dev/null and b/rootfs/opt/clash/ui/yacd.ico differ diff --git a/rootfs/opt/clash/ui/yacd.png b/rootfs/opt/clash/ui/yacd.png new file mode 100644 index 0000000..cbb3fcb Binary files /dev/null and b/rootfs/opt/clash/ui/yacd.png differ