UNPKG

106 kBJavaScriptView Raw
1(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["LightGalleryVue"]=e(require("vue")):t["LightGalleryVue"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"0538":function(t,e,n){"use strict";var r=n("1c0b"),i=n("861d"),o=[].slice,s={},a=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";s[e]=Function("C,a","return new C("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof s?a(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(s.prototype=e.prototype),s}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),s=n("fc6a"),a=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=s(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},"0cb2":function(t,e,n){var r=n("7b0b"),i=Math.floor,o="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var f=n+t.length,d=l.length,h=a;return void 0!==c&&(c=r(c),h=s),o.call(u,h,(function(r,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":s=c[o.slice(1,-1)];break;default:var a=+o;if(0===a)return r;if(a>d){var u=i(a/10);return 0===u?r:u<=d?void 0===l[u-1]?o.charAt(1):l[u-1]+o.charAt(1):r}s=l[a-1]}return void 0===s?"":s}))}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1276:function(t,e,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),s=n("1d80"),a=n("4840"),l=n("8aa5"),c=n("50c4"),u=n("14c3"),f=n("9263"),d=n("9f7f"),h=d.UNSUPPORTED_Y,g=[].push,p=Math.min,v=4294967295;r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(s(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);var a,l,c,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,p=new RegExp(t.source,d+"g");while(a=f.call(p,r)){if(l=p.lastIndex,l>h&&(u.push(r.slice(h,a.index)),a.length>1&&a.index<r.length&&g.apply(u,a.slice(1)),c=a[0].length,h=l,u.length>=o))break;p.lastIndex===a.index&&p.lastIndex++}return h===r.length?!c&&p.test("")||u.push(""):u.push(r.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=s(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var s=n(r,t,this,i,r!==e);if(s.done)return s.value;var f=o(t),d=String(this),g=a(f,RegExp),m=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"g":"y"),b=new g(h?"^(?:"+f.source+")":f,y),x=void 0===i?v:i>>>0;if(0===x)return[];if(0===d.length)return null===u(b,d)?[d]:[];var w=0,S=0,O=[];while(S<d.length){b.lastIndex=h?0:S;var I,C=u(b,h?d.slice(S):d);if(null===C||(I=p(c(b.lastIndex+(h?S:0)),d.length))===w)S=l(d,S,m);else{if(O.push(d.slice(w,S)),O.length===x)return O;for(var E=1;E<=C.length-1;E++)if(O.push(C[E]),O.length===x)return O;S=w=I}}return O.push(d.slice(w)),O}]}),h)},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),s=n("9112");for(var a in i){var l=r[a],c=l&&l.prototype;if(c&&c.forEach!==o)try{s(c,"forEach",o)}catch(u){c.forEach=o}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=i("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(l){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),s=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),s=n("0366"),a=n("35a1"),l=n("2a62"),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u,f,d,h,g,p,v,m=n&&n.that,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=s(e,m,1+y+x),S=function(t){return u&&l(u),new c(!0,t)},O=function(t){return y?(r(t),x?w(t[0],t[1],S):w(t[0],t[1])):x?w(t,S):w(t)};if(b)u=t;else{if(f=a(t),"function"!=typeof f)throw TypeError("Target is not iterable");if(i(f)){for(d=0,h=o(t.length);h>d;d++)if(g=O(t[d]),g&&g instanceof c)return g;return new c(!1)}u=f.call(t)}p=u.next;while(!(v=p.call(u)).done){try{g=O(v.value)}catch(I){throw l(u),I}if("object"==typeof g&&g&&g instanceof c)return g}return new c(!1)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),l=n("e893"),c=n("94ca");t.exports=function(t,e){var n,u,f,d,h,g,p=t.target,v=t.global,m=t.stat;if(u=v?r:m?r[p]||a(p,{}):(r[p]||{}).prototype,u)for(f in e){if(h=e[f],t.noTargetGet?(g=i(u,f),d=g&&g.value):d=u[f],n=c(v?f:p+(m?".":"#")+f,t.forced),!n&&void 0!==d){if(typeof h===typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),s(u,f,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),s=n("ad6d"),a="toString",l=RegExp.prototype,c=l[a],u=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=a;(u||f)&&r(RegExp.prototype,a,(function(){var t=i(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in l)?s.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),s=n("83ab"),a=o("species");t.exports=function(t){var e=r(t),n=i.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var r=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return r(e.call(t)).value}},"2cf4":function(t,e,n){var r,i,o,s=n("da84"),a=n("d039"),l=n("0366"),c=n("1be4"),u=n("cc12"),f=n("1cdc"),d=n("605d"),h=s.location,g=s.setImmediate,p=s.clearImmediate,v=s.process,m=s.MessageChannel,y=s.Dispatch,b=0,x={},w="onreadystatechange",S=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},O=function(t){return function(){S(t)}},I=function(t){S(t.data)},C=function(t){s.postMessage(t+"",h.protocol+"//"+h.host)};g&&p||(g=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},p=function(t){delete x[t]},d?r=function(t){v.nextTick(O(t))}:y&&y.now?r=function(t){y.now(O(t))}:m&&!f?(i=new m,o=i.port2,i.port1.onmessage=I,r=l(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(C)?(r=C,s.addEventListener("message",I,!1)):r=w in u("script")?function(t){c.appendChild(u("script"))[w]=function(){c.removeChild(this),S(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:g,clear:p}},"2d00":function(t,e,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,l=a&&a.versions,c=l&&l.v8;c?(r=c.split("."),i=r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},3410:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("7b0b"),s=n("e163"),a=n("e177"),l=i((function(){s(1)}));r({target:"Object",stat:!0,forced:l,sham:!a},{getPrototypeOf:function(t){return s(o(t))}})},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),s=o("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=s(e),a=r.length,l=0;while(a>l)i.f(t,n=r[l++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),s="String Iterator",a=i.set,l=i.getterFor(s);o(String,"String",(function(t){a(this,{type:s,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),s=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==i(t))}},"466d":function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("50c4"),s=n("1d80"),a=n("8aa5"),l=n("14c3");r("match",1,(function(t,e,n){return[function(e){var n=s(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var s=i(t),c=String(this);if(!s.global)return l(s,c);var u=s.unicode;s.lastIndex=0;var f,d=[],h=0;while(null!==(f=l(s,c))){var g=String(f[0]);d[h]=g,""===g&&(s.lastIndex=a(c,o(s.lastIndex),u)),h++}return 0===h?null:d}]}))},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),s=o("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[s])?e:i(n)}},4930:function(t,e,n){var r=n("605d"),i=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)}))},"4ae1":function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("1c0b"),s=n("825a"),a=n("861d"),l=n("7c73"),c=n("0538"),u=n("d039"),f=i("Reflect","construct"),d=u((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),h=!u((function(){f((function(){}))})),g=d||h;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!d)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var i=n.prototype,u=l(a(i)?i:Object.prototype),g=Function.apply.call(t,u,e);return a(g)?g:u}})},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),s=function(t){return function(e,n,s){var a,l=r(e),c=i(l.length),u=o(s,c);if(t&&n!=n){while(c>u)if(a=l[u++],a!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),s=o("filter");r({target:"Array",proto:!0,forced:!s},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),s=n("e95a"),a=n("50c4"),l=n("8418"),c=n("35a1");t.exports=function(t){var e,n,u,f,d,h,g=i(t),p="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,y=void 0!==m,b=c(g),x=0;if(y&&(m=r(m,v>2?arguments[2]:void 0,2)),void 0==b||p==Array&&s(b))for(e=a(g.length),n=new p(e);e>x;x++)h=y?m(g[x],x):g[x],l(n,x,h);else for(f=b.call(g),d=f.next,n=new p;!(u=d.call(f)).done;x++)h=y?o(f,m,[u.value,x],!0):u.value,l(n,x,h);return n.length=x,n}},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5319:function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("50c4"),s=n("a691"),a=n("1d80"),l=n("8aa5"),c=n("0cb2"),u=n("14c3"),f=Math.max,d=Math.min,h=function(t){return void 0===t?t:String(t)};r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,v=g?"$":"$0";return[function(n,r){var i=a(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!g&&p||"string"===typeof r&&-1===r.indexOf(v)){var a=n(e,t,this,r);if(a.done)return a.value}var m=i(t),y=String(this),b="function"===typeof r;b||(r=String(r));var x=m.global;if(x){var w=m.unicode;m.lastIndex=0}var S=[];while(1){var O=u(m,y);if(null===O)break;if(S.push(O),!x)break;var I=String(O[0]);""===I&&(m.lastIndex=l(y,o(m.lastIndex),w))}for(var C="",E=0,k=0;k<S.length;k++){O=S[k];for(var T=String(O[0]),j=f(d(s(O.index),y.length),0),P=[],_=1;_<O.length;_++)P.push(h(O[_]));var A=O.groups;if(b){var L=[T].concat(P,j,y);void 0!==A&&L.push(A);var M=String(r.apply(void 0,L))}else M=c(T,y,j,P,A,r);j>=E&&(C+=y.slice(E,j)+M,E=j+T.length)}return C+y.slice(E)}]}))},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),s=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=o.f;return n?e.concat(n(t)):e}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"605d":function(t,e,n){var r=n("c6b6"),i=n("da84");t.exports="process"==r(i.process)},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),s=o("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,s=n("7f9a"),a=n("da84"),l=n("861d"),c=n("9112"),u=n("5135"),f=n("c6cd"),d=n("f772"),h=n("d012"),g=a.WeakMap,p=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s){var m=f.state||(f.state=new g),y=m.get,b=m.has,x=m.set;r=function(t,e){return e.facade=t,x.call(m,t,e),e},i=function(t){return y.call(m,t)||{}},o=function(t){return b.call(m,t)}}else{var w=d("state");h[w]=!0,r=function(t,e){return e.facade=t,c(t,w,e),e},i=function(t){return u(t,w)?t[w]:{}},o=function(t){return u(t,w)}}t.exports={set:r,get:i,has:o,enforce:p,getterFor:v}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),s=n("ce4e"),a=n("8925"),l=n("69f3"),c=l.get,u=l.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var l,c=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),l=u(n),l.source||(l.source=f.join("string"==typeof e?e:""))),t!==r?(c?!h&&t[e]&&(d=!0):delete t[e],d?t[e]=n:i(t,e,n)):d?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},7037:function(t,e,n){function r(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),r(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),t.exports=r,t.exports["default"]=t.exports,t.exports.__esModule=!0},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||s(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),f=">",d="<",h="prototype",g="script",p=u("IE_PROTO"),v=function(){},m=function(t){return d+g+f+t+d+"/"+g+f},y=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=c("iframe"),n="java"+g+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},x=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=r?y(r):b();var t=s.length;while(t--)delete x[h][s[t]];return x()};a[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[h]=i(t),n=new v,v[h]=null,n[p]=t):n=x(),void 0===e?n:o(n,e)}},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),s=n("d2bb"),a=n("d44e"),l=n("9112"),c=n("6eeb"),u=n("b622"),f=n("c430"),d=n("3f8c"),h=n("ae93"),g=h.IteratorPrototype,p=h.BUGGY_SAFARI_ITERATORS,v=u("iterator"),m="keys",y="values",b="entries",x=function(){return this};t.exports=function(t,e,n,u,h,w,S){i(n,e,u);var O,I,C,E=function(t){if(t===h&&_)return _;if(!p&&t in j)return j[t];switch(t){case m:return function(){return new n(this,t)};case y:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",T=!1,j=t.prototype,P=j[v]||j["@@iterator"]||h&&j[h],_=!p&&P||E(h),A="Array"==e&&j.entries||P;if(A&&(O=o(A.call(new t)),g!==Object.prototype&&O.next&&(f||o(O)===g||(s?s(O,g):"function"!=typeof O[v]&&l(O,v,x)),a(O,k,!0,!0),f&&(d[k]=x))),h==y&&P&&P.name!==y&&(T=!0,_=function(){return P.call(this)}),f&&!S||j[v]===_||l(j,v,_),d[e]=_,h)if(I={values:E(y),keys:w?_:E(m),entries:E(b)},S)for(C in I)(p||T||!(C in j))&&c(j,C,I[C]);else r({target:e,proto:!0,forced:p||T},I);return I}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var s=r(e);s in t?i.f(t,s,o(0,n)):t[s]=n}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,i,o;(function(n,s){i=[],r=s,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(h.stack)||s.exec(h.stack),l=a&&a[1]||!1,c=a&&a[2]||!1,u=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");l===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var d=0;d<f.length;d++){if("interactive"===f[d].readyState)return f[d];if(f[d].src===l)return f[d];if(l===u&&f[d].innerHTML&&f[d].innerHTML.trim()===i)return f[d]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("ad6d"),i=n("9f7f"),o=n("5692"),s=RegExp.prototype.exec,a=o("native-string-replace",String.prototype.replace),l=s,c=function(){var t=/a/,e=/b*/g;return s.call(t,"a"),s.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=i.UNSUPPORTED_Y||i.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],d=c||f||u;d&&(l=function(t){var e,n,i,o,l=this,d=u&&l.sticky,h=r.call(l),g=l.source,p=0,v=t;return d&&(h=h.replace("y",""),-1===h.indexOf("g")&&(h+="g"),v=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(g="(?: "+g+")",v=" "+v,p++),n=new RegExp("^(?:"+g+")",h)),f&&(n=new RegExp("^"+g+"$(?!\\s)",h)),c&&(e=l.lastIndex),i=s.call(d?n:l,v),d?i?(i.input=i.input.slice(p),i[0]=i[0].slice(p),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:c&&i&&(l.lastIndex=l.global?i.index+i[0].length:e),f&&i&&i.length>1&&a.call(i[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i}),t.exports=l},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},"99af":function(t,e,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("e8b5"),s=n("861d"),a=n("7b0b"),l=n("50c4"),c=n("8418"),u=n("65f0"),f=n("1dde"),d=n("b622"),h=n("2d00"),g=d("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",m=h>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),y=f("concat"),b=function(t){if(!s(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)},x=!m||!y;r({target:"Array",proto:!0,forced:x},{concat:function(t){var e,n,r,i,o,s=a(this),f=u(s,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?s:arguments[e],b(o)){if(i=l(o.length),d+i>p)throw TypeError(v);for(n=0;n<i;n++,d++)n in o&&c(f,d,o[n])}else{if(d>=p)throw TypeError(v);c(f,d++,o)}return f.length=d,f}})},"9bdd":function(t,e,n){var r=n("825a"),i=n("2a62");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(s){throw i(t),s}}},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),s=n("c04e"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(o(t),e=s(e,!0),o(n),i)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),s=n("d44e"),a=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),s(t,c,!1,!0),a[c]=l,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("23cb"),o=n("a691"),s=n("50c4"),a=n("7b0b"),l=n("65f0"),c=n("8418"),u=n("1dde"),f=u("splice"),d=Math.max,h=Math.min,g=9007199254740991,p="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var n,r,u,f,v,m,y=a(this),b=s(y.length),x=i(t,b),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=b-x):(n=w-2,r=h(d(o(e),0),b-x)),b+n-r>g)throw TypeError(p);for(u=l(y,r),f=0;f<r;f++)v=x+f,v in y&&c(u,f,y[v]);if(u.length=r,n<r){for(f=x;f<b-r;f++)v=f+r,m=f+n,v in y?y[m]=y[v]:delete y[m];for(f=b;f>b-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>x;f--)v=f+r-1,m=f+n-1,v in y?y[m]=y[v]:delete y[m];for(f=0;f<n;f++)y[f+x]=arguments[f+2];return y.length=b-r+n,u}})},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d066"),s=n("c430"),a=n("83ab"),l=n("4930"),c=n("fdbf"),u=n("d039"),f=n("5135"),d=n("e8b5"),h=n("861d"),g=n("825a"),p=n("7b0b"),v=n("fc6a"),m=n("c04e"),y=n("5c6c"),b=n("7c73"),x=n("df75"),w=n("241c"),S=n("057f"),O=n("7418"),I=n("06cf"),C=n("9bf2"),E=n("d1e7"),k=n("9112"),T=n("6eeb"),j=n("5692"),P=n("f772"),_=n("d012"),A=n("90e3"),L=n("b622"),M=n("e538"),D=n("746f"),R=n("d44e"),z=n("69f3"),G=n("b727").forEach,F=P("hidden"),B="Symbol",N="prototype",$=L("toPrimitive"),H=z.set,V=z.getterFor(B),U=Object[N],Y=i.Symbol,X=o("JSON","stringify"),W=I.f,q=C.f,K=S.f,J=E.f,Q=j("symbols"),Z=j("op-symbols"),tt=j("string-to-symbol-registry"),et=j("symbol-to-string-registry"),nt=j("wks"),rt=i.QObject,it=!rt||!rt[N]||!rt[N].findChild,ot=a&&u((function(){return 7!=b(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=W(U,e);r&&delete U[e],q(t,e,n),r&&t!==U&&q(U,e,r)}:q,st=function(t,e){var n=Q[t]=b(Y[N]);return H(n,{type:B,tag:t,description:e}),a||(n.description=e),n},at=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Y},lt=function(t,e,n){t===U&&lt(Z,e,n),g(t);var r=m(e,!0);return g(n),f(Q,r)?(n.enumerable?(f(t,F)&&t[F][r]&&(t[F][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(t,F)||q(t,F,y(1,{})),t[F][r]=!0),ot(t,r,n)):q(t,r,n)},ct=function(t,e){g(t);var n=v(e),r=x(n).concat(gt(n));return G(r,(function(e){a&&!ft.call(n,e)||lt(t,e,n[e])})),t},ut=function(t,e){return void 0===e?b(t):ct(b(t),e)},ft=function(t){var e=m(t,!0),n=J.call(this,e);return!(this===U&&f(Q,e)&&!f(Z,e))&&(!(n||!f(this,e)||!f(Q,e)||f(this,F)&&this[F][e])||n)},dt=function(t,e){var n=v(t),r=m(e,!0);if(n!==U||!f(Q,r)||f(Z,r)){var i=W(n,r);return!i||!f(Q,r)||f(n,F)&&n[F][r]||(i.enumerable=!0),i}},ht=function(t){var e=K(v(t)),n=[];return G(e,(function(t){f(Q,t)||f(_,t)||n.push(t)})),n},gt=function(t){var e=t===U,n=K(e?Z:v(t)),r=[];return G(n,(function(t){!f(Q,t)||e&&!f(U,t)||r.push(Q[t])})),r};if(l||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=A(t),n=function(t){this===U&&n.call(Z,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),ot(this,e,y(1,t))};return a&&it&&ot(U,e,{configurable:!0,set:n}),st(e,t)},T(Y[N],"toString",(function(){return V(this).tag})),T(Y,"withoutSetter",(function(t){return st(A(t),t)})),E.f=ft,C.f=lt,I.f=dt,w.f=S.f=ht,O.f=gt,M.f=function(t){return st(L(t),t)},a&&(q(Y[N],"description",{configurable:!0,get:function(){return V(this).description}}),s||T(U,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),G(x(nt),(function(t){D(t)})),r({target:B,stat:!0,forced:!l},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var n=Y(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!a},{create:ut,defineProperty:lt,defineProperties:ct,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:gt}),r({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(p(t))}}),X){var pt=!l||u((function(){var t=Y();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}));r({target:"JSON",stat:!0,forced:pt},{stringify:function(t,e,n){var r,i=[t],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=e,(h(e)||void 0!==t)&&!at(t))return d(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),i[1]=e,X.apply(null,i)}})}Y[N][$]||k(Y[N],$,Y[N].valueOf),R(Y,B),_[F]=!0},a630:function(t,e,n){var r=n("23e7"),i=n("4df4"),o=n("1c7e"),s=!o((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:s},{from:i})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var r,i,o,s=n("d039"),a=n("e163"),l=n("9112"),c=n("5135"),u=n("b622"),f=n("c430"),d=u("iterator"),h=!1,g=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=a(a(o)),i!==Object.prototype&&(r=i)):h=!0);var p=void 0==r||s((function(){var t={};return r[d].call(t)!==t}));p&&(r={}),f&&!p||c(r,d)||l(r,d,g),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,l="name";r&&!(l in o)&&i(o,l,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,i,o,s,a,l,c,u,f=n("da84"),d=n("06cf").f,h=n("2cf4").set,g=n("1cdc"),p=n("a4b4"),v=n("605d"),m=f.MutationObserver||f.WebKitMutationObserver,y=f.document,b=f.process,x=f.Promise,w=d(f,"queueMicrotask"),S=w&&w.value;S||(r=function(){var t,e;v&&(t=b.domain)&&t.exit();while(i){e=i.fn,i=i.next;try{e()}catch(n){throw i?s():o=void 0,n}}o=void 0,t&&t.enter()},g||v||p||!m||!y?x&&x.resolve?(c=x.resolve(void 0),u=c.then,s=function(){u.call(c,r)}):s=v?function(){b.nextTick(r)}:function(){h.call(f,r)}:(a=!0,l=y.createTextNode(""),new m(r).observe(l,{characterData:!0}),s=function(){l.data=a=!a})),t.exports=S||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,s()),o=e}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),s=n("90e3"),a=n("4930"),l=n("fdbf"),c=i("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||s;t.exports=function(t){return o(c,t)&&(a||"string"==typeof c[t])||(a&&o(u,t)?c[t]=u[t]:c[t]=f("Symbol."+t)),c[t]}},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),s=n("d039"),a=s((function(){o(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(t){return o(i(t))}})},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),s=n("50c4"),a=n("65f0"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,f=6==t,d=7==t,h=5==t||f;return function(g,p,v,m){for(var y,b,x=o(g),w=i(x),S=r(p,v,3),O=s(w.length),I=0,C=m||a,E=e?C(g,O):n||d?C(g,0):void 0;O>I;I++)if((h||I in w)&&(y=w[I],b=S(y,I,x),t))if(e)E[I]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return I;case 2:l.call(E,y)}else switch(t){case 4:return!1;case 7:l.call(E,y)}return f?-1:c||u?u:E}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=i(t),l=0,c=[];for(n in a)!r(s,n)&&r(a,n)&&c.push(n);while(e.length>l)r(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},cdf9:function(t,e,n){var r=n("825a"),i=n("861d"),o=n("f069");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),i=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,i=n("5135"),o=n("b622"),s=o("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,s)&&r(t,s,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("d039"),o=n("b622"),s=n("9112"),a=o("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),u=o("replace"),f=function(){return!!/./[u]&&""===/./[u]("a","$0")}(),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,u){var h=o(t),g=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=g&&!i((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[a]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!g||!p||"replace"===t&&(!l||!c||f)||"split"===t&&!d){var v=/./[h],m=n(h,""[t],(function(t,e,n,r,i){return e.exec===RegExp.prototype.exec?g&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=m[0],b=m[1];r(String.prototype,t,y),r(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}u&&s(RegExp.prototype[h],"sham",!0)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").map,o=n("1dde"),s=o("map");r({target:"Array",proto:!0,forced:!s},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dbb4:function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("56ef"),s=n("fc6a"),a=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){var e,n,r=s(t),i=a.f,c=o(r),u={},f=0;while(c.length>f)n=i(r,e=c[f++]),void 0!==n&&l(u,e,n);return u}})},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),s=n("9112"),a=n("b622"),l=a("iterator"),c=a("toStringTag"),u=o.values;for(var f in i){var d=r[f],h=d&&d.prototype;if(h){if(h[l]!==u)try{s(h,l,u)}catch(p){h[l]=u}if(h[c]||s(h,c,f),i[f])for(var g in o)if(h[g]!==o[g])try{s(h,g,o[g])}catch(p){h[g]=o[g]}}}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),s=n("5135"),a=n("861d"),l=n("9bf2").f,c=n("e893"),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var f={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new u(t):void 0===t?u():u(t);return""===t&&(f[e]=!0),e};c(d,u);var h=d.prototype=u.prototype;h.constructor=d;var g=h.toString,p="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=g.call(t);if(s(f,t))return"";var n=p?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},e163:function(t,e,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),s=n("e177"),a=o("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),s=n("69f3"),a=n("7dd0"),l="Array Iterator",c=s.set,u=s.getterFor(l);t.exports=a(Array,"Array",(function(t,e){c(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e439:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),s=n("06cf").f,a=n("83ab"),l=i((function(){s(1)})),c=!a||l;r({target:"Object",stat:!0,forced:c,sham:!a},{getOwnPropertyDescriptor:function(t,e){return s(o(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var r,i,o,s,a=n("23e7"),l=n("c430"),c=n("da84"),u=n("d066"),f=n("fea9"),d=n("6eeb"),h=n("e2cc"),g=n("d44e"),p=n("2626"),v=n("861d"),m=n("1c0b"),y=n("19aa"),b=n("8925"),x=n("2266"),w=n("1c7e"),S=n("4840"),O=n("2cf4").set,I=n("b575"),C=n("cdf9"),E=n("44de"),k=n("f069"),T=n("e667"),j=n("69f3"),P=n("94ca"),_=n("b622"),A=n("605d"),L=n("2d00"),M=_("species"),D="Promise",R=j.get,z=j.set,G=j.getterFor(D),F=f,B=c.TypeError,N=c.document,$=c.process,H=u("fetch"),V=k.f,U=V,Y=!!(N&&N.createEvent&&c.dispatchEvent),X="function"==typeof PromiseRejectionEvent,W="unhandledrejection",q="rejectionhandled",K=0,J=1,Q=2,Z=1,tt=2,et=P(D,(function(){var t=b(F)!==String(F);if(!t){if(66===L)return!0;if(!A&&!X)return!0}if(l&&!F.prototype["finally"])return!0;if(L>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))},r=e.constructor={};return r[M]=n,!(e.then((function(){}))instanceof n)})),nt=et||!w((function(t){F.all(t)["catch"]((function(){}))})),rt=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},it=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;I((function(){var r=t.value,i=t.state==J,o=0;while(n.length>o){var s,a,l,c=n[o++],u=i?c.ok:c.fail,f=c.resolve,d=c.reject,h=c.domain;try{u?(i||(t.rejection===tt&&lt(t),t.rejection=Z),!0===u?s=r:(h&&h.enter(),s=u(r),h&&(h.exit(),l=!0)),s===c.promise?d(B("Promise-chain cycle")):(a=rt(s))?a.call(s,f,d):f(s)):d(r)}catch(g){h&&!l&&h.exit(),d(g)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&st(t)}))}},ot=function(t,e,n){var r,i;Y?(r=N.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},!X&&(i=c["on"+t])?i(r):t===W&&E("Unhandled promise rejection",n)},st=function(t){O.call(c,(function(){var e,n=t.facade,r=t.value,i=at(t);if(i&&(e=T((function(){A?$.emit("unhandledRejection",r,n):ot(W,n,r)})),t.rejection=A||at(t)?tt:Z,e.error))throw e.value}))},at=function(t){return t.rejection!==Z&&!t.parent},lt=function(t){O.call(c,(function(){var e=t.facade;A?$.emit("rejectionHandled",e):ot(q,e,t.value)}))},ct=function(t,e,n){return function(r){t(e,r,n)}},ut=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=Q,it(t,!0))},ft=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw B("Promise can't be resolved itself");var r=rt(e);r?I((function(){var n={done:!1};try{r.call(e,ct(ft,n,t),ct(ut,n,t))}catch(i){ut(n,i,t)}})):(t.value=e,t.state=J,it(t,!1))}catch(i){ut({done:!1},i,t)}}};et&&(F=function(t){y(this,F,D),m(t),r.call(this);var e=R(this);try{t(ct(ft,e),ct(ut,e))}catch(n){ut(e,n)}},r=function(t){z(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=h(F.prototype,{then:function(t,e){var n=G(this),r=V(S(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=A?$.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&it(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=R(t);this.promise=t,this.resolve=ct(ft,e),this.reject=ct(ut,e)},k.f=V=function(t){return t===F||t===o?new i(t):U(t)},l||"function"!=typeof f||(s=f.prototype.then,d(f.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){s.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof H&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return C(F,H.apply(c,arguments))}}))),a({global:!0,wrap:!0,forced:et},{Promise:F}),g(F,D,!1,!0),p(D),o=u(D),a({target:D,stat:!0,forced:et},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),a({target:D,stat:!0,forced:l||et},{resolve:function(t){return C(l&&this===o?F:this,t)}}),a({target:D,stat:!0,forced:nt},{all:function(t){var e=this,n=V(e),r=n.resolve,i=n.reject,o=T((function(){var n=m(e.resolve),o=[],s=0,a=1;x(t,(function(t){var l=s++,c=!1;o.push(void 0),a++,n.call(e,t).then((function(t){c||(c=!0,o[l]=t,--a||r(o))}),i)})),--a||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=V(e),r=n.reject,i=T((function(){var i=m(e.resolve);x(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=i(e),a=s.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||a(t,u,l(e,u))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},f069:function(t,e,n){"use strict";var r=n("1c0b"),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622"),s=o("toStringTag"),a="Arguments"==i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),s))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var s=n("8bbf"),a={ref:"container",class:"lightgallery-vue"};function l(t,e,n,r,i,o){return Object(s["openBlock"])(),Object(s["createBlock"])("div",a,[Object(s["renderSlot"])(t.$slots,"default")],512)}n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function v(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}n("4ae1"),n("3410");function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var b=n("7037"),x=n.n(b);function w(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){return!e||"object"!==x()(e)&&"function"!==typeof e?w(t):e}function O(t){var e=y();return function(){var n,r=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}n("fb6a"),n("ac1f"),n("1276");function I(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}
2/**
3 * vue-class-component v8.0.0-rc.1
4 * (c) 2015-present Evan You
5 * @license MIT
6 */
7function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function k(t,e,n){return e&&E(t.prototype,e),n&&E(t,n),t}function T(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){T(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}function A(t){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},A(t)}function L(t,e){return L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},L(t,e)}function M(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function D(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?D(t):e}function z(t){var e=M();return function(){var n,r=A(t);if(e){var i=A(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return R(this,n)}}function G(t){return F(t)||B(t)||N(t)||H()}function F(t){if(Array.isArray(t))return $(t)}function B(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function N(t,e){if(t){if("string"===typeof t)return $(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(t,e):void 0}}function $(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function H(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1,configurable:!0})}function U(t,e,n){Object.defineProperty(t,e,{get:function(){return n[e].value},set:function(t){n[e].value=t},enumerable:!0,configurable:!0})}function Y(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function X(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var W=function(){function t(e,n){var r=this;C(this,t),V(this,"$props",(function(){return e})),V(this,"$attrs",(function(){return n.attrs})),V(this,"$slots",(function(){return n.slots})),V(this,"$emit",(function(){return n.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return k(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,G(t))}},{key:"with",value:function(t){var e=new t,n={};Object.keys(e).forEach((function(t){var r=e[t];n[t]=null!==r&&void 0!==r?r:null}));var r=function(t){_(n,t);var e=z(n);function n(){return C(this,n),e.apply(this,arguments)}return n}(this);return r.__b={props:n},r}},{key:"__vccOpts",get:function(){if(this===q)return{};var t=this,e=X(t,"__c");if(e)return e;var n=P({},X(t,"__o"));t.__c=n;var r=Y(t);r&&(n["extends"]=r.__vccOpts);var i=X(t,"__b");i&&(n.mixins=n.mixins||[],n.mixins.unshift(i)),n.methods=P({},n.methods),n.computed=P({},n.computed);var o=t.prototype;Object.getOwnPropertyNames(o).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)n[e]=o[e];else{var r=Object.getOwnPropertyDescriptor(o,e);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[e]={get:r.get,set:r.set}):n.methods[e]=r.value}})),n.setup=function(e,n){var r,i=new t(e,n),o=Object.keys(i),a={},l=null;return o.forEach((function(t){void 0===i[t]||i[t]&&i[t].__s||(a[t]=Object(s["ref"])(i[t]),U(i,t,a))})),o.forEach((function(t){if(i[t]&&i[t].__s){var e=i[t].__s();e instanceof Promise?(l||(l=Promise.resolve(a)),l=l.then((function(){return e.then((function(e){return a[t]=Object(s["proxyRefs"])(e),a}))}))):a[t]=Object(s["proxyRefs"])(e)}})),null!==(r=l)&&void 0!==r?r:a};var a=X(t,"__d");a&&a.forEach((function(t){return t(n)}));var l=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return l.forEach((function(e){t[e]&&(n[e]=t[e])})),n}}]),t}();W.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var q=W;function K(t){return function(e){return e.__o=t,e}}n("99af"),n("7db0"),n("466d");function J(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Q(t){if(Array.isArray(t))return J(t)}n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function Z(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n("b0c0");function tt(t,e){if(t){if("string"===typeof t)return J(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(t,e):void 0}}function et(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nt(t){return Q(t)||Z(t)||tt(t)||et()}n("5319"),n("d81d"),n("a434"),n("e6cf"),n("25f0");(function(){if("function"===typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}window.CustomEvent=t})(),function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)}();var rt=function(){function t(e){return d(this,t),this.cssVenderPrefixes=["TransitionDuration","TransitionTimingFunction","Transform","Transition"],this.selector=this._getSelector(e),this.firstElement=this._getFirstEl(),this}return g(t,[{key:"_getSelector",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if("string"!==typeof t)return t;e=e||document;var n=t.substring(0,1);return"#"===n?e.querySelector(t):e.querySelectorAll(t)}},{key:"_each",value:function(t){return this.selector?(void 0!==this.selector.length?[].forEach.call(this.selector,t):t(this.selector,0),this):this}},{key:"_setCssVendorPrefix",value:function(t,e,n){var r=e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()}));-1!==this.cssVenderPrefixes.indexOf(r)?(t.style[r.charAt(0).toLowerCase()+r.slice(1)]=n,t.style["webkit"+r]=n,t.style["moz"+r]=n,t.style["ms"+r]=n,t.style["o"+r]=n):t.style[r]=n}},{key:"_getFirstEl",value:function(){return this.selector&&void 0!==this.selector.length?this.selector[0]:this.selector}},{key:"isEventMatched",value:function(t,e){var n=e.split(".");return t.split(".").filter((function(t){return t})).every((function(t){return-1!==n.indexOf(t)}))}},{key:"attr",value:function(t,e){return void 0===e?this.firstElement?this.firstElement.getAttribute(t):"":(this._each((function(n){n.setAttribute(t,e)})),this)}},{key:"find",value:function(t){return it(this._getSelector(t,this.selector))}},{key:"first",value:function(){return this.selector&&void 0!==this.selector.length?it(this.selector[0]):it(this.selector)}},{key:"eq",value:function(t){return it(this.selector[t])}},{key:"parent",value:function(){return it(this.selector.parentElement)}},{key:"get",value:function(){return this._getFirstEl()}},{key:"removeAttr",value:function(t){var e=t.split(" ");return this._each((function(t){e.forEach((function(e){return t.removeAttribute(e)}))})),this}},{key:"wrap",value:function(t){if(!this.firstElement)return this;var e=document.createElement("div");return e.className=t,this.firstElement.parentNode.insertBefore(e,this.firstElement),this.firstElement.parentNode.removeChild(this.firstElement),e.appendChild(this.firstElement),this}},{key:"addClass",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._each((function(e){t.split(" ").forEach((function(t){e.classList.add(t)}))})),this}},{key:"removeClass",value:function(t){return this._each((function(e){t.split(" ").forEach((function(t){e.classList.remove(t)}))})),this}},{key:"hasClass",value:function(t){return!!this.firstElement&&this.firstElement.classList.contains(t)}},{key:"hasAttribute",value:function(t){return!!this.firstElement&&this.firstElement.hasAttribute(t)}},{key:"toggleClass",value:function(t){return this.firstElement?(this.hasClass(t)?this.removeClass(t):this.addClass(t),this):this}},{key:"css",value:function(t,e){var n=this;return this._each((function(r){n._setCssVendorPrefix(r,t,e)})),this}},{key:"on",value:function(e,n){var r=this;return this.selector?(e.split(" ").forEach((function(e){Array.isArray(t.eventListeners[e])||(t.eventListeners[e]=[]),t.eventListeners[e].push(n),r.selector.addEventListener(e.split(".")[0],n)})),this):this}},{key:"once",value:function(t,e){var n=this;return this.on(t,(function(){n.off(t),e(t)})),this}},{key:"off",value:function(e){var n=this;return this.selector?(Object.keys(t.eventListeners).forEach((function(r){n.isEventMatched(e,r)&&(t.eventListeners[r].forEach((function(t){n.selector.removeEventListener(r.split(".")[0],t)})),t.eventListeners[r]=[])})),this):this}},{key:"trigger",value:function(t,e){if(!this.firstElement)return this;var n=new CustomEvent(t.split(".")[0],{detail:e||null});return this.firstElement.dispatchEvent(n),this}},{key:"load",value:function(t){var e=this;return fetch(t).then((function(t){e.selector.innerHTML=t})),this}},{key:"html",value:function(t){return void 0===t?this.firstElement?this.firstElement.innerHTML:"":(this._each((function(e){e.innerHTML=t})),this)}},{key:"append",value:function(t){return this._each((function(e){"string"===typeof t?e.insertAdjacentHTML("beforeend",t):e.appendChild(t)})),this}},{key:"prepend",value:function(t){return this._each((function(e){e.insertAdjacentHTML("afterbegin",t)})),this}},{key:"remove",value:function(){return this._each((function(t){t.parentNode.removeChild(t)})),this}},{key:"empty",value:function(){return this._each((function(t){t.innerHTML=""})),this}},{key:"scrollTop",value:function(t){return void 0!==t?(document.body.scrollTop=t,document.documentElement.scrollTop=t,this):window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},{key:"scrollLeft",value:function(t){return void 0!==t?(document.body.scrollLeft=t,document.documentElement.scrollLeft=t,this):window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0}},{key:"offset",value:function(){if(!this.firstElement)return{left:0,top:0};var t=this.firstElement.getBoundingClientRect(),e=it("body").style().marginLeft;return{left:t.left-parseFloat(e)+this.scrollLeft(),top:t.top+this.scrollTop()}}},{key:"style",value:function(){return this.firstElement?this.firstElement.currentStyle||window.getComputedStyle(this.firstElement):{}}},{key:"width",value:function(){var t=this.style();return this.firstElement.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)}},{key:"height",value:function(){var t=this.style();return this.firstElement.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)}}],[{key:"generateUUID",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)}))}}]),t}();function it(t){return new rt(t)}rt.eventListeners={};var ot=["src","sources","subHtml","subHtmlUrl","html","video","poster","slideName","responsive","srcset","sizes","iframe","downloadUrl","download","width","facebookShareUrl","tweetText","iframeTitle","twitterShareUrl","pinterestShareUrl","pinterestText","fbHtml","disqusIdentifier","disqusUrl"];function st(t){return"href"===t?"src":(t=t.replace("data-",""),t=t.charAt(0).toLowerCase()+t.slice(1),t=t.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()})),t)}var at={getSize:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=it(t),o=i.attr("data-lg-size")||r;if(o){var s=o.split(",");if(s[1])for(var a=window.innerWidth,l=0;l<s.length;l++){var c=s[l],u=parseInt(c.split("-")[2],10);if(u>a){o=c;break}l===s.length-1&&(o=c)}var f=o.split("-"),d=parseInt(f[0],10),h=parseInt(f[1],10),g=e.width(),p=e.height()-n,v=Math.min(g,d),m=Math.min(p,h),y=Math.min(v/d,m/h);return{width:d*y,height:h*y}}},getTransform:function(t,e,n,r,i){if(i){var o=it(t).find("img").first();if(o.get()){var s=e.get().getBoundingClientRect(),a=s.width,l=e.height()-(n+r),c=o.width(),u=o.height(),f=o.style(),d=(a-c)/2-o.offset().left+(parseFloat(f.paddingLeft)||0)+(parseFloat(f.borderLeft)||0)+it(window).scrollLeft()+s.left,h=(l-u)/2-o.offset().top+(parseFloat(f.paddingTop)||0)+(parseFloat(f.borderTop)||0)+it(window).scrollTop()+n,g=c/i.width,p=u/i.height,v="translate3d("+(d*=-1)+"px, "+(h*=-1)+"px, 0) scale3d("+g+", "+p+", 1)";return v}}},getIframeMarkup:function(t,e,n,r){var i=r?'title="'+r+'"':"";return'<div class="lg-video-cont lg-has-iframe" style="width:'.concat(t,"; height: ").concat(e,'">\n <iframe class="lg-object" frameborder="0" ').concat(i,' src="').concat(n,'" allowfullscreen="true"></iframe>\n </div>')},getImgMarkup:function(t,e,n,r,i,o){var s=r?'srcset="'.concat(r,'"'):"",a=i?'sizes="'.concat(i,'"'):"",l="<img ".concat(n," ").concat(s," ").concat(a,' class="lg-object lg-image" data-index="').concat(t,'" src="').concat(e,'" />'),c="";if(o){var u="string"===typeof o?JSON.parse(o):o;c=u.map((function(t){var e="";return Object.keys(t).forEach((function(n){e+=" ".concat(n,'="').concat(t[n],'"')})),"<source ".concat(e,"></source>")}))}return"".concat(c).concat(l)},getResponsiveSrc:function(t){for(var e=[],n=[],r="",i=0;i<t.length;i++){var o=t[i].split(" ");""===o[0]&&o.splice(0,1),n.push(o[0]),e.push(o[1])}for(var s=window.innerWidth,a=0;a<e.length;a++)if(parseInt(e[a],10)>s){r=n[a];break}return r},isImageLoaded:function(t){return!!t&&(!!t.complete&&0!==t.naturalWidth)},getVideoPosterMarkup:function(t,e,n,r){var i="";return i=r&&r.youtube?"lg-has-youtube":r&&r.vimeo?"lg-has-vimeo":"lg-has-html5",'<div class="lg-video-cont '.concat(i,'" style="').concat(n,'">\n <div class="lg-video-play-button">\n <svg\n viewBox="0 0 20 20"\n preserveAspectRatio="xMidYMid"\n focusable="false"\n aria-labelledby="Play video"\n role="img"\n class="lg-video-play-icon"\n >\n <title>Play video</title>\n <polygon class="lg-video-play-icon-inner" points="1,0 20,10 1,20"></polygon>\n </svg>\n <svg class="lg-video-play-icon-bg" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle></svg>\n <svg class="lg-video-play-icon-circle" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle>\n </svg>\n </div>\n ').concat(e||"",'\n <img class="lg-object lg-video-poster" src="').concat(t,'" />\n </div>')},getDynamicOptions:function(t,e,n,r){var i=[],o=[].concat(ot,nt(e));return[].forEach.call(t,(function(t){for(var e={},s=0;s<t.attributes.length;s++){var a=t.attributes[s];if(a.specified){var l=st(a.name),c="";o.indexOf(l)>-1&&(c=l),c&&(e[c]=a.value)}}var u=it(t),f=u.find("img").first().attr("alt"),d=u.attr("title"),h=r?u.attr(r):u.find("img").first().attr("src");e.thumb=h,n&&!e.subHtml&&(e.subHtml=d||f||""),e.alt=f||d||"",i.push(e)})),i},isMobile:function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)}},lt=at,ct={mode:"lg-slide",easing:"ease",speed:400,licenseKey:"0000-0000-000-0000",height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:300,container:document.body,startAnimationDuration:400,zoomFromOrigin:!0,hideBarsDelay:0,showBarsAfter:1e4,slideDelay:0,supportLegacyBrowser:!0,allowMediaOverlap:!1,videoMaxSize:"1280-720",defaultCaptionHeight:0,ariaLabelledby:"",ariaDescribedby:"",closable:!0,swipeToClose:!0,closeOnTap:!0,showCloseIcon:!0,showMaximizeIcon:!1,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimation:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:2,numberOfSlideItemsInDom:10,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:0,iframeWidth:"100%",iframeHeight:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],extraProps:[],exThumbImage:"",isMobile:void 0,mobileSettings:{controls:!1,showCloseIcon:!1,download:!1},plugins:[]},ut={afterAppendSlide:"lgAfterAppendSlide",init:"lgInit",hasVideo:"lgHasVideo",containerResize:"lgContainerResize",updateSlides:"lgUpdateSlides",afterAppendSubHtml:"lgAfterAppendSubHtml",beforeOpen:"lgBeforeOpen",afterOpen:"lgAfterOpen",slideItemLoad:"lgSlideItemLoad",beforeSlide:"lgBeforeSlide",afterSlide:"lgAfterSlide",posterClick:"lgPosterClick",dragStart:"lgDragStart",dragMove:"lgDragMove",dragEnd:"lgDragEnd",beforeNextSlide:"lgBeforeNextSlide",beforePrevSlide:"lgBeforePrevSlide",beforeClose:"lgBeforeClose",afterClose:"lgAfterClose",rotateLeft:"lgRotateLeft",rotateRight:"lgRotateRight",flipHorizontal:"lgFlipHorizontal",flipVertical:"lgFlipVertical"},ft=0,dt=function(){function t(e,n){if(d(this,t),this.lgOpened=!1,this.index=0,this.plugins=[],this.lGalleryOn=!1,this.lgBusy=!1,this.currentItemsInDom=[],this.prevScrollTop=0,this.isDummyImageRemoved=!1,this.dragOrSwipeEnabled=!1,this.mediaContainerPosition={top:0,bottom:0},!e)return this;if(ft++,this.lgId=ft,this.el=e,this.LGel=it(e),this.generateSettings(n),this.buildModules(),this.settings.dynamic&&void 0!==this.settings.dynamicEl&&!Array.isArray(this.settings.dynamicEl))throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.galleryItems=this.getItems(),this.normalizeSettings(),this.init(),this.validateLicense(),this}return g(t,[{key:"generateSettings",value:function(t){if(this.settings=f(f({},ct),t),this.settings.isMobile&&"function"===typeof this.settings.isMobile?this.settings.isMobile():lt.isMobile()){var e=f(f({},this.settings.mobileSettings),this.settings.mobileSettings);this.settings=f(f({},this.settings),e)}}},{key:"normalizeSettings",value:function(){this.settings.slideEndAnimation&&(this.settings.hideControlOnEnd=!1),this.settings.closable||(this.settings.swipeToClose=!1),this.zoomFromOrigin=this.settings.zoomFromOrigin,this.settings.dynamic&&(this.zoomFromOrigin=!1),this.settings.container||(this.settings.container=document.body),this.settings.preload=Math.min(this.settings.preload,this.galleryItems.length)}},{key:"init",value:function(){var t=this;this.addSlideVideoInfo(this.galleryItems),this.buildStructure(),this.LGel.trigger(ut.init,{instance:this}),this.settings.keyPress&&this.keyPress(),setTimeout((function(){t.enableDrag(),t.enableSwipe(),t.triggerPosterClick()}),50),this.arrow(),this.settings.mousewheel&&this.mousewheel(),this.settings.dynamic||this.openGalleryOnItemClick()}},{key:"openGalleryOnItemClick",value:function(){for(var t=this,e=function(e){var n=t.items[e],r=it(n),i=rt.generateUUID();r.attr("data-lg-id",i).on("click.lgcustom-item-".concat(i),(function(r){r.preventDefault();var i=t.settings.index||e;t.openGallery(i,n)}))},n=0;n<this.items.length;n++)e(n)}},{key:"buildModules",value:function(){var t=this;this.settings.plugins.forEach((function(e){t.plugins.push(new e(t,it))}))}},{key:"validateLicense",value:function(){this.settings.licenseKey?"0000-0000-000-0000"===this.settings.licenseKey&&console.warn("lightGallery: ".concat(this.settings.licenseKey," license key is not valid for production use")):console.error("Please provide a valid license key")}},{key:"getSlideItem",value:function(t){return it(this.getSlideItemId(t))}},{key:"getSlideItemId",value:function(t){return"#lg-item-".concat(this.lgId,"-").concat(t)}},{key:"getIdName",value:function(t){return"".concat(t,"-").concat(this.lgId)}},{key:"getElementById",value:function(t){return it("#".concat(this.getIdName(t)))}},{key:"manageSingleSlideClassName",value:function(){this.galleryItems.length<2?this.outer.addClass("lg-single-item"):this.outer.removeClass("lg-single-item")}},{key:"buildStructure",value:function(){var t=this,e=this.$container&&this.$container.get();if(!e){var n="",r="";this.settings.controls&&(n='<button type="button" id="'.concat(this.getIdName("lg-prev"),'" aria-label="Previous slide" class="lg-prev lg-icon"> ').concat(this.settings.prevHtml,' </button>\n <button type="button" id="').concat(this.getIdName("lg-next"),'" aria-label="Next slide" class="lg-next lg-icon"> ').concat(this.settings.nextHtml," </button>")),".lg-item"!==this.settings.appendSubHtmlTo&&(r='<div class="lg-sub-html" role="status" aria-live="polite"></div>');var i="";this.settings.allowMediaOverlap&&(i+="lg-media-overlap ");var o=this.settings.ariaLabelledby?'aria-labelledby="'+this.settings.ariaLabelledby+'"':"",s=this.settings.ariaDescribedby?'aria-describedby="'+this.settings.ariaDescribedby+'"':"",a="lg-container ".concat(this.settings.addClass," ").concat(document.body!==this.settings.container?"lg-inline":""),l=this.settings.closable&&this.settings.showCloseIcon?'<button type="button" aria-label="Close gallery" id="'.concat(this.getIdName("lg-close"),'" class="lg-close lg-icon"></button>'):"",c=this.settings.showMaximizeIcon?'<button type="button" aria-label="Toggle maximize" id="'.concat(this.getIdName("lg-maximize"),'" class="lg-maximize lg-icon"></button>'):"",u='\n <div class="'.concat(a,'" id="').concat(this.getIdName("lg-container"),'" tabindex="-1" aria-modal="true" ').concat(o," ").concat(s,' role="dialog"\n >\n <div id="').concat(this.getIdName("lg-backdrop"),'" class="lg-backdrop"></div>\n\n <div id="').concat(this.getIdName("lg-outer"),'" class="lg-outer lg-use-css3 lg-css3 lg-hide-items ').concat(i,' ">\n\n <div id="').concat(this.getIdName("lg-content"),'" class="lg-content">\n <div id="').concat(this.getIdName("lg-inner"),'" class="lg-inner">\n </div>\n ').concat(n,'\n </div>\n <div id="').concat(this.getIdName("lg-toolbar"),'" class="lg-toolbar lg-group">\n ').concat(c,"\n ").concat(l,"\n </div>\n ").concat(".lg-outer"===this.settings.appendSubHtmlTo?r:"",'\n <div id="').concat(this.getIdName("lg-components"),'" class="lg-components">\n ').concat(".lg-sub-html"===this.settings.appendSubHtmlTo?r:"","\n </div>\n </div>\n </div>\n ");it(this.settings.container).css("position","relative").append(u),this.outer=this.getElementById("lg-outer"),this.$lgComponents=this.getElementById("lg-components"),this.$backdrop=this.getElementById("lg-backdrop"),this.$container=this.getElementById("lg-container"),this.$inner=this.getElementById("lg-inner"),this.$content=this.getElementById("lg-content"),this.$toolbar=this.getElementById("lg-toolbar"),this.$backdrop.css("transition-duration",this.settings.backdropDuration+"ms");var f="".concat(this.settings.mode," ");this.manageSingleSlideClassName(),this.settings.enableDrag&&(f+="lg-grab "),this.settings.showAfterLoad&&(f+="lg-show-after-load"),this.outer.addClass(f),this.$inner.css("transition-timing-function",this.settings.easing),this.$inner.css("transition-duration",this.settings.speed+"ms"),this.settings.download&&this.$toolbar.append('<a id="'.concat(this.getIdName("lg-download"),'" target="_blank" rel="noopener" aria-label="Download" download class="lg-download lg-icon"></a>')),this.counter(),it(window).on("resize.lg.global".concat(this.lgId," orientationchange.lg.global").concat(this.lgId),(function(){t.refreshOnResize()})),this.hideBars(),this.manageCloseGallery(),this.toggleMaximize(),this.initModules()}}},{key:"refreshOnResize",value:function(){if(this.lgOpened){var t=this.galleryItems[this.index],e=t.__slideVideoInfo;this.mediaContainerPosition=this.getMediaContainerPosition();var n=this.mediaContainerPosition,r=n.top,i=n.bottom;if(this.currentImageSize=lt.getSize(this.items[this.index],this.outer,r+i,e&&this.settings.videoMaxSize),e&&this.resizeVideoSlide(this.index,this.currentImageSize),this.zoomFromOrigin&&!this.isDummyImageRemoved){var o=this.getDummyImgStyles(this.currentImageSize);this.outer.find(".lg-current .lg-dummy-img").first().attr("style",o)}this.LGel.trigger(ut.containerResize)}}},{key:"resizeVideoSlide",value:function(t,e){var n=this.getVideoContStyle(e),r=this.getSlideItem(t);r.find(".lg-video-cont").attr("style",n)}},{key:"updateSlides",value:function(t,e){if(this.index>t.length-1&&(this.index=t.length-1),1===t.length&&(this.index=0),t.length){var n=this.galleryItems[e].src;this.galleryItems=t,this.updateControls(),this.$inner.empty(),this.currentItemsInDom=[];var r=0;this.galleryItems.some((function(t,e){return t.src===n&&(r=e,!0)})),this.currentItemsInDom=this.organizeSlideItems(r,-1),this.loadContent(r,!0),this.getSlideItem(r).addClass("lg-current"),this.index=r,this.updateCurrentCounter(r),this.LGel.trigger(ut.updateSlides)}else this.closeGallery()}},{key:"getItems",value:function(){if(this.items=[],this.settings.dynamic)return this.settings.dynamicEl||[];if("this"===this.settings.selector)this.items.push(this.el);else if(this.settings.selector)if("string"===typeof this.settings.selector)if(this.settings.selectWithin){var t=it(this.settings.selectWithin);this.items=t.find(this.settings.selector).get()}else this.items=this.el.querySelectorAll(this.settings.selector);else this.items=this.settings.selector;else this.items=this.el.children;return lt.getDynamicOptions(this.items,this.settings.extraProps,this.settings.getCaptionFromTitleOrAlt,this.settings.exThumbImage)}},{key:"openGallery",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.settings.index,n=arguments.length>1?arguments[1]:void 0;if(!this.lgOpened){this.lgOpened=!0,this.outer.get().focus(),this.outer.removeClass("lg-hide-items"),this.$container.addClass("lg-show");var r=this.getItemsToBeInsertedToDom(e,e);this.currentItemsInDom=r;var i="";r.forEach((function(t){i+='<div id="'.concat(t,'" class="lg-item"></div>')})),this.$inner.append(i),this.addHtml(e);var o="";this.mediaContainerPosition=this.getMediaContainerPosition();var s=this.mediaContainerPosition,a=s.top,l=s.bottom;this.settings.allowMediaOverlap||this.setMediaContainerPosition(a,l),this.zoomFromOrigin&&n&&(this.currentImageSize=lt.getSize(n,this.outer,a+l,this.galleryItems[e].__slideVideoInfo&&this.settings.videoMaxSize),o=lt.getTransform(n,this.outer,a,l,this.currentImageSize)),this.zoomFromOrigin&&o||(this.outer.addClass(this.settings.startClass),this.getSlideItem(e).removeClass("lg-complete"));var c=this.settings.zoomFromOrigin?100:this.settings.backdropDuration;setTimeout((function(){t.outer.addClass("lg-components-open")}),c),this.index=e,this.LGel.trigger(ut.beforeOpen),this.getSlideItem(e).addClass("lg-current"),this.lGalleryOn=!1,this.prevScrollTop=it(window).scrollTop(),setTimeout((function(){if(t.zoomFromOrigin&&o){var n=t.getSlideItem(e);n.css("transform",o),setTimeout((function(){n.addClass("lg-start-progress lg-start-end-progress").css("transition-duration",t.settings.startAnimationDuration+"ms"),t.outer.addClass("lg-zoom-from-image")})),setTimeout((function(){n.css("transform","translate3d(0, 0, 0)")}),100)}setTimeout((function(){t.$backdrop.addClass("in"),t.$container.addClass("lg-show-in")}),10),t.zoomFromOrigin&&o||setTimeout((function(){t.outer.addClass("lg-visible")}),t.settings.backdropDuration),t.slide(e,!1,!1,!1),t.LGel.trigger(ut.afterOpen)})),document.body===this.settings.container&&it("html").addClass("lg-on")}}},{key:"getMediaContainerPosition",value:function(){if(this.settings.allowMediaOverlap)return{top:0,bottom:0};var t=this.$toolbar.get().clientHeight||0,e=this.outer.find(".lg-components .lg-sub-html").get(),n=this.settings.defaultCaptionHeight||e&&e.clientHeight||0,r=this.outer.find(".lg-thumb-outer").get(),i=r?r.clientHeight:0,o=i+n;return{top:t,bottom:o}}},{key:"setMediaContainerPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.$content.css("top",t+"px").css("bottom",e+"px")}},{key:"hideBars",value:function(){var t=this;setTimeout((function(){t.outer.removeClass("lg-hide-items"),t.settings.hideBarsDelay>0&&(t.outer.on("mousemove.lg click.lg touchstart.lg",(function(){t.outer.removeClass("lg-hide-items"),clearTimeout(t.hideBarTimeout),t.hideBarTimeout=setTimeout((function(){t.outer.addClass("lg-hide-items")}),t.settings.hideBarsDelay)})),t.outer.trigger("mousemove.lg"))}),this.settings.showBarsAfter)}},{key:"initPictureFill",value:function(t){if(this.settings.supportLegacyBrowser)try{picturefill({elements:[t.get()]})}catch(e){console.warn("lightGallery :- If you want srcset or picture tag to be supported for older browser please include picturefil javascript library in your document.")}}},{key:"counter",value:function(){if(this.settings.counter){var t='<div class="lg-counter" role="status" aria-live="polite">\n <span id="'.concat(this.getIdName("lg-counter-current"),'" class="lg-counter-current">').concat(this.index+1,' </span> /\n <span id="').concat(this.getIdName("lg-counter-all"),'" class="lg-counter-all">').concat(this.galleryItems.length," </span></div>");this.outer.find(this.settings.appendCounterTo).append(t)}}},{key:"addHtml",value:function(t){var e,n;if(this.galleryItems[t].subHtmlUrl?n=this.galleryItems[t].subHtmlUrl:e=this.galleryItems[t].subHtml,!n)if(e){var r=e.substring(0,1);"."!==r&&"#"!==r||(e=this.settings.subHtmlSelectorRelative&&!this.settings.dynamic?it(this.items).eq(t).find(e).first().html():it(e).first().html())}else e="";if(".lg-item"!==this.settings.appendSubHtmlTo)n?this.outer.find(".lg-sub-html").load(n):this.outer.find(".lg-sub-html").html(e);else{var i=it(this.getSlideItemId(t));n?i.load(n):i.append('<div class="lg-sub-html">'.concat(e,"</div>"))}"undefined"!==typeof e&&null!==e&&(""===e?this.outer.find(this.settings.appendSubHtmlTo).addClass("lg-empty-html"):this.outer.find(this.settings.appendSubHtmlTo).removeClass("lg-empty-html")),this.LGel.trigger(ut.afterAppendSubHtml,{index:t})}},{key:"preload",value:function(t){for(var e=1;e<=this.settings.preload;e++){if(e>=this.galleryItems.length-t)break;this.loadContent(t+e,!1)}for(var n=1;n<=this.settings.preload;n++){if(t-n<0)break;this.loadContent(t-n,!1)}}},{key:"getDummyImgStyles",value:function(t){return t?"width:".concat(t.width,"px;\n margin-left: -").concat(t.width/2,"px;\n margin-top: -").concat(t.height/2,"px;\n height:").concat(t.height,"px"):""}},{key:"getVideoContStyle",value:function(t){return t?"width:".concat(t.width,"px;\n height:").concat(t.height,"px"):""}},{key:"getDummyImageContent",value:function(t,e,n){var r;if(this.settings.dynamic||(r=it(this.items).eq(e)),r){var i;if(i=this.settings.exThumbImage?r.attr(this.settings.exThumbImage):r.find("img").first().attr("src"),!i)return"";var o=this.getDummyImgStyles(this.currentImageSize),s="<img ".concat(n,' style="').concat(o,'" class="lg-dummy-img" src="').concat(i,'" />');return t.addClass("lg-first-slide"),this.outer.addClass("lg-first-slide-loading"),s}return""}},{key:"setImgMarkup",value:function(t,e,n){var r=this.galleryItems[n],i=r.alt,o=r.srcset,s=r.sizes,a=r.sources,l="",c=i?'alt="'+i+'"':"";l=!this.lGalleryOn&&this.zoomFromOrigin&&this.currentImageSize?this.getDummyImageContent(e,n,c):lt.getImgMarkup(n,t,c,o,s,a);var u='<picture class="lg-img-wrap"> '.concat(l,"</picture>");e.prepend(u)}},{key:"onLgObjectLoad",value:function(t,e,n,r,i){var o=this;i&&this.LGel.trigger(ut.slideItemLoad,{index:e,delay:n||0}),t.find(".lg-object").first().on("load.lg",(function(){o.handleLgObjectLoad(t,e,n,r,i)})),setTimeout((function(){t.find(".lg-object").first().on("error.lg",(function(){t.addClass("lg-complete lg-complete_"),t.html('<span class="lg-error-msg">Oops... Failed to load content...</span>')}))}),r)}},{key:"handleLgObjectLoad",value:function(t,e,n,r,i){var o=this;setTimeout((function(){t.addClass("lg-complete lg-complete_"),i||o.LGel.trigger(ut.slideItemLoad,{index:e,delay:n||0})}),r)}},{key:"isVideo",value:function(t,e){if(!t)return this.galleryItems[e].video?{html5:!0}:void console.error("lightGallery :- data-src is not provided on slide item "+(e+1)+". Please make sure the selector property is properly configured. More info - https://www.lightgalleryjs.com/demos/html-markup/");var n=t.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),r=t.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)/i),i=t.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/([0-9a-z\-_]+)(.*)/);return n?{youtube:n}:r?{vimeo:r}:i?{wistia:i}:void 0}},{key:"addSlideVideoInfo",value:function(t){var e=this;t.forEach((function(t,n){t.__slideVideoInfo=e.isVideo(t.src,n)}))}},{key:"loadContent",value:function(t,e){var n=this,r=this.galleryItems[t],i=it(this.getSlideItemId(t)),o=r.poster,s=r.srcset,a=r.sizes,l=r.sources,c=r.src,u=r.video,f=u&&"string"===typeof u?JSON.parse(u):u;if(r.responsive){var d=r.responsive.split(",");c=lt.getResponsiveSrc(d)||c}var h=r.__slideVideoInfo,g="",p=!!r.iframe;if(!i.hasClass("lg-loaded")){if(h){var v=this.mediaContainerPosition,m=v.top,y=v.bottom,b=lt.getSize(this.items[t],this.outer,m+y,h&&this.settings.videoMaxSize);g=this.getVideoContStyle(b)}if(p){var x=lt.getIframeMarkup(this.settings.iframeWidth,this.settings.iframeHeight,c,r.iframeTitle);i.prepend(x)}else if(o){var w="",S=!this.lGalleryOn,O=!this.lGalleryOn&&this.zoomFromOrigin&&this.currentImageSize;O&&(w=this.getDummyImageContent(i,t,""));var I=lt.getVideoPosterMarkup(o,w||"",g,h);i.prepend(I);var C=(O?this.settings.startAnimationDuration:this.settings.backdropDuration)+100;setTimeout((function(){n.LGel.trigger(ut.hasVideo,{index:t,src:c,html5Video:f,hasPoster:!0,isFirstSlide:S})}),C)}else if(h){var E='<div class="lg-video-cont " style="'.concat(g,'"></div>');i.prepend(E),this.LGel.trigger(ut.hasVideo,{index:t,src:c,html5Video:f,hasPoster:!1})}else if(this.setImgMarkup(c,i,t),s||l){var k=i.find(".lg-object");this.initPictureFill(k)}this.LGel.trigger(ut.afterAppendSlide,{index:t}),this.lGalleryOn&&".lg-item"===this.settings.appendSubHtmlTo&&this.addHtml(t)}var T=0,j=0;this.lGalleryOn||(j=this.zoomFromOrigin&&this.currentImageSize?this.settings.startAnimationDuration+10:this.settings.backdropDuration+10),j&&!it(document.body).hasClass("lg-from-hash")&&(T=j),!this.lGalleryOn&&this.zoomFromOrigin&&this.currentImageSize&&(setTimeout((function(){i.removeClass("lg-start-end-progress lg-start-progress").removeAttr("style")}),this.settings.startAnimationDuration+100),i.hasClass("lg-loaded")||setTimeout((function(){if(i.find(".lg-img-wrap").append(lt.getImgMarkup(t,c,"",s,a,r.sources)),s||l){var e=i.find(".lg-object");n.initPictureFill(e)}n.onLgObjectLoad(i,t,j,T,!0);var o=i.find(".lg-object").first();lt.isImageLoaded(o.get())?n.loadContentOnLoad(t,i,T):o.on("load.lg error.lg",(function(){n.loadContentOnLoad(t,i,T)}))}),this.settings.startAnimationDuration+100)),i.addClass("lg-loaded"),this.onLgObjectLoad(i,t,j,T,!1),h&&h.html5&&!o&&i.addClass("lg-complete lg-complete_"),this.zoomFromOrigin&&this.currentImageSize||!i.hasClass("lg-complete_")||this.lGalleryOn||setTimeout((function(){i.addClass("lg-complete")}),this.settings.backdropDuration),this.lGalleryOn=!0,!0===e&&(i.hasClass("lg-complete_")?this.preload(t):i.find(".lg-object").first().on("load.lg error.lg",(function(){n.preload(t)})))}},{key:"loadContentOnLoad",value:function(t,e,n){var r=this;setTimeout((function(){e.find(".lg-dummy-img").remove(),e.removeClass("lg-first-slide"),r.outer.removeClass("lg-first-slide-loading"),r.isDummyImageRemoved=!0,r.preload(t)}),n+300)}},{key:"getItemsToBeInsertedToDom",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],o=Math.max(r,3);o=Math.min(o,this.galleryItems.length);var s="lg-item-".concat(this.lgId,"-").concat(e);if(this.galleryItems.length<=3)return this.galleryItems.forEach((function(t,e){i.push("lg-item-".concat(n.lgId,"-").concat(e))})),i;if(t<(this.galleryItems.length-1)/2){for(var a=t;a>t-o/2&&a>=0;a--)i.push("lg-item-".concat(this.lgId,"-").concat(a));for(var l=i.length,c=0;c<o-l;c++)i.push("lg-item-".concat(this.lgId,"-").concat(t+c+1))}else{for(var u=t;u<=this.galleryItems.length-1&&u<t+o/2;u++)i.push("lg-item-".concat(this.lgId,"-").concat(u));for(var f=i.length,d=0;d<o-f;d++)i.push("lg-item-".concat(this.lgId,"-").concat(t-d-1))}return this.settings.loop&&(t===this.galleryItems.length-1?i.push("lg-item-".concat(this.lgId,"-",0)):0===t&&i.push("lg-item-".concat(this.lgId,"-").concat(this.galleryItems.length-1))),-1===i.indexOf(s)&&i.push("lg-item-".concat(this.lgId,"-").concat(e)),i}},{key:"organizeSlideItems",value:function(t,e){var n=this,r=this.getItemsToBeInsertedToDom(t,e,this.settings.numberOfSlideItemsInDom);return r.forEach((function(t){-1===n.currentItemsInDom.indexOf(t)&&n.$inner.append('<div id="'.concat(t,'" class="lg-item"></div>'))})),this.currentItemsInDom.forEach((function(t){-1===r.indexOf(t)&&it("#".concat(t)).remove()})),r}},{key:"getPreviousSlideIndex",value:function(){var t=0;try{var e=this.outer.find(".lg-current").first().attr("id");t=parseInt(e.split("-")[3])||0}catch(n){t=0}return t}},{key:"setDownloadValue",value:function(t){if(this.settings.download){var e=this.galleryItems[t],n=!1===e.downloadUrl||"false"===e.downloadUrl;if(n)this.outer.addClass("lg-hide-download");else{var r=this.getElementById("lg-download");this.outer.removeClass("lg-hide-download"),r.attr("href",e.downloadUrl||e.src),e.download&&r.attr("download",e.download)}}}},{key:"makeSlideAnimation",value:function(t,e,n){var r=this;this.lGalleryOn&&n.addClass("lg-slide-progress"),setTimeout((function(){r.outer.addClass("lg-no-trans"),r.outer.find(".lg-item").removeClass("lg-prev-slide lg-next-slide"),"prev"===t?(e.addClass("lg-prev-slide"),n.addClass("lg-next-slide")):(e.addClass("lg-next-slide"),n.addClass("lg-prev-slide")),setTimeout((function(){r.outer.find(".lg-item").removeClass("lg-current"),e.addClass("lg-current"),r.outer.removeClass("lg-no-trans")}),50)}),this.lGalleryOn?this.settings.slideDelay:0)}},{key:"slide",value:function(t,e,n,r){var i=this,o=this.getPreviousSlideIndex();if(this.currentItemsInDom=this.organizeSlideItems(t,o),!this.lGalleryOn||o!==t){var s=this.galleryItems.length;if(!this.lgBusy){this.settings.counter&&this.updateCurrentCounter(t);var a,l,c=this.getSlideItem(t),u=this.getSlideItem(o),f=this.galleryItems[t],d=f.__slideVideoInfo;if(this.outer.attr("data-lg-slide-type",this.getSlideType(f)),this.setDownloadValue(t),d){var h=this.mediaContainerPosition,g=h.top,p=h.bottom,v=lt.getSize(this.items[t],this.outer,g+p,d&&this.settings.videoMaxSize);this.resizeVideoSlide(t,v)}if(this.LGel.trigger(ut.beforeSlide,{prevIndex:o,index:t,fromTouch:!!e,fromThumb:!!n}),this.lgBusy=!0,clearTimeout(this.hideBarTimeout),this.arrowDisable(t),r||(t<o?r="prev":t>o&&(r="next")),e)this.outer.find(".lg-item").removeClass("lg-prev-slide lg-current lg-next-slide"),s>2?(a=t-1,l=t+1,(0===t&&o===s-1||t===s-1&&0===o)&&(l=0,a=s-1)):(a=0,l=1),"prev"===r?this.getSlideItem(l).addClass("lg-next-slide"):this.getSlideItem(a).addClass("lg-prev-slide"),c.addClass("lg-current");else this.makeSlideAnimation(r,c,u);this.lGalleryOn||this.loadContent(t,!0),setTimeout((function(){i.lGalleryOn&&i.loadContent(t,!0),".lg-item"!==i.settings.appendSubHtmlTo&&i.addHtml(t)}),(this.lGalleryOn?this.settings.speed+50:50)+(e?0:this.settings.slideDelay)),setTimeout((function(){i.lgBusy=!1,u.removeClass("lg-slide-progress"),i.LGel.trigger(ut.afterSlide,{prevIndex:o,index:t,fromTouch:e,fromThumb:n})}),(this.lGalleryOn?this.settings.speed+100:100)+(e?0:this.settings.slideDelay))}this.index=t}}},{key:"updateCurrentCounter",value:function(t){this.getElementById("lg-counter-current").html(t+1+"")}},{key:"updateCounterTotal",value:function(){this.getElementById("lg-counter-all").html(this.galleryItems.length+"")}},{key:"getSlideType",value:function(t){return t.__slideVideoInfo?"video":t.iframe?"iframe":"image"}},{key:"touchMove",value:function(t,e,n){var r=e.pageX-t.pageX,i=e.pageY-t.pageY,o=!1;if(this.swipeDirection?o=!0:Math.abs(r)>15?(this.swipeDirection="horizontal",o=!0):Math.abs(i)>15&&(this.swipeDirection="vertical",o=!0),o){var s=this.getSlideItem(this.index);if("horizontal"===this.swipeDirection){null===n||void 0===n||n.preventDefault(),this.outer.addClass("lg-dragging"),this.setTranslate(s,r,0);var a=s.get().offsetWidth,l=15*a/100,c=l-Math.abs(10*r/100);this.setTranslate(this.outer.find(".lg-prev-slide").first(),-a+r-c,0),this.setTranslate(this.outer.find(".lg-next-slide").first(),a+r+c,0)}else if("vertical"===this.swipeDirection&&this.settings.swipeToClose){null===n||void 0===n||n.preventDefault(),this.$container.addClass("lg-dragging-vertical");var u=1-Math.abs(i)/window.innerHeight;this.$backdrop.css("opacity",u);var f=1-Math.abs(i)/(2*window.innerWidth);this.setTranslate(s,0,i,f,f),Math.abs(i)>100&&this.outer.addClass("lg-hide-items").removeClass("lg-components-open")}}}},{key:"touchEnd",value:function(t,e,n){var r,i=this;"lg-slide"!==this.settings.mode&&this.outer.addClass("lg-slide"),setTimeout((function(){i.$container.removeClass("lg-dragging-vertical"),i.outer.removeClass("lg-dragging lg-hide-items").addClass("lg-components-open");var o=!0;if("horizontal"===i.swipeDirection){r=t.pageX-e.pageX;var s=Math.abs(t.pageX-e.pageX);r<0&&s>i.settings.swipeThreshold?(i.goToNextSlide(!0),o=!1):r>0&&s>i.settings.swipeThreshold&&(i.goToPrevSlide(!0),o=!1)}else if("vertical"===i.swipeDirection){if(r=Math.abs(t.pageY-e.pageY),i.settings.closable&&i.settings.swipeToClose&&r>100)return void i.closeGallery();i.$backdrop.css("opacity",1)}if(i.outer.find(".lg-item").removeAttr("style"),o&&Math.abs(t.pageX-e.pageX)<5){var a=it(n.target);i.isPosterElement(a)&&i.LGel.trigger(ut.posterClick)}i.swipeDirection=void 0})),setTimeout((function(){i.outer.hasClass("lg-dragging")||"lg-slide"===i.settings.mode||i.outer.removeClass("lg-slide")}),this.settings.speed+100)}},{key:"enableSwipe",value:function(){var t=this,e={},n={},r=!1,i=!1;this.settings.enableSwipe&&(this.$inner.on("touchstart.lg",(function(n){t.dragOrSwipeEnabled=!0;var r=t.getSlideItem(t.index);!it(n.target).hasClass("lg-item")&&!r.get().contains(n.target)||t.outer.hasClass("lg-zoomed")||t.lgBusy||1!==n.targetTouches.length||(i=!0,t.touchAction="swipe",t.manageSwipeClass(),e={pageX:n.targetTouches[0].pageX,pageY:n.targetTouches[0].pageY})})),this.$inner.on("touchmove.lg",(function(o){i&&"swipe"===t.touchAction&&1===o.targetTouches.length&&(n={pageX:o.targetTouches[0].pageX,pageY:o.targetTouches[0].pageY},t.touchMove(e,n,o),r=!0)})),this.$inner.on("touchend.lg",(function(o){if("swipe"===t.touchAction){if(r)r=!1,t.touchEnd(n,e,o);else if(i){var s=it(o.target);t.isPosterElement(s)&&t.LGel.trigger(ut.posterClick)}t.touchAction=void 0,i=!1}})))}},{key:"enableDrag",value:function(){var t=this,e={},n={},r=!1,i=!1;this.settings.enableDrag&&(this.outer.on("mousedown.lg",(function(n){t.dragOrSwipeEnabled=!0;var i=t.getSlideItem(t.index);(it(n.target).hasClass("lg-item")||i.get().contains(n.target))&&(t.outer.hasClass("lg-zoomed")||t.lgBusy||(n.preventDefault(),t.lgBusy||(t.manageSwipeClass(),e={pageX:n.pageX,pageY:n.pageY},r=!0,t.outer.get().scrollLeft+=1,t.outer.get().scrollLeft-=1,t.outer.removeClass("lg-grab").addClass("lg-grabbing"),t.LGel.trigger(ut.dragStart))))})),it(window).on("mousemove.lg.global".concat(this.lgId),(function(o){r&&t.lgOpened&&(i=!0,n={pageX:o.pageX,pageY:o.pageY},t.touchMove(e,n),t.LGel.trigger(ut.dragMove))})),it(window).on("mouseup.lg.global".concat(this.lgId),(function(o){if(t.lgOpened){var s=it(o.target);i?(i=!1,t.touchEnd(n,e,o),t.LGel.trigger(ut.dragEnd)):t.isPosterElement(s)&&t.LGel.trigger(ut.posterClick),r&&(r=!1,t.outer.removeClass("lg-grabbing").addClass("lg-grab"))}})))}},{key:"triggerPosterClick",value:function(){var t=this;this.$inner.on("click.lg",(function(e){!t.dragOrSwipeEnabled&&t.isPosterElement(it(e.target))&&t.LGel.trigger(ut.posterClick)}))}},{key:"manageSwipeClass",value:function(){var t=this.index+1,e=this.index-1;this.settings.loop&&this.galleryItems.length>2&&(0===this.index?e=this.galleryItems.length-1:this.index===this.galleryItems.length-1&&(t=0)),this.outer.find(".lg-item").removeClass("lg-next-slide lg-prev-slide"),e>-1&&this.getSlideItem(e).addClass("lg-prev-slide"),this.getSlideItem(t).addClass("lg-next-slide")}},{key:"goToNextSlide",value:function(t){var e=this,n=this.settings.loop;t&&this.galleryItems.length<3&&(n=!1),this.lgBusy||(this.index+1<this.galleryItems.length?(this.index++,this.LGel.trigger(ut.beforeNextSlide,{index:this.index}),this.slide(this.index,!!t,!1,"next")):n?(this.index=0,this.LGel.trigger(ut.beforeNextSlide,{index:this.index}),this.slide(this.index,!!t,!1,"next")):this.settings.slideEndAnimation&&!t&&(this.outer.addClass("lg-right-end"),setTimeout((function(){e.outer.removeClass("lg-right-end")}),400)))}},{key:"goToPrevSlide",value:function(t){var e=this,n=this.settings.loop;t&&this.galleryItems.length<3&&(n=!1),this.lgBusy||(this.index>0?(this.index--,this.LGel.trigger(ut.beforePrevSlide,{index:this.index,fromTouch:t}),this.slide(this.index,!!t,!1,"prev")):n?(this.index=this.galleryItems.length-1,this.LGel.trigger(ut.beforePrevSlide,{index:this.index,fromTouch:t}),this.slide(this.index,!!t,!1,"prev")):this.settings.slideEndAnimation&&!t&&(this.outer.addClass("lg-left-end"),setTimeout((function(){e.outer.removeClass("lg-left-end")}),400)))}},{key:"keyPress",value:function(){var t=this;it(window).on("keydown.lg.global".concat(this.lgId),(function(e){t.lgOpened&&!0===t.settings.escKey&&27===e.keyCode&&(e.preventDefault(),t.settings.allowMediaOverlap&&t.outer.hasClass("lg-can-toggle")&&t.outer.hasClass("lg-components-open")?t.outer.removeClass("lg-components-open"):t.closeGallery()),t.lgOpened&&t.galleryItems.length>1&&(37===e.keyCode&&(e.preventDefault(),t.goToPrevSlide()),39===e.keyCode&&(e.preventDefault(),t.goToNextSlide()))}))}},{key:"arrow",value:function(){var t=this;this.getElementById("lg-prev").on("click.lg",(function(){t.goToPrevSlide()})),this.getElementById("lg-next").on("click.lg",(function(){t.goToNextSlide()}))}},{key:"arrowDisable",value:function(t){if(!this.settings.loop&&this.settings.hideControlOnEnd){var e=this.getElementById("lg-prev"),n=this.getElementById("lg-next");t+1===this.galleryItems.length?n.attr("disabled","disabled").addClass("disabled"):n.removeAttr("disabled").removeClass("disabled"),0===t?e.attr("disabled","disabled").addClass("disabled"):e.removeAttr("disabled").removeClass("disabled")}}},{key:"setTranslate",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;t.css("transform","translate3d("+e+"px, "+n+"px, 0px) scale3d("+r+", "+i+", 1)")}},{key:"mousewheel",value:function(){var t=this;this.outer.on("mousewheel.lg",(function(e){!e.deltaY||t.galleryItems.length<2||(e.deltaY>0?t.goToPrevSlide():t.goToNextSlide(),e.preventDefault())}))}},{key:"isSlideElement",value:function(t){return t.hasClass("lg-outer")||t.hasClass("lg-item")||t.hasClass("lg-img-wrap")}},{key:"isPosterElement",value:function(t){var e=this.getSlideItem(this.index).find(".lg-video-play-button").get();return t.hasClass("lg-video-poster")||t.hasClass("lg-video-play-button")||e&&e.contains(t.get())}},{key:"toggleMaximize",value:function(){var t=this;this.getElementById("lg-maximize").on("click.lg",(function(){t.$container.toggleClass("lg-inline"),t.refreshOnResize()}))}},{key:"invalidateItems",value:function(){for(var t=0;t<this.items.length;t++){var e=this.items[t],n=it(e);n.off("click.lgcustom-item-".concat(n.attr("data-lg-id")))}}},{key:"manageCloseGallery",value:function(){var t=this;if(this.settings.closable){var e=!1;this.getElementById("lg-close").on("click.lg",(function(){t.closeGallery()})),this.settings.closeOnTap&&(this.outer.on("mousedown.lg",(function(n){var r=it(n.target);e=!!t.isSlideElement(r)})),this.outer.on("mousemove.lg",(function(){e=!1})),this.outer.on("mouseup.lg",(function(n){var r=it(n.target);t.isSlideElement(r)&&e&&(t.outer.hasClass("lg-dragging")||t.closeGallery())})))}}},{key:"closeGallery",value:function(t){var e=this;if(!this.lgOpened||!this.settings.closable&&!t)return 0;this.LGel.trigger(ut.beforeClose),it(window).scrollTop(this.prevScrollTop);var n,r=this.items[this.index];if(this.zoomFromOrigin&&r){var i=this.mediaContainerPosition,o=i.top,s=i.bottom,a=lt.getSize(r,this.outer,o+s,this.galleryItems[this.index].__slideVideoInfo&&this.settings.videoMaxSize);n=lt.getTransform(r,this.outer,o,s,a)}this.zoomFromOrigin&&n?(this.outer.addClass("lg-closing lg-zoom-from-image"),this.getSlideItem(this.index).addClass("lg-start-end-progress").css("transition-duration",this.settings.startAnimationDuration+"ms").css("transform",n)):(this.outer.addClass("lg-hide-items"),this.outer.removeClass("lg-zoom-from-image")),this.destroyModules(),this.lGalleryOn=!1,this.isDummyImageRemoved=!1,this.zoomFromOrigin=this.settings.zoomFromOrigin,clearTimeout(this.hideBarTimeout),this.hideBarTimeout=!1,it("html").removeClass("lg-on"),this.outer.removeClass("lg-visible lg-components-open"),this.$backdrop.removeClass("in").css("opacity",0);var l=this.zoomFromOrigin&&n?Math.max(this.settings.startAnimationDuration,this.settings.backdropDuration):this.settings.backdropDuration;return this.$container.removeClass("lg-show-in"),setTimeout((function(){e.zoomFromOrigin&&n&&e.outer.removeClass("lg-zoom-from-image"),e.$container.removeClass("lg-show"),e.$backdrop.removeAttr("style").css("transition-duration",e.settings.backdropDuration+"ms"),e.outer.removeClass("lg-closing ".concat(e.settings.startClass)),e.getSlideItem(e.index).removeClass("lg-start-end-progress"),e.$inner.empty(),e.lgOpened&&e.LGel.trigger(ut.afterClose,{instance:e}),e.outer.get()&&e.outer.get().blur(),e.lgOpened=!1}),l+100),l+100}},{key:"initModules",value:function(){this.plugins.forEach((function(t){try{t.init()}catch(e){console.warn("lightGallery:- make sure lightGallery module is properly initiated")}}))}},{key:"destroyModules",value:function(t){this.plugins.forEach((function(e){try{t?e.destroy():e.closeGallery&&e.closeGallery()}catch(n){console.warn("lightGallery:- make sure lightGallery module is properly destroyed")}}))}},{key:"refresh",value:function(t){this.settings.dynamic||this.invalidateItems(),this.galleryItems=t||this.getItems(),this.updateControls(),this.openGalleryOnItemClick(),this.LGel.trigger(ut.updateSlides)}},{key:"updateControls",value:function(){this.addSlideVideoInfo(this.galleryItems),this.updateCounterTotal(),this.manageSingleSlideClassName()}},{key:"destroy",value:function(){var t=this,e=this.closeGallery(!0);return setTimeout((function(){t.destroyModules(!0),t.settings.dynamic||t.invalidateItems(),it(window).off(".lg.global".concat(t.lgId)),t.LGel.off(".lg"),t.$container.remove()}),e),e}}]),t}();function ht(t,e){return new dt(t,e)}var gt=ht,pt=function(t){v(n,t);var e=O(n);function n(){return d(this,n),e.apply(this,arguments)}return g(n,[{key:"mounted",value:function(){this.registerEvents.call(this),this.LG=gt(this.$refs.container,f({},this.settings))}},{key:"unmounted",value:function(){this.LG.destroy()}},{key:"getMethodName",value:function(t){return"on".concat(t.charAt(0).toUpperCase()+t.slice(1))}},{key:"registerEvents",value:function(){var t=this;Object.keys(ut).forEach((function(e){t.$refs.container.addEventListener(ut[e].split(".")[0],(function(n){t[t.getMethodName(e)]&&t[t.getMethodName.call(t,e)](n.detail)}))}))}}]),n}(q);pt=I([K({props:{settings:{type:Object},onAfterAppendSlide:{type:Function},onInit:{type:Function},onHasVideo:{type:Function},onContainerResize:{type:Function},onAfterAppendSubHtml:{type:Function},onBeforeOpen:{type:Function},onAfterOpen:{type:Function},onSlideItemLoad:{type:Function},onBeforeSlide:{type:Function},onAfterSlide:{type:Function},onPosterClick:{type:Function},onDragStart:{type:Function},onDragMove:{type:Function},onDragEnd:{type:Function},onBeforeNextSlide:{type:Function},onBeforePrevSlide:{type:Function},onBeforeClose:{type:Function},onAfterClose:{type:Function}}})],pt);var vt=pt;vt.render=l;var mt=vt;e["default"]=mt},fb6a:function(t,e,n){"use strict";var r=n("23e7"),i=n("861d"),o=n("e8b5"),s=n("23cb"),a=n("50c4"),l=n("fc6a"),c=n("8418"),u=n("b622"),f=n("1dde"),d=f("slice"),h=u("species"),g=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,r,u,f=l(this),d=a(f.length),v=s(t,d),m=s(void 0===e?d:e,d);if(o(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[h],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return g.call(f,v,m);for(r=new(void 0===n?Array:n)(p(m-v,0)),u=0;v<m;v++,u++)v in f&&c(r,u,f[v]);return r.length=u,r}})},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}})["default"]}));
8//# sourceMappingURL=LightGalleryVue.umd.min.js.map
\No newline at end of file