PageSourceSearch

https://www.slidesai.io/_next/static/chunks/2964.f64fe4f328832bc0.js

js slidesai.io collected 2026-10-01 10:14:50 UTC 11,386 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2964],{82964:function(e,t,n){let l,o,r,i,s;n.r(t),n.d(t,{default:function(){return g},destroy:function(){return d},init:function(){return u},refresh:function(){return f}});var a={tocSelector:".js-toc",tocElement:null,contentSelector:".js-toc-content",contentElement:null,headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,enableUrlHashUpdateOnScroll:!1,scrollHandlerType:"auto",scrollHandlerTimeout:50,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollingWrapper:null,tocScrollOffset:30,bottomModeThreshold:30};let c={};function u(e){let t=!1;(c=function(...e){let t={};for(let n=0;n<e.length;n++){let l=e[n];for(let e in l)h.call(l,e)&&(t[e]=l[e])}return t}(a,e||{})).scrollSmooth&&(c.duration=c.scrollSmoothDuration,c.offset=c.scrollSmoothOffset,function(e){var t=e.duration,n=e.offset;if("undefined"!=typeof window&&"undefined"!=typeof location){var l=location.hash?o(location.href):location.href;document.body.addEventListener("click",function(r){var i,s,a,c,u,d,f,h,m;!(!("a"===(i=r.target).tagName.toLowerCase()&&(i.hash.length>0||"#"===i.href.charAt(i.href.length-1))&&(o(i.href)===l||o(i.href)+"#"===l))||r.target.className.indexOf("no-smooth-scroll")>-1)&&("#"!==r.target.href.charAt(r.target.href.length-2)||"!"!==r.target.href.charAt(r.target.href.length-1))&&-1!==r.target.className.indexOf(e.linkClass)&&(s=r.target.hash,a={duration:t,offset:n,callback:function(){var e,t;e=r.target.hash,(t=document.getElementById(e.substring(1)))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}},u=window.pageYOffset,d={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||function(e,t,n,l){return(e/=l/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}},f=document.querySelector('[id="'+decodeURI(s).split("#").join("")+'"]')||document.querySelector('[id="'+s.split("#").join("")+'"]'),h="string"==typeof s?d.offset+(s?f&&f.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):s,m="function"==typeof d.duration?d.duration(h):d.duration,requestAnimationFrame(function(e){(function t(n){c=n-e,window.scrollTo(0,d.easing(c,u,h,m)),c<m?requestAnimationFrame(t):(window.scrollTo(0,u+h),"function"==typeof d.callback&&d.callback())})(e)}))},!1)}function o(e){return e.slice(0,e.lastIndexOf("#"))}}(c)),l=function(e){let t;let n=[].forEach,l=[].some,o="undefined"!=typeof window&&document.body,r=!0,i=0;function s(t){let n=e.orderedList?"ol":"ul",l=document.createElement(n),o=e.listClass+" "+e.extraListClasses;return t&&(o=(o=o+" "+e.collapsibleClass)+" "+e.isCollapsedClass),l.setAttribute("class",o),l}function a(e,t){return e&&e.className!==t&&(e.className=t),e}function c(t){let n=d();return(document?.getElementById(t)).offsetTop>n.offsetHeight-1.4*n.clientHeight-e.bottomModeThreshold}function u(){let t=d(),n=t.scrollHeight>t.clientHeight,l=f()+t.clientHeight>t.offsetHeight-e.bottomModeThreshold;return n&&l}function d(){return e.scrollContainer&&document.querySelector(e.scrollC
1ontainer)?document.querySelector(e.scrollContainer):document.documentElement||o}function f(){let e=d();return e?.scrollTop||0}function h(t,n=f()){let o;return l.call(t,(l,r)=>(function t(n){let l=0;return null!==n&&(l=n.offsetTop,e.hasInnerContainers&&(l+=t(n.offsetParent))),l})(l)>n+e.headingsOffset+10?(o=t[0===r?r:r-1],!0):r===t.length-1?(o=t[t.length-1],!0):void 0),o}return{enableTocAnimation:function(){r=!0},disableTocAnimation:function(t){let n=t.target||t.srcElement;"string"==typeof n.className&&-1!==n.className.indexOf(e.linkClass)&&(r=!1)},render:function(l,o){let r=s(!1);return(o.forEach(t=>{!function t(l,o){let r=o.appendChild(function(t){let l=document.createElement("li"),o=document.createElement("a");return e.listItemClass&&l.setAttribute("class",e.listItemClass),e.onClick&&(o.onclick=e.onClick),e.includeTitleTags&&o.setAttribute("title",t.textContent),e.includeHtml&&t.childNodes.length?n.call(t.childNodes,e=>{o.appendChild(e.cloneNode(!0))}):o.textContent=t.textContent,o.setAttribute("href",`${e.basePath}#${t.id}`),o.setAttribute("class",`${e.linkClass+" "}node-name--${t.nodeName} ${e.extraLinkClasses}`),l.appendChild(o),l}(l));if(l.children.length){let e=s(l.isCollapsed);l.children.forEach(n=>{t(n,e)}),r.appendChild(e)}}(t,r)}),null===(t=l||t))?void 0:(t.firstChild&&t.removeChild(t.firstChild),0===o.length)?t:t.appendChild(r)},updateToc:function(l,o){e.positionFixedSelector&&function(){let n=f(),l=document.querySelector(e.positionFixedSelector);"auto"===e.fixedSidebarOffset&&(e.fixedSidebarOffset=t.offsetTop),n>e.fixedSidebarOffset?-1===l.className.indexOf(e.positionFixedClass)&&(l.className+=" "+e.positionFixedClass):l.className=l.className.replace(" "+e.positionFixedClass,"")}();let s=o?.target?.getAttribute?o?.target?.getAttribute("href"):null,d=!!s&&"#"===s.charAt(0)&&c(s.replace("#","")),m=r||d;if(o&&i<5&&i++,m&&t&&l.length>0){let o=h(l),r=t.querySelector(`.${e.activeLinkClass}`),f=o.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1"),m=window.location.hash.replace("#",""),p=f,C=u();s&&d?p=s.replace("#",""):m&&m!==f&&C&&(c(f)||i<=2)&&(p=m);let g=t.querySelector(`.${e.linkClass}[href="${e.basePath}#${p}"]`);if(r===g)return;let S=t.querySelectorAll(`.${e.linkClass}`);n.call(S,t=>{a(t,t.className.replace(" "+e.activeLinkClass,""))});let b=t.querySelectorAll(`.${e.listItemClass}`);n.call(b,t=>{a(t,t.className.replace(" "+e.activeListItemClass,""))}),g&&-1===g.className.indexOf(e.activeLinkClass)&&(g.className+=" "+e.activeLinkClass);let y=g?.parentNode;y&&-1===y.className.indexOf(e.activeListItemClass)&&(y.className+=" "+e.activeListItemClass);let T=t.querySelectorAll(`.${e.listClass}.${e.collapsibleClass}`);n.call(T,t=>{-1===t.className.indexOf(e.isCollapsedClass)&&(t.className+=" "+e.isCollapsedClass)}),g?.nextSibling&&-1!==g.nextSibling.className.indexOf(e.isCollapsedClass)&&a(g.nextSibling,g.nextSibling.className.replace(" "+e.isCollapsedClass,"")),function t(n){return n&&-1!==n.className.indexOf(e.collapsibleClass)&&-1!==n.className.indexOf(e.isCollapsedClass)?(a(n,n.className.replace(" "+e.isCollapsedClass,"")),t(n.parentNode.parentNode)):n}(g?.parentNode.parentNode)}},getCurrentlyHighlighting:function(){return r},getTopHeader:h,getScrollTop:f,updateUrlHashForHeader:function(e){let t=f(),n=h(e,t),l=u();if(n&&!(t<5)||l){if(n&&!l){let e=`#${n.id}`;window.location.hash!==e&&window.history.pushState(null,null,e)}}else"#"===window.location.hash||""===window.location.hash||window.history.pushState(null,null,"#")}}}(c),o=function(e){let t=[].reduce;function n(e){return e[e.length-1]}function l(t){if(!function(e){try{return e instanceof window.HTMLElement||e instanceof window.parent.HTMLElement}catch(t){return e instanceof window.HTMLElement}}(t))return t;if(e.ignoreHiddenElements&&(!t.offsetHeight||!t.offsetParent))return null;let n=t.getAttribute("data-heading-label")||(e.headingLabelCallback?String(e.headingLabelCallback(t.innerText)):(t.innerText||t.textContent).trim()),l={id:t.id,children:[],nodeName:t.nodeName,headingLevel:+t.nodeName.toUpperCase().replace("H",""),textContent:n};return(e.includeHtml&&(l.childNodes=t.childNodes),e.headingObjectCallback)?e.headingObjectCallback(l,t):l}return{nestHeadingsArray:function(o){return t.call(o,function(t,o){let r=l(o);return r&&function(t,o){let r=l(t),i=r.headingLevel,s=o,a=n(s),c=i-(a?a.headingLevel:0);for(;c>0&&(!(a=n(s))||i!==a.headingLevel);)a&&void 0!==a.children&&(s=a.children),c--;i>=e.collapseDepth&&(r.isCollapsed=!0),s.push(r)}(r,t.nest),t},{nest:[]})},selectHeadings:function(t,n){let l=n;e.ignoreSelector&&(l=n.split(",").map(function(t){return`${t.trim()}:not(${e.ignoreSelector})`}));try{return t.querySelectorAll(l)}catch(e){return console.warn(`Headers not found with selector: ${l}`),null}}}}(c),d();let n=function(e){try{return e.contentElement||document.querySelector(e.contentSelector)}catch(t){return console.warn(`Contents element not found: ${e.contentSelector}`),null}}(c);if(null===n)return;let u=C(c);if(null===u||null===(r=o.selectHeadings(n,c.headingSelector)))return;let f=o.nestHeadingsArray(r).nest;if(c.skipRendering)return this;l.render(u,f);let g=!1;i=function(e,t,n="auto"){switch(n){case"debounce":return p(e,t);case"throttle":return m(e,t);default:return t<334?p(e,t):m(e,t)}}(e=>{l.updateToc(r,e),c.disableTocScrollSync||g||function(e){let t=e.tocScrollingWrapper||e.tocElement||document.querySelector(e.tocSelector);if(t&&t.scrollHeight>t.clientHeight){let n=t.querySelector(`.${e.activeListItemClass}`);
1if(n){let l=n.offsetTop-e.tocScrollOffset;t.scrollTop=l>0?l:0}}}(c),c.enableUrlHashUpdateOnScroll&&t&&l.getCurrentlyHighlighting()&&l.updateUrlHashForHeader(r);let n=e?.target?.scrollingElement?.scrollTop===0;(e&&(0===e.eventPhase||null===e.currentTarget)||n)&&(l.updateToc(r),c.scrollEndCallback?.(e))},c.scrollHandlerTimeout||c.throttleTimeout,c.scrollHandlerType),t||(i(),t=!0),window.onhashchange=window.onscrollend=e=>{i(e)},c.scrollContainer&&document.querySelector(c.scrollContainer)?(document.querySelector(c.scrollContainer).addEventListener("scroll",i,!1),document.querySelector(c.scrollContainer).addEventListener("resize",i,!1)):(document.addEventListener("scroll",i,!1),document.addEventListener("resize",i,!1));let S=null;s=m(e=>{g=!0,c.scrollSmooth&&l.disableTocAnimation(e),l.updateToc(r,e),S&&clearTimeout(S),S=setTimeout(()=>{l.enableTocAnimation()},c.scrollSmoothDuration),setTimeout(()=>{g=!1},c.scrollSmoothDuration+100)},c.throttleTimeout),c.scrollContainer&&document.querySelector(c.scrollContainer)?document.querySelector(c.scrollContainer).addEventListener("click",s,!1):document.addEventListener("click",s,!1)}function d(){let e=C(c);null!==e&&(!c.skipRendering&&e&&(e.innerHTML=""),c.scrollContainer&&document.querySelector(c.scrollContainer)?(document.querySelector(c.scrollContainer).removeEventListener("scroll",i,!1),document.querySelector(c.scrollContainer).removeEventListener("resize",i,!1),l&&document.querySelector(c.scrollContainer).removeEventListener("click",s,!1)):(document.removeEventListener("scroll",i,!1),document.removeEventListener("resize",i,!1),l&&document.removeEventListener("click",s,!1)))}function f(e){d(),u(e||c)}let h=Object.prototype.hasOwnProperty;function m(e,t,n){let l,o;return t||(t=250),function(...r){let i=n||this,s=+new Date;l&&s<l+t?(clearTimeout(o),o=setTimeout(()=>{l=s,e.apply(i,r)}
1,t)):(l=s,e.apply(i,r))}}function p(e,t){let n;return(...l)=>{clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}}function C(e){try{return e.tocElement||document.querySelector(e.tocSelector)}catch(t){return console.warn(`TOC element not found: ${e.tocSelector}`),null}}var g={destroy:d,init:u,refresh:f}}}]);

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.