/*! For license information please see main.js.LICENSE.txt */
!function(){var e,t,n,i,r={"./node_modules/classnames/index.js":function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},"./node_modules/decode-uri-component/index.js":function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),i=new RegExp("("+t+")+","gi");function r(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),i=e.slice(t);return Array.prototype.concat.call([],r(n),r(i))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),i=1;i<t.length;i++)t=(e=r(t,i).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=i.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=o(n[0]);r!==n[0]&&(t[n[0]]=r)}n=i.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},"./node_modules/element-closest-polyfill/index.js":function(){"undefined"!=typeof Element&&(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}))},"./node_modules/filter-obj/index.js":function(e){"use strict";e.exports=function(e,t){for(var n={},i=Object.keys(e),r=Array.isArray(t),o=0;o<i.length;o++){var a=i[o],s=e[a];(r?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},"./node_modules/fuse.js/dist/fuse.esm.js":function(e,t,n){"use strict";function i(e){return Array.isArray?Array.isArray(e):"[object Array]"===u(e)}n.d(t,{Z:function(){return Y}});function r(e){return"string"==typeof e}function o(e){return"number"==typeof e}function a(e){return!0===e||!1===e||function(e){return s(e)&&null!==e}(e)&&"[object Boolean]"==u(e)}function s(e){return"object"==typeof e}function l(e){return null!=e}function c(e){return!e.trim().length}function u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const d=Object.prototype.hasOwnProperty;class p{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=f(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function f(e){let t=null,n=null,o=null,a=1,s=null;if(r(e)||i(e))o=e,t=h(e),n=v(e);else{if(!d.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(o=i,d.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=h(i),n=v(i),s=e.getFn}return{path:t,id:n,weight:a,src:o,getFn:s}}function h(e){return i(e)?e:e.split(".")}function v(e){return i(e)?e.join("."):e}var m={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],s=!1;const c=(e,t,u)=>{if(l(e))if(t[u]){const d=e[t[u]];if(!l(d))return;if(u===t.length-1&&(r(d)||o(d)||a(d)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(d));else if(i(d)){s=!0;for(let e=0,n=d.length;e<n;e+=1)c(d[e],t,u+1)}else t.length&&c(d,t,u+1)}else n.push(e)};return c(e,r(t)?t.split("."):t,0),s?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const g=/[^ ]+/g;class _{constructor({getFn:e=m.getFn,fieldNormWeight:t=m.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const r=t.match(g).length;if(n.has(r))return n.get(r);const o=1/Math.pow(r,.5*e),a=parseFloat(Math.round(o*i)/i);return n.set(r,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,r(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();r(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!l(e)||c(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,o)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(l(a))if(i(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:o}=t.pop();if(l(o))if(r(o)&&!c(o)){let t={v:o,i:n,n:this.norm.get(o)};e.push(t)}else i(o)&&o.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[o]=e}else if(r(a)&&!c(a)){let e={v:a,n:this.norm.get(a)};n.$[o]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function y(e,t,{getFn:n=m.getFn,fieldNormWeight:i=m.fieldNormWeight}={}){const r=new _({getFn:n,fieldNormWeight:i});return r.setKeys(e.map(f)),r.setSources(t),r.create(),r}function w(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:r=m.distance,ignoreLocation:o=m.ignoreLocation}={}){const a=t/e.length;if(o)return a;const s=Math.abs(i-n);return r?a+s/r:s?1:a}const b=32;function x(e,t,n,{location:i=m.location,distance:r=m.distance,threshold:o=m.threshold,findAllMatches:a=m.findAllMatches,minMatchCharLength:s=m.minMatchCharLength,includeMatches:l=m.includeMatches,ignoreLocation:c=m.ignoreLocation}={}){if(t.length>b)throw new Error(`Pattern length exceeds max of ${b}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(i,d));let f=o,h=p;const v=s>1||l,g=v?Array(d):[];let _;for(;(_=e.indexOf(t,h))>-1;){let e=w(t,{currentLocation:_,expectedLocation:p,distance:r,ignoreLocation:c});if(f=Math.min(e,f),h=_+u,v){let e=0;for(;e<u;)g[_+e]=1,e+=1}}h=-1;let y=[],x=1,C=u+d;const E=1<<u-1;for(let i=0;i<u;i+=1){let o=0,s=C;for(;o<s;){w(t,{errors:i,currentLocation:p+s,expectedLocation:p,distance:r,ignoreLocation:c})<=f?o=s:C=s,s=Math.floor((C-o)/2+o)}C=s;let l=Math.max(1,p-s+1),m=a?d:Math.min(p+s,d)+u,_=Array(m+2);_[m+1]=(1<<i)-1;for(let o=m;o>=l;o-=1){let a=o-1,s=n[e.charAt(a)];if(v&&(g[a]=+!!s),_[o]=(_[o+1]<<1|1)&s,i&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(x=w(t,{errors:i,currentLocation:a,expectedLocation:p,distance:r,ignoreLocation:c}),x<=f)){if(f=x,h=a,h<=p)break;l=Math.max(1,2*p-h)}}if(w(t,{errors:i+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c})>f)break;y=_}const S={isMatch:h>=0,score:Math.max(.001,x)};if(v){const e=function(e=[],t=m.minMatchCharLength){let n=[],i=-1,r=-1,o=0;for(let a=e.length;o<a;o+=1){let a=e[o];a&&-1===i?i=o:a||-1===i||(r=o-1,r-i+1>=t&&n.push([i,r]),i=-1)}return e[o-1]&&o-i>=t&&n.push([i,o-1]),n}(g,s);e.length?l&&(S.indices=e):S.isMatch=!1}return S}function C(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<i-n-1}return t}class E{constructor(e,{location:t=m.location,threshold:n=m.threshold,distance:i=m.distance,includeMatches:r=m.includeMatches,findAllMatches:o=m.findAllMatches,minMatchCharLength:a=m.minMatchCharLength,isCaseSensitive:s=m.isCaseSensitive,ignoreLocation:l=m.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:C(e),startIndex:t})},u=this.pattern.length;if(u>b){let e=0;const t=u%b,n=u-t;for(;e<n;)c(this.pattern.substr(e,b),e),e+=b;if(t){const e=u-b;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:r,threshold:o,findAllMatches:a,minMatchCharLength:s,ignoreLocation:l}=this.options;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:f})=>{const{isMatch:h,score:v,indices:m}=x(e,t,p,{location:i+f,distance:r,threshold:o,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:l});h&&(d=!0),u+=v,h&&m&&(c=[...c,...m])}));let p={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class S{constructor(e){this.pattern=e}static isMultiMatch(e){return k(e,this.multiRegex)}static isSingleMatch(e){return k(e,this.singleRegex)}search(){}}function k(e,t){const n=e.match(t);return n?n[1]:null}class T extends S{constructor(e,{location:t=m.location,threshold:n=m.threshold,distance:i=m.distance,includeMatches:r=m.includeMatches,findAllMatches:o=m.findAllMatches,minMatchCharLength:a=m.minMatchCharLength,isCaseSensitive:s=m.isCaseSensitive,ignoreLocation:l=m.ignoreLocation}={}){super(e),this._bitapSearch=new E(e,{location:t,threshold:n,distance:i,includeMatches:r,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class M extends S{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const i=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+r,i.push([t,n-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const A=[class extends S{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},M,class extends S{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends S{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},T],O=A.length,L=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const P=new Set([T.type,M.type]);class j{constructor(e,{isCaseSensitive:t=m.isCaseSensitive,includeMatches:n=m.includeMatches,minMatchCharLength:i=m.minMatchCharLength,ignoreLocation:r=m.ignoreLocation,findAllMatches:o=m.findAllMatches,location:a=m.location,threshold:s=m.threshold,distance:l=m.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:i,findAllMatches:o,ignoreLocation:r,location:a,threshold:s,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(L).filter((e=>e&&!!e.trim())),i=[];for(let e=0,r=n.length;e<r;e+=1){const r=n[e];let o=!1,a=-1;for(;!o&&++a<O;){const e=A[a];let n=e.isMultiMatch(r);n&&(i.push(new e(n,t)),o=!0)}if(!o)for(a=-1;++a<O;){const e=A[a];let n=e.isSingleMatch(r);if(n){i.push(new e(n,t));break}}}return i}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let r=0,o=[],a=0;for(let i=0,s=t.length;i<s;i+=1){const s=t[i];o.length=0,r=0;for(let t=0,i=s.length;t<i;t+=1){const i=s[t],{isMatch:l,indices:c,score:u}=i.search(e);if(!l){a=0,r=0,o.length=0;break}if(r+=1,a+=u,n){const e=i.constructor.type;P.has(e)?o=[...o,...c]:o.push(c)}}if(r){let e={isMatch:!0,score:a/r};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const I=[];function D(e,t){for(let n=0,i=I.length;n<i;n+=1){let i=I[n];if(i.condition(e,t))return new i(e,t)}return new E(e,t)}const N="$and",B="$or",R="$path",F="$val",$=e=>!(!e[N]&&!e[B]),H=e=>({[N]:Object.keys(e).map((t=>({[t]:e[t]})))});function q(e,t,{auto:n=!0}={}){const o=e=>{let a=Object.keys(e);const l=(e=>!!e[R])(e);if(!l&&a.length>1&&!$(e))return o(H(e));if((e=>!i(e)&&s(e)&&!$(e))(e)){const i=l?e[R]:a[0],o=l?e[F]:e[i];if(!r(o))throw new Error((e=>`Invalid value for key ${e}`)(i));const s={keyId:v(i),pattern:o};return n&&(s.searcher=D(o,t)),s}let c={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];i(n)&&n.forEach((e=>{c.children.push(o(e))}))})),c};return $(e)||(e=H(e)),o(e)}function V(e,t){const n=e.matches;t.matches=[],l(n)&&n.forEach((e=>{if(!l(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let r={indices:n,value:i};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function z(e,t){t.score=e.score}class Y{constructor(e,t={},n){this.options={...m,...t},this.options.useExtendedSearch,this._keyStore=new p(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof _))throw new Error("Incorrect 'index' type");this._myIndex=t||y(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){l(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const r=this._docs[n];e(r,n)&&(this.removeAt(n),n-=1,i-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:i,shouldSort:a,sortFn:s,ignoreFieldNorm:l}=this.options;let c=r(e)?r(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=m.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:r})=>{const o=e?e.weight:null;n*=Math.pow(0===r&&o?Number.EPSILON:r,(o||1)*(t?1:i))})),e.score=n}))}(c,{ignoreFieldNorm:l}),a&&c.sort(s),o(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=m.includeMatches,includeScore:i=m.includeScore}={}){const r=[];return n&&r.push(V),i&&r.push(z),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return r.length&&r.forEach((t=>{t(e,i)})),i}))}(c,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const t=D(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:r})=>{if(!l(e))return;const{isMatch:o,score:a,indices:s}=t.searchIn(e);o&&i.push({item:e,idx:n,matches:[{score:a,value:e,norm:r,indices:s}]})})),i}_searchLogical(e){const t=q(e,this.options),n=(e,t,i)=>{if(!e.children){const{keyId:n,searcher:r}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:r});return o&&o.length?[{idx:i,item:t,matches:o}]:[]}const r=[];for(let o=0,a=e.children.length;o<a;o+=1){const a=e.children[o],s=n(a,t,i);if(s.length)r.push(...s);else if(e.operator===N)return[]}return r},i=this._myIndex.records,r={},o=[];return i.forEach((({$:e,i:i})=>{if(l(e)){let a=n(t,e,i);a.length&&(r[i]||(r[i]={idx:i,item:e,matches:[]},o.push(r[i])),a.forEach((({matches:e})=>{r[i].matches.push(...e)})))}})),o}_searchObjectList(e){const t=D(e,this.options),{keys:n,records:i}=this._myIndex,r=[];return i.forEach((({$:e,i:i})=>{if(!l(e))return;let o=[];n.forEach(((n,i)=>{o.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),o.length&&r.push({idx:i,item:e,matches:o})})),r}_findMatches({key:e,value:t,searcher:n}){if(!l(t))return[];let r=[];if(i(t))t.forEach((({v:t,i:i,n:o})=>{if(!l(t))return;const{isMatch:a,score:s,indices:c}=n.searchIn(t);a&&r.push({score:s,key:e,value:t,idx:i,norm:o,indices:c})}));else{const{v:i,n:o}=t,{isMatch:a,score:s,indices:l}=n.searchIn(i);a&&r.push({score:s,key:e,value:i,norm:o,indices:l})}return r}}Y.version="6.6.2",Y.createIndex=y,Y.parseIndex=function(e,{getFn:t=m.getFn,fieldNormWeight:n=m.fieldNormWeight}={}){const{keys:i,records:r}=e,o=new _({getFn:t,fieldNormWeight:n});return o.setKeys(i),o.setIndexRecords(r),o},Y.config=m,Y.parseQuery=q,function(...e){I.push(...e)}(j)},"./node_modules/preact/compat/dist/compat.module.js":function(e,t,n){"use strict";n.r(t),n.d(t,{Children:function(){return h},Component:function(){return i.wA},Fragment:function(){return i.HY},PureComponent:function(){return l},StrictMode:function(){return Z},Suspense:function(){return y},SuspenseList:function(){return x},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:function(){return H},cloneElement:function(){return Y},createContext:function(){return i.kr},createElement:function(){return i.az},createFactory:function(){return V},createPortal:function(){return k},createRef:function(){return i.Vf},default:function(){return ne},findDOMNode:function(){return W},flushSync:function(){return G},forwardRef:function(){return p},hydrate:function(){return P},isValidElement:function(){return z},lazy:function(){return b},memo:function(){return c},render:function(){return L},startTransition:function(){return J},unmountComponentAtNode:function(){return U},unstable_batchedUpdates:function(){return X},useCallback:function(){return r.I4},useContext:function(){return r.qp},useDebugValue:function(){return r.Qb},useDeferredValue:function(){return K},useEffect:function(){return r.d4},useErrorBoundary:function(){return r.cO},useId:function(){return r.Me},useImperativeHandle:function(){return r.aP},useInsertionEffect:function(){return ee},useLayoutEffect:function(){return r.bt},useMemo:function(){return r.Ye},useReducer:function(){return r._Y},useRef:function(){return r.sO},useState:function(){return r.eJ},useSyncExternalStore:function(){return te},useTransition:function(){return Q},version:function(){return q}});var i=n("./node_modules/preact/dist/preact.module.js"),r=n("./node_modules/preact/hooks/dist/hooks.module.js");function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function s(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function l(e){this.props=e}function c(e,t){function n(e){var n=this.props.ref,i=n==e.ref;return!i&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!i:a(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,i.az)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(l.prototype=new i.wA).isPureReactComponent=!0,l.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)};var u=i.YM.__b;i.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),u&&u(e)};var d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function p(e){function t(t){var n=o({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=d,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var f=function(e,t){return null==e?null:(0,i.bR)((0,i.bR)(e).map(t))},h={map:f,forEach:f,count:function(e){return e?(0,i.bR)(e).length:0},only:function(e){var t=(0,i.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:i.bR},v=i.YM.__e;i.YM.__e=function(e,t,n,i){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);v(e,t,n,i)};var m=i.YM.unmount;function g(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=o({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return g(e,t,n)}))),e}function _(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function y(){this.__u=0,this.t=null,this.__b=null}function w(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function b(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return(0,i.az)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function x(){this.u=null,this.o=null}i.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),m&&m(e)},(y.prototype=new i.wA).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=w(i.__v),o=!1,a=function(){o||(o=!0,n.__R=null,r?r(s):s())};n.__R=a;var s=function(){if(!--i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=_(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=g(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&(0,i.az)(i.HY,null,e.fallback);return o&&(o.__h=null),[(0,i.az)(i.HY,null,t.__a?null:e.children),o]};var C=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function E(e){return this.getChildContext=function(){return e.context},e.children}function S(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,i.sY)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,i.sY)((0,i.az)(E,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function k(e,t){var n=(0,i.az)(S,{__v:e,i:t});return n.containerInfo=t,n}(x.prototype=new i.wA).__a=function(e){var t=this,n=w(t.__v),i=t.o.get(e);return i[0]++,function(r){var o=function(){t.props.revealOrder?(i.push(r),C(t,e,i)):r()};n?n(o):o()}},x.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,i.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},x.prototype.componentDidUpdate=x.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){C(e,n,t)}))};var T="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,M=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,A="undefined"!=typeof document,O=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function L(e,t,n){return null==t.__k&&(t.textContent=""),(0,i.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null}function P(e,t,n){return(0,i.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null}i.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(i.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var j=i.YM.event;function I(){}function D(){return this.cancelBubble}function N(){return this.defaultPrevented}i.YM.event=function(e){return j&&(e=j(e)),e.persist=I,e.isPropagationStopped=D,e.isDefaultPrevented=N,e.nativeEvent=e};var B,R={configurable:!0,get:function(){return this.class}},F=i.YM.vnode;i.YM.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var a in r={},n){var s=n[a];A&&"children"===a&&"noscript"===t||"value"===a&&"defaultValue"in n&&null==s||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===s?s="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!O(n.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():o&&M.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,i.bR)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,i.bR)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(R.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",R))}e.$$typeof=T,F&&F(e)};var $=i.YM.__r;i.YM.__r=function(e){$&&$(e),B=e.__c};var H={ReactCurrentDispatcher:{current:{readContext:function(e){return B.__n[e.__c].props.value}}}},q="17.0.2";function V(e){return i.az.bind(null,e)}function z(e){return!!e&&e.$$typeof===T}function Y(e){return z(e)?i.Tm.apply(null,arguments):e}function U(e){return!!e.__k&&((0,i.sY)(null,e),!0)}function W(e){return e&&(e.base||1===e.nodeType&&e)||null}var X=function(e,t){return e(t)},G=function(e,t){return e(t)},Z=i.HY;function J(e){e()}function K(e){return e}function Q(){return[!1,J]}var ee=r.bt;function te(e,t){var n=t(),i=(0,r.eJ)({h:{__:n,v:t}}),o=i[0].h,a=i[1];return(0,r.bt)((function(){o.__=n,o.v=t,s(o.__,t())||a({h:o})}),[e,n,t]),(0,r.d4)((function(){return s(o.__,o.v())||a({h:o}),e((function(){s(o.__,o.v())||a({h:o})}))}),[e]),n}var ne={useState:r.eJ,useId:r.Me,useReducer:r._Y,useEffect:r.d4,useLayoutEffect:r.bt,useInsertionEffect:ee,useTransition:Q,useDeferredValue:K,useSyncExternalStore:te,startTransition:J,useRef:r.sO,useImperativeHandle:r.aP,useMemo:r.Ye,useCallback:r.I4,useContext:r.qp,useDebugValue:r.Qb,version:"17.0.2",Children:h,render:L,hydrate:P,unmountComponentAtNode:U,createPortal:k,createElement:i.az,createContext:i.kr,createFactory:V,cloneElement:Y,createRef:i.Vf,Fragment:i.HY,isValidElement:z,findDOMNode:W,Component:i.wA,PureComponent:l,memo:c,forwardRef:p,flushSync:G,unstable_batchedUpdates:X,StrictMode:Z,Suspense:y,SuspenseList:x,lazy:b,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H}},"./node_modules/preact/dist/preact.module.js":function(e,t,n){"use strict";n.d(t,{HY:function(){return g},Tm:function(){return F},Vf:function(){return m},YM:function(){return r},ZB:function(){return R},az:function(){return h},bR:function(){return S},h:function(){return h},kr:function(){return $},sY:function(){return B},wA:function(){return _}});var i,r,o,a,s,l,c={},u=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var r,o,a,s={};for(a in t)"key"==a?r=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return v(e,s,r,o,null)}function v(e,t,n,i,a){var s={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(s),s}function m(){return{current:null}}function g(e){return e.children}function _(e,t){this.props=e,this.context=t}function y(e,t){if(null==t)return e.__?y(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?y(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function b(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!x.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||setTimeout)(x)}function x(){for(var e;x.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,i,r,o,a;e.__d&&(o=(r=(t=e).__v).__e,(a=t.__P)&&(n=[],(i=p({},r)).__v=r.__v+1,L(a,r,i,t.__n,void 0!==a.ownerSVGElement,null!=r.__h?[o]:null,n,null==o?y(r):o,r.__h),P(n,r),r.__e!=o&&w(r)))}))}function C(e,t,n,i,r,o,a,s,l,d){var p,f,h,m,_,w,b,x=i&&i.__k||u,C=x.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(m=n.__k[p]=null==(m=t[p])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?v(null,m,null,null,m):Array.isArray(m)?v(g,{children:m},null,null,null):m.__b>0?v(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=x[p])||h&&m.key==h.key&&m.type===h.type)x[p]=void 0;else for(f=0;f<C;f++){if((h=x[f])&&m.key==h.key&&m.type===h.type){x[f]=void 0;break}h=null}L(e,m,h=h||c,r,o,a,s,l,d),_=m.__e,(f=m.ref)&&h.ref!=f&&(b||(b=[]),h.ref&&b.push(h.ref,null,m),b.push(f,m.__c||_,m)),null!=_?(null==w&&(w=_),"function"==typeof m.type&&m.__k===h.__k?m.__d=l=E(m,l,e):l=k(e,m,h,x,_,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=y(h))}for(n.__e=w,p=C;p--;)null!=x[p]&&D(x[p],x[p]);if(b)for(p=0;p<b.length;p++)I(b[p],b[++p],b[++p])}function E(e,t,n){for(var i,r=e.__k,o=0;r&&o<r.length;o++)(i=r[o])&&(i.__=e,t="function"==typeof i.type?E(i,t,n):k(n,i,i,r,i.__e,t));return t}function S(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,t)})):t.push(e)),t}function k(e,t,n,i,r,o){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),a=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<i.length;l+=1)if(s==r)break e;e.insertBefore(r,o),a=o}return void 0!==a?a:r.nextSibling}function T(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function M(e,t,n,i,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||T(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?i||e.addEventListener(t,o?O:A,o):e.removeEventListener(t,o?O:A,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function A(e){this.l[e.type+!1](r.event?r.event(e):e)}function O(e){this.l[e.type+!0](r.event?r.event(e):e)}function L(e,t,n,i,o,a,s,l,c){var u,d,f,h,v,m,y,w,b,x,E,S,k,T,M,A=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=r.__b)&&u(t);try{e:if("function"==typeof A){if(w=t.props,b=(u=A.contextType)&&i[u.__c],x=u?b?b.props.value:u.__:i,n.__c?y=(d=t.__c=n.__c).__=d.__E:("prototype"in A&&A.prototype.render?t.__c=d=new A(w,x):(t.__c=d=new _(w,x),d.constructor=A,d.render=N),b&&b.sub(d),d.props=w,d.state||(d.state={}),d.context=x,d.__n=i,f=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=A.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,A.getDerivedStateFromProps(w,d.__s))),h=d.props,v=d.state,f)null==A.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==A.getDerivedStateFromProps&&w!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,x)||t.__v===n.__v){for(d.props=w,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[],d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,v,m)}))}if(d.context=x,d.props=w,d.__v=t,d.__P=e,S=r.__r,k=0,"prototype"in A&&A.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),T=0;T<d._sb.length;T++)d.__h.push(d._sb[T]);d._sb=[]}else do{d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(i=p(p({},i),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,v)),M=null!=u&&u.type===g&&null==u.key?u.props.children:u,C(e,Array.isArray(M)?M:[M],t,n,i,o,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,i,o,a,s,c);(u=r.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),r.__e(e,t,n)}}function P(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function j(e,t,n,r,o,a,s,l){var u,d,p,h=n.props,v=t.props,m=t.type,g=0;if("svg"===m&&(o=!0),null!=a)for(;g<a.length;g++)if((u=a[g])&&"setAttribute"in u==!!m&&(m?u.localName===m:3===u.nodeType)){e=u,a[g]=null;break}if(null==e){if(null===m)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),a=null,l=!1}if(null===m)h===v||l&&e.data===v||(e.data=v);else{if(a=a&&i.call(e.childNodes),d=(h=n.props||c).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!l){if(null!=a)for(h={},g=0;g<e.attributes.length;g++)h[e.attributes[g].name]=e.attributes[g].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,i,r){var o;for(o in n)"children"===o||"key"===o||o in t||M(e,o,null,n[o],i);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||M(e,o,t[o],n[o],i)}(e,v,h,o,l),p)t.__k=[];else if(g=t.props.children,C(e,Array.isArray(g)?g:[g],t,n,r,o&&"foreignObject"!==m,a,s,a?a[0]:n.__k&&y(n,0),l),null!=a)for(g=a.length;g--;)null!=a[g]&&f(a[g]);l||("value"in v&&void 0!==(g=v.value)&&(g!==e.value||"progress"===m&&!g||"option"===m&&g!==h.value)&&M(e,"value",g,h.value,!1),"checked"in v&&void 0!==(g=v.checked)&&g!==e.checked&&M(e,"checked",g,h.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function D(e,t,n){var i,o;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||I(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&D(i[o],t,n||"function"!=typeof e.type);n||null==e.__e||f(e.__e),e.__=e.__e=e.__d=void 0}function N(e,t,n){return this.constructor(e,n)}function B(e,t,n){var o,a,s;r.__&&r.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],L(t,e=(!o&&n||t).__k=h(g,null,[e]),a||c,c,void 0!==t.ownerSVGElement,!o&&n?[n]:a?null:t.firstChild?i.call(t.childNodes):null,s,!o&&n?n:a?a.__e:t.firstChild,o),P(s,e)}function R(e,t){B(e,t,R)}function F(e,t,n){var r,o,a,s=p({},e.props);for(a in t)"key"==a?r=t[a]:"ref"==a?o=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),v(e.type,s,r||e.key,o||e.ref,null)}function $(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(b)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}i=u.slice,r={__e:function(e,t,n,i){for(var r,o,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),a=r.__d),a)return r.__E=r}catch(t){e=t}throw e}},o=0,_.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),b(this))},_.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},_.prototype.render=g,a=[],x.__r=0,l=0},"./node_modules/preact/hooks/dist/hooks.module.js":function(e,t,n){"use strict";n.d(t,{I4:function(){return E},Me:function(){return M},Qb:function(){return k},Ye:function(){return C},_Y:function(){return _},aP:function(){return x},bt:function(){return w},cO:function(){return T},d4:function(){return y},eJ:function(){return g},qp:function(){return S},sO:function(){return b}});var i,r,o,a,s=n("./node_modules/preact/dist/preact.module.js"),l=0,c=[],u=[],d=s.YM.__b,p=s.YM.__r,f=s.YM.diffed,h=s.YM.__c,v=s.YM.unmount;function m(e,t){s.YM.__h&&s.YM.__h(r,e,l||t),l=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function g(e){return l=1,_(D,e)}function _(e,t,n){var o=m(i++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):D(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],n=o.t(t,e);t!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){r.u=!0;var a=r.shouldComponentUpdate;r.shouldComponentUpdate=function(e,t,n){if(!o.__c.__H)return!0;var i=o.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var r=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}})),!(!r&&o.__c.props===e)&&(!a||a.call(this,e,t,n))}}return o.__N||o.__}function y(e,t){var n=m(i++,3);!s.YM.__s&&I(n.__H,t)&&(n.__=e,n.i=t,r.__H.__h.push(n))}function w(e,t){var n=m(i++,4);!s.YM.__s&&I(n.__H,t)&&(n.__=e,n.i=t,r.__h.push(n))}function b(e){return l=5,C((function(){return{current:e}}),[])}function x(e,t,n){l=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function C(e,t){var n=m(i++,7);return I(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function E(e,t){return l=8,C((function(){return e}),t)}function S(e){var t=r.context[e.__c],n=m(i++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(r)),t.props.value):e.__}function k(e,t){s.YM.useDebugValue&&s.YM.useDebugValue(t?t(e):e)}function T(e){var t=m(i++,10),n=g();return t.__=e,r.componentDidCatch||(r.componentDidCatch=function(e,i){t.__&&t.__(e,i),n[1](e)}),[n[0],function(){n[1](void 0)}]}function M(){var e=m(i++,11);if(!e.__){for(var t=r.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function A(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(P),e.__H.__h.forEach(j),e.__H.__h=[]}catch(t){e.__H.__h=[],s.YM.__e(t,e.__v)}}s.YM.__b=function(e){r=null,d&&d(e)},s.YM.__r=function(e){p&&p(e),i=0;var t=(r=e.__c).__H;t&&(o===r?(t.__h=[],r.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.i=void 0}))):(t.__h.forEach(P),t.__h.forEach(j),t.__h=[])),o=r},s.YM.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&a===s.YM.requestAnimationFrame||((a=s.YM.requestAnimationFrame)||L)(A)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==u&&(e.__=e.__V),e.i=void 0,e.__V=u}))),o=r=null},s.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(P),e.__h=e.__h.filter((function(e){return!e.__||j(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],s.YM.__e(n,e.__v)}})),h&&h(e,t)},s.YM.unmount=function(e){v&&v(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{P(e)}catch(e){t=e}})),n.__H=void 0,t&&s.YM.__e(t,n.__v))};var O="function"==typeof requestAnimationFrame;function L(e){var t,n=function(){clearTimeout(i),O&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);O&&(t=requestAnimationFrame(n))}function P(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function j(e){var t=r;e.__c=e.__(),r=t}function I(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function D(e,t){return"function"==typeof t?t(e):t}},"./node_modules/prop-types/factoryWithThrowingShims.js":function(e,t,n){"use strict";var i=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":function(e,t,n){e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/query-string/index.js":function(e,t,n){"use strict";const i=n("./node_modules/strict-uri-encode/index.js"),r=n("./node_modules/decode-uri-component/index.js"),o=n("./node_modules/split-on-first/index.js"),a=n("./node_modules/filter-obj/index.js"),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function u(e,t){return t.decode?r(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function v(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,i)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===i[e]&&(i[e]={}),i[e][t[1]]=n):i[e]=n};case"bracket":return(e,n,i)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==i[e]?i[e]=[].concat(i[e],n):i[e]=[n]:i[e]=n};case"colon-list-separator":return(e,n,i)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==i[e]?i[e]=[].concat(i[e],n):i[e]=[n]:i[e]=n};case"comma":case"separator":return(t,n,i)=>{const r="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!r&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=r||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);i[t]=a};case"bracket-separator":return(t,n,i)=>{const r=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!r)return void(i[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==i[t]?i[t]=[].concat(i[t],o):i[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),i=Object.create(null);if("string"!=typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;for(const r of e.split("&")){if(""===r)continue;let[e,a]=o(t.decode?r.replace(/\+/g," "):r,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,i)}for(const e of Object.keys(i)){const n=i[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else i[e]=h(n,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce(((e,t)=>{const n=i[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=v,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],i=function(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{const r=n.length;return void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[c(t,e),"[",r,"]"].join("")]:[...n,[c(t,e),"[",c(r,e),"]=",c(i,e)].join("")]};case"bracket":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(i,e)].join("")];case"colon-list-separator":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(i,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(i,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?i:(r=null===r?"":r,0===i.length?[[c(n,e),t,c(r,e)].join("")]:[[i,c(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?[...n,c(t,e)]:[...n,[c(t,e),"=",c(i,e)].join("")]}}(t),r={};for(const t of Object.keys(e))n(t)||(r[t]=e[t]);const o=Object.keys(r);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const r=e[n];return void 0===r?"":null===r?c(n,t):Array.isArray(r)?0===r.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":r.reduce(i(n),[]).join("&"):c(n,t)+"="+c(r,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,i]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:v(f(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:u(i,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const i=p(e.url).split("?")[0]||"",r=t.extract(e.url),o=t.parse(r,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${i}${l}${u}`},t.pick=(e,n,i)=>{i=Object.assign({parseFragmentIdentifier:!0,[s]:!1},i);const{url:r,query:o,fragmentIdentifier:l}=t.parseUrl(e,i);return t.stringifyUrl({url:r,query:a(o,n),fragmentIdentifier:l},i)},t.exclude=(e,n,i)=>{const r=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,r,i)}},"./node_modules/rbush/rbush.min.js":function(e){e.exports=function(){"use strict";function e(e,i,r,o,a){!function e(n,i,r,o,a){for(;o>r;){if(o-r>600){var s=o-r+1,l=i-r+1,c=Math.log(s),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1);e(n,i,Math.max(r,Math.floor(i-l*u/s+d)),Math.min(o,Math.floor(i+(s-l)*u/s+d)),a)}var p=n[i],f=r,h=o;for(t(n,r,i),a(n[o],p)>0&&t(n,r,o);f<h;){for(t(n,f,h),f++,h--;a(n[f],p)<0;)f++;for(;a(n[h],p)>0;)h--}0===a(n[r],p)?t(n,r,h):t(n,++h,o),h<=i&&(r=h+1),i<=h&&(o=h-1)}}(e,i,r||0,o||e.length-1,a||n)}function t(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function n(e,t){return e<t?-1:e>t?1:0}var i=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function r(e,t,n){if(!n)return t.indexOf(e);for(var i=0;i<t.length;i++)if(n(e,t[i]))return i;return-1}function o(e,t){a(e,0,e.children.length,t,e)}function a(e,t,n,i,r){r||(r=h(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(var o=t;o<n;o++){var a=e.children[o];s(r,e.leaf?i(a):a)}return r}function s(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function c(e,t){return e.minY-t.minY}function u(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function d(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function f(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function h(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function v(t,n,i,r,o){for(var a=[n,i];a.length;)if(!((i=a.pop())-(n=a.pop())<=r)){var s=n+Math.ceil((i-n)/r/2)*r;e(t,s,n,i,o),a.push(n,s,s,i)}}return i.prototype.all=function(){return this._all(this.data,[])},i.prototype.search=function(e){var t=this.data,n=[];if(!f(e,t))return n;for(var i=this.toBBox,r=[];t;){for(var o=0;o<t.children.length;o++){var a=t.children[o],s=t.leaf?i(a):a;f(e,s)&&(t.leaf?n.push(a):p(e,s)?this._all(a,n):r.push(a))}t=r.pop()}return n},i.prototype.collides=function(e){var t=this.data;if(!f(e,t))return!1;for(var n=[];t;){for(var i=0;i<t.children.length;i++){var r=t.children[i],o=t.leaf?this.toBBox(r):r;if(f(e,o)){if(t.leaf||p(e,o))return!0;n.push(r)}}t=n.pop()}return!1},i.prototype.load=function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0;t<e.length;t++)this.insert(e[t]);return this}var n=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var i=this.data;this.data=n,n=i}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},i.prototype.insert=function(e){return e&&this._insert(e,this.data.height-1),this},i.prototype.clear=function(){return this.data=h([]),this},i.prototype.remove=function(e,t){if(!e)return this;for(var n,i,o,a=this.data,s=this.toBBox(e),l=[],c=[];a||l.length;){if(a||(a=l.pop(),i=l[l.length-1],n=c.pop(),o=!0),a.leaf){var u=r(e,a.children,t);if(-1!==u)return a.children.splice(u,1),l.push(a),this._condense(l),this}o||a.leaf||!p(a,s)?i?(n++,a=i.children[n],o=!1):a=null:(l.push(a),c.push(n),n=0,i=a,a=a.children[0])}return this},i.prototype.toBBox=function(e){return e},i.prototype.compareMinX=function(e,t){return e.minX-t.minX},i.prototype.compareMinY=function(e,t){return e.minY-t.minY},i.prototype.toJSON=function(){return this.data},i.prototype.fromJSON=function(e){return this.data=e,this},i.prototype._all=function(e,t){for(var n=[];e;)e.leaf?t.push.apply(t,e.children):n.push.apply(n,e.children),e=n.pop();return t},i.prototype._build=function(e,t,n,i){var r,a=n-t+1,s=this._maxEntries;if(a<=s)return o(r=h(e.slice(t,n+1)),this.toBBox),r;i||(i=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,i-1))),(r=h([])).leaf=!1,r.height=i;var l=Math.ceil(a/s),c=l*Math.ceil(Math.sqrt(s));v(e,t,n,c,this.compareMinX);for(var u=t;u<=n;u+=c){var d=Math.min(u+c-1,n);v(e,u,d,l,this.compareMinY);for(var p=u;p<=d;p+=l){var f=Math.min(p+l-1,d);r.children.push(this._build(e,p,f,i-1))}}return o(r,this.toBBox),r},i.prototype._chooseSubtree=function(e,t,n,i){for(;i.push(t),!t.leaf&&i.length-1!==n;){for(var r=1/0,o=1/0,a=void 0,s=0;s<t.children.length;s++){var l=t.children[s],c=u(l),d=(p=e,f=l,(Math.max(f.maxX,p.maxX)-Math.min(f.minX,p.minX))*(Math.max(f.maxY,p.maxY)-Math.min(f.minY,p.minY))-c);d<o?(o=d,r=c<r?c:r,a=l):d===o&&c<r&&(r=c,a=l)}t=a||t.children[0]}var p,f;return t},i.prototype._insert=function(e,t,n){var i=n?e:this.toBBox(e),r=[],o=this._chooseSubtree(i,this.data,t,r);for(o.children.push(e),s(o,i);t>=0&&r[t].children.length>this._maxEntries;)this._split(r,t),t--;this._adjustParentBBoxes(i,r,t)},i.prototype._split=function(e,t){var n=e[t],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var a=this._chooseSplitIndex(n,r,i),s=h(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(n,s)},i.prototype._splitRoot=function(e,t){this.data=h([e,t]),this.data.height=e.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},i.prototype._chooseSplitIndex=function(e,t,n){for(var i,r,o,s,l,c,d,p=1/0,f=1/0,h=t;h<=n-t;h++){var v=a(e,0,h,this.toBBox),m=a(e,h,n,this.toBBox),g=(r=v,o=m,s=void 0,l=void 0,c=void 0,d=void 0,s=Math.max(r.minX,o.minX),l=Math.max(r.minY,o.minY),c=Math.min(r.maxX,o.maxX),d=Math.min(r.maxY,o.maxY),Math.max(0,c-s)*Math.max(0,d-l)),_=u(v)+u(m);g<p?(p=g,i=h,f=_<f?_:f):g===p&&_<f&&(f=_,i=h)}return i||n-t},i.prototype._chooseSplitAxis=function(e,t,n){var i=e.leaf?this.compareMinX:l,r=e.leaf?this.compareMinY:c;this._allDistMargin(e,t,n,i)<this._allDistMargin(e,t,n,r)&&e.children.sort(i)},i.prototype._allDistMargin=function(e,t,n,i){e.children.sort(i);for(var r=this.toBBox,o=a(e,0,t,r),l=a(e,n-t,n,r),c=d(o)+d(l),u=t;u<n-t;u++){var p=e.children[u];s(o,e.leaf?r(p):p),c+=d(o)}for(var f=n-t-1;f>=t;f--){var h=e.children[f];s(l,e.leaf?r(h):h),c+=d(l)}return c},i.prototype._adjustParentBBoxes=function(e,t,n){for(var i=n;i>=0;i--)s(t[i],e)},i.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():o(e[t],this.toBBox)},i}()},"./node_modules/react-toggle/dist/component/check.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("./node_modules/preact/compat/dist/compat.module.js"),o=(i=r)&&i.__esModule?i:{default:i};t.default=function(){return o.default.createElement("svg",{width:"14",height:"11",viewBox:"0 0 14 11"},o.default.createElement("path",{d:"M11.264 0L5.26 6.004 2.103 2.847 0 4.95l5.26 5.26 8.108-8.107L11.264 0",fill:"#fff",fillRule:"evenodd"}))}},"./node_modules/react-toggle/dist/component/index.js":function(e,t,n){"use strict";var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n("./node_modules/preact/compat/dist/compat.module.js"),a=p(o),s=p(n("./node_modules/classnames/index.js")),l=p(n("./node_modules/prop-types/index.js")),c=p(n("./node_modules/react-toggle/dist/component/check.js")),u=p(n("./node_modules/react-toggle/dist/component/x.js")),d=n("./node_modules/react-toggle/dist/component/util.js");function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=n.handleClick.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleFocus=n.handleFocus.bind(n),n.handleBlur=n.handleBlur.bind(n),n.previouslyChecked=!(!e.checked&&!e.defaultChecked),n.state={checked:!(!e.checked&&!e.defaultChecked),hasFocus:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidUpdate",value:function(e){e.checked!==this.props.checked&&this.setState({checked:!!this.props.checked})}},{key:"handleClick",value:function(e){if(!this.props.disabled){var t=this.input;if(e.target!==t&&!this.moved)return this.previouslyChecked=t.checked,e.preventDefault(),t.focus(),void t.click();var n=this.props.hasOwnProperty("checked")?this.props.checked:t.checked;this.setState({checked:n})}}},{key:"handleTouchStart",value:function(e){this.props.disabled||(this.startX=(0,d.pointerCoord)(e).x,this.activated=!0)}},{key:"handleTouchMove",value:function(e){if(this.activated&&(this.moved=!0,this.startX)){var t=(0,d.pointerCoord)(e).x;this.state.checked&&t+15<this.startX?(this.setState({checked:!1}),this.startX=t,this.activated=!0):t-15>this.startX&&(this.setState({checked:!0}),this.startX=t,this.activated=t<this.startX+5)}}},{key:"handleTouchEnd",value:function(e){if(this.moved){var t=this.input;if(e.preventDefault(),this.startX){var n=(0,d.pointerCoord)(e).x;!0===this.previouslyChecked&&this.startX+4>n?this.previouslyChecked!==this.state.checked&&(this.setState({checked:!1}),this.previouslyChecked=this.state.checked,t.click()):this.startX-4<n&&this.previouslyChecked!==this.state.checked&&(this.setState({checked:!0}),this.previouslyChecked=this.state.checked,t.click()),this.activated=!1,this.startX=null,this.moved=!1}}}},{key:"handleFocus",value:function(e){var t=this.props.onFocus;t&&t(e),this.setState({hasFocus:!0})}},{key:"handleBlur",value:function(e){var t=this.props.onBlur;t&&t(e),this.setState({hasFocus:!1})}},{key:"getIcon",value:function(e){var n=this.props.icons;return n?void 0===n[e]?t.defaultProps.icons[e]:n[e]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=(t.icons,function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(t,["className","icons"])),o=(0,s.default)("react-toggle",{"react-toggle--checked":this.state.checked,"react-toggle--focus":this.state.hasFocus,"react-toggle--disabled":this.props.disabled},n);return a.default.createElement("div",{className:o,onClick:this.handleClick,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd},a.default.createElement("div",{className:"react-toggle-track"},a.default.createElement("div",{className:"react-toggle-track-check"},this.getIcon("checked")),a.default.createElement("div",{className:"react-toggle-track-x"},this.getIcon("unchecked"))),a.default.createElement("div",{className:"react-toggle-thumb"}),a.default.createElement("input",i({},r,{ref:function(t){e.input=t},onFocus:this.handleFocus,onBlur:this.handleBlur,className:"react-toggle-screenreader-only",type:"checkbox"})))}}]),t}(o.PureComponent);t.Z=f,f.displayName="Toggle",f.defaultProps={icons:{checked:a.default.createElement(c.default,null),unchecked:a.default.createElement(u.default,null)}},f.propTypes={checked:l.default.bool,disabled:l.default.bool,defaultChecked:l.default.bool,onChange:l.default.func,onFocus:l.default.func,onBlur:l.default.func,className:l.default.string,name:l.default.string,value:l.default.string,id:l.default.string,"aria-labelledby":l.default.string,"aria-label":l.default.string,icons:l.default.oneOfType([l.default.bool,l.default.shape({checked:l.default.node,unchecked:l.default.node})])}},"./node_modules/react-toggle/dist/component/util.js":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pointerCoord=function(e){if(e){var t=e.changedTouches;if(t&&t.length>0){var n=t[0];return{x:n.clientX,y:n.clientY}}var i=e.pageX;if(void 0!==i)return{x:i,y:e.pageY}}return{x:0,y:0}}},"./node_modules/react-toggle/dist/component/x.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n("./node_modules/preact/compat/dist/compat.module.js"),o=(i=r)&&i.__esModule?i:{default:i};t.default=function(){return o.default.createElement("svg",{width:"10",height:"10",viewBox:"0 0 10 10"},o.default.createElement("path",{d:"M9.9 2.12L7.78 0 4.95 2.828 2.12 0 0 2.12l2.83 2.83L0 7.776 2.123 9.9 4.95 7.07 7.78 9.9 9.9 7.776 7.072 4.95 9.9 2.12",fill:"#fff",fillRule:"evenodd"}))}},"./node_modules/sal.js/dist/sal.js":function(e){e.exports=(()=>{"use strict";var e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function i(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?n(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.d(t,{default:()=>b});var o="Your browser does not support IntersectionObserver!\nGet a polyfill from here:\nhttps://github.com/w3c/IntersectionObserver/tree/master/polyfill",a={root:null,rootMargin:"0% 50%",threshold:.5,animateClassName:"sal-animate",disabledClassName:"sal-disabled",enterEventName:"sal:in",exitEventName:"sal:out",selector:"[data-sal]",once:!0,disabled:!1},s=[],l=null,c=function(e){e&&e!==a&&(a=i(i({},a),e))},u=function(e){e.classList.remove(a.animateClassName)},d=function(e,t){var n=new CustomEvent(e,{bubbles:!0,detail:t});t.target.dispatchEvent(n)},p=function(){document.body.classList.add(a.disabledClassName)},f=function(){l.disconnect(),l=null},h=function(){return a.disabled||"function"==typeof a.disabled&&a.disabled()},v=function(e,t){e.forEach((function(e){var n=e.target,i=void 0!==n.dataset.salRepeat,r=void 0!==n.dataset.salOnce,o=i||!(r||a.once);e.intersectionRatio>=a.threshold?(function(e){e.target.classList.add(a.animateClassName),d(a.enterEventName,e)}(e),o||t.unobserve(n)):o&&function(e){u(e.target),d(a.exitEventName,e)}(e)}))},m=function(){var e=[].filter.call(document.querySelectorAll(a.selector),(function(e){return!function(e){return e.classList.contains(a.animateClassName)}(e,a.animateClassName)}));return e.forEach((function(e){return l.observe(e)})),e},g=function(){p(),f()},_=function(){document.body.classList.remove(a.disabledClassName),l=new IntersectionObserver(v,{root:a.root,rootMargin:a.rootMargin,threshold:a.threshold}),s=m()},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(),Array.from(document.querySelectorAll(a.selector)).forEach(u),c(e),_()},w=function(){var e=m();s.push(e)};const b=function(){if(c(arguments.length>0&&void 0!==arguments[0]?arguments[0]:a),"undefined"==typeof window)return{elements:s,disable:g,enable:_,reset:y,update:w};if(!window.IntersectionObserver)throw p(),Error(o);return h()?p():_(),{elements:s,disable:g,enable:_,reset:y,update:w}};return t.default})()},"./node_modules/split-on-first/index.js":function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},"./node_modules/strict-uri-encode/index.js":function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},"./src/js/home.ts":function(e,t,n){"use strict";n.d(t,{j:function(){return xe}});var i=n("./node_modules/tslib/tslib.es6.js"),r=n("./node_modules/fuse.js/dist/fuse.esm.js");function o(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function a(e={},t={}){Object.keys(t).forEach((n=>{void 0===e[n]?e[n]=t[n]:o(t[n])&&o(e[n])&&Object.keys(t[n]).length>0&&a(e[n],t[n])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){const e="undefined"!=typeof document?document:{};return a(e,s),e}const c={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function u(){const e="undefined"!=typeof window?window:{};return a(e,c),e}class d extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return t},set(e){t.__proto__=e}})}(this))}}function p(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...p(e)):t.push(e)})),t}function f(e,t){return Array.prototype.filter.call(e,t)}function h(e,t){const n=u(),i=l();let r=[];if(!t&&e instanceof d)return e;if(!e)return new d(r);if("string"==typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=i.createElement(e);t.innerHTML=n;for(let e=0;e<t.childNodes.length;e+=1)r.push(t.childNodes[e])}else r=function(e,t){if("string"!=typeof e)return[e];const n=[],i=t.querySelectorAll(e);for(let e=0;e<i.length;e+=1)n.push(i[e]);return n}(e.trim(),t||i)}else if(e.nodeType||e===n||e===i)r.push(e);else if(Array.isArray(e)){if(e instanceof d)return e;r=e}return new d(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(r))}h.fn=d.prototype;const v="resize scroll".split(" ");function m(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)v.indexOf(e)<0&&(e in this[t]?this[t][e]():h(this[t]).trigger(e));return this}return this.on(e,...t)}}m("click"),m("blur"),m("focus"),m("focusin"),m("focusout"),m("keyup"),m("keydown"),m("keypress"),m("submit"),m("change"),m("mousedown"),m("mousemove"),m("mouseup"),m("mouseenter"),m("mouseleave"),m("mouseout"),m("mouseover"),m("touchstart"),m("touchend"),m("touchmove"),m("resize"),m("scroll");const g={addClass:function(...e){const t=p(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=p(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=p(e.map((e=>e.split(" "))));return f(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=p(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,i,r]=e;function o(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),h(t).is(n))i.apply(t,r);else{const e=h(t).parents();for(let t=0;t<e.length;t+=1)h(e[t]).is(n)&&i.apply(e[t],r)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t)}"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);const s=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(n)for(l=0;l<s.length;l+=1){const e=s[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:i,proxyListener:o}),t.addEventListener(e,o,r)}else for(l=0;l<s.length;l+=1){const e=s[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:i,proxyListener:a}),t.addEventListener(e,a,r)}}return this},off:function(...e){let[t,n,i,r]=e;"function"==typeof e[1]&&([t,i,r]=e,n=void 0),r||(r=!1);const o=t.split(" ");for(let e=0;e<o.length;e+=1){const t=o[e];for(let e=0;e<this.length;e+=1){const o=this[e];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[t]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const n=a[e];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(o.removeEventListener(t,n.proxyListener,r),a.splice(e,1)):i||(o.removeEventListener(t,n.proxyListener,r),a.splice(e,1))}}}return this},trigger:function(...e){const t=u(),n=e[0].split(" "),i=e[1];for(let r=0;r<n.length;r+=1){const o=n[r];for(let n=0;n<this.length;n+=1){const r=this[n];if(t.CustomEvent){const n=new t.CustomEvent(o,{detail:i,bubbles:!0,cancelable:!0});r.dom7EventData=e.filter(((e,t)=>t>0)),r.dispatchEvent(n),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(i){i.target===this&&(e.call(this,i),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=u();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=u(),t=l(),n=this[0],i=n.getBoundingClientRect(),r=t.body,o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,c=n===e?e.scrollX:n.scrollLeft;return{top:i.top+s-o,left:i.left+c-a}}return null},css:function(e,t){const n=u();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(const t in e)this[i].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=u(),n=l(),i=this[0];let r,o;if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(r=h(e),o=0;o<r.length;o+=1)if(r[o]===i)return!0;return!1}if(e===n)return i===n;if(e===t)return i===t;if(e.nodeType||e instanceof d){for(r=e.nodeType?[e]:e,o=0;o<r.length;o+=1)if(r[o]===i)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return h([]);if(e<0){const n=t+e;return h(n<0?[]:[this[n]])}return h([this[e]])},append:function(...e){let t;const n=l();for(let i=0;i<e.length;i+=1){t=e[i];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const i=n.createElement("div");for(i.innerHTML=t;i.firstChild;)this[e].appendChild(i.firstChild)}else if(t instanceof d)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=l();let n,i;for(n=0;n<this.length;n+=1)if("string"==typeof e){const r=t.createElement("div");for(r.innerHTML=e,i=r.childNodes.length-1;i>=0;i-=1)this[n].insertBefore(r.childNodes[i],this[n].childNodes[0])}else if(e instanceof d)for(i=0;i<e.length;i+=1)this[n].insertBefore(e[i],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&h(this[0].nextElementSibling).is(e)?h([this[0].nextElementSibling]):h([]):this[0].nextElementSibling?h([this[0].nextElementSibling]):h([]):h([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&h(t.previousElementSibling).is(e)?h([t.previousElementSibling]):h([]):t.previousElementSibling?h([t.previousElementSibling]):h([])}return h([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return h([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;e?h(i).is(e)&&t.push(i):t.push(i),n=i}return h(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?h(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return h(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)e?h(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return h(t)},closest:function(e){let t=this;return void 0===e?h([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(e);for(let e=0;e<i.length;e+=1)t.push(i[e])}return h(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const i=this[n].children;for(let n=0;n<i.length;n+=1)e&&!h(i[n]).is(e)||t.push(i[n])}return h(t)},filter:function(e){return h(f(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(g).forEach((e=>{Object.defineProperty(h.fn,e,{value:g[e],writable:!0})}));var _=h;function y(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function w(){return Date.now()}function b(e,t){void 0===t&&(t="x");const n=u();let i,r,o;const a=function(e){const t=u();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function x(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function E(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!C(i)){const n=Object.keys(Object(i)).filter((e=>t.indexOf(e)<0));for(let t=0,r=n.length;t<r;t+=1){const r=n[t],o=Object.getOwnPropertyDescriptor(i,r);void 0!==o&&o.enumerable&&(x(e[r])&&x(i[r])?i[r].__swiper__?e[r]=i[r]:E(e[r],i[r]):!x(e[r])&&x(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:E(e[r],i[r])):e[r]=i[r])}}}return e}function S(e,t,n){e.style.setProperty(t,n)}function k(e){let{swiper:t,targetPosition:n,side:i}=e;const r=u(),o=-t.translate;let a,s=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=n>o?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{a=(new Date).getTime(),null===s&&(s=a);const e=Math.max(Math.min((a-s)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let u=o+c*(n-o);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[i]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:u})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(p)};p()}let T,M,A;function O(){return T||(T=function(){const e=u(),t=l();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),T}function L(e){return void 0===e&&(e={}),M||(M=function(e){let{userAgent:t}=void 0===e?{}:e;const n=O(),i=u(),r=i.navigator.platform,o=t||i.navigator.userAgent,a={ios:!1,android:!1},s=i.screen.width,l=i.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let v="MacIntel"===r;return!d&&v&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${l}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),v=!1),c&&!h&&(a.os="android",a.android=!0),(d||f||p)&&(a.os="ios",a.ios=!0),a}(e)),M}function P(){return A||(A=function(){const e=u();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),A}var j={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];t.apply(i,o)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],n=o.slice(1,o.length),i=e):(t=o[0].events,n=o[0].data,i=o[0].context||e),n.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,n)}))})),e}};var I={updateSize:function(){const e=this;let t,n;const i=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i[0].clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),n=n-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const i=e.params,{$wrapperEl:r,size:o,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&i.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=r.children(`.${e.params.slideClass}`),d=l?e.virtual.slides.length:u.length;let p=[];const f=[],h=[];let v=i.slidesOffsetBefore;"function"==typeof v&&(v=i.slidesOffsetBefore.call(e));let m=i.slidesOffsetAfter;"function"==typeof m&&(m=i.slidesOffsetAfter.call(e));const g=e.snapGrid.length,_=e.slidesGrid.length;let y=i.spaceBetween,w=-v,b=0,x=0;if(void 0===o)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*o),e.virtualSize=-y,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(S(e.wrapperEl,"--swiper-centered-offset-before",""),S(e.wrapperEl,"--swiper-centered-offset-after",""));const C=i.grid&&i.grid.rows>1&&e.grid;let E;C&&e.grid.initSlides(d);const k="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<d;r+=1){E=0;const a=u.eq(r);if(C&&e.grid.updateSlide(r,a,d,t),"none"!==a.css("display")){if("auto"===i.slidesPerView){k&&(u[r].style[t("width")]="");const o=getComputedStyle(a[0]),s=a[0].style.transform,l=a[0].style.webkitTransform;if(s&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),i.roundLengths)E=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=n(o,"width"),t=n(o,"padding-left"),i=n(o,"padding-right"),r=n(o,"margin-left"),s=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+r+s;else{const{clientWidth:n,offsetWidth:o}=a[0];E=e+t+i+r+s+(o-n)}}s&&(a[0].style.transform=s),l&&(a[0].style.webkitTransform=l),i.roundLengths&&(E=Math.floor(E))}else E=(o-(i.slidesPerView-1)*y)/i.slidesPerView,i.roundLengths&&(E=Math.floor(E)),u[r]&&(u[r].style[t("width")]=`${E}px`);u[r]&&(u[r].swiperSlideSize=E),h.push(E),i.centeredSlides?(w=w+E/2+b/2+y,0===b&&0!==r&&(w=w-o/2-y),0===r&&(w=w-o/2-y),Math.abs(w)<.001&&(w=0),i.roundLengths&&(w=Math.floor(w)),x%i.slidesPerGroup==0&&p.push(w),f.push(w)):(i.roundLengths&&(w=Math.floor(w)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup==0&&p.push(w),f.push(w),w=w+E+y),e.virtualSize+=E+y,b=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,a&&s&&("slide"===i.effect||"coverflow"===i.effect)&&r.css({width:`${e.virtualSize+i.spaceBetween}px`}),i.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+i.spaceBetween}px`}),C&&e.grid.updateWrapperSize(E,p,t),!i.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let r=p[n];i.roundLengths&&(r=Math.floor(r)),p[n]<=e.virtualSize-o&&t.push(r)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==i.spaceBetween){const n=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter(((e,t)=>!i.cssMode||t!==u.length-1)).css({[n]:`${y}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-o;p=p.map((e=>e<0?-v:e>t?t+m:e))}if(i.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e<o){const t=(o-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){S(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),S(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==_&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);d<=i.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||_([])).each((e=>{n.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!i)break;n.push(a(e))}else n.push(a(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:o}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;r&&(a=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<i.length;e+=1){const s=i[e];let l=s.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=i[0].swiperSlideOffset);const c=(a+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),u=(a-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(s.swiperSlideSize+n.spaceBetween),d=-(a-l),p=d+t.slidesSizesGrid[e];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(n.slideVisibleClass)),s.progress=r?-c:c,s.originalProgress=r?-u:u}t.visibleSlides=_(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:o,isEnd:a}=t;const s=o,l=a;0===i?(r=0,o=!0,a=!0):(r=(e-t.minTranslate())/i,o=r<=0,a=r>=1),Object.assign(t,{progress:r,isBeginning:o,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!s&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(s&&!o||l&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:i,activeIndex:r,realIndex:o}=e,a=e.virtual&&n.virtual.enabled;let s;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),s=a?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),s.addClass(n.slideActiveClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=s.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=s.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):i.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:i,snapGrid:r,params:o,activeIndex:a,realIndex:s,snapIndex:l}=t;let c,u=e;if(void 0===u){for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?n>=i[e]&&n<i[e+1]-(i[e+1]-i[e])/2?u=e:n>=i[e]&&n<i[e+1]&&(u=e+1):n>=i[e]&&(u=e);o.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(r.indexOf(n)>=0)c=r.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,u);c=e+Math.floor((u-e)/o.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),u===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const d=parseInt(t.slides.eq(u).attr("data-swiper-slide-index")||u,10);Object.assign(t,{snapIndex:c,realIndex:d,previousIndex:a,activeIndex:u}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),s!==d&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,i=_(e).closest(`.${n.slideClass}`)[0];let r,o=!1;if(i)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===i){o=!0,r=e;break}if(!i||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(_(i).attr("data-swiper-slide-index"),10):t.clickedIndex=r,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var D={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,$wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let o=b(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,$wrapperEl:o,wrapperEl:a,progress:s}=n;let l,c=0,u=0;n.isHorizontal()?c=i?-e:e:u=e,r.roundLengths&&(c=Math.floor(c),u=Math.floor(u)),r.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-u:r.virtualTranslate||o.transform(`translate3d(${c}px, ${u}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:u;const d=n.maxTranslate()-n.minTranslate();l=0===d?0:(e-n.minTranslate())/d,l!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let u;if(u=i&&e>l?l:i&&e<c?c:e,o.updateProgress(u),a.cssMode){const e=o.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-u;else{if(!o.support.smoothScroll)return k({swiper:o,targetPosition:-u,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(u),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}};function N(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e;const{activeIndex:o,previousIndex:a}=t;let s=i;if(s||(s=o>a?"next":o<a?"prev":"reset"),t.emit(`transition${r}`),n&&o!==a){if("reset"===s)return void t.emit(`slideResetTransition${r}`);t.emit(`slideChangeTransition${r}`),"next"===s?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`)}}var B={slideTo:function(e,t,n,i,r){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:h}=o;if(o.animating&&s.preventInteractionOnTransition||!h&&!i&&!r)return!1;const v=Math.min(o.params.slidesPerGroupSkip,a);let m=v+Math.floor((a-v)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1),(d||s.initialSlide||0)===(u||0)&&n&&o.emit("beforeSlideChangeStart");const g=-l[m];if(o.updateProgress(g),s.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?a=e:t>=n&&t<i&&(a=e+1):t>=n&&(a=e)}if(o.initialized&&a!==d){if(!o.allowSlideNext&&g<o.translate&&g<o.minTranslate())return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(d||0)!==a)return!1}let _;if(_=a>d?"next":a<d?"prev":"reset",p&&-g===o.translate||!p&&g===o.translate)return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==s.effect&&o.setTranslate(g),"reset"!==_&&(o.transitionStart(n,_),o.transitionEnd(n,_)),!1;if(s.cssMode){const e=o.isHorizontal(),n=p?g:-g;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return k({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,i),o.transitionStart(n,_),0===t?o.transitionEnd(n,_):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,_))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let o=e;return r.params.loop&&(o+=r.loopedSlides),r.slideTo(o,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{animating:r,enabled:o,params:a}=i;if(!o)return i;let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<a.slidesPerGroupSkip?1:s;if(a.loop){if(r&&a.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return a.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{params:r,animating:o,snapGrid:a,slidesGrid:s,rtlTranslate:l,enabled:c}=i;if(!c)return i;if(r.loop){if(o&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=u(l?i.translate:-i.translate),p=a.map((e=>u(e)));let f=a[p.indexOf(d)-1];if(void 0===f&&r.cssMode){let e;a.forEach(((t,n)=>{d>=t&&(e=n)})),void 0!==e&&(f=a[e>0?e-1:e])}let h=0;if(void 0!==f&&(h=s.indexOf(f),h<0&&(h=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(h=h-i.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return i.slideTo(h,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;let o=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){const e=r.snapGrid[s];l-e>(r.snapGrid[s+1]-e)*i&&(o+=r.params.slidesPerGroup)}else{const e=r.snapGrid[s-1];l-e<=(r.snapGrid[s]-e)*i&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,o=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(_(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-i/2||o>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-i?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),y((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var R={loopCreate:function(){const e=this,t=l(),{params:n,$wrapperEl:i}=e,r=i.children().length>0?_(i.children()[0].parentNode):i;r.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=r.children(`.${n.slideClass}`);if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let i=0;i<e;i+=1){const e=_(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);r.append(e)}o=r.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const a=[],s=[];o.each(((e,t)=>{_(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/o.length)*o.length;s.push(o.eq(e)[0]),a.unshift(o.eq(o.length-e-1)[0])}for(let e=0;e<s.length;e+=1)r.append(_(s[e].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let e=a.length-1;e>=0;e-=1)r.prepend(_(a[e].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:i,allowSlidePrev:r,allowSlideNext:o,snapGrid:a,rtlTranslate:s}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();if(t<i){l=n.length-3*i+t,l+=i;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}else if(t>=n.length-i){l=-n.length+t+i,l+=i;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((s?-e.translate:e.translate)-c)}e.allowSlidePrev=r,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};function F(e){const t=this,n=l(),i=u(),r=t.touchEventsData,{params:o,touches:a,enabled:s}=t;if(!s)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let d=_(c.target);if("wrapper"===o.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===c.type,!r.isTouchEvent&&"which"in c&&3===c.which)return;if(!r.isTouchEvent&&"button"in c&&c.button>0)return;if(r.isTouched&&r.isMoved)return;!!o.noSwipingClass&&""!==o.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(d=_(e.path[0]));const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!(!c.target||!c.target.shadowRoot);if(o.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===l()||n===u())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(p,d[0]):d.closest(p)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!d.closest(o.swipeHandler)[0])return;a.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,a.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;const h=a.currentX,v=a.currentY,m=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,g=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(m&&(h<=g||h>=i.innerWidth-g)){if("prevent"!==m)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=v,r.touchStartTime=w(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==c.type){let e=!0;d.is(r.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(r.isTouched=!1)),n.activeElement&&_(n.activeElement).is(r.focusableElements)&&n.activeElement!==d[0]&&n.activeElement.blur();const i=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!i||d[0].isContentEditable||c.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function $(e){const t=l(),n=this,i=n.touchEventsData,{params:r,touches:o,rtlTranslate:a,enabled:s}=n;if(!s)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));if(i.isTouchEvent&&"touchmove"!==c.type)return;const u="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),d="touchmove"===c.type?u.pageX:c.pageX,p="touchmove"===c.type?u.pageY:c.pageY;if(c.preventedByNestedSwiper)return o.startX=d,void(o.startY=p);if(!n.allowTouchMove)return _(c.target).is(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(o,{startX:d,startY:p,currentX:d,currentY:p}),i.touchStartTime=w()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(p<o.startY&&n.translate<=n.maxTranslate()||p>o.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&_(c.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;o.currentX=d,o.currentY=p;const f=o.currentX-o.startX,h=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+h**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),i.isMoved=!0;let v=n.isHorizontal()?f:h;o.diff=v,v*=r.touchRatio,a&&(v=-v),n.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let m=!0,g=r.resistanceRatio;if(r.touchReleaseOnEdges&&(g=0),v>0&&i.currentTranslate>n.minTranslate()?(m=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+v)**g)):v<0&&i.currentTranslate<n.maxTranslate()&&(m=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-v)**g)),m&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(v)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function H(e){const t=this,n=t.touchEventsData,{params:i,touches:r,rtlTranslate:o,slidesGrid:a,enabled:s}=t;if(!s)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=w(),u=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),u<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=w(),y((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let d;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});let p=0,f=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<i.slidesPerGroupSkip?1:i.slidesPerGroup){const t=e<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==a[e+t]?d>=a[e]&&d<a[e+t]&&(p=e,f=a[e+t]-a[e]):d>=a[e]&&(p=e,f=a[a.length-1]-a[a.length-2])}let h=null,v=null;i.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const m=(d-a[p])/f,g=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(u>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?h:p+g):t.slideTo(p)),"prev"===t.swipeDirection&&(m>1-i.longSwipesRatio?t.slideTo(p+g):null!==v&&m<0&&Math.abs(m)>i.longSwipesRatio?t.slideTo(v):t.slideTo(p))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+g):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==h?h:p+g),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:p))}}function q(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function V(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function z(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();r=0===o?0:(e.translate-e.minTranslate())/o,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Y=!1;function U(){}const W=(e,t)=>{const n=l(),{params:i,touchEvents:r,el:o,wrapperEl:a,device:s,support:c}=e,u=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};o[d](r.start,e.onTouchStart,t),o[d](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:u}:u),o[d](r.end,e.onTouchEnd,t),r.cancel&&o[d](r.cancel,e.onTouchEnd,t)}else o[d](r.start,e.onTouchStart,!1),n[d](r.move,e.onTouchMove,u),n[d](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&o[d]("click",e.onClick,!0),i.cssMode&&a[d]("scroll",e.onScroll),i.updateOnWindowResize?e[p](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",q,!0):e[p]("observerUpdate",q,!0)};var X={attachEvents:function(){const e=this,t=l(),{params:n,support:i}=e;e.onTouchStart=F.bind(e),e.onTouchMove=$.bind(e),e.onTouchEnd=H.bind(e),n.cssMode&&(e.onScroll=z.bind(e)),e.onClick=V.bind(e),i.touch&&!Y&&(t.addEventListener("touchstart",U),Y=!0),W(e,"on")},detachEvents:function(){W(this,"off")}};const G=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Z={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:i=0,params:r,$el:o}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in a?a[s]:void 0)||e.originalParams,c=G(e,r),u=G(e,l),d=r.enabled;c&&!u?(o.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(o.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&o.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=r[t]&&r[t].enabled,i=l[t]&&l[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()}));const p=l.direction&&l.direction!==r.direction,f=r.loop&&(l.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),E(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!h?e.disable():!d&&h&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=u(),o="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:o,value:s}=a[e];"window"===t?r.matchMedia(`(min-width: ${s}px)`).matches&&(i=o):s<=n.clientWidth&&(i=o)}return i||"max"}};var J={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,$el:r,device:o,support:a}=e,s=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&n.push(t+i)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var K={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Q(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in r?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),E(t,n)):E(t,n)):E(t,n)}}const ee={eventsEmitter:j,update:I,translate:D,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),N({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),N({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:B,loop:R,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:X,breakpoints:Z,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:J,images:{loadImage:function(e,t,n,i,r,o){const a=u();let s;function l(){o&&o()}_(e).parent("picture")[0]||e.complete&&r?l():t?(s=new a.Image,s.onload=l,s.onerror=l,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},te={};class ne{constructor(){let e,t;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];if(1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=E({},t),e&&!t.el&&(t.el=e),t.el&&_(t.el).length>1){const e=[];return _(t.el).each((n=>{const i=E({},t,{el:n});e.push(new ne(i))})),e}const o=this;o.__swiper__=!0,o.support=O(),o.device=L({userAgent:t.userAgent}),o.browser=P(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach((e=>{e({swiper:o,extendParams:Q(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})}));const s=E({},K,a);return o.params=E({},s,te,t),o.originalParams=E({},o.params),o.passedParams=E({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach((e=>{o.on(e,o.params.on[e])})),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=_,Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:_(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return"horizontal"===o.params.direction},isVertical(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return o.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},o.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:w(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:o,size:a,activeIndex:s}=this;let l=1;if(n.centeredSlides){let e,t=i[s].swiperSlideSize;for(let n=s+1;n<i.length;n+=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=s+1;e<i.length;e+=1){(t?r[e]+o[e]-r[s]<a:r[e]-r[s]<a)&&(l+=1)}else for(let e=s-1;e>=0;e-=1){r[s]-r[e]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(i(),e.params.autoHeight&&e.updateAutoHeight()):(r=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),r||i()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${i}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=_(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=_(e.shadowRoot.querySelector(i()));return t.children=e=>n.children(e),t}return n.children?n.children(i()):_(n).children(i())})();if(0===r.length&&t.params.createElements){const e=l().createElement("div");r=_(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,$el:r,$wrapperEl:o,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){E(te,e)}static get extendedDefaults(){return te}static get defaults(){return K}static installModule(e){ne.prototype.__modules__||(ne.prototype.__modules__=[]);const t=ne.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ne.installModule(e))),ne):(ne.installModule(e),ne)}}Object.keys(ee).forEach((e=>{Object.keys(ee[e]).forEach((t=>{ne.prototype[t]=ee[e][t]}))})),ne.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=u();let o=null,a=null;const s=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{a=r.requestAnimationFrame((()=>{const{width:n,height:i}=t;let r=n,o=i;e.forEach((e=>{let{contentBoxSize:n,contentRect:i,target:a}=e;a&&a!==t.el||(r=i?i.width:(n[0]||n).inlineSize,o=i?i.height:(n[0]||n).blockSize)})),r===n&&o===i||s()}))})),o.observe(t.el)):(r.addEventListener("resize",s),r.addEventListener("orientationchange",l))})),n("destroy",(()=>{a&&r.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=[],a=u(),s=function(e,t){void 0===t&&(t={});const n=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(1===e.length)return void r("observerUpdate",e[0]);const t=function(){r("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)}));n.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),o.push(n)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)s(e[t])}s(t.$el[0],{childList:t.params.observeSlideChildren}),s(t.$wrapperEl[0],{attributes:!1})}})),i("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);var ie=ne;var re,oe,ae=n("./src/js/utils.ts");e=n.hmd(e),ie.use([function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;function o(e){let n;return e&&(n=_(e),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.$el.find(e).length&&(n=t.$el.find(e))),n}function a(e,n){const i=t.params.navigation;e&&e.length>0&&(e[n?"addClass":"removeClass"](i.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=n),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](i.lockClass))}function s(){if(t.params.loop)return;const{$nextEl:e,$prevEl:n}=t.navigation;a(n,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=function(e,t,n,i){const r=l();return e.params.createElements&&Object.keys(i).forEach((o=>{if(!n[o]&&!0===n.auto){let a=e.$el.children(`.${i[o]}`)[0];a||(a=r.createElement("div"),a.className=i[o],e.$el.append(a)),n[o]=a,t[o]=a}})),n}(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const n=o(e.nextEl),i=o(e.prevEl);n&&n.length>0&&n.on("click",u),i&&i.length>0&&i.on("click",c),Object.assign(t.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:i,prevEl:i&&i[0]}),t.enabled||(n&&n.addClass(e.lockClass),i&&i.addClass(e.lockClass))}function p(){const{$nextEl:e,$prevEl:n}=t.navigation;e&&e.length&&(e.off("click",u),e.removeClass(t.params.navigation.disabledClass)),n&&n.length&&(n.off("click",c),n.removeClass(t.params.navigation.disabledClass))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},i("init",(()=>{!1===t.params.navigation.enabled?f():(d(),s())})),i("toEdge fromEdge lock unlock",(()=>{s()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{const{$nextEl:e,$prevEl:n}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),i("click",((e,n)=>{const{$nextEl:i,$prevEl:o}=t.navigation,a=n.target;if(t.params.navigation.hideOnClick&&!_(a).is(o)&&!_(a).is(i)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;i?e=i.hasClass(t.params.navigation.hiddenClass):o&&(e=o.hasClass(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),i&&i.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.params.navigation.hiddenClass)}}));const f=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),p()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),d(),s()},disable:f,update:s,init:d,destroy:p})}]),function(e){e[e.AND=1]="AND",e[e.OR=2]="OR",e[e.EXCLUSIVE=3]="EXCLUSIVE"}(oe||(oe={}));var se,le=oe.EXCLUSIVE,ce="ep-home__featured--hidden",ue=(new Set,new Set),de=null,pe=null,fe=ae.Z.getParamsFromWindowHash(),he=function(e){return new Set(e.map((function(e){return e.item.node})))},ve=function(){var e=document.querySelector(".home .ep-search__query__text");e&&e.addEventListener("keyup",(function(e){ge(we()),function(){var e,t=document.querySelector(".ep-search__actions__start"),n=null===(e=document.querySelector(".ep-search__query__text").value)||void 0===e?void 0:e.trim();(null==n?void 0:n.length)>0?null==t||t.classList.add("ep-search__actions__start--active"):null==t||t.classList.remove("ep-search__actions__start--active")}()}));for(var t=document.querySelectorAll(".ep-home__classification__item > input"),n=0;n<t.length;n++)t[n].addEventListener("change",(function(e){be(e)}))},me=function(e){var t=ae.Z.getParamsFromWindowHash();ue="object"!=typeof t.c?void 0!==t.c?new Set([t.c]):new Set:new Set(t.c),ye(ue),ge(we())},ge=function(e){var t,n=[],i=[],r=he(e);r.forEach((function(e){de.has(e)||n.push(e)})),de.forEach((function(e){r.has(e)||i.push(e)}));for(var o=0;o<n.length;o++)n[o].setAttribute("style","");for(o=0;o<i.length;o++)i[o].setAttribute("style","display:none");de=r;var a=document.querySelector(".ep-home__featured"),s="";if(de.size==pe.length||0===ue.size)ae.Z.removeClass(a,ce),s=(window.t||{}).homeAllJournals;else{var l=0;ue.forEach((function(e){var t;s+=null===(t=document.querySelector('label[for="ep-home__classification--'+e+'"] > .ep-home__classification__title'))||void 0===t?void 0:t.textContent,l++<ue.size-1&&(s+=" + ")}))}de.size!==pe.length&&ae.Z.addClass(a,ce);var c=null===(t=document.querySelector(".ep-search__query__text").value)||void 0===t?void 0:t.trim();c&&(s+=": ".concat(c)),s+='<span class="ep-home__main__title-count>'.concat(de.size,"</span>"),document.querySelector(".ep-home__main__actions > h2").innerHTML=s;var u=document.querySelector(".ep-home__no-results");0===(null==de?void 0:de.size)?u.classList.remove("ep-home__no-results--hidden"):u.classList.add("ep-home__no-results--hidden")},_e=function(e){var t,n,i,r,o,a,s,l;"text"==e.target.value?(null===(n=null===(t=document.querySelector(".ep-home__journals"))||void 0===t?void 0:t.classList)||void 0===n||n.remove("ep-home__journals--thumbs"),null===(r=null===(i=document.querySelector(".ep-home__journals"))||void 0===i?void 0:i.classList)||void 0===r||r.add("ep-home__journals--text")):(null===(a=null===(o=document.querySelector(".ep-home__journals"))||void 0===o?void 0:o.classList)||void 0===a||a.remove("ep-home__journals--text"),null===(l=null===(s=document.querySelector(".ep-home__journals"))||void 0===s?void 0:s.classList)||void 0===l||l.add("ep-home__journals--thumbs"))},ye=function(e){for(var t=0;t<=9;t++){var n=document.getElementById("ep-class-filter--".concat(100*t));n&&e.has(100*t)?n.querySelector("input").checked=!0:n&&(n.querySelector("input").checked=!1)}},we=function(){var e=document.querySelector(".ep-search__query__text");ae.Z.updateInputValue(e,ae.Z.replaceSpecialChars(e.value));var t=e.value.trim();if(0===ue.size&&0===t.length)return pe;var n={$and:[]};if(t.length>0&&n.$and.push({title:t}),ue.size>0){var r=(0,i.ev)([],Array.from(ue),!0).map((function(e){return{classes:"^".concat(e)}}));n.$and.push({$or:r})}return se.search(n)},be=function(e){var t=+e.target.value;if(void 0!==t&&(ue.has(t)?ue.delete(t):(le===oe.EXCLUSIVE&&ue.clear(),ue.add(t))),ae.Z.updateWindowHash((0,i.pi)((0,i.pi)({},ae.Z.getParamsFromWindowHash()),{c:(0,i.ev)([],Array.from(ue),!0)})),ue.size>0){var n=Array.from(ue).map((function(e){return"col/".concat(e>0?e:"000")})).join(",");document.getElementById("ep-search__query__facet").setAttribute("value",n)}},xe=function(e){document.documentElement.classList.contains("ep-page--home")&&(function(){var e={caseSensitive:!1,includeScore:!1,shouldSort:!1,useExtendedSearch:!0,threshold:.2,location:0,distance:500,maxPatternLength:128,matchAllTokens:!0,includeMatches:!0,tokenize:!0,keys:["title","classes"],id:"id"},t=[],n=document.querySelectorAll(".ep-home__journal ");n.length,performance.now(),n.forEach((function(e){var n=e.getAttribute("id");n&&t.push({id:n,title:e.querySelector(".ep-home__journal__title").textContent,classes:e.getAttribute("data-ep-cls").split(","),node:e})})),pe=t.map((function(e){return{item:e}}));var i=r.Z.createIndex(e.keys,t);se=new r.Z(t,e,i),de=he(we())}(),window.location.hash.length>1&&me(),window.addEventListener("hashchange",me),function(){for(var e,t=document.querySelectorAll('input[name="ep-home__display-mode__radio"]'),n=0;n<t.length;n++)t[n].addEventListener("change",_e);var r=function(e){var t=document.querySelector("input.ep-home__display-mode--text").checked;ae.Z.updateWindowHash((0,i.pi)((0,i.pi)({},ae.Z.getParamsFromWindowHash()),{view:t?"text":null}))},o=document.querySelectorAll("input.ep-home__display-mode--text,input.ep-home__display-mode--thumbnails");for(n=0;n<o.length;n++)o[n].addEventListener("change",r);"text"==(null==fe?void 0:fe.view)&&(null===(e=document.querySelector(".ep-home__display-mode--text"))||void 0===e||e.click())}(),ve(),function(){var e=".ep-home__classification",t=document.querySelector("".concat(e," .swiper-container"));if(t){var n={direction:"horizontal",slidesPerView:"auto",spaceBetween:0,freeMode:!1,grabCursor:!0,uniqueNavElements:!0,roundLengths:!0,centeredSlides:!0,watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},mousewheel:!1,breakpoints:{320:{centeredSlides:!1,freeMode:!0},1100:{centeredSlides:!1,freeMode:!1,simulateTouch:!0}},navigation:{nextEl:document.querySelector("".concat(e," .ep-home__classification__next")),prevEl:document.querySelector("".concat(e," .ep-home__classification__prev"))}};new ie(t,n)}var i=".ep-home__featured",r=document.querySelector("".concat(i," .swiper-container"));r&&(n={slidesPerView:"auto",spaceBetween:0,direction:"horizontal",freeMode:!1,grabCursor:!0,uniqueNavElements:!0,roundLengths:!0,centeredSlides:!1,watchOverflow:!0,keyboard:{enabled:!0,onlyInViewport:!0},mousewheel:!1,updateOnWindowResize:!0,breakpoints:{320:{centeredSlides:!1,freeMode:!0},1100:{centeredSlides:!1,freeMode:!1,simulateTouch:!0}},navigation:{nextEl:document.querySelector("".concat(i," .ep-home__featured__next")),prevEl:document.querySelector("".concat(i," .ep-home__featured__prev"))}},new ie(r,n))}())};null===(re=e.hot)||void 0===re||re.dispose((function(){}))},"./src/js/lib/cart.ts":function(e,t,n){"use strict";n.d(t,{H_:function(){return r},Hz:function(){return o},ru:function(){return i}});var i=function(e){var t={items:[{pid:e.pid}]};return fetch("/cart",{headers:{Accept:"application/json","Content-Type":"application/json"},method:"PUT",body:JSON.stringify(t)})},r=function(e){return fetch("/cart/order",{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(e)})},o=function(e){fetch("/cart").then((function(e){return e.json()})).then((function(t){var n;e(null!==(n=t.items)&&void 0!==n?n:[])}))}},"./src/js/utils.ts":function(e,t,n){"use strict";var i=n("./node_modules/tslib/tslib.es6.js"),r=n("./node_modules/query-string/index.js"),o={baseUrl:"",getPidFromUrl:function(e){return e.replace(/.*pid=(.*?)/,"$1")},getPartFromUri:function(e){return e.replace(/.*::(.*)$/,"$1")},replacePid:function(e,t){return e.match(/::/)?e.replace(/(.*::)(.*?)$/,"$1"+t):e+"::"+t},getURLParameter:function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[null,""])[1].replace(/\+/g,"%20"))||null},flatten:function(e){for(var t;(t=e.findIndex((function(e){return Array.isArray(e)})))>-1;)e.splice.apply(e,(0,i.ev)([t,1],e[t],!1));return e},simulateClick:function(e){var t=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});return e.dispatchEvent(t)},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},removeClass:function(e,t){var n;e.classList?(n=e.classList).remove.apply(n,t.split(" ")):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},removeAllChildren:function(e){for(;e.hasChildNodes();)e.removeChild(e.firstChild)},toggleClass:function(e,t){if(e.classList)e.classList.toggle(t);else{var n=e.className.split(" "),i=n.indexOf(t);i>=0?n.splice(i,1):n.push(t),e.className=n.join(" ")}},hasClass:function(e,t){return new RegExp("(^| )"+t+"( |$)").test(e.classList)},closest:function(e,t){var n,i;if(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(e){return"function"==typeof document.body[e]&&(n=e,!0)})),e[n](t))return e;for(;e;){if((i=e.parentElement)&&i[n](t))return i;e=i}return null},golden:function(e){return e*(.5*(3-Math.sqrt(5)))},navigate:function(e,t,n){return e.ctrlKey||e.metaKey||n?(n=n||"_blank",!1):(document.location.href=t,!1)},testFullscreenSupport:function(){return document.exitFullscreen||["webkit","ms","moz",""].filter((function(e){if(document[e+"ExitFullscreen"]||document[e+"ExitFullScreen"]||document[e+"CancelFullScreen"])return e})).length>0},isTouchDevice:function(){return"ontouchstart"in document.documentElement},replaceSpecialChars:function(e){var t,n,i,r,o,a,s,l,c,u,d,p,f;return null===(f=null===(p=null===(d=null===(u=null===(c=null===(l=null===(s=null===(a=null===(o=null===(r=null===(i=null===(n=null===(t=null==e?void 0:e.replace("‘","'"))||void 0===t?void 0:t.replace("’","'"))||void 0===n?void 0:n.replace("‚","'"))||void 0===i?void 0:i.replace("’","'"))||void 0===r?void 0:r.replace("‹","'"))||void 0===o?void 0:o.replace("›","'"))||void 0===a?void 0:a.replace("“",'"'))||void 0===s?void 0:s.replace("”",'"'))||void 0===l?void 0:l.replace("„",'"'))||void 0===c?void 0:c.replace("«",'"'))||void 0===u?void 0:u.replace("»",'"'))||void 0===d?void 0:d.replace("—","-"))||void 0===p?void 0:p.replace("«","?"))||void 0===f?void 0:f.replace("¡","!")},updateInputValue:function(e,t){var n=e.selectionStart,i=e.selectionEnd;e.value=t,e.setSelectionRange(n,i)},getParamsFromWindowHash:function(){return r.parse(window.location.hash.substr(1),{arrayFormat:"comma",parseNumbers:!0})},updateWindowHash:function(e){window.location.hash=r.stringify(e,{arrayFormat:"comma",encode:!0,skipNull:!0})},matomoTrackCustomDimension:function(e,t){window._paq&&window._paq.push(["setCustomDimension",e,t])},matomoTrackEvent:function(e,t,n,i){var r,o,a,s,l,c,u,d,p,f,h,v;void 0===e&&(e="Content"),void 0===t&&(t="Copy fulltext"),null===(r=window._paq)||void 0===r||r.push(["setCustomDimension",null!==(a=null===(o=window.epdata)||void 0===o?void 0:o.matomoCdJournalTitle)&&void 0!==a?a:1,null===(s=window.epdata)||void 0===s?void 0:s.journalTitleShort]),null===(l=window._paq)||void 0===l||l.push(["setCustomDimension",null!==(u=null===(c=window.epdata)||void 0===c?void 0:c.matomoCdJournalPrefix)&&void 0!==u?u:2,null===(d=window.epdata)||void 0===d?void 0:d.journalPrefix]),null===(p=window._paq)||void 0===p||p.push(["setCustomDimension",null!==(h=null===(f=window.epdata)||void 0===f?void 0:f.matomoCdJournalUniqueId)&&void 0!==h?h:3,null===(v=window.epdata)||void 0===v?void 0:v.journalUniqueId]),window._paq&&window._paq.push(["trackEvent",e,t,n,i])},matomoBuildDimensions:function(){var e,t,n,i,r,o,a,s,l,c={};return(null===(e=window.epdata)||void 0===e?void 0:e.matomoCdJournalPrefix)&&(c["dimension".concat(null===(t=window.epdata)||void 0===t?void 0:t.matomoCdJournalPrefix)]=null===(n=window.epdata)||void 0===n?void 0:n.journalPrefix),(null===(i=window.epdata)||void 0===i?void 0:i.matomoCdJournalTitle)&&(c["dimension".concat(null===(r=window.epdata)||void 0===r?void 0:r.matomoCdJournalTitle)]=null===(o=window.epdata)||void 0===o?void 0:o.journalTitle),(null===(a=window.epdata)||void 0===a?void 0:a.matomoCdJournalUniqueId)&&(c["dimension".concat(null===(s=window.epdata)||void 0===s?void 0:s.matomoCdJournalUniqueId)]=null===(l=window.epdata)||void 0===l?void 0:l.journalUniqueId),c},matomoTrackLink:function(e,t,n,i,r){if(void 0===r&&(r=""),!e&&i.target){var a=o.closest(i.target,"a".concat(r));e=null==a?void 0:a.getAttribute("href")}if(e){var s;e=(null==(s=e)?void 0:s.match(/^https?/))?s:document.location.protocol+"//"+document.location.host+((null==s?void 0:s.match(/^\//))?s:document.location.pathname+"/"+s);for(var l=0,c=Object.entries(null!=n?n:{});l<c.length;l++){var u=c[l],d=u[0],p=u[1];window._paq.push(["setCustomDimension",+d.replace("dimension",""),p])}window._paq&&window._paq.push(["trackLink",e,t])}}};t.Z=o},"./node_modules/tslib/tslib.es6.js":function(e,t,n){"use strict";n.d(t,{Jh:function(){return s},ZT:function(){return r},ev:function(){return l},mG:function(){return a},pi:function(){return o}});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function a(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function s(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}Object.create;function l(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}Object.create}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=r,a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var r=Object.create(null);a.r(r);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},a.d(r,o),r},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return"js/"+e+"."+{nouislider:"54e6651e",choices:"d39c9bbd",openseadragon:"c31c1b80","vendors-node_modules_react-uid_dist_es2015_hooks_js-node_modules_react-hook-form_dist_index_esm_mjs":"a135dd4a",cart:"b1f6313b"}[e]+".js"},a.miniCssF=function(e){},a.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},i="eperiodica-theme:",a.l=function(e,t,r,o){if(n[e])n[e].push(t);else{var s,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+r){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",i+r),s.src=e),n[e]=[t];var p=function(t,i){s.onerror=s.onload=null,clearTimeout(f);var r=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((function(e){return e(i)})),t)return t(i)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.p="/dist/",function(){var e={"js/main":0};a.f.j=function(t,n){var i=a.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise((function(n,r){i=e[t]=[n,r]}));n.push(i[2]=r);var o=a.p+a.u(t),s=new Error;a.l(o,(function(n){if(a.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",s.name="ChunkLoadError",s.type=r,s.request=o,i[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var i,r,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(l)l(a)}for(t&&t(n);c<o.length;c++)r=o[c],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=self.webpackChunkeperiodica_theme=self.webpackChunkeperiodica_theme||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var s={};!function(){"use strict";a.d(s,{Z:function(){return fo},Hy:function(){return uo},S6:function(){return po}});var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),r="FormData"in e,o="ArrayBuffer"in e;if(o)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function v(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=v(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var n;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:t&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o&&i&&((n=e)&&DataView.prototype.isPrototypeOf(n))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=h(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(m)}),this.text=function(){var e,t,n,i=h(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=v(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=d(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},n&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i,r=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),y.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},_.call(w.prototype),_.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];x.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})};var E=e.DOMException;try{new E}catch(e){(E=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),E.prototype.constructor=E}function S(t,n){return new Promise((function(r,a){var s=new w(t,n);if(s.signal&&s.signal.aborted)return a(new E("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),i=n.shift().trim();if(i){var r=n.join(":").trim();t.append(i,r)}})),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;setTimeout((function(){r(new x(i,n))}),0)},l.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){a(new E("Aborted","AbortError"))}),0)},l.open(s.method,function(t){try{return""===t&&e.location.href?e.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?l.withCredentials=!0:"omit"===s.credentials&&(l.withCredentials=!1),"responseType"in l&&(i?l.responseType="blob":o&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof f?s.headers.forEach((function(e,t){l.setRequestHeader(t,e)})):Object.getOwnPropertyNames(n.headers).forEach((function(e){l.setRequestHeader(e,d(n.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&s.signal.removeEventListener("abort",c)}),l.send(void 0===s._bodyInit?null:s._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=f,e.Request=w,e.Response=x);a("./node_modules/element-closest-polyfill/index.js");var k=a("./src/js/utils.ts"),T=function(e){for(var t=e.getAttribute("data-accordion-toggle")||"ep-accordion__toggle",n=e.querySelectorAll(".".concat(t)),i=function(e){e.preventDefault();var t=e.currentTarget,n=document.getElementById(t.getAttribute("aria-controls"));n.style.cssText="",setTimeout((function(){"true"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true"),k.Z.addClass(n,"ep-accordion__content--collapsed"),k.Z.addClass(t,"ep-accordion__toggle--collapsed")):(t.setAttribute("aria-expanded","true"),n.setAttribute("aria-hidden","false"),k.Z.removeClass(n,"ep-accordion__content--collapsed"),k.Z.removeClass(t,"ep-accordion__toggle--collapsed"))}),0)},r=0;r<n.length;r++)n[r].removeEventListener("click",i),n[r].addEventListener("click",i)};document.addEventListener("DOMContentLoaded",(function(e){for(var t=document.querySelectorAll(".ep-accordion"),n=0;n<t.length;n++)T(t[n])}));var M=a("./src/js/home.ts"),A={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},O={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},L=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],P={CSS:{},springs:{}};function j(e,t,n){return Math.min(Math.max(e,t),n)}function I(e,t){return e.indexOf(t)>-1}function D(e,t){return e.apply(null,t)}var N={arr:function(e){return Array.isArray(e)},obj:function(e){return I(Object.prototype.toString.call(e),"Object")},pth:function(e){return N.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||N.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return N.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return N.hex(e)||N.rgb(e)||N.hsl(e)},key:function(e){return!A.hasOwnProperty(e)&&!O.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function B(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function R(e,t){var n=B(e),i=j(N.und(n[0])?1:n[0],.1,100),r=j(N.und(n[1])?100:n[1],.1,100),o=j(N.und(n[2])?10:n[2],.1,100),a=j(N.und(n[3])?0:n[3],.1,100),s=Math.sqrt(r/i),l=o/(2*Math.sqrt(r*i)),c=l<1?s*Math.sqrt(1-l*l):0,u=l<1?(l*s-a)/c:-a+s;function d(e){var n=t?t*e/1e3:e;return n=l<1?Math.exp(-n*l*s)*(1*Math.cos(c*n)+u*Math.sin(c*n)):(1+u*n)*Math.exp(-n*s),0===e||1===e?e:1-n}return t?d:function(){var t=P.springs[e];if(t)return t;for(var n=1/6,i=0,r=0;;)if(1===d(i+=n)){if(++r>=16)break}else r=0;var o=i*n*1e3;return P.springs[e]=o,o}}function F(e){return void 0===e&&(e=10),function(t){return Math.ceil(j(t,1e-6,1)*e)*(1/e)}}var $,H,q=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function i(e){return 3*e}function r(e,r,o){return((t(r,o)*e+n(r,o))*e+i(r))*e}function o(e,r,o){return 3*t(r,o)*e*e+2*n(r,o)*e+i(r)}return function(t,n,i,a){if(0<=t&&t<=1&&0<=i&&i<=1){var s=new Float32Array(11);if(t!==n||i!==a)for(var l=0;l<11;++l)s[l]=r(l*e,t,i);return function(e){return t===n&&i===a||0===e||1===e?e:r(c(e),n,a)}}function c(n){for(var a=0,l=1;10!==l&&s[l]<=n;++l)a+=e;--l;var c=a+(n-s[l])/(s[l+1]-s[l])*e,u=o(c,t,i);return u>=.001?function(e,t,n,i){for(var a=0;a<4;++a){var s=o(t,n,i);if(0===s)return t;t-=(r(t,n,i)-e)/s}return t}(n,c,t,i):0===u?c:function(e,t,n,i,o){var a,s,l=0;do{(a=r(s=t+(n-t)/2,i,o)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++l<10);return s}(n,a,a+e,t,i)}}}(),V=($={linear:function(){return function(e){return e}}},H={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=j(e,1,10),i=j(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){H[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(H).forEach((function(e){var t=H[e];$["easeIn"+e]=t,$["easeOut"+e]=function(e,n){return function(i){return 1-t(e,n)(1-i)}},$["easeInOut"+e]=function(e,n){return function(i){return i<.5?t(e,n)(2*i)/2:1-t(e,n)(-2*i+2)/2}},$["easeOutIn"+e]=function(e,n){return function(i){return i<.5?(1-t(e,n)(1-2*i))/2:(t(e,n)(2*i-1)+1)/2}}})),$);function z(e,t){if(N.fnc(e))return e;var n=e.split("(")[0],i=V[n],r=B(e);switch(n){case"spring":return R(e,t);case"cubicBezier":return D(q,r);case"steps":return D(F,r);default:return D(i,r)}}function Y(e){try{return document.querySelectorAll(e)}catch(e){return}}function U(e,t){for(var n=e.length,i=arguments.length>=2?arguments[1]:void 0,r=[],o=0;o<n;o++)if(o in e){var a=e[o];t.call(i,a,o,e)&&r.push(a)}return r}function W(e){return e.reduce((function(e,t){return e.concat(N.arr(t)?W(t):t)}),[])}function X(e){return N.arr(e)?e:(N.str(e)&&(e=Y(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function G(e,t){return e.some((function(e){return e===t}))}function Z(e){var t={};for(var n in e)t[n]=e[n];return t}function J(e,t){var n=Z(e);for(var i in e)n[i]=t.hasOwnProperty(i)?t[i]:e[i];return n}function K(e,t){var n=Z(e);for(var i in t)n[i]=N.und(e[i])?t[i]:e[i];return n}function Q(e){return N.rgb(e)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+n[1]+",1)":t:N.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)+",1)"}(e):N.hsl(e)?function(e){var t,n,i,r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),o=parseInt(r[1],10)/360,a=parseInt(r[2],10)/100,s=parseInt(r[3],10)/100,l=r[4]||1;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==a)t=n=i=s;else{var u=s<.5?s*(1+a):s+a-s*a,d=2*s-u;t=c(d,u,o+1/3),n=c(d,u,o),i=c(d,u,o-1/3)}return"rgba("+255*t+","+255*n+","+255*i+","+l+")"}(e):void 0;var t,n}function ee(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function te(e,t){return N.fnc(e)?e(t.target,t.id,t.total):e}function ne(e,t){return e.getAttribute(t)}function ie(e,t,n){if(G([n,"deg","rad","turn"],ee(t)))return t;var i=P.CSS[t+n];if(!N.und(i))return i;var r=document.createElement(e.tagName),o=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;o.appendChild(r),r.style.position="absolute",r.style.width=100+n;var a=100/r.offsetWidth;o.removeChild(r);var s=a*parseFloat(t);return P.CSS[t+n]=s,s}function re(e,t,n){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=e.style[t]||getComputedStyle(e).getPropertyValue(i)||"0";return n?ie(e,r,n):r}}function oe(e,t){return N.dom(e)&&!N.inp(e)&&(!N.nil(ne(e,t))||N.svg(e)&&e[t])?"attribute":N.dom(e)&&G(L,t)?"transform":N.dom(e)&&"transform"!==t&&re(e,t)?"css":null!=e[t]?"object":void 0}function ae(e){if(N.dom(e)){for(var t,n=e.style.transform||"",i=/(\w+)\(([^)]*)\)/g,r=new Map;t=i.exec(n);)r.set(t[1],t[2]);return r}}function se(e,t,n,i){var r=I(t,"scale")?1:0+function(e){return I(e,"translate")||"perspective"===e?"px":I(e,"rotate")||I(e,"skew")?"deg":void 0}(t),o=ae(e).get(t)||r;return n&&(n.transforms.list.set(t,o),n.transforms.last=t),i?ie(e,o,i):o}function le(e,t,n,i){switch(oe(e,t)){case"transform":return se(e,t,i,n);case"css":return re(e,t,n);case"attribute":return ne(e,t);default:return e[t]||0}}function ce(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var i=ee(e)||0,r=parseFloat(t),o=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return r+o+i;case"-":return r-o+i;case"*":return r*o+i}}function ue(e,t){if(N.col(e))return Q(e);if(/\s/g.test(e))return e;var n=ee(e),i=n?e.substr(0,e.length-n.length):e;return t?i+t:i}function de(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function pe(e){for(var t,n=e.points,i=0,r=0;r<n.numberOfItems;r++){var o=n.getItem(r);r>0&&(i+=de(t,o)),t=o}return i}function fe(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*ne(e,"r")}(e);case"rect":return function(e){return 2*ne(e,"width")+2*ne(e,"height")}(e);case"line":return function(e){return de({x:ne(e,"x1"),y:ne(e,"y1")},{x:ne(e,"x2"),y:ne(e,"y2")})}(e);case"polyline":return pe(e);case"polygon":return function(e){var t=e.points;return pe(e)+de(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function he(e,t){var n=t||{},i=n.el||function(e){for(var t=e.parentNode;N.svg(t)&&N.svg(t.parentNode);)t=t.parentNode;return t}(e),r=i.getBoundingClientRect(),o=ne(i,"viewBox"),a=r.width,s=r.height,l=n.viewBox||(o?o.split(" "):[0,0,a,s]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a,h:s,vW:l[2],vH:l[3]}}function ve(e,t,n){function i(n){void 0===n&&(n=0);var i=t+n>=1?t+n:0;return e.el.getPointAtLength(i)}var r=he(e.el,e.svg),o=i(),a=i(-1),s=i(1),l=n?1:r.w/r.vW,c=n?1:r.h/r.vH;switch(e.property){case"x":return(o.x-r.x)*l;case"y":return(o.y-r.y)*c;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function me(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=ue(N.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(n)?i.match(n).map(Number):[0],strings:N.str(e)||t?i.split(n):[]}}function ge(e){return U(e?W(N.arr(e)?e.map(X):X(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function _e(e){var t=ge(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:ae(e)}}}))}function ye(e,t){var n=Z(t);if(/^spring/.test(n.easing)&&(n.duration=R(n.easing)),N.arr(e)){var i=e.length;2===i&&!N.obj(e[0])?e={value:e}:N.fnc(t.duration)||(n.duration=t.duration/i)}var r=N.arr(e)?e:[e];return r.map((function(e,n){var i=N.obj(e)&&!N.pth(e)?e:{value:e};return N.und(i.delay)&&(i.delay=n?0:t.delay),N.und(i.endDelay)&&(i.endDelay=n===r.length-1?t.endDelay:0),i})).map((function(e){return K(e,n)}))}function we(e,t){var n=[],i=t.keyframes;for(var r in i&&(t=K(function(e){for(var t=U(W(e.map((function(e){return Object.keys(e)}))),(function(e){return N.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},i=function(i){var r=t[i];n[r]=e.map((function(e){var t={};for(var n in e)N.key(n)?n==r&&(t.value=e[n]):t[n]=e[n];return t}))},r=0;r<t.length;r++)i(r);return n}(i),t)),t)N.key(r)&&n.push({name:r,tweens:ye(t[r],e)});return n}function be(e,t){var n;return e.tweens.map((function(i){var r=function(e,t){var n={};for(var i in e){var r=te(e[i],t);N.arr(r)&&(r=r.map((function(e){return te(e,t)})),1===r.length&&(r=r[0])),n[i]=r}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(i,t),o=r.value,a=N.arr(o)?o[1]:o,s=ee(a),l=le(t.target,e.name,s,t),c=n?n.to.original:l,u=N.arr(o)?o[0]:c,d=ee(u)||ee(l),p=s||d;return N.und(a)&&(a=c),r.from=me(u,p),r.to=me(ce(a,u),p),r.start=n?n.end:0,r.end=r.start+r.delay+r.duration+r.endDelay,r.easing=z(r.easing,r.duration),r.isPath=N.pth(o),r.isPathTargetInsideSVG=r.isPath&&N.svg(t.target),r.isColor=N.col(r.from.original),r.isColor&&(r.round=1),n=r,r}))}var xe={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,i,r){if(i.list.set(t,n),t===i.last||r){var o="";i.list.forEach((function(e,t){o+=t+"("+e+") "})),e.style.transform=o}}};function Ce(e,t){_e(e).forEach((function(e){for(var n in t){var i=te(t[n],e),r=e.target,o=ee(i),a=le(r,n,o,e),s=ce(ue(i,o||ee(a)),a),l=oe(r,n);xe[l](r,n,s,e.transforms,!0)}}))}function Ee(e,t){return U(W(e.map((function(e){return t.map((function(t){return function(e,t){var n=oe(e.target,t.name);if(n){var i=be(t,e),r=i[i.length-1];return{type:n,property:t.name,animatable:e,tweens:i,duration:r.end,delay:i[0].delay,endDelay:r.endDelay}}}(e,t)}))}))),(function(e){return!N.und(e)}))}function Se(e,t){var n=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},r={};return r.duration=n?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,r.delay=n?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,r.endDelay=n?r.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,r}var ke=0;var Te=[],Me=function(){var e;function t(n){for(var i=Te.length,r=0;r<i;){var o=Te[r];o.paused?(Te.splice(r,1),i--):(o.tick(n),r++)}e=r>0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){Oe.suspendWhenDocumentHidden&&(Ae()?e=cancelAnimationFrame(e):(Te.forEach((function(e){return e._onDocumentVisibility()})),Me()))})),function(){e||Ae()&&Oe.suspendWhenDocumentHidden||!(Te.length>0)||(e=requestAnimationFrame(t))}}();function Ae(){return!!document&&document.hidden}function Oe(e){void 0===e&&(e={});var t,n=0,i=0,r=0,o=0,a=null;function s(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=J(A,e),n=J(O,e),i=we(n,e),r=_e(e.targets),o=Ee(r,i),a=Se(o,n),s=ke;return ke++,K(t,{id:s,children:[],animatables:r,animations:o,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);s(l);function c(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function u(e){return l.reversed?l.duration-e:e}function d(){n=0,i=u(l.currentTime)*(1/Oe.speed)}function p(e,t){t&&t.seek(e-t.timelineOffset)}function f(e){for(var t=0,n=l.animations,i=n.length;t<i;){var r=n[t],o=r.animatable,a=r.tweens,s=a.length-1,c=a[s];s&&(c=U(a,(function(t){return e<t.end}))[0]||c);for(var u=j(e-c.start-c.delay,0,c.duration)/c.duration,d=isNaN(u)?1:c.easing(u),p=c.to.strings,f=c.round,h=[],v=c.to.numbers.length,m=void 0,g=0;g<v;g++){var _=void 0,y=c.to.numbers[g],w=c.from.numbers[g]||0;_=c.isPath?ve(c.value,d*y,c.isPathTargetInsideSVG):w+d*(y-w),f&&(c.isColor&&g>2||(_=Math.round(_*f)/f)),h.push(_)}var b=p.length;if(b){m=p[0];for(var x=0;x<b;x++){p[x];var C=p[x+1],E=h[x];isNaN(E)||(m+=C?E+C:E+" ")}}else m=h[0];xe[r.type](o.target,r.property,m,o.transforms),r.currentValue=m,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function v(e){var d=l.duration,v=l.delay,m=d-l.endDelay,g=u(e);l.progress=j(g/d*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var n=o;n--;)p(e,t[n]);else for(var i=0;i<o;i++)p(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h("loopBegin")),g<=v&&0!==l.currentTime&&f(0),(g>=m&&l.currentTime!==d||!d)&&f(d),g>v&&g<m?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h("changeBegin")),h("change"),f(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h("changeComplete")),l.currentTime=j(g,0,d),l.began&&h("update"),e>=d&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(n=r,h("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&c()):(l.paused=!0,l.completed||(l.completed=!0,h("loopComplete"),h("complete"),!l.passThrough&&"Promise"in window&&(a(),s(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var n=o=t.length;n--;)l.children[n].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,f(l.reversed?l.duration:0)},l._onDocumentVisibility=d,l.set=function(e,t){return Ce(e,t),l},l.tick=function(e){r=e,n||(n=r),v((r+(i-n))*Oe.speed)},l.seek=function(e){v(u(e))},l.pause=function(){l.paused=!0,d()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Te.push(l),d(),Me())},l.reverse=function(){c(),l.completed=!l.reversed,d()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){Pe(ge(e),l)},l.reset(),l.autoplay&&l.play(),l}function Le(e,t){for(var n=t.length;n--;)G(e,t[n].animatable.target)&&t.splice(n,1)}function Pe(e,t){var n=t.animations,i=t.children;Le(e,n);for(var r=i.length;r--;){var o=i[r],a=o.animations;Le(e,a),a.length||o.children.length||i.splice(r,1)}n.length||i.length||t.pause()}Oe.version="3.2.1",Oe.speed=1,Oe.suspendWhenDocumentHidden=!0,Oe.running=Te,Oe.remove=function(e){for(var t=ge(e),n=Te.length;n--;){Pe(t,Te[n])}},Oe.get=le,Oe.set=Ce,Oe.convertPx=ie,Oe.path=function(e,t){var n=N.str(e)?Y(e)[0]:e,i=t||100;return function(e){return{property:e,el:n,svg:he(n),totalLength:fe(n)*(i/100)}}},Oe.setDashoffset=function(e){var t=fe(e);return e.setAttribute("stroke-dasharray",t),t},Oe.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",i=t.easing?z(t.easing):null,r=t.grid,o=t.axis,a=t.from||0,s="first"===a,l="center"===a,c="last"===a,u=N.arr(e),d=u?parseFloat(e[0]):parseFloat(e),p=u?parseFloat(e[1]):0,f=ee(u?e[1]:e)||0,h=t.start||0+(u?d:0),v=[],m=0;return function(e,t,g){if(s&&(a=0),l&&(a=(g-1)/2),c&&(a=g-1),!v.length){for(var _=0;_<g;_++){if(r){var y=l?(r[0]-1)/2:a%r[0],w=l?(r[1]-1)/2:Math.floor(a/r[0]),b=y-_%r[0],x=w-Math.floor(_/r[0]),C=Math.sqrt(b*b+x*x);"x"===o&&(C=-b),"y"===o&&(C=-x),v.push(C)}else v.push(Math.abs(a-_));m=Math.max.apply(Math,v)}i&&(v=v.map((function(e){return i(e/m)*m}))),"reverse"===n&&(v=v.map((function(e){return o?e<0?-1*e:-e:Math.abs(m-e)})))}return h+(u?(p-d)/m:d)*(Math.round(100*v[t])/100)+f}},Oe.timeline=function(e){void 0===e&&(e={});var t=Oe(e);return t.duration=0,t.add=function(n,i){var r=Te.indexOf(t),o=t.children;function a(e){e.passThrough=!0}r>-1&&Te.splice(r,1);for(var s=0;s<o.length;s++)a(o[s]);var l=K(n,J(O,e));l.targets=l.targets||e.targets;var c=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=N.und(i)?c:ce(i,c),a(t),t.seek(l.timelineOffset);var u=Oe(l);a(u),o.push(u);var d=Se(o,e);return t.delay=d.delay,t.endDelay=d.endDelay,t.duration=d.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Oe.easing=z,Oe.penner=V,Oe.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var je=Oe,Ie=function(e){var t=k.Z.closest(e,"button");return{btn:t,overlay:document.querySelector(".ep-overlay"),menu:t?document.getElementById(t.getAttribute("aria-controls")):null}},De=function(e){"Escape"===e.key&&Ne(e)},Ne=function(e){var t=Ie(document.querySelector(".ep-header__menu__button")),n=t.btn,i=t.overlay,r=t.menu;n.removeAttribute("aria-expanded"),r.classList.remove("ep-menu--active"),n.focus(),document.removeEventListener("keydown",De),je({targets:i,opacity:0,translateZ:0,duration:250,easing:"easeOutCubic",complete:function(){i.style.transform="translate3d(100%,0,0)"}})},Be=function(e){var t=Ie(e.target),n=t.btn,i=t.overlay,r=t.menu;if(null!==n.getAttribute("aria-expanded"))return Ne(e);r.style.cssText="",setTimeout((function(){n.setAttribute("aria-expanded","true"),r.classList.add("ep-menu--active"),r.focus(),i.style.transform="translate3d(0,0,0)",document.addEventListener("keydown",De),je({targets:".ep-menu__link",delay:je.stagger(20),opacity:[0,1],translateX:["100%","0%"],translateZ:0,duration:800,easing:"easeOutCubic"}),je({targets:".ep-overlay",opacity:1,translateZ:0,duration:250,easing:"easeOutCubic"})}),0)};document.addEventListener("DOMContentLoaded",(function(e){!function(){var e,t,n,i;null===(e=document.querySelector(".ep-header__menu__button"))||void 0===e||e.removeEventListener("click",Be),null===(t=document.querySelector(".ep-menu__close"))||void 0===t||t.removeEventListener("click",Ne),null===(n=document.querySelector(".ep-header__menu__button"))||void 0===n||n.addEventListener("click",Be),null===(i=document.querySelector(".ep-menu__close"))||void 0===i||i.addEventListener("click",Ne)}()}));var Re=a("./node_modules/tslib/tslib.es6.js");function Fe(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $e(e){return e instanceof Fe(e).Element||e instanceof Element}function He(e){return e instanceof Fe(e).HTMLElement||e instanceof HTMLElement}function qe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Fe(e).ShadowRoot||e instanceof ShadowRoot)}var Ve=Math.max,ze=Math.min,Ye=Math.round;function Ue(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;if(He(e)&&t){var o=e.offsetHeight,a=e.offsetWidth;a>0&&(i=Ye(n.width)/a||1),o>0&&(r=Ye(n.height)/o||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function We(e){var t=Fe(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(e){return e?(e.nodeName||"").toLowerCase():null}function Ge(e){return(($e(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return Ue(Ge(e)).left+We(e).scrollLeft}function Je(e){return Fe(e).getComputedStyle(e)}function Ke(e){var t=Je(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Qe(e,t,n){void 0===n&&(n=!1);var i,r,o=He(t),a=He(t)&&function(e){var t=e.getBoundingClientRect(),n=Ye(t.width)/e.offsetWidth||1,i=Ye(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=Ge(t),l=Ue(e,a),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Xe(t)||Ke(s))&&(c=(i=t)!==Fe(i)&&He(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:We(i)),He(t)?((u=Ue(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Ze(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function et(e){var t=Ue(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function tt(e){return"html"===Xe(e)?e:e.assignedSlot||e.parentNode||(qe(e)?e.host:null)||Ge(e)}function nt(e){return["html","body","#document"].indexOf(Xe(e))>=0?e.ownerDocument.body:He(e)&&Ke(e)?e:nt(tt(e))}function it(e,t){var n;void 0===t&&(t=[]);var i=nt(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=Fe(i),a=r?[o].concat(o.visualViewport||[],Ke(i)?i:[]):i,s=t.concat(a);return r?s:s.concat(it(tt(a)))}function rt(e){return["table","td","th"].indexOf(Xe(e))>=0}function ot(e){return He(e)&&"fixed"!==Je(e).position?e.offsetParent:null}function at(e){for(var t=Fe(e),n=ot(e);n&&rt(n)&&"static"===Je(n).position;)n=ot(n);return n&&("html"===Xe(n)||"body"===Xe(n)&&"static"===Je(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&He(e)&&"fixed"===Je(e).position)return null;var n=tt(e);for(qe(n)&&(n=n.host);He(n)&&["html","body"].indexOf(Xe(n))<0;){var i=Je(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}var st="top",lt="bottom",ct="right",ut="left",dt="auto",pt=[st,lt,ct,ut],ft="start",ht="end",vt="viewport",mt="popper",gt=pt.reduce((function(e,t){return e.concat([t+"-"+ft,t+"-"+ht])}),[]),_t=[].concat(pt,[dt]).reduce((function(e,t){return e.concat([t,t+"-"+ft,t+"-"+ht])}),[]),yt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function wt(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var bt={placement:"bottom",modifiers:[],strategy:"absolute"};function xt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ct(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?bt:r;return function(e,t,n){void 0===n&&(n=o);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},bt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},o,s.options,r),s.scrollParents={reference:$e(e)?it(e):e.contextElement?it(e.contextElement):[],popper:it(t)};var a=function(e){var t=wt(e);return yt.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,s.options.modifiers)));return s.orderedModifiers=a.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var o=r({state:s,name:t,instance:u,options:i}),a=function(){};l.push(o||a)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(xt(t,n)){s.rects={reference:Qe(t,at(n),"fixed"===s.options.strategy),popper:et(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var r=s.orderedModifiers[i],o=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof o&&(s=o({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){d(),c=!0}};if(!xt(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Et={passive:!0};function St(e){return e.split("-")[0]}function kt(e){return e.split("-")[1]}function Tt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mt(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?St(r):null,a=r?kt(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case st:t={x:s,y:n.y-i.height};break;case lt:t={x:s,y:n.y+n.height};break;case ct:t={x:n.x+n.width,y:l};break;case ut:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Tt(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ft:t[c]=t[c]-(n[u]/2-i[u]/2);break;case ht:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}var At={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ot(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,v=void 0===h?0:h,m="function"==typeof u?u({x:f,y:v}):{x:f,y:v};f=m.x,v=m.y;var g=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),y=ut,w=st,b=window;if(c){var x=at(n),C="clientHeight",E="clientWidth";if(x===Fe(n)&&"static"!==Je(x=Ge(n)).position&&"absolute"===s&&(C="scrollHeight",E="scrollWidth"),r===st||(r===ut||r===ct)&&o===ht)w=lt,v-=(d&&x===b&&b.visualViewport?b.visualViewport.height:x[C])-i.height,v*=l?1:-1;if(r===ut||(r===st||r===lt)&&o===ht)y=ct,f-=(d&&x===b&&b.visualViewport?b.visualViewport.width:x[E])-i.width,f*=l?1:-1}var S,k=Object.assign({position:s},c&&At),T=!0===u?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:Ye(t*i)/i||0,y:Ye(n*i)/i||0}}({x:f,y:v}):{x:f,y:v};return f=T.x,v=T.y,l?Object.assign({},k,((S={})[w]=_?"0":"",S[y]=g?"0":"",S.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",S)):Object.assign({},k,((t={})[w]=_?v+"px":"",t[y]=g?f+"px":"",t.transform="",t))}var Lt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];He(r)&&Xe(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});He(i)&&Xe(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,a=_t.reduce((function(e,n){return e[n]=function(e,t,n){var i=St(e),r=[ut,st].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[ut,ct].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=a}},jt={left:"right",right:"left",bottom:"top",top:"bottom"};function It(e){return e.replace(/left|right|bottom|top/g,(function(e){return jt[e]}))}var Dt={start:"end",end:"start"};function Nt(e){return e.replace(/start|end/g,(function(e){return Dt[e]}))}function Bt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qe(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Rt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ft(e,t){return t===vt?Rt(function(e){var t=Fe(e),n=Ge(e),i=t.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,s=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:r,height:o,x:a+Ze(e),y:s}}(e)):$e(t)?function(e){var t=Ue(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Rt(function(e){var t,n=Ge(e),i=We(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=Ve(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Ve(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+Ze(e),l=-i.scrollTop;return"rtl"===Je(r||n).direction&&(s+=Ve(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(Ge(e)))}function $t(e,t,n){var i="clippingParents"===t?function(e){var t=it(tt(e)),n=["absolute","fixed"].indexOf(Je(e).position)>=0&&He(e)?at(e):e;return $e(n)?t.filter((function(e){return $e(e)&&Bt(e,n)&&"body"!==Xe(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],a=r.reduce((function(t,n){var i=Ft(e,n);return t.top=Ve(i.top,t.top),t.right=ze(i.right,t.right),t.bottom=ze(i.bottom,t.bottom),t.left=Ve(i.left,t.left),t}),Ft(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ht(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Vt(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.boundary,a=void 0===o?"clippingParents":o,s=n.rootBoundary,l=void 0===s?vt:s,c=n.elementContext,u=void 0===c?mt:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,v=Ht("number"!=typeof h?h:qt(h,pt)),m=u===mt?"reference":mt,g=e.rects.popper,_=e.elements[p?m:u],y=$t($e(_)?_:_.contextElement||Ge(e.elements.popper),a,l),w=Ue(e.elements.reference),b=Mt({reference:w,element:g,strategy:"absolute",placement:r}),x=Rt(Object.assign({},g,b)),C=u===mt?x:w,E={top:y.top-C.top+v.top,bottom:C.bottom-y.bottom+v.bottom,left:y.left-C.left+v.left,right:C.right-y.right+v.right},S=e.modifiersData.offset;if(u===mt&&S){var k=S[r];Object.keys(E).forEach((function(e){var t=[ct,lt].indexOf(e)>=0?1:-1,n=[st,lt].indexOf(e)>=0?"y":"x";E[e]+=k[n]*t}))}return E}var zt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,v=n.allowedAutoPlacements,m=t.options.placement,g=St(m),_=l||(g===m||!h?[It(m)]:function(e){if(St(e)===dt)return[];var t=It(e);return[Nt(e),t,Nt(t)]}(m)),y=[m].concat(_).reduce((function(e,n){return e.concat(St(n)===dt?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?_t:l,u=kt(i),d=u?s?gt:gt.filter((function(e){return kt(e)===u})):pt,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Vt(e,{placement:n,boundary:r,rootBoundary:o,padding:a})[St(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,b=t.rects.popper,x=new Map,C=!0,E=y[0],S=0;S<y.length;S++){var k=y[S],T=St(k),M=kt(k)===ft,A=[st,lt].indexOf(T)>=0,O=A?"width":"height",L=Vt(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=A?M?ct:ut:M?lt:st;w[O]>b[O]&&(P=It(P));var j=It(P),I=[];if(o&&I.push(L[T]<=0),s&&I.push(L[P]<=0,L[j]<=0),I.every((function(e){return e}))){E=k,C=!1;break}x.set(k,I)}if(C)for(var D=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},N=h?3:1;N>0;N--){if("break"===D(N))break}t.placement!==E&&(t.modifiersData[i]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Yt(e,t,n){return Ve(e,ze(t,n))}var Ut={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=Vt(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),g=St(t.placement),_=kt(t.placement),y=!_,w=Tt(g),b="x"===w?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,S="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,k="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(o){var A,O="y"===w?st:ut,L="y"===w?lt:ct,P="y"===w?"height":"width",j=x[w],I=j+m[O],D=j-m[L],N=f?-E[P]/2:0,B=_===ft?C[P]:E[P],R=_===ft?-E[P]:-C[P],F=t.elements.arrow,$=f&&F?et(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=H[O],V=H[L],z=Yt(0,C[P],$[P]),Y=y?C[P]/2-N-z-q-k.mainAxis:B-z-q-k.mainAxis,U=y?-C[P]/2+N+z+V+k.mainAxis:R+z+V+k.mainAxis,W=t.elements.arrow&&at(t.elements.arrow),X=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,G=null!=(A=null==T?void 0:T[w])?A:0,Z=j+U-G,J=Yt(f?ze(I,j+Y-G-X):I,j,f?Ve(D,Z):D);x[w]=J,M[w]=J-j}if(s){var K,Q="x"===w?st:ut,ee="x"===w?lt:ct,te=x[b],ne="y"===b?"height":"width",ie=te+m[Q],re=te-m[ee],oe=-1!==[st,ut].indexOf(g),ae=null!=(K=null==T?void 0:T[b])?K:0,se=oe?ie:te-C[ne]-E[ne]-ae+k.altAxis,le=oe?te+C[ne]+E[ne]-ae-k.altAxis:re,ce=f&&oe?function(e,t,n){var i=Yt(e,t,n);return i>n?n:i}(se,te,le):Yt(f?se:ie,te,f?le:re);x[b]=ce,M[b]=ce-te}t.modifiersData[i]=M}},requiresIfExists:["offset"]};var Wt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=St(n.placement),l=Tt(s),c=[ut,ct].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return Ht("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qt(e,pt))}(r.padding,n),d=et(o),p="y"===l?st:ut,f="y"===l?lt:ct,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],v=a[l]-n.rects.reference[l],m=at(o),g=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,_=h/2-v/2,y=u[p],w=g-d[c]-u[f],b=g/2-d[c]/2+_,x=Yt(y,b,w),C=l;n.modifiersData[i]=((t={})[C]=x,t.centerOffset=x-b,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Bt(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Gt(e){return[st,ct,lt,ut].some((function(t){return e[t]>=0}))}var Zt=Ct({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=Fe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Et)})),s&&l.addEventListener("resize",n.update,Et),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Et)})),s&&l.removeEventListener("resize",n.update,Et)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Mt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:St(t.placement),variation:kt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ot(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ot(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Lt,Pt,zt,Ut,Wt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=Vt(t,{elementContext:"reference"}),s=Vt(t,{altBoundary:!0}),l=Xt(a,i),c=Xt(s,r,o),u=Gt(l),d=Gt(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Jt="tippy-content",Kt="tippy-backdrop",Qt="tippy-arrow",en="tippy-svg-arrow",tn={passive:!0,capture:!0},nn=function(){return document.body};function rn(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function on(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function an(e,t){return"function"==typeof e?e.apply(void 0,t):e}function sn(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function ln(e){return[].concat(e)}function cn(e,t){-1===e.indexOf(t)&&e.push(t)}function un(e){return e.split("-")[0]}function dn(e){return[].slice.call(e)}function pn(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function fn(){return document.createElement("div")}function hn(e){return["Element","Fragment"].some((function(t){return on(e,t)}))}function vn(e){return on(e,"MouseEvent")}function mn(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function gn(e){return hn(e)?[e]:function(e){return on(e,"NodeList")}(e)?dn(e):Array.isArray(e)?e:dn(document.querySelectorAll(e))}function _n(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function yn(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function wn(e){var t,n=ln(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function bn(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function xn(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Cn={isTouch:!1},En=0;function Sn(){Cn.isTouch||(Cn.isTouch=!0,window.performance&&document.addEventListener("mousemove",kn))}function kn(){var e=performance.now();e-En<20&&(Cn.isTouch=!1,document.removeEventListener("mousemove",kn)),En=e}function Tn(){var e=document.activeElement;if(mn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Mn=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var An={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},On=Object.assign({appendTo:nn,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},An,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ln=Object.keys(On);function Pn(e){var t=(e.plugins||[]).reduce((function(t,n){var i,r=n.name,o=n.defaultValue;r&&(t[r]=void 0!==e[r]?e[r]:null!=(i=On[r])?i:o);return t}),{});return Object.assign({},e,t)}function jn(e,t){var n=Object.assign({},t,{content:an(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Pn(Object.assign({},On,{plugins:t}))):Ln).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},On.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function In(e,t){e.innerHTML=t}function Dn(e){var t=fn();return!0===e?t.className=Qt:(t.className=en,hn(e)?t.appendChild(e):In(t,e)),t}function Nn(e,t){hn(t.content)?(In(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?In(e,t.content):e.textContent=t.content)}function Bn(e){var t=e.firstElementChild,n=dn(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Jt)})),arrow:n.find((function(e){return e.classList.contains(Qt)||e.classList.contains(en)})),backdrop:n.find((function(e){return e.classList.contains(Kt)}))}}function Rn(e){var t=fn(),n=fn();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=fn();function r(n,i){var r=Bn(t),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Nn(a,e.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild(Dn(i.arrow))):o.appendChild(Dn(i.arrow)):s&&o.removeChild(s)}return i.className=Jt,i.setAttribute("data-state","hidden"),Nn(i,e.props),t.appendChild(n),n.appendChild(i),r(e.props,e.props),{popper:t,onUpdate:r}}Rn.$$tippy=!0;var Fn=1,$n=[],Hn=[];function qn(e,t){var n,i,r,o,a,s,l,c,u=jn(e,Object.assign({},On,Pn(pn(t)))),d=!1,p=!1,f=!1,h=!1,v=[],m=sn(W,u.interactiveDebounce),g=Fn++,_=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:g,reference:e,popper:fn(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:_,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(r)},setProps:function(t){0;if(y.state.isDestroyed)return;j("onBeforeUpdate",[y,t]),Y();var n=y.props,i=jn(e,Object.assign({},n,pn(t),{ignoreAttributes:!0}));y.props=i,z(),n.interactiveDebounce!==i.interactiveDebounce&&(N(),m=sn(W,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?ln(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");D(),P(),x&&x(n,i);y.popperInstance&&(J(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){0;var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=Cn.isTouch&&!y.props.touch,r=rn(y.props.duration,0,On.duration);if(e||t||n||i)return;if(M().hasAttribute("disabled"))return;if(j("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,T()&&(b.style.visibility="visible");P(),$(),y.state.isMounted||(b.style.transition="none");if(T()){var o=O(),a=o.box,l=o.content;_n([a,l],0)}s=function(){var e;if(y.state.isVisible&&!h){if(h=!0,b.offsetHeight,b.style.transition=y.props.moveTransition,T()&&y.props.animation){var t=O(),n=t.box,i=t.content;_n([n,i],r),yn([n,i],"visible")}I(),D(),cn(Hn,y),null==(e=y.popperInstance)||e.forceUpdate(),j("onMount",[y]),y.props.animation&&T()&&function(e,t){q(e,t)}(r,(function(){y.state.isShown=!0,j("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=M();e=y.props.interactive&&t===nn||"parent"===t?n.parentNode:an(t,[n]);e.contains(b)||e.appendChild(b);y.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=rn(y.props.duration,1,On.duration);if(e||t||n)return;if(j("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,h=!1,d=!1,T()&&(b.style.visibility="hidden");if(N(),H(),P(!0),T()){var r=O(),o=r.box,a=r.content;y.props.animation&&(_n([o,a],i),yn([o,a],"hidden"))}I(),D(),y.props.animation?T()&&function(e,t){q(e,(function(){!y.state.isVisible&&b.parentNode&&b.parentNode.contains(b)&&t()}))}(i,y.unmount):y.unmount()},hideWithInteractivity:function(e){0;A().addEventListener("mousemove",m),cn($n,m),m(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){0;y.state.isVisible&&y.hide();if(!y.state.isMounted)return;K(),Q().forEach((function(e){e._tippy.unmount()})),b.parentNode&&b.parentNode.removeChild(b);Hn=Hn.filter((function(e){return e!==y})),y.state.isMounted=!1,j("onHidden",[y])},destroy:function(){0;if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),Y(),delete e._tippy,y.state.isDestroyed=!0,j("onDestroy",[y])}};if(!u.render)return y;var w=u.render(y),b=w.popper,x=w.onUpdate;b.setAttribute("data-tippy-root",""),b.id="tippy-"+y.id,y.popper=b,e._tippy=y,b._tippy=y;var C=_.map((function(e){return e.fn(y)})),E=e.hasAttribute("aria-expanded");return z(),D(),P(),j("onCreate",[y]),u.showOnCreate&&ee(),b.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),b.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&A().addEventListener("mousemove",m)})),y;function S(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===S()[0]}function T(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function M(){return l||e}function A(){var e=M().parentNode;return e?wn(e):document}function O(){return Bn(b)}function L(e){return y.state.isMounted&&!y.state.isVisible||Cn.isTouch||o&&"focus"===o.type?0:rn(y.props.delay,e?0:1,On.delay)}function P(e){void 0===e&&(e=!1),b.style.pointerEvents=y.props.interactive&&!e?"":"none",b.style.zIndex=""+y.props.zIndex}function j(e,t,n){var i;(void 0===n&&(n=!0),C.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=y.props)[e].apply(i,t)}function I(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,i=b.id;ln(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var r=t&&t.replace(i,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function D(){!E&&y.props.aria.expanded&&ln(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")}))}function N(){A().removeEventListener("mousemove",m),$n=$n.filter((function(e){return e!==m}))}function B(t){if(!Cn.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!xn(b,n)){if(ln(y.props.triggerTarget||e).some((function(e){return xn(e,n)}))){if(Cn.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),p=!0,setTimeout((function(){p=!1})),y.state.isMounted||H())}}}function R(){f=!0}function F(){f=!1}function $(){var e=A();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,tn),e.addEventListener("touchstart",F,tn),e.addEventListener("touchmove",R,tn)}function H(){var e=A();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,tn),e.removeEventListener("touchstart",F,tn),e.removeEventListener("touchmove",R,tn)}function q(e,t){var n=O().box;function i(e){e.target===n&&(bn(n,"remove",i),t())}if(0===e)return t();bn(n,"remove",a),bn(n,"add",i),a=i}function V(t,n,i){void 0===i&&(i=!1),ln(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),v.push({node:e,eventType:t,handler:n,options:i})}))}function z(){var e;k()&&(V("touchstart",U,{passive:!0}),V("touchend",X,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,U),e){case"mouseenter":V("mouseleave",X);break;case"focus":V(Mn?"focusout":"blur",G);break;case"focusin":V("focusout",G)}}))}function Y(){v.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)})),v=[]}function U(e){var t,n=!1;if(y.state.isEnabled&&!Z(e)&&!p){var i="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,D(),!y.state.isVisible&&vn(e)&&$n.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(d=!n),n&&!i&&te(e)}}function W(e){var t=e.target,n=M().contains(t)||b.contains(t);if("mousemove"!==e.type||!n){var i=Q().concat(b).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null})).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,o=e.props.interactiveBorder,a=un(r.placement),s=r.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,d="left"===a?s.right.x:0,p=t.top-i+l>o,f=i-t.bottom-c>o,h=t.left-n+u>o,v=n-t.right-d>o;return p||f||h||v}))})(i,e)&&(N(),te(e))}}function X(e){Z(e)||y.props.trigger.indexOf("click")>=0&&d||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function G(e){y.props.trigger.indexOf("focusin")<0&&e.target!==M()||y.props.interactive&&e.relatedTarget&&b.contains(e.relatedTarget)||te(e)}function Z(e){return!!Cn.isTouch&&k()!==e.type.indexOf("touch")>=0}function J(){K();var t=y.props,n=t.popperOptions,i=t.placement,r=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,l=T()?Bn(b).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||M()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(T()){var n=O().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];T()&&l&&d.push({name:"arrow",options:{element:l,padding:3}}),d.push.apply(d,(null==n?void 0:n.modifiers)||[]),y.popperInstance=Zt(c,b,Object.assign({},n,{placement:i,onFirstUpdate:s,modifiers:d}))}function K(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Q(){return dn(b.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&j("onTrigger",[y,e]),$();var t=L(!0),i=S(),r=i[0],o=i[1];Cn.isTouch&&"hold"===r&&o&&(t=o),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),j("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=L(!1);t?i=setTimeout((function(){y.state.isVisible&&y.hide()}),t):r=requestAnimationFrame((function(){y.hide()}))}}else H()}}function Vn(e,t){void 0===t&&(t={});var n=On.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Sn,tn),window.addEventListener("blur",Tn);var i=Object.assign({},t,{plugins:n}),r=gn(e).reduce((function(e,t){var n=t&&qn(t,i);return n&&e.push(n),e}),[]);return hn(e)?r[0]:r}Vn.defaultProps=On,Vn.setDefaultProps=function(e){Object.keys(e).forEach((function(t){On[t]=e[t]}))},Vn.currentInput=Cn;Object.assign({},Lt,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Vn.setDefaultProps({render:Rn});var zn=Vn,Yn=a("./node_modules/sal.js/dist/sal.js"),Un=a.n(Yn),Wn=a("./src/js/lib/cart.ts"),Xn=function(e){var t,n,i;document.documentElement.classList.contains("results-page")&&(a.e("nouislider").then(a.t.bind(a,"./node_modules/nouislider/dist/nouislider.js",23)).then((function(e){!function(e){var t,n,i=document.querySelector(".ep-results__timerange__slider"),r=null===(n=null===(t=window.epdata)||void 0===t?void 0:t.results)||void 0===n?void 0:n.slider;r&&r.items&&0!==r.items.length&&i&&e.create(i,{cssPrefix:"noui-",start:[r.from>0?r.from:r.min,r.to>0?r.to:r.max],step:10,connect:!0,margin:10,tooltips:!0,format:{to:function(e){return Math.floor(e)},from:function(e){return e-1}},range:{min:r.min,max:r.max}}).on("end",(function(e,t,n,i,r){document.location.href="/digbib/hitlist?p=yr".concat(e[0],"-").concat(e[1]-1)}))}(e.default)})),null===(t=document.querySelector(".ep-results__facets__close"))||void 0===t||t.addEventListener("click",(function(e){var t=document.querySelector(".ep-results__toolbar__toggle-filter");t.setAttribute("aria-expanded","true"==t.getAttribute("aria-expanded")?"false":"true")})),null===(n=document.querySelector(".ep-results__toolbar__toggle-filter"))||void 0===n||n.addEventListener("click",(function(e){var t=document.querySelector(".ep-results__facets__close");null==t||t.setAttribute("aria-expanded","true"==t.getAttribute("aria-expanded")?"false":"true")})),null===(i=document.querySelector(".ep-results"))||void 0===i||i.addEventListener("click",(function(e){return(0,Re.mG)(void 0,void 0,void 0,(function(){var t,n;return(0,Re.Jh)(this,(function(i){switch(i.label){case 0:return(t=(null==e?void 0:e.target).closest("button"))&&t.classList.contains("ep-result__collect")&&(n=null==t?void 0:t.getAttribute("data-pid"))?[4,(0,Wn.ru)({pid:n})]:[3,2];case 1:i.sent(),window.postMessage({type:"cart-update-count"}),i.label=2;case 2:return[2]}}))}))})),window.matchMedia("(max-width: 68.74em)").matches&&k.Z.simulateClick(document.querySelector(".ep-results__toolbar__toggle-filter")),zn(".ep-results__timerange__stats-container > span",{placement:"top"}),Un()({threshold:.01,once:!0}),zn(".ep-result__page--lock-info",{placement:"top"}))},Gn=k.Z.getParamsFromWindowHash(),Zn=function(e){var t=document.querySelector(".ep-advanced__magazines"),n=new e(t,{searchEnabled:!0,removeItems:!0,removeItemButton:!0,searchResultLimit:999,duplicateItemsAllowed:!1,placeholder:!0,placeholderValue:null,searchPlaceholderValue:null,position:"below"});t.addEventListener("addItem",(function(e){var t=function(e){return e.label.match(/Alle|Toutes|All|Tutti/)};t(e.detail)?n.removeActiveItems(e.detail.id):n.getValue().filter(t).forEach((function(e){return n.removeActiveItemsByValue(e.value)}))})),t.addEventListener("removeItem",(function(e){0===n.getValue().length&&n.setChoiceByValue("*")}))},Jn=function(e){var t,n;!function(){var e,t=document.querySelector(".ep-search__advanced__toggle");null==t||t.addEventListener("click",(function(e){var n="true"!=t.getAttribute("aria-expanded");n?(k.Z.addClass(document.querySelector(".ep-header"),"ep-header--advanced-search-open"),a.e("choices").then(a.bind(a,"./node_modules/choices.js/src/scripts/choices.ts")).then((function(e){Zn(e.default)}))):k.Z.removeClass(document.querySelector(".ep-header"),"ep-header--advanced-search-open"),k.Z.updateWindowHash((0,Re.pi)((0,Re.pi)({},k.Z.getParamsFromWindowHash()),{search:n?"advanced":null}))})),"advanced"==(null==Gn?void 0:Gn.search)&&(null===(e=document.querySelector(".ep-search__advanced__toggle"))||void 0===e||e.click())}(),null===(t=document.querySelector(".ep-search__quick"))||void 0===t||t.addEventListener("submit",(function(e){var t,n=document.querySelector(".ep-search__query__text"),i=n?null===(t=n.value)||void 0===t?void 0:t.trim():"";i&&0!==i.length||e.preventDefault()}));null===(n=document.querySelector(".ep-advanced__reset"))||void 0===n||n.addEventListener("click",(function(e){var t,n=document.querySelector(".ep-advanced__form");if(n){n.reset(),n.querySelector(".ep-advanced__magazines").value="*";for(var i=0;i<3;i++){var r=n.querySelector(".ep-advanced__meta--".concat(i));r.querySelector(".ep-advanced__field").value=["Title","Author","ISSN"][i],r.querySelector(".ep-advanced__field-mode").value="mode3",r.querySelector(".ep-advanced__field-text").value=""}n.querySelector(".ep-advanced__fulltext-mode").value="mode3",n.querySelector(".ep-advanced__fulltext-text").value="",n.querySelector(".ep-advanced__fulltext-match").value="mode2",e.target.removeAttribute("disabled"),fetch("/digbib/resetasearch",{redirect:"manual"}).finally((function(){e.target.removeAttribute("disabled")})),null===(t=document.querySelector(".ep-search__advanced__active"))||void 0===t||t.classList.remove("ep-search__advanced__active")}}))},Kn=function(e){var t,n;null!=document.querySelector(".ep-volumes")&&(document.addEventListener("click",(function(e){var t,n=e.target.closest(".ep-volumes__volume__cart, .ep-issue__cart");if(null!==n){var i=null===(t=null==n?void 0:n.closest("[data-pid]"))||void 0===t?void 0:t.getAttribute("data-pid");return i&&function(e){(0,Wn.ru)({pid:e}).then((function(){window.postMessage({type:"cart-update-count"})}))}(i),e.stopPropagation(),e.preventDefault(),!1}var r=e.target.closest(".ep-volumes__list__item, .ep-issues");if((null==r||!r.classList.contains("ep-issues"))&&null!=r&&r.classList.contains("ep-volumes__list__item--stacked")){for(var o=document.querySelectorAll(".ep-volumes__list__item--expanded"),a=0;a<o.length;a++)if(o[a]!=r){o[a].classList.remove("ep-volumes__list__item--expanded");var s=o[a].querySelector(".ep-volumes__volume__issues");null==s||s.setAttribute("aria-hidden","true")}r.classList.toggle("ep-volumes__list__item--expanded");var l=r.querySelector(".ep-volumes__volume__issues"),c=r.classList.contains("ep-volumes__list__item--expanded");null==l||l.setAttribute("aria-hidden",c?"false":"true"),c||("function"==typeof r.scrollIntoView?r.scrollIntoView({block:"start",behavior:"smooth"}):window.scrollTo({top:r.getBoundingClientRect().top,behavior:"smooth"})),e.stopPropagation(),e.preventDefault()}})),null===(t=document.querySelector(".ep-volumes__info__close"))||void 0===t||t.addEventListener("click",(function(e){var t;null===(t=document.querySelector(".ep-volumes__info__toggle"))||void 0===t||t.click()})),null===(n=document.querySelector(".ep-volumes__info__toggle"))||void 0===n||n.addEventListener("click",(function(e){var t=document.querySelector(".ep-volumes__info__toggle");"true"==(null==t?void 0:t.getAttribute("aria-expanded"))&&window.scrollTo({top:0,behavior:"smooth"})})),zn(".ep-volumes__volume--locked, .ep-issue__locked",{placement:"top"}))},Qn=a("./node_modules/preact/dist/preact.module.js"),ei=a("./node_modules/preact/compat/dist/compat.module.js"),ti=a("./node_modules/preact/hooks/dist/hooks.module.js"),ni=a("./node_modules/rbush/rbush.min.js"),ii=a.n(ni);function ri(e,t,n){var i,r=n||{},o=r.noTrailing,a=void 0!==o&&o,s=r.noLeading,l=void 0!==s&&s,c=r.debounceMode,u=void 0===c?void 0:c,d=!1,p=0;function f(){i&&clearTimeout(i)}function h(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=this,c=Date.now()-p;function h(){p=Date.now(),t.apply(s,r)}function v(){i=void 0}d||(l||!u||i||h(),f(),void 0===u&&c>e?l?(p=Date.now(),a||(i=setTimeout(u?v:h,e))):h():!0!==a&&(i=setTimeout(u?v:h,void 0===u?e-c:e)))}return h.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;f(),d=!n},h}var oi=a("./node_modules/query-string/index.js");function ai(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 23"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M1479.36359,155.000424 C1477.36191,155.000424 1475.7272,156.632948 1475.7272,158.631955 C1475.7272,159.107171 1475.8148,159.568224 1475.98289,159.984337 L1469.07011,163.814392 C1468.4238,163.230411 1467.57152,162.868681 1466.63639,162.868681 C1464.63471,162.868681 1463,164.501205 1463,166.500212 C1463,168.499218 1464.63471,170.131743 1466.63639,170.131743 C1467.57628,170.131743 1468.43328,169.774733 1469.07959,169.186032 L1475.99237,173.016087 C1475.82192,173.43574 1475.72722,173.889682 1475.72722,174.368469 C1475.72722,176.367475 1477.36193,178 1479.36361,178 C1481.36529,178 1483,176.367475 1483,174.368469 C1483,172.369462 1481.36529,170.736938 1479.36361,170.736938 C1478.27457,170.736938 1477.29447,171.221626 1476.62686,171.985277 L1469.83711,168.221194 C1470.11529,167.70815 1470.27272,167.121809 1470.27272,166.5 C1470.27272,165.875831 1470.11765,165.29303 1469.83711,164.778806 L1476.62686,161.014723 C1477.29447,161.779554 1478.27342,162.263062 1479.36361,162.263062 C1481.36529,162.263062 1483,160.630538 1483,158.631531 C1483,156.632525 1481.36529,155 1479.36361,155 L1479.36359,155.000424 Z M1479.36359,156.210934 C1480.70948,156.210934 1481.78785,157.287865 1481.78785,158.631955 C1481.78785,159.976045 1480.70948,161.052976 1479.36359,161.052976 C1478.0177,161.052976 1476.93933,159.976045 1476.93933,158.631955 C1476.93933,157.287865 1478.0177,156.210934 1479.36359,156.210934 Z M1466.63622,164.079252 C1467.98211,164.079252 1469.06049,165.156182 1469.06049,166.500272 C1469.06049,167.844363 1467.98211,168.921293 1466.63622,168.921293 C1465.29034,168.921293 1464.21196,167.844363 1464.21196,166.500272 C1464.21196,165.156182 1465.29034,164.079252 1466.63622,164.079252 Z M1479.36359,171.947569 C1480.70948,171.947569 1481.78785,173.0245 1481.78785,174.36859 C1481.78785,175.71268 1480.70948,176.789611 1479.36359,176.789611 C1478.0177,176.789611 1476.93933,175.71268 1476.93933,174.36859 C1476.93933,173.0245 1478.0177,171.947569 1479.36359,171.947569 Z",transform:"translate(-1463 -155)"},[])])}function si(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M22.675392,0 L1.324608,0 C0.592944,0 0,0.592944 0,1.324608 L0,22.675392 C0,23.406912 0.592944,24 1.324608,24 L12.81912,24 L12.81912,14.705952 L9.691488,14.705952 L9.691488,11.083872 L12.81912,11.083872 L12.81912,8.412672 C12.81912,5.312832 14.712432,3.624864 17.47776,3.624864 C18.802368,3.624864 19.940784,3.723456 20.27256,3.767568 L20.27256,7.007088 L18.354672,7.008 C16.850736,7.008 16.559568,7.722624 16.559568,8.771328 L16.559568,11.083872 L20.14632,11.083872 L19.67928,14.705952 L16.559568,14.705952 L16.559568,24 L22.675392,24 C23.406864,24 24,23.406912 24,22.675392 L24,1.324608 C24,0.592944 23.406864,0 22.675392,0"},[])])}function li(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M12,0 C5.37264198,0 0,5.37254321 0,11.9999012 C0,17.0837531 3.16296296,21.4297284 7.62696296,23.1781728 C7.52197531,22.2287407 7.42725926,20.7685926 7.66864198,19.7321481 C7.88661728,18.7955556 9.07575309,13.7673086 9.07575309,13.7673086 C9.07575309,13.7673086 8.71674074,13.0484938 8.71674074,11.985679 C8.71674074,10.3171358 9.68385185,9.07140741 10.8880988,9.07140741 C11.9118025,9.07140741 12.4064198,9.84009877 12.4064198,10.7617778 C12.4064198,11.7914074 11.7509136,13.3306667 11.4125432,14.7571358 C11.1297778,15.9516049 12.0115556,16.9257284 13.1895309,16.9257284 C15.3223704,16.9257284 16.9617778,14.6767407 16.9617778,11.4305185 C16.9617778,8.5574321 14.897284,6.54844444 11.9493333,6.54844444 C8.53501235,6.54844444 6.5308642,9.1094321 6.5308642,11.7561481 C6.5308642,12.7875556 6.92809877,13.8934321 7.42390123,14.4946173 C7.52187654,14.6134321 7.5362963,14.7176296 7.50716049,14.8388148 C7.416,15.2179753 7.21362963,16.0328889 7.17382716,16.1997037 C7.12148148,16.4194568 6.99990123,16.4659753 6.77254321,16.3601975 C5.27367901,15.6625185 4.33679012,13.4714074 4.33679012,11.7114074 C4.33679012,7.92592593 7.08701235,4.44967901 12.2655802,4.44967901 C16.4283457,4.44967901 19.6634074,7.416 19.6634074,11.3803457 C19.6634074,15.5159506 17.0557037,18.8442469 13.4363457,18.8442469 C12.2204444,18.8442469 11.0773333,18.2125432 10.6860247,17.4663704 C10.6860247,17.4663704 10.0843457,19.7575309 9.93846914,20.3190123 C9.66745679,21.3613827 8.93619753,22.6678519 8.44701235,23.4648889 C9.56987654,23.8124444 10.762963,24 12,24 C18.6274568,24 24,18.6274568 24,11.9999012 C24,5.37254321 18.6274568,0 12,0"},[])])}function ci(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),[(0,Qn.h)("path",{"fill-rule":"evenodd",d:"M23.1332846,4.23040044 C22.2838884,4.60871274 21.3711768,4.86442924 20.4130528,4.9794237 C21.3909235,4.39075925 22.1418776,3.4585732 22.4954733,2.34780465 C21.5804329,2.89290764 20.5668534,3.28876146 19.4879693,3.50213466 C18.6240663,2.5776474 17.3931283,1.99999513 16.0309504,1.99999513 C13.4152253,1.99999513 11.2946216,4.12973156 11.2946216,6.75647796 C11.2946216,7.12933289 11.3365407,7.49229635 11.4172739,7.84044695 C7.48109596,7.64213023 3.99123073,5.74842481 1.65525768,2.87063965 C1.24756496,3.57317785 1.01405013,4.39022326 1.01405013,5.26193976 C1.01405013,6.91215903 1.85020108,8.36810587 3.12097197,9.22106268 C2.34464313,9.19640709 1.61435741,8.98240044 0.975818329,8.62611251 C0.975478706,8.64599291 0.975381671,8.66587331 0.975381671,8.68589989 C0.975381671,10.9905643 2.60794771,12.9130671 4.77459461,13.3500461 C4.37713908,13.4586574 3.95872399,13.5168368 3.52682102,13.5168368 C3.22164582,13.5168368 2.92491267,13.4869674 2.63569973,13.4315167 C3.23843288,15.3212266 4.98753801,16.6964337 7.0600124,16.7348788 C5.43909057,18.0105865 3.39693962,18.7710117 1.17799084,18.7710117 C0.795721294,18.7710117 0.418691644,18.7485001 0.0481633423,18.7045488 C2.14421725,20.0541745 4.63369973,20.8415942 7.30832507,20.8415942 C16.0199369,20.8415942 20.7836782,13.5936784 20.7836782,7.30801285 C20.7836782,7.10180244 20.7791175,6.89666401 20.7699962,6.69269502 C21.6952739,6.02207265 22.4983358,5.18426977 23.1332846,4.23040044"},[])])}function ui(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M442.98609,166.776312 L437.884257,171.526019 L437.884257,158.723342 C437.884257,158.324009 437.53802,158 437.111291,158 C436.684563,158 436.338325,158.324009 436.338325,158.723342 L436.338325,171.526019 L431.236493,166.776312 C430.928517,166.560628 430.498748,166.588884 430.225994,166.844125 C429.954245,167.098428 429.924048,167.501547 430.154536,167.78881 L436.569638,173.793034 C436.870579,174.068989 437.351673,174.068989 437.652589,173.793034 L444.067691,167.78881 C444.298171,167.501547 444.267977,167.098428 443.996233,166.844125 C443.723479,166.588882 443.29371,166.560623 442.985734,166.776312 L442.98609,166.776312 Z",transform:"rotate(-180 222.111 87)"},[])])}function di(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M1.00559976,10.1133216 C-0.336245948,11.4560247 -0.336245948,13.6447056 1.01188695,14.9929727 C2.35373266,16.3356758 4.54337451,16.3356758 5.88524321,14.9929727 L9.14012555,11.7381859 C10.4191085,10.4592405 10.4882713,8.4089041 9.31885896,7.05442902 C9.16347719,6.87570085 8.85182611,6.85324659 8.67397563,7.0086238 C8.48985266,7.17028711 8.46650102,7.48104613 8.62188279,7.65976511 C9.48591196,8.66209046 9.44011,10.1367232 8.48895594,11.086994 L5.2340736,14.3417808 C4.23712218,15.338703 2.65909286,15.338703 1.66211845,14.3417808 C0.665167026,13.3448587 0.659763682,11.7604378 1.65672936,10.7644124 L4.74997124,7.67126125 C4.92331741,7.50959794 4.92870466,7.19256202 4.75625821,7.02011994 C4.58291204,6.84767786 4.26676124,6.85306725 4.09969445,7.02011994 L1.00559976,10.1133216 Z M6.85891565,4.26017751 C5.57993267,5.53912296 5.51076987,7.58945932 6.68018223,8.9439344 C6.84185028,9.12805196 7.14721508,9.14511683 7.32506556,8.98973961 C7.5154748,8.8343624 7.53792972,8.52272047 7.3771584,8.33859831 C6.51940631,7.34257284 6.55893119,5.86233 7.51008525,4.9113694 L10.7649676,1.65658258 C11.761919,0.659660408 13.3463864,0.6659373 14.3424411,1.66197151 C15.3393925,2.65889367 15.3393925,4.23687668 14.3424411,5.23382184 L11.2544875,8.32168473 C11.0820404,8.49412681 11.0757541,8.81116733 11.2490985,8.98450611 C11.4161561,9.1515588 11.7332151,9.14616941 11.9056622,8.9728304 L14.9936157,5.88496751 C16.3354614,4.54316118 16.3354614,2.35358359 14.9936157,1.01175426 C13.6454699,-0.336351955 11.4556901,-0.336351955 10.1138214,1.00636556 L6.8589391,4.26115239 L6.85891565,4.26017751 Z"},[])])}function pi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 19"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M28.5,172 C29.8546632,172 30.9740836,173.094504 31,174.5 C31,175.88059 29.879569,177 28.5,177 C27.1194102,177 26,175.879569 26,174.5 C26,173.11941 27.120431,172 28.5,172 Z M46.144297,173 C46.6289113,173 47,173.433665 47,174 C47,174.566335 46.6289113,175 46.144297,175 L46.144297,175 L33.855703,175 C33.3710887,175 33,174.566335 33,174 C33,173.433665 33.3710887,173 33.855703,173 L33.855703,173 Z M28.5,165 C29.8546632,165 30.9740836,166.120431 31,167.5 C31,168.88059 29.879569,170 28.5,170 C27.1194102,170 26,168.879569 26,167.5 C26,166.11941 27.120431,165 28.5,165 Z M46.144297,167 C46.6289113,167 47,167.433665 47,168 C47,168.566335 46.6289113,169 46.144297,169 L46.144297,169 L33.855703,169 C33.3710887,169 33,168.566335 33,168 C33,167.433665 33.3710887,167 33.855703,167 L33.855703,167 Z M28.5,158 C29.8546632,158 30.9740836,159.11941 31,160.5 C31,161.88059 29.879569,163 28.5,163 C27.1194102,163 26,161.879569 26,160.5 C26,159.11941 27.120431,158 28.5,158 Z M46.144297,160 C46.6289113,160 47,160.433665 47,161 C47,161.566335 46.6289113,162 46.144297,162 L46.144297,162 L33.855703,162 C33.3710887,162 33,161.566335 33,161 C33,160.433665 33.3710887,160 33.855703,160 L33.855703,160 Z",transform:"translate(-26 -158)"},[])])}var fi=void 0,hi=(0,ei.forwardRef)((function(e,t){var n,i,r=e.epdata,o=e.overlayId,a=e.meta,s=e.isExpanded,l=e.setExpanded,c=e.toggleNav,u=e.isNavVisible;return(0,Qn.h)("section",{class:"".concat(o,"__share"),ref:t},(0,Qn.h)("header",null,!u&&(0,Qn.h)("button",{class:"ep-view__share__nav-toggle",onClick:c.bind(fi,!0),"aria-controls":"ep-view__navigation","aria-expanded":u},(0,Qn.h)(pi,null),(0,Qn.h)("span",{class:"visually-hidden"},null===(n=null==r?void 0:r.t)||void 0===n?void 0:n.viewer_button_toc)),(0,Qn.h)("h2",null,(0,Qn.h)("a",{href:null==r?void 0:r.journalLink},(0,Qn.h)("span",{class:"ep-view__share__title-up"},(0,Qn.h)(ui,null)),null==r?void 0:r.journalTitle)),(0,Qn.h)("button",{class:"ep-view__share__button","aria-controls":"".concat(o,"__share__content"),"aria-expanded":s,onClick:function(){return l(!s)}},(0,Qn.h)("span",null,r.t.viewer_share_label),(0,Qn.h)(ai,null))),(0,Qn.h)("main",{id:"".concat(o,"__share__content"),"aria-hidden":!s},(null==a?void 0:a.journalEditor)&&(0,Qn.h)("p",{class:"ep-view__meta__editor"},a.journalEditor," (",r.t.viewer_info_editor,")"),((null==a?void 0:a.volumeTitle)||(null==a?void 0:a.issueNumber))&&(0,Qn.h)("p",{class:"ep-view__meta__title"},(null==a?void 0:a.volumeTitle)&&(0,Qn.h)("span",null,null==a?void 0:a.volumeTitle)),(null==a?void 0:a.issueNumber)&&(0,Qn.h)("p",{class:"ep-view__meta__issue-title"},r.t.viewer_info_issue," ",null==a?void 0:a.issueNumber,(null==a?void 0:a.issueTitle)&&(0,Qn.h)("span",null,": ",null==a?void 0:a.issueTitle)),(null===(i=null==a?void 0:a.articles)||void 0===i?void 0:i.length)>0&&(0,Qn.h)("ul",{class:"ep-view__share__articles"},a.articles.map((function(e){var t,n=e.doiLink;return(0,Qn.h)("li",{class:"ep-view__share__item"},(0,Qn.h)("article",{class:"ep-view__share__article"},(0,Qn.h)("div",{class:"ep-view__share__article-meta"},e.authors&&(0,Qn.h)("p",{class:"ep-view__share__authors"},(0,Qn.h)("em",{class:"visually-hidden"},r.t.viewer_info_author,":")," ",e.authors),(0,Qn.h)("h3",null,(0,Qn.h)("span",{class:"ep-view__share__articletitle"},e.title),null===(t=e.chapterTitles)||void 0===t?void 0:t.map((function(e){return(0,Qn.h)("span",{class:"ep-view__share__chaptertitle"},e)})))),(0,Qn.h)("div",{class:"ep-view__share__links"},e.doi&&(0,Qn.h)("a",{class:"ep-view__share__doi",href:e.doiLink,onClick:k.Z.matomoTrackLink.bind(fi,null,"link",k.Z.matomoBuildDimensions()),target:"_blank",rel:"nofollow,noreferrer,noopener"},(0,Qn.h)(di,null),(0,Qn.h)("span",{class:"visually-hidden"},r.t.viewer_info_doi),(0,Qn.h)("span",{class:"ep-view__share__doi-link"},n)),a.available&&(0,Qn.h)("div",{class:"ep-view__share__downloads"},(0,Qn.h)("a",{href:e.pdfLink,target:"_blank",rel:"noopener noreferer",onClick:k.Z.matomoTrackLink.bind(fi,e.pdfLink,"download",k.Z.matomoBuildDimensions())},(0,Qn.h)("svg",null,(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,r.t.viewer_info_download))),e.risLink&&(0,Qn.h)("div",{class:"ep-view__share__ris"},(0,Qn.h)("a",{href:e.risLink,target:"_blank",rel:"noopener noreferer",onClick:k.Z.matomoTrackLink.bind(fi,e.risLink,"link",k.Z.matomoBuildDimensions())},(0,Qn.h)("svg",null,(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,r.t.viewer_info_ris))),n&&(0,Qn.h)("div",{class:"ep-view__share__social"},(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fi,null,"link",k.Z.matomoBuildDimensions()),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://www.facebook.com/sharer/sharer.php?"+oi.stringify({u:n})},(0,Qn.h)("span",{class:"visually-hidden"},"Facebook"),(0,Qn.h)(si,null)),(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fi,null,"link",k.Z.matomoBuildDimensions()),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://twitter.com/intent/tweet?"+oi.stringify({url:n,text:e.title,related:"@ETHBibliothek",hashtags:"eperiodica"})},(0,Qn.h)("span",{class:"visually-hidden"},"Twitter"),(0,Qn.h)(ci,null)),(0,Qn.h)("a",{onClick:k.Z.matomoTrackLink.bind(fi,null,"link",k.Z.matomoBuildDimensions()),target:"_blank",rel:"nofollow,noreferrer,noopener",href:"https://pinterest.com/pin/create/link/?"+oi.stringify({url:n,media:n,description:e.title})},(0,Qn.h)("span",{class:"visually-hidden"},"Pinterest"),(0,Qn.h)(li,null))))))})))))}));function vi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-image-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M1.40774 19.2391C0.625662 19.2391 0 18.6037 0 17.8314V1.40774C0 0.635438 0.635438 0 1.40774 0H22.5825C23.3646 0 23.9902 0.635438 23.9902 1.40774V17.8216C23.9902 18.6037 23.3548 19.2293 22.5825 19.2293H1.40774V19.2391ZM22.8367 18.0758V1.15356H1.15356V18.0758H22.8367Z"},[]),(0,Qn.h)("path",{d:"M0.439474 15.0159L6.71564 9.84443L10.8509 13.6864L16.5209 6.48149L23.8431 15.5438L22.934 16.2672L16.5307 8.33893L10.9584 15.3972L6.64721 11.3988L0.419922 16.5116L0.439474 15.0159ZM8.11361 7.19514C7.31198 7.19514 6.66676 6.54992 6.66676 5.7483C6.66676 4.94667 7.32175 4.30145 8.11361 4.30145C8.51442 4.30145 8.88591 4.45787 9.15964 4.74137C9.42359 5.0151 9.57023 5.36703 9.56045 5.7483C9.56045 6.54015 8.91524 7.19514 8.11361 7.19514Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-image-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V19.239H0z"},[])])])])}function mi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9.402 9.481",overflow:"auto","xml:space":"preserve"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M9.402.901 8.594.078 4.67 3.926.822 0 0 .808 3.846 4.732-.079 8.58.728 9.402 4.652 5.556 8.5 9.481 9.322 8.675 5.477 4.749z"},[])])}var gi=(0,ei.forwardRef)((function(e,t){var n=e.isExpanded,i=e.setExpanded,r=e.activePagePid,o=e.meta,a=e.pagesByPid,s=e.overlayId,l=e.iiifEndpointUri,c=e.iiifSystemId,u=e.bearerToken,d=e.t,p=a[r],f=null==p?void 0:p.id,h=null==f?void 0:f.replace(/.*!(.*?)\.(jpg|jpeg|tif)$/,"$1"),v=u;if(!(null==o?void 0:o.available))return(0,Qn.h)("div",{class:"".concat(s,"__download ep-view__download--notavailable"),ref:t});var m=function(e,t,n){var i="".concat(null==o?void 0:o.elementPid," [").concat(null==t?void 0:t.replace(/.*!(.*?)\.jpg/,"$1"),"]");k.Z.matomoTrackEvent("Page","Download image",i,e)};return(0,Qn.h)("div",{class:"".concat(s,"__download ").concat(n?"ep-view__download--open":""),ref:t},n?(0,Qn.h)("aside",{class:"ep-view__download__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,d.viewer_download_title.replace("%",(null==o?void 0:o.label)?o.label:"")),(0,Qn.h)("button",{id:"".concat(s,"__btn-close"),class:"ep-view__btn-close",onClick:function(){return i(!1)}},(0,Qn.h)("span",null,d.viewer_download_close),(0,Qn.h)(mi,null))),o?(0,Qn.h)("main",null,(0,Qn.h)("ul",null,(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return i(!1),m("Small",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/!1024,1024/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,"-1024.jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_small))),(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return i(!1),m("Medium",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/!2048,2048/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,"-2048.jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_medium))),(0,Qn.h)("li",null,(0,Qn.h)("a",{className:"ep-matomo-ignore",onClick:function(e){return i(!1),m("Large",f)},href:"".concat(l,"/").concat(c,"!").concat(f,"/full/full/0/default.jpg?response-content-disposition=attachment%3B%20filename%3D").concat(h,".jpg").concat(v?"&token="+v:"")},(0,Qn.h)("svg",{viewBox:"0 0 24 24"},(0,Qn.h)("use",{xlinkHref:"#download"})),(0,Qn.h)("span",null,d.viewer_download_full))))):(0,Qn.h)("main",null,(0,Qn.h)("p",null,d.viewer_download_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__download__container"},(0,Qn.h)("button",{id:"".concat(s,"__btn-download"),class:"ep-view__btn-download",onClick:function(){return i(!n)}},(0,Qn.h)("span",null,d.viewer_download),(0,Qn.h)(vi,null))))})),_i=gi;function yi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 31 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-text-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.835758 1.68399C.261954 1.68399 0 1.18503 0 .835759 0 .486487.261954 0 .835758 0H29.7256C30.0624 0 30.5613.274428 30.5613.848233 30.5613 1.37214 30.2495 1.69647 29.7256 1.69647H.835758V1.68399ZM.835758 9.16839C.49896 9.16839 0 8.89396 0 8.32016 0 7.79625.31185 7.47192.835758 7.47192H29.7256C30.0624 7.47192 30.5613 7.74635 30.5613 8.32016 30.5613 8.84406 30.2495 9.16839 29.7256 9.16839H.835758ZM1.16008 16.6404C.598753 16.6404 0 16.3036 0 15.7921 0 15.1684.598753 14.9439 1.16008 14.9439H29.3888C29.9501 14.9439 30.5489 15.2807 30.5489 15.7921 30.5489 16.4158 29.9501 16.6404 29.3888 16.6404H1.16008ZM1.16008 24C.598753 24 0 23.6632 0 23.1518 0 22.5281.598753 22.3035 1.16008 22.3035H18.6611C19.2225 22.3035 19.8212 22.6403 19.8212 23.1518 19.8212 23.7755 19.2225 24 18.6611 24H1.16008Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-text-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H30.549V24H0z"},[])])])])}function wi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 18 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-copy-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M2.04713 20.0737C1.14527 20.0737 0.417969 19.3463 0.417969 18.4445V4.53841C0.417969 3.63655 1.14527 2.90924 2.04713 2.90924H13.044C13.9458 2.90924 14.6732 3.63655 14.6732 4.53841V18.4445C14.6732 19.3463 13.9458 20.0737 13.044 20.0737H2.04713ZM2.04713 4.36385C1.95986 4.36385 1.87258 4.45113 1.87258 4.53841V18.4445C1.87258 18.5318 1.95986 18.619 2.04713 18.619H13.044C13.1313 18.619 13.2185 18.5318 13.2185 18.4445V4.53841C13.2185 4.45113 13.1313 4.36385 13.044 4.36385H2.04713Z"},[]),(0,Qn.h)("path",{d:"M15.9541 17.1644C15.5469 17.1644 15.2268 16.8444 15.2268 16.4371C15.2268 16.0298 15.5469 15.7098 15.9541 15.7098C16.0414 15.7098 16.1287 15.6225 16.1287 15.5352V1.62916C16.1287 1.54189 16.0414 1.45461 15.9541 1.45461H4.95729C4.87001 1.45461 4.78274 1.54189 4.78274 1.62916C4.78274 2.03646 4.46272 2.35647 4.05543 2.35647C3.64814 2.35647 3.32812 2.03646 3.32812 1.62916C3.32812 0.727305 4.05543 0 4.95729 0H15.9541C16.856 0 17.5833 0.727305 17.5833 1.62916V15.5352C17.5833 16.4371 16.856 17.1644 15.9541 17.1644Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-copy-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",transform:"translate(.418)",d:"M0 0H17.164V20.074H0z"},[])])])])}function bi(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((i=i.apply(e,t||[])).next())}))}function xi(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var Ci=function(e){};function Ei(e){Ci(e)}(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]");var Si,ki,Ti,Mi,Ai="undefined"==typeof navigator?void 0:navigator,Oi=null==Ai?void 0:Ai.clipboard,Li=(null===(Si=null==Oi?void 0:Oi.read)||void 0===Si||Si.bind(Oi),null===(ki=null==Oi?void 0:Oi.readText)||void 0===ki||ki.bind(Oi),null===(Ti=null==Oi?void 0:Oi.write)||void 0===Ti||Ti.bind(Oi),null===(Mi=null==Oi?void 0:Oi.writeText)||void 0===Mi?void 0:Mi.bind(Oi)),Pi="undefined"==typeof window?void 0:window,ji=(null==Pi||Pi.ClipboardItem,Pi);function Ii(){return"undefined"==typeof ClipboardEvent&&void 0!==ji.clipboardData&&void 0!==ji.clipboardData.setData}var Di=function(){this.success=!1};function Ni(e,t,n){for(var i in Ei("listener called"),e.success=!0,t){var r=t[i],o=n.clipboardData;o.setData(i,r),"text/plain"===i&&o.getData(i)!==r&&(Ei("setting text/plain failed"),e.success=!1)}n.preventDefault()}function Bi(e){var t=new Di,n=Ni.bind(this,t,e);document.addEventListener("copy",n);try{document.execCommand("copy")}finally{document.removeEventListener("copy",n)}return t.success}function Ri(e,t){Fi(e);var n=Bi(t);return $i(),n}function Fi(e){var t=document.getSelection();if(t){var n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}}function $i(){var e=document.getSelection();e&&e.removeAllRanges()}function Hi(e){return bi(this,void 0,void 0,(function(){var t;return xi(this,(function(n){if(t="text/plain"in e,Ii()){if(!t)throw new Error("No `text/plain` value was specified.");if(i=e["text/plain"],ji.clipboardData.setData("Text",i))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var i;return Bi(e)?(Ei("regular execCopy worked"),[2,!0]):navigator.userAgent.indexOf("Edge")>-1?(Ei('UA "Edge" => assuming success'),[2,!0]):Ri(document.body,e)?(Ei("copyUsingTempSelection worked"),[2,!0]):function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important"),t.textContent="temporary element",document.body.appendChild(t);var n=Ri(t,e);return document.body.removeChild(t),n}(e)?(Ei("copyUsingTempElem worked"),[2,!0]):function(e){Ei("copyTextUsingDOM");var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important");var n=t;t.attachShadow&&(Ei("Using shadow DOM."),n=t.attachShadow({mode:"open"}));var i=document.createElement("span");i.innerText=e,n.appendChild(i),document.body.appendChild(t),Fi(i);var r=document.execCommand("copy");return $i(),document.body.removeChild(t),r}(e["text/plain"])?(Ei("copyTextUsingDOM worked"),[2,!0]):[2,!1]}))}))}function qi(e){return bi(this,void 0,void 0,(function(){return xi(this,(function(t){if(Li)return Ei("Using `navigator.clipboard.writeText()`."),[2,Li(e)];if(!Hi(function(e){var t={};return t["text/plain"]=e,t}(e)))throw new Error("writeText() failed");return[2]}))}))}var Vi=(0,ei.forwardRef)((function(e,t){var n,i=e.isExpanded,r=e.setExpanded,o=e.activePage,a=e.meta,s=e.textData,l=e.setTextData,c=e.pagesByPid,u=e.overlayId,d=(e.iiifEndpointUri,e.iiifSystemId,e.bearerToken,e.t),p=(0,ei.useState)(null),f=p[0],h=p[1],v=c[o],m=!1;if(!(null==a?void 0:a.available))return(0,Qn.h)("div",{class:"".concat(u,"__text ep-view__text--notavailable"),ref:t});var g=function(e){m=!0,function(e){return fetch("/digbib/ajax/pageinfo?pid=".concat(e)).then((function(e){return e.json()})).then((function(t){return{fulltext:t.fulltext,pid:e}}))}(e).then((function(e){l(e)}))};return i&&(null==s?void 0:s.pid)!=(null==v?void 0:v.pid)&&(g(v.pid),m=!0),(0,Qn.h)("div",{class:"".concat(u,"__text ").concat(i?"ep-view__text--open":""),ref:t},i?(0,Qn.h)("aside",{class:"ep-view__text__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,null===(n=d.viewer_fulltext_title)||void 0===n?void 0:n.replace("%",(null==a?void 0:a.label)?a.label:"")),(null==s?void 0:s.fulltext)&&(0,Qn.h)(Qn.HY,null,f&&(0,Qn.h)("span",{class:"ep-view__text__cbstate"},f),(0,Qn.h)("button",{class:"ep-view__btn-copy",onClick:function(){return function(e,t,n,i,r){var o,a,s=decodeURIComponent(null!==(o=null==r?void 0:r.viewerLink)&&void 0!==o?o:""),l=null===(a=null==r?void 0:r.imageId)||void 0===a?void 0:a.replace(/.*!(.*?)\.jpg$/,"$1"),c=(null==r?void 0:r.elementPid)?"".concat(null==r?void 0:r.elementPid," ").concat(l?"["+l+"]":""):s;k.Z.matomoTrackEvent("Page","Copy fulltext",null!=c?c:s),qi(e).then((function(){t(i.viewer_fulltext_copied),setTimeout((function(){t(null)}),2e3)}),(function(e){}))}(null==s?void 0:s.fulltext,h,0,d,a)}},(0,Qn.h)("span",null,d.viewer_fulltext_copy),(0,Qn.h)(wi,null))),(0,Qn.h)("button",{id:"".concat(u,"__btn-text-close"),class:"ep-view__btn-close",onClick:function(){return r(!1)}},(0,Qn.h)("span",null,d.viewer_text_close),(0,Qn.h)(mi,null))),a?(0,Qn.h)("main",null,m?(0,Qn.h)("p",{class:"ep-view__text__fulltext ep-view__text__fulltext--loading"},d.viewer_fulltext_loading):(0,Qn.h)("p",{class:"ep-view__text__fulltext"},null==s?void 0:s.fulltext)):(0,Qn.h)("main",null,(0,Qn.h)("p",null,d.viewer_text_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__text__container"},(0,Qn.h)("button",{id:"".concat(u,"__btn-text"),class:"ep-view__btn-text",onClick:function(){r(!i),g(v.pid)}},(0,Qn.h)("span",null,d.misc_fulltext),(0,Qn.h)(yi,null))))})),zi=Vi;function Yi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("circle",{cx:"256",cy:"256",r:"256",fill:"#888"},[]),(0,Qn.h)("path",{d:"M190.379 382.784C191.581 377.506 193.386 370.458 195.79 361.639L228.225 243.124C228.559 241.754 228.893 240.384 229.127 239.015C229.394 237.646 229.528 236.343 229.528 235.14C229.528 228.092 227.29 223.716 222.847 221.979C218.371 220.276 210.254 219.139 198.395 218.639V204.709C208.283 204.008 222.68 202.638 241.519 200.466C260.359 198.329 273.72 196.458 281.571 194.921L304.051 190.545L263.065 340.761C259.624 353.688 257.319 362.607 256.117 367.584C253.043 380.311 251.474 388.528 251.474 392.303C251.474 396.078 252.342 398.583 254.045 399.685C255.749 400.787 257.653 401.388 259.724 401.388C265.068 401.388 271.682 396.812 279.633 387.692C287.55 378.64 294.531 369.019 300.543 359.133L312.134 366.581C294.932 391.835 281.77 408.87 272.651 417.589C257.686 432.086 241.685 439.234 224.65 439.234C215.029 439.234 206.378 436.294 198.728 430.349C191.079 424.403 187.238 415.35 187.238 403.158C187.273 398.817 188.308 392.037 190.379 382.784ZM314.474 83.0873C321.321 89.9681 324.762 98.3194 324.762 108.107C324.762 117.894 321.321 126.278 314.474 133.227C307.626 140.174 299.275 143.648 289.454 143.648C279.667 143.648 271.317 140.174 264.335 133.227C257.354 126.279 253.913 117.894 253.913 108.107C253.913 98.3194 257.387 89.969 264.335 83.0873C271.316 76.2398 279.667 72.7655 289.454 72.7655C299.275 72.7655 307.592 76.2389 314.474 83.0873Z",fill:"#EEE"},[])])}var Ui,Wi,Xi=a("./node_modules/react-toggle/dist/component/index.js"),Gi=(0,ei.forwardRef)((function(e,t){var n,i,r=e.isExpanded,o=e.setExpanded,a=e.activePage,s=e.meta,l=e.isNlaActive,c=e.toggleNla,u=e.pageIndex,d=e.overlayId,p=(e.iiifEndpointUri,e.iiifSystemId,e.bearerToken,e.t),f=(null==u||u[a],(0,ei.useCallback)((function(e){zn(e,{placement:"bottom"})}),[]));return(0,Qn.h)("div",{class:"".concat(d,"__nla ").concat(r?"ep-view__nla--open":""),ref:t},r?(0,Qn.h)("aside",{class:"ep-view__nla__details"},(0,Qn.h)("header",null,(0,Qn.h)("h3",null,null===(i=p.viewer_fulltext_title)||void 0===i?void 0:i.replace("%",(null==s?void 0:s.label)?s.label:"")),(0,Qn.h)("button",{id:"".concat(d,"__btn-text-close"),class:"ep-view__btn-close",onClick:function(){return o(!1)}},(0,Qn.h)("span",null,p.viewer_text_close),(0,Qn.h)(mi,null))),s?(0,Qn.h)("main",null):(0,Qn.h)("main",null,(0,Qn.h)("p",null,p.viewer_text_not_available)),(0,Qn.h)("footer",null)):(0,Qn.h)("aside",{class:"ep-view__nla__container"},(0,Qn.h)(Xi.Z,{id:"".concat(d,"__btn-nla"),checked:l,onChange:c}),(0,Qn.h)("label",{for:"".concat(d,"__btn-nla"),"data-tippy-offset":"[0, 24]","data-tippy-content":null!==(n=p.nla_viewer_info)&&void 0!==n?n:"",ref:f},(0,Qn.h)("span",null,p.nla_viewer_toggle),(0,Qn.h)(Yi,null))))})),Zi=Gi;function Ji(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-fullscreen-up-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.674157 7.07252C.306435 7.07252 0 6.76609 0 6.39837V1.43412C0 .637385.637385 0 1.43412 0H6.39837C6.76609 0 7.07252.306435 7.07252.674157 7.07252 1.04188 6.76609 1.34831 6.39837 1.34831H1.43412C1.38509 1.34831 1.34831 1.38509 1.34831 1.43412V6.39837C1.34831 6.76609 1.04188 7.07252.674157 7.07252ZM1.43412 24C.649642 24 0 23.3626 0 22.5659V17.7242C0 17.3565.306435 17.05.674157 17.05 1.04188 17.05 1.34831 17.3565 1.34831 17.7242V22.5659C1.34831 22.6149 1.38509 22.6517 1.43412 22.6517H6.39837C6.76609 22.6517 7.07252 22.9581 7.07252 23.3258 7.07252 23.6936 6.76609 24 6.39837 24H1.43412ZM17.7249 24C17.3572 24 17.0508 23.6936 17.0508 23.3258 17.0508 22.9581 17.3572 22.6517 17.7249 22.6517H22.5666C22.5911 22.6517 22.6034 22.6394 22.6279 22.6272 22.6402 22.6149 22.6524 22.5904 22.6524 22.5659V17.7242C22.6524 17.3565 22.9588 17.05 23.3266 17.05 23.6943 17.05 24.0007 17.3565 24.0007 17.7242V22.5659C24.0007 22.9459 23.8536 23.3013 23.584 23.571 23.3143 23.8407 22.9588 23.9877 22.5789 23.9877H17.7249V24ZM23.3266 7.07252C22.9589 7.07252 22.6524 6.76609 22.6524 6.39837V1.43412C22.6524 1.4096 22.6402 1.39734 22.6279 1.37283 22.6156 1.36057 22.5911 1.34831 22.5666 1.34831H17.7249C17.3572 1.34831 17.0508 1.04188 17.0508.674157 17.0508.306435 17.3572 0 17.7249 0H22.5666C22.9466 0 23.3021.147089 23.5717.416752 23.8414.686415 23.9885 1.04188 23.9885 1.42186V6.38611C24.0007 6.76609 23.6943 7.07252 23.3266 7.07252Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-fullscreen-up-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V24H0z"},[])])])])}function Ki(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),[(0,Qn.h)("g",{"clip-path":"url(#svg-fullscreen-exit-1RCLVi9)",fill:"#fff"},[(0,Qn.h)("path",{d:"M.673469 8.16735C.306122 8.16735 0 7.86123 0 7.49388 0 7.12653.306122 6.82041.673469 6.82041H6.85714V.673469C6.85714.306122 7.16327 0 7.53061 0 7.71429 0 7.87347.0734694 8.00816.195918 8.13061.318367 8.20408.489796 8.20408.673469V7.49388C8.20408 7.86123 7.89796 8.16735 7.53061 8.16735H.673469ZM16.4703 8.16735C16.103 8.16735 15.7969 7.86123 15.7969 7.49388V.673469C15.7969.306122 16.103 0 16.4703 0 16.8377 0 17.1438.306122 17.1438.673469V6.82041H23.3275C23.6948 6.82041 24.001 7.12653 24.001 7.49388 24.001 7.86123 23.6948 8.16735 23.3275 8.16735H16.4703ZM16.4703 24C16.103 24 15.7969 23.6938 15.7969 23.3265V16.4326C15.7969 16.0653 16.103 15.7592 16.4703 15.7592H23.3275C23.5112 15.7592 23.6703 15.8326 23.805 15.9551 23.9275 16.0775 24.001 16.249 24.001 16.4326 24.001 16.8 23.6948 17.1061 23.3275 17.1061H17.1438V23.3387C17.1438 23.6938 16.8377 24 16.4703 24ZM7.53061 24C7.16327 24 6.85714 23.6939 6.85714 23.3265V17.0939H.673469C.306122 17.0939 0 16.7878 0 16.4204 0 16.0531.306122 15.7469.673469 15.7469H7.53061C7.89796 15.7469 8.20408 16.0531 8.20408 16.4204V23.3143C8.20408 23.6939 7.89796 24 7.53061 24Z"},[])]),(0,Qn.h)("defs",{},[(0,Qn.h)("clipPath",{id:"svg-fullscreen-exit-1RCLVi9"},[(0,Qn.h)("path",{fill:"#fff",d:"M0 0H24V24H0z"},[])])])])}function Qi(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M18.9296943,15 C23.8623468,15 27.8605228,19.0449676 27.8605228,24.0353482 C27.8605228,26.243702 27.0675786,28.2808144 25.7629405,29.8584149 L25.7629405,29.8584149 L31.8297231,36.0240791 C32.056759,36.2537778 32.056759,36.5977578 31.8297231,36.8274507 C31.7167694,36.9428564 31.5749989,37 31.433251,37 C31.2915032,37 31.149744,36.9417378 31.036779,36.8274507 L31.036779,36.8274507 L24.9700531,30.6897243 C23.3817832,32.1530491 21.2554522,33.0706963 18.9308284,33.0706963 C13.9981759,33.0706963 10,29.0257287 10,24.0353482 C10,19.0438203 13.9970419,15 18.9296943,15 Z M18.930715,16.1474032 C14.6215194,16.1474032 11.13396,19.6757783 11.13396,24.0354055 C11.13396,28.3950327 14.6215194,31.9234079 18.930715,31.9234079 C23.2399106,31.9234079 26.72747,28.3950327 26.72747,24.0354055 C26.72747,19.6757783 23.2399106,16.1474032 18.930715,16.1474032 Z M19,20 C19.3147314,20 19.5714286,20.2478345 19.5714286,20.5517241 L19.5714286,20.5517241 L19.5714286,23.3103448 L22.4285714,23.3103448 C22.7433029,23.3103448 23,23.5581903 23,23.862069 C23,24.1659476 22.7433143,24.4137931 22.4285714,24.4137931 L22.4285714,24.4137931 L19.5714286,24.4137931 L19.5714286,27.4482759 C19.5714286,27.7521545 19.3147314,28 19,28 C18.6852686,28 18.4285714,27.7521655 18.4285714,27.4482759 L18.4285714,27.4482759 L18.4285714,24.4137931 L15.5714286,24.4137931 C15.2566971,24.4137931 15,24.1659476 15,23.862069 C15,23.5581903 15.2566857,23.3103448 15.5714286,23.3103448 L15.5714286,23.3103448 L18.4285714,23.3103448 L18.4285714,20.5517241 C18.4285714,20.2478455 18.6852686,20 19,20 Z",transform:"translate(-10 -15)"},[])])}function er(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("g",{fill:"#FFF"},[(0,Qn.h)("path",{d:"M15.7629405,14.8584149 C17.0675786,13.2808144 17.8605228,11.243702 17.8605228,9.03534816 C17.8605228,4.04496761 13.8623468,0 8.92969434,0 C3.99704187,0 0,4.04382027 0,9.03534816 C0,14.0257287 3.99817595,18.0706963 8.93082841,18.0706963 C11.2554522,18.0706963 13.3817832,17.1530491 14.9700531,15.6897243 L21.036779,21.8274507 C21.149744,21.9417378 21.2915032,22 21.433251,22 C21.5749989,22 21.7167694,21.9428564 21.8297231,21.8274507 C22.056759,21.5977578 22.056759,21.2537778 21.8297231,21.0240791 L15.7629405,14.8584149 Z M8.93071501,16.9234079 C4.62151942,16.9234079 1.13396004,13.3950327 1.13396004,9.03540553 C1.13396004,4.67577833 4.62151942,1.14740317 8.93071501,1.14740317 C13.2399106,1.14740317 16.72747,4.67577833 16.72747,9.03540553 C16.72747,13.3950327 13.2399106,16.9234079 8.93071501,16.9234079 Z"},[]),(0,Qn.h)("path",{d:"M9.56,12.91 L8.61204461,12.91 L8.61204461,7.89448519 L6.56,7.89448519 L6.56,7.22311707 C6.82765933,7.22311707 7.08787978,7.20501664 7.34066914,7.16881523 C7.59345851,7.13261383 7.82208076,7.06514859 8.02654275,6.96641749 C8.23100474,6.86768639 8.40386546,6.73275591 8.54513011,6.561622 C8.68639476,6.3904881 8.78304807,6.17328293 8.83509294,5.91 L9.56,5.91 L9.56,12.91 Z"},[])])])}function tr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22"},t),[(0,Qn.h)("path",{fill:"#FFF",d:"M19.9296943,20 C24.8623468,20 28.8605228,24.0449676 28.8605228,29.0353482 C28.8605228,31.243702 28.0675786,33.2808144 26.7629405,34.8584149 L26.7629405,34.8584149 L32.8297231,41.0240791 C33.056759,41.2537778 33.056759,41.5977578 32.8297231,41.8274507 C32.7167694,41.9428564 32.5749989,42 32.433251,42 C32.2915032,42 32.149744,41.9417378 32.036779,41.8274507 L32.036779,41.8274507 L25.9700531,35.6897243 C24.3817832,37.1530491 22.2554522,38.0706963 19.9308284,38.0706963 C14.9981759,38.0706963 11,34.0257287 11,29.0353482 C11,24.0438203 14.9970419,20 19.9296943,20 Z M19.930715,21.1474032 C15.6215194,21.1474032 12.13396,24.6757783 12.13396,29.0354055 C12.13396,33.3950327 15.6215194,36.9234079 19.930715,36.9234079 C24.2399106,36.9234079 27.72747,33.3950327 27.72747,29.0354055 C27.72747,24.6757783 24.2399106,21.1474032 19.930715,21.1474032 Z M23.4285714,29 C23.7433029,29 24,29.22461 24,29.5 C24,29.77539 23.7433143,30 23.4285714,30 L23.4285714,30 L16.5714286,30 C16.2566971,30 16,29.77539 16,29.5 C16,29.22461 16.2566857,29 16.5714286,29 L16.5714286,29 Z",transform:"translate(-11 -20)"},[])])}function nr(e){e.styles;var t=Object.assign({},e);return delete t.styles,(0,Qn.h)("svg",Object.assign({version:"1.2",baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",viewBox:"15.198 12.938 7.75 13.875","xml:space":"preserve"},t),[(0,Qn.h)("path",{fill:"none",stroke:"#FFF","stroke-miterlimit":"10",d:"M22.383 26.469 15.96 20.045 22.573 13.432"},[])])}var ir,rr,or,ar,sr,lr,cr,ur,dr,pr,fr,hr,vr,mr=null!==(Wi=null===(Ui=window.epdata)||void 0===Ui?void 0:Ui.t)&&void 0!==Wi?Wi:{},gr=(0,ei.forwardRef)((function(e,t){var n=e.isFullscreen,i=e.overlayId;e.pageIndex;return(0,Qn.h)("div",{class:"".concat(i,"__zoom"),ref:t},(0,Qn.h)("div",{class:"ep-view__zoom__container"},(0,Qn.h)("button",{id:"".concat(i,"__btn-fullpage"),class:"ep-view__btn-fullpage"},(0,Qn.h)("span",null,mr.viewer_zoom_full),n?(0,Qn.h)(Ki,null):(0,Qn.h)(Ji,null)),(0,Qn.h)("button",{id:"".concat(i,"__btn-zoom-in"),class:"ep-view__btn-zoom-in"},(0,Qn.h)("span",null,mr.viewer_zoom_in),(0,Qn.h)(Qi,null)),(0,Qn.h)("button",{id:"".concat(i,"__btn-home"),class:"ep-view__btn-home"},(0,Qn.h)("span",null,mr.viewer_zoom_one),(0,Qn.h)(er,null)),(0,Qn.h)("button",{id:"".concat(i,"__btn-zoom-out"),class:"ep-view__btn-zoom-out"},(0,Qn.h)("span",null,mr.viewer_zoom_out),(0,Qn.h)(tr,null))))})),_r=(0,ei.forwardRef)((function(e,t){var n,i,r,o,a=e.activePage,s=e.setActivePage,l=e.overlayId,c=e.pageIndex,u=e.pagesByPid,d=c,p=null!==(r=null===(i=null===(n=u[a])||void 0===n?void 0:n.item)||void 0===i?void 0:i.index)&&void 0!==r?r:0;return(0,Qn.h)("div",{class:"".concat(l,"__paging"),ref:t},(0,Qn.h)("button",{id:"".concat(l,"__btn-page-prev"),class:"ep-view__btn-page-prev",onClick:function(){for(var e=p-1;e>0&&(null==d?void 0:d[e].pid)===a;)e--;e>=0&&s(null==d?void 0:d[e].pid)},disabled:p<=0},(0,Qn.h)(nr,null),(0,Qn.h)("span",null,mr.viewer_prev_page)),(0,Qn.h)("div",{id:"".concat(l,"__page-cur"),class:"ep-view__page-cur"},(0,Qn.h)("span",{class:"ep-view__page-cur__label"},mr.viewer_page_label),(0,Qn.h)("span",null,null===(o=u[a])||void 0===o?void 0:o.label)),(0,Qn.h)("button",{id:"".concat(l,"__btn-page-next"),class:"ep-view__btn-page-next",onClick:function(){for(var e=p+1;e<(null==d?void 0:d.length)&&c[e].pid===a;)e++;e<c.length&&s(c[e].pid)},disabled:p>=(null==d?void 0:d.length)},(0,Qn.h)("span",null,mr.viewer_next_page),(0,Qn.h)(nr,null)))})),yr="http://www.w3.org/2000/svg",wr=void 0,br={},xr=new(ii()),Cr=.05,Er=[],Sr="ep-view__osd",kr=(rr=null===(ir=window.epdata)||void 0===ir?void 0:ir.t,-1),Tr=0,Mr=null===(or=null===window||void 0===window?void 0:window.epdata)||void 0===or?void 0:or.iiifTilesEndpointUri,Ar=null===(ar=null===window||void 0===window?void 0:window.epdata)||void 0===ar?void 0:ar.iiifDownloadsEndpointUri,Or=(null===(sr=null===window||void 0===window?void 0:window.epdata)||void 0===sr||sr.iiifEndpointUri,null===(lr=null===window||void 0===window?void 0:window.epdata)||void 0===lr?void 0:lr.iiifSystemId),Lr=null===(cr=null===window||void 0===window?void 0:window.epdata)||void 0===cr?void 0:cr.nlaEndpointUri,Pr=null===(ur=null===window||void 0===window?void 0:window.epdata)||void 0===ur?void 0:ur.nlaEndpointAuth,jr=null===(dr=null===window||void 0===window?void 0:window.epdata)||void 0===dr?void 0:dr.nlaEnabled,Ir=jr&&JSON.parse(null!==(fr=null===(pr=window.sessionStorage)||void 0===pr?void 0:pr.getItem("nla.active"))&&void 0!==fr?fr:"false"),Dr=function(e,t,n,i,r,o,a){t.forEach((function(t,s){var l=br[t.pid],c=l.w>0&&l.h>0,u=new i.Rect(t.minX,t.minY,t.maxX-t.minX,t.maxY-t.minY);if(t.visible&&l.available&&c&&l.state===po){l.state=uo;var d=new i.IIIFTileSource((0,Re.pi)({"@id":"".concat(Mr,"/").concat(Or,"!").concat(l.id),"@context":"http://iiif.io/api/image/2/context.json",profile:["http://iiif.io/api/image/2/level2.json"],protocol:"http://iiif.io/api/image",width:Math.round(20*l.w),height:Math.round(20*l.h),tiles:[{scaleFactors:[1,2,4,8,16],width:512}]},r));try{e.addTiledImage({tileSource:d,fitBounds:u,placeholderFillStyle:"#000",success:function(e){l.state=fo,e.item.index=s,e.item.pageWidth=l.w,e.item.pageHeight=l.h,l.image=e.item,n&&l.pid===window.epdata.pages[kr].pid&&(o(n),Nr(n))}})}catch(e){}}else if(!l.available&&t.visible&&l.state===po){var p=l.pid===window.epdata.pages[kr].pid;l.item.index;l.state=uo,e.addSimpleImage({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII=",fitBounds:new i.Rect(u.x,u.y,Math.max(u.height,1),Math.max(u.height,1)),clip:new i.Rect(0,0,Math.max(u.width,1)/Math.max(u.height,1),1),fitBoundsPlacement:i.Placement.TOP_LEFT,placeholderFillStyle:"#000"}),e.addSimpleImage({url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHPSURBVHgBzVXLTStBEKwe+/BuzyEsAeA3+0gAMoALElyACIAIjCOADIAThgsQAXYEDBAAJgNz47JTdK8tsMDGsxZIlLRaza+re7qrRzADZ94viyu2hLJKoCHAgMIrxlp7I4T+rPPuq8XOUnNXJN4gOhR0O44uj3RrjKKIj+f/my3MgGCq54vbTuRQ6FbWQwgf1y+891TygmhvhvsjVI1AXWxFcn+ScYPNW1Q1QevY+0YlAvPe/hvh4QRfYDOEK4LhD4rVaXvqkyYF4kFcIwWUO71nP215YgRWLfoNkGK/3Cd/KxF8J36c4K1MVVCZCmpY15RlTd6zCG5nGSCRi12RsKujZ8b60bgA35I8ElRXDT/p8NS49XAKnjh0yqxkpR1g4ROBIiNE5X/Xx5ywWwDi4/hcpRwMDVRDPWVTmZ8y9Jh18maf2j5SGp0hLQIpDvSOgxpe0Lz0BHEPiUi9okYEe+a1JlR7E/8lnksjIGsn1tTKA4JdllX2jQRagMHax2iYAbUuEvE7WsWLNjR7Kjv5oomo/5LYCJMJdkIY6FOZk9KzErUxEpGkA8Oo7g9QEe+9SMOOKLyKCvNCC8HLNAIVUFsf+UtVK+aFMyfVzvjcK9BCwV89ocouAAAAAElFTkSuQmCC",fitBounds:new i.Rect(u.x+.4375*u.width,u.y+.4375*u.height,Math.max(u.width/8,1),Math.max(u.height/8,1)),fitBoundsPlacement:i.Placement.CENTER,placeholderFillStyle:"#fff"}),e.addSimpleImage({url:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fitBoundsPlacement:i.Placement.TOP_LEFT,fitBounds:new i.Rect(u.x,u.y,u.height,u.height),clip:new i.Rect(0,0,u.width/u.height,1),placeholderFillStyle:"#000",success:function(e){e.item._worldWidthTarget=u.width,e.item._worldHeightTarget=u.height,e.item.index=s,l.image=e.item,l.state=fo,n&&p&&(o(n),Nr(n))}}),function(e,t,n,i){void 0===n&&(n=1),void 0===i&&(i=1),e.setAttribute("id","ep-view__osd__movingwall");var r=document.createElementNS(yr,"g"),o=document.createElementNS(yr,"rect");o.setAttribute("x","".concat(n*t.x)),o.setAttribute("y","".concat(n*t.y)),o.setAttribute("width","".concat(n*t.width)),o.setAttribute("height","".concat(n*t.height)),o.setAttribute("fill","#fff"),o.setAttribute("class","overlay-bg"),r.appendChild(o);var a=document.createElementNS(yr,"foreignObject");a.setAttribute("x","".concat(n*t.x)),a.setAttribute("y","".concat(n*t.y)),a.setAttribute("width","".concat(n*t.width)),a.setAttribute("height","".concat(n*t.height));var s=document.createElement("div");s.setAttribute("class","ep-view__movingwall"),s.setAttribute("style","font-size:".concat(.0025*t.height*n,"em"));var l=document.createElement("img");l.setAttribute("src","/dist/images/locked.svg"),s.appendChild(l);var c=document.createElement("div");c.setAttribute("class","ep-view__movingwall__text"),c.innerHTML=window.epdata.movingWallText,s.appendChild(c),a.appendChild(s),r.appendChild(a),e.appendChild(r)}(e.svgOverlay().node(),u,a,Cr)}}))},Nr=function(e){var t,n,i=null!==(n=null===(t=br[e])||void 0===t?void 0:t.item)&&void 0!==n?n:Er[0],r=new OpenSeadragon.Rect(i.minX,i.minY,i.maxX-i.minX,i.maxY-i.minY),o=hr.viewport.getBounds();return hr.viewport.fitBoundsWithConstraints(r,!(Math.abs(o.x-r.x)<3*o.width)),{page:(null==i?void 0:i.pid)?br[null==i?void 0:i.pid]:void 0,bounds:r}},Br=function(e,t){var n,i,r=hr.viewport.getBoundsWithMargins(),o=xr.search({minX:r.x,minY:r.y,maxX:r.x+r.width,maxY:r.y+r.height});Dr(hr,o,null!=vr?vr:"",t.OpenSeadragon,t.authOptions,t.setActivePage,t.overlayScale);for(var a=function(r){if(0===o[r].visible)return"continue";if(o[r].pageInfo||o[r].isRequestingHits)o[r].pid==vr&&e(o[r].pageInfo);else{o[r].isRequestingHits=!0;window.epdata.docPid;var a=null===(i=null===(n=br[o[r].pid])||void 0===n?void 0:n.id)||void 0===i?void 0:i.replace(/.*!(.*).jpe?g$/,"$1"),s=[fetch("/digbib/ajax/pageinfo?pid="+o[r].pid).then((function(e){return e.json()})).then((function(t){return delete t.fulltext,o[r].pageInfo=t,o[r].isRequestingHits=!1,t.words&&t.words.length>0&&function(e){for(var t=e.pageInfo,n=e.maxX-e.minX,i=e.maxY-e.minY,r=0;r<t.words.length;r++){var o=t.words[r],a=o.widthOriginal/o.heightOriginal,s=i/o.heightOriginal,l=n/o.widthOriginal,c=0,u=0,d=1;l<s?(u=.5*(i-o.heightOriginal*l),d=l):l>s&&(c=.5*(n-o.heightOriginal*s*a),d=s);var p="".concat(e.pid.replace(/:/g,"!"),"-kw-").concat(r);hr.addOverlay({id:p,x:e.minX+c+o.left*d,y:e.minY+u+o.top*d,width:o.width*d,height:o.height*d,className:"ep-view__osd__keyword"}),hr.addOverlay({id:p+"-page",x:e.minX,y:e.minY-.05*(e.maxY-e.minY),width:n,height:.01*(e.maxY-e.minY),className:"ep-view__osd__keyword-page"})}}(o[r]),o[r].pid==vr&&e(t),o[r]}))];jr&&Ir&&null!=Lr&&br[o[r].pid].available&&s.push(fetch("".concat(Lr,"/search/references/").concat(encodeURIComponent(a)),{credentials:"include",headers:new Headers({Authorization:"Basic "+window.btoa(Pr)})}).then((function(e){return e.ok?e.json():null}))),Promise.all(s).then((function(e){var n=e[0],i=e[1];i&&function(e,t,n){var i=br[t.pid],r=null==i?void 0:i.image;if(r){var o=r.getBounds();null==n||n.forEach((function(n){var i=n.id;n.ref.forEach((function(r){var a,s=r.id;null===(a=r.c[i])||void 0===a||a.forEach((function(r,a){r.split(";").forEach((function(l){var c=r.split(",").map((function(e){return void 0!==e?+e:e})),u=c[0],d=c[1],p=c[2],f=c[3],h=o.width/t.pageInfo.width,v=document.createElement("a"),m=new URLSearchParams;m.append("f","journal:".concat(n.journal)),m.append("f","max_confidence:".concat(n.max_confidence,"-5")),m.append("f","type:".concat(n.type)),v.setAttribute("href","https://nla.e-periodica.ch/".concat(s,"?").concat(m.toString())),v.setAttribute("target","_blank"),v.setAttribute("id","".concat(i,"-").concat(s,"-").concat(a)),v.classList.add("ep-view__osd__entity"),hr.addOverlay({element:v,x:o.x+u*h,y:o.y+d*h,width:p*h,height:f*h,className:""}),new e.OpenSeadragon.MouseTracker({element:"".concat(i,"-").concat(s,"-").concat(a),clickHandler:function(e){var t=e.originalEvent.target;"A"===t.tagName&&("_blank"===t.getAttribute("target")?window.open(t.getAttribute("href")):location.href=t.getAttribute("href"))}})}))}))}))}))}}(t,n,i)}))}},s=0;s<(null==o?void 0:o.length);s++)a(s)},Rr=function(e,t,n){Br(e,t)},Fr=ri(250,(function(e,t){Br(e,t)})),$r=function(e,t,n){Fr(e,t)},Hr=function(e,t,n){var i;if(!1!==n.quick){var r=hr.viewport.getBoundsWithMargins(!1),o=hr.viewport.deltaPointsFromPixels(n.position),a={minX:r.x+o.x,minY:r.y+o.y,maxX:r.x+o.x,maxY:r.y+o.y},s=null===(i=xr.search(a)[0])||void 0===i?void 0:i.pid;s&&e(s)}},qr=function(e){var t=document.querySelector(".ep-view__toc");t.getAttribute("data-pid");t.addEventListener("click",(function(t){var n,i,r=t.target;if(!(null===(n=null==r?void 0:r.classList)||void 0===n?void 0:n.contains("ep-view__toc__pdf"))&&!(null===(i=null==r?void 0:r.parentElement.classList)||void 0===i?void 0:i.contains("ep-view__toc__pdf"))){t.preventDefault(),t.stopPropagation();var o=k.Z.closest(t.target,"tr"),a=o?o.getAttribute("data-pid"):null;e("".concat(window.epdata.docPid,"::").concat(a))}}))},Vr=function(e){var t,n,i,r,o,a,s,l,c,u,d=e.pid,p=e.OpenSeadragon,f=e.isNavigationVisible,h=e.toggleNavigation,v=e.overlayScale,m=(0,ei.useState)(d),g=m[0],_=m[1],y=(0,ei.useState)({}),w=y[0],b=y[1],x=(0,ei.useState)(!1),C=x[0],E=x[1],S=(0,ei.useState)(!1),T=S[0],M=S[1],A=(0,ei.useState)(!1),O=A[0],L=A[1],P=(0,ei.useState)(null),j=P[0],I=P[1],D=(0,ei.useState)(null!=(document.fullscreenElement||document.webkitFullscreenElement)),N=D[0],B=D[1],R=(0,ei.useState)(!1),F=R[0],$=R[1],H=(0,ti.sO)(null),q=(0,ti.sO)(null),V=(0,ti.sO)(null),z=(0,ti.sO)(null),Y=(0,ti.sO)(null),U=(0,ti.sO)(null),W=(0,ti.sO)(null),X=(0,ti.sO)(null);(0,ei.useEffect)((function(){return function(e){var t,n,i,r,o,a,s,l,c=e.pid,u=e.OpenSeadragon,d=e.osdRef,p=e.osdContainerRef,f=e.downloadControlsRef,h=e.viewerControlsRef,v=e.pagingControlsRef,m=(e.shareControlsRef,e.nlaControlsRef),g=e.textControlsRef,_=e.setMeta,y=e.setActivePage,w=e.setFullscreen,b=e.overlayScale,x=(0,Re.pi)({loadTilesWithAjax:!0,ajaxWithCredentials:!1},(null===(t=window.epdata)||void 0===t?void 0:t.bearerToken)&&{ajaxHeaders:{Authorization:"Bearer ".concat(window.epdata.bearerToken)}}),C=(0,Re.pi)({element:d.current,container:p.current,debugMode:!1,autoHideControls:!1,visibilityRatio:1,showZoomControl:!1,showHomeControl:!1,fullPageButton:"".concat(Sr,"__btn-fullpage"),showFullPageControl:!0,autoResize:!0,constrainDuringPan:!0,constrainDuringZoom:!0},x);k.Z.testFullscreenSupport()&&(C.fullPageButton=Sr+"__btn-fullpage",C.showFullPageControl=!0),(hr=new u(C)).zoomPerClick=1,hr.viewport.setMargins({top:80,left:80,bottom:80,right:80}),hr.addControl(h.current,{anchor:u.ControlAnchor.RIGHT}),hr.addControl(v.current,{anchor:u.ControlAnchor.NONE}),hr.addControl(f.current,{anchor:u.ControlAnchor.RIGHT}),hr.addControl(g.current,{anchor:u.ControlAnchor.RIGHT}),jr&&hr.addControl(m.current,{anchor:u.ControlAnchor.LEFT}),new u.MouseTracker({element:document.getElementById(Sr+"__btn-zoom-in"),clickHandler:function(){hr.viewport.zoomBy(1.25),hr.viewport.applyConstraints()}}).setTracking(!0),new u.MouseTracker({element:document.getElementById(Sr+"__btn-zoom-out"),clickHandler:function(){hr.viewport.zoomBy(.75),hr.viewport.applyConstraints()}}).setTracking(!0),new u.MouseTracker({element:document.getElementById(Sr+"__btn-home"),clickHandler:function(){Nr(vr)}}).setTracking(!0),hr.addHandler("animation",$r.bind(wr,_,{OpenSeadragon:u,authOptions:x,setActivePage:y,overlayScale:b})),hr.addHandler("animation-finish",Rr.bind(wr,_,{OpenSeadragon:u,authOptions:x,setActivePage:y,overlayScale:b})),hr.addHandler("canvas-click",Hr.bind(wr,y,u));var E=function(e,t){return e-(e-t&e-t>>31)},S=window.epdata.pagesMinified,T=window.epdata.docPid,M=0,A=0,O=0,L=-1,P=0,j=0,I=Cr,D=(null===(n=window.epdata)||void 0===n||n.minPageWidth,null===(i=window.epdata)||void 0===i||i.maxPageWidth,(null===(r=window.epdata)||void 0===r?void 0:r.maxPageHeight)*I),N=S.length>0?.075*S[0][2]*I:0,B=-1,R=-1,F=1;kr=-1;var $=S.map((function(e,t){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7];F=D/I/E(o,1);var u=r*I,d=o*I,p="".concat(T,"::").concat(i),f=E(u,60)*F,h={pid:p,visible:(j=L-(M+=O*((R+=-1*(B-l>>31))-A))>>31)*j,minX:P=M+N*R,minY:0,maxX:P+f,maxY:0+D,index:t},v={id:n,pid:p,x:P,w:u,h:d,label:a,available:1===s,seq:R,nid:c,state:po,item:h};return br[p]=v,A=R,B=l,O=u*F,L=M,kr=E(kr,t*j*j),Er.push(h),v}));0===D&&(D=2048),window.epdata.pages=$,xr.load(Er),Tr=M+(null!==(a=null===(o=$[kr])||void 0===o?void 0:o.w)&&void 0!==a?a:0),hr.viewport.minZoomLevel=.08*($.length||10)*(1/Tr),(null===(s=$[0])||void 0===s?void 0:s.available)||(hr.viewport.maxZoomLevel=1),hr.viewport.homeZoomLevel=hr.viewport.minZoomLevel,qr(y);var H=function(){w(null!=(document.fullscreenElement||document.webkitFullscreenElement))};window.addEventListener("webkitfullscreenchange",H),window.addEventListener("fullscreenchange",H),Dr(hr,[Er[0],Er[kr]],null!=c?c:null===(l=$[0])||void 0===l?void 0:l.pid,u,x,y,b)}({pid:d,OpenSeadragon:p,osdRef:H,osdContainerRef:q,viewerControlsRef:V,downloadControlsRef:U,textControlsRef:W,pagingControlsRef:z,shareControlsRef:Y,nlaControlsRef:X,setMeta:b,setActivePage:_,setFullscreen:B,overlayScale:v})}),[]),(0,ei.useEffect)((function(){return function(e){var t,n,i=e.activePagePid,r=(e.meta,e.setMeta),o=Nr(vr=i),a=o.page;o.bounds,r(null===(n=null===(t=br[i])||void 0===t?void 0:t.item)||void 0===n?void 0:n.pageInfo),window.location.hash=(null==a?void 0:a.pid)?k.Z.getPartFromUri(null==a?void 0:a.pid):""}({activePagePid:g,meta:w,setMeta:b})}),[g]),(0,ei.useEffect)((function(){return function(e){var t=e.meta;if(t){var n=t.pid,i=null,r=document.querySelector(".ep-view__navigation");if(r){do{i=r.querySelector("[data-pid='".concat(n,"']")),n--}while(!i&&n>=0);for(var o="ep-toc__node--active",a=r.querySelectorAll(".".concat(o)),s=0;s<a.length;s++)a[s].classList.remove(o);var l=r.querySelectorAll("[data-pid='".concat(n+1,"']"));if(l.length>0){for(s=0;s<l.length;s++)l[s].classList.add(o);"function"==typeof r.scrollTo?r.scrollTo({left:0,top:l[0].getBoundingClientRect().top-r.getBoundingClientRect().top+r.scrollTop-64,behavior:"smooth"}):r.scrollIntoView({behavior:"smooth"})}}}}({meta:w})}),[w]);return(0,Qn.h)("div",{id:"ep-view__osd",ref:H},(0,Qn.h)("div",{ref:q,onKeyDown:function(e){var t,n,i,r,o,a;"ArrowLeft"===e.key||37===e.keyCode?g&&(null===(t=br[g])||void 0===t?void 0:t.item.index)>0&&_(Er[(null===(n=br[g])||void 0===n?void 0:n.item.index)-1].pid):"ArrowRight"!==e.key&&39!==e.keyCode||g&&(null===(i=br[g])||void 0===i?void 0:i.item.index)<(null===(o=null===(r=null===window||void 0===window?void 0:window.epdata)||void 0===r?void 0:r.pages)||void 0===o?void 0:o.length)-1&&_(Er[(null===(a=br[g])||void 0===a?void 0:a.item.index)+1].pid)}},(0,Qn.h)(_i,{isExpanded:T,setExpanded:M,activePagePid:g,meta:w,t:null===(t=null===window||void 0===window?void 0:window.epdata)||void 0===t?void 0:t.t,bearerToken:null===(n=null===window||void 0===window?void 0:window.epdata)||void 0===n?void 0:n.bearerToken,iiifEndpointUri:Ar,iiifSystemId:Or,pagesByPid:br,overlayId:Sr,ref:U}),(0,Qn.h)(zi,{isExpanded:O,setExpanded:L,activePage:g,meta:w,t:null===(i=null===window||void 0===window?void 0:window.epdata)||void 0===i?void 0:i.t,bearerToken:null===(r=null===window||void 0===window?void 0:window.epdata)||void 0===r?void 0:r.bearerToken,iiifEndpointUri:Ar,iiifSystemId:Or,pagesByPid:br,overlayId:Sr,textData:j,setTextData:I,ref:W}),(0,Qn.h)(gr,{ref:V,isFullscreen:N,overlayId:Sr,pageIndex:null!==(a=null===(o=window.epdata)||void 0===o?void 0:o.pages)&&void 0!==a?a:[]}),jr&&(0,Qn.h)(Zi,{ref:X,isExpanded:F,setExpanded:$,overlayId:Sr,activePage:g,meta:w,toggleNla:function(){var e;null===(e=window.sessionStorage)||void 0===e||e.setItem("nla.active",JSON.stringify(!Ir)),document.location.reload()},isNlaActive:Ir,t:null===(s=null===window||void 0===window?void 0:window.epdata)||void 0===s?void 0:s.t,bearerToken:null===(l=null===window||void 0===window?void 0:window.epdata)||void 0===l?void 0:l.bearerToken,iiifEndpointUri:Ar,iiifSystemId:Or}),(0,Qn.h)(_r,{ref:z,setActivePage:_,activePage:g,pageIndex:null!==(u=null===(c=window.epdata)||void 0===c?void 0:c.pages)&&void 0!==u?u:[],pagesByPid:br,overlayId:Sr})),(0,Qn.h)(hi,{ref:Y,meta:w,epdata:window.epdata,overlayId:Sr,isExpanded:C,setExpanded:E,toggleNav:h,isNavVisible:f}))};var zr,Yr="http://www.w3.org/2000/svg",Ur=function(){function e(e,t){void 0===t&&(t=1);var n=this;this._scale=1,this._viewer=e,this._containerWidth=0,this._containerHeight=0,this._svg=document.createElementNS(Yr,"svg"),this._svg.style.position="absolute",this._svg.style.left="0",this._svg.style.top="0",this._svg.style.width="100%",this._svg.style.height="100%",this._viewer.canvas.appendChild(this._svg),this._scale=t,this._node=document.createElementNS(Yr,"g"),this._svg.appendChild(this._node),this._viewer.addHandler("animation",(function(){n.resize()})),this._viewer.addHandler("open",(function(){n.resize()})),this._viewer.addHandler("rotate",(function(e){n.resize()})),this._viewer.addHandler("resize",(function(){n.resize()})),this.resize()}return e.prototype.node=function(){return this._node},e.prototype.onClick=function(e,t){new zr.MouseTracker({element:e,clickHandler:t}).setTracking(!0)},e.prototype.resize=function(){this._containerWidth!==this._viewer.container.clientWidth&&(this._containerWidth=this._viewer.container.clientWidth,this._svg.setAttribute("width","".concat(this._containerWidth))),this._containerHeight!==this._viewer.container.clientHeight&&(this._containerHeight=this._viewer.container.clientHeight,this._svg.setAttribute("height","".concat(this._containerHeight)));var e=this._viewer.viewport.pixelFromPoint(new zr.Point(0,0),!0),t=this._viewer.viewport.getZoom(!0),n=this._viewer.viewport.getRotation(),i=this._viewer.viewport._containerInnerSize.x*t,r=1/this._scale;this._node.setAttribute("transform","translate("+e.x+","+e.y+") scale("+i*r+") rotate("+n+")")},e}();var Wr,Xr=document.getElementById("ep-view"),Gr=!window.matchMedia("screen and (max-width: 68.74em)").matches,Zr=function(){var e,t,n,i=new URLSearchParams(document.location.search.substring(1));return window.location.hash.length>1?k.Z.replacePid(i.get("pid"),null===(e=window.location.hash)||void 0===e?void 0:e.substring(1)):(null===(t=window.epdata)||void 0===t?void 0:t.initialPagePid)?null===(n=window.epdata)||void 0===n?void 0:n.initialPagePid:i.get("pid")},Jr=function(e){var t=document.getElementById("ep-view__navigation");t.querySelector(".ep-view__navigation__close").setAttribute("aria-expanded",Gr?"true":"false"),Gr?(t.classList.remove("ep-accordion__content--collapsed"),t.removeAttribute("aria-hidden")):(t.classList.add("ep-accordion__content--collapsed"),t.setAttribute("aria-hidden","true"))},Kr=function(e){Gr=!Gr,!0===e&&Jr(),Qr(Wr,Zr(),Gr,Kr,1)},Qr=function(e,t,n,i,r){(0,Qn.sY)((0,Qn.h)(Vr,{pid:t,OpenSeadragon:e,isNavigationVisible:n,toggleNavigation:i,overlayScale:r}),Xr)},eo=function(e){!function(){var e,t,n,i,r,o,a,s,l;k.Z.matomoTrackCustomDimension(null!==(t=null===(e=window.epdata)||void 0===e?void 0:e.matomoCdJournalTitle)&&void 0!==t?t:1,null===(n=window.epdata)||void 0===n?void 0:n.journalTitleShort),k.Z.matomoTrackCustomDimension(null!==(r=null===(i=window.epdata)||void 0===i?void 0:i.matomoCdJournalPrefix)&&void 0!==r?r:2,null===(o=window.epdata)||void 0===o?void 0:o.journalPrefix),k.Z.matomoTrackCustomDimension(null!==(s=null===(a=window.epdata)||void 0===a?void 0:a.matomoCdJournalUniqueId)&&void 0!==s?s:3,null===(l=window.epdata)||void 0===l?void 0:l.journalUniqueId)}(),k.Z.matomoTrackLink(null,"download",e,".ep-view__toc__pdf")},to=function(e){var t,n;document.documentElement.classList.contains("viewer-page")&&(Jr(),a.e("openseadragon").then(a.t.bind(a,"./node_modules/openseadragon/build/openseadragon/openseadragon.js",23)).then((function(e){Wr=e.default,window.OpenSeadragon=Wr,function(e){if(void 0===e&&(e=1),!(zr=window.OpenSeadragon))throw new Error("OpenSeadragon is missing.");zr.Viewer.prototype.svgOverlay=function(){return this._svgOverlayInfo||(this._svgOverlayInfo=new Ur(this,e)),this._svgOverlayInfo}}(1),Qr(Wr,Zr(),Gr,Kr,1)})),null===(t=document.querySelector(".ep-view__navigation__close"))||void 0===t||t.addEventListener("click",Kr),null===(n=document.querySelector(".ep-view__toc__table"))||void 0===n||n.addEventListener("click",eo),zn(".ep-view__toc__node--locked",{placement:"top"}))};var no=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function io(e){this._show=this.show.bind(this),this._hide=this.hide.bind(this),this._maintainFocus=this._maintainFocus.bind(this),this._bindKeypress=this._bindKeypress.bind(this),this.$el=e,this.shown=!1,this._id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this._previouslyFocused=null,this._listeners={},this.create()}function ro(e,t){return n=(t||document).querySelectorAll(e),Array.prototype.slice.call(n);var n}function oo(e){(e.querySelector("[autofocus]")||e).focus()}function ao(){ro("[data-a11y-dialog]").forEach((function(e){new io(e)}))}io.prototype.create=function(){this.$el.setAttribute("aria-hidden",!0),this.$el.setAttribute("aria-modal",!0),this.$el.setAttribute("tabindex",-1),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),this._openers=ro('[data-a11y-dialog-show="'+this._id+'"]'),this._openers.forEach(function(e){e.addEventListener("click",this._show)}.bind(this));const e=this.$el;return this._closers=ro("[data-a11y-dialog-hide]",this.$el).filter((function(t){return t.closest('[aria-modal="true"], [data-a11y-dialog]')===e})).concat(ro('[data-a11y-dialog-hide="'+this._id+'"]')),this._closers.forEach(function(e){e.addEventListener("click",this._hide)}.bind(this)),this._fire("create"),this},io.prototype.show=function(e){return this.shown||(this._previouslyFocused=document.activeElement,this.$el.removeAttribute("aria-hidden"),this.shown=!0,oo(this.$el),document.body.addEventListener("focus",this._maintainFocus,!0),document.addEventListener("keydown",this._bindKeypress),this._fire("show",e)),this},io.prototype.hide=function(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this._previouslyFocused&&this._previouslyFocused.focus&&this._previouslyFocused.focus(),document.body.removeEventListener("focus",this._maintainFocus,!0),document.removeEventListener("keydown",this._bindKeypress),this._fire("hide",e),this):this},io.prototype.destroy=function(){return this.hide(),this._openers.forEach(function(e){e.removeEventListener("click",this._show)}.bind(this)),this._closers.forEach(function(e){e.removeEventListener("click",this._hide)}.bind(this)),this._fire("destroy"),this._listeners={},this},io.prototype.on=function(e,t){return void 0===this._listeners[e]&&(this._listeners[e]=[]),this._listeners[e].push(t),this},io.prototype.off=function(e,t){var n=(this._listeners[e]||[]).indexOf(t);return n>-1&&this._listeners[e].splice(n,1),this},io.prototype._fire=function(e,t){var n=this._listeners[e]||[],i=new CustomEvent(e,{detail:t});this.$el.dispatchEvent(i),n.forEach(function(e){e(this.$el,t)}.bind(this))},io.prototype._bindKeypress=function(e){const t=document.activeElement;t&&t.closest('[aria-modal="true"]')!==this.$el||(this.shown&&"Escape"===e.key&&"alertdialog"!==this.$el.getAttribute("role")&&(e.preventDefault(),this.hide(e)),this.shown&&"Tab"===e.key&&function(e,t){var n=function(e){return ro(no.join(","),e).filter((function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}))}(e),i=n.indexOf(document.activeElement);t.shiftKey&&0===i?(n[n.length-1].focus(),t.preventDefault()):t.shiftKey||i!==n.length-1||(n[0].focus(),t.preventDefault())}(this.$el,e))},io.prototype._maintainFocus=function(e){!this.shown||e.target.closest('[aria-modal="true"]')||e.target.closest("[data-a11y-dialog-ignore-focus-trap]")||oo(this.$el)},"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",ao):window.requestAnimationFrame?window.requestAnimationFrame(ao):window.setTimeout(ao,16));var so=function(e){return(0,Re.mG)(void 0,void 0,void 0,(function(){var t,n,i,r;return(0,Re.Jh)(this,(function(o){return t=document.documentElement,(n=document.querySelector("#ep-cart-dialog__container"))?(i=new io(n),r=function(e){var t;"cart-close"===(null===(t=e.data)||void 0===t?void 0:t.type)&&i.hide()},i.on("show",(function(){t.style.overflowY="hidden",window.addEventListener("message",r)})).on("hide",(function(){t.style.overflowY="",window.removeEventListener("message",r)})),i.show(e),Promise.all([a.e("vendors-node_modules_react-uid_dist_es2015_hooks_js-node_modules_react-hook-form_dist_index_esm_mjs"),a.e("cart")]).then(a.bind(a,"./src/js/components/Cart.tsx")).then((function(e){var t=null==n?void 0:n.querySelector('div[role="document"] > main');(0,Qn.sY)(e.default({refresh:""+Date.now()}),t)})),[2]):[2]}))}))},lo=function(e){var t;"cart-update-count"===(null===(t=e.data)||void 0===t?void 0:t.type)&&(0,Re.mG)(void 0,void 0,void 0,(function(){var e;return(0,Re.Jh)(this,(function(t){return(null==(e=document.querySelector(".ep-header__cart__badge"))?void 0:e.classList.contains("ep-header__cart__badge--unknown"))||null==e||e.classList.add("ep-header__cart__badge--pending"),fetch("/cart/count").then((function(e){var t,n;return+(null===(n=null!==(t=e.headers.get("Content-Range"))&&void 0!==t?t:"/0")||void 0===n?void 0:n.replace(/.*\/(\d*)$/,"$1"))})).then((function(t){var n,i,r=document.querySelector(".ep-header__cart__count");r&&(t>0?(r.textContent="".concat(t),null===(n=r.parentNode)||void 0===n||n.classList.remove("ep-header__cart__badge--empty")):(r&&(r.textContent=""),null===(i=r.parentNode)||void 0===i||i.classList.add("ep-header__cart__badge--empty")),null==e||e.classList.remove("ep-header__cart__badge--unknown","ep-header__cart__badge--pending"))})),[2]}))}))},co=function(){var e,t;null===(e=document.querySelector(".ep-header__cart__button"))||void 0===e||e.removeEventListener("click",so),null===(t=document.querySelector(".ep-header__cart__button"))||void 0===t||t.addEventListener("click",so),window.removeEventListener("message",lo),window.addEventListener("message",lo)};document.addEventListener("DOMContentLoaded",(function(e){co(),window.postMessage({type:"cart-update-count"})}));var uo=Symbol("PAGE_STATE_LOADING"),po=Symbol("PAGE_STATE_UNLOADED"),fo=Symbol("PAGE_STATE_LOADED");document.addEventListener("DOMContentLoaded",(function(e){(0,M.j)(e),Jn(),Xn(),Kn(),to(),co()}));try{document.documentElement.classList.remove("no-js")}catch(Ui){}}()}();