UNPKG

vue-cookie-accept-decline

Version:

Show a banner with text, a decline button, and an accept button on your page.

2 lines 65.3 kB
const Zo=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)}};Zo();function Ln(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Xo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qo=Ln(Xo);function Us(e){return!!e||e===""}function Rn(e){if(O(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=ee(s)?ti(s):Rn(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(ee(e))return e;if(Z(e))return e}}const Go=/;(?![^(]*\))/g,ei=/:(.+)/;function ti(e){const t={};return e.split(Go).forEach(n=>{if(n){const s=n.split(ei);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Te(e){let t="";if(ee(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){const s=Te(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ni=e=>ee(e)?e:e==null?"":O(e)||Z(e)&&(e.toString===zs||!M(e.toString))?JSON.stringify(e,Ks,2):String(e),Ks=(e,t)=>t&&t.__v_isRef?Ks(e,t.value):at(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ws(t)?{[`Set(${t.size})`]:[...t.values()]}:Z(t)&&!O(t)&&!qs(t)?String(t):t,j={},ut=[],ve=()=>{},si=()=>!1,oi=/^on[^a-z]/,Jt=e=>oi.test(e),Bn=e=>e.startsWith("onUpdate:"),G=Object.assign,$n=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ii=Object.prototype.hasOwnProperty,N=(e,t)=>ii.call(e,t),O=Array.isArray,at=e=>Zt(e)==="[object Map]",Ws=e=>Zt(e)==="[object Set]",M=e=>typeof e=="function",ee=e=>typeof e=="string",Dn=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Vs=e=>Z(e)&&M(e.then)&&M(e.catch),zs=Object.prototype.toString,Zt=e=>zs.call(e),ri=e=>Zt(e).slice(8,-1),qs=e=>Zt(e)==="[object Object]",jn=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=Ln(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},li=/-(\w)/g,ke=Xt(e=>e.replace(li,(t,n)=>n?n.toUpperCase():"")),ci=/\B([A-Z])/g,ht=Xt(e=>e.replace(ci,"-$1").toLowerCase()),Qt=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=Xt(e=>e?`on${Qt(e)}`:""),jt=(e,t)=>!Object.is(e,t),un=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ht=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ys=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fs;const fi=()=>fs||(fs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ee;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ee&&(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){Ee=this}off(){Ee=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function ai(e,t=Ee){t&&t.active&&t.effects.push(e)}const Hn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Js=e=>(e.w&Ke)>0,Zs=e=>(e.n&Ke)>0,di=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ke},pi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Js(o)&&!Zs(o)?o.delete(e):t[n++]=o,o.w&=~Ke,o.n&=~Ke}t.length=n}},Cn=new WeakMap;let vt=0,Ke=1;const vn=30;let Ce;const Xe=Symbol(""),yn=Symbol("");class Un{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ai(this,s)}run(){if(!this.active)return this.fn();let t=Ce,n=He;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ce,Ce=this,He=!0,Ke=1<<++vt,vt<=vn?di(this):us(this),this.fn()}finally{vt<=vn&&pi(this),Ke=1<<--vt,Ce=this.parent,He=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ce===this?this.deferStop=!0:this.active&&(us(this),this.onStop&&this.onStop(),this.active=!1)}}function us(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let He=!0;const Xs=[];function gt(){Xs.push(He),He=!1}function mt(){const e=Xs.pop();He=e===void 0?!0:e}function pe(e,t,n){if(He&&Ce){let s=Cn.get(e);s||Cn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Hn()),Qs(o)}}function Qs(e,t){let n=!1;vt<=vn?Zs(e)||(e.n|=Ke,n=!Js(e)):n=!e.has(Ce),n&&(e.add(Ce),Ce.deps.push(e))}function Se(e,t,n,s,o,i){const r=Cn.get(e);if(!r)return;let c=[];if(t==="clear")c=[...r.values()];else if(n==="length"&&O(e))r.forEach((u,a)=>{(a==="length"||a>=s)&&c.push(u)});else switch(n!==void 0&&c.push(r.get(n)),t){case"add":O(e)?jn(n)&&c.push(r.get("length")):(c.push(r.get(Xe)),at(e)&&c.push(r.get(yn)));break;case"delete":O(e)||(c.push(r.get(Xe)),at(e)&&c.push(r.get(yn)));break;case"set":at(e)&&c.push(r.get(Xe));break}if(c.length===1)c[0]&&xn(c[0]);else{const u=[];for(const a of c)a&&u.push(...a);xn(Hn(u))}}function xn(e,t){for(const n of O(e)?e:[...e])(n!==Ce||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const hi=Ln("__proto__,__v_isRef,__isVue"),Gs=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Dn)),gi=Kn(),mi=Kn(!1,!0),_i=Kn(!0),as=bi();function bi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=$(this);for(let i=0,r=this.length;i<r;i++)pe(s,"get",i+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map($)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){gt();const s=$(this)[t].apply(this,n);return mt(),s}}),e}function Kn(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?Ni:oo:t?so:no).get(s))return s;const r=O(s);if(!e&&r&&N(as,o))return Reflect.get(as,o,i);const c=Reflect.get(s,o,i);return(Dn(o)?Gs.has(o):hi(o))||(e||pe(s,"get",o),t)?c:ne(c)?!r||!jn(o)?c.value:c:Z(c)?e?io(c):zn(c):c}}const Ci=eo(),vi=eo(!0);function eo(e=!1){return function(n,s,o,i){let r=n[s];if(It(r)&&ne(r)&&!ne(o))return!1;if(!e&&!It(o)&&(ro(o)||(o=$(o),r=$(r)),!O(n)&&ne(r)&&!ne(o)))return r.value=o,!0;const c=O(n)&&jn(s)?Number(s)<n.length:N(n,s),u=Reflect.set(n,s,o,i);return n===$(i)&&(c?jt(o,r)&&Se(n,"set",s,o):Se(n,"add",s,o)),u}}function yi(e,t){const n=N(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Se(e,"delete",t,void 0),s}function xi(e,t){const n=Reflect.has(e,t);return(!Dn(t)||!Gs.has(t))&&pe(e,"has",t),n}function wi(e){return pe(e,"iterate",O(e)?"length":Xe),Reflect.ownKeys(e)}const to={get:gi,set:Ci,deleteProperty:yi,has:xi,ownKeys:wi},Ei={get:_i,set(e,t){return!0},deleteProperty(e,t){return!0}},Ti=G({},to,{get:mi,set:vi}),Wn=e=>e,Gt=e=>Reflect.getPrototypeOf(e);function Pt(e,t,n=!1,s=!1){e=e.__v_raw;const o=$(e),i=$(t);t!==i&&!n&&pe(o,"get",t),!n&&pe(o,"get",i);const{has:r}=Gt(o),c=s?Wn:n?Jn:Yn;if(r.call(o,t))return c(e.get(t));if(r.call(o,i))return c(e.get(i));e!==o&&e.get(t)}function Mt(e,t=!1){const n=this.__v_raw,s=$(n),o=$(e);return e!==o&&!t&&pe(s,"has",e),!t&&pe(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&&pe($(e),"iterate",Xe),Reflect.get(e,"size",e)}function ds(e){e=$(e);const t=$(this);return Gt(t).has.call(t,e)||(t.add(e),Se(t,"add",e,e)),this}function ps(e,t){t=$(t);const n=$(this),{has:s,get:o}=Gt(n);let i=s.call(n,e);i||(e=$(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?jt(t,r)&&Se(n,"set",e,t):Se(n,"add",e,t),this}function hs(e){const t=$(this),{has:n,get:s}=Gt(t);let o=n.call(t,e);o||(e=$(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 gs(){const e=$(this),t=e.size!==0,n=e.clear();return t&&Se(e,"clear",void 0,void 0),n}function St(e,t){return function(s,o){const i=this,r=i.__v_raw,c=$(r),u=t?Wn:e?Jn:Yn;return!e&&pe(c,"iterate",Xe),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=$(o),r=at(i),c=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,a=o[e](...s),p=n?Wn:t?Jn:Yn;return!t&&pe(i,"iterate",u?yn:Xe),{next(){const{value:b,done:v}=a.next();return v?{value:b,done:v}:{value:c?[p(b[0]),p(b[1])]:p(b),done:v}},[Symbol.iterator](){return this}}}}function Re(e){return function(...t){return e==="delete"?!1:this}}function Ii(){const e={get(i){return Pt(this,i)},get size(){return Ft(this)},has:Mt,add:ds,set:ps,delete:hs,clear:gs,forEach:St(!1,!1)},t={get(i){return Pt(this,i,!1,!0)},get size(){return Ft(this)},has:Mt,add:ds,set:ps,delete:hs,clear:gs,forEach:St(!1,!0)},n={get(i){return Pt(this,i,!0)},get size(){return Ft(this,!0)},has(i){return Mt.call(this,i,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:St(!0,!1)},s={get(i){return Pt(this,i,!0,!0)},get size(){return Ft(this,!0)},has(i){return Mt.call(this,i,!0)},add:Re("add"),set:Re("set"),delete:Re("delete"),clear:Re("clear"),forEach:St(!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[ki,Ai,Oi,Pi]=Ii();function Vn(e,t){const n=t?e?Pi:Oi:e?Ai:ki;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 Mi={get:Vn(!1,!1)},Fi={get:Vn(!1,!0)},Si={get:Vn(!0,!1)},no=new WeakMap,so=new WeakMap,oo=new WeakMap,Ni=new WeakMap;function Li(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ri(e){return e.__v_skip||!Object.isExtensible(e)?0:Li(ri(e))}function zn(e){return It(e)?e:qn(e,!1,to,Mi,no)}function Bi(e){return qn(e,!1,Ti,Fi,so)}function io(e){return qn(e,!0,Ei,Si,oo)}function qn(e,t,n,s,o){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Ri(e);if(r===0)return e;const c=new Proxy(e,r===2?s:n);return o.set(e,c),c}function dt(e){return It(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function ro(e){return!!(e&&e.__v_isShallow)}function lo(e){return dt(e)||It(e)}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function co(e){return Ht(e,"__v_skip",!0),e}const Yn=e=>Z(e)?zn(e):e,Jn=e=>Z(e)?io(e):e;function $i(e){He&&Ce&&(e=$(e),Qs(e.dep||(e.dep=Hn())))}function Di(e,t){e=$(e),e.dep&&xn(e.dep)}function ne(e){return!!(e&&e.__v_isRef===!0)}function ji(e){return ne(e)?e.value:e}const Hi={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 fo(e){return dt(e)?e:new Proxy(e,Hi)}class Ui{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Un(t,()=>{this._dirty||(this._dirty=!0,Di(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=$(this);return $i(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ki(e,t,n=!1){let s,o;const i=M(e);return i?(s=e,o=ve):(s=e.get,o=e.set),new Ui(s,o,i||!o,n)}function Ue(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){en(i,t,n)}return o}function me(e,t,n,s){if(M(e)){const i=Ue(e,t,n,s);return i&&Vs(i)&&i.catch(r=>{en(r,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(me(e[i],t,n,s));return o}function en(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const r=t.proxy,c=n;for(;i;){const a=i.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,r,c)===!1)return}i=i.parent}const u=t.appContext.config.errorHandler;if(u){Ue(u,null,10,[e,r,c]);return}}Wi(e,n,o,s)}function Wi(e,t,n,s=!0){console.error(e)}let Ut=!1,wn=!1;const de=[];let Fe=0;const xt=[];let yt=null,rt=0;const wt=[];let De=null,lt=0;const uo=Promise.resolve();let Zn=null,En=null;function Vi(e){const t=Zn||uo;return e?t.then(this?e.bind(this):e):t}function zi(e){let t=Fe+1,n=de.length;for(;t<n;){const s=t+n>>>1;kt(de[s])<e?t=s+1:n=s}return t}function ao(e){(!de.length||!de.includes(e,Ut&&e.allowRecurse?Fe+1:Fe))&&e!==En&&(e.id==null?de.push(e):de.splice(zi(e.id),0,e),po())}function po(){!Ut&&!wn&&(wn=!0,Zn=uo.then(mo))}function qi(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function ho(e,t,n,s){O(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),po()}function Yi(e){ho(e,yt,xt,rt)}function Ji(e){ho(e,De,wt,lt)}function Xn(e,t=null){if(xt.length){for(En=t,yt=[...new Set(xt)],xt.length=0,rt=0;rt<yt.length;rt++)yt[rt]();yt=null,rt=0,En=null,Xn(e,t)}}function go(e){if(wt.length){const t=[...new Set(wt)];if(wt.length=0,De){De.push(...t);return}for(De=t,De.sort((n,s)=>kt(n)-kt(s)),lt=0;lt<De.length;lt++)De[lt]();De=null,lt=0}}const kt=e=>e.id==null?1/0:e.id;function mo(e){wn=!1,Ut=!0,Xn(e),de.sort((n,s)=>kt(n)-kt(s));const t=ve;try{for(Fe=0;Fe<de.length;Fe++){const n=de[Fe];n&&n.active!==!1&&Ue(n,null,14)}}finally{Fe=0,de.length=0,go(),Ut=!1,Zn=null,(de.length||xt.length||wt.length)&&mo(e)}}function Zi(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||j;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const p=`${r==="modelValue"?"model":r}Modifiers`,{number:b,trim:v}=s[p]||j;v?o=n.map(k=>k.trim()):b&&(o=n.map(Ys))}let c,u=s[c=fn(t)]||s[c=fn(ke(t))];!u&&i&&(u=s[c=fn(ht(t))]),u&&me(u,e,6,o);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,me(a,e,6,o)}}function _o(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},c=!1;if(!M(e)){const u=a=>{const p=_o(a,t,!0);p&&(c=!0,G(r,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!c?(s.set(e,null),null):(O(i)?i.forEach(u=>r[u]=null):G(r,i),s.set(e,r),r)}function tn(e,t){return!e||!Jt(t)?!1:(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,ht(t))||N(e,t))}let ce=null,bo=null;function Kt(e){const t=ce;return ce=e,bo=e&&e.type.__scopeId||null,t}function ct(e,t=ce,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Is(-1);const i=Kt(t),r=e(...o);return Kt(i),s._d&&Is(1),r};return s._n=!0,s._c=!0,s._d=!0,s}function an(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:c,attrs:u,emit:a,render:p,renderCache:b,data:v,setupState:k,ctx:F,inheritAttrs:S}=e;let P,L;const oe=Kt(e);try{if(n.shapeFlag&4){const W=o||s;P=Ie(p.call(W,W,b,i,k,v,F)),L=u}else{const W=t;P=Ie(W.length>1?W(i,{attrs:u,slots:c,emit:a}):W(i,null)),L=t.props?u:Xi(u)}}catch(W){Et.length=0,en(W,e,1),P=se(_e)}let q=P;if(L&&S!==!1){const W=Object.keys(L),{shapeFlag:ie}=q;W.length&&ie&7&&(r&&W.some(Bn)&&(L=Qi(L,r)),q=et(q,L))}return n.dirs&&(q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),P=q,Kt(oe),P}const Xi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jt(n))&&((t||(t={}))[n]=e[n]);return t},Qi=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Gi(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:c,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?ms(s,r,a):!!r;if(u&8){const p=t.dynamicProps;for(let b=0;b<p.length;b++){const v=p[b];if(r[v]!==s[v]&&!tn(a,v))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:s===r?!1:s?r?ms(s,r,a):!0:!!r;return!1}function ms(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(t[i]!==e[i]&&!tn(n,i))return!0}return!1}function er({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const tr=e=>e.__isSuspense;function nr(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Ji(e)}function sr(e,t){if(X){let n=X.provides;const s=X.parent&&X.parent.provides;s===n&&(n=X.provides=Object.create(s)),n[e]=t}}function dn(e,t,n=!1){const s=X||ce;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&M(t)?t.call(s.proxy):t}}const _s={};function pn(e,t,n){return Co(e,t,n)}function Co(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=j){const c=X;let u,a=!1,p=!1;if(ne(e)?(u=()=>e.value,a=ro(e)):dt(e)?(u=()=>e,s=!0):O(e)?(p=!0,a=e.some(dt),u=()=>e.map(L=>{if(ne(L))return L.value;if(dt(L))return ft(L);if(M(L))return Ue(L,c,2)})):M(e)?t?u=()=>Ue(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return b&&b(),me(e,c,3,[v])}:u=ve,t&&s){const L=u;u=()=>ft(L())}let b,v=L=>{b=P.onStop=()=>{Ue(L,c,4)}};if(At)return v=ve,t?n&&me(t,c,3,[u(),p?[]:void 0,v]):u(),ve;let k=p?[]:_s;const F=()=>{if(!!P.active)if(t){const L=P.run();(s||a||(p?L.some((oe,q)=>jt(oe,k[q])):jt(L,k)))&&(b&&b(),me(t,c,3,[L,k===_s?void 0:k,v]),k=L)}else P.run()};F.allowRecurse=!!t;let S;o==="sync"?S=F:o==="post"?S=()=>ue(F,c&&c.suspense):S=()=>{!c||c.isMounted?Yi(F):F()};const P=new Un(u,S);return t?n?F():k=P.run():o==="post"?ue(P.run.bind(P),c&&c.suspense):P.run(),()=>{P.stop(),c&&c.scope&&$n(c.scope.effects,P)}}function or(e,t,n){const s=this.proxy,o=ee(e)?e.includes(".")?vo(s,e):()=>s[e]:e.bind(s,s);let i;M(t)?i=t:(i=t.handler,n=t);const r=X;pt(this);const c=Co(o,i.bind(s),n);return r?pt(r):Ge(),c}function vo(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function ft(e,t){if(!Z(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ne(e))ft(e.value,t);else if(O(e))for(let n=0;n<e.length;n++)ft(e[n],t);else if(Ws(e)||at(e))e.forEach(n=>{ft(n,t)});else if(qs(e))for(const n in e)ft(e[n],t);return e}function ir(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return To(()=>{e.isMounted=!0}),Io(()=>{e.isUnmounting=!0}),e}const he=[Function,Array],rr={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:he,onEnter:he,onAfterEnter:he,onEnterCancelled:he,onBeforeLeave:he,onLeave:he,onAfterLeave:he,onLeaveCancelled:he,onBeforeAppear:he,onAppear:he,onAfterAppear:he,onAppearCancelled:he},setup(e,{slots:t}){const n=Vr(),s=ir();let o;return()=>{const i=t.default&&wo(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const S of i)if(S.type!==_e){r=S;break}}const c=$(e),{mode:u}=c;if(s.isLeaving)return hn(r);const a=bs(r);if(!a)return hn(r);const p=Tn(a,c,s,n);In(a,p);const b=n.subTree,v=b&&bs(b);let k=!1;const{getTransitionKey:F}=a.type;if(F){const S=F();o===void 0?o=S:S!==o&&(o=S,k=!0)}if(v&&v.type!==_e&&(!Ye(a,v)||k)){const S=Tn(v,c,s,n);if(In(v,S),u==="out-in")return s.isLeaving=!0,S.afterLeave=()=>{s.isLeaving=!1,n.update()},hn(r);u==="in-out"&&a.type!==_e&&(S.delayLeave=(P,L,oe)=>{const q=xo(s,v);q[String(v.key)]=v,P._leaveCb=()=>{L(),P._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=oe})}return r}}},yo=rr;function xo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Tn(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:p,onBeforeLeave:b,onLeave:v,onAfterLeave:k,onLeaveCancelled:F,onBeforeAppear:S,onAppear:P,onAfterAppear:L,onAppearCancelled:oe}=t,q=String(e.key),W=xo(n,e),ie=(B,J)=>{B&&me(B,s,9,J)},Oe={mode:i,persisted:r,beforeEnter(B){let J=c;if(!n.isMounted)if(o)J=S||c;else return;B._leaveCb&&B._leaveCb(!0);const V=W[q];V&&Ye(e,V)&&V.el._leaveCb&&V.el._leaveCb(),ie(J,[B])},enter(B){let J=u,V=a,fe=p;if(!n.isMounted)if(o)J=P||u,V=L||a,fe=oe||p;else return;let te=!1;const I=B._enterCb=Y=>{te||(te=!0,Y?ie(fe,[B]):ie(V,[B]),Oe.delayedLeave&&Oe.delayedLeave(),B._enterCb=void 0)};J?(J(B,I),J.length<=1&&I()):I()},leave(B,J){const V=String(e.key);if(B._enterCb&&B._enterCb(!0),n.isUnmounting)return J();ie(b,[B]);let fe=!1;const te=B._leaveCb=I=>{fe||(fe=!0,J(),I?ie(F,[B]):ie(k,[B]),B._leaveCb=void 0,W[V]===e&&delete W[V])};W[V]=e,v?(v(B,te),v.length<=1&&te()):te()},clone(B){return Tn(B,t,n,s)}};return Oe}function hn(e){if(nn(e))return e=et(e),e.children=null,e}function bs(e){return nn(e)?e.children?e.children[0]:void 0:e}function In(e,t){e.shapeFlag&6&&e.component?In(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wo(e,t=!1,n){let s=[],o=0;for(let i=0;i<e.length;i++){let r=e[i];const c=n==null?r.key:String(n)+String(r.key!=null?r.key:i);r.type===ge?(r.patchFlag&128&&o++,s=s.concat(wo(r.children,t,c))):(t||r.type!==_e)&&s.push(c!=null?et(r,{key:c}):r)}if(o>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}const Wt=e=>!!e.type.__asyncLoader,nn=e=>e.type.__isKeepAlive;function lr(e,t){Eo(e,"a",t)}function cr(e,t){Eo(e,"da",t)}function Eo(e,t,n=X){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(sn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)nn(o.parent.vnode)&&fr(s,t,n,o),o=o.parent}}function fr(e,t,n,s){const o=sn(t,e,s,!0);ko(()=>{$n(s[t],o)},n)}function sn(e,t,n=X,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;gt(),pt(n);const c=me(t,n,e,r);return Ge(),mt(),c});return s?o.unshift(i):o.push(i),i}}const Ne=e=>(t,n=X)=>(!At||e==="sp")&&sn(e,t,n),ur=Ne("bm"),To=Ne("m"),ar=Ne("bu"),dr=Ne("u"),Io=Ne("bum"),ko=Ne("um"),pr=Ne("sp"),hr=Ne("rtg"),gr=Ne("rtc");function mr(e,t=X){sn("ec",e,t)}let kn=!0;function _r(e){const t=Oo(e),n=e.proxy,s=e.ctx;kn=!1,t.beforeCreate&&Cs(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:c,provide:u,inject:a,created:p,beforeMount:b,mounted:v,beforeUpdate:k,updated:F,activated:S,deactivated:P,beforeDestroy:L,beforeUnmount:oe,destroyed:q,unmounted:W,render:ie,renderTracked:Oe,renderTriggered:B,errorCaptured:J,serverPrefetch:V,expose:fe,inheritAttrs:te,components:I,directives:Y,filters:ye}=t;if(a&&br(a,s,null,e.appContext.config.unwrapInjectedRef),r)for(const z in r){const H=r[z];M(H)&&(s[z]=H.bind(n))}if(o){const z=o.call(n,n);Z(z)&&(e.data=zn(z))}if(kn=!0,i)for(const z in i){const H=i[z],Pe=M(H)?H.bind(n,n):M(H.get)?H.get.bind(n,n):ve,rn=!M(H)&&M(H.set)?H.set.bind(n):ve,_t=Qr({get:Pe,set:rn});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>_t.value,set:nt=>_t.value=nt})}if(c)for(const z in c)Ao(c[z],s,n,z);if(u){const z=M(u)?u.call(n):u;Reflect.ownKeys(z).forEach(H=>{sr(H,z[H])})}p&&Cs(p,e,"c");function Q(z,H){O(H)?H.forEach(Pe=>z(Pe.bind(n))):H&&z(H.bind(n))}if(Q(ur,b),Q(To,v),Q(ar,k),Q(dr,F),Q(lr,S),Q(cr,P),Q(mr,J),Q(gr,Oe),Q(hr,B),Q(Io,oe),Q(ko,W),Q(pr,V),O(fe))if(fe.length){const z=e.exposed||(e.exposed={});fe.forEach(H=>{Object.defineProperty(z,H,{get:()=>n[H],set:Pe=>n[H]=Pe})})}else e.exposed||(e.exposed={});ie&&e.render===ve&&(e.render=ie),te!=null&&(e.inheritAttrs=te),I&&(e.components=I),Y&&(e.directives=Y)}function br(e,t,n=ve,s=!1){O(e)&&(e=An(e));for(const o in e){const i=e[o];let r;Z(i)?"default"in i?r=dn(i.from||o,i.default,!0):r=dn(i.from||o):r=dn(i),ne(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:c=>r.value=c}):t[o]=r}}function Cs(e,t,n){me(O(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ao(e,t,n,s){const o=s.includes(".")?vo(n,s):()=>n[s];if(ee(e)){const i=t[e];M(i)&&pn(o,i)}else if(M(e))pn(o,e.bind(n));else if(Z(e))if(O(e))e.forEach(i=>Ao(i,t,n,s));else{const i=M(e.handler)?e.handler.bind(n):t[e.handler];M(i)&&pn(o,i,e)}}function Oo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,c=i.get(t);let u;return c?u=c:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(a=>Vt(u,a,r,!0)),Vt(u,t,r)),i.set(t,u),u}function Vt(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Vt(e,i,n,!0),o&&o.forEach(r=>Vt(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const c=Cr[r]||n&&n[r];e[r]=c?c(e[r],t[r]):t[r]}return e}const Cr={data:vs,props:qe,emits:qe,methods:qe,computed:qe,beforeCreate:re,created:re,beforeMount:re,mounted:re,beforeUpdate:re,updated:re,beforeDestroy:re,beforeUnmount:re,destroyed:re,unmounted:re,activated:re,deactivated:re,errorCaptured:re,serverPrefetch:re,components:qe,directives:qe,watch:yr,provide:vs,inject:vr};function vs(e,t){return t?e?function(){return G(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function vr(e,t){return qe(An(e),An(t))}function An(e){if(O(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function re(e,t){return e?[...new Set([].concat(e,t))]:t}function qe(e,t){return e?G(G(Object.create(null),e),t):t}function yr(e,t){if(!e)return t;if(!t)return e;const n=G(Object.create(null),e);for(const s in t)n[s]=re(e[s],t[s]);return n}function xr(e,t,n,s=!1){const o={},i={};Ht(i,on,1),e.propsDefaults=Object.create(null),Po(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:Bi(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function wr(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,c=$(o),[u]=e.propsOptions;let a=!1;if((s||r>0)&&!(r&16)){if(r&8){const p=e.vnode.dynamicProps;for(let b=0;b<p.length;b++){let v=p[b];if(tn(e.emitsOptions,v))continue;const k=t[v];if(u)if(N(i,v))k!==i[v]&&(i[v]=k,a=!0);else{const F=ke(v);o[F]=On(u,c,F,k,e,!1)}else k!==i[v]&&(i[v]=k,a=!0)}}}else{Po(e,t,o,i)&&(a=!0);let p;for(const b in c)(!t||!N(t,b)&&((p=ht(b))===b||!N(t,p)))&&(u?n&&(n[b]!==void 0||n[p]!==void 0)&&(o[b]=On(u,c,b,void 0,e,!0)):delete o[b]);if(i!==c)for(const b in i)(!t||!N(t,b)&&!0)&&(delete i[b],a=!0)}a&&Se(e,"set","$attrs")}function Po(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,c;if(t)for(let u in t){if(Rt(u))continue;const a=t[u];let p;o&&N(o,p=ke(u))?!i||!i.includes(p)?n[p]=a:(c||(c={}))[p]=a:tn(e.emitsOptions,u)||(!(u in s)||a!==s[u])&&(s[u]=a,r=!0)}if(i){const u=$(n),a=c||j;for(let p=0;p<i.length;p++){const b=i[p];n[b]=On(o,u,b,a[b],e,!N(a,b))}}return r}function On(e,t,n,s,o,i){const r=e[n];if(r!=null){const c=N(r,"default");if(c&&s===void 0){const u=r.default;if(r.type!==Function&&M(u)){const{propsDefaults:a}=o;n in a?s=a[n]:(pt(o),s=a[n]=u.call(null,t),Ge())}else s=u}r[0]&&(i&&!c?s=!1:r[1]&&(s===""||s===ht(n))&&(s=!0))}return s}function Mo(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},c=[];let u=!1;if(!M(e)){const p=b=>{u=!0;const[v,k]=Mo(b,t,!0);G(r,v),k&&c.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!i&&!u)return s.set(e,ut),ut;if(O(i))for(let p=0;p<i.length;p++){const b=ke(i[p]);ys(b)&&(r[b]=j)}else if(i)for(const p in i){const b=ke(p);if(ys(b)){const v=i[p],k=r[b]=O(v)||M(v)?{type:v}:v;if(k){const F=Es(Boolean,k.type),S=Es(String,k.type);k[0]=F>-1,k[1]=S<0||F<S,(F>-1||N(k,"default"))&&c.push(b)}}}const a=[r,c];return s.set(e,a),a}function ys(e){return e[0]!=="$"}function xs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ws(e,t){return xs(e)===xs(t)}function Es(e,t){return O(t)?t.findIndex(n=>ws(n,e)):M(t)&&ws(t,e)?0:-1}const Fo=e=>e[0]==="_"||e==="$stable",Qn=e=>O(e)?e.map(Ie):[Ie(e)],Er=(e,t,n)=>{const s=ct((...o)=>Qn(t(...o)),n);return s._c=!1,s},So=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Fo(o))continue;const i=e[o];if(M(i))t[o]=Er(o,i,s);else if(i!=null){const r=Qn(i);t[o]=()=>r}}},No=(e,t)=>{const n=Qn(t);e.slots.default=()=>n},Tr=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$(t),Ht(t,"_",n)):So(t,e.slots={})}else e.slots={},t&&No(e,t);Ht(e.slots,on,1)},Ir=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=j;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(G(o,t),!n&&c===1&&delete o._):(i=!t.$stable,So(t,o)),r=t}else t&&(No(e,t),r={default:1});if(i)for(const c in o)!Fo(c)&&!(c in r)&&delete o[c]};function We(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const c=o[r];i&&(c.oldValue=i[r].value);let u=c.dir[s];u&&(gt(),me(u,n,8,[e.el,c,e,t]),mt())}}function Lo(){return{app:null,config:{isNativeTag:si,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let kr=0;function Ar(e,t){return function(s,o=null){M(s)||(s=Object.assign({},s)),o!=null&&!Z(o)&&(o=null);const i=Lo(),r=new Set;let c=!1;const u=i.app={_uid:kr++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:el,get config(){return i.config},set config(a){},use(a,...p){return r.has(a)||(a&&M(a.install)?(r.add(a),a.install(u,...p)):M(a)&&(r.add(a),a(u,...p))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,p){return p?(i.components[a]=p,u):i.components[a]},directive(a,p){return p?(i.directives[a]=p,u):i.directives[a]},mount(a,p,b){if(!c){const v=se(s,o);return v.appContext=i,p&&t?t(v,a):e(v,a,b),c=!0,u._container=a,a.__vue_app__=u,ns(v.component)||v.component.proxy}},unmount(){c&&(e(null,u._container),delete u._container.__vue_app__)},provide(a,p){return i.provides[a]=p,u}};return u}}function Pn(e,t,n,s,o=!1){if(O(e)){e.forEach((v,k)=>Pn(v,t&&(O(t)?t[k]:t),n,s,o));return}if(Wt(s)&&!o)return;const i=s.shapeFlag&4?ns(s.component)||s.component.proxy:s.el,r=o?null:i,{i:c,r:u}=e,a=t&&t.r,p=c.refs===j?c.refs={}:c.refs,b=c.setupState;if(a!=null&&a!==u&&(ee(a)?(p[a]=null,N(b,a)&&(b[a]=null)):ne(a)&&(a.value=null)),M(u))Ue(u,c,12,[r,p]);else{const v=ee(u),k=ne(u);if(v||k){const F=()=>{if(e.f){const S=v?p[u]:u.value;o?O(S)&&$n(S,i):O(S)?S.includes(i)||S.push(i):v?(p[u]=[i],N(b,u)&&(b[u]=p[u])):(u.value=[i],e.k&&(p[e.k]=u.value))}else v?(p[u]=r,N(b,u)&&(b[u]=r)):ne(u)&&(u.value=r,e.k&&(p[e.k]=r))};r?(F.id=-1,ue(F,n)):F()}}}const ue=nr;function Or(e){return Pr(e)}function Pr(e,t){const n=fi();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:c,createComment:u,setText:a,setElementText:p,parentNode:b,nextSibling:v,setScopeId:k=ve,cloneNode:F,insertStaticContent:S}=e,P=(l,f,d,g=null,h=null,C=null,x=!1,_=null,y=!!f.dynamicChildren)=>{if(l===f)return;l&&!Ye(l,f)&&(g=Ot(l),Le(l,h,C,!0),l=null),f.patchFlag===-2&&(y=!1,f.dynamicChildren=null);const{type:m,ref:E,shapeFlag:w}=f;switch(m){case Gn:L(l,f,d,g);break;case _e:oe(l,f,d,g);break;case Bt:l==null&&q(f,d,g,x);break;case ge:Y(l,f,d,g,h,C,x,_,y);break;default:w&1?Oe(l,f,d,g,h,C,x,_,y):w&6?ye(l,f,d,g,h,C,x,_,y):(w&64||w&128)&&m.process(l,f,d,g,h,C,x,_,y,st)}E!=null&&h&&Pn(E,l&&l.ref,C,f||l,!f)},L=(l,f,d,g)=>{if(l==null)s(f.el=c(f.children),d,g);else{const h=f.el=l.el;f.children!==l.children&&a(h,f.children)}},oe=(l,f,d,g)=>{l==null?s(f.el=u(f.children||""),d,g):f.el=l.el},q=(l,f,d,g)=>{[l.el,l.anchor]=S(l.children,f,d,g,l.el,l.anchor)},W=({el:l,anchor:f},d,g)=>{let h;for(;l&&l!==f;)h=v(l),s(l,d,g),l=h;s(f,d,g)},ie=({el:l,anchor:f})=>{let d;for(;l&&l!==f;)d=v(l),o(l),l=d;o(f)},Oe=(l,f,d,g,h,C,x,_,y)=>{x=x||f.type==="svg",l==null?B(f,d,g,h,C,x,_,y):fe(l,f,h,C,x,_,y)},B=(l,f,d,g,h,C,x,_)=>{let y,m;const{type:E,props:w,shapeFlag:T,transition:A,patchFlag:R,dirs:K}=l;if(l.el&&F!==void 0&&R===-1)y=l.el=F(l.el);else{if(y=l.el=r(l.type,C,w&&w.is,w),T&8?p(y,l.children):T&16&&V(l.children,y,null,g,h,C&&E!=="foreignObject",x,_),K&&We(l,null,g,"created"),w){for(const U in w)U!=="value"&&!Rt(U)&&i(y,U,null,w[U],C,l.children,g,h,Me);"value"in w&&i(y,"value",null,w.value),(m=w.onVnodeBeforeMount)&&we(m,g,l)}J(y,l,l.scopeId,x,g)}K&&We(l,null,g,"beforeMount");const D=(!h||h&&!h.pendingBranch)&&A&&!A.persisted;D&&A.beforeEnter(y),s(y,f,d),((m=w&&w.onVnodeMounted)||D||K)&&ue(()=>{m&&we(m,g,l),D&&A.enter(y),K&&We(l,null,g,"mounted")},h)},J=(l,f,d,g,h)=>{if(d&&k(l,d),g)for(let C=0;C<g.length;C++)k(l,g[C]);if(h){let C=h.subTree;if(f===C){const x=h.vnode;J(l,x,x.scopeId,x.slotScopeIds,h.parent)}}},V=(l,f,d,g,h,C,x,_,y=0)=>{for(let m=y;m<l.length;m++){const E=l[m]=_?je(l[m]):Ie(l[m]);P(null,E,f,d,g,h,C,x,_)}},fe=(l,f,d,g,h,C,x)=>{const _=f.el=l.el;let{patchFlag:y,dynamicChildren:m,dirs:E}=f;y|=l.patchFlag&16;const w=l.props||j,T=f.props||j;let A;d&&Ve(d,!1),(A=T.onVnodeBeforeUpdate)&&we(A,d,f,l),E&&We(f,l,d,"beforeUpdate"),d&&Ve(d,!0);const R=h&&f.type!=="foreignObject";if(m?te(l.dynamicChildren,m,_,d,g,R,C):x||Pe(l,f,_,null,d,g,R,C,!1),y>0){if(y&16)I(_,f,w,T,d,g,h);else if(y&2&&w.class!==T.class&&i(_,"class",null,T.class,h),y&4&&i(_,"style",w.style,T.style,h),y&8){const K=f.dynamicProps;for(let D=0;D<K.length;D++){const U=K[D],be=w[U],ot=T[U];(ot!==be||U==="value")&&i(_,U,be,ot,h,l.children,d,g,Me)}}y&1&&l.children!==f.children&&p(_,f.children)}else!x&&m==null&&I(_,f,w,T,d,g,h);((A=T.onVnodeUpdated)||E)&&ue(()=>{A&&we(A,d,f,l),E&&We(f,l,d,"updated")},g)},te=(l,f,d,g,h,C,x)=>{for(let _=0;_<f.length;_++){const y=l[_],m=f[_],E=y.el&&(y.type===ge||!Ye(y,m)||y.shapeFlag&70)?b(y.el):d;P(y,m,E,null,g,h,C,x,!0)}},I=(l,f,d,g,h,C,x)=>{if(d!==g){for(const _ in g){if(Rt(_))continue;const y=g[_],m=d[_];y!==m&&_!=="value"&&i(l,_,m,y,x,f.children,h,C,Me)}if(d!==j)for(const _ in d)!Rt(_)&&!(_ in g)&&i(l,_,d[_],null,x,f.children,h,C,Me);"value"in g&&i(l,"value",d.value,g.value)}},Y=(l,f,d,g,h,C,x,_,y)=>{const m=f.el=l?l.el:c(""),E=f.anchor=l?l.anchor:c("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:A}=f;A&&(_=_?_.concat(A):A),l==null?(s(m,d,g),s(E,d,g),V(f.children,d,E,h,C,x,_,y)):w>0&&w&64&&T&&l.dynamicChildren?(te(l.dynamicChildren,T,d,h,C,x,_),(f.key!=null||h&&f===h.subTree)&&Ro(l,f,!0)):Pe(l,f,d,E,h,C,x,_,y)},ye=(l,f,d,g,h,C,x,_,y)=>{f.slotScopeIds=_,l==null?f.shapeFlag&512?h.ctx.activate(f,d,g,x,y):tt(f,d,g,h,C,x,y):Q(l,f,y)},tt=(l,f,d,g,h,C,x)=>{const _=l.component=Wr(l,g,h);if(nn(l)&&(_.ctx.renderer=st),zr(_),_.asyncDep){if(h&&h.registerDep(_,z),!l.el){const y=_.subTree=se(_e);oe(null,y,f,d)}return}z(_,l,f,d,h,C,x)},Q=(l,f,d)=>{const g=f.component=l.component;if(Gi(l,f,d))if(g.asyncDep&&!g.asyncResolved){H(g,f,d);return}else g.next=f,qi(g.update),g.update();else f.component=l.component,f.el=l.el,g.vnode=f},z=(l,f,d,g,h,C,x)=>{const _=()=>{if(l.isMounted){let{next:E,bu:w,u:T,parent:A,vnode:R}=l,K=E,D;Ve(l,!1),E?(E.el=R.el,H(l,E,x)):E=R,w&&un(w),(D=E.props&&E.props.onVnodeBeforeUpdate)&&we(D,A,E,R),Ve(l,!0);const U=an(l),be=l.subTree;l.subTree=U,P(be,U,b(be.el),Ot(be),l,h,C),E.el=U.el,K===null&&er(l,U.el),T&&ue(T,h),(D=E.props&&E.props.onVnodeUpdated)&&ue(()=>we(D,A,E,R),h)}else{let E;const{el:w,props:T}=f,{bm:A,m:R,parent:K}=l,D=Wt(f);if(Ve(l,!1),A&&un(A),!D&&(E=T&&T.onVnodeBeforeMount)&&we(E,K,f),Ve(l,!0),w&&cn){const U=()=>{l.subTree=an(l),cn(w,l.subTree,l,h,null)};D?f.type.__asyncLoader().then(()=>!l.isUnmounted&&U()):U()}else{const U=l.subTree=an(l);P(null,U,d,g,l,h,C),f.el=U.el}if(R&&ue(R,h),!D&&(E=T&&T.onVnodeMounted)){const U=f;ue(()=>we(E,K,U),h)}f.shapeFlag&256&&l.a&&ue(l.a,h),l.isMounted=!0,f=d=g=null}},y=l.effect=new Un(_,()=>ao(l.update),l.scope),m=l.update=y.run.bind(y);m.id=l.uid,Ve(l,!0),m()},H=(l,f,d)=>{f.component=l;const g=l.vnode.props;l.vnode=f,l.next=null,wr(l,f.props,g,d),Ir(l,f.children,d),gt(),Xn(void 0,l.update),mt()},Pe=(l,f,d,g,h,C,x,_,y=!1)=>{const m=l&&l.children,E=l?l.shapeFlag:0,w=f.children,{patchFlag:T,shapeFlag:A}=f;if(T>0){if(T&128){_t(m,w,d,g,h,C,x,_,y);return}else if(T&256){rn(m,w,d,g,h,C,x,_,y);return}}A&8?(E&16&&Me(m,h,C),w!==m&&p(d,w)):E&16?A&16?_t(m,w,d,g,h,C,x,_,y):Me(m,h,C,!0):(E&8&&p(d,""),A&16&&V(w,d,g,h,C,x,_,y))},rn=(l,f,d,g,h,C,x,_,y)=>{l=l||ut,f=f||ut;const m=l.length,E=f.length,w=Math.min(m,E);let T;for(T=0;T<w;T++){const A=f[T]=y?je(f[T]):Ie(f[T]);P(l[T],A,d,null,h,C,x,_,y)}m>E?Me(l,h,C,!0,!1,w):V(f,d,g,h,C,x,_,y,w)},_t=(l,f,d,g,h,C,x,_,y)=>{let m=0;const E=f.length;let w=l.length-1,T=E-1;for(;m<=w&&m<=T;){const A=l[m],R=f[m]=y?je(f[m]):Ie(f[m]);if(Ye(A,R))P(A,R,d,null,h,C,x,_,y);else break;m++}for(;m<=w&&m<=T;){const A=l[w],R=f[T]=y?je(f[T]):Ie(f[T]);if(Ye(A,R))P(A,R,d,null,h,C,x,_,y);else break;w--,T--}if(m>w){if(m<=T){const A=T+1,R=A<E?f[A].el:g;for(;m<=T;)P(null,f[m]=y?je(f[m]):Ie(f[m]),d,R,h,C,x,_,y),m++}}else if(m>T)for(;m<=w;)Le(l[m],h,C,!0),m++;else{const A=m,R=m,K=new Map;for(m=R;m<=T;m++){const ae=f[m]=y?je(f[m]):Ie(f[m]);ae.key!=null&&K.set(ae.key,m)}let D,U=0;const be=T-R+1;let ot=!1,rs=0;const bt=new Array(be);for(m=0;m<be;m++)bt[m]=0;for(m=A;m<=w;m++){const ae=l[m];if(U>=be){Le(ae,h,C,!0);continue}let xe;if(ae.key!=null)xe=K.get(ae.key);else for(D=R;D<=T;D++)if(bt[D-R]===0&&Ye(ae,f[D])){xe=D;break}xe===void 0?Le(ae,h,C,!0):(bt[xe-R]=m+1,xe>=rs?rs=xe:ot=!0,P(ae,f[xe],d,null,h,C,x,_,y),U++)}const ls=ot?Mr(bt):ut;for(D=ls.length-1,m=be-1;m>=0;m--){const ae=R+m,xe=f[ae],cs=ae+1<E?f[ae+1].el:g;bt[m]===0?P(null,xe,d,cs,h,C,x,_,y):ot&&(D<0||m!==ls[D]?nt(xe,d,cs,2):D--)}}},nt=(l,f,d,g,h=null)=>{const{el:C,type:x,transition:_,children:y,shapeFlag:m}=l;if(m&6){nt(l.component.subTree,f,d,g);return}if(m&128){l.suspense.move(f,d,g);return}if(m&64){x.move(l,f,d,st);return}if(x===ge){s(C,f,d);for(let w=0;w<y.length;w++)nt(y[w],f,d,g);s(l.anchor,f,d);return}if(x===Bt){W(l,f,d);return}if(g!==2&&m&1&&_)if(g===0)_.beforeEnter(C),s(C,f,d),ue(()=>_.enter(C),h);else{const{leave:w,delayLeave:T,afterLeave:A}=_,R=()=>s(C,f,d),K=()=>{w(C,()=>{R(),A&&A()})};T?T(C,R,K):K()}else s(C,f,d)},Le=(l,f,d,g=!1,h=!1)=>{const{type:C,props:x,ref:_,children:y,dynamicChildren:m,shapeFlag:E,patchFlag:w,dirs:T}=l;if(_!=null&&Pn(_,null,d,l,!0),E&256){f.ctx.deactivate(l);return}const A=E&1&&T,R=!Wt(l);let K;if(R&&(K=x&&x.onVnodeBeforeUnmount)&&we(K,f,l),E&6)Jo(l.component,d,g);else{if(E&128){l.suspense.unmount(d,g);return}A&&We(l,null,f,"beforeUnmount"),E&64?l.type.remove(l,f,d,h,st,g):m&&(C!==ge||w>0&&w&64)?Me(m,f,d,!1,!0):(C===ge&&w&384||!h&&E&16)&&Me(y,f,d),g&&os(l)}(R&&(K=x&&x.onVnodeUnmounted)||A)&&ue(()=>{K&&we(K,f,l),A&&We(l,null,f,"unmounted")},d)},os=l=>{const{type:f,el:d,anchor:g,transition:h}=l;if(f===ge){Yo(d,g);return}if(f===Bt){ie(l);return}const C=()=>{o(d),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(l.shapeFlag&1&&h&&!h.persisted){const{leave:x,delayLeave:_}=h,y=()=>x(d,C);_?_(l.el,C,y):y()}else C()},Yo=(l,f)=>{let d;for(;l!==f;)d=v(l),o(l),l=d;o(f)},Jo=(l,f,d)=>{const{bum:g,scope:h,update:C,subTree:x,um:_}=l;g&&un(g),h.stop(),C&&(C.active=!1,Le(x,l,f,d)),_&&ue(_,f),ue(()=>{l.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Me=(l,f,d,g=!1,h=!1,C=0)=>{for(let x=C;x<l.length;x++)Le(l[x],f,d,g,h)},Ot=l=>l.shapeFlag&6?Ot(l.component.subTree):l.shapeFlag&128?l.suspense.next():v(l.anchor||l.el),is=(l,f,d)=>{l==null?f._vnode&&Le(f._vnode,null,null,!0):P(f._vnode||null,l,f,null,null,null,d),go(),f._vnode=l},st={p:P,um:Le,m:nt,r:os,mt:tt,mc:V,pc:Pe,pbc:te,n:Ot,o:e};let ln,cn;return t&&([ln,cn]=t(st)),{render:is,hydrate:ln,createApp:Ar(is,ln)}}function Ve({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ro(e,t,n=!1){const s=e.children,o=t.children;if(O(s)&&O(o))for(let i=0;i<s.length;i++){const r=s[i];let c=o[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[i]=je(o[i]),c.el=r.el),n||Ro(r,c))}}function Mr(e){const t=e.slice(),n=[0];let s,o,i,r,c;const u=e.length;for(s=0;s<u;s++){const a=e[s];if(a!==0){if(o=n[n.length-1],e[o]<a){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)c=i+r>>1,e[n[c]]<a?i=c+1:r=c;a<e[n[i]]&&(i>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 Fr=e=>e.__isTeleport,Bo="components";function Sr(e,t){return Lr(Bo,e,!0,t)||e}const Nr=Symbol();function Lr(e,t,n=!0,s=!1){const o=ce||X;if(o){const i=o.type;if(e===Bo){const c=Zr(i);if(c&&(c===t||c===ke(t)||c===Qt(ke(t))))return i}const r=Ts(o[e]||i[e],t)||Ts(o.appContext[e],t);return!r&&s?i:r}}function Ts(e,t){return e&&(e[t]||e[ke(t)]||e[Qt(ke(t))])}const ge=Symbol(void 0),Gn=Symbol(void 0),_e=Symbol(void 0),Bt=Symbol(void 0),Et=[];let Qe=null;function Ze(e=!1){Et.push(Qe=e?null:[])}function Rr(){Et.pop(),Qe=Et[Et.length-1]||null}let zt=1;function Is(e){zt+=e}function $o(e){return e.dynamicChildren=zt>0?Qe||ut:null,Rr(),zt>0&&Qe&&Qe.push(e),e}function $t(e,t,n,s,o,i){return $o(le(e,t,n,s,o,i,!0))}function es(e,t,n,s,o){return $o(se(e,t,n,s,o,!0))}function qt(e){return e?e.__v_isVNode===!0:!1}function Ye(e,t){return e.type===t.type&&e.key===t.key}const on="__vInternal",Do=({key:e})=>e!=null?e:null,Dt=({ref:e,ref_key:t,ref_for:n})=>e!=null?ee(e)||ne(e)||M(e)?{i:ce,r:e,k:t,f:!!n}:e:null;function le(e,t=null,n=null,s=0,o=null,i=e===ge?0:1,r=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Do(t),ref:t&&Dt(t),scopeId:bo,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};return c?(ts(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=ee(n)?8:16),zt>0&&!r&&Qe&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Qe.push(u),u}const se=Br;function Br(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Nr)&&(e=_e),qt(e)){const c=et(e,t,!0);return n&&ts(c,n),c}if(Xr(e)&&(e=e.__vccOpts),t){t=$r(t);let{class:c,style:u}=t;c&&!ee(c)&&(t.class=Te(c)),Z(u)&&(lo(u)&&!O(u)&&(u=G({},u)),t.style=Rn(u))}const r=ee(e)?1:tr(e)?128:Fr(e)?64:Z(e)?4:M(e)?2:0;return le(e,t,n,s,o,r,i,!0)}function $r(e){return e?lo(e)||on in e?G({},e):e:null}function et(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,c=t?jr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Do(c),ref:t&&t.ref?n&&o?O(o)?o.concat(Dt(t)):[o,Dt(t)]:Dt(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!==ge?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&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor}}function Ae(e=" ",t=0){return se(Gn,null,e,t)}function Dr(e,t){const n=se(Bt,null,e);return n.staticCount=t,n}function gn(e="",t=!1){return t?(Ze(),es(_e,null,e)):se(_e,null,e)}function Ie(e){return e==null||typeof e=="boolean"?se(_e):O(e)?se(ge,null,e.slice()):typeof e=="object"?je(e):se(Gn,null,String(e))}function je(e){return e.el===null||e.memo?e:et(e)}function ts(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),ts(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(on in t)?t._ctx=ce:o===3&&ce&&(ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:ce},n=32):(t=String(t),s&64?(n=16,t=[Ae(t)]):n=8);e.children=t,e.shapeFlag|=n}function jr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Te([t.class,s.class]));else if(o==="style")t.style=Rn([t.style,s.style]);else if(Jt(o)){const i=t[o],r=s[o];r&&i!==r&&!(O(i)&&i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else o!==""&&(t[o]=s[o])}return t}function we(e,t,n,s=null){me(e,t,7,[n,s])}function Lt(e,t,n={},s,o){if(ce.isCE||ce.parent&&Wt(ce.parent)&&ce.parent.isCE)return se("slot",t==="default"?null:{name:t},s&&s());let i=e[t];i&&i._c&&(i._d=!1),Ze();const r=i&&jo(i(n)),c=es(ge,{key:n.key||`_${t}`},r||(s?s():[]),r&&e._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function jo(e){return e.some(t=>qt(t)?!(t.type===_e||t.type===ge&&!jo(t.children)):!0)?e:null}const Mn=e=>e?Ho(e)?ns(e)||e.proxy:Mn(e.parent):null,Yt=G(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=>Oo(e),$forceUpdate:e=>()=>ao(e.update),$nextTick:e=>Vi.bind(e.proxy),$watch:e=>or.bind(e)}),Hr={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:c,appContext:u}=e;let a;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(s!==j&&N(s,t))return r[t]=1,s[t];if(o!==j&&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!==j&&N(n,t))return r[t]=4,n[t];kn&&(r[t]=0)}}const p=Yt[t];let b,v;if(p)return t==="$attrs"&&pe(e,"get",t),p(e);if((b=c.__cssModules)&&(b=b[t]))return b;if(n!==j&&N(n,t))return r[t]=4,n[t];if(v=u.config.globalProperties,N(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return o!==j&&N(o,t)?(o[t]=n,!0):s!==j&&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 c;return!!n[r]||e!==j&&N(e,r)||t!==j&&N(t,r)||(c=i[0])&&N(c,r)||N(s,r)||N(Yt,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)}},Ur=Lo();let Kr=0;function Wr(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Ur,i={uid:Kr++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mo(s,o),emitsOptions:_o(s,o),emit:null,emitted:null,propsDefaults:j,inheritAttrs:s.inheritAttrs,ctx:j,data:j,props:j,attrs:j,slots:j,refs:j,setupState:j,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Zi.bind(null,i),e.ce&&e.ce(i),i}let X=null;const Vr=()=>X||ce,pt=e=>{X=e,e.scope.on()},Ge=()=>{X&&X.scope.off(),X=null};function Ho(e){return e.vnode.shapeFlag&4}let At=!1;function zr(e,t=!1){At=t;const{props:n,children:s}=e.vnode,o=Ho(e);xr(e,n,o,t),Tr(e,s);const i=o?qr(e,t):void 0;return At=!1,i}function qr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=co(new Proxy(e.ctx,Hr));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Jr(e):null;pt(e),gt();const i=Ue(s,e,0,[e.props,o]);if(mt(),Ge(),Vs(i)){if(i.then(Ge,Ge),t)return i.then(r=>{ks(e,r,t)}).catch(r=>{en(r,e,0)});e.asyncDep=i}else ks(e,i,t)}else Uo(e,t)}function ks(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=fo(t)),Uo(e,n)}let As;function Uo(e,t,n){const s=e.type;if(!e.render){if(!t&&As&&!s.render){const o=s.template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:c,compilerOptions:u}=s,a=G(G({isCustomElement:i,delimiters:c},r),u);s.render=As(o,a)}}e.render=s.render||ve}pt(e),gt(),_r(e),mt(),Ge()}function Yr(e){return new Proxy(e.attrs,{get(t,n){return pe(e,"get","$attrs"),t[n]}})}function Jr(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Yr(e))},slots:e.slots,emit:e.emit,expose:t}}function ns(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fo(co(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yt)return Yt[n](e)}}))}function Zr(e){return M(e)&&e.displayName||e.name}function Xr(e){return M(e)&&"__vccOpts"in e}const Qr=(e,t)=>Ki(e,t,At);function Gr(e,t,n){const s=arguments.length;return s===2?Z(t)&&!O(t)?qt(t)?se(e,null,[t]):se(e,t):se(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qt(n)&&(n=[n]),se(e,t,n))}const el="3.2.33",tl="http://www.w3.org/2000/svg",Je=typeof document!="undefined"?document:null,Os=Je&&Je.createElement("template"),nl={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?Je.createElementNS(tl,e):Je.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,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}</svg>`:e;const c=Os.content;if(s){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function sl(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 ol(e,t,n){const s=e.style,o=ee(n);if(n&&!o){for(const i in n)Fn(s,i,n[i]);if(t&&!ee(t))for(const i in t)n[i]==null&&Fn(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Ps=/\s*!important$/;function Fn(e,t,n){if(O(n))n.forEach(s=>Fn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=il(e,t);Ps.test(n)?e.setProperty(ht(s),n.replace(Ps,""),"important"):e[s]=n}}const Ms=["Webkit","Moz","ms"],mn={};function il(e,t){const n=mn[t];if(n)return n;let s=ke(t);if(s!=="filter"&&s in e)return mn[t]=s;s=Qt(s);for(let o=0;o<Ms.length;o++){const i=Ms[o]+s;if(i in e)return mn[t]=i}return t}const Fs="http://www.w3.org/1999/xlink";function rl(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Fs,t.slice(6,t.length)):e.setAttributeNS(Fs,t,n);else{const i=Qo(t);n==null||i&&!Us(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function ll(e,t,n,s,o,i,r){if(t==="innerHTML"||t==="textContent"){s&&r(s,o,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n==null?"":n;(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Us(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}const[Ko,cl]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Sn=0;const fl=Promise.resolve(),ul=()=>{Sn=0},al=()=>Sn||(fl.then(ul),Sn=Ko());function dl(e,t,n,s){e.addEventListener(t,n,s)}function pl(e,t,n,s){e.removeEventListener(t,n,s)}function hl(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[c,u]=gl(t);if(s){const a=i[t]=ml(s,o);dl(e,c,a,u)}else r&&(pl(e,c,r,u),i[t]=void 0)}}const Ss=/(?:Once|Passive|Capture)$/;function gl(e){let t;if(Ss.test(e)){t={};let n;for(;n=e.match(Ss);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[ht(e.slice(2)),t]}function ml(e,t){const n=s=>{const o=s.timeStamp||Ko();(cl||o>=n.attached-1)&&me(_l(s,n.value),t,5,[s])};return n.value=e,n.attached=al(),n}function _l(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 Ns=/^on[a-z]/,bl=(e,t,n,s,o=!1,i,r,c,u)=>{t==="class"?sl(e,s,o):t==="style"?ol(e,n,s):Jt(t)?Bn(t)||hl(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cl(e,t,s,o))?ll(e,t,s,i,r,c,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),rl(e,t,s,o))};function Cl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ns.test(t)&&M(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ns.test(t)&&ee(n)?!1:t in e}const Be="transition",Ct="animation",ss=(e,{slots:t})=>Gr(yo,vl(e),t);ss.displayName="Transition";const Wo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ss.props=G({},yo.props,Wo);const ze=(e,t=[])=>{O(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ls=e=>e?O(e)?e.some(t=>t.length>1):e.length>1:!1;function vl(e){const t={};for(const I in e)I in Wo||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:a=r,appearToClass:p=c,leaveFromClass:b=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,F=yl(o),S=F&&F[0],P=F&&F[1],{onBeforeEnter:L,onEnter:oe,onEnterCancelled:q,onLeave:W,onLeaveCancelled:ie,onBeforeAppear:Oe=L,onAppear:B=oe,onAppearCancelled:J=q}=t,V=(I,Y,ye)=>{it(I,Y?p:c),it(I,Y?a:r),ye&&ye()},fe=(I,Y)=>{it(I,k),it(I,v),Y&&Y()},te=I=>(Y,ye)=>{const tt=I?B:oe,Q=()=>V(Y,I,ye);ze(tt,[Y,Q]),Rs(()=>{it(Y,I?u:i),$e(Y,I?p:c),Ls(tt)||Bs(Y,s,S,Q)})};return G(t,{onBeforeEnter(I){ze(L,[I]),$e(I,i),$e(I,r)},onBeforeAppear(I){ze(Oe,[I]),$e(I,u),$e(I,a)},onEnter:te(!1),onAppear:te(!0),onLeave(I,Y){const ye=()=>fe(I,Y);$e(I,b),El(),$e(I,v),Rs(()=>{it(I,b),$e(I,k),Ls(W)||Bs(I,s,P,ye)}),ze(W,[I,ye])},onEnterCancelled(I){V(I,!1),ze(q,[I])},onAppearCancelled(I){V(I,!0),ze(J,[I])},onLeaveCancelled(I){fe(I),ze(ie,[I])}})}function yl(e){if(e==null)return null;if(Z(e))return[_n(e.enter),_n(e.leave)];{const t=_n(e);return[t,t]}}function _n(e){return Ys(e)}function $e(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Rs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xl=0;function Bs(e,t,n,s){const o=e._endId=++xl,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:c,propCount:u}=wl(e,t);if(!r)return s();const a=r+"end";let p=0;const b=()=>{e.removeEventListener(a,v),i()},v=k=>{k.target===e&&++p>=u&&b()};setTimeout(()=>{p<u&&b()},c+1),e.addEventListener(a,v)}function wl(e,t){const n=window.getComputedStyle(e),s=F=>(n[F]||"").split(", "),o=s(Be+"Delay"),i=s(Be+"Duration"),r=$s(o,i),c=s(Ct+"Delay"),u=s(Ct+"Duration"),a=$s(c,u);let p=null,b=0,v=0;t===Be?r>0&&(p=Be,b=r,v=i.length):t===Ct?a>0&&(p=Ct,b=a,v=u.length):(b=Math.max(r,a),p=b>0?r>a?Be:Ct:null,v=p?p===Be?i.length:u.length:0);const k=p===Be&&/\b(transform|all)(,|$)/.test(n[Be+"Property"]);return{type:p,timeout:b,propCount:v,hasTransform:k}}function $s(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ds(n)+Ds(e[s])))}function Ds(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function El(){return document.body.offsetHeight}const Tl=G({patchProp:bl},nl);let js;function Il(){return js||(js=Or(Tl))}const kl=(...e)=>{const t=Il().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Al(s);if(!o)return;const i=t._component;!M(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 Al(e){return ee(e)?document.querySelector(e):e}function Hs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ol(e){return e.replace(/[.*+?^$|[\](){}\\-]/g,"\\$&")}function Pl(e){var t=e.charAt(e.length-1),n=parseInt(e,10),s=new Date;switch(t){case"Y":s.setFullYear(s.getFullYear()+n);break;case"M":s.setMonth(s.getMonth()+n);break;case"D":s.setDate(s.getDate()+n);break;case"h":s.setHours(s.getHours()+n);break;case"m":s.setMinutes(s.getMinutes()+n);break;case"s":s.setSeconds(s.getSeconds()+n);break;default:s=new Date(e)}return s}function Ml(e){var t="";for(var n in e)if(Hs(e,n))if(/^expires$/i.test(n)){var s=e[n];typeof s!="object"&&(s+=typeof s=="number"?"D":"",s=Pl(s)),t+=";"+n+"="+s.toUTCString()}else/^secure$/.test(n)?e[n]&&(t+=";"+n):t+=";"+n+"="+e[n];return Hs(e,"path")||(t+=";path=/"),t}function Fl(e,t){if(t===void 0&&(t=decodeURIComponent),typeof e!="string"||!e)return null;var n=new RegExp("(?:^|; )"+Ol(e)+"(?:=([^;]*))?(?:;|$)"),s=n.exec(document.cookie);return s===null?null:typeof t=="function"?t(s[1]):s[1]}function bn(e,t,n,s){n===void 0&&(n=encodeURIComponent),typeof n=="object"&&n!==null&&(s=n,n=encodeURIComponent);var o=Ml(s||{}),i=typeof n=="function"?n(t):t,r=e+"="+i+o;document.cookie=r}var Vo=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n};const Sl={name:"vue-cookie-accept-decline",props:{elementId:{type:String,required:!0},debug:{type:Boolean,default:!1},disableDecline:{type:Boolean,default:!1},position:{type:String,default:"bottom-left"},type:{type:String,default:"floating"},transitionName:{type:String,default:"slideFromBottom"},showPostponeButton:{type:Boolean,default:!1},forceCookies:{type:Boolean,default:!1}},data(){return{status:null,supportsLocalStorage:!0,isOpen:!1}},computed:{containerPosition(){return`cookie--${this.position}`},containerType(){return`cookie--${this.type}`}},mounted(){this.checkLocalStorageFunctionality(),this.init()},methods:{init(){let e=this.getCookieStatus();e&&(e==="accept"||e==="decline"||e==="postpone")&&(this.isOpen=!1),e||(this.isOpen=!0),this.status=e,this.$emit("status",e)},checkLocalStorageFunctionality(){if(this.forceCookies){this.supportsLocalStorage=!1;return}try{const e="__vue-cookie-accept-decline-check-localStorage";window.localStorage.setItem(e,e),window.localStorage.removeItem(e)}catch{console.error("Local storage is not supported, falling back to cookie use"),this.supportsLocalStorage=!1}},setCookieStatus(e){this.supportsLocalStorage?(e==="accept"&&localStorage.setItem(`vue-cookie-accept-decline-${this.elementId}`,"accept"),e==="decline"&&localStorage.setItem(`vue-cookie-accept-decline-${this.elementId}`,"decline"),e==="postpone"&&localStorage.setItem(`vue-cookie-accept-decline-${this.elementId}`,"postpone")):(e==="accept"&&bn(`vue-cookie-accept-decline-${this.elementId}`,"accept"),e==="decline"&&bn(`vue-cookie-accept-decline-${this.elementId}`,"decline"),e==="postpone"&&bn(`vue-cookie-accept-decline-${this.elementId}`,"postpone"))},getCookieStatus(){return this.supportsLocalStorage?localStorage.getItem(`vue-cookie-accept-decline-${this.elementId}`):Fl(`vue-cookie-accept-decline-${this.elementId}`)},accept(){this.debug||this.setCookieStatus("accept"),this.status="accept",this.isOpen=!1,this.$emit("clicked-accept")},decline(){this.debug||this.setCookieStatus("decline"),this.status="decline",this.isOpen=!1,this.$emit("clicked-decline")},postpone(){this.debug||this.setCookieStatus("postpone"),this.status="postpone",this.isOpen=!1,this.$emit("clicked-postpone")},removeCookie(){localStorage.removeItem(`vue-cookie-accept-decline-${this.elementId}`),this.status=null,this.$emit("removed-cookie")}}},Nl=["id"],Ll=Ae("\xD7"),Rl=Ae(" We use cookies to ensure you get the best experience on our website. "),Bl=le("a",{href:"https://cookiesandyou.com/",target:"_blank"},"Learn More...",-1),$l=Ae("Opt Out"),Dl=Ae("Got It!");function jl(e,t,n,s,o,i){return Ze(),es(ss,{appear:"",name:n.transitionName},{default:ct(()=>[o.isOpen?(Ze(),$t("div",{key:0,class:Te(["cookie",["cookie__"+n.type,"cookie__"+n.type+"--"+n.position]]),id:n.elementId},[le("div",{class:Te("cookie__"+n.type+"__wrap")},[n.showPostponeButton===!0?(Ze(),$t("div",{key:0,onClick:t[0]||(t[0]=(...r)=>i.postpone&&i.postpone(...r)),class:Te("cookie__"+n.type+"__postpone-button"),title:"Close"},[Lt(e.$slots,"postponeContent",{},()=>[Ll])],2)):gn("",!0),le("div",{class:Te("cookie__"+n.type+"__content")},[Lt(e.$slots,"message",{},()=>[Rl,Bl])],2),le("div",{class:Te("cookie__"+n.type+"__buttons")},[n.disableDecline===!1?(Ze(),$t("button",{key:0,onClick:t[1]||(t[1]=(...r)=>i.decline&&i.decline(...r)),class:Te(["cookie__"+n.type+"__buttons__button","cookie__"+n.type+"__buttons__button--decline"])},[Lt(e.$slots,"declineContent",{},()=>[$l])],2)):gn("",!0),le("button",{onClick:t[2]||(t[2]=(...r)=>i.accept&&i.accept(...r)),class:Te(["cookie__"+n.type+"__buttons__button","cookie__"+n.type+"__buttons__button--accept"])},[Lt(e.$slots,"acceptContent",{},()=>[Dl])],2)],2)],2)],10,Nl)):gn("",!0)]),_:3},8,["name"])}var zo=Vo(Sl,[["render",jl]]);function Nn(e){Nn.installed||(Nn.installed=!0,e.component("VueCookieAcceptDecline",zo))}const Hl={install:Nn};let Tt=null;typeof window!="undefined"?Tt=window.Vue:typeof global!="undefined"&&(Tt=global.Vue);Tt&&"use"in Tt&&Tt.use(Hl);const Ul={name:"app",data(){return{status:null}},methods:{cookieStatus(e){console.log("status: "+e),this.status=e},cookieClickedAccept(){console.log("here in accept"),this.status="accept"},cookieClickedDecline(){console.log("here in decline"),this.status="decline"},cookieClickedPostpone(){console.log("here in postpone"),this.status="postpone"},cookieRemovedCookie(){console.log("here in cookieRemoved"),this.status=null,this.$refs.myPanel1.init()},removeCookie(){console.log("Cookie removed"),this.$refs.myPanel1.removeCookie()}},computed:{statusText(){return this.status||"No cookie set"}}},Kl={id:"app"},Wl=Dr('<a href="https://github.com/johndatserakis/vue-cookie-accept-decline" target="_blank" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#54ad58;color:#fff;position:absolute;top:0;border:0;right:0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin:130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><div class="container py-4"><div class="row justify-content-center"><div class="col-lg-12 text-center"><h3><strong>vue-cookie-accept-decline</strong></h3></div></div></div><div class="container pt-3 pb-4"><div class="row justify-content-center"><div class="col-lg-6"><span class="badge badge-primary mb-1">To install:</span><div class="code-text">yarn add vue-cookie-accept-decline</div></div><div class="col-lg-4"><div class="list-group"><a href="https://github.com/johndatserakis/vue-cookie-accept-decline" class="list-group-item list-group-item-action" target="_blank">View on GitHub</a><a href="https://www.npmjs.com/package/vue-cookie-accept-decline" class="list-group-item list-group-item-action" target="_blank">View on NPM</a></div></div></div></div><div class="container py-3"><div class="row justify-content-center"><div class="col-lg-10"><hr></div></div></div>',4),Vl={class:"container py-3"},zl={class:"row justify-content-center"},ql={class:"col-xl-4"},Yl={class:"col-xl-4"},Jl={class:"code-text"},Zl=Ae(" Status: "),Xl=Ae("\xD7"),Ql=Ae(" We use cookies to ensure you get the best experience on our website. "),Gl=le("a",{href:"https://cookiesandyou.com/",target:"_blank"},"Learn More...",-1),ec=Ae("Opt Out"),tc=Ae("Got It!");function nc(e,t,n,s,o,i){const r=Sr("vue-cookie-accept-decline");return Ze(),$t("div",Kl,[Wl,le("div",Vl,[le("div",zl,[le("div",ql,[le("button",{onClick:t[0]||(t[0]=(...c)=>i.removeCookie&&i.removeCookie(...c)),class:"btn btn-primary btn-block mb-4"},"\xD7 \xA0 Remove Browser Cookie")]),le("div",Yl,[le("div",Jl,[Zl,le("strong",null,ni(i.statusText),1)])])])]),se(r,{debug:!1,disableDecline:!1,showPostponeButton:!1,onClickedAccept:i.cookieClickedAccept,onClickedDecline:i.cookieClickedDecline,onClickedPostpone:i.cookieClickedPostpone,onRemovedCookie:i.cookieRemovedCookie,onStatus:i.cookieStatus,elementId:"myPanel1",position:"bottom-left",ref:"myPanel1",transitionName:"slideFromBottom",type:"floating"},{postponeContent:ct(()=>[Xl]),message:ct(()=>[Ql,Gl]),declineContent:ct(()=>[ec]),acceptContent:ct(()=>[tc]),_:1},8,["onClickedAccept","onClickedDecline","onClickedPostpone","onRemovedCookie","onStatus"])])}var sc=Vo(Ul,[["render",nc]]);const qo=kl(sc);qo.component("vue-cookie-accept-decline",zo);qo.mount("#app");