vue-inner-image-zoom
Version:
A Vue.js component for magnifying an image within its parent container 🔎
1 lines • 35.3 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.InnerImageZoom=t():e.InnerImageZoom=t()}(self,(()=>(()=>{"use strict";var e={262:(e,t)=>{t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,o]of t)n[e]=o;return n}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};function r(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function i(e){if(y(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=_(o)?l(o):i(o);if(r)for(const e in r)t[e]=r[e]}return t}return _(e)||S(e)?e:void 0}n.d(o,{default:()=>Hn});const s=/;(?![^(]*\))/g,a=/:(.+)/;function l(e){const t={};return e.split(s).forEach((e=>{if(e){const n=e.split(a);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function c(e){let t="";if(_(e))t=e;else if(y(e))for(let n=0;n<e.length;n++){const o=c(e[n]);o&&(t+=o+" ")}else if(S(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const u=[],f=()=>{},p=/^on[^a-z]/,h=e=>p.test(e),d=Object.assign,g=Object.prototype.hasOwnProperty,m=(e,t)=>g.call(e,t),y=Array.isArray,v=e=>"[object Map]"===P(e),b=e=>"function"==typeof e,_=e=>"string"==typeof e,w=e=>"symbol"==typeof e,S=e=>null!==e&&"object"==typeof e,C=Object.prototype.toString,P=e=>C.call(e),O=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},A=/-(\w)/g,M=(k((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),/\B([A-Z])/g),x=(k((e=>e.replace(M,"-$1").toLowerCase())),k((e=>e.charAt(0).toUpperCase()+e.slice(1)))),z=k((e=>e?`on${x(e)}`:"")),F=(e,t)=>!Object.is(e,t);const T=e=>{const t=new Set(e);return t.w=0,t.n=0,t},D=e=>(e.w&Z)>0,E=e=>(e.n&Z)>0,j=new WeakMap;let L,I=0,Z=1;const B=Symbol(""),N=Symbol("");let $=!0;const R=[];function W(){R.push($),$=!1}function H(){const e=R.pop();$=void 0===e||e}function K(e,t,n){if($&&L){let t=j.get(e);t||j.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=T()),function(e){let t=!1;I<=30?E(e)||(e.n|=Z,t=!D(e)):t=!e.has(L),t&&(e.add(L),L.deps.push(e))}(o)}}function V(e,t,n,o,r,i){const s=j.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&y(e))s.forEach(((e,t)=>{("length"===t||t>=o)&&a.push(e)}));else switch(void 0!==n&&a.push(s.get(n)),t){case"add":y(e)?O(n)&&a.push(s.get("length")):(a.push(s.get(B)),v(e)&&a.push(s.get(N)));break;case"delete":y(e)||(a.push(s.get(B)),v(e)&&a.push(s.get(N)));break;case"set":v(e)&&a.push(s.get(B))}if(1===a.length)a[0]&&X(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);X(T(e))}}function X(e,t){const n=y(e)?e:[...e];for(const e of n)e.computed&&Y(e);for(const e of n)e.computed||Y(e)}function Y(e,t){(e!==L||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const U=r("__proto__,__v_isRef,__isVue"),q=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(w)),G=te(),J=te(!0),Q=ee();function ee(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Le(this);for(let e=0,t=this.length;e<t;e++)K(n,0,e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Le)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){W();const n=Le(this)[t].apply(this,e);return H(),n}})),e}function te(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&r===(e?t?Me:Ae:t?ke:Oe).get(n))return n;const i=y(n);if(!e&&i&&m(Q,o))return Reflect.get(Q,o,r);const s=Reflect.get(n,o,r);return(w(o)?q.has(o):U(o))?s:(e||K(n,0,o),t?s:Ne(s)?i&&O(o)?s:s.value:S(s)?e?ze(s):xe(s):s)}}function ne(e=!1){return function(t,n,o,r){let i=t[n];if(De(i)&&Ne(i)&&!Ne(o))return!1;if(!e&&(Ee(o)||De(o)||(i=Le(i),o=Le(o)),!y(t)&&Ne(i)&&!Ne(o)))return i.value=o,!0;const s=y(t)&&O(n)?Number(n)<t.length:m(t,n),a=Reflect.set(t,n,o,r);return t===Le(r)&&(s?F(o,i)&&V(t,"set",n,o):V(t,"add",n,o)),a}}const oe={get:G,set:ne(),deleteProperty:function(e,t){const n=m(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&V(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return w(t)&&q.has(t)||K(e,0,t),n},ownKeys:function(e){return K(e,0,y(e)?"length":B),Reflect.ownKeys(e)}},re={get:J,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},ie=e=>e,se=e=>Reflect.getPrototypeOf(e);function ae(e,t,n=!1,o=!1){const r=Le(e=e.__v_raw),i=Le(t);n||(t!==i&&K(r,0,t),K(r,0,i));const{has:s}=se(r),a=o?ie:n?Be:Ze;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function le(e,t=!1){const n=this.__v_raw,o=Le(n),r=Le(e);return t||(e!==r&&K(o,0,e),K(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function ce(e,t=!1){return e=e.__v_raw,!t&&K(Le(e),0,B),Reflect.get(e,"size",e)}function ue(e){e=Le(e);const t=Le(this);return se(t).has.call(t,e)||(t.add(e),V(t,"add",e,e)),this}function fe(e,t){t=Le(t);const n=Le(this),{has:o,get:r}=se(n);let i=o.call(n,e);i||(e=Le(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?F(t,s)&&V(n,"set",e,t):V(n,"add",e,t),this}function pe(e){const t=Le(this),{has:n,get:o}=se(t);let r=n.call(t,e);r||(e=Le(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&V(t,"delete",e,void 0),i}function he(){const e=Le(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}function de(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Le(i),a=t?ie:e?Be:Ze;return!e&&K(s,0,B),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function ge(e,t,n){return function(...o){const r=this.__v_raw,i=Le(r),s=v(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ie:t?Be:Ze;return!t&&K(i,0,l?N:B),{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}}}}function me(e){return function(...t){return"delete"!==e&&this}}function ye(){const e={get(e){return ae(this,e)},get size(){return ce(this)},has:le,add:ue,set:fe,delete:pe,clear:he,forEach:de(!1,!1)},t={get(e){return ae(this,e,!1,!0)},get size(){return ce(this)},has:le,add:ue,set:fe,delete:pe,clear:he,forEach:de(!1,!0)},n={get(e){return ae(this,e,!0)},get size(){return ce(this,!0)},has(e){return le.call(this,e,!0)},add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear"),forEach:de(!0,!1)},o={get(e){return ae(this,e,!0,!0)},get size(){return ce(this,!0)},has(e){return le.call(this,e,!0)},add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear"),forEach:de(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=ge(r,!1,!1),n[r]=ge(r,!0,!1),t[r]=ge(r,!1,!0),o[r]=ge(r,!0,!0)})),[e,n,t,o]}const[ve,be,_e,we]=ye();function Se(e,t){const n=t?e?we:_e:e?be:ve;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(m(n,o)&&o in t?n:t,o,r)}const Ce={get:Se(!1,!1)},Pe={get:Se(!0,!1)},Oe=new WeakMap,ke=new WeakMap,Ae=new WeakMap,Me=new WeakMap;function xe(e){return De(e)?e:Fe(e,!1,oe,Ce,Oe)}function ze(e){return Fe(e,!0,re,Pe,Ae)}function Fe(e,t,n,o,r){if(!S(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.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}}((e=>P(e).slice(8,-1))(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function Te(e){return De(e)?Te(e.__v_raw):!(!e||!e.__v_isReactive)}function De(e){return!(!e||!e.__v_isReadonly)}function Ee(e){return!(!e||!e.__v_isShallow)}function je(e){return Te(e)||De(e)}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function Ie(e){return((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e}const Ze=e=>S(e)?xe(e):e,Be=e=>S(e)?ze(e):e;function Ne(e){return!(!e||!0!==e.__v_isRef)}const $e={get:(e,t,n)=>{return Ne(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return Ne(r)&&!Ne(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Re(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){He(e,t,n)}return r}function We(e,t,n,o){if(b(e)){const i=Re(e,t,n,o);return i&&(S(r=i)&&b(r.then)&&b(r.catch))&&i.catch((e=>{He(e,t,n)})),i}var r;const i=[];for(let r=0;r<e.length;r++)i.push(We(e[r],t,n,o));return i}function He(e,t,n,o=!0){if(t&&t.vnode,t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Re(s,null,10,[e,r,i])}!function(e){console.error(e)}(e)}let Ke=!1,Ve=!1;const Xe=[];let Ye=0;const Ue=[];let qe=null,Ge=0;const Je=Promise.resolve();let Qe=null;function et(e){const t=Qe||Je;return e?t.then(this?e.bind(this):e):t}function tt(e){Xe.length&&Xe.includes(e,Ke&&e.allowRecurse?Ye+1:Ye)||(null==e.id?Xe.push(e):Xe.splice(function(e){let t=Ye+1,n=Xe.length;for(;t<n;){const o=t+n>>>1;ot(Xe[o])<e?t=o+1:n=o}return t}(e.id),0,e),nt())}function nt(){Ke||Ve||(Ve=!0,Qe=Je.then(it))}const ot=e=>null==e.id?1/0:e.id,rt=(e,t)=>{const n=ot(e)-ot(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function it(e){Ve=!1,Ke=!0,Xe.sort(rt);try{for(Ye=0;Ye<Xe.length;Ye++){const e=Xe[Ye];e&&!1!==e.active&&Re(e,null,14)}}finally{Ye=0,Xe.length=0,function(){if(Ue.length){const e=[...new Set(Ue)];if(Ue.length=0,qe)return void qe.push(...e);for(qe=e,qe.sort(((e,t)=>ot(e)-ot(t))),Ge=0;Ge<qe.length;Ge++)qe[Ge]();qe=null,Ge=0}}(),Ke=!1,Qe=null,(Xe.length||Ue.length)&&it(e)}}new Set,new Map;let st=null;const at=[Function,Array],lt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},setup(e,{slots:t}){const n=Jt(),o=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return yt((()=>{e.isMounted=!0})),vt((()=>{e.isUnmounting=!0})),e}();let r;return()=>{const i=t.default&&dt(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==Tt){s=t,e=!0;break}}const a=Le(e),{mode:l}=a;if(o.isLeaving)return ft(s);const c=pt(s);if(!c)return ft(s);const u=ut(c,a,o,n);ht(c,u);const f=n.subTree,p=f&&pt(f);let h=!1;const{getTransitionKey:d}=c.type;if(d){const e=d();void 0===r?r=e:e!==r&&(r=e,h=!0)}if(p&&p.type!==Tt&&(!Nt(c,p)||h)){const e=ut(p,a,o,n);if(ht(p,e),"out-in"===l)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},ft(s);"in-out"===l&&c.type!==Tt&&(e.delayLeave=(e,t,n)=>{ct(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}};function ct(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function ut(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:d,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:b}=t,_=String(e.key),w=ct(n,e),S=(e,t)=>{e&&We(e,o,9,t)},C=(e,t)=>{const n=t[1];S(e,t),y(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},P={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=g||a}t._leaveCb&&t._leaveCb(!0);const i=w[_];i&&Nt(e,i)&&i.el._leaveCb&&i.el._leaveCb(),S(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=m||l,o=v||c,i=b||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,S(t?i:o,[e]),P.delayedLeave&&P.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();S(f,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),S(n?d:h,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,p?C(p,[t,s]):s()},clone:e=>ut(e,t,n,o)};return P}function ft(e){if(gt(e))return(e=Vt(e)).children=null,e}function pt(e){return gt(e)?e.children?e.children[0]:void 0:e}function ht(e,t){6&e.shapeFlag&&e.component?ht(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 dt(e,t=!1,n){let o=[],r=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===zt?(128&s.patchFlag&&r++,o=o.concat(dt(s.children,t,a))):(t||s.type!==Tt)&&o.push(null!=a?Vt(s,{key:a}):s)}if(r>1)for(let e=0;e<o.length;e++)o[e].patchFlag=-2;return o}const gt=e=>e.type.__isKeepAlive;RegExp,RegExp;const mt=e=>(t,n=Gt)=>(!tn||"sp"===e)&&function(e,t,n=Gt,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;W(),Qt(n);const r=We(t,n,e,o);return en(),H(),r});return o?r.unshift(i):r.push(i),i}}(e,t,n),yt=(mt("bm"),mt("m")),vt=(mt("bu"),mt("u"),mt("bum"));mt("um"),mt("sp"),mt("rtg"),mt("rtc");const bt=Symbol();function _t(e,t,n,o){let r;const i=n&&n[o];if(y(e)||_(e)){r=new Array(e.length);for(let n=0,o=e.length;n<o;n++)r[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(S(e))if(e[Symbol.iterator])r=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o<s;o++){const s=n[o];r[o]=t(e[s],s,o,i&&i[o])}}else r=[];return n&&(n[o]=r),r}function wt(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:z(o)]=e[o];return n}const St=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((t=Ie(e.exposed),Te(t)?t:new Proxy(t,$e)),{get:(t,n)=>n in t?t[n]:n in Ct?Ct[n](e):void 0}));var t}(e)||e.proxy:St(e.parent):null,Ct=d(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=>St(e.parent),$root:e=>St(e.root),$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>e.f||(e.f=()=>tt(e.update)),$nextTick:e=>e.n||(e.n=et.bind(e.proxy)),$watch:e=>f});function Pt(e,t,n=!1){const o=e.children,r=t.children;if(y(o)&&y(r))for(let e=0;e<o.length;e++){const t=o[e];let s=r[e];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&(s=r[e]=null===(i=r[e]).el||i.memo?i:Vt(i),s.el=t.el),n||Pt(t,s))}var i}const Ot=e=>e&&(e.disabled||""===e.disabled),kt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,At=(e,t)=>{const n=e&&e.to;if(_(n)){if(t){return t(n)}return null}return n};function Mt(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,f=2===i;if(f&&o(s,t,n),(!f||Ot(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);f&&o(a,t,n)}const xt={__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:f,pbc:p,o:{insert:h,querySelector:d,createText:g,createComment:m}}=c,y=Ot(t.props);let{shapeFlag:v,children:b,dynamicChildren:_}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");h(e,n,o),h(c,n,o);const f=t.target=At(t.props,d),p=t.targetAnchor=g("");f&&(h(p,f),s=s||kt(f));const m=(e,t)=>{16&v&&u(b,e,t,r,i,s,a,l)};y?m(n,c):f&&m(f,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Ot(e.props),m=g?n:u,v=g?o:h;if(s=s||kt(u),_?(p(e.dynamicChildren,_,m,r,i,s,a),Pt(e,t,!0)):l||f(e,t,m,v,r,i,s,a,!1),y)g||Mt(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=At(t.props,d);e&&Mt(t,e,null,c,0)}else g&&Mt(t,u,h,c,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:p}=e;if(f&&i(u),(s||!Ot(p))&&(i(c),16&a))for(let e=0;e<l.length;e++){const o=l[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:Mt,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=At(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Ot(t.props))t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l;else{t.anchor=s(e);let a=l;for(;a;)if(a=s(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(l,t,u,n,o,r,i)}}return t.anchor&&s(t.anchor)}},zt=Symbol(void 0),Ft=Symbol(void 0),Tt=Symbol(void 0),Dt=(Symbol(void 0),[]);let Et=null;function jt(e=!1){Dt.push(Et=e?null:[])}function Lt(e){return e.dynamicChildren=Et||u,Dt.pop(),Et=Dt[Dt.length-1]||null,Et&&Et.push(e),e}function It(e,t,n,o,r,i){return Lt(Ht(e,t,n,o,r,i,!0))}function Zt(e,t,n,o,r){return Lt(Kt(e,t,n,o,r,!0))}function Bt(e){return!!e&&!0===e.__v_isVNode}function Nt(e,t){return e.type===t.type&&e.key===t.key}const $t="__vInternal",Rt=({key:e})=>null!=e?e:null,Wt=({ref:e,ref_key:t,ref_for:n})=>null!=e?_(e)||Ne(e)||b(e)?{i:st,r:e,k:t,f:!!n}:e:null;function Ht(e,t=null,n=null,o=0,r=null,i=(e===zt?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rt(t),ref:t&&Wt(t),scopeId:null,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return a?(Ut(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=_(n)?8:16),!s&&Et&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Et.push(l),l}const Kt=function(e,t=null,n=null,o=0,r=null,s=!1){if(e&&e!==bt||(e=Tt),Bt(e)){const o=Vt(e,t,!0);return n&&Ut(o,n),!s&&Et&&(6&o.shapeFlag?Et[Et.indexOf(e)]=o:Et.push(o)),o.patchFlag|=-2,o}if(a=e,b(a)&&"__vccOpts"in a&&(e=e.__vccOpts),t){t=function(e){return e?je(e)||$t in e?d({},e):e:null}(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=c(e)),S(n)&&(je(n)&&!y(n)&&(n=d({},n)),t.style=i(n))}var a;return Ht(e,t,n,o,r,_(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:S(e)?4:b(e)?2:0,s,!0)};function Vt(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?qt(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Rt(a),ref:t&&t.ref?n&&r?y(r)?r.concat(Wt(t)):[r,Wt(t)]:Wt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==zt?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vt(e.ssContent),ssFallback:e.ssFallback&&Vt(e.ssFallback),el:e.el,anchor:e.anchor}}function Xt(e=" ",t=0){return Kt(Ft,null,e,t)}function Yt(e="",t=!1){return t?(jt(),Zt(Tt,null,e)):Kt(Tt,null,e)}function Ut(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(y(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Ut(e,n()),n._c&&(n._d=!0)))}{n=32;const e=t._;!e&&!($t in t)&&(t._ctx=st)}}else b(t)?(t={default:t,_ctx:st},n=32):(t=String(t),64&o?(n=16,t=[Xt(t)]):n=8);e.children=t,e.shapeFlag|=n}function qt(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=c([t.class,o.class]));else if("style"===e)t.style=i([t.style,o.style]);else if(h(e)){const n=t[e],r=o[e];!r||n===r||y(n)&&n.includes(r)||(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}Object.create(null),new WeakMap,new WeakMap,new WeakMap;let Gt=null;const Jt=()=>Gt||st,Qt=e=>{Gt=e,e.scope.on()},en=()=>{Gt&&Gt.scope.off(),Gt=null};let tn=!1;Symbol(""),"undefined"!=typeof document&&document;const[nn,on]=(()=>{let e=Date.now,t=!1;if("undefined"!=typeof window){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();"undefined"!=typeof HTMLElement&&HTMLElement;const rn="transition",sn="animation",an=(e,{slots:t})=>function(e,t,n){const o=arguments.length;return 2===o?S(t)&&!y(t)?Bt(t)?Kt(e,null,[t]):Kt(e,t):Kt(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Bt(n)&&(n=[n]),Kt(e,t,n))}(lt,function(e){const t={};for(const n in e)n in ln||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(S(e))return[fn(e.enter),fn(e.leave)];{const t=fn(e);return[t,t]}}(r),m=g&&g[0],y=g&&g[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:C,onBeforeAppear:P=v,onAppear:O=b,onAppearCancelled:k=_}=t,A=(e,t,n)=>{hn(e,t?u:a),hn(e,t?c:s),n&&n()},M=(e,t)=>{e._isLeaving=!1,hn(e,f),hn(e,h),hn(e,p),t&&t()},x=e=>(t,n)=>{const r=e?O:b,s=()=>A(t,e,n);cn(r,[t,s]),dn((()=>{hn(t,e?l:i),pn(t,e?u:a),un(r)||mn(t,o,m,s)}))};return d(t,{onBeforeEnter(e){cn(v,[e]),pn(e,i),pn(e,s)},onBeforeAppear(e){cn(P,[e]),pn(e,l),pn(e,c)},onEnter:x(!1),onAppear:x(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>M(e,t);pn(e,f),document.body.offsetHeight,pn(e,p),dn((()=>{e._isLeaving&&(hn(e,f),pn(e,h),un(w)||mn(e,o,y,n))})),cn(w,[e,n])},onEnterCancelled(e){A(e,!1),cn(_,[e])},onAppearCancelled(e){A(e,!0),cn(k,[e])},onLeaveCancelled(e){M(e),cn(C,[e])}})}(e),t);an.displayName="Transition";const ln={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},cn=(an.props=d({},lt.props,ln),(e,t=[])=>{y(e)?e.forEach((e=>e(...t))):e&&e(...t)}),un=e=>!!e&&(y(e)?e.some((e=>e.length>1)):e.length>1);function fn(e){return(e=>{const t=parseFloat(e);return isNaN(t)?e:t})(e)}function pn(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function dn(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let gn=0;function mn(e,t,n,o){const r=e._endId=++gn,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(rn+"Delay"),i=o(rn+"Duration"),s=yn(r,i),a=o(sn+"Delay"),l=o(sn+"Duration"),c=yn(a,l);let u=null,f=0,p=0;return t===rn?s>0&&(u=rn,f=s,p=i.length):t===sn?c>0&&(u=sn,f=c,p=l.length):(f=Math.max(s,c),u=f>0?s>c?rn:sn:null,p=u?u===rn?i.length:l.length:0),{type:u,timeout:f,propCount:p,hasTransform:u===rn&&/\b(transform|all)(,|$)/.test(n[rn+"Property"])}}(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&f()};setTimeout((()=>{u<l&&f()}),a+1),e.addEventListener(c,p)}function yn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>vn(t)+vn(e[n]))))}function vn(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}new WeakMap,new WeakMap;const bn=["ctrl","shift","alt","meta"],_n={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)=>bn.some((n=>e[`${n}Key`]&&!t.includes(n)))},wn=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=_n[t[e]];if(o&&o(n,t))return}return e(n,...o)};function Sn(e){return Sn="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},Sn(e)}function Cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cn(Object(n),!0).forEach((function(t){On(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function On(e,t,n){return(t=function(e){var t=function(e){if("object"!==Sn(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Sn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Sn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn={key:0},An=["src","width","height"],Mn=["src","width","height"],xn={class:"iiz__zoom-portal"},zn=["src"],Fn=["src"],Tn={key:1,class:"iiz__btn iiz__hint"};function Dn(e,t){return t?{width:window.innerWidth,height:window.innerHeight,left:0,top:0}:e.getBoundingClientRect()}function En(e,t){return e&&window.matchMedia&&window.matchMedia("(max-width: ".concat(t,"px)")).matches}function jn(e,t,n,o){return{x:e-n,y:t-o}}function Ln(e){return{x:"number"==typeof e.pageX?e.pageX:e.changedTouches[0].pageX,y:"number"==typeof e.pageY?e.pageY:e.changedTouches[0].pageY}}function In(e,t){var n=Ln(e);return{x:n.x-t.offsets.x,y:n.y-t.offsets.y}}function Zn(e){return Zn="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},Zn(e)}function Bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(n),!0).forEach((function(t){$n(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $n(e,t,n){return(t=function(e){var t=function(e){if("object"!==Zn(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Zn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Zn(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rn=(Wn={name:"InnerImageZoom",props:{moveType:{type:String,default:"pan"},zoomType:{type:String,default:"click"},src:{type:String,required:!0},imgAttributes:{type:Object,default:function(){return{}}},sources:Array,width:Number,height:Number,hasSpacer:Boolean,zoomSrc:String,zoomScale:{type:Number,default:1},zoomPreload:Boolean,fadeDuration:{type:Number,default:150},fullscreenOnMobile:Boolean,mobileBreakpoint:{type:Number,default:640},hideHint:Boolean,hideCloseButton:Boolean,className:String,afterZoomIn:Function,afterZoomOut:Function},data:function(){return{isActive:this.zoomPreload||!1,isTouch:!1,isZoomed:!1,isFullscreen:!1,isDragging:!1,currentMoveType:this.moveType,left:0,top:0,imgProps:{}}},created:function(){this.imgProps={onLoadCallback:null,bounds:{},offsets:{},ratios:{},eventPosition:{},scaledDimensions:{}},En(this.fullscreenOnMobile,this.mobileBreakpoint)&&(this.isActive=!1)},computed:{validSources:function(){return this.sources?this.sources.filter((function(e){return e.srcSet})):[]},createSpacer:function(){return this.width&&this.height&&this.hasSpacer}},methods:{handleMouseEnter:function(e){this.isActive=!0,"hover"===this.zoomType&&!this.isZoomed&&this.handleClick(e)},handleTouchStart:function(){this.isTouch=!0,this.isFullscreen=En(this.fullscreenOnMobile,this.mobileBreakpoint),this.currentMoveType="drag"},handleClick:function(e){this.isZoomed?this.isTouch?this.hideCloseButton&&this.handleClose():!this.isDragging&&this.zoomOut():(this.isTouch&&(this.isActive=!0),this.imgProps.zoomImg?(this.handleLoad({target:this.imgProps.zoomImg}),this.zoomIn(e)):this.imgProps.onLoadCallback=this.zoomIn.bind(this,e))},handleLoad:function(e){var t,n,o,r,i=(t=e.target,n=this.zoomScale,{width:t.naturalWidth*n,height:t.naturalHeight*n});this.imgProps.zoomImg=e.target,this.imgProps.zoomImg.setAttribute("width",i.width),this.imgProps.zoomImg.setAttribute("height",i.height),this.imgProps.scaledDimensions=i,this.imgProps.bounds=Dn(this.$refs.img,!1),this.imgProps.ratios=(o=this.imgProps.bounds,{x:((r=i).width-o.width)/o.width,y:(r.height-o.height)/o.height}),this.imgProps.onLoadCallback&&(this.imgProps.onLoadCallback(),this.imgProps.onLoadCallback=null)},handleMouseMove:function(e){var t=function(e,t){var n=In(e,t);return{left:Math.max(Math.min(n.x,t.bounds.width),0)*-t.ratios.x,top:Math.max(Math.min(n.y,t.bounds.height),0)*-t.ratios.y}}(e,this.imgProps);this.left=t.left,this.top=t.top},handleDragStart:function(e){var t=Ln(e);this.imgProps.offsets=jn(t.x,t.y,this.imgProps.zoomImg.offsetLeft,this.imgProps.zoomImg.offsetTop),this.imgProps.zoomImg.addEventListener(this.isTouch?"touchmove":"mousemove",this.handleDragMove,{passive:!0}),this.isTouch||(this.imgProps.eventPosition=t)},handleDragMove:function(e){var t=function(e,t){var n=In(e,t);return{left:Math.max(Math.min(n.x,0),-1*(t.scaledDimensions.width-t.bounds.width)),top:Math.max(Math.min(n.y,0),-1*(t.scaledDimensions.height-t.bounds.height))}}(e,this.imgProps);this.left=t.left,this.top=t.top},handleDragEnd:function(e){this.imgProps.zoomImg.removeEventListener(this.isTouch?"touchmove":"mousemove",this.handleDragMove),this.isTouch||(this.isDragging=function(e,t){var n=Math.abs(e.pageX-t.eventPosition.x),o=Math.abs(e.pageY-t.eventPosition.y);return n>5||o>5}(e,this.imgProps))},handleMouseLeave:function(e){"drag"===this.currentMoveType&&this.isZoomed?this.handleDragEnd(e):this.handleClose()},handleClose:function(){var e=this;this.zoomOut((function(){setTimeout((function(){(e.zoomPreload&&e.isTouch||!e.zoomPreload)&&(e.isActive=!1,e.imgProps={onLoadCallback:null,bounds:{},offsets:{},ratios:{},eventPosition:{},scaledDimensions:{}}),e.isTouch=!1,e.isFullscreen=!1,e.currentMoveType=e.moveType}),e.isFullscreen?0:e.fadeDuration)}))},initialMove:function(e){this.imgProps.offsets=jn(window.pageXOffset,window.pageYOffset,-this.imgProps.bounds.left,-this.imgProps.bounds.top),this.handleMouseMove(e)},initialDragMove:function(e){var t=function(e,t,n){var o=(e.pageX-(window.pageXOffset+t.bounds.left))*-t.ratios.x,r=(e.pageY-(window.pageYOffset+t.bounds.top))*-t.ratios.y;return{pageX:o+(n?(window.innerWidth-t.bounds.width)/2:0),pageY:r+(n?(window.innerHeight-t.bounds.height)/2:0)}}(e,this.imgProps,this.isFullscreen);this.imgProps.bounds=Dn(this.$refs.img,this.isFullscreen),this.imgProps.offsets=jn(0,0,0,0),this.handleDragMove(Nn(Nn({},t),{},{preventDefault:function(){},stopPropagation:function(){}}))},zoomIn:function(e){this.isZoomed=!0,"drag"===this.currentMoveType?this.initialDragMove(e):this.initialMove(e),this.afterZoomIn&&this.afterZoomIn()},zoomOut:function(e){this.isZoomed=!1,this.afterZoomOut&&this.afterZoomOut(),e&&e()}}},b(Wn)?{setup:Wn,name:Wn.name}:Wn);var Wn;const Hn=(0,n(262).A)(Rn,[["render",function(e,t,n,o,r,s){return jt(),It("figure",qt({class:["iiz",Pn(Pn({},e.className&&On({},e.className,e.className)),{},{"iiz--drag":"drag"===e.currentMoveType})],ref:"img",style:{width:"".concat(e.width,"px")}},wt({touchstart:e.isZoomed?function(){}:e.handleTouchStart,click:e.handleClick,mouseenter:e.isTouch?function(){}:e.handleMouseEnter,mousemove:"drag"!==e.currentMoveType&&e.isZoomed?e.handleMouseMove:function(){},mouseleave:e.isTouch?function(){}:e.handleMouseLeave},!0)),[Ht("div",{style:i({paddingTop:e.createSpacer?"".concat((e.height||0)/(e.width||0)*100,"%"):void 0})},[e.validSources?(jt(),It("picture",kn,[(jt(!0),It(zt,null,_t(e.validSources,(function(e,t){return jt(),It("source",qt({key:t},e),null,16)})),128)),Ht("img",qt(e.imgAttributes,{class:["iiz__img",[e.imgAttributes.className||"",{"iiz__img--hidden":e.isZoomed,"iiz__img--abs":e.createSpacer}]],style:{transition:"linear 0ms opacity ".concat(e.isZoomed?e.fadeDuration:0,"ms, linear 0ms visibility ").concat(e.isZoomed?e.fadeDuration:0,"ms")},src:e.src,width:e.width,height:e.height}),null,16,An)])):(jt(),It("img",qt({key:1},e.imgAttributes,{class:["iiz__img",[e.imgAttributes.className||"",{"iiz__img--hidden":e.isZoomed,"iiz__img--abs":e.createSpacer}]],style:{transition:"linear 0ms opacity ".concat(e.isZoomed?e.fadeDuration:0,"ms, linear 0ms visibility ").concat(e.isZoomed?e.fadeDuration:0,"ms")},src:e.src,width:e.width,height:e.height}),null,16,Mn))],4),e.isActive?(jt(),It(zt,{key:0},[e.isFullscreen?(jt(),Zt(xt,{key:0,to:"body"},[Ht("div",xn,[Ht("img",qt({class:["iiz__zoom-img",{"iiz__zoom-img--visible":e.isZoomed}],alt:"",draggable:!1,style:{top:"".concat(e.top,"px"),left:"".concat(e.left,"px"),transition:"linear ".concat(e.isFullscreen?0:e.fadeDuration,"ms opacity, linear ").concat(e.isFullscreen?0:e.fadeDuration,"ms visibility")},src:e.zoomSrc||e.src},wt({load:e.handleLoad,touchstart:e.handleDragStart,touchend:e.handleDragEnd,mousedown:e.handleDragStart,mouseup:e.handleDragEnd,click:e.handleClick},!0)),null,16,zn),e.hideCloseButton||"drag"!==e.currentMoveType?Yt("v-if",!0):(jt(),It("button",{key:0,type:"button",class:c(["iiz__btn iiz__close",{"iiz__close--visible":e.isZoomed}]),"aria-label":"Zoom Out",style:i({transition:"linear ".concat(e.isFullscreen?0:e.fadeDuration,"ms opacity, linear ").concat(e.isFullscreen?0:e.fadeDuration,"ms visibility")}),onClick:t[0]||(t[0]=wn((function(){return e.handleClose&&e.handleClose.apply(e,arguments)}),["stop"]))},null,6))])])):(jt(),It(zt,{key:1},[Ht("img",qt({class:["iiz__zoom-img",{"iiz__zoom-img--visible":e.isZoomed}],alt:"",draggable:!1,style:{top:"".concat(e.top,"px"),left:"".concat(e.left,"px"),transition:"linear ".concat(e.isFullscreen?0:e.fadeDuration,"ms opacity, linear ").concat(e.isFullscreen?0:e.fadeDuration,"ms visibility")},src:e.zoomSrc||e.src},wt({load:e.handleLoad,touchstart:e.handleDragStart,touchend:e.handleDragEnd,mousedown:e.handleDragStart,mouseup:e.handleDragEnd},!0)),null,16,Fn),e.hideCloseButton||"drag"!==e.currentMoveType?Yt("v-if",!0):(jt(),It("button",{key:0,class:c(["iiz__btn iiz__close",{"iiz__close--visible":e.isZoomed}]),type:"button","aria-label":"Zoom Out",style:i({transition:"linear ".concat(e.isFullscreen?0:e.fadeDuration,"ms opacity, linear ").concat(e.isFullscreen?0:e.fadeDuration,"ms visibility")}),onClick:t[1]||(t[1]=wn((function(){return e.handleClose&&e.handleClose.apply(e,arguments)}),["stop"]))},null,6))],64))],64)):Yt("v-if",!0),e.isZoomed||e.hideHint?Yt("v-if",!0):(jt(),It("span",Tn))],16)}],["__scopeId","data-v-327bf390"]]);return o.default})()));