PageSourceSearch

https://www.scapino.nl/assets/chunks/chunk-b36c346f.js

js scapino.nl collected 2026-09-26 10:15:09 UTC 2,303 bytes, 1 lines download raw bytes

1import{d as w,o,c as i,a as t,F as g,q as C,p as d,t as b,w as p,ax as v,I as u,B as h,s as z,a7 as B,A as $,l as k}from"./chunk-5208ab45.js";import{_ as f}from"./chunk-ee5fea42.js";import{M as I,P as A}from"./chunk-b74ea2ea.js";const H={class:"py-[--component-row--p-y] lg:py-[--component-row--p-y-xl]"},j={class:"container mx-auto"},F={class:"grid grid-cols-1 lg:grid-cols-2 lg:gap-8"},M={class:"flex flex-col pb-6 lg:py-7"},N=["aria-expanded","aria-controls","onClick"],V=["id"],q={key:0,class:"bg-tertiary px-4 py-10"},D={class:"flex justify-center"},T=w({__name:"FaqAndText",props:{data:{}},setup(n){const r=k(!0),a=k([]);function _(s){var c;a.value[s]=!(((c=a.value)==null?void 0:c[s])??!1)}function x(s){return`accordion-${s}`}return(s,c)=>{var m,y;return o(),i("div",H,[t("div",j,[t("div",F,[t("div",M,[(o(!0),i(g,null,C(n.data.items,(l,e)=>(o(),i("div",{key:e,class:d({"pb-4":a.value[e],"pt-4":a.value[e]&&e>0})},[t("div",{class:d(["p-4",{"bg-tertiary":a.value[e]}])},[t("button",{class:"flex w-full items-center justify-between gap-4","aria-expanded":a.value[e]??!1,"aria-controls":x(e),onClick:E=>_(e)},[t("p",{class:d(["text-left text-xl lowercase tracking-wide",{"font-bold":a.value[e]}])},b((l==null?void 0:l.title)??""),3),p(u(h(I),{class:"size-6 stroke-2 text-primary"},null,512),[[v,a.value[e]]]),p(u(h(A),{class:"size-6 stroke-2 text-primary"},null,512),[[v,!a.value[e]]])],8,N),p(t("div",{id:x(e),class:"pt-4"},[u(f,{class:"prose-a:text-primary",content:l==null?void 0:l.answerHtml,size:"lg"},null,8,["content"])],8,V),[[v,a.value[e]]])],2)],2))),128))]),(m=n.data)!=null&&m.textHtml?(o(),i("div",q,[(y=n.data)!=null&&y.collapse?(o(),i(g,{key:1},[t("div",{class:d(["relative overflow-hidden",{"max-h-[300px]":r.value}])},[u(f,{content:n.data.textHtml,class:"prose-a:text-primary",size:"lg"},null,8,["content"]),t("div",{class:d(["absolute inset-x-0 bottom-0 h-10 justify-center bg-gradient-to-b from-transparent to-tertiary",{hidden:!r.value}])},null,2)],2),t("div",D,[t("button",{class:"font-semibold text-black underline",onClick:c[0]||(c[0]=B(l=>r.value=!r.value,["prevent"]))},b(r.value?s.$t("Read more"):s.$t("Read less")),1)])],64)):(o(),z(f,{key:0,content:n.data.textHtml,class:"prose-a:text-primary",size:"lg"},null,8,["content"]))])):$("",!0)])])])}}});export{T 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.