UNPKG

grid-accordion-js

Version:

Modular grid accordion built in Vanilla JavaScript.

1 lines 92.1 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),a=i(8551),o=i(6823),r=i(851),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?r(t):e;if(n(i))return a(s(i,t));throw new l(o(t)+" is not iterable")}},116:(t,e,i)=>{var s=i(6518),n=i(9565),a=i(2652),o=i(9306),r=i(8551),l=i(1767),h=i(9539),d=i(4549)("find",TypeError);s({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(t){r(this);try{o(t)}catch(t){h(this,"throw",t)}if(d)return n(d,this,t);var e=l(this),i=0;return a(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),a=i(4901),o=i(9297),r=i(3724),l=i(350).CONFIGURABLE,h=i(3706),d=i(1181),c=d.enforce,u=d.get,p=String,g=Object.defineProperty,m=s("".slice),v=s("".replace),y=s([].join),f=r&&!n(function(){return 8!==g(function(){},"length",{value:8}).length}),E=String(String).split("String"),P=t.exports=function(t,e,i){"Symbol("===m(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!o(t,"name")||l&&t.name!==e)&&(r?g(t,"name",{value:e,configurable:!0}):t.name=e),f&&i&&o(i,"arity")&&t.length!==i.arity&&g(t,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?r&&g(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var s=c(t);return o(s,"source")||(s.source=y(E,"string"==typeof e?e:"")),t};Function.prototype.toString=P(function(){return a(this)&&u(this).source||h(this)},"toString")},350:(t,e,i)=>{var s=i(3724),n=i(9297),a=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,r=n(a,"name"),l=r&&"something"===function(){}.name,h=r&&(!s||s&&o(a,"name").configurable);t.exports={EXISTS:r,PROPER:l,CONFIGURABLE:h}},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),a=i(1625),o=i(7040),r=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=s("Symbol");return n(e)&&a(e.prototype,r(t))}},851:(t,e,i)=>{var s=i(6955),n=i(5966),a=i(4117),o=i(6269),r=i(8227)("iterator");t.exports=function(t){if(!a(t))return n(t,r)||n(t,"@@iterator")||o[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,a,o=i(8622),r=i(4576),l=i(34),h=i(6699),d=i(9297),c=i(7629),u=i(6119),p=i(421),g="Object already initialized",m=r.TypeError,v=r.WeakMap;if(o||c.state){var y=c.state||(c.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,s=function(t,e){if(y.has(t))throw new m(g);return e.facade=t,y.set(t,e),e},n=function(t){return y.get(t)||{}},a=function(t){return y.has(t)}}else{var f=u("state");p[f]=!0,s=function(t,e){if(d(t,f))throw new m(g);return e.facade=t,h(t,f,e),e},n=function(t){return d(t,f)?t[f]:{}},a=function(t){return d(t,f)}}t.exports={set:s,get:n,has:a,enforce:function(t){return a(t)?n(t):s(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw new m("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),a=i(5397),o=i(9617).indexOf,r=i(421),l=s([].push);t.exports=function(t,e){var i,s=a(t),h=0,d=[];for(i in s)!n(r,i)&&n(s,i)&&l(d,i);for(;e.length>h;)n(s,i=e[h++])&&(~o(d,i)||l(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),a=s("".slice);t.exports=function(t){return a(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),a=i(6801),o=i(8727),r=i(421),l=i(397),h=i(4055),d=i(6119),c="prototype",u="script",p=d("IE_PROTO"),g=function(){},m=function(t){return"<"+u+">"+t+"</"+u+">"},v=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{s=new ActiveXObject("htmlfile")}catch(t){}var t,e,i;y="undefined"!=typeof document?document.domain&&s?v(s):(e=h("iframe"),i="java"+u+":",e.style.display="none",l.appendChild(e),e.src=String(i),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):v(s);for(var n=o.length;n--;)delete y[c][o[n]];return y()};r[p]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(g[c]=n(t),i=new g,g[c]=null,i[p]=t):i=y(),void 0===e?i:a.f(i,e)}},2489:(t,e,i)=>{var s=i(6518),n=i(9565),a=i(9306),o=i(8551),r=i(1767),l=i(9462),h=i(6319),d=i(6395),c=i(9539),u=i(684),p=i(4549),g=!d&&!u("filter",function(){}),m=!d&&!g&&p("filter",TypeError),v=d||g||m,y=l(function(){for(var t,e,i=this.iterator,s=this.predicate,a=this.next;;){if(t=o(n(a,i)),this.done=!!t.done)return;if(e=t.value,h(i,s,[e,this.counter++],!0))return e}});s({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(t){o(this);try{a(t)}catch(t){c(this,"throw",t)}return m?n(m,this,t):new y(r(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),a=i(8551),o=i(6823),r=i(4209),l=i(6198),h=i(1625),d=i(81),c=i(851),u=i(9539),p=TypeError,g=function(t,e){this.stopped=t,this.result=e},m=g.prototype;t.exports=function(t,e,i){var v,y,f,E,P,b,x,w=i&&i.that,O=!(!i||!i.AS_ENTRIES),A=!(!i||!i.IS_RECORD),H=!(!i||!i.IS_ITERATOR),L=!(!i||!i.INTERRUPTED),S=s(e,w),I=function(t){return v&&u(v,"normal"),new g(!0,t)},C=function(t){return O?(a(t),L?S(t[0],t[1],I):S(t[0],t[1])):L?S(t,I):S(t)};if(A)v=t.iterator;else if(H)v=t;else{if(!(y=c(t)))throw new p(o(t)+" is not iterable");if(r(y)){for(f=0,E=l(t);E>f;f++)if((P=C(t[f]))&&h(m,P))return P;return new g(!1)}v=d(t,y)}for(b=A?t.next:v.next;!(x=n(b,v)).done;){try{P=C(x.value)}catch(t){u(v,"throw",t)}if("object"==typeof P&&P&&h(m,P))return P}return new g(!1)}},2777:(t,e,i)=>{var s=i(9565),n=i(34),a=i(757),o=i(5966),r=i(4270),l=i(8227),h=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!n(t)||a(t))return t;var i,l=o(t,d);if(l){if(void 0===e&&(e="default"),i=s(l,t,e),!n(i)||a(i))return i;throw new h("Can't convert object to primitive value")}return void 0===e&&(e="number"),r(t,e)}},2787:(t,e,i)=>{var s=i(9297),n=i(4901),a=i(8981),o=i(6119),r=i(2211),l=o("IE_PROTO"),h=Object,d=h.prototype;t.exports=r?h.getPrototypeOf:function(t){var e=a(t);if(s(e,l))return e[l];var i=e.constructor;return n(i)&&e instanceof i?i.prototype:e instanceof h?d:null}},2796:(t,e,i)=>{var s=i(9039),n=i(4901),a=/#|\.prototype\./,o=function(t,e){var i=l[r(t)];return i===d||i!==h&&(n(e)?s(e):!!e)},r=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},l=o.data={},h=o.NATIVE="N",d=o.POLYFILL="P";t.exports=o},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,a=Math.random(),o=s(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++n+a,36)}},3706:(t,e,i)=>{var s=i(9504),n=i(4901),a=i(7629),o=s(Function.toString);n(a.inspectSource)||(a.inspectSource=function(t){return o(t)}),t.exports=a.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),a=s.document,o=n(a)&&n(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},4117:t=>{t.exports=function(t){return null==t}},4209:(t,e,i)=>{var s=i(8227),n=i(6269),a=s("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[a]===t)}},4270:(t,e,i)=>{var s=i(9565),n=i(4901),a=i(34),o=TypeError;t.exports=function(t,e){var i,r;if("string"===e&&n(i=t.toString)&&!a(r=s(i,t)))return r;if(n(i=t.valueOf)&&!a(r=s(i,t)))return r;if("string"!==e&&n(i=t.toString)&&!a(r=s(i,t)))return r;throw new o("Can't convert object to primitive value")}},4495:(t,e,i)=>{var s=i(9519),n=i(9039),a=i(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var t=Symbol("symbol detection");return!a(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,a=n&&n[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(t){t instanceof e||(o=!1)}if(!o)return a}},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),a=i(8686),o=i(8551),r=i(6969),l=TypeError,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",p="writable";e.f=s?a?function(t,e,i){if(o(t),e=r(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var s=d(t,e);s&&s[p]&&(t[e]=i.value,i={configurable:u in i?i[u]:s[u],enumerable:c in i?i[c]:s[c],writable:!1})}return h(t,e,i)}:h:function(t,e,i){if(o(t),e=r(e),o(i),n)try{return h(t,e,i)}catch(t){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},5031:(t,e,i)=>{var s=i(7751),n=i(9504),a=i(8480),o=i(3717),r=i(8551),l=n([].concat);t.exports=s("Reflect","ownKeys")||function(t){var e=a.f(r(t)),i=o.f;return i?l(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,a=Math.min;t.exports=function(t,e){var i=s(t);return i<0?n(i+e,0):a(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),a=i(4055);t.exports=!s&&!n(function(){return 7!==Object.defineProperty(a("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),a=i(616),o=s(s.bind);t.exports=function(t,e){return n(t),void 0===e?t:a?o(t,e):function(){return t.apply(e,arguments)}}},6119:(t,e,i)=>{var s=i(5745),n=i(3392),a=s("keys");t.exports=function(t){return a[t]||(a[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,a){try{return a?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,a=i(6699),o=i(6840),r=i(9433),l=i(7740),h=i(2796);t.exports=function(t,e){var i,d,c,u,p,g=t.target,m=t.global,v=t.stat;if(i=m?s:v?s[g]||r(g,{}):s[g]&&s[g].prototype)for(d in e){if(u=e[d],c=t.dontCallGetSet?(p=n(i,d))&&p.value:i[d],!h(m?d:g+(v?".":"#")+d,t.forced)&&void 0!==c){if(typeof u==typeof c)continue;l(u,c)}(t.sham||c&&c.sham)&&a(u,"sham",!0),o(i,d,u,t)}}},6699:(t,e,i)=>{var s=i(3724),n=i(4913),a=i(6980);t.exports=s?function(t,e,i){return n.f(t,e,a(1,i))}:function(t,e,i){return t[e]=i,t}},6801:(t,e,i)=>{var s=i(3724),n=i(8686),a=i(4913),o=i(8551),r=i(5397),l=i(1072);e.f=s&&!n?Object.defineProperties:function(t,e){o(t);for(var i,s=r(e),n=l(e),h=n.length,d=0;h>d;)a.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),a=i(283),o=i(9433);t.exports=function(t,e,i,r){r||(r={});var l=r.enumerable,h=void 0!==r.name?r.name:e;if(s(i)&&a(i,h,r),r.global)l?t[e]=i:o(e,i);else{try{r.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t}},6955:(t,e,i)=>{var s=i(2140),n=i(4901),a=i(2195),o=i(8227)("toStringTag"),r=Object,l="Arguments"===a(function(){return arguments}());t.exports=s?a: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=r(t),o))?i:l?a(e):"Object"===(s=a(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),a=i(2195),o=Object,r=s("".split);t.exports=n(function(){return!o("z").propertyIsEnumerable(0)})?function(t){return"String"===a(t)?r(t,""):o(t)}:o},7347:(t,e,i)=>{var s=i(3724),n=i(9565),a=i(8773),o=i(6980),r=i(5397),l=i(6969),h=i(9297),d=i(5917),c=Object.getOwnPropertyDescriptor;e.f=s?c:function(t,e){if(t=r(t),e=l(e),d)try{return c(t,e)}catch(t){}if(h(t,e))return o(!n(a.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),a=i(2652),o=i(9306),r=i(8551),l=i(1767),h=i(9539),d=i(4549)("forEach",TypeError);s({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(t){r(this);try{o(t)}catch(t){h(this,"throw",t)}if(d)return n(d,this,t);var e=l(this),i=0;a(e,function(e){t(e,i++)},{IS_RECORD:!0})}})},7629:(t,e,i)=>{var s=i(6395),n=i(4576),a=i(9433),o="__core-js_shared__",r=t.exports=n[o]||a(o,{});(r.versions||(r.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,a,o=i(9039),r=i(4901),l=i(34),h=i(2360),d=i(2787),c=i(6840),u=i(8227),p=i(6395),g=u("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(n=d(d(a)))!==Object.prototype&&(s=n):m=!0),!l(s)||o(function(){var t={};return s[g].call(t)!==t})?s={}:p&&(s=h(s)),r(s[g])||c(s,g,function(){return this}),t.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:m}},7740:(t,e,i)=>{var s=i(9297),n=i(5031),a=i(7347),o=i(4913);t.exports=function(t,e,i){for(var r=n(e),l=o.f,h=a.f,d=0;d<r.length;d++){var c=r[d];s(t,c)||i&&s(i,c)||l(t,c,h(e,c))}}},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),a=i(9297),o=i(3392),r=i(4495),l=i(7040),h=s.Symbol,d=n("wks"),c=l?h.for||h:h&&h.withoutSetter||o;t.exports=function(t){return a(d,t)||(d[t]=r&&a(h,t)?h[t]:c("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,a=TypeError;t.exports=function(t){if(s(t))return t;throw new a(n(t)+" is not an object")}},8622:(t,e,i)=>{var s=i(4576),n=i(4901),a=s.WeakMap;t.exports=n(a)&&/native code/.test(String(a))},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),a=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(n(t),e)}},9306:(t,e,i)=>{var s=i(4901),n=i(6823),a=TypeError;t.exports=function(t){if(s(t))return t;throw new a(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),a=i(6699),o=i(6279),r=i(8227),l=i(1181),h=i(5966),d=i(7657).IteratorPrototype,c=i(2529),u=i(9539),p=i(1385),g=r("toStringTag"),m="IteratorHelper",v="WrapForValidIterator",y="normal",f="throw",E=l.set,P=function(t){var e=l.getterFor(t?v:m);return o(n(d),{next:function(){var i=e(this);if(t)return i.nextHandler();if(i.done)return c(void 0,!0);try{var s=i.nextHandler();return i.returnHandlerResult?s:c(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 a=h(n,"return");return a?s(a,n):c(void 0,!0)}if(i.inner)try{u(i.inner.iterator,y)}catch(t){return u(n,f,t)}if(i.openIters)try{p(i.openIters,y)}catch(t){return u(n,f,t)}return n&&u(n,y),c(void 0,!0)}})},b=P(!0),x=P(!1);a(x,g,"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?v:m,n.returnHandlerResult=!!i,n.nextHandler=t,n.counter=0,n.done=!1,E(this,n)};return s.prototype=e?b:x,s}},9504:(t,e,i)=>{var s=i(616),n=Function.prototype,a=n.call,o=s&&n.bind.bind(a,a);t.exports=s?o:function(t){return function(){return a.apply(t,arguments)}}},9519:(t,e,i)=>{var s,n,a=i(4576),o=i(2839),r=a.process,l=a.Deno,h=r&&r.versions||l&&l.version,d=h&&h.v8;d&&(n=(s=d.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!n&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(n=+s[1]),t.exports=n},9539:(t,e,i)=>{var s=i(9565),n=i(8551),a=i(5966);t.exports=function(t,e,i){var o,r;n(t);try{if(!(o=a(t,"return"))){if("throw"===e)throw i;return i}o=s(o,t)}catch(t){r=!0,o=t}if("throw"===e)throw i;if(r)throw o;return n(o),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),a=i(6198),o=function(t){return function(e,i,o){var r=s(e),l=a(r);if(0===l)return!t&&-1;var h,d=n(o,l);if(t&&i!=i){for(;l>d;)if((h=r[d++])!=h)return!0}else for(;l>d;d++)if((t||d in r)&&r[d]===i)return t||d||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var a=e[s]={exports:{}};return t[s].call(a.exports,a,a.exports,i),a.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:800,height:400,responsive:!0,responsiveMode:"auto",aspectRatio:-1,orientation:"horizontal",startPanel:-1,rows:3,columns:4,openedPanelWidth:"max",openedPanelHeight:"max",maxOpenedPanelWidth:"70%",maxOpenedPanelHeight:"70%",openPanelOn:"hover",closePanelsOnMouseOut:!0,mouseDelay:200,panelDistance:10,openPanelDuration:700,closePanelDuration:700,pageScrollDuration:500,pageScrollEasing:"swing",breakpoints:null,startPage:0,shadow:!1,shuffle:!1,addOns:[]};function n(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 a(t){return isNaN(t)||"auto"===t?t:t+"px"}class o extends EventTarget{handlerReferences={};uid=null;static idCounter=0;constructor(){super()}addEventListener(t,e){const i=e;let s=t;null===this.uid&&(this.uid=o.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 r=o,l=class extends r{#t;panelEl;settings;isLoading=!1;isLoaded=!1;eventHandlerReferences={};constructor(t,e){super(),this.panelEl=t,this.settings=e,this.init()}init(){this.panelEl.setAttribute("data-init",!0),this.panelEl.addEventListener("mouseenter",this.eventHandlerReferences["mouseenter.panel"]=()=>{this.dispatchEvent("panelMouseOver",{index:this.index})}),this.panelEl.addEventListener("mouseleave",this.eventHandlerReferences["mouseleave.panel"]=()=>{this.dispatchEvent("panelMouseOut",{index:this.index})}),this.panelEl.addEventListener("click",this.eventHandlerReferences["click.panel"]=()=>{this.dispatchEvent("panelClick",{index:this.index})}),this.panelEl.addEventListener("mousedown",this.eventHandlerReferences["mousedown.panel"]=()=>{this.dispatchEvent("panelMouseDown",{index:this.index})})}getPosition(){return{left:parseInt(this.panelEl.style.left,10),top:parseInt(this.panelEl.style.top,10)}}setPosition(t,e){this.panelEl.style.left=a(t),this.panelEl.style.top=a(e)}getSize(){return{width:parseInt(this.panelEl.style.width,10),height:parseInt(this.panelEl.style.height,10)}}setSize(t,e){this.panelEl.style.width=a(t),this.panelEl.style.height=a(e)}getContentSize(){return"complete"===n(this.panelEl)&&(this.isLoaded=!0),!1===this.isLoaded?((t=this.panelEl,new Promise(e=>{let i=n(t);if("loading"===i){const s=setInterval(()=>{i=n(t),"complete"===i&&(clearInterval(s),e("complete"))},100)}else e("complete")})).then(()=>{this.isLoaded=!0,this.dispatchEvent("imagesComplete",{index:this.index,contentSize:this.getContentSize()})}),"loading"):{width:this.panelEl.scrollWidth,height:this.panelEl.scrollHeight};var t}destroy(){this.panelEl.removeAttribute("style"),this.panelEl.removeAttribute("data-init"),this.panelEl.removeAttribute("data-index"),this.panelEl.removeEventListener("mouseenter",this.eventHandlerReferences["mouseenter.panel"]),this.panelEl.removeEventListener("mouseleave",this.eventHandlerReferences["mouseleave.panel"]),this.panelEl.removeEventListener("click",this.eventHandlerReferences["click.panel"]),this.panelEl.removeEventListener("mousedown",this.eventHandlerReferences["mousedown.panel"])}get index(){return this.#t}set index(t){this.#t=t,this.panelEl.setAttribute("data-index",this.#t)}},h=class extends r{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 d{accordion;static addOns=[];addOnsInstances=[];activeAddOns=null;constructor(t,e=null){this.accordion=t,this.activeAddOns=e}init(){this.accordion.addOns=this.accordion.addOns||{},(0===this.activeAddOns.length?d.addOns:this.activeAddOns).forEach(t=>{let e=new t(this.accordion);this.addOnsInstances.push(e),this.accordion.addOns[t.name]=e})}static add(t){"object"==typeof t?d.addOns=[...d.addOns,...t]:"function"==typeof t&&d.addOns.push(t)}destroyAll(){this.addOnsInstances.forEach(t=>{t.destroy()})}}const c=d;i(4520);const u=class{layerEl;visible=!1;visibleOn="ga-always";styled=!1;data=null;position=null;horizontalProperty=null;verticalProperty=null;horizontalPosition=null;verticalPosition=null;delayTimer=null;stayTimer=null;constructor(t){this.layerEl=t,this.init()}init(){this.layerEl.setAttribute("data-layer-init",!0),this.layerEl.classList.contains("ga-closed")?(this.visibleOn="closed",this.layerEl.style.visibility="hidden"):this.layerEl.classList.contains("ga-opened")?(this.visibleOn="opened",this.layerEl.style.visibility="hidden"):this.setStyle()}setStyle(){this.styled=!0,this.data=this.layerEl.dataset,void 0!==this.data.width&&(this.layerEl.style.width=a(this.data.width)),void 0!==this.data.height&&(this.layerEl.style.height=a(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()}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||"center"===this.horizontalPosition?("IMG"!==this.layerEl.tagName&&(null===t||null!==t&&-1===t.indexOf("width"))&&(this.layerEl.style.whiteSpace="nowrap",this.layerEl.style.width=a(this.layerEl.clientWidth)),this.layerEl.style.marginLeft="auto",this.layerEl.style.marginRight="auto",this.layerEl.style.left=0,this.layerEl.style.right=0):this.layerEl.style[this.horizontalProperty]=a(this.horizontalPosition),"center"===this.verticalProperty||"center"===this.verticalPosition?("IMG"!==this.layerEl.tagName&&(null===t||null!==t&&-1===t.indexOf("height"))&&(this.layerEl.style.whiteSpace="nowrap",this.layerEl.style.height=a(this.layerEl.clientHeight)),this.layerEl.style.marginTop="auto",this.layerEl.style.marginBottom="auto",this.layerEl.style.top=0,this.layerEl.style.bottom=0):this.layerEl.style[this.verticalProperty]=a(this.verticalPosition)}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,a={opacity:0,visibility:"visible"},o={opacity:1},r="";o.transition="opacity "+i+"s",void 0!==this.data.showTransition&&("left"===this.data.showTransition?r=e+"px, 0":"right"===this.data.showTransition?r="-"+e+"px, 0":"up"===this.data.showTransition?r="0, "+e+"px":"down"===this.data.showTransition&&(r="0, -"+e+"px"),a.transform="translate3d("+r+", 0)",o.transform="translate3d(0, 0, 0)",o.transition+=", transform "+i+"s");const l=e=>{e.target===e.currentTarget&&(this.layerEl.removeEventListener("transitionend",l),this.layerEl.style.transition="",-1!==n&&(this.stayTimer=setTimeout(function(){this.hide(),this.stayTimer=null},n)),void 0!==t&&t())};this.layerEl.addEventListener("transitionend",l);for(let t in a)this.layerEl.style[t]=a[t];this.delayTimer=setTimeout(()=>{for(let t in o)this.layerEl.style[t]=o[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="",a={opacity:0};a.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"),a.transform=" translate3d("+n+", 0)",a.transition+=", transform "+i+"s");const o=e=>{e.target===e.currentTarget&&(this.layerEl.removeEventListener("transitionend",o),this.layerEl.style.removeProperty("transition"),!1===this.visible&&(this.layerEl.style.visibility="hidden"),void 0!==t&&t())};this.layerEl.addEventListener("transitionend",o),this.delayTimer=setTimeout(()=>{for(let t in a)this.layerEl.style[t]=a[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}};i(2577);const p=class extends r{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 g extends p{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(g.vimeoVideos.push(this),!1===g.vimeoAPIAdded){g.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),g.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 m=g;class v extends p{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(v.youtubeVideos.push(this),!1===v.youtubeAPIAdded){v.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=()=>{v.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 y=v;class f extends r{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===f.players.indexOf(t)&&f.players.unshift(t)}init(){const t=this.videoEl.getAttribute("id"),e=f.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")}}f.addPlayer(class extends p{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()}}),f.addPlayer(class extends p{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()}}),f.addPlayer(y),f.addPlayer(m);const E=f;c.add([class{namespace="autoplay";accordion;settings;autoplayTimer;autoplayState="stopped";autoplayIndex=-1;isHover=!1;eventHandlerReferences={};defaults={autoplay:!0,autoplayDelay:5e3,autoplayDirection:"normal",autoplayOnHover:"pause"};constructor(t){this.accordion=t,this.init()}init(){this.accordion.addEventListener("update."+this.namespace,this.updateHandler.bind(this))}updateHandler(){this.settings={...this.defaults,...this.accordion.settings},!0===this.settings.autoplay&&"stopped"===this.autoplayState?(this.accordion.addEventListener("panelOpen."+this.namespace,()=>{this.panelOpenHandler()}),this.accordion.addEventListener("panelOpenComplete."+this.namespace,()=>{this.panelOpenCompleteHandler()}),this.accordion.addEventListener("panelsClose."+this.namespace,t=>{-1!==t.detail.previousIndex&&(this.autoplayIndex=t.detail.previousIndex)}),this.accordion.addEventListener("pageScroll."+this.namespace,()=>{this.autoplayIndex=this.accordion.getFirstPanelFromPage()-1}),this.accordion.accordionEl.addEventListener("mouseenter",this.eventHandlerReferences.mouseenter=()=>{this.mouseEnterHandler()}),this.accordion.accordionEl.addEventListener("mouseleave",this.eventHandlerReferences.mouseleave=()=>{this.mouseLeaveHandler()}),this.autoplayState="running",this.start()):!0===this.settings.autoplay&&"running"===this.autoplayState&&(this.accordion.removeEventListener("panelOpen."+this.namespace),this.accordion.removeEventListener("panelOpenComplete."+this.namespace),this.accordion.removeEventListener("mouseenter."+this.namespace),this.accordion.removeEventListener("mouseleave."+this.namespace),this.autoplayState="stopped",this.stop())}panelOpenHandler(){"running"===this.autoplayState&&(this.stop(),this.autoplayState="paused")}panelOpenCompleteHandler(){(!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(()=>{-1!==this.autoplayIndex&&(this.accordion.currentIndex=this.autoplayIndex,this.autoplayIndex=-1),"normal"===this.settings.autoplayDirection?this.accordion.nextPanel():"backwards"===this.settings.autoplayDirection&&this.accordion.previousPanel()},this.settings.autoplayDelay)}stop(){clearTimeout(this.autoplayTimer)}destroy(){clearTimeout(this.autoplayTimer),this.accordion.removeEventListener("update."+this.namespace),this.accordion.removeEventListener("panelOpen."+this.namespace),this.accordion.removeEventListener("panelOpenComplete."+this.namespace),this.accordion.removeEventListener("panelsClose."+this.namespace),this.accordion.removeEventListener("pageScroll."+this.namespace),this.accordion.accordionEl.removeEventListener("mouseenter",this.eventHandlerReferences.mouseenter),this.accordion.accordionEl.removeEventListener("mouseleave",this.eventHandlerReferences.mouseleave)}},class{namespace="breakpoints";accordion;breakpoints;originalSettings={};orderedBreakpoints=[];currentBreakpoint=-1;constructor(t){this.accordion=t,null!==this.accordion.settings.breakpoints&&this.accordion.addEventListener("beforeInit."+this.namespace,()=>{this.init()})}init(){this.breakpoints={...this.accordion.settings.breakpoints},this.originalSettings={...this.accordion.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.accordion.addEventListener("beforeResize."+this.namespace,()=>{const t=this.getCurrentSettings();!1!==t&&(this.accordion.settings={...t},this.accordion.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.accordion.removeEventListener("beforeInit."+this.namespace),this.accordion.removeEventListener("beforeResize."+this.namespace)}},class{namespace="buttons";accordion;settings;buttonsEl=null;eventHandlerReferences={};defaults={buttons:!0};constructor(t){this.accordion=t,this.init()}init(){this.accordion.addEventListener("update."+this.namespace,this.updateHandler.bind(this)),this.accordion.addEventListener("pageScroll."+this.namespace,t=>{void 0!==this.buttonsEl&&(this.buttonsEl.getElementsByClassName("ga-selected")[0].classList.remove("ga-selected"),this.buttonsEl.getElementsByClassName("ga-pagination-button")[t.detail.index].classList.add("ga-selected"))})}updateHandler(){this.settings={...this.defaults,...this.accordion.settings},this.buttonsEl=this.accordion.accordionEl.getElementsByClassName("ga-pagination-buttons")[0];const t=this.accordion.getTotalPages();!0===this.settings.buttons&&t>1&&void 0===this.buttonsEl?this.createButtons():!0===this.settings.buttons&&void 0!==this.buttonsEl&&t!==this.buttonsEl.getElementsByClassName("ga-pagination-button").length?this.adjustButtons():(!1===this.settings.buttons&&void 0!==this.buttonsEl||t<=1&&void 0!==this.buttonsEl)&&this.removeButtons()}createButtons(){this.buttonsEl=document.createElement("div"),this.buttonsEl.classList.add("ga-pagination-buttons"),this.accordion.accordionEl.appendChild(this.buttonsEl);for(let t=0;t<this.accordion.getTotalPages();t++){const e=document.createElement("div");e.classList.add("ga-pagination-button"),this.buttonsEl.appendChild(e),t===this.accordion.getCurrentPage()&&e.classList.add("ga-selected");const i=()=>{this.accordion.gotoPage(t)};this.eventHandlerReferences["click.button"+t]=i,e.addEventListener("click",i)}this.accordion.accordionEl.classList.add("ga-has-buttons")}adjustButtons(){this.removeButtons(),this.createButtons()}removeButtons(){Array.from(this.buttonsEl.getElementsByClassName("ga-pagination-button")).forEach((t,e)=>{const i=this.eventHandlerReferences["click.button"+e];t.removeEventListener("click",i)}),this.buttonsEl.remove(),this.accordion.accordionEl.classList.remove("ga-has-buttons")}destroy(){this.accordion.removeEventListener("pageScroll."+this.namespace),this.accordion.removeEventListener("update."+this.namespace),this.removeButtons()}},class{namespace="deeplinking";accordion;settings;defaults={updateHash:!1};eventHandlerReferences={};constructor(t){this.accordion=t,this.init()}init(){this.settings={...this.defaults,...this.accordion.settings},this.accordion.addEventListener("init."+this.namespace,()=>{this.gotoHash(window.location.hash)}),this.accordion.addEventListener("panelOpen."+this.namespace,t=>{if(!0===this.settings.updateHash){let e=this.accordion.accordionEl.getElementsByClassName("ga-panel")[t.detail.index].getAttribute("id");null===e&&(e=t.detail.index),window.location.hash=this.accordion.accordionEl.getAttribute("id")+"/"+e}}),window.addEventListener("hashchange",this.eventHandlerReferences.hashchange=()=>{this.gotoHash(window.location.hash)})}parseHash(t){if(""!==t){const e=(t=t.substring(1)).split("/").pop(),i=t.slice(0,-e.toString().length-1);if(this.accordion.accordionEl.getAttribute("id")===i)return{accordionId:i,panelId:e}}return!1}gotoHash(t){const e=this.parseHash(t);if(!1===e)return;const{panelId:i}=e,s=parseInt(i,10);if(isNaN(s)){const t=document.getElementById(i),e=Array.from(this.accordion.accordionEl.getElementsByClassName("ga-panel")).indexOf(t);-1!==e&&e!==this.accordion.getCurrentIndex()&&this.accordion.openPanel(e)}else s!==this.accordion.getCurrentIndex()&&this.accordion.openPanel(s)}destroy(){this.accordion.removeEventListener("init."+this.namespace),this.accordion.removeEventListener("panelOpen."+this.namespace),window.removeEventListener("hashchange",this.eventHandlerReferences.hashchange)}},class{namespace="keyboards";accordion;settings;isEnabled=!1;eventHandlerReferences={};defaults={keyboard:!0,keyboardOnlyOnFocus:!1,keyboardTarget:"panel"};constructor(t){this.accordion=t,this.init()}init(){this.accordion.addEventListener("update."+this.namespace,this.updateHandler.bind(this))}updateHandler(){this.settings={...this.defaults,...this.accordion.settings},!0===this.settings.keyboard&&!1===this.isEnabled&&(this.isEnabled=!0,this.enable()),!1===this.settings.keyboard&&!0===this.isEnabled&&(this.isEnabled=!1,this.disable())}enable(){let t=!1;this.accordion.accordionEl.addEventListener("focus",this.eventHandlerReferences.focus=()=>{t=!0}),this.accordion.accordionEl.addEventListener("blur",this.eventHandlerReferences.blur=()=>{t=!1});const e=e=>{if(!0!==this.settings.keyboardOnlyOnFocus||!1!==t)if(37===e.which)"panel"===this.settings.keyboardTarget?this.accordion.previousPanel():this.accordion.previousPage();else if(39===e.which)"panel"===this.settings.keyboardTarget?this.accordion.nextPanel():this.accordion.nextPage();else if(13===e.which){const t=this.accordion.accordionEl.getElementsByClassName("ga-panel")[this.accordion.getCurrentIndex()].querySelector(".ga-panel > a");null!==t&&t.click()}};this.eventHandlerReferences.keydown=e,document.addEventListener("keydown",e)}disable(){this.accordion.accordionEl.removeEventListener("focus",this.eventHandlerReferences.focus),this.accordion.accordionEl.removeEventListener("blur",this.eventHandlerReferences.blur),document.removeEventListener("keydown",this.eventHandlerReferences.keydown)}destroy(){this.accordion.removeEventListener("update."+this.namespace),this.disable()}},class{namespace="layers";accordion;settings;layers=[];constructor(t){this.accordion=t,this.init()}init(){this.settings={...this.defaults,...this.accordion.settings},this.accordion.addEventListener("update."+this.namespace,this.updateHandler.bind(this)),this.accordion.addEventListener("panelOpen."+this.namespace,this.panelOpenHandler.bind(this)),this.accordion.addEventListener("panelsClose."+this.namespace,t=>{this.handleLayersInClosedState(t.detail.previousIndex)})}updateHandler(){this.settings={...this.defaults,...this.accordion.settings},this.accordion.panels.forEach((t,e)=>{let i=t.panelEl;Array.from(i.querySelectorAll(".ga-layer:not([data-layer-init])")).forEach(t=>{let i=new u(t);this.layers.push({layer:i,panelIndex:e})}),this.accordion.currentIndex===e?this.handleLayersInOpenedState(e):this.handleLayersInClosedState(e)})}panelOpenHandler(t){this.handleLayersInClosedState(t.detail.previousIndex),this.handleLayersInOpenedState(t.detail.index)}handleLayersInOpenedState(t){this.layers.filter(e=>e.panelIndex===t).forEach(t=>{const e=t.layer;"opened"===e.visibleOn?e.show():"closed"===e.visibleOn&&e.hide()})}handleLayersInClosedState(t){this.layers.filter(e=>e.panelIndex===t).forEach(t=>{const e=t.layer;"opened"===e.visibleOn?e.hide():"closed"===e.visibleOn&&e.show()})}destroy(){this.accordion.removeEventListener("update."+this.namespace),this.accordion.removeEventListener("panelOpen."+this.namespace),this.layers.forEach(t=>{t.destroy()})}},class{namespace="lazyloading";accordion;constructor(t){this.accordion=t,this.init()}init(){this.accordion.addEventListener("update."+this.namespace,this.checkAndLoadVisibleImages.bind(this)),this.accordion.addEventListener("pageScroll."+this.namespace,this.checkAndLoadVisibleImages.bind(this))}checkAndLoadVisibleImages(){const t=this.accordion.getFirstPanelFromPage(),e=this.accordion.getLastPanelFromPage();(e!==this.accordion.getTotalPanels()-1?this.accordion.panels.slice(t,e+1):this.accordion.panels.slice(t)).forEach(t=>{const e=t.panelEl;null===e.getAttribute("data-loaded")&&(e.setAttribute("data-loaded",!0),Array.from(e.getElementsByTagName("img")).forEach(t=>{this.loadImage(t)}))})}loadImage(t,e=null){const i=new Image;i.setAttribute("class",t.getAttribute("class")),i.setAttribute("style",t.getAttribute("style"));for(let e in t.dataset)i.setAttribute("data-"+e,t.dataset[e]);null!==t.getAttribute("width")&&i.setAttribute("width",t.getAttribute("width")),null!==t.getAttribute("height")&&i.setAttribute("height",t.getAttribute("height")),null!==t.getAttribute("alt")&&i.setAttribute("alt",t.getAttribute("alt")),null!==t.getAttribute("title")&&i.setAttribute("title",t.getAttribute("title")),null!==t.getAttribute("data-src")?(i.setAttribute("src",t.getAttribute("data-src")),i.removeAttribute("data-src")):i.setAttribute("src",t.getAttribute("src")),null!==t.getAttribute("data-srcset")&&(i.setAttribute("srcset",t.getAttribute("data-srcset")),i.removeAttribute("data-srcset")),t.after(i),t.remove(),t=null,"function"==typeof e&&e(i)}destroy(){this.accordion.removeEventListener("update."+this.namespace),this.accordion.removeEventListener("gotoSlide."+this.namespace)}},class{namespace="retina";accordion;constructor(t){this.accordion=t,this.init()}init(){window.devicePixelRatio<2||this.accordion.addEventListener("update."+this.namespace,this.updateHandler.bind(this))}updateHandler(){this.accordion.panels.forEach(t=>{const e=t.panelEl;null===e.getAttribute("data-retina-loaded")&&(e.setAttribute("data-retina-loaded",!0),Array.from(e.querySelectorAll("img[data-retina]")).forEach(t=>{null!==t.getAttribute("data-src")?(t.setAttribute("data-src",t.getAttribute("data-retina")),t.removeAttribute("data-retina")):this.loadImage(t)}))})}loadImage(t,e=null){let i=!1,s="";if(null!==t.getAttribute("data-retina")&&(i=!0,s=t.getAttribute("data-retina")),null!==t.getAttribute("data-src")&&(!1===i&&(s=t.getAttribute("data-src")),t.removeAttribute("data-src")),""===s)return;const n=new Image;n.setAttribute("class",t.getAttribute("class")),n.setAttribute("style",t.getAttribute("style"));for(let e in t.dataset)n.setAttribute("data-"+e,t.dataset[e]);null!==t.getAttribute("width")&&n.setAttribute("width",t.getAttribute("width")),null!==t.getAttribute("height")&&n.setAttribute("height",t.getAttribute("height")),null!==t.getAttribute("alt")&&n.setAttribute("alt",t.getAttribute("alt")),null!==t.getAttribute("title")&&n.setAttribute("titl