img-viewer-vue3
Version:
一个基于Vue3的图片查看器组件
12 lines • 63.4 kB
JavaScript
(function(Ee,we){typeof exports=="object"&&typeof module<"u"?we(exports):typeof define=="function"&&define.amd?define(["exports"],we):(Ee=typeof globalThis<"u"?globalThis:Ee||self,we(Ee["image-viewer-vue"]={}))})(this,function(Ee){"use strict";var we={};/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Qn(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const G=we.NODE_ENV!=="production"?Object.freeze({}):{},kn=we.NODE_ENV!=="production"?Object.freeze([]):[],ye=()=>{},Jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),q=Object.assign,$n=Object.prototype.hasOwnProperty,O=(e,t)=>$n.call(e,t),w=Array.isArray,be=e=>ze(e)==="[object Map]",eo=e=>ze(e)==="[object Set]",R=e=>typeof e=="function",X=e=>typeof e=="string",Le=e=>typeof e=="symbol",T=e=>e!==null&&typeof e=="object",to=e=>(T(e)||R(e))&&R(e.then)&&R(e.catch),no=Object.prototype.toString,ze=e=>no.call(e),zt=e=>ze(e).slice(8,-1),oo=e=>ze(e)==="[object Object]",lt=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Yt=Ft(e=>e.charAt(0).toUpperCase()+e.slice(1)),ro=Ft(e=>e?`on${Yt(e)}`:""),Q=(e,t)=>!Object.is(e,t),so=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Xt;const Ht=()=>Xt||(Xt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fe(e){if(w(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=X(o)?ao(o):Fe(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(X(e)||T(e))return e}const io=/;(?![^(]*\))/g,lo=/:([^]+)/,co=/\/\*[^]*?\*\//g;function ao(e){const t={};return e.replace(co,"").split(io).forEach(n=>{if(n){const o=n.split(lo);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function j(e){let t="";if(X(e))t=e;else if(w(e))for(let n=0;n<e.length;n++){const o=j(e[n]);o&&(t+=o+" ")}else if(T(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}var M={};function se(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let uo;function fo(e,t=uo){t&&t.active&&t.effects.push(e)}let ie;class qt{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,fo(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ye();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(ho(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Xe()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=k,n=ie;try{return k=!0,ie=this,this._runnings++,jt(this),this.fn()}finally{Ut(this),this._runnings--,ie=n,k=t}}stop(){var t;this.active&&(jt(this),Ut(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ho(e){return e.value}function jt(e){e._trackId++,e._depsLength=0}function Ut(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Pt(e.deps[t],e);e.deps.length=e._depsLength}}function Pt(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let k=!0,ct=0;const Gt=[];function Ye(){Gt.push(k),k=!1}function Xe(){const e=Gt.pop();k=e===void 0?!0:e}function at(){ct++}function ut(){for(ct--;!ct&&ft.length;)ft.shift()()}function Bt(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Pt(r,e),e.deps[e._depsLength++]=t):e._depsLength++,M.NODE_ENV!=="production"&&((o=e.onTrack)==null||o.call(e,q({effect:e},n)))}}const ft=[];function Zt(e,t,n){var o;at();for(const r of e.keys()){let s;r._dirtyLevel<t&&(s??(s=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(s??(s=e.get(r)===r._trackId))&&(M.NODE_ENV!=="production"&&((o=r.onTrigger)==null||o.call(r,q({effect:r},n))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&ft.push(r.scheduler)))}ut()}const Wt=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},dt=new WeakMap,le=Symbol(M.NODE_ENV!=="production"?"iterate":""),ht=Symbol(M.NODE_ENV!=="production"?"Map key iterate":"");function L(e,t,n){if(k&&ie){let o=dt.get(e);o||dt.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Wt(()=>o.delete(n))),Bt(ie,r,M.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function J(e,t,n,o,r,s){const i=dt.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&w(e)){const u=Number(o);i.forEach((p,d)=>{(d==="length"||!Le(d)&&d>=u)&&l.push(p)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":w(e)?lt(n)&&l.push(i.get("length")):(l.push(i.get(le)),be(e)&&l.push(i.get(ht)));break;case"delete":w(e)||(l.push(i.get(le)),be(e)&&l.push(i.get(ht)));break;case"set":be(e)&&l.push(i.get(le));break}at();for(const u of l)u&&Zt(u,4,M.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0);ut()}const po=Qn("__proto__,__v_isRef,__isVue"),Kt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le)),Qt=go();function go(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=g(this);for(let s=0,i=this.length;s<i;s++)L(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(g)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ye(),at();const o=g(this)[t].apply(this,n);return ut(),Xe(),o}}),e}function mo(e){const t=g(this);return L(t,"has",e),t.hasOwnProperty(e)}class kt{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?ln:sn:s?_o:rn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=w(t);if(!r){if(i&&O(Qt,n))return Reflect.get(Qt,n,o);if(n==="hasOwnProperty")return mo}const l=Reflect.get(t,n,o);return(Le(n)?Kt.has(n):po(n))||(r||L(t,"get",n),s)?l:F(l)?i&<(n)?l:l.value:T(l)?r?an(l):cn(l):l}}class vo extends kt{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const u=ee(s);if(!ae(o)&&!ee(o)&&(s=g(s),o=g(o)),!w(t)&&F(s)&&!F(o))return u?!1:(s.value=o,!0)}const i=w(t)&<(n)?Number(n)<t.length:O(t,n),l=Reflect.set(t,n,o,r);return t===g(r)&&(i?Q(o,s)&&J(t,"set",n,o,s):J(t,"add",n,o)),l}deleteProperty(t,n){const o=O(t,n),r=t[n],s=Reflect.deleteProperty(t,n);return s&&o&&J(t,"delete",n,void 0,r),s}has(t,n){const o=Reflect.has(t,n);return(!Le(n)||!Kt.has(n))&&L(t,"has",n),o}ownKeys(t){return L(t,"iterate",w(t)?"length":le),Reflect.ownKeys(t)}}class Jt extends kt{constructor(t=!1){super(!0,t)}set(t,n){return M.NODE_ENV!=="production"&&se(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return M.NODE_ENV!=="production"&&se(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Eo=new vo,wo=new Jt,yo=new Jt(!0),pt=e=>e,He=e=>Reflect.getPrototypeOf(e);function qe(e,t,n=!1,o=!1){e=e.__v_raw;const r=g(e),s=g(t);n||(Q(t,s)&&L(r,"get",t),L(r,"get",s));const{has:i}=He(r),l=o?pt:n?Et:Se;if(i.call(r,t))return l(e.get(t));if(i.call(r,s))return l(e.get(s));e!==r&&e.get(t)}function je(e,t=!1){const n=this.__v_raw,o=g(n),r=g(e);return t||(Q(e,r)&&L(o,"has",e),L(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ue(e,t=!1){return e=e.__v_raw,!t&&L(g(e),"iterate",le),Reflect.get(e,"size",e)}function $t(e){e=g(e);const t=g(this);return He(t).has.call(t,e)||(t.add(e),J(t,"add",e,e)),this}function en(e,t){t=g(t);const n=g(this),{has:o,get:r}=He(n);let s=o.call(n,e);s?M.NODE_ENV!=="production"&&on(n,o,e):(e=g(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Q(t,i)&&J(n,"set",e,t,i):J(n,"add",e,t),this}function tn(e){const t=g(this),{has:n,get:o}=He(t);let r=n.call(t,e);r?M.NODE_ENV!=="production"&&on(t,n,e):(e=g(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&J(t,"delete",e,void 0,s),i}function nn(){const e=g(this),t=e.size!==0,n=M.NODE_ENV!=="production"?be(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&J(e,"clear",void 0,void 0,n),o}function Pe(e,t){return function(o,r){const s=this,i=s.__v_raw,l=g(i),u=t?pt:e?Et:Se;return!e&&L(l,"iterate",le),i.forEach((p,d)=>o.call(r,u(p),u(d),s))}}function Ge(e,t,n){return function(...o){const r=this.__v_raw,s=g(r),i=be(s),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,p=r[e](...o),d=n?pt:t?Et:Se;return!t&&L(s,"iterate",u?ht:le),{next(){const{value:c,done:f}=p.next();return f?{value:c,done:f}:{value:l?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function $(e){return function(...t){if(M.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";se(`${Yt(e)} operation ${n}failed: target is readonly.`,g(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function bo(){const e={get(s){return qe(this,s)},get size(){return Ue(this)},has:je,add:$t,set:en,delete:tn,clear:nn,forEach:Pe(!1,!1)},t={get(s){return qe(this,s,!1,!0)},get size(){return Ue(this)},has:je,add:$t,set:en,delete:tn,clear:nn,forEach:Pe(!1,!0)},n={get(s){return qe(this,s,!0)},get size(){return Ue(this,!0)},has(s){return je.call(this,s,!0)},add:$("add"),set:$("set"),delete:$("delete"),clear:$("clear"),forEach:Pe(!0,!1)},o={get(s){return qe(this,s,!0,!0)},get size(){return Ue(this,!0)},has(s){return je.call(this,s,!0)},add:$("add"),set:$("set"),delete:$("delete"),clear:$("clear"),forEach:Pe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ge(s,!1,!1),n[s]=Ge(s,!0,!1),t[s]=Ge(s,!1,!0),o[s]=Ge(s,!0,!0)}),[e,n,t,o]}const[No,Co,Oo,Ro]=bo();function gt(e,t){const n=t?e?Ro:Oo:e?Co:No;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(O(n,r)&&r in o?n:o,r,s)}const So={get:gt(!1,!1)},Io={get:gt(!0,!1)},Mo={get:gt(!0,!0)};function on(e,t,n){const o=g(n);if(o!==n&&t.call(e,o)){const r=zt(e);se(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const rn=new WeakMap,_o=new WeakMap,sn=new WeakMap,ln=new WeakMap;function xo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Do(e){return e.__v_skip||!Object.isExtensible(e)?0:xo(zt(e))}function cn(e){return ee(e)?e:mt(e,!1,Eo,So,rn)}function an(e){return mt(e,!0,wo,Io,sn)}function Be(e){return mt(e,!0,yo,Mo,ln)}function mt(e,t,n,o,r){if(!T(e))return M.NODE_ENV!=="production"&&se(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Do(e);if(i===0)return e;const l=new Proxy(e,i===2?o:n);return r.set(e,l),l}function ce(e){return ee(e)?ce(e.__v_raw):!!(e&&e.__v_isReactive)}function ee(e){return!!(e&&e.__v_isReadonly)}function ae(e){return!!(e&&e.__v_isShallow)}function vt(e){return ce(e)||ee(e)}function g(e){const t=e&&e.__v_raw;return t?g(t):e}function To(e){return Object.isExtensible(e)&&so(e,"__v_skip",!0),e}const Se=e=>T(e)?cn(e):e,Et=e=>T(e)?an(e):e,Ao="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class un{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new qt(()=>t(this._value),()=>Ze(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=g(this);return(!t._cacheable||t.effect.dirty)&&Q(t._value,t._value=t.effect.run())&&Ze(t,4),fn(t),t.effect._dirtyLevel>=2&&(M.NODE_ENV!=="production"&&this._warnRecursive&&se(Ao,`
getter: `,this.getter),Ze(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Vo(e,t,n=!1){let o,r;const s=R(e);s?(o=e,r=M.NODE_ENV!=="production"?()=>{se("Write operation failed: computed value is readonly")}:ye):(o=e.get,r=e.set);const i=new un(o,r,s||!r,n);return M.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function fn(e){var t;k&&ie&&(e=g(e),Bt(ie,(t=e.dep)!=null?t:e.dep=Wt(()=>e.dep=void 0,e instanceof un?e:void 0),M.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function Ze(e,t=4,n){e=g(e);const o=e.dep;o&&Zt(o,t,M.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function F(e){return!!(e&&e.__v_isRef===!0)}function S(e){return Lo(e,!1)}function Lo(e,t){return F(e)?e:new zo(e,t)}class zo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:g(t),this._value=n?t:Se(t)}get value(){return fn(this),this._value}set value(t){const n=this.__v_isShallow||ae(t)||ee(t);t=n?t:g(t),Q(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Se(t),Ze(this,4,t))}}function dn(e){return F(e)?e.value:e}const Fo={get:(e,t,n)=>dn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return F(r)&&!F(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Yo(e){return ce(e)?e:new Proxy(e,Fo)}var h={};const ue=[];function Xo(e){ue.push(e)}function Ho(){ue.pop()}function b(e,...t){Ye();const n=ue.length?ue[ue.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=qo();if(o)fe(o,n,11,[e+t.map(s=>{var i,l;return(l=(i=s.toString)==null?void 0:i.call(s))!=null?l:JSON.stringify(s)}).join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${Yn(n,s.type)}>`).join(`
`),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
`,...jo(r)),console.warn(...s)}Xe()}function qo(){let e=ue[ue.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function jo(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
`],...Uo(n))}),t}function Uo({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Yn(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...Po(e.props),s]:[r+s]}function Po(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...hn(o,e[o]))}),n.length>3&&t.push(" ..."),t}function hn(e,t,n){return X(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:F(t)?(t=hn(e,g(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):R(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=g(t),n?t:[`${e}=`,t])}const wt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function fe(e,t,n,o){try{return o?e(...o):e()}catch(r){yt(r,t,n)}}function Ie(e,t,n,o){if(R(e)){const s=fe(e,t,n,o);return s&&to(s)&&s.catch(i=>{yt(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(Ie(e[s],t,n,o));return r}function yt(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=h.NODE_ENV!=="production"?wt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const p=s.ec;if(p){for(let d=0;d<p.length;d++)if(p[d](e,i,l)===!1)return}s=s.parent}const u=t.appContext.config.errorHandler;if(u){fe(u,null,10,[e,i,l]);return}}Go(e,n,r,o)}function Go(e,t,n,o=!0){if(h.NODE_ENV!=="production"){const r=wt[t];if(n&&Xo(n),b(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Ho(),o)throw e;console.error(e)}else console.error(e)}let We=!1,bt=!1;const U=[];let te=0;const Ne=[];let Z=null,ne=0;const pn=Promise.resolve();let Nt=null;const Bo=100;function de(e){const t=Nt||pn;return e?t.then(this?e.bind(this):e):t}function Zo(e){let t=te+1,n=U.length;for(;t<n;){const o=t+n>>>1,r=U[o],s=Me(r);s<e||s===e&&r.pre?t=o+1:n=o}return t}function Ct(e){(!U.length||!U.includes(e,We&&e.allowRecurse?te+1:te))&&(e.id==null?U.push(e):U.splice(Zo(e.id),0,e),gn())}function gn(){!We&&!bt&&(bt=!0,Nt=pn.then(vn))}function mn(e){w(e)?Ne.push(...e):(!Z||!Z.includes(e,e.allowRecurse?ne+1:ne))&&Ne.push(e),gn()}function Wo(e){if(Ne.length){const t=[...new Set(Ne)].sort((n,o)=>Me(n)-Me(o));if(Ne.length=0,Z){Z.push(...t);return}for(Z=t,h.NODE_ENV!=="production"&&(e=e||new Map),ne=0;ne<Z.length;ne++)h.NODE_ENV!=="production"&&En(e,Z[ne])||Z[ne]();Z=null,ne=0}}const Me=e=>e.id==null?1/0:e.id,Ko=(e,t)=>{const n=Me(e)-Me(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function vn(e){bt=!1,We=!0,h.NODE_ENV!=="production"&&(e=e||new Map),U.sort(Ko);const t=h.NODE_ENV!=="production"?n=>En(e,n):ye;try{for(te=0;te<U.length;te++){const n=U[te];if(n&&n.active!==!1){if(h.NODE_ENV!=="production"&&t(n))continue;fe(n,null,14)}}}finally{te=0,U.length=0,Wo(e),We=!1,Nt=null,(U.length||Ne.length)&&vn(e)}}function En(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Bo){const o=t.ownerInstance,r=o&&Fn(o.type);return yt(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const _e=new Set;h.NODE_ENV!=="production"&&(Ht().__VUE_HMR_RUNTIME__={createRecord:Ot(Qo),rerender:Ot(ko),reload:Ot(Jo)});const Ke=new Map;function Qo(e,t){return Ke.has(e)?!1:(Ke.set(e,{initialDef:xe(t),instances:new Set}),!0)}function xe(e){return Xn(e)?e.__vccOpts:e}function ko(e,t){const n=Ke.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,xe(o.type).render=t),o.renderCache=[],o.effect.dirty=!0,o.update()}))}function Jo(e,t){const n=Ke.get(e);if(!n)return;t=xe(t),wn(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=xe(r.type);_e.has(s)||(s!==n.initialDef&&wn(s,t),_e.add(s)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(_e.add(s),r.ceReload(t.styles),_e.delete(s)):r.parent?(r.parent.effect.dirty=!0,Ct(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}mn(()=>{for(const r of o)_e.delete(xe(r.type))})}function wn(e,t){q(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ot(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let B=null,$o=null;const er=Symbol.for("v-ndc"),tr=e=>e.__isSuspense;function nr(e,t){t&&t.pendingBranch?w(e)?t.effects.push(...e):t.effects.push(e):mn(e)}const or=Symbol.for("v-scx"),rr=()=>{{const e=mr(or);return e||h.NODE_ENV!=="production"&&b("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},Qe={};function ke(e,t,n){return h.NODE_ENV!=="production"&&!R(t)&&b("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),yn(e,t,n)}function yn(e,t,{immediate:n,deep:o,flush:r,once:s,onTrack:i,onTrigger:l}=G){if(t&&s){const m=t;t=(...Ve)=>{m(...Ve),Oe()}}h.NODE_ENV!=="production"&&o!==void 0&&typeof o=="number"&&b('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),h.NODE_ENV!=="production"&&!t&&(n!==void 0&&b('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&b('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&b('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const u=m=>{b("Invalid watch source: ",m,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=pe,d=m=>o===!0?m:Ce(m,o===!1?1:void 0);let c,f=!1,v=!1;if(F(e)?(c=()=>e.value,f=ae(e)):ce(e)?(c=()=>d(e),f=!0):w(e)?(v=!0,f=e.some(m=>ce(m)||ae(m)),c=()=>e.map(m=>{if(F(m))return m.value;if(ce(m))return d(m);if(R(m))return fe(m,p,2);h.NODE_ENV!=="production"&&u(m)})):R(e)?t?c=()=>fe(e,p,2):c=()=>(N&&N(),Ie(e,p,3,[V])):(c=ye,h.NODE_ENV!=="production"&&u(e)),t&&o){const m=c;c=()=>Ce(m())}let N,V=m=>{N=D.onStop=()=>{fe(m,p,4),N=D.onStop=void 0}},re;if(ot)if(V=ye,t?n&&Ie(t,p,3,[c(),v?[]:void 0,V]):c(),r==="sync"){const m=rr();re=m.__watcherHandles||(m.__watcherHandles=[])}else return ye;let W=v?new Array(e.length).fill(Qe):Qe;const K=()=>{if(!(!D.active||!D.dirty))if(t){const m=D.run();(o||f||(v?m.some((Ve,rt)=>Q(Ve,W[rt])):Q(m,W)))&&(N&&N(),Ie(t,p,3,[m,W===Qe?void 0:v&&W[0]===Qe?[]:W,V]),W=m)}else D.run()};K.allowRecurse=!!t;let ge;r==="sync"?ge=K:r==="post"?ge=()=>_n(K,p&&p.suspense):(K.pre=!0,p&&(K.id=p.uid),ge=()=>Ct(K));const D=new qt(c,ye,ge),Oe=()=>{D.stop()};return h.NODE_ENV!=="production"&&(D.onTrack=i,D.onTrigger=l),t?n?K():W=D.run():r==="post"?_n(D.run.bind(D),p&&p.suspense):D.run(),re&&re.push(Oe),Oe}function sr(e,t,n){const o=this.proxy,r=X(e)?e.includes(".")?ir(o,e):()=>o[e]:e.bind(o,o);let s;R(t)?s=t:(s=t.handler,n=t);const i=zn(this),l=yn(r,s.bind(o),n);return i(),l}function ir(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Ce(e,t,n=0,o){if(!T(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),F(e))Ce(e.value,t,n,o);else if(w(e))for(let r=0;r<e.length;r++)Ce(e[r],t,n,o);else if(eo(e)||be(e))e.forEach(r=>{Ce(r,t,n,o)});else if(oo(e))for(const r in e)Ce(e[r],t,n,o);return e}function bn(e,t){return h.NODE_ENV!=="production"&&b("withDirectives can only be used inside render functions."),e}function lr(e,t,n=pe,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ye();const l=zn(n),u=Ie(t,n,e,i);return l(),Xe(),u});return o?r.unshift(s):r.push(s),s}else if(h.NODE_ENV!=="production"){const r=ro(wt[e].replace(/ hook$/,""));b(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Nn=e=>(t,n=pe)=>(!ot||e==="sp")&&lr(e,(...o)=>t(...o),n),cr=Nn("m"),ar=Nn("um");function Cn(e,t,n,o){let r;const s=n&&n[o];if(w(e)||X(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){h.NODE_ENV!=="production"&&!Number.isInteger(e)&&b(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,s&&s[i])}else if(T(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,s&&s[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,u=i.length;l<u;l++){const p=i[l];r[l]=t(e[p],p,l,s&&s[l])}}else r=[];return n&&(n[o]=r),r}const Rt=e=>e?Ir(e)?Mr(e)||e.proxy:Rt(e.parent):null,De=q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>h.NODE_ENV!=="production"?Be(e.props):e.props,$attrs:e=>h.NODE_ENV!=="production"?Be(e.attrs):e.attrs,$slots:e=>h.NODE_ENV!=="production"?Be(e.slots):e.slots,$refs:e=>h.NODE_ENV!=="production"?Be(e.refs):e.refs,$parent:e=>Rt(e.parent),$root:e=>Rt(e.root),$emit:e=>e.emit,$options:e=>dr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ct(e.update)}),$nextTick:e=>e.n||(e.n=de.bind(e.proxy)),$watch:e=>sr.bind(e)}),ur=e=>e==="_"||e==="$",St=(e,t)=>e!==G&&!e.__isScriptSetup&&O(e,t),fr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:u}=e;if(h.NODE_ENV!=="production"&&t==="__isVue")return!0;let p;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(St(o,t))return i[t]=1,o[t];if(r!==G&&O(r,t))return i[t]=2,r[t];if((p=e.propsOptions[0])&&O(p,t))return i[t]=3,s[t];if(n!==G&&O(n,t))return i[t]=4,n[t];i[t]=0}}const d=De[t];let c,f;if(d)return(t==="$attrs"||h.NODE_ENV!=="production"&&t==="$slots")&&L(e,"get",t),d(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==G&&O(n,t))return i[t]=4,n[t];if(f=u.config.globalProperties,O(f,t))return f[t];h.NODE_ENV!=="production"&&B&&(!X(t)||t.indexOf("__v")!==0)&&(r!==G&&ur(t[0])&&O(r,t)?b(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===B&&b(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return St(r,t)?(r[t]=n,!0):h.NODE_ENV!=="production"&&r.__isScriptSetup&&O(r,t)?(b(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==G&&O(o,t)?(o[t]=n,!0):O(e.props,t)?(h.NODE_ENV!=="production"&&b(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(h.NODE_ENV!=="production"&&b(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(h.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==G&&O(e,i)||St(t,i)||(l=s[0])&&O(l,i)||O(o,i)||O(De,i)||O(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:O(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};h.NODE_ENV!=="production"&&(fr.ownKeys=e=>(b("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function On(e){return w(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function dr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let u;return l?u=l:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(p=>Je(u,p,i,!0)),Je(u,t,i)),T(t)&&s.set(t,u),u}function Je(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Je(e,s,n,!0),r&&r.forEach(i=>Je(e,i,n,!0));for(const i in t)if(o&&i==="expose")h.NODE_ENV!=="production"&&b('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=hr[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const hr={data:Rn,props:In,emits:In,methods:Te,computed:Te,beforeCreate:A,created:A,beforeMount:A,mounted:A,beforeUpdate:A,updated:A,beforeDestroy:A,beforeUnmount:A,destroyed:A,unmounted:A,activated:A,deactivated:A,errorCaptured:A,serverPrefetch:A,components:Te,directives:Te,watch:gr,provide:Rn,inject:pr};function Rn(e,t){return t?e?function(){return q(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function pr(e,t){return Te(Sn(e),Sn(t))}function Sn(e){if(w(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function A(e,t){return e?[...new Set([].concat(e,t))]:t}function Te(e,t){return e?q(Object.create(null),e,t):t}function In(e,t){return e?w(e)&&w(t)?[...new Set([...e,...t])]:q(Object.create(null),On(e),On(t??{})):t}function gr(e,t){if(!e)return t;if(!t)return e;const n=q(Object.create(null),e);for(const o in t)n[o]=A(e[o],t[o]);return n}let Mn=null;function mr(e,t,n=!1){const o=pe||B;if(o||Mn){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Mn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&R(t)?t.call(o&&o.proxy):t;h.NODE_ENV!=="production"&&b(`injection "${String(e)}" not found.`)}else h.NODE_ENV!=="production"&&b("inject() can only be used inside setup() or functional components.")}const _n=nr,vr=e=>e.__isTeleport,$e=Symbol.for("v-fgt"),Er=Symbol.for("v-txt"),It=Symbol.for("v-cmt"),et=[];let P=null;function oe(e=!1){et.push(P=e?null:[])}function wr(){et.pop(),P=et[et.length-1]||null}function xn(e){return e.dynamicChildren=P||kn,wr(),P&&P.push(e),e}function he(e,t,n,o,r,s){return xn(H(e,t,n,o,r,s,!0))}function yr(e,t,n,o,r){return xn(Mt(e,t,n,o,r,!0))}function br(e){return e?e.__v_isVNode===!0:!1}const Nr=(...e)=>An(...e),Dn="__vInternal",Tn=({key:e})=>e??null,tt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||F(e)||R(e)?{i:B,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,s=e===$e?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tn(t),ref:t&&tt(t),scopeId:$o,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:B};return l?(_t(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=X(n)?8:16),h.NODE_ENV!=="production"&&u.key!==u.key&&b("VNode created with invalid key (NaN). VNode type:",u.type),!i&&P&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&P.push(u),u}const Mt=h.NODE_ENV!=="production"?Nr:An;function An(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===er)&&(h.NODE_ENV!=="production"&&!e&&b(`Invalid vnode type when creating vnode: ${e}.`),e=It),br(e)){const l=nt(e,t,!0);return n&&_t(l,n),!s&&P&&(l.shapeFlag&6?P[P.indexOf(e)]=l:P.push(l)),l.patchFlag|=-2,l}if(Xn(e)&&(e=e.__vccOpts),t){t=Cr(t);let{class:l,style:u}=t;l&&!X(l)&&(t.class=j(l)),T(u)&&(vt(u)&&!w(u)&&(u=q({},u)),t.style=Fe(u))}const i=X(e)?1:tr(e)?128:vr(e)?64:T(e)?4:R(e)?2:0;return h.NODE_ENV!=="production"&&i&4&&vt(e)&&(e=g(e),b("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
Component that was made reactive: `,e)),H(e,t,n,o,r,i,s,!0)}function Cr(e){return e?vt(e)||Dn in e?q({},e):e:null}function nt(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?Rr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Tn(l),ref:t&&t.ref?n&&r?w(r)?r.concat(tt(t)):[r,tt(t)]:tt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:h.NODE_ENV!=="production"&&s===-1&&w(i)?i.map(Vn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Vn(e){const t=nt(e);return w(e.children)&&(t.children=e.children.map(Vn)),t}function Or(e=" ",t=0){return Mt(Er,null,e,t)}function Ln(e="",t=!1){return t?(oe(),yr(It,null,e)):Mt(It,null,e)}function _t(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(w(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),_t(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Dn in t)?t._ctx=B:r===3&&B&&(B.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:B},n=32):(t=String(t),o&64?(n=16,t=[Or(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=j([t.class,o.class]));else if(r==="style")t.style=Fe([t.style,o.style]);else if(Jn(r)){const s=t[r],i=o[r];i&&s!==i&&!(w(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}let pe=null;const Sr=()=>pe||B;let xt;{const e=Ht(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};xt=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),t("__VUE_SSR_SETTERS__",n=>ot=n)}const zn=e=>{const t=pe;return xt(e),e.scope.on(),()=>{e.scope.off(),xt(t)}};function Ir(e){return e.vnode.shapeFlag&4}let ot=!1;function Mr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Yo(To(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in De)return De[n](e)},has(t,n){return n in t||n in De}}))}const _r=/(?:^|[-_])(\w)/g,xr=e=>e.replace(_r,t=>t.toUpperCase()).replace(/[-_]/g,"");function Fn(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function Yn(e,t,n=!1){let o=Fn(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?xr(o):n?"App":"Anonymous"}function Xn(e){return R(e)&&"__vccOpts"in e}const Hn=(e,t)=>{const n=Vo(e,t,ot);if(h.NODE_ENV!=="production"){const o=Sr();o&&o.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Dr(){if(h.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={header(c){return T(c)?c.__isVue?["div",e,"VueInstance"]:F(c)?["div",{},["span",e,d(c)],"<",l(c.value),">"]:ce(c)?["div",{},["span",e,ae(c)?"ShallowReactive":"Reactive"],"<",l(c),`>${ee(c)?" (readonly)":""}`]:ee(c)?["div",{},["span",e,ae(c)?"ShallowReadonly":"Readonly"],"<",l(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...s(c.$)]}};function s(c){const f=[];c.type.props&&c.props&&f.push(i("props",g(c.props))),c.setupState!==G&&f.push(i("setup",c.setupState)),c.data!==G&&f.push(i("data",g(c.data)));const v=u(c,"computed");v&&f.push(i("computed",v));const N=u(c,"inject");return N&&f.push(i("injected",N)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function i(c,f){return f=q({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(v=>["div",{},["span",o,v+": "],l(f[v],!1)])]]:["span",{}]}function l(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",o,c]:T(c)?["object",{object:f?g(c):c}]:["span",n,String(c)]}function u(c,f){const v=c.type;if(R(v))return;const N={};for(const V in c.ctx)p(v,V,f)&&(N[V]=c.ctx[V]);return N}function p(c,f,v){const N=c[v];if(w(N)&&N.includes(f)||T(N)&&f in N||c.extends&&p(c.extends,f,v)||c.mixins&&c.mixins.some(V=>p(V,f,v)))return!0}function d(c){return ae(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}var Tr={};const qn=Symbol("_vod"),Ar=Symbol("_vsh"),Dt={beforeMount(e,{value:t},{transition:n}){e[qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ae(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ae(e,!0),o.enter(e)):o.leave(e,()=>{Ae(e,!1)}):Ae(e,t))},beforeUnmount(e,{value:t}){Ae(e,t)}};Tr.NODE_ENV!=="production"&&(Dt.name="show");function Ae(e,t){e.style.display=t?e[qn]:"none",e[Ar]=!t}const Vr=["ctrl","shift","alt","meta"],Lr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Vr.some(n=>e[`${n}Key`]&&!t.includes(n))},Tt=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let i=0;i<t.length;i++){const l=Lr[t[i]];if(l&&l(r,t))return}return e(r,...s)})};var zr={};function Fr(){Dr()}zr.NODE_ENV!=="production"&&Fr();const Yr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAAAXNSR0IArs4c6QAAFsdJREFUeF7tnX1QE9fex/cs5AVCkISXiCgoUF58AS2ivAuCA7VWnY5TrZ37TKV/WEdt6x+OxZk+1zu9j9Rr76W+Xeq9V2x7n1q0Pr3W2hZGKIivrUUQwfBOEhJCQAIVghhg95mzzWaWzW4SXoRNZGcY8rKbnD2f8/2d3/mdk98ByPgOYOV0+nvU5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iVz7Zu3Z7NmzRdAJj4+Pd46KihL7+vo6wbCOMTrDNp22TCm7rYTPIzDM0dnZOXL79m3D9evX9dDZrauro5VE1wd9bWbaOte+PSrjU6iF+WMNW1FlYKqEaRLHah75VMOlSPbf+MrBrGDk6ekJSxejqVOnIh8fH/TSSy85xcfHO8nlcmeJRIK5ubnhCCFcIpEwuyqjSqWSJEmSUKlUhFKpxNrb2/XXr18fqa6uHnn48CGp1WpJhUJB9vb2MhXCrlRblcwGxffZ1nW4oJk1D/8PRowS2dgJ830AAAAASUVORK5CYII=",Hr="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23231;&%23188;&%23150;&%23231;&%23187;&%23132;&%23229;&%23164;&%23135;&%23228;&%23187;&%23189;'%3e%3cpath%20id='Rectangle%20108'%20d='M2.29199%207.7085C2.29199%206.93193%202.29199%206.54364%202.41886%206.23736C2.58802%205.82898%202.91247%205.50452%203.32085%205.33536C3.62714%205.2085%204.01542%205.2085%204.79199%205.2085H5.62533C8.7316%205.2085%2010.2847%205.2085%2011.5099%205.71597C13.1434%206.39259%2014.4412%207.69042%2015.1179%209.32394C15.6253%2010.5491%2015.6253%2012.1022%2015.6253%2015.2085V15.2085C15.6253%2015.9851%2015.6253%2016.3733%2015.4985%2016.6796C15.3293%2017.088%2015.0048%2017.4125%2014.5965%2017.5816C14.2902%2017.7085%2013.9019%2017.7085%2013.1253%2017.7085H4.79199C4.01542%2017.7085%203.62714%2017.7085%203.32085%2017.5816C2.91247%2017.4125%202.58802%2017.088%202.41886%2016.6796C2.29199%2016.3733%202.29199%2015.9851%202.29199%2015.2085V7.7085Z'%20stroke='black'%20stroke-opacity='0.85'%20stroke-width='1.4'/%3e%3cpath%20id='Union'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.75%201.7777C13.75%201.50855%2013.4986%201.31002%2013.2368%201.37236L9.54549%202.25125C9.19506%202.27103%208.91699%202.56146%208.91699%202.91684C8.91699%203.28503%209.21547%203.58351%209.58366%203.58351C13.057%203.58351%2015.9834%205.55703%2017.1364%208.57166L18.3818%208.09535C17.5284%205.86398%2015.8586%204.13536%2013.75%203.15468V1.7777Z'%20fill='black'%20fill-opacity='0.85'/%3e%3c/g%3e%3c/svg%3e",qr="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23229;&%23155;&%23190;&%23230;&%23160;&%23135;/&%23231;&%23186;&%23191;&%23230;&%23128;&%23167;/ZoomInOutlined&%23239;&%23188;&%23136;&%23230;&%23148;&%23190;&%23229;&%23164;&%23167;&%23239;&%23188;&%23137;'%3e%3cpath%20id='Vector'%20d='M5.83301%209.16683L12.4997%209.16683M9.16634%205.8335L9.16634%2012.5002'%20stroke='black'%20stroke-opacity='0.85'%20stroke-width='1.4'/%3e%3cpath%20id='Vector_2'%20d='M14.4604%2014.4797L17.917%2017.9165M16.667%209.1665C16.667%2013.3086%2013.3091%2016.6665%209.16699%2016.6665C5.02486%2016.6665%201.66699%2013.3086%201.66699%209.1665C1.66699%205.02437%205.02486%201.6665%209.16699%201.6665C13.3091%201.6665%2016.667%205.02437%2016.667%209.1665Z'%20stroke='black'%20stroke-opacity='0.85'%20stroke-width='1.4'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",jr="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23229;&%23155;&%23190;&%23230;&%23160;&%23135;/&%23231;&%23186;&%23191;&%23230;&%23128;&%23167;/ZoomOutOutlined&%23239;&%23188;&%23136;&%23231;&%23188;&%23169;&%23229;&%23176;&%23143;&%23239;&%23188;&%23137;'%3e%3cpath%20id='Vector%2033'%20d='M5.83398%209.1665L12.5007%209.1665'%20stroke='black'%20stroke-opacity='0.85'%20stroke-width='1.4'/%3e%3cpath%20id='Vector'%20d='M14.4641%2014.476L17.917%2017.9165M16.667%209.1665C16.667%2013.3086%2013.3091%2016.6665%209.16699%2016.6665C5.02486%2016.6665%201.66699%2013.3086%201.66699%209.1665C1.66699%205.02437%205.02486%201.6665%209.16699%201.6665C13.3091%201.6665%2016.667%205.02437%2016.667%209.1665Z'%20stroke='black'%20stroke-opacity='0.85'%20stroke-width='1.4'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",Ur=[H("div",{class:"v"},null,-1),H("div",{class:"h"},null,-1)],Pr=["src"],Gr=["src","onClick"],Br=["src","onClick"],Zr=Object.assign({name:"ImgViewer"},{props:{ImgList:{type:Array,default:()=>[]},index:{type:Number,default:0},toolInfo:{type:Object,default:()=>({layoutChange:!0,fullTool:[],clickFunc:()=>{}})}},setup(e){const t=e;let n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(window.navigator.userAgent)||document.documentElement.clientWidth<744;const o=S(t.ImgList.length==1||n?"h":t.toolInfo.layout),r=Hn(()=>t.toolInfo.fullTool),s=[{icon:Hr,func:kr},{icon:qr,func:Bn,type:"in"},{icon:jr,func:Bn,type:"out"}],i=Hn(()=>[...s,...r.value]),l=S(!1),u=S(null),p=S(null),d=S(null),c=S(null),f=S(!1),v=S(0),N=S(0),V=S(0),re=S(0),W=S(document.documentElement.clientWidth),K=S(document.documentElement.clientHeight),ge=async()=>{if(await de(),!u.value||!p.value||!d.value||!c.value){console.warn("ImgViewer: 组件初始化失败,某些必要的DOM元素未找到");return}Oe(),l.value=!0};cr(async()=>{await ge(),window.addEventListener("resize",D)}),ke(()=>t.ImgList,async()=>{await ge()},{deep:!0}),ke(()=>t.index,async()=>{l.value&&(await de(),me())}),ar(()=>{window.removeEventListener("resize",D),l.value=!1});function D(){W.value=document.documentElement.clientWidth,K.value=document.documentElement.clientHeight}function Oe(){d.value&&(d.value.style.overflow=(o.value==="h","auto"),d.value.style.scrollBehavior="smooth",d.value.addEventListener("mousedown",m),d.value.addEventListener("touchstart",Ve))}function m(a){f.value=!0,v.value=a.pageX-d.value.offsetLeft,N.value=a.pageY-d.value.offsetTop,V.value=d.value.scrollLeft,re.value=d.value.scrollTop,document.addEventListener("mousemove",rt),document.addEventListener("mouseup",Un)}function Ve(a){f.value=!0,v.value=a.touches[0].pageX-d.value.offsetLeft,N.value=a.touches[0].pageY-d.value.offsetTop,V.value=d.value.scrollLeft,re.value=d.value.scrollTop,document.addEventListener("touchmove",jn),document.addEventListener("touchend",Pn)}function rt(a){if(!f.value)return;a.preventDefault();const E=a.pageX-d.value.offsetLeft,y=a.pageY-d.value.offsetTop,C=E-v.value,x=y-N.value;o.value==="h"?d.value.scrollLeft=V.value-C:d.value.scrollTop=re.value-x}function jn(a){if(!f.value)return;a.preventDefault();const E=a.touches[0].pageX-d.value.offsetLeft,y=a.touches[0].pageY-d.value.offsetTop,C=E-v.value,x=y-N.value;o.value==="h"?d.value.scrollLeft=V.value-C:d.value.scrollTop=re.value-x}function Un(){f.value=!1,document.removeEventListener("mousemove",rt),document.removeEventListener("mouseup",Un)}function Pn(){f.value=!1,document.removeEventListener("touchmove",jn),document.removeEventListener("touchend",Pn)}async function Wr(){o.value==="h"?o.value="v":o.value="h",await de(),Oe(),me()}const Y=S(t.index);function Kr(a){Y.value=a,me()}function Gn(a){if(a=="r"){if(Y.value>=t.ImgList.length-1){Y.value=t.ImgList.length-1;return}Y.value+=1,me()}else if(a=="l"){if(Y.value<=0){Y.value=0;return}Y.value-=1,me()}}function me(){!d.value||!p.value||de(()=>{const a=p.value[Y.value];if(!a)return;const E=d.value,y=E.getBoundingClientRect(),C=a.getBoundingClientRect();if(o.value==="h"){const x=y.width,z=C.width,Vt=a.offsetLeft,Lt=E.scrollWidth-x;let ve=Vt-(x-z)/2;ve=Math.max(0,Math.min(ve,Lt)),E.scrollLeft=ve}else{const x=y.height,z=C.height,Vt=a.offsetTop,Lt=E.scrollHeight-x;let ve=Vt-(x-z)/2;ve=Math.max(0,Math.min(ve,Lt)),E.scrollTop=ve}})}ke(Y,()=>{de(()=>{me()})}),ke(o,()=>{de(()=>{me()})});const _=S(1);function Qr(a){if(!l.value||!u.value)return;a.preventDefault();const E=Math.sign(-a.deltaY);_.value+=.1*E,(_.value<=.1||_.value>=10)&&(_.value=Math.max(Math.min(_.value,10),.1)),u.value.style.scale=_.value}function Bn(a){!l.value||!u.value||(a=="in"?_.value+=.1:_.value-=.1,(_.value<=.1||_.value>=10)&&(_.value=Math.max(Math.min(_.value,10),.1)),u.value.style.scale=_.value)}let Zn=0;function kr(){!l.value||!u.value||(console.log(u.value,l.value,"isReady.value"),Zn+=90,u.value.style.rotate=`${Zn}deg`)}let st=0,it=0;function Jr(a){if(!l.value||!c.value)return;let E=a.target,y=a.pageX-E.offsetLeft,C=a.pageY-E.offsetTop;f.value=!1,st=a.clientX,it=a.clientY,c.value.addEventListener("mousemove",x);function x(z){l.value&&(Math.abs(z.clientX-st)>10||Math.abs(z.clientY-it)>10?(f.value=!0,E.style.left=z.pageX-y+"px",E.style.top=z.pageY-C+"px"):f.value=!1)}window.addEventListener("mouseup",z=>{!f.value&&t.toolInfo.clickFunc&&t.toolInfo.clickFunc(z.target.currentSrc),c.value&&c.value.removeEventListener("mousemove",x)})}let I=null;const Re=S(null),Wn=S(0),Kn=S(0),At=S(1);function $r(a){Re.value=a.target,At.value=a.touches.length,At.value==1?(Wn.value=a.changedTouches[0].clientX-Re.value.offsetLeft,Kn.value=a.changedTouches[0].clientY-Re.value.offsetTop,f.value=!1,st=a.changedTouches[0].clientX,it=a.changedTouches[0].clientX):I={startX:a.touches[0].pageX,startY:a.touches[0].pageY,endX:a.touches[0].pageX,endY:a.touches[0].pageY,startX2:a.touches[1]?a.touches[1].pageX:-1,startY2:a.touches[1]?a.touches[1].pageY:-1,endX2:a.touches[1]?a.touches[1].pageX:-1,endY2:a.touches[1]?a.touches[1].pageY:-1}}function es(a){if(Re.value,At.value==1){let y=a.changedTouches[0].clientX,C=a.changedTouches[0].clientY;if(Math.abs(y-st)>10||Math.abs(C-it)>10){f.value=!0;const x=y-Wn.value,z=C-Kn.value;Re.value.style.left=x+"px",Re.value.style.top=z+"px"}else f.value=!1}else{if(I===null)return;I.endX=a.touches[0].pageX,I.endY=a.touches[0].pageY,I.endX2=a.touches[1]?a.touches[1].pageX:-1,I.endY2=a.touches[1]?a.touches[1].pageY:-1;var E=function(y,C,x,z){return Math.hypot(x-y,z-C)};if(I.startX2!=-1&&I.endX2!=-1&&I.startY2!=-1&&I.endY2!=-1){let y=E(I.startX,I.startY,I.startX2,I.startY2),C=E(I.endX,I.endY,I.endX2,I.endY2);y<C?_.value<=4&&(_.value+=.03):y>C&&_.value>=.6&&(_.value-=.03),ns(_.value,a)}}}function ts(a){}function ns(a,E){E.target.style.scale=a}return(a,E)=>(oe(),he("div",{class:j(["container",o.value=="h"?"active":""])},[e.toolInfo.layoutChange&&t.ImgList.length>1&&!dn(n)?(oe(),he("div",{key:0,class:j(["horv",o.value=="h"?"active":""]),onClick:Wr},Ur,2)):Ln("",!0),H("div",{class:j(["img-wraper",o.value=="h"?"active":""]),ref_key:"ImgWrapper",ref:c},[H("img",{class:"v-img",onWheel:Qr,onMousedown:Tt(Jr,["stop"]),onTouchstart:$r,onTouchmove:es,onTouchend:ts,src:e.ImgList[Y.value],ref_key:"ImgRef",ref:u},null,40,Pr),bn(H("img",{src:Yr,onClick:E[0]||(E[0]=Tt(y=>Gn("l"),["stop"])),class:"img-l"},null,512),[[Dt,e.ImgList[0]&&Y.value!=0]]),bn(H("img",{src:Xr,onClick:E[1]||(E[1]=Tt(y=>Gn("r"),["stop"])),class:"img-l"},null,512),[[Dt,e.ImgList[0]&&Y.value!=e.ImgList.length-1]])],2),H("div",{class:j(["right",o.value=="h"?"active":""])},[H("div",{class:j(["toolbar",o.value=="h"?"active":""])},[(oe(!0),he($e,null,Cn(i.value,(y,C)=>(oe(),he("div",{class:"tool-wrapper",key:C},[H("img",{src:y.icon,alt:"",onClick:x=>y.func(y.type)},null,8,Gr)]))),128))],2),t.ImgList.length>1?(oe(),he("div",{key:0,class:j(["small-list",o.value=="h"?"active":""]),ref_key:"scrollContainer",ref:d},[H("div",{class:j(["img-list",o.value=="h"?"active":""]),style:Fe({width:o.value=="h"?82*e.ImgList.length+18+"px":"",height:o.value=="v"?82*e.ImgList.length+18+"px":""})},[(oe(!0),he($e,null,Cn(e.ImgList,(y,C)=>(oe(),he("img",{src:y,onClick:x=>Kr(C),class:j({active:o.value=="h",imgA:C==Y.value}),key:C,ref_for:!0,ref_key:"SmallImgRef",ref:p},null,10,Br))),128))],6)],2)):Ln("",!0)],2)],2))}});Ee.ImgViewer=Zr,Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"})});