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(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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 i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(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,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"0538":function(t,e,n){"use strict";var i=n("1c0b"),r=n("861d"),o=[].slice,s={},a=function(t,e,n){if(!(e in s)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";s[e]=Function("C,a","return new C("+i.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=o.call(arguments,1),s=function(){var i=n.concat(o.call(arguments));return this instanceof s?a(e,i.length,i):e.apply(t,i)};return r(e.prototype)&&(s.prototype=e.prototype),s}},"057f":function(t,e,n){var i=n("fc6a"),r=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):r(i(t))}},"06cf":function(t,e,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),s=n("fc6a"),a=n("c04e"),l=n("5135"),c=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=i?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(!r.f.call(t,e),t[e])}},"0cb2":function(t,e,n){var i=n("7b0b"),r=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=i(c),h=s),o.call(u,h,(function(i,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 i;if(a>d){var u=r(a/10);return 0===u?i:u<=d?void 0===l[u-1]?o.charAt(1):l[u-1]+o.charAt(1):i}s=l[a-1]}return void 0===s?"":s}))}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1276:function(t,e,n){"use strict";var i=n("d784"),r=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;i("split",2,(function(t,e,n){var i;return i="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 i=String(s(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,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,i)){if(l=p.lastIndex,l>h&&(u.push(i.slice(h,a.index)),a.length>1&&a.index<i.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===i.length?!c&&p.test("")||u.push(""):u.push(i.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 r=s(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,r,n):i.call(String(r),e,n)},function(t,r){var s=n(i,t,this,r,i!==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===r?v:r>>>0;if(0===x)return[];if(0===d.length)return null===u(b,d)?[d]:[];var S=0,w=0,O=[];while(w<d.length){b.lastIndex=h?0:w;var I,C=u(b,h?d.slice(w):d);if(null===C||(I=p(c(b.lastIndex+(h?w:0)),d.length))===S)w=l(d,w,m);else{if(O.push(d.slice(S,w)),O.length===x)return O;for(var E=1;E<=C.length-1;E++)if(O.push(C[E]),O.length===x)return O;w=S=I}}return O.push(d.slice(S)),O}]}),h)},"14c3":function(t,e,n){var i=n("c6b6"),r=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"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"159b":function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("17c2"),s=n("9112");for(var a in r){var l=i[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 i=n("b727").forEach,r=n("a640"),o=r("forEach");t.exports=o?[].forEach:function(t){return i(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 i=n("d066");t.exports=i("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 i=n("b622"),r=i("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[r]=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 i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(l){}return n}},"1cdc":function(t,e,n){var i=n("342f");t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(i)},"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 i=n("d039"),r=n("b622"),o=n("2d00"),s=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var i=n("825a"),r=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),S=s(e,m,1+y+x),w=function(t){return u&&l(u),new c(!0,t)},O=function(t){return y?(i(t),x?S(t[0],t[1],w):S(t[0],t[1])):x?S(t,w):S(t)};if(b)u=t;else{if(f=a(t),"function"!=typeof f)throw TypeError("Target is not iterable");if(r(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 i=n("a691"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23e7":function(t,e,n){var i=n("da84"),r=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?i:m?i[p]||a(p,{}):(i[p]||{}).prototype,u)for(f in e){if(h=e[f],t.noTargetGet?(g=r(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 i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},"25f0":function(t,e,n){"use strict";var i=n("6eeb"),r=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)&&i(RegExp.prototype,a,(function(){var t=r(this),e=String(t.source),n=t.flags,i=String(void 0===n&&t instanceof RegExp&&!("flags"in l)?s.call(t):n);return"/"+e+"/"+i}),{unsafe:!0})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),s=n("83ab"),a=o("species");t.exports=function(t){var e=i(t),n=r.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var i=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return i(e.call(t)).value}},"2cf4":function(t,e,n){var i,r,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={},S="onreadystatechange",w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},O=function(t){return function(){w(t)}},I=function(t){w(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)},i(b),b},p=function(t){delete x[t]},d?i=function(t){v.nextTick(O(t))}:y&&y.now?i=function(t){y.now(O(t))}:m&&!f?(r=new m,o=r.port2,r.port1.onmessage=I,i=l(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(C)?(i=C,s.addEventListener("message",I,!1)):i=S in u("script")?function(t){c.appendChild(u("script"))[S]=function(){c.removeChild(this),w(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:g,clear:p}},"2d00":function(t,e,n){var i,r,o=n("da84"),s=n("342f"),a=o.process,l=a&&a.versions,c=l&&l.v8;c?(i=c.split("."),r=i[0]+i[1]):s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(r=i[1]))),t.exports=r&&+r},3410:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("7b0b"),s=n("e163"),a=n("e177"),l=r((function(){s(1)}));i({target:"Object",stat:!0,forced:l,sham:!a},{getPrototypeOf:function(t){return s(o(t))}})},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"35a1":function(t,e,n){var i=n("f5df"),r=n("3f8c"),o=n("b622"),s=o("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||r[i(t)]}},"37e8":function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("825a"),s=n("df75");t.exports=i?Object.defineProperties:function(t,e){o(t);var n,i=s(e),a=i.length,l=0;while(a>l)r.f(t,n=i[l++],e[n]);return t}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,r=n("69f3"),o=n("7dd0"),s="String Iterator",a=r.set,l=r.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,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var i=n("da84");t.exports=i},"44ad":function(t,e,n){var i=n("d039"),r=n("c6b6"),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2"),s=i("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},"44de":function(t,e,n){var i=n("da84");t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),s=o("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==r(t))}},"466d":function(t,e,n){"use strict";var i=n("d784"),r=n("825a"),o=n("50c4"),s=n("1d80"),a=n("8aa5"),l=n("14c3");i("match",1,(function(t,e,n){return[function(e){var n=s(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var s=r(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 i=n("825a"),r=n("1c0b"),o=n("b622"),s=o("species");t.exports=function(t,e){var n,o=i(t).constructor;return void 0===o||void 0==(n=i(o)[s])?e:r(n)}},4930:function(t,e,n){var i=n("605d"),r=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(i?38===r:r>37&&r<41)}))},"4ae1":function(t,e,n){var i=n("23e7"),r=n("d066"),o=n("1c0b"),s=n("825a"),a=n("861d"),l=n("7c73"),c=n("0538"),u=n("d039"),f=r("Reflect","construct"),d=u((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),h=!u((function(){f((function(){}))})),g=d||h;i({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 i=[null];return i.push.apply(i,e),new(c.apply(t,i))}var r=n.prototype,u=l(a(r)?r:Object.prototype),g=Function.apply.call(t,u,e);return a(g)?g:u}})},"4d64":function(t,e,n){var i=n("fc6a"),r=n("50c4"),o=n("23cb"),s=function(t){return function(e,n,s){var a,l=i(e),c=r(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 i=n("23e7"),r=n("b727").filter,o=n("1dde"),s=o("filter");i({target:"Array",proto:!0,forced:!s},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var i=n("0366"),r=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=r(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=i(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 i=n("a691"),r=Math.min;t.exports=function(t){return t>0?r(i(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 i=n("d784"),r=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)};i("replace",2,(function(t,e,n,i){var g=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=i.REPLACE_KEEPS_$0,v=g?"$":"$0";return[function(n,i){var r=a(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):e.call(String(r),n,i)},function(t,i){if(!g&&p||"string"===typeof i&&-1===i.indexOf(v)){var a=n(e,t,this,i);if(a.done)return a.value}var m=r(t),y=String(this),b="function"===typeof i;b||(i=String(i));var x=m.global;if(x){var S=m.unicode;m.lastIndex=0}var w=[];while(1){var O=u(m,y);if(null===O)break;if(w.push(O),!x)break;var I=String(O[0]);""===I&&(m.lastIndex=l(y,o(m.lastIndex),S))}for(var C="",E=0,k=0;k<w.length;k++){O=w[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 M=[T].concat(P,j,y);void 0!==A&&M.push(A);var L=String(i.apply(void 0,M))}else L=c(T,y,j,P,A,i);j>=E&&(C+=y.slice(E,j)+L,E=j+T.length)}return C+y.slice(E)}]}))},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.1",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),r=n("241c"),o=n("7418"),s=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=r.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 i=n("c6b6"),r=n("da84");t.exports="process"==i(r.process)},6547:function(t,e,n){var i=n("a691"),r=n("1d80"),o=function(t){return function(e,n){var o,s,a=String(r(e)),l=i(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 i=n("861d"),r=n("e8b5"),o=n("b622"),s=o("species");t.exports=function(t,e){var n;return r(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?i(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 i,r,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)?r(t):i(t,{})},v=function(t){return function(e){var n;if(!l(e)||(n=r(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;i=function(t,e){return e.facade=t,x.call(m,t,e),e},r=function(t){return y.call(m,t)||{}},o=function(t){return b.call(m,t)}}else{var S=d("state");h[S]=!0,i=function(t,e){return e.facade=t,c(t,S,e),e},r=function(t){return u(t,S)?t[S]:{}},o=function(t){return u(t,S)}}t.exports={set:i,get:r,has:o,enforce:p,getterFor:v}},"6eeb":function(t,e,n){var i=n("da84"),r=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")||r(n,"name",e),l=u(n),l.source||(l.source=f.join("string"==typeof e?e:""))),t!==i?(c?!h&&t[e]&&(d=!0):delete t[e],d?t[e]=n:r(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 i(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=i=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=i=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),i(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),t.exports=i,t.exports["default"]=t.exports,t.exports.__esModule=!0},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var i=n("428f"),r=n("5135"),o=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(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 i=n("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,n){var i,r=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{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=i?y(i):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]=r(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 i=n("23e7"),r=n("b727").find,o=n("44d2"),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),r=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,S,w){r(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&&!w||j[v]===_||l(j,v,_),d[e]=_,h)if(I={values:E(y),keys:S?_:E(m),entries:E(b)},w)for(C in I)(p||T||!(C in j))&&c(j,C,I[C]);else i({target:e,proto:!0,forced:p||T},I);return I}},"7f9a":function(t,e,n){var i=n("da84"),r=n("8925"),o=i.WeakMap;t.exports="function"===typeof o&&/native code/.test(r(o))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var i=n("c04e"),r=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var s=i(e);s in t?r.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 i,r,o;(function(n,s){r=[],i=s,o="function"===typeof i?i.apply(e,r):i,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,i,r,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,i=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$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()===r)return f[d]}return null}}return t}))},8925:function(t,e,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return r.call(t)}),t.exports=i.inspectSource},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var i=n("ad6d"),r=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=r.UNSUPPORTED_Y||r.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],d=c||f||u;d&&(l=function(t){var e,n,r,o,l=this,d=u&&l.sticky,h=i.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),r=s.call(d?n:l,v),d?r?(r.input=r.input.slice(p),r[0]=r[0].slice(p),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),f&&r&&r.length>1&&a.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=l},"94ca":function(t,e,n){var i=n("d039"),r=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==c||n!=l&&("function"==typeof e?i(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},"99af":function(t,e,n){"use strict";var i=n("23e7"),r=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||!r((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;i({target:"Array",proto:!0,forced:x},{concat:function(t){var e,n,i,r,o,s=a(this),f=u(s,0),d=0;for(e=-1,i=arguments.length;e<i;e++)if(o=-1===e?s:arguments[e],b(o)){if(r=l(o.length),d+r>p)throw TypeError(v);for(n=0;n<r;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 i=n("825a"),r=n("2a62");t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(s){throw r(t),s}}},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("825a"),s=n("c04e"),a=Object.defineProperty;e.f=i?a:function(t,e,n){if(o(t),e=s(e,!0),o(n),r)try{return a(t,e,n)}catch(i){}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 i=n("ae93").IteratorPrototype,r=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=r(i,{next:o(1,n)}),s(t,c,!1,!0),a[c]=l,t}},"9f7f":function(t,e,n){"use strict";var i=n("d039");function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a434:function(t,e,n){"use strict";var i=n("23e7"),r=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";i({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var n,i,u,f,v,m,y=a(this),b=s(y.length),x=r(t,b),S=arguments.length;if(0===S?n=i=0:1===S?(n=0,i=b-x):(n=S-2,i=h(d(o(e),0),b-x)),b+n-i>g)throw TypeError(p);for(u=l(y,i),f=0;f<i;f++)v=x+f,v in y&&c(u,f,y[v]);if(u.length=i,n<i){for(f=x;f<b-i;f++)v=f+i,m=f+n,v in y?y[m]=y[v]:delete y[m];for(f=b;f>b-i+n;f--)delete y[f-1]}else if(n>i)for(f=b-i;f>x;f--)v=f+i-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-i+n,u}})},a4b4:function(t,e,n){var i=n("342f");t.exports=/web0s(?!.*chrome)/i.test(i)},a4d3:function(t,e,n){"use strict";var i=n("23e7"),r=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"),S=n("241c"),w=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"),M=n("b622"),L=n("e538"),D=n("746f"),R=n("d44e"),F=n("69f3"),z=n("b727").forEach,G=P("hidden"),B="Symbol",N="prototype",$=M("toPrimitive"),H=F.set,V=F.getterFor(B),U=Object[N],W=r.Symbol,Y=o("JSON","stringify"),X=I.f,q=C.f,K=w.f,J=E.f,Z=j("symbols"),Q=j("op-symbols"),tt=j("string-to-symbol-registry"),et=j("symbol-to-string-registry"),nt=j("wks"),it=r.QObject,rt=!it||!it[N]||!it[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 i=X(U,e);i&&delete U[e],q(t,e,n),i&&t!==U&&q(U,e,i)}:q,st=function(t,e){var n=Z[t]=b(W[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 W},lt=function(t,e,n){t===U&<(Q,e,n),g(t);var i=m(e,!0);return g(n),f(Z,i)?(n.enumerable?(f(t,G)&&t[G][i]&&(t[G][i]=!1),n=b(n,{enumerable:y(0,!1)})):(f(t,G)||q(t,G,y(1,{})),t[G][i]=!0),ot(t,i,n)):q(t,i,n)},ct=function(t,e){g(t);var n=v(e),i=x(n).concat(gt(n));return z(i,(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(Z,e)&&!f(Q,e))&&(!(n||!f(this,e)||!f(Z,e)||f(this,G)&&this[G][e])||n)},dt=function(t,e){var n=v(t),i=m(e,!0);if(n!==U||!f(Z,i)||f(Q,i)){var r=X(n,i);return!r||!f(Z,i)||f(n,G)&&n[G][i]||(r.enumerable=!0),r}},ht=function(t){var e=K(v(t)),n=[];return z(e,(function(t){f(Z,t)||f(_,t)||n.push(t)})),n},gt=function(t){var e=t===U,n=K(e?Q:v(t)),i=[];return z(n,(function(t){!f(Z,t)||e&&!f(U,t)||i.push(Z[t])})),i};if(l||(W=function(){if(this instanceof W)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(Q,t),f(this,G)&&f(this[G],e)&&(this[G][e]=!1),ot(this,e,y(1,t))};return a&&rt&&ot(U,e,{configurable:!0,set:n}),st(e,t)},T(W[N],"toString",(function(){return V(this).tag})),T(W,"withoutSetter",(function(t){return st(A(t),t)})),E.f=ft,C.f=lt,I.f=dt,S.f=w.f=ht,O.f=gt,L.f=function(t){return st(M(t),t)},a&&(q(W[N],"description",{configurable:!0,get:function(){return V(this).description}}),s||T(U,"propertyIsEnumerable",ft,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),z(x(nt),(function(t){D(t)})),i({target:B,stat:!0,forced:!l},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var n=W(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(){rt=!0},useSimple:function(){rt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!a},{create:ut,defineProperty:lt,defineProperties:ct,getOwnPropertyDescriptor:dt}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:gt}),i({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(p(t))}}),Y){var pt=!l||u((function(){var t=W();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}));i({target:"JSON",stat:!0,forced:pt},{stringify:function(t,e,n){var i,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(i=e,(h(e)||void 0!==t)&&!at(t))return d(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!at(e))return e}),r[1]=e,Y.apply(null,r)}})}W[N][$]||k(W[N],$,W[N].valueOf),R(W,B),_[G]=!0},a630:function(t,e,n){var i=n("23e7"),r=n("4df4"),o=n("1c7e"),s=!o((function(t){Array.from(t)}));i({target:"Array",stat:!0,forced:s},{from:r})},a640:function(t,e,n){"use strict";var i=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},ac1f:function(t,e,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(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 i,r,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?(r=a(a(o)),r!==Object.prototype&&(i=r)):h=!0);var p=void 0==i||s((function(){var t={};return i[d].call(t)!==t}));p&&(i={}),f&&!p||c(i,d)||l(i,d,g),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},b041:function(t,e,n){"use strict";var i=n("00ee"),r=n("f5df");t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(t,e,n){var i=n("83ab"),r=n("9bf2").f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,l="name";i&&!(l in o)&&r(o,l,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var i,r,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,S=d(f,"queueMicrotask"),w=S&&S.value;w||(i=function(){var t,e;v&&(t=b.domain)&&t.exit();while(r){e=r.fn,r=r.next;try{e()}catch(n){throw r?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,i)}):s=v?function(){b.nextTick(i)}:function(){h.call(f,i)}:(a=!0,l=y.createTextNode(""),new m(i).observe(l,{characterData:!0}),s=function(){l.data=a=!a})),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,s()),o=e}},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("5135"),s=n("90e3"),a=n("4930"),l=n("fdbf"),c=r("wks"),u=i.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 i=n("23e7"),r=n("7b0b"),o=n("df75"),s=n("d039"),a=s((function(){o(1)}));i({target:"Object",stat:!0,forced:a},{keys:function(t){return o(r(t))}})},b727:function(t,e,n){var i=n("0366"),r=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),S=r(x),w=i(p,v,3),O=s(S.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 S)&&(y=S[I],b=w(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 i=n("861d");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;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 i=n("da84"),r=n("ce4e"),o="__core-js_shared__",s=i[o]||r(o,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("5135"),r=n("fc6a"),o=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=r(t),l=0,c=[];for(n in a)!i(s,n)&&i(a,n)&&c.push(n);while(e.length>l)i(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},cdf9:function(t,e,n){var i=n("825a"),r=n("861d"),o=n("f069");t.exports=function(t,e){if(i(t),r(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 i=n("da84"),r=n("9112");t.exports=function(t,e){try{r(i,t,e)}catch(n){i[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 i=n("428f"),r=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d28b:function(t,e,n){var i=n("746f");i("iterator")},d2bb:function(t,e,n){var i=n("825a"),r=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 i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var i=n("00ee"),r=n("6eeb"),o=n("b041");i||r(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,r=n("5135"),o=n("b622"),s=o("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var i=n("6eeb"),r=n("d039"),o=n("b622"),s=n("9112"),a=o("species"),l=!r((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=!r((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=!r((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=g&&!r((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,i,r){return e.exec===RegExp.prototype.exec?g&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=m[0],b=m[1];i(String.prototype,t,y),i(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 i=n("23e7"),r=n("b727").map,o=n("1dde"),s=o("map");i({target:"Array",proto:!0,forced:!s},{map:function(t){return r(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 i=n("23e7"),r=n("83ab"),o=n("56ef"),s=n("fc6a"),a=n("06cf"),l=n("8418");i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){var e,n,i=s(t),r=a.f,c=o(i),u={},f=0;while(c.length>f)n=r(i,e=c[f++]),void 0!==n&&l(u,e,n);return u}})},ddb0:function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("e260"),s=n("9112"),a=n("b622"),l=a("iterator"),c=a("toStringTag"),u=o.values;for(var f in r){var d=i[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),r[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 i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},e01a:function(t,e,n){"use strict";var i=n("23e7"),r=n("83ab"),o=n("da84"),s=n("5135"),a=n("861d"),l=n("9bf2").f,c=n("e893"),u=o.Symbol;if(r&&"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}}),i({global:!0,forced:!0},{Symbol:d})}},e163:function(t,e,n){var i=n("5135"),r=n("7b0b"),o=n("f772"),s=n("e177"),a=o("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=r(t),i(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 i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),r=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:i(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e2cc:function(t,e,n){var i=n("6eeb");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},e439:function(t,e,n){var i=n("23e7"),r=n("d039"),o=n("fc6a"),s=n("06cf").f,a=n("83ab"),l=r((function(){s(1)})),c=!a||l;i({target:"Object",stat:!0,forced:c,sham:!a},{getOwnPropertyDescriptor:function(t,e){return s(o(t),e)}})},e538:function(t,e,n){var i=n("b622");e.f=i},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 i,r,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"),S=n("1c7e"),w=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"),M=n("2d00"),L=_("species"),D="Promise",R=j.get,F=j.set,z=j.getterFor(D),G=f,B=c.TypeError,N=c.document,$=c.process,H=u("fetch"),V=k.f,U=V,W=!!(N&&N.createEvent&&c.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,X="unhandledrejection",q="rejectionhandled",K=0,J=1,Z=2,Q=1,tt=2,et=P(D,(function(){var t=b(G)!==String(G);if(!t){if(66===M)return!0;if(!A&&!Y)return!0}if(l&&!G.prototype["finally"])return!0;if(M>=51&&/native code/.test(G))return!1;var e=G.resolve(1),n=function(t){t((function(){}),(function(){}))},i=e.constructor={};return i[L]=n,!(e.then((function(){}))instanceof n)})),nt=et||!S((function(t){G.all(t)["catch"]((function(){}))})),it=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},rt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;I((function(){var i=t.value,r=t.state==J,o=0;while(n.length>o){var s,a,l,c=n[o++],u=r?c.ok:c.fail,f=c.resolve,d=c.reject,h=c.domain;try{u?(r||(t.rejection===tt&<(t),t.rejection=Q),!0===u?s=i:(h&&h.enter(),s=u(i),h&&(h.exit(),l=!0)),s===c.promise?d(B("Promise-chain cycle")):(a=it(s))?a.call(s,f,d):f(s)):d(i)}catch(g){h&&!l&&h.exit(),d(g)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&st(t)}))}},ot=function(t,e,n){var i,r;W?(i=N.createEvent("Event"),i.promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!Y&&(r=c["on"+t])?r(i):t===X&&E("Unhandled promise rejection",n)},st=function(t){O.call(c,(function(){var e,n=t.facade,i=t.value,r=at(t);if(r&&(e=T((function(){A?$.emit("unhandledRejection",i,n):ot(X,n,i)})),t.rejection=A||at(t)?tt:Q,e.error))throw e.value}))},at=function(t){return t.rejection!==Q&&!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(i){t(e,i,n)}},ut=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=Z,rt(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 i=it(e);i?I((function(){var n={done:!1};try{i.call(e,ct(ft,n,t),ct(ut,n,t))}catch(r){ut(n,r,t)}})):(t.value=e,t.state=J,rt(t,!1))}catch(r){ut({done:!1},r,t)}}};et&&(G=function(t){y(this,G,D),m(t),i.call(this);var e=R(this);try{t(ct(ft,e),ct(ut,e))}catch(n){ut(e,n)}},i=function(t){F(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},i.prototype=h(G.prototype,{then:function(t,e){var n=z(this),i=V(w(this,G));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=A?$.domain:void 0,n.parent=!0,n.reactions.push(i),n.state!=K&&rt(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=R(t);this.promise=t,this.resolve=ct(ft,e),this.reject=ct(ut,e)},k.f=V=function(t){return t===G||t===o?new r(t):U(t)},l||"function"!=typeof f||(s=f.prototype.then,d(f.prototype,"then",(function(t,e){var n=this;return new G((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(G,H.apply(c,arguments))}}))),a({global:!0,wrap:!0,forced:et},{Promise:G}),g(G,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?G:this,t)}}),a({target:D,stat:!0,forced:nt},{all:function(t){var e=this,n=V(e),i=n.resolve,r=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||i(o))}),r)})),--a||i(o)}));return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=V(e),i=n.reject,r=T((function(){var r=m(e.resolve);x(t,(function(t){r.call(e,t).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},e893:function(t,e,n){var i=n("5135"),r=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=r(e),a=s.f,l=o.f,c=0;c<n.length;c++){var u=n[c];i(t,u)||a(t,u,l(e,u))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},e95a:function(t,e,n){var i=n("b622"),r=n("3f8c"),o=i("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t)}},f069:function(t,e,n){"use strict";var i=n("1c0b"),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},f5df:function(t,e,n){var i=n("00ee"),r=n("c6b6"),o=n("b622"),s=o("toStringTag"),a="Arguments"==r(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),s))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var i=window.document.currentScript,r=n("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var s=n("8bbf"),a={ref:"container",class:"lightgallery-vue"};function l(t,e,n,i,r,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 i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}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 S(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){return!e||"object"!==x()(e)&&"function"!==typeof e?S(t):e}function O(t){var e=y();return function(){var n,i=m(t);if(e){var r=m(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return w(this,n)}}n("fb6a"),n("ac1f"),n("1276");function I(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}
|
7 | function 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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}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 i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}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&&M(t,e)}function A(t){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},A(t)}function M(t,e){return M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},M(t,e)}function L(){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 F(t){var e=L();return function(){var n,i=A(t);if(e){var r=A(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return R(this,n)}}function z(t){return G(t)||B(t)||N(t)||H()}function G(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,i=new Array(e);n<e;n++)i[n]=t[n];return i}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 W(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function Y(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var X=function(){function t(e,n){var i=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(i,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,z(t))}},{key:"with",value:function(t){var e=new t,n={};Object.keys(e).forEach((function(t){var i=e[t];n[t]=null!==i&&void 0!==i?i:null}));var i=function(t){_(n,t);var e=F(n);function n(){return C(this,n),e.apply(this,arguments)}return n}(this);return i.__b={props:n},i}},{key:"__vccOpts",get:function(){if(this===q)return{};var t=this,e=Y(t,"__c");if(e)return e;var n=P({},Y(t,"__o"));t.__c=n;var i=W(t);i&&(n["extends"]=i.__vccOpts);var r=Y(t,"__b");r&&(n.mixins=n.mixins||[],n.mixins.unshift(r)),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 i=Object.getOwnPropertyDescriptor(o,e);"function"!==typeof i.value?(i.get||i.set)&&(n.computed[e]={get:i.get,set:i.set}):n.methods[e]=i.value}})),n.setup=function(e,n){var i,r=new t(e,n),o=Object.keys(r),a={},l=null;return o.forEach((function(t){void 0===r[t]||r[t]&&r[t].__s||(a[t]=Object(s["ref"])(r[t]),U(r,t,a))})),o.forEach((function(t){if(r[t]&&r[t].__s){var e=r[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!==(i=l)&&void 0!==i?i:a};var a=Y(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}();X.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var q=X;function K(t){return function(e){return e.__o=t,e}}n("99af"),n("7db0");var J={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",autoplay:"lgAutoplay",autoplayStart:"lgAutoplayStart",autoplayStop:"lgAutoplayStop"},Z={mode:"lg-slide",easing:"ease",speed:400,licenseKey:"0000-0000-000-0000",height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:300,container:"",startAnimationDuration:400,zoomFromOrigin:!0,hideBarsDelay:0,showBarsAfter:1e4,slideDelay:0,supportLegacyBrowser:!0,allowMediaOverlap:!1,videoMaxSize:"1280-720",loadYouTubePoster:!0,defaultCaptionHeight:0,ariaLabelledby:"",ariaDescribedby:"",resetScrollPosition:!0,hideScrollbar:!1,closable:!0,swipeToClose:!0,closeOnTap:!0,showCloseIcon:!0,showMaximizeIcon:!1,loop:!0,escKey:!0,keyPress:!0,trapFocus:!0,controls:!0,slideEndAnimation:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:2,numberOfSlideItemsInDom:10,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:0,iframeWidth:"100%",iframeHeight:"100%",iframeMaxWidth:"100%",iframeMaxHeight:"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:[],strings:{closeGallery:"Close gallery",toggleMaximize:"Toggle maximize",previousSlide:"Previous slide",nextSlide:"Next slide",download:"Download",playVideo:"Play video"}};function Q(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tt(t){if(Array.isArray(t))return Q(t)}n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function et(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}n("b0c0");function nt(t,e){if(t){if("string"===typeof t)return Q(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)?Q(t,e):void 0}}function it(){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 rt(t){return tt(t)||et(t)||nt(t)||it()}n("5319"),n("d81d"),n("a434"),n("466d"),n("e6cf"),n("25f0");function ot(){(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 st=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 i=e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()}));-1!==this.cssVenderPrefixes.indexOf(i)?(t.style[i.charAt(0).toLowerCase()+i.slice(1)]=n,t.style["webkit"+i]=n,t.style["moz"+i]=n,t.style["ms"+i]=n,t.style["o"+i]=n):t.style[i]=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 at(this._getSelector(t,this.selector))}},{key:"first",value:function(){return this.selector&&void 0!==this.selector.length?at(this.selector[0]):at(this.selector)}},{key:"eq",value:function(t){return at(this.selector[t])}},{key:"parent",value:function(){return at(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){t&&e.classList.add(t)}))})),this}},{key:"removeClass",value:function(t){return this._each((function(e){t.split(" ").forEach((function(t){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(i){n._setCssVendorPrefix(i,t,e)})),this}},{key:"on",value:function(e,n){var i=this;return this.selector?(e.split(" ").forEach((function(e){Array.isArray(t.eventListeners[e])||(t.eventListeners[e]=[]),t.eventListeners[e].push(n),i.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(i){n.isEventMatched(e,i)&&(t.eventListeners[i].forEach((function(t){n.selector.removeEventListener(i.split(".")[0],t)})),t.eventListeners[i]=[])})),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){return t.text()})).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=at("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 at(t){return ot(),new st(t)}st.eventListeners={};var lt=["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 ct(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 ut={getSize:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3?arguments[3]:void 0,r=at(t),o=r.attr("data-lg-size")||i;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,i,r){if(r){var o=at(t).find("img").first();if(o.get()){var s=e.get().getBoundingClientRect(),a=s.width,l=e.height()-(n+i),c=o.width(),u=o.height(),f=o.style(),d=(a-c)/2-o.offset().left+(parseFloat(f.paddingLeft)||0)+(parseFloat(f.borderLeft)||0)+at(window).scrollLeft()+s.left,h=(l-u)/2-o.offset().top+(parseFloat(f.paddingTop)||0)+(parseFloat(f.borderTop)||0)+at(window).scrollTop()+n,g=c/r.width,p=u/r.height,v="translate3d("+(d*=-1)+"px, "+(h*=-1)+"px, 0) scale3d("+g+", "+p+", 1)";return v}}},getIframeMarkup:function(t,e,n,i,r,o){var s=o?'title="'+o+'"':"";return'<div class="lg-video-cont lg-has-iframe" style="width:'.concat(t,"; max-width:").concat(n,"; height: ").concat(e,"; max-height:").concat(i,'">\n <iframe class="lg-object" frameborder="0" ').concat(s,' src="').concat(r,'" allowfullscreen="true"></iframe>\n </div>')},getImgMarkup:function(t,e,n,i,r,o){var s=i?'srcset="'.concat(i,'"'):"",a=r?'sizes="'.concat(r,'"'):"",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=[],i="",r=0;r<t.length;r++){var o=t[r].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){i=n[a];break}return i},isImageLoaded:function(t){return!!t&&(!!t.complete&&0!==t.naturalWidth)},getVideoPosterMarkup:function(t,e,n,i,r){var o="";return o=r&&r.youtube?"lg-has-youtube":r&&r.vimeo?"lg-has-vimeo":"lg-has-html5",'<div class="lg-video-cont '.concat(o,'" 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="').concat(i,'"\n role="img"\n class="lg-video-play-icon"\n >\n <title>').concat(i,'</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>')},getFocusableElements:function(t){var e=t.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),n=[].filter.call(e,(function(t){var e=window.getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}));return n},getDynamicOptions:function(t,e,n,i){var r=[],o=[].concat(lt,rt(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=ct(a.name),c="";o.indexOf(l)>-1&&(c=l),c&&(e[c]=a.value)}}var u=at(t),f=u.find("img").first().attr("alt"),d=u.attr("title"),h=i?u.attr(i):u.find("img").first().attr("src");e.thumb=h,n&&!e.subHtml&&(e.subHtml=d||f||""),e.alt=f||d||"",r.push(e)})),r},isMobile:function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},isVideo:function(t,e,n){if(!t)return e?{html5:!0}:void console.error("lightGallery :- data-src is not provided on slide item "+(n+1)+". Please make sure the selector property is properly configured. More info - https://www.lightgalleryjs.com/demos/html-markup/");var i=t.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)([\&|?][\S]*)*/i),r=t.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)(.*)?/i),o=t.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/([0-9a-z\-_]+)(.*)/);return i?{youtube:i}:r?{vimeo:r}:o?{wistia:o}:void 0}},ft=ut,dt=0,ht=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.bodyPaddingRight=0,this.isDummyImageRemoved=!1,this.dragOrSwipeEnabled=!1,this.mediaContainerPosition={top:0,bottom:0},!e)return this;if(dt++,this.lgId=dt,this.el=e,this.LGel=at(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({},Z),t),this.settings.isMobile&&"function"===typeof this.settings.isMobile?this.settings.isMobile():ft.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(J.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],i=at(n),r=st.generateUUID();i.attr("data-lg-id",r).on("click.lgcustom-item-".concat(r),(function(i){i.preventDefault();var r=t.settings.index||e;t.openGallery(r,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,at))}))}},{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 at(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 at("#".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="",i="";this.settings.controls&&(n='<button type="button" id="'.concat(this.getIdName("lg-prev"),'" aria-label="').concat(this.settings.strings["previousSlide"],'" class="lg-prev lg-icon"> ').concat(this.settings.prevHtml,' </button>\n <button type="button" id="').concat(this.getIdName("lg-next"),'" aria-label="').concat(this.settings.strings["nextSlide"],'" class="lg-next lg-icon"> ').concat(this.settings.nextHtml," </button>")),".lg-item"!==this.settings.appendSubHtmlTo&&(i='<div class="lg-sub-html" role="status" aria-live="polite"></div>');var r="";this.settings.allowMediaOverlap&&(r+="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="'.concat(this.settings.strings["closeGallery"],'" id="').concat(this.getIdName("lg-close"),'" class="lg-close lg-icon"></button>'):"",c=this.settings.showMaximizeIcon?'<button type="button" aria-label="'.concat(this.settings.strings["toggleMaximize"],'" 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(r,' ">\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?i:"",'\n <div id="').concat(this.getIdName("lg-components"),'" class="lg-components">\n ').concat(".lg-sub-html"===this.settings.appendSubHtmlTo?i:"","\n </div>\n </div>\n </div>\n ");at(this.settings.container).append(u),document.body!==this.settings.container&&at(this.settings.container).css("position","relative"),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.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="').concat(this.settings.strings["download"],'" download class="lg-download lg-icon"></a>')),this.counter(),at(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,i=n.top,r=n.bottom;if(this.currentImageSize=ft.getSize(this.items[this.index],this.outer,i+r,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(J.containerResize)}}},{key:"resizeVideoSlide",value:function(t,e){var n=this.getVideoContStyle(e),i=this.getSlideItem(t);i.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 i=0;this.galleryItems.some((function(t,e){return t.src===n&&(i=e,!0)})),this.currentItemsInDom=this.organizeSlideItems(i,-1),this.loadContent(i,!0),this.getSlideItem(i).addClass("lg-current"),this.index=i,this.updateCurrentCounter(i),this.LGel.trigger(J.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=at(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 ft.getDynamicOptions(this.items,this.settings.extraProps,this.settings.getCaptionFromTitleOrAlt,this.settings.exThumbImage)}},{key:"shouldHideScrollbar",value:function(){return this.settings.hideScrollbar&&document.body===this.settings.container}},{key:"hideScrollbar",value:function(){if(this.shouldHideScrollbar()){this.bodyPaddingRight=parseFloat(at("body").style().paddingRight);var t=document.documentElement.getBoundingClientRect(),e=window.innerWidth-t.width;at(document.body).css("padding-right",e+this.bodyPaddingRight+"px"),at(document.body).addClass("lg-overlay-open")}}},{key:"resetScrollBar",value:function(){this.shouldHideScrollbar()&&(at(document.body).css("padding-right",this.bodyPaddingRight+"px"),at(document.body).removeClass("lg-overlay-open"))}},{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.removeClass("lg-hide-items"),this.hideScrollbar(),this.$container.addClass("lg-show");var i=this.getItemsToBeInsertedToDom(e,e);this.currentItemsInDom=i;var r="";i.forEach((function(t){r+='<div id="'.concat(t,'" class="lg-item"></div>')})),this.$inner.append(r),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);var c=this.galleryItems[e].__slideVideoInfo;this.zoomFromOrigin&&n&&(this.currentImageSize=ft.getSize(n,this.outer,a+l,c&&this.settings.videoMaxSize),o=ft.getTransform(n,this.outer,a,l,this.currentImageSize)),this.zoomFromOrigin&&o||(this.outer.addClass(this.settings.startClass),this.getSlideItem(e).removeClass("lg-complete"));var u=this.settings.zoomFromOrigin?100:this.settings.backdropDuration;setTimeout((function(){t.outer.addClass("lg-components-open")}),u),this.index=e,this.LGel.trigger(J.beforeOpen),this.getSlideItem(e).addClass("lg-current"),this.lGalleryOn=!1,this.prevScrollTop=at(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),setTimeout((function(){t.settings.trapFocus&&document.body===t.settings.container&&t.trapFocus()}),t.settings.backdropDuration+50),t.zoomFromOrigin&&o||setTimeout((function(){t.outer.addClass("lg-visible")}),t.settings.backdropDuration),t.slide(e,!1,!1,!1),t.LGel.trigger(J.afterOpen)})),document.body===this.settings.container&&at("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,i=this.outer.find(".lg-thumb-outer").get(),r=i?i.clientHeight:0,o=r+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 i=e.substring(0,1);"."!==i&&"#"!==i||(e=this.settings.subHtmlSelectorRelative&&!this.settings.dynamic?at(this.items).eq(t).find(e).first().html():at(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 r=at(this.getSlideItemId(t));n?r.load(n):r.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(J.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 i;if(this.settings.dynamic||(i=at(this.items).eq(e)),i){var r;if(r=this.settings.exThumbImage?i.attr(this.settings.exThumbImage):i.find("img").first().attr("src"),!r)return"";var o=this.getDummyImgStyles(this.currentImageSize),s="<img ".concat(n,' style="').concat(o,'" class="lg-dummy-img" src="').concat(r,'" />');return t.addClass("lg-first-slide"),this.outer.addClass("lg-first-slide-loading"),s}return""}},{key:"setImgMarkup",value:function(t,e,n){var i=this.galleryItems[n],r=i.alt,o=i.srcset,s=i.sizes,a=i.sources,l="",c=r?'alt="'+r+'"':"";l=this.isFirstSlideWithZoomAnimation()?this.getDummyImageContent(e,n,c):ft.getImgMarkup(n,t,c,o,s,a);var u='<picture class="lg-img-wrap"> '.concat(l,"</picture>");e.prepend(u)}},{key:"onSlideObjectLoad",value:function(t,e,n,i){var r=t.find(".lg-object").first();ft.isImageLoaded(r.get())||e?n():(r.on("load.lg error.lg",(function(){n&&n()})),r.on("error.lg",(function(){i&&i()})))}},{key:"onLgObjectLoad",value:function(t,e,n,i,r,o){var s=this;this.onSlideObjectLoad(t,o,(function(){s.triggerSlideItemLoad(t,e,n,i,r)}),(function(){t.addClass("lg-complete lg-complete_"),t.html('<span class="lg-error-msg">Oops... Failed to load content...</span>')}))}},{key:"triggerSlideItemLoad",value:function(t,e,n,i,r){var o=this,s=this.galleryItems[e],a=r&&"video"===this.getSlideType(s)&&!s.poster?i:0;setTimeout((function(){t.addClass("lg-complete lg-complete_"),o.LGel.trigger(J.slideItemLoad,{index:e,delay:n||0,isFirstSlide:r})}),a)}},{key:"isFirstSlideWithZoomAnimation",value:function(){return!(this.lGalleryOn||!this.zoomFromOrigin||!this.currentImageSize)}},{key:"addSlideVideoInfo",value:function(t){var e=this;t.forEach((function(t,n){t.__slideVideoInfo=ft.isVideo(t.src,!!t.video,n),t.__slideVideoInfo&&e.settings.loadYouTubePoster&&!t.poster&&t.__slideVideoInfo.youtube&&(t.poster="//img.youtube.com/vi/".concat(t.__slideVideoInfo.youtube[1],"/maxresdefault.jpg"))}))}},{key:"loadContent",value:function(t,e){var n=this,i=this.galleryItems[t],r=at(this.getSlideItemId(t)),o=i.poster,s=i.srcset,a=i.sizes,l=i.sources,c=i.src,u=i.video,f=u&&"string"===typeof u?JSON.parse(u):u;if(i.responsive){var d=i.responsive.split(",");c=ft.getResponsiveSrc(d)||c}var h=i.__slideVideoInfo,g="",p=!!i.iframe,v=!this.lGalleryOn,m=0;if(v&&(m=this.zoomFromOrigin&&this.currentImageSize?this.settings.startAnimationDuration+10:this.settings.backdropDuration+10),!r.hasClass("lg-loaded")){if(h){var y=this.mediaContainerPosition,b=y.top,x=y.bottom,S=ft.getSize(this.items[t],this.outer,b+x,h&&this.settings.videoMaxSize);g=this.getVideoContStyle(S)}if(p){var w=ft.getIframeMarkup(this.settings.iframeWidth,this.settings.iframeHeight,this.settings.iframeMaxWidth,this.settings.iframeMaxHeight,c,i.iframeTitle);r.prepend(w)}else if(o){var O="",I=v&&this.zoomFromOrigin&&this.currentImageSize;I&&(O=this.getDummyImageContent(r,t,""));var C=ft.getVideoPosterMarkup(o,O||"",g,this.settings.strings["playVideo"],h);r.prepend(C)}else if(h){var E='<div class="lg-video-cont " style="'.concat(g,'"></div>');r.prepend(E)}else if(this.setImgMarkup(c,r,t),s||l){var k=r.find(".lg-object");this.initPictureFill(k)}(o||h)&&this.LGel.trigger(J.hasVideo,{index:t,src:c,html5Video:f,hasPoster:!!o}),this.LGel.trigger(J.afterAppendSlide,{index:t}),this.lGalleryOn&&".lg-item"===this.settings.appendSubHtmlTo&&this.addHtml(t)}var T=0;m&&!at(document.body).hasClass("lg-from-hash")&&(T=m),this.isFirstSlideWithZoomAnimation()&&(setTimeout((function(){r.removeClass("lg-start-end-progress lg-start-progress").removeAttr("style")}),this.settings.startAnimationDuration+100),r.hasClass("lg-loaded")||setTimeout((function(){if("image"===n.getSlideType(i)){var e=i.alt,u=e?'alt="'+e+'"':"";if(r.find(".lg-img-wrap").append(ft.getImgMarkup(t,c,u,s,a,i.sources)),s||l){var f=r.find(".lg-object");n.initPictureFill(f)}}("image"===n.getSlideType(i)||"video"===n.getSlideType(i)&&o)&&(n.onLgObjectLoad(r,t,m,T,!0,!1),n.onSlideObjectLoad(r,!(!h||!h.html5||o),(function(){n.loadContentOnFirstSlideLoad(t,r,T)}),(function(){n.loadContentOnFirstSlideLoad(t,r,T)})))}),this.settings.startAnimationDuration+100)),r.addClass("lg-loaded"),this.isFirstSlideWithZoomAnimation()&&("video"!==this.getSlideType(i)||o)||this.onLgObjectLoad(r,t,m,T,v,!(!h||!h.html5||o)),this.zoomFromOrigin&&this.currentImageSize||!r.hasClass("lg-complete_")||this.lGalleryOn||setTimeout((function(){r.addClass("lg-complete")}),this.settings.backdropDuration),this.lGalleryOn=!0,!0===e&&(r.hasClass("lg-complete_")?this.preload(t):r.find(".lg-object").first().on("load.lg error.lg",(function(){n.preload(t)})))}},{key:"loadContentOnFirstSlideLoad",value:function(t,e,n){var i=this;setTimeout((function(){e.find(".lg-dummy-img").remove(),e.removeClass("lg-first-slide"),i.outer.removeClass("lg-first-slide-loading"),i.isDummyImageRemoved=!0,i.preload(t)}),n+300)}},{key:"getItemsToBeInsertedToDom",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[],o=Math.max(i,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){r.push("lg-item-".concat(n.lgId,"-").concat(e))})),r;if(t<(this.galleryItems.length-1)/2){for(var a=t;a>t-o/2&&a>=0;a--)r.push("lg-item-".concat(this.lgId,"-").concat(a));for(var l=r.length,c=0;c<o-l;c++)r.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++)r.push("lg-item-".concat(this.lgId,"-").concat(u));for(var f=r.length,d=0;d<o-f;d++)r.push("lg-item-".concat(this.lgId,"-").concat(t-d-1))}return this.settings.loop&&(t===this.galleryItems.length-1?r.push("lg-item-".concat(this.lgId,"-",0)):0===t&&r.push("lg-item-".concat(this.lgId,"-").concat(this.galleryItems.length-1))),-1===r.indexOf(s)&&r.push("lg-item-".concat(this.lgId,"-").concat(e)),r}},{key:"organizeSlideItems",value:function(t,e){var n=this,i=this.getItemsToBeInsertedToDom(t,e,this.settings.numberOfSlideItemsInDom);return i.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===i.indexOf(t)&&at("#".concat(t)).remove()})),i}},{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 i=this.getElementById("lg-download");this.outer.removeClass("lg-hide-download"),i.attr("href",e.downloadUrl||e.src),e.download&&i.attr("download",e.download)}}}},{key:"makeSlideAnimation",value:function(t,e,n){var i=this;this.lGalleryOn&&n.addClass("lg-slide-progress"),setTimeout((function(){i.outer.addClass("lg-no-trans"),i.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(){i.outer.find(".lg-item").removeClass("lg-current"),e.addClass("lg-current"),i.outer.removeClass("lg-no-trans")}),50)}),this.lGalleryOn?this.settings.slideDelay:0)}},{key:"slide",value:function(t,e,n,i){var r=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=ft.getSize(this.items[t],this.outer,g+p,d&&this.settings.videoMaxSize);this.resizeVideoSlide(t,v)}if(this.LGel.trigger(J.beforeSlide,{prevIndex:o,index:t,fromTouch:!!e,fromThumb:!!n}),this.lgBusy=!0,clearTimeout(this.hideBarTimeout),this.arrowDisable(t),i||(t<o?i="prev":t>o&&(i="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"===i?this.getSlideItem(l).addClass("lg-next-slide"):this.getSlideItem(a).addClass("lg-prev-slide"),c.addClass("lg-current");else this.makeSlideAnimation(i,c,u);this.lGalleryOn?setTimeout((function(){r.loadContent(t,!0),".lg-item"!==r.settings.appendSubHtmlTo&&r.addHtml(t)}),this.settings.speed+50+(e?0:this.settings.slideDelay)):this.loadContent(t,!0),setTimeout((function(){r.lgBusy=!1,u.removeClass("lg-slide-progress"),r.LGel.trigger(J.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 i=e.pageX-t.pageX,r=e.pageY-t.pageY,o=!1;if(this.swipeDirection?o=!0:Math.abs(i)>15?(this.swipeDirection="horizontal",o=!0):Math.abs(r)>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,i,0);var a=s.get().offsetWidth,l=15*a/100,c=l-Math.abs(10*i/100);this.setTranslate(this.outer.find(".lg-prev-slide").first(),-a+i-c,0),this.setTranslate(this.outer.find(".lg-next-slide").first(),a+i+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(r)/window.innerHeight;this.$backdrop.css("opacity",u);var f=1-Math.abs(r)/(2*window.innerWidth);this.setTranslate(s,0,r,f,f),Math.abs(r)>100&&this.outer.addClass("lg-hide-items").removeClass("lg-components-open")}}}},{key:"touchEnd",value:function(t,e,n){var i,r=this;"lg-slide"!==this.settings.mode&&this.outer.addClass("lg-slide"),setTimeout((function(){r.$container.removeClass("lg-dragging-vertical"),r.outer.removeClass("lg-dragging lg-hide-items").addClass("lg-components-open");var o=!0;if("horizontal"===r.swipeDirection){i=t.pageX-e.pageX;var s=Math.abs(t.pageX-e.pageX);i<0&&s>r.settings.swipeThreshold?(r.goToNextSlide(!0),o=!1):i>0&&s>r.settings.swipeThreshold&&(r.goToPrevSlide(!0),o=!1)}else if("vertical"===r.swipeDirection){if(i=Math.abs(t.pageY-e.pageY),r.settings.closable&&r.settings.swipeToClose&&i>100)return void r.closeGallery();r.$backdrop.css("opacity",1)}if(r.outer.find(".lg-item").removeAttr("style"),o&&Math.abs(t.pageX-e.pageX)<5){var a=at(n.target);r.isPosterElement(a)&&r.LGel.trigger(J.posterClick)}r.swipeDirection=void 0})),setTimeout((function(){r.outer.hasClass("lg-dragging")||"lg-slide"===r.settings.mode||r.outer.removeClass("lg-slide")}),this.settings.speed+100)}},{key:"enableSwipe",value:function(){var t=this,e={},n={},i=!1,r=!1;this.settings.enableSwipe&&(this.$inner.on("touchstart.lg",(function(n){t.dragOrSwipeEnabled=!0;var i=t.getSlideItem(t.index);!at(n.target).hasClass("lg-item")&&!i.get().contains(n.target)||t.outer.hasClass("lg-zoomed")||t.lgBusy||1!==n.touches.length||(r=!0,t.touchAction="swipe",t.manageSwipeClass(),e={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY})})),this.$inner.on("touchmove.lg",(function(o){r&&"swipe"===t.touchAction&&1===o.touches.length&&(n={pageX:o.touches[0].pageX,pageY:o.touches[0].pageY},t.touchMove(e,n,o),i=!0)})),this.$inner.on("touchend.lg",(function(o){if("swipe"===t.touchAction){if(i)i=!1,t.touchEnd(n,e,o);else if(r){var s=at(o.target);t.isPosterElement(s)&&t.LGel.trigger(J.posterClick)}t.touchAction=void 0,r=!1}})))}},{key:"enableDrag",value:function(){var t=this,e={},n={},i=!1,r=!1;this.settings.enableDrag&&(this.outer.on("mousedown.lg",(function(n){t.dragOrSwipeEnabled=!0;var r=t.getSlideItem(t.index);(at(n.target).hasClass("lg-item")||r.get().contains(n.target))&&(t.outer.hasClass("lg-zoomed")||t.lgBusy||(n.preventDefault(),t.lgBusy||(t.manageSwipeClass(),e={pageX:n.pageX,pageY:n.pageY},i=!0,t.outer.get().scrollLeft+=1,t.outer.get().scrollLeft-=1,t.outer.removeClass("lg-grab").addClass("lg-grabbing"),t.LGel.trigger(J.dragStart))))})),at(window).on("mousemove.lg.global".concat(this.lgId),(function(o){i&&t.lgOpened&&(r=!0,n={pageX:o.pageX,pageY:o.pageY},t.touchMove(e,n),t.LGel.trigger(J.dragMove))})),at(window).on("mouseup.lg.global".concat(this.lgId),(function(o){if(t.lgOpened){var s=at(o.target);r?(r=!1,t.touchEnd(n,e,o),t.LGel.trigger(J.dragEnd)):t.isPosterElement(s)&&t.LGel.trigger(J.posterClick),i&&(i=!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(at(e.target))&&t.LGel.trigger(J.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(J.beforeNextSlide,{index:this.index}),this.slide(this.index,!!t,!1,"next")):n?(this.index=0,this.LGel.trigger(J.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(J.beforePrevSlide,{index:this.index,fromTouch:t}),this.slide(this.index,!!t,!1,"prev")):n?(this.index=this.galleryItems.length-1,this.LGel.trigger(J.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;at(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 i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;t.css("transform","translate3d("+e+"px, "+n+"px, 0px) scale3d("+i+", "+r+", 1)")}},{key:"mousewheel",value:function(){var t=this,e=0;this.outer.on("wheel.lg",(function(n){if(n.deltaY&&!(t.galleryItems.length<2)){n.preventDefault();var i=(new Date).getTime();i-e<1e3||(e=i,n.deltaY>0?t.goToNextSlide():n.deltaY<0&&t.goToPrevSlide())}}))}},{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=at(e);n.off("click.lgcustom-item-".concat(n.attr("data-lg-id")))}}},{key:"trapFocus",value:function(){var t=this;this.$container.get().focus({preventScroll:!0}),at(window).on("keydown.lg.global".concat(this.lgId),(function(e){if(t.lgOpened){var n="Tab"===e.key||9===e.keyCode;if(n){var i=ft.getFocusableElements(t.$container.get()),r=i[0],o=i[i.length-1];e.shiftKey?document.activeElement===r&&(o.focus(),e.preventDefault()):document.activeElement===o&&(r.focus(),e.preventDefault())}}}))}},{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 i=at(n.target);e=!!t.isSlideElement(i)})),this.outer.on("mousemove.lg",(function(){e=!1})),this.outer.on("mouseup.lg",(function(n){var i=at(n.target);t.isSlideElement(i)&&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(J.beforeClose),this.settings.resetScrollPosition&&!this.settings.hideScrollbar&&at(window).scrollTop(this.prevScrollTop);var n,i=this.items[this.index];if(this.zoomFromOrigin&&i){var r=this.mediaContainerPosition,o=r.top,s=r.bottom,a=this.galleryItems[this.index],l=a.__slideVideoInfo,c=a.poster,u=ft.getSize(i,this.outer,o+s,l&&c&&this.settings.videoMaxSize);n=ft.getTransform(i,this.outer,o,s,u)}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,at("html").removeClass("lg-on"),this.outer.removeClass("lg-visible lg-components-open"),this.$backdrop.removeClass("in").css("opacity",0);var f=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.resetScrollBar(),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(J.afterClose,{instance:e}),e.$container.get()&&e.$container.get().blur(),e.lgOpened=!1}),f+100),f+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(J.updateSlides)}},{key:"updateControls",value:function(){this.addSlideVideoInfo(this.galleryItems),this.updateCounterTotal(),this.manageSingleSlideClassName()}},{key:"destroyGallery",value:function(){this.destroyModules(!0),this.settings.dynamic||this.invalidateItems(),at(window).off(".lg.global".concat(this.lgId)),this.LGel.off(".lg"),this.$container.remove()}},{key:"destroy",value:function(){var t=this.closeGallery(!0);return t?setTimeout(this.destroyGallery.bind(this),t):this.destroyGallery(),t}}]),t}();function gt(t,e){return new ht(t,e)}var pt=gt,vt=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=pt(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(J).forEach((function(e){t.$refs.container.addEventListener(J[e].split(".")[0],(function(n){t[t.getMethodName(e)]&&t[t.getMethodName.call(t,e)](n.detail)}))}))}}]),n}(q);vt=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},onRotateLeft:{type:Function},onRotateRight:{type:Function},onFlipHorizontal:{type:Function},onFlipVertical:{type:Function}}})],vt);var mt=vt;mt.render=l;var yt=mt;e["default"]=yt},fb6a:function(t,e,n){"use strict";var i=n("23e7"),r=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;i({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,i,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)?r(n)&&(n=n[h],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return g.call(f,v,m);for(i=new(void 0===n?Array:n)(p(m-v,0)),u=0;v<m;v++,u++)v in f&&c(i,u,f[v]);return i.length=u,i}})},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(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 i=n("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var i=n("da84");t.exports=i.Promise}})["default"]}));
|