PageSourceSearch

https://www.fannotes.me/_next/static/chunks/4575.d0e829fe10367ca4.js

js fannotes.me collected 2026-09-25 11:06:27 UTC 4,670 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4575,90148],{93096:function(t,e,n){var i="Expected a function",r=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),m=Object.prototype.toString,h=Math.max,g=Math.min,x=function(){return f.Date.now()};function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||e&&"object"==typeof e&&"[object Symbol]"==m.call(e))return r;if(v(t)){var e,n="function"==typeof t.valueOf?t.valueOf():t;t=v(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var i=l.test(t);return i||c.test(t)?s(t.slice(2),i?2:8):a.test(t)?r:+t}t.exports=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw TypeError(i);return v(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(t,e,n){var r,o,a,l,c,s,u=0,d=!1,f=!1,m=!0;if("function"!=typeof t)throw TypeError(i);function p(e){var n=r,i=o;return r=o=void 0,u=e,l=t.apply(i,n)}function y(t){var n=t-s,i=t-u;return void 0===s||n>=e||n<0||f&&i>=a}function j(){var t,n,i,r=x();if(y(r))return k(r);c=setTimeout(j,(t=r-s,n=r-u,i=e-t,f?g(i,a-n):i))}function k(t){return(c=void 0,m&&r)?p(t):(r=o=void 0,l)}function w(){var t,n=x(),i=y(n);if(r=arguments,o=this,s=n,i){if(void 0===c)return u=t=s,c=setTimeout(j,e),d?p(t):l;if(f)return c=setTimeout(j,e),p(s)}return void 0===c&&(c=setTimeout(j,e)),l}return e=b(e)||0,v(n)&&(d=!!n.leading,a=(f="maxWait"in n)?h(b(n.maxWait)||0,e):a,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==c&&clearTimeout(c),u=0,r=s=o=c=void 0},w.flush=function(){return void 0===c?l:k(x())},w}(t,e,{leading:r,maxWait:e,trailing:o})}},90148:function(t,e,n){"use strict";n.r(e);var i=n(85893),r=n(93348),o=n(93096),a=n.n(o),l=n(58622),c=n(67294);e.default=t=>{let{toc:e}=t,{locale:n}=(0,r.O)();(0,c.useEffect)(()=>(window.addEventListener("scroll",f),f(),()=>{window.removeEventListener("scroll",f)}),[]);let o=(0,c.useRef)(null),s=[],[u,d]=(0,c.useState)(null),f=(0,c.useCallback)(a()(()=>{var t;let e=document.getElementsByClassName("notion-h"),n=null,i=u;for(let t=0;t<e.length;++t){let r=e[t];if(!r||!(r instanceof Element))continue;i||(i=r.getAttribute("data-id"));let o=r.getBoundingClientRect(),a=Math.max(150,(n?o.top-n.bottom:0)/4);if(o.top-a<0){i=r.getAttribute("data-id"),n=o;continue}break}d(i);let r=s.indexOf(i)||0;null==o||null===(t=o.current)||void 0===t||t.scrollTo({top:28*r,behavior:"smooth"})},200));return!e||e.length<1?(0,i.jsx)(i.Fragment,{}):(0,i.jsxs)("div",{className:"px-3 py-1 dark:text-white text-black",children:[(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("i",{className:"mr-1 fas fa-stream"}),n.COMMON.TABLE_OF_CONTENTS]}),(0,i.jsx)("div",{className:"overflow-y-auto max-h-36 lg:max-h-96 overscroll-none scroll-hidden",ref:o,children:(0,i.jsx)("nav",{className:"h-full",children:null==e?void 0:e.map(t=>{let e=(0,l.Gw)(t.id);return s.push(e),(0,i.jsx)("a",{href:"#".concat(e),className:"notion-table-of-contents-item duration-300 transform dark:text-gray-200\n            notion-table-of-contents-item-indent-level-".concat(t.indentLevel," catalog-item "),children:(0,i.jsx)("span",{style:{display:"inline-block",marginLeft:16*t.indentLevel},className:"truncate ".concat(u===e?"font-bold text-indigo-600":""),children:t.text})},e)})})})]})}},4575:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(85893),r=n(67294),o=n(90148);function a(t){let[e,n]=(0,r.useState)(!1),{post:a}=t,l=()=>{n(!e)};return a&&a.toc&&!(a.toc.length<1)?(0,i.jsxs)("div",{className:"fixed lg:hidden right-4 bottom-24",children:[(0,i.jsx)("div",{onClick:l,className:"w-11 h-11 select-none hover:scale-110 transform duration-200 text-black dark:text-gray-200 rounded-full bg-white drop-shadow-lg flex justify-center items-center dark:bg-hexo-black-gray py-2 px-2",children:(0,i.jsx)("button",{id:"toc-button",className:"fa-list-ol cursor-pointer fas"})}),(0,i.jsx)("div",{className:"fixed top-0 right-0 z-40 ",children:(0,i.jsx)("div",{className:"".concat(e?"shadow-card ":" -mr-72  opacity-0"," dark:bg-black w-60 duration-200 fixed right-4 bottom-12 rounded-xl py-2 bg-white dark:bg-gray-900'"),children:a&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"dark:text-gray-400 text-gray-600",children:(0,i.jsx)(o.default,{toc:a.toc})})})})}),(0,i.jsx)("div",{id:"right-drawer-background",className:(e?"block":"hidden")+" fixed top-0 left-0 z-30 w-full h-full",onClick:l})]}):(0,i.jsx)(i.Fragment,{})}}}]);

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.