From 8fafa97caa7a70653dc81b4dc7b0106ca96351eb Mon Sep 17 00:00:00 2001 From: joseph2 Date: Fri, 19 Jan 2024 11:21:21 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20joseph2/?= =?UTF-8?q?vue-slide-unlock@74e436d511fe5d84b9e62a126250ab8b0d685e73=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index-4030c2ab.css | 1 - assets/index-PyhrmmqR.js | 17 +++++++++++++++++ assets/index-eb9ba1ad.js | 1 - assets/index-wc3g3L61.css | 1 + .../{logo-03d6d6da.png => logo-j5j6qipL.png} | Bin index.html | 5 ++--- 6 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 assets/index-4030c2ab.css create mode 100644 assets/index-PyhrmmqR.js delete mode 100644 assets/index-eb9ba1ad.js create mode 100644 assets/index-wc3g3L61.css rename assets/{logo-03d6d6da.png => logo-j5j6qipL.png} (100%) diff --git a/assets/index-4030c2ab.css b/assets/index-4030c2ab.css deleted file mode 100644 index 12ec125..0000000 --- a/assets/index-4030c2ab.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes animated-e1471ca2{0%{background-position:-300px 0}to{background-position:300px 0}}@keyframes shine-e1471ca2{to{width:100%;transition:all 5s ease-out;background-color:#fff0}}.slideunlock[data-v-e1471ca2]{--su-size-text: 24px;--su-size-padding: 6px;--su-color-bg: #EBEBEB;--su-color-progress-normal-bg: #CACACA;--su-color-progress-complete-bg: #42B983;--su-color-text-normal: #4F4F4F;--su-color-text-complete: #FEFEFE;--su-color-handler-bg: #FFFFFF;--su-icon-handler: url(data:image/svg;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTEyNTVEMURGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTEyNTVEMUNGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTc5NzNmZS02OTQxLTQyOTYtYTIwNi02NDI2YTNkOWU5YmUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+YiRG4AAAALFJREFUeNpi/P//PwMlgImBQkA9A+bOnfsIiBOxKcInh+yCaCDuByoswaIOpxwjciACFegBqZ1AvBSIS5OTk/8TkmNEjwWgQiUgtQuIjwAxUF3yX3xyGIEIFLwHpKyAWB+I1xGSwxULIGf9A7mQkBwTlhBXAFLHgPgqEAcTkmNCU6AL9d8WII4HOvk3ITkWJAXWUMlOoGQHmsE45ViQ2KuBuASoYC4Wf+OUYxz6mQkgwAAN9mIrUReCXgAAAABJRU5ErkJggg==);display:flex;position:relative;box-sizing:content-box;padding:var(--su-size-padding);background-color:var(--su-color-bg);text-align:center}.slideunlock[data-v-e1471ca2]:after{content:"";position:absolute;top:0;left:0;width:0%;height:100%;transition:none;animation:shine-e1471ca2 4s infinite;background-color:#fff6}.slideunlock .slideunlock-progressbar[data-v-e1471ca2]{position:absolute;z-index:1;width:0;height:34px;transition:background 1s ease-out;background-color:var(--su-color-progress-normal-bg)}.slideunlock .slideunlock-text[data-v-e1471ca2]{display:inline;z-index:2;align-items:center;justify-content:center;width:100%;transition:background 1s ease,color 1s ease;animation:animated-e1471ca2 2s linear infinite;background:var(--su-color-text-normal) linear-gradient(90deg,rgba(255,255,255,0),white,rgba(255,255,255,0)) no-repeat;background-clip:text;-webkit-background-clip:text;color:transparent;font-size:var(--su-size-text);-webkit-user-select:none;user-select:none}.slideunlock .slideunlock-text[data-v-e1471ca2]:before{content:"";display:inline-block;height:100%;vertical-align:middle}.slideunlock .slideunlock-handler[data-v-e1471ca2]{position:absolute;z-index:3;top:0;left:0;margin:var(--su-size-padding);transition:background .75s ease,transform .1s ease-in;background:var(--su-color-handler-bg) var(--su-icon-handler) no-repeat center;cursor:grab}.slideunlock .slideunlock-handler[data-v-e1471ca2]:active{transform:scale(1.05);cursor:grabbing}.slideunlock.is-circle[data-v-e1471ca2]{border-radius:50rem}.slideunlock.is-circle[data-v-e1471ca2]:after{border-radius:50rem 0 0 50rem}.slideunlock.is-circle .slideunlock-handler[data-v-e1471ca2]{border-radius:50%}.slideunlock.is-noanimate[data-v-e1471ca2]:after{animation:none}.slideunlock.is-noanimate .slideunlock-text[data-v-e1471ca2]{animation:none;color:var(--su-color-text-normal)}.slideunlock.is-disabled[data-v-e1471ca2]{opacity:.5}.slideunlock.is-disabled[data-v-e1471ca2]:after{content:"";position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;animation:none;opacity:.5;background-color:var(--su-color-bg)}.slideunlock.is-disabled .slideunlock-text[data-v-e1471ca2]{animation:none;opacity:.25;color:var(--su-color-text-normal)}.slideunlock.is-disabled .slideunlock-handler[data-v-e1471ca2]{pointer-events:none}.slideunlock.is-disabled.is-circle[data-v-e1471ca2]:after{border-radius:50rem}.slideunlock.is-complete[data-v-e1471ca2]:after{animation:none}.slideunlock.is-complete .slideunlock-progressbar[data-v-e1471ca2]{background-color:var(--su-color-progress-complete-bg)}.slideunlock.is-complete .slideunlock-text[data-v-e1471ca2]{animation:none;opacity:1!important;color:var(--su-color-text-complete)}.slideunlock.is-complete .slideunlock-handler[data-v-e1471ca2]{opacity:0;background:var(--su-color-progress-complete-bg)}:root{--color-bg: #FEFEFE;--color-lightestgray: #F7F7F7;--color-lightgray: #EAEAEA;--color-mediumgray: #C1C6C7;--color-gray: #8F989A;--color-text: #5A6265;--color-theme: #42B983}html,body,#app{margin-top:2.5rem;background-color:var(--color-bg);color:var(--color-text);font-family:Helvetica neue,Helvetica,Arial,sans-serif;text-rendering:optimizelegibility}.container{width:60rem;max-width:96%;margin:0 auto}.container.is-content{width:35rem}a{transition:color .2s ease,border-bottom-color .2s ease;border:none;color:var(--color-theme);font-family:inherit;line-height:inherit;text-decoration:none;cursor:pointer}h1,h2,h4{margin:0;margin-bottom:.5rem;color:inherit;font-style:normal;font-weight:800;letter-spacing:-1px;text-rendering:optimizelegibility}h1{font-size:1.75rem}h2{font-size:1.125rem}section{margin-bottom:1rem}section h1,section h2{text-align:center}.version{font-size:.75rem;line-height:.75rem;margin-left:.5rem;font-weight:700}.btn{padding:.5rem 1.25rem;transition:all .2s ease;border:1px solid var(--color-text);border-radius:.25rem;background-color:var(--color-bg);color:var(--color-text);font-size:.875rem;font-weight:500}.btn:hover{border-color:var(--color-theme);background-color:var(--color-lightestgray);color:var(--color-theme);cursor:pointer}.btn:active{background-color:var(--color-theme);color:var(--color-bg)}.grid{display:grid;grid-template-columns:repeat(2,1fr);column-gap:1rem;row-gap:.5rem}.grid.is-1{grid-template-columns:repeat(1,1fr);padding:.5rem 0 0}.grid.is-4{grid-template-columns:repeat(4,1fr);padding:.5rem 0}.grid .item{max-width:100%;overflow:hidden}.grid .item label{display:block;margin-bottom:.25rem;font-size:.875rem}.grid .item input{box-sizing:border-box}.grid .item input[type=text],.grid .item input[type=color],.grid .item input[type=number]{display:block;position:relative;width:100%;min-width:100%;max-width:100%;height:2rem;padding:.125rem .5rem;transition:all .2s ease;border:1px solid var(--color-lightgray);border-radius:.25rem;background-color:var(--color-bg);color:var(--color-gray);font-size:.75rem;line-height:.75rem;cursor:text}.grid .item input[type=text]:hover,.grid .item input[type=color]:hover,.grid .item input[type=number]:hover{border-color:var(--color-mediumgray)}.grid .item input[type=text]:focus,.grid .item input[type=text].focus,.grid .item input[type=color]:focus,.grid .item input[type=color].focus,.grid .item input[type=number]:focus,.grid .item input[type=number].focus{border-color:var(--color-theme);outline:none}.grid .item input[type=text]:disabled,.grid .item input[type=color]:disabled,.grid .item input[type=number]:disabled{opacity:1;background-color:var(--color-lightestgray);cursor:not-allowed}.grid .item input[type=text]:disabled:hover,.grid .item input[type=color]:disabled:hover,.grid .item input[type=number]:disabled:hover{border-color:var(--color-lightgray)}.grid .item input[type=color]{padding:0;border:none;cursor:pointer}nav,footer{width:100%;background-color:var(--color-bg)}nav{position:fixed;z-index:5;top:0;left:0;height:50px;border-bottom:1px solid var(--color-lightgray)}nav .container{display:flex;align-items:center;justify-content:space-between}nav .container>div{display:flex;align-items:center}nav h4{margin:0;font-size:1rem;line-height:50px}nav img{width:24px;height:auto;margin-right:.5rem}nav .nav-item{margin-left:1rem;transition:all .3s ease;color:var(--color-gray);font-size:12px;font-weight:700}nav .nav-item:hover{color:var(--color-theme)}nav .nav-icon{width:20px;height:auto;margin-top:4px;transition:all .3s ease;fill:var(--color-gray)}nav .nav-icon:hover{fill:var(--color-theme)}footer{margin-top:1rem;padding:1rem 0;border-top:1px solid var(--color-lightgray);font-size:.875rem;line-height:1.25;text-align:center}footer a{font-size:.75rem}.head{text-align:center}.head .logo{width:3rem;height:auto}.head .description{margin-bottom:1rem}.demo-section{margin:4rem 0}.actions-section{display:grid;gap:.5rem;grid-template-columns:1fr 1fr}.actions-section h2{grid-column:1/3;margin-bottom:0} diff --git a/assets/index-PyhrmmqR.js b/assets/index-PyhrmmqR.js new file mode 100644 index 0000000..322ab11 --- /dev/null +++ b/assets/index-PyhrmmqR.js @@ -0,0 +1,17 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** +* @vue/shared v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Hn(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const k={},st=[],he=()=>{},qo=()=>!1,Xt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ln=e=>e.startsWith("onUpdate:"),ee=Object.assign,Un=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Go=Object.prototype.hasOwnProperty,N=(e,t)=>Go.call(e,t),M=Array.isArray,ot=e=>wt(e)==="[object Map]",Jt=e=>wt(e)==="[object Set]",is=e=>wt(e)==="[object Date]",R=e=>typeof e=="function",Z=e=>typeof e=="string",He=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Ws=e=>(K(e)||R(e))&&R(e.then)&&R(e.catch),ks=Object.prototype.toString,wt=e=>ks.call(e),Xo=e=>wt(e).slice(8,-1),Ds=e=>wt(e)==="[object Object]",Bn=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=Hn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jo=/-(\w)/g,we=Yt(e=>e.replace(Jo,(t,n)=>n?n.toUpperCase():"")),Yo=/\B([A-Z])/g,ft=Yt(e=>e.replace(Yo,"-$1").toLowerCase()),Zt=Yt(e=>e.charAt(0).toUpperCase()+e.slice(1)),gn=Yt(e=>e?`on${Zt(e)}`:""),Le=(e,t)=>!Object.is(e,t),Nt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let rs;const Ks=()=>rs||(rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qe(e){if(M(e)){const t={};for(let n=0;n{if(n){const s=n.split(Qo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Qt(e){let t="";if(Z(e))t=e;else if(M(e))for(let n=0;nen(n,t))}const Sn=e=>Z(e)?e:e==null?"":M(e)||K(e)&&(e.toString===ks||!R(e.toString))?JSON.stringify(e,Gs,2):String(e),Gs=(e,t)=>t&&t.__v_isRef?Gs(e,t.value):ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[mn(s,i)+" =>"]=o,n),{})}:Jt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mn(n))}:He(t)?mn(t):K(t)&&!M(t)&&!Ds(t)?String(t):t,mn=(e,t="")=>{var n;return He(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let ge;class ii{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ge;try{return ge=this,t()}finally{ge=n}}}on(){ge=this}off(){ge=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),Ze()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ne,n=Xe;try{return Ne=!0,Xe=this,this._runnings++,ls(this),this.fn()}finally{cs(this),this._runnings--,Xe=n,Ne=t}}stop(){var t;this.active&&(ls(this),cs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ci(e){return e.value}function ls(e){e._trackId++,e._depsLength=0}function cs(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Pn=new WeakMap,Je=Symbol(""),In=Symbol("");function ue(e,t,n){if(Ne&&Xe){let s=Pn.get(e);s||Pn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=eo(()=>s.delete(n))),Ys(Xe,o)}}function Pe(e,t,n,s,o,i){const r=Pn.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&M(e)){const u=Number(s);r.forEach((a,h)=>{(h==="length"||!He(h)&&h>=u)&&l.push(a)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":M(e)?Bn(n)&&l.push(r.get("length")):(l.push(r.get(Je)),ot(e)&&l.push(r.get(In)));break;case"delete":M(e)||(l.push(r.get(Je)),ot(e)&&l.push(r.get(In)));break;case"set":ot(e)&&l.push(r.get(Je));break}kn();for(const u of l)u&&Zs(u,2);Dn()}const ui=Hn("__proto__,__v_isRef,__isVue"),to=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(He)),us=fi();function fi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=H(this);for(let i=0,r=this.length;i{e[t]=function(...n){Ye(),kn();const s=H(this)[t].apply(this,n);return Dn(),Ze(),s}}),e}function ai(e){const t=H(this);return ue(t,"has",e),t.hasOwnProperty(e)}class no{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(o?i?Si:ro:i?io:oo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=M(t);if(!o){if(r&&N(us,n))return Reflect.get(us,n,s);if(n==="hasOwnProperty")return ai}const l=Reflect.get(t,n,s);return(He(n)?to.has(n):ui(n))||(o||ue(t,"get",n),i)?l:fe(l)?r&&Bn(n)?l:l.value:K(l)?o?lo(l):nn(l):l}}class so extends no{constructor(t=!1){super(!1,t)}set(t,n,s,o){let i=t[n];if(!this._shallow){const u=ct(i);if(!kt(s)&&!ct(s)&&(i=H(i),s=H(s)),!M(t)&&fe(i)&&!fe(s))return u?!1:(i.value=s,!0)}const r=M(t)&&Bn(n)?Number(n)e,tn=e=>Reflect.getPrototypeOf(e);function Pt(e,t,n=!1,s=!1){e=e.__v_raw;const o=H(e),i=H(t);n||(Le(t,i)&&ue(o,"get",t),ue(o,"get",i));const{has:r}=tn(o),l=s?Kn:n?Gn:bt;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function It(e,t=!1){const n=this.__v_raw,s=H(n),o=H(e);return t||(Le(e,o)&&ue(s,"has",e),ue(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ot(e,t=!1){return e=e.__v_raw,!t&&ue(H(e),"iterate",Je),Reflect.get(e,"size",e)}function fs(e){e=H(e);const t=H(this);return tn(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function as(e,t){t=H(t);const n=H(this),{has:s,get:o}=tn(n);let i=s.call(n,e);i||(e=H(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?Le(t,r)&&Pe(n,"set",e,t):Pe(n,"add",e,t),this}function ds(e){const t=H(this),{has:n,get:s}=tn(t);let o=n.call(t,e);o||(e=H(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&Pe(t,"delete",e,void 0),i}function hs(){const e=H(this),t=e.size!==0,n=e.clear();return t&&Pe(e,"clear",void 0,void 0),n}function Mt(e,t){return function(s,o){const i=this,r=i.__v_raw,l=H(r),u=t?Kn:e?Gn:bt;return!e&&ue(l,"iterate",Je),r.forEach((a,h)=>s.call(o,u(a),u(h),i))}}function At(e,t,n){return function(...s){const o=this.__v_raw,i=H(o),r=ot(i),l=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,a=o[e](...s),h=n?Kn:t?Gn:bt;return!t&&ue(i,"iterate",u?In:Je),{next(){const{value:y,done:w}=a.next();return w?{value:y,done:w}:{value:l?[h(y[0]),h(y[1])]:h(y),done:w}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function mi(){const e={get(i){return Pt(this,i)},get size(){return Ot(this)},has:It,add:fs,set:as,delete:ds,clear:hs,forEach:Mt(!1,!1)},t={get(i){return Pt(this,i,!1,!0)},get size(){return Ot(this)},has:It,add:fs,set:as,delete:ds,clear:hs,forEach:Mt(!1,!0)},n={get(i){return Pt(this,i,!0)},get size(){return Ot(this,!0)},has(i){return It.call(this,i,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Mt(!0,!1)},s={get(i){return Pt(this,i,!0,!0)},get size(){return Ot(this,!0)},has(i){return It.call(this,i,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=At(i,!1,!1),n[i]=At(i,!0,!1),t[i]=At(i,!1,!0),s[i]=At(i,!0,!0)}),[e,n,t,s]}const[_i,bi,yi,vi]=mi();function zn(e,t){const n=t?e?vi:yi:e?bi:_i;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(N(n,o)&&o in s?n:s,o,i)}const xi={get:zn(!1,!1)},Ci={get:zn(!1,!0)},wi={get:zn(!0,!1)},oo=new WeakMap,io=new WeakMap,ro=new WeakMap,Si=new WeakMap;function Ei(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ti(e){return e.__v_skip||!Object.isExtensible(e)?0:Ei(Xo(e))}function nn(e){return ct(e)?e:qn(e,!1,hi,xi,oo)}function Pi(e){return qn(e,!1,gi,Ci,io)}function lo(e){return qn(e,!0,pi,wi,ro)}function qn(e,t,n,s,o){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Ti(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function it(e){return ct(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function kt(e){return!!(e&&e.__v_isShallow)}function co(e){return it(e)||ct(e)}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function uo(e){return Wt(e,"__v_skip",!0),e}const bt=e=>K(e)?nn(e):e,Gn=e=>K(e)?lo(e):e;class fo{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Wn(()=>t(this._value),()=>$t(this,1),()=>this.dep&&Qs(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=H(this);return(!t._cacheable||t.effect.dirty)&&Le(t._value,t._value=t.effect.run())&&$t(t,2),ao(t),t.effect._dirtyLevel>=1&&$t(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ii(e,t,n=!1){let s,o;const i=R(e);return i?(s=e,o=he):(s=e.get,o=e.set),new fo(s,o,i||!o,n)}function ao(e){Ne&&Xe&&(e=H(e),Ys(Xe,e.dep||(e.dep=eo(()=>e.dep=void 0,e instanceof fo?e:void 0))))}function $t(e,t=2,n){e=H(e);const s=e.dep;s&&Zs(s,t)}function fe(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return Oi(e,!1)}function Oi(e,t){return fe(e)?e:new Mi(e,t)}class Mi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:H(t),this._value=n?t:bt(t)}get value(){return ao(this),this._value}set value(t){const n=this.__v_isShallow||kt(t)||ct(t);t=n?t:H(t),Le(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:bt(t),$t(this,2))}}function Ai(e){return fe(e)?e.value:e}const Vi={get:(e,t,n)=>Ai(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return fe(o)&&!fe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function ho(e){return it(e)?e:new Proxy(e,Vi)}/** +* @vue/runtime-core v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function $e(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){sn(i,t,n)}return o}function _e(e,t,n,s){if(R(e)){const i=$e(e,t,n,s);return i&&Ws(i)&&i.catch(r=>{sn(r,t,n)}),i}const o=[];for(let i=0;i>>1,o=se[s],i=vt(o);iCe&&se.splice(t,1)}function $i(e){M(e)?rt.push(...e):(!Re||!Re.includes(e,e.allowRecurse?Ke+1:Ke))&&rt.push(e),go()}function ps(e,t,n=yt?Ce+1:0){for(;nvt(n)-vt(s));if(rt.length=0,Re){Re.push(...t);return}for(Re=t,Ke=0;Kee.id==null?1/0:e.id,Hi=(e,t)=>{const n=vt(e)-vt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _o(e){On=!1,yt=!0,se.sort(Hi);try{for(Ce=0;CeZ(O)?O.trim():O)),y&&(o=n.map(wn))}let l,u=s[l=gn(t)]||s[l=gn(we(t))];!u&&i&&(u=s[l=gn(ft(t))]),u&&_e(u,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,_e(a,e,6,o)}}function bo(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!R(e)){const u=a=>{const h=bo(a,t,!0);h&&(l=!0,ee(r,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(K(e)&&s.set(e,null),null):(M(i)?i.forEach(u=>r[u]=null):ee(r,i),K(e)&&s.set(e,r),r)}function on(e,t){return!e||!Xt(t)?!1:(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,ft(t))||N(e,t))}let ce=null,yo=null;function Dt(e){const t=ce;return ce=e,yo=e&&e.type.__scopeId||null,t}function Ui(e,t=ce,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Es(-1);const i=Dt(t);let r;try{r=e(...o)}finally{Dt(i),s._d&&Es(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function _n(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:u,emit:a,render:h,renderCache:y,data:w,setupState:O,ctx:W,inheritAttrs:E}=e;let j,U;const te=Dt(e);try{if(n.shapeFlag&4){const z=o||s,G=z;j=xe(h.call(G,z,y,i,O,w,W)),U=u}else{const z=t;j=xe(z.length>1?z(i,{attrs:u,slots:l,emit:a}):z(i,null)),U=t.props?u:Bi(u)}}catch(z){_t.length=0,sn(z,e,1),j=Ie(xt)}let $=j;if(U&&E!==!1){const z=Object.keys(U),{shapeFlag:G}=$;z.length&&G&7&&(r&&z.some(Ln)&&(U=Wi(U,r)),$=ut($,U))}return n.dirs&&($=ut($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),j=$,Dt(te),j}const Bi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xt(n))&&((t||(t={}))[n]=e[n]);return t},Wi=(e,t)=>{const n={};for(const s in e)(!Ln(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ki(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?gs(s,r,a):!!r;if(u&8){const h=t.dynamicProps;for(let y=0;ye.__isSuspense;function Xi(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):$i(e)}const Ji=Symbol.for("v-scx"),Yi=()=>Lt(Ji),Vt={};function gt(e,t,n){return xo(e,t,n)}function xo(e,t,{immediate:n,deep:s,flush:o,once:i,onTrack:r,onTrigger:l}=k){if(t&&i){const P=t;t=(...q)=>{P(...q),G()}}const u=oe,a=P=>s===!0?P:Ge(P,s===!1?1:void 0);let h,y=!1,w=!1;if(fe(e)?(h=()=>e.value,y=kt(e)):it(e)?(h=()=>a(e),y=!0):M(e)?(w=!0,y=e.some(P=>it(P)||kt(P)),h=()=>e.map(P=>{if(fe(P))return P.value;if(it(P))return a(P);if(R(P))return $e(P,u,2)})):R(e)?t?h=()=>$e(e,u,2):h=()=>(O&&O(),_e(e,u,3,[W])):h=he,t&&s){const P=h;h=()=>Ge(P())}let O,W=P=>{O=$.onStop=()=>{$e(P,u,4),O=$.onStop=void 0}},E;if(un)if(W=he,t?n&&_e(t,u,3,[h(),w?[]:void 0,W]):h(),o==="sync"){const P=Yi();E=P.__watcherHandles||(P.__watcherHandles=[])}else return he;let j=w?new Array(e.length).fill(Vt):Vt;const U=()=>{if(!(!$.active||!$.dirty))if(t){const P=$.run();(s||y||(w?P.some((q,X)=>Le(q,j[X])):Le(P,j)))&&(O&&O(),_e(t,u,3,[P,j===Vt?void 0:w&&j[0]===Vt?[]:j,W]),j=P)}else $.run()};U.allowRecurse=!!t;let te;o==="sync"?te=U:o==="post"?te=()=>le(U,u&&u.suspense):(U.pre=!0,u&&(U.id=u.uid),te=()=>Jn(U));const $=new Wn(h,he,te),z=li(),G=()=>{$.stop(),z&&Un(z.effects,$)};return t?n?U():j=$.run():o==="post"?le($.run.bind($),u&&u.suspense):$.run(),E&&E.push(G),G}function Zi(e,t,n){const s=this.proxy,o=Z(e)?e.includes(".")?Co(s,e):()=>s[e]:e.bind(s,s);let i;R(t)?i=t:(i=t.handler,n=t);const r=St(this),l=xo(o,i.bind(s),n);return r(),l}function Co(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),fe(e))Ge(e.value,t,n,s);else if(M(e))for(let o=0;o{Ge(o,t,n,s)});else if(Ds(e))for(const o in e)Ge(e[o],t,n,s);return e}function Q(e,t){if(ce===null)return e;const n=fn(ce)||ce.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;oee({name:e.name},t,{setup:e}))():e}const Ht=e=>!!e.type.__asyncLoader,So=e=>e.type.__isKeepAlive;function Qi(e,t){Eo(e,"a",t)}function er(e,t){Eo(e,"da",t)}function Eo(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(rn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)So(o.parent.vnode)&&tr(s,t,n,o),o=o.parent}}function tr(e,t,n,s){const o=rn(t,e,s,!0);To(()=>{Un(s[t],o)},n)}function rn(e,t,n=oe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Ye();const l=St(n),u=_e(t,n,e,r);return l(),Ze(),u});return s?o.unshift(i):o.push(i),i}}const Oe=e=>(t,n=oe)=>(!un||e==="sp")&&rn(e,(...s)=>t(...s),n),nr=Oe("bm"),sr=Oe("m"),or=Oe("bu"),ir=Oe("u"),rr=Oe("bum"),To=Oe("um"),lr=Oe("sp"),cr=Oe("rtg"),ur=Oe("rtc");function fr(e,t=oe){rn("ec",e,t)}const Mn=e=>e?Lo(e)?fn(e)||e.proxy:Mn(e.parent):null,mt=ee(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=>Mn(e.parent),$root:e=>Mn(e.root),$emit:e=>e.emit,$options:e=>Yn(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Jn(e.update)}),$nextTick:e=>e.n||(e.n=ji.bind(e.proxy)),$watch:e=>Zi.bind(e)}),bn=(e,t)=>e!==k&&!e.__isScriptSetup&&N(e,t),ar={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:u}=e;let a;if(t[0]!=="$"){const O=r[t];if(O!==void 0)switch(O){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(bn(s,t))return r[t]=1,s[t];if(o!==k&&N(o,t))return r[t]=2,o[t];if((a=e.propsOptions[0])&&N(a,t))return r[t]=3,i[t];if(n!==k&&N(n,t))return r[t]=4,n[t];An&&(r[t]=0)}}const h=mt[t];let y,w;if(h)return t==="$attrs"&&ue(e,"get",t),h(e);if((y=l.__cssModules)&&(y=y[t]))return y;if(n!==k&&N(n,t))return r[t]=4,n[t];if(w=u.config.globalProperties,N(w,t))return w[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return bn(o,t)?(o[t]=n,!0):s!==k&&N(s,t)?(s[t]=n,!0):N(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==k&&N(e,r)||bn(t,r)||(l=i[0])&&N(l,r)||N(s,r)||N(mt,r)||N(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _s(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let An=!0;function dr(e){const t=Yn(e),n=e.proxy,s=e.ctx;An=!1,t.beforeCreate&&bs(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:u,inject:a,created:h,beforeMount:y,mounted:w,beforeUpdate:O,updated:W,activated:E,deactivated:j,beforeDestroy:U,beforeUnmount:te,destroyed:$,unmounted:z,render:G,renderTracked:P,renderTriggered:q,errorCaptured:X,serverPrefetch:Me,expose:Se,inheritAttrs:Ue,components:Qe,directives:et,filters:Be}=t;if(a&&hr(a,s,null),r)for(const A in r){const L=r[A];R(L)&&(s[A]=L.bind(n))}if(o){const A=o.call(n,n);K(A)&&(e.data=nn(A))}if(An=!0,i)for(const A in i){const L=i[A],Ae=R(L)?L.bind(n,n):R(L.get)?L.get.bind(n,n):he,Et=!R(L)&&R(L.set)?L.set.bind(n):he,We=re({get:Ae,set:Et});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>We.value,set:be=>We.value=be})}if(l)for(const A in l)Po(l[A],s,n,A);if(u){const A=R(u)?u.call(n):u;Reflect.ownKeys(A).forEach(L=>{yr(L,A[L])})}h&&bs(h,e,"c");function ne(A,L){M(L)?L.forEach(Ae=>A(Ae.bind(n))):L&&A(L.bind(n))}if(ne(nr,y),ne(sr,w),ne(or,O),ne(ir,W),ne(Qi,E),ne(er,j),ne(fr,X),ne(ur,P),ne(cr,q),ne(rr,te),ne(To,z),ne(lr,Me),M(Se))if(Se.length){const A=e.exposed||(e.exposed={});Se.forEach(L=>{Object.defineProperty(A,L,{get:()=>n[L],set:Ae=>n[L]=Ae})})}else e.exposed||(e.exposed={});G&&e.render===he&&(e.render=G),Ue!=null&&(e.inheritAttrs=Ue),Qe&&(e.components=Qe),et&&(e.directives=et)}function hr(e,t,n=he){M(e)&&(e=Vn(e));for(const s in e){const o=e[s];let i;K(o)?"default"in o?i=Lt(o.from||s,o.default,!0):i=Lt(o.from||s):i=Lt(o),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function bs(e,t,n){_e(M(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Po(e,t,n,s){const o=s.includes(".")?Co(n,s):()=>n[s];if(Z(e)){const i=t[e];R(i)&>(o,i)}else if(R(e))gt(o,e.bind(n));else if(K(e))if(M(e))e.forEach(i=>Po(i,t,n,s));else{const i=R(e.handler)?e.handler.bind(n):t[e.handler];R(i)&>(o,i,e)}}function Yn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let u;return l?u=l:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(a=>Kt(u,a,r,!0)),Kt(u,t,r)),K(t)&&i.set(t,u),u}function Kt(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Kt(e,i,n,!0),o&&o.forEach(r=>Kt(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=pr[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const pr={data:ys,props:vs,emits:vs,methods:ht,computed:ht,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:ht,directives:ht,watch:mr,provide:ys,inject:gr};function ys(e,t){return t?e?function(){return ee(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function gr(e,t){return ht(Vn(e),Vn(t))}function Vn(e){if(M(e)){const t={};for(let n=0;n1)return n&&R(t)?t.call(s&&s.proxy):t}}function vr(e,t,n,s=!1){const o={},i={};Wt(i,cn,1),e.propsDefaults=Object.create(null),Oo(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:Pi(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function xr(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=H(o),[u]=e.propsOptions;let a=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[w,O]=Mo(y,t,!0);ee(r,w),O&&l.push(...O)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!u)return K(e)&&s.set(e,st),st;if(M(i))for(let h=0;h-1,O[1]=E<0||W-1||N(O,"default"))&&l.push(y)}}}const a=[r,l];return K(e)&&s.set(e,a),a}function xs(e){return e[0]!=="$"}function Cs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ws(e,t){return Cs(e)===Cs(t)}function Ss(e,t){return M(t)?t.findIndex(n=>ws(n,e)):R(t)&&ws(t,e)?0:-1}const Ao=e=>e[0]==="_"||e==="$stable",Zn=e=>M(e)?e.map(xe):[xe(e)],Cr=(e,t,n)=>{if(t._n)return t;const s=Ui((...o)=>Zn(t(...o)),n);return s._c=!1,s},Vo=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Ao(o))continue;const i=e[o];if(R(i))t[o]=Cr(o,i,s);else if(i!=null){const r=Zn(i);t[o]=()=>r}}},Ro=(e,t)=>{const n=Zn(t);e.slots.default=()=>n},wr=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=H(t),Wt(t,"_",n)):Vo(t,e.slots={})}else e.slots={},t&&Ro(e,t);Wt(e.slots,cn,1)},Sr=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=k;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ee(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Vo(t,o)),r=t}else t&&(Ro(e,t),r={default:1});if(i)for(const l in o)!Ao(l)&&r[l]==null&&delete o[l]};function jn(e,t,n,s,o=!1){if(M(e)){e.forEach((w,O)=>jn(w,t&&(M(t)?t[O]:t),n,s,o));return}if(Ht(s)&&!o)return;const i=s.shapeFlag&4?fn(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:u}=e,a=t&&t.r,h=l.refs===k?l.refs={}:l.refs,y=l.setupState;if(a!=null&&a!==u&&(Z(a)?(h[a]=null,N(y,a)&&(y[a]=null)):fe(a)&&(a.value=null)),R(u))$e(u,l,12,[r,h]);else{const w=Z(u),O=fe(u),W=e.f;if(w||O){const E=()=>{if(W){const j=w?N(y,u)?y[u]:h[u]:u.value;o?M(j)&&Un(j,i):M(j)?j.includes(i)||j.push(i):w?(h[u]=[i],N(y,u)&&(y[u]=h[u])):(u.value=[i],e.k&&(h[e.k]=u.value))}else w?(h[u]=r,N(y,u)&&(y[u]=r)):O&&(u.value=r,e.k&&(h[e.k]=r))};o||W?E():(E.id=-1,le(E,n))}}}const le=Xi;function Er(e){return Tr(e)}function Tr(e,t){const n=Ks();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:u,setText:a,setElementText:h,parentNode:y,nextSibling:w,setScopeId:O=he,insertStaticContent:W}=e,E=(c,f,d,p=null,g=null,v=null,C=void 0,b=null,x=!!f.dynamicChildren)=>{if(c===f)return;c&&!dt(c,f)&&(p=Tt(c),be(c,g,v,!0),c=null),f.patchFlag===-2&&(x=!1,f.dynamicChildren=null);const{type:m,ref:S,shapeFlag:I}=f;switch(m){case ln:j(c,f,d,p);break;case xt:U(c,f,d,p);break;case Ut:c==null&&te(f,d,p,C);break;case Te:Qe(c,f,d,p,g,v,C,b,x);break;default:I&1?G(c,f,d,p,g,v,C,b,x):I&6?et(c,f,d,p,g,v,C,b,x):(I&64||I&128)&&m.process(c,f,d,p,g,v,C,b,x,tt)}S!=null&&g&&jn(S,c&&c.ref,v,f||c,!f)},j=(c,f,d,p)=>{if(c==null)s(f.el=l(f.children),d,p);else{const g=f.el=c.el;f.children!==c.children&&a(g,f.children)}},U=(c,f,d,p)=>{c==null?s(f.el=u(f.children||""),d,p):f.el=c.el},te=(c,f,d,p)=>{[c.el,c.anchor]=W(c.children,f,d,p,c.el,c.anchor)},$=({el:c,anchor:f},d,p)=>{let g;for(;c&&c!==f;)g=w(c),s(c,d,p),c=g;s(f,d,p)},z=({el:c,anchor:f})=>{let d;for(;c&&c!==f;)d=w(c),o(c),c=d;o(f)},G=(c,f,d,p,g,v,C,b,x)=>{f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),c==null?P(f,d,p,g,v,C,b,x):Me(c,f,g,v,C,b,x)},P=(c,f,d,p,g,v,C,b)=>{let x,m;const{props:S,shapeFlag:I,transition:T,dirs:V}=c;if(x=c.el=r(c.type,v,S&&S.is,S),I&8?h(x,c.children):I&16&&X(c.children,x,null,p,g,yn(c,v),C,b),V&&ke(c,null,p,"created"),q(x,c,c.scopeId,C,p),S){for(const B in S)B!=="value"&&!Ft(B)&&i(x,B,null,S[B],v,c.children,p,g,Ee);"value"in S&&i(x,"value",null,S.value,v),(m=S.onVnodeBeforeMount)&&ve(m,p,c)}V&&ke(c,null,p,"beforeMount");const F=Pr(g,T);F&&T.beforeEnter(x),s(x,f,d),((m=S&&S.onVnodeMounted)||F||V)&&le(()=>{m&&ve(m,p,c),F&&T.enter(x),V&&ke(c,null,p,"mounted")},g)},q=(c,f,d,p,g)=>{if(d&&O(c,d),p)for(let v=0;v{for(let m=x;m{const b=f.el=c.el;let{patchFlag:x,dynamicChildren:m,dirs:S}=f;x|=c.patchFlag&16;const I=c.props||k,T=f.props||k;let V;if(d&&De(d,!1),(V=T.onVnodeBeforeUpdate)&&ve(V,d,f,c),S&&ke(f,c,d,"beforeUpdate"),d&&De(d,!0),m?Se(c.dynamicChildren,m,b,d,p,yn(f,g),v):C||L(c,f,b,null,d,p,yn(f,g),v,!1),x>0){if(x&16)Ue(b,f,I,T,d,p,g);else if(x&2&&I.class!==T.class&&i(b,"class",null,T.class,g),x&4&&i(b,"style",I.style,T.style,g),x&8){const F=f.dynamicProps;for(let B=0;B{V&&ve(V,d,f,c),S&&ke(f,c,d,"updated")},p)},Se=(c,f,d,p,g,v,C)=>{for(let b=0;b{if(d!==p){if(d!==k)for(const b in d)!Ft(b)&&!(b in p)&&i(c,b,d[b],null,C,f.children,g,v,Ee);for(const b in p){if(Ft(b))continue;const x=p[b],m=d[b];x!==m&&b!=="value"&&i(c,b,m,x,C,f.children,g,v,Ee)}"value"in p&&i(c,"value",d.value,p.value,C)}},Qe=(c,f,d,p,g,v,C,b,x)=>{const m=f.el=c?c.el:l(""),S=f.anchor=c?c.anchor:l("");let{patchFlag:I,dynamicChildren:T,slotScopeIds:V}=f;V&&(b=b?b.concat(V):V),c==null?(s(m,d,p),s(S,d,p),X(f.children||[],d,S,g,v,C,b,x)):I>0&&I&64&&T&&c.dynamicChildren?(Se(c.dynamicChildren,T,d,g,v,C,b),(f.key!=null||g&&f===g.subTree)&&jo(c,f,!0)):L(c,f,d,S,g,v,C,b,x)},et=(c,f,d,p,g,v,C,b,x)=>{f.slotScopeIds=b,c==null?f.shapeFlag&512?g.ctx.activate(f,d,p,C,x):Be(f,d,p,g,v,C,x):an(c,f,x)},Be=(c,f,d,p,g,v,C)=>{const b=c.component=Lr(c,p,g);if(So(c)&&(b.ctx.renderer=tt),Ur(b),b.asyncDep){if(g&&g.registerDep(b,ne),!c.el){const x=b.subTree=Ie(xt);U(null,x,f,d)}}else ne(b,c,f,d,g,v,C)},an=(c,f,d)=>{const p=f.component=c.component;if(ki(c,f,d))if(p.asyncDep&&!p.asyncResolved){A(p,f,d);return}else p.next=f,Ni(p.update),p.effect.dirty=!0,p.update();else f.el=c.el,p.vnode=f},ne=(c,f,d,p,g,v,C)=>{const b=()=>{if(c.isMounted){let{next:S,bu:I,u:T,parent:V,vnode:F}=c;{const nt=Fo(c);if(nt){S&&(S.el=F.el,A(c,S,C)),nt.asyncDep.then(()=>{c.isUnmounted||b()});return}}let B=S,D;De(c,!1),S?(S.el=F.el,A(c,S,C)):S=F,I&&Nt(I),(D=S.props&&S.props.onVnodeBeforeUpdate)&&ve(D,V,S,F),De(c,!0);const J=_n(c),pe=c.subTree;c.subTree=J,E(pe,J,y(pe.el),Tt(pe),c,g,v),S.el=J.el,B===null&&Di(c,J.el),T&&le(T,g),(D=S.props&&S.props.onVnodeUpdated)&&le(()=>ve(D,V,S,F),g)}else{let S;const{el:I,props:T}=f,{bm:V,m:F,parent:B}=c,D=Ht(f);if(De(c,!1),V&&Nt(V),!D&&(S=T&&T.onVnodeBeforeMount)&&ve(S,B,f),De(c,!0),I&&pn){const J=()=>{c.subTree=_n(c),pn(I,c.subTree,c,g,null)};D?f.type.__asyncLoader().then(()=>!c.isUnmounted&&J()):J()}else{const J=c.subTree=_n(c);E(null,J,d,p,c,g,v),f.el=J.el}if(F&&le(F,g),!D&&(S=T&&T.onVnodeMounted)){const J=f;le(()=>ve(S,B,J),g)}(f.shapeFlag&256||B&&Ht(B.vnode)&&B.vnode.shapeFlag&256)&&c.a&&le(c.a,g),c.isMounted=!0,f=d=p=null}},x=c.effect=new Wn(b,he,()=>Jn(m),c.scope),m=c.update=()=>{x.dirty&&x.run()};m.id=c.uid,De(c,!0),m()},A=(c,f,d)=>{f.component=c;const p=c.vnode.props;c.vnode=f,c.next=null,xr(c,f.props,p,d),Sr(c,f.children,d),Ye(),ps(c),Ze()},L=(c,f,d,p,g,v,C,b,x=!1)=>{const m=c&&c.children,S=c?c.shapeFlag:0,I=f.children,{patchFlag:T,shapeFlag:V}=f;if(T>0){if(T&128){Et(m,I,d,p,g,v,C,b,x);return}else if(T&256){Ae(m,I,d,p,g,v,C,b,x);return}}V&8?(S&16&&Ee(m,g,v),I!==m&&h(d,I)):S&16?V&16?Et(m,I,d,p,g,v,C,b,x):Ee(m,g,v,!0):(S&8&&h(d,""),V&16&&X(I,d,p,g,v,C,b,x))},Ae=(c,f,d,p,g,v,C,b,x)=>{c=c||st,f=f||st;const m=c.length,S=f.length,I=Math.min(m,S);let T;for(T=0;TS?Ee(c,g,v,!0,!1,I):X(f,d,p,g,v,C,b,x,I)},Et=(c,f,d,p,g,v,C,b,x)=>{let m=0;const S=f.length;let I=c.length-1,T=S-1;for(;m<=I&&m<=T;){const V=c[m],F=f[m]=x?je(f[m]):xe(f[m]);if(dt(V,F))E(V,F,d,null,g,v,C,b,x);else break;m++}for(;m<=I&&m<=T;){const V=c[I],F=f[T]=x?je(f[T]):xe(f[T]);if(dt(V,F))E(V,F,d,null,g,v,C,b,x);else break;I--,T--}if(m>I){if(m<=T){const V=T+1,F=VT)for(;m<=I;)be(c[m],g,v,!0),m++;else{const V=m,F=m,B=new Map;for(m=F;m<=T;m++){const ae=f[m]=x?je(f[m]):xe(f[m]);ae.key!=null&&B.set(ae.key,m)}let D,J=0;const pe=T-F+1;let nt=!1,ns=0;const at=new Array(pe);for(m=0;m=pe){be(ae,g,v,!0);continue}let ye;if(ae.key!=null)ye=B.get(ae.key);else for(D=F;D<=T;D++)if(at[D-F]===0&&dt(ae,f[D])){ye=D;break}ye===void 0?be(ae,g,v,!0):(at[ye-F]=m+1,ye>=ns?ns=ye:nt=!0,E(ae,f[ye],d,null,g,v,C,b,x),J++)}const ss=nt?Ir(at):st;for(D=ss.length-1,m=pe-1;m>=0;m--){const ae=F+m,ye=f[ae],os=ae+1{const{el:v,type:C,transition:b,children:x,shapeFlag:m}=c;if(m&6){We(c.component.subTree,f,d,p);return}if(m&128){c.suspense.move(f,d,p);return}if(m&64){C.move(c,f,d,tt);return}if(C===Te){s(v,f,d);for(let I=0;Ib.enter(v),g);else{const{leave:I,delayLeave:T,afterLeave:V}=b,F=()=>s(v,f,d),B=()=>{I(v,()=>{F(),V&&V()})};T?T(v,F,B):B()}else s(v,f,d)},be=(c,f,d,p=!1,g=!1)=>{const{type:v,props:C,ref:b,children:x,dynamicChildren:m,shapeFlag:S,patchFlag:I,dirs:T}=c;if(b!=null&&jn(b,null,d,c,!0),S&256){f.ctx.deactivate(c);return}const V=S&1&&T,F=!Ht(c);let B;if(F&&(B=C&&C.onVnodeBeforeUnmount)&&ve(B,f,c),S&6)zo(c.component,d,p);else{if(S&128){c.suspense.unmount(d,p);return}V&&ke(c,null,f,"beforeUnmount"),S&64?c.type.remove(c,f,d,g,tt,p):m&&(v!==Te||I>0&&I&64)?Ee(m,f,d,!1,!0):(v===Te&&I&384||!g&&S&16)&&Ee(x,f,d),p&&es(c)}(F&&(B=C&&C.onVnodeUnmounted)||V)&&le(()=>{B&&ve(B,f,c),V&&ke(c,null,f,"unmounted")},d)},es=c=>{const{type:f,el:d,anchor:p,transition:g}=c;if(f===Te){Ko(d,p);return}if(f===Ut){z(c);return}const v=()=>{o(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:C,delayLeave:b}=g,x=()=>C(d,v);b?b(c.el,v,x):x()}else v()},Ko=(c,f)=>{let d;for(;c!==f;)d=w(c),o(c),c=d;o(f)},zo=(c,f,d)=>{const{bum:p,scope:g,update:v,subTree:C,um:b}=c;p&&Nt(p),g.stop(),v&&(v.active=!1,be(C,c,f,d)),b&&le(b,f),le(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ee=(c,f,d,p=!1,g=!1,v=0)=>{for(let C=v;Cc.shapeFlag&6?Tt(c.component.subTree):c.shapeFlag&128?c.suspense.next():w(c.anchor||c.el);let dn=!1;const ts=(c,f,d)=>{c==null?f._vnode&&be(f._vnode,null,null,!0):E(f._vnode||null,c,f,null,null,null,d),dn||(dn=!0,ps(),mo(),dn=!1),f._vnode=c},tt={p:E,um:be,m:We,r:es,mt:Be,mc:X,pc:L,pbc:Se,n:Tt,o:e};let hn,pn;return t&&([hn,pn]=t(tt)),{render:ts,hydrate:hn,createApp:br(ts,hn)}}function yn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function De({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Pr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jo(e,t,n=!1){const s=e.children,o=t.children;if(M(s)&&M(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Fo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fo(t)}const Or=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),ln=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Ut=Symbol.for("v-stc"),_t=[];let me=null;function No(e=!1){_t.push(me=e?null:[])}function Mr(){_t.pop(),me=_t[_t.length-1]||null}let Ct=1;function Es(e){Ct+=e}function Ar(e){return e.dynamicChildren=Ct>0?me||st:null,Mr(),Ct>0&&me&&me.push(e),e}function $o(e,t,n,s,o,i){return Ar(_(e,t,n,s,o,i,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const cn="__vInternal",Ho=({key:e})=>e??null,Bt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||fe(e)||R(e)?{i:ce,r:e,k:t,f:!!n}:e:null);function _(e,t=null,n=null,s=0,o=null,i=e===Te?0:1,r=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ho(t),ref:t&&Bt(t),scopeId:yo,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:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ce};return l?(Qn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=Z(n)?8:16),Ct>0&&!r&&me&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&me.push(u),u}const Ie=Rr;function Rr(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===zi)&&(e=xt),Vr(e)){const l=ut(e,t,!0);return n&&Qn(l,n),Ct>0&&!i&&me&&(l.shapeFlag&6?me[me.indexOf(e)]=l:me.push(l)),l.patchFlag|=-2,l}if(Kr(e)&&(e=e.__vccOpts),t){t=jr(t);let{class:l,style:u}=t;l&&!Z(l)&&(t.class=Qt(l)),K(u)&&(co(u)&&!M(u)&&(u=ee({},u)),t.style=qe(u))}const r=Z(e)?1:Gi(e)?128:Or(e)?64:K(e)?4:R(e)?2:0;return _(e,t,n,s,o,r,i,!0)}function jr(e){return e?co(e)||cn in e?ee({},e):e:null}function ut(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Nr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ho(l),ref:t&&t.ref?n&&o?M(o)?o.concat(Bt(t)):[o,Bt(t)]:Bt(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pt(e=" ",t=0){return Ie(ln,null,e,t)}function Fr(e,t){const n=Ie(Ut,null,e);return n.staticCount=t,n}function xe(e){return e==null||typeof e=="boolean"?Ie(xt):M(e)?Ie(Te,null,e.slice()):typeof e=="object"?je(e):Ie(ln,null,String(e))}function je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function Qn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Qn(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(cn in t)?t._ctx=ce:o===3&&ce&&(ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:ce},n=32):(t=String(t),s&64?(n=16,t=[pt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nr(...e){const t={};for(let n=0;n{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),i=>{o.length>1?o.forEach(r=>r(i)):o[0](i)}};qt=t("__VUE_INSTANCE_SETTERS__",n=>oe=n),Fn=t("__VUE_SSR_SETTERS__",n=>un=n)}const St=e=>{const t=oe;return qt(e),e.scope.on(),()=>{e.scope.off(),qt(t)}},Ts=()=>{oe&&oe.scope.off(),qt(null)};function Lo(e){return e.vnode.shapeFlag&4}let un=!1;function Ur(e,t=!1){t&&Fn(t);const{props:n,children:s}=e.vnode,o=Lo(e);vr(e,n,o,t),wr(e,s);const i=o?Br(e,t):void 0;return t&&Fn(!1),i}function Br(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=uo(new Proxy(e.ctx,ar));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?kr(e):null,i=St(e);Ye();const r=$e(s,e,0,[e.props,o]);if(Ze(),i(),Ws(r)){if(r.then(Ts,Ts),t)return r.then(l=>{Ps(e,l,t)}).catch(l=>{sn(l,e,0)});e.asyncDep=r}else Ps(e,r,t)}else Uo(e,t)}function Ps(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=ho(t)),Uo(e,n)}let Is;function Uo(e,t,n){const s=e.type;if(!e.render){if(!t&&Is&&!s.render){const o=s.template||Yn(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:u}=s,a=ee(ee({isCustomElement:i,delimiters:l},r),u);s.render=Is(o,a)}}e.render=s.render||he}{const o=St(e);Ye();try{dr(e)}finally{Ze(),o()}}}function Wr(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ue(e,"get","$attrs"),t[n]}}))}function kr(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Wr(e)},slots:e.slots,emit:e.emit,expose:t}}function fn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ho(uo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mt)return mt[n](e)},has(t,n){return n in t||n in mt}}))}function Dr(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function Kr(e){return R(e)&&"__vccOpts"in e}const re=(e,t)=>Ii(e,t,un),zr="3.4.15";/** +* @vue/runtime-dom v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const qr="http://www.w3.org/2000/svg",Gr="http://www.w3.org/1998/Math/MathML",Fe=typeof document<"u"?document:null,Os=Fe&&Fe.createElement("template"),Xr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?Fe.createElementNS(qr,e):t==="mathml"?Fe.createElementNS(Gr,e):Fe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Fe.createTextNode(e),createComment:e=>Fe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Os.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Os.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jr=Symbol("_vtc");function Yr(e,t,n){const s=e[Jr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zr=Symbol("_vod"),Qr=Symbol("");function el(e,t,n){const s=e.style,o=s.display,i=Z(n);if(n&&!i){if(t&&!Z(t))for(const r in t)n[r]==null&&Nn(s,r,"");for(const r in n)Nn(s,r,n[r])}else if(i){if(t!==n){const r=s[Qr];r&&(n+=";"+r),s.cssText=n}}else t&&e.removeAttribute("style");Zr in e&&(s.display=o)}const Ms=/\s*!important$/;function Nn(e,t,n){if(M(n))n.forEach(s=>Nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=tl(e,t);Ms.test(n)?e.setProperty(ft(s),n.replace(Ms,""),"important"):e[s]=n}}const As=["Webkit","Moz","ms"],vn={};function tl(e,t){const n=vn[t];if(n)return n;let s=we(t);if(s!=="filter"&&s in e)return vn[t]=s;s=Zt(s);for(let o=0;oxn||(ll.then(()=>xn=0),xn=Date.now());function ul(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;_e(fl(s,n.value),t,5,[s])};return n.value=e,n.attached=cl(),n}function fl(e,t){if(M(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,al=(e,t,n,s,o,i,r,l,u)=>{const a=o==="svg";t==="class"?Yr(e,s,a):t==="style"?el(e,n,s):Xt(t)?Ln(t)||il(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dl(e,t,s,a))?sl(e,t,s,i,r,l,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nl(e,t,s,a))};function dl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fs(t)&&R(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fs(t)&&Z(n)?!1:t in e}const Gt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?n=>Nt(t,n):t};function hl(e){e.target.composing=!0}function Ns(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const lt=Symbol("_assign"),de={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[lt]=Gt(o);const i=s||o.props&&o.props.type==="number";ze(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=wn(l)),e[lt](l)}),n&&ze(e,"change",()=>{e.value=e.value.trim()}),t||(ze(e,"compositionstart",hl),ze(e,"compositionend",Ns),ze(e,"change",Ns))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e[lt]=Gt(i),e.composing)return;const r=o||e.type==="number"?wn(e.value):e.value,l=t??"";r!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},Rt={deep:!0,created(e,t,n){e[lt]=Gt(n),ze(e,"change",()=>{const s=e._modelValue,o=pl(e),i=e.checked,r=e[lt];if(M(s)){const l=qs(s,o),u=l!==-1;if(i&&!u)r(s.concat(o));else if(!i&&u){const a=[...s];a.splice(l,1),r(a)}}else if(Jt(s)){const l=new Set(s);i?l.add(o):l.delete(o),r(l)}else r(Bo(e,i))})},mounted:$s,beforeUpdate(e,t,n){e[lt]=Gt(n),$s(e,t,n)}};function $s(e,{value:t,oldValue:n},s){e._modelValue=t,M(t)?e.checked=qs(t,s.props.value)>-1:Jt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=en(t,Bo(e,!0)))}function pl(e){return"_value"in e?e._value:e.value}function Bo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const gl=ee({patchProp:al},Xr);let Hs;function ml(){return Hs||(Hs=Er(gl))}const _l=(...e)=>{const t=ml().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=yl(s);if(!o)return;const i=t._component;!R(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,bl(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};function bl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yl(e){return Z(e)?document.querySelector(e):e}const vl="vue-slide-unlock",xl="0.4.9",Cl="Vue.js slide to unlock component. Protect users from accidental clicks or protect your web app from bot attack.",wl={name:"Anton Zolotov",email:"antonzolotov@outlook.com"},Sl="module",El=["dist"],Tl="dist/vue-slide-unlock.umd.js",Pl="dist/vue-slide-unlock.es.js",Il="dist/types/index.d.ts",Ol=["demo"],Ml={dev:"vite",build:"vite build && yarn build:types","build:types":"vue-tsc --project tsconfig.types.json --declaration --emitDeclarationOnly --outDir dist/types ",typecheck:"vue-tsc --project tsconfig.types.json --noEmit",demo:"yarn workspace demo generate",lint:"npm run lint:js && npm run lint:style","lint:js":"eslint --fix --ext .js,.vue --ignore-path .eslintignore .","lint:style":"stylelint **/*.{vue,css,scss} --ignore-path .gitignore --fix --config ./.stylelintrc-format",test:"vitest --run","test:e2e":"cypress run --component","make-badges":"istanbul-badges-readme"},Al={reporter:["html","json-summary"],extension:[".js",".ts",".vue"]},Vl={"easy-ease":"^1.0.9","lodash.debounce":"^4.0.8"},Rl={"@babel/types":"^7.23.6","@cypress/code-coverage":"^3.12.18","@rushstack/eslint-patch":"^1.7.0","@types/lodash.debounce":"^4.0.9","@types/node":"^20.11.5","@vitejs/plugin-vue":"^5.0.3","@vitest/coverage-istanbul":"^1.2.1","@vue/eslint-config-standard":"^8.0.1","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"^2.4.3","@vue/tsconfig":"^0.5.1",cypress:"13.6.3","cypress-real-events":"^1.11.0",eslint:"^8.56.0","eslint-plugin-import":"^2.29.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-standard":"^5.0.0","eslint-plugin-vue":"^9.20.1","istanbul-badges-readme":"^1.8.5","istanbul-lib-coverage":"^3.2.2",jsdom:"^23.2.0","lint-staged":"^15.2.0",nyc:"^15.1.0",postcss:"^8.4.33","postcss-html":"^1.6.0",sass:"^1.70.0",stylelint:"^16.2.0","stylelint-config-html":"^1.1.0","stylelint-config-property-sort-order-smacss":"^10.0.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^13.0.0","stylelint-order":"^6.0.4","stylelint-scss":"^6.0.0","ts-node":"^10.9.2",typescript:"5.3.3",vite:"^5.0.11","vite-plugin-istanbul":"^5.0.0","vite-plugin-style-inject":"^0.0.1",vitest:"^1.2.1",vue:"^3.4.15","vue-tsc":"^1.8.27"},jl={url:"https://github.com/joseph2/vue-slide-unlock/issues"},Fl="https://joseph2.github.io/vue-slide-unlock/",Nl=["vue","slide","swipe","unlock"],$l="MIT",Hl="yarn@4.0.2",Ll={type:"git",url:"git+https://github.com/joseph2/vue-slide-unlock.git"},Ul={name:vl,version:xl,description:Cl,author:wl,type:Sl,files:El,main:Tl,module:Pl,types:Il,workspaces:Ol,scripts:Ml,nyc:Al,dependencies:Vl,devDependencies:Rl,bugs:jl,homepage:Fl,keywords:Nl,license:$l,packageManager:Hl,repository:Ll};var jt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ls=typeof window<"u"&&"requestAnimationFrame"in window?window.requestAnimationFrame:function(e){setTimeout(e,16)};function Bl(e){var t="startValue"in e?e.startValue:0,n="endValue"in e?e.endValue:1,s="durationMs"in e?e.durationMs:200,o=e.onComplete||function(){},i=s/16,r=(n-t)/i,l=Math.PI/i,u=t,a=0;function h(){a+=l,u+=r*Math.pow(Math.sin(a),2)*2,a=t||q<0||y&&X>=i}function U(){var P=Cn();if(j(P))return te(P);l=setTimeout(U,E(P))}function te(P){return l=void 0,w&&s?O(P):(s=o=void 0,r)}function $(){l!==void 0&&clearTimeout(l),a=0,s=u=o=l=void 0}function z(){return l===void 0?r:te(Cn())}function G(){var P=Cn(),q=j(P);if(s=arguments,o=this,u=P,q){if(l===void 0)return W(u);if(y)return l=setTimeout(U,t),O(u)}return l===void 0&&(l=setTimeout(U,t)),r}return G.cancel=$,G.flush=z,G}function $n(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ic(e){return!!e&&typeof e=="object"}function rc(e){return typeof e=="symbol"||ic(e)&&tc.call(e)==Kl}function Bs(e){if(typeof e=="number")return e;if(rc(e))return Us;if($n(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$n(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(zl,"");var n=Gl.test(e);return n||Xl.test(e)?Jl(e.slice(2),n?2:8):ql.test(e)?Us:+e}var lc=oc;const cc=Wo(lc),uc=wo({name:"SlideUnlock",props:{autoWidth:{type:Boolean,default:!0},width:{type:Number,default:400},height:{type:Number,default:60},text:{type:String,default:"slide to unlock"},successText:{type:String,default:"success"},circle:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},noanimate:{type:Boolean,default:!1},name:{type:String,default:"slideunlock"}},setup(e,{emit:t}){const n=nn({CanMove:!1,IsComplete:!1,StartPositionWindow:0,HandlerPosition:0,ProgressWidth:0,TextOpacity:1}),s=re(()=>({width:e.autoWidth?"auto":e.width+"px",height:e.height+"px"})),o=re(()=>({width:n.ProgressWidth+"px",height:e.height+"px",borderRadius:e.circle?n.IsComplete?e.height/2+"px ":e.height/2+"px 0 0 "+e.height/2+"px":0})),i=re(()=>({left:n.HandlerPosition+"px",width:e.height+"px",height:e.height+"px"})),r=re(()=>n.IsComplete?e.successText:e.text),l=re(()=>{const E=document.getElementById(e.name);return e.autoWidth?E.clientWidth-parseInt(getComputedStyle(E).getPropertyValue("--su-size-padding").replace("px",""),10)*2:e.width});gt(()=>e.autoWidth,()=>{n.IsComplete&&setTimeout(()=>{n.ProgressWidth=l.value},1)}),gt(()=>e.width,()=>{n.IsComplete&&(n.ProgressWidth=l.value)});const u=cc(function(){const E=(l.value-e.height)*(100/n.HandlerPosition)/1e3-.1;n.CanMove&&(n.TextOpacity=E)},5),a=E=>{n.IsComplete||(n.CanMove=!0,window.TouchEvent&&E instanceof TouchEvent&&E.touches?n.StartPositionWindow=E.touches[0].pageX-n.HandlerPosition:E instanceof MouseEvent&&(n.StartPositionWindow=E.pageX-n.HandlerPosition)),document.onmousemove=j=>(h(j),!1),document.onmouseup=j=>(y(j),document.onmousemove=null,!1)},h=E=>{n.CanMove&&!n.IsComplete&&(window.TouchEvent&&E instanceof TouchEvent&&E.touches?n.HandlerPosition=E.touches[0].pageX-n.StartPositionWindow:E instanceof MouseEvent&&(n.HandlerPosition=E.pageX-n.StartPositionWindow),n.HandlerPosition>0&&n.HandlerPosition<=l.value-e.height?(n.ProgressWidth=n.HandlerPosition+e.height/2,u()):n.HandlerPosition>l.value-e.height&&(n.HandlerPosition=l.value-e.height,n.ProgressWidth=l.value,w()))},y=E=>{n.CanMove&&!n.IsComplete&&(window.TouchEvent&&E instanceof TouchEvent&&E.touches?n.HandlerPosition=E.changedTouches[0].pageX-n.StartPositionWindow:E instanceof MouseEvent&&(n.HandlerPosition=E.pageX-n.StartPositionWindow),n.HandlerPosition{n.HandlerPosition=j,n.ProgressWidth=j+e.height/2}}),n.TextOpacity=1),n.CanMove=!1)},w=()=>{n.IsComplete=!0,n.CanMove=!1,t("completed")};return{Slider:n,slideUnlockStyle:s,progressBarStyle:o,handlerStyle:i,message:r,sliderWidth:l,slideStart:a,slideMoving:h,slideFinish:y,reset:()=>{n.CanMove=!1,n.IsComplete=!1,n.StartPositionWindow=0,n.HandlerPosition=0,n.ProgressWidth=0,n.TextOpacity=1},complete:()=>{n.CanMove=!1,n.IsComplete=!0,n.StartPositionWindow=0,n.HandlerPosition=0,n.ProgressWidth=l.value,n.TextOpacity=1}}}}),ko=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},fc=["id"];function ac(e,t,n,s,o,i){return No(),$o("div",{id:e.name,class:Qt(["slideunlock",{"is-disabled":e.disabled,"is-noanimate":e.noanimate,"is-circle":e.circle,"is-complete":e.Slider.IsComplete}]),style:qe(e.slideUnlockStyle),onMousemove:t[2]||(t[2]=(...r)=>e.slideMoving&&e.slideMoving(...r)),onMouseup:t[3]||(t[3]=(...r)=>e.slideFinish&&e.slideFinish(...r)),onTouchmove:t[4]||(t[4]=(...r)=>e.slideMoving&&e.slideMoving(...r)),onTouchend:t[5]||(t[5]=(...r)=>e.slideFinish&&e.slideFinish(...r))},[_("div",{class:"slideunlock-progressbar",style:qe(e.progressBarStyle)},null,4),_("div",{class:"slideunlock-text",style:qe({opacity:e.Slider.TextOpacity})},Sn(e.message),5),_("div",{class:"slideunlock-handler",style:qe(e.handlerStyle),onMousedown:t[0]||(t[0]=(...r)=>e.slideStart&&e.slideStart(...r)),onTouchstart:t[1]||(t[1]=(...r)=>e.slideStart&&e.slideStart(...r))},null,36)],46,fc)}const dc=ko(uc,[["render",ac],["__scopeId","data-v-00f60412"]]),hc=wo({name:"App",components:{SlideUnlock:dc},setup(){const e=Ul.version,t=A=>{const L=document.getElementById("slideunlock");return getComputedStyle(L).getPropertyValue(A).trim()},n=(A,L)=>{document.getElementById("slideunlock").style.setProperty(A,L)},s=Y(!0),o=Y(!0),i=Y(!1),r=Y(!1),l=Y("slide to unlock"),u=Y("success"),a=Y(400),h=Y(80),y=Y(""),w=Y(""),O=Y("#000000"),W=Y("#000000"),E=Y("#000000"),j=Y("#000000"),U=Y("#000000"),te=Y("#000000"),$=Y(""),z=()=>{y.value=t("--su-size-text").slice(0,t("--su-size-text").length-2),w.value=t("--su-size-padding").slice(0,t("--su-size-padding").length-2),O.value=t("--su-color-bg"),W.value=t("--su-color-progress-normal-bg"),E.value=t("--su-color-progress-complete-bg"),j.value=t("--su-color-handler-bg"),U.value=t("--su-color-text-normal"),te.value=t("--su-color-text-complete"),$.value=t("--su-icon-handler")},G=re({get(){return y.value},set(A){n("--su-size-text",`${A}px`)}}),P=re({get(){return w.value},set(A){n("--su-size-padding",`${A}px`)}}),q=re({get(){return O.value},set(A){n("--su-color-bg",A)}}),X=re({get(){return W.value},set(A){n("--su-color-progress-normal-bg",A)}}),Me=re({get(){return E.value},set(A){n("--su-color-progress-complete-bg",A)}}),Se=re({get(){return j.value},set(A){n("--su-color-handler-bg",A)}}),Ue=re({get(){return U.value},set(A){n("--su-color-text-normal",A)}}),Qe=re({get(){return te.value},set(A){n("--su-color-text-complete",A)}}),et=re({get(){return $.value},set(A){n("--su-icon-handler",A)}}),Be=Y();return{cVersion:e,handleMounted:z,autoWidth:s,isCircle:o,isDisabled:i,isNoAnimate:r,text:l,successText:u,width:a,height:h,textSize:G,paddingSize:P,background:q,progressBarBg:X,completedBg:Me,handlerBg:Se,textColor:Ue,textCompleteColor:Qe,handlerIcon:et,vueSlideUnlockRef:Be,resetComponent:()=>{Be.value.reset()},completeComponent:()=>{Be.value.complete()}}}}),Do="/vue-slide-unlock/assets/logo-j5j6qipL.png",pc={class:"container"},gc=_("img",{alt:"Vue logo",src:Do},null,-1),mc=_("h4",null,"vue-slide-unlock",-1),_c={class:"version"},bc=Fr('',1),yc={class:"container is-content"},vc=_("section",{class:"head"},[_("img",{class:"logo",alt:"Vue logo",src:Do}),_("h1",null,"Vue.js slide to unlock component"),_("div",{class:"description"},[_("b",null,"Protect users from accidental clicks for Vue.js")])],-1),xc={class:"demo-section"},Cc={class:"props-section"},wc=_("h2",null,"Options (props)",-1),Sc={class:"grid is-4"},Ec={class:"item"},Tc={for:"autoWidth"},Pc={class:"item"},Ic={for:"isCircle"},Oc={class:"item"},Mc={for:"isDisabled"},Ac={class:"item"},Vc={for:"isNoAnimate"},Rc={class:"grid"},jc={class:"item"},Fc=_("label",null,"width (px)",-1),Nc=["disabled"],$c={class:"item"},Hc=_("label",null,"height (px)",-1),Lc={class:"item"},Uc=_("label",null,"text",-1),Bc={class:"item"},Wc=_("label",null,"successText",-1),kc={class:"size-section"},Dc=_("h2",null,"Options (CSS Variables)",-1),Kc={class:"grid"},zc={class:"item"},qc=_("label",null,"textSize (px)",-1),Gc={class:"item"},Xc=_("label",null,"paddingSize (px)",-1),Jc={class:"grid is-1"},Yc={class:"item"},Zc=_("label",null,"handlerIcon",-1),Qc={class:"colors-section"},eu=_("h2",null,"Colors (CSS Variables)",-1),tu={class:"grid"},nu={class:"item"},su=_("label",null,"textColor",-1),ou={class:"item"},iu=_("label",null,"textCompleteColor",-1),ru={class:"item"},lu=_("label",null,"background",-1),cu={class:"item"},uu=_("label",null,"progressBarBg",-1),fu={class:"item"},au=_("label",null,"completedBg",-1),du={class:"item"},hu=_("label",null,"handlerBg",-1),pu={class:"actions-section"},gu=_("h2",null,"Actions",-1),mu={class:"container"},_u=_("a",{href:"https://github.com/joseph2"},"github.com",-1);function bu(e,t,n,s,o,i){const r=Ki("slide-unlock");return No(),$o("div",null,[_("nav",null,[_("div",pc,[_("div",null,[gc,mc,_("span",_c,"["+Sn(e.cVersion)+"]",1)]),bc])]),_("div",yc,[vc,_("section",xc,[Ie(r,{ref:"vueSlideUnlockRef","auto-width":e.autoWidth,circle:e.isCircle,disabled:e.isDisabled,noanimate:e.isNoAnimate,width:e.width,height:e.height,text:e.text,"success-text":e.successText,"handler-icon":e.handlerIcon,name:"slideunlock",onVnodeMounted:e.handleMounted},null,8,["auto-width","circle","disabled","noanimate","width","height","text","success-text","handler-icon","onVnodeMounted"])]),_("section",Cc,[wc,_("div",Sc,[_("div",Ec,[_("label",Tc,[Q(_("input",{id:"autoWidth","onUpdate:modelValue":t[0]||(t[0]=l=>e.autoWidth=l),type:"checkbox"},null,512),[[Rt,e.autoWidth]]),pt(" autoWidth ")])]),_("div",Pc,[_("label",Ic,[Q(_("input",{id:"isCircle","onUpdate:modelValue":t[1]||(t[1]=l=>e.isCircle=l),type:"checkbox"},null,512),[[Rt,e.isCircle]]),pt(" isCircle ")])]),_("div",Oc,[_("label",Mc,[Q(_("input",{id:"isDisabled","onUpdate:modelValue":t[2]||(t[2]=l=>e.isDisabled=l),type:"checkbox"},null,512),[[Rt,e.isDisabled]]),pt(" isDisabled ")])]),_("div",Ac,[_("label",Vc,[Q(_("input",{id:"isNoAnimate","onUpdate:modelValue":t[3]||(t[3]=l=>e.isNoAnimate=l),type:"checkbox"},null,512),[[Rt,e.isNoAnimate]]),pt(" isNoAnimate ")])])]),_("div",Rc,[_("div",jc,[Fc,Q(_("input",{"onUpdate:modelValue":t[4]||(t[4]=l=>e.width=l),type:"number",disabled:e.autoWidth},null,8,Nc),[[de,e.width]])]),_("div",$c,[Hc,Q(_("input",{"onUpdate:modelValue":t[5]||(t[5]=l=>e.height=l),type:"number"},null,512),[[de,e.height]])]),_("div",Lc,[Uc,Q(_("input",{"onUpdate:modelValue":t[6]||(t[6]=l=>e.text=l),type:"text"},null,512),[[de,e.text]])]),_("div",Bc,[Wc,Q(_("input",{"onUpdate:modelValue":t[7]||(t[7]=l=>e.successText=l),type:"text"},null,512),[[de,e.successText]])])])]),_("section",kc,[Dc,_("div",Kc,[_("div",zc,[qc,Q(_("input",{"onUpdate:modelValue":t[8]||(t[8]=l=>e.textSize=l),type:"number"},null,512),[[de,e.textSize]])]),_("div",Gc,[Xc,Q(_("input",{"onUpdate:modelValue":t[9]||(t[9]=l=>e.paddingSize=l),type:"number"},null,512),[[de,e.paddingSize]])])]),_("div",Jc,[_("div",Yc,[Zc,Q(_("input",{"onUpdate:modelValue":t[10]||(t[10]=l=>e.handlerIcon=l),type:"text"},null,512),[[de,e.handlerIcon]])])])]),_("section",Qc,[eu,_("div",tu,[_("div",nu,[su,Q(_("input",{"onUpdate:modelValue":t[11]||(t[11]=l=>e.textColor=l),type:"color"},null,512),[[de,e.textColor]])]),_("div",ou,[iu,Q(_("input",{"onUpdate:modelValue":t[12]||(t[12]=l=>e.textCompleteColor=l),type:"color"},null,512),[[de,e.textCompleteColor]])]),_("div",ru,[lu,Q(_("input",{"onUpdate:modelValue":t[13]||(t[13]=l=>e.background=l),type:"color"},null,512),[[de,e.background]])]),_("div",cu,[uu,Q(_("input",{"onUpdate:modelValue":t[14]||(t[14]=l=>e.progressBarBg=l),type:"color"},null,512),[[de,e.progressBarBg]])]),_("div",fu,[au,Q(_("input",{"onUpdate:modelValue":t[15]||(t[15]=l=>e.completedBg=l),type:"color"},null,512),[[de,e.completedBg]])]),_("div",du,[hu,Q(_("input",{"onUpdate:modelValue":t[16]||(t[16]=l=>e.handlerBg=l),type:"color"},null,512),[[de,e.handlerBg]])])])]),_("section",pu,[gu,_("button",{class:"btn",onClick:t[17]||(t[17]=l=>e.resetComponent()),"data-cy":"reset"}," Reset state "),_("button",{class:"btn",onClick:t[18]||(t[18]=l=>e.completeComponent()),"data-cy":"complete"}," Complete state ")])]),_("footer",null,[_("div",mu,[_("div",null," © "+Sn(new Date().getFullYear())+" Anton Zolotov ",1),_u])])])}const yu=ko(hc,[["render",bu]]),vu=_l(yu);vu.mount("#app"); diff --git a/assets/index-eb9ba1ad.js b/assets/index-eb9ba1ad.js deleted file mode 100644 index 496b969..0000000 --- a/assets/index-eb9ba1ad.js +++ /dev/null @@ -1 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Bn(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const L={},nt=[],be=()=>{},ko=()=>!1,Vo=/^on[^a-z]/,Zt=e=>Vo.test(e),Un=e=>e.startsWith("onUpdate:"),Y=Object.assign,Hn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Do=Object.prototype.hasOwnProperty,N=(e,t)=>Do.call(e,t),O=Array.isArray,st=e=>Ot(e)==="[object Map]",Qt=e=>Ot(e)==="[object Set]",os=e=>Ot(e)==="[object Date]",F=e=>typeof e=="function",Z=e=>typeof e=="string",yt=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Ws=e=>K(e)&&F(e.then)&&F(e.catch),ks=Object.prototype.toString,Ot=e=>ks.call(e),Lo=e=>Ot(e).slice(8,-1),Vs=e=>Ot(e)==="[object Object]",$n=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Bn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ko=/-(\w)/g,Te=Gt(e=>e.replace(Ko,(t,n)=>n?n.toUpperCase():"")),zo=/\B([A-Z])/g,ut=Gt(e=>e.replace(zo,"-$1").toLowerCase()),en=Gt(e=>e.charAt(0).toUpperCase()+e.slice(1)),gn=Gt(e=>e?`on${en(e)}`:""),xt=(e,t)=>!Object.is(e,t),Wt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},xn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let is;const Cn=()=>is||(is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qe(e){if(O(e)){const t={};for(let n=0;n{if(n){const s=n.split(Xo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function tn(e){let t="";if(Z(e))t=e;else if(O(e))for(let n=0;nnn(n,t))}const wn=e=>Z(e)?e:e==null?"":O(e)||K(e)&&(e.toString===ks||!F(e.toString))?JSON.stringify(e,Ks,2):String(e),Ks=(e,t)=>t&&t.__v_isRef?Ks(e,t.value):st(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Qt(t)?{[`Set(${t.size})`]:[...t.values()]}:K(t)&&!O(t)&&!Vs(t)?String(t):t;let pe;class ei{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=pe;try{return pe=this,t()}finally{pe=n}}}on(){pe=this}off(){pe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},zs=e=>(e.w&He)>0,qs=e=>(e.n&He)>0,si=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(p==="length"||p>=u)&&l.push(a)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":O(e)?$n(n)&&l.push(r.get("length")):(l.push(r.get(Je)),st(e)&&l.push(r.get(Pn)));break;case"delete":O(e)||(l.push(r.get(Je)),st(e)&&l.push(r.get(Pn)));break;case"set":st(e)&&l.push(r.get(Je));break}if(l.length===1)l[0]&&In(l[0]);else{const u=[];for(const a of l)a&&u.push(...a);In(Wn(u))}}function In(e,t){const n=O(e)?e:[...e];for(const s of n)s.computed&&ls(s);for(const s of n)s.computed||ls(s)}function ls(e,t){(e!==ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ii=Bn("__proto__,__v_isRef,__isVue"),Ys=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yt)),ri=Vn(),li=Vn(!1,!0),ci=Vn(!0),cs=ui();function ui(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=U(this);for(let i=0,r=this.length;i{e[t]=function(...n){ft();const s=U(this)[t].apply(this,n);return at(),s}}),e}function fi(e){const t=U(this);return ue(t,"has",e),t.hasOwnProperty(e)}function Vn(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Pi:to:t?eo:Gs).get(s))return s;const r=O(s);if(!e){if(r&&N(cs,o))return Reflect.get(cs,o,i);if(o==="hasOwnProperty")return fi}const l=Reflect.get(s,o,i);return(yt(o)?Ys.has(o):ii(o))||(e||ue(s,"get",o),t)?l:ne(l)?r&&$n(o)?l:l.value:K(l)?e?no(l):on(l):l}}const ai=Zs(),di=Zs(!0);function Zs(e=!1){return function(n,s,o,i){let r=n[s];if(rt(r)&&ne(r)&&!ne(o))return!1;if(!e&&(!zt(o)&&!rt(o)&&(r=U(r),o=U(o)),!O(n)&&ne(r)&&!ne(o)))return r.value=o,!0;const l=O(n)&&$n(s)?Number(s)e,sn=e=>Reflect.getPrototypeOf(e);function At(e,t,n=!1,s=!1){e=e.__v_raw;const o=U(e),i=U(t);n||(t!==i&&ue(o,"get",t),ue(o,"get",i));const{has:r}=sn(o),l=s?Dn:n?zn:Ct;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function jt(e,t=!1){const n=this.__v_raw,s=U(n),o=U(e);return t||(e!==o&&ue(s,"has",e),ue(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ft(e,t=!1){return e=e.__v_raw,!t&&ue(U(e),"iterate",Je),Reflect.get(e,"size",e)}function us(e){e=U(e);const t=U(this);return sn(t).has.call(t,e)||(t.add(e),Se(t,"add",e,e)),this}function fs(e,t){t=U(t);const n=U(this),{has:s,get:o}=sn(n);let i=s.call(n,e);i||(e=U(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?xt(t,r)&&Se(n,"set",e,t):Se(n,"add",e,t),this}function as(e){const t=U(this),{has:n,get:s}=sn(t);let o=n.call(t,e);o||(e=U(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&Se(t,"delete",e,void 0),i}function ds(){const e=U(this),t=e.size!==0,n=e.clear();return t&&Se(e,"clear",void 0,void 0),n}function Rt(e,t){return function(s,o){const i=this,r=i.__v_raw,l=U(r),u=t?Dn:e?zn:Ct;return!e&&ue(l,"iterate",Je),r.forEach((a,p)=>s.call(o,u(a),u(p),i))}}function Nt(e,t,n){return function(...s){const o=this.__v_raw,i=U(o),r=st(i),l=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,a=o[e](...s),p=n?Dn:t?zn:Ct;return!t&&ue(i,"iterate",u?Pn:Je),{next(){const{value:y,done:w}=a.next();return w?{value:y,done:w}:{value:l?[p(y[0]),p(y[1])]:p(y),done:w}},[Symbol.iterator](){return this}}}}function Re(e){return function(...t){return e==="delete"?!1:this}}function _i(){const e={get(i){return At(this,i)},get size(){return Ft(this)},has:jt,add:us,set:fs,delete:as,clear:ds,forEach:Rt(!1,!1)},t={get(i){return At(this,i,!1,!0)},get size(){return Ft(this)},has:jt,add:us,set:fs,delete:as,clear:ds,forEach:Rt(!1,!0)},n={get(i){return At(this,i,!0)},get size(){return Ft(this,!0)},has(i){return jt.call(this,i,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:Rt(!0,!1)},s={get(i){return At(this,i,!0,!0)},get size(){return Ft(this,!0)},has(i){return jt.call(this,i,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:Rt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Nt(i,!1,!1),n[i]=Nt(i,!0,!1),t[i]=Nt(i,!1,!0),s[i]=Nt(i,!0,!0)}),[e,n,t,s]}const[vi,yi,xi,Ci]=_i();function Ln(e,t){const n=t?e?Ci:xi:e?yi:vi;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(N(n,o)&&o in s?n:s,o,i)}const wi={get:Ln(!1,!1)},Ti={get:Ln(!1,!0)},Ei={get:Ln(!0,!1)},Gs=new WeakMap,eo=new WeakMap,to=new WeakMap,Pi=new WeakMap;function Ii(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Oi(e){return e.__v_skip||!Object.isExtensible(e)?0:Ii(Lo(e))}function on(e){return rt(e)?e:Kn(e,!1,Qs,wi,Gs)}function Mi(e){return Kn(e,!1,bi,Ti,eo)}function no(e){return Kn(e,!0,mi,Ei,to)}function Kn(e,t,n,s,o){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Oi(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function ot(e){return rt(e)?ot(e.__v_raw):!!(e&&e.__v_isReactive)}function rt(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function so(e){return ot(e)||rt(e)}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function oo(e){return Kt(e,"__v_skip",!0),e}const Ct=e=>K(e)?on(e):e,zn=e=>K(e)?no(e):e;function io(e){Be&&ge&&(e=U(e),Js(e.dep||(e.dep=Wn())))}function ro(e,t){e=U(e);const n=e.dep;n&&In(n)}function ne(e){return!!(e&&e.__v_isRef===!0)}function J(e){return Si(e,!1)}function Si(e,t){return ne(e)?e:new Ai(e,t)}class Ai{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:U(t),this._value=n?t:Ct(t)}get value(){return io(this),this._value}set value(t){const n=this.__v_isShallow||zt(t)||rt(t);t=n?t:U(t),xt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ct(t),ro(this))}}function ji(e){return ne(e)?e.value:e}const Fi={get:(e,t,n)=>ji(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return ne(o)&&!ne(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function lo(e){return ot(e)?e:new Proxy(e,Fi)}class Ri{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new kn(t,()=>{this._dirty||(this._dirty=!0,ro(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=U(this);return io(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ni(e,t,n=!1){let s,o;const i=F(e);return i?(s=e,o=be):(s=e.get,o=e.set),new Ri(s,o,i||!o,n)}function Ue(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){rn(i,t,n)}return o}function _e(e,t,n,s){if(F(e)){const i=Ue(e,t,n,s);return i&&Ws(i)&&i.catch(r=>{rn(r,t,n)}),i}const o=[];for(let i=0;i>>1;Tt(te[s])we&&te.splice(t,1)}function Wi(e){O(e)?it.push(...e):(!Ie||!Ie.includes(e,e.allowRecurse?Le+1:Le))&&it.push(e),uo()}function hs(e,t=wt?we+1:0){for(;tTt(n)-Tt(s)),Le=0;Lee.id==null?1/0:e.id,ki=(e,t)=>{const n=Tt(e)-Tt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ao(e){On=!1,wt=!0,te.sort(ki);const t=be;try{for(we=0;weZ(M)?M.trim():M)),y&&(o=n.map(xn))}let l,u=s[l=gn(t)]||s[l=gn(Te(t))];!u&&i&&(u=s[l=gn(ut(t))]),u&&_e(u,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,_e(a,e,6,o)}}function ho(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!F(e)){const u=a=>{const p=ho(a,t,!0);p&&(l=!0,Y(r,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(K(e)&&s.set(e,null),null):(O(i)?i.forEach(u=>r[u]=null):Y(r,i),K(e)&&s.set(e,r),r)}function ln(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,ut(t))||N(e,t))}let de=null,po=null;function qt(e){const t=de;return de=e,po=e&&e.type.__scopeId||null,t}function Di(e,t=de,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ts(-1);const i=qt(t);let r;try{r=e(...o)}finally{qt(i),s._d&&Ts(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function mn(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:u,emit:a,render:p,renderCache:y,data:w,setupState:M,ctx:k,inheritAttrs:T}=e;let B,V;const z=qt(e);try{if(n.shapeFlag&4){const j=o||s;B=Ce(p.call(j,j,y,i,M,w,k)),V=u}else{const j=t;B=Ce(j.length>1?j(i,{attrs:u,slots:l,emit:a}):j(i,null)),V=t.props?u:Li(u)}}catch(j){vt.length=0,rn(j,e,1),B=Me(Et)}let q=B;if(V&&T!==!1){const j=Object.keys(V),{shapeFlag:le}=q;j.length&&le&7&&(r&&j.some(Un)&&(V=Ki(V,r)),q=lt(q,V))}return n.dirs&&(q=lt(q),q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),B=q,qt(z),B}const Li=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Ki=(e,t)=>{const n={};for(const s in e)(!Un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function zi(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?ps(s,r,a):!!r;if(u&8){const p=t.dynamicProps;for(let y=0;ye.__isSuspense;function Ji(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Wi(e)}const Bt={};function bt(e,t,n){return go(e,t,n)}function go(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=L){var l;const u=ni()===((l=G)==null?void 0:l.scope)?G:null;let a,p=!1,y=!1;if(ne(e)?(a=()=>e.value,p=zt(e)):ot(e)?(a=()=>e,s=!0):O(e)?(y=!0,p=e.some(j=>ot(j)||zt(j)),a=()=>e.map(j=>{if(ne(j))return j.value;if(ot(j))return Xe(j);if(F(j))return Ue(j,u,2)})):F(e)?t?a=()=>Ue(e,u,2):a=()=>{if(!(u&&u.isUnmounted))return w&&w(),_e(e,u,3,[M])}:a=be,t&&s){const j=a;a=()=>Xe(j())}let w,M=j=>{w=z.onStop=()=>{Ue(j,u,4)}},k;if(It)if(M=be,t?n&&_e(t,u,3,[a(),y?[]:void 0,M]):a(),o==="sync"){const j=qr();k=j.__watcherHandles||(j.__watcherHandles=[])}else return be;let T=y?new Array(e.length).fill(Bt):Bt;const B=()=>{if(z.active)if(t){const j=z.run();(s||p||(y?j.some((le,W)=>xt(le,T[W])):xt(j,T)))&&(w&&w(),_e(t,u,3,[j,T===Bt?void 0:y&&T[0]===Bt?[]:T,M]),T=j)}else z.run()};B.allowRecurse=!!t;let V;o==="sync"?V=B:o==="post"?V=()=>ce(B,u&&u.suspense):(B.pre=!0,u&&(B.id=u.uid),V=()=>Xn(B));const z=new kn(a,V);t?n?B():T=z.run():o==="post"?ce(z.run.bind(z),u&&u.suspense):z.run();const q=()=>{z.stop(),u&&u.scope&&Hn(u.scope.effects,z)};return k&&k.push(q),q}function Yi(e,t,n){const s=this.proxy,o=Z(e)?e.includes(".")?mo(s,e):()=>s[e]:e.bind(s,s);let i;F(t)?i=t:(i=t.handler,n=t);const r=G;ct(this);const l=go(o,i.bind(s),n);return r?ct(r):Ye(),l}function mo(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Xe(n,t)});else if(Vs(e))for(const n in e)Xe(e[n],t);return e}function Q(e,t){const n=de;if(n===null)return e;const s=an(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;iY({name:e.name},t,{setup:e}))():e}const kt=e=>!!e.type.__asyncLoader,_o=e=>e.type.__isKeepAlive;function Zi(e,t){vo(e,"a",t)}function Qi(e,t){vo(e,"da",t)}function vo(e,t,n=G){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(cn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)_o(o.parent.vnode)&&Gi(s,t,n,o),o=o.parent}}function Gi(e,t,n,s){const o=cn(t,e,s,!0);yo(()=>{Hn(s[t],o)},n)}function cn(e,t,n=G,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;ft(),ct(n);const l=_e(t,n,e,r);return Ye(),at(),l});return s?o.unshift(i):o.push(i),i}}const Ae=e=>(t,n=G)=>(!It||e==="sp")&&cn(e,(...s)=>t(...s),n),er=Ae("bm"),tr=Ae("m"),nr=Ae("bu"),sr=Ae("u"),or=Ae("bum"),yo=Ae("um"),ir=Ae("sp"),rr=Ae("rtg"),lr=Ae("rtc");function cr(e,t=G){cn("ec",e,t)}const xo="components";function ur(e,t){return ar(xo,e,!0,t)||e}const fr=Symbol.for("v-ndc");function ar(e,t,n=!0,s=!1){const o=de||G;if(o){const i=o.type;if(e===xo){const l=Lr(i,!1);if(l&&(l===t||l===Te(t)||l===en(Te(t))))return i}const r=gs(o[e]||i[e],t)||gs(o.appContext[e],t);return!r&&s?i:r}}function gs(e,t){return e&&(e[t]||e[Te(t)]||e[en(Te(t))])}const Mn=e=>e?Fo(e)?an(e)||e.proxy:Mn(e.parent):null,_t=Y(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=>Mn(e.parent),$root:e=>Mn(e.root),$emit:e=>e.emit,$options:e=>Jn(e),$forceUpdate:e=>e.f||(e.f=()=>Xn(e.update)),$nextTick:e=>e.n||(e.n=Ui.bind(e.proxy)),$watch:e=>Yi.bind(e)}),bn=(e,t)=>e!==L&&!e.__isScriptSetup&&N(e,t),dr={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:u}=e;let a;if(t[0]!=="$"){const M=r[t];if(M!==void 0)switch(M){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(bn(s,t))return r[t]=1,s[t];if(o!==L&&N(o,t))return r[t]=2,o[t];if((a=e.propsOptions[0])&&N(a,t))return r[t]=3,i[t];if(n!==L&&N(n,t))return r[t]=4,n[t];Sn&&(r[t]=0)}}const p=_t[t];let y,w;if(p)return t==="$attrs"&&ue(e,"get",t),p(e);if((y=l.__cssModules)&&(y=y[t]))return y;if(n!==L&&N(n,t))return r[t]=4,n[t];if(w=u.config.globalProperties,N(w,t))return w[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return bn(o,t)?(o[t]=n,!0):s!==L&&N(s,t)?(s[t]=n,!0):N(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==L&&N(e,r)||bn(t,r)||(l=i[0])&&N(l,r)||N(s,r)||N(_t,r)||N(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ms(e){return O(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Sn=!0;function hr(e){const t=Jn(e),n=e.proxy,s=e.ctx;Sn=!1,t.beforeCreate&&bs(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:u,inject:a,created:p,beforeMount:y,mounted:w,beforeUpdate:M,updated:k,activated:T,deactivated:B,beforeDestroy:V,beforeUnmount:z,destroyed:q,unmounted:j,render:le,renderTracked:W,renderTriggered:se,errorCaptured:oe,serverPrefetch:je,expose:Ee,inheritAttrs:$e,components:Ze,directives:Qe,filters:We}=t;if(a&&pr(a,s,null),r)for(const S in r){const H=r[S];F(H)&&(s[S]=H.bind(n))}if(o){const S=o.call(n,n);K(S)&&(e.data=on(S))}if(Sn=!0,i)for(const S in i){const H=i[S],Fe=F(H)?H.bind(n,n):F(H.get)?H.get.bind(n,n):be,Mt=!F(H)&&F(H.set)?H.set.bind(n):be,ke=re({get:Fe,set:Mt});Object.defineProperty(s,S,{enumerable:!0,configurable:!0,get:()=>ke.value,set:ve=>ke.value=ve})}if(l)for(const S in l)Co(l[S],s,n,S);if(u){const S=F(u)?u.call(n):u;Reflect.ownKeys(S).forEach(H=>{yr(H,S[H])})}p&&bs(p,e,"c");function ee(S,H){O(H)?H.forEach(Fe=>S(Fe.bind(n))):H&&S(H.bind(n))}if(ee(er,y),ee(tr,w),ee(nr,M),ee(sr,k),ee(Zi,T),ee(Qi,B),ee(cr,oe),ee(lr,W),ee(rr,se),ee(or,z),ee(yo,j),ee(ir,je),O(Ee))if(Ee.length){const S=e.exposed||(e.exposed={});Ee.forEach(H=>{Object.defineProperty(S,H,{get:()=>n[H],set:Fe=>n[H]=Fe})})}else e.exposed||(e.exposed={});le&&e.render===be&&(e.render=le),$e!=null&&(e.inheritAttrs=$e),Ze&&(e.components=Ze),Qe&&(e.directives=Qe)}function pr(e,t,n=be){O(e)&&(e=An(e));for(const s in e){const o=e[s];let i;K(o)?"default"in o?i=Vt(o.from||s,o.default,!0):i=Vt(o.from||s):i=Vt(o),ne(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function bs(e,t,n){_e(O(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Co(e,t,n,s){const o=s.includes(".")?mo(n,s):()=>n[s];if(Z(e)){const i=t[e];F(i)&&bt(o,i)}else if(F(e))bt(o,e.bind(n));else if(K(e))if(O(e))e.forEach(i=>Co(i,t,n,s));else{const i=F(e.handler)?e.handler.bind(n):t[e.handler];F(i)&&bt(o,i,e)}}function Jn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let u;return l?u=l:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(a=>Xt(u,a,r,!0)),Xt(u,t,r)),K(t)&&i.set(t,u),u}function Xt(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Xt(e,i,n,!0),o&&o.forEach(r=>Xt(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=gr[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const gr={data:_s,props:vs,emits:vs,methods:gt,computed:gt,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:gt,directives:gt,watch:br,provide:_s,inject:mr};function _s(e,t){return t?e?function(){return Y(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function mr(e,t){return gt(An(e),An(t))}function An(e){if(O(e)){const t={};for(let n=0;n1)return n&&F(t)?t.call(s&&s.proxy):t}}function xr(e,t,n,s=!1){const o={},i={};Kt(i,fn,1),e.propsDefaults=Object.create(null),To(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:Mi(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Cr(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=U(o),[u]=e.propsOptions;let a=!1;if((s||r>0)&&!(r&16)){if(r&8){const p=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[w,M]=Eo(y,t,!0);Y(r,w),M&&l.push(...M)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!i&&!u)return K(e)&&s.set(e,nt),nt;if(O(i))for(let p=0;p-1,M[1]=T<0||k-1||N(M,"default"))&&l.push(y)}}}const a=[r,l];return K(e)&&s.set(e,a),a}function ys(e){return e[0]!=="$"}function xs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Cs(e,t){return xs(e)===xs(t)}function ws(e,t){return O(t)?t.findIndex(n=>Cs(n,e)):F(t)&&Cs(t,e)?0:-1}const Po=e=>e[0]==="_"||e==="$stable",Yn=e=>O(e)?e.map(Ce):[Ce(e)],wr=(e,t,n)=>{if(t._n)return t;const s=Di((...o)=>Yn(t(...o)),n);return s._c=!1,s},Io=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Po(o))continue;const i=e[o];if(F(i))t[o]=wr(o,i,s);else if(i!=null){const r=Yn(i);t[o]=()=>r}}},Oo=(e,t)=>{const n=Yn(t);e.slots.default=()=>n},Tr=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=U(t),Kt(t,"_",n)):Io(t,e.slots={})}else e.slots={},t&&Oo(e,t);Kt(e.slots,fn,1)},Er=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=L;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Y(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Io(t,o)),r=t}else t&&(Oo(e,t),r={default:1});if(i)for(const l in o)!Po(l)&&!(l in r)&&delete o[l]};function Fn(e,t,n,s,o=!1){if(O(e)){e.forEach((w,M)=>Fn(w,t&&(O(t)?t[M]:t),n,s,o));return}if(kt(s)&&!o)return;const i=s.shapeFlag&4?an(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:u}=e,a=t&&t.r,p=l.refs===L?l.refs={}:l.refs,y=l.setupState;if(a!=null&&a!==u&&(Z(a)?(p[a]=null,N(y,a)&&(y[a]=null)):ne(a)&&(a.value=null)),F(u))Ue(u,l,12,[r,p]);else{const w=Z(u),M=ne(u);if(w||M){const k=()=>{if(e.f){const T=w?N(y,u)?y[u]:p[u]:u.value;o?O(T)&&Hn(T,i):O(T)?T.includes(i)||T.push(i):w?(p[u]=[i],N(y,u)&&(y[u]=p[u])):(u.value=[i],e.k&&(p[e.k]=u.value))}else w?(p[u]=r,N(y,u)&&(y[u]=r)):M&&(u.value=r,e.k&&(p[e.k]=r))};r?(k.id=-1,ce(k,n)):k()}}}const ce=Ji;function Pr(e){return Ir(e)}function Ir(e,t){const n=Cn();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:u,setText:a,setElementText:p,parentNode:y,nextSibling:w,setScopeId:M=be,insertStaticContent:k}=e,T=(c,f,d,g=null,h=null,v=null,C=!1,_=null,x=!!f.dynamicChildren)=>{if(c===f)return;c&&!ht(c,f)&&(g=St(c),ve(c,h,v,!0),c=null),f.patchFlag===-2&&(x=!1,f.dynamicChildren=null);const{type:m,ref:P,shapeFlag:E}=f;switch(m){case un:B(c,f,d,g);break;case Et:V(c,f,d,g);break;case Dt:c==null&&z(f,d,g,C);break;case Oe:Ze(c,f,d,g,h,v,C,_,x);break;default:E&1?le(c,f,d,g,h,v,C,_,x):E&6?Qe(c,f,d,g,h,v,C,_,x):(E&64||E&128)&&m.process(c,f,d,g,h,v,C,_,x,Ge)}P!=null&&h&&Fn(P,c&&c.ref,v,f||c,!f)},B=(c,f,d,g)=>{if(c==null)s(f.el=l(f.children),d,g);else{const h=f.el=c.el;f.children!==c.children&&a(h,f.children)}},V=(c,f,d,g)=>{c==null?s(f.el=u(f.children||""),d,g):f.el=c.el},z=(c,f,d,g)=>{[c.el,c.anchor]=k(c.children,f,d,g,c.el,c.anchor)},q=({el:c,anchor:f},d,g)=>{let h;for(;c&&c!==f;)h=w(c),s(c,d,g),c=h;s(f,d,g)},j=({el:c,anchor:f})=>{let d;for(;c&&c!==f;)d=w(c),o(c),c=d;o(f)},le=(c,f,d,g,h,v,C,_,x)=>{C=C||f.type==="svg",c==null?W(f,d,g,h,v,C,_,x):je(c,f,h,v,C,_,x)},W=(c,f,d,g,h,v,C,_)=>{let x,m;const{type:P,props:E,shapeFlag:I,transition:A,dirs:R}=c;if(x=c.el=r(c.type,v,E&&E.is,E),I&8?p(x,c.children):I&16&&oe(c.children,x,null,g,h,v&&P!=="foreignObject",C,_),R&&Ve(c,null,g,"created"),se(x,c,c.scopeId,C,g),E){for(const $ in E)$!=="value"&&!$t($)&&i(x,$,null,E[$],v,c.children,g,h,Pe);"value"in E&&i(x,"value",null,E.value),(m=E.onVnodeBeforeMount)&&xe(m,g,c)}R&&Ve(c,null,g,"beforeMount");const D=(!h||h&&!h.pendingBranch)&&A&&!A.persisted;D&&A.beforeEnter(x),s(x,f,d),((m=E&&E.onVnodeMounted)||D||R)&&ce(()=>{m&&xe(m,g,c),D&&A.enter(x),R&&Ve(c,null,g,"mounted")},h)},se=(c,f,d,g,h)=>{if(d&&M(c,d),g)for(let v=0;v{for(let m=x;m{const _=f.el=c.el;let{patchFlag:x,dynamicChildren:m,dirs:P}=f;x|=c.patchFlag&16;const E=c.props||L,I=f.props||L;let A;d&&De(d,!1),(A=I.onVnodeBeforeUpdate)&&xe(A,d,f,c),P&&Ve(f,c,d,"beforeUpdate"),d&&De(d,!0);const R=h&&f.type!=="foreignObject";if(m?Ee(c.dynamicChildren,m,_,d,g,R,v):C||H(c,f,_,null,d,g,R,v,!1),x>0){if(x&16)$e(_,f,E,I,d,g,h);else if(x&2&&E.class!==I.class&&i(_,"class",null,I.class,h),x&4&&i(_,"style",E.style,I.style,h),x&8){const D=f.dynamicProps;for(let $=0;${A&&xe(A,d,f,c),P&&Ve(f,c,d,"updated")},g)},Ee=(c,f,d,g,h,v,C)=>{for(let _=0;_{if(d!==g){if(d!==L)for(const _ in d)!$t(_)&&!(_ in g)&&i(c,_,d[_],null,C,f.children,h,v,Pe);for(const _ in g){if($t(_))continue;const x=g[_],m=d[_];x!==m&&_!=="value"&&i(c,_,m,x,C,f.children,h,v,Pe)}"value"in g&&i(c,"value",d.value,g.value)}},Ze=(c,f,d,g,h,v,C,_,x)=>{const m=f.el=c?c.el:l(""),P=f.anchor=c?c.anchor:l("");let{patchFlag:E,dynamicChildren:I,slotScopeIds:A}=f;A&&(_=_?_.concat(A):A),c==null?(s(m,d,g),s(P,d,g),oe(f.children,d,P,h,v,C,_,x)):E>0&&E&64&&I&&c.dynamicChildren?(Ee(c.dynamicChildren,I,d,h,v,C,_),(f.key!=null||h&&f===h.subTree)&&Mo(c,f,!0)):H(c,f,d,P,h,v,C,_,x)},Qe=(c,f,d,g,h,v,C,_,x)=>{f.slotScopeIds=_,c==null?f.shapeFlag&512?h.ctx.activate(f,d,g,C,x):We(f,d,g,h,v,C,x):dn(c,f,x)},We=(c,f,d,g,h,v,C)=>{const _=c.component=$r(c,g,h);if(_o(c)&&(_.ctx.renderer=Ge),Wr(_),_.asyncDep){if(h&&h.registerDep(_,ee),!c.el){const x=_.subTree=Me(Et);V(null,x,f,d)}return}ee(_,c,f,d,h,v,C)},dn=(c,f,d)=>{const g=f.component=c.component;if(zi(c,f,d))if(g.asyncDep&&!g.asyncResolved){S(g,f,d);return}else g.next=f,$i(g.update),g.update();else f.el=c.el,g.vnode=f},ee=(c,f,d,g,h,v,C)=>{const _=()=>{if(c.isMounted){let{next:P,bu:E,u:I,parent:A,vnode:R}=c,D=P,$;De(c,!1),P?(P.el=R.el,S(c,P,C)):P=R,E&&Wt(E),($=P.props&&P.props.onVnodeBeforeUpdate)&&xe($,A,P,R),De(c,!0);const X=mn(c),he=c.subTree;c.subTree=X,T(he,X,y(he.el),St(he),c,h,v),P.el=X.el,D===null&&qi(c,X.el),I&&ce(I,h),($=P.props&&P.props.onVnodeUpdated)&&ce(()=>xe($,A,P,R),h)}else{let P;const{el:E,props:I}=f,{bm:A,m:R,parent:D}=c,$=kt(f);if(De(c,!1),A&&Wt(A),!$&&(P=I&&I.onVnodeBeforeMount)&&xe(P,D,f),De(c,!0),E&&pn){const X=()=>{c.subTree=mn(c),pn(E,c.subTree,c,h,null)};$?f.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=mn(c);T(null,X,d,g,c,h,v),f.el=X.el}if(R&&ce(R,h),!$&&(P=I&&I.onVnodeMounted)){const X=f;ce(()=>xe(P,D,X),h)}(f.shapeFlag&256||D&&kt(D.vnode)&&D.vnode.shapeFlag&256)&&c.a&&ce(c.a,h),c.isMounted=!0,f=d=g=null}},x=c.effect=new kn(_,()=>Xn(m),c.scope),m=c.update=()=>x.run();m.id=c.uid,De(c,!0),m()},S=(c,f,d)=>{f.component=c;const g=c.vnode.props;c.vnode=f,c.next=null,Cr(c,f.props,g,d),Er(c,f.children,d),ft(),hs(),at()},H=(c,f,d,g,h,v,C,_,x=!1)=>{const m=c&&c.children,P=c?c.shapeFlag:0,E=f.children,{patchFlag:I,shapeFlag:A}=f;if(I>0){if(I&128){Mt(m,E,d,g,h,v,C,_,x);return}else if(I&256){Fe(m,E,d,g,h,v,C,_,x);return}}A&8?(P&16&&Pe(m,h,v),E!==m&&p(d,E)):P&16?A&16?Mt(m,E,d,g,h,v,C,_,x):Pe(m,h,v,!0):(P&8&&p(d,""),A&16&&oe(E,d,g,h,v,C,_,x))},Fe=(c,f,d,g,h,v,C,_,x)=>{c=c||nt,f=f||nt;const m=c.length,P=f.length,E=Math.min(m,P);let I;for(I=0;IP?Pe(c,h,v,!0,!1,E):oe(f,d,g,h,v,C,_,x,E)},Mt=(c,f,d,g,h,v,C,_,x)=>{let m=0;const P=f.length;let E=c.length-1,I=P-1;for(;m<=E&&m<=I;){const A=c[m],R=f[m]=x?Ne(f[m]):Ce(f[m]);if(ht(A,R))T(A,R,d,null,h,v,C,_,x);else break;m++}for(;m<=E&&m<=I;){const A=c[E],R=f[I]=x?Ne(f[I]):Ce(f[I]);if(ht(A,R))T(A,R,d,null,h,v,C,_,x);else break;E--,I--}if(m>E){if(m<=I){const A=I+1,R=AI)for(;m<=E;)ve(c[m],h,v,!0),m++;else{const A=m,R=m,D=new Map;for(m=R;m<=I;m++){const fe=f[m]=x?Ne(f[m]):Ce(f[m]);fe.key!=null&&D.set(fe.key,m)}let $,X=0;const he=I-R+1;let et=!1,ts=0;const dt=new Array(he);for(m=0;m=he){ve(fe,h,v,!0);continue}let ye;if(fe.key!=null)ye=D.get(fe.key);else for($=R;$<=I;$++)if(dt[$-R]===0&&ht(fe,f[$])){ye=$;break}ye===void 0?ve(fe,h,v,!0):(dt[ye-R]=m+1,ye>=ts?ts=ye:et=!0,T(fe,f[ye],d,null,h,v,C,_,x),X++)}const ns=et?Or(dt):nt;for($=ns.length-1,m=he-1;m>=0;m--){const fe=R+m,ye=f[fe],ss=fe+1{const{el:v,type:C,transition:_,children:x,shapeFlag:m}=c;if(m&6){ke(c.component.subTree,f,d,g);return}if(m&128){c.suspense.move(f,d,g);return}if(m&64){C.move(c,f,d,Ge);return}if(C===Oe){s(v,f,d);for(let E=0;E_.enter(v),h);else{const{leave:E,delayLeave:I,afterLeave:A}=_,R=()=>s(v,f,d),D=()=>{E(v,()=>{R(),A&&A()})};I?I(v,R,D):D()}else s(v,f,d)},ve=(c,f,d,g=!1,h=!1)=>{const{type:v,props:C,ref:_,children:x,dynamicChildren:m,shapeFlag:P,patchFlag:E,dirs:I}=c;if(_!=null&&Fn(_,null,d,c,!0),P&256){f.ctx.deactivate(c);return}const A=P&1&&I,R=!kt(c);let D;if(R&&(D=C&&C.onVnodeBeforeUnmount)&&xe(D,f,c),P&6)Wo(c.component,d,g);else{if(P&128){c.suspense.unmount(d,g);return}A&&Ve(c,null,f,"beforeUnmount"),P&64?c.type.remove(c,f,d,h,Ge,g):m&&(v!==Oe||E>0&&E&64)?Pe(m,f,d,!1,!0):(v===Oe&&E&384||!h&&P&16)&&Pe(x,f,d),g&&Gn(c)}(R&&(D=C&&C.onVnodeUnmounted)||A)&&ce(()=>{D&&xe(D,f,c),A&&Ve(c,null,f,"unmounted")},d)},Gn=c=>{const{type:f,el:d,anchor:g,transition:h}=c;if(f===Oe){$o(d,g);return}if(f===Dt){j(c);return}const v=()=>{o(d),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(c.shapeFlag&1&&h&&!h.persisted){const{leave:C,delayLeave:_}=h,x=()=>C(d,v);_?_(c.el,v,x):x()}else v()},$o=(c,f)=>{let d;for(;c!==f;)d=w(c),o(c),c=d;o(f)},Wo=(c,f,d)=>{const{bum:g,scope:h,update:v,subTree:C,um:_}=c;g&&Wt(g),h.stop(),v&&(v.active=!1,ve(C,c,f,d)),_&&ce(_,f),ce(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Pe=(c,f,d,g=!1,h=!1,v=0)=>{for(let C=v;Cc.shapeFlag&6?St(c.component.subTree):c.shapeFlag&128?c.suspense.next():w(c.anchor||c.el),es=(c,f,d)=>{c==null?f._vnode&&ve(f._vnode,null,null,!0):T(f._vnode||null,c,f,null,null,null,d),hs(),fo(),f._vnode=c},Ge={p:T,um:ve,m:ke,r:Gn,mt:We,mc:oe,pc:H,pbc:Ee,n:St,o:e};let hn,pn;return t&&([hn,pn]=t(Ge)),{render:es,hydrate:hn,createApp:vr(es,hn)}}function De({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mo(e,t,n=!1){const s=e.children,o=t.children;if(O(s)&&O(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const Mr=e=>e.__isTeleport,Oe=Symbol.for("v-fgt"),un=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Dt=Symbol.for("v-stc"),vt=[];let me=null;function So(e=!1){vt.push(me=e?null:[])}function Sr(){vt.pop(),me=vt[vt.length-1]||null}let Pt=1;function Ts(e){Pt+=e}function Ar(e){return e.dynamicChildren=Pt>0?me||nt:null,Sr(),Pt>0&&me&&me.push(e),e}function Ao(e,t,n,s,o,i){return Ar(b(e,t,n,s,o,i,!0))}function jr(e){return e?e.__v_isVNode===!0:!1}function ht(e,t){return e.type===t.type&&e.key===t.key}const fn="__vInternal",jo=({key:e})=>e??null,Lt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||ne(e)||F(e)?{i:de,r:e,k:t,f:!!n}:e:null);function b(e,t=null,n=null,s=0,o=null,i=e===Oe?0:1,r=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jo(t),ref:t&&Lt(t),scopeId:po,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:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:de};return l?(Zn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=Z(n)?8:16),Pt>0&&!r&&me&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&me.push(u),u}const Me=Fr;function Fr(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===fr)&&(e=Et),jr(e)){const l=lt(e,t,!0);return n&&Zn(l,n),Pt>0&&!i&&me&&(l.shapeFlag&6?me[me.indexOf(e)]=l:me.push(l)),l.patchFlag|=-2,l}if(Kr(e)&&(e=e.__vccOpts),t){t=Rr(t);let{class:l,style:u}=t;l&&!Z(l)&&(t.class=tn(l)),K(u)&&(so(u)&&!O(u)&&(u=Y({},u)),t.style=qe(u))}const r=Z(e)?1:Xi(e)?128:Mr(e)?64:K(e)?4:F(e)?2:0;return b(e,t,n,s,o,r,i,!0)}function Rr(e){return e?so(e)||fn in e?Y({},e):e:null}function lt(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Br(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&jo(l),ref:t&&t.ref?n&&o?O(o)?o.concat(Lt(t)):[o,Lt(t)]:Lt(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&<(e.ssContent),ssFallback:e.ssFallback&<(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function mt(e=" ",t=0){return Me(un,null,e,t)}function Nr(e,t){const n=Me(Dt,null,e);return n.staticCount=t,n}function Ce(e){return e==null||typeof e=="boolean"?Me(Et):O(e)?Me(Oe,null,e.slice()):typeof e=="object"?Ne(e):Me(un,null,String(e))}function Ne(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:lt(e)}function Zn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(O(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Zn(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(fn in t)?t._ctx=de:o===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else F(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Br(...e){const t={};for(let n=0;nG=e),Qn=e=>{tt.length>1?tt.forEach(t=>t(e)):tt[0](e)};const ct=e=>{Qn(e),e.scope.on()},Ye=()=>{G&&G.scope.off(),Qn(null)};function Fo(e){return e.vnode.shapeFlag&4}let It=!1;function Wr(e,t=!1){It=t;const{props:n,children:s}=e.vnode,o=Fo(e);xr(e,n,o,t),Tr(e,s);const i=o?kr(e,t):void 0;return It=!1,i}function kr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=oo(new Proxy(e.ctx,dr));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Dr(e):null;ct(e),ft();const i=Ue(s,e,0,[e.props,o]);if(at(),Ye(),Ws(i)){if(i.then(Ye,Ye),t)return i.then(r=>{Ps(e,r,t)}).catch(r=>{rn(r,e,0)});e.asyncDep=i}else Ps(e,i,t)}else Ro(e,t)}function Ps(e,t,n){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=lo(t)),Ro(e,n)}let Is;function Ro(e,t,n){const s=e.type;if(!e.render){if(!t&&Is&&!s.render){const o=s.template||Jn(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:u}=s,a=Y(Y({isCustomElement:i,delimiters:l},r),u);s.render=Is(o,a)}}e.render=s.render||be}ct(e),ft(),hr(e),at(),Ye()}function Vr(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ue(e,"get","$attrs"),t[n]}}))}function Dr(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Vr(e)},slots:e.slots,emit:e.emit,expose:t}}function an(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(lo(oo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _t)return _t[n](e)},has(t,n){return n in t||n in _t}}))}function Lr(e,t=!0){return F(e)?e.displayName||e.name:e.name||t&&e.__name}function Kr(e){return F(e)&&"__vccOpts"in e}const re=(e,t)=>Ni(e,t,It),zr=Symbol.for("v-scx"),qr=()=>Vt(zr),Xr="3.3.4",Jr="http://www.w3.org/2000/svg",Ke=typeof document<"u"?document:null,Os=Ke&&Ke.createElement("template"),Yr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?Ke.createElementNS(Jr,e):Ke.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Os.innerHTML=s?`${e}`:e;const l=Os.content;if(s){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Zr(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Qr(e,t,n){const s=e.style,o=Z(n);if(n&&!o){if(t&&!Z(t))for(const i in t)n[i]==null&&Rn(s,i,"");for(const i in n)Rn(s,i,n[i])}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Ms=/\s*!important$/;function Rn(e,t,n){if(O(n))n.forEach(s=>Rn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Gr(e,t);Ms.test(n)?e.setProperty(ut(s),n.replace(Ms,""),"important"):e[s]=n}}const Ss=["Webkit","Moz","ms"],_n={};function Gr(e,t){const n=_n[t];if(n)return n;let s=Te(t);if(s!=="filter"&&s in e)return _n[t]=s;s=en(s);for(let o=0;ovn||(il.then(()=>vn=0),vn=Date.now());function ll(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;_e(cl(s,n.value),t,5,[s])};return n.value=e,n.attached=rl(),n}function cl(e,t){if(O(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Fs=/^on[a-z]/,ul=(e,t,n,s,o=!1,i,r,l,u)=>{t==="class"?Zr(e,s,o):t==="style"?Qr(e,n,s):Zt(t)?Un(t)||sl(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fl(e,t,s,o))?tl(e,t,s,i,r,l,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),el(e,t,s,o))};function fl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Fs.test(t)&&F(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Fs.test(t)&&Z(n)?!1:t in e}const Yt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?n=>Wt(t,n):t};function al(e){e.target.composing=!0}function Rs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ae={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=Yt(o);const i=s||o.props&&o.props.type==="number";ze(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=xn(l)),e._assign(l)}),n&&ze(e,"change",()=>{e.value=e.value.trim()}),t||(ze(e,"compositionstart",al),ze(e,"compositionend",Rs),ze(e,"change",Rs))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e._assign=Yt(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&xn(e.value)===t))return;const r=t??"";e.value!==r&&(e.value=r)}},Ut={deep:!0,created(e,t,n){e._assign=Yt(n),ze(e,"change",()=>{const s=e._modelValue,o=dl(e),i=e.checked,r=e._assign;if(O(s)){const l=Ls(s,o),u=l!==-1;if(i&&!u)r(s.concat(o));else if(!i&&u){const a=[...s];a.splice(l,1),r(a)}}else if(Qt(s)){const l=new Set(s);i?l.add(o):l.delete(o),r(l)}else r(No(e,i))})},mounted:Ns,beforeUpdate(e,t,n){e._assign=Yt(n),Ns(e,t,n)}};function Ns(e,{value:t,oldValue:n},s){e._modelValue=t,O(t)?e.checked=Ls(t,s.props.value)>-1:Qt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=nn(t,No(e,!0)))}function dl(e){return"_value"in e?e._value:e.value}function No(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const hl=Y({patchProp:ul},Yr);let Bs;function pl(){return Bs||(Bs=Pr(hl))}const gl=(...e)=>{const t=pl().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=ml(s);if(!o)return;const i=t._component;!F(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};function ml(e){return Z(e)?document.querySelector(e):e}var Ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Us=typeof window<"u"&&"requestAnimationFrame"in window?window.requestAnimationFrame:function(e){setTimeout(e,16)};function bl(e){var t="startValue"in e?e.startValue:0,n="endValue"in e?e.endValue:1,s="durationMs"in e?e.durationMs:200,o=e.onComplete||function(){},i=s/16,r=(n-t)/i,l=Math.PI/i,u=t,a=0;function p(){a+=l,u+=r*Math.pow(Math.sin(a),2)*2,a=t||se<0||y&&oe>=i}function V(){var W=yn();if(B(W))return z(W);l=setTimeout(V,T(W))}function z(W){return l=void 0,w&&s?M(W):(s=o=void 0,r)}function q(){l!==void 0&&clearTimeout(l),a=0,s=u=o=l=void 0}function j(){return l===void 0?r:z(yn())}function le(){var W=yn(),se=B(W);if(s=arguments,o=this,u=W,se){if(l===void 0)return k(u);if(y)return l=setTimeout(V,t),M(u)}return l===void 0&&(l=setTimeout(V,t)),r}return le.cancel=q,le.flush=j,le}function Nn(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Nl(e){return!!e&&typeof e=="object"}function Bl(e){return typeof e=="symbol"||Nl(e)&&Al.call(e)==xl}function $s(e){if(typeof e=="number")return e;if(Bl(e))return Hs;if(Nn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Nn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Cl,"");var n=Tl.test(e);return n||El.test(e)?Pl(e.slice(2),n?2:8):wl.test(e)?Hs:+e}var Ul=Rl;const Hl=Bo(Ul),$l=bo({name:"SlideUnlock",props:{autoWidth:{type:Boolean,default:!0},width:{type:Number,default:400},height:{type:Number,default:60},text:{type:String,default:"slide to unlock"},successText:{type:String,default:"success"},circle:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},noanimate:{type:Boolean,default:!1},name:{type:String,default:"slideunlock"}},setup(e,{emit:t}){const n=on({CanMove:!1,IsComplete:!1,StartPositionWindow:0,HandlerPosition:0,ProgressWidth:0,TextOpacity:1}),s=re(()=>({width:e.autoWidth?"auto":e.width+"px",height:e.height+"px"})),o=re(()=>({width:n.ProgressWidth+"px",height:e.height+"px",borderRadius:e.circle?n.IsComplete?e.height/2+"px ":e.height/2+"px 0 0 "+e.height/2+"px":0})),i=re(()=>({left:n.HandlerPosition+"px",width:e.height+"px",height:e.height+"px"})),r=re(()=>n.IsComplete?e.successText:e.text),l=re(()=>{const T=document.getElementById(e.name);return e.autoWidth?T.clientWidth-parseInt(getComputedStyle(T).getPropertyValue("--su-size-padding").replace("px",""),10)*2:e.width});bt(()=>e.autoWidth,()=>{n.IsComplete&&setTimeout(()=>{n.ProgressWidth=l.value},1)}),bt(()=>e.width,()=>{n.IsComplete&&(n.ProgressWidth=l.value)});const u=Hl(function(){const T=(l.value-e.height)*(100/n.HandlerPosition)/1e3-.1;n.CanMove&&(n.TextOpacity=T)},5),a=T=>{n.IsComplete||(n.CanMove=!0,window.TouchEvent&&T instanceof TouchEvent&&T.touches?n.StartPositionWindow=T.touches[0].pageX-n.HandlerPosition:T instanceof MouseEvent&&(n.StartPositionWindow=T.pageX-n.HandlerPosition)),document.onmousemove=B=>(p(B),!1),document.onmouseup=B=>(y(B),document.onmousemove=null,!1)},p=T=>{n.CanMove&&!n.IsComplete&&(window.TouchEvent&&T instanceof TouchEvent&&T.touches?n.HandlerPosition=T.touches[0].pageX-n.StartPositionWindow:T instanceof MouseEvent&&(n.HandlerPosition=T.pageX-n.StartPositionWindow),n.HandlerPosition>0&&n.HandlerPosition<=l.value-e.height?(n.ProgressWidth=n.HandlerPosition+e.height/2,u()):n.HandlerPosition>l.value-e.height&&(n.HandlerPosition=l.value-e.height,n.ProgressWidth=l.value,w()))},y=T=>{n.CanMove&&!n.IsComplete&&(window.TouchEvent&&T instanceof TouchEvent&&T.touches?n.HandlerPosition=T.changedTouches[0].pageX-n.StartPositionWindow:T instanceof MouseEvent&&(n.HandlerPosition=T.pageX-n.StartPositionWindow),n.HandlerPosition{n.HandlerPosition=B,n.ProgressWidth=B+e.height/2}}),n.TextOpacity=1),n.CanMove=!1)},w=()=>{n.IsComplete=!0,n.CanMove=!1,t("completed")};return{Slider:n,slideUnlockStyle:s,progressBarStyle:o,handlerStyle:i,message:r,sliderWidth:l,slideStart:a,slideMoving:p,slideFinish:y,reset:()=>{n.CanMove=!1,n.IsComplete=!1,n.StartPositionWindow=0,n.HandlerPosition=0,n.ProgressWidth=0,n.TextOpacity=1},complete:()=>{n.CanMove=!1,n.IsComplete=!0,n.StartPositionWindow=0,n.HandlerPosition=0,n.ProgressWidth=l.value,n.TextOpacity=1}}}});const Uo=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Wl=["id"];function kl(e,t,n,s,o,i){return So(),Ao("div",{id:e.name,class:tn(["slideunlock",{"is-disabled":e.disabled,"is-noanimate":e.noanimate,"is-circle":e.circle,"is-complete":e.Slider.IsComplete}]),style:qe(e.slideUnlockStyle),onMousemove:t[2]||(t[2]=(...r)=>e.slideMoving&&e.slideMoving(...r)),onMouseup:t[3]||(t[3]=(...r)=>e.slideFinish&&e.slideFinish(...r)),onTouchmove:t[4]||(t[4]=(...r)=>e.slideMoving&&e.slideMoving(...r)),onTouchend:t[5]||(t[5]=(...r)=>e.slideFinish&&e.slideFinish(...r))},[b("div",{class:"slideunlock-progressbar",style:qe(e.progressBarStyle)},null,4),b("div",{class:"slideunlock-text",style:qe({opacity:e.Slider.TextOpacity})},wn(e.message),5),b("div",{class:"slideunlock-handler",style:qe(e.handlerStyle),onMousedown:t[0]||(t[0]=(...r)=>e.slideStart&&e.slideStart(...r)),onTouchstart:t[1]||(t[1]=(...r)=>e.slideStart&&e.slideStart(...r))},null,36)],46,Wl)}const Vl=Uo($l,[["render",kl],["__scopeId","data-v-e1471ca2"]]),Dl="vue-slide-unlock",Ll="0.4.8",Kl="Vue.js slide to unlock component. Protect users from accidental clicks or protect your web app from bot attack.",zl={name:"Anton Zolotov",email:"antonzolotov@outlook.com"},ql="module",Xl=["dist"],Jl="dist/vue-slide-unlock.umd.js",Yl="dist/vue-slide-unlock.es.js",Zl="dist/types/index.d.ts",Ql=["demo"],Gl={dev:"vite",build:"vite build && yarn build:types","build:types":"vue-tsc --project tsconfig.types.json --declaration --emitDeclarationOnly --outDir dist/types ",typecheck:"vue-tsc --project tsconfig.types.json --noEmit",demo:"yarn workspace demo generate",lint:"npm run lint:js && npm run lint:style","lint:js":"eslint --fix --ext .js,.vue --ignore-path .eslintignore .","lint:style":"stylelint **/*.{vue,css,scss} --ignore-path .gitignore --fix --config ./.stylelintrc-format",test:"vitest --run","test:e2e":"cypress run --component","make-badges":"istanbul-badges-readme"},ec={reporter:["html","json-summary"],extension:[".js",".ts",".vue"]},tc={"easy-ease":"^1.0.9","lodash.debounce":"^4.0.8"},nc={"@babel/types":"^7.23.0","@cypress/code-coverage":"^3.12.4","@rushstack/eslint-patch":"^1.5.1","@types/lodash.debounce":"^4.0.8","@types/node":"^20.8.7","@vitejs/plugin-vue":"^4.4.0","@vitest/coverage-istanbul":"^0.34.6","@vue/eslint-config-standard":"^8.0.1","@vue/eslint-config-typescript":"^12.0.0","@vue/test-utils":"^2.4.1","@vue/tsconfig":"^0.4.0",cypress:"13.3.2","cypress-real-events":"^1.10.3",eslint:"^8.51.0","eslint-plugin-import":"^2.28.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-standard":"^5.0.0","eslint-plugin-vue":"^9.17.0","istanbul-badges-readme":"^1.8.5","istanbul-lib-coverage":"^3.2.0",jsdom:"^22.1.0","lint-staged":"^15.0.1",nyc:"^15.1.0",postcss:"^8.4.31","postcss-html":"^1.5.0",sass:"^1.69.4",stylelint:"^15.11.0","stylelint-config-html":"^1.1.0","stylelint-config-property-sort-order-smacss":"^9.1.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^11.0.0","stylelint-order":"^6.0.3","stylelint-scss":"^5.2.1","ts-node":"^10.9.1",typescript:"5.2.2",vite:"^4.5.0","vite-plugin-istanbul":"^5.0.0","vite-plugin-style-inject":"^0.0.1",vitest:"^0.34.6",vue:"^3.3.4","vue-tsc":"^1.8.19"},sc={url:"https://github.com/joseph2/vue-slide-unlock/issues"},oc="https://joseph2.github.io/vue-slide-unlock/",ic=["vue","slide","swipe","unlock"],rc="MIT",lc="yarn@3.4.1",cc={type:"git",url:"git+https://github.com/joseph2/vue-slide-unlock.git"},uc={name:Dl,version:Ll,description:Kl,author:zl,type:ql,files:Xl,main:Jl,module:Yl,types:Zl,workspaces:Ql,scripts:Gl,nyc:ec,dependencies:tc,devDependencies:nc,bugs:sc,homepage:oc,keywords:ic,license:rc,packageManager:lc,repository:cc},fc=bo({name:"App",components:{SlideUnlock:Vl},setup(){const e=uc.version,t=S=>{const H=document.getElementById("slideunlock");return getComputedStyle(H).getPropertyValue(S).trim()},n=(S,H)=>{document.getElementById("slideunlock").style.setProperty(S,H)},s=J(!0),o=J(!0),i=J(!1),r=J(!1),l=J("slide to unlock"),u=J("success"),a=J(400),p=J(80),y=J(""),w=J(""),M=J("#000000"),k=J("#000000"),T=J("#000000"),B=J("#000000"),V=J("#000000"),z=J("#000000"),q=J(""),j=()=>{y.value=t("--su-size-text").slice(0,t("--su-size-text").length-2),w.value=t("--su-size-padding").slice(0,t("--su-size-padding").length-2),M.value=t("--su-color-bg"),k.value=t("--su-color-progress-normal-bg"),T.value=t("--su-color-progress-complete-bg"),B.value=t("--su-color-handler-bg"),V.value=t("--su-color-text-normal"),z.value=t("--su-color-text-complete"),q.value=t("--su-icon-handler")},le=re({get(){return y.value},set(S){n("--su-size-text",`${S}px`)}}),W=re({get(){return w.value},set(S){n("--su-size-padding",`${S}px`)}}),se=re({get(){return M.value},set(S){n("--su-color-bg",S)}}),oe=re({get(){return k.value},set(S){n("--su-color-progress-normal-bg",S)}}),je=re({get(){return T.value},set(S){n("--su-color-progress-complete-bg",S)}}),Ee=re({get(){return B.value},set(S){n("--su-color-handler-bg",S)}}),$e=re({get(){return V.value},set(S){n("--su-color-text-normal",S)}}),Ze=re({get(){return z.value},set(S){n("--su-color-text-complete",S)}}),Qe=re({get(){return q.value},set(S){n("--su-icon-handler",S)}}),We=J();return{cVersion:e,handleMounted:j,autoWidth:s,isCircle:o,isDisabled:i,isNoAnimate:r,text:l,successText:u,width:a,height:p,textSize:le,paddingSize:W,background:se,progressBarBg:oe,completedBg:je,handlerBg:Ee,textColor:$e,textCompleteColor:Ze,handlerIcon:Qe,vueSlideUnlockRef:We,resetComponent:()=>{We.value.reset()},completeComponent:()=>{We.value.complete()}}}}),Ho="/vue-slide-unlock/assets/logo-03d6d6da.png";const ac={class:"container"},dc=b("img",{alt:"Vue logo",src:Ho},null,-1),hc=b("h4",null,"vue-slide-unlock",-1),pc={class:"version"},gc=Nr('',1),mc={class:"container is-content"},bc=b("section",{class:"head"},[b("img",{class:"logo",alt:"Vue logo",src:Ho}),b("h1",null,"Vue.js slide to unlock component"),b("div",{class:"description"},[b("b",null,"Protect users from accidental clicks for Vue.js")])],-1),_c={class:"demo-section"},vc={class:"props-section"},yc=b("h2",null,"Options (props)",-1),xc={class:"grid is-4"},Cc={class:"item"},wc={for:"autoWidth"},Tc={class:"item"},Ec={for:"isCircle"},Pc={class:"item"},Ic={for:"isDisabled"},Oc={class:"item"},Mc={for:"isNoAnimate"},Sc={class:"grid"},Ac={class:"item"},jc=b("label",null,"width (px)",-1),Fc=["disabled"],Rc={class:"item"},Nc=b("label",null,"height (px)",-1),Bc={class:"item"},Uc=b("label",null,"text",-1),Hc={class:"item"},$c=b("label",null,"successText",-1),Wc={class:"size-section"},kc=b("h2",null,"Options (CSS Variables)",-1),Vc={class:"grid"},Dc={class:"item"},Lc=b("label",null,"textSize (px)",-1),Kc={class:"item"},zc=b("label",null,"paddingSize (px)",-1),qc={class:"grid is-1"},Xc={class:"item"},Jc=b("label",null,"handlerIcon",-1),Yc={class:"colors-section"},Zc=b("h2",null,"Colors (CSS Variables)",-1),Qc={class:"grid"},Gc={class:"item"},eu=b("label",null,"textColor",-1),tu={class:"item"},nu=b("label",null,"textCompleteColor",-1),su={class:"item"},ou=b("label",null,"background",-1),iu={class:"item"},ru=b("label",null,"progressBarBg",-1),lu={class:"item"},cu=b("label",null,"completedBg",-1),uu={class:"item"},fu=b("label",null,"handlerBg",-1),au={class:"actions-section"},du=b("h2",null,"Actions",-1),hu={class:"container"},pu=b("a",{href:"https://github.com/joseph2"},"github.com",-1);function gu(e,t,n,s,o,i){const r=ur("slide-unlock");return So(),Ao("div",null,[b("nav",null,[b("div",ac,[b("div",null,[dc,hc,b("span",pc,"["+wn(e.cVersion)+"]",1)]),gc])]),b("div",mc,[bc,b("section",_c,[Me(r,{ref:"vueSlideUnlockRef","auto-width":e.autoWidth,circle:e.isCircle,disabled:e.isDisabled,noanimate:e.isNoAnimate,width:e.width,height:e.height,text:e.text,"success-text":e.successText,"handler-icon":e.handlerIcon,name:"slideunlock",onVnodeMounted:e.handleMounted},null,8,["auto-width","circle","disabled","noanimate","width","height","text","success-text","handler-icon","onVnodeMounted"])]),b("section",vc,[yc,b("div",xc,[b("div",Cc,[b("label",wc,[Q(b("input",{id:"autoWidth","onUpdate:modelValue":t[0]||(t[0]=l=>e.autoWidth=l),type:"checkbox"},null,512),[[Ut,e.autoWidth]]),mt(" autoWidth ")])]),b("div",Tc,[b("label",Ec,[Q(b("input",{id:"isCircle","onUpdate:modelValue":t[1]||(t[1]=l=>e.isCircle=l),type:"checkbox"},null,512),[[Ut,e.isCircle]]),mt(" isCircle ")])]),b("div",Pc,[b("label",Ic,[Q(b("input",{id:"isDisabled","onUpdate:modelValue":t[2]||(t[2]=l=>e.isDisabled=l),type:"checkbox"},null,512),[[Ut,e.isDisabled]]),mt(" isDisabled ")])]),b("div",Oc,[b("label",Mc,[Q(b("input",{id:"isNoAnimate","onUpdate:modelValue":t[3]||(t[3]=l=>e.isNoAnimate=l),type:"checkbox"},null,512),[[Ut,e.isNoAnimate]]),mt(" isNoAnimate ")])])]),b("div",Sc,[b("div",Ac,[jc,Q(b("input",{"onUpdate:modelValue":t[4]||(t[4]=l=>e.width=l),type:"number",disabled:e.autoWidth},null,8,Fc),[[ae,e.width]])]),b("div",Rc,[Nc,Q(b("input",{"onUpdate:modelValue":t[5]||(t[5]=l=>e.height=l),type:"number"},null,512),[[ae,e.height]])]),b("div",Bc,[Uc,Q(b("input",{"onUpdate:modelValue":t[6]||(t[6]=l=>e.text=l),type:"text"},null,512),[[ae,e.text]])]),b("div",Hc,[$c,Q(b("input",{"onUpdate:modelValue":t[7]||(t[7]=l=>e.successText=l),type:"text"},null,512),[[ae,e.successText]])])])]),b("section",Wc,[kc,b("div",Vc,[b("div",Dc,[Lc,Q(b("input",{"onUpdate:modelValue":t[8]||(t[8]=l=>e.textSize=l),type:"number"},null,512),[[ae,e.textSize]])]),b("div",Kc,[zc,Q(b("input",{"onUpdate:modelValue":t[9]||(t[9]=l=>e.paddingSize=l),type:"number"},null,512),[[ae,e.paddingSize]])])]),b("div",qc,[b("div",Xc,[Jc,Q(b("input",{"onUpdate:modelValue":t[10]||(t[10]=l=>e.handlerIcon=l),type:"text"},null,512),[[ae,e.handlerIcon]])])])]),b("section",Yc,[Zc,b("div",Qc,[b("div",Gc,[eu,Q(b("input",{"onUpdate:modelValue":t[11]||(t[11]=l=>e.textColor=l),type:"color"},null,512),[[ae,e.textColor]])]),b("div",tu,[nu,Q(b("input",{"onUpdate:modelValue":t[12]||(t[12]=l=>e.textCompleteColor=l),type:"color"},null,512),[[ae,e.textCompleteColor]])]),b("div",su,[ou,Q(b("input",{"onUpdate:modelValue":t[13]||(t[13]=l=>e.background=l),type:"color"},null,512),[[ae,e.background]])]),b("div",iu,[ru,Q(b("input",{"onUpdate:modelValue":t[14]||(t[14]=l=>e.progressBarBg=l),type:"color"},null,512),[[ae,e.progressBarBg]])]),b("div",lu,[cu,Q(b("input",{"onUpdate:modelValue":t[15]||(t[15]=l=>e.completedBg=l),type:"color"},null,512),[[ae,e.completedBg]])]),b("div",uu,[fu,Q(b("input",{"onUpdate:modelValue":t[16]||(t[16]=l=>e.handlerBg=l),type:"color"},null,512),[[ae,e.handlerBg]])])])]),b("section",au,[du,b("button",{class:"btn",onClick:t[17]||(t[17]=l=>e.resetComponent()),"data-cy":"reset"}," Reset state "),b("button",{class:"btn",onClick:t[18]||(t[18]=l=>e.completeComponent()),"data-cy":"complete"}," Complete state ")])]),b("footer",null,[b("div",hu,[b("div",null," © "+wn(new Date().getFullYear())+" Anton Zolotov ",1),pu])])])}const mu=Uo(fc,[["render",gu]]),bu=gl(mu);bu.mount("#app"); diff --git a/assets/index-wc3g3L61.css b/assets/index-wc3g3L61.css new file mode 100644 index 0000000..75fc694 --- /dev/null +++ b/assets/index-wc3g3L61.css @@ -0,0 +1 @@ +@keyframes animated-00f60412{0%{background-position:-300px 0}to{background-position:300px 0}}@keyframes shine-00f60412{to{width:100%;transition:all 5s ease-out;background-color:#fff0}}.slideunlock[data-v-00f60412]{--su-size-text: 24px;--su-size-padding: 6px;--su-color-bg: #EBEBEB;--su-color-progress-normal-bg: #CACACA;--su-color-progress-complete-bg: #42B983;--su-color-text-normal: #4F4F4F;--su-color-text-complete: #FEFEFE;--su-color-handler-bg: #FFF;--su-icon-handler: url(data:image/svg;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0ZDhlNWY5My05NmI0LTRlNWQtOGFjYi03ZTY4OGYyMTU2ZTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTEyNTVEMURGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTEyNTVEMUNGMkVFMTFFNEI5NDBCMjQ2M0ExMDQ1OUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo2MTc5NzNmZS02OTQxLTQyOTYtYTIwNi02NDI2YTNkOWU5YmUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NGQ4ZTVmOTMtOTZiNC00ZTVkLThhY2ItN2U2ODhmMjE1NmU2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+YiRG4AAAALFJREFUeNpi/P//PwMlgImBQkA9A+bOnfsIiBOxKcInh+yCaCDuByoswaIOpxwjciACFegBqZ1AvBSIS5OTk/8TkmNEjwWgQiUgtQuIjwAxUF3yX3xyGIEIFLwHpKyAWB+I1xGSwxULIGf9A7mQkBwTlhBXAFLHgPgqEAcTkmNCU6AL9d8WII4HOvk3ITkWJAXWUMlOoGQHmsE45ViQ2KuBuASoYC4Wf+OUYxz6mQkgwAAN9mIrUReCXgAAAABJRU5ErkJggg==);display:flex;position:relative;box-sizing:content-box;padding:var(--su-size-padding);background-color:var(--su-color-bg);text-align:center}.slideunlock[data-v-00f60412]:after{content:"";position:absolute;top:0;left:0;width:0%;height:100%;transition:none;animation:shine-00f60412 4s infinite;background-color:#fff6}.slideunlock .slideunlock-progressbar[data-v-00f60412]{position:absolute;z-index:1;width:0;height:34px;transition:background 1s ease-out;background-color:var(--su-color-progress-normal-bg)}.slideunlock .slideunlock-text[data-v-00f60412]{display:inline;z-index:2;align-items:center;justify-content:center;width:100%;transition:background 1s ease,color 1s ease;animation:animated-00f60412 2s linear infinite;background:var(--su-color-text-normal) linear-gradient(90deg,rgba(255,255,255,0),white,rgba(255,255,255,0)) no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;font-size:var(--su-size-text);-webkit-user-select:none;user-select:none}.slideunlock .slideunlock-text[data-v-00f60412]:before{content:"";display:inline-block;height:100%;vertical-align:middle}.slideunlock .slideunlock-handler[data-v-00f60412]{position:absolute;z-index:3;top:0;left:0;margin:var(--su-size-padding);transition:background .75s ease,transform .1s ease-in;background:var(--su-color-handler-bg) var(--su-icon-handler) no-repeat center;cursor:grab}.slideunlock .slideunlock-handler[data-v-00f60412]:active{transform:scale(1.05);cursor:grabbing}.slideunlock.is-circle[data-v-00f60412]{border-radius:50rem}.slideunlock.is-circle[data-v-00f60412]:after{border-radius:50rem 0 0 50rem}.slideunlock.is-circle .slideunlock-handler[data-v-00f60412]{border-radius:50%}.slideunlock.is-noanimate[data-v-00f60412]:after{animation:none}.slideunlock.is-noanimate .slideunlock-text[data-v-00f60412]{animation:none;color:var(--su-color-text-normal)}.slideunlock.is-disabled[data-v-00f60412]{opacity:.5}.slideunlock.is-disabled[data-v-00f60412]:after{content:"";position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;animation:none;opacity:.5;background-color:var(--su-color-bg)}.slideunlock.is-disabled .slideunlock-text[data-v-00f60412]{animation:none;opacity:.25;color:var(--su-color-text-normal)}.slideunlock.is-disabled .slideunlock-handler[data-v-00f60412]{pointer-events:none}.slideunlock.is-disabled.is-circle[data-v-00f60412]:after{border-radius:50rem}.slideunlock.is-complete[data-v-00f60412]:after{animation:none}.slideunlock.is-complete .slideunlock-progressbar[data-v-00f60412]{background-color:var(--su-color-progress-complete-bg)}.slideunlock.is-complete .slideunlock-text[data-v-00f60412]{animation:none;opacity:1!important;color:var(--su-color-text-complete)}.slideunlock.is-complete .slideunlock-handler[data-v-00f60412]{opacity:0;background:var(--su-color-progress-complete-bg)}:root{--color-bg: #FEFEFE;--color-lightestgray: #F7F7F7;--color-lightgray: #EAEAEA;--color-mediumgray: #C1C6C7;--color-gray: #8F989A;--color-text: #5A6265;--color-theme: #42B983}html,body,#app{margin-top:2.5rem;background-color:var(--color-bg);color:var(--color-text);font-family:Helvetica neue,Helvetica,Arial,sans-serif;text-rendering:optimizelegibility}.container{width:60rem;max-width:96%;margin:0 auto}.container.is-content{width:35rem}a{transition:color .2s ease,border-bottom-color .2s ease;border:none;color:var(--color-theme);font-family:inherit;line-height:inherit;text-decoration:none;cursor:pointer}h1,h2,h4{margin:0;margin-bottom:.5rem;color:inherit;font-style:normal;font-weight:800;letter-spacing:-1px;text-rendering:optimizelegibility}h1{font-size:1.75rem}h2{font-size:1.125rem}section{margin-bottom:1rem}section h1,section h2{text-align:center}.version{margin-left:.5rem;font-size:.75rem;font-weight:700;line-height:.75rem}.btn{padding:.5rem 1.25rem;transition:all .2s ease;border:1px solid var(--color-text);border-radius:.25rem;background-color:var(--color-bg);color:var(--color-text);font-size:.875rem;font-weight:500}.btn:hover{border-color:var(--color-theme);background-color:var(--color-lightestgray);color:var(--color-theme);cursor:pointer}.btn:active{background-color:var(--color-theme);color:var(--color-bg)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem 1rem}.grid.is-1{grid-template-columns:repeat(1,1fr);padding:.5rem 0 0}.grid.is-4{grid-template-columns:repeat(4,1fr);padding:.5rem 0}.grid .item{max-width:100%;overflow:hidden}.grid .item label{display:block;margin-bottom:.25rem;font-size:.875rem}.grid .item input{box-sizing:border-box}.grid .item input[type=text],.grid .item input[type=color],.grid .item input[type=number]{display:block;position:relative;width:100%;min-width:100%;max-width:100%;height:2rem;padding:.125rem .5rem;transition:all .2s ease;border:1px solid var(--color-lightgray);border-radius:.25rem;background-color:var(--color-bg);color:var(--color-gray);font-size:.75rem;line-height:.75rem;cursor:text}.grid .item input[type=text]:hover,.grid .item input[type=color]:hover,.grid .item input[type=number]:hover{border-color:var(--color-mediumgray)}.grid .item input[type=text]:focus,.grid .item input[type=text].focus,.grid .item input[type=color]:focus,.grid .item input[type=color].focus,.grid .item input[type=number]:focus,.grid .item input[type=number].focus{border-color:var(--color-theme);outline:none}.grid .item input[type=text]:disabled,.grid .item input[type=color]:disabled,.grid .item input[type=number]:disabled{opacity:1;background-color:var(--color-lightestgray);cursor:not-allowed}.grid .item input[type=text]:disabled:hover,.grid .item input[type=color]:disabled:hover,.grid .item input[type=number]:disabled:hover{border-color:var(--color-lightgray)}.grid .item input[type=color]{padding:0;border:none;cursor:pointer}nav,footer{width:100%;background-color:var(--color-bg)}nav{position:fixed;z-index:5;top:0;left:0;height:50px;border-bottom:1px solid var(--color-lightgray)}nav .container{display:flex;align-items:center;justify-content:space-between}nav .container>div{display:flex;align-items:center}nav h4{margin:0;font-size:1rem;line-height:50px}nav img{width:24px;height:auto;margin-right:.5rem}nav .nav-item{margin-left:1rem;transition:all .3s ease;color:var(--color-gray);font-size:12px;font-weight:700}nav .nav-item:hover{color:var(--color-theme)}nav .nav-icon{width:20px;height:auto;margin-top:4px;transition:all .3s ease;fill:var(--color-gray)}nav .nav-icon:hover{fill:var(--color-theme)}footer{margin-top:1rem;padding:1rem 0;border-top:1px solid var(--color-lightgray);font-size:.875rem;line-height:1.25;text-align:center}footer a{font-size:.75rem}.head{text-align:center}.head .logo{width:3rem;height:auto}.head .description{margin-bottom:1rem}.demo-section{margin:4rem 0}.actions-section{display:grid;gap:.5rem;grid-template-columns:1fr 1fr}.actions-section h2{grid-column:1/3;margin-bottom:0} diff --git a/assets/logo-03d6d6da.png b/assets/logo-j5j6qipL.png similarity index 100% rename from assets/logo-03d6d6da.png rename to assets/logo-j5j6qipL.png diff --git a/index.html b/index.html index 7c4395d..9740bee 100644 --- a/index.html +++ b/index.html @@ -6,13 +6,12 @@ vue-slide-unlock - - + +
- \ No newline at end of file