1import{_ as C}from"./BGMwKhe_.js";import{_ as A}from"./T4qx5pAP.js";import{_ as P}from"./CcgHLOnJ.js";import{u as V,j,k as E,w as u,l as x,o as H,c as i,a as s,b as t,d as _,e as p,t as m,n as L,F as S,r as T,f as n,g as U}from"./ClS0-jLi.js";import{j as g}from"./DRzGW2vL.js";import{S as F,i as N,a as z,d as D,t as G}from"./DE11qgds.js";import{u as I,g as $}from"./CyK7VpNk.js";import{g as O}from"./BfC5RXdj.js";import{n as R}from"./DYYNZbRe.js";import{g as W}from"./MkZDWhN2.js";import{S as y}from"./QTFLq4yf.js";import"./Dqxmxt4-.js";import"./C4iS2aBk.js";import"./LMv-itJy.js";const q=["src","alt"],J={class:"device-content"},K={class:"page-title"},Q={class:"page-title_top"},X=["innerHTML"],Y={class:"page-content"},Z={class:"device-content"},ee=["innerHTML"],te=s("br",null,null,-1),se=s("br",null,null,-1),oe={key:0,class:"support-events"},ae={class:"support-events_title"},ie={class:"support-events-upcoming_swiper"},ne={class:"swiper-wrapper"},re={key:1,class:"support-events"},le={class:"support-events_title"},pe={class:"support-events-past_swiper"},ce={class:"swiper-wrapper"},Ce={__name:"[slug]",async setup(de){let a,r;W.registerPlugin(F);const{locale:b}=V(),h=j(),c=U();let B=E(h.fullPath),e;B.value=window.location.href;const{data:d}=([a,r]=u(()=>fetch(c.app.strapiBaseUri+"/api/tags?"+g({locale:b.value,filters:{slug:h.params.slug},populate:{image:{populate:"*"},contents:{populate:"*"},Seo:{populate:"*"}}}),{method:"GET"}).then(o=>o.json())),a=await a,r(),a);if(d.length==0)throw x({statusCode:404,statusMessage:"Page Not Found"});e=d[0],e.id=d[0].id;const{data:v}=([a,r]=u(()=>fetch(c.app.strapiBaseUri+"/api/events?"+g({sort:{date_auto:"asc"},pagination:{limit:1e8},populate:{categories:{populate:"*"},image:{populate:"*"},dates:{populate:"*"}},filters:{dates:{date_start:{$gte:new Date().toISOString()}},tags:e.id}}),{method:"GET"}).then(o=>o.json())),a=await a,r(),a),{data:w}=([a,r]=u(()=>fetch(c.app.strapiBaseUri+"/api/events?"+g({sort:{date_auto:"desc"},pagination:{limit:1e8},populate:{categories:{populate:"*"},image:{populate:"*"},dates:{populate:"*"}},filters:{dates:{date_start:{$lte:new Date().toISOString()}},tags:e.id}}),{method:"GET"}).then(o=>o.json())),a=await a,r(),a);return H(()=>{N(),setTimeout(function(){z()||(new y(".support-events-upcoming_swiper",{direction:"horizontal",slidesPerView:1.1,spaceBetween:10,mousewheelControl:!0,mousewheel:{forceToAxis:!0},breakpoints:{768:{slidesPerView:3,spaceBetween:16}}}),new y(".support-events-past_swiper",{direction:"horizontal",slidesPerView:1.1,spaceBetween:10,mousewheelControl:!0,mousewheel:{forceToAxis:!0},breakpoints:{768:{slidesPerView:3,spaceBetween:16}}}))},D)}),e.Seo&&I({title:e.Seo.metaTitle,meta:$(e.Seo),bodyAttrs:{class:"generic"}}),(o,ue)=>{const M=C,k=A,f=P;return n(),i("div",null,[s("div",{class:L(["page-head",{"page-head_noimg":!t(e).image}])},[t(e).image?(n(),i("img",{key:0,src:("getStrapiMedia"in o?o.getStrapiMedia:t(O))(t(e).image,"xlarge"),alt:t(e).title},null,8,q)):_("",!0),s("div",J,[p(M,{title:t(e).title},null,8,["title"])]),s("div",K,[s("div",Q,m(o.$t("you_are")),1),s("h1",{innerHTML:("textToArray"in o?o.textToArray:t(G))(t(e).title,!0)},null,8,X)])],2),s("div",Y,[s("div",Z,[s("div",{class:"page-chapo",innerHTML:("nl2br"in o?o.nl2br:t(R))(t(e).chapo)},null,8,ee),p(k,{contents:t(e).contents},null,8,["contents"]),te,se,t(v).length>0?(n(),i("div",oe,[s("div",ae,m(t(e).titleUpcoming),1),s("div",ie,[s("div",ne,[(n(!0),i(S,null,T(t(v),l=>(n(),i("div",{class:"event-list_item swiper-slide",key:l.id},[p(f,{event:l},null,8,["event"])]))),128))])])])):_("",!0),t(w).length>0?(n(),i("div",re,[s("div",le,m(t(e).titlePast),1),s("div",pe,[s("div",ce,[(n(!0),i(S,null,T(t(w),l=>(n(),i("div",{class:"event-list_item swiper-slide",key:l.id},[p(f,{event:l},null,8,["event"])]))),128))])])])):_("",!0)])])])}}};export{Ce 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.