"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[57],{234:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});const s={image:"tDFuhZbq",wrapper:"_r5DnC9Q",title:"eiT87uto",html:"uHXS6xuD",contentWrapper:"LD6HQi66",searchWrapper:"zMdpplNr",searchWrapperInput:"qqUMCiz1",tilesWrapper:"kjbitub3",tile:"a0BBiErp",tileTitle:"FScip3HX",tilePhone:"VtE8sEDS",tileDescription:"Qrtlhz_7"}},233:(e,t,r)=>{const s=r(106);(0,r(2).createEntrypoint)("information_search_cards",s.InformationSearchCards)},106:function(e,t,r){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InformationSearchCards=function(e){if(!e.cards)return(0,a.jsx)(l.Fragment,{});const t=(0,c.useMemo)((()=>e.cards),e.cards),r=(0,c.useMemo)((()=>new n.default(t,{keys:["title","subtitle","text"]})),[e.cards]),[s,d]=(0,c.useState)(t),[p,h]=(0,c.useState)("");return(0,c.useEffect)((()=>{if(""===p)return void d(t);const e=r.search(p).map((e=>e.item));d(e)}),[p]),(0,a.jsxs)("section",{className:i.default.wrapper,children:[(0,a.jsxs)("div",{className:i.default.contentWrapper,children:[(0,a.jsx)("h1",{className:i.default.title,children:e.title}),e.text&&(0,a.jsx)("div",{className:i.default.html,dangerouslySetInnerHTML:{__html:e.text}}),(0,a.jsxs)("div",{className:i.default.searchWrapper,children:[(0,a.jsx)("input",{type:"text",value:p,onInput:e=>{return t=e.currentTarget.value,void h(t.trim());var t},placeholder:"Search...",className:i.default.searchWrapperInput}),(0,a.jsx)(u,{})]})]}),(0,a.jsx)("div",{className:i.default.tilesWrapper,children:s.map((e=>(0,a.jsxs)("div",{className:i.default.tile,children:[(0,a.jsx)("h3",{className:i.default.tileTitle,children:e.title}),(0,a.jsx)("h3",{className:i.default.tilePhone,children:e.subtitle}),e.text&&(0,a.jsx)("h3",{className:i.default.tileDescription,dangerouslySetInnerHTML:{__html:e.text}})]})))})]})};const a=r(0),l=r(1),i=s(r(234)),n=s(r(137)),c=r(3),u=()=>(0,a.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M12.1 21.75C6.44998 21.75 1.84998 17.15 1.84998 11.5C1.84998 5.85 6.44998 1.25 12.1 1.25C17.75 1.25 22.35 5.85 22.35 11.5C22.35 17.15 17.75 21.75 12.1 21.75ZM12.1 2.75C7.26998 2.75 3.34998 6.68 3.34998 11.5C3.34998 16.32 7.26998 20.25 12.1 20.25C16.93 20.25 20.85 16.32 20.85 11.5C20.85 6.68 16.93 2.75 12.1 2.75Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M22.6 22.7504C22.41 22.7504 22.22 22.6804 22.07 22.5304L20.07 20.5304C19.78 20.2404 19.78 19.7604 20.07 19.4704C20.36 19.1804 20.84 19.1804 21.13 19.4704L23.13 21.4704C23.42 21.7604 23.42 22.2404 23.13 22.5304C22.98 22.6804 22.79 22.7504 22.6 22.7504Z",fill:"currentColor"})]})}},e=>{e.O(0,[1,2,73],(()=>e(e.s=233))),e.O()}]);