var HZ=Object.defineProperty;var LD=e=>{throw TypeError(e)};var zZ=(e,t,n)=>t in e?HZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Bx=(e,t,n)=>zZ(e,typeof t!="symbol"?t+"":t,n),ND=(e,t,n)=>t.has(e)||LD("Cannot "+n);var as=(e,t,n)=>(ND(e,t,"read from private field"),n?n.call(e):t.get(e)),Xy=(e,t,n)=>t.has(e)?LD("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ys=(e,t,n,r)=>(ND(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Vx=(e,t,n,r)=>({set _(i){Ys(e,t,i,n)},get _(){return as(e,t,r)}});(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Yy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ub(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var w_={exports:{}},GZ=w_.exports,kD;function q2(){return kD||(kD=1,function(e,t){(function(n,r){e.exports=r()})(GZ,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",d="year",v="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var W=["th","st","nd","rd"],N=$%100;return"["+$+(W[(N-20)%10]||W[N]||W[0])+"]"}},S=function($,W,N){var K=String($);return!K||K.length>=W?$:""+Array(W+1-K.length).join(N)+$},w={s:S,z:function($){var W=-$.utcOffset(),N=Math.abs(W),K=Math.floor(N/60),Y=N%60;return(W<=0?"+":"-")+S(K,2,"0")+":"+S(Y,2,"0")},m:function $(W,N){if(W.date()1)return $(ge[0])}else{var ye=W.name;C[ye]=W,Y=ye}return!K&&Y&&(T=Y),Y||!K&&T},P=function($,W){if(R($))return $.clone();var N=typeof W=="object"?W:{};return N.date=$,N.args=arguments,new L(N)},M=w;M.l=I,M.i=R,M.w=function($,W){return P($,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var L=function(){function $(N){this.$L=I(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[E]=!0}var W=$.prototype;return W.parse=function(N){this.$d=function(K){var Y=K.date,ae=K.utc;if(Y===null)return new Date(NaN);if(M.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var ge=Y.match(y);if(ge){var ye=ge[2]-1||0,Oe=(ge[7]||"0").substring(0,3);return ae?new Date(Date.UTC(ge[1],ye,ge[3]||1,ge[4]||0,ge[5]||0,ge[6]||0,Oe)):new Date(ge[1],ye,ge[3]||1,ge[4]||0,ge[5]||0,ge[6]||0,Oe)}}return new Date(Y)}(N),this.init()},W.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},W.$utils=function(){return M},W.isValid=function(){return this.$d.toString()!==m},W.isSame=function(N,K){var Y=P(N);return this.startOf(K)<=Y&&Y<=this.endOf(K)},W.isAfter=function(N,K){return P(N)=2&&_%10<=4&&(_%100<10||_%100>=20)?b[1]:b[2])}var f=function(v,m){return u.test(m)?o[v.month()]:a[v.month()]};f.s=a,f.f=o;var h=function(v,m){return u.test(m)?s[v.month()]:l[v.month()]};h.s=l,h.f=s;var d={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:f,monthsShort:h,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},ordinal:function(v){return v},meridiem:function(v){return v<4?"ночи":v<12?"утра":v<17?"дня":"вечера"}};return i.default.locale(d,null,!0),d})}(x_)),x_.exports}XZ();var C_={exports:{}},YZ=C_.exports,$D;function KZ(){return $D||($D=1,function(e,t){(function(n,r){e.exports=r(q2())})(YZ,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=r(n),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(a,s){return s==="W"?a+"周":a+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(a,s){var l=100*a+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(o,null,!0),o})}(C_)),C_.exports}KZ();var T_={exports:{}},ZZ=T_.exports,BD;function qZ(){return BD||(BD=1,function(e,t){(function(n,r){e.exports=r()})(ZZ,function(){return function(n,r,i){n=n||{};var o=r.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(u,c,f,h){return o.fromToBase(u,c,f,h)}i.en.relativeTime=a,o.fromToBase=function(u,c,f,h,d){for(var v,m,y,_=f.$locale().relativeTime||a,b=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],S=b.length,w=0;w0,C<=T.r||!T.r){C<=1&&w>0&&(T=b[w-1]);var E=_[T.l];d&&(C=d(""+C)),m=typeof E=="string"?E.replace("%d",C):E(C,c,T.l,y);break}}if(c)return m;var R=y?_.future:_.past;return typeof R=="function"?R(m):R.replace("%s",m)},o.to=function(u,c){return s(u,c,this,!0)},o.from=function(u,c){return s(u,c,this)};var l=function(u){return u.$u?i.utc():i()};o.toNow=function(u){return this.to(l(this),u)},o.fromNow=function(u){return this.from(l(this),u)}}})}(T_)),T_.exports}var JZ=qZ();const QZ=Sm(JZ);var E_={exports:{}},eq=E_.exports,VD;function tq(){return VD||(VD=1,function(e,t){(function(n,r){e.exports=r()})(eq,function(){return function(n,r,i){i.updateLocale=function(o,a){var s=i.Ls[o];if(s)return(a?Object.keys(a):[]).forEach(function(l){s[l]=a[l]}),s}}})}(E_)),E_.exports}var nq=tq();const rq=Sm(nq);/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Hr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const en={},vf=[],Ur=()=>{},rh=()=>!1,Ju=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hb=e=>e.startsWith("onUpdate:"),nn=Object.assign,zb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},iq=Object.prototype.hasOwnProperty,dn=(e,t)=>iq.call(e,t),et=Array.isArray,gf=e=>ed(e)==="[object Map]",Qu=e=>ed(e)==="[object Set]",dE=e=>ed(e)==="[object Date]",Z4=e=>ed(e)==="[object RegExp]",Ct=e=>typeof e=="function",Mt=e=>typeof e=="string",Vi=e=>typeof e=="symbol",mn=e=>e!==null&&typeof e=="object",Gb=e=>(mn(e)||Ct(e))&&Ct(e.then)&&Ct(e.catch),J2=Object.prototype.toString,ed=e=>J2.call(e),q4=e=>ed(e).slice(8,-1),wm=e=>ed(e)==="[object Object]",Wb=e=>Mt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gl=Hr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),J4=Hr("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),jb=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oq=/-(\w)/g,Vn=jb(e=>e.replace(oq,(t,n)=>n?n.toUpperCase():"")),aq=/\B([A-Z])/g,pi=jb(e=>e.replace(aq,"-$1").toLowerCase()),ec=jb(e=>e.charAt(0).toUpperCase()+e.slice(1)),mf=jb(e=>e?`on${ec(e)}`:""),fi=(e,t)=>!Object.is(e,t),yf=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ig=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Rg=e=>{const t=Mt(e)?Number(e):NaN;return isNaN(t)?e:t};let UD;const xm=()=>UD||(UD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),sq=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function lq(e){return sq.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function uq(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const cq={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},fq={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},dq={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},hq={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},pq={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},vq="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",eI=Hr(vq),gq=eI,HD=2;function Q4(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let r=e.split(/(\r?\n)/);const i=r.filter((s,l)=>l%2===1);r=r.filter((s,l)=>l%2===0);let o=0;const a=[];for(let s=0;s=t){for(let l=s-HD;l<=s+HD||n>o;l++){if(l<0||l>=r.length)continue;const u=l+1;a.push(`${u}${" ".repeat(Math.max(3-String(u).length,0))}| ${r[l]}`);const c=r[l].length,f=i[l]&&i[l].length||0;if(l===s){const h=t-(o-(c+f)),d=Math.max(1,n>o?c-h:n-t);a.push(" | "+" ".repeat(h)+"^".repeat(d))}else if(l>s){if(n>o){const h=Math.max(Math.min(n-o,c),1);a.push(" | "+"^".repeat(h))}o+=c+f}}break}return a.join(` `)}function lr(e){if(et(e)){const t={};for(let n=0;n{if(n){const r=n.split(yq);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function bq(e){if(!e)return"";if(Mt(e))return e;let t="";for(const n in e){const r=e[n];if(Mt(r)||typeof r=="number"){const i=n.startsWith("--")?n:pi(n);t+=`${i}:${r};`}}return t}function mt(e){let t="";if(Mt(e))t=e;else if(et(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,Ux={};function Aq(e){if(Ux.hasOwnProperty(e))return Ux[e];const t=Eq.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Ux[e]=!t}const Iq={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Rq=Hr("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Pq=Hr("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Mq=Hr("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function Oq(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Dq=/["'&<>]/;function Lq(e){const t=""+e,n=Dq.exec(t);if(!n)return t;let r="",i,o,a=0;for(o=n.index;o||--!>|?@[\\\]^`{|}~]/g;function Fq(e,t){return e.replace(s$,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function $q(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rEl(n,t))}const l$=e=>!!(e&&e.__v_isRef===!0),ne=e=>Mt(e)?e:e==null?"":et(e)||mn(e)&&(e.toString===J2||!Ct(e.toString))?l$(e)?ne(e.value):JSON.stringify(e,u$,2):String(e),u$=(e,t)=>l$(t)?u$(e,t.value):gf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Hx(r,o)+" =>"]=i,n),{})}:Qu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hx(n))}:Vi(t)?Hx(t):mn(t)&&!et(t)&&!wm(t)?String(t):t,Hx=(e,t="")=>{var n;return Vi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e},Bq=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:vf,EMPTY_OBJ:en,NO:rh,NOOP:Ur,PatchFlagNames:fq,PatchFlags:cq,ShapeFlags:dq,SlotFlags:hq,camelize:Vn,capitalize:ec,cssVarNameEscapeSymbolsRE:s$,def:Q2,escapeHtml:Lq,escapeHtmlComment:kq,extend:nn,genCacheKey:uq,genPropsAccessExp:lq,generateCodeFrame:Q4,getEscapedCssVarName:Fq,getGlobalThis:xm,hasChanged:fi,hasOwn:dn,hyphenate:pi,includeBooleanAttr:nI,invokeArrayFns:yf,isArray:et,isBooleanAttr:Tq,isBuiltInDirective:J4,isDate:dE,isFunction:Ct,isGloballyAllowed:eI,isGloballyWhitelisted:gq,isHTMLTag:t$,isIntegerKey:Wb,isKnownHtmlAttr:Rq,isKnownMathMLAttr:Mq,isKnownSvgAttr:Pq,isMap:gf,isMathMLTag:r$,isModelListener:Hb,isObject:mn,isOn:Ju,isPlainObject:wm,isPromise:Gb,isRegExp:Z4,isRenderableAttrValue:Oq,isReservedProp:gl,isSSRSafeAttrName:Aq,isSVGTag:n$,isSet:Qu,isSpecialBooleanAttr:a$,isString:Mt,isSymbol:Vi,isVoidTag:i$,looseEqual:El,looseIndexOf:Cm,looseToNumber:Ig,makeMap:Hr,normalizeClass:mt,normalizeProps:e$,normalizeStyle:lr,objectToString:J2,parseStringStyle:tI,propsToAttrMap:Iq,remove:zb,slotFlagsText:pq,stringifyStyle:bq,toDisplayString:ne,toHandlerKey:mf,toNumber:Rg,toRawType:q4,toTypeString:ed},Symbol.toStringTag,{value:"Module"}));/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Mi;class rI{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Mi,!t&&Mi&&(this.index=(Mi.scopes||(Mi.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Uv){let t=Uv;for(Uv=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vv;){let t=Vv;for(Vv=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function h$(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function p$(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),sI(r),Vq(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function hE(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(v$(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function v$(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Mg))return;e.globalVersion=Mg;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!hE(e)){e.flags&=-3;return}const n=Bn,r=Za;Bn=e,Za=!0;try{h$(e);const i=e.fn(e._value);(t.version===0||fi(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Bn=n,Za=r,p$(e),e.flags&=-3}}function sI(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)sI(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vq(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Uq(e,t){e.effect instanceof Pg&&(e=e.effect.fn);const n=new Pg(e);t&&nn(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function Hq(e){e.effect.stop()}let Za=!0;const g$=[];function tc(){g$.push(Za),Za=!1}function nc(){const e=g$.pop();Za=e===void 0?!0:e}function zD(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Bn;Bn=void 0;try{t()}finally{Bn=n}}}let Mg=0;class zq{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Yb{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Bn||!Za||Bn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Bn)n=this.activeLink=new zq(Bn,this),Bn.deps?(n.prevDep=Bn.depsTail,Bn.depsTail.nextDep=n,Bn.depsTail=n):Bn.deps=Bn.depsTail=n,m$(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Bn.depsTail,n.nextDep=void 0,Bn.depsTail.nextDep=n,Bn.depsTail=n,Bn.deps===n&&(Bn.deps=r)}return n}trigger(t){this.version++,Mg++,this.notify(t)}notify(t){oI();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{aI()}}}function m$(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)m$(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const A1=new WeakMap,_f=Symbol(""),pE=Symbol(""),Og=Symbol("");function di(e,t,n){if(Za&&Bn){let r=A1.get(e);r||A1.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Yb),i.map=r,i.key=n),i.track()}}function al(e,t,n,r,i,o){const a=A1.get(e);if(!a){Mg++;return}const s=l=>{l&&l.trigger()};if(oI(),t==="clear")a.forEach(s);else{const l=et(e),u=l&&Wb(n);if(l&&n==="length"){const c=Number(r);a.forEach((f,h)=>{(h==="length"||h===Og||!Vi(h)&&h>=c)&&s(f)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),u&&s(a.get(Og)),t){case"add":l?u&&s(a.get("length")):(s(a.get(_f)),gf(e)&&s(a.get(pE)));break;case"delete":l||(s(a.get(_f)),gf(e)&&s(a.get(pE)));break;case"set":gf(e)&&s(a.get(_f));break}}aI()}function Gq(e,t){const n=A1.get(e);return n&&n.get(t)}function xd(e){const t=cn(e);return t===e?t:(di(t,"iterate",Og),Do(e)?t:t.map(hi))}function Kb(e){return di(e=cn(e),"iterate",Og),e}const Wq={__proto__:null,[Symbol.iterator](){return Gx(this,Symbol.iterator,hi)},concat(...e){return xd(this).concat(...e.map(t=>et(t)?xd(t):t))},entries(){return Gx(this,"entries",e=>(e[1]=hi(e[1]),e))},every(e,t){return Ks(this,"every",e,t,void 0,arguments)},filter(e,t){return Ks(this,"filter",e,t,n=>n.map(hi),arguments)},find(e,t){return Ks(this,"find",e,t,hi,arguments)},findIndex(e,t){return Ks(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ks(this,"findLast",e,t,hi,arguments)},findLastIndex(e,t){return Ks(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ks(this,"forEach",e,t,void 0,arguments)},includes(...e){return Wx(this,"includes",e)},indexOf(...e){return Wx(this,"indexOf",e)},join(e){return xd(this).join(e)},lastIndexOf(...e){return Wx(this,"lastIndexOf",e)},map(e,t){return Ks(this,"map",e,t,void 0,arguments)},pop(){return Fp(this,"pop")},push(...e){return Fp(this,"push",e)},reduce(e,...t){return GD(this,"reduce",e,t)},reduceRight(e,...t){return GD(this,"reduceRight",e,t)},shift(){return Fp(this,"shift")},some(e,t){return Ks(this,"some",e,t,void 0,arguments)},splice(...e){return Fp(this,"splice",e)},toReversed(){return xd(this).toReversed()},toSorted(e){return xd(this).toSorted(e)},toSpliced(...e){return xd(this).toSpliced(...e)},unshift(...e){return Fp(this,"unshift",e)},values(){return Gx(this,"values",hi)}};function Gx(e,t,n){const r=Kb(e),i=r[t]();return r!==e&&!Do(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const jq=Array.prototype;function Ks(e,t,n,r,i,o){const a=Kb(e),s=a!==e&&!Do(e),l=a[t];if(l!==jq[t]){const f=l.apply(e,o);return s?hi(f):f}let u=n;a!==e&&(s?u=function(f,h){return n.call(this,hi(f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const c=l.call(a,u,r);return s&&i?i(c):c}function GD(e,t,n,r){const i=Kb(e);let o=n;return i!==e&&(Do(e)?n.length>3&&(o=function(a,s,l){return n.call(this,a,s,l,e)}):o=function(a,s,l){return n.call(this,a,hi(s),l,e)}),i[t](o,...r)}function Wx(e,t,n){const r=cn(e);di(r,"iterate",Og);const i=r[t](...n);return(i===-1||i===!1)&&Jb(n[0])?(n[0]=cn(n[0]),r[t](...n)):i}function Fp(e,t,n=[]){tc(),oI();const r=cn(e)[t].apply(e,n);return aI(),nc(),r}const Xq=Hr("__proto__,__v_isRef,__isVue"),y$=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vi));function Yq(e){Vi(e)||(e=String(e));const t=cn(this);return di(t,"has",e),t.hasOwnProperty(e)}class _${constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?T$:C$:o?x$:w$).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=et(t);if(!i){let l;if(a&&(l=Wq[n]))return l;if(n==="hasOwnProperty")return Yq}const s=Reflect.get(t,n,pt(t)?t:r);return(Vi(n)?y$.has(n):Xq(n))||(i||di(t,"get",n),o)?s:pt(s)?a&&Wb(n)?s:s.value:mn(s)?i?Tm(s):_a(s):s}}class b$ extends _${constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const l=Hu(o);if(!Do(r)&&!Hu(r)&&(o=cn(o),r=cn(r)),!et(t)&&pt(o)&&!pt(r))return l?!1:(o.value=r,!0)}const a=et(t)&&Wb(n)?Number(n)e,Ky=e=>Reflect.getPrototypeOf(e);function Qq(e,t,n){return function(...r){const i=this.__v_raw,o=cn(i),a=gf(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?vE:t?gE:hi;return!t&&di(o,"iterate",l?pE:_f),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:s?[c(f[0]),c(f[1])]:c(f),done:h}},[Symbol.iterator](){return this}}}}function Zy(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function eJ(e,t){const n={get(i){const o=this.__v_raw,a=cn(o),s=cn(i);e||(fi(i,s)&&di(a,"get",i),di(a,"get",s));const{has:l}=Ky(a),u=t?vE:e?gE:hi;if(l.call(a,i))return u(o.get(i));if(l.call(a,s))return u(o.get(s));o!==a&&o.get(i)},get size(){const i=this.__v_raw;return!e&&di(cn(i),"iterate",_f),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,a=cn(o),s=cn(i);return e||(fi(i,s)&&di(a,"has",i),di(a,"has",s)),i===s?o.has(i):o.has(i)||o.has(s)},forEach(i,o){const a=this,s=a.__v_raw,l=cn(s),u=t?vE:e?gE:hi;return!e&&di(l,"iterate",_f),s.forEach((c,f)=>i.call(o,u(c),u(f),a))}};return nn(n,e?{add:Zy("add"),set:Zy("set"),delete:Zy("delete"),clear:Zy("clear")}:{add(i){!t&&!Do(i)&&!Hu(i)&&(i=cn(i));const o=cn(this);return Ky(o).has.call(o,i)||(o.add(i),al(o,"add",i,i)),this},set(i,o){!t&&!Do(o)&&!Hu(o)&&(o=cn(o));const a=cn(this),{has:s,get:l}=Ky(a);let u=s.call(a,i);u||(i=cn(i),u=s.call(a,i));const c=l.call(a,i);return a.set(i,o),u?fi(o,c)&&al(a,"set",i,o):al(a,"add",i,o),this},delete(i){const o=cn(this),{has:a,get:s}=Ky(o);let l=a.call(o,i);l||(i=cn(i),l=a.call(o,i)),s&&s.call(o,i);const u=o.delete(i);return l&&al(o,"delete",i,void 0),u},clear(){const i=cn(this),o=i.size!==0,a=i.clear();return o&&al(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Qq(i,e,t)}),n}function Zb(e,t){const n=eJ(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(dn(n,i)&&i in r?n:r,i,o)}const tJ={get:Zb(!1,!1)},nJ={get:Zb(!1,!0)},rJ={get:Zb(!0,!1)},iJ={get:Zb(!0,!0)},w$=new WeakMap,x$=new WeakMap,C$=new WeakMap,T$=new WeakMap;function oJ(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function aJ(e){return e.__v_skip||!Object.isExtensible(e)?0:oJ(q4(e))}function _a(e){return Hu(e)?e:qb(e,!1,Kq,tJ,w$)}function lI(e){return qb(e,!1,qq,nJ,x$)}function Tm(e){return qb(e,!0,Zq,rJ,C$)}function sJ(e){return qb(e,!0,Jq,iJ,T$)}function qb(e,t,n,r,i){if(!mn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=aJ(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Ou(e){return Hu(e)?Ou(e.__v_raw):!!(e&&e.__v_isReactive)}function Hu(e){return!!(e&&e.__v_isReadonly)}function Do(e){return!!(e&&e.__v_isShallow)}function Jb(e){return e?!!e.__v_raw:!1}function cn(e){const t=e&&e.__v_raw;return t?cn(t):e}function E$(e){return!dn(e,"__v_skip")&&Object.isExtensible(e)&&Q2(e,"__v_skip",!0),e}const hi=e=>mn(e)?_a(e):e,gE=e=>mn(e)?Tm(e):e;function pt(e){return e?e.__v_isRef===!0:!1}function Me(e){return A$(e,!1)}function Si(e){return A$(e,!0)}function A$(e,t){return pt(e)?e:new lJ(e,t)}class lJ{constructor(t,n){this.dep=new Yb,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:cn(t),this._value=n?t:hi(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Do(t)||Hu(t);t=r?t:cn(t),fi(t,n)&&(this._rawValue=t,this._value=r?t:hi(t),this.dep.trigger())}}function mE(e){e.dep&&e.dep.trigger()}function B(e){return pt(e)?e.value:e}function pa(e){return Ct(e)?e():B(e)}const uJ={get:(e,t,n)=>t==="__v_raw"?e:B(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return pt(i)&&!pt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function uI(e){return Ou(e)?e:new Proxy(e,uJ)}class cJ{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Yb,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function cI(e){return new cJ(e)}function fJ(e){const t=et(e)?new Array(e.length):{};for(const n in e)t[n]=R$(e,n);return t}class dJ{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Gq(cn(this._object),this._key)}}class hJ{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function I$(e,t,n){return pt(e)?e:Ct(e)?new hJ(e):mn(e)&&arguments.length>1?R$(e,t,n):Me(e)}function R$(e,t,n){const r=e[t];return pt(r)?r:new dJ(e,t,n)}class pJ{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Yb(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Mg-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Bn!==this)return d$(this,!0),!0}get value(){const t=this.dep.track();return v$(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vJ(e,t,n=!1){let r,i;return Ct(e)?r=e:(r=e.get,i=e.set),new pJ(r,i,n)}const gJ={GET:"get",HAS:"has",ITERATE:"iterate"},mJ={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},qy={},I1=new WeakMap;let cu;function yJ(){return cu}function P$(e,t=!1,n=cu){if(n){let r=I1.get(n);r||I1.set(n,r=[]),r.push(e)}}function _J(e,t,n=en){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:s,call:l}=n,u=w=>i?w:Do(w)||i===!1||i===0?sl(w,1):sl(w);let c,f,h,d,v=!1,m=!1;if(pt(e)?(f=()=>e.value,v=Do(e)):Ou(e)?(f=()=>u(e),v=!0):et(e)?(m=!0,v=e.some(w=>Ou(w)||Do(w)),f=()=>e.map(w=>{if(pt(w))return w.value;if(Ou(w))return u(w);if(Ct(w))return l?l(w,2):w()})):Ct(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){tc();try{h()}finally{nc()}}const w=cu;cu=c;try{return l?l(e,3,[d]):e(d)}finally{cu=w}}:f=Ur,t&&i){const w=f,T=i===!0?1/0:i;f=()=>sl(w(),T)}const y=Xb(),_=()=>{c.stop(),y&&y.active&&zb(y.effects,c)};if(o&&t){const w=t;t=(...T)=>{w(...T),_()}}let b=m?new Array(e.length).fill(qy):qy;const S=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const T=c.run();if(i||v||(m?T.some((C,E)=>fi(C,b[E])):fi(T,b))){h&&h();const C=cu;cu=c;try{const E=[T,b===qy?void 0:m&&b[0]===qy?[]:b,d];l?l(t,3,E):t(...E),b=T}finally{cu=C}}}else c.run()};return s&&s(S),c=new Pg(f),c.scheduler=a?()=>a(S,!1):S,d=w=>P$(w,!1,c),h=c.onStop=()=>{const w=I1.get(c);if(w){if(l)l(w,4);else for(const T of w)T();I1.delete(c)}},t?r?S(!0):b=c.run():a?a(S.bind(null,!0),!0):c.run(),_.pause=c.pause.bind(c),_.resume=c.resume.bind(c),_.stop=_,_}function sl(e,t=1/0,n){if(t<=0||!mn(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,pt(e))sl(e.value,t,n);else if(et(e))for(let r=0;r{sl(r,t,n)});else if(wm(e)){for(const r in e)sl(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&sl(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const M$=[];function bJ(e){M$.push(e)}function SJ(){M$.pop()}function wJ(e,t){}const xJ={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},CJ={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function rp(e,t,n,r){try{return r?e(...r):e()}catch(i){td(i,t,n)}}function ba(e,t,n,r){if(Ct(e)){const i=rp(e,t,n,r);return i&&Gb(i)&&i.catch(o=>{td(o,t,n)}),i}if(et(e)){const i=[];for(let o=0;o>>1,i=Li[r],o=Lg(i);o=Lg(n)?Li.push(e):Li.splice(EJ(t),0,e),e.flags|=1,D$()}}function D$(){R1||(R1=O$.then(L$))}function Dg(e){et(e)?fh.push(...e):fu&&e.id===-1?fu.splice(Yd+1,0,e):e.flags&1||(fh.push(e),e.flags|=1),D$()}function WD(e,t,n=ps+1){for(;nLg(n)-Lg(r));if(fh.length=0,fu){fu.push(...t);return}for(fu=t,Yd=0;Yde.id==null?e.flags&2?-1:1/0:e.id;function L$(e){try{for(ps=0;psKd.emit(i,...o)),Jy=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{N$(o,t)}),setTimeout(()=>{Kd||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Jy=[])},3e3)):Jy=[]}let Mr=null,Qb=null;function Ng(e){const t=Mr;return Mr=e,Qb=e&&e.type.__scopeId||null,t}function AJ(e){Qb=e}function IJ(){Qb=null}const RJ=e=>jn;function jn(e,t=Mr,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&TE(-1);const o=Ng(t);let a;try{a=e(...i)}finally{Ng(o),r._d&&TE(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function gt(e,t){if(Mr===null)return e;const n=Im(Mr),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,Hv=e=>e&&(e.disabled||e.disabled===""),jD=e=>e&&(e.defer||e.defer===""),XD=e=>typeof SVGElement<"u"&&e instanceof SVGElement,YD=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,yE=(e,t)=>{const n=e&&e.to;return Mt(n)?t?t(n):null:n},$$={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:v,createText:m,createComment:y}}=u,_=Hv(t.props);let{shapeFlag:b,children:S,dynamicChildren:w}=t;if(e==null){const T=t.el=m(""),C=t.anchor=m("");d(T,n,r),d(C,n,r);const E=(I,P)=>{b&16&&(i&&i.isCE&&(i.ce._teleportTarget=I),c(S,I,P,i,o,a,s,l))},R=()=>{const I=t.target=yE(t.props,v),P=B$(I,t,m,d);I&&(a!=="svg"&&XD(I)?a="svg":a!=="mathml"&&YD(I)&&(a="mathml"),_||(E(I,P),A_(t,!1)))};_&&(E(n,C),A_(t,!0)),jD(t.props)?Rr(()=>{R(),t.el.__isMounted=!0},o):R()}else{if(jD(t.props)&&!e.el.__isMounted){Rr(()=>{$$.process(e,t,n,r,i,o,a,s,l,u),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,C=t.target=e.target,E=t.targetAnchor=e.targetAnchor,R=Hv(e.props),I=R?n:C,P=R?T:E;if(a==="svg"||XD(C)?a="svg":(a==="mathml"||YD(C))&&(a="mathml"),w?(h(e.dynamicChildren,w,I,i,o,a,s),wI(e,t,!0)):l||f(e,t,I,P,i,o,a,s,!1),_)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Qy(t,n,T,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=yE(t.props,v);M&&Qy(t,M,null,u,0)}else R&&Qy(t,C,E,u,1);A_(t,_)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:h}=e;if(f&&(i(u),i(c)),o&&i(l),a&16){const d=o||!Hv(h);for(let v=0;v{e.isMounted=!0}),rS(()=>{e.isUnmounting=!0}),e}const Zo=[Function,Array],hI={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Zo,onEnter:Zo,onAfterEnter:Zo,onEnterCancelled:Zo,onBeforeLeave:Zo,onLeave:Zo,onAfterLeave:Zo,onLeaveCancelled:Zo,onBeforeAppear:Zo,onAppear:Zo,onAfterAppear:Zo,onAppearCancelled:Zo},V$=e=>{const t=e.subTree;return t.component?V$(t.component):t},OJ={name:"BaseTransition",props:hI,setup(e,{slots:t}){const n=Er(),r=dI();return()=>{const i=t.default&&eS(t.default(),!0);if(!i||!i.length)return;const o=U$(i),a=cn(e),{mode:s}=a;if(r.isLeaving)return jx(o);const l=KD(o);if(!l)return jx(o);let u=Th(l,a,r,n,f=>u=f);l.type!==Sr&&Al(l,u);let c=n.subTree&&KD(n.subTree);if(c&&c.type!==Sr&&!ja(l,c)&&V$(n).type!==Sr){let f=Th(c,a,r,n);if(Al(c,f),s==="out-in"&&l.type!==Sr)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},jx(o);s==="in-out"&&l.type!==Sr?f.delayLeave=(h,d,v)=>{const m=z$(r,c);m[String(c.key)]=c,h[du]=()=>{d(),h[du]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function U$(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Sr){t=n;break}}return t}const H$=OJ;function z$(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Th(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:y,onAppear:_,onAfterAppear:b,onAppearCancelled:S}=t,w=String(e.key),T=z$(n,e),C=(I,P)=>{I&&ba(I,r,9,P)},E=(I,P)=>{const M=P[1];C(I,P),et(I)?I.every(L=>L.length<=1)&&M():I.length<=1&&M()},R={mode:a,persisted:s,beforeEnter(I){let P=l;if(!n.isMounted)if(o)P=y||l;else return;I[du]&&I[du](!0);const M=T[w];M&&ja(e,M)&&M.el[du]&&M.el[du](),C(P,[I])},enter(I){let P=u,M=c,L=f;if(!n.isMounted)if(o)P=_||u,M=b||c,L=S||f;else return;let k=!1;const $=I[e0]=W=>{k||(k=!0,W?C(L,[I]):C(M,[I]),R.delayedLeave&&R.delayedLeave(),I[e0]=void 0)};P?E(P,[I,$]):$()},leave(I,P){const M=String(e.key);if(I[e0]&&I[e0](!0),n.isUnmounting)return P();C(h,[I]);let L=!1;const k=I[du]=$=>{L||(L=!0,P(),$?C(m,[I]):C(v,[I]),I[du]=void 0,T[M]===e&&delete T[M])};T[M]=e,d?E(d,[I,k]):k()},clone(I){const P=Th(I,t,n,r,i);return i&&i(P),P}};return R}function jx(e){if(Em(e))return e=Is(e),e.children=null,e}function KD(e){if(!Em(e))return F$(e.type)&&e.children?U$(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ct(n.default))return n.default()}}function Al(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Al(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eS(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function kg(e,t,n,r,i=!1){if(et(e)){e.forEach((v,m)=>kg(v,t&&(et(t)?t[m]:t),n,r,i));return}if(Du(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&kg(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Im(r.component):r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===en?s.refs={}:s.refs,f=s.setupState,h=cn(f),d=f===en?()=>!1:v=>dn(h,v);if(u!=null&&u!==l&&(Mt(u)?(c[u]=null,d(u)&&(f[u]=null)):pt(u)&&(u.value=null)),Ct(l))rp(l,s,12,[a,c]);else{const v=Mt(l),m=pt(l);if(v||m){const y=()=>{if(e.f){const _=v?d(l)?f[l]:c[l]:l.value;i?et(_)&&zb(_,o):et(_)?_.includes(o)||_.push(o):v?(c[l]=[o],d(l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else v?(c[l]=a,d(l)&&(f[l]=a)):m&&(l.value=a,e.k&&(c[e.k]=a))};a?(y.id=-1,Rr(y,n)):y()}}}let ZD=!1;const Cd=()=>{ZD||(console.error("Hydration completed but contains mismatches."),ZD=!0)},NJ=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",kJ=e=>e.namespaceURI.includes("MathML"),t0=e=>{if(e.nodeType===1){if(NJ(e))return"svg";if(kJ(e))return"mathml"}},ih=e=>e.nodeType===8;function FJ(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,c=(S,w)=>{if(!w.hasChildNodes()){n(null,S,w),P1(),w._vnode=S;return}f(w.firstChild,S,null,null,null),P1(),w._vnode=S},f=(S,w,T,C,E,R=!1)=>{R=R||!!w.dynamicChildren;const I=ih(S)&&S.data==="[",P=()=>m(S,w,T,C,E,I),{type:M,ref:L,shapeFlag:k,patchFlag:$}=w;let W=S.nodeType;w.el=S,$===-2&&(R=!1,w.dynamicChildren=null);let N=null;switch(M){case yl:W!==3?w.children===""?(l(w.el=i(""),a(S),S),N=S):N=P():(S.data!==w.children&&(Cd(),S.data=w.children),N=o(S));break;case Sr:b(S)?(N=o(S),_(w.el=S.content.firstChild,S,T)):W!==8||I?N=P():N=o(S);break;case wf:if(I&&(S=o(S),W=S.nodeType),W===1||W===3){N=S;const K=!w.children.length;for(let Y=0;Y{R=R||!!w.dynamicChildren;const{type:I,props:P,patchFlag:M,shapeFlag:L,dirs:k,transition:$}=w,W=I==="input"||I==="option";if(W||M!==-1){k&&vs(w,null,T,"created");let N=!1;if(b(S)){N=pB(null,$)&&T&&T.vnode.props&&T.vnode.props.appear;const Y=S.content.firstChild;N&&$.beforeEnter(Y),_(Y,S,T),w.el=S=Y}if(L&16&&!(P&&(P.innerHTML||P.textContent))){let Y=d(S.firstChild,w,S,T,C,E,R);for(;Y;){n0(S,1)||Cd();const ae=Y;Y=Y.nextSibling,s(ae)}}else if(L&8){let Y=w.children;Y[0]===` `&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(Y=Y.slice(1)),S.textContent!==Y&&(n0(S,0)||Cd(),S.textContent=w.children)}if(P){if(W||!R||M&48){const Y=S.tagName.includes("-");for(const ae in P)(W&&(ae.endsWith("value")||ae==="indeterminate")||Ju(ae)&&!gl(ae)||ae[0]==="."||Y)&&r(S,ae,null,P[ae],void 0,T)}else if(P.onClick)r(S,"onClick",null,P.onClick,void 0,T);else if(M&4&&Ou(P.style))for(const Y in P.style)P.style[Y]}let K;(K=P&&P.onVnodeBeforeMount)&&Qi(K,T,w),k&&vs(w,null,T,"beforeMount"),((K=P&&P.onVnodeMounted)||k||N)&&xB(()=>{K&&Qi(K,T,w),N&&$.enter(S),k&&vs(w,null,T,"mounted")},C)}return S.nextSibling},d=(S,w,T,C,E,R,I)=>{I=I||!!w.dynamicChildren;const P=w.children,M=P.length;for(let L=0;L{const{slotScopeIds:I}=w;I&&(E=E?E.concat(I):I);const P=a(S),M=d(o(S),w,P,T,C,E,R);return M&&ih(M)&&M.data==="]"?o(w.anchor=M):(Cd(),l(w.anchor=u("]"),P,M),M)},m=(S,w,T,C,E,R)=>{if(n0(S.parentElement,1)||Cd(),w.el=null,R){const M=y(S);for(;;){const L=o(S);if(L&&L!==M)s(L);else break}}const I=o(S),P=a(S);return s(S),n(null,w,P,I,T,C,t0(P),E),T&&(T.vnode.el=w.el,sS(T,w.el)),I},y=(S,w="[",T="]")=>{let C=0;for(;S;)if(S=o(S),S&&ih(S)&&(S.data===w&&C++,S.data===T)){if(C===0)return o(S);C--}return S},_=(S,w,T)=>{const C=w.parentNode;C&&C.replaceChild(S,w);let E=T;for(;E;)E.vnode.el===w&&(E.vnode.el=E.subTree.el=S),E=E.parent},b=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[c,f]}const qD="data-allow-mismatch",$J={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function n0(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(qD);)e=e.parentElement;const n=e&&e.getAttribute(qD);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes($J[t])}}const BJ=xm().requestIdleCallback||(e=>setTimeout(e,1)),VJ=xm().cancelIdleCallback||(e=>clearTimeout(e)),UJ=(e=1e4)=>t=>{const n=BJ(t,{timeout:e});return()=>VJ(n)};function HJ(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:a}=window;return(t>0&&t0&&r0&&n0&&i(t,n)=>{const r=new IntersectionObserver(i=>{for(const o of i)if(o.isIntersecting){r.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(HJ(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},GJ=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},WJ=(e=[])=>(t,n)=>{Mt(e)&&(e=[e]);let r=!1;const i=a=>{r||(r=!0,o(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},o=()=>{n(a=>{for(const s of e)a.removeEventListener(s,i)})};return n(a=>{for(const s of e)a.addEventListener(s,i,{once:!0})}),o};function jJ(e,t){if(ih(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ih(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Du=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function XJ(e){Ct(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:o,timeout:a,suspensible:s=!0,onError:l}=e;let u=null,c,f=0;const h=()=>(f++,u=null,d()),d=()=>{let v;return u||(v=u=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((y,_)=>{l(m,()=>y(h()),()=>_(m),f+1)});throw m}).then(m=>v!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return tt({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(v,m,y){const _=o?()=>{const b=o(y,S=>jJ(v,S));b&&(m.bum||(m.bum=[])).push(b)}:y;c?_():d().then(()=>!m.isUnmounted&&_())},get __asyncResolved(){return c},setup(){const v=Pr;if(pI(v),c)return()=>Xx(c,v);const m=S=>{u=null,td(S,v,13,!r)};if(s&&v.suspense||Eh)return d().then(S=>()=>Xx(S,v)).catch(S=>(m(S),()=>r?z(r,{error:S}):null));const y=Me(!1),_=Me(),b=Me(!!i);return i&&setTimeout(()=>{b.value=!1},i),a!=null&&setTimeout(()=>{if(!y.value&&!_.value){const S=new Error(`Async component timed out after ${a}ms.`);m(S),_.value=S}},a),d().then(()=>{y.value=!0,v.parent&&Em(v.parent.vnode)&&v.parent.update()}).catch(S=>{m(S),_.value=S}),()=>{if(y.value&&c)return Xx(c,v);if(_.value&&r)return z(r,{error:_.value});if(n&&!b.value)return z(n)}}})}function Xx(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=z(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Em=e=>e.type.__isKeepAlive,YJ={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Er(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,h=f("div");r.activate=(b,S,w,T,C)=>{const E=b.component;u(b,S,w,0,s),l(E.vnode,b,S,w,E,s,T,b.slotScopeIds,C),Rr(()=>{E.isDeactivated=!1,E.a&&yf(E.a);const R=b.props&&b.props.onVnodeMounted;R&&Qi(R,E.parent,b)},s)},r.deactivate=b=>{const S=b.component;D1(S.m),D1(S.a),u(b,h,null,1,s),Rr(()=>{S.da&&yf(S.da);const w=b.props&&b.props.onVnodeUnmounted;w&&Qi(w,S.parent,b),S.isDeactivated=!0},s)};function d(b){Yx(b),c(b,n,s,!0)}function v(b){i.forEach((S,w)=>{const T=PE(S.type);T&&!b(T)&&m(w)})}function m(b){const S=i.get(b);S&&(!a||!ja(S,a))?d(S):a&&Yx(a),i.delete(b),o.delete(b)}Bt(()=>[e.include,e.exclude],([b,S])=>{b&&v(w=>bv(b,w)),S&&v(w=>!bv(S,w))},{flush:"post",deep:!0});let y=null;const _=()=>{y!=null&&(L1(n.subTree.type)?Rr(()=>{i.set(y,r0(n.subTree))},n.subTree.suspense):i.set(y,r0(n.subTree)))};return Vo(_),nS(_),rS(()=>{i.forEach(b=>{const{subTree:S,suspense:w}=n,T=r0(S);if(b.type===T.type&&b.key===T.key){Yx(T);const C=T.component.da;C&&Rr(C,w);return}d(b)})}),()=>{if(y=null,!t.default)return a=null;const b=t.default(),S=b[0];if(b.length>1)return a=null,b;if(!Il(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return a=null,S;let w=r0(S);if(w.type===Sr)return a=null,w;const T=w.type,C=PE(Du(w)?w.type.__asyncResolved||{}:T),{include:E,exclude:R,max:I}=e;if(E&&(!C||!bv(E,C))||R&&C&&bv(R,C))return w.shapeFlag&=-257,a=w,S;const P=w.key==null?T:w.key,M=i.get(P);return w.el&&(w=Is(w),S.shapeFlag&128&&(S.ssContent=w)),y=P,M?(w.el=M.el,w.component=M.component,w.transition&&Al(w,w.transition),w.shapeFlag|=512,o.delete(P),o.add(P)):(o.add(P),I&&o.size>parseInt(I,10)&&m(o.values().next().value)),w.shapeFlag|=256,a=w,L1(S.type)?S:w}}},KJ=YJ;function bv(e,t){return et(e)?e.some(n=>bv(n,t)):Mt(e)?e.split(",").includes(t):Z4(e)?(e.lastIndex=0,e.test(t)):!1}function G$(e,t){j$(e,"a",t)}function W$(e,t){j$(e,"da",t)}function j$(e,t,n=Pr){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(tS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Em(i.parent.vnode)&&ZJ(r,t,n,i),i=i.parent}}function ZJ(e,t,n,r){const i=tS(t,e,r,!0);nd(()=>{zb(r[t],i)},n)}function Yx(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function r0(e){return e.shapeFlag&128?e.ssContent:e}function tS(e,t,n=Pr,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{tc();const s=Ff(n),l=ba(t,n,e,a);return s(),nc(),l});return r?i.unshift(o):i.push(o),o}}const Dl=e=>(t,n=Pr)=>{(!Eh||e==="sp")&&tS(e,(...r)=>t(...r),n)},X$=Dl("bm"),Vo=Dl("m"),vI=Dl("bu"),nS=Dl("u"),rS=Dl("bum"),nd=Dl("um"),Y$=Dl("sp"),K$=Dl("rtg"),Z$=Dl("rtc");function q$(e,t=Pr){tS("ec",e,t)}const gI="components",qJ="directives";function JJ(e,t){return mI(gI,e,!0,t)||e}const J$=Symbol.for("v-ndc");function ml(e){return Mt(e)?mI(gI,e,!1)||e:e||J$}function QJ(e){return mI(qJ,e)}function mI(e,t,n=!0,r=!1){const i=Mr||Pr;if(i){const o=i.type;if(e===gI){const s=PE(o,!1);if(s&&(s===t||s===Vn(t)||s===ec(Vn(t))))return o}const a=JD(i[e]||o[e],t)||JD(i.appContext[e],t);return!a&&r?o:a}}function JD(e,t){return e&&(e[t]||e[Vn(t)]||e[ec(Vn(t))])}function qt(e,t,n,r){let i;const o=n&&n[r],a=et(e);if(a||Mt(e)){const s=a&&Ou(e);let l=!1;s&&(l=!Do(e),e=Kb(e)),i=new Array(e.length);for(let u=0,c=e.length;ut(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,u=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function bf(e,t,n={},r,i){if(Mr.ce||Mr.parent&&Du(Mr.parent)&&Mr.parent.ce)return t!=="default"&&(n.name=t),X(),_t(Ge,null,[z("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),X();const a=o&&yI(o(n)),s=n.key||a&&a.key,l=_t(Ge,{key:(s&&!Vi(s)?s:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function yI(e){return e.some(t=>Il(t)?!(t.type===Sr||t.type===Ge&&!yI(t.children)):!0)?e:null}function tQ(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:mf(r)]=e[r];return n}const _E=e=>e?PB(e)?Im(e):_E(e.parent):null,zv=nn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_E(e.parent),$root:e=>_E(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_I(e),$forceUpdate:e=>e.f||(e.f=()=>{fI(e.update)}),$nextTick:e=>e.n||(e.n=Qa.bind(e.proxy)),$watch:e=>PQ.bind(e)}),Kx=(e,t)=>e!==en&&!e.__isScriptSetup&&dn(e,t),bE={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const d=a[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Kx(r,t))return a[t]=1,r[t];if(i!==en&&dn(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&dn(u,t))return a[t]=3,o[t];if(n!==en&&dn(n,t))return a[t]=4,n[t];SE&&(a[t]=0)}}const c=zv[t];let f,h;if(c)return t==="$attrs"&&di(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==en&&dn(n,t))return a[t]=4,n[t];if(h=l.config.globalProperties,dn(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Kx(i,t)?(i[t]=n,!0):r!==en&&dn(r,t)?(r[t]=n,!0):dn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==en&&dn(e,a)||Kx(t,a)||(s=o[0])&&dn(s,a)||dn(r,a)||dn(zv,a)||dn(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},nQ=nn({},bE,{get(e,t){if(t!==Symbol.unscopables)return bE.get(e,t,e)},has(e,t){return t[0]!=="_"&&!eI(t)}});function rQ(){return null}function iQ(){return null}function oQ(e){}function aQ(e){}function sQ(){return null}function lQ(){}function uQ(e,t){return null}function cQ(){return Q$().slots}function fQ(){return Q$().attrs}function Q$(){const e=Er();return e.setupContext||(e.setupContext=DB(e))}function Fg(e){return et(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function dQ(e,t){const n=Fg(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?et(i)||Ct(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function M1(e,t){return!e||!t?e||t:et(e)&&et(t)?e.concat(t):nn({},Fg(e),Fg(t))}function hQ(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function pQ(e){const t=Er();let n=e();return AE(),Gb(n)&&(n=n.catch(r=>{throw Ff(t),r})),[n,()=>Ff(t)]}let SE=!0;function vQ(e){const t=_I(e),n=e.proxy,r=e.ctx;SE=!1,t.beforeCreate&&QD(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:v,activated:m,deactivated:y,beforeDestroy:_,beforeUnmount:b,destroyed:S,unmounted:w,render:T,renderTracked:C,renderTriggered:E,errorCaptured:R,serverPrefetch:I,expose:P,inheritAttrs:M,components:L,directives:k,filters:$}=t;if(u&&gQ(u,r,null),a)for(const K in a){const Y=a[K];Ct(Y)&&(r[K]=Y.bind(n))}if(i){const K=i.call(n,n);mn(K)&&(e.data=_a(K))}if(SE=!0,o)for(const K in o){const Y=o[K],ae=Ct(Y)?Y.bind(n,n):Ct(Y.get)?Y.get.bind(n,n):Ur,ge=!Ct(Y)&&Ct(Y.set)?Y.set.bind(n):Ur,ye=xe({get:ae,set:ge});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>ye.value,set:Oe=>ye.value=Oe})}if(s)for(const K in s)eB(s[K],r,n,K);if(l){const K=Ct(l)?l.call(n):l;Reflect.ownKeys(K).forEach(Y=>{Gv(Y,K[Y])})}c&&QD(c,e,"c");function N(K,Y){et(Y)?Y.forEach(ae=>K(ae.bind(n))):Y&&K(Y.bind(n))}if(N(X$,f),N(Vo,h),N(vI,d),N(nS,v),N(G$,m),N(W$,y),N(q$,R),N(Z$,C),N(K$,E),N(rS,b),N(nd,w),N(Y$,I),et(P))if(P.length){const K=e.exposed||(e.exposed={});P.forEach(Y=>{Object.defineProperty(K,Y,{get:()=>n[Y],set:ae=>n[Y]=ae})})}else e.exposed||(e.exposed={});T&&e.render===Ur&&(e.render=T),M!=null&&(e.inheritAttrs=M),L&&(e.components=L),k&&(e.directives=k),I&&pI(e)}function gQ(e,t,n=Ur){et(e)&&(e=wE(e));for(const r in e){const i=e[r];let o;mn(i)?"default"in i?o=lo(i.from||r,i.default,!0):o=lo(i.from||r):o=lo(i),pt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function QD(e,t,n){ba(et(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function eB(e,t,n,r){let i=r.includes(".")?_B(n,r):()=>n[r];if(Mt(e)){const o=t[e];Ct(o)&&Bt(i,o)}else if(Ct(e))Bt(i,e.bind(n));else if(mn(e))if(et(e))e.forEach(o=>eB(o,t,n,r));else{const o=Ct(e.handler)?e.handler.bind(n):t[e.handler];Ct(o)&&Bt(i,o,e)}}function _I(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>O1(l,u,a,!0)),O1(l,t,a)),mn(t)&&o.set(t,l),l}function O1(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&O1(e,o,n,!0),i&&i.forEach(a=>O1(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=mQ[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const mQ={data:eL,props:tL,emits:tL,methods:Sv,computed:Sv,beforeCreate:Ii,created:Ii,beforeMount:Ii,mounted:Ii,beforeUpdate:Ii,updated:Ii,beforeDestroy:Ii,beforeUnmount:Ii,destroyed:Ii,unmounted:Ii,activated:Ii,deactivated:Ii,errorCaptured:Ii,serverPrefetch:Ii,components:Sv,directives:Sv,watch:_Q,provide:eL,inject:yQ};function eL(e,t){return t?e?function(){return nn(Ct(e)?e.call(this,this):e,Ct(t)?t.call(this,this):t)}:t:e}function yQ(e,t){return Sv(wE(e),wE(t))}function wE(e){if(et(e)){const t={};for(let n=0;n1)return n&&Ct(t)?t.call(r&&r.proxy):t}}function bI(){return!!(Pr||Mr||Sf)}const nB={},rB=()=>Object.create(nB),iB=e=>Object.getPrototypeOf(e)===nB;function wQ(e,t,n,r=!1){const i={},o=rB();e.propsDefaults=Object.create(null),oB(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:lI(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function xQ(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=cn(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,d]=aB(f,t,!0);nn(a,h),d&&s.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return mn(e)&&r.set(e,vf),vf;if(et(o))for(let c=0;ce[0]==="_"||e==="$stable",SI=e=>et(e)?e.map(no):[no(e)],TQ=(e,t,n)=>{if(t._n)return t;const r=jn((...i)=>SI(t(...i)),n);return r._c=!1,r},lB=(e,t,n)=>{const r=e._ctx;for(const i in e){if(sB(i))continue;const o=e[i];if(Ct(o))t[i]=TQ(i,o,r);else if(o!=null){const a=SI(o);t[i]=()=>a}}},uB=(e,t)=>{const n=SI(t);e.slots.default=()=>n},cB=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},EQ=(e,t,n)=>{const r=e.slots=rB();if(e.vnode.shapeFlag&32){const i=t._;i?(cB(r,t,n),n&&Q2(r,"_",i,!0)):lB(t,r)}else t&&uB(e,t)},AQ=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=en;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:cB(i,t,n):(o=!t.$stable,lB(t,i)),a=t}else t&&(uB(e,t),a={default:1});if(o)for(const s in i)!sB(s)&&a[s]==null&&delete i[s]},Rr=xB;function fB(e){return hB(e)}function dB(e){return hB(e,FJ)}function hB(e,t){const n=xm();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=Ur,insertStaticContent:v}=e,m=(H,G,ue,we=null,ve=null,U=null,j=void 0,Q=null,de=!!G.dynamicChildren)=>{if(H===G)return;H&&!ja(H,G)&&(we=fe(H),Oe(H,ve,U,!0),H=null),G.patchFlag===-2&&(de=!1,G.dynamicChildren=null);const{type:_e,ref:De,shapeFlag:J}=G;switch(_e){case yl:y(H,G,ue,we);break;case Sr:_(H,G,ue,we);break;case wf:H==null&&b(G,ue,we,j);break;case Ge:L(H,G,ue,we,ve,U,j,Q,de);break;default:J&1?T(H,G,ue,we,ve,U,j,Q,de):J&6?k(H,G,ue,we,ve,U,j,Q,de):(J&64||J&128)&&_e.process(H,G,ue,we,ve,U,j,Q,de,Te)}De!=null&&ve&&kg(De,H&&H.ref,U,G||H,!G)},y=(H,G,ue,we)=>{if(H==null)r(G.el=s(G.children),ue,we);else{const ve=G.el=H.el;G.children!==H.children&&u(ve,G.children)}},_=(H,G,ue,we)=>{H==null?r(G.el=l(G.children||""),ue,we):G.el=H.el},b=(H,G,ue,we)=>{[H.el,H.anchor]=v(H.children,G,ue,we,H.el,H.anchor)},S=({el:H,anchor:G},ue,we)=>{let ve;for(;H&&H!==G;)ve=h(H),r(H,ue,we),H=ve;r(G,ue,we)},w=({el:H,anchor:G})=>{let ue;for(;H&&H!==G;)ue=h(H),i(H),H=ue;i(G)},T=(H,G,ue,we,ve,U,j,Q,de)=>{G.type==="svg"?j="svg":G.type==="math"&&(j="mathml"),H==null?C(G,ue,we,ve,U,j,Q,de):I(H,G,ve,U,j,Q,de)},C=(H,G,ue,we,ve,U,j,Q)=>{let de,_e;const{props:De,shapeFlag:J,transition:he,dirs:Ve}=H;if(de=H.el=a(H.type,U,De&&De.is,De),J&8?c(de,H.children):J&16&&R(H.children,de,null,we,ve,Zx(H,U),j,Q),Ve&&vs(H,null,we,"created"),E(de,H,H.scopeId,j,we),De){for(const St in De)St!=="value"&&!gl(St)&&o(de,St,null,De[St],U,we);"value"in De&&o(de,"value",null,De.value,U),(_e=De.onVnodeBeforeMount)&&Qi(_e,we,H)}Ve&&vs(H,null,we,"beforeMount");const Ze=pB(ve,he);Ze&&he.beforeEnter(de),r(de,G,ue),((_e=De&&De.onVnodeMounted)||Ze||Ve)&&Rr(()=>{_e&&Qi(_e,we,H),Ze&&he.enter(de),Ve&&vs(H,null,we,"mounted")},ve)},E=(H,G,ue,we,ve)=>{if(ue&&d(H,ue),we)for(let U=0;U{for(let _e=de;_e{const Q=G.el=H.el;let{patchFlag:de,dynamicChildren:_e,dirs:De}=G;de|=H.patchFlag&16;const J=H.props||en,he=G.props||en;let Ve;if(ue&&yc(ue,!1),(Ve=he.onVnodeBeforeUpdate)&&Qi(Ve,ue,G,H),De&&vs(G,H,ue,"beforeUpdate"),ue&&yc(ue,!0),(J.innerHTML&&he.innerHTML==null||J.textContent&&he.textContent==null)&&c(Q,""),_e?P(H.dynamicChildren,_e,Q,ue,we,Zx(G,ve),U):j||Y(H,G,Q,null,ue,we,Zx(G,ve),U,!1),de>0){if(de&16)M(Q,J,he,ue,ve);else if(de&2&&J.class!==he.class&&o(Q,"class",null,he.class,ve),de&4&&o(Q,"style",J.style,he.style,ve),de&8){const Ze=G.dynamicProps;for(let St=0;St{Ve&&Qi(Ve,ue,G,H),De&&vs(G,H,ue,"updated")},we)},P=(H,G,ue,we,ve,U,j)=>{for(let Q=0;Q{if(G!==ue){if(G!==en)for(const U in G)!gl(U)&&!(U in ue)&&o(H,U,G[U],null,ve,we);for(const U in ue){if(gl(U))continue;const j=ue[U],Q=G[U];j!==Q&&U!=="value"&&o(H,U,Q,j,ve,we)}"value"in ue&&o(H,"value",G.value,ue.value,ve)}},L=(H,G,ue,we,ve,U,j,Q,de)=>{const _e=G.el=H?H.el:s(""),De=G.anchor=H?H.anchor:s("");let{patchFlag:J,dynamicChildren:he,slotScopeIds:Ve}=G;Ve&&(Q=Q?Q.concat(Ve):Ve),H==null?(r(_e,ue,we),r(De,ue,we),R(G.children||[],ue,De,ve,U,j,Q,de)):J>0&&J&64&&he&&H.dynamicChildren?(P(H.dynamicChildren,he,ue,ve,U,j,Q),(G.key!=null||ve&&G===ve.subTree)&&wI(H,G,!0)):Y(H,G,ue,De,ve,U,j,Q,de)},k=(H,G,ue,we,ve,U,j,Q,de)=>{G.slotScopeIds=Q,H==null?G.shapeFlag&512?ve.ctx.activate(G,ue,we,j,de):$(G,ue,we,ve,U,j,de):W(H,G,de)},$=(H,G,ue,we,ve,U,j)=>{const Q=H.component=RB(H,we,ve);if(Em(H)&&(Q.ctx.renderer=Te),MB(Q,!1,j),Q.asyncDep){if(ve&&ve.registerDep(Q,N,j),!H.el){const de=Q.subTree=z(Sr);_(null,de,G,ue)}}else N(Q,H,G,ue,ve,U,j)},W=(H,G,ue)=>{const we=G.component=H.component;if(NQ(H,G,ue))if(we.asyncDep&&!we.asyncResolved){K(we,G,ue);return}else we.next=G,we.update();else G.el=H.el,we.vnode=G},N=(H,G,ue,we,ve,U,j)=>{const Q=()=>{if(H.isMounted){let{next:J,bu:he,u:Ve,parent:Ze,vnode:St}=H;{const We=vB(H);if(We){J&&(J.el=St.el,K(H,J,j)),We.asyncDep.then(()=>{H.isUnmounted||Q()});return}}let re=J,se;yc(H,!1),J?(J.el=St.el,K(H,J,j)):J=St,he&&yf(he),(se=J.props&&J.props.onVnodeBeforeUpdate)&&Qi(se,Ze,J,St),yc(H,!0);const pe=I_(H),Ee=H.subTree;H.subTree=pe,m(Ee,pe,f(Ee.el),fe(Ee),H,ve,U),J.el=pe.el,re===null&&sS(H,pe.el),Ve&&Rr(Ve,ve),(se=J.props&&J.props.onVnodeUpdated)&&Rr(()=>Qi(se,Ze,J,St),ve)}else{let J;const{el:he,props:Ve}=G,{bm:Ze,m:St,parent:re,root:se,type:pe}=H,Ee=Du(G);if(yc(H,!1),Ze&&yf(Ze),!Ee&&(J=Ve&&Ve.onVnodeBeforeMount)&&Qi(J,re,G),yc(H,!0),he&&Be){const We=()=>{H.subTree=I_(H),Be(he,H.subTree,H,ve,null)};Ee&&pe.__asyncHydrate?pe.__asyncHydrate(he,H,We):We()}else{se.ce&&se.ce._injectChildStyle(pe);const We=H.subTree=I_(H);m(null,We,ue,we,H,ve,U),G.el=We.el}if(St&&Rr(St,ve),!Ee&&(J=Ve&&Ve.onVnodeMounted)){const We=G;Rr(()=>Qi(J,re,We),ve)}(G.shapeFlag&256||re&&Du(re.vnode)&&re.vnode.shapeFlag&256)&&H.a&&Rr(H.a,ve),H.isMounted=!0,G=ue=we=null}};H.scope.on();const de=H.effect=new Pg(Q);H.scope.off();const _e=H.update=de.run.bind(de),De=H.job=de.runIfDirty.bind(de);De.i=H,De.id=H.uid,de.scheduler=()=>fI(De),yc(H,!0),_e()},K=(H,G,ue)=>{G.component=H;const we=H.vnode.props;H.vnode=G,H.next=null,xQ(H,G.props,we,ue),AQ(H,G.children,ue),tc(),WD(H),nc()},Y=(H,G,ue,we,ve,U,j,Q,de=!1)=>{const _e=H&&H.children,De=H?H.shapeFlag:0,J=G.children,{patchFlag:he,shapeFlag:Ve}=G;if(he>0){if(he&128){ge(_e,J,ue,we,ve,U,j,Q,de);return}else if(he&256){ae(_e,J,ue,we,ve,U,j,Q,de);return}}Ve&8?(De&16&&Xe(_e,ve,U),J!==_e&&c(ue,J)):De&16?Ve&16?ge(_e,J,ue,we,ve,U,j,Q,de):Xe(_e,ve,U,!0):(De&8&&c(ue,""),Ve&16&&R(J,ue,we,ve,U,j,Q,de))},ae=(H,G,ue,we,ve,U,j,Q,de)=>{H=H||vf,G=G||vf;const _e=H.length,De=G.length,J=Math.min(_e,De);let he;for(he=0;heDe?Xe(H,ve,U,!0,!1,J):R(G,ue,we,ve,U,j,Q,de,J)},ge=(H,G,ue,we,ve,U,j,Q,de)=>{let _e=0;const De=G.length;let J=H.length-1,he=De-1;for(;_e<=J&&_e<=he;){const Ve=H[_e],Ze=G[_e]=de?hu(G[_e]):no(G[_e]);if(ja(Ve,Ze))m(Ve,Ze,ue,null,ve,U,j,Q,de);else break;_e++}for(;_e<=J&&_e<=he;){const Ve=H[J],Ze=G[he]=de?hu(G[he]):no(G[he]);if(ja(Ve,Ze))m(Ve,Ze,ue,null,ve,U,j,Q,de);else break;J--,he--}if(_e>J){if(_e<=he){const Ve=he+1,Ze=Vehe)for(;_e<=J;)Oe(H[_e],ve,U,!0),_e++;else{const Ve=_e,Ze=_e,St=new Map;for(_e=Ze;_e<=he;_e++){const $e=G[_e]=de?hu(G[_e]):no(G[_e]);$e.key!=null&&St.set($e.key,_e)}let re,se=0;const pe=he-Ze+1;let Ee=!1,We=0;const oe=new Array(pe);for(_e=0;_e=pe){Oe($e,ve,U,!0);continue}let nt;if($e.key!=null)nt=St.get($e.key);else for(re=Ze;re<=he;re++)if(oe[re-Ze]===0&&ja($e,G[re])){nt=re;break}nt===void 0?Oe($e,ve,U,!0):(oe[nt-Ze]=_e+1,nt>=We?We=nt:Ee=!0,m($e,G[nt],ue,null,ve,U,j,Q,de),se++)}const Ie=Ee?IQ(oe):vf;for(re=Ie.length-1,_e=pe-1;_e>=0;_e--){const $e=Ze+_e,nt=G[$e],je=$e+1{const{el:U,type:j,transition:Q,children:de,shapeFlag:_e}=H;if(_e&6){ye(H.component.subTree,G,ue,we);return}if(_e&128){H.suspense.move(G,ue,we);return}if(_e&64){j.move(H,G,ue,Te);return}if(j===Ge){r(U,G,ue);for(let J=0;JQ.enter(U),ve);else{const{leave:J,delayLeave:he,afterLeave:Ve}=Q,Ze=()=>r(U,G,ue),St=()=>{J(U,()=>{Ze(),Ve&&Ve()})};he?he(U,Ze,St):St()}else r(U,G,ue)},Oe=(H,G,ue,we=!1,ve=!1)=>{const{type:U,props:j,ref:Q,children:de,dynamicChildren:_e,shapeFlag:De,patchFlag:J,dirs:he,cacheIndex:Ve}=H;if(J===-2&&(ve=!1),Q!=null&&kg(Q,null,ue,H,!0),Ve!=null&&(G.renderCache[Ve]=void 0),De&256){G.ctx.deactivate(H);return}const Ze=De&1&&he,St=!Du(H);let re;if(St&&(re=j&&j.onVnodeBeforeUnmount)&&Qi(re,G,H),De&6)Le(H.component,ue,we);else{if(De&128){H.suspense.unmount(ue,we);return}Ze&&vs(H,null,G,"beforeUnmount"),De&64?H.type.remove(H,G,ue,Te,we):_e&&!_e.hasOnce&&(U!==Ge||J>0&&J&64)?Xe(_e,G,ue,!1,!0):(U===Ge&&J&384||!ve&&De&16)&&Xe(de,G,ue),we&&ke(H)}(St&&(re=j&&j.onVnodeUnmounted)||Ze)&&Rr(()=>{re&&Qi(re,G,H),Ze&&vs(H,null,G,"unmounted")},ue)},ke=H=>{const{type:G,el:ue,anchor:we,transition:ve}=H;if(G===Ge){Ue(ue,we);return}if(G===wf){w(H);return}const U=()=>{i(ue),ve&&!ve.persisted&&ve.afterLeave&&ve.afterLeave()};if(H.shapeFlag&1&&ve&&!ve.persisted){const{leave:j,delayLeave:Q}=ve,de=()=>j(ue,U);Q?Q(H.el,U,de):de()}else U()},Ue=(H,G)=>{let ue;for(;H!==G;)ue=h(H),i(H),H=ue;i(G)},Le=(H,G,ue)=>{const{bum:we,scope:ve,job:U,subTree:j,um:Q,m:de,a:_e}=H;D1(de),D1(_e),we&&yf(we),ve.stop(),U&&(U.flags|=8,Oe(j,H,G,ue)),Q&&Rr(Q,G),Rr(()=>{H.isUnmounted=!0},G),G&&G.pendingBranch&&!G.isUnmounted&&H.asyncDep&&!H.asyncResolved&&H.suspenseId===G.pendingId&&(G.deps--,G.deps===0&&G.resolve())},Xe=(H,G,ue,we=!1,ve=!1,U=0)=>{for(let j=U;j{if(H.shapeFlag&6)return fe(H.component.subTree);if(H.shapeFlag&128)return H.suspense.next();const G=h(H.anchor||H.el),ue=G&&G[k$];return ue?h(ue):G};let Ae=!1;const Se=(H,G,ue)=>{H==null?G._vnode&&Oe(G._vnode,null,null,!0):m(G._vnode||null,H,G,null,null,null,ue),G._vnode=H,Ae||(Ae=!0,WD(),P1(),Ae=!1)},Te={p:m,um:Oe,m:ye,r:ke,mt:$,mc:R,pc:Y,pbc:P,n:fe,o:e};let Ne,Be;return t&&([Ne,Be]=t(Te)),{render:Se,hydrate:Ne,createApp:SQ(Se,Ne)}}function Zx({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yc({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pB(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function wI(e,t,n=!1){const r=e.children,i=t.children;if(et(r)&&et(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function vB(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vB(t)}function D1(e){if(e)for(let t=0;tlo(gB);function iS(e,t){return Am(e,null,t)}function RQ(e,t){return Am(e,null,{flush:"post"})}function yB(e,t){return Am(e,null,{flush:"sync"})}function Bt(e,t,n){return Am(e,t,n)}function Am(e,t,n=en){const{immediate:r,deep:i,flush:o,once:a}=n,s=nn({},n),l=t&&r||!t&&o!=="post";let u;if(Eh){if(o==="sync"){const d=mB();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Ur,d.resume=Ur,d.pause=Ur,d}}const c=Pr;s.call=(d,v,m)=>ba(d,c,v,m);let f=!1;o==="post"?s.scheduler=d=>{Rr(d,c&&c.suspense)}:o!=="sync"&&(f=!0,s.scheduler=(d,v)=>{v?d():fI(d)}),s.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=_J(e,t,s);return Eh&&(u?u.push(h):l&&h()),h}function PQ(e,t,n){const r=this.proxy,i=Mt(e)?e.includes(".")?_B(r,e):()=>r[e]:e.bind(r,r);let o;Ct(t)?o=t:(o=t.handler,n=t);const a=Ff(this),s=Am(i,o.bind(r),n);return a(),s}function _B(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{let c,f=en,h;return yB(()=>{const d=e[i];fi(c,d)&&(c=d,u())}),{get(){return l(),n.get?n.get(c):c},set(d){const v=n.set?n.set(d):d;if(!fi(v,c)&&!(f!==en&&fi(d,f)))return;const m=r.vnode.props;m&&(t in m||i in m||o in m)&&(`onUpdate:${t}`in m||`onUpdate:${i}`in m||`onUpdate:${o}`in m)||(c=d,u()),r.emit(`update:${t}`,v),fi(d,v)&&fi(d,f)&&!fi(v,h)&&u(),f=d,h=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||en:s,done:!1}:{done:!0}}}},s}const bB=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vn(t)}Modifiers`]||e[`${pi(t)}Modifiers`];function MQ(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||en;let i=n;const o=t.startsWith("update:"),a=o&&bB(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Mt(c)?c.trim():c)),a.number&&(i=n.map(Ig)));let s,l=r[s=mf(t)]||r[s=mf(Vn(t))];!l&&o&&(l=r[s=mf(pi(t))]),l&&ba(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ba(u,e,6,i)}}function SB(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!Ct(e)){const l=u=>{const c=SB(u,t,!0);c&&(s=!0,nn(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(mn(e)&&r.set(e,null),null):(et(o)?o.forEach(l=>a[l]=null):nn(a,o),mn(e)&&r.set(e,a),a)}function aS(e,t){return!e||!Ju(t)?!1:(t=t.slice(2).replace(/Once$/,""),dn(e,t[0].toLowerCase()+t.slice(1))||dn(e,pi(t))||dn(e,t))}function I_(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:v,inheritAttrs:m}=e,y=Ng(e);let _,b;try{if(n.shapeFlag&4){const w=i||r,T=w;_=no(u.call(T,w,c,f,d,h,v)),b=s}else{const w=t;_=no(w.length>1?w(f,{attrs:s,slots:a,emit:l}):w(f,null)),b=t.props?s:DQ(s)}}catch(w){Wv.length=0,td(w,e,1),_=z(Sr)}let S=_;if(b&&m!==!1){const w=Object.keys(b),{shapeFlag:T}=S;w.length&&T&7&&(o&&w.some(Hb)&&(b=LQ(b,o)),S=Is(S,b,!1,!0))}return n.dirs&&(S=Is(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&Al(S,n.transition),_=S,Ng(y),_}function OQ(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||Ju(n))&&((t||(t={}))[n]=e[n]);return t},LQ=(e,t)=>{const n={};for(const r in e)(!Hb(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function NQ(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?rL(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let CE=0;const kQ={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){if(e==null)$Q(t,n,r,i,o,a,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}BQ(e,t,n,r,i,a,s,l,u)}},hydrate:VQ,normalize:UQ},FQ=kQ;function $g(e,t){const n=e.props&&e.props[t];Ct(n)&&n()}function $Q(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),h=e.suspense=wB(e,i,r,t,f,n,o,a,s,l);u(null,h.pendingBranch=e.ssContent,f,null,r,h,o,a),h.deps>0?($g(e,"onPending"),$g(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),dh(h,e.ssFallback)):h.resolve(!1,!0)}function BQ(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:v,pendingBranch:m,isInFallback:y,isHydrating:_}=f;if(m)f.pendingBranch=h,ja(h,m)?(l(m,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():y&&(_||(l(v,d,n,r,i,null,o,a,s),dh(f,d)))):(f.pendingId=CE++,_?(f.isHydrating=!1,f.activeBranch=m):u(m,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(v,d,n,r,i,null,o,a,s),dh(f,d))):v&&ja(h,v)?(l(v,h,n,r,i,f,o,a,s),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(v&&ja(h,v))l(v,h,n,r,i,f,o,a,s),dh(f,h);else if($g(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=CE++,l(null,h,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:S}=f;b>0?setTimeout(()=>{f.pendingId===S&&f.fallback(d)},b):b===0&&f.fallback(d)}}function wB(e,t,n,r,i,o,a,s,l,u,c=!1){const{p:f,m:h,um:d,n:v,o:{parentNode:m,remove:y}}=u;let _;const b=HQ(e);b&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const S=e.props?Rg(e.props.timeout):void 0,w=o,T={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:CE++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,E=!1){const{vnode:R,activeBranch:I,pendingBranch:P,pendingId:M,effects:L,parentComponent:k,container:$}=T;let W=!1;T.isHydrating?T.isHydrating=!1:C||(W=I&&P.transition&&P.transition.mode==="out-in",W&&(I.transition.afterLeave=()=>{M===T.pendingId&&(h(P,$,o===w?v(I):o,0),Dg(L))}),I&&(m(I.el)===$&&(o=v(I)),d(I,k,T,!0)),W||h(P,$,o,0)),dh(T,P),T.pendingBranch=null,T.isInFallback=!1;let N=T.parent,K=!1;for(;N;){if(N.pendingBranch){N.effects.push(...L),K=!0;break}N=N.parent}!K&&!W&&Dg(L),T.effects=[],b&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),$g(R,"onResolve")},fallback(C){if(!T.pendingBranch)return;const{vnode:E,activeBranch:R,parentComponent:I,container:P,namespace:M}=T;$g(E,"onFallback");const L=v(R),k=()=>{T.isInFallback&&(f(null,C,P,L,I,null,M,s,l),dh(T,C))},$=C.transition&&C.transition.mode==="out-in";$&&(R.transition.afterLeave=k),T.isInFallback=!0,d(R,I,null,!0),$||k()},move(C,E,R){T.activeBranch&&h(T.activeBranch,C,E,R),T.container=C},next(){return T.activeBranch&&v(T.activeBranch)},registerDep(C,E,R){const I=!!T.pendingBranch;I&&T.deps++;const P=C.vnode.el;C.asyncDep.catch(M=>{td(M,C,0)}).then(M=>{if(C.isUnmounted||T.isUnmounted||T.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:L}=C;IE(C,M,!1),P&&(L.el=P);const k=!P&&C.subTree.el;E(C,L,m(P||C.subTree.el),P?null:v(C.subTree),T,a,R),k&&y(k),sS(C,L.el),I&&--T.deps===0&&T.resolve()})},unmount(C,E){T.isUnmounted=!0,T.activeBranch&&d(T.activeBranch,n,C,E),T.pendingBranch&&d(T.pendingBranch,n,C,E)}};return T}function VQ(e,t,n,r,i,o,a,s,l){const u=t.suspense=wB(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),c}function UQ(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=iL(r?n.default:n),e.ssFallback=r?iL(n.fallback):z(Sr)}function iL(e){let t;if(Ct(e)){const n=kf&&e._c;n&&(e._d=!1,X()),e=e(),n&&(e._d=!0,t=_i,CB())}return et(e)&&(e=OQ(e)),e=no(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xB(e,t){t&&t.pendingBranch?et(e)?t.effects.push(...e):t.effects.push(e):Dg(e)}function dh(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,sS(r,i))}function HQ(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ge=Symbol.for("v-fgt"),yl=Symbol.for("v-txt"),Sr=Symbol.for("v-cmt"),wf=Symbol.for("v-stc"),Wv=[];let _i=null;function X(e=!1){Wv.push(_i=e?null:[])}function CB(){Wv.pop(),_i=Wv[Wv.length-1]||null}let kf=1;function TE(e,t=!1){kf+=e,e<0&&_i&&t&&(_i.hasOnce=!0)}function TB(e){return e.dynamicChildren=kf>0?_i||vf:null,CB(),kf>0&&_i&&_i.push(e),e}function q(e,t,n,r,i,o){return TB(D(e,t,n,r,i,o,!0))}function _t(e,t,n,r,i){return TB(z(e,t,n,r,i,!0))}function Il(e){return e?e.__v_isVNode===!0:!1}function ja(e,t){return e.type===t.type&&e.key===t.key}function zQ(e){}const EB=({key:e})=>e??null,R_=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Mt(e)||pt(e)||Ct(e)?{i:Mr,r:e,k:t,f:!!n}:e:null);function D(e,t=null,n=null,r=0,i=null,o=e===Ge?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&EB(t),ref:t&&R_(t),scopeId:Qb,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Mr};return s?(xI(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Mt(n)?8:16),kf>0&&!a&&_i&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&_i.push(l),l}const z=GQ;function GQ(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===J$)&&(e=Sr),Il(e)){const s=Is(e,t,!0);return n&&xI(s,n),kf>0&&!o&&_i&&(s.shapeFlag&6?_i[_i.indexOf(e)]=s:_i.push(s)),s.patchFlag=-2,s}if(JQ(e)&&(e=e.__vccOpts),t){t=AB(t);let{class:s,style:l}=t;s&&!Mt(s)&&(t.class=mt(s)),mn(l)&&(Jb(l)&&!et(l)&&(l=nn({},l)),t.style=lr(l))}const a=Mt(e)?1:L1(e)?128:F$(e)?64:mn(e)?4:Ct(e)?2:0;return D(e,t,n,r,i,a,o,!0)}function AB(e){return e?Jb(e)||iB(e)?nn({},e):e:null}function Is(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,u=t?IB(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&EB(u),ref:t&&t.ref?n&&o?et(o)?o.concat(R_(t)):[o,R_(t)]:R_(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Is(e.ssContent),ssFallback:e.ssFallback&&Is(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Al(c,l.clone(c)),c}function qe(e=" ",t=0){return z(yl,null,e,t)}function WQ(e,t){const n=z(wf,null,e);return n.staticCount=t,n}function it(e="",t=!1){return t?(X(),_t(Sr,null,e)):z(Sr,null,e)}function no(e){return e==null||typeof e=="boolean"?z(Sr):et(e)?z(Ge,null,e.slice()):Il(e)?hu(e):z(yl,null,String(e))}function hu(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Is(e)}function xI(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(et(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),xI(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!iB(t)?t._ctx=Mr:i===3&&Mr&&(Mr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ct(t)?(t={default:t,_ctx:Mr},n=32):(t=String(t),r&64?(n=16,t=[qe(t)]):n=8);e.children=t,e.shapeFlag|=n}function IB(...e){const t={};for(let n=0;nPr||Mr;let N1,EE;{const e=xm(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};N1=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),EE=t("__VUE_SSR_SETTERS__",n=>Eh=n)}const Ff=e=>{const t=Pr;return N1(e),e.scope.on(),()=>{e.scope.off(),N1(t)}},AE=()=>{Pr&&Pr.scope.off(),N1(null)};function PB(e){return e.vnode.shapeFlag&4}let Eh=!1;function MB(e,t=!1,n=!1){t&&EE(t);const{props:r,children:i}=e.vnode,o=PB(e);wQ(e,r,o,t),EQ(e,i,n);const a=o?YQ(e,t):void 0;return t&&EE(!1),a}function YQ(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bE);const{setup:r}=n;if(r){tc();const i=e.setupContext=r.length>1?DB(e):null,o=Ff(e),a=rp(r,e,0,[e.props,i]),s=Gb(a);if(nc(),o(),(s||e.sp)&&!Du(e)&&pI(e),s){if(a.then(AE,AE),t)return a.then(l=>{IE(e,l,t)}).catch(l=>{td(l,e,0)});e.asyncDep=a}else IE(e,a,t)}else OB(e,t)}function IE(e,t,n){Ct(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mn(t)&&(e.setupState=uI(t)),OB(e,n)}let k1,RE;function KQ(e){k1=e,RE=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,nQ))}}const ZQ=()=>!k1;function OB(e,t,n){const r=e.type;if(!e.render){if(!t&&k1&&!r.render){const i=r.template||_I(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=nn(nn({isCustomElement:o,delimiters:s},a),l);r.render=k1(i,u)}}e.render=r.render||Ur,RE&&RE(e)}{const i=Ff(e);tc();try{vQ(e)}finally{nc(),i()}}}const qQ={get(e,t){return di(e,"get",""),e[t]}};function DB(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,qQ),slots:e.slots,emit:e.emit,expose:t}}function Im(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(uI(E$(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zv)return zv[n](e)},has(t,n){return n in t||n in zv}})):e.proxy}function PE(e,t=!0){return Ct(e)?e.displayName||e.name:e.name||t&&e.__name}function JQ(e){return Ct(e)&&"__vccOpts"in e}const xe=(e,t)=>vJ(e,t,Eh);function ca(e,t,n){const r=arguments.length;return r===2?mn(t)&&!et(t)?Il(t)?z(e,null,[t]):z(e,t):z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Il(n)&&(n=[n]),z(e,t,n))}function QQ(){}function eee(e,t,n,r){const i=n[r];if(i&&LB(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function LB(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&_i&&_i.push(e),!0}const NB="3.5.13",tee=Ur,nee=CJ,ree=Kd,iee=N$,oee={createComponentInstance:RB,setupComponent:MB,renderComponentRoot:I_,setCurrentRenderingInstance:Ng,isVNode:Il,normalizeVNode:no,getComponentPublicInstance:Im,ensureValidVNode:yI,pushWarningContext:bJ,popWarningContext:SJ},aee=oee,see=null,lee=null,uee=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ME;const oL=typeof window<"u"&&window.trustedTypes;if(oL)try{ME=oL.createPolicy("vue",{createHTML:e=>e})}catch{}const kB=ME?e=>ME.createHTML(e):e=>e,cee="http://www.w3.org/2000/svg",fee="http://www.w3.org/1998/Math/MathML",nl=typeof document<"u"?document:null,aL=nl&&nl.createElement("template"),dee={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?nl.createElementNS(cee,e):t==="mathml"?nl.createElementNS(fee,e):n?nl.createElement(e,{is:n}):nl.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>nl.createTextNode(e),createComment:e=>nl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{aL.innerHTML=kB(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const s=aL.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xl="transition",$p="animation",Ah=Symbol("_vtc"),FB={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$B=nn({},hI,FB),hee=e=>(e.displayName="Transition",e.props=$B,e),BB=hee((e,{slots:t})=>ca(H$,VB(e),t)),_c=(e,t=[])=>{et(e)?e.forEach(n=>n(...t)):e&&e(...t)},sL=e=>e?et(e)?e.some(t=>t.length>1):e.length>1:!1;function VB(e){const t={};for(const L in e)L in FB||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,v=pee(i),m=v&&v[0],y=v&&v[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:S,onLeave:w,onLeaveCancelled:T,onBeforeAppear:C=_,onAppear:E=b,onAppearCancelled:R=S}=t,I=(L,k,$,W)=>{L._enterCancelled=W,su(L,k?c:s),su(L,k?u:a),$&&$()},P=(L,k)=>{L._isLeaving=!1,su(L,f),su(L,d),su(L,h),k&&k()},M=L=>(k,$)=>{const W=L?E:b,N=()=>I(k,L,$);_c(W,[k,N]),lL(()=>{su(k,L?l:o),hs(k,L?c:s),sL(W)||uL(k,r,m,N)})};return nn(t,{onBeforeEnter(L){_c(_,[L]),hs(L,o),hs(L,a)},onBeforeAppear(L){_c(C,[L]),hs(L,l),hs(L,u)},onEnter:M(!1),onAppear:M(!0),onLeave(L,k){L._isLeaving=!0;const $=()=>P(L,k);hs(L,f),L._enterCancelled?(hs(L,h),OE()):(OE(),hs(L,h)),lL(()=>{L._isLeaving&&(su(L,f),hs(L,d),sL(w)||uL(L,r,y,$))}),_c(w,[L,$])},onEnterCancelled(L){I(L,!1,void 0,!0),_c(S,[L])},onAppearCancelled(L){I(L,!0,void 0,!0),_c(R,[L])},onLeaveCancelled(L){P(L),_c(T,[L])}})}function pee(e){if(e==null)return null;if(mn(e))return[qx(e.enter),qx(e.leave)];{const t=qx(e);return[t,t]}}function qx(e){return Rg(e)}function hs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ah]||(e[Ah]=new Set)).add(t)}function su(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ah];n&&(n.delete(t),n.size||(e[Ah]=void 0))}function lL(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vee=0;function uL(e,t,n,r){const i=e._endId=++vee,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=UB(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,h),o()},h=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(`${Xl}Delay`),o=r(`${Xl}Duration`),a=cL(i,o),s=r(`${$p}Delay`),l=r(`${$p}Duration`),u=cL(s,l);let c=null,f=0,h=0;t===Xl?a>0&&(c=Xl,f=a,h=o.length):t===$p?u>0&&(c=$p,f=u,h=l.length):(f=Math.max(a,u),c=f>0?a>u?Xl:$p:null,h=c?c===Xl?o.length:l.length:0);const d=c===Xl&&/\b(transform|all)(,|$)/.test(r(`${Xl}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function cL(e,t){for(;e.lengthfL(n)+fL(e[r])))}function fL(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function OE(){return document.body.offsetHeight}function gee(e,t,n){const r=e[Ah];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const F1=Symbol("_vod"),HB=Symbol("_vsh"),CI={beforeMount(e,{value:t},{transition:n}){e[F1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Bp(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Bp(e,!0),r.enter(e)):r.leave(e,()=>{Bp(e,!1)}):Bp(e,t))},beforeUnmount(e,{value:t}){Bp(e,t)}};function Bp(e,t){e.style.display=t?e[F1]:"none",e[HB]=!t}function mee(){CI.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const zB=Symbol("");function yee(e){const t=Er();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>$1(o,i))},r=()=>{const i=e(t.proxy);t.ce?$1(t.ce,i):DE(t.subTree,i),n(i)};vI(()=>{Dg(r)}),Vo(()=>{Bt(r,Ur,{flush:"post"});const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),nd(()=>i.disconnect())})}function DE(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{DE(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)$1(e.el,t);else if(e.type===Ge)e.children.forEach(n=>DE(n,t));else if(e.type===wf){let{el:n,anchor:r}=e;for(;n&&($1(n,t),n!==r);)n=n.nextSibling}}function $1(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[zB]=r}}const _ee=/(^|;)\s*display\s*:/;function bee(e,t,n){const r=e.style,i=Mt(n);let o=!1;if(n&&!i){if(t)if(Mt(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&P_(r,s,"")}else for(const a in t)n[a]==null&&P_(r,a,"");for(const a in n)a==="display"&&(o=!0),P_(r,a,n[a])}else if(i){if(t!==n){const a=r[zB];a&&(n+=";"+a),r.cssText=n,o=_ee.test(n)}}else t&&e.removeAttribute("style");F1 in e&&(e[F1]=o?r.display:"",e[HB]&&(r.display="none"))}const dL=/\s*!important$/;function P_(e,t,n){if(et(n))n.forEach(r=>P_(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=See(e,t);dL.test(n)?e.setProperty(pi(r),n.replace(dL,""),"important"):e[r]=n}}const hL=["Webkit","Moz","ms"],Jx={};function See(e,t){const n=Jx[t];if(n)return n;let r=Vn(t);if(r!=="filter"&&r in e)return Jx[t]=r;r=ec(r);for(let i=0;iQx||(Tee.then(()=>Qx=0),Qx=Date.now());function Aee(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ba(Iee(r,n.value),t,5,[r])};return n.value=e,n.attached=Eee(),n}function Iee(e,t){if(et(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const _L=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ree=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?gee(e,r,a):t==="style"?bee(e,n,r):Ju(t)?Hb(t)||xee(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pee(e,t,r,a))?(gL(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vL(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Mt(r))?gL(e,Vn(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),vL(e,t,r,a))};function Pee(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&_L(t)&&Ct(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return _L(t)&&Mt(n)?!1:t in e}const bL={};/*! #__NO_SIDE_EFFECTS__ */function GB(e,t,n){const r=tt(e,t);wm(r)&&nn(r,t);class i extends lS{constructor(a){super(r,a,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const Mee=(e,t)=>GB(e,t,tV),Oee=typeof HTMLElement<"u"?HTMLElement:class{};class lS extends Oee{constructor(t,n={},r=V1){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==V1?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof lS){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Qa(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:a}=r;let s;if(o&&!et(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Rg(this._props[l])),(s||(s=Object.create(null)))[Vn(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(a),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)dn(this,r)||Object.defineProperty(this,r,{get:()=>B(n[r])})}_resolveProps(t){const{props:n}=t,r=et(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(Vn))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):bL;const i=Vn(t);n&&this._numberProps&&this._numberProps[i]&&(r=Rg(r)),this._setProp(i,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!1){if(n!==this._props[t]&&(n===bL?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),r)){const o=this._ob;o&&o.disconnect(),n===!0?this.setAttribute(pi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(pi(t),n+""):n||this.removeAttribute(pi(t)),o&&o.observe(this,{attributes:!0})}}_update(){eV(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=z(this._def,nn(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(o,a)=>{this.dispatchEvent(new CustomEvent(o,wm(a[0])?nn({detail:a},a[0]):{detail:a}))};r.emit=(o,...a)=>{i(o,a),pi(o)!==o&&i(pi(o),a)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let i=t.length-1;i>=0;i--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[i],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),kee=Nee({name:"TransitionGroup",props:nn({},$B,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Er(),r=dI();let i,o;return nS(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Uee(i[0].el,n.vnode.el,a))return;i.forEach($ee),i.forEach(Bee);const s=i.filter(Vee);OE(),s.forEach(l=>{const u=l.el,c=u.style;hs(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[B1]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",f),u[B1]=null,su(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=cn(e),s=VB(a);let l=a.tag||Ge;if(i=[],o)for(let u=0;u{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=UB(r);return o.removeChild(r),a}const zu=e=>{const t=e.props["onUpdate:modelValue"]||!1;return et(t)?n=>yf(t,n):t};function Hee(e){e.target.composing=!0}function wL(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const va=Symbol("_assign"),vi={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[va]=zu(i);const o=r||i.props&&i.props.type==="number";ll(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Ig(s)),e[va](s)}),n&&ll(e,"change",()=>{e.value=e.value.trim()}),t||(ll(e,"compositionstart",Hee),ll(e,"compositionend",wL),ll(e,"change",wL))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[va]=zu(a),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ig(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},En={deep:!0,created(e,t,n){e[va]=zu(n),ll(e,"change",()=>{const r=e._modelValue,i=Ih(e),o=e.checked,a=e[va];if(et(r)){const s=Cm(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(Qu(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(YB(e,o))})},mounted:xL,beforeUpdate(e,t,n){e[va]=zu(n),xL(e,t,n)}};function xL(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(et(t))i=Cm(t,r.props.value)>-1;else if(Qu(t))i=t.has(r.props.value);else{if(t===n)return;i=El(t,YB(e,!0))}e.checked!==i&&(e.checked=i)}const TI={created(e,{value:t},n){e.checked=El(t,n.props.value),e[va]=zu(n),ll(e,"change",()=>{e[va](Ih(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[va]=zu(r),t!==n&&(e.checked=El(t,r.props.value))}},ur={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Qu(t);ll(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Ig(Ih(a)):Ih(a));e[va](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Qa(()=>{e._assigning=!1})}),e[va]=zu(r)},mounted(e,{value:t}){CL(e,t)},beforeUpdate(e,t,n){e[va]=zu(n)},updated(e,{value:t}){e._assigning||CL(e,t)}};function CL(e,t){const n=e.multiple,r=et(t);if(!(n&&!r&&!Qu(t))){for(let i=0,o=e.options.length;iString(u)===String(s)):a.selected=Cm(t,s)>-1}else a.selected=t.has(s);else if(El(Ih(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ih(e){return"_value"in e?e._value:e.value}function YB(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const KB={created(e,t,n){i0(e,t,n,null,"created")},mounted(e,t,n){i0(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){i0(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){i0(e,t,n,r,"updated")}};function ZB(e,t){switch(e){case"SELECT":return ur;case"TEXTAREA":return vi;default:switch(t){case"checkbox":return En;case"radio":return TI;default:return vi}}}function i0(e,t,n,r,i){const a=ZB(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function zee(){vi.getSSRProps=({value:e})=>({value:e}),TI.getSSRProps=({value:e},t)=>{if(t.props&&El(t.props.value,e))return{checked:!0}},En.getSSRProps=({value:e},t)=>{if(et(e)){if(t.props&&Cm(e,t.props.value)>-1)return{checked:!0}}else if(Qu(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},KB.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=ZB(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Gee=["ctrl","shift","alt","meta"],Wee={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Gee.some(n=>e[`${n}Key`]&&!t.includes(n))},gr=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=pi(i.key);if(t.some(a=>a===o||jee[a]===o))return e(i)})},qB=nn({patchProp:Ree},dee);let jv,TL=!1;function JB(){return jv||(jv=fB(qB))}function QB(){return jv=TL?jv:dB(qB),TL=!0,jv}const eV=(...e)=>{JB().render(...e)},Xee=(...e)=>{QB().hydrate(...e)},V1=(...e)=>{const t=JB().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=rV(r);if(!i)return;const o=t._component;!Ct(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=n(i,!1,nV(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},tV=(...e)=>{const t=QB().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=rV(r);if(i)return n(i,!0,nV(i))},t};function nV(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function rV(e){return Mt(e)?document.querySelector(e):e}let EL=!1;const Yee=()=>{EL||(EL=!0,zee(),mee())},Kee=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:H$,BaseTransitionPropsValidators:hI,Comment:Sr,DeprecationTypes:uee,EffectScope:rI,ErrorCodes:xJ,ErrorTypeStrings:nee,Fragment:Ge,KeepAlive:KJ,ReactiveEffect:Pg,Static:wf,Suspense:FQ,Teleport:MJ,Text:yl,TrackOpTypes:gJ,Transition:BB,TransitionGroup:Fee,TriggerOpTypes:mJ,VueElement:lS,assertNumber:wJ,callWithAsyncErrorHandling:ba,callWithErrorHandling:rp,camelize:Vn,capitalize:ec,cloneVNode:Is,compatUtils:lee,computed:xe,createApp:V1,createBlock:_t,createCommentVNode:it,createElementBlock:q,createElementVNode:D,createHydrationRenderer:dB,createPropsRestProxy:hQ,createRenderer:fB,createSSRApp:tV,createSlots:eQ,createStaticVNode:WQ,createTextVNode:qe,createVNode:z,customRef:cI,defineAsyncComponent:XJ,defineComponent:tt,defineCustomElement:GB,defineEmits:iQ,defineExpose:oQ,defineModel:lQ,defineOptions:aQ,defineProps:rQ,defineSSRCustomElement:Mee,defineSlots:sQ,devtools:ree,effect:Uq,effectScope:c$,getCurrentInstance:Er,getCurrentScope:Xb,getCurrentWatcher:yJ,getTransitionRawChildren:eS,guardReactiveProps:AB,h:ca,handleError:td,hasInjectionContext:bI,hydrate:Xee,hydrateOnIdle:UJ,hydrateOnInteraction:WJ,hydrateOnMediaQuery:GJ,hydrateOnVisible:zJ,initCustomFormatter:QQ,initDirectivesForSSR:Yee,inject:lo,isMemoSame:LB,isProxy:Jb,isReactive:Ou,isReadonly:Hu,isRef:pt,isRuntimeOnly:ZQ,isShallow:Do,isVNode:Il,markRaw:E$,mergeDefaults:dQ,mergeModels:M1,mergeProps:IB,nextTick:Qa,normalizeClass:mt,normalizeProps:e$,normalizeStyle:lr,onActivated:G$,onBeforeMount:X$,onBeforeUnmount:rS,onBeforeUpdate:vI,onDeactivated:W$,onErrorCaptured:q$,onMounted:Vo,onRenderTracked:Z$,onRenderTriggered:K$,onScopeDispose:iI,onServerPrefetch:Y$,onUnmounted:nd,onUpdated:nS,onWatcherCleanup:P$,openBlock:X,popScopeId:IJ,provide:Gv,proxyRefs:uI,pushScopeId:AJ,queuePostFlushCb:Dg,reactive:_a,readonly:Tm,ref:Me,registerRuntimeCompiler:KQ,render:eV,renderList:qt,renderSlot:bf,resolveComponent:JJ,resolveDirective:QJ,resolveDynamicComponent:ml,resolveFilter:see,resolveTransitionHooks:Th,setBlockTracking:TE,setDevtoolsHook:iee,setTransitionHooks:Al,shallowReactive:lI,shallowReadonly:sJ,shallowRef:Si,ssrContextKey:gB,ssrUtils:aee,stop:Hq,toDisplayString:ne,toHandlerKey:mf,toHandlers:tQ,toRaw:cn,toRef:I$,toRefs:fJ,toValue:pa,transformVNodeArgs:zQ,triggerRef:mE,unref:B,useAttrs:fQ,useCssModule:Lee,useCssVars:yee,useHost:WB,useId:DJ,useModel:oS,useSSRContext:mB,useShadowRoot:Dee,useSlots:cQ,useTemplateRef:LJ,useTransitionState:dI,vModelCheckbox:En,vModelDynamic:KB,vModelRadio:TI,vModelSelect:ur,vModelText:vi,vShow:CI,version:NB,warn:tee,watch:Bt,watchEffect:iS,watchPostEffect:RQ,watchSyncEffect:yB,withAsyncContext:pQ,withCtx:jn,withDefaults:uQ,withDirectives:gt,withKeys:EI,withMemo:eee,withModifiers:gr,withScopeId:RJ},Symbol.toStringTag,{value:"Module"}));function uS(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9 12.75 3 3m0 0 3-3m-3 3v-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Zee(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function qee(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 9-3 3m0 0 3 3m-3-3h7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Rm(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})])}function Rl(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m12.75 15 3-3m0 0-3-3m3 3h-7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Pm(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m15 11.25-3-3m0 0-3 3m3-3v7.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Jee(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"})])}function iV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"})])}function Mm(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})])}function oV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Qee(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})])}function aV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})])}function ete(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})])}function tte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function nte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"})])}function AL(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"})])}function rte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function AI(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"})])}function II(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function ite(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"})])}function sV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function IL(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM13.5 10.5h-6"})])}function RL(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6"})])}function ote(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})])}function ate(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.25 9v6m-4.5 0V9M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function lV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"})])}function ste(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"})])}function uV(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})])}function cS(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function RI(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function lte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"})])}function ute(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88c.438-.439 1.15-.439 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z"})])}function cte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 6h.008v.008H6V6Z"})])}function PI(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})])}function fS(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"})])}function fte(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function $f(e,t){return X(),q("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Zd=typeof document<"u";function cV(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dte(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&cV(e.default)}const bn=Object.assign;function eC(e,t){const n={};for(const r in t){const i=t[r];n[r]=Ja(i)?i.map(e):e(i)}return n}const Xv=()=>{},Ja=Array.isArray,fV=/#/g,hte=/&/g,pte=/\//g,vte=/=/g,gte=/\?/g,dV=/\+/g,mte=/%5B/g,yte=/%5D/g,hV=/%5E/g,_te=/%60/g,pV=/%7B/g,bte=/%7C/g,vV=/%7D/g,Ste=/%20/g;function MI(e){return encodeURI(""+e).replace(bte,"|").replace(mte,"[").replace(yte,"]")}function wte(e){return MI(e).replace(pV,"{").replace(vV,"}").replace(hV,"^")}function LE(e){return MI(e).replace(dV,"%2B").replace(Ste,"+").replace(fV,"%23").replace(hte,"%26").replace(_te,"`").replace(pV,"{").replace(vV,"}").replace(hV,"^")}function xte(e){return LE(e).replace(vte,"%3D")}function Cte(e){return MI(e).replace(fV,"%23").replace(gte,"%3F")}function Tte(e){return e==null?"":Cte(e).replace(pte,"%2F")}function Bg(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ete=/\/$/,Ate=e=>e.replace(Ete,"");function tC(e,t,n="/"){let r,i={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),i=e(o)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=Mte(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:Bg(a)}}function Ite(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function PL(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Rte(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Rh(t.matched[r],n.matched[i])&&gV(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rh(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gV(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Pte(e[n],t[n]))return!1;return!0}function Pte(e,t){return Ja(e)?ML(e,t):Ja(t)?ML(t,e):e===t}function ML(e,t){return Ja(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Mte(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,a,s;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const Yl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vg;(function(e){e.pop="pop",e.push="push"})(Vg||(Vg={}));var Yv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Yv||(Yv={}));function Ote(e){if(!e)if(Zd){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ate(e)}const Dte=/^[^#]+#/;function Lte(e,t){return e.replace(Dte,"#")+t}function Nte(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const dS=()=>({left:window.scrollX,top:window.scrollY});function kte(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Nte(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function OL(e,t){return(history.state?history.state.position-t:-1)+e}const NE=new Map;function Fte(e,t){NE.set(e,t)}function $te(e){const t=NE.get(e);return NE.delete(e),t}let Bte=()=>location.protocol+"//"+location.host;function mV(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let s=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),PL(l,"")}return PL(n,e)+r+i}function Vte(e,t,n,r){let i=[],o=[],a=null;const s=({state:h})=>{const d=mV(e,location),v=n.value,m=t.value;let y=0;if(h){if(n.value=d,t.value=h,a&&a===v){a=null;return}y=m?h.position-m.position:0}else r(d);i.forEach(_=>{_(n.value,v,{delta:y,type:Vg.pop,direction:y?y>0?Yv.forward:Yv.back:Yv.unknown})})};function l(){a=n.value}function u(h){i.push(h);const d=()=>{const v=i.indexOf(h);v>-1&&i.splice(v,1)};return o.push(d),d}function c(){const{history:h}=window;h.state&&h.replaceState(bn({},h.state,{scroll:dS()}),"")}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function DL(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?dS():null}}function Ute(e){const{history:t,location:n}=window,r={value:mV(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Bte()+e+l;try{t[c?"replaceState":"pushState"](u,"",h),i.value=u}catch(d){console.error(d),n[c?"replace":"assign"](h)}}function a(l,u){const c=bn({},t.state,DL(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});o(l,c,!0),r.value=l}function s(l,u){const c=bn({},i.value,t.state,{forward:l,scroll:dS()});o(c.current,c,!0);const f=bn({},DL(r.value,l,null),{position:c.position+1},u);o(l,f,!1),r.value=l}return{location:r,state:i,push:s,replace:a}}function Hte(e){e=Ote(e);const t=Ute(e),n=Vte(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const i=bn({location:"",base:e,go:r,createHref:Lte.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function zte(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hte(e)}function Gte(e){return typeof e=="string"||e&&typeof e=="object"}function yV(e){return typeof e=="string"||typeof e=="symbol"}const _V=Symbol("");var LL;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(LL||(LL={}));function Ph(e,t){return bn(new Error,{type:e,[_V]:!0},t)}function Zs(e,t){return e instanceof Error&&_V in e&&(t==null||!!(e.type&t))}const NL="[^/]+?",Wte={sensitive:!1,strict:!1,start:!0,end:!0},jte=/[.+*?^${}()[\]/\\]/g;function Xte(e,t){const n=bn({},Wte,t),r=[];let i=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function bV(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Kte={type:0,value:""},Zte=/[a-zA-Z0-9_]/;function qte(e){if(!e)return[[]];if(e==="/")return[[Kte]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=0,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s=0,l,u="",c="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=l}for(;s{a(S)}:Xv}function a(f){if(yV(f)){const h=r.get(f);h&&(r.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(a),h.alias.forEach(a))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function s(){return n}function l(f){const h=nne(f,n);n.splice(h,0,f),f.record.name&&!BL(f)&&r.set(f.record.name,f)}function u(f,h){let d,v={},m,y;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw Ph(1,{location:f});y=d.record.name,v=bn(FL(h.params,d.keys.filter(S=>!S.optional).concat(d.parent?d.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),f.params&&FL(f.params,d.keys.map(S=>S.name))),m=d.stringify(v)}else if(f.path!=null)m=f.path,d=n.find(S=>S.re.test(m)),d&&(v=d.parse(m),y=d.record.name);else{if(d=h.name?r.get(h.name):n.find(S=>S.re.test(h.path)),!d)throw Ph(1,{location:f,currentLocation:h});y=d.record.name,v=bn({},h.params,f.params),m=d.stringify(v)}const _=[];let b=d;for(;b;)_.unshift(b.record),b=b.parent;return{name:y,path:m,params:v,matched:_,meta:tne(_)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:s,getRecordMatcher:i}}function FL(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function $L(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ene(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ene(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function BL(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tne(e){return e.reduce((t,n)=>bn(t,n.meta),{})}function VL(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function nne(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;bV(e,t[o])<0?r=o:n=o+1}const i=rne(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function rne(e){let t=e;for(;t=t.parent;)if(SV(t)&&bV(e,t)===0)return t}function SV({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ine(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&LE(o)):[r&&LE(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function one(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ja(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const ane=Symbol(""),HL=Symbol(""),hS=Symbol(""),OI=Symbol(""),kE=Symbol("");function Vp(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pu(e,t,n,r,i,o=a=>a()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const u=h=>{h===!1?l(Ph(4,{from:n,to:t})):h instanceof Error?l(h):Gte(h)?l(Ph(2,{from:t,to:h})):(a&&r.enterCallbacks[i]===a&&typeof h=="function"&&a.push(h),s())},c=o(()=>e.call(r&&r.instances[i],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(h=>l(h))})}function nC(e,t,n,r,i=o=>o()){const o=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(cV(l)){const c=(l.__vccOpts||l)[t];c&&o.push(pu(c,n,r,a,s,i))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const f=dte(c)?c.default:c;a.mods[s]=c,a.components[s]=f;const d=(f.__vccOpts||f)[t];return d&&pu(d,n,r,a,s,i)()}))}}return o}function zL(e){const t=lo(hS),n=lo(OI),r=xe(()=>{const l=B(e.to);return t.resolve(l)}),i=xe(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const h=f.findIndex(Rh.bind(null,c));if(h>-1)return h;const d=GL(l[u-2]);return u>1&&GL(c)===d&&f[f.length-1].path!==d?f.findIndex(Rh.bind(null,l[u-2])):h}),o=xe(()=>i.value>-1&&fne(n.params,r.value.params)),a=xe(()=>i.value>-1&&i.value===n.matched.length-1&&gV(n.params,r.value.params));function s(l={}){if(cne(l)){const u=t[B(e.replace)?"replace":"push"](B(e.to)).catch(Xv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:xe(()=>r.value.href),isActive:o,isExactActive:a,navigate:s}}function sne(e){return e.length===1?e[0]:e}const lne=tt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zL,setup(e,{slots:t}){const n=_a(zL(e)),{options:r}=lo(hS),i=xe(()=>({[WL(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[WL(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&sne(t.default(n));return e.custom?o:ca("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),une=lne;function cne(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fne(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Ja(i)||i.length!==r.length||r.some((o,a)=>o!==i[a]))return!1}return!0}function GL(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const WL=(e,t,n)=>e??t??n,dne=tt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lo(kE),i=xe(()=>e.route||r.value),o=lo(HL,0),a=xe(()=>{let u=B(o);const{matched:c}=i.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=xe(()=>i.value.matched[a.value]);Gv(HL,xe(()=>a.value+1)),Gv(ane,s),Gv(kE,i);const l=Me();return Bt(()=>[l.value,s.value,e.name],([u,c,f],[h,d,v])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!Rh(c,d)||!h)&&(c.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,f=s.value,h=f&&f.components[c];if(!h)return jL(n.default,{Component:h,route:u});const d=f.props[c],v=d?d===!0?u.params:typeof d=="function"?d(u):d:null,y=ca(h,bn({},v,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return jL(n.default,{Component:y,route:u})||y}}});function jL(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const DI=dne;function hne(e){const t=Qte(e.routes,e),n=e.parseQuery||ine,r=e.stringifyQuery||UL,i=e.history,o=Vp(),a=Vp(),s=Vp(),l=Si(Yl);let u=Yl;Zd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=eC.bind(null,fe=>""+fe),f=eC.bind(null,Tte),h=eC.bind(null,Bg);function d(fe,Ae){let Se,Te;return yV(fe)?(Se=t.getRecordMatcher(fe),Te=Ae):Te=fe,t.addRoute(Te,Se)}function v(fe){const Ae=t.getRecordMatcher(fe);Ae&&t.removeRoute(Ae)}function m(){return t.getRoutes().map(fe=>fe.record)}function y(fe){return!!t.getRecordMatcher(fe)}function _(fe,Ae){if(Ae=bn({},Ae||l.value),typeof fe=="string"){const G=tC(n,fe,Ae.path),ue=t.resolve({path:G.path},Ae),we=i.createHref(G.fullPath);return bn(G,ue,{params:h(ue.params),hash:Bg(G.hash),redirectedFrom:void 0,href:we})}let Se;if(fe.path!=null)Se=bn({},fe,{path:tC(n,fe.path,Ae.path).path});else{const G=bn({},fe.params);for(const ue in G)G[ue]==null&&delete G[ue];Se=bn({},fe,{params:f(G)}),Ae.params=f(Ae.params)}const Te=t.resolve(Se,Ae),Ne=fe.hash||"";Te.params=c(h(Te.params));const Be=Ite(r,bn({},fe,{hash:wte(Ne),path:Te.path})),H=i.createHref(Be);return bn({fullPath:Be,hash:Ne,query:r===UL?one(fe.query):fe.query||{}},Te,{redirectedFrom:void 0,href:H})}function b(fe){return typeof fe=="string"?tC(n,fe,l.value.path):bn({},fe)}function S(fe,Ae){if(u!==fe)return Ph(8,{from:Ae,to:fe})}function w(fe){return E(fe)}function T(fe){return w(bn(b(fe),{replace:!0}))}function C(fe){const Ae=fe.matched[fe.matched.length-1];if(Ae&&Ae.redirect){const{redirect:Se}=Ae;let Te=typeof Se=="function"?Se(fe):Se;return typeof Te=="string"&&(Te=Te.includes("?")||Te.includes("#")?Te=b(Te):{path:Te},Te.params={}),bn({query:fe.query,hash:fe.hash,params:Te.path!=null?{}:fe.params},Te)}}function E(fe,Ae){const Se=u=_(fe),Te=l.value,Ne=fe.state,Be=fe.force,H=fe.replace===!0,G=C(Se);if(G)return E(bn(b(G),{state:typeof G=="object"?bn({},Ne,G.state):Ne,force:Be,replace:H}),Ae||Se);const ue=Se;ue.redirectedFrom=Ae;let we;return!Be&&Rte(r,Te,Se)&&(we=Ph(16,{to:ue,from:Te}),ye(Te,Te,!0,!1)),(we?Promise.resolve(we):P(ue,Te)).catch(ve=>Zs(ve)?Zs(ve,2)?ve:ge(ve):Y(ve,ue,Te)).then(ve=>{if(ve){if(Zs(ve,2))return E(bn({replace:H},b(ve.to),{state:typeof ve.to=="object"?bn({},Ne,ve.to.state):Ne,force:Be}),Ae||ue)}else ve=L(ue,Te,!0,H,Ne);return M(ue,Te,ve),ve})}function R(fe,Ae){const Se=S(fe,Ae);return Se?Promise.reject(Se):Promise.resolve()}function I(fe){const Ae=Ue.values().next().value;return Ae&&typeof Ae.runWithContext=="function"?Ae.runWithContext(fe):fe()}function P(fe,Ae){let Se;const[Te,Ne,Be]=pne(fe,Ae);Se=nC(Te.reverse(),"beforeRouteLeave",fe,Ae);for(const G of Te)G.leaveGuards.forEach(ue=>{Se.push(pu(ue,fe,Ae))});const H=R.bind(null,fe,Ae);return Se.push(H),Xe(Se).then(()=>{Se=[];for(const G of o.list())Se.push(pu(G,fe,Ae));return Se.push(H),Xe(Se)}).then(()=>{Se=nC(Ne,"beforeRouteUpdate",fe,Ae);for(const G of Ne)G.updateGuards.forEach(ue=>{Se.push(pu(ue,fe,Ae))});return Se.push(H),Xe(Se)}).then(()=>{Se=[];for(const G of Be)if(G.beforeEnter)if(Ja(G.beforeEnter))for(const ue of G.beforeEnter)Se.push(pu(ue,fe,Ae));else Se.push(pu(G.beforeEnter,fe,Ae));return Se.push(H),Xe(Se)}).then(()=>(fe.matched.forEach(G=>G.enterCallbacks={}),Se=nC(Be,"beforeRouteEnter",fe,Ae,I),Se.push(H),Xe(Se))).then(()=>{Se=[];for(const G of a.list())Se.push(pu(G,fe,Ae));return Se.push(H),Xe(Se)}).catch(G=>Zs(G,8)?G:Promise.reject(G))}function M(fe,Ae,Se){s.list().forEach(Te=>I(()=>Te(fe,Ae,Se)))}function L(fe,Ae,Se,Te,Ne){const Be=S(fe,Ae);if(Be)return Be;const H=Ae===Yl,G=Zd?history.state:{};Se&&(Te||H?i.replace(fe.fullPath,bn({scroll:H&&G&&G.scroll},Ne)):i.push(fe.fullPath,Ne)),l.value=fe,ye(fe,Ae,Se,H),ge()}let k;function $(){k||(k=i.listen((fe,Ae,Se)=>{if(!Le.listening)return;const Te=_(fe),Ne=C(Te);if(Ne){E(bn(Ne,{replace:!0,force:!0}),Te).catch(Xv);return}u=Te;const Be=l.value;Zd&&Fte(OL(Be.fullPath,Se.delta),dS()),P(Te,Be).catch(H=>Zs(H,12)?H:Zs(H,2)?(E(bn(b(H.to),{force:!0}),Te).then(G=>{Zs(G,20)&&!Se.delta&&Se.type===Vg.pop&&i.go(-1,!1)}).catch(Xv),Promise.reject()):(Se.delta&&i.go(-Se.delta,!1),Y(H,Te,Be))).then(H=>{H=H||L(Te,Be,!1),H&&(Se.delta&&!Zs(H,8)?i.go(-Se.delta,!1):Se.type===Vg.pop&&Zs(H,20)&&i.go(-1,!1)),M(Te,Be,H)}).catch(Xv)}))}let W=Vp(),N=Vp(),K;function Y(fe,Ae,Se){ge(fe);const Te=N.list();return Te.length?Te.forEach(Ne=>Ne(fe,Ae,Se)):console.error(fe),Promise.reject(fe)}function ae(){return K&&l.value!==Yl?Promise.resolve():new Promise((fe,Ae)=>{W.add([fe,Ae])})}function ge(fe){return K||(K=!fe,$(),W.list().forEach(([Ae,Se])=>fe?Se(fe):Ae()),W.reset()),fe}function ye(fe,Ae,Se,Te){const{scrollBehavior:Ne}=e;if(!Zd||!Ne)return Promise.resolve();const Be=!Se&&$te(OL(fe.fullPath,0))||(Te||!Se)&&history.state&&history.state.scroll||null;return Qa().then(()=>Ne(fe,Ae,Be)).then(H=>H&&kte(H)).catch(H=>Y(H,fe,Ae))}const Oe=fe=>i.go(fe);let ke;const Ue=new Set,Le={currentRoute:l,listening:!0,addRoute:d,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:m,resolve:_,options:e,push:w,replace:T,go:Oe,back:()=>Oe(-1),forward:()=>Oe(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:N.add,isReady:ae,install(fe){const Ae=this;fe.component("RouterLink",une),fe.component("RouterView",DI),fe.config.globalProperties.$router=Ae,Object.defineProperty(fe.config.globalProperties,"$route",{enumerable:!0,get:()=>B(l)}),Zd&&!ke&&l.value===Yl&&(ke=!0,w(i.location).catch(Ne=>{}));const Se={};for(const Ne in Yl)Object.defineProperty(Se,Ne,{get:()=>l.value[Ne],enumerable:!0});fe.provide(hS,Ae),fe.provide(OI,lI(Se)),fe.provide(kE,l);const Te=fe.unmount;Ue.add(fe),fe.unmount=function(){Ue.delete(fe),Ue.size<1&&(u=Yl,k&&k(),k=null,l.value=Yl,ke=!1,K=!1),Te()}}};function Xe(fe){return fe.reduce((Ae,Se)=>Ae.then(()=>I(Se)),Promise.resolve())}return Le}function pne(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aRh(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>Rh(u,l))||i.push(l))}return[n,r,i]}function wV(){return lo(hS)}function LI(e){return lo(OI)}const xV="https://www.gstatic.com/generate_204",NI="https://ipv6.google.com/generate_204",Fi=0;var _s=(e=>(e.EN_US="en-US",e.ZH_CN="zh-CN",e.RU_RU="ru-RU",e))(_s||{}),mu=(e=>(e.MI_SANS="MiSans",e.SARASA_UI="SarasaUi",e.PING_FANG="PingFang",e.FIRA_SANS="FiraSans",e.SYSTEM_UI="SystemUI",e))(mu||{}),ze=(e=>(e.Close="close",e.Type="type",e.Process="process",e.Host="host",e.Rule="rule",e.Chains="chains",e.DlSpeed="dlSpeed",e.UlSpeed="ulSpeed",e.Download="dl",e.Upload="ul",e.ConnectTime="connectTime",e.SourceIP="sourceIP",e.SourcePort="sourcePort",e.SniffHost="sniffHost",e.Destination="destination",e.DestinationType="destinationType",e.RemoteAddress="remoteAddress",e))(ze||{}),pS=(e=>(e.AUTO="auto",e.MANUAL="manual",e))(pS||{}),yu=(e=>(e.DEFAULT="defaultsort",e.NAME_ASC="nameasc",e.NAME_DESC="namedesc",e.LATENCY_ASC="latencyasc",e.LATENCY_DESC="latencydesc",e))(yu||{}),Ug=(e=>(e.AUTO="auto",e.DOTS="dots",e.BAR="bar",e))(Ug||{}),fl=(e=>(e.RULES="rules",e.PROVIDER="ruleProvider",e))(fl||{}),fa=(e=>(e.PROXIES="proxies",e.PROVIDER="proxyProvider",e))(fa||{}),eo=(e=>(e.HOST="host",e.CHAINS="chains",e.RULE="rule",e.TYPE="type",e.CONNECT_TIME="connectTime",e.DOWNLOAD="download",e.DOWNLOAD_SPEED="downloadSpeed",e.UPLOAD="upload",e.UPLOAD_SPEED="uploadSpeed",e.SOURCE_IP="sourceIP",e))(eo||{}),tf=(e=>(e.ASC="asc",e.DESC="desc",e))(tf||{}),Om=(e=>(e.ACTIVE="activeConnections",e.CLOSED="closedConnections",e))(Om||{}),Di=(e=>(e.Trace="trace",e.Debug="debug",e.Info="info",e.Warning="warning",e.Error="error",e.Fatal="fatal",e.Panic="panic",e.Silent="silent",e))(Di||{}),jt=(e=>(e.overview="overview",e.proxies="proxies",e.connections="connections",e.logs="logs",e.rules="rules",e.settings="settings",e.setup="setup",e))(jt||{});const CV={overview:AL,proxies:ite,connections:iV,rules:ute,logs:rte,settings:tte,setup:AL};var Hg=(e=>(e.SMALL="small",e.LARGE="large",e))(Hg||{}),Dm=(e=>(e.SMALL="small",e.LARGE="large",e))(Dm||{}),FE=(e=>(e[e.SMALL=130]="SMALL",e[e.LARGE=145]="LARGE",e))(FE||{}),ip=(e=>(e.NORMAL="normal",e.REVERSE="reverse",e))(ip||{}),Yr=(e=>(e.Direct="direct",e.Reject="reject",e.RejectDrop="rejectdrop",e.Compatible="compatible",e.Pass="pass",e.Dns="dns",e.Selector="selector",e.Fallback="fallback",e.URLTest="urltest",e.LoadBalance="loadbalance",e))(Yr||{}),zg=(e=>(e.FILTERED_TOTAL="filteredTotal",e.TOTAL="total",e.ALIVE_TOTAL="aliveTotal",e))(zg||{});const vne=[["host","connectTime"],["chains","dlSpeed","close"]],TV=[["host","connectTime"],["type","dl","ul"],["chains","dlSpeed","close"]],U1=["light","dark","light-legacy","dark-legacy","cupcake","bumblebee","emerald","corporate","synthwave","retro","cyberpunk","valentine","halloween","garden","forest","aqua","lofi","pastel","fantasy","wireframe","black","luxury","dracula","cmyk","autumn","business","acid","lemonade","night","coffee","winter","dim","nord","sunset","caramellatte","abyss","silk"],XL={name:"custom",id:"","--border":"1px","--color-base-100":"#ffffff","--color-base-200":"#fcfcfc","--color-base-300":"#f2f2f2","--color-base-content":"#2d2d33","--color-primary":"#5a3cd2","--color-primary-content":"#f3efff","--color-secondary":"#ea4c5a","--color-secondary-content":"#fff1f2","--color-accent":"#49c6c1","--color-accent-content":"#285e66","--color-neutral":"#1e1e1f","--color-neutral-content":"#ececec","--color-info":"#5b90ff","--color-info-content":"#273c66","--color-success":"#44c07a","--color-success-content":"#1d472f","--color-warning":"#e5a300","--color-warning-content":"#705322","--color-error":"#d13a30","--color-error-content":"#551d1d","--depth":"0","--noise":"0","--radius-box":"1rem","--radius-field":"0.5rem","--radius-selector":"1rem","--size-field":"0.25rem","--size-selector":"0.25rem","color-scheme":"dark",default:!1,prefersdark:!1};function vS(e){return Xb()?(iI(e),!0):!1}const rC=new WeakMap,gne=(...e)=>{var t;const n=e[0],r=(t=Er())==null?void 0:t.proxy;if(r==null&&!bI())throw new Error("injectLocal must be called in setup");return r&&rC.has(r)&&n in rC.get(r)?rC.get(r)[n]:lo(...e)},EV=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const mne=e=>e!=null,yne=Object.prototype.toString,_ne=e=>yne.call(e)==="[object Object]",bne=()=>{};function AV(...e){if(e.length!==1)return I$(...e);const t=e[0];return typeof t=="function"?Tm(cI(()=>({get:t,set:bne}))):Me(t)}function Sne(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}const IV=e=>e();function wne(e=IV,t={}){const{initialState:n="active"}=t,r=AV(n==="active");function i(){r.value=!1}function o(){r.value=!0}const a=(...s)=>{r.value&&e(...s)};return{isActive:Tm(r),pause:i,resume:o,eventFilter:a}}function YL(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Kv(e){return Array.isArray(e)?e:[e]}function xne(e){return Er()}function Cne(e,t,n={}){const{eventFilter:r=IV,...i}=n;return Bt(e,Sne(r,t),i)}function Tne(e,t,n={}){const{eventFilter:r,initialState:i="active",...o}=n,{eventFilter:a,pause:s,resume:l,isActive:u}=wne(r,{initialState:i});return{stop:Cne(e,t,{...o,eventFilter:a}),pause:s,resume:l,isActive:u}}function RV(e,t=!0,n){xne()?Vo(e,n):t?e():Qa(e)}function Ene(e,t,n){return Bt(e,t,{...n,immediate:!0})}const Bf=EV?window:void 0,PV=EV?window.document:void 0;function bu(e){var t;const n=pa(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xf(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,l,u,c)=>(s.addEventListener(l,u,c),()=>s.removeEventListener(l,u,c)),i=xe(()=>{const s=Kv(pa(e[0])).filter(l=>l!=null);return s.every(l=>typeof l!="string")?s:void 0}),o=Ene(()=>{var s,l;return[(l=(s=i.value)==null?void 0:s.map(u=>bu(u)))!=null?l:[Bf].filter(u=>u!=null),Kv(pa(i.value?e[1]:e[0])),Kv(B(i.value?e[2]:e[1])),pa(i.value?e[3]:e[2])]},([s,l,u,c])=>{if(n(),!(s!=null&&s.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=_ne(c)?{...c}:c;t.push(...s.flatMap(h=>l.flatMap(d=>u.map(v=>r(h,d,v,f)))))},{flush:"post"}),a=()=>{o(),n()};return vS(n),a}function Ane(){const e=Si(!1),t=Er();return t&&Vo(()=>{e.value=!0},t),e}function kI(e){const t=Ane();return xe(()=>(t.value,!!e()))}function Ine(e,t,n={}){const{window:r=Bf,...i}=n;let o;const a=kI(()=>r&&"MutationObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=xe(()=>{const h=pa(e),d=Kv(h).map(bu).filter(mne);return new Set(d)}),u=Bt(()=>l.value,h=>{s(),a.value&&h.size&&(o=new MutationObserver(t),h.forEach(d=>o.observe(d,i)))},{immediate:!0,flush:"post"}),c=()=>o==null?void 0:o.takeRecords(),f=()=>{u(),s()};return vS(f),{isSupported:a,stop:f,takeRecords:c}}const Rne=Symbol("vueuse-ssr-width");function Pne(){const e=bI()?gne(Rne,null):null;return typeof e=="number"?e:void 0}function FI(e,t={}){const{window:n=Bf,ssrWidth:r=Pne()}=t,i=kI(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),o=Si(typeof r=="number"),a=Si(),s=Si(!1),l=u=>{s.value=u.matches};return iS(()=>{if(o.value){o.value=!i.value;const u=pa(e).split(",");s.value=u.some(c=>{const f=c.includes("not all"),h=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(h||d);return h&&v&&(v=r>=YL(h[1])),d&&v&&(v=r<=YL(d[1])),f?!v:v});return}i.value&&(a.value=n.matchMedia(pa(e)),s.value=a.value.matches)}),xf(a,"change",l,{passive:!0}),xe(()=>s.value)}const o0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a0="__vueuse_ssr_handlers__",Mne=One();function One(){return a0 in o0||(o0[a0]=o0[a0]||{}),o0[a0]}function Dne(e,t){return Mne[e]||t}function Lne(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Nne={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},KL="vueuse-storage";function dt(e,t,n,r={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=Bf,eventFilter:h,onError:d=M=>{console.error(M)},initOnMounted:v}=r,m=(c?Si:Me)(typeof t=="function"?t():t),y=xe(()=>pa(e));if(!n)try{n=Dne("getDefaultStorage",()=>{var M;return(M=Bf)==null?void 0:M.localStorage})()}catch(M){d(M)}if(!n)return m;const _=pa(t),b=Lne(_),S=(i=r.serializer)!=null?i:Nne[b],{pause:w,resume:T}=Tne(m,()=>E(m.value),{flush:o,deep:a,eventFilter:h});Bt(y,()=>I(),{flush:o}),f&&s&&RV(()=>{n instanceof Storage?xf(f,"storage",I,{passive:!0}):xf(f,KL,P),v&&I()}),v||I();function C(M,L){if(f){const k={key:y.value,oldValue:M,newValue:L,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",k):new CustomEvent(KL,{detail:k}))}}function E(M){try{const L=n.getItem(y.value);if(M==null)C(L,null),n.removeItem(y.value);else{const k=S.write(M);L!==k&&(n.setItem(y.value,k),C(L,k))}}catch(L){d(L)}}function R(M){const L=M?M.newValue:n.getItem(y.value);if(L==null)return l&&_!=null&&n.setItem(y.value,S.write(_)),_;if(!M&&u){const k=S.read(L);return typeof u=="function"?u(k,_):b==="object"&&!Array.isArray(k)?{..._,...k}:k}else return typeof L!="string"?L:S.read(L)}function I(M){if(!(M&&M.storageArea!==n)){if(M&&M.key==null){m.value=_;return}if(!(M&&M.key!==y.value)){w();try{(M==null?void 0:M.newValue)!==S.write(m.value)&&(m.value=R(M))}catch(L){d(L)}finally{M?Qa(T):T()}}}}function P(M){I(M.detail)}return m}function kne(e={}){const{document:t=PV}=e;if(!t)return Si("visible");const n=Si(t.visibilityState);return xf(t,"visibilitychange",()=>{n.value=t.visibilityState},{passive:!0}),n}function Fne(e,t,n={}){const{window:r=Bf,...i}=n;let o;const a=kI(()=>r&&"ResizeObserver"in r),s=()=>{o&&(o.disconnect(),o=void 0)},l=xe(()=>{const f=pa(e);return Array.isArray(f)?f.map(h=>bu(h)):[bu(f)]}),u=Bt(l,f=>{if(s(),a.value&&r){o=new ResizeObserver(t);for(const h of f)h&&o.observe(h,i)}},{immediate:!0,flush:"post"}),c=()=>{s(),u()};return vS(c),{isSupported:a,stop:c}}function $I(e,t={width:0,height:0},n={}){const{window:r=Bf,box:i="content-box"}=n,o=xe(()=>{var f,h;return(h=(f=bu(e))==null?void 0:f.namespaceURI)==null?void 0:h.includes("svg")}),a=Si(t.width),s=Si(t.height),{stop:l}=Fne(e,([f])=>{const h=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const d=bu(e);if(d){const v=d.getBoundingClientRect();a.value=v.width,s.value=v.height}}else if(h){const d=Kv(h);a.value=d.reduce((v,{inlineSize:m})=>v+m,0),s.value=d.reduce((v,{blockSize:m})=>v+m,0)}else a.value=f.contentRect.width,s.value=f.contentRect.height},n);RV(()=>{const f=bu(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=Bt(()=>bu(e),f=>{a.value=f?t.width:0,s.value=f?t.height:0});function c(){l(),u()}return{width:a,height:s,stop:c}}const Up=new Map;function $ne(e){const t=Xb();function n(s){var l;const u=Up.get(e)||new Set;u.add(s),Up.set(e,u);const c=()=>i(s);return(l=t==null?void 0:t.cleanups)==null||l.push(c),c}function r(s){function l(...u){i(l),s(...u)}return n(l)}function i(s){const l=Up.get(e);l&&(l.delete(s),l.size||o())}function o(){Up.delete(e)}function a(s,l){var u;(u=Up.get(e))==null||u.forEach(c=>c(s,l))}return{on:n,once:r,off:i,emit:a,reset:o}}function Bne(e,t={}){const{threshold:n=50,onSwipe:r,onSwipeEnd:i,onSwipeStart:o,passive:a=!0}=t,s=_a({x:0,y:0}),l=_a({x:0,y:0}),u=xe(()=>s.x-l.x),c=xe(()=>s.y-l.y),{max:f,abs:h}=Math,d=xe(()=>f(h(u.value),h(c.value))>=n),v=Si(!1),m=xe(()=>d.value?h(u.value)>h(c.value)?u.value>0?"left":"right":c.value>0?"up":"down":"none"),y=E=>[E.touches[0].clientX,E.touches[0].clientY],_=(E,R)=>{s.x=E,s.y=R},b=(E,R)=>{l.x=E,l.y=R},S={passive:a,capture:!a},w=E=>{v.value&&(i==null||i(E,m.value)),v.value=!1},T=[xf(e,"touchstart",E=>{if(E.touches.length!==1)return;const[R,I]=y(E);_(R,I),b(R,I),o==null||o(E)},S),xf(e,"touchmove",E=>{if(E.touches.length!==1)return;const[R,I]=y(E);b(R,I),S.capture&&!S.passive&&Math.abs(u.value)>Math.abs(c.value)&&E.preventDefault(),!v.value&&d.value&&(v.value=!0),v.value&&(r==null||r(E))},S),xf(e,["touchend","touchcancel"],w,S)];return{isSwiping:v,direction:m,coordsStart:s,coordsEnd:l,lengthX:u,lengthY:c,stop:()=>T.forEach(E=>E()),isPassiveEventSupported:!0}}function Vne(e=null,t={}){var n,r,i;const{document:o=PV,restoreOnUnmount:a=f=>f}=t,s=(n=o==null?void 0:o.title)!=null?n:"",l=AV((r=e??(o==null?void 0:o.title))!=null?r:null),u=!!(e&&typeof e=="function");function c(f){if(!("titleTemplate"in t))return f;const h=t.titleTemplate||"%s";return typeof h=="function"?h(f):pa(h).replace(/%s/g,f)}return Bt(l,(f,h)=>{f!==h&&o&&(o.title=c(f??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&o&&!u&&Ine((i=o.head)==null?void 0:i.querySelector("title"),()=>{o&&o.title!==l.value&&(l.value=c(o.title))},{childList:!0}),vS(()=>{if(a){const f=a(s,l.value||"");f!=null&&o&&(o.title=f)}}),l}const MV=FI("(prefers-color-scheme: dark)"),Gu=FI("(max-width: 768px)"),Une=FI("(max-width: 1024px)"),$E=window.matchMedia("(display-mode: standalone)").matches||navigator.standalone,BI=e=>e===Dm.LARGE?FE.LARGE:FE.SMALL,OV="background-image",H1="local-image",Hne=e=>{const t=new Map,r=new Promise((f,h)=>{const d=indexedDB.open(e,1);d.onupgradeneeded=()=>{const v=d.result;v.objectStoreNames.contains(e)||v.createObjectStore(e,{keyPath:"key"})},d.onsuccess=()=>{const y=d.result.transaction(e,"readonly").objectStore(e).openCursor();y.onsuccess=_=>{const b=_.target.result;b?(t.set(b.key,b.value.value),b.continue()):f(d.result)},y.onerror=()=>h(y.error)},d.onerror=()=>h(d.error)}),i=async(f,h)=>{const d=await r;return new Promise((v,m)=>{const _=d.transaction(e,f).objectStore(e),b=h(_);b.onsuccess=()=>v(b.result),b.onerror=()=>m(b.error)})};return{put:async(f,h)=>(t.set(f,h),i("readwrite",d=>d.put({key:f,value:h}))),get:async f=>(await r,t.get(f)),del:async f=>(t.delete(f),i("readwrite",h=>h.delete(f))),getAllKeys:async()=>(await r,Array.from(t.keys())),isExists:async f=>(await r,t.has(f)),clear:async()=>(t.clear(),i("readwrite",f=>f.clear()))}},VI=Hne("base64"),zne=e=>VI.put(OV,e),Gne=()=>VI.get(OV),Wne=()=>VI.clear();var wv={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */var jne=wv.exports,ZL;function Xne(){return ZL||(ZL=1,function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,h=2,d=4,v=1,m=2,y=1,_=2,b=4,S=8,w=16,T=32,C=64,E=128,R=256,I=512,P=30,M="...",L=800,k=16,$=1,W=2,N=3,K=1/0,Y=9007199254740991,ae=17976931348623157e292,ge=NaN,ye=4294967295,Oe=ye-1,ke=ye>>>1,Ue=[["ary",E],["bind",y],["bindKey",_],["curry",S],["curryRight",w],["flip",I],["partial",T],["partialRight",C],["rearg",R]],Le="[object Arguments]",Xe="[object Array]",fe="[object AsyncFunction]",Ae="[object Boolean]",Se="[object Date]",Te="[object DOMException]",Ne="[object Error]",Be="[object Function]",H="[object GeneratorFunction]",G="[object Map]",ue="[object Number]",we="[object Null]",ve="[object Object]",U="[object Promise]",j="[object Proxy]",Q="[object RegExp]",de="[object Set]",_e="[object String]",De="[object Symbol]",J="[object Undefined]",he="[object WeakMap]",Ve="[object WeakSet]",Ze="[object ArrayBuffer]",St="[object DataView]",re="[object Float32Array]",se="[object Float64Array]",pe="[object Int8Array]",Ee="[object Int16Array]",We="[object Int32Array]",oe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",$e="[object Uint16Array]",nt="[object Uint32Array]",je=/\b__p \+= '';/g,Ye=/\b(__p \+=) '' \+/g,rt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ot=/&(?:amp|lt|gt|quot|#39);/g,Lt=/[&<>"']/g,kn=RegExp(Ot.source),Aa=RegExp(Lt.source),Mn=/<%-([\s\S]+?)%>/g,yr=/<%([\s\S]+?)%>/g,ad=/<%=([\s\S]+?)%>/g,Fl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ns=/^\w*$/,ey=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sd=/[\\^$.*+?()[\]{}|]/g,Ew=RegExp(sd.source),zi=/^\s+/,ld=/\s/,ty=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ny=/\{\n\/\* \[wrapped with (.+)\] \*/,yp=/,? & /,ry=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ia=/[()=,{}\[\]\/\s]/,iy=/\\(\\)?/g,oy=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_p=/\w*$/,ay=/^[-+]0x[0-9a-f]+$/i,Aw=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,ie=/^0o[0-7]+$/i,He=/^(?:0|[1-9]\d*)$/,ct=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,Nr=/['\n\r\u2028\u2029\\]/g,nr="\\ud800-\\udfff",ei="\\u0300-\\u036f",Uo="\\ufe20-\\ufe2f",lc="\\u20d0-\\u20ff",kr=ei+Uo+lc,bp="\\u2700-\\u27bf",Sp="a-z\\xdf-\\xf6\\xf8-\\xff",$7="\\xac\\xb1\\xd7\\xf7",B7="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",V7="\\u2000-\\u206f",U7=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dM="A-Z\\xc0-\\xd6\\xd8-\\xde",hM="\\ufe0e\\ufe0f",pM=$7+B7+V7+U7,Iw="['’]",H7="["+nr+"]",vM="["+pM+"]",sy="["+kr+"]",gM="\\d+",z7="["+bp+"]",mM="["+Sp+"]",yM="[^"+nr+pM+gM+bp+Sp+dM+"]",Rw="\\ud83c[\\udffb-\\udfff]",G7="(?:"+sy+"|"+Rw+")",_M="[^"+nr+"]",Pw="(?:\\ud83c[\\udde6-\\uddff]){2}",Mw="[\\ud800-\\udbff][\\udc00-\\udfff]",ud="["+dM+"]",bM="\\u200d",SM="(?:"+mM+"|"+yM+")",W7="(?:"+ud+"|"+yM+")",wM="(?:"+Iw+"(?:d|ll|m|re|s|t|ve))?",xM="(?:"+Iw+"(?:D|LL|M|RE|S|T|VE))?",CM=G7+"?",TM="["+hM+"]?",j7="(?:"+bM+"(?:"+[_M,Pw,Mw].join("|")+")"+TM+CM+")*",X7="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y7="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",EM=TM+CM+j7,K7="(?:"+[z7,Pw,Mw].join("|")+")"+EM,Z7="(?:"+[_M+sy+"?",sy,Pw,Mw,H7].join("|")+")",q7=RegExp(Iw,"g"),J7=RegExp(sy,"g"),Ow=RegExp(Rw+"(?="+Rw+")|"+Z7+EM,"g"),Q7=RegExp([ud+"?"+mM+"+"+wM+"(?="+[vM,ud,"$"].join("|")+")",W7+"+"+xM+"(?="+[vM,ud+SM,"$"].join("|")+")",ud+"?"+SM+"+"+wM,ud+"+"+xM,Y7,X7,gM,K7].join("|"),"g"),e9=RegExp("["+bM+nr+kr+hM+"]"),t9=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,n9=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],r9=-1,Un={};Un[re]=Un[se]=Un[pe]=Un[Ee]=Un[We]=Un[oe]=Un[Ie]=Un[$e]=Un[nt]=!0,Un[Le]=Un[Xe]=Un[Ze]=Un[Ae]=Un[St]=Un[Se]=Un[Ne]=Un[Be]=Un[G]=Un[ue]=Un[ve]=Un[Q]=Un[de]=Un[_e]=Un[he]=!1;var Fn={};Fn[Le]=Fn[Xe]=Fn[Ze]=Fn[St]=Fn[Ae]=Fn[Se]=Fn[re]=Fn[se]=Fn[pe]=Fn[Ee]=Fn[We]=Fn[G]=Fn[ue]=Fn[ve]=Fn[Q]=Fn[de]=Fn[_e]=Fn[De]=Fn[oe]=Fn[Ie]=Fn[$e]=Fn[nt]=!0,Fn[Ne]=Fn[Be]=Fn[he]=!1;var i9={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},o9={"&":"&","<":"<",">":">",'"':""","'":"'"},a9={"&":"&","<":"<",">":">",""":'"',"'":"'"},s9={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},l9=parseFloat,u9=parseInt,AM=typeof Yy=="object"&&Yy&&Yy.Object===Object&&Yy,c9=typeof self=="object"&&self&&self.Object===Object&&self,zr=AM||c9||Function("return this")(),Dw=t&&!t.nodeType&&t,uc=Dw&&!0&&e&&!e.nodeType&&e,IM=uc&&uc.exports===Dw,Lw=IM&&AM.process,Ho=function(){try{var le=uc&&uc.require&&uc.require("util").types;return le||Lw&&Lw.binding&&Lw.binding("util")}catch{}}(),RM=Ho&&Ho.isArrayBuffer,PM=Ho&&Ho.isDate,MM=Ho&&Ho.isMap,OM=Ho&&Ho.isRegExp,DM=Ho&&Ho.isSet,LM=Ho&&Ho.isTypedArray;function bo(le,Ce,me){switch(me.length){case 0:return le.call(Ce);case 1:return le.call(Ce,me[0]);case 2:return le.call(Ce,me[0],me[1]);case 3:return le.call(Ce,me[0],me[1],me[2])}return le.apply(Ce,me)}function f9(le,Ce,me,ot){for(var kt=-1,pn=le==null?0:le.length;++kt-1}function Nw(le,Ce,me){for(var ot=-1,kt=le==null?0:le.length;++ot-1;);return me}function HM(le,Ce){for(var me=le.length;me--&&cd(Ce,le[me],0)>-1;);return me}function b9(le,Ce){for(var me=le.length,ot=0;me--;)le[me]===Ce&&++ot;return ot}var S9=Bw(i9),w9=Bw(o9);function x9(le){return"\\"+s9[le]}function C9(le,Ce){return le==null?n:le[Ce]}function fd(le){return e9.test(le)}function T9(le){return t9.test(le)}function E9(le){for(var Ce,me=[];!(Ce=le.next()).done;)me.push(Ce.value);return me}function zw(le){var Ce=-1,me=Array(le.size);return le.forEach(function(ot,kt){me[++Ce]=[kt,ot]}),me}function zM(le,Ce){return function(me){return le(Ce(me))}}function Vl(le,Ce){for(var me=-1,ot=le.length,kt=0,pn=[];++me-1}function hW(p,g){var x=this.__data__,A=Ty(x,p);return A<0?(++this.size,x.push([p,g])):x[A][1]=g,this}Bs.prototype.clear=uW,Bs.prototype.delete=cW,Bs.prototype.get=fW,Bs.prototype.has=dW,Bs.prototype.set=hW;function Vs(p){var g=-1,x=p==null?0:p.length;for(this.clear();++g=g?p:g)),p}function jo(p,g,x,A,O,V){var Z,ee=g&f,ce=g&h,Re=g&d;if(x&&(Z=O?x(p,A,O,V):x(p)),Z!==n)return Z;if(!er(p))return p;var Pe=Vt(p);if(Pe){if(Z=mj(p),!ee)return Gi(p,Z)}else{var Fe=ni(p),Qe=Fe==Be||Fe==H;if(jl(p))return TO(p,ee);if(Fe==ve||Fe==Le||Qe&&!O){if(Z=ce||Qe?{}:GO(p),!ee)return ce?aj(p,RW(Z,p)):oj(p,tO(Z,p))}else{if(!Fn[Fe])return O?p:{};Z=yj(p,Fe,ee)}}V||(V=new Pa);var vt=V.get(p);if(vt)return vt;V.set(p,Z),_D(p)?p.forEach(function(Et){Z.add(jo(Et,g,x,Et,p,V))}):mD(p)&&p.forEach(function(Et,Jt){Z.set(Jt,jo(Et,g,x,Jt,p,V))});var Tt=Re?ce?vx:px:ce?ji:Fr,Xt=Pe?n:Tt(p);return zo(Xt||p,function(Et,Jt){Xt&&(Jt=Et,Et=p[Jt]),Ip(Z,Jt,jo(Et,g,x,Jt,p,V))}),Z}function PW(p){var g=Fr(p);return function(x){return nO(x,p,g)}}function nO(p,g,x){var A=x.length;if(p==null)return!A;for(p=On(p);A--;){var O=x[A],V=g[O],Z=p[O];if(Z===n&&!(O in p)||!V(Z))return!1}return!0}function rO(p,g,x){if(typeof p!="function")throw new Go(a);return Np(function(){p.apply(n,x)},g)}function Rp(p,g,x,A){var O=-1,V=ly,Z=!0,ee=p.length,ce=[],Re=g.length;if(!ee)return ce;x&&(g=Xn(g,So(x))),A?(V=Nw,Z=!1):g.length>=i&&(V=wp,Z=!1,g=new dc(g));e:for(;++OO?0:O+x),A=A===n||A>O?O:Wt(A),A<0&&(A+=O),A=x>A?0:SD(A);x0&&x(ee)?g>1?Gr(ee,g-1,x,A,O):Bl(O,ee):A||(O[O.length]=ee)}return O}var Zw=MO(),aO=MO(!0);function rs(p,g){return p&&Zw(p,g,Fr)}function qw(p,g){return p&&aO(p,g,Fr)}function Ay(p,g){return $l(g,function(x){return Ws(p[x])})}function pc(p,g){g=Gl(g,p);for(var x=0,A=g.length;p!=null&&xg}function DW(p,g){return p!=null&&Cn.call(p,g)}function LW(p,g){return p!=null&&g in On(p)}function NW(p,g,x){return p>=ti(g,x)&&p=120&&Pe.length>=120)?new dc(Z&&Pe):n}Pe=p[0];var Fe=-1,Qe=ee[0];e:for(;++Fe-1;)ee!==p&&yy.call(ee,ce,1),yy.call(p,ce,1);return p}function mO(p,g){for(var x=p?g.length:0,A=x-1;x--;){var O=g[x];if(x==A||O!==V){var V=O;Gs(O)?yy.call(p,O,1):sx(p,O)}}return p}function ix(p,g){return p+Sy(qM()*(g-p+1))}function YW(p,g,x,A){for(var O=-1,V=Ir(by((g-p)/(x||1)),0),Z=me(V);V--;)Z[A?V:++O]=p,p+=x;return Z}function ox(p,g){var x="";if(!p||g<1||g>Y)return x;do g%2&&(x+=p),g=Sy(g/2),g&&(p+=p);while(g);return x}function Yt(p,g){return xx(XO(p,g,Xi),p+"")}function KW(p){return eO(wd(p))}function ZW(p,g){var x=wd(p);return $y(x,hc(g,0,x.length))}function Op(p,g,x,A){if(!er(p))return p;g=Gl(g,p);for(var O=-1,V=g.length,Z=V-1,ee=p;ee!=null&&++OO?0:O+g),x=x>O?O:x,x<0&&(x+=O),O=g>x?0:x-g>>>0,g>>>=0;for(var V=me(O);++A>>1,Z=p[V];Z!==null&&!xo(Z)&&(x?Z<=g:Z=i){var Re=g?null:cj(p);if(Re)return cy(Re);Z=!1,O=wp,ce=new dc}else ce=g?[]:ee;e:for(;++A=A?p:Xo(p,g,x)}var CO=U9||function(p){return zr.clearTimeout(p)};function TO(p,g){if(g)return p.slice();var x=p.length,A=jM?jM(x):new p.constructor(x);return p.copy(A),A}function fx(p){var g=new p.constructor(p.byteLength);return new gy(g).set(new gy(p)),g}function tj(p,g){var x=g?fx(p.buffer):p.buffer;return new p.constructor(x,p.byteOffset,p.byteLength)}function nj(p){var g=new p.constructor(p.source,_p.exec(p));return g.lastIndex=p.lastIndex,g}function rj(p){return Ap?On(Ap.call(p)):{}}function EO(p,g){var x=g?fx(p.buffer):p.buffer;return new p.constructor(x,p.byteOffset,p.length)}function AO(p,g){if(p!==g){var x=p!==n,A=p===null,O=p===p,V=xo(p),Z=g!==n,ee=g===null,ce=g===g,Re=xo(g);if(!ee&&!Re&&!V&&p>g||V&&Z&&ce&&!ee&&!Re||A&&Z&&ce||!x&&ce||!O)return 1;if(!A&&!V&&!Re&&p=ee)return ce;var Re=x[A];return ce*(Re=="desc"?-1:1)}}return p.index-g.index}function IO(p,g,x,A){for(var O=-1,V=p.length,Z=x.length,ee=-1,ce=g.length,Re=Ir(V-Z,0),Pe=me(ce+Re),Fe=!A;++ee1?x[O-1]:n,Z=O>2?x[2]:n;for(V=p.length>3&&typeof V=="function"?(O--,V):n,Z&&Ti(x[0],x[1],Z)&&(V=O<3?n:V,O=1),g=On(g);++A-1?O[V?g[Z]:Z]:n}}function LO(p){return zs(function(g){var x=g.length,A=x,O=Wo.prototype.thru;for(p&&g.reverse();A--;){var V=g[A];if(typeof V!="function")throw new Go(a);if(O&&!Z&&ky(V)=="wrapper")var Z=new Wo([],!0)}for(A=Z?A:x;++A1&&ln.reverse(),Pe&&ceee))return!1;var Re=V.get(p),Pe=V.get(g);if(Re&&Pe)return Re==g&&Pe==p;var Fe=-1,Qe=!0,vt=x&m?new dc:n;for(V.set(p,g),V.set(g,p);++Fe1?"& ":"")+g[A],g=g.join(x>2?", ":" "),p.replace(ty,`{ /* [wrapped with `+g+`] */ `)}function bj(p){return Vt(p)||mc(p)||!!(KM&&p&&p[KM])}function Gs(p,g){var x=typeof p;return g=g??Y,!!g&&(x=="number"||x!="symbol"&&He.test(p))&&p>-1&&p%1==0&&p0){if(++g>=L)return arguments[0]}else g=0;return p.apply(n,arguments)}}function $y(p,g){var x=-1,A=p.length,O=A-1;for(g=g===n?A:g;++x1?p[g-1]:n;return x=typeof x=="function"?(p.pop(),x):n,oD(p,x)});function aD(p){var g=F(p);return g.__chain__=!0,g}function MX(p,g){return g(p),p}function By(p,g){return g(p)}var OX=zs(function(p){var g=p.length,x=g?p[0]:0,A=this.__wrapped__,O=function(V){return Kw(V,p)};return g>1||this.__actions__.length||!(A instanceof rn)||!Gs(x)?this.thru(O):(A=A.slice(x,+x+(g?1:0)),A.__actions__.push({func:By,args:[O],thisArg:n}),new Wo(A,this.__chain__).thru(function(V){return g&&!V.length&&V.push(n),V}))});function DX(){return aD(this)}function LX(){return new Wo(this.value(),this.__chain__)}function NX(){this.__values__===n&&(this.__values__=bD(this.value()));var p=this.__index__>=this.__values__.length,g=p?n:this.__values__[this.__index__++];return{done:p,value:g}}function kX(){return this}function FX(p){for(var g,x=this;x instanceof Cy;){var A=QO(x);A.__index__=0,A.__values__=n,g?O.__wrapped__=A:g=A;var O=A;x=x.__wrapped__}return O.__wrapped__=p,g}function $X(){var p=this.__wrapped__;if(p instanceof rn){var g=p;return this.__actions__.length&&(g=new rn(this)),g=g.reverse(),g.__actions__.push({func:By,args:[Cx],thisArg:n}),new Wo(g,this.__chain__)}return this.thru(Cx)}function BX(){return wO(this.__wrapped__,this.__actions__)}var VX=My(function(p,g,x){Cn.call(p,x)?++p[x]:Us(p,x,1)});function UX(p,g,x){var A=Vt(p)?NM:MW;return x&&Ti(p,g,x)&&(g=n),A(p,xt(g,3))}function HX(p,g){var x=Vt(p)?$l:oO;return x(p,xt(g,3))}var zX=DO(eD),GX=DO(tD);function WX(p,g){return Gr(Vy(p,g),1)}function jX(p,g){return Gr(Vy(p,g),K)}function XX(p,g,x){return x=x===n?1:Wt(x),Gr(Vy(p,g),x)}function sD(p,g){var x=Vt(p)?zo:Hl;return x(p,xt(g,3))}function lD(p,g){var x=Vt(p)?d9:iO;return x(p,xt(g,3))}var YX=My(function(p,g,x){Cn.call(p,x)?p[x].push(g):Us(p,x,[g])});function KX(p,g,x,A){p=Wi(p)?p:wd(p),x=x&&!A?Wt(x):0;var O=p.length;return x<0&&(x=Ir(O+x,0)),Wy(p)?x<=O&&p.indexOf(g,x)>-1:!!O&&cd(p,g,x)>-1}var ZX=Yt(function(p,g,x){var A=-1,O=typeof g=="function",V=Wi(p)?me(p.length):[];return Hl(p,function(Z){V[++A]=O?bo(g,Z,x):Pp(Z,g,x)}),V}),qX=My(function(p,g,x){Us(p,x,g)});function Vy(p,g){var x=Vt(p)?Xn:fO;return x(p,xt(g,3))}function JX(p,g,x,A){return p==null?[]:(Vt(g)||(g=g==null?[]:[g]),x=A?n:x,Vt(x)||(x=x==null?[]:[x]),vO(p,g,x))}var QX=My(function(p,g,x){p[x?0:1].push(g)},function(){return[[],[]]});function eY(p,g,x){var A=Vt(p)?kw:BM,O=arguments.length<3;return A(p,xt(g,4),x,O,Hl)}function tY(p,g,x){var A=Vt(p)?h9:BM,O=arguments.length<3;return A(p,xt(g,4),x,O,iO)}function nY(p,g){var x=Vt(p)?$l:oO;return x(p,zy(xt(g,3)))}function rY(p){var g=Vt(p)?eO:KW;return g(p)}function iY(p,g,x){(x?Ti(p,g,x):g===n)?g=1:g=Wt(g);var A=Vt(p)?EW:ZW;return A(p,g)}function oY(p){var g=Vt(p)?AW:JW;return g(p)}function aY(p){if(p==null)return 0;if(Wi(p))return Wy(p)?dd(p):p.length;var g=ni(p);return g==G||g==de?p.size:tx(p).length}function sY(p,g,x){var A=Vt(p)?Fw:QW;return x&&Ti(p,g,x)&&(g=n),A(p,xt(g,3))}var lY=Yt(function(p,g){if(p==null)return[];var x=g.length;return x>1&&Ti(p,g[0],g[1])?g=[]:x>2&&Ti(g[0],g[1],g[2])&&(g=[g[0]]),vO(p,Gr(g,1),[])}),Uy=H9||function(){return zr.Date.now()};function uY(p,g){if(typeof g!="function")throw new Go(a);return p=Wt(p),function(){if(--p<1)return g.apply(this,arguments)}}function uD(p,g,x){return g=x?n:g,g=p&&g==null?p.length:g,Hs(p,E,n,n,n,n,g)}function cD(p,g){var x;if(typeof g!="function")throw new Go(a);return p=Wt(p),function(){return--p>0&&(x=g.apply(this,arguments)),p<=1&&(g=n),x}}var Ex=Yt(function(p,g,x){var A=y;if(x.length){var O=Vl(x,bd(Ex));A|=T}return Hs(p,A,g,x,O)}),fD=Yt(function(p,g,x){var A=y|_;if(x.length){var O=Vl(x,bd(fD));A|=T}return Hs(g,A,p,x,O)});function dD(p,g,x){g=x?n:g;var A=Hs(p,S,n,n,n,n,n,g);return A.placeholder=dD.placeholder,A}function hD(p,g,x){g=x?n:g;var A=Hs(p,w,n,n,n,n,n,g);return A.placeholder=hD.placeholder,A}function pD(p,g,x){var A,O,V,Z,ee,ce,Re=0,Pe=!1,Fe=!1,Qe=!0;if(typeof p!="function")throw new Go(a);g=Ko(g)||0,er(x)&&(Pe=!!x.leading,Fe="maxWait"in x,V=Fe?Ir(Ko(x.maxWait)||0,g):V,Qe="trailing"in x?!!x.trailing:Qe);function vt(hr){var Oa=A,Xs=O;return A=O=n,Re=hr,Z=p.apply(Xs,Oa),Z}function Tt(hr){return Re=hr,ee=Np(Jt,g),Pe?vt(hr):Z}function Xt(hr){var Oa=hr-ce,Xs=hr-Re,DD=g-Oa;return Fe?ti(DD,V-Xs):DD}function Et(hr){var Oa=hr-ce,Xs=hr-Re;return ce===n||Oa>=g||Oa<0||Fe&&Xs>=V}function Jt(){var hr=Uy();if(Et(hr))return ln(hr);ee=Np(Jt,Xt(hr))}function ln(hr){return ee=n,Qe&&A?vt(hr):(A=O=n,Z)}function Co(){ee!==n&&CO(ee),Re=0,A=ce=O=ee=n}function Ei(){return ee===n?Z:ln(Uy())}function To(){var hr=Uy(),Oa=Et(hr);if(A=arguments,O=this,ce=hr,Oa){if(ee===n)return Tt(ce);if(Fe)return CO(ee),ee=Np(Jt,g),vt(ce)}return ee===n&&(ee=Np(Jt,g)),Z}return To.cancel=Co,To.flush=Ei,To}var cY=Yt(function(p,g){return rO(p,1,g)}),fY=Yt(function(p,g,x){return rO(p,Ko(g)||0,x)});function dY(p){return Hs(p,I)}function Hy(p,g){if(typeof p!="function"||g!=null&&typeof g!="function")throw new Go(a);var x=function(){var A=arguments,O=g?g.apply(this,A):A[0],V=x.cache;if(V.has(O))return V.get(O);var Z=p.apply(this,A);return x.cache=V.set(O,Z)||V,Z};return x.cache=new(Hy.Cache||Vs),x}Hy.Cache=Vs;function zy(p){if(typeof p!="function")throw new Go(a);return function(){var g=arguments;switch(g.length){case 0:return!p.call(this);case 1:return!p.call(this,g[0]);case 2:return!p.call(this,g[0],g[1]);case 3:return!p.call(this,g[0],g[1],g[2])}return!p.apply(this,g)}}function hY(p){return cD(2,p)}var pY=ej(function(p,g){g=g.length==1&&Vt(g[0])?Xn(g[0],So(xt())):Xn(Gr(g,1),So(xt()));var x=g.length;return Yt(function(A){for(var O=-1,V=ti(A.length,x);++O=g}),mc=lO(function(){return arguments}())?lO:function(p){return rr(p)&&Cn.call(p,"callee")&&!YM.call(p,"callee")},Vt=me.isArray,RY=RM?So(RM):FW;function Wi(p){return p!=null&&Gy(p.length)&&!Ws(p)}function dr(p){return rr(p)&&Wi(p)}function PY(p){return p===!0||p===!1||rr(p)&&Ci(p)==Ae}var jl=G9||$x,MY=PM?So(PM):$W;function OY(p){return rr(p)&&p.nodeType===1&&!kp(p)}function DY(p){if(p==null)return!0;if(Wi(p)&&(Vt(p)||typeof p=="string"||typeof p.splice=="function"||jl(p)||Sd(p)||mc(p)))return!p.length;var g=ni(p);if(g==G||g==de)return!p.size;if(Lp(p))return!tx(p).length;for(var x in p)if(Cn.call(p,x))return!1;return!0}function LY(p,g){return Mp(p,g)}function NY(p,g,x){x=typeof x=="function"?x:n;var A=x?x(p,g):n;return A===n?Mp(p,g,n,x):!!A}function Ix(p){if(!rr(p))return!1;var g=Ci(p);return g==Ne||g==Te||typeof p.message=="string"&&typeof p.name=="string"&&!kp(p)}function kY(p){return typeof p=="number"&&ZM(p)}function Ws(p){if(!er(p))return!1;var g=Ci(p);return g==Be||g==H||g==fe||g==j}function gD(p){return typeof p=="number"&&p==Wt(p)}function Gy(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=Y}function er(p){var g=typeof p;return p!=null&&(g=="object"||g=="function")}function rr(p){return p!=null&&typeof p=="object"}var mD=MM?So(MM):VW;function FY(p,g){return p===g||ex(p,g,mx(g))}function $Y(p,g,x){return x=typeof x=="function"?x:n,ex(p,g,mx(g),x)}function BY(p){return yD(p)&&p!=+p}function VY(p){if(xj(p))throw new kt(o);return uO(p)}function UY(p){return p===null}function HY(p){return p==null}function yD(p){return typeof p=="number"||rr(p)&&Ci(p)==ue}function kp(p){if(!rr(p)||Ci(p)!=ve)return!1;var g=my(p);if(g===null)return!0;var x=Cn.call(g,"constructor")&&g.constructor;return typeof x=="function"&&x instanceof x&&hy.call(x)==$9}var Rx=OM?So(OM):UW;function zY(p){return gD(p)&&p>=-9007199254740991&&p<=Y}var _D=DM?So(DM):HW;function Wy(p){return typeof p=="string"||!Vt(p)&&rr(p)&&Ci(p)==_e}function xo(p){return typeof p=="symbol"||rr(p)&&Ci(p)==De}var Sd=LM?So(LM):zW;function GY(p){return p===n}function WY(p){return rr(p)&&ni(p)==he}function jY(p){return rr(p)&&Ci(p)==Ve}var XY=Ny(nx),YY=Ny(function(p,g){return p<=g});function bD(p){if(!p)return[];if(Wi(p))return Wy(p)?Ra(p):Gi(p);if(xp&&p[xp])return E9(p[xp]());var g=ni(p),x=g==G?zw:g==de?cy:wd;return x(p)}function js(p){if(!p)return p===0?p:0;if(p=Ko(p),p===K||p===-1/0){var g=p<0?-1:1;return g*ae}return p===p?p:0}function Wt(p){var g=js(p),x=g%1;return g===g?x?g-x:g:0}function SD(p){return p?hc(Wt(p),0,ye):0}function Ko(p){if(typeof p=="number")return p;if(xo(p))return ge;if(er(p)){var g=typeof p.valueOf=="function"?p.valueOf():p;p=er(g)?g+"":g}if(typeof p!="string")return p===0?p:+p;p=VM(p);var x=Aw.test(p);return x||ie.test(p)?u9(p.slice(2),x?2:8):ay.test(p)?ge:+p}function wD(p){return is(p,ji(p))}function KY(p){return p?hc(Wt(p),-9007199254740991,Y):p===0?p:0}function yn(p){return p==null?"":wo(p)}var ZY=yd(function(p,g){if(Lp(g)||Wi(g)){is(g,Fr(g),p);return}for(var x in g)Cn.call(g,x)&&Ip(p,x,g[x])}),xD=yd(function(p,g){is(g,ji(g),p)}),jy=yd(function(p,g,x,A){is(g,ji(g),p,A)}),qY=yd(function(p,g,x,A){is(g,Fr(g),p,A)}),JY=zs(Kw);function QY(p,g){var x=md(p);return g==null?x:tO(x,g)}var eK=Yt(function(p,g){p=On(p);var x=-1,A=g.length,O=A>2?g[2]:n;for(O&&Ti(g[0],g[1],O)&&(A=1);++x1),V}),is(p,vx(p),x),A&&(x=jo(x,f|h|d,fj));for(var O=g.length;O--;)sx(x,g[O]);return x});function yK(p,g){return TD(p,zy(xt(g)))}var _K=zs(function(p,g){return p==null?{}:jW(p,g)});function TD(p,g){if(p==null)return{};var x=Xn(vx(p),function(A){return[A]});return g=xt(g),gO(p,x,function(A,O){return g(A,O[0])})}function bK(p,g,x){g=Gl(g,p);var A=-1,O=g.length;for(O||(O=1,p=n);++Ag){var A=p;p=g,g=A}if(x||p%1||g%1){var O=qM();return ti(p+O*(g-p+l9("1e-"+((O+"").length-1))),g)}return ix(p,g)}var MK=_d(function(p,g,x){return g=g.toLowerCase(),p+(x?ID(g):g)});function ID(p){return Ox(yn(p).toLowerCase())}function RD(p){return p=yn(p),p&&p.replace(ct,S9).replace(J7,"")}function OK(p,g,x){p=yn(p),g=wo(g);var A=p.length;x=x===n?A:hc(Wt(x),0,A);var O=x;return x-=g.length,x>=0&&p.slice(x,O)==g}function DK(p){return p=yn(p),p&&Aa.test(p)?p.replace(Lt,w9):p}function LK(p){return p=yn(p),p&&Ew.test(p)?p.replace(sd,"\\$&"):p}var NK=_d(function(p,g,x){return p+(x?"-":"")+g.toLowerCase()}),kK=_d(function(p,g,x){return p+(x?" ":"")+g.toLowerCase()}),FK=OO("toLowerCase");function $K(p,g,x){p=yn(p),g=Wt(g);var A=g?dd(p):0;if(!g||A>=g)return p;var O=(g-A)/2;return Ly(Sy(O),x)+p+Ly(by(O),x)}function BK(p,g,x){p=yn(p),g=Wt(g);var A=g?dd(p):0;return g&&A>>0,x?(p=yn(p),p&&(typeof g=="string"||g!=null&&!Rx(g))&&(g=wo(g),!g&&fd(p))?Wl(Ra(p),0,x):p.split(g,x)):[]}var jK=_d(function(p,g,x){return p+(x?" ":"")+Ox(g)});function XK(p,g,x){return p=yn(p),x=x==null?0:hc(Wt(x),0,p.length),g=wo(g),p.slice(x,x+g.length)==g}function YK(p,g,x){var A=F.templateSettings;x&&Ti(p,g,x)&&(g=n),p=yn(p),g=jy({},g,A,BO);var O=jy({},g.imports,A.imports,BO),V=Fr(O),Z=Hw(O,V),ee,ce,Re=0,Pe=g.interpolate||xn,Fe="__p += '",Qe=Gw((g.escape||xn).source+"|"+Pe.source+"|"+(Pe===ad?oy:xn).source+"|"+(g.evaluate||xn).source+"|$","g"),vt="//# sourceURL="+(Cn.call(g,"sourceURL")?(g.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++r9+"]")+` `;p.replace(Qe,function(Et,Jt,ln,Co,Ei,To){return ln||(ln=Co),Fe+=p.slice(Re,To).replace(Nr,x9),Jt&&(ee=!0,Fe+=`' + __e(`+Jt+`) + '`),Ei&&(ce=!0,Fe+=`'; `+Ei+`; __p += '`),ln&&(Fe+=`' + ((__t = (`+ln+`)) == null ? '' : __t) + '`),Re=To+Et.length,Et}),Fe+=`'; `;var Tt=Cn.call(g,"variable")&&g.variable;if(!Tt)Fe=`with (obj) { `+Fe+` } `;else if(Ia.test(Tt))throw new kt(s);Fe=(ce?Fe.replace(je,""):Fe).replace(Ye,"$1").replace(rt,"$1;"),Fe="function("+(Tt||"obj")+`) { `+(Tt?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(ee?", __e = _.escape":"")+(ce?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+Fe+`return __p }`;var Xt=MD(function(){return pn(V,vt+"return "+Fe).apply(n,Z)});if(Xt.source=Fe,Ix(Xt))throw Xt;return Xt}function KK(p){return yn(p).toLowerCase()}function ZK(p){return yn(p).toUpperCase()}function qK(p,g,x){if(p=yn(p),p&&(x||g===n))return VM(p);if(!p||!(g=wo(g)))return p;var A=Ra(p),O=Ra(g),V=UM(A,O),Z=HM(A,O)+1;return Wl(A,V,Z).join("")}function JK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.slice(0,GM(p)+1);if(!p||!(g=wo(g)))return p;var A=Ra(p),O=HM(A,Ra(g))+1;return Wl(A,0,O).join("")}function QK(p,g,x){if(p=yn(p),p&&(x||g===n))return p.replace(zi,"");if(!p||!(g=wo(g)))return p;var A=Ra(p),O=UM(A,Ra(g));return Wl(A,O).join("")}function eZ(p,g){var x=P,A=M;if(er(g)){var O="separator"in g?g.separator:O;x="length"in g?Wt(g.length):x,A="omission"in g?wo(g.omission):A}p=yn(p);var V=p.length;if(fd(p)){var Z=Ra(p);V=Z.length}if(x>=V)return p;var ee=x-dd(A);if(ee<1)return A;var ce=Z?Wl(Z,0,ee).join(""):p.slice(0,ee);if(O===n)return ce+A;if(Z&&(ee+=ce.length-ee),Rx(O)){if(p.slice(ee).search(O)){var Re,Pe=ce;for(O.global||(O=Gw(O.source,yn(_p.exec(O))+"g")),O.lastIndex=0;Re=O.exec(Pe);)var Fe=Re.index;ce=ce.slice(0,Fe===n?ee:Fe)}}else if(p.indexOf(wo(O),ee)!=ee){var Qe=ce.lastIndexOf(O);Qe>-1&&(ce=ce.slice(0,Qe))}return ce+A}function tZ(p){return p=yn(p),p&&kn.test(p)?p.replace(Ot,P9):p}var nZ=_d(function(p,g,x){return p+(x?" ":"")+g.toUpperCase()}),Ox=OO("toUpperCase");function PD(p,g,x){return p=yn(p),g=x?n:g,g===n?T9(p)?D9(p):g9(p):p.match(g)||[]}var MD=Yt(function(p,g){try{return bo(p,n,g)}catch(x){return Ix(x)?x:new kt(x)}}),rZ=zs(function(p,g){return zo(g,function(x){x=os(x),Us(p,x,Ex(p[x],p))}),p});function iZ(p){var g=p==null?0:p.length,x=xt();return p=g?Xn(p,function(A){if(typeof A[1]!="function")throw new Go(a);return[x(A[0]),A[1]]}):[],Yt(function(A){for(var O=-1;++OY)return[];var x=ye,A=ti(p,ye);g=xt(g),p-=ye;for(var O=Uw(A,g);++x0||g<0)?new rn(x):(p<0?x=x.takeRight(-p):p&&(x=x.drop(p)),g!==n&&(g=Wt(g),x=g<0?x.dropRight(-g):x.take(g-p)),x)},rn.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},rn.prototype.toArray=function(){return this.take(ye)},rs(rn.prototype,function(p,g){var x=/^(?:filter|find|map|reject)|While$/.test(g),A=/^(?:head|last)$/.test(g),O=F[A?"take"+(g=="last"?"Right":""):g],V=A||/^find/.test(g);O&&(F.prototype[g]=function(){var Z=this.__wrapped__,ee=A?[1]:arguments,ce=Z instanceof rn,Re=ee[0],Pe=ce||Vt(Z),Fe=function(Jt){var ln=O.apply(F,Bl([Jt],ee));return A&&Qe?ln[0]:ln};Pe&&x&&typeof Re=="function"&&Re.length!=1&&(ce=Pe=!1);var Qe=this.__chain__,vt=!!this.__actions__.length,Tt=V&&!Qe,Xt=ce&&!vt;if(!V&&Pe){Z=Xt?Z:new rn(this);var Et=p.apply(Z,ee);return Et.__actions__.push({func:By,args:[Fe],thisArg:n}),new Wo(Et,Qe)}return Tt&&Xt?p.apply(this,ee):(Et=this.thru(Fe),Tt?A?Et.value()[0]:Et.value():Et)})}),zo(["pop","push","shift","sort","splice","unshift"],function(p){var g=fy[p],x=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",A=/^(?:pop|shift)$/.test(p);F.prototype[p]=function(){var O=arguments;if(A&&!this.__chain__){var V=this.value();return g.apply(Vt(V)?V:[],O)}return this[x](function(Z){return g.apply(Vt(Z)?Z:[],O)})}}),rs(rn.prototype,function(p,g){var x=F[g];if(x){var A=x.name+"";Cn.call(gd,A)||(gd[A]=[]),gd[A].push({name:g,func:x})}}),gd[Oy(n,_).name]=[{name:"wrapper",func:n}],rn.prototype.clone=tW,rn.prototype.reverse=nW,rn.prototype.value=rW,F.prototype.at=OX,F.prototype.chain=DX,F.prototype.commit=LX,F.prototype.next=NX,F.prototype.plant=FX,F.prototype.reverse=$X,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=BX,F.prototype.first=F.prototype.head,xp&&(F.prototype[xp]=kX),F},hd=L9();uc?((uc.exports=hd)._=hd,Dw._=hd):zr._=hd}).call(jne)}(wv,wv.exports)),wv.exports}var mr=Xne();const Wr=[];for(let e=0;e<256;++e)Wr.push((e+256).toString(16).slice(1));function Yne(e,t=0){return(Wr[e[t+0]]+Wr[e[t+1]]+Wr[e[t+2]]+Wr[e[t+3]]+"-"+Wr[e[t+4]]+Wr[e[t+5]]+"-"+Wr[e[t+6]]+Wr[e[t+7]]+"-"+Wr[e[t+8]]+Wr[e[t+9]]+"-"+Wr[e[t+10]]+Wr[e[t+11]]+Wr[e[t+12]]+Wr[e[t+13]]+Wr[e[t+14]]+Wr[e[t+15]]).toLowerCase()}let iC;const Kne=new Uint8Array(16);function Zne(){if(!iC){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");iC=crypto.getRandomValues.bind(crypto)}return iC(Kne)}const qne=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),qL={randomUUID:qne};function gS(e,t,n){var i;if(qL.randomUUID&&!e)return qL.randomUUID();e=e||{};const r=e.random??((i=e.rng)==null?void 0:i.call(e))??Zne();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Yne(r)}const DV=dt("config/theme","default"),LV=DV.value==="default",Lu=dt("config/default-theme",LV?"light":DV.value),Nu=dt("config/dark-theme","dark"),xv=dt("config/auto-theme",LV),NV=e=>e==="light-daisyui-v5"?"light":e==="dark-daisyui-v5"?"dark":e;Lu.value=NV(Lu.value);Nu.value=NV(Nu.value);const BE=xe(()=>xv.value&&MV.value?Nu.value:Lu.value),Gg=dt("config/custom-themes",[]),Su=dt("config/language",Object.values(_s).includes(navigator.language)?navigator.language:_s.EN_US),JL=dt("config/is-sidebar-collapsed",!0),za=xe({get:()=>Gu.value?!0:JL.value,set:e=>{JL.value=e}}),Zv=dt("config/font",mu.MI_SANS),Wa=dt("config/custom-background-image",""),M_=dt("config/dashboard-transparent",90),O_=dt("config/auto-upgrade",!1),qd=dt("config/check-upgrade-core",!0),Cv=dt("config/auto-upgrade-core",!1),D_=dt("config/swipe-in-tabs",!1),Jd=dt("config/split-overview-page",!1),Td=dt("config/show-ip-and-connection-info",!0),L_=dt("config/auto-ip-check",!0),N_=dt("config/auto-connection-check",!0),k_=dt("config/show-statistics-when-sidebar-collapsed",!0),VE=dt("config/collapse-group-map",{}),Cf=dt("config/two-columns",!0),Tf=dt("config/speedtest-url",xV),hh=dt("config/independent-latency-test",!1),ku=dt("config/speedtest-timeout",5e3),UE=dt("config/proxy-sort-type",yu.DEFAULT),HE=dt("config/automatic-disconnection",!0),F_=dt("config/truncate-proxy-name",!0),qv=dt("config/proxy-preview-type",Ug.AUTO),zE=dt("config/hide-unavailable-proxies",!1),wu=dt("config/low-latency",400),ul=dt("config/medium-latency",800),Ef=dt("config/ipv6-test",!1),nf=dt("config/proxy-card-size",Dm.LARGE),Jv=dt("config/min-proxy-card-width",BI(nf.value)),Wg=dt("config/manage-hidden-group-mode",!1),$_=dt("config/display-global-by-mode",!1),Qv=dt("config/icon-size",14),B_=dt("config/icon-margin-right",6),eg=dt("config/proxies-count-mode",zg.ALIVE_TOTAL),Mo=dt("config/use-connecticon-card",window.innerWidth<640),ph=dt("config/proxy-chain-direction",ip.NORMAL),V_=dt("config/connecticon-table-size",Hg.SMALL),U_=dt("config/table-width-mode",pS.AUTO),xu=dt("config/connection-table-columns",[ze.Close,ze.Host,ze.Type,ze.Rule,ze.Chains,ze.DlSpeed,ze.UlSpeed,ze.Download,ze.Upload,ze.ConnectTime]),to=dt("config/connection-card-lines",TV),kV=e=>e!=="details",FV=e=>e==="transferType"?ze.DestinationType:e==="proxyNodeAddress"?ze.RemoteAddress:e;xu.value=xu.value.filter(kV).map(FV);to.value=to.value.map(e=>e.filter(kV).map(FV));const Jne=dt("config/source-ip-label-map",{}),ia=dt("config/source-ip-label-list",()=>{const e=Jne.value;return mr.isEmpty(e)?[]:Object.entries(e).sort((t,n)=>t[0].localeCompare(n[0])).map(([t,n])=>({key:t,label:n,id:gS()}))}),GE=dt("config/display-now-node-in-rule",!0),WE=dt("config/display-latency-in-rule",!0),jE=dt("config/log-retention-limit",1e3),Ed=dt("config/log-search-history",[]);/*! * shared v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const z1=typeof window<"u",rc=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qne=(e,t,n)=>ere({l:e,k:t,s:n}),ere=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),wr=e=>typeof e=="number"&&isFinite(e),tre=e=>UI(e)==="[object Date]",Mh=e=>UI(e)==="[object RegExp]",mS=e=>tn(e)&&Object.keys(e).length===0,Or=Object.assign,nre=Object.create,Pn=(e=null)=>nre(e);let QL;const rf=()=>QL||(QL=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Pn());function eN(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const rre=Object.prototype.hasOwnProperty;function Xa(e,t){return rre.call(e,t)}const xr=Array.isArray,zn=e=>typeof e=="function",at=e=>typeof e=="string",hn=e=>typeof e=="boolean",gn=e=>e!==null&&typeof e=="object",ire=e=>gn(e)&&zn(e.then)&&zn(e.catch),$V=Object.prototype.toString,UI=e=>$V.call(e),tn=e=>UI(e)==="[object Object]",ore=e=>e==null?"":xr(e)||tn(e)&&e.toString===$V?JSON.stringify(e,null,2):String(e);function HI(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function are(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const s0=e=>!gn(e)||xr(e);function H_(e,t){if(s0(e)||s0(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(gn(r[o])&&!gn(i[o])&&(i[o]=Array.isArray(r[o])?[]:Pn()),s0(i[o])||s0(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]}))})}}/*! * message-compiler v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function sre(e,t,n){return{line:e,column:t,offset:n}}function XE(e,t,n){return{start:e,end:t}}const Tn={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},lre=17;function yS(e,t,n={}){const{domain:r,messages:i,args:o}=n,a=e,s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=r,s}function ure(e){throw e}const qs=" ",cre="\r",Pi=` `,fre="\u2028",dre="\u2029";function hre(e){const t=e;let n=0,r=1,i=1,o=0;const a=E=>t[E]===cre&&t[E+1]===Pi,s=E=>t[E]===Pi,l=E=>t[E]===dre,u=E=>t[E]===fre,c=E=>a(E)||s(E)||l(E)||u(E),f=()=>n,h=()=>r,d=()=>i,v=()=>o,m=E=>a(E)||l(E)||u(E)?Pi:t[E],y=()=>m(n),_=()=>m(n+o);function b(){return o=0,c(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function S(){return a(n+o)&&o++,o++,t[n+o]}function w(){n=0,r=1,i=1,o=0}function T(E=0){o=E}function C(){const E=n+o;for(;E!==n;)b();o=0}return{index:f,line:h,column:d,peekOffset:v,charAt:m,currentChar:y,currentPeek:_,next:b,peek:S,reset:w,resetPeek:T,skipToPeek:C}}const Kl=void 0,pre=".",tN="'",vre="tokenizer";function gre(e,t={}){const n=t.location!==!1,r=hre(e),i=()=>r.index(),o=()=>sre(r.line(),r.column(),r.index()),a=o(),s=i(),l={currentType:13,offset:s,startLoc:a,endLoc:a,lastType:13,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=t;function f(U,j,Q,...de){const _e=u();if(j.column+=Q,j.offset+=Q,c){const De=n?XE(_e.startLoc,j):null,J=yS(U,De,{domain:vre,args:de});c(J)}}function h(U,j,Q){U.endLoc=o(),U.currentType=j;const de={type:j};return n&&(de.loc=XE(U.startLoc,U.endLoc)),Q!=null&&(de.value=Q),de}const d=U=>h(U,13);function v(U,j){return U.currentChar()===j?(U.next(),j):(f(Tn.EXPECTED_TOKEN,o(),0,j),"")}function m(U){let j="";for(;U.currentPeek()===qs||U.currentPeek()===Pi;)j+=U.currentPeek(),U.peek();return j}function y(U){const j=m(U);return U.skipToPeek(),j}function _(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function b(U){if(U===Kl)return!1;const j=U.charCodeAt(0);return j>=48&&j<=57}function S(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=_(U.currentPeek());return U.resetPeek(),de}function w(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=U.currentPeek()==="-"?U.peek():U.currentPeek(),_e=b(de);return U.resetPeek(),_e}function T(U,j){const{currentType:Q}=j;if(Q!==2)return!1;m(U);const de=U.currentPeek()===tN;return U.resetPeek(),de}function C(U,j){const{currentType:Q}=j;if(Q!==7)return!1;m(U);const de=U.currentPeek()===".";return U.resetPeek(),de}function E(U,j){const{currentType:Q}=j;if(Q!==8)return!1;m(U);const de=_(U.currentPeek());return U.resetPeek(),de}function R(U,j){const{currentType:Q}=j;if(!(Q===7||Q===11))return!1;m(U);const de=U.currentPeek()===":";return U.resetPeek(),de}function I(U,j){const{currentType:Q}=j;if(Q!==9)return!1;const de=()=>{const De=U.currentPeek();return De==="{"?_(U.peek()):De==="@"||De==="|"||De===":"||De==="."||De===qs||!De?!1:De===Pi?(U.peek(),de()):M(U,!1)},_e=de();return U.resetPeek(),_e}function P(U){m(U);const j=U.currentPeek()==="|";return U.resetPeek(),j}function M(U,j=!0){const Q=(_e=!1,De="")=>{const J=U.currentPeek();return J==="{"||J==="@"||!J?_e:J==="|"?!(De===qs||De===Pi):J===qs?(U.peek(),Q(!0,qs)):J===Pi?(U.peek(),Q(!0,Pi)):!0},de=Q();return j&&U.resetPeek(),de}function L(U,j){const Q=U.currentChar();return Q===Kl?Kl:j(Q)?(U.next(),Q):null}function k(U){const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function $(U){return L(U,k)}function W(U){const j=U.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function N(U){return L(U,W)}function K(U){const j=U.charCodeAt(0);return j>=48&&j<=57}function Y(U){return L(U,K)}function ae(U){const j=U.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function ge(U){return L(U,ae)}function ye(U){let j="",Q="";for(;j=Y(U);)Q+=j;return Q}function Oe(U){let j="";for(;;){const Q=U.currentChar();if(Q==="{"||Q==="}"||Q==="@"||Q==="|"||!Q)break;if(Q===qs||Q===Pi)if(M(U))j+=Q,U.next();else{if(P(U))break;j+=Q,U.next()}else j+=Q,U.next()}return j}function ke(U){y(U);let j="",Q="";for(;j=N(U);)Q+=j;return U.currentChar()===Kl&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),Q}function Ue(U){y(U);let j="";return U.currentChar()==="-"?(U.next(),j+=`-${ye(U)}`):j+=ye(U),U.currentChar()===Kl&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),j}function Le(U){return U!==tN&&U!==Pi}function Xe(U){y(U),v(U,"'");let j="",Q="";for(;j=L(U,Le);)j==="\\"?Q+=fe(U):Q+=j;const de=U.currentChar();return de===Pi||de===Kl?(f(Tn.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),de===Pi&&(U.next(),v(U,"'")),Q):(v(U,"'"),Q)}function fe(U){const j=U.currentChar();switch(j){case"\\":case"'":return U.next(),`\\${j}`;case"u":return Ae(U,j,4);case"U":return Ae(U,j,6);default:return f(Tn.UNKNOWN_ESCAPE_SEQUENCE,o(),0,j),""}}function Ae(U,j,Q){v(U,j);let de="";for(let _e=0;_e{const de=U.currentChar();return de==="{"||de==="@"||de==="|"||de==="("||de===")"||!de||de===qs?Q:(Q+=de,U.next(),j(Q))};return j("")}function H(U){y(U);const j=v(U,"|");return y(U),j}function G(U,j){let Q=null;switch(U.currentChar()){case"{":return j.braceNest>=1&&f(Tn.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),U.next(),Q=h(j,2,"{"),y(U),j.braceNest++,Q;case"}":return j.braceNest>0&&j.currentType===2&&f(Tn.EMPTY_PLACEHOLDER,o(),0),U.next(),Q=h(j,3,"}"),j.braceNest--,j.braceNest>0&&y(U),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),Q;case"@":return j.braceNest>0&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),Q=ue(U,j)||d(j),j.braceNest=0,Q;default:{let _e=!0,De=!0,J=!0;if(P(U))return j.braceNest>0&&f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),Q=h(j,1,H(U)),j.braceNest=0,j.inLinked=!1,Q;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return f(Tn.UNTERMINATED_CLOSING_BRACE,o(),0),j.braceNest=0,we(U,j);if(_e=S(U,j))return Q=h(j,4,ke(U)),y(U),Q;if(De=w(U,j))return Q=h(j,5,Ue(U)),y(U),Q;if(J=T(U,j))return Q=h(j,6,Xe(U)),y(U),Q;if(!_e&&!De&&!J)return Q=h(j,12,Te(U)),f(Tn.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,Q.value),y(U),Q;break}}return Q}function ue(U,j){const{currentType:Q}=j;let de=null;const _e=U.currentChar();switch((Q===7||Q===8||Q===11||Q===9)&&(_e===Pi||_e===qs)&&f(Tn.INVALID_LINKED_FORMAT,o(),0),_e){case"@":return U.next(),de=h(j,7,"@"),j.inLinked=!0,de;case".":return y(U),U.next(),h(j,8,".");case":":return y(U),U.next(),h(j,9,":");default:return P(U)?(de=h(j,1,H(U)),j.braceNest=0,j.inLinked=!1,de):C(U,j)||R(U,j)?(y(U),ue(U,j)):E(U,j)?(y(U),h(j,11,Ne(U))):I(U,j)?(y(U),_e==="{"?G(U,j)||de:h(j,10,Be(U))):(Q===7&&f(Tn.INVALID_LINKED_FORMAT,o(),0),j.braceNest=0,j.inLinked=!1,we(U,j))}}function we(U,j){let Q={type:13};if(j.braceNest>0)return G(U,j)||d(j);if(j.inLinked)return ue(U,j)||d(j);switch(U.currentChar()){case"{":return G(U,j)||d(j);case"}":return f(Tn.UNBALANCED_CLOSING_BRACE,o(),0),U.next(),h(j,3,"}");case"@":return ue(U,j)||d(j);default:{if(P(U))return Q=h(j,1,H(U)),j.braceNest=0,j.inLinked=!1,Q;if(M(U))return h(j,0,Oe(U));break}}return Q}function ve(){const{currentType:U,offset:j,startLoc:Q,endLoc:de}=l;return l.lastType=U,l.lastOffset=j,l.lastStartLoc=Q,l.lastEndLoc=de,l.offset=i(),l.startLoc=o(),r.currentChar()===Kl?h(l,13):we(r,l)}return{nextToken:ve,currentOffset:i,currentPosition:o,context:u}}const mre="parser",yre=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _re(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function bre(e={}){const t=e.location!==!1,{onError:n}=e;function r(_,b,S,w,...T){const C=_.currentPosition();if(C.offset+=w,C.column+=w,n){const E=t?XE(S,C):null,R=yS(b,E,{domain:mre,args:T});n(R)}}function i(_,b,S){const w={type:_};return t&&(w.start=b,w.end=b,w.loc={start:S,end:S}),w}function o(_,b,S,w){t&&(_.end=b,_.loc&&(_.loc.end=S))}function a(_,b){const S=_.context(),w=i(3,S.offset,S.startLoc);return w.value=b,o(w,_.currentOffset(),_.currentPosition()),w}function s(_,b){const S=_.context(),{lastOffset:w,lastStartLoc:T}=S,C=i(5,w,T);return C.index=parseInt(b,10),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function l(_,b){const S=_.context(),{lastOffset:w,lastStartLoc:T}=S,C=i(4,w,T);return C.key=b,_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function u(_,b){const S=_.context(),{lastOffset:w,lastStartLoc:T}=S,C=i(9,w,T);return C.value=b.replace(yre,_re),_.nextToken(),o(C,_.currentOffset(),_.currentPosition()),C}function c(_){const b=_.nextToken(),S=_.context(),{lastOffset:w,lastStartLoc:T}=S,C=i(8,w,T);return b.type!==11?(r(_,Tn.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),C.value="",o(C,w,T),{nextConsumeToken:b,node:C}):(b.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ss(b)),C.value=b.value||"",o(C,_.currentOffset(),_.currentPosition()),{node:C})}function f(_,b){const S=_.context(),w=i(7,S.offset,S.startLoc);return w.value=b,o(w,_.currentOffset(),_.currentPosition()),w}function h(_){const b=_.context(),S=i(6,b.offset,b.startLoc);let w=_.nextToken();if(w.type===8){const T=c(_);S.modifier=T.node,w=T.nextConsumeToken||_.nextToken()}switch(w.type!==9&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(w)),w=_.nextToken(),w.type===2&&(w=_.nextToken()),w.type){case 10:w.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(w)),S.key=f(_,w.value||"");break;case 4:w.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(w)),S.key=l(_,w.value||"");break;case 5:w.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(w)),S.key=s(_,w.value||"");break;case 6:w.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(w)),S.key=u(_,w.value||"");break;default:{r(_,Tn.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const T=_.context(),C=i(7,T.offset,T.startLoc);return C.value="",o(C,T.offset,T.startLoc),S.key=C,o(S,T.offset,T.startLoc),{nextConsumeToken:w,node:S}}}return o(S,_.currentOffset(),_.currentPosition()),{node:S}}function d(_){const b=_.context(),S=b.currentType===1?_.currentOffset():b.offset,w=b.currentType===1?b.endLoc:b.startLoc,T=i(2,S,w);T.items=[];let C=null;do{const I=C||_.nextToken();switch(C=null,I.type){case 0:I.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(I)),T.items.push(a(_,I.value||""));break;case 5:I.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(I)),T.items.push(s(_,I.value||""));break;case 4:I.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(I)),T.items.push(l(_,I.value||""));break;case 6:I.value==null&&r(_,Tn.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ss(I)),T.items.push(u(_,I.value||""));break;case 7:{const P=h(_);T.items.push(P.node),C=P.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const E=b.currentType===1?b.lastOffset:_.currentOffset(),R=b.currentType===1?b.lastEndLoc:_.currentPosition();return o(T,E,R),T}function v(_,b,S,w){const T=_.context();let C=w.items.length===0;const E=i(1,b,S);E.cases=[],E.cases.push(w);do{const R=d(_);C||(C=R.items.length===0),E.cases.push(R)}while(T.currentType!==13);return C&&r(_,Tn.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),o(E,_.currentOffset(),_.currentPosition()),E}function m(_){const b=_.context(),{offset:S,startLoc:w}=b,T=d(_);return b.currentType===13?T:v(_,S,w,T)}function y(_){const b=gre(_,Or({},e)),S=b.context(),w=i(0,S.offset,S.startLoc);return t&&w.loc&&(w.loc.source=_),w.body=m(b),e.onCacheKey&&(w.cacheKey=e.onCacheKey(_)),S.currentType!==13&&r(b,Tn.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,_[S.offset]||""),o(w,b.currentOffset(),b.currentPosition()),w}return{parse:y}}function ss(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Sre(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function nN(e,t){for(let n=0;nrN(n)),e}function rN(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;na;function l(m,y){a.code+=m}function u(m,y=!0){const _=y?r:"";l(i?_+" ".repeat(m):_)}function c(m=!0){const y=++a.indentLevel;m&&u(y)}function f(m=!0){const y=--a.indentLevel;m&&u(y)}function h(){u(a.indentLevel)}return{context:s,push:l,indent:c,deindent:f,newline:h,helper:m=>`_${m}`,needIndent:()=>a.needIndent}}function Tre(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Oh(e,t.key),t.modifier?(e.push(", "),Oh(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ere(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let o=0;o{const n=at(t.mode)?t.mode:"normal",r=at(t.filename)?t.filename:"message.intl";t.sourceMap;const i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],s=Cre(e,{filename:r,breakLineCode:i,needIndent:o});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(o),a.length>0&&(s.push(`const { ${HI(a.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Oh(s,e),s.deindent(o),s.push("}"),delete e.helpers;const{code:l,map:u}=s.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function Pre(e,t={}){const n=Or({},t),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,s=bre(n).parse(e);return r?(o&&xre(s),i&&Qd(s),{ast:s,code:""}):(wre(s,n),Rre(s,n))}/*! * core-base v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */function Mre(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rf().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function oC(e){return n=>Ore(n,e)}function Ore(e,t){const n=Lre(t);if(n==null)throw jg(0);if(GI(n)===1){const o=kre(n);return e.plural(o.reduce((a,s)=>[...a,iN(e,s)],[]))}else return iN(e,n)}const Dre=["b","body"];function Lre(e){return ic(e,Dre)}const Nre=["c","cases"];function kre(e){return ic(e,Nre,[])}function iN(e,t){const n=$re(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Vre(t).reduce((i,o)=>[...i,YE(e,o)],[]);return e.normalize(r)}}const Fre=["s","static"];function $re(e){return ic(e,Fre)}const Bre=["i","items"];function Vre(e){return ic(e,Bre,[])}function YE(e,t){const n=GI(t);switch(n){case 3:return l0(t,n);case 9:return l0(t,n);case 4:{const r=t;if(Xa(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Xa(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw jg(n)}case 5:{const r=t;if(Xa(r,"i")&&wr(r.i))return e.interpolate(e.list(r.i));if(Xa(r,"index")&&wr(r.index))return e.interpolate(e.list(r.index));throw jg(n)}case 6:{const r=t,i=Gre(r),o=jre(r);return e.linked(YE(e,o),i?YE(e,i):void 0,e.type)}case 7:return l0(t,n);case 8:return l0(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Ure=["t","type"];function GI(e){return ic(e,Ure)}const Hre=["v","value"];function l0(e,t){const n=ic(e,Hre);if(n)return n;throw jg(t)}const zre=["m","modifier"];function Gre(e){return ic(e,zre)}const Wre=["k","key"];function jre(e){const t=ic(e,Wre);if(t)return t;throw jg(6)}function ic(e,t,n){for(let r=0;re;let u0=Pn();function Dh(e){return gn(e)&&GI(e)===0&&(Xa(e,"b")||Xa(e,"body"))}function Yre(e,t={}){let n=!1;const r=t.onError||ure;return t.onError=i=>{n=!0,r(i)},{...Pre(e,t),detectError:n}}function Kre(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&at(e)){hn(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Xre)(e),i=u0[r];if(i)return i;const{ast:o,detectError:a}=Yre(e,{...t,location:!1,jit:!0}),s=oC(o);return a?s:u0[r]=s}else{const n=e.cacheKey;if(n){const r=u0[n];return r||(u0[n]=oC(e))}else return oC(e)}}let Xg=null;function Zre(e){Xg=e}function qre(e,t,n){Xg&&Xg.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jre=Qre("function:translate");function Qre(e){return t=>Xg&&Xg.emit(e,t)}const dl={INVALID_ARGUMENT:lre,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},eie=24;function hl(e){return yS(e,null,void 0)}function WI(e,t){return t.locale!=null?oN(t.locale):oN(e.locale)}let aC;function oN(e){if(at(e))return e;if(zn(e)){if(e.resolvedOnce&&aC!=null)return aC;if(e.constructor.name==="Function"){const t=e();if(ire(t))throw hl(dl.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return aC=t}else throw hl(dl.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hl(dl.NOT_SUPPORT_LOCALE_TYPE)}function tie(e,t,n){return[...new Set([n,...xr(t)?t:gn(t)?Object.keys(t):at(t)?[t]:[n]])]}function BV(e,t,n){const r=at(n)?n:Yg,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;xr(a);)a=aN(o,a,t);const s=xr(t)||!tn(t)?t:t.default?t.default:null;a=at(s)?[s]:s,xr(a)&&aN(o,a,!1),i.__localeChainCache.set(r,o)}return o}function aN(e,t,n){let r=!0;for(let i=0;i{a===void 0?a=s:a+=s},h[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,r=4,h[0]();else{if(i=0,a===void 0||(a=lie(a),a===!1))return!1;h[1]()}};function d(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,s="\\"+v,h[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&d())){if(l=sie(o),f=oc[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=h[u[1]],c&&(s=o,c()===!1))))return;if(r===7)return t}}const sN=new Map;function cie(e,t){return gn(e)?e[t]:null}function fie(e,t){if(!gn(e))return null;let n=sN.get(t);if(n||(n=uie(t),n&&sN.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function hie(){return{upper:(e,t)=>t==="text"&&at(e)?e.toUpperCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&at(e)?e.toLowerCase():t==="vnode"&&gn(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&at(e)?uN(e):t==="vnode"&&gn(e)&&"__v_isVNode"in e?uN(e.children):e}}let VV;function pie(e){VV=e}let UV;function vie(e){UV=e}let HV;function gie(e){HV=e}let zV=null;const mie=e=>{zV=e},yie=()=>zV;let GV=null;const cN=e=>{GV=e},_ie=()=>GV;let fN=0;function bie(e={}){const t=zn(e.onWarn)?e.onWarn:are,n=at(e.version)?e.version:die,r=at(e.locale)||zn(e.locale)?e.locale:Yg,i=zn(r)?Yg:r,o=xr(e.fallbackLocale)||tn(e.fallbackLocale)||at(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=tn(e.messages)?e.messages:sC(i),s=tn(e.datetimeFormats)?e.datetimeFormats:sC(i),l=tn(e.numberFormats)?e.numberFormats:sC(i),u=Or(Pn(),e.modifiers,hie()),c=e.pluralRules||Pn(),f=zn(e.missing)?e.missing:null,h=hn(e.missingWarn)||Mh(e.missingWarn)?e.missingWarn:!0,d=hn(e.fallbackWarn)||Mh(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,m=!!e.unresolving,y=zn(e.postTranslation)?e.postTranslation:null,_=tn(e.processor)?e.processor:null,b=hn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,w=zn(e.messageCompiler)?e.messageCompiler:VV,T=zn(e.messageResolver)?e.messageResolver:UV||cie,C=zn(e.localeFallbacker)?e.localeFallbacker:HV||tie,E=gn(e.fallbackContext)?e.fallbackContext:void 0,R=e,I=gn(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,P=gn(R.__numberFormatters)?R.__numberFormatters:new Map,M=gn(R.__meta)?R.__meta:{};fN++;const L={version:n,cid:fN,locale:r,fallbackLocale:o,messages:a,modifiers:u,pluralRules:c,missing:f,missingWarn:h,fallbackWarn:d,fallbackFormat:v,unresolving:m,postTranslation:y,processor:_,warnHtmlMessage:b,escapeParameter:S,messageCompiler:w,messageResolver:T,localeFallbacker:C,fallbackContext:E,onWarn:t,__meta:M};return L.datetimeFormats=s,L.numberFormats=l,L.__datetimeFormatters=I,L.__numberFormatters=P,__INTLIFY_PROD_DEVTOOLS__&&qre(L,n,M),L}const sC=e=>({[e]:Pn()});function jI(e,t,n,r,i){const{missing:o,onWarn:a}=e;if(o!==null){const s=o(e,n,t,i);return at(s)?s:t}else return t}function Hp(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Sie(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function wie(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{WV.includes(l)?a[l]=n[l]:o[l]=n[l]}),at(r)?o.locale=r:tn(r)&&(a=r),tn(i)&&(a=i),[o.key||"",s,o,a]}function hN(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function pN(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,u,c,f]=ZE(...t),h=hn(c.missingWarn)?c.missingWarn:e.missingWarn;hn(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const d=!!c.part,v=WI(e,c),m=a(e,i,v);if(!at(l)||l==="")return new Intl.NumberFormat(v,f).format(u);let y={},_,b=null;const S="number format";for(let C=0;C{jV.includes(l)?a[l]=n[l]:o[l]=n[l]}),at(r)?o.locale=r:tn(r)&&(a=r),tn(i)&&(a=i),[o.key||"",s,o,a]}function vN(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const xie=e=>e,Cie=e=>"",Tie="text",Eie=e=>e.length===0?"":HI(e),Aie=ore;function gN(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Iie(e){const t=wr(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(wr(e.named.count)||wr(e.named.n))?wr(e.named.count)?e.named.count:wr(e.named.n)?e.named.n:t:t}function Rie(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Pie(e={}){const t=e.locale,n=Iie(e),r=gn(e.pluralRules)&&at(t)&&zn(e.pluralRules[t])?e.pluralRules[t]:gN,i=gn(e.pluralRules)&&at(t)&&zn(e.pluralRules[t])?gN:void 0,o=_=>_[r(n,_.length,i)],a=e.list||[],s=_=>a[_],l=e.named||Pn();wr(e.pluralIndex)&&Rie(n,l);const u=_=>l[_];function c(_,b){const S=zn(e.messages)?e.messages(_,!!b):gn(e.messages)?e.messages[_]:!1;return S||(e.parent?e.parent.message(_):Cie)}const f=_=>e.modifiers?e.modifiers[_]:xie,h=tn(e.processor)&&zn(e.processor.normalize)?e.processor.normalize:Eie,d=tn(e.processor)&&zn(e.processor.interpolate)?e.processor.interpolate:Aie,v=tn(e.processor)&&at(e.processor.type)?e.processor.type:Tie,y={list:s,named:u,plural:o,linked:(_,...b)=>{const[S,w]=b;let T="text",C="";b.length===1?gn(S)?(C=S.modifier||C,T=S.type||T):at(S)&&(C=S||C):b.length===2&&(at(S)&&(C=S||C),at(w)&&(T=w||T));const E=c(_,!0)(y),R=T==="vnode"&&xr(E)&&C?E[0]:E;return C?f(C)(R,T):R},message:c,type:v,interpolate:d,normalize:h,values:Or(Pn(),a,l)};return y}const mN=()=>"",aa=e=>zn(e);function yN(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:a,messages:s}=e,[l,u]=qE(...t),c=hn(u.missingWarn)?u.missingWarn:e.missingWarn,f=hn(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=hn(u.escapeParameter)?u.escapeParameter:e.escapeParameter,d=!!u.resolvedMessage,v=at(u.default)||hn(u.default)?hn(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,m=n||v!=null&&(at(v)||zn(v)),y=WI(e,u);h&&Mie(u);let[_,b,S]=d?[l,y,s[y]||Pn()]:XV(e,l,y,a,f,c),w=_,T=l;if(!d&&!(at(w)||Dh(w)||aa(w))&&m&&(w=v,T=w),!d&&(!(at(w)||Dh(w)||aa(w))||!at(b)))return i?_S:l;let C=!1;const E=()=>{C=!0},R=aa(w)?w:YV(e,l,b,w,T,E);if(C)return w;const I=Lie(e,b,S,u),P=Pie(I),M=Oie(e,R,P),L=r?r(M,l):M;if(__INTLIFY_PROD_DEVTOOLS__){const k={timestamp:Date.now(),key:at(l)?l:aa(w)?w.key:"",locale:b||(aa(w)?w.locale:""),format:at(w)?w:aa(w)?w.source:"",message:L};k.meta=Or({},e.__meta,yie()||{}),Jre(k)}return L}function Mie(e){xr(e.list)?e.list=e.list.map(t=>at(t)?eN(t):t):gn(e.named)&&Object.keys(e.named).forEach(t=>{at(e.named[t])&&(e.named[t]=eN(e.named[t]))})}function XV(e,t,n,r,i,o){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let f=Pn(),h,d=null;const v="translate";for(let m=0;mr;return u.locale=n,u.key=t,u}const l=a(r,Die(e,n,i,r,s,o));return l.locale=n,l.key=t,l.source=r,l}function Oie(e,t,n){return t(n)}function qE(...e){const[t,n,r]=e,i=Pn();if(!at(t)&&!wr(t)&&!aa(t)&&!Dh(t))throw hl(dl.INVALID_ARGUMENT);const o=wr(t)?String(t):(aa(t),t);return wr(n)?i.plural=n:at(n)?i.default=n:tn(n)&&!mS(n)?i.named=n:xr(n)&&(i.list=n),wr(r)?i.plural=r:at(r)?i.default=r:tn(r)&&Or(i,r),[o,i]}function Die(e,t,n,r,i,o){return{locale:t,key:n,warnHtmlMessage:i,onError:a=>{throw o&&o(a),a},onCacheKey:a=>Qne(t,n,a)}}function Lie(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,h={locale:t,modifiers:i,pluralRules:o,messages:(d,v)=>{let m=a(n,d);if(m==null&&(c||v)){const[,,y]=XV(c||e,d,t,s,l,u);m=a(y,d)}if(at(m)||Dh(m)){let y=!1;const b=YV(e,d,t,m,d,()=>{y=!0});return y?mN:b}else return aa(m)?m:mN}};return e.processor&&(h.processor=e.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),wr(r.plural)&&(h.pluralIndex=r.plural),h}Mre();/*! * vue-i18n v11.1.2 * (c) 2025 kazuya kawaguchi * Released under the MIT License. */const Nie="11.1.2";function kie(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rf().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rf().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rf().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rf().__INTLIFY_PROD_DEVTOOLS__=!1)}const vo={UNEXPECTED_RETURN_TYPE:eie,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Fo(e,...t){return yS(e,null,void 0)}const JE=rc("__translateVNode"),QE=rc("__datetimeParts"),eA=rc("__numberParts"),KV=rc("__setPluralRules"),ZV=rc("__injectWithOption"),tA=rc("__dispose");function Kg(e){if(!gn(e))return e;for(const t in e)if(Xa(e,t))if(!t.includes("."))gn(e[t])&&Kg(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(a[l]=a[l]||Pn(),H_(u,a[l])):H_(u,a)}else at(s)&&H_(JSON.parse(s),a)}),i==null&&o)for(const s in a)Xa(a,s)&&Kg(a[s]);return a}function qV(e){return e.type}function JV(e,t,n){let r=gn(t.messages)?t.messages:Pn();"__i18nGlobal"in n&&(r=XI(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(gn(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(gn(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function _N(e){return z(yl,null,e,0)}const bN="__INTLIFY_META__",SN=()=>[],Fie=()=>!1;let wN=0;function xN(e){return(t,n,r,i)=>e(n,r,Er()||void 0,i)}const $ie=()=>{const e=Er();let t=null;return e&&(t=qV(e)[bN])?{[bN]:t}:null};function YI(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,o=z1?Me:Si;let a=hn(e.inheritLocale)?e.inheritLocale:!0;const s=o(t&&a?t.locale.value:at(e.locale)?e.locale:Yg),l=o(t&&a?t.fallbackLocale.value:at(e.fallbackLocale)||xr(e.fallbackLocale)||tn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=o(XI(s.value,e)),c=o(tn(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=o(tn(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=t?t.missingWarn:hn(e.missingWarn)||Mh(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:hn(e.fallbackWarn)||Mh(e.fallbackWarn)?e.fallbackWarn:!0,v=t?t.fallbackRoot:hn(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,y=zn(e.missing)?e.missing:null,_=zn(e.missing)?xN(e.missing):null,b=zn(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:hn(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const T=t?t.modifiers:tn(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&cN(null);const J={version:Nie,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:T,pluralRules:C,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:d,fallbackFormat:m,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:S,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};J.datetimeFormats=c.value,J.numberFormats=f.value,J.__datetimeFormatters=tn(E)?E.__datetimeFormatters:void 0,J.__numberFormatters=tn(E)?E.__numberFormatters:void 0;const he=bie(J);return r&&cN(he),he})(),Hp(E,s.value,l.value);function I(){return[s.value,l.value,u.value,c.value,f.value]}const P=xe({get:()=>s.value,set:J=>{E.locale=J,s.value=J}}),M=xe({get:()=>l.value,set:J=>{E.fallbackLocale=J,l.value=J,Hp(E,s.value,J)}}),L=xe(()=>u.value),k=xe(()=>c.value),$=xe(()=>f.value);function W(){return zn(b)?b:null}function N(J){b=J,E.postTranslation=J}function K(){return y}function Y(J){J!==null&&(_=xN(J)),y=J,E.missing=_}const ae=(J,he,Ve,Ze,St,re)=>{I();let se;try{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=t?_ie():void 0),se=J(E)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=void 0)}if(Ve!=="translate exists"&&wr(se)&&se===_S||Ve==="translate exists"&&!se){const[pe,Ee]=he();return t&&v?Ze(t):St(pe)}else{if(re(se))return se;throw Fo(vo.UNEXPECTED_RETURN_TYPE)}};function ge(...J){return ae(he=>Reflect.apply(yN,null,[he,...J]),()=>qE(...J),"translate",he=>Reflect.apply(he.t,he,[...J]),he=>he,he=>at(he))}function ye(...J){const[he,Ve,Ze]=J;if(Ze&&!gn(Ze))throw Fo(vo.INVALID_ARGUMENT);return ge(he,Ve,Or({resolvedMessage:!0},Ze||{}))}function Oe(...J){return ae(he=>Reflect.apply(dN,null,[he,...J]),()=>KE(...J),"datetime format",he=>Reflect.apply(he.d,he,[...J]),()=>lN,he=>at(he))}function ke(...J){return ae(he=>Reflect.apply(pN,null,[he,...J]),()=>ZE(...J),"number format",he=>Reflect.apply(he.n,he,[...J]),()=>lN,he=>at(he))}function Ue(J){return J.map(he=>at(he)||wr(he)||hn(he)?_N(String(he)):he)}const Xe={normalize:Ue,interpolate:J=>J,type:"vnode"};function fe(...J){return ae(he=>{let Ve;const Ze=he;try{Ze.processor=Xe,Ve=Reflect.apply(yN,null,[Ze,...J])}finally{Ze.processor=null}return Ve},()=>qE(...J),"translate",he=>he[JE](...J),he=>[_N(he)],he=>xr(he))}function Ae(...J){return ae(he=>Reflect.apply(pN,null,[he,...J]),()=>ZE(...J),"number format",he=>he[eA](...J),SN,he=>at(he)||xr(he))}function Se(...J){return ae(he=>Reflect.apply(dN,null,[he,...J]),()=>KE(...J),"datetime format",he=>he[QE](...J),SN,he=>at(he)||xr(he))}function Te(J){C=J,E.pluralRules=C}function Ne(J,he){return ae(()=>{if(!J)return!1;const Ve=at(he)?he:s.value,Ze=G(Ve),St=E.messageResolver(Ze,J);return Dh(St)||aa(St)||at(St)},()=>[J],"translate exists",Ve=>Reflect.apply(Ve.te,Ve,[J,he]),Fie,Ve=>hn(Ve))}function Be(J){let he=null;const Ve=BV(E,l.value,s.value);for(let Ze=0;Ze{a&&(s.value=J,E.locale=J,Hp(E,s.value,l.value))}),Bt(t.fallbackLocale,J=>{a&&(l.value=J,E.fallbackLocale=J,Hp(E,s.value,l.value))}));const De={id:wN,locale:P,fallbackLocale:M,get inheritLocale(){return a},set inheritLocale(J){a=J,J&&t&&(s.value=t.locale.value,l.value=t.fallbackLocale.value,Hp(E,s.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:L,get modifiers(){return T},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(J){h=J,E.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(J){d=J,E.fallbackWarn=d},get fallbackRoot(){return v},set fallbackRoot(J){v=J},get fallbackFormat(){return m},set fallbackFormat(J){m=J,E.fallbackFormat=m},get warnHtmlMessage(){return S},set warnHtmlMessage(J){S=J,E.warnHtmlMessage=J},get escapeParameter(){return w},set escapeParameter(J){w=J,E.escapeParameter=J},t:ge,getLocaleMessage:G,setLocaleMessage:ue,mergeLocaleMessage:we,getPostTranslationHandler:W,setPostTranslationHandler:N,getMissingHandler:K,setMissingHandler:Y,[KV]:Te};return De.datetimeFormats=k,De.numberFormats=$,De.rt=ye,De.te=Ne,De.tm=H,De.d=Oe,De.n=ke,De.getDateTimeFormat=ve,De.setDateTimeFormat=U,De.mergeDateTimeFormat=j,De.getNumberFormat=Q,De.setNumberFormat=de,De.mergeNumberFormat=_e,De[ZV]=n,De[JE]=fe,De[QE]=Se,De[eA]=Ae,De}function Bie(e){const t=at(e.locale)?e.locale:Yg,n=at(e.fallbackLocale)||xr(e.fallbackLocale)||tn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=zn(e.missing)?e.missing:void 0,i=hn(e.silentTranslationWarn)||Mh(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=hn(e.silentFallbackWarn)||Mh(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=hn(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=tn(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=zn(e.postTranslation)?e.postTranslation:void 0,f=at(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,d=hn(e.sync)?e.sync:!0;let v=e.messages;if(tn(e.sharedMessages)){const T=e.sharedMessages;v=Object.keys(T).reduce((E,R)=>{const I=E[R]||(E[R]={});return Or(I,T[R]),E},v||{})}const{__i18n:m,__root:y,__injectWithOption:_}=e,b=e.datetimeFormats,S=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:n,messages:v,flatJson:w,datetimeFormats:b,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:d,__i18n:m,__root:y,__injectWithOption:_}}function nA(e={}){const t=YI(Bie(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return hn(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=hn(i)?!i:i},get silentFallbackWarn(){return hn(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=hn(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...i){return Reflect.apply(t.t,t,[...i])},rt(...i){return Reflect.apply(t.rt,t,[...i])},te(i,o){return t.te(i,o)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,o){t.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){t.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(t.d,t,[...i])},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,o){t.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){t.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(t.n,t,[...i])},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,o){t.setNumberFormat(i,o)},mergeNumberFormat(i,o){t.mergeNumberFormat(i,o)}};return r.__extender=n,r}function Vie(e,t,n){return{beforeCreate(){const r=Er();if(!r)throw Fo(vo.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=t,this===this.$root)this.$i18n=CN(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=nA(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=CN(e,i);else{this.$i18n=nA({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&JV(t,i,i),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Er();if(!r)throw Fo(vo.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function CN(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[KV](t.pluralizationRules||e.pluralizationRules);const n=XI(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const KI={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Uie({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===Ge?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},Pn())}function QV(){return Ge}const Hie=tt({name:"i18n-t",props:Or({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>wr(e)||!isNaN(e)}},KI),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),a=Pn();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=at(e.plural)?+e.plural:e.plural);const s=Uie(t,o),l=i[JE](e.keypath,s,a),u=Or(Pn(),r),c=at(e.tag)||gn(e.tag)?e.tag:QV();return ca(c,u,l)}}}),TN=Hie;function zie(e){return xr(e)&&!at(e[0])}function eU(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const a={part:!0};let s=Pn();e.locale&&(a.locale=e.locale),at(e.format)?a.key=e.format:gn(e.format)&&(at(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((h,d)=>n.includes(d)?Or(Pn(),h,{[d]:e.format[d]}):h,Pn()));const l=r(e.value,a,s);let u=[a.key];xr(l)?u=l.map((h,d)=>{const v=i[h.type],m=v?v({[h.type]:h.value,index:d,parts:l}):[h.value];return zie(m)&&(m[0].key=`${h.type}-${d}`),m}):at(l)&&(u=[l]);const c=Or(Pn(),o),f=at(e.tag)||gn(e.tag)?e.tag:QV();return ca(f,c,u)}}const Gie=tt({name:"i18n-n",props:Or({value:{type:Number,required:!0},format:{type:[String,Object]}},KI),setup(e,t){const n=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return eU(e,t,jV,(...r)=>n[eA](...r))}}),EN=Gie;function Wie(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function jie(e){const t=a=>{const{instance:s,value:l}=a;if(!s||!s.$)throw Fo(vo.UNEXPECTED_ERROR);const u=Wie(e,s.$),c=AN(l);return[Reflect.apply(u.t,u,[...IN(c)]),u]};return{created:(a,s)=>{const[l,u]=t(s);z1&&e.global===u&&(a.__i18nWatcher=Bt(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=u,a.textContent=l},unmounted:a=>{z1&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,u=AN(s);a.textContent=Reflect.apply(l.t,l,[...IN(u)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function AN(e){if(at(e))return{path:e};if(tn(e)){if(!("path"in e))throw Fo(vo.REQUIRED_VALUE,"path");return e}else throw Fo(vo.INVALID_VALUE)}function IN(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,a={},s=r||{};return at(n)&&(a.locale=n),wr(i)&&(a.plural=i),wr(o)&&(a.plural=o),[t,s,a]}function Xie(e,t,...n){const r=tn(n[0])?n[0]:{};(hn(r.globalInstall)?r.globalInstall:!0)&&([TN.name,"I18nT"].forEach(o=>e.component(o,TN)),[EN.name,"I18nN"].forEach(o=>e.component(o,EN)),[PN.name,"I18nD"].forEach(o=>e.component(o,PN))),e.directive("t",jie(t))}const Yie=rc("global-vue-i18n");function Kie(e={}){const t=__VUE_I18N_LEGACY_API__&&hn(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=hn(e.globalInjection)?e.globalInjection:!0,r=new Map,[i,o]=Zie(e,t),a=rc("");function s(f){return r.get(f)||null}function l(f,h){r.set(f,h)}function u(f){r.delete(f)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...h){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,c),tn(h[0])){const m=h[0];c.__composerExtend=m.__composerExtend,c.__vueI18nExtend=m.__vueI18nExtend}let d=null;!t&&n&&(d=ioe(f,c.global)),__VUE_I18N_FULL_INSTALL__&&Xie(f,c,...h),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Vie(o,o.__composer,c));const v=f.unmount;f.unmount=()=>{d&&d(),c.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:l,__deleteInstance:u};return c}function Qr(e={}){const t=Er();if(t==null)throw Fo(vo.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fo(vo.NOT_INSTALLED);const n=qie(t),r=Qie(n),i=qV(t),o=Jie(e,i);if(o==="global")return JV(r,e,i),r;if(o==="parent"){let l=eoe(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Or({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),s=YI(l),a.__composerExtend&&(s[tA]=a.__composerExtend(s)),noe(a,t,s),a.__setInstance(t,s)}return s}function Zie(e,t){const n=c$(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>nA(e)):n.run(()=>YI(e));if(r==null)throw Fo(vo.UNEXPECTED_ERROR);return[n,r]}function qie(e){const t=lo(e.isCE?Yie:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fo(e.isCE?vo.NOT_INSTALLED_WITH_PROVIDE:vo.UNEXPECTED_ERROR);return t}function Jie(e,t){return mS(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Qie(e){return e.mode==="composition"?e.global:e.global.__composer}function eoe(e,t,n=!1){let r=null;const i=t.root;let o=toe(t,n);for(;o!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(o);s!=null&&(r=s.__composer,n&&r&&!r[ZV]&&(r=null))}if(r!=null||i===o)break;o=o.parent}return r}function toe(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function noe(e,t,n){Vo(()=>{},t),nd(()=>{const r=n;e.__deleteInstance(t);const i=r[tA];i&&(i(),delete r[tA])},t)}const roe=["locale","fallbackLocale","availableLocales"],RN=["t","rt","d","n","tm","te"];function ioe(e,t){const n=Object.create(null);return roe.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw Fo(vo.UNEXPECTED_ERROR);const a=pt(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,RN.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw Fo(vo.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,RN.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}const ooe=tt({name:"i18n-d",props:Or({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},KI),setup(e,t){const n=e.i18n||Qr({useScope:e.scope,__useComponent:!0});return eU(e,t,WV,(...r)=>n[QE](...r))}}),PN=ooe;kie();pie(Kre);vie(fie);gie(BV);if(__INTLIFY_PROD_DEVTOOLS__){const e=rf();e.__INTLIFY__=!0,Zre(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const aoe={setup:"Setup",overview:"Overview",proxies:"Proxies",rules:"Rules",connections:"Connections",logs:"Logs",protocol:"Protocol",host:"Host",port:"Port",password:"Password",submit:"Submit",cancel:"Cancel",download:"Download",upload:"Upload",downloadSpeed:"Download Speed",uploadSpeed:"Upload Speed",memoryUsage:"Memory",version:"Version",noContent:"No Content",flushFakeIP:"Flush Fake IP",chains:"Chains",sortBy:"Sort By",rule:"Rule",sourceIP:"Source IP",activeConnections:"Active",closedConnections:"Closed",logLevel:"Log Level",twoColumnProxyGroup:"Two-Column Proxy Group",type:"Type",process:"Process",connectTime:"Time",sourcePort:"Source Port",destination:"Final Destination",destinationType:"Dest Type",inboundUser:"Inbound User",dl:"DL",ul:"UL",dlSpeed:"DL Speed",ulSpeed:"UL Speed",settings:"Settings",speedtestUrl:"Speedtest URL",speedtestTimeout:"Speedtest Timeout",connectionStyle:"Connection Style",card:"Card",table:"Table",customTableColumns:"Custom Table Columns",customCardLines:"Custom Card Lines",close:"Close",defaultTheme:"Default Theme",darkTheme:"Dark Theme",proxyProvider:"Proxy Provider",ruleProvider:"Rule Provider",expire:"Expire",noExpire:"Null",updated:"Updated",upgradeUI:"Upgrade Dashboard",updateAllProviders:"Update All Providers",reloadConfigs:"Reload Configs",mode:"Mode",proxySortType:"Proxy Sort Type",defaultsort:"Configs Order",nameasc:"Name Asc",namedesc:"Name Desc",latencydesc:"Latency Desc",latencyasc:"Latency Asc",language:"Language",automaticDisconnection:"Automatic Disconnection",backend:"Backend",tunMode:"Tun Mode",upgradeCore:"Upgrade Core",updateGeoDatabase:"Update Geo",truncateProxyName:"Truncate Proxy Name",sourceIPLabels:"Source IP Labels",proxyPreviewType:"Proxies Preview Type",auto:"Auto",dots:"Dots",bar:"Bar",exportSettings:"Export Settings",importSettings:"Import Settings",unavailableProxy:"Hide Unavailable Proxies",protocolTips:"You are trying to connect to an HTTP backend, but zashboard is provided via HTTPS. This may cause connection errors. Please allow insecure content in your browser settings or use the HTTP version of the zashboard, such as http://board.zash.run.place.",global:"Global",direct:"Direct",lowLatencyDesc:"Yellow Threshold",mediumLatencyDesc:"Red Threshold",fonts:"Fonts",unauthorizedTip:"Unauthorized, please login again.",restartCore:"Restart Core",checkUpgrade:"Check For Upgrade",autoUpgrade:"Auto Upgrade",secondaryPath:"Secondary Path",secondaryPathTip:'If present, start with a "/", otherwise leave it empty.',logRetentionLimit:"Log Retention Limit",DNSQuery:"DNS Query",currentBackendUnavailable:"The current backend is unavailable. Would you like to switch to another backend?",confirm:"Confirm",backendSwitchTo:"Automatic Switch to {backend}",ipv6Test:"IPv6 Test",socksPort:"Socks Port",httpPort:"HTTP Port",mixedPort:"Mixed Port",redirPort:"Redir Port",tproxyPort:"TProxy Port",tableSize:"Table Size",proxyCardSize:"Proxy Card Size",small:"Small",normal:"Normal",large:"Large",autoIPCheckWhenStart:"Auto IP Check When Start",autoConnectionCheckWhenStart:"Auto Connection Check When Start",chinaIP:"China IP",globalIP:"Global IP",networkInfo:"Network Info",autoSwitchTheme:"Auto Switch Theme",customBackgroundURL:"Background URL",splitOverviewPage:"Split Overview Page",manageHiddenGroup:"Manage Hidden Groups",showIPAndConnectionInfo:"Display IP and Connection Info",transparent:"Transparent",iconSize:"Icon Size",iconMarginRight:"Icon Margin Right",allowLan:"Allow LAN",proxyChainDirection:"Proxy Chain Direction",reverse:"Reverse",sniffHost:"Sniff Host",ipScreenshotTip:"Please make sure to hide the IP when taking screenshots.",showStatisticsWhenSidebarCollapsed:"Display Statistics When Sidebar Collapsed",totalConnections:"Total Connections",mostDownloadHost:"Most Download Host",mostUploadHost:"Most Upload Host",mostDownloadSourceIP:"Most Download Source IP",mostUploadSourceIP:"Most Upload Source IP",mostDownloadProxy:"Most Download Proxy",mostUploadProxy:"Most Upload Proxy",manual:"Manual",tableWidthMode:"Table Width Mode",testFinishedTip:"{number} Test Finished",updateFinishedTip:"{number} Update Finished",independentLatencyTest:"Independent Latency Test",independentLatencyTestTip:"Enabling Independent Latency Test will attempt to use the URLs specified in the configuration file instead of the zashboard's URL settings during the latency test. Latency will be displayed independently based on the URLs set in the policy groups.",search:"Search",allSourceIP:"All Source IPs",importing:"Importing",hideConnection:"Hide Connection",hideConnectionRegex:"Hide Connection Regex",hideConnectionTip:"You can use a case-insensitive regular expression to match and hide unwanted connections.",loadBalance:"Load Balance",label:"Label",optional:"Optional",swipeInTabs:"Swipe to Switch Between Tabs",simpleCardPreset:"Simple Preset",detailedCardPreset:"Detailed Preset",refresh:"Refresh",reset:"Reset",minProxyCardWidth:"Proxy Card Min Width",displayGlobalByMode:"Display GLOBAL By Mode",proxyCountMode:"Proxies Count Mode",filteredTotal:"Filtered Total",total:"Total",aliveTotal:"Alive / Total",displaySelectedNode:"Display Selected Node",displayLatencyNumber:"Display Latency",tipForFixed:"The current policy group is locked to the current node. Perform a speedtest to restore the urltest/fallback behavior.",remoteAddress:"Remote Address",themeName:"Theme Name",save:"Save",moreDetails:"More Details"},soe={setup:"Настройка",overview:"Обзор",proxies:"Прокси",rules:"Правила",connections:"Подключения",logs:"Журнал",protocol:"Протокол",host:"Хост",port:"Порт",password:"Пароль",submit:"Отправить",cancel:"Отмена",download:"Загружено",upload:"Отправлено",downloadSpeed:"Скорость загрузки",uploadSpeed:"Скорость отдачи",memoryUsage:"Память",version:"Версия",noContent:"Нет содержимого",flushFakeIP:"Очистить Fake IP",chains:"Цепочки",sortBy:"Сортировать по",rule:"Правило",sourceIP:"Исходный IP",activeConnections:"Активные",closedConnections:"Закрытые",logLevel:"Уровень журнала",twoColumnProxyGroup:"Группа прокси в два столбца",type:"Тип",process:"Процесс",connectTime:"Время",sourcePort:"Исходный порт",destination:"Финальное назначение",destinationType:"Тип назначения",inboundUser:"Входящий пользователь",dl:"Загр",ul:"Отдч",dlSpeed:"Загрузка",ulSpeed:"Отдача",settings:"Настройки",speedtestUrl:"URL теста скорости",speedtestTimeout:"Таймаут теста скорости",connectionStyle:"Стиль подключения",card:"Карточка",table:"Таблица",customTableColumns:"Пользовательские столбцы таблицы",customCardLines:"Пользовательские строчки карточки",close:"Закрыть",defaultTheme:"Тема по умолчанию",darkTheme:"Темная тема",proxyProvider:"Провайдер прокси",ruleProvider:"Провайдер правил",expire:"Истекает",noExpire:"Нет",updated:"Обновлено",upgradeUI:"Обновить панель",updateAllProviders:"Обновление все провайдеры",reloadConfigs:"Перезагрузить конфигурации",mode:"Режим",proxySortType:"Тип сортировки прокси",defaultsort:"По конфигурациям",nameasc:"Имя по возрастанию",namedesc:"Имя по убыванию",latencydesc:"Задержка по убыванию",latencyasc:"Задержка по возрастанию",language:"Язык",automaticDisconnection:"Автоматическое отключение",backend:"Бэкенд",tunMode:"Режим Tun",upgradeCore:"Обновить ядро",updateGeoDatabase:"Обновить GEO",truncateProxyName:"Усечение имени прокси",sourceIPLabels:"Метки исходного IP",proxyPreviewType:"Тип предварительного просмотра прокси",auto:"Авто",dots:"Точки",bar:"Полоса",exportSettings:"Экспорт настроек",importSettings:"Импорт настроек",unavailableProxy:"Скрыть недоступное",protocolTips:"Вы пытаетесь подключиться к HTTP-бэкенду, но Zashboard предоставляется через HTTPS. Это может вызвать ошибки подключения. Разрешите небезопасный контент в настройках браузера или используйте HTTP-версию панели, например, http://board.zash.run.place.",global:"Глобальный",direct:"Прямой",lowLatencyDesc:"Желтый порог",mediumLatencyDesc:"Красный порог",fonts:"Шрифты",unauthorizedTip:"Не авторизован, пожалуйста, войдите снова.",restartCore:"Перезапустить ядро",checkUpgrade:"Проверить обновления",autoUpgrade:"Автоматическое обновление",secondaryPath:"Дополнительный путь",secondaryPathTip:'Если присутствует, начните с "/", в противном случае оставьте пустым.',logRetentionLimit:"Лимит хранения журнала",DNSQuery:"DNS-запрос",currentBackendUnavailable:"Текущий бэкенд недоступен. Попробуйте переключиться на другой бэкенд?",confirm:"Подтвердить",backendSwitchTo:"Автоматическое переключение на {backend}",ipv6Test:"IPv6-тест",socksPort:"Порт Socks",httpPort:"Порт HTTP",mixedPort:"Порт Mixed",redirPort:"Порт Redir",tproxyPort:"Порт TProxy",tableSize:"Размер таблицы",proxyCardSize:"Размер карточки прокси",small:"Маленький",normal:"Нормальный",large:"Большой",autoIPCheckWhenStart:"Автоматическая проверка IP при запуске",autoConnectionCheckWhenStart:"Автоматическая проверка соединений при запуске",chinaIP:"IP для Китая",globalIP:"Мировой IP",networkInfo:"Информация о сети",autoSwitchTheme:"Автоматический темы",customBackgroundURL:"URL фона",splitOverviewPage:"Разделить страницу с обзором",manageHiddenGroup:"Управление скрытыми группами",showIPAndConnectionInfo:"Показать IP и информацию о соединениях",transparent:"Прозрачность",iconSize:"Размер иконки",iconMarginRight:"Отступ правой иконки",allowLan:"Разрешить локальную сеть",proxyChainDirection:"Направление цепочки прокси",reverse:"Обратное",sniffHost:"Захватывать хост",ipScreenshotTip:"Пожалуйста, убедитесь, что реальный IP скрыт при создании скриншотов.",showStatisticsWhenSidebarCollapsed:"Показать статистику при сворачивании панели",totalConnections:"Всего соединений",mostDownloadHost:"Ресурс с наибольшим скачиванием",mostUploadHost:"Ресурс с наибольшей отправкой данных",mostDownloadSourceIP:"IP-источник с наибольшим скачиванием",mostUploadSourceIP:"IP-источник с наибольшей отдачей",mostDownloadProxy:"Прокси с наибольшим скачиванием",mostUploadProxy:"Прокси с наибольшей отдачей",manual:"Ручной",tableWidthMode:"Режим ширины таблицы",testFinishedTip:"{number} Тест завершен",updateFinishedTip:"{number} Обновление завершено",independentLatencyTest:"Независимый тест задержки",independentLatencyTestTip:"Включение независимого тестирования задержки попытается использовать URL-адреса, указанные в конфигурационном файле, вместо настроек URL-адресов в панели управления во время теста задержки. Задержка будет отображаться отдельно на основе URL-адресов, установленных в группах политик.",search:"Поиск",allSourceIP:"Все IP-источники",importing:"Импортируется",hideConnection:"Скрыть соединение",hideConnectionRegex:"Скрыть соединение Regex",hideConnectionTip:"Используйте регистронезависимое регулярное выражение, чтобы найти и скрыть нежелательные соединения.",loadBalance:"Балансировка нагрузки",label:"Метка",optional:"Необязательно",swipeInTabs:"Провести для переключения вкладок",simpleCardPreset:"Простой",detailedCardPreset:"Подробный",refresh:"Обновить",reset:"Сбросить",minProxyCardWidth:"Минимальная ширина карточки прокси",displayGlobalByMode:"Отображать GLOBAL по режиму",proxyCountMode:"Режим подсчета прокси",filteredTotal:"Отфильтровано всего",total:"Всего",aliveTotal:"Живых / всего",displaySelectedNode:"Отображать выбранный узел",displayLatencyNumber:"Отображать задержку",tipForFixed:"Текущая стратегическая группа закреплена за текущим узлом. Нажмите «Тест скорости», чтобы восстановить поведение urltest/fallback.",remoteAddress:"удалённый адрес",themeName:"Название темы",save:"Сохранить",moreDetails:"Подробнее"},loe={setup:"配置",overview:"概览",proxies:"代理",rules:"规则",connections:"连接",logs:"日志",protocol:"协议",host:"主机",port:"端口",password:"密码",submit:"提交",cancel:"取消",download:"下载",upload:"上传",downloadSpeed:"下载速度",uploadSpeed:"上传速度",memoryUsage:"内存使用",version:"版本",noContent:"无内容",flushFakeIP:"清空Fake IP",chains:"代理链",sortBy:"排序方式",rule:"规则",sourceIP:"源IP",activeConnections:"活跃",closedConnections:"已关闭",logLevel:"日志等级",twoColumnProxyGroup:"双列显示代理组",type:"类型",process:"进程",connectTime:"连接时间",sourcePort:"源端口",destination:"最终目标",destinationType:"目标类型",inboundUser:"入站用户",dl:"下载",ul:"上传",dlSpeed:"下载速度",ulSpeed:"上传速度",settings:"设置",speedtestUrl:"测速地址",speedtestTimeout:"测速超时",connectionStyle:"连接样式",card:"卡片",table:"表格",customTableColumns:"自定义表格列",customCardLines:"自定义卡片行",close:"关闭",defaultTheme:"默认主题",darkTheme:"深色主题",proxyProvider:"代理提供商",ruleProvider:"规则提供商",expire:"到期时间",noExpire:"不限时",updated:"更新于",upgradeUI:"更新面板",updateAllProviders:"更新所有提供商",reloadConfigs:"重载配置",mode:"模式",proxySortType:"代理排序方式",defaultsort:"按配置排序",nameasc:"按名称升序",namedesc:"按名称降序",latencydesc:"按延迟降序",latencyasc:"按延迟升序",language:"面板语言",automaticDisconnection:"切换节点时自动断开连接",backend:"后端",upgradeCore:"更新核心",updateGeoDatabase:"更新GEO",tunMode:"Tun 模式",truncateProxyName:"截断节点名称",sourceIPLabels:"源IP标签",proxyPreviewType:"节点预览类型",auto:"自动",dots:"点",bar:"条",exportSettings:"导出设置",importSettings:"导入设置",unavailableProxy:"隐藏不可用节点",protocolTips:"您正在尝试连接一个http后端但zashboard是通过https提供的,这可能会导致连接错误,请在浏览器设置中允许不安全的内容,或者使用http版本面板例如http://board.zash.run.place",global:"全局",direct:"直连",lowLatencyDesc:"黄色的阈值",mediumLatencyDesc:"红色的阈值",fonts:"面板字体",unauthorizedTip:"未授权,请重新登录",restartCore:"重启核心",checkUpgrade:"检查更新",autoUpgrade:"自动更新",secondaryPath:"二级路径",secondaryPathTip:"如果有的话以/开头,没有则留空不填",logRetentionLimit:"日志保留条数",DNSQuery:"DNS 查询",currentBackendUnavailable:"当前后端不可用,尝试切换到其他后端?",confirm:"确定",backendSwitchTo:"自动切换到{backend}",ipv6Test:"IPv6 测试",socksPort:"Socks 端口",httpPort:"HTTP 端口",mixedPort:"Mixed 端口",redirPort:"Redir 端口",tproxyPort:"TProxy 端口",tableSize:"表格尺寸",proxyCardSize:"节点卡片尺寸",small:"小",normal:"正常",large:"大",autoIPCheckWhenStart:"自动检查 IP",autoConnectionCheckWhenStart:"自动检查连接",chinaIP:"中国大陆 IP",globalIP:"全球节点 IP",networkInfo:"网络信息",autoSwitchTheme:"自动切换主题",customBackgroundURL:"背景 URL",splitOverviewPage:"分离概览页",manageHiddenGroup:"管理隐藏代理组",showIPAndConnectionInfo:"显示 IP 和连接信息",transparent:"透明度",iconSize:"图标尺寸",iconMarginRight:"图标间距",allowLan:"允许局域网",proxyChainDirection:"代理链方向",reverse:"反向",sniffHost:"嗅探主机",ipScreenshotTip:"截图时请确保隐藏IP",showStatisticsWhenSidebarCollapsed:"侧边栏折叠时显示统计",totalConnections:"总连接数",mostDownloadHost:"最多下载主机",mostUploadHost:"最多上传主机",mostDownloadSourceIP:"最多下载源IP",mostUploadSourceIP:"最多上传源IP",mostDownloadProxy:"最多下载节点",mostUploadProxy:"最多上传节点",manual:"手动",tableWidthMode:"表格宽度模式",testFinishedTip:"{number} 测试完成",updateFinishedTip:"{number} 更新完成",independentLatencyTest:"独立延迟测试",independentLatencyTestTip:"开启独立延迟测试会在测速中尽可能的使用配置文件中的url覆盖面板设置的url,并展示根据策略组设置的url获取的延迟。",search:"搜索",allSourceIP:"全部源IP",importing:"正在导入",hideConnection:"隐藏连接",hideConnectionRegex:"隐藏连接正则",hideConnectionTip:"可通过不区分大小写的正则表达式来匹配并隐藏不需要看到的连接",loadBalance:"负载均衡",label:"标签",optional:"可选",swipeInTabs:"滑动切换页面二级标签",simpleCardPreset:"简洁预设",detailedCardPreset:"详细预设",refresh:"刷新",reset:"重置",minProxyCardWidth:"节点卡片最小宽度",displayGlobalByMode:"根据模式显示 GLOBAL",proxyCountMode:"节点计数模式",filteredTotal:"过滤后总数",total:"总数",aliveTotal:"可用 / 总数",displaySelectedNode:"显示选中节点",displayLatencyNumber:"显示延迟数字",tipForFixed:"当前策略组被固定在了当前节点,点击测速来恢复urltest/fallback行为",remoteAddress:"远端地址",themeName:"主题名称",save:"保存",moreDetails:"更多详情"},Lm=Kie({locale:Su.value,messages:{[_s.EN_US]:aoe,[_s.ZH_CN]:loe,[_s.RU_RU]:soe}}),lC=Me(!1),MN=Me(),ON=Me("alert-warning"),uoe=Lm.global.t;let uC=-1;const rd=()=>({showNotification:({content:t,params:n={},type:r="alert-warning",timeout:i=5e3})=>{clearTimeout(uC),ON.value=r,lC.value=!0,MN.value=uoe(t,n),i!==0&&(uC=setTimeout(()=>{lC.value=!1,uC=-1},i))},tipType:ON,tipShowModel:lC,tipContent:MN}),coe={key:0,class:"toast-sm toast toast-end toast-top z-50 max-w-64 text-sm md:translate-y-8"},foe={href:"https://github.com/Zephyruso/zashboard/blob/main/README.md",target:"_blank",class:"flex-1"},doe=tt({__name:"App",setup(e){const t=Me(),{tipContent:n,tipShowModel:r,tipType:i}=rd(),o={[mu.MI_SANS]:"font-MiSans",[mu.SARASA_UI]:"font-SarasaUI",[mu.PING_FANG]:"font-PingFang",[mu.FIRA_SANS]:"font-FiraSans",[mu.SYSTEM_UI]:"font-SystemUI"},a=xe(()=>o[Zv.value]),s=po().format("YYYY-MM-DD"),l=Me(""),u=async()=>{l.value=await Gne()||""};Bt(()=>Wa.value,()=>{Wa.value.includes(H1)&&u()},{immediate:!0});const c=xe(()=>Wa.value?Wa.value.includes(H1)?`background-image: url('${l.value}');`:`background-image: url('${Wa.value}?v=${s}');`:""),f=()=>{const h=getComputedStyle(t.value).getPropertyValue("background-color").trim(),d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",h)};return Bt(MV,f),Vo(()=>{Bt(BE,()=>{document.body.setAttribute("data-theme",BE.value),f()},{immediate:!0})}),(h,d)=>(X(),q("div",{ref_key:"app",ref:t,id:"app-content",class:mt(["bg-base-100 flex h-dvh w-screen overflow-x-hidden",a.value,c.value&&`custom-background-${B(M_)} custom-background bg-cover bg-center`]),style:lr(c.value)},[z(B(DI)),B(r)?(X(),q("div",coe,[D("div",{class:mt(["breaks-all alert flex p-2 whitespace-normal",B(i)])},[D("a",foe,ne(B(n)),1),D("button",{class:"btn btn-circle btn-ghost btn-xs",onClick:d[0]||(d[0]=v=>r.value=!1)},[z(B(fte),{class:"w-4 cursor-pointer"})])],2)])):it("",!0)],6))}}),ha=dt("setup/api-list",[]),gi=dt("setup/active-uuid",""),Lo=xe(()=>ha.value.find(e=>e.uuid===gi.value)),hoe=e=>{const t=ha.value.find(r=>mr.isEqual(mr.omit(r,"uuid"),e));if(t){gi.value=t.uuid;return}const n=gS();ha.value.push({...e,uuid:n}),gi.value=n},tU=e=>{ha.value=ha.value.filter(t=>t.uuid!==e)},bs=Me([]),tg=Me([]),rA=Me(0),iA=Me(0);let c0;const poe=()=>{c0==null||c0(),bs.value=[],tg.value=[],rA.value=0,iA.value=0;const e=tIe(),t=Bt(e.data,n=>{var r;n&&(rA.value=n.downloadTotal,iA.value=n.uploadTotal,!G_.value&&(tg.value=[...tg.value,...mr.differenceWith(bs.value,n.connections,(i,o)=>i.id===o.id)].slice(-500),bs.value=((r=n.connections)==null?void 0:r.map(i=>{const o=bs.value.find(a=>a.id===i.id);return(i.metadata.destinationPort==="443"||i.metadata.sniffHost)&&i.metadata.network==="udp"&&(i.metadata.network="quic"),o?{...i,downloadSpeed:i.download-o.download,uploadSpeed:i.upload-o.upload}:{...i,downloadSpeed:0,uploadSpeed:0}}))??[]))});c0=()=>{t(),e.close()}},G1=dt("config/quick-filter-regex","direct|dns-out"),oA=dt("config/quick-filter-enabled",!1),vh=Me(Om.ACTIVE),voe=xe(()=>z_.value===tf.DESC),DN={[eo.HOST]:(e,t)=>(e.metadata.host||e.metadata.destinationIP).localeCompare(t.metadata.host||t.metadata.destinationIP),[eo.RULE]:(e,t)=>e.rule.localeCompare(t.rule),[eo.CHAINS]:(e,t)=>Z2(e).localeCompare(Z2(t)),[eo.DOWNLOAD]:(e,t)=>e.download-t.download,[eo.DOWNLOAD_SPEED]:(e,t)=>e.downloadSpeed-t.downloadSpeed,[eo.UPLOAD]:(e,t)=>e.upload-t.upload,[eo.UPLOAD_SPEED]:(e,t)=>e.uploadSpeed-t.uploadSpeed,[eo.SOURCE_IP]:(e,t)=>e.metadata.sourceIP.localeCompare(t.metadata.sourceIP),[eo.TYPE]:(e,t)=>(e.metadata.type+e.metadata.network).localeCompare(t.metadata.type+t.metadata.network),[eo.CONNECT_TIME]:(e,t)=>po(e.start).valueOf()-po(t.start).valueOf()},aA=dt("config/connection-sort-type",eo.HOST),z_=dt("config/connection-sort-direction",tf.ASC),W1=Me(""),rl=Me(null),G_=Me(!1),gh=xe(()=>vh.value===Om.ACTIVE?bs.value:tg.value),Lh=xe(()=>{let e=null;return oA.value&&G1.value&&(e=new RegExp(G1.value,"i")),gh.value.filter(t=>{const n=[t.metadata.host,t.metadata.destinationIP,t.metadata.destinationPort,t.metadata.sourceIP,t.metadata.sourcePort,t.metadata.sniffHost,t.metadata.processPath,t.metadata.type,t.metadata.network,t.chains.join(""),t.rule,t.rulePayload];return rl.value!==null&&t.metadata.sourceIP!==rl.value||e&&n.some(i=>e.test(i))?!1:W1.value?n.some(r=>r==null?void 0:r.includes(W1.value)):!0}).sort((t,n)=>{Mo.value&&voe.value&&([t,n]=[n,t]);const r=Mo.value?DN[aA.value](t,n):DN[eo.HOST](t,n);return r===0?t.id.localeCompare(n.id):r})});function Ad(e,t,n){let r=n.initialDeps??[],i;function o(){var a,s,l,u;let c;n.key&&((a=n.debug)!=null&&a.call(n))&&(c=Date.now());const f=e();if(!(f.length!==r.length||f.some((v,m)=>r[m]!==v)))return i;r=f;let d;if(n.key&&((s=n.debug)!=null&&s.call(n))&&(d=Date.now()),i=t(...f),n.key&&((l=n.debug)!=null&&l.call(n))){const v=Math.round((Date.now()-c)*100)/100,m=Math.round((Date.now()-d)*100)/100,y=m/16,_=(b,S)=>{for(b=String(b);b.length{r=a},o}function cC(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const goe=(e,t)=>Math.abs(e-t)<1,moe=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},yoe=e=>e,_oe=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},boe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=a=>{const{width:s,height:l}=a;t({width:Math.round(s),height:Math.round(l)})};if(i(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(a=>{const s=()=>{const l=a[0];if(l!=null&&l.borderBoxSize){const u=l.borderBoxSize[0];if(u){i({width:u.inlineSize,height:u.blockSize});return}}i(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},LN={passive:!0},NN=typeof window>"u"?!0:"onscrollend"in window,Soe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&NN?()=>{}:moe(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),a=c=>()=>{const{horizontal:f,isRtl:h}=e.options;i=f?n.scrollLeft*(h&&-1||1):n.scrollTop,o(),t(i,c)},s=a(!0),l=a(!1);l(),n.addEventListener("scroll",s,LN);const u=e.options.useScrollendEvent&&NN;return u&&n.addEventListener("scrollend",l,LN),()=>{n.removeEventListener("scroll",s),u&&n.removeEventListener("scrollend",l)}},woe=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},xoe=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const a=e+t;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class Coe{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),n=null},observe:i=>{var o;return(o=r())==null?void 0:o.observe(i,{box:"border-box"})},unobserve:i=>{var o;return(o=r())==null?void 0:o.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,i])=>{typeof i>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:yoe,rangeExtractor:_oe,onChange:()=>{},measureElement:woe,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,n)},this.maybeNotify=Ad(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const i=new Map,o=new Map;for(let a=r-1;a>=0;a--){const s=n[a];if(i.has(s.lane))continue;const l=o.get(s.lane);if(l==null||s.end>l.end?o.set(s.lane,s):s.enda.end===s.end?a.index-s.index:a.end-s.end)[0]:void 0},this.getMeasurementOptions=Ad(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,i,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=Ad(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a},s)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(c=>{this.itemSizeCache.set(c.key,c.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const u=this.measurementsCache.slice(0,l);for(let c=l;cthis.options.debug}),this.calculateRange=Ad(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,i,o)=>this.range=n.length>0&&r>0?Toe({measurements:n,outerSize:r,scrollOffset:i,lanes:o}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Ad(()=>{let n=null,r=null;const i=this.calculateRange();return i&&(n=i.startIndex,r=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,i,o,a)=>o===null||a===null?[]:n({startIndex:o,endIndex:a,overscan:r,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,i=n.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const i=this.indexFromElement(n),o=this.measurementsCache[i];if(!o)return;const a=o.key,s=this.elementsCache.get(a);s!==n&&(s&&this.observer.unobserve(s),this.observer.observe(n),this.elementsCache.set(a,n)),n.isConnected&&this.resizeItem(i,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const i=this.measurementsCache[n];if(!i)return;const o=this.itemSizeCache.get(i.key)??i.size,a=r-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,a,this):i.start{if(!n){this.elementsCache.forEach((r,i)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(i))});return}this._measureElement(n,void 0)},this.getVirtualItems=Ad(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const i=[];for(let o=0,a=n.length;othis.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return cC(r[nU(0,r.length-1,i=>cC(r[i]).start,n)])},this.getOffsetForAlignment=(n,r,i=0)=>{const o=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=n>=a+o?"end":"start"),r==="center"?n+=(i-o)/2:r==="end"&&(n-=o);const s=this.options.horizontal?"scrollWidth":"scrollHeight",u=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-o;return Math.max(Math.min(u,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.measurementsCache[n];if(!i)return;const o=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(i.end>=a+o-this.options.scrollPaddingEnd)r="end";else if(i.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];const s=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,r,i.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(n,{align:r="auto",behavior:i}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(n,r);if(!o)return;const[a,s]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:i}),i!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[u]=cC(this.getOffsetForIndex(n,s));goe(u,this.getScrollOffset())||this.scrollToIndex(n,{align:s,behavior:i})}else this.scrollToIndex(n,{align:s,behavior:i})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let i;if(r.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((n=r[r.length-1])==null?void 0:n.end)??0;else{const o=Array(this.options.lanes).fill(null);let a=r.length-1;for(;a>0&&o.some(s=>s===null);){const s=r[a];o[s.lane]===null&&(o[s.lane]=s.end),a--}i=Math.max(...o.filter(s=>s!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:i})=>{this.options.scrollToFn(n,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const nU=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(or)t=i-1;else return i}return e>0?e-1:0};function Toe({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const i=e.length-1;let a=nU(0,i,l=>e[l].start,n),s=a;if(r===1)for(;s1){const l=Array(r).fill(0);for(;sc0&&u.some(c=>c>=n);){const c=e[a];u[c.lane]=c.start,a--}a=Math.max(0,a-a%r),s=Math.min(i,s+(r-1-s%r))}return{startIndex:a,endIndex:s}}function Eoe(e){const t=new Coe(B(e)),n=Si(t),r=t._didMount();return Bt(()=>B(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),Bt(()=>B(e),i=>{t.setOptions({...i,onChange:(o,a)=>{var s;mE(n),(s=i.onChange)==null||s.call(i,o,a)}}),t._willUpdate(),mE(n)},{immediate:!0}),iI(r),n}function rU(e){return Eoe(xe(()=>({observeElementRect:boe,observeElementOffset:Soe,scrollToFn:xoe,...B(e)})))}const Aoe=["data-index"],ZI=tt({__name:"VirtualScroller",props:{data:{default:()=>[]},size:{default:64}},setup(e){const t=Me(null),n=e,r=xe(()=>({count:n.data.length,getScrollElement:()=>t.value,estimateSize:()=>n.size,overscan:36})),i=rU(r),o=xe(()=>i.value.getVirtualItems()),a=xe(()=>i.value.getTotalSize()),s=l=>{l&&i.value.measureElement(l)};return(l,u)=>{var c;return X(),q("div",{ref_key:"parentRef",ref:t,class:"flex h-full w-full overflow-y-auto"},[D("div",{style:lr({height:`${a.value}px`}),class:"relative w-full"},[D("div",{class:"absolute top-0 left-0 w-full",style:lr({transform:`translateY(${((c=o.value[0])==null?void 0:c.start)??0}px)`})},[(X(!0),q(Ge,null,qt(o.value,f=>(X(),q("div",{key:f.key.toString(),"data-index":f.index,ref_for:!0,ref:s},[bf(l.$slots,"default",{item:l.data[f.index],index:f.index})],8,Aoe))),128))],4)],4)],512)}}}),fC=Me(null),kN=Me(!1),qI=()=>({infoConn:fC,connectionDetailModalShow:kN,handlerInfo:async t=>{fC.value=null,await Qa(),fC.value=t,kN.value=!0}});class Ioe{constructor(t){Bx(this,"value");Bx(this,"next");this.value=t}}var ra,hf,pf;class Roe{constructor(){Xy(this,ra);Xy(this,hf);Xy(this,pf);this.clear()}enqueue(t){const n=new Ioe(t);as(this,ra)?(as(this,hf).next=n,Ys(this,hf,n)):(Ys(this,ra,n),Ys(this,hf,n)),Vx(this,pf)._++}dequeue(){const t=as(this,ra);if(t)return Ys(this,ra,as(this,ra).next),Vx(this,pf)._--,t.value}peek(){if(as(this,ra))return as(this,ra).value}clear(){Ys(this,ra,void 0),Ys(this,hf,void 0),Ys(this,pf,0)}get size(){return as(this,pf)}*[Symbol.iterator](){let t=as(this,ra);for(;t;)yield t.value,t=t.next}*drain(){let t;for(;(t=this.dequeue())!==void 0;)yield t}}ra=new WeakMap,hf=new WeakMap,pf=new WeakMap;function Poe(e){FN(e);const t=new Roe;let n=0;const r=()=>{n0&&(t.dequeue()(),n++)},i=()=>{n--,r()},o=async(l,u,c)=>{const f=(async()=>l(...c))();u(f);try{await f}catch{}i()},a=(l,u,c)=>{new Promise(f=>{t.enqueue(f)}).then(o.bind(void 0,l,u,c)),(async()=>(await Promise.resolve(),nnew Promise(c=>{a(l,c,u)});return Object.defineProperties(s,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value(){t.clear()}},concurrency:{get:()=>e,set(l){FN(l),e=l,queueMicrotask(()=>{for(;n0;)r()})}}}),s}function FN(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const ng="GLOBAL",j1=Me([]),Jr=Me({}),Nh=dt("config/ipv6-map",{}),_l=dt("config/hidden-group-map",{}),Af=Me([]),JI=e=>{const t=Tf.value||xV;if(!e)return t;const n=Jr.value[e];return hh.value&&n.testUrl?n.testUrl:t},Nm=(e,t)=>{const n=iU(e,t);return Noe(n)},iU=(e,t)=>{var r,i;if(hh.value&&!Tl.value){const o=Jr.value[e];return(i=(r=o==null?void 0:o.extra)==null?void 0:r[JI(t)])==null?void 0:i.history}const n=Jr.value[Vf(e)];return n==null?void 0:n.history},Moe=e=>Nh.value[Vf(e)],Sa=async()=>{const{data:e}=await z2e(),{data:t}=await W2e(),n=e.proxies[ng].all??[],r={},i=Object.values(t.providers).filter(o=>o.name!=="default"&&o.vehicleType!=="Compatible");for(const o of i)for(const a of o.proxies)r[a.name]=a;Jr.value={...r,...e.proxies},j1.value=Object.values(e.proxies).filter(o=>{var a;return((a=o.all)==null?void 0:a.length)&&o.name!==ng}).sort((o,a)=>n.indexOf(o.name)-n.indexOf(a.name)).map(o=>o.name),Af.value=i,Object.entries(e.proxies).map(([o,a])=>{Ef.value&&koe(a)&&(Nh.value[o]=!0),a.hidden&&!(o in _l.value)&&(_l.value[o]=!0)})},oU=async(e,t)=>{await G2e(e,t),Jr.value[e].now=t,HE.value&&bs.value.filter(n=>n.chains.includes(e)).forEach(n=>ww(n.id)),Sa()},aU=async(e,t,n)=>{const r=Vf(e);if(Ef.value)try{const{data:i}=await H4(r,NI,2e3);Nh.value[r]=i.delay>Fi}catch{Nh.value[r]=!1}await H4(hh.value?e:r,t,n)},Ooe=async(e,t=Tf.value,n=ku.value)=>{await aU(e,t,n),await Sa()},Doe=mr.debounce(Sa,800),sU=async(e,t=Tf.value,n=ku.value)=>{await aU(e,t,n),await Doe()},lU=Poe(5),uU=async e=>{const t=Jr.value[e],n=t.all??[],r=JI(e);if([Yr.Selector,Yr.LoadBalance].includes(t.type.toLowerCase())){let o=0;return await Promise.all(n.map(a=>lU(async()=>{await sU(a,r,Math.min(3e3,ku.value)),o++,cU(o,n.length)})))}const i=Math.max(5e3,ku.value);if(Ef.value)try{const{data:o}=await z4(e,NI,i);n==null||n.forEach(a=>{Nh.value[Vf(a)]=o[a]>Fi})}catch{n==null||n.forEach(o=>{Nh.value[Vf(o)]=!1})}await z4(e,r,i),await Sa()},Loe=async()=>{const e=Object.keys(Jr.value).filter(n=>!Y2(n));let t=0;return await Promise.all(e.map(n=>lU(async()=>{await sU(n,Tf.value,Math.min(3e3,ku.value)),t++,cU(t,e.length)})))},Noe=e=>{var t;return((t=mr.last(e))==null?void 0:t.delay)??Fi},koe=e=>{var n,r,i;const t=(r=(n=e.extra)==null?void 0:n[NI])==null?void 0:r.history;return(((i=mr.last(t))==null?void 0:i.delay)??Fi)>Fi},Vf=e=>{let t=Jr.value[e];if(!e||!t)return e;for(;t.now&&t.now!==t.name;){const n=Jr.value[t.now];if(!n)return t.name;t=n}return t.name},{showNotification:Foe}=rd(),cU=(e,t)=>{const n=e===t;Foe({content:"testFinishedTip",params:{number:`${e}/${t}`},type:n?"alert-success":"alert-warning",timeout:n?2e3:0})};/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:fU,setPrototypeOf:$N,isFrozen:$oe,getPrototypeOf:Boe,getOwnPropertyDescriptor:Voe}=Object;let{freeze:Ui,seal:wa,create:dU}=Object,{apply:sA,construct:lA}=typeof Reflect<"u"&&Reflect;Ui||(Ui=function(t){return t});wa||(wa=function(t){return t});sA||(sA=function(t,n,r){return t.apply(n,r)});lA||(lA=function(t,n){return new t(...n)});const f0=Hi(Array.prototype.forEach),Uoe=Hi(Array.prototype.lastIndexOf),BN=Hi(Array.prototype.pop),zp=Hi(Array.prototype.push),Hoe=Hi(Array.prototype.splice),W_=Hi(String.prototype.toLowerCase),dC=Hi(String.prototype.toString),VN=Hi(String.prototype.match),Gp=Hi(String.prototype.replace),zoe=Hi(String.prototype.indexOf),Goe=Hi(String.prototype.trim),Va=Hi(Object.prototype.hasOwnProperty),Ai=Hi(RegExp.prototype.test),Wp=Woe(TypeError);function Hi(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:W_;$N&&$N(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const o=n(i);o!==i&&($oe(t)||(t[r]=o),i=o)}e[i]=!0}return e}function joe(e){for(let t=0;t/gm),qoe=wa(/\$\{[\w\W]*/gm),Joe=wa(/^data-[\-\w.\u00B7-\uFFFF]+$/),Qoe=wa(/^aria-[\-\w]+$/),hU=wa(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),eae=wa(/^(?:\w+script|data):/i),tae=wa(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pU=wa(/^html$/i),nae=wa(/^[a-z][.\w]*(-[.\w]+)+$/i);var WN=Object.freeze({__proto__:null,ARIA_ATTR:Qoe,ATTR_WHITESPACE:tae,CUSTOM_ELEMENT:nae,DATA_ATTR:Joe,DOCTYPE_NAME:pU,ERB_EXPR:Zoe,IS_ALLOWED_URI:hU,IS_SCRIPT_OR_DATA:eae,MUSTACHE_EXPR:Koe,TMPLIT_EXPR:qoe});const Xp={element:1,text:3,progressingInstruction:7,comment:8,document:9},rae=function(){return typeof window>"u"?null:window},iae=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},jN=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function vU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:rae();const t=yt=>vU(yt);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==Xp.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:o,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:u,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:d}=e,v=l.prototype,m=jp(v,"cloneNode"),y=jp(v,"remove"),_=jp(v,"nextSibling"),b=jp(v,"childNodes"),S=jp(v,"parentNode");if(typeof a=="function"){const yt=n.createElement("template");yt.content&&yt.content.ownerDocument&&(n=yt.content.ownerDocument)}let w,T="";const{implementation:C,createNodeIterator:E,createDocumentFragment:R,getElementsByTagName:I}=n,{importNode:P}=r;let M=jN();t.isSupported=typeof fU=="function"&&typeof S=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:L,ERB_EXPR:k,TMPLIT_EXPR:$,DATA_ATTR:W,ARIA_ATTR:N,IS_SCRIPT_OR_DATA:K,ATTR_WHITESPACE:Y,CUSTOM_ELEMENT:ae}=WN;let{IS_ALLOWED_URI:ge}=WN,ye=null;const Oe=Qt({},[...UN,...hC,...pC,...vC,...HN]);let ke=null;const Ue=Qt({},[...zN,...gC,...GN,...d0]);let Le=Object.seal(dU(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Xe=null,fe=null,Ae=!0,Se=!0,Te=!1,Ne=!0,Be=!1,H=!0,G=!1,ue=!1,we=!1,ve=!1,U=!1,j=!1,Q=!0,de=!1;const _e="user-content-";let De=!0,J=!1,he={},Ve=null;const Ze=Qt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let St=null;const re=Qt({},["audio","video","img","source","image","track"]);let se=null;const pe=Qt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ee="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml";let Ie=oe,$e=!1,nt=null;const je=Qt({},[Ee,We,oe],dC);let Ye=Qt({},["mi","mo","mn","ms","mtext"]),rt=Qt({},["annotation-xml"]);const Ot=Qt({},["title","style","font","a","script"]);let Lt=null;const kn=["application/xhtml+xml","text/html"],Aa="text/html";let Mn=null,yr=null;const ad=n.createElement("form"),Fl=function(ie){return ie instanceof RegExp||ie instanceof Function},ns=function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(yr&&yr===ie)){if((!ie||typeof ie!="object")&&(ie={}),ie=Yc(ie),Lt=kn.indexOf(ie.PARSER_MEDIA_TYPE)===-1?Aa:ie.PARSER_MEDIA_TYPE,Mn=Lt==="application/xhtml+xml"?dC:W_,ye=Va(ie,"ALLOWED_TAGS")?Qt({},ie.ALLOWED_TAGS,Mn):Oe,ke=Va(ie,"ALLOWED_ATTR")?Qt({},ie.ALLOWED_ATTR,Mn):Ue,nt=Va(ie,"ALLOWED_NAMESPACES")?Qt({},ie.ALLOWED_NAMESPACES,dC):je,se=Va(ie,"ADD_URI_SAFE_ATTR")?Qt(Yc(pe),ie.ADD_URI_SAFE_ATTR,Mn):pe,St=Va(ie,"ADD_DATA_URI_TAGS")?Qt(Yc(re),ie.ADD_DATA_URI_TAGS,Mn):re,Ve=Va(ie,"FORBID_CONTENTS")?Qt({},ie.FORBID_CONTENTS,Mn):Ze,Xe=Va(ie,"FORBID_TAGS")?Qt({},ie.FORBID_TAGS,Mn):{},fe=Va(ie,"FORBID_ATTR")?Qt({},ie.FORBID_ATTR,Mn):{},he=Va(ie,"USE_PROFILES")?ie.USE_PROFILES:!1,Ae=ie.ALLOW_ARIA_ATTR!==!1,Se=ie.ALLOW_DATA_ATTR!==!1,Te=ie.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=ie.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Be=ie.SAFE_FOR_TEMPLATES||!1,H=ie.SAFE_FOR_XML!==!1,G=ie.WHOLE_DOCUMENT||!1,ve=ie.RETURN_DOM||!1,U=ie.RETURN_DOM_FRAGMENT||!1,j=ie.RETURN_TRUSTED_TYPE||!1,we=ie.FORCE_BODY||!1,Q=ie.SANITIZE_DOM!==!1,de=ie.SANITIZE_NAMED_PROPS||!1,De=ie.KEEP_CONTENT!==!1,J=ie.IN_PLACE||!1,ge=ie.ALLOWED_URI_REGEXP||hU,Ie=ie.NAMESPACE||oe,Ye=ie.MATHML_TEXT_INTEGRATION_POINTS||Ye,rt=ie.HTML_INTEGRATION_POINTS||rt,Le=ie.CUSTOM_ELEMENT_HANDLING||{},ie.CUSTOM_ELEMENT_HANDLING&&Fl(ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Le.tagNameCheck=ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&Fl(ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Le.attributeNameCheck=ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&typeof ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Le.allowCustomizedBuiltInElements=ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Be&&(Se=!1),U&&(ve=!0),he&&(ye=Qt({},HN),ke=[],he.html===!0&&(Qt(ye,UN),Qt(ke,zN)),he.svg===!0&&(Qt(ye,hC),Qt(ke,gC),Qt(ke,d0)),he.svgFilters===!0&&(Qt(ye,pC),Qt(ke,gC),Qt(ke,d0)),he.mathMl===!0&&(Qt(ye,vC),Qt(ke,GN),Qt(ke,d0))),ie.ADD_TAGS&&(ye===Oe&&(ye=Yc(ye)),Qt(ye,ie.ADD_TAGS,Mn)),ie.ADD_ATTR&&(ke===Ue&&(ke=Yc(ke)),Qt(ke,ie.ADD_ATTR,Mn)),ie.ADD_URI_SAFE_ATTR&&Qt(se,ie.ADD_URI_SAFE_ATTR,Mn),ie.FORBID_CONTENTS&&(Ve===Ze&&(Ve=Yc(Ve)),Qt(Ve,ie.FORBID_CONTENTS,Mn)),De&&(ye["#text"]=!0),G&&Qt(ye,["html","head","body"]),ye.table&&(Qt(ye,["tbody"]),delete Xe.tbody),ie.TRUSTED_TYPES_POLICY){if(typeof ie.TRUSTED_TYPES_POLICY.createHTML!="function")throw Wp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ie.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Wp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=ie.TRUSTED_TYPES_POLICY,T=w.createHTML("")}else w===void 0&&(w=iae(d,i)),w!==null&&typeof T=="string"&&(T=w.createHTML(""));Ui&&Ui(ie),yr=ie}},ey=Qt({},[...hC,...pC,...Xoe]),sd=Qt({},[...vC,...Yoe]),Ew=function(ie){let He=S(ie);(!He||!He.tagName)&&(He={namespaceURI:Ie,tagName:"template"});const ct=W_(ie.tagName),xn=W_(He.tagName);return nt[ie.namespaceURI]?ie.namespaceURI===We?He.namespaceURI===oe?ct==="svg":He.namespaceURI===Ee?ct==="svg"&&(xn==="annotation-xml"||Ye[xn]):!!ey[ct]:ie.namespaceURI===Ee?He.namespaceURI===oe?ct==="math":He.namespaceURI===We?ct==="math"&&rt[xn]:!!sd[ct]:ie.namespaceURI===oe?He.namespaceURI===We&&!rt[xn]||He.namespaceURI===Ee&&!Ye[xn]?!1:!sd[ct]&&(Ot[ct]||!ey[ct]):!!(Lt==="application/xhtml+xml"&&nt[ie.namespaceURI]):!1},zi=function(ie){zp(t.removed,{element:ie});try{S(ie).removeChild(ie)}catch{y(ie)}},ld=function(ie,He){try{zp(t.removed,{attribute:He.getAttributeNode(ie),from:He})}catch{zp(t.removed,{attribute:null,from:He})}if(He.removeAttribute(ie),ie==="is")if(ve||U)try{zi(He)}catch{}else try{He.setAttribute(ie,"")}catch{}},ty=function(ie){let He=null,ct=null;if(we)ie=""+ie;else{const nr=VN(ie,/^[\r\n\t ]+/);ct=nr&&nr[0]}Lt==="application/xhtml+xml"&&Ie===oe&&(ie=''+ie+"");const xn=w?w.createHTML(ie):ie;if(Ie===oe)try{He=new h().parseFromString(xn,Lt)}catch{}if(!He||!He.documentElement){He=C.createDocument(Ie,"template",null);try{He.documentElement.innerHTML=$e?T:xn}catch{}}const Nr=He.body||He.documentElement;return ie&&ct&&Nr.insertBefore(n.createTextNode(ct),Nr.childNodes[0]||null),Ie===oe?I.call(He,G?"html":"body")[0]:G?He.documentElement:Nr},ny=function(ie){return E.call(ie.ownerDocument||ie,ie,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},yp=function(ie){return ie instanceof f&&(typeof ie.nodeName!="string"||typeof ie.textContent!="string"||typeof ie.removeChild!="function"||!(ie.attributes instanceof c)||typeof ie.removeAttribute!="function"||typeof ie.setAttribute!="function"||typeof ie.namespaceURI!="string"||typeof ie.insertBefore!="function"||typeof ie.hasChildNodes!="function")},ry=function(ie){return typeof s=="function"&&ie instanceof s};function Ia(yt,ie,He){f0(yt,ct=>{ct.call(t,ie,He,yr)})}const iy=function(ie){let He=null;if(Ia(M.beforeSanitizeElements,ie,null),yp(ie))return zi(ie),!0;const ct=Mn(ie.nodeName);if(Ia(M.uponSanitizeElement,ie,{tagName:ct,allowedTags:ye}),ie.hasChildNodes()&&!ry(ie.firstElementChild)&&Ai(/<[/\w]/g,ie.innerHTML)&&Ai(/<[/\w]/g,ie.textContent)||ie.nodeType===Xp.progressingInstruction||H&&ie.nodeType===Xp.comment&&Ai(/<[/\w]/g,ie.data))return zi(ie),!0;if(!ye[ct]||Xe[ct]){if(!Xe[ct]&&_p(ct)&&(Le.tagNameCheck instanceof RegExp&&Ai(Le.tagNameCheck,ct)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(ct)))return!1;if(De&&!Ve[ct]){const xn=S(ie)||ie.parentNode,Nr=b(ie)||ie.childNodes;if(Nr&&xn){const nr=Nr.length;for(let ei=nr-1;ei>=0;--ei){const Uo=m(Nr[ei],!0);Uo.__removalCount=(ie.__removalCount||0)+1,xn.insertBefore(Uo,_(ie))}}}return zi(ie),!0}return ie instanceof l&&!Ew(ie)||(ct==="noscript"||ct==="noembed"||ct==="noframes")&&Ai(/<\/no(script|embed|frames)/i,ie.innerHTML)?(zi(ie),!0):(Be&&ie.nodeType===Xp.text&&(He=ie.textContent,f0([L,k,$],xn=>{He=Gp(He,xn," ")}),ie.textContent!==He&&(zp(t.removed,{element:ie.cloneNode()}),ie.textContent=He)),Ia(M.afterSanitizeElements,ie,null),!1)},oy=function(ie,He,ct){if(Q&&(He==="id"||He==="name")&&(ct in n||ct in ad))return!1;if(!(Se&&!fe[He]&&Ai(W,He))){if(!(Ae&&Ai(N,He))){if(!ke[He]||fe[He]){if(!(_p(ie)&&(Le.tagNameCheck instanceof RegExp&&Ai(Le.tagNameCheck,ie)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(ie))&&(Le.attributeNameCheck instanceof RegExp&&Ai(Le.attributeNameCheck,He)||Le.attributeNameCheck instanceof Function&&Le.attributeNameCheck(He))||He==="is"&&Le.allowCustomizedBuiltInElements&&(Le.tagNameCheck instanceof RegExp&&Ai(Le.tagNameCheck,ct)||Le.tagNameCheck instanceof Function&&Le.tagNameCheck(ct))))return!1}else if(!se[He]){if(!Ai(ge,Gp(ct,Y,""))){if(!((He==="src"||He==="xlink:href"||He==="href")&&ie!=="script"&&zoe(ct,"data:")===0&&St[ie])){if(!(Te&&!Ai(K,Gp(ct,Y,"")))){if(ct)return!1}}}}}}return!0},_p=function(ie){return ie!=="annotation-xml"&&VN(ie,ae)},ay=function(ie){Ia(M.beforeSanitizeAttributes,ie,null);const{attributes:He}=ie;if(!He||yp(ie))return;const ct={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke,forceKeepAttr:void 0};let xn=He.length;for(;xn--;){const Nr=He[xn],{name:nr,namespaceURI:ei,value:Uo}=Nr,lc=Mn(nr);let kr=nr==="value"?Uo:Goe(Uo);if(ct.attrName=lc,ct.attrValue=kr,ct.keepAttr=!0,ct.forceKeepAttr=void 0,Ia(M.uponSanitizeAttribute,ie,ct),kr=ct.attrValue,de&&(lc==="id"||lc==="name")&&(ld(nr,ie),kr=_e+kr),H&&Ai(/((--!?|])>)|<\/(style|title)/i,kr)){ld(nr,ie);continue}if(ct.forceKeepAttr||(ld(nr,ie),!ct.keepAttr))continue;if(!Ne&&Ai(/\/>/i,kr)){ld(nr,ie);continue}Be&&f0([L,k,$],Sp=>{kr=Gp(kr,Sp," ")});const bp=Mn(ie.nodeName);if(oy(bp,lc,kr)){if(w&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!ei)switch(d.getAttributeType(bp,lc)){case"TrustedHTML":{kr=w.createHTML(kr);break}case"TrustedScriptURL":{kr=w.createScriptURL(kr);break}}try{ei?ie.setAttributeNS(ei,nr,kr):ie.setAttribute(nr,kr),yp(ie)?zi(ie):BN(t.removed)}catch{}}}Ia(M.afterSanitizeAttributes,ie,null)},Aw=function yt(ie){let He=null;const ct=ny(ie);for(Ia(M.beforeSanitizeShadowDOM,ie,null);He=ct.nextNode();)Ia(M.uponSanitizeShadowNode,He,null),iy(He),ay(He),He.content instanceof o&&yt(He.content);Ia(M.afterSanitizeShadowDOM,ie,null)};return t.sanitize=function(yt){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=null,ct=null,xn=null,Nr=null;if($e=!yt,$e&&(yt=""),typeof yt!="string"&&!ry(yt))if(typeof yt.toString=="function"){if(yt=yt.toString(),typeof yt!="string")throw Wp("dirty is not a string, aborting")}else throw Wp("toString is not a function");if(!t.isSupported)return yt;if(ue||ns(ie),t.removed=[],typeof yt=="string"&&(J=!1),J){if(yt.nodeName){const Uo=Mn(yt.nodeName);if(!ye[Uo]||Xe[Uo])throw Wp("root node is forbidden and cannot be sanitized in-place")}}else if(yt instanceof s)He=ty(""),ct=He.ownerDocument.importNode(yt,!0),ct.nodeType===Xp.element&&ct.nodeName==="BODY"||ct.nodeName==="HTML"?He=ct:He.appendChild(ct);else{if(!ve&&!Be&&!G&&yt.indexOf("<")===-1)return w&&j?w.createHTML(yt):yt;if(He=ty(yt),!He)return ve?null:j?T:""}He&&we&&zi(He.firstChild);const nr=ny(J?yt:He);for(;xn=nr.nextNode();)iy(xn),ay(xn),xn.content instanceof o&&Aw(xn.content);if(J)return yt;if(ve){if(U)for(Nr=R.call(He.ownerDocument);He.firstChild;)Nr.appendChild(He.firstChild);else Nr=He;return(ke.shadowroot||ke.shadowrootmode)&&(Nr=P.call(r,Nr,!0)),Nr}let ei=G?He.outerHTML:He.innerHTML;return G&&ye["!doctype"]&&He.ownerDocument&&He.ownerDocument.doctype&&He.ownerDocument.doctype.name&&Ai(pU,He.ownerDocument.doctype.name)&&(ei=" `+ei),Be&&f0([L,k,$],Uo=>{ei=Gp(ei,Uo," ")}),w&&j?w.createHTML(ei):ei},t.setConfig=function(){let yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ns(yt),ue=!0},t.clearConfig=function(){yr=null,ue=!1},t.isValidAttribute=function(yt,ie,He){yr||ns({});const ct=Mn(yt),xn=Mn(ie);return oy(ct,xn,He)},t.addHook=function(yt,ie){typeof ie=="function"&&zp(M[yt],ie)},t.removeHook=function(yt,ie){if(ie!==void 0){const He=Uoe(M[yt],ie);return He===-1?void 0:Hoe(M[yt],He,1)[0]}return BN(M[yt])},t.removeHooks=function(yt){M[yt]=[]},t.removeAllHooks=function(){M=jN()},t}var oae=vU();const aae=["innerHTML"],sae=["src"],XN="data:image/svg+xml,",QI=tt({__name:"ProxyIcon",props:{icon:{},fill:{},size:{}},setup(e){const t=e,n=xe(()=>({width:(t.size==="small"?Qv.value:Qv.value+4)+"px",marginRight:B_.value-4+"px"})),r=xe(()=>t.icon.startsWith(XN)),i=xe(()=>{if(r.value)return oae.sanitize(t.icon.replace(XN,""))});return(o,a)=>r.value?(X(),q("div",{key:0,class:mt(["inline-block",o.fill||"fill-primary"]),style:lr(n.value),innerHTML:i.value},null,14,aae)):(X(),q("img",{key:1,style:lr(n.value),src:o.icon},null,12,sae))}}),Uf=tt({__name:"ProxyName",props:{name:{},size:{default:"small"}},setup(e){const t=e,n=xe(()=>{var r;return(r=Jr.value[t.name])==null?void 0:r.icon});return(r,i)=>(X(),q("div",{class:mt(["flex shrink-0 items-center gap-1",r.size==="large"?"text-lg font-medium":"text-sm"])},[n.value?(X(),_t(QI,{key:0,icon:n.value,size:r.size,class:mt(r.size==="large"&&"-mt-[2px]")},null,8,["icon","size","class"])):it("",!0),qe(" "+ne(r.name),1)],2))}}),lae=tt({props:{conn:Object},name:"ConnectionCard",setup(e){const{handlerInfo:t}=qI();return()=>{const n=e.conn,r=n.metadata,i={[ze.Host]:z("span",{class:"text-main w-80 grow truncate"},[M7(n)]),[ze.Destination]:z("span",{class:"w-80 grow truncate break-all"},[D7(n)]),[ze.RemoteAddress]:z("span",{class:"w-80 grow truncate break-all"},[n.metadata.remoteDestination||"-"]),[ze.SourceIP]:z("span",{class:"w-40 grow truncate break-all"},[Vb(r.sourceIP)]),[ze.SourcePort]:z("span",{class:"w-20 grow truncate break-all"},[r.sourcePort]),[ze.SniffHost]:z("span",{class:"w-80 grow truncate break-all"},[r.sniffHost||"-"]),[ze.Type]:z("span",{class:"w-60 grow truncate break-all"},[N7(n)]),[ze.Rule]:z("span",{class:"w-80 grow truncate break-all"},[n.rule,n.rulePayload&&z(Ge,null,[qe(": "),n.rulePayload])]),[ze.Process]:z("span",{class:"w-60 grow truncate break-all"},[O7(n)]),[ze.Chains]:z("span",{class:["flex w-80 grow items-center gap-1 truncate break-all",ph.value===ip.REVERSE&&"flex-row-reverse justify-end"]},[z(Uf,{name:mr.last(n.chains)},null),mr.last(n.chains)!==mr.first(n.chains)&&z(Ge,null,[z(Rl,{class:"h-4 w-4 shrink-0"},null),z(Uf,{name:mr.first(n.chains)},null)])]),[ze.Download]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.download),z(Zee,{class:"text-success h-4 w-4"},null)]),[ze.Upload]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.upload),z(Jee,{class:"text-info h-4 w-4"},null)]),[ze.DlSpeed]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.downloadSpeed),qe("/s"),z(uS,{class:"text-success h-4 w-4"},null)]),[ze.UlSpeed]:z("div",{class:"flex items-center gap-1 whitespace-nowrap"},[Gn(n.uploadSpeed),qe("/s"),z(Pm,{class:"text-info h-4 w-4"},null)]),[ze.ConnectTime]:z("div",{class:"gap-1 whitespace-nowrap"},[Tw(n.start)]),[ze.DestinationType]:z("div",{class:"gap-1 whitespace-nowrap"},[L7(n)]),[ze.Close]:z("button",{class:"btn btn-circle btn-xs",onClick:o=>{o.stopPropagation(),ww(n.id)}},[z($f,{class:"h-4 w-4"},null)])};return z("div",{class:"card cursor-pointer gap-1 p-1 md:p-2",onClick:()=>t(n)},[to.value.map(o=>z("div",{class:"flex items-center gap-1 text-sm"},[o.map(a=>i[a])]))])}}}),uae={key:0,class:"card m-2 flex-row p-2 text-sm"},cae=tt({__name:"ConnectionCardList",setup(e){const t=xe(()=>to.value.length*28+4);return(n,r)=>B(Lh).length?(X(),_t(ZI,{key:1,data:B(Lh),size:t.value},{default:jn(({item:i})=>[z(B(lae),{class:"mb-1",conn:i},null,8,["conn"])]),_:1},8,["data","size"])):(X(),q("div",uae,ne(n.$t("noContent")),1))}}),fae={class:"modal-box relative max-h-[90dvh] overflow-hidden p-0 max-md:max-h-[70dvh]"},dae={method:"dialog"},hae={class:"btn btn-circle btn-ghost btn-xs absolute top-1 right-1 z-10 outline-hidden"},id=tt({__name:"DialogWrapper",props:M1({noPadding:{type:Boolean}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Me(),n=oS(e,"modelValue");return Bt(n,r=>{var i,o;r?(i=t.value)==null||i.showModal():(o=t.value)==null||o.close()}),(r,i)=>(X(),q("dialog",{ref_key:"modalRef",ref:t,class:"modal",onClose:i[0]||(i[0]=o=>n.value=!1)},[D("div",fae,[D("form",dae,[D("button",hae,[z(B($f),{class:"h-4 w-4"})])]),D("div",{class:mt(["max-h-[90dvh] overflow-y-auto max-md:max-h-[70dvh]",r.noPadding?"p-0":"p-4"])},[bf(r.$slots,"default")],2)]),i[1]||(i[1]=D("form",{method:"dialog",class:"modal-backdrop"},[D("button",null,"close")],-1))],544))}});var X1={d:(e,t)=>{for(var n in t)X1.o(t,n)&&!X1.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},gU={};function uA(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nyae});const wt=(YN={computed:()=>xe,createTextVNode:()=>qe,createVNode:()=>z,defineComponent:()=>tt,reactive:()=>_a,ref:()=>Me,watch:()=>Bt,watchEffect:()=>iS},mC={},X1.d(mC,YN),mC),pae=(0,wt.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,wt.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),vae=(0,wt.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,wt.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,wt.computed)({get:function(){return e.checked},set:function(r){return n("update:modelValue",r)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,wt.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(r){return r.stopPropagation()}},[(0,wt.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,wt.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return n("change",t)}},null)])}}),gae=(0,wt.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e==="objectStart"||e==="arrayStart";return n||e==="objectCollapsed"||e==="arrayCollapsed"?(0,wt.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(n?"open":"close"),onClick:t},[(0,wt.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,wt.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var YN,mC;function cA(e){return cA=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},cA(e)}function yU(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Kc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=r||{},o=i.key,a=i.index,s=i.type,l=s===void 0?"content":s,u=i.showComma,c=u!==void 0&&u,f=i.length,h=f===void 0?1:f,d=yU(e);if(d==="array"){var v=KN(e.map(function(_,b,S){return Kc(_,"".concat(t,"[").concat(b,"]"),n+1,{index:b,showComma:b!==S.length-1,length:h,type:l})}));return[Kc("[",t,n,{showComma:!1,key:o,length:e.length,type:"arrayStart"})[0]].concat(v,Kc("]",t,n,{showComma:c,length:e.length,type:"arrayEnd"})[0])}if(d==="object"){var m=Object.keys(e),y=KN(m.map(function(_,b,S){return Kc(e[_],/^[a-zA-Z_]\w*$/.test(_)?"".concat(t,".").concat(_):"".concat(t,'["').concat(_,'"]'),n+1,{key:_,showComma:b!==S.length-1,length:h,type:l})}));return[Kc("{",t,n,{showComma:!1,key:o,index:a,length:m.length,type:"objectStart"})[0]].concat(y,Kc("}",t,n,{showComma:c,length:m.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:o,index:a,path:t,showComma:c,length:h,type:l}]}function KN(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=Y1(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,Y1(r)):n.push(r)}return n}function fA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(cA(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(o){return fA(o,t)});return t.set(e,n),n}var r={};for(var i in e)r[i]=fA(e[i],t);return t.set(e,r),r}function ZN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qN(e){for(var t=1;t=S||C.length>=w,I=(E=e.pathCollapsible)===null||E===void 0?void 0:E.call(e,C);return C.type!=="objectStart"&&C.type!=="arrayStart"||!R&&!I?T:Eo(Eo({},T),{},K1({},C.path,1))},{})},s=(0,wt.reactive)({translateY:0,visibleData:null,hiddenPaths:a(e.deep,e.collapsedNodeLength)}),l=(0,wt.computed)(function(){for(var S=null,w=[],T=o.value.length,C=0;CS.length?S.length-T:E;R<0&&(R=0);var I=R+T;s.translateY=R*e.itemHeight,s.visibleData=S.filter(function(P,M){return M>=R&&M{var l;return(l=t.value)==null?void 0:l.metadata.destinationIP}),s=xe(()=>a.value?i.test(a.value)||o.test(a.value):!1);return Bt(()=>a.value,l=>{var u,c;if(l){if(s.value){r.value=null;return}((u=r.value)==null?void 0:u.ip)!==l&&(r.value=null,uM((c=t.value)==null?void 0:c.metadata.destinationIP).then(f=>{r.value=f}))}}),(l,u)=>(X(),_t(id,{modelValue:B(n),"onUpdate:modelValue":u[0]||(u[0]=c=>pt(n)?n.value=c:null),"no-padding":!0},{default:jn(()=>{var c,f,h,d,v,m,y,_,b,S,w,T,C;return[D("div",bae,[z(B(_ae),{data:B(t),class:"overflow-y-auto px-4"},null,8,["data"]),a.value&&!s.value?(X(),q("div",Sae,[r.value?(X(),q(Ge,{key:0},[D("div",wae,[z(B(Rl),{class:"h-4 w-4 shrink-0"}),D("div",null,ne((c=r.value)==null?void 0:c.ip),1),D("div",null,"( AS"+ne((f=r.value)==null?void 0:f.asn)+" )",1)]),D("div",xae,[(h=r.value)!=null&&h.country?(X(),q("div",Cae,[z(B(ote),{class:"h-4 w-4 shrink-0"}),(d=r.value)!=null&&d.city&&((v=r.value)==null?void 0:v.city)!==((m=r.value)==null?void 0:m.country)?(X(),q(Ge,{key:0},[qe(ne((y=r.value)==null?void 0:y.city)+", ",1)],64)):(_=r.value)!=null&&_.region&&((b=r.value)==null?void 0:b.region)!==((S=r.value)==null?void 0:S.country)?(X(),q(Ge,{key:1},[qe(ne((w=r.value)==null?void 0:w.region)+", ",1)],64)):it("",!0),qe(" "+ne((T=r.value)==null?void 0:T.country),1)])):it("",!0),D("div",Tae,[z(B(lte),{class:"h-4 w-4 shrink-0"}),qe(" "+ne((C=r.value)==null?void 0:C.organization),1)])])],64)):it("",!0)])):it("",!0)])]}),_:1},8,["modelValue"]))}});/** * table-core * * Copyright (c) TanStack * * 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 Cu(e,t){return typeof e=="function"?e(t):e}function $o(e,t){return n=>{t.setState(r=>({...r,[e]:Cu(n,r[e])}))}}function Tu(e){return e instanceof Function}function Aae(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function bU(e,t){const n=[],r=i=>{i.forEach(o=>{n.push(o);const a=t(o);a!=null&&a.length&&r(a)})};return r(e),n}function At(e,t,n){let r=[],i;return o=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(o);if(!(s.length!==r.length||s.some((c,f)=>r[f]!==c)))return i;r=s;let u;if(n.key&&n.debug&&(u=Date.now()),i=t(...s),n==null||n.onChange==null||n.onChange(i),n.key&&n.debug&&n!=null&&n.debug()){const c=Math.round((Date.now()-a)*100)/100,f=Math.round((Date.now()-u)*100)/100,h=f/16,d=(v,m)=>{for(v=String(v);v.length{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:!1,onChange:r}}function Iae(e,t,n,r){const i=()=>{var a;return(a=o.getValue())!=null?a:e.options.renderFallbackValue},o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:i,getContext:At(()=>[e,n,t,o],(a,s,l,u)=>({table:a,column:s,row:l,cell:u,getValue:u.getValue,renderValue:u.renderValue}),It(e.options,"debugCells"))};return e._features.forEach(a=>{a.createCell==null||a.createCell(o,n,t,e)},{}),o}function Rae(e,t,n,r){var i,o;const s={...e._getDefaultColumnDef(),...t},l=s.accessorKey;let u=(i=(o=s.id)!=null?o:l?typeof String.prototype.replaceAll=="function"?l.replaceAll(".","_"):l.replace(/\./g,"_"):void 0)!=null?i:typeof s.header=="string"?s.header:void 0,c;if(s.accessorFn?c=s.accessorFn:l&&(l.includes(".")?c=h=>{let d=h;for(const m of l.split(".")){var v;d=(v=d)==null?void 0:v[m]}return d}:c=h=>h[s.accessorKey]),!u)throw new Error;let f={id:`${String(u)}`,accessorFn:c,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:At(()=>[!0],()=>{var h;return[f,...(h=f.columns)==null?void 0:h.flatMap(d=>d.getFlatColumns())]},It(e.options,"debugColumns")),getLeafColumns:At(()=>[e._getOrderColumnsFn()],h=>{var d;if((d=f.columns)!=null&&d.length){let v=f.columns.flatMap(m=>m.getLeafColumns());return h(v)}return[f]},It(e.options,"debugColumns"))};for(const h of e._features)h.createColumn==null||h.createColumn(f,e);return f}const ri="debugHeaders";function QN(e,t,n){var r;let o={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const a=[],s=l=>{l.subHeaders&&l.subHeaders.length&&l.subHeaders.map(s),a.push(l)};return s(o),a},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach(a=>{a.createHeader==null||a.createHeader(o,e)}),o}const Pae={createTable:e=>{e.getHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var o,a;const s=(o=r==null?void 0:r.map(f=>n.find(h=>h.id===f)).filter(Boolean))!=null?o:[],l=(a=i==null?void 0:i.map(f=>n.find(h=>h.id===f)).filter(Boolean))!=null?a:[],u=n.filter(f=>!(r!=null&&r.includes(f.id))&&!(i!=null&&i.includes(f.id)));return h0(t,[...s,...u,...l],e)},It(e.options,ri)),e.getCenterHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>(n=n.filter(o=>!(r!=null&&r.includes(o.id))&&!(i!=null&&i.includes(o.id))),h0(t,n,e,"center")),It(e.options,ri)),e.getLeftHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;const o=(i=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?i:[];return h0(t,o,e,"left")},It(e.options,ri)),e.getRightHeaderGroups=At(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;const o=(i=r==null?void 0:r.map(a=>n.find(s=>s.id===a)).filter(Boolean))!=null?i:[];return h0(t,o,e,"right")},It(e.options,ri)),e.getFooterGroups=At(()=>[e.getHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getLeftFooterGroups=At(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getCenterFooterGroups=At(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getRightFooterGroups=At(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),It(e.options,ri)),e.getFlatHeaders=At(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getLeftFlatHeaders=At(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getCenterFlatHeaders=At(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getRightFlatHeaders=At(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),It(e.options,ri)),e.getCenterLeafHeaders=At(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getLeftLeafHeaders=At(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getRightLeafHeaders=At(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),It(e.options,ri)),e.getLeafHeaders=At(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var i,o,a,s,l,u;return[...(i=(o=t[0])==null?void 0:o.headers)!=null?i:[],...(a=(s=n[0])==null?void 0:s.headers)!=null?a:[],...(l=(u=r[0])==null?void 0:u.headers)!=null?l:[]].map(c=>c.getLeafHeaders()).flat()},It(e.options,ri))}};function h0(e,t,n,r){var i,o;let a=0;const s=function(h,d){d===void 0&&(d=1),a=Math.max(a,d),h.filter(v=>v.getIsVisible()).forEach(v=>{var m;(m=v.columns)!=null&&m.length&&s(v.columns,d+1)},0)};s(e);let l=[];const u=(h,d)=>{const v={depth:d,id:[r,`${d}`].filter(Boolean).join("_"),headers:[]},m=[];h.forEach(y=>{const _=[...m].reverse()[0],b=y.column.depth===v.depth;let S,w=!1;if(b&&y.column.parent?S=y.column.parent:(S=y.column,w=!0),_&&(_==null?void 0:_.column)===S)_.subHeaders.push(y);else{const T=QN(n,S,{id:[r,d,S.id,y==null?void 0:y.id].filter(Boolean).join("_"),isPlaceholder:w,placeholderId:w?`${m.filter(C=>C.column===S).length}`:void 0,depth:d,index:m.length});T.subHeaders.push(y),m.push(T)}v.headers.push(y),y.headerGroup=v}),l.push(v),d>0&&u(m,d-1)},c=t.map((h,d)=>QN(n,h,{depth:a,index:d}));u(c,a-1),l.reverse();const f=h=>h.filter(v=>v.column.getIsVisible()).map(v=>{let m=0,y=0,_=[0];v.subHeaders&&v.subHeaders.length?(_=[],f(v.subHeaders).forEach(S=>{let{colSpan:w,rowSpan:T}=S;m+=w,_.push(T)})):m=1;const b=Math.min(..._);return y=y+b,v.colSpan=m,v.rowSpan=y,{colSpan:m,rowSpan:y}});return f((i=(o=l[0])==null?void 0:o.headers)!=null?i:[]),l}const SU=(e,t,n,r,i,o,a)=>{let s={id:t,index:r,original:n,depth:i,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:l=>{if(s._valuesCache.hasOwnProperty(l))return s._valuesCache[l];const u=e.getColumn(l);if(u!=null&&u.accessorFn)return s._valuesCache[l]=u.accessorFn(s.original,r),s._valuesCache[l]},getUniqueValues:l=>{if(s._uniqueValuesCache.hasOwnProperty(l))return s._uniqueValuesCache[l];const u=e.getColumn(l);if(u!=null&&u.accessorFn)return u.columnDef.getUniqueValues?(s._uniqueValuesCache[l]=u.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[l]):(s._uniqueValuesCache[l]=[s.getValue(l)],s._uniqueValuesCache[l])},renderValue:l=>{var u;return(u=s.getValue(l))!=null?u:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>bU(s.subRows,l=>l.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let l=[],u=s;for(;;){const c=u.getParentRow();if(!c)break;l.push(c),u=c}return l.reverse()},getAllCells:At(()=>[e.getAllLeafColumns()],l=>l.map(u=>Iae(e,s,u,u.id)),It(e.options,"debugRows")),_getAllCellsByColumnId:At(()=>[s.getAllCells()],l=>l.reduce((u,c)=>(u[c.column.id]=c,u),{}),It(e.options,"debugRows"))};for(let l=0;l{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},wU=(e,t,n)=>{var r,i;const o=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((i=e.getValue(t))==null||(i=i.toString())==null||(i=i.toLowerCase())==null)&&i.includes(o))};wU.autoRemove=e=>qa(e);const xU=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};xU.autoRemove=e=>qa(e);const CU=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};CU.autoRemove=e=>qa(e);const TU=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};TU.autoRemove=e=>qa(e);const EU=(e,t,n)=>!n.some(r=>{var i;return!((i=e.getValue(t))!=null&&i.includes(r))});EU.autoRemove=e=>qa(e)||!(e!=null&&e.length);const AU=(e,t,n)=>n.some(r=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(r)});AU.autoRemove=e=>qa(e)||!(e!=null&&e.length);const IU=(e,t,n)=>e.getValue(t)===n;IU.autoRemove=e=>qa(e);const RU=(e,t,n)=>e.getValue(t)==n;RU.autoRemove=e=>qa(e);const eR=(e,t,n)=>{let[r,i]=n;const o=e.getValue(t);return o>=r&&o<=i};eR.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,i=typeof n!="number"?parseFloat(n):n,o=t===null||Number.isNaN(r)?-1/0:r,a=n===null||Number.isNaN(i)?1/0:i;if(o>a){const s=o;o=a,a=s}return[o,a]};eR.autoRemove=e=>qa(e)||qa(e[0])&&qa(e[1]);const il={includesString:wU,includesStringSensitive:xU,equalsString:CU,arrIncludes:TU,arrIncludesAll:EU,arrIncludesSome:AU,equals:IU,weakEquals:RU,inNumberRange:eR};function qa(e){return e==null||e===""}const Oae={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:$o("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?il.includesString:typeof r=="number"?il.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?il.equals:Array.isArray(r)?il.arrIncludes:il.weakEquals},e.getFilterFn=()=>{var n,r;return Tu(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:il[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const i=e.getFilterFn(),o=r==null?void 0:r.find(c=>c.id===e.id),a=Cu(n,o?o.value:void 0);if(ek(i,a,e)){var s;return(s=r==null?void 0:r.filter(c=>c.id!==e.id))!=null?s:[]}const l={id:e.id,value:a};if(o){var u;return(u=r==null?void 0:r.map(c=>c.id===e.id?l:c))!=null?u:[]}return r!=null&&r.length?[...r,l]:[l]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=i=>{var o;return(o=Cu(t,i))==null?void 0:o.filter(a=>{const s=n.find(l=>l.id===a.id);if(s){const l=s.getFilterFn();if(ek(l,a.value,s))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function ek(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const Dae=(e,t,n)=>n.reduce((r,i)=>{const o=i.getValue(e);return r+(typeof o=="number"?o:0)},0),Lae=(e,t,n)=>{let r;return n.forEach(i=>{const o=i.getValue(e);o!=null&&(r>o||r===void 0&&o>=o)&&(r=o)}),r},Nae=(e,t,n)=>{let r;return n.forEach(i=>{const o=i.getValue(e);o!=null&&(r=o)&&(r=o)}),r},kae=(e,t,n)=>{let r,i;return n.forEach(o=>{const a=o.getValue(e);a!=null&&(r===void 0?a>=a&&(r=i=a):(r>a&&(r=a),i{let n=0,r=0;if(t.forEach(i=>{let o=i.getValue(e);o!=null&&(o=+o)>=o&&(++n,r+=o)}),n)return r/n},$ae=(e,t)=>{if(!t.length)return;const n=t.map(o=>o.getValue(e));if(!Aae(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),i=n.sort((o,a)=>o-a);return n.length%2!==0?i[r]:(i[r-1]+i[r])/2},Bae=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),Vae=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,Uae=(e,t)=>t.length,yC={sum:Dae,min:Lae,max:Nae,extent:kae,mean:Fae,median:$ae,unique:Bae,uniqueCount:Vae,count:Uae},Hae={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:$o("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return yC.sum;if(Object.prototype.toString.call(r)==="[object Date]")return yC.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Tu(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:yC[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=n.subRows)!=null&&i.length)}}};function zae(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(o=>!t.includes(o.id));return n==="remove"?r:[...t.map(o=>e.find(a=>a.id===o)).filter(Boolean),...r]}const Gae={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:$o("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=At(n=>[rg(t,n)],n=>n.findIndex(r=>r.id===e.id),It(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return((r=rg(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=rg(t,n);return((r=i[i.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=At(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>i=>{let o=[];if(!(t!=null&&t.length))o=i;else{const a=[...t],s=[...i];for(;s.length&&a.length;){const l=a.shift(),u=s.findIndex(c=>c.id===l);u>-1&&o.push(s.splice(u,1)[0])}o=[...o,...s]}return zae(o,n,r)},It(e.options,"debugTable"))}},_C=()=>({left:[],right:[]}),Wae={getInitialState:e=>({columnPinning:_C(),...e}),getDefaultOptions:e=>({onColumnPinningChange:$o("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(i=>i.id).filter(Boolean);t.setColumnPinning(i=>{var o,a;if(n==="right"){var s,l;return{left:((s=i==null?void 0:i.left)!=null?s:[]).filter(f=>!(r!=null&&r.includes(f))),right:[...((l=i==null?void 0:i.right)!=null?l:[]).filter(f=>!(r!=null&&r.includes(f))),...r]}}if(n==="left"){var u,c;return{left:[...((u=i==null?void 0:i.left)!=null?u:[]).filter(f=>!(r!=null&&r.includes(f))),...r],right:((c=i==null?void 0:i.right)!=null?c:[]).filter(f=>!(r!=null&&r.includes(f)))}}return{left:((o=i==null?void 0:i.left)!=null?o:[]).filter(f=>!(r!=null&&r.includes(f))),right:((a=i==null?void 0:i.right)!=null?a:[]).filter(f=>!(r!=null&&r.includes(f)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var i,o,a;return((i=r.columnDef.enablePinning)!=null?i:!0)&&((o=(a=t.options.enableColumnPinning)!=null?a:t.options.enablePinning)!=null?o:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(s=>s.id),{left:r,right:i}=t.getState().columnPinning,o=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>i==null?void 0:i.includes(s));return o?"left":a?"right":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(r=r[i])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,i)=>{const o=[...r??[],...i??[]];return n.filter(a=>!o.includes(a.column.id))},It(t.options,"debugRows")),e.getLeftVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"left"})),It(t.options,"debugRows")),e.getRightVisibleCells=At(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(o=>n.find(a=>a.column.id===o)).filter(Boolean).map(o=>({...o,position:"right"})),It(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?_C():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:_C())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var i,o;return!!((i=r.left)!=null&&i.length||(o=r.right)!=null&&o.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),It(e.options,"debugColumns")),e.getRightLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),It(e.options,"debugColumns")),e.getCenterLeafColumns=At(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(o=>!i.includes(o.id))},It(e.options,"debugColumns"))}},p0={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},bC=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),jae={getDefaultColumnDef:()=>p0,getInitialState:e=>({columnSizing:{},columnSizingInfo:bC(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:$o("columnSizing",e),onColumnSizingInfoChange:$o("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const o=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:p0.minSize,(r=o??e.columnDef.size)!=null?r:p0.size),(i=e.columnDef.maxSize)!=null?i:p0.maxSize)},e.getStart=At(n=>[n,rg(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((i,o)=>i+o.getSize(),0),It(t.options,"debugColumns")),e.getAfter=At(n=>[n,rg(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((i,o)=>i+o.getSize(),0),It(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...i}=n;return i})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=i=>{if(i.subHeaders.length)i.subHeaders.forEach(r);else{var o;n+=(o=i.column.getSize())!=null?o:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=r==null?void 0:r.getCanResize();return o=>{if(!r||!i||(o.persist==null||o.persist(),SC(o)&&o.touches&&o.touches.length>1))return;const a=e.getSize(),s=e?e.getLeafHeaders().map(_=>[_.column.id,_.column.getSize()]):[[r.id,r.getSize()]],l=SC(o)?Math.round(o.touches[0].clientX):o.clientX,u={},c=(_,b)=>{typeof b=="number"&&(t.setColumnSizingInfo(S=>{var w,T;const C=t.options.columnResizeDirection==="rtl"?-1:1,E=(b-((w=S==null?void 0:S.startOffset)!=null?w:0))*C,R=Math.max(E/((T=S==null?void 0:S.startSize)!=null?T:0),-.999999);return S.columnSizingStart.forEach(I=>{let[P,M]=I;u[P]=Math.round(Math.max(M+M*R,0)*100)/100}),{...S,deltaOffset:E,deltaPercentage:R}}),(t.options.columnResizeMode==="onChange"||_==="end")&&t.setColumnSizing(S=>({...S,...u})))},f=_=>c("move",_),h=_=>{c("end",_),t.setColumnSizingInfo(b=>({...b,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},d=n||typeof document<"u"?document:null,v={moveHandler:_=>f(_.clientX),upHandler:_=>{d==null||d.removeEventListener("mousemove",v.moveHandler),d==null||d.removeEventListener("mouseup",v.upHandler),h(_.clientX)}},m={moveHandler:_=>(_.cancelable&&(_.preventDefault(),_.stopPropagation()),f(_.touches[0].clientX),!1),upHandler:_=>{var b;d==null||d.removeEventListener("touchmove",m.moveHandler),d==null||d.removeEventListener("touchend",m.upHandler),_.cancelable&&(_.preventDefault(),_.stopPropagation()),h((b=_.touches[0])==null?void 0:b.clientX)}},y=Xae()?{passive:!1}:!1;SC(o)?(d==null||d.addEventListener("touchmove",m.moveHandler,y),d==null||d.addEventListener("touchend",m.upHandler,y)):(d==null||d.addEventListener("mousemove",v.moveHandler,y),d==null||d.addEventListener("mouseup",v.upHandler,y)),t.setColumnSizingInfo(_=>({..._,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?bC():(n=e.initialState.columnSizingInfo)!=null?n:bC())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0}}};let v0=null;function Xae(){if(typeof v0=="boolean")return v0;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return v0=e,v0}function SC(e){return e.type==="touchstart"}const Yae={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:$o("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return(n=i.length?i.some(o=>o.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=At(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),It(t.options,"debugRows")),e.getVisibleCells=At(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,i)=>[...n,...r,...i],It(t.options,"debugRows"))},createTable:e=>{const t=(n,r)=>At(()=>[r(),r().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(o=>o.getIsVisible==null?void 0:o.getIsVisible()),It(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,o)=>({...i,[o.id]:n||!(o.getCanHide!=null&&o.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function rg(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Kae={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Zae={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:$o("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,o;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&((o=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?o:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>il.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Tu(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:il[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},qae={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:$o("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var i,o;e.setExpanded(r?{}:(i=(o=e.initialState)==null?void 0:o.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(o=>{const a=o.split(".");r=Math.max(r,a.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const o=r===!0?!0:!!(r!=null&&r[e.id]);let a={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(s=>{a[s]=!0}):a=r,n=(i=n)!=null?i:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:s,...l}=a;return l}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,i;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},dA=0,hA=10,wC=()=>({pageIndex:dA,pageSize:hA}),Jae={getInitialState:e=>({...e,pagination:{...wC(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:$o("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const i=o=>Cu(r,o);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=r=>{var i;e.setPagination(r?wC():(i=e.initialState.pagination)!=null?i:wC())},e.setPageIndex=r=>{e.setPagination(i=>{let o=Cu(r,i.pageIndex);const a=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,a)),{...i,pageIndex:o}})},e.resetPageIndex=r=>{var i,o;e.setPageIndex(r?dA:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageIndex)!=null?i:dA)},e.resetPageSize=r=>{var i,o;e.setPageSize(r?hA:(i=(o=e.initialState)==null||(o=o.pagination)==null?void 0:o.pageSize)!=null?i:hA)},e.setPageSize=r=>{e.setPagination(i=>{const o=Math.max(1,Cu(r,i.pageSize)),a=i.pageSize*i.pageIndex,s=Math.floor(a/o);return{...i,pageIndex:s,pageSize:o}})},e.setPageCount=r=>e.setPagination(i=>{var o;let a=Cu(r,(o=e.options.pageCount)!=null?o:-1);return typeof a=="number"&&(a=Math.max(-1,a)),{...i,pageCount:a}}),e.getPageOptions=At(()=>[e.getPageCount()],r=>{let i=[];return r&&r>0&&(i=[...new Array(r)].fill(null).map((o,a)=>a)),i},It(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:re.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},xC=()=>({top:[],bottom:[]}),Qae={getInitialState:e=>({rowPinning:xC(),...e}),getDefaultOptions:e=>({onRowPinningChange:$o("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const o=r?e.getLeafRows().map(l=>{let{id:u}=l;return u}):[],a=i?e.getParentRows().map(l=>{let{id:u}=l;return u}):[],s=new Set([...a,e.id,...o]);t.setRowPinning(l=>{var u,c;if(n==="bottom"){var f,h;return{top:((f=l==null?void 0:l.top)!=null?f:[]).filter(m=>!(s!=null&&s.has(m))),bottom:[...((h=l==null?void 0:l.bottom)!=null?h:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)]}}if(n==="top"){var d,v;return{top:[...((d=l==null?void 0:l.top)!=null?d:[]).filter(m=>!(s!=null&&s.has(m))),...Array.from(s)],bottom:((v=l==null?void 0:l.bottom)!=null?v:[]).filter(m=>!(s!=null&&s.has(m)))}}return{top:((u=l==null?void 0:l.top)!=null?u:[]).filter(m=>!(s!=null&&s.has(m))),bottom:((c=l==null?void 0:l.bottom)!=null?c:[]).filter(m=>!(s!=null&&s.has(m)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return typeof r=="function"?r(e):(n=r??i)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some(s=>r==null?void 0:r.includes(s)),a=n.some(s=>i==null?void 0:i.includes(s));return o?"top":a?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const o=(n=i==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(a=>{let{id:s}=a;return s});return(r=o==null?void 0:o.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?xC():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:xC())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var i,o;return!!((i=r.top)!=null&&i.length||(o=r.bottom)!=null&&o.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(a=>{const s=e.getRow(a,!0);return s.getIsAllParentsExpanded()?s:null}):(n??[]).map(a=>t.find(s=>s.id===a))).filter(Boolean).map(a=>({...a,position:r}))},e.getTopRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),It(e.options,"debugRows")),e.getBottomRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),It(e.options,"debugRows")),e.getCenterRows=At(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const i=new Set([...n??[],...r??[]]);return t.filter(o=>!i.has(o.id))},It(e.options,"debugRows"))}},ese={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:$o("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(o=>{o.getCanSelect()&&(r[o.id]=!0)}):i.forEach(o=>{delete r[o.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(o=>{pA(i,o.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=At(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?CC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getFilteredSelectedRowModel=At(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?CC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getGroupedSelectedRowModel=At(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?CC(e,n):{rows:[],flatRows:[],rowsById:{}},It(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(i=>i.getCanSelect()&&!n[i.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(i=>!n[i.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(o=>{var a;if(n=typeof n<"u"?n:!i,e.getCanSelect()&&i===n)return o;const s={...o};return pA(s,e.id,n,(a=r==null?void 0:r.selectChildren)!=null?a:!0,t),s})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return tR(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return vA(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return vA(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var i;n&&e.toggleSelected((i=r.target)==null?void 0:i.checked)}}}},pA=(e,t,n,r,i)=>{var o;const a=i.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(o=a.subRows)!=null&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach(s=>pA(e,s.id,n,r,i))};function CC(e,t){const n=e.getState().rowSelection,r=[],i={},o=function(a,s){return a.map(l=>{var u;const c=tR(l,n);if(c&&(r.push(l),i[l.id]=l),(u=l.subRows)!=null&&u.length&&(l={...l,subRows:o(l.subRows)}),c)return l}).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function tR(e,t){var n;return(n=t[e.id])!=null?n:!1}function vA(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let i=!0,o=!1;return e.subRows.forEach(a=>{if(!(o&&!i)&&(a.getCanSelect()&&(tR(a,t)?o=!0:i=!1),a.subRows&&a.subRows.length)){const s=vA(a,t);s==="all"?o=!0:(s==="some"&&(o=!0),i=!1)}}),i?"all":o?"some":!1}const gA=/([0-9]+)/gm,tse=(e,t,n)=>PU(Wu(e.getValue(n)).toLowerCase(),Wu(t.getValue(n)).toLowerCase()),nse=(e,t,n)=>PU(Wu(e.getValue(n)),Wu(t.getValue(n))),rse=(e,t,n)=>nR(Wu(e.getValue(n)).toLowerCase(),Wu(t.getValue(n)).toLowerCase()),ise=(e,t,n)=>nR(Wu(e.getValue(n)),Wu(t.getValue(n))),ose=(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:rnR(e.getValue(n),t.getValue(n));function nR(e,t){return e===t?0:e>t?1:-1}function Wu(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function PU(e,t){const n=e.split(gA).filter(Boolean),r=t.split(gA).filter(Boolean);for(;n.length&&r.length;){const i=n.shift(),o=r.shift(),a=parseInt(i,10),s=parseInt(o,10),l=[a,s].sort();if(isNaN(l[0])){if(i>o)return 1;if(o>i)return-1;continue}if(isNaN(l[1]))return isNaN(a)?-1:1;if(a>s)return 1;if(s>a)return-1}return n.length-r.length}const Yp={alphanumeric:tse,alphanumericCaseSensitive:nse,text:rse,textCaseSensitive:ise,datetime:ose,basic:ase},sse={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:$o("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const i of n){const o=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(o)==="[object Date]")return Yp.datetime;if(typeof o=="string"&&(r=!0,o.split(gA).length>1))return Yp.alphanumeric}return r?Yp.text:Yp.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Tu(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Yp[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),o=typeof n<"u"&&n!==null;t.setSorting(a=>{const s=a==null?void 0:a.find(d=>d.id===e.id),l=a==null?void 0:a.findIndex(d=>d.id===e.id);let u=[],c,f=o?n:i==="desc";if(a!=null&&a.length&&e.getCanMultiSort()&&r?s?c="toggle":c="add":a!=null&&a.length&&l!==a.length-1?c="replace":s?c="toggle":c="replace",c==="toggle"&&(o||i||(c="remove")),c==="add"){var h;u=[...a,{id:e.id,desc:f}],u.splice(0,u.length-((h=t.options.maxMultiSortColCount)!=null?h:Number.MAX_SAFE_INTEGER))}else c==="toggle"?u=a.map(d=>d.id===e.id?{...d,desc:f}:d):c==="remove"?u=a.filter(d=>d.id!==e.id):u=[{id:e.id,desc:f}];return u})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?a!==o&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(i=t.options.enableMultiRemove)!=null)||i)?!1:a==="desc"?"asc":"desc":o},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(i=>i.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},lse=[Pae,Yae,Gae,Wae,Mae,Oae,Kae,Zae,sse,Hae,qae,Jae,Qae,ese,jae];function use(e){var t,n;const r=[...lse,...(t=e._features)!=null?t:[]];let i={_features:r};const o=i._features.reduce((h,d)=>Object.assign(h,d.getDefaultOptions==null?void 0:d.getDefaultOptions(i)),{}),a=h=>i.options.mergeOptions?i.options.mergeOptions(o,h):{...o,...h};let l={...{},...(n=e.initialState)!=null?n:{}};i._features.forEach(h=>{var d;l=(d=h.getInitialState==null?void 0:h.getInitialState(l))!=null?d:l});const u=[];let c=!1;const f={_features:r,options:{...o,...e},initialState:l,_queue:h=>{u.push(h),c||(c=!0,Promise.resolve().then(()=>{for(;u.length;)u.shift()();c=!1}).catch(d=>setTimeout(()=>{throw d})))},reset:()=>{i.setState(i.initialState)},setOptions:h=>{const d=Cu(h,i.options);i.options=a(d)},getState:()=>i.options.state,setState:h=>{i.options.onStateChange==null||i.options.onStateChange(h)},_getRowId:(h,d,v)=>{var m;return(m=i.options.getRowId==null?void 0:i.options.getRowId(h,d,v))!=null?m:`${v?[v.id,d].join("."):d}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(h,d)=>{let v=(d?i.getPrePaginationRowModel():i.getRowModel()).rowsById[h];if(!v&&(v=i.getCoreRowModel().rowsById[h],!v))throw new Error;return v},_getDefaultColumnDef:At(()=>[i.options.defaultColumn],h=>{var d;return h=(d=h)!=null?d:{},{header:v=>{const m=v.header.column.columnDef;return m.accessorKey?m.accessorKey:m.accessorFn?m.id:null},cell:v=>{var m,y;return(m=(y=v.renderValue())==null||y.toString==null?void 0:y.toString())!=null?m:null},...i._features.reduce((v,m)=>Object.assign(v,m.getDefaultColumnDef==null?void 0:m.getDefaultColumnDef()),{}),...h}},It(e,"debugColumns")),_getColumnDefs:()=>i.options.columns,getAllColumns:At(()=>[i._getColumnDefs()],h=>{const d=function(v,m,y){return y===void 0&&(y=0),v.map(_=>{const b=Rae(i,_,y,m),S=_;return b.columns=S.columns?d(S.columns,b,y+1):[],b})};return d(h)},It(e,"debugColumns")),getAllFlatColumns:At(()=>[i.getAllColumns()],h=>h.flatMap(d=>d.getFlatColumns()),It(e,"debugColumns")),_getAllFlatColumnsById:At(()=>[i.getAllFlatColumns()],h=>h.reduce((d,v)=>(d[v.id]=v,d),{}),It(e,"debugColumns")),getAllLeafColumns:At(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(h,d)=>{let v=h.flatMap(m=>m.getLeafColumns());return d(v)},It(e,"debugColumns")),getColumn:h=>i._getAllFlatColumnsById()[h]};Object.assign(i,f);for(let h=0;hAt(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(i,o,a){o===void 0&&(o=0);const s=[];for(let u=0;ue._autoResetPageIndex()))}function fse(){return e=>At(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(t,n,r)=>!n.rows.length||t!==!0&&!Object.keys(t??{}).length||!r?n:dse(n),It(e.options,"debugTable"))}function dse(e){const t=[],n=r=>{var i;t.push(r),(i=r.subRows)!=null&&i.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function hse(){return e=>At(()=>[e.getState().grouping,e.getPreGroupedRowModel()],(t,n)=>{if(!n.rows.length||!t.length)return n.rows.forEach(l=>{l.depth=0,l.parentId=void 0}),n;const r=t.filter(l=>e.getColumn(l)),i=[],o={},a=function(l,u,c){if(u===void 0&&(u=0),u>=r.length)return l.map(v=>(v.depth=u,i.push(v),o[v.id]=v,v.subRows&&(v.subRows=a(v.subRows,u+1,v.id)),v));const f=r[u],h=pse(l,f);return Array.from(h.entries()).map((v,m)=>{let[y,_]=v,b=`${f}:${y}`;b=c?`${c}>${b}`:b;const S=a(_,u+1,b);S.forEach(C=>{C.parentId=b});const w=u?bU(_,C=>C.subRows):_,T=SU(e,b,w[0].original,m,u,void 0,c);return Object.assign(T,{groupingColumnId:f,groupingValue:y,subRows:S,leafRows:w,getValue:C=>{if(r.includes(C)){if(T._valuesCache.hasOwnProperty(C))return T._valuesCache[C];if(_[0]){var E;T._valuesCache[C]=(E=_[0].getValue(C))!=null?E:void 0}return T._valuesCache[C]}if(T._groupingValuesCache.hasOwnProperty(C))return T._groupingValuesCache[C];const R=e.getColumn(C),I=R==null?void 0:R.getAggregationFn();if(I)return T._groupingValuesCache[C]=I(C,w,_),T._groupingValuesCache[C]}}),S.forEach(C=>{i.push(C),o[C.id]=C}),T})},s=a(n.rows,0);return s.forEach(l=>{i.push(l),o[l.id]=l}),{rows:s,flatRows:i,rowsById:o}},It(e.options,"debugTable","getGroupedRowModel",()=>{e._queue(()=>{e._autoResetExpanded(),e._autoResetPageIndex()})}))}function pse(e,t){const n=new Map;return e.reduce((r,i)=>{const o=`${i.getGroupingValue(t)}`,a=r.get(o);return a?a.push(i):r.set(o,[i]),r},n)}function vse(){return e=>At(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,i=[],o=r.filter(l=>{var u;return(u=e.getColumn(l.id))==null?void 0:u.getCanSort()}),a={};o.forEach(l=>{const u=e.getColumn(l.id);u&&(a[l.id]={sortUndefined:u.columnDef.sortUndefined,invertSorting:u.columnDef.invertSorting,sortingFn:u.getSortingFn()})});const s=l=>{const u=l.map(c=>({...c}));return u.sort((c,f)=>{for(let d=0;d{var f;i.push(c),(f=c.subRows)!=null&&f.length&&(c.subRows=s(c.subRows))}),u};return{rows:s(n.rows),flatRows:i,rowsById:n.rowsById}},It(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/** * vue-table * * Copyright (c) TanStack * * 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 g0(){return!0}const gse=Symbol("merge-proxy"),mse={get(e,t,n){return t===gse?n:e.get(t)},has(e,t){return e.has(t)},set:g0,deleteProperty:g0,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:g0,deleteProperty:g0}},ownKeys(e){return e.keys()}};function TC(e){return"value"in e?e.value:e}function Tv(){for(var e=arguments.length,t=new Array(e),n=0;n=0;i--){const o=TC(t[i])[r];if(o!==void 0)return o}},has(r){for(let i=t.length-1;i>=0;i--)if(r in TC(t[i]))return!0;return!1},keys(){const r=[];for(let i=0;i()=>typeof e.render=="function"||typeof e.render=="object"?ca(e.render,e.props):e.render});function tk(e){return Tv(e,{data:B(e.data)})}function yse(e){const t=pt(e.data),n=Tv({state:{},onStateChange:()=>{},renderFallbackValue:null,mergeOptions(o,a){return t?{...o,...a}:Tv(o,a)}},t?tk(e):e),r=use(n);if(t){const o=Si(e.data);Bt(o,()=>{r.setState(a=>({...a,data:o.value}))},{immediate:!0})}const i=Me(r.initialState);return iS(()=>{r.setOptions(o=>{var a;const s=new Proxy({},{get:(l,u)=>i.value[u]});return Tv(o,t?tk(e):e,{state:Tv(s,(a=e.state)!=null?a:{}),onStateChange:l=>{l instanceof Function?i.value=l(i.value):i.value=l,e.onStateChange==null||e.onStateChange(l)}})})}),r}const rR="-",_se=e=>{const t=Sse(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(rR);return s[0]===""&&s.length!==1&&s.shift(),MU(s,t)||bse(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},MU=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?MU(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(rR);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},nk=/^\[(.+)\]$/,bse=e=>{if(nk.test(e)){const t=nk.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Sse=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)mA(n[i],r,i,t);return r},mA=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:rk(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(wse(i)){mA(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{mA(a,rk(t,o),n,r)})})},rk=(e,t)=>{let n=e;return t.split(rR).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wse=e=>e.isThemeGetter,xse=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},yA="!",_A=":",Cse=_A.length,Tse=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let a=0,s=0,l=0,u;for(let v=0;vl?u-l:void 0;return{modifiers:o,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:d}};if(t){const i=t+_A,o=r;r=a=>a.startsWith(i)?o(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=o=>n({className:o,parseClassName:i})}return r},Ese=e=>e.endsWith(yA)?e.substring(0,e.length-1):e.startsWith(yA)?e.substring(1):e,Ase=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let o=[];return r.forEach(a=>{a[0]==="["||t[a]?(i.push(...o.sort(),a),o=[]):o.push(a)}),i.push(...o.sort()),i}},Ise=e=>({cache:xse(e.cacheSize),parseClassName:Tse(e),sortModifiers:Ase(e),..._se(e)}),Rse=/\s+/,Pse=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(Rse);let l="";for(let u=s.length-1;u>=0;u-=1){const c=s[u],{isExternal:f,modifiers:h,hasImportantModifier:d,baseClassName:v,maybePostfixModifierPosition:m}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let y=!!m,_=r(y?v.substring(0,m):v);if(!_){if(!y){l=c+(l.length>0?" "+l:l);continue}if(_=r(v),!_){l=c+(l.length>0?" "+l:l);continue}y=!1}const b=o(h).join(":"),S=d?b+yA:b,w=S+_;if(a.includes(w))continue;a.push(w);const T=i(_,y);for(let C=0;C0?" "+l:l)}return l};function Mse(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(c),e());return n=Ise(u),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=Pse(l,n);return i(l,c),c}return function(){return o(Mse.apply(null,arguments))}}const $r=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},DU=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,LU=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Dse=/^\d+\/\d+$/,Lse=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nse=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,kse=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Fse=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$se=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Id=e=>Dse.test(e),on=e=>!!e&&!Number.isNaN(Number(e)),bc=e=>!!e&&Number.isInteger(Number(e)),ik=e=>e.endsWith("%")&&on(e.slice(0,-1)),Zl=e=>Lse.test(e),Bse=()=>!0,Vse=e=>Nse.test(e)&&!kse.test(e),iR=()=>!1,Use=e=>Fse.test(e),Hse=e=>$se.test(e),zse=e=>!lt(e)&&!ut(e),Gse=e=>op(e,FU,iR),lt=e=>DU.test(e),Sc=e=>op(e,$U,Vse),AC=e=>op(e,tle,on),Wse=e=>op(e,NU,iR),jse=e=>op(e,kU,Hse),Xse=e=>op(e,iR,Use),ut=e=>LU.test(e),m0=e=>ap(e,$U),Yse=e=>ap(e,nle),Kse=e=>ap(e,NU),Zse=e=>ap(e,FU),qse=e=>ap(e,kU),Jse=e=>ap(e,rle,!0),op=(e,t,n)=>{const r=DU.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ap=(e,t,n=!1)=>{const r=LU.exec(e);return r?r[1]?t(r[1]):n:!1},NU=e=>e==="position",Qse=new Set(["image","url"]),kU=e=>Qse.has(e),ele=new Set(["length","size","percentage"]),FU=e=>ele.has(e),$U=e=>e==="length",tle=e=>e==="number",nle=e=>e==="family-name",rle=e=>e==="shadow",ile=()=>{const e=$r("color"),t=$r("font"),n=$r("text"),r=$r("font-weight"),i=$r("tracking"),o=$r("leading"),a=$r("breakpoint"),s=$r("container"),l=$r("spacing"),u=$r("radius"),c=$r("shadow"),f=$r("inset-shadow"),h=$r("drop-shadow"),d=$r("blur"),v=$r("perspective"),m=$r("aspect"),y=$r("ease"),_=$r("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],w=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],C=()=>[ut,lt,l],E=()=>[Id,"full","auto",...C()],R=()=>[bc,"none","subgrid",ut,lt],I=()=>["auto",{span:["full",bc,ut,lt]},ut,lt],P=()=>[bc,"auto",ut,lt],M=()=>["auto","min","max","fr",ut,lt],L=()=>["start","end","center","between","around","evenly","stretch","baseline"],k=()=>["start","end","center","stretch"],$=()=>["auto",...C()],W=()=>[Id,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],N=()=>[e,ut,lt],K=()=>[ik,Sc],Y=()=>["","none","full",u,ut,lt],ae=()=>["",on,m0,Sc],ge=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Oe=()=>["","none",d,ut,lt],ke=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ut,lt],Ue=()=>["none",on,ut,lt],Le=()=>["none",on,ut,lt],Xe=()=>[on,ut,lt],fe=()=>[Id,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zl],breakpoint:[Zl],color:[Bse],container:[Zl],"drop-shadow":[Zl],ease:["in","out","in-out"],font:[zse],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zl],shadow:[Zl],spacing:["px",on],text:[Zl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Id,lt,ut,m]}],container:["container"],columns:[{columns:[on,lt,ut,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...S(),lt,ut]}],overflow:[{overflow:w()}],"overflow-x":[{"overflow-x":w()}],"overflow-y":[{"overflow-y":w()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[bc,"auto",ut,lt]}],basis:[{basis:[Id,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[on,Id,"auto","initial","none",lt]}],grow:[{grow:["",on,ut,lt]}],shrink:[{shrink:["",on,ut,lt]}],order:[{order:[bc,"first","last","none",ut,lt]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...k(),"normal"]}],"justify-self":[{"justify-self":["auto",...k()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...k(),"baseline"]}],"align-self":[{self:["auto",...k(),"baseline"]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...k(),"baseline"]}],"place-self":[{"place-self":["auto",...k()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[s,"screen",...W()]}],"min-w":[{"min-w":[s,"screen","none",...W()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...W()]}],h:[{h:["screen",...W()]}],"min-h":[{"min-h":["screen","none",...W()]}],"max-h":[{"max-h":["screen",...W()]}],"font-size":[{text:["base",n,m0,Sc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ut,AC]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ik,lt]}],"font-family":[{font:[Yse,lt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,ut,lt]}],"line-clamp":[{"line-clamp":[on,"none",ut,AC]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",ut,lt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ut,lt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[on,"from-font","auto",ut,Sc]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[on,"auto",ut,lt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ut,lt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ut,lt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...S(),Kse,Wse]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",Zse,Gse]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},bc,ut,lt],radial:["",ut,lt],conic:[bc,ut,lt]},qse,jse]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:Y()}],"rounded-s":[{"rounded-s":Y()}],"rounded-e":[{"rounded-e":Y()}],"rounded-t":[{"rounded-t":Y()}],"rounded-r":[{"rounded-r":Y()}],"rounded-b":[{"rounded-b":Y()}],"rounded-l":[{"rounded-l":Y()}],"rounded-ss":[{"rounded-ss":Y()}],"rounded-se":[{"rounded-se":Y()}],"rounded-ee":[{"rounded-ee":Y()}],"rounded-es":[{"rounded-es":Y()}],"rounded-tl":[{"rounded-tl":Y()}],"rounded-tr":[{"rounded-tr":Y()}],"rounded-br":[{"rounded-br":Y()}],"rounded-bl":[{"rounded-bl":Y()}],"border-w":[{border:ae()}],"border-w-x":[{"border-x":ae()}],"border-w-y":[{"border-y":ae()}],"border-w-s":[{"border-s":ae()}],"border-w-e":[{"border-e":ae()}],"border-w-t":[{"border-t":ae()}],"border-w-r":[{"border-r":ae()}],"border-w-b":[{"border-b":ae()}],"border-w-l":[{"border-l":ae()}],"divide-x":[{"divide-x":ae()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ae()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[on,ut,lt]}],"outline-w":[{outline:["",on,m0,Sc]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",c,Jse,Xse]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",ut,lt,f]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[on,Sc]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":ae()}],"inset-ring-color":[{"inset-ring":N()}],opacity:[{opacity:[on,ut,lt]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none",ut,lt]}],blur:[{blur:Oe()}],brightness:[{brightness:[on,ut,lt]}],contrast:[{contrast:[on,ut,lt]}],"drop-shadow":[{"drop-shadow":["","none",h,ut,lt]}],grayscale:[{grayscale:["",on,ut,lt]}],"hue-rotate":[{"hue-rotate":[on,ut,lt]}],invert:[{invert:["",on,ut,lt]}],saturate:[{saturate:[on,ut,lt]}],sepia:[{sepia:["",on,ut,lt]}],"backdrop-filter":[{"backdrop-filter":["","none",ut,lt]}],"backdrop-blur":[{"backdrop-blur":Oe()}],"backdrop-brightness":[{"backdrop-brightness":[on,ut,lt]}],"backdrop-contrast":[{"backdrop-contrast":[on,ut,lt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",on,ut,lt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[on,ut,lt]}],"backdrop-invert":[{"backdrop-invert":["",on,ut,lt]}],"backdrop-opacity":[{"backdrop-opacity":[on,ut,lt]}],"backdrop-saturate":[{"backdrop-saturate":[on,ut,lt]}],"backdrop-sepia":[{"backdrop-sepia":["",on,ut,lt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ut,lt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[on,"initial",ut,lt]}],ease:[{ease:["linear","initial",y,ut,lt]}],delay:[{delay:[on,ut,lt]}],animate:[{animate:["none",_,ut,lt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,ut,lt]}],"perspective-origin":[{"perspective-origin":ke()}],rotate:[{rotate:Ue()}],"rotate-x":[{"rotate-x":Ue()}],"rotate-y":[{"rotate-y":Ue()}],"rotate-z":[{"rotate-z":Ue()}],scale:[{scale:Le()}],"scale-x":[{"scale-x":Le()}],"scale-y":[{"scale-y":Le()}],"scale-z":[{"scale-z":Le()}],"scale-3d":["scale-3d"],skew:[{skew:Xe()}],"skew-x":[{"skew-x":Xe()}],"skew-y":[{"skew-y":Xe()}],transform:[{transform:[ut,lt,"","none","gpu","cpu"]}],"transform-origin":[{origin:ke()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ut,lt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ut,lt]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[on,m0,Sc,AC]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},bi=Ose(ile),ole={class:"bg-base-100 sticky -top-2 z-10"},ale=["colSpan","onClick"],sle={class:"flex items-center gap-1"},lle=["onClick"],ule=["onDblclick","onMousedown","onTouchstart"],cle=["onClick"],fle={key:0,class:"flex items-center"},dle={class:"ml-1"},hle=tt({__name:"ConnectionTable",setup(e){const{handlerInfo:t}=qI(),n=dt("config/table-column-width",{[ze.Close]:50,[ze.Host]:320,[ze.Chains]:320,[ze.Rule]:200,[ze.Download]:80,[ze.DlSpeed]:80,[ze.Upload]:80,[ze.UlSpeed]:80,[ze.Type]:150,[ze.Process]:150,[ze.SourceIP]:150,[ze.SourcePort]:100,[ze.SniffHost]:200,[ze.Destination]:150,[ze.ConnectTime]:100}),r=xe(()=>U_.value===pS.MANUAL),{t:i}=Qr(),o=[{header:()=>i(ze.Close),enableSorting:!1,id:ze.Close,cell:({row:S})=>ca("button",{class:"btn btn-xs btn-circle",onClick:w=>{const T=S.original;w.stopPropagation(),ww(T.id)}},[ca($f,{class:"h-4 w-4"})])},{header:()=>i(ze.Type),id:ze.Type,accessorFn:N7},{header:()=>i(ze.Process),id:ze.Process,accessorFn:O7},{header:()=>i(ze.Host),id:ze.Host,accessorFn:M7},{header:()=>i(ze.SniffHost),id:ze.SniffHost,accessorFn:S=>S.metadata.sniffHost||"-"},{header:()=>i(ze.Rule),id:ze.Rule,accessorFn:S=>S.rulePayload?`${S.rule}: ${S.rulePayload}`:S.rule},{header:()=>i(ze.Chains),id:ze.Chains,accessorFn:Z2,cell:({row:S})=>{const w=[],T=S.original.chains;return T.forEach((C,E)=>{w.unshift(ca(Uf,{name:C,size:"small"})),Ei(ze.ConnectTime),enableGrouping:!1,id:ze.ConnectTime,accessorFn:S=>Tw(S.start),sortingFn:(S,w)=>po(w.original.start).valueOf()-po(S.original.start).valueOf()},{header:()=>i(ze.DlSpeed),enableGrouping:!1,sortDescFirst:!0,id:ze.DlSpeed,accessorFn:S=>`${Gn(S.downloadSpeed)}/s`,sortingFn:(S,w)=>S.original.downloadSpeed-w.original.downloadSpeed},{header:()=>i(ze.UlSpeed),enableGrouping:!1,sortDescFirst:!0,id:ze.UlSpeed,accessorFn:S=>`${Gn(S.uploadSpeed)}/s`,sortingFn:(S,w)=>S.original.uploadSpeed-w.original.uploadSpeed},{header:()=>i(ze.Download),enableGrouping:!1,sortDescFirst:!0,id:ze.Download,accessorFn:S=>Gn(S.download),sortingFn:(S,w)=>S.original.download-w.original.download},{header:()=>i(ze.Upload),enableGrouping:!1,sortDescFirst:!0,id:ze.Upload,accessorFn:S=>Gn(S.upload),sortingFn:(S,w)=>S.original.upload-w.original.upload},{header:()=>i(ze.SourceIP),id:ze.SourceIP,accessorFn:S=>Vb(S.metadata.sourceIP)},{header:()=>i(ze.SourcePort),id:ze.SourcePort,accessorFn:S=>S.metadata.sourcePort},{header:()=>i(ze.Destination),id:ze.Destination,accessorFn:D7},{header:()=>i(ze.DestinationType),id:ze.DestinationType,accessorFn:L7},{header:()=>i(ze.RemoteAddress),id:ze.RemoteAddress,accessorFn:S=>S.metadata.remoteDestination||"-"}],a=Me([]),s=Me({}),l=dt("config/table-sorting",[]),u=yse({get data(){return Lh.value},columns:o,columnResizeMode:"onChange",columnResizeDirection:"ltr",state:{get columnOrder(){return xu.value},get columnVisibility(){return{...Object.fromEntries(Object.values(ze).map(S=>[S,!1])),...Object.fromEntries(xu.value.map(S=>[S,!0]))}},get grouping(){return a.value},get expanded(){return s.value},get sorting(){return l.value},get columnSizing(){return n.value}},onGroupingChange:S=>{Tu(S)?a.value=S(a.value):a.value=S},onExpandedChange:S=>{Tu(S)&&(s.value=S(s.value))},onSortingChange:S=>{Tu(S)?l.value=S(l.value):l.value=S},onColumnSizingChange:S=>{Tu(S)?n.value=S(n.value):n.value=S},getSortedRowModel:vse(),getGroupedRowModel:hse(),getExpandedRowModel:fse(),getCoreRowModel:cse()}),c=xe(()=>u.getRowModel().rows),f=Me(null),h=xe(()=>({count:c.value.length,getScrollElement:()=>f.value,estimateSize:()=>36,overscan:48})),d=rU(h),v=xe(()=>d.value.getVirtualItems()),m=xe(()=>d.value.getTotalSize()+24),y={[Hg.SMALL]:"table-xs",[Hg.LARGE]:"table-sm"},_=xe(()=>y[V_.value]),b=S=>{S.getIsGrouped()?S.getCanExpand()&&S.getToggleExpandedHandler()():t(S.original)};return(S,w)=>(X(),q("div",{ref_key:"parentRef",ref:f,class:"h-full overflow-y-auto p-2",onTouchstart:w[0]||(w[0]=gr(()=>{},["stop"])),onTouchmove:w[1]||(w[1]=gr(()=>{},["stop"])),onTouchend:w[2]||(w[2]=gr(()=>{},["stop"]))},[D("div",{style:lr({height:`${m.value}px`})},[D("table",{class:mt(["table-zebra table rounded-none shadow-md",_.value,r.value&&"table-fixed"]),style:lr(r.value&&{width:`${B(u).getCenterTotalSize()}px`})},[D("thead",ole,[(X(!0),q(Ge,null,qt(B(u).getHeaderGroups(),T=>(X(),q("tr",{key:T.id},[(X(!0),q(Ge,null,qt(T.headers,C=>(X(),q("th",{key:C.id,colSpan:C.colSpan,class:mt(["relative",C.column.getCanSort()?"cursor-pointer select-none":""]),style:lr(r.value&&{width:`${C.getSize()}px`}),onClick:E=>{var R;return(R=C.column.getToggleSortingHandler())==null?void 0:R(E)}},[D("div",sle,[C.column.getCanGroup()?(X(),q("button",{key:0,class:"cursor-pointer",onClick:gr(()=>C.column.getToggleGroupingHandler()(),["stop"])},[C.column.getIsGrouped()?(X(),_t(B(IL),{key:0,class:"h-4 w-4"})):(X(),_t(B(RL),{key:1,class:"h-4 w-4"}))],8,lle)):it("",!0),C.isPlaceholder?it("",!0):(X(),_t(B(EC),{key:1,render:C.column.columnDef.header,props:C.getContext()},null,8,["render","props"])),C.column.getIsSorted()==="asc"?(X(),_t(B(Pm),{key:2,class:"h-4 w-4"})):it("",!0),C.column.getIsSorted()==="desc"?(X(),_t(B(uS),{key:3,class:"h-4 w-4"})):it("",!0)]),r.value?(X(),q("div",{key:0,onDblclick:()=>C.column.resetSize(),onMousedown:E=>C.getResizeHandler()(E),onTouchstart:E=>C.getResizeHandler()(E),class:"resizer bg-neutral absolute top-0 right-0 h-full w-1 cursor-ew-resize"},null,40,ule)):it("",!0)],14,ale))),128))]))),128))]),D("tbody",null,[(X(!0),q(Ge,null,qt(v.value,(T,C)=>(X(),q("tr",{key:T.key.toString(),style:lr({height:`${T.size}px`,transform:`translateY(${T.start-C*T.size}px)`}),class:"bg-base-100 hover:bg-primary! hover:text-primary-content cursor-pointer",onClick:E=>b(c.value[T.index])},[(X(!0),q(Ge,null,qt(c.value[T.index].getVisibleCells(),E=>(X(),q("td",{key:E.id,class:mt([r.value?"truncate text-sm":B(bi)("text-sm whitespace-nowrap",[B(ze).Download,B(ze).DlSpeed,B(ze).Upload,B(ze).UlSpeed].includes(E.column.id)&&"min-w-20",B(ze).Host===E.column.id&&"max-w-xs truncate",[B(ze).Chains,B(ze).Rule].includes(E.column.id)&&"max-w-xl truncate")])},[E.column.getIsGrouped()?(X(),q(Ge,{key:0},[c.value[T.index].getCanExpand()?(X(),q("div",fle,[c.value[T.index].getIsExpanded()?(X(),_t(B(IL),{key:0,class:"mr-1 inline-block h-4 w-4"})):(X(),_t(B(RL),{key:1,class:"mr-1 inline-block h-4 w-4"})),z(B(EC),{render:E.column.columnDef.cell,props:E.getContext()},null,8,["render","props"]),D("span",dle," ("+ne(c.value[T.index].subRows.length)+") ",1)])):it("",!0)],64)):(X(),_t(B(EC),{key:1,render:E.getIsAggregated()?E.column.columnDef.aggregatedCell:E.column.columnDef.cell,props:E.getContext()},null,8,["render","props"]))],2))),128))],12,cle))),128))])],6)],4)],544))}}),ple={class:"size-full overflow-x-hidden"},vle=tt({__name:"ConnectionsPage",setup(e){return(t,n)=>(X(),q("div",ple,[B(Mo)?(X(),_t(cae,{key:0,class:"overflow-x-hidden p-2"})):(X(),_t(hle,{key:1})),z(Eae)]))}});var uo="top",xa="bottom",Ca="right",co="left",oR="auto",km=[uo,xa,Ca,co],kh="start",Zg="end",gle="clippingParents",BU="viewport",Kp="popper",mle="reference",ok=km.reduce(function(e,t){return e.concat([t+"-"+kh,t+"-"+Zg])},[]),VU=[].concat(km,[oR]).reduce(function(e,t){return e.concat([t,t+"-"+kh,t+"-"+Zg])},[]),yle="beforeRead",_le="read",ble="afterRead",Sle="beforeMain",wle="main",xle="afterMain",Cle="beforeWrite",Tle="write",Ele="afterWrite",Ale=[yle,_le,ble,Sle,wle,xle,Cle,Tle,Ele];function Rs(e){return e?(e.nodeName||"").toLowerCase():null}function Bo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Hf(e){var t=Bo(e).Element;return e instanceof t||e instanceof Element}function ga(e){var t=Bo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function aR(e){if(typeof ShadowRoot>"u")return!1;var t=Bo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ile(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!ga(o)||!Rs(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Rle(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!ga(i)||!Rs(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const UU={name:"applyStyles",enabled:!0,phase:"write",fn:Ile,effect:Rle,requires:["computeStyles"]};function xs(e){return e.split("-")[0]}var If=Math.max,Z1=Math.min,Fh=Math.round;function bA(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function HU(){return!/^((?!chrome|android).)*safari/i.test(bA())}function $h(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ga(e)&&(i=e.offsetWidth>0&&Fh(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Fh(r.height)/e.offsetHeight||1);var a=Hf(e)?Bo(e):window,s=a.visualViewport,l=!HU()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,h=r.height/o;return{width:f,height:h,top:c,right:u+f,bottom:c+h,left:u,x:u,y:c}}function sR(e){var t=$h(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zU(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&aR(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pl(e){return Bo(e).getComputedStyle(e)}function Ple(e){return["table","td","th"].indexOf(Rs(e))>=0}function ac(e){return((Hf(e)?e.ownerDocument:e.document)||window.document).documentElement}function bS(e){return Rs(e)==="html"?e:e.assignedSlot||e.parentNode||(aR(e)?e.host:null)||ac(e)}function ak(e){return!ga(e)||Pl(e).position==="fixed"?null:e.offsetParent}function Mle(e){var t=/firefox/i.test(bA()),n=/Trident/i.test(bA());if(n&&ga(e)){var r=Pl(e);if(r.position==="fixed")return null}var i=bS(e);for(aR(i)&&(i=i.host);ga(i)&&["html","body"].indexOf(Rs(i))<0;){var o=Pl(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Fm(e){for(var t=Bo(e),n=ak(e);n&&Ple(n)&&Pl(n).position==="static";)n=ak(n);return n&&(Rs(n)==="html"||Rs(n)==="body"&&Pl(n).position==="static")?t:n||Mle(e)||t}function lR(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ig(e,t,n){return If(e,Z1(t,n))}function Ole(e,t,n){var r=ig(e,t,n);return r>n?n:r}function GU(){return{top:0,right:0,bottom:0,left:0}}function WU(e){return Object.assign({},GU(),e)}function jU(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Dle=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,WU(typeof t!="number"?t:jU(t,km))};function Lle(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=xs(n.placement),l=lR(s),u=[co,Ca].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=Dle(i.padding,n),h=sR(o),d=l==="y"?uo:co,v=l==="y"?xa:Ca,m=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],y=a[l]-n.rects.reference[l],_=Fm(o),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,S=m/2-y/2,w=f[d],T=b-h[c]-f[v],C=b/2-h[c]/2+S,E=ig(w,C,T),R=l;n.modifiersData[r]=(t={},t[R]=E,t.centerOffset=E-C,t)}}function Nle(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||zU(t.elements.popper,i)&&(t.elements.arrow=i))}const kle={name:"arrow",enabled:!0,phase:"main",fn:Lle,effect:Nle,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Bh(e){return e.split("-")[1]}var Fle={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $le(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Fh(n*i)/i||0,y:Fh(r*i)/i||0}}function sk(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,h=a.x,d=h===void 0?0:h,v=a.y,m=v===void 0?0:v,y=typeof c=="function"?c({x:d,y:m}):{x:d,y:m};d=y.x,m=y.y;var _=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),S=co,w=uo,T=window;if(u){var C=Fm(n),E="clientHeight",R="clientWidth";if(C===Bo(n)&&(C=ac(n),Pl(C).position!=="static"&&s==="absolute"&&(E="scrollHeight",R="scrollWidth")),C=C,i===uo||(i===co||i===Ca)&&o===Zg){w=xa;var I=f&&C===T&&T.visualViewport?T.visualViewport.height:C[E];m-=I-r.height,m*=l?1:-1}if(i===co||(i===uo||i===xa)&&o===Zg){S=Ca;var P=f&&C===T&&T.visualViewport?T.visualViewport.width:C[R];d-=P-r.width,d*=l?1:-1}}var M=Object.assign({position:s},u&&Fle),L=c===!0?$le({x:d,y:m},Bo(n)):{x:d,y:m};if(d=L.x,m=L.y,l){var k;return Object.assign({},M,(k={},k[w]=b?"0":"",k[S]=_?"0":"",k.transform=(T.devicePixelRatio||1)<=1?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",k))}return Object.assign({},M,(t={},t[w]=b?m+"px":"",t[S]=_?d+"px":"",t.transform="",t))}function Ble(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:xs(t.placement),variation:Bh(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,sk(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,sk(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vle={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ble,data:{}};var y0={passive:!0};function Ule(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Bo(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,y0)}),s&&l.addEventListener("resize",n.update,y0),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,y0)}),s&&l.removeEventListener("resize",n.update,y0)}}const Hle={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ule,data:{}};var zle={left:"right",right:"left",bottom:"top",top:"bottom"};function j_(e){return e.replace(/left|right|bottom|top/g,function(t){return zle[t]})}var Gle={start:"end",end:"start"};function lk(e){return e.replace(/start|end/g,function(t){return Gle[t]})}function uR(e){var t=Bo(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function cR(e){return $h(ac(e)).left+uR(e).scrollLeft}function Wle(e,t){var n=Bo(e),r=ac(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=HU();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+cR(e),y:l}}function jle(e){var t,n=ac(e),r=uR(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=If(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=If(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+cR(e),l=-r.scrollTop;return Pl(i||n).direction==="rtl"&&(s+=If(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function fR(e){var t=Pl(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function XU(e){return["html","body","#document"].indexOf(Rs(e))>=0?e.ownerDocument.body:ga(e)&&fR(e)?e:XU(bS(e))}function og(e,t){var n;t===void 0&&(t=[]);var r=XU(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Bo(r),a=i?[o].concat(o.visualViewport||[],fR(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(og(bS(a)))}function SA(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Xle(e,t){var n=$h(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function uk(e,t,n){return t===BU?SA(Wle(e,n)):Hf(t)?Xle(t,n):SA(jle(ac(e)))}function Yle(e){var t=og(bS(e)),n=["absolute","fixed"].indexOf(Pl(e).position)>=0,r=n&&ga(e)?Fm(e):e;return Hf(r)?t.filter(function(i){return Hf(i)&&zU(i,r)&&Rs(i)!=="body"}):[]}function Kle(e,t,n,r){var i=t==="clippingParents"?Yle(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=uk(e,u,r);return l.top=If(c.top,l.top),l.right=Z1(c.right,l.right),l.bottom=Z1(c.bottom,l.bottom),l.left=If(c.left,l.left),l},uk(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function YU(e){var t=e.reference,n=e.element,r=e.placement,i=r?xs(r):null,o=r?Bh(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case uo:l={x:a,y:t.y-n.height};break;case xa:l={x:a,y:t.y+t.height};break;case Ca:l={x:t.x+t.width,y:s};break;case co:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?lR(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case kh:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Zg:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function qg(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?gle:s,u=n.rootBoundary,c=u===void 0?BU:u,f=n.elementContext,h=f===void 0?Kp:f,d=n.altBoundary,v=d===void 0?!1:d,m=n.padding,y=m===void 0?0:m,_=WU(typeof y!="number"?y:jU(y,km)),b=h===Kp?mle:Kp,S=e.rects.popper,w=e.elements[v?b:h],T=Kle(Hf(w)?w:w.contextElement||ac(e.elements.popper),l,c,a),C=$h(e.elements.reference),E=YU({reference:C,element:S,placement:i}),R=SA(Object.assign({},S,E)),I=h===Kp?R:C,P={top:T.top-I.top+_.top,bottom:I.bottom-T.bottom+_.bottom,left:T.left-I.left+_.left,right:I.right-T.right+_.right},M=e.modifiersData.offset;if(h===Kp&&M){var L=M[i];Object.keys(P).forEach(function(k){var $=[Ca,xa].indexOf(k)>=0?1:-1,W=[uo,xa].indexOf(k)>=0?"y":"x";P[k]+=L[W]*$})}return P}function Zle(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?VU:l,c=Bh(r),f=c?s?ok:ok.filter(function(v){return Bh(v)===c}):km,h=f.filter(function(v){return u.indexOf(v)>=0});h.length===0&&(h=f);var d=h.reduce(function(v,m){return v[m]=qg(e,{placement:m,boundary:i,rootBoundary:o,padding:a})[xs(m)],v},{});return Object.keys(d).sort(function(v,m){return d[v]-d[m]})}function qle(e){if(xs(e)===oR)return[];var t=j_(e);return[lk(e),t,lk(t)]}function Jle(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,v=d===void 0?!0:d,m=n.allowedAutoPlacements,y=t.options.placement,_=xs(y),b=_===y,S=l||(b||!v?[j_(y)]:qle(y)),w=[y].concat(S).reduce(function(Ue,Le){return Ue.concat(xs(Le)===oR?Zle(t,{placement:Le,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:m}):Le)},[]),T=t.rects.reference,C=t.rects.popper,E=new Map,R=!0,I=w[0],P=0;P=0,W=$?"width":"height",N=qg(t,{placement:M,boundary:c,rootBoundary:f,altBoundary:h,padding:u}),K=$?k?Ca:co:k?xa:uo;T[W]>C[W]&&(K=j_(K));var Y=j_(K),ae=[];if(o&&ae.push(N[L]<=0),s&&ae.push(N[K]<=0,N[Y]<=0),ae.every(function(Ue){return Ue})){I=M,R=!1;break}E.set(M,ae)}if(R)for(var ge=v?3:1,ye=function(Le){var Xe=w.find(function(fe){var Ae=E.get(fe);if(Ae)return Ae.slice(0,Le).every(function(Se){return Se})});if(Xe)return I=Xe,"break"},Oe=ge;Oe>0;Oe--){var ke=ye(Oe);if(ke==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const Qle={name:"flip",enabled:!0,phase:"main",fn:Jle,requiresIfExists:["offset"],data:{_skip:!1}};function ck(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fk(e){return[uo,Ca,xa,co].some(function(t){return e[t]>=0})}function eue(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=qg(t,{elementContext:"reference"}),s=qg(t,{altBoundary:!0}),l=ck(a,r),u=ck(s,i,o),c=fk(l),f=fk(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const tue={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eue};function nue(e,t,n){var r=xs(e),i=[co,uo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[co,Ca].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function rue(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=VU.reduce(function(c,f){return c[f]=nue(f,t.rects,o),c},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const iue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rue};function oue(e){var t=e.state,n=e.name;t.modifiersData[n]=YU({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const aue={name:"popperOffsets",enabled:!0,phase:"read",fn:oue,data:{}};function sue(e){return e==="x"?"y":"x"}function lue(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,h=n.tether,d=h===void 0?!0:h,v=n.tetherOffset,m=v===void 0?0:v,y=qg(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=xs(t.placement),b=Bh(t.placement),S=!b,w=lR(_),T=sue(w),C=t.modifiersData.popperOffsets,E=t.rects.reference,R=t.rects.popper,I=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,P=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(C){if(o){var k,$=w==="y"?uo:co,W=w==="y"?xa:Ca,N=w==="y"?"height":"width",K=C[w],Y=K+y[$],ae=K-y[W],ge=d?-R[N]/2:0,ye=b===kh?E[N]:R[N],Oe=b===kh?-R[N]:-E[N],ke=t.elements.arrow,Ue=d&&ke?sR(ke):{width:0,height:0},Le=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:GU(),Xe=Le[$],fe=Le[W],Ae=ig(0,E[N],Ue[N]),Se=S?E[N]/2-ge-Ae-Xe-P.mainAxis:ye-Ae-Xe-P.mainAxis,Te=S?-E[N]/2+ge+Ae+fe+P.mainAxis:Oe+Ae+fe+P.mainAxis,Ne=t.elements.arrow&&Fm(t.elements.arrow),Be=Ne?w==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,H=(k=M==null?void 0:M[w])!=null?k:0,G=K+Se-H-Be,ue=K+Te-H,we=ig(d?Z1(Y,G):Y,K,d?If(ae,ue):ae);C[w]=we,L[w]=we-K}if(s){var ve,U=w==="x"?uo:co,j=w==="x"?xa:Ca,Q=C[T],de=T==="y"?"height":"width",_e=Q+y[U],De=Q-y[j],J=[uo,co].indexOf(_)!==-1,he=(ve=M==null?void 0:M[T])!=null?ve:0,Ve=J?_e:Q-E[de]-R[de]-he+P.altAxis,Ze=J?Q+E[de]+R[de]-he-P.altAxis:De,St=d&&J?Ole(Ve,Q,Ze):ig(d?Ve:_e,Q,d?Ze:De);C[T]=St,L[T]=St-Q}t.modifiersData[r]=L}}const uue={name:"preventOverflow",enabled:!0,phase:"main",fn:lue,requiresIfExists:["offset"]};function cue(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fue(e){return e===Bo(e)||!ga(e)?uR(e):cue(e)}function due(e){var t=e.getBoundingClientRect(),n=Fh(t.width)/e.offsetWidth||1,r=Fh(t.height)/e.offsetHeight||1;return n!==1||r!==1}function hue(e,t,n){n===void 0&&(n=!1);var r=ga(t),i=ga(t)&&due(t),o=ac(t),a=$h(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Rs(t)!=="body"||fR(o))&&(s=fue(t)),ga(t)?(l=$h(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=cR(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function pue(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function vue(e){var t=pue(e);return Ale.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function gue(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function mue(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var dk={placement:"bottom",modifiers:[],strategy:"absolute"};function hk(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function QU(e,t){return typeof e=="function"?e.apply(void 0,t):e}function pk(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function xue(e){return e.split(/\s+/).filter(Boolean)}function eh(e){return[].concat(e)}function vk(e,t){e.indexOf(t)===-1&&e.push(t)}function Cue(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Tue(e){return e.split("-")[0]}function q1(e){return[].slice.call(e)}function gk(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function ag(){return document.createElement("div")}function SS(e){return["Element","Fragment"].some(function(t){return dR(e,t)})}function Eue(e){return dR(e,"NodeList")}function Aue(e){return dR(e,"MouseEvent")}function Iue(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Rue(e){return SS(e)?[e]:Eue(e)?q1(e):Array.isArray(e)?e:q1(document.querySelectorAll(e))}function RC(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function mk(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Pue(e){var t,n=eh(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Mue(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,u=Tue(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,h=u==="top"?c.bottom.y:0,d=u==="right"?c.left.x:0,v=u==="left"?c.right.x:0,m=o.top-r+f>l,y=r-o.bottom-h>l,_=o.left-n+d>l,b=n-o.right-v>l;return m||y||_||b})}function PC(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function yk(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var gs={isTouch:!1},_k=0;function Oue(){gs.isTouch||(gs.isTouch=!0,window.performance&&document.addEventListener("mousemove",eH))}function eH(){var e=performance.now();e-_k<20&&(gs.isTouch=!1,document.removeEventListener("mousemove",eH)),_k=e}function Due(){var e=document.activeElement;if(Iue(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Lue(){document.addEventListener("touchstart",Oue,Zc),window.addEventListener("blur",Due)}var Nue=typeof window<"u"&&typeof document<"u",kue=Nue?!!window.msCrypto:!1,Fue={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$ue={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ya=Object.assign({appendTo:JU,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Fue,$ue),Bue=Object.keys(Ya),Vue=function(t){var n=Object.keys(t);n.forEach(function(r){Ya[r]=t[r]})};function tH(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=Ya[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function Uue(e,t){var n=t?Object.keys(tH(Object.assign({},Ya,{plugins:t}))):Bue,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function bk(e,t){var n=Object.assign({},t,{content:QU(t.content,[e])},t.ignoreAttributes?{}:Uue(e,t.plugins));return n.aria=Object.assign({},Ya.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var Hue=function(){return"innerHTML"};function wA(e,t){e[Hue()]=t}function Sk(e){var t=ag();return e===!0?t.className=ZU:(t.className=qU,SS(e)?t.appendChild(e):wA(t,e)),t}function wk(e,t){SS(t.content)?(wA(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?wA(e,t.content):e.textContent=t.content)}function xA(e){var t=e.firstElementChild,n=q1(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(KU)}),arrow:n.find(function(r){return r.classList.contains(ZU)||r.classList.contains(qU)}),backdrop:n.find(function(r){return r.classList.contains(wue)})}}function nH(e){var t=ag(),n=ag();n.className=Sue,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ag();r.className=KU,r.setAttribute("data-state","hidden"),wk(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=xA(t),l=s.box,u=s.content,c=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&wk(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(l.removeChild(c),l.appendChild(Sk(a.arrow))):l.appendChild(Sk(a.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:i}}nH.$$tippy=!0;var zue=1,_0=[],MC=[];function Gue(e,t){var n=bk(e,Object.assign({},Ya,tH(gk(t)))),r,i,o,a=!1,s=!1,l=!1,u=!1,c,f,h,d=[],v=pk(G,n.interactiveDebounce),m,y=zue++,_=null,b=Cue(n.plugins),S={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:y,reference:e,popper:ag(),popperInstance:_,props:n,state:S,plugins:b,clearDelayTimeouts:Ve,setProps:Ze,setContent:St,show:re,hide:se,hideWithInteractivity:pe,enable:J,disable:he,unmount:Ee,destroy:We};if(!n.render)return w;var T=n.render(w),C=T.popper,E=T.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+w.id,w.popper=C,e._tippy=w,C._tippy=w;var R=b.map(function(oe){return oe.fn(w)}),I=e.hasAttribute("aria-expanded");return Ne(),ge(),K(),Y("onCreate",[w]),n.showOnCreate&&_e(),C.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&$().addEventListener("mousemove",v)}),w;function P(){var oe=w.props.touch;return Array.isArray(oe)?oe:[oe,0]}function M(){return P()[0]==="hold"}function L(){var oe;return!!((oe=w.props.render)!=null&&oe.$$tippy)}function k(){return m||e}function $(){var oe=k().parentNode;return oe?Pue(oe):document}function W(){return xA(C)}function N(oe){return w.state.isMounted&&!w.state.isVisible||gs.isTouch||c&&c.type==="focus"?0:IC(w.props.delay,oe?0:1,Ya.delay)}function K(oe){oe===void 0&&(oe=!1),C.style.pointerEvents=w.props.interactive&&!oe?"":"none",C.style.zIndex=""+w.props.zIndex}function Y(oe,Ie,$e){if($e===void 0&&($e=!0),R.forEach(function(je){je[oe]&&je[oe].apply(je,Ie)}),$e){var nt;(nt=w.props)[oe].apply(nt,Ie)}}function ae(){var oe=w.props.aria;if(oe.content){var Ie="aria-"+oe.content,$e=C.id,nt=eh(w.props.triggerTarget||e);nt.forEach(function(je){var Ye=je.getAttribute(Ie);if(w.state.isVisible)je.setAttribute(Ie,Ye?Ye+" "+$e:$e);else{var rt=Ye&&Ye.replace($e,"").trim();rt?je.setAttribute(Ie,rt):je.removeAttribute(Ie)}})}}function ge(){if(!(I||!w.props.aria.expanded)){var oe=eh(w.props.triggerTarget||e);oe.forEach(function(Ie){w.props.interactive?Ie.setAttribute("aria-expanded",w.state.isVisible&&Ie===k()?"true":"false"):Ie.removeAttribute("aria-expanded")})}}function ye(){$().removeEventListener("mousemove",v),_0=_0.filter(function(oe){return oe!==v})}function Oe(oe){if(!(gs.isTouch&&(l||oe.type==="mousedown"))){var Ie=oe.composedPath&&oe.composedPath()[0]||oe.target;if(!(w.props.interactive&&yk(C,Ie))){if(eh(w.props.triggerTarget||e).some(function($e){return yk($e,Ie)})){if(gs.isTouch||w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else Y("onClickOutside",[w,oe]);w.props.hideOnClick===!0&&(w.clearDelayTimeouts(),w.hide(),s=!0,setTimeout(function(){s=!1}),w.state.isMounted||Xe())}}}function ke(){l=!0}function Ue(){l=!1}function Le(){var oe=$();oe.addEventListener("mousedown",Oe,!0),oe.addEventListener("touchend",Oe,Zc),oe.addEventListener("touchstart",Ue,Zc),oe.addEventListener("touchmove",ke,Zc)}function Xe(){var oe=$();oe.removeEventListener("mousedown",Oe,!0),oe.removeEventListener("touchend",Oe,Zc),oe.removeEventListener("touchstart",Ue,Zc),oe.removeEventListener("touchmove",ke,Zc)}function fe(oe,Ie){Se(oe,function(){!w.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&Ie()})}function Ae(oe,Ie){Se(oe,Ie)}function Se(oe,Ie){var $e=W().box;function nt(je){je.target===$e&&(PC($e,"remove",nt),Ie())}if(oe===0)return Ie();PC($e,"remove",f),PC($e,"add",nt),f=nt}function Te(oe,Ie,$e){$e===void 0&&($e=!1);var nt=eh(w.props.triggerTarget||e);nt.forEach(function(je){je.addEventListener(oe,Ie,$e),d.push({node:je,eventType:oe,handler:Ie,options:$e})})}function Ne(){M()&&(Te("touchstart",H,{passive:!0}),Te("touchend",ue,{passive:!0})),xue(w.props.trigger).forEach(function(oe){if(oe!=="manual")switch(Te(oe,H),oe){case"mouseenter":Te("mouseleave",ue);break;case"focus":Te(kue?"focusout":"blur",we);break;case"focusin":Te("focusout",we);break}})}function Be(){d.forEach(function(oe){var Ie=oe.node,$e=oe.eventType,nt=oe.handler,je=oe.options;Ie.removeEventListener($e,nt,je)}),d=[]}function H(oe){var Ie,$e=!1;if(!(!w.state.isEnabled||ve(oe)||s)){var nt=((Ie=c)==null?void 0:Ie.type)==="focus";c=oe,m=oe.currentTarget,ge(),!w.state.isVisible&&Aue(oe)&&_0.forEach(function(je){return je(oe)}),oe.type==="click"&&(w.props.trigger.indexOf("mouseenter")<0||a)&&w.props.hideOnClick!==!1&&w.state.isVisible?$e=!0:_e(oe),oe.type==="click"&&(a=!$e),$e&&!nt&&De(oe)}}function G(oe){var Ie=oe.target,$e=k().contains(Ie)||C.contains(Ie);if(!(oe.type==="mousemove"&&$e)){var nt=de().concat(C).map(function(je){var Ye,rt=je._tippy,Ot=(Ye=rt.popperInstance)==null?void 0:Ye.state;return Ot?{popperRect:je.getBoundingClientRect(),popperState:Ot,props:n}:null}).filter(Boolean);Mue(nt,oe)&&(ye(),De(oe))}}function ue(oe){var Ie=ve(oe)||w.props.trigger.indexOf("click")>=0&&a;if(!Ie){if(w.props.interactive){w.hideWithInteractivity(oe);return}De(oe)}}function we(oe){w.props.trigger.indexOf("focusin")<0&&oe.target!==k()||w.props.interactive&&oe.relatedTarget&&C.contains(oe.relatedTarget)||De(oe)}function ve(oe){return gs.isTouch?M()!==oe.type.indexOf("touch")>=0:!1}function U(){j();var oe=w.props,Ie=oe.popperOptions,$e=oe.placement,nt=oe.offset,je=oe.getReferenceClientRect,Ye=oe.moveTransition,rt=L()?xA(C).arrow:null,Ot=je?{getBoundingClientRect:je,contextElement:je.contextElement||k()}:e,Lt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Mn){var yr=Mn.state;if(L()){var ad=W(),Fl=ad.box;["placement","reference-hidden","escaped"].forEach(function(ns){ns==="placement"?Fl.setAttribute("data-placement",yr.placement):yr.attributes.popper["data-popper-"+ns]?Fl.setAttribute("data-"+ns,""):Fl.removeAttribute("data-"+ns)}),yr.attributes.popper={}}}},kn=[{name:"offset",options:{offset:nt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ye}},Lt];L()&&rt&&kn.push({name:"arrow",options:{element:rt,padding:3}}),kn.push.apply(kn,(Ie==null?void 0:Ie.modifiers)||[]),w.popperInstance=bue(Ot,C,Object.assign({},Ie,{placement:$e,onFirstUpdate:h,modifiers:kn}))}function j(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function Q(){var oe=w.props.appendTo,Ie,$e=k();w.props.interactive&&oe===JU||oe==="parent"?Ie=$e.parentNode:Ie=QU(oe,[$e]),Ie.contains(C)||Ie.appendChild(C),w.state.isMounted=!0,U()}function de(){return q1(C.querySelectorAll("[data-tippy-root]"))}function _e(oe){w.clearDelayTimeouts(),oe&&Y("onTrigger",[w,oe]),Le();var Ie=N(!0),$e=P(),nt=$e[0],je=$e[1];gs.isTouch&&nt==="hold"&&je&&(Ie=je),Ie?r=setTimeout(function(){w.show()},Ie):w.show()}function De(oe){if(w.clearDelayTimeouts(),Y("onUntrigger",[w,oe]),!w.state.isVisible){Xe();return}if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(oe.type)>=0&&a)){var Ie=N(!1);Ie?i=setTimeout(function(){w.state.isVisible&&w.hide()},Ie):o=requestAnimationFrame(function(){w.hide()})}}function J(){w.state.isEnabled=!0}function he(){w.hide(),w.state.isEnabled=!1}function Ve(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Ze(oe){if(!w.state.isDestroyed){Y("onBeforeUpdate",[w,oe]),Be();var Ie=w.props,$e=bk(e,Object.assign({},Ie,gk(oe),{ignoreAttributes:!0}));w.props=$e,Ne(),Ie.interactiveDebounce!==$e.interactiveDebounce&&(ye(),v=pk(G,$e.interactiveDebounce)),Ie.triggerTarget&&!$e.triggerTarget?eh(Ie.triggerTarget).forEach(function(nt){nt.removeAttribute("aria-expanded")}):$e.triggerTarget&&e.removeAttribute("aria-expanded"),ge(),K(),E&&E(Ie,$e),w.popperInstance&&(U(),de().forEach(function(nt){requestAnimationFrame(nt._tippy.popperInstance.forceUpdate)})),Y("onAfterUpdate",[w,oe])}}function St(oe){w.setProps({content:oe})}function re(){var oe=w.state.isVisible,Ie=w.state.isDestroyed,$e=!w.state.isEnabled,nt=gs.isTouch&&!w.props.touch,je=IC(w.props.duration,0,Ya.duration);if(!(oe||Ie||$e||nt)&&!k().hasAttribute("disabled")&&(Y("onShow",[w],!1),w.props.onShow(w)!==!1)){if(w.state.isVisible=!0,L()&&(C.style.visibility="visible"),K(),Le(),w.state.isMounted||(C.style.transition="none"),L()){var Ye=W(),rt=Ye.box,Ot=Ye.content;RC([rt,Ot],0)}h=function(){var kn;if(!(!w.state.isVisible||u)){if(u=!0,C.offsetHeight,C.style.transition=w.props.moveTransition,L()&&w.props.animation){var Aa=W(),Mn=Aa.box,yr=Aa.content;RC([Mn,yr],je),mk([Mn,yr],"visible")}ae(),ge(),vk(MC,w),(kn=w.popperInstance)==null||kn.forceUpdate(),Y("onMount",[w]),w.props.animation&&L()&&Ae(je,function(){w.state.isShown=!0,Y("onShown",[w])})}},Q()}}function se(){var oe=!w.state.isVisible,Ie=w.state.isDestroyed,$e=!w.state.isEnabled,nt=IC(w.props.duration,1,Ya.duration);if(!(oe||Ie||$e)&&(Y("onHide",[w],!1),w.props.onHide(w)!==!1)){if(w.state.isVisible=!1,w.state.isShown=!1,u=!1,a=!1,L()&&(C.style.visibility="hidden"),ye(),Xe(),K(!0),L()){var je=W(),Ye=je.box,rt=je.content;w.props.animation&&(RC([Ye,rt],nt),mk([Ye,rt],"hidden"))}ae(),ge(),w.props.animation?L()&&fe(nt,w.unmount):w.unmount()}}function pe(oe){$().addEventListener("mousemove",v),vk(_0,v),v(oe)}function Ee(){w.state.isVisible&&w.hide(),w.state.isMounted&&(j(),de().forEach(function(oe){oe._tippy.unmount()}),C.parentNode&&C.parentNode.removeChild(C),MC=MC.filter(function(oe){return oe!==w}),w.state.isMounted=!1,Y("onHidden",[w]))}function We(){w.state.isDestroyed||(w.clearDelayTimeouts(),w.unmount(),Be(),delete e._tippy,w.state.isDestroyed=!0,Y("onDestroy",[w]))}}function $m(e,t){t===void 0&&(t={});var n=Ya.plugins.concat(t.plugins||[]);Lue();var r=Object.assign({},t,{plugins:n}),i=Rue(e),o=i.reduce(function(a,s){var l=s&&Gue(s,r);return l&&a.push(l),a},[]);return SS(e)?o[0]:o}$m.defaultProps=Ya;$m.setDefaultProps=Vue;$m.currentInput=gs;Object.assign({},UU,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});$m.setDefaultProps({render:nH});let OC,Da=null;const Ls=()=>(OC||(OC=document.getElementById("app-content")),{showTip:(n,r,i={})=>{Da==null||Da.destroy(),Da=$m(n.target,{content:r,placement:"top",animation:"scale",appendTo:OC,allowHTML:!0,showOnCreate:!0,onHidden:()=>{Da==null||Da.destroy(),Da=null},...i})},hideTip:()=>{Da==null||Da.hide()}}),Wue={class:"relative"},jue=["placeholder","name","autocomplete"],Cr=tt({__name:"TextInput",props:M1({placeholder:{},beforeClose:{type:Boolean},name:{},autocomplete:{},clearable:{type:Boolean},menus:{}},{modelValue:{},modelModifiers:{}}),emits:M1(["input","change"],["update:modelValue"]),setup(e,{emit:t}){const n=t,r=e,i=oS(e,"modelValue"),o=()=>{i.value=""},{showTip:a,hideTip:s}=Ls(),l=u=>{var f;if(!((f=r.menus)!=null&&f.length))return;const c=document.createElement("div");for(const h of r.menus){const d=document.createElement("div");d.className="cursor-pointer p-1 transition-transform hover:scale-105 hover:text-primary",d.textContent=h,d.addEventListener("click",()=>{i.value=h,s()}),c.appendChild(d)}a(u,c,{theme:"base",placement:"bottom-start",trigger:"click",interactive:!0,arrow:!1})};return(u,c)=>(X(),q("div",Wue,[u.beforeClose&&u.clearable?(X(),_t(B($f),{key:0,class:"absolute top-2 right-2 z-10 h-4 w-3 cursor-pointer hover:scale-125",onClick:o})):it("",!0),gt(D("input",{"onUpdate:modelValue":c[0]||(c[0]=f=>i.value=f),type:"text",class:mt(["input input-sm join-item w-full",{"pr-6":u.clearable}]),placeholder:u.placeholder||"",name:u.name||"",autocomplete:u.autocomplete||"",onClick:l,onInput:c[1]||(c[1]=f=>(n("input",i.value||""),B(s)())),onChange:c[2]||(c[2]=f=>n("change",i.value||""))},null,42,jue),[[vi,i.value]]),!u.beforeClose&&u.clearable?(X(),_t(B($f),{key:1,class:"absolute top-2 right-2 z-10 h-4 w-3 cursor-pointer hover:scale-125",onClick:o})):it("",!0)]))}});var X_={exports:{}},DC={exports:{}},LC={};/** * @vue/compiler-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Vh=Symbol(""),mh=Symbol(""),wS=Symbol(""),Jg=Symbol(""),hR=Symbol(""),ju=Symbol(""),pR=Symbol(""),vR=Symbol(""),xS=Symbol(""),CS=Symbol(""),sp=Symbol(""),TS=Symbol(""),gR=Symbol(""),ES=Symbol(""),AS=Symbol(""),IS=Symbol(""),RS=Symbol(""),PS=Symbol(""),MS=Symbol(""),mR=Symbol(""),yR=Symbol(""),Bm=Symbol(""),Qg=Symbol(""),OS=Symbol(""),DS=Symbol(""),Uh=Symbol(""),lp=Symbol(""),LS=Symbol(""),J1=Symbol(""),rH=Symbol(""),Q1=Symbol(""),em=Symbol(""),iH=Symbol(""),oH=Symbol(""),NS=Symbol(""),aH=Symbol(""),sH=Symbol(""),kS=Symbol(""),_R=Symbol(""),zf={[Vh]:"Fragment",[mh]:"Teleport",[wS]:"Suspense",[Jg]:"KeepAlive",[hR]:"BaseTransition",[ju]:"openBlock",[pR]:"createBlock",[vR]:"createElementBlock",[xS]:"createVNode",[CS]:"createElementVNode",[sp]:"createCommentVNode",[TS]:"createTextVNode",[gR]:"createStaticVNode",[ES]:"resolveComponent",[AS]:"resolveDynamicComponent",[IS]:"resolveDirective",[RS]:"resolveFilter",[PS]:"withDirectives",[MS]:"renderList",[mR]:"renderSlot",[yR]:"createSlots",[Bm]:"toDisplayString",[Qg]:"mergeProps",[OS]:"normalizeClass",[DS]:"normalizeStyle",[Uh]:"normalizeProps",[lp]:"guardReactiveProps",[LS]:"toHandlers",[J1]:"camelize",[rH]:"capitalize",[Q1]:"toHandlerKey",[em]:"setBlockTracking",[iH]:"pushScopeId",[oH]:"popScopeId",[NS]:"withCtx",[aH]:"unref",[sH]:"isRef",[kS]:"withMemo",[_R]:"isMemoSame"};function lH(e){Object.getOwnPropertySymbols(e).forEach(t=>{zf[t]=e[t]})}const Xue={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Yue={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},Kue={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Zue={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Dr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function uH(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Dr}}function Hh(e,t,n,r,i,o,a,s=!1,l=!1,u=!1,c=Dr){return e&&(s?(e.helper(ju),e.helper(jf(e.inSSR,u))):e.helper(Wf(e.inSSR,u)),a&&e.helper(PS)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:c}}function Fu(e,t=Dr){return{type:17,loc:t,elements:e}}function Oo(e,t=Dr){return{type:15,loc:t,properties:e}}function cr(e,t){return{type:16,loc:Dr,key:Mt(e)?$t(e,!0):e,value:t}}function $t(e,t=!1,n=Dr,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function que(e,t){return{type:5,loc:t,content:Mt(e)?$t(e,!1,t):e}}function ma(e,t=Dr){return{type:8,loc:t,children:e}}function br(e,t=[],n=Dr){return{type:14,loc:n,callee:e,arguments:t}}function Gf(e,t=void 0,n=!1,r=!1,i=Dr){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function eb(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Dr}}function cH(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Dr}}function fH(e){return{type:21,body:e,loc:Dr}}function Jue(e){return{type:22,elements:e,loc:Dr}}function Que(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Dr}}function ece(e,t){return{type:24,left:e,right:t,loc:Dr}}function tce(e){return{type:25,expressions:e,loc:Dr}}function nce(e){return{type:26,returns:e,loc:Dr}}function Wf(e,t){return e||t?xS:CS}function jf(e,t){return e||t?pR:vR}function FS(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Wf(r,e.isComponent)),t(ju),t(jf(r,e.isComponent)))}const xk=new Uint8Array([123,123]),Ck=new Uint8Array([125,125]);function Tk(e){return e>=97&&e<=122||e>=65&&e<=90}function Po(e){return e===32||e===10||e===9||e===12||e===13}function ql(e){return e===47||e===62||Po(e)}function tb(e){const t=new Uint8Array(e.length);for(let n=0;n=0;i--){const o=this.newlines[i];if(t>o){n=i+2,r=t-o;break}}return{column:r,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?ql(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Po(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===ii.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const ice={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},oce={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with