1"use strict";(self.webpackChunktheme_boilerplate=self.webpackChunktheme_boilerplate||[]).push([[2177],{2177:function(t,e,r){r.r(e),r.d(e,{default:function(){return w}});var n=r(7294),o=r(7166);function i(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,o,i,u,c=[],l=!0,a=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){a=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(a)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.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)?u(t,e):void 0}}(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.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t){return c="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},c(t)}var l=["hash","observerRef","setCurrentTarget"];function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){var n,o,i,u;n=t,o=e,i=r[e],u=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==c(u)?u:String(u))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(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,o,i,u,c=[],l=!0,a=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){a=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(a)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.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)?y(t,e):void 0}}(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.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.hash,r=t.targetElement,n=t.scrollAmount,i=void 0===n?0:n,u=t.yOffset,c=void 0===u?0:u,l=t.additionalYOffset,a=void 0===l?0:l;if(r){var f=0;if("number"==typeof c)f=c;else if((0,o.mf)(c)){var s=c();"number"==typeof s&&(f=s)}a&&(f+=parseInt(a,10));var y=f<0?i+Math.abs(f):i-f;window.scroll({top:y,behavior:"smooth"}),e&&(window.location.hash=e)}},m=function(){window.scroll({top:document.body.scrollHeight,left:0,behavior:"smooth"})},v=function(t){var e=t.hash,r=t.observerRef,n=t.setCurrentTarget,i=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,l),u=function(t){var e=function(t){var e=s(t.split("?"),2)[1],r=Object.fromEntries(new URLSearchParams(e));return{target:r.target,yOffsetFromURLParams:r.yOffset}}(t),r=e.target,n=e.yOffsetFromURLParams;if(!r)return{targetElement:null,yOffsetFromURLParams:null};var o=function(t){var e;if(isNaN(t)||(e=document.querySelector('[data-content-id="'.concat(t,'"]'))))return e||(e=document.querySelector(".".concat(t))),e||(e=document.querySelector("#".concat(t))),e}(r);return o?{targetElement:o,yOffsetFromURLParams:n}:{targetElement:null,yOffsetFromURLParams:null}}(e),c=u.targetElement,a=u.yOffsetFromURLParams;if(c){var y=f(f({targetElement:c},a?{yOffset:parseInt(a,10)}:{}),{},{hash:e},i);"function"==typeof i.scrollToTriggered&&i.scrollToTriggered();var v=c.getBoundingClientRect().top;if(v+window.scrollY<window.scrollY-window.innerHeight)return y.scrollAmount=v+window.scrollY,b(y),void n(y);m();var p=(0,o.UZ)((function(t,e){m()}));p.observe(document.body,{childList:!0,subtree:!0}),r&&(r.current=p),n(y)}else window.location.href=e},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
1,e=s((0,n.useState)(null),2),r=e[0],u=e[1],c=(0,n.useRef)(null);(function(t){var e=t.target,r=t.options,u=void 0===r?{}:r,c=t.onIntersect,l=i((0,n.useState)(!1),2),a=l[0],f=l[1];(0,n.useEffect)((function(){if(e){var t=e;null!=e&&e.current&&(t=e.current);var r=new IntersectionObserver((function(t){var e=i(t,1)[0].isIntersecting;f(e),e&&(0,o.mf)(c)&&c()}),u);return r.observe(t),function(){r.disconnect()}}}),[e,u,c])})({target:null==r?void 0:r.targetElement,onIntersect:function(){if(c.current){c.current.disconnect(),c.current=null,window.scrollTo({top:window.scrollY,left:0,behavior:"auto"});var t=r.targetElement.getBoundingClientRect().top+window.scrollY;u(f(f({},r),{},{scrollAmount:t}))}null!=r&&r.scrollCorrectionFired&&("function"==typeof r.scrollToComplete&&r.scrollToComplete(),u(null))}}),(0,n.useEffect)((function(){var e=new AbortController;return document.querySelectorAll('[href*="#scroll-to"], [href*="#/scroll-to"]').forEach((function(r){r.addEventListener("click",(function(e){e.preventDefault();var r=e.currentTarget.getAttribute("href");r&&v(f({hash:r,observerRef:c,setCurrentTarget:u},t))}),{signal:e.signal})})),function(){e.abort()}}),[]),(0,n.useEffect)((function(){var e=setTimeout((function(){v(f({hash:window.location.hash,observerRef:c,setCurrentTarget:u},t))}),1e3);return c&&c.current&&(c.disconnectTimeout&&clearTimeout(c.disconnectTimeout),c.disconnectTimeout=setTimeout((function(){c.current&&(c.current.disconnect(),c.current=null)}),5e3)),function(){clearTimeout(e),c.current&&c.current.disconnect(),c.disconnectTimeout&&(clearTimeout(c.disconnectTimeout),c.disconnectTimeout=null)}}),[]),(0,n.useEffect)((function(){null==r||!r.scrollAmount||null!=r&&r.scrollCorrectionFired||(b(r),u(f(f({},r),{},{scrollCorrectionFired:!0})))}),[r])},d=r(2984);function h(t){return h="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},h(t)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){var n,o,i,u;n=t,o=e,i=r[e],u=function(t,e){if("object"!=h(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o),(o="symbol"==h(u)?u:String(u))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var w=function(t){var e=(0,d.Z)().screenWidth,r=70;return e>=1024&&(r=80),e>=1280&&(r=90),p(O(O({},t),{},{additionalYOffset:r})),null}},2984:function(t,e,r){var n=r(7294);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=function(){var t=window;return{screenWidth:t.innerWidth,screenHeight:t.innerHeight}};e.Z=function(){var t,e,r=(t=(0,n.useState)(i()),e=2,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,o,i,u,c=[],l=!0,a=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);l=!0);}catch(t){a=!0,o=t}finally{try{if(!l&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(a)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.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)?o(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.")}()),u=r[0],c=r[1];return(0,n.useEffect)((function(){function t(){c(i())}return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}}),[]),u}}}]);
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.