1import{b as x,r as h,j as r,k as s,m as t,o as n,t as d,l as v,w as y,am as g,q as c,ak as p,al as k,F as w,n as C,a4 as $,x as F,af as B,i as I,bc as V,A as E}from"./B30BqIw0.js";const S={class:"border-b border-[#BEBEBE] py-6 px-2"},z={class:"-my-3 w-full flow-root"},N=["aria-expanded","aria-controls"],P={class:"font-400 text-xl"},j=["id"],D={class:"space-y-4"},H={class:"sr-only"},L=["id","checked","name","value","aria-label","onChange"],O={key:0},T=["src","alt"],q=["for"],A=x({__name:"ListingFiltersProperties",props:{filter:{}},emits:["select-value"],setup(u,{expose:m,emit:f}){const a=u,b=f,i=I("selectedOptionIds"),o=V(),l=h(!1),_=()=>{l.value=!l.value};return m({closeFilter:()=>{l.value=!1}}),(J,K)=>(c(),r("div",S,[s("h3",z,[s("button",{type:"button",class:"w-full flex items-center space-x-4 text-left py-2 text-xl bg-uppababy-bodybg text-base text-black","aria-expanded":l.value?"true":"false","aria-controls":t(o),onClick:_},[s("i",{class:n(["text-black text-xl",l.value?"i-carbon-chevron-up":"i-carbon-chevron-down"])},null,2),s("span",P,d(a.filter.label),1)],8,N)]),v(g,{name:"fade",mode:"out-in"},{default:y(()=>[p(s("div",{id:t(o),class:"pt-2"},[s("fieldset",D,[s("legend",H,d(a.filter.name),1),(c(!0),r(w,null,C(a.filter.options||a.filter.entities,e=>(c(),r("div",{key:`${e.id}-${t(i)?.includes(e.id)}`,class:"flex items-center"},[s("input",{id:`filter-mobile-${a.filter.code}-${e.id}`,checked:t(i)?.includes(e.id),name:a.filter.name,value:e.name,"aria-label":`${e.name} filter`,type:"checkbox",class:"h-4 w-4 border-secondary-300 rounded text-indigo-600 focus:ring-indigo-500",onChange:M=>b("select-value",{code:a.filter.code,value:e.id,label:e?.translated?.name})},null,40,L),e.media?.url?(c(),r("div",O,[s("img",{loading:"lazy",class:n(["ml-2 h-4 w-4",{"border-blue border-2":t(i)?.includes(e.id)}]),src:e.media.url,alt:e.media.translated.alt||""},null,10,T)])):e.colorHexCode?(c(),r("div",{key:1,class:n(["ml-2 h-4 w-4",{"border-blue border-2":t(i)?.includes(e.id)}]),style:$(`background-color: ${e.colorHexCode}`)},null,6)):F("",!0),s("label",{for:`filter-mobile-${a.filter.code}-${e.id}`,class:"ml-3 text-secondary-600"},d(t(B)(e,"name"))+d(e.count?" ("+e.count+")":""),9,q)]))),128))])],8,j),[[k,l.value]])]),_:1})]))}}),R=E(A,[["__scopeId","data-v-f9b1a2a4"]]);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.