PageSourceSearch

https://www.velux.dk/dist/velux-marketing/client/assets/FAQShelfVDS-277e35cb.js

js velux.dk collected 2026-09-24 10:12:32 UTC 2,575 bytes, 1 lines download raw bytes

1import{m as h}from"./lodash-de8cc594.js";import{a0 as O,ag as W,r as w,f as t,D as i,E as C,P as s,K as m,J as f,u as e,b2 as P,aC as V,S as U,U as j,F as k,G,bO as Q,c5 as H,I as J}from"./vendor-0404560d.js";import{a as K,i as $}from"./index-afea52c0.js";import"./axios-c3c6769d.js";import"./vee-validate-378e8b8c.js";import"./swiper-0a0ef14b.js";/*! @license Third-party license notices: /dist/velux-marketing/client/THIRD_PARTY_NOTICES.txt */const u={DEFAULT:"default",NARROW:"narrow"},q=["id","data-section-name","data-test-layout-width"],X={class:"new_vlx-container new_vlx-grid items-start gap-y-10"},Y={class:"flex justify-center"},x=6,ne=O({__name:"FAQShelfVDS",props:{rendering:{default:()=>({uid:"",datasourceHasLanguageVersion:""})},fields:{},params:{}},setup(y){const c=y,p={fields:{title:{value:""},description:{value:""},articles:{Documents:[]}},params:{layoutMarketingValue:u.DEFAULT,backgroundColorValue:""}},{title:A,description:D,articles:a}=h(p.fields,c.fields),{t:z}=W(),{uid:g}=c.rendering,{renderingIndex:L}=K(),{isMobile:d,isTablet:M}=$(),l=h(p.params,c.params),v=w([...a.Documents]),_=w(!1),R=()=>{if(n.value.length===a.Documents.length)return;const o=n.value.length+x;_.value=!0,v.value=a.Documents.slice(0,o)},n=t(()=>_.value?v.value:a.Documents.slice(0,x)),S=t(()=>n.value.length<a.Documents.length),b=t(()=>d.value||M.value?"s":"m"),T=t(()=>l?.layoutMarketingValue===u.NARROW?"col-span-full new_l:col-span-7 new_l:col-start-5":"col-span-full new_l:col-span-8"),B=t(()=>l?.layoutMarketingValue===u.NARROW?"col-span-full new_l:col-span-8 new_l:col-start-13":"col-span-full new_l:col-span-14 new_l:col-start-11"),E=t(()=>l?.layoutMarketingValue===u.NARROW?"narrow":"wide"),F=t(()=>l?.backgroundColorValue||""),N=z("Feature/Magazine/Article List/Load more");return(I,o)=>(i(),C("section",{id:e(g),"data-section-name":e(L)(e(g)).id,"data-test-layout-width":E.value,class:m([F.value])},[s("div",X,[s("div",{class:m([[T.value],"grid gap-10"]),"data-test":"heading-and-body-container"},[f(e(P),{field:e(A).value,size:"m"},null,8,["field"]),f(e(V),{field:e(D).value,size:"m"},null,8,["field"])],2),s("div",{class:m([[B.value],"grid gap-6"])},[s("div",null,[(i(!0),C(U,null,j(n.value,r=>(i(),k(e(Q),{key:r.Title,"header-text":r.Title,size:e(d)?"s":"m"},{default:G(()=>[f(e(V),{field:r.DetailedSection,size:e(d)?"s":"m"},null,8,["field","size"])]),_:2},1032,["header-text","size"]))),128))]),s("div",Y,[S.value?(i(),k(e(H),{key:0,size:b.value,text:e(N),onClick:o[0]||(o[0]=r=>R())},null,8,["size","text"])):J("",!0)])],2)])],10,q))}});export{ne 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.