1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="87f2b414-7892-4b2a-b776-8fefb5751d83",e._sentryDebugIdIdentifier="sentry-dbid-87f2b414-7892-4b2a-b776-8fefb5751d83")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3779],{53779:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var l=i(95155),r=i(12115),a=i(15239),n=i(2230),c=i(38581),o=i(25016),d=i(1213),s=i(71975),f=i(64728);let u=e=>{var t,i;let{item:u,variant:m,onSelectChange:y,backgroundColor:b,textColor:h,pageID:p}=e,{isDarkMode:g}=(0,f.D)(),[x,_]=(0,r.useState)(!1),{facilities:v=[]}=(0,d.d4)((0,s.nh)(p));(0,r.useEffect)(()=>{v?v.some(e=>{let{facility_id:t}=e;return t===u.facility.facility_id})&&_(!0):_(!1)},[v,u.facility.facility_id]);let w=()=>{let e=!x;_(e),y(u.facility,e)},k=(0,o.Qf)(b);return(0,l.jsxs)("div",{className:(0,o.cn)({"flex h-full flex-col":"ruim"===m,"flex flex-row px-6 py-2":"compact"===m,"form-item-container-selected":x},"form-item-container mt-2 w-full cursor-pointer select-none items-center bg-gray-100"),style:{...x?{backgroundColor:b}:{},color:h,borderRadius:"var(--theme-border-radius)"},onClick:()=>w(),children:[(0,l.jsx)("label",{className:(0,o.cn)({"text-md p-2 md:p-4":"ruim"===m,"p-0":"compact"===m},"pointer-events-none"),htmlFor:u.facility.facility_id.toString(),style:{color:x&&!g&&k&&(0,o.HD)(k)?"white":g?"var(--theme-text-color-primary)":h,borderRadius:"var(--theme-border-radius)"},children:u.facility.facility_name}),"ruim"===m&&null!==u.facility.image&&(0,l.jsx)("div",{className:"overflow relative mt-auto h-20 w-full md:h-40 lg:mt-0",children:(0,l.jsx)(a.default,{alt:null!=(t=u.facility.facility_name)?t:"",src:null!=(i=u.facility.image.large)?i:"",style:{objectFit:"cover"},fill:!0})}),(0,l.jsxs)("div",{className:(0,o.cn)({hidden:"ruim"===m,flex:"compact"===m},"relative ml-auto h-10 w-10 content-center items-center justify-center rounded-lg bg-input dark:border dark:border-gray-600"),children:[(0,l.jsx)("input",{checked:x,onChange:w,id:u.facility.facility_id.toString(),name:u.facility.facility_id.toString(),type:"checkbox",className:"h-7 w-7 cursor-pointer appearance-none bg-input",disabled:!1}),x&&(0,l.jsx)(n.g,{icon:c.e68,className:"pointer-events-none absolute left-0 right-0 m-auto text-[var(--theme-text-color-primary)]"})]})]},u.facility.facility_id)}}}]);
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.