PageSourceSearch

https://www.egtved.dk/_nuxt/Cl1U_MLu.js

js egtved.dk collected 2026-10-03 00:40:29 UTC 3,079 bytes, 1 lines download raw bytes

1import{Ba as e,Ea as a,It as t,Ya as l,Zi as s,_t as r,aa as o,ba as i,ga as n,gt as d,ht as c,ia as m,io as u,mt as f,na as h,no as p,oa as g,ua as b,ui as y}from"./cEYMgSOO.js";import{C as v,y as B}from"#entry";import{t as k}from"./DzwwMeNN.js";var N={class:"d-affald-online-page"},O=Object.assign({inheritAttrs:!1},{__name:"AffaldOnlinePage",props:{content:String,image:Object,title:String,teaser:String,items:Array,name:String,header:Object,contentElements:Array,settings:Object,form:Object,feedback:{type:Object,default:void 0},hideFeedback:{type:Boolean,default:!1},showImages:{type:Boolean,default:!0}},setup(O){B();const j=y(),w=O,x=["1","true"].includes(j.query["display-mode"]),I=x?["display-mode","contextId"]:["contextId"],P=l(null),E=l({persistentParameters:I,hiddenParameters:["siteId","cultureId","pageId","searchId","culture","url","gid"],searchResponseTransformerMethod:function(e){return{data:e??[],pagination:{limit:e?.length??0,offset:0,total:e?.length??0}}}});(w.form?.fields?.filter(e=>"searchableDropdown"===e.type)??[]).forEach(e=>{const a=JSON.parse(JSON.stringify(e.items??[])),t=[];a.forEach(e=>{t.some(a=>a.label===e.label)||t.push(e),[...e.aliases??[]].forEach(a=>{t.some(e=>e.label===a)||t.push({...e,label:a,checked:!1,aliases:null})})}),t.sort((e,a)=>e.label.localeCompare(a.label)),Object.assign(e.items,t)});const S=l(r(w.form,{populate:j.query})),_=l(S.value.fieldByName.text?.value??""),C=h(()=>x?"":n("defaultPageHeaderColorListPage",void 0)??n("defaultPageHeaderColor",void 0)??"surface");return t("defaultPageHeaderColorListPage",C.value),h(()=>P.value?.hasActiveFilters),(t,l)=>{const r=d,n=c,h=f,y=k,B=v;return a(),g("article",N,[b(B,{name:"list-page-layout","block-list":O.contentElements},{headerFilters:e(()=>[p(S)?(a(),m(n,{key:0,role:"search",action:p(S).endpointUrl,method:p(S).method,class:u(["w-12/12col >=656:w-10/12col >=1280:w-6/12col",{"mb-xl":p(C)}]),onSubmit:l[2]||(l[2]=s(()=>{},["prevent"]))},{default:e(()=>[p(S).fieldByName.id?(a(),m(r,{key:0,modelValue:p(S).fieldByName.id.value,"onUpdate:modelValue":l[0]||(l[0]=e=>p(S).fieldByName.id.value=e),name:p(S).fieldByName.id.name,placeholder:p(S).fieldByName.id.placeholder,color:"surface",label:p(S).fieldByName.id.label,items:p(S).fieldByName.id.items,onChange:l[1]||(l[1]=e=>function(e=!1){e&&(S.value.fieldByName.text.value=_.value),i(()=>{P.value?.submit()})}())},null,8,["modelValue","name","placeholder","label","items"])):o("",!0)]),_:1},8,["action","method","class"])):o("",!0)]),default:e(()=>[b(y,{ref_key:"searchManager",ref:P,class:u(["mt-beforeBlocks",O.contentElements?.length?"mb-[calc(var(--theme-spacing-betweenBlocks)-var(--theme-spacing-beforeBlocks))]":"mb-afterBlocks"]),"search-filters":p(S),"extra-parameters":p(x)?{"display-mode":"true"}:void 0,config:p(E),"result-string":"","main-search-filter":"id","show-all":!1,"show-more":!1},{default:e(e=>[e.data?.length?(a(),m(h,{key:0,"block-list":e.data},null,8,["block-list"])):o("",!0)]),_:1},8,["class","search-filters","extra-parameters","config"])]),_:1},8,["block-list"])])}}});export{O 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.