1import{_ as F}from"./t0EP02gX.js";import{c as N,_ as Q}from"./p7j0WGZt.js";import{u as j}from"./Cj7e6CUJ.js";import{m as B,j as C,q as E,u as l,N as _,Q as u,I as q,a7 as I,S as c,Z as f,$ as L,M as v,a1 as h}from"./uOatmh1Q.js";import"./S7pvcqnU.js";/* empty css */const P={key:0,class:"filter"},S={class:"filter__wrapper__outer"},U={class:"filter-buttons"},$=B({__name:"ProjectsFilter",props:{filters:{default:void 0},mobileView:{type:Boolean,default:!1}},emits:["change","close"],setup(m,{emit:y}){const r=m,d=y,e=C(r.filters),n=["equipment","industries"],{setQuery:V,clearQuery:k}=j();function x(a){return{key:a,value:e.value[a].value?.value&&e.value[a].code?String(e.value[a].value?.code):void 0}}const b=()=>{V({singles:n.map(a=>x(a))}),d("close")},g=()=>{k(n),d("close")};return E(()=>r.filters,a=>{if(!r.filters)return;const s=r.filters;Object.keys(s).forEach(i=>{const o=s[i],t=o.values.find(p=>p.selected);t&&(o.value=t)}),e.value=s}),(a,s)=>{const i=F,o=N;return l(e)?(v(),_("div",P,[u("div",S,[(v(),_(q,null,I(n,(t,p)=>u("div",{class:"filter__wrapper",key:t},[c(i,{label:m.mobileView?l(e)[t]?.name:"",modelValue:l(e)[t].value,"onUpdate:modelValue":w=>l(e)[t].value=w,options:l(e)[t]?.values,"name-value":"code","name-property":"value",placeholder:`${l(e)[t]?.name}: ÐÑе`},null,8,["label","modelValue","onUpdate:modelValue","options","placeholder"])])),64))]),u("div",U,[c(o,{"variant-height":"h-middle",onClick:b},{default:f(()=>[...s[0]||(s[0]=[h("ÐоказаÑÑ",-1)])]),_:1}),c(o,{variant:"grey","variant-height":"h-middle",onClick:g},{default:f(()=>[...s[1]||(s[1]=[h("СбÑоÑиÑÑ ",-1)])]),_:1})])])):L("",!0)}}}),D=Q($,[["__scopeId","data-v-7523302c"]]);export{D 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.