From f3c01f47c277cda4291cfeacc696210fbe7d1d08 Mon Sep 17 00:00:00 2001 From: 7PH Date: Fri, 2 Sep 2022 00:01:21 +0200 Subject: [PATCH] #4: Update documentation & Add dist to served files to NPM --- README.md | 2 +- docs-src/src/views/HomeView.vue | 2 +- docs-src/src/views/UsageView.vue | 1 + .../{index.b5792558.js => index.b2848580.js} | 37 ++++++++++--------- ...{index.5af9e8a8.css => index.b2c1b130.css} | 2 +- docs/index.html | 4 +- package.json | 3 +- 7 files changed, 27 insertions(+), 24 deletions(-) rename docs/assets/{index.b5792558.js => index.b2848580.js} (90%) rename docs/assets/{index.5af9e8a8.css => index.b2c1b130.css} (98%) diff --git a/README.md b/README.md index d73a1d5..afdc85a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights around 1.8kb minified and gzipped and 4kb minified.
+PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights less than 2kb minified and gzipped.
Want to try it out? Check out the [demo](https://7ph.github.io/powerglitch/#/playground) 😊 diff --git a/docs-src/src/views/HomeView.vue b/docs-src/src/views/HomeView.vue index 3c8c71e..41e3641 100644 --- a/docs-src/src/views/HomeView.vue +++ b/docs-src/src/views/HomeView.vue @@ -102,7 +102,7 @@ onMounted(() => { ❓ Introduction

- PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights around 1.8kb minified and gzipped and 4kb minified.
+ PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights less than 2kb minified and gzipped.

What are you waiting for? {for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}};pc();function ji(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const gc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bc=ji(gc);function ls(e){return!!e||e===""}function Fi(e){if(ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(yc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ui(e){let t="";if(Ie(e))t=e;else if(ee(e))for(let n=0;nIe(e)?e:e==null?"":ee(e)||Se(e)&&(e.toString===ds||!ne(e.toString))?JSON.stringify(e,cs,2):String(e),cs=(e,t)=>t&&t.__v_isRef?cs(e,t.value):on(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:us(t)?{[`Set(${t.size})`]:[...t.values()]}:Se(t)&&!ee(t)&&!hs(t)?String(t):t,me={},an=[],tt=()=>{},_c=()=>!1,xc=/^on[^a-z]/,Sr=e=>xc.test(e),zi=e=>e.startsWith("onUpdate:"),Le=Object.assign,Hi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ec=Object.prototype.hasOwnProperty,se=(e,t)=>Ec.call(e,t),ee=Array.isArray,on=e=>Cr(e)==="[object Map]",us=e=>Cr(e)==="[object Set]",ne=e=>typeof e=="function",Ie=e=>typeof e=="string",Gi=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",fs=e=>Se(e)&&ne(e.then)&&ne(e.catch),ds=Object.prototype.toString,Cr=e=>ds.call(e),Ac=e=>Cr(e).slice(8,-1),hs=e=>Cr(e)==="[object Object]",Vi=e=>Ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ar=ji(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kc=/-(\w)/g,ct=Rr(e=>e.replace(kc,(t,n)=>n?n.toUpperCase():"")),Oc=/\B([A-Z])/g,gn=Rr(e=>e.replace(Oc,"-$1").toLowerCase()),Ir=Rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yr=Rr(e=>e?`on${Ir(e)}`:""),Bn=(e,t)=>!Object.is(e,t),Kr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Sc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Pa;const Cc=()=>Pa||(Pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ot;class ms{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ot&&(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},gs=e=>(e.w&Pt)>0,bs=e=>(e.n&Pt)>0,Ic=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&s.push(l)});else switch(n!==void 0&&s.push(o.get(n)),t){case"add":ee(e)?Vi(n)&&s.push(o.get("length")):(s.push(o.get(zt)),on(e)&&s.push(o.get(si)));break;case"delete":ee(e)||(s.push(o.get(zt)),on(e)&&s.push(o.get(si)));break;case"set":on(e)&&s.push(o.get(zt));break}if(s.length===1)s[0]&&li(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);li(Yi(l))}}function li(e,t){const n=ee(e)?e:[...e];for(const r of n)r.computed&&La(r);for(const r of n)r.computed||La(r)}function La(e,t){(e!==We||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Nc=ji("__proto__,__v_isRef,__isVue"),ws=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gi)),Pc=Wi(),Mc=Wi(!1,!0),Lc=Wi(!0),$a=$c();function $c(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ce(this);for(let a=0,o=this.length;a{e[t]=function(...n){bn();const r=ce(this)[t].apply(this,n);return vn(),r}}),e}function Wi(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?Zc:ks:t?As:Es).get(r))return r;const o=ee(r);if(!e&&o&&se($a,i))return Reflect.get($a,i,a);const s=Reflect.get(r,i,a);return(Gi(i)?ws.has(i):Nc(i))||(e||Ge(r,"get",i),t)?s:we(s)?o&&Vi(i)?s:s.value:Se(s)?e?Os(s):yn(s):s}}const Dc=_s(),Bc=_s(!0);function _s(e=!1){return function(n,r,i,a){let o=n[r];if(jn(o)&&we(o)&&!we(i))return!1;if(!e&&!jn(i)&&(ci(i)||(i=ce(i),o=ce(o)),!ee(n)&&we(o)&&!we(i)))return o.value=i,!0;const s=ee(n)&&Vi(r)?Number(r)e,Tr=e=>Reflect.getPrototypeOf(e);function Qn(e,t,n=!1,r=!1){e=e.__v_raw;const i=ce(e),a=ce(t);n||(t!==a&&Ge(i,"get",t),Ge(i,"get",a));const{has:o}=Tr(i),s=r?qi:n?Zi:Fn;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function Zn(e,t=!1){const n=this.__v_raw,r=ce(n),i=ce(e);return t||(e!==i&&Ge(r,"has",e),Ge(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Jn(e,t=!1){return e=e.__v_raw,!t&&Ge(ce(e),"iterate",zt),Reflect.get(e,"size",e)}function Da(e){e=ce(e);const t=ce(this);return Tr(t).has.call(t,e)||(t.add(e),mt(t,"add",e,e)),this}function Ba(e,t){t=ce(t);const n=ce(this),{has:r,get:i}=Tr(n);let a=r.call(n,e);a||(e=ce(e),a=r.call(n,e));const o=i.call(n,e);return n.set(e,t),a?Bn(t,o)&&mt(n,"set",e,t):mt(n,"add",e,t),this}function ja(e){const t=ce(this),{has:n,get:r}=Tr(t);let i=n.call(t,e);i||(e=ce(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&mt(t,"delete",e,void 0),a}function Fa(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&mt(e,"clear",void 0,void 0),n}function er(e,t){return function(r,i){const a=this,o=a.__v_raw,s=ce(o),l=t?qi:e?Zi:Fn;return!e&&Ge(s,"iterate",zt),o.forEach((u,c)=>r.call(i,l(u),l(c),a))}}function tr(e,t,n){return function(...r){const i=this.__v_raw,a=ce(i),o=on(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?qi:t?Zi:Fn;return!t&&Ge(a,"iterate",l?si:zt),{next(){const{value:d,done:m}=u.next();return m?{value:d,done:m}:{value:s?[c(d[0]),c(d[1])]:c(d),done:m}},[Symbol.iterator](){return this}}}}function _t(e){return function(...t){return e==="delete"?!1:this}}function Gc(){const e={get(a){return Qn(this,a)},get size(){return Jn(this)},has:Zn,add:Da,set:Ba,delete:ja,clear:Fa,forEach:er(!1,!1)},t={get(a){return Qn(this,a,!1,!0)},get size(){return Jn(this)},has:Zn,add:Da,set:Ba,delete:ja,clear:Fa,forEach:er(!1,!0)},n={get(a){return Qn(this,a,!0)},get size(){return Jn(this,!0)},has(a){return Zn.call(this,a,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:er(!0,!1)},r={get(a){return Qn(this,a,!0,!0)},get size(){return Jn(this,!0)},has(a){return Zn.call(this,a,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=tr(a,!1,!1),n[a]=tr(a,!0,!1),t[a]=tr(a,!1,!0),r[a]=tr(a,!0,!0)}),[e,n,t,r]}const[Vc,Yc,Kc,Wc]=Gc();function Xi(e,t){const n=t?e?Wc:Kc:e?Yc:Vc;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(se(n,i)&&i in r?n:r,i,a)}const qc={get:Xi(!1,!1)},Xc={get:Xi(!1,!0)},Qc={get:Xi(!0,!1)},Es=new WeakMap,As=new WeakMap,ks=new WeakMap,Zc=new WeakMap;function Jc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eu(e){return e.__v_skip||!Object.isExtensible(e)?0:Jc(Ac(e))}function yn(e){return jn(e)?e:Qi(e,!1,xs,qc,Es)}function tu(e){return Qi(e,!1,Hc,Xc,As)}function Os(e){return Qi(e,!0,zc,Qc,ks)}function Qi(e,t,n,r,i){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=eu(e);if(o===0)return e;const s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function It(e){return jn(e)?It(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function ci(e){return!!(e&&e.__v_isShallow)}function Ss(e){return It(e)||jn(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function cn(e){return dr(e,"__v_skip",!0),e}const Fn=e=>Se(e)?yn(e):e,Zi=e=>Se(e)?Os(e):e;function Cs(e){Rt&&We&&(e=ce(e),ys(e.dep||(e.dep=Yi())))}function Rs(e,t){e=ce(e),e.dep&&li(e.dep)}function we(e){return!!(e&&e.__v_isRef===!0)}function He(e){return Is(e,!1)}function nu(e){return Is(e,!0)}function Is(e,t){return we(e)?e:new ru(e,t)}class ru{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:Fn(t)}get value(){return Cs(this),this._value}set value(t){t=this.__v_isShallow?t:ce(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Fn(t),Rs(this))}}function U(e){return we(e)?e.value:e}const iu={get:(e,t,n)=>U(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return we(i)&&!we(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ts(e){return It(e)?e:new Proxy(e,iu)}function au(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=su(e,n);return t}class ou{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}}function su(e,t,n){const r=e[t];return we(r)?r:new ou(e,t,n)}class lu{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ki(t,()=>{this._dirty||(this._dirty=!0,Rs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=ce(this);return Cs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function cu(e,t,n=!1){let r,i;const a=ne(e);return a?(r=e,i=tt):(r=e.get,i=e.set),new lu(r,i,a||!i,n)}function Tt(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){Nr(a,t,n)}return i}function nt(e,t,n,r){if(ne(e)){const a=Tt(e,t,n,r);return a&&fs(a)&&a.catch(o=>{Nr(o,t,n)}),a}const i=[];for(let a=0;a>>1;Un(ze[r])ft&&ze.splice(t,1)}function Ls(e,t,n,r){ee(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),Ms()}function hu(e){Ls(e,Sn,Rn,Zt)}function mu(e){Ls(e,kt,In,Jt)}function Pr(e,t=null){if(Rn.length){for(fi=t,Sn=[...new Set(Rn)],Rn.length=0,Zt=0;ZtUn(n)-Un(r)),Jt=0;Jte.id==null?1/0:e.id;function Ds(e){ui=!1,hr=!0,Pr(e),ze.sort((n,r)=>Un(n)-Un(r));const t=tt;try{for(ft=0;ftb.trim())),d&&(i=n.map(Sc))}let s,l=r[s=Yr(t)]||r[s=Yr(ct(t))];!l&&a&&(l=r[s=Yr(gn(t))]),l&&nt(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,nt(u,e,6,i)}}function Bs(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!ne(e)){const l=u=>{const c=Bs(u,t,!0);c&&(s=!0,Le(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(r.set(e,null),null):(ee(a)?a.forEach(l=>o[l]=null):Le(o,a),r.set(e,o),o)}function Mr(e,t){return!e||!Sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,gn(t))||se(e,t))}let Qe=null,Lr=null;function mr(e){const t=Qe;return Qe=e,Lr=e&&e.type.__scopeId||null,t}function js(e){Lr=e}function Fs(){Lr=null}function qe(e,t=Qe,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Xa(-1);const a=mr(t),o=e(...i);return mr(a),r._d&&Xa(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Wr(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:m,setupState:b,ctx:C,inheritAttrs:j}=e;let M,v;const S=mr(e);try{if(n.shapeFlag&4){const V=i||r;M=st(c.call(V,V,d,a,b,m,C)),v=l}else{const V=t;M=st(V.length>1?V(a,{attrs:l,slots:s,emit:u}):V(a,null)),v=t.props?l:gu(l)}}catch(V){Tn.length=0,Nr(V,e,1),M=H(Vt)}let D=M;if(v&&j!==!1){const V=Object.keys(v),{shapeFlag:W}=D;V.length&&W&7&&(o&&V.some(zi)&&(v=bu(v,o)),D=fn(D,v))}return n.dirs&&(D=fn(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),M=D,mr(S),M}const gu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sr(n))&&((t||(t={}))[n]=e[n]);return t},bu=(e,t)=>{const n={};for(const r in e)(!zi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vu(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ua(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function _u(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):mu(e)}function or(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Ce||Qe;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&&ne(t)?t.call(r.proxy):t}}const za={};function Nt(e,t,n){return Us(e,t,n)}function Us(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:o}=me){const s=Ce;let l,u=!1,c=!1;if(we(e)?(l=()=>e.value,u=ci(e)):It(e)?(l=()=>e,r=!0):ee(e)?(c=!0,u=e.some(v=>It(v)||ci(v)),l=()=>e.map(v=>{if(we(v))return v.value;if(It(v))return tn(v);if(ne(v))return Tt(v,s,2)})):ne(e)?t?l=()=>Tt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return d&&d(),nt(e,s,3,[m])}:l=tt,t&&r){const v=l;l=()=>tn(v())}let d,m=v=>{d=M.onStop=()=>{Tt(v,s,4)}};if(Hn)return m=tt,t?n&&nt(t,s,3,[l(),c?[]:void 0,m]):l(),tt;let b=c?[]:za;const C=()=>{if(!!M.active)if(t){const v=M.run();(r||u||(c?v.some((S,D)=>Bn(S,b[D])):Bn(v,b)))&&(d&&d(),nt(t,s,3,[v,b===za?void 0:b,m]),b=v)}else M.run()};C.allowRecurse=!!t;let j;i==="sync"?j=C:i==="post"?j=()=>De(C,s&&s.suspense):j=()=>hu(C);const M=new Ki(l,j);return t?n?C():b=M.run():i==="post"?De(M.run.bind(M),s&&s.suspense):M.run(),()=>{M.stop(),s&&s.scope&&Hi(s.scope.effects,M)}}function xu(e,t,n){const r=this.proxy,i=Ie(e)?e.includes(".")?zs(r,e):()=>r[e]:e.bind(r,r);let a;ne(t)?a=t:(a=t.handler,n=t);const o=Ce;dn(this);const s=Us(i,a.bind(r),n);return o?dn(o):Ht(),s}function zs(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{tn(n,t)});else if(hs(e))for(const n in e)tn(e[n],t);return e}function wn(e){return ne(e)?{setup:e,name:e.name}:e}const sr=e=>!!e.type.__asyncLoader,Hs=e=>e.type.__isKeepAlive;function Eu(e,t){Gs(e,"a",t)}function Au(e,t){Gs(e,"da",t)}function Gs(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if($r(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Hs(i.parent.vnode)&&ku(r,t,n,i),i=i.parent}}function ku(e,t,n,r){const i=$r(t,e,r,!0);ta(()=>{Hi(r[t],i)},n)}function $r(e,t,n=Ce,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;bn(),dn(n);const s=nt(t,n,e,o);return Ht(),vn(),s});return r?i.unshift(a):i.push(a),a}}const vt=e=>(t,n=Ce)=>(!Hn||e==="sp")&&$r(e,t,n),Ou=vt("bm"),un=vt("m"),Su=vt("bu"),Cu=vt("u"),Ru=vt("bum"),ta=vt("um"),Iu=vt("sp"),Tu=vt("rtg"),Nu=vt("rtc");function Pu(e,t=Ce){$r("ec",e,t)}function $t(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let o=0;ot(o,s,void 0,a&&a[s]));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,l=o.length;se?il(e)?aa(e)||e.proxy:di(e.parent):null,pr=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=>di(e.parent),$root:e=>di(e.root),$emit:e=>e.emit,$options:e=>Ks(e),$forceUpdate:e=>e.f||(e.f=()=>Ps(e.update)),$nextTick:e=>e.n||(e.n=ea.bind(e.proxy)),$watch:e=>xu.bind(e)}),Du={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(r!==me&&se(r,t))return o[t]=1,r[t];if(i!==me&&se(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&se(u,t))return o[t]=3,a[t];if(n!==me&&se(n,t))return o[t]=4,n[t];hi&&(o[t]=0)}}const c=pr[t];let d,m;if(c)return t==="$attrs"&&Ge(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==me&&se(n,t))return o[t]=4,n[t];if(m=l.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return i!==me&&se(i,t)?(i[t]=n,!0):r!==me&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},o){let s;return!!n[o]||e!==me&&se(e,o)||t!==me&&se(t,o)||(s=a[0])&&se(s,o)||se(r,o)||se(pr,o)||se(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let hi=!0;function Bu(e){const t=Ks(e),n=e.proxy,r=e.ctx;hi=!1,t.beforeCreate&&Ga(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:m,beforeUpdate:b,updated:C,activated:j,deactivated:M,beforeDestroy:v,beforeUnmount:S,destroyed:D,unmounted:V,render:W,renderTracked:ae,renderTriggered:X,errorCaptured:te,serverPrefetch:ie,expose:Ae,inheritAttrs:xe,components:Te,directives:Ye,filters:ke}=t;if(u&&ju(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(const I in o){const $=o[I];ne($)&&(r[I]=$.bind(n))}if(i){const I=i.call(n,n);Se(I)&&(e.data=yn(I))}if(hi=!0,a)for(const I in a){const $=a[I],Q=ne($)?$.bind(n,n):ne($.get)?$.get.bind(n,n):tt,le=!ne($)&&ne($.set)?$.set.bind(n):tt,ve=de({get:Q,set:le});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>ve.value,set:Ee=>ve.value=Ee})}if(s)for(const I in s)Ys(s[I],r,n,I);if(l){const I=ne(l)?l.call(n):l;Reflect.ownKeys(I).forEach($=>{or($,I[$])})}c&&Ga(c,e,"c");function A(I,$){ee($)?$.forEach(Q=>I(Q.bind(n))):$&&I($.bind(n))}if(A(Ou,d),A(un,m),A(Su,b),A(Cu,C),A(Eu,j),A(Au,M),A(Pu,te),A(Nu,ae),A(Tu,X),A(Ru,S),A(ta,V),A(Iu,ie),ee(Ae))if(Ae.length){const I=e.exposed||(e.exposed={});Ae.forEach($=>{Object.defineProperty(I,$,{get:()=>n[$],set:Q=>n[$]=Q})})}else e.exposed||(e.exposed={});W&&e.render===tt&&(e.render=W),xe!=null&&(e.inheritAttrs=xe),Te&&(e.components=Te),Ye&&(e.directives=Ye)}function ju(e,t,n=tt,r=!1){ee(e)&&(e=mi(e));for(const i in e){const a=e[i];let o;Se(a)?"default"in a?o=dt(a.from||i,a.default,!0):o=dt(a.from||i):o=dt(a),we(o)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[i]=o}}function Ga(e,t,n){nt(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ys(e,t,n,r){const i=r.includes(".")?zs(n,r):()=>n[r];if(Ie(e)){const a=t[e];ne(a)&&Nt(i,a)}else if(ne(e))Nt(i,e.bind(n));else if(Se(e))if(ee(e))e.forEach(a=>Ys(a,t,n,r));else{const a=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(a)&&Nt(i,a,e)}}function Ks(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>gr(l,u,o,!0)),gr(l,t,o)),a.set(t,l),l}function gr(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&gr(e,a,n,!0),i&&i.forEach(o=>gr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const s=Fu[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const Fu={data:Va,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Bt,directives:Bt,watch:zu,provide:Va,inject:Uu};function Va(e,t){return t?e?function(){return Le(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Uu(e,t){return Bt(mi(e),mi(t))}function mi(e){if(ee(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[m,b]=qs(d,t,!0);Le(o,m),b&&s.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return r.set(e,an),an;if(ee(a))for(let c=0;c-1,b[1]=j<0||C-1||se(b,"default"))&&s.push(d)}}}const u=[o,s];return r.set(e,u),u}function Ya(e){return e[0]!=="$"}function Ka(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Wa(e,t){return Ka(e)===Ka(t)}function qa(e,t){return ee(t)?t.findIndex(n=>Wa(n,e)):ne(t)&&Wa(t,e)?0:-1}const Xs=e=>e[0]==="_"||e==="$stable",na=e=>ee(e)?e.map(st):[st(e)],Vu=(e,t,n)=>{if(t._n)return t;const r=qe((...i)=>na(t(...i)),n);return r._c=!1,r},Qs=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Xs(i))continue;const a=e[i];if(ne(a))t[i]=Vu(i,a,r);else if(a!=null){const o=na(a);t[i]=()=>o}}},Zs=(e,t)=>{const n=na(t);e.slots.default=()=>n},Yu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),dr(t,"_",n)):Qs(t,e.slots={})}else e.slots={},t&&Zs(e,t);dr(e.slots,Dr,1)},Ku=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,o=me;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Le(i,t),!n&&s===1&&delete i._):(a=!t.$stable,Qs(t,i)),o=t}else t&&(Zs(e,t),o={default:1});if(a)for(const s in i)!Xs(s)&&!(s in o)&&delete i[s]};function Js(){return{app:null,config:{isNativeTag:_c,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 Wu=0;function qu(e,t){return function(r,i=null){ne(r)||(r=Object.assign({},r)),i!=null&&!Se(i)&&(i=null);const a=Js(),o=new Set;let s=!1;const l=a.app={_uid:Wu++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:mf,get config(){return a.config},set config(u){},use(u,...c){return o.has(u)||(u&&ne(u.install)?(o.add(u),u.install(l,...c)):ne(u)&&(o.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!s){const m=H(r,i);return m.appContext=a,c&&t?t(m,u):e(m,u,d),s=!0,l._container=u,u.__vue_app__=l,aa(m.component)||m.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l}};return l}}function gi(e,t,n,r,i=!1){if(ee(e)){e.forEach((m,b)=>gi(m,t&&(ee(t)?t[b]:t),n,r,i));return}if(sr(r)&&!i)return;const a=r.shapeFlag&4?aa(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===me?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Ie(u)?(c[u]=null,se(d,u)&&(d[u]=null)):we(u)&&(u.value=null)),ne(l))Tt(l,s,12,[o,c]);else{const m=Ie(l),b=we(l);if(m||b){const C=()=>{if(e.f){const j=m?c[l]:l.value;i?ee(j)&&Hi(j,a):ee(j)?j.includes(a)||j.push(a):m?(c[l]=[a],se(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else m?(c[l]=o,se(d,l)&&(d[l]=o)):b&&(l.value=o,e.k&&(c[e.k]=o))};o?(C.id=-1,De(C,n)):C()}}}const De=_u;function Xu(e){return Qu(e)}function Qu(e,t){const n=Cc();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:m,setScopeId:b=tt,cloneNode:C,insertStaticContent:j}=e,M=(f,h,g,x=null,p=null,T=null,R=!1,_=null,N=!!h.dynamicChildren)=>{if(f===h)return;f&&!En(f,h)&&(x=G(f),Ne(f,p,T,!0),f=null),h.patchFlag===-2&&(N=!1,h.dynamicChildren=null);const{type:k,ref:Y,shapeFlag:F}=h;switch(k){case ra:v(f,h,g,x);break;case Vt:S(f,h,g,x);break;case qr:f==null&&D(h,g,x,R);break;case Me:Ye(f,h,g,x,p,T,R,_,N);break;default:F&1?ae(f,h,g,x,p,T,R,_,N):F&6?ke(f,h,g,x,p,T,R,_,N):(F&64||F&128)&&k.process(f,h,g,x,p,T,R,_,N,fe)}Y!=null&&p&&gi(Y,f&&f.ref,T,h||f,!h)},v=(f,h,g,x)=>{if(f==null)r(h.el=s(h.children),g,x);else{const p=h.el=f.el;h.children!==f.children&&u(p,h.children)}},S=(f,h,g,x)=>{f==null?r(h.el=l(h.children||""),g,x):h.el=f.el},D=(f,h,g,x)=>{[f.el,f.anchor]=j(f.children,h,g,x,f.el,f.anchor)},V=({el:f,anchor:h},g,x)=>{let p;for(;f&&f!==h;)p=m(f),r(f,g,x),f=p;r(h,g,x)},W=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=m(f),i(f),f=g;i(h)},ae=(f,h,g,x,p,T,R,_,N)=>{R=R||h.type==="svg",f==null?X(h,g,x,p,T,R,_,N):Ae(f,h,p,T,R,_,N)},X=(f,h,g,x,p,T,R,_)=>{let N,k;const{type:Y,props:F,shapeFlag:y,transition:O,patchFlag:L,dirs:K}=f;if(f.el&&C!==void 0&&L===-1)N=f.el=C(f.el);else{if(N=f.el=o(f.type,T,F&&F.is,F),y&8?c(N,f.children):y&16&&ie(f.children,N,null,x,p,T&&Y!=="foreignObject",R,_),K&&$t(f,null,x,"created"),F){for(const oe in F)oe!=="value"&&!ar(oe)&&a(N,oe,null,F[oe],T,f.children,x,p,P);"value"in F&&a(N,"value",null,F.value),(k=F.onVnodeBeforeMount)&&at(k,x,f)}te(N,f,f.scopeId,R,x)}K&&$t(f,null,x,"beforeMount");const J=(!p||p&&!p.pendingBranch)&&O&&!O.persisted;J&&O.beforeEnter(N),r(N,h,g),((k=F&&F.onVnodeMounted)||J||K)&&De(()=>{k&&at(k,x,f),J&&O.enter(N),K&&$t(f,null,x,"mounted")},p)},te=(f,h,g,x,p)=>{if(g&&b(f,g),x)for(let T=0;T{for(let k=N;k{const _=h.el=f.el;let{patchFlag:N,dynamicChildren:k,dirs:Y}=h;N|=f.patchFlag&16;const F=f.props||me,y=h.props||me;let O;g&&Dt(g,!1),(O=y.onVnodeBeforeUpdate)&&at(O,g,h,f),Y&&$t(h,f,g,"beforeUpdate"),g&&Dt(g,!0);const L=p&&h.type!=="foreignObject";if(k?xe(f.dynamicChildren,k,_,g,x,L,T):R||Q(f,h,_,null,g,x,L,T,!1),N>0){if(N&16)Te(_,h,F,y,g,x,p);else if(N&2&&F.class!==y.class&&a(_,"class",null,y.class,p),N&4&&a(_,"style",F.style,y.style,p),N&8){const K=h.dynamicProps;for(let J=0;J{O&&at(O,g,h,f),Y&&$t(h,f,g,"updated")},x)},xe=(f,h,g,x,p,T,R)=>{for(let _=0;_{if(g!==x){for(const _ in x){if(ar(_))continue;const N=x[_],k=g[_];N!==k&&_!=="value"&&a(f,_,k,N,R,h.children,p,T,P)}if(g!==me)for(const _ in g)!ar(_)&&!(_ in x)&&a(f,_,g[_],null,R,h.children,p,T,P);"value"in x&&a(f,"value",g.value,x.value)}},Ye=(f,h,g,x,p,T,R,_,N)=>{const k=h.el=f?f.el:s(""),Y=h.anchor=f?f.anchor:s("");let{patchFlag:F,dynamicChildren:y,slotScopeIds:O}=h;O&&(_=_?_.concat(O):O),f==null?(r(k,g,x),r(Y,g,x),ie(h.children,g,Y,p,T,R,_,N)):F>0&&F&64&&y&&f.dynamicChildren?(xe(f.dynamicChildren,y,g,p,T,R,_),(h.key!=null||p&&h===p.subTree)&&el(f,h,!0)):Q(f,h,g,Y,p,T,R,_,N)},ke=(f,h,g,x,p,T,R,_,N)=>{h.slotScopeIds=_,f==null?h.shapeFlag&512?p.ctx.activate(h,g,x,R,N):be(h,g,x,p,T,R,N):A(f,h,N)},be=(f,h,g,x,p,T,R)=>{const _=f.component=sf(f,x,p);if(Hs(f)&&(_.ctx.renderer=fe),lf(_),_.asyncDep){if(p&&p.registerDep(_,I),!f.el){const N=_.subTree=H(Vt);S(null,N,h,g)}return}I(_,f,h,g,p,T,R)},A=(f,h,g)=>{const x=h.component=f.component;if(vu(f,h,g))if(x.asyncDep&&!x.asyncResolved){$(x,h,g);return}else x.next=h,du(x.update),x.update();else h.el=f.el,x.vnode=h},I=(f,h,g,x,p,T,R)=>{const _=()=>{if(f.isMounted){let{next:Y,bu:F,u:y,parent:O,vnode:L}=f,K=Y,J;Dt(f,!1),Y?(Y.el=L.el,$(f,Y,R)):Y=L,F&&Kr(F),(J=Y.props&&Y.props.onVnodeBeforeUpdate)&&at(J,O,Y,L),Dt(f,!0);const oe=Wr(f),Fe=f.subTree;f.subTree=oe,M(Fe,oe,d(Fe.el),G(Fe),f,p,T),Y.el=oe.el,K===null&&yu(f,oe.el),y&&De(y,p),(J=Y.props&&Y.props.onVnodeUpdated)&&De(()=>at(J,O,Y,L),p)}else{let Y;const{el:F,props:y}=h,{bm:O,m:L,parent:K}=f,J=sr(h);if(Dt(f,!1),O&&Kr(O),!J&&(Y=y&&y.onVnodeBeforeMount)&&at(Y,K,h),Dt(f,!0),F&&Z){const oe=()=>{f.subTree=Wr(f),Z(F,f.subTree,f,p,null)};J?h.type.__asyncLoader().then(()=>!f.isUnmounted&&oe()):oe()}else{const oe=f.subTree=Wr(f);M(null,oe,g,x,f,p,T),h.el=oe.el}if(L&&De(L,p),!J&&(Y=y&&y.onVnodeMounted)){const oe=h;De(()=>at(Y,K,oe),p)}(h.shapeFlag&256||K&&sr(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&De(f.a,p),f.isMounted=!0,h=g=x=null}},N=f.effect=new Ki(_,()=>Ps(k),f.scope),k=f.update=()=>N.run();k.id=f.uid,Dt(f,!0),k()},$=(f,h,g)=>{h.component=f;const x=f.vnode.props;f.vnode=h,f.next=null,Gu(f,h.props,x,g),Ku(f,h.children,g),bn(),Pr(void 0,f.update),vn()},Q=(f,h,g,x,p,T,R,_,N=!1)=>{const k=f&&f.children,Y=f?f.shapeFlag:0,F=h.children,{patchFlag:y,shapeFlag:O}=h;if(y>0){if(y&128){ve(k,F,g,x,p,T,R,_,N);return}else if(y&256){le(k,F,g,x,p,T,R,_,N);return}}O&8?(Y&16&&P(k,p,T),F!==k&&c(g,F)):Y&16?O&16?ve(k,F,g,x,p,T,R,_,N):P(k,p,T,!0):(Y&8&&c(g,""),O&16&&ie(F,g,x,p,T,R,_,N))},le=(f,h,g,x,p,T,R,_,N)=>{f=f||an,h=h||an;const k=f.length,Y=h.length,F=Math.min(k,Y);let y;for(y=0;yY?P(f,p,T,!0,!1,F):ie(h,g,x,p,T,R,_,N,F)},ve=(f,h,g,x,p,T,R,_,N)=>{let k=0;const Y=h.length;let F=f.length-1,y=Y-1;for(;k<=F&&k<=y;){const O=f[k],L=h[k]=N?Ot(h[k]):st(h[k]);if(En(O,L))M(O,L,g,null,p,T,R,_,N);else break;k++}for(;k<=F&&k<=y;){const O=f[F],L=h[y]=N?Ot(h[y]):st(h[y]);if(En(O,L))M(O,L,g,null,p,T,R,_,N);else break;F--,y--}if(k>F){if(k<=y){const O=y+1,L=Oy)for(;k<=F;)Ne(f[k],p,T,!0),k++;else{const O=k,L=k,K=new Map;for(k=L;k<=y;k++){const Ue=h[k]=N?Ot(h[k]):st(h[k]);Ue.key!=null&&K.set(Ue.key,k)}let J,oe=0;const Fe=y-L+1;let wt=!1,Ia=0;const xn=new Array(Fe);for(k=0;k=Fe){Ne(Ue,p,T,!0);continue}let it;if(Ue.key!=null)it=K.get(Ue.key);else for(J=L;J<=y;J++)if(xn[J-L]===0&&En(Ue,h[J])){it=J;break}it===void 0?Ne(Ue,p,T,!0):(xn[it-L]=k+1,it>=Ia?Ia=it:wt=!0,M(Ue,h[it],g,null,p,T,R,_,N),oe++)}const Ta=wt?Zu(xn):an;for(J=Ta.length-1,k=Fe-1;k>=0;k--){const Ue=L+k,it=h[Ue],Na=Ue+1{const{el:T,type:R,transition:_,children:N,shapeFlag:k}=f;if(k&6){Ee(f.component.subTree,h,g,x);return}if(k&128){f.suspense.move(h,g,x);return}if(k&64){R.move(f,h,g,fe);return}if(R===Me){r(T,h,g);for(let F=0;F_.enter(T),p);else{const{leave:F,delayLeave:y,afterLeave:O}=_,L=()=>r(T,h,g),K=()=>{F(T,()=>{L(),O&&O()})};y?y(T,L,K):K()}else r(T,h,g)},Ne=(f,h,g,x=!1,p=!1)=>{const{type:T,props:R,ref:_,children:N,dynamicChildren:k,shapeFlag:Y,patchFlag:F,dirs:y}=f;if(_!=null&&gi(_,null,g,f,!0),Y&256){h.ctx.deactivate(f);return}const O=Y&1&&y,L=!sr(f);let K;if(L&&(K=R&&R.onVnodeBeforeUnmount)&&at(K,h,f),Y&6)z(f.component,g,x);else{if(Y&128){f.suspense.unmount(g,x);return}O&&$t(f,null,h,"beforeUnmount"),Y&64?f.type.remove(f,h,g,p,fe,x):k&&(T!==Me||F>0&&F&64)?P(k,h,g,!1,!0):(T===Me&&F&384||!p&&Y&16)&&P(N,h,g),x&&Oe(f)}(L&&(K=R&&R.onVnodeUnmounted)||O)&&De(()=>{K&&at(K,h,f),O&&$t(f,null,h,"unmounted")},g)},Oe=f=>{const{type:h,el:g,anchor:x,transition:p}=f;if(h===Me){w(g,x);return}if(h===qr){W(f);return}const T=()=>{i(g),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(f.shapeFlag&1&&p&&!p.persisted){const{leave:R,delayLeave:_}=p,N=()=>R(g,T);_?_(f.el,T,N):N()}else T()},w=(f,h)=>{let g;for(;f!==h;)g=m(f),i(f),f=g;i(h)},z=(f,h,g)=>{const{bum:x,scope:p,update:T,subTree:R,um:_}=f;x&&Kr(x),p.stop(),T&&(T.active=!1,Ne(R,f,h,g)),_&&De(_,h),De(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},P=(f,h,g,x=!1,p=!1,T=0)=>{for(let R=T;Rf.shapeFlag&6?G(f.component.subTree):f.shapeFlag&128?f.suspense.next():m(f.anchor||f.el),ue=(f,h,g)=>{f==null?h._vnode&&Ne(h._vnode,null,null,!0):M(h._vnode||null,f,h,null,null,null,g),$s(),h._vnode=f},fe={p:M,um:Ne,m:Ee,r:Oe,mt:be,mc:ie,pc:Q,pbc:xe,n:G,o:e};let re,Z;return t&&([re,Z]=t(fe)),{render:ue,hydrate:re,createApp:qu(ue,re)}}function Dt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function el(e,t,n=!1){const r=e.children,i=t.children;if(ee(r)&&ee(i))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}const Ju=e=>e.__isTeleport,Me=Symbol(void 0),ra=Symbol(void 0),Vt=Symbol(void 0),qr=Symbol(void 0),Tn=[];let Je=null;function ye(e=!1){Tn.push(Je=e?null:[])}function ef(){Tn.pop(),Je=Tn[Tn.length-1]||null}let zn=1;function Xa(e){zn+=e}function tl(e){return e.dynamicChildren=zn>0?Je||an:null,ef(),zn>0&&Je&&Je.push(e),e}function Re(e,t,n,r,i,a){return tl(E(e,t,n,r,i,a,!0))}function br(e,t,n,r,i){return tl(H(e,t,n,r,i,!0))}function bi(e){return e?e.__v_isVNode===!0:!1}function En(e,t){return e.type===t.type&&e.key===t.key}const Dr="__vInternal",nl=({key:e})=>e!=null?e:null,lr=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ie(e)||we(e)||ne(e)?{i:Qe,r:e,k:t,f:!!n}:e:null;function E(e,t=null,n=null,r=0,i=null,a=e===Me?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nl(t),ref:t&&lr(t),scopeId:Lr,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(ia(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Ie(n)?8:16),zn>0&&!o&&Je&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Je.push(l),l}const H=tf;function tf(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Mu)&&(e=Vt),bi(e)){const s=fn(e,t,!0);return n&&ia(s,n),zn>0&&!a&&Je&&(s.shapeFlag&6?Je[Je.indexOf(e)]=s:Je.push(s)),s.patchFlag|=-2,s}if(hf(e)&&(e=e.__vccOpts),t){t=nf(t);let{class:s,style:l}=t;s&&!Ie(s)&&(t.class=Ui(s)),Se(l)&&(Ss(l)&&!ee(l)&&(l=Le({},l)),t.style=Fi(l))}const o=Ie(e)?1:wu(e)?128:Ju(e)?64:Se(e)?4:ne(e)?2:0;return E(e,t,n,r,i,o,a,!0)}function nf(e){return e?Ss(e)||Dr in e?Le({},e):e:null}function fn(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:o}=e,s=t?rf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&nl(s),ref:t&&t.ref?n&&i?ee(i)?i.concat(lr(t)):[i,lr(t)]:lr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),el:e.el,anchor:e.anchor}}function pe(e=" ",t=0){return H(ra,null,e,t)}function jt(e="",t=!1){return t?(ye(),br(Vt,null,e)):H(Vt,null,e)}function st(e){return e==null||typeof e=="boolean"?H(Vt):ee(e)?H(Me,null,e.slice()):typeof e=="object"?Ot(e):H(ra,null,String(e))}function Ot(e){return e.el===null||e.memo?e:fn(e)}function ia(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ia(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Dr in t)?t._ctx=Qe:i===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),r&64?(n=16,t=[pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function rf(...e){const t={};for(let n=0;nCe||Qe,dn=e=>{Ce=e,e.scope.on()},Ht=()=>{Ce&&Ce.scope.off(),Ce=null};function il(e){return e.vnode.shapeFlag&4}let Hn=!1;function lf(e,t=!1){Hn=t;const{props:n,children:r}=e.vnode,i=il(e);Hu(e,n,i,t),Yu(e,r);const a=i?cf(e,t):void 0;return Hn=!1,a}function cf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cn(new Proxy(e.ctx,Du));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?ff(e):null;dn(e),bn();const a=Tt(r,e,0,[e.props,i]);if(vn(),Ht(),fs(a)){if(a.then(Ht,Ht),t)return a.then(o=>{Qa(e,o,t)}).catch(o=>{Nr(o,e,0)});e.asyncDep=a}else Qa(e,a,t)}else al(e,t)}function Qa(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=Ts(t)),al(e,n)}let Za;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&Za&&!r.render){const i=r.template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Le(Le({isCustomElement:a,delimiters:s},o),l);r.render=Za(i,u)}}e.render=r.render||tt}dn(e),bn(),Bu(e),vn(),Ht()}function uf(e){return new Proxy(e.attrs,{get(t,n){return Ge(e,"get","$attrs"),t[n]}})}function ff(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=uf(e))},slots:e.slots,emit:e.emit,expose:t}}function aa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ts(cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pr)return pr[n](e)}}))}function df(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function hf(e){return ne(e)&&"__vccOpts"in e}const de=(e,t)=>cu(e,t,Hn);function hn(e,t,n){const r=arguments.length;return r===2?Se(t)&&!ee(t)?bi(t)?H(e,null,[t]):H(e,t):H(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bi(n)&&(n=[n]),H(e,t,n))}const mf="3.2.37",pf="http://www.w3.org/2000/svg",Ft=typeof document<"u"?document:null,Ja=Ft&&Ft.createElement("template"),gf={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?Ft.createElementNS(pf,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Ja.innerHTML=r?`${e}`:e;const s=Ja.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function bf(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 vf(e,t,n){const r=e.style,i=Ie(n);if(n&&!i){for(const a in n)vi(r,a,n[a]);if(t&&!Ie(t))for(const a in t)n[a]==null&&vi(r,a,"")}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const eo=/\s*!important$/;function vi(e,t,n){if(ee(n))n.forEach(r=>vi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yf(e,t);eo.test(n)?e.setProperty(gn(r),n.replace(eo,""),"important"):e[r]=n}}const to=["Webkit","Moz","ms"],Xr={};function yf(e,t){const n=Xr[t];if(n)return n;let r=ct(t);if(r!=="filter"&&r in e)return Xr[t]=r;r=Ir(r);for(let i=0;i{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let yi=0;const Ef=Promise.resolve(),Af=()=>{yi=0},kf=()=>yi||(Ef.then(Af),yi=ol());function Of(e,t,n,r){e.addEventListener(t,n,r)}function Sf(e,t,n,r){e.removeEventListener(t,n,r)}function Cf(e,t,n,r,i=null){const a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{const[s,l]=Rf(t);if(r){const u=a[t]=If(r,i);Of(e,s,u,l)}else o&&(Sf(e,s,o,l),a[t]=void 0)}}const ro=/(?:Once|Passive|Capture)$/;function Rf(e){let t;if(ro.test(e)){t={};let n;for(;n=e.match(ro);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[gn(e.slice(2)),t]}function If(e,t){const n=r=>{const i=r.timeStamp||ol();(xf||i>=n.attached-1)&&nt(Tf(r,n.value),t,5,[r])};return n.value=e,n.attached=kf(),n}function Tf(e,t){if(ee(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 io=/^on[a-z]/,Nf=(e,t,n,r,i=!1,a,o,s,l)=>{t==="class"?bf(e,r,i):t==="style"?vf(e,n,r):Sr(t)?zi(t)||Cf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pf(e,t,r,i))?_f(e,t,r,a,o,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),wf(e,t,r,i))};function Pf(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&io.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||io.test(t)&&Ie(n)?!1:t in e}const Mf=Le({patchProp:Nf},gf);let ao;function Lf(){return ao||(ao=Xu(Mf))}const $f=(...e)=>{const t=Lf().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Df(r);if(!i)return;const a=t._component;!ne(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Df(e){return Ie(e)?document.querySelector(e):e}var Bf=!1;/*! +const pc=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 a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}};pc();function ji(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const gc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bc=ji(gc);function ls(e){return!!e||e===""}function Fi(e){if(ee(e)){const t={};for(let n=0;n{if(n){const r=n.split(yc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ui(e){let t="";if(Ie(e))t=e;else if(ee(e))for(let n=0;nIe(e)?e:e==null?"":ee(e)||Se(e)&&(e.toString===ds||!ne(e.toString))?JSON.stringify(e,cs,2):String(e),cs=(e,t)=>t&&t.__v_isRef?cs(e,t.value):on(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:us(t)?{[`Set(${t.size})`]:[...t.values()]}:Se(t)&&!ee(t)&&!hs(t)?String(t):t,me={},an=[],tt=()=>{},_c=()=>!1,xc=/^on[^a-z]/,Sr=e=>xc.test(e),zi=e=>e.startsWith("onUpdate:"),Le=Object.assign,Hi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ec=Object.prototype.hasOwnProperty,se=(e,t)=>Ec.call(e,t),ee=Array.isArray,on=e=>Cr(e)==="[object Map]",us=e=>Cr(e)==="[object Set]",ne=e=>typeof e=="function",Ie=e=>typeof e=="string",Gi=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",fs=e=>Se(e)&&ne(e.then)&&ne(e.catch),ds=Object.prototype.toString,Cr=e=>ds.call(e),Ac=e=>Cr(e).slice(8,-1),hs=e=>Cr(e)==="[object Object]",Vi=e=>Ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ar=ji(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},kc=/-(\w)/g,ct=Rr(e=>e.replace(kc,(t,n)=>n?n.toUpperCase():"")),Oc=/\B([A-Z])/g,gn=Rr(e=>e.replace(Oc,"-$1").toLowerCase()),Ir=Rr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yr=Rr(e=>e?`on${Ir(e)}`:""),Bn=(e,t)=>!Object.is(e,t),Kr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Sc=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Pa;const Cc=()=>Pa||(Pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ot;class ms{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ot&&(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},gs=e=>(e.w&Pt)>0,bs=e=>(e.n&Pt)>0,Ic=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&s.push(l)});else switch(n!==void 0&&s.push(o.get(n)),t){case"add":ee(e)?Vi(n)&&s.push(o.get("length")):(s.push(o.get(zt)),on(e)&&s.push(o.get(si)));break;case"delete":ee(e)||(s.push(o.get(zt)),on(e)&&s.push(o.get(si)));break;case"set":on(e)&&s.push(o.get(zt));break}if(s.length===1)s[0]&&li(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);li(Yi(l))}}function li(e,t){const n=ee(e)?e:[...e];for(const r of n)r.computed&&La(r);for(const r of n)r.computed||La(r)}function La(e,t){(e!==We||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Nc=ji("__proto__,__v_isRef,__isVue"),ws=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gi)),Pc=Wi(),Mc=Wi(!1,!0),Lc=Wi(!0),$a=$c();function $c(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ce(this);for(let a=0,o=this.length;a{e[t]=function(...n){bn();const r=ce(this)[t].apply(this,n);return vn(),r}}),e}function Wi(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?Zc:ks:t?As:Es).get(r))return r;const o=ee(r);if(!e&&o&&se($a,i))return Reflect.get($a,i,a);const s=Reflect.get(r,i,a);return(Gi(i)?ws.has(i):Nc(i))||(e||He(r,"get",i),t)?s:we(s)?o&&Vi(i)?s:s.value:Se(s)?e?Os(s):yn(s):s}}const Dc=_s(),Bc=_s(!0);function _s(e=!1){return function(n,r,i,a){let o=n[r];if(jn(o)&&we(o)&&!we(i))return!1;if(!e&&!jn(i)&&(ci(i)||(i=ce(i),o=ce(o)),!ee(n)&&we(o)&&!we(i)))return o.value=i,!0;const s=ee(n)&&Vi(r)?Number(r)e,Tr=e=>Reflect.getPrototypeOf(e);function Qn(e,t,n=!1,r=!1){e=e.__v_raw;const i=ce(e),a=ce(t);n||(t!==a&&He(i,"get",t),He(i,"get",a));const{has:o}=Tr(i),s=r?qi:n?Zi:Fn;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function Zn(e,t=!1){const n=this.__v_raw,r=ce(n),i=ce(e);return t||(e!==i&&He(r,"has",e),He(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Jn(e,t=!1){return e=e.__v_raw,!t&&He(ce(e),"iterate",zt),Reflect.get(e,"size",e)}function Da(e){e=ce(e);const t=ce(this);return Tr(t).has.call(t,e)||(t.add(e),mt(t,"add",e,e)),this}function Ba(e,t){t=ce(t);const n=ce(this),{has:r,get:i}=Tr(n);let a=r.call(n,e);a||(e=ce(e),a=r.call(n,e));const o=i.call(n,e);return n.set(e,t),a?Bn(t,o)&&mt(n,"set",e,t):mt(n,"add",e,t),this}function ja(e){const t=ce(this),{has:n,get:r}=Tr(t);let i=n.call(t,e);i||(e=ce(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&mt(t,"delete",e,void 0),a}function Fa(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&mt(e,"clear",void 0,void 0),n}function er(e,t){return function(r,i){const a=this,o=a.__v_raw,s=ce(o),l=t?qi:e?Zi:Fn;return!e&&He(s,"iterate",zt),o.forEach((u,c)=>r.call(i,l(u),l(c),a))}}function tr(e,t,n){return function(...r){const i=this.__v_raw,a=ce(i),o=on(a),s=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=i[e](...r),c=n?qi:t?Zi:Fn;return!t&&He(a,"iterate",l?si:zt),{next(){const{value:d,done:m}=u.next();return m?{value:d,done:m}:{value:s?[c(d[0]),c(d[1])]:c(d),done:m}},[Symbol.iterator](){return this}}}}function _t(e){return function(...t){return e==="delete"?!1:this}}function Gc(){const e={get(a){return Qn(this,a)},get size(){return Jn(this)},has:Zn,add:Da,set:Ba,delete:ja,clear:Fa,forEach:er(!1,!1)},t={get(a){return Qn(this,a,!1,!0)},get size(){return Jn(this)},has:Zn,add:Da,set:Ba,delete:ja,clear:Fa,forEach:er(!1,!0)},n={get(a){return Qn(this,a,!0)},get size(){return Jn(this,!0)},has(a){return Zn.call(this,a,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:er(!0,!1)},r={get(a){return Qn(this,a,!0,!0)},get size(){return Jn(this,!0)},has(a){return Zn.call(this,a,!0)},add:_t("add"),set:_t("set"),delete:_t("delete"),clear:_t("clear"),forEach:er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=tr(a,!1,!1),n[a]=tr(a,!0,!1),t[a]=tr(a,!1,!0),r[a]=tr(a,!0,!0)}),[e,n,t,r]}const[Vc,Yc,Kc,Wc]=Gc();function Xi(e,t){const n=t?e?Wc:Kc:e?Yc:Vc;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(se(n,i)&&i in r?n:r,i,a)}const qc={get:Xi(!1,!1)},Xc={get:Xi(!1,!0)},Qc={get:Xi(!0,!1)},Es=new WeakMap,As=new WeakMap,ks=new WeakMap,Zc=new WeakMap;function Jc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eu(e){return e.__v_skip||!Object.isExtensible(e)?0:Jc(Ac(e))}function yn(e){return jn(e)?e:Qi(e,!1,xs,qc,Es)}function tu(e){return Qi(e,!1,Hc,Xc,As)}function Os(e){return Qi(e,!0,zc,Qc,ks)}function Qi(e,t,n,r,i){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=eu(e);if(o===0)return e;const s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function It(e){return jn(e)?It(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function ci(e){return!!(e&&e.__v_isShallow)}function Ss(e){return It(e)||jn(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function cn(e){return dr(e,"__v_skip",!0),e}const Fn=e=>Se(e)?yn(e):e,Zi=e=>Se(e)?Os(e):e;function Cs(e){Rt&&We&&(e=ce(e),ys(e.dep||(e.dep=Yi())))}function Rs(e,t){e=ce(e),e.dep&&li(e.dep)}function we(e){return!!(e&&e.__v_isRef===!0)}function ze(e){return Is(e,!1)}function nu(e){return Is(e,!0)}function Is(e,t){return we(e)?e:new ru(e,t)}class ru{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:Fn(t)}get value(){return Cs(this),this._value}set value(t){t=this.__v_isShallow?t:ce(t),Bn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Fn(t),Rs(this))}}function U(e){return we(e)?e.value:e}const iu={get:(e,t,n)=>U(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return we(i)&&!we(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ts(e){return It(e)?e:new Proxy(e,iu)}function au(e){const t=ee(e)?new Array(e.length):{};for(const n in e)t[n]=su(e,n);return t}class ou{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}}function su(e,t,n){const r=e[t];return we(r)?r:new ou(e,t,n)}class lu{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ki(t,()=>{this._dirty||(this._dirty=!0,Rs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=ce(this);return Cs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function cu(e,t,n=!1){let r,i;const a=ne(e);return a?(r=e,i=tt):(r=e.get,i=e.set),new lu(r,i,a||!i,n)}function Tt(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){Nr(a,t,n)}return i}function nt(e,t,n,r){if(ne(e)){const a=Tt(e,t,n,r);return a&&fs(a)&&a.catch(o=>{Nr(o,t,n)}),a}const i=[];for(let a=0;a>>1;Un(Ue[r])ft&&Ue.splice(t,1)}function Ls(e,t,n,r){ee(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),Ms()}function hu(e){Ls(e,Sn,Rn,Zt)}function mu(e){Ls(e,kt,In,Jt)}function Pr(e,t=null){if(Rn.length){for(fi=t,Sn=[...new Set(Rn)],Rn.length=0,Zt=0;ZtUn(n)-Un(r)),Jt=0;Jte.id==null?1/0:e.id;function Ds(e){ui=!1,hr=!0,Pr(e),Ue.sort((n,r)=>Un(n)-Un(r));const t=tt;try{for(ft=0;ftb.trim())),d&&(i=n.map(Sc))}let s,l=r[s=Yr(t)]||r[s=Yr(ct(t))];!l&&a&&(l=r[s=Yr(gn(t))]),l&&nt(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,nt(u,e,6,i)}}function Bs(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!ne(e)){const l=u=>{const c=Bs(u,t,!0);c&&(s=!0,Le(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!s?(r.set(e,null),null):(ee(a)?a.forEach(l=>o[l]=null):Le(o,a),r.set(e,o),o)}function Mr(e,t){return!e||!Sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,gn(t))||se(e,t))}let Qe=null,Lr=null;function mr(e){const t=Qe;return Qe=e,Lr=e&&e.type.__scopeId||null,t}function js(e){Lr=e}function Fs(){Lr=null}function qe(e,t=Qe,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Xa(-1);const a=mr(t),o=e(...i);return mr(a),r._d&&Xa(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Wr(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:d,data:m,setupState:b,ctx:C,inheritAttrs:j}=e;let M,v;const S=mr(e);try{if(n.shapeFlag&4){const V=i||r;M=st(c.call(V,V,d,a,b,m,C)),v=l}else{const V=t;M=st(V.length>1?V(a,{attrs:l,slots:s,emit:u}):V(a,null)),v=t.props?l:gu(l)}}catch(V){Tn.length=0,Nr(V,e,1),M=H(Vt)}let D=M;if(v&&j!==!1){const V=Object.keys(v),{shapeFlag:W}=D;V.length&&W&7&&(o&&V.some(zi)&&(v=bu(v,o)),D=fn(D,v))}return n.dirs&&(D=fn(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),M=D,mr(S),M}const gu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sr(n))&&((t||(t={}))[n]=e[n]);return t},bu=(e,t)=>{const n={};for(const r in e)(!zi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vu(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ua(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function _u(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):mu(e)}function or(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=Ce||Qe;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&&ne(t)?t.call(r.proxy):t}}const za={};function Nt(e,t,n){return Us(e,t,n)}function Us(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:o}=me){const s=Ce;let l,u=!1,c=!1;if(we(e)?(l=()=>e.value,u=ci(e)):It(e)?(l=()=>e,r=!0):ee(e)?(c=!0,u=e.some(v=>It(v)||ci(v)),l=()=>e.map(v=>{if(we(v))return v.value;if(It(v))return tn(v);if(ne(v))return Tt(v,s,2)})):ne(e)?t?l=()=>Tt(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return d&&d(),nt(e,s,3,[m])}:l=tt,t&&r){const v=l;l=()=>tn(v())}let d,m=v=>{d=M.onStop=()=>{Tt(v,s,4)}};if(Hn)return m=tt,t?n&&nt(t,s,3,[l(),c?[]:void 0,m]):l(),tt;let b=c?[]:za;const C=()=>{if(!!M.active)if(t){const v=M.run();(r||u||(c?v.some((S,D)=>Bn(S,b[D])):Bn(v,b)))&&(d&&d(),nt(t,s,3,[v,b===za?void 0:b,m]),b=v)}else M.run()};C.allowRecurse=!!t;let j;i==="sync"?j=C:i==="post"?j=()=>De(C,s&&s.suspense):j=()=>hu(C);const M=new Ki(l,j);return t?n?C():b=M.run():i==="post"?De(M.run.bind(M),s&&s.suspense):M.run(),()=>{M.stop(),s&&s.scope&&Hi(s.scope.effects,M)}}function xu(e,t,n){const r=this.proxy,i=Ie(e)?e.includes(".")?zs(r,e):()=>r[e]:e.bind(r,r);let a;ne(t)?a=t:(a=t.handler,n=t);const o=Ce;dn(this);const s=Us(i,a.bind(r),n);return o?dn(o):Ht(),s}function zs(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{tn(n,t)});else if(hs(e))for(const n in e)tn(e[n],t);return e}function wn(e){return ne(e)?{setup:e,name:e.name}:e}const sr=e=>!!e.type.__asyncLoader,Hs=e=>e.type.__isKeepAlive;function Eu(e,t){Gs(e,"a",t)}function Au(e,t){Gs(e,"da",t)}function Gs(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if($r(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Hs(i.parent.vnode)&&ku(r,t,n,i),i=i.parent}}function ku(e,t,n,r){const i=$r(t,e,r,!0);ta(()=>{Hi(r[t],i)},n)}function $r(e,t,n=Ce,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;bn(),dn(n);const s=nt(t,n,e,o);return Ht(),vn(),s});return r?i.unshift(a):i.push(a),a}}const vt=e=>(t,n=Ce)=>(!Hn||e==="sp")&&$r(e,t,n),Ou=vt("bm"),un=vt("m"),Su=vt("bu"),Cu=vt("u"),Ru=vt("bum"),ta=vt("um"),Iu=vt("sp"),Tu=vt("rtg"),Nu=vt("rtc");function Pu(e,t=Ce){$r("ec",e,t)}function $t(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let o=0;ot(o,s,void 0,a&&a[s]));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,l=o.length;se?il(e)?aa(e)||e.proxy:di(e.parent):null,pr=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=>di(e.parent),$root:e=>di(e.root),$emit:e=>e.emit,$options:e=>Ks(e),$forceUpdate:e=>e.f||(e.f=()=>Ps(e.update)),$nextTick:e=>e.n||(e.n=ea.bind(e.proxy)),$watch:e=>xu.bind(e)}),Du={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(r!==me&&se(r,t))return o[t]=1,r[t];if(i!==me&&se(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&se(u,t))return o[t]=3,a[t];if(n!==me&&se(n,t))return o[t]=4,n[t];hi&&(o[t]=0)}}const c=pr[t];let d,m;if(c)return t==="$attrs"&&He(e,"get",t),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==me&&se(n,t))return o[t]=4,n[t];if(m=l.config.globalProperties,se(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return i!==me&&se(i,t)?(i[t]=n,!0):r!==me&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},o){let s;return!!n[o]||e!==me&&se(e,o)||t!==me&&se(t,o)||(s=a[0])&&se(s,o)||se(r,o)||se(pr,o)||se(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let hi=!0;function Bu(e){const t=Ks(e),n=e.proxy,r=e.ctx;hi=!1,t.beforeCreate&&Ga(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:l,inject:u,created:c,beforeMount:d,mounted:m,beforeUpdate:b,updated:C,activated:j,deactivated:M,beforeDestroy:v,beforeUnmount:S,destroyed:D,unmounted:V,render:W,renderTracked:ae,renderTriggered:X,errorCaptured:te,serverPrefetch:ie,expose:Ae,inheritAttrs:xe,components:Te,directives:Ye,filters:ke}=t;if(u&&ju(u,r,null,e.appContext.config.unwrapInjectedRef),o)for(const I in o){const $=o[I];ne($)&&(r[I]=$.bind(n))}if(i){const I=i.call(n,n);Se(I)&&(e.data=yn(I))}if(hi=!0,a)for(const I in a){const $=a[I],Q=ne($)?$.bind(n,n):ne($.get)?$.get.bind(n,n):tt,le=!ne($)&&ne($.set)?$.set.bind(n):tt,ve=de({get:Q,set:le});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>ve.value,set:Ee=>ve.value=Ee})}if(s)for(const I in s)Ys(s[I],r,n,I);if(l){const I=ne(l)?l.call(n):l;Reflect.ownKeys(I).forEach($=>{or($,I[$])})}c&&Ga(c,e,"c");function E(I,$){ee($)?$.forEach(Q=>I(Q.bind(n))):$&&I($.bind(n))}if(E(Ou,d),E(un,m),E(Su,b),E(Cu,C),E(Eu,j),E(Au,M),E(Pu,te),E(Nu,ae),E(Tu,X),E(Ru,S),E(ta,V),E(Iu,ie),ee(Ae))if(Ae.length){const I=e.exposed||(e.exposed={});Ae.forEach($=>{Object.defineProperty(I,$,{get:()=>n[$],set:Q=>n[$]=Q})})}else e.exposed||(e.exposed={});W&&e.render===tt&&(e.render=W),xe!=null&&(e.inheritAttrs=xe),Te&&(e.components=Te),Ye&&(e.directives=Ye)}function ju(e,t,n=tt,r=!1){ee(e)&&(e=mi(e));for(const i in e){const a=e[i];let o;Se(a)?"default"in a?o=dt(a.from||i,a.default,!0):o=dt(a.from||i):o=dt(a),we(o)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[i]=o}}function Ga(e,t,n){nt(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ys(e,t,n,r){const i=r.includes(".")?zs(n,r):()=>n[r];if(Ie(e)){const a=t[e];ne(a)&&Nt(i,a)}else if(ne(e))Nt(i,e.bind(n));else if(Se(e))if(ee(e))e.forEach(a=>Ys(a,t,n,r));else{const a=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(a)&&Nt(i,a,e)}}function Ks(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>gr(l,u,o,!0)),gr(l,t,o)),a.set(t,l),l}function gr(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&gr(e,a,n,!0),i&&i.forEach(o=>gr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const s=Fu[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const Fu={data:Va,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Bt,directives:Bt,watch:zu,provide:Va,inject:Uu};function Va(e,t){return t?e?function(){return Le(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Uu(e,t){return Bt(mi(e),mi(t))}function mi(e){if(ee(e)){const t={};for(let n=0;n0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[m,b]=qs(d,t,!0);Le(o,m),b&&s.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return r.set(e,an),an;if(ee(a))for(let c=0;c-1,b[1]=j<0||C-1||se(b,"default"))&&s.push(d)}}}const u=[o,s];return r.set(e,u),u}function Ya(e){return e[0]!=="$"}function Ka(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Wa(e,t){return Ka(e)===Ka(t)}function qa(e,t){return ee(t)?t.findIndex(n=>Wa(n,e)):ne(t)&&Wa(t,e)?0:-1}const Xs=e=>e[0]==="_"||e==="$stable",na=e=>ee(e)?e.map(st):[st(e)],Vu=(e,t,n)=>{if(t._n)return t;const r=qe((...i)=>na(t(...i)),n);return r._c=!1,r},Qs=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Xs(i))continue;const a=e[i];if(ne(a))t[i]=Vu(i,a,r);else if(a!=null){const o=na(a);t[i]=()=>o}}},Zs=(e,t)=>{const n=na(t);e.slots.default=()=>n},Yu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),dr(t,"_",n)):Qs(t,e.slots={})}else e.slots={},t&&Zs(e,t);dr(e.slots,Dr,1)},Ku=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,o=me;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Le(i,t),!n&&s===1&&delete i._):(a=!t.$stable,Qs(t,i)),o=t}else t&&(Zs(e,t),o={default:1});if(a)for(const s in i)!Xs(s)&&!(s in o)&&delete i[s]};function Js(){return{app:null,config:{isNativeTag:_c,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 Wu=0;function qu(e,t){return function(r,i=null){ne(r)||(r=Object.assign({},r)),i!=null&&!Se(i)&&(i=null);const a=Js(),o=new Set;let s=!1;const l=a.app={_uid:Wu++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:mf,get config(){return a.config},set config(u){},use(u,...c){return o.has(u)||(u&&ne(u.install)?(o.add(u),u.install(l,...c)):ne(u)&&(o.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!s){const m=H(r,i);return m.appContext=a,c&&t?t(m,u):e(m,u,d),s=!0,l._container=u,u.__vue_app__=l,aa(m.component)||m.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l}};return l}}function gi(e,t,n,r,i=!1){if(ee(e)){e.forEach((m,b)=>gi(m,t&&(ee(t)?t[b]:t),n,r,i));return}if(sr(r)&&!i)return;const a=r.shapeFlag&4?aa(r.component)||r.component.proxy:r.el,o=i?null:a,{i:s,r:l}=e,u=t&&t.r,c=s.refs===me?s.refs={}:s.refs,d=s.setupState;if(u!=null&&u!==l&&(Ie(u)?(c[u]=null,se(d,u)&&(d[u]=null)):we(u)&&(u.value=null)),ne(l))Tt(l,s,12,[o,c]);else{const m=Ie(l),b=we(l);if(m||b){const C=()=>{if(e.f){const j=m?c[l]:l.value;i?ee(j)&&Hi(j,a):ee(j)?j.includes(a)||j.push(a):m?(c[l]=[a],se(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else m?(c[l]=o,se(d,l)&&(d[l]=o)):b&&(l.value=o,e.k&&(c[e.k]=o))};o?(C.id=-1,De(C,n)):C()}}}const De=_u;function Xu(e){return Qu(e)}function Qu(e,t){const n=Cc();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:m,setScopeId:b=tt,cloneNode:C,insertStaticContent:j}=e,M=(f,h,g,x=null,p=null,T=null,R=!1,_=null,N=!!h.dynamicChildren)=>{if(f===h)return;f&&!En(f,h)&&(x=G(f),Ne(f,p,T,!0),f=null),h.patchFlag===-2&&(N=!1,h.dynamicChildren=null);const{type:k,ref:Y,shapeFlag:F}=h;switch(k){case ra:v(f,h,g,x);break;case Vt:S(f,h,g,x);break;case qr:f==null&&D(h,g,x,R);break;case Me:Ye(f,h,g,x,p,T,R,_,N);break;default:F&1?ae(f,h,g,x,p,T,R,_,N):F&6?ke(f,h,g,x,p,T,R,_,N):(F&64||F&128)&&k.process(f,h,g,x,p,T,R,_,N,fe)}Y!=null&&p&&gi(Y,f&&f.ref,T,h||f,!h)},v=(f,h,g,x)=>{if(f==null)r(h.el=s(h.children),g,x);else{const p=h.el=f.el;h.children!==f.children&&u(p,h.children)}},S=(f,h,g,x)=>{f==null?r(h.el=l(h.children||""),g,x):h.el=f.el},D=(f,h,g,x)=>{[f.el,f.anchor]=j(f.children,h,g,x,f.el,f.anchor)},V=({el:f,anchor:h},g,x)=>{let p;for(;f&&f!==h;)p=m(f),r(f,g,x),f=p;r(h,g,x)},W=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=m(f),i(f),f=g;i(h)},ae=(f,h,g,x,p,T,R,_,N)=>{R=R||h.type==="svg",f==null?X(h,g,x,p,T,R,_,N):Ae(f,h,p,T,R,_,N)},X=(f,h,g,x,p,T,R,_)=>{let N,k;const{type:Y,props:F,shapeFlag:y,transition:O,patchFlag:L,dirs:K}=f;if(f.el&&C!==void 0&&L===-1)N=f.el=C(f.el);else{if(N=f.el=o(f.type,T,F&&F.is,F),y&8?c(N,f.children):y&16&&ie(f.children,N,null,x,p,T&&Y!=="foreignObject",R,_),K&&$t(f,null,x,"created"),F){for(const oe in F)oe!=="value"&&!ar(oe)&&a(N,oe,null,F[oe],T,f.children,x,p,P);"value"in F&&a(N,"value",null,F.value),(k=F.onVnodeBeforeMount)&&at(k,x,f)}te(N,f,f.scopeId,R,x)}K&&$t(f,null,x,"beforeMount");const J=(!p||p&&!p.pendingBranch)&&O&&!O.persisted;J&&O.beforeEnter(N),r(N,h,g),((k=F&&F.onVnodeMounted)||J||K)&&De(()=>{k&&at(k,x,f),J&&O.enter(N),K&&$t(f,null,x,"mounted")},p)},te=(f,h,g,x,p)=>{if(g&&b(f,g),x)for(let T=0;T{for(let k=N;k{const _=h.el=f.el;let{patchFlag:N,dynamicChildren:k,dirs:Y}=h;N|=f.patchFlag&16;const F=f.props||me,y=h.props||me;let O;g&&Dt(g,!1),(O=y.onVnodeBeforeUpdate)&&at(O,g,h,f),Y&&$t(h,f,g,"beforeUpdate"),g&&Dt(g,!0);const L=p&&h.type!=="foreignObject";if(k?xe(f.dynamicChildren,k,_,g,x,L,T):R||Q(f,h,_,null,g,x,L,T,!1),N>0){if(N&16)Te(_,h,F,y,g,x,p);else if(N&2&&F.class!==y.class&&a(_,"class",null,y.class,p),N&4&&a(_,"style",F.style,y.style,p),N&8){const K=h.dynamicProps;for(let J=0;J{O&&at(O,g,h,f),Y&&$t(h,f,g,"updated")},x)},xe=(f,h,g,x,p,T,R)=>{for(let _=0;_{if(g!==x){for(const _ in x){if(ar(_))continue;const N=x[_],k=g[_];N!==k&&_!=="value"&&a(f,_,k,N,R,h.children,p,T,P)}if(g!==me)for(const _ in g)!ar(_)&&!(_ in x)&&a(f,_,g[_],null,R,h.children,p,T,P);"value"in x&&a(f,"value",g.value,x.value)}},Ye=(f,h,g,x,p,T,R,_,N)=>{const k=h.el=f?f.el:s(""),Y=h.anchor=f?f.anchor:s("");let{patchFlag:F,dynamicChildren:y,slotScopeIds:O}=h;O&&(_=_?_.concat(O):O),f==null?(r(k,g,x),r(Y,g,x),ie(h.children,g,Y,p,T,R,_,N)):F>0&&F&64&&y&&f.dynamicChildren?(xe(f.dynamicChildren,y,g,p,T,R,_),(h.key!=null||p&&h===p.subTree)&&el(f,h,!0)):Q(f,h,g,Y,p,T,R,_,N)},ke=(f,h,g,x,p,T,R,_,N)=>{h.slotScopeIds=_,f==null?h.shapeFlag&512?p.ctx.activate(h,g,x,R,N):be(h,g,x,p,T,R,N):E(f,h,N)},be=(f,h,g,x,p,T,R)=>{const _=f.component=sf(f,x,p);if(Hs(f)&&(_.ctx.renderer=fe),lf(_),_.asyncDep){if(p&&p.registerDep(_,I),!f.el){const N=_.subTree=H(Vt);S(null,N,h,g)}return}I(_,f,h,g,p,T,R)},E=(f,h,g)=>{const x=h.component=f.component;if(vu(f,h,g))if(x.asyncDep&&!x.asyncResolved){$(x,h,g);return}else x.next=h,du(x.update),x.update();else h.el=f.el,x.vnode=h},I=(f,h,g,x,p,T,R)=>{const _=()=>{if(f.isMounted){let{next:Y,bu:F,u:y,parent:O,vnode:L}=f,K=Y,J;Dt(f,!1),Y?(Y.el=L.el,$(f,Y,R)):Y=L,F&&Kr(F),(J=Y.props&&Y.props.onVnodeBeforeUpdate)&&at(J,O,Y,L),Dt(f,!0);const oe=Wr(f),je=f.subTree;f.subTree=oe,M(je,oe,d(je.el),G(je),f,p,T),Y.el=oe.el,K===null&&yu(f,oe.el),y&&De(y,p),(J=Y.props&&Y.props.onVnodeUpdated)&&De(()=>at(J,O,Y,L),p)}else{let Y;const{el:F,props:y}=h,{bm:O,m:L,parent:K}=f,J=sr(h);if(Dt(f,!1),O&&Kr(O),!J&&(Y=y&&y.onVnodeBeforeMount)&&at(Y,K,h),Dt(f,!0),F&&Z){const oe=()=>{f.subTree=Wr(f),Z(F,f.subTree,f,p,null)};J?h.type.__asyncLoader().then(()=>!f.isUnmounted&&oe()):oe()}else{const oe=f.subTree=Wr(f);M(null,oe,g,x,f,p,T),h.el=oe.el}if(L&&De(L,p),!J&&(Y=y&&y.onVnodeMounted)){const oe=h;De(()=>at(Y,K,oe),p)}(h.shapeFlag&256||K&&sr(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&De(f.a,p),f.isMounted=!0,h=g=x=null}},N=f.effect=new Ki(_,()=>Ps(k),f.scope),k=f.update=()=>N.run();k.id=f.uid,Dt(f,!0),k()},$=(f,h,g)=>{h.component=f;const x=f.vnode.props;f.vnode=h,f.next=null,Gu(f,h.props,x,g),Ku(f,h.children,g),bn(),Pr(void 0,f.update),vn()},Q=(f,h,g,x,p,T,R,_,N=!1)=>{const k=f&&f.children,Y=f?f.shapeFlag:0,F=h.children,{patchFlag:y,shapeFlag:O}=h;if(y>0){if(y&128){ve(k,F,g,x,p,T,R,_,N);return}else if(y&256){le(k,F,g,x,p,T,R,_,N);return}}O&8?(Y&16&&P(k,p,T),F!==k&&c(g,F)):Y&16?O&16?ve(k,F,g,x,p,T,R,_,N):P(k,p,T,!0):(Y&8&&c(g,""),O&16&&ie(F,g,x,p,T,R,_,N))},le=(f,h,g,x,p,T,R,_,N)=>{f=f||an,h=h||an;const k=f.length,Y=h.length,F=Math.min(k,Y);let y;for(y=0;yY?P(f,p,T,!0,!1,F):ie(h,g,x,p,T,R,_,N,F)},ve=(f,h,g,x,p,T,R,_,N)=>{let k=0;const Y=h.length;let F=f.length-1,y=Y-1;for(;k<=F&&k<=y;){const O=f[k],L=h[k]=N?Ot(h[k]):st(h[k]);if(En(O,L))M(O,L,g,null,p,T,R,_,N);else break;k++}for(;k<=F&&k<=y;){const O=f[F],L=h[y]=N?Ot(h[y]):st(h[y]);if(En(O,L))M(O,L,g,null,p,T,R,_,N);else break;F--,y--}if(k>F){if(k<=y){const O=y+1,L=Oy)for(;k<=F;)Ne(f[k],p,T,!0),k++;else{const O=k,L=k,K=new Map;for(k=L;k<=y;k++){const Fe=h[k]=N?Ot(h[k]):st(h[k]);Fe.key!=null&&K.set(Fe.key,k)}let J,oe=0;const je=y-L+1;let wt=!1,Ia=0;const xn=new Array(je);for(k=0;k=je){Ne(Fe,p,T,!0);continue}let it;if(Fe.key!=null)it=K.get(Fe.key);else for(J=L;J<=y;J++)if(xn[J-L]===0&&En(Fe,h[J])){it=J;break}it===void 0?Ne(Fe,p,T,!0):(xn[it-L]=k+1,it>=Ia?Ia=it:wt=!0,M(Fe,h[it],g,null,p,T,R,_,N),oe++)}const Ta=wt?Zu(xn):an;for(J=Ta.length-1,k=je-1;k>=0;k--){const Fe=L+k,it=h[Fe],Na=Fe+1{const{el:T,type:R,transition:_,children:N,shapeFlag:k}=f;if(k&6){Ee(f.component.subTree,h,g,x);return}if(k&128){f.suspense.move(h,g,x);return}if(k&64){R.move(f,h,g,fe);return}if(R===Me){r(T,h,g);for(let F=0;F_.enter(T),p);else{const{leave:F,delayLeave:y,afterLeave:O}=_,L=()=>r(T,h,g),K=()=>{F(T,()=>{L(),O&&O()})};y?y(T,L,K):K()}else r(T,h,g)},Ne=(f,h,g,x=!1,p=!1)=>{const{type:T,props:R,ref:_,children:N,dynamicChildren:k,shapeFlag:Y,patchFlag:F,dirs:y}=f;if(_!=null&&gi(_,null,g,f,!0),Y&256){h.ctx.deactivate(f);return}const O=Y&1&&y,L=!sr(f);let K;if(L&&(K=R&&R.onVnodeBeforeUnmount)&&at(K,h,f),Y&6)z(f.component,g,x);else{if(Y&128){f.suspense.unmount(g,x);return}O&&$t(f,null,h,"beforeUnmount"),Y&64?f.type.remove(f,h,g,p,fe,x):k&&(T!==Me||F>0&&F&64)?P(k,h,g,!1,!0):(T===Me&&F&384||!p&&Y&16)&&P(N,h,g),x&&Oe(f)}(L&&(K=R&&R.onVnodeUnmounted)||O)&&De(()=>{K&&at(K,h,f),O&&$t(f,null,h,"unmounted")},g)},Oe=f=>{const{type:h,el:g,anchor:x,transition:p}=f;if(h===Me){w(g,x);return}if(h===qr){W(f);return}const T=()=>{i(g),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(f.shapeFlag&1&&p&&!p.persisted){const{leave:R,delayLeave:_}=p,N=()=>R(g,T);_?_(f.el,T,N):N()}else T()},w=(f,h)=>{let g;for(;f!==h;)g=m(f),i(f),f=g;i(h)},z=(f,h,g)=>{const{bum:x,scope:p,update:T,subTree:R,um:_}=f;x&&Kr(x),p.stop(),T&&(T.active=!1,Ne(R,f,h,g)),_&&De(_,h),De(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},P=(f,h,g,x=!1,p=!1,T=0)=>{for(let R=T;Rf.shapeFlag&6?G(f.component.subTree):f.shapeFlag&128?f.suspense.next():m(f.anchor||f.el),ue=(f,h,g)=>{f==null?h._vnode&&Ne(h._vnode,null,null,!0):M(h._vnode||null,f,h,null,null,null,g),$s(),h._vnode=f},fe={p:M,um:Ne,m:Ee,r:Oe,mt:be,mc:ie,pc:Q,pbc:xe,n:G,o:e};let re,Z;return t&&([re,Z]=t(fe)),{render:ue,hydrate:re,createApp:qu(ue,re)}}function Dt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function el(e,t,n=!1){const r=e.children,i=t.children;if(ee(r)&&ee(i))for(let a=0;a>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}const Ju=e=>e.__isTeleport,Me=Symbol(void 0),ra=Symbol(void 0),Vt=Symbol(void 0),qr=Symbol(void 0),Tn=[];let Je=null;function ye(e=!1){Tn.push(Je=e?null:[])}function ef(){Tn.pop(),Je=Tn[Tn.length-1]||null}let zn=1;function Xa(e){zn+=e}function tl(e){return e.dynamicChildren=zn>0?Je||an:null,ef(),zn>0&&Je&&Je.push(e),e}function Re(e,t,n,r,i,a){return tl(A(e,t,n,r,i,a,!0))}function br(e,t,n,r,i){return tl(H(e,t,n,r,i,!0))}function bi(e){return e?e.__v_isVNode===!0:!1}function En(e,t){return e.type===t.type&&e.key===t.key}const Dr="__vInternal",nl=({key:e})=>e!=null?e:null,lr=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ie(e)||we(e)||ne(e)?{i:Qe,r:e,k:t,f:!!n}:e:null;function A(e,t=null,n=null,r=0,i=null,a=e===Me?0:1,o=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nl(t),ref:t&&lr(t),scopeId:Lr,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return s?(ia(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Ie(n)?8:16),zn>0&&!o&&Je&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Je.push(l),l}const H=tf;function tf(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Mu)&&(e=Vt),bi(e)){const s=fn(e,t,!0);return n&&ia(s,n),zn>0&&!a&&Je&&(s.shapeFlag&6?Je[Je.indexOf(e)]=s:Je.push(s)),s.patchFlag|=-2,s}if(hf(e)&&(e=e.__vccOpts),t){t=nf(t);let{class:s,style:l}=t;s&&!Ie(s)&&(t.class=Ui(s)),Se(l)&&(Ss(l)&&!ee(l)&&(l=Le({},l)),t.style=Fi(l))}const o=Ie(e)?1:wu(e)?128:Ju(e)?64:Se(e)?4:ne(e)?2:0;return A(e,t,n,r,i,o,a,!0)}function nf(e){return e?Ss(e)||Dr in e?Le({},e):e:null}function fn(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:o}=e,s=t?rf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&nl(s),ref:t&&t.ref?n&&i?ee(i)?i.concat(lr(t)):[i,lr(t)]:lr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),el:e.el,anchor:e.anchor}}function ge(e=" ",t=0){return H(ra,null,e,t)}function jt(e="",t=!1){return t?(ye(),br(Vt,null,e)):H(Vt,null,e)}function st(e){return e==null||typeof e=="boolean"?H(Vt):ee(e)?H(Me,null,e.slice()):typeof e=="object"?Ot(e):H(ra,null,String(e))}function Ot(e){return e.el===null||e.memo?e:fn(e)}function ia(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ia(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Dr in t)?t._ctx=Qe:i===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),r&64?(n=16,t=[ge(t)]):n=8);e.children=t,e.shapeFlag|=n}function rf(...e){const t={};for(let n=0;nCe||Qe,dn=e=>{Ce=e,e.scope.on()},Ht=()=>{Ce&&Ce.scope.off(),Ce=null};function il(e){return e.vnode.shapeFlag&4}let Hn=!1;function lf(e,t=!1){Hn=t;const{props:n,children:r}=e.vnode,i=il(e);Hu(e,n,i,t),Yu(e,r);const a=i?cf(e,t):void 0;return Hn=!1,a}function cf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cn(new Proxy(e.ctx,Du));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?ff(e):null;dn(e),bn();const a=Tt(r,e,0,[e.props,i]);if(vn(),Ht(),fs(a)){if(a.then(Ht,Ht),t)return a.then(o=>{Qa(e,o,t)}).catch(o=>{Nr(o,e,0)});e.asyncDep=a}else Qa(e,a,t)}else al(e,t)}function Qa(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=Ts(t)),al(e,n)}let Za;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&Za&&!r.render){const i=r.template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Le(Le({isCustomElement:a,delimiters:s},o),l);r.render=Za(i,u)}}e.render=r.render||tt}dn(e),bn(),Bu(e),vn(),Ht()}function uf(e){return new Proxy(e.attrs,{get(t,n){return He(e,"get","$attrs"),t[n]}})}function ff(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=uf(e))},slots:e.slots,emit:e.emit,expose:t}}function aa(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ts(cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pr)return pr[n](e)}}))}function df(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function hf(e){return ne(e)&&"__vccOpts"in e}const de=(e,t)=>cu(e,t,Hn);function hn(e,t,n){const r=arguments.length;return r===2?Se(t)&&!ee(t)?bi(t)?H(e,null,[t]):H(e,t):H(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bi(n)&&(n=[n]),H(e,t,n))}const mf="3.2.37",pf="http://www.w3.org/2000/svg",Ft=typeof document<"u"?document:null,Ja=Ft&&Ft.createElement("template"),gf={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?Ft.createElementNS(pf,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Ja.innerHTML=r?`${e}`:e;const s=Ja.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function bf(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 vf(e,t,n){const r=e.style,i=Ie(n);if(n&&!i){for(const a in n)vi(r,a,n[a]);if(t&&!Ie(t))for(const a in t)n[a]==null&&vi(r,a,"")}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const eo=/\s*!important$/;function vi(e,t,n){if(ee(n))n.forEach(r=>vi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yf(e,t);eo.test(n)?e.setProperty(gn(r),n.replace(eo,""),"important"):e[r]=n}}const to=["Webkit","Moz","ms"],Xr={};function yf(e,t){const n=Xr[t];if(n)return n;let r=ct(t);if(r!=="filter"&&r in e)return Xr[t]=r;r=Ir(r);for(let i=0;i{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let yi=0;const Ef=Promise.resolve(),Af=()=>{yi=0},kf=()=>yi||(Ef.then(Af),yi=ol());function Of(e,t,n,r){e.addEventListener(t,n,r)}function Sf(e,t,n,r){e.removeEventListener(t,n,r)}function Cf(e,t,n,r,i=null){const a=e._vei||(e._vei={}),o=a[t];if(r&&o)o.value=r;else{const[s,l]=Rf(t);if(r){const u=a[t]=If(r,i);Of(e,s,u,l)}else o&&(Sf(e,s,o,l),a[t]=void 0)}}const ro=/(?:Once|Passive|Capture)$/;function Rf(e){let t;if(ro.test(e)){t={};let n;for(;n=e.match(ro);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[gn(e.slice(2)),t]}function If(e,t){const n=r=>{const i=r.timeStamp||ol();(xf||i>=n.attached-1)&&nt(Tf(r,n.value),t,5,[r])};return n.value=e,n.attached=kf(),n}function Tf(e,t){if(ee(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 io=/^on[a-z]/,Nf=(e,t,n,r,i=!1,a,o,s,l)=>{t==="class"?bf(e,r,i):t==="style"?vf(e,n,r):Sr(t)?zi(t)||Cf(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pf(e,t,r,i))?_f(e,t,r,a,o,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),wf(e,t,r,i))};function Pf(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&io.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||io.test(t)&&Ie(n)?!1:t in e}const Mf=Le({patchProp:Nf},gf);let ao;function Lf(){return ao||(ao=Xu(Mf))}const $f=(...e)=>{const t=Lf().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Df(r);if(!i)return;const a=t._component;!ne(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Df(e){return Ie(e)?document.querySelector(e):e}var Bf=!1;/*! * pinia v2.0.16 * (c) 2022 Eduardo San Martin Morote * @license MIT - */let sl;const Br=e=>sl=e,ll=Symbol();function wi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nn||(Nn={}));function jf(){const e=ps(!0),t=e.run(()=>He({}));let n=[],r=[];const i=cn({install(a){Br(i),i._a=a,a.provide(ll,i),a.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(a){return!this._a&&!Bf?r.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const cl=()=>{};function oo(e,t,n,r=cl){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),r())};return!n&&rl()&&ta(i),i}function qt(e,...t){e.slice().forEach(n=>{n(...t)})}function _i(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];wi(i)&&wi(r)&&e.hasOwnProperty(n)&&!we(r)&&!It(r)?e[n]=_i(i,r):e[n]=r}return e}const Ff=Symbol();function Uf(e){return!wi(e)||!e.hasOwnProperty(Ff)}const{assign:ut}=Object;function zf(e){return!!(we(e)&&e.effect)}function Hf(e,t,n,r){const{state:i,actions:a,getters:o}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=au(n.state.value[e]);return ut(c,a,Object.keys(o||{}).reduce((d,m)=>(d[m]=cn(de(()=>{Br(n);const b=n._s.get(e);return o[m].call(b,b)})),d),{}))}return l=ul(e,u,t,n,r,!0),l.$reset=function(){const d=i?i():{};this.$patch(m=>{ut(m,d)})},l}function ul(e,t,n={},r,i,a){let o;const s=ut({actions:{}},n),l={deep:!0};let u,c,d=cn([]),m=cn([]),b;const C=r.state.value[e];!a&&!C&&(r.state.value[e]={}),He({});let j;function M(X){let te;u=c=!1,typeof X=="function"?(X(r.state.value[e]),te={type:Nn.patchFunction,storeId:e,events:b}):(_i(r.state.value[e],X),te={type:Nn.patchObject,payload:X,storeId:e,events:b});const ie=j=Symbol();ea().then(()=>{j===ie&&(u=!0)}),c=!0,qt(d,te,r.state.value[e])}const v=cl;function S(){o.stop(),d=[],m=[],r._s.delete(e)}function D(X,te){return function(){Br(r);const ie=Array.from(arguments),Ae=[],xe=[];function Te(be){Ae.push(be)}function Ye(be){xe.push(be)}qt(m,{args:ie,name:X,store:W,after:Te,onError:Ye});let ke;try{ke=te.apply(this&&this.$id===e?this:W,ie)}catch(be){throw qt(xe,be),be}return ke instanceof Promise?ke.then(be=>(qt(Ae,be),be)).catch(be=>(qt(xe,be),Promise.reject(be))):(qt(Ae,ke),ke)}}const V={_p:r,$id:e,$onAction:oo.bind(null,m),$patch:M,$reset:v,$subscribe(X,te={}){const ie=oo(d,X,te.detached,()=>Ae()),Ae=o.run(()=>Nt(()=>r.state.value[e],xe=>{(te.flush==="sync"?c:u)&&X({storeId:e,type:Nn.direct,events:b},xe)},ut({},l,te)));return ie},$dispose:S},W=yn(ut({},V));r._s.set(e,W);const ae=r._e.run(()=>(o=ps(),o.run(()=>t())));for(const X in ae){const te=ae[X];if(we(te)&&!zf(te)||It(te))a||(C&&Uf(te)&&(we(te)?te.value=C[X]:_i(te,C[X])),r.state.value[e][X]=te);else if(typeof te=="function"){const ie=D(X,te);ae[X]=ie,s.actions[X]=te}}return ut(W,ae),ut(ce(W),ae),Object.defineProperty(W,"$state",{get:()=>r.state.value[e],set:X=>{M(te=>{ut(te,X)})}}),r._p.forEach(X=>{ut(W,o.run(()=>X({store:W,app:r._a,pinia:r,options:s})))}),C&&a&&n.hydrate&&n.hydrate(W.$state,C),u=!0,c=!0,W}function Gf(e,t,n){let r,i;const a=typeof t=="function";typeof e=="string"?(r=e,i=a?n:t):(i=e,r=e.id);function o(s,l){const u=rl();return s=s||u&&dt(ll),s&&Br(s),s=sl,s._s.has(r)||(a?ul(r,t,i,s):Hf(r,i,s)),s._s.get(r)}return o.$id=r,o}/*! + */let sl;const Br=e=>sl=e,ll=Symbol();function wi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nn||(Nn={}));function jf(){const e=ps(!0),t=e.run(()=>ze({}));let n=[],r=[];const i=cn({install(a){Br(i),i._a=a,a.provide(ll,i),a.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(a){return!this._a&&!Bf?r.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const cl=()=>{};function oo(e,t,n,r=cl){e.push(t);const i=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),r())};return!n&&rl()&&ta(i),i}function qt(e,...t){e.slice().forEach(n=>{n(...t)})}function _i(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];wi(i)&&wi(r)&&e.hasOwnProperty(n)&&!we(r)&&!It(r)?e[n]=_i(i,r):e[n]=r}return e}const Ff=Symbol();function Uf(e){return!wi(e)||!e.hasOwnProperty(Ff)}const{assign:ut}=Object;function zf(e){return!!(we(e)&&e.effect)}function Hf(e,t,n,r){const{state:i,actions:a,getters:o}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=au(n.state.value[e]);return ut(c,a,Object.keys(o||{}).reduce((d,m)=>(d[m]=cn(de(()=>{Br(n);const b=n._s.get(e);return o[m].call(b,b)})),d),{}))}return l=ul(e,u,t,n,r,!0),l.$reset=function(){const d=i?i():{};this.$patch(m=>{ut(m,d)})},l}function ul(e,t,n={},r,i,a){let o;const s=ut({actions:{}},n),l={deep:!0};let u,c,d=cn([]),m=cn([]),b;const C=r.state.value[e];!a&&!C&&(r.state.value[e]={}),ze({});let j;function M(X){let te;u=c=!1,typeof X=="function"?(X(r.state.value[e]),te={type:Nn.patchFunction,storeId:e,events:b}):(_i(r.state.value[e],X),te={type:Nn.patchObject,payload:X,storeId:e,events:b});const ie=j=Symbol();ea().then(()=>{j===ie&&(u=!0)}),c=!0,qt(d,te,r.state.value[e])}const v=cl;function S(){o.stop(),d=[],m=[],r._s.delete(e)}function D(X,te){return function(){Br(r);const ie=Array.from(arguments),Ae=[],xe=[];function Te(be){Ae.push(be)}function Ye(be){xe.push(be)}qt(m,{args:ie,name:X,store:W,after:Te,onError:Ye});let ke;try{ke=te.apply(this&&this.$id===e?this:W,ie)}catch(be){throw qt(xe,be),be}return ke instanceof Promise?ke.then(be=>(qt(Ae,be),be)).catch(be=>(qt(xe,be),Promise.reject(be))):(qt(Ae,ke),ke)}}const V={_p:r,$id:e,$onAction:oo.bind(null,m),$patch:M,$reset:v,$subscribe(X,te={}){const ie=oo(d,X,te.detached,()=>Ae()),Ae=o.run(()=>Nt(()=>r.state.value[e],xe=>{(te.flush==="sync"?c:u)&&X({storeId:e,type:Nn.direct,events:b},xe)},ut({},l,te)));return ie},$dispose:S},W=yn(ut({},V));r._s.set(e,W);const ae=r._e.run(()=>(o=ps(),o.run(()=>t())));for(const X in ae){const te=ae[X];if(we(te)&&!zf(te)||It(te))a||(C&&Uf(te)&&(we(te)?te.value=C[X]:_i(te,C[X])),r.state.value[e][X]=te);else if(typeof te=="function"){const ie=D(X,te);ae[X]=ie,s.actions[X]=te}}return ut(W,ae),ut(ce(W),ae),Object.defineProperty(W,"$state",{get:()=>r.state.value[e],set:X=>{M(te=>{ut(te,X)})}}),r._p.forEach(X=>{ut(W,o.run(()=>X({store:W,app:r._a,pinia:r,options:s})))}),C&&a&&n.hydrate&&n.hydrate(W.$state,C),u=!0,c=!0,W}function Gf(e,t,n){let r,i;const a=typeof t=="function";typeof e=="string"?(r=e,i=a?n:t):(i=e,r=e.id);function o(s,l){const u=rl();return s=s||u&&dt(ll),s&&Br(s),s=sl,s._s.has(r)||(a?ul(r,t,i,s):Hf(r,i,s)),s._s.get(r)}return o.$id=r,o}/*! * vue-router v4.1.2 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const en=typeof window<"u";function Vf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const he=Object.assign;function Qr(e,t){const n={};for(const r in t){const i=t[r];n[r]=rt(i)?i.map(e):e(i)}return n}const Pn=()=>{},rt=Array.isArray,Yf=/\/$/,Kf=e=>e.replace(Yf,"");function Zr(e,t,n="/"){let r,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=Qf(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+o,path:r,query:i,hash:o}}function Wf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function so(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qf(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&mn(t.matched[r],n.matched[i])&&fl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Xf(e[n],t[n]))return!1;return!0}function Xf(e,t){return rt(e)?lo(e,t):rt(t)?lo(t,e):e===t}function lo(e,t){return rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Qf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,a,o;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var Mn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Mn||(Mn={}));function Zf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kf(e)}const Jf=/^[^#]+#/;function ed(e,t){return e.replace(Jf,"#")+t}function td(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 jr=()=>({left:window.pageXOffset,top:window.pageYOffset});function nd(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=td(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 co(e,t){return(history.state?history.state.position-t:-1)+e}const xi=new Map;function rd(e,t){xi.set(e,t)}function id(e){const t=xi.get(e);return xi.delete(e),t}let ad=()=>location.protocol+"//"+location.host;function dl(e,t){const{pathname:n,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),so(l,"")}return so(n,e)+r+i}function od(e,t,n,r){let i=[],a=[],o=null;const s=({state:m})=>{const b=dl(e,location),C=n.value,j=t.value;let M=0;if(m){if(n.value=b,t.value=m,o&&o===C){o=null;return}M=j?m.position-j.position:0}else r(b);i.forEach(v=>{v(n.value,C,{delta:M,type:Gn.pop,direction:M?M>0?Mn.forward:Mn.back:Mn.unknown})})};function l(){o=n.value}function u(m){i.push(m);const b=()=>{const C=i.indexOf(m);C>-1&&i.splice(C,1)};return a.push(b),b}function c(){const{history:m}=window;!m.state||m.replaceState(he({},m.state,{scroll:jr()}),"")}function d(){for(const m of a)m();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:d}}function uo(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?jr():null}}function sd(e){const{history:t,location:n}=window,r={value:dl(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:ad()+e+l;try{t[c?"replaceState":"pushState"](u,"",m),i.value=u}catch(b){console.error(b),n[c?"replace":"assign"](m)}}function o(l,u){const c=he({},t.state,uo(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),r.value=l}function s(l,u){const c=he({},i.value,t.state,{forward:l,scroll:jr()});a(c.current,c,!0);const d=he({},uo(r.value,l,null),{position:c.position+1},u);a(l,d,!1),r.value=l}return{location:r,state:i,push:s,replace:o}}function ld(e){e=Zf(e);const t=sd(e),n=od(e,t.state,t.location,t.replace);function r(a,o=!0){o||n.pauseListeners(),history.go(a)}const i=he({location:"",base:e,go:r,createHref:ed.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 cd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ld(e)}function ud(e){return typeof e=="string"||e&&typeof e=="object"}function hl(e){return typeof e=="string"||typeof e=="symbol"}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ml=Symbol("");var fo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fo||(fo={}));function pn(e,t){return he(new Error,{type:e,[ml]:!0},t)}function Et(e,t){return e instanceof Error&&ml in e&&(t==null||!!(e.type&t))}const ho="[^/]+?",fd={sensitive:!1,strict:!1,start:!0,end:!0},dd=/[.+*?^${}()[\]/\\]/g;function hd(e,t){const n=he({},fd,t),r=[];let i=n.start?"^":"";const a=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let d=0;d1&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${C}"`);c+=S}}return c}return{re:o,score:r,keys:a,parse:s,stringify:l}}function md(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function pd(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const gd={type:0,value:""},bd=/[a-zA-Z0-9_]/;function vd(e){if(!e)return[[]];if(e==="/")return[[gd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${u}": ${b}`)}let n=0,r=n;const i=[];let a;function o(){a&&i.push(a),a=[]}let s=0,l,u="",c="";function d(){!u||(n===0?a.push({type:0,value:u}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=l}for(;s{o(S)}:Pn}function o(c){if(hl(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function s(){return n}function l(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!pl(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!po(c)&&r.set(c.record.name,c)}function u(c,d){let m,b={},C,j;if("name"in c&&c.name){if(m=r.get(c.name),!m)throw pn(1,{location:c});j=m.record.name,b=he(_d(d.params,m.keys.filter(S=>!S.optional).map(S=>S.name)),c.params),C=m.stringify(b)}else if("path"in c)C=c.path,m=n.find(S=>S.re.test(C)),m&&(b=m.parse(C),j=m.record.name);else{if(m=d.name?r.get(d.name):n.find(S=>S.re.test(d.path)),!m)throw pn(1,{location:c,currentLocation:d});j=m.record.name,b=he({},d.params,c.params),C=m.stringify(b)}const M=[];let v=m;for(;v;)M.unshift(v.record),v=v.parent;return{name:j,path:C,params:b,matched:M,meta:Ad(M)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function _d(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ed(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 Ed(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 po(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ad(e){return e.reduce((t,n)=>he(t,n.meta),{})}function go(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pl(e,t){return t.children.some(n=>n===e||pl(e,n))}const gl=/#/g,kd=/&/g,Od=/\//g,Sd=/=/g,Cd=/\?/g,bl=/\+/g,Rd=/%5B/g,Id=/%5D/g,vl=/%5E/g,Td=/%60/g,yl=/%7B/g,Nd=/%7C/g,wl=/%7D/g,Pd=/%20/g;function oa(e){return encodeURI(""+e).replace(Nd,"|").replace(Rd,"[").replace(Id,"]")}function Md(e){return oa(e).replace(yl,"{").replace(wl,"}").replace(vl,"^")}function Ei(e){return oa(e).replace(bl,"%2B").replace(Pd,"+").replace(gl,"%23").replace(kd,"%26").replace(Td,"`").replace(yl,"{").replace(wl,"}").replace(vl,"^")}function Ld(e){return Ei(e).replace(Sd,"%3D")}function $d(e){return oa(e).replace(gl,"%23").replace(Cd,"%3F")}function Dd(e){return e==null?"":$d(e).replace(Od,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Bd(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&Ei(a)):[r&&Ei(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function jd(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=rt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Fd=Symbol(""),vo=Symbol(""),sa=Symbol(""),_l=Symbol(""),Ai=Symbol("");function An(){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 St(e,t,n,r,i){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=d=>{d===!1?s(pn(4,{from:n,to:t})):d instanceof Error?s(d):ud(d)?s(pn(2,{from:t,to:d})):(a&&r.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),o())},u=e.call(r&&r.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function Jr(e,t,n,r){const i=[];for(const a of e)for(const o in a.components){let s=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(Ud(s)){const u=(s.__vccOpts||s)[t];u&&i.push(St(u,n,r,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const c=Vf(u)?u.default:u;a.components[o]=c;const m=(c.__vccOpts||c)[t];return m&&St(m,n,r,a,o)()}))}}return i}function Ud(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yo(e){const t=dt(sa),n=dt(_l),r=de(()=>t.resolve(U(e.to))),i=de(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],d=n.matched;if(!c||!d.length)return-1;const m=d.findIndex(mn.bind(null,c));if(m>-1)return m;const b=wo(l[u-2]);return u>1&&wo(c)===b&&d[d.length-1].path!==b?d.findIndex(mn.bind(null,l[u-2])):m}),a=de(()=>i.value>-1&&Vd(n.params,r.value.params)),o=de(()=>i.value>-1&&i.value===n.matched.length-1&&fl(n.params,r.value.params));function s(l={}){return Gd(l)?t[U(e.replace)?"replace":"push"](U(e.to)).catch(Pn):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}const zd=wn({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:yo,setup(e,{slots:t}){const n=yn(yo(e)),{options:r}=dt(sa),i=de(()=>({[_o(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_o(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),Hd=zd;function Gd(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 Vd(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(!rt(i)||i.length!==r.length||r.some((a,o)=>a!==i[o]))return!1}return!0}function wo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _o=(e,t,n)=>e!=null?e:t!=null?t:n,Yd=wn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Ai),i=de(()=>e.route||r.value),a=dt(vo,0),o=de(()=>{let u=U(a);const{matched:c}=i.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=de(()=>i.value.matched[o.value]);or(vo,de(()=>o.value+1)),or(Fd,s),or(Ai,i);const l=He();return Nt(()=>[l.value,s.value,e.name],([u,c,d],[m,b,C])=>{c&&(c.instances[d]=u,b&&b!==c&&u&&u===m&&(c.leaveGuards.size||(c.leaveGuards=b.leaveGuards),c.updateGuards.size||(c.updateGuards=b.updateGuards))),u&&c&&(!b||!mn(c,b)||!m)&&(c.enterCallbacks[d]||[]).forEach(j=>j(u))},{flush:"post"}),()=>{const u=i.value,c=s.value,d=c&&c.components[e.name],m=e.name;if(!d)return xo(n.default,{Component:d,route:u});const b=c.props[e.name],C=b?b===!0?u.params:typeof b=="function"?b(u):b:null,M=hn(d,he({},C,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(c.instances[m]=null)},ref:l}));return xo(n.default,{Component:M,route:u})||M}}});function xo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kd=Yd;function Wd(e){const t=wd(e.routes,e),n=e.parseQuery||Bd,r=e.stringifyQuery||bo,i=e.history,a=An(),o=An(),s=An(),l=nu(xt);let u=xt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Qr.bind(null,w=>""+w),d=Qr.bind(null,Dd),m=Qr.bind(null,vr);function b(w,z){let P,G;return hl(w)?(P=t.getRecordMatcher(w),G=z):G=w,t.addRoute(G,P)}function C(w){const z=t.getRecordMatcher(w);z&&t.removeRoute(z)}function j(){return t.getRoutes().map(w=>w.record)}function M(w){return!!t.getRecordMatcher(w)}function v(w,z){if(z=he({},z||l.value),typeof w=="string"){const Z=Zr(n,w,z.path),f=t.resolve({path:Z.path},z),h=i.createHref(Z.fullPath);return he(Z,f,{params:m(f.params),hash:vr(Z.hash),redirectedFrom:void 0,href:h})}let P;if("path"in w)P=he({},w,{path:Zr(n,w.path,z.path).path});else{const Z=he({},w.params);for(const f in Z)Z[f]==null&&delete Z[f];P=he({},w,{params:d(w.params)}),z.params=d(z.params)}const G=t.resolve(P,z),ue=w.hash||"";G.params=c(m(G.params));const fe=Wf(r,he({},w,{hash:Md(ue),path:G.path})),re=i.createHref(fe);return he({fullPath:fe,hash:ue,query:r===bo?jd(w.query):w.query||{}},G,{redirectedFrom:void 0,href:re})}function S(w){return typeof w=="string"?Zr(n,w,l.value.path):he({},w)}function D(w,z){if(u!==w)return pn(8,{from:z,to:w})}function V(w){return X(w)}function W(w){return V(he(S(w),{replace:!0}))}function ae(w){const z=w.matched[w.matched.length-1];if(z&&z.redirect){const{redirect:P}=z;let G=typeof P=="function"?P(w):P;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=S(G):{path:G},G.params={}),he({query:w.query,hash:w.hash,params:"path"in G?{}:w.params},G)}}function X(w,z){const P=u=v(w),G=l.value,ue=w.state,fe=w.force,re=w.replace===!0,Z=ae(P);if(Z)return X(he(S(Z),{state:ue,force:fe,replace:re}),z||P);const f=P;f.redirectedFrom=z;let h;return!fe&&qf(r,G,P)&&(h=pn(16,{to:f,from:G}),le(G,G,!0,!1)),(h?Promise.resolve(h):ie(f,G)).catch(g=>Et(g)?Et(g,2)?g:Q(g):I(g,f,G)).then(g=>{if(g){if(Et(g,2))return X(he(S(g.to),{state:ue,force:fe,replace:re}),z||f)}else g=xe(f,G,!0,re,ue);return Ae(f,G,g),g})}function te(w,z){const P=D(w,z);return P?Promise.reject(P):Promise.resolve()}function ie(w,z){let P;const[G,ue,fe]=qd(w,z);P=Jr(G.reverse(),"beforeRouteLeave",w,z);for(const Z of G)Z.leaveGuards.forEach(f=>{P.push(St(f,w,z))});const re=te.bind(null,w,z);return P.push(re),Xt(P).then(()=>{P=[];for(const Z of a.list())P.push(St(Z,w,z));return P.push(re),Xt(P)}).then(()=>{P=Jr(ue,"beforeRouteUpdate",w,z);for(const Z of ue)Z.updateGuards.forEach(f=>{P.push(St(f,w,z))});return P.push(re),Xt(P)}).then(()=>{P=[];for(const Z of w.matched)if(Z.beforeEnter&&!z.matched.includes(Z))if(rt(Z.beforeEnter))for(const f of Z.beforeEnter)P.push(St(f,w,z));else P.push(St(Z.beforeEnter,w,z));return P.push(re),Xt(P)}).then(()=>(w.matched.forEach(Z=>Z.enterCallbacks={}),P=Jr(fe,"beforeRouteEnter",w,z),P.push(re),Xt(P))).then(()=>{P=[];for(const Z of o.list())P.push(St(Z,w,z));return P.push(re),Xt(P)}).catch(Z=>Et(Z,8)?Z:Promise.reject(Z))}function Ae(w,z,P){for(const G of s.list())G(w,z,P)}function xe(w,z,P,G,ue){const fe=D(w,z);if(fe)return fe;const re=z===xt,Z=en?history.state:{};P&&(G||re?i.replace(w.fullPath,he({scroll:re&&Z&&Z.scroll},ue)):i.push(w.fullPath,ue)),l.value=w,le(w,z,P,re),Q()}let Te;function Ye(){Te||(Te=i.listen((w,z,P)=>{if(!Oe.listening)return;const G=v(w),ue=ae(G);if(ue){X(he(ue,{replace:!0}),G).catch(Pn);return}u=G;const fe=l.value;en&&rd(co(fe.fullPath,P.delta),jr()),ie(G,fe).catch(re=>Et(re,12)?re:Et(re,2)?(X(re.to,G).then(Z=>{Et(Z,20)&&!P.delta&&P.type===Gn.pop&&i.go(-1,!1)}).catch(Pn),Promise.reject()):(P.delta&&i.go(-P.delta,!1),I(re,G,fe))).then(re=>{re=re||xe(G,fe,!1),re&&(P.delta?i.go(-P.delta,!1):P.type===Gn.pop&&Et(re,20)&&i.go(-1,!1)),Ae(G,fe,re)}).catch(Pn)}))}let ke=An(),be=An(),A;function I(w,z,P){Q(w);const G=be.list();return G.length?G.forEach(ue=>ue(w,z,P)):console.error(w),Promise.reject(w)}function $(){return A&&l.value!==xt?Promise.resolve():new Promise((w,z)=>{ke.add([w,z])})}function Q(w){return A||(A=!w,Ye(),ke.list().forEach(([z,P])=>w?P(w):z()),ke.reset()),w}function le(w,z,P,G){const{scrollBehavior:ue}=e;if(!en||!ue)return Promise.resolve();const fe=!P&&id(co(w.fullPath,0))||(G||!P)&&history.state&&history.state.scroll||null;return ea().then(()=>ue(w,z,fe)).then(re=>re&&nd(re)).catch(re=>I(re,w,z))}const ve=w=>i.go(w);let Ee;const Ne=new Set,Oe={currentRoute:l,listening:!0,addRoute:b,removeRoute:C,hasRoute:M,getRoutes:j,resolve:v,options:e,push:V,replace:W,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:be.add,isReady:$,install(w){const z=this;w.component("RouterLink",Hd),w.component("RouterView",Kd),w.config.globalProperties.$router=z,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>U(l)}),en&&!Ee&&l.value===xt&&(Ee=!0,V(i.location).catch(ue=>{}));const P={};for(const ue in xt)P[ue]=de(()=>l.value[ue]);w.provide(sa,z),w.provide(_l,yn(P)),w.provide(Ai,l);const G=w.unmount;Ne.add(w),w.unmount=function(){Ne.delete(w),Ne.size<1&&(u=xt,Te&&Te(),Te=null,l.value=xt,Ee=!1,A=!1),G()}}};return Oe}function Xt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function qd(e,t){const n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;omn(u,s))?r.push(s):n.push(s));const l=e.matched[o];l&&(t.matched.find(u=>mn(u,l))||i.push(l))}return[n,r,i]}/*! + */const en=typeof window<"u";function Vf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const he=Object.assign;function Qr(e,t){const n={};for(const r in t){const i=t[r];n[r]=rt(i)?i.map(e):e(i)}return n}const Pn=()=>{},rt=Array.isArray,Yf=/\/$/,Kf=e=>e.replace(Yf,"");function Zr(e,t,n="/"){let r,i={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=Qf(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+o,path:r,query:i,hash:o}}function Wf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function so(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qf(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&mn(t.matched[r],n.matched[i])&&fl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function mn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Xf(e[n],t[n]))return!1;return!0}function Xf(e,t){return rt(e)?lo(e,t):rt(t)?lo(t,e):e===t}function lo(e,t){return rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Qf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,a,o;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var Gn;(function(e){e.pop="pop",e.push="push"})(Gn||(Gn={}));var Mn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Mn||(Mn={}));function Zf(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kf(e)}const Jf=/^[^#]+#/;function ed(e,t){return e.replace(Jf,"#")+t}function td(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 jr=()=>({left:window.pageXOffset,top:window.pageYOffset});function nd(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=td(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 co(e,t){return(history.state?history.state.position-t:-1)+e}const xi=new Map;function rd(e,t){xi.set(e,t)}function id(e){const t=xi.get(e);return xi.delete(e),t}let ad=()=>location.protocol+"//"+location.host;function dl(e,t){const{pathname:n,search:r,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(s);return l[0]!=="/"&&(l="/"+l),so(l,"")}return so(n,e)+r+i}function od(e,t,n,r){let i=[],a=[],o=null;const s=({state:m})=>{const b=dl(e,location),C=n.value,j=t.value;let M=0;if(m){if(n.value=b,t.value=m,o&&o===C){o=null;return}M=j?m.position-j.position:0}else r(b);i.forEach(v=>{v(n.value,C,{delta:M,type:Gn.pop,direction:M?M>0?Mn.forward:Mn.back:Mn.unknown})})};function l(){o=n.value}function u(m){i.push(m);const b=()=>{const C=i.indexOf(m);C>-1&&i.splice(C,1)};return a.push(b),b}function c(){const{history:m}=window;!m.state||m.replaceState(he({},m.state,{scroll:jr()}),"")}function d(){for(const m of a)m();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:d}}function uo(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?jr():null}}function sd(e){const{history:t,location:n}=window,r={value:dl(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:ad()+e+l;try{t[c?"replaceState":"pushState"](u,"",m),i.value=u}catch(b){console.error(b),n[c?"replace":"assign"](m)}}function o(l,u){const c=he({},t.state,uo(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),r.value=l}function s(l,u){const c=he({},i.value,t.state,{forward:l,scroll:jr()});a(c.current,c,!0);const d=he({},uo(r.value,l,null),{position:c.position+1},u);a(l,d,!1),r.value=l}return{location:r,state:i,push:s,replace:o}}function ld(e){e=Zf(e);const t=sd(e),n=od(e,t.state,t.location,t.replace);function r(a,o=!0){o||n.pauseListeners(),history.go(a)}const i=he({location:"",base:e,go:r,createHref:ed.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 cd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ld(e)}function ud(e){return typeof e=="string"||e&&typeof e=="object"}function hl(e){return typeof e=="string"||typeof e=="symbol"}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ml=Symbol("");var fo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fo||(fo={}));function pn(e,t){return he(new Error,{type:e,[ml]:!0},t)}function Et(e,t){return e instanceof Error&&ml in e&&(t==null||!!(e.type&t))}const ho="[^/]+?",fd={sensitive:!1,strict:!1,start:!0,end:!0},dd=/[.+*?^${}()[\]/\\]/g;function hd(e,t){const n=he({},fd,t),r=[];let i=n.start?"^":"";const a=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let d=0;d1&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${C}"`);c+=S}}return c}return{re:o,score:r,keys:a,parse:s,stringify:l}}function md(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function pd(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const gd={type:0,value:""},bd=/[a-zA-Z0-9_]/;function vd(e){if(!e)return[[]];if(e==="/")return[[gd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${u}": ${b}`)}let n=0,r=n;const i=[];let a;function o(){a&&i.push(a),a=[]}let s=0,l,u="",c="";function d(){!u||(n===0?a.push({type:0,value:u}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=l}for(;s{o(S)}:Pn}function o(c){if(hl(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function s(){return n}function l(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!pl(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!po(c)&&r.set(c.record.name,c)}function u(c,d){let m,b={},C,j;if("name"in c&&c.name){if(m=r.get(c.name),!m)throw pn(1,{location:c});j=m.record.name,b=he(_d(d.params,m.keys.filter(S=>!S.optional).map(S=>S.name)),c.params),C=m.stringify(b)}else if("path"in c)C=c.path,m=n.find(S=>S.re.test(C)),m&&(b=m.parse(C),j=m.record.name);else{if(m=d.name?r.get(d.name):n.find(S=>S.re.test(d.path)),!m)throw pn(1,{location:c,currentLocation:d});j=m.record.name,b=he({},d.params,c.params),C=m.stringify(b)}const M=[];let v=m;for(;v;)M.unshift(v.record),v=v.parent;return{name:j,path:C,params:b,matched:M,meta:Ad(M)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:u,removeRoute:o,getRoutes:s,getRecordMatcher:i}}function _d(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ed(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 Ed(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 po(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ad(e){return e.reduce((t,n)=>he(t,n.meta),{})}function go(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pl(e,t){return t.children.some(n=>n===e||pl(e,n))}const gl=/#/g,kd=/&/g,Od=/\//g,Sd=/=/g,Cd=/\?/g,bl=/\+/g,Rd=/%5B/g,Id=/%5D/g,vl=/%5E/g,Td=/%60/g,yl=/%7B/g,Nd=/%7C/g,wl=/%7D/g,Pd=/%20/g;function oa(e){return encodeURI(""+e).replace(Nd,"|").replace(Rd,"[").replace(Id,"]")}function Md(e){return oa(e).replace(yl,"{").replace(wl,"}").replace(vl,"^")}function Ei(e){return oa(e).replace(bl,"%2B").replace(Pd,"+").replace(gl,"%23").replace(kd,"%26").replace(Td,"`").replace(yl,"{").replace(wl,"}").replace(vl,"^")}function Ld(e){return Ei(e).replace(Sd,"%3D")}function $d(e){return oa(e).replace(gl,"%23").replace(Cd,"%3F")}function Dd(e){return e==null?"":$d(e).replace(Od,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Bd(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&Ei(a)):[r&&Ei(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function jd(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=rt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Fd=Symbol(""),vo=Symbol(""),sa=Symbol(""),_l=Symbol(""),Ai=Symbol("");function An(){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 St(e,t,n,r,i){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,s)=>{const l=d=>{d===!1?s(pn(4,{from:n,to:t})):d instanceof Error?s(d):ud(d)?s(pn(2,{from:t,to:d})):(a&&r.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),o())},u=e.call(r&&r.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>s(d))})}function Jr(e,t,n,r){const i=[];for(const a of e)for(const o in a.components){let s=a.components[o];if(!(t!=="beforeRouteEnter"&&!a.instances[o]))if(Ud(s)){const u=(s.__vccOpts||s)[t];u&&i.push(St(u,n,r,a,o))}else{let l=s();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${a.path}"`));const c=Vf(u)?u.default:u;a.components[o]=c;const m=(c.__vccOpts||c)[t];return m&&St(m,n,r,a,o)()}))}}return i}function Ud(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yo(e){const t=dt(sa),n=dt(_l),r=de(()=>t.resolve(U(e.to))),i=de(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],d=n.matched;if(!c||!d.length)return-1;const m=d.findIndex(mn.bind(null,c));if(m>-1)return m;const b=wo(l[u-2]);return u>1&&wo(c)===b&&d[d.length-1].path!==b?d.findIndex(mn.bind(null,l[u-2])):m}),a=de(()=>i.value>-1&&Vd(n.params,r.value.params)),o=de(()=>i.value>-1&&i.value===n.matched.length-1&&fl(n.params,r.value.params));function s(l={}){return Gd(l)?t[U(e.replace)?"replace":"push"](U(e.to)).catch(Pn):Promise.resolve()}return{route:r,href:de(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}const zd=wn({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:yo,setup(e,{slots:t}){const n=yn(yo(e)),{options:r}=dt(sa),i=de(()=>({[_o(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_o(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},a)}}}),Hd=zd;function Gd(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 Vd(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(!rt(i)||i.length!==r.length||r.some((a,o)=>a!==i[o]))return!1}return!0}function wo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _o=(e,t,n)=>e!=null?e:t!=null?t:n,Yd=wn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(Ai),i=de(()=>e.route||r.value),a=dt(vo,0),o=de(()=>{let u=U(a);const{matched:c}=i.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),s=de(()=>i.value.matched[o.value]);or(vo,de(()=>o.value+1)),or(Fd,s),or(Ai,i);const l=ze();return Nt(()=>[l.value,s.value,e.name],([u,c,d],[m,b,C])=>{c&&(c.instances[d]=u,b&&b!==c&&u&&u===m&&(c.leaveGuards.size||(c.leaveGuards=b.leaveGuards),c.updateGuards.size||(c.updateGuards=b.updateGuards))),u&&c&&(!b||!mn(c,b)||!m)&&(c.enterCallbacks[d]||[]).forEach(j=>j(u))},{flush:"post"}),()=>{const u=i.value,c=s.value,d=c&&c.components[e.name],m=e.name;if(!d)return xo(n.default,{Component:d,route:u});const b=c.props[e.name],C=b?b===!0?u.params:typeof b=="function"?b(u):b:null,M=hn(d,he({},C,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(c.instances[m]=null)},ref:l}));return xo(n.default,{Component:M,route:u})||M}}});function xo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kd=Yd;function Wd(e){const t=wd(e.routes,e),n=e.parseQuery||Bd,r=e.stringifyQuery||bo,i=e.history,a=An(),o=An(),s=An(),l=nu(xt);let u=xt;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Qr.bind(null,w=>""+w),d=Qr.bind(null,Dd),m=Qr.bind(null,vr);function b(w,z){let P,G;return hl(w)?(P=t.getRecordMatcher(w),G=z):G=w,t.addRoute(G,P)}function C(w){const z=t.getRecordMatcher(w);z&&t.removeRoute(z)}function j(){return t.getRoutes().map(w=>w.record)}function M(w){return!!t.getRecordMatcher(w)}function v(w,z){if(z=he({},z||l.value),typeof w=="string"){const Z=Zr(n,w,z.path),f=t.resolve({path:Z.path},z),h=i.createHref(Z.fullPath);return he(Z,f,{params:m(f.params),hash:vr(Z.hash),redirectedFrom:void 0,href:h})}let P;if("path"in w)P=he({},w,{path:Zr(n,w.path,z.path).path});else{const Z=he({},w.params);for(const f in Z)Z[f]==null&&delete Z[f];P=he({},w,{params:d(w.params)}),z.params=d(z.params)}const G=t.resolve(P,z),ue=w.hash||"";G.params=c(m(G.params));const fe=Wf(r,he({},w,{hash:Md(ue),path:G.path})),re=i.createHref(fe);return he({fullPath:fe,hash:ue,query:r===bo?jd(w.query):w.query||{}},G,{redirectedFrom:void 0,href:re})}function S(w){return typeof w=="string"?Zr(n,w,l.value.path):he({},w)}function D(w,z){if(u!==w)return pn(8,{from:z,to:w})}function V(w){return X(w)}function W(w){return V(he(S(w),{replace:!0}))}function ae(w){const z=w.matched[w.matched.length-1];if(z&&z.redirect){const{redirect:P}=z;let G=typeof P=="function"?P(w):P;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=S(G):{path:G},G.params={}),he({query:w.query,hash:w.hash,params:"path"in G?{}:w.params},G)}}function X(w,z){const P=u=v(w),G=l.value,ue=w.state,fe=w.force,re=w.replace===!0,Z=ae(P);if(Z)return X(he(S(Z),{state:ue,force:fe,replace:re}),z||P);const f=P;f.redirectedFrom=z;let h;return!fe&&qf(r,G,P)&&(h=pn(16,{to:f,from:G}),le(G,G,!0,!1)),(h?Promise.resolve(h):ie(f,G)).catch(g=>Et(g)?Et(g,2)?g:Q(g):I(g,f,G)).then(g=>{if(g){if(Et(g,2))return X(he(S(g.to),{state:ue,force:fe,replace:re}),z||f)}else g=xe(f,G,!0,re,ue);return Ae(f,G,g),g})}function te(w,z){const P=D(w,z);return P?Promise.reject(P):Promise.resolve()}function ie(w,z){let P;const[G,ue,fe]=qd(w,z);P=Jr(G.reverse(),"beforeRouteLeave",w,z);for(const Z of G)Z.leaveGuards.forEach(f=>{P.push(St(f,w,z))});const re=te.bind(null,w,z);return P.push(re),Xt(P).then(()=>{P=[];for(const Z of a.list())P.push(St(Z,w,z));return P.push(re),Xt(P)}).then(()=>{P=Jr(ue,"beforeRouteUpdate",w,z);for(const Z of ue)Z.updateGuards.forEach(f=>{P.push(St(f,w,z))});return P.push(re),Xt(P)}).then(()=>{P=[];for(const Z of w.matched)if(Z.beforeEnter&&!z.matched.includes(Z))if(rt(Z.beforeEnter))for(const f of Z.beforeEnter)P.push(St(f,w,z));else P.push(St(Z.beforeEnter,w,z));return P.push(re),Xt(P)}).then(()=>(w.matched.forEach(Z=>Z.enterCallbacks={}),P=Jr(fe,"beforeRouteEnter",w,z),P.push(re),Xt(P))).then(()=>{P=[];for(const Z of o.list())P.push(St(Z,w,z));return P.push(re),Xt(P)}).catch(Z=>Et(Z,8)?Z:Promise.reject(Z))}function Ae(w,z,P){for(const G of s.list())G(w,z,P)}function xe(w,z,P,G,ue){const fe=D(w,z);if(fe)return fe;const re=z===xt,Z=en?history.state:{};P&&(G||re?i.replace(w.fullPath,he({scroll:re&&Z&&Z.scroll},ue)):i.push(w.fullPath,ue)),l.value=w,le(w,z,P,re),Q()}let Te;function Ye(){Te||(Te=i.listen((w,z,P)=>{if(!Oe.listening)return;const G=v(w),ue=ae(G);if(ue){X(he(ue,{replace:!0}),G).catch(Pn);return}u=G;const fe=l.value;en&&rd(co(fe.fullPath,P.delta),jr()),ie(G,fe).catch(re=>Et(re,12)?re:Et(re,2)?(X(re.to,G).then(Z=>{Et(Z,20)&&!P.delta&&P.type===Gn.pop&&i.go(-1,!1)}).catch(Pn),Promise.reject()):(P.delta&&i.go(-P.delta,!1),I(re,G,fe))).then(re=>{re=re||xe(G,fe,!1),re&&(P.delta?i.go(-P.delta,!1):P.type===Gn.pop&&Et(re,20)&&i.go(-1,!1)),Ae(G,fe,re)}).catch(Pn)}))}let ke=An(),be=An(),E;function I(w,z,P){Q(w);const G=be.list();return G.length?G.forEach(ue=>ue(w,z,P)):console.error(w),Promise.reject(w)}function $(){return E&&l.value!==xt?Promise.resolve():new Promise((w,z)=>{ke.add([w,z])})}function Q(w){return E||(E=!w,Ye(),ke.list().forEach(([z,P])=>w?P(w):z()),ke.reset()),w}function le(w,z,P,G){const{scrollBehavior:ue}=e;if(!en||!ue)return Promise.resolve();const fe=!P&&id(co(w.fullPath,0))||(G||!P)&&history.state&&history.state.scroll||null;return ea().then(()=>ue(w,z,fe)).then(re=>re&&nd(re)).catch(re=>I(re,w,z))}const ve=w=>i.go(w);let Ee;const Ne=new Set,Oe={currentRoute:l,listening:!0,addRoute:b,removeRoute:C,hasRoute:M,getRoutes:j,resolve:v,options:e,push:V,replace:W,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:be.add,isReady:$,install(w){const z=this;w.component("RouterLink",Hd),w.component("RouterView",Kd),w.config.globalProperties.$router=z,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>U(l)}),en&&!Ee&&l.value===xt&&(Ee=!0,V(i.location).catch(ue=>{}));const P={};for(const ue in xt)P[ue]=de(()=>l.value[ue]);w.provide(sa,z),w.provide(_l,yn(P)),w.provide(Ai,l);const G=w.unmount;Ne.add(w),w.unmount=function(){Ne.delete(w),Ne.size<1&&(u=xt,Te&&Te(),Te=null,l.value=xt,Ee=!1,E=!1),G()}}};return Oe}function Xt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function qd(e,t){const n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;omn(u,s))?r.push(s):n.push(s));const l=e.matched[o];l&&(t.matched.find(u=>mn(u,l))||i.push(l))}return[n,r,i]}/*! * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. */function Eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return ge.head.insertBefore(t,r),e}}var xh="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vn(){for(var e=12,t="";e-- >0;)t+=xh[Math.random()*62|0];return t}function _n(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ha(e){return e.classList?_n(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Ml(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Eh(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Ml(e[n]),'" ')},"").trim()}function Ur(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ma(e){return e.size!==lt.size||e.x!==lt.x||e.y!==lt.y||e.rotate!==lt.rotate||e.flipX||e.flipY}function Ah(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function kh(e){var t=e.transform,n=e.width,r=n===void 0?Oi:n,i=e.height,a=i===void 0?Oi:i,o=e.startCentered,s=o===void 0?!1:o,l="";return s&&Ol?l+="translate(".concat(t.x/At-r/2,"em, ").concat(t.y/At-a/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/At,"em), calc(-50% + ").concat(t.y/At,"em)) "):l+="translate(".concat(t.x/At,"em, ").concat(t.y/At,"em) "),l+="scale(".concat(t.size/At*(t.flipX?-1:1),", ").concat(t.size/At*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var Oh=`:root, :host { +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ko=function(){},ca={},El={},Al=null,kl={mark:ko,measure:ko};try{typeof window<"u"&&(ca=window),typeof document<"u"&&(El=document),typeof MutationObserver<"u"&&(Al=MutationObserver),typeof performance<"u"&&(kl=performance)}catch{}var ah=ca.navigator||{},Oo=ah.userAgent,So=Oo===void 0?"":Oo,Mt=ca,pe=El,Co=Al,nr=kl;Mt.document;var yt=!!pe.documentElement&&!!pe.head&&typeof pe.addEventListener=="function"&&typeof pe.createElement=="function",Ol=~So.indexOf("MSIE")||~So.indexOf("Trident/"),pt="___FONT_AWESOME___",Oi=16,Sl="fa",Cl="svg-inline--fa",Yt="data-fa-i2svg",Si="data-fa-pseudo-element",oh="data-fa-pseudo-element-pending",ua="data-prefix",fa="data-icon",Ro="fontawesome-i2svg",sh="async",lh=["HTML","HEAD","STYLE","SCRIPT"],Rl=function(){try{return!0}catch{return!1}}(),da={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},wr={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Il={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},ch={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},uh=/fa[srltdbk\-\ ]/,Tl="fa-layers-text",fh=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,dh={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Nl=[1,2,3,4,5,6,7,8,9,10],hh=Nl.concat([11,12,13,14,15,16,17,18,19,20]),mh=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ut={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ph=[].concat(Fr(Object.keys(wr)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ut.GROUP,Ut.SWAP_OPACITY,Ut.PRIMARY,Ut.SECONDARY]).concat(Nl.map(function(e){return"".concat(e,"x")})).concat(hh.map(function(e){return"w-".concat(e)})),Pl=Mt.FontAwesomeConfig||{};function gh(e){var t=pe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function bh(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(pe&&typeof pe.querySelector=="function"){var vh=[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];vh.forEach(function(e){var t=la(e,2),n=t[0],r=t[1],i=bh(gh(n));i!=null&&(Pl[r]=i)})}var yh={familyPrefix:Sl,styleDefault:"solid",replacementClass:Cl,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},Ln=B(B({},yh),Pl);Ln.autoReplaceSvg||(Ln.observeMutations=!1);var q={};Object.keys(Ln).forEach(function(e){Object.defineProperty(q,e,{enumerable:!0,set:function(n){Ln[e]=n,cr.forEach(function(r){return r(q)})},get:function(){return Ln[e]}})});Mt.FontAwesomeConfig=q;var cr=[];function wh(e){return cr.push(e),function(){cr.splice(cr.indexOf(e),1)}}var At=Oi,lt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function _h(e){if(!(!e||!yt)){var t=pe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=pe.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return pe.head.insertBefore(t,r),e}}var xh="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vn(){for(var e=12,t="";e-- >0;)t+=xh[Math.random()*62|0];return t}function _n(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ha(e){return e.classList?_n(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Ml(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Eh(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Ml(e[n]),'" ')},"").trim()}function Ur(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ma(e){return e.size!==lt.size||e.x!==lt.x||e.y!==lt.y||e.rotate!==lt.rotate||e.flipX||e.flipY}function Ah(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(o," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function kh(e){var t=e.transform,n=e.width,r=n===void 0?Oi:n,i=e.height,a=i===void 0?Oi:i,o=e.startCentered,s=o===void 0?!1:o,l="";return s&&Ol?l+="translate(".concat(t.x/At-r/2,"em, ").concat(t.y/At-a/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/At,"em), calc(-50% + ").concat(t.y/At,"em)) "):l+="translate(".concat(t.x/At,"em, ").concat(t.y/At,"em) "),l+="scale(".concat(t.size/At*(t.flipX?-1:1),", ").concat(t.size/At*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var Oh=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; @@ -763,42 +763,43 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { .fad.fa-inverse, .fa-duotone.fa-inverse { color: var(--fa-inverse, #fff); -}`;function Ll(){var e=Sl,t=Cl,n=q.familyPrefix,r=q.replacementClass,i=Oh;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Io=!1;function ei(){q.autoAddCss&&!Io&&(_h(Ll()),Io=!0)}var Sh={mixout:function(){return{dom:{css:Ll,insertCss:ei}}},hooks:function(){return{beforeDOMElementCreation:function(){ei()},beforeI2svg:function(){ei()}}}},gt=Mt||{};gt[pt]||(gt[pt]={});gt[pt].styles||(gt[pt].styles={});gt[pt].hooks||(gt[pt].hooks={});gt[pt].shims||(gt[pt].shims=[]);var et=gt[pt],$l=[],Ch=function e(){ge.removeEventListener("DOMContentLoaded",e),_r=1,$l.map(function(t){return t()})},_r=!1;yt&&(_r=(ge.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ge.readyState),_r||ge.addEventListener("DOMContentLoaded",Ch));function Rh(e){!yt||(_r?setTimeout(e,0):$l.push(e))}function qn(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?Ml(e):"<".concat(t," ").concat(Eh(r),">").concat(a.map(qn).join(""),"")}function To(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Ih=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},ti=function(t,n,r,i){var a=Object.keys(t),o=a.length,s=i!==void 0?Ih(n,i):n,l,u,c;for(r===void 0?(l=1,c=t[a[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function No(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Ri(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=No(t);typeof et.hooks.addPack=="function"&&!i?et.hooks.addPack(e,No(t)):et.styles[e]=B(B({},et.styles[e]||{}),a),e==="fas"&&Ri("fa",t)}var $n=et.styles,Ph=et.shims,Mh=Object.values(Il),pa=null,Dl={},Bl={},jl={},Fl={},Ul={},Lh=Object.keys(da);function $h(e){return~ph.indexOf(e)}function Dh(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!$h(i)?i:null}var zl=function(){var t=function(a){return ti($n,function(o,s,l){return o[l]=ti(s,a,{}),o},{})};Dl=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var s=a[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){i[l.toString(16)]=o})}return i}),Bl=t(function(i,a,o){if(i[o]=o,a[2]){var s=a[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){i[l]=o})}return i}),Ul=t(function(i,a,o){var s=a[2];return i[o]=o,s.forEach(function(l){i[l]=o}),i});var n="far"in $n||q.autoFetchSvg,r=ti(Ph,function(i,a){var o=a[0],s=a[1],l=a[2];return s==="far"&&!n&&(s="fas"),typeof o=="string"&&(i.names[o]={prefix:s,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:s,iconName:l}),i},{names:{},unicodes:{}});jl=r.names,Fl=r.unicodes,pa=zr(q.styleDefault)};wh(function(e){pa=zr(e.styleDefault)});zl();function ga(e,t){return(Dl[e]||{})[t]}function Bh(e,t){return(Bl[e]||{})[t]}function nn(e,t){return(Ul[e]||{})[t]}function Hl(e){return jl[e]||{prefix:null,iconName:null}}function jh(e){var t=Fl[e],n=ga("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Lt(){return pa}var ba=function(){return{prefix:null,iconName:null,rest:[]}};function zr(e){var t=da[e],n=wr[e]||wr[t],r=e in et.styles?e:null;return n||r||null}function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,a=e.reduce(function(o,s){var l=Dh(q.familyPrefix,s);if($n[s]?(s=Mh.includes(s)?ch[s]:s,i=s,o.prefix=s):Lh.indexOf(s)>-1?(i=s,o.prefix=zr(s)):l?o.iconName=l:s!==q.replacementClass&&o.rest.push(s),!r&&o.prefix&&o.iconName){var u=i==="fa"?Hl(o.iconName):{},c=nn(o.prefix,o.iconName);u.prefix&&(i=null),o.iconName=u.iconName||c||o.iconName,o.prefix=u.prefix||o.prefix,o.prefix==="far"&&!$n.far&&$n.fas&&!q.autoFetchSvg&&(o.prefix="fas")}return o},ba());return(a.prefix==="fa"||i==="fa")&&(a.prefix=Lt()||"fas"),a}var Fh=function(){function e(){Xd(this,e),this.definitions={}}return Qd(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a0&&c.forEach(function(d){typeof d=="string"&&(n[s][d]=u)}),n[s][l]=u}),n}}]),e}(),Po=[],rn={},sn={},Uh=Object.keys(sn);function zh(e,t){var n=t.mixoutsTo;return Po=e,rn={},Object.keys(sn).forEach(function(r){Uh.indexOf(r)===-1&&delete sn[r]}),Po.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),yr(i[o])==="object"&&Object.keys(i[o]).forEach(function(s){n[o]||(n[o]={}),n[o][s]=i[o][s]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(o){rn[o]||(rn[o]=[]),rn[o].push(a[o])})}r.provides&&r.provides(sn)}),n}function Ii(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return yt?(Kt("beforeI2svg",t),bt("pseudoElements2svg",t),bt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;q.autoReplaceSvg===!1&&(q.autoReplaceSvg=!0),q.observeMutations=!0,Rh(function(){Yh({autoReplaceSvgRoot:n}),Kt("watch",t)})}},Vh={icon:function(t){if(t===null)return null;if(yr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:nn(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=zr(t[0]);return{prefix:r,iconName:nn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(q.familyPrefix,"-"))>-1||t.match(uh))){var i=Hr(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Lt(),iconName:nn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=Lt();return{prefix:a,iconName:nn(a,t)||t}}}},Ve={noAuto:Hh,config:q,dom:Gh,parse:Vh,library:Gl,findIconDefinition:Ti,toHtml:qn},Yh=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ge:n;(Object.keys(et.styles).length>0||q.autoFetchSvg)&&yt&&q.autoReplaceSvg&&Ve.dom.i2svg({node:r})};function Gr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return qn(r)})}}),Object.defineProperty(e,"node",{get:function(){if(!!yt){var r=ge.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Kh(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(ma(o)&&n.found&&!r.found){var s=n.width,l=n.height,u={x:s/l/2,y:.5};i.style=Ur(B(B({},a),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Wh(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(q.familyPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:B(B({},i),{},{id:o}),children:r}]}]}function va(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,m=e.watchable,b=m===void 0?!1:m,C=r.found?r:n,j=C.width,M=C.height,v=i==="fak",S=[q.replacementClass,a?"".concat(q.familyPrefix,"-").concat(a):""].filter(function(ie){return d.classes.indexOf(ie)===-1}).filter(function(ie){return ie!==""||!!ie}).concat(d.classes).join(" "),D={children:[],attributes:B(B({},d.attributes),{},{"data-prefix":i,"data-icon":a,class:S,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(j," ").concat(M)})},V=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(j/M*16*.0625,"em")}:{};b&&(D.attributes[Yt]=""),l&&(D.children.push({tag:"title",attributes:{id:D.attributes["aria-labelledby"]||"title-".concat(c||Vn())},children:[l]}),delete D.attributes.title);var W=B(B({},D),{},{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:o,symbol:s,styles:B(B({},V),d.styles)}),ae=r.found&&n.found?bt("generateAbstractMask",W)||{children:[],attributes:{}}:bt("generateAbstractIcon",W)||{children:[],attributes:{}},X=ae.children,te=ae.attributes;return W.children=X,W.attributes=te,s?Wh(W):Kh(W)}function Mo(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,s=e.watchable,l=s===void 0?!1:s,u=B(B(B({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(u[Yt]="");var c=B({},o.styles);ma(i)&&(c.transform=kh({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var d=Ur(c);d.length>0&&(u.style=d);var m=[];return m.push({tag:"span",attributes:u,children:[t]}),a&&m.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),m}function qh(e){var t=e.content,n=e.title,r=e.extra,i=B(B(B({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Ur(r.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var ni=et.styles;function Ni(e){var t=e[0],n=e[1],r=e.slice(4),i=la(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.GROUP)},children:[{tag:"path",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var Xh={found:!1,width:512,height:512};function Qh(e,t){!Rl&&!q.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Pi(e,t){var n=t;return t==="fa"&&q.styleDefault!==null&&(t=Lt()),new Promise(function(r,i){if(bt("missingIconAbstract"),n==="fa"){var a=Hl(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ni[t]&&ni[t][e]){var o=ni[t][e];return r(Ni(o))}Qh(e,t),r(B(B({},Xh),{},{icon:q.showMissingIcons&&e?bt("missingIconAbstract")||{}:{}}))})}var Lo=function(){},Mi=q.measurePerformance&&nr&&nr.mark&&nr.measure?nr:{mark:Lo,measure:Lo},Cn='FA "6.1.1"',Zh=function(t){return Mi.mark("".concat(Cn," ").concat(t," begins")),function(){return Vl(t)}},Vl=function(t){Mi.mark("".concat(Cn," ").concat(t," ends")),Mi.measure("".concat(Cn," ").concat(t),"".concat(Cn," ").concat(t," begins"),"".concat(Cn," ").concat(t," ends"))},ya={begin:Zh,end:Vl},ur=function(){};function $o(e){var t=e.getAttribute?e.getAttribute(Yt):null;return typeof t=="string"}function Jh(e){var t=e.getAttribute?e.getAttribute(ua):null,n=e.getAttribute?e.getAttribute(fa):null;return t&&n}function em(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(q.replacementClass)}function tm(){if(q.autoReplaceSvg===!0)return fr.replace;var e=fr[q.autoReplaceSvg];return e||fr.replace}function nm(e){return ge.createElementNS("http://www.w3.org/2000/svg",e)}function rm(e){return ge.createElement(e)}function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?nm:rm:n;if(typeof e=="string")return ge.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(Yl(o,{ceFn:r}))}),i}function im(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var fr={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Yl(i),n)}),n.getAttribute(Yt)===null&&q.keepOriginalSource){var r=ge.createComment(im(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ha(n).indexOf(q.replacementClass))return fr.replace(t);var i=new RegExp("".concat(q.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(s,l){return l===q.replacementClass||l.match(i)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var o=r.map(function(s){return qn(s)}).join(` -`);n.setAttribute(Yt,""),n.innerHTML=o}};function Do(e){e()}function Kl(e,t){var n=typeof t=="function"?t:ur;if(e.length===0)n();else{var r=Do;q.mutateApproach===sh&&(r=Mt.requestAnimationFrame||Do),r(function(){var i=tm(),a=ya.begin("mutate");e.map(i),a(),n()})}}var wa=!1;function Wl(){wa=!0}function Li(){wa=!1}var xr=null;function Bo(e){if(!!Co&&!!q.observeMutations){var t=e.treeCallback,n=t===void 0?ur:t,r=e.nodeCallback,i=r===void 0?ur:r,a=e.pseudoElementsCallback,o=a===void 0?ur:a,s=e.observeMutationsRoot,l=s===void 0?ge:s;xr=new Co(function(u){if(!wa){var c=Lt();_n(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!$o(d.addedNodes[0])&&(q.searchPseudoElements&&o(d.target),n(d.target)),d.type==="attributes"&&d.target.parentNode&&q.searchPseudoElements&&o(d.target.parentNode),d.type==="attributes"&&$o(d.target)&&~mh.indexOf(d.attributeName))if(d.attributeName==="class"&&Jh(d.target)){var m=Hr(ha(d.target)),b=m.prefix,C=m.iconName;d.target.setAttribute(ua,b||c),C&&d.target.setAttribute(fa,C)}else em(d.target)&&i(d.target)})}}),yt&&xr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function am(){!xr||xr.disconnect()}function om(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(r[o]=s.join(":").trim()),r},{})),n}function sm(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Hr(ha(e));return i.prefix||(i.prefix=Lt()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||i.prefix&&r.length>0&&(i.iconName=Bh(i.prefix,e.innerText)||ga(i.prefix,Ci(e.innerText))),i}function lm(e){var t=_n(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return q.autoA11y&&(n?t["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(r||Vn()):(t["aria-hidden"]="true",t.focusable="false")),t}function cm(){return{iconName:null,title:null,titleId:null,prefix:null,transform:lt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function jo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=sm(e),r=n.iconName,i=n.prefix,a=n.rest,o=lm(e),s=Ii("parseNodeAttributes",{},e),l=t.styleParser?om(e):[];return B({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:lt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},s)}var um=et.styles;function ql(e){var t=q.autoReplaceSvg==="nest"?jo(e,{styleParser:!1}):jo(e);return~t.extra.classes.indexOf(Tl)?bt("generateLayersText",e,t):bt("generateSvgReplacementMutation",e,t)}function Fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!yt)return Promise.resolve();var n=ge.documentElement.classList,r=function(d){return n.add("".concat(Ro,"-").concat(d))},i=function(d){return n.remove("".concat(Ro,"-").concat(d))},a=q.autoFetchSvg?Object.keys(da):Object.keys(um),o=[".".concat(Tl,":not([").concat(Yt,"])")].concat(a.map(function(c){return".".concat(c,":not([").concat(Yt,"])")})).join(", ");if(o.length===0)return Promise.resolve();var s=[];try{s=_n(e.querySelectorAll(o))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();var l=ya.begin("onTree"),u=s.reduce(function(c,d){try{var m=ql(d);m&&c.push(m)}catch(b){Rl||b.name==="MissingIcon"&&console.error(b)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(m){Kl(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(m){l(),d(m)})})}function fm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ql(e).then(function(n){n&&Kl([n],t)})}function dm(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Ti(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Ti(i||{})),e(r,B(B({},n),{},{mask:i}))}}var hm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?lt:r,a=n.symbol,o=a===void 0?!1:a,s=n.mask,l=s===void 0?null:s,u=n.maskId,c=u===void 0?null:u,d=n.title,m=d===void 0?null:d,b=n.titleId,C=b===void 0?null:b,j=n.classes,M=j===void 0?[]:j,v=n.attributes,S=v===void 0?{}:v,D=n.styles,V=D===void 0?{}:D;if(!!t){var W=t.prefix,ae=t.iconName,X=t.icon;return Gr(B({type:"icon"},t),function(){return Kt("beforeDOMElementCreation",{iconDefinition:t,params:n}),q.autoA11y&&(m?S["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(C||Vn()):(S["aria-hidden"]="true",S.focusable="false")),va({icons:{main:Ni(X),mask:l?Ni(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:ae,transform:B(B({},lt),i),symbol:o,title:m,maskId:c,titleId:C,extra:{attributes:S,styles:V,classes:M}})})}},mm={mixout:function(){return{icon:dm(hm)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Fo,n.nodeCallback=fm,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?ge:r,a=n.callback,o=a===void 0?function(){}:a;return Fo(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,s=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,m=r.extra;return new Promise(function(b,C){Promise.all([Pi(i,s),c.iconName?Pi(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(j){var M=la(j,2),v=M[0],S=M[1];b([n,va({icons:{main:v,mask:S},prefix:s,iconName:i,transform:l,symbol:u,maskId:d,title:a,titleId:o,extra:m,watchable:!0})])}).catch(C)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,s=n.styles,l=Ur(s);l.length>0&&(i.style=l);var u;return ma(o)&&(u=bt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:i}}}},pm={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return Gr({type:"layer"},function(){Kt("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(s){Array.isArray(s)?s.map(function(l){o=o.concat(l.abstract)}):o=o.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(q.familyPrefix,"-layers")].concat(Fr(a)).join(" ")},children:o}]})}}}},gm={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,o=r.classes,s=o===void 0?[]:o,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return Gr({type:"counter",content:n},function(){return Kt("beforeDOMElementCreation",{content:n,params:r}),qh({content:n.toString(),title:a,extra:{attributes:u,styles:d,classes:["".concat(q.familyPrefix,"-layers-counter")].concat(Fr(s))}})})}}}},bm={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?lt:i,o=r.title,s=o===void 0?null:o,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,m=r.styles,b=m===void 0?{}:m;return Gr({type:"text",content:n},function(){return Kt("beforeDOMElementCreation",{content:n,params:r}),Mo({content:n,transform:B(B({},lt),a),title:s,extra:{attributes:d,styles:b,classes:["".concat(q.familyPrefix,"-layers-text")].concat(Fr(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,s=null,l=null;if(Ol){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();s=c.width/u,l=c.height/u}return q.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Mo({content:n.innerHTML,width:s,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},vm=new RegExp('"',"ug"),Uo=[1105920,1112319];function ym(e){var t=e.replace(vm,""),n=Nh(t,0),r=n>=Uo[0]&&n<=Uo[1],i=t.length===2?t[0]===t[1]:!1;return{value:Ci(i?t[0]:t),isSecondary:r||i}}function zo(e,t){var n="".concat(oh).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=_n(e.children),o=a.filter(function(ae){return ae.getAttribute(Si)===t})[0],s=Mt.getComputedStyle(e,t),l=s.getPropertyValue("font-family").match(fh),u=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&c!=="none"&&c!==""){var d=s.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?wr[l[2].toLowerCase()]:dh[u],b=ym(d),C=b.value,j=b.isSecondary,M=l[0].startsWith("FontAwesome"),v=ga(m,C),S=v;if(M){var D=jh(C);D.iconName&&D.prefix&&(v=D.iconName,m=D.prefix)}if(v&&!j&&(!o||o.getAttribute(ua)!==m||o.getAttribute(fa)!==S)){e.setAttribute(n,S),o&&e.removeChild(o);var V=cm(),W=V.extra;W.attributes[Si]=t,Pi(v,m).then(function(ae){var X=va(B(B({},V),{},{icons:{main:ae,mask:ba()},prefix:m,iconName:S,extra:W,watchable:!0})),te=ge.createElement("svg");t==="::before"?e.insertBefore(te,e.firstChild):e.appendChild(te),te.outerHTML=X.map(function(ie){return qn(ie)}).join(` -`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function wm(e){return Promise.all([zo(e,"::before"),zo(e,"::after")])}function _m(e){return e.parentNode!==document.head&&!~lh.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Si)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Ho(e){if(!!yt)return new Promise(function(t,n){var r=_n(e.querySelectorAll("*")).filter(_m).map(wm),i=ya.begin("searchPseudoElements");Wl(),Promise.all(r).then(function(){i(),Li(),t()}).catch(function(){i(),Li(),n()})})}var xm={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Ho,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ge:r;q.searchPseudoElements&&Ho(i)}}},Go=!1,Em={mixout:function(){return{dom:{unwatch:function(){Wl(),Go=!0}}}},hooks:function(){return{bootstrap:function(){Bo(Ii("mutationObserverCallbacks",{}))},noAuto:function(){am()},watch:function(n){var r=n.observeMutationsRoot;Go?Li():Bo(Ii("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Vo=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),o=a[0],s=a.slice(1).join("-");if(o&&s==="h")return r.flipX=!0,r;if(o&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(o){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},Am={mixout:function(){return{parse:{transform:function(n){return Vo(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Vo(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,o=n.iconWidth,s={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},m={transform:"translate(".concat(o/2*-1," -256)")},b={outer:s,inner:d,path:m};return{tag:"g",attributes:B({},b.outer),children:[{tag:"g",attributes:B({},b.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:B(B({},r.icon.attributes),b.path)}]}]}}}},ri={x:0,y:0,width:"100%",height:"100%"};function Yo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function km(e){return e.tag==="g"?e.children:[e]}var Om={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Hr(i.split(" ").map(function(o){return o.trim()})):ba();return a.prefix||(a.prefix=Lt()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.mask,s=n.maskId,l=n.transform,u=a.width,c=a.icon,d=o.width,m=o.icon,b=Ah({transform:l,containerWidth:d,iconWidth:u}),C={tag:"rect",attributes:B(B({},ri),{},{fill:"white"})},j=c.children?{children:c.children.map(Yo)}:{},M={tag:"g",attributes:B({},b.inner),children:[Yo(B({tag:c.tag,attributes:B(B({},c.attributes),b.path)},j))]},v={tag:"g",attributes:B({},b.outer),children:[M]},S="mask-".concat(s||Vn()),D="clip-".concat(s||Vn()),V={tag:"mask",attributes:B(B({},ri),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[C,v]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:D},children:km(m)},V]};return r.push(W,{tag:"rect",attributes:B({fill:"currentColor","clip-path":"url(#".concat(D,")"),mask:"url(#".concat(S,")")},ri)}),{children:r,attributes:i}}}},Sm={provides:function(t){var n=!1;Mt.matchMedia&&(n=Mt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:B(B({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=B(B({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:B(B({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:B(B({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:B(B({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:B(B({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:B(B({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:B(B({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:B(B({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Cm={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},Rm=[Sh,mm,pm,gm,bm,xm,Em,Am,Om,Sm,Cm];zh(Rm,{mixoutsTo:Ve});Ve.noAuto;var Xl=Ve.config,Im=Ve.library;Ve.dom;var Er=Ve.parse;Ve.findIconDefinition;Ve.toHtml;var Tm=Ve.icon;Ve.layer;var Nm=Ve.text;Ve.counter;function Ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Mm(e,t){if(e==null)return{};var n=Pm(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function $i(e){return Lm(e)||$m(e)||Dm(e)||Bm()}function Lm(e){if(Array.isArray(e))return Di(e)}function $m(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dm(e,t){if(!!e){if(typeof e=="string")return Di(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Di(e,t)}}function Di(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return _a(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=Hm(c);break;case"style":l.style=zm(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var a=n.style,o=a===void 0?{}:a,s=Mm(n,Um);return hn(e.tag,Xe(Xe(Xe({},t),{},{class:i.class,style:Xe(Xe({},i.style),o)},i.attrs),s),r)}var Zl=!1;try{Zl=!0}catch{}function Gm(){if(!Zl&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Dn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?$e({},e,t):{}}function Vm(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},$e(t,"fa-".concat(e.size),e.size!==null),$e(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),$e(t,"fa-pull-".concat(e.pull),e.pull!==null),$e(t,"fa-swap-opacity",e.swapOpacity),$e(t,"fa-bounce",e.bounce),$e(t,"fa-shake",e.shake),$e(t,"fa-beat",e.beat),$e(t,"fa-fade",e.fade),$e(t,"fa-beat-fade",e.beatFade),$e(t,"fa-flash",e.flash),$e(t,"fa-spin-pulse",e.spinPulse),$e(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function Wo(e){if(e&&Ar(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Er.icon)return Er.icon(e);if(e===null)return null;if(Ar(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var Ym=wn({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=de(function(){return Wo(t.icon)}),a=de(function(){return Dn("classes",Vm(t))}),o=de(function(){return Dn("transform",typeof t.transform=="string"?Er.transform(t.transform):t.transform)}),s=de(function(){return Dn("mask",Wo(t.mask))}),l=de(function(){return Tm(i.value,Xe(Xe(Xe(Xe({},a.value),o.value),s.value),{},{symbol:t.symbol,title:t.title}))});Nt(l,function(c){if(!c)return Gm("Could not find one or more icon(s)",i.value,s.value)},{immediate:!0});var u=de(function(){return l.value?_a(l.value.abstract[0],{},r):null});return function(){return u.value}}});wn({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,i=Xl.familyPrefix,a=de(function(){return["".concat(i,"-layers")].concat($i(t.fixedWidth?["".concat(i,"-fw")]:[]))});return function(){return hn("div",{class:a.value},r.default?r.default():[])}}});wn({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,i=Xl.familyPrefix,a=de(function(){return Dn("classes",[].concat($i(t.counter?["".concat(i,"-layers-counter")]:[]),$i(t.position?["".concat(i,"-layers-").concat(t.position)]:[])))}),o=de(function(){return Dn("transform",typeof t.transform=="string"?Er.transform(t.transform):t.transform)}),s=de(function(){var u=Nm(t.value.toString(),Xe(Xe({},o.value),a.value)),c=u.abstract;return t.counter&&(c[0].attributes.class=c[0].attributes.class.replace("fa-layers-text","")),c[0]}),l=de(function(){return _a(s.value,{},r)});return function(){return l.value}}});var xa={exports:{}};function Ea(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];typeof n=="object"&&!Object.isFrozen(n)&&Ea(n)}),e}xa.exports=Ea;xa.exports.default=Ea;class qo{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Jl(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Ct(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const Km="",Xo=e=>!!e.scope||e.sublanguage&&e.language,Wm=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class qm{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Jl(t)}openNode(t){if(!Xo(t))return;let n="";t.sublanguage?n=`language-${t.language}`:n=Wm(t.scope,{prefix:this.classPrefix}),this.span(n)}closeNode(t){!Xo(t)||(this.buffer+=Km)}value(){return this.buffer}span(t){this.buffer+=``}}const Qo=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Aa{constructor(){this.rootNode=Qo(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=Qo({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{Aa._collapse(n)})))}}class Xm extends Aa{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.sublanguage=!0,r.language=n,this.add(r)}toHTML(){return new qm(this,this.options).value()}finalize(){return!0}}function Yn(e){return e?typeof e=="string"?e:e.source:null}function ec(e){return Wt("(?=",e,")")}function Qm(e){return Wt("(?:",e,")*")}function Zm(e){return Wt("(?:",e,")?")}function Wt(...e){return e.map(n=>Yn(n)).join("")}function Jm(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ka(...e){const t=Jm(e);return"("+(t.capture?"":"?:")+e.map(r=>Yn(r)).join("|")+")"}function tc(e){return new RegExp(e.toString()+"|").exec("").length-1}function ep(e,t){const n=e&&e.exec(t);return n&&n.index===0}const tp=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Oa(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let a=Yn(r),o="";for(;a.length>0;){const s=tp.exec(a);if(!s){o+=a;break}o+=a.substring(0,s.index),a=a.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+i):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const np=/\b\B/,nc="[a-zA-Z]\\w*",Sa="[a-zA-Z_]\\w*",rc="\\b\\d+(\\.\\d+)?",ic="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ac="\\b(0b[01]+)",rp="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ip=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Wt(t,/.*\b/,e.binary,/\b.*/)),Ct({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Kn={begin:"\\\\[\\s\\S]",relevance:0},ap={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Kn]},op={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Kn]},sp={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Vr=function(e,t,n={}){const r=Ct({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=ka("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Wt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},lp=Vr("//","$"),cp=Vr("/\\*","\\*/"),up=Vr("#","$"),fp={scope:"number",begin:rc,relevance:0},dp={scope:"number",begin:ic,relevance:0},hp={scope:"number",begin:ac,relevance:0},mp={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Kn,{begin:/\[/,end:/\]/,relevance:0,contains:[Kn]}]}]},pp={scope:"title",begin:nc,relevance:0},gp={scope:"title",begin:Sa,relevance:0},bp={begin:"\\.\\s*"+Sa,relevance:0},vp=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var rr=Object.freeze({__proto__:null,MATCH_NOTHING_RE:np,IDENT_RE:nc,UNDERSCORE_IDENT_RE:Sa,NUMBER_RE:rc,C_NUMBER_RE:ic,BINARY_NUMBER_RE:ac,RE_STARTERS_RE:rp,SHEBANG:ip,BACKSLASH_ESCAPE:Kn,APOS_STRING_MODE:ap,QUOTE_STRING_MODE:op,PHRASAL_WORDS_MODE:sp,COMMENT:Vr,C_LINE_COMMENT_MODE:lp,C_BLOCK_COMMENT_MODE:cp,HASH_COMMENT_MODE:up,NUMBER_MODE:fp,C_NUMBER_MODE:dp,BINARY_NUMBER_MODE:hp,REGEXP_MODE:mp,TITLE_MODE:pp,UNDERSCORE_TITLE_MODE:gp,METHOD_GUARD:bp,END_SAME_AS_BEGIN:vp});function yp(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function wp(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function _p(e,t){!t||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=yp,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function xp(e,t){!Array.isArray(e.illegal)||(e.illegal=ka(...e.illegal))}function Ep(e,t){if(!!e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ap(e,t){e.relevance===void 0&&(e.relevance=1)}const kp=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Wt(n.beforeMatch,ec(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Op=["of","and","for","in","not","or","if","then","parent","list","value"],Sp="keyword";function oc(e,t,n=Sp){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(r,oc(e[a],t,a))}),r;function i(a,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[a,Cp(l[0],l[1])]})}}function Cp(e,t){return t?Number(t):Rp(e)?0:1}function Rp(e){return Op.includes(e.toLowerCase())}const Zo={},Gt=e=>{console.error(e)},Jo=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Qt=(e,t)=>{Zo[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Zo[`${e}/${t}`]=!0)},kr=new Error;function sc(e,t,{key:n}){let r=0;const i=e[n],a={},o={};for(let s=1;s<=t.length;s++)o[s+r]=i[s],a[s+r]=!0,r+=tc(t[s-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Ip(e){if(!!Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Gt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),kr;if(typeof e.beginScope!="object"||e.beginScope===null)throw Gt("beginScope must be object"),kr;sc(e,e.begin,{key:"beginScope"}),e.begin=Oa(e.begin,{joinWith:""})}}function Tp(e){if(!!Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Gt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),kr;if(typeof e.endScope!="object"||e.endScope===null)throw Gt("endScope must be object"),kr;sc(e,e.end,{key:"endScope"}),e.end=Oa(e.end,{joinWith:""})}}function Np(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Pp(e){Np(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Ip(e),Tp(e)}function Mp(e){function t(o,s){return new RegExp(Yn(o),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=tc(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(Oa(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const u=l.findIndex((d,m)=>m>0&&d!==void 0),c=this.matchIndexes[u];return l.splice(0,u),Object.assign(l,c)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([u,c])=>l.addRule(u,c)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let u=l.exec(s);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,u=c.exec(s)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(o){const s=new r;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function a(o,s){const l=o;if(o.isCompiled)return l;[wp,Ep,Pp,kp].forEach(c=>c(o,s)),e.compilerExtensions.forEach(c=>c(o,s)),o.__beforeBegin=null,[_p,xp,Ap].forEach(c=>c(o,s)),o.isCompiled=!0;let u=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),u=o.keywords.$pattern,delete o.keywords.$pattern),u=u||/\w+/,o.keywords&&(o.keywords=oc(o.keywords,e.case_insensitive)),l.keywordPatternRe=t(u,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=t(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=t(l.end)),l.terminatorEnd=Yn(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(c){return Lp(c==="self"?o:c)})),o.contains.forEach(function(c){a(c,l)}),o.starts&&a(o.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Ct(e.classNameAliases||{}),a(e)}function lc(e){return e?e.endsWithParent||lc(e.starts):!1}function Lp(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ct(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:lc(e)?Ct(e,{starts:e.starts?Ct(e.starts):null}):Object.isFrozen(e)?Ct(e):e}var $p="11.6.0";class Dp extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const ii=Jl,es=Ct,ts=Symbol("nomatch"),Bp=7,jp=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Xm};function l(A){return s.noHighlightRe.test(A)}function u(A){let I=A.className+" ";I+=A.parentNode?A.parentNode.className:"";const $=s.languageDetectRe.exec(I);if($){const Q=ie($[1]);return Q||(Jo(a.replace("{}",$[1])),Jo("Falling back to no-highlight mode for this block.",A)),Q?$[1]:"no-highlight"}return I.split(/\s+/).find(Q=>l(Q)||ie(Q))}function c(A,I,$){let Q="",le="";typeof I=="object"?(Q=A,$=I.ignoreIllegals,le=I.language):(Qt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qt("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),le=A,Q=I),$===void 0&&($=!0);const ve={code:Q,language:le};ke("before:highlight",ve);const Ee=ve.result?ve.result:d(ve.language,ve.code,$);return Ee.code=ve.code,ke("after:highlight",Ee),Ee}function d(A,I,$,Q){const le=Object.create(null);function ve(y,O){return y.keywords[O]}function Ee(){if(!p.keywords){R.addText(_);return}let y=0;p.keywordPatternRe.lastIndex=0;let O=p.keywordPatternRe.exec(_),L="";for(;O;){L+=_.substring(y,O.index);const K=h.case_insensitive?O[0].toLowerCase():O[0],J=ve(p,K);if(J){const[oe,Fe]=J;if(R.addText(L),L="",le[K]=(le[K]||0)+1,le[K]<=Bp&&(N+=Fe),oe.startsWith("_"))L+=O[0];else{const wt=h.classNameAliases[oe]||oe;R.addKeyword(O[0],wt)}}else L+=O[0];y=p.keywordPatternRe.lastIndex,O=p.keywordPatternRe.exec(_)}L+=_.substring(y),R.addText(L)}function Ne(){if(_==="")return;let y=null;if(typeof p.subLanguage=="string"){if(!t[p.subLanguage]){R.addText(_);return}y=d(p.subLanguage,_,!0,T[p.subLanguage]),T[p.subLanguage]=y._top}else y=b(_,p.subLanguage.length?p.subLanguage:null);p.relevance>0&&(N+=y.relevance),R.addSublanguage(y._emitter,y.language)}function Oe(){p.subLanguage!=null?Ne():Ee(),_=""}function w(y,O){let L=1;const K=O.length-1;for(;L<=K;){if(!y._emit[L]){L++;continue}const J=h.classNameAliases[y[L]]||y[L],oe=O[L];J?R.addKeyword(oe,J):(_=oe,Ee(),_=""),L++}}function z(y,O){return y.scope&&typeof y.scope=="string"&&R.openNode(h.classNameAliases[y.scope]||y.scope),y.beginScope&&(y.beginScope._wrap?(R.addKeyword(_,h.classNameAliases[y.beginScope._wrap]||y.beginScope._wrap),_=""):y.beginScope._multi&&(w(y.beginScope,O),_="")),p=Object.create(y,{parent:{value:p}}),p}function P(y,O,L){let K=ep(y.endRe,L);if(K){if(y["on:end"]){const J=new qo(y);y["on:end"](O,J),J.isMatchIgnored&&(K=!1)}if(K){for(;y.endsParent&&y.parent;)y=y.parent;return y}}if(y.endsWithParent)return P(y.parent,O,L)}function G(y){return p.matcher.regexIndex===0?(_+=y[0],1):(F=!0,0)}function ue(y){const O=y[0],L=y.rule,K=new qo(L),J=[L.__beforeBegin,L["on:begin"]];for(const oe of J)if(!!oe&&(oe(y,K),K.isMatchIgnored))return G(O);return L.skip?_+=O:(L.excludeBegin&&(_+=O),Oe(),!L.returnBegin&&!L.excludeBegin&&(_=O)),z(L,y),L.returnBegin?0:O.length}function fe(y){const O=y[0],L=I.substring(y.index),K=P(p,y,L);if(!K)return ts;const J=p;p.endScope&&p.endScope._wrap?(Oe(),R.addKeyword(O,p.endScope._wrap)):p.endScope&&p.endScope._multi?(Oe(),w(p.endScope,y)):J.skip?_+=O:(J.returnEnd||J.excludeEnd||(_+=O),Oe(),J.excludeEnd&&(_=O));do p.scope&&R.closeNode(),!p.skip&&!p.subLanguage&&(N+=p.relevance),p=p.parent;while(p!==K.parent);return K.starts&&z(K.starts,y),J.returnEnd?0:O.length}function re(){const y=[];for(let O=p;O!==h;O=O.parent)O.scope&&y.unshift(O.scope);y.forEach(O=>R.openNode(O))}let Z={};function f(y,O){const L=O&&O[0];if(_+=y,L==null)return Oe(),0;if(Z.type==="begin"&&O.type==="end"&&Z.index===O.index&&L===""){if(_+=I.slice(O.index,O.index+1),!i){const K=new Error(`0 width match regex (${A})`);throw K.languageName=A,K.badRule=Z.rule,K}return 1}if(Z=O,O.type==="begin")return ue(O);if(O.type==="illegal"&&!$){const K=new Error('Illegal lexeme "'+L+'" for mode "'+(p.scope||"")+'"');throw K.mode=p,K}else if(O.type==="end"){const K=fe(O);if(K!==ts)return K}if(O.type==="illegal"&&L==="")return 1;if(Y>1e5&&Y>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _+=L,L.length}const h=ie(A);if(!h)throw Gt(a.replace("{}",A)),new Error('Unknown language: "'+A+'"');const g=Mp(h);let x="",p=Q||g;const T={},R=new s.__emitter(s);re();let _="",N=0,k=0,Y=0,F=!1;try{for(p.matcher.considerAll();;){Y++,F?F=!1:p.matcher.considerAll(),p.matcher.lastIndex=k;const y=p.matcher.exec(I);if(!y)break;const O=I.substring(k,y.index),L=f(O,y);k=y.index+L}return f(I.substring(k)),R.closeAllNodes(),R.finalize(),x=R.toHTML(),{language:A,value:x,relevance:N,illegal:!1,_emitter:R,_top:p}}catch(y){if(y.message&&y.message.includes("Illegal"))return{language:A,value:ii(I),illegal:!0,relevance:0,_illegalBy:{message:y.message,index:k,context:I.slice(k-100,k+100),mode:y.mode,resultSoFar:x},_emitter:R};if(i)return{language:A,value:ii(I),illegal:!1,relevance:0,errorRaised:y,_emitter:R,_top:p};throw y}}function m(A){const I={value:ii(A),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return I._emitter.addText(A),I}function b(A,I){I=I||s.languages||Object.keys(t);const $=m(A),Q=I.filter(ie).filter(xe).map(Oe=>d(Oe,A,!1));Q.unshift($);const le=Q.sort((Oe,w)=>{if(Oe.relevance!==w.relevance)return w.relevance-Oe.relevance;if(Oe.language&&w.language){if(ie(Oe.language).supersetOf===w.language)return 1;if(ie(w.language).supersetOf===Oe.language)return-1}return 0}),[ve,Ee]=le,Ne=ve;return Ne.secondBest=Ee,Ne}function C(A,I,$){const Q=I&&n[I]||$;A.classList.add("hljs"),A.classList.add(`language-${Q}`)}function j(A){let I=null;const $=u(A);if(l($))return;if(ke("before:highlightElement",{el:A,language:$}),A.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),s.throwUnescapedHTML))throw new Dp("One of your code blocks includes unescaped HTML.",A.innerHTML);I=A;const Q=I.textContent,le=$?c(Q,{language:$,ignoreIllegals:!0}):b(Q);A.innerHTML=le.value,C(A,$,le.language),A.result={language:le.language,re:le.relevance,relevance:le.relevance},le.secondBest&&(A.secondBest={language:le.secondBest.language,relevance:le.secondBest.relevance}),ke("after:highlightElement",{el:A,result:le,text:Q})}function M(A){s=es(s,A)}const v=()=>{V(),Qt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){V(),Qt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let D=!1;function V(){if(document.readyState==="loading"){D=!0;return}document.querySelectorAll(s.cssSelector).forEach(j)}function W(){D&&V()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",W,!1);function ae(A,I){let $=null;try{$=I(e)}catch(Q){if(Gt("Language definition for '{}' could not be registered.".replace("{}",A)),i)Gt(Q);else throw Q;$=o}$.name||($.name=A),t[A]=$,$.rawDefinition=I.bind(null,e),$.aliases&&Ae($.aliases,{languageName:A})}function X(A){delete t[A];for(const I of Object.keys(n))n[I]===A&&delete n[I]}function te(){return Object.keys(t)}function ie(A){return A=(A||"").toLowerCase(),t[A]||t[n[A]]}function Ae(A,{languageName:I}){typeof A=="string"&&(A=[A]),A.forEach($=>{n[$.toLowerCase()]=I})}function xe(A){const I=ie(A);return I&&!I.disableAutodetect}function Te(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=I=>{A["before:highlightBlock"](Object.assign({block:I.el},I))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=I=>{A["after:highlightBlock"](Object.assign({block:I.el},I))})}function Ye(A){Te(A),r.push(A)}function ke(A,I){const $=A;r.forEach(function(Q){Q[$]&&Q[$](I)})}function be(A){return Qt("10.7.0","highlightBlock will be removed entirely in v12.0"),Qt("10.7.0","Please use highlightElement now."),j(A)}Object.assign(e,{highlight:c,highlightAuto:b,highlightAll:V,highlightElement:j,highlightBlock:be,configure:M,initHighlighting:v,initHighlightingOnLoad:S,registerLanguage:ae,unregisterLanguage:X,listLanguages:te,getLanguage:ie,registerAliases:Ae,autoDetection:xe,inherit:es,addPlugin:Ye}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=$p,e.regex={concat:Wt,lookahead:ec,either:ka,optional:Zm,anyNumberOfTimes:Qm};for(const A in rr)typeof rr[A]=="object"&&xa.exports(rr[A]);return Object.assign(e,rr),e};var Wn=jp({}),Fp=Wn;Wn.HighlightJS=Wn;Wn.default=Wn;const ln=Fp,ns="[A-Za-z$_][0-9A-Za-z$_]*",Up=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],zp=["true","false","null","undefined","NaN","Infinity"],cc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],uc=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],fc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Hp=["arguments","this","super","console","window","document","localStorage","module","global"],Gp=[].concat(fc,cc,uc);function Vp(e){const t=e.regex,n=(I,{after:$})=>{const Q="",end:""},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(I,$)=>{const Q=I[0].length+I.index,le=I.input[Q];if(le==="<"||le===","){$.ignoreMatch();return}le===">"&&(n(I,{after:Q})||$.ignoreMatch());let ve;if((ve=I.input.substring(Q).match(/^\s+extends\s+/))&&ve.index===0){$.ignoreMatch();return}}},s={$pattern:ns,keyword:Up,literal:zp,built_in:Gp,"variable.language":Hp},l="[0-9](_?[0-9])*",u=`\\.(${l})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${c})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${c})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},b={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},C={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,m],subLanguage:"css"}},j={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,m]},M=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),v={className:"comment",variants:[M,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},S=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,C,j,d];m.contains=S.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(S)});const D=[].concat(v,m.contains),V=D.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(D)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:V},ae={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},X={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...cc,...uc]}},te={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ie={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},Ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function xe(I){return t.concat("(?!",I.join("|"),")")}const Te={match:t.concat(/\b/,xe([...fc,"super"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},Ye={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ke={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},be="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",A={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(be)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:X},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),te,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,C,j,v,d,X,{className:"attr",begin:r+t.lookahead(":"),relevance:0},A,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[v,e.REGEXP_MODE,{className:"function",begin:be,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},ie,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ye,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},Te,Ae,ae,ke,{match:/\$[(.]/}]}}const Yp=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Kp=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Wp=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],qp=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Xp=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Qp=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Zp(e){const t=e.regex,n=Yp(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+qp.join("|")+")"},{begin:":(:)?("+Xp.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Qp.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Wp.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Kp.join("|")+")\\b"}]}}function Jp(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var rs=wn({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var t=He(e.language);Nt(function(){return e.language},function(i){t.value=i});var n=de(function(){return e.autodetect||!t.value}),r=de(function(){return!n.value&&!ln.getLanguage(t.value)});return{className:de(function(){return r.value?"":"hljs "+t.value}),highlightedCode:de(function(){var i;if(r.value)return console.warn('The language "'+t.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(n.value){var a=ln.highlightAuto(e.code);return t.value=(i=a.language)!==null&&i!==void 0?i:"",a.value}return(a=ln.highlight(e.code,{language:t.value,ignoreIllegals:e.ignoreIllegals})).value})}},render:function(){return hn("pre",{},[hn("code",{class:this.className,innerHTML:this.highlightedCode})])}}),eg={install:function(e){e.component("highlightjs",rs)},component:rs};/*! +}`;function Ll(){var e=Sl,t=Cl,n=q.familyPrefix,r=q.replacementClass,i=Oh;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Io=!1;function ei(){q.autoAddCss&&!Io&&(_h(Ll()),Io=!0)}var Sh={mixout:function(){return{dom:{css:Ll,insertCss:ei}}},hooks:function(){return{beforeDOMElementCreation:function(){ei()},beforeI2svg:function(){ei()}}}},gt=Mt||{};gt[pt]||(gt[pt]={});gt[pt].styles||(gt[pt].styles={});gt[pt].hooks||(gt[pt].hooks={});gt[pt].shims||(gt[pt].shims=[]);var et=gt[pt],$l=[],Ch=function e(){pe.removeEventListener("DOMContentLoaded",e),_r=1,$l.map(function(t){return t()})},_r=!1;yt&&(_r=(pe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(pe.readyState),_r||pe.addEventListener("DOMContentLoaded",Ch));function Rh(e){!yt||(_r?setTimeout(e,0):$l.push(e))}function qn(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?Ml(e):"<".concat(t," ").concat(Eh(r),">").concat(a.map(qn).join(""),"")}function To(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Ih=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},ti=function(t,n,r,i){var a=Object.keys(t),o=a.length,s=i!==void 0?Ih(n,i):n,l,u,c;for(r===void 0?(l=1,c=t[a[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function No(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Ri(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=No(t);typeof et.hooks.addPack=="function"&&!i?et.hooks.addPack(e,No(t)):et.styles[e]=B(B({},et.styles[e]||{}),a),e==="fas"&&Ri("fa",t)}var $n=et.styles,Ph=et.shims,Mh=Object.values(Il),pa=null,Dl={},Bl={},jl={},Fl={},Ul={},Lh=Object.keys(da);function $h(e){return~ph.indexOf(e)}function Dh(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!$h(i)?i:null}var zl=function(){var t=function(a){return ti($n,function(o,s,l){return o[l]=ti(s,a,{}),o},{})};Dl=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var s=a[2].filter(function(l){return typeof l=="number"});s.forEach(function(l){i[l.toString(16)]=o})}return i}),Bl=t(function(i,a,o){if(i[o]=o,a[2]){var s=a[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){i[l]=o})}return i}),Ul=t(function(i,a,o){var s=a[2];return i[o]=o,s.forEach(function(l){i[l]=o}),i});var n="far"in $n||q.autoFetchSvg,r=ti(Ph,function(i,a){var o=a[0],s=a[1],l=a[2];return s==="far"&&!n&&(s="fas"),typeof o=="string"&&(i.names[o]={prefix:s,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:s,iconName:l}),i},{names:{},unicodes:{}});jl=r.names,Fl=r.unicodes,pa=zr(q.styleDefault)};wh(function(e){pa=zr(e.styleDefault)});zl();function ga(e,t){return(Dl[e]||{})[t]}function Bh(e,t){return(Bl[e]||{})[t]}function nn(e,t){return(Ul[e]||{})[t]}function Hl(e){return jl[e]||{prefix:null,iconName:null}}function jh(e){var t=Fl[e],n=ga("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Lt(){return pa}var ba=function(){return{prefix:null,iconName:null,rest:[]}};function zr(e){var t=da[e],n=wr[e]||wr[t],r=e in et.styles?e:null;return n||r||null}function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,a=e.reduce(function(o,s){var l=Dh(q.familyPrefix,s);if($n[s]?(s=Mh.includes(s)?ch[s]:s,i=s,o.prefix=s):Lh.indexOf(s)>-1?(i=s,o.prefix=zr(s)):l?o.iconName=l:s!==q.replacementClass&&o.rest.push(s),!r&&o.prefix&&o.iconName){var u=i==="fa"?Hl(o.iconName):{},c=nn(o.prefix,o.iconName);u.prefix&&(i=null),o.iconName=u.iconName||c||o.iconName,o.prefix=u.prefix||o.prefix,o.prefix==="far"&&!$n.far&&$n.fas&&!q.autoFetchSvg&&(o.prefix="fas")}return o},ba());return(a.prefix==="fa"||i==="fa")&&(a.prefix=Lt()||"fas"),a}var Fh=function(){function e(){Xd(this,e),this.definitions={}}return Qd(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a0&&c.forEach(function(d){typeof d=="string"&&(n[s][d]=u)}),n[s][l]=u}),n}}]),e}(),Po=[],rn={},sn={},Uh=Object.keys(sn);function zh(e,t){var n=t.mixoutsTo;return Po=e,rn={},Object.keys(sn).forEach(function(r){Uh.indexOf(r)===-1&&delete sn[r]}),Po.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),yr(i[o])==="object"&&Object.keys(i[o]).forEach(function(s){n[o]||(n[o]={}),n[o][s]=i[o][s]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(o){rn[o]||(rn[o]=[]),rn[o].push(a[o])})}r.provides&&r.provides(sn)}),n}function Ii(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return yt?(Kt("beforeI2svg",t),bt("pseudoElements2svg",t),bt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;q.autoReplaceSvg===!1&&(q.autoReplaceSvg=!0),q.observeMutations=!0,Rh(function(){Yh({autoReplaceSvgRoot:n}),Kt("watch",t)})}},Vh={icon:function(t){if(t===null)return null;if(yr(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:nn(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=zr(t[0]);return{prefix:r,iconName:nn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(q.familyPrefix,"-"))>-1||t.match(uh))){var i=Hr(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Lt(),iconName:nn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=Lt();return{prefix:a,iconName:nn(a,t)||t}}}},Ge={noAuto:Hh,config:q,dom:Gh,parse:Vh,library:Gl,findIconDefinition:Ti,toHtml:qn},Yh=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?pe:n;(Object.keys(et.styles).length>0||q.autoFetchSvg)&&yt&&q.autoReplaceSvg&&Ge.dom.i2svg({node:r})};function Gr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return qn(r)})}}),Object.defineProperty(e,"node",{get:function(){if(!!yt){var r=pe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Kh(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(ma(o)&&n.found&&!r.found){var s=n.width,l=n.height,u={x:s/l/2,y:.5};i.style=Ur(B(B({},a),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function Wh(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(q.familyPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:B(B({},i),{},{id:o}),children:r}]}]}function va(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,m=e.watchable,b=m===void 0?!1:m,C=r.found?r:n,j=C.width,M=C.height,v=i==="fak",S=[q.replacementClass,a?"".concat(q.familyPrefix,"-").concat(a):""].filter(function(ie){return d.classes.indexOf(ie)===-1}).filter(function(ie){return ie!==""||!!ie}).concat(d.classes).join(" "),D={children:[],attributes:B(B({},d.attributes),{},{"data-prefix":i,"data-icon":a,class:S,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(j," ").concat(M)})},V=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(j/M*16*.0625,"em")}:{};b&&(D.attributes[Yt]=""),l&&(D.children.push({tag:"title",attributes:{id:D.attributes["aria-labelledby"]||"title-".concat(c||Vn())},children:[l]}),delete D.attributes.title);var W=B(B({},D),{},{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:o,symbol:s,styles:B(B({},V),d.styles)}),ae=r.found&&n.found?bt("generateAbstractMask",W)||{children:[],attributes:{}}:bt("generateAbstractIcon",W)||{children:[],attributes:{}},X=ae.children,te=ae.attributes;return W.children=X,W.attributes=te,s?Wh(W):Kh(W)}function Mo(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,s=e.watchable,l=s===void 0?!1:s,u=B(B(B({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(u[Yt]="");var c=B({},o.styles);ma(i)&&(c.transform=kh({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var d=Ur(c);d.length>0&&(u.style=d);var m=[];return m.push({tag:"span",attributes:u,children:[t]}),a&&m.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),m}function qh(e){var t=e.content,n=e.title,r=e.extra,i=B(B(B({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Ur(r.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var ni=et.styles;function Ni(e){var t=e[0],n=e[1],r=e.slice(4),i=la(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.GROUP)},children:[{tag:"path",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(q.familyPrefix,"-").concat(Ut.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var Xh={found:!1,width:512,height:512};function Qh(e,t){!Rl&&!q.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Pi(e,t){var n=t;return t==="fa"&&q.styleDefault!==null&&(t=Lt()),new Promise(function(r,i){if(bt("missingIconAbstract"),n==="fa"){var a=Hl(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&ni[t]&&ni[t][e]){var o=ni[t][e];return r(Ni(o))}Qh(e,t),r(B(B({},Xh),{},{icon:q.showMissingIcons&&e?bt("missingIconAbstract")||{}:{}}))})}var Lo=function(){},Mi=q.measurePerformance&&nr&&nr.mark&&nr.measure?nr:{mark:Lo,measure:Lo},Cn='FA "6.1.1"',Zh=function(t){return Mi.mark("".concat(Cn," ").concat(t," begins")),function(){return Vl(t)}},Vl=function(t){Mi.mark("".concat(Cn," ").concat(t," ends")),Mi.measure("".concat(Cn," ").concat(t),"".concat(Cn," ").concat(t," begins"),"".concat(Cn," ").concat(t," ends"))},ya={begin:Zh,end:Vl},ur=function(){};function $o(e){var t=e.getAttribute?e.getAttribute(Yt):null;return typeof t=="string"}function Jh(e){var t=e.getAttribute?e.getAttribute(ua):null,n=e.getAttribute?e.getAttribute(fa):null;return t&&n}function em(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(q.replacementClass)}function tm(){if(q.autoReplaceSvg===!0)return fr.replace;var e=fr[q.autoReplaceSvg];return e||fr.replace}function nm(e){return pe.createElementNS("http://www.w3.org/2000/svg",e)}function rm(e){return pe.createElement(e)}function Yl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?nm:rm:n;if(typeof e=="string")return pe.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(Yl(o,{ceFn:r}))}),i}function im(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var fr={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(Yl(i),n)}),n.getAttribute(Yt)===null&&q.keepOriginalSource){var r=pe.createComment(im(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ha(n).indexOf(q.replacementClass))return fr.replace(t);var i=new RegExp("".concat(q.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(s,l){return l===q.replacementClass||l.match(i)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var o=r.map(function(s){return qn(s)}).join(` +`);n.setAttribute(Yt,""),n.innerHTML=o}};function Do(e){e()}function Kl(e,t){var n=typeof t=="function"?t:ur;if(e.length===0)n();else{var r=Do;q.mutateApproach===sh&&(r=Mt.requestAnimationFrame||Do),r(function(){var i=tm(),a=ya.begin("mutate");e.map(i),a(),n()})}}var wa=!1;function Wl(){wa=!0}function Li(){wa=!1}var xr=null;function Bo(e){if(!!Co&&!!q.observeMutations){var t=e.treeCallback,n=t===void 0?ur:t,r=e.nodeCallback,i=r===void 0?ur:r,a=e.pseudoElementsCallback,o=a===void 0?ur:a,s=e.observeMutationsRoot,l=s===void 0?pe:s;xr=new Co(function(u){if(!wa){var c=Lt();_n(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!$o(d.addedNodes[0])&&(q.searchPseudoElements&&o(d.target),n(d.target)),d.type==="attributes"&&d.target.parentNode&&q.searchPseudoElements&&o(d.target.parentNode),d.type==="attributes"&&$o(d.target)&&~mh.indexOf(d.attributeName))if(d.attributeName==="class"&&Jh(d.target)){var m=Hr(ha(d.target)),b=m.prefix,C=m.iconName;d.target.setAttribute(ua,b||c),C&&d.target.setAttribute(fa,C)}else em(d.target)&&i(d.target)})}}),yt&&xr.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function am(){!xr||xr.disconnect()}function om(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(r[o]=s.join(":").trim()),r},{})),n}function sm(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Hr(ha(e));return i.prefix||(i.prefix=Lt()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||i.prefix&&r.length>0&&(i.iconName=Bh(i.prefix,e.innerText)||ga(i.prefix,Ci(e.innerText))),i}function lm(e){var t=_n(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return q.autoA11y&&(n?t["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(r||Vn()):(t["aria-hidden"]="true",t.focusable="false")),t}function cm(){return{iconName:null,title:null,titleId:null,prefix:null,transform:lt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function jo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=sm(e),r=n.iconName,i=n.prefix,a=n.rest,o=lm(e),s=Ii("parseNodeAttributes",{},e),l=t.styleParser?om(e):[];return B({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:lt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},s)}var um=et.styles;function ql(e){var t=q.autoReplaceSvg==="nest"?jo(e,{styleParser:!1}):jo(e);return~t.extra.classes.indexOf(Tl)?bt("generateLayersText",e,t):bt("generateSvgReplacementMutation",e,t)}function Fo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!yt)return Promise.resolve();var n=pe.documentElement.classList,r=function(d){return n.add("".concat(Ro,"-").concat(d))},i=function(d){return n.remove("".concat(Ro,"-").concat(d))},a=q.autoFetchSvg?Object.keys(da):Object.keys(um),o=[".".concat(Tl,":not([").concat(Yt,"])")].concat(a.map(function(c){return".".concat(c,":not([").concat(Yt,"])")})).join(", ");if(o.length===0)return Promise.resolve();var s=[];try{s=_n(e.querySelectorAll(o))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();var l=ya.begin("onTree"),u=s.reduce(function(c,d){try{var m=ql(d);m&&c.push(m)}catch(b){Rl||b.name==="MissingIcon"&&console.error(b)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(m){Kl(m,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(m){l(),d(m)})})}function fm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ql(e).then(function(n){n&&Kl([n],t)})}function dm(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Ti(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Ti(i||{})),e(r,B(B({},n),{},{mask:i}))}}var hm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?lt:r,a=n.symbol,o=a===void 0?!1:a,s=n.mask,l=s===void 0?null:s,u=n.maskId,c=u===void 0?null:u,d=n.title,m=d===void 0?null:d,b=n.titleId,C=b===void 0?null:b,j=n.classes,M=j===void 0?[]:j,v=n.attributes,S=v===void 0?{}:v,D=n.styles,V=D===void 0?{}:D;if(!!t){var W=t.prefix,ae=t.iconName,X=t.icon;return Gr(B({type:"icon"},t),function(){return Kt("beforeDOMElementCreation",{iconDefinition:t,params:n}),q.autoA11y&&(m?S["aria-labelledby"]="".concat(q.replacementClass,"-title-").concat(C||Vn()):(S["aria-hidden"]="true",S.focusable="false")),va({icons:{main:Ni(X),mask:l?Ni(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:W,iconName:ae,transform:B(B({},lt),i),symbol:o,title:m,maskId:c,titleId:C,extra:{attributes:S,styles:V,classes:M}})})}},mm={mixout:function(){return{icon:dm(hm)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Fo,n.nodeCallback=fm,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?pe:r,a=n.callback,o=a===void 0?function(){}:a;return Fo(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,s=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,m=r.extra;return new Promise(function(b,C){Promise.all([Pi(i,s),c.iconName?Pi(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(j){var M=la(j,2),v=M[0],S=M[1];b([n,va({icons:{main:v,mask:S},prefix:s,iconName:i,transform:l,symbol:u,maskId:d,title:a,titleId:o,extra:m,watchable:!0})])}).catch(C)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,s=n.styles,l=Ur(s);l.length>0&&(i.style=l);var u;return ma(o)&&(u=bt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:i}}}},pm={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return Gr({type:"layer"},function(){Kt("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(s){Array.isArray(s)?s.map(function(l){o=o.concat(l.abstract)}):o=o.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(q.familyPrefix,"-layers")].concat(Fr(a)).join(" ")},children:o}]})}}}},gm={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,o=r.classes,s=o===void 0?[]:o,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return Gr({type:"counter",content:n},function(){return Kt("beforeDOMElementCreation",{content:n,params:r}),qh({content:n.toString(),title:a,extra:{attributes:u,styles:d,classes:["".concat(q.familyPrefix,"-layers-counter")].concat(Fr(s))}})})}}}},bm={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?lt:i,o=r.title,s=o===void 0?null:o,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,m=r.styles,b=m===void 0?{}:m;return Gr({type:"text",content:n},function(){return Kt("beforeDOMElementCreation",{content:n,params:r}),Mo({content:n,transform:B(B({},lt),a),title:s,extra:{attributes:d,styles:b,classes:["".concat(q.familyPrefix,"-layers-text")].concat(Fr(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,s=null,l=null;if(Ol){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();s=c.width/u,l=c.height/u}return q.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Mo({content:n.innerHTML,width:s,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},vm=new RegExp('"',"ug"),Uo=[1105920,1112319];function ym(e){var t=e.replace(vm,""),n=Nh(t,0),r=n>=Uo[0]&&n<=Uo[1],i=t.length===2?t[0]===t[1]:!1;return{value:Ci(i?t[0]:t),isSecondary:r||i}}function zo(e,t){var n="".concat(oh).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=_n(e.children),o=a.filter(function(ae){return ae.getAttribute(Si)===t})[0],s=Mt.getComputedStyle(e,t),l=s.getPropertyValue("font-family").match(fh),u=s.getPropertyValue("font-weight"),c=s.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&c!=="none"&&c!==""){var d=s.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?wr[l[2].toLowerCase()]:dh[u],b=ym(d),C=b.value,j=b.isSecondary,M=l[0].startsWith("FontAwesome"),v=ga(m,C),S=v;if(M){var D=jh(C);D.iconName&&D.prefix&&(v=D.iconName,m=D.prefix)}if(v&&!j&&(!o||o.getAttribute(ua)!==m||o.getAttribute(fa)!==S)){e.setAttribute(n,S),o&&e.removeChild(o);var V=cm(),W=V.extra;W.attributes[Si]=t,Pi(v,m).then(function(ae){var X=va(B(B({},V),{},{icons:{main:ae,mask:ba()},prefix:m,iconName:S,extra:W,watchable:!0})),te=pe.createElement("svg");t==="::before"?e.insertBefore(te,e.firstChild):e.appendChild(te),te.outerHTML=X.map(function(ie){return qn(ie)}).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function wm(e){return Promise.all([zo(e,"::before"),zo(e,"::after")])}function _m(e){return e.parentNode!==document.head&&!~lh.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Si)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Ho(e){if(!!yt)return new Promise(function(t,n){var r=_n(e.querySelectorAll("*")).filter(_m).map(wm),i=ya.begin("searchPseudoElements");Wl(),Promise.all(r).then(function(){i(),Li(),t()}).catch(function(){i(),Li(),n()})})}var xm={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Ho,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?pe:r;q.searchPseudoElements&&Ho(i)}}},Go=!1,Em={mixout:function(){return{dom:{unwatch:function(){Wl(),Go=!0}}}},hooks:function(){return{bootstrap:function(){Bo(Ii("mutationObserverCallbacks",{}))},noAuto:function(){am()},watch:function(n){var r=n.observeMutationsRoot;Go?Li():Bo(Ii("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Vo=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),o=a[0],s=a.slice(1).join("-");if(o&&s==="h")return r.flipX=!0,r;if(o&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(o){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},n)},Am={mixout:function(){return{parse:{transform:function(n){return Vo(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Vo(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,o=n.iconWidth,s={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},m={transform:"translate(".concat(o/2*-1," -256)")},b={outer:s,inner:d,path:m};return{tag:"g",attributes:B({},b.outer),children:[{tag:"g",attributes:B({},b.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:B(B({},r.icon.attributes),b.path)}]}]}}}},ri={x:0,y:0,width:"100%",height:"100%"};function Yo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function km(e){return e.tag==="g"?e.children:[e]}var Om={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Hr(i.split(" ").map(function(o){return o.trim()})):ba();return a.prefix||(a.prefix=Lt()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.mask,s=n.maskId,l=n.transform,u=a.width,c=a.icon,d=o.width,m=o.icon,b=Ah({transform:l,containerWidth:d,iconWidth:u}),C={tag:"rect",attributes:B(B({},ri),{},{fill:"white"})},j=c.children?{children:c.children.map(Yo)}:{},M={tag:"g",attributes:B({},b.inner),children:[Yo(B({tag:c.tag,attributes:B(B({},c.attributes),b.path)},j))]},v={tag:"g",attributes:B({},b.outer),children:[M]},S="mask-".concat(s||Vn()),D="clip-".concat(s||Vn()),V={tag:"mask",attributes:B(B({},ri),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[C,v]},W={tag:"defs",children:[{tag:"clipPath",attributes:{id:D},children:km(m)},V]};return r.push(W,{tag:"rect",attributes:B({fill:"currentColor","clip-path":"url(#".concat(D,")"),mask:"url(#".concat(S,")")},ri)}),{children:r,attributes:i}}}},Sm={provides:function(t){var n=!1;Mt.matchMedia&&(n=Mt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:B(B({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=B(B({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:B(B({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||s.children.push({tag:"animate",attributes:B(B({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:B(B({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:B(B({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:B(B({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:B(B({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:B(B({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Cm={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},Rm=[Sh,mm,pm,gm,bm,xm,Em,Am,Om,Sm,Cm];zh(Rm,{mixoutsTo:Ge});Ge.noAuto;var Xl=Ge.config,Im=Ge.library;Ge.dom;var Er=Ge.parse;Ge.findIconDefinition;Ge.toHtml;var Tm=Ge.icon;Ge.layer;var Nm=Ge.text;Ge.counter;function Ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Mm(e,t){if(e==null)return{};var n=Pm(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function $i(e){return Lm(e)||$m(e)||Dm(e)||Bm()}function Lm(e){if(Array.isArray(e))return Di(e)}function $m(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dm(e,t){if(!!e){if(typeof e=="string")return Di(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Di(e,t)}}function Di(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return _a(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=Hm(c);break;case"style":l.style=zm(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var a=n.style,o=a===void 0?{}:a,s=Mm(n,Um);return hn(e.tag,Xe(Xe(Xe({},t),{},{class:i.class,style:Xe(Xe({},i.style),o)},i.attrs),s),r)}var Zl=!1;try{Zl=!0}catch{}function Gm(){if(!Zl&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Dn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?$e({},e,t):{}}function Vm(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},$e(t,"fa-".concat(e.size),e.size!==null),$e(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),$e(t,"fa-pull-".concat(e.pull),e.pull!==null),$e(t,"fa-swap-opacity",e.swapOpacity),$e(t,"fa-bounce",e.bounce),$e(t,"fa-shake",e.shake),$e(t,"fa-beat",e.beat),$e(t,"fa-fade",e.fade),$e(t,"fa-beat-fade",e.beatFade),$e(t,"fa-flash",e.flash),$e(t,"fa-spin-pulse",e.spinPulse),$e(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function Wo(e){if(e&&Ar(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Er.icon)return Er.icon(e);if(e===null)return null;if(Ar(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var Ym=wn({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=de(function(){return Wo(t.icon)}),a=de(function(){return Dn("classes",Vm(t))}),o=de(function(){return Dn("transform",typeof t.transform=="string"?Er.transform(t.transform):t.transform)}),s=de(function(){return Dn("mask",Wo(t.mask))}),l=de(function(){return Tm(i.value,Xe(Xe(Xe(Xe({},a.value),o.value),s.value),{},{symbol:t.symbol,title:t.title}))});Nt(l,function(c){if(!c)return Gm("Could not find one or more icon(s)",i.value,s.value)},{immediate:!0});var u=de(function(){return l.value?_a(l.value.abstract[0],{},r):null});return function(){return u.value}}});wn({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,i=Xl.familyPrefix,a=de(function(){return["".concat(i,"-layers")].concat($i(t.fixedWidth?["".concat(i,"-fw")]:[]))});return function(){return hn("div",{class:a.value},r.default?r.default():[])}}});wn({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,i=Xl.familyPrefix,a=de(function(){return Dn("classes",[].concat($i(t.counter?["".concat(i,"-layers-counter")]:[]),$i(t.position?["".concat(i,"-layers-").concat(t.position)]:[])))}),o=de(function(){return Dn("transform",typeof t.transform=="string"?Er.transform(t.transform):t.transform)}),s=de(function(){var u=Nm(t.value.toString(),Xe(Xe({},o.value),a.value)),c=u.abstract;return t.counter&&(c[0].attributes.class=c[0].attributes.class.replace("fa-layers-text","")),c[0]}),l=de(function(){return _a(s.value,{},r)});return function(){return l.value}}});var xa={exports:{}};function Ea(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];typeof n=="object"&&!Object.isFrozen(n)&&Ea(n)}),e}xa.exports=Ea;xa.exports.default=Ea;class qo{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Jl(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Ct(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const Km="",Xo=e=>!!e.scope||e.sublanguage&&e.language,Wm=(e,{prefix:t})=>{if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class qm{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Jl(t)}openNode(t){if(!Xo(t))return;let n="";t.sublanguage?n=`language-${t.language}`:n=Wm(t.scope,{prefix:this.classPrefix}),this.span(n)}closeNode(t){!Xo(t)||(this.buffer+=Km)}value(){return this.buffer}span(t){this.buffer+=``}}const Qo=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class Aa{constructor(){this.rootNode=Qo(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=Qo({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&(!t.children||(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{Aa._collapse(n)})))}}class Xm extends Aa{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.sublanguage=!0,r.language=n,this.add(r)}toHTML(){return new qm(this,this.options).value()}finalize(){return!0}}function Yn(e){return e?typeof e=="string"?e:e.source:null}function ec(e){return Wt("(?=",e,")")}function Qm(e){return Wt("(?:",e,")*")}function Zm(e){return Wt("(?:",e,")?")}function Wt(...e){return e.map(n=>Yn(n)).join("")}function Jm(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ka(...e){const t=Jm(e);return"("+(t.capture?"":"?:")+e.map(r=>Yn(r)).join("|")+")"}function tc(e){return new RegExp(e.toString()+"|").exec("").length-1}function ep(e,t){const n=e&&e.exec(t);return n&&n.index===0}const tp=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Oa(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let a=Yn(r),o="";for(;a.length>0;){const s=tp.exec(a);if(!s){o+=a;break}o+=a.substring(0,s.index),a=a.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+i):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const np=/\b\B/,nc="[a-zA-Z]\\w*",Sa="[a-zA-Z_]\\w*",rc="\\b\\d+(\\.\\d+)?",ic="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ac="\\b(0b[01]+)",rp="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ip=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Wt(t,/.*\b/,e.binary,/\b.*/)),Ct({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Kn={begin:"\\\\[\\s\\S]",relevance:0},ap={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Kn]},op={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Kn]},sp={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Vr=function(e,t,n={}){const r=Ct({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=ka("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Wt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},lp=Vr("//","$"),cp=Vr("/\\*","\\*/"),up=Vr("#","$"),fp={scope:"number",begin:rc,relevance:0},dp={scope:"number",begin:ic,relevance:0},hp={scope:"number",begin:ac,relevance:0},mp={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Kn,{begin:/\[/,end:/\]/,relevance:0,contains:[Kn]}]}]},pp={scope:"title",begin:nc,relevance:0},gp={scope:"title",begin:Sa,relevance:0},bp={begin:"\\.\\s*"+Sa,relevance:0},vp=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var rr=Object.freeze({__proto__:null,MATCH_NOTHING_RE:np,IDENT_RE:nc,UNDERSCORE_IDENT_RE:Sa,NUMBER_RE:rc,C_NUMBER_RE:ic,BINARY_NUMBER_RE:ac,RE_STARTERS_RE:rp,SHEBANG:ip,BACKSLASH_ESCAPE:Kn,APOS_STRING_MODE:ap,QUOTE_STRING_MODE:op,PHRASAL_WORDS_MODE:sp,COMMENT:Vr,C_LINE_COMMENT_MODE:lp,C_BLOCK_COMMENT_MODE:cp,HASH_COMMENT_MODE:up,NUMBER_MODE:fp,C_NUMBER_MODE:dp,BINARY_NUMBER_MODE:hp,REGEXP_MODE:mp,TITLE_MODE:pp,UNDERSCORE_TITLE_MODE:gp,METHOD_GUARD:bp,END_SAME_AS_BEGIN:vp});function yp(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function wp(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function _p(e,t){!t||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=yp,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function xp(e,t){!Array.isArray(e.illegal)||(e.illegal=ka(...e.illegal))}function Ep(e,t){if(!!e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Ap(e,t){e.relevance===void 0&&(e.relevance=1)}const kp=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Wt(n.beforeMatch,ec(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Op=["of","and","for","in","not","or","if","then","parent","list","value"],Sp="keyword";function oc(e,t,n=Sp){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(r,oc(e[a],t,a))}),r;function i(a,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[a,Cp(l[0],l[1])]})}}function Cp(e,t){return t?Number(t):Rp(e)?0:1}function Rp(e){return Op.includes(e.toLowerCase())}const Zo={},Gt=e=>{console.error(e)},Jo=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Qt=(e,t)=>{Zo[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Zo[`${e}/${t}`]=!0)},kr=new Error;function sc(e,t,{key:n}){let r=0;const i=e[n],a={},o={};for(let s=1;s<=t.length;s++)o[s+r]=i[s],a[s+r]=!0,r+=tc(t[s-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Ip(e){if(!!Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Gt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),kr;if(typeof e.beginScope!="object"||e.beginScope===null)throw Gt("beginScope must be object"),kr;sc(e,e.begin,{key:"beginScope"}),e.begin=Oa(e.begin,{joinWith:""})}}function Tp(e){if(!!Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Gt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),kr;if(typeof e.endScope!="object"||e.endScope===null)throw Gt("endScope must be object"),kr;sc(e,e.end,{key:"endScope"}),e.end=Oa(e.end,{joinWith:""})}}function Np(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Pp(e){Np(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Ip(e),Tp(e)}function Mp(e){function t(o,s){return new RegExp(Yn(o),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=tc(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(Oa(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const u=l.findIndex((d,m)=>m>0&&d!==void 0),c=this.matchIndexes[u];return l.splice(0,u),Object.assign(l,c)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([u,c])=>l.addRule(u,c)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let u=l.exec(s);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,u=c.exec(s)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(o){const s=new r;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function a(o,s){const l=o;if(o.isCompiled)return l;[wp,Ep,Pp,kp].forEach(c=>c(o,s)),e.compilerExtensions.forEach(c=>c(o,s)),o.__beforeBegin=null,[_p,xp,Ap].forEach(c=>c(o,s)),o.isCompiled=!0;let u=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),u=o.keywords.$pattern,delete o.keywords.$pattern),u=u||/\w+/,o.keywords&&(o.keywords=oc(o.keywords,e.case_insensitive)),l.keywordPatternRe=t(u,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=t(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=t(l.end)),l.terminatorEnd=Yn(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(c){return Lp(c==="self"?o:c)})),o.contains.forEach(function(c){a(c,l)}),o.starts&&a(o.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Ct(e.classNameAliases||{}),a(e)}function lc(e){return e?e.endsWithParent||lc(e.starts):!1}function Lp(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Ct(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:lc(e)?Ct(e,{starts:e.starts?Ct(e.starts):null}):Object.isFrozen(e)?Ct(e):e}var $p="11.6.0";class Dp extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const ii=Jl,es=Ct,ts=Symbol("nomatch"),Bp=7,jp=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Xm};function l(E){return s.noHighlightRe.test(E)}function u(E){let I=E.className+" ";I+=E.parentNode?E.parentNode.className:"";const $=s.languageDetectRe.exec(I);if($){const Q=ie($[1]);return Q||(Jo(a.replace("{}",$[1])),Jo("Falling back to no-highlight mode for this block.",E)),Q?$[1]:"no-highlight"}return I.split(/\s+/).find(Q=>l(Q)||ie(Q))}function c(E,I,$){let Q="",le="";typeof I=="object"?(Q=E,$=I.ignoreIllegals,le=I.language):(Qt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qt("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),le=E,Q=I),$===void 0&&($=!0);const ve={code:Q,language:le};ke("before:highlight",ve);const Ee=ve.result?ve.result:d(ve.language,ve.code,$);return Ee.code=ve.code,ke("after:highlight",Ee),Ee}function d(E,I,$,Q){const le=Object.create(null);function ve(y,O){return y.keywords[O]}function Ee(){if(!p.keywords){R.addText(_);return}let y=0;p.keywordPatternRe.lastIndex=0;let O=p.keywordPatternRe.exec(_),L="";for(;O;){L+=_.substring(y,O.index);const K=h.case_insensitive?O[0].toLowerCase():O[0],J=ve(p,K);if(J){const[oe,je]=J;if(R.addText(L),L="",le[K]=(le[K]||0)+1,le[K]<=Bp&&(N+=je),oe.startsWith("_"))L+=O[0];else{const wt=h.classNameAliases[oe]||oe;R.addKeyword(O[0],wt)}}else L+=O[0];y=p.keywordPatternRe.lastIndex,O=p.keywordPatternRe.exec(_)}L+=_.substring(y),R.addText(L)}function Ne(){if(_==="")return;let y=null;if(typeof p.subLanguage=="string"){if(!t[p.subLanguage]){R.addText(_);return}y=d(p.subLanguage,_,!0,T[p.subLanguage]),T[p.subLanguage]=y._top}else y=b(_,p.subLanguage.length?p.subLanguage:null);p.relevance>0&&(N+=y.relevance),R.addSublanguage(y._emitter,y.language)}function Oe(){p.subLanguage!=null?Ne():Ee(),_=""}function w(y,O){let L=1;const K=O.length-1;for(;L<=K;){if(!y._emit[L]){L++;continue}const J=h.classNameAliases[y[L]]||y[L],oe=O[L];J?R.addKeyword(oe,J):(_=oe,Ee(),_=""),L++}}function z(y,O){return y.scope&&typeof y.scope=="string"&&R.openNode(h.classNameAliases[y.scope]||y.scope),y.beginScope&&(y.beginScope._wrap?(R.addKeyword(_,h.classNameAliases[y.beginScope._wrap]||y.beginScope._wrap),_=""):y.beginScope._multi&&(w(y.beginScope,O),_="")),p=Object.create(y,{parent:{value:p}}),p}function P(y,O,L){let K=ep(y.endRe,L);if(K){if(y["on:end"]){const J=new qo(y);y["on:end"](O,J),J.isMatchIgnored&&(K=!1)}if(K){for(;y.endsParent&&y.parent;)y=y.parent;return y}}if(y.endsWithParent)return P(y.parent,O,L)}function G(y){return p.matcher.regexIndex===0?(_+=y[0],1):(F=!0,0)}function ue(y){const O=y[0],L=y.rule,K=new qo(L),J=[L.__beforeBegin,L["on:begin"]];for(const oe of J)if(!!oe&&(oe(y,K),K.isMatchIgnored))return G(O);return L.skip?_+=O:(L.excludeBegin&&(_+=O),Oe(),!L.returnBegin&&!L.excludeBegin&&(_=O)),z(L,y),L.returnBegin?0:O.length}function fe(y){const O=y[0],L=I.substring(y.index),K=P(p,y,L);if(!K)return ts;const J=p;p.endScope&&p.endScope._wrap?(Oe(),R.addKeyword(O,p.endScope._wrap)):p.endScope&&p.endScope._multi?(Oe(),w(p.endScope,y)):J.skip?_+=O:(J.returnEnd||J.excludeEnd||(_+=O),Oe(),J.excludeEnd&&(_=O));do p.scope&&R.closeNode(),!p.skip&&!p.subLanguage&&(N+=p.relevance),p=p.parent;while(p!==K.parent);return K.starts&&z(K.starts,y),J.returnEnd?0:O.length}function re(){const y=[];for(let O=p;O!==h;O=O.parent)O.scope&&y.unshift(O.scope);y.forEach(O=>R.openNode(O))}let Z={};function f(y,O){const L=O&&O[0];if(_+=y,L==null)return Oe(),0;if(Z.type==="begin"&&O.type==="end"&&Z.index===O.index&&L===""){if(_+=I.slice(O.index,O.index+1),!i){const K=new Error(`0 width match regex (${E})`);throw K.languageName=E,K.badRule=Z.rule,K}return 1}if(Z=O,O.type==="begin")return ue(O);if(O.type==="illegal"&&!$){const K=new Error('Illegal lexeme "'+L+'" for mode "'+(p.scope||"")+'"');throw K.mode=p,K}else if(O.type==="end"){const K=fe(O);if(K!==ts)return K}if(O.type==="illegal"&&L==="")return 1;if(Y>1e5&&Y>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return _+=L,L.length}const h=ie(E);if(!h)throw Gt(a.replace("{}",E)),new Error('Unknown language: "'+E+'"');const g=Mp(h);let x="",p=Q||g;const T={},R=new s.__emitter(s);re();let _="",N=0,k=0,Y=0,F=!1;try{for(p.matcher.considerAll();;){Y++,F?F=!1:p.matcher.considerAll(),p.matcher.lastIndex=k;const y=p.matcher.exec(I);if(!y)break;const O=I.substring(k,y.index),L=f(O,y);k=y.index+L}return f(I.substring(k)),R.closeAllNodes(),R.finalize(),x=R.toHTML(),{language:E,value:x,relevance:N,illegal:!1,_emitter:R,_top:p}}catch(y){if(y.message&&y.message.includes("Illegal"))return{language:E,value:ii(I),illegal:!0,relevance:0,_illegalBy:{message:y.message,index:k,context:I.slice(k-100,k+100),mode:y.mode,resultSoFar:x},_emitter:R};if(i)return{language:E,value:ii(I),illegal:!1,relevance:0,errorRaised:y,_emitter:R,_top:p};throw y}}function m(E){const I={value:ii(E),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return I._emitter.addText(E),I}function b(E,I){I=I||s.languages||Object.keys(t);const $=m(E),Q=I.filter(ie).filter(xe).map(Oe=>d(Oe,E,!1));Q.unshift($);const le=Q.sort((Oe,w)=>{if(Oe.relevance!==w.relevance)return w.relevance-Oe.relevance;if(Oe.language&&w.language){if(ie(Oe.language).supersetOf===w.language)return 1;if(ie(w.language).supersetOf===Oe.language)return-1}return 0}),[ve,Ee]=le,Ne=ve;return Ne.secondBest=Ee,Ne}function C(E,I,$){const Q=I&&n[I]||$;E.classList.add("hljs"),E.classList.add(`language-${Q}`)}function j(E){let I=null;const $=u(E);if(l($))return;if(ke("before:highlightElement",{el:E,language:$}),E.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(E)),s.throwUnescapedHTML))throw new Dp("One of your code blocks includes unescaped HTML.",E.innerHTML);I=E;const Q=I.textContent,le=$?c(Q,{language:$,ignoreIllegals:!0}):b(Q);E.innerHTML=le.value,C(E,$,le.language),E.result={language:le.language,re:le.relevance,relevance:le.relevance},le.secondBest&&(E.secondBest={language:le.secondBest.language,relevance:le.secondBest.relevance}),ke("after:highlightElement",{el:E,result:le,text:Q})}function M(E){s=es(s,E)}const v=()=>{V(),Qt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){V(),Qt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let D=!1;function V(){if(document.readyState==="loading"){D=!0;return}document.querySelectorAll(s.cssSelector).forEach(j)}function W(){D&&V()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",W,!1);function ae(E,I){let $=null;try{$=I(e)}catch(Q){if(Gt("Language definition for '{}' could not be registered.".replace("{}",E)),i)Gt(Q);else throw Q;$=o}$.name||($.name=E),t[E]=$,$.rawDefinition=I.bind(null,e),$.aliases&&Ae($.aliases,{languageName:E})}function X(E){delete t[E];for(const I of Object.keys(n))n[I]===E&&delete n[I]}function te(){return Object.keys(t)}function ie(E){return E=(E||"").toLowerCase(),t[E]||t[n[E]]}function Ae(E,{languageName:I}){typeof E=="string"&&(E=[E]),E.forEach($=>{n[$.toLowerCase()]=I})}function xe(E){const I=ie(E);return I&&!I.disableAutodetect}function Te(E){E["before:highlightBlock"]&&!E["before:highlightElement"]&&(E["before:highlightElement"]=I=>{E["before:highlightBlock"](Object.assign({block:I.el},I))}),E["after:highlightBlock"]&&!E["after:highlightElement"]&&(E["after:highlightElement"]=I=>{E["after:highlightBlock"](Object.assign({block:I.el},I))})}function Ye(E){Te(E),r.push(E)}function ke(E,I){const $=E;r.forEach(function(Q){Q[$]&&Q[$](I)})}function be(E){return Qt("10.7.0","highlightBlock will be removed entirely in v12.0"),Qt("10.7.0","Please use highlightElement now."),j(E)}Object.assign(e,{highlight:c,highlightAuto:b,highlightAll:V,highlightElement:j,highlightBlock:be,configure:M,initHighlighting:v,initHighlightingOnLoad:S,registerLanguage:ae,unregisterLanguage:X,listLanguages:te,getLanguage:ie,registerAliases:Ae,autoDetection:xe,inherit:es,addPlugin:Ye}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=$p,e.regex={concat:Wt,lookahead:ec,either:ka,optional:Zm,anyNumberOfTimes:Qm};for(const E in rr)typeof rr[E]=="object"&&xa.exports(rr[E]);return Object.assign(e,rr),e};var Wn=jp({}),Fp=Wn;Wn.HighlightJS=Wn;Wn.default=Wn;const ln=Fp,ns="[A-Za-z$_][0-9A-Za-z$_]*",Up=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],zp=["true","false","null","undefined","NaN","Infinity"],cc=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],uc=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],fc=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Hp=["arguments","this","super","console","window","document","localStorage","module","global"],Gp=[].concat(fc,cc,uc);function Vp(e){const t=e.regex,n=(I,{after:$})=>{const Q="",end:""},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(I,$)=>{const Q=I[0].length+I.index,le=I.input[Q];if(le==="<"||le===","){$.ignoreMatch();return}le===">"&&(n(I,{after:Q})||$.ignoreMatch());let ve;if((ve=I.input.substring(Q).match(/^\s+extends\s+/))&&ve.index===0){$.ignoreMatch();return}}},s={$pattern:ns,keyword:Up,literal:zp,built_in:Gp,"variable.language":Hp},l="[0-9](_?[0-9])*",u=`\\.(${l})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${c})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${c})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},b={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},C={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,m],subLanguage:"css"}},j={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,m]},M=e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),v={className:"comment",variants:[M,e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},S=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,C,j,d];m.contains=S.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(S)});const D=[].concat(v,m.contains),V=D.concat([{begin:/\(/,end:/\)/,keywords:s,contains:["self"].concat(D)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:V},ae={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},X={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...cc,...uc]}},te={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ie={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},Ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function xe(I){return t.concat("(?!",I.join("|"),")")}const Te={match:t.concat(/\b/,xe([...fc,"super"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},Ye={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ke={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},W]},be="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(be)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:X},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),te,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,C,j,v,d,X,{className:"attr",begin:r+t.lookahead(":"),relevance:0},E,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[v,e.REGEXP_MODE,{className:"function",begin:be,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},ie,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ye,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},Te,Ae,ae,ke,{match:/\$[(.]/}]}}const Yp=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Kp=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Wp=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],qp=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Xp=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Qp=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Zp(e){const t=e.regex,n=Yp(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+qp.join("|")+")"},{begin:":(:)?("+Xp.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Qp.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Wp.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Kp.join("|")+")\\b"}]}}function Jp(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}var rs=wn({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){var t=ze(e.language);Nt(function(){return e.language},function(i){t.value=i});var n=de(function(){return e.autodetect||!t.value}),r=de(function(){return!n.value&&!ln.getLanguage(t.value)});return{className:de(function(){return r.value?"":"hljs "+t.value}),highlightedCode:de(function(){var i;if(r.value)return console.warn('The language "'+t.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");if(n.value){var a=ln.highlightAuto(e.code);return t.value=(i=a.language)!==null&&i!==void 0?i:"",a.value}return(a=ln.highlight(e.code,{language:t.value,ignoreIllegals:e.ignoreIllegals})).value})}},render:function(){return hn("pre",{},[hn("code",{class:this.className,innerHTML:this.highlightedCode})])}}),eg={install:function(e){e.component("highlightjs",rs)},component:rs};/*! * Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. - */var tg={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]};const ng=()=>{Im.add(tg)},Xn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},rg={};function ig(e,t){const n=Ze("RouterView");return ye(),br(n,{class:"h-full w-full"})}const ag=Xn(rg,[["render",ig]]),Ca="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAFiAAABYgFfJ9BTAAAGlUlEQVR4nO2dwWsdRRzHf5VgFkJsQsWLh9YKuVVz9GbAPXiS+BeY7EGPvl4XwXrJtQneX1Pwoqf01kPQRBQED83Tg7pC0h4spLRsH/IgBSEydV66bnbe7O6b2Znfb34fCA9C3u6+/L7z+83v+3ZmL5yengITLi9x7MOGBRA4LIDAYQFYIk7yZQzXyQKwQJzkawDQw3CtLADDyJF/CwD2MFwvC8AgMvjjwKMQAPsAhoiTfAEA7gPARQB4sNtfvILhujkDGEAGf08GH7CMfmABGEME/O3CwVgAoRAn+XYp+IIdLB+fBTAFMvgflY4w2O0vPsXyGVgALZG9fjn4gCn9AwugHTL4txRvZgFQJk7ylQnBBxYAYaTRM2mCh6r+AwugPnGSXyn1+lWgGv3AAqiHNHp2NMEHFgBBCi5fudevggVAkM2awUdX/4EFMBmF0aMC3egHFoCaOMl7DYIPLABCSKPnZsNPxAKgQA2jp4p9jPUfWAD/p4bRowLl6AcWwAtqGj0q0AqAbwlr3uufY7e/eMHuFdoj+AwwbfBF/Td8SZ0SvAAaGD0q0KZ/CF0ADY0eFagFEOwcIE7yGwDw+bTHwVz/IdQMII2eqYOPvf5DiAKIk3y1hdGjAnX6h9AEII2ebYOHRC+AYOYAhXV7bYyeSrDXfwglA8hef9tk8AHgjsFjOYO8AAwYPSrQp38IJANULd0yAQkBkJ4DGDJ6qhju9hcXLBy3c8hmAGn02Ag+UBn9QFUABo0eFSwAXzFs9KggIwBScwAbvX4FZOo/UMoAHQUfKI1+oCKABku3TMAC8ImC0XO5o8tiAXjGjiWjpwpR/w+w/qOqQC0AafS82+EpSY1+wCyAOMk3LRo9KtDs/lUXlAKQRs+nDk7NGcA1mg2abCK2f72P7f+lA5UAZK+/6ej05EY/YBJAh0aPChaAKzo2elSwAFzgwOipgmT9ByQZoEujRwXJ0Q++C8CB0aOCBdA1Fm/nagNZAXh5P4DDXv8crz37G/o/fwVyGZjYBuZA/jyNspQXhpjGp+AL3nv0B1zPvp30Jw/ks4IOCq8HUZai2DPIKwHIXv+eB5dyRu/P7yA+/r3t2/elKM4EEmWpV98meiMAD4yeSr7+qQ9z/zwzfdhx1tgblxVX5WTGxUnLVDx1ywveGD2xEXyQnsblQocjMsWKi8/svAvwNfiCa8O/ujjNAABWuzhRFT60gTbW7RnhreFD26cQpWDF5YTRaQmQe/PtyHq44Inpc8Y1uwIYipHvulvwsQ0UohA/y6XXTr8LEPX/y3vf2Dr8UI585x0BqoUhch/fBSmOsTCslI8PHv4CHx/+aOPQgvUoS03uVNIaEiuDClmjLJDWE8vPfrsL7zw5Mnuh/+FN8CGELWK23v++9+bo8c1Hs/NwOHcJjqNX4GjukvZ9lvr/rShLe6YPOg1e+AA2+eTwh8p1fIdzr8Jo5mX49eLrcBzNw/HsPBzJ31nq/2/7FnwIQQAqg+Xq6PHz1/JMfzQz+1wMhtmPsnStg8/aGNICOFnaaNxaipF/1ezod2r06KC+R5ATe7XAwLXRo4MFYA/R66/5/rUwC8AO3hg9Osi2gbL+545O/2GUpSjWEVLOAK5G/zqW4AMLwDhf+OTy1YEFYA5h9Nzo+JxTQ3IO4KD+34my1NtefxJUM0CXo1/0+l66fHVgAUyH90aPDhZAe1AYPTrIzQE6qv9ojB4dFDNAF5OxNQrBB6ICsJ3+URk9OlgAzbiOzejRQWoOcLK0Ie4LtHIjnzR60LZ7KqhlAFujn2TwgQVQC9Hre3cvnylYAJNBb/ToIDMHsFD/Ra+/HGUpyd3BxlDKACZH/9joIR18YAEoWaVi9OhgAZxnncLmT3UhIQBZ/02sHiZn9OigkgFM+P+i13e1E7kzqAhg2vRP1ujRwQIgbvToQC+Ak6WNafYBIG/06KCQAdqO/nGvH2zwIWABcPAloQqAxO1cJkAtgJb1f52D/wLsGaDp6PdqgyYfCEkAtzn45wlFAMEaPTrQ3g8g63+dZwsMoixd7uCSUII5A9Tx/wce7BPkNZgFoAss9/o1wCyASdu/cfBrglIAJ0sbutHPRk9NsGaASQJgo6cB1ATARk9DsAqgqv5vcfCbg04Aivrv5U7cGMCYAcoC8HYnbgxgF4DXO3FjAKMAxvXf+SPXKIBKAIX678Uj1yiALQOsUtqgyQewCUBkgB4H3xzYBLDJvb5ZyD82jpkM9SeGMBpYACEDAP8C3L5Jh8oh8iIAAAAASUVORK5CYII=",ir="/powerglitch/assets/example-frog.2422ffbd.gif",dc=(e="always")=>e==="always"?{playMode:e,backgroundColor:"transparent",hideOverflow:!1,timing:{duration:2*1e3,iterations:1/0},glitchTimeSpan:{start:.5,end:.7},shake:{velocity:15,amplitudeX:.4,amplitudeY:.4},slice:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0}}:{playMode:e,backgroundColor:"transparent",hideOverflow:!1,timing:{duration:150,iterations:1},glitchTimeSpan:{start:0,end:1},shake:{velocity:15,amplitudeX:.05,amplitudeY:.05},slice:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0}},Or=(e,t)=>{let n=0;if(e.glitchTimeSpan){const i=e.glitchTimeSpan.start,a=e.glitchTimeSpan.end;if(ta)return 0;const o=i+(a-i)/2;t{const i=Math.floor(Math.random()*((t-e)*100+1))+e*100,a=Math.floor(Math.random()*((r-n)*100+1))+n*100,o=Math.floor(Math.random()*(100-i)),s=Math.floor(Math.random()*(100-a));return{top:o,left:s,height:i,width:a}},sg=({top:e,left:t,height:n,width:r})=>{const i=`${t+r}% ${e}%`,a=`${t+r}% ${e+n}%`,o=`${t}% ${e+n}%`,s=`${t}% ${e}%`;return`polygon(${i}, ${a}, ${o}, ${s})`},Bi=e=>({easing:`steps(${e}, jump-start)`}),lg=e=>{if(!e.slice)throw new Error("Slice are not enabled");const t=Math.floor(e.slice.velocity*e.timing.duration/1e3)+1,n=[];for(let r=0;r{if(!e.shake)return{steps:[],timing:Bi(1)};const t=Math.floor(e.shake.velocity*e.timing.duration/1e3)+1,n=[];for(let r=0;r{const t=[];if(t.push(cg(e)),e.slice)for(let n=0;n{const i=document.createElement("div");for(i.classList.add("layer"),i.style.backgroundColor=n.backgroundColor,i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition="center",i.style.backgroundSize="contain",i.style.width="100%",i.style.height="100%",i.style.top="0",i.style.left="0",i.style.position="absolute",e.style.position="relative",n.hideOverflow?e.style.overflow="hidden":e.style.overflow="visible";e.firstChild;)e.removeChild(e.firstChild);for(let s=0;s{t.forEach((s,l)=>e.children[l].animate(s.steps,s.timing))},o=()=>{t.forEach((s,l)=>e.children[l].getAnimations().map(u=>u.cancel()))};switch(n.playMode){case"always":a(),e.onmouseenter=null,e.onmouseleave=null;break;case"hover-triggered":e.onmouseenter=()=>{a(),e.onmouseenter=null},e.onmouseleave=null;break;case"hover-only":e.onmouseenter=a,e.onmouseleave=o;break}};function mc(...e){const t=n=>n&&typeof n=="object";return e.reduce((n,r)=>(Object.keys(r).forEach(i=>{const a=n[i],o=r[i];if(Array.isArray(a)&&Array.isArray(o)){n[i]=a.concat(...o);return}if(t(a)&&t(o)){n[i]=mc(a,o);return}o!==void 0&&(n[i]=o)}),n),{})}const ug=(e=".powerglitch",t={})=>{const n=mc(dc(t.playMode),t);let r=[];if(typeof e=="string"){const s=document.querySelectorAll(e);if(!s.length)throw new Error(`Could not find any element with selector ${e}`);r=Array.from(s)}else r=[e];const i=r.filter(s=>s instanceof HTMLImageElement),a=r.filter(s=>s instanceof HTMLDivElement),o=hc(n);for(const s of i){const l=document.createElement("div");if(l.style.width=s.clientWidth+"px",l.style.height=s.clientHeight+"px",!s.parentElement)throw new Error("Unable to glitch image, it is not attached to a parent element");s.parentElement.insertBefore(l,s),s.remove(),is(l,o,n,n.imageUrl||s.src)}for(const s of a){if(!n.imageUrl)throw new Error("Options.imageUrl must be set if there are div elements to glitch");is(s,o,n,n.imageUrl)}},Be={glitch:ug,generateLayers:hc,getDefaultOptions:dc};const je=e=>(js("data-v-7bad3378"),e=e(),Fs(),e),fg={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},dg={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},hg={href:"https://github.com/7ph/powerglitch",target:"_blank"},mg={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},pg=["src"],gg=je(()=>E("div",{class:"mt-1"}," PowerGlitch ",-1)),bg=je(()=>E("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch images on the web. ",-1)),vg={class:"mt-2 flex justify-center gap-4"},yg=pe(" home "),wg=pe(" usage "),_g=pe(" playground "),xg=je(()=>E("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1)),Eg=je(()=>E("h1",{class:"font-bold mt-8"}," \u2753 Introduction ",-1)),Ag={class:"mt-4"},kg=pe(" PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights around "),Og=je(()=>E("b",null,"1.8kb",-1)),Sg=pe(" minified and gzipped and "),Cg=je(()=>E("b",null,"4kb",-1)),Rg=pe(" minified."),Ig=je(()=>E("br",null,null,-1)),Tg=je(()=>E("br",null,null,-1)),Ng=pe(" What are you waiting for? "),Pg=pe(" Try glitching stuff now \u26A1! "),Mg=je(()=>E("h1",{class:"font-bold mt-8"}," \u{1F914} Examples ",-1)),Lg={class:"flex justify-center gap-8"},$g=je(()=>E("h1",{class:"font-bold mt-8"}," \u{1F53D} Install ",-1)),Dg=je(()=>E("p",{class:"mt-4"},[pe(" Alternatively, you can "),E("a",{class:"underline",target:"_blank",href:"https://raw.githubusercontent.com/7PH/powerglitch/master/dist/powerglitch.min.js"}," download minified web bundle "),pe(" and use it directly in your project. ")],-1)),Bg=je(()=>E("h1",{class:"font-bold mt-8"}," \u{1F528} Usage ",-1)),jg={class:"mt-4"},Fg=pe(" To optimize and customize glitched images, check the "),Ug=pe(" usage guide "),zg=pe(". "),Hg=je(()=>E("h1",{class:"font-bold mt-8"}," \u{1F91D} Support and bugs ",-1)),Gg=je(()=>E("p",{class:"mt-4 pb-8"},[pe(" Having trouble? Found a bug? Want to contribute?"),E("br"),pe(" Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request "),E("a",{href:"https://github.com/7ph/powerglitch",target:"_blank",class:"underline"}," on GitHub "),pe("."),E("br")],-1)),Vg={__name:"HomeView",setup(e){un(()=>Be.glitch());const t=He(null),n=He(null),r=He(null),i=He(null);return un(()=>{Be.glitch(t.value,{imageUrl:ir,shake:!1,slice:!1}),Be.glitch(n.value,{imageUrl:ir,shake:!1,glitchTimeSpan:{start:.2,end:.6},slice:{count:3,velocity:4}}),Be.glitch(r.value,{imageUrl:ir}),Be.glitch(i.value,{imageUrl:ir,glitchTimeSpan:{start:.2,end:.8}})}),(a,o)=>{const s=Ze("fa"),l=Ze("RouterLink"),u=Ze("highlightjs"),c=Ze("router-link");return ye(),Re("div",fg,[E("p",dg,[E("a",hg,[H(s,{icon:"fa-brands fa-github"})])]),E("div",mg,[E("img",{src:U(Ca),class:"powerglitch",style:{width:"60px",height:"60px"}},null,8,pg),gg]),bg,E("div",vg,[H(l,{to:"/",class:""},{default:qe(()=>[yg]),_:1}),H(l,{to:"/usage",class:"underline"},{default:qe(()=>[wg]),_:1}),H(l,{to:"/playground",class:"underline"},{default:qe(()=>[_g]),_:1}),xg]),Eg,E("p",Ag,[kg,Og,Sg,Cg,Rg,Ig,Tg,Ng,H(l,{to:"playground",class:"underline"},{default:qe(()=>[Pg]),_:1})]),Mg,E("div",Lg,[E("div",{ref_key:"frog1Glitch",ref:t,class:"example example-1"},null,512),E("div",{ref_key:"frog2Glitch",ref:n,class:"example example-2"},null,512),E("div",{ref_key:"frog3Glitch",ref:r,class:"example example-3"},null,512),E("div",{ref_key:"frog4Glitch",ref:i,class:"example example-4"},null,512)]),$g,H(u,{class:"rounded-xl overflow-hidden mt-4",language:"shell",code:` + */var tg={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]};const ng=()=>{Im.add(tg)},Xn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},rg={};function ig(e,t){const n=Ze("RouterView");return ye(),br(n,{class:"h-full w-full"})}const ag=Xn(rg,[["render",ig]]),Ca="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAFiAAABYgFfJ9BTAAAGlUlEQVR4nO2dwWsdRRzHf5VgFkJsQsWLh9YKuVVz9GbAPXiS+BeY7EGPvl4XwXrJtQneX1Pwoqf01kPQRBQED83Tg7pC0h4spLRsH/IgBSEydV66bnbe7O6b2Znfb34fCA9C3u6+/L7z+83v+3ZmL5yengITLi9x7MOGBRA4LIDAYQFYIk7yZQzXyQKwQJzkawDQw3CtLADDyJF/CwD2MFwvC8AgMvjjwKMQAPsAhoiTfAEA7gPARQB4sNtfvILhujkDGEAGf08GH7CMfmABGEME/O3CwVgAoRAn+XYp+IIdLB+fBTAFMvgflY4w2O0vPsXyGVgALZG9fjn4gCn9AwugHTL4txRvZgFQJk7ylQnBBxYAYaTRM2mCh6r+AwugPnGSXyn1+lWgGv3AAqiHNHp2NMEHFgBBCi5fudevggVAkM2awUdX/4EFMBmF0aMC3egHFoCaOMl7DYIPLABCSKPnZsNPxAKgQA2jp4p9jPUfWAD/p4bRowLl6AcWwAtqGj0q0AqAbwlr3uufY7e/eMHuFdoj+AwwbfBF/Td8SZ0SvAAaGD0q0KZ/CF0ADY0eFagFEOwcIE7yGwDw+bTHwVz/IdQMII2eqYOPvf5DiAKIk3y1hdGjAnX6h9AEII2ebYOHRC+AYOYAhXV7bYyeSrDXfwglA8hef9tk8AHgjsFjOYO8AAwYPSrQp38IJANULd0yAQkBkJ4DGDJ6qhju9hcXLBy3c8hmAGn02Ag+UBn9QFUABo0eFSwAXzFs9KggIwBScwAbvX4FZOo/UMoAHQUfKI1+oCKABku3TMAC8ImC0XO5o8tiAXjGjiWjpwpR/w+w/qOqQC0AafS82+EpSY1+wCyAOMk3LRo9KtDs/lUXlAKQRs+nDk7NGcA1mg2abCK2f72P7f+lA5UAZK+/6ej05EY/YBJAh0aPChaAKzo2elSwAFzgwOipgmT9ByQZoEujRwXJ0Q++C8CB0aOCBdA1Fm/nagNZAXh5P4DDXv8crz37G/o/fwVyGZjYBuZA/jyNspQXhpjGp+AL3nv0B1zPvp30Jw/ks4IOCq8HUZai2DPIKwHIXv+eB5dyRu/P7yA+/r3t2/elKM4EEmWpV98meiMAD4yeSr7+qQ9z/zwzfdhx1tgblxVX5WTGxUnLVDx1ywveGD2xEXyQnsblQocjMsWKi8/svAvwNfiCa8O/ujjNAABWuzhRFT60gTbW7RnhreFD26cQpWDF5YTRaQmQe/PtyHq44Inpc8Y1uwIYipHvulvwsQ0UohA/y6XXTr8LEPX/y3vf2Dr8UI585x0BqoUhch/fBSmOsTCslI8PHv4CHx/+aOPQgvUoS03uVNIaEiuDClmjLJDWE8vPfrsL7zw5Mnuh/+FN8CGELWK23v++9+bo8c1Hs/NwOHcJjqNX4GjukvZ9lvr/rShLe6YPOg1e+AA2+eTwh8p1fIdzr8Jo5mX49eLrcBzNw/HsPBzJ31nq/2/7FnwIQQAqg+Xq6PHz1/JMfzQz+1wMhtmPsnStg8/aGNICOFnaaNxaipF/1ezod2r06KC+R5ATe7XAwLXRo4MFYA/R66/5/rUwC8AO3hg9Osi2gbL+545O/2GUpSjWEVLOAK5G/zqW4AMLwDhf+OTy1YEFYA5h9Nzo+JxTQ3IO4KD+34my1NtefxJUM0CXo1/0+l66fHVgAUyH90aPDhZAe1AYPTrIzQE6qv9ojB4dFDNAF5OxNQrBB6ICsJ3+URk9OlgAzbiOzejRQWoOcLK0Ie4LtHIjnzR60LZ7KqhlAFujn2TwgQVQC9Hre3cvnylYAJNBb/ToIDMHsFD/Ra+/HGUpyd3BxlDKACZH/9joIR18YAEoWaVi9OhgAZxnncLmT3UhIQBZ/02sHiZn9OigkgFM+P+i13e1E7kzqAhg2vRP1ujRwQIgbvToQC+Ak6WNafYBIG/06KCQAdqO/nGvH2zwIWABcPAloQqAxO1cJkAtgJb1f52D/wLsGaDp6PdqgyYfCEkAtzn45wlFAMEaPTrQ3g8g63+dZwsMoixd7uCSUII5A9Tx/wce7BPkNZgFoAss9/o1wCyASdu/cfBrglIAJ0sbutHPRk9NsGaASQJgo6cB1ATARk9DsAqgqv5vcfCbg04Aivrv5U7cGMCYAcoC8HYnbgxgF4DXO3FjAKMAxvXf+SPXKIBKAIX678Uj1yiALQOsUtqgyQewCUBkgB4H3xzYBLDJvb5ZyD82jpkM9SeGMBpYACEDAP8C3L5Jh8oh8iIAAAAASUVORK5CYII=",ir="/powerglitch/assets/example-frog.2422ffbd.gif",dc=(e="always")=>e==="always"?{playMode:e,backgroundColor:"transparent",hideOverflow:!1,timing:{duration:2*1e3,iterations:1/0},glitchTimeSpan:{start:.5,end:.7},shake:{velocity:15,amplitudeX:.4,amplitudeY:.4},slice:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0}}:{playMode:e,backgroundColor:"transparent",hideOverflow:!1,timing:{duration:150,iterations:1},glitchTimeSpan:{start:0,end:1},shake:{velocity:15,amplitudeX:.05,amplitudeY:.05},slice:{count:6,velocity:15,minHeight:.02,maxHeight:.15,hueRotate:!0}},Or=(e,t)=>{let n=0;if(e.glitchTimeSpan){const i=e.glitchTimeSpan.start,a=e.glitchTimeSpan.end;if(ta)return 0;const o=i+(a-i)/2;t{const i=Math.floor(Math.random()*((t-e)*100+1))+e*100,a=Math.floor(Math.random()*((r-n)*100+1))+n*100,o=Math.floor(Math.random()*(100-i)),s=Math.floor(Math.random()*(100-a));return{top:o,left:s,height:i,width:a}},sg=({top:e,left:t,height:n,width:r})=>{const i=`${t+r}% ${e}%`,a=`${t+r}% ${e+n}%`,o=`${t}% ${e+n}%`,s=`${t}% ${e}%`;return`polygon(${i}, ${a}, ${o}, ${s})`},Bi=e=>({easing:`steps(${e}, jump-start)`}),lg=e=>{if(!e.slice)throw new Error("Slice are not enabled");const t=Math.floor(e.slice.velocity*e.timing.duration/1e3)+1,n=[];for(let r=0;r{if(!e.shake)return{steps:[],timing:Bi(1)};const t=Math.floor(e.shake.velocity*e.timing.duration/1e3)+1,n=[];for(let r=0;r{const t=[];if(t.push(cg(e)),e.slice)for(let n=0;n{const i=document.createElement("div");for(i.classList.add("layer"),i.style.backgroundColor=n.backgroundColor,i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition="center",i.style.backgroundSize="contain",i.style.width="100%",i.style.height="100%",i.style.top="0",i.style.left="0",i.style.position="absolute",e.style.position="relative",n.hideOverflow?e.style.overflow="hidden":e.style.overflow="visible";e.firstChild;)e.removeChild(e.firstChild);for(let s=0;s{t.forEach((s,l)=>e.children[l].animate(s.steps,s.timing))},o=()=>{t.forEach((s,l)=>e.children[l].getAnimations().map(u=>u.cancel()))};switch(n.playMode){case"always":a(),e.onmouseenter=null,e.onmouseleave=null;break;case"hover-triggered":e.onmouseenter=()=>{a(),e.onmouseenter=null},e.onmouseleave=null;break;case"hover-only":e.onmouseenter=a,e.onmouseleave=o;break}};function mc(...e){const t=n=>n&&typeof n=="object";return e.reduce((n,r)=>(Object.keys(r).forEach(i=>{const a=n[i],o=r[i];if(Array.isArray(a)&&Array.isArray(o)){n[i]=a.concat(...o);return}if(t(a)&&t(o)){n[i]=mc(a,o);return}o!==void 0&&(n[i]=o)}),n),{})}const ug=(e=".powerglitch",t={})=>{const n=mc(dc(t.playMode),t);let r=[];if(typeof e=="string"){const s=document.querySelectorAll(e);if(!s.length)throw new Error(`Could not find any element with selector ${e}`);r=Array.from(s)}else r=[e];const i=r.filter(s=>s instanceof HTMLImageElement),a=r.filter(s=>s instanceof HTMLDivElement),o=hc(n);for(const s of i){const l=document.createElement("div");if(l.style.width=s.clientWidth+"px",l.style.height=s.clientHeight+"px",!s.parentElement)throw new Error("Unable to glitch image, it is not attached to a parent element");s.parentElement.insertBefore(l,s),s.remove(),is(l,o,n,n.imageUrl||s.src)}for(const s of a){if(!n.imageUrl)throw new Error("Options.imageUrl must be set if there are div elements to glitch");is(s,o,n,n.imageUrl)}},Be={glitch:ug,generateLayers:hc,getDefaultOptions:dc};const Ve=e=>(js("data-v-8cf0fa22"),e=e(),Fs(),e),fg={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},dg={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},hg={href:"https://github.com/7ph/powerglitch",target:"_blank"},mg={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},pg=["src"],gg=Ve(()=>A("div",{class:"mt-1"}," PowerGlitch ",-1)),bg=Ve(()=>A("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch images on the web. ",-1)),vg={class:"mt-2 flex justify-center gap-4"},yg=ge(" home "),wg=ge(" usage "),_g=ge(" playground "),xg=Ve(()=>A("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1)),Eg=Ve(()=>A("h1",{class:"font-bold mt-8"}," \u2753 Introduction ",-1)),Ag={class:"mt-4"},kg=ge(" PowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to create a glitch effect on images. No canvas or DOM manipulations are needed. It weights less than "),Og=Ve(()=>A("b",null,"2kb",-1)),Sg=ge(" minified and gzipped."),Cg=Ve(()=>A("br",null,null,-1)),Rg=Ve(()=>A("br",null,null,-1)),Ig=ge(" What are you waiting for? "),Tg=ge(" Try glitching stuff now \u26A1! "),Ng=Ve(()=>A("h1",{class:"font-bold mt-8"}," \u{1F914} Examples ",-1)),Pg={class:"flex justify-center gap-8"},Mg=Ve(()=>A("h1",{class:"font-bold mt-8"}," \u{1F53D} Install ",-1)),Lg=Ve(()=>A("p",{class:"mt-4"},[ge(" Alternatively, you can "),A("a",{class:"underline",target:"_blank",href:"https://raw.githubusercontent.com/7PH/powerglitch/master/dist/powerglitch.min.js"}," download minified web bundle "),ge(" and use it directly in your project. ")],-1)),$g=Ve(()=>A("h1",{class:"font-bold mt-8"}," \u{1F528} Usage ",-1)),Dg={class:"mt-4"},Bg=ge(" To optimize and customize glitched images, check the "),jg=ge(" usage guide "),Fg=ge(". "),Ug=Ve(()=>A("h1",{class:"font-bold mt-8"}," \u{1F91D} Support and bugs ",-1)),zg=Ve(()=>A("p",{class:"mt-4 pb-8"},[ge(" Having trouble? Found a bug? Want to contribute?"),A("br"),ge(" Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request "),A("a",{href:"https://github.com/7ph/powerglitch",target:"_blank",class:"underline"}," on GitHub "),ge("."),A("br")],-1)),Hg={__name:"HomeView",setup(e){un(()=>Be.glitch());const t=ze(null),n=ze(null),r=ze(null),i=ze(null);return un(()=>{Be.glitch(t.value,{imageUrl:ir,shake:!1,slice:!1}),Be.glitch(n.value,{imageUrl:ir,shake:!1,glitchTimeSpan:{start:.2,end:.6},slice:{count:3,velocity:4}}),Be.glitch(r.value,{imageUrl:ir}),Be.glitch(i.value,{imageUrl:ir,glitchTimeSpan:{start:.2,end:.8}})}),(a,o)=>{const s=Ze("fa"),l=Ze("RouterLink"),u=Ze("highlightjs"),c=Ze("router-link");return ye(),Re("div",fg,[A("p",dg,[A("a",hg,[H(s,{icon:"fa-brands fa-github"})])]),A("div",mg,[A("img",{src:U(Ca),class:"powerglitch",style:{width:"60px",height:"60px"}},null,8,pg),gg]),bg,A("div",vg,[H(l,{to:"/",class:""},{default:qe(()=>[yg]),_:1}),H(l,{to:"/usage",class:"underline"},{default:qe(()=>[wg]),_:1}),H(l,{to:"/playground",class:"underline"},{default:qe(()=>[_g]),_:1}),xg]),Eg,A("p",Ag,[kg,Og,Sg,Cg,Rg,Ig,H(l,{to:"playground",class:"underline"},{default:qe(()=>[Tg]),_:1})]),Ng,A("div",Pg,[A("div",{ref_key:"frog1Glitch",ref:t,class:"example example-1"},null,512),A("div",{ref_key:"frog2Glitch",ref:n,class:"example example-2"},null,512),A("div",{ref_key:"frog3Glitch",ref:r,class:"example example-3"},null,512),A("div",{ref_key:"frog4Glitch",ref:i,class:"example example-4"},null,512)]),Mg,H(u,{class:"rounded-xl overflow-hidden mt-4",language:"shell",code:` $ npm i --save powerglitch or $ yarn add powerglitch -`.trim()},null,8,["code"]),Dg,Bg,H(u,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),Lg,$g,H(u,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` import { PowerGlitch } from 'powerglitch' // Glitch images with class 'some-image' PowerGlitch.glitch('.some-image') -`.trim()},null,8,["code"]),E("p",jg,[Fg,H(c,{to:"/usage",class:"underline"},{default:qe(()=>[Ug]),_:1}),zg]),Hg,Gg])}}},Yg=Xn(Vg,[["__scopeId","data-v-7bad3378"]]);const _e=e=>(js("data-v-131b5b79"),e=e(),Fs(),e),Kg={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},Wg={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},qg={href:"https://github.com/7ph/powerglitch",target:"_blank"},Xg={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},Qg=_e(()=>E("div",{class:"mt-1"}," PowerGlitch ",-1)),Zg=_e(()=>E("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch images on the web. ",-1)),Jg={class:"mt-2 flex justify-center gap-4"},eb=pe(" home "),tb=pe(" usage "),nb=pe(" playground "),rb=_e(()=>E("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1)),ib=_e(()=>E("h1",{class:"font-bold mt-8"}," \u26AA Intro ",-1)),ab=_e(()=>E("p",{class:"mt-2"}," This simple guide will walk you through the basic usage of the library. ",-1)),ob=_e(()=>E("h1",{class:"font-bold mt-8"}," \u{1F7E3} Glitching "+ht("

"),-1)),sb=_e(()=>E("p",{class:"mt-2"}," The most optimized way to use PowerGlitch is to first create a placeholder div ",-1)),lb=_e(()=>E("p",{class:"mt-2"}," ensure the div has a non-zero width/height ",-1)),cb=_e(()=>E("p",{class:"mt-2"}," then use PowerGlitch.glitch() to populate the div with the glitched image ",-1)),ub=_e(()=>E("p",{class:"mt-2"}," this takes care of animating the placeholder with the glitch effect. ",-1)),fb=_e(()=>E("h1",{class:"font-bold mt-8"}," \u{1F535} Glitching "+ht(""),-1)),db=_e(()=>E("p",{class:"mt-2"}," It is also possible to glitch images directly ",-1)),hb=_e(()=>E("p",{class:"mt-2"}," for images, call PowerGlitch.glitch() without specifying the imageUrl ",-1)),mb=_e(()=>E("p",{class:"mt-2"}," this replaces the image with its glitched version. ",-1)),pb=_e(()=>E("h1",{class:"font-bold mt-8"}," \u26AB Passing reference ",-1)),gb=_e(()=>E("p",{class:"mt-2"}," If you already have a reference to the element to glitch, you can directly pass it as the first argument ",-1)),bb=_e(()=>E("h1",{class:"font-bold mt-8"}," \u{1F7E2} Customize glitch ",-1)),vb=_e(()=>E("p",{class:"mt-2"}," By default, PowerGlitch will glitch images using a set of hardcoded default values that look good for most images. However, you can customize the applied glitch by passing a custom options object as the second argument to PowerGlitch.glitch(). ",-1)),yb=_e(()=>E("p",{class:"mt-2"}," options are merged with the defaults, so you can override only values you want ",-1)),wb={class:"mt-2"},_b=pe(" to find the perfect set of options for your image, "),xb=pe(" use the playground "),Eb=_e(()=>E("h1",{class:"font-bold mt-8"}," \u{1F7E1} API reference ",-1)),Ab=_e(()=>E("p",{class:"mt-2 pb-8"},[pe(" To know what options are accepted and what they mean, "),E("a",{class:"underline",target:"_blank",href:"https://github.com/7PH/powerglitch/blob/master/src/index.ts#L1"}," refer to the TypeScript type definitions "),pe(". ")],-1)),kb={__name:"UsageView",setup(e){const t=He(null);return un(()=>{Be.glitch(t.value,{imageUrl:Ca})}),(n,r)=>{const i=Ze("fa"),a=Ze("RouterLink"),o=Ze("highlightjs"),s=Ze("router-link");return ye(),Re("div",Kg,[E("p",Wg,[E("a",qg,[H(i,{icon:"fa-brands fa-github"})])]),E("div",Xg,[E("div",{ref_key:"logoGlitch",ref:t,style:{width:"60px",height:"60px"}},null,512),Qg]),Zg,E("div",Jg,[H(a,{to:"/",class:"underline"},{default:qe(()=>[eb]),_:1}),H(a,{to:"/usage",class:""},{default:qe(()=>[tb]),_:1}),H(a,{to:"/playground",class:"underline"},{default:qe(()=>[nb]),_:1}),rb]),ib,ab,ob,sb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"
"}),lb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"css",code:` +`.trim()},null,8,["code"]),A("p",Dg,[Bg,H(c,{to:"/usage",class:"underline"},{default:qe(()=>[jg]),_:1}),Fg]),Ug,zg])}}},Gg=Xn(Hg,[["__scopeId","data-v-8cf0fa22"]]);const _e=e=>(js("data-v-69a3736d"),e=e(),Fs(),e),Vg={class:"app w-full mx-auto mb-8 mt-16 md:mt-8 px-4"},Yg={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},Kg={href:"https://github.com/7ph/powerglitch",target:"_blank"},Wg={class:"mt-8 font-bold text-5xl flex gap-4 justify-center"},qg=_e(()=>A("div",{class:"mt-1"}," PowerGlitch ",-1)),Xg=_e(()=>A("p",{class:"text-center mt-4 text-lg"}," A tiny library to glitch images on the web. ",-1)),Qg={class:"mt-2 flex justify-center gap-4"},Zg=ge(" home "),Jg=ge(" usage "),eb=ge(" playground "),tb=_e(()=>A("a",{target:"_blank",href:"https://github.com/7PH/powerglitch",class:"underline"}," github ",-1)),nb=_e(()=>A("h1",{class:"font-bold mt-8"}," \u26AA Intro ",-1)),rb=_e(()=>A("p",{class:"mt-2"}," This simple guide will walk you through the basic usage of the library. ",-1)),ib=_e(()=>A("h1",{class:"font-bold mt-8"}," \u{1F7E3} Glitching "+ht("
"),-1)),ab=_e(()=>A("p",{class:"mt-2"}," The most optimized way to use PowerGlitch is to first create a placeholder div ",-1)),ob=_e(()=>A("p",{class:"mt-2"}," ensure the div has a non-zero width/height ",-1)),sb=_e(()=>A("p",{class:"mt-2"}," then use PowerGlitch.glitch() to populate the div with the glitched image ",-1)),lb=_e(()=>A("p",{class:"mt-2"}," this takes care of animating the placeholder with the glitch effect. ",-1)),cb=_e(()=>A("h1",{class:"font-bold mt-8"}," \u{1F535} Glitching "+ht(""),-1)),ub=_e(()=>A("p",{class:"mt-2"}," It is also possible to glitch images directly ",-1)),fb=_e(()=>A("p",{class:"mt-2"}," for images, call PowerGlitch.glitch() without specifying the imageUrl ",-1)),db=_e(()=>A("p",{class:"mt-2"}," this replaces the image with its glitched version. ",-1)),hb=_e(()=>A("h1",{class:"font-bold mt-8"}," \u26AB Passing reference ",-1)),mb=_e(()=>A("p",{class:"mt-2"}," If you already have a reference to the element to glitch, you can directly pass it as the first argument ",-1)),pb=_e(()=>A("h1",{class:"font-bold mt-8"}," \u{1F7E2} Customize glitch ",-1)),gb=_e(()=>A("p",{class:"mt-2"}," By default, PowerGlitch will glitch images using a set of hardcoded default values that look good for most images. However, you can customize the applied glitch by passing a custom options object as the second argument to PowerGlitch.glitch(). ",-1)),bb=_e(()=>A("p",{class:"mt-2"}," options are merged with the defaults, so you can override only values you want ",-1)),vb={class:"mt-2"},yb=ge(" to find the perfect set of options for your image, "),wb=ge(" use the playground "),_b=_e(()=>A("h1",{class:"font-bold mt-8"}," \u{1F7E1} API reference ",-1)),xb=_e(()=>A("p",{class:"mt-2 pb-8"},[ge(" To know what options are accepted and what they mean, "),A("a",{class:"underline",target:"_blank",href:"https://github.com/7PH/powerglitch/blob/master/src/index.ts#L1"}," refer to the TypeScript type definitions "),ge(". ")],-1)),Eb={__name:"UsageView",setup(e){const t=ze(null);return un(()=>{Be.glitch(t.value,{imageUrl:Ca})}),(n,r)=>{const i=Ze("fa"),a=Ze("RouterLink"),o=Ze("highlightjs"),s=Ze("router-link");return ye(),Re("div",Vg,[A("p",Yg,[A("a",Kg,[H(i,{icon:"fa-brands fa-github"})])]),A("div",Wg,[A("div",{ref_key:"logoGlitch",ref:t,style:{width:"60px",height:"60px"}},null,512),qg]),Xg,A("div",Qg,[H(a,{to:"/",class:"underline"},{default:qe(()=>[Zg]),_:1}),H(a,{to:"/usage",class:""},{default:qe(()=>[Jg]),_:1}),H(a,{to:"/playground",class:"underline"},{default:qe(()=>[eb]),_:1}),tb]),nb,rb,ib,ab,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:"
"}),ob,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"css",code:` .glitch { width: 80px; height: 80px; } -`.trim()},null,8,["code"]),cb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),sb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch('div.glitch', { imageUrl: 'https://.../image.png' }) -`.trim()},null,8,["code"]),ub,fb,db,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:""},null,8,["code"]),hb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),lb,cb,ub,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"html",code:""},null,8,["code"]),fb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch('img.glitch') -`.trim()},null,8,["code"]),mb,pb,gb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),db,hb,mb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` const image = document.querySelector('img.glitch') PowerGlitch.glitch(image) -`.trim()},null,8,["code"]),bb,vb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),pb,gb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch( 'div.glitch', { imageUrl: 'https://.../image.png', + playMode: 'always', backgroundColor: 'transparent', hideOverflow: true, timing: { @@ -823,7 +824,7 @@ PowerGlitch.glitch( }, } ) -`.trim()},null,8,["code"]),yb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` +`.trim()},null,8,["code"]),bb,H(o,{class:"rounded-xl overflow-hidden mt-2",language:"js",code:` PowerGlitch.glitch( 'div.glitch', { @@ -832,4 +833,4 @@ PowerGlitch.glitch( shake: false, } ) -`.trim()},null,8,["code"]),E("p",wb,[_b,H(s,{to:"/playground",class:"underline"},{default:qe(()=>[xb]),_:1})]),Eb,Ab])}}},Ob=Xn(kb,[["__scopeId","data-v-131b5b79"]]),Sb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAABYAAAAWAF42ktiAAABv0lEQVRYhcWWv0vDQBTHvxXRQymmk6MgVNzM4OBmh/wB+hfY5j9wEoKDDnUW/4AaZ5e6OXSof0HtJGTxx9ZijaVIiwiRgwuEI8ndJZf2wUEuubvv5+7dey+lIAiwSFvSrW3ZvmHZ/rXseO0AANoAvhcCYNm+C+AQQFd2jrY7wMRP6HOnVSnJztNyApbt10NxAE8qc3MDMPHbyKv23AAs2zc5caj4n1rmO8DEqdhG5PW406oYKutkOgEa6zHiUN19JoAU8fkAMJG9lG/FAbBYTxKn/n8uDCCaaBJMeffSAFyiibV9/2M027kyVQGEYRiTaGLtpneP7Z/P8NM7gDd2Kl3iOYmnsywQpze+LhJf//uNilPbYs0UZUbpRMRgTNaM3cng7GtljQxXyzgYveL85ZGfMgZQI56TejEzZULm617YH5AyNmcTftgx8RxhXchaC2rRTox4Q0ZcGwBnl8RzXNmFdAPcEc+5UFlIGYD5P64OPBDPEUZMboCE3fdlwrUogD4LN+k/YZ0ANNbrWcWVATj/SyUarQDc7o/yiucBaKQVmKIBTlUSjdBoLZBp02rTnFabrux42aYCYOgWD4IA/9YKT2ODwKOHAAAAAElFTkSuQmCC",Ra=Gf("main",{state:()=>({powerGlitchOptions:{...Be.getDefaultOptions("always"),imageUrl:Ca}}),actions:{setOptions(e){this.powerGlitchOptions={...this.powerGlitchOptions,...e}}}}),Cb={class:"pl-4 text-sm grid grid-cols-12"},Rb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Ib={class:"col-span-8 flex gap-4 overflow-x-hidden"},Tb=["value"],Nb=E("option",{value:"true"}," Yes ",-1),Pb=E("option",{value:"false"}," No ",-1),Mb=[Nb,Pb],kn={__name:"ToggleGroupOption",props:{modelValue:{type:[String,Number,Boolean,Object],required:!0},title:{type:String,required:!0},getDefaultValue:{type:Function,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Cb,[E("div",Rb,ht(e.title),1),E("div",Ib,[E("select",{class:"w-20",value:!!e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",e.getDefaultValue(r.target.value==="true")))},Mb,40,Tb)])]))}},Lb={class:"pl-4 text-sm grid grid-cols-12"},$b={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Db={class:"col-span-8 flex gap-4 overflow-x-hidden"},Bb=["placeholder","value"],as={__name:"StringOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Lb,[E("div",$b,ht(e.title),1),E("div",Db,[E("input",{class:"w-full",placeholder:e.title,value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value))},null,40,Bb)])]))}},jb={class:"pl-4 text-sm grid grid-cols-12"},Fb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Ub={class:"col-span-8 flex gap-4 overflow-x-hidden"},zb=["value"],Hb=["value"],os={__name:"SelectOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},values:{type:Array,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",jb,[E("div",Fb,ht(e.title),1),E("div",Ub,[E("select",{class:"w-full",value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value))},[(ye(!0),Re(Me,null,$u(e.values,r=>(ye(),Re("option",{key:r,value:r},ht(r),9,Hb))),128))],40,zb)])]))}},Gb={class:"pl-4 text-sm grid grid-cols-12"},Vb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Yb={class:"col-span-8 flex gap-4 overflow-x-hidden"},Kb=["value"],Wb=E("option",{value:"true"}," Yes ",-1),qb=E("option",{value:"false"}," No ",-1),Xb=[Wb,qb],ss={__name:"BooleanOption",props:{modelValue:{type:Boolean,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Gb,[E("div",Vb,ht(e.title),1),E("div",Yb,[E("select",{class:"w-20",value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value==="true"))},Xb,40,Kb)])]))}},Qb={class:"pl-4 text-sm grid grid-cols-12"},Zb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Jb={class:"col-span-8 flex gap-4 overflow-x-hidden"},ev=["value","min","max"],tv=["value","min","max","step"],Ke={__name:"NumberOption",props:{modelValue:{type:Number,required:!0},title:{type:String,required:!0},min:{type:Number,required:!0},max:{type:Number,required:!0},step:{type:Number,required:!0},factor:{type:Number,default:1}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Qb,[E("div",Zb,ht(e.title),1),E("div",Jb,[E("input",{class:"w-20",type:"number",value:e.modelValue*e.factor,min:e.min*e.factor,max:e.max*e.factor,onChange:n[0]||(n[0]=r=>t.$emit("update:modelValue",parseInt(r.target.value)/e.factor))},null,40,ev),E("input",{value:e.modelValue*e.factor,type:"range",min:e.min*e.factor,max:e.max*e.factor,step:e.step*e.factor,onInput:n[1]||(n[1]=r=>t.$emit("update:modelValue",parseInt(r.target.value)/e.factor))},null,40,tv)])]))}},nv={class:"px-4"},rv=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Recommended defaults ",-1),iv={class:"ml-4 flex flex-wrap justify-center gap-2"},av=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Global ",-1),ov=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Timing ",-1),sv=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Restrict glitch time span ",-1),lv=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Shake ",-1),cv=E("div",{class:"font-bold mt-6 mb-2 pl-2"}," Slice ",-1),uv={__name:"OptionPanel",setup(e){const t=Ra(),n=r=>{const i=Be.getDefaultOptions(r);t.powerGlitchOptions.playMode=r,t.powerGlitchOptions.timing=i.timing,t.powerGlitchOptions.glitchTimeSpan=i.glitchTimeSpan,t.powerGlitchOptions.shake=i.shake,t.powerGlitchOptions.slice=i.slice};return(r,i)=>(ye(),Re("div",nv,[rv,E("div",iv,[E("button",{onClick:i[0]||(i[0]=a=>n("always"))}," Infinite "),E("button",{onClick:i[1]||(i[1]=a=>n("hover-triggered"))}," Once on hover "),E("button",{onClick:i[2]||(i[2]=a=>n("hover-only"))}," Always on hover ")]),av,H(as,{modelValue:U(t).powerGlitchOptions.imageUrl,"onUpdate:modelValue":i[3]||(i[3]=a=>U(t).powerGlitchOptions.imageUrl=a),class:"mt-1",title:"Image"},null,8,["modelValue"]),H(os,{modelValue:U(t).powerGlitchOptions.playMode,"onUpdate:modelValue":i[4]||(i[4]=a=>U(t).powerGlitchOptions.playMode=a),class:"mt-1",title:"Activate",values:["always","hover-triggered","hover-only"]},null,8,["modelValue"]),H(as,{modelValue:U(t).powerGlitchOptions.backgroundColor,"onUpdate:modelValue":i[5]||(i[5]=a=>U(t).powerGlitchOptions.backgroundColor=a),class:"mt-1",title:"Background color"},null,8,["modelValue"]),H(ss,{modelValue:U(t).powerGlitchOptions.hideOverflow,"onUpdate:modelValue":i[6]||(i[6]=a=>U(t).powerGlitchOptions.hideOverflow=a),class:"mt-1",title:"Hide overflow"},null,8,["modelValue"]),ov,H(Ke,{modelValue:U(t).powerGlitchOptions.timing.duration,"onUpdate:modelValue":i[7]||(i[7]=a=>U(t).powerGlitchOptions.timing.duration=a),class:"mt-1",title:"Loop duration (ms)",min:500,max:1e4,step:100},null,8,["modelValue","title"]),H(kn,{class:"mt-1",modelValue:U(t).powerGlitchOptions.timing.iterations===1/0,title:"Repeat indefinitely",getDefaultValue:a=>a?1/0:1,"onUpdate:modelValue":i[8]||(i[8]=a=>U(t).powerGlitchOptions.timing.iterations=a)},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.timing.iterations<1/0?(ye(),br(Ke,{key:0,modelValue:U(t).powerGlitchOptions.timing.iterations,"onUpdate:modelValue":i[9]||(i[9]=a=>U(t).powerGlitchOptions.timing.iterations=a),class:"mt-1",title:"Repeat count",min:1,max:60,step:1},null,8,["modelValue"])):jt("",!0),H(kn,{class:"mt-1",modelValue:!!U(t).powerGlitchOptions.timing.easing,title:"Smooth transition",getDefaultValue:a=>a?"ease-in-out":void 0,"onUpdate:modelValue":i[10]||(i[10]=a=>U(t).powerGlitchOptions.timing.easing=a)},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.timing.easing?(ye(),br(os,{key:1,modelValue:U(t).powerGlitchOptions.timing.easing,"onUpdate:modelValue":i[11]||(i[11]=a=>U(t).powerGlitchOptions.timing.easing=a),class:"mt-1",title:"Easing",values:["ease-in-out","ease-in","ease-out","linear"]},null,8,["modelValue"])):jt("",!0),sv,H(kn,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan,"onUpdate:modelValue":i[12]||(i[12]=a=>U(t).powerGlitchOptions.glitchTimeSpan=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).glitchTimeSpan:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.glitchTimeSpan?(ye(),Re(Me,{key:2},[H(Ke,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan.start,"onUpdate:modelValue":i[13]||(i[13]=a=>U(t).powerGlitchOptions.glitchTimeSpan.start=a),class:"mt-1",title:"Start time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan.end,"onUpdate:modelValue":i[14]||(i[14]=a=>U(t).powerGlitchOptions.glitchTimeSpan.end=a),class:"mt-1",title:"End time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):jt("",!0),lv,H(kn,{modelValue:U(t).powerGlitchOptions.shake,"onUpdate:modelValue":i[15]||(i[15]=a=>U(t).powerGlitchOptions.shake=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).shake:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.shake?(ye(),Re(Me,{key:3},[H(Ke,{modelValue:U(t).powerGlitchOptions.shake.velocity,"onUpdate:modelValue":i[16]||(i[16]=a=>U(t).powerGlitchOptions.shake.velocity=a),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.shake.amplitudeX,"onUpdate:modelValue":i[17]||(i[17]=a=>U(t).powerGlitchOptions.shake.amplitudeX=a),class:"mt-1",title:"X amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.shake.amplitudeY,"onUpdate:modelValue":i[18]||(i[18]=a=>U(t).powerGlitchOptions.shake.amplitudeY=a),class:"mt-1",title:"Y amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):jt("",!0),cv,H(kn,{modelValue:U(t).powerGlitchOptions.slice,"onUpdate:modelValue":i[19]||(i[19]=a=>U(t).powerGlitchOptions.slice=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).slice:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.slice?(ye(),Re(Me,{key:4},[H(Ke,{modelValue:U(t).powerGlitchOptions.slice.count,"onUpdate:modelValue":i[20]||(i[20]=a=>U(t).powerGlitchOptions.slice.count=a),class:"mt-1",title:"Count (slice/step)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.velocity,"onUpdate:modelValue":i[21]||(i[21]=a=>U(t).powerGlitchOptions.slice.velocity=a),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.minHeight,"onUpdate:modelValue":i[22]||(i[22]=a=>U(t).powerGlitchOptions.slice.minHeight=a),class:"mt-1",title:"Min slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.maxHeight,"onUpdate:modelValue":i[23]||(i[23]=a=>U(t).powerGlitchOptions.slice.maxHeight=a),class:"mt-1",title:"Max slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(ss,{modelValue:U(t).powerGlitchOptions.slice.hueRotate,"onUpdate:modelValue":i[24]||(i[24]=a=>U(t).powerGlitchOptions.slice.hueRotate=a),class:"mt-1",title:"Hue rotate"},null,8,["modelValue"])],64)):jt("",!0)]))}},fv={class:"px-4"},dv=E("p",null,"Copy the options object below in your app",-1),hv=["textContent"],mv={__name:"ExportPanel",setup(e){const t=Ra(),n=He(null),r=()=>{let i=new Range;i.setStart(n.value,0),i.setEnd(n.value,1),document.getSelection().removeAllRanges(),document.getSelection().addRange(i)};return(i,a)=>(ye(),Re("div",fv,[dv,E("pre",{ref_key:"preRef",ref:n,class:"bg-white p-4 rounded shadow overflow-auto",onClick:r,textContent:ht(JSON.stringify(U(t).powerGlitchOptions,(o,s)=>o==="iterations"&&s===1/0?void 0:s,2))},null,8,hv)]))}};const pv={__name:"ImagePreview",setup(e){const t=Ra(),n=He(null),r=()=>{!n.value||Be.glitch(n.value,t.powerGlitchOptions)};return un(r),Nt(t.powerGlitchOptions,r),(i,a)=>(ye(),Re("div",null,[E("div",{ref_key:"container",ref:n,class:"glitch"},null,512)]))}},gv=Xn(pv,[["__scopeId","data-v-5ce40a34"]]);const bv={class:"app h-full flex flex-row w-full"},vv={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},yv=pe(" \u{1F519} "),wv={class:"option-panel border p-4 overflow-y-auto"},_v={class:"font-bold text-xl mb-4 flex"},xv={class:"grow flex gap-2"},Ev=pe(" PowerGlitch "),Av={title:"Github",target:"_blank",href:"https://github.com/7PH/powerglitch"},kv={class:"grow flex flex-col bg-white"},Ov={class:"grow flex flex-col justify-center"},Sv={__name:"PlaygroundView",setup(e){const t=He(null);un(()=>{Be.glitch(t.value,{...Be.getDefaultOptions("always"),imageUrl:Sb})});const n=He("options");return(r,i)=>{const a=Ze("RouterLink"),o=Ze("fa");return ye(),Re("div",bv,[E("p",vv,[H(a,{to:"/"},{default:qe(()=>[yv]),_:1})]),E("div",wv,[E("div",_v,[E("div",xv,[E("div",{ref_key:"logoGlitch",ref:t,style:{width:"30px",height:"30px"}},null,512),Ev]),E("div",null,[E("a",Av,[H(o,{icon:"fa-brands fa-github"})])])]),n.value==="options"?(ye(),Re(Me,{key:0},[H(uv),E("button",{class:"mt-6 w-full",onClick:i[0]||(i[0]=s=>n.value="export")}," Show code ")],64)):jt("",!0),n.value==="export"?(ye(),Re(Me,{key:1},[H(mv),E("button",{class:"mt-6 w-full",onClick:i[1]||(i[1]=s=>n.value="options")}," Back to options ")],64)):jt("",!0)]),E("div",kv,[E("div",Ov,[H(gv,{class:"mx-auto"})])])])}}},Cv=Xn(Sv,[["__scopeId","data-v-5c6e4240"]]);ln.registerLanguage("javascript",Vp);ln.registerLanguage("css",Zp);ln.registerLanguage("shell",Jp);ng();const Rv=jf(),Iv=Wd({history:cd(),routes:[{name:"home",path:"/",component:Yg},{name:"usage",path:"/usage",component:Ob},{name:"playground",path:"/playground",component:Cv}]});$f(ag).use(Iv).use(Rv).component("fa",Ym).use(eg).mount("#app"); +`.trim()},null,8,["code"]),A("p",vb,[yb,H(s,{to:"/playground",class:"underline"},{default:qe(()=>[wb]),_:1})]),_b,xb])}}},Ab=Xn(Eb,[["__scopeId","data-v-69a3736d"]]),kb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAABYAAAAWAF42ktiAAABv0lEQVRYhcWWv0vDQBTHvxXRQymmk6MgVNzM4OBmh/wB+hfY5j9wEoKDDnUW/4AaZ5e6OXSof0HtJGTxx9ZijaVIiwiRgwuEI8ndJZf2wUEuubvv5+7dey+lIAiwSFvSrW3ZvmHZ/rXseO0AANoAvhcCYNm+C+AQQFd2jrY7wMRP6HOnVSnJztNyApbt10NxAE8qc3MDMPHbyKv23AAs2zc5caj4n1rmO8DEqdhG5PW406oYKutkOgEa6zHiUN19JoAU8fkAMJG9lG/FAbBYTxKn/n8uDCCaaBJMeffSAFyiibV9/2M027kyVQGEYRiTaGLtpneP7Z/P8NM7gDd2Kl3iOYmnsywQpze+LhJf//uNilPbYs0UZUbpRMRgTNaM3cng7GtljQxXyzgYveL85ZGfMgZQI56TejEzZULm617YH5AyNmcTftgx8RxhXchaC2rRTox4Q0ZcGwBnl8RzXNmFdAPcEc+5UFlIGYD5P64OPBDPEUZMboCE3fdlwrUogD4LN+k/YZ0ANNbrWcWVATj/SyUarQDc7o/yiucBaKQVmKIBTlUSjdBoLZBp02rTnFabrux42aYCYOgWD4IA/9YKT2ODwKOHAAAAAElFTkSuQmCC",Ra=Gf("main",{state:()=>({powerGlitchOptions:{...Be.getDefaultOptions("always"),imageUrl:Ca}}),actions:{setOptions(e){this.powerGlitchOptions={...this.powerGlitchOptions,...e}}}}),Ob={class:"pl-4 text-sm grid grid-cols-12"},Sb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Cb={class:"col-span-8 flex gap-4 overflow-x-hidden"},Rb=["value"],Ib=A("option",{value:"true"}," Yes ",-1),Tb=A("option",{value:"false"}," No ",-1),Nb=[Ib,Tb],kn={__name:"ToggleGroupOption",props:{modelValue:{type:[String,Number,Boolean,Object],required:!0},title:{type:String,required:!0},getDefaultValue:{type:Function,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Ob,[A("div",Sb,ht(e.title),1),A("div",Cb,[A("select",{class:"w-20",value:!!e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",e.getDefaultValue(r.target.value==="true")))},Nb,40,Rb)])]))}},Pb={class:"pl-4 text-sm grid grid-cols-12"},Mb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Lb={class:"col-span-8 flex gap-4 overflow-x-hidden"},$b=["placeholder","value"],as={__name:"StringOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Pb,[A("div",Mb,ht(e.title),1),A("div",Lb,[A("input",{class:"w-full",placeholder:e.title,value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value))},null,40,$b)])]))}},Db={class:"pl-4 text-sm grid grid-cols-12"},Bb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},jb={class:"col-span-8 flex gap-4 overflow-x-hidden"},Fb=["value"],Ub=["value"],os={__name:"SelectOption",props:{modelValue:{type:String,required:!0},title:{type:String,required:!0},values:{type:Array,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",Db,[A("div",Bb,ht(e.title),1),A("div",jb,[A("select",{class:"w-full",value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value))},[(ye(!0),Re(Me,null,$u(e.values,r=>(ye(),Re("option",{key:r,value:r},ht(r),9,Ub))),128))],40,Fb)])]))}},zb={class:"pl-4 text-sm grid grid-cols-12"},Hb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Gb={class:"col-span-8 flex gap-4 overflow-x-hidden"},Vb=["value"],Yb=A("option",{value:"true"}," Yes ",-1),Kb=A("option",{value:"false"}," No ",-1),Wb=[Yb,Kb],ss={__name:"BooleanOption",props:{modelValue:{type:Boolean,required:!0},title:{type:String,required:!0}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",zb,[A("div",Hb,ht(e.title),1),A("div",Gb,[A("select",{class:"w-20",value:e.modelValue,onInput:n[0]||(n[0]=r=>t.$emit("update:modelValue",r.target.value==="true"))},Wb,40,Vb)])]))}},qb={class:"pl-4 text-sm grid grid-cols-12"},Xb={class:"col-span-4 flex flex-col justify-center whitespace-nowrap overflow-x-hidden text-ellipsis min-w-0"},Qb={class:"col-span-8 flex gap-4 overflow-x-hidden"},Zb=["value","min","max"],Jb=["value","min","max","step"],Ke={__name:"NumberOption",props:{modelValue:{type:Number,required:!0},title:{type:String,required:!0},min:{type:Number,required:!0},max:{type:Number,required:!0},step:{type:Number,required:!0},factor:{type:Number,default:1}},emits:["update:modelValue"],setup(e){return(t,n)=>(ye(),Re("div",qb,[A("div",Xb,ht(e.title),1),A("div",Qb,[A("input",{class:"w-20",type:"number",value:e.modelValue*e.factor,min:e.min*e.factor,max:e.max*e.factor,onChange:n[0]||(n[0]=r=>t.$emit("update:modelValue",parseInt(r.target.value)/e.factor))},null,40,Zb),A("input",{value:e.modelValue*e.factor,type:"range",min:e.min*e.factor,max:e.max*e.factor,step:e.step*e.factor,onInput:n[1]||(n[1]=r=>t.$emit("update:modelValue",parseInt(r.target.value)/e.factor))},null,40,Jb)])]))}},ev={class:"px-4"},tv=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Recommended defaults ",-1),nv={class:"ml-4 flex flex-wrap justify-center gap-2"},rv=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Global ",-1),iv=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Timing ",-1),av=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Restrict glitch time span ",-1),ov=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Shake ",-1),sv=A("div",{class:"font-bold mt-6 mb-2 pl-2"}," Slice ",-1),lv={__name:"OptionPanel",setup(e){const t=Ra(),n=r=>{const i=Be.getDefaultOptions(r);t.powerGlitchOptions.playMode=r,t.powerGlitchOptions.timing=i.timing,t.powerGlitchOptions.glitchTimeSpan=i.glitchTimeSpan,t.powerGlitchOptions.shake=i.shake,t.powerGlitchOptions.slice=i.slice};return(r,i)=>(ye(),Re("div",ev,[tv,A("div",nv,[A("button",{onClick:i[0]||(i[0]=a=>n("always"))}," Infinite "),A("button",{onClick:i[1]||(i[1]=a=>n("hover-triggered"))}," Once on hover "),A("button",{onClick:i[2]||(i[2]=a=>n("hover-only"))}," Always on hover ")]),rv,H(as,{modelValue:U(t).powerGlitchOptions.imageUrl,"onUpdate:modelValue":i[3]||(i[3]=a=>U(t).powerGlitchOptions.imageUrl=a),class:"mt-1",title:"Image"},null,8,["modelValue"]),H(os,{modelValue:U(t).powerGlitchOptions.playMode,"onUpdate:modelValue":i[4]||(i[4]=a=>U(t).powerGlitchOptions.playMode=a),class:"mt-1",title:"Activate",values:["always","hover-triggered","hover-only"]},null,8,["modelValue"]),H(as,{modelValue:U(t).powerGlitchOptions.backgroundColor,"onUpdate:modelValue":i[5]||(i[5]=a=>U(t).powerGlitchOptions.backgroundColor=a),class:"mt-1",title:"Background color"},null,8,["modelValue"]),H(ss,{modelValue:U(t).powerGlitchOptions.hideOverflow,"onUpdate:modelValue":i[6]||(i[6]=a=>U(t).powerGlitchOptions.hideOverflow=a),class:"mt-1",title:"Hide overflow"},null,8,["modelValue"]),iv,H(Ke,{modelValue:U(t).powerGlitchOptions.timing.duration,"onUpdate:modelValue":i[7]||(i[7]=a=>U(t).powerGlitchOptions.timing.duration=a),class:"mt-1",title:"Loop duration (ms)",min:500,max:1e4,step:100},null,8,["modelValue","title"]),H(kn,{class:"mt-1",modelValue:U(t).powerGlitchOptions.timing.iterations===1/0,title:"Repeat indefinitely",getDefaultValue:a=>a?1/0:1,"onUpdate:modelValue":i[8]||(i[8]=a=>U(t).powerGlitchOptions.timing.iterations=a)},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.timing.iterations<1/0?(ye(),br(Ke,{key:0,modelValue:U(t).powerGlitchOptions.timing.iterations,"onUpdate:modelValue":i[9]||(i[9]=a=>U(t).powerGlitchOptions.timing.iterations=a),class:"mt-1",title:"Repeat count",min:1,max:60,step:1},null,8,["modelValue"])):jt("",!0),H(kn,{class:"mt-1",modelValue:!!U(t).powerGlitchOptions.timing.easing,title:"Smooth transition",getDefaultValue:a=>a?"ease-in-out":void 0,"onUpdate:modelValue":i[10]||(i[10]=a=>U(t).powerGlitchOptions.timing.easing=a)},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.timing.easing?(ye(),br(os,{key:1,modelValue:U(t).powerGlitchOptions.timing.easing,"onUpdate:modelValue":i[11]||(i[11]=a=>U(t).powerGlitchOptions.timing.easing=a),class:"mt-1",title:"Easing",values:["ease-in-out","ease-in","ease-out","linear"]},null,8,["modelValue"])):jt("",!0),av,H(kn,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan,"onUpdate:modelValue":i[12]||(i[12]=a=>U(t).powerGlitchOptions.glitchTimeSpan=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).glitchTimeSpan:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.glitchTimeSpan?(ye(),Re(Me,{key:2},[H(Ke,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan.start,"onUpdate:modelValue":i[13]||(i[13]=a=>U(t).powerGlitchOptions.glitchTimeSpan.start=a),class:"mt-1",title:"Start time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.glitchTimeSpan.end,"onUpdate:modelValue":i[14]||(i[14]=a=>U(t).powerGlitchOptions.glitchTimeSpan.end=a),class:"mt-1",title:"End time (%)",min:0,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):jt("",!0),ov,H(kn,{modelValue:U(t).powerGlitchOptions.shake,"onUpdate:modelValue":i[15]||(i[15]=a=>U(t).powerGlitchOptions.shake=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).shake:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.shake?(ye(),Re(Me,{key:3},[H(Ke,{modelValue:U(t).powerGlitchOptions.shake.velocity,"onUpdate:modelValue":i[16]||(i[16]=a=>U(t).powerGlitchOptions.shake.velocity=a),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.shake.amplitudeX,"onUpdate:modelValue":i[17]||(i[17]=a=>U(t).powerGlitchOptions.shake.amplitudeX=a),class:"mt-1",title:"X amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.shake.amplitudeY,"onUpdate:modelValue":i[18]||(i[18]=a=>U(t).powerGlitchOptions.shake.amplitudeY=a),class:"mt-1",title:"Y amplitude (%)",min:0,max:2,step:.01,factor:100},null,8,["modelValue","title","min","max","step"])],64)):jt("",!0),sv,H(kn,{modelValue:U(t).powerGlitchOptions.slice,"onUpdate:modelValue":i[19]||(i[19]=a=>U(t).powerGlitchOptions.slice=a),title:"Enabled",getDefaultValue:a=>a?U(Be).getDefaultOptions(U(t).powerGlitchOptions.playMode).slice:!1},null,8,["modelValue","getDefaultValue"]),U(t).powerGlitchOptions.slice?(ye(),Re(Me,{key:4},[H(Ke,{modelValue:U(t).powerGlitchOptions.slice.count,"onUpdate:modelValue":i[20]||(i[20]=a=>U(t).powerGlitchOptions.slice.count=a),class:"mt-1",title:"Count (slice/step)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.velocity,"onUpdate:modelValue":i[21]||(i[21]=a=>U(t).powerGlitchOptions.slice.velocity=a),class:"mt-1",title:"Velocity (steps/s)",min:1,max:60,step:1},null,8,["modelValue","title"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.minHeight,"onUpdate:modelValue":i[22]||(i[22]=a=>U(t).powerGlitchOptions.slice.minHeight=a),class:"mt-1",title:"Min slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(Ke,{modelValue:U(t).powerGlitchOptions.slice.maxHeight,"onUpdate:modelValue":i[23]||(i[23]=a=>U(t).powerGlitchOptions.slice.maxHeight=a),class:"mt-1",title:"Max slice height (%)",min:.01,max:1,step:.01,factor:100},null,8,["modelValue","title","min","max","step"]),H(ss,{modelValue:U(t).powerGlitchOptions.slice.hueRotate,"onUpdate:modelValue":i[24]||(i[24]=a=>U(t).powerGlitchOptions.slice.hueRotate=a),class:"mt-1",title:"Hue rotate"},null,8,["modelValue"])],64)):jt("",!0)]))}},cv={class:"px-4"},uv=A("p",null,"Copy the options object below in your app",-1),fv=["textContent"],dv={__name:"ExportPanel",setup(e){const t=Ra(),n=ze(null),r=()=>{let i=new Range;i.setStart(n.value,0),i.setEnd(n.value,1),document.getSelection().removeAllRanges(),document.getSelection().addRange(i)};return(i,a)=>(ye(),Re("div",cv,[uv,A("pre",{ref_key:"preRef",ref:n,class:"bg-white p-4 rounded shadow overflow-auto",onClick:r,textContent:ht(JSON.stringify(U(t).powerGlitchOptions,(o,s)=>o==="iterations"&&s===1/0?void 0:s,2))},null,8,fv)]))}};const hv={__name:"ImagePreview",setup(e){const t=Ra(),n=ze(null),r=()=>{!n.value||Be.glitch(n.value,t.powerGlitchOptions)};return un(r),Nt(t.powerGlitchOptions,r),(i,a)=>(ye(),Re("div",null,[A("div",{ref_key:"container",ref:n,class:"glitch"},null,512)]))}},mv=Xn(hv,[["__scopeId","data-v-5ce40a34"]]);const pv={class:"app h-full flex flex-row w-full"},gv={class:"fixed right-0 top-0 mx-6 my-4 text-4xl"},bv=ge(" \u{1F519} "),vv={class:"option-panel border p-4 overflow-y-auto"},yv={class:"font-bold text-xl mb-4 flex"},wv={class:"grow flex gap-2"},_v=ge(" PowerGlitch "),xv={title:"Github",target:"_blank",href:"https://github.com/7PH/powerglitch"},Ev={class:"grow flex flex-col bg-white"},Av={class:"grow flex flex-col justify-center"},kv={__name:"PlaygroundView",setup(e){const t=ze(null);un(()=>{Be.glitch(t.value,{...Be.getDefaultOptions("always"),imageUrl:kb})});const n=ze("options");return(r,i)=>{const a=Ze("RouterLink"),o=Ze("fa");return ye(),Re("div",pv,[A("p",gv,[H(a,{to:"/"},{default:qe(()=>[bv]),_:1})]),A("div",vv,[A("div",yv,[A("div",wv,[A("div",{ref_key:"logoGlitch",ref:t,style:{width:"30px",height:"30px"}},null,512),_v]),A("div",null,[A("a",xv,[H(o,{icon:"fa-brands fa-github"})])])]),n.value==="options"?(ye(),Re(Me,{key:0},[H(lv),A("button",{class:"mt-6 w-full",onClick:i[0]||(i[0]=s=>n.value="export")}," Show code ")],64)):jt("",!0),n.value==="export"?(ye(),Re(Me,{key:1},[H(dv),A("button",{class:"mt-6 w-full",onClick:i[1]||(i[1]=s=>n.value="options")}," Back to options ")],64)):jt("",!0)]),A("div",Ev,[A("div",Av,[H(mv,{class:"mx-auto"})])])])}}},Ov=Xn(kv,[["__scopeId","data-v-5c6e4240"]]);ln.registerLanguage("javascript",Vp);ln.registerLanguage("css",Zp);ln.registerLanguage("shell",Jp);ng();const Sv=jf(),Cv=Wd({history:cd(),routes:[{name:"home",path:"/",component:Gg},{name:"usage",path:"/usage",component:Ab},{name:"playground",path:"/playground",component:Ov}]});$f(ag).use(Cv).use(Sv).component("fa",Ym).use(eg).mount("#app"); diff --git a/docs/assets/index.5af9e8a8.css b/docs/assets/index.b2c1b130.css similarity index 98% rename from docs/assets/index.5af9e8a8.css rename to docs/assets/index.b2c1b130.css index 3456222..a2dd3a7 100644 --- a/docs/assets/index.5af9e8a8.css +++ b/docs/assets/index.b2c1b130.css @@ -5,4 +5,4 @@ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5p Author: (c) Henri Vandersleyen License: see project LICENSE Touched: 2022 -*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.right-0{right:0px}.top-0{top:0px}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.mx-auto{margin-left:auto;margin-right:auto}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mt-6{margin-top:1.5rem}.mb-2{margin-bottom:.5rem}.ml-4{margin-left:1rem}.mt-1{margin-top:.25rem}.mb-8{margin-bottom:2rem}.mt-16{margin-top:4rem}.mt-8{margin-top:2rem}.mt-4{margin-top:1rem}.mt-2{margin-top:.5rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.w-20{width:5rem}.min-w-0{min-width:0px}.grow{flex-grow:1}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-8{gap:2rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.pl-4{padding-left:1rem}.pl-2{padding-left:.5rem}.pb-8{padding-bottom:2rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}body{overflow-y:auto;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));height:100vh;color:#000}#app{height:100%}input,select,button{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.25rem .75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mt-8{margin-top:2rem}}.app[data-v-7bad3378]{max-width:600px}.example[data-v-7bad3378]{width:120px;height:120px}.app[data-v-131b5b79]{max-width:600px}.example[data-v-131b5b79]{width:120px;height:120px}.glitch[data-v-5ce40a34]{width:200px;height:200px}.option-panel[data-v-5c6e4240]{width:500px}@media screen and (max-width: 1060px){.app[data-v-5c6e4240]{flex-direction:column-reverse}.option-panel[data-v-5c6e4240]{width:100%;height:50%}} +*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.right-0{right:0px}.top-0{top:0px}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.mx-auto{margin-left:auto;margin-right:auto}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mt-6{margin-top:1.5rem}.mb-2{margin-bottom:.5rem}.ml-4{margin-left:1rem}.mt-1{margin-top:.25rem}.mb-8{margin-bottom:2rem}.mt-16{margin-top:4rem}.mt-8{margin-top:2rem}.mt-4{margin-top:1rem}.mt-2{margin-top:.5rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.w-20{width:5rem}.min-w-0{min-width:0px}.grow{flex-grow:1}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.justify-center{justify-content:center}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-8{gap:2rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.pl-4{padding-left:1rem}.pl-2{padding-left:.5rem}.pb-8{padding-bottom:2rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}body{overflow-y:auto;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));height:100vh;color:#000}#app{height:100%}input,select,button{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.25rem .75rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mt-8{margin-top:2rem}}.app[data-v-8cf0fa22]{max-width:600px}.example[data-v-8cf0fa22]{width:120px;height:120px}.app[data-v-69a3736d]{max-width:600px}.example[data-v-69a3736d]{width:120px;height:120px}.glitch[data-v-5ce40a34]{width:200px;height:200px}.option-panel[data-v-5c6e4240]{width:500px}@media screen and (max-width: 1060px){.app[data-v-5c6e4240]{flex-direction:column-reverse}.option-panel[data-v-5c6e4240]{width:100%;height:50%}} diff --git a/docs/index.html b/docs/index.html index 5741ce6..e6cf19b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,8 +5,8 @@ PowerGlitch - Glitch anything on the web - - + +
diff --git a/package.json b/package.json index 334d049..6c4ed26 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "test": "npm run lint && npm run size" }, "files": [ - "/lib" + "/lib", + "/dist" ], "devDependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1",