1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4445,26826,41914],{26826:(e,t,l)=>{l.r(t),l.d(t,{default:()=>i});var n=l(37876),a=l(28618),o=l(41914);let i=e=>{let{post:t,cRef:l}=e,{tocVisible:i,changeTocVisible:r}=(0,a.useNavGlobal)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{id:"gitbook-toc-float",className:"fixed top-0 right-0 z-40 md:hidden",children:(0,n.jsx)("div",{className:(i?"animate__slideInRight ":" -mr-72 animate__slideOutRight")+" overflow-y-hidden shadow-card w-60 duration-200 fixed right-1 bottom-16 rounded py-2 bg-white dark:bg-hexo-black-gray",children:t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"dark:text-gray-400 text-gray-600 h-96 p-3",children:(0,n.jsx)(o.default,{post:t})})})})}),(0,n.jsx)("div",{id:"right-drawer-background",className:(i?"block":"hidden")+" fixed top-0 left-0 z-30 w-full h-full",onClick:()=>{r(!i)}})]})}},41914:(e,t,l)=>{l.r(t),l.d(t,{default:()=>d});var n=l(37876),a=l(14969),o=l(79547),i=l(11814),r=l(14232);let d=e=>{let{post:t}=e,l=null==t?void 0:t.toc,[d,s]=(0,r.useState)(null);(0,r.useEffect)(()=>(window.addEventListener("scroll",c,{passive:!0}),c(),()=>{window.removeEventListener("scroll",c)}),[t]);let c=(0,r.useCallback)((0,o.A)(()=>{var e,l;let n=document.getElementsByClassName("notion-h"),o=null,r=null;for(let e=0;e<n.length;++e){let t=n[e];if(!t||!(t instanceof Element))continue;r||(r=t.getAttribute("data-id"));let l=t.getBoundingClientRect(),a=Math.max(150,(o?l.top-o.bottom:0)/4);if(l.top-a<0){r=t.getAttribute("data-id"),o=l;continue}break}s(r);let d=(null==t||null==(e=t.toc)?void 0:e.map(e=>(0,i.Qg)(e.id)))||[],c=d.indexOf(r)||0;if(a.isBrowser&&(null==d?void 0:d.length)>0)for(let e of null==(l=document)?void 0:l.getElementsByClassName("toc-wrapper"))null==e||e.scrollTo({top:28*c,behavior:"smooth"})},200));return!l||l.length<1?null:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{id:"toc-wrapper",className:"toc-wrapper overflow-y-auto my-2 max-h-80 overscroll-none scroll-hidden",children:(0,n.jsx)("nav",{className:"h-full text-black",children:l.map(e=>{let t=(0,i.Qg)(e.id);return(0,n.jsx)("a",{href:"#".concat(t),className:"notion-table-of-contents-item duration-300 transform font-light dark:text-gray-300\n notion-table-of-contents-item-indent-level-".concat(e.indentLevel," catalog-item "),children:(0,n.jsx)("span",{style:{display:"inline-block",marginLeft:16*e.indentLevel},className:"truncate ".concat(d===t?"font-bold text-gray-500 underline":""),children:e.text})},t)})})})})}},79547:(e,t,l)=>{l.d(t,{A:()=>n});function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,l=null,n=0,a=null;return function(){for(var o=arguments.length,i=Array(o),r=0;r<o;r++)i[r]=arguments[r];let d=Date.now(),s=t-(d-n);if(a=i,s<=0){l&&(clearTimeout(l),l=null),n=d,e(...a),a=null;return}l||(l=setTimeout(()=>{l=null,n=Date.now(),a&&(e(...a),a=null)},s))}}}}]);
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.