1"use strict";(self.webpackChunksage=self.webpackChunksage||[]).push([[143],{685:function(e,t,n){var o=n(575);n(138);var r=function(e){this.rootNode=e,this.triggerNodes=[],this.controlledNodes=[],this.openIndex=null,this.useArrowKeys=!0};r.prototype.init=function(){for(var e=this.rootNode.querySelectorAll("button.disclosure-nav-button[aria-expanded][aria-controls]"),t=0;t<e.length;t++){var n=e[t],o=n.parentNode.parentNode.querySelector("ul");o&&(this.triggerNodes.push(n),this.controlledNodes.push(o),n.setAttribute("aria-expanded","false"),o.addEventListener("keydown",this.handleMenuKeyDown.bind(this)),n.addEventListener("click",this.handleButtonClick.bind(this)),n.addEventListener("keydown",this.handleButtonKeyDown.bind(this)))}this.rootNode.addEventListener("focusout",this.handleBlur.bind(this))},r.prototype.toggleMenu=function(e,t){e&&(e.style.display=t?"block":"none")},r.prototype.toggleExpand=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.triggerNodes[e],r=!!o&&o.parentNode.parentNode.parentNode,s=!!r&&r.classList.value.includes("sub-menu");if(this.openIndex===e||s){if(this.openIndex===e&&s&&!t&&n){let e=r.parentNode.querySelector("button.disclosure-nav-button");this.openIndex=this.triggerNodes.indexOf(e),this.toggleExpand(this.openIndex,t)}}else this.toggleExpand(this.openIndex,!1);o&&(this.openIndex=t?e:null,o.setAttribute("aria-expanded",t),this.toggleMenu(this.controlledNodes[e],t))},r.prototype.controlFocusByKey=function(e,t,n){switch(e.key){case"ArrowUp":case"ArrowLeft":e.preventDefault(),n>-1&&t[Math.max(0,n-1)].focus();break;case"ArrowDown":case"ArrowRight":e.preventDefault(),n>-1&&t[Math.min(t.length-1,n+1)].focus();break;case"Home":e.preventDefault(),t[0].focus();break;case"End":e.preventDefault(),t[t.length-1].focus()}},r.prototype.handleBlur=function(e){this.rootNode.contains(e.relatedTarget)||null===this.openIndex||this.toggleExpand(this.openIndex,!1,
1!0)},r.prototype.handleButtonKeyDown=function(e){var t=this.triggerNodes.indexOf(document.activeElement);"Escape"===e.key?this.toggleExpand(this.openIndex,!1):this.useArrowKeys&&this.openIndex===t&&"ArrowDown"===e.key?(e.preventDefault(),this.controlledNodes[this.openIndex].querySelector("a").focus()):this.useArrowKeys&&this.controlFocusByKey(e,this.triggerNodes,t)},r.prototype.handleButtonClick=function(e){var t=e.target;"path"===t.nodeName||"polygon"===t.nodeName?t=e.target.parentNode.parentNode:"svg"!==t.nodeName&&"I"!==t.nodeName||(t=e.target.parentNode);var n=this.triggerNodes.indexOf(t),o="true"===t.getAttribute("aria-expanded");this.toggleExpand(n,!o)},r.prototype.handleMenuKeyDown=function(e){if(null!==this.openIndex){var t=Array.prototype.slice.call(this.controlledNodes[this.openIndex].querySelectorAll("a")),n=t.indexOf(document.activeElement);"Escape"===e.key?(this.triggerNodes[this.openIndex].focus(),this.toggleExpand(this.openIndex,!1)):this.useArrowKeys&&this.controlFocusByKey(e,t,n)}},r.prototype.updateKeyControls=function(e){this.useArrowKeys=e};var s=!1,i=[],d=[];function l(){var e;if(s)document.removeEventListener("scroll",l);else for(let t=0;t<d.length;t++){let n=d[t].getAttribute("data-id"),o=i.findIndex((e=>e.key===n));-1==o&&i.push({key:n,run:!1});let r="border-animate";r+="1"===n||"3"===n?"-backwards":"-forwards";const l="__"+n;void 0,(e=d[t].getBoundingClientRect()).top>=0&&e.left>=0&&e.right<=(window.innerWidth||document.documentElement.clientWidth)&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&!d[t].classList.contains(r)&&(d[t].classList.remove("to-animate"),d[t].classList.add(r,r+l),d[t].lastElementChild.classList.add(r,r+l),o=i.findIndex((e=>e.key===n)),i[o].run=!0),s=i.length==d.length&&i.every((e=>!0===e.run))}}var a=n(636),c=n(417),u=n(582),h=n(779),p=n(24);const g=async e=>{e&&console.error(e),function(){var e,t,n,o=document.querySelectorAll(".disclosure-nav"),s=[];t=(e=document.getElementById("hamburger-button")).getAttribute("aria-controls"),n=document.getElementById(t),e.addEventListener("click",(function(){e.classList.toggle("is-active");let t="true"===e.getAttribute("aria-expanded");e.setAttribute("aria-expanded",!t),t="true"===e.getAttribute("aria-expanded"),n&&(n.setAttribute("aria-expanded",t),n.classList.toggle("hidden"))}));for(var i=0;i<o.length;i++)s[i]=new r(o[i]),s[i].init()}(),(d=document.querySelectorAll("section.scroll-section.to-animate")).length>0&&document.addEventListener("scroll",l)};a.vI.add(c.FU$,c.gc2,c.wn1,c.j1w,c.eFW,u.diR,u.ck2,u.AkO,u.RQH,h.Y$T,h.YyO,u.OXK,p.neY,p.mdU,p.Zzi,p.opf,u.yOZ,u.EyR),a.vz.watch();let y=document.getElementById("topbutton");y.style.display="none";let f=document.querySelector("footer.content-info");y.addEventListener("click",(function(){document.body.scrollTop=0,document.documentElement.scrollTop=0})),window.onscroll=function(){document.body.scrollTop>800||document.documentElement.scrollTop>800?(y.style.display="flex",f.getBoundingClientRect().top<570?y.classList.add("for-footer"):y.classList.remove("for-footer")):y.style.display="none"},(0,o.Z)(g)},713:function(){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[575,72],(function(){return t(685),t(713)})),e.O()}]);
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.