UNPKG

slider-pro-js

Version:

Modular JavaScript slider that is dependency-free, rich-featured, flexible and easy to use

1 lines 120 kB
(()=>{"use strict";var t={34:(t,e,i)=>{var s=i(4901);t.exports=function(t){return"object"==typeof t?null!==t:s(t)}},81:(t,e,i)=>{var s=i(9565),n=i(9306),r=i(8551),l=i(6823),a=i(851),h=TypeError;t.exports=function(t,e){var i=arguments.length<2?a(t):e;if(n(i))return r(s(i,t));throw new h(l(t)+" is not iterable")}},116:(t,e,i)=>{var s=i(6518),n=i(9565),r=i(2652),l=i(9306),a=i(8551),h=i(1767),o=i(9539),d=i(4549)("find",TypeError);s({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(t){a(this);try{l(t)}catch(t){o(this,"throw",t)}if(d)return n(d,this,t);var e=h(this),i=0;return r(e,function(e,s){if(t(e,i++))return s(e)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:(t,e,i)=>{var s=i(9504),n=i(9039),r=i(4901),l=i(9297),a=i(3724),h=i(350).CONFIGURABLE,o=i(3706),d=i(1181),u=d.enforce,c=d.get,m=String,p=Object.defineProperty,g=s("".slice),E=s("".replace),v=s([].join),y=a&&!n(function(){return 8!==p(function(){},"length",{value:8}).length}),f=String(String).split("String"),b=t.exports=function(t,e,i){"Symbol("===g(m(e),0,7)&&(e="["+E(m(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!l(t,"name")||h&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),y&&i&&l(i,"arity")&&t.length!==i.arity&&p(t,"length",{value:i.arity});try{i&&l(i,"constructor")&&i.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var s=u(t);return l(s,"source")||(s.source=v(f,"string"==typeof e?e:"")),t};Function.prototype.toString=b(function(){return r(this)&&c(this).source||o(this)},"toString")},350:(t,e,i)=>{var s=i(3724),n=i(9297),r=Function.prototype,l=s&&Object.getOwnPropertyDescriptor,a=n(r,"name"),h=a&&"something"===function(){}.name,o=a&&(!s||s&&l(r,"name").configurable);t.exports={EXISTS:a,PROPER:h,CONFIGURABLE:o}},397:(t,e,i)=>{var s=i(7751);t.exports=s("document","documentElement")},421:t=>{t.exports={}},616:(t,e,i)=>{var s=i(9039);t.exports=!s(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},684:t=>{t.exports=function(t,e){var i="function"==typeof Iterator&&Iterator.prototype[t];if(i)try{i.call({next:null},e).next()}catch(t){return!0}}},741:t=>{var e=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var s=+t;return(s>0?i:e)(s)}},757:(t,e,i)=>{var s=i(7751),n=i(4901),r=i(1625),l=i(7040),a=Object;t.exports=l?function(t){return"symbol"==typeof t}:function(t){var e=s("Symbol");return n(e)&&r(e.prototype,a(t))}},851:(t,e,i)=>{var s=i(6955),n=i(5966),r=i(4117),l=i(6269),a=i(8227)("iterator");t.exports=function(t){if(!r(t))return n(t,a)||n(t,"@@iterator")||l[s(t)]}},1072:(t,e,i)=>{var s=i(1828),n=i(8727);t.exports=Object.keys||function(t){return s(t,n)}},1181:(t,e,i)=>{var s,n,r,l=i(8622),a=i(4576),h=i(34),o=i(6699),d=i(9297),u=i(7629),c=i(6119),m=i(421),p="Object already initialized",g=a.TypeError,E=a.WeakMap;if(l||u.state){var v=u.state||(u.state=new E);v.get=v.get,v.has=v.has,v.set=v.set,s=function(t,e){if(v.has(t))throw new g(p);return e.facade=t,v.set(t,e),e},n=function(t){return v.get(t)||{}},r=function(t){return v.has(t)}}else{var y=c("state");m[y]=!0,s=function(t,e){if(d(t,y))throw new g(p);return e.facade=t,o(t,y,e),e},n=function(t){return d(t,y)?t[y]:{}},r=function(t){return d(t,y)}}t.exports={set:s,get:n,has:r,enforce:function(t){return r(t)?n(t):s(t,{})},getterFor:function(t){return function(e){var i;if(!h(e)||(i=n(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return i}}}},1291:(t,e,i)=>{var s=i(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:s(e)}},1385:(t,e,i)=>{var s=i(9539);t.exports=function(t,e,i){for(var n=t.length-1;n>=0;n--)if(void 0!==t[n])try{i=s(t[n].iterator,e,i)}catch(t){e="throw",i=t}if("throw"===e)throw i;return i}},1625:(t,e,i)=>{var s=i(9504);t.exports=s({}.isPrototypeOf)},1767:t=>{t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},1828:(t,e,i)=>{var s=i(9504),n=i(9297),r=i(5397),l=i(9617).indexOf,a=i(421),h=s([].push);t.exports=function(t,e){var i,s=r(t),o=0,d=[];for(i in s)!n(a,i)&&n(s,i)&&h(d,i);for(;e.length>o;)n(s,i=e[o++])&&(~l(d,i)||h(d,i));return d}},2140:(t,e,i)=>{var s={};s[i(8227)("toStringTag")]="z",t.exports="[object z]"===String(s)},2195:(t,e,i)=>{var s=i(9504),n=s({}.toString),r=s("".slice);t.exports=function(t){return r(n(t),8,-1)}},2211:(t,e,i)=>{var s=i(9039);t.exports=!s(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2360:(t,e,i)=>{var s,n=i(8551),r=i(6801),l=i(8727),a=i(421),h=i(397),o=i(4055),d=i(6119),u="prototype",c="script",m=d("IE_PROTO"),p=function(){},g=function(t){return"<"+c+">"+t+"</"+c+">"},E=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{s=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;v="undefined"!=typeof document?document.domain&&s?E(s):(e=o("iframe"),i="java"+c+":",e.style.display="none",h.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):E(s);for(var n=l.length;n--;)delete v[u][l[n]];return v()};a[m]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(p[u]=n(t),i=new p,p[u]=null,i[m]=t):i=v(),void 0===e?i:r.f(i,e)}},2489:(t,e,i)=>{var s=i(6518),n=i(9565),r=i(9306),l=i(8551),a=i(1767),h=i(9462),o=i(6319),d=i(6395),u=i(9539),c=i(684),m=i(4549),p=!d&&!c("filter",function(){}),g=!d&&!p&&m("filter",TypeError),E=d||p||g,v=h(function(){for(var t,e,i=this.iterator,s=this.predicate,r=this.next;;){if(t=l(n(r,i)),this.done=!!t.done)return;if(e=t.value,o(i,s,[e,this.counter++],!0))return e}});s({target:"Iterator",proto:!0,real:!0,forced:E},{filter:function(t){l(this);try{r(t)}catch(t){u(this,"throw",t)}return g?n(g,this,t):new v(a(this),{predicate:t})}})},2529:t=>{t.exports=function(t,e){return{value:t,done:e}}},2577:(t,e,i)=>{i(116)},2652:(t,e,i)=>{var s=i(6080),n=i(9565),r=i(8551),l=i(6823),a=i(4209),h=i(6198),o=i(1625),d=i(81),u=i(851),c=i(9539),m=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,i){var E,v,y,f,b,S,w,L=i&&i.that,x=!(!i||!i.AS_ENTRIES),I=!(!i||!i.IS_RECORD),A=!(!i||!i.IS_ITERATOR),C=!(!i||!i.INTERRUPTED),z=s(e,L),T=function(t){return E&&c(E,"normal"),new p(!0,t)},H=function(t){return x?(r(t),C?z(t[0],t[1],T):z(t[0],t[1])):C?z(t,T):z(t)};if(I)E=t.iterator;else if(A)E=t;else{if(!(v=u(t)))throw new m(l(t)+" is not iterable");if(a(v)){for(y=0,f=h(t);f>y;y++)if((b=H(t[y]))&&o(g,b))return b;return new p(!1)}E=d(t,v)}for(S=I?t.next:E.next;!(w=n(S,E)).done;){try{b=H(w.value)}catch(t){c(E,"throw",t)}if("object"==typeof b&&b&&o(g,b))return b}return new p(!1)}},2777:(t,e,i)=>{var s=i(9565),n=i(34),r=i(757),l=i(5966),a=i(4270),h=i(8227),o=TypeError,d=h("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,h=l(t,d);if(h){if(void 0===e&&(e="default"),i=s(h,t,e),!n(i)||r(i))return i;throw new o("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},2787:(t,e,i)=>{var s=i(9297),n=i(4901),r=i(8981),l=i(6119),a=i(2211),h=l("IE_PROTO"),o=Object,d=o.prototype;t.exports=a?o.getPrototypeOf:function(t){var e=r(t);if(s(e,h))return e[h];var i=e.constructor;return n(i)&&e instanceof i?i.prototype:e instanceof o?d:null}},2796:(t,e,i)=>{var s=i(9039),n=i(4901),r=/#|\.prototype\./,l=function(t,e){var i=h[a(t)];return i===d||i!==o&&(n(e)?s(e):!!e)},a=l.normalize=function(t){return String(t).replace(r,".").toLowerCase()},h=l.data={},o=l.NATIVE="N",d=l.POLYFILL="P";t.exports=l},2839:(t,e,i)=>{var s=i(4576).navigator,n=s&&s.userAgent;t.exports=n?String(n):""},3392:(t,e,i)=>{var s=i(9504),n=0,r=Math.random(),l=s(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+l(++n+r,36)}},3706:(t,e,i)=>{var s=i(9504),n=i(4901),r=i(7629),l=s(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return l(t)}),t.exports=r.inspectSource},3717:(t,e)=>{e.f=Object.getOwnPropertySymbols},3724:(t,e,i)=>{var s=i(9039);t.exports=!s(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},3949:(t,e,i)=>{i(7588)},4055:(t,e,i)=>{var s=i(4576),n=i(34),r=s.document,l=n(r)&&n(r.createElement);t.exports=function(t){return l?r.createElement(t):{}}},4117:t=>{t.exports=function(t){return null==t}},4209:(t,e,i)=>{var s=i(8227),n=i(6269),r=s("iterator"),l=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||l[r]===t)}},4270:(t,e,i)=>{var s=i(9565),n=i(4901),r=i(34),l=TypeError;t.exports=function(t,e){var i,a;if("string"===e&&n(i=t.toString)&&!r(a=s(i,t)))return a;if(n(i=t.valueOf)&&!r(a=s(i,t)))return a;if("string"!==e&&n(i=t.toString)&&!r(a=s(i,t)))return a;throw new l("Can't convert object to primitive value")}},4495:(t,e,i)=>{var s=i(9519),n=i(9039),r=i(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var t=Symbol("symbol detection");return!r(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&s&&s<41})},4520:(t,e,i)=>{i(2489)},4549:(t,e,i)=>{var s=i(4576);t.exports=function(t,e){var i=s.Iterator,n=i&&i.prototype,r=n&&n[t],l=!1;if(r)try{r.call({next:function(){return{done:!0}},return:function(){l=!0}},-1)}catch(t){t instanceof e||(l=!1)}if(!l)return r}},4576:function(t,e,i){var s=function(t){return t&&t.Math===Math&&t};t.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i.g&&i.g)||s("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4901:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},4913:(t,e,i)=>{var s=i(3724),n=i(5917),r=i(8686),l=i(8551),a=i(6969),h=TypeError,o=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";e.f=s?r?function(t,e,i){if(l(t),e=a(e),l(i),"function"==typeof t&&"prototype"===e&&"value"in i&&m in i&&!i[m]){var s=d(t,e);s&&s[m]&&(t[e]=i.value,i={configurable:c in i?i[c]:s[c],enumerable:u in i?i[u]:s[u],writable:!1})}return o(t,e,i)}:o:function(t,e,i){if(l(t),e=a(e),l(i),n)try{return o(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new h("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},5031:(t,e,i)=>{var s=i(7751),n=i(9504),r=i(8480),l=i(3717),a=i(8551),h=n([].concat);t.exports=s("Reflect","ownKeys")||function(t){var e=r.f(a(t)),i=l.f;return i?h(e,i(t)):e}},5397:(t,e,i)=>{var s=i(7055),n=i(7750);t.exports=function(t){return s(n(t))}},5610:(t,e,i)=>{var s=i(1291),n=Math.max,r=Math.min;t.exports=function(t,e){var i=s(t);return i<0?n(i+e,0):r(i,e)}},5745:(t,e,i)=>{var s=i(7629);t.exports=function(t,e){return s[t]||(s[t]=e||{})}},5917:(t,e,i)=>{var s=i(3724),n=i(9039),r=i(4055);t.exports=!s&&!n(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},5966:(t,e,i)=>{var s=i(9306),n=i(4117);t.exports=function(t,e){var i=t[e];return n(i)?void 0:s(i)}},6080:(t,e,i)=>{var s=i(7476),n=i(9306),r=i(616),l=s(s.bind);t.exports=function(t,e){return n(t),void 0===e?t:r?l(t,e):function(){return t.apply(e,arguments)}}},6119:(t,e,i)=>{var s=i(5745),n=i(3392),r=s("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},6198:(t,e,i)=>{var s=i(8014);t.exports=function(t){return s(t.length)}},6269:t=>{t.exports={}},6279:(t,e,i)=>{var s=i(6840);t.exports=function(t,e,i){for(var n in e)s(t,n,e[n],i);return t}},6319:(t,e,i)=>{var s=i(8551),n=i(9539);t.exports=function(t,e,i,r){try{return r?e(s(i)[0],i[1]):e(i)}catch(e){n(t,"throw",e)}}},6395:t=>{t.exports=!1},6518:(t,e,i)=>{var s=i(4576),n=i(7347).f,r=i(6699),l=i(6840),a=i(9433),h=i(7740),o=i(2796);t.exports=function(t,e){var i,d,u,c,m,p=t.target,g=t.global,E=t.stat;if(i=g?s:E?s[p]||a(p,{}):s[p]&&s[p].prototype)for(d in e){if(c=e[d],u=t.dontCallGetSet?(m=n(i,d))&&m.value:i[d],!o(g?d:p+(E?".":"#")+d,t.forced)&&void 0!==u){if(typeof c==typeof u)continue;h(c,u)}(t.sham||u&&u.sham)&&r(c,"sham",!0),l(i,d,c,t)}}},6699:(t,e,i)=>{var s=i(3724),n=i(4913),r=i(6980);t.exports=s?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},6801:(t,e,i)=>{var s=i(3724),n=i(8686),r=i(4913),l=i(8551),a=i(5397),h=i(1072);e.f=s&&!n?Object.defineProperties:function(t,e){l(t);for(var i,s=a(e),n=h(e),o=n.length,d=0;o>d;)r.f(t,i=n[d++],s[i]);return t}},6823:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6840:(t,e,i)=>{var s=i(4901),n=i(4913),r=i(283),l=i(9433);t.exports=function(t,e,i,a){a||(a={});var h=a.enumerable,o=void 0!==a.name?a.name:e;if(s(i)&&r(i,o,a),a.global)h?t[e]=i:l(e,i);else{try{a.unsafe?t[e]&&(h=!0):delete t[e]}catch(t){}h?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},6955:(t,e,i)=>{var s=i(2140),n=i(4901),r=i(2195),l=i(8227)("toStringTag"),a=Object,h="Arguments"===r(function(){return arguments}());t.exports=s?r:function(t){var e,i,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=a(t),l))?i:h?r(e):"Object"===(s=r(e))&&n(e.callee)?"Arguments":s}},6969:(t,e,i)=>{var s=i(2777),n=i(757);t.exports=function(t){var e=s(t,"string");return n(e)?e:e+""}},6980:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7040:(t,e,i)=>{var s=i(4495);t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(t,e,i)=>{var s=i(9504),n=i(9039),r=i(2195),l=Object,a=s("".split);t.exports=n(function(){return!l("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?a(t,""):l(t)}:l},7347:(t,e,i)=>{var s=i(3724),n=i(9565),r=i(8773),l=i(6980),a=i(5397),h=i(6969),o=i(9297),d=i(5917),u=Object.getOwnPropertyDescriptor;e.f=s?u:function(t,e){if(t=a(t),e=h(e),d)try{return u(t,e)}catch(t){}if(o(t,e))return l(!n(r.f,t,e),t[e])}},7476:(t,e,i)=>{var s=i(2195),n=i(9504);t.exports=function(t){if("Function"===s(t))return n(t)}},7588:(t,e,i)=>{var s=i(6518),n=i(9565),r=i(2652),l=i(9306),a=i(8551),h=i(1767),o=i(9539),d=i(4549)("forEach",TypeError);s({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(t){a(this);try{l(t)}catch(t){o(this,"throw",t)}if(d)return n(d,this,t);var e=h(this),i=0;r(e,function(e){t(e,i++)},{IS_RECORD:!0})}})},7629:(t,e,i)=>{var s=i(6395),n=i(4576),r=i(9433),l="__core-js_shared__",a=t.exports=n[l]||r(l,{});(a.versions||(a.versions=[])).push({version:"3.43.0",mode:s?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7657:(t,e,i)=>{var s,n,r,l=i(9039),a=i(4901),h=i(34),o=i(2360),d=i(2787),u=i(6840),c=i(8227),m=i(6395),p=c("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(n=d(d(r)))!==Object.prototype&&(s=n):g=!0),!h(s)||l(function(){var t={};return s[p].call(t)!==t})?s={}:m&&(s=o(s)),a(s[p])||u(s,p,function(){return this}),t.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},7740:(t,e,i)=>{var s=i(9297),n=i(5031),r=i(7347),l=i(4913);t.exports=function(t,e,i){for(var a=n(e),h=l.f,o=r.f,d=0;d<a.length;d++){var u=a[d];s(t,u)||i&&s(i,u)||h(t,u,o(e,u))}}},7750:(t,e,i)=>{var s=i(4117),n=TypeError;t.exports=function(t){if(s(t))throw new n("Can't call method on "+t);return t}},7751:(t,e,i)=>{var s=i(4576),n=i(4901);t.exports=function(t,e){return arguments.length<2?(i=s[t],n(i)?i:void 0):s[t]&&s[t][e];var i}},8014:(t,e,i)=>{var s=i(1291),n=Math.min;t.exports=function(t){var e=s(t);return e>0?n(e,9007199254740991):0}},8227:(t,e,i)=>{var s=i(4576),n=i(5745),r=i(9297),l=i(3392),a=i(4495),h=i(7040),o=s.Symbol,d=n("wks"),u=h?o.for||o:o&&o.withoutSetter||l;t.exports=function(t){return r(d,t)||(d[t]=a&&r(o,t)?o[t]:u("Symbol."+t)),d[t]}},8480:(t,e,i)=>{var s=i(1828),n=i(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return s(t,n)}},8551:(t,e,i)=>{var s=i(34),n=String,r=TypeError;t.exports=function(t){if(s(t))return t;throw new r(n(t)+" is not an object")}},8622:(t,e,i)=>{var s=i(4576),n=i(4901),r=s.WeakMap;t.exports=n(r)&&/native code/.test(String(r))},8686:(t,e,i)=>{var s=i(3724),n=i(9039);t.exports=s&&n(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8773:(t,e)=>{var i={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,n=s&&!i.call({1:2},1);e.f=n?function(t){var e=s(this,t);return!!e&&e.enumerable}:i},8981:(t,e,i)=>{var s=i(7750),n=Object;t.exports=function(t){return n(s(t))}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9297:(t,e,i)=>{var s=i(9504),n=i(8981),r=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},9306:(t,e,i)=>{var s=i(4901),n=i(6823),r=TypeError;t.exports=function(t){if(s(t))return t;throw new r(n(t)+" is not a function")}},9433:(t,e,i)=>{var s=i(4576),n=Object.defineProperty;t.exports=function(t,e){try{n(s,t,{value:e,configurable:!0,writable:!0})}catch(i){s[t]=e}return e}},9462:(t,e,i)=>{var s=i(9565),n=i(2360),r=i(6699),l=i(6279),a=i(8227),h=i(1181),o=i(5966),d=i(7657).IteratorPrototype,u=i(2529),c=i(9539),m=i(1385),p=a("toStringTag"),g="IteratorHelper",E="WrapForValidIterator",v="normal",y="throw",f=h.set,b=function(t){var e=h.getterFor(t?E:g);return l(n(d),{next:function(){var i=e(this);if(t)return i.nextHandler();if(i.done)return u(void 0,!0);try{var s=i.nextHandler();return i.returnHandlerResult?s:u(s,i.done)}catch(t){throw i.done=!0,t}},return:function(){var i=e(this),n=i.iterator;if(i.done=!0,t){var r=o(n,"return");return r?s(r,n):u(void 0,!0)}if(i.inner)try{c(i.inner.iterator,v)}catch(t){return c(n,y,t)}if(i.openIters)try{m(i.openIters,v)}catch(t){return c(n,y,t)}return n&&c(n,v),u(void 0,!0)}})},S=b(!0),w=b(!1);r(w,p,"Iterator Helper"),t.exports=function(t,e,i){var s=function(s,n){n?(n.iterator=s.iterator,n.next=s.next):n=s,n.type=e?E:g,n.returnHandlerResult=!!i,n.nextHandler=t,n.counter=0,n.done=!1,f(this,n)};return s.prototype=e?S:w,s}},9504:(t,e,i)=>{var s=i(616),n=Function.prototype,r=n.call,l=s&&n.bind.bind(r,r);t.exports=s?l:function(t){return function(){return r.apply(t,arguments)}}},9519:(t,e,i)=>{var s,n,r=i(4576),l=i(2839),a=r.process,h=r.Deno,o=a&&a.versions||h&&h.version,d=o&&o.v8;d&&(n=(s=d.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!n&&l&&(!(s=l.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=l.match(/Chrome\/(\d+)/))&&(n=+s[1]),t.exports=n},9539:(t,e,i)=>{var s=i(9565),n=i(8551),r=i(5966);t.exports=function(t,e,i){var l,a;n(t);try{if(!(l=r(t,"return"))){if("throw"===e)throw i;return i}l=s(l,t)}catch(t){a=!0,l=t}if("throw"===e)throw i;if(a)throw l;return n(l),i}},9565:(t,e,i)=>{var s=i(616),n=Function.prototype.call;t.exports=s?n.bind(n):function(){return n.apply(n,arguments)}},9617:(t,e,i)=>{var s=i(5397),n=i(5610),r=i(6198),l=function(t){return function(e,i,l){var a=s(e),h=r(a);if(0===h)return!t&&-1;var o,d=n(l,h);if(t&&i!=i){for(;h>d;)if((o=a[d++])!=o)return!0}else for(;h>d;d++)if((t||d in a)&&a[d]===i)return t||d||0;return!t&&-1}};t.exports={includes:l(!0),indexOf:l(!1)}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={exports:{}};return t[s].call(r.exports,r,r.exports,i),r.exports}i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i(3949);const s={width:500,height:300,responsive:!0,aspectRatio:-1,imageScaleMode:"cover",centerImage:!0,allowScaleUp:!0,autoHeight:!1,autoSlideSize:!1,startSlide:0,shuffle:!1,orientation:"horizontal",forceSize:"none",loop:!0,slideDistance:10,slideAnimationDuration:700,heightAnimationDuration:700,visibleSize:"auto",centerSelectedSlide:!0,rightToLeft:!1,addOns:[]};function n(t){return new Promise(e=>{let i=r(t);if("loading"===i){const s=setInterval(()=>{i=r(t),"complete"===i&&(clearInterval(s),e("complete"))},100)}else e("complete")})}function r(t){let e="complete";return"IMG"===t.tagName&&!1===t.complete?e="loading":Array.from(t.getElementsByTagName("img")).forEach(t=>{!1===t.complete&&(e="loading")}),e}function l(t){return isNaN(t)||"auto"===t?t:t+"px"}function a(t,e){if(null==t||void 0===t.tagName)return null;for(;!t.classList.contains(e)&&t.tagName!==e.toUpperCase();){if("HTML"===t.tagName)return null;t=t.parentElement}return t}class h extends EventTarget{handlerReferences={};uid=null;static idCounter=0;constructor(){super()}addEventListener(t,e){const i=e;let s=t;null===this.uid&&(this.uid=h.idCounter++),-1!==t.indexOf(".")&&(s=t.split(".")[0]),this.handlerReferences[t+"."+this.uid]=i,super.addEventListener(s,i)}removeEventListener(t){let e=t;const i=this.handlerReferences[t+"."+this.uid];-1!==t.indexOf(".")&&(e=t.split(".")[0]),super.removeEventListener(e,i),delete this.handlerReferences[t+"."+this.uid]}dispatchEvent(t,e=null,i=null){const s=new CustomEvent(t,{...i||{},detail:e||{}});super.dispatchEvent(s)}on(t,e){this.addEventListener(t,e)}off(t){this.removeEventListener(t)}trigger(t){const{type:e,detail:i}=t;this.dispatchEvent(e,i)}}const o=h,d=class extends o{#t;slideEl;mainImageEl;imageContainerEl;hasMainImage=!1;isMainImageLoaded=!1;isMainImageLoading=!1;hasImages=!1;areImagesLoaded=!1;areImagesLoading=!1;width=0;height=0;settings;constructor(t,e){super(),this.slideEl=t,this.settings=e,this.init()}init(){this.slideEl.setAttribute("data-init",!0),this.mainImageEl=this.slideEl.getElementsByClassName("sp-image")[0]||null,null!==this.mainImageEl&&(this.hasMainImage=!0,this.imageContainerEl=document.createElement("div"),this.imageContainerEl.classList.add("sp-image-container"),this.slideEl.insertBefore(this.imageContainerEl,this.slideEl.firstChild),"A"===this.mainImageEl.parentElement.tagName?this.imageContainerEl.appendChild(this.mainImageEl.parentElement):this.imageContainerEl.appendChild(this.mainImageEl)),this.hasImages=0!==this.slideEl.getElementsByTagName("img").length}setSize(t,e){this.width=t,this.height=e,this.slideEl.style.width=l(this.width),this.slideEl.style.height=l(this.height),!0===this.hasMainImage&&(this.imageContainerEl.style.width=l(this.settings.width),this.imageContainerEl.style.height=l(this.settings.height),!1===this.mainImageEl.hasAttribute("data-src")&&this.resizeMainImage())}getSize(){if(!0===this.hasImages&&!1===this.areImagesLoaded&&!1===this.areImagesLoading&&(this.areImagesLoading=!0,"complete"!==r(this.slideEl)))return n(this.slideEl).then(()=>{this.areImagesLoaded=!0,this.areImagesLoading=!1,this.dispatchEvent("imagesLoaded",{index:this.index})}),{width:this.settings.width,height:this.settings.height};const{width:t,height:e}=this.calculateSize();return{width:t,height:e}}calculateSize(){let t=this.slideEl.clientWidth,e=this.slideEl.clientHeight;return Array.from(this.slideEl.children).forEach(i=>{if("hidden"===i.style.visibility||"none"===i.style.display)return;const{left:s,right:n,top:r,bottom:l}=i.getBoundingClientRect(),a=i.offsetTop+(l-r),h=i.offsetLeft+(n-s);a>e&&(e=a),h>t&&(t=h)}),{width:t,height:e}}resizeMainImage(t){if(!0===t&&(this.isMainImageLoaded=!1,this.isMainImageLoading=!1),!1===this.isMainImageLoaded&&!1===this.isMainImageLoading)return this.isMainImageLoading=!0,void n(this.mainImageEl).then(()=>{this.isMainImageLoaded=!0,this.isMainImageLoading=!1,this.resizeMainImage(),this.dispatchEvent("imagesLoaded",{index:this.index})});this.imageContainerEl.style.width=l(this.width),this.imageContainerEl.style.height=l(this.height),!1===this.settings.allowScaleUp&&(this.mainImageEl.style.removeProperty("width"),this.mainImageEl.style.removeProperty("height"),this.mainImageEl.style.removeProperty("max-width"),this.mainImageEl.style.removeProperty("max-height"),this.mainImageEl.style.maxWidth=l(this.mainImageEl.clientWidth),this.mainImageEl.style.maxHeight=l(this.mainImageEl.clientHeight)),!0===this.settings.autoSlideSize?(this.mainImageEl.style.removeProperty("margin-left"),this.mainImageEl.style.removeProperty("margin-top"),"horizontal"===this.settings.orientation?(this.mainImageEl.style.width="auto",this.mainImageEl.style.height="100%",this.slideEl.style.width=l(this.mainImageEl.clientWidth)):"vertical"===this.settings.orientation&&(this.mainImageEl.style.width="100%",this.mainImageEl.style.height="auto",this.slideEl.style.height=this.mainImageEl.height)):!0===this.settings.autoHeight?(this.mainImageEl.style.width="100%",this.mainImageEl.style.height="auto",!0===this.settings.centerImage&&(this.mainImageEl.style.marginLeft=l(.5*(this.imageContainerEl.clientWidth-this.mainImageEl.clientWidth)))):("cover"===this.settings.imageScaleMode?this.mainImageEl.clientWidth/this.mainImageEl.clientHeight<=this.slideEl.clientWidth/this.slideEl.clientHeight?(this.mainImageEl.style.width="100%",this.mainImageEl.style.height="auto"):(this.mainImageEl.style.width="auto",this.mainImageEl.style.height="100%"):"contain"===this.settings.imageScaleMode?this.mainImageEl.clientWidth/this.mainImageEl.clientHeight>=this.slideEl.clientWidth/this.slideEl.clientHeight?(this.mainImageEl.style.width="100%",this.mainImageEl.style.height="auto"):(this.mainImageEl.style.width="auto",this.mainImageEl.style.height="100%"):"exact"===this.settings.imageScaleMode&&(this.mainImageEl.style.width="100%",this.mainImageEl.style.height="auto"),!0===this.settings.centerImage&&(this.mainImageEl.style.marginLeft=l(.5*(this.imageContainerEl.clientWidth-this.mainImageEl.clientWidth)),this.mainImageEl.style.marginTop=l(.5*(this.imageContainerEl.clientHeight-this.mainImageEl.clientHeight))))}destroy(){this.slideEl.removeAttribute("style"),this.slideEl.removeAttribute("data-init"),this.slideEl.removeAttribute("data-index"),this.slideEl.removeAttribute("data-loaded"),!0===this.hasMainImage&&(this.mainImageEl.removeAttribute("style"),this.slideEl.appendChild(this.mainImageEl),this.imageContainerEl.remove())}get index(){return this.#t}set index(t){this.#t=t,this.slideEl.setAttribute("data-index",this.#t)}},u=class extends o{previousWidth=0;previousHeight=0;allowResize=!0;delay=200;handlerReference;timeoutReference;constructor(t=null){super(),null!==t&&(this.delay=t)}addEventListener(t,e){super.addEventListener(t,e),this.handlerReference=this.handler.bind(this),window.addEventListener("resize",this.handlerReference)}removeEventListener(t){super.removeEventListener(t),window.removeEventListener("resize",this.handlerReference)}handler(){!1===this.allowResize||this.previousWidth===window.innerWidth&&this.previousHeight===window.innerHeight||(this.previousWidth=window.innerWidth,this.previousHeight=window.innerHeight,this.allowResize=!1,this.timeoutReference=setTimeout(()=>{this.dispatchEvent("resize"),this.allowResize=!0},this.delay))}destroy(){clearTimeout(this.timeoutReference)}};class c{slider;static addOns=[];addOnsInstances=[];activeAddOns=null;constructor(t,e=null){this.slider=t,this.activeAddOns=e}init(){this.slider.addOns=this.slider.addOns||{},(0===this.activeAddOns.length?c.addOns:this.activeAddOns).forEach(t=>{let e=new t(this.slider);this.addOnsInstances.push(e),this.slider.addOns[t.name]=e})}static add(t){"object"==typeof t?c.addOns=[...c.addOns,...t]:"function"==typeof t&&c.addOns.push(t)}destroyAll(){this.addOnsInstances.forEach(t=>{t.destroy()})}}const m=c;i(4520);const p=class{layerEl;visible=!1;styled=!1;data=null;position=null;horizontalProperty=null;verticalProperty=null;horizontalPosition=null;verticalPosition=null;scaleRatio=1;delayTimer=null;stayTimer=null;constructor(t){this.layerEl=t,this.init()}init(){this.layerEl.setAttribute("data-layer-init",!0),this.layerEl.classList.contains("sp-static")?this.setStyle():this.layerEl.style.visibility="hidden"}setStyle(){this.styled=!0,this.data=this.layerEl.dataset,void 0!==this.data.width&&(this.layerEl.style.width=l(this.data.width)),void 0!==this.data.height&&(this.layerEl.style.height=l(this.data.height)),void 0!==this.data.depth&&(this.layerEl.style.zIndex=this.data.depth),this.position=this.data.position?this.data.position.toLowerCase():"topleft",-1!==this.position.indexOf("right")?this.horizontalProperty="right":-1!==this.position.indexOf("left")?this.horizontalProperty="left":this.horizontalProperty="center",-1!==this.position.indexOf("bottom")?this.verticalProperty="bottom":-1!==this.position.indexOf("top")?this.verticalProperty="top":this.verticalProperty="center",this.setPosition(),this.scale(this.scaleRatio)}setPosition(){let t=this.layerEl.getAttribute("style");this.horizontalPosition=void 0!==this.data.horizontal?this.data.horizontal:0,this.verticalPosition=void 0!==this.data.vertical?this.data.vertical:0,"center"===this.horizontalProperty?("IMG"!==this.layerEl.tagName&&(void 0===t||void 0!==t&&-1===t.indexOf("width"))&&(this.layerEl.style.whiteSpace="nowrap",this.layerEl.style.width=l(this.layerEl.offsetWidth)),this.layerEl.style.marginLeft="auto",this.layerEl.style.marginRight="auto",this.layerEl.style.left=l(this.horizontalPosition),this.layerEl.style.right=0):this.layerEl.style[this.horizontalProperty]=l(this.horizontalPosition),"center"===this.verticalProperty?("IMG"!==this.layerEl.tagName&&(void 0===t||void 0!==t&&-1===t.indexOf("height"))&&(this.layerEl.style.whiteSpace="nowrap",this.layerEl.style.height=l(this.layerEl.offsetHeight)),this.layerEl.style.marginTop="auto",this.layerEl.style.marginBottom="auto",this.layerEl.style.top=l(this.verticalPosition),this.layerEl.style.bottom=0):this.layerEl.style[this.verticalProperty]=l(this.verticalPosition)}scale(t){if(this.layerEl.classList.contains("sp-no-scale"))return;if(this.scaleRatio=t,!1===this.styled)return;let e="center"===this.horizontalProperty?"left":this.horizontalProperty,i="center"===this.verticalProperty?"top":this.verticalProperty,s={};s.transformOrigin=this.horizontalProperty+" "+this.verticalProperty,s.transform="scale("+this.scaleRatio+")",!1!==isNaN(this.horizontalPosition)&&-1===this.horizontalPosition.indexOf("px")||(s[e]=l(this.horizontalPosition*this.scaleRatio)),!1!==isNaN(this.verticalPosition)&&-1===this.verticalPosition.indexOf("px")||(s[i]=l(this.verticalPosition*this.scaleRatio)),"string"==typeof this.data.width&&-1!==this.data.width.indexOf("%")&&(s.width=(parseInt(this.data.width,10)/this.scaleRatio).toString()+"%"),"string"==typeof this.data.height&&-1!==this.data.height.indexOf("%")&&(s.height=(parseInt(this.data.height,10)/this.scaleRatio).toString()+"%");for(let t in s)this.layerEl.style[t]=s[t]}show(t){if(!0===this.visible)return;this.visible=!0,!1===this.styled&&this.setStyle();let e=void 0!==this.data.showOffset?this.data.showOffset:50,i=void 0!==this.data.showDuration?this.data.showDuration/1e3:.4,s=void 0!==this.data.showDelay?this.data.showDelay:10,n=void 0!==this.data.stayDuration?parseInt(this.data.stayDuration,10):-1,r={opacity:0,visibility:"visible"},l={opacity:1},a="";r.transform="scale("+this.scaleRatio+")",l.transform="scale("+this.scaleRatio+")",l.transition="opacity "+i+"s",void 0!==this.data.showTransition&&("left"===this.data.showTransition?a=e+"px, 0":"right"===this.data.showTransition?a="-"+e+"px, 0":"up"===this.data.showTransition?a="0, "+e+"px":"down"===this.data.showTransition&&(a="0, -"+e+"px"),r.transform+=" translate3d("+a+", 0)",l.transform+=" translate3d(0, 0, 0)",l.transition+=", transform "+i+"s");const h=e=>{e.target===e.currentTarget&&(this.layerEl.removeEventListener("transitionend",h),this.layerEl.style.transition="",-1!==n&&(this.stayTimer=setTimeout(function(){this.hide(),this.stayTimer=null},n)),void 0!==t&&t())};this.layerEl.addEventListener("transitionend",h);for(let t in r)this.layerEl.style[t]=r[t];this.delayTimer=setTimeout(()=>{for(let t in l)this.layerEl.style[t]=l[t]},s)}hide(t){if(!1===this.visible)return;let e=void 0!==this.data.hideOffset?this.data.hideOffset:50,i=void 0!==this.data.hideDuration?this.data.hideDuration/1e3:.4,s=void 0!==this.data.hideDelay?this.data.hideDelay:10;this.visible=!1,null!==this.stayTimer&&clearTimeout(this.stayTimer);let n="",r={opacity:0};r.transform="scale("+this.scaleRatio+")",r.transition="opacity "+i+"s",void 0!==this.data.hideTransition&&("left"===this.data.hideTransition?n="-"+e+"px, 0":"right"===this.data.hideTransition?n=e+"px, 0":"up"===this.data.hideTransition?n="0, -"+e+"px":"down"===this.data.hideTransition&&(n="0, "+e+"px"),r.transform+=" translate3d("+n+", 0)",r.transition+=", transform "+i+"s");const l=e=>{e.target===e.currentTarget&&(this.layerEl.removeEventListener("transitionend",l),this.layerEl.style.removeProperty("transition"),!1===this.visible&&(this.layerEl.style.visibility="hidden"),void 0!==t&&t())};this.layerEl.addEventListener("transitionend",l),this.delayTimer=setTimeout(()=>{for(let t in r)this.layerEl.style[t]=r[t]},s)}isVisible(){return!1!==this.visible&&null!==this.layerEl.offsetParent}destroy(){this.layerEl.removeAttribute("style"),this.layerEl.removeAttribute("data-layer-init"),clearTimeout(this.delayTimer),clearTimeout(this.stayTimer),this.delayTimer=null,this.stayTimer=null}},g=class extends o{index;thumbnailEl=null;thumbnailsEl=null;thumbnailContainerEl=null;width=0;height=0;isImageLoaded=!1;eventHandlerReferences={};constructor(t,e,i){super(),this.thumbnailEl=t,this.thumbnailsEl=e,this.setIndex(i),this.init()}init(){this.thumbnailEl.setAttribute("data-init",!0),this.thumbnailContainerEl=document.createElement("div"),this.thumbnailContainerEl.classList.add("sp-thumbnail-container"),this.thumbnailsEl.appendChild(this.thumbnailContainerEl),"A"===this.thumbnailEl.parentElement.tagName?this.thumbnailContainerEl.appendChild(this.thumbnailEl.parentElement):this.thumbnailContainerEl.appendChild(this.thumbnailEl);const t=()=>{this.dispatchEvent("thumbnailClick",{index:this.index})};this.thumbnailContainerEl.addEventListener("click",t),this.eventHandlerReferences.thumbnailContainerClick=t}setSize(t,e){this.width=t,this.height=e,this.thumbnailContainerEl.style.width=l(this.width),this.thumbnailContainerEl.style.height=l(this.height),"IMG"===this.thumbnailEl.tagName&&null===this.thumbnailEl.getAttribute("data-src")&&this.resizeImage()}getSize(){return{width:this.thumbnailContainerEl.offsetWidth+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginLeft,10)+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginRight,10),height:this.thumbnailContainerEl.offsetHeight+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginTop,10)+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginBottom,10)}}getPosition(){return{left:this.thumbnailContainerEl.offsetLeft+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginLeft,10),right:this.thumbnailContainerEl.offsetLeft+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginLeft,10)+this.thumbnailContainerEl.offsetWidth,top:this.thumbnailContainerEl.offsetTop+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginTop,10),bottom:this.thumbnailContainerEl.offsetTop+parseInt(window.getComputedStyle(this.thumbnailContainerEl).marginTop,10)+this.thumbnailContainerEl.offsetHeight}}setIndex(t){this.index=t,this.thumbnailEl.setAttribute("data-index",this.index)}resizeImage(){!1!==this.isImageLoaded?(this.thumbnailEl=this.thumbnailContainerEl.getElementsByClassName("sp-thumbnail")[0],this.thumbnailEl.clientWidth/this.thumbnailEl.clientHeight<=this.width/this.height?(this.thumbnailEl.style.width="100%",this.thumbnailEl.style.height="auto"):(this.thumbnailEl.style.width="auto",this.thumbnailEl.style.height="100%"),this.thumbnailEl.style.marginLeft=l(.5*(this.thumbnailContainerEl.clientWidth-this.thumbnailEl.clientWidth)),this.thumbnailEl.style.marginTop=l(.5*(this.thumbnailContainerEl.clientHeight-this.thumbnailEl.clientHeight))):n(this.thumbnailContainerEl)}destroy(){this.thumbnailContainerEl.removeEventListener("click",this.eventHandlerReferences),this.thumbnailEl.removeAttribute("data-init"),this.thumbnailEl.removeAttribute("data-index"),"A"===this.thumbnailEl.parentElement.tagName?this.thumbnailsEl.insertBefore(this.thumbnailEl.parentElement,this.thumbnailContainerEl):this.thumbnailsEl.insertBefore(this.thumbnailEl,this.thumbnailContainerEl),this.thumbnailContainerEl.remove()}};i(2577);const E=class extends o{videoEl=null;ready=!1;started=!1;state="";constructor(t){super(),this.videoEl=t,this.init()}init(){}play(){}pause(){}stop(){}replay(){}isType(){}isReady(){return this.ready}isStarted(){return this.started}getState(){return this.state}};class v extends E{static vimeoAPIAdded=!1;static vimeoVideos=[];constructor(t){super(t)}static isType(t){return"IFRAME"===t.tagName&&-1!==t.getAttribute("src").indexOf("vimeo.com")}init(){if(this.isInit=!1,void 0!==window.Vimeo)this.setup();else if(v.vimeoVideos.push(this),!1===v.vimeoAPIAdded){v.vimeoAPIAdded=!0;const t=document.createElement("script");t.src="//player.vimeo.com/api/player.js";const e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e);let i=setInterval(()=>{void 0!==window.Vimeo&&(clearInterval(i),v.vimeoVideos.forEach(t=>{t.setup()}))},100)}}setup(){this.isInit=!0,this.player=new window.Vimeo.Player(this.videoEl),this.ready=!0,this.dispatchEvent("ready"),this.player.on("play",()=>{!1===this.started&&(this.started=!0,this.dispatchEvent("start")),this.state="playing",this.dispatchEvent("play")}),this.player.on("pause",()=>{this.state="paused",this.dispatchEvent("pause")}),this.player.on("ended",()=>{this.state="ended",this.dispatchEvent("ended")})}play(){if(!0===this.ready)this.player.play();else{const t=setInterval(()=>{!0===this.ready&&(clearInterval(t),this.player.play())},100)}}pause(){this.player.pause()}stop(){this.player.setCurrentTime(0).then(()=>{this.player.pause(),this.state="stopped"})}replay(){this.player.setCurrentTime(0).then(()=>{this.player.play()})}addEventListener(t,e){if(!0===this.isInit)super.addEventListener(t,e);else{const i=setInterval(()=>{!0===this.isInit&&(clearInterval(i),super.addEventListener(t,e))},100)}}}const y=v;class f extends E{static youtubeAPIAdded=!1;static youtubeVideos=[];constructor(t){super(t)}static isType(t){if("IFRAME"===t.tagName){const e=t.getAttribute("src");if(-1!==e.indexOf("youtube.com")||-1!==e.indexOf("youtu.be"))return!0}return!1}init(){if(this.isInit=!1,void 0!==(window.YT&&window.YT.Player))this.setup();else if(f.youtubeVideos.push(this),!1===f.youtubeAPIAdded){f.youtubeAPIAdded=!0;const t=document.createElement("script");t.src="//www.youtube.com/player_api";const e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),window.onYouTubePlayerAPIReady=()=>{f.youtubeVideos.forEach(t=>{t.setup()})}}}setup(){this.isInit=!0,this.player=new window.YT.Player(this.videoEl,{events:{onReady:()=>{this.dispatchEvent("ready"),this.ready=!0},onStateChange:t=>{switch(t.data){case window.YT.PlayerState.PLAYING:!1===this.started&&(this.started=!0,this.dispatchEvent("start")),this.state="playing",this.dispatchEvent("play");break;case window.YT.PlayerState.PAUSED:this.state="paused",this.dispatchEvent("pause");break;case window.YT.PlayerState.ENDED:this.state="ended",this.dispatchEvent("ended")}}}})}play(){if(!0===this.ready)this.player.playVideo();else{const t=setInterval(()=>{!0===this.ready&&(clearInterval(t),this.player.playVideo())},100)}}pause(){!0==!!window.navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?this.stop():this.player.pauseVideo()}stop(){this.player.seekTo(1),this.player.stopVideo(),this.state="stopped"}replay(){this.player.seekTo(1),this.player.playVideo()}addEventListener(t,e){if(!0===this.isInit)super.addEventListener(t,e);else{const i=setInterval(()=>{!0===this.isInit&&(clearInterval(i),super.addEventListener(t,e))},100)}}}const b=f;class S extends o{static players=[];player=null;videoEl;isIOS=!!window.navigator.userAgent.match(/(iPad|iPhone|iPod)/g);constructor(t){super(),this.videoEl=t,this.init()}static addPlayer(t){-1===S.players.indexOf(t)&&S.players.unshift(t)}init(){const t=this.videoEl.getAttribute("id"),e=S.players.find(t=>t.isType(this.videoEl));this.player=new e(this.videoEl),null!==this.player&&["ready","start","play","pause","ended"].forEach(e=>{const i="video"+e.charAt(0).toUpperCase()+e.slice(1);this.player.addEventListener(e,()=>{this.dispatchEvent(i,{video:t})})})}play(){!0===this.isIOS&&!1===this.player.isStarted()||"playing"===this.player.getState()||this.player.play()}stop(){!0===this.isIOS&&!1===this.player.isStarted()||"stopped"===this.player.getState()||this.player.stop()}pause(){!0===this.isIOS&&!1===this.player.isStarted()||"paused"===this.player.getState()||this.player.pause()}replay(){!0===this.isIOS&&!1===this.player.isStarted()||this.player.replay()}destroy(){!0===this.player.isStarted()&&this.stop(),this.player.removeEventListener("ready"),this.player.removeEventListener("start"),this.player.removeEventListener("play"),this.player.removeEventListener("pause"),this.player.removeEventListener("ended")}}S.addPlayer(class extends E{constructor(t){super(t)}static isType(t){return"VIDEO"===t.tagName}init(){this.player=this.videoEl,this.ready=!0,this.dispatchEvent("ready"),this.player.addEventListener("play",()=>{!1===this.started&&(this.started=!0,this.dispatchEvent("start")),this.state="playing",this.dispatchEvent("play")}),this.player.addEventListener("pause",()=>{this.state="paused",this.dispatchEvent("pause")}),this.player.addEventListener("ended",()=>{this.state="ended",this.dispatchEvent("ended")})}play(){if(!0===this.ready)this.player.play();else{const t=setInterval(()=>{!0===this.ready&&(clearInterval(t),this.player.play())},100)}}pause(){this.player.pause()}stop(){this.player.currentTime=0,this.player.pause(),this.state="stopped"}replay(){this.player.currentTime=0,this.player.play()}}),S.addPlayer(class extends E{constructor(t){super(t)}static isType(t){return!(null===t.getAttribute("data-videojs-id")&&!t.classList.contains("video-js")||void 0===window.videojs)}init(){const t=this.videoEl.classList.contains("video-js")?this.videoEl.getAttribute("id"):this.videoEl.getAttribute("data-videojs-id");this.player=window.videojs(t),this.player.ready(()=>{this.ready=!0,this.dispatchEvent("ready"),this.player.on("play",()=>{!1===this.started&&(this.started=!0,this.dispatchEvent("start")),this.state="playing",this.dispatchEvent("play")}),this.player.on("pause",()=>{this.state="paused",this.dispatchEvent("pause")}),this.player.on("ended",()=>{this.state="ended",this.dispatchEvent("ended")})})}play(){this.player.play()}pause(){this.player.pause()}stop(){this.player.currentTime(0),this.player.pause(),this.state="stopped"}replay(){this.player.currentTime(0),this.player.play()}}),S.addPlayer(b),S.addPlayer(y);const w=S;m.add([class{namespace="arrows";slider;settings;arrowsEl=null;previousArrowEl=null;nextArrowEl=null;defaults={arrows:!1,fadeArrows:!0};eventHandlerReferences={};constructor(t){this.slider=t,this.init()}init(){this.slider.addEventListener("update."+this.namespace,this.updateHandler.bind(this)),this.slider.addEventListener("gotoSlide."+this.namespace,this.checkVisibility.bind(this))}updateHandler(){this.settings={...this.defaults,...this.slider.settings},!0===this.settings.arrows&&null===this.arrowsEl?(this.createArrows(),this.checkVisibility()):!1===this.settings.arrows&&null!==this.arrowsEl&&this.removeArrows(),!0===this.settings.arrows&&(!0===this.settings.fadeArrows?this.arrowsEl.classList.add("sp-fade-arrows"):!1===this.settings.fadeArrows&&this.arrowsEl.classList.remove("sp-fade-arrows"))}checkVisibility(){!1!==this.settings.arrows&&!0!==this.settings.loop&&(0===this.slider.selectedSlideIndex?this.previousArrowEl.style.display="none":this.previousArrowEl.style.display="block",this.slider.selectedSlideIndex===this.slider.getTotalSlides()-1?this.nextArrowEl.style.display="none":this.nextArrowEl.style.display="block")}createArrows(){this.arrowsEl=document.createElement("div"),this.arrowsEl.classList.add("sp-arrows"),this.slider.slidesContainerEl.appendChild(this.arrowsEl),this.previousArrowEl=document.createElement("div"),this.previousArrowEl.classList.add("sp-arrow","sp-previous-arrow"),this.arrowsEl.appendChild(this.previousArrowEl),this.nextArrowEl=document.createElement("div"),this.nextArrowEl.classList.add("sp-arrow","sp-next-arrow"),this.arrowsEl.appendChild(this.nextArrowEl);const t=()=>{this.slider.previousSlide()},e=()=>{this.slider.nextSlide()};this.eventHandlerReferences["click.previousArrow"]=t,this.previousArrowEl.addEventListener("click",t),this.eventHandlerReferences["click.nextArrow"]=e,this.nextArrowEl.addEventListener("click",e)}removeArrows(){const t=this.eventHandlerReferences["click.previousArrow"],e=this.eventHandlerReferences["click.nextArrow"];this.previousArrowEl.removeEventListener("click",t),this.nextArrowEl.removeEventListener("click",e),this.arrowsEl.remove(),this.arrowsEl=null}destroy(){this.removeArrows(),this.slider.removeEventListener("update."+this.namespace),this.slider.removeEventListener("gotoSlide."+this.namespace)}},class{namespace="autoplay";slider;settings;autoplayTimer;autoplayState="stopped";isHover=!1;eventHandlerReferences={};defaults={autoplay:!0,autoplayDelay:5e3,autoplayDirection:"normal",autoplayOnHover:"pause"};constructor(t){this.slider=t,this.slider.autoplay=this,this.init()}init(){this.slider.addEventListener("update."+this.namespace,this.updateHandler.bind(this))}updateHandler(){if(this.settings={...this.defaults,...this.slider.settings},!0===this.settings.autoplay&&"stopped"===this.autoplayState){this.slider.addEventListener("gotoSlide."+this.namespace,()=>{this.gotoSlideHandler()}),this.slider.addEventListener("gotoSlideComplete."+this.namespace,()=>{this.gotoSlideCompleteHandler()});const t=()=>{this.mouseEnterHandler()};this.eventHandlerReferences.mouseenter=t,this.slider.sliderEl.addEventListener("mouseenter",t);const e=()=>{this.mouseLeaveHandler()};this.eventHandlerReferences.mouseleave=e,this.slider.sliderEl.addEventListener("mouseleave",e),this.autoplayState="running",this.start()}else!0===this.settings.autoplay&&"running"===this.autoplayState&&(this.slider.removeEventListener("gotoSlide."+this.namespace),this.slider.removeEventListener("gotoSlideComplete."+this.namespace),this.slider.removeEventListener("mouseenter."+this.namespace),this.slider.removeEventListener("mouseleave."+this.namespace),this.autoplayState="stopped",this.stop())}gotoSlideHandler(){"running"===this.autoplayState&&(this.stop(),this.autoplayState="paused")}gotoSlideCompleteHandler(){(!0!==this.isHover||"pause"!==this.settings.autoplayOnHover&&"stop"!==this.settings.autoplayOnHover)&&"paused"===this.autoplayState&&(this.start(),this.autoplayState="running")}mouseEnterHandler(){this.isHover=!0,"running"!==this.autoplayState||"pause"!==this.settings.autoplayOnHover&&"stop"!==this.settings.autoplayOnHover||(this.stop(),this.autoplayState="paused")}mouseLeaveHandler(){this.isHover=!1,!0===this.settings.autoplay&&"paused"===this.autoplayState&&"stop"!==this.settings.autoplayOnHover&&(this.start(),this.autoplayState="running")}start(){this.autoplayTimer=setTimeout(()=>{"normal"===this.settings.autoplayDirection?this.slider.nextSlide():"backwards"===this.settings.autoplayDirection&&this.slider.previousSlide()},this.settings.autoplayDelay)}stop(){clearTimeout(this.autoplayTimer)}destroy(){clearTimeout(this.autoplayTimer),this.slider.removeEventListener("update."+this.namespace),this.slider.removeEventListener("gotoSlide."+this.namespace),this.slider.removeEventListener("gotoSlideComplete."+this.namespace),this.slider.sliderEl.removeEventListener("mouseenter",this.eventHandlerReferences.mouseenter),this.slider.sliderEl.removeEventListener("mouseleave",this.eventHandlerReferences.mouseleave)}},class{namespace="breakpoints";slider;breakpoints;originalSettings={};orderedBreakpoints=[];currentBreakpoint=-1;constructor(t){this.slider=t,null!==this.slider.settings.breakpoints&&this.slider.addEventListener("beforeInit."+this.namespace,()=>{this.init()})}init(){this.breakpoints={...this.slider.settings.breakpoints},this.originalSettings={...this.slider.settings};for(let t in this.breakpoints)this.orderedBreakpoints.push({size:parseInt(t,10),properties:this.breakpoints[t]});this.orderedBreakpoints=this.orderedBreakpoints.sort((t,e)=>t.size>=e.size?1:-1),this.slider.addEventListener("beforeResize."+this.namespace,()=>{const t=this.getCurrentSettings();!1!==t&&(this.slider.settings={...t},this.slider.update())})}getCurrentSettings(){if(null!==this.breakpoints&&this.orderedBreakpoints.length>0){if(window.innerWidth>this.orderedBreakpoints[this.orderedBreakpoints.length-1].size&&-1!==this.currentBreakpoint)return this.currentBreakpoint=-1,this.originalSettings;for(let t=0,e=this.orderedBreakpoints.length;t<e;t++)if(window.innerWidth<=this.orderedBreakpoints[t].size){if(this.currentBreakpoint!==this.orderedBreakpoints[t].size){const e={...this.originalSettings,...this.orderedBreakpoints[t].properties};return this.currentBreakpoint=this.orderedBreakpoints[t].size,e}break}}return!1}destroy(){this.slider.removeEventListener("beforeInit."+this.namespace),this.slider.removeEventListener("beforeResize."+this.namespace)}},class{namespace="buttons";slider;settings;buttonsEl=null;eventHandlerReferences={};defaults={buttons:!0};constructor(t){this.slider=t,this.init()}init(){this.slider.addEventListener("update."+this.namespace,this.updateHandler.bind(this)),this.slider.addEventListener("gotoSlide."+this.namespace,t=>{void 0!==this.buttonsEl&&(this.buttonsEl.getElementsByClassName("sp-selected-button")[0].classList.remove("sp-selected-button"),this.buttonsEl.getElementsByClassName("sp-button")[t.detail.index].classList.add("sp-selected-button"))})}updateHandler(){this.settings={...this.defaults,...this.slider.settings},this.buttonsEl=this.slider.sliderEl.getElementsByClassName("sp-buttons")[0];const t=this.slider.getTotalSlides();!0===this.settings.buttons&&t>1&&void 0===this.buttonsEl?this.createButtons():!0===this.settings.buttons&&void 0!==this.buttonsEl&&t!==this.buttonsEl.getElementsByClassName("sp-button").length?this.adjustButtons():(!1===this.settings.buttons&&void 0!==this.buttonsEl||t<=1&&void 0!==this.buttonsEl)&&this.removeButtons()}createButtons(){this.bu