1import{r as a,R as d,a as h,j as e,N as f,_ as j}from"./main-ddd0c633.js";import{I as v}from"./Input-bcea9993.js";import{q as o}from"./transition-af80e3a6.js";import{_ as c}from"./dialog-8b65033e.js";import"./use-is-mounted-5022ad3a.js";function y({title:t,titleId:r,...n},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},n),t?a.createElement("title",{id:r},t):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const b=a.forwardRef(y),g=b,w=d.lazy(()=>h(()=>import("./PostOnSearch-af905a10.js"),["assets/PostOnSearch-af905a10.js","assets/main-ddd0c633.js","assets/main-c08d9d24.css","assets/queryGraphql-f2945230.js","assets/contants-3c5f400b.js","assets/contantsCommon-3b0e63b7.js","assets/DataStatementBlockV2-e47fdeac.js","assets/EmptyState-0dd73f46.js","assets/Card3Small-734c66ed.js","assets/NcImage-e3ba1726.js","assets/getImageSizesBySizeName-22c25ac1.js","assets/index-65fcb3fb.js","assets/PostCardMeta-bad1b636.js","assets/Avatar-143135aa.js","assets/formatDate-dfe39bf7.js","assets/ButtonPrimary-637a836f.js","assets/Button-e6780f03.js","assets/twFocusClass-d0735f61.js","assets/ButtonSecondary-2ea3ef25.js","assets/useQuery-d137cf01.js"])),R=()=>{var i;const t=d.createRef();let[r,n]=a.useState(!1),[s,l]=a.useState("");function u(){l(""),n(!1)}function m(){n(!0)}const p=x=>{l(x.target.value)};return e.jsxs(e.Fragment,{children:[e.jsx("button",{type:"button",onClick:m,className:"text-[28px] md:text-[28px] h-10 w-10 sm:w-12 sm:h-12 rounded-full text-neutral-700 dark:text-neutral-300 sm:hover:bg-neutral-100 sm:dark:hover:bg-neutral-800 focus:outline-none flex items-center justify-center",children:e.jsx(g,{className:"w-6 h-6 sm:w-7 sm:h-7"})}),e.jsx(o,{appear:!0,show:r,as:a.Fragment,children:e.jsxs(c,{initialFocus:t,as:"div",className:"relative z-max",onClose:u,children:[e.jsx(o.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 bg-slate-900/25 dark:bg-slate-300/25 backdrop-blur transition-opacity opacity-100"})}),e.jsx("div",{className:"fixed inset-0",children:e.jsx("div",{className:"flex justify-center px-3 pb-4 pt-20 sm:pt-28",children:e.jsx(o.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:e.jsx(c.Panel,{className:"w-full max-w-xl overflow-hidden rounded-2xl text-left align-middle shadow-xl",children:e.jsxs("form",{role:"search",method:"GET",className:"search-d relative mb-0",action:(i=window.frontendObject)==null?void 0:i.homeURL,children:[e.jsxs("div",{className:"relative",children:[e.jsx("i",{className:"las la-search absolute mt-[1px] left-3 top-1/2 transform -translate-y-1/2 text-2xl opacity-70"}),e.jsx(v,{name:"s",className:"pl-12 shadow-none !ring-0 !border-0 dark:bg-neutral-700",sizeClass:"px-4 py-5",rounded:`rounded-2xl ${s?"rounded-b-none":""}`,autoFocus:!0,ref:t,type:"search",placeholder:f.typeAndPressEnter,onChange:j.debounce(p,200)}),e.jsx("input",{type:"submit",hidden:!0,value:""})]}),s&&e.jsx(a.Suspense,{fallback:e.jsx("div",{}),children:e.jsx(w,{searchText:s})})]})})})})})]})})]})};export{R as default};
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.