1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[806],{8806:function(e,t,n){n.r(t);var r=n(7320),c=n(1720),s=n(425),a=n(1576),o=n.n(a);t.default=function(){var e=(0,c.useState)(!0),t=e[0],n=e[1],a=(0,s.F)(),u=a.theme,m=a.resolvedTheme;console.log("theme:",u),console.log("resolvedTheme:",m);var i="dark"===u||"dark"===m?o().comment.utterancesConfig.darkTheme:o().comment.utterancesConfig.theme,l="comments-container",d=(0,c.useCallback)((function(){n(!1);var e=document.createElement("script");e.src="https://utteranc.es/client.js",e.setAttribute("repo",o().comment.utterancesConfig.repo),e.setAttribute("issue-term",o().comment.utterancesConfig.issueTerm),e.setAttribute("label",o().comment.utterancesConfig.label),e.setAttribute("theme",i),e.setAttribute("crossorigin","anonymous"),e.async=!0;var t=document.getElementById(l);return t&&t.appendChild(e),function(){var e=document.getElementById(l);e&&(e.innerHTML="")}}),[i]);return(0,c.useEffect)((function(){document.querySelector("iframe.utterances-frame")&&d()}),[d]),(0,r.BX)("div",{className:"pt-6 pb-6 text-center text-gray-700 dark:text-gray-300",children:[t&&(0,r.tZ)("button",{onClick:d,children:"Load Comments"}),(0,r.tZ)("div",{className:"utterances-frame relative",id:l})]})}}}]);
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.