1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9674,29468,3932,56027],{29468:function(e,t,a){a.r(t);var r=a(85893);t.default=e=>{let{children:t,headerSlot:a,className:n}=e;return(0,r.jsxs)("div",{className:"".concat(n||""," card border dark:border-gray-700 rounded-xl lg:p-6 p-4"),children:[(0,r.jsx)(r.Fragment,{children:a}),(0,r.jsx)("section",{children:t})]})}},3932:function(e,t,a){a.r(t);var r=a(85893),n=a(11163),s=a(67294),l=a(26964);let i=!1;t.default=e=>{let{currentSearch:t,cRef:a,className:o}=e,[c,d]=(0,s.useState)(!1),u=(0,n.useRouter)(),x=(0,s.useRef)(),{locale:m}=(0,l.O)();(0,s.useImperativeHandle)(a,()=>({focus:()=>{var e;null==x||null===(e=x.current)||void 0===e||e.focus()}}));let f=()=>{let e=x.current.value;e&&""!==e?(d(!0),u.push({pathname:"/search/"+e}).then(e=>{d(!1)})):u.push({pathname:"/"}).then(e=>{})},h=()=>{x.current.value=""},[p,g]=(0,s.useState)(!1),v=e=>{i||(x.current.value=e,e?g(!0):g(!1))};function j(){i=!0}return(0,r.jsxs)("div",{className:"flex w-full rounded-lg "+o,children:[(0,r.jsx)("input",{ref:x,type:"text",className:"outline-none w-full text-sm pl-5 rounded-lg transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-white dark:bg-gray-500",onKeyUp:e=>{13===e.keyCode?f(x.current.value):27===e.keyCode&&h()},onCompositionStart:j,onCompositionUpdate:j,onCompositionEnd:function(){i=!1},placeholder:m.SEARCH.ARTICLES,onChange:e=>v(e.target.value),defaultValue:t||""}),(0,r.jsx)("div",{className:"-ml-8 cursor-pointer float-right items-center justify-center py-2",onClick:f,children:(0,r.jsx)("i",{className:"hover:text-black transform duration-200 text-gray-500 dark:text-gray-200 cursor-pointer fas ".concat(c?"fa-spinner animate-spin":"fa-search")})}),p&&(0,r.jsx)("div",{className:"-ml-12 cursor-pointer float-right items-center justify-center py-2",children:(0,r.jsx)("i",{className:"hover:text-black transform duration-200 text-gray-400 dark:text-gray-300 cursor-pointer fas fa-times",onClick:h})})]})}},9674:function(e,t,a){a.r(t),a.d(t,{default:function(){return u}});var r=a(85893),n=a(26964),s=a(41664),l=a.n(s),i=a(67294),o=a(29468),c=a(3932),d=a(56027);function u(e){let{tagOptions:t,categoryOptions:a}=e,s=(0,i.useRef)(null),{locale:u}=(0,n.O)();return(0,i.useEffect)(()=>{var e;null==s||null===(e=s.current)||void 0===e||e.focus()},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"my-6 px-2",children:[(0,r.jsx)(c.default,{cRef:s,...e}),(0,r.jsxs)(o.default,{className:"w-full mt-4 bg-white dark:bg-[#1a191d]",children:[(0,r.jsxs)("div",{className:"dark:text-gray-200 mb-5 mx-3 text-3xl",children:[u.COMMON.CATEGORY,":"]}),(0,r.jsx)("div",{id:"category-list",className:"duration-200 flex flex-wrap mx-8",children:null==a?void 0:a.map(e=>(0,r.jsx)(l(),{href:"/category/".concat(e.name),passHref:!0,legacyBehavior:!0,children:(0,r.jsxs)("div",{className:" duration-300 dark:hover:text-white dark:text-gray-200 rounded-2xl px-3 cursor-pointer py-1 hover:bg-indigo-600 dark:hover:bg-yellow-600 hover:text-white",children:[(0,r.jsx)("i",{className:"mr-4 fas fa-folder"}),e.name,"(",e.count,")"]})},e.name))})]}),(0,r.jsxs)(o.default,{className:"w-full mt-4 bg-white dark:bg-[#1a191d]",children:[(0,r.jsxs)("div",{className:"dark:text-gray-200 mb-5 ml-4 text-3xl",children:[u.COMMON.TAGS,":"]}),(0,r.jsx)("div",{id:"tags-list",className:"duration-200 flex flex-wrap ml-8",children:null==t?void 0:t.map(e=>(0,r.jsx)("div",{className:"p-2",children:(0,r.jsx)(d.default,{tag:e},e.name)},e.name))})]})]})})}},56027:function(e,t,a){a.r(t);var r=a(85893),n=a(73214),s=a(41664),l=a.n(s);t.default=e=>{let{tag:t,selected:a=!1}=e;return(0,r.jsx)(l(),{href:a?"/":"/tag/".concat(encodeURIComponent(t.name)),passHref:!0,className:"cursor-pointer inline-block hover:text-white hover:bg-indigo-600 dark:hover:bg-yellow-600 px-2 py-1 rounded-2xl dark:text-white duration-200 text-sm whitespace-nowrap ",children:(0,r.jsxs)("div",{className:"font-light flex items-center",children:[(0,r.jsx)(n.VN,{className:"stroke-2 mr-0.5 w-3 h-3"})," ",t.name+(t.count?"(".concat(t.count,")"):"")," "]})},t)}}}]);
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.