1"use strict";(self.webpackChunkmnsn=self.webpackChunkmnsn||[]).push([[2683],{32620:function(t,e,r){r.r(e),r.d(e,{default:function(){return p}});var n=r(91076),i=r(8207),o=r(6554),s=r(43047);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l(n.key),n)}}function l(t){var e=function(t){if("object"!=a(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(y=function(){return!!t})()}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(l,t);var e,r,n=function(t){var e=y();return function(){var r,n=h(t);if(e){var i=h(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,r)}}(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),n.apply(this,arguments)}return e=l,(r=[{key:"initCache",value:function(){this.delay=0,this.selectors.header=document.querySelector(s.HEADER_SELECTOR),this.selectors.stickyHeader=this.selectors.header.querySelector(s.HEADER_MAIN_SELECTOR)}},{key:"initState",value:function(){this.observer=new IntersectionObserver(this.setSticky.bind(this),{threshold:1,rootMargin:o.B.is("small only")?"-15px 0px 0px 0px":"0px"})}},{key:"setData",value:function(){this.offsetTop=this.element.getBoundingClientRect().top,this.stickyHeaderSize=this.getElementHeight(this.selectors.stickyHeader)+"px"}},{key:"bindEvents",value:function(){i.J.on("page.scrollTop",this.update,this),i.J.on("body:loaded",this.setData,this),i.J.on("description:changed",this.setData,this),this.observer.observe(this.element.parentElement)}},{key:"afterInit",value:function(){this.setData()}},{key:"update",value:function(t){var e=t.isScrolledTop;if(t.isPageLocked)return!1;var r=o.B.is("medium down")||o.B.is("large")&&e,n=o.B.is("large")&&!e&&this.isSticky,s=!this.options.isStickyBottomMobile||o.B.is("medium");r&&i.J.emit("stickyBarState.changed",e),n&&i.J.emit("stickyBarState.changed",!1),s&&(this.element.style.top=e?this.stickyHeaderSize:0),this.setData()}},{key:"setSticky",value:function(t){if(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}
1(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,1)[0],r=e.isIntersecting,n=e.boundingClientRect;this.isSticky=!r&&n.top<this.getElementHeight(this.selectors.stickyHeader),this.element.classList.toggle(s.STICKY,this.isSticky),i.J.emit("hasStickyBar",this.isSticky)}}},{key:"destroy",value:function(){i.J.off("page.scrollTop",this.update),i.J.off("body:loaded",this.setData),i.J.off("description:changed",this.setData)}}])&&u(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),l}(n.A)}}]);
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.