You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
25 KiB
1 line
25 KiB
(()=>{var t={233:t=>{!function(){"use strict";var n=document,e=window,r=n.documentElement,i=n.createElement.bind(n),o=i("div"),a=i("table"),u=i("tbody"),c=i("tr"),s=Array.isArray,f=Array.prototype,l=f.concat,h=f.filter,d=f.indexOf,p=f.map,m=f.push,v=f.slice,g=f.some,y=f.splice,w=/^#(?:[\w-]|\\.|[^\x00-\xa0])*$/,b=/^\.(?:[\w-]|\\.|[^\x00-\xa0])*$/,E=/<.+>/,C=/^\w+$/;function x(t,n){var e,r=!!(e=n)&&11===e.nodeType;return t&&(r||L(n)||N(n))?!r&&b.test(t)?n.getElementsByClassName(t.slice(1).replace(/\\/g,"")):!r&&C.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t):[]}var S=function(){function t(t,r){if(t){if(O(t))return t;var i=t;if(I(t)){var o=r||n;if(!(i=w.test(t)&&L(o)?o.getElementById(t.slice(1).replace(/\\/g,"")):E.test(t)?X(t):O(o)?o.find(t):I(o)?A(o).find(t):x(t,o)))return}else if(M(t))return this.ready(t);(i.nodeType||i===e)&&(i=[i]),this.length=i.length;for(var a=0,u=this.length;a<u;a++)this[a]=i[a]}}return t.prototype.init=function(n,e){return new t(n,e)},t}(),_=S.prototype,A=_.init;function O(t){return t instanceof S}function T(t){return!!t&&t===t.window}function L(t){return!!t&&9===t.nodeType}function N(t){return!!t&&1===t.nodeType}function M(t){return"function"==typeof t}function I(t){return"string"==typeof t}function R(t){return void 0===t}function P(t){return null===t}function q(t){return!isNaN(parseFloat(t))&&isFinite(t)}function F(t){if("object"!=typeof t||null===t)return!1;var n=Object.getPrototypeOf(t);return null===n||n===Object.prototype}function H(t,n,e){if(e){for(var r=t.length;r--;)if(!1===n.call(t[r],r,t[r]))return t}else if(F(t))for(var i=Object.keys(t),o=(r=0,i.length);r<o;r++){var a=i[r];if(!1===n.call(t[a],a,t[a]))return t}else for(r=0,o=t.length;r<o;r++)if(!1===n.call(t[r],r,t[r]))return t;return t}function j(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e="boolean"==typeof t[0]&&t.shift(),r=t.shift(),i=t.length;if(!r)return{};if(!i)return j(e,A,r);for(var o=0;o<i;o++){var a=t[o];for(var u in a)e&&(s(a[u])||F(a[u]))?(r[u]&&r[u].constructor===a[u].constructor||(r[u]=new a[u].constructor),j(e,r[u],a[u])):r[u]=a[u]}return r}A.fn=A.prototype=_,_.length=0,_.splice=y,"function"==typeof Symbol&&(_[Symbol.iterator]=f[Symbol.iterator]),A.isWindow=T,A.isFunction=M,A.isArray=s,A.isNumeric=q,A.isPlainObject=F,A.each=H,_.each=function(t){return H(this,t)},_.empty=function(){return this.each((function(t,n){for(;n.firstChild;)n.removeChild(n.firstChild)}))},A.extend=j,_.extend=function(t){return j(_,t)};var D=/\S+/g;function B(t){return I(t)&&t.match(D)||[]}function k(t,n,r){if(N(t)){var i=e.getComputedStyle(t,null);return r?i.getPropertyValue(n)||void 0:i[n]||t.style[n]}}function z(t,n){return parseInt(k(t,n),10)||0}function U(t,n){return z(t,"border".concat(n?"Left":"Top","Width"))+z(t,"padding".concat(n?"Left":"Top"))+z(t,"padding".concat(n?"Right":"Bottom"))+z(t,"border".concat(n?"Right":"Bottom","Width"))}_.toggleClass=function(t,n){var e=B(t),r=!R(n);return this.each((function(t,i){N(i)&&H(e,(function(t,e){r?n?i.classList.add(e):i.classList.remove(e):i.classList.toggle(e)}))}))},_.addClass=function(t){return this.toggleClass(t,!0)},_.removeAttr=function(t){var n=B(t);return this.each((function(t,e){N(e)&&H(n,(function(t,n){e.removeAttribute(n)}))}))},_.attr=function(t,n){if(t){if(I(t)){if(arguments.length<2){if(!this[0]||!N(this[0]))return;var e=this[0].getAttribute(t);return P(e)?void 0:e}return R(n)?this:P(n)?this.removeAttr(t):this.each((function(e,r){N(r)&&r.setAttribute(t,n)}))}for(var r in t)this.attr(r,t[r]);return this}},_.removeClass=function(t){return arguments.length?this.toggleClass(t,!1):this.attr("class","")},_.hasClass=function(t){return!!t&&g.call(this,(function(n){return N(n)&&n.classList.contains(t)}))},_.get=function(t){return R(t)?v.call(this):this[(t=Number(t))<0?t+this.length:t]},_.eq=function(t){return A(this.get(t))},_.first=function(){return this.eq(0)},_.last=function(){return this.eq(-1)},_.text=function(t){return R(t)?this.get().map((function(t){return N(t)||(n=t)&&3===n.nodeType?t.textContent:"";var n})).join(""):this.each((function(n,e){N(e)&&(e.textContent=t)}))};var W={};function $(t){return"none"===k(t,"display")}function Q(t,n){var e=t&&(t.matches||t.webkitMatchesSelector||t.msMatchesSelector);return!!e&&!!n&&e.call(t,n)}function Y(t){return I(t)?function(n,e){return Q(e,t)}:M(t)?t:O(t)?function(n,e){return t.is(e)}:t?function(n,e){return e===t}:function(){return!1}}function J(t,n){return n?t.filter(n):t}_.filter=function(t){var n=Y(t);return A(h.call(this,(function(t,e){return n.call(t,e,t)})))},_.detach=function(t){return J(this,t).each((function(t,n){n.parentNode&&n.parentNode.removeChild(n)})),this};var K=/^\s*<(\w+)[^>]*>/,G=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,V={"*":o,tr:u,td:c,th:c,thead:a,tbody:a,tfoot:a};function X(t){if(!I(t))return[];if(G.test(t))return[i(RegExp.$1)];var n=K.test(t)&&RegExp.$1,e=V[n]||V["*"];return e.innerHTML=t,A(e.childNodes).detach().get()}function Z(t,n,e,r){for(var i=[],o=M(n),a=r&&Y(r),u=0,c=t.length;u<c;u++)if(o){var s=n(t[u]);s.length&&m.apply(i,s)}else for(var f=t[u][n];!(null==f||r&&a(-1,f));)i.push(f),f=e?f[n]:null;return i}function tt(t){return t.multiple&&t.options?Z(h.call(t.options,(function(t){return t.selected&&!t.disabled&&!t.parentNode.disabled})),"value"):t.value||""}function nt(t){return t.length>1?h.call(t,(function(t,n,e){return d.call(e,t)===n})):t}A.parseHTML=X,_.has=function(t){var n=I(t)?function(n,e){return x(t,e).length}:function(n,e){return e.contains(t)};return this.filter(n)},_.not=function(t){var n=Y(t);return this.filter((function(e,r){return(!I(t)||N(r))&&!n.call(r,e,r)}))},_.val=function(t){return arguments.length?this.each((function(n,e){var r=e.multiple&&e.options;if(r||Rt.test(e.type)){var i=s(t)?p.call(t,String):P(t)?[]:[String(t)];r?H(e.options,(function(t,n){n.selected=i.indexOf(n.value)>=0}),!0):e.checked=i.indexOf(e.value)>=0}else e.value=R(t)||P(t)?"":t})):this[0]&&tt(this[0])},_.is=function(t){var n=Y(t);return g.call(this,(function(t,e){return n.call(t,e,t)}))},A.guid=1,A.unique=nt,_.add=function(t,n){return A(nt(this.get().concat(A(t,n).get())))},_.children=function(t){return J(A(nt(Z(this,(function(t){return t.children})))),t)},_.parent=function(t){return J(A(nt(Z(this,"parentNode"))),t)},_.index=function(t){var n=t?A(t)[0]:this[0],e=t?this:A(n).parent().children();return d.call(e,n)},_.closest=function(t){var n=this.filter(t);if(n.length)return n;var e=this.parent();return e.length?e.closest(t):n},_.siblings=function(t){return J(A(nt(Z(this,(function(t){return A(t).parent().children().not(t)})))),t)},_.find=function(t){return A(nt(Z(this,(function(n){return x(t,n)}))))};var et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rt=/^$|^module$|\/(java|ecma)script/i,it=["type","src","nonce","noModule"];function ot(t,n,e,o,a){o?t.insertBefore(n,e?t.firstChild:null):"HTML"===t.nodeName?t.parentNode.replaceChild(n,t):t.parentNode.insertBefore(n,e?t:t.nextSibling),a&&function(t,n){var e=A(t);e.filter("script").add(e.find("script")).each((function(t,e){if(rt.test(e.type)&&r.contains(e)){var o=i("script");o.text=e.textContent.replace(et,""),H(it,(function(t,n){e[n]&&(o[n]=e[n])})),n.head.insertBefore(o,null),n.head.removeChild(o)}}))}(n,t.ownerDocument)}function at(t,n,e,r,i,o,a,u){return H(t,(function(t,o){H(A(o),(function(t,o){H(A(n),(function(n,a){var u=e?a:o,c=e?t:n;ot(e?o:a,c?u.cloneNode(!0):u,r,i,!c)}),u)}),a)}),o),n}_.after=function(){return at(arguments,this,!1,!1,!1,!0,!0)},_.append=function(){return at(arguments,this,!1,!1,!0)},_.html=function(t){if(!arguments.length)return this[0]&&this[0].innerHTML;if(R(t))return this;var n=/<script[\s>]/.test(t);return this.each((function(e,r){N(r)&&(n?A(r).empty().append(t):r.innerHTML=t)}))},_.appendTo=function(t){return at(arguments,this,!0,!1,!0)},_.wrapInner=function(t){return this.each((function(n,e){var r=A(e),i=r.contents();i.length?i.wrapAll(t):r.append(t)}))},_.before=function(){return at(arguments,this,!1,!0)},_.wrapAll=function(t){for(var n=A(t),e=n[0];e.children.length;)e=e.firstElementChild;return this.first().before(n),this.appendTo(e)},_.wrap=function(t){return this.each((function(n,e){var r=A(t)[0];A(e).wrapAll(n?r.cloneNode(!0):r)}))},_.insertAfter=function(t){return at(arguments,this,!0,!1,!1,!1,!1,!0)},_.insertBefore=function(t){return at(arguments,this,!0,!0)},_.prepend=function(){return at(arguments,this,!1,!0,!0,!0,!0)},_.prependTo=function(t){return at(arguments,this,!0,!0,!0,!1,!1,!0)},_.contents=function(){return A(nt(Z(this,(function(t){return"IFRAME"===t.tagName?[t.contentDocument]:"TEMPLATE"===t.tagName?t.content.childNodes:t.childNodes}))))},_.next=function(t,n,e){return J(A(nt(Z(this,"nextElementSibling",n,e))),t)},_.nextAll=function(t){return this.next(t,!0)},_.nextUntil=function(t,n){return this.next(n,!0,t)},_.parents=function(t,n){return J(A(nt(Z(this,"parentElement",!0,n))),t)},_.parentsUntil=function(t,n){return this.parents(n,t)},_.prev=function(t,n,e){return J(A(nt(Z(this,"previousElementSibling",n,e))),t)},_.prevAll=function(t){return this.prev(t,!0)},_.prevUntil=function(t,n){return this.prev(n,!0,t)},_.map=function(t){return A(l.apply([],p.call(this,(function(n,e){return t.call(n,e,n)}))))},_.clone=function(){return this.map((function(t,n){return n.cloneNode(!0)}))},_.offsetParent=function(){return this.map((function(t,n){for(var e=n.offsetParent;e&&"static"===k(e,"position");)e=e.offsetParent;return e||r}))},_.slice=function(t,n){return A(v.call(this,t,n))};var ut=/-([a-z])/g;function ct(t){return t.replace(ut,(function(t,n){return n.toUpperCase()}))}_.ready=function(t){var e=function(){return setTimeout(t,0,A)};return"loading"!==n.readyState?e():n.addEventListener("DOMContentLoaded",e),this},_.unwrap=function(){return this.parent().each((function(t,n){if("BODY"!==n.tagName){var e=A(n);e.replaceWith(e.children())}})),this},_.offset=function(){var t=this[0];if(t){var n=t.getBoundingClientRect();return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}},_.position=function(){var t=this[0];if(t){var n="fixed"===k(t,"position"),e=n?t.getBoundingClientRect():this.offset();if(!n){for(var r=t.ownerDocument,i=t.offsetParent||r.documentElement;(i===r.body||i===r.documentElement)&&"static"===k(i,"position");)i=i.parentNode;if(i!==t&&N(i)){var o=A(i).offset();e.top-=o.top+z(i,"borderTopWidth"),e.left-=o.left+z(i,"borderLeftWidth")}}return{top:e.top-z(t,"marginTop"),left:e.left-z(t,"marginLeft")}}};var st={class:"className",contenteditable:"contentEditable",for:"htmlFor",readonly:"readOnly",maxlength:"maxLength",tabindex:"tabIndex",colspan:"colSpan",rowspan:"rowSpan",usemap:"useMap"};_.prop=function(t,n){if(t){if(I(t))return t=st[t]||t,arguments.length<2?this[0]&&this[0][t]:this.each((function(e,r){r[t]=n}));for(var e in t)this.prop(e,t[e]);return this}},_.removeProp=function(t){return this.each((function(n,e){delete e[st[t]||t]}))};var ft=/^--/;function lt(t){return ft.test(t)}var ht={},dt=o.style,pt=["webkit","moz","ms"];var mt={animationIterationCount:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0};function vt(t,n,e){return void 0===e&&(e=lt(t)),e||mt[t]||!q(n)?n:"".concat(n,"px")}function gt(t,n){try{return t(n)}catch(t){return n}}_.css=function(t,n){if(I(t)){var e=lt(t);return t=function(t,n){if(void 0===n&&(n=lt(t)),n)return t;if(!ht[t]){var e=ct(t),r="".concat(e[0].toUpperCase()).concat(e.slice(1));H("".concat(e," ").concat(pt.join("".concat(r," "))).concat(r).split(" "),(function(n,e){if(e in dt)return ht[t]=e,!1}))}return ht[t]}(t,e),arguments.length<2?this[0]&&k(this[0],t,e):t?(n=vt(t,n,e),this.each((function(r,i){N(i)&&(e?i.style.setProperty(t,n):i.style[t]=n)}))):this}for(var r in t)this.css(r,t[r]);return this};var yt=/^\s+|\s+$/;function wt(t,n){var e=t.dataset[n]||t.dataset[ct(n)];return yt.test(e)?e:gt(JSON.parse,e)}function bt(t,n){var e=t.documentElement;return Math.max(t.body["scroll".concat(n)],e["scroll".concat(n)],t.body["offset".concat(n)],e["offset".concat(n)],e["client".concat(n)])}_.data=function(t,n){if(!t){if(!this[0])return;var e={};for(var r in this[0].dataset)e[r]=wt(this[0],r);return e}if(I(t))return arguments.length<2?this[0]&&wt(this[0],t):R(n)?this:this.each((function(e,r){!function(t,n,e){e=gt(JSON.stringify,e),t.dataset[ct(n)]=e}(r,t,n)}));for(var r in t)this.data(r,t[r]);return this},H([!0,!1],(function(t,n){H(["Width","Height"],(function(t,e){var r="".concat(n?"outer":"inner").concat(e);_[r]=function(r){if(this[0])return T(this[0])?n?this[0]["inner".concat(e)]:this[0].document.documentElement["client".concat(e)]:L(this[0])?bt(this[0],e):this[0]["".concat(n?"offset":"client").concat(e)]+(r&&n?z(this[0],"margin".concat(t?"Top":"Left"))+z(this[0],"margin".concat(t?"Bottom":"Right")):0)}}))})),H(["Width","Height"],(function(t,n){var e=n.toLowerCase();_[e]=function(r){if(!this[0])return R(r)?void 0:this;if(!arguments.length)return T(this[0])?this[0].document.documentElement["client".concat(n)]:L(this[0])?bt(this[0],n):this[0].getBoundingClientRect()[e]-U(this[0],!t);var i=parseInt(r,10);return this.each((function(n,r){if(N(r)){var o=k(r,"boxSizing");r.style[e]=vt(e,i+("border-box"===o?U(r,!t):0))}}))}}));var Et="___cd";_.toggle=function(t){return this.each((function(e,r){if(N(r)){var o=$(r);(R(t)?o:t)?(r.style.display=r[Et]||"",$(r)&&(r.style.display=function(t){if(W[t])return W[t];var e=i(t);n.body.insertBefore(e,null);var r=k(e,"display");return n.body.removeChild(e),W[t]="none"!==r?r:"block"}(r.tagName))):o||(r[Et]=k(r,"display"),r.style.display="none")}}))},_.hide=function(){return this.toggle(!1)},_.show=function(){return this.toggle(!0)};var Ct="___ce",xt={focus:"focusin",blur:"focusout"},St={mouseenter:"mouseover",mouseleave:"mouseout"},_t=/^(mouse|pointer|contextmenu|drag|drop|click|dblclick)/i;function At(t){return St[t]||xt[t]||t}function Ot(t){var n=t.split(".");return[n[0],n.slice(1).sort()]}function Tt(t){return t[Ct]=t[Ct]||{}}function Lt(t,n){return!n||!g.call(n,(function(n){return t.indexOf(n)<0}))}function Nt(t,n,e,r,i){var o=Tt(t);if(n)o[n]&&(o[n]=o[n].filter((function(o){var a=o[0],u=o[1],c=o[2];if(i&&c.guid!==i.guid||!Lt(a,e)||r&&r!==u)return!0;t.removeEventListener(n,c)})));else for(n in o)Nt(t,n,e,r,i)}_.trigger=function(t,e){if(I(t)){var r=Ot(t),i=r[0],o=r[1],a=At(i);if(!a)return this;var u=_t.test(a)?"MouseEvents":"HTMLEvents";(t=n.createEvent(u)).initEvent(a,!0,!0),t.namespace=o.join("."),t.___ot=i}t.___td=e;var c=t.___ot in xt;return this.each((function(n,e){c&&M(e[t.___ot])&&(e["___i".concat(t.type)]=!0,e[t.___ot](),e["___i".concat(t.type)]=!1),e.dispatchEvent(t)}))},_.off=function(t,n,e){var r=this;if(R(t))this.each((function(t,n){(N(n)||L(n)||T(n))&&Nt(n)}));else if(I(t))M(n)&&(e=n,n=""),H(B(t),(function(t,i){var o=Ot(i),a=o[0],u=o[1],c=At(a);r.each((function(t,r){(N(r)||L(r)||T(r))&&Nt(r,c,u,n,e)}))}));else for(var i in t)this.off(i,t[i]);return this},_.remove=function(t){return J(this,t).detach().off(),this},_.replaceWith=function(t){return this.before(t).remove()},_.replaceAll=function(t){return A(t).replaceWith(this),this},_.on=function(t,n,e,r,i){var o=this;if(!I(t)){for(var a in t)this.on(a,n,e,t[a],i);return this}return I(n)||(R(n)||P(n)?n="":R(e)?(e=n,n=""):(r=e,e=n,n="")),M(r)||(r=e,e=void 0),r?(H(B(t),(function(t,a){var u=Ot(a),c=u[0],s=u[1],f=At(c),l=c in St,h=c in xt;f&&o.each((function(t,o){if(N(o)||L(o)||T(o)){var a=function(t){if(t.target["___i".concat(t.type)])return t.stopImmediatePropagation();if((!t.namespace||Lt(s,t.namespace.split(".")))&&(n||!(h&&(t.target!==o||t.___ot===f)||l&&t.relatedTarget&&o.contains(t.relatedTarget)))){var u=o;if(n){for(var c=t.target;!Q(c,n);){if(c===o)return;if(!(c=c.parentNode))return}u=c}Object.defineProperty(t,"currentTarget",{configurable:!0,get:function(){return u}}),Object.defineProperty(t,"delegateTarget",{configurable:!0,get:function(){return o}}),Object.defineProperty(t,"data",{configurable:!0,get:function(){return e}});var d=r.call(u,t,t.___td);i&&Nt(o,f,s,n,a),!1===d&&(t.preventDefault(),t.stopPropagation())}};a.guid=r.guid=r.guid||A.guid++,function(t,n,e,r,i){var o=Tt(t);o[n]=o[n]||[],o[n].push([e,r,i]),t.addEventListener(n,i)}(o,f,s,n,a)}}))})),this):this},_.one=function(t,n,e,r){return this.on(t,n,e,r,!0)};var Mt=/\r?\n/g;var It=/file|reset|submit|button|image/i,Rt=/radio|checkbox/i;_.serialize=function(){var t="";return this.each((function(n,e){H(e.elements||[e],(function(n,e){if(!(e.disabled||!e.name||"FIELDSET"===e.tagName||It.test(e.type)||Rt.test(e.type)&&!e.checked)){var r=tt(e);if(!R(r))H(s(r)?r:[r],(function(n,r){t+=function(t,n){return"&".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n.replace(Mt,"\r\n")))}(e.name,r)}))}}))})),t.slice(1)},t.exports=A}()},496:function(t,n,e){var r,i;window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(t){var n,e=(this.document||this.ownerDocument).querySelectorAll(t),r=this;do{for(n=e.length;0<=--n&&e.item(n)!==r;);}while(n<0&&(r=r.parentElement));return r}),function(){function t(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),e}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}(),function(){for(var t=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[n[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(n,e){var r=(new Date).getTime(),i=Math.max(0,16-(r-t)),o=window.setTimeout((function(){n(r+i)}),i);return t=r+i,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),i=void 0!==e.g?e.g:"undefined"!=typeof window?window:this,r=function(){return function(t){"use strict";var n={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,speedAsDuration:!1,durationMax:null,durationMin:null,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},e=function(){var t={};return Array.prototype.forEach.call(arguments,(function(n){for(var e in n){if(!n.hasOwnProperty(e))return;t[e]=n[e]}})),t},r=function(t){"#"===t.charAt(0)&&(t=t.substr(1));for(var n,e=String(t),r=e.length,i=-1,o="",a=e.charCodeAt(0);++i<r;){if(0===(n=e.charCodeAt(i)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");o+=1<=n&&n<=31||127==n||0===i&&48<=n&&n<=57||1===i&&48<=n&&n<=57&&45===a?"\\"+n.toString(16)+" ":128<=n||45===n||95===n||48<=n&&n<=57||65<=n&&n<=90||97<=n&&n<=122?e.charAt(i):"\\"+e.charAt(i)}return"#"+o},i=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},o=function(n){return n?(e=n,parseInt(t.getComputedStyle(e).height,10)+n.offsetTop):0;var e},a=function(n,e,r){0===n&&document.body.focus(),r||(n.focus(),document.activeElement!==n&&(n.setAttribute("tabindex","-1"),n.focus(),n.style.outline="none"),t.scrollTo(0,e))},u=function(n,e,r,i){if(e.emitEvents&&"function"==typeof t.CustomEvent){var o=new CustomEvent(n,{bubbles:!0,detail:{anchor:r,toggle:i}});document.dispatchEvent(o)}};return function(c,s){var f,l,h,d,p={cancelScroll:function(t){cancelAnimationFrame(d),d=null,t||u("scrollCancel",f)},animateScroll:function(r,c,s){p.cancelScroll();var l=e(f||n,s||{}),m="[object Number]"===Object.prototype.toString.call(r),v=m||!r.tagName?null:r;if(m||v){var g=t.pageYOffset;l.header&&!h&&(h=document.querySelector(l.header));var y,w,b,E,C,x,S,_,A=o(h),O=m?r:function(n,e,r,o){var a=0;if(n.offsetParent)for(;a+=n.offsetTop,n=n.offsetParent;);return a=Math.max(a-e-r,0),o&&(a=Math.min(a,i()-t.innerHeight)),a}(v,A,parseInt("function"==typeof l.offset?l.offset(r,c):l.offset,10),l.clip),T=O-g,L=i(),N=0,M=(y=T,b=(w=l).speedAsDuration?w.speed:Math.abs(y/1e3*w.speed),w.durationMax&&b>w.durationMax?w.durationMax:w.durationMin&&b<w.durationMin?w.durationMin:parseInt(b,10)),I=function(n){var e,i,o;E||(E=n),N+=n-E,x=g+T*(i=C=1<(C=0===M?0:N/M)?1:C,"easeInQuad"===(e=l).easing&&(o=i*i),"easeOutQuad"===e.easing&&(o=i*(2-i)),"easeInOutQuad"===e.easing&&(o=i<.5?2*i*i:(4-2*i)*i-1),"easeInCubic"===e.easing&&(o=i*i*i),"easeOutCubic"===e.easing&&(o=--i*i*i+1),"easeInOutCubic"===e.easing&&(o=i<.5?4*i*i*i:(i-1)*(2*i-2)*(2*i-2)+1),"easeInQuart"===e.easing&&(o=i*i*i*i),"easeOutQuart"===e.easing&&(o=1- --i*i*i*i),"easeInOutQuart"===e.easing&&(o=i<.5?8*i*i*i*i:1-8*--i*i*i*i),"easeInQuint"===e.easing&&(o=i*i*i*i*i),"easeOutQuint"===e.easing&&(o=1+--i*i*i*i*i),"easeInOutQuint"===e.easing&&(o=i<.5?16*i*i*i*i*i:1+16*--i*i*i*i*i),e.customEasing&&(o=e.customEasing(i)),o||i),t.scrollTo(0,Math.floor(x)),function(n,e){var i=t.pageYOffset;if(n==e||i==e||(g<e&&t.innerHeight+i)>=L)return p.cancelScroll(!0),a(r,e,m),u("scrollStop",l,r,c),!(d=E=null)}(x,O)||(d=t.requestAnimationFrame(I),E=n)};0===t.pageYOffset&&t.scrollTo(0,0),S=r,_=l,m||history.pushState&&_.updateURL&&history.pushState({smoothScroll:JSON.stringify(_),anchor:S.id},document.title,S===document.documentElement?"#top":"#"+S.id),"matchMedia"in t&&t.matchMedia("(prefers-reduced-motion)").matches?a(r,Math.floor(O),!1):(u("scrollStart",l,r,c),p.cancelScroll(!0),t.requestAnimationFrame(I))}}},m=function(n){if(!n.defaultPrevented&&!(0!==n.button||n.metaKey||n.ctrlKey||n.shiftKey)&&"closest"in n.target&&(l=n.target.closest(c))&&"a"===l.tagName.toLowerCase()&&!n.target.closest(f.ignore)&&l.hostname===t.location.hostname&&l.pathname===t.location.pathname&&/#/.test(l.href)){var e,i;try{e=r(decodeURIComponent(l.hash))}catch(n){e=r(l.hash)}if("#"===e){if(!f.topOnEmptyHash)return;i=document.documentElement}else i=document.querySelector(e);(i=i||"#top"!==e?i:document.documentElement)&&(n.preventDefault(),function(n){if(history.replaceState&&n.updateURL&&!history.state){var e=t.location.hash;e=e||"",history.replaceState({smoothScroll:JSON.stringify(n),anchor:e||t.pageYOffset},document.title,e||t.location.href)}}(f),p.animateScroll(i,l))}},v=function(t){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(f)){var n=history.state.anchor;"string"==typeof n&&n&&!(n=document.querySelector(r(history.state.anchor)))||p.animateScroll(n,null,{updateURL:!1})}};return p.destroy=function(){f&&(document.removeEventListener("click",m,!1),t.removeEventListener("popstate",v,!1),p.cancelScroll(),d=h=l=f=null)},function(){if(!("querySelector"in document&&"addEventListener"in t&&"requestAnimationFrame"in t&&"closest"in t.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";p.destroy(),f=e(n,s||{}),h=f.header?document.querySelector(f.header):null,document.addEventListener("click",m,!1),f.updateURL&&f.popstate&&t.addEventListener("popstate",v,!1)}(),p}}(i)}.apply(n,[]),void 0===r||(t.exports=r)}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r].call(o.exports,o,o.exports,e),o.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),(()=>{"use strict";var t=e(233),n=e.n(t),r=e(496),i=e.n(r);function o(t,n,e){var r,i=e||{},o=i.noTrailing,a=void 0!==o&&o,u=i.noLeading,c=void 0!==u&&u,s=i.debounceMode,f=void 0===s?void 0:s,l=!1,h=0;function d(){r&&clearTimeout(r)}function p(){for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var u=this,s=Date.now()-h;function p(){h=Date.now(),n.apply(u,i)}function m(){r=void 0}l||(c||!f||r||p(),d(),void 0===f&&s>t?c?(h=Date.now(),a||(r=setTimeout(f?m:p,t))):p():!0!==a&&(r=setTimeout(f?m:p,void 0===f?t-s:t)))}return p.cancel=function(t){var n=(t||{}).upcomingOnly,e=void 0!==n&&n;d(),l=!e},p}n()((function(){new(i())('.sozi-ui__menu-list a[href*="#"]');const t=n()("#mobile-button"),e=n()(".sozi-ui__menu-list-wrapper"),r=e.find(".sozi-ui__menu-list").first(),a="button--open",u=function(){e.css("max-height","0px"),t.removeClass(a)};t.on("click",(n=>{n.preventDefault(),"0px"!==e.css("max-height")?u():(e.css("max-height",r.outerHeight()+"px"),t.addClass(a))})),document.addEventListener("scrollStop",(()=>{u()}),!1);const c=n()('.sozi-ui__menu-list a[href*="#"]'),s=function(t){n()(".sozi-ui__menu-list a[href$='"+t+"']").first().addClass("sozi-ui__menu-item--current")};window.addEventListener("scroll",o(300,(function(){let t;window.pageYOffset>25?n()("body").addClass("has-scrolled"):n()("body").removeClass("has-scrolled"),c.each(((e,r)=>{const i=n()(r.hash).first();if(!i[0])return;const o=i[0].getBoundingClientRect().top+window.pageYOffset;let a;c[e+1]&&(a=n()(c[e+1].hash)),o-window.innerHeight/2<=window.pageYOffset+25&&(t=i)})),t&&(c.removeClass("sozi-ui__menu-item--current"),s(t[0].id))})),!1),window.location.hash.substr(1)?s(window.location.hash.substr(1)):s(n()('.sozi-ui__menu-list a[href*="#"]').first()[0].hash)}))})()})(); |