1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[2701,6471],{78852:(t,e,i)=>{i.r(e),i.d(e,{callByUserAction:()=>l,createTitleChanger:()=>c,toggleMainHeadOnScroll:()=>s});var r=i(80951),n=i(42701),o=i(41695),s=t=>{var e=(0,r.XF)(t);if(e){var i=((0,o.Fr)()?e.getBoundingClientRect().bottom:e.getBoundingClientRect().top)+window.scrollY;new n.default(e,{top:i,toggleClass:"is-sticky",callByInit:!0})}},l=t=>{var e=["click","mousemove","keydown","scroll","resize"],i={timeoutId:null},r=()=>{t(),e.forEach((t=>document.removeEventListener(t,n)))},n=()=>{clearTimeout(i.timeoutId),r()};i.timeoutId=setTimeout((()=>r()),3e3),e.forEach((t=>document.addEventListener(t,n)))},c=t=>{var e=(0,r.XF)(t);return{changeTitle:t=>{e.textContent=t}}}},42701:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var r=i(78857),n=i(80951);function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){l(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function l(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class c extends r.A{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.element=(0,n.XF)(t),this._options=s({top:0,bottom:0,toggleClass:"is-fixed",callOnInit:!1,resetAt:null},e),this._options.callOnInit&&this._scrollListener(),window.addEventListener("scroll",this._scrollListener.bind(this),{passive:!0})}_scrollListener(){this._getFixed()?this._setSticky():this._unsetSticky()}_setSticky(){this.element.classList.add(this._options.toggleClass),this.emit("set-sticky")}_unsetSticky(){this.element.classList.remove(this._options.toggleClass),this.emit("unset-sticky")}_getFixed(){var t=document.documentElement.scrollTop||0,{top:e,bottom:i,resetAt:r}=this._options;return i?t>e&&t<i:null!==r&&t<=e?t>r&&this.element.classList.contains(this._options.toggleClass):t>e}updateOptions(t){this._options=s(s({},this._options),t)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.