1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4346,2964],{81375:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides/[slug]",function(){return l(50711)}])},48471:function(e,t,l){"use strict";l.d(t,{W:function(){return s}});var n=l(43577),r=l(37483);function s({className:e="",...t}){return(0,n.jsx)("div",{className:(0,r.Z)("mx-auto max-w-8xl px-4 sm:px-6 lg:px-8",e),...t})}},54667:function(e,t,l){"use strict";l.d(t,{Z:function(){return g}});var n=l(43577),r=l(37483),s=l(74034),i=l.n(s),o=l(6381),a=l.n(o),c=l(89435),d=l(67875),u=l(65833),m=l(88149),h=l(17290),f=l(57242);function g(e){let{post:t,isFeatured:l,subDirectory:s,headingLevel:o=2,showCategories:g=!0}=e,{globalLocale:p}=(0,c.mr)(),x=t.featuredImage?.node?.sourceUrl||d.XA,b=(t.excerpt??"").replaceAll(/<SlidesAICTA\d+\s?\/>|<SlidesAICTA\d+\s?\/>/g,""),y=(0,f.useRef)(null),w=(0,f.useMemo)(()=>{try{let e=b.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");return(0,h.ZP)(e)}catch(e){return console.error("Error parsing HTML:",e),b}},[b]);return(0,f.useEffect)(()=>{y.current&&(y.current.style.visibility="hidden",y.current.style.visibility="visible",y.current.querySelectorAll("p").forEach(e=>{e.style.margin="0",e.style.padding="0",e.style.setProperty("-webkit-line-clamp","3")}))},[w]),(0,n.jsxs)("div",{children:[(0,n.jsx)(a(),{href:`/${s}/${t.slug}`,locale:!d.SC.includes(s)&&p,children:(0,n.jsxs)("article",{className:(0,r.Z)("group flex flex-col items-start justify-between",l&&"sm:gap-6 md:flex-row"),children:[(0,n.jsxs)("div",{className:(0,r.Z)("relative w-full",l&&"md:w-5/12"),children:[(0,n.jsx)(i(),{width:1e3,height:567,src:x,alt:t.title,className:(0,r.Z)("w-full rounded-2xl bg-white object-contain",!l&&"aspect-[1000/567]")}),(0,n.jsx)("div",{className:"absolute left-0 top-0 z-10 h-full w-full rounded-2xl bg-black/0 transition-colors duration-300 group-hover:bg-black/40"})]}),(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("div",{className:(0,r.Z)("mt-8 flex items-center gap-x-4 text-xs",l&&"md:mt-2"),children:(0,n.jsx)("time",{dateTime:t.date,className:"text-gray-500",children:(0,u.L0)(t.date)})}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)(3===o?"h3":"h2",{className:(0,r.Z)("text-lg font-semibold leading-6 text-gray-900 transition-colors duration-300 group-hover:text-gray-600",!l&&"mt-3 "),children:[(0,n.jsx)("span",{className:"absolute inset-0"}),t.title]}),(0,n.jsx)("div",{ref:y,className:"prose mt-5 line-clamp-3 text-sm leading-6 text-gray-600",style:{minHeight:"3em",visibility:"visible",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:"3",WebkitBoxOrient:"vertical"},children:w})]})]})]})}),"blog"===s&&g?(t.categories?.nodes?.length??0)>0&&(0,n.jsx)("div",{className:"mt-4 flex flex-wrap gap-4",children:t.categories.nodes.map(e=>(0,n.jsx)(m.Z,{tag:e},e.id??e.slug??e.name))}):null]})}},57794:function(e,t,l){"use strict";var n=l(43577),r=l(6381),s=l.n(r),i=l(57242),o=l(16975);t.Z=e=>{let{linkPath:t}=e;return(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-6 text-gray-400",children:t.map((e,t)=>(0,n.jsxs)(i.Fragment,{children:[0!==t&&(0,n.jsx)(o.Z,{className:"h-4 w-4"}),e.noLink?(0,n.jsx)("p",{className:"text-sm font-semibold text-gray-500",children:e.el}):(0,n.jsx)(s(),{href:e.href,"aria-label":e.ariaLabel,children:(0,n.jsx)("p",{className:"text-sm font-semibold text-gray-500 transition-colors duration-300 hover:text-gray-700",children:e.el})})]},e.href))})}},83630:function(e,t,l){"use strict";var n=l(43577);t.Z=e=>{let{question:t,answer:l}=e;return(0,n.jsxs)("div",{className:"pt-6",itemProp:"mainEntity",itemScope:!0,itemType:"https://schema.org/Question",children:[(0,n.jsx)("dt",{children:(0,n.jsx)("span",{className:"text-sm font-semibold leading-7",itemProp:"name",children:t})}),(0,n.jsx)("p",{className:"text-sm leading-7 text-gray-600",itemProp:"acceptedAnswer",itemScope:!0,itemType:"https://schema.org/Answer",children:(0,n.jsx)("span",{itemProp:"text",children:l})})]})}},9002:function(e,t,l){"use strict";l.d(t,{Z:function(){return a}});var n=l(43577),r=l(57242),s=l(10421),i=l.n(s),o=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})})},a=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=i()(()=>{t(window.scrollY>100)},500);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,n.jsx)(n.Fragment,{children:e&&(0,n.jsx)("button",{className:"fixed bottom-28 right-8 flex h-12 w-12 items-center justify-center rounded-full border-2 border-solid border-black shadow-sm hover:border-blue-500 focus:outline-none focus:ring",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,n.jsx)(o,{className:"h-6 w-6 text-gray-600 hover:text-blue-500"})})})}},2557:function(e,t,l){"use strict";var n=l(43577),r=l(10715),s=l(67875),i=l(57242),o=l(63030),a=l.n(o);t.Z=e=>{let[t,l]=(0,i.useState)(!1),{blogUrl:o,className:c}=e;return(0,n.jsxs)("div",{className:a()("flex gap-2",c),children:[(0,n.jsxs)("button",{className:"flex h-9 flex-row items-center gap-1 rounded-full border p-2",onClick:()=>l(!t),children:[(0,n.jsx)(r.Z,{className:"h-full text-gray-700"})," ",(0,n.jsx)("span",{className:"text-gray-700",children:"Share"})]}),(0,n.jsx)("div",{className:a()("flex items-center gap-4 overflow-hidden transition-all duration-100",t?"max-w-[500px] translate-x-0":"max-w-0 translate-x-[-20px]"),children:s.l5.map(e=>(0,n.jsx)("a",{href:`${e.href}${o}`,className:"rounded-full bg-gray-100 p-2 shadow-sm transition-all duration-300 hover:bg-gray-300 hover:shadow-lg",target:"_blank",rel:"noreferrer","aria-label":e.label,children:e.el},e.href))})]})}},88149:function(e,t,l){"use strict";var n=l(43577),r=l(6381),s=l.n(r),i=l(10759),o=l.n(i);t.Z=e=>{let{tag:t}=e;return(0,n.jsx)(s(),{href:`/blog/category/${t.slug??""}`,children:(0,n.jsx)("span",{className:"rounded-full border border-slate-200 bg-white px-3 py-1 text-xs font-semibold text-blue-800 transition-colors duration-300 hover:bg-blue-500 hover:text-white ",children:o()(t.name??"")})})}},37462:function(e,t,l){"use strict";var n=l(57242);t.Z=()=>
1{let[e,t]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=null,l=()=>{null===e&&(e=requestAnimationFrame(()=>{e=null;let l=document.documentElement.scrollHeight-document.documentElement.clientHeight;t(window.scrollY/l*100)}))};return window.addEventListener("scroll",l,{passive:!0}),()=>{window.removeEventListener("scroll",l),null!==e&&cancelAnimationFrame(e)}},[]),{scrollPercentage:e}}},42331:function(e,t,l){"use strict";l.d(t,{L0:function(){return a},g7:function(){return s}});var n=l(43577),r=l(17290);l(52548);let s=e=>{if(e instanceof r.W_&&"div"===e.tagName&&e.attribs.class&&e.attribs.class.includes("related-posts"))return(0,n.jsx)(n.Fragment,{})},i=e=>!!e&&"object"==typeof e&&!!("ItemList"===e["@type"]&&Array.isArray(e.itemListElement))&&e.itemListElement.some(e=>!!e&&"object"==typeof e&&"ListItem"===e["@type"]&&null==e.item&&null==e.url),o=e=>{if(e instanceof r.W_&&"script"===e.tagName&&e.attribs?.type==="application/ld+json"){let t;let l=(e.children??[]).map(e=>"text"===e.type?e.data??"":"").join("");try{t=JSON.stringify(JSON.parse(l.replace(/[\u0000-\u001F]/g," ")))}catch{return(0,n.jsx)(n.Fragment,{})}let r=JSON.parse(t);if(i(r))return(0,n.jsx)(n.Fragment,{});if(r&&"object"==typeof r&&Array.isArray(r["@graph"])){let e=r["@graph"].filter(e=>!i(e));if(0===e.length)return(0,n.jsx)(n.Fragment,{});e.length!==r["@graph"].length&&(r["@graph"]=e,t=JSON.stringify(r))}return t=t.replace(/</g,"\\u003c"),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:t}})}},a=e=>{let t=s(e);return void 0!==t?t:o(e)}},65833:function(e,t,l){"use strict";l.d(t,{K0:function(){return n},L0:function(){return r},Wp:function(){return s}});let n=e=>{let t=new Date(e),l=t.getHours(),n=t.getMinutes(),r=l>=12?"PM":"AM";return l>12?l-=12:0===l&&(l=12),`${t.toLocaleDateString(void 0,{year:"numeric",month:"long",day:"numeric"})}, ${l}:${n} ${r}`},r=e=>new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),s=e=>e?.charAt(0).toUpperCase()+e?.slice(1)},52548:function(e,t,l){"use strict";l.d(t,{Q$:function(){return n}});let n=["en","it","es","fr","ja","pt","de","ar","zh","ru","id","ko","cs","vi","tr","sv","pl","el","nl","et","ro","sl"];["/blog/*","/guides/*","/templates/*","/template/*","/emails-used","/checkout-success","/404","pricing/teams/checkout-success","pricing/teams/invite/*"].reduce((e,t)=>e.concat(n.map(e=>`/${e}${t}`)),[])},50711:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return L}});var n=l(43577),r=l(76473),s=l(5724),i=l(33326),o=l.n(i),a=l(74034),c=l.n(a),d=l(57242),u=l(93459),m=l(82964),h=l(48471),f=l(96818),g=l(71935),p=l(40249),x=l(54667),b=l(57794),y=l(83630),w=l(9002),v=l(2557),C=l(37462),j=l(67875),S=l(65833),N=l(17290),k=l(42331),L=!0;t.default=e=>{let{post:t,postSlug:l,locale:i,locales:a}=e,{t:L}=(0,s.Z)("common"),E=L("guidePageTitle",null,{default:"Learn how to use SlidesAI with our guides"}),{scrollPercentage:T}=(0,C.Z)(),A=(0,d.useRef)(null),$=t.featuredImage?.node?.sourceUrl,H=e=>{let t=`#${e.target.closest("h1, h2, h3").id}`,l=window.location.origin+window.location.pathname+t;navigator.clipboard.writeText(l).then(()=>{u.Am.success("Link Copied to your clipboard")}).catch(()=>{u.Am.error("Something went wrong",{icon:"â¹ï¸"})})},q=$||j.XA,O=[...j.Hj,{href:`/guides/${l}`,el:t.title}],I=`${j.Hf}/guides/${l}`,Z=(0,d.useCallback)(e=>{A.current.querySelectorAll("h1, h2, h3").forEach(t=>{t.id||(t.id=t.textContent.toLowerCase().replace(/\s/g,"-"),t.classList.add("heading-link"));let l=t.querySelector("button");if(e&&!l){let l=document.createElement("button");l.innerHTML=e,l.addEventListener("click",H),t.insertAdjacentElement("afterbegin",l)}}),requestAnimationFrame(()=>{let e=document.querySelector("header"),t=e?.clientHeight??80;m.default.init({tocSelector:"#toc",contentSelector:".prose",headingSelector:"h1, h2, h3",hasInnerContainers:!0,headingsOffset:t+30,scrollSmoothOffset:-(t+30)})})},[]);return(0,d.useEffect)(()=>{let e=null,t=!1,l=new IntersectionObserver(l=>{l.forEach(l=>{let n=l.target.getAttribute("id"),r=document.querySelector(`a[href="#${n}"]`);l.isIntersecting&&(e&&e.setAttribute("style","font-weight:normal"),r?.setAttribute("style","font-weight:bold"),e=r,t=!0)}),!t&&e?e.setAttribute("style","font-weight:bold"):t=!1},{root:null,rootMargin:"0px",threshold:1});
1return document.querySelectorAll("h1, h2, h3").forEach(e=>{l.observe(e)}),()=>{l.disconnect()}},[]),(0,d.useEffect)(()=>{A.current&&fetch("/link.svg").then(e=>e.text()).then(e=>{Z(e)}).catch(e=>{console.error(e),Z()})},[A,Z]),(0,d.useEffect)(()=>{document.querySelectorAll("p").forEach(e=>{let t=e.querySelector("a");t&&(t.setAttribute("target","_blank"),t.setAttribute("rel","noopener noreferrer"))})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.x7,{position:"top-right"}),(0,n.jsxs)(o(),{children:[a.map(e=>(0,n.jsx)("link",{rel:"alternate",hrefLang:"en"===e?"x-default":e,href:"en"===e?`https://www.slidesai.io/guides/${l}`:`https://www.slidesai.io/${e}/guides/${l}`},e)),(0,n.jsx)("link",{rel:"alternate",hrefLang:"en",href:`https://www.slidesai.io/guides/${l}`})]}),(0,n.jsx)(r.PB,{title:t.seo?.title||t.title,description:`${t.seo.metaDesc}`,openGraph:{title:`${t.seo?.title||t.title} | ${E}`,description:`${t.seo.metaDesc}`,url:I,images:[{url:q,alt:t.title}]}}),(0,n.jsx)(p.h,{showProgressBar:!0,progressPercentage:T}),(0,n.jsxs)(h.W,{className:"space-y-12 pb-10 pt-28",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row md:items-end",children:[(0,n.jsxs)("div",{className:"flex flex-1 flex-col gap-10",children:[(0,n.jsx)(b.Z,{linkPath:O}),(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)("h1",{className:"text-3xl font-bold",children:t.title}),(0,n.jsx)("div",{className:"flex max-w-lg flex-wrap items-center gap-4",children:(0,n.jsx)("time",{dateTime:t.date,className:"font-semibold text-gray-600",children:(0,S.L0)(t.date)})})]})]}),(0,n.jsx)(v.Z,{blogUrl:I})]}),(0,n.jsx)(c(),{width:500,height:200,src:q,alt:t.title,className:"aspect-[16/9] w-full rounded-lg object-cover shadow-xl"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 items-baseline gap-12 lg:grid-cols-12 lg:gap-24",children:[(0,n.jsxs)("div",{className:"relative max-h-[30rem] overflow-y-auto lg:sticky lg:top-28 lg:col-span-3",children:[(0,n.jsx)("h3",{className:"mb-6 font-semibold",children:"Table of Contents"}),(0,n.jsx)("div",{id:"toc",className:"font-medium text-gray-700 [&>ol]:space-y-3"})]}),(0,n.jsxs)("div",{className:"lg:col-span-9",children:[(0,n.jsx)("article",{className:"prose max-w-full prose-a:text-blue-600 prose-blockquote:border-l-primary-600",ref:A,children:(0,N.ZP)(t.content,{replace:k.g7})}),t.faqs?.nodes?.length>0&&(0,n.jsxs)("div",{className:"mt-10",children:[(0,n.jsx)("h2",{className:"mb-6 text-lg font-semibold",children:"Frequently Asked Questions"}),(0,n.jsx)("dl",{className:"space-y-6 divide-y divide-gray-900/10",itemScope:!0,itemType:"https://schema.org/FAQPage",children:t.faqs?.nodes?.map(e=>n.jsx(y.Z,{question:e.question,answer:e.answer},e.id))})]})]})]}),(0,n.jsx)("div",{className:"mt-10 flex justify-end",children:(0,n.jsx)(v.Z,{blogUrl:I})}),t.relatedPost?.nodes?.length>0&&(0,n.jsxs)("div",{className:"mt-28",children:[(0,n.jsx)("h2",{className:"mb-6 font-semibold",children:"Related Blogs"}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-12 lg:grid-cols-3",children:t.relatedPost?.nodes?.map(e=>n.jsx(x.Z,{post:e},e.id))})]})]})]}),(0,n.jsx)(f.Z,{}),(0,n.jsx)(w.Z,{}),(0,n.jsx)(g.$,{})]})}},82964:function(e,t,l){"use strict";let n,r,s,i,o;l.r(t),l.d(t,{default:function(){return x},destroy:function(){return u},init:function(){return d},refresh:function(){return m}});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 d(e){let t=!1;(c=function(...e){let t={};for(let l=0;l<e.length;l++){let n=e[l];for(let e in n)h.call(n,e)&&(t[e]=n[e])}return t}(a,e||{})).scrollSmooth&&(c.duration=c.scrollSmoothDuration,c.offset=c.scrollSmoothOffset,function(e){var t=e.duration,l=e.offset;if("undefined"!=typeof window&&"undefined"!=typeof location){var n=location.hash?r(location.href):location.href;document.body.addEventListener("click",function(s){var i,o,a,c,d,u,m,h,f;!(!("a"===(i=s.target).tagName.toLowerCase()&&(i.hash.length>0||"#"===i.href.charAt(i.href.length-1))&&(r(i.href)===n||r(i.href)+"#"===n))||s.target.className.indexOf("no-smooth-scroll")>-1)&&("#"!==s.target.href.charAt(s.target.href.length-2)||"!"!==s.target.href.charAt(s.target.href.length-1))&&-1!==s.target.className.indexOf(e.linkClass)&&(o=s.target.hash,a={duration:t,offset:l,callback:function(){var e,t;e=s.target.hash,(t=document.getElementById(e.substring(1)))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}},d=window.pageYOffset,u={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||function(e,t,l,n){return(e/=n/2)<1?l/2*e*e+t:-l/2*(--e*(e-2)-1)+t}},m=document.querySelector('[id="'+decodeURI(o).split("#").join("")+'"]')||document.querySelector('[id="'+o.split("#").join("")+'"]'),h="str
1ing"==typeof o?u.offset+(o?m&&m.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):o,f="function"==typeof u.duration?u.duration(h):u.duration,requestAnimationFrame(function(e){(function t(l){c=l-e,window.scrollTo(0,u.easing(c,d,h,f)),c<f?requestAnimationFrame(t):(window.scrollTo(0,d+h),"function"==typeof u.callback&&u.callback())})(e)}))},!1)}function r(e){return e.slice(0,e.lastIndexOf("#"))}}(c)),n=function(e){let t;let l=[].forEach,n=[].some,r="undefined"!=typeof window&&document.body,s=!0,i=0;function o(t){let l=e.orderedList?"ol":"ul",n=document.createElement(l),r=e.listClass+" "+e.extraListClasses;return t&&(r=(r=r+" "+e.collapsibleClass)+" "+e.isCollapsedClass),n.setAttribute("class",r),n}function a(e,t){return e&&e.className!==t&&(e.className=t),e}function c(t){let l=u();return(document?.getElementById(t)).offsetTop>l.offsetHeight-1.4*l.clientHeight-e.bottomModeThreshold}function d(){let t=u(),l=t.scrollHeight>t.clientHeight,n=m()+t.clientHeight>t.offsetHeight-e.bottomModeThreshold;return l&&n}function u(){return e.scrollContainer&&document.querySelector(e.scrollC
1ontainer)?document.querySelector(e.scrollContainer):document.documentElement||r}function m(){let e=u();return e?.scrollTop||0}function h(t,l=m()){let r;return n.call(t,(n,s)=>(function t(l){let n=0;return null!==l&&(n=l.offsetTop,e.hasInnerContainers&&(n+=t(l.offsetParent))),n})(n)>l+e.headingsOffset+10?(r=t[0===s?s:s-1],!0):s===t.length-1?(r=t[t.length-1],!0):void 0),r}return{enableTocAnimation:function(){s=!0},disableTocAnimation:function(t){let l=t.target||t.srcElement;"string"==typeof l.className&&-1!==l.className.indexOf(e.linkClass)&&(s=!1)},render:function(n,r){let s=o(!1);return(r.forEach(t=>{!function t(n,r){let s=r.appendChild(function(t){let n=document.createElement("li"),r=document.createElement("a");return e.listItemClass&&n.setAttribute("class",e.listItemClass),e.onClick&&(r.onclick=e.onClick),e.includeTitleTags&&r.setAttribute("title",t.textContent),e.includeHtml&&t.childNodes.length?l.call(t.childNodes,e=>{r.appendChild(e.cloneNode(!0))}):r.textContent=t.textContent,r.setAttribute("href",`${e.basePath}#${t.id}`),r.setAttribute("class",`${e.linkClass+" "}node-name--${t.nodeName} ${e.extraLinkClasses}`),n.appendChild(r),n}(n));if(n.children.length){let e=o(n.isCollapsed);n.children.forEach(l=>{t(l,e)}),s.appendChild(e)}}(t,s)}),null===(t=n||t))?void 0:(t.firstChild&&t.removeChild(t.firstChild),0===r.length)?t:t.appendChild(s)},updateToc:function(n,r){e.positionFixedSelector&&function(){let l=m(),n=document.querySelector(e.positionFixedSelector);"auto"===e.fixedSidebarOffset&&(e.fixedSidebarOffset=t.offsetTop),l>e.fixedSidebarOffset?-1===n.className.indexOf(e.positionFixedClass)&&(n.className+=" "+e.positionFixedClass):n.className=n.className.replace(" "+e.positionFixedClass,"")}();let o=r?.target?.getAttribute?r?.target?.getAttribute("href"):null,u=!!o&&"#"===o.charAt(0)&&c(o.replace("#","")),f=s||u;if(r&&i<5&&i++,f&&t&&n.length>0){let r=h(n),s=t.querySelector(`.${e.activeLinkClass}`),m=r.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1"),f=window.location.hash.replace("#",""),g=m,p=d();o&&u?g=o.replace("#",""):f&&f!==m&&p&&(c(m)||i<=2)&&(g=f);let x=t.querySelector(`.${e.linkClass}[href="${e.basePath}#${g}"]`);if(s===x)return;let b=t.querySelectorAll(`.${e.linkClass}`);l.call(b,t=>{a(t,t.className.replace(" "+e.activeLinkClass,""))});let y=t.querySelectorAll(`.${e.listItemClass}`);l.call(y,t=>{a(t,t.className.replace(" "+e.activeListItemClass,""))}),x&&-1===x.className.indexOf(e.activeLinkClass)&&(x.className+=" "+e.activeLinkClass);let w=x?.parentNode;w&&-1===w.className.indexOf(e.activeListItemClass)&&(w.className+=" "+e.activeListItemClass);let v=t.querySelectorAll(`.${e.listClass}.${e.collapsibleClass}`);l.call(v,t=>{-1===t.className.indexOf(e.isCollapsedClass)&&(t.className+=" "+e.isCollapsedClass)}),x?.nextSibling&&-1!==x.nextSibling.className.indexOf(e.isCollapsedClass)&&a(x.nextSibling,x.nextSibling.className.replace(" "+e.isCollapsedClass,"")),function t(l){return l&&-1!==l.className.indexOf(e.collapsibleClass)&&-1!==l.className.indexOf(e.isCollapsedClass)?(a(l,l.className.replace(" "+e.isCollapsedClass,"")),t(l.parentNode.parentNode)):l}(x?.parentNode.parentNode)}},getCurrentlyHighlighting:function(){return s},getTopHeader:h,getScrollTop:m,updateUrlHashForHeader:function(e){let t=m(),l=h(e,t),n=d();if(l&&!(t<5)||n){if(l&&!n){let e=`#${l.id}`;window.location.hash!==e&&window.history.pushState(null,null,e)}}else"#"===window.location.hash||""===window.location.hash||window.history.pushState(null,null,"#")}}}(c),r=function(e){let t=[].reduce;function l(e){return e[e.length-1]}function n(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 l=t.getAttribute("data-heading-label")||(e.headingLabelCallback?String(e.headingLabelCallback(t.innerText)):(t.innerText||t.textContent).trim()),n={id:t.id,children:[],nodeName:t.nodeName,headingLevel:+t.nodeName.toUpperCase().replace("H",""),textContent:l};return(e.includeHtml&&(n.childNodes=t.childNodes),e.headingObjectCallback)?e.headingObjectCallback(n,t):n}return{nestHeadingsArray:function(r){return t.call(r,function(t,r){let s=n(r);return s&&function(t,r){let s=n(t),i=s.headingLevel,o=r,a=l(o),c=i-(a?a.headingLevel:0);for(;c>0&&(!(a=l(o))||i!==a.headingLevel);)a&&void 0!==a.children&&(o=a.children),c--;i>=e.collapseDepth&&(s.isCollapsed=!0),o.push(s)}(s,t.nest),t},{nest:[]})},selectHeadings:function(t,l){let n=l;e.ignoreSelector&&(n=l.split(",").map(function(t){return`${t.trim()}:not(${e.ignoreSelector})`}));try{return t.querySelectorAll(n)}catch(e){return console.warn(`Headers not found with selector: ${n}`),null}}}}(c),u();let l=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===l)return;let d=p(c);if(null===d||null===(s=r.selectHeadings(l,c.headingSelector)))return;let m=r.nestHeadingsArray(s).nest;if(c.skipRendering)return this;n.render(d,m);let x=!1;i=function(e,t,l="auto"){switch(l){case"debounce":return g(e,t);case"throttle":return f(e,t);default:return t<334?g(e,t):f(e,t)}}(e=>{n.updateToc(s,e),c.disableTocScrollSync||x||function(e){let t=e.tocScrollingWrapper||e.tocElement||document.querySelector(e.tocSelector);if(t&&t.scrollHeight>t.clientHeight){let l=t.querySelector(`.${e.activeListItemClass}`);
1if(l){let n=l.offsetTop-e.tocScrollOffset;t.scrollTop=n>0?n:0}}}(c),c.enableUrlHashUpdateOnScroll&&t&&n.getCurrentlyHighlighting()&&n.updateUrlHashForHeader(s);let l=e?.target?.scrollingElement?.scrollTop===0;(e&&(0===e.eventPhase||null===e.currentTarget)||l)&&(n.updateToc(s),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 b=null;o=f(e=>{x=!0,c.scrollSmooth&&n.disableTocAnimation(e),n.updateToc(s,e),b&&clearTimeout(b),b=setTimeout(()=>{n.enableTocAnimation()},c.scrollSmoothDuration),setTimeout(()=>{x=!1},c.scrollSmoothDuration+100)},c.throttleTimeout),c.scrollContainer&&document.querySelector(c.scrollContainer)?document.querySelector(c.scrollContainer).addEventListener("click",o,!1):document.addEventListener("click",o,!1)}function u(){let e=p(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),n&&document.querySelector(c.scrollContainer).removeEventListener("click",o,!1)):(document.removeEventListener("scroll",i,!1),document.removeEventListener("resize",i,!1),n&&document.removeEventListener("click",o,!1)))}function m(e){u(),d(e||c)}let h=Object.prototype.hasOwnProperty;function f(e,t,l){let n,r;return t||(t=250),function(...s){let i=l||this,o=+new Date;n&&o<n+t?(clearTimeout(r),r=setTimeout(()=>{n=o,e.apply(i,s)},t)):(n=o,e.apply(i,s))}}function g(e,t){let l;return(...n)=>{clearTimeout(l),l=setTimeout(()=>e.apply(this,n),t)}}function p(e){try{return e.tocElement||document.querySelector(e.tocSelector)}catch(t){return console.warn(`TOC element not found: ${e.tocSelector}`),null}}var x={destroy:u,init:d,refresh:m}}},function(e){e.O(0,[9859,4034,6381,9423,8683,8612,5991,9167,8980,249,1935,6818,2888,9774,179],function(){return e(e.s=81375)}),_N_E=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.