function e(){}const t=Object.assign,n="undefined"!=typeof window,r=e=>null!==e&&"object"==typeof e,o=e=>null!=e,i=e=>"function"==typeof e,s=e=>r(e)&&i(e.then)&&i(e.catch),a=e=>"[object Date]"===Object.prototype.toString.call(e)&&!Number.isNaN(e.getTime()),l=e=>"number"==typeof e||/^\d+(\.\d+)?$/.test(e);function c(e,t){const n=t.split(".");let o=e;return n.forEach((e=>{var t;o=r(o)&&null!=(t=o[e])?t:""})),o}function u(e,t,n){return t.reduce(((t,r)=>(n&&void 0===e[r]||(t[r]=e[r]),t)),{})}const d=(e,t)=>JSON.stringify(e)===JSON.stringify(t),f=e=>Array.isArray(e)?e:[e],h=null,p=[Number,String],m={type:Boolean,default:!0},v=e=>({type:e,required:!0}),g=()=>({type:Array,default:()=>[]}),b=e=>({type:Number,default:e}),y=e=>({type:p,default:e}),w=e=>({type:String,default:e})
/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */;function x(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const S={},E=[],C=()=>{},k=()=>!1,T=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),O=e=>e.startsWith("onUpdate:"),L=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},I=Object.prototype.hasOwnProperty,P=(e,t)=>I.call(e,t),M=Array.isArray,R=e=>"[object Map]"===V(e),D=e=>"[object Set]"===V(e),N=e=>"[object Date]"===V(e),B=e=>"function"==typeof e,z=e=>"string"==typeof e,F=e=>"symbol"==typeof e,j=e=>null!==e&&"object"==typeof e,W=e=>(j(e)||B(e))&&B(e.then)&&B(e.catch),H=Object.prototype.toString,V=e=>H.call(e),Y=e=>V(e).slice(8,-1),U=e=>"[object Object]"===V(e),X=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=x(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),G=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},q=/-(\w)/g,Z=G((e=>e.replace(q,((e,t)=>t?t.toUpperCase():"")))),J=/\B([A-Z])/g,K=G((e=>e.replace(J,"-$1").toLowerCase())),Q=G((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=G((e=>e?"on".concat(Q(e)):"")),te=(e,t)=>!Object.is(e,t),ne=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},re=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},oe=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ie=e=>{const t=z(e)?Number(e):NaN;return isNaN(t)?e:t};let se;const ae=()=>se||(se="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function le(e){if(M(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=z(r)?fe(r):le(r);if(o)for(const e in o)t[e]=o[e]}return t}if(z(e)||j(e))return e}const ce=/;(?![^(]*\))/g,ue=/:([^]+)/,de=/\/\*[^]*?\*\//g;function fe(e){const t={};return e.replace(de,"").split(ce).forEach((e=>{if(e){const n=e.split(ue);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function he(e){let t="";if(z(e))t=e;else if(M(e))for(let n=0;n<e.length;n++){const r=he(e[n]);r&&(t+=r+" ")}else if(j(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function pe(e){if(!e)return null;let{class:t,style:n}=e;return t&&!z(t)&&(e.class=he(t)),n&&(e.style=le(n)),e}const me=x("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ve(e){return!!e||""===e}function ge(e,t){if(e===t)return!0;let n=N(e),r=N(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=F(e),r=F(t),n||r)return e===t;if(n=M(e),r=M(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ge(e[r],t[r]);return n}(e,t);if(n=j(e),r=j(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!ge(e[n],t[n]))return!1}}return String(e)===String(t)}function be(e,t){return e.findIndex((e=>ge(e,t)))}const ye=e=>!(!e||!0!==e.__v_isRef),we=e=>z(e)?e:null==e?"":M(e)||j(e)&&(e.toString===H||!B(e.toString))?ye(e)?we(e.value):JSON.stringify(e,xe,2):String(e),xe=(e,t)=>ye(t)?xe(e,t.value):R(t)?{["Map(".concat(t.size,")")]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Se(t,r)+" =>"]=n,e)),{})}:D(t)?{["Set(".concat(t.size,")")]:[...t.values()].map((e=>Se(e)))}:F(t)?Se(t):!j(t)||M(t)||U(t)?t:String(t),Se=(e,t="")=>{var n;return F(e)?"Symbol(".concat(null!=(n=e.description)?n:t,")"):e};
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
let Ee,Ce;class ke{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ee,!e&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=Ee;try{return Ee=this,e()}finally{Ee=t}}}on(){Ee=this}off(){Ee=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function _e(e){return new ke(e)}function Te(){return Ee}const Oe=new WeakSet;class Le{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ee&&Ee.active&&Ee.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,Oe.has(this)&&(Oe.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Me(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Xe(this),Ne(this);const e=Ce,t=He;Ce=this,He=!0;try{return this.fn()}finally{Be(this),Ce=e,He=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)je(e);this.deps=this.depsTail=void 0,Xe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?Oe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ze(this)&&this.run()}get dirty(){return ze(this)}}let Ae,Ie,Pe=0;function Me(e,t=!1){if(e.flags|=8,t)return e.next=Ie,void(Ie=e);e.next=Ae,Ae=e}function Re(){Pe++}function De(){if(--Pe>0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ae;){let n=Ae;for(Ae=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function Ne(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Be(e){let t,n=e.depsTail,r=n;for(;r;){const e=r.prevDep;-1===r.version?(r===n&&(n=e),je(r),We(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ze(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Fe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Fe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===$e)return;e.globalVersion=$e;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ze(e))return void(e.flags&=-3);const n=Ce,r=He;Ce=e,He=!0;try{Ne(e);const n=e.fn(e._value);(0===t.version||te(n,e._value))&&(e._value=n,t.version++)}catch(o){throw t.version++,o}finally{Ce=n,He=r,Be(e),e.flags&=-3}}function je(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)je(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function We(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Ve=[];function Ye(){Ve.push(He),He=!1}function Ue(){const e=Ve.pop();He=void 0===e||e}function Xe(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=Ce;Ce=void 0;try{t()}finally{Ce=e}}}let $e=0;class Ge{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qe{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Ce||!He||Ce===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==Ce)t=this.activeLink=new Ge(Ce,this),Ce.deps?(t.prevDep=Ce.depsTail,Ce.depsTail.nextDep=t,Ce.depsTail=t):Ce.deps=Ce.depsTail=t,Ze(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Ce.depsTail,t.nextDep=void 0,Ce.depsTail.nextDep=t,Ce.depsTail=t,Ce.deps===t&&(Ce.deps=e)}return t}trigger(e){this.version++,$e++,this.notify(e)}notify(e){Re();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{De()}}}function Ze(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ze(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Je=new WeakMap,Ke=Symbol(""),Qe=Symbol(""),et=Symbol("");function tt(e,t,n){if(He&&Ce){let t=Je.get(e);t||Je.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new qe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,o,i){const s=Je.get(e);if(!s)return void $e++;const a=e=>{e&&e.trigger()};if(Re(),"clear"===t)s.forEach(a);else{const o=M(e),i=o&&X(n);if(o&&"length"===n){const e=Number(r);s.forEach(((t,n)=>{("length"===n||n===et||!F(n)&&n>=e)&&a(t)}))}else switch((void 0!==n||s.has(void 0))&&a(s.get(n)),i&&a(s.get(et)),t){case"add":o?i&&a(s.get("length")):(a(s.get(Ke)),R(e)&&a(s.get(Qe)));break;case"delete":o||(a(s.get(Ke)),R(e)&&a(s.get(Qe)));break;case"set":R(e)&&a(s.get(Ke))}}De()}function rt(e){const t=Wt(e);return t===e?t:(tt(t,0,et),Ft(e)?t:t.map(Vt))}function ot(e){return tt(e=Wt(e),0,et),e}const it={__proto__:null,[Symbol.iterator](){return st(this,Symbol.iterator,Vt)},concat(...e){return rt(this).concat(...e.map((e=>M(e)?rt(e):e)))},entries(){return st(this,"entries",(e=>(e[1]=Vt(e[1]),e)))},every(e,t){return lt(this,"every",e,t,void 0,arguments)},filter(e,t){return lt(this,"filter",e,t,(e=>e.map(Vt)),arguments)},find(e,t){return lt(this,"find",e,t,Vt,arguments)},findIndex(e,t){return lt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return lt(this,"findLast",e,t,Vt,arguments)},findLastIndex(e,t){return lt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return lt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ut(this,"includes",e)},indexOf(...e){return ut(this,"indexOf",e)},join(e){return rt(this).join(e)},lastIndexOf(...e){return ut(this,"lastIndexOf",e)},map(e,t){return lt(this,"map",e,t,void 0,arguments)},pop(){return dt(this,"pop")},push(...e){return dt(this,"push",e)},reduce(e,...t){return ct(this,"reduce",e,t)},reduceRight(e,...t){return ct(this,"reduceRight",e,t)},shift(){return dt(this,"shift")},some(e,t){return lt(this,"some",e,t,void 0,arguments)},splice(...e){return dt(this,"splice",e)},toReversed(){return rt(this).toReversed()},toSorted(e){return rt(this).toSorted(e)},toSpliced(...e){return rt(this).toSpliced(...e)},unshift(...e){return dt(this,"unshift",e)},values(){return st(this,"values",Vt)}};function st(e,t,n){const r=ot(e),o=r[t]();return r===e||Ft(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const at=Array.prototype;function lt(e,t,n,r,o,i){const s=ot(e),a=s!==e&&!Ft(e),l=s[t];if(l!==at[t]){const t=l.apply(e,i);return a?Vt(t):t}let c=n;s!==e&&(a?c=function(t,r){return n.call(this,Vt(t),r,e)}:n.length>2&&(c=function(t,r){return n.call(this,t,r,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function ct(e,t,n,r){const o=ot(e);let i=n;return o!==e&&(Ft(e)?n.length>3&&(i=function(t,r,o){return n.call(this,t,r,o,e)}):i=function(t,r,o){return n.call(this,t,Vt(r),o,e)}),o[t](i,...r)}function ut(e,t,n){const r=Wt(e);tt(r,0,et);const o=r[t](...n);return-1!==o&&!1!==o||!jt(n[0])?o:(n[0]=Wt(n[0]),r[t](...n))}function dt(e,t,n=[]){Ye(),Re();const r=Wt(e)[t].apply(e,n);return De(),Ue(),r}const ft=x("__proto__,__v_isRef,__isVue"),ht=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(F));function pt(e){F(e)||(e=String(e));const t=Wt(this);return tt(t,0,e),t.hasOwnProperty(e)}class mt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Pt:It:o?At:Lt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=M(e);if(!r){let e;if(i&&(e=it[t]))return e;if("hasOwnProperty"===t)return pt}const s=Reflect.get(e,t,Ut(e)?e:n);return(F(t)?ht.has(t):ft(t))?s:(r||tt(e,0,t),o?s:Ut(s)?i&&X(t)?s:s.value:j(s)?r?Dt(s):Mt(s):s)}}class vt extends mt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){const t=zt(o);if(Ft(n)||zt(n)||(o=Wt(o),n=Wt(n)),!M(e)&&Ut(o)&&!Ut(n))return!t&&(o.value=n,!0)}const i=M(e)&&X(t)?Number(t)<e.length:P(e,t),s=Reflect.set(e,t,n,Ut(e)?e:r);return e===Wt(r)&&(i?te(n,o)&&nt(e,"set",t,n):nt(e,"add",t,n)),s}deleteProperty(e,t){const n=P(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&nt(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return F(t)&&ht.has(t)||tt(e,0,t),n}ownKeys(e){return tt(e,0,M(e)?"length":Ke),Reflect.ownKeys(e)}}class gt extends mt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const bt=new vt,yt=new gt,wt=new vt(!0),xt=e=>e,St=e=>Reflect.getPrototypeOf(e);function Et(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ct(e,t){const n={get(n){const r=this.__v_raw,o=Wt(r),i=Wt(n);e||(te(n,i)&&tt(o,0,n),tt(o,0,i));const{has:s}=St(o),a=t?xt:e?Yt:Vt;return s.call(o,n)?a(r.get(n)):s.call(o,i)?a(r.get(i)):void(r!==o&&r.get(n))},get size(){const t=this.__v_raw;return!e&&tt(Wt(t),0,Ke),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,r=Wt(n),o=Wt(t);return e||(te(t,o)&&tt(r,0,t),tt(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,r){const o=this,i=o.__v_raw,s=Wt(i),a=t?xt:e?Yt:Vt;return!e&&tt(s,0,Ke),i.forEach(((e,t)=>n.call(r,a(e),a(t),o)))}};L(n,e?{add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear")}:{add(e){t||Ft(e)||zt(e)||(e=Wt(e));const n=Wt(this);return St(n).has.call(n,e)||(n.add(e),nt(n,"add",e,e)),this},set(e,n){t||Ft(n)||zt(n)||(n=Wt(n));const r=Wt(this),{has:o,get:i}=St(r);let s=o.call(r,e);s||(e=Wt(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,n),s?te(n,a)&&nt(r,"set",e,n):nt(r,"add",e,n),this},delete(e){const t=Wt(this),{has:n,get:r}=St(t);let o=n.call(t,e);o||(e=Wt(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&nt(t,"delete",e,void 0),i},clear(){const e=Wt(this),t=0!==e.size,n=e.clear();return t&&nt(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{n[r]=function(e,t,n){return function(...r){const o=this.__v_raw,i=Wt(o),s=R(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=o[e](...r),u=n?xt:t?Yt:Vt;return!t&&tt(i,0,l?Qe:Ke),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(r,e,t)})),n}function kt(e,t){const n=Ct(e,t);return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(P(n,r)&&r in t?n:t,r,o)}const _t={get:kt(!1,!1)},Tt={get:kt(!1,!0)},Ot={get:kt(!0,!1)},Lt=new WeakMap,At=new WeakMap,It=new WeakMap,Pt=new WeakMap;function Mt(e){return zt(e)?e:Nt(e,!1,bt,_t,Lt)}function Rt(e){return Nt(e,!1,wt,Tt,At)}function Dt(e){return Nt(e,!0,yt,Ot,It)}function Nt(e,t,n,r,o){if(!j(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Y(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?r:n);return o.set(e,l),l}function Bt(e){return zt(e)?Bt(e.__v_raw):!(!e||!e.__v_isReactive)}function zt(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function jt(e){return!!e&&!!e.__v_raw}function Wt(e){const t=e&&e.__v_raw;return t?Wt(t):e}function Ht(e){return!P(e,"__v_skip")&&Object.isExtensible(e)&&re(e,"__v_skip",!0),e}const Vt=e=>j(e)?Mt(e):e,Yt=e=>j(e)?Dt(e):e;function Ut(e){return!!e&&!0===e.__v_isRef}function Xt(e){return Gt(e,!1)}function $t(e){return Gt(e,!0)}function Gt(e,t){return Ut(e)?e:new qt(e,t)}class qt{constructor(e,t){this.dep=new qe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Wt(e),this._value=t?e:Vt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Ft(e)||zt(e);e=n?e:Wt(e),te(e,t)&&(this._rawValue=e,this._value=n?e:Vt(e),this.dep.trigger())}}function Zt(e){return Ut(e)?e.value:e}const Jt={get:(e,t,n)=>"__v_raw"===t?e:Zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ut(o)&&!Ut(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Kt(e){return Bt(e)?e:new Proxy(e,Jt)}class Qt{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new qe,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function en(e){const t=M(e)?new Array(e.length):{};for(const n in e)t[n]=on(e,n);return t}class tn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Je.get(e);return n&&n.get(t)}(Wt(this._object),this._key)}}class nn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rn(e,t,n){return Ut(e)?e:B(e)?new nn(e):j(e)&&arguments.length>1?on(e,t,n):Xt(e)}function on(e,t,n){const r=e[t];return Ut(r)?r:new tn(e,t,n)}class sn{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new qe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$e-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&Ce!==this)return Me(this,!0),!0}get value(){const e=this.dep.track();return Fe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const an={},ln=new WeakMap;let cn;function un(e,t,n=S){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,c=e=>o?e:Ft(e)||!1===o||0===o?dn(e,1):dn(e);let u,d,f,h,p=!1,m=!1;if(Ut(e)?(d=()=>e.value,p=Ft(e)):Bt(e)?(d=()=>c(e),p=!0):M(e)?(m=!0,p=e.some((e=>Bt(e)||Ft(e))),d=()=>e.map((e=>Ut(e)?e.value:Bt(e)?c(e):B(e)?l?l(e,2):e():void 0))):d=B(e)?t?l?()=>l(e,2):e:()=>{if(f){Ye();try{f()}finally{Ue()}}const t=cn;cn=u;try{return l?l(e,3,[h]):e(h)}finally{cn=t}}:C,t&&o){const e=d,t=!0===o?1/0:o;d=()=>dn(e(),t)}const v=Te(),g=()=>{u.stop(),v&&v.active&&A(v.effects,u)};if(i&&t){const e=t;t=(...t)=>{e(...t),g()}}let b=m?new Array(e.length).fill(an):an;const y=e=>{if(1&u.flags&&(u.dirty||e))if(t){const e=u.run();if(o||p||(m?e.some(((e,t)=>te(e,b[t]))):te(e,b))){f&&f();const n=cn;cn=u;try{const n=[e,b===an?void 0:m&&b[0]===an?[]:b,h];l?l(t,3,n):t(...n),b=e}finally{cn=n}}}else u.run()};return a&&a(y),u=new Le(d),u.scheduler=s?()=>s(y,!1):y,h=e=>function(e,t=!1,n=cn){if(n){let t=ln.get(n);t||ln.set(n,t=[]),t.push(e)}}(e,!1,u),f=u.onStop=()=>{const e=ln.get(u);if(e){if(l)l(e,4);else for(const t of e)t();ln.delete(u)}},t?r?y(!0):b=u.run():s?s(y.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function dn(e,t=1/0,n){if(t<=0||!j(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ut(e))dn(e.value,t,n);else if(M(e))for(let r=0;r<e.length;r++)dn(e[r],t,n);else if(D(e)||R(e))e.forEach((e=>{dn(e,t,n)}));else if(U(e)){for(const r in e)dn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&dn(e[r],t,n)}return e}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function fn(e,t,n,r){try{return r?e(...r):e()}catch(o){pn(o,t,n)}}function hn(e,t,n,r){if(B(e)){const o=fn(e,t,n,r);return o&&W(o)&&o.catch((e=>{pn(e,t,n)})),o}if(M(e)){const o=[];for(let i=0;i<e.length;i++)o.push(hn(e[i],t,n,r));return o}}function pn(e,t,n,r=!0){t&&t.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||S;if(t){let r=t.parent;const i=t.proxy,s="https://vuejs.org/error-reference/#runtime-".concat(n);for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,s))return;r=r.parent}if(o)return Ye(),fn(o,null,10,[e,i,s]),void Ue()}!function(e,t,n,r=!0,o=!1){if(o)throw e}(e,0,0,r,i)}const mn=[];let vn=-1;const gn=[];let bn=null,yn=0;const wn=Promise.resolve();let xn=null;function Sn(e){const t=xn||wn;return e?t.then(this?e.bind(this):e):t}function En(e){if(!(1&e.flags)){const t=On(e),n=mn[mn.length-1];!n||!(2&e.flags)&&t>=On(n)?mn.push(e):mn.splice(function(e){let t=vn+1,n=mn.length;for(;t<n;){const r=t+n>>>1,o=mn[r],i=On(o);i<e||i===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,Cn()}}function Cn(){xn||(xn=wn.then(Ln))}function kn(e){M(e)?gn.push(...e):bn&&-1===e.id?bn.splice(yn+1,0,e):1&e.flags||(gn.push(e),e.flags|=1),Cn()}function _n(e,t,n=vn+1){for(;n<mn.length;n++){const t=mn[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;mn.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function Tn(e){if(gn.length){const e=[...new Set(gn)].sort(((e,t)=>On(e)-On(t)));if(gn.length=0,bn)return void bn.push(...e);for(bn=e,yn=0;yn<bn.length;yn++){const e=bn[yn];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}bn=null,yn=0}}const On=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Ln(e){try{for(vn=0;vn<mn.length;vn++){const e=mn[vn];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),fn(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;vn<mn.length;vn++){const e=mn[vn];e&&(e.flags&=-2)}vn=-1,mn.length=0,Tn(),xn=null,(mn.length||gn.length)&&Ln()}}let An=null,In=null;function Pn(e){const t=An;return An=e,In=e&&e.type.__scopeId||null,t}function Mn(e,t=An,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&gi(-1);const o=Pn(t);let i;try{i=e(...n)}finally{Pn(o),r._d&&gi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(e,t){if(null===An)return e;const n=Ki(An),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,i,s,a=S]=t[o];e&&(B(e)&&(e={mounted:e,updated:e}),e.deep&&dn(i),r.push({dir:e,instance:n,value:i,oldValue:void 0,arg:s,modifiers:a}))}return e}function Dn(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Ye(),hn(l,n,8,[e.el,a,e,t]),Ue())}}const Nn=Symbol("_vte"),Bn=e=>e.__isTeleport,zn=e=>e&&(e.disabled||""===e.disabled),Fn=e=>e&&(e.defer||""===e.defer),jn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Wn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Hn=(e,t)=>{const n=e&&e.to;if(z(n)){if(t){return t(n)}return null}return n},Vn={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:v}}=c,g=zn(t.props);let{shapeFlag:b,children:y,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=>{16&b&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(y,e,t,o,i,s,a,l))},f=()=>{const e=t.target=Hn(t.props,p),n=$n(e,t,m,h);e&&("svg"!==s&&jn(e)?s="svg":"mathml"!==s&&Wn(e)&&(s="mathml"),g||(d(e,n),Xn(t,!1)))};g&&(d(n,c),Xn(t,!0)),Fn(t.props)?Fo((()=>{f(),t.el.__isMounted=!0}),i):f()}else{if(Fn(t.props)&&!e.el.__isMounted)return void Fo((()=>{Vn.process(e,t,n,r,o,i,s,a,l,c),delete e.el.__isMounted}),i);t.el=e.el,t.targetStart=e.targetStart;const u=t.anchor=e.anchor,h=t.target=e.target,m=t.targetAnchor=e.targetAnchor,v=zn(e.props),b=v?n:h,y=v?u:m;if("svg"===s||jn(h)?s="svg":("mathml"===s||Wn(h))&&(s="mathml"),w?(f(e.dynamicChildren,w,b,o,i,s,a),Vo(e,t,!0)):l||d(e,t,b,y,o,i,s,a,!1),g)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Yn(t,n,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Hn(t.props,p);e&&Yn(t,e,null,c,0)}else v&&Yn(t,h,m,c,1);Xn(t,g)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(o(c),o(u)),i&&o(l),16&s){const e=i||!zn(f);for(let o=0;o<a.length;o++){const i=a[o];r(i,t,n,e,!!i.dynamicChildren)}}},move:Yn,hydrate:function(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},d){const f=t.target=Hn(t.props,l);if(f){const l=zn(t.props),h=f._lpa||f.firstChild;if(16&t.shapeFlag)if(l)t.anchor=d(s(e),t,a(e),n,r,o,i),t.targetStart=h,t.targetAnchor=h&&s(h);else{t.anchor=s(e);let a=h;for(;a;){if(a&&8===a.nodeType)if("teleport start anchor"===a.data)t.targetStart=a;else if("teleport anchor"===a.data){t.targetAnchor=a,f._lpa=t.targetAnchor&&s(t.targetAnchor);break}a=s(a)}t.targetAnchor||$n(f,t,u,c),d(h&&s(h),t,f,n,r,o,i)}Xn(t,l)}return t.anchor&&s(t.anchor)}};function Yn(e,t,n,{o:{insert:r},m:o},i=2){0===i&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&r(s,t,n),(!d||zn(u))&&16&l)for(let f=0;f<c.length;f++)o(c[f],t,n,2);d&&r(a,t,n)}const Un=Vn;function Xn(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function $n(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Nn]=i,e&&(r(o,e),r(i,e)),i}const Gn=Symbol("_leaveCb"),qn=Symbol("_enterCb");function Zn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lr((()=>{e.isMounted=!0})),Pr((()=>{e.isUnmounting=!0})),e}const Jn=[Function,Array],Kn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Jn,onEnter:Jn,onAfterEnter:Jn,onEnterCancelled:Jn,onBeforeLeave:Jn,onLeave:Jn,onAfterLeave:Jn,onLeaveCancelled:Jn,onBeforeAppear:Jn,onAppear:Jn,onAfterAppear:Jn,onAppearCancelled:Jn},Qn=e=>{const t=e.subTree;return t.component?Qn(t.component):t},er={name:"BaseTransition",props:Kn,setup(e,{slots:t}){const n=ji(),r=Zn();return()=>{const o=t.default&&lr(t.default(),!0);if(!o||!o.length)return;const i=tr(o),s=Wt(e),{mode:a}=s;if(r.isLeaving)return ir(i);const l=sr(i);if(!l)return ir(i);let c=or(l,s,r,n,(e=>c=e));l.type!==di&&ar(l,c);let u=n.subTree&&sr(n.subTree);if(u&&u.type!==di&&!Si(l,u)&&Qn(n).type!==di){let e=or(u,s,r,n);if(ar(u,e),"out-in"===a&&l.type!==di)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,u=void 0},ir(i);"in-out"===a&&l.type!==di?e.delayLeave=(e,t,n)=>{rr(r,u)[String(u.key)]=u,e[Gn]=()=>{t(),e[Gn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function tr(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==di){t=n;break}return t}const nr=er;function rr(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function or(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:b,onAppearCancelled:y}=t,w=String(e.key),x=rr(n,e),S=(e,t)=>{e&&hn(e,r,9,t)},E=(e,t)=>{const n=t[1];S(e,t),M(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:s,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!i)return;r=v||l}t[Gn]&&t[Gn](!0);const o=x[w];o&&Si(e,o)&&o.el[Gn]&&o.el[Gn](),S(r,[t])},enter(e){let t=c,r=u,o=d;if(!n.isMounted){if(!i)return;t=g||c,r=b||u,o=y||d}let s=!1;const a=e[qn]=t=>{s||(s=!0,S(t?o:r,[e]),C.delayedLeave&&C.delayedLeave(),e[qn]=void 0)};t?E(t,[e,a]):a()},leave(t,r){const o=String(e.key);if(t[qn]&&t[qn](!0),n.isUnmounting)return r();S(f,[t]);let i=!1;const s=t[Gn]=n=>{i||(i=!0,r(),S(n?m:p,[t]),t[Gn]=void 0,x[o]===e&&delete x[o])};x[o]=e,h?E(h,[t,s]):s()},clone(e){const i=or(e,t,n,r,o);return o&&o(i),i}};return C}function ir(e){if(vr(e))return(e=Oi(e)).children=null,e}function sr(e){if(!vr(e))return Bn(e.type)&&e.children?tr(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&B(n.default))return n.default()}}function ar(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ar(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lr(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===ci?(128&s.patchFlag&&o++,r=r.concat(lr(s.children,t,a))):(t||s.type!==di)&&r.push(null!=a?Oi(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}
/*! #__NO_SIDE_EFFECTS__ */function cr(e,t){return B(e)?(()=>L({name:e.name},t,{setup:e}))():e}function ur(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dr(e,t,n,r,o=!1){if(M(e))return void e.forEach(((e,i)=>dr(e,t&&(M(t)?t[i]:t),n,r,o)));if(hr(r)&&!o)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&dr(e,t,n,r.component.subTree));const i=4&r.shapeFlag?Ki(r.component):r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===S?a.refs={}:a.refs,d=a.setupState,f=Wt(d),h=d===S?()=>!1:e=>P(f,e);if(null!=c&&c!==l&&(z(c)?(u[c]=null,h(c)&&(d[c]=null)):Ut(c)&&(c.value=null)),B(l))fn(l,a,12,[s,u]);else{const t=z(l),r=Ut(l);if(t||r){const a=()=>{if(e.f){const n=t?h(l)?d[l]:u[l]:l.value;o?M(n)&&A(n,i):M(n)?n.includes(i)||n.push(i):t?(u[l]=[i],h(l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else t?(u[l]=s,h(l)&&(d[l]=s)):r&&(l.value=s,e.k&&(u[e.k]=s))};s?(a.id=-1,Fo(a,n)):a()}}}const fr=e=>8===e.nodeType;ae().requestIdleCallback,ae().cancelIdleCallback;const hr=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;function pr(e){B(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const f=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,f()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return cr({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(e,t,n){const r=i?()=>{const r=i(n,(t=>function(e,t){if(fr(e)&&"["===e.data){let n=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(fr(r))if("]"===r.data){if(0==--n)break}else"["===r.data&&n++;r=r.nextSibling}}else t(e)}(e,t)));r&&(t.bum||(t.bum=[])).push(r)}:n;c?r():f().then((()=>!t.isUnmounted&&r()))},get __asyncResolved(){return c},setup(){const e=Fi;if(ur(e),c)return()=>mr(c,e);const t=t=>{u=null,pn(t,e,13,!r)};if(a&&e.suspense||$i)return f().then((t=>()=>mr(t,e))).catch((e=>(t(e),()=>r?_i(r,{error:e}):null)));const i=Xt(!1),l=Xt(),d=Xt(!!o);return o&&setTimeout((()=>{d.value=!1}),o),null!=s&&setTimeout((()=>{if(!i.value&&!l.value){const e=new Error("Async component timed out after ".concat(s,"ms."));t(e),l.value=e}}),s),f().then((()=>{i.value=!0,e.parent&&vr(e.parent.vnode)&&e.parent.update()})).catch((e=>{t(e),l.value=e})),()=>i.value&&c?mr(c,e):l.value&&r?_i(r,{error:l.value}):n&&!d.value?_i(n):void 0}})}function mr(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=_i(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const vr=e=>e.type.__isKeepAlive,gr={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ji(),r=n.ctx;if(!r.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let s=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=r,f=d("div");function h(e){Cr(e),u(e,n,a,!0)}function p(e){o.forEach(((t,n)=>{const r=Qi(t.type);r&&!e(r)&&m(n)}))}function m(e){const t=o.get(e);!t||s&&Si(t,s)?s&&Cr(s):h(t),o.delete(e),i.delete(e)}r.activate=(e,t,n,r,o)=>{const i=e.component;c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,r,e.slotScopeIds,o),Fo((()=>{i.isDeactivated=!1,i.a&&ne(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Ni(t,i.parent,e)}),a)},r.deactivate=e=>{const t=e.component;Uo(t.m),Uo(t.a),c(e,f,null,1,a),Fo((()=>{t.da&&ne(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ni(n,t.parent,e),t.isDeactivated=!0}),a)},qo((()=>[e.include,e.exclude]),(([e,t])=>{e&&p((t=>yr(e,t))),t&&p((e=>!yr(t,e)))}),{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&(li(n.subTree.type)?Fo((()=>{o.set(v,kr(n.subTree))}),n.subTree.suspense):o.set(v,kr(n.subTree)))};return Lr(g),Ir(g),Pr((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,o=kr(t);if(e.type!==o.type||e.key!==o.key)h(e);else{Cr(o);const e=o.component.da;e&&Fo(e,r)}}))})),()=>{if(v=null,!t.default)return s=null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!(xi(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return s=null,r;let a=kr(r);if(a.type===di)return s=null,a;const l=a.type,c=Qi(hr(a)?a.type.__asyncResolved||{}:l),{include:u,exclude:d,max:f}=e;if(u&&(!c||!yr(u,c))||d&&c&&yr(d,c))return a.shapeFlag&=-257,s=a,r;const h=null==a.key?l:a.key,p=o.get(h);return a.el&&(a=Oi(a),128&r.shapeFlag&&(r.ssContent=a)),v=h,p?(a.el=p.el,a.component=p.component,a.transition&&ar(a,a.transition),a.shapeFlag|=512,i.delete(h),i.add(h)):(i.add(h),f&&i.size>parseInt(f,10)&&m(i.values().next().value)),a.shapeFlag|=256,s=a,li(r.type)?r:a}}},br=gr;function yr(e,t){return M(e)?e.some((e=>yr(e,t))):z(e)?e.split(",").includes(t):"[object RegExp]"===V(e)&&(e.lastIndex=0,e.test(t))}function wr(e,t){Sr(e,"a",t)}function xr(e,t){Sr(e,"da",t)}function Sr(e,t,n=Fi){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(_r(t,r,n),n){let e=n.parent;for(;e&&e.parent;)vr(e.parent.vnode)&&Er(r,t,n,e),e=e.parent}}function Er(e,t,n,r){const o=_r(t,e,r,!0);Mr((()=>{A(r[t],o)}),n)}function Cr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function kr(e){return 128&e.shapeFlag?e.ssContent:e}function _r(e,t,n=Fi,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Ye();const o=Vi(n),i=hn(t,n,e,r);return o(),Ue(),i});return r?o.unshift(i):o.push(i),i}}const Tr=e=>(t,n=Fi)=>{$i&&"sp"!==e||_r(e,((...e)=>t(...e)),n)},Or=Tr("bm"),Lr=Tr("m"),Ar=Tr("bu"),Ir=Tr("u"),Pr=Tr("bum"),Mr=Tr("um"),Rr=Tr("sp"),Dr=Tr("rtg"),Nr=Tr("rtc");function Br(e,t=Fi){_r("ec",e,t)}const zr="components";function Fr(e,t){return Vr(zr,e,!0,t)||e}const jr=Symbol.for("v-ndc");function Wr(e){return z(e)?Vr(zr,e,!1)||e:e||jr}function Hr(e){return Vr("directives",e)}function Vr(e,t,n=!0,r=!1){const o=An||Fi;if(o){const n=o.type;if(e===zr){const e=Qi(n,!1);if(e&&(e===t||e===Z(t)||e===Q(Z(t))))return n}const i=Yr(o[e]||n[e],t)||Yr(o.appContext[e],t);return!i&&r?n:i}}function Yr(e,t){return e&&(e[t]||e[Z(t)]||e[Q(Z(t))])}function Ur(e,t,n,r){let o;const i=n&&n[r],s=M(e);if(s||z(e)){let n=!1;s&&Bt(e)&&(n=!Ft(e),e=ot(e)),o=new Array(e.length);for(let r=0,s=e.length;r<s;r++)o[r]=t(n?Vt(e[r]):e[r],r,void 0,i&&i[r])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(j(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r<s;r++){const s=n[r];o[r]=t(e[s],s,r,i&&i[r])}}else o=[];return n&&(n[r]=o),o}function Xr(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(M(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function $r(e,t,n={},r,o){if(An.ce||An.parent&&hr(An.parent)&&An.parent.ce)return"default"!==t&&(n.name=t),mi(),wi(ci,null,[_i("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),mi();const s=i&&Gr(i(n)),a=n.key||s&&s.key,l=wi(ci,{key:(a&&!F(a)?a:"_".concat(t))+(!s&&r?"_fb":"")},s||(r?r():[]),s&&1===e._?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Gr(e){return e.some((e=>!xi(e)||e.type!==di&&!(e.type===ci&&!Gr(e.children))))?e:null}const qr=e=>e?Ui(e)?Ki(e):qr(e.parent):null,Zr=L(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=>qr(e.parent),$root:e=>qr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>lo(e),$forceUpdate:e=>e.f||(e.f=()=>{En(e.update)}),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>Jo.bind(e)}),Jr=(e,t)=>e!==S&&!e.__isScriptSetup&&P(e,t),Kr={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Jr(r,t))return s[t]=1,r[t];if(o!==S&&P(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&P(c,t))return s[t]=3,i[t];if(n!==S&&P(n,t))return s[t]=4,n[t];oo&&(s[t]=0)}}const u=Zr[t];let d,f;return u?("$attrs"===t&&tt(e.attrs,0,""),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==S&&P(n,t)?(s[t]=4,n[t]):(f=l.config.globalProperties,P(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return Jr(o,t)?(o[t]=n,!0):r!==S&&P(r,t)?(r[t]=n,!0):!P(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==S&&P(e,s)||Jr(t,s)||(a=i[0])&&P(a,s)||P(r,s)||P(Zr,s)||P(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:P(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qr(){return to().slots}function eo(){return to().attrs}function to(){const e=ji();return e.setupContext||(e.setupContext=Ji(e))}function no(e){return M(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function ro(e,t){return e&&t?M(e)&&M(t)?e.concat(t):L({},no(e),no(t)):e||t}let oo=!0;function io(e){const t=lo(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&so(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:b,destroyed:y,unmounted:w,render:x,renderTracked:S,renderTriggered:E,errorCaptured:k,serverPrefetch:_,expose:T,inheritAttrs:O,components:L,directives:A,filters:I}=t;if(c&&function(e,t,n=C){M(e)&&(e=ho(e));for(const r in e){const n=e[r];let o;o=j(n)?"default"in n?So(n.from||r,n.default,!0):So(n.from||r):So(n),Ut(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(c,r,null),s)for(const C in s){const e=s[C];B(e)&&(r[C]=e.bind(n))}if(o){const t=o.call(n,n);j(t)&&(e.data=Mt(t))}if(oo=!0,i)for(const M in i){const e=i[M],t=B(e)?e.bind(n,n):B(e.get)?e.get.bind(n,n):C,o=!B(e)&&B(e.set)?e.set.bind(n):C,s=es({get:t,set:o});Object.defineProperty(r,M,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(a)for(const C in a)ao(a[C],r,n,C);if(l){const e=B(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{xo(t,e[t])}))}function P(e,t){M(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&so(u,e,"c"),P(Or,d),P(Lr,f),P(Ar,h),P(Ir,p),P(wr,m),P(xr,v),P(Br,k),P(Nr,S),P(Dr,E),P(Pr,b),P(Mr,w),P(Rr,_),M(T))if(T.length){const t=e.exposed||(e.exposed={});T.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===C&&(e.render=x),null!=O&&(e.inheritAttrs=O),L&&(e.components=L),A&&(e.directives=A),_&&ur(e)}function so(e,t,n){hn(M(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ao(e,t,n,r){let o=r.includes(".")?Ko(n,r):()=>n[r];if(z(e)){const n=t[e];B(n)&&qo(o,n)}else if(B(e))qo(o,e.bind(n));else if(j(e))if(M(e))e.forEach((e=>ao(e,t,n,r)));else{const r=B(e.handler)?e.handler.bind(n):t[e.handler];B(r)&&qo(o,r,e)}}function lo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:o.length||n||r?(l={},o.length&&o.forEach((e=>co(l,e,s,!0))),co(l,t,s)):l=t,j(t)&&i.set(t,l),l}function co(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&co(e,i,n,!0),o&&o.forEach((t=>co(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=uo[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const uo={data:fo,props:vo,emits:vo,methods:mo,computed:mo,beforeCreate:po,created:po,beforeMount:po,mounted:po,beforeUpdate:po,updated:po,beforeDestroy:po,beforeUnmount:po,destroyed:po,unmounted:po,activated:po,deactivated:po,errorCaptured:po,serverPrefetch:po,components:mo,directives:mo,watch:function(e,t){if(!e)return t;if(!t)return e;const n=L(Object.create(null),e);for(const r in t)n[r]=po(e[r],t[r]);return n},provide:fo,inject:function(e,t){return mo(ho(e),ho(t))}};function fo(e,t){return t?e?function(){return L(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function ho(e){if(M(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function po(e,t){return e?[...new Set([].concat(e,t))]:t}function mo(e,t){return e?L(Object.create(null),e,t):t}function vo(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:L(Object.create(null),no(e),no(null!=t?t:{})):t}function go(){return{app:null,config:{isNativeTag:k,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 bo=0;function yo(e,t){return function(n,r=null){B(n)||(n=L({},n)),null==r||j(r)||(r=null);const o=go(),i=new WeakSet,s=[];let a=!1;const l=o.app={_uid:bo++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:ns,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&B(e.install)?(i.add(e),e.install(l,...t)):B(e)&&(i.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(i,s,c){if(!a){const u=l._ceVNode||_i(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(u,i):e(u,i,c),a=!0,l._container=i,i.__vue_app__=l,Ki(u.component)}},onUnmount(e){s.push(e)},unmount(){a&&(hn(s,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=wo;wo=l;try{return e()}finally{wo=t}}};return l}}let wo=null;function xo(e,t){if(Fi){let n=Fi.provides;const r=Fi.parent&&Fi.parent.provides;r===n&&(n=Fi.provides=Object.create(r)),n[e]=t}else;}function So(e,t,n=!1){const r=Fi||An;if(r||wo){const o=wo?wo._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&B(t)?t.call(r&&r.proxy):t}}const Eo={},Co=()=>Object.create(Eo),ko=e=>Object.getPrototypeOf(e)===Eo;function _o(e,t,n,r){const[o,i]=e.propsOptions;let s,a=!1;if(t)for(let l in t){if($(l))continue;const c=t[l];let u;o&&P(o,u=Z(l))?i&&i.includes(u)?(s||(s={}))[u]=c:n[u]=c:ri(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,a=!0)}if(i){const t=Wt(n),r=s||S;for(let s=0;s<i.length;s++){const a=i[s];n[a]=To(o,t,a,r[a],e,!P(r,a))}}return a}function To(e,t,n,r,o,i){const s=e[n];if(null!=s){const e=P(s,"default");if(e&&void 0===r){const e=s.default;if(s.type!==Function&&!s.skipFactory&&B(e)){const{propsDefaults:i}=o;if(n in i)r=i[n];else{const s=Vi(o);r=i[n]=e.call(null,t),s()}}else r=e;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!e?r=!1:!s[1]||""!==r&&r!==K(n)||(r=!0))}return r}const Oo=new WeakMap;function Lo(e,t,n=!1){const r=n?Oo:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!B(e)){const r=e=>{l=!0;const[n,r]=Lo(e,t,!0);L(s,n),r&&a.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!l)return j(e)&&r.set(e,E),E;if(M(i))for(let u=0;u<i.length;u++){const e=Z(i[u]);Ao(e)&&(s[e]=S)}else if(i)for(const u in i){const e=Z(u);if(Ao(e)){const t=i[u],n=s[e]=M(t)||B(t)?{type:t}:L({},t),r=n.type;let o=!1,l=!0;if(M(r))for(let e=0;e<r.length;++e){const t=r[e],n=B(t)&&t.name;if("Boolean"===n){o=!0;break}"String"===n&&(l=!1)}else o=B(r)&&"Boolean"===r.name;n[0]=o,n[1]=l,(o||P(n,"default"))&&a.push(e)}}const c=[s,a];return j(e)&&r.set(e,c),c}function Ao(e){return"$"!==e[0]&&!$(e)}const Io=e=>"_"===e[0]||"$stable"===e,Po=e=>M(e)?e.map(Pi):[Pi(e)],Mo=(e,t,n)=>{if(t._n)return t;const r=Mn(((...e)=>Po(t(...e))),n);return r._c=!1,r},Ro=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Io(o))continue;const n=e[o];if(B(n))t[o]=Mo(0,n,r);else if(null!=n){const e=Po(n);t[o]=()=>e}}},Do=(e,t)=>{const n=Po(t);e.slots.default=()=>n},No=(e,t,n)=>{for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},Bo=(e,t,n)=>{const r=e.slots=Co();if(32&e.vnode.shapeFlag){const e=t._;e?(No(r,t,n),n&&re(r,"_",e,!0)):Ro(t,r)}else t&&Do(e,t)},zo=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=S;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:No(o,t,n):(i=!t.$stable,Ro(t,o)),s=t}else t&&(Do(e,t),s={default:1});if(i)for(const a in o)Io(a)||null!=s[a]||delete o[a]},Fo=function(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):kn(e)};function jo(e){return function(e,t){ae().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:i,createText:s,createComment:a,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:f=C,insertStaticContent:h}=e,p=(e,t,n,r=null,o=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Si(e,t)&&(r=G(e),H(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case ui:m(e,t,n,r);break;case di:v(e,t,n,r);break;case fi:null==e&&g(t,n,r,s);break;case ci:A(e,t,n,r,o,i,s,a,l);break;default:1&d?w(e,t,n,r,o,i,s,a,l):6&d?I(e,t,n,r,o,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,r,o,i,s,a,l,Q)}null!=u&&o&&dr(u,e&&e.ref,i,t||e,!t)},m=(e,t,r,o)=>{if(null==e)n(t.el=s(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},v=(e,t,r,o)=>{null==e?n(t.el=a(t.children||""),r,o):t.el=e.el},g=(e,t,n,r)=>{[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},b=({el:e,anchor:t},r,o)=>{let i;for(;e&&e!==t;)i=d(e),n(e,r,o),e=i;n(t,r,o)},y=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)},w=(e,t,n,r,o,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?x(t,n,r,o,i,s,a,l):T(e,t,o,i,s,a,l)},x=(e,t,r,s,a,l,u,d)=>{let f,h;const{props:p,shapeFlag:m,transition:v,dirs:g}=e;if(f=e.el=i(e.type,l,p&&p.is,p),8&m?c(f,e.children):16&m&&_(e.children,f,null,s,a,Wo(e,l),u,d),g&&Dn(e,null,s,"created"),k(f,e,e.scopeId,u,s),p){for(const e in p)"value"===e||$(e)||o(f,e,null,p[e],l,s);"value"in p&&o(f,"value",null,p.value,l),(h=p.onVnodeBeforeMount)&&Ni(h,s,e)}g&&Dn(e,null,s,"beforeMount");const b=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(a,v);b&&v.beforeEnter(f),n(f,t,r),((h=p&&p.onVnodeMounted)||b||g)&&Fo((()=>{h&&Ni(h,s,e),b&&v.enter(f),g&&Dn(e,null,s,"mounted")}),a)},k=(e,t,n,r,o)=>{if(n&&f(e,n),r)for(let i=0;i<r.length;i++)f(e,r[i]);if(o){let n=o.subTree;if(t===n||li(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;k(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},_=(e,t,n,r,o,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Mi(e[c]):Pi(e[c]);p(null,l,t,n,r,o,i,s,a)}},T=(e,t,n,r,i,s,a)=>{const l=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=16&e.patchFlag;const h=e.props||S,p=t.props||S;let m;if(n&&Ho(n,!1),(m=p.onVnodeBeforeUpdate)&&Ni(m,n,t,e),f&&Dn(t,e,n,"beforeUpdate"),n&&Ho(n,!0),(h.innerHTML&&null==p.innerHTML||h.textContent&&null==p.textContent)&&c(l,""),d?O(e.dynamicChildren,d,l,n,r,Wo(t,i),s):a||B(e,t,l,null,n,r,Wo(t,i),s,!1),u>0){if(16&u)L(l,h,p,n,i);else if(2&u&&h.class!==p.class&&o(l,"class",null,p.class,i),4&u&&o(l,"style",h.style,p.style,i),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const r=e[t],s=h[r],a=p[r];a===s&&"value"!==r||o(l,r,s,a,i,n)}}1&u&&e.children!==t.children&&c(l,t.children)}else a||null!=d||L(l,h,p,n,i);((m=p.onVnodeUpdated)||f)&&Fo((()=>{m&&Ni(m,n,t,e),f&&Dn(t,e,n,"updated")}),r)},O=(e,t,n,r,o,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],d=l.el&&(l.type===ci||!Si(l,c)||70&l.shapeFlag)?u(l.el):n;p(l,c,d,null,r,o,i,s,!0)}},L=(e,t,n,r,i)=>{if(t!==n){if(t!==S)for(const s in t)$(s)||s in n||o(e,s,t[s],null,i,r);for(const s in n){if($(s))continue;const a=n[s],l=t[s];a!==l&&"value"!==s&&o(e,s,l,a,i,r)}"value"in n&&o(e,"value",t.value,n.value,i)}},A=(e,t,r,o,i,a,l,c,u)=>{const d=t.el=e?e.el:s(""),f=t.anchor=e?e.anchor:s("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(d,r,o),n(f,r,o),_(t.children||[],r,f,i,a,l,c,u)):h>0&&64&h&&p&&e.dynamicChildren?(O(e.dynamicChildren,p,r,i,a,l,c),(null!=t.key||i&&t===i.subTree)&&Vo(e,t,!0)):B(e,t,r,f,i,a,l,c,u)},I=(e,t,n,r,o,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):M(t,n,r,o,i,s,l):R(e,t,l)},M=(e,t,n,r,o,i,s)=>{const a=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Bi,i={uid:zi++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ke(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lo(r,o),emitsOptions:ni(r,o),emit:null,emitted:null,propsDefaults:S,inheritAttrs:r.inheritAttrs,ctx:S,data:S,props:S,attrs:S,slots:S,refs:S,setupState:S,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};i.ctx={_:i},i.root=t?t.root:i,i.emit=ti.bind(null,i),e.ce&&e.ce(i);return i}(e,r,o);if(vr(e)&&(a.ctx.renderer=Q),function(e,t=!1,n=!1){t&&Hi(t);const{props:r,children:o}=e.vnode,i=Ui(e);(function(e,t,n,r=!1){const o={},i=Co();e.propsDefaults=Object.create(null),_o(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:Rt(o):e.type.props?e.props=o:e.props=i,e.attrs=i})(e,r,i,t),Bo(e,o,n);const s=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kr);const{setup:r}=n;if(r){Ye();const n=e.setupContext=r.length>1?Ji(e):null,o=Vi(e),i=fn(r,e,0,[e.props,n]),s=W(i);if(Ue(),o(),!s&&!e.sp||hr(e)||ur(e),s){if(i.then(Yi,Yi),t)return i.then((n=>{Gi(e,n,t)})).catch((t=>{pn(t,e,0)}));e.asyncDep=i}else Gi(e,i,t)}else qi(e,t)}(e,t):void 0;t&&Hi(!1)}(a,!1,s),a.asyncDep){if(o&&o.registerDep(a,D,s),!e.el){const e=a.subTree=_i(di);v(null,e,t,n)}}else D(a,e,t,n,o,i,s)},R=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||r!==s&&(r?!s||ai(r,s,c):!!s);if(1024&l)return!0;if(16&l)return r?ai(r,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==r[n]&&!ri(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void N(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,r,o,i,s)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=Yo(e);if(n)return t&&(t.el=c.el,N(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let d,f=t;Ho(e,!1),t?(t.el=c.el,N(e,t,s)):t=c,n&&ne(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ni(d,l,t,c),Ho(e,!0);const h=oi(e),m=e.subTree;e.subTree=h,p(m,h,u(m.el),G(m),e,o,i),t.el=h.el,null===f&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,h.el),r&&Fo(r,o),(d=t.props&&t.props.onVnodeUpdated)&&Fo((()=>Ni(d,l,t,c)),o)}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d,root:f,type:h}=e,m=hr(t);if(Ho(e,!1),c&&ne(c),!m&&(s=l&&l.onVnodeBeforeMount)&&Ni(s,d,t),Ho(e,!0),a&&te){const t=()=>{e.subTree=oi(e),te(a,e.subTree,e,o,null)};m&&h.__asyncHydrate?h.__asyncHydrate(a,e,t):t()}else{f.ce&&f.ce._injectChildStyle(h);const s=e.subTree=oi(e);p(null,s,n,r,e,o,i),t.el=s.el}if(u&&Fo(u,o),!m&&(s=l&&l.onVnodeMounted)){const e=t;Fo((()=>Ni(s,d,e)),o)}(256&t.shapeFlag||d&&hr(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&Fo(e.a,o),e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new Le(a);e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l);d.i=e,d.id=e.uid,l.scheduler=()=>En(d),Ho(e,!0),c()},N=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=Wt(o),[l]=e.propsOptions;let c=!1;if(!(r||s>0)||16&s){let r;_o(e,t,o,i)&&(c=!0);for(const i in a)t&&(P(t,i)||(r=K(i))!==i&&P(t,r))||(l?!n||void 0===n[i]&&void 0===n[r]||(o[i]=To(l,a,i,void 0,e,!0)):delete o[i]);if(i!==a)for(const e in i)t&&P(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let s=n[r];if(ri(e.emitsOptions,s))continue;const u=t[s];if(l)if(P(i,s))u!==i[s]&&(i[s]=u,c=!0);else{const t=Z(s);o[t]=To(l,a,t,u,e,!1)}else u!==i[s]&&(i[s]=u,c=!0)}}c&&nt(e.attrs,"set","")}(e,t.props,r,n),zo(e,t.children,n),Ye(),_n(e),Ue()},B=(e,t,n,r,o,i,s,a,l=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void F(u,f,n,r,o,i,s,a,l);if(256&h)return void z(u,f,n,r,o,i,s,a,l)}8&p?(16&d&&X(u,o,i),f!==u&&c(n,f)):16&d?16&p?F(u,f,n,r,o,i,s,a,l):X(u,o,i,!0):(8&d&&c(n,""),16&p&&_(f,n,r,o,i,s,a,l))},z=(e,t,n,r,o,i,s,a,l)=>{t=t||E;const c=(e=e||E).length,u=t.length,d=Math.min(c,u);let f;for(f=0;f<d;f++){const r=t[f]=l?Mi(t[f]):Pi(t[f]);p(e[f],r,n,null,o,i,s,a,l)}c>u?X(e,o,i,!0,!1,d):_(t,n,r,o,i,s,a,l,d)},F=(e,t,n,r,o,i,s,a,l)=>{let c=0;const u=t.length;let d=e.length-1,f=u-1;for(;c<=d&&c<=f;){const r=e[c],u=t[c]=l?Mi(t[c]):Pi(t[c]);if(!Si(r,u))break;p(r,u,n,null,o,i,s,a,l),c++}for(;c<=d&&c<=f;){const r=e[d],c=t[f]=l?Mi(t[f]):Pi(t[f]);if(!Si(r,c))break;p(r,c,n,null,o,i,s,a,l),d--,f--}if(c>d){if(c<=f){const e=f+1,d=e<u?t[e].el:r;for(;c<=f;)p(null,t[c]=l?Mi(t[c]):Pi(t[c]),n,d,o,i,s,a,l),c++}}else if(c>f)for(;c<=d;)H(e[c],o,i,!0),c++;else{const h=c,m=c,v=new Map;for(c=m;c<=f;c++){const e=t[c]=l?Mi(t[c]):Pi(t[c]);null!=e.key&&v.set(e.key,c)}let g,b=0;const y=f-m+1;let w=!1,x=0;const S=new Array(y);for(c=0;c<y;c++)S[c]=0;for(c=h;c<=d;c++){const r=e[c];if(b>=y){H(r,o,i,!0);continue}let u;if(null!=r.key)u=v.get(r.key);else for(g=m;g<=f;g++)if(0===S[g-m]&&Si(r,t[g])){u=g;break}void 0===u?H(r,o,i,!0):(S[u-m]=c+1,u>=x?x=u:w=!0,p(r,t[u],n,null,o,i,s,a,l),b++)}const C=w?function(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):E;for(g=C.length-1,c=y-1;c>=0;c--){const e=m+c,d=t[e],f=e+1<u?t[e+1].el:r;0===S[c]?p(null,d,n,f,o,i,s,a,l):w&&(g<0||c!==C[g]?j(d,n,f,2):g--)}}},j=(e,t,r,o,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void j(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void a.move(e,t,r,Q);if(a===ci){n(s,t,r);for(let e=0;e<c.length;e++)j(c[e],t,r,o);return void n(e.anchor,t,r)}if(a===fi)return void b(e,t,r);if(2!==o&&1&u&&l)if(0===o)l.beforeEnter(s),n(s,t,r),Fo((()=>l.enter(s)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,a=()=>n(s,t,r),c=()=>{e(s,(()=>{a(),i&&i()}))};o?o(s,a,c):c()}else n(s,t,r)},H=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:h}=e;if(-2===d&&(o=!1),null!=a&&dr(a,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,m=!hr(e);let v;if(m&&(v=s&&s.onVnodeBeforeUnmount)&&Ni(v,t,e),6&u)U(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Dn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,Q,r):c&&!c.hasOnce&&(i!==ci||d>0&&64&d)?X(c,t,n,!1,!0):(i===ci&&384&d||!o&&16&u)&&X(l,t,n),r&&V(e)}(m&&(v=s&&s.onVnodeUnmounted)||p)&&Fo((()=>{v&&Ni(v,t,e),p&&Dn(e,null,t,"unmounted")}),n)},V=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===ci)return void Y(n,o);if(t===fi)return void y(e);const s=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,o=()=>t(n,s);r?r(e.el,s,o):o()}else s()},Y=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)},U=(e,t,n)=>{const{bum:r,scope:o,job:i,subTree:s,um:a,m:l,a:c}=e;Uo(l),Uo(c),r&&ne(r),o.stop(),i&&(i.flags|=8,H(s,e,t,n)),a&&Fo(a,t),Fo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s<e.length;s++)H(e[s],t,n,r,o)},G=e=>{if(6&e.shapeFlag)return G(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=d(e.anchor||e.el),n=t&&t[Nn];return n?d(n):t};let q=!1;const J=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):p(t._vnode||null,e,t,null,null,null,n),t._vnode=e,q||(q=!0,_n(),Tn(),q=!1)},Q={p:p,um:H,m:j,r:V,mt:M,mc:_,pc:B,pbc:O,n:G,o:e};let ee,te;t&&([ee,te]=t(Q));return{render:J,hydrate:ee,createApp:yo(J,ee)}}(e)}function Wo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ho({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vo(e,t,n=!1){const r=e.children,o=t.children;if(M(r)&&M(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=Mi(o[i]),t.el=e.el),n||-2===t.patchFlag||Vo(e,t)),t.type===ui&&(t.el=e.el)}}function Yo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yo(t)}function Uo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Xo=Symbol.for("v-scx"),$o=()=>So(Xo);function Go(e,t){return Zo(e,null,t)}function qo(e,t,n){return Zo(e,t,n)}function Zo(e,t,n=S){const{immediate:r,deep:o,flush:i,once:s}=n,a=L({},n),l=t&&r||!t&&"post"!==i;let c;if($i)if("sync"===i){const e=$o();c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{};return e.stop=C,e.resume=C,e.pause=C,e}const u=Fi;a.call=(e,t,n)=>hn(e,u,t,n);let d=!1;"post"===i?a.scheduler=e=>{Fo(e,u&&u.suspense)}:"sync"!==i&&(d=!0,a.scheduler=(e,t)=>{t?e():En(e)}),a.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const f=un(e,t,a);return $i&&(c?c.push(f):l&&f()),f}function Jo(e,t,n){const r=this.proxy,o=z(e)?e.includes(".")?Ko(r,e):()=>r[e]:e.bind(r,r);let i;B(t)?i=t:(i=t.handler,n=t);const s=Vi(this),a=Zo(o,i.bind(r),n);return s(),a}function Ko(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Qo(e,t,n=S){const r=ji(),o=Z(t),i=K(t),s=ei(e,o),a=new Qt(((s,a)=>{let l,c,u=S;return Zo((()=>{const t=e[o];te(l,t)&&(l=t,a())}),null,{flush:"sync"}),{get:()=>(s(),n.get?n.get(l):l),set(e){const s=n.set?n.set(e):e;if(!(te(s,l)||u!==S&&te(e,u)))return;const d=r.vnode.props;d&&(t in d||o in d||i in d)&&("onUpdate:".concat(t)in d||"onUpdate:".concat(o)in d||"onUpdate:".concat(i)in d)||(l=e,a()),r.emit("update:".concat(t),s),te(e,s)&&te(e,u)&&!te(s,c)&&a(),u=e,c=s}}}));return a[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||S:a,done:!1}:{done:!0}}},a}const ei=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e["".concat(t,"Modifiers")]||e["".concat(Z(t),"Modifiers")]||e["".concat(K(t),"Modifiers")];function ti(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||S;let o=n;const i=t.startsWith("update:"),s=i&&ei(r,t.slice(7));let a;s&&(s.trim&&(o=n.map((e=>z(e)?e.trim():e))),s.number&&(o=n.map(oe)));let l=r[a=ee(t)]||r[a=ee(Z(t))];!l&&i&&(l=r[a=ee(K(t))]),l&&hn(l,e,6,o);const c=r[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,hn(c,e,6,o)}}function ni(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const i=e.emits;let s={},a=!1;if(!B(e)){const r=e=>{const n=ni(e,t,!0);n&&(a=!0,L(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||a?(M(i)?i.forEach((e=>s[e]=null)):L(s,i),j(e)&&r.set(e,s),s):(j(e)&&r.set(e,null),null)}function ri(e,t){return!(!e||!T(t))&&(t=t.slice(2).replace(/Once$/,""),P(e,t[0].toLowerCase()+t.slice(1))||P(e,K(t))||P(e,t))}function oi(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:m}=e,v=Pn(e);let g,b;try{if(4&n.shapeFlag){const e=o||r,t=e;g=Pi(c.call(t,e,u,d,h,f,p)),b=a}else{const e=t;0,g=Pi(e.length>1?e(d,{attrs:a,slots:s,emit:l}):e(d,null)),b=t.props?a:ii(a)}}catch(w){hi.length=0,pn(w,e,1),g=_i(di)}let y=g;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=y;e.length&&7&t&&(i&&e.some(O)&&(b=si(b,i)),y=Oi(y,b,!1,!0))}return n.dirs&&(y=Oi(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&ar(y,n.transition),g=y,Pn(v),g}const ii=e=>{let t;for(const n in e)("class"===n||"style"===n||T(n))&&((t||(t={}))[n]=e[n]);return t},si=(e,t)=>{const n={};for(const r in e)O(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function ai(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!ri(n,i))return!0}return!1}const li=e=>e.__isSuspense;const ci=Symbol.for("v-fgt"),ui=Symbol.for("v-txt"),di=Symbol.for("v-cmt"),fi=Symbol.for("v-stc"),hi=[];let pi=null;function mi(e=!1){hi.push(pi=e?null:[])}let vi=1;function gi(e,t=!1){vi+=e,e<0&&pi&&t&&(pi.hasOnce=!0)}function bi(e){return e.dynamicChildren=vi>0?pi||E:null,hi.pop(),pi=hi[hi.length-1]||null,vi>0&&pi&&pi.push(e),e}function yi(e,t,n,r,o,i){return bi(ki(e,t,n,r,o,i,!0))}function wi(e,t,n,r,o){return bi(_i(e,t,n,r,o,!0))}function xi(e){return!!e&&!0===e.__v_isVNode}function Si(e,t){return e.type===t.type&&e.key===t.key}const Ei=({key:e})=>null!=e?e:null,Ci=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||Ut(e)||B(e)?{i:An,r:e,k:t,f:!!n}:e:null);function ki(e,t=null,n=null,r=0,o=null,i=(e===ci?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ei(t),ref:t&&Ci(t),scopeId:In,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:An};return a?(Ri(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=z(n)?8:16),vi>0&&!s&&pi&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&pi.push(l),l}const _i=function(e,t=null,n=null,r=0,o=null,i=!1){e&&e!==jr||(e=di);if(xi(e)){const r=Oi(e,t,!0);return n&&Ri(r,n),vi>0&&!i&&pi&&(6&r.shapeFlag?pi[pi.indexOf(e)]=r:pi.push(r)),r.patchFlag=-2,r}s=e,B(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=Ti(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=he(e)),j(n)&&(jt(n)&&!M(n)&&(n=L({},n)),t.style=le(n))}const a=z(e)?1:li(e)?128:Bn(e)?64:j(e)?4:B(e)?2:0;return ki(e,t,n,r,o,a,i,!0)};function Ti(e){return e?jt(e)||ko(e)?L({},e):e:null}function Oi(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?Di(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ei(c),ref:t&&t.ref?n&&i?M(i)?i.concat(Ci(t)):[i,Ci(t)]:Ci(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ci?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oi(e.ssContent),ssFallback:e.ssFallback&&Oi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ar(u,l.clone(u)),u}function Li(e=" ",t=0){return _i(ui,null,e,t)}function Ai(e,t){const n=_i(fi,null,e);return n.staticCount=t,n}function Ii(e="",t=!1){return t?(mi(),wi(di,null,e)):_i(di,null,e)}function Pi(e){return null==e||"boolean"==typeof e?_i(di):M(e)?_i(ci,null,e.slice()):xi(e)?Mi(e):_i(ui,null,String(e))}function Mi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Oi(e)}function Ri(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(M(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Ri(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||ko(t)?3===r&&An&&(1===An.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=An}}else B(t)?(t={default:t,_ctx:An},n=32):(t=String(t),64&r?(n=16,t=[Li(t)]):n=8);e.children=t,e.shapeFlag|=n}function Di(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=he([t.class,r.class]));else if("style"===e)t.style=le([t.style,r.style]);else if(T(e)){const n=t[e],o=r[e];!o||n===o||M(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function Ni(e,t,n,r=null){hn(e,t,7,[n,r])}const Bi=go();let zi=0;let Fi=null;const ji=()=>Fi||An;let Wi,Hi;{const e=ae(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Wi=t("__VUE_INSTANCE_SETTERS__",(e=>Fi=e)),Hi=t("__VUE_SSR_SETTERS__",(e=>$i=e))}const Vi=e=>{const t=Fi;return Wi(e),e.scope.on(),()=>{e.scope.off(),Wi(t)}},Yi=()=>{Fi&&Fi.scope.off(),Wi(null)};function Ui(e){return 4&e.vnode.shapeFlag}let Xi,$i=!1;function Gi(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:j(t)&&(e.setupState=Kt(t)),qi(e,n)}function qi(e,t,n){const r=e.type;if(!e.render){if(!t&&Xi&&!r.render){const t=r.template||lo(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:s}=r,a=L(L({isCustomElement:n,delimiters:i},o),s);r.render=Xi(t,a)}}e.render=r.render||C}{const t=Vi(e);Ye();try{io(e)}finally{Ue(),t()}}}const Zi={get:(e,t)=>(tt(e,0,""),e[t])};function Ji(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Zi),slots:e.slots,emit:e.emit,expose:t}}function Ki(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Kt(Ht(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Zr?Zr[n](e):void 0,has:(e,t)=>t in e||t in Zr})):e.proxy}function Qi(e,t=!0){return B(e)?e.displayName||e.name:e.name||t&&e.__name}const es=(e,t)=>{const n=function(e,t,n=!1){let r,o;return B(e)?r=e:(r=e.get,o=e.set),new sn(r,o,n)}(e,0,$i);return n};function ts(e,t,n){const r=arguments.length;return 2===r?j(t)&&!M(t)?xi(t)?_i(e,null,[t]):_i(e,t):_i(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&xi(n)&&(n=[n]),_i(e,t,n))}const ns="3.5.13";
/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let rs;const os="undefined"!=typeof window&&window.trustedTypes;if(os)try{rs=os.createPolicy("vue",{createHTML:e=>e})}catch(YC){}const is=rs?e=>rs.createHTML(e):e=>e,ss="undefined"!=typeof document?document:null,as=ss&&ss.createElement("template"),ls={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?ss.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?ss.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?ss.createElement(e,{is:n}):ss.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>ss.createTextNode(e),createComment:e=>ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==i&&(o=o.nextSibling););else{as.innerHTML=is("svg"===r?"<svg>".concat(e,"</svg>"):"mathml"===r?"<math>".concat(e,"</math>"):e);const o=as.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},cs="transition",us="animation",ds=Symbol("_vtc"),fs={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},hs=L({},Kn,fs),ps=e=>(e.displayName="Transition",e.props=hs,e),ms=ps(((e,{slots:t})=>ts(nr,bs(e),t))),vs=(e,t=[])=>{M(e)?e.forEach((e=>e(...t))):e&&e(...t)},gs=e=>!!e&&(M(e)?e.some((e=>e.length>1)):e.length>1);function bs(e){const t={};for(const O in e)O in fs||(t[O]=e[O]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:i="".concat(n,"-enter-from"),enterActiveClass:s="".concat(n,"-enter-active"),enterToClass:a="".concat(n,"-enter-to"),appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d="".concat(n,"-leave-from"),leaveActiveClass:f="".concat(n,"-leave-active"),leaveToClass:h="".concat(n,"-leave-to")}=e,p=function(e){if(null==e)return null;if(j(e))return[ys(e.enter),ys(e.leave)];{const t=ys(e);return[t,t]}}(o),m=p&&p[0],v=p&&p[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:y,onLeave:w,onLeaveCancelled:x,onBeforeAppear:S=g,onAppear:E=b,onAppearCancelled:C=y}=t,k=(e,t,n,r)=>{e._enterCancelled=r,xs(e,t?u:a),xs(e,t?c:s),n&&n()},_=(e,t)=>{e._isLeaving=!1,xs(e,d),xs(e,h),xs(e,f),t&&t()},T=e=>(t,n)=>{const o=e?E:b,s=()=>k(t,e,n);vs(o,[t,s]),Ss((()=>{xs(t,e?l:i),ws(t,e?u:a),gs(o)||Cs(t,r,m,s)}))};return L(t,{onBeforeEnter(e){vs(g,[e]),ws(e,i),ws(e,s)},onBeforeAppear(e){vs(S,[e]),ws(e,l),ws(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>_(e,t);ws(e,d),e._enterCancelled?(ws(e,f),Os()):(Os(),ws(e,f)),Ss((()=>{e._isLeaving&&(xs(e,d),ws(e,h),gs(w)||Cs(e,r,v,n))})),vs(w,[e,n])},onEnterCancelled(e){k(e,!1,void 0,!0),vs(y,[e])},onAppearCancelled(e){k(e,!0,void 0,!0),vs(C,[e])},onLeaveCancelled(e){_(e),vs(x,[e])}})}function ys(e){return ie(e)}function ws(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[ds]||(e[ds]=new Set)).add(t)}function xs(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[ds];n&&(n.delete(t),n.size||(e[ds]=void 0))}function Ss(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Es=0;function Cs(e,t,n,r){const o=e._endId=++Es,i=()=>{o===e._endId&&r()};if(null!=n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=ks(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,f)}function ks(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("".concat(cs,"Delay")),i=r("".concat(cs,"Duration")),s=_s(o,i),a=r("".concat(us,"Delay")),l=r("".concat(us,"Duration")),c=_s(a,l);let u=null,d=0,f=0;t===cs?s>0&&(u=cs,d=s,f=i.length):t===us?c>0&&(u=us,d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?cs:us:null,f=u?u===cs?i.length:l.length:0);return{type:u,timeout:d,propCount:f,hasTransform:u===cs&&/\b(transform|all)(,|$)/.test(r("".concat(cs,"Property")).toString())}}function _s(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ts(t)+Ts(e[n]))))}function Ts(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Os(){return document.body.offsetHeight}const Ls=Symbol("_vod"),As=Symbol("_vsh"),Is={beforeMount(e,{value:t},{transition:n}){e[Ls]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ps(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ps(e,!0),r.enter(e)):r.leave(e,(()=>{Ps(e,!1)})):Ps(e,t))},beforeUnmount(e,{value:t}){Ps(e,t)}};function Ps(e,t){e.style.display=t?e[Ls]:"none",e[As]=!t}const Ms=Symbol("");function Rs(e){const t=ji();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll('[data-v-owner="'.concat(t.uid,'"]'))).forEach((e=>Ns(e,n)))},r=()=>{const r=e(t.proxy);t.ce?Ns(t.ce,r):Ds(t.subTree,r),n(r)};Ar((()=>{kn(r)})),Lr((()=>{qo(r,C,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Mr((()=>e.disconnect()))}))}function Ds(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Ds(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ns(e.el,t);else if(e.type===ci)e.children.forEach((e=>Ds(e,t)));else if(e.type===fi){let{el:n,anchor:r}=e;for(;n&&(Ns(n,t),n!==r);)n=n.nextSibling}}function Ns(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty("--".concat(e),t[e]),r+="--".concat(e,": ").concat(t[e],";");n[Ms]=r}}const Bs=/(^|;)\s*display\s*:/;const zs=/\s*!important$/;function Fs(e,t,n){if(M(n))n.forEach((n=>Fs(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Ws[t];if(n)return n;let r=Z(t);if("filter"!==r&&r in e)return Ws[t]=r;r=Q(r);for(let o=0;o<js.length;o++){const n=js[o]+r;if(n in e)return Ws[t]=n}return t}(e,t);zs.test(n)?e.setProperty(K(r),n.replace(zs,""),"important"):e[r]=n}}const js=["Webkit","Moz","ms"],Ws={};const Hs="http://www.w3.org/1999/xlink";function Vs(e,t,n,r,o,i=me(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Hs,t.slice(6,t.length)):e.setAttributeNS(Hs,t,n):null==n||i&&!ve(n)?e.removeAttribute(t):e.setAttribute(t,i?"":F(n)?String(n):n)}function Ys(e,t,n,r,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?is(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=ve(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0)}try{e[t]=n}catch(YC){}s&&e.removeAttribute(o||t)}function Us(e,t,n,r){e.addEventListener(t,n,r)}const Xs=Symbol("_vei");function $s(e,t,n,r,o=null){const i=e[Xs]||(e[Xs]={}),s=i[t];if(r&&s)s.value=r;else{const[n,a]=function(e){let t;if(Gs.test(e)){let n;for(t={};n=e.match(Gs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):K(e.slice(2));return[n,t]}(t);if(r){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();hn(function(e,t){if(M(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Js(),n}(r,o);Us(e,n,s,a)}else s&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,s,a),i[t]=void 0)}}const Gs=/(?:Once|Passive|Capture)$/;let qs=0;const Zs=Promise.resolve(),Js=()=>qs||(Zs.then((()=>qs=0)),qs=Date.now());const Ks=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Qs=new WeakMap,ea=new WeakMap,ta=Symbol("_moveCb"),na=Symbol("_enterCb"),ra=e=>(delete e.props.mode,e),oa=ra({name:"TransitionGroup",props:L({},hs,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ji(),r=Zn();let o,i;return Ir((()=>{if(!o.length)return;const t=e.moveClass||"".concat(e.name||"v","-move");if(!function(e,t,n){const r=e.cloneNode(),o=e[ds];o&&o.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=ks(r);return i.removeChild(r),s}(o[0].el,n.vnode.el,t))return;o.forEach(sa),o.forEach(aa);const r=o.filter(la);Os(),r.forEach((e=>{const n=e.el,r=n.style;ws(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[ta]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[ta]=null,xs(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const s=Wt(e),a=bs(s);let l=s.tag||ci;if(o=[],i)for(let e=0;e<i.length;e++){const t=i[e];t.el&&t.el instanceof Element&&(o.push(t),ar(t,or(t,a,r,n)),Qs.set(t,t.el.getBoundingClientRect()))}i=t.default?lr(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&ar(t,or(t,a,r,n))}return _i(l,null,i)}}}),ia=oa;function sa(e){const t=e.el;t[ta]&&t[ta](),t[na]&&t[na]()}function aa(e){ea.set(e,e.el.getBoundingClientRect())}function la(e){const t=Qs.get(e),n=ea.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform="translate(".concat(r,"px,").concat(o,"px)"),t.transitionDuration="0s",e}}const ca=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?e=>ne(t,e):t};function ua(e){e.target.composing=!0}function da(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const fa=Symbol("_assign"),ha={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[fa]=ca(o);const i=r||o.props&&"number"===o.props.type;Us(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),i&&(r=oe(r)),e[fa](r)})),n&&Us(e,"change",(()=>{e.value=e.value.trim()})),t||(Us(e,"compositionstart",ua),Us(e,"compositionend",da),Us(e,"change",da))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},s){if(e[fa]=ca(s),e.composing)return;const a=null==t?"":t;if((!i&&"number"!==e.type||/^0\d/.test(e.value)?e.value:oe(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(o&&e.value.trim()===a)return}e.value=a}}},pa={deep:!0,created(e,t,n){e[fa]=ca(n),Us(e,"change",(()=>{const t=e._modelValue,n=ya(e),r=e.checked,o=e[fa];if(M(t)){const e=be(t,n),i=-1!==e;if(r&&!i)o(t.concat(n));else if(!r&&i){const n=[...t];n.splice(e,1),o(n)}}else if(D(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e)}else o(wa(e,r))}))},mounted:ma,beforeUpdate(e,t,n){e[fa]=ca(n),ma(e,t,n)}};function ma(e,{value:t,oldValue:n},r){let o;if(e._modelValue=t,M(t))o=be(t,r.props.value)>-1;else if(D(t))o=t.has(r.props.value);else{if(t===n)return;o=ge(t,wa(e,!0))}e.checked!==o&&(e.checked=o)}const va={created(e,{value:t},n){e.checked=ge(t,n.props.value),e[fa]=ca(n),Us(e,"change",(()=>{e[fa](ya(e))}))},beforeUpdate(e,{value:t,oldValue:n},r){e[fa]=ca(r),t!==n&&(e.checked=ge(t,r.props.value))}},ga={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=D(t);Us(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?oe(ya(e)):ya(e)));e[fa](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,Sn((()=>{e._assigning=!1}))})),e[fa]=ca(r)},mounted(e,{value:t}){ba(e,t)},beforeUpdate(e,t,n){e[fa]=ca(n)},updated(e,{value:t}){e._assigning||ba(e,t)}};function ba(e,t){const n=e.multiple,r=M(t);if(!n||r||D(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],s=ya(i);if(n)if(r){const e=typeof s;i.selected="string"===e||"number"===e?t.some((e=>String(e)===String(s))):be(t,s)>-1}else i.selected=t.has(s);else if(ge(ya(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ya(e){return"_value"in e?e._value:e.value}function wa(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const xa={created(e,t,n){Sa(e,t,n,null,"created")},mounted(e,t,n){Sa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Sa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Sa(e,t,n,r,"updated")}};function Sa(e,t,n,r,o){const i=function(e,t){switch(e){case"SELECT":return ga;case"TEXTAREA":return ha;default:switch(t){case"checkbox":return pa;case"radio":return va;default:return ha}}}(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const Ea=["ctrl","shift","alt","meta"],Ca={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ea.some((n=>e["".concat(n,"Key")]&&!t.includes(n)))},ka=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Ca[t[e]];if(r&&r(n,t))return}return e(n,...r)})},_a={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ta=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=K(n.key);return t.some((e=>e===r||_a[e]===r))?e(n):void 0})},Oa=L({patchProp:(e,t,n,r,o,i)=>{const s="svg"===o;"class"===t?function(e,t,n){const r=e[ds];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,s):"style"===t?function(e,t,n){const r=e.style,o=z(n);let i=!1;if(n&&!o){if(t)if(z(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Fs(r,t,"")}else for(const e in t)null==n[e]&&Fs(r,e,"");for(const e in n)"display"===e&&(i=!0),Fs(r,e,n[e])}else if(o){if(t!==n){const e=r[Ms];e&&(n+=";"+e),r.cssText=n,i=Bs.test(n)}}else t&&e.removeAttribute("style");Ls in e&&(e[Ls]=i?r.display:"",e[As]&&(r.display="none"))}(e,n,r):T(t)?O(t)||$s(e,t,0,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ks(t)&&B(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ks(t)&&z(n))return!1;return t in e}(e,t,r,s))?(Ys(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Vs(e,t,r,s,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&z(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Vs(e,t,r,s)):Ys(e,Z(t),r,0,t)}},ls);let La;const Aa=(...e)=>{const t=(La||(La=jo(Oa))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(z(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;B(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};var Ia="undefined"!=typeof window;function Pa(e){return Ia?requestAnimationFrame(e):-1}function Ma(e){Ia&&cancelAnimationFrame(e)}function Ra(e){Pa((()=>Pa(e)))}var Da=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),Na=e=>{const t=Zt(e);if(t===window){const e=t.innerWidth,n=t.innerHeight;return Da(e,n)}return(null==t?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():Da(0,0)};function Ba(e){const t=So(e,null);if(t){const e=ji(),{link:n,unlink:r,internalChildren:o}=t;n(e),Mr((()=>r(e)));return{parent:t,index:es((()=>o.indexOf(e)))}}return{parent:null,index:Xt(-1)}}var za=(e,t)=>{const n=e.indexOf(t);return-1===n?e.findIndex((e=>void 0!==t.key&&null!==t.key&&e.type===t.type&&e.key===t.key)):n};function Fa(e,t,n){const r=function(e){const t=[],n=e=>{Array.isArray(e)&&e.forEach((e=>{var r;xi(e)&&(t.push(e),(null==(r=e.component)?void 0:r.subTree)&&(t.push(e.component.subTree),n(e.component.subTree.children)),e.children&&n(e.children))}))};return n(e),t}(e.subTree.children);n.sort(((e,t)=>za(r,e.vnode)-za(r,t.vnode)));const o=n.map((e=>e.proxy));t.sort(((e,t)=>o.indexOf(e)-o.indexOf(t)))}function ja(e){const t=Mt([]),n=Mt([]),r=ji();return{children:t,linkChildren:o=>{xo(e,Object.assign({link:e=>{e.proxy&&(n.push(e),t.push(e.proxy),Fa(r,t,n))},unlink:e=>{const r=n.indexOf(e);t.splice(r,1),n.splice(r,1)},children:t,internalChildren:n},o))}}}var Wa,Ha,Va=1e3,Ya=60*Va,Ua=60*Ya,Xa=24*Ua;function $a(e){let t,n,r,o;const i=Xt(e.time),s=es((()=>{return{total:e=i.value,days:Math.floor(e/Xa),hours:Math.floor(e%Xa/Ua),minutes:Math.floor(e%Ua/Ya),seconds:Math.floor(e%Ya/Va),milliseconds:Math.floor(e%Va)};var e})),a=()=>{r=!1,Ma(t)},l=()=>Math.max(n-Date.now(),0),c=t=>{var n,r;i.value=t,null==(n=e.onChange)||n.call(e,s.value),0===t&&(a(),null==(r=e.onFinish)||r.call(e))},u=()=>{t=Pa((()=>{r&&(c(l()),i.value>0&&u())}))},d=()=>{t=Pa((()=>{if(r){const n=l();e=n,t=i.value,(Math.floor(e/1e3)!==Math.floor(t/1e3)||0===n)&&c(n),i.value>0&&d()}var e,t}))},f=()=>{Ia&&(e.millisecond?u():d())};return Pr(a),wr((()=>{o&&(r=!0,o=!1,f())})),xr((()=>{r&&(a(),o=!0)})),{start:()=>{r||(n=Date.now()+i.value,r=!0,f())},pause:a,reset:(t=e.time)=>{a(),i.value=t},current:s}}function Ga(e){let t;Lr((()=>{e(),Sn((()=>{t=!0}))})),wr((()=>{t&&e()}))}function qa(e,t,n={}){if(!Ia)return;const{target:r=window,passive:o=!1,capture:i=!1}=n;let s,a=!1;const l=n=>{if(a)return;const r=Zt(n);r&&!s&&(r.addEventListener(e,t,{capture:i,passive:o}),s=!0)},c=n=>{if(a)return;const r=Zt(n);r&&s&&(r.removeEventListener(e,t,i),s=!1)};let u;return Mr((()=>c(r))),xr((()=>c(r))),Ga((()=>l(r))),Ut(r)&&(u=qo(r,((e,t)=>{c(t),l(e)}))),()=>{null==u||u(),c(r),a=!0}}function Za(e,t,n={}){if(!Ia)return;const{eventName:r="click"}=n;qa(r,(n=>{(Array.isArray(e)?e:[e]).every((e=>{const t=Zt(e);return t&&!t.contains(n.target)}))&&t(n)}),{target:document})}var Ja,Ka=/scroll|auto|overlay/i,Qa=Ia?window:void 0;function el(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}function tl(e,t=Qa){let n=e;for(;n&&n!==t&&el(n);){const{overflowY:e}=window.getComputedStyle(n);if(Ka.test(e))return n;n=n.parentNode}return t}function nl(e,t=Qa){const n=Xt();return Lr((()=>{e.value&&(n.value=tl(e.value,t))})),n}var rl=Symbol("van-field");function ol(e){const t=So(rl,null);t&&!t.customValue.value&&(t.customValue.value=e,qo(e,(()=>{t.resetValidation(),t.validateWithTrigger("onChange")})))}function il(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function sl(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function al(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function ll(e){sl(window,e),sl(document.body,e)}function cl(e,t){if(e===window)return 0;const n=t?il(t):al();return Na(e).top+n}const ul=!!n&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());function dl(){ul&&ll(al())}const fl=e=>e.stopPropagation();function hl(e,t){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault(),t&&fl(e)}function pl(e){const t=Zt(e);if(!t)return!1;const n=window.getComputedStyle(t),r="none"===n.display,o=null===t.offsetParent&&"fixed"!==n.position;return r||o}const{width:ml,height:vl}=function(){if(!Wa&&(Wa=Xt(0),Ha=Xt(0),Ia)){const e=()=>{Wa.value=window.innerWidth,Ha.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Wa,height:Ha}}();function gl(e){if(o(e))return l(e)?"".concat(e,"px"):String(e)}function bl(e){if(o(e)){if(Array.isArray(e))return{width:gl(e[0]),height:gl(e[1])};const t=gl(e);return{width:t,height:t}}}function yl(e){const t={};return void 0!==e&&(t.zIndex=+e),t}let wl;function xl(e){return+(e=e.replace(/rem/g,""))*function(){if(!wl){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;wl=parseFloat(t)}return wl}()}function Sl(e){if("number"==typeof e)return e;if(n){if(e.includes("rem"))return xl(e);if(e.includes("vw"))return function(e){return+(e=e.replace(/vw/g,""))*ml.value/100}(e);if(e.includes("vh"))return function(e){return+(e=e.replace(/vh/g,""))*vl.value/100}(e)}return parseFloat(e)}const El=/-(\w)/g,Cl=e=>e.replace(El,((e,t)=>t.toUpperCase()));function kl(e,t=2){let n=e+"";for(;n.length<t;)n="0"+n;return n}const _l=(e,t,n)=>Math.min(Math.max(e,t),n);function Tl(e,t,n){const r=e.indexOf(t);return-1===r?e:"-"===t&&0!==r?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function Ol(e,t=!0,n=!0){e=t?Tl(e,".",/\./g):e.split(".")[0];const r=t?/[^-0-9.]/g:/[^-0-9]/g;return(e=n?Tl(e,"-",/-/g):e.replace(/-/,"")).replace(r,"")}const{hasOwnProperty:Ll}=Object.prototype;function Al(e,t){return Object.keys(t).forEach((n=>{!function(e,t,n){const i=t[n];o(i)&&(Ll.call(e,n)&&r(i)?e[n]=Al(Object(e[n]),i):e[n]=i)}(e,t,n)})),e}const Il=Xt("zh-CN"),Pl=Mt({"zh-CN":{name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>"".concat(e,"年").concat(t,"月"),rangePrompt:e=>"最多选择 ".concat(e," 天")},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>"".concat(e,"折"),condition:e=>"满".concat(e,"元可用")},vanCouponCell:{title:"优惠券",count:e=>"".concat(e,"张可用")},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}}});var Ml={messages:()=>Pl[Il.value],use(e,t){Il.value=e,this.add({[e]:t})},add(e={}){Al(Pl,e)}};function Rl(e){const t=Cl(e)+".";return(e,...n)=>{const r=Ml.messages(),o=c(r,t+e)||c(r,e);return i(o)?o(...n):o}}function Dl(e,t){return t?"string"==typeof t?" ".concat(e,"--").concat(t):Array.isArray(t)?t.reduce(((t,n)=>t+Dl(e,n)),""):Object.keys(t).reduce(((n,r)=>n+(t[r]?Dl(e,r):"")),""):""}function Nl(e){return(t,n)=>(t&&"string"!=typeof t&&(n=t,t=""),t=t?"".concat(e,"__").concat(t):e,"".concat(t).concat(Dl(t,n)))}function Bl(e){const t="van-".concat(e);return[t,Nl(t),Rl(t)]}const zl="van-hairline",Fl="".concat(zl,"--top"),jl="".concat(zl,"--left"),Wl="".concat(zl,"--right"),Hl="".concat(zl,"--bottom"),Vl="".concat(zl,"--surround"),Yl="".concat(zl,"--top-bottom"),Ul="".concat(zl,"-unset--top-bottom"),Xl="van-haptics-feedback",$l=Symbol("van-form"),Gl=5;function ql(t,{args:n=[],done:r,canceled:o,error:i}){if(t){const a=t.apply(null,n);s(a)?a.then((e=>{e?r():o&&o()})).catch(i||e):a?r():o&&o()}else r()}function Zl(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(Cl("-".concat(n)),e))},e}function Jl(e,t){return e.reduce(((e,n)=>Math.abs(e-t)<Math.abs(n-t)?e:n))}const Kl=Symbol();function Ql(e){const t=So(Kl,null);t&&qo(t,(t=>{t&&e()}))}const ec=(e,t)=>{const n=Xt(),r=()=>{n.value=Na(e).height};return Lr((()=>{if(Sn(r),t)for(let e=1;e<=3;e++)setTimeout(r,100*e)})),Ql((()=>Sn(r))),qo([ml,vl],r),n};function tc(e,t){const n=ec(e,!0);return e=>_i("div",{class:t("placeholder"),style:{height:n.value?"".concat(n.value,"px"):void 0}},[e()])}const[nc,rc]=Bl("action-bar"),oc=Symbol(nc);var ic=cr({name:nc,props:{placeholder:Boolean,safeAreaInsetBottom:m},setup(e,{slots:t}){const n=Xt(),r=tc(n,rc),{linkChildren:o}=ja(oc);o();const i=()=>{var r;return _i("div",{ref:n,class:[rc(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[null==(r=t.default)?void 0:r.call(t)])};return()=>e.placeholder?r(i):i()}});const sc=Zl(ic);function ac(e){const n=ji();n&&t(n.proxy,e)}const lc={to:[String,Object],url:String,replace:Boolean};function cc({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function uc(){const e=ji().proxy;return()=>cc(e)}const[dc,fc]=Bl("badge");var hc=cr({name:dc,props:{dot:Boolean,max:p,tag:w("div"),color:String,offset:Array,content:p,showZero:m,position:w("top-right")},setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:n,showZero:r}=e;return o(n)&&""!==n&&(r||0!==n&&"0"!==n)},r=()=>{const{dot:r,max:i,content:s}=e;if(!r&&n())return t.content?t.content():o(i)&&l(s)&&+s>+i?"".concat(i,"+"):s},i=e=>e.startsWith("-")?e.replace("-",""):"-".concat(e),s=es((()=>{const n={background:e.color};if(e.offset){const[r,o]=e.offset,{position:s}=e,[a,l]=s.split("-");t.default?(n[a]="number"==typeof o?gl("top"===a?o:-o):"top"===a?gl(o):i(o),n[l]="number"==typeof r?gl("left"===l?r:-r):"left"===l?gl(r):i(r)):(n.marginTop=gl(o),n.marginLeft=gl(r))}return n})),a=()=>{if(n()||e.dot)return _i("div",{class:fc([e.position,{dot:e.dot,fixed:!!t.default}]),style:s.value},[r()])};return()=>{if(t.default){const{tag:n}=e;return _i(n,{class:fc("wrapper")},{default:()=>[t.default(),a()]})}return a()}}});const pc=Zl(hc);let mc=2e3;const[vc,gc]=Bl("config-provider"),bc=Symbol(vc),[yc,wc]=Bl("icon");var xc=cr({name:yc,props:{dot:Boolean,tag:w("i"),name:String,size:p,badge:p,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:t}){const n=So(bc,null),r=es((()=>e.classPrefix||(null==n?void 0:n.iconPrefix)||wc()));return()=>{const{tag:n,dot:o,name:i,size:s,badge:a,color:l}=e,c=(e=>null==e?void 0:e.includes("/"))(i);return _i(pc,Di({dot:o,tag:n,class:[r.value,c?"":"".concat(r.value,"-").concat(i)],style:{color:l,fontSize:gl(s)},content:a},e.badgeProps),{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t),c&&_i("img",{class:wc("image"),src:i},null)]}})}}});const Sc=Zl(xc);var Ec=Sc;const[Cc,kc]=Bl("loading"),_c=Array(12).fill(null).map(((e,t)=>_i("i",{class:kc("line",String(t+1))},null))),Tc=_i("svg",{class:kc("circular"),viewBox:"25 25 50 50"},[_i("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]);var Oc=cr({name:Cc,props:{size:p,type:w("circular"),color:String,vertical:Boolean,textSize:p,textColor:String},setup(e,{slots:n}){const r=es((()=>t({color:e.color},bl(e.size)))),o=()=>{const t="spinner"===e.type?_c:Tc;return _i("span",{class:kc("spinner",e.type),style:r.value},[n.icon?n.icon():t])},i=()=>{var t;if(n.default)return _i("span",{class:kc("text"),style:{fontSize:gl(e.textSize),color:null!=(t=e.textColor)?t:e.color}},[n.default()])};return()=>{const{type:t,vertical:n}=e;return _i("div",{class:kc([t,{vertical:n}]),"aria-live":"polite","aria-busy":!0},[o(),i()])}}});const Lc=Zl(Oc),[Ac,Ic]=Bl("button");var Pc=cr({name:Ac,props:t({},lc,{tag:w("button"),text:String,icon:String,type:w("default"),size:w("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:w("button"),loadingSize:p,loadingText:String,loadingType:String,iconPosition:w("left")}),emits:["click"],setup(e,{emit:t,slots:n}){const r=uc(),o=()=>e.loading?n.loading?n.loading():_i(Lc,{size:e.loadingSize,type:e.loadingType,class:Ic("loading")},null):n.icon?_i("div",{class:Ic("icon")},[n.icon()]):e.icon?_i(Sc,{name:e.icon,class:Ic("icon"),classPrefix:e.iconPrefix},null):void 0,i=()=>{let t;if(t=e.loading?e.loadingText:n.default?n.default():e.text,t)return _i("span",{class:Ic("text")},[t])},s=()=>{const{color:t,plain:n}=e;if(t){const e={color:n?t:"white"};return n||(e.background=t),t.includes("gradient")?e.border=0:e.borderColor=t,e}},a=n=>{e.loading?hl(n):e.disabled||(t("click",n),r())};return()=>{const{tag:t,type:n,size:r,block:l,round:c,plain:u,square:d,loading:f,disabled:h,hairline:p,nativeType:m,iconPosition:v}=e,g=[Ic([n,r,{plain:u,block:l,round:c,square:d,loading:f,disabled:h,hairline:p}]),{[Vl]:p}];return _i(t,{type:m,class:g,style:s(),disabled:h,onClick:a},{default:()=>[_i("div",{class:Ic("content")},["left"===v&&o(),i(),"right"===v&&o()])]})}}});const Mc=Zl(Pc),[Rc,Dc]=Bl("action-bar-button");var Nc=cr({name:Rc,props:t({},lc,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),setup(e,{slots:t}){const n=uc(),{parent:r,index:o}=Ba(oc),i=es((()=>{if(r){const e=r.children[o.value-1];return!(e&&"isButton"in e)}})),s=es((()=>{if(r){const e=r.children[o.value+1];return!(e&&"isButton"in e)}}));return ac({isButton:!0}),()=>{const{type:r,icon:o,text:a,color:l,loading:c,disabled:u}=e;return _i(Mc,{class:Dc([r,{last:s.value,first:i.value}]),size:"large",type:r,icon:o,color:l,loading:c,disabled:u,onClick:n},{default:()=>[t.default?t.default():a]})}}});const Bc=Zl(Nc),zc={show:Boolean,zIndex:p,overlay:m,duration:p,teleport:[String,Object],lockScroll:m,lazyRender:m,beforeClose:Function,overlayStyle:Object,overlayClass:h,transitionAppear:Boolean,closeOnClickOverlay:m},Fc=Object.keys(zc);function jc(){const e=Xt(0),t=Xt(0),n=Xt(0),r=Xt(0),o=Xt(0),i=Xt(0),s=Xt(""),a=Xt(!0),l=()=>{n.value=0,r.value=0,o.value=0,i.value=0,s.value="",a.value=!0};return{move:l=>{const c=l.touches[0];n.value=(c.clientX<0?0:c.clientX)-e.value,r.value=c.clientY-t.value,o.value=Math.abs(n.value),i.value=Math.abs(r.value);var u,d;(!s.value||o.value<10&&i.value<10)&&(s.value=(u=o.value,d=i.value,u>d?"horizontal":d>u?"vertical":"")),a.value&&(o.value>Gl||i.value>Gl)&&(a.value=!1)},start:n=>{l(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY},reset:l,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:o,offsetY:i,direction:s,isVertical:()=>"vertical"===s.value,isHorizontal:()=>"horizontal"===s.value,isTap:a}}let Wc=0;const Hc="van-overflow-hidden";function Vc(e){const t=Xt(!1);return qo(e,(e=>{e&&(t.value=e)}),{immediate:!0}),e=>()=>t.value?e():null}const Yc=()=>{var e;const{scopeId:t}=(null==(e=ji())?void 0:e.vnode)||{};return t?{[t]:""}:null},[Uc,Xc]=Bl("overlay");var $c=cr({name:Uc,props:{show:Boolean,zIndex:p,duration:p,className:h,lockScroll:m,lazyRender:m,customStyle:Object},setup(e,{slots:n}){const r=Xt(),i=Vc((()=>e.show||!e.lazyRender))((()=>{var i;const s=t(yl(e.zIndex),e.customStyle);return o(e.duration)&&(s.animationDuration="".concat(e.duration,"s")),Rn(_i("div",{ref:r,style:s,class:[Xc(),e.className]},[null==(i=n.default)?void 0:i.call(n)]),[[Is,e.show]])}));return qa("touchmove",(t=>{e.lockScroll&&hl(t,!0)}),{target:r}),()=>_i(ms,{name:"van-fade",appear:!0},{default:i})}});const Gc=Zl($c),qc=t({},zc,{round:Boolean,position:w("center"),closeIcon:w("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:w("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Zc,Jc]=Bl("popup");var Kc=cr({name:Zc,inheritAttrs:!1,props:qc,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:t,attrs:n,slots:r}){let i,s;const a=Xt(),l=Xt(),c=Vc((()=>e.show||!e.lazyRender)),u=es((()=>{const t={zIndex:a.value};if(o(e.duration)){t["center"===e.position?"animationDuration":"transitionDuration"]="".concat(e.duration,"s")}return t})),d=()=>{i||(i=!0,a.value=void 0!==e.zIndex?+e.zIndex:++mc,t("open"))},f=()=>{i&&ql(e.beforeClose,{done(){i=!1,t("close"),t("update:show",!1)}})},h=n=>{t("clickOverlay",n),e.closeOnClickOverlay&&f()},p=()=>{if(e.overlay)return _i(Gc,Di({show:e.show,class:e.overlayClass,zIndex:a.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},Yc(),{onClick:h}),{default:r["overlay-content"]})},m=e=>{t("clickCloseIcon",e),f()},v=()=>{if(e.closeable)return _i(Sc,{role:"button",tabindex:0,name:e.closeIcon,class:[Jc("close-icon",e.closeIconPosition),Xl],classPrefix:e.iconPrefix,onClick:m},null)};let g;const b=()=>{g&&clearTimeout(g),g=setTimeout((()=>{t("opened")}))},y=()=>t("closed"),w=e=>t("keydown",e),x=c((()=>{var t;const{round:o,position:i,safeAreaInsetTop:s,safeAreaInsetBottom:a}=e;return Rn(_i("div",Di({ref:l,style:u.value,role:"dialog",tabindex:0,class:[Jc({round:o,[i]:i}),{"van-safe-area-top":s,"van-safe-area-bottom":a}],onKeydown:w},n,Yc()),[null==(t=r.default)?void 0:t.call(r),v()]),[[Is,e.show]])})),S=()=>{const{position:t,transition:n,transitionAppear:r}=e,o="center"===t?"van-fade":"van-popup-slide-".concat(t);return _i(ms,{name:n||o,appear:r,onAfterEnter:b,onAfterLeave:y},{default:x})};return qo((()=>e.show),(e=>{e&&!i&&(d(),0===n.tabindex&&Sn((()=>{var e;null==(e=l.value)||e.focus()}))),!e&&i&&(i=!1,t("close"))})),ac({popupRef:l}),function(e,t){const n=jc(),r=t=>{n.move(t);const r=n.deltaY.value>0?"10":"01",o=tl(t.target,e.value),{scrollHeight:i,offsetHeight:s,scrollTop:a}=o;let l="11";0===a?l=s>=i?"00":"01":a+s>=i&&(l="10"),"11"===l||!n.isVertical()||parseInt(l,2)&parseInt(r,2)||hl(t,!0)},o=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",r,{passive:!1}),Wc||document.body.classList.add(Hc),Wc++},i=()=>{Wc&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",r),Wc--,Wc||document.body.classList.remove(Hc))},s=()=>t()&&i();Ga((()=>t()&&o())),xr(s),Pr(s),qo(t,(e=>{e?o():i()}))}(l,(()=>e.show&&e.lockScroll)),qa("popstate",(()=>{e.closeOnPopstate&&(f(),s=!1)})),Lr((()=>{e.show&&d()})),wr((()=>{s&&(t("update:show",!0),s=!1)})),xr((()=>{e.show&&e.teleport&&(f(),s=!0)})),xo(Kl,(()=>e.show)),()=>e.teleport?_i(Un,{to:e.teleport},{default:()=>[p(),S()]}):_i(ci,null,[p(),S()])}});const Qc=Zl(Kc),[eu,tu]=Bl("action-sheet"),nu=t({},zc,{title:String,round:m,actions:g(),closeIcon:w("cross"),closeable:m,cancelText:String,description:String,closeOnPopstate:m,closeOnClickAction:Boolean,safeAreaInsetBottom:m}),ru=[...Fc,"round","closeOnPopstate","safeAreaInsetBottom"];var ou=cr({name:eu,props:nu,emits:["select","cancel","update:show"],setup(e,{slots:t,emit:n}){const r=e=>n("update:show",e),o=()=>{r(!1),n("cancel")},i=()=>{if(e.title)return _i("div",{class:tu("header")},[e.title,e.closeable&&_i(Sc,{name:e.closeIcon,class:[tu("close"),Xl],onClick:o},null)])},s=()=>{if(t.cancel||e.cancelText)return[_i("div",{class:tu("gap")},null),_i("button",{type:"button",class:tu("cancel"),onClick:o},[t.cancel?t.cancel():e.cancelText])]},a=(e,n)=>e.loading?_i(Lc,{class:tu("loading-icon")},null):t.action?t.action({action:e,index:n}):[_i("span",{class:tu("name")},[e.name]),e.subname&&_i("div",{class:tu("subname")},[e.subname])],l=(t,o)=>{const{color:i,loading:s,callback:l,disabled:c,className:u}=t;return _i("button",{type:"button",style:{color:i},class:[tu("item",{loading:s,disabled:c}),u],onClick:()=>{c||s||(l&&l(t),e.closeOnClickAction&&r(!1),Sn((()=>n("select",t,o))))}},[a(t,o)])},c=()=>{if(e.description||t.description){const n=t.description?t.description():e.description;return _i("div",{class:tu("description")},[n])}};return()=>_i(Qc,Di({class:tu(),position:"bottom","onUpdate:show":r},u(e,ru)),{default:()=>{var n;return[i(),c(),_i("div",{class:tu("content")},[e.actions.map(l),null==(n=t.default)?void 0:n.call(t)]),s()]}})}});const iu=Zl(ou),[su,au,lu]=Bl("picker"),cu=e=>e.find((e=>!e.disabled))||e[0];function uu(e,t){for(let n=t=_l(t,0,e.length);n<e.length;n++)if(!e[n].disabled)return n;for(let n=t-1;n>=0;n--)if(!e[n].disabled)return n;return 0}const du=(e,t,n)=>void 0!==t&&!!e.find((e=>e[n.value]===t));function fu(e,t,n){const r=e.findIndex((e=>e[n.value]===t));return e[uu(e,r)]}const[hu,pu]=Bl("picker-column"),mu=Symbol(hu);var vu=cr({name:hu,props:{value:p,fields:v(Object),options:g(),readonly:Boolean,allowHtml:Boolean,optionHeight:v(Number),swipeDuration:v(p),visibleOptionNum:v(p)},emits:["change","clickOption","scrollInto"],setup(e,{emit:t,slots:n}){let r,o,i,s,a;const l=Xt(),c=Xt(),u=Xt(0),d=Xt(0),f=jc(),h=()=>e.options.length,p=()=>e.optionHeight*(+e.visibleOptionNum-1)/2,m=n=>{let o=uu(e.options,n);const i=-o*e.optionHeight,s=()=>{o>h()-1&&(o=uu(e.options,n));const r=e.options[o][e.fields.value];r!==e.value&&t("change",r)};r&&i!==u.value?a=s:s(),u.value=i},v=()=>e.readonly||!e.options.length,g=t=>_l(Math.round(-t/e.optionHeight),0,h()-1),b=es((()=>g(u.value))),y=()=>{r=!1,d.value=0,a&&(a(),a=null)},w=e=>{if(!v()){if(f.start(e),r){const e=function(e){const{transform:t}=window.getComputedStyle(e),n=t.slice(7,t.length-1).split(", ")[5];return Number(n)}(c.value);u.value=Math.min(0,e-p())}d.value=0,o=u.value,i=Date.now(),s=o,a=null}},x=()=>{if(v())return;const t=u.value-s,n=Date.now()-i;if(n<300&&Math.abs(t)>15)return void((t,n)=>{const r=Math.abs(t/n);t=u.value+r/.003*(t<0?-1:1);const o=g(t);d.value=+e.swipeDuration,m(o)})(t,n);const o=g(u.value);d.value=200,m(o),setTimeout((()=>{r=!1}),0)},S=()=>{const o={height:"".concat(e.optionHeight,"px")};return e.options.map(((i,s)=>{const l=i[e.fields.text],{disabled:c}=i,u=i[e.fields.value],f={role:"button",style:o,tabindex:c?-1:0,class:[pu("item",{disabled:c,selected:u===e.value}),i.className],onClick:()=>(n=>{r||v()||(a=null,d.value=200,m(n),t("clickOption",e.options[n]))})(s)},h={class:"van-ellipsis",[e.allowHtml?"innerHTML":"textContent"]:l};return _i("li",f,[n.option?n.option(i,s):_i("div",h,null)])}))};return Ba(mu),ac({stopMomentum:y}),Go((()=>{const t=r?Math.floor(-u.value/e.optionHeight):e.options.findIndex((t=>t[e.fields.value]===e.value)),n=uu(e.options,t),o=-n*e.optionHeight;r&&n<t&&y(),u.value=o})),qa("touchmove",(n=>{if(v())return;f.move(n),f.isVertical()&&(r=!0,hl(n,!0));const a=_l(o+f.deltaY.value,-h()*e.optionHeight,e.optionHeight),l=g(a);l!==b.value&&t("scrollInto",e.options[l]),u.value=a;const c=Date.now();c-i>300&&(i=c,s=a)}),{target:l}),()=>_i("div",{ref:l,class:pu(),onTouchstartPassive:w,onTouchend:x,onTouchcancel:x},[_i("ul",{ref:c,style:{transform:"translate3d(0, ".concat(u.value+p(),"px, 0)"),transitionDuration:"".concat(d.value,"ms"),transitionProperty:d.value?"all":"none"},class:pu("wrapper"),onTransitionend:y},[S()])])}});const[gu]=Bl("picker-toolbar"),bu={title:String,cancelButtonText:String,confirmButtonText:String},yu=["cancel","confirm","title","toolbar"],wu=Object.keys(bu);var xu=cr({name:gu,props:bu,emits:["confirm","cancel"],setup(e,{emit:t,slots:n}){const r=()=>t("cancel"),o=()=>t("confirm"),i=()=>{const t=e.cancelButtonText||lu("cancel");return _i("button",{type:"button",class:[au("cancel"),Xl],onClick:r},[n.cancel?n.cancel():t])},s=()=>{const t=e.confirmButtonText||lu("confirm");return _i("button",{type:"button",class:[au("confirm"),Xl],onClick:o},[n.confirm?n.confirm():t])};return()=>_i("div",{class:au("toolbar")},[n.toolbar?n.toolbar():[i(),n.title?n.title():e.title?_i("div",{class:[au("title"),"van-ellipsis"]},[e.title]):void 0,s()]])}});let Su=0;function Eu(){const e=ji(),{name:t="unknown"}=(null==e?void 0:e.type)||{};return"".concat(t,"-").concat(++Su)}function Cu(){const e=Xt([]),t=[];Ar((()=>{e.value=[]}));return[e,n=>(t[n]||(t[n]=t=>{e.value[n]=t}),t[n])]}function ku(e,t){if(!n||!window.IntersectionObserver)return;const r=new IntersectionObserver((e=>{t(e[0].intersectionRatio>0)}),{root:document.body}),o=()=>{e.value&&r.unobserve(e.value)};xr(o),Pr(o),Ga((()=>{e.value&&r.observe(e.value)}))}const[_u,Tu]=Bl("sticky");var Ou=cr({name:_u,props:{zIndex:p,position:w("top"),container:Object,offsetTop:y(0),offsetBottom:y(0)},emits:["scroll","change"],setup(e,{emit:n,slots:r}){const o=Xt(),i=nl(o),s=Mt({fixed:!1,width:0,height:0,transform:0}),a=Xt(!1),l=es((()=>Sl("top"===e.position?e.offsetTop:e.offsetBottom))),c=es((()=>{if(a.value)return;const{fixed:e,height:t,width:n}=s;return e?{width:"".concat(n,"px"),height:"".concat(t,"px")}:void 0})),u=es((()=>{if(!s.fixed||a.value)return;const n=t(yl(e.zIndex),{width:"".concat(s.width,"px"),height:"".concat(s.height,"px"),[e.position]:"".concat(l.value,"px")});return s.transform&&(n.transform="translate3d(0, ".concat(s.transform,"px, 0)")),n})),d=()=>{if(!o.value||pl(o))return;const{container:t,position:r}=e,i=Na(o),a=il(window);if(s.width=i.width,s.height=i.height,"top"===r)if(t){const e=Na(t),n=e.bottom-l.value-s.height;s.fixed=l.value>i.top&&e.bottom>0,s.transform=n<0?n:0}else s.fixed=l.value>i.top;else{const{clientHeight:e}=document.documentElement;if(t){const n=Na(t),r=e-n.top-l.value-s.height;s.fixed=e-l.value<i.bottom&&e>n.top,s.transform=r<0?-r:0}else s.fixed=e-l.value<i.bottom}(e=>{n("scroll",{scrollTop:e,isFixed:s.fixed})})(a)};return qo((()=>s.fixed),(e=>n("change",e))),qa("scroll",d,{target:i,passive:!0}),ku(o,d),qo([ml,vl],(()=>{o.value&&!pl(o)&&s.fixed&&(a.value=!0,Sn((()=>{const e=Na(o);s.width=e.width,s.height=e.height,a.value=!1})))})),()=>{var e;return _i("div",{ref:o,style:c.value},[_i("div",{class:Tu({fixed:s.fixed&&!a.value}),style:u.value},[null==(e=r.default)?void 0:e.call(r)])])}}});const Lu=Zl(Ou),[Au,Iu]=Bl("swipe"),Pu={loop:m,width:p,height:p,vertical:Boolean,autoplay:y(0),duration:y(500),touchable:m,lazyRender:Boolean,initialSwipe:y(0),indicatorColor:String,showIndicators:m,stopPropagation:m},Mu=Symbol(Au);var Ru=cr({name:Au,props:Pu,emits:["change","dragStart","dragEnd"],setup(e,{emit:t,slots:n}){const r=Xt(),o=Xt(),i=Mt({rect:null,width:0,height:0,offset:0,active:0,swiping:!1});let s=!1;const a=jc(),{children:l,linkChildren:c}=ja(Mu),u=es((()=>l.length)),d=es((()=>i[e.vertical?"height":"width"])),f=es((()=>e.vertical?a.deltaY.value:a.deltaX.value)),h=es((()=>{if(i.rect){return(e.vertical?i.rect.height:i.rect.width)-d.value*u.value}return 0})),p=es((()=>d.value?Math.ceil(Math.abs(h.value)/d.value):u.value)),m=es((()=>u.value*d.value)),v=es((()=>(i.active+u.value)%u.value)),g=es((()=>{const t=e.vertical?"vertical":"horizontal";return a.direction.value===t})),b=es((()=>{const t={transitionDuration:"".concat(i.swiping?0:e.duration,"ms"),transform:"translate".concat(e.vertical?"Y":"X","(").concat(+i.offset.toFixed(2),"px)")};if(d.value){const n=e.vertical?"height":"width",r=e.vertical?"width":"height";t[n]="".concat(m.value,"px"),t[r]=e[r]?"".concat(e[r],"px"):""}return t})),y=(t,n=0)=>{let r=t*d.value;e.loop||(r=Math.min(r,-h.value));let o=n-r;return e.loop||(o=_l(o,h.value,0)),o},w=({pace:n=0,offset:r=0,emitChange:o})=>{if(u.value<=1)return;const{active:s}=i,a=(t=>{const{active:n}=i;return t?e.loop?_l(n+t,-1,u.value):_l(n+t,0,p.value):n})(n),c=y(a,r);if(e.loop){if(l[0]&&c!==h.value){const e=c<h.value;l[0].setOffset(e?m.value:0)}if(l[u.value-1]&&0!==c){const e=c>0;l[u.value-1].setOffset(e?-m.value:0)}}i.active=a,i.offset=c,o&&a!==s&&t("change",v.value)},x=()=>{i.swiping=!0,i.active<=-1?w({pace:u.value}):i.active>=u.value&&w({pace:-u.value})},S=()=>{x(),a.reset(),Ra((()=>{i.swiping=!1,w({pace:1,emitChange:!0})}))};let E;const C=()=>clearTimeout(E),k=()=>{C(),+e.autoplay>0&&u.value>1&&(E=setTimeout((()=>{S(),k()}),+e.autoplay))},_=(t=+e.initialSwipe)=>{if(!r.value)return;const n=()=>{var n,o;if(!pl(r)){const t={width:r.value.offsetWidth,height:r.value.offsetHeight};i.rect=t,i.width=+(null!=(n=e.width)?n:t.width),i.height=+(null!=(o=e.height)?o:t.height)}u.value&&-1===(t=Math.min(u.value-1,t))&&(t=u.value-1),i.active=t,i.swiping=!0,i.offset=y(t),l.forEach((e=>{e.setOffset(0)})),k()};pl(r)?Sn().then(n):n()},T=()=>_(i.active);let O;const L=t=>{!e.touchable||t.touches.length>1||(a.start(t),s=!1,O=Date.now(),C(),x())},A=()=>{if(!e.touchable||!i.swiping)return;const n=Date.now()-O,r=f.value/n;if((Math.abs(r)>.25||Math.abs(f.value)>d.value/2)&&g.value){const t=e.vertical?a.offsetY.value:a.offsetX.value;let n=0;n=e.loop?t>0?f.value>0?-1:1:0:-Math[f.value>0?"ceil":"floor"](f.value/d.value),w({pace:n,emitChange:!0})}else f.value&&w({pace:0});s=!1,i.swiping=!1,t("dragEnd",{index:v.value}),k()},I=(t,n)=>{const r=n===v.value,o=r?{backgroundColor:e.indicatorColor}:void 0;return _i("i",{style:o,class:Iu("indicator",{active:r})},null)};return ac({prev:()=>{x(),a.reset(),Ra((()=>{i.swiping=!1,w({pace:-1,emitChange:!0})}))},next:S,state:i,resize:T,swipeTo:(t,n={})=>{x(),a.reset(),Ra((()=>{let r;r=e.loop&&t===u.value?0===i.active?0:t:t%u.value,n.immediate?Ra((()=>{i.swiping=!1})):i.swiping=!1,w({pace:r-i.active,emitChange:!0})}))}}),c({size:d,props:e,count:u,activeIndicator:v}),qo((()=>e.initialSwipe),(e=>_(+e))),qo(u,(()=>_(i.active))),qo((()=>e.autoplay),k),qo([ml,vl,()=>e.width,()=>e.height],T),qo(function(){if(!Ja&&(Ja=Xt("visible"),Ia)){const e=()=>{Ja.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return Ja}(),(e=>{"visible"===e?k():C()})),Lr(_),wr((()=>_(i.active))),Ql((()=>_(i.active))),xr(C),Pr(C),qa("touchmove",(n=>{if(e.touchable&&i.swiping&&(a.move(n),g.value)){!e.loop&&(0===i.active&&f.value>0||i.active===u.value-1&&f.value<0)||(hl(n,e.stopPropagation),w({offset:f.value}),s||(t("dragStart",{index:v.value}),s=!0))}}),{target:o}),()=>{var t;return _i("div",{ref:r,class:Iu()},[_i("div",{ref:o,style:b.value,class:Iu("track",{vertical:e.vertical}),onTouchstartPassive:L,onTouchend:A,onTouchcancel:A},[null==(t=n.default)?void 0:t.call(n)]),n.indicator?n.indicator({active:v.value,total:u.value}):e.showIndicators&&u.value>1?_i("div",{class:Iu("indicators",{vertical:e.vertical})},[Array(u.value).fill("").map(I)]):void 0])}}});const Du=Zl(Ru),[Nu,Bu]=Bl("tabs");var zu=cr({name:Nu,props:{count:v(Number),inited:Boolean,animated:Boolean,duration:v(p),swipeable:Boolean,lazyRender:Boolean,currentIndex:v(Number)},emits:["change"],setup(e,{emit:t,slots:n}){const r=Xt(),o=e=>t("change",e),i=()=>{var t;const i=null==(t=n.default)?void 0:t.call(n);return e.animated||e.swipeable?_i(Du,{ref:r,loop:!1,class:Bu("track"),duration:1e3*+e.duration,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:o},{default:()=>[i]}):i},s=t=>{const n=r.value;n&&n.state.active!==t&&n.swipeTo(t,{immediate:!e.inited})};return qo((()=>e.currentIndex),s),Lr((()=>{s(e.currentIndex)})),ac({swipeRef:r}),()=>_i("div",{class:Bu("content",{animated:e.animated||e.swipeable})},[i()])}});const[Fu,ju]=Bl("tabs"),Wu={type:w("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:y(0),duration:y(.3),animated:Boolean,ellipsis:m,swipeable:Boolean,scrollspy:Boolean,offsetTop:y(0),background:String,lazyRender:m,showHeader:m,lineWidth:p,lineHeight:p,beforeChange:Function,swipeThreshold:y(5),titleActiveColor:String,titleInactiveColor:String},Hu=Symbol(Fu);var Vu=cr({name:Fu,props:Wu,emits:["change","scroll","rendered","clickTab","update:active"],setup(e,{emit:t,slots:n}){let r,i,s,a,l;const c=Xt(),u=Xt(),d=Xt(),f=Xt(),h=Eu(),p=nl(c),[m,v]=Cu(),{children:g,linkChildren:b}=ja(Hu),y=Mt({inited:!1,position:"",lineStyle:{},currentIndex:-1}),w=es((()=>g.length>+e.swipeThreshold||!e.ellipsis||e.shrink)),x=es((()=>({borderColor:e.color,background:e.background}))),S=(e,t)=>{var n;return null!=(n=e.name)?n:t},E=es((()=>{const e=g[y.currentIndex];if(e)return S(e,y.currentIndex)})),C=es((()=>Sl(e.offsetTop))),k=es((()=>e.sticky?C.value+r:0)),_=t=>{const n=u.value,r=m.value;if(!(w.value&&n&&r&&r[y.currentIndex]))return;const o=r[y.currentIndex].$el,i=o.offsetLeft-(n.offsetWidth-o.offsetWidth)/2;a&&a(),a=function(e,t,n){let r,o=0;const i=e.scrollLeft,s=0===n?1:Math.round(1e3*n/16);return function n(){e.scrollLeft+=(t-i)/s,++o<s&&(r=Pa(n))}(),function(){Ma(r)}}(n,i,t?0:+e.duration)},T=()=>{const t=y.inited;Sn((()=>{const n=m.value;if(!n||!n[y.currentIndex]||"line"!==e.type||pl(c.value))return;const r=n[y.currentIndex].$el,{lineWidth:i,lineHeight:s}=e,a=r.offsetLeft+r.offsetWidth/2,l={width:gl(i),backgroundColor:e.color,transform:"translateX(".concat(a,"px) translateX(-50%)")};if(t&&(l.transitionDuration="".concat(e.duration,"s")),o(s)){const e=gl(s);l.height=e,l.borderRadius=e}y.lineStyle=l}))},O=(n,r)=>{const i=(e=>{const t=e<y.currentIndex?-1:1;for(;e>=0&&e<g.length;){if(!g[e].disabled)return e;e+=t}})(n);if(!o(i))return;const a=g[i],l=S(a,i),u=null!==y.currentIndex;y.currentIndex!==i&&(y.currentIndex=i,r||_(),T()),l!==e.active&&(t("update:active",l),u&&t("change",l,a.title)),s&&!e.scrollspy&&ll(Math.ceil(cl(c.value)-C.value))},L=(e,t)=>{const n=g.find(((t,n)=>S(t,n)===e)),r=n?g.indexOf(n):0;O(r,t)},A=(t=!1)=>{if(e.scrollspy){const n=g[y.currentIndex].$el;if(n&&p.value){const r=cl(n,p.value)-k.value;i=!0,l&&l(),l=function(e,t,n,r){let o,i=il(e);const s=i<t,a=0===n?1:Math.round(1e3*n/16),l=(t-i)/a;return function n(){i+=l,(s&&i>t||!s&&i<t)&&(i=t),sl(e,i),s&&i<t||!s&&i>t?o=Pa(n):r&&(o=Pa(r))}(),function(){Ma(o)}}(p.value,r,t?0:+e.duration,(()=>{i=!1}))}}},I=(n,r,o)=>{const{title:i,disabled:s}=g[r],a=S(g[r],r);s||(ql(e.beforeChange,{args:[a],done:()=>{O(r),A()}}),cc(n)),t("clickTab",{name:a,title:i,event:o,disabled:s})},P=e=>{s=e.isFixed,t("scroll",e)},M=()=>{if("line"===e.type&&g.length)return _i("div",{class:ju("line"),style:y.lineStyle},null)},R=()=>{var t,r,o;const{type:i,border:s,sticky:a}=e,l=[_i("div",{ref:a?void 0:d,class:[ju("wrap"),{[Yl]:"line"===i&&s}]},[_i("div",{ref:u,role:"tablist",class:ju("nav",[i,{shrink:e.shrink,complete:w.value}]),style:x.value,"aria-orientation":"horizontal"},[null==(t=n["nav-left"])?void 0:t.call(n),g.map((e=>e.renderTitle(I))),M(),null==(r=n["nav-right"])?void 0:r.call(n)])]),null==(o=n["nav-bottom"])?void 0:o.call(n)];return a?_i("div",{ref:d},[l]):l},D=()=>{T(),Sn((()=>{var e,t;_(!0),null==(t=null==(e=f.value)?void 0:e.swipeRef.value)||t.resize()}))};qo((()=>[e.color,e.duration,e.lineWidth,e.lineHeight]),T),qo(ml,D),qo((()=>e.active),(e=>{e!==E.value&&L(e)})),qo((()=>g.length),(()=>{y.inited&&(L(e.active),T(),Sn((()=>{_(!0)})))}));return ac({resize:D,scrollTo:e=>{Sn((()=>{L(e),A(!0)}))}}),wr(T),Ql(T),Ga((()=>{L(e.active,!0),Sn((()=>{y.inited=!0,d.value&&(r=Na(d.value).height),_(!0)}))})),ku(c,T),qa("scroll",(()=>{if(e.scrollspy&&!i){const e=(()=>{for(let e=0;e<g.length;e++){const{top:t}=Na(g[e].$el);if(t>k.value)return 0===e?0:e-1}return g.length-1})();O(e)}}),{target:p,passive:!0}),b({id:h,props:e,setLine:T,scrollable:w,onRendered:(e,n)=>t("rendered",e,n),currentName:E,setTitleRefs:v,scrollIntoView:_}),()=>_i("div",{ref:c,class:ju([e.type])},[e.showHeader?e.sticky?_i(Lu,{container:c.value,offsetTop:C.value,onScroll:P},{default:()=>[R()]}):R():null,_i(zu,{ref:f,count:g.length,inited:y.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:y.currentIndex,onChange:O},{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n)]}})])}});const Yu=Symbol(),[Uu,Xu]=Bl("tab"),$u=cr({name:Uu,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:p,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:m},setup(e,{slots:t}){const n=es((()=>{const t={},{type:n,color:r,disabled:o,isActive:i,activeColor:s,inactiveColor:a}=e;r&&"card"===n&&(t.borderColor=r,o||(i?t.backgroundColor=r:t.color=r));const l=i?s:a;return l&&(t.color=l),t})),r=()=>{const n=_i("span",{class:Xu("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]);return e.dot||o(e.badge)&&""!==e.badge?_i(pc,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[n]}):n};return()=>_i("div",{id:e.id,role:"tab",class:[Xu([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:n.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[r()])}}),[Gu,qu]=Bl("swipe-item");const Zu=Zl(cr({name:Gu,setup(e,{slots:t}){let n;const r=Mt({offset:0,inited:!1,mounted:!1}),{parent:o,index:i}=Ba(Mu);if(!o)return;const s=es((()=>{const e={},{vertical:t}=o.props;return o.size.value&&(e[t?"height":"width"]="".concat(o.size.value,"px")),r.offset&&(e.transform="translate".concat(t?"Y":"X","(").concat(r.offset,"px)")),e})),a=es((()=>{const{loop:e,lazyRender:t}=o.props;if(!t||n)return!0;if(!r.mounted)return!1;const s=o.activeIndicator.value,a=o.count.value-1,l=0===s&&e?a:s-1,c=s===a&&e?0:s+1;return n=i.value===s||i.value===l||i.value===c,n}));return Lr((()=>{Sn((()=>{r.mounted=!0}))})),ac({setOffset:e=>{r.offset=e}}),()=>{var e;return _i("div",{class:qu(),style:s.value},[a.value?null==(e=t.default)?void 0:e.call(t):null])}}})),[Ju,Ku]=Bl("tab");var Qu=cr({name:Ju,props:t({},lc,{dot:Boolean,name:p,badge:p,title:String,disabled:Boolean,titleClass:h,titleStyle:[String,Object],showZeroBadge:m}),setup(e,{slots:t}){const n=Eu(),r=Xt(!1),o=ji(),{parent:i,index:s}=Ba(Hu);if(!i)return;const a=()=>{var t;return null!=(t=e.name)?t:s.value},l=es((()=>{const t=a()===i.currentName.value;return t&&!r.value&&(r.value=!0,i.props.lazyRender&&Sn((()=>{i.onRendered(a(),e.title)}))),t})),c=Xt(""),d=Xt("");Go((()=>{const{titleClass:t,titleStyle:n}=e;c.value=t?he(t):"",d.value=n&&"string"!=typeof n?function(e){if(!e)return"";if(z(e))return e;let t="";for(const n in e){const r=e[n];if(z(r)||"number"==typeof r){const e=n.startsWith("--")?n:K(n);t+="".concat(e,":").concat(r,";")}}return t}(le(n)):n}));const f=Xt(!l.value);return qo(l,(e=>{e?f.value=!1:Ra((()=>{f.value=!0}))})),qo((()=>e.title),(()=>{i.setLine(),i.scrollIntoView()})),xo(Yu,l),ac({id:n,renderTitle:r=>_i($u,Di({key:n,id:"".concat(i.id,"-").concat(s.value),ref:i.setTitleRefs(s.value),style:d.value,class:c.value,isActive:l.value,controls:n,scrollable:i.scrollable.value,activeColor:i.props.titleActiveColor,inactiveColor:i.props.titleInactiveColor,onClick:e=>r(o.proxy,s.value,e)},u(i.props,["type","color","shrink"]),u(e,["dot","badge","title","disabled","showZeroBadge"])),{title:t.title})}),()=>{var e;const o="".concat(i.id,"-").concat(s.value),{animated:a,swipeable:c,scrollspy:u,lazyRender:d}=i.props;if(!t.default&&!a)return;const h=u||l.value;if(a||c)return _i(Zu,{id:n,role:"tabpanel",class:Ku("panel-wrapper",{inactive:f.value}),tabindex:l.value?0:-1,"aria-hidden":!l.value,"aria-labelledby":o},{default:()=>{var e;return[_i("div",{class:Ku("panel")},[null==(e=t.default)?void 0:e.call(t)])]}});const p=r.value||u||!d?null==(e=t.default)?void 0:e.call(t):null;return Rn(_i("div",{id:n,role:"tabpanel",class:Ku("panel"),tabindex:h?0:-1,"aria-labelledby":o},[p]),[[Is,h]])}}});const ed=Zl(Qu),td=Zl(Vu),[nd,rd]=Bl("picker-group"),od=Symbol(nd);t({tabs:g(),activeTab:y(0),nextStepText:String},bu);const id=t({loading:Boolean,readonly:Boolean,allowHtml:Boolean,optionHeight:y(44),showToolbar:m,swipeDuration:y(1e3),visibleOptionNum:y(6)},bu);var sd=cr({name:su,props:t({},id,{columns:g(),modelValue:g(),toolbarPosition:w("top"),columnsFieldNames:Object}),emits:["confirm","cancel","change","scrollInto","clickOption","update:modelValue"],setup(e,{emit:n,slots:r}){const i=Xt(),s=Xt(e.modelValue.slice(0)),{parent:a}=Ba(od),{children:l,linkChildren:c}=ja(mu);c();const f=es((()=>function(e){return t({text:"text",value:"value",children:"children"},e)}(e.columnsFieldNames))),h=es((()=>Sl(e.optionHeight))),p=es((()=>function(e,t){const n=e[0];if(n){if(Array.isArray(n))return"multiple";if(t.children in n)return"cascade"}return"default"}(e.columns,f.value))),m=es((()=>{const{columns:t}=e;switch(p.value){case"multiple":return t;case"cascade":return function(e,t,n){const r=[];let i={[t.children]:e},s=0;for(;i&&i[t.children];){const e=i[t.children],a=n.value[s];i=o(a)?fu(e,a,t):void 0,!i&&e.length&&(i=fu(e,cu(e)[t.value],t)),s++,r.push(e)}return r}(t,f.value,s);default:return[t]}})),v=es((()=>m.value.some((e=>e.length)))),g=es((()=>m.value.map(((e,t)=>fu(e,s.value[t],f.value))))),b=es((()=>m.value.map(((e,t)=>e.findIndex((e=>e[f.value.value]===s.value[t])))))),y=(e,t)=>{if(s.value[e]!==t){const n=s.value.slice(0);n[e]=t,s.value=n}},w=()=>({selectedValues:s.value.slice(0),selectedOptions:g.value,selectedIndexes:b.value}),x=()=>{l.forEach((e=>e.stopMomentum()));const e=w();return Sn((()=>{n("confirm",e)})),e},S=()=>n("cancel",w()),E=()=>m.value.map(((o,i)=>_i(vu,{value:s.value[i],fields:f.value,options:o,readonly:e.readonly,allowHtml:e.allowHtml,optionHeight:h.value,swipeDuration:e.swipeDuration,visibleOptionNum:e.visibleOptionNum,onChange:e=>((e,r)=>{y(r,e),"cascade"===p.value&&s.value.forEach(((e,t)=>{const n=m.value[t];du(n,e,f.value)||y(t,n.length?n[0][f.value.value]:void 0)})),Sn((()=>{n("change",t({columnIndex:r},w()))}))})(e,i),onClickOption:e=>((e,r)=>{const o={columnIndex:r,currentOption:e};n("clickOption",t(w(),o)),n("scrollInto",o)})(e,i),onScrollInto:e=>{n("scrollInto",{currentOption:e,columnIndex:i})}},{option:r.option}))),C=e=>{if(v.value){const t={height:"".concat(h.value,"px")},n={backgroundSize:"100% ".concat((e-h.value)/2,"px")};return[_i("div",{class:au("mask"),style:n},null),_i("div",{class:[Ul,au("frame")],style:t},null)]}},k=()=>{const t=h.value*+e.visibleOptionNum,n={height:"".concat(t,"px")};return _i("div",{ref:i,class:au("columns"),style:n},[E(),C(t)])},_=()=>{if(e.showToolbar&&!a)return _i(xu,Di(u(e,wu),{onConfirm:x,onCancel:S}),u(r,yu))};let T;qo(m,(e=>{e.forEach(((e,t)=>{e.length&&!du(e,s.value[t],f.value)&&y(t,cu(e)[f.value.value])}))}),{immediate:!0}),qo((()=>e.modelValue),(e=>{d(e,s.value)||d(e,T)||(s.value=e.slice(0),T=e.slice(0))}),{deep:!0}),qo(s,(t=>{d(t,e.modelValue)||(T=t.slice(0),n("update:modelValue",T))}),{immediate:!0}),qa("touchmove",hl,{target:i});return ac({confirm:x,getSelectedOptions:()=>g.value}),()=>{var t,n;return _i("div",{class:au()},["top"===e.toolbarPosition?_():null,e.loading?_i(Lc,{class:au("loading")},null):null,null==(t=r["columns-top"])?void 0:t.call(r),k(),null==(n=r["columns-bottom"])?void 0:n.call(r),"bottom"===e.toolbarPosition?_():null])}}});const ad="000000",ld=["title","cancel","confirm","toolbar","columns-top","columns-bottom"],cd=["title","loading","readonly","optionHeight","swipeDuration","visibleOptionNum","cancelButtonText","confirmButtonText"],ud=(e="",t=ad,n=void 0)=>({text:e,value:t,children:n});function dd({areaList:e,columnsNum:t,columnsPlaceholder:n}){const{city_list:r={},county_list:o={},province_list:i={}}=e,s=+t>1,a=+t>2,l=new Map;Object.keys(i).forEach((e=>{l.set(e.slice(0,2),ud(i[e],e,(()=>{if(s)return n.length?[ud(n[0],ad,a?[]:void 0)]:[]})()))}));const c=new Map;if(s){const e=()=>{if(a)return n.length?[ud(n[1])]:[]};Object.keys(r).forEach((t=>{const n=ud(r[t],t,e());c.set(t.slice(0,4),n);const o=l.get(t.slice(0,2));o&&o.children.push(n)}))}a&&Object.keys(o).forEach((e=>{const t=c.get(e.slice(0,4));t&&t.children.push(ud(o[e],e))}));const u=Array.from(l.values());if(n.length){const e=a?[ud(n[2])]:void 0,t=s?[ud(n[1],ad,e)]:void 0;u.unshift(ud(n[0],ad,t))}return u}const fd=Zl(sd),[hd,pd]=Bl("area");var md=cr({name:hd,props:t({},u(id,cd),{modelValue:String,columnsNum:y(3),columnsPlaceholder:g(),areaList:{type:Object,default:()=>({})}}),emits:["change","confirm","cancel","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Xt([]),o=Xt(),i=es((()=>dd(e))),s=(...e)=>t("change",...e),a=(...e)=>t("cancel",...e),l=(...e)=>t("confirm",...e);return qo(r,(n=>{const r=n.length?n[n.length-1]:"";r&&r!==e.modelValue&&t("update:modelValue",r)}),{deep:!0}),qo((()=>e.modelValue),(t=>{if(t){t!==(r.value.length?r.value[r.value.length-1]:"")&&(r.value=["".concat(t.slice(0,2),"0000"),"".concat(t.slice(0,4),"00"),t].slice(0,+e.columnsNum))}else r.value=[]}),{immediate:!0}),ac({confirm:()=>{var e;return null==(e=o.value)?void 0:e.confirm()},getSelectedOptions:()=>{var e;return(null==(e=o.value)?void 0:e.getSelectedOptions())||[]}}),()=>_i(fd,Di({ref:o,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:pd(),columns:i.value,onChange:s,onCancel:a,onConfirm:l},u(e,cd)),u(n,ld))}});const vd=Zl(md),[gd,bd]=Bl("cell"),yd={tag:w("div"),icon:String,size:String,title:p,value:p,label:p,center:Boolean,isLink:Boolean,border:m,iconPrefix:String,valueClass:h,labelClass:h,titleClass:h,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}};var wd=cr({name:gd,props:t({},yd,lc),setup(e,{slots:t}){const n=uc(),r=()=>{if(t.label||o(e.label))return _i("div",{class:[bd("label"),e.labelClass]},[t.label?t.label():e.label])},i=()=>{var n;if(t.title||o(e.title)){const o=null==(n=t.title)?void 0:n.call(t);if(Array.isArray(o)&&0===o.length)return;return _i("div",{class:[bd("title"),e.titleClass],style:e.titleStyle},[o||_i("span",null,[e.title]),r()])}},s=()=>{const n=t.value||t.default;if(n||o(e.value))return _i("div",{class:[bd("value"),e.valueClass]},[n?n():_i("span",null,[e.value])])},a=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const t=e.arrowDirection&&"right"!==e.arrowDirection?"arrow-".concat(e.arrowDirection):"arrow";return _i(Sc,{name:t,class:bd("right-icon")},null)}};return()=>{var r;const{tag:o,size:l,center:c,border:u,isLink:d,required:f}=e,h=null!=(r=e.clickable)?r:d,p={center:c,required:!!f,clickable:h,borderless:!u};return l&&(p[l]=!!l),_i(o,{class:bd(p),role:h?"button":void 0,tabindex:h?0:void 0,onClick:n},{default:()=>{var n;return[t.icon?t.icon():e.icon?_i(Sc,{name:e.icon,class:bd("left-icon"),classPrefix:e.iconPrefix},null):void 0,i(),s(),a(),null==(n=t.extra)?void 0:n.call(t)]}})}}});const xd=Zl(wd),[Sd,Ed]=Bl("form");var Cd=cr({name:Sd,props:{colon:Boolean,disabled:Boolean,readonly:Boolean,required:[Boolean,String],showError:Boolean,labelWidth:p,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:m,showErrorMessage:m,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}},emits:["submit","failed"],setup(e,{emit:t,slots:n}){const{children:r,linkChildren:o}=ja($l),i=e=>e?r.filter((t=>e.includes(t.name))):r,s=t=>{return"string"==typeof t?(e=>{const t=r.find((t=>t.name===e));return t?new Promise(((e,n)=>{t.validate().then((t=>{t?n(t):e()}))})):Promise.reject()})(t):e.validateFirst?(n=t,new Promise(((e,t)=>{const r=[];i(n).reduce(((e,t)=>e.then((()=>{if(!r.length)return t.validate().then((e=>{e&&r.push(e)}))}))),Promise.resolve()).then((()=>{r.length?t(r):e()}))}))):(e=>new Promise(((t,n)=>{const r=i(e);Promise.all(r.map((e=>e.validate()))).then((e=>{(e=e.filter(Boolean)).length?n(e):t()}))})))(t);var n},a=(e,t)=>{r.some((n=>n.name===e&&(n.$el.scrollIntoView(t),!0)))},l=()=>r.reduce(((e,t)=>(void 0!==t.name&&(e[t.name]=t.formValue.value),e)),{}),c=()=>{const n=l();s().then((()=>t("submit",n))).catch((r=>{t("failed",{values:n,errors:r}),e.scrollToError&&r[0].name&&a(r[0].name)}))},u=e=>{hl(e),c()};return o({props:e}),ac({submit:c,validate:s,getValues:l,scrollToField:a,resetValidation:e=>{"string"==typeof e&&(e=[e]);i(e).forEach((e=>{e.resetValidation()}))},getValidationStatus:()=>r.reduce(((e,t)=>(e[t.name]=t.getValidationStatus(),e)),{})}),()=>{var e;return _i("form",{class:Ed(),onSubmit:u},[null==(e=n.default)?void 0:e.call(n)])}}});const kd=Zl(Cd);function _d(e){return Array.isArray(e)?!e.length:0!==e&&!e}function Td(e,t){const{message:n}=t;return i(n)?n(e,t):n||""}function Od({target:e}){e.composing=!0}function Ld({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function Ad(e){return[...e].length}function Id(e,t){return[...e].slice(0,t).join("")}const[Pd,Md]=Bl("field"),Rd={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:p,formatter:Function,clearIcon:w("clear"),modelValue:y(""),inputAlign:String,placeholder:String,autocomplete:String,autocapitalize:String,autocorrect:String,errorMessage:String,enterkeyhint:String,clearTrigger:w("focus"),formatTrigger:w("onChange"),spellcheck:{type:Boolean,default:null},error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}};var Dd=cr({name:Pd,props:t({},yd,Rd,{rows:p,type:w("text"),rules:Array,autosize:[Boolean,Object],labelWidth:p,labelClass:h,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}}),emits:["blur","focus","clear","keypress","clickInput","endValidate","startValidate","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:n}){const i=Eu(),a=Mt({status:"unvalidated",focused:!1,validateMessage:""}),l=Xt(),c=Xt(),u=Xt(),{parent:d}=Ba($l),h=()=>{var t;return String(null!=(t=e.modelValue)?t:"")},p=t=>o(e[t])?e[t]:d&&o(d.props[t])?d.props[t]:void 0,m=es((()=>{const t=p("readonly");if(e.clearable&&!t){const t=""!==h(),n="always"===e.clearTrigger||"focus"===e.clearTrigger&&a.focused;return t&&n}return!1})),v=es((()=>u.value&&n.input?u.value():e.modelValue)),g=es((()=>{var t;const n=p("required");return"auto"===n?null==(t=e.rules)?void 0:t.some((e=>e.required)):n})),b=e=>e.reduce(((e,t)=>e.then((()=>{if("failed"===a.status)return;let{value:e}=v;if(t.formatter&&(e=t.formatter(e,t)),!function(e,t){if(_d(e)){if(t.required)return!1;if(!1===t.validateEmpty)return!0}return!(t.pattern&&!t.pattern.test(String(e)))}(e,t))return a.status="failed",void(a.validateMessage=Td(e,t));if(t.validator){if(_d(e)&&!1===t.validateEmpty)return;return function(e,t){return new Promise((n=>{const r=t.validator(e,t);s(r)?r.then(n):n(r)}))}(e,t).then((n=>{n&&"string"==typeof n?(a.status="failed",a.validateMessage=n):!1===n&&(a.status="failed",a.validateMessage=Td(e,t))}))}}))),Promise.resolve()),y=()=>{a.status="unvalidated",a.validateMessage=""},w=()=>t("endValidate",{status:a.status,message:a.validateMessage}),x=(n=e.rules)=>new Promise((r=>{y(),n?(t("startValidate"),b(n).then((()=>{"failed"===a.status?(r({name:e.name,message:a.validateMessage}),w()):(a.status="passed",r(),w())}))):r()})),S=t=>{if(d&&e.rules){const{validateTrigger:n}=d.props,r=f(n).includes(t),o=e.rules.filter((e=>e.trigger?f(e.trigger).includes(t):r));o.length&&x(o)}},E=(n,r="onChange")=>{const i=n;n=(t=>{var n;const{maxlength:r}=e;if(o(r)&&Ad(t)>+r){const e=h();if(e&&Ad(e)===+r)return e;const o=null==(n=l.value)?void 0:n.selectionEnd;if(a.focused&&o){const e=[...t],n=e.length-+r;return e.splice(o-n,n),e.join("")}return Id(t,+r)}return t})(n);const s=Ad(i)-Ad(n);if("number"===e.type||"digit"===e.type){const t="number"===e.type;n=Ol(n,t,t)}let c=0;if(e.formatter&&r===e.formatTrigger){const{formatter:t,maxlength:r}=e;if(n=t(n),o(r)&&Ad(n)>+r&&(n=Id(n,+r)),l.value&&a.focused){const{selectionEnd:e}=l.value,n=Id(i,e);c=Ad(t(n))-Ad(n)}}if(l.value&&l.value.value!==n)if(a.focused){let{selectionStart:e,selectionEnd:t}=l.value;if(l.value.value=n,o(e)&&o(t)){const r=Ad(n);s?(e-=s,t-=s):c&&(e+=c,t+=c),l.value.setSelectionRange(Math.min(e,r),Math.min(t,r))}}else l.value.value=n;n!==e.modelValue&&t("update:modelValue",n)},C=e=>{e.target.composing||E(e.target.value)},k=()=>{var e;return null==(e=l.value)?void 0:e.blur()},_=()=>{var e;return null==(e=l.value)?void 0:e.focus()},T=()=>{const t=l.value;"textarea"===e.type&&e.autosize&&t&&function(e,t){const n=al();e.style.height="auto";let o=e.scrollHeight;if(r(t)){const{maxHeight:e,minHeight:n}=t;void 0!==e&&(o=Math.min(o,e)),void 0!==n&&(o=Math.max(o,n))}o&&(e.style.height="".concat(o,"px"),ll(n))}(t,e.autosize)},O=e=>{a.focused=!0,t("focus",e),Sn(T),p("readonly")&&k()},L=e=>{a.focused=!1,E(h(),"onBlur"),t("blur",e),p("readonly")||(S("onBlur"),Sn(T),dl())},A=e=>t("clickInput",e),I=e=>t("clickLeftIcon",e),P=e=>t("clickRightIcon",e),M=es((()=>"boolean"==typeof e.error?e.error:!(!d||!d.props.showError||"failed"!==a.status)||void 0)),R=es((()=>{const e=p("labelWidth"),t=p("labelAlign");if(e&&"top"!==t)return{width:gl(e)}})),D=n=>{if(13===n.keyCode){d&&d.props.submitOnEnter||"textarea"===e.type||hl(n),"search"===e.type&&k()}t("keypress",n)},N=()=>e.id||"".concat(i,"-input"),B=()=>{const t=Md("control",[p("inputAlign"),{error:M.value,custom:!!n.input,"min-height":"textarea"===e.type&&!e.autosize}]);if(n.input)return _i("div",{class:t,onClick:A},[n.input()]);const r={id:N(),ref:l,name:e.name,rows:void 0!==e.rows?+e.rows:void 0,class:t,disabled:p("disabled"),readonly:p("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,enterkeyhint:e.enterkeyhint,spellcheck:e.spellcheck,"aria-labelledby":e.label?"".concat(i,"-label"):void 0,onBlur:L,onFocus:O,onInput:C,onClick:A,onChange:Ld,onKeypress:D,onCompositionend:Ld,onCompositionstart:Od};return"textarea"===e.type?_i("textarea",r,null):_i("input",Di("number"===(o=e.type)?{type:"text",inputmode:"decimal"}:"digit"===o?{type:"tel",inputmode:"numeric"}:{type:o},r),null);var o},z=()=>{const t=n["right-icon"];if(e.rightIcon||t)return _i("div",{class:Md("right-icon"),onClick:P},[t?t():_i(Sc,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},F=()=>{if(e.showWordLimit&&e.maxlength){const t=Ad(h());return _i("div",{class:Md("word-limit")},[_i("span",{class:Md("word-num")},[t]),Li("/"),e.maxlength])}},j=()=>{if(d&&!1===d.props.showErrorMessage)return;const t=e.errorMessage||a.validateMessage;if(t){const e=n["error-message"],r=p("errorMessageAlign");return _i("div",{class:Md("error-message",r)},[e?e({message:t}):t])}},W=()=>[_i("div",{class:Md("body")},[B(),m.value&&_i(Sc,{ref:c,name:e.clearIcon,class:Md("clear")},null),z(),n.button&&_i("div",{class:Md("button")},[n.button()])]),F(),j()];return ac({blur:k,focus:_,validate:x,formValue:v,resetValidation:y,getValidationStatus:()=>a.status}),xo(rl,{customValue:u,resetValidation:y,validateWithTrigger:S}),qo((()=>e.modelValue),(()=>{E(h()),y(),S("onChange"),Sn(T)})),Lr((()=>{E(h(),e.formatTrigger),Sn(T)})),qa("touchstart",(e=>{hl(e),t("update:modelValue",""),t("clear",e)}),{target:es((()=>{var e;return null==(e=c.value)?void 0:e.$el}))}),()=>{const t=p("disabled"),r=p("labelAlign"),o=(()=>{const t=n["left-icon"];if(e.leftIcon||t)return _i("div",{class:Md("left-icon"),onClick:I},[t?t():_i(Sc,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])})();return _i(xd,{size:e.size,class:Md({error:M.value,disabled:t,["label-".concat(r)]:r}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:R.value,valueClass:Md("value"),titleClass:[Md("label",[r,{required:g.value}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:o&&"top"!==r?()=>o:null,title:()=>{const t=(()=>{const t=p("labelWidth"),r=p("labelAlign"),o=p("colon")?":":"";return n.label?[n.label(),o]:e.label?_i("label",{id:"".concat(i,"-label"),for:n.input?void 0:N(),onClick:e=>{hl(e),_()},style:"top"===r&&t?{width:gl(t)}:void 0},[e.label+o]):void 0})();return"top"===r?[o,t].filter(Boolean):t||[]},value:W,extra:n.extra})}}});const Nd=Zl(Dd);let Bd=0;const[zd,Fd]=Bl("toast"),jd=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"];var Wd=cr({name:zd,props:{icon:String,show:Boolean,type:w("text"),overlay:Boolean,message:p,iconSize:p,duration:b(2e3),position:w("middle"),teleport:[String,Object],wordBreak:String,className:h,iconPrefix:String,transition:w("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:h,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean},emits:["update:show"],setup(e,{emit:t,slots:n}){let r,i=!1;const s=()=>{const t=e.show&&e.forbidClick;i!==t&&(i=t,i?(Bd||document.body.classList.add("van-toast--unclickable"),Bd++):Bd&&(Bd--,Bd||document.body.classList.remove("van-toast--unclickable")))},a=e=>t("update:show",e),l=()=>{e.closeOnClick&&a(!1)},c=()=>clearTimeout(r),d=()=>{const{icon:t,type:n,iconSize:r,iconPrefix:o,loadingType:i}=e;return t||"success"===n||"fail"===n?_i(Sc,{name:t||n,size:r,class:Fd("icon"),classPrefix:o},null):"loading"===n?_i(Lc,{class:Fd("loading"),size:r,type:i},null):void 0},f=()=>{const{type:t,message:r}=e;return n.message?_i("div",{class:Fd("text")},[n.message()]):o(r)&&""!==r?"html"===t?_i("div",{key:0,class:Fd("text"),innerHTML:String(r)},null):_i("div",{class:Fd("text")},[r]):void 0};return qo((()=>[e.show,e.forbidClick]),s),qo((()=>[e.show,e.type,e.message,e.duration]),(()=>{c(),e.show&&e.duration>0&&(r=setTimeout((()=>{a(!1)}),e.duration))})),Lr(s),Mr(s),()=>_i(Qc,Di({class:[Fd([e.position,"normal"===e.wordBreak?"break-normal":e.wordBreak,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:l,onClosed:c,"onUpdate:show":a},u(e,jd)),{default:()=>[d(),f()]})}});function Hd(){const e=Mt({show:!1}),n=t=>{e.show=t},r=r=>{t(e,r,{transitionAppear:!0}),n(!0)},o=()=>n(!1);return ac({open:r,close:o,toggle:n}),{open:r,close:o,state:e,toggle:n}}function Vd(e){const t=Aa(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}let Yd=[],Ud=!1,Xd=t({},{icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1});const $d=new Map;function Gd(e){return r(e)?e:{message:e}}function qd(){if(!Yd.length||Ud){const e=function(){const{instance:e,unmount:t}=Vd({setup(){const n=Xt(""),{open:r,state:o,close:i,toggle:s}=Hd(),a=()=>{Ud&&(Yd=Yd.filter((t=>t!==e)),t())};return qo(n,(e=>{o.message=e})),ji().render=()=>_i(Wd,Di(o,{onClosed:a,"onUpdate:show":s}),null),{open:r,close:i,message:n}}});return e}();Yd.push(e)}return Yd[Yd.length-1]}function Zd(e={}){if(!n)return{};const r=qd(),o=Gd(e);return r.open(t({},Xd,$d.get(o.type||Xd.type),o)),r}const Jd=e=>n=>Zd(t({type:e},Gd(n))),Kd=Jd("loading"),Qd=Jd("success"),ef=e=>{var t;Yd.length&&(e?(Yd.forEach((e=>{e.close()})),Yd=[]):Ud?null==(t=Yd.shift())||t.close():Yd[0].close())},tf=(e=!0)=>{Ud=e};Zl(Wd);const[nf,rf]=Bl("switch");var of=cr({name:nf,props:{size:p,loading:Boolean,disabled:Boolean,modelValue:h,activeColor:String,inactiveColor:String,activeValue:{type:h,default:!0},inactiveValue:{type:h,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=()=>e.modelValue===e.activeValue,o=()=>{if(!e.disabled&&!e.loading){const n=r()?e.inactiveValue:e.activeValue;t("update:modelValue",n),t("change",n)}},i=()=>{if(e.loading){const t=r()?e.activeColor:e.inactiveColor;return _i(Lc,{class:rf("loading"),color:t},null)}if(n.node)return n.node()};return ol((()=>e.modelValue)),()=>{var t;const{size:s,loading:a,disabled:l,activeColor:c,inactiveColor:u}=e,d=r(),f={fontSize:gl(s),backgroundColor:d?c:u};return _i("div",{role:"switch",class:rf({on:d,loading:a,disabled:l}),style:f,tabindex:l?void 0:0,"aria-checked":d,onClick:o},[_i("div",{class:rf("node")},[i()]),null==(t=n.background)?void 0:t.call(n)])}}});const sf=Zl(of),[af,lf]=Bl("radio-group"),cf={shape:String,disabled:Boolean,iconSize:p,direction:String,modelValue:h,checkedColor:String},uf=Symbol(af);var df=cr({name:af,props:cf,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=ja(uf);return qo((()=>e.modelValue),(e=>t("change",e))),r({props:e,updateValue:e=>t("update:modelValue",e)}),ol((()=>e.modelValue)),()=>{var t;return _i("div",{class:lf([e.direction]),role:"radiogroup"},[null==(t=n.default)?void 0:t.call(n)])}}});const ff=Zl(df),hf={name:h,disabled:Boolean,iconSize:p,modelValue:h,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var pf=cr({props:t({},hf,{bem:v(Function),role:String,shape:String,parent:Object,checked:Boolean,bindGroup:m,indeterminate:{type:Boolean,default:null}}),emits:["click","toggle"],setup(e,{emit:t,slots:n}){const r=Xt(),o=t=>{if(e.parent&&e.bindGroup)return e.parent.props[t]},i=es((()=>{if(e.parent&&e.bindGroup){const t=o("disabled")||e.disabled;if("checkbox"===e.role){const n=o("modelValue").length,r=o("max");return t||r&&n>=+r&&!e.checked}return t}return e.disabled})),s=es((()=>o("direction"))),a=es((()=>{const t=e.checkedColor||o("checkedColor");if(t&&e.checked&&!i.value)return{borderColor:t,backgroundColor:t}})),l=es((()=>e.shape||o("shape")||"round")),c=n=>{const{target:o}=n,s=r.value,a=s===o||(null==s?void 0:s.contains(o));i.value||!a&&e.labelDisabled||t("toggle"),t("click",n)},u=()=>{var t,s;const{bem:c,checked:u,indeterminate:d}=e,f=e.iconSize||o("iconSize");return _i("div",{ref:r,class:c("icon",[l.value,{disabled:i.value,checked:u,indeterminate:d}]),style:"dot"!==l.value?{fontSize:gl(f)}:{width:gl(f),height:gl(f),borderColor:null==(t=a.value)?void 0:t.borderColor}},[n.icon?n.icon({checked:u,disabled:i.value}):"dot"!==l.value?_i(Sc,{name:d?"minus":"success",style:a.value},null):_i("div",{class:c("icon--dot__icon"),style:{backgroundColor:null==(s=a.value)?void 0:s.backgroundColor}},null)])},d=()=>{const{checked:t}=e;if(n.default)return _i("span",{class:e.bem("label",[e.labelPosition,{disabled:i.value}])},[n.default({checked:t,disabled:i.value})])};return()=>{const t="left"===e.labelPosition?[d(),u()]:[u(),d()];return _i("div",{role:e.role,class:e.bem([{disabled:i.value,"label-disabled":e.labelDisabled},s.value]),tabindex:i.value?void 0:0,"aria-checked":e.checked,onClick:c},[t])}}});const mf=t({},hf,{shape:String}),[vf,gf]=Bl("radio");var bf=cr({name:vf,props:mf,emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:r}=Ba(uf),o=()=>{r?r.updateValue(e.name):t("update:modelValue",e.name)};return()=>_i(pf,Di({bem:gf,role:"radio",parent:r,checked:(r?r.props.modelValue:e.modelValue)===e.name,onToggle:o},e),u(n,["default","icon"]))}});const yf=Zl(bf),wf=Ia&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,xf="event",Sf="observer";function Ef(e,t){if(!e.length)return;const n=e.indexOf(t);return n>-1?e.splice(n,1):void 0}function Cf(e,t){if("IMG"!==e.tagName||!e.getAttribute("data-srcset"))return;let n=e.getAttribute("data-srcset");const r=e.parentNode.offsetWidth*t;let o,i,s;n=n.trim().split(",");const a=n.map((e=>(e=e.trim(),o=e.lastIndexOf(" "),-1===o?(i=e,s=999998):(i=e.substr(0,o),s=parseInt(e.substr(o+1,e.length-o-2),10)),[s,i])));a.sort(((e,t)=>{if(e[0]<t[0])return 1;if(e[0]>t[0])return-1;if(e[0]===t[0]){if(-1!==t[1].indexOf(".webp",t[1].length-5))return 1;if(-1!==e[1].indexOf(".webp",e[1].length-5))return-1}return 0}));let l,c="";for(let u=0;u<a.length;u++){l=a[u],c=l[1];const e=a[u+1];if(e&&e[0]<r){c=l[1];break}if(!e){c=l[1];break}}return c}const kf=(e=1)=>Ia&&window.devicePixelRatio||e;function _f(){if(!Ia)return!1;let e=!0;try{const t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=0===t.toDataURL("image/webp").indexOf("data:image/webp"))}catch(t){e=!1}return e}function Tf(e,t){let n=null,r=0;return function(...o){if(n)return;const i=()=>{r=Date.now(),n=!1,e.apply(this,o)};Date.now()-r>=t?i():n=setTimeout(i,t)}}function Of(e,t,n){e.addEventListener(t,n,{capture:!1,passive:!0})}function Lf(e,t,n){e.removeEventListener(t,n,!1)}const Af=(e,t,n)=>{const r=new Image;if(!e||!e.src)return n(new Error("image src is required"));r.src=e.src,e.cors&&(r.crossOrigin=e.cors),r.onload=()=>t({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src}),r.onerror=e=>n(e)};class If{constructor({max:e}){this.options={max:e||100},this.caches=[]}has(e){return this.caches.indexOf(e)>-1}add(e){this.has(e)||(this.caches.push(e),this.caches.length>this.options.max&&this.free())}free(){this.caches.shift()}}const[Pf,Mf]=Bl("back-top");var Rf=cr({name:Pf,inheritAttrs:!1,props:{right:p,bottom:p,zIndex:p,target:[String,Object],offset:y(200),immediate:Boolean,teleport:{type:[String,Object],default:"body"}},emits:["click"],setup(e,{emit:r,slots:o,attrs:i}){let s=!1;const a=Xt(!1),l=Xt(),c=Xt(),u=es((()=>t(yl(e.zIndex),{right:gl(e.right),bottom:gl(e.bottom)}))),d=t=>{var n;r("click",t),null==(n=c.value)||n.scrollTo({top:0,behavior:e.immediate?"auto":"smooth"})},f=()=>{a.value=!!c.value&&il(c.value)>=+e.offset},h=()=>{n&&Sn((()=>{c.value=e.target?(()=>{const{target:t}=e;if("string"!=typeof t)return t;{const e=document.querySelector(t);if(e)return e}})():tl(l.value),f()}))};return qa("scroll",Tf(f,100),{target:c}),Lr(h),wr((()=>{s&&(a.value=!0,s=!1)})),xr((()=>{a.value&&e.teleport&&(a.value=!1,s=!0)})),qo((()=>e.target),h),()=>{const t=_i("div",Di({ref:e.teleport?void 0:l,class:Mf({active:a.value}),style:u.value,onClick:d},i),[o.default?o.default():_i(Sc,{name:"back-top",class:Mf("icon")},null)]);return e.teleport?[_i("div",{ref:l,class:Mf("placeholder")},null),_i(Un,{to:e.teleport},{default:()=>[t]})]:t}}});const Df=Zl(Rf),[Nf,Bf,zf]=Bl("calendar");function Ff(e,t){const n=e.getFullYear(),r=t.getFullYear();if(n===r){const n=e.getMonth(),r=t.getMonth();return n===r?0:n>r?1:-1}return n>r?1:-1}function jf(e,t){const n=Ff(e,t);if(0===n){const n=e.getDate(),r=t.getDate();return n===r?0:n>r?1:-1}return n}const Wf=e=>new Date(e),Hf=e=>Array.isArray(e)?e.map(Wf):Wf(e);function Vf(e,t){const n=Wf(e);return n.setDate(n.getDate()+t),n}const Yf=e=>Vf(e,-1),Uf=e=>Vf(e,1),Xf=()=>{const e=new Date;return e.setHours(0,0,0,0),e};const $f=t({},id,{modelValue:g(),filter:Function,formatter:{type:Function,default:(e,t)=>t}}),Gf=Object.keys(id);const qf=(e,t)=>32-new Date(e,t-1,32).getDate(),Zf=(e,t,n,r,o,i)=>{const s=function(e,t){if(e<0)return[];const n=Array(e);let r=-1;for(;++r<e;)n[r]=t(r);return n}(t-e+1,(t=>{const o=kl(e+t);return r(n,{text:o,value:o})}));return o?o(n,s,i):s},[Jf]=Bl("calendar-day");var Kf=cr({name:Jf,props:{item:v(Object),color:String,index:Number,offset:b(0),rowHeight:String},emits:["click","clickDisabledDate"],setup(e,{emit:t,slots:n}){const r=es((()=>{var t;const{item:n,index:r,color:o,offset:i,rowHeight:s}=e,a={height:s};if("placeholder"===n.type)return a.width="100%",a;if(0===r&&(a.marginLeft="".concat(100*i/7,"%")),o)switch(n.type){case"end":case"start":case"start-end":case"multiple-middle":case"multiple-selected":a.background=o;break;case"middle":a.color=o}return i+((null==(t=n.date)?void 0:t.getDate())||1)>28&&(a.marginBottom=0),a})),o=()=>{"disabled"!==e.item.type?t("click",e.item):t("clickDisabledDate",e.item)},i=()=>{const{topInfo:t}=e.item;if(t||n["top-info"])return _i("div",{class:Bf("top-info")},[n["top-info"]?n["top-info"](e.item):t])},s=()=>{const{bottomInfo:t}=e.item;if(t||n["bottom-info"])return _i("div",{class:Bf("bottom-info")},[n["bottom-info"]?n["bottom-info"](e.item):t])},a=()=>{const{item:t,color:n,rowHeight:r}=e,{type:o,text:a}=t,l=[i(),a,s()];return"selected"===o?_i("div",{class:Bf("selected-day"),style:{width:r,height:r,background:n}},[l]):l};return()=>{const{type:t,className:n}=e.item;return"placeholder"===t?_i("div",{class:Bf("day"),style:r.value},null):_i("div",{role:"gridcell",style:r.value,class:[Bf("day",t),n],tabindex:"disabled"===t?void 0:-1,onClick:o},[a()])}}});const[Qf]=Bl("calendar-month");var eh=cr({name:Qf,props:{date:v(Date),type:String,color:String,minDate:v(Date),maxDate:v(Date),showMark:Boolean,rowHeight:p,formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},emits:["click","clickDisabledDate"],setup(e,{emit:t,slots:n}){const[r,o]=function(e=!1){const t=Xt(e);return[t,(e=!t.value)=>{t.value=e}]}(),i=Xt(),s=Xt(),a=ec(s),l=es((()=>{return t=e.date,zf("monthTitle",t.getFullYear(),t.getMonth()+1);var t})),c=es((()=>gl(e.rowHeight))),d=es((()=>{const t=e.date.getDay();return e.firstDayOfWeek?(t+7-e.firstDayOfWeek)%7:t})),f=es((()=>qf(e.date.getFullYear(),e.date.getMonth()+1))),h=es((()=>r.value||!e.lazyRender)),p=t=>{const{type:n,minDate:r,maxDate:o,currentDate:i}=e;if(jf(t,r)<0||jf(t,o)>0)return"disabled";if(null===i)return"";if(Array.isArray(i)){if("multiple"===n)return(t=>{const n=t=>e.currentDate.some((e=>0===jf(e,t)));if(n(t)){const e=Yf(t),r=Uf(t),o=n(e),i=n(r);return o&&i?"multiple-middle":o?"end":i?"start":"multiple-selected"}return""})(t);if("range"===n)return(t=>{const[n,r]=e.currentDate;if(!n)return"";const o=jf(t,n);if(!r)return 0===o?"start":"";const i=jf(t,r);return e.allowSameDay&&0===o&&0===i?"start-end":0===o?"start":0===i?"end":o>0&&i<0?"middle":""})(t)}else if("single"===n)return 0===jf(t,i)?"selected":"";return""},m=t=>{if("range"===e.type){if("start"===t||"end"===t)return zf(t);if("start-end"===t)return"".concat(zf("start"),"/").concat(zf("end"))}},v=()=>{if(e.showMonthTitle)return _i("div",{class:Bf("month-title")},[n["month-title"]?n["month-title"]({date:e.date,text:l.value}):l.value])},g=()=>{if(e.showMark&&h.value)return _i("div",{class:Bf("month-mark")},[e.date.getMonth()+1])},b=es((()=>{const e=Math.ceil((f.value+d.value)/7);return Array(e).fill({type:"placeholder"})})),y=es((()=>{const t=[],n=e.date.getFullYear(),r=e.date.getMonth();for(let o=1;o<=f.value;o++){const i=new Date(n,r,o),s=p(i);let a={date:i,type:s,text:o,bottomInfo:m(s)};e.formatter&&(a=e.formatter(a)),t.push(a)}return t})),w=es((()=>y.value.filter((e=>"disabled"===e.type)))),x=(r,o)=>_i(Kf,{item:r,index:o,color:e.color,offset:d.value,rowHeight:c.value,onClick:e=>t("click",e),onClickDisabledDate:e=>t("clickDisabledDate",e)},u(n,["top-info","bottom-info"]));return ac({getTitle:()=>l.value,getHeight:()=>a.value,setVisible:o,scrollToDate:(e,t)=>{if(i.value){const n=Na(i.value),r=b.value.length,o=(Math.ceil((t.getDate()+d.value)/7)-1)*n.height/r;sl(e,n.top+o+e.scrollTop-Na(e).top)}},disabledDays:w}),()=>_i("div",{class:Bf("month"),ref:s},[v(),_i("div",{ref:i,role:"grid",class:Bf("days")},[g(),(h.value?y:b).value.map(x)])])}});const[th]=Bl("calendar-header");var nh=cr({name:th,props:{date:Date,title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},emits:["clickSubtitle"],setup(e,{slots:t,emit:n}){const r=()=>{if(e.showTitle){const n=e.title||zf("title"),r=t.title?t.title():n;return _i("div",{class:Bf("header-title")},[r])}},o=e=>n("clickSubtitle",e),i=()=>{if(e.showSubtitle){const n=t.subtitle?t.subtitle({date:e.date,text:e.subtitle}):e.subtitle;return _i("div",{class:Bf("header-subtitle"),onClick:o},[n])}},s=()=>{const{firstDayOfWeek:t}=e,n=zf("weekdays"),r=[...n.slice(t,7),...n.slice(0,t)];return _i("div",{class:Bf("weekdays")},[r.map((e=>_i("span",{class:Bf("weekday")},[e])))])};return()=>_i("div",{class:Bf("header")},[r(),i(),s()])}});var rh=cr({name:Nf,props:{show:Boolean,type:w("single"),title:String,color:String,round:m,readonly:Boolean,poppable:m,maxRange:y(null),position:w("bottom"),teleport:[String,Object],showMark:m,showTitle:m,formatter:Function,rowHeight:p,confirmText:String,rangePrompt:String,lazyRender:m,showConfirm:m,defaultDate:[Date,Array],allowSameDay:Boolean,showSubtitle:m,closeOnPopstate:m,showRangePrompt:m,confirmDisabledText:String,closeOnClickOverlay:m,safeAreaInsetTop:Boolean,safeAreaInsetBottom:m,minDate:{type:Date,validator:a,default:Xf},maxDate:{type:Date,validator:a,default:()=>{const e=Xf();return new Date(e.getFullYear(),e.getMonth()+6,e.getDate())}},firstDayOfWeek:{type:p,default:0,validator:e=>e>=0&&e<=6}},emits:["select","confirm","unselect","monthShow","overRange","update:show","clickSubtitle","clickDisabledDate"],setup(e,{emit:t,slots:n}){const r=(t,n=e.minDate,r=e.maxDate)=>-1===jf(t,n)?n:1===jf(t,r)?r:t,o=(t=e.defaultDate)=>{const{type:n,minDate:o,maxDate:i,allowSameDay:s}=e;if(null===t)return t;const a=Xf();if("range"===n){Array.isArray(t)||(t=[]);return[r(t[0]||a,o,s?i:Yf(i)),r(t[1]||a,s?o:Uf(o))]}return"multiple"===n?Array.isArray(t)?t.map((e=>r(e))):[r(a)]:(t&&!Array.isArray(t)||(t=a),r(t))};let i;const s=Xt(),l=Xt({textFn:()=>"",date:void 0}),c=Xt(o()),[d,f]=Cu(),h=es((()=>e.firstDayOfWeek?+e.firstDayOfWeek%7:0)),p=es((()=>{const t=[],n=new Date(e.minDate);n.setDate(1);do{t.push(new Date(n)),n.setMonth(n.getMonth()+1)}while(1!==Ff(n,e.maxDate));return t})),m=es((()=>{if(c.value){if("range"===e.type)return!c.value[0]||!c.value[1];if("multiple"===e.type)return!c.value.length}return!c.value})),v=()=>{const e=il(s.value),n=e+i,r=p.value.map(((e,t)=>d.value[t].getHeight()));if(n>r.reduce(((e,t)=>e+t),0)&&e>0)return;let o,a=0;const c=[-1,-1];for(let i=0;i<p.value.length;i++){const s=d.value[i];a<=n&&a+r[i]>=e&&(c[1]=i,o||(o=s,c[0]=i),d.value[i].showed||(d.value[i].showed=!0,t("monthShow",{date:s.date,title:s.getTitle()}))),a+=r[i]}p.value.forEach(((e,t)=>{const n=t>=c[0]-1&&t<=c[1]+1;d.value[t].setVisible(n)})),o&&(l.value={textFn:o.getTitle,date:o.date})},g=e=>{Pa((()=>{p.value.some(((t,n)=>0===Ff(t,e)&&(s.value&&d.value[n].scrollToDate(s.value,e),!0))),v()}))},b=()=>{if(!e.poppable||e.show)if(c.value){const t="single"===e.type?c.value:c.value[0];a(t)&&g(t)}else Pa(v)},y=()=>{e.poppable&&!e.show||(Pa((()=>{i=Math.floor(Na(s).height)})),b())},w=(e=o())=>{c.value=e,b()},x=()=>{var e;return t("confirm",null!=(e=c.value)?e:Hf(c.value))},S=(n,r)=>{const o=e=>{c.value=e,t("select",Hf(e))};if(r&&"range"===e.type){const r=(n=>{const{maxRange:r,rangePrompt:o,showRangePrompt:i}=e;return!(r&&function(e){const t=e[0].getTime();return(e[1].getTime()-t)/864e5+1}(n)>+r&&(i&&Zd(o||zf("rangePrompt",r)),t("overRange"),1))})(n);if(!r)return void o([n[0],Vf(n[0],+e.maxRange-1)])}o(n),r&&!e.showConfirm&&x()},E=es((()=>d.value.reduce(((e,t)=>{var n,r;return e.push(...null!=(r=null==(n=t.disabledDays)?void 0:n.value)?r:[]),e}),[]))),C=n=>{if(e.readonly||!n.date)return;const{date:r}=n,{type:o}=e;if("range"===o){if(!c.value)return void S([r]);const[t,n]=c.value;if(t&&!n){const n=jf(r,t);if(1===n){const e=((e,t,n)=>{var r;return null==(r=e.find((e=>-1===jf(t,e.date)&&-1===jf(e.date,n))))?void 0:r.date})(E.value,t,r);if(e){const n=Yf(e);-1===jf(t,n)?S([t,n]):S([r])}else S([t,r],!0)}else-1===n?S([r]):e.allowSameDay&&S([r,r],!0)}else S([r])}else if("multiple"===o){if(!c.value)return void S([r]);const n=c.value,o=n.findIndex((e=>0===jf(e,r)));if(-1!==o){const[e]=n.splice(o,1);t("unselect",Wf(e))}else e.maxRange&&n.length>=+e.maxRange?Zd(e.rangePrompt||zf("rangePrompt",e.maxRange)):S([...n,r])}else S(r,!0)},k=e=>t("update:show",e),_=(r,o)=>{const i=0!==o||!e.showSubtitle;return _i(eh,Di({ref:f(o),date:r,currentDate:c.value,showMonthTitle:i,firstDayOfWeek:h.value},u(e,["type","color","minDate","maxDate","showMark","formatter","rowHeight","lazyRender","showSubtitle","allowSameDay"]),{onClick:C,onClickDisabledDate:e=>t("clickDisabledDate",e)}),u(n,["top-info","bottom-info","month-title"]))},T=()=>{if(n.footer)return n.footer();if(e.showConfirm){const t=n["confirm-text"],r=m.value,o=r?e.confirmDisabledText:e.confirmText;return _i(Mc,{round:!0,block:!0,type:"primary",color:e.color,class:Bf("confirm"),disabled:r,nativeType:"button",onClick:x},{default:()=>[t?t({disabled:r}):o||zf("confirm")]})}},O=()=>{const r=l.value.textFn();return _i("div",{class:Bf()},[_i(nh,{date:l.value.date,title:e.title,subtitle:r,showTitle:e.showTitle,showSubtitle:e.showSubtitle,firstDayOfWeek:h.value,onClickSubtitle:e=>t("clickSubtitle",e)},u(n,["title","subtitle"])),_i("div",{ref:s,class:Bf("body"),onScroll:v},[p.value.map(_)]),_i("div",{class:[Bf("footer"),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[T()])])};return qo((()=>e.show),y),qo((()=>[e.type,e.minDate,e.maxDate]),(()=>w(o(c.value)))),qo((()=>e.defaultDate),((e=null)=>{c.value=e,b()})),ac({reset:w,scrollToDate:g,getSelectedDate:()=>c.value}),Ga(y),()=>e.poppable?_i(Qc,{show:e.show,class:Bf("popup"),round:e.round,position:e.position,closeable:e.showTitle||e.showSubtitle,teleport:e.teleport,closeOnPopstate:e.closeOnPopstate,safeAreaInsetTop:e.safeAreaInsetTop,closeOnClickOverlay:e.closeOnClickOverlay,"onUpdate:show":k},{default:O}):O()}});const oh=Zl(rh),[ih,sh]=Bl("image");var ah=cr({name:ih,props:{src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:p,height:p,radius:p,lazyLoad:Boolean,iconSize:p,showError:m,errorIcon:w("photo-fail"),iconPrefix:String,showLoading:m,loadingIcon:w("photo")},emits:["load","error"],setup(e,{emit:t,slots:r}){const i=Xt(!1),s=Xt(!0),a=Xt(),{$Lazyload:l}=ji().proxy,c=es((()=>{const t={width:gl(e.width),height:gl(e.height)};return o(e.radius)&&(t.overflow="hidden",t.borderRadius=gl(e.radius)),t}));qo((()=>e.src),(()=>{i.value=!1,s.value=!0}));const u=e=>{s.value&&(s.value=!1,t("load",e))},d=()=>{const e=new Event("load");Object.defineProperty(e,"target",{value:a.value,enumerable:!0}),u(e)},f=e=>{i.value=!0,s.value=!1,t("error",e)},h=(t,n,r)=>r?r():_i(Sc,{name:t,size:e.iconSize,class:n,classPrefix:e.iconPrefix},null),p=()=>{if(i.value||!e.src)return;const t={alt:e.alt,class:sh("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?Rn(_i("img",Di({ref:a},t),null),[[Hr("lazy"),e.src]]):_i("img",Di({ref:a,src:e.src,onLoad:u,onError:f},t),null)},m=({el:e})=>{const t=()=>{e===a.value&&s.value&&d()};a.value?t():Sn(t)},v=({el:e})=>{e!==a.value||i.value||f()};return l&&n&&(l.$on("loaded",m),l.$on("error",v),Pr((()=>{l.$off("loaded",m),l.$off("error",v)}))),Lr((()=>{Sn((()=>{var t;(null==(t=a.value)?void 0:t.complete)&&!e.lazyLoad&&d()}))})),()=>{var t;return _i("div",{class:sh({round:e.round,block:e.block}),style:c.value},[p(),s.value&&e.showLoading?_i("div",{class:sh("loading")},[h(e.loadingIcon,sh("loading-icon"),r.loading)]):i.value&&e.showError?_i("div",{class:sh("error")},[h(e.errorIcon,sh("error-icon"),r.error)]):void 0,null==(t=r.default)?void 0:t.call(r)])}}});const lh=Zl(ah),[ch,uh]=Bl("cell-group");var dh=cr({name:ch,inheritAttrs:!1,props:{title:String,inset:Boolean,border:m},setup(e,{slots:t,attrs:n}){const r=()=>{var r;return _i("div",Di({class:[uh({inset:e.inset}),{[Yl]:e.border&&!e.inset}]},n,Yc()),[null==(r=t.default)?void 0:r.call(t)])};return()=>e.title||t.title?_i(ci,null,[_i("div",{class:uh("title",{inset:e.inset})},[t.title?t.title():e.title]),r()]):r()}});const fh=Zl(dh),[hh,ph]=Bl("checkbox-group"),mh=Symbol(hh),[vh,gh]=Bl("checkbox");var bh=cr({name:vh,props:t({},hf,{shape:String,bindGroup:m,indeterminate:{type:Boolean,default:null}}),emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:r}=Ba(mh),o=es((()=>r&&e.bindGroup?-1!==r.props.modelValue.indexOf(e.name):!!e.modelValue)),i=(n=!o.value)=>{r&&e.bindGroup?(t=>{const{name:n}=e,{max:o,modelValue:i}=r.props,s=i.slice();if(t)o&&s.length>=+o||s.includes(n)||(s.push(n),e.bindGroup&&r.updateValue(s));else{const t=s.indexOf(n);-1!==t&&(s.splice(t,1),e.bindGroup&&r.updateValue(s))}})(n):t("update:modelValue",n),null!==e.indeterminate&&t("change",n)};return qo((()=>e.modelValue),(n=>{null===e.indeterminate&&t("change",n)})),ac({toggle:i,props:e,checked:o}),ol((()=>e.modelValue)),()=>_i(pf,Di({bem:gh,role:"checkbox",parent:r,checked:o.value,onToggle:i},e),u(n,["default","icon"]))}});const yh=Zl(bh),[wh,xh]=Bl("row"),Sh=Symbol(wh);var Eh=cr({name:wh,props:{tag:w("div"),wrap:m,align:String,gutter:{type:[String,Number,Array],default:0},justify:String},setup(e,{slots:t}){const{children:n,linkChildren:r}=ja(Sh),o=es((()=>{const e=[[]];let t=0;return n.forEach(((n,r)=>{t+=Number(n.span),t>24?(e.push([r]),t-=24):e[e.length-1].push(r)})),e}));return r({spaces:es((()=>{let t=0;t=Array.isArray(e.gutter)?Number(e.gutter[0])||0:Number(e.gutter);const n=[];return t?(o.value.forEach((e=>{const r=t*(e.length-1)/e.length;e.forEach(((e,o)=>{if(0===o)n.push({right:r});else{const o=t-n[e-1].right,i=r-o;n.push({left:o,right:i})}}))})),n):n})),verticalSpaces:es((()=>{const{gutter:t}=e,n=[];if(Array.isArray(t)&&t.length>1){const e=Number(t[1])||0;if(e<=0)return n;o.value.forEach(((t,r)=>{r!==o.value.length-1&&t.forEach((()=>{n.push({bottom:e})}))}))}return n}))}),()=>{const{tag:n,wrap:r,align:o,justify:i}=e;return _i(n,{class:xh({["align-".concat(o)]:o,["justify-".concat(i)]:i,nowrap:!r})},{default:()=>{var e;return[null==(e=t.default)?void 0:e.call(t)]}})}}});const[Ch,kh]=Bl("col");var _h=cr({name:Ch,props:{tag:w("div"),span:y(0),offset:p},setup(e,{slots:n}){const{parent:r,index:o}=Ba(Sh),i=es((()=>{if(!r)return;const{spaces:e,verticalSpaces:n}=r;let i={};if(e&&e.value&&e.value[o.value]){const{left:t,right:n}=e.value[o.value];i={paddingLeft:t?"".concat(t,"px"):null,paddingRight:n?"".concat(n,"px"):null}}const{bottom:s}=n.value[o.value]||{};return t(i,{marginBottom:s?"".concat(s,"px"):null})}));return()=>{const{tag:t,span:r,offset:o}=e;return _i(t,{style:i.value,class:kh({[r]:r,["offset-".concat(o)]:o})},{default:()=>{var e;return[null==(e=n.default)?void 0:e.call(n)]}})}}});const Th=Zl(_h),[Oh,Lh]=Bl("empty");var Ah=cr({name:Oh,props:{image:w("default"),imageSize:[Number,String,Array],description:String},setup(e,{slots:t}){const n=()=>{const n=t.description?t.description():e.description;if(n)return _i("p",{class:Lh("description")},[n])},r=()=>{if(t.default)return _i("div",{class:Lh("bottom")},[t.default()])},o=Eu(),i=e=>"".concat(o,"-").concat(e),s=e=>"url(#".concat(i(e),")"),a=(e,t,n)=>_i("stop",{"stop-color":e,offset:"".concat(t,"%"),"stop-opacity":n},null),l=(e,t)=>[a(e,0),a(t,100)],c=e=>[_i("defs",null,[_i("radialGradient",{id:i(e),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[a("#EBEDF0",0),a("#F2F3F5",100,.3)])]),_i("ellipse",{fill:s(e),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],u=()=>[_i("defs",null,[_i("linearGradient",{id:i("a"),x1:"64%",y1:"100%",x2:"64%"},[a("#FFF",0,.5),a("#F2F3F5",100)])]),_i("g",{opacity:".8"},[_i("path",{d:"M36 131V53H16v20H2v58h34z",fill:s("a")},null),_i("path",{d:"M123 15h22v14h9v77h-31V15z",fill:s("a")},null)])],d=()=>[_i("defs",null,[_i("linearGradient",{id:i("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[a("#F2F3F5",0,.3),a("#F2F3F5",100)])]),_i("g",{opacity:".8"},[_i("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:s("b")},null),_i("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:s("b")},null)])],f=()=>_i("svg",{viewBox:"0 0 160 160"},[_i("defs",null,[_i("linearGradient",{id:i(1),x1:"64%",y1:"100%",x2:"64%"},[a("#FFF",0,.5),a("#F2F3F5",100)]),_i("linearGradient",{id:i(2),x1:"50%",x2:"50%",y2:"84%"},[a("#EBEDF0",0),a("#DCDEE0",100,0)]),_i("linearGradient",{id:i(3),x1:"100%",x2:"100%",y2:"100%"},[l("#EAEDF0","#DCDEE0")]),_i("radialGradient",{id:i(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[a("#EBEDF0",0),a("#FFF",100,0)])]),_i("g",{fill:"none"},[u(),_i("path",{fill:s(4),d:"M0 139h160v21H0z"},null),_i("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:s(2)},null),_i("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[_i("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:s(3)},null),_i("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:s(3)},null),_i("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:s(3)},null),_i("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:s(3)},null)]),_i("g",{transform:"translate(31 105)"},[_i("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),_i("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),_i("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),h=()=>_i("svg",{viewBox:"0 0 160 160"},[_i("defs",null,[_i("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(5)},[l("#F2F3F5","#DCDEE0")]),_i("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:i(6)},[l("#EAEDF1","#DCDEE0")]),_i("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:i(7)},[l("#EAEDF1","#DCDEE0")])]),u(),d(),_i("g",{transform:"translate(36 50)",fill:"none"},[_i("g",{transform:"translate(8)"},[_i("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),_i("rect",{fill:s(5),width:"64",height:"66",rx:"2"},null),_i("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),_i("g",{transform:"translate(15 17)",fill:s(6)},[_i("rect",{width:"34",height:"6",rx:"1"},null),_i("path",{d:"M0 14h34v6H0z"},null),_i("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),_i("rect",{fill:s(7),y:"61",width:"88",height:"28",rx:"1"},null),_i("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),p=()=>_i("svg",{viewBox:"0 0 160 160"},[_i("defs",null,[_i("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(8)},[l("#EAEDF1","#DCDEE0")])]),u(),d(),c("c"),_i("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:s(8)},null)]),m=()=>_i("svg",{viewBox:"0 0 160 160"},[_i("defs",null,[_i("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:i(9)},[l("#EEE","#D8D8D8")]),_i("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:i(10)},[l("#F2F3F5","#DCDEE0")]),_i("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(11)},[l("#F2F3F5","#DCDEE0")]),_i("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:i(12)},[l("#FFF","#F7F8FA")])]),u(),d(),c("d"),_i("g",{transform:"rotate(-45 113 -4)",fill:"none"},[_i("rect",{fill:s(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),_i("rect",{fill:s(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),_i("circle",{stroke:s(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),_i("circle",{fill:s(12),cx:"27",cy:"27",r:"16"},null),_i("path",{d:"M37 7c-8 0-15 5-16 12",stroke:s(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),v=()=>{var n;if(t.image)return t.image();const r={error:p,search:m,network:f,default:h};return(null==(n=r[e.image])?void 0:n.call(r))||_i("img",{src:e.image},null)};return()=>_i("div",{class:Lh()},[_i("div",{class:Lh("image"),style:bl(e.imageSize)},[v()]),n(),r()])}});const Ih=Zl(Ah),Ph=(new Date).getFullYear(),[Mh]=Bl("date-picker");var Rh=cr({name:Mh,props:t({},$f,{columnsType:{type:Array,default:()=>["year","month","day"]},minDate:{type:Date,default:()=>new Date(Ph-10,0,1),validator:a},maxDate:{type:Date,default:()=>new Date(Ph+10,11,31),validator:a}}),emits:["confirm","cancel","change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Xt(e.modelValue),o=Xt(!1),i=t=>t===e.minDate.getFullYear(),s=t=>t===e.maxDate.getFullYear(),a=t=>{const{minDate:n,columnsType:i}=e,s=i.indexOf(t),a=o.value?e.modelValue[s]:r.value[s];if(a)return+a;switch(t){case"year":return n.getFullYear();case"month":return n.getMonth()+1;case"day":return n.getDate()}},l=()=>{const t=a("year"),n=a("month"),r=i(t)&&(t=>t===e.minDate.getMonth()+1)(n)?e.minDate.getDate():1,o=s(t)&&(t=>t===e.maxDate.getMonth()+1)(n)?e.maxDate.getDate():qf(t,n);return Zf(r,o,"day",e.formatter,e.filter)},c=es((()=>e.columnsType.map((t=>{switch(t){case"year":return(()=>{const t=e.minDate.getFullYear(),n=e.maxDate.getFullYear();return Zf(t,n,"year",e.formatter,e.filter)})();case"month":return(()=>{const t=a("year"),n=i(t)?e.minDate.getMonth()+1:1,r=s(t)?e.maxDate.getMonth()+1:12;return Zf(n,r,"month",e.formatter,e.filter)})();case"day":return l();default:return[]}}))));qo(r,(n=>{d(n,e.modelValue)||t("update:modelValue",n)})),qo((()=>e.modelValue),((e,t)=>{o.value=d(t,r.value),e=((e,t)=>e.map(((e,n)=>{const r=t[n];if(r.length){const t=+r[0].value,n=+r[r.length-1].value;return kl(_l(+e,t,n))}return e})))(e,c.value),d(e,r.value)||(r.value=e),o.value=!1}),{immediate:!0});const f=(...e)=>t("change",...e),h=(...e)=>t("cancel",...e),p=(...e)=>t("confirm",...e);return()=>_i(fd,Di({modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,columns:c.value,onChange:f,onCancel:h,onConfirm:p},u(e,Gf)),n)}});const Dh=Zl(Rh),[Nh,Bh,zh]=Bl("dialog"),Fh=t({},zc,{title:String,theme:String,width:p,message:[String,Function],callback:Function,allowHtml:Boolean,className:h,transition:w("van-dialog-bounce"),messageAlign:String,closeOnPopstate:m,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:m,closeOnClickOverlay:Boolean}),jh=[...Fc,"transition","closeOnPopstate"];var Wh=cr({name:Nh,props:Fh,emits:["confirm","cancel","keydown","update:show"],setup(t,{emit:n,slots:r}){const o=Xt(),s=Mt({confirm:!1,cancel:!1}),a=e=>n("update:show",e),l=e=>{var n;a(!1),null==(n=t.callback)||n.call(t,e)},c=e=>()=>{t.show&&(n(e),t.beforeClose?(s[e]=!0,ql(t.beforeClose,{args:[e],done(){l(e),s[e]=!1},canceled(){s[e]=!1}})):l(e))},d=c("cancel"),f=c("confirm"),h=Ta((r=>{var i,s;if(r.target!==(null==(s=null==(i=o.value)?void 0:i.popupRef)?void 0:s.value))return;({Enter:t.showConfirmButton?f:e,Escape:t.showCancelButton?d:e})[r.key](),n("keydown",r)}),["enter","esc"]),p=()=>{const e=r.title?r.title():t.title;if(e)return _i("div",{class:Bh("header",{isolated:!t.message&&!r.default})},[e])},m=e=>{const{message:n,allowHtml:r,messageAlign:o}=t,s=Bh("message",{"has-title":e,[o]:o}),a=i(n)?n():n;return r&&"string"==typeof a?_i("div",{class:s,innerHTML:a},null):_i("div",{class:s},[a])},v=()=>{if(r.default)return _i("div",{class:Bh("content")},[r.default()]);const{title:e,message:n,allowHtml:o}=t;if(n){const t=!(!e&&!r.title);return _i("div",{key:o?1:0,class:Bh("content",{isolated:!t})},[m(t)])}},g=()=>r.footer?r.footer():"round-button"===t.theme?_i(sc,{class:Bh("footer")},{default:()=>[t.showCancelButton&&_i(Bc,{type:"warning",text:t.cancelButtonText||zh("cancel"),class:Bh("cancel"),color:t.cancelButtonColor,loading:s.cancel,disabled:t.cancelButtonDisabled,onClick:d},null),t.showConfirmButton&&_i(Bc,{type:"danger",text:t.confirmButtonText||zh("confirm"),class:Bh("confirm"),color:t.confirmButtonColor,loading:s.confirm,disabled:t.confirmButtonDisabled,onClick:f},null)]}):_i("div",{class:[Fl,Bh("footer")]},[t.showCancelButton&&_i(Mc,{size:"large",text:t.cancelButtonText||zh("cancel"),class:Bh("cancel"),style:{color:t.cancelButtonColor},loading:s.cancel,disabled:t.cancelButtonDisabled,onClick:d},null),t.showConfirmButton&&_i(Mc,{size:"large",text:t.confirmButtonText||zh("confirm"),class:[Bh("confirm"),{[jl]:t.showCancelButton}],style:{color:t.confirmButtonColor},loading:s.confirm,disabled:t.confirmButtonDisabled,onClick:f},null)]);return()=>{const{width:e,title:n,theme:r,message:i,className:s}=t;return _i(Qc,Di({ref:o,role:"dialog",class:[Bh([r]),s],style:{width:gl(e)},tabindex:0,"aria-labelledby":n||i,onKeydown:h,"onUpdate:show":a},u(t,jh)),{default:()=>[p(),v(),g()]})}}});const Hh=Zl(Wh),[Vh,Yh]=Bl("divider");var Uh=cr({name:Vh,props:{dashed:Boolean,hairline:m,vertical:Boolean,contentPosition:w("center")},setup:(e,{slots:t})=>()=>{var n;return _i("div",{role:"separator",class:Yh({dashed:e.dashed,hairline:e.hairline,vertical:e.vertical,["content-".concat(e.contentPosition)]:!!t.default&&!e.vertical})},[!e.vertical&&(null==(n=t.default)?void 0:n.call(t))])}});const Xh=Zl(Uh),[$h,Gh]=Bl("dropdown-menu"),qh={overlay:m,zIndex:p,duration:y(.2),direction:w("down"),activeColor:String,closeOnClickOutside:m,closeOnClickOverlay:m,swipeThreshold:p},Zh=Symbol($h);var Jh=cr({name:$h,props:qh,setup(e,{slots:t}){const n=Eu(),r=Xt(),i=Xt(),s=Xt(0),{children:a,linkChildren:l}=ja(Zh),c=nl(r),u=es((()=>a.some((e=>e.state.showWrapper)))),d=es((()=>e.swipeThreshold&&a.length>+e.swipeThreshold)),f=es((()=>{if(u.value&&o(e.zIndex))return{zIndex:+e.zIndex+1}})),h=()=>{a.forEach((e=>{e.toggle(!1)}))},p=()=>{if(i.value){const t=Na(i);"down"===e.direction?s.value=t.bottom:s.value=vl.value-t.top}},m=(t,r)=>{const{showPopup:o}=t.state,{disabled:i,titleClass:s}=t;return _i("div",{id:"".concat(n,"-").concat(r),role:"button",tabindex:i?void 0:0,class:[Gh("item",{disabled:i,grow:d.value}),{[Xl]:!i}],onClick:()=>{var e;i||(e=r,a.forEach(((t,n)=>{n===e?t.toggle():t.state.showPopup&&t.toggle(!1,{immediate:!0})})))}},[_i("span",{class:[Gh("title",{down:o===("down"===e.direction),active:o}),s],style:{color:o?e.activeColor:""}},[_i("div",{class:"van-ellipsis"},[t.renderTitle()])])])};return ac({close:h}),l({id:n,props:e,offset:s,updateOffset:p}),Za(r,(()=>{e.closeOnClickOutside&&h()})),qa("scroll",(()=>{u.value&&p()}),{target:c,passive:!0}),()=>{var e;return _i("div",{ref:r,class:Gh()},[_i("div",{ref:i,style:f.value,class:Gh("bar",{opened:u.value,scrollable:d.value})},[a.map(m)]),null==(e=t.default)?void 0:e.call(t)])}}});const[Kh,Qh]=Bl("dropdown-item");var ep=cr({name:Kh,inheritAttrs:!1,props:{title:String,options:g(),disabled:Boolean,teleport:[String,Object],lazyRender:m,modelValue:h,titleClass:h},emits:["open","opened","close","closed","change","update:modelValue"],setup(e,{emit:t,slots:n,attrs:r}){const o=Mt({showPopup:!1,transition:!0,showWrapper:!1}),{parent:i,index:s}=Ba(Zh);if(!i)return;const a=e=>()=>t(e),l=a("open"),c=a("close"),u=a("opened"),d=()=>{o.showWrapper=!1,t("closed")},f=t=>{e.teleport&&t.stopPropagation()},h=n=>{const{activeColor:r}=i.props,s=n.value===e.modelValue;return _i(xd,{role:"menuitem",key:String(n.value),icon:n.icon,title:n.text,class:Qh("option",{active:s}),style:{color:s?r:""},tabindex:s?0:-1,clickable:!0,onClick:()=>{o.showPopup=!1,n.value!==e.modelValue&&(t("update:modelValue",n.value),t("change",n.value))}},{value:()=>{if(s)return _i(Sc,{class:Qh("icon"),color:r,name:"success"},null)}})},p=()=>{const{offset:t}=i,{zIndex:a,overlay:p,duration:m,direction:v,closeOnClickOverlay:g}=i.props,b=yl(a);return"down"===v?b.top="".concat(t.value,"px"):b.bottom="".concat(t.value,"px"),Rn(_i("div",Di({style:b,class:Qh([v]),onClick:f},r),[_i(Qc,{show:o.showPopup,"onUpdate:show":e=>o.showPopup=e,role:"menu",class:Qh("content"),overlay:p,position:"down"===v?"top":"bottom",duration:o.transition?m:0,lazyRender:e.lazyRender,overlayStyle:{position:"absolute"},"aria-labelledby":"".concat(i.id,"-").concat(s.value),closeOnClickOverlay:g,onOpen:l,onClose:c,onOpened:u,onClosed:d},{default:()=>{var t;return[e.options.map(h),null==(t=n.default)?void 0:t.call(n)]}})]),[[Is,o.showWrapper]])};return ac({state:o,toggle:(e=!o.showPopup,t={})=>{e!==o.showPopup&&(o.showPopup=e,o.transition=!t.immediate,e&&(i.updateOffset(),o.showWrapper=!0))},renderTitle:()=>{if(n.title)return n.title();if(e.title)return e.title;const t=e.options.find((t=>t.value===e.modelValue));return t?t.text:""}}),()=>e.teleport?_i(Un,{to:e.teleport},{default:()=>[p()]}):p()}});const tp=Zl(ep),np=Zl(Jh),rp={gap:b(24),icon:String,axis:w("y"),magnetic:String,offset:{type:Object,default:()=>({x:-1,y:-1})},teleport:{type:[String,Object],default:"body"}},[op,ip]=Bl("floating-bubble");var sp=cr({name:op,inheritAttrs:!1,props:rp,emits:["click","update:offset","offsetChange"],setup(e,{slots:t,emit:n,attrs:r}){const o=Xt(),i=Xt({x:0,y:0,width:0,height:0}),s=es((()=>({top:e.gap,right:ml.value-i.value.width-e.gap,bottom:vl.value-i.value.height-e.gap,left:e.gap}))),a=Xt(!1);let l=!1;const c=es((()=>{const e={},t=gl(i.value.x),n=gl(i.value.y);return e.transform="translate3d(".concat(t,", ").concat(n,", 0)"),!a.value&&l||(e.transition="none"),e})),d=()=>{if(!b.value)return;const{width:t,height:n}=Na(o.value),{offset:r}=e;i.value={x:r.x>-1?r.x:ml.value-t-e.gap,y:r.y>-1?r.y:vl.value-n-e.gap,width:t,height:n}},f=jc();let h=0,p=0;const m=e=>{f.start(e),a.value=!0,h=i.value.x,p=i.value.y};qa("touchmove",(t=>{if(t.preventDefault(),f.move(t),"lock"!==e.axis&&!f.isTap.value){if("x"===e.axis||"xy"===e.axis){let e=h+f.deltaX.value;e<s.value.left&&(e=s.value.left),e>s.value.right&&(e=s.value.right),i.value.x=e}if("y"===e.axis||"xy"===e.axis){let e=p+f.deltaY.value;e<s.value.top&&(e=s.value.top),e>s.value.bottom&&(e=s.value.bottom),i.value.y=e}const t=u(i.value,["x","y"]);n("update:offset",t)}}),{target:o});const v=()=>{a.value=!1,Sn((()=>{if("x"===e.magnetic){const e=Jl([s.value.left,s.value.right],i.value.x);i.value.x=e}if("y"===e.magnetic){const e=Jl([s.value.top,s.value.bottom],i.value.y);i.value.y=e}if(!f.isTap.value){const e=u(i.value,["x","y"]);n("update:offset",e),h===e.x&&p===e.y||n("offsetChange",e)}}))},g=e=>{f.isTap.value?n("click",e):e.stopPropagation()};Lr((()=>{d(),Sn((()=>{l=!0}))})),qo([ml,vl,()=>e.gap,()=>e.offset],d);const b=Xt(!0);return wr((()=>{b.value=!0})),xr((()=>{e.teleport&&(b.value=!1)})),()=>{const n=Rn(_i("div",Di({class:ip(),ref:o,onTouchstartPassive:m,onTouchend:v,onTouchcancel:v,onClickCapture:g,style:c.value},r),[t.default?t.default():_i(Ec,{name:e.icon,class:ip("icon")},null)]),[[Is,b.value]]);return e.teleport?_i(Un,{to:e.teleport},{default:()=>[n]}):n}}});const ap=Zl(sp),[lp,cp]=Bl("grid"),up={square:Boolean,center:m,border:m,gutter:p,reverse:Boolean,iconSize:p,direction:String,clickable:Boolean,columnNum:y(4)},dp=Symbol(lp);var fp=cr({name:lp,props:up,setup(e,{slots:t}){const{linkChildren:n}=ja(dp);return n({props:e}),()=>{var n;return _i("div",{style:{paddingLeft:gl(e.gutter)},class:[cp(),{[Fl]:e.border&&!e.gutter}]},[null==(n=t.default)?void 0:n.call(t)])}}});const hp=Zl(fp),[pp,mp]=Bl("grid-item");var vp=cr({name:pp,props:t({},lc,{dot:Boolean,text:String,icon:String,badge:p,iconColor:String,iconPrefix:String,badgeProps:Object}),setup(e,{slots:t}){const{parent:n,index:r}=Ba(dp),o=uc();if(!n)return;const i=es((()=>{const{square:e,gutter:t,columnNum:o}=n.props,i="".concat(100/+o,"%"),s={flexBasis:i};if(e)s.paddingTop=i;else if(t){const e=gl(t);s.paddingRight=e,r.value>=+o&&(s.marginTop=e)}return s})),s=es((()=>{const{square:e,gutter:t}=n.props;if(e&&t){const e=gl(t);return{right:e,bottom:e,height:"auto"}}}));return()=>{const{center:r,border:a,square:l,gutter:c,reverse:u,direction:d,clickable:f}=n.props,h=[mp("content",[d,{center:r,square:l,reverse:u,clickable:f,surround:a&&c}]),{[zl]:a}];return _i("div",{class:[mp({square:l})],style:i.value},[_i("div",{role:f?"button":void 0,class:h,style:s.value,tabindex:f?0:void 0,onClick:o},[t.default?t.default():[t.icon?_i(pc,Di({dot:e.dot,content:e.badge},e.badgeProps),{default:t.icon}):e.icon?_i(Sc,{dot:e.dot,name:e.icon,size:n.props.iconSize,badge:e.badge,class:mp("icon"),color:e.iconColor,badgeProps:e.badgeProps,classPrefix:e.iconPrefix},null):void 0,t.text?t.text():e.text?_i("span",{class:mp("text")},[e.text]):void 0]])])}}});const gp=Zl(vp),bp=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),yp=Bl("image-preview")[1];var wp=cr({props:{src:String,show:Boolean,active:Number,minZoom:v(p),maxZoom:v(p),rootWidth:v(Number),rootHeight:v(Number),disableZoom:Boolean,doubleScale:Boolean,closeOnClickOverlay:Boolean},emits:["scale","close","longPress"],setup(e,{emit:t,slots:n}){const r=Mt({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,initializing:!1,imageRatio:0}),o=jc(),i=Xt(),s=Xt(),a=Xt(!1),l=Xt(!1);let c=0;const u=es((()=>{const{scale:e,moveX:t,moveY:n,moving:o,zooming:i,initializing:s}=r,a={transitionDuration:i||o||s?"0s":".3s"};return(1!==e||l.value)&&(a.transform="matrix(".concat(e,", 0, 0, ").concat(e,", ").concat(t,", ").concat(n,")")),a})),d=es((()=>{if(r.imageRatio){const{rootWidth:t,rootHeight:n}=e,o=a.value?n/r.imageRatio:t;return Math.max(0,(r.scale*o-t)/2)}return 0})),f=es((()=>{if(r.imageRatio){const{rootWidth:t,rootHeight:n}=e,o=a.value?n:t*r.imageRatio;return Math.max(0,(r.scale*o-n)/2)}return 0})),h=(n,o)=>{var s;if((n=_l(n,+e.minZoom,+e.maxZoom+1))!==r.scale){const a=n/r.scale;if(r.scale=n,o){const e=Na(null==(s=i.value)?void 0:s.$el),t={x:.5*e.width,y:.5*e.height},n=r.moveX-(o.x-e.left-t.x)*(a-1),l=r.moveY-(o.y-e.top-t.y)*(a-1);r.moveX=_l(n,-d.value,d.value),r.moveY=_l(l,-f.value,f.value)}else r.moveX=0,r.moveY=l.value?c:0;t("scale",{scale:n,index:e.active})}},p=()=>{h(1)};let m,v,g,b,y,w,x,S,E=!1;const C=t=>{const{touches:n}=t;if(m=n.length,2===m&&e.disableZoom)return;const{offsetX:i}=o;o.start(t),v=r.moveX,g=r.moveY,S=Date.now(),E=!1,r.moving=1===m&&(1!==r.scale||l.value),r.zooming=2===m&&!i.value,r.zooming&&(b=r.scale,y=bp(n))},k=n=>{var i;if(m>1)return;const{offsetX:a,offsetY:c}=o,u=Date.now()-S;if(a.value<Gl&&c.value<Gl)if(u<250)if(e.doubleScale)if(x)clearTimeout(x),x=null,(()=>{const e=r.scale>1?1:2;h(e,2===e||l.value?{x:o.startX.value,y:o.startY.value}:void 0)})();else{if(!e.closeOnClickOverlay&&n.target===(null==(i=s.value)?void 0:i.$el))return;x=setTimeout((()=>{t("close"),x=null}),250)}else t("close");else u>500&&t("longPress")},_=t=>{let n=!1;if((r.moving||r.zooming)&&(n=!0,r.moving&&v===r.moveX&&g===r.moveY&&(n=!1),!t.touches.length)){r.zooming&&(r.moveX=_l(r.moveX,-d.value,d.value),r.moveY=_l(r.moveY,-f.value,f.value),r.zooming=!1),r.moving=!1,v=0,g=0,b=1,r.scale<1&&p();const t=+e.maxZoom;r.scale>t&&h(t,w)}hl(t,n),k(t),o.reset()},T=()=>{const{rootWidth:t,rootHeight:n}=e,o=n/t,{imageRatio:i}=r;a.value=r.imageRatio>o&&i<2.6,l.value=r.imageRatio>o&&i>=2.6,l.value&&(c=(i*t-n)/2,r.moveY=c,r.initializing=!0,Pa((()=>{r.initializing=!1}))),p()},O=e=>{const{naturalWidth:t,naturalHeight:n}=e.target;r.imageRatio=n/t,T()};return qo((()=>e.active),p),qo((()=>e.show),(e=>{e||p()})),qo((()=>[e.rootWidth,e.rootHeight]),T),qa("touchmove",(e=>{const{touches:t}=e;if(o.move(e),r.moving){const{deltaX:t,deltaY:n}=o,i=t.value+v,s=n.value+g;if((i>d.value||i<-d.value)&&!E&&o.isHorizontal())return void(r.moving=!1);E=!0,hl(e,!0),r.moveX=_l(i,-d.value,d.value),r.moveY=_l(s,-f.value,f.value)}if(r.zooming&&(hl(e,!0),2===t.length)){const e=bp(t),n=b*e/y;w=(e=>({x:(e[0].clientX+e[1].clientX)/2,y:(e[0].clientY+e[1].clientY)/2}))(t),h(n,w)}}),{target:es((()=>{var e;return null==(e=s.value)?void 0:e.$el}))}),ac({resetScale:p}),()=>{const t={loading:()=>_i(Lc,{type:"spinner"},null)};return _i(Zu,{ref:s,class:yp("swipe-item"),onTouchstartPassive:C,onTouchend:_,onTouchcancel:_},{default:()=>[n.image?_i("div",{class:yp("image-wrap")},[n.image({src:e.src})]):_i(lh,{ref:i,src:e.src,fit:"contain",class:yp("image",{vertical:a.value}),style:u.value,onLoad:O},t)]})}}});const[xp,Sp]=Bl("image-preview"),Ep=["show","teleport","transition","overlayStyle","closeOnPopstate"];var Cp=cr({name:xp,props:{show:Boolean,loop:m,images:g(),minZoom:y(1/3),maxZoom:y(3),overlay:m,closeable:Boolean,showIndex:m,className:h,closeIcon:w("clear"),transition:String,beforeClose:Function,doubleScale:m,overlayClass:h,overlayStyle:Object,swipeDuration:y(300),startPosition:y(0),showIndicators:Boolean,closeOnPopstate:m,closeOnClickOverlay:m,closeIconPosition:w("top-right"),teleport:[String,Object]},emits:["scale","close","closed","change","longPress","update:show"],setup(e,{emit:t,slots:n}){const r=Xt(),o=Xt(),i=Mt({active:0,rootWidth:0,rootHeight:0,disableZoom:!1}),s=()=>{if(r.value){const e=Na(r.value.$el);i.rootWidth=e.width,i.rootHeight=e.height,r.value.resize()}},a=e=>t("scale",e),l=e=>t("update:show",e),c=()=>{ql(e.beforeClose,{args:[i.active],done:()=>l(!1)})},d=e=>{e!==i.active&&(i.active=e,t("change",e))},f=()=>{if(e.showIndex)return _i("div",{class:Sp("index")},[n.index?n.index({index:i.active}):"".concat(i.active+1," / ").concat(e.images.length)])},h=()=>{if(n.cover)return _i("div",{class:Sp("cover")},[n.cover()])},p=()=>{i.disableZoom=!0},m=()=>{i.disableZoom=!1},v=()=>{if(e.closeable)return _i(Sc,{role:"button",name:e.closeIcon,class:[Sp("close-icon",e.closeIconPosition),Xl],onClick:c},null)},g=()=>t("closed"),b=(e,t)=>{var n;return null==(n=r.value)?void 0:n.swipeTo(e,t)};return ac({resetScale:()=>{var e;null==(e=o.value)||e.resetScale()},swipeTo:b}),Lr(s),qo([ml,vl],s),qo((()=>e.startPosition),(e=>d(+e))),qo((()=>e.show),(n=>{const{images:r,startPosition:o}=e;n?(d(+o),Sn((()=>{s(),b(+o,{immediate:!0})}))):t("close",{index:i.active,url:r[i.active]})})),()=>_i(Qc,Di({class:[Sp(),e.className],overlayClass:[Sp("overlay"),e.overlayClass],onClosed:g,"onUpdate:show":l},u(e,Ep)),{default:()=>[v(),_i(Du,{ref:r,lazyRender:!0,loop:e.loop,class:Sp("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:d,onDragEnd:m,onDragStart:p},{default:()=>[e.images.map(((r,s)=>_i(wp,{ref:e=>{s===i.active&&(o.value=e)},src:r,show:e.show,active:i.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:i.rootWidth,rootHeight:i.rootHeight,disableZoom:i.disableZoom,doubleScale:e.doubleScale,closeOnClickOverlay:e.closeOnClickOverlay,onScale:a,onClose:c,onLongPress:()=>t("longPress",{index:s})},{image:n.image})))]}),f(),h()]})}});let kp;const _p={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,doubleScale:!0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeOnClickOverlay:!0,closeIconPosition:"top-right"};const Tp=(e,r=0)=>{if(n)return kp||({instance:kp}=Vd({setup(){const{state:e,toggle:t}=Hd(),n=()=>{e.images=[]};return()=>_i(Cp,Di(e,{onClosed:n,"onUpdate:show":t}),null)}})),e=Array.isArray(e)?{images:e,startPosition:r}:e,kp.open(t({},_p,e)),kp};Zl(Cp);const[Op,Lp,Ap]=Bl("list");var Ip=cr({name:Op,props:{error:Boolean,offset:y(300),loading:Boolean,disabled:Boolean,finished:Boolean,scroller:Object,errorText:String,direction:w("down"),loadingText:String,finishedText:String,immediateCheck:m},emits:["load","update:error","update:loading"],setup(e,{emit:t,slots:n}){const r=Xt(e.loading),o=Xt(),i=Xt(),s=So(Yu,null),a=nl(o),l=es((()=>e.scroller||a.value)),c=()=>{Sn((()=>{if(r.value||e.finished||e.disabled||e.error||!1===(null==s?void 0:s.value))return;const{direction:n}=e,a=+e.offset,c=Na(l);if(!c.height||pl(o))return;let u=!1;const d=Na(i);u="up"===n?c.top-d.top<=a:d.bottom-c.bottom<=a,u&&(r.value=!0,t("update:loading",!0),t("load"))}))},u=()=>{if(e.finished){const t=n.finished?n.finished():e.finishedText;if(t)return _i("div",{class:Lp("finished-text")},[t])}},d=()=>{t("update:error",!1),c()},f=()=>{if(e.error){const t=n.error?n.error():e.errorText;if(t)return _i("div",{role:"button",class:Lp("error-text"),tabindex:0,onClick:d},[t])}},h=()=>{if(r.value&&!e.finished&&!e.disabled)return _i("div",{class:Lp("loading")},[n.loading?n.loading():_i(Lc,{class:Lp("loading-icon")},{default:()=>[e.loadingText||Ap("loading")]})])};return qo((()=>[e.loading,e.finished,e.error]),c),s&&qo(s,(e=>{e&&c()})),Ir((()=>{r.value=e.loading})),Lr((()=>{e.immediateCheck&&c()})),ac({check:c}),qa("scroll",c,{target:l,passive:!0}),()=>{var t;const s=null==(t=n.default)?void 0:t.call(n),a=_i("div",{ref:i,class:Lp("placeholder")},null);return _i("div",{ref:o,role:"feed",class:Lp(),"aria-busy":r.value},["down"===e.direction?s:a,h(),u(),f(),"up"===e.direction?s:a])}}});const Pp=Zl(Ip),[Mp,Rp]=Bl("nav-bar");var Dp=cr({name:Mp,props:{title:String,fixed:Boolean,zIndex:p,border:m,leftText:String,rightText:String,leftDisabled:Boolean,rightDisabled:Boolean,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:m},emits:["clickLeft","clickRight"],setup(e,{emit:t,slots:n}){const r=Xt(),o=tc(r,Rp),i=n=>{e.leftDisabled||t("clickLeft",n)},s=n=>{e.rightDisabled||t("clickRight",n)},a=()=>{const{title:t,fixed:o,border:a,zIndex:l}=e,c=yl(l),u=e.leftArrow||e.leftText||n.left,d=e.rightText||n.right;return _i("div",{ref:r,style:c,class:[Rp({fixed:o}),{[Hl]:a,"van-safe-area-top":e.safeAreaInsetTop}]},[_i("div",{class:Rp("content")},[u&&_i("div",{class:[Rp("left",{disabled:e.leftDisabled}),e.clickable&&!e.leftDisabled?Xl:""],onClick:i},[n.left?n.left():[e.leftArrow&&_i(Sc,{class:Rp("arrow"),name:"arrow-left"},null),e.leftText&&_i("span",{class:Rp("text")},[e.leftText])]]),_i("div",{class:[Rp("title"),"van-ellipsis"]},[n.title?n.title():t]),d&&_i("div",{class:[Rp("right",{disabled:e.rightDisabled}),e.clickable&&!e.rightDisabled?Xl:""],onClick:s},[n.right?n.right():_i("span",{class:Rp("text")},[e.rightText])])])])};return()=>e.fixed&&e.placeholder?o(a):a()}});const Np=Zl(Dp),[Bp,zp]=Bl("notice-bar");var Fp=cr({name:Bp,props:{text:String,mode:String,color:String,delay:y(1),speed:y(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},emits:["close","replay"],setup(e,{emit:t,slots:n}){let r,i=0,s=0;const a=Xt(),l=Xt(),c=Mt({show:!0,offset:0,duration:0}),u=n=>{"closeable"===e.mode&&(c.show=!1,t("close",n))},d=()=>{if(n["right-icon"])return n["right-icon"]();const t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?_i(Sc,{name:t,class:zp("right-icon"),onClick:u},null):void 0},f=()=>{c.offset=i,c.duration=0,Pa((()=>{Ra((()=>{c.offset=-s,c.duration=(s+i)/+e.speed,t("replay")}))}))},h=()=>{const t=!1===e.scrollable&&!e.wrapable,r={transform:c.offset?"translateX(".concat(c.offset,"px)"):"",transitionDuration:"".concat(c.duration,"s")};return _i("div",{ref:a,role:"marquee",class:zp("wrap")},[_i("div",{ref:l,style:r,class:[zp("content"),{"van-ellipsis":t}],onTransitionend:f},[n.default?n.default():e.text])])},p=()=>{const{delay:t,speed:n,scrollable:u}=e,d=o(t)?1e3*+t:0;i=0,s=0,c.offset=0,c.duration=0,clearTimeout(r),r=setTimeout((()=>{if(!a.value||!l.value||!1===u)return;const e=Na(a).width,t=Na(l).width;(u||t>e)&&Ra((()=>{i=e,s=t,c.offset=-s,c.duration=s/+n}))}),d)};return Ql(p),Ga(p),qa("pageshow",p),ac({reset:p}),qo((()=>[e.text,e.scrollable]),p),()=>{const{color:t,wrapable:r,background:o}=e;return Rn(_i("div",{role:"alert",class:zp({wrapable:r}),style:{color:t,background:o}},[n["left-icon"]?n["left-icon"]():e.leftIcon?_i(Sc,{class:zp("left-icon"),name:e.leftIcon},null):void 0,h(),d()]),[[Is,c.show]])}}});const jp=Zl(Fp),[Wp,Hp]=Bl("key"),Vp=_i("svg",{class:Hp("collapse-icon"),viewBox:"0 0 30 24"},[_i("path",{d:"M26 13h-2v2h2v-2zm-8-3h2V8h-2v2zm2-4h2V4h-2v2zm2 4h4V4h-2v4h-2v2zm-7 14 3-3h-6l3 3zM6 13H4v2h2v-2zm16 0H8v2h14v-2zm-12-3h2V8h-2v2zM28 0l1 1 1 1v15l-1 2H1l-1-2V2l1-1 1-1zm0 2H2v15h26V2zM6 4v2H4V4zm10 2h2V4h-2v2zM8 9v1H4V8zm8 0v1h-2V8zm-6-5v2H8V4zm4 0v2h-2V4z",fill:"currentColor"},null)]),Yp=_i("svg",{class:Hp("delete-icon"),viewBox:"0 0 32 22"},[_i("path",{d:"M28 0a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H10.4a2 2 0 0 1-1.4-.6L1 13.1c-.6-.5-.9-1.3-.9-2 0-1 .3-1.7.9-2.2L9 .6a2 2 0 0 1 1.4-.6zm0 2H10.4l-8.2 8.3a1 1 0 0 0-.3.7c0 .3.1.5.3.7l8.2 8.4H28a2 2 0 0 0 2-2V4c0-1.1-.9-2-2-2zm-5 4a1 1 0 0 1 .7.3 1 1 0 0 1 0 1.4L20.4 11l3.3 3.3c.2.2.3.5.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3L19 12.4l-3.4 3.3a1 1 0 0 1-.6.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.2.1-.5.3-.7l3.3-3.3-3.3-3.3A1 1 0 0 1 14 7c0-.3.1-.5.3-.7A1 1 0 0 1 15 6a1 1 0 0 1 .6.3L19 9.6l3.3-3.3A1 1 0 0 1 23 6z",fill:"currentColor"},null)]);var Up=cr({name:Wp,props:{type:String,text:p,color:String,wider:Boolean,large:Boolean,loading:Boolean},emits:["press"],setup(e,{emit:t,slots:n}){const r=Xt(!1),o=jc(),i=e=>{o.start(e),r.value=!0},s=e=>{o.move(e),o.direction.value&&(r.value=!1)},a=o=>{r.value&&(n.default||hl(o),r.value=!1,t("press",e.text,e.type))},l=()=>{if(e.loading)return _i(Lc,{class:Hp("loading-icon")},null);const t=n.default?n.default():e.text;switch(e.type){case"delete":return t||Yp;case"extra":return t||Vp;default:return t}};return()=>_i("div",{class:Hp("wrapper",{wider:e.wider}),onTouchstartPassive:i,onTouchmovePassive:s,onTouchend:a,onTouchcancel:a},[_i("div",{role:"button",tabindex:0,class:Hp([e.color,{large:e.large,active:r.value,delete:"delete"===e.type}])},[l()])])}});const[Xp,$p]=Bl("number-keyboard");var Gp=cr({name:Xp,inheritAttrs:!1,props:{show:Boolean,title:String,theme:w("default"),zIndex:p,teleport:[String,Object],maxlength:y(1/0),modelValue:w(""),transition:m,blurOnClose:m,showDeleteKey:m,randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,hideOnClickOutside:m,safeAreaInsetBottom:m,extraKey:{type:[String,Array],default:""}},emits:["show","hide","blur","input","close","delete","update:modelValue"],setup(e,{emit:t,slots:n,attrs:r}){const o=Xt(),i=()=>{const t=Array(9).fill("").map(((e,t)=>({text:t+1})));return e.randomKeyOrder&&function(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}}(t),t},s=es((()=>"custom"===e.theme?(()=>{const t=i(),{extraKey:n}=e,r=Array.isArray(n)?n:[n];return 1===r.length?t.push({text:0,wider:!0},{text:r[0],type:"extra"}):2===r.length&&t.push({text:r[0],type:"extra"},{text:0},{text:r[1],type:"extra"}),t})():[...i(),{text:e.extraKey,type:"extra"},{text:0},{text:e.showDeleteKey?e.deleteButtonText:"",type:e.showDeleteKey?"delete":""}])),a=()=>{e.show&&t("blur")},l=()=>{t("close"),e.blurOnClose&&a()},c=()=>t(e.show?"show":"hide"),u=(n,r)=>{if(""===n)return void("extra"===r&&a());const o=e.modelValue;"delete"===r?(t("delete"),t("update:modelValue",o.slice(0,o.length-1))):"close"===r?l():o.length<+e.maxlength&&(t("input",n),t("update:modelValue",o+n))},d=()=>{if("custom"===e.theme)return _i("div",{class:$p("sidebar")},[e.showDeleteKey&&_i(Up,{large:!0,text:e.deleteButtonText,type:"delete",onPress:u},{delete:n.delete}),_i(Up,{large:!0,text:e.closeButtonText,type:"close",color:"blue",loading:e.closeButtonLoading,onPress:u},null)])};return qo((()=>e.show),(n=>{e.transition||t(n?"show":"hide")})),e.hideOnClickOutside&&Za(o,a,{eventName:"touchstart"}),()=>{const t=(()=>{const{title:t,theme:r,closeButtonText:o}=e,i=n["title-left"],s=o&&"default"===r;if(t||s||i)return _i("div",{class:$p("header")},[i&&_i("span",{class:$p("title-left")},[i()]),t&&_i("h2",{class:$p("title")},[t]),s&&_i("button",{type:"button",class:[$p("close"),Xl],onClick:l},[o])])})(),i=_i(ms,{name:e.transition?"van-slide-up":""},{default:()=>[Rn(_i("div",Di({ref:o,style:yl(e.zIndex),class:$p({unfit:!e.safeAreaInsetBottom,"with-title":!!t}),onAnimationend:c,onTouchstartPassive:fl},r),[t,_i("div",{class:$p("body")},[_i("div",{class:$p("keys")},[s.value.map((e=>{const t={};return"delete"===e.type&&(t.default=n.delete),"extra"===e.type&&(t.default=n["extra-key"]),_i(Up,{key:e.text,text:e.text,type:e.type,wider:e.wider,color:e.color,onPress:u},t)}))]),d()])]),[[Is,e.show]])]});return e.teleport?_i(Un,{to:e.teleport},{default:()=>[i]}):i}}});const qp=Zl(Gp),[Zp,Jp]=Bl("password-input");var Kp=cr({name:Zp,props:{info:String,mask:m,value:w(""),gutter:p,length:y(6),focused:Boolean,errorInfo:String},emits:["focus"],setup(e,{emit:t}){const n=e=>{e.stopPropagation(),t("focus",e)},r=()=>{const t=[],{mask:n,value:r,gutter:o,focused:i}=e,s=+e.length;for(let e=0;e<s;e++){const s=r[e],a=0!==e&&!o,l=i&&e===r.length;let c;0!==e&&o&&(c={marginLeft:gl(o)}),t.push(_i("li",{class:[{[jl]:a},Jp("item",{focus:l})],style:c},[n?_i("i",{style:{visibility:s?"visible":"hidden"}},null):s,l&&_i("div",{class:Jp("cursor")},null)]))}return t};return()=>{const t=e.errorInfo||e.info;return _i("div",{class:Jp()},[_i("ul",{class:[Jp("security"),{[Vl]:!e.gutter}],onTouchstartPassive:n},[r()]),t&&_i("div",{class:Jp(e.errorInfo?"error-info":"info")},[t])])}}});const Qp=Zl(Kp);function em(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tm(e){return e instanceof em(e).Element||e instanceof Element}function nm(e){return e instanceof em(e).HTMLElement||e instanceof HTMLElement}function rm(e){return"undefined"!=typeof ShadowRoot&&(e instanceof em(e).ShadowRoot||e instanceof ShadowRoot)}var om=Math.round;function im(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function sm(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&nm(e)&&(o=e.offsetWidth>0&&om(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&om(r.height)/e.offsetHeight||1);var s=(tm(e)?em(e):window).visualViewport,a=!!/^((?!chrome|android).)*safari/i.test(im())&&n,l=(r.left+(a&&s?s.offsetLeft:0))/o,c=(r.top+(a&&s?s.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function am(e){var t=em(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lm(e){return e?(e.nodeName||"").toLowerCase():null}function cm(e){return((tm(e)?e.ownerDocument:e.document)||window.document).documentElement}function um(e){return em(e).getComputedStyle(e)}function dm(e){var t=um(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function fm(e,t,n){void 0===n&&(n=!1);var r,o,i=nm(t),s=nm(t)&&function(e){var t=e.getBoundingClientRect(),n=om(t.width)/e.offsetWidth||1,r=om(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=cm(t),l=sm(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==lm(t)||dm(a))&&(c=(r=t)!==em(r)&&nm(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:am(r)),nm(t)?((u=sm(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=function(e){return sm(cm(e)).left+am(e).scrollLeft}(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function hm(e){return"html"===lm(e)?e:e.assignedSlot||e.parentNode||(rm(e)?e.host:null)||cm(e)}function pm(e){return["html","body","#document"].indexOf(lm(e))>=0?e.ownerDocument.body:nm(e)&&dm(e)?e:pm(hm(e))}function mm(e,t){var n;void 0===t&&(t=[]);var r=pm(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=em(r),s=o?[i].concat(i.visualViewport||[],dm(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(mm(hm(s)))}function vm(e){return["table","td","th"].indexOf(lm(e))>=0}function gm(e){return nm(e)&&"fixed"!==um(e).position?e.offsetParent:null}function bm(e){for(var t=em(e),n=gm(e);n&&vm(n)&&"static"===um(n).position;)n=gm(n);return n&&("html"===lm(n)||"body"===lm(n)&&"static"===um(n).position)?t:n||function(e){var t=/firefox/i.test(im());if(/Trident/i.test(im())&&nm(e)&&"fixed"===um(e).position)return null;var n=hm(e);for(rm(n)&&(n=n.host);nm(n)&&["html","body"].indexOf(lm(n))<0;){var r=um(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ym="top",wm="bottom",xm="right",Sm="left",Em="auto",Cm="start",km="end",_m=[].concat([ym,wm,xm,Sm],[Em]).reduce((function(e,t){return e.concat([t,t+"-"+Cm,t+"-"+km])}),[]),Tm=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Om(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Lm=["name","enabled","phase","fn","effect","requires","options"];function Am(e){return e.split("-")[0]}function Im(e){return e.split("-")[1]}var Pm={placement:"bottom",modifiers:[],strategy:"absolute"};function Mm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Rm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Pm:o;return function(e,t,n){void 0===n&&(n=i);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Pm,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,o),a.scrollParents={reference:tm(e)?mm(e):e.contextElement?mm(e.contextElement):[],popper:mm(t)};var s=function(e){var t=Om(e);return Tm.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,a.options.modifiers)));if(a.orderedModifiers=s.filter((function(e){return e.enabled})),function(e){e.forEach((function(t){[].concat(Object.keys(t),Lm).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":t.name;break;case"enabled":t.enabled;break;case"phase":Tm.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":null!=t.effect&&t.effect;break;case"requires":null!=t.requires&&Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach((function(t){e.find((function(e){return e.name===t}))}))}))}))}((c=[].concat(s,a.options.modifiers),f=function(e){return e.name},h=new Set,c.filter((function(e){var t=f(e);if(!h.has(t))return h.add(t),!0})))),Am(a.options.placement)===Em)a.orderedModifiers.find((function(e){return"flip"===e.name}));var c,f,h,p=um(t);return[p.marginTop,p.marginRight,p.marginBottom,p.marginLeft].some((function(e){return parseFloat(e)})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:a,name:t,instance:u,options:r}),s=function(){};l.push(i||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Mm(t,n)){var r,o,i,s;a.rects={reference:fm(t,bm(n),"fixed"===a.options.strategy),popper:(r=n,o=sm(r),i=r.offsetWidth,s=r.offsetHeight,Math.abs(o.width-i)<=1&&(i=o.width),Math.abs(o.height-s)<=1&&(s=o.height),{x:r.offsetLeft,y:r.offsetTop,width:i,height:s})},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var l=0,d=0;d<a.orderedModifiers.length&&!((l+=1)>100);d++)if(!0!==a.reset){var f=a.orderedModifiers[d],h=f.fn,p=f.options,m=void 0===p?{}:p,v=f.name;"function"==typeof h&&(a=h({state:a,options:m,name:v,instance:u})||a)}else a.reset=!1,d=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){d(),c=!0}};if(!Mm(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Dm={passive:!0};var Nm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,h=void 0===f?0:f,p=s.y,m=void 0===p?0:p,v="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=Sm,w=ym,x=window;if(c){var S=bm(n),E="clientHeight",C="clientWidth";if(S===em(n)&&"static"!==um(S=cm(n)).position&&"absolute"===a&&(E="scrollHeight",C="scrollWidth"),o===ym||(o===Sm||o===xm)&&i===km)w=wm,m-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[E])-r.height,m*=l?1:-1;if(o===Sm||(o===ym||o===wm)&&i===km)y=xm,h-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[C])-r.width,h*=l?1:-1}var k,_=Object.assign({position:a},c&&Nm),T=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:om(t*r)/r||0,y:om(n*r)/r||0}}({x:h,y:m}):{x:h,y:m};return h=T.x,m=T.y,l?Object.assign({},_,((k={})[w]=b?"0":"",k[y]=g?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},_,((t={})[w]=b?m+"px":"",t[y]=g?h+"px":"",t.transform="",t))}var zm=Rm({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,s=r.resize,a=void 0===s||s,l=em(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Dm)})),a&&l.addEventListener("resize",n.update,Dm),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Dm)})),a&&l.removeEventListener("resize",n.update,Dm)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=function(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Am(o):null,s=o?Im(o):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case ym:t={x:a,y:n.y-r.height};break;case wm:t={x:a,y:n.y+n.height};break;case xm:t={x:n.x+n.width,y:l};break;case Sm:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}(i):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Cm:t[c]=t[c]-(n[u]/2-r[u]/2);break;case km:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c=um(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}));var u={placement:Am(t.placement),variation:Im(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Bm(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bm(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];nm(o)&&lm(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});nm(r)&&lm(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});var Fm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,s=_m.reduce((function(e,n){return e[n]=function(e,t,n){var r=Am(e),o=[Sm,ym].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[Sm,xm].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,i),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}};const[jm,Wm]=Bl("popover"),Hm=["overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"];var Vm=cr({name:jm,props:{show:Boolean,theme:w("light"),overlay:Boolean,actions:g(),actionsDirection:w("vertical"),trigger:w("click"),duration:p,showArrow:m,placement:w("bottom"),iconPrefix:String,overlayClass:h,overlayStyle:Object,closeOnClickAction:m,closeOnClickOverlay:m,closeOnClickOutside:m,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}},emits:["select","touchstart","update:show"],setup(e,{emit:r,slots:o,attrs:i}){let s;const a=Xt(),l=Xt(),c=Xt(),d=((e,t)=>{const n=Xt(e());return qo(e,(e=>{e!==n.value&&(n.value=e)})),qo(n,(n=>{n!==e()&&t(n)})),n})((()=>e.show),(e=>r("update:show",e))),f=()=>({placement:e.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},t({},Fm,{options:{offset:e.offset}})]}),h=()=>{Sn((()=>{d.value&&(s?s.setOptions(f()):(s=l.value&&c.value?zm(l.value,c.value.popupRef.value,f()):null,n&&(window.addEventListener("animationend",h),window.addEventListener("transitionend",h))))}))},p=e=>{d.value=e},m=()=>{"click"===e.trigger&&(d.value=!d.value)},v=(t,n)=>o.action?o.action({action:t,index:n}):[t.icon&&_i(Sc,{name:t.icon,classPrefix:e.iconPrefix,class:Wm("action-icon")},null),_i("div",{class:[Wm("action-text"),{[Hl]:"vertical"===e.actionsDirection}]},[t.text])],g=(t,n)=>{const{icon:o,color:i,disabled:s,className:a}=t;return _i("div",{role:"menuitem",class:[Wm("action",{disabled:s,"with-icon":o}),{[Wl]:"horizontal"===e.actionsDirection},a],style:{color:i},tabindex:s?void 0:0,"aria-disabled":s||void 0,onClick:()=>((t,n)=>{t.disabled||(r("select",t,n),e.closeOnClickAction&&(d.value=!1))})(t,n)},[v(t,n)])};return Lr((()=>{h(),Go((()=>{var e;a.value=null==(e=c.value)?void 0:e.popupRef.value}))})),Pr((()=>{s&&(n&&(window.removeEventListener("animationend",h),window.removeEventListener("transitionend",h)),s.destroy(),s=null)})),qo((()=>[d.value,e.offset,e.placement]),h),Za([l,a],(()=>{d.value&&e.closeOnClickOutside&&(!e.overlay||e.closeOnClickOverlay)&&(d.value=!1)}),{eventName:"touchstart"}),()=>{var t;return _i(ci,null,[_i("span",{ref:l,class:Wm("wrapper"),onClick:m},[null==(t=o.reference)?void 0:t.call(o)]),_i(Qc,Di({ref:c,show:d.value,class:Wm([e.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":p},i,Yc(),u(e,Hm)),{default:()=>[e.showArrow&&_i("div",{class:Wm("arrow")},null),_i("div",{role:"menu",class:Wm("content",e.actionsDirection)},[o.default?o.default():e.actions.map(g)])]})])}}});const Ym=Zl(Vm),[Um,Xm]=Bl("progress");var $m=cr({name:Um,props:{color:String,inactive:Boolean,pivotText:String,textColor:String,showPivot:m,pivotColor:String,trackColor:String,strokeWidth:p,percentage:{type:p,default:0,validator:e=>+e>=0&&+e<=100}},setup(e){const t=es((()=>e.inactive?void 0:e.color)),n=()=>{const{textColor:n,pivotText:r,pivotColor:o,percentage:i}=e,s=null!=r?r:"".concat(i,"%");if(e.showPivot&&s){const r={color:n,left:"".concat(+i,"%"),transform:"translate(-".concat(+i,"%,-50%)"),background:o||t.value};return _i("span",{style:r,class:Xm("pivot",{inactive:e.inactive})},[s])}};return()=>{const{trackColor:r,percentage:o,strokeWidth:i}=e,s={background:r,height:gl(i)},a={width:"".concat(o,"%"),background:t.value};return _i("div",{class:Xm(),style:s},[_i("span",{class:Xm("portion",{inactive:e.inactive}),style:a},null),n()])}}});const Gm=Zl($m),[qm,Zm,Jm]=Bl("pull-refresh"),Km=["pulling","loosing","success"];var Qm=cr({name:qm,props:{disabled:Boolean,modelValue:Boolean,headHeight:y(50),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:p,successDuration:y(500),animationDuration:y(300)},emits:["change","refresh","update:modelValue"],setup(e,{emit:t,slots:n}){let r;const o=Xt(),i=Xt(),s=nl(o),a=Mt({status:"normal",distance:0,duration:0}),l=jc(),c=()=>{if(50!==e.headHeight)return{height:"".concat(e.headHeight,"px")}},u=()=>"loading"!==a.status&&"success"!==a.status&&!e.disabled,d=(n,r)=>{const o=+(e.pullDistance||e.headHeight);a.distance=n,a.status=r?"loading":0===n?"normal":n<o?"pulling":"loosing",t("change",{status:a.status,distance:n})},f=()=>{const{status:t}=a;return"normal"===t?"":e["".concat(t,"Text")]||Jm(t)},h=()=>{const{status:e,distance:t}=a;if(n[e])return n[e]({distance:t});const r=[];return Km.includes(e)&&r.push(_i("div",{class:Zm("text")},[f()])),"loading"===e&&r.push(_i(Lc,{class:Zm("loading")},{default:f})),r},p=e=>{r=0===il(s.value),r&&(a.duration=0,l.start(e))},m=e=>{u()&&p(e)},v=()=>{r&&l.deltaY.value&&u()&&(a.duration=+e.animationDuration,"loosing"===a.status?(d(+e.headHeight,!0),t("update:modelValue",!0),Sn((()=>t("refresh")))):d(0))};return qo((()=>e.modelValue),(t=>{a.duration=+e.animationDuration,t?d(+e.headHeight,!0):n.success||e.successText?(a.status="success",setTimeout((()=>{d(0)}),+e.successDuration)):d(0,!1)})),qa("touchmove",(t=>{if(u()){r||p(t);const{deltaY:n}=l;l.move(t),r&&n.value>=0&&l.isVertical()&&(hl(t),d((t=>{const n=+(e.pullDistance||e.headHeight);return t>n&&(t=t<2*n?n+(t-n)/2:1.5*n+(t-2*n)/4),Math.round(t)})(n.value)))}}),{target:i}),()=>{var e;const t={transitionDuration:"".concat(a.duration,"ms"),transform:a.distance?"translate3d(0,".concat(a.distance,"px, 0)"):""};return _i("div",{ref:o,class:Zm()},[_i("div",{ref:i,class:Zm("track"),style:t,onTouchstartPassive:m,onTouchend:v,onTouchcancel:v},[_i("div",{class:Zm("head"),style:c()},[h()]),null==(e=n.default)?void 0:e.call(n)])])}}});const ev=Zl(Qm),tv=Zl(Eh),[nv,rv,ov]=Bl("search");var iv=cr({name:nv,props:t({},Rd,{label:String,shape:w("square"),leftIcon:w("search"),clearable:m,actionText:String,background:String,showAction:Boolean}),emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:n,slots:r,attrs:o}){const i=Eu(),s=Xt(),a=()=>{r.action||(n("update:modelValue",""),n("cancel"))},l=t=>{13===t.keyCode&&(hl(t),n("search",e.modelValue))},c=()=>e.id||"".concat(i,"-input"),d=()=>{if(r.label||e.label)return _i("label",{class:rv("label"),for:c()},[r.label?r.label():e.label])},f=()=>{if(e.showAction){const t=e.actionText||ov("cancel");return _i("div",{class:rv("action"),role:"button",tabindex:0,onClick:a},[r.action?r.action():t])}},h=e=>n("blur",e),p=e=>n("focus",e),m=e=>n("clear",e),v=e=>n("clickInput",e),g=e=>n("clickLeftIcon",e),b=e=>n("clickRightIcon",e),y=Object.keys(Rd),w=()=>{const i=t({},o,u(e,y),{id:c()});return _i(Nd,Di({ref:s,type:"search",class:rv("field",{"with-message":i.errorMessage}),border:!1,onBlur:h,onFocus:p,onClear:m,onKeypress:l,onClickInput:v,onClickLeftIcon:g,onClickRightIcon:b,"onUpdate:modelValue":e=>n("update:modelValue",e)},i),u(r,["left-icon","right-icon"]))};return ac({focus:()=>{var e;return null==(e=s.value)?void 0:e.focus()},blur:()=>{var e;return null==(e=s.value)?void 0:e.blur()}}),()=>{var t;return _i("div",{class:rv({"show-action":e.showAction}),style:{background:e.background}},[null==(t=r.left)?void 0:t.call(r),_i("div",{class:rv("content",e.shape)},[d(),w()]),f()])}}});const sv=Zl(iv),[av,lv]=Bl("skeleton-title");var cv=cr({name:av,props:{round:Boolean,titleWidth:p},setup:e=>()=>_i("h3",{class:lv([{round:e.round}]),style:{width:gl(e.titleWidth)}},null)});var uv=Zl(cv);const[dv,fv]=Bl("skeleton-avatar");var hv=cr({name:dv,props:{avatarSize:p,avatarShape:w("round")},setup:e=>()=>_i("div",{class:fv([e.avatarShape]),style:bl(e.avatarSize)},null)});const pv=Zl(hv);var mv=pv;const vv="100%",gv={round:Boolean,rowWidth:{type:p,default:vv}},[bv,yv]=Bl("skeleton-paragraph");var wv=cr({name:bv,props:gv,setup:e=>()=>_i("div",{class:yv([{round:e.round}]),style:{width:e.rowWidth}},null)});const xv=Zl(wv);var Sv=xv;const[Ev,Cv]=Bl("skeleton");var kv=cr({name:Ev,inheritAttrs:!1,props:{row:y(0),round:Boolean,title:Boolean,titleWidth:p,avatar:Boolean,avatarSize:p,avatarShape:w("round"),loading:m,animate:m,rowWidth:{type:[Number,String,Array],default:vv}},setup(e,{slots:t,attrs:n}){const r=()=>{if(e.avatar)return _i(mv,{avatarShape:e.avatarShape,avatarSize:e.avatarSize},null)},o=()=>{if(e.title)return _i(uv,{round:e.round,titleWidth:e.titleWidth},null)},i=t=>{const{rowWidth:n}=e;return n===vv&&t===+e.row-1?"60%":Array.isArray(n)?n[t]:n};return()=>{var s;return e.loading?_i("div",Di({class:Cv({animate:e.animate,round:e.round})},n),[t.template?t.template():_i(ci,null,[r(),_i("div",{class:Cv("content")},[o(),Array(+e.row).fill("").map(((t,n)=>_i(Sv,{key:n,round:e.round,rowWidth:gl(i(n))},null)))])])]):null==(s=t.default)?void 0:s.call(t)}}});const _v=Zl(kv),[Tv,Ov]=Bl("skeleton-image");var Lv=cr({name:Tv,props:{imageSize:p,imageShape:w("square")},setup:e=>()=>_i("div",{class:Ov([e.imageShape]),style:bl(e.imageSize)},[_i(Sc,{name:"photo",class:Ov("icon")},null)])});const Av=Zl(Lv),[Iv,Pv]=Bl("stepper"),Mv=(e,t)=>String(e)===String(t);var Rv=cr({name:Iv,props:{min:y(1),max:y(1/0),name:y(""),step:y(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:m,showMinus:m,showInput:m,longPress:m,autoFixed:m,allowEmpty:Boolean,modelValue:p,inputWidth:p,buttonSize:p,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:y(1),decimalLength:p},emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup(e,{emit:t}){const n=(t,n=!0)=>{const{min:r,max:i,allowEmpty:s,decimalLength:a}=e;return s&&""===t||(t=""===(t=Ol(String(t),!e.integer))?0:+t,t=Number.isNaN(t)?+r:t,t=n?Math.max(Math.min(+i,t),+r):t,o(a)&&(t=t.toFixed(+a))),t};let r;const i=Xt(),s=Xt((()=>{var r;const o=null!=(r=e.modelValue)?r:e.defaultValue,i=n(o);return Mv(i,e.modelValue)||t("update:modelValue",i),i})()),a=es((()=>e.disabled||e.disableMinus||+s.value<=+e.min)),l=es((()=>e.disabled||e.disablePlus||+s.value>=+e.max)),c=es((()=>({width:gl(e.inputWidth),height:gl(e.buttonSize)}))),u=es((()=>bl(e.buttonSize))),d=t=>{e.beforeChange?ql(e.beforeChange,{args:[t],done(){s.value=t}}):s.value=t},f=()=>{if("plus"===r&&l.value||"minus"===r&&a.value)return void t("overlimit",r);const o="minus"===r?-e.step:+e.step,i=n(function(e,t){const n=10**10;return Math.round((e+t)*n)/n}(+s.value,o));d(i),t(r)},h=t=>{const n=t.target,{value:r}=n,{decimalLength:i}=e;let a=Ol(String(r),!e.integer);if(o(i)&&a.includes(".")){const e=a.split(".");a="".concat(e[0],".").concat(e[1].slice(0,+i))}e.beforeChange?n.value=String(s.value):Mv(r,a)||(n.value=a);const l=a===String(+a);d(l?+a:a)},p=n=>{var r;e.disableInput?null==(r=i.value)||r.blur():t("focus",n)},m=r=>{const o=r.target,i=n(o.value,e.autoFixed);o.value=String(i),s.value=i,Sn((()=>{t("blur",r),dl()}))};let v,g;const b=()=>{g=setTimeout((()=>{f(),b()}),200)},y=t=>{e.longPress&&(clearTimeout(g),v&&hl(t))},w=t=>{e.disableInput&&hl(t)},x=t=>({onClick:e=>{hl(e),r=t,f()},onTouchstartPassive:()=>{r=t,e.longPress&&(v=!1,clearTimeout(g),g=setTimeout((()=>{v=!0,f(),b()}),500))},onTouchend:y,onTouchcancel:y});return qo((()=>[e.max,e.min,e.integer,e.decimalLength]),(()=>{const e=n(s.value);Mv(e,s.value)||(s.value=e)})),qo((()=>e.modelValue),(e=>{Mv(e,s.value)||(s.value=n(e))})),qo(s,(n=>{t("update:modelValue",n),t("change",n,{name:e.name})})),ol((()=>e.modelValue)),()=>_i("div",{role:"group",class:Pv([e.theme])},[Rn(_i("button",Di({type:"button",style:u.value,class:[Pv("minus",{disabled:a.value}),{[Xl]:!a.value}],"aria-disabled":a.value||void 0},x("minus")),null),[[Is,e.showMinus]]),Rn(_i("input",{ref:i,type:e.integer?"tel":"text",role:"spinbutton",class:Pv("input"),value:s.value,style:c.value,disabled:e.disabled,readonly:e.disableInput,inputmode:e.integer?"numeric":"decimal",placeholder:e.placeholder,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":s.value,onBlur:m,onInput:h,onFocus:p,onMousedown:w},null),[[Is,e.showInput]]),Rn(_i("button",Di({type:"button",style:u.value,class:[Pv("plus",{disabled:l.value}),{[Xl]:!l.value}],"aria-disabled":l.value||void 0},x("plus")),null),[[Is,e.showPlus]])])}});const Dv=Zl(Rv),[Nv,Bv]=Bl("tabbar"),zv={route:Boolean,fixed:m,border:m,zIndex:p,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:y(0),safeAreaInsetBottom:{type:Boolean,default:null}},Fv=Symbol(Nv);var jv=cr({name:Nv,props:zv,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Xt(),{linkChildren:o}=ja(Fv),i=tc(r,Bv),s=()=>{var t;return null!=(t=e.safeAreaInsetBottom)?t:e.fixed},a=()=>{var t;const{fixed:o,zIndex:i,border:a}=e;return _i("div",{ref:r,role:"tablist",style:yl(i),class:[Bv({fixed:o}),{[Yl]:a,"van-safe-area-bottom":s()}]},[null==(t=n.default)?void 0:t.call(n)])};return o({props:e,setActive:(n,r)=>{ql(e.beforeChange,{args:[n],done(){t("update:modelValue",n),t("change",n),r()}})}}),()=>e.fixed&&e.placeholder?i(a):a()}});const Wv=Zl(jv),[Hv,Vv]=Bl("tabbar-item");var Yv=cr({name:Hv,props:t({},lc,{dot:Boolean,icon:String,name:p,badge:p,badgeProps:Object,iconPrefix:String}),emits:["click"],setup(e,{emit:t,slots:n}){const o=uc(),i=ji().proxy,{parent:s,index:a}=Ba(Fv);if(!s)return;const l=es((()=>{var t;const{route:n,modelValue:o}=s.props;if(n&&"$route"in i){const{$route:t}=i,{to:n}=e,o=r(n)?n:{path:n};return!!t.matched.find((e=>{const t="path"in o&&o.path===e.path,n="name"in o&&o.name===e.name;return t||n}))}return(null!=(t=e.name)?t:a.value)===o})),c=n=>{var r;l.value||s.setActive(null!=(r=e.name)?r:a.value,o),t("click",n)},u=()=>n.icon?n.icon({active:l.value}):e.icon?_i(Sc,{name:e.icon,classPrefix:e.iconPrefix},null):void 0;return()=>{var t;const{dot:r,badge:o}=e,{activeColor:i,inactiveColor:a}=s.props,d=l.value?i:a;return _i("div",{role:"tab",class:Vv({active:l.value}),style:{color:d},tabindex:0,"aria-selected":l.value,onClick:c},[_i(pc,Di({dot:r,class:Vv("icon"),content:o},e.badgeProps),{default:u}),_i("div",{class:Vv("text")},[null==(t=n.default)?void 0:t.call(n,{active:l.value})])])}}});const Uv=Zl(Yv),[Xv,$v,Gv]=Bl("uploader");function qv(e,t){return new Promise((n=>{if("file"===t)return void n();const r=new FileReader;r.onload=e=>{n(e.target.result)},"dataUrl"===t?r.readAsDataURL(e):"text"===t&&r.readAsText(e)}))}function Zv(e,t){return f(e).some((e=>!!e.file&&(i(t)?t(e.file):e.file.size>+t)))}const Jv=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i;function Kv(e){return!!e.isImage||(e.file&&e.file.type?0===e.file.type.indexOf("image"):e.url?(t=e.url,Jv.test(t)):"string"==typeof e.content&&0===e.content.indexOf("data:image"));var t}var Qv=cr({props:{name:p,item:v(Object),index:Number,imageFit:String,lazyLoad:Boolean,deletable:Boolean,reupload:Boolean,previewSize:[Number,String,Array],beforeDelete:Function},emits:["delete","preview","reupload"],setup(e,{emit:n,slots:r}){const i=()=>{const{status:t,message:n}=e.item;if("uploading"===t||"failed"===t){const e="failed"===t?_i(Sc,{name:"close",class:$v("mask-icon")},null):_i(Lc,{class:$v("loading")},null),r=o(n)&&""!==n;return _i("div",{class:$v("mask")},[e,r&&_i("div",{class:$v("mask-message")},[n])])}},s=t=>{const{name:r,item:o,index:i,beforeDelete:s}=e;t.stopPropagation(),ql(s,{args:[o,{name:r,index:i}],done:()=>n("delete")})},a=()=>n("preview"),l=()=>n("reupload"),c=()=>{if(e.deletable&&"uploading"!==e.item.status){const e=r["preview-delete"];return _i("div",{role:"button",class:$v("preview-delete",{shadow:!e}),tabindex:0,"aria-label":Gv("delete"),onClick:s},[e?e():_i(Sc,{name:"cross",class:$v("preview-delete-icon")},null)])}},u=()=>{if(r["preview-cover"]){const{index:n,item:o}=e;return _i("div",{class:$v("preview-cover")},[r["preview-cover"](t({index:n},o))])}},d=()=>{const{item:t,lazyLoad:n,imageFit:r,previewSize:o,reupload:i}=e;return Kv(t)?_i(lh,{fit:r,src:t.objectUrl||t.content||t.url,class:$v("preview-image"),width:Array.isArray(o)?o[0]:o,height:Array.isArray(o)?o[1]:o,lazyLoad:n,onClick:i?l:a},{default:u}):_i("div",{class:$v("file"),style:bl(e.previewSize)},[_i(Sc,{class:$v("file-icon"),name:"description"},null),_i("div",{class:[$v("file-name"),"van-ellipsis"]},[t.file?t.file.name:t.url]),u()])};return()=>_i("div",{class:$v("preview")},[d(),i(),c()])}});var eg=cr({name:Xv,props:{name:y(""),accept:w("image/*"),capture:String,multiple:Boolean,disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,maxCount:y(1/0),imageFit:w("cover"),resultType:w("dataUrl"),uploadIcon:w("photograph"),uploadText:String,deletable:m,reupload:Boolean,afterRead:Function,showUpload:m,modelValue:g(),beforeRead:Function,beforeDelete:Function,previewSize:[Number,String,Array],previewImage:m,previewOptions:Object,previewFullImage:m,maxSize:{type:[Number,String,Function],default:1/0}},emits:["delete","oversize","clickUpload","closePreview","clickPreview","clickReupload","update:modelValue"],setup(e,{emit:n,slots:r}){const o=Xt(),i=[],a=Xt(-1),l=Xt(!1),c=(t=e.modelValue.length)=>({name:e.name,index:t}),d=()=>{o.value&&(o.value.value="")},h=t=>{if(d(),Zv(t,e.maxSize)){if(!Array.isArray(t))return void n("oversize",t,c());{const r=function(e,t){const n=[],r=[];return e.forEach((e=>{Zv(e,t)?r.push(e):n.push(e)})),{valid:n,invalid:r}}(t,e.maxSize);if(t=r.valid,n("oversize",r.invalid,c()),!t.length)return}}if(t=Mt(t),a.value>-1){const r=[...e.modelValue];r.splice(a.value,1,t),n("update:modelValue",r),a.value=-1}else n("update:modelValue",[...e.modelValue,...f(t)]);e.afterRead&&e.afterRead(t,c())},p=t=>{const{maxCount:n,modelValue:r,resultType:o}=e;if(Array.isArray(t)){const e=+n-r.length;t.length>e&&(t=t.slice(0,e)),Promise.all(t.map((e=>qv(e,o)))).then((e=>{const n=t.map(((t,n)=>{const r={file:t,status:"",message:"",objectUrl:URL.createObjectURL(t)};return e[n]&&(r.content=e[n]),r}));h(n)}))}else qv(t,o).then((e=>{const n={file:t,status:"",message:"",objectUrl:URL.createObjectURL(t)};e&&(n.content=e),h(n)}))},m=t=>{const{files:n}=t.target;if(e.disabled||!n||!n.length)return;const r=1===n.length?n[0]:[].slice.call(n);if(e.beforeRead){const t=e.beforeRead(r,c());if(!t)return void d();if(s(t))return void t.then((e=>{p(e||r)})).catch(d)}p(r)};let v;const g=()=>n("closePreview"),b=()=>{l.value||(a.value=-1),l.value=!1},y=(o,s)=>{const d=["imageFit","deletable","reupload","previewSize","beforeDelete"],f=t(u(e,d),u(o,d,!0));return _i(Qv,Di({item:o,index:s,onClick:()=>n(e.reupload?"clickReupload":"clickPreview",o,c(s)),onDelete:()=>((t,r)=>{const o=e.modelValue.slice(0);o.splice(r,1),n("update:modelValue",o),n("delete",t,c(r))})(o,s),onPreview:()=>(n=>{if(e.previewFullImage){const r=e.modelValue.filter(Kv),o=r.map((e=>(e.objectUrl&&!e.url&&"failed"!==e.status&&(e.url=e.objectUrl,i.push(e.url)),e.url))).filter(Boolean);v=Tp(t({images:o,startPosition:r.indexOf(n),onClose:g},e.previewOptions))}})(o),onReupload:()=>(e=>{l.value=!0,a.value=e,Sn((()=>E()))})(s)},u(e,["name","lazyLoad"]),f),u(r,["preview-cover","preview-delete"]))},w=()=>{if(e.previewImage)return e.modelValue.map(y)},x=e=>n("clickUpload",e),S=()=>{if(e.modelValue.length>=+e.maxCount&&!e.reupload)return;const t=e.modelValue.length>=+e.maxCount&&e.reupload,n=e.readonly?null:_i("input",{ref:o,type:"file",class:$v("input"),accept:e.accept,capture:e.capture,multiple:e.multiple&&-1===a.value,disabled:e.disabled,onChange:m,onClick:b},null);return r.default?Rn(_i("div",{class:$v("input-wrapper"),onClick:x},[r.default(),n]),[[Is,!t]]):Rn(_i("div",{class:$v("upload",{readonly:e.readonly}),style:bl(e.previewSize),onClick:x},[_i(Sc,{name:e.uploadIcon,class:$v("upload-icon")},null),e.uploadText&&_i("span",{class:$v("upload-text")},[e.uploadText]),n]),[[Is,e.showUpload&&!t]])},E=()=>{o.value&&!e.disabled&&o.value.click()};return Pr((()=>{i.forEach((e=>URL.revokeObjectURL(e)))})),ac({chooseFile:E,closeImagePreview:()=>{v&&v.close()}}),ol((()=>e.modelValue)),()=>_i("div",{class:$v()},[_i("div",{class:$v("wrapper",{disabled:e.disabled})},[w(),S()])])}});const tg=Zl(eg);class ng{constructor({el:e,src:t,error:n,loading:r,bindType:o,$parent:i,options:s,cors:a,elRenderer:l,imageCache:c}){this.el=e,this.src=t,this.error=n,this.loading=r,this.bindType=o,this.attempt=0,this.cors=a,this.naturalHeight=0,this.naturalWidth=0,this.options=s,this.$parent=i,this.elRenderer=l,this.imageCache=c,this.performanceData={loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}initState(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}record(e){this.performanceData[e]=Date.now()}update({src:e,loading:t,error:n}){const r=this.src;this.src=e,this.loading=t,this.error=n,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}checkInView(){const e=Na(this.el);return e.top<window.innerHeight*this.options.preLoad&&e.bottom>this.options.preLoadTop&&e.left<window.innerWidth*this.options.preLoad&&e.right>0}filter(){Object.keys(this.options.filter).forEach((e=>{this.options.filter[e](this,this.options)}))}renderLoading(e){this.state.loading=!0,Af({src:this.loading,cors:this.cors},(()=>{this.render("loading",!1),this.state.loading=!1,e()}),(()=>{e(),this.state.loading=!1}))}load(t=e){if(this.attempt>this.options.attempt-1&&this.state.error)t();else if(!this.state.rendered||!this.state.loaded)return this.imageCache.has(this.src)?(this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t()):void this.renderLoading((()=>{var e,n;this.attempt++,null==(n=(e=this.options.adapter).beforeLoad)||n.call(e,this,this.options),this.record("loadStart"),Af({src:this.src,cors:this.cors},(e=>{this.naturalHeight=e.naturalHeight,this.naturalWidth=e.naturalWidth,this.state.loaded=!0,this.state.error=!1,this.record("loadEnd"),this.render("loaded",!1),this.state.rendered=!0,this.imageCache.add(this.src),t()}),(e=>{this.options.silent,this.state.error=!0,this.state.loaded=!1,this.render("error",!1)}))}))}render(e,t){this.elRenderer(this,e,t)}performance(){let e="loading",t=0;return this.state.loaded&&(e="loaded",t=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(e="error"),{src:this.src,state:e,time:t}}$destroy(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}const rg="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",og=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],ig={rootMargin:"0px",threshold:0};var sg=e=>({props:{tag:{type:String,default:"div"}},emits:["show"],render(){return ts(this.tag,this.show&&this.$slots.default?this.$slots.default():null)},data:()=>({el:null,state:{loaded:!1},show:!1}),mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{checkInView(){const t=Na(this.$el);return Ia&&t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy(){return this.$destroy}}});const ag={selector:"img"};class lg{constructor({el:e,binding:t,vnode:n,lazy:r}){this.el=null,this.vnode=n,this.binding=t,this.options={},this.lazy=r,this.queue=[],this.update({el:e,binding:t})}update({el:e,binding:t}){this.el=e,this.options=Object.assign({},ag,t.value);this.getImgs().forEach((e=>{this.lazy.add(e,Object.assign({},this.binding,{value:{src:"dataset"in e?e.dataset.src:e.getAttribute("data-src"),error:("dataset"in e?e.dataset.error:e.getAttribute("data-error"))||this.options.error,loading:("dataset"in e?e.dataset.loading:e.getAttribute("data-loading"))||this.options.loading}}),this.vnode)}))}getImgs(){return Array.from(this.el.querySelectorAll(this.options.selector))}clear(){this.getImgs().forEach((e=>this.lazy.remove(e))),this.vnode=null,this.binding=null,this.lazy=null}}class cg{constructor({lazy:e}){this.lazy=e,this.queue=[]}bind(e,t,n){const r=new lg({el:e,binding:t,vnode:n,lazy:this.lazy});this.queue.push(r)}update(e,t,n){const r=this.queue.find((t=>t.el===e));r&&r.update({el:e,binding:t,vnode:n})}unbind(e){const t=this.queue.find((t=>t.el===e));t&&(t.clear(),Ef(this.queue,t))}}var ug=t=>({props:{src:[String,Object],tag:{type:String,default:"img"}},render(){var e,t;return ts(this.tag,{src:this.renderSrc},null==(t=(e=this.$slots).default)?void 0:t.call(e))},data:()=>({el:null,options:{src:"",error:"",loading:"",attempt:t.options.attempt},state:{loaded:!1,error:!1,attempt:0},renderSrc:""}),watch:{src(){this.init(),t.addLazyBox(this),t.lazyLoadHandler()}},created(){this.init()},mounted(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeUnmount(){t.removeComponent(this)},methods:{init(){const{src:e,loading:n,error:r}=t.valueFormatter(this.src);this.state.loaded=!1,this.options.src=e,this.options.error=r,this.options.loading=n,this.renderSrc=this.options.loading},checkInView(){const e=Na(this.$el);return e.top<window.innerHeight*t.options.preLoad&&e.bottom>0&&e.left<window.innerWidth*t.options.preLoad&&e.right>0},load(t=e){if(this.state.attempt>this.options.attempt-1&&this.state.error)return void t();const{src:n}=this.options;Af({src:n},(({src:e})=>{this.renderSrc=e,this.state.loaded=!0}),(()=>{this.state.attempt++,this.renderSrc=this.options.error,this.state.error=!0}))}}});const dg={install(e,t={}){const n=class{constructor({preLoad:e,error:t,throttleWait:n,preLoadTop:r,dispatchEvent:o,loading:i,attempt:s,silent:a=!0,scale:l,listenEvents:c,filter:u,adapter:d,observer:f,observerOptions:h}){this.mode=xf,this.listeners=[],this.targetIndex=0,this.targets=[],this.options={silent:a,dispatchEvent:!!o,throttleWait:n||200,preLoad:e||1.3,preLoadTop:r||0,error:t||rg,loading:i||rg,attempt:s||3,scale:l||kf(l),ListenEvents:c||og,supportWebp:_f(),filter:u||{},adapter:d||{},observer:!!f,observerOptions:h||ig},this.initEvent(),this.imageCache=new If({max:200}),this.lazyLoadHandler=Tf(this.lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?Sf:xf)}config(e={}){Object.assign(this.options,e)}performance(){return this.listeners.map((e=>e.performance()))}addLazyBox(e){this.listeners.push(e),Ia&&(this.addListenerTarget(window),this.observer&&this.observer.observe(e.el),e.$el&&e.$el.parentNode&&this.addListenerTarget(e.$el.parentNode))}add(e,t,n){if(this.listeners.some((t=>t.el===e)))return this.update(e,t),Sn(this.lazyLoadHandler);const r=this.valueFormatter(t.value);let{src:o}=r;Sn((()=>{o=Cf(e,this.options.scale)||o,this.observer&&this.observer.observe(e);const i=Object.keys(t.modifiers)[0];let s;i&&(s=n.context.$refs[i],s=s?s.$el||s:document.getElementById(i)),s||(s=tl(e));const a=new ng({bindType:t.arg,$parent:s,el:e,src:o,loading:r.loading,error:r.error,cors:r.cors,elRenderer:this.elRenderer.bind(this),options:this.options,imageCache:this.imageCache});this.listeners.push(a),Ia&&(this.addListenerTarget(window),this.addListenerTarget(s)),this.lazyLoadHandler(),Sn((()=>this.lazyLoadHandler()))}))}update(e,t,n){const r=this.valueFormatter(t.value);let{src:o}=r;o=Cf(e,this.options.scale)||o;const i=this.listeners.find((t=>t.el===e));i?i.update({src:o,error:r.error,loading:r.loading}):this.add(e,t,n),this.observer&&(this.observer.unobserve(e),this.observer.observe(e)),this.lazyLoadHandler(),Sn((()=>this.lazyLoadHandler()))}remove(e){if(!e)return;this.observer&&this.observer.unobserve(e);const t=this.listeners.find((t=>t.el===e));t&&(this.removeListenerTarget(t.$parent),this.removeListenerTarget(window),Ef(this.listeners,t),t.$destroy())}removeComponent(e){e&&(Ef(this.listeners,e),this.observer&&this.observer.unobserve(e.el),e.$parent&&e.$el.parentNode&&this.removeListenerTarget(e.$el.parentNode),this.removeListenerTarget(window))}setMode(e){wf||e!==Sf||(e=xf),this.mode=e,e===xf?(this.observer&&(this.listeners.forEach((e=>{this.observer.unobserve(e.el)})),this.observer=null),this.targets.forEach((e=>{this.initListen(e.el,!0)}))):(this.targets.forEach((e=>{this.initListen(e.el,!1)})),this.initIntersectionObserver())}addListenerTarget(e){if(!e)return;let t=this.targets.find((t=>t.el===e));return t?t.childrenCount++:(t={el:e,id:++this.targetIndex,childrenCount:1,listened:!0},this.mode===xf&&this.initListen(t.el,!0),this.targets.push(t)),this.targetIndex}removeListenerTarget(e){this.targets.forEach(((t,n)=>{t.el===e&&(t.childrenCount--,t.childrenCount||(this.initListen(t.el,!1),this.targets.splice(n,1),t=null))}))}initListen(e,t){this.options.ListenEvents.forEach((n=>(t?Of:Lf)(e,n,this.lazyLoadHandler)))}initEvent(){this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=(e,t)=>{this.Event.listeners[e]||(this.Event.listeners[e]=[]),this.Event.listeners[e].push(t)},this.$once=(e,t)=>{const n=(...r)=>{this.$off(e,n),t.apply(this,r)};this.$on(e,n)},this.$off=(e,t)=>{if(t)Ef(this.Event.listeners[e],t);else{if(!this.Event.listeners[e])return;this.Event.listeners[e].length=0}},this.$emit=(e,t,n)=>{this.Event.listeners[e]&&this.Event.listeners[e].forEach((e=>e(t,n)))}}lazyLoadHandler(){const e=[];this.listeners.forEach((t=>{t.el&&t.el.parentNode||e.push(t),t.checkInView()&&t.load()})),e.forEach((e=>{Ef(this.listeners,e),e.$destroy()}))}initIntersectionObserver(){wf&&(this.observer=new IntersectionObserver(this.observerHandler.bind(this),this.options.observerOptions),this.listeners.length&&this.listeners.forEach((e=>{this.observer.observe(e.el)})))}observerHandler(e){e.forEach((e=>{e.isIntersecting&&this.listeners.forEach((t=>{if(t.el===e.target){if(t.state.loaded)return this.observer.unobserve(t.el);t.load()}}))}))}elRenderer(e,t,n){if(!e.el)return;const{el:r,bindType:o}=e;let i;switch(t){case"loading":i=e.loading;break;case"error":i=e.error;break;default:({src:i}=e)}if(o?r.style[o]='url("'+i+'")':r.getAttribute("src")!==i&&r.setAttribute("src",i),r.setAttribute("lazy",t),this.$emit(t,e,n),this.options.adapter[t]&&this.options.adapter[t](e,this.options),this.options.dispatchEvent){const n=new CustomEvent(t,{detail:e});r.dispatchEvent(n)}}valueFormatter(e){let t=e,{loading:n,error:o}=this.options;return r(e)&&(({src:t}=e),n=e.loading||this.options.loading,o=e.error||this.options.error),{src:t,loading:n,error:o}}},o=new n(t),i=new cg({lazy:o});e.config.globalProperties.$Lazyload=o,t.lazyComponent&&e.component("LazyComponent",sg(o)),t.lazyImage&&e.component("LazyImage",ug(o)),e.directive("lazy",{beforeMount:o.add.bind(o),updated:o.update.bind(o),unmounted:o.remove.bind(o)}),e.directive("lazy-container",{beforeMount:i.bind.bind(i),updated:i.update.bind(i),unmounted:i.unbind.bind(i)})}},fg="undefined"!=typeof window;
/*!
  * vue-router v4.2.5
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */const hg=Object.assign;function pg(e,t){const n={};for(const r in t){const o=t[r];n[r]=vg(o)?o.map(e):e(o)}return n}const mg=()=>{},vg=Array.isArray,gg=/\/$/,bg=e=>e.replace(gg,"");function yg(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,s,a=n.length-1;for(i=0;i<r.length;i++)if(s=r[i],"."!==s){if(".."!==s)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function wg(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function xg(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Eg(e[n],t[n]))return!1;return!0}function Eg(e,t){return vg(e)?Cg(e,t):vg(t)?Cg(t,e):e===t}function Cg(e,t){return vg(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var kg,_g,Tg,Og;(_g=kg||(kg={})).pop="pop",_g.push="push",(Og=Tg||(Tg={})).back="back",Og.forward="forward",Og.unknown="";const Lg=/^[^#]+#/;function Ag(e,t){return e.replace(Lg,"#")+t}const Ig=()=>({left:window.pageXOffset,top:window.pageYOffset});function Pg(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function Mg(e,t){return(history.state?history.state.position-t:-1)+e}const Rg=new Map;let Dg=()=>location.protocol+"//"+location.host;function Ng(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),wg(n,"")}return wg(n,e)+r+o}function Bg(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ig():null}}function zg(e){const t=function(e){const{history:t,location:n}=window,r={value:Ng(e,n)},o={value:t.state};function i(r,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+r:Dg()+e+r;try{t[s?"replaceState":"pushState"](i,"",l),o.value=i}catch(c){n[s?"replace":"assign"](l)}}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const s=hg({},o.value,t.state,{forward:e,scroll:Ig()});i(s.current,s,!0),i(e,hg({},Bg(r.value,e,null),{position:s.position+1},n),!1),r.value=e},replace:function(e,n){i(e,hg({},t.state,Bg(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}(e=function(e){if(!e)if(fg){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),bg(e)}(e)),n=function(e,t,n,r){let o=[],i=[],s=null;const a=({state:i})=>{const a=Ng(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else r(a);o.forEach((e=>{e(n.value,l,{delta:u,type:kg.pop,direction:u?u>0?Tg.forward:Tg.back:Tg.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(hg({},e.state,{scroll:Ig()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const r=hg({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ag.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Fg(e){return(e=location.host?e||location.pathname+location.search:"").includes("#")||(e+="#"),zg(e)}function jg(e){return"string"==typeof e||"symbol"==typeof e}const Wg={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Hg=Symbol("");var Vg,Yg;function Ug(e,t){return hg(new Error,{type:e,[Hg]:!0},t)}function Xg(e,t){return e instanceof Error&&Hg in e&&(null==t||!!(e.type&t))}(Yg=Vg||(Vg={}))[Yg.aborted=4]="aborted",Yg[Yg.cancelled=8]="cancelled",Yg[Yg.duplicated=16]="duplicated";const $g="[^/]+?",Gg={sensitive:!1,strict:!1,start:!0,end:!0},qg=/[.+*?^${}()[\]/\\]/g;function Zg(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Jg(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=Zg(r[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-r.length)){if(Kg(r))return 1;if(Kg(o))return-1}return o.length-r.length}function Kg(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Qg={type:0,value:""},eb=/[a-zA-Z0-9_]/;function tb(e,t,n){const r=function(e,t){const n=hg({},Gg,t),r=[];let o=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const r=l[t];let s=40+(n.sensitive?.25:0);if(0===r.type)t||(o+="/"),o+=r.value.replace(qg,"\\$&"),s+=40;else if(1===r.type){const{value:e,repeatable:n,optional:c,regexp:u}=r;i.push({name:e,repeatable:n,optional:c});const d=u||$g;if(d!==$g){s+=10;try{new RegExp("(".concat(d,")"))}catch(a){throw new Error('Invalid custom RegExp for param "'.concat(e,'" (').concat(d,"): ")+a.message)}}let f=n?"((?:".concat(d,")(?:/(?:").concat(d,"))*)"):"(".concat(d,")");t||(f=c&&l.length<2?"(?:/".concat(f,")"):"/"+f),c&&(f+="?"),o+=f,s+=20,c&&(s+=-8),n&&(s+=-20),".*"===d&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");return{re:s,score:r,keys:i,parse:function(e){const t=e.match(s),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",o=i[r-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:i,repeatable:s,optional:a}=e,l=i in t?t[i]:"";if(vg(l)&&!s)throw new Error('Provided param "'.concat(i,'" is an array but it is not repeatable (* or + modifiers)'));const c=vg(l)?l.join("/"):l;if(!c){if(!a)throw new Error('Missing required param "'.concat(i,'"'));o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Qg]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(e){throw new Error("ERR (".concat(n,')/"').concat(c,'": ').concat(e))}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a,l=0,c="",u="";function d(){c&&(0===n?i.push({type:0,value:c}):1===n||2===n||3===n?(i.length>1&&("*"===a||"+"===a)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l<e.length;)if(a=e[l++],"\\"!==a||2===n)switch(n){case 0:"/"===a?(c&&d(),s()):":"===a?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===a?n=2:eb.test(a)?f():(d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--);break;case 2:")"===a?"\\"==u[u.length-1]?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,"*"!==a&&"?"!==a&&"+"!==a&&l--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t('Unfinished custom RegExp for param "'.concat(c,'"')),d(),s(),o}(e.path),n),o=hg(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function nb(e,t){const n=[],r=new Map;function o(e,n,r){const a=!r,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ob(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=r&&r.record;const c=ab(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(hg({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l}))}let d,f;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(d=tb(t,n,c),r?r.alias.push(d):(f=f||d,f!==d&&f.alias.push(d),a&&e.name&&!ib(d)&&i(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&s(d)}return f?()=>{i(f)}:mg}function i(e){if(jg(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t<n.length&&Jg(e,n[t])>=0&&(e.record.path!==n[t].record.path||!lb(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!ib(e)&&r.set(e.record.name,e)}return t=ab({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,i,s,a={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw Ug(1,{location:e});s=o.record.name,a=hg(rb(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&rb(e.params,o.keys.map((e=>e.name)))),i=o.stringify(a)}else if("path"in e)i=e.path,o=n.find((e=>e.re.test(i))),o&&(a=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw Ug(1,{location:e,currentLocation:t});s=o.record.name,a=hg({},t.params,e.params),i=o.stringify(a)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:sb(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function rb(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ob(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n;return t}function ib(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sb(e){return e.reduce(((e,t)=>hg(e,t.meta)),{})}function ab(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lb(e,t){return t.children.some((t=>t===e||lb(e,t)))}const cb=/#/g,ub=/&/g,db=/\//g,fb=/=/g,hb=/\?/g,pb=/\+/g,mb=/%5B/g,vb=/%5D/g,gb=/%5E/g,bb=/%60/g,yb=/%7B/g,wb=/%7C/g,xb=/%7D/g,Sb=/%20/g;function Eb(e){return encodeURI(""+e).replace(wb,"|").replace(mb,"[").replace(vb,"]")}function Cb(e){return Eb(e).replace(pb,"%2B").replace(Sb,"+").replace(cb,"%23").replace(ub,"%26").replace(bb,"`").replace(yb,"{").replace(xb,"}").replace(gb,"^")}function kb(e){return null==e?"":function(e){return Eb(e).replace(cb,"%23").replace(hb,"%3F")}(e).replace(db,"%2F")}function _b(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Tb(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const e=n[r].replace(pb," "),o=e.indexOf("="),i=_b(o<0?e:e.slice(0,o)),s=o<0?null:_b(e.slice(o+1));if(i in t){let e=t[i];vg(e)||(e=t[i]=[e]),e.push(s)}else t[i]=s}return t}function Ob(e){let t="";for(let n in e){const r=e[n];if(n=Cb(n).replace(fb,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}(vg(r)?r.map((e=>e&&Cb(e))):[r&&Cb(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Lb(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=vg(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const Ab=Symbol(""),Ib=Symbol(""),Pb=Symbol(""),Mb=Symbol(""),Rb=Symbol("");function Db(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Nb(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,a)=>{const l=e=>{var l;!1===e?a(Ug(4,{from:n,to:t})):e instanceof Error?a(e):"string"==typeof(l=e)||l&&"object"==typeof l?a(Ug(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),s())},c=e.call(r&&r.instances[o],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch((e=>a(e)))}))}function Bb(e,t,n,r){const o=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(i=a)||"displayName"in i||"props"in i||"__vccOpts"in i){const i=(a.__vccOpts||a)[t];i&&o.push(Nb(i,n,r,s,e))}else{let i=a();o.push((()=>i.then((o=>{if(!o)return Promise.reject(new Error("Couldn't resolve component \"".concat(e,'" at "').concat(s.path,'"')));const i=(a=o).__esModule||"Module"===a[Symbol.toStringTag]?o.default:o;var a;s.components[e]=i;const l=(i.__vccOpts||i)[t];return l&&Nb(l,n,r,s,e)()}))))}}var i;return o}function zb(e){const t=So(Pb),n=So(Mb),r=es((()=>t.resolve(Zt(e.to)))),o=es((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],i=n.matched;if(!o||!i.length)return-1;const s=i.findIndex(xg.bind(null,o));if(s>-1)return s;const a=Wb(e[t-2]);return t>1&&Wb(o)===a&&i[i.length-1].path!==a?i.findIndex(xg.bind(null,e[t-2])):s})),i=es((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!vg(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),s=es((()=>o.value>-1&&o.value===n.matched.length-1&&Sg(n.params,r.value.params)));return{route:r,href:es((()=>r.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Zt(e.replace)?"replace":"push"](Zt(e.to)).catch(mg):Promise.resolve()}}}const Fb=cr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zb,setup(e,{slots:t}){const n=Mt(zb(e)),{options:r}=So(Pb),o=es((()=>({[Hb(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Hb(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:ts("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),jb=Fb;function Wb(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hb=(e,t,n)=>null!=e?e:null!=t?t:n,Vb=cr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=So(Rb),o=es((()=>e.route||r.value)),i=So(Ib,0),s=es((()=>{let e=Zt(i);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=es((()=>o.value.matched[s.value]));xo(Ib,es((()=>s.value+1))),xo(Ab,a),xo(Rb,o);const l=Xt();return qo((()=>[l.value,a.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&xg(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Yb(n.default,{Component:c,route:r});const u=s.props[i],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,f=ts(c,hg({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Yb(n.default,{Component:f,route:r})||f}}});function Yb(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ub=Vb;function Xb(e){const t=nb(e.routes,e),n=e.parseQuery||Tb,r=e.stringifyQuery||Ob,o=e.history,i=Db(),s=Db(),a=Db(),l=$t(Wg);let c=Wg;fg&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=pg.bind(null,(e=>""+e)),d=pg.bind(null,kb),f=pg.bind(null,_b);function h(e,i){if(i=hg({},i||l.value),"string"==typeof e){const r=yg(n,e,i.path),s=t.resolve({path:r.path},i),a=o.createHref(r.fullPath);return hg(r,s,{params:f(s.params),hash:_b(r.hash),redirectedFrom:void 0,href:a})}let s;if("path"in e)s=hg({},e,{path:yg(n,e.path,i.path).path});else{const t=hg({},e.params);for(const e in t)null==t[e]&&delete t[e];s=hg({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,hg({},e,{hash:(p=c,Eb(p).replace(yb,"{").replace(xb,"}").replace(gb,"^")),path:a.path}));var p;const m=o.createHref(h);return hg({fullPath:h,hash:c,query:r===Ob?Lb(e.query):e.query||{}},a,{redirectedFrom:void 0,href:m})}function p(e){return"string"==typeof e?yg(n,e,l.value.path):hg({},e)}function m(e,t){if(c!==e)return Ug(8,{from:t,to:e})}function v(e){return b(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=p(r):{path:r},r.params={}),hg({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function b(e,t){const n=c=h(e),o=l.value,i=e.state,s=e.force,a=!0===e.replace,u=g(n);if(u)return b(hg(p(u),{state:"object"==typeof u?hg({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&xg(t.matched[r],n.matched[o])&&Sg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(f=Ug(16,{to:d,from:o}),I(o,o,!0,!1)),(f?Promise.resolve(f):x(d,o)).catch((e=>Xg(e)?Xg(e,2)?e:A(e):L(e,d,o))).then((e=>{if(e){if(Xg(e,2))return b(hg({replace:a},p(e.to),{state:"object"==typeof e.to?hg({},i,e.to.state):i,force:s}),t||d)}else e=E(d,o,!0,a,i);return S(d,o,e),e}))}function y(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function w(e){const t=R.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function x(e,t){let n;const[r,o,a]=function(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const i=t.matched[s];i&&(e.matched.find((e=>xg(e,i)))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>xg(e,a)))||o.push(a))}return[n,r,o]}(e,t);n=Bb(r.reverse(),"beforeRouteLeave",e,t);for(const i of r)i.leaveGuards.forEach((r=>{n.push(Nb(r,e,t))}));const l=y.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const r of i.list())n.push(Nb(r,e,t));return n.push(l),N(n)})).then((()=>{n=Bb(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(Nb(r,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const r of a)if(r.beforeEnter)if(vg(r.beforeEnter))for(const o of r.beforeEnter)n.push(Nb(o,e,t));else n.push(Nb(r.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Bb(a,"beforeRouteEnter",e,t),n.push(l),N(n)))).then((()=>{n=[];for(const r of s.list())n.push(Nb(r,e,t));return n.push(l),N(n)})).catch((e=>Xg(e,8)?e:Promise.reject(e)))}function S(e,t,n){a.list().forEach((r=>w((()=>r(e,t,n)))))}function E(e,t,n,r,i){const s=m(e,t);if(s)return s;const a=t===Wg,c=fg?history.state:{};n&&(r||a?o.replace(e.fullPath,hg({scroll:a&&c&&c.scroll},i)):o.push(e.fullPath,i)),l.value=e,I(e,t,n,a),A()}let C;function k(){C||(C=o.listen(((e,t,n)=>{if(!D.listening)return;const r=h(e),i=g(r);if(i)return void b(hg(i,{replace:!0}),r).catch(mg);c=r;const s=l.value;var a,u;fg&&(a=Mg(s.fullPath,n.delta),u=Ig(),Rg.set(a,u)),x(r,s).catch((e=>Xg(e,12)?e:Xg(e,2)?(b(e.to,r).then((e=>{Xg(e,20)&&!n.delta&&n.type===kg.pop&&o.go(-1,!1)})).catch(mg),Promise.reject()):(n.delta&&o.go(-n.delta,!1),L(e,r,s)))).then((e=>{(e=e||E(r,s,!1))&&(n.delta&&!Xg(e,8)?o.go(-n.delta,!1):n.type===kg.pop&&Xg(e,20)&&o.go(-1,!1)),S(r,s,e)})).catch(mg)})))}let _,T=Db(),O=Db();function L(e,t,n){A(e);const r=O.list();return r.length&&r.forEach((r=>r(e,t,n))),Promise.reject(e)}function A(e){return _||(_=!e,k(),T.list().forEach((([t,n])=>e?n(e):t())),T.reset()),e}function I(t,n,r,o){const{scrollBehavior:i}=e;if(!fg||!i)return Promise.resolve();const s=!r&&function(e){const t=Rg.get(e);return Rg.delete(e),t}(Mg(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&Pg(e))).catch((e=>L(e,t,n)))}const P=e=>o.go(e);let M;const R=new Set,D={currentRoute:l,listening:!0,addRoute:function(e,n){let r,o;return jg(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:h,options:e,push:v,replace:function(e){return v(hg(p(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return _&&l.value!==Wg?Promise.resolve():new Promise(((e,t)=>{T.add([e,t])}))},install(e){e.component("RouterLink",jb),e.component("RouterView",Ub),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(l)}),fg&&!M&&l.value===Wg&&(M=!0,v(o.location).catch((e=>{})));const t={};for(const r in Wg)Object.defineProperty(t,r,{get:()=>l.value[r],enumerable:!0});e.provide(Pb,this),e.provide(Mb,Rt(t)),e.provide(Rb,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=Wg,C&&C(),C=null,l.value=Wg,M=!1,_=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>w(t)))),Promise.resolve())}return D}function $b(){return So(Pb)}function Gb(){return So(Mb)}function qb(e,t){return function(){return e.apply(t,arguments)}}const{toString:Zb}=Object.prototype,{getPrototypeOf:Jb}=Object,Kb=(e=>t=>{const n=Zb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qb=e=>(e=e.toLowerCase(),t=>Kb(t)===e),ey=e=>t=>typeof t===e,{isArray:ty}=Array,ny=ey("undefined");const ry=Qb("ArrayBuffer");const oy=ey("string"),iy=ey("function"),sy=ey("number"),ay=e=>null!==e&&"object"==typeof e,ly=e=>{if("object"!==Kb(e))return!1;const t=Jb(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},cy=Qb("Date"),uy=Qb("File"),dy=Qb("Blob"),fy=Qb("FileList"),hy=Qb("URLSearchParams"),[py,my,vy,gy]=["ReadableStream","Request","Response","Headers"].map(Qb);function by(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),ty(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function yy(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const wy="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,xy=e=>!ny(e)&&e!==wy;const Sy=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Jb(Uint8Array)),Ey=Qb("HTMLFormElement"),Cy=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ky=Qb("RegExp"),_y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};by(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)};const Ty=Qb("AsyncFunction"),Oy=(Ly="function"==typeof setImmediate,Ay=iy(wy.postMessage),Ly?setImmediate:Ay?(Iy="axios@".concat(Math.random()),Py=[],wy.addEventListener("message",(({source:e,data:t})=>{e===wy&&t===Iy&&Py.length&&Py.shift()()}),!1),e=>{Py.push(e),wy.postMessage(Iy,"*")}):e=>setTimeout(e));var Ly,Ay,Iy,Py;const My="undefined"!=typeof queueMicrotask?queueMicrotask.bind(wy):"undefined"!=typeof process&&process.nextTick||Oy,Ry={isArray:ty,isArrayBuffer:ry,isBuffer:function(e){return null!==e&&!ny(e)&&null!==e.constructor&&!ny(e.constructor)&&iy(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||iy(e.append)&&("formdata"===(t=Kb(e))||"object"===t&&iy(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ry(e.buffer),t},isString:oy,isNumber:sy,isBoolean:e=>!0===e||!1===e,isObject:ay,isPlainObject:ly,isReadableStream:py,isRequest:my,isResponse:vy,isHeaders:gy,isUndefined:ny,isDate:cy,isFile:uy,isBlob:dy,isRegExp:ky,isFunction:iy,isStream:e=>ay(e)&&iy(e.pipe),isURLSearchParams:hy,isTypedArray:Sy,isFileList:fy,forEach:by,merge:function e(){const{caseless:t}=xy(this)&&this||{},n={},r=(r,o)=>{const i=t&&yy(n,o)||o;ly(n[i])&&ly(r)?n[i]=e(n[i],r):ly(r)?n[i]=e({},r):ty(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&by(arguments[o],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(by(t,((t,r)=>{n&&iy(t)?e[r]=qb(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&Jb(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Kb,kindOfTest:Qb,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(ty(e))return e;let t=e.length;if(!sy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Ey,hasOwnProperty:Cy,hasOwnProp:Cy,reduceDescriptors:_y,freezeMethods:e=>{_y(e,((t,n)=>{if(iy(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];iy(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return ty(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:yy,global:wy,isContextDefined:xy,isSpecCompliantForm:function(e){return!!(e&&iy(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(ay(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=ty(e)?[]:{};return by(e,((e,t)=>{const i=n(e,r+1);!ny(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Ty,isThenable:e=>e&&(ay(e)||iy(e))&&iy(e.then)&&iy(e.catch),setImmediate:Oy,asap:My};function Dy(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Ry.inherits(Dy,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ry.toJSONObject(this.config),code:this.code,status:this.status}}});const Ny=Dy.prototype,By={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{By[e]={value:e}})),Object.defineProperties(Dy,By),Object.defineProperty(Ny,"isAxiosError",{value:!0}),Dy.from=(e,t,n,r,o,i)=>{const s=Object.create(Ny);return Ry.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Dy.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};function zy(e){return Ry.isPlainObject(e)||Ry.isArray(e)}function Fy(e){return Ry.endsWith(e,"[]")?e.slice(0,-2):e}function jy(e,t,n){return e?e.concat(t).map((function(e,t){return e=Fy(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Wy=Ry.toFlatObject(Ry,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Hy(e,t,n){if(!Ry.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Ry.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Ry.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ry.isSpecCompliantForm(t);if(!Ry.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ry.isDate(e))return e.toISOString();if(!a&&Ry.isBlob(e))throw new Dy("Blob is not supported. Use a Buffer instead.");return Ry.isArrayBuffer(e)||Ry.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(Ry.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ry.isArray(e)&&function(e){return Ry.isArray(e)&&!e.some(zy)}(e)||(Ry.isFileList(e)||Ry.endsWith(n,"[]"))&&(a=Ry.toArray(e)))return n=Fy(n),a.forEach((function(e,r){!Ry.isUndefined(e)&&null!==e&&t.append(!0===s?jy([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!zy(e)||(t.append(jy(o,n,i),l(e)),!1)}const u=[],d=Object.assign(Wy,{defaultVisitor:c,convertValue:l,isVisitable:zy});if(!Ry.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Ry.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Ry.forEach(n,(function(n,i){!0===(!(Ry.isUndefined(n)||null===n)&&o.call(t,n,Ry.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t}function Vy(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Yy(e,t){this._pairs=[],e&&Hy(e,this,t)}const Uy=Yy.prototype;function Xy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $y(e,t,n){if(!t)return e;const r=n&&n.encode||Xy;Ry.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):Ry.isURLSearchParams(t)?t.toString():new Yy(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Uy.append=function(e,t){this._pairs.push([e,t])},Uy.toString=function(e){const t=e?function(t){return e.call(this,t,Vy)}:Vy;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Gy=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ry.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},qy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zy={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Yy,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Jy="undefined"!=typeof window&&"undefined"!=typeof document,Ky="object"==typeof navigator&&navigator||void 0,Qy=Jy&&(!Ky||["ReactNative","NativeScript","NS"].indexOf(Ky.product)<0),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,tw=Jy&&window.location.href||"http://localhost",nw={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jy,hasStandardBrowserEnv:Qy,hasStandardBrowserWebWorkerEnv:ew,navigator:Ky,origin:tw},Symbol.toStringTag,{value:"Module"})),...Zy};function rw(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Ry.isArray(r)?r.length:i,a)return Ry.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Ry.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&Ry.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s}if(Ry.isFormData(e)&&Ry.isFunction(e.entries)){const n={};return Ry.forEachEntry(e,((e,r)=>{t(function(e){return Ry.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const ow={transitional:qy,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Ry.isObject(e);o&&Ry.isHTMLForm(e)&&(e=new FormData(e));if(Ry.isFormData(e))return r?JSON.stringify(rw(e)):e;if(Ry.isArrayBuffer(e)||Ry.isBuffer(e)||Ry.isStream(e)||Ry.isFile(e)||Ry.isBlob(e)||Ry.isReadableStream(e))return e;if(Ry.isArrayBufferView(e))return e.buffer;if(Ry.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Hy(e,new nw.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return nw.isNode&&Ry.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Ry.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Hy(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Ry.isString(e))try{return(t||JSON.parse)(e),Ry.trim(e)}catch(YC){if("SyntaxError"!==YC.name)throw YC}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ow.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Ry.isResponse(e)||Ry.isReadableStream(e))return e;if(e&&Ry.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(YC){if(n){if("SyntaxError"===YC.name)throw Dy.from(YC,Dy.ERR_BAD_RESPONSE,this,null,this.response);throw YC}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nw.classes.FormData,Blob:nw.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ry.forEach(["delete","get","head","post","put","patch"],(e=>{ow.headers[e]={}}));const iw=ow,sw=Ry.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aw=Symbol("internals");function lw(e){return e&&String(e).trim().toLowerCase()}function cw(e){return!1===e||null==e?e:Ry.isArray(e)?e.map(cw):String(e)}function uw(e,t,n,r,o){return Ry.isFunction(r)?r.call(this,t,n):(o&&(t=n),Ry.isString(t)?Ry.isString(r)?-1!==t.indexOf(r):Ry.isRegExp(r)?r.test(t):void 0:void 0)}class dw{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=lw(t);if(!o)throw new Error("header name must be a non-empty string");const i=Ry.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=cw(e))}const i=(e,t)=>Ry.forEach(e,((e,n)=>o(e,n,t)));if(Ry.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Ry.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&sw[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(Ry.isHeaders(e))for(const[s,a]of e.entries())o(a,s,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=lw(e)){const n=Ry.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Ry.isFunction(t))return t.call(this,e,n);if(Ry.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=lw(e)){const n=Ry.findKey(this,e);return!(!n||void 0===this[n]||t&&!uw(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=lw(e)){const o=Ry.findKey(n,e);!o||t&&!uw(0,n[o],o,t)||(delete n[o],r=!0)}}return Ry.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!uw(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Ry.forEach(this,((r,o)=>{const i=Ry.findKey(n,o);if(i)return t[i]=cw(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=cw(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ry.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Ry.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[aw]=this[aw]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=lw(e);t[r]||(!function(e,t){const n=Ry.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Ry.isArray(e)?e.forEach(r):r(e),this}}dw.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ry.reduceDescriptors(dw.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Ry.freezeMethods(dw);const fw=dw;function hw(e,t){const n=this||iw,r=t||n,o=fw.from(r.headers);let i=r.data;return Ry.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function pw(e){return!(!e||!e.__CANCEL__)}function mw(e,t,n){Dy.call(this,null==e?"canceled":e,Dy.ERR_CANCELED,t,n),this.name="CanceledError"}function vw(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Dy("Request failed with status code "+n.status,[Dy.ERR_BAD_REQUEST,Dy.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Ry.inherits(mw,Dy,{__CANCEL__:!0});const gw=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=r[s];o||(o=l),n[i]=a,r[i]=l;let u=s,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,l=o(a);r=i;e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},bw=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},yw=e=>(...t)=>Ry.asap((()=>e(...t))),ww=nw.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,nw.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(nw.origin),nw.navigator&&/(msie|trident)/i.test(nw.navigator.userAgent)):()=>!0,xw=nw.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];Ry.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Ry.isString(r)&&s.push("path="+r),Ry.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Sw(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Ew=e=>e instanceof fw?{...e}:e;function Cw(e,t){t=t||{};const n={};function r(e,t,n,r){return Ry.isPlainObject(e)&&Ry.isPlainObject(t)?Ry.merge.call({caseless:r},e,t):Ry.isPlainObject(t)?Ry.merge({},t):Ry.isArray(t)?t.slice():t}function o(e,t,n,o){return Ry.isUndefined(t)?Ry.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!Ry.isUndefined(t))return r(void 0,t)}function s(e,t){return Ry.isUndefined(t)?Ry.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(Ew(e),Ew(t),0,!0)};return Ry.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,s=i(e[r],t[r],r);Ry.isUndefined(s)&&i!==a||(n[r]=s)})),n}const kw=e=>{const t=Cw({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=fw.from(a),t.url=$y(Sw(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ry.isFormData(r))if(nw.hasStandardBrowserEnv||nw.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(nw.hasStandardBrowserEnv&&(o&&Ry.isFunction(o)&&(o=o(t)),o||!1!==o&&ww(t.url))){const e=i&&s&&xw.read(s);e&&a.set(i,e)}return t},_w="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=kw(e);let o=r.data;const i=fw.from(r.headers).normalize();let s,a,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function v(){if(!m)return;const r=fw.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());vw((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new Dy("Request aborted",Dy.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Dy("Network Error",Dy.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||qy;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Dy(t,o.clarifyTimeoutError?Dy.ETIMEDOUT:Dy.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&Ry.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Ry.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,u]=gw(h,!0),m.addEventListener("progress",l)),f&&m.upload&&([a,c]=gw(f),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(s=t=>{m&&(n(!t||t.type?new mw(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===nw.protocols.indexOf(g)?n(new Dy("Unsupported protocol "+g+":",Dy.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Tw=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Dy?t:new mw(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Dy("timeout ".concat(t," of ms exceeded"),Dy.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>Ry.asap(s),a}},Ow=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Lw=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Aw=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Lw(e))yield*Ow(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Iw="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Pw=Iw&&"function"==typeof ReadableStream,Mw=Iw&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Rw=(e,...t)=>{try{return!!e(...t)}catch(YC){return!1}},Dw=Pw&&Rw((()=>{let e=!1;const t=new Request(nw.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Nw=Pw&&Rw((()=>Ry.isReadableStream(new Response("").body))),Bw={stream:Nw&&(e=>e.body)};var zw;Iw&&(zw=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Bw[e]&&(Bw[e]=Ry.isFunction(zw[e])?t=>t[e]():(t,n)=>{throw new Dy("Response type '".concat(e,"' is not supported"),Dy.ERR_NOT_SUPPORT,n)})})));const Fw=async(e,t)=>{const n=Ry.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Ry.isBlob(e))return e.size;if(Ry.isSpecCompliantForm(e)){const t=new Request(nw.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ry.isArrayBufferView(e)||Ry.isArrayBuffer(e)?e.byteLength:(Ry.isURLSearchParams(e)&&(e+=""),Ry.isString(e)?(await Mw(e)).byteLength:void 0)})(t):n},jw={http:null,xhr:_w,fetch:Iw&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=kw(e);c=c?(c+"").toLowerCase():"text";let h,p=Tw([o,i&&i.toAbortSignal()],s);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let v;try{if(l&&Dw&&"get"!==n&&"head"!==n&&0!==(v=await Fw(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Ry.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=bw(v,gw(yw(l)));r=Aw(n.body,65536,e,t)}}Ry.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const s=Nw&&("stream"===c||"response"===c);if(Nw&&(a||s&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Ry.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&bw(t,gw(yw(a),!0))||[];i=new Response(Aw(i.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let g=await Bw[Ry.findKey(Bw,c)||"text"](i,e);return!s&&m&&m(),await new Promise(((t,n)=>{vw(t,n,{data:g,headers:fw.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(g){if(m&&m(),g&&"TypeError"===g.name&&/fetch/i.test(g.message))throw Object.assign(new Dy("Network Error",Dy.ERR_NETWORK,e,h),{cause:g.cause||g});throw Dy.from(g,g&&g.code,e,h)}})};Ry.forEach(jw,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(YC){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ww=e=>"- ".concat(e),Hw=e=>Ry.isFunction(e)||null===e||!1===e,Vw=e=>{e=Ry.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Hw(n)&&(r=jw[(t=String(n)).toLowerCase()],void 0===r))throw new Dy("Unknown adapter '".concat(t,"'"));if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>"adapter ".concat(e," ")+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Dy("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Ww).join("\n"):" "+Ww(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Yw(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mw(null,e)}function Uw(e){Yw(e),e.headers=fw.from(e.headers),e.data=hw.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Vw(e.adapter||iw.adapter)(e).then((function(t){return Yw(e),t.data=hw.call(e,e.transformResponse,t),t.headers=fw.from(t.headers),t}),(function(t){return pw(t)||(Yw(e),t&&t.response&&(t.response.data=hw.call(e,e.transformResponse,t.response),t.response.headers=fw.from(t.response.headers))),Promise.reject(t)}))}const Xw="1.8.2",$w={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{$w[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Gw={};$w.transitional=function(e,t,n){return(r,o,i)=>{if(!1===e)throw new Dy(function(e,t){return"[Axios v1.8.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}(o," has been removed"+(t?" in "+t:"")),Dy.ERR_DEPRECATED);return t&&!Gw[o]&&(Gw[o]=!0),!e||e(r,o,i)}},$w.spelling=function(e){return(e,t)=>!0};const qw={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Dy("options must be an object",Dy.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Dy("option "+i+" must be "+n,Dy.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Dy("Unknown option "+i,Dy.ERR_BAD_OPTION)}},validators:$w},Zw=qw.validators;class Jw{constructor(e){this.defaults=e,this.interceptors={request:new Gy,response:new Gy}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(YC){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Cw(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&qw.assertOptions(n,{silentJSONParsing:Zw.transitional(Zw.boolean),forcedJSONParsing:Zw.transitional(Zw.boolean),clarifyTimeoutError:Zw.transitional(Zw.boolean)},!1),null!=r&&(Ry.isFunction(r)?t.paramsSerializer={serialize:r}:qw.assertOptions(r,{encode:Zw.function,serialize:Zw.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),qw.assertOptions(t,{baseUrl:Zw.spelling("baseURL"),withXsrfToken:Zw.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Ry.merge(o.common,o[t.method]);o&&Ry.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=fw.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[Uw.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=s.length;let f=t;for(d=0;d<u;){const e=s[d++],t=s[d++];try{f=e(f)}catch(h){t.call(this,h);break}}try{c=Uw.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return $y(Sw((e=Cw(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Ry.forEach(["delete","get","head","options"],(function(e){Jw.prototype[e]=function(t,n){return this.request(Cw(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ry.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Cw(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Jw.prototype[e]=t(),Jw.prototype[e+"Form"]=t(!0)}));const Kw=Jw;class Qw{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new mw(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Qw((function(t){e=t})),cancel:e}}}const ex=Qw;const tx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tx).forEach((([e,t])=>{tx[t]=e}));const nx=tx;const rx=function e(t){const n=new Kw(t),r=qb(Kw.prototype.request,n);return Ry.extend(r,Kw.prototype,n,{allOwnKeys:!0}),Ry.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Cw(t,n))},r}(iw);rx.Axios=Kw,rx.CanceledError=mw,rx.CancelToken=ex,rx.isCancel=pw,rx.VERSION=Xw,rx.toFormData=Hy,rx.AxiosError=Dy,rx.Cancel=rx.CanceledError,rx.all=function(e){return Promise.all(e)},rx.spread=function(e){return function(t){return e.apply(null,t)}},rx.isAxiosError=function(e){return Ry.isObject(e)&&!0===e.isAxiosError},rx.mergeConfig=Cw,rx.AxiosHeaders=fw,rx.formToJSON=e=>rw(Ry.isHTMLForm(e)?new FormData(e):e),rx.getAdapter=Vw,rx.HttpStatusCode=nx,rx.default=rx;const ox=rx;
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let ix;const sx=e=>ix=e,ax=Symbol();function lx(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var cx,ux;function dx(){const e=_e(!0),t=e.run((()=>Xt({})));let n=[],r=[];const o=Ht({install(e){sx(o),o._a=e,e.provide(ax,o),e.config.globalProperties.$pinia=o,r.forEach((e=>n.push(e))),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}(ux=cx||(cx={})).direct="direct",ux.patchObject="patch object",ux.patchFunction="patch function";const fx=()=>{};function hx(e,t,n,r=fx){e.push(t);const o=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),r())};var i;return!n&&Te()&&(i=o,Ee&&Ee.cleanups.push(i)),o}function px(e,...t){e.slice().forEach((e=>{e(...t)}))}const mx=e=>e();function vx(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];lx(o)&&lx(r)&&e.hasOwnProperty(n)&&!Ut(r)&&!Bt(r)?e[n]=vx(o,r):e[n]=r}return e}const gx=Symbol();const{assign:bx}=Object;function yx(e,t,n={},r,o,i){let s;const a=bx({actions:{}},n),l={deep:!0};let c,u,d,f=[],h=[];const p=r.state.value[e];let m;function v(t){let n;c=u=!1,"function"==typeof t?(t(r.state.value[e]),n={type:cx.patchFunction,storeId:e,events:d}):(vx(r.state.value[e],t),n={type:cx.patchObject,payload:t,storeId:e,events:d});const o=m=Symbol();Sn().then((()=>{m===o&&(c=!0)})),u=!0,px(f,n,r.state.value[e])}i||p||(r.state.value[e]={}),Xt({});const g=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{bx(e,t)}))}:fx;function b(t,n){return function(){sx(r);const o=Array.from(arguments),i=[],s=[];let a;px(h,{args:o,name:t,store:y,after:function(e){i.push(e)},onError:function(e){s.push(e)}});try{a=n.apply(this&&this.$id===e?this:y,o)}catch(l){throw px(s,l),l}return a instanceof Promise?a.then((e=>(px(i,e),e))).catch((e=>(px(s,e),Promise.reject(e)))):(px(i,a),a)}}const y=Mt({_p:r,$id:e,$onAction:hx.bind(null,h),$patch:v,$reset:g,$subscribe(t,n={}){const o=hx(f,t,n.detached,(()=>i())),i=s.run((()=>qo((()=>r.state.value[e]),(r=>{("sync"===n.flush?u:c)&&t({storeId:e,type:cx.direct,events:d},r)}),bx({},l,n))));return o},$dispose:function(){s.stop(),f=[],h=[],r._s.delete(e)}});r._s.set(e,y);const w=(r._a&&r._a.runWithContext||mx)((()=>r._e.run((()=>(s=_e()).run(t)))));for(const E in w){const t=w[E];if(Ut(t)&&(!Ut(S=t)||!S.effect)||Bt(t))i||(!p||lx(x=t)&&x.hasOwnProperty(gx)||(Ut(t)?t.value=p[E]:vx(t,p[E])),r.state.value[e][E]=t);else if("function"==typeof t){const e=b(E,t);w[E]=e,a.actions[E]=t}}var x,S;return bx(y,w),bx(Wt(y),w),Object.defineProperty(y,"$state",{get:()=>r.state.value[e],set:e=>{v((t=>{bx(t,e)}))}}),r._p.forEach((e=>{bx(y,s.run((()=>e({store:y,app:r._a,pinia:r,options:a}))))})),p&&i&&n.hydrate&&n.hydrate(y.$state,p),c=!0,u=!0,y}function wx(e,t,n){let r,o;const i="function"==typeof t;function s(e,n){(e=e||(!!(Fi||An||wo)?So(ax,null):null))&&sx(e),(e=ix)._s.has(r)||(i?yx(r,t,o,e):function(e,t,n,r){const{state:o,actions:i,getters:s}=t,a=n.state.value[e];let l;l=yx(e,(function(){a||(n.state.value[e]=o?o():{});const t=en(n.state.value[e]);return bx(t,i,Object.keys(s||{}).reduce(((t,r)=>(t[r]=Ht(es((()=>{sx(n);const t=n._s.get(e);return s[r].call(t,t)}))),t)),{}))}),t,n,0,!0)}(r,o,e));return e._s.get(r)}return"string"==typeof e?(r=e,o=i?n:t):(o=e,r=e.id),s.$id=r,s}function xx(e){{e=Wt(e);const t={};for(const n in e){const r=e[n];(Ut(r)||Bt(r))&&(t[n]=rn(e,n))}return t}}var Sx="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ex(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cx(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var kx,_x={exports:{}};
/*!
 * clipboard.js v2.0.11
 * https://clipboardjs.com/
 *
 * Licensed MIT © Zeno Rocha
 */kx=function(){return function(){var e={686:function(e,t,n){n.d(t,{default:function(){return S}});var r=n(279),o=n.n(r),i=n(370),s=n.n(i),a=n(817),l=n.n(a);function c(e){try{return document.execCommand(e)}catch(t){return!1}}var u=function(e){var t=l()(e);return c("cut"),t},d=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=l()(n);return c("copy"),n.remove(),r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=l()(e),c("copy")),n};function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==h(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?f(i,{container:r}):o?"cut"===n?u(o):f(o,{container:r}):void 0};function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(YC){return!1}}();return function(){var n,r,o,i=y(e);if(t){var s=y(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return r=this,!(o=n)||"object"!==m(o)&&"function"!=typeof o?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r):o}}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(i,e);var t,n,r,o=b(i);function i(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=i,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=s()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=p({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return w("action",e)}},{key:"defaultTarget",value:function(e){var t=w("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return w("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&v(t.prototype,n),r&&v(t,r),i}(o()),S=x},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var s=i.apply(this,arguments);return e.addEventListener(n,s,o),{destroy:function(){e.removeEventListener(n,s,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,s=r.length;i<s;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default};const Tx=Ex(_x.exports=kx()),Ox=e=>{const t=void 0===(null==e?void 0:e.appendToBody)||e.appendToBody;return{toClipboard:(e,n)=>new Promise(((r,o)=>{const i=document.createElement("button"),s=new Tx(i,{text:()=>e,action:()=>"copy",container:void 0!==n?n:document.body});s.on("success",(e=>{s.destroy(),r(e)})),s.on("error",(e=>{s.destroy(),o(e)})),t&&document.body.appendChild(i),i.click(),t&&document.body.removeChild(i)}))}};var Lx={exports:{}};Lx.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},g=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},b={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+g(r,2,"0")+":"+g(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,c),i=n-o<0,s=t.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-s:s-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:f,h:s,m:i,s:o,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",w={};w[y]=v;var x="$isDayjsObject",S=function(e){return e instanceof _||!(!e||!e[x])},E=function e(t,n,r){var o;if(!t)return y;if("string"==typeof t){var i=t.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var s=t.split("-");if(!o&&s.length>1)return e(s[0])}else{var a=t.name;w[a]=t,o=a}return!r&&o&&(y=o),o||!r&&y},C=function(e,t){if(S(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new _(n)},k=b;k.l=E,k.i=S,k.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var _=function(){function v(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return C(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<C(e)},g.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),h=function(e,t){var o=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(a)},p=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return r?h(1,0):h(31,11);case c:return r?h(1,v):h(0,v+1);case l:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return h(r?g-w:g+(6-w),v);case a:case f:return p(b+"Hours",0);case s:return p(b+"Minutes",1);case i:return p(b+"Seconds",2);case o:return p(b+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=k.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[a]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],p=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(f,1);m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[k.p(e)]()},g.add=function(r,u){var f,h=this;r=Number(r);var p=k.p(u),m=function(e){var t=C(h);return k.w(t.date(t.date()+Math.round(e*r)),h)};if(p===c)return this.set(c,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===a)return m(1);if(p===l)return m(7);var v=(f={},f[i]=t,f[s]=n,f[o]=e,f)[p]||1,g=this.$d.getTime()+r*v;return k.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=k.z(this),i=this.$H,s=this.$m,a=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].slice(0,i)},f=function(e){return k.s(i%12||12,e,"0")},p=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return a+1;case"MM":return k.s(a+1,2,"0");case"MMM":return d(n.monthsShort,a,c,3);case"MMMM":return d(c,a);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(i,s,!0);case"A":return p(i,s,!1);case"m":return String(s);case"mm":return k.s(s,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,f,h){var p,m=this,v=k.p(f),g=C(r),b=(g.utcOffset()-this.utcOffset())*t,y=this-g,w=function(){return k.m(m,g)};switch(v){case d:p=w()/12;break;case c:p=w();break;case u:p=w()/3;break;case l:p=(y-b)/6048e5;break;case a:p=(y-b)/864e5;break;case s:p=y/n;break;case i:p=y/t;break;case o:p=y/e;break;default:p=y}return h?p:k.a(p)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=E(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),T=_.prototype;return C.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",s],["$W",a],["$M",c],["$y",d],["$D",f]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||(e(t,_,C),e.$i=!0),C},C.locale=E,C.isDayjs=S,C.unix=function(e){return C(1e3*e)},C.en=w[y],C.Ls=w,C.p={},C}();const Ax=Ex(Lx.exports),Ix="undefined"!=typeof window,Px=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Mx=(e,t,n)=>Rx({l:e,k:t,s:n}),Rx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Dx=e=>"number"==typeof e&&isFinite(e),Nx=e=>"[object Date]"===eS(e),Bx=e=>"[object RegExp]"===eS(e),zx=e=>tS(e)&&0===Object.keys(e).length,Fx=Object.assign,jx=Object.create,Wx=(e=null)=>jx(e);
/*!
  * shared v11.1.2
  * (c) 2025 kazuya kawaguchi
  * Released under the MIT License.
  */let Hx;const Vx=()=>Hx||(Hx="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Wx());function Yx(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Ux=Object.prototype.hasOwnProperty;function Xx(e,t){return Ux.call(e,t)}const $x=Array.isArray,Gx=e=>"function"==typeof e,qx=e=>"string"==typeof e,Zx=e=>"boolean"==typeof e,Jx=e=>null!==e&&"object"==typeof e,Kx=e=>Jx(e)&&Gx(e.then)&&Gx(e.catch),Qx=Object.prototype.toString,eS=e=>Qx.call(e),tS=e=>"[object Object]"===eS(e);function nS(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}function rS(e,t){}const oS=e=>!Jx(e)||$x(e);function iS(e,t){if(oS(e)||oS(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(Jx(e[r])&&!Jx(t[r])&&(t[r]=Array.isArray(e[r])?[]:Wx()),oS(t[r])||oS(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}
/*!
  * message-compiler v11.1.2
  * (c) 2025 kazuya kawaguchi
  * Released under the MIT License.
  */function sS(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const aS={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};function lS(e,t,n={}){const{domain:r,messages:o,args:i}=n,s=new SyntaxError(String(e));return s.code=e,t&&(s.location=t),s.domain=r,s}function cS(e){throw e}const uS=" ",dS="\r",fS="\n",hS=String.fromCharCode(8232),pS=String.fromCharCode(8233);function mS(e){const t=e;let n=0,r=1,o=1,i=0;const s=e=>t[e]===dS&&t[e+1]===fS,a=e=>t[e]===pS,l=e=>t[e]===hS,c=e=>s(e)||(e=>t[e]===fS)(e)||a(e)||l(e),u=e=>s(e)||a(e)||l(e)?fS:t[e];function d(){return i=0,c(n)&&(r++,o=0),s(n)&&n++,n++,o++,t[n]}return{index:()=>n,line:()=>r,column:()=>o,peekOffset:()=>i,charAt:u,currentChar:()=>u(n),currentPeek:()=>u(n+i),next:d,peek:function(){return s(n+i)&&i++,i++,t[n+i]},reset:function(){n=0,r=1,o=1,i=0},resetPeek:function(e=0){i=e},skipToPeek:function(){const e=n+i;for(;e!==n;)d();i=0}}}const vS=void 0,gS="'",bS="tokenizer";function yS(e,t={}){const n=!1!==t.location,r=mS(e),o=()=>r.index(),i=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},s=i(),a=o(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(e,t,r,...o){const i=c();if(t.column+=r,t.offset+=r,u){const r=lS(e,n?sS(i.startLoc,t):null,{domain:bS,args:o});u(r)}}function f(e,t,r){e.endLoc=i(),e.currentType=t;const o={type:t};return n&&(o.loc=sS(e.startLoc,e.endLoc)),null!=r&&(o.value=r),o}const h=e=>f(e,13);function p(e,t){return e.currentChar()===t?(e.next(),t):(d(aS.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";for(;e.currentPeek()===uS||e.currentPeek()===fS;)t+=e.currentPeek(),e.peek();return t}function v(e){const t=m(e);return e.skipToPeek(),t}function g(e){if(e===vS)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function b(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=function(e){if(e===vS)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function y(e){m(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function w(e,t=!0){const n=(t=!1,r="")=>{const o=e.currentPeek();return"{"===o?t:"@"!==o&&o?"|"===o?!(r===uS||r===fS):o===uS?(e.peek(),n(!0,uS)):o!==fS||(e.peek(),n(!0,fS)):t},r=n();return t&&e.resetPeek(),r}function x(e,t){const n=e.currentChar();return n===vS?vS:t(n)?(e.next(),n):null}function S(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function E(e){return x(e,S)}function C(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function k(e){return x(e,C)}function _(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function T(e){return x(e,_)}function O(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function L(e){return x(e,O)}function A(e){let t="",n="";for(;t=T(e);)n+=t;return n}function I(e){return e!==gS&&e!==fS}function P(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),"\\".concat(t);case"u":return M(e,t,4);case"U":return M(e,t,6);default:return d(aS.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function M(e,t,n){p(e,t);let r="";for(let o=0;o<n;o++){const n=L(e);if(!n){d(aS.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,"\\".concat(t).concat(r).concat(e.currentChar()));break}r+=n}return"\\".concat(t).concat(r)}function R(e){return"{"!==e&&"}"!==e&&e!==uS&&e!==fS}function D(e){v(e);const t=p(e,"|");return v(e),t}function N(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&d(aS.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),n=f(t,2,"{"),v(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&d(aS.EMPTY_PLACEHOLDER,i(),0),e.next(),n=f(t,3,"}"),t.braceNest--,t.braceNest>0&&v(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&d(aS.UNTERMINATED_CLOSING_BRACE,i(),0),n=B(e,t)||h(t),t.braceNest=0,n;default:{let r=!0,o=!0,s=!0;if(y(e))return t.braceNest>0&&d(aS.UNTERMINATED_CLOSING_BRACE,i(),0),n=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return d(aS.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,z(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t))return n=f(t,4,function(e){v(e);let t="",n="";for(;t=k(e);)n+=t;return e.currentChar()===vS&&d(aS.UNTERMINATED_CLOSING_BRACE,i(),0),n}(e)),v(e),n;if(o=b(e,t))return n=f(t,5,function(e){v(e);let t="";return"-"===e.currentChar()?(e.next(),t+="-".concat(A(e))):t+=A(e),e.currentChar()===vS&&d(aS.UNTERMINATED_CLOSING_BRACE,i(),0),t}(e)),v(e),n;if(s=function(e,t){const{currentType:n}=t;if(2!==n)return!1;m(e);const r=e.currentPeek()===gS;return e.resetPeek(),r}(e,t))return n=f(t,6,function(e){v(e),p(e,"'");let t="",n="";for(;t=x(e,I);)n+="\\"===t?P(e):t;const r=e.currentChar();return r===fS||r===vS?(d(aS.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),r===fS&&(e.next(),p(e,"'")),n):(p(e,"'"),n)}(e)),v(e),n;if(!r&&!o&&!s)return n=f(t,12,function(e){v(e);let t="",n="";for(;t=x(e,R);)n+=t;return n}(e)),d(aS.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n.value),v(e),n;break}}return n}function B(e,t){const{currentType:n}=t;let r=null;const o=e.currentChar();switch(7!==n&&8!==n&&11!==n&&9!==n||o!==fS&&o!==uS||d(aS.INVALID_LINKED_FORMAT,i(),0),o){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return v(e),e.next(),f(t,8,".");case":":return v(e),e.next(),f(t,9,":");default:return y(e)?(r=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(7!==n)return!1;m(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(7!==n&&11!==n)return!1;m(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(v(e),B(e,t)):function(e,t){const{currentType:n}=t;if(8!==n)return!1;m(e);const r=g(e.currentPeek());return e.resetPeek(),r}(e,t)?(v(e),f(t,11,function(e){let t="",n="";for(;t=E(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(9!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?g(e.peek()):!("@"===t||"|"===t||":"===t||"."===t||t===uS||!t)&&(t===fS?(e.peek(),r()):w(e,!1))},o=r();return e.resetPeek(),o}(e,t)?(v(e),"{"===o?N(e,t)||r:f(t,10,function(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===uS?n:(n+=r,e.next(),t(n)):n};return t("")}(e))):(7===n&&d(aS.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,z(e,t))}}function z(e,t){let n={type:13};if(t.braceNest>0)return N(e,t)||h(t);if(t.inLinked)return B(e,t)||h(t);switch(e.currentChar()){case"{":return N(e,t)||h(t);case"}":return d(aS.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return B(e,t)||h(t);default:if(y(e))return n=f(t,1,D(e)),t.braceNest=0,t.inLinked=!1,n;if(w(e))return f(t,0,function(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if(n===uS||n===fS)if(w(e))t+=n,e.next();else{if(y(e))break;t+=n,e.next()}else t+=n,e.next()}return t}(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:s}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=s,l.offset=o(),l.startLoc=i(),r.currentChar()===vS?f(l,13):z(r,l)},currentOffset:o,currentPosition:i,context:c}}const wS="parser",xS=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function SS(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function ES(e={}){const t=!1!==e.location,{onError:n}=e;function r(e,r,o,i,...s){const a=e.currentPosition();if(a.offset+=i,a.column+=i,n){const e=lS(r,t?sS(o,a):null,{domain:wS,args:s});n(e)}}function o(e,n,r){const o={type:e};return t&&(o.start=n,o.end=n,o.loc={start:r,end:r}),o}function i(e,n,r,o){t&&(e.end=n,e.loc&&(e.loc.end=r))}function s(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}function a(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(5,r,s);return a.index=parseInt(t,10),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(4,r,s);return a.key=t,e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function c(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,a=o(9,r,s);return a.value=t.replace(xS,SS),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function u(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let s=e.nextToken();if(8===s.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:s,lastStartLoc:a}=n,l=o(8,s,a);return 11!==t.type?(r(e,aS.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value="",i(l,s,a),{nextConsumeToken:t,node:l}):(null==t.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,CS(t)),l.value=t.value||"",i(l,e.currentOffset(),e.currentPosition()),{node:l})}(e);n.modifier=t.node,s=t.nextConsumeToken||e.nextToken()}switch(9!==s.type&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(s)),s=e.nextToken(),2===s.type&&(s=e.nextToken()),s.type){case 10:null==s.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(s)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,s.value||"");break;case 4:null==s.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(s)),n.key=l(e,s.value||"");break;case 5:null==s.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(s)),n.key=a(e,s.value||"");break;case 6:null==s.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(s)),n.key=c(e,s.value||"");break;default:{r(e,aS.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const a=e.context(),l=o(7,a.offset,a.startLoc);return l.value="",i(l,a.offset,a.startLoc),n.key=l,i(n,a.offset,a.startLoc),{nextConsumeToken:s,node:n}}}return i(n,e.currentOffset(),e.currentPosition()),{node:n}}function d(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let d=null;do{const o=d||e.nextToken();switch(d=null,o.type){case 0:null==o.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(o)),n.items.push(s(e,o.value||""));break;case 5:null==o.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(o)),n.items.push(a(e,o.value||""));break;case 4:null==o.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(o)),n.items.push(l(e,o.value||""));break;case 6:null==o.value&&r(e,aS.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,CS(o)),n.items.push(c(e,o.value||""));break;case 7:{const t=u(e);n.items.push(t.node),d=t.nextConsumeToken||null;break}}}while(13!==t.currentType&&1!==t.currentType);return i(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function f(e){const t=e.context(),{offset:n,startLoc:s}=t,a=d(e);return 13===t.currentType?a:function(e,t,n,s){const a=e.context();let l=0===s.items.length;const c=o(1,t,n);c.cases=[],c.cases.push(s);do{const t=d(e);l||(l=0===t.items.length),c.cases.push(t)}while(13!==a.currentType);return l&&r(e,aS.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),i(c,e.currentOffset(),e.currentPosition()),c}(e,n,s,a)}return{parse:function(n){const s=yS(n,Fx({},e)),a=s.context(),l=o(0,a.offset,a.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=f(s),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),13!==a.currentType&&r(s,aS.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,0,n[a.offset]||""),i(l,s.currentOffset(),s.currentPosition()),l}}}function CS(e){if(13===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function kS(e,t){for(let n=0;n<e.length;n++)_S(e[n],t)}function _S(e,t){switch(e.type){case 1:kS(e.cases,t),t.helper("plural");break;case 2:kS(e.items,t);break;case 6:_S(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function TS(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&_S(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function OS(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=nS(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function LS(e){switch(e.t=e.type,e.type){case 0:{const t=e;LS(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)LS(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)LS(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;LS(t.key),t.k=t.key,delete t.key,t.modifier&&(LS(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function AS(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?AS(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push("".concat(n("plural"),"([")),e.indent(r());const o=t.cases.length;for(let n=0;n<o&&(AS(e,t.cases[n]),n!==o-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push("".concat(n("normalize"),"([")),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(AS(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push("".concat(n("linked"),"(")),AS(e,t.key),t.modifier?(e.push(", "),AS(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push("".concat(n("interpolate"),"(").concat(n("list"),"(").concat(t.index,"))"),t);break;case 4:e.push("".concat(n("interpolate"),"(").concat(n("named"),"(").concat(JSON.stringify(t.key),"))"),t)}}const IS=(e,t={})=>{const n=qx(t.mode)?t.mode:"normal",r=qx(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,a=e.helpers||[],l=function(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,s=!1!==t.location,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};function l(e,t){a.code+=e}function c(e,t=!0){const n=t?o:"";l(i?n+"  ".repeat(e):n)}return s&&e.loc&&(a.source=e.loc.source),{context:()=>a,push:l,indent:function(e=!0){const t=++a.indentLevel;e&&c(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&c(t)},newline:function(){c(a.indentLevel)},helper:e=>"_".concat(e),needIndent:()=>a.needIndent}}(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:s});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(s),a.length>0&&(l.push("const { ".concat(nS(a.map((e=>"".concat(e,": _").concat(e))),", ")," } = ctx")),l.newline()),l.push("return "),AS(l,e),l.deindent(s),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function PS(e,t={}){const n=Fx({},t),r=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,s=ES(n).parse(e);return r?(i&&function(e){const t=e.body;2===t.type?OS(t):t.cases.forEach((e=>OS(e)))}(s),o&&LS(s),{ast:s,code:""}):(TS(s,n),IS(s,n))}
/*!
  * core-base v11.1.2
  * (c) 2025 kazuya kawaguchi
  * Released under the MIT License.
  */function MS(e){return t=>function(e,t){const n=(r=t,XS(r,RS));var r;if(null==n)throw $S(0);if(1===WS(n)){const t=function(e){return XS(e,DS,[])}(n);return e.plural(t.reduce(((t,n)=>[...t,NS(e,n)]),[]))}return NS(e,n)}(t,e)}const RS=["b","body"];const DS=["c","cases"];function NS(e,t){const n=function(e){return XS(e,BS)}(t);if(null!=n)return"text"===e.type?n:e.normalize([n]);{const n=function(e){return XS(e,zS,[])}(t).reduce(((t,n)=>[...t,FS(e,n)]),[]);return e.normalize(n)}}const BS=["s","static"];const zS=["i","items"];function FS(e,t){const n=WS(t);switch(n){case 3:case 9:case 7:case 8:return VS(t,n);case 4:{const r=t;if(Xx(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Xx(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw $S(n)}case 5:{const r=t;if(Xx(r,"i")&&Dx(r.i))return e.interpolate(e.list(r.i));if(Xx(r,"index")&&Dx(r.index))return e.interpolate(e.list(r.index));throw $S(n)}case 6:{const n=t,r=function(e){return XS(e,YS)}(n),o=function(e){const t=XS(e,US);if(t)return t;throw $S(6)}(n);return e.linked(FS(e,o),r?FS(e,r):void 0,e.type)}default:throw new Error("unhandled node on format message part: ".concat(n))}}const jS=["t","type"];function WS(e){return XS(e,jS)}const HS=["v","value"];function VS(e,t){const n=XS(e,HS);if(n)return n;throw $S(t)}const YS=["m","modifier"];const US=["k","key"];function XS(e,t,n){for(let r=0;r<t.length;r++){const n=t[r];if(Xx(e,n)&&null!=e[n])return e[n]}return n}function $S(e){return new Error("unhandled node type: ".concat(e))}const GS=e=>e;let qS=Wx();function ZS(e){return Jx(e)&&0===WS(e)&&(Xx(e,"b")||Xx(e,"body"))}let JS=null;const KS=QS("function:translate");function QS(e){return t=>JS&&JS.emit(e,t)}const eE={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function tE(e){return lS(e,null,void 0)}function nE(e,t){return null!=t.locale?oE(t.locale):oE(e.locale)}let rE;function oE(e){if(qx(e))return e;if(Gx(e)){if(e.resolvedOnce&&null!=rE)return rE;if("Function"===e.constructor.name){const t=e();if(Kx(t))throw tE(eE.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return rE=t}throw tE(eE.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw tE(eE.NOT_SUPPORT_LOCALE_TYPE)}function iE(e,t,n){return[...new Set([n,...$x(t)?t:Jx(t)?Object.keys(t):qx(t)?[t]:[n]])]}function sE(e,t,n){const r=qx(n)?n:bE,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];for(;$x(e);)e=aE(i,e,t);const s=$x(t)||!tS(t)?t:t.default?t.default:null;e=qx(s)?[s]:s,$x(e)&&aE(i,e,!1),o.__localeChainCache.set(r,i)}return i}function aE(e,t,n){let r=!0;for(let o=0;o<t.length&&Zx(r);o++){const i=t[o];qx(i)&&(r=lE(e,t[o],n))}return r}function lE(e,t,n){let r;const o=t.split("-");do{r=cE(e,o.join("-"),n),o.splice(-1,1)}while(o.length&&!0===r);return r}function cE(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),($x(n)||tS(n))&&n[o]&&(r=n[o])}return r}const uE=[];uE[0]={w:[0],i:[3,0],"[":[4],o:[7]},uE[1]={w:[1],".":[2],"[":[4],o:[7]},uE[2]={w:[2],i:[3,0],0:[3,0]},uE[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},uE[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},uE[5]={"'":[4,0],o:8,l:[5,0]},uE[6]={'"':[4,0],o:8,l:[6,0]};const dE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fE(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function hE(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,dE.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}const pE=new Map;function mE(e,t){return Jx(e)?e[t]:null}const vE="11.1.2",gE=-1,bE="en-US",yE="",wE=e=>"".concat(e.charAt(0).toLocaleUpperCase()).concat(e.substr(1));let xE,SE,EE;let CE=null;const kE=()=>CE;let _E=null;const TE=e=>{_E=e},OE=()=>_E;let LE=0;function AE(e={}){const t=Gx(e.onWarn)?e.onWarn:rS,n=qx(e.version)?e.version:vE,r=qx(e.locale)||Gx(e.locale)?e.locale:bE,o=Gx(r)?bE:r,i=$x(e.fallbackLocale)||tS(e.fallbackLocale)||qx(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,s=tS(e.messages)?e.messages:IE(o),a=tS(e.datetimeFormats)?e.datetimeFormats:IE(o),l=tS(e.numberFormats)?e.numberFormats:IE(o),c=Fx(Wx(),e.modifiers,{upper:(e,t)=>"text"===t&&qx(e)?e.toUpperCase():"vnode"===t&&Jx(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&qx(e)?e.toLowerCase():"vnode"===t&&Jx(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&qx(e)?wE(e):"vnode"===t&&Jx(e)&&"__v_isVNode"in e?wE(e.children):e}),u=e.pluralRules||Wx(),d=Gx(e.missing)?e.missing:null,f=!Zx(e.missingWarn)&&!Bx(e.missingWarn)||e.missingWarn,h=!Zx(e.fallbackWarn)&&!Bx(e.fallbackWarn)||e.fallbackWarn,p=!!e.fallbackFormat,m=!!e.unresolving,v=Gx(e.postTranslation)?e.postTranslation:null,g=tS(e.processor)?e.processor:null,b=!Zx(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,w=Gx(e.messageCompiler)?e.messageCompiler:xE,x=Gx(e.messageResolver)?e.messageResolver:SE||mE,S=Gx(e.localeFallbacker)?e.localeFallbacker:EE||iE,E=Jx(e.fallbackContext)?e.fallbackContext:void 0,C=e,k=Jx(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,_=Jx(C.__numberFormatters)?C.__numberFormatters:new Map,T=Jx(C.__meta)?C.__meta:{};LE++;const O={version:n,cid:LE,locale:r,fallbackLocale:i,messages:s,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:b,escapeParameter:y,messageCompiler:w,messageResolver:x,localeFallbacker:S,fallbackContext:E,onWarn:t,__meta:T};return O.datetimeFormats=a,O.numberFormats=l,O.__datetimeFormatters=k,O.__numberFormatters=_,__INTLIFY_PROD_DEVTOOLS__&&function(e,t,n){JS&&JS.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}(O,n,T),O}const IE=e=>({[e]:Wx()});function PE(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(null!==i){const r=i(e,n,t,o);return qx(r)?r:t}return t}function ME(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function RE(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let i=n+1;i<t.length;i++)if(r=e,o=t[i],r!==o&&r.split("-")[0]===o.split("-")[0])return!0;var r,o;return!1}function DE(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__datetimeFormatters:a}=e,[l,c,u,d]=BE(...t);Zx(u.missingWarn)?u.missingWarn:e.missingWarn;Zx(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const f=!!u.part,h=nE(e,u),p=s(e,o,h);if(!qx(l)||""===l)return new Intl.DateTimeFormat(h,d).format(c);let m,v={},g=null;for(let w=0;w<p.length&&(m=p[w],v=n[m]||{},g=v[l],!tS(g));w++)PE(e,l,m,0,"datetime format");if(!tS(g)||!qx(m))return r?gE:l;let b="".concat(m,"__").concat(l);zx(d)||(b="".concat(b,"__").concat(JSON.stringify(d)));let y=a.get(b);return y||(y=new Intl.DateTimeFormat(m,Fx({},g,d)),a.set(b,y)),f?y.formatToParts(c):y.format(c)}const NE=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function BE(...e){const[t,n,r,o]=e,i=Wx();let s,a=Wx();if(qx(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw tE(eE.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?"".concat(e[1].trim()).concat(e[3].trim()):"".concat(e[1].trim(),"T").concat(e[3].trim()):e[1].trim();s=new Date(n);try{s.toISOString()}catch(YC){throw tE(eE.INVALID_ISO_DATE_ARGUMENT)}}else if(Nx(t)){if(isNaN(t.getTime()))throw tE(eE.INVALID_DATE_ARGUMENT);s=t}else{if(!Dx(t))throw tE(eE.INVALID_ARGUMENT);s=t}return qx(n)?i.key=n:tS(n)&&Object.keys(n).forEach((e=>{NE.includes(e)?a[e]=n[e]:i[e]=n[e]})),qx(r)?i.locale=r:tS(r)&&(a=r),tS(o)&&(a=o),[i.key||"",s,i,a]}function zE(e,t,n){const r=e;for(const o in n){const e="".concat(t,"__").concat(o);r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function FE(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:a}=e,[l,c,u,d]=WE(...t);Zx(u.missingWarn)?u.missingWarn:e.missingWarn;Zx(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const f=!!u.part,h=nE(e,u),p=s(e,o,h);if(!qx(l)||""===l)return new Intl.NumberFormat(h,d).format(c);let m,v={},g=null;for(let w=0;w<p.length&&(m=p[w],v=n[m]||{},g=v[l],!tS(g));w++)PE(e,l,m,0,"number format");if(!tS(g)||!qx(m))return r?gE:l;let b="".concat(m,"__").concat(l);zx(d)||(b="".concat(b,"__").concat(JSON.stringify(d)));let y=a.get(b);return y||(y=new Intl.NumberFormat(m,Fx({},g,d)),a.set(b,y)),f?y.formatToParts(c):y.format(c)}const jE=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function WE(...e){const[t,n,r,o]=e,i=Wx();let s=Wx();if(!Dx(t))throw tE(eE.INVALID_ARGUMENT);const a=t;return qx(n)?i.key=n:tS(n)&&Object.keys(n).forEach((e=>{jE.includes(e)?s[e]=n[e]:i[e]=n[e]})),qx(r)?i.locale=r:tS(r)&&(s=r),tS(o)&&(s=o),[i.key||"",a,i,s]}function HE(e,t,n){const r=e;for(const o in n){const e="".concat(t,"__").concat(o);r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}const VE=e=>e,YE=e=>"",UE="text",XE=e=>0===e.length?"":nS(e),$E=e=>null==e?"":$x(e)||tS(e)&&e.toString===Qx?JSON.stringify(e,null,2):String(e);function GE(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function qE(e={}){const t=e.locale,n=function(e){const t=Dx(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Dx(e.named.count)||Dx(e.named.n))?Dx(e.named.count)?e.named.count:Dx(e.named.n)?e.named.n:t:t}(e),r=Jx(e.pluralRules)&&qx(t)&&Gx(e.pluralRules[t])?e.pluralRules[t]:GE,o=Jx(e.pluralRules)&&qx(t)&&Gx(e.pluralRules[t])?GE:void 0,i=e.list||[],s=e.named||Wx();Dx(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,s);function a(t,n){const r=Gx(e.messages)?e.messages(t,!!n):!!Jx(e.messages)&&e.messages[t];return r||(e.parent?e.parent.message(t):YE)}const l=tS(e.processor)&&Gx(e.processor.normalize)?e.processor.normalize:XE,c=tS(e.processor)&&Gx(e.processor.interpolate)?e.processor.interpolate:$E,u={list:e=>i[e],named:e=>s[e],plural:e=>e[r(n,e.length,o)],linked:(t,...n)=>{const[r,o]=n;let i="text",s="";1===n.length?Jx(r)?(s=r.modifier||s,i=r.type||i):qx(r)&&(s=r||s):2===n.length&&(qx(r)&&(s=r||s),qx(o)&&(i=o||i));const l=a(t,!0)(u),c="vnode"===i&&$x(l)&&s?l[0]:l;return s?(d=s,e.modifiers?e.modifiers[d]:VE)(c,i):c;var d},message:a,type:tS(e.processor)&&qx(e.processor.type)?e.processor.type:UE,interpolate:c,normalize:l,values:Fx(Wx(),i,s)};return u}const ZE=()=>"",JE=e=>Gx(e);function KE(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:a}=e,[l,c]=tC(...t),u=Zx(c.missingWarn)?c.missingWarn:e.missingWarn,d=Zx(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=Zx(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=qx(c.default)||Zx(c.default)?Zx(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:null,m=n||null!=p&&(qx(p)||Gx(p)),v=nE(e,c);f&&function(e){$x(e.list)?e.list=e.list.map((e=>qx(e)?Yx(e):e)):Jx(e.named)&&Object.keys(e.named).forEach((t=>{qx(e.named[t])&&(e.named[t]=Yx(e.named[t]))}))}(c);let[g,b,y]=h?[l,v,a[v]||Wx()]:QE(e,l,v,s,d,u),w=g,x=l;if(h||qx(w)||ZS(w)||JE(w)||m&&(w=p,x=w),!(h||(qx(w)||ZS(w)||JE(w))&&qx(b)))return o?gE:l;let S=!1;const E=JE(w)?w:eC(e,l,b,w,x,(()=>{S=!0}));if(S)return w;const C=function(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d=(r,o)=>{let i=s(n,r);if(null==i&&(u||o)){const[,,n]=QE(u||e,r,t,a,l,c);i=s(n,r)}if(qx(i)||ZS(i)){let n=!1;const o=eC(e,r,t,i,r,(()=>{n=!0}));return n?ZE:o}return JE(i)?i:ZE},f={locale:t,modifiers:o,pluralRules:i,messages:d};e.processor&&(f.processor=e.processor);r.list&&(f.list=r.list);r.named&&(f.named=r.named);Dx(r.plural)&&(f.pluralIndex=r.plural);return f}(e,b,y,c),k=function(e,t,n){const r=t(n);return r}(0,E,qE(C)),_=r?r(k,l):k;if(__INTLIFY_PROD_DEVTOOLS__){const t={timestamp:Date.now(),key:qx(l)?l:JE(w)?w.key:"",locale:b||(JE(w)?w.locale:""),format:qx(w)?w:JE(w)?w.source:"",message:_};t.meta=Fx({},e.__meta,kE()||{}),KS(t)}return _}function QE(e,t,n,r,o,i){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let d,f=Wx(),h=null;for(let p=0;p<u.length&&(d=u[p],f=s[d]||Wx(),null===(h=l(f,t))&&(h=f[t]),!(qx(h)||ZS(h)||JE(h)));p++)if(!RE(d,u)){const n=PE(e,t,d,0,"translate");n!==t&&(h=n)}return[h,d,f]}function eC(e,t,n,r,o,i){const{messageCompiler:s,warnHtmlMessage:a}=e;if(JE(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==s){const e=()=>r;return e.locale=n,e.key=t,e}const l=s(r,function(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>Mx(t,n,e)}}(0,n,o,0,a,i));return l.locale=n,l.key=t,l.source=r,l}function tC(...e){const[t,n,r]=e,o=Wx();if(!(qx(t)||Dx(t)||JE(t)||ZS(t)))throw tE(eE.INVALID_ARGUMENT);const i=Dx(t)?String(t):(JE(t),t);return Dx(n)?o.plural=n:qx(n)?o.default=n:tS(n)&&!zx(n)?o.named=n:$x(n)&&(o.list=n),Dx(r)?o.plural=r:qx(r)?o.default=r:tS(r)&&Fx(o,r),[i,o]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Vx().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Vx().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);
/*!
  * vue-i18n v11.1.2
  * (c) 2025 kazuya kawaguchi
  * Released under the MIT License.
  */
const nC="11.1.2";const rC={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function oC(e,...t){return lS(e,null,void 0)}const iC=Px("__translateVNode"),sC=Px("__datetimeParts"),aC=Px("__numberParts"),lC=Px("__setPluralRules"),cC=Px("__injectWithOption"),uC=Px("__dispose");function dC(e){if(!Jx(e))return e;for(const t in e)if(Xx(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let e=0;e<r;e++){if("__proto__"===n[e])throw new Error("unsafe key: ".concat(n[e]));if(n[e]in o||(o[n[e]]=Wx()),!Jx(o[n[e]])){i=!0;break}o=o[n[e]]}i||(o[n[r]]=e[t],delete e[t]),Jx(o[n[r]])&&dC(o[n[r]])}else Jx(e[t])&&dC(e[t]);return e}function fC(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,s=tS(n)?n:$x(r)?Wx():{[e]:Wx()};if($x(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||Wx(),iS(n,s[t])):iS(n,s)}else qx(e)&&iS(JSON.parse(e),s)})),null==o&&i)for(const a in s)Xx(s,a)&&dC(s[a]);return s}function hC(e){return e.type}function pC(e,t,n){let r=Jx(t.messages)?t.messages:Wx();"__i18nGlobal"in n&&(r=fC(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),Jx(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(Jx(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function mC(e){return _i(ui,null,e,0)}const vC=()=>[],gC=()=>!1;let bC=0;function yC(e){return(t,n,r,o)=>e(n,r,ji()||void 0,o)}function wC(e={}){const{__root:t,__injectWithOption:n}=e,r=void 0===t,o=e.flatJson,i=Ix?Xt:$t;let s=!Zx(e.inheritLocale)||e.inheritLocale;const a=i(t&&s?t.locale.value:qx(e.locale)?e.locale:bE),l=i(t&&s?t.fallbackLocale.value:qx(e.fallbackLocale)||$x(e.fallbackLocale)||tS(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:a.value),c=i(fC(a.value,e)),u=i(tS(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),d=i(tS(e.numberFormats)?e.numberFormats:{[a.value]:{}});let f=t?t.missingWarn:!Zx(e.missingWarn)&&!Bx(e.missingWarn)||e.missingWarn,h=t?t.fallbackWarn:!Zx(e.fallbackWarn)&&!Bx(e.fallbackWarn)||e.fallbackWarn,p=t?t.fallbackRoot:!Zx(e.fallbackRoot)||e.fallbackRoot,m=!!e.fallbackFormat,v=Gx(e.missing)?e.missing:null,g=Gx(e.missing)?yC(e.missing):null,b=Gx(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!Zx(e.warnHtmlMessage)||e.warnHtmlMessage,w=!!e.escapeParameter;const x=t?t.modifiers:tS(e.modifiers)?e.modifiers:{};let S,E=e.pluralRules||t&&t.pluralRules;S=(()=>{r&&TE(null);const t={version:nC,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:x,pluralRules:E,missing:null===g?void 0:g,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:null===b?void 0:b,warnHtmlMessage:y,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=u.value,t.numberFormats=d.value,t.__datetimeFormatters=tS(S)?S.__datetimeFormatters:void 0,t.__numberFormatters=tS(S)?S.__numberFormatters:void 0;const n=AE(t);return r&&TE(n),n})(),ME(S,a.value,l.value);const C=es({get:()=>a.value,set:e=>{S.locale=e,a.value=e}}),k=es({get:()=>l.value,set:e=>{S.fallbackLocale=e,l.value=e,ME(S,a.value,e)}}),_=es((()=>c.value)),T=es((()=>u.value)),O=es((()=>d.value));const L=(e,n,o,i,s,f)=>{let h;a.value,l.value,c.value,u.value,d.value;try{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=t?OE():void 0),h=e(S)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(S.fallbackContext=void 0)}if("translate exists"!==o&&Dx(h)&&h===gE||"translate exists"===o&&!h){const[e,r]=n();return t&&p?i(t):s(e)}if(f(h))return h;throw oC(rC.UNEXPECTED_RETURN_TYPE)};function A(...e){return L((t=>Reflect.apply(KE,null,[t,...e])),(()=>tC(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>qx(e)))}const I={normalize:function(e){return e.map((e=>qx(e)||Dx(e)||Zx(e)?mC(String(e)):e))},interpolate:e=>e,type:"vnode"};function P(e){return c.value[e]||{}}bC++,t&&Ix&&(qo(t.locale,(e=>{s&&(a.value=e,S.locale=e,ME(S,a.value,l.value))})),qo(t.fallbackLocale,(e=>{s&&(l.value=e,S.fallbackLocale=e,ME(S,a.value,l.value))})));const M={id:bC,locale:C,fallbackLocale:k,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,ME(S,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:_,get modifiers(){return x},get pluralRules(){return E||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,S.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(e){h=e,S.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(e){p=e},get fallbackFormat(){return m},set fallbackFormat(e){m=e,S.fallbackFormat=m},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,S.warnHtmlMessage=e},get escapeParameter(){return w},set escapeParameter(e){w=e,S.escapeParameter=e},t:A,getLocaleMessage:P,setLocaleMessage:function(e,t){if(o){const n={[e]:t};for(const e in n)Xx(n,e)&&dC(n[e]);t=n[e]}c.value[e]=t,S.messages=c.value},mergeLocaleMessage:function(e,t){c.value[e]=c.value[e]||{};const n={[e]:t};if(o)for(const r in n)Xx(n,r)&&dC(n[r]);iS(t=n[e],c.value[e]),S.messages=c.value},getPostTranslationHandler:function(){return Gx(b)?b:null},setPostTranslationHandler:function(e){b=e,S.postTranslation=e},getMissingHandler:function(){return v},setMissingHandler:function(e){null!==e&&(g=yC(e)),v=e,S.missing=g},[lC]:function(e){E=e,S.pluralRules=E}};return M.datetimeFormats=T,M.numberFormats=O,M.rt=function(...e){const[t,n,r]=e;if(r&&!Jx(r))throw oC(rC.INVALID_ARGUMENT);return A(t,n,Fx({resolvedMessage:!0},r||{}))},M.te=function(e,t){return L((()=>{if(!e)return!1;const n=P(qx(t)?t:a.value),r=S.messageResolver(n,e);return ZS(r)||JE(r)||qx(r)}),(()=>[e]),"translate exists",(n=>Reflect.apply(n.te,n,[e,t])),gC,(e=>Zx(e)))},M.tm=function(e){const n=function(e){let t=null;const n=sE(S,l.value,a.value);for(let r=0;r<n.length;r++){const o=c.value[n[r]]||{},i=S.messageResolver(o,e);if(null!=i){t=i;break}}return t}(e);return null!=n?n:t&&t.tm(e)||{}},M.d=function(...e){return L((t=>Reflect.apply(DE,null,[t,...e])),(()=>BE(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>yE),(e=>qx(e)))},M.n=function(...e){return L((t=>Reflect.apply(FE,null,[t,...e])),(()=>WE(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>yE),(e=>qx(e)))},M.getDateTimeFormat=function(e){return u.value[e]||{}},M.setDateTimeFormat=function(e,t){u.value[e]=t,S.datetimeFormats=u.value,zE(S,e,t)},M.mergeDateTimeFormat=function(e,t){u.value[e]=Fx(u.value[e]||{},t),S.datetimeFormats=u.value,zE(S,e,t)},M.getNumberFormat=function(e){return d.value[e]||{}},M.setNumberFormat=function(e,t){d.value[e]=t,S.numberFormats=d.value,HE(S,e,t)},M.mergeNumberFormat=function(e,t){d.value[e]=Fx(d.value[e]||{},t),S.numberFormats=d.value,HE(S,e,t)},M[cC]=n,M[iC]=function(...e){return L((t=>{let n;const r=t;try{r.processor=I,n=Reflect.apply(KE,null,[r,...e])}finally{r.processor=null}return n}),(()=>tC(...e)),"translate",(t=>t[iC](...e)),(e=>[mC(e)]),(e=>$x(e)))},M[sC]=function(...e){return L((t=>Reflect.apply(DE,null,[t,...e])),(()=>BE(...e)),"datetime format",(t=>t[sC](...e)),vC,(e=>qx(e)||$x(e)))},M[aC]=function(...e){return L((t=>Reflect.apply(FE,null,[t,...e])),(()=>WE(...e)),"number format",(t=>t[aC](...e)),vC,(e=>qx(e)||$x(e)))},M}function xC(e={}){const t=wC(function(e){const t=qx(e.locale)?e.locale:bE,n=qx(e.fallbackLocale)||$x(e.fallbackLocale)||tS(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=Gx(e.missing)?e.missing:void 0,o=!Zx(e.silentTranslationWarn)&&!Bx(e.silentTranslationWarn)||!e.silentTranslationWarn,i=!Zx(e.silentFallbackWarn)&&!Bx(e.silentFallbackWarn)||!e.silentFallbackWarn,s=!Zx(e.fallbackRoot)||e.fallbackRoot,a=!!e.formatFallbackMessages,l=tS(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Gx(e.postTranslation)?e.postTranslation:void 0,d=!qx(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,h=!Zx(e.sync)||e.sync;let p=e.messages;if(tS(e.sharedMessages)){const t=e.sharedMessages;p=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return Fx(r,t[n]),e}),p||{})}const{__i18n:m,__root:v,__injectWithOption:g}=e,b=e.datetimeFormats,y=e.numberFormats;return{locale:t,fallbackLocale:n,messages:p,flatJson:e.flatJson,datetimeFormats:b,numberFormats:y,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,__i18n:m,__root:v,__injectWithOption:g}}(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return Zx(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=Zx(e)?!e:e},get silentFallbackWarn(){return Zx(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=Zx(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function SC(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[lC](t.pluralizationRules||e.pluralizationRules);const n=fC(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const EC={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function CC(){return ci}const kC=cr({name:"i18n-t",props:Fx({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Dx(e)||!isNaN(e)}},EC),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||DC({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter((e=>"_"!==e)),s=Wx();e.locale&&(s.locale=e.locale),void 0!==e.plural&&(s.plural=qx(e.plural)?+e.plural:e.plural);const a=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===ci?t.children:[t]]),[]);return t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),Wx())}(t,i),l=o[iC](e.keypath,a,s),c=Fx(Wx(),r);return ts(qx(e.tag)||Jx(e.tag)?e.tag:CC(),c,l)}}}),_C=kC;function TC(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const t={part:!0};let s=Wx();e.locale&&(t.locale=e.locale),qx(e.format)?t.key=e.format:Jx(e.format)&&(qx(e.format.key)&&(t.key=e.format.key),s=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?Fx(Wx(),t,{[r]:e.format[r]}):t),Wx()));const a=r(e.value,t,s);let l=[t.key];$x(a)?l=a.map(((e,t)=>{const n=o[e.type],r=n?n({[e.type]:e.value,index:t,parts:a}):[e.value];var i;return $x(i=r)&&!qx(i[0])&&(r[0].key="".concat(e.type,"-").concat(t)),r})):qx(a)&&(l=[a]);const c=Fx(Wx(),i);return ts(qx(e.tag)||Jx(e.tag)?e.tag:CC(),c,l)}}const OC=cr({name:"i18n-n",props:Fx({value:{type:Number,required:!0},format:{type:[String,Object]}},EC),setup(e,t){const n=e.i18n||DC({useScope:e.scope,__useComponent:!0});return TC(e,t,jE,((...e)=>n[aC](...e)))}}),LC=OC;function AC(e){if(qx(e))return{path:e};if(tS(e)){if(!("path"in e))throw oC(rC.REQUIRED_VALUE);return e}throw oC(rC.INVALID_VALUE)}function IC(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,s={},a=r||{};return qx(n)&&(s.locale=n),Dx(o)&&(s.plural=o),Dx(i)&&(s.plural=i),[t,a,s]}function PC(e,t,...n){const r=tS(n[0])?n[0]:{};(!Zx(r.globalInstall)||r.globalInstall)&&([_C.name,"I18nT"].forEach((t=>e.component(t,_C))),[LC.name,"I18nN"].forEach((t=>e.component(t,LC))),[FC.name,"I18nD"].forEach((t=>e.component(t,FC)))),e.directive("t",function(e){const t=t=>{const{instance:n,value:r}=t;if(!n||!n.$)throw oC(rC.UNEXPECTED_ERROR);const o=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),i=AC(r);return[Reflect.apply(o.t,o,[...IC(i)]),o]};return{created:(n,r)=>{const[o,i]=t(r);Ix&&e.global===i&&(n.__i18nWatcher=qo(i.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=i,n.textContent=o},unmounted:e=>{Ix&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=AC(t);e.textContent=Reflect.apply(n.t,n,[...IC(r)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}(t))}const MC=Px("global-vue-i18n");function RC(e={}){const t=__VUE_I18N_LEGACY_API__&&Zx(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!Zx(e.globalInjection)||e.globalInjection,r=new Map,[o,i]=function(e,t){const n=_e(),r=__VUE_I18N_LEGACY_API__&&t?n.run((()=>xC(e))):n.run((()=>wC(e)));if(null==r)throw oC(rC.UNEXPECTED_ERROR);return[n,r]}(e,t),s=Px("");const a={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...r){if(e.__VUE_I18N_SYMBOL__=s,e.provide(e.__VUE_I18N_SYMBOL__,a),tS(r[0])){const e=r[0];a.__composerExtend=e.__composerExtend,a.__vueI18nExtend=e.__vueI18nExtend}let o=null;!t&&n&&(o=function(e,t){const n=Object.create(null);NC.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw oC(rC.UNEXPECTED_ERROR);const o=Ut(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,BC.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw oC(rC.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,"$".concat(n),r)}));const r=()=>{delete e.config.globalProperties.$i18n,BC.forEach((t=>{delete e.config.globalProperties["$".concat(t)]}))};return r}(e,a.global)),__VUE_I18N_FULL_INSTALL__&&PC(e,a,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const r=ji();if(!r)throw oC(rC.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const r=o.i18n;if(o.__i18n&&(r.__i18n=o.__i18n),r.__root=t,this===this.$root)this.$i18n=SC(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=xC(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=SC(e,o);else{this.$i18n=xC({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&pC(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const e=ji();if(!e)throw oC(rC.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(i,i.__composer,a));const l=e.unmount;e.unmount=()=>{o&&o(),a.dispose(),l()}},get global(){return i},dispose(){o.stop()},__instances:r,__getInstance:function(e){return r.get(e)||null},__setInstance:function(e,t){r.set(e,t)},__deleteInstance:function(e){r.delete(e)}};return a}function DC(e={}){const t=ji();if(null==t)throw oC(rC.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw oC(rC.NOT_INSTALLED);const n=function(e){const t=So(e.isCE?MC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw oC(e.isCE?rC.NOT_INSTALLED_WITH_PROVIDE:rC.UNEXPECTED_ERROR);return t}(t),r=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),o=hC(t),i=function(e,t){return zx(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,o);if("global"===i)return pC(r,e,o),r;if("parent"===i){let o=function(e,t,n=!1){let r=null;const o=t.root;let i=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,n);for(;null!=i;){const t=e;if("composition"===e.mode)r=t.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(i);null!=e&&(r=e.__composer,n&&r&&!r[cC]&&(r=null))}if(null!=r)break;if(o===i)break;i=i.parent}return r}(n,t,e.__useComponent);return null==o&&(o=r),o}const s=n;let a=s.__getInstance(t);if(null==a){const n=Fx({},e);"__i18n"in o&&(n.__i18n=o.__i18n),r&&(n.__root=r),a=wC(n),s.__composerExtend&&(a[uC]=s.__composerExtend(a)),function(e,t,n){Lr((()=>{}),t),Mr((()=>{const r=n;e.__deleteInstance(t);const o=r[uC];o&&(o(),delete r[uC])}),t)}(s,t,a),s.__setInstance(t,a)}return a}const NC=["locale","fallbackLocale","availableLocales"],BC=["t","rt","d","n","tm","te"];const zC=cr({name:"i18n-d",props:Fx({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},EC),setup(e,t){const n=e.i18n||DC({useScope:e.scope,__useComponent:!0});return TC(e,t,NE,((...e)=>n[sC](...e)))}}),FC=zC;var jC,WC;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(Vx().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(Vx().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Vx().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(Vx().__INTLIFY_PROD_DEVTOOLS__=!1),xE=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&qx(e)){!Zx(t.warnHtmlMessage)||t.warnHtmlMessage;const n=(t.onCacheKey||GS)(e),r=qS[n];if(r)return r;const{ast:o,detectError:i}=function(e,t={}){let n=!1;const r=t.onError||cS;return t.onError=e=>{n=!0,r(e)},{...PS(e,t),detectError:n}}(e,{...t,location:!1,jit:!0}),s=MS(o);return i?s:qS[n]=s}{const t=e.cacheKey;if(t){const n=qS[t];return n||(qS[t]=MS(e))}return MS(e)}},jC=function(e,t){if(!Jx(e))return null;let n=pE.get(t);if(n||(n=function(e){const t=[];let n,r,o,i,s,a,l,c=-1,u=0,d=0;const f=[];function h(){const t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,o="\\"+t,f[0](),!0}for(f[0]=()=>{void 0===r?r=o:r+=o},f[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===r)return!1;if(r=hE(r),!1===r)return!1;f[1]()}};null!==u;)if(c++,n=e[c],"\\"!==n||!h()){if(i=fE(n),l=uE[u],s=l[i]||l.l||8,8===s)return;if(u=s[0],void 0!==s[1]&&(a=f[s[1]],a&&(o=n,!1===a())))return;if(7===u)return t}}(t),n&&pE.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const e=o[n[i]];if(void 0===e)return null;if(Gx(o))return null;o=e,i++}return o},SE=jC,EE=sE,__INTLIFY_PROD_DEVTOOLS__){const e=Vx();e.__INTLIFY__=!0,WC=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__,JS=WC}var HC,VC,YC,UC={exports:{}};const XC=Ex(UC.exports=(HC="minute",VC=/[+-]\d\d(?::?\d\d)?/g,YC=/([+-]|\d\d)/g,function(e,t,n){var r=t.prototype;n.utc=function(e){return new t({date:e,utc:!0,args:arguments})},r.utc=function(e){var t=n(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),HC):t},r.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=r.parse;r.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var i=r.init;r.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else i.call(this)};var s=r.utcOffset;r.utcOffset=function(e,t){var n=this.$utils().u;if(n(e))return this.$u?0:n(this.$offset)?s.call(this):this.$offset;if("string"==typeof e&&null===(e=function(e){void 0===e&&(e="");var t=e.match(VC);if(!t)return null;var n=(""+t[0]).match(YC)||["-",0,0],r=n[0],o=60*+n[1]+ +n[2];return 0===o?0:"+"===r?o:-o}(e)))return this;var r=Math.abs(e)<=16?60*e:e,o=this;if(t)return o.$offset=r,o.$u=0===e,o;if(0!==e){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(r+i,HC)).$offset=r,o.$x.$localOffset=i}else o=this.utc();return o};var a=r.format;r.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return a.call(this,t)},r.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var l=r.toDate;r.toDate=function(e){return"s"===e&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=r.diff;r.diff=function(e,t,r){if(e&&this.$u===e.$u)return c.call(this,e,t,r);var o=this.local(),i=n(e).local();return c.call(o,i,t,r)}}));var $C={exports:{}};$C.exports=function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,o){var i,s=function(e,n,r){void 0===r&&(r={});var o=new Date(e);return function(e,n){void 0===n&&(n={});var r=n.timeZoneName||"short",o=e+"|"+r,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:r}),t[o]=i),i}(n,r).formatToParts(o)},a=function(t,n){for(var r=s(t,n),i=[],a=0;a<r.length;a+=1){var l=r[a],c=l.type,u=l.value,d=e[c];d>=0&&(i[d]=parseInt(u,10))}var f=i[3],h=24===f?0:f,p=i[0]+"-"+i[1]+"-"+i[2]+" "+h+":"+i[4]+":"+i[5]+":000",m=+t;return(o.utc(p).valueOf()-(m-=m%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=i);var n=this.utcOffset(),r=this.toDate(),s=r.toLocaleString("en-US",{timeZone:e}),a=Math.round((r-new Date(s))/1e3/60),l=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-a,!0);if(t){var c=l.utcOffset();l=l.add(n-c,"minute")}return l.$x.$timezone=e,l},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),n=s(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,n){var r=n&&t,s=n||t||i,l=a(+o(),s);if("string"!=typeof e)return o(e).tz(s);var c=function(e,t,n){var r=e-60*t*1e3,o=a(r,n);if(t===o)return[r,t];var i=a(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,r).valueOf(),l,s),u=c[0],d=c[1],f=o(u).utcOffset(d);return f.$x.$timezone=s,f},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}();const GC=Ex($C.exports);var qC=function(){return qC=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qC.apply(this,arguments)};function ZC(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{l(r.next(e))}catch(YC){i(YC)}}function a(e){try{l(r.throw(e))}catch(YC){i(YC)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function JC(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(YC){a=[6,YC],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function KC(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var QC="4.6.1";function ek(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function tk(e){return!!e&&"function"==typeof e.then}function nk(e,t){try{var n=e();tk(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(r){t(!1,r)}}function rk(e,t,n){return void 0===n&&(n=16),ZC(this,void 0,void 0,(function(){var r,o,i,s;return JC(this,(function(a){switch(a.label){case 0:r=Array(e.length),o=Date.now(),i=0,a.label=1;case 1:return i<e.length?(r[i]=t(e[i],i),(s=Date.now())>=o+n?(o=s,[4,new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++i,[3,1];case 4:return[2,r]}}))}))}function ok(e){return e.then(void 0,(function(){})),e}function ik(e){return parseInt(e)}function sk(e){return parseFloat(e)}function ak(e,t){return"number"==typeof e&&isNaN(e)?t:e}function lk(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function ck(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function uk(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],s=t[0]>>>16,a=65535&t[0],l=t[1]>>>16,c=0,u=0,d=0,f=0;d+=(f+=i+(65535&t[1]))>>>16,f&=65535,u+=(d+=o+l)>>>16,d&=65535,c+=(u+=r+a)>>>16,u&=65535,c+=n+s,c&=65535,e[0]=c<<16|u,e[1]=d<<16|f}function dk(e,t){var n=e[0]>>>16,r=65535&e[0],o=e[1]>>>16,i=65535&e[1],s=t[0]>>>16,a=65535&t[0],l=t[1]>>>16,c=65535&t[1],u=0,d=0,f=0,h=0;f+=(h+=i*c)>>>16,h&=65535,d+=(f+=o*c)>>>16,f&=65535,d+=(f+=i*l)>>>16,f&=65535,u+=(d+=r*c)>>>16,d&=65535,u+=(d+=o*l)>>>16,d&=65535,u+=(d+=i*a)>>>16,d&=65535,u+=n*c+r*l+o*a+i*s,u&=65535,e[0]=u<<16|d,e[1]=f<<16|h}function fk(e,t){var n=e[0];32===(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function hk(e,t){0!==(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function pk(e,t){e[0]^=t[0],e[1]^=t[1]}var mk=[4283543511,3981806797],vk=[3301882366,444984403];function gk(e){var t=[0,e[0]>>>1];pk(e,t),dk(e,mk),t[1]=e[0]>>>1,pk(e,t),dk(e,vk),t[1]=e[0]>>>1,pk(e,t)}var bk=[2277735313,289559509],yk=[1291169091,658871167],wk=[0,5],xk=[0,1390208809],Sk=[0,944331445];function Ek(e,t){var n=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return(new TextEncoder).encode(e);t[n]=r}return t}(e);t=t||0;var r,o=[0,n.length],i=o[1]%16,s=o[1]-i,a=[0,t],l=[0,t],c=[0,0],u=[0,0];for(r=0;r<s;r+=16)c[0]=n[r+4]|n[r+5]<<8|n[r+6]<<16|n[r+7]<<24,c[1]=n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24,u[0]=n[r+12]|n[r+13]<<8|n[r+14]<<16|n[r+15]<<24,u[1]=n[r+8]|n[r+9]<<8|n[r+10]<<16|n[r+11]<<24,dk(c,bk),fk(c,31),dk(c,yk),pk(a,c),fk(a,27),uk(a,l),dk(a,wk),uk(a,xk),dk(u,yk),fk(u,33),dk(u,bk),pk(l,u),fk(l,31),uk(l,a),dk(l,wk),uk(l,Sk);c[0]=0,c[1]=0,u[0]=0,u[1]=0;var d=[0,0];switch(i){case 15:d[1]=n[r+14],hk(d,48),pk(u,d);case 14:d[1]=n[r+13],hk(d,40),pk(u,d);case 13:d[1]=n[r+12],hk(d,32),pk(u,d);case 12:d[1]=n[r+11],hk(d,24),pk(u,d);case 11:d[1]=n[r+10],hk(d,16),pk(u,d);case 10:d[1]=n[r+9],hk(d,8),pk(u,d);case 9:d[1]=n[r+8],pk(u,d),dk(u,yk),fk(u,33),dk(u,bk),pk(l,u);case 8:d[1]=n[r+7],hk(d,56),pk(c,d);case 7:d[1]=n[r+6],hk(d,48),pk(c,d);case 6:d[1]=n[r+5],hk(d,40),pk(c,d);case 5:d[1]=n[r+4],hk(d,32),pk(c,d);case 4:d[1]=n[r+3],hk(d,24),pk(c,d);case 3:d[1]=n[r+2],hk(d,16),pk(c,d);case 2:d[1]=n[r+1],hk(d,8),pk(c,d);case 1:d[1]=n[r],pk(c,d),dk(c,bk),fk(c,31),dk(c,yk),pk(a,c)}return pk(a,o),pk(l,o),uk(a,l),uk(l,a),gk(a),gk(l),uk(a,l),uk(l,a),("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)}function Ck(e,t,n,r){var o=Object.keys(e).filter((function(e){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(n,e)})),i=ok(rk(o,(function(n){return function(e,t){var n=ok(new Promise((function(n){var r=Date.now();nk(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Date.now()-r;if(!e[0])return n((function(){return{error:e[1],duration:o}}));var i=e[1];if(function(e){return"function"!=typeof e}(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(e){var t=Date.now();nk(i,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o+Date.now()-t;if(!n[0])return e({error:n[1],duration:i});e({value:n[1],duration:i})}))}))}))}))})));return function(){return n.then((function(e){return e()}))}}(e[n],t)}),r));return function(){return ZC(this,void 0,void 0,(function(){var e,t,n,s;return JC(this,(function(a){switch(a.label){case 0:return[4,i];case 1:return[4,rk(a.sent(),(function(e){return ok(e())}),r)];case 2:return e=a.sent(),[4,Promise.all(e)];case 3:for(t=a.sent(),n={},s=0;s<o.length;++s)n[o[s]]=t[s];return[2,n]}}))}))}}function kk(){var e=window,t=navigator;return lk(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function _k(){var e=window,t=navigator;return lk(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===(t.vendor||"").indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Tk(){var e=window;return lk(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Ok(){var e=window,t=e.HTMLElement,n=e.Document;return lk(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function Lk(){var e,t=window;return e=t.print,/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&"[object WebPageNamespace]"===String(t.browser)}function Ak(){var e,t,n=window;return lk(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Ik(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return lk([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function Pk(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Mk(){var e=_k(),t=Ak(),n=window,r=navigator,o="connection";return e?lk([!("SharedWorker"in n),r[o]&&"ontypechange"in r[o],!("sinkId"in new Audio)])>=2:!!t&&lk(["onorientationchange"in n,"orientation"in n,/android/i.test(r.appVersion)])>=2}function Rk(e){var t=new Error(e);return t.name=e,t}function Dk(e,t,n){var r,o,i;return void 0===n&&(n=50),ZC(this,void 0,void 0,(function(){var s,a;return JC(this,(function(l){switch(l.label){case 0:s=document,l.label=1;case 1:return s.body?[3,3]:[4,ek(n)];case 2:return l.sent(),[3,1];case 3:a=s.createElement("iframe"),l.label=4;case 4:return l.trys.push([4,,10,11]),[4,new Promise((function(e,n){var r=!1,o=function(){r=!0,e()};a.onload=o,a.onerror=function(e){r=!0,n(e)};var i=a.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",t&&"srcdoc"in a?a.srcdoc=t:a.src="about:blank",s.body.appendChild(a);var l=function(){var e,t;r||("complete"===(null===(t=null===(e=a.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(l,10))};l()}))];case 5:l.sent(),l.label=6;case 6:return(null===(o=null===(r=a.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,ek(n)];case 7:return l.sent(),[3,6];case 8:return[4,e(a,a.contentWindow)];case 9:return[2,l.sent()];case 10:return null===(i=a.parentNode)||void 0===i||i.removeChild(a),[7];case 11:return[2]}}))}))}function Nk(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,s={},a=/([.:#][\w-]+|\[.+?\])/gi,l=function(e,t){s[e]=s[e]||[],s[e].push(t)};;){var c=a.exec(o[2]);if(!c)break;var u=c[0];switch(u[0]){case".":l("class",u.slice(1));break;case"#":l("id",u.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(!d)throw new Error(r);l(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[i,s]}(e),n=t[0],r=t[1],o=document.createElement(null!=n?n:"div"),i=0,s=Object.keys(r);i<s.length;i++){var a=s[i],l=r[a].join(" ");"style"===a?Bk(o.style,l):o.setAttribute(a,l)}return o}function Bk(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var s=i[1],a=i[2],l=i[4];e.setProperty(s,a,l||"")}}}var zk=["monospace","sans-serif","serif"],Fk=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function jk(e){return e.toDataURL()}var Wk,Hk,Vk=2500;function Yk(){var e=this;return function(){if(void 0===Hk){var e=function(){var t=Uk();Xk(t)?Hk=setTimeout(e,Vk):(Wk=t,Hk=void 0)};e()}}(),function(){return ZC(e,void 0,void 0,(function(){var e;return JC(this,(function(t){switch(t.label){case 0:return Xk(e=Uk())?Wk?[2,KC([],Wk,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,Pk()]:[3,2]:[3,2];case 1:t.sent(),e=Uk(),t.label=2;case 2:return Xk(e)||(Wk=e),[2,e]}var n}))}))}}function Uk(){var e=screen;return[ak(sk(e.availTop),null),ak(sk(e.width)-sk(e.availWidth)-ak(sk(e.availLeft),0),null),ak(sk(e.height)-sk(e.availHeight)-ak(sk(e.availTop),0),null),ak(sk(e.availLeft),null)]}function Xk(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function $k(e){var t;return ZC(this,void 0,void 0,(function(){var n,r,o,i,s,a,l;return JC(this,(function(c){switch(c.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(e.length),i={},Gk(r),l=0;l<e.length;++l)"DIALOG"===(s=Nk(e[l])).tagName&&s.show(),Gk(a=n.createElement("div")),a.appendChild(s),r.appendChild(a),o[l]=s;c.label=1;case 1:return n.body?[3,3]:[4,ek(50)];case 2:return c.sent(),[3,1];case 3:n.body.appendChild(r);try{for(l=0;l<e.length;++l)o[l].offsetParent||(i[e[l]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,i]}}))}))}function Gk(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function qk(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Zk(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function Jk(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Kk(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Qk(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function e_(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var t_=Math,n_=function(){return 0};var r_={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var o_=function(){for(var e=window;;){var t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&"SecurityError"===n.name)return!0;throw n}e=t}};var i_=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),s_=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),a_=["FRAGMENT_SHADER","VERTEX_SHADER"],l_=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],c_="WEBGL_debug_renderer_info";function u_(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var r=0,o=["webgl","experimental-webgl"];r<o.length;r++){var i=o[r];try{t=n.getContext(i)}catch(s){}if(t)break}return e.webgl={context:t},t}function d_(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function f_(e){return Object.keys(e.__proto__).filter(h_)}function h_(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function p_(){return Ak()}function m_(e){return"function"==typeof e.getParameter}var v_={fonts:function(){var e=this;return Dk((function(t,n){var r=n.document;return ZC(e,void 0,void 0,(function(){var e,t,n,o,i,s,a,l,c,u,d;return JC(this,(function(f){for((e=r.body).style.fontSize="48px",(t=r.createElement("div")).style.setProperty("visibility","hidden","important"),n={},o={},i=function(e){var n=r.createElement("span"),o=n.style;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},s=function(e,t){return i("'".concat(e,"',").concat(t))},a=function(){for(var e={},t=function(t){e[t]=zk.map((function(e){return s(t,e)}))},n=0,r=Fk;n<r.length;n++){t(r[n])}return e},l=function(e){return zk.some((function(t,r){return e[r].offsetWidth!==n[t]||e[r].offsetHeight!==o[t]}))},c=function(){return zk.map(i)}(),u=a(),e.appendChild(t),d=0;d<zk.length;d++)n[zk[d]]=c[d].offsetWidth,o[zk[d]]=c[d].offsetHeight;return[2,Fk.filter((function(e){return l(u[e])}))]}))}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return ZC(this,void 0,void 0,(function(){var e,n,r,o,i;return JC(this,(function(s){switch(s.label){case 0:return Tk()||Mk()?(a=atob,e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',a("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",a("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",a("LnNwb25zb3JpdA=="),".ylamainos",a("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",a("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",a("LmhlYWRlci1ibG9ja2VkLWFk"),a("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",a("I2FkXzMwMFgyNTA="),a("I2Jhbm5lcmZsb2F0MjI="),a("I2NhbXBhaWduLWJhbm5lcg=="),a("I0FkLUNvbnRlbnQ=")],adGuardChinese:[a("LlppX2FkX2FfSA=="),a("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",a("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),a("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",a("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",a("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",a("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),a("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),a("LmFkZ29vZ2xl"),a("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[a("YW1wLWF1dG8tYWRz"),a("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",a("I2FkX2ludmlld19hcmVh")],adGuardRussian:[a("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),a("LnJlY2xhbWE="),'div[id^="smi2adblock"]',a("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[a("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),a("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",a("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),a("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),a("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",a("I3Jla2xhbWk="),a("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),a("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),a("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[a("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",a("LndpZGdldF9wb19hZHNfd2lkZ2V0"),a("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",a("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[a("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),a("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",a("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",a("I3Jla2xhbW5pLWJveA=="),a("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",a("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[a("I2FkdmVydGVudGll"),a("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",a("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",a("LnNwb25zb3JsaW5rZ3J1ZW4="),a("I3dlcmJ1bmdza3k="),a("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),a("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[a("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",a("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[a("LnJla2xhbW9zX3RhcnBhcw=="),a("LnJla2xhbW9zX251b3JvZG9z"),a("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),a("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),a("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[a("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[a("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),a("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",a("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[a("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),a("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),a("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",a("LmFkX19tYWlu"),a("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[a("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[a("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),a("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[a("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),a("I2xpdmVyZUFkV3JhcHBlcg=="),a("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),a("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[a("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",a("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),a("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),a("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[a("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),a("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),a("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",a("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),a("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),a("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),a("ZGl2I3NrYXBpZWNfYWQ=")],ro:[a("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),a("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),a("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[a("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),a("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),a("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",a("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),a("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",a("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(e),[4,$k((i=[]).concat.apply(i,n.map((function(t){return e[t]}))))]):[2,void 0];case 1:return r=s.sent(),t&&function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];"\n".concat(o,":");for(var i=0,s=e[o];i<s.length;i++){var a=s[i];"\n  ".concat(t[a]?"🚫":"➡️"," ").concat(a)}}}(e,r),(o=n.filter((function(t){var n=e[t];return lk(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,o]}var a}))}))},fontPreferences:function(){return function(e,t){void 0===t&&(t=4e3);return Dk((function(n,r){var o=r.document,i=o.body,s=i.style;s.width="".concat(t,"px"),s.webkitTextSizeAdjust=s.textSizeAdjust="none",_k()?i.style.zoom="".concat(1/r.devicePixelRatio):Tk()&&(i.style.zoom="reset");var a=o.createElement("div");return a.textContent=KC([],Array(t/20<<0),!0).map((function(){return"word"})).join(" "),i.appendChild(a),e(o,i)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((function(e,t){for(var n={},r={},o=0,i=Object.keys(r_);o<i.length;o++){var s=i[o],a=r_[s],l=a[0],c=void 0===l?{}:l,u=a[1],d=void 0===u?"mmMwWLliI0fiflO&1":u,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,p=Object.keys(c);h<p.length;h++){var m=p[h],v=c[m];void 0!==v&&(f.style[m]=v)}n[s]=f,t.append(e.createElement("br"),f)}for(var g=0,b=Object.keys(r_);g<b.length;g++){r[s=b[g]]=n[s].getBoundingClientRect().width}return r}))},audio:function(){return Tk()&&Ik()&&Lk()||_k()&&(e=navigator,t=window,n=Audio.prototype,r=t.visualViewport,lk(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3)&&function(){var e=window,t=e.URLPattern;return lk(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()?-4:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Tk()&&!Ok()&&!function(){var e=window;return lk(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=4500,r=new t(1,5e3,44100),o=r.createOscillator();o.type="triangle",o.frequency.value=1e4;var i=r.createDynamicsCompressor();i.threshold.value=-50,i.knee.value=40,i.ratio.value=12,i.attack.value=0,i.release.value=.25,o.connect(i),i.connect(r.destination),o.start(0);var s=function(e){var t=3,n=500,r=500,o=5e3,i=function(){},s=new Promise((function(s,a){var l=!1,c=0,u=0;e.oncomplete=function(e){return s(e.renderedBuffer)};var d=function(){setTimeout((function(){return a(Rk("timeout"))}),Math.min(r,u+o-Date.now()))},f=function(){try{var r=e.startRendering();switch(tk(r)&&ok(r),e.state){case"running":u=Date.now(),l&&d();break;case"suspended":document.hidden||c++,l&&c>=t?a(Rk("suspended")):setTimeout(f,n)}}catch(o){a(o)}};f(),i=function(){l||(l=!0,u>0&&d())}}));return[s,i]}(r),a=s[0],l=s[1],c=ok(a.then((function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(n))}),(function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e})));return function(){return l(),c}}();var e,t,n,r},screenFrame:function(){var e=this;if(Tk()&&Ik()&&Lk())return function(){return Promise.resolve(void 0)};var t=Yk();return function(){return ZC(e,void 0,void 0,(function(){var e,n;return JC(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:ck(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}},canvas:function(){return function(e){var t,n,r,o=!1,i=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),s=i[0],a=i[1];!function(e,t){return!(!t||!e.toDataURL)}(s,a)?n=r="unsupported":(o=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(a),e?n=r="skipped":(t=function(e,t){!function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(e,t);var n=jk(e),r=jk(e);if(n!==r)return["unstable","unstable"];!function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var o=r[n],i=o[0],s=o[1],a=o[2];t.fillStyle=i,t.beginPath(),t.arc(s,a,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t);var o=jk(e);return[o,n]}(s,a),n=t[0],r=t[1]));return{winding:o,geometry:n,text:r}}(Tk()&&Ik()&&Lk())},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))_k()&&lk([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var o=t.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return ak(sk(navigator.deviceMemory),void 0)},screenResolution:function(){var e,t,n;if(!(Tk()&&Ik()&&Lk()))return e=screen,(n=[(t=function(e){return ak(ik(e),null)})(e.width),t(e.height)]).sort().reverse(),n},hardwareConcurrency:function(){return ak(ik(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r,o=(r=(new Date).getFullYear(),-Math.max(sk(new Date(r,0,1).getTimezoneOffset()),sk(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(o)},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(YC){return!0}},indexedDB:function(){var e,t;if(!(kk()||(e=window,t=navigator,lk(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!kk())))try{return!!window.indexedDB}catch(YC){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&Tk()&&!Ok()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return lk(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var o=[],i=0;i<r.length;++i){var s=r[i];o.push({type:s.type,suffixes:s.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:o})}}return t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=ik(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(r){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],o=window[r];o&&"object"==typeof o&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(YC){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!qk("inverted")||!qk("none")&&void 0},forcedColors:function(){return!!Zk("active")||!Zk("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return Jk("no-preference")?0:Jk("high")||Jk("more")?1:Jk("low")||Jk("less")?-1:Jk("forced")?10:void 0},reducedMotion:function(){return!!Kk("reduce")||!Kk("no-preference")&&void 0},reducedTransparency:function(){return!!Qk("reduce")||!Qk("no-preference")&&void 0},hdr:function(){return!!e_("high")||!e_("standard")&&void 0},math:function(){var e,t=t_.acos||n_,n=t_.acosh||n_,r=t_.asin||n_,o=t_.asinh||n_,i=t_.atanh||n_,s=t_.atan||n_,a=t_.sin||n_,l=t_.sinh||n_,c=t_.cos||n_,u=t_.cosh||n_,d=t_.tan||n_,f=t_.tanh||n_,h=t_.exp||n_,p=t_.expm1||n_,m=t_.log1p||n_;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,t_.log(e+t_.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(e){return t_.log(e+t_.sqrt(e*e+1))}(1),atanh:i(.5),atanhPf:function(e){return t_.log((1+e)/(1-e))/2}(.5),atan:s(.5),sin:a(-1e300),sinh:l(1),sinhPf:function(e){return t_.exp(e)-1/t_.exp(e)/2}(1),cos:c(10.000000000123),cosh:u(1),coshPf:function(e){return(t_.exp(e)+1/t_.exp(e))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(e){return(t_.exp(2*e)-1)/(t_.exp(2*e)+1)}(1),exp:h(1),expm1:p(1),expm1Pf:function(e){return t_.exp(e)-1}(1),log1p:m(10),log1pPf:function(e){return t_.log(1+e)}(10),powPI:function(e){return t_.pow(t_.PI,e)}(-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},applePay:function(){var e=window.ApplePaySession;if("function"!=typeof(null==e?void 0:e.canMakePayments))return-1;if(o_())return-3;try{return e.canMakePayments()?1:0}catch(t){return function(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(t)}},privateClickMeasurement:function(){var e,t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)},audioBaseLatency:function(){var e;return Mk()||Tk()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},dateTimeLocale:function(){if(!window.Intl)return-1;var e=window.Intl.DateTimeFormat;if(!e)return-2;var t=e().resolvedOptions().locale;return t||""===t?t:-3},webGlBasics:function(e){var t,n,r,o,i,s,a=u_(e.cache);if(!a)return-1;if(!m_(a))return-2;var l=p_()?null:a.getExtension(c_);return{version:(null===(t=a.getParameter(a.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=a.getParameter(a.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:l?null===(r=a.getParameter(l.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(o=a.getParameter(a.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:l?null===(i=a.getParameter(l.UNMASKED_RENDERER_WEBGL))||void 0===i?void 0:i.toString():"",shadingLanguageVersion:(null===(s=a.getParameter(a.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}},webGlExtensions:function(e){var t=u_(e.cache);if(!t)return-1;if(!m_(t))return-2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),o=[],i=[],s=[],a=[],l=[];if(r)for(var c=0,u=Object.keys(r);c<u.length;c++){var d=u[c];i.push("".concat(d,"=").concat(r[d]))}for(var f=0,h=f_(t);f<h.length;f++){var p=t[x=h[f]];s.push("".concat(x,"=").concat(p).concat(i_.has(p)?"=".concat(t.getParameter(p)):""))}if(n)for(var m=0,v=n;m<v.length;m++){var g=v[m];if(!(g===c_&&p_()||"WEBGL_polygon_mode"===g&&(_k()||Tk()))){var b=t.getExtension(g);if(b)for(var y=0,w=f_(b);y<w.length;y++){var x;p=b[x=w[y]];a.push("".concat(x,"=").concat(p).concat(s_.has(p)?"=".concat(t.getParameter(p)):""))}else o.push(g)}}for(var S=0,E=a_;S<E.length;S++)for(var C=E[S],k=0,_=l_;k<_.length;k++){var T=_[k],O=d_(t,C,T);l.push("".concat(C,".").concat(T,"=").concat(O.join(",")))}return a.sort(),s.sort(),{contextAttributes:i,parameters:s,shaderPrecisions:l,extensions:n,extensionParameters:a,unsupportedExtensions:o}}};var g_="$ if upgrade to Pro: https://fpjs.dev/pro";function b_(e){var t=function(e){if(Mk())return.4;if(Tk())return!Ok()||Ik()&&Lk()?.3:.5;var t="value"in e.platform?e.platform.value:"";if(/^Win/.test(t))return.6;if(/^Mac/.test(t))return.5;return.7}(e),n=function(e){return ck(.99+.01*e,1e-4)}(t);return{score:t,comment:g_.replace(/\$/g,"".concat(n))}}function y_(e){return Ek(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var o=r[n],i=e[o],s="error"in i?"error":JSON.stringify(i.value);t+="".concat(t?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(s)}return t}(e))}function w_(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise((function(e){return n.call(window,(function(){return e()}),{timeout:t})})):ek(Math.min(e,t))}(e,2*e)}function x_(e,t){Date.now();return{get:function(n){return ZC(this,void 0,void 0,(function(){var r,o;return JC(this,(function(i){switch(i.label){case 0:return Date.now(),[4,e()];case 1:return r=i.sent(),o=function(e){var t;return{get visitorId(){return void 0===t&&(t=y_(this.components)),t},set visitorId(e){t=e},confidence:b_(e),components:e,version:QC}}(r),t||null==n||n.debug,[2,o]}}))}))}}}var S_={load:function(e){var t;return void 0===e&&(e={}),ZC(this,void 0,void 0,(function(){var n,r,o;return JC(this,(function(i){switch(i.label){case 0:return(null===(t=e.monitoring)||void 0===t||t)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(QC,"/npm-monitoring"),!0),e.send()}catch(t){}}(),n=e.delayFallback,r=e.debug,[4,w_(n)];case 1:return i.sent(),o=function(e){return Ck(v_,e,[])}({cache:{},debug:r}),[2,x_(o,r)]}}))}))},hashComponents:y_,componentsToDebugString:function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?qC({name:(n=t).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")},n):t;var n,r}),2)}};function E_(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}var C_=1e6,k_=1e6,__="[big.js] ",T_=__+"Invalid ",O_=T_+"decimal places",L_=T_+"rounding mode",A_=__+"Division by zero",I_={},P_=void 0,M_=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function R_(e,t,n,r){var o=e.c;if(n===P_&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(L_);if(t<1)r=3===n&&(r||!!o[0])||0===t&&(1===n&&o[0]>=5||2===n&&(o[0]>5||5===o[0]&&(r||o[1]!==P_))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){if(r=1===n&&o[t]>=5||2===n&&(o[t]>5||5===o[t]&&(r||o[t+1]!==P_||1&o[t-1]))||3===n&&(r||!!o[0]),o.length=t,r)for(;++o[--t]>9;)if(o[t]=0,0===t){++e.e,o.unshift(1);break}for(t=o.length;!o[--t];)o.pop()}return e}function D_(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}I_.abs=function(){var e=new this.constructor(this);return e.s=1,e},I_.cmp=function(e){var t,n=this,r=n.c,o=(e=new n.constructor(e)).c,i=n.s,s=e.s,a=n.e,l=e.e;if(!r[0]||!o[0])return r[0]?i:o[0]?-s:0;if(i!=s)return i;if(t=i<0,a!=l)return a>l^t?1:-1;for(s=(a=r.length)<(l=o.length)?a:l,i=-1;++i<s;)if(r[i]!=o[i])return r[i]>o[i]^t?1:-1;return a==l?0:a>l^t?1:-1},I_.div=function(e){var t=this,n=t.constructor,r=t.c,o=(e=new n(e)).c,i=t.s==e.s?1:-1,s=n.DP;if(s!==~~s||s<0||s>C_)throw Error(O_);if(!o[0])throw Error(A_);if(!r[0])return e.s=i,e.c=[e.e=0],e;var a,l,c,u,d,f=o.slice(),h=a=o.length,p=r.length,m=r.slice(0,a),v=m.length,g=e,b=g.c=[],y=0,w=s+(g.e=t.e-e.e)+1;for(g.s=i,i=w<0?0:w,f.unshift(0);v++<a;)m.push(0);do{for(c=0;c<10;c++){if(a!=(v=m.length))u=a>v?1:-1;else for(d=-1,u=0;++d<a;)if(o[d]!=m[d]){u=o[d]>m[d]?1:-1;break}if(!(u<0))break;for(l=v==a?o:f;v;){if(m[--v]<l[v]){for(d=v;d&&!m[--d];)m[d]=9;--m[d],m[v]+=10}m[v]-=l[v]}for(;!m[0];)m.shift()}b[y++]=u?c:++c,m[0]&&u?m[v]=r[h]||0:m=[r[h]]}while((h++<p||m[0]!==P_)&&i--);return b[0]||1==y||(b.shift(),g.e--,w--),y>w&&R_(g,w,n.RM,m[0]!==P_),g},I_.eq=function(e){return 0===this.cmp(e)},I_.gt=function(e){return this.cmp(e)>0},I_.gte=function(e){return this.cmp(e)>-1},I_.lt=function(e){return this.cmp(e)<0},I_.lte=function(e){return this.cmp(e)<1},I_.minus=I_.sub=function(e){var t,n,r,o,i=this,s=i.constructor,a=i.s,l=(e=new s(e)).s;if(a!=l)return e.s=-l,i.plus(e);var c=i.c.slice(),u=i.e,d=e.c,f=e.e;if(!c[0]||!d[0])return d[0]?e.s=-l:c[0]?e=new s(i):e.s=1,e;if(a=u-f){for((o=a<0)?(a=-a,r=c):(f=u,r=d),r.reverse(),l=a;l--;)r.push(0);r.reverse()}else for(n=((o=c.length<d.length)?c:d).length,a=l=0;l<n;l++)if(c[l]!=d[l]){o=c[l]<d[l];break}if(o&&(r=c,c=d,d=r,e.s=-e.s),(l=(n=d.length)-(t=c.length))>0)for(;l--;)c[t++]=0;for(l=t;n>a;){if(c[--n]<d[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=d[n]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--f;return c[0]||(e.s=1,c=[f=0]),e.c=c,e.e=f,e},I_.mod=function(e){var t,n=this,r=n.constructor,o=n.s,i=(e=new r(e)).s;if(!e.c[0])throw Error(A_);return n.s=e.s=1,t=1==e.cmp(n),n.s=o,e.s=i,t?new r(n):(o=r.DP,i=r.RM,r.DP=r.RM=0,n=n.div(e),r.DP=o,r.RM=i,this.minus(n.times(e)))},I_.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},I_.plus=I_.add=function(e){var t,n,r,o=this,i=o.constructor;if(e=new i(e),o.s!=e.s)return e.s=-e.s,o.minus(e);var s=o.e,a=o.c,l=e.e,c=e.c;if(!a[0]||!c[0])return c[0]||(a[0]?e=new i(o):e.s=o.s),e;if(a=a.slice(),t=s-l){for(t>0?(l=s,r=c):(t=-t,r=a),r.reverse();t--;)r.push(0);r.reverse()}for(a.length-c.length<0&&(r=c,c=a,a=r),t=c.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+c[t]+n)/10|0;for(n&&(a.unshift(n),++l),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=l,e},I_.pow=function(e){var t=this,n=new t.constructor("1"),r=n,o=e<0;if(e!==~~e||e<-1e6||e>k_)throw Error(T_+"exponent");for(o&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return o?n.div(r):r},I_.prec=function(e,t){if(e!==~~e||e<1||e>C_)throw Error(T_+"precision");return R_(new this.constructor(this),e,t)},I_.round=function(e,t){if(e===P_)e=0;else if(e!==~~e||e<-C_||e>C_)throw Error(O_);return R_(new this.constructor(this),e+this.e+1,t)},I_.sqrt=function(){var e,t,n,r=this,o=r.constructor,i=r.s,s=r.e,a=new o("0.5");if(!r.c[0])return new o(r);if(i<0)throw Error(__+"No square root");0===(i=Math.sqrt(+D_(r,!0,!0)))||i===1/0?((t=r.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new o(((i=Math.sqrt(t))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new o(i+""),s=e.e+(o.DP+=4);do{n=e,e=a.times(n.plus(r.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return R_(e,(o.DP-=4)+e.e+1,o.RM)},I_.times=I_.mul=function(e){var t,n=this,r=n.constructor,o=n.c,i=(e=new r(e)).c,s=o.length,a=i.length,l=n.e,c=e.e;if(e.s=n.s==e.s?1:-1,!o[0]||!i[0])return e.c=[e.e=0],e;for(e.e=l+c,s<a&&(t=o,o=i,i=t,c=s,s=a,a=c),t=new Array(c=s+a);c--;)t[c]=0;for(l=a;l--;){for(a=0,c=s+l;c>l;)a=t[c]+i[l]*o[c-l-1]+a,t[c--]=a%10,a=a/10|0;t[c]=a}for(a?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},I_.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==P_){if(e!==~~e||e<0||e>C_)throw Error(O_);for(n=R_(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return D_(n,!0,!!r)},I_.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==P_){if(e!==~~e||e<0||e>C_)throw Error(O_);for(e=e+(n=R_(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return D_(n,!1,!!r)},I_[Symbol.for("nodejs.util.inspect.custom")]=I_.toJSON=I_.toString=function(){var e=this,t=e.constructor;return D_(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},I_.toNumber=function(){var e=+D_(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(__+"Imprecise conversion");return e},I_.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(e!==P_){if(e!==~~e||e<1||e>C_)throw Error(T_+"precision");for(n=R_(new r(n),e,t);n.c.length<e;)n.c.push(0)}return D_(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)},I_.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(__+"valueOf disallowed");return D_(e,e.e<=t.NE||e.e>=t.PE,!0)};var N_=function e(){function t(n){var r=this;if(!(r instanceof t))return n===P_?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice();else{if("string"!=typeof n){if(!0===t.strict&&"bigint"!=typeof n)throw TypeError(T_+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,r,o;if(!M_.test(t))throw Error(T_+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length);for(o=t.length,r=0;r<o&&"0"==t.charAt(r);)++r;if(r==o)e.c=[e.e=0];else{for(;o>0&&"0"==t.charAt(--o););for(e.e=n-r-1,e.c=[],n=0;r<=o;)e.c[n++]=+t.charAt(r++)}}(r,n)}r.constructor=t}return t.prototype=I_,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}();const B_={};B_.getData=e=>new Promise(((t,n)=>{let r={};(function(e){let t=null;return new Promise(((n,r)=>{if(e.src)if(/^data\:/i.test(e.src))t=function(e,t){t=t||e.match(/^data\:([^\;]+)\;base64,/im)[1]||"",e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");for(var n=atob(e),r=n.length%2==0?n.length:n.length+1,o=new ArrayBuffer(r),i=new Uint16Array(o),s=0;s<r;s++)i[s]=n.charCodeAt(s);return o}(e.src),n(t);else if(/^blob\:/i.test(e.src)){var o=new FileReader;o.onload=function(e){t=e.target.result,n(t)},function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="blob",n.onload=function(e){(200==this.status||0===this.status)&&t(this.response)},n.send()}(e.src,(function(e){o.readAsArrayBuffer(e)}))}else{var i=new XMLHttpRequest;i.onload=function(){if(200!=this.status&&0!==this.status)throw"Could not load image";t=i.response,n(t),i=null},i.open("GET",e.src,!0),i.responseType="arraybuffer",i.send(null)}else r("img error")}))})(e).then((e=>{r.arrayBuffer=e;try{r.orientation=function(e){var t,n,r,o,i,s,a,l,c,u,d=new DataView(e),f=d.byteLength;if(255===d.getUint8(0)&&216===d.getUint8(1))for(c=2;c<f;){if(255===d.getUint8(c)&&225===d.getUint8(c+1)){a=c;break}c++}if(a&&(n=a+4,r=a+10,"Exif"===function(e,t,n){var r,o="";for(r=t,n+=t;r<n;r++)o+=String.fromCharCode(e.getUint8(r));return o}(d,n,4)&&(s=d.getUint16(r),((i=18761===s)||19789===s)&&42===d.getUint16(r+2,i)&&(o=d.getUint32(r+4,i),o>=8&&(l=r+o)))),l)for(f=d.getUint16(l,i),u=0;u<f;u++)if(c=l+12*u+2,274===d.getUint16(c,i)){c+=8,t=d.getUint16(c,i);break}return t}(e)}catch(n){r.orientation=-1}t(r)})).catch((e=>{n(e)}))}));const z_=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},F_=cr({data:function(){return{w:0,h:0,scale:1,x:0,y:0,loading:!0,trueWidth:0,trueHeight:0,move:!0,moveX:0,moveY:0,crop:!1,cropping:!1,cropW:0,cropH:0,cropOldW:0,cropOldH:0,canChangeX:!1,canChangeY:!1,changeCropTypeX:1,changeCropTypeY:1,cropX:0,cropY:0,cropChangeX:0,cropChangeY:0,cropOffsertX:0,cropOffsertY:0,support:"",touches:[],touchNow:!1,rotate:0,isIos:!1,orientation:0,imgs:"",coe:.2,scaling:!1,scalingSet:"",coeStatus:"",isCanShow:!0}},props:{img:{type:[String,Blob,null,File],default:""},outputSize:{type:Number,default:1},outputType:{type:String,default:"jpeg"},info:{type:Boolean,default:!0},canScale:{type:Boolean,default:!0},autoCrop:{type:Boolean,default:!1},autoCropWidth:{type:[Number,String],default:0},autoCropHeight:{type:[Number,String],default:0},fixed:{type:Boolean,default:!1},fixedNumber:{type:Array,default:()=>[1,1]},fixedBox:{type:Boolean,default:!1},full:{type:Boolean,default:!1},canMove:{type:Boolean,default:!0},canMoveBox:{type:Boolean,default:!0},original:{type:Boolean,default:!1},centerBox:{type:Boolean,default:!1},high:{type:Boolean,default:!0},infoTrue:{type:Boolean,default:!1},maxImgSize:{type:[Number,String],default:2e3},enlarge:{type:[Number,String],default:1},preW:{type:[Number,String],default:0},mode:{type:String,default:"contain"},limitMinSize:{type:[Number,Array,String],default:()=>10,validator:function(e){return Array.isArray(e)?Number(e[0])>=0&&Number(e[1])>=0:Number(e)>=0}},fillColor:{type:String,default:""}},computed:{cropInfo(){let e={};if(e.top=this.cropOffsertY>21?"-21px":"0px",e.width=this.cropW>0?this.cropW:0,e.height=this.cropH>0?this.cropH:0,this.infoTrue){let t=1;this.high&&!this.full&&(t=window.devicePixelRatio),1!==this.enlarge&!this.full&&(t=Math.abs(Number(this.enlarge))),e.width=e.width*t,e.height=e.height*t,this.full&&(e.width=e.width/this.scale,e.height=e.height/this.scale)}return e.width=e.width.toFixed(0),e.height=e.height.toFixed(0),e},isIE:()=>!!window.ActiveXObject||"ActiveXObject"in window,passive(){return this.isIE?null:{passive:!1}}},watch:{img(){this.checkedImg()},imgs(e){""!==e&&this.reload()},cropW(){this.showPreview()},cropH(){this.showPreview()},cropOffsertX(){this.showPreview()},cropOffsertY(){this.showPreview()},scale(e,t){this.showPreview()},x(){this.showPreview()},y(){this.showPreview()},autoCrop(e){e&&this.goAutoCrop()},autoCropWidth(){this.autoCrop&&this.goAutoCrop()},autoCropHeight(){this.autoCrop&&this.goAutoCrop()},mode(){this.checkedImg()},rotate(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion(e){var t=navigator.userAgent.split(" "),n="";let r=0;const o=new RegExp(e,"i");for(var i=0;i<t.length;i++)o.test(t[i])&&(n=t[i]);return r=n?n.split("/")[1].split("."):["0","0","0"],r},checkOrientationImage(e,t,n,r){if(this.getVersion("chrome")[0]>=81)t=-1;else if(this.getVersion("safari")[0]>=605){const e=this.getVersion("version");e[0]>13&&e[1]>1&&(t=-1)}else{const e=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(e){let n=e[1];n=n.split("_"),(n[0]>13||n[0]>=13&&n[1]>=4)&&(t=-1)}}let o=document.createElement("canvas"),i=o.getContext("2d");switch(i.save(),t){case 2:o.width=n,o.height=r,i.translate(n,0),i.scale(-1,1);break;case 3:o.width=n,o.height=r,i.translate(n/2,r/2),i.rotate(180*Math.PI/180),i.translate(-n/2,-r/2);break;case 4:o.width=n,o.height=r,i.translate(0,r),i.scale(1,-1);break;case 5:o.height=n,o.width=r,i.rotate(.5*Math.PI),i.scale(1,-1);break;case 6:o.width=r,o.height=n,i.translate(r/2,n/2),i.rotate(90*Math.PI/180),i.translate(-n/2,-r/2);break;case 7:o.height=n,o.width=r,i.rotate(.5*Math.PI),i.translate(n,-r),i.scale(-1,1);break;case 8:o.height=n,o.width=r,i.translate(r/2,n/2),i.rotate(-90*Math.PI/180),i.translate(-n/2,-r/2);break;default:o.width=n,o.height=r}i.drawImage(e,0,0,n,r),i.restore(),o.toBlob((e=>{let t=URL.createObjectURL(e);URL.revokeObjectURL(this.imgs),this.imgs=t}),"image/"+this.outputType,1)},checkedImg(){if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();let e=new Image;if(e.onload=()=>{if(""===this.img)return this.$emit("img-load",new Error("图片不能为空")),!1;let t=e.width,n=e.height;B_.getData(e).then((r=>{this.orientation=r.orientation||1;let o=Number(this.maxImgSize);!this.orientation&&t<o&n<o?this.imgs=this.img:(t>o&&(n=n/t*o,t=o),n>o&&(t=t/n*o,n=o),this.checkOrientationImage(e,this.orientation,t,n))})).catch((e=>{this.$emit("img-load","error"),this.$emit("img-load-error",e)}))},e.onerror=e=>{this.$emit("img-load","error"),this.$emit("img-load-error",e)},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var t=new XMLHttpRequest;t.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},t.open("GET",this.img,!0),t.responseType="blob",t.send()}else e.src=this.img},startMove(e){if(e.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in e?e.clientX:e.touches[0].clientX)-this.x,this.moveY=("clientY"in e?e.clientY:e.touches[0].clientY)-this.y,e.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==e.touches.length&&(this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=e.offsetX?e.offsetX:e.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=e.offsetY?e.offsetY:e.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale(e){e.preventDefault();let t=this.scale;var n=this.touches[0].clientX,r=this.touches[0].clientY,o=e.touches[0].clientX,i=e.touches[0].clientY,s=this.touches[1].clientX,a=this.touches[1].clientY,l=e.touches[1].clientX,c=e.touches[1].clientY,u=Math.sqrt(Math.pow(n-s,2)+Math.pow(r-a,2)),d=Math.sqrt(Math.pow(o-l,2)+Math.pow(i-c,2))-u,f=1,h=(f=(f=f/this.trueWidth>f/this.trueHeight?f/this.trueHeight:f/this.trueWidth)>.1?.1:f)*d;if(!this.touchNow){if(this.touchNow=!0,d>0?t+=Math.abs(h):d<0&&t>Math.abs(h)&&(t-=Math.abs(h)),this.touches=e.touches,setTimeout((()=>{this.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t}},cancelTouchScale(e){window.removeEventListener("touchmove",this.touchScale)},moveImg(e){if(e.preventDefault(),e.touches&&2===e.touches.length)return this.touches=e.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;let t,n,r="clientX"in e?e.clientX:e.touches[0].clientX,o="clientY"in e?e.clientY:e.touches[0].clientY;t=r-this.moveX,n=o-this.moveY,this.$nextTick((()=>{if(this.centerBox){let e,r,o,i,s=this.getImgAxis(t,n,this.scale),a=this.getCropAxis(),l=this.trueHeight*this.scale,c=this.trueWidth*this.scale;switch(this.rotate){case 1:case-1:case 3:case-3:e=this.cropOffsertX-this.trueWidth*(1-this.scale)/2+(l-c)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2+(c-l)/2,o=e-l+this.cropW,i=r-c+this.cropH;break;default:e=this.cropOffsertX-this.trueWidth*(1-this.scale)/2,r=this.cropOffsertY-this.trueHeight*(1-this.scale)/2,o=e-c+this.cropW,i=r-l+this.cropH}s.x1>=a.x1&&(t=e),s.y1>=a.y1&&(n=r),s.x2<=a.x2&&(t=o),s.y2<=a.y2&&(n=i)}this.x=t,this.y=n,this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}))},leaveImg(e){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize(e){e.preventDefault();let t=this.scale;var n=e.deltaY||e.wheelDelta;n=navigator.userAgent.indexOf("Firefox")>0?30*n:n,this.isIE&&(n=-n);var r=this.coe,o=(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)*n;o<0?t+=Math.abs(o):t>Math.abs(o)&&(t-=Math.abs(o));let i=o<0?"add":"reduce";if(i!==this.coeStatus&&(this.coeStatus=i,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((()=>{this.scaling=!1,this.coe=this.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},changeScale(e){let t=this.scale;e=e||1;var n=20;if((e*=n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth)>0?t+=Math.abs(e):t>Math.abs(e)&&(t-=Math.abs(e)),!this.checkoutImgAxis(this.x,this.y,t))return!1;this.scale=t},createCrop(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,n="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;this.$nextTick((()=>{var e=t-this.cropX,r=n-this.cropY;if(e>0?(this.cropW=e+this.cropChangeX>this.w?this.w-this.cropChangeX:e,this.cropOffsertX=this.cropChangeX):(this.cropW=this.w-this.cropChangeX+Math.abs(e)>this.w?this.cropChangeX:Math.abs(e),this.cropOffsertX=this.cropChangeX+e>0?this.cropChangeX+e:0),this.fixed){var o=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];o+this.cropOffsertY>this.h?(this.cropH=this.h-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],this.cropOffsertX=e>0?this.cropChangeX:this.cropChangeX-this.cropW):this.cropH=o,this.cropOffsertY=this.cropOffsertY}else r>0?(this.cropH=r+this.cropChangeY>this.h?this.h-this.cropChangeY:r,this.cropOffsertY=this.cropChangeY):(this.cropH=this.h-this.cropChangeY+Math.abs(r)>this.h?this.cropChangeY:Math.abs(r),this.cropOffsertY=this.cropChangeY+r>0?this.cropChangeY+r:0)}))},changeCropSize(e,t,n,r,o){e.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=t,this.canChangeY=n,this.changeCropTypeX=r,this.changeCropTypeY=o,this.cropX="clientX"in e?e.clientX:e.touches[0].clientX,this.cropY="clientY"in e?e.clientY:e.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow(e){e.preventDefault();var t="clientX"in e?e.clientX:e.touches?e.touches[0].clientX:0,n="clientY"in e?e.clientY:e.touches?e.touches[0].clientY:0;let r=this.w,o=this.h,i=0,s=0;if(this.centerBox){let e=this.getImgAxis(),t=e.x2,n=e.y2;i=e.x1>0?e.x1:0,s=e.y1>0?e.y1:0,r>t&&(r=t),o>n&&(o=n)}const[a,l]=this.checkCropLimitSize();this.$nextTick((()=>{var e=t-this.cropX,c=n-this.cropY;if(this.canChangeX&&(1===this.changeCropTypeX?this.cropOldW-e<a?(this.cropW=a,this.cropOffsertX=this.cropOldW+this.cropChangeX-i-a):this.cropOldW-e>0?(this.cropW=r-this.cropChangeX-e<=r-i?this.cropOldW-e:this.cropOldW+this.cropChangeX-i,this.cropOffsertX=r-this.cropChangeX-e<=r-i?this.cropChangeX+e:i):(this.cropW=Math.abs(e)+this.cropChangeX<=r?Math.abs(e)-this.cropOldW:r-this.cropOldW-this.cropChangeX,this.cropOffsertX=this.cropChangeX+this.cropOldW):2===this.changeCropTypeX&&(this.cropOldW+e<a?this.cropW=a:this.cropOldW+e>0?(this.cropW=this.cropOldW+e+this.cropOffsertX<=r?this.cropOldW+e:r-this.cropOffsertX,this.cropOffsertX=this.cropChangeX):(this.cropW=r-this.cropChangeX+Math.abs(e+this.cropOldW)<=r-i?Math.abs(e+this.cropOldW):this.cropChangeX-i,this.cropOffsertX=r-this.cropChangeX+Math.abs(e+this.cropOldW)<=r-i?this.cropChangeX-Math.abs(e+this.cropOldW):i))),this.canChangeY&&(1===this.changeCropTypeY?this.cropOldH-c<l?(this.cropH=l,this.cropOffsertY=this.cropOldH+this.cropChangeY-s-l):this.cropOldH-c>0?(this.cropH=o-this.cropChangeY-c<=o-s?this.cropOldH-c:this.cropOldH+this.cropChangeY-s,this.cropOffsertY=o-this.cropChangeY-c<=o-s?this.cropChangeY+c:s):(this.cropH=Math.abs(c)+this.cropChangeY<=o?Math.abs(c)-this.cropOldH:o-this.cropOldH-this.cropChangeY,this.cropOffsertY=this.cropChangeY+this.cropOldH):2===this.changeCropTypeY&&(this.cropOldH+c<l?this.cropH=l:this.cropOldH+c>0?(this.cropH=this.cropOldH+c+this.cropOffsertY<=o?this.cropOldH+c:o-this.cropOffsertY,this.cropOffsertY=this.cropChangeY):(this.cropH=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-s?Math.abs(c+this.cropOldH):this.cropChangeY-s,this.cropOffsertY=o-this.cropChangeY+Math.abs(c+this.cropOldH)<=o-s?this.cropChangeY-Math.abs(c+this.cropOldH):s))),this.canChangeX&&this.fixed){var u=this.cropW/this.fixedNumber[0]*this.fixedNumber[1];u<l?(this.cropH=l,this.cropW=this.fixedNumber[0]*l/this.fixedNumber[1],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):u+this.cropOffsertY>o?(this.cropH=o-this.cropOffsertY,this.cropW=this.cropH/this.fixedNumber[1]*this.fixedNumber[0],1===this.changeCropTypeX&&(this.cropOffsertX=this.cropChangeX+(this.cropOldW-this.cropW))):this.cropH=u}if(this.canChangeY&&this.fixed){var d=this.cropH/this.fixedNumber[1]*this.fixedNumber[0];d<a?(this.cropW=a,this.cropH=this.fixedNumber[1]*a/this.fixedNumber[0],this.cropOffsertY=this.cropOldH+this.cropChangeY-this.cropH):d+this.cropOffsertX>r?(this.cropW=r-this.cropOffsertX,this.cropH=this.cropW/this.fixedNumber[0]*this.fixedNumber[1]):this.cropW=d}}))},checkCropLimitSize(){let{cropW:e,cropH:t,limitMinSize:n}=this,r=new Array;return r=Array.isArray(n)?n:[n,n],e=parseFloat(r[0]),t=parseFloat(r[1]),[e,t]},changeCropEnd(e){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},calculateSize(e,t,n,r,o,i){const s=e/t;let a=o,l=i;return a<n&&(a=n,l=Math.ceil(a/s)),l<r&&(l=r,a=Math.ceil(l*s),a<n&&(a=n,l=Math.ceil(a/s))),a<o&&(a=o,l=Math.ceil(a/s)),l<i&&(l=i,a=Math.ceil(l*s)),{width:a,height:l}},endCrop(){0===this.cropW&&0===this.cropH&&(this.cropping=!1);let[e,t]=this.checkCropLimitSize();const{width:n,height:r}=this.fixed?this.calculateSize(this.fixedNumber[0],this.fixedNumber[1],e,t,this.cropW,this.cropH):{width:e,height:t};n>this.cropW&&(this.cropW=n,this.cropOffsertX+n>this.w&&(this.cropOffsertX=this.w-n)),r>this.cropH&&(this.cropH=r,this.cropOffsertY+r>this.h&&(this.cropOffsertY=this.h-r)),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop(){this.crop=!0},stopCrop(){this.crop=!1},clearCrop(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove(e){if(e.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(e),!1;if(e.touches&&2===e.touches.length)return this.crop=!1,this.startMove(e),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);let t,n,r="clientX"in e?e.clientX:e.touches[0].clientX,o="clientY"in e?e.clientY:e.touches[0].clientY;t=r-this.cropOffsertX,n=o-this.cropOffsertY,this.cropX=t,this.cropY=n,this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop(e,t){let n=0,r=0;e&&(e.preventDefault(),n="clientX"in e?e.clientX:e.touches[0].clientX,r="clientY"in e?e.clientY:e.touches[0].clientY),this.$nextTick((()=>{let e,o,i=n-this.cropX,s=r-this.cropY;if(t&&(i=this.cropOffsertX,s=this.cropOffsertY),e=i<=0?0:i+this.cropW>this.w?this.w-this.cropW:i,o=s<=0?0:s+this.cropH>this.h?this.h-this.cropH:s,this.centerBox){let t=this.getImgAxis();e<=t.x1&&(e=t.x1),e+this.cropW>t.x2&&(e=t.x2-this.cropW),o<=t.y1&&(o=t.y1),o+this.cropH>t.y2&&(o=t.y2-this.cropH)}this.cropOffsertX=e,this.cropOffsertY=o,this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})}))},getImgAxis(e,t,n){e=e||this.x,t=t||this.y,n=n||this.scale;let r={x1:0,x2:0,y1:0,y2:0},o=this.trueWidth*n,i=this.trueHeight*n;switch(this.rotate){case 0:r.x1=e+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=t+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n;break;case 1:case-1:case 3:case-3:r.x1=e+this.trueWidth*(1-n)/2+(o-i)/2,r.x2=r.x1+this.trueHeight*n,r.y1=t+this.trueHeight*(1-n)/2+(i-o)/2,r.y2=r.y1+this.trueWidth*n;break;default:r.x1=e+this.trueWidth*(1-n)/2,r.x2=r.x1+this.trueWidth*n,r.y1=t+this.trueHeight*(1-n)/2,r.y2=r.y1+this.trueHeight*n}return r},getCropAxis(){let e={x1:0,x2:0,y1:0,y2:0};return e.x1=this.cropOffsertX,e.x2=e.x1+this.cropW,e.y1=this.cropOffsertY,e.y2=e.y1+this.cropH,e},leaveCrop(e){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked(e){let t=document.createElement("canvas"),n=new Image,r=this.rotate,o=this.trueWidth,i=this.trueHeight,s=this.cropOffsertX,a=this.cropOffsertY;function l(e,n){t.width=Math.round(e),t.height=Math.round(n)}n.onload=()=>{if(0!==this.cropW){let e=t.getContext("2d"),c=1;this.high&!this.full&&(c=window.devicePixelRatio),1!==this.enlarge&!this.full&&(c=Math.abs(Number(this.enlarge)));let u=this.cropW*c,d=this.cropH*c,f=o*this.scale*c,h=i*this.scale*c,p=(this.x-s+this.trueWidth*(1-this.scale)/2)*c,m=(this.y-a+this.trueHeight*(1-this.scale)/2)*c;switch(l(u,d),e.save(),this.fillColor&&(e.fillStyle=this.fillColor,e.fillRect(0,0,t.width,t.height)),r){case 0:this.full?(l(u/this.scale,d/this.scale),e.drawImage(n,p/this.scale,m/this.scale,f/this.scale,h/this.scale)):e.drawImage(n,p,m,f,h);break;case 1:case-3:this.full?(l(u/this.scale,d/this.scale),p=p/this.scale+(f/this.scale-h/this.scale)/2,m=m/this.scale+(h/this.scale-f/this.scale)/2,e.rotate(90*r*Math.PI/180),e.drawImage(n,m,-p-h/this.scale,f/this.scale,h/this.scale)):(p+=(f-h)/2,m+=(h-f)/2,e.rotate(90*r*Math.PI/180),e.drawImage(n,m,-p-h,f,h));break;case 2:case-2:this.full?(l(u/this.scale,d/this.scale),e.rotate(90*r*Math.PI/180),p/=this.scale,m/=this.scale,e.drawImage(n,-p-f/this.scale,-m-h/this.scale,f/this.scale,h/this.scale)):(e.rotate(90*r*Math.PI/180),e.drawImage(n,-p-f,-m-h,f,h));break;case 3:case-1:this.full?(l(u/this.scale,d/this.scale),p=p/this.scale+(f/this.scale-h/this.scale)/2,m=m/this.scale+(h/this.scale-f/this.scale)/2,e.rotate(90*r*Math.PI/180),e.drawImage(n,-m-f/this.scale,p,f/this.scale,h/this.scale)):(p+=(f-h)/2,m+=(h-f)/2,e.rotate(90*r*Math.PI/180),e.drawImage(n,-m-f,p,f,h));break;default:this.full?(l(u/this.scale,d/this.scale),e.drawImage(n,p/this.scale,m/this.scale,f/this.scale,h/this.scale)):e.drawImage(n,p,m,f,h)}e.restore()}else{let e=o*this.scale,s=i*this.scale,a=t.getContext("2d");switch(a.save(),this.fillColor&&(a.fillStyle=this.fillColor,a.fillRect(0,0,t.width,t.height)),r){case 0:l(e,s),a.drawImage(n,0,0,e,s);break;case 1:case-3:l(s,e),a.rotate(90*r*Math.PI/180),a.drawImage(n,0,-s,e,s);break;case 2:case-2:l(e,s),a.rotate(90*r*Math.PI/180),a.drawImage(n,-e,-s,e,s);break;case 3:case-1:l(s,e),a.rotate(90*r*Math.PI/180),a.drawImage(n,-e,0,e,s);break;default:l(e,s),a.drawImage(n,0,0,e,s)}a.restore()}e(t)},"data"!==this.img.substr(0,4)&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData(e){this.getCropChecked((t=>{e(t.toDataURL("image/"+this.outputType,this.outputSize))}))},getCropBlob(e){this.getCropChecked((t=>{t.toBlob((t=>e(t)),"image/"+this.outputType,this.outputSize)}))},showPreview(){if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((()=>{this.isCanShow=!0}),16);let e=this.cropW,t=this.cropH,n=this.scale;var r={};r.div={width:"".concat(e,"px"),height:"".concat(t,"px")};let o=(this.x-this.cropOffsertX)/n,i=(this.y-this.cropOffsertY)/n;r.w=e,r.h=t,r.url=this.imgs,r.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(n,")translate3d(").concat(o,"px, ").concat(i,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},r.html='\n      <div class="show-preview" style="width: '.concat(r.w,"px; height: ").concat(r.h,'px,; overflow: hidden">\n        <div style="width: ').concat(e,"px; height: ").concat(t,'px">\n          <img src=').concat(r.url,' style="width: ').concat(this.trueWidth,"px; height: ").concat(this.trueHeight,"px; transform:\n          scale(").concat(n,")translate3d(").concat(o,"px, ").concat(i,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,'deg)">\n        </div>\n      </div>'),this.$emit("real-time",r)},reload(){let e=new Image;e.onload=()=>{this.w=parseFloat(window.getComputedStyle(this.$refs.cropper).width),this.h=parseFloat(window.getComputedStyle(this.$refs.cropper).height),this.trueWidth=e.width,this.trueHeight=e.height,this.original?this.scale=1:this.scale=this.checkedMode(),this.$nextTick((()=>{this.x=-(this.trueWidth-this.trueWidth*this.scale)/2+(this.w-this.trueWidth*this.scale)/2,this.y=-(this.trueHeight-this.trueHeight*this.scale)/2+(this.h-this.trueHeight*this.scale)/2,this.loading=!1,this.autoCrop&&this.goAutoCrop(),this.$emit("img-load","success"),setTimeout((()=>{this.showPreview()}),20)}))},e.onerror=()=>{this.$emit("img-load","error")},e.src=this.imgs},checkedMode(){let e=1,t=this.trueWidth,n=this.trueHeight;const r=this.mode.split(" ");switch(r[0]){case"contain":this.trueWidth>this.w&&(e=this.w/this.trueWidth),this.trueHeight*e>this.h&&(e=this.h/this.trueHeight);break;case"cover":t=this.w,e=t/this.trueWidth,n*=e,n<this.h&&(n=this.h,e=n/this.trueHeight);break;default:try{let o=r[0];if(-1!==o.search("px")){o=o.replace("px",""),t=parseFloat(o);const i=t/this.trueWidth;let s=1,a=r[1];-1!==a.search("px")&&(a=a.replace("px",""),n=parseFloat(a),s=n/this.trueHeight),e=Math.min(i,s)}if(-1!==o.search("%")&&(o=o.replace("%",""),t=parseFloat(o)/100*this.w,e=t/this.trueWidth),2===r.length&&"auto"===o){let t=r[1];-1!==t.search("px")&&(t=t.replace("px",""),n=parseFloat(t),e=n/this.trueHeight),-1!==t.search("%")&&(t=t.replace("%",""),n=parseFloat(t)/100*this.h,e=n/this.trueHeight)}}catch(o){e=1}}return e},goAutoCrop(e,t){if(""===this.imgs||null===this.imgs)return;this.clearCrop(),this.cropping=!0;let n=this.w,r=this.h;if(this.centerBox){const e=Math.abs(this.rotate)%2>0;let t=(e?this.trueHeight:this.trueWidth)*this.scale,o=(e?this.trueWidth:this.trueHeight)*this.scale;n=t<n?t:n,r=o<r?o:r}var o=e||parseFloat(this.autoCropWidth),i=t||parseFloat(this.autoCropHeight);(0===o||0===i)&&(o=.8*n,i=.8*r),o=o>n?n:o,i=i>r?r:i,this.fixed&&(i=o/this.fixedNumber[0]*this.fixedNumber[1]),i>this.h&&(o=(i=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(o,i)},changeCrop(e,t){if(this.centerBox){let n=this.getImgAxis();e>n.x2-n.x1&&(t=(e=n.x2-n.x1)/this.fixedNumber[0]*this.fixedNumber[1]),t>n.y2-n.y1&&(e=(t=n.y2-n.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=e,this.cropH=t,this.checkCropLimitSize(),this.$nextTick((()=>{this.cropOffsertX=(this.w-this.cropW)/2,this.cropOffsertY=(this.h-this.cropH)/2,this.centerBox&&this.moveCrop(null,!0)}))},refresh(){this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((()=>{this.checkedImg()}))},rotateLeft(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear(){this.rotate=0},checkoutImgAxis(e,t,n){e=e||this.x,t=t||this.y,n=n||this.scale;let r=!0;if(this.centerBox){let o=this.getImgAxis(e,t,n),i=this.getCropAxis();o.x1>=i.x1&&(r=!1),o.x2<=i.x2&&(r=!1),o.y1>=i.y1&&(r=!1),o.y2<=i.y2&&(r=!1)}return r}},mounted(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";let e=this;var t=navigator.userAgent;this.isIOS=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(t,n,r){for(var o=atob(this.toDataURL(n,r).split(",")[1]),i=o.length,s=new Uint8Array(i),a=0;a<i;a++)s[a]=o.charCodeAt(a);t(new Blob([s],{type:e.type||"image/png"}))}}),this.showPreview(),this.checkedImg()},unmounted(){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.cancelScale()}}),j_={key:0,class:"cropper-box"},W_=["src"],H_={class:"cropper-view-box"},V_=["src"],Y_={key:1};const U_=z_(F_,[["render",function(e,t,n,r,o,i){return mi(),yi("div",{class:"vue-cropper",ref:"cropper",onMouseover:t[28]||(t[28]=(...t)=>e.scaleImg&&e.scaleImg(...t)),onMouseout:t[29]||(t[29]=(...t)=>e.cancelScale&&e.cancelScale(...t))},[e.imgs?(mi(),yi("div",j_,[Rn(ki("div",{class:"cropper-box-canvas",style:le({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+e.x/e.scale+"px,"+e.y/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"})},[ki("img",{src:e.imgs,alt:"cropper-img",ref:"cropperImg"},null,8,W_)],4),[[Is,!e.loading]])])):Ii("",!0),ki("div",{class:he(["cropper-drag-box",{"cropper-move":e.move&&!e.crop,"cropper-crop":e.crop,"cropper-modal":e.cropping}]),onMousedown:t[0]||(t[0]=(...t)=>e.startMove&&e.startMove(...t)),onTouchstart:t[1]||(t[1]=(...t)=>e.startMove&&e.startMove(...t))},null,34),Rn(ki("div",{class:"cropper-crop-box",style:le({width:e.cropW+"px",height:e.cropH+"px",transform:"translate3d("+e.cropOffsertX+"px,"+e.cropOffsertY+"px,0)"})},[ki("span",H_,[ki("img",{style:le({width:e.trueWidth+"px",height:e.trueHeight+"px",transform:"scale("+e.scale+","+e.scale+") translate3d("+(e.x-e.cropOffsertX)/e.scale+"px,"+(e.y-e.cropOffsertY)/e.scale+"px,0)rotateZ("+90*e.rotate+"deg)"}),src:e.imgs,alt:"cropper-img"},null,12,V_)]),ki("span",{class:"cropper-face cropper-move",onMousedown:t[2]||(t[2]=(...t)=>e.cropMove&&e.cropMove(...t)),onTouchstart:t[3]||(t[3]=(...t)=>e.cropMove&&e.cropMove(...t))},null,32),e.info?(mi(),yi("span",{key:0,class:"crop-info",style:le({top:e.cropInfo.top})},we(e.cropInfo.width)+" × "+we(e.cropInfo.height),5)):Ii("",!0),e.fixedBox?Ii("",!0):(mi(),yi("span",Y_,[ki("span",{class:"crop-line line-w",onMousedown:t[4]||(t[4]=t=>e.changeCropSize(t,!1,!0,0,1)),onTouchstart:t[5]||(t[5]=t=>e.changeCropSize(t,!1,!0,0,1))},null,32),ki("span",{class:"crop-line line-a",onMousedown:t[6]||(t[6]=t=>e.changeCropSize(t,!0,!1,1,0)),onTouchstart:t[7]||(t[7]=t=>e.changeCropSize(t,!0,!1,1,0))},null,32),ki("span",{class:"crop-line line-s",onMousedown:t[8]||(t[8]=t=>e.changeCropSize(t,!1,!0,0,2)),onTouchstart:t[9]||(t[9]=t=>e.changeCropSize(t,!1,!0,0,2))},null,32),ki("span",{class:"crop-line line-d",onMousedown:t[10]||(t[10]=t=>e.changeCropSize(t,!0,!1,2,0)),onTouchstart:t[11]||(t[11]=t=>e.changeCropSize(t,!0,!1,2,0))},null,32),ki("span",{class:"crop-point point1",onMousedown:t[12]||(t[12]=t=>e.changeCropSize(t,!0,!0,1,1)),onTouchstart:t[13]||(t[13]=t=>e.changeCropSize(t,!0,!0,1,1))},null,32),ki("span",{class:"crop-point point2",onMousedown:t[14]||(t[14]=t=>e.changeCropSize(t,!1,!0,0,1)),onTouchstart:t[15]||(t[15]=t=>e.changeCropSize(t,!1,!0,0,1))},null,32),ki("span",{class:"crop-point point3",onMousedown:t[16]||(t[16]=t=>e.changeCropSize(t,!0,!0,2,1)),onTouchstart:t[17]||(t[17]=t=>e.changeCropSize(t,!0,!0,2,1))},null,32),ki("span",{class:"crop-point point4",onMousedown:t[18]||(t[18]=t=>e.changeCropSize(t,!0,!1,1,0)),onTouchstart:t[19]||(t[19]=t=>e.changeCropSize(t,!0,!1,1,0))},null,32),ki("span",{class:"crop-point point5",onMousedown:t[20]||(t[20]=t=>e.changeCropSize(t,!0,!1,2,0)),onTouchstart:t[21]||(t[21]=t=>e.changeCropSize(t,!0,!1,2,0))},null,32),ki("span",{class:"crop-point point6",onMousedown:t[22]||(t[22]=t=>e.changeCropSize(t,!0,!0,1,2)),onTouchstart:t[23]||(t[23]=t=>e.changeCropSize(t,!0,!0,1,2))},null,32),ki("span",{class:"crop-point point7",onMousedown:t[24]||(t[24]=t=>e.changeCropSize(t,!1,!0,0,2)),onTouchstart:t[25]||(t[25]=t=>e.changeCropSize(t,!1,!0,0,2))},null,32),ki("span",{class:"crop-point point8",onMousedown:t[26]||(t[26]=t=>e.changeCropSize(t,!0,!0,2,2)),onTouchstart:t[27]||(t[27]=t=>e.changeCropSize(t,!0,!0,2,2))},null,32)]))],4),[[Is,e.cropping]])],544)}],["__scopeId","data-v-69939069"]]),X_={version:"1.1.1",install:function(e){e.component("VueCropper",U_)},VueCropper:U_};function $_(e,t){var n;return e="object"==typeof(n=e)&&null!==n?e:Object.create(null),new Proxy(e,{get:(e,n,r)=>"key"===n?Reflect.get(e,n,r):Reflect.get(e,n,r)||Reflect.get(t,n,r)})}function G_(e,{storage:t,serializer:n,key:r,debug:o}){try{const o=null==t?void 0:t.getItem(r);o&&e.$patch(null==n?void 0:n.deserialize(o))}catch(YC){}}function q_(e,{storage:t,serializer:n,key:r,paths:o,debug:i}){try{const i=Array.isArray(o)?function(e,t){return t.reduce(((t,n)=>{const r=n.split(".");return function(e,t,n){return t.slice(0,-1).reduce(((e,t)=>/^(__proto__)$/.test(t)?{}:e[t]=e[t]||{}),e)[t[t.length-1]]=n,e}(t,r,function(e,t){return t.reduce(((e,t)=>null==e?void 0:e[t]),e)}(e,r))}),{})}(e,o):e;t.setItem(r,n.serialize(i))}catch(YC){}}var Z_=function(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:r=n},store:o,pinia:i}=t;if(!r)return;if(!(o.$id in i.state.value)){const e=i._s.get(o.$id.replace("__hot:",""));return void(e&&Promise.resolve().then((()=>e.$persist())))}const s=(Array.isArray(r)?r.map((t=>$_(t,e))):[$_(r,e)]).map(function(e,t){return n=>{var r;try{const{storage:o=localStorage,beforeRestore:i,afterRestore:s,serializer:a={serialize:JSON.stringify,deserialize:JSON.parse},key:l=t.$id,paths:c=null,debug:u=!1}=n;return{storage:o,beforeRestore:i,afterRestore:s,serializer:a,key:(null!=(r=e.key)?r:e=>e)("string"==typeof l?l:l(t.$id)),paths:c,debug:u}}catch(YC){return n.debug,null}}}(e,o)).filter(Boolean);o.$persist=()=>{s.forEach((e=>{q_(o.$state,e)}))},o.$hydrate=({runHooks:e=!0}={})=>{s.forEach((n=>{const{beforeRestore:r,afterRestore:i}=n;e&&(null==r||r(t)),G_(o,n),e&&(null==i||i(t))}))},s.forEach((e=>{const{beforeRestore:n,afterRestore:r}=e;null==n||n(t),G_(o,e),null==r||r(t),o.$subscribe(((t,n)=>{q_(n,e)}),{detached:!0})}))}}();!function(){if("undefined"!=typeof window){var e,t="ontouchstart"in window;document.createTouch||(document.createTouch=function(e,t,r,o,i,s,a){return new n(t,r,{pageX:o,pageY:i,screenX:s,screenY:a,clientX:o-window.pageXOffset,clientY:i-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var e=o(),t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length=arguments.length,e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var n=function(e,t,n,r,o){r=r||0,o=o||0,this.identifier=t,this.target=e,this.clientX=n.clientX+r,this.clientY=n.clientY+o,this.screenX=n.screenX+r,this.screenY=n.screenY+o,this.pageX=n.pageX+r,this.pageY=n.pageY+o},r=!1;l.multiTouchOffset=75,t||new l}function o(){var e=[];return e.item=function(e){return this[e]||null},e.identifiedTouch=function(e){return this[e+1]||null},e}function i(t){return function(n){var o,i,l;("mousedown"===n.type&&(r=!0),"mouseup"===n.type&&(r=!1),"mousemove"!==n.type||r)&&(("mousedown"===n.type||!e||e&&!e.dispatchEvent)&&(e=n.target),null==e.closest("[data-no-touch-simulate]")&&(o=t,i=n,(l=document.createEvent("Event")).initEvent(o,!0,!0),l.altKey=i.altKey,l.ctrlKey=i.ctrlKey,l.metaKey=i.metaKey,l.shiftKey=i.shiftKey,l.touches=a(i),l.targetTouches=a(i),l.changedTouches=s(i),e.dispatchEvent(l)),"mouseup"===n.type&&(e=null))}}function s(t){var r=o();return r.push(new n(e,1,t,0,0)),r}function a(e){return"mouseup"===e.type?o():s(e)}function l(){window.addEventListener("mousedown",i("touchstart"),!0),window.addEventListener("mousemove",i("touchmove"),!0),window.addEventListener("mouseup",i("touchend"),!0)}}();var J_=function(){return J_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},J_.apply(this,arguments)},K_=function(e,t){return K_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},K_(e,t)};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function Q_(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}K_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var eT=function(){return eT=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},eT.apply(this,arguments)};function tT(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function nT(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function rT(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;for(var o,i,s=0|t,a=Math.max(s>=0?s:r-Math.abs(s),0);a<r;){if((o=n[a])===(i=e)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;a++}return!1}}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o<n;){var i=t[o];if(e.call(r,i,o,t))return i;o++}}});var oT=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.some((function(t){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()===t}))},iT=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},sT=function(e){return[].filter.call(e,(function(e){return"\n"!==e})).join("")},aT=function(e){return"string"==typeof e&&("transparent"!==(e=e.toLocaleLowerCase().trim())&&(!/^rgba/.test(e)||0!==(null===(t=/([^\s,]+)\)$/.exec(e))?0:"object"==typeof t?NaN:"number"==typeof t?t:"string"==typeof t?"%"===t[t.length-1]?Number(t.slice(0,-1))/100:Number(t):NaN)));var t},lT=function(e,t){var n,r=(null===(n=e.padding)||void 0===n?void 0:n.split(" ").map((function(e){return t(e)})))||[0],o=0,i=0,s=0,a=0;switch(r.length){case 1:o=i=s=a=r[0];break;case 2:o=i=r[0],s=a=r[1];break;case 3:o=r[0],s=a=r[1],i=r[2];break;default:o=r[0],i=r[1],s=r[2],a=r[3]}var l={paddingTop:o,paddingBottom:i,paddingLeft:s,paddingRight:a};for(var c in l)l[c]=iT(e,c)&&oT(e[c],"string","number")?t(e[c]):l[c];return[o,i,s,a]},cT=function(e){var t=[],n=e.map((function(e){return Number(e)})).reduce((function(e,n){if(n>0){var r=e+n;return t.push(r),r}return t.push(NaN),e}),0),r=Math.random()*n;return t.findIndex((function(e){return r<=e}))},uT=function(e,t,n,r){void 0===r&&(r=1/0),r<=0&&(r=1/0);for(var o="",i=[],s=e.measureText("...").width,a=0;a<t.length;a++){o+=t[a];var l=e.measureText(o).width,c=n(i);if(r===i.length+1&&(l+=s),c<0)return i;if(l>c&&(i.push(o.slice(0,-1)),o=t[a]),r===i.length)return i[i.length-1]+="...",i}return o&&i.push(o),i.length||i.push(t),i},dT=function(){function e(){this.subs=[]}return e.prototype.addSub=function(e){this.subs.includes(e)||this.subs.push(e)},e.prototype.notify=function(){this.subs.forEach((function(e){e.update()}))},e}(),fT="__proto__"in{};function hT(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var pT=Array.prototype,mT=Object.create(pT);["push","pop","shift","unshift","sort","splice","reverse"].forEach((function(e){mT[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=pT[e].apply(this,t),o=this.__luckyOb__;return["push","unshift","splice"].includes(e)&&o.walk(this),o.dep.notify(),r}}));var vT=function(){function e(e){this.dep=new dT,hT(e,"__luckyOb__",this),Array.isArray(e)&&(fT?e.__proto__=mT:Object.getOwnPropertyNames(mT).forEach((function(t){hT(e,t,mT[t])}))),this.walk(e)}return e.prototype.walk=function(e){Object.keys(e).forEach((function(t){bT(e,t,e[t])}))},e}();function gT(e){if(e&&"object"==typeof e)return"__luckyOb__"in e?e.__luckyOb__:new vT(e)}function bT(e,t,n){var r=new dT,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,s=o&&o.set;i&&!s||2!==arguments.length||(n=e[t]);var a=gT(n);Object.defineProperty(e,t,{get:function(){var t=i?i.call(e):n;return dT.target&&(r.addSub(dT.target),a&&a.dep.addSub(dT.target)),t},set:function(t){t!==n&&(n=t,i&&!s||(s?s.call(e,t):n=t,a=gT(t),r.notify()))}})}}var yT=0,wT=function(){function e(e,t,n,r){void 0===r&&(r={}),this.id=yT++,this.$lucky=e,this.expr=t,this.deep=!!r.deep,this.getter="function"==typeof t?t:function(e){e+=".";for(var t=[],n="",r=0;r<e.length;r++){var o=e[r];if(/\[|\./.test(o))t.push(n),n="";else{if(/\W/.test(o))continue;n+=o}}return function(e){return t.reduce((function(e,t){return e[t]}),e)}}(t),this.cb=n,this.value=this.get()}return e.prototype.get=function(){dT.target=this;var e=this.getter.call(this.$lucky,this.$lucky);return this.deep&&function(e){var t=function(e){oT(e,"array","object")&&Object.keys(e).forEach((function(n){var r=e[n];t(r)}))};t(e)}(e),dT.target=null,e},e.prototype.update=function(){var e=this.get(),t=this.value;this.value=e,this.cb.call(this.$lucky,e,t)},e}(),xT=function(){function e(e,t){var n=this;this.version="1.7.21",this.htmlFontSize=16,this.rAF=function(){},this.boxWidth=0,this.boxHeight=0,"string"==typeof e?e={el:e}:1===e.nodeType&&(e={el:"",divElement:e}),this.config=e,this.data=t,e.flag||(e.flag="WEB"),e.el&&(e.divElement=document.querySelector(e.el)),e.divElement&&(e.canvasElement=document.createElement("canvas"),e.divElement.appendChild(e.canvasElement)),e.canvasElement&&(e.ctx=e.canvasElement.getContext("2d"),e.canvasElement.setAttribute("package","lucky-canvas@1.7.21"),e.canvasElement.addEventListener("click",(function(e){return n.handleClick(e)}))),this.ctx=e.ctx,this.initWindowFunction(),this.config.ctx,window&&"function"==typeof window.addEventListener&&window.addEventListener("resize",function(e,t){void 0===t&&(t=300);var n=null;return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n||(n=setTimeout((function(){e.apply(r,o),clearTimeout(n),n=null}),t))}}((function(){return n.resize()}),300)),window&&"function"==typeof window.MutationObserver&&new window.MutationObserver((function(){n.resize()})).observe(document.documentElement,{attributes:!0})}return e.prototype.resize=function(){var e,t;null===(t=(e=this.config).beforeResize)||void 0===t||t.call(e),this.setHTMLFontSize(),this.setDpr(),this.resetWidthAndHeight(),this.zoomCanvas()},e.prototype.initLucky=function(){this.resize(),this.boxWidth&&this.boxHeight},e.prototype.handleClick=function(e){},e.prototype.setHTMLFontSize=function(){window&&(this.htmlFontSize=+window.getComputedStyle(document.documentElement).fontSize.slice(0,-2))},e.prototype.clearCanvas=function(){var e=[this.boxWidth,this.boxHeight],t=e[0],n=e[1];this.ctx.clearRect(-t,-n,2*t,2*n)},e.prototype.setDpr=function(){var e=this.config;e.dpr||(window?window.dpr=e.dpr=window.devicePixelRatio||1:e.dpr)},e.prototype.resetWidthAndHeight=function(){var e=this.config,t=this.data,n=0,r=0;e.divElement&&(n=e.divElement.offsetWidth,r=e.divElement.offsetHeight),this.boxWidth=this.getLength(t.width||e.width)||n,this.boxHeight=this.getLength(t.height||e.height)||r,e.divElement&&(e.divElement.style.overflow="hidden",e.divElement.style.width=this.boxWidth+"px",e.divElement.style.height=this.boxHeight+"px")},e.prototype.zoomCanvas=function(){var e=this.config,t=this.ctx,n=e.canvasElement,r=e.dpr,o=[this.boxWidth*r,this.boxHeight*r],i=o[0],s=o[1];n&&(n.width=i,n.height=s,n.style.width=i+"px",n.style.height=s+"px",n.style["transform-origin"]="left top",n.style.transform="scale("+1/r+")",t.scale(r,r))},e.prototype.initWindowFunction=function(){var e=this.config;if(window)return this.rAF=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},e.setTimeout=window.setTimeout,e.setInterval=window.setInterval,e.clearTimeout=window.clearTimeout,void(e.clearInterval=window.clearInterval);if(e.rAF)this.rAF=e.rAF;else if(e.setTimeout){var t=e.setTimeout;this.rAF=function(e){return t(e,16.7)}}else this.rAF=function(e){return setTimeout(e,16.7)}},e.prototype.loadImg=function(e,t,n){var r=this;return void 0===n&&(n="$resolve"),new Promise((function(o,i){if(e||i("=> '"+t.src+"' 不能为空或不合法"),"WEB"!==r.config.flag)return t[n]=o,void(t.$reject=i);var s=new Image;s.onload=function(){return o(s)},s.onerror=function(){return i("=> '"+t.src+"' 图片加载失败")},s.src=e}))},e.prototype.drawImage=function(e,t){for(var n,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=this.config,s=i.flag,a=i.dpr;if(["WEB","MP-WX"].includes(s))n=t;else{if(!["UNI-H5","UNI-MP","TARO-H5","TARO-MP"].includes(s))return;n=t.path}if(!n.canvas)return 8===r.length&&(r=r.map((function(e,t){return t<4?e*a:e}))),e.drawImage.apply(e,rT([n],r));var l=n.canvas.getContext("2d");r=r.map((function(e){return e*a}));var c=l.getImageData.apply(l,r.slice(0,4));e.putImageData.apply(e,rT([c],r.slice(4,6)))},e.prototype.computedWidthAndHeight=function(e,t,n,r){if(!t.width&&!t.height)return[e.width,e.height];if(t.width&&!t.height){var o=this.getLength(t.width,n);return[o,e.height*(o/e.width)]}if(!t.width&&t.height){var i=this.getLength(t.height,r);return[e.width*(i/e.height),i]}return[this.getLength(t.width,n),this.getLength(t.height,r)]},e.prototype.changeUnits=function(e,t){var n=this;void 0===t&&(t=1);var r=this.config;return Number(e.replace(/^([-]*[0-9.]*)([a-z%]*)$/,(function(e,o,i){var s={"%":function(e){return e*(t/100)},px:function(e){return 1*e},rem:function(e){return e*n.htmlFontSize},vw:function(e){return e/100*window.innerWidth}}[i];if(s)return s(o);var a=r.handleCssUnit||r.unitFunc;return a?a(o,i):o})))},e.prototype.getLength=function(e,t){return oT(e,"number")?e:oT(e,"string")?this.changeUnits(e,t):0},e.prototype.getOffsetX=function(e,t){return void 0===t&&(t=0),(t-e)/2},e.prototype.getOffscreenCanvas=function(e,t){if(iT(this,"_offscreenCanvas")||(window&&window.document&&"WEB"===this.config.flag?this._offscreenCanvas=document.createElement("canvas"):this._offscreenCanvas=this.config.offscreenCanvas,this._offscreenCanvas)){var n=this.config.dpr,r=this._offscreenCanvas;r.width=(e||300)*n,r.height=(t||150)*n;var o=r.getContext("2d");return o.clearRect(0,0,e,t),o.scale(n,n),o.dpr=n,{_offscreenCanvas:r,_ctx:o}}},e.prototype.$set=function(e,t,n){e&&"object"==typeof e&&bT(e,t,n)},e.prototype.$computed=function(e,t,n){var r=this;Object.defineProperty(e,t,{get:function(){return n.call(r)}})},e.prototype.$watch=function(e,t,n){void 0===n&&(n={}),"object"==typeof t&&(t=(n=t).handler);var r=new wT(this,e,t,n);return n.immediate&&t.call(this,r.value),function(){}},e.version="1.7.21",e}(),ST=function(e){return Math.PI/180*e},ET=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0],o=t[1],i=t[2],s=t[3],a=t[4],l=Math.min(i,s),c=Math.PI;a>l/2&&(a=l/2),e.beginPath(),e.moveTo(r+a,o),e.lineTo(r+a,o),e.lineTo(r+i-a,o),e.arc(r+i-a,o+a,a,-c/2,0),e.lineTo(r+i,o+s-a),e.arc(r+i-a,o+s-a,a,0,c/2),e.lineTo(r+a,o+s),e.arc(r+a,o+s-a,a,c/2,c),e.lineTo(r,o+a),e.arc(r+a,o+a,a,c,-c/2),e.closePath()},CT=function(e,t,n,r){return e>=r&&(e=r),n*(e/=r)*e+t},kT=function(e,t,n,r){return e>=r&&(e=r),-n*(e/=r)*(e-2)+t},_T=function(e){function t(t,n){var r,o=e.call(this,t,{width:n.width,height:n.height})||this;return o.blocks=[],o.prizes=[],o.buttons=[],o.defaultConfig={},o.defaultStyle={},o._defaultConfig={},o._defaultStyle={},o.Radius=0,o.prizeRadius=0,o.prizeDeg=0,o.prizeAng=0,o.rotateDeg=0,o.maxBtnRadius=0,o.startTime=0,o.endTime=0,o.stopDeg=0,o.endDeg=0,o.FPS=16.6,o.step=0,o.ImageCache=new Map,o.initData(n),o.initWatch(),o.initComputed(),null===(r=t.beforeCreate)||void 0===r||r.call(o),o.init(),o}return Q_(t,e),t.prototype.resize=function(){var t,n;e.prototype.resize.call(this),this.Radius=Math.min(this.boxWidth,this.boxHeight)/2,this.ctx.translate(this.Radius,this.Radius),this.draw(),null===(n=(t=this.config).afterResize)||void 0===n||n.call(t)},t.prototype.initLucky=function(){this.Radius=0,this.prizeRadius=0,this.prizeDeg=0,this.prizeAng=0,this.rotateDeg=0,this.maxBtnRadius=0,this.startTime=0,this.endTime=0,this.stopDeg=0,this.endDeg=0,this.FPS=16.6,this.prizeFlag=-1,this.step=0,e.prototype.initLucky.call(this)},t.prototype.initData=function(e){this.$set(this,"width",e.width||"300px"),this.$set(this,"height",e.height||"300px"),this.$set(this,"blocks",e.blocks||[]),this.$set(this,"prizes",e.prizes||[]),this.$set(this,"buttons",e.buttons||[]),this.$set(this,"defaultConfig",e.defaultConfig||{}),this.$set(this,"defaultStyle",e.defaultStyle||{}),this.$set(this,"startCallback",e.start),this.$set(this,"endCallback",e.end)},t.prototype.initComputed=function(){var e=this;this.$computed(this,"_defaultConfig",(function(){return eT({gutter:"0px",offsetDegree:0,speed:20,speedFunction:"quad",accelerationTime:2500,decelerationTime:2500,stopRange:0},e.defaultConfig)})),this.$computed(this,"_defaultStyle",(function(){return eT({fontSize:"18px",fontColor:"#000",fontStyle:"sans-serif",fontWeight:"400",background:"rgba(0,0,0,0)",wordWrap:!0,lengthLimit:"90%"},e.defaultStyle)}))},t.prototype.initWatch=function(){var e=this;this.$watch("width",(function(t){e.data.width=t,e.resize()})),this.$watch("height",(function(t){e.data.height=t,e.resize()})),this.$watch("blocks",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("prizes",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("buttons",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("defaultConfig",(function(){return e.draw()}),{deep:!0}),this.$watch("defaultStyle",(function(){return e.draw()}),{deep:!0}),this.$watch("startCallback",(function(){return e.init()})),this.$watch("endCallback",(function(){return e.init()}))},t.prototype.init=function(){var e,t;return tT(this,void 0,void 0,(function(){var n;return nT(this,(function(r){switch(r.label){case 0:return this.initLucky(),n=this.config,null===(e=n.beforeInit)||void 0===e||e.call(this),this.draw(),this.draw(),[4,this.initImageCache()];case 1:return r.sent(),null===(t=n.afterInit)||void 0===t||t.call(this),[2]}}))}))},t.prototype.initImageCache=function(){var e=this;return new Promise((function(t){var n={blocks:e.blocks.map((function(e){return e.imgs})),prizes:e.prizes.map((function(e){return e.imgs})),buttons:e.buttons.map((function(e){return e.imgs}))};Object.keys(n).forEach((function(r){var o=n[r],i=[];o&&o.forEach((function(t,n){t&&t.forEach((function(t,o){i.push(e.loadAndCacheImg(r,n,o))}))})),Promise.all(i).then((function(){e.draw(),t()}))}))}))},t.prototype.handleClick=function(e){var t,n=this.ctx;n.beginPath(),n.arc(0,0,this.maxBtnRadius,0,2*Math.PI,!1),n.isPointInPath(e.offsetX,e.offsetY)&&0===this.step&&(null===(t=this.startCallback)||void 0===t||t.call(this,e))},t.prototype.loadAndCacheImg=function(e,t,n){return tT(this,void 0,void 0,(function(){var r=this;return nT(this,(function(o){return[2,new Promise((function(o,i){var s=r[e][t];if(s&&s.imgs){var a=s.imgs[n];a&&r.loadImg(a.src,a).then((function(e){return tT(r,void 0,void 0,(function(){return nT(this,(function(t){switch(t.label){case 0:return"function"!=typeof a.formatter?[3,2]:[4,Promise.resolve(a.formatter.call(this,e))];case 1:e=t.sent(),t.label=2;case 2:return this.ImageCache.set(a.src,e),o(),[2]}}))}))})).catch((function(e){i()}))}}))]}))}))},t.prototype.drawBlock=function(e,t,n){var r=this,o=this.ctx;aT(t.background)&&(o.beginPath(),o.fillStyle=t.background,o.arc(0,0,e,0,2*Math.PI,!1),o.fill()),t.imgs&&t.imgs.forEach((function(t,n){var i=r.ImageCache.get(t.src);if(i){var s=r.computedWidthAndHeight(i,t,2*e,2*e),a=s[0],l=s[1],c=[r.getOffsetX(a)+r.getLength(t.left,2*e),r.getLength(t.top,2*e)-e],u=c[0],d=c[1];o.save(),t.rotate&&o.rotate(ST(r.rotateDeg)),r.drawImage(o,i,u,d,a,l),o.restore()}}))},t.prototype.draw=function(){var e,t,n=this,r=this,o=r.config,i=r.ctx,s=r._defaultConfig,a=r._defaultStyle;null===(e=o.beforeDraw)||void 0===e||e.call(this,i),i.clearRect(-this.Radius,-this.Radius,2*this.Radius,2*this.Radius),this.prizeRadius=this.blocks.reduce((function(e,t,r){return n.drawBlock(e,t,r),e-n.getLength(t.padding&&t.padding.split(" ")[0])}),this.Radius),this.prizeDeg=360/this.prizes.length,this.prizeAng=ST(this.prizeDeg);var l=this.prizeRadius*Math.sin(this.prizeAng/2)*2,c=ST(this.rotateDeg-90+this.prizeDeg/2+s.offsetDegree),u=function(e,t){return n.getOffsetX(i.measureText(t).width)+n.getLength(e.left,l)},d=function(e,t,r){var o=e.lineHeight||a.lineHeight||e.fontSize||a.fontSize;return n.getLength(e.top,t)+(r+1)*n.getLength(o)};i.save(),this.prizes.forEach((function(e,t){var r=c+t*n.prizeAng,o=n.prizeRadius-n.maxBtnRadius,f=e.background||a.background;aT(f)&&(i.fillStyle=f,function(e,t,n,r,o,i){e.beginPath();var s,a,l=ST(90/Math.PI/n*i),c=r+l,u=o-l;e.arc(0,0,n,c,u,!1),e.lineTo.apply(e,(s=(r+o)/2,a=i/2/Math.abs(Math.sin((r-o)/2)),[+(Math.cos(s)*a).toFixed(8),+(Math.sin(s)*a).toFixed(8)])),e.closePath()}(i,n.maxBtnRadius,n.prizeRadius,r-n.prizeAng/2,r+n.prizeAng/2,n.getLength(s.gutter)),i.fill());var h=Math.cos(r)*n.prizeRadius,p=Math.sin(r)*n.prizeRadius;i.translate(h,p),i.rotate(r+ST(90)),e.imgs&&e.imgs.forEach((function(e,t){var r=n.ImageCache.get(e.src);if(r){var s=n.computedWidthAndHeight(r,e,n.prizeAng*n.prizeRadius,o),a=s[0],c=s[1],u=[n.getOffsetX(a)+n.getLength(e.left,l),n.getLength(e.top,o)],d=u[0],f=u[1];n.drawImage(i,r,d,f,a,c)}})),e.fonts&&e.fonts.forEach((function(e){var t=e.fontColor||a.fontColor,r=e.fontWeight||a.fontWeight,l=n.getLength(e.fontSize||a.fontSize),c=e.fontStyle||a.fontStyle,f=iT(e,"wordWrap")?e.wordWrap:a.wordWrap,h=e.lengthLimit||a.lengthLimit,p=e.lineClamp||a.lineClamp;i.fillStyle=t,i.font=r+" "+(l>>0)+"px "+c;var m=String(e.text);(f?uT(i,sT(m),(function(t){var r=(n.prizeRadius-d(e,o,t.length))*Math.tan(n.prizeAng/2)*2-n.getLength(s.gutter);return n.getLength(h,r)}),p):m.split("\n")).filter((function(e){return!!e})).forEach((function(t,n){i.fillText(t,u(e,t),d(e,o,n))}))})),i.rotate(ST(360)-r-ST(90)),i.translate(-h,-p)})),i.restore(),this.buttons.forEach((function(e,t){var r=n.getLength(e.radius,n.prizeRadius);n.maxBtnRadius=Math.max(n.maxBtnRadius,r),aT(e.background)&&(i.beginPath(),i.fillStyle=e.background,i.arc(0,0,r,0,2*Math.PI,!1),i.fill()),e.pointer&&aT(e.background)&&(i.beginPath(),i.fillStyle=e.background,i.moveTo(-r,0),i.lineTo(r,0),i.lineTo(0,2*-r),i.closePath(),i.fill()),e.imgs&&e.imgs.forEach((function(e,t){var o=n.ImageCache.get(e.src);if(o){var s=n.computedWidthAndHeight(o,e,2*r,2*r),a=s[0],l=s[1],c=[n.getOffsetX(a)+n.getLength(e.left,r),n.getLength(e.top,r)],u=c[0],d=c[1];n.drawImage(i,o,u,d,a,l)}})),e.fonts&&e.fonts.forEach((function(e){var t=e.fontColor||a.fontColor,o=e.fontWeight||a.fontWeight,s=n.getLength(e.fontSize||a.fontSize),l=e.fontStyle||a.fontStyle;i.fillStyle=t,i.font=o+" "+(s>>0)+"px "+l,String(e.text).split("\n").forEach((function(t,n){i.fillText(t,u(e,t),d(e,r,n))}))}))})),null===(t=o.afterDraw)||void 0===t||t.call(this,i)},t.prototype.carveOnGunwaleOfAMovingBoat=function(){var e=this,t=e._defaultConfig,n=e.prizeFlag,r=e.prizeDeg,o=e.rotateDeg;this.endTime=Date.now();for(var i=this.stopDeg=o,s=t.speed,a=(Math.random()*r-r/2)*this.getLength(t.stopRange),l=0,c=0,u=0;++l;){var d=360*l-n*r-o-t.offsetDegree+a-r/2,f=kT(this.FPS,i,d,t.decelerationTime)-i;if(f>s){this.endDeg=s-c>f-s?d:u;break}u=d,c=f}},t.prototype.play=function(){var e,t;0===this.step&&(this.startTime=Date.now(),this.prizeFlag=void 0,this.step=1,null===(t=(e=this.config).afterStart)||void 0===t||t.call(e),this.run())},t.prototype.stop=function(e){if(0!==this.step&&3!==this.step){if(!e&&0!==e){var t=this.prizes.map((function(e){return e.range}));e=cT(t)}e<0?(this.step=0,this.prizeFlag=-1):(this.step=2,this.prizeFlag=e%this.prizes.length)}},t.prototype.run=function(e){var t;void 0===e&&(e=0);var n=this,r=n.rAF,o=n.step,i=n.prizeFlag,s=n._defaultConfig,a=s.accelerationTime,l=s.decelerationTime,c=s.speed;if(0!==o){if(-1!==i){3!==o||this.endDeg||this.carveOnGunwaleOfAMovingBoat();var u=Date.now()-this.startTime,d=Date.now()-this.endTime,f=this.rotateDeg;if(1===o||u<a){this.FPS=u/e;var h=CT(u,0,c,a);h===c&&(this.step=2),f+=h%360}else 2===o?(f+=c%360,void 0!==i&&i>=0&&(this.step=3,this.stopDeg=0,this.endDeg=0)):3===o?(f=kT(d,this.stopDeg,this.endDeg,l),d>=l&&(this.step=0)):this.stop(-1);this.rotateDeg=f,this.draw(),r(this.run.bind(this,e+1))}}else null===(t=this.endCallback)||void 0===t||t.call(this,this.prizes.find((function(e,t){return t===i}))||{})},t.prototype.conversionAxis=function(e,t){var n=this.config;return[e/n.dpr-this.Radius,t/n.dpr-this.Radius]},t}(xT),TT=function(e){function t(t,n){var r,o=e.call(this,t,{width:n.width,height:n.height})||this;return o.rows=3,o.cols=3,o.blocks=[],o.prizes=[],o.buttons=[],o.defaultConfig={},o.defaultStyle={},o.activeStyle={},o._defaultConfig={},o._defaultStyle={},o._activeStyle={},o.cellWidth=0,o.cellHeight=0,o.startTime=0,o.endTime=0,o.currIndex=0,o.stopIndex=0,o.endIndex=0,o.demo=!1,o.timer=0,o.FPS=16.6,o.step=0,o.prizeFlag=-1,o.cells=[],o.ImageCache=new Map,o.initData(n),o.initWatch(),o.initComputed(),null===(r=t.beforeCreate)||void 0===r||r.call(o),o.init(),o}return Q_(t,e),t.prototype.resize=function(){var t,n;e.prototype.resize.call(this),this.draw(),null===(n=(t=this.config).afterResize)||void 0===n||n.call(t)},t.prototype.initLucky=function(){this.cellWidth=0,this.cellHeight=0,this.startTime=0,this.endTime=0,this.currIndex=0,this.stopIndex=0,this.endIndex=0,this.demo=!1,this.timer=0,this.FPS=16.6,this.prizeFlag=-1,this.step=0,e.prototype.initLucky.call(this)},t.prototype.initData=function(e){this.$set(this,"width",e.width||"300px"),this.$set(this,"height",e.height||"300px"),this.$set(this,"rows",Number(e.rows)||3),this.$set(this,"cols",Number(e.cols)||3),this.$set(this,"blocks",e.blocks||[]),this.$set(this,"prizes",e.prizes||[]),this.$set(this,"buttons",e.buttons||[]),this.$set(this,"button",e.button),this.$set(this,"defaultConfig",e.defaultConfig||{}),this.$set(this,"defaultStyle",e.defaultStyle||{}),this.$set(this,"activeStyle",e.activeStyle||{}),this.$set(this,"startCallback",e.start),this.$set(this,"endCallback",e.end)},t.prototype.initComputed=function(){var e=this;this.$computed(this,"_defaultConfig",(function(){var t=eT({gutter:5,speed:20,accelerationTime:2500,decelerationTime:2500},e.defaultConfig);return t.gutter=e.getLength(t.gutter),t.speed=t.speed/40,t})),this.$computed(this,"_defaultStyle",(function(){return eT({borderRadius:20,fontColor:"#000",fontSize:"18px",fontStyle:"sans-serif",fontWeight:"400",background:"rgba(0,0,0,0)",shadow:"",wordWrap:!0,lengthLimit:"90%"},e.defaultStyle)})),this.$computed(this,"_activeStyle",(function(){return eT({background:"#ffce98",shadow:""},e.activeStyle)}))},t.prototype.initWatch=function(){var e=this;this.$watch("width",(function(t){e.data.width=t,e.resize()})),this.$watch("height",(function(t){e.data.height=t,e.resize()})),this.$watch("blocks",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("prizes",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("buttons",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("rows",(function(){return e.init()})),this.$watch("cols",(function(){return e.init()})),this.$watch("defaultConfig",(function(){return e.draw()}),{deep:!0}),this.$watch("defaultStyle",(function(){return e.draw()}),{deep:!0}),this.$watch("activeStyle",(function(){return e.draw()}),{deep:!0}),this.$watch("startCallback",(function(){return e.init()})),this.$watch("endCallback",(function(){return e.init()}))},t.prototype.init=function(){var e,t;return tT(this,void 0,void 0,(function(){var n;return nT(this,(function(r){switch(r.label){case 0:return this.initLucky(),n=this.config,null===(e=n.beforeInit)||void 0===e||e.call(this),this.draw(),[4,this.initImageCache()];case 1:return r.sent(),null===(t=n.afterInit)||void 0===t||t.call(this),[2]}}))}))},t.prototype.initImageCache=function(){var e=this;return new Promise((function(t){var n=e.buttons.map((function(e){return e.imgs}));e.button&&n.push(e.button.imgs);var r={blocks:e.blocks.map((function(e){return e.imgs})),prizes:e.prizes.map((function(e){return e.imgs})),buttons:n};Object.keys(r).forEach((function(n){var o=r[n],i=[];o&&o.forEach((function(t,r){t&&t.forEach((function(t,o){i.push(e.loadAndCacheImg(n,r,o))}))})),Promise.all(i).then((function(){e.draw(),t()}))}))}))},t.prototype.handleClick=function(e){var t=this,n=this.ctx;rT(rT([],this.buttons),[this.button]).forEach((function(r){var o;if(r){var i=t.getGeometricProperty([r.x,r.y,r.col||1,r.row||1]),s=i[0],a=i[1],l=i[2],c=i[3];n.beginPath(),n.rect(s,a,l,c),n.isPointInPath(e.offsetX,e.offsetY)&&0===t.step&&("function"==typeof r.callback&&r.callback.call(t,r),null===(o=t.startCallback)||void 0===o||o.call(t,e,r))}}))},t.prototype.loadAndCacheImg=function(e,t,n){return tT(this,void 0,void 0,(function(){var r=this;return nT(this,(function(o){return[2,new Promise((function(o,i){var s=r[e][t];if("buttons"===e&&!r.buttons.length&&r.button&&(s=r.button),s&&s.imgs){var a=s.imgs[n];if(a){var l=[r.loadImg(a.src,a),a.activeSrc&&r.loadImg(a.activeSrc,a,"$activeResolve")];Promise.all(l).then((function(e){var t=e[0],n=e[1];return tT(r,void 0,void 0,(function(){var e;return nT(this,(function(r){switch(r.label){case 0:return"function"!=typeof(e=a.formatter)?[3,3]:[4,Promise.resolve(e.call(this,t))];case 1:return t=r.sent(),n?[4,Promise.resolve(e.call(this,n))]:[3,3];case 2:n=r.sent(),r.label=3;case 3:return this.ImageCache.set(a.src,t),n&&this.ImageCache.set(a.activeSrc,n),o(),[2]}}))}))})).catch((function(e){i()}))}}}))]}))}))},t.prototype.draw=function(){var e,t,n=this,r=this,o=r.config,i=r.ctx,s=r._defaultConfig,a=r._defaultStyle,l=r._activeStyle;null===(e=o.beforeDraw)||void 0===e||e.call(this,i),i.clearRect(0,0,this.boxWidth,this.boxHeight),this.cells=rT(rT([],this.prizes),this.buttons),this.button&&this.cells.push(this.button),this.cells.forEach((function(e){e.col=e.col||1,e.row=e.row||1})),this.prizeArea=this.blocks.reduce((function(e,t,r){var o=e.x,s=e.y,a=e.w,l=e.h,c=lT(t,n.getLength.bind(n)),u=c[0],d=c[1],f=c[2],h=c[3],p=t.borderRadius?n.getLength(t.borderRadius):0,m=t.background;return aT(m)&&(i.fillStyle=n.handleBackground(o,s,a,l,m),ET(i,o,s,a,l,p),i.fill()),t.imgs&&t.imgs.forEach((function(e,t){var r=n.ImageCache.get(e.src);if(r){var c=n.computedWidthAndHeight(r,e,a,l),u=c[0],d=c[1],f=[n.getOffsetX(u,a)+n.getLength(e.left,a),n.getLength(e.top,l)],h=f[0],p=f[1];n.drawImage(i,r,o+h,s+p,u,d)}})),{x:o+f,y:s+u,w:a-f-h,h:l-u-d}}),{x:0,y:0,w:this.boxWidth,h:this.boxHeight}),this.cellWidth=(this.prizeArea.w-s.gutter*(this.cols-1))/this.cols,this.cellHeight=(this.prizeArea.h-s.gutter*(this.rows-1))/this.rows,this.cells.forEach((function(e,t){var r=n.getGeometricProperty([e.x,e.y,e.col,e.row]),s=r[0],c=r[1],u=r[2],d=r[3],f=!1;(void 0===n.prizeFlag||n.prizeFlag>-1)&&(f=t===n.currIndex%n.prizes.length>>0);var h=f?l.background:e.background||a.background;if(aT(h)){var p=(f?l.shadow:e.shadow||a.shadow).replace(/px/g,"").split(",")[0].split(" ").map((function(e,t){return t<3?Number(e):e}));4===p.length&&(i.shadowColor=p[3],i.shadowOffsetX=p[0]*o.dpr,i.shadowOffsetY=p[1]*o.dpr,i.shadowBlur=p[2],p[0]>0?u-=p[0]:(u+=p[0],s-=p[0]),p[1]>0?d-=p[1]:(d+=p[1],c-=p[1])),i.fillStyle=n.handleBackground(s,c,u,d,h);var m=n.getLength(e.borderRadius?e.borderRadius:a.borderRadius);ET(i,s,c,u,d,m),i.fill(),i.shadowColor="rgba(0, 0, 0, 0)",i.shadowOffsetX=0,i.shadowOffsetY=0,i.shadowBlur=0}t>=n.prizes.length&&(t-=n.prizes.length),e.imgs&&e.imgs.forEach((function(e,t){var r=n.ImageCache.get(e.src),o=n.ImageCache.get(e.activeSrc);if(r){var a=f&&o||r;if(a){var l=n.computedWidthAndHeight(a,e,u,d),h=l[0],p=l[1],m=[s+n.getOffsetX(h,u)+n.getLength(e.left,u),c+n.getLength(e.top,d)],v=m[0],g=m[1];n.drawImage(i,a,v,g,h,p)}}})),e.fonts&&e.fonts.forEach((function(e){var t=f&&l.fontStyle?l.fontStyle:e.fontStyle||a.fontStyle,r=f&&l.fontWeight?l.fontWeight:e.fontWeight||a.fontWeight,o=f&&l.fontSize?n.getLength(l.fontSize):n.getLength(e.fontSize||a.fontSize),h=f&&l.lineHeight?l.lineHeight:e.lineHeight||a.lineHeight||e.fontSize||a.fontSize,p=iT(e,"wordWrap")?e.wordWrap:a.wordWrap,m=e.lengthLimit||a.lengthLimit,v=e.lineClamp||a.lineClamp;i.font=r+" "+(o>>0)+"px "+t,i.fillStyle=f&&l.fontColor?l.fontColor:e.fontColor||a.fontColor;var g=[],b=String(e.text);if(p){var y=n.getLength(m,u);g=uT(i,sT(b),(function(){return y}),v)}else g=b.split("\n");g.forEach((function(t,r){i.fillText(t,s+n.getOffsetX(i.measureText(t).width,u)+n.getLength(e.left,u),c+n.getLength(e.top,d)+(r+1)*n.getLength(h))}))}))})),null===(t=o.afterDraw)||void 0===t||t.call(this,i)},t.prototype.handleBackground=function(e,t,n,r,o){var i=this.ctx;return o.includes("linear-gradient")&&(o=function(e,t,n,r,o,i){var s=/linear-gradient\((.+)\)/.exec(i)[1].split(",").map((function(e){return e.trim()})),a=s.shift(),l=[0,0,0,0];if(a.includes("deg")){var c=function(e){return Math.tan(e/180*Math.PI)};(a=a.slice(0,-3)%360)>=0&&a<45?l=[t,n+o,t+r,n+o-r*c(a-0)]:a>=45&&a<90?l=[t,n+o,t+r-o*c(a-45),n]:a>=90&&a<135?l=[t+r,n+o,t+r-o*c(a-90),n]:a>=135&&a<180?l=[t+r,n+o,t,n+r*c(a-135)]:a>=180&&a<225?l=[t+r,n,t,n+r*c(a-180)]:a>=225&&a<270?l=[t+r,n,t+o*c(a-225),n+o]:a>=270&&a<315?l=[t,n,t+o*c(a-270),n+o]:a>=315&&a<360&&(l=[t,n,t+r,n+o-r*c(a-315)])}else a.includes("top")?l=[t,n+o,t,n]:a.includes("bottom")?l=[t,n,t,n+o]:a.includes("left")?l=[t+r,n,t,n]:a.includes("right")&&(l=[t,n,t+r,n]);var u=e.createLinearGradient.apply(e,l.map((function(e){return e>>0})));return s.reduce((function(e,t,n){var r=t.split(" ");return 1===r.length?e.addColorStop(n,r[0]):2===r.length&&e.addColorStop.apply(e,r),e}),u)}(i,e,t,n,r,o)),o},t.prototype.carveOnGunwaleOfAMovingBoat=function(){var e=this,t=e._defaultConfig,n=e.prizeFlag,r=e.currIndex;this.endTime=Date.now();for(var o=this.stopIndex=r,i=t.speed,s=0,a=0,l=0;++s;){var c=this.prizes.length*s+n-o,u=kT(this.FPS,o,c,t.decelerationTime)-o;if(u>i){this.endIndex=i-a>u-i?c:l;break}l=c,a=u}},t.prototype.play=function(){var e,t;0===this.step&&(this.startTime=Date.now(),this.prizeFlag=void 0,this.step=1,null===(t=(e=this.config).afterStart)||void 0===t||t.call(e),this.run())},t.prototype.stop=function(e){if(0!==this.step&&3!==this.step){if(!e&&0!==e){var t=this.prizes.map((function(e){return e.range}));e=cT(t)}e<0?(this.step=0,this.prizeFlag=-1):(this.step=2,this.prizeFlag=e%this.prizes.length)}},t.prototype.run=function(e){var t;void 0===e&&(e=0);var n=this,r=n.rAF,o=n.step,i=n.prizes,s=n.prizeFlag,a=n._defaultConfig,l=a.accelerationTime,c=a.decelerationTime,u=a.speed;if(0!==o){if(-1!==s){3!==o||this.endIndex||this.carveOnGunwaleOfAMovingBoat();var d=Date.now()-this.startTime,f=Date.now()-this.endTime,h=this.currIndex;if(1===o||d<l){this.FPS=d/e;var p=CT(d,.1,u-.1,l);p===u&&(this.step=2),h+=p%i.length}else 2===o?(h+=u%i.length,void 0!==s&&s>=0&&(this.step=3,this.stopIndex=0,this.endIndex=0)):3===o?(h=kT(f,this.stopIndex,this.endIndex,c),f>=c&&(this.step=0)):this.stop(-1);this.currIndex=h,this.draw(),r(this.run.bind(this,e+1))}}else null===(t=this.endCallback)||void 0===t||t.call(this,this.prizes.find((function(e,t){return t===s}))||{})},t.prototype.getGeometricProperty=function(e){var t=e[0],n=e[1],r=e[2],o=void 0===r?1:r,i=e[3],s=void 0===i?1:i,a=this.cellWidth,l=this.cellHeight,c=this._defaultConfig.gutter,u=[this.prizeArea.x+(a+c)*t,this.prizeArea.y+(l+c)*n];return o&&s&&u.push(a*o+c*(o-1),l*s+c*(s-1)),u},t.prototype.conversionAxis=function(e,t){var n=this.config;return[e/n.dpr,t/n.dpr]},t}(xT),OT=function(e){function t(t,n){var r,o=e.call(this,t,{width:n.width,height:n.height})||this;return o.blocks=[],o.prizes=[],o.slots=[],o.defaultConfig={},o._defaultConfig={},o.defaultStyle={},o._defaultStyle={},o.endCallback=function(){},o.cellWidth=0,o.cellHeight=0,o.cellAndSpacing=0,o.widthAndSpacing=0,o.heightAndSpacing=0,o.FPS=16.6,o.scroll=[],o.stopScroll=[],o.endScroll=[],o.startTime=0,o.endTime=0,o.step=0,o.prizeFlag=void 0,o.ImageCache=new Map,o.initData(n),o.initWatch(),o.initComputed(),null===(r=t.beforeCreate)||void 0===r||r.call(o),o.init(),o}return Q_(t,e),t.prototype.resize=function(){var t,n;e.prototype.resize.call(this),this.draw(),null===(n=(t=this.config).afterResize)||void 0===n||n.call(t)},t.prototype.initLucky=function(){this.cellWidth=0,this.cellHeight=0,this.cellAndSpacing=0,this.widthAndSpacing=0,this.heightAndSpacing=0,this.FPS=16.6,this.scroll=[],this.stopScroll=[],this.endScroll=[],this.startTime=0,this.endTime=0,this.prizeFlag=void 0,this.step=0,e.prototype.initLucky.call(this)},t.prototype.initData=function(e){this.$set(this,"width",e.width||"300px"),this.$set(this,"height",e.height||"300px"),this.$set(this,"blocks",e.blocks||[]),this.$set(this,"prizes",e.prizes||[]),this.$set(this,"slots",e.slots||[]),this.$set(this,"defaultConfig",e.defaultConfig||{}),this.$set(this,"defaultStyle",e.defaultStyle||{}),this.$set(this,"endCallback",e.end)},t.prototype.initComputed=function(){var e=this;this.$computed(this,"_defaultConfig",(function(){var t=eT({mode:"vertical",rowSpacing:0,colSpacing:5,speed:20,direction:1,accelerationTime:2500,decelerationTime:2500},e.defaultConfig);return t.rowSpacing=e.getLength(t.rowSpacing),t.colSpacing=e.getLength(t.colSpacing),t})),this.$computed(this,"_defaultStyle",(function(){return eT({borderRadius:0,fontColor:"#000",fontSize:"18px",fontStyle:"sans-serif",fontWeight:"400",background:"rgba(0,0,0,0)",wordWrap:!0,lengthLimit:"90%"},e.defaultStyle)}))},t.prototype.initWatch=function(){var e=this;this.$watch("width",(function(t){e.data.width=t,e.resize()})),this.$watch("height",(function(t){e.data.height=t,e.resize()})),this.$watch("blocks",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("prizes",(function(t){e.initImageCache()}),{deep:!0}),this.$watch("slots",(function(t){e.drawOffscreenCanvas(),e.draw()}),{deep:!0}),this.$watch("defaultConfig",(function(){return e.draw()}),{deep:!0}),this.$watch("defaultStyle",(function(){return e.draw()}),{deep:!0}),this.$watch("endCallback",(function(){return e.init()}))},t.prototype.init=function(){var e,t;return tT(this,void 0,void 0,(function(){var n;return nT(this,(function(r){switch(r.label){case 0:return this.initLucky(),n=this.config,null===(e=n.beforeInit)||void 0===e||e.call(this),this.drawOffscreenCanvas(),this.draw(),[4,this.initImageCache()];case 1:return r.sent(),null===(t=n.afterInit)||void 0===t||t.call(this),[2]}}))}))},t.prototype.initImageCache=function(){var e=this;return new Promise((function(t){var n={blocks:e.blocks.map((function(e){return e.imgs})),prizes:e.prizes.map((function(e){return e.imgs}))};Object.keys(n).forEach((function(r){var o=n[r],i=[];o&&o.forEach((function(t,n){t&&t.forEach((function(t,o){i.push(e.loadAndCacheImg(r,n,o))}))})),Promise.all(i).then((function(){e.drawOffscreenCanvas(),e.draw(),t()}))}))}))},t.prototype.loadAndCacheImg=function(e,t,n){return tT(this,void 0,void 0,(function(){var r=this;return nT(this,(function(o){return[2,new Promise((function(o,i){var s=r[e][t];if(s&&s.imgs){var a=s.imgs[n];a&&r.loadImg(a.src,a).then((function(e){return tT(r,void 0,void 0,(function(){return nT(this,(function(t){switch(t.label){case 0:return"function"!=typeof a.formatter?[3,2]:[4,Promise.resolve(a.formatter.call(this,e))];case 1:e=t.sent(),t.label=2;case 2:return this.ImageCache.set(a.src,e),o(),[2]}}))}))})).catch((function(e){i()}))}}))]}))}))},t.prototype.drawOffscreenCanvas=function(){var e=this,t=this._defaultConfig,n=this._defaultStyle,r=this.drawBlocks(),o=r.w,i=r.h,s=this.prizes.length,a=this.displacementWidthOrHeight(),l=a.cellWidth,c=a.cellHeight,u=a.widthAndSpacing,d=a.heightAndSpacing,f=new Array(s).fill(void 0).map((function(e,t){return t})),h=0,p=0;this.slots.forEach((function(t,n){void 0===e.scroll[n]&&(e.scroll[n]=0),t.order=t.order||f;var r=t.order.length;h=Math.max(h,o+u*r),p=Math.max(p,i+d*r)}));var m=this.getOffscreenCanvas(h,p),v=m._offscreenCanvas,g=m._ctx;this._offscreenCanvas=v,this.slots.forEach((function(r,o){var i=l*o,s=c*o,a=0,f=function(e,t){for(var n={},r=[],o=0;o<e.length;o++)n[o]=e[o];for(o=0;o<t.length;o++){var i=n[t[o]];i&&(r[o]=i)}return r}(e.prizes,r.order);if(f.length){f.forEach((function(o,f){if(o){r.order[f];var h=u*f+t.colSpacing/2,p=d*f+t.rowSpacing/2,m=e.displacement([i,p,d],[h,s,u]),v=m[0],b=m[1],y=m[2];a+=y;var w=o.background||n.background;if(aT(w)){var x=e.getLength(iT(o,"borderRadius")?o.borderRadius:n.borderRadius);ET(g,v,b,l,l,x),g.fillStyle=w,g.fill()}o.imgs&&o.imgs.forEach((function(t,n){var r=e.ImageCache.get(t.src);if(r){var o=e.computedWidthAndHeight(r,t,l,c),i=o[0],s=o[1],a=[v+e.getOffsetX(i,l)+e.getLength(t.left,l),b+e.getLength(t.top,c)],u=a[0],d=a[1];e.drawImage(g,r,u,d,i,s)}})),o.fonts&&o.fonts.forEach((function(t){var r=t.fontStyle||n.fontStyle,o=t.fontWeight||n.fontWeight,i=e.getLength(t.fontSize||n.fontSize),s=t.lineHeight||n.lineHeight||t.fontSize||n.fontSize,a=iT(t,"wordWrap")?t.wordWrap:n.wordWrap,u=t.lengthLimit||n.lengthLimit,d=t.lineClamp||n.lineClamp;g.font=o+" "+(i>>0)+"px "+r,g.fillStyle=t.fontColor||n.fontColor;var f=[],h=String(t.text);if(a){var p=e.getLength(u,l);f=uT(g,sT(h),(function(){return p}),d)}else f=h.split("\n");f.forEach((function(n,r){g.fillText(n,v+e.getOffsetX(g.measureText(n).width,l)+e.getLength(t.left,l),b+e.getLength(t.top,c)+(r+1)*e.getLength(s))}))}))}}));for(var h=e.displacement([i,0,l,a],[0,s,a,c]),m=h[0],b=h[1],y=h[2],w=h[3],x=a;x<p+a;){var S=e.displacement([m,x],[x,b]),E=S[0],C=S[1];e.drawImage(g,v,m,b,y,w,E,C,y,w),x+=a}}}))},t.prototype.drawBlocks=function(){var e=this,t=this;t.config;var n=t.ctx;t._defaultConfig;var r=t._defaultStyle;return this.prizeArea=this.blocks.reduce((function(t,o,i){var s=t.x,a=t.y,l=t.w,c=t.h,u=lT(o,e.getLength.bind(e)),d=u[0],f=u[1],h=u[2],p=u[3],m=o.borderRadius?e.getLength(o.borderRadius):0,v=o.background||r.background;return aT(v)&&(ET(n,s,a,l,c,m),n.fillStyle=v,n.fill()),o.imgs&&o.imgs.forEach((function(t,r){var o=e.ImageCache.get(t.src);if(o){var i=e.computedWidthAndHeight(o,t,l,c),u=i[0],d=i[1],f=[e.getOffsetX(u,l)+e.getLength(t.left,l),e.getLength(t.top,c)],h=f[0],p=f[1];e.drawImage(n,o,s+h,a+p,u,d)}})),{x:s+h,y:a+d,w:l-h-p,h:c-d-f}}),{x:0,y:0,w:this.boxWidth,h:this.boxHeight})},t.prototype.draw=function(){var e,t=this,n=this,r=n.config,o=n.ctx;n._defaultConfig,n._defaultStyle,null===(e=r.beforeDraw)||void 0===e||e.call(this,o),o.clearRect(0,0,this.boxWidth,this.boxHeight);var i=this.drawBlocks(),s=i.x,a=i.y,l=i.w,c=i.h;if(this._offscreenCanvas){var u=this,d=u.cellWidth,f=u.cellHeight,h=u.cellAndSpacing,p=u.widthAndSpacing,m=u.heightAndSpacing;this.slots.forEach((function(e,n){var r=h*e.order.length,i=t.displacement(-(c-m)/2,-(l-p)/2),u=t.scroll[n]+i;u<0&&(u=u%r+r),u>r&&(u%=r);var v=t.displacement([d*n,u,d,c],[u,f*n,l,f]),g=v[0],b=v[1],y=v[2],w=v[3],x=t.displacement([s+p*n,a,d,c],[s,a+m*n,l,f]),S=x[0],E=x[1],C=x[2],k=x[3];t.drawImage(o,t._offscreenCanvas,g,b,y,w,S,E,C,k)}))}},t.prototype.carveOnGunwaleOfAMovingBoat=function(){var e=this,t=this,n=t._defaultConfig,r=t.prizeFlag,o=t.cellAndSpacing;this.endTime=Date.now(),this.slots.forEach((function(t,i){var s=t.order;if(s.length)for(var a=t.speed||n.speed,l=t.direction||n.direction,c=s.findIndex((function(e){return e===r[i]})),u=o*s.length,d=e.stopScroll[i]=e.scroll[i],f=0;++f;){var h=o*c+u*f*l-d,p=kT(e.FPS,d,h,n.decelerationTime)-d;if(Math.abs(p)>a){e.endScroll[i]=h;break}}}))},t.prototype.play=function(){var e,t;0===this.step&&(this.startTime=Date.now(),this.prizeFlag=void 0,this.step=1,null===(t=(e=this.config).afterStart)||void 0===t||t.call(e),this.run())},t.prototype.stop=function(e){var t;if(0!==this.step&&3!==this.step){if("number"==typeof e)this.prizeFlag=new Array(this.slots.length).fill(e);else{if(!oT(e,"array"))return void this.stop(-1);if(e.length!==this.slots.length)return void this.stop(-1);this.prizeFlag=e}(null===(t=this.prizeFlag)||void 0===t?void 0:t.includes(-1))?(this.prizeFlag=[],this.step=0):this.step=2}},t.prototype.run=function(e){var t,n,r=this;void 0===e&&(e=0);var o=this,i=o.rAF,s=o.step,a=o.prizeFlag,l=o._defaultConfig,c=o.cellAndSpacing,u=o.slots,d=l.accelerationTime,f=l.decelerationTime;if(0!==this.step||(null==a?void 0:a.length)!==u.length){if(void 0===a||a.length){3!==this.step||this.endScroll.length||this.carveOnGunwaleOfAMovingBoat();var h=Date.now()-this.startTime,p=Date.now()-this.endTime;u.forEach((function(t,n){var o=t.order;if(o&&o.length){var i=c*o.length,m=Math.abs(t.speed||l.speed),v=t.direction||l.direction,g=0,b=r.scroll[n];if(1===s||h<d){r.FPS=h/e;var y=CT(h,0,m,d);y===m&&(r.step=2),g=(b+y*v)%i}else if(2===s)g=(b+m*v)%i,(null==a?void 0:a.length)===u.length&&(r.step=3,r.stopScroll=[],r.endScroll=[]);else if(3===s&&p){var w=r.stopScroll[n],x=r.endScroll[n];g=kT(p,w,x,f),p>=f&&(r.step=0)}r.scroll[n]=g}})),this.draw(),i(this.run.bind(this,e+1))}}else{for(var m=a[0],v=0;v<u.length;v++){var g=u[v],b=a[v];if(!(null===(t=g.order)||void 0===t?void 0:t.includes(b))||m!==b){m=-1;break}}null===(n=this.endCallback)||void 0===n||n.call(this,this.prizes.find((function(e,t){return t===m}))||void 0)}},t.prototype.displacement=function(e,t){return"horizontal"===this._defaultConfig.mode?t:e},t.prototype.displacementWidthOrHeight=function(){var e=this._defaultConfig.mode,t=this.slots.length,n=this._defaultConfig,r=n.colSpacing,o=n.rowSpacing,i=this.prizeArea||this.drawBlocks();i.x,i.y;var s,a,l=i.w,c=i.h,u=0,d=0;return"horizontal"===e?(d=this.cellHeight=(c-o*(t-1))/t,u=this.cellWidth=d):(u=this.cellWidth=(l-r*(t-1))/t,d=this.cellHeight=u),s=this.widthAndSpacing=this.cellWidth+r,a=this.heightAndSpacing=this.cellHeight+o,this.cellAndSpacing="horizontal"===e?s:a,{cellWidth:u,cellHeight:d,widthAndSpacing:s,heightAndSpacing:a}},t}(xT),LT=function(e,t,n){void 0===t&&(t={});var r=t.props,o=t.domProps,i=t.on,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["props","domProps","on"]),a=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=t[0],o=t[1];return r="on"+(r=r.charAt(0).toUpperCase()+r.slice(1)),J_(J_({},e),((n={})[r]=o,n))}),{}):null}(i);return ts(e,J_(J_(J_(J_({},s),r),o),a),n)},AT="@lucky-canvas/vue",IT=cr({name:"LuckyWheel",props:{width:{type:[String,Number]},height:{type:[String,Number]},blocks:{type:Array,default:function(){return[]}},prizes:{type:Array,default:function(){return[]}},buttons:{type:Array,default:function(){return[]}},defaultStyle:{type:Object,default:function(){return{}}},defaultConfig:{type:Object,default:function(){return{}}}},emits:["start","end","success","error","finally"],watch:{blocks:function(e,t){this.lucky&&(this.lucky.blocks=e)},prizes:function(e,t){this.lucky&&(this.lucky.prizes=e)},buttons:function(e,t){this.lucky&&(this.lucky.buttons=e)}},data:function(){return{lucky:null}},mounted:function(){this.$refs.myLucky&&this.$refs.myLucky.setAttribute("package",AT+"@0.1.11");try{this.initLucky(),this.$emit("success")}catch(HC){this.$emit("error",HC)}finally{this.$emit("finally")}},methods:{initLucky:function(){var e=this;this.lucky=new _T({flag:"WEB",width:String(this.width),height:String(this.height),divElement:this.$refs.myLucky,rAF:window.requestAnimationFrame,setTimeout:window.setTimeout,setInterval:window.setInterval,clearTimeout:window.clearTimeout,clearInterval:window.clearInterval},J_(J_({},this.$props),{start:function(t){e.$emit("start",t)},end:function(t){e.$emit("end",t)}}))},init:function(){this.lucky&&this.lucky.init()},play:function(){var e;null===(e=this.lucky)||void 0===e||e.play()},stop:function(e){var t;null===(t=this.lucky)||void 0===t||t.stop(e)}},render:function(){return LT("div",{ref:"myLucky"})}}),PT=cr({name:"LuckyGrid",props:{width:{type:[String,Number]},height:{type:[String,Number]},cols:{type:[String,Number],default:3},rows:{type:[String,Number],default:3},blocks:{type:Array,default:function(){return[]}},prizes:{type:Array,default:function(){return[]}},buttons:{type:Array,default:function(){return[]}},button:{type:Object},defaultStyle:{type:Object,default:function(){return{}}},activeStyle:{type:Object,default:function(){return{}}},defaultConfig:{type:Object,default:function(){return{}}}},emits:["start","end","success","error","finally"],watch:{cols:function(e,t){this.lucky&&(this.lucky.cols=e)},rows:function(e,t){this.lucky&&(this.lucky.rows=e)},blocks:function(e,t){this.lucky&&(this.lucky.blocks=e)},prizes:function(e,t){this.lucky&&(this.lucky.prizes=e)},buttons:function(e,t){this.lucky&&(this.lucky.buttons=e)},button:function(e,t){this.lucky&&(this.lucky.button=e)}},data:function(){return{lucky:null}},mounted:function(){this.$refs.myLucky&&this.$refs.myLucky.setAttribute("package",AT+"@0.1.11");try{this.initLucky(),this.$emit("success")}catch(HC){this.$emit("error",HC)}finally{this.$emit("finally")}},methods:{initLucky:function(){var e=this;this.lucky=new TT({flag:"WEB",width:String(this.width),height:String(this.height),divElement:this.$refs.myLucky,rAF:window.requestAnimationFrame,setTimeout:window.setTimeout,setInterval:window.setInterval,clearTimeout:window.clearTimeout,clearInterval:window.clearInterval},J_(J_({},this.$props),{start:function(t,n){e.$emit("start",t,n)},end:function(t){e.$emit("end",t)}}))},init:function(){this.lucky&&this.lucky.init()},play:function(){var e;null===(e=this.lucky)||void 0===e||e.play()},stop:function(e){var t;null===(t=this.lucky)||void 0===t||t.stop(e)}},render:function(){return LT("div",{ref:"myLucky"})}}),MT=cr({name:"SlotMachine",props:{width:{type:[String,Number]},height:{type:[String,Number]},blocks:{type:Array,default:function(){return[]}},prizes:{type:Array,default:function(){return[]}},slots:{type:Array,default:function(){return[]}},defaultStyle:{type:Object,default:function(){return{}}},defaultConfig:{type:Object,default:function(){return{}}}},watch:{blocks:function(e,t){this.lucky&&(this.lucky.blocks=e)},slots:function(e,t){this.lucky&&(this.lucky.slots=e)},prizes:function(e,t){this.lucky&&(this.lucky.prizes=e)}},data:function(){return{lucky:null}},mounted:function(){this.$refs.myLucky&&this.$refs.myLucky.setAttribute("package",AT+"@0.1.11");try{this.initLucky(),this.$emit("success")}catch(HC){this.$emit("error",HC)}finally{this.$emit("finally")}},methods:{initLucky:function(){var e=this;this.lucky=new OT({flag:"WEB",width:String(this.width),height:String(this.height),divElement:this.$refs.myLucky,rAF:window.requestAnimationFrame,setTimeout:window.setTimeout,setInterval:window.setInterval,clearTimeout:window.clearTimeout,clearInterval:window.clearInterval},J_(J_({},this.$props),{start:function(t){e.$emit("start",t)},end:function(t){e.$emit("end",t)}}))},init:function(){this.lucky&&this.lucky.init()},play:function(){var e;null===(e=this.lucky)||void 0===e||e.play()},stop:function(e){var t;null===(t=this.lucky)||void 0===t||t.stop(e)}},render:function(){return LT("div",{ref:"myLucky"})}}),RT=function(e){e.component("LuckyWheel",IT),e.component("LuckyGrid",PT),e.component("SlotMachine",MT)};"undefined"!=typeof window&&window.Vue;var DT={install:RT},NT={},BT={},zT={};let FT;const jT=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];zT.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},zT.getSymbolTotalCodewords=function(e){return jT[e]},zT.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},zT.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');FT=e},zT.isKanjiModeEnabled=function(){return void 0!==FT},zT.toSJIS=function(e){return FT(e)};var WT,HT={};function VT(){this.buffer=[],this.length=0}(WT=HT).L={bit:1},WT.M={bit:0},WT.Q={bit:3},WT.H={bit:2},WT.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},WT.from=function(e,t){if(WT.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return WT.L;case"m":case"medium":return WT.M;case"q":case"quartile":return WT.Q;case"h":case"high":return WT.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(YC){return t}},VT.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var YT=VT;function UT(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}UT.prototype.set=function(e,t,n,r){const o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)},UT.prototype.get=function(e,t){return this.data[e*this.size+t]},UT.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},UT.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var XT=UT,$T={};!function(e){const t=zT.getSymbolSize;e.getRowColCoords=function(e){if(1===e)return[];const n=Math.floor(e/7)+2,r=t(e),o=145===r?26:2*Math.ceil((r-13)/(2*n-2)),i=[r-7];for(let t=1;t<n-1;t++)i[t]=i[t-1]-o;return i.push(6),i.reverse()},e.getPositions=function(t){const n=[],r=e.getRowColCoords(t),o=r.length;for(let e=0;e<o;e++)for(let t=0;t<o;t++)0===e&&0===t||0===e&&t===o-1||e===o-1&&0===t||n.push([r[e],r[t]]);return n}}($T);var GT={};const qT=zT.getSymbolSize;GT.getPositions=function(e){const t=qT(e);return[[0,0],[t-7,0],[0,t-7]]};var ZT={};!function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t=3,n=3,r=40,o=10;function i(t,n,r){switch(t){case e.Patterns.PATTERN000:return(n+r)%2==0;case e.Patterns.PATTERN001:return n%2==0;case e.Patterns.PATTERN010:return r%3==0;case e.Patterns.PATTERN011:return(n+r)%3==0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case e.Patterns.PATTERN101:return n*r%2+n*r%3==0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(e){const n=e.size;let r=0,o=0,i=0,s=null,a=null;for(let l=0;l<n;l++){o=i=0,s=a=null;for(let c=0;c<n;c++){let n=e.get(l,c);n===s?o++:(o>=5&&(r+=t+(o-5)),s=n,o=1),n=e.get(c,l),n===a?i++:(i>=5&&(r+=t+(i-5)),a=n,i=1)}o>=5&&(r+=t+(o-5)),i>=5&&(r+=t+(i-5))}return r},e.getPenaltyN2=function(e){const t=e.size;let r=0;for(let n=0;n<t-1;n++)for(let o=0;o<t-1;o++){const t=e.get(n,o)+e.get(n,o+1)+e.get(n+1,o)+e.get(n+1,o+1);4!==t&&0!==t||r++}return r*n},e.getPenaltyN3=function(e){const t=e.size;let n=0,o=0,i=0;for(let r=0;r<t;r++){o=i=0;for(let s=0;s<t;s++)o=o<<1&2047|e.get(r,s),s>=10&&(1488===o||93===o)&&n++,i=i<<1&2047|e.get(s,r),s>=10&&(1488===i||93===i)&&n++}return n*r},e.getPenaltyN4=function(e){let t=0;const n=e.data.length;for(let r=0;r<n;r++)t+=e.data[r];return Math.abs(Math.ceil(100*t/n/5)-10)*o},e.applyMask=function(e,t){const n=t.size;for(let r=0;r<n;r++)for(let o=0;o<n;o++)t.isReserved(o,r)||t.xor(o,r,i(e,o,r))},e.getBestMask=function(t,n){const r=Object.keys(e.Patterns).length;let o=0,i=1/0;for(let s=0;s<r;s++){n(s),e.applyMask(s,t);const r=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(s,t),r<i&&(i=r,o=s)}return o}}(ZT);var JT={};const KT=HT,QT=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],eO=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];JT.getBlocksCount=function(e,t){switch(t){case KT.L:return QT[4*(e-1)+0];case KT.M:return QT[4*(e-1)+1];case KT.Q:return QT[4*(e-1)+2];case KT.H:return QT[4*(e-1)+3];default:return}},JT.getTotalCodewordsCount=function(e,t){switch(t){case KT.L:return eO[4*(e-1)+0];case KT.M:return eO[4*(e-1)+1];case KT.Q:return eO[4*(e-1)+2];case KT.H:return eO[4*(e-1)+3];default:return}};var tO={},nO={};const rO=new Uint8Array(512),oO=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)rO[t]=e,oO[e]=t,e<<=1,256&e&&(e^=285);for(let t=255;t<512;t++)rO[t]=rO[t-255]}(),nO.log=function(e){if(e<1)throw new Error("log("+e+")");return oO[e]},nO.exp=function(e){return rO[e]},nO.mul=function(e,t){return 0===e||0===t?0:rO[oO[e]+oO[t]]},function(e){const t=nO;e.mul=function(e,n){const r=new Uint8Array(e.length+n.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<n.length;i++)r[o+i]^=t.mul(e[o],n[i]);return r},e.mod=function(e,n){let r=new Uint8Array(e);for(;r.length-n.length>=0;){const e=r[0];for(let i=0;i<n.length;i++)r[i]^=t.mul(n[i],e);let o=0;for(;o<r.length&&0===r[o];)o++;r=r.slice(o)}return r},e.generateECPolynomial=function(n){let r=new Uint8Array([1]);for(let o=0;o<n;o++)r=e.mul(r,new Uint8Array([1,t.exp(o)]));return r}}(tO);const iO=tO;function sO(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}sO.prototype.initialize=function(e){this.degree=e,this.genPoly=iO.generateECPolynomial(this.degree)},sO.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const n=iO.mod(t,this.genPoly),r=this.degree-n.length;if(r>0){const e=new Uint8Array(this.degree);return e.set(n,r),e}return n};var aO=sO,lO={},cO={},uO={isValid:function(e){return!isNaN(e)&&e>=1&&e<=40}},dO={};const fO="[0-9]+";let hO="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";hO=hO.replace(/u/g,"\\u");const pO="(?:(?![A-Z0-9 $%*+\\-./:]|"+hO+")(?:.|[\r\n]))+";dO.KANJI=new RegExp(hO,"g"),dO.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),dO.BYTE=new RegExp(pO,"g"),dO.NUMERIC=new RegExp(fO,"g"),dO.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const mO=new RegExp("^"+hO+"$"),vO=new RegExp("^"+fO+"$"),gO=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");dO.testKanji=function(e){return mO.test(e)},dO.testNumeric=function(e){return vO.test(e)},dO.testAlphanumeric=function(e){return gO.test(e)},function(e){const t=uO,n=dO;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,n){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!t.isValid(n))throw new Error("Invalid version: "+n);return n>=1&&n<10?e.ccBits[0]:n<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(t){return n.testNumeric(t)?e.NUMERIC:n.testAlphanumeric(t)?e.ALPHANUMERIC:n.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},e.isValid=function(e){return e&&e.bit&&e.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(YC){return n}}}(cO),function(e){const t=zT,n=JT,r=HT,o=cO,i=uO,s=t.getBCHDigit(7973);function a(e,t){return o.getCharCountIndicator(e,t)+4}function l(e,t){let n=0;return e.forEach((function(e){const r=a(e.mode,t);n+=r+e.getBitsLength()})),n}e.from=function(e,t){return i.isValid(e)?parseInt(e,10):t},e.getCapacity=function(e,r,s){if(!i.isValid(e))throw new Error("Invalid QR Code version");void 0===s&&(s=o.BYTE);const l=8*(t.getSymbolTotalCodewords(e)-n.getTotalCodewordsCount(e,r));if(s===o.MIXED)return l;const c=l-a(s,e);switch(s){case o.NUMERIC:return Math.floor(c/10*3);case o.ALPHANUMERIC:return Math.floor(c/11*2);case o.KANJI:return Math.floor(c/13);case o.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,n){let i;const s=r.from(n,r.M);if(Array.isArray(t)){if(t.length>1)return function(t,n){for(let r=1;r<=40;r++)if(l(t,r)<=e.getCapacity(r,n,o.MIXED))return r}(t,s);if(0===t.length)return 1;i=t[0]}else i=t;return function(t,n,r){for(let o=1;o<=40;o++)if(n<=e.getCapacity(o,r,t))return o}(i.mode,i.getLength(),s)},e.getEncodedBits=function(e){if(!i.isValid(e)||e<7)throw new Error("Invalid QR Code version");let n=e<<12;for(;t.getBCHDigit(n)-s>=0;)n^=7973<<t.getBCHDigit(n)-s;return e<<12|n}}(lO);var bO={};const yO=zT,wO=yO.getBCHDigit(1335);bO.getEncodedBits=function(e,t){const n=e.bit<<3|t;let r=n<<10;for(;yO.getBCHDigit(r)-wO>=0;)r^=1335<<yO.getBCHDigit(r)-wO;return 21522^(n<<10|r)};var xO={};const SO=cO;function EO(e){this.mode=SO.NUMERIC,this.data=e.toString()}EO.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},EO.prototype.getLength=function(){return this.data.length},EO.prototype.getBitsLength=function(){return EO.getBitsLength(this.data.length)},EO.prototype.write=function(e){let t,n,r;for(t=0;t+3<=this.data.length;t+=3)n=this.data.substr(t,3),r=parseInt(n,10),e.put(r,10);const o=this.data.length-t;o>0&&(n=this.data.substr(t),r=parseInt(n,10),e.put(r,3*o+1))};var CO=EO;const kO=cO,_O=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function TO(e){this.mode=kO.ALPHANUMERIC,this.data=e}TO.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},TO.prototype.getLength=function(){return this.data.length},TO.prototype.getBitsLength=function(){return TO.getBitsLength(this.data.length)},TO.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*_O.indexOf(this.data[t]);n+=_O.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(_O.indexOf(this.data[t]),6)};var OO=TO;const LO=cO;function AO(e){this.mode=LO.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}AO.getBitsLength=function(e){return 8*e},AO.prototype.getLength=function(){return this.data.length},AO.prototype.getBitsLength=function(){return AO.getBitsLength(this.data.length)},AO.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var IO=AO;const PO=cO,MO=zT;function RO(e){this.mode=PO.KANJI,this.data=e}RO.getBitsLength=function(e){return 13*e},RO.prototype.getLength=function(){return this.data.length},RO.prototype.getBitsLength=function(){return RO.getBitsLength(this.data.length)},RO.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=MO.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13)}};var DO,NO=RO,BO={exports:{}};DO={single_source_shortest_paths:function(e,t,n){var r={},o={};o[t]=0;var i,s,a,l,c,u,d,f=DO.PriorityQueue.make();for(f.push(t,0);!f.empty();)for(a in s=(i=f.pop()).value,l=i.cost,c=e[s]||{})c.hasOwnProperty(a)&&(u=l+c[a],d=o[a],(void 0===o[a]||d>u)&&(o[a]=u,f.push(a,u),r[a]=s));if(void 0!==n&&void 0===o[n]){var h=["Could not find a path from ",t," to ",n,"."].join("");throw new Error(h)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,t,n){var r=DO.single_source_shortest_paths(e,t,n);return DO.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(e){var t,n=DO.PriorityQueue,r={};for(t in e=e||{},n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r.queue=[],r.sorter=e.sorter||n.default_sorter,r},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var n={value:e,cost:t};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};var zO=BO.exports=DO;!function(e){const t=cO,n=CO,r=OO,o=IO,i=NO,s=dO,a=zT,l=zO;function c(e){return unescape(encodeURIComponent(e)).length}function u(e,t,n){const r=[];let o;for(;null!==(o=e.exec(n));)r.push({data:o[0],index:o.index,mode:t,length:o[0].length});return r}function d(e){const n=u(s.NUMERIC,t.NUMERIC,e),r=u(s.ALPHANUMERIC,t.ALPHANUMERIC,e);let o,i;a.isKanjiModeEnabled()?(o=u(s.BYTE,t.BYTE,e),i=u(s.KANJI,t.KANJI,e)):(o=u(s.BYTE_KANJI,t.BYTE,e),i=[]);return n.concat(r,o,i).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function f(e,s){switch(s){case t.NUMERIC:return n.getBitsLength(e);case t.ALPHANUMERIC:return r.getBitsLength(e);case t.KANJI:return i.getBitsLength(e);case t.BYTE:return o.getBitsLength(e)}}function h(e,s){let l;const c=t.getBestModeForData(e);if(l=t.from(s,c),l!==t.BYTE&&l.bit<c.bit)throw new Error('"'+e+'" cannot be encoded with mode '+t.toString(l)+".\n Suggested mode is: "+t.toString(c));switch(l!==t.KANJI||a.isKanjiModeEnabled()||(l=t.BYTE),l){case t.NUMERIC:return new n(e);case t.ALPHANUMERIC:return new r(e);case t.KANJI:return new i(e);case t.BYTE:return new o(e)}}e.fromArray=function(e){return e.reduce((function(e,t){return"string"==typeof t?e.push(h(t,null)):t.data&&e.push(h(t.data,t.mode)),e}),[])},e.fromString=function(n,r){const o=function(e){const n=[];for(let r=0;r<e.length;r++){const o=e[r];switch(o.mode){case t.NUMERIC:n.push([o,{data:o.data,mode:t.ALPHANUMERIC,length:o.length},{data:o.data,mode:t.BYTE,length:o.length}]);break;case t.ALPHANUMERIC:n.push([o,{data:o.data,mode:t.BYTE,length:o.length}]);break;case t.KANJI:n.push([o,{data:o.data,mode:t.BYTE,length:c(o.data)}]);break;case t.BYTE:n.push([{data:o.data,mode:t.BYTE,length:c(o.data)}])}}return n}(d(n,a.isKanjiModeEnabled())),i=function(e,n){const r={},o={start:{}};let i=["start"];for(let s=0;s<e.length;s++){const a=e[s],l=[];for(let e=0;e<a.length;e++){const c=a[e],u=""+s+e;l.push(u),r[u]={node:c,lastCount:0},o[u]={};for(let e=0;e<i.length;e++){const s=i[e];r[s]&&r[s].node.mode===c.mode?(o[s][u]=f(r[s].lastCount+c.length,c.mode)-f(r[s].lastCount,c.mode),r[s].lastCount+=c.length):(r[s]&&(r[s].lastCount=c.length),o[s][u]=f(c.length,c.mode)+4+t.getCharCountIndicator(c.mode,n))}}i=l}for(let t=0;t<i.length;t++)o[i[t]].end=0;return{map:o,table:r}}(o,r),s=l.find_path(i.map,"start","end"),u=[];for(let e=1;e<s.length-1;e++)u.push(i.table[s[e]].node);return e.fromArray(function(e){return e.reduce((function(e,t){const n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(u))},e.rawSplit=function(t){return e.fromArray(d(t,a.isKanjiModeEnabled()))}}(xO);const FO=zT,jO=HT,WO=YT,HO=XT,VO=$T,YO=GT,UO=ZT,XO=JT,$O=aO,GO=lO,qO=bO,ZO=cO,JO=xO;function KO(e,t,n){const r=e.size,o=qO.getEncodedBits(t,n);let i,s;for(i=0;i<15;i++)s=1==(o>>i&1),i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(r-15+i,8,s,!0),i<8?e.set(8,r-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(r-8,8,1,!0)}function QO(e,t,n){const r=new WO;n.forEach((function(t){r.put(t.mode.bit,4),r.put(t.getLength(),ZO.getCharCountIndicator(t.mode,e)),t.write(r)}));const o=8*(FO.getSymbolTotalCodewords(e)-XO.getTotalCodewordsCount(e,t));for(r.getLengthInBits()+4<=o&&r.put(0,4);r.getLengthInBits()%8!=0;)r.putBit(0);const i=(o-r.getLengthInBits())/8;for(let s=0;s<i;s++)r.put(s%2?17:236,8);return function(e,t,n){const r=FO.getSymbolTotalCodewords(t),o=XO.getTotalCodewordsCount(t,n),i=r-o,s=XO.getBlocksCount(t,n),a=r%s,l=s-a,c=Math.floor(r/s),u=Math.floor(i/s),d=u+1,f=c-u,h=new $O(f);let p=0;const m=new Array(s),v=new Array(s);let g=0;const b=new Uint8Array(e.buffer);for(let E=0;E<s;E++){const e=E<l?u:d;m[E]=b.slice(p,p+e),v[E]=h.encode(m[E]),p+=e,g=Math.max(g,e)}const y=new Uint8Array(r);let w,x,S=0;for(w=0;w<g;w++)for(x=0;x<s;x++)w<m[x].length&&(y[S++]=m[x][w]);for(w=0;w<f;w++)for(x=0;x<s;x++)y[S++]=v[x][w];return y}(r,e,t)}function eL(e,t,n,r){let o;if(Array.isArray(e))o=JO.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let r=t;if(!r){const t=JO.rawSplit(e);r=GO.getBestVersionForData(t,n)}o=JO.fromString(e,r||40)}}const i=GO.getBestVersionForData(o,n);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<i)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+i+".\n")}else t=i;const s=QO(t,n,o),a=FO.getSymbolSize(t),l=new HO(a);return function(e,t){const n=e.size,r=YO.getPositions(t);for(let o=0;o<r.length;o++){const t=r[o][0],i=r[o][1];for(let r=-1;r<=7;r++)if(!(t+r<=-1||n<=t+r))for(let o=-1;o<=7;o++)i+o<=-1||n<=i+o||(r>=0&&r<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===r||6===r)||r>=2&&r<=4&&o>=2&&o<=4?e.set(t+r,i+o,!0,!0):e.set(t+r,i+o,!1,!0))}}(l,t),function(e){const t=e.size;for(let n=8;n<t-8;n++){const t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(l),function(e,t){const n=VO.getPositions(t);for(let r=0;r<n.length;r++){const t=n[r][0],o=n[r][1];for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)-2===n||2===n||-2===r||2===r||0===n&&0===r?e.set(t+n,o+r,!0,!0):e.set(t+n,o+r,!1,!0)}}(l,t),KO(l,n,0),t>=7&&function(e,t){const n=e.size,r=GO.getEncodedBits(t);let o,i,s;for(let a=0;a<18;a++)o=Math.floor(a/3),i=a%3+n-8-3,s=1==(r>>a&1),e.set(o,i,s,!0),e.set(i,o,s,!0)}(l,t),function(e,t){const n=e.size;let r=-1,o=n-1,i=7,s=0;for(let a=n-1;a>0;a-=2)for(6===a&&a--;;){for(let n=0;n<2;n++)if(!e.isReserved(o,a-n)){let r=!1;s<t.length&&(r=1==(t[s]>>>i&1)),e.set(o,a-n,r),i--,-1===i&&(s++,i=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}(l,s),isNaN(r)&&(r=UO.getBestMask(l,KO.bind(null,l,n))),UO.applyMask(r,l),KO(l,n,r),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:r,segments:o}}BT.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");let n,r,o=jO.M;return void 0!==t&&(o=jO.from(t.errorCorrectionLevel,jO.M),n=GO.from(t.version),r=UO.from(t.maskPattern),t.toSJISFunc&&FO.setToSJISFunction(t.toSJISFunc)),eL(e,n,o,r)};var tL={},nL={};!function(e){function t(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");const n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}e.getOptions=function(e){e||(e={}),e.color||(e.color={});const n=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:r,scale:r?4:o,margin:n,color:{dark:t(e.color.dark||"#000000ff"),light:t(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},e.getImageWidth=function(t,n){const r=e.getScale(t,n);return Math.floor((t+2*n.margin)*r)},e.qrToImageData=function(t,n,r){const o=n.modules.size,i=n.modules.data,s=e.getScale(o,r),a=Math.floor((o+2*r.margin)*s),l=r.margin*s,c=[r.color.light,r.color.dark];for(let e=0;e<a;e++)for(let n=0;n<a;n++){let u=4*(e*a+n),d=r.color.light;if(e>=l&&n>=l&&e<a-l&&n<a-l){d=c[i[Math.floor((e-l)/s)*o+Math.floor((n-l)/s)]?1:0]}t[u++]=d.r,t[u++]=d.g,t[u++]=d.b,t[u]=d.a}}}(nL),function(e){const t=nL;e.render=function(e,n,r){let o=r,i=n;void 0!==o||n&&n.getContext||(o=n,n=void 0),n||(i=function(){try{return document.createElement("canvas")}catch(YC){throw new Error("You need to specify a canvas element")}}()),o=t.getOptions(o);const s=t.getImageWidth(e.modules.size,o),a=i.getContext("2d"),l=a.createImageData(s,s);return t.qrToImageData(l.data,e,o),function(e,t,n){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=n,t.width=n,t.style.height=n+"px",t.style.width=n+"px"}(a,i,s),a.putImageData(l,0,0),i},e.renderToDataURL=function(t,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});const i=e.render(t,n,o),s=o.type||"image/png",a=o.rendererOpts||{};return i.toDataURL(s,a.quality)}}(tL);var rL={};const oL=nL;function iL(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function sL(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}rL.render=function(e,t,n){const r=oL.getOptions(t),o=e.modules.size,i=e.modules.data,s=o+2*r.margin,a=r.color.light.a?"<path "+iL(r.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",l="<path "+iL(r.color.dark,"stroke")+' d="'+function(e,t,n){let r="",o=0,i=!1,s=0;for(let a=0;a<e.length;a++){const l=Math.floor(a%t),c=Math.floor(a/t);l||i||(i=!0),e[a]?(s++,a>0&&l>0&&e[a-1]||(r+=i?sL("M",l+n,.5+c+n):sL("m",o,0),o=0,i=!1),l+1<t&&e[a+1]||(r+=sL("h",s),s=0)):o++}return r}(i,o,r.margin)+'"/>',c='viewBox="0 0 '+s+" "+s+'"',u='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+c+' shape-rendering="crispEdges">'+a+l+"</svg>\n";return"function"==typeof n&&n(null,u),u};const aL=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},lL=BT,cL=tL,uL=rL;function dL(e,t,n,r,o){const i=[].slice.call(arguments,1),s=i.length,a="function"==typeof i[s-1];if(!a&&!aL())throw new Error("Callback required as last argument");if(!a){if(s<1)throw new Error("Too few arguments provided");return 1===s?(n=t,t=r=void 0):2!==s||t.getContext||(r=n,n=t,t=void 0),new Promise((function(o,i){try{const i=lL.create(n,r);o(e(i,t,r))}catch(YC){i(YC)}}))}if(s<2)throw new Error("Too few arguments provided");2===s?(o=n,n=t,t=r=void 0):3===s&&(t.getContext&&void 0===o?(o=r,r=void 0):(o=r,r=n,n=t,t=void 0));try{const i=lL.create(n,r);o(null,e(i,t,r))}catch(YC){o(YC)}}NT.create=lL.create,NT.toCanvas=dL.bind(null,cL.render),NT.toDataURL=dL.bind(null,cL.renderToDataURL),NT.toString=dL.bind(null,(function(e,t,n){return uL.render(e,n)}));const fL=["width","height"],hL=["width","height"],pL=["width","height"],mL=[ki("div",{class:"loading-gif_"},[ki("span"),ki("span"),ki("span"),ki("span"),ki("span")],-1)],vL={class:"auth-control_"},gL={class:"range-text"},bL=[ki("div",null,null,-1),ki("div",null,null,-1),ki("div",null,null,-1)],yL=cr({__name:"App",props:{type:{type:String,default:"modal"},canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:50},range:{type:Number,default:10},zIndex:{type:Number,default:999},imgs:{type:Array,default:null},successText:{type:String,default:"验证通过！"},failText:{type:String,default:"验证失败，请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"},className:{type:String,default:""}},emits:["success","fail","close","reset"],setup(e,{expose:t,emit:n}){const r=e;Lr((()=>{document.addEventListener("mousemove",v,!1),document.addEventListener("mouseup",g,!1),document.addEventListener("touchmove",v,{passive:!1}),document.addEventListener("touchend",g,!1),l.isInside="inside"===r.type,r.show&&(!l.isInside&&document.body.classList.add("vue-puzzle-overflow"),C())})),Mr((()=>{l.timer1&&clearTimeout(l.timer1),document.removeEventListener("mousemove",v,!1),document.removeEventListener("mouseup",g,!1),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",g,!1)}));const o=Xt(),i=Xt(),s=Xt(),a=Xt(),l=Mt({isInside:!1,mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:void 0,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1});qo((()=>r.show),(e=>{e?(!l.isInside&&document.body.classList.add("vue-puzzle-overflow"),C()):(l.isSubmting=!1,l.isSuccess=!1,l.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))})),qo((()=>r.type),(e=>{"inside"===e?(l.isInside=!0,document.body.classList.remove("vue-puzzle-overflow")):l.isInside=!1}));const c=es((()=>{const e=l.startWidth+l.newX-l.startX;return e<d.value?d.value:e>r.canvasWidth?r.canvasWidth:e})),u=es((()=>Math.round(52.5*Math.max(Math.min(r.puzzleScale,2),.2)+6))),d=es((()=>Math.max(Math.min(Math.round(r.sliderSize),Math.round(.5*r.canvasWidth)),10))),f=es((()=>999!==r.zIndex?"z-index:".concat(r.zIndex):"")),h=()=>{l.isInside||(l.closeDown=!0)},p=()=>{l.closeDown&&(!l.mouseDown&&!l.isSubmting&&(l.timer1&&clearTimeout(l.timer1),n("close"))),l.closeDown=!1},m=e=>{var t;l.isCanSlide&&(l.mouseDown=!0,l.startWidth=(null==(t=o.value)?void 0:t.clientWidth)||0,l.newX=e.clientX||e.changedTouches[0].clientX,l.startX=e.clientX||e.changedTouches[0].clientX)},v=e=>{l.mouseDown&&(e.preventDefault(),l.newX=e.clientX||e.changedTouches[0].clientX)},g=()=>{l.mouseDown&&(l.mouseDown=!1,E())},b=(e=!1)=>{var t;if(l.loading&&!e)return;l.loading=!0,l.isCanSlide=!1;const n=i.value,o=s.value,c=a.value,d=null==n?void 0:n.getContext("2d",{willReadFrequently:!0}),f=null==o?void 0:o.getContext("2d"),h=null==c?void 0:c.getContext("2d");if(!d||!f||!h)return;const p=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,m=document.createElement("img");if(d.fillStyle="rgba(255,255,255,1)",h.fillStyle="rgba(255,255,255,1)",d.clearRect(0,0,r.canvasWidth,r.canvasHeight),f.clearRect(0,0,r.canvasWidth,r.canvasHeight),l.pinX=y(u.value+20,r.canvasWidth-u.value-10),l.pinY=y(20,r.canvasHeight-u.value-10),m.crossOrigin="anonymous",m.onload=()=>{const[e,t,n,o]=w(m),i=Math.random(),s=Math.random(),a=Math.random(),c=i<.33?-1:i<.66?0:1,v=s<.33?-1:s<.66?0:1,g=a<.33?-1:a<.66?0:1,b=Math.random()<.6?1:0;d.save(),x(d,c,v,g,b),d.closePath(),p?(d.clip(),d.save(),d.shadowOffsetX=0,d.shadowOffsetY=0,d.shadowColor="#000",d.shadowBlur=3,d.fill(),d.restore()):(d.shadowOffsetX=0,d.shadowOffsetY=0,d.shadowColor="#000",d.shadowBlur=3,d.fill(),d.clip()),d.drawImage(m,e,t,n,o),h.fillRect(0,0,r.canvasWidth,r.canvasHeight),h.drawImage(m,e,t,n,o),d.globalCompositeOperation="source-atop",x(d,c,v,g,b),d.arc(l.pinX+Math.ceil(u.value/2),l.pinY+Math.ceil(u.value/2),1.2*u.value,0,2*Math.PI,!0),d.closePath(),d.shadowColor="rgba(255, 255, 255, .8)",d.shadowOffsetX=-1,d.shadowOffsetY=-1,d.shadowBlur=Math.min(Math.ceil(8*r.puzzleScale),12),d.fillStyle="#ffffaa",d.fill();const y=d.getImageData(l.pinX-3,l.pinY-20,l.pinX+u.value+5,l.pinY+u.value+5);f.putImageData(y,0,l.pinY-20),d.restore(),d.clearRect(0,0,r.canvasWidth,r.canvasHeight),d.save(),x(d,c,v,g,b),d.globalAlpha=.8,d.fillStyle="#ffffff",d.fill(),d.restore(),d.save(),d.globalCompositeOperation="source-atop",x(d,c,v,g,b),d.arc(l.pinX+Math.ceil(u.value/2),l.pinY+Math.ceil(u.value/2),1.2*u.value,0,2*Math.PI,!0),d.shadowColor="#000",d.shadowOffsetX=2,d.shadowOffsetY=2,d.shadowBlur=16,d.fill(),d.restore(),d.save(),d.globalCompositeOperation="destination-over",d.drawImage(m,e,t,n,o),d.restore(),l.loading=!1,l.isCanSlide=!0},m.onerror=()=>{b(!0)},!e&&null!=(t=r.imgs)&&t.length){let e=y(0,r.imgs.length-1);e===l.imgIndex&&(e===r.imgs.length-1?e=0:e++),l.imgIndex=e,m.src=r.imgs[e]}else m.src=S()},y=(e,t)=>Math.ceil(Math.random()*(t-e)+e),w=e=>{const t=e.width/e.height;let n=0,o=0,i=0,s=0;return t>r.canvasWidth/r.canvasHeight?(s=r.canvasHeight,i=t*s,o=0,n=(r.canvasWidth-i)/2):(i=r.canvasWidth,s=i/t,n=0,o=(r.canvasHeight-s)/2),[n,o,i,s]},x=(e,t,n,o,i)=>{const s=Math.ceil(15*r.puzzleScale);e.beginPath(),e.moveTo(l.pinX,l.pinY),e.lineTo(l.pinX+s,l.pinY),e.arcTo(l.pinX+s,l.pinY+t*s/2,l.pinX+s+s/2,l.pinY+t*s/2,s/2),e.arcTo(l.pinX+s+s,l.pinY+t*s/2,l.pinX+s+s,l.pinY,s/2),e.lineTo(l.pinX+s+s+s,l.pinY),e.lineTo(l.pinX+s+s+s,l.pinY+s),e.arcTo(l.pinX+s+s+s+n*s/2,l.pinY+s,l.pinX+s+s+s+n*s/2,l.pinY+s+s/2,s/2),e.arcTo(l.pinX+s+s+s+n*s/2,l.pinY+s+s,l.pinX+s+s+s,l.pinY+s+s,s/2),e.lineTo(l.pinX+s+s+s,l.pinY+s+s+s),e.lineTo(l.pinX+s+s,l.pinY+s+s+s),e.arcTo(l.pinX+s+s,l.pinY+s+s+s+o*s/2,l.pinX+s+s/2,l.pinY+s+s+s+o*s/2,s/2),e.arcTo(l.pinX+s,l.pinY+s+s+s+o*s/2,l.pinX+s,l.pinY+s+s+s,s/2),e.lineTo(l.pinX,l.pinY+s+s+s),e.lineTo(l.pinX,l.pinY+s+s),e.arcTo(l.pinX+i*s/2,l.pinY+s+s,l.pinX+i*s/2,l.pinY+s+s/2,s/2),e.arcTo(l.pinX+i*s/2,l.pinY+s,l.pinX,l.pinY+s,s/2),e.lineTo(l.pinX,l.pinY)},S=()=>{const e=document.createElement("canvas"),t=e.getContext("2d");if(!t)return"";e.width=r.canvasWidth,e.height=r.canvasHeight,t.fillStyle="rgb(".concat(y(100,255),",").concat(y(100,255),",").concat(y(100,255),")"),t.fillRect(0,0,r.canvasWidth,r.canvasHeight);for(let n=0;n<12;n++)if(t.fillStyle="rgb(".concat(y(100,255),",").concat(y(100,255),",").concat(y(100,255),")"),t.strokeStyle="rgb(".concat(y(100,255),",").concat(y(100,255),",").concat(y(100,255),")"),y(0,2)>1)t.save(),t.rotate(y(-90,90)*Math.PI/180),t.fillRect(y(-20,e.width-20),y(-20,e.height-20),y(10,e.width/2+10),y(10,e.height/2+10)),t.restore();else{t.beginPath();const n=y(-Math.PI,Math.PI);t.arc(y(0,e.width),y(0,e.height),y(10,e.height/2+10),n,n+1.5*Math.PI),t.closePath(),t.fill()}return e.toDataURL("image/png")},E=()=>{l.isSubmting=!0;const e=Math.abs(l.pinX-(c.value-d.value)+(u.value-d.value)*((c.value-d.value)/(r.canvasWidth-d.value))-3);e<r.range?(l.infoText=r.successText,l.infoBoxFail=!1,l.infoBoxShow=!0,l.isCanSlide=!1,l.isSuccess=!0,l.timer1&&clearTimeout(l.timer1),l.timer1=setTimeout((()=>{l.isSubmting=!1,n("success",e)}),800)):(l.infoText=r.failText,l.infoBoxFail=!0,l.infoBoxShow=!0,l.isCanSlide=!1,n("fail",e),l.timer1&&clearTimeout(l.timer1),l.timer1=setTimeout((()=>{l.isSubmting=!1,C()}),800))},C=e=>{l.isSubmting||(l.infoBoxFail=!1,l.infoBoxShow=!1,l.isCanSlide=!1,l.isSuccess=!1,l.startWidth=d.value,l.startX=0,l.newX=0,b(),e&&n("reset"))};return t({reset:C}),(t,n)=>(mi(),wi(Un,{to:"body",disabled:l.isInside},[ki("div",{class:he(["vue-puzzle-vcode",{inside_:l.isInside,show_:e.show},e.className]),style:le(Zt(f)),onMousedown:h,onMouseup:p,onTouchstart:h,onTouchend:p},[ki("div",{class:"vue-auth-box_",onMousedown:n[3]||(n[3]=ka((()=>{}),["stop"])),onTouchstart:n[4]||(n[4]=ka((()=>{}),["stop"]))},[ki("div",{class:"auth-body_",style:le("width:".concat(e.canvasWidth,"px;height: ").concat(e.canvasHeight,"px"))},[ki("canvas",{ref_key:"canvas1",ref:i,class:"auth-canvas1_",width:e.canvasWidth,height:e.canvasHeight},null,8,fL),ki("canvas",{ref_key:"canvas3",ref:a,class:he(["auth-canvas3_",{show:l.isSuccess}]),width:e.canvasWidth,height:e.canvasHeight},null,10,hL),ki("canvas",{ref_key:"canvas2",ref:s,class:"auth-canvas2_",width:Zt(u),height:e.canvasHeight,style:le("width:".concat(Zt(u),"px;height:").concat(e.canvasHeight,"px;transform:translateX(").concat(Zt(c)-Zt(d)-(Zt(u)-Zt(d))*((Zt(c)-Zt(d))/(e.canvasWidth-Zt(d))),"px)"))},null,12,pL),ki("div",{class:he(["loading-box_",{hide_:!l.loading}])},mL,2),ki("div",{class:he(["info-box_",{show:l.infoBoxShow},{fail:l.infoBoxFail}])},we(l.infoText),3),ki("div",{class:he(["flash_",{show:l.isSuccess}]),style:le("transform: translateX(".concat(l.isSuccess?"".concat(e.canvasWidth+.578*e.canvasHeight,"px"):"-".concat(.578*e.canvasHeight,"px"),") skew(-30deg, 0);"))},null,6),ki("img",{class:"reset_",onClick:n[0]||(n[0]=e=>C(!0)),src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII="})],4),ki("div",vL,[ki("div",{class:"range-box",style:le("height:".concat(Zt(d),"px;width:").concat(e.canvasWidth,"px"))},[ki("div",gL,we(e.sliderText),1),ki("div",{class:"range-slider",ref_key:"rangeSlider",ref:o,style:le("width:".concat(Zt(c),"px"))},[ki("div",{class:he(["range-btn",{isDown:l.mouseDown}]),style:le("width:".concat(Zt(d),"px")),onMousedown:n[1]||(n[1]=e=>m(e)),onTouchstart:n[2]||(n[2]=e=>m(e))},bL,38)],4)],4)])],32)],38)],8,["disabled"]))}});var wL={province_list:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区"},city_list:{110100:"北京市",120100:"天津市",130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市",140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市",150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟",210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市",220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州",230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区",310100:"上海市",320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市",330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市",340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市",350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市",360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市",370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市",410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市",419e3:"省直辖县",420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州",429e3:"省直辖县",430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州",440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市",450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市",460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市",469e3:"省直辖县",500100:"重庆市",500200:"县",510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州",520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州",530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州",540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区",610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市",620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州",630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州",640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市",650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区",659e3:"自治区直辖县级行政区划",710100:"台北市",710200:"高雄市",710300:"台南市",710400:"台中市",710500:"金门县",710600:"南投县",710700:"基隆市",710800:"新竹市",710900:"嘉义市",711100:"新北市",711200:"宜兰县",711300:"新竹县",711400:"桃园市",711500:"苗栗县",711700:"彰化县",711900:"嘉义县",712100:"云林县",712400:"屏东县",712500:"台东县",712600:"花莲县",712700:"澎湖县",712800:"连江县",810100:"香港岛",810200:"九龙",810300:"新界",820100:"澳门半岛",820200:"离岛"},county_list:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区",130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区",130390:"经济技术开发区",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市",130502:"襄都区",130503:"信都区",130505:"任泽区",130506:"南和区",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市",130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130772:"张家口市察北管理区",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市",131090:"开发区",131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水经济开发区",131172:"衡水滨湖新区",131182:"深州市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市",140702:"榆次区",140703:"太谷区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150172:"呼和浩特经济技术开发区",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市",150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善经济开发区",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市",210190:"经济技术开发区",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210390:"高新区",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210793:"经济技术开发区",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市",220184:"公主岭市",220192:"经济技术开发区",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220382:"双辽市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区",230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市",231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320112:"江北新区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市",320391:"工业园区",320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市",320590:"工业园区",320591:"高新区",320611:"港闸区",320612:"通州区",320613:"崇川区",320614:"海门区",320623:"如东县",320681:"启东市",320682:"如皋市",320685:"海安市",320691:"高新区",320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区",320890:"经济开发区",320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市",321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市",321090:"经济开发区",321102:"京口区",321111:"润州区",321112:"丹徒区",321150:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区",330102:"上城区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330113:"临平区",330114:"钱塘区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"龙港市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市",340190:"高新技术开发区",340191:"经济技术开发区",340202:"镜湖区",340207:"鸠江区",340209:"弋江区",340210:"湾沚区",340212:"繁昌区",340223:"南陵县",340281:"无为市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"潜山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341282:"界首市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区",341390:"经济开发区",341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350402:"梅列区",350404:"三元区",350405:"沙县区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350602:"芗城区",350603:"龙文区",350604:"龙海区",350605:"长泰区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360111:"青山湖区",360112:"新建区",360113:"红谷滩区",360121:"南昌县",360123:"安义县",360124:"进贤县",360190:"经济技术开发区",360192:"高新区",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市",360490:"经济技术开发区",360502:"渝水区",360521:"分宜县",360602:"月湖区",360603:"余江区",360681:"贵溪市",360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360783:"龙南市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县",361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区",370190:"高新区",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市",370290:"开发区",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370634:"长岛县",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370690:"开发区",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370790:"开发区",370791:"高新区",370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市",370890:"高新区",370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371082:"荣成市",371083:"乳山市",371091:"经济技术开发区",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区",371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市",371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市",371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410190:"高新技术开发区",410191:"经济技术开发区",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410307:"偃师区",410308:"孟津区",410311:"洛龙区",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410481:"舞钢市",410482:"汝州市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410590:"开发区",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410781:"卫辉市",410782:"辉县市",410783:"长垣市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区",411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411372:"南阳市城乡一体化示范区",411381:"邓州市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市",411690:"经济开发区",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",419001:"济源市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420590:"经济开发区",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",421002:"沙市区",421003:"荆州区",421022:"公安县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"监利市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421303:"曾都区",421321:"随县",421381:"广水市",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430981:"沅江市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431102:"零陵区",431103:"冷水滩区",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431181:"祁阳市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区",440402:"香洲区",440403:"斗门区",440404:"金湾区",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440890:"经济技术开发区",440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市",441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市",441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市",441901:"中堂镇",441903:"南城街道",441904:"长安镇",441905:"东坑镇",441906:"樟木头镇",441907:"莞城街道",441908:"石龙镇",441909:"桥头镇",441910:"万江街道",441911:"麻涌镇",441912:"虎门镇",441913:"谢岗镇",441914:"石碣镇",441915:"茶山镇",441916:"东城街道",441917:"洪梅镇",441918:"道滘镇",441919:"高埗镇",441920:"企石镇",441921:"凤岗镇",441922:"大岭山镇",441923:"松山湖",441924:"清溪镇",441925:"望牛墩镇",441926:"厚街镇",441927:"常平镇",441928:"寮步镇",441929:"石排镇",441930:"横沥镇",441931:"塘厦镇",441932:"黄江镇",441933:"大朗镇",441934:"东莞港",441935:"东莞生态园",441990:"沙田镇",442001:"南头镇",442002:"神湾镇",442003:"东凤镇",442004:"五桂山街道",442005:"黄圃镇",442006:"小榄镇",442007:"石岐街道",442008:"横栏镇",442009:"三角镇",442010:"三乡镇",442011:"港口镇",442012:"沙溪镇",442013:"板芙镇",442015:"东升镇",442016:"阜沙镇",442017:"民众镇",442018:"东区街道",442019:"火炬开发区街道办事处",442020:"西区街道",442021:"南区街道",442022:"古镇镇",442023:"坦洲镇",442024:"大涌镇",442025:"南朗镇",445102:"湘桥区",445103:"潮安区",445122:"饶平县",445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450181:"横州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",451002:"右江区",451003:"田阳区",451022:"田东县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市",451082:"平果市",451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区",460321:"西沙区",460322:"南沙区",460401:"那大镇",460402:"和庆镇",460403:"南丰镇",460404:"大成镇",460405:"雅星镇",460406:"兰洋镇",460407:"光村镇",460408:"木棠镇",460409:"海头镇",460410:"峨蔓镇",460411:"王五镇",460412:"白马井镇",460413:"中和镇",460414:"排浦镇",460415:"东成镇",460416:"新州镇",460417:"洋浦经济开发区",460418:"华南热作学院",469001:"五指山市",469002:"琼海市",469005:"文昌市",469006:"万宁市",469007:"东方市",469021:"定安县",469022:"屯昌县",469023:"澄迈县",469024:"临高县",469025:"白沙黎族自治县",469026:"昌江黎族自治县",469027:"乐东黎族自治县",469028:"陵水黎族自治县",469029:"保亭黎族苗族自治县",469030:"琼中黎族苗族自治县",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区",500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510118:"新津区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市",510191:"高新区",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510791:"高新区",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511083:"隆昌市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区",512002:"雁江区",512021:"安岳县",512022:"乐至县",513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513401:"西昌市",513402:"会理市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市",520201:"钟山区",520203:"六枝特区",520204:"水城区",520281:"盘州市",520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520502:"七星关区",520521:"大方县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县",520581:"黔西市",520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县",522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市",530402:"红塔区",530403:"江川区",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530481:"澄江市",530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",532301:"楚雄市",532302:"禄丰市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县",540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县",540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县",540402:"巴宜区",540421:"工布江达县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县",540481:"米林市",540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540531:"浪卡子县",540581:"错那市",540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610305:"凤翔区",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市",610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市",610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610929:"白河县",610981:"旬阳市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区",620201:"市辖区",620290:"雄关区",620291:"长城区",620292:"镜铁区",620293:"新城镇",620294:"峪泉镇",620295:"文殊镇",620302:"金川区",620321:"永昌县",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630106:"湟中区",630121:"大通回族土族自治县",630123:"湟源县",630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632301:"同仁市",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640502:"沙坡头区",640521:"中宁县",640522:"海原县",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650402:"高昌区",650421:"鄯善县",650422:"托克逊县",650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652901:"阿克苏市",652902:"库车市",652922:"温宿县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654201:"塔城市",654202:"乌苏市",654203:"沙湾市",654221:"额敏县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",659005:"北屯市",659006:"铁门关市",659007:"双河市",659008:"可克达拉市",659009:"昆玉市",659010:"胡杨河市",659011:"新星市",659012:"白杨市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710199:"其它区",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710299:"其它区",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710399:"其它区",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710499:"其它区",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710799:"其它区",710801:"东区",710802:"北区",710803:"香山区",710899:"其它区",710901:"东区",710902:"西区",710999:"其它区",711130:"万里区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711287:"宜兰市",711288:"头城镇",711289:"礁溪乡",711290:"壮围乡",711291:"员山乡",711292:"罗东镇",711293:"三星乡",711294:"大同乡",711295:"五结乡",711296:"冬山乡",711297:"苏澳镇",711298:"南澳乡",711299:"钓鱼台",711387:"竹北市",711388:"湖口乡",711389:"新丰乡",711390:"新埔镇",711391:"关西镇",711392:"芎林乡",711393:"宝山乡",711394:"竹东镇",711395:"五峰乡",711396:"横山乡",711397:"尖石乡",711398:"北埔乡",711399:"峨眉乡",711414:"中坜区",711415:"平镇区",711417:"杨梅区",711418:"新屋区",711419:"观音区",711420:"桃园区",711421:"龟山区",711422:"八德区",711423:"大溪区",711425:"大园区",711426:"芦竹区",711487:"中坜市",711488:"平镇市",711489:"龙潭乡",711490:"杨梅市",711491:"新屋乡",711492:"观音乡",711493:"桃园市",711494:"龟山乡",711495:"八德市",711496:"大溪镇",711497:"复兴乡",711498:"大园乡",711499:"芦竹乡",711520:"头份市",711582:"竹南镇",711583:"头份镇",711584:"三湾乡",711585:"南庄乡",711586:"狮潭乡",711587:"后龙镇",711588:"通霄镇",711589:"苑里镇",711590:"苗栗市",711591:"造桥乡",711592:"头屋乡",711593:"公馆乡",711594:"大湖乡",711595:"泰安乡",711596:"铜锣乡",711597:"三义乡",711598:"西湖乡",711599:"卓兰镇",711736:"员林市",711774:"彰化市",711775:"芬园乡",711776:"花坛乡",711777:"秀水乡",711778:"鹿港镇",711779:"福兴乡",711780:"线西乡",711781:"和美镇",711782:"伸港乡",711783:"员林镇",711784:"社头乡",711785:"永靖乡",711786:"埔心乡",711787:"溪湖镇",711788:"大村乡",711789:"埔盐乡",711790:"田中镇",711791:"北斗镇",711792:"田尾乡",711793:"埤头乡",711794:"溪州乡",711795:"竹塘乡",711796:"二林镇",711797:"大城乡",711798:"芳苑乡",711799:"二水乡",711982:"番路乡",711983:"梅山乡",711984:"竹崎乡",711985:"阿里山乡",711986:"中埔乡",711987:"大埔乡",711988:"水上乡",711989:"鹿草乡",711990:"太保市",711991:"朴子市",711992:"东石乡",711993:"六脚乡",711994:"新港乡",711995:"民雄乡",711996:"大林镇",711997:"溪口乡",711998:"义竹乡",711999:"布袋镇",712180:"斗南镇",712181:"大埤乡",712182:"虎尾镇",712183:"土库镇",712184:"褒忠乡",712185:"东势乡",712186:"台西乡",712187:"仑背乡",712188:"麦寮乡",712189:"斗六市",712190:"林内乡",712191:"古坑乡",712192:"莿桐乡",712193:"西螺镇",712194:"二仑乡",712195:"北港镇",712196:"水林乡",712197:"口湖乡",712198:"四湖乡",712199:"元长乡",712451:"崁顶乡",712467:"屏东市",712468:"三地门乡",712469:"雾台乡",712470:"玛家乡",712471:"九如乡",712472:"里港乡",712473:"高树乡",712474:"盐埔乡",712475:"长治乡",712476:"麟洛乡",712477:"竹田乡",712478:"内埔乡",712479:"万丹乡",712480:"潮州镇",712481:"泰武乡",712482:"来义乡",712483:"万峦乡",712484:"莰顶乡",712485:"新埤乡",712486:"南州乡",712487:"林边乡",712488:"东港镇",712489:"琉球乡",712490:"佳冬乡",712491:"新园乡",712492:"枋寮乡",712493:"枋山乡",712494:"春日乡",712495:"狮子乡",712496:"车城乡",712497:"牡丹乡",712498:"恒春镇",712499:"满州乡",712584:"台东市",712585:"绿岛乡",712586:"兰屿乡",712587:"延平乡",712588:"卑南乡",712589:"鹿野乡",712590:"关山镇",712591:"海端乡",712592:"池上乡",712593:"东河乡",712594:"成功镇",712595:"长滨乡",712596:"金峰乡",712597:"大武乡",712598:"达仁乡",712599:"太麻里乡",712686:"花莲市",712687:"新城乡",712688:"太鲁阁",712689:"秀林乡",712690:"吉安乡",712691:"寿丰乡",712692:"凤林镇",712693:"光复乡",712694:"丰滨乡",712695:"瑞穗乡",712696:"万荣乡",712697:"玉里镇",712698:"卓溪乡",712699:"富里乡",712794:"马公市",712795:"西屿乡",712796:"望安乡",712797:"七美乡",712798:"白沙乡",712799:"湖西乡",712896:"南竿乡",712897:"北竿乡",712898:"东引乡",712899:"莒光乡",810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",820102:"花地玛堂区",820103:"花王堂区",820104:"望德堂区",820105:"大堂区",820106:"风顺堂区",820202:"嘉模堂区",820203:"路氹填海区",820204:"圣方济各堂区"}};function xL(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function SL(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:xL(t[n])&&xL(e[n])&&Object.keys(t[n]).length>0&&SL(e[n],t[n])}))}const EL={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function CL(){const e="undefined"!=typeof document?document:{};return SL(e,EL),e}const kL={document:EL,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function _L(){const e="undefined"!=typeof window?window:{};return SL(e,kL),e}function TL(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function OL(){return Date.now()}function LL(e,t){void 0===t&&(t="x");const n=_L();let r,o,i;const s=function(e){const t=_L();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map((e=>e.replace(",","."))).join(", ")),i=new n.WebKitCSSMatrix("none"===o?"":o)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(o=n.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),o||0}function AL(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function IL(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const o=r<0||arguments.length<=r?void 0:arguments[r];if(null!=o&&(n=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(o)).filter((e=>t.indexOf(e)<0));for(let t=0,r=n.length;t<r;t+=1){const r=n[t],i=Object.getOwnPropertyDescriptor(o,r);void 0!==i&&i.enumerable&&(AL(e[r])&&AL(o[r])?o[r].__swiper__?e[r]=o[r]:IL(e[r],o[r]):!AL(e[r])&&AL(o[r])?(e[r]={},o[r].__swiper__?e[r]=o[r]:IL(e[r],o[r])):e[r]=o[r])}}}var n;return e}function PL(e,t,n){e.style.setProperty(t,n)}function ML(e){let{swiper:t,targetPosition:n,side:r}=e;const o=_L(),i=-t.translate;let s,a=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const c=n>i?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,d=()=>{s=(new Date).getTime(),null===a&&(a=s);const e=Math.max(Math.min((s-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let f=i+c*(n-i);if(u(f,n)&&(f=n),t.wrapperEl.scrollTo({[r]:f}),u(f,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:f})})),void o.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=o.requestAnimationFrame(d)};d()}function RL(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function DL(e){try{return}catch(t){}}function NL(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),n}function BL(e,t){return _L().getComputedStyle(e,null).getPropertyValue(t)}function zL(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function FL(e,t,n){const r=_L();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let jL,WL,HL;function VL(){return jL||(jL=function(){const e=_L(),t=CL();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),jL}function YL(e){return void 0===e&&(e={}),WL||(WL=function(e){let{userAgent:t}=void 0===e?{}:e;const n=VL(),r=_L(),o=r.navigator.platform,i=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,c=i.match(/(Android);?[\s\/]+([\d.]+)?/);let u=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===o;let p="MacIntel"===o;return!u&&p&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(a,"x").concat(l))>=0&&(u=i.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),p=!1),c&&!h&&(s.os="android",s.android=!0),(u||f||d)&&(s.os="ios",s.ios=!0),s}(e)),WL}function UL(){return HL||(HL=function(){const e=_L();let t=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[e,r]=n.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&r<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),HL}const XL=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(n){let t=n.querySelector(".".concat(e.params.lazyPreloaderClass));!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)),t&&t.remove())}))),t&&t.remove()}},$L=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},GL=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=o,i=[n-t];return i.push(...Array.from({length:t}).map(((e,t)=>n+r+t))),void e.slides.forEach(((t,n)=>{i.includes(t.column)&&$L(e,n)}))}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let s=o-t;s<=i+t;s+=1){const t=(s%n+n)%n;(t<o||t>i)&&$L(e,t)}else for(let s=Math.max(o-t,0);s<=Math.min(i+t,n-1);s+=1)s!==o&&(s>i||s<o)&&$L(e,s)};var qL={updateSize:function(){const e=this;let t,n;const r=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:r.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:r.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(BL(r,"padding-left")||0,10)-parseInt(BL(r,"padding-right")||0,10),n=n-parseInt(BL(r,"padding-top")||0,10)-parseInt(BL(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:r,slidesEl:o,size:i,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=RL(o,".".concat(e.params.slideClass,", swiper-slide")),d=l?e.virtual.slides.length:u.length;let f=[];const h=[],p=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,w=-m,x=0,S=0;if(void 0===i)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*i:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y,u.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&(PL(r,"--swiper-centered-offset-before",""),PL(r,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&e.grid;let C;E?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const k="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let _=0;_<d;_+=1){let r;if(C=0,u[_]&&(r=u[_]),E&&e.grid.updateSlide(_,r,u),!u[_]||"none"!==BL(r,"display")){if("auto"===n.slidesPerView){k&&(u[_].style[e.getDirectionLabel("width")]="");const o=getComputedStyle(r),i=r.style.transform,s=r.style.webkitTransform;if(i&&(r.style.transform="none"),s&&(r.style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?FL(r,"width",!0):FL(r,"height",!0);else{const e=t(o,"width"),n=t(o,"padding-left"),i=t(o,"padding-right"),s=t(o,"margin-left"),a=t(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+s+a;else{const{clientWidth:t,offsetWidth:o}=r;C=e+n+i+s+a+(o-t)}}i&&(r.style.transform=i),s&&(r.style.webkitTransform=s),n.roundLengths&&(C=Math.floor(C))}else C=(i-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),u[_]&&(u[_].style[e.getDirectionLabel("width")]="".concat(C,"px"));u[_]&&(u[_].swiperSlideSize=C),p.push(C),n.centeredSlides?(w=w+C/2+x/2+y,0===x&&0!==_&&(w=w-i/2-y),0===_&&(w=w-i/2-y),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),S%n.slidesPerGroup==0&&f.push(w),h.push(w)):(n.roundLengths&&(w=Math.floor(w)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&f.push(w),h.push(w),w=w+C+y),e.virtualSize+=C+y,x=C,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+v,s&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(r.style.width="".concat(e.virtualSize+y,"px")),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+y,"px")),E&&e.grid.updateWrapperSize(C,f),!n.centeredSlides){const t=[];for(let r=0;r<f.length;r+=1){let o=f[r];n.roundLengths&&(o=Math.floor(o)),f[r]<=e.virtualSize-i&&t.push(o)}f=t,Math.floor(e.virtualSize-i)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-i)}if(l&&n.loop){const t=p[0]+y;if(n.slidesPerGroup>1){const r=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),o=t*n.slidesPerGroup;for(let e=0;e<r;e+=1)f.push(f[f.length-1]+o)}for(let r=0;r<e.virtual.slidesBefore+e.virtual.slidesAfter;r+=1)1===n.slidesPerGroup&&f.push(f[f.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==y){const t=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1)).forEach((e=>{e.style[t]="".concat(y,"px")}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;p.forEach((t=>{e+=t+(y||0)})),e-=y;const t=e-i;f=f.map((e=>e<=0?-m:e>t?t+v:e))}if(n.centerInsufficientSlides){let e=0;if(p.forEach((t=>{e+=t+(y||0)})),e-=y,e<i){const t=(i-e)/2;f.forEach(((e,n)=>{f[n]=e-t})),h.forEach(((e,n)=>{h[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:f,slidesGrid:h,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){PL(r,"--swiper-centered-offset-before","".concat(-f[0],"px")),PL(r,"--swiper-centered-offset-after","".concat(e.size/2-p[p.length-1]/2,"px"));const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t="".concat(n.containerModifierClass,"backface-hidden"),r=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?r||e.el.classList.add(t):r&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o,i=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>r?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){const e=t.activeIndex+o;if(e>t.slides.length&&!r)break;n.push(s(e))}else n.push(s(t.activeIndex));for(o=0;o<n.length;o+=1)if(void 0!==n[o]){const e=n[o].offsetHeight;i=e>i?e:i}(i||0===i)&&(t.wrapperEl.style.height="".concat(i,"px"))},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(0===r.length)return;void 0===r[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;o&&(s=e),r.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let l=0;l<r.length;l+=1){const e=r[l];let c=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const u=(s+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+a),d=(s-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+a),f=-(s-c),h=f+t.slidesSizesGrid[l],p=f>=0&&f<=t.size-t.slidesSizesGrid[l];(f>=0&&f<t.size-1||h>1&&h<=t.size||f<=0&&h>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),p&&r[l].classList.add(n.slideFullyVisibleClass),e.progress=o?-u:u,e.originalProgress=o?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:s,progressLoop:a}=t;const l=i,c=s;if(0===r)o=0,i=!0,s=!0;else{o=(e-t.minTranslate())/r;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;i=n||o<=0,s=a||o>=1,n&&(o=0),a&&(o=1)}if(n.loop){const n=t.getSlideIndexByData(0),r=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[n],i=t.slidesGrid[r],s=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=o?(l-o)/s:(l+s-i)/s,a>1&&(a-=1)}Object.assign(t,{progress:o,progressLoop:a,isBeginning:i,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!i||c&&!s)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,a=e=>RL(r,".".concat(n.slideClass).concat(e,", swiper-slide").concat(e))[0];let l,c,u;if(t.forEach((e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),i)if(n.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a('[data-swiper-slide-index="'.concat(t,'"]'))}else l=a('[data-swiper-slide-index="'.concat(o,'"]'));else s?(l=t.filter((e=>e.column===o))[0],u=t.filter((e=>e.column===o+1))[0],c=t.filter((e=>e.column===o-1))[0]):l=t[o];l&&(l.classList.add(n.slideActiveClass),s?(u&&u.classList.add(n.slideNextClass),c&&c.classList.add(n.slidePrevClass)):(u=function(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&!u&&(u=t[0]),u&&u.classList.add(n.slideNextClass),c=function(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&0===!c&&(c=t[t.length-1]),c&&c.classList.add(n.slidePrevClass))),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:s,snapIndex:a}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)void 0!==t[i+1]?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||void 0===o)&&(o=0),o}(t)),r.indexOf(n)>=0)l=r.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/o.slidesPerGroup)}if(l>=r.length&&(l=r.length-1),c===i&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&o.grid&&o.grid.rows>1;let f;if(t.virtual&&o.virtual.enabled&&o.loop)f=u(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),f=Math.floor(n/o.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");f=e?parseInt(e,10):c}else f=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:s,realIndex:f,previousIndex:i,activeIndex:c}),t.initialized&&GL(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,r=n.params;let o=e.closest(".".concat(r.slideClass,", swiper-slide"));!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!o&&e.matches&&e.matches(".".concat(r.slideClass,", swiper-slide"))&&(o=e)}));let i,s=!1;if(o)for(let a=0;a<n.slides.length;a+=1)if(n.slides[a]===o){s=!0,i=a;break}if(!o||!s)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=i,r.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var ZL={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:r,wrapperEl:o}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let i=LL(o,e);return i+=this.cssOverflowAdjustment(),n&&(i=-i),i||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:s}=n;let a,l=0,c=0;n.isHorizontal()?l=r?-e:e:c=e,o.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:o.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),i.style.transform="translate3d(".concat(l,"px, ").concat(c,"px, ").concat(0,"px)"));const u=n.maxTranslate()-n.minTranslate();a=0===u?0:(e-n.minTranslate())/u,a!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);const i=this,{params:s,wrapperEl:a}=i;if(i.animating&&s.preventInteractionOnTransition)return!1;const l=i.minTranslate(),c=i.maxTranslate();let u;if(u=r&&e>l?l:r&&e<c?c:e,i.updateProgress(u),s.cssMode){const e=i.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return ML({swiper:i,targetPosition:-u,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}};function JL(e){let{swiper:t,runCallbacks:n,direction:r,step:o}=e;const{activeIndex:i,previousIndex:s}=t;let a=r;if(a||(a=i>s?"next":i<s?"prev":"reset"),t.emit("transition".concat(o)),n&&i!==s){if("reset"===a)return void t.emit("slideResetTransition".concat(o));t.emit("slideChangeTransition".concat(o)),"next"===a?t.emit("slideNextTransition".concat(o)):t.emit("slidePrevTransition".concat(o))}}var KL={slideTo:function(e,t,n,r,o){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const i=this;let s=e;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:f,wrapperEl:h,enabled:p}=i;if(i.animating&&a.preventInteractionOnTransition||!p&&!r&&!o)return!1;const m=Math.min(i.params.slidesPerGroupSkip,s);let v=m+Math.floor((s-m)/i.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const g=-l[v];if(a.normalizeSlideIndex)for(let y=0;y<c.length;y+=1){const e=-Math.floor(100*g),t=Math.floor(100*c[y]),n=Math.floor(100*c[y+1]);void 0!==c[y+1]?e>=t&&e<n-(n-t)/2?s=y:e>=t&&e<n&&(s=y+1):e>=t&&(s=y)}if(i.initialized&&s!==d){if(!i.allowSlideNext&&(f?g>i.translate&&g>i.minTranslate():g<i.translate&&g<i.minTranslate()))return!1;if(!i.allowSlidePrev&&g>i.translate&&g>i.maxTranslate()&&(d||0)!==s)return!1}let b;if(s!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(g),b=s>d?"next":s<d?"prev":"reset",f&&-g===i.translate||!f&&g===i.translate)return i.updateActiveIndex(s),a.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),"slide"!==a.effect&&i.setTranslate(g),"reset"!==b&&(i.transitionStart(n,b),i.transitionEnd(n,b)),!1;if(a.cssMode){const e=i.isHorizontal(),n=f?g:-g;if(0===t){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),t&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=n}))):h[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1}))}else{if(!i.support.smoothScroll)return ML({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(g),i.updateActiveIndex(s),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,b),0===t?i.transitionEnd(n,b):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(e){i&&!i.destroyed&&e.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,b))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const o=this,i=o.grid&&o.params.grid&&o.params.grid.rows>1;let s=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)s+=o.virtual.slidesBefore;else{let e;if(i){const t=s*o.params.grid.rows;e=o.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=o.getSlideIndexByData(s);const t=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:n}=o.params;let r=o.params.slidesPerView;"auto"===r?r=o.slidesPerViewDynamic():(r=Math.ceil(parseFloat(o.params.slidesPerView,10)),n&&r%2==0&&(r+=1));let a=t-e<r;if(n&&(a=a||e<Math.ceil(r/2)),a){const r=n?e<o.activeIndex?"prev":"next":e-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?o.realIndex:void 0})}if(i){const e=s*o.params.grid.rows;s=o.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else s=o.getSlideIndexByData(s)}return requestAnimationFrame((()=>{o.slideTo(s,t,n,r)})),o},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{enabled:o,params:i,animating:s}=r;if(!o)return r;let a=i.slidesPerGroup;"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:a,c=r.virtual&&i.virtual.enabled;if(i.loop){if(s&&!c&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame((()=>{r.slideTo(r.activeIndex+l,e,t,n)})),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const r=this,{params:o,snapGrid:i,slidesGrid:s,rtlTranslate:a,enabled:l,animating:c}=r;if(!l)return r;const u=r.virtual&&o.virtual.enabled;if(o.loop){if(c&&!u&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const f=d(a?r.translate:-r.translate),h=i.map((e=>d(e)));let p=i[h.indexOf(f)-1];if(void 0===p&&o.cssMode){let e;i.forEach(((t,n)=>{f>=t&&(e=n)})),void 0!==e&&(p=i[e>0?e-1:e])}let m=0;if(void 0!==p&&(m=s.indexOf(p),m<0&&(m=r.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(m=m-r.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),o.rewind&&r.isBeginning){const o=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(o,e,t,n)}return o.loop&&0===r.activeIndex&&o.cssMode?(requestAnimationFrame((()=>{r.slideTo(m,e,t,n)})),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);const o=this;let i=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,i),a=s+Math.floor((i-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[a]){const e=o.snapGrid[a];l-e>(o.snapGrid[a+1]-e)*r&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[a-1];l-e<=(o.snapGrid[a]-e)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,i=e.clickedIndex;const s=e.isElement?"swiper-slide":".".concat(t.slideClass);if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?i<e.loopedSlides-r/2||i>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(RL(n,"".concat(s,'[data-swiper-slide-index="').concat(o,'"]'))[0]),TL((()=>{e.slideTo(i)}))):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(RL(n,"".concat(s,'[data-swiper-slide-index="').concat(o,'"]'))[0]),TL((()=>{e.slideTo(i)}))):e.slideTo(i)}else e.slideTo(i)}};var QL={loopCreate:function(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const o=()=>{RL(r,".".concat(n.slideClass,", swiper-slide")).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},i=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(i?n.grid.rows:1),a=t.slides.length%s!=0,l=i&&t.slides.length%n.grid.rows!=0,c=e=>{for(let r=0;r<e;r+=1){const e=t.isElement?NL("swiper-slide",[n.slideBlankClass]):NL("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};if(a){if(n.loopAddBlankSlides){c(s-t.slides.length%s),t.recalcSlides(),t.updateSlides()}else DL();o()}else if(l){if(n.loopAddBlankSlides){c(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()}else DL();o()}else o();t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:i,byController:s,byMousewheel:a}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:f,params:h}=l,{centeredSlides:p}=h;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return n&&(h.centeredSlides||0!==l.snapIndex?h.centeredSlides&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,void l.emit("loopFix");let m=h.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),p&&m%2==0&&(m+=1));const v=h.slidesPerGroupAuto?m:h.slidesPerGroup;let g=v;g%v!=0&&(g+=v-g%v),g+=h.loopAdditionalSlides,l.loopedSlides=g;const b=l.grid&&h.grid&&h.grid.rows>1;(c.length<m+g||b&&"row"===h.grid.fill)&&DL();const y=[],w=[];let x=l.activeIndex;void 0===i?i=l.getSlideIndex(c.filter((e=>e.classList.contains(h.slideActiveClass)))[0]):x=i;const S="next"===r||!r,E="prev"===r||!r;let C=0,k=0;const _=b?Math.ceil(c.length/h.grid.rows):c.length,T=(b?c[i].column:i)+(p&&void 0===o?-m/2+.5:0);if(T<g){C=Math.max(g-T,v);for(let e=0;e<g-T;e+=1){const t=e-Math.floor(e/_)*_;if(b){const e=_-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&y.push(t)}else y.push(_-t-1)}}else if(T+m>_-g){k=Math.max(T-(_-2*g),v);for(let e=0;e<k;e+=1){const t=e-Math.floor(e/_)*_;b?c.forEach(((e,n)=>{e.column===t&&w.push(n)})):w.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),E&&y.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),S&&w.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():b&&(y.length>0&&E||w.length>0&&S)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),n)if(y.length>0&&E){if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x+C]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x+C,0,!1,!0),o&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(o){const e=b?y.length/h.grid.rows:y.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&S)if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x-k]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x-k,0,!1,!0),o&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=b?w.length/h.grid.rows:w.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const e={slideRealIndex:t,direction:r,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;r[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),r.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function eA(e,t,n){const r=_L(),{params:o}=e,i=o.edgeSwipeDetection,s=o.edgeSwipeThreshold;return!i||!(n<=s||n>=r.innerWidth-s)||"prevent"===i&&(t.preventDefault(),!0)}function tA(e){const t=this,n=CL();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if("pointerdown"===r.type){if(null!==o.pointerId&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(o.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void eA(t,r,r.targetTouches[0].pageX);const{params:i,touches:s,enabled:a}=t;if(!a)return;if(!i.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=r.target;if("wrapper"===i.touchEventsTarget&&!t.wrapperEl.contains(l))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(o.isTouched&&o.isMoved)return;const c=!!i.noSwipingClass&&""!==i.noSwipingClass,u=r.composedPath?r.composedPath():r.path;c&&r.target&&r.target.shadowRoot&&u&&(l=u[0]);const d=i.noSwipingSelector?i.noSwipingSelector:".".concat(i.noSwipingClass),f=!(!r.target||!r.target.shadowRoot);if(i.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===CL()||n===_L())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(d,l):l.closest(d)))return void(t.allowClick=!0);if(i.swipeHandler&&!l.closest(i.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const h=s.currentX,p=s.currentY;if(!eA(t,r,h))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=p,o.touchStartTime=OL(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let m=!0;l.matches(o.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const v=m&&t.allowTouchMove&&i.touchStartPreventDefault;!i.touchStartForcePreventDefault&&!v||l.isContentEditable||r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function nA(e){const t=CL(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:s,enabled:a}=n;if(!a)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==r.touchId)return;if(c.pointerId!==r.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].filter((e=>e.identifier===r.touchId))[0],!l||l.identifier!==r.touchId)return}else l=c;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c));const u=l.pageX,d=l.pageY;if(c.preventedByNestedSwiper)return i.startX=u,void(i.startY=d);if(!n.allowTouchMove)return c.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d}),r.touchStartTime=OL()));if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(d<i.startY&&n.translate<=n.maxTranslate()||d>i.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(u<i.startX&&n.translate<=n.maxTranslate()||u>i.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",c),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=u,i.currentY=d;const f=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(f**2+h**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,r.isScrolling=n.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),void 0===r.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&c.cancelable&&c.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&c.stopPropagation();let p=n.isHorizontal()?f:h,m=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(p=Math.abs(p)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),i.diff=p,p*=o.touchRatio,s&&(p=-p,m=-m);const v=n.touchesDirection;n.swipeDirection=p>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!o.cssMode,b="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(g&&b&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&v!==n.touchesDirection&&g&&b&&Math.abs(p)>=1)return Object.assign(i,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=p+r.startTranslate;let y=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),p>0?(g&&b&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(y=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+p)**w))):p<0&&(g&&b&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===o.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(y=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-p)**w))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),o.threshold>0){if(!(Math.abs(p)>o.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,void(i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function rA(e){const t=this,n=t.touchEventsData;let r,o=e;o.originalEvent&&(o=o.originalEvent);if("touchend"===o.type||"touchcancel"===o.type){if(r=[...o.changedTouches].filter((e=>e.identifier===n.touchId))[0],!r||r.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(o.pointerId!==n.pointerId)return;r=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)){if(!(["pointercancel","contextmenu"].includes(o.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:i,touches:s,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!i.simulateTouch&&"mouse"===o.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",o),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=OL(),d=u-n.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target,e),t.emit("tap click",o),d<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(n.lastClickTime=OL(),TL((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let f;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,f=i.followFinger?a?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let p=0,m=t.slidesSizesGrid[0];for(let w=0;w<l.length;w+=w<i.slidesPerGroupSkip?1:i.slidesPerGroup){const e=w<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==l[w+e]?(h||f>=l[w]&&f<l[w+e])&&(p=w,m=l[w+e]-l[w]):(h||f>=l[w])&&(p=w,m=l[l.length-1]-l[l.length-2])}let v=null,g=null;i.rewind&&(t.isBeginning?g=i.virtual&&i.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(f-l[p])/m,y=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?v:p+y):t.slideTo(p)),"prev"===t.swipeDirection&&(b>1-i.longSwipesRatio?t.slideTo(p+y):null!==g&&b<0&&Math.abs(b)>i.longSwipesRatio?t.slideTo(g):t.slideTo(p))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(p+y):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==v?v:p+y),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:p))}}function oA(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function iA(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function sA(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();o=0===i?0:(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function aA(e){const t=this;XL(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function lA(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const cA=(e,t)=>{const n=CL(),{params:r,el:o,wrapperEl:i,device:s}=e,a=!!r.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",oA,!0):e[c]("observerUpdate",oA,!0),o[l]("load",e.onLoad,{capture:!0})};const uA=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var dA={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&0===Object.keys(i).length)return;const s=e.getBreakpoint(i,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const a=(s in i?i[s]:void 0)||e.originalParams,l=uA(e,r),c=uA(e,a),u=r.enabled;l&&!c?(o.classList.remove("".concat(r.containerModifierClass,"grid"),"".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&c&&(o.classList.add("".concat(r.containerModifierClass,"grid")),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===r.grid.fill)&&o.classList.add("".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===a[t])return;const n=r[t]&&r[t].enabled,o=a[t]&&a[t].enabled;n&&!o&&e[t].disable(),!n&&o&&e[t].enable()}));const d=a.direction&&a.direction!==r.direction,f=r.loop&&(a.slidesPerView!==r.slidesPerView||d),h=r.loop;d&&n&&e.changeDirection(),IL(e.params,a);const p=e.params.enabled,m=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!p?e.disable():!u&&p&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",a),n&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!h&&m?(e.loopCreate(t),e.updateSlides()):h&&!m&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1;const o=_L(),i="window"===t?o.innerHeight:n.clientHeight,s=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:i*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let a=0;a<s.length;a+=1){const{point:e,value:i}=s[a];"window"===t?o.matchMedia("(min-width: ".concat(i,"px)")).matches&&(r=e):i<=n.clientWidth&&(r=e)}return r||"max"}};var fA={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function hA(e,t){return function(n){void 0===n&&(n={});const r=Object.keys(n)[0],o=n[r];"object"==typeof o&&null!==o?(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),r in e&&"enabled"in o?("object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),IL(t,n)):IL(t,n)):IL(t,n)}}const pA={eventsEmitter:{on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;const o=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][o](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!=typeof t)return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];t.apply(r,i)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,o)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,r;for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];"string"==typeof i[0]||Array.isArray(i[0])?(t=i[0],n=i.slice(1,i.length),r=e):(t=i[0].events,n=i[0].data,r=i[0].context||e),n.unshift(r);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(r,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(r,n)}))})),e}},update:qL,translate:ZL,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration="".concat(e,"ms"),n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),JL({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),JL({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:KL,loop:QL,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=tA.bind(e),e.onTouchMove=nA.bind(e),e.onTouchEnd=rA.bind(e),e.onDocumentTouchStart=lA.bind(e),t.cssMode&&(e.onScroll=sA.bind(e)),e.onClick=iA.bind(e),e.onLoad=aA.bind(e),cA(e,"on")},detachEvents:function(){cA(this,"off")}},breakpoints:dA,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),o.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},mA={};let vA=class e{constructor(){let t,n;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?n=o[0]:[t,n]=o,n||(n={}),n=IL({},n),t&&!n.el&&(n.el=t);const s=CL();if(n.el&&"string"==typeof n.el&&s.querySelectorAll(n.el).length>1){const t=[];return s.querySelectorAll(n.el).forEach((r=>{const o=IL({},n,{el:r});t.push(new e(o))})),t}const a=this;a.__swiper__=!0,a.support=VL(),a.device=YL({userAgent:n.userAgent}),a.browser=UL(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach((e=>{e({params:n,swiper:a,extendParams:hA(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=IL({},fA,l);return a.params=IL({},c,mA,n),a.originalParams=IL({},a.params),a.passedParams=IL({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,r=zL(RL(t,".".concat(n.slideClass,", swiper-slide"))[0]);return zL(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=RL(e,".".concat(t.slideClass,", swiper-slide"))}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),o=(n.maxTranslate()-r)*e+r;n.translateTo(o,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:r,slidesGrid:o,slidesSizesGrid:i,size:s,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[a]?r[a].swiperSlideSize:0;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let c=a+1;c<r.length;c+=1){(t?o[c]+i[c]-o[a]<s:o[c]-o[a]<s)&&(l+=1)}else for(let c=a-1;c>=0;c-=1){o[a]-o[c]<s&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&XL(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove("".concat(n.params.containerModifierClass).concat(r)),n.el.classList.add("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&"SWIPER-CONTAINER"===n.parentNode.host.nodeName&&(t.isElement=!0);const r=()=>".".concat((t.params.wrapperClass||"").trim().split(" ").join("."));let o=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(r())}return RL(n,r())[0]})();return!o&&t.params.createElements&&(o=NL("div",t.params.wrapperClass),n.append(o),RL(n,".".concat(t.params.slideClass)).forEach((e=>{o.append(e)}))),Object.assign(t,{el:n,wrapperEl:o,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===BL(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===BL(n,"direction")),wrongRTL:"-webkit-box"===BL(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?XL(t,e):e.addEventListener("load",(e=>{XL(t,e.target)}))})),GL(t),t.initialized=!0,GL(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:r,el:o,wrapperEl:i,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o.removeAttribute("style"),i.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(YC){}try{delete t[e]}catch(YC){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){IL(mA,e)}static get extendedDefaults(){return mA}static get defaults(){return fA}static installModule(t){e.prototype.__modules__||(e.prototype.__modules__=[]);const n=e.prototype.__modules__;"function"==typeof t&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach((t=>e.installModule(t))),e):(e.installModule(t),e)}};Object.keys(pA).forEach((e=>{Object.keys(pA[e]).forEach((t=>{vA.prototype[t]=pA[e][t]}))})),vA.use([function(e){let{swiper:t,on:n,emit:r}=e;const o=_L();let i=null,s=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==o.ResizeObserver?t&&!t.destroyed&&t.initialized&&(i=new ResizeObserver((e=>{s=o.requestAnimationFrame((()=>{const{width:n,height:r}=t;let o=n,i=r;e.forEach((e=>{let{contentBoxSize:n,contentRect:r,target:s}=e;s&&s!==t.el||(o=r?r.width:(n[0]||n).inlineSize,i=r?r.height:(n[0]||n).blockSize)})),o===n&&i===r||a()}))})),i.observe(t.el)):(o.addEventListener("resize",a),o.addEventListener("orientationchange",l))})),n("destroy",(()=>{s&&o.cancelAnimationFrame(s),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null),o.removeEventListener("resize",a),o.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i=[],s=_L(),a=function(e,n){void 0===n&&(n={});const r=new(s.MutationObserver||s.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void o("observerUpdate",e[0]);const n=function(){o("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(n):s.setTimeout(n,0)}));r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=function(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}(t.hostEl);for(let t=0;t<e.length;t+=1)a(e[t])}a(t.hostEl,{childList:t.params.observeSlideChildren}),a(t.wrapperEl,{attributes:!1})}})),r("destroy",(()=>{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);const gA=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function bA(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function yA(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>n.indexOf(e)<0)).forEach((n=>{void 0===e[n]?e[n]=t[n]:bA(t[n])&&bA(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:yA(e[n],t[n]):e[n]=t[n]}))}function wA(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function xA(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function SA(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function EA(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),n=[];return t.forEach((e=>{n.indexOf(e)<0&&n.push(e)})),n.join(" ")}function CA(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const n={on:{}},r={},o={};yA(n,fA),n._emitClasses=!0,n.init=!1;const i={},s=gA.map((e=>e.replace(/_/,""))),a=Object.assign({},e);return Object.keys(a).forEach((a=>{void 0!==e[a]&&(s.indexOf(a)>=0?bA(e[a])?(n[a]={},o[a]={},yA(n[a],e[a]),yA(o[a],e[a])):(n[a]=e[a],o[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"==typeof e[a]?t?r["".concat(a[2].toLowerCase()).concat(a.substr(3))]=e[a]:n.on["".concat(a[2].toLowerCase()).concat(a.substr(3))]=e[a]:i[a]=e[a])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]})),{params:n,passedParams:o,rest:i,events:r}}function kA(e,t,n){void 0===e&&(e={});const r=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},i=(e,t)=>{Array.isArray(e)&&e.forEach((e=>{const n="symbol"==typeof e.type;"default"===t&&(t="container-end"),n&&e.children?i(e.children,t):!e.type||"SwiperSlide"!==e.type.name&&"AsyncComponentWrapper"!==e.type.name?o[t]&&o[t].push(e):r.push(e)}))};return Object.keys(e).forEach((t=>{if("function"!=typeof e[t])return;const n=e[t]();i(n,t)})),n.value=t.value,t.value=r,{slides:r,slots:o}}const _A={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideFullyVisibleClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","breakpointsBase","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slidesUpdated","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,t){let{slots:n,emit:r}=t;const{tag:o,wrapperTag:i}=e,s=Xt("swiper"),a=Xt(null),l=Xt(!1),c=Xt(!1),u=Xt(null),d=Xt(null),f=Xt(null),h={value:[]},p={value:[]},m=Xt(null),v=Xt(null),g=Xt(null),b=Xt(null),{params:y,passedParams:w}=CA(e,!1);kA(n,h,p),f.value=w,p.value=h.value;y.onAny=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r(e,...n)},Object.assign(y.on,{_beforeBreakpoint:()=>{kA(n,h,p),l.value=!0},_containerClasses(e,t){s.value=t}});const x={...y};if(delete x.wrapperClass,d.value=new vA(x),d.value.virtual&&d.value.params.virtual.enabled){d.value.virtual.slides=h.value;const e={cache:!1,slides:h.value,renderExternal:e=>{a.value=e},renderExternalUpdate:!1};yA(d.value.params.virtual,e),yA(d.value.originalParams.virtual,e)}function S(e){return y.virtual?function(e,t,n){if(!n)return null;const r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},o=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:"".concat(n.offset,"px")}:{top:"".concat(n.offset,"px")},{from:i,to:s}=n,a=e.value.params.loop?-t.length:0,l=e.value.params.loop?2*t.length:t.length,c=[];for(let u=a;u<l;u+=1)u>=i&&u<=s&&c.push(t[r(u)]);return c.map((t=>(t.props||(t.props={}),t.props.style||(t.props.style={}),t.props.swiperRef=e,t.props.style=o,ts(t.type,{...t.props},t.children))))}(d,e,a.value):(e.forEach(((e,t)=>{e.props||(e.props={}),e.props.swiperRef=d,e.props.swiperSlideIndex=t})),e)}return Ir((()=>{!c.value&&d.value&&(d.value.emitSlidesClasses(),c.value=!0);const{passedParams:t}=CA(e,!1),n=function(e,t,n,r,o){const i=[];if(!t)return i;const s=e=>{i.indexOf(e)<0&&i.push(e)};if(n&&r){const e=r.map(o),t=n.map(o);e.join("")!==t.join("")&&s("children"),r.length!==n.length&&s("children")}return gA.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((n=>{if(n in e&&n in t)if(bA(e[n])&&bA(t[n])){const r=Object.keys(e[n]),o=Object.keys(t[n]);r.length!==o.length?s(n):(r.forEach((r=>{e[n][r]!==t[n][r]&&s(n)})),o.forEach((r=>{e[n][r]!==t[n][r]&&s(n)})))}else e[n]!==t[n]&&s(n)})),i}(t,f.value,h.value,p.value,(e=>e.props&&e.props.key));f.value=t,(n.length||l.value)&&d.value&&!d.value.destroyed&&function(e){let{swiper:t,slides:n,passedParams:r,changedParams:o,nextEl:i,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const c=o.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:u,pagination:d,navigation:f,scrollbar:h,virtual:p,thumbs:m}=t;let v,g,b,y,w,x,S,E;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(v=!0),o.includes("controller")&&r.controller&&r.controller.control&&u.controller&&!u.controller.control&&(g=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(u.pagination||!1===u.pagination)&&d&&!d.el&&(b=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(u.scrollbar||!1===u.scrollbar)&&h&&!h.el&&(y=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||i)&&(u.navigation||!1===u.navigation)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const C=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),u[e].prevEl=void 0,u[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),u[e].el=void 0,t[e].el=void 0))};o.includes("loop")&&t.isElement&&(u.loop&&!r.loop?x=!0:!u.loop&&r.loop?S=!0:E=!0),c.forEach((e=>{if(bA(u[e])&&bA(r[e]))Object.assign(u[e],r[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in r[e])||r[e].enabled||C(e);else{const t=r[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=r[e]:!1===t&&C(e)}})),c.includes("controller")&&!g&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),o.includes("children")&&n&&p&&u.virtual.enabled?(p.slides=n,p.update(!0)):o.includes("virtual")&&p&&u.virtual.enabled&&(n&&(p.slides=n),p.update(!0)),o.includes("children")&&n&&u.loop&&(E=!0),v&&m.init()&&m.update(!0);g&&(t.controller.control=u.controller.control),b&&(!t.isElement||l&&"string"!=typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(u.pagination.el=l),d.init(),d.render(),d.update()),y&&(!t.isElement||a&&"string"!=typeof a||(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(u.scrollbar.el=a),h.init(),h.updateSize(),h.setTranslate()),w&&(t.isElement&&(i&&"string"!=typeof i||(i=document.createElement("div"),i.classList.add("swiper-button-next"),i.innerHTML=t.hostEl.constructor.nextButtonSvg,i.part.add("button-next"),t.el.appendChild(i)),s&&"string"!=typeof s||(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),i&&(u.navigation.nextEl=i),s&&(u.navigation.prevEl=s),f.init(),f.update()),o.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&t.changeDirection(r.direction,!1),(x||E)&&t.loopDestroy(),(S||E)&&t.loopCreate(),t.update()}({swiper:d.value,slides:h.value,passedParams:t,changedParams:n,nextEl:m.value,prevEl:v.value,scrollbarEl:b.value,paginationEl:g.value}),l.value=!1})),xo("swiper",d),qo(a,(()=>{Sn((()=>{var e;!(e=d.value)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}))})),Lr((()=>{u.value&&(!function(e,t){let{el:n,nextEl:r,prevEl:o,paginationEl:i,scrollbarEl:s,swiper:a}=e;wA(t)&&r&&o&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=o,a.originalParams.navigation.prevEl=o),xA(t)&&i&&(a.params.pagination.el=i,a.originalParams.pagination.el=i),SA(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}({el:u.value,nextEl:m.value,prevEl:v.value,paginationEl:g.value,scrollbarEl:b.value,swiper:d.value},y),r("swiper",d.value))})),Pr((()=>{d.value&&!d.value.destroyed&&d.value.destroy(!0,!1)})),()=>{const{slides:t,slots:r}=kA(n,h,p);return ts(o,{ref:u,class:EA(s.value)},[r["container-start"],ts(i,{class:(a=y.wrapperClass,void 0===a&&(a=""),a?a.includes("swiper-wrapper")?a:"swiper-wrapper ".concat(a):"swiper-wrapper")},[r["wrapper-start"],S(t),r["wrapper-end"]]),wA(e)&&[ts("div",{ref:v,class:"swiper-button-prev"}),ts("div",{ref:m,class:"swiper-button-next"})],SA(e)&&ts("div",{ref:b,class:"swiper-scrollbar"}),xA(e)&&ts("div",{ref:g,class:"swiper-pagination"}),r["container-end"]]);var a}}},TA={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:n}=t,r=!1;const{swiperRef:o}=e,i=Xt(null),s=Xt("swiper-slide"),a=Xt(!1);function l(e,t,n){t===i.value&&(s.value=n)}Lr((()=>{o&&o.value&&(o.value.on("_slideClass",l),r=!0)})),Ar((()=>{!r&&o&&o.value&&(o.value.on("_slideClass",l),r=!0)})),Ir((()=>{i.value&&o&&o.value&&(void 0!==e.swiperSlideIndex&&(i.value.swiperSlideIndex=e.swiperSlideIndex),o.value.destroyed&&"swiper-slide"!==s.value&&(s.value="swiper-slide"))})),Pr((()=>{o&&o.value&&o.value.off("_slideClass",l)}));const c=es((()=>({isActive:s.value.indexOf("swiper-slide-active")>=0,isVisible:s.value.indexOf("swiper-slide-visible")>=0,isPrev:s.value.indexOf("swiper-slide-prev")>=0,isNext:s.value.indexOf("swiper-slide-next")>=0})));xo("swiperSlide",c);const u=()=>{a.value=!0};return()=>ts(e.tag,{class:EA("".concat(s.value)),ref:i,"data-swiper-slide-index":void 0===e.virtualIndex&&o&&o.value&&o.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:u},e.zoom?ts("div",{class:"swiper-zoom-container","data-swiper-zoom":"number"==typeof e.zoom?e.zoom:void 0},[n.default&&n.default(c.value),e.lazy&&!a.value&&ts("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(c.value),e.lazy&&!a.value&&ts("div",{class:"swiper-lazy-preloader"})])}};function OA(e){let t,n,r,o,{swiper:i,extendParams:s,on:a}=e;s({grid:{rows:1,fill:"column"}});const l=()=>{let e=i.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*i.size:"string"==typeof e&&(e=parseFloat(e)),e};a("init",(()=>{o=i.params.grid&&i.params.grid.rows>1})),a("update",(()=>{const{params:e,el:t}=i,n=e.grid&&e.grid.rows>1;o&&!n?(t.classList.remove("".concat(e.containerModifierClass,"grid"),"".concat(e.containerModifierClass,"grid-column")),r=1,i.emitContainerClasses()):!o&&n&&(t.classList.add("".concat(e.containerModifierClass,"grid")),"column"===e.grid.fill&&t.classList.add("".concat(e.containerModifierClass,"grid-column")),i.emitContainerClasses()),o=n})),i.grid={initSlides:e=>{const{slidesPerView:o}=i.params,{rows:s,fill:a}=i.params.grid,l=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:e.length;r=Math.floor(l/s),t=Math.floor(l/s)===l/s?l:Math.ceil(l/s)*s,"auto"!==o&&"row"===a&&(t=Math.max(t,o*s)),n=t/s},unsetSlides:()=>{i.slides&&i.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[i.getDirectionLabel("margin-top")]="")}))},updateSlide:(e,o,s)=>{const{slidesPerGroup:a}=i.params,c=l(),{rows:u,fill:d}=i.params.grid,f=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:s.length;let h,p,m;if("row"===d&&a>1){const n=Math.floor(e/(a*u)),r=e-u*a*n,i=0===n?a:Math.min(Math.ceil((f-n*u*a)/u),a);m=Math.floor(r/i),p=r-m*i+n*a,h=p+m*t/u,o.style.order=h}else"column"===d?(p=Math.floor(e/u),m=e-p*u,(p>r||p===r&&m===u-1)&&(m+=1,m>=u&&(m=0,p+=1))):(m=Math.floor(e/n),p=e-m*n);o.row=m,o.column=p,o.style.height="calc((100% - ".concat((u-1)*c,"px) / ").concat(u,")"),o.style[i.getDirectionLabel("margin-top")]=0!==m?c&&"".concat(c,"px"):"",o.swiperSlideGridSet=!0},updateWrapperSize:(e,n)=>{const{centeredSlides:r,roundLengths:o}=i.params,s=l(),{rows:a}=i.params.grid;if(i.virtualSize=(e+s)*t,i.virtualSize=Math.ceil(i.virtualSize/a)-s,i.params.cssMode||(i.wrapperEl.style[i.getDirectionLabel("width")]="".concat(i.virtualSize+s,"px")),r){const e=[];for(let t=0;t<n.length;t+=1){let r=n[t];o&&(r=Math.floor(r)),n[t]<i.virtualSize+n[0]&&e.push(r)}n.splice(0,n.length),n.push(...e)}}}}var LA=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),AA=function(e){function t(t,n){var r,o,i,s=this.constructor,a=e.call(this,t,n)||this;return Object.defineProperty(a,"name",{value:s.name,enumerable:!1,configurable:!0}),r=a,o=s.prototype,(i=Object.setPrototypeOf)?i(r,o):r.__proto__=o,function(e,t){void 0===t&&(t=e.constructor);var n=Error.captureStackTrace;n&&n(e,t)}(a),a}return LA(t,e),t}(Error);try{self["workbox:window:7.2.0"]&&_()}catch(PP){}function IA(e,t){return new Promise((function(n){var r=new MessageChannel;r.port1.onmessage=function(e){n(e.data)},e.postMessage(t,[r.port2])}))}function PA(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function MA(e,t){return(MA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function RA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}try{self["workbox:core:7.2.0"]&&_()}catch(PP){}var DA=function(){var e=this;this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))};function NA(e,t){var n=location.href;return new URL(e,n).href===new URL(t,n).href}var BA=function(e,t){this.type=e,Object.assign(this,t)};function zA(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function FA(){}var jA={type:"SKIP_WAITING"};function WA(e,t){if(!t)return e&&e.then?e.then(FA):Promise.resolve()}var HA=function(e){function t(t,n){var r,o;return void 0===n&&(n={}),(r=e.call(this)||this).nn={},r.tn=0,r.rn=new DA,r.en=new DA,r.on=new DA,r.un=0,r.an=new Set,r.cn=function(){var e=r.fn,t=e.installing;r.tn>0||!NA(t.scriptURL,r.sn.toString())||performance.now()>r.un+6e4?(r.vn=t,e.removeEventListener("updatefound",r.cn)):(r.hn=t,r.an.add(t),r.rn.resolve(t)),++r.tn,t.addEventListener("statechange",r.ln)},r.ln=function(e){var t=r.fn,n=e.target,o=n.state,i=n===r.vn,s={sw:n,isExternal:i,originalEvent:e};!i&&r.mn&&(s.isUpdate=!0),r.dispatchEvent(new BA(o,s)),"installed"===o?r.wn=self.setTimeout((function(){"installed"===o&&t.waiting===n&&r.dispatchEvent(new BA("waiting",s))}),200):"activating"===o&&(clearTimeout(r.wn),i||r.en.resolve(n))},r.yn=function(e){var t=r.hn,n=t!==navigator.serviceWorker.controller;r.dispatchEvent(new BA("controlling",{isExternal:n,originalEvent:e,sw:t,isUpdate:r.mn})),n||r.on.resolve(t)},r.gn=(o=function(e){var t=e.data,n=e.ports,o=e.source;return zA(r.getSW(),(function(){r.an.has(o)&&r.dispatchEvent(new BA("message",{data:t,originalEvent:e,ports:n,sw:o}))}))},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{return Promise.resolve(o.apply(this,e))}catch(n){return Promise.reject(n)}}),r.sn=t,r.nn=n,navigator.serviceWorker.addEventListener("message",r.gn),r}var n,r;r=e,(n=t).prototype=Object.create(r.prototype),n.prototype.constructor=n,MA(n,r);var o,i,s=t.prototype;return s.register=function(e){var t,n,r=(void 0===e?{}:e).immediate,o=void 0!==r&&r;try{var i=this;return zA((t=function(){return i.mn=Boolean(navigator.serviceWorker.controller),i.dn=i.pn(),zA(i.bn(),(function(e){i.fn=e,i.dn&&(i.hn=i.dn,i.en.resolve(i.dn),i.on.resolve(i.dn),i.dn.addEventListener("statechange",i.ln,{once:!0}));var t=i.fn.waiting;return t&&NA(t.scriptURL,i.sn.toString())&&(i.hn=t,Promise.resolve().then((function(){i.dispatchEvent(new BA("waiting",{sw:t,wasWaitingBeforeRegister:!0}))})).then((function(){}))),i.hn&&(i.rn.resolve(i.hn),i.an.add(i.hn)),i.fn.addEventListener("updatefound",i.cn),navigator.serviceWorker.addEventListener("controllerchange",i.yn),i.fn}))},(n=function(){if(!o&&"complete"!==document.readyState)return WA(new Promise((function(e){return window.addEventListener("load",e)})))}())&&n.then?n.then(t):t()))}catch(s){return Promise.reject(s)}},s.update=function(){try{return this.fn?zA(WA(this.fn.update())):zA()}catch(PP){return Promise.reject(PP)}},s.getSW=function(){return void 0!==this.hn?Promise.resolve(this.hn):this.rn.promise},s.messageSW=function(e){try{return zA(this.getSW(),(function(t){return IA(t,e)}))}catch(PP){return Promise.reject(PP)}},s.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&IA(this.fn.waiting,jA)},s.pn=function(){var e=navigator.serviceWorker.controller;return e&&NA(e.scriptURL,this.sn.toString())?e:void 0},s.bn=function(){try{var e=this;return zA(function(t,n){try{var r=zA(navigator.serviceWorker.register(e.sn,e.nn),(function(t){return e.un=performance.now(),t}))}catch(o){return n(o)}return r&&r.then?r.then(void 0,n):r}(0,(function(e){throw e})))}catch(t){return Promise.reject(t)}},o=t,(i=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PA(r.key),r)}}(o.prototype,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(function(){function e(){this.Pn=new Map}var t=e.prototype;return t.addEventListener=function(e,t){this.jn(e).add(t)},t.removeEventListener=function(e,t){this.jn(e).delete(t)},t.dispatchEvent=function(e){e.target=this;for(var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return RA(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RA(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(this.jn(e.type));!(t=n()).done;)(0,t.value)(e)},t.jn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},e}());const VA=Object.freeze(Object.defineProperty({__proto__:null,Workbox:HA,WorkboxEvent:BA,messageSW:IA},Symbol.toStringTag,{value:"Module"}));var YA,UA="user-agent",XA="",$A="function",GA="undefined",qA="object",ZA="string",JA="browser",KA="cpu",QA="device",eI="engine",tI="os",nI="result",rI="name",oI="type",iI="vendor",sI="version",aI="architecture",lI="major",cI="model",uI="console",dI="mobile",fI="tablet",hI="smarttv",pI="wearable",mI="xr",vI="embedded",gI="inapp",bI="brands",yI="formFactors",wI="fullVersionList",xI="platform",SI="platformVersion",EI="bitness",CI="sec-ch-ua",kI=CI+"-full-version-list",_I=CI+"-arch",TI=CI+"-"+EI,OI=CI+"-form-factors",LI=CI+"-"+dI,AI=CI+"-"+cI,II=CI+"-"+xI,PI=II+"-version",MI=[bI,wI,dI,cI,xI,SI,aI,yI,EI],RI="Amazon",DI="Apple",NI="ASUS",BI="BlackBerry",zI="Google",FI="Huawei",jI="Lenovo",WI="Honor",HI="LG",VI="Microsoft",YI="Motorola",UI="Nvidia",XI="OnePlus",$I="OPPO",GI="Samsung",qI="Sharp",ZI="Sony",JI="Xiaomi",KI="Zebra",QI="Chrome",eP="Chromium",tP="Chromecast",nP="Firefox",rP="Opera",oP="Facebook",iP="Sogou",sP="Mobile ",aP=" Browser",lP="Windows",cP=typeof window!==GA&&window.navigator?window.navigator:void 0,uP=cP&&cP.userAgentData?cP.userAgentData:void 0,dP=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},fP=function(e,t){if(typeof e===qA&&e.length>0){for(var n in e)if(vP(e[n])==vP(t))return!0;return!1}return!!pP(e)&&-1!==vP(t).indexOf(vP(e))},hP=function(e,t){for(var n in e)return/^(browser|cpu|device|engine|os)$/.test(n)||!!t&&hP(e[n])},pP=function(e){return typeof e===ZA},mP=function(e){if(e){for(var t=[],n=yP(/\\?\"/g,e).split(","),r=0;r<n.length;r++)if(n[r].indexOf(";")>-1){var o=xP(n[r]).split(";v=");t[r]={brand:o[0],version:o[1]}}else t[r]=xP(n[r]);return t}},vP=function(e){return pP(e)?e.toLowerCase():e},gP=function(e){return pP(e)?yP(/[^\d\.]/g,e).split(".")[0]:void 0},bP=function(e){for(var t in e){var n=e[t];typeof n==qA&&2==n.length?this[n[0]]=n[1]:this[n]=void 0}return this},yP=function(e,t){return pP(t)?t.replace(e,XA):t},wP=function(e){return yP(/\\?\"/g,e)},xP=function(e,t){if(pP(e))return e=yP(/^\s\s*/,e),typeof t===GA?e:e.substring(0,500)},SP=function(e,t){if(e&&t)for(var n,r,o,i,s,a,l=0;l<t.length&&!s;){var c=t[l],u=t[l+1];for(n=r=0;n<c.length&&!s&&c[n];)if(s=c[n++].exec(e))for(o=0;o<u.length;o++)a=s[++r],typeof(i=u[o])===qA&&i.length>0?2===i.length?typeof i[1]==$A?this[i[0]]=i[1].call(this,a):this[i[0]]=i[1]:3===i.length?typeof i[1]!==$A||i[1].exec&&i[1].test?this[i[0]]=a?a.replace(i[1],i[2]):void 0:this[i[0]]=a?i[1].call(this,a,i[2]):void 0:4===i.length&&(this[i[0]]=a?i[3].call(this,a.replace(i[1],i[2])):void 0):this[i]=a||void 0;l+=2}},EP=function(e,t){for(var n in t)if(typeof t[n]===qA&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(fP(t[n][r],e))return"?"===n?void 0:n}else if(fP(t[n],e))return"?"===n?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},CP={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},kP={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},_P={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[sI,[rI,sP+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[sI,[rI,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[rI,sI],[/opios[\/ ]+([\w\.]+)/i],[sI,[rI,rP+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[sI,[rI,rP+" GX"]],[/\bopr\/([\w\.]+)/i],[sI,[rI,rP]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[sI,[rI,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[sI,[rI,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[rI,sI],[/quark(?:pc)?\/([-\w\.]+)/i],[sI,[rI,"Quark"]],[/\bddg\/([\w\.]+)/i],[sI,[rI,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[sI,[rI,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[sI,[rI,"WeChat"]],[/konqueror\/([\w\.]+)/i],[sI,[rI,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[sI,[rI,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[sI,[rI,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[sI,[rI,"Smart "+jI+aP]],[/(avast|avg)\/([\w\.]+)/i],[[rI,/(.+)/,"$1 Secure"+aP],sI],[/\bfocus\/([\w\.]+)/i],[sI,[rI,nP+" Focus"]],[/\bopt\/([\w\.]+)/i],[sI,[rI,rP+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[sI,[rI,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[sI,[rI,"Dolphin"]],[/coast\/([\w\.]+)/i],[sI,[rI,rP+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[sI,[rI,"MIUI"+aP]],[/fxios\/([\w\.-]+)/i],[sI,[rI,sP+nP]],[/\bqihoobrowser\/?([\w\.]*)/i],[sI,[rI,"360"]],[/\b(qq)\/([\w\.]+)/i],[[rI,/(.+)/,"$1Browser"],sI],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[rI,/(.+)/,"$1"+aP],sI],[/samsungbrowser\/([\w\.]+)/i],[sI,[rI,GI+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[sI,[rI,iP+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[rI,iP+" Mobile"],sI],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[rI,sI],[/(lbbrowser|rekonq)/i],[rI],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[sI,rI],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[rI,oP],sI,[oI,gI]],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[rI,sI,[oI,gI]],[/\bgsa\/([\w\.]+) .*safari\//i],[sI,[rI,"GSA"],[oI,gI]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[sI,[rI,"TikTok"],[oI,gI]],[/\[(linkedin)app\]/i],[rI,[oI,gI]],[/(chromium)[\/ ]([-\w\.]+)/i],[rI,sI],[/headlesschrome(?:\/([\w\.]+)| )/i],[sI,[rI,QI+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[rI,QI+" WebView"],sI],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[sI,[rI,"Android"+aP]],[/chrome\/([\w\.]+) mobile/i],[sI,[rI,sP+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[rI,sI],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[sI,[rI,sP+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[rI,sP+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[sI,rI],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[rI,[sI,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[rI,sI],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[rI,sP+nP],sI],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[rI,"Netscape"],sI],[/(wolvic|librewolf)\/([\w\.]+)/i],[rI,sI],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[sI,[rI,nP+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[rI,[sI,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[rI,[sI,/[^\d\.]+./,XA]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[aI,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[aI,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[aI,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[aI,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[aI,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[aI,/ower/,XA,vP]],[/ sun4\w[;\)]/i],[[aI,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[aI,vP]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[cI,[iI,GI],[oI,fI]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[cI,[iI,GI],[oI,dI]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[cI,[iI,DI],[oI,dI]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[cI,[iI,DI],[oI,fI]],[/(macintosh);/i],[cI,[iI,DI]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[cI,[iI,qI],[oI,dI]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[cI,[iI,WI],[oI,fI]],[/honor([-\w ]+)[;\)]/i],[cI,[iI,WI],[oI,dI]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[cI,[iI,FI],[oI,fI]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[cI,[iI,FI],[oI,dI]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[cI,/_/g," "],[iI,JI],[oI,fI]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[cI,/_/g," "],[iI,JI],[oI,dI]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[cI,[iI,$I],[oI,dI]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[cI,[iI,EP,{OnePlus:["304","403","203"],"*":$I}],[oI,fI]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[cI,[iI,"BLU"],[oI,dI]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[cI,[iI,"Vivo"],[oI,dI]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[cI,[iI,"Realme"],[oI,dI]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[cI,[iI,YI],[oI,dI]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[cI,[iI,YI],[oI,fI]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[cI,[iI,HI],[oI,fI]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[cI,[iI,HI],[oI,dI]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[cI,[iI,jI],[oI,fI]],[/(nokia) (t[12][01])/i],[iI,cI,[oI,fI]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[cI,/_/g," "],[oI,dI],[iI,"Nokia"]],[/(pixel (c|tablet))\b/i],[cI,[iI,zI],[oI,fI]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[cI,[iI,zI],[oI,dI]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[cI,[iI,ZI],[oI,dI]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[cI,"Xperia Tablet"],[iI,ZI],[oI,fI]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[cI,[iI,XI],[oI,dI]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[cI,[iI,RI],[oI,fI]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[cI,/(.+)/g,"Fire Phone $1"],[iI,RI],[oI,dI]],[/(playbook);[-\w\),; ]+(rim)/i],[cI,iI,[oI,fI]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[cI,[iI,BI],[oI,dI]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[cI,[iI,NI],[oI,fI]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[cI,[iI,NI],[oI,dI]],[/(nexus 9)/i],[cI,[iI,"HTC"],[oI,fI]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[iI,[cI,/_/g," "],[oI,dI]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[cI,[iI,"TCL"],[oI,fI]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[cI,[iI,"TCL"],[oI,dI]],[/(itel) ((\w+))/i],[[iI,vP],cI,[oI,EP,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[cI,[iI,"Acer"],[oI,fI]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[cI,[iI,"Meizu"],[oI,dI]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[cI,[iI,"Ulefone"],[oI,dI]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[cI,[iI,"Energizer"],[oI,dI]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[cI,[iI,"Cat"],[oI,dI]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[cI,[iI,"Smartfren"],[oI,dI]],[/droid.+; (a(?:015|06[35]|142p?))/i],[cI,[iI,"Nothing"],[oI,dI]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[cI,[iI,"Archos"],[oI,fI]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[cI,[iI,"Archos"],[oI,dI]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[iI,cI,[oI,fI]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[iI,cI,[oI,dI]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[iI,cI,[oI,fI]],[/(surface duo)/i],[cI,[iI,VI],[oI,fI]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[cI,[iI,"Fairphone"],[oI,dI]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[cI,[iI,UI],[oI,fI]],[/(sprint) (\w+)/i],[iI,cI,[oI,dI]],[/(kin\.[onetw]{3})/i],[[cI,/\./g," "],[iI,VI],[oI,dI]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[cI,[iI,KI],[oI,fI]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[cI,[iI,KI],[oI,dI]],[/smart-tv.+(samsung)/i],[iI,[oI,hI]],[/hbbtv.+maple;(\d+)/i],[[cI,/^/,"SmartTV"],[iI,GI],[oI,hI]],[/tcast.+(lg)e?. ([-\w]+)/i],[iI,cI,[oI,hI]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[iI,HI],[oI,hI]],[/(apple) ?tv/i],[iI,[cI,DI+" TV"],[oI,hI]],[/crkey.*devicetype\/chromecast/i],[[cI,tP+" Third Generation"],[iI,zI],[oI,hI]],[/crkey.*devicetype\/([^/]*)/i],[[cI,/^/,"Chromecast "],[iI,zI],[oI,hI]],[/fuchsia.*crkey/i],[[cI,tP+" Nest Hub"],[iI,zI],[oI,hI]],[/crkey/i],[[cI,tP],[iI,zI],[oI,hI]],[/(portaltv)/i],[cI,[iI,oP],[oI,hI]],[/droid.+aft(\w+)( bui|\))/i],[cI,[iI,RI],[oI,hI]],[/(shield \w+ tv)/i],[cI,[iI,UI],[oI,hI]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[cI,[iI,qI],[oI,hI]],[/(bravia[\w ]+)( bui|\))/i],[cI,[iI,ZI],[oI,hI]],[/(mi(tv|box)-?\w+) bui/i],[cI,[iI,JI],[oI,hI]],[/Hbbtv.*(technisat) (.*);/i],[iI,cI,[oI,hI]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[iI,xP],[cI,xP],[oI,hI]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[cI,[oI,hI]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[oI,hI]],[/(ouya)/i,/(nintendo) (\w+)/i],[iI,cI,[oI,uI]],[/droid.+; (shield)( bui|\))/i],[cI,[iI,UI],[oI,uI]],[/(playstation \w+)/i],[cI,[iI,ZI],[oI,uI]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[cI,[iI,VI],[oI,uI]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[cI,[iI,GI],[oI,pI]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[iI,cI,[oI,pI]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[cI,[iI,$I],[oI,pI]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[cI,[iI,DI],[oI,pI]],[/(opwwe\d{3})/i],[cI,[iI,XI],[oI,pI]],[/(moto 360)/i],[cI,[iI,YI],[oI,pI]],[/(smartwatch 3)/i],[cI,[iI,ZI],[oI,pI]],[/(g watch r)/i],[cI,[iI,HI],[oI,pI]],[/droid.+; (wt63?0{2,3})\)/i],[cI,[iI,KI],[oI,pI]],[/droid.+; (glass) \d/i],[cI,[iI,zI],[oI,mI]],[/(pico) (4|neo3(?: link|pro)?)/i],[iI,cI,[oI,mI]],[/(quest( \d| pro)?s?).+vr/i],[cI,[iI,oP],[oI,mI]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[iI,[oI,vI]],[/(aeobc)\b/i],[cI,[iI,RI],[oI,vI]],[/(homepod).+mac os/i],[cI,[iI,DI],[oI,vI]],[/windows iot/i],[[oI,vI]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[cI,[oI,EP,{mobile:"Mobile",xr:"VR","*":fI}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[oI,fI]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[oI,dI]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[cI,[iI,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[sI,[rI,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[rI,sI],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[sI,[rI,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[rI,sI],[/ladybird\//i],[[rI,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[sI,rI]],os:[[/microsoft (windows) (vista|xp)/i],[rI,sI],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[rI,[sI,EP,CP]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[sI,EP,CP],[rI,lP]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[sI,/_/g,"."],[rI,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[rI,"macOS"],[sI,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[sI,[rI,tP+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[sI,[rI,tP+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[sI,[rI,tP+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[sI,[rI,tP+" Linux"]],[/crkey\/([\d\.]+)/i],[sI,[rI,tP]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[sI,rI],[/(ubuntu) ([\w\.]+) like android/i],[[rI,/(.+)/,"$1 Touch"],sI],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[rI,sI],[/\(bb(10);/i],[sI,[rI,BI]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[sI,[rI,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[sI,[rI,nP+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[sI,[rI,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[sI,[rI,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[rI,"Chrome OS"],sI],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[rI,sI],[/(sunos) ?([\w\.\d]*)/i],[[rI,"Solaris"],sI],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[rI,sI]]},TP=(YA={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}},bP.call(YA.init,[[JA,[rI,sI,lI,oI]],[KA,[aI]],[QA,[oI,cI,iI]],[eI,[rI,sI]],[tI,[rI,sI]]]),bP.call(YA.isIgnore,[[JA,[sI,lI]],[eI,[sI]],[tI,[sI]]]),bP.call(YA.isIgnoreRgx,[[JA,/ ?browser$/i],[tI,/ ?os$/i]]),bP.call(YA.toString,[[JA,[rI,sI]],[KA,[aI]],[QA,[iI,cI]],[eI,[rI,sI]],[tI,[rI,sI]]]),YA),OP=function(e,t){var n=TP.init[t],r=TP.isIgnore[t]||0,o=TP.isIgnoreRgx[t]||0,i=TP.toString[t]||0;function s(){bP.call(this,n)}return s.prototype.getItem=function(){return e},s.prototype.withClientHints=function(){return uP?uP.getHighEntropyValues(MI).then((function(t){return e.setCH(new LP(t,!1)).parseCH().get()})):e.parseCH().get()},s.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=nI&&(s.prototype.is=function(e){var t=!1;for(var n in this)if(this.hasOwnProperty(n)&&!fP(r,n)&&vP(o?yP(o,this[n]):this[n])==vP(o?yP(o,e):e)){if(t=!0,e!=GA)break}else if(e==GA&&t){t=!t;break}return t},s.prototype.toString=function(){var e=XA;for(var t in i)typeof this[i[t]]!==GA&&(e+=(e?" ":XA)+this[i[t]]);return e||GA}),uP||(s.prototype.then=function(e){var t=this,n=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};n.prototype={is:s.prototype.is,toString:s.prototype.toString};var r=new n;return e(r),r}),new s};function LP(e,t){if(e=e||{},bP.call(this,MI),t)bP.call(this,[[bI,mP(e[CI])],[wI,mP(e[kI])],[dI,/\?1/.test(e[LI])],[cI,wP(e[AI])],[xI,wP(e[II])],[SI,wP(e[PI])],[aI,wP(e[_I])],[yI,mP(e[OI])],[EI,wP(e[TI])]]);else for(var n in e)this.hasOwnProperty(n)&&typeof e[n]!==GA&&(this[n]=e[n])}function AP(e,t,n,r){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(cP&&cP.userAgent==this.ua)switch(this.itemType){case JA:cP.brave&&typeof cP.brave.isBrave==$A&&this.set(rI,"Brave");break;case QA:!this.get(oI)&&uP&&uP[dI]&&this.set(oI,dI),"Macintosh"==this.get(cI)&&cP&&typeof cP.standalone!==GA&&cP.maxTouchPoints&&cP.maxTouchPoints>2&&this.set(cI,"iPad").set(oI,fI);break;case tI:!this.get(rI)&&uP&&uP[xI]&&this.set(rI,uP[xI]);break;case nI:var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(JA,t(JA)).set(KA,t(KA)).set(QA,t(QA)).set(eI,t(eI)).set(tI,t(tI))}return this},this.parseUA=function(){return this.itemType!=nI&&SP.call(this.data,this.ua,this.rgxMap),this.itemType==JA&&this.set(lI,gP(this.get(sI))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case JA:case eI:var n,r=e[wI]||e[bI];if(r)for(var o in r){var i=r[o].brand||r[o],s=r[o].version;this.itemType!=JA||/not.a.brand/i.test(i)||n&&(!/chrom/i.test(n)||i==eP)||(i=EP(i,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(rI,i).set(sI,s).set(lI,gP(s)),n=i),this.itemType==eI&&i==eP&&this.set(sI,s)}break;case KA:var a=e[aI];a&&(a&&"64"==e[EI]&&(a+="64"),SP.call(this.data,a+";",t));break;case QA:if(e[dI]&&this.set(oI,dI),e[cI]&&(this.set(cI,e[cI]),!this.get(oI)||!this.get(iI))){var l={};SP.call(l,"droid 9; "+e[cI]+")",t),!this.get(oI)&&l.type&&this.set(oI,l.type),!this.get(iI)&&l.vendor&&this.set(iI,l.vendor)}if(e[yI]){var c;if("string"!=typeof e[yI])for(var u=0;!c&&u<e[yI].length;)c=EP(e[yI][u++],kP);else c=EP(e[yI],kP);this.set(oI,c)}break;case tI:var d=e[xI];if(d){var f=e[SI];d==lP&&(f=parseInt(gP(f),10)>=13?"11":"10"),this.set(rI,d).set(sI,f)}this.get(rI)==lP&&"Xbox"==e[cI]&&this.set(rI,"Xbox").set(sI,void 0);break;case nI:var h=this.data,p=function(t){return h[t].getItem().setCH(e).parseCH().get()};this.set(JA,p(JA)).set(KA,p(KA)).set(QA,p(QA)).set(eI,p(eI)).set(tI,p(tI))}return this},bP.call(this,[["itemType",e],["ua",t],["uaCH",r],["rgxMap",n],["data",OP(this,e)]]),this}function IP(e,t,n){if(typeof e===qA?(hP(e,!0)?(typeof t===qA&&(n=t),t=e):(n=e,t=void 0),e=void 0):typeof e!==ZA||hP(t,!0)||(n=t,t=void 0),n&&typeof n.append===$A){var r={};n.forEach((function(e,t){r[t]=e})),n=r}if(!(this instanceof IP))return new IP(e,t,n).getResult();var o=typeof e===ZA?e:n&&n[UA]?n[UA]:cP&&cP.userAgent?cP.userAgent:XA,i=new LP(n,!0),s=t?function(e,t){var n={},r=t;if(!hP(t))for(var o in r={},t)for(var i in t[o])r[i]=t[o][i].concat(r[i]?r[i]:[]);for(var s in e)n[s]=r[s]&&r[s].length%2==0?r[s].concat(e[s]):e[s];return n}(_P,t):_P,a=function(e){return e==nI?function(){return new AP(e,o,s,i).set("ua",o).set(JA,this.getBrowser()).set(KA,this.getCPU()).set(QA,this.getDevice()).set(eI,this.getEngine()).set(tI,this.getOS()).get()}:function(){return new AP(e,o,s[e],i).parseUA().get()}};return bP.call(this,[["getBrowser",a(JA)],["getCPU",a(KA)],["getDevice",a(QA)],["getEngine",a(eI)],["getOS",a(tI)],["getResult",a(nI)],["getUA",function(){return o}],["setUA",function(e){return pP(e)&&(o=e.length>500?xP(e,500):e),this}]]).setUA(o),this}IP.VERSION="2.0.3",IP.BROWSER=dP([rI,sI,lI,oI]),IP.CPU=dP([aI]),IP.DEVICE=dP([cI,iI,oI,uI,dI,hI,fI,pI,vI]),IP.ENGINE=IP.OS=dP([rI,sI]);export{Ox as $,ro as A,N_ as B,Qo as C,eo as D,$r as E,ci as F,es as G,Go as H,Mn as I,Df as J,Xr as K,pe as L,Ti as M,Wr as N,Ht as O,Di as P,Or as Q,Gb as R,dx as S,Z_ as T,DC as U,Sc as V,Xb as W,Fg as X,Ax as Y,XC as Z,GC as _,xx as a,hp as a$,S_ as a0,ox as a1,E_ as a2,qo as a3,$b as a4,Cx as a5,Sx as a6,Ex as a7,AA as a8,Uv as a9,xo as aA,Ta as aB,Dh as aC,fd as aD,ha as aE,ev as aF,xv as aG,Av as aH,en as aI,NT as aJ,$a as aK,xa as aL,yh as aM,ed as aN,td as aO,yL as aP,wL as aQ,vd as aR,ef as aS,Kd as aT,Hr as aU,TA as aV,_A as aW,OA as aX,Xh as aY,rn as aZ,gp as a_,Wv as aa,Pr as ab,Fr as ac,br as ad,pr as ae,Qc as af,Aa as ag,DT as ah,tf as ai,dg as aj,X_ as ak,Zu as al,Du as am,ms as an,Qr as ao,Za as ap,ka as aq,cr as ar,Lc as as,tp as at,np as au,Nd as av,Un as aw,ap as ax,_v as ay,pv as az,yi as b,Mc as b0,Hh as b1,Lu as b2,Ih as b3,Pp as b4,lh as b5,Th as b6,tv as b7,jp as b8,Np as b9,sv as ba,wr as bb,Ym as bc,tg as bd,xd as be,fh as bf,yf as bg,ff as bh,xr as bi,pc as bj,sf as bk,qp as bl,Dv as bm,Rs as bn,Qd as bo,Ai as bp,Qp as bq,kd as br,oh as bs,iu as bt,Gm as bu,Gc as bv,IP as bw,ia as bx,VA as by,RC as c,wx as d,Ur as e,Ii as f,ji as g,ki as h,le as i,Lr as j,Mr as k,So as l,Sn as m,he as n,mi as o,Mt as p,_i as q,Xt as r,Zd as s,we as t,Zt as u,Is as v,Rn as w,Li as x,wi as y,Ut as z};
