1import{_ as h,c as l,e as c,d as a,l as r,I as u,s as x,m as o,B as A,a0 as b,T as y,f as C,Z as g,F as L,D as k,q as f,y as w,x as $,G as B,H as E,A as P,n as T}from"./D6kZnXXN.js";const I={props:{},inject:["Accordion"],data(){return{index:null}},computed:{visible(){return this.index==this.Accordion.active}},methods:{open(){this.visible?this.Accordion.active=null:this.Accordion.active=this.index},start(n){n.style.height=n.scrollHeight+"px"},end(n){n.style.height=""}},created(){this.index=this.Accordion.count++}},N={class:"accordion-item"},S=["aria-expanded","aria-controls"],V=["id"];function D(n,t,p,d,i,e){return c(),l("li",N,[a("button",{class:x(["accordion-header",{"accordion-header-active":e.visible}]),onClick:t[0]||(t[0]=(..._)=>e.open&&e.open(..._)),"aria-expanded":e.visible,"aria-controls":`accordion-${i.index}`,type:"button"},[u(n.$slots,"accordion-header",{},void 0,!0),t[1]||(t[1]=a("svg",{width:"24",height:"15",viewBox:"0 0 24 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M3.63025 0.605042L12 8.97479L20.3697 0.605042C21.1765 -0.201681 22.5882 -0.201681 23.395 0.605042C24.2017 1.51261 24.2017 2.82353 23.395 3.63025L13.5126 13.5126C12.7059 14.4202 11.2941 14.4202 10.4874 13.5126L0.605042 3.63025C-0.201681 2.82353 -0.201681 1.51261 0.605042 0.605042C1.41176 -0.201681 2.82353 -0.201681 3.63025 0.605042Z",fill:"currentColor"})],-1))],10,S),r(y,{name:"accordion",onEnter:e.start,onAfterEnter:e.end,onBeforeLeave:e.start,onAfterLeave:e.end},{default:o(()=>[A(a("div",{class:"accordion-content",id:`accordion-${i.index}`},[u(n.$slots,"accordion-content",{},void 0,!0)],8,V),[[b,e.visible]])]),_:3},8,["onEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])])}const F=h(I,[["render",D],["__scopeId","data-v-39bfd63c"]]),H={props:{},data(){return{Accordion:{count:0,active:0}}},provide(){return{Accordion:this.Accordion}}},R={class:"accordion"};function Z(n,t,p,d,i,e){return c(),l("ul",R,[u(n.$slots,"default",{},void 0,!0)])}const j=h(H,[["render",Z],["__scopeId","data-v-c1ef5018"]]),q=["data-slice-type","data-slice-variation"],z={class:"accordion-body spacer"},M=C({__name:"index",props:g(),setup(n){return(t,p)=>{const d=$,i=B,e=F,_=j,m=T;return c(),l("section",{"data-slice-type":t.slice.slice_type,"data-slice-variation":t.slice.variation,class:"accordion-slice slice"},[r(m,null,{default:o(()=>[r(_,null,{default:o(()=>[(c(!0),l(L,null,k(t.slice.items,(s,v)=>(c(),f(e,{key:v},{"accordion-header":o(()=>[r(d,{field:s.header,class:"accordion-header"},null,8,["field"])]),"accordion-content":o(()=>[a("div",z,[r(d,{field:s.content,class:"accordion-body-description"},null,8,["field"]),s.button_toggle?(c(),f(i,{key:0,class:"primary-btn",field:s.button_link},{default:o(()=>[E(P(s.button_text),1)]),_:2},1032,["field"])):w("",!0)])]),_:2},1024))),128))]),_:1})]),_:1})],8,q)}}});export{M 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.