1import{_ as x}from"./DXLam9J1.js";import{_ as b}from"./Dx7ynI_g.js";import{m as y,ai as A,z as w,o as k,P as B,B as I,a0 as u,Q as p,u as a,a8 as P,p as S,j as d}from"./BkCWH7hl.js";import{l as i}from"./zIMKPJnY.js";import{b as C}from"./Cr_p-rW_.js";import{u as O}from"./DnOpfEak.js";import"./CO82YgPD.js";import"./DeXw-MV1.js";import"./DlAUqK2U.js";const z={class:"rounded-[1.25rem] p-8 lg:p-16 bg-white card-w-shadow"},U=y({inheritAttrs:!1,__name:"SectionIntro",setup(E){const o=A()[0],{getColorPreset:f}=C(),h=S(()=>{const t=f(o.colorPreset);return{border:`3px solid ${t.stroke}`,color:t.stroke}}),e=d(null),r=d(!1),c=()=>{r.value||!e.value||(r.value=!0,i.fromTo(Array.from(e.value.children),{autoAlpha:0,y:40},{autoAlpha:1,y:0,stagger:.2,duration:.5,ease:"power2.out"}))},m=()=>{e.value&&(r.value=!1,i.set(Array.from(e.value.children),{autoAlpha:0,y:40}))},{isInFullPage:v}=O(e,c,m);let l=null,n=null;return w(()=>{e.value&&i.set(Array.from(e.value.children),{autoAlpha:0,y:40}),v.value||(l=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&c()})},{threshold:.3}),n=new IntersectionObserver(t=>{t.forEach(s=>{!s.isIntersecting&&r.value&&m()})}),e.value&&(l.observe(e.value),n.observe(e.value)))}),k(()=>{l?.disconnect(),n?.disconnect()}),(t,s)=>{const _=x,g=b;return B(),I("div",{ref_key:"root",ref:e,class:"px-6 xl:px-0 py-2 md:py-6 grid grid-cols-1 md:grid-cols-2 gap-6 text-left"},[u("div",{class:"rounded-[1.25rem] p-8 lg:p-12 flex",style:P(a(h))},[p(_,{level:a(o).title_size||"h2",class:"font-bold text-h4 lg:text-h3",html:a(o).title},null,8,["level","html"])],4),u("div",z,[p(g,{html:a(o).description,class:"text-base lg:text-lg text-black leading-normal !mx-0 !max-w-none [&_p]:mb-[1em] last:[&_p]:mb-0"},null,8,["html"])])],512)}}});export{U 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.