mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-27 19:19:07 +00:00
16 lines
383 KiB
JavaScript
16 lines
383 KiB
JavaScript
(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 s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).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)}})();function Ds(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}function An(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=je(r)?np(r):An(r);if(i)for(const o in i)t[o]=i[o]}return t}else{if(je(e))return e;if(we(e))return e}}const Zf=/;(?![^(]*\))/g,ep=/:([^]+)/,tp=/\/\*.*?\*\//gs;function np(e){const t={};return e.replace(tp,"").split(Zf).forEach(n=>{if(n){const r=n.split(ep);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Oe(e){let t="";if(je(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=Oe(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function rp(e){if(!e)return null;let{class:t,style:n}=e;return t&&!je(t)&&(e.class=Oe(t)),n&&(e.style=An(n)),e}const ip="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",op=Ds(ip);function zc(e){return!!e||e===""}const Tt=e=>je(e)?e:e==null?"":X(e)||we(e)&&(e.toString===Wc||!te(e.toString))?JSON.stringify(e,Vc,2):String(e),Vc=(e,t)=>t&&t.__v_isRef?Vc(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Uc(t)?{[`Set(${t.size})`]:[...t.values()]}:we(t)&&!X(t)&&!qc(t)?String(t):t,xe={},Hn=[],ht=()=>{},sp=()=>!1,ap=/^on[^a-z]/,no=e=>ap.test(e),Fs=e=>e.startsWith("onUpdate:"),Le=Object.assign,Hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lp=Object.prototype.hasOwnProperty,ue=(e,t)=>lp.call(e,t),X=Array.isArray,zn=e=>Gr(e)==="[object Map]",Uc=e=>Gr(e)==="[object Set]",cp=e=>Gr(e)==="[object RegExp]",te=e=>typeof e=="function",je=e=>typeof e=="string",zs=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Kc=e=>we(e)&&te(e.then)&&te(e.catch),Wc=Object.prototype.toString,Gr=e=>Wc.call(e),up=e=>Gr(e).slice(8,-1),qc=e=>Gr(e)==="[object Object]",Vs=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vi=Ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ro=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},dp=/-(\w)/g,jt=ro(e=>e.replace(dp,(t,n)=>n?n.toUpperCase():"")),fp=/\B([A-Z])/g,Rn=ro(e=>e.replace(fp,"-$1").toLowerCase()),io=ro(e=>e.charAt(0).toUpperCase()+e.slice(1)),Io=ro(e=>e?`on${io(e)}`:""),$r=(e,t)=>!Object.is(e,t),Vn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ri=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pp=e=>{const t=je(e)?Number(e):NaN;return isNaN(t)?e:t};let Ba;const hp=()=>Ba||(Ba=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Xe;class gp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function yp(e,t=Xe){t&&t.active&&t.effects.push(e)}function Gc(){return Xe}function mp(e){Xe&&Xe.cleanups.push(e)}const Us=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Yc=e=>(e.w&on)>0,Jc=e=>(e.n&on)>0,vp=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=on},bp=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];Yc(i)&&!Jc(i)?i.delete(e):t[n++]=i,i.w&=~on,i.n&=~on}t.length=n}},Mi=new WeakMap;let xr=0,on=1;const ns=30;let ut;const kn=Symbol(""),rs=Symbol("");class Ks{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,yp(this,r)}run(){if(!this.active)return this.fn();let t=ut,n=nn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ut,ut=this,nn=!0,on=1<<++xr,xr<=ns?vp(this):Da(this),this.fn()}finally{xr<=ns&&bp(this),on=1<<--xr,ut=this.parent,nn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ut===this?this.deferStop=!0:this.active&&(Da(this),this.onStop&&this.onStop(),this.active=!1)}}function Da(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let nn=!0;const Xc=[];function ar(){Xc.push(nn),nn=!1}function lr(){const e=Xc.pop();nn=e===void 0?!0:e}function Ye(e,t,n){if(nn&&ut){let r=Mi.get(e);r||Mi.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Us()),Qc(i)}}function Qc(e,t){let n=!1;xr<=ns?Jc(e)||(e.n|=on,n=!Yc(e)):n=!e.has(ut),n&&(e.add(ut),ut.deps.push(e))}function Rt(e,t,n,r,i,o){const s=Mi.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(n==="length"&&X(e)){const l=Number(r);s.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":X(e)?Vs(n)&&a.push(s.get("length")):(a.push(s.get(kn)),zn(e)&&a.push(s.get(rs)));break;case"delete":X(e)||(a.push(s.get(kn)),zn(e)&&a.push(s.get(rs)));break;case"set":zn(e)&&a.push(s.get(kn));break}if(a.length===1)a[0]&&is(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);is(Us(l))}}function is(e,t){const n=X(e)?e:[...e];for(const r of n)r.computed&&Fa(r);for(const r of n)r.computed||Fa(r)}function Fa(e,t){(e!==ut||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function xp(e,t){var n;return(n=Mi.get(e))===null||n===void 0?void 0:n.get(t)}const wp=Ds("__proto__,__v_isRef,__isVue"),Zc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zs)),_p=Ws(),Ep=Ws(!1,!0),jp=Ws(!0),Ha=Ap();function Ap(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=le(this);for(let o=0,s=this.length;o<s;o++)Ye(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(le)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ar();const r=le(this)[t].apply(this,n);return lr(),r}}),e}function kp(e){const t=le(this);return Ye(t,"has",e),t.hasOwnProperty(e)}function Ws(e=!1,t=!1){return function(r,i,o){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&o===(e?t?zp:iu:t?ru:nu).get(r))return r;const s=X(r);if(!e){if(s&&ue(Ha,i))return Reflect.get(Ha,i,o);if(i==="hasOwnProperty")return kp}const a=Reflect.get(r,i,o);return(zs(i)?Zc.has(i):wp(i))||(e||Ye(r,"get",i),t)?a:Ie(a)?s&&Vs(i)?a:a.value:we(a)?e?ou(a):cr(a):a}}const Op=eu(),Sp=eu(!0);function eu(e=!1){return function(n,r,i,o){let s=n[r];if(Yn(s)&&Ie(s)&&!Ie(i))return!1;if(!e&&(!Li(i)&&!Yn(i)&&(s=le(s),i=le(i)),!X(n)&&Ie(s)&&!Ie(i)))return s.value=i,!0;const a=X(n)&&Vs(r)?Number(r)<n.length:ue(n,r),l=Reflect.set(n,r,i,o);return n===le(o)&&(a?$r(i,s)&&Rt(n,"set",r,i):Rt(n,"add",r,i)),l}}function Cp(e,t){const n=ue(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Rt(e,"delete",t,void 0),r}function Tp(e,t){const n=Reflect.has(e,t);return(!zs(t)||!Zc.has(t))&&Ye(e,"has",t),n}function Pp(e){return Ye(e,"iterate",X(e)?"length":kn),Reflect.ownKeys(e)}const tu={get:_p,set:Op,deleteProperty:Cp,has:Tp,ownKeys:Pp},Rp={get:jp,set(e,t){return!0},deleteProperty(e,t){return!0}},Mp=Le({},tu,{get:Ep,set:Sp}),qs=e=>e,oo=e=>Reflect.getPrototypeOf(e);function ri(e,t,n=!1,r=!1){e=e.__v_raw;const i=le(e),o=le(t);n||(t!==o&&Ye(i,"get",t),Ye(i,"get",o));const{has:s}=oo(i),a=r?qs:n?Js:Ir;if(s.call(i,t))return a(e.get(t));if(s.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function ii(e,t=!1){const n=this.__v_raw,r=le(n),i=le(e);return t||(e!==i&&Ye(r,"has",e),Ye(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function oi(e,t=!1){return e=e.__v_raw,!t&&Ye(le(e),"iterate",kn),Reflect.get(e,"size",e)}function za(e){e=le(e);const t=le(this);return oo(t).has.call(t,e)||(t.add(e),Rt(t,"add",e,e)),this}function Va(e,t){t=le(t);const n=le(this),{has:r,get:i}=oo(n);let o=r.call(n,e);o||(e=le(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?$r(t,s)&&Rt(n,"set",e,t):Rt(n,"add",e,t),this}function Ua(e){const t=le(this),{has:n,get:r}=oo(t);let i=n.call(t,e);i||(e=le(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&Rt(t,"delete",e,void 0),o}function Ka(){const e=le(this),t=e.size!==0,n=e.clear();return t&&Rt(e,"clear",void 0,void 0),n}function si(e,t){return function(r,i){const o=this,s=o.__v_raw,a=le(s),l=t?qs:e?Js:Ir;return!e&&Ye(a,"iterate",kn),s.forEach((c,u)=>r.call(i,l(c),l(u),o))}}function ai(e,t,n){return function(...r){const i=this.__v_raw,o=le(i),s=zn(o),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=i[e](...r),u=n?qs:t?Js:Ir;return!t&&Ye(o,"iterate",l?rs:kn),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function zt(e){return function(...t){return e==="delete"?!1:this}}function Lp(){const e={get(o){return ri(this,o)},get size(){return oi(this)},has:ii,add:za,set:Va,delete:Ua,clear:Ka,forEach:si(!1,!1)},t={get(o){return ri(this,o,!1,!0)},get size(){return oi(this)},has:ii,add:za,set:Va,delete:Ua,clear:Ka,forEach:si(!1,!0)},n={get(o){return ri(this,o,!0)},get size(){return oi(this,!0)},has(o){return ii.call(this,o,!0)},add:zt("add"),set:zt("set"),delete:zt("delete"),clear:zt("clear"),forEach:si(!0,!1)},r={get(o){return ri(this,o,!0,!0)},get size(){return oi(this,!0)},has(o){return ii.call(this,o,!0)},add:zt("add"),set:zt("set"),delete:zt("delete"),clear:zt("clear"),forEach:si(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ai(o,!1,!1),n[o]=ai(o,!0,!1),t[o]=ai(o,!1,!0),r[o]=ai(o,!0,!0)}),[e,n,t,r]}const[$p,Ip,Np,Bp]=Lp();function Gs(e,t){const n=t?e?Bp:Np:e?Ip:$p;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ue(n,i)&&i in r?n:r,i,o)}const Dp={get:Gs(!1,!1)},Fp={get:Gs(!1,!0)},Hp={get:Gs(!0,!1)},nu=new WeakMap,ru=new WeakMap,iu=new WeakMap,zp=new WeakMap;function Vp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Up(e){return e.__v_skip||!Object.isExtensible(e)?0:Vp(up(e))}function cr(e){return Yn(e)?e:Ys(e,!1,tu,Dp,nu)}function Kp(e){return Ys(e,!1,Mp,Fp,ru)}function ou(e){return Ys(e,!0,Rp,Hp,iu)}function Ys(e,t,n,r,i){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=Up(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function Un(e){return Yn(e)?Un(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Li(e){return!!(e&&e.__v_isShallow)}function su(e){return Un(e)||Yn(e)}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function au(e){return Ri(e,"__v_skip",!0),e}const Ir=e=>we(e)?cr(e):e,Js=e=>we(e)?ou(e):e;function lu(e){nn&&ut&&(e=le(e),Qc(e.dep||(e.dep=Us())))}function cu(e,t){e=le(e);const n=e.dep;n&&is(n)}function Ie(e){return!!(e&&e.__v_isRef===!0)}function Yr(e){return uu(e,!1)}function Wp(e){return uu(e,!0)}function uu(e,t){return Ie(e)?e:new qp(e,t)}class qp{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:le(t),this._value=n?t:Ir(t)}get value(){return lu(this),this._value}set value(t){const n=this.__v_isShallow||Li(t)||Yn(t);t=n?t:le(t),$r(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ir(t),cu(this))}}function Ae(e){return Ie(e)?e.value:e}const Gp={get:(e,t,n)=>Ae(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function du(e){return Un(e)?e:new Proxy(e,Gp)}function fu(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=Jp(e,n);return t}class Yp{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return xp(le(this._object),this._key)}}function Jp(e,t,n){const r=e[t];return Ie(r)?r:new Yp(e,t,n)}var pu;class Xp{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[pu]=!1,this._dirty=!0,this.effect=new Ks(t,()=>{this._dirty||(this._dirty=!0,cu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=le(this);return lu(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}pu="__v_isReadonly";function Qp(e,t,n=!1){let r,i;const o=te(e);return o?(r=e,i=ht):(r=e.get,i=e.set),new Xp(r,i,o||!i,n)}function rn(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){so(o,t,n)}return i}function it(e,t,n,r){if(te(e)){const o=rn(e,t,n,r);return o&&Kc(o)&&o.catch(s=>{so(s,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(it(e[o],t,n,r));return i}function so(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const s=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){rn(l,null,10,[e,s,a]);return}}Zp(e,n,i,r)}function Zp(e,t,n,r=!0){console.error(e)}let Nr=!1,os=!1;const De=[];let vt=0;const Kn=[];let Ct=null,mn=0;const hu=Promise.resolve();let Xs=null;function xt(e){const t=Xs||hu;return e?t.then(this?e.bind(this):e):t}function eh(e){let t=vt+1,n=De.length;for(;t<n;){const r=t+n>>>1;Br(De[r])<e?t=r+1:n=r}return t}function Qs(e){(!De.length||!De.includes(e,Nr&&e.allowRecurse?vt+1:vt))&&(e.id==null?De.push(e):De.splice(eh(e.id),0,e),gu())}function gu(){!Nr&&!os&&(os=!0,Xs=hu.then(mu))}function th(e){const t=De.indexOf(e);t>vt&&De.splice(t,1)}function nh(e){X(e)?Kn.push(...e):(!Ct||!Ct.includes(e,e.allowRecurse?mn+1:mn))&&Kn.push(e),gu()}function Wa(e,t=Nr?vt+1:0){for(;t<De.length;t++){const n=De[t];n&&n.pre&&(De.splice(t,1),t--,n())}}function yu(e){if(Kn.length){const t=[...new Set(Kn)];if(Kn.length=0,Ct){Ct.push(...t);return}for(Ct=t,Ct.sort((n,r)=>Br(n)-Br(r)),mn=0;mn<Ct.length;mn++)Ct[mn]();Ct=null,mn=0}}const Br=e=>e.id==null?1/0:e.id,rh=(e,t)=>{const n=Br(e)-Br(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function mu(e){os=!1,Nr=!0,De.sort(rh);const t=ht;try{for(vt=0;vt<De.length;vt++){const n=De[vt];n&&n.active!==!1&&rn(n,null,14)}}finally{vt=0,De.length=0,yu(),Nr=!1,Xs=null,(De.length||Kn.length)&&mu()}}function ih(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||xe;let i=n;const o=t.startsWith("update:"),s=o&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:f}=r[u]||xe;f&&(i=n.map(p=>je(p)?p.trim():p)),d&&(i=n.map(ts))}let a,l=r[a=Io(t)]||r[a=Io(jt(t))];!l&&o&&(l=r[a=Io(Rn(t))]),l&&it(l,e,6,i);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,it(c,e,6,i)}}function vu(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},a=!1;if(!te(e)){const l=c=>{const u=vu(c,t,!0);u&&(a=!0,Le(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(we(e)&&r.set(e,null),null):(X(o)?o.forEach(l=>s[l]=null):Le(s,o),we(e)&&r.set(e,s),s)}function ao(e,t){return!e||!no(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,Rn(t))||ue(e,t))}let Ne=null,lo=null;function $i(e){const t=Ne;return Ne=e,lo=e&&e.type.__scopeId||null,t}function bu(e){lo=e}function xu(){lo=null}const oh=e=>Re;function Re(e,t=Ne,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&nl(-1);const o=$i(t);let s;try{s=e(...i)}finally{$i(o),r._d&&nl(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function No(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let w,b;const m=$i(e);try{if(n.shapeFlag&4){const E=i||r;w=mt(u.call(E,E,d,o,p,f,h)),b=l}else{const E=t;w=mt(E.length>1?E(o,{attrs:l,slots:a,emit:c}):E(o,null)),b=t.props?l:sh(l)}}catch(E){kr.length=0,so(E,e,1),w=ye(Ze)}let x=w;if(b&&g!==!1){const E=Object.keys(b),{shapeFlag:C}=x;E.length&&C&7&&(s&&E.some(Fs)&&(b=ah(b,s)),x=Mt(x,b))}return n.dirs&&(x=Mt(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,$i(m),w}const sh=e=>{let t;for(const n in e)(n==="class"||n==="style"||no(n))&&((t||(t={}))[n]=e[n]);return t},ah=(e,t)=>{const n={};for(const r in e)(!Fs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function lh(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?qa(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(s[f]!==r[f]&&!ao(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?qa(r,s,c):!0:!!s;return!1}function qa(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!ao(n,o))return!0}return!1}function ch({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const wu=e=>e.__isSuspense;function uh(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):nh(e)}function Er(e,t){if(ke){let n=ke.provides;const r=ke.parent&&ke.parent.provides;r===n&&(n=ke.provides=Object.create(r)),n[e]=t}}function wt(e,t,n=!1){const r=ke||Ne;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&te(t)?t.call(r.proxy):t}}const li={};function jr(e,t,n){return _u(e,t,n)}function _u(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=xe){const a=Gc()===(ke==null?void 0:ke.scope)?ke:null;let l,c=!1,u=!1;if(Ie(e)?(l=()=>e.value,c=Li(e)):Un(e)?(l=()=>e,r=!0):X(e)?(u=!0,c=e.some(x=>Un(x)||Li(x)),l=()=>e.map(x=>{if(Ie(x))return x.value;if(Un(x))return jn(x);if(te(x))return rn(x,a,2)})):te(e)?t?l=()=>rn(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return d&&d(),it(e,a,3,[f])}:l=ht,t&&r){const x=l;l=()=>jn(x())}let d,f=x=>{d=b.onStop=()=>{rn(x,a,4)}},p;if(zr)if(f=ht,t?n&&it(t,a,3,[l(),u?[]:void 0,f]):l(),i==="sync"){const x=t1();p=x.__watcherHandles||(x.__watcherHandles=[])}else return ht;let h=u?new Array(e.length).fill(li):li;const g=()=>{if(b.active)if(t){const x=b.run();(r||c||(u?x.some((E,C)=>$r(E,h[C])):$r(x,h)))&&(d&&d(),it(t,a,3,[x,h===li?void 0:u&&h[0]===li?[]:h,f]),h=x)}else b.run()};g.allowRecurse=!!t;let w;i==="sync"?w=g:i==="post"?w=()=>$e(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),w=()=>Qs(g));const b=new Ks(l,w);t?n?g():h=b.run():i==="post"?$e(b.run.bind(b),a&&a.suspense):b.run();const m=()=>{b.stop(),a&&a.scope&&Hs(a.scope.effects,b)};return p&&p.push(m),m}function dh(e,t,n){const r=this.proxy,i=je(e)?e.includes(".")?Eu(r,e):()=>r[e]:e.bind(r,r);let o;te(t)?o=t:(o=t.handler,n=t);const s=ke;Xn(this);const a=_u(i,o.bind(r),n);return s?Xn(s):On(),a}function Eu(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function jn(e,t){if(!we(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ie(e))jn(e.value,t);else if(X(e))for(let n=0;n<e.length;n++)jn(e[n],t);else if(Uc(e)||zn(e))e.forEach(n=>{jn(n,t)});else if(qc(e))for(const n in e)jn(e[n],t);return e}function ju(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fo(()=>{e.isMounted=!0}),ta(()=>{e.isUnmounting=!0}),e}const tt=[Function,Array],fh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:tt,onEnter:tt,onAfterEnter:tt,onEnterCancelled:tt,onBeforeLeave:tt,onLeave:tt,onAfterLeave:tt,onLeaveCancelled:tt,onBeforeAppear:tt,onAppear:tt,onAfterAppear:tt,onAppearCancelled:tt},setup(e,{slots:t}){const n=yo(),r=ju();let i;return()=>{const o=t.default&&Zs(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const g of o)if(g.type!==Ze){s=g;break}}const a=le(e),{mode:l}=a;if(r.isLeaving)return Bo(s);const c=Ga(s);if(!c)return Bo(s);const u=Dr(c,a,r,n);Jn(c,u);const d=n.subTree,f=d&&Ga(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();i===void 0?i=g:g!==i&&(i=g,p=!0)}if(f&&f.type!==Ze&&(!en(c,f)||p)){const g=Dr(f,a,r,n);if(Jn(f,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Bo(s);l==="in-out"&&c.type!==Ze&&(g.delayLeave=(w,b,m)=>{const x=Au(r,f);x[String(f.key)]=f,w._leaveCb=()=>{b(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return s}}},ph=fh;function Au(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 Dr(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:w,onAfterAppear:b,onAppearCancelled:m}=t,x=String(e.key),E=Au(n,e),C=(P,H)=>{P&&it(P,r,9,H)},R=(P,H)=>{const V=H[1];C(P,H),X(P)?P.every(Y=>Y.length<=1)&&V():P.length<=1&&V()},M={mode:o,persisted:s,beforeEnter(P){let H=a;if(!n.isMounted)if(i)H=g||a;else return;P._leaveCb&&P._leaveCb(!0);const V=E[x];V&&en(e,V)&&V.el._leaveCb&&V.el._leaveCb(),C(H,[P])},enter(P){let H=l,V=c,Y=u;if(!n.isMounted)if(i)H=w||l,V=b||c,Y=m||u;else return;let N=!1;const W=P._enterCb=se=>{N||(N=!0,se?C(Y,[P]):C(V,[P]),M.delayedLeave&&M.delayedLeave(),P._enterCb=void 0)};H?R(H,[P,W]):W()},leave(P,H){const V=String(e.key);if(P._enterCb&&P._enterCb(!0),n.isUnmounting)return H();C(d,[P]);let Y=!1;const N=P._leaveCb=W=>{Y||(Y=!0,H(),W?C(h,[P]):C(p,[P]),P._leaveCb=void 0,E[V]===e&&delete E[V])};E[V]=e,f?R(f,[P,N]):N()},clone(P){return Dr(P,t,n,r)}};return M}function Bo(e){if(co(e))return e=Mt(e),e.children=null,e}function Ga(e){return co(e)?e.children?e.children[0]:void 0:e}function Jn(e,t){e.shapeFlag&6&&e.component?Jn(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 Zs(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===_e?(s.patchFlag&128&&i++,r=r.concat(Zs(s.children,t,a))):(t||s.type!==Ze)&&r.push(a!=null?Mt(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Fe(e){return te(e)?{setup:e,name:e.name}:e}const Wn=e=>!!e.type.__asyncLoader,co=e=>e.type.__isKeepAlive,hh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=yo(),r=n.ctx;if(!r.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const i=new Map,o=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,f=d("div");r.activate=(m,x,E,C,R)=>{const M=m.component;c(m,x,E,0,a),l(M.vnode,m,x,E,M,a,C,m.slotScopeIds,R),$e(()=>{M.isDeactivated=!1,M.a&&Vn(M.a);const P=m.props&&m.props.onVnodeMounted;P&&nt(P,M.parent,m)},a)},r.deactivate=m=>{const x=m.component;c(m,f,null,1,a),$e(()=>{x.da&&Vn(x.da);const E=m.props&&m.props.onVnodeUnmounted;E&&nt(E,x.parent,m),x.isDeactivated=!0},a)};function p(m){Do(m),u(m,n,a,!0)}function h(m){i.forEach((x,E)=>{const C=fs(x.type);C&&(!m||!m(C))&&g(E)})}function g(m){const x=i.get(m);!s||!en(x,s)?p(x):s&&Do(s),i.delete(m),o.delete(m)}jr(()=>[e.include,e.exclude],([m,x])=>{m&&h(E=>wr(m,E)),x&&h(E=>!wr(x,E))},{flush:"post",deep:!0});let w=null;const b=()=>{w!=null&&i.set(w,Fo(n.subTree))};return fo(b),ea(b),ta(()=>{i.forEach(m=>{const{subTree:x,suspense:E}=n,C=Fo(x);if(m.type===C.type&&m.key===C.key){Do(C);const R=C.component.da;R&&$e(R,E);return}p(m)})}),()=>{if(w=null,!t.default)return null;const m=t.default(),x=m[0];if(m.length>1)return s=null,m;if(!Hr(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return s=null,x;let E=Fo(x);const C=E.type,R=fs(Wn(E)?E.type.__asyncResolved||{}:C),{include:M,exclude:P,max:H}=e;if(M&&(!R||!wr(M,R))||P&&R&&wr(P,R))return s=E,x;const V=E.key==null?C:E.key,Y=i.get(V);return E.el&&(E=Mt(E),x.shapeFlag&128&&(x.ssContent=E)),w=V,Y?(E.el=Y.el,E.component=Y.component,E.transition&&Jn(E,E.transition),E.shapeFlag|=512,o.delete(V),o.add(V)):(o.add(V),H&&o.size>parseInt(H,10)&&g(o.values().next().value)),E.shapeFlag|=256,s=E,wu(x.type)?x:E}}},gh=hh;function wr(e,t){return X(e)?e.some(n=>wr(n,t)):je(e)?e.split(",").includes(t):cp(e)?e.test(t):!1}function yh(e,t){ku(e,"a",t)}function mh(e,t){ku(e,"da",t)}function ku(e,t,n=ke){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(uo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)co(i.parent.vnode)&&vh(r,t,n,i),i=i.parent}}function vh(e,t,n,r){const i=uo(t,e,r,!0);Ou(()=>{Hs(r[t],i)},n)}function Do(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Fo(e){return e.shapeFlag&128?e.ssContent:e}function uo(e,t,n=ke,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;ar(),Xn(n);const a=it(t,n,e,s);return On(),lr(),a});return r?i.unshift(o):i.push(o),o}}const Bt=e=>(t,n=ke)=>(!zr||e==="sp")&&uo(e,(...r)=>t(...r),n),bh=Bt("bm"),fo=Bt("m"),xh=Bt("bu"),ea=Bt("u"),ta=Bt("bum"),Ou=Bt("um"),wh=Bt("sp"),_h=Bt("rtg"),Eh=Bt("rtc");function jh(e,t=ke){uo("ec",e,t)}function Ve(e,t){const n=Ne;if(n===null)return e;const r=mo(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,a,l,c=xe]=t[o];s&&(te(s)&&(s={mounted:s,updated:s}),s.deep&&jn(a),i.push({dir:s,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function dn(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let l=a.dir[r];l&&(ar(),it(l,n,8,[e.el,a,e,t]),lr())}}const na="components";function ss(e,t){return Tu(na,e,!0,t)||e}const Su=Symbol();function Cu(e){return je(e)?Tu(na,e,!1)||e:e||Su}function Tu(e,t,n=!0,r=!1){const i=Ne||ke;if(i){const o=i.type;if(e===na){const a=fs(o,!1);if(a&&(a===t||a===jt(t)||a===io(jt(t))))return o}const s=Ya(i[e]||o[e],t)||Ya(i.appContext[e],t);return!s&&r?o:s}}function Ya(e,t){return e&&(e[t]||e[jt(t)]||e[io(jt(t))])}function vn(e,t,n,r){let i;const o=n&&n[r];if(X(e)||je(e)){i=new Array(e.length);for(let s=0,a=e.length;s<a;s++)i[s]=t(e[s],s,void 0,o&&o[s])}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,o&&o[s])}else if(we(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,o&&o[a]));else{const s=Object.keys(e);i=new Array(s.length);for(let a=0,l=s.length;a<l;a++){const c=s[a];i[a]=t(e[c],c,a,o&&o[a])}}else i=[];return n&&(n[r]=i),i}function Ke(e,t,n={},r,i){if(Ne.isCE||Ne.parent&&Wn(Ne.parent)&&Ne.parent.isCE)return t!=="default"&&(n.name=t),ye("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),G();const s=o&&Pu(o(n)),a=We(_e,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Pu(e){return e.some(t=>Hr(t)?!(t.type===Ze||t.type===_e&&!Pu(t.children)):!0)?e:null}const as=e=>e?Uu(e)?mo(e)||e.proxy:as(e.parent):null,Ar=Le(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=>as(e.parent),$root:e=>as(e.root),$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||(e.f=()=>Qs(e.update)),$nextTick:e=>e.n||(e.n=xt.bind(e.proxy)),$watch:e=>dh.bind(e)}),Ho=(e,t)=>e!==xe&&!e.__isScriptSetup&&ue(e,t),Ah={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Ho(r,t))return s[t]=1,r[t];if(i!==xe&&ue(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ue(c,t))return s[t]=3,o[t];if(n!==xe&&ue(n,t))return s[t]=4,n[t];ls&&(s[t]=0)}}const u=Ar[t];let d,f;if(u)return t==="$attrs"&&Ye(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==xe&&ue(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,ue(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Ho(i,t)?(i[t]=n,!0):r!==xe&&ue(r,t)?(r[t]=n,!0):ue(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}},s){let a;return!!n[s]||e!==xe&&ue(e,s)||Ho(t,s)||(a=o[0])&&ue(a,s)||ue(r,s)||ue(Ar,s)||ue(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ls=!0;function kh(e){const t=ra(e),n=e.proxy,r=e.ctx;ls=!1,t.beforeCreate&&Ja(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:g,deactivated:w,beforeDestroy:b,beforeUnmount:m,destroyed:x,unmounted:E,render:C,renderTracked:R,renderTriggered:M,errorCaptured:P,serverPrefetch:H,expose:V,inheritAttrs:Y,components:N,directives:W,filters:se}=t;if(c&&Oh(c,r,null,e.appContext.config.unwrapInjectedRef),s)for(const J in s){const ne=s[J];te(ne)&&(r[J]=ne.bind(n))}if(i){const J=i.call(n,n);we(J)&&(e.data=cr(J))}if(ls=!0,o)for(const J in o){const ne=o[J],ge=te(ne)?ne.bind(n,n):te(ne.get)?ne.get.bind(n,n):ht,He=!te(ne)&&te(ne.set)?ne.set.bind(n):ht,Ee=ve({get:ge,set:He});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Ee.value,set:me=>Ee.value=me})}if(a)for(const J in a)Ru(a[J],r,n,J);if(l){const J=te(l)?l.call(n):l;Reflect.ownKeys(J).forEach(ne=>{Er(ne,J[ne])})}u&&Ja(u,e,"c");function ee(J,ne){X(ne)?ne.forEach(ge=>J(ge.bind(n))):ne&&J(ne.bind(n))}if(ee(bh,d),ee(fo,f),ee(xh,p),ee(ea,h),ee(yh,g),ee(mh,w),ee(jh,P),ee(Eh,R),ee(_h,M),ee(ta,m),ee(Ou,E),ee(wh,H),X(V))if(V.length){const J=e.exposed||(e.exposed={});V.forEach(ne=>{Object.defineProperty(J,ne,{get:()=>n[ne],set:ge=>n[ne]=ge})})}else e.exposed||(e.exposed={});C&&e.render===ht&&(e.render=C),Y!=null&&(e.inheritAttrs=Y),N&&(e.components=N),W&&(e.directives=W)}function Oh(e,t,n=ht,r=!1){X(e)&&(e=cs(e));for(const i in e){const o=e[i];let s;we(o)?"default"in o?s=wt(o.from||i,o.default,!0):s=wt(o.from||i):s=wt(o),Ie(s)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[i]=s}}function Ja(e,t,n){it(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ru(e,t,n,r){const i=r.includes(".")?Eu(n,r):()=>n[r];if(je(e)){const o=t[e];te(o)&&jr(i,o)}else if(te(e))jr(i,e.bind(n));else if(we(e))if(X(e))e.forEach(o=>Ru(o,t,n,r));else{const o=te(e.handler)?e.handler.bind(n):t[e.handler];te(o)&&jr(i,o,e)}}function ra(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>Ii(l,c,s,!0)),Ii(l,t,s)),we(t)&&o.set(t,l),l}function Ii(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Ii(e,o,n,!0),i&&i.forEach(s=>Ii(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=Sh[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Sh={data:Xa,props:gn,emits:gn,methods:gn,computed:gn,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:gn,directives:gn,watch:Th,provide:Xa,inject:Ch};function Xa(e,t){return t?e?function(){return Le(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Ch(e,t){return gn(cs(e),cs(t))}function cs(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ze(e,t){return e?[...new Set([].concat(e,t))]:t}function gn(e,t){return e?Le(Le(Object.create(null),e),t):t}function Th(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=ze(e[r],t[r]);return n}function Ph(e,t,n,r=!1){const i={},o={};Ri(o,ho,1),e.propsDefaults=Object.create(null),Mu(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Kp(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Rh(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=le(i),[l]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(ao(e.emitsOptions,f))continue;const p=t[f];if(l)if(ue(o,f))p!==o[f]&&(o[f]=p,c=!0);else{const h=jt(f);i[h]=us(l,a,h,p,e,!1)}else p!==o[f]&&(o[f]=p,c=!0)}}}else{Mu(e,t,i,o)&&(c=!0);let u;for(const d in a)(!t||!ue(t,d)&&((u=Rn(d))===d||!ue(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=us(l,a,d,void 0,e,!0)):delete i[d]);if(o!==a)for(const d in o)(!t||!ue(t,d))&&(delete o[d],c=!0)}c&&Rt(e,"set","$attrs")}function Mu(e,t,n,r){const[i,o]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(vi(l))continue;const c=t[l];let u;i&&ue(i,u=jt(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:ao(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(o){const l=le(n),c=a||xe;for(let u=0;u<o.length;u++){const d=o[u];n[d]=us(i,l,d,c[d],e,!ue(c,d))}}return s}function us(e,t,n,r,i,o){const s=e[n];if(s!=null){const a=ue(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&te(l)){const{propsDefaults:c}=i;n in c?r=c[n]:(Xn(i),r=c[n]=l.call(null,t),On())}else r=l}s[0]&&(o&&!a?r=!1:s[1]&&(r===""||r===Rn(n))&&(r=!0))}return r}function Lu(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const o=e.props,s={},a=[];let l=!1;if(!te(e)){const u=d=>{l=!0;const[f,p]=Lu(d,t,!0);Le(s,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return we(e)&&r.set(e,Hn),Hn;if(X(o))for(let u=0;u<o.length;u++){const d=jt(o[u]);Qa(d)&&(s[d]=xe)}else if(o)for(const u in o){const d=jt(u);if(Qa(d)){const f=o[u],p=s[d]=X(f)||te(f)?{type:f}:Object.assign({},f);if(p){const h=tl(Boolean,p.type),g=tl(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||ue(p,"default"))&&a.push(d)}}}const c=[s,a];return we(e)&&r.set(e,c),c}function Qa(e){return e[0]!=="$"}function Za(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function el(e,t){return Za(e)===Za(t)}function tl(e,t){return X(t)?t.findIndex(n=>el(n,e)):te(t)&&el(t,e)?0:-1}const $u=e=>e[0]==="_"||e==="$stable",ia=e=>X(e)?e.map(mt):[mt(e)],Mh=(e,t,n)=>{if(t._n)return t;const r=Re((...i)=>ia(t(...i)),n);return r._c=!1,r},Iu=(e,t,n)=>{const r=e._ctx;for(const i in e){if($u(i))continue;const o=e[i];if(te(o))t[i]=Mh(i,o,r);else if(o!=null){const s=ia(o);t[i]=()=>s}}},Nu=(e,t)=>{const n=ia(t);e.slots.default=()=>n},Lh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=le(t),Ri(t,"_",n)):Iu(t,e.slots={})}else e.slots={},t&&Nu(e,t);Ri(e.slots,ho,1)},$h=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=xe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Le(i,t),!n&&a===1&&delete i._):(o=!t.$stable,Iu(t,i)),s=t}else t&&(Nu(e,t),s={default:1});if(o)for(const a in i)!$u(a)&&!(a in s)&&delete i[a]};function Bu(){return{app:null,config:{isNativeTag:sp,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ih=0;function Nh(e,t){return function(r,i=null){te(r)||(r=Object.assign({},r)),i!=null&&!we(i)&&(i=null);const o=Bu(),s=new Set;let a=!1;const l=o.app={_uid:Ih++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:n1,get config(){return o.config},set config(c){},use(c,...u){return s.has(c)||(c&&te(c.install)?(s.add(c),c.install(l,...u)):te(c)&&(s.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,d){if(!a){const f=ye(r,i);return f.appContext=o,u&&t?t(f,c):e(f,c,d),a=!0,l._container=c,c.__vue_app__=l,mo(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l}};return l}}function ds(e,t,n,r,i=!1){if(X(e)){e.forEach((f,p)=>ds(f,t&&(X(t)?t[p]:t),n,r,i));return}if(Wn(r)&&!i)return;const o=r.shapeFlag&4?mo(r.component)||r.component.proxy:r.el,s=i?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===xe?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(je(c)?(u[c]=null,ue(d,c)&&(d[c]=null)):Ie(c)&&(c.value=null)),te(l))rn(l,a,12,[s,u]);else{const f=je(l),p=Ie(l);if(f||p){const h=()=>{if(e.f){const g=f?ue(d,l)?d[l]:u[l]:l.value;i?X(g)&&Hs(g,o):X(g)?g.includes(o)||g.push(o):f?(u[l]=[o],ue(d,l)&&(d[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else f?(u[l]=s,ue(d,l)&&(d[l]=s)):p&&(l.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,$e(h,n)):h()}}}const $e=uh;function Bh(e){return Dh(e)}function Dh(e,t){const n=hp();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=ht,insertStaticContent:h}=e,g=(y,v,j,k=null,S=null,$=null,F=!1,L=null,I=!!v.dynamicChildren)=>{if(y===v)return;y&&!en(y,v)&&(k=B(y),me(y,S,$,!0),y=null),v.patchFlag===-2&&(I=!1,v.dynamicChildren=null);const{type:T,ref:q,shapeFlag:z}=v;switch(T){case po:w(y,v,j,k);break;case Ze:b(y,v,j,k);break;case bi:y==null&&m(v,j,k,F);break;case _e:N(y,v,j,k,S,$,F,L,I);break;default:z&1?C(y,v,j,k,S,$,F,L,I):z&6?W(y,v,j,k,S,$,F,L,I):(z&64||z&128)&&T.process(y,v,j,k,S,$,F,L,I,oe)}q!=null&&S&&ds(q,y&&y.ref,$,v||y,!v)},w=(y,v,j,k)=>{if(y==null)r(v.el=a(v.children),j,k);else{const S=v.el=y.el;v.children!==y.children&&c(S,v.children)}},b=(y,v,j,k)=>{y==null?r(v.el=l(v.children||""),j,k):v.el=y.el},m=(y,v,j,k)=>{[y.el,y.anchor]=h(y.children,v,j,k,y.el,y.anchor)},x=({el:y,anchor:v},j,k)=>{let S;for(;y&&y!==v;)S=f(y),r(y,j,k),y=S;r(v,j,k)},E=({el:y,anchor:v})=>{let j;for(;y&&y!==v;)j=f(y),i(y),y=j;i(v)},C=(y,v,j,k,S,$,F,L,I)=>{F=F||v.type==="svg",y==null?R(v,j,k,S,$,F,L,I):H(y,v,S,$,F,L,I)},R=(y,v,j,k,S,$,F,L)=>{let I,T;const{type:q,props:z,shapeFlag:K,transition:Q,dirs:re}=y;if(I=y.el=s(y.type,$,z&&z.is,z),K&8?u(I,y.children):K&16&&P(y.children,I,null,k,S,$&&q!=="foreignObject",F,L),re&&dn(y,null,k,"created"),M(I,y,y.scopeId,F,k),z){for(const fe in z)fe!=="value"&&!vi(fe)&&o(I,fe,null,z[fe],$,y.children,k,S,D);"value"in z&&o(I,"value",null,z.value),(T=z.onVnodeBeforeMount)&&nt(T,k,y)}re&&dn(y,null,k,"beforeMount");const pe=(!S||S&&!S.pendingBranch)&&Q&&!Q.persisted;pe&&Q.beforeEnter(I),r(I,v,j),((T=z&&z.onVnodeMounted)||pe||re)&&$e(()=>{T&&nt(T,k,y),pe&&Q.enter(I),re&&dn(y,null,k,"mounted")},S)},M=(y,v,j,k,S)=>{if(j&&p(y,j),k)for(let $=0;$<k.length;$++)p(y,k[$]);if(S){let $=S.subTree;if(v===$){const F=S.vnode;M(y,F,F.scopeId,F.slotScopeIds,S.parent)}}},P=(y,v,j,k,S,$,F,L,I=0)=>{for(let T=I;T<y.length;T++){const q=y[T]=L?Yt(y[T]):mt(y[T]);g(null,q,v,j,k,S,$,F,L)}},H=(y,v,j,k,S,$,F)=>{const L=v.el=y.el;let{patchFlag:I,dynamicChildren:T,dirs:q}=v;I|=y.patchFlag&16;const z=y.props||xe,K=v.props||xe;let Q;j&&fn(j,!1),(Q=K.onVnodeBeforeUpdate)&&nt(Q,j,v,y),q&&dn(v,y,j,"beforeUpdate"),j&&fn(j,!0);const re=S&&v.type!=="foreignObject";if(T?V(y.dynamicChildren,T,L,j,k,re,$):F||ne(y,v,L,null,j,k,re,$,!1),I>0){if(I&16)Y(L,v,z,K,j,k,S);else if(I&2&&z.class!==K.class&&o(L,"class",null,K.class,S),I&4&&o(L,"style",z.style,K.style,S),I&8){const pe=v.dynamicProps;for(let fe=0;fe<pe.length;fe++){const Ce=pe[fe],lt=z[Ce],Ln=K[Ce];(Ln!==lt||Ce==="value")&&o(L,Ce,lt,Ln,S,y.children,j,k,D)}}I&1&&y.children!==v.children&&u(L,v.children)}else!F&&T==null&&Y(L,v,z,K,j,k,S);((Q=K.onVnodeUpdated)||q)&&$e(()=>{Q&&nt(Q,j,v,y),q&&dn(v,y,j,"updated")},k)},V=(y,v,j,k,S,$,F)=>{for(let L=0;L<v.length;L++){const I=y[L],T=v[L],q=I.el&&(I.type===_e||!en(I,T)||I.shapeFlag&70)?d(I.el):j;g(I,T,q,null,k,S,$,F,!0)}},Y=(y,v,j,k,S,$,F)=>{if(j!==k){if(j!==xe)for(const L in j)!vi(L)&&!(L in k)&&o(y,L,j[L],null,F,v.children,S,$,D);for(const L in k){if(vi(L))continue;const I=k[L],T=j[L];I!==T&&L!=="value"&&o(y,L,T,I,F,v.children,S,$,D)}"value"in k&&o(y,"value",j.value,k.value)}},N=(y,v,j,k,S,$,F,L,I)=>{const T=v.el=y?y.el:a(""),q=v.anchor=y?y.anchor:a("");let{patchFlag:z,dynamicChildren:K,slotScopeIds:Q}=v;Q&&(L=L?L.concat(Q):Q),y==null?(r(T,j,k),r(q,j,k),P(v.children,j,q,S,$,F,L,I)):z>0&&z&64&&K&&y.dynamicChildren?(V(y.dynamicChildren,K,j,S,$,F,L),(v.key!=null||S&&v===S.subTree)&&Du(y,v,!0)):ne(y,v,j,q,S,$,F,L,I)},W=(y,v,j,k,S,$,F,L,I)=>{v.slotScopeIds=L,y==null?v.shapeFlag&512?S.ctx.activate(v,j,k,F,I):se(v,j,k,S,$,F,I):Pe(y,v,I)},se=(y,v,j,k,S,$,F)=>{const L=y.component=qh(y,k,S);if(co(y)&&(L.ctx.renderer=oe),Gh(L),L.asyncDep){if(S&&S.registerDep(L,ee),!y.el){const I=L.subTree=ye(Ze);b(null,I,v,j)}return}ee(L,y,v,j,S,$,F)},Pe=(y,v,j)=>{const k=v.component=y.component;if(lh(y,v,j))if(k.asyncDep&&!k.asyncResolved){J(k,v,j);return}else k.next=v,th(k.update),k.update();else v.el=y.el,k.vnode=v},ee=(y,v,j,k,S,$,F)=>{const L=()=>{if(y.isMounted){let{next:q,bu:z,u:K,parent:Q,vnode:re}=y,pe=q,fe;fn(y,!1),q?(q.el=re.el,J(y,q,F)):q=re,z&&Vn(z),(fe=q.props&&q.props.onVnodeBeforeUpdate)&&nt(fe,Q,q,re),fn(y,!0);const Ce=No(y),lt=y.subTree;y.subTree=Ce,g(lt,Ce,d(lt.el),B(lt),y,S,$),q.el=Ce.el,pe===null&&ch(y,Ce.el),K&&$e(K,S),(fe=q.props&&q.props.onVnodeUpdated)&&$e(()=>nt(fe,Q,q,re),S)}else{let q;const{el:z,props:K}=v,{bm:Q,m:re,parent:pe}=y,fe=Wn(v);if(fn(y,!1),Q&&Vn(Q),!fe&&(q=K&&K.onVnodeBeforeMount)&&nt(q,pe,v),fn(y,!0),z&&Z){const Ce=()=>{y.subTree=No(y),Z(z,y.subTree,y,S,null)};fe?v.type.__asyncLoader().then(()=>!y.isUnmounted&&Ce()):Ce()}else{const Ce=y.subTree=No(y);g(null,Ce,j,k,y,S,$),v.el=Ce.el}if(re&&$e(re,S),!fe&&(q=K&&K.onVnodeMounted)){const Ce=v;$e(()=>nt(q,pe,Ce),S)}(v.shapeFlag&256||pe&&Wn(pe.vnode)&&pe.vnode.shapeFlag&256)&&y.a&&$e(y.a,S),y.isMounted=!0,v=j=k=null}},I=y.effect=new Ks(L,()=>Qs(T),y.scope),T=y.update=()=>I.run();T.id=y.uid,fn(y,!0),T()},J=(y,v,j)=>{v.component=y;const k=y.vnode.props;y.vnode=v,y.next=null,Rh(y,v.props,k,j),$h(y,v.children,j),ar(),Wa(),lr()},ne=(y,v,j,k,S,$,F,L,I=!1)=>{const T=y&&y.children,q=y?y.shapeFlag:0,z=v.children,{patchFlag:K,shapeFlag:Q}=v;if(K>0){if(K&128){He(T,z,j,k,S,$,F,L,I);return}else if(K&256){ge(T,z,j,k,S,$,F,L,I);return}}Q&8?(q&16&&D(T,S,$),z!==T&&u(j,z)):q&16?Q&16?He(T,z,j,k,S,$,F,L,I):D(T,S,$,!0):(q&8&&u(j,""),Q&16&&P(z,j,k,S,$,F,L,I))},ge=(y,v,j,k,S,$,F,L,I)=>{y=y||Hn,v=v||Hn;const T=y.length,q=v.length,z=Math.min(T,q);let K;for(K=0;K<z;K++){const Q=v[K]=I?Yt(v[K]):mt(v[K]);g(y[K],Q,j,null,S,$,F,L,I)}T>q?D(y,S,$,!0,!1,z):P(v,j,k,S,$,F,L,I,z)},He=(y,v,j,k,S,$,F,L,I)=>{let T=0;const q=v.length;let z=y.length-1,K=q-1;for(;T<=z&&T<=K;){const Q=y[T],re=v[T]=I?Yt(v[T]):mt(v[T]);if(en(Q,re))g(Q,re,j,null,S,$,F,L,I);else break;T++}for(;T<=z&&T<=K;){const Q=y[z],re=v[K]=I?Yt(v[K]):mt(v[K]);if(en(Q,re))g(Q,re,j,null,S,$,F,L,I);else break;z--,K--}if(T>z){if(T<=K){const Q=K+1,re=Q<q?v[Q].el:k;for(;T<=K;)g(null,v[T]=I?Yt(v[T]):mt(v[T]),j,re,S,$,F,L,I),T++}}else if(T>K)for(;T<=z;)me(y[T],S,$,!0),T++;else{const Q=T,re=T,pe=new Map;for(T=re;T<=K;T++){const Je=v[T]=I?Yt(v[T]):mt(v[T]);Je.key!=null&&pe.set(Je.key,T)}let fe,Ce=0;const lt=K-re+1;let Ln=!1,$a=0;const pr=new Array(lt);for(T=0;T<lt;T++)pr[T]=0;for(T=Q;T<=z;T++){const Je=y[T];if(Ce>=lt){me(Je,S,$,!0);continue}let yt;if(Je.key!=null)yt=pe.get(Je.key);else for(fe=re;fe<=K;fe++)if(pr[fe-re]===0&&en(Je,v[fe])){yt=fe;break}yt===void 0?me(Je,S,$,!0):(pr[yt-re]=T+1,yt>=$a?$a=yt:Ln=!0,g(Je,v[yt],j,null,S,$,F,L,I),Ce++)}const Ia=Ln?Fh(pr):Hn;for(fe=Ia.length-1,T=lt-1;T>=0;T--){const Je=re+T,yt=v[Je],Na=Je+1<q?v[Je+1].el:k;pr[T]===0?g(null,yt,j,Na,S,$,F,L,I):Ln&&(fe<0||T!==Ia[fe]?Ee(yt,j,Na,2):fe--)}}},Ee=(y,v,j,k,S=null)=>{const{el:$,type:F,transition:L,children:I,shapeFlag:T}=y;if(T&6){Ee(y.component.subTree,v,j,k);return}if(T&128){y.suspense.move(v,j,k);return}if(T&64){F.move(y,v,j,oe);return}if(F===_e){r($,v,j);for(let z=0;z<I.length;z++)Ee(I[z],v,j,k);r(y.anchor,v,j);return}if(F===bi){x(y,v,j);return}if(k!==2&&T&1&&L)if(k===0)L.beforeEnter($),r($,v,j),$e(()=>L.enter($),S);else{const{leave:z,delayLeave:K,afterLeave:Q}=L,re=()=>r($,v,j),pe=()=>{z($,()=>{re(),Q&&Q()})};K?K($,re,pe):pe()}else r($,v,j)},me=(y,v,j,k=!1,S=!1)=>{const{type:$,props:F,ref:L,children:I,dynamicChildren:T,shapeFlag:q,patchFlag:z,dirs:K}=y;if(L!=null&&ds(L,null,j,y,!0),q&256){v.ctx.deactivate(y);return}const Q=q&1&&K,re=!Wn(y);let pe;if(re&&(pe=F&&F.onVnodeBeforeUnmount)&&nt(pe,v,y),q&6)A(y.component,j,k);else{if(q&128){y.suspense.unmount(j,k);return}Q&&dn(y,null,v,"beforeUnmount"),q&64?y.type.remove(y,v,j,S,oe,k):T&&($!==_e||z>0&&z&64)?D(T,v,j,!1,!0):($===_e&&z&384||!S&&q&16)&&D(I,v,j),k&&Be(y)}(re&&(pe=F&&F.onVnodeUnmounted)||Q)&&$e(()=>{pe&&nt(pe,v,y),Q&&dn(y,null,v,"unmounted")},j)},Be=y=>{const{type:v,el:j,anchor:k,transition:S}=y;if(v===_e){Se(j,k);return}if(v===bi){E(y);return}const $=()=>{i(j),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(y.shapeFlag&1&&S&&!S.persisted){const{leave:F,delayLeave:L}=S,I=()=>F(j,$);L?L(y.el,$,I):I()}else $()},Se=(y,v)=>{let j;for(;y!==v;)j=f(y),i(y),y=j;i(v)},A=(y,v,j)=>{const{bum:k,scope:S,update:$,subTree:F,um:L}=y;k&&Vn(k),S.stop(),$&&($.active=!1,me(F,y,v,j)),L&&$e(L,v),$e(()=>{y.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},D=(y,v,j,k=!1,S=!1,$=0)=>{for(let F=$;F<y.length;F++)me(y[F],v,j,k,S)},B=y=>y.shapeFlag&6?B(y.component.subTree):y.shapeFlag&128?y.suspense.next():f(y.anchor||y.el),U=(y,v,j)=>{y==null?v._vnode&&me(v._vnode,null,null,!0):g(v._vnode||null,y,v,null,null,null,j),Wa(),yu(),v._vnode=y},oe={p:g,um:me,m:Ee,r:Be,mt:se,mc:P,pc:ne,pbc:V,n:B,o:e};let be,Z;return t&&([be,Z]=t(oe)),{render:U,hydrate:be,createApp:Nh(U,be)}}function fn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Du(e,t,n=!1){const r=e.children,i=t.children;if(X(r)&&X(i))for(let o=0;o<r.length;o++){const s=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=Yt(i[o]),a.el=s.el),n||Du(s,a)),a.type===po&&(a.el=s.el)}}function Fh(e){const t=e.slice(),n=[0];let r,i,o,s,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<c?o=a+1:s=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}const Hh=e=>e.__isTeleport,_e=Symbol(void 0),po=Symbol(void 0),Ze=Symbol(void 0),bi=Symbol(void 0),kr=[];let ft=null;function G(e=!1){kr.push(ft=e?null:[])}function zh(){kr.pop(),ft=kr[kr.length-1]||null}let Fr=1;function nl(e){Fr+=e}function Fu(e){return e.dynamicChildren=Fr>0?ft||Hn:null,zh(),Fr>0&&ft&&ft.push(e),e}function ie(e,t,n,r,i,o){return Fu(_(e,t,n,r,i,o,!0))}function We(e,t,n,r,i){return Fu(ye(e,t,n,r,i,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const ho="__vInternal",Hu=({key:e})=>e??null,xi=({ref:e,ref_key:t,ref_for:n})=>e!=null?je(e)||Ie(e)||te(e)?{i:Ne,r:e,k:t,f:!!n}:e:null;function _(e,t=null,n=null,r=0,i=null,o=e===_e?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hu(t),ref:t&&xi(t),scopeId:lo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ne};return a?(oa(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=je(n)?8:16),Fr>0&&!s&&ft&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ft.push(l),l}const ye=Vh;function Vh(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Su)&&(e=Ze),Hr(e)){const a=Mt(e,t,!0);return n&&oa(a,n),Fr>0&&!o&&ft&&(a.shapeFlag&6?ft[ft.indexOf(e)]=a:ft.push(a)),a.patchFlag|=-2,a}if(Xh(e)&&(e=e.__vccOpts),t){t=zu(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=Oe(a)),we(l)&&(su(l)&&!X(l)&&(l=Le({},l)),t.style=An(l))}const s=je(e)?1:wu(e)?128:Hh(e)?64:we(e)?4:te(e)?2:0;return _(e,t,n,r,i,s,o,!0)}function zu(e){return e?su(e)||ho in e?Le({},e):e:null}function Mt(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:s}=e,a=t?Uh(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Hu(a),ref:t&&t.ref?n&&i?X(i)?i.concat(xi(t)):[i,xi(t)]:xi(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Vu(e=" ",t=0){return ye(po,null,e,t)}function go(e,t){const n=ye(bi,null,e);return n.staticCount=t,n}function Qe(e="",t=!1){return t?(G(),We(Ze,null,e)):ye(Ze,null,e)}function mt(e){return e==null||typeof e=="boolean"?ye(Ze):X(e)?ye(_e,null,e.slice()):typeof e=="object"?Yt(e):ye(po,null,String(e))}function Yt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function oa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),oa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ho in t)?t._ctx=Ne:i===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Ne},n=32):(t=String(t),r&64?(n=16,t=[Vu(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uh(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Oe([t.class,r.class]));else if(i==="style")t.style=An([t.style,r.style]);else if(no(i)){const o=t[i],s=r[i];s&&o!==s&&!(X(o)&&o.includes(s))&&(t[i]=o?[].concat(o,s):s)}else i!==""&&(t[i]=r[i])}return t}function nt(e,t,n,r=null){it(e,t,7,[n,r])}const Kh=Bu();let Wh=0;function qh(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Kh,o={uid:Wh++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new gp(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lu(r,i),emitsOptions:vu(r,i),emit:null,emitted:null,propsDefaults:xe,inheritAttrs:r.inheritAttrs,ctx:xe,data:xe,props:xe,attrs:xe,slots:xe,refs:xe,setupState:xe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ih.bind(null,o),e.ce&&e.ce(o),o}let ke=null;const yo=()=>ke||Ne,Xn=e=>{ke=e,e.scope.on()},On=()=>{ke&&ke.scope.off(),ke=null};function Uu(e){return e.vnode.shapeFlag&4}let zr=!1;function Gh(e,t=!1){zr=t;const{props:n,children:r}=e.vnode,i=Uu(e);Ph(e,n,i,t),Lh(e,r);const o=i?Yh(e,t):void 0;return zr=!1,o}function Yh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=au(new Proxy(e.ctx,Ah));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?Wu(e):null;Xn(e),ar();const o=rn(r,e,0,[e.props,i]);if(lr(),On(),Kc(o)){if(o.then(On,On),t)return o.then(s=>{rl(e,s,t)}).catch(s=>{so(s,e,0)});e.asyncDep=o}else rl(e,o,t)}else Ku(e,t)}function rl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=du(t)),Ku(e,n)}let il;function Ku(e,t,n){const r=e.type;if(!e.render){if(!t&&il&&!r.render){const i=r.template||ra(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Le(Le({isCustomElement:o,delimiters:a},s),l);r.render=il(i,c)}}e.render=r.render||ht}Xn(e),ar(),kh(e),lr(),On()}function Jh(e){return new Proxy(e.attrs,{get(t,n){return Ye(e,"get","$attrs"),t[n]}})}function Wu(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Jh(e))},slots:e.slots,emit:e.emit,expose:t}}function mo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(du(au(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ar)return Ar[n](e)},has(t,n){return n in t||n in Ar}}))}function fs(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function Xh(e){return te(e)&&"__vccOpts"in e}const ve=(e,t)=>Qp(e,t,zr);function Qh(){return Zh().attrs}function Zh(){const e=yo();return e.setupContext||(e.setupContext=Wu(e))}function pt(e,t,n){const r=arguments.length;return r===2?we(t)&&!X(t)?Hr(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Hr(n)&&(n=[n]),ye(e,t,n))}const e1=Symbol(""),t1=()=>wt(e1),n1="3.2.47",r1="http://www.w3.org/2000/svg",bn=typeof document<"u"?document:null,ol=bn&&bn.createElement("template"),i1={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?bn.createElementNS(r1,e):bn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>bn.createTextNode(e),createComment:e=>bn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{ol.innerHTML=r?`<svg>${e}</svg>`:e;const a=ol.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function o1(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function s1(e,t,n){const r=e.style,i=je(n);if(n&&!i){if(t&&!je(t))for(const o in t)n[o]==null&&ps(r,o,"");for(const o in n)ps(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const sl=/\s*!important$/;function ps(e,t,n){if(X(n))n.forEach(r=>ps(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=a1(e,t);sl.test(n)?e.setProperty(Rn(r),n.replace(sl,""),"important"):e[r]=n}}const al=["Webkit","Moz","ms"],zo={};function a1(e,t){const n=zo[t];if(n)return n;let r=jt(t);if(r!=="filter"&&r in e)return zo[t]=r;r=io(r);for(let i=0;i<al.length;i++){const o=al[i]+r;if(o in e)return zo[t]=o}return t}const ll="http://www.w3.org/1999/xlink";function l1(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ll,t.slice(6,t.length)):e.setAttributeNS(ll,t,n);else{const o=op(t);n==null||o&&!zc(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function c1(e,t,n,r,i,o,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,i,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zc(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Nn(e,t,n,r){e.addEventListener(t,n,r)}function u1(e,t,n,r){e.removeEventListener(t,n,r)}function d1(e,t,n,r,i=null){const o=e._vei||(e._vei={}),s=o[t];if(r&&s)s.value=r;else{const[a,l]=f1(t);if(r){const c=o[t]=g1(r,i);Nn(e,a,c,l)}else s&&(u1(e,a,s,l),o[t]=void 0)}}const cl=/(?:Once|Passive|Capture)$/;function f1(e){let t;if(cl.test(e)){t={};let r;for(;r=e.match(cl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rn(e.slice(2)),t]}let Vo=0;const p1=Promise.resolve(),h1=()=>Vo||(p1.then(()=>Vo=0),Vo=Date.now());function g1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;it(y1(r,n.value),t,5,[r])};return n.value=e,n.attached=h1(),n}function y1(e,t){if(X(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 ul=/^on[a-z]/,m1=(e,t,n,r,i=!1,o,s,a,l)=>{t==="class"?o1(e,r,i):t==="style"?s1(e,n,r):no(t)?Fs(t)||d1(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):v1(e,t,r,i))?c1(e,t,r,o,s,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),l1(e,t,r,i))};function v1(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ul.test(t)&&te(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ul.test(t)&&je(n)?!1:t in e}const Vt="transition",hr="animation",qu={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},b1=Le({},ph.props,qu),pn=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},dl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function x1(e){const t={};for(const N in e)N in qu||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=w1(i),g=h&&h[0],w=h&&h[1],{onBeforeEnter:b,onEnter:m,onEnterCancelled:x,onLeave:E,onLeaveCancelled:C,onBeforeAppear:R=b,onAppear:M=m,onAppearCancelled:P=x}=t,H=(N,W,se)=>{Wt(N,W?u:a),Wt(N,W?c:s),se&&se()},V=(N,W)=>{N._isLeaving=!1,Wt(N,d),Wt(N,p),Wt(N,f),W&&W()},Y=N=>(W,se)=>{const Pe=N?M:m,ee=()=>H(W,N,se);pn(Pe,[W,ee]),fl(()=>{Wt(W,N?l:o),St(W,N?u:a),dl(Pe)||pl(W,r,g,ee)})};return Le(t,{onBeforeEnter(N){pn(b,[N]),St(N,o),St(N,s)},onBeforeAppear(N){pn(R,[N]),St(N,l),St(N,c)},onEnter:Y(!1),onAppear:Y(!0),onLeave(N,W){N._isLeaving=!0;const se=()=>V(N,W);St(N,d),Yu(),St(N,f),fl(()=>{N._isLeaving&&(Wt(N,d),St(N,p),dl(E)||pl(N,r,w,se))}),pn(E,[N,se])},onEnterCancelled(N){H(N,!1),pn(x,[N])},onAppearCancelled(N){H(N,!0),pn(P,[N])},onLeaveCancelled(N){V(N),pn(C,[N])}})}function w1(e){if(e==null)return null;if(we(e))return[Uo(e.enter),Uo(e.leave)];{const t=Uo(e);return[t,t]}}function Uo(e){return pp(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Wt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function fl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _1=0;function pl(e,t,n,r){const i=e._endId=++_1,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:l}=Gu(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,f)}function Gu(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),i=r(`${Vt}Delay`),o=r(`${Vt}Duration`),s=hl(i,o),a=r(`${hr}Delay`),l=r(`${hr}Duration`),c=hl(a,l);let u=null,d=0,f=0;t===Vt?s>0&&(u=Vt,d=s,f=o.length):t===hr?c>0&&(u=hr,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Vt:hr:null,f=u?u===Vt?o.length:l.length:0);const p=u===Vt&&/\b(transform|all)(,|$)/.test(r(`${Vt}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function hl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>gl(n)+gl(e[r])))}function gl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Yu(){return document.body.offsetHeight}const Ju=new WeakMap,Xu=new WeakMap,Qu={name:"TransitionGroup",props:Le({},b1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=yo(),r=ju();let i,o;return ea(()=>{if(!i.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!S1(i[0].el,n.vnode.el,s))return;i.forEach(A1),i.forEach(k1);const a=i.filter(O1);Yu(),a.forEach(l=>{const c=l.el,u=c.style;St(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const d=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c._moveCb=null,Wt(c,s))};c.addEventListener("transitionend",d)})}),()=>{const s=le(e),a=x1(s);let l=s.tag||_e;i=o,o=t.default?Zs(t.default()):[];for(let c=0;c<o.length;c++){const u=o[c];u.key!=null&&Jn(u,Dr(u,a,r,n))}if(i)for(let c=0;c<i.length;c++){const u=i[c];Jn(u,Dr(u,a,r,n)),Ju.set(u,u.el.getBoundingClientRect())}return ye(l,null,o)}}},E1=e=>delete e.mode;Qu.props;const j1=Qu;function A1(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function k1(e){Xu.set(e,e.el.getBoundingClientRect())}function O1(e){const t=Ju.get(e),n=Xu.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function S1(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(s=>{s.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=Gu(r);return i.removeChild(r),o}const yl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>Vn(t,n):t};function C1(e){e.target.composing=!0}function ml(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ue={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=yl(i);const o=r||i.props&&i.props.type==="number";Nn(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ts(a)),e._assign(a)}),n&&Nn(e,"change",()=>{e.value=e.value.trim()}),t||(Nn(e,"compositionstart",C1),Nn(e,"compositionend",ml),Nn(e,"change",ml))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e._assign=yl(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&ts(e.value)===t))return;const s=t??"";e.value!==s&&(e.value=s)}},T1=["ctrl","shift","alt","meta"],P1={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)=>T1.some(n=>e[`${n}Key`]&&!t.includes(n))},R1=(e,t)=>(n,...r)=>{for(let i=0;i<t.length;i++){const o=P1[t[i]];if(o&&o(n,t))return}return e(n,...r)},M1={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zu=(e,t)=>n=>{if(!("key"in n))return;const r=Rn(n.key);if(t.some(i=>i===r||M1[i]===r))return e(n)},L1=Le({patchProp:m1},i1);let vl;function $1(){return vl||(vl=Bh(L1))}const I1=(...e)=>{const t=$1().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=N1(r);if(!i)return;const o=t._component;!te(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function N1(e){return je(e)?document.querySelector(e):e}/*!
|
|
* vue-router v4.1.6
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Bn=typeof window<"u";function B1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const he=Object.assign;function Ko(e,t){const n={};for(const r in t){const i=t[r];n[r]=gt(i)?i.map(e):e(i)}return n}const Or=()=>{},gt=Array.isArray,D1=/\/$/,F1=e=>e.replace(D1,"");function Wo(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=U1(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function H1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function z1(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Qn(t.matched[r],n.matched[i])&&ed(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ed(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!V1(e[n],t[n]))return!1;return!0}function V1(e,t){return gt(e)?xl(e,t):gt(t)?xl(t,e):e===t}function xl(e,t){return gt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function U1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Vr;(function(e){e.pop="pop",e.push="push"})(Vr||(Vr={}));var Sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Sr||(Sr={}));function K1(e){if(!e)if(Bn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),F1(e)}const W1=/^[^#]+#/;function q1(e,t){return e.replace(W1,"#")+t}function G1(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 vo=()=>({left:window.pageXOffset,top:window.pageYOffset});function Y1(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=G1(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function wl(e,t){return(history.state?history.state.position-t:-1)+e}const hs=new Map;function J1(e,t){hs.set(e,t)}function X1(e){const t=hs.get(e);return hs.delete(e),t}let Q1=()=>location.protocol+"//"+location.host;function td(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),bl(l,"")}return bl(n,e)+r+i}function Z1(e,t,n,r){let i=[],o=[],s=null;const a=({state:f})=>{const p=td(e,location),h=n.value,g=t.value;let w=0;if(f){if(n.value=p,t.value=f,s&&s===h){s=null;return}w=g?f.position-g.position:0}else r(p);i.forEach(b=>{b(n.value,h,{delta:w,type:Vr.pop,direction:w?w>0?Sr.forward:Sr.back:Sr.unknown})})};function l(){s=n.value}function c(f){i.push(f);const p=()=>{const h=i.indexOf(f);h>-1&&i.splice(h,1)};return o.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(he({},f.state,{scroll:vo()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:d}}function _l(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?vo():null}}function e0(e){const{history:t,location:n}=window,r={value:td(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,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Q1()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function s(l,c){const u=he({},t.state,_l(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=he({},i.value,t.state,{forward:l,scroll:vo()});o(u.current,u,!0);const d=he({},_l(r.value,l,null),{position:u.position+1},c);o(l,d,!1),r.value=l}return{location:r,state:i,push:a,replace:s}}function t0(e){e=K1(e);const t=e0(e),n=Z1(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=he({location:"",base:e,go:r,createHref:q1.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 n0(e){return typeof e=="string"||e&&typeof e=="object"}function nd(e){return typeof e=="string"||typeof e=="symbol"}const Ut={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},rd=Symbol("");var El;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(El||(El={}));function Zn(e,t){return he(new Error,{type:e,[rd]:!0},t)}function Ot(e,t){return e instanceof Error&&rd in e&&(t==null||!!(e.type&t))}const jl="[^/]+?",r0={sensitive:!1,strict:!1,start:!0,end:!0},i0=/[.+*?^${}()[\]/\\]/g;function o0(e,t){const n=he({},r0,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const f=c[d];let p=40+(n.sensitive?.25:0);if(f.type===0)d||(i+="/"),i+=f.value.replace(i0,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:g,optional:w,regexp:b}=f;o.push({name:h,repeatable:g,optional:w});const m=b||jl;if(m!==jl){p+=10;try{new RegExp(`(${m})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${h}" (${m}): `+E.message)}}let x=g?`((?:${m})(?:/(?:${m}))*)`:`(${m})`;d||(x=w&&c.length<2?`(?:/${x})`:"/"+x),w&&(x+="?"),i+=x,p+=20,w&&(p+=-8),g&&(p+=-20),m===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(s),d={};if(!u)return null;for(let f=1;f<u.length;f++){const p=u[f]||"",h=o[f-1];d[h.name]=p&&h.repeatable?p.split("/"):p}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const p of f)if(p.type===0)u+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:w}=p,b=h in c?c[h]:"";if(gt(b)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const m=gt(b)?b.join("/"):b;if(!m)if(w)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);u+=m}}return u||"/"}return{re:s,score:r,keys:o,parse:a,stringify:l}}function s0(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function a0(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=s0(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(Al(r))return 1;if(Al(i))return-1}return i.length-r.length}function Al(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const l0={type:0,value:""},c0=/[a-zA-Z0-9_]/;function u0(e){if(!e)return[[]];if(e==="/")return[[l0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),s()):l===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:c0.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),i}function d0(e,t,n){const r=o0(u0(e.path),n),i=he(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function f0(e,t){const n=[],r=new Map;t=Sl({strict:!1,end:!0,sensitive:!1},t);function i(u){return r.get(u)}function o(u,d,f){const p=!f,h=p0(u);h.aliasOf=f&&f.record;const g=Sl(t,u),w=[h];if("alias"in u){const x=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of x)w.push(he({},h,{components:f?f.record.components:h.components,path:E,aliasOf:f?f.record:h}))}let b,m;for(const x of w){const{path:E}=x;if(d&&E[0]!=="/"){const C=d.record.path,R=C[C.length-1]==="/"?"":"/";x.path=d.record.path+(E&&R+E)}if(b=d0(x,d,g),f?f.alias.push(b):(m=m||b,m!==b&&m.alias.push(b),p&&u.name&&!Ol(b)&&s(u.name)),h.children){const C=h.children;for(let R=0;R<C.length;R++)o(C[R],b,f&&f.children[R])}f=f||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&l(b)}return m?()=>{s(m)}:Or}function s(u){if(nd(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function a(){return n}function l(u){let d=0;for(;d<n.length&&a0(u,n[d])>=0&&(u.record.path!==n[d].record.path||!id(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ol(u)&&r.set(u.record.name,u)}function c(u,d){let f,p={},h,g;if("name"in u&&u.name){if(f=r.get(u.name),!f)throw Zn(1,{location:u});g=f.record.name,p=he(kl(d.params,f.keys.filter(m=>!m.optional).map(m=>m.name)),u.params&&kl(u.params,f.keys.map(m=>m.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(m=>m.re.test(h)),f&&(p=f.parse(h),g=f.record.name);else{if(f=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!f)throw Zn(1,{location:u,currentLocation:d});g=f.record.name,p=he({},d.params,u.params),h=f.stringify(p)}const w=[];let b=f;for(;b;)w.unshift(b.record),b=b.parent;return{name:g,path:h,params:p,matched:w,meta:g0(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:i}}function kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function p0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:h0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function h0(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=="boolean"?n:n[r];return t}function Ol(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function g0(e){return e.reduce((t,n)=>he(t,n.meta),{})}function Sl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function id(e,t){return t.children.some(n=>n===e||id(e,n))}const od=/#/g,y0=/&/g,m0=/\//g,v0=/=/g,b0=/\?/g,sd=/\+/g,x0=/%5B/g,w0=/%5D/g,ad=/%5E/g,_0=/%60/g,ld=/%7B/g,E0=/%7C/g,cd=/%7D/g,j0=/%20/g;function sa(e){return encodeURI(""+e).replace(E0,"|").replace(x0,"[").replace(w0,"]")}function A0(e){return sa(e).replace(ld,"{").replace(cd,"}").replace(ad,"^")}function gs(e){return sa(e).replace(sd,"%2B").replace(j0,"+").replace(od,"%23").replace(y0,"%26").replace(_0,"`").replace(ld,"{").replace(cd,"}").replace(ad,"^")}function k0(e){return gs(e).replace(v0,"%3D")}function O0(e){return sa(e).replace(od,"%23").replace(b0,"%3F")}function S0(e){return e==null?"":O0(e).replace(m0,"%2F")}function Ni(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function C0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(sd," "),s=o.indexOf("="),a=Ni(s<0?o:o.slice(0,s)),l=s<0?null:Ni(o.slice(s+1));if(a in t){let c=t[a];gt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Cl(e){let t="";for(let n in e){const r=e[n];if(n=k0(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(gt(r)?r.map(o=>o&&gs(o)):[r&&gs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function T0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=gt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const P0=Symbol(""),Tl=Symbol(""),aa=Symbol(""),ud=Symbol(""),ys=Symbol("");function gr(){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,reset:n}}function Jt(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const l=d=>{d===!1?a(Zn(4,{from:n,to:t})):d instanceof Error?a(d):n0(d)?a(Zn(2,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),s())},c=e.call(r&&r.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function qo(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let a=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(R0(a)){const c=(a.__vccOpts||a)[t];c&&i.push(Jt(c,n,r,o,s))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=B1(c)?c.default:c;o.components[s]=u;const f=(u.__vccOpts||u)[t];return f&&Jt(f,n,r,o,s)()}))}}return i}function R0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pl(e){const t=wt(aa),n=wt(ud),r=ve(()=>t.resolve(Ae(e.to))),i=ve(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(Qn.bind(null,u));if(f>-1)return f;const p=Rl(l[c-2]);return c>1&&Rl(u)===p&&d[d.length-1].path!==p?d.findIndex(Qn.bind(null,l[c-2])):f}),o=ve(()=>i.value>-1&&$0(n.params,r.value.params)),s=ve(()=>i.value>-1&&i.value===n.matched.length-1&&ed(n.params,r.value.params));function a(l={}){return L0(l)?t[Ae(e.replace)?"replace":"push"](Ae(e.to)).catch(Or):Promise.resolve()}return{route:r,href:ve(()=>r.value.href),isActive:o,isExactActive:s,navigate:a}}const M0=Fe({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:Pl,setup(e,{slots:t}){const n=cr(Pl(e)),{options:r}=wt(aa),i=ve(()=>({[Ml(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ml(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:pt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),xn=M0;function L0(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 $0(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(!gt(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function Rl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ml=(e,t,n)=>e??t??n,I0=Fe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=wt(ys),i=ve(()=>e.route||r.value),o=wt(Tl,0),s=ve(()=>{let c=Ae(o);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=ve(()=>i.value.matched[s.value]);Er(Tl,ve(()=>s.value+1)),Er(P0,a),Er(ys,i);const l=Yr();return jr(()=>[l.value,a.value,e.name],([c,u,d],[f,p,h])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Qn(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,d=a.value,f=d&&d.components[u];if(!f)return Ll(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=pt(f,he({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Ll(n.default,{Component:w,route:c})||w}}});function Ll(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const dd=I0;function N0(e){const t=f0(e.routes,e),n=e.parseQuery||C0,r=e.stringifyQuery||Cl,i=e.history,o=gr(),s=gr(),a=gr(),l=Wp(Ut);let c=Ut;Bn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ko.bind(null,A=>""+A),d=Ko.bind(null,S0),f=Ko.bind(null,Ni);function p(A,D){let B,U;return nd(A)?(B=t.getRecordMatcher(A),U=D):U=A,t.addRoute(U,B)}function h(A){const D=t.getRecordMatcher(A);D&&t.removeRoute(D)}function g(){return t.getRoutes().map(A=>A.record)}function w(A){return!!t.getRecordMatcher(A)}function b(A,D){if(D=he({},D||l.value),typeof A=="string"){const y=Wo(n,A,D.path),v=t.resolve({path:y.path},D),j=i.createHref(y.fullPath);return he(y,v,{params:f(v.params),hash:Ni(y.hash),redirectedFrom:void 0,href:j})}let B;if("path"in A)B=he({},A,{path:Wo(n,A.path,D.path).path});else{const y=he({},A.params);for(const v in y)y[v]==null&&delete y[v];B=he({},A,{params:d(A.params)}),D.params=d(D.params)}const U=t.resolve(B,D),oe=A.hash||"";U.params=u(f(U.params));const be=H1(r,he({},A,{hash:A0(oe),path:U.path})),Z=i.createHref(be);return he({fullPath:be,hash:oe,query:r===Cl?T0(A.query):A.query||{}},U,{redirectedFrom:void 0,href:Z})}function m(A){return typeof A=="string"?Wo(n,A,l.value.path):he({},A)}function x(A,D){if(c!==A)return Zn(8,{from:D,to:A})}function E(A){return M(A)}function C(A){return E(he(m(A),{replace:!0}))}function R(A){const D=A.matched[A.matched.length-1];if(D&&D.redirect){const{redirect:B}=D;let U=typeof B=="function"?B(A):B;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=m(U):{path:U},U.params={}),he({query:A.query,hash:A.hash,params:"path"in U?{}:A.params},U)}}function M(A,D){const B=c=b(A),U=l.value,oe=A.state,be=A.force,Z=A.replace===!0,y=R(B);if(y)return M(he(m(y),{state:typeof y=="object"?he({},oe,y.state):oe,force:be,replace:Z}),D||B);const v=B;v.redirectedFrom=D;let j;return!be&&z1(r,U,B)&&(j=Zn(16,{to:v,from:U}),He(U,U,!0,!1)),(j?Promise.resolve(j):H(v,U)).catch(k=>Ot(k)?Ot(k,2)?k:ge(k):J(k,v,U)).then(k=>{if(k){if(Ot(k,2))return M(he({replace:Z},m(k.to),{state:typeof k.to=="object"?he({},oe,k.to.state):oe,force:be}),D||v)}else k=Y(v,U,!0,Z,oe);return V(v,U,k),k})}function P(A,D){const B=x(A,D);return B?Promise.reject(B):Promise.resolve()}function H(A,D){let B;const[U,oe,be]=B0(A,D);B=qo(U.reverse(),"beforeRouteLeave",A,D);for(const y of U)y.leaveGuards.forEach(v=>{B.push(Jt(v,A,D))});const Z=P.bind(null,A,D);return B.push(Z),$n(B).then(()=>{B=[];for(const y of o.list())B.push(Jt(y,A,D));return B.push(Z),$n(B)}).then(()=>{B=qo(oe,"beforeRouteUpdate",A,D);for(const y of oe)y.updateGuards.forEach(v=>{B.push(Jt(v,A,D))});return B.push(Z),$n(B)}).then(()=>{B=[];for(const y of A.matched)if(y.beforeEnter&&!D.matched.includes(y))if(gt(y.beforeEnter))for(const v of y.beforeEnter)B.push(Jt(v,A,D));else B.push(Jt(y.beforeEnter,A,D));return B.push(Z),$n(B)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),B=qo(be,"beforeRouteEnter",A,D),B.push(Z),$n(B))).then(()=>{B=[];for(const y of s.list())B.push(Jt(y,A,D));return B.push(Z),$n(B)}).catch(y=>Ot(y,8)?y:Promise.reject(y))}function V(A,D,B){for(const U of a.list())U(A,D,B)}function Y(A,D,B,U,oe){const be=x(A,D);if(be)return be;const Z=D===Ut,y=Bn?history.state:{};B&&(U||Z?i.replace(A.fullPath,he({scroll:Z&&y&&y.scroll},oe)):i.push(A.fullPath,oe)),l.value=A,He(A,D,B,Z),ge()}let N;function W(){N||(N=i.listen((A,D,B)=>{if(!Se.listening)return;const U=b(A),oe=R(U);if(oe){M(he(oe,{replace:!0}),U).catch(Or);return}c=U;const be=l.value;Bn&&J1(wl(be.fullPath,B.delta),vo()),H(U,be).catch(Z=>Ot(Z,12)?Z:Ot(Z,2)?(M(Z.to,U).then(y=>{Ot(y,20)&&!B.delta&&B.type===Vr.pop&&i.go(-1,!1)}).catch(Or),Promise.reject()):(B.delta&&i.go(-B.delta,!1),J(Z,U,be))).then(Z=>{Z=Z||Y(U,be,!1),Z&&(B.delta&&!Ot(Z,8)?i.go(-B.delta,!1):B.type===Vr.pop&&Ot(Z,20)&&i.go(-1,!1)),V(U,be,Z)}).catch(Or)}))}let se=gr(),Pe=gr(),ee;function J(A,D,B){ge(A);const U=Pe.list();return U.length?U.forEach(oe=>oe(A,D,B)):console.error(A),Promise.reject(A)}function ne(){return ee&&l.value!==Ut?Promise.resolve():new Promise((A,D)=>{se.add([A,D])})}function ge(A){return ee||(ee=!A,W(),se.list().forEach(([D,B])=>A?B(A):D()),se.reset()),A}function He(A,D,B,U){const{scrollBehavior:oe}=e;if(!Bn||!oe)return Promise.resolve();const be=!B&&X1(wl(A.fullPath,0))||(U||!B)&&history.state&&history.state.scroll||null;return xt().then(()=>oe(A,D,be)).then(Z=>Z&&Y1(Z)).catch(Z=>J(Z,A,D))}const Ee=A=>i.go(A);let me;const Be=new Set,Se={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:w,getRoutes:g,resolve:b,options:e,push:E,replace:C,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:Pe.add,isReady:ne,install(A){const D=this;A.component("RouterLink",xn),A.component("RouterView",dd),A.config.globalProperties.$router=D,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(l)}),Bn&&!me&&l.value===Ut&&(me=!0,E(i.location).catch(oe=>{}));const B={};for(const oe in Ut)B[oe]=ve(()=>l.value[oe]);A.provide(aa,D),A.provide(ud,cr(B)),A.provide(ys,l);const U=A.unmount;Be.add(A),A.unmount=function(){Be.delete(A),Be.size<1&&(c=Ut,N&&N(),N=null,l.value=Ut,me=!1,ee=!1),U()}}};return Se}function $n(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function B0(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;s<o;s++){const a=t.matched[s];a&&(e.matched.find(c=>Qn(c,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>Qn(c,l))||i.push(l))}return[n,r,i]}const fd="/assets/logo-9d653710.svg";var D0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function F0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ms={},H0={get exports(){return ms},set exports(e){ms=e}};(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:D0,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(o,s,a){i.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:a})},i.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,"a",s),s},i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},i.p="",i(i.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>',airplay:'<path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon>',"alert-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',"align-center":'<line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line>',"align-justify":'<line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line>',"align-left":'<line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line>',"align-right":'<line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line>',anchor:'<circle cx="12" cy="5" r="3"></circle><line x1="12" y1="22" x2="12" y2="8"></line><path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>',aperture:'<circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',"arrow-down-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line>',"arrow-down-left":'<line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline>',"arrow-down-right":'<line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline>',"arrow-down":'<line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline>',"arrow-left-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',"arrow-up-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line>',"arrow-up-left":'<line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline>',"arrow-up-right":'<line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline>',"arrow-up":'<line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline>',"at-sign":'<circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path>',award:'<circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>',"bar-chart-2":'<line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line>',"bar-chart":'<line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line>',"battery-charging":'<path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"></path><line x1="23" y1="13" x2="23" y2="11"></line><polyline points="11 6 7 12 13 12 9 18"></polyline>',battery:'<rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line>',"bell-off":'<path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',bluetooth:'<polyline points="6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5"></polyline>',bold:'<path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path>',"book-open":'<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path>',book:'<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>',bookmark:'<path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path>',box:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',briefcase:'<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',"camera-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"></path>',camera:'<path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle>',cast:'<path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"></path><line x1="2" y1="20" x2="2.01" y2="20"></line>',"check-circle":'<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',check:'<polyline points="20 6 9 17 4 12"></polyline>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-left":'<polyline points="15 18 9 12 15 6"></polyline>',"chevron-right":'<polyline points="9 18 15 12 9 6"></polyline>',"chevron-up":'<polyline points="18 15 12 9 6 15"></polyline>',"chevrons-down":'<polyline points="7 13 12 18 17 13"></polyline><polyline points="7 6 12 11 17 6"></polyline>',"chevrons-left":'<polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline>',"chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',"chevrons-up":'<polyline points="17 11 12 6 7 11"></polyline><polyline points="17 18 12 13 7 18"></polyline>',chrome:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line>',circle:'<circle cx="12" cy="12" r="10"></circle>',clipboard:'<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"cloud-drizzle":'<line x1="8" y1="19" x2="8" y2="21"></line><line x1="8" y1="13" x2="8" y2="15"></line><line x1="16" y1="19" x2="16" y2="21"></line><line x1="16" y1="13" x2="16" y2="15"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="12" y1="15" x2="12" y2="17"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-lightning":'<path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"></path><polyline points="13 11 9 17 15 17 11 23"></polyline>',"cloud-off":'<path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3"></path><line x1="1" y1="1" x2="23" y2="23"></line>',"cloud-rain":'<line x1="16" y1="13" x2="16" y2="21"></line><line x1="8" y1="13" x2="8" y2="21"></line><line x1="12" y1="15" x2="12" y2="23"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-snow":'<path d="M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25"></path><line x1="8" y1="16" x2="8.01" y2="16"></line><line x1="8" y1="20" x2="8.01" y2="20"></line><line x1="12" y1="18" x2="12.01" y2="18"></line><line x1="12" y1="22" x2="12.01" y2="22"></line><line x1="16" y1="16" x2="16.01" y2="16"></line><line x1="16" y1="20" x2="16.01" y2="20"></line>',cloud:'<path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',codepen:'<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',coffee:'<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path><path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path><line x1="6" y1="1" x2="6" y2="4"></line><line x1="10" y1="1" x2="10" y2="4"></line><line x1="14" y1="1" x2="14" y2="4"></line>',columns:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',compass:'<circle cx="12" cy="12" r="10"></circle><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"corner-down-right":'<polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path>',"corner-left-down":'<polyline points="14 15 9 20 4 15"></polyline><path d="M20 4h-7a4 4 0 0 0-4 4v12"></path>',"corner-left-up":'<polyline points="14 9 9 4 4 9"></polyline><path d="M20 20h-7a4 4 0 0 1-4-4V4"></path>',"corner-right-down":'<polyline points="10 15 15 20 20 15"></polyline><path d="M4 4h7a4 4 0 0 1 4 4v12"></path>',"corner-right-up":'<polyline points="10 9 15 4 20 9"></polyline><path d="M4 20h7a4 4 0 0 0 4-4V4"></path>',"corner-up-left":'<polyline points="9 14 4 9 9 4"></polyline><path d="M20 20v-7a4 4 0 0 0-4-4H4"></path>',"corner-up-right":'<polyline points="15 14 20 9 15 4"></polyline><path d="M4 20v-7a4 4 0 0 1 4-4h12"></path>',cpu:'<rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line>',"credit-card":'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line>',crop:'<path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></path>',crosshair:'<circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line>',database:'<ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path>',delete:'<path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line>',disc:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle>',"divide-circle":'<line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line><circle cx="12" cy="12" r="10"></circle>',"divide-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line>',divide:'<circle cx="12" cy="6" r="2"></circle><line x1="5" y1="12" x2="19" y2="12"></line><circle cx="12" cy="18" r="2"></circle>',"dollar-sign":'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',"download-cloud":'<polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path>',download:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line>',dribbble:'<circle cx="12" cy="12" r="10"></circle><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"></path>',droplet:'<path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"></path>',"edit-2":'<path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path>',"edit-3":'<path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path>',edit:'<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path>',"external-link":'<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line>',"eye-off":'<path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',facebook:'<path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path>',"fast-forward":'<polygon points="13 19 22 12 13 5 13 19"></polygon><polygon points="2 19 11 12 2 5 2 19"></polygon>',feather:'<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path><line x1="16" y1="8" x2="2" y2="22"></line><line x1="17.5" y1="15" x2="9" y2="15"></line>',figma:'<path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z"></path><path d="M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z"></path><path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z"></path><path d="M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z"></path><path d="M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z"></path>',"file-minus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="9" y1="15" x2="15" y2="15"></line>',"file-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',"file-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline>',file:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',film:'<rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"></rect><line x1="7" y1="2" x2="7" y2="22"></line><line x1="17" y1="2" x2="17" y2="22"></line><line x1="2" y1="12" x2="22" y2="12"></line><line x1="2" y1="7" x2="7" y2="7"></line><line x1="2" y1="17" x2="7" y2="17"></line><line x1="17" y1="17" x2="22" y2="17"></line><line x1="17" y1="7" x2="22" y2="7"></line>',filter:'<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>',flag:'<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path><line x1="4" y1="22" x2="4" y2="15"></line>',"folder-minus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line>',"folder-plus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="12" y1="11" x2="12" y2="17"></line><line x1="9" y1="14" x2="15" y2="14"></line>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',framer:'<path d="M5 16V9h14V2H5l14 14h-7m-7 0l7 7v-7m-7 0h7"></path>',frown:'<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',gift:'<polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>',"git-branch":'<line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path>',"git-commit":'<circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line>',"git-merge":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 21V9a9 9 0 0 0 9 9"></path>',"git-pull-request":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M13 6h3a2 2 0 0 1 2 2v7"></path><line x1="6" y1="9" x2="6" y2="21"></line>',github:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>',gitlab:'<path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>',grid:'<rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect>',"hard-drive":'<line x1="22" y1="12" x2="2" y2="12"></line><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path><line x1="6" y1="16" x2="6.01" y2="16"></line><line x1="10" y1="16" x2="10.01" y2="16"></line>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',headphones:'<path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"></path>',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',"help-circle":'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',hexagon:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path>',home:'<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline>',image:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',instagram:'<rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line>',italic:'<line x1="19" y1="4" x2="10" y2="4"></line><line x1="14" y1="20" x2="5" y2="20"></line><line x1="15" y1="4" x2="9" y2="20"></line>',key:'<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"></path>',layers:'<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline>',layout:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line>',"life-buoy":'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="14.83" y1="9.17" x2="19.07" y2="4.93"></line><line x1="14.83" y1="9.17" x2="18.36" y2="5.64"></line><line x1="4.93" y1="19.07" x2="9.17" y2="14.83"></line>',"link-2":'<path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>',linkedin:'<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle>',list:'<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',"log-in":'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line>',"log-out":'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',mail:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',"map-pin":'<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle>',map:'<polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line>',"maximize-2":'<polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line>',maximize:'<path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',menu:'<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>',"message-circle":'<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>',"message-square":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',"mic-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"></path><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',mic:'<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',"minimize-2":'<polyline points="4 14 10 14 10 20"></polyline><polyline points="20 10 14 10 14 4"></polyline><line x1="14" y1="10" x2="21" y2="3"></line><line x1="3" y1="21" x2="10" y2="14"></line>',minimize:'<path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"></path>',"minus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="12" x2="16" y2="12"></line>',"minus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',monitor:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',moon:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"mouse-pointer":'<path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"></path><path d="M13 13l6 6"></path>',move:'<polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line>',music:'<path d="M9 18V5l12-2v13"></path><circle cx="6" cy="18" r="3"></circle><circle cx="18" cy="16" r="3"></circle>',"navigation-2":'<polygon points="12 2 19 21 12 17 5 21 12 2"></polygon>',navigation:'<polygon points="3 11 22 2 13 21 11 13 3 11"></polygon>',octagon:'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon>',package:'<line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',paperclip:'<path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path>',"pause-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="10" y1="15" x2="10" y2="9"></line><line x1="14" y1="15" x2="14" y2="9"></line>',pause:'<rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',"phone-call":'<path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-forwarded":'<polyline points="19 1 23 5 19 9"></polyline><line x1="15" y1="5" x2="23" y2="5"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-incoming":'<polyline points="16 2 16 8 22 8"></polyline><line x1="23" y1="1" x2="16" y2="8"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-missed":'<line x1="23" y1="1" x2="17" y2="7"></line><line x1="17" y1="1" x2="23" y2="7"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-off":'<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"></path><line x1="23" y1="1" x2="1" y2="23"></line>',"phone-outgoing":'<polyline points="23 7 23 1 17 1"></polyline><line x1="16" y1="8" x2="23" y2="1"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"pie-chart":'<path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path>',"play-circle":'<circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',"plus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',pocket:'<path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z"></path><polyline points="8 10 12 14 16 10"></polyline>',power:'<path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line>',printer:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',radio:'<circle cx="12" cy="12" r="2"></circle><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"></path>',"refresh-ccw":'<polyline points="1 4 1 10 7 10"></polyline><polyline points="23 20 23 14 17 14"></polyline><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>',"refresh-cw":'<polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>',repeat:'<polyline points="17 1 21 5 17 9"></polyline><path d="M3 11V9a4 4 0 0 1 4-4h14"></path><polyline points="7 23 3 19 7 15"></polyline><path d="M21 13v2a4 4 0 0 1-4 4H3"></path>',rewind:'<polygon points="11 19 2 12 11 5 11 19"></polygon><polygon points="22 19 13 12 22 5 22 19"></polygon>',"rotate-ccw":'<polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>',"rotate-cw":'<polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>',rss:'<path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle>',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',scissors:'<circle cx="6" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><line x1="20" y1="4" x2="8.12" y2="15.88"></line><line x1="14.47" y1="14.48" x2="20" y2="20"></line><line x1="8.12" y1="8.12" x2="12" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>',send:'<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>',server:'<rect x="2" y="2" width="20" height="8" rx="2" ry="2"></rect><rect x="2" y="14" width="20" height="8" rx="2" ry="2"></rect><line x1="6" y1="6" x2="6.01" y2="6"></line><line x1="6" y1="18" x2="6.01" y2="18"></line>',settings:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"share-2":'<circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>',share:'<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line>',"shield-off":'<path d="M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"></path><path d="M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"></path><line x1="1" y1="1" x2="23" y2="23"></line>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"shopping-bag":'<path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"></path><line x1="3" y1="6" x2="21" y2="6"></line><path d="M16 10a4 4 0 0 1-8 0"></path>',"shopping-cart":'<circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>',shuffle:'<polyline points="16 3 21 3 21 8"></polyline><line x1="4" y1="20" x2="21" y2="3"></line><polyline points="21 16 21 21 16 21"></polyline><line x1="15" y1="15" x2="21" y2="21"></line><line x1="4" y1="4" x2="9" y2="9"></line>',sidebar:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line>',"skip-back":'<polygon points="19 20 9 12 19 4 19 20"></polygon><line x1="5" y1="19" x2="5" y2="5"></line>',"skip-forward":'<polygon points="5 4 15 12 5 20 5 4"></polygon><line x1="19" y1="5" x2="19" y2="19"></line>',slack:'<path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"></path><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"></path><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"></path><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"></path><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"></path><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"></path>',slash:'<circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line>',sliders:'<line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line>',smartphone:'<rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',smile:'<circle cx="12" cy="12" r="10"></circle><path d="M8 14s1.5 2 4 2 4-2 4-2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',speaker:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><circle cx="12" cy="14" r="4"></circle><line x1="12" y1="6" x2="12.01" y2="6"></line>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',"stop-circle":'<circle cx="12" cy="12" r="10"></circle><rect x="9" y="9" width="6" height="6"></rect>',sun:'<circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>',sunrise:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="2" x2="12" y2="9"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="8 6 12 2 16 6"></polyline>',sunset:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="9" x2="12" y2="2"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="16 5 12 9 8 5"></polyline>',table:'<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"></path>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',tag:'<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>',target:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle>',terminal:'<polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line>',thermometer:'<path d="M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z"></path>',"thumbs-down":'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',"thumbs-up":'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',"toggle-left":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="8" cy="12" r="3"></circle>',"toggle-right":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="16" cy="12" r="3"></circle>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"trash-2":'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',trello:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><rect x="7" y="7" width="3" height="9"></rect><rect x="14" y="7" width="3" height="5"></rect>',"trending-down":'<polyline points="23 18 13.5 8.5 8.5 13.5 1 6"></polyline><polyline points="17 18 23 18 23 12"></polyline>',"trending-up":'<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline>',triangle:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>',truck:'<rect x="1" y="3" width="15" height="13"></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"></polygon><circle cx="5.5" cy="18.5" r="2.5"></circle><circle cx="18.5" cy="18.5" r="2.5"></circle>',tv:'<rect x="2" y="7" width="20" height="15" rx="2" ry="2"></rect><polyline points="17 2 12 7 7 2"></polyline>',twitch:'<path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"></path>',twitter:'<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>',type:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',umbrella:'<path d="M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7"></path>',underline:'<path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3"></path><line x1="4" y1="21" x2="20" y2="21"></line>',unlock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',"user-check":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><polyline points="17 11 19 13 23 9"></polyline>',"user-minus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="23" y1="11" x2="17" y2="11"></line>',"user-plus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',"user-x":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="18" y1="8" x2="23" y2="13"></line><line x1="23" y1="8" x2="18" y2="13"></line>',user:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',users:'<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path>',"video-off":'<path d="M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10"></path><line x1="1" y1="1" x2="23" y2="23"></line>',video:'<polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>',voicemail:'<circle cx="5.5" cy="11.5" r="4.5"></circle><circle cx="18.5" cy="11.5" r="4.5"></circle><line x1="5.5" y1="16" x2="18.5" y2="16"></line>',"volume-1":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-2":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-x":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line>',volume:'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>',watch:'<circle cx="12" cy="12" r="7"></circle><polyline points="12 9 12 12 13.5 13.5"></polyline><path d="M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"></path>',"wifi-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wifi:'<path d="M5 12.55a11 11 0 0 1 14.08 0"></path><path d="M1.42 9a16 16 0 0 1 21.16 0"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wind:'<path d="M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2"></path>',"x-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="9" x2="15" y2="15"></line><line x1="15" y1="9" x2="9" y2="15"></line>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',youtube:'<path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon>',"zap-off":'<polyline points="12.41 6.75 13 2 10.57 4.92"></polyline><polyline points="18.57 12.91 21 10 15.66 10"></polyline><polyline points="8 8 3 14 12 14 11 22 16 16"></polyline><line x1="1" y1="1" x2="23" y2="23"></line>',zap:'<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>',"zoom-in":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line>',"zoom-out":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="8" y1="11" x2="14" y2="11"></line>'}},"./node_modules/classnames/dedupe.js":function(n,r,i){var o,s;/*!
|
|
Copyright (c) 2016 Jed Watson.
|
|
Licensed under the MIT License (MIT), see
|
|
http://jedwatson.github.io/classnames
|
|
*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(b,m){for(var x=m.length,E=0;E<x;++E)g(b,m[E])}var u={}.hasOwnProperty;function d(b,m){b[m]=!0}function f(b,m){for(var x in m)u.call(m,x)&&(b[x]=!!m[x])}var p=/\s+/;function h(b,m){for(var x=m.split(p),E=x.length,C=0;C<E;++C)b[x[C]]=!0}function g(b,m){if(m){var x=typeof m;x==="string"?h(b,m):Array.isArray(m)?c(b,m):x==="object"?f(b,m):x==="number"&&d(b,m)}}function w(){for(var b=arguments.length,m=Array(b),x=0;x<b;x++)m[x]=arguments[x];var E=new l;c(E,m);var C=[];for(var R in E)E[R]&&C.push(R);return C.join(" ")}return w}();typeof n<"u"&&n.exports?n.exports=a:(o=[],s=function(){return a}.apply(r,o),s!==void 0&&(n.exports=s))})()},"./node_modules/core-js/es/array/from.js":function(n,r,i){i("./node_modules/core-js/modules/es.string.iterator.js"),i("./node_modules/core-js/modules/es.array.from.js");var o=i("./node_modules/core-js/internals/path.js");n.exports=o.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,r){n.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"./node_modules/core-js/internals/an-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js");n.exports=function(s){if(!o(s))throw TypeError(String(s)+" is not an object");return s}},"./node_modules/core-js/internals/array-from.js":function(n,r,i){var o=i("./node_modules/core-js/internals/bind-context.js"),s=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=i("./node_modules/core-js/internals/is-array-iterator-method.js"),c=i("./node_modules/core-js/internals/to-length.js"),u=i("./node_modules/core-js/internals/create-property.js"),d=i("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(p){var h=s(p),g=typeof this=="function"?this:Array,w=arguments.length,b=w>1?arguments[1]:void 0,m=b!==void 0,x=0,E=d(h),C,R,M,P;if(m&&(b=o(b,w>2?arguments[2]:void 0,2)),E!=null&&!(g==Array&&l(E)))for(P=E.call(h),R=new g;!(M=P.next()).done;x++)u(R,x,m?a(P,b,[M.value,x],!0):M.value);else for(C=c(h.length),R=new g(C);C>x;x++)u(R,x,m?b(h[x],x):h[x]);return R.length=x,R}},"./node_modules/core-js/internals/array-includes.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/to-length.js"),a=i("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,d){var f=o(c),p=s(f.length),h=a(d,p),g;if(l&&u!=u){for(;p>h;)if(g=f[h++],g!=g)return!0}else for(;p>h;h++)if((l||h in f)&&f[h]===u)return l||h||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,i){var o=i("./node_modules/core-js/internals/a-function.js");n.exports=function(s,a,l){if(o(s),a===void 0)return s;switch(l){case 0:return function(){return s.call(a)};case 1:return function(c){return s.call(a,c)};case 2:return function(c,u){return s.call(a,c,u)};case 3:return function(c,u,d){return s.call(a,c,u,d)}}return function(){return s.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,i){var o=i("./node_modules/core-js/internals/an-object.js");n.exports=function(s,a,l,c){try{return c?a(o(l)[0],l[1]):a(l)}catch(d){var u=s.return;throw u!==void 0&&o(u.call(s)),d}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,i){var o=i("./node_modules/core-js/internals/well-known-symbol.js"),s=o("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[s]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,d){if(!d&&!a)return!1;var f=!1;try{var p={};p[s]=function(){return{next:function(){return{done:f=!0}}}},u(p)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var i={}.toString;n.exports=function(o){return i.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,i){var o=i("./node_modules/core-js/internals/classof-raw.js"),s=i("./node_modules/core-js/internals/well-known-symbol.js"),a=s("toStringTag"),l=o(function(){return arguments}())=="Arguments",c=function(u,d){try{return u[d]}catch{}};n.exports=function(u){var d,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(d=Object(u),a))=="string"?f:l?o(d):(p=o(d))=="Object"&&typeof d.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/own-keys.js"),a=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=i("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var d=s(u),f=l.f,p=a.f,h=0;h<d.length;h++){var g=d[h];o(c,g)||f(c,g,p(u,g))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(n,r,i){var o=i("./node_modules/core-js/internals/fails.js");n.exports=!o(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,r,i){var o=i("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,s=i("./node_modules/core-js/internals/object-create.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js"),l=i("./node_modules/core-js/internals/set-to-string-tag.js"),c=i("./node_modules/core-js/internals/iterators.js"),u=function(){return this};n.exports=function(d,f,p){var h=f+" Iterator";return d.prototype=s(o,{next:a(1,p)}),l(d,h,!1,!0),c[h]=u,d}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n,r){n.exports=function(i,o){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:o}}},"./node_modules/core-js/internals/create-property.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-primitive.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(l,c,u){var d=o(c);d in l?s.f(l,d,a(0,u)):l[d]=u}},"./node_modules/core-js/internals/define-iterator.js":function(n,r,i){var o=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/create-iterator-constructor.js"),a=i("./node_modules/core-js/internals/object-get-prototype-of.js"),l=i("./node_modules/core-js/internals/object-set-prototype-of.js"),c=i("./node_modules/core-js/internals/set-to-string-tag.js"),u=i("./node_modules/core-js/internals/hide.js"),d=i("./node_modules/core-js/internals/redefine.js"),f=i("./node_modules/core-js/internals/well-known-symbol.js"),p=i("./node_modules/core-js/internals/is-pure.js"),h=i("./node_modules/core-js/internals/iterators.js"),g=i("./node_modules/core-js/internals/iterators-core.js"),w=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,m=f("iterator"),x="keys",E="values",C="entries",R=function(){return this};n.exports=function(M,P,H,V,Y,N,W){s(H,P,V);var se=function(Se){if(Se===Y&&ge)return ge;if(!b&&Se in J)return J[Se];switch(Se){case x:return function(){return new H(this,Se)};case E:return function(){return new H(this,Se)};case C:return function(){return new H(this,Se)}}return function(){return new H(this)}},Pe=P+" Iterator",ee=!1,J=M.prototype,ne=J[m]||J["@@iterator"]||Y&&J[Y],ge=!b&&ne||se(Y),He=P=="Array"&&J.entries||ne,Ee,me,Be;if(He&&(Ee=a(He.call(new M)),w!==Object.prototype&&Ee.next&&(!p&&a(Ee)!==w&&(l?l(Ee,w):typeof Ee[m]!="function"&&u(Ee,m,R)),c(Ee,Pe,!0,!0),p&&(h[Pe]=R))),Y==E&&ne&&ne.name!==E&&(ee=!0,ge=function(){return ne.call(this)}),(!p||W)&&J[m]!==ge&&u(J,m,ge),h[P]=ge,Y)if(me={values:se(E),keys:N?ge:se(x),entries:se(C)},W)for(Be in me)(b||ee||!(Be in J))&&d(J,Be,me[Be]);else o({target:P,proto:!0,forced:b||ee},me);return me}},"./node_modules/core-js/internals/descriptors.js":function(n,r,i){var o=i("./node_modules/core-js/internals/fails.js");n.exports=!o(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/is-object.js"),a=o.document,l=s(a)&&s(a.createElement);n.exports=function(c){return l?a.createElement(c):{}}},"./node_modules/core-js/internals/enum-bug-keys.js":function(n,r){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=i("./node_modules/core-js/internals/hide.js"),l=i("./node_modules/core-js/internals/redefine.js"),c=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/copy-constructor-properties.js"),d=i("./node_modules/core-js/internals/is-forced.js");n.exports=function(f,p){var h=f.target,g=f.global,w=f.stat,b,m,x,E,C,R;if(g?m=o:w?m=o[h]||c(h,{}):m=(o[h]||{}).prototype,m)for(x in p){if(C=p[x],f.noTargetGet?(R=s(m,x),E=R&&R.value):E=m[x],b=d(g?x:h+(w?".":"#")+x,f.forced),!b&&E!==void 0){if(typeof C==typeof E)continue;u(C,E)}(f.sham||E&&E.sham)&&a(C,"sham",!0),l(m,x,C,f)}}},"./node_modules/core-js/internals/fails.js":function(n,r){n.exports=function(i){try{return!!i()}catch{return!0}}},"./node_modules/core-js/internals/function-to-string.js":function(n,r,i){var o=i("./node_modules/core-js/internals/shared.js");n.exports=o("native-function-to-string",Function.toString)},"./node_modules/core-js/internals/get-iterator-method.js":function(n,r,i){var o=i("./node_modules/core-js/internals/classof.js"),s=i("./node_modules/core-js/internals/iterators.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),l=a("iterator");n.exports=function(c){if(c!=null)return c[l]||c["@@iterator"]||s[o(c)]}},"./node_modules/core-js/internals/global.js":function(n,r,i){(function(o){var s="object",a=function(l){return l&&l.Math==Math&&l};n.exports=a(typeof globalThis==s&&globalThis)||a(typeof window==s&&window)||a(typeof self==s&&self)||a(typeof o==s&&o)||Function("return this")()}).call(this,i("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/internals/has.js":function(n,r){var i={}.hasOwnProperty;n.exports=function(o,s){return i.call(o,s)}},"./node_modules/core-js/internals/hidden-keys.js":function(n,r){n.exports={}},"./node_modules/core-js/internals/hide.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=o?function(l,c,u){return s.f(l,c,a(1,u))}:function(l,c,u){return l[c]=u,l}},"./node_modules/core-js/internals/html.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=o.document;n.exports=s&&s.documentElement},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/fails.js"),a=i("./node_modules/core-js/internals/document-create-element.js");n.exports=!o&&!s(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/fails.js"),s=i("./node_modules/core-js/internals/classof-raw.js"),a="".split;n.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return s(l)=="String"?a.call(l,""):Object(l)}:Object},"./node_modules/core-js/internals/internal-state.js":function(n,r,i){var o=i("./node_modules/core-js/internals/native-weak-map.js"),s=i("./node_modules/core-js/internals/global.js"),a=i("./node_modules/core-js/internals/is-object.js"),l=i("./node_modules/core-js/internals/hide.js"),c=i("./node_modules/core-js/internals/has.js"),u=i("./node_modules/core-js/internals/shared-key.js"),d=i("./node_modules/core-js/internals/hidden-keys.js"),f=s.WeakMap,p,h,g,w=function(M){return g(M)?h(M):p(M,{})},b=function(M){return function(P){var H;if(!a(P)||(H=h(P)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return H}};if(o){var m=new f,x=m.get,E=m.has,C=m.set;p=function(M,P){return C.call(m,M,P),P},h=function(M){return x.call(m,M)||{}},g=function(M){return E.call(m,M)}}else{var R=u("state");d[R]=!0,p=function(M,P){return l(M,R,P),P},h=function(M){return c(M,R)?M[R]:{}},g=function(M){return c(M,R)}}n.exports={set:p,get:h,has:g,enforce:w,getterFor:b}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(n,r,i){var o=i("./node_modules/core-js/internals/well-known-symbol.js"),s=i("./node_modules/core-js/internals/iterators.js"),a=o("iterator"),l=Array.prototype;n.exports=function(c){return c!==void 0&&(s.Array===c||l[a]===c)}},"./node_modules/core-js/internals/is-forced.js":function(n,r,i){var o=i("./node_modules/core-js/internals/fails.js"),s=/#|\.prototype\./,a=function(f,p){var h=c[l(f)];return h==d?!0:h==u?!1:typeof p=="function"?o(p):!!p},l=a.normalize=function(f){return String(f).replace(s,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",d=a.POLYFILL="P";n.exports=a},"./node_modules/core-js/internals/is-object.js":function(n,r){n.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n,r){n.exports=!1},"./node_modules/core-js/internals/iterators-core.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-get-prototype-of.js"),s=i("./node_modules/core-js/internals/hide.js"),a=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/well-known-symbol.js"),c=i("./node_modules/core-js/internals/is-pure.js"),u=l("iterator"),d=!1,f=function(){return this},p,h,g;[].keys&&(g=[].keys(),"next"in g?(h=o(o(g)),h!==Object.prototype&&(p=h)):d=!0),p==null&&(p={}),!c&&!a(p,u)&&s(p,u,f),n.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:d}},"./node_modules/core-js/internals/iterators.js":function(n,r){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,r,i){var o=i("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/function-to-string.js"),a=o.WeakMap;n.exports=typeof a=="function"&&/native code/.test(s.call(a))},"./node_modules/core-js/internals/object-create.js":function(n,r,i){var o=i("./node_modules/core-js/internals/an-object.js"),s=i("./node_modules/core-js/internals/object-define-properties.js"),a=i("./node_modules/core-js/internals/enum-bug-keys.js"),l=i("./node_modules/core-js/internals/hidden-keys.js"),c=i("./node_modules/core-js/internals/html.js"),u=i("./node_modules/core-js/internals/document-create-element.js"),d=i("./node_modules/core-js/internals/shared-key.js"),f=d("IE_PROTO"),p="prototype",h=function(){},g=function(){var w=u("iframe"),b=a.length,m="<",x="script",E=">",C="java"+x+":",R;for(w.style.display="none",c.appendChild(w),w.src=String(C),R=w.contentWindow.document,R.open(),R.write(m+x+E+"document.F=Object"+m+"/"+x+E),R.close(),g=R.F;b--;)delete g[p][a[b]];return g()};n.exports=Object.create||function(b,m){var x;return b!==null?(h[p]=o(b),x=new h,h[p]=null,x[f]=b):x=g(),m===void 0?x:s(x,m)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),a=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/object-keys.js");n.exports=o?Object.defineProperties:function(u,d){a(u);for(var f=l(d),p=f.length,h=0,g;p>h;)s.f(u,g=f[h++],d[g]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/ie8-dom-define.js"),a=i("./node_modules/core-js/internals/an-object.js"),l=i("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=o?c:function(d,f,p){if(a(d),f=l(f,!0),a(p),s)try{return c(d,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(d[f]=p.value),d}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js"),l=i("./node_modules/core-js/internals/to-indexed-object.js"),c=i("./node_modules/core-js/internals/to-primitive.js"),u=i("./node_modules/core-js/internals/has.js"),d=i("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;r.f=o?f:function(h,g){if(h=l(h),g=c(g,!0),d)try{return f(h,g)}catch{}if(u(h,g))return a(!s.f.call(h,g),h[g])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js"),a=s.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return o(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/shared-key.js"),l=i("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(d){return d=s(d),o(d,c)?d[c]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/array-includes.js"),l=i("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,d){var f=s(u),p=0,h=[],g;for(g in f)!o(l,g)&&o(f,g)&&h.push(g);for(;d.length>p;)o(f,g=d[p++])&&(~c(h,g)||h.push(g));return h}},"./node_modules/core-js/internals/object-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return o(l,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,i){var o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,a=s&&!o.call({1:2},1);r.f=a?function(c){var u=s(this,c);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),s=a instanceof Array}catch{}return function(u,d){return o(u,d),s?l.call(u,d):u.__proto__=d,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/object-get-own-property-names.js"),a=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=i("./node_modules/core-js/internals/an-object.js"),c=o.Reflect;n.exports=c&&c.ownKeys||function(d){var f=s.f(l(d)),p=a.f;return p?f.concat(p(d)):f}},"./node_modules/core-js/internals/path.js":function(n,r,i){n.exports=i("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/hide.js"),l=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/function-to-string.js"),d=i("./node_modules/core-js/internals/internal-state.js"),f=d.get,p=d.enforce,h=String(u).split("toString");s("inspectSource",function(g){return u.call(g)}),(n.exports=function(g,w,b,m){var x=m?!!m.unsafe:!1,E=m?!!m.enumerable:!1,C=m?!!m.noTargetGet:!1;if(typeof b=="function"&&(typeof w=="string"&&!l(b,"name")&&a(b,"name",w),p(b).source=h.join(typeof w=="string"?w:"")),g===o){E?g[w]=b:c(w,b);return}else x?!C&&g[w]&&(E=!0):delete g[w];E?g[w]=b:a(g,w,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{s(o,a,l)}catch{o[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-define-property.js").f,s=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,d){c&&!s(c=d?c:c.prototype,l)&&o(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,i){var o=i("./node_modules/core-js/internals/shared.js"),s=i("./node_modules/core-js/internals/uid.js"),a=o("keys");n.exports=function(l){return a[l]||(a[l]=s(l))}},"./node_modules/core-js/internals/shared.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/set-global.js"),a=i("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=o[l]||s(l,{});(n.exports=function(u,d){return c[u]||(c[u]=d!==void 0?d:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(s(a)),d=o(l),f=u.length,p,h;return d<0||d>=f?c?"":void 0:(p=u.charCodeAt(d),p<55296||p>56319||d+1===f||(h=u.charCodeAt(d+1))<56320||h>57343?c?u.charAt(d):p:c?u.slice(d,d+2):(p-55296<<10)+(h-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.max,a=Math.min;n.exports=function(l,c){var u=o(l);return u<0?s(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/indexed-object.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return o(s(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var i=Math.ceil,o=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?o:i)(s)}},"./node_modules/core-js/internals/to-length.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.min;n.exports=function(a){return a>0?s(o(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(s){return Object(o(s))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js");n.exports=function(s,a){if(!o(s))return s;var l,c;if(a&&typeof(l=s.toString)=="function"&&!o(c=l.call(s))||typeof(l=s.valueOf)=="function"&&!o(c=l.call(s))||!a&&typeof(l=s.toString)=="function"&&!o(c=l.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var i=0,o=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++i+o).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(s(a),!o(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/uid.js"),l=i("./node_modules/core-js/internals/native-symbol.js"),c=o.Symbol,u=s("wks");n.exports=function(d){return u[d]||(u[d]=l&&c[d]||(l?c:a)("Symbol."+d))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,i){var o=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/array-from.js"),a=i("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});o({target:"Array",stat:!0,forced:l},{from:s})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,i){var o=i("./node_modules/core-js/internals/string-at.js"),s=i("./node_modules/core-js/internals/internal-state.js"),a=i("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=s.set,u=s.getterFor(l);a(String,"String",function(d){c(this,{type:l,string:String(d),index:0})},function(){var f=u(this),p=f.string,h=f.index,g;return h>=p.length?{value:void 0,done:!0}:(g=o(p,h,!0),f.index+=g.length,{value:g,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(i=window)}n.exports=i},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(g){for(var w=1;w<arguments.length;w++){var b=arguments[w];for(var m in b)Object.prototype.hasOwnProperty.call(b,m)&&(g[m]=b[m])}return g},s=function(){function g(w,b){for(var m=0;m<b.length;m++){var x=b[m];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(w,x.key,x)}}return function(w,b,m){return b&&g(w.prototype,b),m&&g(w,m),w}}(),a=i("./node_modules/classnames/dedupe.js"),l=d(a),c=i("./src/default-attrs.json"),u=d(c);function d(g){return g&&g.__esModule?g:{default:g}}function f(g,w){if(!(g instanceof w))throw new TypeError("Cannot call a class as a function")}var p=function(){function g(w,b){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];f(this,g),this.name=w,this.contents=b,this.tags=m,this.attrs=o({},u.default,{class:"feather feather-"+w})}return s(g,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=o({},this.attrs,b,{class:(0,l.default)(this.attrs.class,b.class)});return"<svg "+h(m)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),g}();function h(g){return Object.keys(g).map(function(w){return w+'="'+g[w]+'"'}).join(" ")}r.default=p},"./src/icons.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icon.js"),s=d(o),a=i("./dist/icons.json"),l=d(a),c=i("./src/tags.json"),u=d(c);function d(f){return f&&f.__esModule?f:{default:f}}r.default=Object.keys(l.default).map(function(f){return new s.default(f,l.default[f],u.default[f])}).reduce(function(f,p){return f[p.name]=p,f},{})},"./src/index.js":function(n,r,i){var o=i("./src/icons.js"),s=d(o),a=i("./src/to-svg.js"),l=d(a),c=i("./src/replace.js"),u=d(c);function d(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:s.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(h){for(var g=1;g<arguments.length;g++){var w=arguments[g];for(var b in w)Object.prototype.hasOwnProperty.call(w,b)&&(h[b]=w[b])}return h},s=i("./node_modules/classnames/dedupe.js"),a=u(s),l=i("./src/icons.js"),c=u(l);function u(h){return h&&h.__esModule?h:{default:h}}function d(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var g=document.querySelectorAll("[data-feather]");Array.from(g).forEach(function(w){return f(w,h)})}function f(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=p(h),b=w["data-feather"];delete w["data-feather"];var m=c.default[b].toSvg(o({},g,w,{class:(0,a.default)(g.class,w.class)})),x=new DOMParser().parseFromString(m,"image/svg+xml"),E=x.querySelector("svg");h.parentNode.replaceChild(E,h)}function p(h){return Array.from(h.attributes).reduce(function(g,w){return g[w.name]=w.value,g},{})}r.default=d},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icons.js"),s=a(o);function a(c){return c&&c.__esModule?c:{default:c}}function l(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return s.default[c].toSvg(u)}r.default=l},0:function(n,r,i){i("./node_modules/core-js/es/array/from.js"),n.exports=i("./src/index.js")}})})})(H0);const Jr=F0(ms),z0={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},V0={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},U0={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},K0=_("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),W0=_("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),q0=_("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),G0=_("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),Y0=_("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),pd={__name:"Navigation",setup(e){return(t,n)=>(G(),ie("div",z0,[_("div",V0,[_("ul",U0,[_("li",null,[ye(Ae(xn),{to:{name:"discussions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Re(()=>[K0]),_:1})]),_("li",null,[ye(Ae(xn),{to:{name:"settings"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Re(()=>[W0]),_:1})]),_("li",null,[ye(Ae(xn),{to:{name:"extensions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Re(()=>[q0]),_:1})]),_("li",null,[ye(Ae(xn),{to:{name:"training"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Re(()=>[G0]),_:1})]),_("li",null,[ye(Ae(xn),{to:{name:"help"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Re(()=>[Y0]),_:1})])])])]))}},J0={class:"top-0 shadow-lg"},X0={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},Q0=_("div",{class:"flex items-center gap-3 flex-1"},[_("img",{class:"w-12 hover:scale-95 duration-150",title:"GPT4ALL-UI",src:fd,alt:"Logo"}),_("p",{class:"text-2xl"},"GPT4ALL-UI")],-1),Z0={class:"flex gap-3 flex-1 items-center justify-end"},eg=_("a",{href:"https://github.com/nomic-ai/gpt4all-ui",target:"_blank"},[_("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[_("i",{"data-feather":"github"})])],-1),tg=_("i",{"data-feather":"sun"},null,-1),ng=[tg],rg=_("i",{"data-feather":"moon"},null,-1),ig=[rg],og=_("body",null,null,-1),sg={name:"TopBar",data(){return{sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),xt(()=>{Jr.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none");return}this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.iconToggle();return}document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:pd}},ag=Object.assign(sg,{setup(e){return(t,n)=>(G(),ie(_e,null,[_("header",J0,[_("nav",X0,[ye(Ae(xn),{to:{name:"discussions"}},{default:Re(()=>[Q0]),_:1}),_("div",Z0,[eg,_("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=r=>t.themeSwitch())},ng),_("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=r=>t.themeSwitch())},ig)])]),ye(pd)]),og],64))}}),Dt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},lg={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},cg={class:"flex overflow-hidden flex-grow"},ug={__name:"App",setup(e){return(t,n)=>(G(),ie("div",lg,[ye(ag),_("div",cg,[ye(Ae(dd),null,{default:Re(({Component:r})=>[(G(),We(gh,null,[(G(),We(Cu(r)))],1024))]),_:1})])]))}},dg={setup(){return{}}};function fg(e,t,n,r,i,o){return G(),ie("div",null," Extensions ")}const pg=Dt(dg,[["render",fg]]),hg={setup(){return{}}};function gg(e,t,n,r,i,o){return G(),ie("div",null," Help ")}const yg=Dt(hg,[["render",gg]]);function hd(e,t){return function(){return e.apply(t,arguments)}}const{toString:mg}=Object.prototype,{getPrototypeOf:la}=Object,bo=(e=>t=>{const n=mg.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ft=e=>(e=e.toLowerCase(),t=>bo(t)===e),xo=e=>t=>typeof t===e,{isArray:ur}=Array,Ur=xo("undefined");function vg(e){return e!==null&&!Ur(e)&&e.constructor!==null&&!Ur(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gd=Ft("ArrayBuffer");function bg(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gd(e.buffer),t}const xg=xo("string"),Lt=xo("function"),yd=xo("number"),ca=e=>e!==null&&typeof e=="object",wg=e=>e===!0||e===!1,wi=e=>{if(bo(e)!=="object")return!1;const t=la(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_g=Ft("Date"),Eg=Ft("File"),jg=Ft("Blob"),Ag=Ft("FileList"),kg=e=>ca(e)&&Lt(e.pipe),Og=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Lt(e.append)&&((t=bo(e))==="formdata"||t==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},Sg=Ft("URLSearchParams"),Cg=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ur(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let a;for(r=0;r<s;r++)a=o[r],t.call(null,e[a],a,e)}}function md(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const vd=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),bd=e=>!Ur(e)&&e!==vd;function vs(){const{caseless:e}=bd(this)&&this||{},t={},n=(r,i)=>{const o=e&&md(t,i)||i;wi(t[o])&&wi(r)?t[o]=vs(t[o],r):wi(r)?t[o]=vs({},r):ur(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Xr(arguments[r],n);return t}const Tg=(e,t,n,{allOwnKeys:r}={})=>(Xr(t,(i,o)=>{n&&Lt(i)?e[o]=hd(i,n):e[o]=i},{allOwnKeys:r}),e),Pg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Rg=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Mg=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&la(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Lg=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},$g=e=>{if(!e)return null;if(ur(e))return e;let t=e.length;if(!yd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ig=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&la(Uint8Array)),Ng=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Bg=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Dg=Ft("HTMLFormElement"),Fg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),$l=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hg=Ft("RegExp"),xd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Xr(n,(i,o)=>{t(i,o,e)!==!1&&(r[o]=i)}),Object.defineProperties(e,r)},zg=e=>{xd(e,(t,n)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Lt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Vg=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ur(e)?r(e):r(String(e).split(t)),n},Ug=()=>{},Kg=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Go="abcdefghijklmnopqrstuvwxyz",Il="0123456789",wd={DIGIT:Il,ALPHA:Go,ALPHA_DIGIT:Go+Go.toUpperCase()+Il},Wg=(e=16,t=wd.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function qg(e){return!!(e&&Lt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Gg=e=>{const t=new Array(10),n=(r,i)=>{if(ca(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ur(r)?[]:{};return Xr(r,(s,a)=>{const l=n(s,i+1);!Ur(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},O={isArray:ur,isArrayBuffer:gd,isBuffer:vg,isFormData:Og,isArrayBufferView:bg,isString:xg,isNumber:yd,isBoolean:wg,isObject:ca,isPlainObject:wi,isUndefined:Ur,isDate:_g,isFile:Eg,isBlob:jg,isRegExp:Hg,isFunction:Lt,isStream:kg,isURLSearchParams:Sg,isTypedArray:Ig,isFileList:Ag,forEach:Xr,merge:vs,extend:Tg,trim:Cg,stripBOM:Pg,inherits:Rg,toFlatObject:Mg,kindOf:bo,kindOfTest:Ft,endsWith:Lg,toArray:$g,forEachEntry:Ng,matchAll:Bg,isHTMLForm:Dg,hasOwnProperty:$l,hasOwnProp:$l,reduceDescriptors:xd,freezeMethods:zg,toObjectSet:Vg,toCamelCase:Fg,noop:Ug,toFiniteNumber:Kg,findKey:md,global:vd,isContextDefined:bd,ALPHABET:wd,generateString:Wg,isSpecCompliantForm:qg,toJSONObject:Gg};function de(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}O.inherits(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _d=de.prototype,Ed={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ed[e]={value:e}});Object.defineProperties(de,Ed);Object.defineProperty(_d,"isAxiosError",{value:!0});de.from=(e,t,n,r,i,o)=>{const s=Object.create(_d);return O.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),de.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const Yg=null;function bs(e){return O.isPlainObject(e)||O.isArray(e)}function jd(e){return O.endsWith(e,"[]")?e.slice(0,-2):e}function Nl(e,t,n){return e?e.concat(t).map(function(i,o){return i=jd(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Jg(e){return O.isArray(e)&&!e.some(bs)}const Xg=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function wo(e,t,n){if(!O.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!O.isUndefined(w[g])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(t);if(!O.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(O.isDate(h))return h.toISOString();if(!l&&O.isBlob(h))throw new de("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(h)||O.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,w){let b=h;if(h&&!w&&typeof h=="object"){if(O.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if(O.isArray(h)&&Jg(h)||(O.isFileList(h)||O.endsWith(g,"[]"))&&(b=O.toArray(h)))return g=jd(g),b.forEach(function(x,E){!(O.isUndefined(x)||x===null)&&t.append(s===!0?Nl([g],E,o):s===null?g:g+"[]",c(x))}),!1}return bs(h)?!0:(t.append(Nl(w,g,o),c(h)),!1)}const d=[],f=Object.assign(Xg,{defaultVisitor:u,convertValue:c,isVisitable:bs});function p(h,g){if(!O.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),O.forEach(h,function(b,m){(!(O.isUndefined(b)||b===null)&&i.call(t,b,O.isString(m)?m.trim():m,g,f))===!0&&p(b,g?g.concat(m):[m])}),d.pop()}}if(!O.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Bl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ua(e,t){this._pairs=[],e&&wo(e,this,t)}const Ad=ua.prototype;Ad.append=function(t,n){this._pairs.push([t,n])};Ad.toString=function(t){const n=t?function(r){return t.call(this,r,Bl)}:Bl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Qg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function kd(e,t,n){if(!t)return e;const r=n&&n.encode||Qg,i=n&&n.serialize;let o;if(i?o=i(t,n):o=O.isURLSearchParams(t)?t.toString():new ua(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Zg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){O.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Dl=Zg,Od={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ey=typeof URLSearchParams<"u"?URLSearchParams:ua,ty=typeof FormData<"u"?FormData:null,ny=typeof Blob<"u"?Blob:null,ry=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),iy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bt={isBrowser:!0,classes:{URLSearchParams:ey,FormData:ty,Blob:ny},isStandardBrowserEnv:ry,isStandardBrowserWebWorkerEnv:iy,protocols:["http","https","file","blob","url","data"]};function oy(e,t){return wo(e,new bt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return bt.isNode&&O.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function sy(e){return O.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ay(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function Sd(e){function t(n,r,i,o){let s=n[o++];const a=Number.isFinite(+s),l=o>=n.length;return s=!s&&O.isArray(i)?i.length:s,l?(O.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!O.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&O.isArray(i[s])&&(i[s]=ay(i[s])),!a)}if(O.isFormData(e)&&O.isFunction(e.entries)){const n={};return O.forEachEntry(e,(r,i)=>{t(sy(r),i,n,0)}),n}return null}const ly={"Content-Type":void 0};function cy(e,t,n){if(O.isString(e))try{return(t||JSON.parse)(e),O.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const _o={transitional:Od,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=O.isObject(t);if(o&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return i&&i?JSON.stringify(Sd(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return oy(t,this.formSerializer).toString();if((a=O.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return wo(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),cy(t)):t}],transformResponse:[function(t){const n=this.transitional||_o.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&O.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?de.from(a,de.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bt.classes.FormData,Blob:bt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(t){_o.headers[t]={}});O.forEach(["post","put","patch"],function(t){_o.headers[t]=O.merge(ly)});const da=_o,uy=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dy=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&uy[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Fl=Symbol("internals");function yr(e){return e&&String(e).trim().toLowerCase()}function _i(e){return e===!1||e==null?e:O.isArray(e)?e.map(_i):String(e)}function fy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const py=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yo(e,t,n,r,i){if(O.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!O.isString(t)){if(O.isString(r))return t.indexOf(r)!==-1;if(O.isRegExp(r))return r.test(t)}}function hy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function gy(e,t){const n=O.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class Eo{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,c){const u=yr(l);if(!u)throw new Error("header name must be a non-empty string");const d=O.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=_i(a))}const s=(a,l)=>O.forEach(a,(c,u)=>o(c,u,l));return O.isPlainObject(t)||t instanceof this.constructor?s(t,n):O.isString(t)&&(t=t.trim())&&!py(t)?s(dy(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=yr(t),t){const r=O.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return fy(i);if(O.isFunction(n))return n.call(this,i,r);if(O.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yr(t),t){const r=O.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Yo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=yr(s),s){const a=O.findKey(r,s);a&&(!n||Yo(r,r[a],a,n))&&(delete r[a],i=!0)}}return O.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Yo(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return O.forEach(this,(i,o)=>{const s=O.findKey(r,o);if(s){n[s]=_i(i),delete n[o];return}const a=t?hy(o):String(o).trim();a!==o&&delete n[o],n[a]=_i(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return O.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&O.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Fl]=this[Fl]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=yr(s);r[a]||(gy(i,s),r[a]=!0)}return O.isArray(t)?t.forEach(o):o(t),this}}Eo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.freezeMethods(Eo.prototype);O.freezeMethods(Eo);const Pt=Eo;function Jo(e,t){const n=this||da,r=t||n,i=Pt.from(r.headers);let o=r.data;return O.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Cd(e){return!!(e&&e.__CANCEL__)}function Qr(e,t,n){de.call(this,e??"canceled",de.ERR_CANCELED,t,n),this.name="CanceledError"}O.inherits(Qr,de,{__CANCEL__:!0});function yy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new de("Request failed with status code "+n.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const my=bt.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,s,a){const l=[];l.push(n+"="+encodeURIComponent(r)),O.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),O.isString(o)&&l.push("path="+o),O.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function vy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function by(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Td(e,t){return e&&!vy(t)?by(e,t):t}const xy=bt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=O.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function wy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function _y(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];s||(s=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s<t)return;const p=u&&c-u;return p?Math.round(f*1e3/p):void 0}}function Hl(e,t){let n=0;const r=_y(50,250);return i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),c=o<=s;n=o;const u={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const Ey=typeof XMLHttpRequest<"u",jy=Ey&&function(e){return new Promise(function(n,r){let i=e.data;const o=Pt.from(e.headers).normalize(),s=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}O.isFormData(i)&&(bt.isStandardBrowserEnv||bt.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(p+":"+h))}const u=Td(e.baseURL,e.url);c.open(e.method.toUpperCase(),kd(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const p=Pt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};yy(function(b){n(b),l()},function(b){r(b),l()},g),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(r(new de("Request aborted",de.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new de("Network Error",de.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||Od;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new de(h,g.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,c)),c=null},bt.isStandardBrowserEnv){const p=(e.withCredentials||xy(u))&&e.xsrfCookieName&&my.read(e.xsrfCookieName);p&&o.set(e.xsrfHeaderName,p)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&O.forEach(o.toJSON(),function(h,g){c.setRequestHeader(g,h)}),O.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Hl(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Hl(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=p=>{c&&(r(!p||p.type?new Qr(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=wy(u);if(f&&bt.protocols.indexOf(f)===-1){r(new de("Unsupported protocol "+f+":",de.ERR_BAD_REQUEST,e));return}c.send(i||null)})},Ei={http:Yg,xhr:jy};O.forEach(Ei,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ay={getAdapter:e=>{e=O.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let i=0;i<t&&(n=e[i],!(r=O.isString(n)?Ei[n.toLowerCase()]:n));i++);if(!r)throw r===!1?new de(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(O.hasOwnProp(Ei,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!O.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Ei};function Xo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qr(null,e)}function zl(e){return Xo(e),e.headers=Pt.from(e.headers),e.data=Jo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ay.getAdapter(e.adapter||da.adapter)(e).then(function(r){return Xo(e),r.data=Jo.call(e,e.transformResponse,r),r.headers=Pt.from(r.headers),r},function(r){return Cd(r)||(Xo(e),r&&r.response&&(r.response.data=Jo.call(e,e.transformResponse,r.response),r.response.headers=Pt.from(r.response.headers))),Promise.reject(r)})}const Vl=e=>e instanceof Pt?e.toJSON():e;function er(e,t){t=t||{};const n={};function r(c,u,d){return O.isPlainObject(c)&&O.isPlainObject(u)?O.merge.call({caseless:d},c,u):O.isPlainObject(u)?O.merge({},u):O.isArray(u)?u.slice():u}function i(c,u,d){if(O.isUndefined(u)){if(!O.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function o(c,u){if(!O.isUndefined(u))return r(void 0,u)}function s(c,u){if(O.isUndefined(u)){if(!O.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u)=>i(Vl(c),Vl(u),!0)};return O.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const d=l[u]||i,f=d(e[u],t[u],u);O.isUndefined(f)&&d!==a||(n[u]=f)}),n}const Pd="1.3.6",fa={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fa[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ul={};fa.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Pd+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new de(i(s," has been removed"+(n?" in "+n:"")),de.ERR_DEPRECATED);return n&&!Ul[s]&&(Ul[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function ky(e,t,n){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new de("option "+o+" must be "+l,de.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new de("Unknown option "+o,de.ERR_BAD_OPTION)}}const xs={assertOptions:ky,validators:fa},Kt=xs.validators;class Bi{constructor(t){this.defaults=t,this.interceptors={request:new Dl,response:new Dl}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=er(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&xs.assertOptions(r,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean)},!1),i!=null&&(O.isFunction(i)?n.paramsSerializer={serialize:i}:xs.assertOptions(i,{encode:Kt.function,serialize:Kt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s;s=o&&O.merge(o.common,o[n.method]),s&&O.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=Pt.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const h=[zl.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=a.length;let p=n;for(d=0;d<f;){const h=a[d++],g=a[d++];try{p=h(p)}catch(w){g.call(this,w);break}}try{u=zl.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=er(this.defaults,t);const n=Td(t.baseURL,t.url);return kd(n,t.params,t.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(t){Bi.prototype[t]=function(n,r){return this.request(er(r||{},{method:t,url:n,data:(r||{}).data}))}});O.forEach(["post","put","patch"],function(t){function n(r){return function(o,s,a){return this.request(er(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}Bi.prototype[t]=n(),Bi.prototype[t+"Form"]=n(!0)});const ji=Bi;class pa{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new Qr(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new pa(function(i){t=i}),cancel:t}}}const Oy=pa;function Sy(e){return function(n){return e.apply(null,n)}}function Cy(e){return O.isObject(e)&&e.isAxiosError===!0}const ws={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ws).forEach(([e,t])=>{ws[t]=e});const Ty=ws;function Rd(e){const t=new ji(e),n=hd(ji.prototype.request,t);return O.extend(n,ji.prototype,t,{allOwnKeys:!0}),O.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Rd(er(e,i))},n}const Me=Rd(da);Me.Axios=ji;Me.CanceledError=Qr;Me.CancelToken=Oy;Me.isCancel=Cd;Me.VERSION=Pd;Me.toFormData=wo;Me.AxiosError=de;Me.Cancel=Me.CanceledError;Me.all=function(t){return Promise.all(t)};Me.spread=Sy;Me.isAxiosError=Cy;Me.mergeConfig=er;Me.AxiosHeaders=Pt;Me.formToJSON=e=>Sd(O.isHTMLForm(e)?new FormData(e):e);Me.HttpStatusCode=Ty;Me.default=Me;const _s=Me,Py={setup(){return{}},data(){return{backendsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{}}},methods:{async api_get_req(e){try{const t=await _s.get("/"+e);if(t)return t.data}catch(t){return console.log(t),[]}}},async mounted(){this.backendsArr=await this.api_get_req("list_backends"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.configFile=await this.api_get_req("get_config")}},Ry={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[29rem] max-w-[29rem] bg-bg-light-tone dark:bg-bg-dark-tone"},My={class:"p-2"},Ly={class:"m-2"},$y=_("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),Iy={id:"backend",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ny={class:"m-2"},By=_("label",{for:"model",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Model: ",-1),Dy={id:"model",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Fy={class:"m-2"},Hy=_("label",{for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Languages: ",-1),zy={id:"persLang",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Vy={class:"m-2"},Uy=_("label",{for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Category: ",-1),Ky={id:"persCat",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Wy={class:"m-2"},qy=_("label",{for:"persona",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Persona: ",-1),Gy={id:"persona",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Yy={class:"m-2"},Jy=_("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1),Xy={class:"m-2"},Qy={class:"flex flex-col align-bottom"},Zy={class:"relative"},em=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"temp",class:"text-sm font-medium"}," Temperature: ")],-1),tm={class:"absolute right-0"},nm={class:"m-2"},rm={class:"flex flex-col align-bottom"},im={class:"relative"},om=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1),sm={class:"absolute right-0"},am={class:"m-2"},lm={class:"flex flex-col align-bottom"},cm={class:"relative"},um=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1),dm={class:"absolute right-0"},fm={class:"m-2"},pm={class:"flex flex-col align-bottom"},hm={class:"relative"},gm=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1),ym={class:"absolute right-0"},mm={class:"m-2"},vm={class:"flex flex-col align-bottom"},bm={class:"relative"},xm=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1),wm={class:"absolute right-0"},_m={class:"m-2"},Em={class:"flex flex-col align-bottom"},jm={class:"relative"},Am=_("p",{class:"absolute left-0 mt-6"},[_("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1),km={class:"absolute right-0"};function Om(e,t,n,r,i,o){return G(),ie("div",Ry,[_("div",My,[_("div",Ly,[$y,_("select",Iy,[(G(!0),ie(_e,null,vn(i.backendsArr,s=>(G(),ie("option",null,Tt(s),1))),256))])]),_("div",Ny,[By,_("select",Dy,[(G(!0),ie(_e,null,vn(i.modelsArr,s=>(G(),ie("option",null,Tt(s),1))),256))])]),_("div",Fy,[Hy,_("select",zy,[(G(!0),ie(_e,null,vn(i.persLangArr,s=>(G(),ie("option",null,Tt(s),1))),256))])]),_("div",Vy,[Uy,_("select",Ky,[(G(!0),ie(_e,null,vn(i.persCatgArr,s=>(G(),ie("option",null,Tt(s),1))),256))])]),_("div",Wy,[qy,_("select",Gy,[(G(!0),ie(_e,null,vn(i.persArr,s=>(G(),ie("option",null,Tt(s),1))),256))])]),_("div",Yy,[Jy,Ve(_("input",{type:"text",id:"seed","onUpdate:modelValue":t[0]||(t[0]=s=>i.configFile.seed=s),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.seed]])]),_("div",Xy,[_("div",Qy,[_("div",Zy,[em,_("p",tm,[Ve(_("input",{type:"text",id:"temp-val","onUpdate:modelValue":t[1]||(t[1]=s=>i.configFile.temp=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.temp]])])]),Ve(_("input",{id:"temp",type:"range","onUpdate:modelValue":t[2]||(t[2]=s=>i.configFile.temp=s),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.temp]])])]),_("div",nm,[_("div",rm,[_("div",im,[om,_("p",sm,[Ve(_("input",{type:"text",id:"predict-val","onUpdate:modelValue":t[3]||(t[3]=s=>i.configFile.n_predict=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.n_predict]])])]),Ve(_("input",{id:"predict",type:"range","onUpdate:modelValue":t[4]||(t[4]=s=>i.configFile.n_predict=s),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.n_predict]])])]),_("div",am,[_("div",lm,[_("div",cm,[um,_("p",dm,[Ve(_("input",{type:"text",id:"top_k-val","onUpdate:modelValue":t[5]||(t[5]=s=>i.configFile.top_k=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.top_k]])])]),Ve(_("input",{id:"top_k",type:"range","onUpdate:modelValue":t[6]||(t[6]=s=>i.configFile.top_k=s),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.top_k]])])]),_("div",fm,[_("div",pm,[_("div",hm,[gm,_("p",ym,[Ve(_("input",{type:"text",id:"top_p-val","onUpdate:modelValue":t[7]||(t[7]=s=>i.configFile.top_p=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.top_p]])])]),Ve(_("input",{id:"top_p",type:"range","onUpdate:modelValue":t[8]||(t[8]=s=>i.configFile.top_p=s),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.top_p]])])]),_("div",mm,[_("div",vm,[_("div",bm,[xm,_("p",wm,[Ve(_("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":t[9]||(t[9]=s=>i.configFile.repeat_penalty=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.repeat_penalty]])])]),Ve(_("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":t[10]||(t[10]=s=>i.configFile.repeat_penalty=s),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.repeat_penalty]])])]),_("div",_m,[_("div",Em,[_("div",jm,[Am,_("p",km,[Ve(_("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":t[11]||(t[11]=s=>i.configFile.repeat_last_n=s),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.repeat_last_n]])])]),Ve(_("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":t[12]||(t[12]=s=>i.configFile.repeat_last_n=s),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ue,i.configFile.repeat_last_n]])])])])])}const Sm=Dt(Py,[["render",Om]]),Cm={setup(){return{}}};function Tm(e,t,n,r,i,o){return G(),ie("div",null," Training ")}const Pm=Dt(Cm,[["render",Tm]]),Rm={name:"Discussion",props:{id:Number,title:String,selected:Boolean,loading:Boolean},setup(){},data(){return{}},methods:{},mounted(){xt(()=>{Jr.replace()})}},Mm={key:1,class:"items-center inline-block min-h-full w-2 rounded-xl self-stretch"},Lm={class:"truncate w-auto"},$m=go('<div class="flex items-center gap-3 flex-1 max-h-6"><div class="flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"><div class="text-2xl hover:text-secondary duration-75 active:scale-90" title="Edit title"><i data-feather="edit-2"></i></div><div class="text-2xl hover:text-red-600 duration-75 active:scale-90" title="Remove discussion"><i data-feather="trash"></i></div></div></div>',1);function Im(e,t,n,r,i,o){return G(),ie("div",{class:Oe([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","container flex flex-col sm:flex-row item-center gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"])},[n.selected?(G(),ie("div",{key:0,class:Oe(["items-center inline-block min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):(G(),ie("div",Mm)),_("p",Lm,Tt(n.title),1),$m],2)}const Md=Dt(Rm,[["render",Im]]),Nm={name:"Message",props:{message:Object},data(){return{senderImg:""}},mounted(){xt(()=>{Jr.replace()})}},Bm={class:"group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex-row p-4 pb-2"},Dm={class:"w-30 flex"},Fm={class:"w-10 h-10 rounded-lg object-fill drop-shadow-md group-even:bg-primary bg-secondary"},Hm=["src"],zm={class:"drop-shadow-sm py-0 px-2 text-lg text-opacity-95 font-bold"},Vm={class:"-mt-4 ml-10 mr-0 pt-1 px-2 max-w-screen-2xl"},Um={class:"invisible group-hover:visible flex flex-row mt-3 -mb-2"},Km=go('<div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Edit message"><i data-feather="edit"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Copy message to clipboard"><i data-feather="copy"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Resend message"><i data-feather="refresh-cw"></i></div><div class="text-lg hover:text-red-600 duration-75 active:scale-90 p-2" title="Remove message"><i data-feather="trash"></i></div><div class="text-lg hover:text-secondary duration-75 active:scale-90 p-2" title="Upvote"><i data-feather="thumbs-up"></i></div>',5),Wm={class:"flex flex-row items-center"},qm=_("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote"},[_("i",{"data-feather":"thumbs-down"})],-1);function Gm(e,t,n,r,i,o){return G(),ie("div",Bm,[_("div",Dm,[_("div",Fm,[i.senderImg?(G(),ie("img",{key:0,src:i.senderImg,class:"w-10 h-10 rounded-full object-fill"},null,8,Hm)):Qe("",!0)]),_("p",zm,Tt(n.message.sender),1)]),_("div",Vm,Tt(n.message.content),1),_("div",Um,[Km,_("div",Wm,[qm,n.message.rank!=0?(G(),ie("div",{key:0,class:Oe(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},Tt(n.message.rank),3)):Qe("",!0)])])])}const Ld=Dt(Nm,[["render",Gm]]),Ym={name:"ChatBox",emits:["messageSentEvent"],setup(){return{}},methods:{sendMessageEvent(e){this.$emit("messageSentEvent",e)},submitOnEnter(e){e.which===13&&(e.preventDefault(),console.log("enter detected"),e.repeat||(this.sendMessageEvent(e.target.value),e.target.value=""))}},mounted(){xt(()=>{Jr.replace()})},activated(){}},Jm={class:"flex-none sticky bottom-0 p-6 items-center justify-center self-center right-0 left-0"},Xm=_("label",{for:"chat",class:"sr-only"},"Send message",-1),Qm={class:"flex items-center gap-2 px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},Zm=_("button",{type:"submit",on:"","on-click":"",class:"inline-flex justify-center p-2 rounded-full cursor-pointer hover:text-primary duration-75 active:scale-90"},[_("i",{"data-feather":"send",class:"w-6 h-6 m-1"}),_("span",{class:"sr-only"},"Send message")],-1);function e2(e,t,n,r,i,o){return G(),ie("div",Jm,[_("form",null,[Xm,_("div",Qm,[_("textarea",{id:"chat",rows:"1",class:"block min-h-11 no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:t[0]||(t[0]=Zu(R1(s=>o.submitOnEnter(s),["exact"]),["enter"]))},null,32),Zm])])])}const $d=Dt(Ym,[["render",e2]]),t2={name:"WelcomeComponent",setup(){return{}}},n2={class:"flex flex-col text-center"},r2=go('<div class="flex flex-col text-center items-center"><div class="flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"><img class="w-24 animate-bounce" title="GPT4ALL-UI" src="'+fd+'" alt="Logo"><p class="">GPT4ALL-UI</p></div><hr class="mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"><p class="text-lg">Welcome, please create a new discussion or select existing one to start</p></div>',1),i2=[r2];function o2(e,t,n,r,i,o){return G(),ie("div",n2,i2)}const Id=Dt(t2,[["render",o2]]);cr({});var Nd={exports:{}};/*!
|
|
Copyright (c) 2018 Jed Watson.
|
|
Licensed under the MIT License (MIT), see
|
|
http://jedwatson.github.io/classnames
|
|
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var s=typeof o;if(s==="string"||s==="number")r.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&r.push(a)}}else if(s==="object"){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var l in o)t.call(o,l)&&o[l]&&r.push(l)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Nd);const s2=Nd.exports,a2="flowbite-themable-injection-key",In={blue:{background:"bg-blue-700 dark:bg-blue-600",disabled:"",hover:"hover:bg-blue-800 dark:hover:bg-blue-700",text:"text-blue-600 dark:text-blue-500",border:"border-blue-600 dark:border-blue-500",focus:"focus:ring-blue-300 dark:focus:ring-blue-800"},green:{background:"bg-green-700 dark:bg-green-600",disabled:"",hover:"hover:bg-green-800 dark:hover:bg-green-700",text:"text-green-600 dark:text-green-500",border:"border-green-600 dark:border-green-500",focus:"focus:ring-green-300 dark:focus:ring-green-800"},pink:{background:"bg-pink-700 dark:bg-pink-600",disabled:"",hover:"hover:bg-pink-800 dark:hover:bg-pink-700",text:"text-pink-600 dark:text-pink-500",border:"border-pink-600 dark:border-pink-500",focus:"focus:ring-pink-300 dark:focus:ring-pink-900"},purple:{background:"bg-purple-700 dark:bg-purple-600",disabled:"",hover:"hover:bg-purple-800 dark:hover:bg-purple-700",text:"text-purple-600 dark:text-purple-500",border:"border-purple-600 dark:border-purple-500",focus:"focus:ring-purple-300 dark:focus:ring-purple-900"},red:{background:"bg-red-700 dark:bg-red-600",disabled:"",hover:"hover:bg-red-800 dark:hover:bg-red-700",text:"text-red-600 dark:text-red-500",border:"border-red-600 dark:border-red-500",focus:"focus:ring-red-300 dark:focus:ring-red-900"}};function l2(e){const t=wt(a2,Yr(null)),n=ve(()=>!!(t!=null&&t.value)),r=ve(()=>(t==null?void 0:t.value)||void 0),i=ve(()=>e||t.value),o=ve(()=>i.value?In[i.value].background:""),s=ve(()=>i.value?In[i.value].disabled:""),a=ve(()=>i.value?In[i.value].hover:""),l=ve(()=>i.value?In[i.value].text:""),c=ve(()=>i.value?In[i.value].border:""),u=ve(()=>i.value?In[i.value].focus:"");return{backgroundClasses:o,disabledClasses:s,hoverClasses:a,textClasses:l,borderClasses:c,focusClasses:u,isActive:n,color:r}}function c2(e){var t;const{textClasses:n,borderClasses:r,backgroundClasses:i,hoverClasses:o,disabledClasses:s,focusClasses:a,isActive:l}=l2((t=e.theme)==null?void 0:t.value);return{classes:ve(()=>{if(!l.value)return"";const c=[];return e.apply.value.includes("text")&&c.push(n.value),e.apply.value.includes("border")&&c.push(r.value),e.apply.value.includes("background")&&c.push(i.value),e.apply.value.includes("hover")&&c.push(o.value),e.apply.value.includes("disabled")&&c.push(s.value),e.apply.value.includes("focus")&&c.push(a.value),c.join(" ")})}}const u2={border:e=>e.substring(0,e.lastIndexOf("-"))},d2=(e,t=u2)=>{const n=Object.keys(t).find(r=>e.includes(r));return n?t[n](e):e.substring(0,e.indexOf("-"))};function Ai(...e){return e.reduce((t,n)=>{const r=Array.isArray(n)?Array.from(n).map(c=>c.split(" ")).flat():n.split(" "),i=r.map(c=>d2(c)),o=i.filter(c=>!t.types.includes(c)),s=[...i.filter(c=>t.types.includes(c)),...o],a=[...new Set([...t.types,...s])],l=a.map(c=>{if(s.includes(c)){const d=i.indexOf(c);if(d>=0)return r[d]||""}const u=t.types.indexOf(c);return u>=0&&t.classes[u]||""}).filter(c=>!!c);return{types:a,classes:l}},{types:[],classes:[]}).classes.join(" ")}const f2=Fe({__name:"FlowbiteThemableChild",props:{apply:{type:Array,required:!0},tag:{type:String,default:"div"},theme:{type:String,default:void 0}},setup(e){const t=e,n=Qh(),{classes:r}=c2(fu(t)),i=ve(()=>n.class||"");return(o,s)=>(G(),We(Cu(e.tag),{class:Oe(Ae(Ai)(Ae(i),Ae(r)))},{default:Re(()=>[Ke(o.$slots,"default")]),_:3},8,["class"]))}});function Es(e,t=!0,n=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(Vu(String(r)));return}if(Array.isArray(r)){Es(r,t,n);return}if(r.type===_e){if(r.children===null)return;Array.isArray(r.children)&&Es(r.children,t,n)}else r.type!==Ze&&n.push(r)}}),n}var Kl;const Bd=typeof window<"u";Bd&&((Kl=window==null?void 0:window.navigator)!=null&&Kl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function p2(e){return typeof e=="function"?e():Ae(e)}function h2(e){return e}function g2(e){return Gc()?(mp(e),!0):!1}function y2(e,t,n={}){const{immediate:r=!0}=n,i=Yr(!1);let o=null;function s(){o&&(clearTimeout(o),o=null)}function a(){i.value=!1,s()}function l(...c){s(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=null,e(...c)},p2(t))}return r&&(i.value=!0,Bd&&l()),g2(a),{isPending:i,start:l,stop:a}}const Wl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ql="__vueuse_ssr_handlers__";Wl[ql]=Wl[ql]||{};var Gl;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Gl||(Gl={}));var m2=Object.defineProperty,Yl=Object.getOwnPropertySymbols,v2=Object.prototype.hasOwnProperty,b2=Object.prototype.propertyIsEnumerable,Jl=(e,t,n)=>t in e?m2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x2=(e,t)=>{for(var n in t||(t={}))v2.call(t,n)&&Jl(e,n,t[n]);if(Yl)for(var n of Yl(t))b2.call(t,n)&&Jl(e,n,t[n]);return e};const w2={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};x2({linear:h2},w2);function _2(e,t="default",n=void 0){const r=e[t];if(!r)return console.warn("getFirstSlotVNode",`slot[${t}] is empty`),null;const i=Es(r(n));return i.length===1?i[0]:(console.warn("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}var E2=typeof global=="object"&&global&&global.Object===Object&&global;const j2=E2;var A2=typeof self=="object"&&self&&self.Object===Object&&self,k2=j2||A2||Function("return this")();const ha=k2;var O2=ha.Symbol;const sn=O2;var Dd=Object.prototype,S2=Dd.hasOwnProperty,C2=Dd.toString,mr=sn?sn.toStringTag:void 0;function T2(e){var t=S2.call(e,mr),n=e[mr];try{e[mr]=void 0;var r=!0}catch{}var i=C2.call(e);return r&&(t?e[mr]=n:delete e[mr]),i}var P2=Object.prototype,R2=P2.toString;function M2(e){return R2.call(e)}var L2="[object Null]",$2="[object Undefined]",Xl=sn?sn.toStringTag:void 0;function ga(e){return e==null?e===void 0?$2:L2:Xl&&Xl in Object(e)?T2(e):M2(e)}function ya(e){return e!=null&&typeof e=="object"}var I2="[object Symbol]";function ma(e){return typeof e=="symbol"||ya(e)&&ga(e)==I2}function N2(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var B2=Array.isArray;const Zr=B2;var D2=1/0,Ql=sn?sn.prototype:void 0,Zl=Ql?Ql.toString:void 0;function Fd(e){if(typeof e=="string")return e;if(Zr(e))return N2(e,Fd)+"";if(ma(e))return Zl?Zl.call(e):"";var t=e+"";return t=="0"&&1/e==-D2?"-0":t}function Di(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function F2(e){return e}var H2="[object AsyncFunction]",z2="[object Function]",V2="[object GeneratorFunction]",U2="[object Proxy]";function K2(e){if(!Di(e))return!1;var t=ga(e);return t==z2||t==V2||t==H2||t==U2}var W2=ha["__core-js_shared__"];const Qo=W2;var ec=function(){var e=/[^.]+$/.exec(Qo&&Qo.keys&&Qo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function q2(e){return!!ec&&ec in e}var G2=Function.prototype,Y2=G2.toString;function J2(e){if(e!=null){try{return Y2.call(e)}catch{}try{return e+""}catch{}}return""}var X2=/[\\^$.*+?()[\]{}|]/g,Q2=/^\[object .+?Constructor\]$/,Z2=Function.prototype,ev=Object.prototype,tv=Z2.toString,nv=ev.hasOwnProperty,rv=RegExp("^"+tv.call(nv).replace(X2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iv(e){if(!Di(e)||q2(e))return!1;var t=K2(e)?rv:Q2;return t.test(J2(e))}function ov(e,t){return e==null?void 0:e[t]}function va(e,t){var n=ov(e,t);return iv(n)?n:void 0}function sv(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var av=800,lv=16,cv=Date.now;function uv(e){var t=0,n=0;return function(){var r=cv(),i=lv-(r-n);if(n=r,i>0){if(++t>=av)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function dv(e){return function(){return e}}var fv=function(){try{var e=va(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Fi=fv;var pv=Fi?function(e,t){return Fi(e,"toString",{configurable:!0,enumerable:!1,value:dv(t),writable:!0})}:F2;const hv=pv;var gv=uv(hv);const yv=gv;var mv=9007199254740991,vv=/^(?:0|[1-9]\d*)$/;function Hd(e,t){var n=typeof e;return t=t??mv,!!t&&(n=="number"||n!="symbol"&&vv.test(e))&&e>-1&&e%1==0&&e<t}function bv(e,t,n){t=="__proto__"&&Fi?Fi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function zd(e,t){return e===t||e!==e&&t!==t}var xv=Object.prototype,wv=xv.hasOwnProperty;function _v(e,t,n){var r=e[t];(!(wv.call(e,t)&&zd(r,n))||n===void 0&&!(t in e))&&bv(e,t,n)}var tc=Math.max;function Ev(e,t,n){return t=tc(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=tc(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),sv(e,this,a)}}var jv=9007199254740991;function Av(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jv}var kv="[object Arguments]";function nc(e){return ya(e)&&ga(e)==kv}var Vd=Object.prototype,Ov=Vd.hasOwnProperty,Sv=Vd.propertyIsEnumerable,Cv=nc(function(){return arguments}())?nc:function(e){return ya(e)&&Ov.call(e,"callee")&&!Sv.call(e,"callee")};const Ud=Cv;var Tv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pv=/^\w*$/;function Rv(e,t){if(Zr(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ma(e)?!0:Pv.test(e)||!Tv.test(e)||t!=null&&e in Object(t)}var Mv=va(Object,"create");const Kr=Mv;function Lv(){this.__data__=Kr?Kr(null):{},this.size=0}function $v(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Iv="__lodash_hash_undefined__",Nv=Object.prototype,Bv=Nv.hasOwnProperty;function Dv(e){var t=this.__data__;if(Kr){var n=t[e];return n===Iv?void 0:n}return Bv.call(t,e)?t[e]:void 0}var Fv=Object.prototype,Hv=Fv.hasOwnProperty;function zv(e){var t=this.__data__;return Kr?t[e]!==void 0:Hv.call(t,e)}var Vv="__lodash_hash_undefined__";function Uv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Kr&&t===void 0?Vv:t,this}function Tn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Tn.prototype.clear=Lv;Tn.prototype.delete=$v;Tn.prototype.get=Dv;Tn.prototype.has=zv;Tn.prototype.set=Uv;function Kv(){this.__data__=[],this.size=0}function jo(e,t){for(var n=e.length;n--;)if(zd(e[n][0],t))return n;return-1}var Wv=Array.prototype,qv=Wv.splice;function Gv(e){var t=this.__data__,n=jo(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():qv.call(t,n,1),--this.size,!0}function Yv(e){var t=this.__data__,n=jo(t,e);return n<0?void 0:t[n][1]}function Jv(e){return jo(this.__data__,e)>-1}function Xv(e,t){var n=this.__data__,r=jo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function dr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dr.prototype.clear=Kv;dr.prototype.delete=Gv;dr.prototype.get=Yv;dr.prototype.has=Jv;dr.prototype.set=Xv;var Qv=va(ha,"Map");const Zv=Qv;function eb(){this.size=0,this.__data__={hash:new Tn,map:new(Zv||dr),string:new Tn}}function tb(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ao(e,t){var n=e.__data__;return tb(t)?n[typeof t=="string"?"string":"hash"]:n.map}function nb(e){var t=Ao(this,e).delete(e);return this.size-=t?1:0,t}function rb(e){return Ao(this,e).get(e)}function ib(e){return Ao(this,e).has(e)}function ob(e,t){var n=Ao(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Mn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Mn.prototype.clear=eb;Mn.prototype.delete=nb;Mn.prototype.get=rb;Mn.prototype.has=ib;Mn.prototype.set=ob;var sb="Expected a function";function ba(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(sb);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(ba.Cache||Mn),n}ba.Cache=Mn;var ab=500;function lb(e){var t=ba(e,function(r){return n.size===ab&&n.clear(),r}),n=t.cache;return t}var cb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ub=/\\(\\)?/g,db=lb(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(cb,function(n,r,i,o){t.push(i?o.replace(ub,"$1"):r||n)}),t});const fb=db;function pb(e){return e==null?"":Fd(e)}function ko(e,t){return Zr(e)?e:Rv(e,t)?[e]:fb(pb(e))}var hb=1/0;function xa(e){if(typeof e=="string"||ma(e))return e;var t=e+"";return t=="0"&&1/e==-hb?"-0":t}function gb(e,t){t=ko(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[xa(t[n++])];return n&&n==r?e:void 0}function yb(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var rc=sn?sn.isConcatSpreadable:void 0;function mb(e){return Zr(e)||Ud(e)||!!(rc&&e&&e[rc])}function Kd(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=mb),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?Kd(a,t-1,n,r,i):yb(i,a):r||(i[i.length]=a)}return i}function vb(e){var t=e==null?0:e.length;return t?Kd(e,1):[]}function bb(e){return yv(Ev(e,void 0,vb),e+"")}function xb(e,t){return e!=null&&t in Object(e)}function wb(e,t,n){t=ko(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var s=xa(t[r]);if(!(o=e!=null&&n(e,s)))break;e=e[s]}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&Av(i)&&Hd(s,i)&&(Zr(e)||Ud(e)))}function _b(e,t){return e!=null&&wb(e,t,xb)}function Eb(e,t,n,r){if(!Di(e))return e;t=ko(t,e);for(var i=-1,o=t.length,s=o-1,a=e;a!=null&&++i<o;){var l=xa(t[i]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=s){var u=a[l];c=r?r(u,l,a):void 0,c===void 0&&(c=Di(u)?u:Hd(t[i+1])?[]:{})}_v(a,l,c),a=a[l]}return e}function jb(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=gb(e,s);n(a,s)&&Eb(o,ko(s,e),a)}return o}function Ab(e,t){return jb(e,t,function(n,r){return _b(e,r)})}var kb=bb(function(e,t){return e==null?{}:Ab(e,t)});const Ob=kb,Sb={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"]};function Cb(e,t){Object.entries(Sb).forEach(([,n])=>{n.forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const i=e.props[r],o=t[r];i?e.props[r]=(...s)=>{i(...s),o(...s)}:e.props[r]=o})})}Fe({name:"SlotListener",emits:["click","focus","blur","mouseenter","mouseleave"],props:{trigger:{type:String,default:"click"}},setup(e,{emit:t}){return{handleClick:n=>{t("click",n)},handleBlur:n=>{t("blur",n)},handleFocus:n=>{t("focus",n)},handleMouseLeave:n=>{t("mouseleave",n)},handleMouseEnter:n=>{t("mouseenter",n)}}},render(){const{$slots:e}=this,t={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};let n=_2(e,"default");const r=[t];return n!=null&&n.props&&r.push(Ob(n.props,"onClick","onMouseenter","onMouseleave","onFocus","onBlur")),n&&Cb(n,{onBlur:i=>{r.forEach(o=>{var s;(s=o==null?void 0:o.onBlur)==null||s.call(o,i)})},onFocus:i=>{r.forEach(o=>{var s;(s=o==null?void 0:o.onFocus)==null||s.call(o,i)})},onClick:i=>{r.forEach(o=>{var s;(s=o==null?void 0:o.onClick)==null||s.call(o,i)})},onMouseenter:i=>{r.forEach(o=>{var s;(s=o==null?void 0:o.onMouseenter)==null||s.call(o,i)})},onMouseleave:i=>{r.forEach(o=>{var s;(s=o==null?void 0:o.onMouseleave)==null||s.call(o,i)})}}),n}});const Tb=_("div",{class:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40"},null,-1),Pb={tabindex:"-1",class:"overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full justify-center items-center flex"},Rb={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Mb=_("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[_("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Lb={key:0,class:"p-6 rounded-b border-gray-200 border-t dark:border-gray-600"},$b=Fe({__name:"Modal",props:{children:{type:Array,default(){return[]}},popup:{type:Boolean,default:!1},position:{type:String,default:"center"},size:{type:String,default:"2xl"}},emits:["close"],setup(e,{emit:t}){const n={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"};function r(){t("close")}return(i,o)=>(G(),ie("div",null,[Tb,_("div",Pb,[_("div",{class:Oe(["relative p-4 w-full h-full md:h-auto",`${n[e.size]}`])},[_("div",Rb,[_("div",{class:Oe(["p-4 rounded-t flex justify-between items-center",i.$slots.header?"border-b border-gray-200 dark:border-gray-600":""])},[Ke(i.$slots,"header"),_("button",{onClick:r,type:"button",class:"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white"},[Ke(i.$slots,"close-icon",{},()=>[Mb])])],2),_("div",{class:Oe(["p-6",i.$slots.header?"":"pt-0"])},[Ke(i.$slots,"body")],2),i.$slots.footer?(G(),ie("div",Lb,[Ke(i.$slots,"footer")])):Qe("",!0)])],2)])]))}});Fe({name:"NavbarLogo",props:{link:{type:String,default:"/"},imageUrl:{type:String,default:"/assets/logo.svg"},alt:{type:String,default:"Logo"},component:{type:[Object,String],default:"a"},linkAttr:{type:String,default:"href"}},emits:["click"],setup(e,{slots:t}){return()=>pt(e.component,{[e.linkAttr]:e.link,class:"flex items-center"},{default:()=>[pt("img",{src:e.imageUrl,class:"mr-3 h-6 sm:h-10",alt:e.alt}),pt("span",{class:"self-center text-xl font-semibold whitespace-nowrap dark:text-white"},t)]})}});Fe({name:"NavbarLink",props:{link:{type:String,default:"/"},isActive:{type:Boolean,default:!1},component:{type:[Object,String],default:"a"},linkAttr:{type:String,default:"href"},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{slots:t,emit:n}){const r="bg-blue-700 md:bg-transparent text-white md:text-blue-700 dark:text-white",i="text-gray-700 hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent",o=s2("block py-2 pr-4 pl-3 rounded md:p-0",e.isActive?r:i),s=a=>{e.disabled||n("click",a)};return()=>pt("li",null,pt(e.component,{...e,class:o,[e.linkAttr]:e.link,onClick:s},{default:()=>t.default&&t.default()}))}});const Ib={danger:"text-red-500 bg-red-100 dark:bg-red-800 dark:text-red-200",empty:"",success:"text-green-500 bg-green-100 dark:bg-green-800 dark:text-green-200",warning:"text-orange-500 bg-orange-100 dark:bg-orange-700 dark:text-orange-200"},Nb={center:"items-center",end:"items-end",start:"items-start"},ic="flex w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",oc="text-sm font-normal";function Bb(e){const t=ve(()=>Ib[e.type.value]),n=ve(()=>{const i=Nb[e.alignment.value];return e.divide.value?Ai(ic,"dark:divide-gray-700 divide-x divide-gray-200",i):Ai(ic,i)}),r=ve(()=>e.type.value!=="empty"&&e.divide.value?Ai(oc,"pl-3"):oc);return{typeClasses:t,wrapperClasses:n,contentClasses:r}}const Db={key:1,"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Fb=_("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"},null,-1),Hb=[Fb],zb={key:2,"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Vb=_("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"},null,-1),Ub=[Vb],Kb={key:3,"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Wb=_("path",{"fill-rule":"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"},null,-1),qb=[Wb],Gb=_("span",{class:"sr-only"},"Close",-1),Yb=_("svg",{class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[_("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Jb=[Gb,Yb],sc=Fe({__name:"Toast",props:{type:{type:String,default:"empty"},alignment:{type:String,default:"center"},closable:{type:Boolean,default:!1},divide:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){const n=e,r=Yr(!0),{typeClasses:i,wrapperClasses:o,contentClasses:s}=Bb(fu(n)),a=()=>{t("close"),r.value=!1};return(l,c)=>r.value?(G(),ie("div",{key:0,id:"toast-default",class:Oe(Ae(o)),role:"alert"},[e.type!=="empty"||l.$slots.icon?(G(),We(f2,{key:0,class:Oe(["inline-flex flex-shrink-0 justify-center items-center w-8 h-8 rounded-lg",Ae(i)]),apply:["background","text"]},{default:Re(()=>[l.$slots.icon?Ke(l.$slots,"icon",{key:0,class:Oe({"ml-3":e.type!=="empty"})}):e.type==="success"?(G(),ie("svg",Db,Hb)):e.type==="danger"?(G(),ie("svg",zb,Ub)):e.type==="warning"?(G(),ie("svg",Kb,qb)):Qe("",!0)]),_:3},8,["class"])):Qe("",!0),_("div",{class:Oe([Ae(s),{"ml-3":l.$slots.icon||e.type!=="empty"}])},[Ke(l.$slots,"default")],2),e.closable?(G(),ie("button",{key:1,onClick:a,type:"button",class:"border-none ml-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700","aria-label":"Close"},Jb)):Qe("",!0)],2)):Qe("",!0)}}),Xb="flowbite-toast-injection-key";Fe({components:{Toast:sc},props:{transition:{type:String,default:"slide-left"}},setup(){const e=Yr([]),t=(o,s)=>{y2(()=>i(o),s)},n=o=>{const s=parseInt((new Date().getTime()*Math.random()).toString()).toString();return e.value.push({id:s,...o}),o.time>0&&t(s,o.time),s},r=()=>{if(e.value.length===0)return"";const o=e.value[e.value.length-1].id;return e.value.pop(),o},i=o=>{const s=e.value.findIndex(a=>a.id===o);return s>=0&&e.value.splice(s,1),s>=0};return Er(Xb,{add:n,pop:r,remove:i}),{toasts:e,removeToast:i}},render(){const{$props:e,$slots:t,toasts:n,removeToast:r}=this;return pt("div",{},[t.default?t.default():null,pt(j1,{name:e.transition,tag:"div",class:"xl:w-1/6 md:w-1/4 sm:w-1/4 fixed top-3 right-3 flex flex-col gap-2 z-50"},{default:()=>n.map(i=>i.component?pt(i.component,{key:i.id,onClose:()=>r(i.id),...i.componentProps?i.componentProps:{}},()=>i.text):pt(sc,{closable:!0,type:i.type,key:i.id,onClose:()=>r(i.id)},()=>i.text))})])}});function Ht(e){return e.split("-")[0]}function qn(e){return e.split("-")[1]}function ei(e){return["top","bottom"].includes(Ht(e))?"x":"y"}function wa(e){return e==="y"?"height":"width"}function ac(e){let{reference:t,floating:n,placement:r}=e;const i=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2;let s;switch(Ht(r)){case"top":s={x:i,y:t.y-n.height};break;case"bottom":s={x:i,y:t.y+t.height};break;case"right":s={x:t.x+t.width,y:o};break;case"left":s={x:t.x-n.width,y:o};break;default:s={x:t.x,y:t.y}}const a=ei(r),l=wa(a);switch(qn(r)){case"start":s[a]=s[a]-(t[l]/2-n[l]/2);break;case"end":s[a]=s[a]+(t[l]/2-n[l]/2);break}return s}const Qb=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n;let a=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:c}=ac({...a,placement:r}),u=r,d={};for(let f=0;f<o.length;f++){const{name:p,fn:h}=o[f],{x:g,y:w,data:b,reset:m}=await h({x:l,y:c,initialPlacement:r,placement:u,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:e,floating:t}});if(l=g??l,c=w??c,d={...d,[p]:b??{}},m){typeof m=="object"&&(m.placement&&(u=m.placement),m.rects&&(a=m.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):m.rects),{x:l,y:c}=ac({...a,placement:u})),f=-1;continue}}return{x:l,y:c,placement:u,strategy:i,middlewareData:d}};function Zb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wd(e){return typeof e!="number"?Zb(e):{top:e,right:e,bottom:e,left:e}}function js(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Oo(e,t){t===void 0&&(t={});const{x:n,y:r,platform:i,rects:o,elements:s,strategy:a}=e,{boundary:l="clippingParents",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:f=0}=t,p=Wd(f),h=s[d?u==="floating"?"reference":"floating":u],g=await i.getClippingClientRect({element:await i.isElement(h)?h:h.contextElement||await i.getDocumentElement({element:s.floating}),boundary:l,rootBoundary:c}),w=js(await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u==="floating"?{...o.floating,x:n,y:r}:o.reference,offsetParent:await i.getOffsetParent({element:s.floating}),strategy:a}));return{top:g.top-w.top+p.top,bottom:w.bottom-g.bottom+p.bottom,left:g.left-w.left+p.left,right:w.right-g.right+p.right}}const ex=Math.min,yn=Math.max;function As(e,t,n){return yn(e,ex(t,n))}const tx=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:o,placement:s,rects:a,platform:l}=t;if(n==null)return{};const c=Wd(r),u={x:i,y:o},d=Ht(s),f=ei(d),p=wa(f),h=await l.getDimensions({element:n}),g=f==="y"?"top":"left",w=f==="y"?"bottom":"right",b=a.reference[p]+a.reference[f]-u[f]-a.floating[p],m=u[f]-a.reference[f],x=await l.getOffsetParent({element:n}),E=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0,C=b/2-m/2,R=c[g],M=E-h[p]-c[w],P=E/2-h[p]/2+C,H=As(R,P,M);return{data:{[f]:H,centerOffset:P-H}}}}),nx={left:"right",right:"left",bottom:"top",top:"bottom"};function Hi(e){return e.replace(/left|right|bottom|top/g,t=>nx[t])}function qd(e,t){const n=qn(e)==="start",r=ei(e),i=wa(r);let o=r==="x"?n?"right":"left":n?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Hi(o)),{main:o,cross:Hi(o)}}const rx={start:"end",end:"start"};function ks(e){return e.replace(/start|end/g,t=>rx[t])}const ix=["top","right","bottom","left"],ox=ix.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);function sx(e,t,n){return(e?[...n.filter(r=>qn(r)===e),...n.filter(r=>qn(r)!==e)]:n.filter(r=>Ht(r)===r)).filter(r=>e?qn(r)===e||(t?ks(r)!==r:!1):!0)}const ax=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,i,o,s,a;const{x:l,y:c,rects:u,middlewareData:d,placement:f}=t,{alignment:p=null,allowedPlacements:h=ox,autoAlignment:g=!0,...w}=e;if((n=d.autoPlacement)!=null&&n.skip)return{};const b=sx(p,g,h),m=await Oo(t,w),x=(r=(i=d.autoPlacement)==null?void 0:i.index)!=null?r:0,E=b[x],{main:C,cross:R}=qd(E,u);if(f!==E)return{x:l,y:c,reset:{placement:b[0]}};const M=[m[Ht(E)],m[C],m[R]],P=[...(o=(s=d.autoPlacement)==null?void 0:s.overflows)!=null?o:[],{placement:E,overflows:M}],H=b[x+1];if(H)return{data:{index:x+1,overflows:P},reset:{placement:H}};const V=P.slice().sort((N,W)=>N.overflows[0]-W.overflows[0]),Y=(a=V.find(N=>{let{overflows:W}=N;return W.every(se=>se<=0)}))==null?void 0:a.placement;return{data:{skip:!0},reset:{placement:Y??V[0].placement}}}}};function lx(e){const t=Hi(e);return[ks(e),t,ks(t)]}const cx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a}=t;if((n=o.flip)!=null&&n.skip)return{};const{mainAxis:l=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:d="bestFit",flipAlignment:f=!0,...p}=e,h=Ht(i),g=u||(h===a||!f?[Hi(a)]:lx(a)),w=[a,...g],b=await Oo(t,p),m=[];let x=((r=o.flip)==null?void 0:r.overflows)||[];if(l&&m.push(b[h]),c){const{main:M,cross:P}=qd(i,s);m.push(b[M],b[P])}if(x=[...x,{placement:i,overflows:m}],!m.every(M=>M<=0)){var E,C;const M=((E=(C=o.flip)==null?void 0:C.index)!=null?E:0)+1,P=w[M];if(P)return{data:{index:M,overflows:x},reset:{placement:P}};let H="bottom";switch(d){case"bestFit":{var R;const V=(R=x.slice().sort((Y,N)=>Y.overflows.filter(W=>W>0).reduce((W,se)=>W+se,0)-N.overflows.filter(W=>W>0).reduce((W,se)=>W+se,0))[0])==null?void 0:R.placement;V&&(H=V);break}case"initialPlacement":H=a;break}return{data:{skip:!0},reset:{placement:H}}}return{}}}};function ux(e){let{placement:t,rects:n,value:r}=e;const i=Ht(t),o=["left","top"].includes(i)?-1:1,s=typeof r=="function"?r({...n,placement:t}):r,{mainAxis:a,crossAxis:l}=typeof s=="number"?{mainAxis:s,crossAxis:0}:{mainAxis:0,crossAxis:0,...s};return ei(i)==="x"?{x:l,y:a*o}:{x:a*o,y:l}}const dx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(t){const{x:n,y:r,placement:i,rects:o}=t,s=ux({placement:i,rects:o,value:e});return{x:n+s.x,y:r+s.y,data:s}}}};function fx(e){return e==="x"?"y":"x"}const px=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:b,y:m}=w;return{x:b,y:m}}},...l}=e,c={x:n,y:r},u=await Oo(t,l),d=ei(Ht(i)),f=fx(d);let p=c[d],h=c[f];if(o){const w=d==="y"?"top":"left",b=d==="y"?"bottom":"right",m=p+u[w],x=p-u[b];p=As(m,p,x)}if(s){const w=f==="y"?"top":"left",b=f==="y"?"bottom":"right",m=h+u[w],x=h-u[b];h=As(m,h,x)}const g=a.fn({...t,[d]:p,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},hx=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n;const{placement:r,rects:i,middlewareData:o}=t,{apply:s,...a}=e;if((n=o.size)!=null&&n.skip)return{};const l=await Oo(t,a),c=Ht(r),u=qn(r)==="end";let d,f;c==="top"||c==="bottom"?(d=c,f=u?"left":"right"):(f=c,d=u?"top":"bottom");const p=yn(l.left,0),h=yn(l.right,0),g=yn(l.top,0),w=yn(l.bottom,0),b={height:i.floating.height-(["left","right"].includes(r)?2*(g!==0||w!==0?g+w:yn(l.top,l.bottom)):l[d]),width:i.floating.width-(["top","bottom"].includes(r)?2*(p!==0||h!==0?p+h:yn(l.left,l.right)):l[f])};return s==null||s({...b,...i}),{data:{skip:!0},reset:{rects:!0}}}}};function _a(e){return(e==null?void 0:e.toString())==="[object Window]"}function an(e){if(e==null)return window;if(!_a(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function So(e){return an(e).getComputedStyle(e)}function $t(e){return _a(e)?"":e?(e.nodeName||"").toLowerCase():""}function It(e){return e instanceof an(e).HTMLElement}function zi(e){return e instanceof an(e).Element}function gx(e){return e instanceof an(e).Node}function Gd(e){const t=an(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Co(e){const{overflow:t,overflowX:n,overflowY:r}=So(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function yx(e){return["table","td","th"].includes($t(e))}function Yd(e){const t=navigator.userAgent.toLowerCase().includes("firefox"),n=So(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}const lc=Math.min,Cr=Math.max,Vi=Math.round;function tr(e,t){t===void 0&&(t=!1);const n=e.getBoundingClientRect();let r=1,i=1;return t&&It(e)&&(r=e.offsetWidth>0&&Vi(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Vi(n.height)/e.offsetHeight||1),{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function ln(e){return((gx(e)?e.ownerDocument:e.document)||window.document).documentElement}function To(e){return _a(e)?{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Jd(e){return tr(ln(e)).left+To(e).scrollLeft}function mx(e){const t=tr(e);return Vi(t.width)!==e.offsetWidth||Vi(t.height)!==e.offsetHeight}function vx(e,t,n){const r=It(t),i=ln(t),o=tr(e,r&&mx(t));let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if(($t(t)!=="body"||Co(i))&&(s=To(t)),It(t)){const l=tr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=Jd(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function Po(e){return $t(e)==="html"?e:e.assignedSlot||e.parentNode||(Gd(e)?e.host:null)||ln(e)}function cc(e){return!It(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function bx(e){let t=Po(e);for(;It(t)&&!["html","body"].includes($t(t));){if(Yd(t))return t;t=t.parentNode}return null}function Os(e){const t=an(e);let n=cc(e);for(;n&&yx(n)&&getComputedStyle(n).position==="static";)n=cc(n);return n&&($t(n)==="html"||$t(n)==="body"&&getComputedStyle(n).position==="static"&&!Yd(n))?t:n||bx(e)||t}function uc(e){return{width:e.offsetWidth,height:e.offsetHeight}}function xx(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=It(n),o=ln(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&r!=="fixed")&&(($t(n)!=="body"||Co(o))&&(s=To(n)),It(n))){const l=tr(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function wx(e){const t=an(e),n=ln(e),r=t.visualViewport;let i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,Math.abs(t.innerWidth/r.scale-r.width)<.01&&(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s,y:a}}function _x(e){var t;const n=ln(e),r=To(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Cr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-r.scrollLeft+Jd(e);const l=-r.scrollTop;return So(i||n).direction==="rtl"&&(a+=Cr(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function Xd(e){return["html","body","#document"].includes($t(e))?e.ownerDocument.body:It(e)&&Co(e)?e:Xd(Po(e))}function Ui(e,t){var n;t===void 0&&(t=[]);const r=Xd(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=an(r),s=i?[o].concat(o.visualViewport||[],Co(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Ui(Po(s)))}function Ex(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Gd(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function jx(e){const t=tr(e),n=t.top+e.clientTop,r=t.left+e.clientLeft;return{top:n,left:r,x:r,y:n,right:r+e.clientWidth,bottom:n+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function dc(e,t){return t==="viewport"?js(wx(e)):zi(t)?jx(t):js(_x(ln(e)))}function Ax(e){const t=Ui(Po(e)),n=["absolute","fixed"].includes(So(e).position)&&It(e)?Os(e):e;return zi(n)?t.filter(r=>zi(r)&&Ex(r,n)&&$t(r)!=="body"):[]}function kx(e){let{element:t,boundary:n,rootBoundary:r}=e;const i=[...n==="clippingParents"?Ax(t):[].concat(n),r],o=i[0],s=i.reduce((a,l)=>{const c=dc(t,l);return a.top=Cr(c.top,a.top),a.right=lc(c.right,a.right),a.bottom=lc(c.bottom,a.bottom),a.left=Cr(c.left,a.left),a},dc(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}const Ox={getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:vx(t,Os(n),r),floating:{...uc(n),x:0,y:0}}},convertOffsetParentRelativeRectToViewportRelativeRect:e=>xx(e),getOffsetParent:e=>{let{element:t}=e;return Os(t)},isElement:e=>zi(e),getDocumentElement:e=>{let{element:t}=e;return ln(t)},getClippingClientRect:e=>kx(e),getDimensions:e=>{let{element:t}=e;return uc(t)},getClientRects:e=>{let{element:t}=e;return t.getClientRects()}},Sx=(e,t,n)=>Qb(e,t,{platform:Ox,...n});var Cx=Object.defineProperty,Tx=Object.defineProperties,Px=Object.getOwnPropertyDescriptors,fc=Object.getOwnPropertySymbols,Rx=Object.prototype.hasOwnProperty,Mx=Object.prototype.propertyIsEnumerable,pc=(e,t,n)=>t in e?Cx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tn=(e,t)=>{for(var n in t||(t={}))Rx.call(t,n)&&pc(e,n,t[n]);if(fc)for(var n of fc(t))Mx.call(t,n)&&pc(e,n,t[n]);return e},Ro=(e,t)=>Tx(e,Px(t));const Sn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Ki(e,t){let n=Sn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Sn.themes[n.$extend]||{}:(n=null,r=Sn[t]):n=null;while(n);return r}function Lx(e){const t=[e];let n=Sn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Sn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function hc(e){const t=[e];let n=Sn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Sn.themes[n.$extend]||{}):n=null;while(n);return t}let nr=!1;if(typeof window<"u"){nr=!1;try{const e=Object.defineProperty({},"passive",{get(){nr=!0}});window.addEventListener("test",null,e)}catch{}}let Qd=!1;typeof window<"u"&&typeof navigator<"u"&&(Qd=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const $x=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),gc={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},yc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function mc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Zo(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const dt=[];let hn=null;const vc={};function bc(e){let t=vc[e];return t||(t=vc[e]=[]),t}let Ss=function(){};typeof window<"u"&&(Ss=window.Element);function ce(e){return function(t){return Ki(t.theme,e)}}const es="__floating-vue__popper";var Zd=()=>Fe({name:"VPopper",provide(){return{[es]:{parentPopper:this}}},inject:{[es]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:ce("disabled")},positioningDisabled:{type:Boolean,default:ce("positioningDisabled")},placement:{type:String,default:ce("placement"),validator:e=>$x.includes(e)},delay:{type:[String,Number,Object],default:ce("delay")},distance:{type:[Number,String],default:ce("distance")},skidding:{type:[Number,String],default:ce("skidding")},triggers:{type:Array,default:ce("triggers")},showTriggers:{type:[Array,Function],default:ce("showTriggers")},hideTriggers:{type:[Array,Function],default:ce("hideTriggers")},popperTriggers:{type:Array,default:ce("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ce("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ce("popperHideTriggers")},container:{type:[String,Object,Ss,Boolean],default:ce("container")},boundary:{type:[String,Ss],default:ce("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ce("strategy")},autoHide:{type:[Boolean,Function],default:ce("autoHide")},handleResize:{type:Boolean,default:ce("handleResize")},instantMove:{type:Boolean,default:ce("instantMove")},eagerMount:{type:Boolean,default:ce("eagerMount")},popperClass:{type:[String,Array,Object],default:ce("popperClass")},computeTransformOrigin:{type:Boolean,default:ce("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ce("autoMinSize")},autoSize:{type:[Boolean,String],default:ce("autoSize")},autoMaxSize:{type:Boolean,default:ce("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ce("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ce("preventOverflow")},overflowPadding:{type:[Number,String],default:ce("overflowPadding")},arrowPadding:{type:[Number,String],default:ce("arrowPadding")},arrowOverflow:{type:Boolean,default:ce("arrowOverflow")},flip:{type:Boolean,default:ce("flip")},shift:{type:Boolean,default:ce("shift")},shiftCrossAxis:{type:Boolean,default:ce("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ce("noAutoFocus")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Ro(tn({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[es])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:tn(tn({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e,t;!this.$_isDisposed||(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(t=(e=this.referenceNode)==null?void 0:e.call(this))!=null?t:this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var e;if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(dx({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?t.middleware.push(ax({alignment:(e=this.placement.split("-")[1])!=null?e:""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(px({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&t.middleware.push(cx({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(tx({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:o,middlewareData:s})=>{let a;const{centerOffset:l}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?a=Math.abs(l)>o.reference.width/2:a=Math.abs(l)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let c,u;return s.startsWith("top")||s.startsWith("bottom")?c=o.reference.width:u=o.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(hx({boundary:this.boundary,padding:this.overflowPadding,apply:({width:i,height:o})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const r=await Sx(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:tn(tn({},r.middlewareData.arrow),r.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),hn&&this.instantMove&&hn.instantMove&&hn!==this.parentPopper){hn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(hn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Zo(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ui(this.$_referenceNode),...Ui(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${i}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<dt.length;n++)t=dt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}dt.push(this),document.body.classList.add("v-popper--some-open");for(const t of hc(this.theme))bc(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Zo(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,mc(dt,this),dt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of hc(this.theme)){const r=bc(n);mc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}hn===this&&(hn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=Ki(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Zo(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,gc,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],gc,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,yc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],yc,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,nr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,i){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:i,handler:o}=n;!e||e===i?r.forEach(s=>s.removeEventListener(i,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Tr>=e.left&&Tr<=e.right&&Pr>=e.top&&Pr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Tr-qt,r=Pr-Gt,i=t.left+t.width/2-qt+(t.top+t.height/2)-Gt+t.width+t.height,o=qt+n*i,s=Gt+r*i;return ci(qt,Gt,o,s,t.left,t.top,t.left,t.bottom)||ci(qt,Gt,o,s,t.left,t.top,t.right,t.top)||ci(qt,Gt,o,s,t.right,t.top,t.right,t.bottom)||ci(qt,Gt,o,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Qd?(document.addEventListener("touchstart",xc,nr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Nx,nr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",xc,!0),window.addEventListener("click",Ix,!0)),window.addEventListener("resize",Fx));function xc(e){for(let t=0;t<dt.length;t++){const n=dt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function Ix(e){ef(e)}function Nx(e){ef(e,!0)}function ef(e,t=!1){const n={};for(let r=dt.length-1;r>=0;r--){const i=dt[r];try{const o=i.$_containsGlobalTarget=Bx(i,e);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!n[i.randomId]&&wc(i,o,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=i.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=i.parentPopper;for(;s&&wc(s,s.$_containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function Bx(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function wc(e,t,n){return n.closeAllPopover||n.closePopover&&t||Dx(e,n)&&!t}function Dx(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Fx(e){for(let t=0;t<dt.length;t++)dt[t].$_computePosition(e)}let qt=0,Gt=0,Tr=0,Pr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{qt=Tr,Gt=Pr,Tr=e.clientX,Pr=e.clientY},nr?{passive:!0}:void 0);function ci(e,t,n,r,i,o,s,a){const l=((s-i)*(t-o)-(a-o)*(e-i))/((a-o)*(n-e)-(s-i)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-i))/((a-o)*(n-e)-(s-i)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}var Ea=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const Hx={extends:Zd()};function zx(e,t,n,r,i,o){return G(),ie("div",{ref:"reference",class:Oe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ke(e.$slots,"default",rp(zu(e.slotData)))],2)}var Vx=Ea(Hx,[["render",zx]]);function Ux(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let ki;function Cs(){Cs.init||(Cs.init=!0,ki=Ux()!==-1)}var Mo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Cs(),xt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ki&&this.$el.appendChild(e),e.data="about:blank",ki||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ki&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Kx=oh();bu("data-v-b329ee4c");const Wx={class:"resize-observer",tabindex:"-1"};xu();const qx=Kx((e,t,n,r,i,o)=>(G(),We("div",Wx)));Mo.render=qx;Mo.__scopeId="data-v-b329ee4c";Mo.__file="src/components/ResizeObserver.vue";var tf=(e="theme")=>({computed:{themeClass(){return Lx(this[e])}}});const Gx=Fe({name:"VPopperContent",components:{ResizeObserver:Mo},mixins:[tf()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Yx=["id","aria-hidden","tabindex","data-popper-placement"],Jx={ref:"inner",class:"v-popper__inner"},Xx=_("div",{class:"v-popper__arrow-outer"},null,-1),Qx=_("div",{class:"v-popper__arrow-inner"},null,-1),Zx=[Xx,Qx];function ew(e,t,n,r,i,o){const s=ss("ResizeObserver");return G(),ie("div",{id:e.popperId,ref:"popover",class:Oe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:An(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Zu(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[_("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),_("div",{class:"v-popper__wrapper",style:An(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[_("div",Jx,[e.mounted?(G(),ie(_e,{key:0},[_("div",null,[Ke(e.$slots,"default")]),e.handleResize?(G(),We(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Qe("",!0)],64)):Qe("",!0)],512),_("div",{ref:"arrow",class:"v-popper__arrow-container",style:An(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Zx,4)],4)],46,Yx)}var nf=Ea(Gx,[["render",ew]]),rf={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};const tw=Fe({name:"VPopperWrapper",components:{Popper:Vx,PopperContent:nf},mixins:[rf,tf("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){var e;return(e=this.theme)!=null?e:this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function nw(e,t,n,r,i,o){const s=ss("PopperContent"),a=ss("Popper");return G(),We(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Oe([e.themeClass])},{default:Re(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:d,autoHide:f,show:p,hide:h,handleResize:g,onResize:w,classes:b,result:m})=>[Ke(e.$slots,"default",{shown:c,show:p,hide:h}),ye(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":d,"auto-hide":f,"handle-resize":g,classes:b,result:m,onHide:h,onResize:w},{default:Re(()=>[Ke(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var ja=Ea(tw,[["render",nw]]);Fe(Ro(tn({},ja),{name:"VDropdown",vPopperTheme:"dropdown"}));Fe(Ro(tn({},ja),{name:"VMenu",vPopperTheme:"menu"}));Fe(Ro(tn({},ja),{name:"VTooltip",vPopperTheme:"tooltip"}));Fe({name:"VTooltipDirective",components:{Popper:Zd(),PopperContent:nf},mixins:[rf],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ki(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ki(e.theme,"loadingContent")}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const rw={class:"flex items-center text-lg"},iw={name:"ModalSimple",props:{ShowModal:Boolean},methods:{closeModal(){this.ShowModal=!1}}},of=Object.assign(iw,{setup(e){return(t,n)=>e.ShowModal?(G(),We(Ae($b),{key:0,size:t.size,onClose:n[0]||(n[0]=r=>t.closeModal())},{header:Re(()=>[_("div",rw,[Ke(t.$slots,"header")])]),body:Re(()=>[Ke(t.$slots,"body")]),footer:Re(()=>[Ke(t.$slots,"footer")]),_:3},8,["size"])):Qe("",!0)}});var ow=function(){function e(t,n){n===void 0&&(n=[]),this._eventType=t,this._eventFunctions=n}return e.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(t._eventType,n)})},e}(),Wi=globalThis&&globalThis.__assign||function(){return Wi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Wi.apply(this,arguments)},qi={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},sf=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=qi),this._items=t,this._options=Wi(Wi({},qi),n),this._init()}return e.prototype._init=function(){var t=this;this._items.length&&this._items.map(function(n){n.active&&t.open(n.id),n.triggerEl.addEventListener("click",function(){t.toggle(n.id)})})},e.prototype.getItem=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.open=function(t){var n,r,i=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map(function(s){var a,l;s!==o&&((a=s.triggerEl.classList).remove.apply(a,i._options.activeClasses.split(" ")),(l=s.triggerEl.classList).add.apply(l,i._options.inactiveClasses.split(" ")),s.targetEl.classList.add("hidden"),s.triggerEl.setAttribute("aria-expanded","false"),s.active=!1,s.iconEl&&s.iconEl.classList.remove("rotate-180"))}),(n=o.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(r=o.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,o.iconEl&&o.iconEl.classList.add("rotate-180"),this._options.onOpen(this,o)},e.prototype.toggle=function(t){var n=this.getItem(t);n.active?this.close(t):this.open(t),this._options.onToggle(this,n)},e.prototype.close=function(t){var n,r,i=this.getItem(t);(n=i.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(r=i.triggerEl.classList).add.apply(r,this._options.inactiveClasses.split(" ")),i.targetEl.classList.add("hidden"),i.triggerEl.setAttribute("aria-expanded","false"),i.active=!1,i.iconEl&&i.iconEl.classList.remove("rotate-180"),this._options.onClose(this,i)},e}();typeof window<"u"&&(window.Accordion=sf);function af(){document.querySelectorAll("[data-accordion]").forEach(function(e){var t=e.getAttribute("data-accordion"),n=e.getAttribute("data-active-classes"),r=e.getAttribute("data-inactive-classes"),i=[];e.querySelectorAll("[data-accordion-target]").forEach(function(o){var s={id:o.getAttribute("data-accordion-target"),triggerEl:o,targetEl:document.querySelector(o.getAttribute("data-accordion-target")),iconEl:o.querySelector("[data-accordion-icon]"),active:o.getAttribute("aria-expanded")==="true"};i.push(s)}),new sf(i,{alwaysOpen:t==="open",activeClasses:n||qi.activeClasses,inactiveClasses:r||qi.inactiveClasses})})}var Gi=globalThis&&globalThis.__assign||function(){return Gi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Gi.apply(this,arguments)},_c={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},lf=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=_c),this._targetEl=t,this._triggerEl=n,this._options=Gi(Gi({},_c),r),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){t.toggle()}))},e.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},e.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},e.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},e}();typeof window<"u"&&(window.Collapse=lf);function cf(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(e){var t=e.getAttribute("data-collapse-toggle"),n=document.getElementById(t);n?new lf(n,e):console.error('The target element with id "'.concat(t,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var wn=globalThis&&globalThis.__assign||function(){return wn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},wn.apply(this,arguments)},Oi={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},uf=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=Oi),this._items=t,this._options=wn(wn(wn({},Oi),n),{indicators:wn(wn({},Oi.indicators),n.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return e.prototype._init=function(){var t=this;this._items.map(function(n){n.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(n,r){n.el.addEventListener("click",function(){t.slideTo(r)})})},e.prototype.getItem=function(t){return this._items[t]},e.prototype.slideTo=function(t){var n=this._items[t],r={left:n.position===0?this._items[this._items.length-1]:this._items[n.position-1],middle:n,right:n.position===this._items.length-1?this._items[0]:this._items[n.position+1]};this._rotate(r),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},e.prototype.next=function(){var t=this._getActiveItem(),n=null;t.position===this._items.length-1?n=this._items[0]:n=this._items[t.position+1],this.slideTo(n.position),this._options.onNext(this)},e.prototype.prev=function(){var t=this._getActiveItem(),n=null;t.position===0?n=this._items[this._items.length-1]:n=this._items[t.position-1],this.slideTo(n.position),this._options.onPrev(this)},e.prototype._rotate=function(t){this._items.map(function(n){n.el.classList.add("hidden")}),t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-20"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.right.el.classList.add("translate-x-full","z-10")},e.prototype.cycle=function(){var t=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){t.next()},this._intervalDuration))},e.prototype.pause=function(){clearInterval(this._intervalInstance)},e.prototype._getActiveItem=function(){return this._activeItem},e.prototype._setActiveItem=function(t){var n,r,i=this;this._activeItem=t;var o=t.position;this._indicators.length&&(this._indicators.map(function(s){var a,l;s.el.setAttribute("aria-current","false"),(a=s.el.classList).remove.apply(a,i._options.indicators.activeClasses.split(" ")),(l=s.el.classList).add.apply(l,i._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[o].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(r=this._indicators[o].el.classList).remove.apply(r,this._options.indicators.inactiveClasses.split(" ")),this._indicators[o].el.setAttribute("aria-current","true"))},e}();typeof window<"u"&&(window.Carousel=uf);function df(){document.querySelectorAll("[data-carousel]").forEach(function(e){var t=e.getAttribute("data-carousel-interval"),n=e.getAttribute("data-carousel")==="slide",r=[],i=0;e.querySelectorAll("[data-carousel-item]").length&&Array.from(e.querySelectorAll("[data-carousel-item]")).map(function(c,u){r.push({position:u,el:c}),c.getAttribute("data-carousel-item")==="active"&&(i=u)});var o=[];e.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(e.querySelectorAll("[data-carousel-slide-to]")).map(function(c){o.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var s=new uf(r,{defaultPosition:i,indicators:{items:o},interval:t||Oi.interval});n&&s.cycle();var a=e.querySelector("[data-carousel-next]"),l=e.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){s.next()}),l&&l.addEventListener("click",function(){s.prev()})})}var Yi=globalThis&&globalThis.__assign||function(){return Yi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Yi.apply(this,arguments)},Ec={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},ff=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Ec),this._targetEl=t,this._triggerEl=n,this._options=Yi(Yi({},Ec),r),this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){t.hide()})},e.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){t._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},e}();typeof window<"u"&&(window.Dismiss=ff);function pf(){document.querySelectorAll("[data-dismiss-target]").forEach(function(e){var t=e.getAttribute("data-dismiss-target"),n=document.querySelector(t);n?new ff(n,e):console.error('The dismiss element with id "'.concat(t,'" does not exist. Please check the data-dismiss-target attribute.'))})}var qe="top",st="bottom",at="right",Ge="left",Aa="auto",ti=[qe,st,at,Ge],rr="start",Wr="end",sw="clippingParents",hf="viewport",vr="popper",aw="reference",jc=ti.reduce(function(e,t){return e.concat([t+"-"+rr,t+"-"+Wr])},[]),gf=[].concat(ti,[Aa]).reduce(function(e,t){return e.concat([t,t+"-"+rr,t+"-"+Wr])},[]),lw="beforeRead",cw="read",uw="afterRead",dw="beforeMain",fw="main",pw="afterMain",hw="beforeWrite",gw="write",yw="afterWrite",mw=[lw,cw,uw,dw,fw,pw,hw,gw,yw];function At(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pn(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ot(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ka(e){if(typeof ShadowRoot>"u")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function vw(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];!ot(o)||!At(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function bw(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]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!ot(i)||!At(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const xw={name:"applyStyles",enabled:!0,phase:"write",fn:vw,effect:bw,requires:["computeStyles"]};function _t(e){return e.split("-")[0]}var Cn=Math.max,Ji=Math.min,ir=Math.round;function Ts(){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 yf(){return!/^((?!chrome|android).)*safari/i.test(Ts())}function or(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ot(e)&&(i=e.offsetWidth>0&&ir(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ir(r.height)/e.offsetHeight||1);var s=Pn(e)?et(e):window,a=s.visualViewport,l=!yf()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/o,d=r.width/i,f=r.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function Oa(e){var t=or(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 mf(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ka(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Nt(e){return et(e).getComputedStyle(e)}function ww(e){return["table","td","th"].indexOf(At(e))>=0}function cn(e){return((Pn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Lo(e){return At(e)==="html"?e:e.assignedSlot||e.parentNode||(ka(e)?e.host:null)||cn(e)}function Ac(e){return!ot(e)||Nt(e).position==="fixed"?null:e.offsetParent}function _w(e){var t=/firefox/i.test(Ts()),n=/Trident/i.test(Ts());if(n&&ot(e)){var r=Nt(e);if(r.position==="fixed")return null}var i=Lo(e);for(ka(i)&&(i=i.host);ot(i)&&["html","body"].indexOf(At(i))<0;){var o=Nt(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 ni(e){for(var t=et(e),n=Ac(e);n&&ww(n)&&Nt(n).position==="static";)n=Ac(n);return n&&(At(n)==="html"||At(n)==="body"&&Nt(n).position==="static")?t:n||_w(e)||t}function Sa(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rr(e,t,n){return Cn(e,Ji(t,n))}function Ew(e,t,n){var r=Rr(e,t,n);return r>n?n:r}function vf(){return{top:0,right:0,bottom:0,left:0}}function bf(e){return Object.assign({},vf(),e)}function xf(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var jw=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,bf(typeof t!="number"?t:xf(t,ti))};function Aw(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=_t(n.placement),l=Sa(a),c=[Ge,at].indexOf(a)>=0,u=c?"height":"width";if(!(!o||!s)){var d=jw(i.padding,n),f=Oa(o),p=l==="y"?qe:Ge,h=l==="y"?st:at,g=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],w=s[l]-n.rects.reference[l],b=ni(o),m=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,x=g/2-w/2,E=d[p],C=m-f[u]-d[h],R=m/2-f[u]/2+x,M=Rr(E,R,C),P=l;n.modifiersData[r]=(t={},t[P]=M,t.centerOffset=M-R,t)}}function kw(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)||mf(t.elements.popper,i)&&(t.elements.arrow=i))}const Ow={name:"arrow",enabled:!0,phase:"main",fn:Aw,effect:kw,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sr(e){return e.split("-")[1]}var Sw={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Cw(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ir(n*i)/i||0,y:ir(r*i)/i||0}}function kc(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,p=f===void 0?0:f,h=s.y,g=h===void 0?0:h,w=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=w.x,g=w.y;var b=s.hasOwnProperty("x"),m=s.hasOwnProperty("y"),x=Ge,E=qe,C=window;if(c){var R=ni(n),M="clientHeight",P="clientWidth";if(R===et(n)&&(R=cn(n),Nt(R).position!=="static"&&a==="absolute"&&(M="scrollHeight",P="scrollWidth")),R=R,i===qe||(i===Ge||i===at)&&o===Wr){E=st;var H=d&&R===C&&C.visualViewport?C.visualViewport.height:R[M];g-=H-r.height,g*=l?1:-1}if(i===Ge||(i===qe||i===st)&&o===Wr){x=at;var V=d&&R===C&&C.visualViewport?C.visualViewport.width:R[P];p-=V-r.width,p*=l?1:-1}}var Y=Object.assign({position:a},c&&Sw),N=u===!0?Cw({x:p,y:g},et(n)):{x:p,y:g};if(p=N.x,g=N.y,l){var W;return Object.assign({},Y,(W={},W[E]=m?"0":"",W[x]=b?"0":"",W.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",W))}return Object.assign({},Y,(t={},t[E]=m?g+"px":"",t[x]=b?p+"px":"",t.transform="",t))}function Tw(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:_t(t.placement),variation:sr(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,kc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,kc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Pw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Tw,data:{}};var ui={passive:!0};function Rw(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,ui)}),a&&l.addEventListener("resize",n.update,ui),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,ui)}),a&&l.removeEventListener("resize",n.update,ui)}}const Mw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Rw,data:{}};var Lw={left:"right",right:"left",bottom:"top",top:"bottom"};function Si(e){return e.replace(/left|right|bottom|top/g,function(t){return Lw[t]})}var $w={start:"end",end:"start"};function Oc(e){return e.replace(/start|end/g,function(t){return $w[t]})}function Ca(e){var t=et(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ta(e){return or(cn(e)).left+Ca(e).scrollLeft}function Iw(e,t){var n=et(e),r=cn(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=yf();(c||!c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+Ta(e),y:l}}function Nw(e){var t,n=cn(e),r=Ca(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Cn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Cn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Ta(e),l=-r.scrollTop;return Nt(i||n).direction==="rtl"&&(a+=Cn(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function Pa(e){var t=Nt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function wf(e){return["html","body","#document"].indexOf(At(e))>=0?e.ownerDocument.body:ot(e)&&Pa(e)?e:wf(Lo(e))}function Mr(e,t){var n;t===void 0&&(t=[]);var r=wf(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=et(r),s=i?[o].concat(o.visualViewport||[],Pa(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Mr(Lo(s)))}function Ps(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Bw(e,t){var n=or(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 Sc(e,t,n){return t===hf?Ps(Iw(e,n)):Pn(t)?Bw(t,n):Ps(Nw(cn(e)))}function Dw(e){var t=Mr(Lo(e)),n=["absolute","fixed"].indexOf(Nt(e).position)>=0,r=n&&ot(e)?ni(e):e;return Pn(r)?t.filter(function(i){return Pn(i)&&mf(i,r)&&At(i)!=="body"}):[]}function Fw(e,t,n,r){var i=t==="clippingParents"?Dw(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,c){var u=Sc(e,c,r);return l.top=Cn(u.top,l.top),l.right=Ji(u.right,l.right),l.bottom=Ji(u.bottom,l.bottom),l.left=Cn(u.left,l.left),l},Sc(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function _f(e){var t=e.reference,n=e.element,r=e.placement,i=r?_t(r):null,o=r?sr(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case qe:l={x:s,y:t.y-n.height};break;case st:l={x:s,y:t.y+t.height};break;case at:l={x:t.x+t.width,y:a};break;case Ge:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?Sa(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case rr:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Wr:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function qr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?sw:a,c=n.rootBoundary,u=c===void 0?hf:c,d=n.elementContext,f=d===void 0?vr:d,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,w=g===void 0?0:g,b=bf(typeof w!="number"?w:xf(w,ti)),m=f===vr?aw:vr,x=e.rects.popper,E=e.elements[h?m:f],C=Fw(Pn(E)?E:E.contextElement||cn(e.elements.popper),l,u,s),R=or(e.elements.reference),M=_f({reference:R,element:x,strategy:"absolute",placement:i}),P=Ps(Object.assign({},x,M)),H=f===vr?P:R,V={top:C.top-H.top+b.top,bottom:H.bottom-C.bottom+b.bottom,left:C.left-H.left+b.left,right:H.right-C.right+b.right},Y=e.modifiersData.offset;if(f===vr&&Y){var N=Y[i];Object.keys(V).forEach(function(W){var se=[at,st].indexOf(W)>=0?1:-1,Pe=[qe,st].indexOf(W)>=0?"y":"x";V[W]+=N[Pe]*se})}return V}function Hw(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?gf:l,u=sr(r),d=u?a?jc:jc.filter(function(h){return sr(h)===u}):ti,f=d.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,g){return h[g]=qr(e,{placement:g,boundary:i,rootBoundary:o,padding:s})[_t(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function zw(e){if(_t(e)===Aa)return[];var t=Si(e);return[Oc(e),t,Oc(t)]}function Vw(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,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,w=t.options.placement,b=_t(w),m=b===w,x=l||(m||!h?[Si(w)]:zw(w)),E=[w].concat(x).reduce(function(Se,A){return Se.concat(_t(A)===Aa?Hw(t,{placement:A,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):A)},[]),C=t.rects.reference,R=t.rects.popper,M=new Map,P=!0,H=E[0],V=0;V<E.length;V++){var Y=E[V],N=_t(Y),W=sr(Y)===rr,se=[qe,st].indexOf(N)>=0,Pe=se?"width":"height",ee=qr(t,{placement:Y,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),J=se?W?at:Ge:W?st:qe;C[Pe]>R[Pe]&&(J=Si(J));var ne=Si(J),ge=[];if(o&&ge.push(ee[N]<=0),a&&ge.push(ee[J]<=0,ee[ne]<=0),ge.every(function(Se){return Se})){H=Y,P=!1;break}M.set(Y,ge)}if(P)for(var He=h?3:1,Ee=function(A){var D=E.find(function(B){var U=M.get(B);if(U)return U.slice(0,A).every(function(oe){return oe})});if(D)return H=D,"break"},me=He;me>0;me--){var Be=Ee(me);if(Be==="break")break}t.placement!==H&&(t.modifiersData[r]._skip=!0,t.placement=H,t.reset=!0)}}const Uw={name:"flip",enabled:!0,phase:"main",fn:Vw,requiresIfExists:["offset"],data:{_skip:!1}};function Cc(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 Tc(e){return[qe,at,st,Ge].some(function(t){return e[t]>=0})}function Kw(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=qr(t,{elementContext:"reference"}),a=qr(t,{altBoundary:!0}),l=Cc(s,r),c=Cc(a,i,o),u=Tc(l),d=Tc(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Ww={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Kw};function qw(e,t,n){var r=_t(e),i=[Ge,qe].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Ge,at].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function Gw(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=gf.reduce(function(u,d){return u[d]=qw(d,t.rects,o),u},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}const Yw={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Gw};function Jw(e){var t=e.state,n=e.name;t.modifiersData[n]=_f({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Xw={name:"popperOffsets",enabled:!0,phase:"read",fn:Jw,data:{}};function Qw(e){return e==="x"?"y":"x"}function Zw(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,g=h===void 0?0:h,w=qr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=_t(t.placement),m=sr(t.placement),x=!m,E=Sa(b),C=Qw(E),R=t.modifiersData.popperOffsets,M=t.rects.reference,P=t.rects.popper,H=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,V=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(R){if(o){var W,se=E==="y"?qe:Ge,Pe=E==="y"?st:at,ee=E==="y"?"height":"width",J=R[E],ne=J+w[se],ge=J-w[Pe],He=p?-P[ee]/2:0,Ee=m===rr?M[ee]:P[ee],me=m===rr?-P[ee]:-M[ee],Be=t.elements.arrow,Se=p&&Be?Oa(Be):{width:0,height:0},A=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vf(),D=A[se],B=A[Pe],U=Rr(0,M[ee],Se[ee]),oe=x?M[ee]/2-He-U-D-V.mainAxis:Ee-U-D-V.mainAxis,be=x?-M[ee]/2+He+U+B+V.mainAxis:me+U+B+V.mainAxis,Z=t.elements.arrow&&ni(t.elements.arrow),y=Z?E==="y"?Z.clientTop||0:Z.clientLeft||0:0,v=(W=Y==null?void 0:Y[E])!=null?W:0,j=J+oe-v-y,k=J+be-v,S=Rr(p?Ji(ne,j):ne,J,p?Cn(ge,k):ge);R[E]=S,N[E]=S-J}if(a){var $,F=E==="x"?qe:Ge,L=E==="x"?st:at,I=R[C],T=C==="y"?"height":"width",q=I+w[F],z=I-w[L],K=[qe,Ge].indexOf(b)!==-1,Q=($=Y==null?void 0:Y[C])!=null?$:0,re=K?q:I-M[T]-P[T]-Q+V.altAxis,pe=K?I+M[T]+P[T]-Q-V.altAxis:z,fe=p&&K?Ew(re,I,pe):Rr(p?re:q,I,p?pe:z);R[C]=fe,N[C]=fe-I}t.modifiersData[r]=N}}const e_={name:"preventOverflow",enabled:!0,phase:"main",fn:Zw,requiresIfExists:["offset"]};function t_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function n_(e){return e===et(e)||!ot(e)?Ca(e):t_(e)}function r_(e){var t=e.getBoundingClientRect(),n=ir(t.width)/e.offsetWidth||1,r=ir(t.height)/e.offsetHeight||1;return n!==1||r!==1}function i_(e,t,n){n===void 0&&(n=!1);var r=ot(t),i=ot(t)&&r_(t),o=cn(t),s=or(e,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((At(t)!=="body"||Pa(o))&&(a=n_(t)),ot(t)?(l=or(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Ta(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function o_(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 s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function s_(e){var t=o_(e);return mw.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function a_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function l_(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 Pc={placement:"bottom",modifiers:[],strategy:"absolute"};function Rc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function c_(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?Pc:i;return function(a,l,c){c===void 0&&(c=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pc,o),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,p={state:u,setOptions:function(b){var m=typeof b=="function"?b(u.options):b;g(),u.options=Object.assign({},o,u.options,m),u.scrollParents={reference:Pn(a)?Mr(a):a.contextElement?Mr(a.contextElement):[],popper:Mr(l)};var x=s_(l_([].concat(r,u.options.modifiers)));return u.orderedModifiers=x.filter(function(E){return E.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var b=u.elements,m=b.reference,x=b.popper;if(Rc(m,x)){u.rects={reference:i_(m,ni(x),u.options.strategy==="fixed"),popper:Oa(x)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(V){return u.modifiersData[V.name]=Object.assign({},V.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var C=u.orderedModifiers[E],R=C.fn,M=C.options,P=M===void 0?{}:M,H=C.name;typeof R=="function"&&(u=R({state:u,options:P,name:H,instance:p})||u)}}}},update:a_(function(){return new Promise(function(w){p.forceUpdate(),w(u)})}),destroy:function(){g(),f=!0}};if(!Rc(a,l))return p;p.setOptions(c).then(function(w){!f&&c.onFirstUpdate&&c.onFirstUpdate(w)});function h(){u.orderedModifiers.forEach(function(w){var b=w.name,m=w.options,x=m===void 0?{}:m,E=w.effect;if(typeof E=="function"){var C=E({state:u,name:b,instance:p,options:x}),R=function(){};d.push(C||R)}})}function g(){d.forEach(function(w){return w()}),d=[]}return p}}var u_=[Mw,Xw,Pw,xw,Yw,Uw,e_,Ow,Ww],Ra=c_({defaultModifiers:u_}),Xt=globalThis&&globalThis.__assign||function(){return Xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Xt.apply(this,arguments)},di=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},_n={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},Ef=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=_n),this._targetEl=t,this._triggerEl=n,this._options=Xt(Xt({},_n),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();this._options.triggerType==="click"&&n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.toggle()})}),this._options.triggerType==="hover"&&(n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){r==="click"?t.toggle():setTimeout(function(){t.show()},t._options.delay)}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},t._options.delay)}),t._targetEl.addEventListener(r,function(){setTimeout(function(){t._triggerEl.matches(":hover")||t.hide()},t._options.delay)})}))},e.prototype._createPopperInstance=function(){return Ra(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.isVisible=function(){return this._visible},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(t){return Xt(Xt({},t),{modifiers:di(di([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(t){return Xt(Xt({},t),{modifiers:di(di([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},e}();typeof window<"u"&&(window.Dropdown=Ef);function jf(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(e){var t=e.getAttribute("data-dropdown-toggle"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-dropdown-placement"),i=e.getAttribute("data-dropdown-offset-skidding"),o=e.getAttribute("data-dropdown-offset-distance"),s=e.getAttribute("data-dropdown-trigger"),a=e.getAttribute("data-dropdown-delay");new Ef(n,e,{placement:r||_n.placement,triggerType:s||_n.triggerType,offsetSkidding:i?parseInt(i):_n.offsetSkidding,offsetDistance:o?parseInt(o):_n.offsetDistance,delay:a?parseInt(a):_n.delay})}else console.error('The dropdown element with id "'.concat(t,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var Xi=globalThis&&globalThis.__assign||function(){return Xi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Xi.apply(this,arguments)},Fn={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},Rs=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=Fn),this._targetEl=t,this._options=Xi(Xi({},Fn),n),this._isHidden=!0,this._backdropEl=null,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map(function(n){t._targetEl.classList.add(n)})},e.prototype._createBackdrop=function(){var t;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(t=n.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},e.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},e.prototype._setupModalCloseEventListeners=function(){var t=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){t._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},e.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},e.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},e.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},e.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},e.prototype.isVisible=function(){return!this._isHidden},e.prototype.isHidden=function(){return this._isHidden},e}();typeof window<"u"&&(window.Modal=Rs);var fi=function(e,t){return t.some(function(n){return n.id===e})?t.find(function(n){return n.id===e}):null};function Af(){var e=[];document.querySelectorAll("[data-modal-target]").forEach(function(t){var n=t.getAttribute("data-modal-target"),r=document.getElementById(n);if(r){var i=r.getAttribute("data-modal-placement"),o=r.getAttribute("data-modal-backdrop");fi(n,e)||e.push({id:n,object:new Rs(r,{placement:i||Fn.placement,backdrop:o||Fn.backdrop})})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(t){var n=t.getAttribute("data-modal-toggle"),r=document.getElementById(n);if(r){var i=r.getAttribute("data-modal-placement"),o=r.getAttribute("data-modal-backdrop"),s=fi(n,e);s||(s={id:n,object:new Rs(r,{placement:i||Fn.placement,backdrop:o||Fn.backdrop})},e.push(s)),t.addEventListener("click",function(){s.object.toggle()})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(t){var n=t.getAttribute("data-modal-show"),r=document.getElementById(n);if(r){var i=fi(n,e);i?t.addEventListener("click",function(){i.object.isHidden&&i.object.show()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(t){var n=t.getAttribute("data-modal-hide"),r=document.getElementById(n);if(r){var i=fi(n,e);i?t.addEventListener("click",function(){i.object.isVisible&&i.object.hide()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var Qi=globalThis&&globalThis.__assign||function(){return Qi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Qi.apply(this,arguments)},En={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},kf=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=En),this._targetEl=t,this._options=Qi(Qi({},En),n),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(n){t._targetEl.classList.add(n)}),document.addEventListener("keydown",function(n){n.key==="Escape"&&t.isVisible()&&t.hide()})},e.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.add(n)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.remove(n)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype._createBackdrop=function(){var t,n=this;if(!this._visible){var r=document.createElement("div");r.setAttribute("drawer-backdrop",""),(t=r.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(r),r.addEventListener("click",function(){n.hide()})}},e.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},e.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e}();typeof window<"u"&&(window.Drawer=kf);var pi=function(e,t){if(t.some(function(n){return n.id===e}))return t.find(function(n){return n.id===e})};function Of(){var e=[];document.querySelectorAll("[data-drawer-target]").forEach(function(t){var n=t.getAttribute("data-drawer-target"),r=document.getElementById(n);if(r){var i=t.getAttribute("data-drawer-placement"),o=t.getAttribute("data-drawer-body-scrolling"),s=t.getAttribute("data-drawer-backdrop"),a=t.getAttribute("data-drawer-edge"),l=t.getAttribute("data-drawer-edge-offset");pi(n,e)||e.push({id:n,object:new kf(r,{placement:i||En.placement,bodyScrolling:o?o==="true":En.bodyScrolling,backdrop:s?s==="true":En.backdrop,edge:a?a==="true":En.edge,edgeOffset:l||En.edgeOffset})})}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(t){var n=t.getAttribute("data-drawer-toggle"),r=document.getElementById(n);if(r){var i=pi(n,e);i?t.addEventListener("click",function(){i.object.toggle()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(t){var n=t.getAttribute("data-drawer-dismiss")?t.getAttribute("data-drawer-dismiss"):t.getAttribute("data-drawer-hide"),r=document.getElementById(n);if(r){var i=pi(n,e);i?t.addEventListener("click",function(){i.object.hide()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(t){var n=t.getAttribute("data-drawer-show"),r=document.getElementById(n);if(r){var i=pi(n,e);i?t.addEventListener("click",function(){i.object.show()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var Zi=globalThis&&globalThis.__assign||function(){return Zi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Zi.apply(this,arguments)},Mc={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},Sf=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=Mc),this._items=t,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=Zi(Zi({},Mc),n),this._init()}return e.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(n){n.triggerEl.addEventListener("click",function(){t.show(n.id)})}))},e.prototype.getActiveTab=function(){return this._activeTab},e.prototype._setActiveTab=function(t){this._activeTab=t},e.prototype.getTab=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.show=function(t,n){var r,i,o=this;n===void 0&&(n=!1);var s=this.getTab(t);s===this._activeTab&&!n||(this._items.map(function(a){var l,c;a!==s&&((l=a.triggerEl.classList).remove.apply(l,o._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,o._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(r=s.triggerEl.classList).add.apply(r,this._options.activeClasses.split(" ")),(i=s.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),s.triggerEl.setAttribute("aria-selected","true"),s.targetEl.classList.remove("hidden"),this._setActiveTab(s),this._options.onShow(this,s))},e}();typeof window<"u"&&(window.Tabs=Sf);function Cf(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(e){var t=[],n=null;e.querySelectorAll('[role="tab"]').forEach(function(r){var i=r.getAttribute("aria-selected")==="true",o={id:r.getAttribute("data-tabs-target"),triggerEl:r,targetEl:document.querySelector(r.getAttribute("data-tabs-target"))};t.push(o),i&&(n=o.id)}),new Sf(t,{defaultTabId:n})})}var Qt=globalThis&&globalThis.__assign||function(){return Qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Qt.apply(this,arguments)},hi=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},eo={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Tf=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=eo),this._targetEl=t,this._triggerEl=n,this._options=Qt(Qt({},eo),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.hide()})})},e.prototype._createPopperInstance=function(){return Ra(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return Qt(Qt({},t),{modifiers:hi(hi([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return Qt(Qt({},t),{modifiers:hi(hi([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();typeof window<"u"&&(window.Tooltip=Tf);function Pf(){document.querySelectorAll("[data-tooltip-target]").forEach(function(e){var t=e.getAttribute("data-tooltip-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-tooltip-trigger"),i=e.getAttribute("data-tooltip-placement");new Tf(n,e,{placement:i||eo.placement,triggerType:r||eo.triggerType})}else console.error('The tooltip element with id "'.concat(t,'" does not exist. Please check the data-tooltip-target attribute.'))})}var Zt=globalThis&&globalThis.__assign||function(){return Zt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Zt.apply(this,arguments)},gi=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},Lr={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Rf=function(){function e(t,n,r){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=Lr),this._targetEl=t,this._triggerEl=n,this._options=Zt(Zt({},Lr),r),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},e.prototype._setupEventListeners=function(){var t=this,n=this._getTriggerEvents();n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},100)}),t._targetEl.addEventListener(r,function(){setTimeout(function(){t._triggerEl.matches(":hover")||t.hide()},100)})})},e.prototype._createPopperInstance=function(){return Ra(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var r=t.target;r!==n&&!n.contains(r)&&!this._triggerEl.contains(r)&&this.isVisible()&&this.hide()},e.prototype.isVisible=function(){return this._visible},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return Zt(Zt({},t),{modifiers:gi(gi([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return Zt(Zt({},t),{modifiers:gi(gi([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},e}();typeof window<"u"&&(window.Popover=Rf);function Mf(){document.querySelectorAll("[data-popover-target]").forEach(function(e){var t=e.getAttribute("data-popover-target"),n=document.getElementById(t);if(n){var r=e.getAttribute("data-popover-trigger"),i=e.getAttribute("data-popover-placement"),o=e.getAttribute("data-popover-offset");new Rf(n,e,{placement:i||Lr.placement,offset:o?parseInt(o):Lr.offset,triggerType:r||Lr.triggerType})}else console.error('The popover element with id "'.concat(t,'" does not exist. Please check the data-popover-target attribute.'))})}var to=globalThis&&globalThis.__assign||function(){return to=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},to.apply(this,arguments)},Ms={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Lf=function(){function e(t,n,r,i){t===void 0&&(t=null),n===void 0&&(n=null),r===void 0&&(r=null),i===void 0&&(i=Ms),this._parentEl=t,this._triggerEl=n,this._targetEl=r,this._options=to(to({},Ms),i),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;if(this._triggerEl){var n=this._getTriggerEventTypes(this._options.triggerType);n.showEvents.forEach(function(r){t._triggerEl.addEventListener(r,function(){t.show()}),t._targetEl.addEventListener(r,function(){t.show()})}),n.hideEvents.forEach(function(r){t._parentEl.addEventListener(r,function(){t._parentEl.matches(":hover")||t.hide()})})}},e.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this._visible?this.hide():this.show()},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e.prototype._getTriggerEventTypes=function(t){switch(t){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e}();typeof window<"u"&&(window.Dial=Lf);function $f(){document.querySelectorAll("[data-dial-init]").forEach(function(e){var t=e.querySelector("[data-dial-toggle]");if(t){var n=t.getAttribute("data-dial-toggle"),r=document.getElementById(n);if(r){var i=t.getAttribute("data-dial-trigger");new Lf(e,t,r,{triggerType:i||Ms.triggerType})}else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(e.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}function d_(){af(),cf(),df(),pf(),jf(),Af(),Of(),Cf(),Pf(),Mf(),$f()}var f_=new ow("load",[af,cf,df,pf,jf,Af,Of,Cf,Pf,Mf,$f]);f_.init();const kt=Object.create(null);kt.open="0";kt.close="1";kt.ping="2";kt.pong="3";kt.message="4";kt.upgrade="5";kt.noop="6";const Ci=Object.create(null);Object.keys(kt).forEach(e=>{Ci[kt[e]]=e});const p_={type:"error",data:"parser error"},h_=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",g_=typeof ArrayBuffer=="function",y_=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,If=({type:e,data:t},n,r)=>h_&&t instanceof Blob?n?r(t):Lc(t,r):g_&&(t instanceof ArrayBuffer||y_(t))?n?r(t):Lc(new Blob([t]),r):r(kt[e]+(t||"")),Lc=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},$c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_r=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<$c.length;e++)_r[$c.charCodeAt(e)]=e;const m_=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(r=0;r<n;r+=4)o=_r[e.charCodeAt(r)],s=_r[e.charCodeAt(r+1)],a=_r[e.charCodeAt(r+2)],l=_r[e.charCodeAt(r+3)],u[i++]=o<<2|s>>4,u[i++]=(s&15)<<4|a>>2,u[i++]=(a&3)<<6|l&63;return c},v_=typeof ArrayBuffer=="function",Nf=(e,t)=>{if(typeof e!="string")return{type:"message",data:Bf(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:b_(e.substring(1),t)}:Ci[n]?e.length>1?{type:Ci[n],data:e.substring(1)}:{type:Ci[n]}:p_},b_=(e,t)=>{if(v_){const n=m_(e);return Bf(n,t)}else return{base64:!0,data:e}},Bf=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},Df=String.fromCharCode(30),x_=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{If(o,!1,a=>{r[s]=a,++i===n&&t(r.join(Df))})})},w_=(e,t)=>{const n=e.split(Df),r=[];for(let i=0;i<n.length;i++){const o=Nf(n[i],t);if(r.push(o),o.type==="error")break}return r},Ff=4;function Te(e){if(e)return __(e)}function __(e){for(var t in Te.prototype)e[t]=Te.prototype[t];return e}Te.prototype.on=Te.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Te.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Te.prototype.off=Te.prototype.removeListener=Te.prototype.removeAllListeners=Te.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Te.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};Te.prototype.emitReserved=Te.prototype.emit;Te.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Te.prototype.hasListeners=function(e){return!!this.listeners(e).length};const rt=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hf(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const E_=rt.setTimeout,j_=rt.clearTimeout;function $o(e,t){t.useNativeTimers?(e.setTimeoutFn=E_.bind(rt),e.clearTimeoutFn=j_.bind(rt)):(e.setTimeoutFn=rt.setTimeout.bind(rt),e.clearTimeoutFn=rt.clearTimeout.bind(rt))}const A_=1.33;function k_(e){return typeof e=="string"?O_(e):Math.ceil((e.byteLength||e.size)*A_)}function O_(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}class S_ extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class zf extends Te{constructor(t){super(),this.writable=!1,$o(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new S_(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Nf(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}const Vf="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Ls=64,C_={};let Ic=0,yi=0,Nc;function Bc(e){let t="";do t=Vf[e%Ls]+t,e=Math.floor(e/Ls);while(e>0);return t}function Uf(){const e=Bc(+new Date);return e!==Nc?(Ic=0,Nc=e):e+"."+Bc(Ic++)}for(;yi<Ls;yi++)C_[Vf[yi]]=yi;function Kf(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function T_(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}let Wf=!1;try{Wf=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const P_=Wf;function qf(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||P_))return new XMLHttpRequest}catch{}if(!t)try{return new rt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function R_(){}const M_=function(){return new qf({xdomain:!1}).responseType!=null}();class L_ extends zf{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let i=location.port;i||(i=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port,this.xs=t.secure!==r}const n=t&&t.forceBase64;this.supportsBinary=M_&&!n}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};w_(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,x_(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Uf()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const i=Kf(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new Et(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class Et extends Te{constructor(t,n){super(),$o(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=Hf(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new qf(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=Et.requestsCount++,Et.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=R_,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Et.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Et.requestsCount=0;Et.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Dc);else if(typeof addEventListener=="function"){const e="onpagehide"in rt?"pagehide":"unload";addEventListener(e,Dc,!1)}}function Dc(){for(let e in Et.requests)Et.requests.hasOwnProperty(e)&&Et.requests[e].abort()}const Gf=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),mi=rt.WebSocket||rt.MozWebSocket,Fc=!0,$_="arraybuffer",Hc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class I_ extends zf{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=Hc?{}:Hf(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=Fc&&!Hc?n?new mi(t,n):new mi(t):new mi(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType||$_,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;If(r,this.supportsBinary,o=>{const s={};try{Fc&&this.ws.send(o)}catch{}i&&Gf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=Uf()),this.supportsBinary||(t.b64=1);const i=Kf(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(i.length?"?"+i:"")}check(){return!!mi}}const N_={websocket:I_,polling:L_},B_=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,D_=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function $s(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=B_.exec(e||""),o={},s=14;for(;s--;)o[D_[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=F_(o,o.path),o.queryKey=H_(o,o.query),o}function F_(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function H_(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}let Yf=class Dn extends Te{constructor(t,n={}){super(),this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=$s(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=$s(n.host).host),$o(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=T_(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Ff,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new N_[t](r)}open(){let t;if(this.opts.rememberUpgrade&&Dn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;Dn.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",d=>{if(!r)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Dn.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function o(){r||(r=!0,u(),n.close(),n=null)}const s=d=>{const f=new Error("probe error: "+d);f.transport=n.name,o(),this.emitReserved("upgradeError",f)};function a(){s("transport closed")}function l(){s("socket closed")}function c(d){n&&d.name!==n.name&&o()}const u=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",i),n.once("error",s),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",Dn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=k_(i)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){Dn.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const i=t.length;for(;r<i;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};Yf.protocol=Ff;function z_(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=$s(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const V_=typeof ArrayBuffer=="function",U_=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Jf=Object.prototype.toString,K_=typeof Blob=="function"||typeof Blob<"u"&&Jf.call(Blob)==="[object BlobConstructor]",W_=typeof File=="function"||typeof File<"u"&&Jf.call(File)==="[object FileConstructor]";function Ma(e){return V_&&(e instanceof ArrayBuffer||U_(e))||K_&&e instanceof Blob||W_&&e instanceof File}function Ti(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Ti(e[n]))return!0;return!1}if(Ma(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Ti(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Ti(e[n]))return!0;return!1}function q_(e){const t=[],n=e.data,r=e;return r.data=Is(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Is(e,t){if(!e)return e;if(Ma(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Is(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Is(e[r],t));return n}return e}function G_(e,t){return e.data=Ns(e.data,t),delete e.attachments,e}function Ns(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Ns(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Ns(e[n],t));return e}const Y_=5;var ae;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ae||(ae={}));class J_{constructor(t){this.replacer=t}encode(t){return(t.type===ae.EVENT||t.type===ae.ACK)&&Ti(t)?this.encodeAsBinary({type:t.type===ae.EVENT?ae.BINARY_EVENT:ae.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===ae.BINARY_EVENT||t.type===ae.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=q_(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}class La extends Te{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===ae.BINARY_EVENT;r||n.type===ae.BINARY_ACK?(n.type=r?ae.EVENT:ae.ACK,this.reconstructor=new X_(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Ma(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(ae[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===ae.BINARY_EVENT||r.type===ae.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(La.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case ae.CONNECT:return typeof n=="object";case ae.DISCONNECT:return n===void 0;case ae.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case ae.EVENT:case ae.BINARY_EVENT:return Array.isArray(n)&&n.length>0;case ae.ACK:case ae.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class X_{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=G_(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Q_=Object.freeze(Object.defineProperty({__proto__:null,Decoder:La,Encoder:J_,get PacketType(){return ae},protocol:Y_},Symbol.toStringTag,{value:"Module"}));function ct(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Z_=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Xf extends Te{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[ct(t,"open",this.onopen.bind(this)),ct(t,"packet",this.onpacket.bind(this)),ct(t,"error",this.onerror.bind(this)),ct(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(Z_.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:ae.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const s=this.ids++,a=n.pop();this._registerAckCallback(s,a),r.id=s}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let s=0;s<this.sendBuffer.length;s++)this.sendBuffer[s].id===t&&this.sendBuffer.splice(s,1);n.call(this,new Error("operation has timed out"))},i);this.acks[t]=(...s)=>{this.io.clearTimeoutFn(o),n.apply(this,[null,...s])}}emitWithAck(t,...n){const r=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((i,o)=>{n.push((s,a)=>r?s?o(s):i(a):i(s)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:ae.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ae.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ae.EVENT:case ae.BINARY_EVENT:this.onevent(t);break;case ae.ACK:case ae.BINARY_ACK:this.onack(t);break;case ae.DISCONNECT:this.ondisconnect();break;case ae.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:ae.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ae.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function fr(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}fr.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};fr.prototype.reset=function(){this.attempts=0};fr.prototype.setMin=function(e){this.ms=e};fr.prototype.setMax=function(e){this.max=e};fr.prototype.setJitter=function(e){this.jitter=e};class Bs extends Te{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,$o(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new fr({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||Q_;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new Yf(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=ct(n,"open",function(){r.onopen(),t&&t()}),o=ct(n,"error",s=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",s),t?t(s):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const s=this._timeout;s===0&&i();const a=this.setTimeoutFn(()=>{i(),n.close(),n.emit("error",new Error("timeout"))},s);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(i),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(ct(t,"ping",this.onping.bind(this)),ct(t,"data",this.ondata.bind(this)),ct(t,"error",this.onerror.bind(this)),ct(t,"close",this.onclose.bind(this)),ct(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Gf(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new Xf(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const br={};function Pi(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=z_(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=br[i]&&o in br[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let l;return a?l=new Bs(r,t):(br[i]||(br[i]=new Bs(r,t)),l=br[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(Pi,{Manager:Bs,Socket:Xf,io:Pi,connect:Pi});const Gn=new Pi("http://localhost:9600");Gn.onopen=()=>{console.log("WebSocket connection established.")};Gn.onclose=e=>{console.log("WebSocket connection closed:",e.code,e.reason)};Gn.onerror=e=>{console.error("WebSocket error:",e)};const un=e=>(bu("data-v-89ca125f"),e=e(),xu(),e),e5={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},t5={class:"z-10 sticky top-0 flex-row p-2 flex items-center gap-3 flex-0 bg-bg-light-tone dark:bg-bg-dark-tone mt-0 px-4 shadow-md"},n5=un(()=>_("i",{"data-feather":"plus"},null,-1)),r5=[n5],i5=go('<button class="text-2xl hover:text-secondary duration-75 active:scale-90" title="Reset database, remove all discussions" data-v-89ca125f><i data-feather="refresh-ccw" data-v-89ca125f></i></button><button class="text-2xl hover:text-secondary duration-75 active:scale-90" title="Export database" type="button" data-v-89ca125f><i data-feather="database" data-v-89ca125f></i></button><button class="text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90" title="Export discussion to a file" type="button" data-v-89ca125f><i data-feather="log-out" data-v-89ca125f></i></button>',3),o5={class:"relative"},s5=un(()=>_("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[_("div",{class:"scale-75"},[_("i",{"data-feather":"search"})])],-1)),a5={class:"absolute inset-y-0 right-0 flex items-center pr-3"},l5=un(()=>_("i",{"data-feather":"x"},null,-1)),c5=[l5],u5=un(()=>_("p",null,"Create new discussion",-1)),d5=un(()=>_("div",{class:"mb-6"},[_("label",{for:"default-input",class:"block mb-2 text-sm font-medium"},"Enter discussion title:"),_("input",{type:"text",id:"default-input",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"})],-1)),f5=un(()=>_("div",{class:"flex justify-between"},[_("button",{type:"button",class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800"},"Create")],-1)),p5={class:"relative overflow-y-scroll no-scrollbar"},h5={key:0,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},g5=un(()=>_("p",{class:"px-3"},"No discussions are found",-1)),y5=[g5],m5=un(()=>_("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex height-64"},null,-1)),v5={setup(){},data(){return{list:[],tempList:[],currentDiscussion:Number,discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,showCreateDiscussionModal:!1}},methods:{async list_discussions(){try{const e=await _s.get("/list_discussions");if(e)return e.data}catch(e){return console.log(e),[]}},async load_discussion(e){try{if(e){this.loading=!0;const t=await _s.post("/load_discussion",{id:e});t&&(this.discussionArr=t.data,this.loading=!1)}}catch(t){console.log(t),this.loading=!1}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.list=this.tempList.filter(e=>e.title.includes(this.filterTitle)),this.filterInProgress=!1},100))},selectDiscussion(e){this.currentDiscussion=e,this.load_discussion(e.id)},scrollToElement(e){e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},createMsg(e){let t={content:e.message,id:e.message,rank:0,sender:e.user};this.discussionArr.push(t),xt(()=>{const r=document.getElementById("msg-"+e.message);this.scrollToElement(r)});let n={content:"..typing",id:e.response_id,rank:0,sender:e.bot};this.discussionArr.push(n),xt(()=>{const r=document.getElementById("msg-"+e.response_id);this.scrollToElement(r)})},sendMsg(e){Gn.emit("generate_msg",{prompt:e})},steamMessageContent(e){const t=this.discussionArr[this.discussionArr.length-1];t.content=e.data},createNewDiscussionShow(){console.log("aa",this.showCreateDiscussionModal),this.showCreateDiscussionModal=!0}},async created(){this.list=await this.list_discussions(),this.tempList=this.list,xt(()=>{Jr.replace()}),Gn.on("infos",this.createMsg),Gn.on("message",this.steamMessageContent)},components:{Discussion:Md,Message:Ld,ChatBox:$d,WelcomeComponent:Id,ModalSimple:of},watch:{filterTitle(e,t){e==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)}}},b5=Object.assign(v5,{__name:"DiscussionsView",setup(e){return fo(()=>{d_()}),(t,n)=>(G(),ie(_e,null,[_("div",e5,[_("div",t5,[_("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=(...r)=>t.createNewDiscussionShow&&t.createNewDiscussionShow(...r))},r5),i5,_("form",null,[_("div",o5,[s5,_("div",a5,[_("div",{class:Oe(["hover:text-secondary duration-75 active:scale-90",t.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[1]||(n[1]=r=>t.filterTitle="")},c5,2)]),Ve(_("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[2]||(n[2]=r=>t.filterTitle=r),onInput:n[3]||(n[3]=r=>t.filterDiscussions())},null,544),[[Ue,t.filterTitle]])])]),ye(of,{ShowModal:t.showCreateDiscussionModal},{header:Re(()=>[u5]),body:Re(()=>[d5]),footer:Re(()=>[f5]),_:1},8,["ShowModal"])]),_("div",p5,[_("div",{class:Oe(["mx-4 flex-grow",t.filterInProgress?"opacity-20 pointer-events-none":""])},[(G(!0),ie(_e,null,vn(t.list,(r,i)=>(G(),We(Md,{key:i,id:r.id,title:r.title,selected:t.currentDiscussion.id==r.id,loading:t.currentDiscussion.id==r.id&&t.loading,onClick:o=>t.selectDiscussion(r)},null,8,["id","title","selected","loading","onClick"]))),128)),t.list.length<1?(G(),ie("div",h5,y5)):Qe("",!0),m5],2)])]),_("div",{class:Oe(["overflow-y-scroll flex flex-col no-scrollbar flex-grow",t.loading?"opacity-20 pointer-events-none":""])},[_("div",null,[(G(!0),ie(_e,null,vn(t.discussionArr,(r,i)=>(G(),We(Ld,{key:i,message:r,onClick:n[4]||(n[4]=o=>t.scrollToElement(o.target)),id:"msg-"+r.id},null,8,["message","id"]))),128)),t.discussionArr.length<1?(G(),We(Id,{key:0})):Qe("",!0),t.discussionArr.length>1?(G(),We($d,{key:1,onMessageSentEvent:t.sendMsg},null,8,["onMessageSentEvent"])):Qe("",!0)])],2)],64))}}),x5=Dt(b5,[["__scopeId","data-v-89ca125f"]]),w5=N0({history:t0("/"),routes:[{path:"/extensions/",name:"extensions",component:pg},{path:"/help/",name:"help",component:yg},{path:"/settings/",name:"settings",component:Sm},{path:"/training/",name:"training",component:Pm},{path:"/",name:"discussions",component:x5}]});const Qf=I1(ug);Qf.use(w5);Qf.mount("#app");
|