1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[420],{4420:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return Branches}});var s=n(5893),l=n(7270),t=n.n(l),c=n(1664),r=n.n(c),i=n(7814),h=n(9417),o=n(5152),d=n.n(o),u=n(7294),b=n(1163),f=n(5201);let m=d()(()=>n.e(404).then(n.bind(n,1404)),{loadableGenerated:{webpack:()=>[1404]},ssr:!1});function Branches(e){let a=(0,b.useRouter)(),[n,l]=(0,u.useState)(e.detail.branches),filterBranches=a=>{if(!a){l(e.detail.branches);return}let n=e.detail.branches.filter(e=>e.hospital_id===a);l(n)};return(0,s.jsxs)(s.Fragment,{children:["tr"===(0,f.Z)(a.locale)&&(0,s.jsxs)("div",{className:"".concat(t().branches," flex flex-col gap-4 ").concat(e.className),children:[(0,s.jsx)(m,{labelKey:"name",valueKey:"id",options:e.detail.hospitals.map(e=>({...e,name:"".concat(e.name," HASTANESİ")})),placeholder:"T\xfcm Hastaneler",onChange:e=>filterBranches(e.hospital_id),style:{width:"100%"}}),(0,s.jsxs)("p",{className:"w-full",children:[(0,s.jsx)("strong",{children:"Hastane Se\xe7imi Yaparak "}),"se\xe7miÅ olduÄunuz hastaneye ait tıbbi birimleri g\xf6rebilirsiniz."]})]}),(0,s.jsx)("ul",{className:"grid grid-cols-4 gap-y-4 gap-x-12 mt-12",children:n.map(e=>(0,s.jsxs)("li",{style:{color:"#2d3748",fontWeight:500},children:[(0,s.jsx)(i.G,{icon:h._tD,className:"mr-2"}),(0,s.jsx)(r(),{href:"/".concat(e.slug),children:e.name})]},"branch-".concat(e.id)))})]})}},7270:function(e){e.exports={branches:"branches_branches__ceWtX"}}}]);
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.