1import{s as xe,c as he,n as ie,i as Fr,o as ir,b as zr,r as wn,j as _n}from"../chunks/scheduler.b4c21be7.js";import{S as Ve,i as Pe,g as R,s as j,h as D,j as B,x as se,c as $,f as k,k as w,a as le,z as T,y as tt,A as Vt,B as yn,m as An,n as Tn,D as Sn,r as He,E as In,u as Fe,v as ze,d as Ge,t as Be,w as We}from"../chunks/index.0a439074.js";import{w as Gr}from"../chunks/index.b18443fd.js";import{s as Ln}from"../chunks/scrollIntoView.5fb80adb.js";function _r(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}const Cn=""+new URL("../assets/UnleashAncientArtifacts.79de9408.webm",import.meta.url).href,Nn=""+new URL("../assets/DelveBeneathTheSurface.82bb5c51.webm",import.meta.url).href,Rn=""+new URL("../assets/BuildYourShrine.a40962e3.webm",import.meta.url).href,Dn=""+new URL("../assets/General.28958859.webm",import.meta.url).href;function On(e){let t,r,n,i,l,a=`<h2 class="svelte-1biut9m">The Red Star Returns</h2> <p class="svelte-1biut9m">A new age dawns in a starlit world. Emerging from its cocoon, the Simulacrum is driven to collect Ichor, the blood of the gods, 2 from the monstrosities who hoard it.</p> <p class="svelte-1biut9m">Voidwrought is a fast-paced action-platformer with tight traversal, varied abilities, and formidable boss battles. 3 Find and equip powerful Artifacts to customize your playstyle. Excavate into the rubble of the Gray City to construct a shrine filled with loyal followers.</p>`,o,s,f,u,d,g,m,v,h=`<h2 class="svelte-1biut9m">Delve Beneath the Surface</h2> <p class="svelte-1biut9m">Descend below the star-scorched surface and explore the multidimensional depths below. Witness the corrupted revelry of the Court, 4 lose yourself in the icy tunnels of the Old Waters, and discover the grim fate of the Abandoned Expedition.</p> <p class="svelte-1biut9m">With sharp controls, engaging exploration, and deep lore to discover, Voidwrought is a dynamic addition to the modern Metroidvania genre.</p>`,_,b,c,p,x,O,V,E,I=`<h2 class="svelte-1biut9m">Unleash Ancient Artifacts</h2> <p class="svelte-1biut9m">The world is filled with treasures sought by the learned, the brave, and the mad. Scour the halls of your shrine, 5 rend the corpses of defeated deities, and hunt in the hidden corners of the cosmos to find Artifacts capable of granting unique powers.</p> <p class="svelte-1biut9m">Discover and equip over 30 Artifacts, from spectral weapons to passive buffs, to match your preferred playstyle.</p>`,P,A,y,C,N,U,F,X,J=`<h2 class="svelte-1biut9m">Build your Shrine</h2> <p class="svelte-1biut9m">Some still cling to the original faith. From a tiny cult, 6 expand your influence and excavate further into the ruins. As you expand your shrine and followers, new secrets, rewards, and horrors come to light.</p>`,G,H,S,z,K,ee,re='<a href="https://store.steampowered.com/app/2014550/Voidwrought/?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-1biut9m">BUY ON STEAM</a> <a href="https://store.epicgames.com/en-US/p/voidwrought-ce8f4b?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-1biut9m">BUY ON EPIC</a> <a href="https://www.nintendo.com/en-gb/Games/Nintendo-Switch-download-software/Voidwrought-2664557.html" target="_blank" class="wishlist svelte-1biut9m">BUY ON NINTENDO</a>';return{c(){t=R("div"),r=R("div"),n=R("div"),i=R("div"),l=R("div"),l.innerHTML=a,o=j(),s=R("div"),f=R("video"),d=j(),g=R("div"),m=R("div"),v=R("div"),v.innerHTML=h,_=j(),b=R("div"),c=R("video"),x=j(),O=R("div"),V=R("div"),E=R("div"),E.innerHTML=I,P=j(),A=R("div"),y=R("video"),N=j(),U=R("div"),F=R("div"),X=R("div"),X.innerHTML=J,G=j(),H=R("div"),S=R("video"),K=j(),ee=R("div"),ee.innerHTML=re,this.h()},l(ce){t=D(ce,"DIV",{id:!0,class:!0});var L=B(t);r=D(L,"DIV",{class:!0});var Y=B(r);n=D(Y,"DIV",{class:!0});var oe=B(n);i=D(oe,"DIV",{class:!0});var Q=B(i);l=D(Q,"DIV",{class:!0,["data-svelte-h"]:!0}),se(l)!=="svelte-ztqa1c"&&(l.innerHTML=a),o=$(Q),s=D(Q,"DIV",{class:!0});var ae=B(s);f=D(ae,"VIDEO",{src:!0,class:!0}),B(f).forEach(k),ae.forEach(k),Q.forEach(k),oe.forEach(k),d=$(Y),g=D(Y,"DIV",{class:!0});var It=B(g);m=D(It,"DIV",{class:!0});var Ue=B(m);v=D(Ue,"DIV",{class:!0,["data-svelte-h"]:!0}),se(v)!=="svelte-etgk7x"&&(v.innerHTML=h),_=$(Ue),b=D(Ue,"DIV",{class:!0});var M=B(b);c=D(M,"VIDEO",{src:!0,class:!0}
6),B(c).forEach(k),M.forEach(k),Ue.forEach(k),It.forEach(k),x=$(Y),O=D(Y,"DIV",{class:!0});var q=B(O);V=D(q,"DIV",{class:!0});var fe=B(V);E=D(fe,"DIV",{class:!0,["data-svelte-h"]:!0}),se(E)!=="svelte-1f6af0"&&(E.innerHTML=I),P=$(fe),A=D(fe,"DIV",{class:!0});var Ce=B(A);y=D(Ce,"VIDEO",{src:!0,class:!0}),B(y).forEach(k),Ce.forEach(k),fe.forEach(k),q.forEach(k),N=$(Y),U=D(Y,"DIV",{class:!0});var Lt=B(U);F=D(Lt,"DIV",{class:!0});var Ct=B(F);X=D(Ct,"DIV",{class:!0,["data-svelte-h"]:!0}),se(X)!=="svelte-i0w6b1"&&(X.innerHTML=J),G=$(Ct),H=D(Ct,"DIV",{class:!0});var wr=B(H);S=D(wr,"VIDEO",{src:!0,class:!0}),B(S).forEach(k),wr.forEach(k),Ct.forEach(k),Lt.forEach(k),Y.forEach(k),K=$(L),ee=D(L,"DIV",{class:!0,["data-svelte-h"]:!0}),se(ee)!=="svelte-hgdz8t"&&(ee.innerHTML=re),L.forEach(k),this.h()},h(){w(l,"class","description svelte-1biut9m"),he(f.src,u=Dn)||w(f,"src",u),f.autoplay=!0,f.loop=!0,f.muted=!0,w(f,"class","svelte-1biut9m"),w(s,"class","animation svelte-1biut9m"),w(i,"class","content svelte-1biut9m"),w(n,"class","flip svelte-1biut9m"),w(v,"class","description svelte-1biut9m"),he(c.src,p=Nn)||w(c,"src",p),c.autoplay=!0,c.loop=!0,c.muted=!0,w(c,"class","svelte-1biut9m"),w(b,"class","animation svelte-1biut9m"),w(m,"class","content svelte-1biut9m"),w(g,"class","flip svelte-1biut9m"),w(E,"class","description svelte-1biut9m"),he(y.src,C=Cn)||w(y,"src",C),y.autoplay=!0,y.loop=!0,y.muted=!0,w(y,"class","svelte-1biut9m"),w(A,"class","animation svelte-1biut9m"),w(V,"class","content svelte-1biut9m"),w(O,"class","flip svelte-1biut9m"),w(X,"class","description svelte-1biut9m"),he(S.src,z=Rn)||w(S,"src",z),S.autoplay=!0,S.loop=!0,S.muted=!0,w(S,"class","svelte-1biut9m"),w(H,"class","animation svelte-1biut9m"),w(F,"class","content svelte-1biut9m"),w(U,"class","flip svelte-1biut9m"),w(r,"class","container-div svelte-1biut9m"),w(ee,"class","wishlist svelte-1biut9m"),w(t,"id","gameplay"),w(t,"class","svelte-1biut9m")},m(ce,L){le(ce,t,L),T(t,r),T(r,n),T(n,i),T(i,l),T(i,o),T(i,s),T(s,f),T(r,d),T(r,g),T(g,m),T(m,v),T(m,_),T(m,b),T(b,c),T(r,x),T(r,O),T(O,V),T(V,E),T(V,P),T(V,A),T(A,y),T(r,N),T(r,U),T(U,F),T(F,X),T(F,G),T(F,H),T(H,S),T(t,K),T(t,ee)},p:ie,i:ie,o:ie,d(ce){ce&&k(t)}}}class xn extends Ve{constructor(t){super(),Pe(this,t,null,On,xe,{})}}const Vn=""+new URL("../assets/Enemy.b005c524.webp",import.meta.url).href;function Pn(e){let t,r,n="Follow Us On",i,l,a='<a href="https://twitter.com/VoidwroughtGame" target="_blank" class="twitter svelte-169n6o3" aria-label="Twitter"><i class="fa-brands fa-x-twitter"></i></a> <a href="https://www.instagram.com/voidwroughtgame/" target="_blank" class="instagram svelte-169n6o3" aria-label="Instagram"><i class="fa-brands fa-instagram"></i></a> <a href="https://www.facebook.com/voidwrought" target="_blank" class="facebook svelte-169n6o3" aria-label="Facebook"><i class="fa-brands fa-facebook"></i></a> <a href="https://discord.com/invite/TbaZnrXDJj" target="_blank" class="discord svelte-169n6o3" aria-label="Discord"><i class="fa-brands fa-discord"></i></a>',o,s,f;return{c(){t=R("div"),r=R("h1"),r.textContent=n,i=j(),l=R("div"),l.innerHTML=a,o=j(),s=R("img"),this.h()},l(u){t=D(u,"DIV",{class:!0});var d=B(t);r=D(d,"H1",{class:!0,["data-svelte-h"]:!0}),se(r)!=="svelte-1pu7vr8"&&(r.textContent=n),i=$(d),l=D(d,"DIV",{class:!0,["data-svelte-h"]:!0}),se(l)!=="svelte-9n3egn"&&(l.innerHTML=a),o=$(d),s=D(d,"IMG",{src:!0,alt:!0,class:!0}),d.forEach(k),this.h()},h(){w(r,"class","svelte-169n6o3"),w(l,"class","buttons"),he(s.src,f=Vn)||w(s,"src",f),w(s,"alt","Voidwrought"),w(s,"class","follow-us-on-img fade-in-image svelte-169n6o3"),tt(s,"visible",e[1]),w(t,"class","follow-us svelte-169n6o3")},m(u,d){le(u,t,d),T(t,r),T(t,i),T(t,l),T(t,o),T(t,s),e[3](s)},p(u,[d]){d&2&&tt(s,"visible",u[1])},i:ie,o:ie,d(u){u&&k(t),e[3](null)}}}function Mn(e,t,r){let n,i;const l=Gr(!1);Fr(e,l,o=>r(1,n=o)),ir(()=>{const o=new IntersectionObserver(s=>{s.forEach(f=>{f.isIntersecting?l.set(!0):l.set(!1)})},{threshold:.1});return i&&o.observe(i),()=>{i&&o.unobserve(i)}});function a(o){zr[o?"unshift":"push"](()=>{i=o,r(0,i)})}return[i,n,l,a]}class kn extends Ve{constructor(t){super(),Pe(this,t,Mn,Pn,xe,{})}}const Un=""+new URL("../assets/Mobile-character.fdde62c0.webp",import.meta.url).href,Hn=""+new URL("../assets/hero-logo.2be4c704.webp",import.meta.url).href;function Fn(e){let t,r,n,i,l,a,o,s,f="Explore the thawing ruins of the First Civilisation in this cosmic horror metroidvania.",u,d,g='<a href="https://store.steampowered.com/app/2014550/Voidwrought/?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-18bxn3y">BUY ON STEAM</a> <a href="https://store.epicgames.com/en-US/p/voidwrought-ce8f4b?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-18bxn3y">BUY ON EPIC</a> <a href="https://www.nintendo.com/en-gb/Games/Nintendo-Switch-download-software/Voidwrought-2664557.html" target="_blank" class="wishlist svelte-18bxn3y">BUY ON NINTENDO</a> <a href="https://store.playstation.com/en-gb/concept/10014658" target="_blank" class="wishlist svelte-18bxn3y">
6BUY ON PLAYSTATION</a> <a href="https://www.xbox.com/en-US/games/store/voidwrought/9P7CFJS2DD3V" target="_blank" class="wishlist svelte-18bxn3y">BUY ON XBOX</a>',m,v,h,_='<i class="fa-regular fa-circle-play"></i> <span class="svelte-18bxn3y">Watch Trailer</span>',b,c,p,x,O;return{c(){t=R("div"),r=R("div"),n=R("div"),i=R("div"),l=R("img"),o=j(),s=R("p"),s.textContent=f,u=j(),d=R("div"),d.innerHTML=g,m=j(),v=R("div"),h=R("a"),h.innerHTML=_,b=j(),c=R("img"),this.h()},l(V){t=D(V,"DIV",{id:!0,class:!0});var E=B(t);r=D(E,"DIV",{class:!0});var I=B(r);n=D(I,"DIV",{class:!0});var P=B(n);i=D(P,"DIV",{class:!0});var A=B(i);l=D(A,"IMG",{src:!0,alt:!0,class:!0}),o=$(A),s=D(A,"P",{class:!0,["data-svelte-h"]:!0}),se(s)!=="svelte-4nn716"&&(s.textContent=f),u=$(A),d=D(A,"DIV",{class:!0,["data-svelte-h"]:!0}),se(d)!=="svelte-1y4wo7e"&&(d.innerHTML=g),m=$(A),v=D(A,"DIV",{class:!0});var y=B(v);h=D(y,"A",{href:!0,class:!0,["data-svelte-h"]:!0}),se(h)!=="svelte-1idecut"&&(h.innerHTML=_),y.forEach(k),A.forEach(k),P.forEach(k),b=$(I),c=D(I,"IMG",{src:!0,alt:!0,class:!0}),I.forEach(k),E.forEach(k),this.h()},h(){he(l.src,a=Hn)||w(l,"src",a),w(l,"alt","Voidwrought"),w(l,"class","logo svelte-18bxn3y"),w(s,"class","svelte-18bxn3y"),w(d,"class","cta svelte-18bxn3y"),w(h,"href","#trailer"),w(h,"class","svelte-18bxn3y"),w(v,"class","trailer svelte-18bxn3y"),w(i,"class","split svelte-18bxn3y"),w(n,"class","container svelte-18bxn3y"),he(c.src,p=Un)||w(c,"src",p),w(c,"alt","Hero Mobile"),w(c,"class","hero-mobile svelte-18bxn3y"),w(r,"class","content svelte-18bxn3y"),w(t,"id","about"),w(t,"class","hero svelte-18bxn3y")},m(V,E){le(V,t,E),T(t,r),T(r,n),T(n,i),T(i,l),T(i,o),T(i,s),T(i,u),T(i,d),T(i,m),T(i,v),T(v,h),T(r,b),T(r,c),x||(O=Vt(h,"click",yn(e[0])),x=!0)},p:ie,i:ie,o:ie,d(V){V&&k(t),x=!1,O()}}}function zn(e){function t(r){Ln(r)}return[t]}class Gn extends Ve{constructor(t){super(),Pe(this,t,zn,Fn,xe,{})}}const Bn=""+new URL("../assets/Key-feature-character.9499033b.png",import.meta.url).href,Wn=""+new URL("../assets/mobile-keyFeature.098e1687.webp",import.meta.url).href;function Kn(e){let t,r,n="Key Features",i,l,a=`<ul class="svelte-y2bwoa"><li class="svelte-y2bwoa">Experience smooth, satisfying movement and tight controls.</li> <li class="svelte-y2bwoa">Explore atmospheric, hand-drawn biomes, from the star-scorched Surface to the 7 biomechanical Abandoned Expedition.</li> <li class="svelte-y2bwoa">Fight over 70 enemies and 10 formidable bosses.</li> <li class="svelte-y2bwoa">Customize your playstyle with over 30 active and passive Artifacts.</li> <li class="svelte-y2bwoa">Expand your shrine to discover new treasures, abilities, and secrets.</li> <li class="svelte-y2bwoa">Enjoy a rich, foreboding score by Anima: Song of the Abyss and Vigil: The Longest 8 Night composer Jouni Valjakka.</li></ul>`,o,s,f,u,d,g;return{c(){t=R("div"),r=R("h1"),r.textContent=n,i=j(),l=R("div"),l.innerHTML=a,o=j(),s=R("img"),u=j(),d=R("img"),this.h()},l(m){t=D(m,"DIV",{id:!0,class:!0});var v=B(t);r=D(v,"H1",{class:!0,["data-svelte-h"]:!0}),se(r)!=="svelte-j6zgke"&&(r.textContent=n),i=$(v),l=D(v,"DIV",{class:!0,["data-svelte-h"]:!0}),se(l)!=="svelte-s58fwh"&&(l.innerHTML=a),o=$(v),s=D(v,"IMG",{src:!0,alt:!0,class:!0}),u=$(v),d=D(v,"IMG",{src:!0,alt:!0,class:!0}),v.forEach(k),this.h()},h(){w(r,"class","svelte-y2bwoa"),w(l,"class","container svelte-y2bwoa"),he(s.src,f=Bn)||w(s,"src",f),w(s,"alt","Voidwrought"),w(s,"class","key-feature-img fade-in-image svelte-y2bwoa"),tt(s,"visible",e[1]),he(d.src,g=Wn)||w(d,"src",g),w(d,"alt","Voidwrought"),w(d,"class","mobile-key-feature svelte-y2bwoa"),w(t,"id","key-features"),w(t,"class","svelte-y2bwoa")},m(m,v){le(m,t,v),T(t,r),T(t,i),T(t,l),T(t,o),T(t,s),e[3](s),T(t,u),T(t,d)},p(m,[v]){v&2&&tt(s,"visible",m[1])},i:ie,o:ie,d(m){m&&k(t),e[3](null)}}}function Yn(e,t,r){let n,i;const l=Gr(!1);Fr(e,l,o=>r(1,n=o)),ir(()=>{const o=new IntersectionObserver(s=>{s.forEach(f=>{f.isIntersecting?l.set(!0):l.set(!1)})},{threshold:.1});return i&&o.observe(i),()=>{i&&o.unobserve(i)}});function a(o){zr[o?"unshift":"push"](()=>{i=o,r(0,i)})}return[i,n,l,a]}class jn extends Ve{constructor(t){super(),Pe(this,t,Yn,Kn,xe,{})}}const $n=""+new URL("../assets/newsletterThankyou.51e4acbc.webp",import.meta.url).href;function Xn(e){let t,r,n=`<h1 class="svelte-spv49v">Want access to exclusive updates 9 for our PC & console games?</h1>`,i,l,a,o="Subscribe to our newsletter for exciting updates about Voidwrought and Kwalee's other PC & console titles, exclusive giveaways, and much more.",s,f,u,d,g='<div class="input-container svelte-spv49v"><input type="text" id="first_name" placeholder=" " required="" class="svelte-spv49v"/> <label for="first_name" class="placeholder-text svelte-spv49v">First Name</label></div> <div class="input-container svelte-spv49v"><input type="email" id="email" placeholder=" " required="" class="svelte-spv49v"/> <label for="email" class="placeholder-text svelte-spv49v">Email</label></div>',m,v,h,_,b,c=`<span class="asterisk svelte-spv49v">*</span>I agree to Kwalee processing my name and email address to 10 receive a regular Kwalee newsletter as well as updates of Kwalee PC games and 11 publication of new games. I am aware that I can use the unsubscribe function included in 12 all emails to stop receiving these notifications. I have read, understood and agree with 13 Kwaleeâs 14 <a href="https://www.kwalee.com/privacy-policy" class="svelte-spv49v">Privacy Policy</a>.`,p,x,O,V,E,I;return{c(){t=R("div"),r=R("div"),r.innerHTML=n,i=j(),l=R("div"),a=R("p"),a.textContent=o,s=j(),f=R("div"),u=R("form"),d=R("div"),d.innerHTML=g,m=j(),v=R("label"),h=R("input"),_=j(),b=R("span"),b.innerHTML=c,p=j(),x=R("button"),O=An("Subscribe ME"),this.h()},l(P){t=D(P,"DIV",{id:!0,class:!0});var A=B(t);r=D(A,"DIV",{class:!0,["data-svelte-h"]:!0}),se(r)!=="svelte-yrz79y"&&(r.innerHTML=n),i=$(A),l=D(A,"DIV",{class:!0});var y=B(l);a=D(y,"P",{class:!0,["data-svelte-h"]:!0}),se(a)!=="svelte-1uykzhc"&&(a.textContent=o),s=$(y),f=D(y,"DIV",{class:!0});var C=B(f);u=D(C,"FORM",{class:!0});var N=B(u);d=D(N,"DIV",{class:!0,["data-svelte-h"]:!0}
14),se(d)!=="svelte-188r3il"&&(d.innerHTML=g),m=$(N),v=D(N,"LABEL",{class:!0});var U=B(v);h=D(U,"INPUT",{type:!0,id:!0,class:!0}),_=$(U),b=D(U,"SPAN",{class:!0,["data-svelte-h"]:!0}),se(b)!=="svelte-1uph00t"&&(b.innerHTML=c),U.forEach(k),p=$(N),x=D(N,"BUTTON",{type:!0,class:!0});var F=B(x);O=Tn(F,"Subscribe ME"),F.forEach(k),N.forEach(k),C.forEach(k),y.forEach(k),A.forEach(k),this.h()},h(){w(r,"class","heading svelte-spv49v"),w(a,"class","svelte-spv49v"),w(d,"class","fields svelte-spv49v"),w(h,"type","checkbox"),w(h,"id","privacy_policy_consent"),w(h,"class","svelte-spv49v"),w(b,"class","privacy-policy-text svelte-spv49v"),w(v,"class","input-container privacy-policy svelte-spv49v"),w(x,"type","submit"),w(x,"class","submit-button svelte-spv49v"),x.disabled=V=!e[0],w(u,"class","form-wrapper svelte-spv49v"),w(f,"class","form svelte-spv49v"),w(l,"class","content svelte-spv49v"),w(t,"id","newsletter"),w(t,"class","svelte-spv49v")},m(P,A){le(P,t,A),T(t,r),T(t,i),T(t,l),T(l,a),T(l,s),T(l,f),T(f,u),T(u,d),T(u,m),T(u,v),T(v,h),h.checked=e[0],T(v,_),T(v,b),T(u,p),T(u,x),T(x,O),E||(I=[Vt(h,"change",e[2]),Vt(u,"submit",e[1])],E=!0)},p(P,[A]){A&1&&(h.checked=P[0]),A&1&&V!==(V=!P[0])&&(x.disabled=V)},i:ie,o:ie,d(P){P&&k(t),E=!1,wn(I)}}}function Jn(e,t,r){let n=!1;function i(a){a.preventDefault();const o=document.querySelector(".form-wrapper");function s(d){for(;d&&d.firstChild;)d.removeChild(d.firstChild)}const f=()=>{const d=document.getElementById("newsletter");s(d),d==null||d.classList.add("no-before","no-after");const g=document.createElement("img");g.src=$n,g.style.width="100%",g.style.maxWidth="553px",g.style.padding="10px";const m=document.createElement("p");m.innerText="Thank you for your interest. Stay tuned for updates!",window.innerWidth<=768?(m.style.fontSize="16px",m.style.lineHeight="26px"):(m.style.fontSize="26px",m.style.lineHeight="40px"),m.style.fontWeight="400",m.style.textAlign="center",m.style.color="#ffffff",m.style.padding="10px",m.style.marginBottom="1rem",d==null||d.appendChild(g),d==null||d.appendChild(m)},u=d=>{var c;const g=new URLSearchParams(window.location.search);for(const[p,x]of g.entries());const m={first_name:o==null?void 0:o.querySelector(".fields input#first_name").value,email:(c=o==null?void 0:o.querySelector(".fields input#email"))==null?void 0:c.value,privacy_policy_consent:n?"I consent":"I do not consent",recaptcha_response:d};["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].forEach(p=>{const x=g.get(p);x!==null&&(m[p]=x)});const h=JSON.stringify(m),b=fetch("https://website.api.kwalee.com/pcc-microsite-newsletter",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},referrerPolicy:"unsafe-url",body:h});b.then(p=>{if(!p.ok){console.log(p),alert("Error submitting form, please try again!");return}f()}).catch(p=>{console.log(b),console.error(p),alert("Error submitting form, please try again!")})};if(typeof window.grecaptcha<"u"&&window.grecaptcha)window.grecaptcha.ready(function(){window.grecaptcha.execute("6Le_9IwpAAAAAAwe0e3FxbjkROSxnKyl8AwcGV25",{action:"submit"}).then(function(d){u(d)})});else{alert("Please accept functional cookies in the cookie banner to submit the form, or contact us directly.");return}}function l(){n=this.checked,r(0,n)}return[n,i,l]}class qn extends Ve{constructor(t){super(),Pe(this,t,Jn,Xn,xe,{})}}const Zn=""+new URL("../assets/VWRT_SCREENSHOT.15f3e90a.webp",import.meta.url).href,Qn=""+new URL("../assets/VWRT_SCREENSHOT_5.346f9998.webp",import.meta.url).href,ei=""+new URL("../assets/VWRT_SCREENSHOT_6.2f780edc.webp",import.meta.url).href,ti=""+new URL("../assets/VWRT_SCREENSHOT_7.73c9e63b.webp",import.meta.url).href,ri=""+new URL("../assets/VWRT_SCREENSHOT_9.08c252ed.webp",import.meta.url).href,ni=""+new URL("../assets/VWRT_SCREENSHOT_10.0eb53bb1.webp",import.meta.url).href,ii=""+new URL("../assets/VWRT_SCREENSHOT_12.bc9be1c8.webp",import.meta.url).href,ai=""+new URL("../assets/VWRT_SCREENSHOT_13.f514c25c.webp",import.meta.url).href,si=""+new URL("../assets/VWRT_SCREENSHOT_14.d521eca4.webp",import.meta.url).href,yr="data:image/webp;base64,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";function Ar(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oi(e,t,r){return t&&Ar(e.prototype,t),r&&Ar(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}/*! 15 * Splide.js 16 * Version : 4.1.4 17 * License : MIT 18 * Copyright: 2022 Naotoshi Fujita 19 */var Tr="(prefers-reduced-motion: reduce)",Ze=1,li=2,rt=3,it=4,pt=5,Rt=6,Pt=7,ci={CREATED:Ze,MOUNTED:li,IDLE:rt,MOVING:it,SCROLLING:pt,DRAGGING:Rt,DESTROYED:Pt};function Le(e){e.length=0}function Me(e,t,r){return Array.prototype.slice.call(e,t,r)}function Z(e){return e.bind.apply(e,[null].concat(Me(arguments,1
vendor: 23,461 bytes, line 19
19)))}var Br=setTimeout,Zt=function(){};function Sr(e){return requestAnimationFrame(e)}function Ht(e,t){return typeof t===e}function ct(e){return!sr(e)&&Ht("object",e)}var ar=Array.isArray,Wr=Z(Ht,"function"),Re=Z(Ht,"string"),bt=Z(Ht,"undefined");function sr(e){return e===null}function Kr(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function Et(e){return ar(e)?e:[e]}function ge(e,t){Et(e).forEach(t)}function or(e,t){return e.indexOf(t)>-1}function Dt(e,t){return e.push.apply(e,Et(t)),e}function Te(e,t,r){e&&ge(t,function(n){n&&e.classList[r?"add":"remove"](n)})}function we(e,t){Te(e,Re(t)?t.split(" "):t,!0)}function wt(e,t){ge(t,e.appendChild.bind(e))}function lr(e,t){ge(e,function(r){var n=(t||r).parentNode;n&&n.insertBefore(r,t)})}function ut(e,t){return Kr(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function Yr(e,t){var r=e?Me(e.children):[];return t?r.filter(function(n){return ut(n,t)}):r}function _t(e,t){return t?Yr(e,t)[0]:e.firstElementChild}var vt=Object.keys;function Ye(e,t,r){return e&&(r?vt(e).reverse():vt(e)).forEach(function(n){n!=="__proto__"&&t(e[n],n)}),e}function ft(e){return Me(arguments,1).forEach(function(t){Ye(t,function(r,n){e[n]=t[n]})}),e}function Ne(e){return Me(arguments,1).forEach(function(t){Ye(t,function(r,n){ar(r)?e[n]=r.slice():ct(r)?e[n]=Ne({},ct(e[n])?e[n]:{},r):e[n]=r})}),e}function Ir(e,t){ge(t||vt(e),function(r){delete e[r]})}function _e(e,t){ge(e,function(r){ge(t,function(n){r&&r.removeAttribute(n)})})}function W(e,t,r){ct(t)?Ye(t,function(n,i){W(e,i,n)}):ge(e,function(n){sr(r)||r===""?_e(n,t):n.setAttribute(t,String(r))})}function Qe(e,t,r){var n=document.createElement(e);return t&&(Re(t)?we(n,t):W(n,t)),r&&wt(r,n),n}function pe(e,t,r){if(bt(r))return getComputedStyle(e)[t];sr(r)||(e.style[t]=""+r)}function dt(e,t){pe(e,"display",t)}function jr(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function be(e,t){return e.getAttribute(t)}function Lr(e,t){return e&&e.classList.contains(t)}function de(e){return e.getBoundingClientRect()}function je(e){ge(e,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function $r(e){return _t(new DOMParser().parseFromString(e,"text/html").body)}function Ae(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Xr(e,t){return e&&e.querySelector(t)}function cr(e,t){return t?Me(e.querySelectorAll(t)):[]}function Se(e,t){Te(e,t,!1)}function Qt(e){return e.timeStamp}function Ke(e){return Re(e)?e:e?e+"px":""}var yt="splide",ur="data-"+yt;function ot(e,t){if(!e)throw new Error("["+yt+"] "+(t||""))}var De=Math.min,Mt=Math.max,kt=Math.floor,ht=Math.ceil,ue=Math.abs;function Jr(e,t,r){return ue(e-t)<r}function Ot(e,t,r,n){var i=De(t,r),l=Mt(t,r);return n?i<e&&e<l:i<=e&&e<=l}function Je(e,t,r){var n=De(t,r),i=Mt(t,r);return De(Mt(n,e),i)}function er(e){return+(e>0)-+(e<0)}function tr(e,t){return ge(t,function(r){e=e.replace("%s",""+r)}),e}function vr(e){return e<10?"0"+e:""+e}var Cr={};function ui(e){return""+e+vr(Cr[e]=(Cr[e]||0)+1)}function qr(){var e=[];function t(a,o,s,f){i(a,o,function(u,d,g){var m="addEventListener"in u,v=m?u.removeEventListener.bind(u,d,s,f):u.removeListener.bind(u,s);m?u.addEventListener(d,s,f):u.addListener(s),e.push([u,d,g,s,v])})}function r(a,o,s){i(a,o,function(f,u,d){e=e.filter(function(g){return g[0]===f&&g[1]===u&&g[2]===d&&(!s||g[3]===s)?(g[4](),!1):!0})})}function n(a,o,s){var f,u=!0;return typeof CustomEvent=="function"?f=new CustomEvent(o,{bubbles:u,detail:s}):(f=document.createEvent("CustomEvent"),f.initCustomEvent(o,u,!1,s)),a.dispatchEvent(f),f}function i(a,o,s){ge(a,function(f){f&&ge(o,function(u){u.split(" ").forEach(function(d){var g=d.split(".");s(f,g[0],g[1])})})})}function l(){e.forEach(function(a){a[4]()}),Le(e)}return{bind:t,unbind:r,dispatch:n,destroy:l}}var Xe="mounted",Nr="ready",Oe="move",At="moved",Zr="click",vi="active",fi="inactive",di="visible",hi="hidden",ne="refresh",ve="updated",mt="resize",fr="resized",mi="drag",gi="dragging",pi="dragged",dr="scroll",at="scrolled",bi="overflow",Qr="destroy",Ei="arrows:mounted",wi="arrows:updated",_i="pagination:mounted",yi="pagination:updated",en="navigation:mounted",tn="autoplay:play",Ai="autoplay:playing",rn="autoplay:pause",nn="lazyload:loaded",an="sk",sn="sh",Ut="ei";function te(e){var t=e?e.event.bus:document.createDocumentFragment(),r=qr();function n(l,a){r.bind(t,Et(l).join(" "),function(o){a.apply(a,ar(o.detail)?o.detail:[])})}function i(l){r.dispatch(t,l,Me(arguments,1))}return e&&e.event.on(Qr,r.destroy),ft(r,{bus:t,on:n,off:Z(r.unbind,t),emit:i})}function Ft(e,t,r,n){var i=Date.now,l,a=0,o,s=!0,f=0;function u(){if(!s){if(a=e?De((i()-l)/e,1):1,r&&r(a),a>=1&&(t(),l=i(),n&&++f>=n))return g();o=Sr(u)}}function d(b){b||v(),l=i()-(b?a*e:0),s=!1,o=Sr(u)}function g(){s=!0}function m(){l=i(),a=0,r&&r(a)}function v(){o&&cancelAnimationFrame(o),a=0,o=0,s=!0}function h(b){e=b}function _(){return s}return{start:d,rewind:m,pause:g,cancel:v,set:h,isPaused:_}}function Ti(e){var t=e;function r(i){t=i}function n(i){return or(Et(i),t)}return{set:r,is:n}}function Si(e,t){var r=Ft(t||0,e,null,1);return function(){r.isPaused()&&r.start()}}function Ii(e,t,r){var n=e.state,i=r.breakpoints||{},l=r.reducedMotion||{},a=qr(),o=[];function s(){var v=r.mediaQuery==="min";vt(i).sort(function(h,_){return v?+h-+_:+_-+h}).forEach(function(h){u(i[h],"("+(v?"min":"max")+"-width:"+h+"px)")}),u(l,Tr),d()}function f(v){v&&a.destroy()}function u(v,h){var _=matchMedia(h);a.bind(_,"change",d),o.push([v,_])}function d(){var v=n.is(Pt),h=r.direction,_=o.reduce(function(b,c){return Ne(b,c[1].matches?c[0]:{})},{});Ir(r),m(_),r.destroy?e.destroy(r.destroy==="completely"):v?(f(!0),e.mount()):h!==r.direction&&e.refresh()}function g(v){matchMedia(Tr).matches&&(v?Ne(r,l):Ir(r,vt(l)))}function m(v,h,_){Ne(r,v),h&&Ne(Object.getPrototypeOf(r),v),(_||!n.is(Ze))&&e.emit(ve,r)}return{setup:s,destroy:f,reduce:g,set:m}}var zt="Arrow",Gt=zt+"Left",Bt=zt+"Right",on=zt+"Up",ln=zt+"Down",Rr="rtl",Wt="ttb",$t={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[on,Bt],ArrowRight:[ln,Gt]};function Li(e,t,r){function n(l,a,o){o=o||r.direction;var s=o===Rr&&!a?1:o===Wt?0:-1;return $t[l]&&$t[l][s]||l.replace(/width|left|right/i,function(f,u){var d=$t[f.toLowerCase()][s]||f;return u>0?d.charAt(0).toUpperCase()+d.slice(1):d})}function i(l){return l*(r.direction===Rr?1:-1)}return{resolve:n,orient:i}}var Ie="role",et="tabindex",Ci="disabled",Ee="aria-",Tt=Ee+"controls",cn=Ee+"current",Dr=Ee+"selected",me=Ee+"label",hr=Ee+"labelledby",un=Ee+"hidden",mr=Ee+"orientation",gt=Ee+"roledescription",Or=Ee+"live",xr=Ee+"busy",Vr=Ee+"atomic",gr=[Ie,et,Ci,Tt,cn,me,hr,un,mr,gt],ye=yt+"__",ke="is-",Xt=yt,Pr=ye+"track",Ni=ye+"list",Kt=ye+"slide",vn=Kt+"--clone",Ri=Kt+"__container",pr=ye+"arrows",Yt=ye+"arrow",fn=Yt+"--prev",dn=Yt+"--next",jt=ye+"pagination",hn=jt+"__page",Di=ye+"progress",Oi=Di+"__bar",xi=ye+"toggle",Vi=ye+"spinner",Pi=ye+"sr",Mi=ke+"initialized",$e=ke+"active",mn=ke+"prev",gn=ke+"next",rr=ke+"visible",nr=ke+"loading",pn=ke+"focus-in",bn=ke+"overflow",ki=[$e,rr,mn,gn,nr,pn,bn],Ui={slide:Kt,clone:vn,arrows:pr,arrow:Yt,prev:fn,next:dn,pagination:jt,page:hn,spinner:Vi};function Hi(e,t){if(Wr(e.closest))return e.closest(t);for(var r=e;r&&r.nodeType===1&&!ut(r,t);)r=r.parentElement;return r}var Fi=5,Mr=200,En="touchstart mousedown",Jt="touchmove mousemove",qt="touchend touchcancel mouseup click";function zi(e,t,r){var n=te(e),i=n.on,l=n.bind,a=e.root,o=r.i18n,s={},f=[],u=[],d=[],g,m,v;function h(){p(),x(),c()}function _(){i(ne,b),i(ne,h),i(ve,c),l(document,En+" keydown",function(E){v=E.type==="keydown"},{capture:!0}),l(a,"focusin",function(){Te(a,pn,!!v)})}function b(E){var I=gr.concat("style");Le(f),Se(a,u),Se(g,d),_e([g,m],I),_e(a,E?I:["style",gt])}function c(){Se(a,u),Se(g,d),u=V(Xt),d=V(Pr),we(a,u),we(g,d),W(a,me,r.label),W(a,hr,r.labelledby)}function p(){g=O("."+Pr),m=_t(g,"."+Ni),ot(g&&m,"A track/list element is missing."),Dt(f,Yr(m,"."+Kt+":not(."+vn+")")),Ye({arrows:pr,pagination:jt,prev:fn,next:dn,bar:Oi,toggle:xi},function(E,I){s[I]=O("."+E)}),ft(s,{root:a,track:g,list:m,slides:f})}function x(){var E=a.id||ui(yt),I=r.role;a.id=E,g.id=g.id||E+"-track",m.id=m.id||E+"-list",!be(a,Ie)&&a.tagName!=="SECTION"&&I&&W(a,Ie,I),W(a,gt,o.carousel),W(m,Ie,"presentation")}function O(E){var I=Xr(a,E);return I&&Hi(I,"."+Xt)===a?I:void 0}function V(E){return[E+"--"+r.type,E+"--"+r.direction,r.drag&&E+"--draggable",r.isNavigation&&E+"--nav",E===Xt&&$e]}return ft(s,{setup:h,mount:_,destroy:b})}var nt="slide",st="loop",St="fade";function Gi(e,t,r,n){var i=te(e),l=i.on,a=i.emit,o=i.bind,s=e.Components,f=e.root,u=e.options,d=u.isNavigation,g=u.updateOnMove,m=u.i18n,v=u.pagination,h=u.slideFocus,_=s.Direction.resolve,b=be(n,"style"),c=be(n,me),p=r>-1,x=_t(n,"."+Ri),O;function V(){p||(n.id=f.id+"-slide"+vr(t+1),W(n,Ie,v?"tabpanel":"group"),W(n,gt,m.slide),W(n,me,c||tr(m.slideLabel,[t+1,e.length]))),E()}function E(){o(n,"click",Z(a,Zr,G)),o(n,"keydown",Z(a,an,G)),l([At,sn,at],y),l(en,P),g&&l(Oe,A)}function I(){O=!0,i.destroy(),Se(n,ki),_e(n,gr),W(n,"style",b),W(n,me,c||"")}function P(){var H=e.splides.map(function(S){var z=S.splide.Components.Slides.getAt(t);return z?z.slide.id:""}).join(" ");W(n,me,tr(m.slideX,(p?r:t)+1)),W(n,Tt,H),W(n,Ie,h?"button":""),h&&_e(n,gt)}function A(){O||y()}function y(){if(!O){var H=e.index;C(),N(),Te(n,mn,t===H-1),Te(n,gn,t===H+1)}}function C(){var H=F();H!==Lr(n,$e)&&(Te(n,$e,H),W(n,cn,d&&H||""),a(H?vi:fi,G))}function N(){var H=X(),S=!H&&(!F()||p);if(e.state.is([it,pt])||W(n,un,S||""),W(cr(n,u.focusableNodes||""),et,S?-1:""),h&&W(n,et,S?-1:0),H!==Lr(n,rr)&&(Te(n,rr,H),a(H?di:hi,G)),!H&&document.activeElement===n){var z=s.Slides.getAt(e.index);z&&jr(z.slide)}}function U(H,S,z){pe(z&&x||n,H,S)}function F(){var H=e.index;return H===t||u.cloneStatus&&H===r}function X(){if(e.is(St))return F();var H=de(s.Elements.track),S=de(n),z=_("left",!0),K=_("right",!0);return kt(H[z])<=ht(S[z])&&kt(S[K])<=ht(H[K])}function J(H,S){var z=ue(H-t);return!p&&(u.rewind||e.is(st))&&(z=De(z,e.length-z)),z<=S}var G={index:t,slideIndex:r,slide:n,container:x,isClone:p,mount:V,destroy:I,update:y,style:U,isWithin:J};return G}function Bi(e,t,r){var n=te(e),i=n.on,l=n.emit,a=n.bind,o=t.Elements,s=o.slides,f=o.list,u=[];function d(){g(),i(ne,m),i(ne,g)}function g(){s.forEach(function(y,C){h(y,C,-1)})}function m(){O(function(y){y.destroy()}),Le(u)}function v(){O(function(y){y.update()})}function h(y,C,N){var U=Gi(e,C,N,y);U.mount(),u.push(U),u.sort(function(F,X){return F.index-X.index})}function _(y){return y?V(function(C){return!C.isClone}):u}function b(y){var C=t.Controller,N=C.toIndex(y),U=C.hasFocus()?1:r.perPage;return V(function(F){return Ot(F.index,N,N+U-1)})}function c(y){return V(y)[0]}function p(y,C){ge(y,function(N){if(Re(N)&&(N=$r(N)),Kr(N)){var U=s[C];U?lr(N,U):wt(f,N),we(N,r.classes.slide),I(N,Z(l,mt))}}),l(ne)}function x(y){je(V(y).map(function(C){return C.slide})),l(ne)}function O(y,C){_(C).forEach(y)}function V(y){return u.filter(Wr(y)?y:function(C){return Re(y)?ut(C.slide,y):or(Et(y),C.index)})}function E(y,C,N){O(function(U){U.style(y,C,N)})}function I(y,C){var N=cr(y,"img"),U=N.length;U?N.forEach(function(F){a(F,"load error",function(){--U||C()})}):C()}function P(y){return y?s.length:u.length}function A(){return u.length>r.perPage}return{mount:d,destroy:m,update:v,register:h,get:_,getIn:b,getAt:c,add:p,remove:x,forEach:O,filter:V,style:E,getLength:P,isEnough:A}}function Wi(e,t,r){var n=te(e),i=n.on,l=n.bind,a=n.emit,o=t.Slides,s=t.Direction.resolve,f=t.Elements,u=f.root,d=f.track,g=f.list,m=o.getAt,v=o.style,h,_,b;function c(){p(),l(window,"resize load",Si(Z(a,mt))),i([ve,ne],p),i(mt,x)}function p(){h=r.direction===Wt,pe(u,"maxWidth",Ke(r.width)),pe(d,s("paddingLeft"),O(!1)),pe(d,s("paddingRight"),O(!0)),x(!0)}function x(G){var H=de(u);(G||_.width!==H.width||_.height!==H.height)&&(pe(d,"height",V()),v(s("marginRight"),Ke(r.gap)),v("width",I()),v("height",P(),!0),_=H,a(fr),b!==(b=J())&&(Te(u,bn,b),a(bi,b)))}function O(G){var H=r.padding,S=s(G?"right":"left");return H&&Ke(H[S]||(ct(H)?0:H))||"0px"}function V(){var G="";return h&&(G=E(),ot(G,"height or heightRatio is missing."),G="calc("+G+" - "+O(!1)+" - "+O(!0)+")"),G}function E(){return Ke(r.height||de(g).width*r.heightRatio)}function I(){return r.autoWidth?null:Ke(r.fixedWidth)||(h?"":A())}function P(){return Ke(r.fixedHeight)||(h?r.autoHeight?null:A():E())}function A(){var G=Ke(r.gap);return"calc((100%"+(G&&" + "+G)+")/"+(r.perPage||1)+(G&&" - "+G)+")"}function y(){return de(g)[s("width")]}function C(G,H){var S=m(G||0);return S?de(S.slide)[s("width")]+(H?0:F()):0}function N(G,H){var S=m(G);if(S){var z=de(S.slide)[s("right")],K=de(g)[s("left")];return ue(z-K)+(H?0:F())}return 0}function U(G){return N(e.length-1)-N(0)+C(0,G)}function F(){var G=m(0);return G&&parseFloat(pe(G.slide,s("marginRight")))||0}function X(G){return parseFloat(pe(d,s("padding"+(G?"Right":"Left"))))||0}function J(){return e.is(St)||U(!0)>y()}return{mount:c,resize:x,listSize:y,slideSize:C,sliderSize:U,totalSize:N,getPadding:X,isOverflow:J}}var Ki=2;function Yi(e,t,r){var n=te(e),i=n.on,l=t.Elements,a=t.Slides,o=t.Direction.resolve,s=[],f;function u(){i(ne,d),i([ve,mt],m),(f=_())&&(v(f),t.Layout.resize(!0))}function d(){g(),u()}function g(){je(s),Le(s),n.destroy()}function m(){var b=_();f!==b&&(f<b||!b)&&n.emit(ne)}function v(b){var c=a.get().slice(),p=c.length;if(p){for(;c.length<b;)Dt(c,c);Dt(c.slice(-b),c.slice(0,b)).forEach(function(x,O){var V=O<b,E=h(x.slide,O);V?lr(E,c[0].slide):wt(l.list,E),Dt(s,E),a.register(E,O-b+(V?0:p),x.index)})}}function h(b,c){var p=b.cloneNode(!0);return we(p,r.classes.clone),p.id=e.root.id+"-clone"+vr(c+1),p}function _(){var b=r.clones;if(!e.is(st))b=0;else if(bt(b)){var c=r[o("fixedWidth")]&&t.Layout.slideSize(0),p=c&&ht(de(l.track)[o("width")]/c);b=p||r[o("autoWidth")]&&e.length||r.perPage*Ki}return b}return{mount:u,destroy:g}}function ji(e,t,r){var n=te(e),i=n.on,l=n.emit,a=e.state.set,o=t.Layout,s=o.slideSize,f=o.getPadding,u=o.totalSize,d=o.listSize,g=o.sliderSize,m=t.Direction,v=m.resolve,h=m.orient,_=t.Elements,b=_.list,c=_.track,p;function x(){p=t.Transition,i([Xe,fr,ve,ne],O)}function O(){t.Controller.isBusy()||(t.Scroll.cancel(),E(e.index),t.Slides.update())}function V(S,z,K,ee){S!==z&&G(S>K)&&(y(),I(A(U(),S>K),!0)),a(it),l(Oe,z,K,S),p.start(z,function(){a(rt),l(At,z,K,S),ee&&ee()})}function E(S){I(N(S,!0))}function I(S,z){if(!e.is(St)){var K=z?S:P(S);pe(b,"transform","translate"+v("X")+"("+K+"px)"),S!==K&&l(sn)}}function P(S){if(e.is(st)){var z=C(S),K=z>t.Controller.getEnd(),ee=z<0;(ee||K)&&(S=A(S,K))}return S}function A(S,z){var K=S-J(z),ee=g();return S-=h(ee*(ht(ue(K)/ee)||1))*(z?1:-1),S}function y(){I(U(),!0),p.cancel()}function C(S){for(var z=t.Slides.get(),K=0,ee=1/0,re=0;re<z.length;re++){var ce=z[re].index,L=ue(N(ce,!0)-S);if(L<=ee)ee=L,K=ce;else break}return K}function N(S,z){var K=h(u(S-1)-X(S));return z?F(K):K}function U(){var S=v("left");return de(b)[S]-de(c)[S]+h(f(!1))}function F(S){return r.trimSpace&&e.is(nt)&&(S=Je(S,0,h(g(!0)-d()))),S}function X(S){var z=r.focus;return z==="center"?(d()-s(S,!0))/2:+z*s(S)||0}function J(S){return N(S?t.Controller.getEnd():0,!!r.trimSpace)}function G(S){var z=h(A(U(),S));return S?z>=0:z<=b[v("scrollWidth")]-de(c)[v("width")]}function H(S,z){z=bt(z)?U():z;var K=S!==!0&&h(z)<h(J(!1)),ee=S!==!1&&h(z)>h(J(!0));return K||ee}return{mount:x,move:V,jump:E,translate:I,shift:A,cancel:y,toIndex:C,toPosition:N,getPosition:U,getLimit:J,exceededLimit:H,reposition:O}}function $i(e,t,r){var n=te(e),i=n.on,l=n.emit,a=t.Move,o=a.getPosition,s=a.getLimit,f=a.toPosition,u=t.Slides,d=u.isEnough,g=u.getLength,m=r.omitEnd,v=e.is(st),h=e.is(nt),_=Z(U,!1),b=Z(U,!0),c=r.start||0,p,x=c,O,V,E;function I(){P(),i([ve,ne,Ut],P),i(fr,A)}function P(){O=g(!0),V=r.perMove,E=r.perPage,p=G();var L=Je(c,0,m?p:O-1);L!==c&&(c=L,a.reposition())}function A(){p!==G()&&l(Ut)}function y(L,Y,oe){if(!ce()){var Q=N(L),ae=J(Q);ae>-1&&(Y||ae!==c)&&(K(ae),a.move(Q,ae,x,oe))}}function C(L,Y,oe,Q){t.Scroll.scroll(L,Y,oe,function(){var ae=J(a.toIndex(o()));K(m?De(ae,p):ae),Q&&Q()})}function N(L){var Y=c;if(Re(L)){var oe=L.match(/([+\-<>])(\d+)?/)||[],Q=oe[1],ae=oe[2];Q==="+"||Q==="-"?Y=F(c+ +(""+Q+(+ae||1)),c):Q===">"?Y=ae?H(+ae):_(!0):Q==="<"&&(Y=b(!0))}else Y=v?L:Je(L,0,p);return Y}function U(L,Y){var oe=V||(re()?1:E),Q=F(c+oe*(L?-1:1),c,!(V||re()));return Q===-1&&h&&!Jr(o(),s(!L),1)?L?0:p:Y?Q:J(Q)}function F(L,Y,oe){if(d()||re()){var Q=X(L);Q!==L&&(Y=L,L=Q,oe=!1),L<0||L>p?!V&&(Ot(0,L,Y,!0)||Ot(p,Y,L,!0))?L=H(S(L)):v?L=oe?L<0?-(O%E||E):O:L:r.rewind?L=L<0?p:0:L=-1:oe&&L!==Y&&(L=H(S(Y)+(L<Y?-1:1)))}else L=-1;return L}function X(L){if(h&&r.trimSpace==="move"&&L!==c)for(var Y=o();Y===f(L,!0)&&Ot(L,0,e.length-1,!r.rewind);)L<c?--L:++L;return L}function J(L){return v?(L+O)%O||0:L}function G(){for(var L=O-(re()||v&&V?1:E);m&&L-- >0;)if(f(O-1,!0)!==f(L,!0)){L++;break}return Je(L,0,O-1)}function H(L){return Je(re()?L:E*L,0,p)}function S(L){return re()?De(L,p):kt((L>=p?O-1:L)/E)}function z(L){var Y=a.toIndex(L);return h?Je(Y,0,p):Y}function K(L){L!==c&&(x=c,c=L)}function ee(L){return L?x:c}function re(){return!bt(r.focus)||r.isNavigation}function ce(){return e.state.is([it,pt])&&!!r.waitForTransition}return{mount:I,go:y,scroll:C,getNext:_,getPrev:b,getAdjacent:U,getEnd:G,setIndex:K,getIndex:ee,toIndex:H,toPage:S,toDest:z,hasFocus:re,isBusy:ce}}var Xi="http://www.w3.org/2000/svg",Ji="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",Nt=40;function qi(e,t,r){var n=te(e),i=n.on,l=n.bind,a=n.emit,o=r.classes,s=r.i18n,f=t.Elements,u=t.Controller,d=f.arrows,g=f.track,m=d,v=f.prev,h=f.next,_,b,c={};function p(){O(),i(ve,x)}function x(){V(),p()}function O(){var C=r.arrows;C&&!(v&&h)&&P(),v&&h&&(ft(c,{prev:v,next:h}),dt(m,C?"":"none"),we(m,b=pr+"--"+r.direction),C&&(E(),y(),W([v,h],Tt,g.id),a(Ei,v,h)))}function V(){n.destroy(),Se(m,b),_?(je(d?[v,h]:m),v=h=null):_e([v,h],gr)}function E(){i([Xe,At,ne,at,Ut],y),l(h,"click",Z(I,">")),l(v,"click",Z(I,"<"))}function I(C){u.go(C,!0)}function P(){m=d||Qe("div",o.arrows),v=A(!0),h=A(!1),_=!0,wt(m,[v,h]),!d&&lr(m,g)}function A(C){var N='<button class="'+o.arrow+" "+(C?o.prev:o.next)+'" type="button"><svg xmlns="'+Xi+'" viewBox="0 0 '+Nt+" "+Nt+'" width="'+Nt+'" height="'+Nt+'" focusable="false"><path d="'+(r.arrowPath||Ji)+'" />';return $r(N)}function y(){if(v&&h){var C=e.index,N=u.getPrev(),U=u.getNext(),F=N>-1&&C<N?s.last:s.prev,X=U>-1&&C>U?s.first:s.next;v.disabled=N<0,h.disabled=U<0,W(v,me,F),W(h,me,X),a(wi,v,h,N,U)}}return{arrows:c,mount:p,destroy:V,update:y}}var Zi=ur+"-interval";function Qi(e,t,r){var n=te(e),i=n.on,l=n.bind,a=n.emit,o=Ft(r.interval,e.go.bind(e,">"),E),s=o.isPaused,f=t.Elements,u=t.Elements,d=u.root,g=u.toggle,m=r.autoplay,v,h,_=m==="pause";function b(){m&&(c(),g&&W(g,Tt,f.track.id),_||p(),V())}function c(){r.pauseOnHover&&l(d,"mouseenter mouseleave",function(P){v=P.type==="mouseenter",O()}),r.pauseOnFocus&&l(d,"focusin focusout",function(P){h=P.type==="focusin",O()}),g&&l(g,"click",function(){_?p():x(!0)}),i([Oe,dr,ne],o.rewind),i(Oe,I)}function p(){s()&&t.Slides.isEnough()&&(o.start(!r.resetProgress),h=v=_=!1,V(),a(tn))}function x(P){P===void 0&&(P=!0),_=!!P,V(),s()||(o.pause(),a(rn))}function O(){_||(v||h?x(!1):p())}function V(){g&&(Te(g,$e,!_),W(g,me,r.i18n[_?"play":"pause"]))}function E(P){var A=f.bar;A&&pe(A,"width",P*100+"%"),a(Ai,P)}function I(P){var A=t.Slides.getAt(P);o.set(A&&+be(A.slide,Zi)||r.interval)}return{mount:b,destroy:o.cancel,play:p,pause:x,isPaused:s}}function ea(e,t,r){var n=te(e),i=n.on;function l(){r.cover&&(i(nn,Z(o,!0)),i([Xe,ve,ne],Z(a,!0)))}function a(s){t.Slides.forEach(function(f){var u=_t(f.container||f.slide,"img");u&&u.src&&o(s,u,f)})}function o(s,f,u){u.style("background",s?'center/cover no-repeat url("'+f.src+'")':"",!0),dt(f,s?"none":"")}return{mount:l,destroy:Z(a,!1)}}var ta=10,ra=600,na=.6,ia=1.5,aa=800;function sa(e,t,r){var n=te(e),i=n.on,l=n.emit,a=e.state.set,o=t.Move,s=o.getPosition,f=o.getLimit,u=o.exceededLimit,d=o.translate,g=e.is(nt),m,v,h=1;function _(){i(Oe,x),i([ve,ne],O)}function b(E,I,P,A,y){var C=s();if(x(),P&&(!g||!u())){var N=t.Layout.sliderSize(),U=er(E)*N*kt(ue(E)/N)||0;E=o.toPosition(t.Controller.toDest(E%N))+U}var F=Jr(C,E,1);h=1,I=F?0:I||Mt(ue(E-C)/ia,aa),v=A,m=Ft(I,c,Z(p,C,E,y),1),a(pt),l(dr),m.start()}function c(){a(rt),v&&v(),l(at)}function p(E,I,P,A){var y=s(),C=E+(I-E)*V(A),N=(C-y)*h;d(y+N),g&&!P&&u()&&(h*=na,ue(N)<ta&&b(f(u(!0)),ra,!1,v,!0))}function x(){m&&m.cancel()}function O(){m&&!m.isPaused()&&(x(),c())}function V(E){var I=r.easingFunc;return I?I(E):1-Math.pow(1-E,4)}return{mount:_,destroy:x,scroll:b,cancel:O}}var qe={passive:!1,capture:!0};function oa(e,t,r){var n=te(e),i=n.on,l=n.emit,a=n.bind,o=n.unbind,s=e.state,f=t.Move,u=t.Scroll,d=t.Controller,g=t.Elements.track,m=t.Media.reduce,v=t.Direction,h=v.resolve,_=v.orient,b=f.getPosition,c=f.exceededLimit,p,x,O,V,E,I=!1,P,A,y;function C(){a(g,Jt,Zt,qe),a(g,qt,Zt,qe),a(g,En,U,qe),a(g,"click",J,{capture:!0}),a(g,"dragstart",Ae),i([Xe,ve],N)}function N(){var M=r.drag;Ue(!M),V=M==="free"}function U(M){if(P=!1,!A){var q=ae(M);Q(M.target)&&(q||!M.button)&&(d.isBusy()?Ae(M,!0):(y=q?g:window,E=s.is([it,pt]),O=null,a(y,Jt,F,qe),a(y,qt,X,qe),f.cancel(),u.cancel(),G(M)))}}function F(M){if(s.is(Rt)||(s.set(Rt),l(mi)),M.cancelable)if(E){f.translate(p+oe(re(M)));var q=ce(M)>Mr,fe=I!==(I=c());(q||fe)&&G(M),P=!0,l(gi),Ae(M)}else z(M)&&(E=S(M),Ae(M))}function X(M){s.is(Rt)&&(s.set(rt),l(pi)),E&&(H(M),Ae(M)),o(y,Jt,F),o(y,qt,X),E=!1}function J(M){!A&&P&&Ae(M,!0)}function G(M){O=x,x=M,p=b()}function H(M){var q=K(M),fe=ee(q),Ce=r.rewind&&r.rewindByDrag;m(!1),V?d.scroll(fe,0,r.snap):e.is(St)?d.go(_(er(q))<0?Ce?"<":"-":Ce?">":"+"):e.is(nt)&&I&&Ce?d.go(c(!0)?">":"<"):d.go(d.toDest(fe),!0),m(!0)}function S(M){var q=r.dragMinThreshold,fe=ct(q),Ce=fe&&q.mouse||0,Lt=(fe?q.touch:+q)||10;return ue(re(M))>(ae(M)?Lt:Ce)}function z(M){return ue(re(M))>ue(re(M,!0))}function K(M){if(e.is(st)||!I){var q=ce(M);if(q&&q<Mr)return re(M)/q}return 0}function ee(M){return b()+er(M)*De(ue(M)*(r.flickPower||600),V?1/0:t.Layout.listSize()*(r.flickMaxPages||1))}function re(M,q){return Y(M,q)-Y(L(M),q)}function ce(M){return Qt(M)-Qt(L(M))}function L(M){return x===M&&O||x}function Y(M,q){return(ae(M)?M.changedTouches[0]:M)["page"+h(q?"Y":"X")]}function oe(M){return M/(I&&e.is(nt)?Fi:1)}function Q(M){var q=r.noDrag;return!ut(M,"."+hn+", ."+Yt)&&(!q||!ut(M,q))}function ae(M){return typeof TouchEvent<"u"&&M instanceof TouchEvent}function It(){return E}function Ue(M){A=M}return{mount:C,disable:Ue,isDragging:It}}var la={Spacebar:" ",Right:Bt,Left:Gt,Up:on,Down:ln};function br(e){return e=Re(e)?e:e.key,la[e]||e}var kr="keydown";function ca(e,t,r){var n=te(e),i=n.on,l=n.bind,a=n.unbind,o=e.root,s=t.Direction.resolve,f,u;function d(){g(),i(ve,m),i(ve,g),i(Oe,h)}function g(){var b=r.keyboard;b&&(f=b==="global"?window:o,l(f,kr,_))}function m(){a(f,kr)}function v(b){u=b}function h(){var b=u;u=!0,Br(function(){u=b})}function _(b){if(!u){var c=br(b);c===s(Gt)?e.go("<"):c===s(Bt)&&e.go(">")}}return{mount:d,destroy:m,disable:v}}var lt=ur+"-lazy",xt=lt+"-srcset",ua="["+lt+"], ["+xt+"]";function va(e,t,r){var n=te(e),i=n.on,l=n.off,a=n.bind,o=n.emit,s=r.lazyLoad==="sequential",f=[At,at],u=[];function d(){r.lazyLoad&&(g(),i(ne,g))}function g(){Le(u),m(),s?b():(l(f),i(f,v),v())}
vendor: 4,350 bytes, line 19
19function m(){t.Slides.forEach(function(c){cr(c.slide,ua).forEach(function(p){var x=be(p,lt),O=be(p,xt);if(x!==p.src||O!==p.srcset){var V=r.classes.spinner,E=p.parentElement,I=_t(E,"."+V)||Qe("span",V,E);u.push([p,c,I]),p.src||dt(p,"none")}})})}function v(){u=u.filter(function(c){var p=r.perPage*((r.preloadPages||1)+1)-1;return c[1].isWithin(e.index,p)?h(c):!0}),u.length||l(f)}function h(c){var p=c[0];we(c[1].slide,nr),a(p,"load error",Z(_,c)),W(p,"src",be(p,lt)),W(p,"srcset",be(p,xt)),_e(p,lt),_e(p,xt)}function _(c,p){var x=c[0],O=c[1];Se(O.slide,nr),p.type!=="error"&&(je(c[2]),dt(x,""),o(nn,x,O),o(mt)),s&&b()}function b(){u.length&&h(u.shift())}return{mount:d,destroy:Z(Le,u),check:v}}function fa(e,t,r){var n=te(e),i=n.on,l=n.emit,a=n.bind,o=t.Slides,s=t.Elements,f=t.Controller,u=f.hasFocus,d=f.getIndex,g=f.go,m=t.Direction.resolve,v=s.pagination,h=[],_,b;function c(){p(),i([ve,ne,Ut],c);var A=r.pagination;v&&dt(v,A?"":"none"),A&&(i([Oe,dr,at],P),x(),P(),l(_i,{list:_,items:h},I(e.index)))}function p(){_&&(je(v?Me(_.children):_),Se(_,b),Le(h),_=null),n.destroy()}function x(){var A=e.length,y=r.classes,C=r.i18n,N=r.perPage,U=u()?f.getEnd()+1:ht(A/N);_=v||Qe("ul",y.pagination,s.track.parentElement),we(_,b=jt+"--"+E()),W(_,Ie,"tablist"),W(_,me,C.select),W(_,mr,E()===Wt?"vertical":"");for(var F=0;F<U;F++){var X=Qe("li",null,_),J=Qe("button",{class:y.page,type:"button"},X),G=o.getIn(F).map(function(S){return S.slide.id}),H=!u()&&N>1?C.pageX:C.slideX;a(J,"click",Z(O,F)),r.paginationKeyboard&&a(J,"keydown",Z(V,F)),W(X,Ie,"presentation"),W(J,Ie,"tab"),W(J,Tt,G.join(" ")),W(J,me,tr(H,F+1)),W(J,et,-1),h.push({li:X,button:J,page:F})}}function O(A){g(">"+A,!0)}function V(A,y){var C=h.length,N=br(y),U=E(),F=-1;N===m(Bt,!1,U)?F=++A%C:N===m(Gt,!1,U)?F=(--A+C)%C:N==="Home"?F=0:N==="End"&&(F=C-1);var X=h[F];X&&(jr(X.button),g(">"+F),Ae(y,!0))}function E(){return r.paginationDirection||r.direction}function I(A){return h[f.toPage(A)]}function P(){var A=I(d(!0)),y=I(d());if(A){var C=A.button;Se(C,$e),_e(C,Dr),W(C,et,-1)}if(y){var N=y.button;we(N,$e),W(N,Dr,!0),W(N,et,"")}l(yi,{list:_,items:h},A,y)}return{items:h,mount:c,destroy:p,getAt:I,update:P}}var da=[" ","Enter"];function ha(e,t,r){var n=r.isNavigation,i=r.slideFocus,l=[];function a(){e.splides.forEach(function(v){v.isParent||(f(e,v.splide),f(v.splide,e))}),n&&u()}function o(){l.forEach(function(v){v.destroy()}),Le(l)}function s(){o(),a()}function f(v,h){var _=te(v);_.on(Oe,function(b,c,p){h.go(h.is(st)?p:b)}),l.push(_)}function u(){var v=te(e),h=v.on;h(Zr,g),h(an,m),h([Xe,ve],d),l.push(v),v.emit(en,e.splides)}function d(){W(t.Elements.list,mr,r.direction===Wt?"vertical":"")}function g(v){e.go(v.index)}function m(v,h){or(da,br(h))&&(g(v),Ae(h))}return{setup:Z(t.Media.set,{slideFocus:bt(i)?n:i},!0),mount:a,destroy:o,remount:s}}function ma(e,t,r){var n=te(e),i=n.bind,l=0;function a(){r.wheel&&i(t.Elements.track,"wheel",o,qe)}function o(f){if(f.cancelable){var u=f.deltaY,d=u<0,g=Qt(f),m=r.wheelMinThreshold||0,v=r.wheelSleep||0;ue(u)>m&&g-l>v&&(e.go(d?"<":">"),l=g),s(d)&&Ae(f)}}function s(f){return!r.releaseWheel||e.state.is(it)||t.Controller.getAdjacent(f)!==-1}return{mount:a}}var ga=90;function pa(e,t,r){var n=te(e),i=n.on,l=t.Elements.track,a=r.live&&!r.isNavigation,o=Qe("span",Pi),s=Ft(ga,Z(u,!1));function f(){a&&(g(!t.Autoplay.isPaused()),W(l,Vr,!0),o.textContent="â¦",i(tn,Z(g,!0)),i(rn,Z(g,!1)),i([At,at],Z(u,!0)))}function u(m){W(l,xr,m),m?(wt(l,o),s.start()):(je(o),s.cancel())}function d(){_e(l,[Or,Vr,xr]),je(o)}function g(m){a&&W(l,Or,m?"off":"polite")}return{mount:f,disable:g,destroy:d}}var ba=Object.freeze({__proto__:null,Media:Ii,Direction:Li,Elements:zi,Slides:Bi,Layout:Wi,Clones:Yi,Move:ji,Controller:$i,Arrows:qi,Autoplay:Qi,Cover:ea,Scroll:sa,Drag:oa,Keyboard:ca,LazyLoad:va,Pagination:fa,Sync:ha,Wheel:ma,Live:pa}),Ea={prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},wa={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace
19:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ui,i18n:Ea,reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function _a(e,t,r){var n=t.Slides;function i(){te(e).on([Xe,ne],l)}function l(){n.forEach(function(o){o.style("transform","translateX(-"+100*o.index+"%)")})}function a(o,s){n.style("transition","opacity "+r.speed+"ms "+r.easing),Br(s)}return{mount:i,start:a,cancel:Zt}}function ya(e,t,r){var n=t.Move,i=t.Controller,l=t.Scroll,a=t.Elements.list,o=Z(pe,a,"transition"),s;function f(){te(e).bind(a,"transitionend",function(m){m.target===a&&s&&(d(),s())})}function u(m,v){var h=n.toPosition(m,!0),_=n.getPosition(),b=g(m);ue(h-_)>=1&&b>=1?r.useScroll?l.scroll(h,b,!1,v):(o("transform "+b+"ms "+r.easing),n.translate(h,!0),s=v):(n.jump(m),v())}function d(){o(""),l.cancel()}function g(m){var v=r.rewindSpeed;if(e.is(nt)&&v){var h=i.getIndex(!0),_=i.getEnd();if(h===0&&m>=_||h>=_&&m===0)return v}return r.speed}return{mount:f,start:u,cancel:d}}var Aa=function(){function e(r,n){this.event=te(),this.Components={},this.state=Ti(Ze),this.splides=[],this._o={},this._E={};var i=Re(r)?Xr(document,r):r;ot(i,i+" is invalid."),this.root=i,n=Ne({label:be(i,me)||"",labelledby:be(i,hr)||""},wa,e.defaults,n||{});try{Ne(n,JSON.parse(be(i,ur)))}catch{ot(!1,"Invalid JSON")}this._o=Object.create(Ne({},n))}var t=e.prototype;return t.mount=function(n,i){var l=this,a=this.state,o=this.Components;ot(a.is([Ze,Pt]),"Already mounted!"),a.set(Ze),this._C=o,this._T=i||this._T||(this.is(St)?_a:ya),this._E=n||this._E;var s=ft({},ba,this._E,{Transition:this._T});return Ye(s,function(f,u){var d=f(l,o,l._o);o[u]=d,d.setup&&d.setup()}),Ye(o,function(f){f.mount&&f.mount()}),this.emit(Xe),we(this.root,Mi),a.set(rt),this.emit(Nr),this},t.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(rt)&&(this._C.Sync.remount(),n.Components.Sync.remount()),this},t.go=function(n){return this._C.Controller.go(n),this},t.on=function(n,i){return this.event.on(n,i),this},t.off=function(n){return this.event.off(n),this},t.emit=function(n){var i;return(i=this.event).emit.apply(i,[n].concat(Me(arguments,1))),this},t.add=function(n,i){return this._C.Slides.add(n,i),this},t.remove=function(n){return this._C.Slides.remove(n),this},t.is=function(n){return this._o.type===n},t.refresh=function(){return this.emit(ne),this},t.destroy=function(n){n===void 0&&(n=!0);var i=this.event,l=this.state;return l.is(Ze)?te(this).on(Nr,this.destroy.bind(this,n)):(Ye(this._C,function(a){a.destroy&&a.destroy(n)},!0),i.emit(Qr),i.destroy(),n&&Le(this.splides),l.set(Pt)),this},oi(e,[{key:"options",get:function(){return this._o},set:function(n){this._C.Media.set(n,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),Er=Aa;Er.defaults={};Er.STATES=ci;function Ur(e,t,r){const n=e.slice();return n[12]=t[r],n[14]=r,n}function Hr(e){let t,r,n,i,l;return{c(){t=R("li"),r=R("div"),n=R("img"),l=j(),this.h()},l(a){t=D(a,"LI",{class:!0});var o=B(t);r=D(o,"DIV",{class:!0});var s=B(r);n=D(s,"IMG",{src:!0,alt:!0,class:!0}),s.forEach(k),l=$(o),o.forEach(k),this.h()},h(){he(n.src,i=e[12])||w(n,"src",i),w(n,"alt","Screenshot"),w(n,"class","svelte-abevvb"),w(r,"class","svelte-abevvb"),w(t,"class","splide__slide svelte-abevvb")},m(a,o){le(a,t,o),T(t,r),T(r,n),T(t,l)},p:ie,d(a){a&&k(t)}}}function Ta(e){let t,r,n,i='<h1 class="heading svelte-abevvb">Screenshots</h1>',l,a,o,s,f,u,d,g,m,v,h,_,b,c,p,x,O;_n(e[4]);let V=_r(e[2]),E=[];for(let I=0;I<V.length;I+=1)E[I]=Hr(Ur(e,V,I));return{c(){t=R("div"),r=R("div"),n=R("div"),n.innerHTML=i,l=j(),a=R("div"),o=R("div"),s=R("button"),f=R("img"),d=j(),g=R("button"),m=R("img"),h=j(),_=R("div"),b=R("ul");for(let I=0;I<E.length;I+=1)E[I].c();c=j(),p=R("ul"),this.h()},l(I){t=D(I,"DIV",{class:!0});var P=B(t);r=D(P,"DIV",{class:!0});var A=B(r);n=D(A,"DIV",{class:!0,["data-svelte-h"]:!0}),se(n)!=="svelte-gnzwf1"&&(n.innerHTML=i),l=$(A),a=D(A,"DIV",{class:!0});var y=B(a);o=D(y,"DIV",{class:!0});var C=B(o);s=D(C,"BUTTON",{class:!0});var N=B(s);f=D(N,"IMG",{src:!0,alt:!0,class:!0}
19),N.forEach(k),d=$(C),g=D(C,"BUTTON",{class:!0});var U=B(g);m=D(U,"IMG",{src:!0,alt:!0,class:!0}),U.forEach(k),C.forEach(k),h=$(y),_=D(y,"DIV",{class:!0});var F=B(_);b=D(F,"UL",{class:!0});var X=B(b);for(let J=0;J<E.length;J+=1)E[J].l(X);X.forEach(k),F.forEach(k),c=$(y),p=D(y,"UL",{class:!0}),B(p).forEach(k),y.forEach(k),A.forEach(k),P.forEach(k),this.h()},h(){w(n,"class","container svelte-abevvb"),he(f.src,u=yr)||w(f,"src",u),w(f,"alt","Previous Image"),w(f,"class","svelte-abevvb"),w(s,"class","splide__arrow splide__arrow--prev svelte-abevvb"),he(m.src,v=yr)||w(m,"src",v),w(m,"alt","Next Image"),w(m,"class","svelte-abevvb"),w(g,"class","splide__arrow splide__arrow--next svelte-abevvb"),w(o,"class","splide__arrows svelte-abevvb"),w(b,"class","splide__list"),w(_,"class","splide__track"),w(p,"class","splide__pagination svelte-abevvb"),w(a,"class","splide svelte-abevvb"),tt(a,"is-moving",e[1]),w(r,"class","content svelte-abevvb"),w(t,"class","screenshots svelte-abevvb")},m(I,P){le(I,t,P),T(t,r),T(r,n),T(r,l),T(r,a),T(a,o),T(o,s),T(s,f),T(o,d),T(o,g),T(g,m),T(a,h),T(a,_),T(_,b);for(let A=0;A<E.length;A+=1)E[A]&&E[A].m(b,null);T(a,c),T(a,p),x||(O=Vt(window,"resize",e[4]),x=!0)},p(I,[P]){if(P&4){V=_r(I[2]);let A;for(A=0;A<V.length;A+=1){const y=Ur(I,V,A);E[A]?E[A].p(y,P):(E[A]=Hr(y),E[A].c(),E[A].m(b,null))}for(;A<E.length;A+=1)E[A].d(1);E.length=V.length}P&2&&tt(a,"is-moving",I[1])},i:ie,o:ie,d(I){I&&k(t),Sn(E,I),x=!1,O()}}}function Sa(e,t,r){let n=!1;function i(h){h===void 0&&(h=!n),r(3,n=h)}function l(){i(!1),document.body.removeEventListener("click",l)}function a(){document.body.addEventListener("click",l)}let o=0;const s=[Zn,Qn,ei,ti,ri,ni,ii,ai,si];let f,u=!1;ir(()=>{f=new Er(".screenshots .splide",{type:"loop",perPage:3,lazyLoad:!0,focus:"center",drag:"free",snap:!0,breakpoints:{768:{perPage:1},1024:{perPage:2}}}),f.on("move",()=>{r(1,u=!0)}),f.on("drag",()=>{r(1,u=!0)}),f.on("scroll",()=>{r(1,u=!0)}),f.on("moved",()=>{r(1,u=!1)}),f.on("dragged",()=>{r(1,u=!1)}),f.on("scrolled",()=>{r(1,u=!1)}),f.mount()});function d(){document.querySelector(".screenshots .splide__slide.is-active img")}let g=null;function m(){g&&clearTimeout(g),g=setTimeout(()=>{d(),g=null},50)}function v(){r(0,o=window.innerWidth)}return e.$$.update=()=>{e.$$.dirty&8&&a(),e.$$.dirty&1&&m()},[o,u,s,n,v]}class Ia extends Ve{constructor(t){super(),Pe(this,t,Sa,Ta,xe,{})}}function La(e){let t,r='<div class="heading svelte-tmw3rw"><h1 class="svelte-tmw3rw">Watch Trailer</h1></div> <div class="video svelte-tmw3rw"><iframe src="https://www.youtube-nocookie.com/embed/yRfM5O4fsH0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" class="svelte-tmw3rw"></iframe></div> <div class="cta svelte-tmw3rw"><a href="https://store.steampowered.com/app/2014550/Voidwrought/?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-tmw3rw">BUY ON STEAM</a> <a href="https://store.epicgames.com/en-US/p/voidwrought-ce8f4b?utm_source=microsite&utm_medium=cpc&utm_campaign=website_launch" target="_blank" class="wishlist svelte-tmw3rw">BUY ON EPIC</a> <a href="https://www.nintendo.com/en-gb/Games/Nintendo-Switch-download-software/Voidwrought-2664557.html" target="_blank" class="wishlist svelte-tmw3rw">BUY ON NINTENDO</a></div>';return{c(){t=R("div"),t.innerHTML=r,this.h()},l(n){t=D(n,"DIV",{id:!0,class:!0,["data-svelte-h"]:!0}),se(t)!=="svelte-s00dih"&&(t.innerHTML=r),this.h()},h(){w(t,"id","trailer"),w(t,"class","svelte-tmw3rw")},m(n,i){le(n,t,i)},p:ie,i:ie,o:ie,d(n){n&&k(t)}}}class Ca extends Ve{constructor(t){super(),Pe(this,t,null,La,xe,{})}}const Na=""+new URL("../assets/VWRT_SCREENSHOT.15f3e90a.webp",import.meta.url).href;function Ra(e){let t,r,n,i,l,a,o,s,f,u,d,g,m,v,h,_,b;return i=new Gn({}),a=new kn({}),s=new jn({}),u=new Ca({}),g=new Ia({}),v=new xn({}),_=new qn({}),{c(){t=R("meta"),r=R("meta"),n=j(),He(i.$$.fragment),l=j(),He(a.$$.fragment),o=j(),He(s.$$.fragment),f=j(),He(u.$$.fragment),d=j(),He(g.$$.fragment),m=j(),He(v.$$.fragment),h=j(),He(_.$$.fragment),this.h()},l(c){const p=In("svelte-ov2j0h",document.head);t=D(p,"META",{property:!0,content:!0}),r=D(p,"META",{name:!0,content:!0}
19),p.forEach(k),n=$(c),Fe(i.$$.fragment,c),l=$(c),Fe(a.$$.fragment,c),o=$(c),Fe(s.$$.fragment,c),f=$(c),Fe(u.$$.fragment,c),d=$(c),Fe(g.$$.fragment,c),m=$(c),Fe(v.$$.fragment,c),h=$(c),Fe(_.$$.fragment,c),this.h()},h(){document.title="Voidwrought",w(t,"property","og:image"),w(t,"content",Na),w(r,"name","description"),w(r,"content","Explore the thawing ruins of the First Civilisation in this cosmic horror Metroidvania.")},m(c,p){T(document.head,t),T(document.head,r),le(c,n,p),ze(i,c,p),le(c,l,p),ze(a,c,p),le(c,o,p),ze(s,c,p),le(c,f,p),ze(u,c,p),le(c,d,p),ze(g,c,p),le(c,m,p),ze(v,c,p),le(c,h,p),ze(_,c,p),b=!0},p:ie,i(c){b||(Ge(i.$$.fragment,c),Ge(a.$$.fragment,c),Ge(s.$$.fragment,c),Ge(u.$$.fragment,c),Ge(g.$$.fragment,c),Ge(v.$$.fragment,c),Ge(_.$$.fragment,c),b=!0)},o(c){Be(i.$$.fragment,c),Be(a.$$.fragment,c),Be(s.$$.fragment,c),Be(u.$$.fragment,c),Be(g.$$.fragment,c),Be(v.$$.fragment,c),Be(_.$$.fragment,c),b=!1},d(c){c&&(k(n),k(l),k(o),k(f),k(d),k(m),k(h)),k(t),k(r),We(i,c),We(a,c),We(s,c),We(u,c),We(g,c),We(v,c),We(_,c)}}}class Pa extends Ve{constructor(t){super(),Pe(this,t,null,Ra,xe,{})}}export{Pa as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.