!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).RevealZoom=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),c=u,a=Function.prototype.call,l=c?a.bind(a):function(){return a.apply(a,arguments)},s={},f={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,y=d&&!f.call({1:2},1);s.f=y?function(t){var e=d(this,t);return!!e&&e.enumerable}:f;var m,p,b=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=u,v=Function.prototype,h=v.bind,w=v.call,x=g&&h.bind(w,w),O=g?function(t){return t&&x(t)}:function(t){return t&&function(){return w.apply(t,arguments)}},S=O,T=S({}.toString),E=S("".slice),j=function(t){return E(T(t),8,-1)},I=O,P=o,z=j,R=n.Object,k=I("".split),C=P((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"==z(t)?k(t,""):R(t)}:R,L=n.TypeError,M=function(t){if(null==t)throw L("Can't call method on "+t);return t},W=C,A=M,F=function(t){return W(A(t))},_=function(t){return"function"==typeof t},N=_,D=function(t){return"object"==typeof t?null!==t:N(t)},Y=n,K=_,X=function(t){return K(t)?t:void 0},B=function(t,e){return arguments.length<2?X(Y[t]):Y[t]&&Y[t][e]},H=O({}.isPrototypeOf),U=n,G=B("navigator","userAgent")||"",$=U.process,q=U.Deno,V=$&&$.versions||q&&q.version,Z=V&&V.v8;Z&&(p=(m=Z.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!p&&G&&(!(m=G.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=G.match(/Chrome\/(\d+)/))&&(p=+m[1]);var J=p,Q=o,tt=!!Object.getOwnPropertySymbols&&!Q((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&J&&J<41})),et=tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,nt=B,rt=_,ot=H,it=et,ut=n.Object,ct=it?function(t){return"symbol"==typeof t}:function(t){var e=nt("Symbol");return rt(e)&&ot(e.prototype,ut(t))},at=n.String,lt=_,st=function(t){try{return at(t)}catch(t){return"Object"}},ft=n.TypeError,dt=function(t){if(lt(t))return t;throw ft(st(t)+" is not a function")},yt=l,mt=_,pt=D,bt=n.TypeError,gt={exports:{}},vt=n,ht=Object.defineProperty,wt=function(t,e){try{ht(vt,t,{value:e,configurable:!0,writable:!0})}catch(n){vt[t]=e}return e},xt=wt,Ot="__core-js_shared__",St=n[Ot]||xt(Ot,{}),Tt=St;(gt.exports=function(t,e){return Tt[t]||(Tt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Et=M,jt=n.Object,It=function(t){return jt(Et(t))},Pt=O({}.hasOwnProperty),zt=Object.hasOwn||function(t,e){return Pt(It(t),e)},Rt=O,kt=0,Ct=Math.random(),Lt=Rt(1..toString),Mt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Lt(++kt+Ct,36)},Wt=n,At=gt.exports,Ft=zt,_t=Mt,Nt=tt,Dt=et,Yt=At("wks"),Kt=Wt.Symbol,Xt=Kt&&Kt.for,Bt=Dt?Kt:Kt&&Kt.withoutSetter||_t,Ht=function(t){if(!Ft(Yt,t)||!Nt&&"string"!=typeof Yt[t]){var e="Symbol."+t;Nt&&Ft(Kt,t)?Yt[t]=Kt[t]:Yt[t]=Dt&&Xt?Xt(e):Bt(e)}return Yt[t]},Ut=l,Gt=D,$t=ct,qt=function(t,e){var n=t[e];return null==n?void 0:dt(n)},Vt=function(t,e){var n,r;if("string"===e&&mt(n=t.toString)&&!pt(r=yt(n,t)))return r;if(mt(n=t.valueOf)&&!pt(r=yt(n,t)))return r;if("string"!==e&&mt(n=t.toString)&&!pt(r=yt(n,t)))return r;throw bt("Can't convert object to primitive value")},Zt=Ht,Jt=n.TypeError,Qt=Zt("toPrimitive"),te=function(t,e){if(!Gt(t)||$t(t))return t;var n,r=qt(t,Qt);if(r){if(void 0===e&&(e="default"),n=Ut(r,t,e),!Gt(n)||$t(n))return n;throw Jt("Can't convert object to primitive value")}return void 0===e&&(e="number"),Vt(t,e)},ee=ct,ne=function(t){var e=te(t,"string");return ee(e)?e:e+""},re=D,oe=n.document,ie=re(oe)&&re(oe.createElement),ue=function(t){return ie?oe.createElement(t):{}},ce=ue,ae=!i&&!o((function(){return 7!=Object.defineProperty(ce("div"),"a",{get:function(){return 7}}).a})),le=i,se=l,fe=s,de=b,ye=F,me=ne,pe=zt,be=ae,ge=Object.getOwnPropertyDescriptor;r.f=le?ge:function(t,e){if(t=ye(t),e=me(e),be)try{return ge(t,e)}catch(t){}if(pe(t,e))return de(!se(fe.f,t,e),t[e])};var ve={},he=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),we=n,xe=D,Oe=we.String,Se=we.TypeError,Te=function(t){if(xe(t))return t;throw Se(Oe(t)+" is not an object")},Ee=i,je=ae,Ie=he,Pe=Te,ze=ne,Re=n.TypeError,ke=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,Le="enumerable",Me="configurable",We="writable";ve.f=Ee?Ie?function(t,e,n){if(Pe(t),e=ze(e),Pe(n),"function"==typeof t&&"prototype"===e&&"value"in n&&We in n&&!n.writable){var r=Ce(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:Me in n?n.configurable:r.configurable,enumerable:Le in n?n.enumerable:r.enumerable,writable:!1})}return ke(t,e,n)}:ke:function(t,e,n){if(Pe(t),e=ze(e),Pe(n),je)try{return ke(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Re("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Ae=ve,Fe=b,_e=i?function(t,e,n){return Ae.f(t,e,Fe(1,n))}:function(t,e,n){return t[e]=n,t},Ne={exports:{}},De=_,Ye=St,Ke=O(Function.toString);De(Ye.inspectSource)||(Ye.inspectSource=function(t){return Ke(t)});var Xe,Be,He,Ue=Ye.inspectSource,Ge=_,$e=Ue,qe=n.WeakMap,Ve=Ge(qe)&&/native code/.test($e(qe)),Ze=gt.exports,Je=Mt,Qe=Ze("keys"),tn=function(t){return Qe[t]||(Qe[t]=Je(t))},en={},nn=Ve,rn=n,on=O,un=D,cn=_e,an=zt,ln=St,sn=tn,fn=en,dn="Object already initialized",yn=rn.TypeError,mn=rn.WeakMap;if(nn||ln.state){var pn=ln.state||(ln.state=new mn),bn=on(pn.get),gn=on(pn.has),vn=on(pn.set);Xe=function(t,e){if(gn(pn,t))throw new yn(dn);return e.facade=t,vn(pn,t,e),e},Be=function(t){return bn(pn,t)||{}},He=function(t){return gn(pn,t)}}else{var hn=sn("state");fn[hn]=!0,Xe=function(t,e){if(an(t,hn))throw new yn(dn);return e.facade=t,cn(t,hn,e),e},Be=function(t){return an(t,hn)?t[hn]:{}},He=function(t){return an(t,hn)}}var wn={set:Xe,get:Be,has:He,enforce:function(t){return He(t)?Be(t):Xe(t,{})},getterFor:function(t){return function(e){var n;if(!un(e)||(n=Be(e)).type!==t)throw yn("Incompatible receiver, "+t+" required");return n}}},xn=i,On=zt,Sn=Function.prototype,Tn=xn&&Object.getOwnPropertyDescriptor,En=On(Sn,"name"),jn=En&&"something"===function(){}.name,In=En&&(!xn||xn&&Tn(Sn,"name").configurable),Pn=n,zn=_,Rn=zt,kn=_e,Cn=wt,Ln=Ue,Mn={EXISTS:En,PROPER:jn,CONFIGURABLE:In}.CONFIGURABLE,Wn=wn.get,An=wn.enforce,Fn=String(String).split("String");(Ne.exports=function(t,e,n,r){var o,i=!!r&&!!r.unsafe,u=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet,a=r&&void 0!==r.name?r.name:e;zn(n)&&("Symbol("===String(a).slice(0,7)&&(a="["+String(a).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Rn(n,"name")||Mn&&n.name!==a)&&kn(n,"name",a),(o=An(n)).source||(o.source=Fn.join("string"==typeof a?a:""))),t!==Pn?(i?!c&&t[e]&&(u=!0):delete t[e],u?t[e]=n:kn(t,e,n)):u?t[e]=n:Cn(e,n)})(Function.prototype,"toString",(function(){return zn(this)&&Wn(this).source||Ln(this)}));var _n={},Nn=Math.ceil,Dn=Math.floor,Yn=function(t){var e=+t;return e!=e||0===e?0:(e>0?Dn:Nn)(e)},Kn=Yn,Xn=Math.max,Bn=Math.min,Hn=Yn,Un=Math.min,Gn=function(t){return t>0?Un(Hn(t),9007199254740991):0},$n=F,qn=function(t,e){var n=Kn(t);return n<0?Xn(n+e,0):Bn(n,e)},Vn=function(t){return Gn(t.length)},Zn=function(t){return function(e,n,r){var o,i=$n(e),u=Vn(i),c=qn(r,u);if(t&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Jn={includes:Zn(!0),indexOf:Zn(!1)},Qn=zt,tr=F,er=Jn.indexOf,nr=en,rr=O([].push),or=function(t,e){var n,r=tr(t),o=0,i=[];for(n in r)!Qn(nr,n)&&Qn(r,n)&&rr(i,n);for(;e.length>o;)Qn(r,n=e[o++])&&(~er(i,n)||rr(i,n));return i},ir=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ur=or,cr=ir.concat("length","prototype");_n.f=Object.getOwnPropertyNames||function(t){return ur(t,cr)};var ar={};ar.f=Object.getOwnPropertySymbols;var lr=B,sr=_n,fr=ar,dr=Te,yr=O([].concat),mr=lr("Reflect","ownKeys")||function(t){var e=sr.f(dr(t)),n=fr.f;return n?yr(e,n(t)):e},pr=zt,br=mr,gr=r,vr=ve,hr=o,wr=_,xr=/#|\.prototype\./,Or=function(t,e){var n=Tr[Sr(t)];return n==jr||n!=Er&&(wr(e)?hr(e):!!e)},Sr=Or.normalize=function(t){return String(t).replace(xr,".").toLowerCase()},Tr=Or.data={},Er=Or.NATIVE="N",jr=Or.POLYFILL="P",Ir=Or,Pr=n,zr=r.f,Rr=_e,kr=Ne.exports,Cr=wt,Lr=function(t,e,n){for(var r=br(e),o=vr.f,i=gr.f,u=0;uu;)ro.f(t,n=o[u++],r[n]);return t};var co,ao=B("document","documentElement"),lo=Te,so=Zr,fo=ir,yo=en,mo=ao,po=ue,bo=tn("IE_PROTO"),go=function(){},vo=function(t){return"