import{n as se,$ as Ir,a0 as zn,a1 as An,a2 as Dn,a3 as On,X as Nt,q as S,c as ae,S as oe,i as ce,s as le,A as Z,G as at,v as Q,o as J,w as ie,x as ee,j as N,r as O,u as de,g as $,y as te,a4 as Lt,Y as Re,a5 as Pr,z as fe,e as L,b as z,d as I,D as y,N as ye,a6 as Vn,a7 as Hn,O as We,P as Ue,Q as Ze,R as Ke,m as Ge,C as Lr,a as W,h as U,k,V as Ee,_ as ke,t as ue,f as pe,l as me,T as Me,a8 as Je,a9 as Ts,I as we,J as be,K as Xe,F as _t,aa as Bt,ab as jt,Z as zt,ac as wt,L as Rn,ad as Nn,ae as Bn,U as De,E as jn}from"./Component.oMAkYZ07.js";import"./index.IHki7fMi.js";import{H as Gn,d as ft,w as He,b as Fn}from"./entry.DFAz0jAA.js";import{_ as qn}from"./preload-helper.D6kgxu3v.js";import{p as Fe}from"./stores.DrXO0PWB.js";function Yn(r,e,t,s){if(!e)return se;const i=r.getBoundingClientRect();if(e.left===i.left&&e.right===i.right&&e.top===i.top&&e.bottom===i.bottom)return se;const{delay:l=0,duration:n=300,easing:a=Ir,start:o=zn()+l,end:d=o+n,tick:c=se,css:f}=t(r,{from:e,to:i},s);let u=!0,p=!1,h;function g(){f&&(h=Dn(r,0,1,n,l,a,f)),l||(p=!0)}function v(){f&&On(r,h),u=!1}return An(m=>{if(!p&&m>=o&&(p=!0),p&&m>=d&&(c(1,0),v()),!u)return!1;if(p){const w=m-o,b=0+1*a(w/n);c(b,1-b)}return!0}),g(),c(0,1),v}function Xn(r){const e=getComputedStyle(r);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:t,height:s}=e,i=r.getBoundingClientRect();r.style.position="absolute",r.style.width=t,r.style.height=s,Wn(r,i)}}function Wn(r,e){const t=r.getBoundingClientRect();if(e.left!==t.left||e.top!==t.top){const s=getComputedStyle(r),i=s.transform==="none"?"":s.transform;r.style.transform=`${i} translate(${e.left-t.left}px, ${e.top-t.top}px)`}}function re(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function Un(r,e){r.d(1),e.delete(r.key)}function Zn(r,e){r.f(),Un(r,e)}function Kn(r,e,t,s,i,l,n,a,o,d,c,f){let u=r.length,p=l.length,h=u;const g={};for(;h--;)g[r[h].key]=h;const v=[],m=new Map,w=new Map,b=[];for(h=p;h--;){const H=f(i,l,h),T=t(H);let x=n.get(T);x?s&&b.push(()=>x.p(H,e)):(x=d(T,H),x.c()),m.set(T,v[h]=x),T in g&&w.set(T,Math.abs(h-g[T]))}const _=new Set,E=new Set;function C(H){S(H,1),H.m(a,c),n.set(H.key,H),c=H.first,p--}for(;u&&p;){const H=v[p-1],T=r[u-1],x=H.key,P=T.key;H===T?(c=H.first,u--,p--):m.has(P)?!n.has(x)||_.has(x)?C(H):E.has(P)?u--:w.get(x)>w.get(P)?(E.add(x),C(H)):(_.add(P),u--):(o(T,n),u--)}for(;u--;){const H=r[u];m.has(H.key)||o(H,n)}for(;p;)C(v[p-1]);return Nt(b),v}function ot(r,e){const t={},s={},i={$$scope:1};let l=r.length;for(;l--;){const n=r[l],a=e[l];if(a){for(const o in n)o in a||(s[o]=1);for(const o in a)i[o]||(t[o]=a[o],i[o]=1);r[l]=a}else for(const o in n)i[o]=1}for(const n in s)n in t||(t[n]=void 0);return t}function At(r){return typeof r=="object"&&r!==null?r:{}}let Cs=!1;const Ms=[],Jn=r=>new Promise((e,t)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=i=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}Cs?i():Ms.push(i)},document.getElementById("storyblok-javascript-bridge")))return;const s=document.createElement("script");s.async=!0,s.src=r,s.id="storyblok-javascript-bridge",s.onerror=i=>t(i),s.onload=i=>{Ms.forEach(l=>l()),Cs=!0,e(i)},document.getElementsByTagName("head")[0].appendChild(s)});var Qn=Object.defineProperty,el=(r,e,t)=>e in r?Qn(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,_e=(r,e,t)=>(el(r,typeof e!="symbol"?e+"":e,t),t);function Is(r){return!(r!==r||r===1/0||r===-1/0)}function tl(r,e,t){if(!Is(e))throw new TypeError("Expected `limit` to be a finite number");if(!Is(t))throw new TypeError("Expected `interval` to be a finite number");const s=[];let i=[],l=0;const n=function(){l++;const o=setTimeout(function(){l--,s.length>0&&n(),i=i.filter(function(c){return c!==o})},t);i.indexOf(o)<0&&i.push(o);const d=s.shift();d.resolve(r.apply(d.self,d.args))},a=function(...o){const d=this;return new Promise(function(c,f){s.push({resolve:c,reject:f,args:o,self:d}),l<e&&n()})};return a.abort=function(){i.forEach(clearTimeout),i=[],s.forEach(function(o){o.reject(function(){Error.call(this,"Throttled function aborted"),this.name="AbortError"})}),s.length=0},a}class Dt{constructor(){_e(this,"isCDNUrl",(e="")=>e.indexOf("/cdn/")>-1),_e(this,"getOptionsPage",(e,t=25,s=1)=>({...e,per_page:t,page:s})),_e(this,"delay",e=>new Promise(t=>setTimeout(t,e))),_e(this,"arrayFrom",(e=0,t)=>[...Array(e)].map(t)),_e(this,"range",(e=0,t=e)=>{const s=Math.abs(t-e)||0,i=e<t?1:-1;return this.arrayFrom(s,(l,n)=>n*i+e)}),_e(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),_e(this,"flatMap",(e=[],t)=>e.map(t).reduce((s,i)=>[...s,...i],[])),_e(this,"escapeHTML",function(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=/[&<>"']/g,i=RegExp(s.source);return e&&i.test(e)?e.replace(s,l=>t[l]):e})}stringify(e,t,s){const i=[];for(const l in e){if(!Object.prototype.hasOwnProperty.call(e,l))continue;const n=e[l],a=s?"":encodeURIComponent(l);let o;typeof n=="object"?o=this.stringify(n,t?t+encodeURIComponent("["+a+"]"):a,Array.isArray(n)):o=(t?t+encodeURIComponent("["+a+"]"):a)+"="+encodeURIComponent(n),i.push(o)}return i.join("&")}getRegionURL(e){const t="api.storyblok.com",s="api-us.storyblok.com",i="app.storyblokchina.cn";switch(e){case"us":return s;case"cn":return i;default:return t}}}const sl=function(r,e){const t={};for(const s in r){const i=r[s];e.indexOf(s)>-1&&i!==null&&(t[s]=i)}return t},il=r=>r==="email",rl=()=>({singleTag:"hr"}),nl=()=>({tag:"blockquote"}),ll=()=>({tag:"ul"}),al=r=>({tag:["pre",{tag:"code",attrs:r.attrs}]}),ol=()=>({singleTag:"br"}),cl=r=>({tag:`h${r.attrs.level}`}),dl=r=>({singleTag:[{tag:"img",attrs:sl(r.attrs,["src","alt","title"])}]}),fl=()=>({tag:"li"}),ul=()=>({tag:"ol"}),pl=()=>({tag:"p"}),hl=r=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":r.attrs.name,emoji:r.attrs.emoji}}]}),ml=()=>({tag:"b"}),gl=()=>({tag:"strike"}),vl=()=>({tag:"u"}),wl=()=>({tag:"strong"}),bl=()=>({tag:"code"}),_l=()=>({tag:"i"}),yl=r=>{const e=new Dt().escapeHTML,t={...r.attrs},{linktype:s="url"}=r.attrs;if(t.href&&(t.href=e(r.attrs.href||"")),il(s)&&(t.href=`mailto:${t.href}`),t.anchor&&(t.href=`${t.href}#${t.anchor}`,delete t.anchor),t.custom){for(const i in t.custom)t[i]=t.custom[i];delete t.custom}return{tag:[{tag:"a",attrs:t}]}},$l=r=>({tag:[{tag:"span",attrs:r.attrs}]}),El=()=>({tag:"sub"}),kl=()=>({tag:"sup"}),Sl=r=>({tag:[{tag:"span",attrs:r.attrs}]}),xl=r=>{var e;return(e=r.attrs)!=null&&e.color?{tag:[{tag:"span",attrs:{style:`background-color:${r.attrs.color};`}}]}:{tag:""}},Tl=r=>{var e;return(e=r.attrs)!=null&&e.color?{tag:[{tag:"span",attrs:{style:`color:${r.attrs.color}`}}]}:{tag:""}},ms={nodes:{horizontal_rule:rl,blockquote:nl,bullet_list:ll,code_block:al,hard_break:ol,heading:cl,image:dl,list_item:fl,ordered_list:ul,paragraph:pl,emoji:hl},marks:{bold:ml,strike:gl,underline:vl,strong:wl,code:bl,italic:_l,link:yl,styled:$l,subscript:El,superscript:kl,anchor:Sl,highlight:xl,textStyle:Tl}},Cl=function(r){const e={"&":"&","<":"<",">":">",'"':""","'":"'"},t=/[&<>"']/g,s=RegExp(t.source);return r&&s.test(r)?r.replace(t,i=>e[i]):r};class Ot{constructor(e){_e(this,"marks"),_e(this,"nodes"),e||(e=ms),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1}){if(e&&e.content&&Array.isArray(e.content)){let s="";return e.content.forEach(i=>{s+=this.renderNode(i)}),t.optimizeImages?this.optimizeImages(s,t.optimizeImages):s}return console.warn(`The render method must receive an Object with a "content" field. The "content" field must be an array of nodes as the type ISbRichtext. ISbRichtext: content?: ISbRichtext[] marks?: ISbRichtext[] attrs?: any text?: string type: string Example: { content: [ { content: [ { text: 'Hello World', type: 'text' } ], type: 'paragraph' } ], type: 'doc' }`),""}optimizeImages(e,t){let s=0,i=0,l="",n="";typeof t!="boolean"&&(typeof t.width=="number"&&t.width>0&&(l+=`width="${t.width}" `,s=t.width),typeof t.height=="number"&&t.height>0&&(l+=`height="${t.height}" `,i=t.height),(t.loading==="lazy"||t.loading==="eager")&&(l+=`loading="${t.loading}" `),typeof t.class=="string"&&t.class.length>0&&(l+=`class="${t.class}" `),t.filters&&(typeof t.filters.blur=="number"&&t.filters.blur>=0&&t.filters.blur<=100&&(n+=`:blur(${t.filters.blur})`),typeof t.filters.brightness=="number"&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(n+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-Fa-f]{6}/g)||t.filters.fill==="transparent")&&(n+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(n+=`:format(${t.filters.format})`),typeof t.filters.grayscale=="boolean"&&t.filters.grayscale&&(n+=":grayscale()"),typeof t.filters.quality=="number"&&t.filters.quality>=0&&t.filters.quality<=100&&(n+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(n+=`:rotate(${t.filters.rotate})`),n.length>0&&(n="/filters"+n))),l.length>0&&(e=e.replace(/<img/g,`<img ${l.trim()}`));const a=s>0||i>0||n.length>0?`${s}x${i}${n}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${a}`),typeof t!="boolean"&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,o=>{var d,c;const f=o.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g);if(f&&f.length>0){const u={srcset:(d=t.srcset)==null?void 0:d.map(h=>{if(typeof h=="number")return`//${f}/m/${h}x0${n} ${h}w`;if(typeof h=="object"&&h.length===2){let g=0,v=0;return typeof h[0]=="number"&&(g=h[0]),typeof h[1]=="number"&&(v=h[1]),`//${f}/m/${g}x${v}${n} ${g}w`}}).join(", "),sizes:(c=t.sizes)==null?void 0:c.map(h=>h).join(", ")};let p="";return u.srcset&&(p+=`srcset="${u.srcset}" `),u.sizes&&(p+=`sizes="${u.sizes}" `),o.replace(/<img/g,`<img ${p.trim()}`)}return o})),e}renderNode(e){const t=[];e.marks&&e.marks.forEach(i=>{const l=this.getMatchingMark(i);l&&l.tag!==""&&t.push(this.renderOpeningTag(l.tag))});const s=this.getMatchingNode(e);return s&&s.tag&&t.push(this.renderOpeningTag(s.tag)),e.content?e.content.forEach(i=>{t.push(this.renderNode(i))}):e.text?t.push(Cl(e.text)):s&&s.singleTag?t.push(this.renderTag(s.singleTag," /")):s&&s.html?t.push(s.html):e.type==="emoji"&&t.push(this.renderEmoji(e)),s&&s.tag&&t.push(this.renderClosingTag(s.tag)),e.marks&&e.marks.slice(0).reverse().forEach(i=>{const l=this.getMatchingMark(i);l&&l.tag!==""&&t.push(this.renderClosingTag(l.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(s=>{if(s.constructor===String)return`<${s}${t}>`;{let i=`<${s.tag}`;if(s.attrs)for(const l in s.attrs){const n=s.attrs[l];n!==null&&(i+=` ${l}="${n}"`)}return`${i}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(t=>t.constructor===String?`</${t}>`:`</${t.tag}>`).join("")}getMatchingNode(e){const t=this.nodes[e.type];if(typeof t=="function")return t(e)}getMatchingMark(e){const t=this.marks[e.type];if(typeof t=="function")return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;const t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}}class Ml{constructor(e){_e(this,"baseURL"),_e(this,"timeout"),_e(this,"headers"),_e(this,"responseInterceptor"),_e(this,"fetch"),_e(this,"ejectInterceptor"),_e(this,"url"),_e(this,"parameters"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=e!=null&&e.timeout?e.timeout*1e3:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t,this._methodHandler("delete")}async _responseHandler(e){const t=[],s={data:{},headers:{},status:0,statusText:""};e.status!==204&&await e.json().then(i=>{s.data=i});for(const i of e.headers.entries())t[i[0]]=i[1];return s.headers={...t},s.status=e.status,s.statusText=e.statusText,s}async _methodHandler(e){let t=`${this.baseURL}${this.url}`,s=null;if(e==="get"){const o=new Dt;t=`${this.baseURL}${this.url}?${o.stringify(this.parameters)}`}else s=JSON.stringify(this.parameters);const i=new URL(t),l=new AbortController,{signal:n}=l;let a;this.timeout&&(a=setTimeout(()=>l.abort(),this.timeout));try{const o=await this.fetch(`${i}`,{method:e,headers:this.headers,body:s,signal:n});this.timeout&&clearTimeout(a);const d=await this._responseHandler(o);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(d)):this._statusHandler(d)}catch(o){return{message:o}}}eject(){this.ejectInterceptor=!0}_statusHandler(e){const t=/20[0-6]/g;return new Promise(s=>{if(t.test(`${e.status}`))return s(e);const i={message:e.statusText,status:e.status,response:Array.isArray(e.data)?e.data[0]:e.data.error||e.data.slug};throw new Error(JSON.stringify(i))})}}const Ps="SB-Agent",Zt={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"5.14.2"};let Tt={};const lt={};class Il{constructor(e,t){_e(this,"client"),_e(this,"maxRetries"),_e(this,"throttle"),_e(this,"accessToken"),_e(this,"cache"),_e(this,"helpers"),_e(this,"resolveCounter"),_e(this,"relations"),_e(this,"links"),_e(this,"richTextResolver"),_e(this,"resolveNestedRelations");let s=e.endpoint||t;if(!s){const n=new Dt().getRegionURL,a=e.https===!1?"http":"https";e.oauthToken?s=`${a}://${n(e.region)}/v1`:s=`${a}://${n(e.region)}/v2`}const i=new Headers;if(i.set("Content-Type","application/json"),i.set("Accept","application/json"),e.headers)for(const n in e.headers)i.set(n,e.headers[n]);i.has(Ps)||(i.set(Ps,Zt.defaultAgentName),i.set(Zt.defaultAgentVersion,Zt.packageVersion));let l=5;e.oauthToken&&(i.set("Authorization",e.oauthToken),l=3),e.rateLimit&&(l=e.rateLimit),e.richTextSchema?this.richTextResolver=new Ot(e.richTextSchema):this.richTextResolver=new Ot,e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||5,this.throttle=tl(this.throttledRequest,l,1e3),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.helpers=new Dt,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.client=new Ml({baseURL:s,timeout:e.timeout||0,headers:i,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let s="";return t.attrs.body&&t.attrs.body.forEach(i=>{s+=e(i.component,i)}),{html:s}})}parseParams(e){return e.version||(e.version="published"),e.token||(e.token=this.getToken()),e.cv||(e.cv=lt[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),e}factoryParamOptions(e,t){return this.helpers.isCDNUrl(e)?this.parseParams(t):t}makeRequest(e,t,s,i){const l=this.factoryParamOptions(e,this.helpers.getOptionsPage(t,s,i));return this.cacheResponse(e,l)}get(e,t){t||(t={});const s=`/${e}`,i=this.factoryParamOptions(s,t);return this.cacheResponse(s,i)}async getAll(e,t,s){const i=(t==null?void 0:t.per_page)||25,l=`/${e}`,n=l.split("/"),a=s||n[n.length-1],o=1,d=await this.makeRequest(l,t,i,o),c=d.total?Math.ceil(d.total/i):1,f=await this.helpers.asyncMap(this.helpers.range(o,c),u=>this.makeRequest(l,t,i,u+1));return this.helpers.flatMap([d,...f],u=>Object.values(u.data[a]))}post(e,t){const s=`/${e}`;return Promise.resolve(this.throttle("post",s,t))}put(e,t){const s=`/${e}`;return Promise.resolve(this.throttle("put",s,t))}delete(e,t){const s=`/${e}`;return Promise.resolve(this.throttle("delete",s,t))}getStories(e){return this.get("cdn/stories",e)}getStory(e,t){return this.get(`cdn/stories/${e}`,t)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,s){const i=e[t];i&&i.fieldtype=="multilink"&&i.linktype=="story"&&typeof i.id=="string"&&this.links[s][i.id]?i.story=this._cleanCopy(this.links[s][i.id]):i&&i.linktype==="story"&&typeof i.uuid=="string"&&this.links[s][i.uuid]&&(i.story=this._cleanCopy(this.links[s][i.uuid]))}_insertRelations(e,t,s,i){if(s.indexOf(`${e.component}.${t}`)>-1){if(typeof e[t]=="string")this.relations[i][e[t]]&&(e[t]=this._cleanCopy(this.relations[i][e[t]]));else if(e[t]&&e[t].constructor===Array){const l=[];e[t].forEach(n=>{this.relations[i][n]&&l.push(this._cleanCopy(this.relations[i][n]))}),e[t]=l}}}iterateTree(e,t,s){const i=l=>{if(l!=null){if(l.constructor===Array)for(let n=0;n<l.length;n++)i(l[n]);else if(l.constructor===Object){if(l._stopResolving)return;for(const n in l)(l.component&&l._uid||l.type==="link")&&(this._insertRelations(l,n,t,s),this._insertLinks(l,n,s)),i(l[n])}}};i(e.content)}async resolveLinks(e,t,s){let i=[];if(e.link_uuids){const l=e.link_uuids.length,n=[],a=50;for(let o=0;o<l;o+=a){const d=Math.min(l,o+a);n.push(e.link_uuids.slice(o,d))}for(let o=0;o<n.length;o++)(await this.getStories({per_page:a,language:t.language,version:t.version,by_uuids:n[o].join(",")})).data.stories.forEach(d=>{i.push(d)})}else i=e.links;i.forEach(l=>{this.links[s][l.uuid]={...l,_stopResolving:!0}})}async resolveRelations(e,t,s){let i=[];if(e.rel_uuids){const l=e.rel_uuids.length,n=[],a=50;for(let o=0;o<l;o+=a){const d=Math.min(l,o+a);n.push(e.rel_uuids.slice(o,d))}for(let o=0;o<n.length;o++)(await this.getStories({per_page:a,language:t.language,version:t.version,by_uuids:n[o].join(",")})).data.stories.forEach(d=>{i.push(d)})}else i=e.rels;i&&i.length>0&&i.forEach(l=>{this.relations[s][l.uuid]={...l,_stopResolving:!0}})}async resolveStories(e,t,s){var i,l;let n=[];if(this.links[s]={},this.relations[s]={},typeof t.resolve_relations<"u"&&t.resolve_relations.length>0&&(typeof t.resolve_relations=="string"&&(n=t.resolve_relations.split(",")),await this.resolveRelations(e,t,s)),t.resolve_links&&["1","story","url","link"].indexOf(t.resolve_links)>-1&&((i=e.links)!=null&&i.length||(l=e.link_uuids)!=null&&l.length)&&await this.resolveLinks(e,t,s),this.resolveNestedRelations)for(const a in this.relations[s])this.iterateTree(this.relations[s][a],n,s);e.story?this.iterateTree(e.story,n,s):e.stories.forEach(a=>{this.iterateTree(a,n,s)}),delete this.links[s],delete this.relations[s]}async cacheResponse(e,t,s){(typeof s>"u"||!s)&&(s=0);const i=this.helpers.stringify({url:e,params:t}),l=this.cacheProvider();if(this.cache.clear==="auto"&&t.version==="draft"&&await this.flushCache(),t.version==="published"&&e!="/cdn/spaces/me"){const n=await l.get(i);if(n)return Promise.resolve(n)}return new Promise(async(n,a)=>{var o;try{const d=await this.throttle("get",e,t);if(d.status!==200)return a(d);let c={data:d.data,headers:d.headers};if((o=d.headers)!=null&&o["per-page"]&&(c=Object.assign({},c,{perPage:d.headers["per-page"]?parseInt(d.headers["per-page"]):0,total:d.headers["per-page"]?parseInt(d.headers.total):0})),c.data.story||c.data.stories){const f=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(c.data,t,`${f}`)}return t.version==="published"&&e!="/cdn/spaces/me"&&await l.set(i,c),c.data.cv&&t.token&&(t.version=="draft"&<[t.token]!=c.data.cv&&await this.flushCache(),lt[t.token]=c.data.cv),n(c)}catch(d){if(d.response&&d.response.status===429&&(s=s?s+1:0,s<this.maxRetries))return console.log(`Hit rate limit. Retrying in ${s} seconds.`),await this.helpers.delay(1e3*s),this.cacheResponse(e,t,s).then(n).catch(a);a(d.message)}})}throttledRequest(e,t,s){return this.client[e](t,s)}cacheVersions(){return lt}cacheVersion(){return lt[this.accessToken]}setCacheVersion(e){this.accessToken&&(lt[this.accessToken]=e)}cacheProvider(){switch(this.cache.type){case"memory":return{get(e){return Promise.resolve(Tt[e])},getAll(){return Promise.resolve(Tt)},set(e,t){return Tt[e]=t,Promise.resolve(void 0)},flush(){return Tt={},Promise.resolve(void 0)}};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get(){return Promise.resolve(void 0)},getAll(){return Promise.resolve(void 0)},set(){return Promise.resolve(void 0)},flush(){return Promise.resolve(void 0)}}}}async flushCache(){return await this.cacheProvider().flush(),this}}const zr=(r={})=>{const{apiOptions:e}=r;if(!e.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new Il(e)}},Pl=r=>{if(typeof r!="object"||typeof r._editable>"u")return{};const e=JSON.parse(r._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return e?{"data-blok-c":JSON.stringify(e),"data-blok-uid":e.id+"-"+e.uid}:{}};let as,Ls="https://app.storyblok.com/f/storyblok-v2-latest.js";const Ll=(r,e,t={})=>{var s;const i=!(typeof window>"u")&&typeof window.storyblokRegisterEvent<"u",l=+new URL((s=window.location)==null?void 0:s.href).searchParams.get("_storyblok")===r;if(!(!i||!l)){if(!r){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(t).on(["input","published","change"],n=>{n.action==="input"&&n.story.id===r?e(n.story):(n.action==="change"||n.action==="published")&&n.storyId===r&&window.location.reload()})})}},zl=(r={})=>{var e,t;const{bridge:s,accessToken:i,use:l=[],apiOptions:n={},richText:a={},bridgeUrl:o}=r;n.accessToken=n.accessToken||i;const d={bridge:s,apiOptions:n};let c={};l.forEach(u=>{c={...c,...u(d)}}),o&&(Ls=o);const f=!(typeof window>"u")&&((t=(e=window.location)==null?void 0:e.search)==null?void 0:t.includes("_storyblok_tk"));return s!==!1&&f&&Jn(Ls),as=new Ot(a.schema),a.resolver&&Ar(as,a.resolver),c},Ar=(r,e)=>{r.addNode("blok",t=>{let s="";return t.attrs.body.forEach(i=>{s+=e(i.component,i)}),{html:s}})},Al=r=>!r||!(r!=null&&r.content.some(e=>e.content||e.type==="blok"||e.type==="horizontal_rule")),Dl=(r,e,t)=>{let s=t||as;if(!s){console.error("Please initialize the Storyblok SDK before calling the renderRichText function");return}return Al(r)?"":(e&&(s=new Ot(e.schema),e.resolver&&Ar(s,e.resolver)),s.render(r))};function Ol(r){let e,t,s;const i=[{blok:r[0]},r[2]];var l=r[1];function n(a,o){let d={};for(let c=0;c<i.length;c+=1)d=Re(d,i[c]);return o!==void 0&&o&5&&(d=Re(d,ot(i,[o&1&&{blok:a[0]},o&4&&At(a[2])]))),{props:d}}return l&&(e=at(l,n(r))),{c(){e&&Q(e.$$.fragment),t=J()},l(a){e&&ie(e.$$.fragment,a),t=J()},m(a,o){e&&ee(e,a,o),N(a,t,o),s=!0},p(a,[o]){if(o&2&&l!==(l=a[1])){if(e){fe();const d=e;O(d.$$.fragment,1,0,()=>{te(d,1)}),de()}l?(e=at(l,n(a,o)),Q(e.$$.fragment),S(e.$$.fragment,1),ee(e,t.parentNode,t)):e=null}else if(l){const d=o&5?ot(i,[o&1&&{blok:a[0]},o&4&&At(a[2])]):{};e.$set(d)}},i(a){s||(e&&S(e.$$.fragment,a),s=!0)},o(a){e&&O(e.$$.fragment,a),s=!1},d(a){a&&$(t),e&&te(e,a)}}}function Vl(r,e,t){const s=["blok"];let i=Lt(e,s),l,{blok:n}=e;return n?l=Vr(n.component):console.error("Please provide a 'blok' property to the StoryblokComponent"),r.$$set=a=>{e=Re(Re({},e),Pr(a)),t(2,i=Lt(e,s)),"blok"in a&&t(0,n=a.blok)},[n,l,i]}let Dr=class extends oe{constructor(e){super(),ce(this,e,Vl,Ol,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}};ae(Dr,{blok:{}},[],[],!0);const Se=(r,e)=>{const t=s=>{const i=Pl(s);i["data-blok-c"]&&(r.setAttribute("data-blok-c",i["data-blok-c"]),r.setAttribute("data-blok-uid",i["data-blok-uid"]),r.classList.add("storyblok__outline"))};return t(e),{update(s){t(s)}}};let os=null;const cs=()=>(os||console.log("You can't use getStoryblokApi if you're not loading apiPlugin."),os);let Mt=null;const Or=r=>{const{storyblokApi:e}=zl(r);os=e,Mt=r.components||{}},Vr=r=>{let e=null;return e=typeof Mt=="function"?Mt()[r]:Mt[r],e||console.error(`You didn't load the ${r} component. Please load it in storyblokInit. For example: storyblokInit({ accessToken: "<your-token>", components: { "teaser": Teaser } }) `),e},Hl=Object.freeze(Object.defineProperty({__proto__:null,RichTextSchema:ms,StoryblokComponent:Dr,apiPlugin:zr,getComponent:Vr,getStoryblokApi:cs,renderRichText:Dl,storyblokEditable:Se,storyblokInit:Or,useStoryblokApi:cs,useStoryblokBridge:Ll},Symbol.toStringTag,{value:"Module"})),Rl="https://dget.de",Nl="DGZ",Bl="QEd0XfqYqDNWe0R0ZpWmYgtt",jl="https://dgpzm.de",Gl="https://dgr2z.de",Fl="https://dgz-online.de";async function ql(r=""){r=r===""?Bl:r,await Or({accessToken:r,use:[zr],apiOptions:{cache:{type:"none"}}})}const Kt=async r=>{var t,s,i,l;let e="home";return(t=r.params)!=null&&t.slug&&((s=r.params)==null?void 0:s.slug)!=="/"&&((i=r.params)==null?void 0:i.slug.length)>1&&(e=r.params.slug),((l=r.params)==null?void 0:l.slug)==="sitemap"?{dataStory:await r.storyblokApi.get("cdn/stories",{version:r.mode?"draft":"published",...r.options,per_page:100,content_type:"page",resolve_links:"url",excluding_fields:"body,component,_uid,_editable",cv:Date.now()}),slug:e}:{dataStory:await r.storyblokApi.get("cdn/stories/"+e,{version:r.mode?"draft":"published",...r.options,cv:Date.now()}),slug:e}};function zs(r,e){throw new Gn(r,e)}new TextEncoder;const uu=async({params:r,parent:e,data:t,customSlug:s,sitemap:i,extraQueries:l,storyblokOptions:n})=>{var a,o;try{if(await e(),t!=null&&t.previewToken){await ql(t.previewToken);const d=cs(),c=l?Array.from(l,([v,m])=>Kt({storyblokApi:d,params:{slug:v},mode:!0,options:m})):[],f=i?[Kt({storyblokApi:d,params:{slug:"sitemap"},mode:!0})]:[],u=[Kt({storyblokApi:d,params:s?{slug:s}:r,mode:!0,options:n}),...c,...f],p=await Promise.allSettled(u),h=l?Array.from(l.keys()).reduce((v,m,w)=>(v[m]=p[w+1].value.dataStory.data.story,v),{}):{},g=i&&p[p.length-1].status==="fulfilled"?(o=(a=p[p.length-1])==null?void 0:a.value)==null?void 0:o.dataStory.data.stories:{};if(p.every(v=>v.status==="fulfilled")){const v=p[0].status==="fulfilled"?p[0].value.dataStory.data.story:{};return{story:v,extraQueries:h,sitemap:g,editor:!0,slug:v.slug}}throw zs(404,"Seite nicht gefunden")}else return{story:t.story,extraQueries:t==null?void 0:t.extraQueries,sitemap:t==null?void 0:t.sitemap,editor:!1,slug:""}}catch(d){throw console.log(d),zs(404,"Seite nicht gefunden")}};var Yl=Object.defineProperty,Xl=(r,e,t)=>e in r?Yl(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Oe=(r,e,t)=>(Xl(r,typeof e!="symbol"?e+"":e,t),t);class Wl{constructor(){Oe(this,"isCDNUrl",(e="")=>e.indexOf("/cdn/")>-1),Oe(this,"getOptionsPage",(e,t=25,s=1)=>({...e,per_page:t,page:s})),Oe(this,"delay",e=>new Promise(t=>setTimeout(t,e))),Oe(this,"arrayFrom",(e=0,t)=>[...Array(e)].map(t)),Oe(this,"range",(e=0,t=e)=>{const s=Math.abs(t-e)||0,i=e<t?1:-1;return this.arrayFrom(s,(l,n)=>n*i+e)}),Oe(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),Oe(this,"flatMap",(e=[],t)=>e.map(t).reduce((s,i)=>[...s,...i],[])),Oe(this,"escapeHTML",function(e){const t={"&":"&","<":"<",">":">",'"':""","'":"'"},s=/[&<>"']/g,i=RegExp(s.source);return e&&i.test(e)?e.replace(s,l=>t[l]):e})}stringify(e,t,s){const i=[];for(const l in e){if(!Object.prototype.hasOwnProperty.call(e,l))continue;const n=e[l],a=s?"":encodeURIComponent(l);let o;typeof n=="object"?o=this.stringify(n,t?t+encodeURIComponent("["+a+"]"):a,Array.isArray(n)):o=(t?t+encodeURIComponent("["+a+"]"):a)+"="+encodeURIComponent(n),i.push(o)}return i.join("&")}getRegionURL(e){const t="api.storyblok.com",s="api-us.storyblok.com",i="app.storyblokchina.cn";switch(e){case"us":return s;case"cn":return i;default:return t}}}const Ul=function(r,e){const t={};for(const s in r){const i=r[s];e.indexOf(s)>-1&&i!==null&&(t[s]=i)}return t},Zl=r=>r==="email",Kl=()=>({singleTag:"hr"}),Jl=()=>({tag:"blockquote"}),Ql=()=>({tag:"ul"}),ea=r=>({tag:["pre",{tag:"code",attrs:r.attrs}]}),ta=()=>({singleTag:"br"}),sa=r=>({tag:`h${r.attrs.level}`}),ia=r=>({singleTag:[{tag:"img",attrs:Ul(r.attrs,["src","alt","title"])}]}),ra=()=>({tag:"li"}),na=()=>({tag:"ol"}),la=()=>({tag:"p"}),aa=r=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":r.attrs.name,emoji:r.attrs.emoji}}]}),oa=()=>({tag:"b"}),ca=()=>({tag:"strike"}),da=()=>({tag:"u"}),fa=()=>({tag:"strong"}),ua=()=>({tag:"code"}),pa=()=>({tag:"i"}),ha=r=>{if(!r.attrs)return{tag:""};const e=new Wl().escapeHTML,t={...r.attrs},{linktype:s="url"}=r.attrs;if(delete t.linktype,t.href&&(t.href=e(r.attrs.href||"")),Zl(s)&&(t.href=`mailto:${t.href}`),t.anchor&&(t.href=`${t.href}#${t.anchor}`,delete t.anchor),t.custom){for(const i in t.custom)t[i]=t.custom[i];delete t.custom}return{tag:[{tag:"a",attrs:t}]}},ma=r=>({tag:[{tag:"span",attrs:r.attrs}]}),ga=()=>({tag:"sub"}),va=()=>({tag:"sup"}),wa=r=>({tag:[{tag:"span",attrs:r.attrs}]}),ba=r=>{var e;return(e=r.attrs)!=null&&e.color?{tag:[{tag:"span",attrs:{style:`background-color:${r.attrs.color};`}}]}:{tag:""}},_a=r=>{var e;return(e=r.attrs)!=null&&e.color?{tag:[{tag:"span",attrs:{style:`color:${r.attrs.color}`}}]}:{tag:""}},ya={nodes:{horizontal_rule:Kl,blockquote:Jl,bullet_list:Ql,code_block:ea,hard_break:ta,heading:sa,image:ia,list_item:ra,ordered_list:na,paragraph:la,emoji:aa},marks:{bold:oa,strike:ca,underline:da,strong:fa,code:ua,italic:pa,link:ha,styled:ma,subscript:ga,superscript:va,anchor:wa,highlight:ba,textStyle:_a}},$a=function(r){const e={"&":"&","<":"<",">":">",'"':""","'":"'"},t=/[&<>"']/g,s=RegExp(t.source);return r&&s.test(r)?r.replace(t,i=>e[i]):r};class Ea{constructor(e){Oe(this,"marks"),Oe(this,"nodes"),e||(e=ya),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1}){if(e&&e.content&&Array.isArray(e.content)){let s="";return e.content.forEach(i=>{s+=this.renderNode(i)}),t.optimizeImages?this.optimizeImages(s,t.optimizeImages):s}return console.warn(`The render method must receive an Object with a "content" field. The "content" field must be an array of nodes as the type ISbRichtext. ISbRichtext: content?: ISbRichtext[] marks?: ISbRichtext[] attrs?: any text?: string type: string Example: { content: [ { content: [ { text: 'Hello World', type: 'text' } ], type: 'paragraph' } ], type: 'doc' }`),""}optimizeImages(e,t){let s=0,i=0,l="",n="";typeof t!="boolean"&&(typeof t.width=="number"&&t.width>0&&(l+=`width="${t.width}" `,s=t.width),typeof t.height=="number"&&t.height>0&&(l+=`height="${t.height}" `,i=t.height),(t.loading==="lazy"||t.loading==="eager")&&(l+=`loading="${t.loading}" `),typeof t.class=="string"&&t.class.length>0&&(l+=`class="${t.class}" `),t.filters&&(typeof t.filters.blur=="number"&&t.filters.blur>=0&&t.filters.blur<=100&&(n+=`:blur(${t.filters.blur})`),typeof t.filters.brightness=="number"&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(n+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-Fa-f]{6}/g)||t.filters.fill==="transparent")&&(n+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(n+=`:format(${t.filters.format})`),typeof t.filters.grayscale=="boolean"&&t.filters.grayscale&&(n+=":grayscale()"),typeof t.filters.quality=="number"&&t.filters.quality>=0&&t.filters.quality<=100&&(n+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(n+=`:rotate(${t.filters.rotate})`),n.length>0&&(n="/filters"+n))),l.length>0&&(e=e.replace(/<img/g,`<img ${l.trim()}`));const a=s>0||i>0||n.length>0?`${s}x${i}${n}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${a}`),typeof t!="boolean"&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,o=>{var d,c;const f=o.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g);if(f&&f.length>0){const u={srcset:(d=t.srcset)==null?void 0:d.map(h=>{if(typeof h=="number")return`//${f}/m/${h}x0${n} ${h}w`;if(typeof h=="object"&&h.length===2){let g=0,v=0;return typeof h[0]=="number"&&(g=h[0]),typeof h[1]=="number"&&(v=h[1]),`//${f}/m/${g}x${v}${n} ${g}w`}}).join(", "),sizes:(c=t.sizes)==null?void 0:c.map(h=>h).join(", ")};let p="";return u.srcset&&(p+=`srcset="${u.srcset}" `),u.sizes&&(p+=`sizes="${u.sizes}" `),o.replace(/<img/g,`<img ${p.trim()}`)}return o})),e}renderNode(e){const t=[];e.marks&&e.marks.forEach(i=>{const l=this.getMatchingMark(i);l&&l.tag!==""&&t.push(this.renderOpeningTag(l.tag))});const s=this.getMatchingNode(e);return s&&s.tag&&t.push(this.renderOpeningTag(s.tag)),e.content?e.content.forEach(i=>{t.push(this.renderNode(i))}):e.text?t.push($a(e.text)):s&&s.singleTag?t.push(this.renderTag(s.singleTag," /")):s&&s.html?t.push(s.html):e.type==="emoji"&&t.push(this.renderEmoji(e)),s&&s.tag&&t.push(this.renderClosingTag(s.tag)),e.marks&&e.marks.slice(0).reverse().forEach(i=>{const l=this.getMatchingMark(i);l&&l.tag!==""&&t.push(this.renderClosingTag(l.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(s=>{if(s.constructor===String)return`<${s}${t}>`;{let i=`<${s.tag}`;if(s.attrs)for(const l in s.attrs){const n=s.attrs[l];n!==null&&(i+=` ${l}="${n}"`)}return`${i}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(t=>t.constructor===String?`</${t}>`:`</${t.tag}>`).join("")}getMatchingNode(e){const t=this.nodes[e.type];if(typeof t=="function")return t(e)}getMatchingMark(e){const t=this.marks[e.type];if(typeof t=="function")return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;const t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}}const ka=r=>!r||!(r!=null&&r.content.some(e=>e.content||e.type==="blok"||e.type==="horizontal_rule"));function Hr(r){return r.marks&&(r.marks=r.marks.filter(e=>{var t;return e.type!=="textStyle"||!((t=e.attrs)!=null&&t.color)})),r.content&&(r.content=r.content.map(Hr)),r}const Sa=(r,e)=>{const t=new Ea(e==null?void 0:e.schema),s=e!=null&&e.renderColors?r:Hr(r);return ka(s)?"":(e&&e.resolver&&t.addNode("blok",i=>{let l="";return i.attrs.body.forEach(n=>{l+=e.resolver(n.component,n)}),{html:l}}),t.render(s))};function xa(r){let e,t,s;const i=[{blok:r[0]},r[2]];var l=r[1][r[0].component];function n(a,o){let d={};for(let c=0;c<i.length;c+=1)d=Re(d,i[c]);return o!==void 0&&o&5&&(d=Re(d,ot(i,[o&1&&{blok:a[0]},o&4&&At(a[2])]))),{props:d}}return l&&(e=at(l,n(r))),{c(){e&&Q(e.$$.fragment),t=J()},l(a){e&&ie(e.$$.fragment,a),t=J()},m(a,o){e&&ee(e,a,o),N(a,t,o),s=!0},p(a,[o]){if(o&3&&l!==(l=a[1][a[0].component])){if(e){fe();const d=e;O(d.$$.fragment,1,0,()=>{te(d,1)}),de()}l?(e=at(l,n(a,o)),Q(e.$$.fragment),S(e.$$.fragment,1),ee(e,t.parentNode,t)):e=null}else if(l){const d=o&5?ot(i,[o&1&&{blok:a[0]},o&4&&At(a[2])]):{};e.$set(d)}},i(a){s||(e&&S(e.$$.fragment,a),s=!0)},o(a){e&&O(e.$$.fragment,a),s=!1},d(a){a&&$(t),e&&te(e,a)}}}function Ta(r,e,t){const s=["blok","components"];let i=Lt(e,s),{blok:l}=e,{components:n={}}=e;return r.$$set=a=>{e=Re(Re({},e),Pr(a)),t(2,i=Lt(e,s)),"blok"in a&&t(0,l=a.blok),"components"in a&&t(1,n=a.components)},[l,n,i]}class Ne extends oe{constructor(e){super(),ce(this,e,Ta,xa,le,{blok:0,components:1})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}get components(){return this.$$.ctx[1]}set components(e){this.$$set({components:e}),Z()}}ae(Ne,{blok:{},components:{}},[],[],!0);function As(r,e,t){const s=r.slice();return s[5]=e[t],s[7]=t,s}function Ds(r,e,t){const s=r.slice();return s[8]=e[t],s[10]=t,s}function Ca(r){let e,t=r[3](r[5])+"",s;return{c(){e=new Vn(!1),s=J(),this.h()},l(i){e=Hn(i,!1),s=J(),this.h()},h(){e.a=s},m(i,l){e.m(t,i,l),N(i,s,l)},p(i,l){l&1&&t!==(t=i[3](i[5])+"")&&e.p(t)},i:se,o:se,d(i){i&&($(s),e.d())}}}function Ma(r){let e,t,s=re(r[5].attrs.body),i=[];for(let n=0;n<s.length;n+=1)i[n]=Vs(Ds(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&5){s=re(n[5].attrs.body);let o;for(o=0;o<s.length;o+=1){const d=Ds(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Vs(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Os(r){let e,t;return e=new Ne({props:{blok:r[8],components:r[2]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[8]),i&4&&(l.components=s[2]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Vs(r){let e,t,s=r[2]&&Os(r);return{c(){s&&s.c(),e=J()},l(i){s&&s.l(i),e=J()},m(i,l){s&&s.m(i,l),N(i,e,l),t=!0},p(i,l){i[2]?s?(s.p(i,l),l&4&&S(s,1)):(s=Os(i),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(i){t||(S(s),t=!0)},o(i){O(s),t=!1},d(i){i&&$(e),s&&s.d(i)}}}function Hs(r){let e,t,s,i;const l=[Ma,Ca],n=[];function a(o,d){return o[5].type==="blok"?0:1}return e=a(r),t=n[e]=l[e](r),{c(){t.c(),s=J()},l(o){t.l(o),s=J()},m(o,d){n[e].m(o,d),N(o,s,d),i=!0},p(o,d){let c=e;e=a(o),e===c?n[e].p(o,d):(fe(),O(n[c],1,1,()=>{n[c]=null}),de(),t=n[e],t?t.p(o,d):(t=n[e]=l[e](o),t.c()),S(t,1),t.m(s.parentNode,s))},i(o){i||(S(t),i=!0)},o(o){O(t),i=!1},d(o){o&&$(s),n[e].d(o)}}}function Ia(r){let e,t,s,i=re(r[0].content),l=[];for(let a=0;a<i.length;a+=1)l[a]=Hs(As(r,i,a));const n=a=>O(l[a],1,1,()=>{l[a]=null});return{c(){e=L("div");for(let a=0;a<l.length;a+=1)l[a].c();this.h()},l(a){e=z(a,"DIV",{class:!0});var o=I(e);for(let d=0;d<l.length;d+=1)l[d].l(o);o.forEach($),this.h()},h(){y(e,"class",t="richtext prose "+r[1])},m(a,o){N(a,e,o);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(e,null);s=!0},p(a,[o]){if(o&13){i=re(a[0].content);let d;for(d=0;d<i.length;d+=1){const c=As(a,i,d);l[d]?(l[d].p(c,o),S(l[d],1)):(l[d]=Hs(c),l[d].c(),S(l[d],1),l[d].m(e,null))}for(fe(),d=i.length;d<l.length;d+=1)n(d);de()}(!s||o&2&&t!==(t="richtext prose "+a[1]))&&y(e,"class",t)},i(a){if(!s){for(let o=0;o<i.length;o+=1)S(l[o]);s=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)O(l[o]);s=!1},d(a){a&&$(e),ye(l,a)}}}function Pa(r,e,t){let{richText:s}=e,{className:i=""}=e;const l=ms;let{components:n}=e;function a(o){return Sa({type:"doc",content:[o]},{schema:l})}return r.$$set=o=>{"richText"in o&&t(0,s=o.richText),"className"in o&&t(1,i=o.className),"components"in o&&t(2,n=o.components)},[s,i,n,a]}class yt extends oe{constructor(e){super(),ce(this,e,Pa,Ia,le,{richText:0,className:1,components:2})}get richText(){return this.$$.ctx[0]}set richText(e){this.$$set({richText:e}),Z()}get className(){return this.$$.ctx[1]}set className(e){this.$$set({className:e}),Z()}get components(){return this.$$.ctx[2]}set components(e){this.$$set({components:e}),Z()}}ae(yt,{richText:{},className:{},components:{}},[],[],!0);const Rr=He({}),La=ft([Fe,Rr],([r,e])=>{var t;return Object.keys(e).length>0?e:((t=r==null?void 0:r.data)==null?void 0:t.story)??{}});function za(r){let e;const t=r[4].default,s=We(t,r,r[3],null);return{c(){s&&s.c()},l(i){s&&s.l(i)},m(i,l){s&&s.m(i,l),e=!0},p(i,[l]){s&&s.p&&(!e||l&8)&&Ue(s,t,i,i[3],e?Ke(t,i[3],l,null):Ze(i[3]),null)},i(i){e||(S(s,i),e=!0)},o(i){O(s,i),e=!1},d(i){s&&s.d(i)}}}function Aa(r,e,t){let s,i;Ge(r,Fe,f=>t(5,s=f)),Ge(r,La,f=>t(6,i=f));let{$$slots:l={},$$scope:n}=e,{resolveRelations:a=[]}=e,{resolveLinks:o}=e,{language:d}=e,c=f=>{f.to&&i&&s.data.editor&&f.cancel()};return Lr(async()=>{if(i&&s.data.editor){const{useStoryblokBridge:f,getStoryblokApi:u}=await qn(()=>Promise.resolve().then(()=>Hl),void 0,import.meta.url),h=await u().get(`cdn/stories/${s.data.story.full_slug}`,{version:"draft"});f(h.data.story.id,g=>Rr.set(g),{resolveRelations:a,resolveLinks:o,language:d})}}),Fn(f=>{c(f),window.onbeforeunload=null}),r.$$set=f=>{"resolveRelations"in f&&t(0,a=f.resolveRelations),"resolveLinks"in f&&t(1,o=f.resolveLinks),"language"in f&&t(2,d=f.language),"$$scope"in f&&t(3,n=f.$$scope)},[a,o,d,n,l]}class Da extends oe{constructor(e){super(),ce(this,e,Aa,za,le,{resolveRelations:0,resolveLinks:1,language:2})}get resolveRelations(){return this.$$.ctx[0]}set resolveRelations(e){this.$$set({resolveRelations:e}),Z()}get resolveLinks(){return this.$$.ctx[1]}set resolveLinks(e){this.$$set({resolveLinks:e}),Z()}get language(){return this.$$.ctx[2]}set language(e){this.$$set({language:e}),Z()}}ae(Da,{resolveRelations:{},resolveLinks:{},language:{}},["default"],[],!0);const Oa=He({});ft([Fe,Oa],([r,e])=>{var t;return Object.keys(e).length>0?e:((t=r==null?void 0:r.data)==null?void 0:t.extraQueries)??{}});const Va=He({}),Ha=ft([Fe,Va],([r,e])=>{var t;return Object.keys(e).length>0?e:((t=r==null?void 0:r.data)==null?void 0:t.sitemap)??{}});function Rs(r,e,t){const s=r.slice();return s[1]=e[t],s}function Ns(r,e,t){const s=r.slice();return s[1]=e[t],s}function Bs(r){let e,t,s=re(r[0].intro),i=[];for(let n=0;n<s.length;n+=1)i[n]=js(Ns(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].intro);let o;for(o=0;o<s.length;o+=1){const d=Ns(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=js(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function js(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Gs(r){let e,t,s=re(r[0].body),i=[];for(let n=0;n<s.length;n+=1)i[n]=Fs(Rs(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].body);let o;for(o=0;o<s.length;o+=1){const d=Rs(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Fs(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Fs(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Ra(r){let e,t,s,i,l,n,a=r[0].intro&&r[0].intro.length>0&&Bs(r),o=r[0].body&&r[0].body.length>0&&Gs(r);return{c(){e=L("div"),a&&a.c(),t=W(),o&&o.c(),this.h()},l(d){e=z(d,"DIV",{class:!0});var c=I(e);a&&a.l(c),t=U(c),o&&o.l(c),c.forEach($),this.h()},h(){y(e,"class","w-full place-items-center")},m(d,c){N(d,e,c),a&&a.m(e,null),k(e,t),o&&o.m(e,null),i=!0,l||(n=Ee(s=Se.call(null,e,r[0])),l=!0)},p(d,[c]){d[0].intro&&d[0].intro.length>0?a?(a.p(d,c),c&1&&S(a,1)):(a=Bs(d),a.c(),S(a,1),a.m(e,t)):a&&(fe(),O(a,1,1,()=>{a=null}),de()),d[0].body&&d[0].body.length>0?o?(o.p(d,c),c&1&&S(o,1)):(o=Gs(d),o.c(),S(o,1),o.m(e,null)):o&&(fe(),O(o,1,1,()=>{o=null}),de()),s&&ke(s.update)&&c&1&&s.update.call(null,d[0])},i(d){i||(S(a),S(o),i=!0)},o(d){O(a),O(o),i=!1},d(d){d&&$(e),a&&a.d(),o&&o.d(),l=!1,n()}}}function Na(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class Nr extends oe{constructor(e){super(),ce(this,e,Na,Ra,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Nr,{blok:{}},[],[],!0);function qs(r,e,t){const s=r.slice();return s[1]=e[t],s}function Ys(r,e,t){const s=r.slice();return s[1]=e[t],s}function Xs(r){let e,t,s=re(r[0].intro),i=[];for(let n=0;n<s.length;n+=1)i[n]=Ws(Ys(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].intro);let o;for(o=0;o<s.length;o+=1){const d=Ys(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Ws(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Ws(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Us(r){let e,t,s=re(r[0].body),i=[];for(let n=0;n<s.length;n+=1)i[n]=Zs(qs(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].body);let o;for(o=0;o<s.length;o+=1){const d=qs(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Zs(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Zs(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Ba(r){let e,t,s,i,l,n,a=r[0].intro&&r[0].intro.length>0&&Xs(r),o=r[0].body&&r[0].body.length>0&&Us(r);return{c(){e=L("div"),a&&a.c(),t=W(),o&&o.c(),this.h()},l(d){e=z(d,"DIV",{class:!0});var c=I(e);a&&a.l(c),t=U(c),o&&o.l(c),c.forEach($),this.h()},h(){y(e,"class","w-full place-items-center")},m(d,c){N(d,e,c),a&&a.m(e,null),k(e,t),o&&o.m(e,null),i=!0,l||(n=Ee(s=Se.call(null,e,r[0])),l=!0)},p(d,[c]){d[0].intro&&d[0].intro.length>0?a?(a.p(d,c),c&1&&S(a,1)):(a=Xs(d),a.c(),S(a,1),a.m(e,t)):a&&(fe(),O(a,1,1,()=>{a=null}),de()),d[0].body&&d[0].body.length>0?o?(o.p(d,c),c&1&&S(o,1)):(o=Us(d),o.c(),S(o,1),o.m(e,null)):o&&(fe(),O(o,1,1,()=>{o=null}),de()),s&&ke(s.update)&&c&1&&s.update.call(null,d[0])},i(d){i||(S(a),S(o),i=!0)},o(d){O(a),O(o),i=!1},d(d){d&&$(e),a&&a.d(),o&&o.d(),l=!1,n()}}}function ja(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class Br extends oe{constructor(e){super(),ce(this,e,ja,Ba,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Br,{blok:{}},[],[],!0);const Ga=r=>({}),Ks=r=>({});function Fa(r){let e,t,s,i,l,n,a,o,d;const c=r[2].title,f=We(c,r,r[1],Ks),u=r[2].default,p=We(u,r,r[1],null);return{c(){e=L("section"),t=L("div"),f&&f.c(),s=W(),i=L("div"),p&&p.c(),this.h()},l(h){e=z(h,"SECTION",{class:!0});var g=I(e);t=z(g,"DIV",{class:!0});var v=I(t);f&&f.l(v),v.forEach($),s=U(g),i=z(g,"DIV",{class:!0});var m=I(i);p&&p.l(m),m.forEach($),g.forEach($),this.h()},h(){var h;y(t,"class","col-start-1 col-span-1 font-bold text-[#AEAEAE] 2xl:pr-8"),y(i,"class",l="col-start-2 "+((h=r[0])!=null&&h.fullWidth?"col-span-3":"col-span-2")),y(e,"class","mx-typeArea px-3 md:px-9 flex flex-col gap-5 2xl:grid 2xl:grid-cols-4 my-20")},m(h,g){N(h,e,g),k(e,t),f&&f.m(t,null),k(e,s),k(e,i),p&&p.m(i,null),a=!0,o||(d=Ee(n=Se.call(null,e,r[0])),o=!0)},p(h,[g]){var v;f&&f.p&&(!a||g&2)&&Ue(f,c,h,h[1],a?Ke(c,h[1],g,Ga):Ze(h[1]),Ks),p&&p.p&&(!a||g&2)&&Ue(p,u,h,h[1],a?Ke(u,h[1],g,null):Ze(h[1]),null),(!a||g&1&&l!==(l="col-start-2 "+((v=h[0])!=null&&v.fullWidth?"col-span-3":"col-span-2")))&&y(i,"class",l),n&&ke(n.update)&&g&1&&n.update.call(null,h[0])},i(h){a||(S(f,h),S(p,h),a=!0)},o(h){O(f,h),O(p,h),a=!1},d(h){h&&$(e),f&&f.d(h),p&&p.d(h),o=!1,d()}}}function qa(r,e,t){let{$$slots:s={},$$scope:i}=e,{blok:l}=e;return r.$$set=n=>{"blok"in n&&t(0,l=n.blok),"$$scope"in n&&t(1,i=n.$$scope)},[l,i,s]}class st extends oe{constructor(e){super(),ce(this,e,qa,Fa,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(st,{blok:{}},["title","default"],[],!0);function Ya(r){let e,t;const s=r[1].default,i=We(s,r,r[0],null);return{c(){e=L("h1"),i&&i.c(),this.h()},l(l){e=z(l,"H1",{class:!0});var n=I(e);i&&i.l(n),n.forEach($),this.h()},h(){y(e,"class","text-primary text-2xl md:text-4xl font-extrabold font-['PPMonumentExtended'] hyphens-auto max-w-[18ch]")},m(l,n){N(l,e,n),i&&i.m(e,null),t=!0},p(l,[n]){i&&i.p&&(!t||n&1)&&Ue(i,s,l,l[0],t?Ke(s,l[0],n,null):Ze(l[0]),null)},i(l){t||(S(i,l),t=!0)},o(l){O(i,l),t=!1},d(l){l&&$(e),i&&i.d(l)}}}function Xa(r,e,t){let{$$slots:s={},$$scope:i}=e;return r.$$set=l=>{"$$scope"in l&&t(0,i=l.$$scope)},[i,s]}class jr extends oe{constructor(e){super(),ce(this,e,Xa,Ya,le,{})}}ae(jr,{},["default"],[],!0);const Wa=ft([Fe,Ha],([r,e])=>{if(!e||!r)return;const t=s=>r.url.pathname.split("/").slice(1,s+2).join("/");return[{name:"Start",href:""},...r.url.pathname.split("/").slice(1).map((s,i)=>{const l=t(i),n=e.find(a=>[l,l+"/"].includes(a.full_slug));return n&&{name:n.name,href:n.full_slug}}).filter(Boolean)]},[]);function Js(r,e,t){const s=r.slice();return s[4]=e[t],s[6]=t,s}function Ua(r){let e;return{c(){e=ue(r[1])},l(t){e=pe(t,r[1])},m(t,s){N(t,e,s)},p(t,s){s&2&&me(e,t[1])},d(t){t&&$(e)}}}function Qs(r){let e,t=r[0].description+"",s;return{c(){e=L("div"),s=ue(t),this.h()},l(i){e=z(i,"DIV",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","max-w-lg text-secondary font-bold")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[0].description+"")&&me(s,t)},d(i){i&&$(e)}}}function ei(r){let e,t,s;return t=new yt({props:{richText:r[0].content,components:Ae}}),{c(){e=L("div"),Q(t.$$.fragment),this.h()},l(i){e=z(i,"DIV",{class:!0});var l=I(e);ie(t.$$.fragment,l),l.forEach($),this.h()},h(){y(e,"class","text-secondary max-w-lg")},m(i,l){N(i,e,l),ee(t,e,null),s=!0},p(i,l){const n={};l&1&&(n.richText=i[0].content),t.$set(n)},i(i){s||(S(t.$$.fragment,i),s=!0)},o(i){O(t.$$.fragment,i),s=!1},d(i){i&&$(e),te(t)}}}function Za(r){var o,d;let e,t,s,i,l;t=new jr({props:{$$slots:{default:[Ua]},$$scope:{ctx:r}}});let n=((o=r[0])==null?void 0:o.description)&&Qs(r),a=((d=r[0])==null?void 0:d.content)&&ei(r);return{c(){e=L("div"),Q(t.$$.fragment),s=W(),n&&n.c(),i=W(),a&&a.c(),this.h()},l(c){e=z(c,"DIV",{class:!0});var f=I(e);ie(t.$$.fragment,f),s=U(f),n&&n.l(f),i=U(f),a&&a.l(f),f.forEach($),this.h()},h(){y(e,"class","flex flex-col gap-5 xl:pt-20 2xl:min-h-[20vw]")},m(c,f){N(c,e,f),ee(t,e,null),k(e,s),n&&n.m(e,null),k(e,i),a&&a.m(e,null),l=!0},p(c,f){var p,h;const u={};f&130&&(u.$$scope={dirty:f,ctx:c}),t.$set(u),(p=c[0])!=null&&p.description?n?n.p(c,f):(n=Qs(c),n.c(),n.m(e,i)):n&&(n.d(1),n=null),(h=c[0])!=null&&h.content?a?(a.p(c,f),f&1&&S(a,1)):(a=ei(c),a.c(),S(a,1),a.m(e,null)):a&&(fe(),O(a,1,1,()=>{a=null}),de())},i(c){l||(S(t.$$.fragment,c),S(a),l=!0)},o(c){O(t.$$.fragment,c),O(a),l=!1},d(c){c&&$(e),te(t),n&&n.d(),a&&a.d()}}}function ti(r){let e,t="/";return{c(){e=L("span"),e.textContent=t,this.h()},l(s){e=z(s,"SPAN",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-10r0krj"&&(e.textContent=t),this.h()},h(){y(e,"class","text-[#AEAEAE]")},m(s,i){N(s,e,i)},d(s){s&&$(e)}}}function si(r){var o,d;let e,t=((o=r[4])==null?void 0:o.name)+"",s,i,l,n,a=r[6]<((d=r[2])==null?void 0:d.length)-1&&ti();return{c(){e=L("a"),s=ue(t),l=W(),a&&a.c(),n=J(),this.h()},l(c){e=z(c,"A",{class:!0,href:!0});var f=I(e);s=pe(f,t),f.forEach($),l=U(c),a&&a.l(c),n=J(),this.h()},h(){var c;y(e,"class","text-[#AEAEAE] hover:text-primary"),y(e,"href",i="/"+((c=r[4])==null?void 0:c.href))},m(c,f){N(c,e,f),k(e,s),N(c,l,f),a&&a.m(c,f),N(c,n,f)},p(c,f){var u,p,h;f&4&&t!==(t=((u=c[4])==null?void 0:u.name)+"")&&me(s,t),f&4&&i!==(i="/"+((p=c[4])==null?void 0:p.href))&&y(e,"href",i),c[6]<((h=c[2])==null?void 0:h.length)-1?a||(a=ti(),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(c){c&&($(e),$(l),$(n)),a&&a.d(c)}}}function Ka(r){let e,t=re(r[2]),s=[];for(let i=0;i<t.length;i+=1)s[i]=si(Js(r,t,i));return{c(){e=L("div");for(let i=0;i<s.length;i+=1)s[i].c();this.h()},l(i){e=z(i,"DIV",{class:!0,slot:!0});var l=I(e);for(let n=0;n<s.length;n+=1)s[n].l(l);l.forEach($),this.h()},h(){y(e,"class","flex gap-x-2 gap-y-1 flex-wrap xl:pt-20"),y(e,"slot","title")},m(i,l){N(i,e,l);for(let n=0;n<s.length;n+=1)s[n]&&s[n].m(e,null)},p(i,l){if(l&4){t=re(i[2]);let n;for(n=0;n<t.length;n+=1){const a=Js(i,t,n);s[n]?s[n].p(a,l):(s[n]=si(a),s[n].c(),s[n].m(e,null))}for(;n<s.length;n+=1)s[n].d(1);s.length=t.length}},d(i){i&&$(e),ye(s,i)}}}function Ja(r){let e,t;return e=new st({props:{blok:r[0],$$slots:{title:[Ka],default:[Za]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,[i]){const l={};i&1&&(l.blok=s[0]),i&135&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Qa(r,e,t){let s,i,l;Ge(r,Fe,a=>t(3,i=a)),Ge(r,Wa,a=>t(2,l=a));let{blok:n}=e;return r.$$set=a=>{"blok"in a&&t(0,n=a.blok)},r.$$.update=()=>{var a,o;r.$$.dirty&9&&t(1,s=n!=null&&n.title&&n.title!==""?n.title:(o=(a=i==null?void 0:i.data)==null?void 0:a.story)==null?void 0:o.name)},[n,s,l,i]}class gs extends oe{constructor(e){super(),ce(this,e,Qa,Ja,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(gs,{blok:{}},[],[],!0);function eo(r){let e,t,s;const i=r[2].default,l=We(i,r,r[1],null);return{c(){e=L("div"),l&&l.c(),this.h()},l(n){e=z(n,"DIV",{class:!0});var a=I(e);l&&l.l(a),a.forEach($),this.h()},h(){y(e,"class",t="border rounded-3xl border-solid border-gray-200 "+r[0])},m(n,a){N(n,e,a),l&&l.m(e,null),s=!0},p(n,[a]){l&&l.p&&(!s||a&2)&&Ue(l,i,n,n[1],s?Ke(i,n[1],a,null):Ze(n[1]),null),(!s||a&1&&t!==(t="border rounded-3xl border-solid border-gray-200 "+n[0]))&&y(e,"class",t)},i(n){s||(S(l,n),s=!0)},o(n){O(l,n),s=!1},d(n){n&&$(e),l&&l.d(n)}}}function to(r,e,t){let{$$slots:s={},$$scope:i}=e,{class:l=""}=e;return r.$$set=n=>{"class"in n&&t(0,l=n.class),"$$scope"in n&&t(1,i=n.$$scope)},[l,i,s]}class Gt extends oe{constructor(e){super(),ce(this,e,to,eo,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(Gt,{class:{}},["default"],[],!0);function so(r){let e,t,s,i,l,n,a,o,d,c=r[0].position+"",f,u,p,h=r[0].name+"",g,v,m,w=r[0].location+"",b;return{c(){e=L("div"),t=L("div"),s=L("img"),n=W(),a=L("div"),o=L("div"),d=L("div"),f=ue(c),u=W(),p=L("div"),g=ue(h),v=W(),m=L("div"),b=ue(w),this.h()},l(_){e=z(_,"DIV",{class:!0});var E=I(e);t=z(E,"DIV",{class:!0});var C=I(t);s=z(C,"IMG",{class:!0,src:!0,alt:!0}),C.forEach($),n=U(E),a=z(E,"DIV",{class:!0});var H=I(a);o=z(H,"DIV",{class:!0});var T=I(o);d=z(T,"DIV",{class:!0});var x=I(d);f=pe(x,c),x.forEach($),u=U(T),p=z(T,"DIV",{class:!0});var P=I(p);g=pe(P,h),P.forEach($),T.forEach($),v=U(H),m=z(H,"DIV",{class:!0});var B=I(m);b=pe(B,w),B.forEach($),H.forEach($),E.forEach($),this.h()},h(){var _,E;y(s,"class","w-full h-full object-cover object-center rounded-3xl"),Je(s.src,i=(_=r[0].image)==null?void 0:_.filename)||y(s,"src",i),y(s,"alt",l=(E=r[0].image)==null?void 0:E.alt),y(t,"class","aspect-[0.70] h-full max-w-[125px] xl:max-w-[157px] shrink-0"),y(d,"class","text-base font-bold"),y(p,"class","text-primary text-xl font-bold mt-2"),y(o,"class",""),y(m,"class","text-base font-bold"),y(a,"class","flex flex-col justify-between m-6"),y(e,"class","flex w-full h-full text-secondary")},m(_,E){N(_,e,E),k(e,t),k(t,s),k(e,n),k(e,a),k(a,o),k(o,d),k(d,f),k(o,u),k(o,p),k(p,g),k(a,v),k(a,m),k(m,b)},p(_,E){var C,H;E&1&&!Je(s.src,i=(C=_[0].image)==null?void 0:C.filename)&&y(s,"src",i),E&1&&l!==(l=(H=_[0].image)==null?void 0:H.alt)&&y(s,"alt",l),E&1&&c!==(c=_[0].position+"")&&me(f,c),E&1&&h!==(h=_[0].name+"")&&me(g,h),E&1&&w!==(w=_[0].location+"")&&me(b,w)},d(_){_&&$(e)}}}function io(r){let e,t,s,i,l,n;return t=new Gt({props:{class:"bg-white",$$slots:{default:[so]},$$scope:{ctx:r}}}),{c(){e=L("div"),Q(t.$$.fragment)},l(a){e=z(a,"DIV",{});var o=I(e);ie(t.$$.fragment,o),o.forEach($)},m(a,o){N(a,e,o),ee(t,e,null),i=!0,l||(n=Ee(s=Se.call(null,e,r[0])),l=!0)},p(a,[o]){const d={};o&3&&(d.$$scope={dirty:o,ctx:a}),t.$set(d),s&&ke(s.update)&&o&1&&s.update.call(null,a[0])},i(a){i||(S(t.$$.fragment,a),i=!0)},o(a){O(t.$$.fragment,a),i=!1},d(a){a&&$(e),te(t),l=!1,n()}}}function ro(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class Gr extends oe{constructor(e){super(),ce(this,e,ro,io,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Gr,{blok:{}},[],[],!0);function ii(r,e,t){const s=r.slice();return s[1]=e[t],s}function ri(r){let e,t,s=re(r[0].members),i=[];for(let n=0;n<s.length;n+=1)i[n]=ni(ii(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].members);let o;for(o=0;o<s.length;o+=1){const d=ii(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=ni(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function ni(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function no(r){let e,t,s,i,l,n=r[0].members&&r[0].members.length>0&&ri(r);return{c(){e=L("div"),n&&n.c(),this.h()},l(a){e=z(a,"DIV",{class:!0});var o=I(e);n&&n.l(o),o.forEach($),this.h()},h(){y(e,"class","grid grid-cols-[repeat(auto-fill_,minmax(300px,_1fr))] 2xl:grid-cols-[repeat(auto-fill_,minmax(400px,_1fr))] auto-rows-auto gap-5")},m(a,o){N(a,e,o),n&&n.m(e,null),s=!0,i||(l=Ee(t=Se.call(null,e,r[0])),i=!0)},p(a,[o]){a[0].members&&a[0].members.length>0?n?(n.p(a,o),o&1&&S(n,1)):(n=ri(a),n.c(),S(n,1),n.m(e,null)):n&&(fe(),O(n,1,1,()=>{n=null}),de()),t&&ke(t.update)&&o&1&&t.update.call(null,a[0])},i(a){s||(S(n),s=!0)},o(a){O(n),s=!1},d(a){a&&$(e),n&&n.d(),i=!1,l()}}}function lo(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class Fr extends oe{constructor(e){super(),ce(this,e,lo,no,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Fr,{blok:{}},[],[],!0);function Ve(r,e){const t=new Date(r==null?void 0:r.replace(" ","T")),s="de-De";return new Intl.DateTimeFormat(s,e).format(t)}function li(r){let e,t,s,i,l,n,a,o,d,c;return{c(){e=L("picture"),t=L("source"),i=W(),l=L("img"),this.h()},l(f){e=z(f,"PICTURE",{});var u=I(e);t=z(u,"SOURCE",{srcset:!0,type:!0}),i=U(u),l=z(u,"IMG",{class:!0,src:!0,srcset:!0,width:!0,height:!0,alt:!0}),u.forEach($),this.h()},h(){var f,u;Ts(t,s=` `+((f=r[1])!=null&&f.filename?r[3].map(r[4]):"")+` `)||y(t,"srcset",s),y(t,"type","image/webp"),y(l,"class",r[0]),Je(l.src,n=`${r[1].filename}/m/100x0?:format(webp)`)||y(l,"src",n),Ts(l,a=` `+((u=r[1])!=null&&u.filename?r[3].map(r[5]):"")+` `)||y(l,"srcset",a),y(l,"width",o=r[2].width),y(l,"height",d=r[2].height),y(l,"alt",c=r[1].alt)},m(f,u){N(f,e,u),k(e,t),k(e,i),k(e,l)},p(f,u){var p,h;u&2&&s!==(s=` `+((p=f[1])!=null&&p.filename?f[3].map(f[4]):"")+` `)&&y(t,"srcset",s),u&1&&y(l,"class",f[0]),u&2&&!Je(l.src,n=`${f[1].filename}/m/100x0?:format(webp)`)&&y(l,"src",n),u&2&&a!==(a=` `+((h=f[1])!=null&&h.filename?f[3].map(f[5]):"")+` `)&&y(l,"srcset",a),u&4&&o!==(o=f[2].width)&&y(l,"width",o),u&4&&d!==(d=f[2].height)&&y(l,"height",d),u&2&&c!==(c=f[1].alt)&&y(l,"alt",c)},d(f){f&&$(e)}}}function ao(r){var s;let e,t=((s=r[1])==null?void 0:s.filename)&&li(r);return{c(){t&&t.c(),e=J()},l(i){t&&t.l(i),e=J()},m(i,l){t&&t.m(i,l),N(i,e,l)},p(i,[l]){var n;(n=i[1])!=null&&n.filename?t?t.p(i,l):(t=li(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:se,o:se,d(i){i&&$(e),t&&t.d(i)}}}function oo(r,e,t){let s,{class:i=""}=e,{image:l}=e;const n=[200,400,600,800,1e3,1200,1400,1600,1800,2e3],a=d=>`${l==null?void 0:l.filename}/m/${d}x0?:format(webp) ${d}w`,o=d=>`${l.filename}/m/${d}x0?:format(webp) ${d}w,`;return r.$$set=d=>{"class"in d&&t(0,i=d.class),"image"in d&&t(1,l=d.image)},r.$$.update=()=>{var d,c,f,u,p,h,g,v;r.$$.dirty&2&&t(2,s={width:(u=(f=(c=(d=l==null?void 0:l.filename)==null?void 0:d.split("/"))==null?void 0:c[5])==null?void 0:f.split("x"))==null?void 0:u[0],height:(v=(g=(h=(p=l==null?void 0:l.filename)==null?void 0:p.split("/"))==null?void 0:h[5])==null?void 0:g.split("x"))==null?void 0:v[1]})},[i,l,s,n,a,o]}class it extends oe{constructor(e){super(),ce(this,e,oo,ao,le,{class:0,image:1})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}get image(){return this.$$.ctx[1]}set image(e){this.$$set({image:e}),Z()}}ae(it,{class:{},image:{}},[],[],!0);function ai(r){let e,t;return e=new it({props:{class:"w-full rounded-3xl mx-auto",image:r[0].image}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.image=s[0].image),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function co(r){var a,o;let e,t,s,i,l,n=((a=r[0])==null?void 0:a.image)&&ai(r);return i=new yt({props:{components:Ae,richText:(o=r[0])==null?void 0:o.description}}),{c(){e=L("div"),n&&n.c(),t=W(),s=L("div"),Q(i.$$.fragment),this.h()},l(d){e=z(d,"DIV",{class:!0});var c=I(e);n&&n.l(c),t=U(c),s=z(c,"DIV",{class:!0});var f=I(s);ie(i.$$.fragment,f),f.forEach($),c.forEach($),this.h()},h(){y(s,"class","flex-1 text-secondary"),y(e,"class","flex flex-col flex-wrap gap-16")},m(d,c){N(d,e,c),n&&n.m(e,null),k(e,t),k(e,s),ee(i,s,null),l=!0},p(d,c){var u,p;(u=d[0])!=null&&u.image?n?(n.p(d,c),c&1&&S(n,1)):(n=ai(d),n.c(),S(n,1),n.m(e,t)):n&&(fe(),O(n,1,1,()=>{n=null}),de());const f={};c&1&&(f.richText=(p=d[0])==null?void 0:p.description),i.$set(f)},i(d){l||(S(n),S(i.$$.fragment,d),l=!0)},o(d){O(n),O(i.$$.fragment,d),l=!1},d(d){d&&$(e),n&&n.d(),te(i)}}}function fo(r){var l,n,a;let e,t,s,i;return e=new gs({props:{blok:{...r[0],description:`${r[0].dateEnd?Ve((l=r[0])==null?void 0:l.date,{day:"2-digit",month:"2-digit"})+"-"+Ve((n=r[0])==null?void 0:n.dateEnd,{day:"2-digit",month:"2-digit",year:"numeric"}):Ve((a=r[0])==null?void 0:a.date)} ${r[0].location&&"in "+r[0].location}`}}}),s=new st({props:{blok:r[0],$$slots:{default:[co]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment),t=W(),Q(s.$$.fragment)},l(o){ie(e.$$.fragment,o),t=U(o),ie(s.$$.fragment,o)},m(o,d){ee(e,o,d),N(o,t,d),ee(s,o,d),i=!0},p(o,[d]){var u,p,h;const c={};d&1&&(c.blok={...o[0],description:`${o[0].dateEnd?Ve((u=o[0])==null?void 0:u.date,{day:"2-digit",month:"2-digit"})+"-"+Ve((p=o[0])==null?void 0:p.dateEnd,{day:"2-digit",month:"2-digit",year:"numeric"}):Ve((h=o[0])==null?void 0:h.date)} ${o[0].location&&"in "+o[0].location}`}),e.$set(c);const f={};d&1&&(f.blok=o[0]),d&3&&(f.$$scope={dirty:d,ctx:o}),s.$set(f)},i(o){i||(S(e.$$.fragment,o),S(s.$$.fragment,o),i=!0)},o(o){O(e.$$.fragment,o),O(s.$$.fragment,o),i=!1},d(o){o&&$(t),te(e,o),te(s,o)}}}function uo(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class qr extends oe{constructor(e){super(),ce(this,e,uo,fo,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(qr,{blok:{}},[],[],!0);function po(r){let e,t,s,i;return{c(){e=we("svg"),t=we("path"),s=we("path"),i=we("path"),this.h()},l(l){e=be(l,"svg",{xmlns:!0,class:!0,width:!0,height:!0,viewBox:!0,fill:!0});var n=I(e);t=be(n,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(t).forEach($),s=be(n,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(s).forEach($),i=be(n,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(i).forEach($),n.forEach($),this.h()},h(){y(t,"d","M2.5 15H17.5"),y(t,"stroke","currentColor"),y(t,"stroke-width","2"),y(t,"stroke-linecap","round"),y(t,"stroke-linejoin","round"),y(s,"d","M2.5 10H17.5"),y(s,"stroke","currentColor"),y(s,"stroke-width","2"),y(s,"stroke-linecap","round"),y(s,"stroke-linejoin","round"),y(i,"d","M2.5 5H17.5"),y(i,"stroke","currentColor"),y(i,"stroke-width","2"),y(i,"stroke-linecap","round"),y(i,"stroke-linejoin","round"),y(e,"xmlns","http://www.w3.org/2000/svg"),y(e,"class",r[0]),y(e,"width","20"),y(e,"height","20"),y(e,"viewBox","0 0 20 20"),y(e,"fill","none")},m(l,n){N(l,e,n),k(e,t),k(e,s),k(e,i)},p(l,[n]){n&1&&y(e,"class",l[0])},i:se,o:se,d(l){l&&$(e)}}}function ho(r,e,t){let{class:s=""}=e;return r.$$set=i=>{"class"in i&&t(0,s=i.class)},[s]}class Yr extends oe{constructor(e){super(),ce(this,e,ho,po,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(Yr,{class:{}},[],[],!0);function mo(r){let e,t,s,i,l;return{c(){e=we("svg"),t=we("path"),s=we("path"),i=we("path"),l=we("path"),this.h()},l(n){e=be(n,"svg",{xmlns:!0,class:!0,width:!0,height:!0,viewBox:!0,fill:!0});var a=I(e);t=be(a,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(t).forEach($),s=be(a,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(s).forEach($),i=be(a,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(i).forEach($),l=be(a,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),I(l).forEach($),a.forEach($),this.h()},h(){y(t,"d","M17.5013 11.6667H11.668V17.5H17.5013V11.6667Z"),y(t,"stroke","currentColor"),y(t,"stroke-width","2"),y(t,"stroke-linecap","round"),y(t,"stroke-linejoin","round"),y(s,"d","M8.33333 11.6667H2.5V17.5H8.33333V11.6667Z"),y(s,"stroke","currentColor"),y(s,"stroke-width","2"),y(s,"stroke-linecap","round"),y(s,"stroke-linejoin","round"),y(i,"d","M17.5013 2.5H11.668V8.33333H17.5013V2.5Z"),y(i,"stroke","currentColor"),y(i,"stroke-width","2"),y(i,"stroke-linecap","round"),y(i,"stroke-linejoin","round"),y(l,"d","M8.33333 2.5H2.5V8.33333H8.33333V2.5Z"),y(l,"stroke","currentColor"),y(l,"stroke-width","2"),y(l,"stroke-linecap","round"),y(l,"stroke-linejoin","round"),y(e,"xmlns","http://www.w3.org/2000/svg"),y(e,"class",r[0]),y(e,"width","20"),y(e,"height","20"),y(e,"viewBox","0 0 20 20"),y(e,"fill","none")},m(n,a){N(n,e,a),k(e,t),k(e,s),k(e,i),k(e,l)},p(n,[a]){a&1&&y(e,"class",n[0])},i:se,o:se,d(n){n&&$(e)}}}function go(r,e,t){let{class:s=""}=e;return r.$$set=i=>{"class"in i&&t(0,s=i.class)},[s]}class Xr extends oe{constructor(e){super(),ce(this,e,go,mo,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(Xr,{class:{}},[],[],!0);function oi(r,e,t){const s=r.slice();return s[3]=e[t],s}function ci(r){let e,t,s,i,l,n;var a=r[3].icon;function o(c,f){return{}}a&&(t=at(a,o()));function d(){return r[2](r[3])}return{c(){e=L("button"),t&&Q(t.$$.fragment),this.h()},l(c){e=z(c,"BUTTON",{class:!0});var f=I(e);t&&ie(t.$$.fragment,f),f.forEach($),this.h()},h(){y(e,"class",s="w-12 z-10 relative flex items-center justify-center "+(r[0]===r[3].id&&"text-white"))},m(c,f){N(c,e,f),t&&ee(t,e,null),i=!0,l||(n=Xe(e,"click",d),l=!0)},p(c,f){if(r=c,a!==(a=r[3].icon)){if(t){fe();const u=t;O(u.$$.fragment,1,0,()=>{te(u,1)}),de()}a?(t=at(a,o()),Q(t.$$.fragment),S(t.$$.fragment,1),ee(t,e,null)):t=null}(!i||f&1&&s!==(s="w-12 z-10 relative flex items-center justify-center "+(r[0]===r[3].id&&"text-white")))&&y(e,"class",s)},i(c){i||(t&&S(t.$$.fragment,c),i=!0)},o(c){t&&O(t.$$.fragment,c),i=!1},d(c){c&&$(e),t&&te(t),l=!1,n()}}}function vo(r){let e,t,s,i,l,n=re(r[1]),a=[];for(let d=0;d<n.length;d+=1)a[d]=ci(oi(r,n,d));const o=d=>O(a[d],1,1,()=>{a[d]=null});return{c(){e=L("div");for(let d=0;d<a.length;d+=1)a[d].c();t=W(),s=L("div"),this.h()},l(d){e=z(d,"DIV",{class:!0});var c=I(e);for(let f=0;f<a.length;f+=1)a[f].l(c);t=U(c),s=z(c,"DIV",{class:!0}),I(s).forEach($),c.forEach($),this.h()},h(){y(s,"class",i="h-full w-1/2 absolute bg-primary rounded-full top-0 transition-all duration-200 "+(r[0]==="list"?"translate-x-full":"")),y(e,"class","bg-gray-200 relative w-24 h-10 flex text-primary rounded-full overflow-hidden")},m(d,c){N(d,e,c);for(let f=0;f<a.length;f+=1)a[f]&&a[f].m(e,null);k(e,t),k(e,s),l=!0},p(d,[c]){if(c&3){n=re(d[1]);let f;for(f=0;f<n.length;f+=1){const u=oi(d,n,f);a[f]?(a[f].p(u,c),S(a[f],1)):(a[f]=ci(u),a[f].c(),S(a[f],1),a[f].m(e,t))}for(fe(),f=n.length;f<a.length;f+=1)o(f);de()}(!l||c&1&&i!==(i="h-full w-1/2 absolute bg-primary rounded-full top-0 transition-all duration-200 "+(d[0]==="list"?"translate-x-full":"")))&&y(s,"class",i)},i(d){if(!l){for(let c=0;c<n.length;c+=1)S(a[c]);l=!0}},o(d){a=a.filter(Boolean);for(let c=0;c<a.length;c+=1)O(a[c]);l=!1},d(d){d&&$(e),ye(a,d)}}}function wo(r,e,t){let{view:s}=e;const i=[{id:"grid",icon:Xr},{id:"list",icon:Yr}],l=n=>{t(0,s=n.id)};return r.$$set=n=>{"view"in n&&t(0,s=n.view)},[s,i,l]}class Wr extends oe{constructor(e){super(),ce(this,e,wo,vo,le,{view:0})}get view(){return this.$$.ctx[0]}set view(e){this.$$set({view:e}),Z()}}ae(Wr,{view:{}},[],[],!0);function bo(r){let e,t,s;const i=r[3].default,l=We(i,r,r[2],null);return{c(){e=L("div"),l&&l.c(),this.h()},l(n){e=z(n,"DIV",{class:!0});var a=I(e);l&&l.l(a),a.forEach($),this.h()},h(){y(e,"class",t=`grid ${r[1]?"grid-cols-[repeat(auto-fill_,minmax(130px,_1fr))] sm:grid-cols-[repeat(auto-fill_,minmax(160px,_1fr))]":"grid-cols-1"} ${r[0]&&di(r[0],r[1])} auto-rows-auto gap-3 md:gap-5`)},m(n,a){N(n,e,a),l&&l.m(e,null),s=!0},p(n,[a]){l&&l.p&&(!s||a&4)&&Ue(l,i,n,n[2],s?Ke(i,n[2],a,null):Ze(n[2]),null),(!s||a&3&&t!==(t=`grid ${n[1]?"grid-cols-[repeat(auto-fill_,minmax(130px,_1fr))] sm:grid-cols-[repeat(auto-fill_,minmax(160px,_1fr))]":"grid-cols-1"} ${n[0]&&di(n[0],n[1])} auto-rows-auto gap-3 md:gap-5`))&&y(e,"class",t)},i(n){s||(S(l,n),s=!0)},o(n){O(l,n),s=!1},d(n){n&&$(e),l&&l.d(n)}}}function di(r,e=!1){if(!e)switch(r){case 1:return"sm:grid-cols-1";case 2:return"sm:grid-cols-2";case 3:return"sm:grid-cols-3";case 4:return"sm:grid-cols-4";case 5:return"sm:grid-cols-5";case 6:return"sm:grid-cols-6";case 7:return"sm:grid-cols-7";case 8:return"sm:grid-cols-8";case 9:return"sm:grid-cols-9";case 10:return"sm:grid-cols-10";case 11:return"sm:grid-cols-11";case 12:return"sm:grid-cols-12";default:return"sm:grid-cols-2"}switch(r){case 1:return"lg:grid-cols-1";case 2:return"lg:grid-cols-2";case 3:return"lg:grid-cols-3";case 4:return"lg:grid-cols-4";case 5:return"lg:grid-cols-5";case 6:return"lg:grid-cols-6";case 7:return"lg:grid-cols-7";case 8:return"lg:grid-cols-8";case 9:return"lg:grid-cols-9";case 10:return"lg:grid-cols-10";case 11:return"lg:grid-cols-11";case 12:return"lg:grid-cols-12";default:return"lg:grid-cols-2"}}function _o(r,e,t){let{$$slots:s={},$$scope:i}=e,{cols:l=2}=e,{autofit:n=!1}=e;return r.$$set=a=>{"cols"in a&&t(0,l=a.cols),"autofit"in a&&t(1,n=a.autofit),"$$scope"in a&&t(2,i=a.$$scope)},[l,n,i,s]}let $t=class extends oe{constructor(e){super(),ce(this,e,_o,bo,le,{cols:0,autofit:1})}get cols(){return this.$$.ctx[0]}set cols(e){this.$$set({cols:e}),Z()}get autofit(){return this.$$.ctx[1]}set autofit(e){this.$$set({autofit:e}),Z()}};ae($t,{cols:{},autofit:{type:"Boolean"}},["default"],[],!0);function fi(r,e,t){const s=r.slice();return s[5]=e[t],s[9]=t,s}function ui(r,e,t){const s=r.slice();return s[5]=e[t],s}function yo(r){let e,t,s=re(r[2]),i=[];for(let n=0;n<s.length;n+=1)i[n]=mi(fi(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){e=L("div");for(let n=0;n<i.length;n+=1)i[n].c();this.h()},l(n){e=z(n,"DIV",{class:!0});var a=I(e);for(let o=0;o<i.length;o+=1)i[o].l(a);a.forEach($),this.h()},h(){y(e,"class","flex flex-col")},m(n,a){N(n,e,a);for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(e,null);t=!0},p(n,a){if(a&4){s=re(n[2]);let o;for(o=0;o<s.length;o+=1){const d=fi(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=mi(d),i[o].c(),S(i[o],1),i[o].m(e,null))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function $o(r){let e,t;return e=new $t({props:{$$slots:{default:[ko]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1028&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function pi(r){let e,t;return e=new it({props:{class:"w-12 h-12 rounded-2xl object-cover",image:r[5].image}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&4&&(l.image=s[5].image),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function hi(r){let e=r[5].cardHeader+"",t;return{c(){t=ue(e)},l(s){t=pe(s,e)},m(s,i){N(s,t,i)},p(s,i){i&4&&e!==(e=s[5].cardHeader+"")&&me(t,e)},d(s){s&&$(t)}}}function Jt(r){var w,b;let e,t,s,i,l,n=r[5].title+"",a,o,d,c,f,u,p,h=r[5].image&&pi(r),g=r[5].cardHeader&&hi(r),v=[{href:u=(w=r[5])!=null&&w.link?(b=r[5])==null?void 0:b.link:null}],m={};for(let _=0;_<v.length;_+=1)m=Re(m,v[_]);return{c(){var _;e=L((_=r[5])!=null&&_.link?"a":"div"),t=L("div"),s=L("div"),h&&h.c(),i=W(),l=L("h4"),a=ue(n),o=W(),d=L("p"),g&&g.c(),f=W(),this.h()},l(_){var P;e=z(_,(((P=r[5])!=null&&P.link?"a":"div")||"null").toUpperCase(),{href:!0});var E=I(e);t=z(E,"DIV",{class:!0});var C=I(t);s=z(C,"DIV",{class:!0});var H=I(s);h&&h.l(H),H.forEach($),i=U(C),l=z(C,"H4",{class:!0});var T=I(l);a=pe(T,n),T.forEach($),o=U(C),d=z(C,"P",{class:!0});var x=I(d);g&&g.l(x),x.forEach($),C.forEach($),f=U(E),E.forEach($),this.h()},h(){var _;y(s,"class","col-span-2 sm:col-span-1"),y(l,"class","font-bold text-primary col-span-10 sm:col-span-8 text-xl px-4"),y(d,"class","text-gray-400 col-span-9 sm:col-span-3 sm:text-right col-start-3 pl-4 sm:pl-0 sm:col-start-auto font-bold"),y(t,"class",c="grid grid-cols-12 py-6 items-center place-content-start "+(r[9]<r[2].length-1&&"border-b")),zt((_=r[5])!=null&&_.link?"a":"div")(e,m)},m(_,E){N(_,e,E),k(e,t),k(t,s),h&&h.m(s,null),k(t,i),k(t,l),k(l,a),k(t,o),k(t,d),g&&g.m(d,null),k(e,f),p=!0},p(_,E){var C,H,T;_[5].image?h?(h.p(_,E),E&4&&S(h,1)):(h=pi(_),h.c(),S(h,1),h.m(s,null)):h&&(fe(),O(h,1,1,()=>{h=null}),de()),(!p||E&4)&&n!==(n=_[5].title+"")&&me(a,n),_[5].cardHeader?g?g.p(_,E):(g=hi(_),g.c(),g.m(d,null)):g&&(g.d(1),g=null),(!p||E&4&&c!==(c="grid grid-cols-12 py-6 items-center place-content-start "+(_[9]<_[2].length-1&&"border-b")))&&y(t,"class",c),zt((C=_[5])!=null&&C.link?"a":"div")(e,m=ot(v,[(!p||E&4&&u!==(u=(H=_[5])!=null&&H.link?(T=_[5])==null?void 0:T.link:null))&&{href:u}]))},i(_){p||(S(h),p=!0)},o(_){O(h),p=!1},d(_){_&&$(e),h&&h.d(),g&&g.d()}}}function mi(r){var i,l;let e=(i=r[5])!=null&&i.link?"a":"div",t,s=((l=r[5])!=null&&l.link?"a":"div")&&Jt(r);return{c(){s&&s.c(),t=J()},l(n){s&&s.l(n),t=J()},m(n,a){s&&s.m(n,a),N(n,t,a)},p(n,a){var o,d,c,f;(o=n[5])!=null&&o.link,e?le(e,(c=n[5])!=null&&c.link?"a":"div")?(s.d(1),s=Jt(n),e=(f=n[5])!=null&&f.link?"a":"div",s.c(),s.m(t.parentNode,t)):s.p(n,a):(s=Jt(n),e=(d=n[5])!=null&&d.link?"a":"div",s.c(),s.m(t.parentNode,t))},i:se,o(n){O(s,n)},d(n){n&&$(t),s&&s.d(n)}}}function gi(r){let e,t;return e=new it({props:{class:"w-full bg-white h-36 object-cover",image:r[5].image}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&4&&(l.image=s[5].image),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function vi(r){let e,t,s,i,l=r[5].cardHeader&&wi(r),n=r[5].cardHeaderEnd&&bi(r);return{c(){e=L("div"),t=L("span"),l&&l.c(),s=W(),i=L("span"),n&&n.c(),this.h()},l(a){e=z(a,"DIV",{class:!0});var o=I(e);t=z(o,"SPAN",{});var d=I(t);l&&l.l(d),d.forEach($),s=U(o),i=z(o,"SPAN",{});var c=I(i);n&&n.l(c),c.forEach($),o.forEach($),this.h()},h(){y(e,"class","font-bold text-gray-400 group-hover:text-inherit flex justify-between")},m(a,o){N(a,e,o),k(e,t),l&&l.m(t,null),k(e,s),k(e,i),n&&n.m(i,null)},p(a,o){a[5].cardHeader?l?l.p(a,o):(l=wi(a),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[5].cardHeaderEnd?n?n.p(a,o):(n=bi(a),n.c(),n.m(i,null)):n&&(n.d(1),n=null)},d(a){a&&$(e),l&&l.d(),n&&n.d()}}}function wi(r){let e=r[5].cardHeader+"",t;return{c(){t=ue(e)},l(s){t=pe(s,e)},m(s,i){N(s,t,i)},p(s,i){i&4&&e!==(e=s[5].cardHeader+"")&&me(t,e)},d(s){s&&$(t)}}}function bi(r){let e=r[5].cardHeaderEnd+"",t;return{c(){t=ue(e)},l(s){t=pe(s,e)},m(s,i){N(s,t,i)},p(s,i){i&4&&e!==(e=s[5].cardHeaderEnd+"")&&me(t,e)},d(s){s&&$(t)}}}function _i(r){let e,t=r[5].cardFooter+"",s;return{c(){e=L("div"),s=ue(t),this.h()},l(i){e=z(i,"DIV",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","pt-10 font-bold text-gray-400 group-hover:text-inherit")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&4&&t!==(t=i[5].cardFooter+"")&&me(s,t)},d(i){i&&$(e)}}}function Qt(r){var v,m;let e,t,s,i,l,n=r[5].title+"",a,o,d,c,f=r[5].image&&gi(r),u=(r[5].cardHeader||r[5].cardHeaderEnd)&&vi(r),p=r[5].cardFooter&&_i(r),h=[{href:d=(v=r[5])!=null&&v.link?(m=r[5])==null?void 0:m.link:null}],g={};for(let w=0;w<h.length;w+=1)g=Re(g,h[w]);return{c(){var w;e=L((w=r[5])!=null&&w.link?"a":"div"),f&&f.c(),t=W(),s=L("div"),u&&u.c(),i=W(),l=L("div"),a=ue(n),o=W(),p&&p.c(),this.h()},l(w){var C;e=z(w,(((C=r[5])!=null&&C.link?"a":"div")||"null").toUpperCase(),{href:!0});var b=I(e);f&&f.l(b),t=U(b),s=z(b,"DIV",{class:!0});var _=I(s);u&&u.l(_),i=U(_),l=z(_,"DIV",{class:!0});var E=I(l);a=pe(E,n),E.forEach($),o=U(_),p&&p.l(_),_.forEach($),b.forEach($),this.h()},h(){var w;y(l,"class","text-primary font-bold text-xl"),y(s,"class","p-5 pt-8 pb-8 flex flex-col gap-4"),zt((w=r[5])!=null&&w.link?"a":"div")(e,g)},m(w,b){N(w,e,b),f&&f.m(e,null),k(e,t),k(e,s),u&&u.m(s,null),k(s,i),k(s,l),k(l,a),k(s,o),p&&p.m(s,null),c=!0},p(w,b){var _,E,C;w[5].image?f?(f.p(w,b),b&4&&S(f,1)):(f=gi(w),f.c(),S(f,1),f.m(e,t)):f&&(fe(),O(f,1,1,()=>{f=null}),de()),w[5].cardHeader||w[5].cardHeaderEnd?u?u.p(w,b):(u=vi(w),u.c(),u.m(s,i)):u&&(u.d(1),u=null),(!c||b&4)&&n!==(n=w[5].title+"")&&me(a,n),w[5].cardFooter?p?p.p(w,b):(p=_i(w),p.c(),p.m(s,null)):p&&(p.d(1),p=null),zt((_=w[5])!=null&&_.link?"a":"div")(e,g=ot(h,[(!c||b&4&&d!==(d=(E=w[5])!=null&&E.link?(C=w[5])==null?void 0:C.link:null))&&{href:d}]))},i(w){c||(S(f),c=!0)},o(w){O(f),c=!1},d(w){w&&$(e),f&&f.d(),u&&u.d(),p&&p.d()}}}function Eo(r){var i,l;let e=(i=r[5])!=null&&i.link?"a":"div",t,s=((l=r[5])!=null&&l.link?"a":"div")&&Qt(r);return{c(){s&&s.c(),t=W()},l(n){s&&s.l(n),t=U(n)},m(n,a){s&&s.m(n,a),N(n,t,a)},p(n,a){var o,d,c,f;(o=n[5])!=null&&o.link,e?le(e,(c=n[5])!=null&&c.link?"a":"div")?(s.d(1),s=Qt(n),e=(f=n[5])!=null&&f.link?"a":"div",s.c(),s.m(t.parentNode,t)):s.p(n,a):(s=Qt(n),e=(d=n[5])!=null&&d.link?"a":"div",s.c(),s.m(t.parentNode,t))},i:se,o(n){O(s,n)},d(n){n&&$(t),s&&s.d(n)}}}function yi(r){let e,t;return e=new Gt({props:{class:"overflow-hidden group hover:bg-gray-50 hover:text-secondary",$$slots:{default:[Eo]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1028&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function ko(r){let e,t,s=re(r[2]),i=[];for(let n=0;n<s.length;n+=1)i[n]=yi(ui(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&4){s=re(n[2]);let o;for(o=0;o<s.length;o+=1){const d=ui(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=yi(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function So(r){let e,t,s,i,l,n,a,o,d,c,f,u,p,h;function g(_){r[4](_)}let v={};r[0]!==void 0&&(v.view=r[0]),n=new Wr({props:v}),_t.push(()=>Bt(n,"view",g));const m=[$o,yo],w=[];function b(_,E){return _[0]==="grid"?0:_[0]==="list"?1:-1}return~(d=b(r))&&(c=w[d]=m[d](r)),{c(){e=L("div"),t=L("div"),s=L("span"),i=ue(r[1]),l=W(),Q(n.$$.fragment),o=W(),c&&c.c(),this.h()},l(_){e=z(_,"DIV",{class:!0});var E=I(e);t=z(E,"DIV",{class:!0});var C=I(t);s=z(C,"SPAN",{});var H=I(s);i=pe(H,r[1]),H.forEach($),l=U(C),ie(n.$$.fragment,C),C.forEach($),o=U(E),c&&c.l(E),E.forEach($),this.h()},h(){y(t,"class","flex justify-between"),y(e,"class","flex flex-col gap-6")},m(_,E){N(_,e,E),k(e,t),k(t,s),k(s,i),k(t,l),ee(n,t,null),k(e,o),~d&&w[d].m(e,null),u=!0,p||(h=Ee(f=Se.call(null,e,r[3])),p=!0)},p(_,[E]){(!u||E&2)&&me(i,_[1]);const C={};!a&&E&1&&(a=!0,C.view=_[0],jt(()=>a=!1)),n.$set(C);let H=d;d=b(_),d===H?~d&&w[d].p(_,E):(c&&(fe(),O(w[H],1,1,()=>{w[H]=null}),de()),~d?(c=w[d],c?c.p(_,E):(c=w[d]=m[d](_),c.c()),S(c,1),c.m(e,null)):c=null),f&&ke(f.update)&&E&8&&f.update.call(null,_[3])},i(_){u||(S(n.$$.fragment,_),S(c),u=!0)},o(_){O(n.$$.fragment,_),O(c),u=!1},d(_){_&&$(e),te(n),~d&&w[d].d(),p=!1,h()}}}function xo(r,e,t){let{header:s=""}=e,{view:i="grid"}=e,{content:l=[]}=e,{blok:n}=e;function a(o){i=o,t(0,i)}return r.$$set=o=>{"header"in o&&t(1,s=o.header),"view"in o&&t(0,i=o.view),"content"in o&&t(2,l=o.content),"blok"in o&&t(3,n=o.blok)},[i,s,l,n,a]}class vs extends oe{constructor(e){super(),ce(this,e,xo,So,le,{header:1,view:0,content:2,blok:3})}get header(){return this.$$.ctx[1]}set header(e){this.$$set({header:e}),Z()}get view(){return this.$$.ctx[0]}set view(e){this.$$set({view:e}),Z()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),Z()}get blok(){return this.$$.ctx[3]}set blok(e){this.$$set({blok:e}),Z()}}ae(vs,{header:{},view:{},content:{},blok:{}},[],[],!0);function hu(r){return r<.5?4*r*r*r:.5*Math.pow(2*r-2,3)+1}function To(r){const e=r-1;return e*e*e+1}function Co(r){return--r*r*r*r*r+1}function $i(r,{delay:e=0,duration:t=400,easing:s=Ir}={}){const i=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:s,css:l=>`opacity: ${l*i}`}}function Ei(r,e,t){const s=r.slice();return s[5]=e[t],s[7]=t,s}function ki(r){let e,t,s,i,l,n,a,o,d,c,f,u,p,h,g,v,m,w,b=r[3]&&Si(r);return{c(){e=L("nav"),t=L("div"),s=L("a"),i=we("svg"),l=we("path"),n=ue(` Zurück`),d=W(),c=L("div"),b&&b.c(),f=W(),u=L("div"),p=L("a"),h=ue(`Weiter `),g=we("svg"),v=we("path"),this.h()},l(_){e=z(_,"NAV",{class:!0});var E=I(e);t=z(E,"DIV",{class:!0});var C=I(t);s=z(C,"A",{href:!0,class:!0});var H=I(s);i=be(H,"svg",{class:!0,viewBox:!0,fill:!0,"aria-hidden":!0});var T=I(i);l=be(T,"path",{"fill-rule":!0,d:!0,"clip-rule":!0}),I(l).forEach($),T.forEach($),n=pe(H,` Zurück`),H.forEach($),C.forEach($),d=U(E),c=z(E,"DIV",{class:!0});var x=I(c);b&&b.l(x),x.forEach($),f=U(E),u=z(E,"DIV",{class:!0});var P=I(u);p=z(P,"A",{href:!0,class:!0});var B=I(p);h=pe(B,`Weiter `),g=be(B,"svg",{class:!0,viewBox:!0,fill:!0,"aria-hidden":!0});var A=I(g);v=be(A,"path",{"fill-rule":!0,d:!0,"clip-rule":!0}),I(v).forEach($),A.forEach($),B.forEach($),P.forEach($),E.forEach($),this.h()},h(){y(l,"fill-rule","evenodd"),y(l,"d","M18 10a.75.75 0 01-.75.75H4.66l2.1 1.95a.75.75 0 11-1.02 1.1l-3.5-3.25a.75.75 0 010-1.1l3.5-3.25a.75.75 0 111.02 1.1l-2.1 1.95h12.59A.75.75 0 0118 10z"),y(l,"clip-rule","evenodd"),y(i,"class","mr-3 h-5 w-5 text-gray-400"),y(i,"viewBox","0 0 20 20"),y(i,"fill","currentColor"),y(i,"aria-hidden","true"),y(s,"href",a=r[2]-1>0?`?seite=${r[2]-1}`:null),y(s,"class",o=(r[2]-1>0?" ":"opacity-50 pointer-events-none")+" inline-flex items-center border-t-2 border-transparent pr-1 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700"),y(t,"class","-mt-px flex w-0 flex-1"),y(c,"class","hidden md:-mt-px md:flex"),y(v,"fill-rule","evenodd"),y(v,"d","M2 10a.75.75 0 01.75-.75h12.59l-2.1-1.95a.75.75 0 111.02-1.1l3.5 3.25a.75.75 0 010 1.1l-3.5 3.25a.75.75 0 11-1.02-1.1l2.1-1.95H2.75A.75.75 0 012 10z"),y(v,"clip-rule","evenodd"),y(g,"class","ml-3 h-5 w-5 text-gray-400"),y(g,"viewBox","0 0 20 20"),y(g,"fill","currentColor"),y(g,"aria-hidden","true"),y(p,"href",m=r[2]+1<=(r[3]??1)?`?seite=${r[2]+1}`:null),y(p,"class",w=(r[2]+1<=(r[3]??1)?" ":"opacity-50 pointer-events-none")+" inline-flex items-center border-t-2 border-transparent pl-1 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700"),y(u,"class","-mt-px flex w-0 flex-1 justify-end"),y(e,"class","flex mt-20 items-center justify-between border-t border-gray-200 px-4 sm:px-0")},m(_,E){N(_,e,E),k(e,t),k(t,s),k(s,i),k(i,l),k(s,n),k(e,d),k(e,c),b&&b.m(c,null),k(e,f),k(e,u),k(u,p),k(p,h),k(p,g),k(g,v)},p(_,E){E&4&&a!==(a=_[2]-1>0?`?seite=${_[2]-1}`:null)&&y(s,"href",a),E&4&&o!==(o=(_[2]-1>0?" ":"opacity-50 pointer-events-none")+" inline-flex items-center border-t-2 border-transparent pr-1 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700")&&y(s,"class",o),_[3]?b?b.p(_,E):(b=Si(_),b.c(),b.m(c,null)):b&&(b.d(1),b=null),E&12&&m!==(m=_[2]+1<=(_[3]??1)?`?seite=${_[2]+1}`:null)&&y(p,"href",m),E&12&&w!==(w=(_[2]+1<=(_[3]??1)?" ":"opacity-50 pointer-events-none")+" inline-flex items-center border-t-2 border-transparent pl-1 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700")&&y(p,"class",w)},d(_){_&&$(e),b&&b.d()}}}function Si(r){let e,t=re(Array(r[3]).fill(0)),s=[];for(let i=0;i<t.length;i+=1)s[i]=Ci(Ei(r,t,i));return{c(){for(let i=0;i<s.length;i+=1)s[i].c();e=J()},l(i){for(let l=0;l<s.length;l+=1)s[l].l(i);e=J()},m(i,l){for(let n=0;n<s.length;n+=1)s[n]&&s[n].m(i,l);N(i,e,l)},p(i,l){if(l&28){t=re(Array(i[3]).fill(0));let n;for(n=0;n<t.length;n+=1){const a=Ei(i,t,n);s[n]?s[n].p(a,l):(s[n]=Ci(a),s[n].c(),s[n].m(e.parentNode,e))}for(;n<s.length;n+=1)s[n].d(1);s.length=t.length}},d(i){i&&$(e),ye(s,i)}}}function xi(r){let e,t="...";return{c(){e=L("span"),e.textContent=t,this.h()},l(s){e=z(s,"SPAN",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-1pqo9h"&&(e.textContent=t),this.h()},h(){y(e,"class","inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500")},m(s,i){N(s,e,i)},d(s){s&&$(e)}}}function Ti(r){let e,t="...";return{c(){e=L("span"),e.textContent=t,this.h()},l(s){e=z(s,"SPAN",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-1pqo9h"&&(e.textContent=t),this.h()},h(){y(e,"class","inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500")},m(s,i){N(s,e,i)},d(s){s&&$(e)}}}function Ci(r){let e,t,s=r[7]+1+"",i,l,n,a,o=r[7]===r[3]-1&&r[2]<r[3]-2&&xi(),d=r[7]===0&&r[2]>r[7]+3&&Ti();return{c(){o&&o.c(),e=W(),t=L("a"),i=ue(s),n=W(),d&&d.c(),a=J(),this.h()},l(c){o&&o.l(c),e=U(c),t=z(c,"A",{href:!0,class:!0});var f=I(t);i=pe(f,s),f.forEach($),n=U(c),d&&d.l(c),a=J(),this.h()},h(){y(t,"href","?seite="+(r[7]+1)),y(t,"class",l="inline-flex "+(r[4](r[7],r[2],r[3])?"block":"hidden")+" items-center "+(r[7]+1===r[2]?"border-primary text-primary":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" border-t-2 px-4 pt-4 text-sm font-medium")},m(c,f){o&&o.m(c,f),N(c,e,f),N(c,t,f),k(t,i),N(c,n,f),d&&d.m(c,f),N(c,a,f)},p(c,f){c[7]===c[3]-1&&c[2]<c[3]-2?o||(o=xi(),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),f&12&&l!==(l="inline-flex "+(c[4](c[7],c[2],c[3])?"block":"hidden")+" items-center "+(c[7]+1===c[2]?"border-primary text-primary":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300")+" border-t-2 px-4 pt-4 text-sm font-medium")&&y(t,"class",l),c[7]===0&&c[2]>c[7]+3?d||(d=Ti(),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null)},d(c){c&&($(e),$(t),$(n),$(a)),o&&o.d(c),d&&d.d(c)}}}function Mo(r){let e,t=r[2]&&ki(r);return{c(){t&&t.c(),e=J()},l(s){t&&t.l(s),e=J()},m(s,i){t&&t.m(s,i),N(s,e,i)},p(s,[i]){s[2]?t?t.p(s,i):(t=ki(s),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:se,o:se,d(s){s&&$(e),t&&t.d(s)}}}function Io(r,e,t){let s,i=se,l=()=>(i(),i=wt(d,u=>t(2,s=u)),d),n,a=se,o=()=>(a(),a=wt(c,u=>t(3,n=u)),c);r.$$.on_destroy.push(()=>i()),r.$$.on_destroy.push(()=>a());let{index:d}=e;l();let{pageCount:c}=e;o();const f=(u,p,h)=>{const g=u+1;return h<=5||g===1||g===h||g===p||g===p-1||g===p+1||p<=3&&g<=4?!0:p>=h-2&&g>=h-3};return r.$$set=u=>{"index"in u&&l(t(0,d=u.index)),"pageCount"in u&&o(t(1,c=u.pageCount))},[d,c,s,n,f]}let Ur=class extends oe{constructor(e){super(),ce(this,e,Io,Mo,le,{index:0,pageCount:1})}get index(){return this.$$.ctx[0]}set index(e){this.$$set({index:e}),Z()}get pageCount(){return this.$$.ctx[1]}set pageCount(e){this.$$set({pageCount:e}),Z()}};ae(Ur,{index:{},pageCount:{}},[],[],!0);function Po(r){let e,t="Keine Artikel vorhanden";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-1b6i0b7"&&(e.textContent=t),this.h()},h(){y(e,"class","text-secondary text-center")},m(s,i){N(s,e,i)},p:se,i:se,o:se,d(s){s&&$(e)}}}function Lo(r){let e,t="Lade...";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-nntgc"&&(e.textContent=t),this.h()},h(){y(e,"class","text-secondary text-center")},m(s,i){N(s,e,i)},p:se,i:se,o:se,d(s){s&&$(e)}}}function zo(r){let e,t="Keine weiteren Artikel vorhanden";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-k1id7e"&&(e.textContent=t),this.h()},h(){y(e,"class","text-secondary text-center")},m(s,i){N(s,e,i)},p:se,i:se,o:se,d(s){s&&$(e)}}}function Ao(r){let e,t="Ungültige Seitenauswahl";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{class:!0,"data-svelte-h":!0}),Me(e)!=="svelte-1adrfg4"&&(e.textContent=t),this.h()},h(){y(e,"class","text-secondary text-center")},m(s,i){N(s,e,i)},p:se,i:se,o:se,d(s){s&&$(e)}}}function Do(r){let e,t=r[3],s,i=Mi(r);return{c(){e=L("div"),i.c(),this.h()},l(l){e=z(l,"DIV",{class:!0});var n=I(e);i.l(n),n.forEach($),this.h()},h(){y(e,"class","grid grid-cols-1 grid-rows-1")},m(l,n){N(l,e,n),i.m(e,null),s=!0},p(l,n){n&8&&le(t,t=l[3])?(fe(),O(i,1,1,se),de(),i=Mi(l),i.c(),S(i,1),i.m(e,null)):i.p(l,n)},i(l){s||(S(i),s=!0)},o(l){O(i),s=!1},d(l){l&&$(e),i.d(l)}}}function Mi(r){let e,t,s,i,l;const n=r[8].default,a=We(n,r,r[7],null);return{c(){e=L("div"),a&&a.c(),this.h()},l(o){e=z(o,"DIV",{class:!0});var d=I(e);a&&a.l(d),d.forEach($),this.h()},h(){y(e,"class",t=(r[1]?"":"saturate-0 pointer-events-none")+" col-span-1 row-span-1 row-start-1 col-start-1")},m(o,d){N(o,e,d),a&&a.m(e,null),l=!0},p(o,d){a&&a.p&&(!l||d&128)&&Ue(a,n,o,o[7],l?Ke(n,o[7],d,null):Ze(o[7]),null),(!l||d&2&&t!==(t=(o[1]?"":"saturate-0 pointer-events-none")+" col-span-1 row-span-1 row-start-1 col-start-1"))&&y(e,"class",t)},i(o){l||(S(a,o),o&&Rn(()=>{l&&(i&&i.end(1),s=Nn(e,$i,{duration:200,delay:200}),s.start())}),l=!0)},o(o){O(a,o),s&&s.invalidate(),o&&(i=Bn(e,$i,{duration:200})),l=!1},d(o){o&&$(e),a&&a.d(o),o&&i&&i.end()}}}function Oo(r){let e,t,s,i,l;const n=[Do,Ao,zo,Lo,Po],a=[];function o(d,c){return d[3]&&d[3].length>0?0:d[2]?d[2]>1?2:d[1]?4:3:1}return e=o(r),t=a[e]=n[e](r),i=new Ur({props:{index:r[4],pageCount:r[5]}}),{c(){t.c(),s=W(),Q(i.$$.fragment)},l(d){t.l(d),s=U(d),ie(i.$$.fragment,d)},m(d,c){a[e].m(d,c),N(d,s,c),ee(i,d,c),l=!0},p(d,[c]){let f=e;e=o(d),e===f?a[e].p(d,c):(fe(),O(a[f],1,1,()=>{a[f]=null}),de(),t=a[e],t?t.p(d,c):(t=a[e]=n[e](d),t.c()),S(t,1),t.m(s.parentNode,s))},i(d){l||(S(t),S(i.$$.fragment,d),l=!0)},o(d){O(t),O(i.$$.fragment,d),l=!1},d(d){d&&$(s),a[e].d(d),te(i,d)}}}const Vo=24;function Ho(r,e,t){let s,i,l=se,n=()=>(l(),l=wt(d,g=>t(3,i=g)),d);r.$$.on_destroy.push(()=>l());let{$$slots:a={},$$scope:o}=e,{pageItems:d=He([])}=e;n();let{url:c}=e,f=!1;const u=g=>g?typeof g=="string"?parseInt(g):g:null,p=ft([Fe],([g])=>{t(1,f=!0);const v=u(g.url.searchParams.get("seite"))??1;return!v||isNaN(v)||v<1?(console.error("Invalid page number"),null):(v!==s&&t(1,f=!1),fetch(`/api/content?${c}&page=${v}&per_page=${Vo}`).then(m=>m.json()).then(m=>{t(1,f=!0),d.set(m.stories),h.set(Math.ceil(m.total/m.perPage))}),v)});Ge(r,p,g=>t(2,s=g));const h=He(null);return r.$$set=g=>{"pageItems"in g&&n(t(0,d=g.pageItems)),"url"in g&&t(6,c=g.url),"$$scope"in g&&t(7,o=g.$$scope)},[d,f,s,i,p,h,c,o,a]}class ws extends oe{constructor(e){super(),ce(this,e,Ho,Oo,le,{pageItems:0,url:6})}get pageItems(){return this.$$.ctx[0]}set pageItems(e){this.$$set({pageItems:e}),Z()}get url(){return this.$$.ctx[6]}set url(e){this.$$set({url:e}),Z()}}ae(ws,{pageItems:{},url:{}},["default"],[],!0);function Ro(r){var s;let e,t;return e=new vs({props:{blok:r[0],content:(s=r[2])==null?void 0:s.map(r[3])}}),{c(){Q(e.$$.fragment)},l(i){ie(e.$$.fragment,i)},m(i,l){ee(e,i,l),t=!0},p(i,l){var a;const n={};l&1&&(n.blok=i[0]),l&4&&(n.content=(a=i[2])==null?void 0:a.map(i[3])),e.$set(n)},i(i){t||(S(e.$$.fragment,i),t=!0)},o(i){O(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function No(r){let e,t,s;function i(n){r[4](n)}let l={url:"content_type=event&sort_by=content.date:asc",$$slots:{default:[Ro]},$$scope:{ctx:r}};return r[1]!==void 0&&(l.pageItems=r[1]),e=new ws({props:l}),_t.push(()=>Bt(e,"pageItems",i)),{c(){Q(e.$$.fragment)},l(n){ie(e.$$.fragment,n)},m(n,a){ee(e,n,a),s=!0},p(n,[a]){const o={};a&37&&(o.$$scope={dirty:a,ctx:n}),!t&&a&2&&(t=!0,o.pageItems=n[1],jt(()=>t=!1)),e.$set(o)},i(n){s||(S(e.$$.fragment,n),s=!0)},o(n){O(e.$$.fragment,n),s=!1},d(n){te(e,n)}}}function Bo(r,e,t){let s,i=se,l=()=>(i(),i=wt(a,c=>t(2,s=c)),a);r.$$.on_destroy.push(()=>i());let{blok:n}=e,a;const o=c=>{var f;return{image:c.content.image,link:c.full_slug,cardHeader:c.content.dateEnd?Ve(c==null?void 0:c.content.date,{day:"2-digit",month:"2-digit"})+"-"+Ve(c==null?void 0:c.content.dateEnd,{day:"2-digit",month:"2-digit",year:"numeric"}):Ve((f=c.content)==null?void 0:f.date),title:c.content.title}};function d(c){a=c,l(t(1,a))}return r.$$set=c=>{"blok"in c&&t(0,n=c.blok)},[n,a,s,o,d]}class Zr extends oe{constructor(e){super(),ce(this,e,Bo,No,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Zr,{blok:{}},[],[],!0);function Ii(r){return r!==null&&typeof r=="object"&&"constructor"in r&&r.constructor===Object}function bs(r,e){r===void 0&&(r={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof r[t]>"u"?r[t]=e[t]:Ii(e[t])&&Ii(r[t])&&Object.keys(e[t]).length>0&&bs(r[t],e[t])})}const Kr={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Te(){const r=typeof document<"u"?document:{};return bs(r,Kr),r}const jo={document:Kr,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(r){return typeof setTimeout>"u"?(r(),null):setTimeout(r,0)},cancelAnimationFrame(r){typeof setTimeout>"u"||clearTimeout(r)}};function $e(){const r=typeof window<"u"?window:{};return bs(r,jo),r}function qe(r){return r===void 0&&(r=""),r.trim().split(" ").filter(e=>!!e.trim())}function Go(r){const e=r;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function tt(r,e){return e===void 0&&(e=0),setTimeout(r,e)}function ze(){return Date.now()}function Fo(r){const e=$e();let t;return e.getComputedStyle&&(t=e.getComputedStyle(r,null)),!t&&r.currentStyle&&(t=r.currentStyle),t||(t=r.style),t}function ds(r,e){e===void 0&&(e="x");const t=$e();let s,i,l;const n=Fo(r);return t.WebKitCSSMatrix?(i=n.transform||n.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),l=new t.WebKitCSSMatrix(i==="none"?"":i)):(l=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=l.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?i=l.m41:s.length===16?i=parseFloat(s[12]):i=parseFloat(s[4])),e==="y"&&(t.WebKitCSSMatrix?i=l.m42:s.length===16?i=parseFloat(s[13]):i=parseFloat(s[5])),i||0}function mt(r){return typeof r=="object"&&r!==null&&r.constructor&&Object.prototype.toString.call(r).slice(8,-1)==="Object"}function qo(r){return typeof window<"u"&&typeof window.HTMLElement<"u"?r instanceof HTMLElement:r&&(r.nodeType===1||r.nodeType===11)}function Pe(){const r=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const s=t<0||arguments.length<=t?void 0:arguments[t];if(s!=null&&!qo(s)){const i=Object.keys(Object(s)).filter(l=>e.indexOf(l)<0);for(let l=0,n=i.length;l<n;l+=1){const a=i[l],o=Object.getOwnPropertyDescriptor(s,a);o!==void 0&&o.enumerable&&(mt(r[a])&&mt(s[a])?s[a].__swiper__?r[a]=s[a]:Pe(r[a],s[a]):!mt(r[a])&&mt(s[a])?(r[a]={},s[a].__swiper__?r[a]=s[a]:Pe(r[a],s[a])):r[a]=s[a])}}}return r}function gt(r,e,t){r.style.setProperty(e,t)}function Jr(r){let{swiper:e,targetPosition:t,side:s}=r;const i=$e(),l=-e.translate;let n=null,a;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const d=t>l?"next":"prev",c=(u,p)=>d==="next"&&u>=p||d==="prev"&&u<=p,f=()=>{a=new Date().getTime(),n===null&&(n=a);const u=Math.max(Math.min((a-n)/o,1),0),p=.5-Math.cos(u*Math.PI)/2;let h=l+p*(t-l);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[s]:h}),c(h,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:h})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function rt(r){return r.querySelector(".swiper-slide-transform")||r.shadowRoot&&r.shadowRoot.querySelector(".swiper-slide-transform")||r}function xe(r,e){return e===void 0&&(e=""),[...r.children].filter(t=>t.matches(e))}function Vt(r){try{console.warn(r);return}catch{}}function Le(r,e){e===void 0&&(e=[]);const t=document.createElement(r);return t.classList.add(...Array.isArray(e)?e:qe(e)),t}function Ht(r){const e=$e(),t=Te(),s=r.getBoundingClientRect(),i=t.body,l=r.clientTop||i.clientTop||0,n=r.clientLeft||i.clientLeft||0,a=r===e?e.scrollY:r.scrollTop,o=r===e?e.scrollX:r.scrollLeft;return{top:s.top+a-l,left:s.left+o-n}}function Yo(r,e){const t=[];for(;r.previousElementSibling;){const s=r.previousElementSibling;e?s.matches(e)&&t.push(s):t.push(s),r=s}return t}function Xo(r,e){const t=[];for(;r.nextElementSibling;){const s=r.nextElementSibling;e?s.matches(e)&&t.push(s):t.push(s),r=s}return t}function Ye(r,e){return $e().getComputedStyle(r,null).getPropertyValue(e)}function bt(r){let e=r,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function et(r,e){const t=[];let s=r.parentElement;for(;s;)e?s.matches(e)&&t.push(s):t.push(s),s=s.parentElement;return t}function vt(r,e){function t(s){s.target===r&&(e.call(r,s),r.removeEventListener("transitionend",t))}e&&r.addEventListener("transitionend",t)}function fs(r,e,t){const s=$e();return t?r[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(r,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(r,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):r.offsetWidth}function he(r){return(Array.isArray(r)?r:[r]).filter(e=>!!e)}let es;function Wo(){const r=$e(),e=Te();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in r||r.DocumentTouch&&e instanceof r.DocumentTouch)}}function Qr(){return es||(es=Wo()),es}let ts;function Uo(r){let{userAgent:e}=r===void 0?{}:r;const t=Qr(),s=$e(),i=s.navigator.platform,l=e||s.navigator.userAgent,n={ios:!1,android:!1},a=s.screen.width,o=s.screen.height,d=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&t.touch&&g.indexOf(`${a}x${o}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),d&&!p&&(n.os="android",n.android=!0),(c||u||f)&&(n.os="ios",n.ios=!0),n}function en(r){return r===void 0&&(r={}),ts||(ts=Uo(r)),ts}let ss;function Zo(){const r=$e(),e=en();let t=!1;function s(){const a=r.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(s()){const a=String(r.navigator.userAgent);if(a.includes("Version/")){const[o,d]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=o<16||o===16&&d<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(r.navigator.userAgent),l=s(),n=l||i&&e.ios;return{isSafari:t||l,needPerspectiveFix:t,need3dFix:n,isWebView:i}}function Ko(){return ss||(ss=Zo()),ss}function Jo(r){let{swiper:e,on:t,emit:s}=r;const i=$e();let l=null,n=null;const a=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},o=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{n=i.requestAnimationFrame(()=>{const{width:u,height:p}=e;let h=u,g=p;f.forEach(v=>{let{contentBoxSize:m,contentRect:w,target:b}=v;b&&b!==e.el||(h=w?w.width:(m[0]||m).inlineSize,g=w?w.height:(m[0]||m).blockSize)}),(h!==u||g!==p)&&a()})}),l.observe(e.el))},d=()=>{n&&i.cancelAnimationFrame(n),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){o();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),t("destroy",()=>{d(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function Qo(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l=[],n=$e(),a=function(c,f){f===void 0&&(f={});const u=n.MutationObserver||n.WebkitMutationObserver,p=new u(h=>{if(e.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const g=function(){i("observerUpdate",h[0])};n.requestAnimationFrame?n.requestAnimationFrame(g):n.setTimeout(g,0)});p.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:typeof f.childList>"u"?!0:f.childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),l.push(p)},o=()=>{if(e.params.observer){if(e.params.observeParents){const c=et(e.hostEl);for(let f=0;f<c.length;f+=1)a(c[f])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},d=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",o),s("destroy",d)}var ec={on(r,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const i=t?"unshift":"push";return r.split(" ").forEach(l=>{s.eventsListeners[l]||(s.eventsListeners[l]=[]),s.eventsListeners[l][i](e)}),s},once(r,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function i(){s.off(r,i),i.__emitterProxy&&delete i.__emitterProxy;for(var l=arguments.length,n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];e.apply(s,n)}return i.__emitterProxy=e,s.on(r,i,t)},onAny(r,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof r!="function")return t;const s=e?"unshift":"push";return t.eventsAnyListeners.indexOf(r)<0&&t.eventsAnyListeners[s](r),t},offAny(r){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(r);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(r,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||r.split(" ").forEach(s=>{typeof e>"u"?t.eventsListeners[s]=[]:t.eventsListeners[s]&&t.eventsListeners[s].forEach((i,l)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&t.eventsListeners[s].splice(l,1)})}),t},emit(){const r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;let e,t,s;for(var i=arguments.length,l=new Array(i),n=0;n<i;n++)l[n]=arguments[n];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],t=l.slice(1,l.length),s=r):(e=l[0].events,t=l[0].data,s=l[0].context||r),t.unshift(s),(Array.isArray(e)?e:e.split(" ")).forEach(o=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(d=>{d.apply(s,[o,...t])}),r.eventsListeners&&r.eventsListeners[o]&&r.eventsListeners[o].forEach(d=>{d.apply(s,t)})}),r}};function tc(){const r=this;let e,t;const s=r.el;typeof r.params.width<"u"&&r.params.width!==null?e=r.params.width:e=s.clientWidth,typeof r.params.height<"u"&&r.params.height!==null?t=r.params.height:t=s.clientHeight,!(e===0&&r.isHorizontal()||t===0&&r.isVertical())&&(e=e-parseInt(Ye(s,"padding-left")||0,10)-parseInt(Ye(s,"padding-right")||0,10),t=t-parseInt(Ye(s,"padding-top")||0,10)-parseInt(Ye(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(r,{width:e,height:t,size:r.isHorizontal()?e:t}))}function sc(){const r=this;function e(P,B){return parseFloat(P.getPropertyValue(r.getDirectionLabel(B))||0)}const t=r.params,{wrapperEl:s,slidesEl:i,size:l,rtlTranslate:n,wrongRTL:a}=r,o=r.virtual&&t.virtual.enabled,d=o?r.virtual.slides.length:r.slides.length,c=xe(i,`.${r.params.slideClass}, swiper-slide`),f=o?r.virtual.slides.length:c.length;let u=[];const p=[],h=[];let g=t.slidesOffsetBefore;typeof g=="function"&&(g=t.slidesOffsetBefore.call(r));let v=t.slidesOffsetAfter;typeof v=="function"&&(v=t.slidesOffsetAfter.call(r));const m=r.snapGrid.length,w=r.slidesGrid.length;let b=t.spaceBetween,_=-g,E=0,C=0;if(typeof l>"u")return;typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*l:typeof b=="string"&&(b=parseFloat(b)),r.virtualSize=-b,c.forEach(P=>{n?P.style.marginLeft="":P.style.marginRight="",P.style.marginBottom="",P.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(gt(s,"--swiper-centered-offset-before",""),gt(s,"--swiper-centered-offset-after",""));const H=t.grid&&t.grid.rows>1&&r.grid;H?r.grid.initSlides(c):r.grid&&r.grid.unsetSlides();let T;const x=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(P=>typeof t.breakpoints[P].slidesPerView<"u").length>0;for(let P=0;P<f;P+=1){T=0;let B;if(c[P]&&(B=c[P]),H&&r.grid.updateSlide(P,B,c),!(c[P]&&Ye(B,"display")==="none")){if(t.slidesPerView==="auto"){x&&(c[P].style[r.getDirectionLabel("width")]="");const A=getComputedStyle(B),D=B.style.transform,V=B.style.webkitTransform;if(D&&(B.style.transform="none"),V&&(B.style.webkitTransform="none"),t.roundLengths)T=r.isHorizontal()?fs(B,"width",!0):fs(B,"height",!0);else{const G=e(A,"width"),Y=e(A,"padding-left"),M=e(A,"padding-right"),R=e(A,"margin-left"),F=e(A,"margin-right"),ne=A.getPropertyValue("box-sizing");if(ne&&ne==="border-box")T=G+R+F;else{const{clientWidth:j,offsetWidth:q}=B;T=G+Y+M+R+F+(q-j)}}D&&(B.style.transform=D),V&&(B.style.webkitTransform=V),t.roundLengths&&(T=Math.floor(T))}else T=(l-(t.slidesPerView-1)*b)/t.slidesPerView,t.roundLengths&&(T=Math.floor(T)),c[P]&&(c[P].style[r.getDirectionLabel("width")]=`${T}px`);c[P]&&(c[P].swiperSlideSize=T),h.push(T),t.centeredSlides?(_=_+T/2+E/2+b,E===0&&P!==0&&(_=_-l/2-b),P===0&&(_=_-l/2-b),Math.abs(_)<1/1e3&&(_=0),t.roundLengths&&(_=Math.floor(_)),C%t.slidesPerGroup===0&&u.push(_),p.push(_)):(t.roundLengths&&(_=Math.floor(_)),(C-Math.min(r.params.slidesPerGroupSkip,C))%r.params.slidesPerGroup===0&&u.push(_),p.push(_),_=_+T+b),r.virtualSize+=T+b,E=T,C+=1}}if(r.virtualSize=Math.max(r.virtualSize,l)+v,n&&a&&(t.effect==="slide"||t.effect==="coverflow")&&(s.style.width=`${r.virtualSize+b}px`),t.setWrapperSize&&(s.style[r.getDirectionLabel("width")]=`${r.virtualSize+b}px`),H&&r.grid.updateWrapperSize(T,u),!t.centeredSlides){const P=[];for(let B=0;B<u.length;B+=1){let A=u[B];t.roundLengths&&(A=Math.floor(A)),u[B]<=r.virtualSize-l&&P.push(A)}u=P,Math.floor(r.virtualSize-l)-Math.floor(u[u.length-1])>1&&u.push(r.virtualSize-l)}if(o&&t.loop){const P=h[0]+b;if(t.slidesPerGroup>1){const B=Math.ceil((r.virtual.slidesBefore+r.virtual.slidesAfter)/t.slidesPerGroup),A=P*t.slidesPerGroup;for(let D=0;D<B;D+=1)u.push(u[u.length-1]+A)}for(let B=0;B<r.virtual.slidesBefore+r.virtual.slidesAfter;B+=1)t.slidesPerGroup===1&&u.push(u[u.length-1]+P),p.push(p[p.length-1]+P),r.virtualSize+=P}if(u.length===0&&(u=[0]),b!==0){const P=r.isHorizontal()&&n?"marginLeft":r.getDirectionLabel("marginRight");c.filter((B,A)=>!t.cssMode||t.loop?!0:A!==c.length-1).forEach(B=>{B.style[P]=`${b}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let P=0;h.forEach(A=>{P+=A+(b||0)}),P-=b;const B=P-l;u=u.map(A=>A<=0?-g:A>B?B+v:A)}if(t.centerInsufficientSlides){let P=0;if(h.forEach(B=>{P+=B+(b||0)}),P-=b,P<l){const B=(l-P)/2;u.forEach((A,D)=>{u[D]=A-B}),p.forEach((A,D)=>{p[D]=A+B})}}if(Object.assign(r,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){gt(s,"--swiper-centered-offset-before",`${-u[0]}px`),gt(s,"--swiper-centered-offset-after",`${r.size/2-h[h.length-1]/2}px`);const P=-r.snapGrid[0],B=-r.slidesGrid[0];r.snapGrid=r.snapGrid.map(A=>A+P),r.slidesGrid=r.slidesGrid.map(A=>A+B)}if(f!==d&&r.emit("slidesLengthChange"),u.length!==m&&(r.params.watchOverflow&&r.checkOverflow(),r.emit("snapGridLengthChange")),p.length!==w&&r.emit("slidesGridLengthChange"),t.watchSlidesProgress&&r.updateSlidesOffset(),r.emit("slidesUpdated"),!o&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const P=`${t.containerModifierClass}backface-hidden`,B=r.el.classList.contains(P);f<=t.maxBackfaceHiddenSlides?B||r.el.classList.add(P):B&&r.el.classList.remove(P)}}function ic(r){const e=this,t=[],s=e.virtual&&e.params.virtual.enabled;let i=0,l;typeof r=="number"?e.setTransition(r):r===!0&&e.setTransition(e.params.speed);const n=a=>s?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{t.push(a)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const a=e.activeIndex+l;if(a>e.slides.length&&!s)break;t.push(n(a))}else t.push(n(e.activeIndex));for(l=0;l<t.length;l+=1)if(typeof t[l]<"u"){const a=t[l].offsetHeight;i=a>i?a:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function rc(){const r=this,e=r.slides,t=r.isElement?r.isHorizontal()?r.wrapperEl.offsetLeft:r.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(r.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-t-r.cssOverflowAdjustment()}function nc(r){r===void 0&&(r=this&&this.translate||0);const e=this,t=e.params,{slides:s,rtlTranslate:i,snapGrid:l}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let n=-r;i&&(n=r),s.forEach(o=>{o.classList.remove(t.slideVisibleClass,t.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=t.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let o=0;o<s.length;o+=1){const d=s[o];let c=d.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=s[0].swiperSlideOffset);const f=(n+(t.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+a),u=(n-l[0]+(t.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+a),p=-(n-c),h=p+e.slidesSizesGrid[o],g=p>=0&&p<=e.size-e.slidesSizesGrid[o];(p>=0&&p<e.size-1||h>1&&h<=e.size||p<=0&&h>=e.size)&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(o),s[o].classList.add(t.slideVisibleClass)),g&&s[o].classList.add(t.slideFullyVisibleClass),d.progress=i?-f:f,d.originalProgress=i?-u:u}}function lc(r){const e=this;if(typeof r>"u"){const c=e.rtlTranslate?-1:1;r=e&&e.translate&&e.translate*c||0}const t=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:l,isEnd:n,progressLoop:a}=e;const o=l,d=n;if(s===0)i=0,l=!0,n=!0;else{i=(r-e.minTranslate())/s;const c=Math.abs(r-e.minTranslate())<1,f=Math.abs(r-e.maxTranslate())<1;l=c||i<=0,n=f||i>=1,c&&(i=0),f&&(i=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),u=e.slidesGrid[c],p=e.slidesGrid[f],h=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(r);g>=u?a=(g-u)/h:a=(g+h-p)/h,a>1&&(a-=1)}Object.assign(e,{progress:i,progressLoop:a,isBeginning:l,isEnd:n}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(r),l&&!o&&e.emit("reachBeginning toEdge"),n&&!d&&e.emit("reachEnd toEdge"),(o&&!l||d&&!n)&&e.emit("fromEdge"),e.emit("progress",i)}const is=(r,e,t)=>{e&&!r.classList.contains(t)?r.classList.add(t):!e&&r.classList.contains(t)&&r.classList.remove(t)};function ac(){const r=this,{slides:e,params:t,slidesEl:s,activeIndex:i}=r,l=r.virtual&&t.virtual.enabled,n=r.grid&&t.grid&&t.grid.rows>1,a=f=>xe(s,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let o,d,c;if(l)if(t.loop){let f=i-r.virtual.slidesBefore;f<0&&(f=r.virtual.slides.length+f),f>=r.virtual.slides.length&&(f-=r.virtual.slides.length),o=a(`[data-swiper-slide-index="${f}"]`)}else o=a(`[data-swiper-slide-index="${i}"]`);else n?(o=e.filter(f=>f.column===i)[0],c=e.filter(f=>f.column===i+1)[0],d=e.filter(f=>f.column===i-1)[0]):o=e[i];o&&(n||(c=Xo(o,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),d=Yo(o,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(f=>{is(f,f===o,t.slideActiveClass),is(f,f===c,t.slideNextClass),is(f,f===d,t.slidePrevClass)}),r.emitSlidesClasses()}const It=(r,e)=>{if(!r||r.destroyed||!r.params)return;const t=()=>r.isElement?"swiper-slide":`.${r.params.slideClass}`,s=e.closest(t());if(s){let i=s.querySelector(`.${r.params.lazyPreloaderClass}`);!i&&r.isElement&&(s.shadowRoot?i=s.shadowRoot.querySelector(`.${r.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(i=s.shadowRoot.querySelector(`.${r.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},rs=(r,e)=>{if(!r.slides[e])return;const t=r.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},us=r=>{if(!r||r.destroyed||!r.params)return;let e=r.params.lazyPreloadPrevNext;const t=r.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const s=r.params.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(r.params.slidesPerView),i=r.activeIndex;if(r.params.grid&&r.params.grid.rows>1){const n=i,a=[n-e];a.push(...Array.from({length:e}).map((o,d)=>n+s+d)),r.slides.forEach((o,d)=>{a.includes(o.column)&&rs(r,d)});return}const l=i+s-1;if(r.params.rewind||r.params.loop)for(let n=i-e;n<=l+e;n+=1){const a=(n%t+t)%t;(a<i||a>l)&&rs(r,a)}else for(let n=Math.max(i-e,0);n<=Math.min(l+e,t-1);n+=1)n!==i&&(n>l||n<i)&&rs(r,n)};function oc(r){const{slidesGrid:e,params:t}=r,s=r.rtlTranslate?r.translate:-r.translate;let i;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?s>=e[l]&&s<e[l+1]-(e[l+1]-e[l])/2?i=l:s>=e[l]&&s<e[l+1]&&(i=l+1):s>=e[l]&&(i=l);return t.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function cc(r){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:i,activeIndex:l,realIndex:n,snapIndex:a}=e;let o=r,d;const c=p=>{let h=p-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof o>"u"&&(o=oc(e)),s.indexOf(t)>=0)d=s.indexOf(t);else{const p=Math.min(i.slidesPerGroupSkip,o);d=p+Math.floor((o-p)/i.slidesPerGroup)}if(d>=s.length&&(d=s.length-1),o===l&&!e.params.loop){d!==a&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(o===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(o);return}const f=e.grid&&i.grid&&i.grid.rows>1;let u;if(e.virtual&&i.virtual.enabled&&i.loop)u=c(o);else if(f){const p=e.slides.filter(g=>g.column===o)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(p),0)),u=Math.floor(h/i.grid.rows)}else if(e.slides[o]){const p=e.slides[o].getAttribute("data-swiper-slide-index");p?u=parseInt(p,10):u=o}else u=o;Object.assign(e,{previousSnapIndex:a,snapIndex:d,previousRealIndex:n,realIndex:u,previousIndex:l,activeIndex:o}),e.initialized&&us(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(n!==u&&e.emit("realIndexChange"),e.emit("slideChange"))}function dc(r,e){const t=this,s=t.params;let i=r.closest(`.${s.slideClass}, swiper-slide`);!i&&t.isElement&&e&&e.length>1&&e.includes(r)&&[...e.slice(e.indexOf(r)+1,e.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${s.slideClass}, swiper-slide`)&&(i=a)});let l=!1,n;if(i){for(let a=0;a<t.slides.length;a+=1)if(t.slides[a]===i){l=!0,n=a;break}}if(i&&l)t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=n;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}s.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var fc={updateSize:tc,updateSlides:sc,updateAutoHeight:ic,updateSlidesOffset:rc,updateSlidesProgress:nc,updateProgress:lc,updateSlidesClasses:ac,updateActiveIndex:cc,updateClickedSlide:dc};function uc(r){r===void 0&&(r=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:s,translate:i,wrapperEl:l}=e;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let n=ds(l,r);return n+=e.cssOverflowAdjustment(),s&&(n=-n),n||0}function pc(r,e){const t=this,{rtlTranslate:s,params:i,wrapperEl:l,progress:n}=t;let a=0,o=0;const d=0;t.isHorizontal()?a=s?-r:r:o=r,i.roundLengths&&(a=Math.floor(a),o=Math.floor(o)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?a:o,i.cssMode?l[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-a:-o:i.virtualTranslate||(t.isHorizontal()?a-=t.cssOverflowAdjustment():o-=t.cssOverflowAdjustment(),l.style.transform=`translate3d(${a}px, ${o}px, ${d}px)`);let c;const f=t.maxTranslate()-t.minTranslate();f===0?c=0:c=(r-t.minTranslate())/f,c!==n&&t.updateProgress(r),t.emit("setTranslate",t.translate,e)}function hc(){return-this.snapGrid[0]}function mc(){return-this.snapGrid[this.snapGrid.length-1]}function gc(r,e,t,s,i){r===void 0&&(r=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),s===void 0&&(s=!0);const l=this,{params:n,wrapperEl:a}=l;if(l.animating&&n.preventInteractionOnTransition)return!1;const o=l.minTranslate(),d=l.maxTranslate();let c;if(s&&r>o?c=o:s&&r<d?c=d:c=r,l.updateProgress(c),n.cssMode){const f=l.isHorizontal();if(e===0)a[f?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Jr({swiper:l,targetPosition:-c,side:f?"left":"top"}),!0;a.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),t&&(l.emit("beforeTransitionStart",e,i),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),t&&(l.emit("beforeTransitionStart",e,i),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(u){!l||l.destroyed||u.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,t&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var vc={getTranslate:uc,setTranslate:pc,minTranslate:hc,maxTranslate:mc,translateTo:gc};function wc(r,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${r}ms`,t.wrapperEl.style.transitionDelay=r===0?"0ms":""),t.emit("setTransition",r,e)}function tn(r){let{swiper:e,runCallbacks:t,direction:s,step:i}=r;const{activeIndex:l,previousIndex:n}=e;let a=s;if(a||(l>n?a="next":l<n?a="prev":a="reset"),e.emit(`transition${i}`),t&&l!==n){if(a==="reset"){e.emit(`slideResetTransition${i}`);return}e.emit(`slideChangeTransition${i}`),a==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}function bc(r,e){r===void 0&&(r=!0);const t=this,{params:s}=t;s.cssMode||(s.autoHeight&&t.updateAutoHeight(),tn({swiper:t,runCallbacks:r,direction:e,step:"Start"}))}function _c(r,e){r===void 0&&(r=!0);const t=this,{params:s}=t;t.animating=!1,!s.cssMode&&(t.setTransition(0),tn({swiper:t,runCallbacks:r,direction:e,step:"End"}))}var yc={setTransition:wc,transitionStart:bc,transitionEnd:_c};function $c(r,e,t,s,i){r===void 0&&(r=0),t===void 0&&(t=!0),typeof r=="string"&&(r=parseInt(r,10));const l=this;let n=r;n<0&&(n=0);const{params:a,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:f,rtlTranslate:u,wrapperEl:p,enabled:h}=l;if(!h&&!s&&!i||l.destroyed||l.animating&&a.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const g=Math.min(l.params.slidesPerGroupSkip,n);let v=g+Math.floor((n-g)/l.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const m=-o[v];if(a.normalizeSlideIndex)for(let b=0;b<d.length;b+=1){const _=-Math.floor(m*100),E=Math.floor(d[b]*100),C=Math.floor(d[b+1]*100);typeof d[b+1]<"u"?_>=E&&_<C-(C-E)/2?n=b:_>=E&&_<C&&(n=b+1):_>=E&&(n=b)}if(l.initialized&&n!==f&&(!l.allowSlideNext&&(u?m>l.translate&&m>l.minTranslate():m<l.translate&&m<l.minTranslate())||!l.allowSlidePrev&&m>l.translate&&m>l.maxTranslate()&&(f||0)!==n))return!1;n!==(c||0)&&t&&l.emit("beforeSlideChangeStart"),l.updateProgress(m);let w;if(n>f?w="next":n<f?w="prev":w="reset",u&&-m===l.translate||!u&&m===l.translate)return l.updateActiveIndex(n),a.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),a.effect!=="slide"&&l.setTranslate(m),w!=="reset"&&(l.transitionStart(t,w),l.transitionEnd(t,w)),!1;if(a.cssMode){const b=l.isHorizontal(),_=u?m:-m;if(e===0){const E=l.virtual&&l.params.virtual.enabled;E&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),E&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[b?"scrollLeft":"scrollTop"]=_})):p[b?"scrollLeft":"scrollTop"]=_,E&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Jr({swiper:l,targetPosition:_,side:b?"left":"top"}),!0;p.scrollTo({[b?"left":"top"]:_,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(m),l.updateActiveIndex(n),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,s),l.transitionStart(t,w),e===0?l.transitionEnd(t,w):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(_){!l||l.destroyed||_.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(t,w))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Ec(r,e,t,s){r===void 0&&(r=0),t===void 0&&(t=!0),typeof r=="string"&&(r=parseInt(r,10));const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);const l=i.grid&&i.params.grid&&i.params.grid.rows>1;let n=r;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)n=n+i.virtual.slidesBefore;else{let a;if(l){const u=n*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===u)[0].column}else a=i.getSlideIndexByData(n);const o=l?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:d}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let f=o-a<c;if(d&&(f=f||a<Math.ceil(c/2)),s&&d&&i.params.slidesPerView!=="auto"&&!l&&(f=!1),f){const u=d?a<i.activeIndex?"prev":"next":a-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:u,slideTo:!0,activeSlideIndex:u==="next"?a+1:a-o+1,slideRealIndex:u==="next"?i.realIndex:void 0})}if(l){const u=n*i.params.grid.rows;n=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===u)[0].column}else n=i.getSlideIndexByData(n)}return requestAnimationFrame(()=>{i.slideTo(n,e,t,s)}),i}function kc(r,e,t){e===void 0&&(e=!0);const s=this,{enabled:i,params:l,animating:n}=s;if(!i||s.destroyed)return s;typeof r>"u"&&(r=s.params.speed);let a=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(a=Math.max(s.slidesPerViewDynamic("current",!0),1));const o=s.activeIndex<l.slidesPerGroupSkip?1:a,d=s.virtual&&l.virtual.enabled;if(l.loop){if(n&&!d&&l.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+o,r,e,t)}),!0}return l.rewind&&s.isEnd?s.slideTo(0,r,e,t):s.slideTo(s.activeIndex+o,r,e,t)}function Sc(r,e,t){e===void 0&&(e=!0);const s=this,{params:i,snapGrid:l,slidesGrid:n,rtlTranslate:a,enabled:o,animating:d}=s;if(!o||s.destroyed)return s;typeof r>"u"&&(r=s.params.speed);const c=s.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=a?s.translate:-s.translate;function u(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const p=u(f),h=l.map(m=>u(m));let g=l[h.indexOf(p)-1];if(typeof g>"u"&&i.cssMode){let m;l.forEach((w,b)=>{p>=w&&(m=b)}),typeof m<"u"&&(g=l[m>0?m-1:m])}let v=0;if(typeof g<"u"&&(v=n.indexOf(g),v<0&&(v=s.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(v=v-s.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&s.isBeginning){const m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,r,e,t)}else if(i.loop&&s.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{s.slideTo(v,r,e,t)}),!0;return s.slideTo(v,r,e,t)}function xc(r,e,t){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof r>"u"&&(r=s.params.speed),s.slideTo(s.activeIndex,r,e,t)}function Tc(r,e,t,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const i=this;if(i.destroyed)return;typeof r>"u"&&(r=i.params.speed);let l=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,l),a=n+Math.floor((l-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[a]){const d=i.snapGrid[a],c=i.snapGrid[a+1];o-d>(c-d)*s&&(l+=i.params.slidesPerGroup)}else{const d=i.snapGrid[a-1],c=i.snapGrid[a];o-d<=(c-d)*s&&(l-=i.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,i.slidesGrid.length-1),i.slideTo(l,r,e,t)}function Cc(){const r=this;if(r.destroyed)return;const{params:e,slidesEl:t}=r,s=e.slidesPerView==="auto"?r.slidesPerViewDynamic():e.slidesPerView;let i=r.clickedIndex,l;const n=r.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(r.animating)return;l=parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?i<r.loopedSlides-s/2||i>r.slides.length-r.loopedSlides+s/2?(r.loopFix(),i=r.getSlideIndex(xe(t,`${n}[data-swiper-slide-index="${l}"]`)[0]),tt(()=>{r.slideTo(i)})):r.slideTo(i):i>r.slides.length-s?(r.loopFix(),i=r.getSlideIndex(xe(t,`${n}[data-swiper-slide-index="${l}"]`)[0]),tt(()=>{r.slideTo(i)})):r.slideTo(i)}else r.slideTo(i)}var Mc={slideTo:$c,slideToLoop:Ec,slideNext:kc,slidePrev:Sc,slideReset:xc,slideToClosest:Tc,slideToClickedSlide:Cc};function Ic(r){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{xe(s,`.${t.slideClass}, swiper-slide`).forEach((f,u)=>{f.setAttribute("data-swiper-slide-index",u)})},l=e.grid&&t.grid&&t.grid.rows>1,n=t.slidesPerGroup*(l?t.grid.rows:1),a=e.slides.length%n!==0,o=l&&e.slides.length%t.grid.rows!==0,d=c=>{for(let f=0;f<c;f+=1){const u=e.isElement?Le("swiper-slide",[t.slideBlankClass]):Le("div",[t.slideClass,t.slideBlankClass]);e.slidesEl.append(u)}};if(a){if(t.loopAddBlankSlides){const c=n-e.slides.length%n;d(c),e.recalcSlides(),e.updateSlides()}else Vt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(o){if(t.loopAddBlankSlides){const c=t.grid.rows-e.slides.length%t.grid.rows;d(c),e.recalcSlides(),e.updateSlides()}else Vt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();e.loopFix({slideRealIndex:r,direction:t.centeredSlides?void 0:"next"})}function Pc(r){let{slideRealIndex:e,slideTo:t=!0,direction:s,setTranslate:i,activeSlideIndex:l,byController:n,byMousewheel:a}=r===void 0?{}:r;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:f,slidesEl:u,params:p}=o,{centeredSlides:h}=p;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&p.virtual.enabled){t&&(!p.centeredSlides&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):p.centeredSlides&&o.snapIndex<p.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=f,o.emit("loopFix");return}let g=p.slidesPerView;g==="auto"?g=o.slidesPerViewDynamic():(g=Math.ceil(parseFloat(p.slidesPerView,10)),h&&g%2===0&&(g=g+1));const v=p.slidesPerGroupAuto?g:p.slidesPerGroup;let m=v;m%v!==0&&(m+=v-m%v),m+=p.loopAdditionalSlides,o.loopedSlides=m;const w=o.grid&&p.grid&&p.grid.rows>1;d.length<g+m?Vt("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&p.grid.fill==="row"&&Vt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],_=[];let E=o.activeIndex;typeof l>"u"?l=o.getSlideIndex(d.filter(D=>D.classList.contains(p.slideActiveClass))[0]):E=l;const C=s==="next"||!s,H=s==="prev"||!s;let T=0,x=0;const P=w?Math.ceil(d.length/p.grid.rows):d.length,A=(w?d[l].column:l)+(h&&typeof i>"u"?-g/2+.5:0);if(A<m){T=Math.max(m-A,v);for(let D=0;D<m-A;D+=1){const V=D-Math.floor(D/P)*P;if(w){const G=P-V-1;for(let Y=d.length-1;Y>=0;Y-=1)d[Y].column===G&&b.push(Y)}else b.push(P-V-1)}}else if(A+g>P-m){x=Math.max(A-(P-m*2),v);for(let D=0;D<x;D+=1){const V=D-Math.floor(D/P)*P;w?d.forEach((G,Y)=>{G.column===V&&_.push(Y)}):_.push(V)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),H&&b.forEach(D=>{d[D].swiperLoopMoveDOM=!0,u.prepend(d[D]),d[D].swiperLoopMoveDOM=!1}),C&&_.forEach(D=>{d[D].swiperLoopMoveDOM=!0,u.append(d[D]),d[D].swiperLoopMoveDOM=!1}),o.recalcSlides(),p.slidesPerView==="auto"?o.updateSlides():w&&(b.length>0&&H||_.length>0&&C)&&o.slides.forEach((D,V)=>{o.grid.updateSlide(V,D,o.slides)}),p.watchSlidesProgress&&o.updateSlidesOffset(),t){if(b.length>0&&H){if(typeof e>"u"){const D=o.slidesGrid[E],G=o.slidesGrid[E+T]-D;a?o.setTranslate(o.translate-G):(o.slideTo(E+Math.ceil(T),0,!1,!0),i&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-G,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-G))}else if(i){const D=w?b.length/p.grid.rows:b.length;o.slideTo(o.activeIndex+D,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(_.length>0&&C)if(typeof e>"u"){const D=o.slidesGrid[E],G=o.slidesGrid[E-x]-D;a?o.setTranslate(o.translate-G):(o.slideTo(E-x,0,!1,!0),i&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-G,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-G))}else{const D=w?_.length/p.grid.rows:_.length;o.slideTo(o.activeIndex-D,0,!1,!0)}}if(o.allowSlidePrev=c,o.allowSlideNext=f,o.controller&&o.controller.control&&!n){const D={slideRealIndex:e,direction:s,setTranslate:i,activeSlideIndex:l,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(V=>{!V.destroyed&&V.params.loop&&V.loopFix({...D,slideTo:V.params.slidesPerView===p.slidesPerView?t:!1})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...D,slideTo:o.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}o.emit("loopFix")}function Lc(){const r=this,{params:e,slidesEl:t}=r;if(!e.loop||r.virtual&&r.params.virtual.enabled)return;r.recalcSlides();const s=[];r.slides.forEach(i=>{const l=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;s[l]=i}),r.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),s.forEach(i=>{t.append(i)}),r.recalcSlides(),r.slideTo(r.realIndex,0)}var zc={loopCreate:Ic,loopFix:Pc,loopDestroy:Lc};function Ac(r){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=r?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Dc(){const r=this;r.params.watchOverflow&&r.isLocked||r.params.cssMode||(r.isElement&&(r.__preventObserver__=!0),r[r.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",r.isElement&&requestAnimationFrame(()=>{r.__preventObserver__=!1}))}var Oc={setGrabCursor:Ac,unsetGrabCursor:Dc};function Vc(r,e){e===void 0&&(e=this);function t(s){if(!s||s===Te()||s===$e())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(r);return!i&&!s.getRootNode?null:i||t(s.getRootNode().host)}return t(e)}function Pi(r,e,t){const s=$e(),{params:i}=r,l=i.edgeSwipeDetection,n=i.edgeSwipeThreshold;return l&&(t<=n||t>=s.innerWidth-n)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function Hc(r){const e=this,t=Te();let s=r;s.originalEvent&&(s=s.originalEvent);const i=e.touchEventsData;if(s.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==s.pointerId)return;i.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(i.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){Pi(e,s,s.targetTouches[0].pageX);return}const{params:l,touches:n,enabled:a}=e;if(!a||!l.simulateTouch&&s.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let o=s.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(o)||"which"in s&&s.which===3||"button"in s&&s.button>0||i.isTouched&&i.isMoved)return;const d=!!l.noSwipingClass&&l.noSwipingClass!=="",c=s.composedPath?s.composedPath():s.path;d&&s.target&&s.target.shadowRoot&&c&&(o=c[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,u=!!(s.target&&s.target.shadowRoot);if(l.noSwiping&&(u?Vc(f,o):o.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!o.closest(l.swipeHandler))return;n.currentX=s.pageX,n.currentY=s.pageY;const p=n.currentX,h=n.currentY;if(!Pi(e,s,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=p,n.startY=h,i.touchStartTime=ze(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(i.allowThresholdMove=!1);let g=!0;o.matches(i.focusableElements)&&(g=!1,o.nodeName==="SELECT"&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==o&&t.activeElement.blur();const v=g&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||v)&&!o.isContentEditable&&s.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Rc(r){const e=Te(),t=this,s=t.touchEventsData,{params:i,touches:l,rtlTranslate:n,enabled:a}=t;if(!a||!i.simulateTouch&&r.pointerType==="mouse")return;let o=r;if(o.originalEvent&&(o=o.originalEvent),o.type==="pointermove"&&(s.touchId!==null||o.pointerId!==s.pointerId))return;let d;if(o.type==="touchmove"){if(d=[...o.changedTouches].filter(C=>C.identifier===s.touchId)[0],!d||d.identifier!==s.touchId)return}else d=o;if(!s.isTouched){s.startMoving&&s.isScrolling&&t.emit("touchMoveOpposite",o);return}const c=d.pageX,f=d.pageY;if(o.preventedByNestedSwiper){l.startX=c,l.startY=f;return}if(!t.allowTouchMove){o.target.matches(s.focusableElements)||(t.allowClick=!1),s.isTouched&&(Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f}),s.touchStartTime=ze());return}if(i.touchReleaseOnEdges&&!i.loop){if(t.isVertical()){if(f<l.startY&&t.translate<=t.maxTranslate()||f>l.startY&&t.translate>=t.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(c<l.startX&&t.translate<=t.maxTranslate()||c>l.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&o.target===e.activeElement&&o.target.matches(s.focusableElements)){s.isMoved=!0,t.allowClick=!1;return}s.allowTouchCallbacks&&t.emit("touchMove",o),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=f;const u=l.currentX-l.startX,p=l.currentY-l.startY;if(t.params.threshold&&Math.sqrt(u**2+p**2)<t.params.threshold)return;if(typeof s.isScrolling>"u"){let C;t.isHorizontal()&&l.currentY===l.startY||t.isVertical()&&l.currentX===l.startX?s.isScrolling=!1:u*u+p*p>=25&&(C=Math.atan2(Math.abs(p),Math.abs(u))*180/Math.PI,s.isScrolling=t.isHorizontal()?C>i.touchAngle:90-C>i.touchAngle)}if(s.isScrolling&&t.emit("touchMoveOpposite",o),typeof s.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(s.startMoving=!0),s.isScrolling||o.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;t.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation();let h=t.isHorizontal()?u:p,g=t.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;i.oneWayMovement&&(h=Math.abs(h)*(n?1:-1),g=Math.abs(g)*(n?1:-1)),l.diff=h,h*=i.touchRatio,n&&(h=-h,g=-g);const v=t.touchesDirection;t.swipeDirection=h>0?"prev":"next",t.touchesDirection=g>0?"prev":"next";const m=t.params.loop&&!i.cssMode,w=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!s.isMoved){if(m&&w&&t.loopFix({direction:t.swipeDirection}),s.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(C)}s.allowMomentumBounce=!1,i.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",o)}let b;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&v!==t.touchesDirection&&m&&w&&Math.abs(h)>=1){Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}t.emit("sliderMove",o),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let _=!0,E=i.resistanceRatio;if(i.touchReleaseOnEdges&&(E=0),h>0?(m&&w&&!b&&s.allowThresholdMove&&s.currentTranslate>(i.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>t.minTranslate()&&(_=!1,i.resistance&&(s.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+s.startTranslate+h)**E))):h<0&&(m&&w&&!b&&s.allowThresholdMove&&s.currentTranslate<(i.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]:t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(i.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),s.currentTranslate<t.maxTranslate()&&(_=!1,i.resistance&&(s.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-s.startTranslate-h)**E))),_&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(s.currentTranslate=s.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,s.currentTranslate=s.startTranslate,l.diff=t.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{s.currentTranslate=s.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&t.freeMode||i.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(s.currentTranslate),t.setTranslate(s.currentTranslate))}function Nc(r){const e=this,t=e.touchEventsData;let s=r;s.originalEvent&&(s=s.originalEvent);let i;if(s.type==="touchend"||s.type==="touchcancel"){if(i=[...s.changedTouches].filter(E=>E.identifier===t.touchId)[0],!i||i.identifier!==t.touchId)return}else{if(t.touchId!==null||s.pointerId!==t.pointerId)return;i=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:n,touches:a,rtlTranslate:o,slidesGrid:d,enabled:c}=e;if(!c||!n.simulateTouch&&s.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",s),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&n.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}n.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=ze(),u=f-t.touchStartTime;if(e.allowClick){const E=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(E&&E[0]||s.target,E),e.emit("tap click",s),u<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(t.lastClickTime=ze(),tt(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||a.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(n.followFinger?p=o?e.translate:-e.translate:p=-t.currentTranslate,n.cssMode)return;if(n.freeMode&&n.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-e.maxTranslate()&&!e.params.loop;let g=0,v=e.slidesSizesGrid[0];for(let E=0;E<d.length;E+=E<n.slidesPerGroupSkip?1:n.slidesPerGroup){const C=E<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;typeof d[E+C]<"u"?(h||p>=d[E]&&p<d[E+C])&&(g=E,v=d[E+C]-d[E]):(h||p>=d[E])&&(g=E,v=d[d.length-1]-d[d.length-2])}let m=null,w=null;n.rewind&&(e.isBeginning?w=n.virtual&&n.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const b=(p-d[g])/v,_=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(u>n.longSwipesMs){if(!n.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=n.longSwipesRatio?e.slideTo(n.rewind&&e.isEnd?m:g+_):e.slideTo(g)),e.swipeDirection==="prev"&&(b>1-n.longSwipesRatio?e.slideTo(g+_):w!==null&&b<0&&Math.abs(b)>n.longSwipesRatio?e.slideTo(w):e.slideTo(g))}else{if(!n.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(g+_):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:g+_),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:g))}}function Li(){const r=this,{params:e,el:t}=r;if(t&&t.offsetWidth===0)return;e.breakpoints&&r.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:i,snapGrid:l}=r,n=r.virtual&&r.params.virtual.enabled;r.allowSlideNext=!0,r.allowSlidePrev=!0,r.updateSize(),r.updateSlides(),r.updateSlidesClasses();const a=n&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&r.isEnd&&!r.isBeginning&&!r.params.centeredSlides&&!a?r.slideTo(r.slides.length-1,0,!1,!0):r.params.loop&&!n?r.slideToLoop(r.realIndex,0,!1,!0):r.slideTo(r.activeIndex,0,!1,!0),r.autoplay&&r.autoplay.running&&r.autoplay.paused&&(clearTimeout(r.autoplay.resizeTimeout),r.autoplay.resizeTimeout=setTimeout(()=>{r.autoplay&&r.autoplay.running&&r.autoplay.paused&&r.autoplay.resume()},500)),r.allowSlidePrev=i,r.allowSlideNext=s,r.params.watchOverflow&&l!==r.snapGrid&&r.checkOverflow()}function Bc(r){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&r.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(r.stopPropagation(),r.stopImmediatePropagation())))}function jc(){const r=this,{wrapperEl:e,rtlTranslate:t,enabled:s}=r;if(!s)return;r.previousTranslate=r.translate,r.isHorizontal()?r.translate=-e.scrollLeft:r.translate=-e.scrollTop,r.translate===0&&(r.translate=0),r.updateActiveIndex(),r.updateSlidesClasses();let i;const l=r.maxTranslate()-r.minTranslate();l===0?i=0:i=(r.translate-r.minTranslate())/l,i!==r.progress&&r.updateProgress(t?-r.translate:r.translate),r.emit("setTranslate",r.translate,!1)}function Gc(r){const e=this;It(e,r.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Fc(){const r=this;r.documentTouchHandlerProceeded||(r.documentTouchHandlerProceeded=!0,r.params.touchReleaseOnEdges&&(r.el.style.touchAction="auto"))}const sn=(r,e)=>{const t=Te(),{params:s,el:i,wrapperEl:l,device:n}=r,a=!!s.nested,o=e==="on"?"addEventListener":"removeEventListener",d=e;t[o]("touchstart",r.onDocumentTouchStart,{passive:!1,capture:a}),i[o]("touchstart",r.onTouchStart,{passive:!1}),i[o]("pointerdown",r.onTouchStart,{passive:!1}),t[o]("touchmove",r.onTouchMove,{passive:!1,capture:a}),t[o]("pointermove",r.onTouchMove,{passive:!1,capture:a}),t[o]("touchend",r.onTouchEnd,{passive:!0}),t[o]("pointerup",r.onTouchEnd,{passive:!0}),t[o]("pointercancel",r.onTouchEnd,{passive:!0}),t[o]("touchcancel",r.onTouchEnd,{passive:!0}),t[o]("pointerout",r.onTouchEnd,{passive:!0}),t[o]("pointerleave",r.onTouchEnd,{passive:!0}),t[o]("contextmenu",r.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&i[o]("click",r.onClick,!0),s.cssMode&&l[o]("scroll",r.onScroll),s.updateOnWindowResize?r[d](n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate",Li,!0):r[d]("observerUpdate",Li,!0),i[o]("load",r.onLoad,{capture:!0})};function qc(){const r=this,{params:e}=r;r.onTouchStart=Hc.bind(r),r.onTouchMove=Rc.bind(r),r.onTouchEnd=Nc.bind(r),r.onDocumentTouchStart=Fc.bind(r),e.cssMode&&(r.onScroll=jc.bind(r)),r.onClick=Bc.bind(r),r.onLoad=Gc.bind(r),sn(r,"on")}function Yc(){sn(this,"off")}var Xc={attachEvents:qc,detachEvents:Yc};const zi=(r,e)=>r.grid&&e.grid&&e.grid.rows>1;function Wc(){const r=this,{realIndex:e,initialized:t,params:s,el:i}=r,l=s.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const n=r.getBreakpoint(l,r.params.breakpointsBase,r.el);if(!n||r.currentBreakpoint===n)return;const o=(n in l?l[n]:void 0)||r.originalParams,d=zi(r,s),c=zi(r,o),f=r.params.grabCursor,u=o.grabCursor,p=s.enabled;d&&!c?(i.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),r.emitContainerClasses()):!d&&c&&(i.classList.add(`${s.containerModifierClass}grid`),(o.grid.fill&&o.grid.fill==="column"||!o.grid.fill&&s.grid.fill==="column")&&i.classList.add(`${s.containerModifierClass}grid-column`),r.emitContainerClasses()),f&&!u?r.unsetGrabCursor():!f&&u&&r.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(b=>{if(typeof o[b]>"u")return;const _=s[b]&&s[b].enabled,E=o[b]&&o[b].enabled;_&&!E&&r[b].disable(),!_&&E&&r[b].enable()});const h=o.direction&&o.direction!==s.direction,g=s.loop&&(o.slidesPerView!==s.slidesPerView||h),v=s.loop;h&&t&&r.changeDirection(),Pe(r.params,o);const m=r.params.enabled,w=r.params.loop;Object.assign(r,{allowTouchMove:r.params.allowTouchMove,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev}),p&&!m?r.disable():!p&&m&&r.enable(),r.currentBreakpoint=n,r.emit("_beforeBreakpoint",o),t&&(g?(r.loopDestroy(),r.loopCreate(e),r.updateSlides()):!v&&w?(r.loopCreate(e),r.updateSlides()):v&&!w&&r.loopDestroy()),r.emit("breakpoint",o)}function Uc(r,e,t){if(e===void 0&&(e="window"),!r||e==="container"&&!t)return;let s=!1;const i=$e(),l=e==="window"?i.innerHeight:t.clientHeight,n=Object.keys(r).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const o=parseFloat(a.substr(1));return{value:l*o,point:a}}return{value:a,point:a}});n.sort((a,o)=>parseInt(a.value,10)-parseInt(o.value,10));for(let a=0;a<n.length;a+=1){const{point:o,value:d}=n[a];e==="window"?i.matchMedia(`(min-width: ${d}px)`).matches&&(s=o):d<=t.clientWidth&&(s=o)}return s||"max"}var Zc={setBreakpoint:Wc,getBreakpoint:Uc};function Kc(r,e){const t=[];return r.forEach(s=>{typeof s=="object"?Object.keys(s).forEach(i=>{s[i]&&t.push(e+i)}):typeof s=="string"&&t.push(e+s)}),t}function Jc(){const r=this,{classNames:e,params:t,rtl:s,el:i,device:l}=r,n=Kc(["initialized",t.direction,{"free-mode":r.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...n),i.classList.add(...e),r.emitContainerClasses()}function Qc(){const r=this,{el:e,classNames:t}=r;e.classList.remove(...t),r.emitContainerClasses()}var ed={addClasses:Jc,removeClasses:Qc};function td(){const r=this,{isLocked:e,params:t}=r,{slidesOffsetBefore:s}=t;if(s){const i=r.slides.length-1,l=r.slidesGrid[i]+r.slidesSizesGrid[i]+s*2;r.isLocked=r.size>l}else r.isLocked=r.snapGrid.length===1;t.allowSlideNext===!0&&(r.allowSlideNext=!r.isLocked),t.allowSlidePrev===!0&&(r.allowSlidePrev=!r.isLocked),e&&e!==r.isLocked&&(r.isEnd=!1),e!==r.isLocked&&r.emit(r.isLocked?"lock":"unlock")}var sd={checkOverflow:td},ps={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function id(r,e){return function(s){s===void 0&&(s={});const i=Object.keys(s)[0],l=s[i];if(typeof l!="object"||l===null){Pe(e,s);return}if(r[i]===!0&&(r[i]={enabled:!0}),i==="navigation"&&r[i]&&r[i].enabled&&!r[i].prevEl&&!r[i].nextEl&&(r[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&r[i]&&r[i].enabled&&!r[i].el&&(r[i].auto=!0),!(i in r&&"enabled"in l)){Pe(e,s);return}typeof r[i]=="object"&&!("enabled"in r[i])&&(r[i].enabled=!0),r[i]||(r[i]={enabled:!1}),Pe(e,s)}}const ns={eventsEmitter:ec,update:fc,translate:vc,transition:yc,slide:Mc,loop:zc,grabCursor:Oc,events:Xc,breakpoints:Zc,checkOverflow:sd,classes:ed},ls={};class Ie{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),l=0;l<s;l++)i[l]=arguments[l];i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?t=i[0]:[e,t]=i,t||(t={}),t=Pe({},t),e&&!t.el&&(t.el=e);const n=Te();if(t.el&&typeof t.el=="string"&&n.querySelectorAll(t.el).length>1){const c=[];return n.querySelectorAll(t.el).forEach(f=>{const u=Pe({},t,{el:f});c.push(new Ie(u))}),c}const a=this;a.__swiper__=!0,a.support=Qr(),a.device=en({userAgent:t.userAgent}),a.browser=Ko(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const o={};a.modules.forEach(c=>{c({params:t,swiper:a,extendParams:id(t,o),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const d=Pe({},ps,o);return a.params=Pe({},d,ls,t),a.originalParams=Pe({},a.params),a.passedParams=Pe({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,i=xe(t,`.${s.slideClass}, swiper-slide`),l=bt(i[0]);return bt(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:s}=e;e.slides=xe(t,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),n=(s.maxTranslate()-i)*e+i;s.translateTo(n,typeof t>"u"?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const s=this,{params:i,slides:l,slidesGrid:n,slidesSizesGrid:a,size:o,activeIndex:d}=s;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let f=l[d]?Math.ceil(l[d].swiperSlideSize):0,u;for(let p=d+1;p<l.length;p+=1)l[p]&&!u&&(f+=Math.ceil(l[p].swiperSlideSize),c+=1,f>o&&(u=!0));for(let p=d-1;p>=0;p-=1)l[p]&&!u&&(f+=l[p].swiperSlideSize,c+=1,f>o&&(u=!0))}else if(e==="current")for(let f=d+1;f<l.length;f+=1)(t?n[f]+a[f]-n[d]<o:n[f]-n[d]<o)&&(c+=1);else for(let f=d-1;f>=0;f-=1)n[d]-n[f]<o&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(n=>{n.complete&&It(e,n)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const n=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(n,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const n=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(n.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const s=this,i=s.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):xe(s,i())[0];return!n&&t.params.createElements&&(n=Le("div",t.params.wrapperClass),s.append(n),xe(s,`.${t.params.slideClass}`).forEach(a=>{n.append(a)})),Object.assign(t,{el:s,wrapperEl:n,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:n,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||Ye(s,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||Ye(s,"direction")==="rtl"),wrongRTL:Ye(n,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(l=>{l.complete?It(t,l):l.addEventListener("load",n=>{It(t,n.target)})}),us(t),t.initialized=!0,us(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const s=this,{params:i,el:l,wrapperEl:n,slides:a}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),l.removeAttribute("style"),n.removeAttribute("style"),a&&a.length&&a.forEach(o=>{o.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),o.removeAttribute("style"),o.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(o=>{s.off(o)}),e!==!1&&(s.el.swiper=null,Go(s)),s.destroyed=!0),null}static extendDefaults(e){Pe(ls,e)}static get extendedDefaults(){return ls}static get defaults(){return ps}static installModule(e){Ie.prototype.__modules__||(Ie.prototype.__modules__=[]);const t=Ie.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>Ie.installModule(t)),Ie):(Ie.installModule(e),Ie)}}Object.keys(ns).forEach(r=>{Object.keys(ns[r]).forEach(e=>{Ie.prototype[e]=ns[r][e]})});Ie.use([Jo,Qo]);function rd(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let l;const n=Te();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=n.createElement("div");function o(h,g){const v=e.params.virtual;if(v.cache&&e.virtual.cache[g])return e.virtual.cache[g];let m;return v.renderSlide?(m=v.renderSlide.call(e,h,g),typeof m=="string"&&(a.innerHTML=m,m=a.children[0])):e.isElement?m=Le("swiper-slide"):m=Le("div",e.params.slideClass),m.setAttribute("data-swiper-slide-index",g),v.renderSlide||(m.innerHTML=h),v.cache&&(e.virtual.cache[g]=m),m}function d(h,g){const{slidesPerView:v,slidesPerGroup:m,centeredSlides:w,loop:b,initialSlide:_}=e.params;if(g&&!b&&_>0)return;const{addSlidesBefore:E,addSlidesAfter:C}=e.params.virtual,{from:H,to:T,slides:x,slidesGrid:P,offset:B}=e.virtual;e.params.cssMode||e.updateActiveIndex();const A=e.activeIndex||0;let D;e.rtlTranslate?D="right":D=e.isHorizontal()?"left":"top";let V,G;w?(V=Math.floor(v/2)+m+C,G=Math.floor(v/2)+m+E):(V=v+(m-1)+C,G=(b?v:m)+E);let Y=A-G,M=A+V;b||(Y=Math.max(Y,0),M=Math.min(M,x.length-1));let R=(e.slidesGrid[Y]||0)-(e.slidesGrid[0]||0);b&&A>=G?(Y-=G,w||(R+=e.slidesGrid[0])):b&&A<G&&(Y=-G,w&&(R+=e.slidesGrid[0])),Object.assign(e.virtual,{from:Y,to:M,offset:R,slidesGrid:e.slidesGrid,slidesBefore:G,slidesAfter:V});function F(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(H===Y&&T===M&&!h){e.slidesGrid!==P&&R!==B&&e.slides.forEach(K=>{K.style[D]=`${R-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:R,from:Y,to:M,slides:function(){const ve=[];for(let Ce=Y;Ce<=M;Ce+=1)ve.push(x[Ce]);return ve}()}),e.params.virtual.renderExternalUpdate?F():i("virtualUpdate");return}const ne=[],j=[],q=K=>{let ve=K;return K<0?ve=x.length+K:ve>=x.length&&(ve=ve-x.length),ve};if(h)e.slides.filter(K=>K.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(K=>{K.remove()});else for(let K=H;K<=T;K+=1)if(K<Y||K>M){const ve=q(K);e.slides.filter(Ce=>Ce.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ve}"], swiper-slide[data-swiper-slide-index="${ve}"]`)).forEach(Ce=>{Ce.remove()})}const X=b?-x.length:0,ge=b?x.length*2:x.length;for(let K=X;K<ge;K+=1)if(K>=Y&&K<=M){const ve=q(K);typeof T>"u"||h?j.push(ve):(K>T&&j.push(ve),K<H&&ne.push(ve))}if(j.forEach(K=>{e.slidesEl.append(o(x[K],K))}),b)for(let K=ne.length-1;K>=0;K-=1){const ve=ne[K];e.slidesEl.prepend(o(x[ve],ve))}else ne.sort((K,ve)=>ve-K),ne.forEach(K=>{e.slidesEl.prepend(o(x[K],K))});xe(e.slidesEl,".swiper-slide, swiper-slide").forEach(K=>{K.style[D]=`${R-Math.abs(e.cssOverflowAdjustment())}px`}),F()}function c(h){if(typeof h=="object"&&"length"in h)for(let g=0;g<h.length;g+=1)h[g]&&e.virtual.slides.push(h[g]);else e.virtual.slides.push(h);d(!0)}function f(h){const g=e.activeIndex;let v=g+1,m=1;if(Array.isArray(h)){for(let w=0;w<h.length;w+=1)h[w]&&e.virtual.slides.unshift(h[w]);v=g+h.length,m=h.length}else e.virtual.slides.unshift(h);if(e.params.virtual.cache){const w=e.virtual.cache,b={};Object.keys(w).forEach(_=>{const E=w[_],C=E.getAttribute("data-swiper-slide-index");C&&E.setAttribute("data-swiper-slide-index",parseInt(C,10)+m),b[parseInt(_,10)+m]=E}),e.virtual.cache=b}d(!0),e.slideTo(v,0)}function u(h){if(typeof h>"u"||h===null)return;let g=e.activeIndex;if(Array.isArray(h))for(let v=h.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[h[v]],Object.keys(e.virtual.cache).forEach(m=>{m>h&&(e.virtual.cache[m-1]=e.virtual.cache[m],e.virtual.cache[m-1].setAttribute("data-swiper-slide-index",m-1),delete e.virtual.cache[m])})),e.virtual.slides.splice(h[v],1),h[v]<g&&(g-=1),g=Math.max(g,0);else e.params.virtual.cache&&(delete e.virtual.cache[h],Object.keys(e.virtual.cache).forEach(v=>{v>h&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(h,1),h<g&&(g-=1),g=Math.max(g,0);d(!0),e.slideTo(g,0)}function p(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),d(!0),e.slideTo(0,0)}s("beforeInit",()=>{if(!e.params.virtual.enabled)return;let h;if(typeof e.passedParams.virtual.slides>"u"){const g=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));g&&g.length&&(e.virtual.slides=[...g],h=!0,g.forEach((v,m)=>{v.setAttribute("data-swiper-slide-index",m),e.virtual.cache[m]=v,v.remove()}))}h||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,d(!1,!0)}),s("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(l),l=setTimeout(()=>{d()},100)):d())}),s("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&>(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:u,removeAllSlides:p,update:d})}function nd(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l=Te(),n=$e();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(c){if(!e.enabled)return;const{rtlTranslate:f}=e;let u=c;u.originalEvent&&(u=u.originalEvent);const p=u.keyCode||u.charCode,h=e.params.keyboard.pageUpDown,g=h&&p===33,v=h&&p===34,m=p===37,w=p===39,b=p===38,_=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&w||e.isVertical()&&_||v)||!e.allowSlidePrev&&(e.isHorizontal()&&m||e.isVertical()&&b||g))return!1;if(!(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey)&&!(l.activeElement&&l.activeElement.nodeName&&(l.activeElement.nodeName.toLowerCase()==="input"||l.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(g||v||m||w||b||_)){let E=!1;if(et(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&et(e.el,`.${e.params.slideActiveClass}`).length===0)return;const C=e.el,H=C.clientWidth,T=C.clientHeight,x=n.innerWidth,P=n.innerHeight,B=Ht(C);f&&(B.left-=C.scrollLeft);const A=[[B.left,B.top],[B.left+H,B.top],[B.left,B.top+T],[B.left+H,B.top+T]];for(let D=0;D<A.length;D+=1){const V=A[D];if(V[0]>=0&&V[0]<=x&&V[1]>=0&&V[1]<=P){if(V[0]===0&&V[1]===0)continue;E=!0}}if(!E)return}e.isHorizontal()?((g||v||m||w)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((v||w)&&!f||(g||m)&&f)&&e.slideNext(),((g||m)&&!f||(v||w)&&f)&&e.slidePrev()):((g||v||b||_)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(v||_)&&e.slideNext(),(g||b)&&e.slidePrev()),i("keyPress",p)}}function o(){e.keyboard.enabled||(l.addEventListener("keydown",a),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(l.removeEventListener("keydown",a),e.keyboard.enabled=!1)}s("init",()=>{e.params.keyboard.enabled&&o()}),s("destroy",()=>{e.keyboard.enabled&&d()}),Object.assign(e.keyboard,{enable:o,disable:d})}function ld(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l=$e();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let n,a=ze(),o;const d=[];function c(b){let H=0,T=0,x=0,P=0;return"detail"in b&&(T=b.detail),"wheelDelta"in b&&(T=-b.wheelDelta/120),"wheelDeltaY"in b&&(T=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(H=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(H=T,T=0),x=H*10,P=T*10,"deltaY"in b&&(P=b.deltaY),"deltaX"in b&&(x=b.deltaX),b.shiftKey&&!x&&(x=P,P=0),(x||P)&&b.deltaMode&&(b.deltaMode===1?(x*=40,P*=40):(x*=800,P*=800)),x&&!H&&(H=x<1?-1:1),P&&!T&&(T=P<1?-1:1),{spinX:H,spinY:T,pixelX:x,pixelY:P}}function f(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function p(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ze()-a<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&ze()-a<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",b.raw)),a=new l.Date().getTime(),!1)}function h(b){const _=e.params.mousewheel;if(b.direction<0){if(e.isEnd&&!e.params.loop&&_.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&_.releaseOnEdges)return!0;return!1}function g(b){let _=b,E=!0;if(!e.enabled||b.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const C=e.params.mousewheel;e.params.cssMode&&_.preventDefault();let H=e.el;e.params.mousewheel.eventsTarget!=="container"&&(H=document.querySelector(e.params.mousewheel.eventsTarget));const T=H&&H.contains(_.target);if(!e.mouseEntered&&!T&&!C.releaseOnEdges)return!0;_.originalEvent&&(_=_.originalEvent);let x=0;const P=e.rtlTranslate?-1:1,B=c(_);if(C.forceToAxis)if(e.isHorizontal())if(Math.abs(B.pixelX)>Math.abs(B.pixelY))x=-B.pixelX*P;else return!0;else if(Math.abs(B.pixelY)>Math.abs(B.pixelX))x=-B.pixelY;else return!0;else x=Math.abs(B.pixelX)>Math.abs(B.pixelY)?-B.pixelX*P:-B.pixelY;if(x===0)return!0;C.invert&&(x=-x);let A=e.getTranslate()+x*C.sensitivity;if(A>=e.minTranslate()&&(A=e.minTranslate()),A<=e.maxTranslate()&&(A=e.maxTranslate()),E=e.params.loop?!0:!(A===e.minTranslate()||A===e.maxTranslate()),E&&e.params.nested&&_.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:ze(),delta:Math.abs(x),direction:Math.sign(x),raw:b};d.length>=2&&d.shift();const V=d.length?d[d.length-1]:void 0;if(d.push(D),V?(D.direction!==V.direction||D.delta>V.delta||D.time>V.time+150)&&p(D):p(D),h(D))return!0}else{const D={time:ze(),delta:Math.abs(x),direction:Math.sign(x)},V=o&&D.time<o.time+500&&D.delta<=o.delta&&D.direction===o.direction;if(!V){o=void 0;let G=e.getTranslate()+x*C.sensitivity;const Y=e.isBeginning,M=e.isEnd;if(G>=e.minTranslate()&&(G=e.minTranslate()),G<=e.maxTranslate()&&(G=e.maxTranslate()),e.setTransition(0),e.setTranslate(G),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!Y&&e.isBeginning||!M&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:D.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(n),n=void 0,d.length>=15&&d.shift();const R=d.length?d[d.length-1]:void 0,F=d[0];if(d.push(D),R&&(D.delta>R.delta||D.direction!==R.direction))d.splice(0);else if(d.length>=15&&D.time-F.time<500&&F.delta-D.delta>=1&&D.delta<=6){const ne=x>0?.8:.2;o=D,d.splice(0),n=tt(()=>{e.slideToClosest(e.params.speed,!0,void 0,ne)},0)}n||(n=tt(()=>{o=D,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(V||i("scroll",_),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),C.releaseOnEdges&&(G===e.minTranslate()||G===e.maxTranslate()))return!0}}return _.preventDefault?_.preventDefault():_.returnValue=!1,!1}function v(b){let _=e.el;e.params.mousewheel.eventsTarget!=="container"&&(_=document.querySelector(e.params.mousewheel.eventsTarget)),_[b]("mouseenter",f),_[b]("mouseleave",u),_[b]("wheel",g)}function m(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}s("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&m()}),s("destroy",()=>{e.params.cssMode&&m(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:m,disable:w})}function _s(r,e,t,s){return r.params.createElements&&Object.keys(s).forEach(i=>{if(!t[i]&&t.auto===!0){let l=xe(r.el,`.${s[i]}`)[0];l||(l=Le("div",s[i]),l.className=s[i],r.el.append(l)),t[i]=l,e[i]=l}}),t}function ad(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function l(h){let g;return h&&typeof h=="string"&&e.isElement&&(g=e.el.querySelector(h),g)?g:(h&&(typeof h=="string"&&(g=[...document.querySelectorAll(h)]),e.params.uniqueNavElements&&typeof h=="string"&&g&&g.length>1&&e.el.querySelectorAll(h).length===1?g=e.el.querySelector(h):g&&g.length===1&&(g=g[0])),h&&!g?h:g)}function n(h,g){const v=e.params.navigation;h=he(h),h.forEach(m=>{m&&(m.classList[g?"add":"remove"](...v.disabledClass.split(" ")),m.tagName==="BUTTON"&&(m.disabled=g),e.params.watchOverflow&&e.enabled&&m.classList[e.isLocked?"add":"remove"](v.lockClass))})}function a(){const{nextEl:h,prevEl:g}=e.navigation;if(e.params.loop){n(g,!1),n(h,!1);return}n(g,e.isBeginning&&!e.params.rewind),n(h,e.isEnd&&!e.params.rewind)}function o(h){h.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function d(h){h.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=_s(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let g=l(h.nextEl),v=l(h.prevEl);Object.assign(e.navigation,{nextEl:g,prevEl:v}),g=he(g),v=he(v);const m=(w,b)=>{w&&w.addEventListener("click",b==="next"?d:o),!e.enabled&&w&&w.classList.add(...h.lockClass.split(" "))};g.forEach(w=>m(w,"next")),v.forEach(w=>m(w,"prev"))}function f(){let{nextEl:h,prevEl:g}=e.navigation;h=he(h),g=he(g);const v=(m,w)=>{m.removeEventListener("click",w==="next"?d:o),m.classList.remove(...e.params.navigation.disabledClass.split(" "))};h.forEach(m=>v(m,"next")),g.forEach(m=>v(m,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?p():(c(),a())}),s("toEdge fromEdge lock unlock",()=>{a()}),s("destroy",()=>{f()}),s("enable disable",()=>{let{nextEl:h,prevEl:g}=e.navigation;if(h=he(h),g=he(g),e.enabled){a();return}[...h,...g].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),s("click",(h,g)=>{let{nextEl:v,prevEl:m}=e.navigation;v=he(v),m=he(m);const w=g.target;if(e.params.navigation.hideOnClick&&!m.includes(w)&&!v.includes(w)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===w||e.pagination.el.contains(w)))return;let b;v.length?b=v[0].classList.contains(e.params.navigation.hiddenClass):m.length&&(b=m[0].classList.contains(e.params.navigation.hiddenClass)),i(b===!0?"navigationShow":"navigationHide"),[...v,...m].filter(_=>!!_).forEach(_=>_.classList.toggle(e.params.navigation.hiddenClass))}});const u=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:u,disable:p,update:a,init:c,destroy:f})}function je(r){return r===void 0&&(r=""),`.${r.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function od(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:m=>m,formatFractionTotal:m=>m,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let n,a=0;function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(m,w){const{bulletActiveClass:b}=e.params.pagination;m&&(m=m[`${w==="prev"?"previous":"next"}ElementSibling`],m&&(m.classList.add(`${b}-${w}`),m=m[`${w==="prev"?"previous":"next"}ElementSibling`],m&&m.classList.add(`${b}-${w}-${w}`)))}function c(m){const w=m.target.closest(je(e.params.pagination.bulletClass));if(!w)return;m.preventDefault();const b=bt(w)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function f(){const m=e.rtl,w=e.params.pagination;if(o())return;let b=e.pagination.el;b=he(b);let _,E;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,H=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=e.previousRealIndex||0,_=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(_=e.snapIndex,E=e.previousSnapIndex):(E=e.previousIndex||0,_=e.activeIndex||0),w.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const T=e.pagination.bullets;let x,P,B;if(w.dynamicBullets&&(n=fs(T[0],e.isHorizontal()?"width":"height",!0),b.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${n*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&E!==void 0&&(a+=_-(E||0),a>w.dynamicMainBullets-1?a=w.dynamicMainBullets-1:a<0&&(a=0)),x=Math.max(_-a,0),P=x+(Math.min(T.length,w.dynamicMainBullets)-1),B=(P+x)/2),T.forEach(A=>{const D=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(V=>`${w.bulletActiveClass}${V}`)].map(V=>typeof V=="string"&&V.includes(" ")?V.split(" "):V).flat();A.classList.remove(...D)}),b.length>1)T.forEach(A=>{const D=bt(A);D===_?A.classList.add(...w.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),w.dynamicBullets&&(D>=x&&D<=P&&A.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),D===x&&d(A,"prev"),D===P&&d(A,"next"))});else{const A=T[_];if(A&&A.classList.add(...w.bulletActiveClass.split(" ")),e.isElement&&T.forEach((D,V)=>{D.setAttribute("part",V===_?"bullet-active":"bullet")}),w.dynamicBullets){const D=T[x],V=T[P];for(let G=x;G<=P;G+=1)T[G]&&T[G].classList.add(...`${w.bulletActiveClass}-main`.split(" "));d(D,"prev"),d(V,"next")}}if(w.dynamicBullets){const A=Math.min(T.length,w.dynamicMainBullets+4),D=(n*A-n)/2-B*n,V=m?"right":"left";T.forEach(G=>{G.style[e.isHorizontal()?V:"top"]=`${D}px`})}}b.forEach((T,x)=>{if(w.type==="fraction"&&(T.querySelectorAll(je(w.currentClass)).forEach(P=>{P.textContent=w.formatFractionCurrent(_+1)}),T.querySelectorAll(je(w.totalClass)).forEach(P=>{P.textContent=w.formatFractionTotal(H)})),w.type==="progressbar"){let P;w.progressbarOpposite?P=e.isHorizontal()?"vertical":"horizontal":P=e.isHorizontal()?"horizontal":"vertical";const B=(_+1)/H;let A=1,D=1;P==="horizontal"?A=B:D=B,T.querySelectorAll(je(w.progressbarFillClass)).forEach(V=>{V.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${D})`,V.style.transitionDuration=`${e.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(T.innerHTML=w.renderCustom(e,_+1,H),x===0&&i("paginationRender",T)):(x===0&&i("paginationRender",T),i("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](w.lockClass)})}function u(){const m=e.params.pagination;if(o())return;const w=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=he(b);let _="";if(m.type==="bullets"){let E=e.params.loop?Math.ceil(w/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&E>w&&(E=w);for(let C=0;C<E;C+=1)m.renderBullet?_+=m.renderBullet.call(e,C,m.bulletClass):_+=`<${m.bulletElement} ${e.isElement?'part="bullet"':""} class="${m.bulletClass}"></${m.bulletElement}>`}m.type==="fraction"&&(m.renderFraction?_=m.renderFraction.call(e,m.currentClass,m.totalClass):_=`<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`),m.type==="progressbar"&&(m.renderProgressbar?_=m.renderProgressbar.call(e,m.progressbarFillClass):_=`<span class="${m.progressbarFillClass}"></span>`),e.pagination.bullets=[],b.forEach(E=>{m.type!=="custom"&&(E.innerHTML=_||""),m.type==="bullets"&&e.pagination.bullets.push(...E.querySelectorAll(je(m.bulletClass)))}),m.type!=="custom"&&i("paginationRender",b[0])}function p(){e.params.pagination=_s(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const m=e.params.pagination;if(!m.el)return;let w;typeof m.el=="string"&&e.isElement&&(w=e.el.querySelector(m.el)),!w&&typeof m.el=="string"&&(w=[...document.querySelectorAll(m.el)]),w||(w=m.el),!(!w||w.length===0)&&(e.params.uniqueNavElements&&typeof m.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...e.el.querySelectorAll(m.el)],w.length>1&&(w=w.filter(b=>et(b,".swiper")[0]===e.el)[0])),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(e.pagination,{el:w}),w=he(w),w.forEach(b=>{m.type==="bullets"&&m.clickable&&b.classList.add(...(m.clickableClass||"").split(" ")),b.classList.add(m.modifierClass+m.type),b.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.type==="bullets"&&m.dynamicBullets&&(b.classList.add(`${m.modifierClass}${m.type}-dynamic`),a=0,m.dynamicMainBullets<1&&(m.dynamicMainBullets=1)),m.type==="progressbar"&&m.progressbarOpposite&&b.classList.add(m.progressbarOppositeClass),m.clickable&&b.addEventListener("click",c),e.enabled||b.classList.add(m.lockClass)}))}function h(){const m=e.params.pagination;if(o())return;let w=e.pagination.el;w&&(w=he(w),w.forEach(b=>{b.classList.remove(m.hiddenClass),b.classList.remove(m.modifierClass+m.type),b.classList.remove(e.isHorizontal()?m.horizontalClass:m.verticalClass),m.clickable&&(b.classList.remove(...(m.clickableClass||"").split(" ")),b.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...m.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const m=e.params.pagination;let{el:w}=e.pagination;w=he(w),w.forEach(b=>{b.classList.remove(m.horizontalClass,m.verticalClass),b.classList.add(e.isHorizontal()?m.horizontalClass:m.verticalClass)})}),s("init",()=>{e.params.pagination.enabled===!1?v():(p(),u(),f())}),s("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),s("snapIndexChange",()=>{f()}),s("snapGridLengthChange",()=>{u(),f()}),s("destroy",()=>{h()}),s("enable disable",()=>{let{el:m}=e.pagination;m&&(m=he(m),m.forEach(w=>w.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{f()}),s("click",(m,w)=>{const b=w.target,_=he(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const E=_[0].classList.contains(e.params.pagination.hiddenClass);i(E===!0?"paginationShow":"paginationHide"),_.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=he(m),m.forEach(w=>w.classList.remove(e.params.pagination.paginationDisabledClass))),p(),u(),f()},v=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:m}=e.pagination;m&&(m=he(m),m.forEach(w=>w.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:g,disable:v,render:u,update:f,init:p,destroy:h})}function cd(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l=Te();let n=!1,a=null,o=null,d,c,f,u;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:A,rtlTranslate:D}=e,{dragEl:V,el:G}=A,Y=e.params.scrollbar,M=e.params.loop?e.progressLoop:e.progress;let R=c,F=(f-c)*M;D?(F=-F,F>0?(R=c-F,F=0):-F+c>f&&(R=f+F)):F<0?(R=c+F,F=0):F+c>f&&(R=f-F),e.isHorizontal()?(V.style.transform=`translate3d(${F}px, 0, 0)`,V.style.width=`${R}px`):(V.style.transform=`translate3d(0px, ${F}px, 0)`,V.style.height=`${R}px`),Y.hide&&(clearTimeout(a),G.style.opacity=1,a=setTimeout(()=>{G.style.opacity=0,G.style.transitionDuration="400ms"},1e3))}function h(A){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${A}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:A}=e,{dragEl:D,el:V}=A;D.style.width="",D.style.height="",f=e.isHorizontal()?V.offsetWidth:V.offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*u:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?D.style.width=`${c}px`:D.style.height=`${c}px`,u>=1?V.style.display="none":V.style.display="",e.params.scrollbar.hide&&(V.style.opacity=0),e.params.watchOverflow&&e.enabled&&A.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(A){return e.isHorizontal()?A.clientX:A.clientY}function m(A){const{scrollbar:D,rtlTranslate:V}=e,{el:G}=D;let Y;Y=(v(A)-Ht(G)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(f-c),Y=Math.max(Math.min(Y,1),0),V&&(Y=1-Y);const M=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*Y;e.updateProgress(M),e.setTranslate(M),e.updateActiveIndex(),e.updateSlidesClasses()}function w(A){const D=e.params.scrollbar,{scrollbar:V,wrapperEl:G}=e,{el:Y,dragEl:M}=V;n=!0,d=A.target===M?v(A)-A.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,A.preventDefault(),A.stopPropagation(),G.style.transitionDuration="100ms",M.style.transitionDuration="100ms",m(A),clearTimeout(o),Y.style.transitionDuration="0ms",D.hide&&(Y.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",A)}function b(A){const{scrollbar:D,wrapperEl:V}=e,{el:G,dragEl:Y}=D;n&&(A.preventDefault&&A.cancelable?A.preventDefault():A.returnValue=!1,m(A),V.style.transitionDuration="0ms",G.style.transitionDuration="0ms",Y.style.transitionDuration="0ms",i("scrollbarDragMove",A))}function _(A){const D=e.params.scrollbar,{scrollbar:V,wrapperEl:G}=e,{el:Y}=V;n&&(n=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",G.style.transitionDuration=""),D.hide&&(clearTimeout(o),o=tt(()=>{Y.style.opacity=0,Y.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",A),D.snapOnRelease&&e.slideToClosest())}function E(A){const{scrollbar:D,params:V}=e,G=D.el;if(!G)return;const Y=G,M=V.passiveListeners?{passive:!1,capture:!1}:!1,R=V.passiveListeners?{passive:!0,capture:!1}:!1;if(!Y)return;const F=A==="on"?"addEventListener":"removeEventListener";Y[F]("pointerdown",w,M),l[F]("pointermove",b,M),l[F]("pointerup",_,R)}function C(){!e.params.scrollbar.el||!e.scrollbar.el||E("on")}function H(){!e.params.scrollbar.el||!e.scrollbar.el||E("off")}function T(){const{scrollbar:A,el:D}=e;e.params.scrollbar=_s(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const V=e.params.scrollbar;if(!V.el)return;let G;if(typeof V.el=="string"&&e.isElement&&(G=e.el.querySelector(V.el)),!G&&typeof V.el=="string"){if(G=l.querySelectorAll(V.el),!G.length)return}else G||(G=V.el);e.params.uniqueNavElements&&typeof V.el=="string"&&G.length>1&&D.querySelectorAll(V.el).length===1&&(G=D.querySelector(V.el)),G.length>0&&(G=G[0]),G.classList.add(e.isHorizontal()?V.horizontalClass:V.verticalClass);let Y;G&&(Y=G.querySelector(je(e.params.scrollbar.dragClass)),Y||(Y=Le("div",e.params.scrollbar.dragClass),G.append(Y))),Object.assign(A,{el:G,dragEl:Y}),V.draggable&&C(),G&&G.classList[e.enabled?"remove":"add"](...qe(e.params.scrollbar.lockClass))}function x(){const A=e.params.scrollbar,D=e.scrollbar.el;D&&D.classList.remove(...qe(e.isHorizontal()?A.horizontalClass:A.verticalClass)),H()}s("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const A=e.params.scrollbar;let{el:D}=e.scrollbar;D=he(D),D.forEach(V=>{V.classList.remove(A.horizontalClass,A.verticalClass),V.classList.add(e.isHorizontal()?A.horizontalClass:A.verticalClass)})}),s("init",()=>{e.params.scrollbar.enabled===!1?B():(T(),g(),p())}),s("update resize observerUpdate lock unlock changeDirection",()=>{g()}),s("setTranslate",()=>{p()}),s("setTransition",(A,D)=>{h(D)}),s("enable disable",()=>{const{el:A}=e.scrollbar;A&&A.classList[e.enabled?"remove":"add"](...qe(e.params.scrollbar.lockClass))}),s("destroy",()=>{x()});const P=()=>{e.el.classList.remove(...qe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...qe(e.params.scrollbar.scrollbarDisabledClass)),T(),g(),p()},B=()=>{e.el.classList.add(...qe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...qe(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:P,disable:B,updateSize:g,setTranslate:p,init:T,destroy:x})}function dd(r){let{swiper:e,extendParams:t,on:s}=r;t({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",l=(o,d)=>{const{rtl:c}=e,f=c?-1:1,u=o.getAttribute("data-swiper-parallax")||"0";let p=o.getAttribute("data-swiper-parallax-x"),h=o.getAttribute("data-swiper-parallax-y");const g=o.getAttribute("data-swiper-parallax-scale"),v=o.getAttribute("data-swiper-parallax-opacity"),m=o.getAttribute("data-swiper-parallax-rotate");if(p||h?(p=p||"0",h=h||"0"):e.isHorizontal()?(p=u,h="0"):(h=u,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*d*f}%`:p=`${p*d*f}px`,h.indexOf("%")>=0?h=`${parseInt(h,10)*d}%`:h=`${h*d}px`,typeof v<"u"&&v!==null){const b=v-(v-1)*(1-Math.abs(d));o.style.opacity=b}let w=`translate3d(${p}, ${h}, 0px)`;if(typeof g<"u"&&g!==null){const b=g-(g-1)*(1-Math.abs(d));w+=` scale(${b})`}if(m&&typeof m<"u"&&m!==null){const b=m*d*-1;w+=` rotate(${b}deg)`}o.style.transform=w},n=()=>{const{el:o,slides:d,progress:c,snapGrid:f,isElement:u}=e,p=xe(o,i);e.isElement&&p.push(...xe(e.hostEl,i)),p.forEach(h=>{l(h,c)}),d.forEach((h,g)=>{let v=h.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(g/2)-c*(f.length-1)),v=Math.min(Math.max(v,-1),1),h.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(m=>{l(m,v)})})},a=function(o){o===void 0&&(o=e.params.speed);const{el:d,hostEl:c}=e,f=[...d.querySelectorAll(i)];e.isElement&&f.push(...c.querySelectorAll(i)),f.forEach(u=>{let p=parseInt(u.getAttribute("data-swiper-parallax-duration"),10)||o;o===0&&(p=0),u.style.transitionDuration=`${p}ms`})};s("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),s("init",()=>{e.params.parallax.enabled&&n()}),s("setTranslate",()=>{e.params.parallax.enabled&&n()}),s("setTransition",(o,d)=>{e.params.parallax.enabled&&a(d)})}function fd(r){let{swiper:e,extendParams:t,on:s,emit:i}=r;const l=$e();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let n=1,a=!1,o,d;const c=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},u={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let h=1;Object.defineProperty(e.zoom,"scale",{get(){return h},set(j){if(h!==j){const q=f.imageEl,X=f.slideEl;i("zoomChange",j,q,X)}h=j}});function g(){if(c.length<2)return 1;const j=c[0].pageX,q=c[0].pageY,X=c[1].pageX,ge=c[1].pageY;return Math.sqrt((X-j)**2+(ge-q)**2)}function v(){const j=e.params.zoom,q=f.imageWrapEl.getAttribute("data-swiper-zoom")||j.maxRatio;if(j.limitToOriginalSize&&f.imageEl&&f.imageEl.naturalWidth){const X=f.imageEl.naturalWidth/f.imageEl.offsetWidth;return Math.min(X,q)}return q}function m(){if(c.length<2)return{x:null,y:null};const j=f.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-j.x-l.scrollX)/n,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-j.y-l.scrollY)/n]}function w(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function b(j){const q=w();return!!(j.target.matches(q)||e.slides.filter(X=>X.contains(j.target)).length>0)}function _(j){const q=`.${e.params.zoom.containerClass}`;return!!(j.target.matches(q)||[...e.hostEl.querySelectorAll(q)].filter(X=>X.contains(j.target)).length>0)}function E(j){if(j.pointerType==="mouse"&&c.splice(0,c.length),!b(j))return;const q=e.params.zoom;if(o=!1,d=!1,c.push(j),!(c.length<2)){if(o=!0,f.scaleStart=g(),!f.slideEl){f.slideEl=j.target.closest(`.${e.params.slideClass}, swiper-slide`),f.slideEl||(f.slideEl=e.slides[e.activeIndex]);let X=f.slideEl.querySelector(`.${q.containerClass}`);if(X&&(X=X.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=X,X?f.imageWrapEl=et(f.imageEl,`.${q.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=v()}if(f.imageEl){const[X,ge]=m();f.originX=X,f.originY=ge,f.imageEl.style.transitionDuration="0ms"}a=!0}}function C(j){if(!b(j))return;const q=e.params.zoom,X=e.zoom,ge=c.findIndex(K=>K.pointerId===j.pointerId);ge>=0&&(c[ge]=j),!(c.length<2)&&(d=!0,f.scaleMove=g(),f.imageEl&&(X.scale=f.scaleMove/f.scaleStart*n,X.scale>f.maxRatio&&(X.scale=f.maxRatio-1+(X.scale-f.maxRatio+1)**.5),X.scale<q.minRatio&&(X.scale=q.minRatio+1-(q.minRatio-X.scale+1)**.5),f.imageEl.style.transform=`translate3d(0,0,0) scale(${X.scale})`))}function H(j){if(!b(j)||j.pointerType==="mouse"&&j.type==="pointerout")return;const q=e.params.zoom,X=e.zoom,ge=c.findIndex(K=>K.pointerId===j.pointerId);ge>=0&&c.splice(ge,1),!(!o||!d)&&(o=!1,d=!1,f.imageEl&&(X.scale=Math.max(Math.min(X.scale,f.maxRatio),q.minRatio),f.imageEl.style.transitionDuration=`${e.params.speed}ms`,f.imageEl.style.transform=`translate3d(0,0,0) scale(${X.scale})`,n=X.scale,a=!1,X.scale>1&&f.slideEl?f.slideEl.classList.add(`${q.zoomedSlideClass}`):X.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${q.zoomedSlideClass}`),X.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}let T;function x(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function P(){clearTimeout(T),e.touchEventsData.preventTouchMoveFromPointerMove=!0,T=setTimeout(()=>{x()})}function B(j){const q=e.device;if(!f.imageEl||u.isTouched)return;q.android&&j.cancelable&&j.preventDefault(),u.isTouched=!0;const X=c.length>0?c[0]:j;u.touchesStart.x=X.pageX,u.touchesStart.y=X.pageY}function A(j){if(!b(j)||!_(j))return;const q=e.zoom;if(!f.imageEl||!u.isTouched||!f.slideEl)return;u.isMoved||(u.width=f.imageEl.offsetWidth||f.imageEl.clientWidth,u.height=f.imageEl.offsetHeight||f.imageEl.clientHeight,u.startX=ds(f.imageWrapEl,"x")||0,u.startY=ds(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const X=u.width*q.scale,ge=u.height*q.scale;if(X<f.slideWidth&&ge<f.slideHeight){x();return}if(u.minX=Math.min(f.slideWidth/2-X/2,0),u.maxX=-u.minX,u.minY=Math.min(f.slideHeight/2-ge/2,0),u.maxY=-u.minY,u.touchesCurrent.x=c.length>0?c[0].pageX:j.pageX,u.touchesCurrent.y=c.length>0?c[0].pageY:j.pageY,Math.max(Math.abs(u.touchesCurrent.x-u.touchesStart.x),Math.abs(u.touchesCurrent.y-u.touchesStart.y))>5&&(e.allowClick=!1),!u.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(u.minX)===Math.floor(u.startX)&&u.touchesCurrent.x<u.touchesStart.x||Math.floor(u.maxX)===Math.floor(u.startX)&&u.touchesCurrent.x>u.touchesStart.x)){u.isTouched=!1,x();return}if(!e.isHorizontal()&&(Math.floor(u.minY)===Math.floor(u.startY)&&u.touchesCurrent.y<u.touchesStart.y||Math.floor(u.maxY)===Math.floor(u.startY)&&u.touchesCurrent.y>u.touchesStart.y)){u.isTouched=!1,x();return}}j.cancelable&&j.preventDefault(),j.stopPropagation(),P(),u.isMoved=!0;const ve=(q.scale-n)/(f.maxRatio-e.params.zoom.minRatio),{originX:Ce,originY:nt}=f;u.currentX=u.touchesCurrent.x-u.touchesStart.x+u.startX+ve*(u.width-Ce*2),u.currentY=u.touchesCurrent.y-u.touchesStart.y+u.startY+ve*(u.height-nt*2),u.currentX<u.minX&&(u.currentX=u.minX+1-(u.minX-u.currentX+1)**.8),u.currentX>u.maxX&&(u.currentX=u.maxX-1+(u.currentX-u.maxX+1)**.8),u.currentY<u.minY&&(u.currentY=u.minY+1-(u.minY-u.currentY+1)**.8),u.currentY>u.maxY&&(u.currentY=u.maxY-1+(u.currentY-u.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=u.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=u.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(u.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(u.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(u.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(u.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=u.touchesCurrent.x,p.prevPositionY=u.touchesCurrent.y,p.prevTime=Date.now(),f.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function D(){const j=e.zoom;if(!f.imageEl)return;if(!u.isTouched||!u.isMoved){u.isTouched=!1,u.isMoved=!1;return}u.isTouched=!1,u.isMoved=!1;let q=300,X=300;const ge=p.x*q,K=u.currentX+ge,ve=p.y*X,Ce=u.currentY+ve;p.x!==0&&(q=Math.abs((K-u.currentX)/p.x)),p.y!==0&&(X=Math.abs((Ce-u.currentY)/p.y));const nt=Math.max(q,X);u.currentX=K,u.currentY=Ce;const kt=u.width*j.scale,Be=u.height*j.scale;u.minX=Math.min(f.slideWidth/2-kt/2,0),u.maxX=-u.minX,u.minY=Math.min(f.slideHeight/2-Be/2,0),u.maxY=-u.minY,u.currentX=Math.max(Math.min(u.currentX,u.maxX),u.minX),u.currentY=Math.max(Math.min(u.currentY,u.maxY),u.minY),f.imageWrapEl.style.transitionDuration=`${nt}ms`,f.imageWrapEl.style.transform=`translate3d(${u.currentX}px, ${u.currentY}px,0)`}function V(){const j=e.zoom;f.slideEl&&e.activeIndex!==e.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,0,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),j.scale=1,n=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function G(j){const q=e.zoom,X=e.params.zoom;if(!f.slideEl){j&&j.target&&(f.slideEl=j.target.closest(`.${e.params.slideClass}, swiper-slide`)),f.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=xe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let ht=f.slideEl.querySelector(`.${X.containerClass}`);ht&&(ht=ht.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=ht,ht?f.imageWrapEl=et(f.imageEl,`.${X.containerClass}`)[0]:f.imageWrapEl=void 0}if(!f.imageEl||!f.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.slideEl.classList.add(`${X.zoomedSlideClass}`);let ge,K,ve,Ce,nt,kt,Be,Qe,$s,Es,ks,Ss,St,xt,Yt,Xt,Wt,Ut;typeof u.touchesStart.x>"u"&&j?(ge=j.pageX,K=j.pageY):(ge=u.touchesStart.x,K=u.touchesStart.y);const pt=typeof j=="number"?j:null;n===1&&pt&&(ge=void 0,K=void 0);const xs=v();q.scale=pt||xs,n=pt||xs,j&&!(n===1&&pt)?(Wt=f.slideEl.offsetWidth,Ut=f.slideEl.offsetHeight,ve=Ht(f.slideEl).left+l.scrollX,Ce=Ht(f.slideEl).top+l.scrollY,nt=ve+Wt/2-ge,kt=Ce+Ut/2-K,$s=f.imageEl.offsetWidth||f.imageEl.clientWidth,Es=f.imageEl.offsetHeight||f.imageEl.clientHeight,ks=$s*q.scale,Ss=Es*q.scale,St=Math.min(Wt/2-ks/2,0),xt=Math.min(Ut/2-Ss/2,0),Yt=-St,Xt=-xt,Be=nt*q.scale,Qe=kt*q.scale,Be<St&&(Be=St),Be>Yt&&(Be=Yt),Qe<xt&&(Qe=xt),Qe>Xt&&(Qe=Xt)):(Be=0,Qe=0),pt&&q.scale===1&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform=`translate3d(${Be}px, ${Qe}px,0)`,f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform=`translate3d(0,0,0) scale(${q.scale})`}function Y(){const j=e.zoom,q=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=xe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let X=f.slideEl.querySelector(`.${q.containerClass}`);X&&(X=X.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=X,X?f.imageWrapEl=et(f.imageEl,`.${q.containerClass}`)[0]:f.imageWrapEl=void 0}!f.imageEl||!f.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),j.scale=1,n=1,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove(`${q.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function M(j){const q=e.zoom;q.scale&&q.scale!==1?Y():G(j)}function R(){const j=e.params.passiveListeners?{passive:!0,capture:!1}:!1,q=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:j,activeListenerWithCapture:q}}function F(){const j=e.zoom;if(j.enabled)return;j.enabled=!0;const{passiveListener:q,activeListenerWithCapture:X}=R();e.wrapperEl.addEventListener("pointerdown",E,q),e.wrapperEl.addEventListener("pointermove",C,X),["pointerup","pointercancel","pointerout"].forEach(ge=>{e.wrapperEl.addEventListener(ge,H,q)}),e.wrapperEl.addEventListener("pointermove",A,X)}function ne(){const j=e.zoom;if(!j.enabled)return;j.enabled=!1;const{passiveListener:q,activeListenerWithCapture:X}=R();e.wrapperEl.removeEventListener("pointerdown",E,q),e.wrapperEl.removeEventListener("pointermove",C,X),["pointerup","pointercancel","pointerout"].forEach(ge=>{e.wrapperEl.removeEventListener(ge,H,q)}),e.wrapperEl.removeEventListener("pointermove",A,X)}s("init",()=>{e.params.zoom.enabled&&F()}),s("destroy",()=>{ne()}),s("touchStart",(j,q)=>{e.zoom.enabled&&B(q)}),s("touchEnd",(j,q)=>{e.zoom.enabled&&D()}),s("doubleTap",(j,q)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&M(q)}),s("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&V()}),s("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&V()}),Object.assign(e.zoom,{enable:F,disable:ne,in:G,out:Y,toggle:M})}function ud(r){let{swiper:e,extendParams:t,on:s}=r;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(d,c){const f=function(){let g,v,m;return(w,b)=>{for(v=-1,g=w.length;g-v>1;)m=g+v>>1,w[m]<=b?v=m:g=m;return g}}();this.x=d,this.y=c,this.lastIndex=d.length-1;let u,p;return this.interpolate=function(g){return g?(p=f(this.x,g),u=p-1,(g-this.x[u])*(this.y[p]-this.y[u])/(this.x[p]-this.x[u])+this.y[u]):0},this}function l(d){e.controller.spline=e.params.loop?new i(e.slidesGrid,d.slidesGrid):new i(e.snapGrid,d.snapGrid)}function n(d,c){const f=e.controller.control;let u,p;const h=e.constructor;function g(v){if(v.destroyed)return;const m=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(l(v),p=-e.controller.spline.interpolate(-m)),(!p||e.params.controller.by==="container")&&(u=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(u)||!Number.isFinite(u))&&(u=1),p=(m-e.minTranslate())*u+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(f))for(let v=0;v<f.length;v+=1)f[v]!==c&&f[v]instanceof h&&g(f[v]);else f instanceof h&&c!==f&&g(f)}function a(d,c){const f=e.constructor,u=e.controller.control;let p;function h(g){g.destroyed||(g.setTransition(d,e),d!==0&&(g.transitionStart(),g.params.autoHeight&&tt(()=>{g.updateAutoHeight()}),vt(g.wrapperEl,()=>{u&&g.transitionEnd()})))}if(Array.isArray(u))for(p=0;p<u.length;p+=1)u[p]!==c&&u[p]instanceof f&&h(u[p]);else u instanceof f&&c!==u&&h(u)}function o(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}s("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const d=document.querySelector(e.params.controller.control);if(d&&d.swiper)e.controller.control=d.swiper;else if(d){const c=f=>{e.controller.control=f.detail[0],e.update(),d.removeEventListener("init",c)};d.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),s("update",()=>{o()}),s("resize",()=>{o()}),s("observerUpdate",()=>{o()}),s("setTranslate",(d,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),s("setTransition",(d,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:n,setTransition:a})}function pd(r){let{swiper:e,extendParams:t,on:s}=r;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let i=null,l,n,a=new Date().getTime();function o(M){const R=i;R.length!==0&&(R.innerHTML="",R.innerHTML=M)}function d(M){M===void 0&&(M=16);const R=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(M).replace(/x/g,R)}function c(M){M=he(M),M.forEach(R=>{R.setAttribute("tabIndex","0")})}function f(M){M=he(M),M.forEach(R=>{R.setAttribute("tabIndex","-1")})}function u(M,R){M=he(M),M.forEach(F=>{F.setAttribute("role",R)})}function p(M,R){M=he(M),M.forEach(F=>{F.setAttribute("aria-roledescription",R)})}function h(M,R){M=he(M),M.forEach(F=>{F.setAttribute("aria-controls",R)})}function g(M,R){M=he(M),M.forEach(F=>{F.setAttribute("aria-label",R)})}function v(M,R){M=he(M),M.forEach(F=>{F.setAttribute("id",R)})}function m(M,R){M=he(M),M.forEach(F=>{F.setAttribute("aria-live",R)})}function w(M){M=he(M),M.forEach(R=>{R.setAttribute("aria-disabled",!0)})}function b(M){M=he(M),M.forEach(R=>{R.setAttribute("aria-disabled",!1)})}function _(M){if(M.keyCode!==13&&M.keyCode!==32)return;const R=e.params.a11y,F=M.target;if(!(e.pagination&&e.pagination.el&&(F===e.pagination.el||e.pagination.el.contains(M.target))&&!M.target.matches(je(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const ne=he(e.navigation.prevEl);he(e.navigation.nextEl).includes(F)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?o(R.lastSlideMessage):o(R.nextSlideMessage)),ne.includes(F)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?o(R.firstSlideMessage):o(R.prevSlideMessage))}e.pagination&&F.matches(je(e.params.pagination.bulletClass))&&F.click()}}function E(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:M,prevEl:R}=e.navigation;R&&(e.isBeginning?(w(R),f(R)):(b(R),c(R))),M&&(e.isEnd?(w(M),f(M)):(b(M),c(M)))}function C(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function H(){return C()&&e.params.pagination.clickable}function T(){const M=e.params.a11y;C()&&e.pagination.bullets.forEach(R=>{e.params.pagination.clickable&&(c(R),e.params.pagination.renderBullet||(u(R,"button"),g(R,M.paginationBulletMessage.replace(/\{\{index\}\}/,bt(R)+1)))),R.matches(je(e.params.pagination.bulletActiveClass))?R.setAttribute("aria-current","true"):R.removeAttribute("aria-current")})}const x=(M,R,F)=>{c(M),M.tagName!=="BUTTON"&&(u(M,"button"),M.addEventListener("keydown",_)),g(M,F),h(M,R)},P=M=>{n&&n!==M.target&&!n.contains(M.target)&&(l=!0),e.a11y.clicked=!0},B=()=>{l=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},A=M=>{a=new Date().getTime()},D=M=>{if(e.a11y.clicked||new Date().getTime()-a<100)return;const R=M.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!R||!e.slides.includes(R))return;n=R;const F=e.slides.indexOf(R)===e.activeIndex,ne=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(R);F||ne||M.sourceCapabilities&&M.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{l||(e.slideTo(e.slides.indexOf(R),0),l=!1)}))},V=()=>{const M=e.params.a11y;M.itemRoleDescriptionMessage&&p(e.slides,M.itemRoleDescriptionMessage),M.slideRole&&u(e.slides,M.slideRole);const R=e.slides.length;M.slideLabelMessage&&e.slides.forEach((F,ne)=>{const j=e.params.loop?parseInt(F.getAttribute("data-swiper-slide-index"),10):ne,q=M.slideLabelMessage.replace(/\{\{index\}\}/,j+1).replace(/\{\{slidesLength\}\}/,R);g(F,q)})},G=()=>{const M=e.params.a11y;e.el.append(i);const R=e.el;M.containerRoleDescriptionMessage&&p(R,M.containerRoleDescriptionMessage),M.containerMessage&&g(R,M.containerMessage);const F=e.wrapperEl,ne=M.id||F.getAttribute("id")||`swiper-wrapper-${d(16)}`,j=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(F,ne),m(F,j),V();let{nextEl:q,prevEl:X}=e.navigation?e.navigation:{};q=he(q),X=he(X),q&&q.forEach(K=>x(K,ne,M.nextSlideMessage)),X&&X.forEach(K=>x(K,ne,M.prevSlideMessage)),H()&&he(e.pagination.el).forEach(ve=>{ve.addEventListener("keydown",_)}),Te().addEventListener("visibilitychange",A),e.el.addEventListener("focus",D,!0),e.el.addEventListener("focus",D,!0),e.el.addEventListener("pointerdown",P,!0),e.el.addEventListener("pointerup",B,!0)};function Y(){i&&i.remove();let{nextEl:M,prevEl:R}=e.navigation?e.navigation:{};M=he(M),R=he(R),M&&M.forEach(ne=>ne.removeEventListener("keydown",_)),R&&R.forEach(ne=>ne.removeEventListener("keydown",_)),H()&&he(e.pagination.el).forEach(j=>{j.removeEventListener("keydown",_)}),Te().removeEventListener("visibilitychange",A),e.el.removeEventListener("focus",D,!0),e.el.removeEventListener("pointerdown",P,!0),e.el.removeEventListener("pointerup",B,!0)}s("beforeInit",()=>{i=Le("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),s("afterInit",()=>{e.params.a11y.enabled&&G()}),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&V()}),s("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&E()}),s("paginationUpdate",()=>{e.params.a11y.enabled&&T()}),s("destroy",()=>{e.params.a11y.enabled&&Y()})}function hd(r){let{swiper:e,extendParams:t,on:s}=r;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,l={};const n=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=p=>{const h=$e();let g;p?g=new URL(p):g=h.location;const v=g.pathname.slice(1).split("/").filter(_=>_!==""),m=v.length,w=v[m-2],b=v[m-1];return{key:w,value:b}},o=(p,h)=>{const g=$e();if(!i||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=g.location;const m=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${h}"]`):e.slides[h];let w=n(m.getAttribute("data-history"));if(e.params.history.root.length>0){let _=e.params.history.root;_[_.length-1]==="/"&&(_=_.slice(0,_.length-1)),w=`${_}/${p?`${p}/`:""}${w}`}else v.pathname.includes(p)||(w=`${p?`${p}/`:""}${w}`);e.params.history.keepQuery&&(w+=v.search);const b=g.history.state;b&&b.value===w||(e.params.history.replaceState?g.history.replaceState({value:w},null,w):g.history.pushState({value:w},null,w))},d=(p,h,g)=>{if(h)for(let v=0,m=e.slides.length;v<m;v+=1){const w=e.slides[v];if(n(w.getAttribute("data-history"))===h){const _=e.getSlideIndex(w);e.slideTo(_,p,g)}}else e.slideTo(0,p,g)},c=()=>{l=a(e.params.url),d(e.params.speed,l.value,!1)},f=()=>{const p=$e();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,l=a(e.params.url),!l.key&&!l.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}d(0,l.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},u=()=>{const p=$e();e.params.history.replaceState||p.removeEventListener("popstate",c)};s("init",()=>{e.params.history.enabled&&f()}),s("destroy",()=>{e.params.history.enabled&&u()}),s("transitionEnd _freeModeNoMomentumRelease",()=>{i&&o(e.params.history.key,e.activeIndex)}),s("slideChange",()=>{i&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)})}function md(r){let{swiper:e,extendParams:t,emit:s,on:i}=r,l=!1;const n=Te(),a=$e();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(u,p){if(e.virtual&&e.params.virtual.enabled){const h=e.slides.filter(v=>v.getAttribute("data-hash")===p)[0];return h?parseInt(h.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(xe(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const o=()=>{s("hashChange");const u=n.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],h=p?p.getAttribute("data-hash"):"";if(u!==h){const g=e.params.hashNavigation.getSlideIndex(e,u);if(typeof g>"u"||Number.isNaN(g))return;e.slideTo(g)}},d=()=>{if(!l||!e.params.hashNavigation.enabled)return;const u=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=u?u.getAttribute("data-hash")||u.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${p}`||""),s("hashSet")):(n.location.hash=p||"",s("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;l=!0;const u=n.location.hash.replace("#","");if(u){const h=e.params.hashNavigation.getSlideIndex(e,u);e.slideTo(h||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",o)},f=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",o)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&f()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{l&&d()}),i("slideChange",()=>{l&&e.params.cssMode&&d()})}function gd(r){let{swiper:e,extendParams:t,on:s,emit:i,params:l}=r;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let n,a,o=l&&l.autoplay?l.autoplay.delay:3e3,d=l&&l.autoplay?l.autoplay.delay:3e3,c,f=new Date().getTime(),u,p,h,g,v,m,w;function b(R){!e||e.destroyed||!e.wrapperEl||R.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!w&&P())}const _=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?u=!0:u&&(d=c,u=!1);const R=e.autoplay.paused?c:f+d-new Date().getTime();e.autoplay.timeLeft=R,i("autoplayTimeLeft",R,R/o),a=requestAnimationFrame(()=>{_()})},E=()=>{let R;return e.virtual&&e.params.virtual.enabled?R=e.slides.filter(ne=>ne.classList.contains("swiper-slide-active"))[0]:R=e.slides[e.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},C=R=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),_();let F=typeof R>"u"?e.params.autoplay.delay:R;o=e.params.autoplay.delay,d=e.params.autoplay.delay;const ne=E();!Number.isNaN(ne)&&ne>0&&typeof R>"u"&&(F=ne,o=ne,d=ne),c=F;const j=e.params.speed,q=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(j,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,j,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(j,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,j,!0,!0),i("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return F>0?(clearTimeout(n),n=setTimeout(()=>{q()},F)):requestAnimationFrame(()=>{q()}),F},H=()=>{f=new Date().getTime(),e.autoplay.running=!0,C(),i("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(n),cancelAnimationFrame(a),i("autoplayStop")},x=(R,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(n),R||(m=!0);const ne=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):P()};if(e.autoplay.paused=!0,F){v&&(c=e.params.autoplay.delay),v=!1,ne();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),ne())},P=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),m?(m=!1,C(c)):C(),e.autoplay.paused=!1,i("autoplayResume"))},B=()=>{if(e.destroyed||!e.autoplay.running)return;const R=Te();R.visibilityState==="hidden"&&(m=!0,x(!0)),R.visibilityState==="visible"&&P()},A=R=>{R.pointerType==="mouse"&&(m=!0,w=!0,!(e.animating||e.autoplay.paused)&&x(!0))},D=R=>{R.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&P())},V=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",A),e.el.addEventListener("pointerleave",D))},G=()=>{e.el.removeEventListener("pointerenter",A),e.el.removeEventListener("pointerleave",D)},Y=()=>{Te().addEventListener("visibilitychange",B)},M=()=>{Te().removeEventListener("visibilitychange",B)};s("init",()=>{e.params.autoplay.enabled&&(V(),Y(),H())}),s("destroy",()=>{G(),M(),e.autoplay.running&&T()}),s("_freeModeStaticRelease",()=>{(h||m)&&P()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():x(!0,!0)}),s("beforeTransitionStart",(R,F,ne)=>{e.destroyed||!e.autoplay.running||(ne||!e.params.autoplay.disableOnInteraction?x(!0,!0):T())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}p=!0,h=!1,m=!1,g=setTimeout(()=>{m=!0,h=!0,x(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(g),clearTimeout(n),e.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&e.params.cssMode&&P(),h=!1,p=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:H,stop:T,pause:x,resume:P})}function vd(r){let{swiper:e,extendParams:t,on:s}=r;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,l=!1;e.thumbs={swiper:null};function n(){const d=e.thumbs.swiper;if(!d||d.destroyed)return;const c=d.clickedIndex,f=d.clickedSlide;if(f&&f.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let u;d.params.loop?u=parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"),10):u=c,e.params.loop?e.slideToLoop(u):e.slideTo(u)}function a(){const{thumbs:d}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(d.swiper instanceof c)e.thumbs.swiper=d.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(mt(d.swiper)){const f=Object.assign({},d.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),l=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",n),!0}function o(d){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const f=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let u=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(u=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),c.slides.forEach(v=>v.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let v=0;v<u;v+=1)xe(c.slidesEl,`[data-swiper-slide-index="${e.realIndex+v}"]`).forEach(m=>{m.classList.add(p)});else for(let v=0;v<u;v+=1)c.slides[e.realIndex+v]&&c.slides[e.realIndex+v].classList.add(p);const h=e.params.thumbs.autoScrollOffset,g=h&&!c.params.loop;if(e.realIndex!==c.realIndex||g){const v=c.activeIndex;let m,w;if(c.params.loop){const b=c.slides.filter(_=>_.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];m=c.slides.indexOf(b),w=e.activeIndex>e.previousIndex?"next":"prev"}else m=e.realIndex,w=m>e.previousIndex?"next":"prev";g&&(m+=w==="next"?h:-1*h),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(m)<0&&(c.params.centeredSlides?m>v?m=m-Math.floor(f/2)+1:m=m+Math.floor(f/2)-1:m>v&&c.params.slidesPerGroup,c.slideTo(m,d?0:void 0))}}s("beforeInit",()=>{const{thumbs:d}=e.params;if(!(!d||!d.swiper))if(typeof d.swiper=="string"||d.swiper instanceof HTMLElement){const c=Te(),f=()=>{const p=typeof d.swiper=="string"?c.querySelector(d.swiper):d.swiper;if(p&&p.swiper)d.swiper=p.swiper,a(),o(!0);else if(p){const h=g=>{d.swiper=g.detail[0],p.removeEventListener("init",h),a(),o(!0),d.swiper.update(),e.update()};p.addEventListener("init",h)}return p},u=()=>{if(e.destroyed)return;f()||requestAnimationFrame(u)};requestAnimationFrame(u)}else a(),o(!0)}),s("slideChange update resize observerUpdate",()=>{o()}),s("setTransition",(d,c)=>{const f=e.thumbs.swiper;!f||f.destroyed||f.setTransition(c)}),s("beforeDestroy",()=>{const d=e.thumbs.swiper;!d||d.destroyed||l&&d.destroy()}),Object.assign(e.thumbs,{init:a,update:o})}function wd(r){let{swiper:e,extendParams:t,emit:s,once:i}=r;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const o=e.getTranslate();e.setTranslate(o),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function n(){if(e.params.cssMode)return;const{touchEventsData:o,touches:d}=e;o.velocities.length===0&&o.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:o.touchStartTime}),o.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:ze()})}function a(o){let{currentPos:d}=o;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:u,snapGrid:p,touchEventsData:h}=e,v=ze()-h.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(h.velocities.length>1){const T=h.velocities.pop(),x=h.velocities.pop(),P=T.position-x.position,B=T.time-x.time;e.velocity=P/B,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(B>150||ze()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,h.velocities.length=0;let m=1e3*c.freeMode.momentumRatio;const w=e.velocity*m;let b=e.translate+w;u&&(b=-b);let _=!1,E;const C=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let H;if(b<e.maxTranslate())c.freeMode.momentumBounce?(b+e.maxTranslate()<-C&&(b=e.maxTranslate()-C),E=e.maxTranslate(),_=!0,h.allowMomentumBounce=!0):b=e.maxTranslate(),c.loop&&c.centeredSlides&&(H=!0);else if(b>e.minTranslate())c.freeMode.momentumBounce?(b-e.minTranslate()>C&&(b=e.minTranslate()+C),E=e.minTranslate(),_=!0,h.allowMomentumBounce=!0):b=e.minTranslate(),c.loop&&c.centeredSlides&&(H=!0);else if(c.freeMode.sticky){let T;for(let x=0;x<p.length;x+=1)if(p[x]>-b){T=x;break}Math.abs(p[T]-b)<Math.abs(p[T-1]-b)||e.swipeDirection==="next"?b=p[T]:b=p[T-1],b=-b}if(H&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(u?m=Math.abs((-b-e.translate)/e.velocity):m=Math.abs((b-e.translate)/e.velocity),c.freeMode.sticky){const T=Math.abs((u?-b:b)-e.translate),x=e.slidesSizesGrid[e.activeIndex];T<x?m=c.speed:T<2*x?m=c.speed*1.5:m=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&_?(e.updateProgress(E),e.setTransition(m),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,vt(f,()=>{!e||e.destroyed||!h.allowMomentumBounce||(s("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(E),vt(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(m),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,vt(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&s("_freeModeNoMomentumRelease");(!c.freeMode.momentum||v>=c.longSwipesMs)&&(s("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:n,onTouchEnd:a}})}function bd(r){let{swiper:e,extendParams:t,on:s}=r;t({grid:{rows:1,fill:"column"}});let i,l,n,a;const o=()=>{let g=e.params.spaceBetween;return typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*e.size:typeof g=="string"&&(g=parseFloat(g)),g},d=g=>{const{slidesPerView:v}=e.params,{rows:m,fill:w}=e.params.grid,b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:g.length;n=Math.floor(b/m),Math.floor(b/m)===b/m?i=b:i=Math.ceil(b/m)*m,v!=="auto"&&w==="row"&&(i=Math.max(i,v*m)),l=i/m},c=()=>{e.slides&&e.slides.forEach(g=>{g.swiperSlideGridSet&&(g.style.height="",g.style[e.getDirectionLabel("margin-top")]="")})},f=(g,v,m)=>{const{slidesPerGroup:w}=e.params,b=o(),{rows:_,fill:E}=e.params.grid,C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:m.length;let H,T,x;if(E==="row"&&w>1){const P=Math.floor(g/(w*_)),B=g-_*w*P,A=P===0?w:Math.min(Math.ceil((C-P*_*w)/_),w);x=Math.floor(B/A),T=B-x*A+P*w,H=T+x*i/_,v.style.order=H}else E==="column"?(T=Math.floor(g/_),x=g-T*_,(T>n||T===n&&x===_-1)&&(x+=1,x>=_&&(x=0,T+=1))):(x=Math.floor(g/l),T=g-x*l);v.row=x,v.column=T,v.style.height=`calc((100% - ${(_-1)*b}px) / ${_})`,v.style[e.getDirectionLabel("margin-top")]=x!==0?b&&`${b}px`:"",v.swiperSlideGridSet=!0},u=(g,v)=>{const{centeredSlides:m,roundLengths:w}=e.params,b=o(),{rows:_}=e.params.grid;if(e.virtualSize=(g+b)*i,e.virtualSize=Math.ceil(e.virtualSize/_)-b,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),m){const E=[];for(let C=0;C<v.length;C+=1){let H=v[C];w&&(H=Math.floor(H)),v[C]<e.virtualSize+v[0]&&E.push(H)}v.splice(0,v.length),v.push(...E)}},p=()=>{a=e.params.grid&&e.params.grid.rows>1},h=()=>{const{params:g,el:v}=e,m=g.grid&&g.grid.rows>1;a&&!m?(v.classList.remove(`${g.containerModifierClass}grid`,`${g.containerModifierClass}grid-column`),n=1,e.emitContainerClasses()):!a&&m&&(v.classList.add(`${g.containerModifierClass}grid`),g.grid.fill==="column"&&v.classList.add(`${g.containerModifierClass}grid-column`),e.emitContainerClasses()),a=m};s("init",p),s("update",h),e.grid={initSlides:d,unsetSlides:c,updateSlide:f,updateWrapperSize:u}}function _d(r){const e=this,{params:t,slidesEl:s}=e;t.loop&&e.loopDestroy();const i=l=>{if(typeof l=="string"){const n=document.createElement("div");n.innerHTML=l,s.append(n.children[0]),n.innerHTML=""}else s.append(l)};if(typeof r=="object"&&"length"in r)for(let l=0;l<r.length;l+=1)r[l]&&i(r[l]);else i(r);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update()}function yd(r){const e=this,{params:t,activeIndex:s,slidesEl:i}=e;t.loop&&e.loopDestroy();let l=s+1;const n=a=>{if(typeof a=="string"){const o=document.createElement("div");o.innerHTML=a,i.prepend(o.children[0]),o.innerHTML=""}else i.prepend(a)};if(typeof r=="object"&&"length"in r){for(let a=0;a<r.length;a+=1)r[a]&&n(r[a]);l=s+r.length}else n(r);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),e.slideTo(l,0,!1)}function $d(r,e){const t=this,{params:s,activeIndex:i,slidesEl:l}=t;let n=i;s.loop&&(n-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const a=t.slides.length;if(r<=0){t.prependSlide(e);return}if(r>=a){t.appendSlide(e);return}let o=n>r?n+1:n;const d=[];for(let c=a-1;c>=r;c-=1){const f=t.slides[c];f.remove(),d.unshift(f)}if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)e[c]&&l.append(e[c]);o=n>r?n+e.length:n}else l.append(e);for(let c=0;c<d.length;c+=1)l.append(d[c]);t.recalcSlides(),s.loop&&t.loopCreate(),(!s.observer||t.isElement)&&t.update(),s.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function Ed(r){const e=this,{params:t,activeIndex:s}=e;let i=s;t.loop&&(i-=e.loopedSlides,e.loopDestroy());let l=i,n;if(typeof r=="object"&&"length"in r){for(let a=0;a<r.length;a+=1)n=r[a],e.slides[n]&&e.slides[n].remove(),n<l&&(l-=1);l=Math.max(l,0)}else n=r,e.slides[n]&&e.slides[n].remove(),n<l&&(l-=1),l=Math.max(l,0);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),t.loop?e.slideTo(l+e.loopedSlides,0,!1):e.slideTo(l,0,!1)}function kd(){const r=this,e=[];for(let t=0;t<r.slides.length;t+=1)e.push(t);r.removeSlide(e)}function Sd(r){let{swiper:e}=r;Object.assign(e,{appendSlide:_d.bind(e),prependSlide:yd.bind(e),addSlide:$d.bind(e),removeSlide:Ed.bind(e),removeAllSlides:kd.bind(e)})}function ut(r){const{effect:e,swiper:t,on:s,setTranslate:i,setTransition:l,overwriteParams:n,perspective:a,recreateShadows:o,getEffectParams:d}=r;s("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),a&&a()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const f=n?n():{};Object.assign(t.params,f),Object.assign(t.originalParams,f)}),s("setTranslate",()=>{t.params.effect===e&&i()}),s("setTransition",(f,u)=>{t.params.effect===e&&l(u)}),s("transitionEnd",()=>{if(t.params.effect===e&&o){if(!d||!d().slideShadows)return;t.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>u.remove())}),o()}});let c;s("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(i(),c=!1)}))})}function Et(r,e){const t=rt(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function Ft(r){let{swiper:e,duration:t,transformElements:s,allSlides:i}=r;const{activeIndex:l}=e,n=a=>a.parentElement?a.parentElement:e.slides.filter(d=>d.shadowRoot&&d.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&t!==0){let a=!1,o;i?o=s:o=s.filter(d=>{const c=d.classList.contains("swiper-slide-transform")?n(d):d;return e.getSlideIndex(c)===l}),o.forEach(d=>{vt(d,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function xd(r){let{swiper:e,extendParams:t,on:s}=r;t({fadeEffect:{crossFade:!1}}),ut({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:n}=e,a=e.params.fadeEffect;for(let o=0;o<n.length;o+=1){const d=e.slides[o];let f=-d.swiperSlideOffset;e.params.virtualTranslate||(f-=e.translate);let u=0;e.isHorizontal()||(u=f,f=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(d.progress),0):1+Math.min(Math.max(d.progress,-1),0),h=Et(a,d);h.style.opacity=p,h.style.transform=`translate3d(${f}px, ${u}px, 0px)`}},setTransition:n=>{const a=e.slides.map(o=>rt(o));a.forEach(o=>{o.style.transitionDuration=`${n}ms`}),Ft({swiper:e,duration:n,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Td(r){let{swiper:e,extendParams:t,on:s}=r;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(o,d,c)=>{let f=c?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),u=c?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");f||(f=Le("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),o.append(f)),u||(u=Le("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),o.append(u)),f&&(f.style.opacity=Math.max(-d,0)),u&&(u.style.opacity=Math.max(d,0))};ut({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{el:o,wrapperEl:d,slides:c,width:f,height:u,rtlTranslate:p,size:h,browser:g}=e,v=e.params.cubeEffect,m=e.isHorizontal(),w=e.virtual&&e.params.virtual.enabled;let b=0,_;v.shadow&&(m?(_=e.wrapperEl.querySelector(".swiper-cube-shadow"),_||(_=Le("div","swiper-cube-shadow"),e.wrapperEl.append(_)),_.style.height=`${f}px`):(_=o.querySelector(".swiper-cube-shadow"),_||(_=Le("div","swiper-cube-shadow"),o.append(_))));for(let C=0;C<c.length;C+=1){const H=c[C];let T=C;w&&(T=parseInt(H.getAttribute("data-swiper-slide-index"),10));let x=T*90,P=Math.floor(x/360);p&&(x=-x,P=Math.floor(-x/360));const B=Math.max(Math.min(H.progress,1),-1);let A=0,D=0,V=0;T%4===0?(A=-P*4*h,V=0):(T-1)%4===0?(A=0,V=-P*4*h):(T-2)%4===0?(A=h+P*4*h,V=h):(T-3)%4===0&&(A=-h,V=3*h+h*4*P),p&&(A=-A),m||(D=A,A=0);const G=`rotateX(${m?0:-x}deg) rotateY(${m?x:0}deg) translate3d(${A}px, ${D}px, ${V}px)`;B<=1&&B>-1&&(b=T*90+B*90,p&&(b=-T*90-B*90),e.browser&&e.browser.need3dFix&&Math.abs(b)/90%2===1&&(b+=.001)),H.style.transform=G,v.slideShadows&&i(H,B,m)}if(d.style.transformOrigin=`50% 50% -${h/2}px`,d.style["-webkit-transform-origin"]=`50% 50% -${h/2}px`,v.shadow)if(m)_.style.transform=`translate3d(0px, ${f/2+v.shadowOffset}px, ${-f/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${v.shadowScale})`;else{const C=Math.abs(b)-Math.floor(Math.abs(b)/90)*90,H=1.5-(Math.sin(C*2*Math.PI/360)/2+Math.cos(C*2*Math.PI/360)/2),T=v.shadowScale,x=v.shadowScale/H,P=v.shadowOffset;_.style.transform=`scale3d(${T}, 1, ${x}) translate3d(0px, ${u/2+P}px, ${-u/2/x}px) rotateX(-89.99deg)`}const E=(g.isSafari||g.isWebView)&&g.needPerspectiveFix?-h/2:0;d.style.transform=`translate3d(0px,0,${E}px) rotateX(${e.isHorizontal()?0:b}deg) rotateY(${e.isHorizontal()?-b:0}deg)`,d.style.setProperty("--swiper-cube-translate-z",`${E}px`)},setTransition:o=>{const{el:d,slides:c}=e;if(c.forEach(f=>{f.style.transitionDuration=`${o}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const f=d.querySelector(".swiper-cube-shadow");f&&(f.style.transitionDuration=`${o}ms`)}},recreateShadows:()=>{const o=e.isHorizontal();e.slides.forEach(d=>{const c=Math.max(Math.min(d.progress,1),-1);i(d,c,o)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function ct(r,e,t){const s=`swiper-slide-shadow${t?`-${t}`:""}${r?` swiper-slide-shadow-${r}`:""}`,i=rt(e);let l=i.querySelector(`.${s.split(" ").join(".")}`);return l||(l=Le("div",s.split(" ")),i.append(l)),l}function Cd(r){let{swiper:e,extendParams:t,on:s}=r;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(o,d)=>{let c=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),f=e.isHorizontal()?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");c||(c=ct("flip",o,e.isHorizontal()?"left":"top")),f||(f=ct("flip",o,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-d,0)),f&&(f.style.opacity=Math.max(d,0))};ut({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:o,rtlTranslate:d}=e,c=e.params.flipEffect;for(let f=0;f<o.length;f+=1){const u=o[f];let p=u.progress;e.params.flipEffect.limitRotation&&(p=Math.max(Math.min(u.progress,1),-1));const h=u.swiperSlideOffset;let v=-180*p,m=0,w=e.params.cssMode?-h-e.translate:-h,b=0;e.isHorizontal()?d&&(v=-v):(b=w,w=0,m=-v,v=0),e.browser&&e.browser.need3dFix&&(Math.abs(v)/90%2===1&&(v+=.001),Math.abs(m)/90%2===1&&(m+=.001)),u.style.zIndex=-Math.abs(Math.round(p))+o.length,c.slideShadows&&i(u,p);const _=`translate3d(${w}px, ${b}px, 0px) rotateX(${m}deg) rotateY(${v}deg)`,E=Et(c,u);E.style.transform=_}},setTransition:o=>{const d=e.slides.map(c=>rt(c));d.forEach(c=>{c.style.transitionDuration=`${o}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${o}ms`})}),Ft({swiper:e,duration:o,transformElements:d})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(o=>{let d=o.progress;e.params.flipEffect.limitRotation&&(d=Math.max(Math.min(o.progress,1),-1)),i(o,d)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Md(r){let{swiper:e,extendParams:t,on:s}=r;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ut({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:n,height:a,slides:o,slidesSizesGrid:d}=e,c=e.params.coverflowEffect,f=e.isHorizontal(),u=e.translate,p=f?-u+n/2:-u+a/2,h=f?c.rotate:-c.rotate,g=c.depth;for(let v=0,m=o.length;v<m;v+=1){const w=o[v],b=d[v],_=w.swiperSlideOffset,E=(p-_-b/2)/b,C=typeof c.modifier=="function"?c.modifier(E):E*c.modifier;let H=f?h*C:0,T=f?0:h*C,x=-g*Math.abs(C),P=c.stretch;typeof P=="string"&&P.indexOf("%")!==-1&&(P=parseFloat(c.stretch)/100*b);let B=f?0:P*C,A=f?P*C:0,D=1-(1-c.scale)*Math.abs(C);Math.abs(A)<.001&&(A=0),Math.abs(B)<.001&&(B=0),Math.abs(x)<.001&&(x=0),Math.abs(H)<.001&&(H=0),Math.abs(T)<.001&&(T=0),Math.abs(D)<.001&&(D=0),e.browser&&e.browser.need3dFix&&(Math.abs(H)/90%2===1&&(H+=.001),Math.abs(T)/90%2===1&&(T+=.001));const V=`translate3d(${A}px,${B}px,${x}px) rotateX(${T}deg) rotateY(${H}deg) scale(${D})`,G=Et(c,w);if(G.style.transform=V,w.style.zIndex=-Math.abs(Math.round(C))+1,c.slideShadows){let Y=f?w.querySelector(".swiper-slide-shadow-left"):w.querySelector(".swiper-slide-shadow-top"),M=f?w.querySelector(".swiper-slide-shadow-right"):w.querySelector(".swiper-slide-shadow-bottom");Y||(Y=ct("coverflow",w,f?"left":"top")),M||(M=ct("coverflow",w,f?"right":"bottom")),Y&&(Y.style.opacity=C>0?C:0),M&&(M.style.opacity=-C>0?-C:0)}}},setTransition:n=>{e.slides.map(o=>rt(o)).forEach(o=>{o.style.transitionDuration=`${n}ms`,o.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${n}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Id(r){let{swiper:e,extendParams:t,on:s}=r;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=a=>typeof a=="string"?a:`${a}px`;ut({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:a,wrapperEl:o,slidesSizesGrid:d}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,u=e.params.centeredSlides;if(u){const p=d[0]/2-e.params.slidesOffsetBefore||0;o.style.transform=`translateX(calc(50% - ${p}px))`}for(let p=0;p<a.length;p+=1){const h=a[p],g=h.progress,v=Math.min(Math.max(h.progress,-c.limitProgress),c.limitProgress);let m=v;u||(m=Math.min(Math.max(h.originalProgress,-c.limitProgress),c.limitProgress));const w=h.swiperSlideOffset,b=[e.params.cssMode?-w-e.translate:-w,0,0],_=[0,0,0];let E=!1;e.isHorizontal()||(b[1]=b[0],b[0]=0);let C={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};v<0?(C=c.next,E=!0):v>0&&(C=c.prev,E=!0),b.forEach((D,V)=>{b[V]=`calc(${D}px + (${i(C.translate[V])} * ${Math.abs(v*f)}))`}),_.forEach((D,V)=>{let G=C.rotate[V]*Math.abs(v*f);e.browser&&e.browser.need3dFix&&Math.abs(G)/90%2===1&&(G+=.001),_[V]=G}),h.style.zIndex=-Math.abs(Math.round(g))+a.length;const H=b.join(", "),T=`rotateX(${_[0]}deg) rotateY(${_[1]}deg) rotateZ(${_[2]}deg)`,x=m<0?`scale(${1+(1-C.scale)*m*f})`:`scale(${1-(1-C.scale)*m*f})`,P=m<0?1+(1-C.opacity)*m*f:1-(1-C.opacity)*m*f,B=`translate3d(${H}) ${T} ${x}`;if(E&&C.shadow||!E){let D=h.querySelector(".swiper-slide-shadow");if(!D&&C.shadow&&(D=ct("creative",h)),D){const V=c.shadowPerProgress?v*(1/c.limitProgress):v;D.style.opacity=Math.min(Math.max(Math.abs(V),0),1)}}const A=Et(c,h);A.style.transform=B,A.style.opacity=P,C.origin&&(A.style.transformOrigin=C.origin)}},setTransition:a=>{const o=e.slides.map(d=>rt(d));o.forEach(d=>{d.style.transitionDuration=`${a}ms`,d.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),Ft({swiper:e,duration:a,transformElements:o,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Pd(r){let{swiper:e,extendParams:t,on:s}=r;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ut({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:n,activeIndex:a,rtlTranslate:o}=e,d=e.params.cardsEffect,{startTranslate:c,isTouched:f}=e.touchEventsData,u=o?-e.translate:e.translate;for(let p=0;p<n.length;p+=1){const h=n[p],g=h.progress,v=Math.min(Math.max(g,-4),4);let m=h.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(m-=n[0].swiperSlideOffset);let w=e.params.cssMode?-m-e.translate:-m,b=0;const _=-100*Math.abs(v);let E=1,C=-d.perSlideRotate*v,H=d.perSlideOffset-Math.abs(v)*.75;const T=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,x=(T===a||T===a-1)&&v>0&&v<1&&(f||e.params.cssMode)&&u<c,P=(T===a||T===a+1)&&v<0&&v>-1&&(f||e.params.cssMode)&&u>c;if(x||P){const V=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;C+=-28*v*V,E+=-.5*V,H+=96*V,b=`${-25*V*Math.abs(v)}%`}if(v<0?w=`calc(${w}px ${o?"-":"+"} (${H*Math.abs(v)}%))`:v>0?w=`calc(${w}px ${o?"-":"+"} (-${H*Math.abs(v)}%))`:w=`${w}px`,!e.isHorizontal()){const V=b;b=w,w=V}const B=v<0?`${1+(1-E)*v}`:`${1-(1-E)*v}`,A=` translate3d(${w}, ${b}, ${_}px) rotateZ(${d.rotate?o?-C:C:0}deg) scale(${B}) `;if(d.slideShadows){let V=h.querySelector(".swiper-slide-shadow");V||(V=ct("cards",h)),V&&(V.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}h.style.zIndex=-Math.abs(Math.round(g))+n.length;const D=Et(d,h);D.style.transform=A}},setTransition:n=>{const a=e.slides.map(o=>rt(o));a.forEach(o=>{o.style.transitionDuration=`${n}ms`,o.querySelectorAll(".swiper-slide-shadow").forEach(d=>{d.style.transitionDuration=`${n}ms`})}),Ft({swiper:e,duration:n,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const Ld=[rd,nd,ld,ad,od,cd,dd,fd,ud,pd,hd,md,gd,vd,wd,bd,Sd,xd,Td,Cd,Md,Id,Pd];Ie.use(Ld);const qt=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function dt(r){return typeof r=="object"&&r!==null&&r.constructor&&Object.prototype.toString.call(r).slice(8,-1)==="Object"&&!r.__swiper__}function hs(r,e){const t=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>t.indexOf(s)<0).forEach(s=>{typeof r[s]>"u"?r[s]=e[s]:dt(e[s])&&dt(r[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?r[s]=e[s]:hs(r[s],e[s]):r[s]=e[s]})}function zd(r){return r===void 0&&(r={}),r.navigation&&typeof r.navigation.nextEl>"u"&&typeof r.navigation.prevEl>"u"}function Ad(r){return r===void 0&&(r={}),r.pagination&&typeof r.pagination.el>"u"}function Dd(r){return r===void 0&&(r={}),r.scrollbar&&typeof r.scrollbar.el>"u"}function Pt(r){return r===void 0&&(r=""),r.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function Od(r){let{swiper:e,slides:t,passedParams:s,changedParams:i,nextEl:l,prevEl:n,scrollbarEl:a,paginationEl:o}=r;const d=i.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:f,navigation:u,scrollbar:p,virtual:h,thumbs:g}=e;let v,m,w,b,_,E,C,H;i.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(v=!0),i.includes("controller")&&s.controller&&s.controller.control&&c.controller&&!c.controller.control&&(m=!0),i.includes("pagination")&&s.pagination&&(s.pagination.el||o)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(w=!0),i.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(b=!0),i.includes("navigation")&&s.navigation&&(s.navigation.prevEl||n)&&(s.navigation.nextEl||l)&&(c.navigation||c.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(_=!0);const T=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!s.loop?E=!0:!c.loop&&s.loop?C=!0:H=!0),d.forEach(x=>{if(dt(c[x])&&dt(s[x]))Object.assign(c[x],s[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in s[x]&&!s[x].enabled&&T(x);else{const P=s[x];(P===!0||P===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?P===!1&&T(x):c[x]=s[x]}}),d.includes("controller")&&!m&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&t&&h&&c.virtual.enabled?(h.slides=t,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(t&&(h.slides=t),h.update(!0)),i.includes("children")&&t&&c.loop&&(H=!0),v&&g.init()&&g.update(!0),m&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-pagination"),o.part.add("pagination"),e.el.appendChild(o)),o&&(c.pagination.el=o),f.init(),f.render(),f.update()),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),_&&(e.isElement&&((!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-next"),l.innerHTML=e.hostEl.constructor.nextButtonSvg,l.part.add("button-next"),e.el.appendChild(l)),(!n||typeof n=="string")&&(n=document.createElement("div"),n.classList.add("swiper-button-prev"),n.innerHTML=e.hostEl.constructor.prevButtonSvg,n.part.add("button-prev"),e.el.appendChild(n))),l&&(c.navigation.nextEl=l),n&&(c.navigation.prevEl=n),u.init(),u.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),i.includes("direction")&&e.changeDirection(s.direction,!1),(E||H)&&e.loopDestroy(),(C||H)&&e.loopCreate(),e.update()}const Ai=r=>{if(parseFloat(r)===Number(r))return Number(r);if(r==="true"||r==="")return!0;if(r==="false")return!1;if(r==="null")return null;if(r!=="undefined"){if(typeof r=="string"&&r.includes("{")&&r.includes("}")&&r.includes('"')){let e;try{e=JSON.parse(r)}catch{e=r}return e}return r}},Di=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function Oi(r,e,t){const s={},i={};hs(s,ps);const l=[...qt,"on"],n=l.map(o=>o.replace(/_/,""));l.forEach(o=>{o=o.replace("_",""),typeof r[o]<"u"&&(i[o]=r[o])});const a=[...r.attributes];return typeof e=="string"&&typeof t<"u"&&a.push({name:e,value:dt(t)?{...t}:t}),a.forEach(o=>{const d=Di.filter(c=>o.name.indexOf(`${c}-`)===0)[0];if(d){const c=Pt(d),f=Pt(o.name.split(`${d}-`)[1]);typeof i[c]>"u"&&(i[c]={}),i[c]===!0&&(i[c]={enabled:!0}),i[c][f]=Ai(o.value)}else{const c=Pt(o.name);if(!n.includes(c))return;const f=Ai(o.value);i[c]&&Di.includes(o.name)&&!dt(f)?(i[c].constructor!==Object&&(i[c]={}),i[c].enabled=!!f):i[c]=f}}),hs(s,i),s.navigation?s.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...s.navigation!==!0?s.navigation:{}}:s.navigation===!1&&delete s.navigation,s.scrollbar?s.scrollbar={el:".swiper-scrollbar",...s.scrollbar!==!0?s.scrollbar:{}}:s.scrollbar===!1&&delete s.scrollbar,s.pagination?s.pagination={el:".swiper-pagination",...s.pagination!==!0?s.pagination:{}}:s.pagination===!1&&delete s.pagination,{params:s,passedParams:i}}const Vd=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",Hd="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class Rd{}const rn=typeof window>"u"||typeof HTMLElement>"u"?Rd:HTMLElement,Vi=`<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg> `,nn=(r,e)=>{if(typeof CSSStyleSheet<"u"&&r.adoptedStyleSheets){const t=new CSSStyleSheet;t.replaceSync(e),r.adoptedStyleSheets=[t]}else{const t=document.createElement("style");t.rel="stylesheet",t.textContent=e,r.appendChild(t)}};class ln extends rn{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return Vi}static get prevButtonSvg(){return Vi.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[Vd,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` `)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(s=>parseInt(s.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,!!this.rendered){if(this.slideSlots>e)for(let s=e;s<this.slideSlots;s+=1){const i=document.createElement("swiper-slide");i.setAttribute("part",`slide slide-${s+1}`);const l=document.createElement("slot");l.setAttribute("name",`slide-${s+1}`),i.appendChild(l),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(i)}else if(this.slideSlots<e){const s=this.swiper.slides;for(let i=s.length-1;i>=0;i-=1)i>this.slideSlots&&s[i].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&nn(this.shadowRoot,e),this.cssLinks().forEach(s=>{if(this.shadowRoot.querySelector(`link[href="${s}"]`))return;const l=document.createElement("link");l.rel="stylesheet",l.href=s,this.shadowRoot.appendChild(l)});const t=document.createElement("div");t.classList.add("swiper"),t.part="container",t.innerHTML=` <slot name="container-start"></slot> <div class="swiper-wrapper" part="wrapper"> <slot></slot> ${Array.from({length:this.slideSlots}).map((s,i)=>` <swiper-slide part="slide slide-${i}"> <slot name="slide-${i}"></slot> </swiper-slide> `).join("")} </div> <slot name="container-end"></slot> ${zd(this.passedParams)?` <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div> <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div> `:""} ${Ad(this.passedParams)?` <div part="pagination" class="swiper-pagination"></div> `:""} ${Dd(this.passedParams)?` <div part="scrollbar" class="swiper-scrollbar"></div> `:""} `,this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:t,passedParams:s}=Oi(this);this.swiperParams=t,this.passedParams=s,delete this.swiperParams.init,this.render(),this.swiper=new Ie(this.shadowRoot.querySelector(".swiper"),{...t.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...t,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&e.calcSlideSlots();const l=t.eventsPrefix?`${t.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];const d=new CustomEvent(l,{detail:a,bubbles:i!=="hashChange",cancelable:!0});e.dispatchEvent(d)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(e,t){const{params:s,passedParams:i}=Oi(this,e,t);this.passedParams=i,this.swiperParams=s,!(this.swiper&&this.swiper.params[e]===t)&&Od({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Pt(e)],...e==="navigation"&&i[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},...e==="pagination"&&i[e]?{paginationEl:".swiper-pagination"}:{},...e==="scrollbar"&&i[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,t,s){this.initialized&&(t==="true"&&s===null&&(s=!1),this.updateSwiperOnPropChange(e,s))}static get observedAttributes(){return qt.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,s=>`-${s}`).replace("_","").toLowerCase())}}qt.forEach(r=>{r!=="init"&&(r=r.replace("_",""),Object.defineProperty(ln.prototype,r,{configurable:!0,get(){return(this.passedParams||{})[r]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[r]=e,this.initialized&&this.updateSwiperOnPropChange(r,e)}}))});class Nd extends rn{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(nn(this.shadowRoot,Hd),this.shadowRoot.appendChild(document.createElement("slot")),e){const t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const Bd=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ln),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Nd))};typeof window<"u"&&(window.SwiperElementRegisterParams=r=>{qt.push(...r)});function jd(r){let e,t;return{c(){e=we("svg"),t=we("path"),this.h()},l(s){e=be(s,"svg",{class:!0,viewBox:!0,fill:!0,xmlns:!0});var i=I(e);t=be(i,"path",{d:!0,stroke:!0,"stroke-width":!0}),I(t).forEach($),i.forEach($),this.h()},h(){y(t,"d","M12 21L2 11L12 1"),y(t,"stroke","currentColor"),y(t,"stroke-width","2"),y(e,"class",r[0]),y(e,"viewBox","0 0 13 22"),y(e,"fill","none"),y(e,"xmlns","http://www.w3.org/2000/svg")},m(s,i){N(s,e,i),k(e,t)},p(s,[i]){i&1&&y(e,"class",s[0])},i:se,o:se,d(s){s&&$(e)}}}function Gd(r,e,t){let{class:s=""}=e;return r.$$set=i=>{"class"in i&&t(0,s=i.class)},[s]}class Rt extends oe{constructor(e){super(),ce(this,e,Gd,jd,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(Rt,{class:{}},[],[],!0);function Hi(r,e,t){const s=r.slice();return s[9]=e[t],s}function Ri(r){var o;let e,t,s,i,l,n;t=new it({props:{class:"rounded-[20px] max-h-[500px] "+((o=r[0])!=null&&o.keepAspectRatio?"max-w-full mx-auto h-auto w-auto":"w-full h-full object-cover")+" ",image:r[9]}});let a=r[9].name&&Ni(r);return{c(){e=L("swiper-slide"),Q(t.$$.fragment),s=W(),a&&a.c(),i=W(),this.h()},l(d){e=z(d,"SWIPER-SLIDE",{class:!0});var c=I(e);ie(t.$$.fragment,c),s=U(c),a&&a.l(c),i=U(c),c.forEach($),this.h()},h(){var d;De(e,"class",l="relative "+((d=r[0])!=null&&d.keepAspectRatio?"w-fit":"w-[calc((100vw_-_var(--type-area-margin)_*_2rem))] md:w-[calc((100vw_-_var(--type-area-margin)_*_2rem)_/_2)]")+" px-3")},m(d,c){N(d,e,c),ee(t,e,null),k(e,s),a&&a.m(e,null),k(e,i),n=!0},p(d,c){var u,p;const f={};c&1&&(f.class="rounded-[20px] max-h-[500px] "+((u=d[0])!=null&&u.keepAspectRatio?"max-w-full mx-auto h-auto w-auto":"w-full h-full object-cover")+" "),c&1&&(f.image=d[9]),t.$set(f),d[9].name?a?a.p(d,c):(a=Ni(d),a.c(),a.m(e,i)):a&&(a.d(1),a=null),(!n||c&1&&l!==(l="relative "+((p=d[0])!=null&&p.keepAspectRatio?"w-fit":"w-[calc((100vw_-_var(--type-area-margin)_*_2rem))] md:w-[calc((100vw_-_var(--type-area-margin)_*_2rem)_/_2)]")+" px-3"))&&De(e,"class",l)},i(d){n||(S(t.$$.fragment,d),n=!0)},o(d){O(t.$$.fragment,d),n=!1},d(d){d&&$(e),te(t),a&&a.d()}}}function Ni(r){let e,t=r[9].name+"",s,i;return{c(){e=L("figure"),s=ue(t),this.h()},l(l){e=z(l,"FIGURE",{class:!0});var n=I(e);s=pe(n,t),n.forEach($),this.h()},h(){var l;y(e,"class",i="pt-10 text-secondary "+((l=r[0])!=null&&l.keepAspectRatio?"w-min min-w-[25ch]":"mx-auto"))},m(l,n){N(l,e,n),k(e,s)},p(l,n){var a;n&1&&t!==(t=l[9].name+"")&&me(s,t),n&1&&i!==(i="pt-10 text-secondary "+((a=l[0])!=null&&a.keepAspectRatio?"w-min min-w-[25ch]":"mx-auto"))&&y(e,"class",i)},d(l){l&&$(e)}}}function Bi(r){var i;let e,t,s=((i=r[9])==null?void 0:i.filename)&&Ri(r);return{c(){s&&s.c(),e=J()},l(l){s&&s.l(l),e=J()},m(l,n){s&&s.m(l,n),N(l,e,n),t=!0},p(l,n){var a;(a=l[9])!=null&&a.filename?s?(s.p(l,n),n&1&&S(s,1)):(s=Ri(l),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(l){t||(S(s),t=!0)},o(l){O(s),t=!1},d(l){l&&$(e),s&&s.d(l)}}}function Fd(r){var b;let e,t,s,i,l,n,a,o,d,c,f,u,p,h,g,v=re((b=r[0])==null?void 0:b.images),m=[];for(let _=0;_<v.length;_+=1)m[_]=Bi(Hi(r,v,_));const w=_=>O(m[_],1,1,()=>{m[_]=null});return n=new Rt({props:{class:"w-3 group-disabled:opacity-50"}}),c=new Rt({props:{class:"w-3 rotate-180 group-disabled:opacity-50"}}),{c(){e=L("div"),t=L("swiper-container");for(let _=0;_<m.length;_+=1)m[_].c();s=W(),i=L("div"),l=L("button"),Q(n.$$.fragment),o=W(),d=L("button"),Q(c.$$.fragment),this.h()},l(_){e=z(_,"DIV",{class:!0});var E=I(e);t=z(E,"SWIPER-CONTAINER",{init:!0});var C=I(t);for(let P=0;P<m.length;P+=1)m[P].l(C);C.forEach($),s=U(E),i=z(E,"DIV",{class:!0});var H=I(i);l=z(H,"BUTTON",{type:!0,class:!0});var T=I(l);ie(n.$$.fragment,T),T.forEach($),o=U(H),d=z(H,"BUTTON",{type:!0,class:!0});var x=I(d);ie(c.$$.fragment,x),x.forEach($),H.forEach($),E.forEach($),this.h()},h(){De(t,"init",!1),y(l,"type","button"),l.disabled=a=r[2]===0,y(l,"class","w-[60px] h-[60px] bg-white rounded-[100px] justify-center items-center inline-flex pointer-events-auto -translate-x-1/2 max-md:scale-75"),y(d,"type","button"),y(d,"class","w-[60px] h-[60px] bg-white rounded-[100px] justify-center items-center inline-flex pointer-events-auto translate-x-1/2 max-md:scale-75"),d.disabled=f=r[2]===1,y(i,"class","absolute w-[calc((100vw_-_var(--type-area-margin)_*_2rem))] md:w-[calc((100vw_-_var(--type-area-margin)_*_2rem)_/_2)] mx-auto left-0 right-0 top-1/2 transform -translate-y-1/2 flex justify-between z-40 pointer-events-none"),y(e,"class","relative py-20")},m(_,E){N(_,e,E),k(e,t);for(let C=0;C<m.length;C+=1)m[C]&&m[C].m(t,null);r[5](t),k(e,s),k(e,i),k(i,l),ee(n,l,null),k(i,o),k(i,d),ee(c,d,null),p=!0,h||(g=[Ee(r[3].call(null,t)),Xe(t,"progress",r[4]),Xe(l,"click",r[6]),Xe(d,"click",r[7]),Ee(u=Se.call(null,e,r[0]))],h=!0)},p(_,[E]){var C;if(E&1){v=re((C=_[0])==null?void 0:C.images);let H;for(H=0;H<v.length;H+=1){const T=Hi(_,v,H);m[H]?(m[H].p(T,E),S(m[H],1)):(m[H]=Bi(T),m[H].c(),S(m[H],1),m[H].m(t,null))}for(fe(),H=v.length;H<m.length;H+=1)w(H);de()}(!p||E&4&&a!==(a=_[2]===0))&&(l.disabled=a),(!p||E&4&&f!==(f=_[2]===1))&&(d.disabled=f),u&&ke(u.update)&&E&1&&u.update.call(null,_[0])},i(_){if(!p){for(let E=0;E<v.length;E+=1)S(m[E]);S(n.$$.fragment,_),S(c.$$.fragment,_),p=!0}},o(_){m=m.filter(Boolean);for(let E=0;E<m.length;E+=1)O(m[E]);O(n.$$.fragment,_),O(c.$$.fragment,_),p=!1},d(_){_&&$(e),ye(m,_),r[5](null),te(n),te(c),h=!1,Nt(g)}}}function qd(r,e,t){Bd();let{blok:s}=e;const i={slidesPerView:"auto",initialSlide:s!=null&&s.startCentered?1:0,spaceBetween:s!=null&&s.keepAspectRatio?20:0,centeredSlides:!0};let l,n;const a=u=>{Object.assign(u,i),u.initialize()},o=u=>{const[p,h]=u.detail;t(2,n=h)};function d(u){_t[u?"unshift":"push"](()=>{l=u,t(1,l)})}const c=()=>{l==null||l.swiper.slidePrev()},f=()=>{l==null||l.swiper.slideNext()};return r.$$set=u=>{"blok"in u&&t(0,s=u.blok)},[s,l,n,a,o,d,c,f]}class an extends oe{constructor(e){super(),ce(this,e,qd,Fd,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(an,{blok:{}},[],[],!0);function ji(r,e,t){const s=r.slice();return s[1]=e[t],s}function Gi(r){let e,t,s=re(r[0].body),i=[];for(let n=0;n<s.length;n+=1)i[n]=Fi(ji(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&1){s=re(n[0].body);let o;for(o=0;o<s.length;o+=1){const d=ji(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Fi(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Fi(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1]}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Yd(r){let e,t,s=r[0].body&&r[0].body.length>0&&Gi(r);return{c(){e=L("div"),s&&s.c()},l(i){e=z(i,"DIV",{});var l=I(e);s&&s.l(l),l.forEach($)},m(i,l){N(i,e,l),s&&s.m(e,null),t=!0},p(i,l){i[0].body&&i[0].body.length>0?s?(s.p(i,l),l&1&&S(s,1)):(s=Gi(i),s.c(),S(s,1),s.m(e,null)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(i){t||(S(s),t=!0)},o(i){O(s),t=!1},d(i){i&&$(e),s&&s.d()}}}function Xd(r){let e,t=r[0].title+"",s;return{c(){e=L("div"),s=ue(t),this.h()},l(i){e=z(i,"DIV",{slot:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"slot","title")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[0].title+"")&&me(s,t)},d(i){i&&$(e)}}}function Wd(r){let e,t;return e=new st({props:{blok:r[0],$$slots:{title:[Xd],default:[Yd]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,[i]){const l={};i&1&&(l.blok=s[0]),i&17&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Ud(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class on extends oe{constructor(e){super(),ce(this,e,Ud,Wd,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(on,{blok:{}},[],[],!0);function Zd(r){let e,t,s,i,l,n;return t=new yt({props:{richText:r[0].content,components:Ae}}),{c(){e=L("div"),Q(t.$$.fragment),this.h()},l(a){e=z(a,"DIV",{class:!0});var o=I(e);ie(t.$$.fragment,o),o.forEach($),this.h()},h(){y(e,"class","text-secondary")},m(a,o){N(a,e,o),ee(t,e,null),i=!0,l||(n=Ee(s=Se.call(null,e,r[0])),l=!0)},p(a,[o]){const d={};o&1&&(d.richText=a[0].content),t.$set(d),s&&ke(s.update)&&o&1&&s.update.call(null,a[0])},i(a){i||(S(t.$$.fragment,a),i=!0)},o(a){O(t.$$.fragment,a),i=!1},d(a){a&&$(e),te(t),l=!1,n()}}}function Kd(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class cn extends oe{constructor(e){super(),ce(this,e,Kd,Zd,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(cn,{blok:{}},[],[],!0);function qi(r,e,t){const s=r.slice();return s[3]=e[t],s}function Yi(r){var n,a;let e,t,s=re((a=(n=r[0])==null?void 0:n.topics)==null?void 0:a.content.topics),i=[];for(let o=0;o<s.length;o+=1)i[o]=Xi(qi(r,s,o));const l=o=>O(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o<i.length;o+=1)i[o].c();e=J()},l(o){for(let d=0;d<i.length;d+=1)i[d].l(o);e=J()},m(o,d){for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(o,d);N(o,e,d),t=!0},p(o,d){var c,f;if(d&7){s=re((f=(c=o[0])==null?void 0:c.topics)==null?void 0:f.content.topics);let u;for(u=0;u<s.length;u+=1){const p=qi(o,s,u);i[u]?(i[u].p(p,d),S(i[u],1)):(i[u]=Xi(p),i[u].c(),S(i[u],1),i[u].m(e.parentNode,e))}for(fe(),u=s.length;u<i.length;u+=1)l(u);de()}},i(o){if(!t){for(let d=0;d<s.length;d+=1)S(i[d]);t=!0}},o(o){i=i.filter(Boolean);for(let d=0;d<i.length;d+=1)O(i[d]);t=!1},d(o){o&&$(e),ye(i,o)}}}function Jd(r){var i;let e,t=(((i=r[3])==null?void 0:i.name)??"")+"",s;return{c(){e=L("span"),s=ue(t),this.h()},l(l){e=z(l,"SPAN",{class:!0});var n=I(e);s=pe(n,t),n.forEach($),this.h()},h(){y(e,"class","hyphens-auto w-full h-fit block break-words")},m(l,n){N(l,e,n),k(e,s)},p(l,n){var a;n&1&&t!==(t=(((a=l[3])==null?void 0:a.name)??"")+"")&&me(s,t)},d(l){l&&$(e)}}}function Xi(r){var d,c,f;let e,t,s,i,l,n,a,o;return t=new Gt({props:{class:`flex h-full w-full items-end ${(d=r[0])!=null&&d.small?r[2].get("small"):r[2].get("default")} ${(c=r[0])!=null&&c.small&&r[1].url.pathname==="/"+((f=r[3])==null?void 0:f.full_slug)?"bg-primary text-white":"bg-white"} `,$$slots:{default:[Jd]},$$scope:{ctx:r}}}),{c(){e=L("a"),Q(t.$$.fragment),s=W(),this.h()},l(u){e=z(u,"A",{class:!0,href:!0});var p=I(e);ie(t.$$.fragment,p),s=U(p),p.forEach($),this.h()},h(){var u;y(e,"class",""),y(e,"href",i="/"+(((u=r[3])==null?void 0:u.full_slug)??""))},m(u,p){N(u,e,p),ee(t,e,null),k(e,s),n=!0,a||(o=Ee(l=Se.call(null,e,r[3].content)),a=!0)},p(u,p){var g,v,m,w;r=u;const h={};p&3&&(h.class=`flex h-full w-full items-end ${(g=r[0])!=null&&g.small?r[2].get("small"):r[2].get("default")} ${(v=r[0])!=null&&v.small&&r[1].url.pathname==="/"+((m=r[3])==null?void 0:m.full_slug)?"bg-primary text-white":"bg-white"} `),p&65&&(h.$$scope={dirty:p,ctx:r}),t.$set(h),(!n||p&1&&i!==(i="/"+(((w=r[3])==null?void 0:w.full_slug)??"")))&&y(e,"href",i),l&&ke(l.update)&&p&1&&l.update.call(null,r[3].content)},i(u){n||(S(t.$$.fragment,u),n=!0)},o(u){O(t.$$.fragment,u),n=!1},d(u){u&&$(e),te(t),a=!1,o()}}}function Qd(r){var i,l,n,a;let e,t,s=((l=(i=r[0])==null?void 0:i.topics)==null?void 0:l.content.topics)&&((a=(n=r[0])==null?void 0:n.topics)==null?void 0:a.content.topics.length)>0&&Yi(r);return{c(){s&&s.c(),e=J()},l(o){s&&s.l(o),e=J()},m(o,d){s&&s.m(o,d),N(o,e,d),t=!0},p(o,d){var c,f,u,p;(f=(c=o[0])==null?void 0:c.topics)!=null&&f.content.topics&&((p=(u=o[0])==null?void 0:u.topics)==null?void 0:p.content.topics.length)>0?s?(s.p(o,d),d&1&&S(s,1)):(s=Yi(o),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(o){t||(S(s),t=!0)},o(o){O(s),t=!1},d(o){o&&$(e),s&&s.d(o)}}}function ef(r){var i,l;let e,t,s;return t=new $t({props:{cols:(i=r[0])!=null&&i.small?4:2,autofit:(l=r[0])==null?void 0:l.small,$$slots:{default:[Qd]},$$scope:{ctx:r}}}),{c(){e=L("div"),Q(t.$$.fragment)},l(n){e=z(n,"DIV",{});var a=I(e);ie(t.$$.fragment,a),a.forEach($)},m(n,a){N(n,e,a),ee(t,e,null),s=!0},p(n,a){var d,c;const o={};a&1&&(o.cols=(d=n[0])!=null&&d.small?4:2),a&1&&(o.autofit=(c=n[0])==null?void 0:c.small),a&67&&(o.$$scope={dirty:a,ctx:n}),t.$set(o)},i(n){s||(S(t.$$.fragment,n),s=!0)},o(n){O(t.$$.fragment,n),s=!1},d(n){n&&$(e),te(t)}}}function tf(r){let e,t="Themen";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{slot:!0,"data-svelte-h":!0}),Me(e)!=="svelte-uisl0u"&&(e.textContent=t),this.h()},h(){y(e,"slot","title")},m(s,i){N(s,e,i)},p:se,d(s){s&&$(e)}}}function sf(r){let e,t;return e=new st({props:{blok:r[0],$$slots:{title:[tf],default:[ef]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,[i]){const l={};i&1&&(l.blok=s[0]),i&67&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function rf(r,e,t){let s;Ge(r,Fe,n=>t(1,s=n));let{blok:i}=e;const l=new Map([["default","pl-[31px] pr-[21px] pt-[66px] pb-6 text-lg md:text-xl font-extrabold font-['PPMonumentExtended'] text-primary hover:bg-primary hover:text-white"],["small","md:text-lg font-extrabold text-primary hover:bg-primary hover:text-white min-h-[160px] p-4 md:p-6 items-end aspect-square"]]);return r.$$set=n=>{"blok"in n&&t(0,i=n.blok)},[i,s,l]}class dn extends oe{constructor(e){super(),ce(this,e,rf,sf,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(dn,{blok:{}},[],[],!0);const Ct=He(!1);function Wi(r,e,t){const s=r.slice();return s[8]=e[t],s}function Ui(r){let e,t,s=re(r[0].link),i=[];for(let n=0;n<s.length;n+=1)i[n]=Zi(Wi(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){for(let n=0;n<i.length;n+=1)i[n].c();e=J()},l(n){for(let a=0;a<i.length;a+=1)i[a].l(n);e=J()},m(n,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(n,a);N(n,e,a),t=!0},p(n,a){if(a&31){s=re(n[0].link);let o;for(o=0;o<s.length;o+=1){const d=Wi(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Zi(d),i[o].c(),S(i[o],1),i[o].m(e.parentNode,e))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Zi(r){let e,t,s,i,l,n,a,o,d;return s=new Ne({props:{index:r[1],components:Ae,blok:r[8],class:"p-5 block"}}),{c(){e=L("div"),t=L("div"),Q(s.$$.fragment),l=W(),this.h()},l(c){e=z(c,"DIV",{class:!0,role:!0,tabindex:!0});var f=I(e);t=z(f,"DIV",{class:!0});var u=I(t);ie(s.$$.fragment,u),u.forEach($),l=U(f),f.forEach($),this.h()},h(){var c,f,u,p,h;y(t,"class",i="text-[15px] text-center font-bold "+((c=r[8].link)!=null&&c.cached_url&&(r[2].url.pathname==="/"&&((f=r[8].link)==null?void 0:f.cached_url)==="home"||"/"+((u=r[8].link)==null?void 0:u.cached_url)==r[2].url.pathname+"/"||"/"+((p=r[8].link)==null?void 0:p.cached_url)===r[2].url.pathname||r[2].url.pathname.includes((h=r[8].link)==null?void 0:h.cached_url))?"text-primary underline underline-offset-8":"text-secondary group-hover:text-primary")),y(e,"class","group flex items-center -mt-10 pt-10"),y(e,"role","menuitem"),y(e,"tabindex",r[1])},m(c,f){N(c,e,f),k(e,t),ee(s,t,null),k(e,l),a=!0,o||(d=[Ee(n=Se.call(null,e,r[0])),Xe(e,"focus",r[6]),Xe(e,"mouseenter",r[7])],o=!0)},p(c,f){var p,h,g,v,m;const u={};f&2&&(u.index=c[1]),f&1&&(u.blok=c[8]),s.$set(u),(!a||f&5&&i!==(i="text-[15px] text-center font-bold "+((p=c[8].link)!=null&&p.cached_url&&(c[2].url.pathname==="/"&&((h=c[8].link)==null?void 0:h.cached_url)==="home"||"/"+((g=c[8].link)==null?void 0:g.cached_url)==c[2].url.pathname+"/"||"/"+((v=c[8].link)==null?void 0:v.cached_url)===c[2].url.pathname||c[2].url.pathname.includes((m=c[8].link)==null?void 0:m.cached_url))?"text-primary underline underline-offset-8":"text-secondary group-hover:text-primary")))&&y(t,"class",i),(!a||f&2)&&y(e,"tabindex",c[1]),n&&ke(n.update)&&f&1&&n.update.call(null,c[0])},i(c){a||(S(s.$$.fragment,c),a=!0)},o(c){O(s.$$.fragment,c),a=!1},d(c){c&&$(e),te(s),o=!1,Nt(d)}}}function nf(r){let e,t,s=r[0].link&&Ui(r);return{c(){s&&s.c(),e=J()},l(i){s&&s.l(i),e=J()},m(i,l){s&&s.m(i,l),N(i,e,l),t=!0},p(i,[l]){i[0].link?s?(s.p(i,l),l&1&&S(s,1)):(s=Ui(i),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(i){t||(S(s),t=!0)},o(i){O(s),t=!1},d(i){i&&$(e),s&&s.d(i)}}}function lf(r,e,t){let s;Ge(r,Fe,f=>t(2,s=f));let{blok:i}=e,{index:l}=e,{setIndex:n}=e;const a=()=>{var f,u;i.submenu&&((f=i==null?void 0:i.submenu)==null?void 0:f.length)>=1||i.body&&((u=i.body)==null?void 0:u.length)>=1?(Ct.set(!0),n(l)):(Ct.set(!1),n(l))},o=()=>{var f,u;i.submenu&&((f=i==null?void 0:i.submenu)==null?void 0:f.length)>=1||i.body&&((u=i.body)==null?void 0:u.length)>=1?(Ct.set(!0),n(l)):(Ct.set(!1),n(l))},d=()=>a(),c=()=>o();return r.$$set=f=>{"blok"in f&&t(0,i=f.blok),"index"in f&&t(1,l=f.index),"setIndex"in f&&t(5,n=f.setIndex)},[i,l,s,a,o,n,d,c]}class fn extends oe{constructor(e){super(),ce(this,e,lf,nf,le,{blok:0,index:1,setIndex:5})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}get index(){return this.$$.ctx[1]}set index(e){this.$$set({index:e}),Z()}get setIndex(){return this.$$.ctx[5]}set setIndex(e){this.$$set({setIndex:e}),Z()}}ae(fn,{blok:{},index:{},setIndex:{}},[],[],!0);function Ki(r,e,t){const s=r.slice();return s[1]=e[t],s}function Ji(r){let e,t,s=re(r[0].items),i=[];for(let n=0;n<s.length;n+=1)i[n]=Qi(Ki(r,s,n));const l=n=>O(i[n],1,1,()=>{i[n]=null});return{c(){e=L("div");for(let n=0;n<i.length;n+=1)i[n].c();this.h()},l(n){e=z(n,"DIV",{class:!0});var a=I(e);for(let o=0;o<i.length;o+=1)i[o].l(a);a.forEach($),this.h()},h(){y(e,"class","flex flex-wrap gap-3 sm:gap-5")},m(n,a){N(n,e,a);for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(e,null);t=!0},p(n,a){if(a&1){s=re(n[0].items);let o;for(o=0;o<s.length;o+=1){const d=Ki(n,s,o);i[o]?(i[o].p(d,a),S(i[o],1)):(i[o]=Qi(d),i[o].c(),S(i[o],1),i[o].m(e,null))}for(fe(),o=s.length;o<i.length;o+=1)l(o);de()}},i(n){if(!t){for(let a=0;a<s.length;a+=1)S(i[a]);t=!0}},o(n){i=i.filter(Boolean);for(let a=0;a<i.length;a+=1)O(i[a]);t=!1},d(n){n&&$(e),ye(i,n)}}}function Qi(r){let e,t;return e=new Ne({props:{components:Ae,blok:r[1],class:"px-4 py-1 border border-zinc-300 text-sm sm:text-base rounded-full hover:bg-primary hover:text-white hover:border-primary"}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,i){const l={};i&1&&(l.blok=s[1]),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function af(r){let e,t,s=r[0].category+"",i,l,n,a=r[0].items&&Ji(r);return{c(){e=L("div"),t=L("div"),i=ue(s),l=W(),a&&a.c(),this.h()},l(o){e=z(o,"DIV",{class:!0});var d=I(e);t=z(d,"DIV",{class:!0});var c=I(t);i=pe(c,s),c.forEach($),l=U(d),a&&a.l(d),d.forEach($),this.h()},h(){y(t,"class","font-bold mb-4 text-[15px] sm:text-base sm:border-b sm:mb-5 sm:pb-5 opacity-80 sm:opacity-100"),y(e,"class","flex flex-col w-full text-zinc-500 pl-2 xl:p-0 mt-2 mb-8 xl:m-0")},m(o,d){N(o,e,d),k(e,t),k(t,i),k(e,l),a&&a.m(e,null),n=!0},p(o,[d]){(!n||d&1)&&s!==(s=o[0].category+"")&&me(i,s),o[0].items?a?(a.p(o,d),d&1&&S(a,1)):(a=Ji(o),a.c(),S(a,1),a.m(e,null)):a&&(fe(),O(a,1,1,()=>{a=null}),de())},i(o){n||(S(a),n=!0)},o(o){O(a),n=!1},d(o){o&&$(e),a&&a.d()}}}function of(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class un extends oe{constructor(e){super(),ce(this,e,of,af,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(un,{blok:{}},[],[],!0);function cf(r){let e,t=r[0].label+"",s,i,l;return{c(){e=L("a"),s=ue(t),this.h()},l(n){e=z(n,"A",{"data-sveltekit-preload-data":!0,tabindex:!0,class:!0,href:!0});var a=I(e);s=pe(a,t),a.forEach($),this.h()},h(){var n,a;y(e,"data-sveltekit-preload-data",""),y(e,"tabindex",i=r[2]??void 0),y(e,"class",r[1]),y(e,"href",l=((n=r[0].link)==null?void 0:n.cached_url)==="home"?"/":"/"+((a=r[0].link)==null?void 0:a.cached_url))},m(n,a){N(n,e,a),k(e,s)},p(n,[a]){var o,d;a&1&&t!==(t=n[0].label+"")&&me(s,t),a&4&&i!==(i=n[2]??void 0)&&y(e,"tabindex",i),a&2&&y(e,"class",n[1]),a&1&&l!==(l=((o=n[0].link)==null?void 0:o.cached_url)==="home"?"/":"/"+((d=n[0].link)==null?void 0:d.cached_url))&&y(e,"href",l)},i:se,o:se,d(n){n&&$(e)}}}function df(r,e,t){let{blok:s}=e,{class:i="test"}=e,{index:l}=e;return r.$$set=n=>{"blok"in n&&t(0,s=n.blok),"class"in n&&t(1,i=n.class),"index"in n&&t(2,l=n.index)},[s,i,l]}class pn extends oe{constructor(e){super(),ce(this,e,df,cf,le,{blok:0,class:1,index:2})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}get class(){return this.$$.ctx[1]}set class(e){this.$$set({class:e}),Z()}get index(){return this.$$.ctx[2]}set index(e){this.$$set({index:e}),Z()}}ae(pn,{blok:{},class:{},index:{}},[],[],!0);function ff(r){var u,p;let e,t,s,i,l,n,a,o,d,c,f;return s=new yt({props:{richText:(u=r[0])==null?void 0:u.content,components:Ae}}),n=new it({props:{image:(p=r[0])==null?void 0:p.image,class:"w-full h-full object-contain object-center rounded-3xl"}}),{c(){e=L("div"),t=L("div"),Q(s.$$.fragment),i=W(),l=L("div"),Q(n.$$.fragment),this.h()},l(h){e=z(h,"DIV",{class:!0});var g=I(e);t=z(g,"DIV",{class:!0});var v=I(t);ie(s.$$.fragment,v),v.forEach($),i=U(g),l=z(g,"DIV",{class:!0});var m=I(l);ie(n.$$.fragment,m),m.forEach($),g.forEach($),this.h()},h(){var h;y(t,"class","w-2/3"),y(l,"class","w-1/3 max-h-full"),y(e,"class",a=`text-secondary flex w-full gap-10 items-center justify-between ${((h=r[0])==null?void 0:h.position)==="left"?"flex-row-reverse":"flex-row"}`)},m(h,g){N(h,e,g),k(e,t),ee(s,t,null),k(e,i),k(e,l),ee(n,l,null),d=!0,c||(f=Ee(o=Se.call(null,e,r[0])),c=!0)},p(h,[g]){var w,b,_;const v={};g&1&&(v.richText=(w=h[0])==null?void 0:w.content),s.$set(v);const m={};g&1&&(m.image=(b=h[0])==null?void 0:b.image),n.$set(m),(!d||g&1&&a!==(a=`text-secondary flex w-full gap-10 items-center justify-between ${((_=h[0])==null?void 0:_.position)==="left"?"flex-row-reverse":"flex-row"}`))&&y(e,"class",a),o&&ke(o.update)&&g&1&&o.update.call(null,h[0])},i(h){d||(S(s.$$.fragment,h),S(n.$$.fragment,h),d=!0)},o(h){O(s.$$.fragment,h),O(n.$$.fragment,h),d=!1},d(h){h&&$(e),te(s),te(n),c=!1,f()}}}function uf(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class hn extends oe{constructor(e){super(),ce(this,e,uf,ff,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(hn,{blok:{}},[],[],!0);function pf(r){let e,t,s;function i(n){r[5](n)}let l={blok:r[0],content:r[3].map(r[4])};return r[2]!==void 0&&(l.view=r[2]),e=new vs({props:l}),_t.push(()=>Bt(e,"view",i)),{c(){Q(e.$$.fragment)},l(n){ie(e.$$.fragment,n)},m(n,a){ee(e,n,a),s=!0},p(n,a){const o={};a&1&&(o.blok=n[0]),a&8&&(o.content=n[3].map(n[4])),!t&&a&4&&(t=!0,o.view=n[2],jt(()=>t=!1)),e.$set(o)},i(n){s||(S(e.$$.fragment,n),s=!0)},o(n){O(e.$$.fragment,n),s=!1},d(n){te(e,n)}}}function hf(r){let e,t,s;function i(n){r[6](n)}let l={url:"content_type=news&sort_by=content.onlineDate:desc",$$slots:{default:[pf]},$$scope:{ctx:r}};return r[1]!==void 0&&(l.pageItems=r[1]),e=new ws({props:l}),_t.push(()=>Bt(e,"pageItems",i)),{c(){Q(e.$$.fragment)},l(n){ie(e.$$.fragment,n)},m(n,a){ee(e,n,a),s=!0},p(n,[a]){const o={};a&141&&(o.$$scope={dirty:a,ctx:n}),!t&&a&2&&(t=!0,o.pageItems=n[1],jt(()=>t=!1)),e.$set(o)},i(n){s||(S(e.$$.fragment,n),s=!0)},o(n){O(e.$$.fragment,n),s=!1},d(n){te(e,n)}}}function mf(r,e,t){let s,i=se,l=()=>(i(),i=wt(a,u=>t(3,s=u)),a);r.$$.on_destroy.push(()=>i());let{blok:n}=e,a,o="grid";const d=u=>({image:u.content.previewImage,link:u.full_slug,cardHeader:Ve(u.content.onlineDate,{month:"short",year:"numeric"}),title:u.name});function c(u){o=u,t(2,o)}function f(u){a=u,l(t(1,a))}return r.$$set=u=>{"blok"in u&&t(0,n=u.blok)},[n,a,o,s,d,c,f]}class mn extends oe{constructor(e){super(),ce(this,e,mf,hf,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(mn,{blok:{}},[],[],!0);function gf(r){let e,t;return{c(){e=we("svg"),t=we("path"),this.h()},l(s){e=be(s,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var i=I(e);t=be(i,"path",{d:!0,fill:!0}),I(t).forEach($),i.forEach($),this.h()},h(){y(t,"d","M8 8C7.73478 8 7.48043 8.10536 7.29289 8.29289C7.10536 8.48043 7 8.73478 7 9C7 9.26522 7.10536 9.51957 7.29289 9.70711C7.48043 9.89464 7.73478 10 8 10H9C9.26522 10 9.51957 9.89464 9.70711 9.70711C9.89464 9.51957 10 9.26522 10 9C10 8.73478 9.89464 8.48043 9.70711 8.29289C9.51957 8.10536 9.26522 8 9 8H8ZM13 20H6C5.73478 20 5.48043 19.8946 5.29289 19.7071C5.10536 19.5196 5 19.2652 5 19V5C5 4.73478 5.10536 4.48043 5.29289 4.29289C5.48043 4.10536 5.73478 4 6 4H11V7C11 7.79565 11.3161 8.55871 11.8787 9.12132C12.4413 9.68393 13.2044 10 14 10H17V12C17 12.2652 17.1054 12.5196 17.2929 12.7071C17.4804 12.8946 17.7348 13 18 13C18.2652 13 18.5196 12.8946 18.7071 12.7071C18.8946 12.5196 19 12.2652 19 12V9C19 9 19 9 19 8.94C18.9896 8.84813 18.9695 8.75763 18.94 8.67V8.58C18.8919 8.47718 18.8278 8.38267 18.75 8.3L12.75 2.3C12.6673 2.22222 12.5728 2.15808 12.47 2.11C12.4369 2.10421 12.4031 2.10421 12.37 2.11C12.2728 2.058 12.1683 2.02092 12.06 2H6C5.20435 2 4.44129 2.31607 3.87868 2.87868C3.31607 3.44129 3 4.20435 3 5V19C3 19.7956 3.31607 20.5587 3.87868 21.1213C4.44129 21.6839 5.20435 22 6 22H13C13.2652 22 13.5196 21.8946 13.7071 21.7071C13.8946 21.5196 14 21.2652 14 21C14 20.7348 13.8946 20.4804 13.7071 20.2929C13.5196 20.1054 13.2652 20 13 20ZM13 5.41L15.59 8H14C13.7348 8 13.4804 7.89464 13.2929 7.70711C13.1054 7.51957 13 7.26522 13 7V5.41ZM14 12H8C7.73478 12 7.48043 12.1054 7.29289 12.2929C7.10536 12.4804 7 12.7348 7 13C7 13.2652 7.10536 13.5196 7.29289 13.7071C7.48043 13.8946 7.73478 14 8 14H14C14.2652 14 14.5196 13.8946 14.7071 13.7071C14.8946 13.5196 15 13.2652 15 13C15 12.7348 14.8946 12.4804 14.7071 12.2929C14.5196 12.1054 14.2652 12 14 12ZM20.71 18.29C20.617 18.1963 20.5064 18.1219 20.3846 18.0711C20.2627 18.0203 20.132 17.9942 20 17.9942C19.868 17.9942 19.7373 18.0203 19.6154 18.0711C19.4936 18.1219 19.383 18.1963 19.29 18.29L19 18.59V16C19 15.7348 18.8946 15.4804 18.7071 15.2929C18.5196 15.1054 18.2652 15 18 15C17.7348 15 17.4804 15.1054 17.2929 15.2929C17.1054 15.4804 17 15.7348 17 16V18.59L16.71 18.29C16.5217 18.1017 16.2663 17.9959 16 17.9959C15.7337 17.9959 15.4783 18.1017 15.29 18.29C15.1017 18.4783 14.9959 18.7337 14.9959 19C14.9959 19.2663 15.1017 19.5217 15.29 19.71L17.29 21.71C17.3851 21.801 17.4972 21.8724 17.62 21.92C17.7397 21.9729 17.8691 22.0002 18 22.0002C18.1309 22.0002 18.2603 21.9729 18.38 21.92C18.5028 21.8724 18.6149 21.801 18.71 21.71L20.71 19.71C20.8037 19.617 20.8781 19.5064 20.9289 19.3846C20.9797 19.2627 21.0058 19.132 21.0058 19C21.0058 18.868 20.9797 18.7373 20.9289 18.6154C20.8781 18.4936 20.8037 18.383 20.71 18.29ZM12 18C12.2652 18 12.5196 17.8946 12.7071 17.7071C12.8946 17.5196 13 17.2652 13 17C13 16.7348 12.8946 16.4804 12.7071 16.2929C12.5196 16.1054 12.2652 16 12 16H8C7.73478 16 7.48043 16.1054 7.29289 16.2929C7.10536 16.4804 7 16.7348 7 17C7 17.2652 7.10536 17.5196 7.29289 17.7071C7.48043 17.8946 7.73478 18 8 18H12Z"),y(t,"fill","currentColor"),y(e,"class",r[0]),y(e,"width","24"),y(e,"height","24"),y(e,"viewBox","0 0 24 24"),y(e,"fill","none"),y(e,"xmlns","http://www.w3.org/2000/svg")},m(s,i){N(s,e,i),k(e,t)},p(s,[i]){i&1&&y(e,"class",s[0])},i:se,o:se,d(s){s&&$(e)}}}function vf(r,e,t){let{class:s=""}=e;return r.$$set=i=>{"class"in i&&t(0,s=i.class)},[s]}class gn extends oe{constructor(e){super(),ce(this,e,vf,gf,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(gn,{class:{}},[],[],!0);function er(r,e,t){const s=r.slice();return s[1]=e[t],s}function tr(r){var p,h;let e,t,s,i,l=(((p=r[1])==null?void 0:p.name)??((h=r[1])==null?void 0:h.alt)??r[1].filename.split("/").slice(-1))+"",n,a,o,d,c,f,u;return t=new gn({props:{class:"w-6 h-6"}}),{c(){e=L("a"),Q(t.$$.fragment),s=W(),i=L("span"),n=ue(l),a=W(),this.h()},l(g){e=z(g,"A",{class:!0,href:!0,download:!0,target:!0});var v=I(e);ie(t.$$.fragment,v),s=U(v),i=z(v,"SPAN",{});var m=I(i);n=pe(m,l),m.forEach($),a=U(v),v.forEach($),this.h()},h(){y(e,"class","flex flex-col p-6 gap-4 rounded-[20px] border border-gray-200 text-secondary hover:bg-primary hover:text-white"),y(e,"href",o=r[1].filename),y(e,"download",""),y(e,"target","_blank")},m(g,v){N(g,e,v),ee(t,e,null),k(e,s),k(e,i),k(i,n),k(e,a),c=!0,f||(u=Ee(d=Se.call(null,e,r[0])),f=!0)},p(g,v){var m,w;(!c||v&1)&&l!==(l=(((m=g[1])==null?void 0:m.name)??((w=g[1])==null?void 0:w.alt)??g[1].filename.split("/").slice(-1))+"")&&me(n,l),(!c||v&1&&o!==(o=g[1].filename))&&y(e,"href",o),d&&ke(d.update)&&v&1&&d.update.call(null,g[0])},i(g){c||(S(t.$$.fragment,g),c=!0)},o(g){O(t.$$.fragment,g),c=!1},d(g){g&&$(e),te(t),f=!1,u()}}}function sr(r){var i;let e,t,s=((i=r[1])==null?void 0:i.filename)&&tr(r);return{c(){s&&s.c(),e=J()},l(l){s&&s.l(l),e=J()},m(l,n){s&&s.m(l,n),N(l,e,n),t=!0},p(l,n){var a;(a=l[1])!=null&&a.filename?s?(s.p(l,n),n&1&&S(s,1)):(s=tr(l),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(l){t||(S(s),t=!0)},o(l){O(s),t=!1},d(l){l&&$(e),s&&s.d(l)}}}function wf(r){var n;let e,t,s=re((n=r[0])==null?void 0:n.assets),i=[];for(let a=0;a<s.length;a+=1)i[a]=sr(er(r,s,a));const l=a=>O(i[a],1,1,()=>{i[a]=null});return{c(){for(let a=0;a<i.length;a+=1)i[a].c();e=J()},l(a){for(let o=0;o<i.length;o+=1)i[o].l(a);e=J()},m(a,o){for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(a,o);N(a,e,o),t=!0},p(a,o){var d;if(o&1){s=re((d=a[0])==null?void 0:d.assets);let c;for(c=0;c<s.length;c+=1){const f=er(a,s,c);i[c]?(i[c].p(f,o),S(i[c],1)):(i[c]=sr(f),i[c].c(),S(i[c],1),i[c].m(e.parentNode,e))}for(fe(),c=s.length;c<i.length;c+=1)l(c);de()}},i(a){if(!t){for(let o=0;o<s.length;o+=1)S(i[o]);t=!0}},o(a){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)O(i[o]);t=!1},d(a){a&&$(e),ye(i,a)}}}function bf(r){let e,t,s;return t=new $t({props:{$$slots:{default:[wf]},$$scope:{ctx:r}}}),{c(){e=L("div"),Q(t.$$.fragment)},l(i){e=z(i,"DIV",{});var l=I(e);ie(t.$$.fragment,l),l.forEach($)},m(i,l){N(i,e,l),ee(t,e,null),s=!0},p(i,l){const n={};l&17&&(n.$$scope={dirty:l,ctx:i}),t.$set(n)},i(i){s||(S(t.$$.fragment,i),s=!0)},o(i){O(t.$$.fragment,i),s=!1},d(i){i&&$(e),te(t)}}}function _f(r){let e,t="Downloads";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{slot:!0,"data-svelte-h":!0}),Me(e)!=="svelte-8oewzm"&&(e.textContent=t),this.h()},h(){y(e,"slot","title")},m(s,i){N(s,e,i)},p:se,d(s){s&&$(e)}}}function yf(r){let e,t;return e=new st({props:{blok:r[0],$$slots:{title:[_f],default:[bf]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,[i]){const l={};i&1&&(l.blok=s[0]),i&17&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function $f(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class vn extends oe{constructor(e){super(),ce(this,e,$f,yf,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(vn,{blok:{}},[],[],!0);function ir(r){let e,t,s;return{c(){e=we("svg"),t=we("path"),this.h()},l(i){e=be(i,"svg",{class:!0,viewBox:!0,xmlns:!0});var l=I(e);t=be(l,"path",{d:!0,fill:!0}),I(t).forEach($),l.forEach($),this.h()},h(){y(t,"d","M15 10 L40 25 L15 40 L15 10"),y(t,"fill","currentColor"),y(e,"class",s="w-3 h-3 "+(r[0].direction==="asc"?"rotate-90":"-rotate-90")),y(e,"viewBox","0 0 50 50"),y(e,"xmlns","http://www.w3.org/2000/svg")},m(i,l){N(i,e,l),k(e,t)},p(i,l){l&1&&s!==(s="w-3 h-3 "+(i[0].direction==="asc"?"rotate-90":"-rotate-90"))&&y(e,"class",s)},d(i){i&&$(e)}}}function Ef(r){let e,t,s,i,l,n;const a=r[4].default,o=We(a,r,r[3],null);let d=r[0].index===r[2]&&ir(r);return{c(){e=L("button"),o&&o.c(),t=W(),d&&d.c(),this.h()},l(c){e=z(c,"BUTTON",{class:!0});var f=I(e);o&&o.l(f),t=U(f),d&&d.l(f),f.forEach($),this.h()},h(){y(e,"class",s="flex items-center gap-1 "+(r[2]===4?"cursor-default":""))},m(c,f){N(c,e,f),o&&o.m(e,null),k(e,t),d&&d.m(e,null),i=!0,l||(n=Xe(e,"click",r[5]),l=!0)},p(c,[f]){o&&o.p&&(!i||f&8)&&Ue(o,a,c,c[3],i?Ke(a,c[3],f,null):Ze(c[3]),null),c[0].index===c[2]?d?d.p(c,f):(d=ir(c),d.c(),d.m(e,null)):d&&(d.d(1),d=null),(!i||f&4&&s!==(s="flex items-center gap-1 "+(c[2]===4?"cursor-default":"")))&&y(e,"class",s)},i(c){i||(S(o,c),i=!0)},o(c){O(o,c),i=!1},d(c){c&&$(e),o&&o.d(c),d&&d.d(),l=!1,n()}}}function kf(r,e,t){let{$$slots:s={},$$scope:i}=e,{order:l}=e,{setOrder:n}=e,{index:a}=e;const o=()=>a===4?null:n(a);return r.$$set=d=>{"order"in d&&t(0,l=d.order),"setOrder"in d&&t(1,n=d.setOrder),"index"in d&&t(2,a=d.index),"$$scope"in d&&t(3,i=d.$$scope)},[l,n,a,i,s,o]}class wn extends oe{constructor(e){super(),ce(this,e,kf,Ef,le,{order:0,setOrder:1,index:2})}get order(){return this.$$.ctx[0]}set order(e){this.$$set({order:e}),Z()}get setOrder(){return this.$$.ctx[1]}set setOrder(e){this.$$set({setOrder:e}),Z()}get index(){return this.$$.ctx[2]}set index(e){this.$$set({index:e}),Z()}}ae(wn,{order:{},setOrder:{},index:{}},["default"],[],!0);function Sf(r,{from:e,to:t},s={}){const i=getComputedStyle(r),l=i.transform==="none"?"":i.transform,[n,a]=i.transformOrigin.split(" ").map(parseFloat),o=e.left+e.width*n/t.width-(t.left+n),d=e.top+e.height*a/t.height-(t.top+a),{delay:c=0,duration:f=p=>Math.sqrt(p)*120,easing:u=To}=s;return{delay:c,duration:ke(f)?f(Math.sqrt(o*o+d*d)):f,easing:u,css:(p,h)=>{const g=h*o,v=h*d,m=p+h*e.width/t.width,w=p+h*e.height/t.height;return`transform: ${l} translate(${g}px, ${v}px) scale(${m}, ${w});`}}}function rr(r,e,t){const s=r.slice();return s[7]=e[t],s[9]=t,s}function nr(r,e,t){const s=r.slice();return s[10]=e[t],s[9]=t,s}function xf(r){let e=r[10].label+"",t;return{c(){t=ue(e)},l(s){t=pe(s,e)},m(s,i){N(s,t,i)},p:se,d(s){s&&$(t)}}}function lr(r){let e,t,s;return t=new wn({props:{order:r[1],setOrder:r[3],index:r[9],$$slots:{default:[xf]},$$scope:{ctx:r}}}),{c(){e=L("div"),Q(t.$$.fragment),this.h()},l(i){e=z(i,"DIV",{class:!0});var l=I(e);ie(t.$$.fragment,l),l.forEach($),this.h()},h(){y(e,"class",r[10].class)},m(i,l){N(i,e,l),ee(t,e,null),s=!0},p(i,l){const n={};l&2&&(n.order=i[1]),l&4096&&(n.$$scope={dirty:l,ctx:i}),t.$set(n)},i(i){s||(S(t.$$.fragment,i),s=!0)},o(i){O(t.$$.fragment,i),s=!1},d(i){i&&$(e),te(t)}}}function ar(r){let e=[],t=new Map,s,i=re(r[2]);const l=n=>n[7].content.title;for(let n=0;n<i.length;n+=1){let a=rr(r,i,n),o=l(a);t.set(o,e[n]=or(o,a))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();s=J()},l(n){for(let a=0;a<e.length;a+=1)e[a].l(n);s=J()},m(n,a){for(let o=0;o<e.length;o+=1)e[o]&&e[o].m(n,a);N(n,s,a)},p(n,a){if(a&4){i=re(n[2]);for(let o=0;o<e.length;o+=1)e[o].r();e=Kn(e,a,l,1,n,i,t,s.parentNode,Zn,or,s,rr);for(let o=0;o<e.length;o+=1)e[o].a()}},d(n){n&&$(s);for(let a=0;a<e.length;a+=1)e[a].d(n)}}}function or(r,e){var G;let t,s,i=e[7].content.number+"",l,n,a,o,d=e[7].content.title+"",c,f,u,p,h=(parseInt(e[7].content.month)<10?"0"+e[7].content.month:e[7].content.month)+"",g,v,m=e[7].content.year+"",w,b,_,E=((G=e[7].content)==null?void 0:G.status)+"",C,H,T,x=e[7].content.contribution+"",P,B,A,D,V=se;return{key:r,first:null,c(){t=L("div"),s=L("div"),l=ue(i),n=W(),a=L("div"),o=L("a"),c=ue(d),u=W(),p=L("div"),g=ue(h),v=ue("/"),w=ue(m),b=W(),_=L("div"),C=ue(E),H=W(),T=L("div"),P=ue(x),B=W(),this.h()},l(Y){t=z(Y,"DIV",{class:!0});var M=I(t);s=z(M,"DIV",{});var R=I(s);l=pe(R,i),R.forEach($),n=U(M),a=z(M,"DIV",{class:!0});var F=I(a);o=z(F,"A",{class:!0,href:!0,target:!0});var ne=I(o);c=pe(ne,d),ne.forEach($),F.forEach($),u=U(M),p=z(M,"DIV",{});var j=I(p);g=pe(j,h),v=pe(j,"/"),w=pe(j,m),j.forEach($),b=U(M),_=z(M,"DIV",{class:!0});var q=I(_);C=pe(q,E),q.forEach($),H=U(M),T=z(M,"DIV",{});var X=I(T);P=pe(X,x),X.forEach($),B=U(M),M.forEach($),this.h()},h(){var Y;y(o,"class","underline text-primary font-bold"),y(o,"href",f=(Y=e[7].content.link)==null?void 0:Y.cached_url),y(o,"target","_blank"),y(a,"class","col-span-4 pr-10"),y(_,"class","col-span-2"),y(t,"class",A="grid text-secondary grid-cols-9 py-5 "+(e[9]<e[2].length-1&&"border-b")),this.first=t},m(Y,M){N(Y,t,M),k(t,s),k(s,l),k(t,n),k(t,a),k(a,o),k(o,c),k(t,u),k(t,p),k(p,g),k(p,v),k(p,w),k(t,b),k(t,_),k(_,C),k(t,H),k(t,T),k(T,P),k(t,B)},p(Y,M){var R,F;e=Y,M&4&&i!==(i=e[7].content.number+"")&&me(l,i),M&4&&d!==(d=e[7].content.title+"")&&me(c,d),M&4&&f!==(f=(R=e[7].content.link)==null?void 0:R.cached_url)&&y(o,"href",f),M&4&&h!==(h=(parseInt(e[7].content.month)<10?"0"+e[7].content.month:e[7].content.month)+"")&&me(g,h),M&4&&m!==(m=e[7].content.year+"")&&me(w,m),M&4&&E!==(E=((F=e[7].content)==null?void 0:F.status)+"")&&me(C,E),M&4&&x!==(x=e[7].content.contribution+"")&&me(P,x),M&4&&A!==(A="grid text-secondary grid-cols-9 py-5 "+(e[9]<e[2].length-1&&"border-b"))&&y(t,"class",A)},r(){D=t.getBoundingClientRect()},f(){Xn(t),V()},a(){V(),V=Yn(t,D,Sf,{duration:1e3,easing:Co})},d(Y){Y&&$(t)}}}function Tf(r){let e,t,s,i,l,n,a,o,d,c,f=re(r[4]),u=[];for(let g=0;g<f.length;g+=1)u[g]=lr(nr(r,f,g));const p=g=>O(u[g],1,1,()=>{u[g]=null});let h=r[2]&&ar(r);return{c(){e=L("div"),t=L("div"),s=L("div");for(let g=0;g<u.length;g+=1)u[g].c();i=W(),l=L("div"),n=W(),h&&h.c(),this.h()},l(g){e=z(g,"DIV",{class:!0});var v=I(e);t=z(v,"DIV",{class:!0});var m=I(t);s=z(m,"DIV",{class:!0});var w=I(s);for(let b=0;b<u.length;b+=1)u[b].l(w);i=U(w),l=z(w,"DIV",{}),I(l).forEach($),w.forEach($),n=U(m),h&&h.l(m),m.forEach($),v.forEach($),this.h()},h(){y(s,"class","grid grid-cols-9 py-5 font-bold text-secondary text-sm tracking-wide border-b"),y(t,"class","max-md:min-w-[600px]"),y(e,"class","max-md:overflow-x-auto")},m(g,v){N(g,e,v),k(e,t),k(t,s);for(let m=0;m<u.length;m+=1)u[m]&&u[m].m(s,null);k(s,i),k(s,l),k(t,n),h&&h.m(t,null),o=!0,d||(c=Ee(a=Se.call(null,t,r[0])),d=!0)},p(g,[v]){if(v&26){f=re(g[4]);let m;for(m=0;m<f.length;m+=1){const w=nr(g,f,m);u[m]?(u[m].p(w,v),S(u[m],1)):(u[m]=lr(w),u[m].c(),S(u[m],1),u[m].m(s,i))}for(fe(),m=f.length;m<u.length;m+=1)p(m);de()}g[2]?h?h.p(g,v):(h=ar(g),h.c(),h.m(t,null)):h&&(h.d(1),h=null),a&&ke(a.update)&&v&1&&a.update.call(null,g[0])},i(g){if(!o){for(let v=0;v<f.length;v+=1)S(u[v]);o=!0}},o(g){u=u.filter(Boolean);for(let v=0;v<u.length;v+=1)O(u[v]);o=!1},d(g){g&&$(e),ye(u,g),h&&h.d(),d=!1,c()}}}function Cf(r,e,t){let s,{blok:i}=e,l;Lr(async()=>{var f;const c=await fetch("/api/content?content_type=fachinformation");t(5,l=await((f=c.json())==null?void 0:f.then(u=>u.stories))),a(2),t(1,n.direction="desc",n)});const n={index:0,direction:"asc"},a=c=>{n.index===c?t(1,n.direction=n.direction==="asc"?"desc":"asc",n):t(1,n.direction="asc",n),t(1,n.index=c,n)},o={0:"number",1:"title",2:"month",3:"status",4:"contribution"},d=[{label:"Nummer",class:""},{label:"Titel",class:"col-span-4 pr-10"},{label:"Stand",class:""},{label:"Status",class:"col-span-2"},{label:"DGZ-Verbund",class:""}];return r.$$set=c=>{"blok"in c&&t(0,i=c.blok)},r.$$.update=()=>{r.$$.dirty&34&&t(2,s=l==null?void 0:l.sort((c,f)=>c.content.contribution<f.content.contribution?1:c.content.contribution>f.content.contribution?-1:n.index===2?n.direction==="asc"?c.content.year!==f.content.year?c.content.year>f.content.year?1:-1:c.content.month>f.content.month?1:-1:c.content.year!==f.content.year?c.content.year<f.content.year?1:-1:c.content.month<f.content.month?1:-1:n.direction==="asc"?c.content[o[n.index]]>f.content[o[n.index]]?1:-1:c.content[o[n.index]]<f.content[o[n.index]]?1:-1))},[i,n,s,a,d,l]}class bn extends oe{constructor(e){super(),ce(this,e,Cf,Tf,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(bn,{blok:{}},[],[],!0);function Mf(r){let e,t;return{c(){e=we("svg"),t=we("path"),this.h()},l(s){e=be(s,"svg",{class:!0,width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var i=I(e);t=be(i,"path",{fill:!0,d:!0}),I(t).forEach($),i.forEach($),this.h()},h(){y(t,"fill","currentColor"),y(t,"d","m10 17.55l-1.77 1.72a2.47 2.47 0 0 1-3.5-3.5l4.54-4.55a2.46 2.46 0 0 1 3.39-.09l.12.1a1 1 0 0 0 1.4-1.43a2.75 2.75 0 0 0-.18-.21a4.46 4.46 0 0 0-6.09.22l-4.6 4.55a4.48 4.48 0 0 0 6.33 6.33L11.37 19A1 1 0 0 0 10 17.55ZM20.69 3.31a4.49 4.49 0 0 0-6.33 0L12.63 5A1 1 0 0 0 14 6.45l1.73-1.72a2.47 2.47 0 0 1 3.5 3.5l-4.54 4.55a2.46 2.46 0 0 1-3.39.09l-.12-.1a1 1 0 0 0-1.4 1.43a2.75 2.75 0 0 0 .23.21a4.47 4.47 0 0 0 6.09-.22l4.55-4.55a4.49 4.49 0 0 0 .04-6.33Z"),y(e,"class",r[0]),y(e,"width","24"),y(e,"height","24"),y(e,"viewBox","0 0 24 24"),y(e,"fill","none"),y(e,"xmlns","http://www.w3.org/2000/svg")},m(s,i){N(s,e,i),k(e,t)},p(s,[i]){i&1&&y(e,"class",s[0])},i:se,o:se,d(s){s&&$(e)}}}function If(r,e,t){let{class:s=""}=e;return r.$$set=i=>{"class"in i&&t(0,s=i.class)},[s]}class _n extends oe{constructor(e){super(),ce(this,e,If,Mf,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(_n,{class:{}},[],[],!0);function cr(r,e,t){const s=r.slice();return s[1]=e[t],s}function dr(r){var p,h,g;let e,t,s,i,l=(((p=r[1])==null?void 0:p.label)??((g=(h=r[1])==null?void 0:h.link)==null?void 0:g.alt)??"Link")+"",n,a,o,d,c,f,u;return t=new _n({props:{class:"w-6 h-6"}}),{c(){e=L("a"),Q(t.$$.fragment),s=W(),i=L("span"),n=ue(l),a=W(),this.h()},l(v){e=z(v,"A",{class:!0,href:!0,target:!0,rel:!0});var m=I(e);ie(t.$$.fragment,m),s=U(m),i=z(m,"SPAN",{});var w=I(i);n=pe(w,l),w.forEach($),a=U(m),m.forEach($),this.h()},h(){y(e,"class","flex flex-col p-6 gap-4 rounded-[20px] border border-gray-200 text-secondary hover:bg-primary hover:text-white"),y(e,"href",o=r[1].link.cached_url),y(e,"target","_blank"),y(e,"rel","noopener noreferrer")},m(v,m){N(v,e,m),ee(t,e,null),k(e,s),k(e,i),k(i,n),k(e,a),c=!0,f||(u=Ee(d=Se.call(null,e,r[0])),f=!0)},p(v,m){var w,b,_;(!c||m&1)&&l!==(l=(((w=v[1])==null?void 0:w.label)??((_=(b=v[1])==null?void 0:b.link)==null?void 0:_.alt)??"Link")+"")&&me(n,l),(!c||m&1&&o!==(o=v[1].link.cached_url))&&y(e,"href",o),d&&ke(d.update)&&m&1&&d.update.call(null,v[0])},i(v){c||(S(t.$$.fragment,v),c=!0)},o(v){O(t.$$.fragment,v),c=!1},d(v){v&&$(e),te(t),f=!1,u()}}}function fr(r){var i,l;let e,t,s=((l=(i=r[1])==null?void 0:i.link)==null?void 0:l.cached_url)&&dr(r);return{c(){s&&s.c(),e=J()},l(n){s&&s.l(n),e=J()},m(n,a){s&&s.m(n,a),N(n,e,a),t=!0},p(n,a){var o,d;(d=(o=n[1])==null?void 0:o.link)!=null&&d.cached_url?s?(s.p(n,a),a&1&&S(s,1)):(s=dr(n),s.c(),S(s,1),s.m(e.parentNode,e)):s&&(fe(),O(s,1,1,()=>{s=null}),de())},i(n){t||(S(s),t=!0)},o(n){O(s),t=!1},d(n){n&&$(e),s&&s.d(n)}}}function Pf(r){var n;let e,t,s=re((n=r[0])==null?void 0:n.links),i=[];for(let a=0;a<s.length;a+=1)i[a]=fr(cr(r,s,a));const l=a=>O(i[a],1,1,()=>{i[a]=null});return{c(){for(let a=0;a<i.length;a+=1)i[a].c();e=J()},l(a){for(let o=0;o<i.length;o+=1)i[o].l(a);e=J()},m(a,o){for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(a,o);N(a,e,o),t=!0},p(a,o){var d;if(o&1){s=re((d=a[0])==null?void 0:d.links);let c;for(c=0;c<s.length;c+=1){const f=cr(a,s,c);i[c]?(i[c].p(f,o),S(i[c],1)):(i[c]=fr(f),i[c].c(),S(i[c],1),i[c].m(e.parentNode,e))}for(fe(),c=s.length;c<i.length;c+=1)l(c);de()}},i(a){if(!t){for(let o=0;o<s.length;o+=1)S(i[o]);t=!0}},o(a){i=i.filter(Boolean);for(let o=0;o<i.length;o+=1)O(i[o]);t=!1},d(a){a&&$(e),ye(i,a)}}}function Lf(r){let e,t,s;return t=new $t({props:{$$slots:{default:[Pf]},$$scope:{ctx:r}}}),{c(){e=L("div"),Q(t.$$.fragment)},l(i){e=z(i,"DIV",{});var l=I(e);ie(t.$$.fragment,l),l.forEach($)},m(i,l){N(i,e,l),ee(t,e,null),s=!0},p(i,l){const n={};l&17&&(n.$$scope={dirty:l,ctx:i}),t.$set(n)},i(i){s||(S(t.$$.fragment,i),s=!0)},o(i){O(t.$$.fragment,i),s=!1},d(i){i&&$(e),te(t)}}}function zf(r){let e,t="Weiterführende Links";return{c(){e=L("div"),e.textContent=t,this.h()},l(s){e=z(s,"DIV",{slot:!0,"data-svelte-h":!0}),Me(e)!=="svelte-kuzww8"&&(e.textContent=t),this.h()},h(){y(e,"slot","title")},m(s,i){N(s,e,i)},p:se,d(s){s&&$(e)}}}function Af(r){let e,t;return e=new st({props:{blok:r[0],$$slots:{title:[zf],default:[Lf]},$$scope:{ctx:r}}}),{c(){Q(e.$$.fragment)},l(s){ie(e.$$.fragment,s)},m(s,i){ee(e,s,i),t=!0},p(s,[i]){const l={};i&1&&(l.blok=s[0]),i&17&&(l.$$scope={dirty:i,ctx:s}),e.$set(l)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){O(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function Df(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class yn extends oe{constructor(e){super(),ce(this,e,Df,Af,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(yn,{blok:{}},[],[],!0);function ur(r){let e,t=r[0].image.name+"",s;return{c(){e=L("figure"),s=ue(t),this.h()},l(i){e=z(i,"FIGURE",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","pt-10 text-secondary w-min min-w-[25ch] mx-auto")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[0].image.name+"")&&me(s,t)},d(i){i&&$(e)}}}function Of(r){var c,f,u;let e,t,s,i,l,n,a,o;s=new it({props:{image:(c=r[0])==null?void 0:c.image,class:"w-full"}});let d=((u=(f=r[0])==null?void 0:f.image)==null?void 0:u.name)&&ur(r);return{c(){e=L("section"),t=L("div"),Q(s.$$.fragment),i=W(),d&&d.c(),this.h()},l(p){e=z(p,"SECTION",{class:!0});var h=I(e);t=z(h,"DIV",{});var g=I(t);ie(s.$$.fragment,g),i=U(g),d&&d.l(g),g.forEach($),h.forEach($),this.h()},h(){y(e,"class","mx-typeArea my-20 gap-4")},m(p,h){N(p,e,h),k(e,t),ee(s,t,null),k(t,i),d&&d.m(t,null),n=!0,a||(o=Ee(l=Se.call(null,t,r[0])),a=!0)},p(p,[h]){var v,m,w;const g={};h&1&&(g.image=(v=p[0])==null?void 0:v.image),s.$set(g),(w=(m=p[0])==null?void 0:m.image)!=null&&w.name?d?d.p(p,h):(d=ur(p),d.c(),d.m(t,null)):d&&(d.d(1),d=null),l&&ke(l.update)&&h&1&&l.update.call(null,p[0])},i(p){n||(S(s.$$.fragment,p),n=!0)},o(p){O(s.$$.fragment,p),n=!1},d(p){p&&$(e),te(s),d&&d.d(),a=!1,o()}}}function Vf(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class $n extends oe{constructor(e){super(),ce(this,e,Vf,Of,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae($n,{blok:{}},[],[],!0);function Hf(r){let e,t,s,i=r[0].headline+"",l,n,a,o=r[0].subtitle+"",d,c,f,u;return{c(){e=L("section"),t=L("div"),s=L("h1"),l=ue(i),n=W(),a=L("div"),d=ue(o),this.h()},l(p){e=z(p,"SECTION",{class:!0});var h=I(e);t=z(h,"DIV",{class:!0});var g=I(t);s=z(g,"H1",{class:!0});var v=I(s);l=pe(v,i),v.forEach($),n=U(g),a=z(g,"DIV",{class:!0});var m=I(a);d=pe(m,o),m.forEach($),g.forEach($),h.forEach($),this.h()},h(){y(s,"class","text-primary text-2xl md:text-[3vw] sm:max-w-[50vw] md:max-w-[30vw] font-extrabold font-['PPMonumentExtended'] mb-5 leading-snug"),y(a,"class","max-w-[25ch] text-secondary font-bold text-lg md:text-xl"),y(t,"class","col-start-1 2xl:pr-8"),y(e,"class","mx-typeArea px-3 md:px-9 my-10 sm:my-20 min-h-[clamp(200px,calc(300px+65vw),550px)] sm:min-h-[35vh] flex md:items-center")},m(p,h){N(p,e,h),k(e,t),k(t,s),k(s,l),k(t,n),k(t,a),k(a,d),f||(u=Ee(c=Se.call(null,t,r[0])),f=!0)},p(p,[h]){h&1&&i!==(i=p[0].headline+"")&&me(l,i),h&1&&o!==(o=p[0].subtitle+"")&&me(d,o),c&&ke(c.update)&&h&1&&c.update.call(null,p[0])},i:se,o:se,d(p){p&&$(e),f=!1,u()}}}function Rf(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class En extends oe{constructor(e){super(),ce(this,e,Rf,Hf,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(En,{blok:{}},[],[],!0);function Nf(r){let e,t;return{c(){e=L("img"),this.h()},l(s){e=z(s,"IMG",{class:!0,src:!0,alt:!0}),this.h()},h(){y(e,"class",r[1]),Je(e.src,t="/logos/"+r[0]+".png")||y(e,"src",t),y(e,"alt","")},m(s,i){N(s,e,i)},p(s,i){i&2&&y(e,"class",s[1]),i&1&&!Je(e.src,t="/logos/"+s[0]+".png")&&y(e,"src",t)},d(s){s&&$(e)}}}function Bf(r){let e,t,s,i,l,n,a,o,d;return{c(){e=we("svg"),t=we("g"),s=we("path"),i=we("path"),l=we("path"),n=we("path"),a=we("path"),o=we("path"),d=we("path"),this.h()},l(c){e=be(c,"svg",{xmlns:!0,class:!0,width:!0,height:!0,viewBox:!0,fill:!0});var f=I(e);t=be(f,"g",{});var u=I(t);s=be(u,"path",{d:!0,fill:!0}),I(s).forEach($),i=be(u,"path",{d:!0,fill:!0}),I(i).forEach($),l=be(u,"path",{d:!0,fill:!0}),I(l).forEach($),n=be(u,"path",{d:!0,fill:!0}),I(n).forEach($),a=be(u,"path",{d:!0,fill:!0}),I(a).forEach($),o=be(u,"path",{d:!0,fill:!0}),I(o).forEach($),d=be(u,"path",{d:!0,fill:!0}),I(d).forEach($),u.forEach($),f.forEach($),this.h()},h(){y(s,"d","M5.74919 17.5812H7.99884C9.58147 17.5812 10.6638 17.2133 11.2365 16.4682C11.8091 15.7232 12.0986 14.87 12.0986 13.9085C12.0986 13.0738 11.7997 12.2762 11.1987 11.5312C10.6009 10.7768 9.39269 10.4028 7.58038 10.4028H5.75233V17.5843L5.74919 17.5812ZM0.00390625 6.625H9.43359C12.322 6.625 14.4489 7.33295 15.805 8.73338C17.1611 10.14 17.8439 11.8836 17.8439 13.9703C17.8439 16.292 17.051 18.1067 15.4558 19.4082C13.8574 20.7005 11.4756 21.3528 8.31034 21.3528H0.00390625V6.625Z"),y(s,"fill","#7B7C7E"),y(i,"d","M34.3872 19.8535C33.7737 20.4749 32.9996 20.9386 32.0683 21.2478C31.1401 21.5569 30.1427 21.7115 29.0761 21.7115C26.3734 21.7115 24.215 20.9912 22.5977 19.5599C20.9805 18.1192 20.1719 16.3138 20.1719 14.1405C20.1719 11.5591 21.1032 9.59604 22.9501 8.27289C24.8096 6.94356 26.9429 6.28198 29.3656 6.28198C31.7883 6.28198 33.6509 6.75807 35.1203 7.71642C36.5928 8.67169 37.5399 10.0319 37.9552 11.791H32.4459C32.3452 11.2562 32.0337 10.8141 31.5366 10.4709C31.03 10.1278 30.4228 9.95465 29.7274 9.95465C28.4059 9.95465 27.4431 10.3009 26.8327 10.9965C26.2192 11.6921 25.9109 12.7741 25.9109 14.2456C25.9109 15.1978 26.2286 16.0634 26.8548 16.8548C27.484 17.6431 28.5727 18.045 30.1176 18.045C30.8507 18.045 31.4957 17.9059 32.0557 17.6339C32.6095 17.3556 32.9587 16.9506 33.1035 16.4127H30.5644V13.2563H38.1912V21.3591H34.5602L34.384 19.8566L34.3872 19.8535Z"),y(i,"fill","#7B7C7E"),y(l,"d","M40.5781 17.813L49.2464 10.3997H41.069V6.625H56.8229V9.93287L48.0665 17.5812H57.235V21.3528H40.5781V17.813Z"),y(l,"fill","#7B7C7E"),y(n,"d","M57.2766 3.12848C56.726 3.19031 56.2352 3.31088 55.7097 3.39744C55.6783 3.28615 55.8387 3.2676 55.8859 3.21504C56.4963 2.74205 57.1791 2.26905 57.9311 1.8517C58.8687 1.33234 59.8535 0.862434 61.1341 0.757324C61.2631 0.834611 61.5179 0.76969 61.6847 0.79133C63.9312 0.95827 65.2495 2.02174 66.5301 3.12539C66.6339 3.25523 66.7629 3.3758 66.8982 3.48709C67.9554 4.47946 68.7861 5.69131 68.9717 7.5431C68.9874 7.63894 68.9308 7.80588 68.9969 7.85225V8.72405C68.9245 8.79515 68.9874 8.98064 68.9717 9.09502C68.5155 11.5249 67.6187 13.5035 66.8101 15.5222C65.9952 17.5255 64.8877 19.3927 64.6737 21.9432C64.6202 22.1441 64.6202 22.5553 64.6737 22.7593C64.658 22.8613 64.6863 23.1489 64.6737 23.3405V25.7271C64.6989 25.9312 64.6265 26.0487 64.6737 26.1228C64.6045 26.163 64.6643 26.3362 64.6423 26.4289C64.378 28.7753 64.0633 30.961 63.4466 32.9766C62.8394 34.9459 61.9836 36.7513 61.1938 38.4887C60.3821 40.2725 59.6081 42.0872 58.6044 43.67C57.5975 45.2467 56.4239 46.6286 55.1497 47.9703C54.9263 48.1681 54.7218 48.366 54.5267 48.5793C53.4254 49.4696 52.5696 50.5888 50.9839 51.0061H50.6472C49.6624 50.7804 49.225 50.0106 49.1621 48.8792V48.4587C49.1715 48.3042 49.1841 47.9981 49.288 48.0352C49.3131 48.1743 49.546 48.0445 49.6278 48.0352C49.7725 48.1125 49.5963 48.3567 49.6561 48.5422C49.6089 48.638 49.6089 48.941 49.6561 49.0337C49.6561 49.5964 49.7599 50.1714 50.2696 50.2734C51.1978 50.4651 51.9435 49.2625 52.3683 48.638C53.9037 46.3813 55.3762 44.0781 56.5026 41.4565C58.0192 37.9137 59.1298 33.7742 59.3375 29.3071C59.4067 29.27 59.3501 29.0968 59.3721 29.0041C59.3406 28.8835 59.4161 28.7784 59.3721 28.7351C59.4413 28.6238 59.3784 28.3827 59.3973 28.2158V27.8232C59.4508 27.5264 59.4508 27.0039 59.3973 26.704C59.4256 26.6268 59.3784 26.4104 59.3973 26.2434C59.3784 26.0363 59.4413 25.7488 59.3721 25.5849V25.2511C59.3501 25.1552 59.4067 24.9883 59.3375 24.9512V24.7348C59.3218 24.6297 59.3752 24.4535 59.3123 24.4009C59.3218 24.0887 59.2871 23.9464 59.2777 23.7115C59.2557 23.6033 59.3218 23.424 59.2431 23.3745V23.223C59.2274 23.121 59.2871 22.9386 59.2116 22.8923C59.2274 22.6017 59.1959 22.4718 59.1865 22.2554C59.1707 22.1379 59.2211 21.9525 59.155 21.8906V21.7082C59.1393 21.5629 59.1959 21.3434 59.1267 21.2507V21.0714C59.1047 20.9384 59.1707 20.7251 59.0952 20.6448C59.155 20.5242 59.0638 20.3974 59.0952 20.2181V18.8579C59.2997 15.0956 61.3826 13.015 61.4739 9.2496C61.5242 8.94045 61.5242 8.43345 61.4739 8.13048C61.4141 6.61257 61.1341 5.31106 60.4198 4.43308C60.2908 4.27542 60.1461 4.13939 59.9919 4.00646C59.4602 3.56747 58.8561 3.20886 57.9562 3.12848C57.8052 3.07593 57.4371 3.07593 57.2766 3.12848Z"),y(n,"fill","#C6C7C8"),y(a,"d","M57.4497 23.3962H0V24.7905H57.4497V23.3962Z"),y(a,"fill","#AD1548"),y(o,"d","M51.4221 26.4258C53.118 26.4474 54.0587 27.2017 54.1374 28.8217C54.1846 29.035 53.8857 28.9391 53.9203 28.8217C53.785 27.7057 53.1243 27.2296 51.7241 27.3347C49.1441 27.5294 48.3575 30.2839 47.7471 32.5809C47.2437 34.4543 46.9385 36.4916 46.671 38.4547C46.3564 40.7115 46.2872 42.792 45.9631 44.6995C45.7963 45.6393 45.466 46.4894 45.0916 47.3087C44.585 48.4216 43.9809 49.5902 42.6594 49.8529H42.263C41.4418 49.8251 41.0862 49.2347 40.7716 48.6102C40.1989 47.454 39.7522 45.7784 39.6955 44.1832C39.6735 44.0966 39.7333 43.9235 39.6609 43.8802V43.7318C39.642 43.6205 39.705 43.4289 39.6357 43.367C39.6955 43.2557 39.6011 43.0734 39.6357 42.8817C39.4533 42.452 40.0636 42.387 40.007 42.7642C40.2052 44.7118 40.4035 46.5698 41.1775 48.063C41.3851 48.4556 41.769 49.111 42.263 49.1203C42.801 49.1357 43.1597 48.4401 43.3673 48.0012C44.0973 46.4647 44.4308 44.6407 44.5378 42.5509C44.6102 42.5076 44.5504 42.3407 44.5724 42.2479C44.5913 42.0624 44.6165 41.7378 44.5976 41.5493C44.6668 41.5122 44.6102 41.3359 44.629 41.2463C44.6542 40.863 44.6888 40.4951 44.6888 40.0344C44.7612 39.9819 44.7014 39.7995 44.7234 39.7006V39.546C44.7927 39.5058 44.736 39.3203 44.7486 39.2183C45.0349 34.7264 45.7932 30.4385 48.1089 27.8571C48.2537 27.7366 48.3921 27.6067 48.5148 27.4614C49.1315 26.9853 49.7954 26.5618 50.7865 26.4598C50.9879 26.4443 51.2647 26.5 51.4095 26.432"),y(o,"fill","#C6C7C8"),y(d,"d","M42.6317 1.06042C41.005 1.215 40.1146 2.0837 39.1172 2.85347C40.3097 1.44067 41.9961 0.0804254 44.4786 0.0031386C47.1027 -0.0803311 48.7545 1.39739 50.2176 2.61234C50.4221 2.83802 50.6424 3.05133 50.8658 3.24609C51.5422 3.8582 52.0016 4.67744 53.0588 4.91239C53.0871 4.95877 53.3294 4.95877 53.3671 4.91239C53.6157 4.90003 53.0934 5.07006 52.9958 5.09479C52.527 5.237 51.8663 5.28955 51.4227 5.24627C50.5102 5.15353 49.9093 4.73309 49.2328 4.24773C48.6224 3.80565 48.0057 3.35738 47.4142 2.91221C46.1399 1.96622 44.9285 1.00168 42.94 1.03569C42.8488 1.05115 42.682 0.998592 42.6348 1.06042"),y(d,"fill","#C6C7C8"),y(e,"xmlns","http://www.w3.org/2000/svg"),y(e,"class",r[1]),y(e,"width","69"),y(e,"height","51"),y(e,"viewBox","0 0 69 51"),y(e,"fill","none")},m(c,f){N(c,e,f),k(e,t),k(t,s),k(t,i),k(t,l),k(t,n),k(t,a),k(t,o),k(t,d)},p(c,f){f&2&&y(e,"class",c[1])},d(c){c&&$(e)}}}function jf(r){let e;function t(l,n){return l[0]==="DGZ"?Bf:Nf}let s=t(r),i=s(r);return{c(){i.c(),e=J()},l(l){i.l(l),e=J()},m(l,n){i.m(l,n),N(l,e,n)},p(l,[n]){s===(s=t(l))&&i?i.p(l,n):(i.d(1),i=s(l),i&&(i.c(),i.m(e.parentNode,e)))},i:se,o:se,d(l){l&&$(e),i.d(l)}}}function Gf(r,e,t){let{brand:s=Nl}=e,{class:i=""}=e;return r.$$set=l=>{"brand"in l&&t(0,s=l.brand),"class"in l&&t(1,i=l.class)},[s,i]}class kn extends oe{constructor(e){super(),ce(this,e,Gf,jf,le,{brand:0,class:1})}get brand(){return this.$$.ctx[0]}set brand(e){this.$$set({brand:e}),Z()}get class(){return this.$$.ctx[1]}set class(e){this.$$set({class:e}),Z()}}ae(kn,{brand:{},class:{}},[],[],!0);const ys=(r,e)=>{e||(e={slidesPerView:1,speed:600,autoplay:!1,loop:!0,spaceBetween:20}),Object.assign(r,e),r.initialize()};function pr(r,e,t){const s=r.slice();return s[4]=e[t],s[6]=t,s}function hr(r){let e,t,s,i,l;return s=new kn({props:{brand:r[4],class:"h-[50px] w-auto mx-auto max-w-fit"}}),{c(){e=L("swiper-slide"),t=L("a"),Q(s.$$.fragment),i=W(),this.h()},l(n){e=z(n,"SWIPER-SLIDE",{style:!0});var a=I(e);t=z(a,"A",{href:!0,class:!0});var o=I(t);ie(s.$$.fragment,o),o.forEach($),i=U(a),a.forEach($),this.h()},h(){var n;y(t,"href",((n=r[3])==null?void 0:n[r[6]])??""),y(t,"class","flex items-center h-full"),jn(e,"height","200px")},m(n,a){N(n,e,a),k(e,t),ee(s,t,null),k(e,i),l=!0},p:se,i(n){l||(S(s.$$.fragment,n),l=!0)},o(n){O(s.$$.fragment,n),l=!1},d(n){n&&$(e),te(s)}}}function Ff(r){let e,t,s,i,l,n=re(r[2]),a=[];for(let d=0;d<n.length;d+=1)a[d]=hr(pr(r,n,d));const o=d=>O(a[d],1,1,()=>{a[d]=null});return{c(){e=L("div"),t=L("swiper-container");for(let d=0;d<a.length;d+=1)a[d].c();this.h()},l(d){e=z(d,"DIV",{class:!0});var c=I(e);t=z(c,"SWIPER-CONTAINER",{init:!0});var f=I(t);for(let u=0;u<a.length;u+=1)a[u].l(f);f.forEach($),c.forEach($),this.h()},h(){De(t,"init",!1),y(e,"class",r[0])},m(d,c){N(d,e,c),k(e,t);for(let f=0;f<a.length;f+=1)a[f]&&a[f].m(t,null);s=!0,i||(l=Ee(ys.call(null,t,r[1])),i=!0)},p(d,[c]){if(c&12){n=re(d[2]);let f;for(f=0;f<n.length;f+=1){const u=pr(d,n,f);a[f]?(a[f].p(u,c),S(a[f],1)):(a[f]=hr(u),a[f].c(),S(a[f],1),a[f].m(t,null))}for(fe(),f=n.length;f<a.length;f+=1)o(f);de()}(!s||c&1)&&y(e,"class",d[0])},i(d){if(!s){for(let c=0;c<n.length;c+=1)S(a[c]);s=!0}},o(d){a=a.filter(Boolean);for(let c=0;c<a.length;c+=1)O(a[c]);s=!1},d(d){d&&$(e),ye(a,d),i=!1,l()}}}function qf(r,e,t){let{class:s=""}=e;const i={slidesPerView:1,speed:600,autoplay:{delay:4e3},loop:!0,autoHeight:!0,spaceBetween:20};let l=["DGZ","DGPZM","DGET","DGR2Z"],n=[Fl,jl,Rl,Gl];return r.$$set=a=>{"class"in a&&t(0,s=a.class)},[s,i,l,n]}class Sn extends oe{constructor(e){super(),ce(this,e,qf,Ff,le,{class:0})}get class(){return this.$$.ctx[0]}set class(e){this.$$set({class:e}),Z()}}ae(Sn,{class:{}},[],[],!0);function xn(r){const e=He(!1),t=He(!1),s=He({stories:[]}),i=ft([s,e,t],([n,a,o])=>({data:n,loading:a,error:o}));async function l(){e.set(!0),t.set(!1);try{const n=await fetch(r);s.set(await n.json())}catch{t.set(!0)}e.set(!1)}return l(),{...i,get:l}}const Yf=xn("/api/content?&content_type=event&sort_by=content.date:asc&per_page=4&excluding_fields=image,description/?filter_query[content.date][gt_date]=2019-12-24 09:00"),Xf=xn("/api/content?content_type=news&sort_by=content.onlineDate:desc&per_page=4&excluding_fields=body,intro,previewImage");function mr(r,e,t){const s=r.slice();return s[1]=e[t],s}function gr(r){let e,t,s,i=re(r[0].data.stories),l=[];for(let n=0;n<i.length;n+=1)l[n]=vr(mr(r,i,n));return{c(){e=L("swiper-container");for(let n=0;n<l.length;n+=1)l[n].c();this.h()},l(n){e=z(n,"SWIPER-CONTAINER",{class:!0,pagination:!0,init:!0});var a=I(e);for(let o=0;o<l.length;o+=1)l[o].l(a);a.forEach($),this.h()},h(){De(e,"class","h-full"),De(e,"pagination",{el:".swiper-pagination-news",clickable:!0}),De(e,"init",!1)},m(n,a){N(n,e,a);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null);t||(s=Ee(ys.call(null,e)),t=!0)},p(n,a){if(a&1){i=re(n[0].data.stories);let o;for(o=0;o<i.length;o+=1){const d=mr(n,i,o);l[o]?l[o].p(d,a):(l[o]=vr(d),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=i.length}},d(n){n&&$(e),ye(l,n),t=!1,s()}}}function vr(r){let e,t,s,i=(r[1].name.length>100?r[1].name.substring(0,100)+"...":r[1].name)+"",l,n,a;return{c(){e=L("swiper-slide"),t=L("div"),s=L("a"),l=ue(i),a=W(),this.h()},l(o){e=z(o,"SWIPER-SLIDE",{});var d=I(e);t=z(d,"DIV",{class:!0});var c=I(t);s=z(c,"A",{href:!0,class:!0});var f=I(s);l=pe(f,i),f.forEach($),c.forEach($),a=U(d),d.forEach($),this.h()},h(){y(s,"href",n="/"+r[1].full_slug),y(s,"class","font-bold"),y(t,"class","h-full flex flex-col justify-end")},m(o,d){N(o,e,d),k(e,t),k(t,s),k(s,l),k(e,a)},p(o,d){d&1&&i!==(i=(o[1].name.length>100?o[1].name.substring(0,100)+"...":o[1].name)+"")&&me(l,i),d&1&&n!==(n="/"+o[1].full_slug)&&y(s,"href",n)},d(o){o&&$(e)}}}function Wf(r){var a,o,d;let e,t,s='<h4 class="font-bold font-extended">Aktuelles</h4> <div class="swiper-pagination-news custom-pagination"></div>',i,l,n=!r[0].loading&&!r[0].error&&((d=(o=(a=r[0])==null?void 0:a.data)==null?void 0:o.stories)==null?void 0:d.length)>0&&gr(r);return{c(){e=L("div"),t=L("div"),t.innerHTML=s,i=W(),l=L("div"),n&&n.c(),this.h()},l(c){e=z(c,"DIV",{class:!0});var f=I(e);t=z(f,"DIV",{class:!0,"data-svelte-h":!0}),Me(t)!=="svelte-s866cp"&&(t.innerHTML=s),i=U(f),l=z(f,"DIV",{class:!0});var u=I(l);n&&n.l(u),u.forEach($),f.forEach($),this.h()},h(){y(t,"class","flex justify-between"),y(l,"class","h-full w-full"),y(e,"class","p-9 relative h-full flex flex-col justify-between event")},m(c,f){N(c,e,f),k(e,t),k(e,i),k(e,l),n&&n.m(l,null)},p(c,[f]){var u,p,h;!c[0].loading&&!c[0].error&&((h=(p=(u=c[0])==null?void 0:u.data)==null?void 0:p.stories)==null?void 0:h.length)>0?n?n.p(c,f):(n=gr(c),n.c(),n.m(l,null)):n&&(n.d(1),n=null)},i:se,o:se,d(c){c&&$(e),n&&n.d()}}}function Uf(r,e,t){let s;return Ge(r,Xf,i=>t(0,s=i)),[s]}class Tn extends oe{constructor(e){super(),ce(this,e,Uf,Wf,le,{})}}ae(Tn,{},[],[],!0);function wr(r){let e,t=r[2](r[0],"year")+"",s;return{c(){e=L("span"),s=ue(t),this.h()},l(i){e=z(i,"SPAN",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","block")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[2](i[0],"year")+"")&&me(s,t)},d(i){i&&$(e)}}}function Zf(r){let e,t,s,i=r[2](r[0],"month")+"",l,n,a,o,d,c=r[2](r[0],"day")+"",f,u,p=r[1]!=="xs"&&wr(r);return{c(){e=L("div"),t=L("div"),s=L("span"),l=ue(i),n=W(),p&&p.c(),o=W(),d=L("div"),f=ue(c),this.h()},l(h){e=z(h,"DIV",{class:!0});var g=I(e);t=z(g,"DIV",{class:!0});var v=I(t);s=z(v,"SPAN",{class:!0});var m=I(s);l=pe(m,i),m.forEach($),n=U(v),p&&p.l(v),v.forEach($),o=U(g),d=z(g,"DIV",{class:!0});var w=I(d);f=pe(w,c),w.forEach($),g.forEach($),this.h()},h(){y(s,"class","block"),y(t,"class",a="border-b border-white "+(r[1]==="xs"?"text-xs tracking-wide py-2 px-2":"py-2 px-4")),y(d,"class",u=(r[1]==="xs"?"text-xs tracking-widest py-2 px-2":(r[0].content.dateEnd?"text-xl":"text-2xl")+"py-2 px-4")+" font-extrabold"),y(e,"class","rounded-[10px] border border-white text-white text-center uppercase flex flex-col w-fit")},m(h,g){N(h,e,g),k(e,t),k(t,s),k(s,l),k(t,n),p&&p.m(t,null),k(e,o),k(e,d),k(d,f)},p(h,[g]){g&1&&i!==(i=h[2](h[0],"month")+"")&&me(l,i),h[1]!=="xs"?p?p.p(h,g):(p=wr(h),p.c(),p.m(t,null)):p&&(p.d(1),p=null),g&2&&a!==(a="border-b border-white "+(h[1]==="xs"?"text-xs tracking-wide py-2 px-2":"py-2 px-4"))&&y(t,"class",a),g&1&&c!==(c=h[2](h[0],"day")+"")&&me(f,c),g&3&&u!==(u=(h[1]==="xs"?"text-xs tracking-widest py-2 px-2":(h[0].content.dateEnd?"text-xl":"text-2xl")+"py-2 px-4")+" font-extrabold")&&y(d,"class",u)},i:se,o:se,d(h){h&&$(e),p&&p.d()}}}function Kf(r,e,t){let{event:s}=e,{size:i="base"}=e;const l=(a,o)=>{var d,c,f;return a.content.dateEnd&&o==="day"?`${n(new Date((d=a.content.date)==null?void 0:d.replace(" ","T")),o)}-${n(new Date((c=a.content.dateEnd)==null?void 0:c.replace(" ","T")),o)}`:`${n(new Date((f=a.content.date)==null?void 0:f.replace(" ","T")),o)}`},n=(a,o)=>{try{if(isNaN(a.getTime()))throw new Error("Invalid Date");switch(o){case"day":return new Intl.DateTimeFormat("de-DE",{day:"2-digit"}).format(a);case"month":return new Intl.DateTimeFormat("de-DE",{month:"short"}).format(a);case"year":return new Intl.DateTimeFormat("de-DE",{year:"numeric"}).format(a)}}catch(d){return console.error(d),""}};return r.$$set=a=>{"event"in a&&t(0,s=a.event),"size"in a&&t(1,i=a.size)},[s,i,l]}class Cn extends oe{constructor(e){super(),ce(this,e,Kf,Zf,le,{event:0,size:1})}get event(){return this.$$.ctx[0]}set event(e){this.$$set({event:e}),Z()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),Z()}}ae(Cn,{event:{},size:{}},[],[],!0);function br(r,e,t){const s=r.slice();return s[1]=e[t],s}function _r(r){var o,d;let e,t,s,i,l=re((d=(o=r[0])==null?void 0:o.data)==null?void 0:d.stories),n=[];for(let c=0;c<l.length;c+=1)n[c]=yr(br(r,l,c));const a=c=>O(n[c],1,1,()=>{n[c]=null});return{c(){e=L("swiper-container");for(let c=0;c<n.length;c+=1)n[c].c();this.h()},l(c){e=z(c,"SWIPER-CONTAINER",{class:!0,pagination:!0,init:!0});var f=I(e);for(let u=0;u<n.length;u+=1)n[u].l(f);f.forEach($),this.h()},h(){De(e,"class","h-full"),De(e,"pagination",{el:".swiper-pagination",clickable:!0}),De(e,"init",!1)},m(c,f){N(c,e,f);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(e,null);t=!0,s||(i=Ee(ys.call(null,e)),s=!0)},p(c,f){var u,p;if(f&1){l=re((p=(u=c[0])==null?void 0:u.data)==null?void 0:p.stories);let h;for(h=0;h<l.length;h+=1){const g=br(c,l,h);n[h]?(n[h].p(g,f),S(n[h],1)):(n[h]=yr(g),n[h].c(),S(n[h],1),n[h].m(e,null))}for(fe(),h=l.length;h<n.length;h+=1)a(h);de()}},i(c){if(!t){for(let f=0;f<l.length;f+=1)S(n[f]);t=!0}},o(c){n=n.filter(Boolean);for(let f=0;f<n.length;f+=1)O(n[f]);t=!1},d(c){c&&$(e),ye(n,c),s=!1,i()}}}function yr(r){let e,t,s,i,l,n=r[1].content.title+"",a,o,d,c;return s=new Cn({props:{event:r[1]}}),{c(){e=L("swiper-slide"),t=L("a"),Q(s.$$.fragment),i=W(),l=L("p"),a=ue(n),d=W(),this.h()},l(f){e=z(f,"SWIPER-SLIDE",{class:!0});var u=I(e);t=z(u,"A",{href:!0});var p=I(t);ie(s.$$.fragment,p),i=U(p),l=z(p,"P",{class:!0});var h=I(l);a=pe(h,n),h.forEach($),p.forEach($),d=U(u),u.forEach($),this.h()},h(){y(l,"class","text-white text-xl sm:text-2xl font-extrabold font-['PPMonumentExtended'] max-w-[30ch] mt-5 hyphens-auto"),y(t,"href",o="/"+r[1].full_slug),De(e,"class","h-full flex flex-col justify-end")},m(f,u){N(f,e,u),k(e,t),ee(s,t,null),k(t,i),k(t,l),k(l,a),k(e,d),c=!0},p(f,u){const p={};u&1&&(p.event=f[1]),s.$set(p),(!c||u&1)&&n!==(n=f[1].content.title+"")&&me(a,n),(!c||u&1&&o!==(o="/"+f[1].full_slug))&&y(t,"href",o)},i(f){c||(S(s.$$.fragment,f),c=!0)},o(f){O(s.$$.fragment,f),c=!1},d(f){f&&$(e),te(s)}}}function Jf(r){var o,d,c;let e,t,s='<h4 class="font-bold text-white font-extended">Veranstaltung</h4> <div class="swiper-pagination custom-pagination"></div>',i,l,n,a=!r[0].loading&&!r[0].error&&((c=(d=(o=r[0])==null?void 0:o.data)==null?void 0:d.stories)==null?void 0:c.length)>0&&_r(r);return{c(){e=L("div"),t=L("div"),t.innerHTML=s,i=W(),l=L("div"),a&&a.c(),this.h()},l(f){e=z(f,"DIV",{class:!0});var u=I(e);t=z(u,"DIV",{class:!0,"data-svelte-h":!0}),Me(t)!=="svelte-1ycxqdi"&&(t.innerHTML=s),i=U(u),l=z(u,"DIV",{class:!0});var p=I(l);a&&a.l(p),p.forEach($),u.forEach($),this.h()},h(){y(t,"class","flex justify-between"),y(l,"class","mt-10 flex-1"),y(e,"class","h-full flex flex-col relative event")},m(f,u){N(f,e,u),k(e,t),k(e,i),k(e,l),a&&a.m(l,null),n=!0},p(f,[u]){var p,h,g;!f[0].loading&&!f[0].error&&((g=(h=(p=f[0])==null?void 0:p.data)==null?void 0:h.stories)==null?void 0:g.length)>0?a?(a.p(f,u),u&1&&S(a,1)):(a=_r(f),a.c(),S(a,1),a.m(l,null)):a&&(fe(),O(a,1,1,()=>{a=null}),de())},i(f){n||(S(a),n=!0)},o(f){O(a),n=!1},d(f){f&&$(e),a&&a.d()}}}function Qf(r,e,t){let s;return Ge(r,Yf,i=>t(0,s=i)),[s]}class Mn extends oe{constructor(e){super(),ce(this,e,Qf,Jf,le,{})}}ae(Mn,{},[],[],!0);function eu(){const{subscribe:r,set:e,update:t}=He(!1);return{subscribe:r,set:e,update:t,toggle:()=>t(s=>!s),reset:()=>e(!1)}}const tu=eu();function $r(r){let e,t;return{c(){e=L("img"),this.h()},l(s){e=z(s,"IMG",{src:!0,alt:!0}),this.h()},h(){var s,i;Je(e.src,t=((i=(s=r[0])==null?void 0:s.image)==null?void 0:i.filename)+"/m/1000x0?:format(webp)")||y(e,"src",t),y(e,"alt","")},m(s,i){N(s,e,i)},p(s,i){var l,n;i&1&&!Je(e.src,t=((n=(l=s[0])==null?void 0:l.image)==null?void 0:n.filename)+"/m/1000x0?:format(webp)")&&y(e,"src",t)},d(s){s&&$(e)}}}function su(r){var G,Y;let e,t,s,i,l,n,a,o,d,c,f,u,p,h,g,v,m,w="Mitgliedschaft",b,_,E,C="Beantragen",H,T,x="Login",P,B,A,D;s=new Tn({}),a=new Rt({props:{class:" -rotate-90 text-secondary w-5"}}),d=new Sn({props:{class:"col-span-6 lg:col-span-2 lg:row-start-2 lg:col-start-5 bg-[#EFEFEF] rounded-[40px]"}});let V=((Y=(G=r[0])==null?void 0:G.image)==null?void 0:Y.filename)&&$r(r);return h=new Mn({}),{c(){e=L("div"),t=L("div"),Q(s.$$.fragment),i=W(),l=L("div"),n=L("a"),Q(a.$$.fragment),o=W(),Q(d.$$.fragment),c=W(),f=L("div"),V&&V.c(),u=W(),p=L("div"),Q(h.$$.fragment),g=W(),v=L("div"),m=L("h4"),m.textContent=w,b=W(),_=L("div"),E=L("a"),E.textContent=C,H=W(),T=L("button"),T.textContent=x,this.h()},l(M){e=z(M,"DIV",{class:!0});var R=I(e);t=z(R,"DIV",{class:!0});var F=I(t);ie(s.$$.fragment,F),F.forEach($),i=U(R),l=z(R,"DIV",{class:!0});var ne=I(l);n=z(ne,"A",{href:!0});var j=I(n);ie(a.$$.fragment,j),j.forEach($),ne.forEach($),o=U(R),ie(d.$$.fragment,R),c=U(R),f=z(R,"DIV",{class:!0});var q=I(f);V&&V.l(q),q.forEach($),u=U(R),p=z(R,"DIV",{id:!0,class:!0});var X=I(p);ie(h.$$.fragment,X),X.forEach($),g=U(R),v=z(R,"DIV",{id:!0,class:!0});var ge=I(v);m=z(ge,"H4",{class:!0,"data-svelte-h":!0}),Me(m)!=="svelte-3oys3u"&&(m.textContent=w),b=U(ge),_=z(ge,"DIV",{class:!0});var K=I(_);E=z(K,"A",{class:!0,href:!0,"data-svelte-h":!0}),Me(E)!=="svelte-2fi8ve"&&(E.textContent=C),H=U(K),T=z(K,"BUTTON",{class:!0,"data-svelte-h":!0}),Me(T)!=="svelte-1yvoxkz"&&(T.textContent=x),K.forEach($),ge.forEach($),R.forEach($),this.h()},h(){y(t,"class","col-span-12 lg:col-span-4 xl:col-span-3 bg-tertiary text-white rounded-[40px] min-h-[200px]"),y(n,"href","#events"),y(l,"class","col-span-6 lg:col-span-2 lg:row-start-2 lg:col-start-3 bg-[#EFEFEF] flex justify-center items-center rounded-[40px] p-9 min-h-[200px]"),y(f,"class","col-span-12 lg:col-span-6 lg:row-start-3 bg-[#EFEFEF] flex justify-center items-center rounded-[40px] overflow-hidden object-cover max-h-[200px]"),y(p,"id","events"),y(p,"class","col-span-12 lg:col-span-6 lg:lg:row-start-3 lg:row-span-2 bg-primary flex flex-col justify-between rounded-[40px] p-9"),y(m,"class","font-bold text-white font-extended"),y(E,"class","text-white font-bold hover:bg-white/20 px-5 py-1.5 rounded-full border-2 w-fit"),y(E,"href","https://a.storyblok.com/f/262769/x/2b75929838/01-dgz-mitglieds-aenderungsantrag_5.pdf"),y(T,"class","text-white font-bold hover:bg-white/20 px-5 py-1.5 rounded-full border-2 w-fit"),y(_,"class","flex gap-4"),y(v,"id","membership"),y(v,"class","col-span-12 lg:col-span-6 xl:col-span-3 lg:row-start-4 bg-tertiary flex flex-col justify-between rounded-[40px] min-h-[300px] p-9"),y(e,"class","mx-typeArea grid grid-cols-12 auto-rows-auto gap-4 mb-24")},m(M,R){N(M,e,R),k(e,t),ee(s,t,null),k(e,i),k(e,l),k(l,n),ee(a,n,null),k(e,o),ee(d,e,null),k(e,c),k(e,f),V&&V.m(f,null),k(e,u),k(e,p),ee(h,p,null),k(e,g),k(e,v),k(v,m),k(v,b),k(v,_),k(_,E),k(_,H),k(_,T),B=!0,A||(D=[Xe(T,"click",r[1]),Ee(P=Se.call(null,e,r[0]))],A=!0)},p(M,[R]){var F,ne;(ne=(F=M[0])==null?void 0:F.image)!=null&&ne.filename?V?V.p(M,R):(V=$r(M),V.c(),V.m(f,null)):V&&(V.d(1),V=null),P&&ke(P.update)&&R&1&&P.update.call(null,M[0])},i(M){B||(S(s.$$.fragment,M),S(a.$$.fragment,M),S(d.$$.fragment,M),S(h.$$.fragment,M),B=!0)},o(M){O(s.$$.fragment,M),O(a.$$.fragment,M),O(d.$$.fragment,M),O(h.$$.fragment,M),B=!1},d(M){M&&$(e),te(s),te(a),te(d),V&&V.d(),te(h),A=!1,Nt(D)}}}function iu(r,e,t){let{blok:s}=e;const i=()=>{tu.set(!0)};return r.$$set=l=>{"blok"in l&&t(0,s=l.blok)},[s,i]}class In extends oe{constructor(e){super(),ce(this,e,iu,su,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(In,{blok:{}},[],[],!0);function Er(r,e,t){const s=r.slice();return s[1]=e[t],s}function kr(r,e,t){const s=r.slice();return s[4]=e[t],s}function Sr(r,e,t){const s=r.slice();return s[7]=e[t],s}function xr(r){let e,t,s,i,l,n=re(r[0].tableContent.thead),a=[];for(let c=0;c<n.length;c+=1)a[c]=Tr(Sr(r,n,c));let o=re(r[0].tableContent.tbody),d=[];for(let c=0;c<o.length;c+=1)d[c]=Mr(Er(r,o,c));return{c(){e=L("table"),t=L("thead"),s=L("tr");for(let c=0;c<a.length;c+=1)a[c].c();i=W(),l=L("tbody");for(let c=0;c<d.length;c+=1)d[c].c();this.h()},l(c){e=z(c,"TABLE",{});var f=I(e);t=z(f,"THEAD",{});var u=I(t);s=z(u,"TR",{class:!0});var p=I(s);for(let g=0;g<a.length;g+=1)a[g].l(p);p.forEach($),u.forEach($),i=U(f),l=z(f,"TBODY",{class:!0});var h=I(l);for(let g=0;g<d.length;g+=1)d[g].l(h);h.forEach($),f.forEach($),this.h()},h(){y(s,"class","border-b"),y(l,"class","divide-y")},m(c,f){N(c,e,f),k(e,t),k(t,s);for(let u=0;u<a.length;u+=1)a[u]&&a[u].m(s,null);k(e,i),k(e,l);for(let u=0;u<d.length;u+=1)d[u]&&d[u].m(l,null)},p(c,f){if(f&1){n=re(c[0].tableContent.thead);let u;for(u=0;u<n.length;u+=1){const p=Sr(c,n,u);a[u]?a[u].p(p,f):(a[u]=Tr(p),a[u].c(),a[u].m(s,null))}for(;u<a.length;u+=1)a[u].d(1);a.length=n.length}if(f&1){o=re(c[0].tableContent.tbody);let u;for(u=0;u<o.length;u+=1){const p=Er(c,o,u);d[u]?d[u].p(p,f):(d[u]=Mr(p),d[u].c(),d[u].m(l,null))}for(;u<d.length;u+=1)d[u].d(1);d.length=o.length}},d(c){c&&$(e),ye(a,c),ye(d,c)}}}function Tr(r){let e,t=r[7].value+"",s;return{c(){e=L("th"),s=ue(t),this.h()},l(i){e=z(i,"TH",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","text-left text-secondary p-2")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[7].value+"")&&me(s,t)},d(i){i&&$(e)}}}function Cr(r){let e,t=r[4].value+"",s;return{c(){e=L("td"),s=ue(t),this.h()},l(i){e=z(i,"TD",{class:!0});var l=I(e);s=pe(l,t),l.forEach($),this.h()},h(){y(e,"class","text-left text-secondary p-2")},m(i,l){N(i,e,l),k(e,s)},p(i,l){l&1&&t!==(t=i[4].value+"")&&me(s,t)},d(i){i&&$(e)}}}function Mr(r){let e,t,s=re(r[1].body),i=[];for(let l=0;l<s.length;l+=1)i[l]=Cr(kr(r,s,l));return{c(){e=L("tr");for(let l=0;l<i.length;l+=1)i[l].c();t=W(),this.h()},l(l){e=z(l,"TR",{class:!0});var n=I(e);for(let a=0;a<i.length;a+=1)i[a].l(n);t=U(n),n.forEach($),this.h()},h(){y(e,"class","")},m(l,n){N(l,e,n);for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(e,null);k(e,t)},p(l,n){if(n&1){s=re(l[1].body);let a;for(a=0;a<s.length;a+=1){const o=kr(l,s,a);i[a]?i[a].p(o,n):(i[a]=Cr(o),i[a].c(),i[a].m(e,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=s.length}},d(l){l&&$(e),ye(i,l)}}}function ru(r){var s;let e,t=((s=r[0])==null?void 0:s.tableContent)&&xr(r);return{c(){t&&t.c(),e=J()},l(i){t&&t.l(i),e=J()},m(i,l){t&&t.m(i,l),N(i,e,l)},p(i,[l]){var n;(n=i[0])!=null&&n.tableContent?t?t.p(i,l):(t=xr(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:se,o:se,d(i){i&&$(e),t&&t.d(i)}}}function nu(r,e,t){let{blok:s}=e;return r.$$set=i=>{"blok"in i&&t(0,s=i.blok)},[s]}class Pn extends oe{constructor(e){super(),ce(this,e,nu,ru,le,{blok:0})}get blok(){return this.$$.ctx[0]}set blok(e){this.$$set({blok:e}),Z()}}ae(Pn,{blok:{}},[],[],!0);const Ae={page:Nr,news:Br,pageIntro:gs,boardMember:Gr,boardOverview:Fr,event:qr,events:Zr,gallery:an,section:on,text:cn,topicSection:dn,dropdown_menu:fn,submenu:un,navigation_item:pn,text_with_image:hn,news_overview:mn,downloadSection:vn,leitlinien:bn,externalLinkSection:yn,imageSection:$n,homeHero:En,homeGrid:In,table:Pn},Ln=new Map;Ln.set("settings/footer",{resolve_links:"url"});const gu={sitemap:!1,customSlug:"settings/menu",extraQueries:Ln},vu={sitemap:!0,storyblokOptions:{resolve_relations:["topics.ref","topicSection.topics","topics.topics"],resolve_links:"story"}};export{Cn as D,kn as L,Nl as P,yt as R,Ne as S,gu as a,Fl as b,Ae as c,jl as d,re as e,Gl as f,Rl as g,hu as h,$i as i,tu as j,Yf as k,uu as l,ys as m,Xf as n,Ct as o,vu as p,ot as q,Bd as r,La as s,Da as t};