vendor: 4,581 bytes, lines 1-2
1/* v1.0.8 â 26-08-2026 15:31:31 */ 2!function(){var e={353:function(e){e.exports=function(){"use strict";var e="millisecond",i="second",n="minute",r="hour",s="week",o="month",a="quarter",l="year",u="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,i,n){var r=String(e);return!r||r.length>=i?e:""+Array(i+1-r.length).join(n)+e},p="en",m={};m[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var i=["th","st","nd","rd"],n=e%100;return"["+e+(i[(n-20)%10]||i[n]||i[0])+"]"}};var g="$isDayjsObject",v=function(e){return e instanceof b||!(!e||!e[g])},y=function e(i,n,r){var s;if(!i)return p;if("string"==typeof i){var o=i.toLowerCase();m[o]&&(s=o),n&&(m[o]=n,s=o);var a=i.split("-");if(!s&&a.length>1)return e(a[0])}else{var l=i.name;m[l]=i,s=l}return!r&&s&&(p=s),s||!r&&p},w=function(e,i){if(v(e))return e.clone();var n="object"==typeof i?i:{};return n.date=e,n.args=arguments,new b(n)},_={s:f,z:function(e){var i=-e.utcOffset(),n=Math.abs(i);return(i<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(i,n){if(i.date()<n.date())return-e(n,i);var r=12*(n.year()-i.year())+(n.month()-i.month()),s=i.clone().add(r,o),a=n-s<0,l=i.clone().add(r+(a?-1:1),o);return+(-(r+(n-s)/(a?s-l:l-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:o,y:l,w:s,d:"day",D:u,h:r,m:n,s:i,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};_.l=y,_.i=v,_.w=function(e,i){return w(e,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var b=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var i=e.date,n=e.utc;if(null===i)return new Date(NaN);if(_.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var r=i.match(d);if(r){var s=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(i)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return _},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(e,i){var n=w(e);return this.startOf(i)<=n&&n<=this.endOf(i)},p.isAfter=function(e,i){return w(e)<this.startOf(i)},p.isBefore=function(e,i){return this.endOf(i)<w(e)},p.$g=function(e,i,n){return _.u(e)?this[i]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var c=this,d=!!_.u(a)||a,h=_.p(e),f=function(e,i){var n=_.w(c.$u?Date.UTC(c.$y,i,e):new Date(c.$y,i,e),c);return d?n:n.endOf("day")},p=function(e,i){return _.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(i)),c)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case l:return d?f(1,0):f(31,11);case o:return d?f(1,g):f(0,g+1);case s:var w=this.$locale().weekStart||0,b=(m<w?m+7:m)-w;return f(d?v-b:v+(6-b),g);case"day":case u:return p(y+"Hours",0);case r:return p(y+"Minutes",1);case n:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(s,a){var c,d=_.p(s),h="set"+(this.$u?"UTC":""),f=((c={}).day=h+"Date",c[u]=h+"Date",c[o]=h+"Month",c[l]=h+"FullYear",c[r]=h+"Hours",c[n]=h+"Minutes",c[i]=h+"Seconds",c[e]=h+"Milliseconds",c)[d],p="day"===d?this.$D+(a-this.$W):a;if(d===o||d===l){var m=this.clone().set(u,1);m.$d[f](p),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,i){return this.clone().$set(e,i)},p.get=function(e){return this[_.p(e)]()},p.add=function(e,a){var u,c=this;e=Number(e);var d=_.p(a),h=function(i){var n=w(c);return _.w(n.date(n.date()+Math.round(i*e)),c)};if(d===o)return this.set(o,this.$M+e);if(d===l)return this.set(l,this.$y+e);if("day"===d)return h(1);if(d===s)return h(7);var f=((u={})[n]=6e4,u[r]=36e5,u[i]=1e3,u)[d]||1,p=this.$d.getTime()+e*f;return _.w(p,this)}
2,p.subtract=function(e,i){return this.add(-1*e,i)},p.format=function(e){var i=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",s=_.z(this),o=this.$H,a=this.$m,l=this.$M,u=n.weekdays,d=n.months,f=n.meridiem,p=function(e,n,s,o){return e&&(e[n]||e(i,r))||s[n].slice(0,o)},m=function(e){return _.s(o%12||12,e,"0")},g=f||function(e,i,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(e,r){return r||function(e){switch(e){case"YY":return String(i.$y).slice(-2);case"YYYY":return _.s(i.$y,4,"0");case"M":return l+1;case"MM":return _.s(l+1,2,"0");case"MMM":return p(n.monthsShort,l,d,3);case"MMMM":return p(d,l);case"D":return i.$D;case"DD":return _.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return p(n.weekdaysMin,i.$W,u,2);case"ddd":return p(n.weekdaysShort,i.$W,u,3);case"dddd":return u[i.$W];case"H":return String(o);case"HH":return _.s(o,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return g(o,a,!0);case"A":return g(o,a,!1);case"m":return String(a);case"mm":return _.s(a,2,"0");case"s":return String(i.$s);case"ss":return _.s(i.$s,2,"0");case"SSS":return _.s(i.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,u,c){var d,h=this,f=_.p(u),p=w(e),m=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,v=function(){return _.m(h,p)};switch(f){case l:d=v()/12;break;case o:d=v();break;case a:d=v()/3;break;case s:d=(g-m)/6048e5;break;case"day":d=(g-m)/864e5;break;case r:d=g/36e5;break;case n:d=g/6e4;break;case i:d=g/1e3;break;default:d=g}return c?d:_.a(d)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return m[this.$L]},p.locale=function(e,i){if(!e)return this.$L;var n=this.clone(),r=y(e,i,!0);return r&&(n.$L=r),n},p.clone=function(){return _.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),S=b.prototype;return w.prototype=S,[["$ms",e],["$s",i],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",l],["$D",u]].forEach(function(e){S[e[1]]=function(i){return this.$g(i,e[0],e[1])}}),w.extend=function(e,i){return e.$i||(e(i,b,w),e.$i=!0),w},w.locale=y,w.isDayjs=v,w.unix=function(e){return w(1e3*e)},w.en=m[p],w.Ls=m,w.p={},w}()},494:function(e,i,n){e.exports=function(e){"use strict";var i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,n,r){var s=i[r];return Array.isArray(s)&&(s=s[+!n]),s.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(r,null,!0),r}(n(353))},879:function(e){var i,n;n=function(e,i,n){"use strict";var r,s,o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b,S,x,T,E,M,k,P,O,A,C,L,D,I,R,$,z,F,N,j,V,H,B,q,U,G,Y,W,X={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(W in er=e.lazySizesConfig||e.lazysizesConfig||{},X)W in er||(er[W]=X[W]);if(!i||!i.getElementsByClassName)return{init:function(){},cfg:er,noSupport:!0};var K,J,Z,Q,ee,et,ei,en,er,es=i.documentElement,eo=e.HTMLPictureElement,ea="addEventListener",el="getAttribute",eu=e[ea].bind(e),ec=e.setTimeout,ed=e.requestAnimationFrame||ec,eh=e.requestIdleCallback,ef=/^picture$/i,ep=["load","error","lazyincluded","_lazyloaded"],em={},eg=Array.prototype.forEach,ev=function(e,i){return em[i]||(em[i]=RegExp("(\\s|^)"+i+"(\\s|$)")),em[i].test(e[el]("class")||"")&&em[i]},ey=function(e,i){ev(e,i)||e.setAttribute("class",(e[el]("class")||"").trim()+" "+i)},ew=function(e,i){var n;(n=ev(e,i))&&e.setAttribute("class",(e[el]("class")||"").replace(n," "))},e_=function(e,i,n){var r=n?ea:"removeEventListener";n&&e_(e,i),ep.forEach(function(n){e[r](n,i)})},eb=function(e,n,r,s,o){var a=i.createEvent("Event");return r||(r={}),r.instance=en,a.initEvent(n,!s,!o),a.detail=r,e.dispatchEvent(a),a},eS=function(i,n){var r;!eo&&(r=e.picturefill||er.pf)?(n&&n.src&&!i[el]("srcset")&&i.setAttribute("srcset",n.src),r({reevaluate:!0,elements:[i]})):n&&n.src&&(i.src=n.src)},ex=function(e,i){return(getComputedStyle(e,null)||{})[i]},eT=function(e,i,n){for(n=n||e.offsetWidth;n<er.minSize&&i&&!e._lazysizesWidth;)n=i.offsetWidth,i=i.parentNode;return n},eE=(a=[],l=o=[],u=function(){var e=l;for(l=o.length?a:o,r=!0,s=!1;e.length;)e.shift()();r=!1},(c=function(e,n){r&&!n?e.apply(this,arguments):(l.push(e),s||(s=!0,(i.hidden?ec:ed)(u)))})._lsFlush=u,c),eM=function(e,i){return i?function(){eE(e)}:function(){var i=this,n=arguments;eE(function(){e.apply(i,n)})}},ek=function(e){var i,r,s=function(){i=null,e()},o=function(){var e=n.now()-r;e<99?ec(o,99-e):(eh||s)(s)};return function(){r=n.now(),i||(i=ec(o,99))}},eP=(x=/^img$/i,T=/^iframe$/i,E="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),M=0,k=0,P=-1,O=function(e){k--,e&&!(k<0)&&e.target||(k=0)},A=function(e){return null==S&&(S="hidden"==ex(i.body,"visibility")),S||"hidden"
2!=ex(e.parentNode,"visibility")||"hidden"!=ex(e,"visibility")},C=function(e,n){var r,s=e,o=A(e);for(y-=n,b+=n,w-=n,_+=n;o&&(s=s.offsetParent)&&s!=i.body&&s!=es;)(o=(ex(s,"opacity")||1)>0)&&"visible"!=ex(s,"overflow")&&(r=s.getBoundingClientRect(),o=_>r.left&&w<r.right&&b>r.top-1&&y<r.bottom+1);return o},K=L=function(){var e,n,r,s,o,a,l,u,c,f,m,x,T=en.elements;if((p=er.loadMode)&&k<8&&(e=T.length)){for(n=0,P++;n<e;n++)if(T[n]&&!T[n]._lazyRace){if(!E||en.prematureUnveil&&en.prematureUnveil(T[n])){j(T[n]);continue}if((u=T[n][el]("data-expand"))&&(a=+u)||(a=M),f||(f=!er.expand||er.expand<1?es.clientHeight>500&&es.clientWidth>500?500:370:er.expand,en._defEx=f,m=f*er.expFactor,x=er.hFac,S=null,M<m&&k<1&&P>2&&p>2&&!i.hidden?(M=m,P=0):M=p>1&&P>1&&k<6?f:0),c!==a&&(g=innerWidth+a*x,v=innerHeight+a,l=-1*a,c=a),(b=(r=T[n].getBoundingClientRect()).bottom)>=l&&(y=r.top)<=v&&(_=r.right)>=l*x&&(w=r.left)<=g&&(b||_||w||y)&&(er.loadHidden||A(T[n]))&&(h&&k<3&&!u&&(p<3||P<4)||C(T[n],a))){if(j(T[n]),o=!0,k>9)break}else!o&&h&&!s&&k<4&&P<4&&p>2&&(d[0]||er.preloadAfterLoad)&&(d[0]||!u&&(b||_||w||y||"auto"!=T[n][el](er.sizesAttr)))&&(s=d[0]||T[n])}s&&!o&&j(s)}},Z=0,Q=er.throttleDelay,ee=er.ricTimeout,et=function(){J=!1,Z=n.now(),K()},ei=eh&&ee>49?function(){eh(et,{timeout:ee}),ee!==er.ricTimeout&&(ee=er.ricTimeout)}:eM(function(){ec(et)},!0),D=function(e){var i;(e=!0===e)&&(ee=33),J||(J=!0,(i=Q-(n.now()-Z))<0&&(i=0),e||i<9?ei():ec(ei,i))},R=eM(I=function(e){var i=e.target;i._lazyCache?delete i._lazyCache:(O(e),ey(i,er.loadedClass),ew(i,er.loadingClass),e_(i,$),eb(i,"lazyloaded"))}),$=function(e){R({target:e.target})},z=function(e,i){var n=e.getAttribute("data-load-mode")||er.iframeLoadMode;0==n?e.contentWindow.location.replace(i):1==n&&(e.src=i)},F=function(e){var i,n=e[el](er.srcsetAttr);(i=er.customMedia[e[el]("data-media")||e[el]("media")])&&e.setAttribute("media",i),n&&e.setAttribute("srcset",n)},N=eM(function(e,i,n,r,s){var o,a,l,u,c,d;!(c=eb(e,"lazybeforeunveil",i)).defaultPrevented&&(r&&(n?ey(e,er.autosizesClass):e.setAttribute("sizes",r)),a=e[el](er.srcsetAttr),o=e[el](er.srcAttr),s&&(u=(l=e.parentNode)&&ef.test(l.nodeName||"")),d=i.firesLoad||"src"in e&&(a||o||u),c={target:e},ey(e,er.loadingClass),d&&(clearTimeout(f),f=ec(O,2500),e_(e,$,!0)),u&&eg.call(l.getElementsByTagName("source"),F),a?e.setAttribute("srcset",a):o&&!u&&(T.test(e.nodeName)?z(e,o):e.src=o),s&&(a||u)&&eS(e,{src:o})),e._lazyRace&&delete e._lazyRace,ew(e,er.lazyClass),eE(function(){var i=e.complete&&e.naturalWidth>1;(!d||i)&&(i&&ey(e,er.fastLoadedClass),I(c),e._lazyCache=!0,ec(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&k--},!0)}),j=function(e){if(!e._lazyRace){var i,n=x.test(e.nodeName),r=n&&(e[el](er.sizesAttr)||e[el]("sizes")),s="auto"==r;(s||!h)&&n&&(e[el]("src")||e.srcset)&&!e.complete&&!ev(e,er.errorClass)&&ev(e,er.lazyClass)||(i=eb(e,"lazyunveilread").detail,s&&eO.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,k++,N(e,i,s,r,n))}},V=ek(function(){er.loadMode=3,D()}),H=function(){3==er.loadMode&&(er.loadMode=2),V()},B=function(){if(!h){if(n.now()-m<999)return void ec(B,999);h=!0,er.loadMode=3,D(),eu("scroll",H,!0)}},{_:function(){m=n.now(),en.elements=i.getElementsByClassName(er.lazyClass),d=i.getElementsByClassName(er.lazyClass+" "+er.preloadClass),eu("scroll",D,!0),eu("resize",D,!0),eu("pageshow",function(e){if(e.persisted){var n=i.querySelectorAll("."+er.loadingClass);n.length&&n.forEach&&ed(function(){n.forEach(function(e){e.complete&&j(e)})})}}),e.MutationObserver?new MutationObserver(D).observe(es,{childList:!0,subtree:!0,attributes:!0}):(es[ea]("DOMNodeInserted",D,!0),es[ea]("DOMAttrModified",D,!0),setInterval(D,999)),eu("hashchange",D,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){i[ea](e,D,!0)}),/d$|^c/.test(i.readyState)?B():(eu("load",B),i[ea]("DOMContentLoaded",D),ec(B,2e4)),en.elements.length?(L(),eE._lsFlush()):D()},checkElems:D,unveil:j,_aLSL:H}),eO=(U=eM(function(e,i,n,r){var s,o,a;if(e._lazysizesWidth=r,r+="px",e.setAttribute("sizes",r),ef.test(i.nodeName||""))for(o=0,a=(s=i.getElementsByTagName("source")).length;o<a;o++)s[o].setAttribute("sizes",r);n.detail.dataAttr||eS(e,n.detail)}),G=function(e,i,n){var r,s=e.parentNode;s&&(n=eT(e,s,n),!(r=eb(e,"lazybeforesizes",{width:n,dataAttr:!!i})).defaultPrevented&&(n=r.detail.width)&&n!==e._lazysizesWidth&&U(e,s,r,n))},{_:function(){q=i.getElementsByClassName(er.autosizesClass),eu("resize",Y)},checkElems:Y=ek(function(){var e,i=q.length;if(i)for(e=0;e<i;
2e++)G(q[e])}),updateElem:G}),eA=function(){!eA.i&&i.getElementsByClassName&&(eA.i=!0,eO._(),eP._())};return ec(function(){er.init&&eA()}),en={cfg:er,autoSizer:eO,loader:eP,init:eA,uP:eS,aC:ey,rC:ew,hC:ev,fire:eb,gW:eT,rAF:eE}}(i="u">typeof window?window:{},i.document,Date),i.lazySizes=n,e.exports&&(e.exports=n)}},i={};function n(r){var s=i[r];if(void 0!==s)return s.exports;var o=i[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(i,{a:i}),i},n.d=function(e,i){for(var r in i)n.o(i,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},n.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},function(){"use strict";let e,i,r,s,o,a,l,u;n(879);var c=!1,d=!1,h=[],f=-1,p=!1;function m(e){let i=h.indexOf(e);-1!==i&&i>f&&h.splice(i,1)}function g(){d||c||p||(c=!0,queueMicrotask(v))}function v(){c=!1,d=!0;for(let e=0;e<h.length;e++)h[e](),f=e;h.length=0,f=-1,d=!1}var y=!0;function w(e,i){let n,r,s=!0,o=ow(()=>{let o=e(),a=JSON.stringify(o);if(!s&&("object"==typeof o||o!==n)){let e="object"==typeof n?JSON.parse(r):n;queueMicrotask(()=>{i(o,e)})}n=o,r=a,s=!1});return()=>o_(o)}async function _(e){p=!0;try{await e(),await Promise.resolve()}finally{p=!1,g()}}var b=[],S=[],x=[];function T(e,i){"function"==typeof i?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(i)):(i=e,S.push(i))}function E(e){b.push(e)}function M(e,i,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[i]||(e._x_attributeCleanups[i]=[]),e._x_attributeCleanups[i].push(n)}function k(e,i){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([n,r])=>{(void 0===i||i.includes(n))&&(r.forEach(e=>e()),delete e._x_attributeCleanups[n])})}var P=new MutationObserver($),O=!1;function A(){P.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),O=!0}function C(){let e,i;e=P.takeRecords(),L.push(()=>e.length>0&&$(e)),i=L.length,queueMicrotask(()=>{if(L.length===i)for(;L.length>0;)L.shift()()}),P.disconnect(),O=!1}var L=[];function D(e){if(!O)return e();C();let i=e();return A(),i}var I=!1,R=[];function $(e){if(I){R=R.concat(e);return}let i=[],n=new Set,r=new Map,s=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].removedNodes.forEach(e=>{1!==e.nodeType||e._x_marker&&n.add(e)}),e[o].addedNodes.forEach(e=>{1!==e.nodeType||(n.has(e)?n.delete(e):e._x_marker||i.push(e))})),"attributes"===e[o].type)){let i=e[o].target,n=e[o].attributeName,a=e[o].oldValue,l=()=>{r.has(i)||r.set(i,[]),r.get(i).push({name:n,value:i.getAttribute(n)})},u=()=>{s.has(i)||s.set(i,[]),s.get(i).push(n)};i.hasAttribute(n)&&null===a?l():i.hasAttribute(n)?(u(),l()):u()}for(let e of(s.forEach((e,i)=>{k(i,e)}),r.forEach((e,i)=>{b.forEach(n=>n(i,e))}),n))i.some(i=>i.contains(e))||S.forEach(i=>i(e));for(let e of i)e.isConnected&&x.forEach(i=>i(e));i=null,n=null,r=null,s=null}function z(e){return j(N(e))}function F(e,i,n){return e._x_dataStack=[i,...N(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter(e=>e!==i)}}function N(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?N(e.host):e.parentNode?N(e.parentNode):[]}function j(e){return new Proxy({objects:e},V)}var V={ownKeys:({objects:e})=>Array.from(new Set(e.flatMap(e=>Object.keys(e)))),has:({objects:e},i)=>i!=Symbol.unscopables&&e.some(e=>Object.prototype.hasOwnProperty.call(e,i)||Reflect.has(e,i)),get:({objects:e},i,n)=>"toJSON"==i?H:Reflect.get(e.find(e=>Reflect.has(e,i))||{},i,n),set({objects:e},i,n,r){let s;for(let n of e)if(s=function e(i,n){return null===i||i===Object.prototype?null:Object.prototype.hasOwnProperty.call(i,n)?i:e(Object.getPrototypeOf(i),n)}(n,i))break;s||(s=e[e.length-1]);let o=Object.getOwnPropertyDescriptor(s,i);return o?.set&&o?.get?o.set.call(r,n)||!0:Reflect.set(s,i,n)}};function H(){return Reflect.ownKeys(this).reduce((e,i)=>(e[i]=Reflect.get(this,i),e),{})}function B(e){let i=(n,r="")=>
2{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([s,{value:o,enumerable:a}])=>{if(!1===a||void 0===o||"object"==typeof o&&null!==o&&o.__v_skip)return;let l=""===r?s:`${r}.${s}`;if("object"==typeof o&&null!==o&&o._x_interceptor)n[s]=o.initialize(e,l,s);else"object"!=typeof o||Array.isArray(o)||null===o||o===n||o instanceof Element||i(o,l)})};return i(e)}function q(e,i=()=>{}){let n={initialValue:void 0,_x_interceptor:!0,initialize(i,n,r){return e(this.initialValue,()=>{var e;return e=i,n.split(".").reduce((e,i)=>e[i],e)},e=>(function e(i,n,r){if("string"==typeof n&&(n=n.split(".")),1===n.length)i[n[0]]=r;else if(0!==n.length)return i[n[0]]||(i[n[0]]={}),e(i[n[0]],n.slice(1),r);else throw error})(i,n,e),n,r)}};return i(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let i=n.initialize.bind(n);n.initialize=(r,s,o)=>(n.initialValue=e.initialize(r,s,o),i(r,s,o))}else n.initialValue=e;return n}}var U={};function G(e,i){let n=function(e){let[i,n]=eh(e),r={interceptor:q,...i};return T(e,n),r}(i);
2return Object.entries(U).forEach(([r,s])=>{Object.defineProperty(e,`$${r}`,{get:()=>s(i,n),enumerable:!1})}),e}function Y(e,i,n,...r){try{return n(...r)}catch(n){W(n,e,i)}}function W(...e){return X(...e)}var X=function(e,i,n){e=Object.assign(e??{message:"No error message given."},{el:i,expression:n}),console.warn(`Alpine Expression Error: ${e.message} 3 4${n?'Expression: "'+n+'"\n\n':""}`,i),setTimeout(()=>{throw e},0)},K=!0;function J(e){let i=K;K=!1;let n=e();return K=i,n}function Z(e,i,n={}){let r;return Q(e,i)(e=>r=e,n),r}function Q(...e){return ee(...e)}var ee=()=>{},et={};function ei(e,i,n,r,s){if(K&&"function"==typeof i){let o=i.apply(n,r);o instanceof Promise?o.then(i=>ei(e,i,n,r)).catch(e=>W(e,s,i)):e(o)}else"object"==typeof i&&i instanceof Promise?i.then(i=>e(i)):e(i)}var en="x-";function er(e=""){return en+e}var es={};function eo(e,i){return es[e]=i,{before(i){if(!es[i])return void console.warn(String.raw`Cannot find directive \`${i}\`. \`${e}\` will use the default order of execution`);let n=e_.indexOf(i);e_.splice(n>=0?n:e_.indexOf("DEFAULT"),0,e)}}}function ea(e,i,n){var r,s;if(i=Array.from(i),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map(([e,i])=>({name:e,value:i})),r=el(n);n=n.map(e=>r.find(i=>i.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),i=i.concat(n)}let o={};return i.map(ep((e,i)=>o[e]=i)).filter(ev).map((r=o,s=n,({name:e,value:i})=>{e===i&&(i="");let n=e.match(ey()),o=e.match(/:([a-zA-Z0-9\-_:]+)/),a=e.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],l=s||r[e]||e;return{type:n?n[1]:null,value:o?o[1]:null,modifiers:a.map(e=>e.replace(".","")),expression:i,original:l}})).sort(eb).map(i=>(function(e,i){let n=es[i.type]||(()=>{}),[r,s]=eh(e);M(e,i.original,s);let o=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,i,r),n=n.bind(n,e,i,r),eu?ec.get(ed).push(n):n())};return o.runCleanups=s,o})(e,i))}function el(e){return Array.from(e).map(ep()).filter(e=>!ev(e))}var eu=!1,ec=new Map,ed=Symbol();function eh(e){let i,n=[],[r,s]=(i=()=>{},[n=>{let r=ow(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(e=>e())}),e._x_effects.add(r),i=()=>{void 0!==r&&(e._x_effects.delete(r),o_(r))},r},()=>{i()}]);return n.push(s),[{Alpine:tl,effect:r,cleanup:e=>n.push(e),evaluateLater:Q.bind(Q,e),evaluate:Z.bind(Z,e)},()=>n.forEach(e=>e())]}var ef=(e,i)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,i)),{name:n,value:r});function ep(e=()=>{}){return({name:i,value:n})=>{let{name:r,value:s}=em.reduce((e,i)=>i(e),{name:i,value:n});return r!==i&&e(r,i),{name:r,value:s}}}var em=[];function eg(e){em.push(e)}function ev({name:e}){return ey().test(e)}var ey=()=>RegExp(`^${en}([^:^.]+)\\b`),ew="DEFAULT",e_=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",ew,"teleport"];function eb(e,i){let n=-1===e_.indexOf(e.type)?ew:e.type,r=-1===e_.indexOf(i.type)?ew:i.type;return e_.indexOf(n)-e_.indexOf(r)}function eS(e,i,n={},r={}){return e.dispatchEvent(new CustomEvent(i,{detail:n,bubbles:!0,composed:!0,cancelable:!0,...r}))}function ex(e,i){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach(e=>ex(e,i));let n=!1;if(i(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)ex(r,i),r=r.nextElementSibling}function eT(e,...i){console.warn(`Alpine Warning: ${e}`,...i)}var eE=!1,eM=[],ek=[];function eP(){return eM.map(e=>e())}function eO(){return eM.concat(ek).map(e=>e())}function eA(e){eM.push(e)}function eC(e){ek.push(e)}function eL(e,i=!1){return eD(e,e=>{if((i?eO():eP()).some(i=>e.matches(i)))return!0})}function eD(e,i){return e?i(e)?e:e._x_teleportBack?eD(e._x_teleportBack,i):e.parentNode instanceof ShadowRoot?eD(e.parentNode.host,i):e.parentElement?eD(e.parentElement,i):void 0:void 0}var eI=[],eR=1;function e$(e,i=ex,n=()=>{}){if(!eD(e,e=>e._x_ignore)){let r;eu=!0,ed=r=Symbol(),ec.set(r,[]),(()=>{i(e,(e,i)=>{!e._x_marker&&(n(e,i),eI.forEach(n=>n(e,i)),ea(e,e.attributes).forEach(e=>e()),e._x_ignore||(e._x_marker=eR++),e._x_ignore&&i())})})(),eu=!1,(()=>{for(;ec.get(r).length;)ec.get(r).shift()();ec.delete(r)})()}}function ez(e,i=ex){i(e,e=>{for(e._x_effects?.forEach(m);e._x_cleanups?.length;)e._x_cleanups.pop()();k(e),delete e._x_marker})}var eF=[],eN=!1;function ej(e=()=>{}){return queueMicrotask(()=>{eN||setTimeout(()=>{eV()})}),new Promise(i=>{eF.push(()=>{e(),i()})})}function eV(){for(eN=!1;eF.length;)eF.shift()()}function eH(e,i){if(Array.isArray(i))return eq(e,i.join(" "));if("object"==typeof i&&null!==i){var n,r;let s,o,a,l;return n=e,s=Object.entries(r=i).flatMap(([e,i])=>
4!!i&&eB(e)).filter(Boolean),o=Object.entries(r).flatMap(([e,i])=>!i&&eB(e)).filter(Boolean),a=[],l=[],o.forEach(e=>{n.classList.contains(e)&&(n.classList.remove(e),l.push(e))}),s.forEach(e=>{n.classList.contains(e)||(n.classList.add(e),a.push(e))}),()=>{l.forEach(e=>n.classList.add(e)),a.forEach(e=>n.classList.remove(e))}}return"function"==typeof i?eH(e,i()):eq(e,i)}function eB(e){return e.split(/\s/).filter(Boolean)}function eq(e,i){var n;return n=eB(i=!0===i?i="":i||"").filter(i=>!e.classList.contains(i)).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)}}function eU(e,i){var n,r,s;let o,a;return"object"==typeof i&&null!==i?(n=e,o={},Object.entries(i).forEach(([e,i])=>{o[e]=n.style[e],e.startsWith("--")||(e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),n.style.setProperty(e,i)}),setTimeout(()=>{0===n.style.length&&n.removeAttribute("style")}),()=>{eU(n,o)}):(r=e,s=i,a=r.getAttribute("style",s),r.setAttribute("style",s),()=>{r.setAttribute("style",a||"")})}function eG(e,i=()=>{}){let n=!1;return function(){n?i.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function eY(e,i,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=()=>{},r=()=>{}){eW(e,i,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=()=>{},r=()=>{}){eW(e,i,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function eW(e,i,{during:n,start:r,end:s}={},o=()=>{},a=()=>{}){var l,u;let c,d,h,f,p,m,g;if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(s).length){o(),a();return}l=e,u={start(){c=i(e,r)},during(){d=i(e,n)},before:o,end(){c(),h=i(e,s)},after:a,cleanup(){d(),h()}},g=eG(()=>{D(()=>{f=!0,p||u.before(),m||(u.end(),eV()),u.after(),l.isConnected&&u.cleanup(),delete l._x_transitioning})}),l._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:eG(function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();g()}),finish:g},D(()=>{u.start(),u.during()}),eN=!0,requestAnimationFrame(()=>{if(f)return;let e=1e3*Number(getComputedStyle(l).transitionDuration.replace(/,.*/,"").replace("s","")),i=1e3*Number(getComputedStyle(l).transitionDelay.replace(/,.*/,"").replace("s",""));0===e&&(e=1e3*Number(getComputedStyle(l).animationDuration.replace("s",""))),D(()=>{u.before()}),p=!0,requestAnimationFrame(()=>{f||(D(()=>{u.end()}),eV(),setTimeout(l._x_transitioning.finish,e+i),m=!0)})})}function eX(e,i,n){if(-1===e.indexOf(i))return n;let r=e[e.indexOf(i)+1];if(!r||"scale"===i&&isNaN(r))return n;if("duration"===i||"delay"===i){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===i&&["top","right","left","center","bottom"].includes(e[e.indexOf(i)+2])?[r,e[e.indexOf(i)+2]].join(" "):r}eo("transition",(e,{value:i,modifiers:n,expression:r},{evaluate:s})=>{var o,a,l,u,c,d;let h,f,p,m,g,v,y,w,_,b,S,x,T,E;"function"==typeof r&&(r=s(r)),!1!==r&&(r&&"boolean"!=typeof r?(o=e,a=r,l=i,eY(o,eH,""),({enter:e=>{o._x_transition.enter.during=e},"enter-start":e=>{o._x_transition.enter.start=e},"enter-end":e=>{o._x_transition.enter.end=e},leave:e=>{o._x_transition.leave.during=e},"leave-start":e=>{o._x_transition.leave.start=e},"leave-end":e=>{o._x_transition.leave.end=e}})[l](a)):(u=e,c=n,d=i,eY(u,eU),f=(h=!c.includes("in")&&!c.includes("out")&&!d)||c.includes("in")||["enter"].includes(d),p=h||c.includes("out")||["leave"].includes(d),c.includes("in")&&!h&&(c=c.filter((e,i)=>i<c.indexOf("out"))),c.includes("out")&&!h&&(c=c.filter((e,i)=>i>c.indexOf("out"))),g=(m=!c.includes("opacity")&&!c.includes("scale"))||c.includes("opacity"),v=m||c.includes("scale"),y=+!g,w=v?eX(c,"scale",95)/100:1,_=eX(c,"delay",0)/1e3,b=eX(c,"origin","center"),S="opacity, transform",x=eX(c,"duration",150)/1e3,T=eX(c,"duration",75)/1e3,E="cubic-bezier(0.4, 0.0, 0.2, 1)",f&&(u._x_transition.enter.during={transformOrigin:b,transitionDelay:`${_}s`,transitionProperty:S,transitionDuration:`${x}s`,transitionTimingFunction:E},u._x_transition.enter.start={opacity:y,transform:`scale(${w})`},u._x_transition.enter.end={opacity:1,transform:"scale(1)"}),p&&(u._x_transition.leave.during={transformOrigin:b,transitionDelay:`${_}s`,transitionProperty:S,transitionDuration:`${T}s`,transitionTimingFunction:E},u._x_transition.leave.start={opacity:1,transform:"scale(1)"},u._x_transition.leave.end={opacity:y,transform:`scale(${w})`})))}),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,i,n,r){let s="visible"===document.visibilityState?requestAnimationFrame:setTimeout;i?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):s(n):e._x_transition?e._x_transition.in(n):s(n):(e._x_hidePromise=e._x_transition?new Promise((i,n)=>{e._x_transition.out(()=>{},()=>i(r)),e._x_transitioning&&e._x_transitioning.beforeCancel(()=>n({isFromCancelledTransition:!0}))}):Promise.resolve(r),queueMicrotask(()=>{let i=function e(i){let n=i.parentNode;if(n)return n._x_hidePromise?n:e(n)}(e);i?(i._x_hideChildren||(i._x_hideChildren=[]),i._x_hideChildren.push(e)):s(()=>{let i=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(i)]).then(([e])=>e?.());return delete e._x_hidePromise,delete e._x_hideChildren,n};i(e).catch(e=>{if(!e.isFromCancelledTransition)throw e})})}))};var eK=!1;function eJ(e,i=()=>{}){return(...n)=>eK?i(...n):e(...n)}var eZ=[];function eQ(e){eZ.push(e)}var e0=!1;function e1(e){let i=ow;ow=(e,n)=>{let r=i(e);return o_(r),()=>{}},e(),ow=i}function e2(e,i,n,r=[]){var s,o,a,l,u,c,d,h,f,p;switch(!e._x_bindings&&(e._x_bindings=oy({})),e._x_bindings[i]=n,i=r.includes("camel")?i.toLowerCase().replace(/-(\w)/g,(e,i)=>i.toUpperCase()):i){case"value":!function(e,i){if(e9(e))void 0===e.attributes.value&&(e.value=i);else if(e8(e))Number.isInteger(i)?e.value=i:Array.isArray(i)||"boolean"==typeof i||[null,void 0].includes(i)?Array.isArray(i)?e.checked=i.some(i=>i==e.value):e.checked=!!i:e.value=String(i);else if("SELECT"===e.tagName){var n;let r;n=e,r=[].concat(i).map(e=>
4e+""),Array.from(n.options).forEach(e=>{e.selected=r.includes(e.value)})}else{if(e.value===i)return;e.value=void 0===i?"":i}}(e,n);break;case"style":s=e,o=n,s._x_undoAddedStyles&&s._x_undoAddedStyles(),s._x_undoAddedStyles=eU(s,o);break;case"class":a=e,l=n,a._x_undoAddedClasses&&a._x_undoAddedClasses(),a._x_undoAddedClasses=eH(a,l);break;case"selected":case"checked":e5(u=e,c=i,d=n),h=u,f=c,p=d,h[f]!==p&&(h[f]=p);break;default:e5(e,i,n)}}function e5(e,i,n){var r,s,o,a;[null,void 0,!1].includes(n)&&!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(i)?e.removeAttribute(i):(r=i,e4.has(r)&&(n=i),s=e,o=i,a=n,s.getAttribute(o)!=a&&s.setAttribute(o,a))}function e3(e){return!![1,"1","true","on","yes",!0].includes(e)||![0,"0","false","off","no",!1].includes(e)&&(e?!!e:null)}var e4=new Set(["allowfullscreen","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","inert","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","shadowrootclonable","shadowrootdelegatesfocus","shadowrootserializable"]);function e6(e,i,n){let r=e.getAttribute(i);return null===r?"function"==typeof n?n():n:""===r||(e4.has(i)?!![i,"true"].includes(r):r)}function e8(e){return"checkbox"===e.type||"ui-checkbox"===e.localName||"ui-switch"===e.localName}function e9(e){return"radio"===e.type||"ui-radio"===e.localName}function e7(e,i){let n;return function(){let r=this,s=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(r,s)},i)}}function te(e,i){let n;return function(){let r=arguments;n||(e.apply(this,r),n=!0,setTimeout(()=>n=!1,i))}}function tt({get:e,set:i},{get:n,set:r}){let s,o=!0,a=ow(()=>{let a=e(),l=n();if(o)r(ti(a)),o=!1;else{let e=JSON.stringify(a),n=JSON.stringify(l);e!==s?r(ti(a)):e!==n&&i(ti(l))}s=JSON.stringify(e()),JSON.stringify(n())});return()=>{o_(a)}}function ti(e){return"object"==typeof e?JSON.parse(JSON.stringify(e)):e}var tn={},tr=!1,ts={};function to(e,i,n){let r=[];for(;r.length;)r.pop()();let s=Object.entries(i).map(([e,i])=>({name:e,value:i})),o=el(s);return ea(e,s=s.map(e=>o.find(i=>i.name===e.name)?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e),n).map(e=>{r.push(e.runCleanups),e()}),()=>{for(;r.length;)r.pop()()}}var ta={},tl={get reactive(){return oy},get release(){return o_},get effect(){return ow},get raw(){return ob},get transaction(){return _},version:"3.15.11",flushAndStopDeferringMutations:function(){I=!1,$(R),R=[]},dontAutoEvaluateFunctions:J,disableEffectScheduling:function(e){y=!1,e(),y=!0},startObservingMutations:A,stopObservingMutations:C,setReactivityEngine:function(e){oy=e.reactive,o_=e.release,ow=i=>e.effect(i,{scheduler:e=>{y?(h.includes(e)||h.push(e),g()):e()}}),ob=e.raw},onAttributeRemoved:M,onAttributesAdded:E,closestDataStack:N,skipDuringClone:eJ,onlyDuringClone:function(e){return(...i)=>eK&&e(...i)},addRootSelector:eA,addInitSelector:eC,setErrorHandler:function(e){X=e},interceptClone:eQ,addScopeToNode:F,deferMutations:function(){I=!0},mapAttributes:eg,evaluateLater:Q,interceptInit:function(e){eI.push(e)},initInterceptors:B,injectMagics:G,setEvaluator:function(e){ee=e},setRawEvaluator:function(e){oS=e},mergeProxies:j,extractProp:function(e,i,n,r=!0){if(e._x_bindings&&void 0!==e._x_bindings[i])return e._x_bindings[i];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[i]){let n=e._x_inlineBindings[i];return n.extract=r,J(()=>Z(e,n.expression))}return e6(e,i,n)},findClosest:eD,onElRemoved:T,closestRoot:eL,destroyTree:ez,interceptor:q,transition:eW,setStyles:eU,mutateDom:D,directive:eo,entangle:tt,throttle:te,debounce:e7,evaluate:Z,evaluateRaw:function(...e){return oS(...e)}
4,initTree:e$,nextTick:ej,prefixed:er,prefix:function(e){en=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach(e=>e(tl))},magic:function(e,i){U[e]=i},store:function(e,i){if(tr||(tn=oy(tn),tr=!0),void 0===i)return tn[e];tn[e]=i,B(tn[e]),"object"==typeof i&&null!==i&&i.hasOwnProperty("init")&&"function"==typeof i.init&&tn[e].init()},start:function(){eE&&eT("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),eE=!0,document.body||eT("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),eS(document,"alpine:init"),eS(document,"alpine:initializing"),A(),x.push(e=>e$(e,ex)),T(e=>ez(e)),E((e,i)=>{ea(e,i).forEach(e=>e())}),Array.from(document.querySelectorAll(eO().join(","))).filter(e=>!eL(e.parentElement,!0)).forEach(e=>{e$(e)}),eS(document,"alpine:initialized"),setTimeout(()=>{[["ui","dialog",["[x-dialog], [x-popover]"]],["anchor","anchor",["[x-anchor]"]],["sort","sort",["[x-sort]"]]].forEach(([e,i,n])=>{Object.keys(es).includes(i)||n.some(i=>{if(document.querySelector(i))return eT(`found "${i}", but missing ${e} plugin`),!0})})})},clone:function(e,i){i._x_dataStack||(i._x_dataStack=e._x_dataStack),eK=!0,e0=!0,e1(()=>{let e;e=!1,e$(i,(i,n)=>{ex(i,(i,r)=>{if(e&&eP().some(e=>i.matches(e)))return r();e=!0,n(i,r)})})}),eK=!1,e0=!1},cloneNode:function(e,i){eZ.forEach(n=>n(e,i)),eK=!0,e1(()=>{e$(i,(e,i)=>{i(e,()=>{})})}),eK=!1},bound:function(e,i,n){return e._x_bindings&&void 0!==e._x_bindings[i]?e._x_bindings[i]:e6(e,i,n)},$data:z,watch:w,walk:ex,data:function(e,i){ta[e]=i},bind:function(e,i){let n="function"!=typeof i?()=>i:i;return e instanceof Element?to(e,n()):(ts[e]=n,()=>{})}},tu=Object.freeze({});Object.freeze([]);var tc=Object.prototype.hasOwnProperty,td=Array.isArray,th=e=>"symbol"==typeof e,tf=e=>null!==e&&"object"==typeof e,tp=Object.prototype.toString,tm=e=>{let i;return(i=e,tp.call(i)).slice(8,-1)},tg=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,tv=e=>{let i=Object.create(null);return n=>i[n]||(i[n]=e(n))},ty=/-(\w)/g;tv(e=>e.replace(ty,(e,i)=>i?i.toUpperCase():""));var tw=/\B([A-Z])/g;tv(e=>e.replace(tw,"-$1").toLowerCase());var t_=tv(e=>e.charAt(0).toUpperCase()+e.slice(1));tv(e=>e?`on${t_(e)}`:"");var tb=(e,i)=>e!==i&&(e==e||i==i),tS=new WeakMap,tx=[],tT=Symbol("iterate"),tE=Symbol("Map key iterate"),tM=0;function tk(e){let{deps:i}=e;if(i.length){for(let n=0;n<i.length;n++)i[n].delete(e);i.length=0}}var tP=!0,tO=[];function tA(){let e=tO.pop();tP=void 0===e||e}function tC(e,i,n){if(!tP||void 0===ox)return;let r=tS.get(e);r||tS.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=new Set),!s.has(ox)&&(s.add(ox),ox.deps.push(s),ox.options.onTrack&&ox.options.onTrack({effect:ox,target:e,type:i,key:n}))}function tL(e,i,n,r,s,o){let a=tS.get(e);if(!a)return;let l=new Set,u=e=>{e&&e.forEach(e=>{(e!==ox||e.allowRecurse)&&l.add(e)})};if("clear"===i)a.forEach(u);else if("length"===n&&td(e))a.forEach((e,i)=>{("length"===i||i>=r)&&u(e)});else switch(void 0!==n&&u(a.get(n)),i){case"add":if(td(e))tg(n)&&u(a.get("length"));else{let i;u(a.get(tT));"[object Map]"===(i=e,tp.call(i))&&u(a.get(tE))}break;case"delete":if(!td(e)){let i;u(a.get(tT));"[object Map]"===(i=e,tp.call(i))&&u(a.get(tE))}break;case"set":let c;"[object Map]"===(c=e,tp.call(c))&&u(a.get(tT))}l.forEach(a=>{a.options.onTrigger&&a.options.onTrigger({effect:a,target:e,key:n,type:i,newValue:r,oldValue:s,oldTarget:o}),a.options.scheduler?a.options.scheduler(a):a()})}var tD=function(e){let i=Object.create(null),n=e.split(",");for(let e=0;e<n.length;e++)i[n[e]]=!0;return e=>!!i[e]}("__proto__,__v_isRef,__isVue"),tI=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(th)),tR=tF(),t$=tF(!0),tz=(u={},["includes","indexOf","lastIndexOf"].forEach(e=>{u[e]=function(...i){let n=io(this);for(let e=0,i=this.length;e<i;e++)tC(n,"get",e+"");let r=n[e](...i);return -1===r||!1===r?n[e](...i.map(io)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{u[e]=function(...i){tO.push(tP),tP=!1;let n=io(this)[e].apply(this,i);return tA(),n}}),u);function tF(e=!1,i=!1){return function(n,r,s){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&s===(e?i?it:ie:i?t7:t9).get(n))return n;let o=td(n);if(!e&&o&&tc.call(tz,r))return Reflect.get(tz,r,s);let a=Reflect.get(n,r,s);return(th(r)?tI.has(r):tD(r))||(e||tC(n,"get",r),i)?a:ia(a)?o&&tg(r)?a:a.value:tf(a)?e?ir(a):ii(a):a}}var tN={get:tR,set:function(e=!1){return function(i,n,r,s){let o=i[n];if(!e&&(r=io(r),o=io(o),!td(i)&&ia(o)&&!ia(r)))return o.value=r,!0;let a=td(i)&&tg(n)?Number(n)<i.length:tc.call(i,n),l=Reflect.set(i,n,r,s);return i===io(s)&&(a?tb(r,o)&&tL(i,"set",n,r,o):tL(i,"add",n,r)),l}}(),deleteProperty:function(e,i){let n=tc.call(e,i),r=e[i],s=Reflect.deleteProperty(e,i);return s&&n&&tL(e,"delete",i,void 0,r),s},has:function(e,i){let n=Reflect.has(e,i);return th(i)&&tI.has(i)||tC(e,"has",i),n},ownKeys:function(e){return tC(e,"iterate",td(e)?"length":tT),Reflect.ownKeys(e)}},tj={get:t$,set:(e,i)=>(console.warn(`Set operation on key "${String(i)}" failed: target is readonly.`,e),!0),deleteProperty:(e,i)=>(console.warn(`Delete operation on key "${String(i)}" failed: target is readonly.`,e),!0)},tV=e=>tf(e)?ii(e):e,tH=e=>tf(e)?ir(e):e,tB=e=>e;function tq(e,i,n=!1,r=!1){let s=io(e=e.__v_raw),o=io(i);i!==o&&(n||tC(s,"get",i)),n||tC(s,"get",o);let{has:a}=Reflect.getPrototypeOf(s),l=r?tB:n?tH:tV;return a.call(s,i)?l(e.get(i)):a.call(s,o)?l(e.get(o)):void(e!==s&&e.get(i))}function tU(e,i=!1){let n=this.__v_raw,r=io(n),s=io(e);return e!==s&&(i||tC(r,"has",e)),i||tC(r,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function tG(e,i=!1){return e=e.__v_raw,i||tC(io(e),"iterate",tT),Reflect.get(e,"size",e)}function tY(e){e=io(e);let i=io(this);return Reflect.getPrototypeOf(i).has.call(i,e)||(i.add(e),tL(i,"add",e,e)),this}function tW(e,i){i=io(i);let n=io(this),{has:r,get:s}=Reflect.getPrototypeOf(n),o=r.call(n,e);o?t8(n,r,e):(e=io(e),o=r.call(n,e));let a=s.call(n,e);return n.set(e,i),o?tb(i,a)&&tL(n,"set",e,i,a):tL(n,"add",e,i),this}function tX(e){let i=io(this),{has:n,get:r}=Reflect.getPrototypeOf(i),s=n.call(i,e);s?t8(i,n,e):(e=io(e),s=n.call(i,e));let o=r?r.call(i,e):void 0,a=i.delete(e);return s&&tL(i,"delete",e,void 0,o),a}function tK(){let e,i=io(this),n=0!==i.size,r="[object Map]"===(e=i,tp.call(e))?new Map(i):new Set(i),s=i.clear();return n&&tL(i,"clear",void 0,void 0,r),s}function tJ(e,i){return function(n,r){let s=this,o=s.__v_raw,a=io(o),l=i?tB:e?tH:tV;return e||tC(a,"iterate",tT),o.forEach((e,i)=>n.call(r,l(e),l(i),s))}}function tZ(e,i,n){return function(...r){let s,o=this.__v_raw,a=io(o),l="[object Map]"===(s=a,tp.call(s)),u="entries"===e||e===Symbol.iterator&&l,c=o[e](...r),d=n?tB:i?tH:tV;return i||tC(a,"iterate","keys"===e&&l?tE:tT),{next(){let{value:e,done:i}=c.next();return i?{value:e,done:i}:{value:u?[d(e[0]),d(e[1])]:d(e),done:i}},[Symbol.iterator](){return this}}}}function tQ(e){return function(...i){{let n=i[0]?`on key "${i[0]}" `:"";console.warn(`${t_(e)} operation ${n}failed: target is readonly.`,io(this))}return"delete"!==e&&this}}var[t0,t1,t2,t5]=(s={get(e){return tq(this,e)},get size(){return tG(this)}
4,has:tU,add:tY,set:tW,delete:tX,clear:tK,forEach:tJ(!1,!1)},o={get(e){return tq(this,e,!1,!0)},get size(){return tG(this)},has:tU,add:tY,set:tW,delete:tX,clear:tK,forEach:tJ(!1,!0)},a={get(e){return tq(this,e,!0)},get size(){return tG(this,!0)},has(e){return tU.call(this,e,!0)},add:tQ("add"),set:tQ("set"),delete:tQ("delete"),clear:tQ("clear"),forEach:tJ(!0,!1)},l={get(e){return tq(this,e,!0,!0)},get size(){return tG(this,!0)},has(e){return tU.call(this,e,!0)},add:tQ("add"),set:tQ("set"),delete:tQ("delete"),clear:tQ("clear"),forEach:tJ(!0,!0)},["keys","values","entries",Symbol.iterator].forEach(e=>{s[e]=tZ(e,!1,!1),a[e]=tZ(e,!0,!1),o[e]=tZ(e,!1,!0),l[e]=tZ(e,!0,!0)}),[s,a,o,l]);function t3(e,i){let n=i?e?t5:t2:e?t1:t0;return(i,r,s)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?i:Reflect.get(tc.call(n,r)&&r in i?n:i,r,s)}var t4={get:t3(!1,!1)},t6={get:t3(!0,!1)};function t8(e,i,n){let r=io(n);if(r!==n&&i.call(e,r)){let i=tm(e);console.warn(`Reactive ${i} contains both the raw and reactive versions of the same object${"Map"===i?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var t9=new WeakMap,t7=new WeakMap,ie=new WeakMap,it=new WeakMap;function ii(e){return e&&e.__v_isReadonly?e:is(e,!1,tN,t4,t9)}function ir(e){return is(e,!0,tj,t6,ie)}function is(e,i,n,r,s){if(!tf(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(i&&e.__v_isReactive))return e;let o=s.get(e);if(o)return o;let a=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(tm(e));if(0===a)return e;let l=new Proxy(e,2===a?r:n);return s.set(e,l),l}function io(e){return e&&io(e.__v_raw)||e}function ia(e){return!!(e&&!0===e.__v_isRef)}U.nextTick=()=>ej,U.dispatch=e=>eS.bind(eS,e),U.watch=(e,{evaluateLater:i,cleanup:n})=>(e,r)=>{let s=i(e);n(w(()=>{let e;return s(i=>e=i),e},r))},U.store=function(){return tn},U.data=e=>z(e),U.root=e=>eL(e),U.refs=e=>{let i;return e._x_refs_proxy||(e._x_refs_proxy=j((i=[],eD(e,e=>{e._x_refs&&i.push(e._x_refs)}),i))),e._x_refs_proxy};var il={};function iu(e){return il[e]||(il[e]=0),++il[e]}function ic(e,i,n){U[i]=r=>eT(`You can't use [$${i}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r)}U.id=(e,{cleanup:i})=>(n,r=null)=>(function(e,i,n,r){if(e._x_id||(e._x_id={}),e._x_id[i])return e._x_id[i];let s=r();return e._x_id[i]=s,n(()=>{delete e._x_id[i]}),s})(e,`${n}${r?`-${r}`:""}`,i,()=>{let i=eD(e,e=>{if(e._x_ids&&e._x_ids[n])return!0}),s=i?i._x_ids[n]:iu(n);return r?`${n}-${s}-${r}`:`${n}-${s}`}),eQ((e,i)=>{e._x_id&&(i._x_id=e._x_id)}),U.el=e=>e,ic("Focus","focus","focus"),ic("Persist","persist","persist"),eo("modelable",(e,{expression:i},{effect:n,evaluateLater:r,cleanup:s})=>{let o=r(i),a=()=>{let e;return o(i=>e=i),e},l=r(`${i} = __placeholder`),u=e=>l(()=>{},{scope:{__placeholder:e}});u(a()),queueMicrotask(()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let i=e._x_model.get,n=e._x_model.setWithModifiers;s(tt({get:()=>i(),set(e){n(e)}},{get:()=>a(),set(e){u(e)}}))})}),eo("teleport",(e,{modifiers:i,expression:n},{cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&eT("x-teleport can only be used on a <template> tag",e);let s=ih(n),o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e.setAttribute("data-teleport-template",!0),o.setAttribute("data-teleport-target",!0),e._x_forwardEvents&&e._x_forwardEvents.forEach(i=>{o.addEventListener(i,i=>{i.stopPropagation(),e.dispatchEvent(new i.constructor(i.type,i))})}),F(o,{},e);let a=(e,i,n)=>{n.includes("prepend")?i.parentNode.insertBefore(e,i):n.includes("append")?i.parentNode.insertBefore(e,i.nextSibling):i.appendChild(e)};D(()=>{a(o,s,i),eJ(()=>{e$(o)})()}),e._x_teleportPutBack=()=>{let r=ih(n);D(()=>{a(e._x_teleport,r,i)})},r(()=>D(()=>{o.remove(),ez(o)}))});var id=document.createElement("div");function ih(e){let i=eJ(()=>document.querySelector(e),()=>id)();return i||eT(`Cannot find x-teleport element for selector: "${e}"`),i}var ip=()=>{};function im(e,i,n,r){let s=e,o=e=>r(e),a={},l=(e,i)=>n=>i(e,n);return n.includes("dot")&&(i=i.replace(/-/g,".")),n.includes("camel")&&(i=i.toLowerCase().replace(/-(\w)/g,(e,i)=>
4i.toUpperCase())),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(s=window),n.includes("document")&&(s=document),n.includes("passive")&&(a.passive="false"!==n[n.indexOf("passive")+1]),o=ig(n,o),n.includes("prevent")&&(o=l(o,(e,i)=>{i.preventDefault(),e(i)})),n.includes("stop")&&(o=l(o,(e,i)=>{i.stopPropagation(),e(i)})),n.includes("once")&&(o=l(o,(e,n)=>{e(n),s.removeEventListener(i,o,a)})),(n.includes("away")||n.includes("outside"))&&(s=document,o=l(o,(i,n)=>{e.contains(n.target)||!1===n.target.isConnected||e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&i(n)})),n.includes("self")&&(o=l(o,(i,n)=>{n.target===e&&i(n)})),"submit"===i&&(o=l(o,(e,i)=>{i.target._x_pendingModelUpdates&&i.target._x_pendingModelUpdates.forEach(e=>e()),e(i)})),(["keydown","keyup"].includes(i)||iy(i))&&(o=l(o,(e,i)=>{!function(e,i){let n=i.filter(e=>!["window","document","prevent","stop","once","capture","self","away","outside","passive","preserve-scroll","blur","change","lazy"].includes(e));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,iv((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let e=n.indexOf("throttle");n.splice(e,iv((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length||1===n.length&&iw(e.key).includes(n[0]))return!1;let r=["ctrl","shift","alt","meta","cmd","super"].filter(e=>n.includes(e));return n=n.filter(e=>!r.includes(e)),!(r.length>0&&r.filter(i=>(("cmd"===i||"super"===i)&&(i="meta"),e[`${i}Key`])).length===r.length&&(iy(e.type)||iw(e.key).includes(n[0])))&&!0}(i,n)&&e(i)})),s.addEventListener(i,o,a),()=>{s.removeEventListener(i,o,a)}}function ig(e,i){if(e.includes("debounce")){let n=e[e.indexOf("debounce")+1]||"invalid-wait";i=e7(i,iv(n.split("ms")[0])?Number(n.split("ms")[0]):250)}if(e.includes("throttle")){let n=e[e.indexOf("throttle")+1]||"invalid-wait";i=te(i,iv(n.split("ms")[0])?Number(n.split("ms")[0]):250)}return i}function iv(e){return!Array.isArray(e)&&!isNaN(e)}function iy(e){return["contextmenu","click","mouse"].some(i=>e.includes(i))}function iw(e){var i;if(!e)return[];e=[" ","_"].includes(i=e)?i:i.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let n={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",comma:",",equal:"=",minus:"-",underscore:"_"};return n[e]=e,Object.keys(n).map(i=>{if(n[i]===e)return i}).filter(e=>e)}function i_(e,i,n,r){return D(()=>
4{if(n instanceof CustomEvent&&void 0!==n.detail)return null!==n.detail&&void 0!==n.detail?n.detail:n.target.value;if(e8(e))if(!Array.isArray(r))return n.target.checked;else{let e=null;return e=i.includes("number")?ib(n.target.value):i.includes("boolean")?e3(n.target.value):n.target.value,n.target.checked?r.includes(e)?r:r.concat([e]):r.filter(i=>i!=e)}if("select"===e.tagName.toLowerCase()&&e.multiple)return i.includes("number")?Array.from(n.target.selectedOptions).map(e=>ib(e.value||e.text)):i.includes("boolean")?Array.from(n.target.selectedOptions).map(e=>e3(e.value||e.text)):Array.from(n.target.selectedOptions).map(e=>e.value||e.text);{let s;return(s=e9(e)?n.target.checked?n.target.value:r:n.target.value,i.includes("number"))?ib(s):i.includes("boolean")?e3(s):i.includes("trim")?s.trim():s}})}function ib(e){var i;let n=e?parseFloat(e):null;return Array.isArray(i=n)||isNaN(i)?e:n}function iS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.get&&"function"==typeof e.set}ip.inline=(e,{modifiers:i},{cleanup:n})=>{i.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n(()=>{i.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore})},eo("ignore",ip),eo("effect",eJ((e,{expression:i},{effect:n})=>{n(Q(e,i))})),eo("model",(e,{modifiers:i,expression:n},{effect:r,cleanup:s})=>{let o,a,l=e;i.includes("parent")&&(l=eD(e,i=>i!==e));let u=Q(l,n);o="string"==typeof n?Q(l,`${n} = __placeholder`):"function"==typeof n&&"string"==typeof n()?Q(l,`${n()} = __placeholder`):()=>{};let c=()=>{let e;return u(i=>e=i),iS(e)?e.get():e},d=e=>{let i;u(e=>i=e),iS(i)?i.set(e):o(()=>{},{scope:{__placeholder:e}})};"string"==typeof n&&"radio"===e.type&&D(()=>{e.hasAttribute("name")||e.setAttribute("name",n)});let h=i.includes("change")||i.includes("lazy"),f=i.includes("blur"),p=i.includes("enter");if(eK)a=()=>{};else if(h||f||p){let n=[],r=n=>d(i_(e,i,n,c()));if(h&&n.push(im(e,"change",i,r)),f&&(n.push(im(e,"blur",i,r)),e.form)){let i=e.form,n=()=>r({target:e});i._x_pendingModelUpdates||(i._x_pendingModelUpdates=[]),i._x_pendingModelUpdates.push(n),s(()=>{i._x_pendingModelUpdates&&i._x_pendingModelUpdates.splice(i._x_pendingModelUpdates.indexOf(n),1)})}p&&n.push(im(e,"keydown",i,e=>{"Enter"===e.key&&r(e)})),a=()=>n.forEach(e=>e())}else{let n="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)?"change":"input";a=im(e,n,i,n=>{d(i_(e,i,n,c()))})}if(i.includes("fill")&&([void 0,null,""].includes(c())||e8(e)&&Array.isArray(c())||"select"===e.tagName.toLowerCase()&&e.multiple)&&d(i_(e,i,{target:e},c())),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=a,s(()=>e._x_removeModelListeners.default()),e.form){let n=im(e.form,"reset",[],n=>{ej(()=>e._x_model&&e._x_model.set(i_(e,i,{target:e},c())))});s(()=>n())}e._x_model={get:()=>c(),set(e){d(e)},setWithModifiers:ig(i,d)},e._x_forceModelUpdate=i=>{void 0===i&&"string"==typeof n&&n.match(/\./)&&(i=""),D(()=>{e8(e)?Array.isArray(i)?e.checked=i.some(i=>i==e.value):e.checked=!!i:e9(e)?"boolean"==typeof i?e.checked=e3(e.value)===i:e.checked=e.value==i:e2(e,"value",i)})},r(()=>{let n=c();i.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(n)})}),eo("cloak",e=>queueMicrotask(()=>D(()=>e.removeAttribute(er("cloak"))))),eC(()=>`[${er("init")}]`),eo("init",eJ((e,{expression:i},{evaluate:n})=>"string"==typeof i?!!i.trim()&&n(i,{},!1):n(i,{},!1))),eo("text",(e,{expression:i},{effect:n,evaluateLater:r})=>{let s=r(i);n(()=>{s(i=>{D(()=>{e.textContent=i})})})}),eo("html",(e,{expression:i},{effect:n,evaluateLater:r})=>{let s=r(i);n(()=>{s(i=>{D(()=>{e.innerHTML=i??"",e._x_ignoreSelf=!0,e$(e),delete e._x_ignoreSelf})})})}),eg(ef(":",er("bind:")));var ix=(e,{value:i,modifiers:n,expression:r,original:s},{effect:o,cleanup:a})=>{if(!i){let i={};Object.entries(ts).forEach(([e,n])=>{Object.defineProperty(i,e,{get:()=>(...e)=>n(...e)})}),Q(e,r)(i=>{to(e,i,s)},{scope:i});return}if("key"===i)return void(e._x_keyExpression=r);if(e._x_inlineBindings&&e._x_inlineBindings[i]&&e._x_inlineBindings[i].extract)return;let l=Q(e,r);o(()=>l(s=>{void 0===s&&"string"==typeof r&&r.match(/\./)&&(s=""),D(()=>e2(e,i,s,n))})),a(()=>
4{e._x_undoAddedClasses&&e._x_undoAddedClasses(),e._x_undoAddedStyles&&e._x_undoAddedStyles()})};function iT(){}function iE(e,i,n){eo(i,r=>eT(`You can't use [x-${i}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r))}function iM(e,i,n){if(-1===e.indexOf(i))return n;let r=e[e.indexOf(i)+1];if(!r)return n;if("duration"===i){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}if("min"===i){let e=r.match(/([0-9]+)px/);if(e)return e[1]}return r}function ik(e,i){return null!==i.getItem(e)}function iP(e,i){let n=i.getItem(e);if(void 0!==n)return JSON.parse(n)}function iO(e,i,n){n.setItem(e,JSON.stringify(i))}ix.inline=(e,{value:i,modifiers:n,expression:r})=>{i&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[i]={expression:r,extract:!1})},eo("bind",ix),eA(()=>`[${er("data")}]`),eo("data",(e,{expression:i},{cleanup:n})=>{var r;if(r=e,eK&&(e0||r.hasAttribute("data-has-alpine-state")))return;i=""===i?"{}":i;let s={};G(s,e);let o={};Object.entries(ta).forEach(([e,i])=>{Object.defineProperty(o,e,{get:()=>(...e)=>i.bind(s)(...e),enumerable:!1})});let a=Z(e,i,{scope:o});(void 0===a||!0===a)&&(a={}),G(a,e);let l=oy(a);B(l);let u=F(e,l);l.init&&Z(e,l.init),n(()=>{l.destroy&&Z(e,l.destroy),u()})}),eQ((e,i)=>{e._x_dataStack&&(i._x_dataStack=e._x_dataStack,i.setAttribute("data-has-alpine-state",!0))}),eo("show",(e,{modifiers:i,expression:n},{effect:r})=>{let s,o=Q(e,n);e._x_doHide||(e._x_doHide=()=>{D(()=>{e.style.setProperty("display","none",i.includes("important")?"important":void 0)})}),e._x_doShow||(e._x_doShow=()=>{D(()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display")})});let a=()=>{e._x_doHide(),e._x_isShown=!1},l=()=>{e._x_doShow(),e._x_isShown=!0},u=eG(e=>e?l():a(),i=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,i,l,a):i?setTimeout(l):a()}),c=!0;r(()=>o(e=>{(c||e!==s)&&(i.includes("immediate")&&(e?setTimeout(l):a()),u(e),s=e,c=!1)}))}),eo("for",(e,{expression:i},{effect:n,cleanup:r})=>{let s=function(e){let i=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=e.match(/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/);if(!n)return;let r={};r.items=n[2].trim();let s=n[1].replace(/^\s*\(|\)\s*$/g,"").trim(),o=s.match(i);return o?(r.item=s.replace(i,"").trim(),r.index=o[1].trim(),o[2]&&(r.collection=o[2].trim())):r.item=s,r}(i),o=Q(e,s.items),a=Q(e,e._x_keyExpression||"index");e._x_lookup=new Map,n(()=>{var i,n,r,l;return i=e,n=s,r=o,l=a,void r(e=>{var r,s;Array.isArray(r=e)||isNaN(r)||(e=Array.from({length:e},(e,i)=>i+1)),void 0===e&&(e=[]),e instanceof Set&&(e=Array.from(e)),e instanceof Map&&(e=Array.from(e));let o=i._x_lookup,a=new Map;i._x_lookup=a;let u="object"==typeof(s=e)&&!Array.isArray(s),c=Object.entries(e).map(([r,s])=>{var c,d,h,f;let p,m;u||(r=parseInt(r));let g=(c=n,d=s,h=r,f=e,m={},/^\[.*\]$/.test(c.item)&&Array.isArray(d)?c.item.replace("[","").replace("]","").split(",").map(e=>e.trim()).forEach((e,i)=>{m[e]=d[i]}):/^\{.*\}$/.test(c.item)&&!Array.isArray(d)&&"object"==typeof d?c.item.replace("{","").replace("}","").split(",").map(e=>e.trim()).forEach(e=>{m[e]=d[e]}):m[c.item]=d,c.index&&(m[c.index]=h),c.collection&&(m[c.collection]=f),m);return l(e=>{"object"==typeof e&&eT("x-for key cannot be an object, it must be a string or an integer",i),o.has(e)&&(a.set(e,o.get(e)),o.delete(e)),p=e},{scope:{index:r,...g}}),[p,g]});D(()=>{o.forEach(e=>{ez(e),e.remove()});let e=new Set,n=i;c.forEach(([r,s])=>{if(a.has(r)){let e=a.get(r);e._x_refreshXForScope(s),n.nextElementSibling!==e&&(n.nextElementSibling&&e.replaceWith(n.nextElementSibling),n.after(e)),n=e,e._x_currentIfEl&&(e.nextElementSibling!==e._x_currentIfEl&&n.after(e._x_currentIfEl),n=e._x_currentIfEl);return}i.content.children.length>1&&eT("x-for templates require a single root element, additional elements will be ignored.",i);let o=document.importNode(i.content,!0).firstElementChild,l=oy(s);F(o,l,i),o._x_refreshXForScope=e=>{Object.entries(e).forEach(([e,i])=>{l[e]=i})},a.set(r,o),e.add(o),n.after(o),n=o}),eJ(()=>e.forEach(e=>e$(e)))()})})}),r(()=>
4{e._x_lookup.forEach(e=>D(()=>{ez(e),e.remove()})),delete e._x_lookup})}),iT.inline=(e,{expression:i},{cleanup:n})=>{let r=eL(e);r&&(r._x_refs||(r._x_refs={}),r._x_refs[i]=e,n(()=>delete r._x_refs[i]))},eo("ref",iT),eo("if",(e,{expression:i},{effect:n,cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&eT("x-if can only be used on a <template> tag",e);let s=Q(e,i);n(()=>s(i=>{i?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let i=e.content.cloneNode(!0).firstElementChild;return F(i,{},e),D(()=>{e.after(i),eJ(()=>e$(i))()}),e._x_currentIfEl=i,e._x_undoIf=()=>{D(()=>{ez(i),i.remove()}),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})),r(()=>e._x_undoIf&&e._x_undoIf())}),eo("id",(e,{expression:i},{evaluate:n})=>{n(i).forEach(i=>{!e._x_ids&&(e._x_ids={}),!e._x_ids[i]&&(e._x_ids[i]=iu(i))})}),eQ((e,i)=>{e._x_ids&&(i._x_ids=e._x_ids)}),eg(ef("@",er("on:"))),eo("on",eJ((e,{value:i,modifiers:n,expression:r},{cleanup:s})=>{let o=r?Q(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(i)||e._x_forwardEvents.push(i));let a=im(e,i,n,e=>{o(()=>{},{scope:{$event:e},params:[e]})});s(()=>a())})),iE("Collapse","collapse","collapse"),iE("Intersect","intersect","intersect"),iE("Focus","trap","focus"),iE("Mask","mask","mask"),tl.setEvaluator(function(e,i){var n,r,s,o,a;let l,u={};G(u,e);let c=[u,...N(e)],d="function"==typeof i?(n=c,r=i,(e=()=>{},{scope:i={},params:s=[],context:o}={})=>{K?ei(e,r.apply(j([i,...n]),s)):ei(e,r,j([i,...n]),s)}):(s=c,l=function(e,i){if(et[e])return et[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,s=(()=>{try{let i=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(i,"name",{value:`[Alpine] ${e}`}),i}catch(n){return W(n,i,e),Promise.resolve()}})();return et[e]=s,s}(o=i,a=e),(e=()=>{},{scope:i={},params:n=[],context:r}={})=>{l.result=void 0,l.finished=!1;let u=j([i,...s]);if("function"==typeof l){let i=l.call(r,l,u).catch(e=>W(e,a,o));l.finished?(ei(e,l.result,u,n,a),l.result=void 0):i.then(i=>{ei(e,i,u,n,a)}).catch(e=>W(e,a,o)).finally(()=>l.result=void 0)}});return Y.bind(null,e,i,d)}),tl.setRawEvaluator(function(e,i,n={}){let r={};G(r,e);let s=[r,...N(e)],o=j([n.scope??{},...s]),a=n.params??[];if(i.includes("await")){let e=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(async()=>{ ${i} })()`:i;return new e(["scope"],`with (scope) { let __result = ${r}; return __result }`).call(n.context,o)}{let e=/^[\n\s]*if.*\(.*\)/.test(i.trim())||/^(let|const)\s/.test(i.trim())?`(()=>{ ${i} })()`:i,r=Function(["scope"],`with (scope) { let __result = ${e}; return __result }`).call(n.context,o);return"function"==typeof r&&K?r.apply(o,a):r}}),tl.setReactivityEngine({reactive:ii,effect:function(e,i=tu){var n,r,s;let o;(n=e)&&!0===n._isEffect&&(e=e.raw);let a=(r=e,s=i,(o=function(){if(!o.active)return r();if(!tx.includes(o)){tk(o);try{return tO.push(tP),tP=!0,tx.push(o),ox=o,r()}finally{tx.pop(),tA(),ox=tx[tx.length-1]}}}).id=tM++,o.allowRecurse=!!s.allowRecurse,o._isEffect=!0,o.active=!0,o.raw=r,o.deps=[],o.options=s,o);return i.lazy||a(),a},release:function(e){e.active&&(tk(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:io});var iA=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],iC=iA.join(","),iL="u"<typeof Element,iD=iL?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,iI=!iL&&Element.prototype.getRootNode?function(e){var i;return null==e||null==(i=e.getRootNode)?void 0:i.call(e)}:function(e){return null==e?void 0:e.ownerDocument},iR=function(e,i){void 0===i&&(i=!0);var n,r=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"inert");return""===r||"true"===r||i&&e&&("function"==typeof e.closest?e.closest("[inert]"):iR(e.parentNode))},i$=function(e){var i,n=null==e||null==(i=e.getAttribute)?void 0:i.call(e,"contenteditable");return""===n||"true"===n},iz=function(e,i,n){if(iR(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(iC));return i&&iD.call(e,iC)&&r.unshift(e),r=r.filter(n)},iF=function(e,i,n){for(var r=[],s=Array.from(e);s.length;){var o=s.shift();if(!iR(o,!1))if("SLOT"===o.tagName){var a=o.assignedElements(),l=iF(a.length?a:o.children,!0,n);
vendor: 3,405 bytes, line 4
4n.flatten?r.push.apply(r,l):r.push({scopeParent:o,candidates:l})}else{iD.call(o,iC)&&n.filter(o)&&(i||!e.includes(o))&&r.push(o);var u=o.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(o),c=!iR(u,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(o));if(u&&c){var d=iF(!0===u?o.children:u.children,!0,n);n.flatten?r.push.apply(r,d):r.push({scopeParent:o,candidates:d})}else s.unshift.apply(s,o.children)}}return r},iN=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ij=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||i$(e))&&!iN(e)?0:e.tabIndex},iV=function(e,i){var n=ij(e);return n<0&&i&&!iN(e)?0:n},iH=function(e,i){return e.tabIndex===i.tabIndex?e.documentOrder-i.documentOrder:e.tabIndex-i.tabIndex},iB=function(e){return"INPUT"===e.tagName},iq=function(e,i){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===i)return e[n]},iU=function(e){if(!e.name)return!0;var i,n=e.form||iI(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("u">typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)i=r(window.CSS.escape(e.name));else try{i=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var s=iq(i,e.form);return!s||s===e},iG=function(e){return iB(e)&&"radio"===e.type&&!iU(e)},iY=function(e){var i,n,r,s,o,a,l,u=e&&iI(e),c=null==(i=u)?void 0:i.host,d=!1;if(u&&u!==e)for(d=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=e&&null!=(s=e.ownerDocument)&&s.contains(e));!d&&c;)d=!!(null!=(a=c=null==(o=u=iI(c))?void 0:o.host)&&null!=(l=a.ownerDocument)&&l.contains(c));return d},iW=function(e){var i=e.getBoundingClientRect(),n=i.width,r=i.height;return 0===n&&0===r},iX=function(e,i){var n=i.displayCheck,r=i.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var s=iD.call(e,"details>summary:first-of-type")?e.parentElement:e;if(iD.call(s,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return iW(e)}else{if("function"==typeof r){for(var o=e;e;){var a=e.parentElement,l=iI(e);if(a&&!a.shadowRoot&&!0===r(a))return iW(e);e=e.assignedSlot?e.assignedSlot:a||l===e.ownerDocument?a:l.host}e=o}if(iY(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},iK=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var i=e.parentElement;i;){if("FIELDSET"===i.tagName&&i.disabled){for(var n=0;n<i.children.length;n++){var r=i.children.item(n);if("LEGEND"===r.tagName)return!!iD.call(i,"fieldset[disabled] *")||!r.contains(e)}return!0}i=i.parentElement}return!1},iJ=function(e,i){return!(i.disabled||iB(i)&&"hidden"===i.type||iX(i,e)||"DETAILS"===i.tagName&&Array.prototype.slice.apply(i.children).some(function(e){return"SUMMARY"===e.tagName})||iK(i))},iZ=function(e,i){return!(iG(i)||0>ij(i))&&!!iJ(e,i)},iQ=function(e){var i=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(i)||!!(i>=0)},i0=function(e){var i=[],n=[];return e.forEach(function(e,r){var s=!!e.scopeParent,o=s?e.scopeParent:e,a=iV(o,s),l=s?
4i0(e.candidates):o;0===a?s?i.push.apply(i,l):i.push(o):n.push({documentOrder:r,tabIndex:a,item:e,isScope:s,content:l})}),n.sort(iH).reduce(function(e,i){return i.isScope?e.push.apply(e,i.content):e.push(i.content),e},[]).concat(i)},i1=function(e,i){return i0((i=i||{}).getShadowRoot?iF([e],i.includeContainer,{filter:iZ.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:iQ}):iz(e,i.includeContainer,iZ.bind(null,i)))},i2=function(e,i){return(i=i||{}).getShadowRoot?iF([e],i.includeContainer,{filter:iJ.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):iz(e,i.includeContainer,iJ.bind(null,i))},i5=function(e,i){if(i=i||{},!e)throw Error("No node provided");return!1!==iD.call(e,iC)&&iZ(i,e)},i3=iA.concat("iframe:not([inert]):not([inert] *)").join(","),i4=function(e,i){if(i=i||{},!e)throw Error("No node provided");return!1!==iD.call(e,i3)&&iJ(i,e)};function i6(e,i){(null==i||i>e.length)&&(i=e.length);for(var n=0,r=Array(i);n<i;n++)r[n]=e[n];return r}function i8(e,i,n,r,s,o,a){try{var l=e[o](a),u=l.value}catch(e){return void n(e)}l.done?i(u):Promise.resolve(u).then(r,s)}function i9(e){return function(){var i=this,n=arguments;return new Promise(function(r,s){var o=e.apply(i,n);function a(e){i8(o,r,s,a,l,"next",e)}function l(e){i8(o,r,s,a,l,"throw",e)}a(void 0)})}}function i7(e,i){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=nr(e))||i){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function ne(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nt(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?ne(Object(n),!0).forEach(function(i){var r,s;r=i,s=n[i],(r=function(e){var i=function(e,i){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,i);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(e,"string");return"symbol"==typeof i?i:i+""}(r))in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ni(){var e,i,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",s=n.toStringTag||"@@toStringTag";function o(n,r,s,o){var u=Object.create((r&&r.prototype instanceof l?r:l).prototype);return nn(u,"_invoke",function(n,r,s){var o,l,u,c=0,d=s||[],h=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(i,n){return o=i,l=0,u=e,f.n=n,a}};function p(n,r){for(l=n,u=r,i=0;!h&&c&&!s&&i<d.length;i++){var s,o=d[i],p=f.p,m=o[2];n>3?(s=m===r)&&(u=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=p&&((s=n<2&&p<o[1])?(l=0,f.v=r,f.n=o[1]):p<m&&(s=n<3||o[0]>r||r>m)&&(o[4]=n,o[5]=r,f.n=m,l=0))}if(s||n>1)return a;throw h=!0,r}return function(s,d,m){if(c>1)throw TypeError("Generator is already running");for(h&&1===d&&p(d,m),l=d,u=m;(i=l<2?e:u)||!h;){o||(l?l<3?(l>1&&(f.n=-1),p(l,u)):f.n=u:f.v=u);try{if(c=2,o){if(l||(s="next"),i=o[s]){if(!(i=i.call(o,u)))throw TypeError("iterator result is not an object");if(!i.done)return i;u=i.value,l<2&&(l=0)}else 1===l&&(i=o.return)&&i.call(o),l<2&&(u=TypeError("The iterator does not provide a '"+s+"' method"),l=1);o=e}else if((i=(h=f.n<0)?u:n.call(r,f))!==a)break}catch(i){o=e,l=1,u=i}finally{c=1}}return{value:i,done:h}}}(n,s,o),!0),u}var a={};function l(){}function u(){}function c(){}i=Object.getPrototypeOf;var d=c.prototype=l.prototype=Object.create([][r]?i(i([][r]())):(nn(i={},r,function(){return this}),i));function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,nn(e,s,"GeneratorFunction")),e.prototype=Object.create(d),e}return u.prototype=c,nn(d,"constructor",c),nn(c,"constructor",u),u.displayName="GeneratorFunction",nn(c,s,"GeneratorFunction"),nn(d),nn(d,s,"Generator"),nn(d,r,function(){return this}),nn(d,"toString",function(){return"[object Generator]"}),(ni=function(){return{w:o,m:h}})()}function nn(e,i,n,r){var s=Object.defineProperty;try{s({},"",{})}catch(e){s=0}(nn=function(e,i,n,r){function o(i,n){nn(e,i,function(e){return this._invoke(i,n,e)})}i?s?s(e,i,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[i]=n:(o("next",0),o("throw",1),o("return",2))})(e,i,n,r)}function nr(e,i){if(e){if("string"==typeof e)return i6(e,i);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i6(e,i):void 0}}var ns={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,i){i!==ns.getActiveTrap(e)&&ns.pauseTrap(e);var n=e.indexOf(i);-1===n||e.splice(n,1),e.push(i)},deactivateTrap:function(e,i){var n=e.indexOf(i);-1!==n&&e.splice(n,1),ns.unpauseTrap(e)},pauseTrap:function(e){var i=ns.getActiveTrap(e);null==i||i._setPausedState(!0)},unpauseTrap:function(e){var i=ns.getActiveTrap(e);i&&!i._isManuallyPaused()&&i._setPausedState(!1)}},no=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},na=function(e){return no(e)&&!e.shiftKey},nl=function(e){return no(e)&&e.shiftKey},nu=function(e){return setTimeout(e,0)},nc=function(e){for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},nd=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},nh=[],nf=function(e,i){var n,r=(null==i?void 0:i.document)||document,s=(null==i?void 0:i.trapStack)||nh,o=nt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:na,isKeyBackward:nl},i),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,i,n){return e&&void 0!==e[i]?e[i]:o[n||i]},u=function(e,i){var n="function"==typeof(null==i?void 0:i.composedPath)?i.composedPath():void 0;return a.containerGroups.findIndex(function(i){var r=i.container,s=i.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||s.find(function(i){return i===e})})},c=function(e){var i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=n.hasFallback,a=n.params,l=o[e];if("function"==typeof l&&(l=l.apply(void 0,function(e){if(Array.isArray(e))return i6(e)}(i=void 0===a?[]:a)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||nr(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=l;if("string"==typeof l){try{u=r.querySelector(l)}
4catch(i){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(i.message,'"'))}if(!u&&!(void 0!==s&&s))throw Error("`".concat(e,"` as selector refers to no known node"))}return u},d=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!i4(e,o.tabbableOptions))if(u(r.activeElement)>=0)e=r.activeElement;else{var i=a.tabbableGroups[0];e=i&&i.firstTabbableNode||c("fallbackFocus")}else null===e&&(e=c("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},h=function(){if(a.containerGroups=a.containers.map(function(e){var i=i1(e,o.tabbableOptions),n=i2(e,o.tabbableOptions),r=i.length>0?i[0]:void 0,s=i.length>0?i[i.length-1]:void 0,a=n.find(function(e){return i5(e)}),l=n.slice().reverse().find(function(e){return i5(e)}),u=!!i.find(function(e){return ij(e)>0});return{container:e,tabbableNodes:i,focusableNodes:n,posTabIndexesFound:u,firstTabbableNode:r,lastTabbableNode:s,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=i.indexOf(e);return s<0?r?n.slice(n.indexOf(e)+1).find(function(e){return i5(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return i5(e)}):i[s+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function(e){var i=e.activeElement;if(i)return i.shadowRoot&&null!==i.shadowRoot.activeElement?f(i.shadowRoot):i},p=function(e){if(!1!==e&&e!==f(document)){if(!e||!e.focus)return void p(d());e.focus({preventScroll:!!o.preventScroll}),a.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},m=function(e){var i=c("setReturnFocus",{params:[e]});return i||!1!==i&&e},g=function(e){var i=e.target,n=e.event,r=e.isBackward,s=void 0!==r&&r;i=i||nd(n),h();var l=null;if(a.tabbableGroups.length>0){var d=u(i,n),f=d>=0?a.containerGroups[d]:void 0;if(d<0)l=s?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(s){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return i===n});if(p<0&&(f.container===i||i4(i,o.tabbableOptions)&&!i5(i,o.tabbableOptions)&&!f.nextTabbableNode(i,!1))&&(p=d),p>=0){var m=0===p?a.tabbableGroups.length-1:p-1,g=a.tabbableGroups[m];l=ij(i)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else no(n)||(l=f.nextTabbableNode(i,!1))}else{var v=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return i===n});if(v<0&&(f.container===i||i4(i,o.tabbableOptions)&&!i5(i,o.tabbableOptions)&&!f.nextTabbableNode(i))&&(v=d),v>=0){var y=v===a.tabbableGroups.length-1?0:v+1,w=a.tabbableGroups[y];l=ij(i)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else no(n)||(l=f.nextTabbableNode(i))}}else l=c("fallbackFocus");return l},v=function(e){u(nd(e),e)>=0||(nc(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):nc(o.allowOutsideClick,e)||e.preventDefault())},y=function(e){var i=nd(e),n=u(i,e)>=0;if(n||i instanceof Document)n&&(a.mostRecentlyFocusedNode=i);else{e.stopImmediatePropagation();var r,s=!0;if(a.mostRecentlyFocusedNode)if(ij(a.mostRecentlyFocusedNode)>0){var l=u(a.mostRecentlyFocusedNode),c=a.containerGroups[l].tabbableNodes;if(c.length>0){var h=c.findIndex(function(e){return e===a.mostRecentlyFocusedNode});h>=0&&(o.isKeyForward(a.recentNavEvent)?h+1<c.length&&(r=c[h+1],s=!1):h-1>=0&&(r=c[h-1],s=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return ij(e)>0})})||(s=!1);else s=!1;s&&(r=g({target:a.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(a.recentNavEvent)})),r?p(r):p(a.mostRecentlyFocusedNode||d())}a.recentNavEvent=void 0},w=function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=g({event:e,isBackward:i});n&&(no(e)&&e.preventDefault(),p(n))},_=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&w(e,o.isKeyBackward(e))},b=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==nc(o.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())},S=function(e){u(nd(e),e)>=0||nc(o.clickOutsideDeactivates,e)||nc(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){var e;return a.active?(ns.activateTrap(s,n),o.delayInitialFocus?e=new Promise(function(e){a.delayInitialFocusTimer=nu(function(){p(d()),e()})}):(e=Promise.resolve(),p(d())),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",S,{capture:!0,passive:!1}),r.addEventListener("keydown",_,{capture:!0,passive:!1}),r.addEventListener("keydown",b),e):Promise.resolve()}
4,T=function(e){a.active&&!a.paused&&n._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var i,r=new Set,s=new Set,o=i7(e);try{for(o.s();!(i=o.n()).done;){var l=i.value;r.add(l);for(var u="u">typeof ShadowRoot&&l.getRootNode()instanceof ShadowRoot,c=l;c;){r.add(c);var d=c.parentElement,h=[];d?h=d.children:!d&&u&&(h=c.getRootNode().children,d=c.getRootNode().host,u="u">typeof ShadowRoot&&d.getRootNode()instanceof ShadowRoot);var f,p=i7(h);try{for(p.s();!(f=p.n()).done;){var m=f.value;s.add(m)}}catch(e){p.e(e)}finally{p.f()}c=d}}}catch(e){o.e(e)}finally{o.f()}r.forEach(function(e){s.delete(e)}),a.adjacentElements=s},E=function(){if(a.active)return r.removeEventListener("focusin",y,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",S,!0),r.removeEventListener("keydown",_,!0),r.removeEventListener("keydown",b),n},M="u">typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(d())}):void 0,k=function(){M&&(M.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return Object.defineProperties(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var i,o,u=l(e,"onActivate"),c=l(e,"onPostActivate"),d=l(e,"checkCanFocusTrap"),p=ns.getActiveTrap(s),m=!1;p&&!p.paused&&(null==(i=p._setSubtreeIsolation)||i.call(p,!1),m=!0);try{d||h(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(r),null==u||u();var g,v=(g=i9(ni().m(function e(){return ni().w(function(e){for(;;)switch(e.n){case 0:return d&&h(),e.n=1,x();case 1:n._setSubtreeIsolation(!0),k(),null==c||c();case 2:return e.a(2)}},e)})),function(){return g.apply(this,arguments)});if(d)return d(a.containers.concat()).then(v,v),this;v()}catch(e){throw p===ns.getActiveTrap(s)&&m&&(null==(o=p._setSubtreeIsolation)||o.call(p,!0)),e}return this},deactivate:function(e){if(!a.active)return this;var i=nt({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||n._setSubtreeIsolation(!1),a.alreadySilent.clear(),E(),a.active=!1,a.paused=!1,k(),ns.deactivateTrap(s,n);var r=l(i,"onDeactivate"),u=l(i,"onPostDeactivate"),c=l(i,"checkCanReturnFocus"),d=l(i,"returnFocus","returnFocusOnDeactivate");null==r||r();var h=function(){nu(function(){d&&p(m(a.nodeFocusedBeforeActivation)),null==u||u()})};return d&&c?c(m(a.nodeFocusedBeforeActivation)).then(h,h):h(),this},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return a.active?(a.manuallyPaused=!1,s[s.length-1]!==this)?this:this._setPausedState(!1,e):this},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
4Boolean).map(function(e){return"string"==typeof e?r.querySelector(e):e}),o.isolateSubtrees&&T(a.containers),a.active&&(h(),a.paused||n._setSubtreeIsolation(!0)),k(),this}},{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,i){if(a.paused===e)return this;if(a.paused=e,e){var r=l(i,"onPause"),s=l(i,"onPostPause");null==r||r(),E(),n._setSubtreeIsolation(!1),k(),null==s||s()}else{var o,u=l(i,"onUnpause"),c=l(i,"onPostUnpause");null==u||u(),(o=i9(ni().m(function e(){return ni().w(function(e){for(;;)switch(e.n){case 0:return h(),e.n=1,x();case 1:n._setSubtreeIsolation(!0),k(),null==c||c();case 2:return e.a(2)}},e)})),function(){return o.apply(this,arguments)})()}return this}},_setSubtreeIsolation:{value:function(e){o.isolateSubtrees&&a.adjacentElements.forEach(function(i){var n;e?"aria-hidden"===o.isolateSubtrees?(("true"===i.ariaHidden||(null==(n=i.getAttribute("aria-hidden"))?void 0:n.toLowerCase())==="true")&&a.alreadySilent.add(i),i.setAttribute("aria-hidden","true")):((i.inert||i.hasAttribute("inert"))&&a.alreadySilent.add(i),i.setAttribute("inert",!0)):a.alreadySilent.has(i)||("aria-hidden"===o.isolateSubtrees?i.removeAttribute("aria-hidden"):i.removeAttribute("inert"))})}}}),n.updateContainerElements(e),n};function np(e){let i=[];return function e(i,n){!i.isSameNode(document.body)&&i.parentNode&&Array.from(i.parentNode.children).forEach(r=>{r.isSameNode(i)?e(i.parentNode,n):n(r)})}(e,e=>{let n=e.hasAttribute("aria-hidden");e.setAttribute("aria-hidden","true"),i.push(()=>n||e.removeAttribute("aria-hidden"))}),()=>{for(;i.length;)i.pop()()}}var nm=new Set;function ng(e){let i,n;for(let r of e)i=r.borderBoxSize[0].inlineSize,n=r.borderBoxSize[0].blockSize;return[i,n]}let nv=new WeakMap;function ny(e,i,n,r){if(!e&&!nv.has(i))return!1;let s=nv.get(i)??new WeakMap;nv.set(i,s);let o=s.get(n)??new Set;s.set(n,o);let a=o.has(r);return e?o.add(r):o.delete(r),a&&e}var nw=function(e,i,n,r={}){let{signal:s,base:o=document}=r;if(s?.aborted)return;let{once:a,...l}=r,u=o instanceof Document?o.documentElement:o,c=!!("object"==typeof r?r.capture:r),d=r=>{let s=function(e,i){let n=e.target;if(n instanceof Text&&(n=n.parentElement),n instanceof Element&&e.currentTarget instanceof Node){let r=n.closest(i);if(r&&e.currentTarget.contains(r))return r}}(r,String(e));if(s){let e=Object.assign(r,{delegateTarget:s});n.call(u,e),a&&(u.removeEventListener(i,d,l),ny(!1,u,n,h))}},h=JSON.stringify({selector:e,type:i,capture:c});ny(!0,u,n,h)||u.addEventListener(i,d,l),s?.addEventListener("abort",()=>{ny(!1,u,n,h)})};function n_(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function nb(e){return e&&e.sensitive?"":"i"}function nS(){return(nS=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let nx=(e,i)=>String(e).toLowerCase().replace(/[\s/_.]+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+|-+$/g,"")||i||"",nT=({hash:e}={})=>window.location.pathname+window.location.search+(e?window.location.hash:""),nE=(e=null,i={})=>{e=e||nT({hash:!0});let n=nS({},window.history.state||{},{url:e,random:Math.random(),source:"swup"},i);window.history.replaceState(n,"",e)},nM=(e,i,n,r)=>{let s=new AbortController;return nw(e,i,n,r=nS({},r,{signal:s.signal})),{destroy:()=>s.abort()}};class nk extends URL{constructor(e,i=document.baseURI){super(e.toString(),i),Object.setPrototypeOf(this,nk.prototype)}get url(){return this.pathname+this.search}static fromElement(e){return new nk(e.getAttribute("href")||e.getAttribute("xlink:href")||"")}static fromUrl(e){return new nk(e)}}let nP=(e,i)=>{Array.isArray(e)&&!e.length&&(e="");try{var n,r,s,o,a,l,u;return n=e,r=[],s=function e(i,n,r){if(i instanceof RegExp){var s;if(!n)return i;for(var o=/\((?:\?<(.*?)>)?(?!\?)/g,a=0,l=o.exec(i.source);l;)n.push({name:l[1]||a++,prefix:"",suffix:"",modifier:"",pattern:""}),l=o.exec(i.source);return i}return Array.isArray(i)?(s=i.map(function(i){return e(i,n,r).source}),new RegExp("(?:".concat(s.join("|"),")"),nb(r))):function(e,i,n){void 0===n&&(n={});for(var r=n.strict,s=void 0!==r&&r,o=n.start,a=n.end,l=n.encode,u=void 0===l?function(e){return e}:l,c=n.delimiter,d=n.endsWith,h="[".concat(n_(void 0===d?"":d),"]|$"),f="[".concat(n_(void 0===c?"/#?":c),"]"),p=void 0===o||o?"^":"",m=0;m<e.length;m++){var g=e[m];if("string"==typeof g)p+=n_(u(g));else{var v=n_(u(g.prefix)),y=n_(u(g.suffix));if(g.pattern)if(i&&i.push(g),v||y)if("+"===g.modifier||"*"===g.modifier){var w="*"===g.modifier?"?":"";p+="(?:".concat(v,"((?:").concat(g.pattern,")(?:").concat(y).concat(v,"(?:").concat(g.pattern,"))*)").concat(y,")").concat(w)}else p+="(?:".concat(v,"(").concat(g.pattern,")").concat(y,")").concat(g.modifier);else{if("+"===g.modifier||"*"===g.modifier)throw TypeError('Can not repeat "'.concat(g.name,'" without a prefix and suffix'));p+="(".concat(g.pattern,")").concat(g.modifier)}else p+="(?:".concat(v).concat(y,")").concat(g.modifier)}}if(void 0===a||a)s||(p+="".concat(f,"?")),p+=n.endsWith?"(?=".concat(h,")"):"$";else{var _=e[e.length-1],b="string"==typeof _?f.indexOf(_[_.length-1])>-1:void 0===_;s||(p+="(?:".concat(f,"(?=").concat(h,"))?")),b||(p+="(?=".concat(f,"|").concat(h,")"))}return new RegExp(p,nb(n))}(function(e,i){void 0===i&&(i={});for(var n=function(e){for(var i=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){i.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){i.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){i.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){i.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var s="",o=n+1;o<e.length;){var a=e.charCodeAt(o);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){s+=e[o++];continue}break}if(!s)throw TypeError("Missing parameter name at ".concat(n));i.push({type:"NAME",index:n,value:s}),n=o;continue}if("("===r){var l=1,u="",o=n+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){u+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--l){o++;break}}else if("("===e[o]&&(l++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));u+=e[o++]}if(l)throw TypeError("Unbalanced pattern at ".concat(n));if(!u)throw TypeError("Missing pattern at ".concat(n));i.push({type:"PATTERN",index:n,value:u}),n=o;continue}i.push({type:"CHAR",index:n,value:e[n++]})}return i.push({type:"END",index:n,value:""}),i}(e),r=i.prefixes,s=void 0===r?"./":r,o=i.delimiter,a=void 0===o?"/#?":o,l=[],u=0,c=0,d="",h=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},f=function(e){var i=h(e);if(void 0!==i)return i;var r=n[c],s=r.type,o=r.index;throw TypeError("Unexpected ".concat(s," at ").concat(o,", expected ").concat(e))},p=function(){for(var e,i="";e=h("CHAR")||h("ESCAPED_CHAR");)i+=e;return i},m=function(e){for(var i=0;i<a.length;i++){var n=a[i];if(e.indexOf(n)>-1)return!0}return!1},g=function(e){var i=l[l.length-1],n=e||(i&&"string"==typeof i?i:"");if(i&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(i.name,'"'));return!n||m(n)?"[^".concat(n_(a),"]+?"):"(?:(?!".concat(n_(n),")[^").concat(n_(a),"])+?")};c<n.length;){var v=h("CHAR"),y=h("NAME"),w=h("PATTERN");if(y||w){var _=v||"";-1===s.indexOf(_)&&(d+=_,_=""),d&&(l.push(d),d=""),l.push({name:y||u++,prefix:_,suffix:"",pattern:w||g(_),modifier:h("MODIFIER")||""});continue}var b=v||h("ESCAPED_CHAR");
4if(b){d+=b;continue}if(d&&(l.push(d),d=""),h("OPEN")){var _=p(),S=h("NAME")||"",x=h("PATTERN")||"",T=p();f("CLOSE"),l.push({name:S||(x?u++:""),pattern:S&&!x?g(_):x,prefix:_,suffix:T,modifier:h("MODIFIER")||""});continue}f("END")}return l}(i,r),n,r)}(n,r,i),o=r,a=i,void 0===a&&(a={}),l=a.decode,u=void 0===l?function(e){return e}:l,function(e){var i=s.exec(e);if(!i)return!1;for(var n=i[0],r=i.index,a=Object.create(null),l=1;l<i.length;l++)!function(e){if(void 0!==i[e]){var n=o[e-1];"*"===n.modifier||"+"===n.modifier?a[n.name]=i[e].split(n.prefix+n.suffix).map(function(e){return u(e,n)}):a[n.name]=u(i[e],n)}}(l);return{path:n,index:r,params:a}}}catch(i){throw Error(`[swup] Error parsing path "${String(e)}": 5${String(i)}`)}};class nO extends Error{constructor(e,i){super(e),this.url=void 0,this.status=void 0,this.aborted=void 0,this.timedOut=void 0,this.name="FetchError",this.url=i.url,this.status=i.status,this.aborted=i.aborted||!1,this.timedOut=i.timedOut||!1}}async function nA(e,i={}){var n;e=nk.fromUrl(e).url;let{visit:r=this.visit}=i,s=nS({},this.options.requestHeaders,i.headers),o=null!=(n=i.timeout)?n:this.options.timeout,a=new AbortController,{signal:l}=a;i=nS({},i,{headers:s,signal:l});let u,c=!1,d=null;o&&o>0&&(d=setTimeout(()=>{c=!0,a.abort("timeout")},o));try{u=await this.hooks.call("fetch:request",r,{url:e,options:i},(e,{url:i,options:n})=>fetch(i,n)),d&&clearTimeout(d)}catch(i){if(c)throw this.hooks.call("fetch:timeout",r,{url:e}),new nO(`Request timed out: ${e}`,{url:e,timedOut:c});if("AbortError"===(null==i?void 0:i.name)||l.aborted)throw new nO(`Request aborted: ${e}`,{url:e,aborted:!0});throw i}let{status:h,url:f}=u,p=await u.text();if(500===h)throw this.hooks.call("fetch:error",r,{status:h,response:u,url:f}),new nO(`Server error: ${f}`,{status:h,url:f});if(!p)throw new nO(`Empty response: ${f}`,{status:h,url:f});let{url:m}=nk.fromUrl(f),g={url:m,html:p};return!r.cache.write||i.method&&"GET"!==i.method||e!==m||this.cache.set(g.url,g),g}class nC{constructor(e){this.swup=void 0,this.pages=new Map,this.swup=e}get size(){return this.pages.size}get all(){let e=new Map;return this.pages.forEach((i,n)=>{e.set(n,nS({},i))}),e}has(e){return this.pages.has(this.resolve(e))}get(e){let i=this.pages.get(this.resolve(e));return i?nS({},i):i}set(e,i){i=nS({},i,{url:e=this.resolve(e)}),this.pages.set(e,i),this.swup.hooks.callSync("cache:set",void 0,{page:i})}update(e,i){e=this.resolve(e);let n=nS({},this.get(e),i,{url:e});this.pages.set(e,n)}delete(e){this.pages.delete(this.resolve(e))}clear(){this.pages.clear(),this.swup.hooks.callSync("cache:clear",void 0,void 0)}prune(e){this.pages.forEach((i,n)=>{e(n,i)&&this.delete(n)})}resolve(e){let{url:i}=nk.fromUrl(e);return this.swup.resolveUrl(i)}}let nL=(e,i=document)=>Array.from(i.querySelectorAll(e)),nD=()=>new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e()})})});function nI(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function nR(e,i){let n=null==e?void 0:e.closest(`[${i}]`);return null!=n&&n.hasAttribute(i)?(null==n?void 0:n.getAttribute(i))||!0:void 0}class n${constructor(e){this.swup=void 0,this.swupClasses=["to-","is-changing","is-rendering","is-popstate","is-animating","is-leaving"],this.swup=e}get selectors(){let{scope:e}=this.swup.visit.animation;return"containers"===e?this.swup.visit.containers:"html"===e?["html"]:Array.isArray(e)?e:[]}get selector(){return this.selectors.join(",")}get targets(){return this.selector.trim()?nL(this.selector):[]}add(...e){this.targets.forEach(i=>i.classList.add(...e))}remove(...e){this.targets.forEach(i=>i.classList.remove(...e))}clear(){this.targets.forEach(e=>{let i=e.className.split(" ").filter(e=>this.isSwupClass(e));e.classList.remove(...i)})}isSwupClass(e){return this.swupClasses.some(i=>e.startsWith(i))}}class nz{constructor(e,i){this.id=void 0,this.state=void 0,this.from=void 0,this.to=void 0,this.containers=void 0,this.animation=void 0,this.trigger=void 0,this.cache=void 0,this.history=void 0,this.scroll=void 0,this.meta=void 0;const{to:n,from:r,hash:s,el:o,event:a}=i;this.id=Math.random(),this.state=1,this.from={url:null!=r?r:e.location.url,hash:e.location.hash},this.to={url:n,hash:s},this.containers=e.options.containers,this.animation={animate:!0,wait:!1,name:void 0,native:e.options.native,scope:e.options.animationScope,selector:e.options.animationSelector},this.trigger={el:o,event:a},this.cache={read:e.options.cache,write:e.options.cache},this.history={action:"push",popstate:!1,direction:void 0},this.scroll={reset:!0,target:void 0},this.meta={}}advance(e){this.state<e&&(this.state=e)}abort(){this.state=8}get done(){return this.state>=7}}function nF(e){return new nz(this,e)}class nN{constructor(e){this.swup=void 0,this.registry=new Map,this.hooks=["animation:out:start","animation:out:await","animation:out:end","animation:in:start","animation:in:await","animation:in:end","animation:skip","cache:clear","cache:set","content:replace","content:scroll","enable","disable","fetch:request","fetch:error","fetch:timeout","history:popstate","link:click","link:self","link:anchor","link:newtab","page:load","page:view","scroll:top","scroll:anchor","visit:start","visit:transition","visit:abort","visit:end"],this.swup=e,this.init()}
5init(){this.hooks.forEach(e=>this.create(e))}create(e){this.registry.has(e)||this.registry.set(e,new Map)}exists(e){return this.registry.has(e)}get(e){let i=this.registry.get(e);if(i)return i;console.error(`Unknown hook '${e}'`)}clear(){this.registry.forEach(e=>e.clear())}on(e,i,n={}){let r=this.get(e);if(!r)return console.warn(`Hook '${e}' not found.`),()=>{};let s=nS({},n,{id:r.size+1,hook:e,handler:i});return r.set(i,s),()=>this.off(e,i)}before(e,i,n={}){return this.on(e,i,nS({},n,{before:!0}))}replace(e,i,n={}){return this.on(e,i,nS({},n,{replace:!0}))}once(e,i,n={}){return this.on(e,i,nS({},n,{once:!0}))}off(e,i){let n=this.get(e);n&&i?n.delete(i)||console.warn(`Handler for hook '${e}' not found.`):n&&n.clear()}async call(e,i,n,r){let[s,o,a]=this.parseCallArgs(e,i,n,r),{before:l,handler:u,after:c}=this.getHandlers(e,a);await this.run(l,s,o);let[d]=await this.run(u,s,o,!0);return await this.run(c,s,o),this.dispatchDomEvent(e,s,o),d}callSync(e,i,n,r){let[s,o,a]=this.parseCallArgs(e,i,n,r),{before:l,handler:u,after:c}=this.getHandlers(e,a);this.runSync(l,s,o);let[d]=this.runSync(u,s,o,!0);return this.runSync(c,s,o),this.dispatchDomEvent(e,s,o),d}parseCallArgs(e,i,n,r){return i instanceof nz||"object"!=typeof i&&"function"!=typeof n?[i,n,r]:[void 0,i,n]}async run(e,i=this.swup.visit,n,r=!1){let s=[];for(let{hook:o,handler:a,defaultHandler:l,once:u}of e)if(null==i||!i.done){u&&this.off(o,a);try{let e=await function(e,i=[]){return new Promise((n,r)=>{let s=e(...i);nI(s)?s.then(n,r):n(s)})}(a,[i,n,l]);s.push(e)}catch(e){if(r)throw e;console.error(`Error in hook '${o}':`,e)}}return s}runSync(e,i=this.swup.visit,n,r=!1){let s=[];for(let{hook:o,handler:a,defaultHandler:l,once:u}of e)if(null==i||!i.done){u&&this.off(o,a);try{let e=a(i,n,l);s.push(e),nI(e)&&console.warn(`Swup will not await Promises in handler for synchronous hook '${o}'.`)}catch(e){if(r)throw e;console.error(`Error in hook '${o}':`,e)}}return s}getHandlers(e,i){let n=this.get(e);if(!n)return{found:!1,before:[],handler:[],after:[],replaced:!1};let r=Array.from(n.values()),s=this.sortRegistrations,o=r.filter(({before:e,replace:i})=>e&&!i).sort(s),a=r.filter(({replace:e})=>e).filter(e=>!0).sort(s),l=r.filter(({before:e,replace:i})=>!e&&!i).sort(s),u=a.length>0,c=[];if(i&&(c=[{id:0,hook:e,handler:i}],u)){let n=a.length-1,{handler:r,once:s}=a[n],o=e=>{let n=a[e-1];return n?(i,r)=>n.handler(i,r,o(e-1)):i};c=[{id:0,hook:e,once:s,handler:r,defaultHandler:o(n)}]}return{found:!0,before:o,handler:c,after:l,replaced:u}}sortRegistrations(e,i){var n,r;return(null!=(n=e.priority)?n:0)-(null!=(r=i.priority)?r:0)||e.id-i.id||0}dispatchDomEvent(e,i,n){if(null!=i&&i.done)return;let r={hook:e,args:n,visit:i||this.swup.visit};document.dispatchEvent(new CustomEvent("swup:any",{detail:r,bubbles:!0})),document.dispatchEvent(new CustomEvent(`swup:${e}`,{detail:r,bubbles:!0}))}parseName(e){let[i,...n]=e.split(".");return[i,n.reduce((e,i)=>nS({},e,{[i]:!0}),{})]}}let nj=e=>{if(e&&"#"===e.charAt(0)&&(e=e.substring(1)),!e)return null;let i=decodeURIComponent(e),n=document.getElementById(e)||document.getElementById(i)||((e,i=document)=>i.querySelector(e))(`a[name='${CSS.escape(e)}']`)||((e,i=document)=>i.querySelector(e))(`a[name='${CSS.escape(i)}']`);return n||"top"!==e||(n=document.body),n},nV="transition",nH="animation";async function nB({selector:e,elements:i}){if(!1===e&&!i)return;let n=[];if(i)n=Array.from(i);else if(e&&!(n=nL(e,document.body)).length)return void console.warn(`[swup] No elements found matching animationSelector \`${e}\``);let r=n.map(e=>(function(e){let i,n,r,s,o,a,l,u,c,{type:d,timeout:h,propCount:f}=(n=nq(i=window.getComputedStyle(e),`${nV}Delay`),s=nU(n,r=nq(i,`${nV}Duration`)),o=nq(i,`${nH}Delay`),{type:c=(u=Math.max(s,l=nU(o,a=nq(i,`${nH}Duration`))))>0?s>l?nV:nH:null,timeout:u,propCount:c?c===nV?r.length:a.length:0});return!(!d||!h)&&new Promise(i=>{let n=`${d}end`,r=performance.now(),s=0,o=()=>{e.removeEventListener(n,a),i()},a=i=>{i.target===e&&((performance.now()-r)/1e3<i.elapsedTime||++s>=f&&o())};setTimeout(()=>{s<f&&o()},h+1),e.addEventListener(n,a)})})(e));r.filter(Boolean).length>0?await Promise.all(r):e&&console.warn(`[swup] No CSS animation duration defined on elements matching \`${e}\``)}function nq(e,i){return(e[i]||"").split(", ")}function nU(e,i){for(;e.length<i.length;)e=e.concat(e);return Math.max(...i.map((i,n)=>nG(i)+nG(e[n])))}function nG(e){return 1e3*parseFloat(e)}function nY(e,i={},n={}){if("string"!=typeof e)throw Error("swup.navigate() requires a URL parameter");if(this.shouldIgnoreVisit(e,{el:n.el,event:n.event}))return void window.location.assign(e);let{url:r,hash:s}=nk.fromUrl(e),o=this.createVisit(nS({},n,{to:r,hash:s}));this.performNavigation(o,i)}async function nW(e,i={}){var n,r;if(this.navigating){if(this.visit.state>=6)return e.state=2,void(this.onVisitEnd=()=>this.performNavigation(e,i));await this.hooks.call("visit:abort",this.visit,void 0),delete this.visit.to.document,this.visit.state=8}this.navigating=!0,this.visit=e;let{el:s}=e.trigger;i.referrer=i.referrer||this.location.url,!1===i.animate&&(e.animation.animate=!1),e.animation.animate||this.classes.clear();let o=i.history||nR(s,"data-swup-history");"string"==typeof o&&["push","replace"].includes(o)&&(e.history.action=o);let a=i.animation||nR(s,"data-swup-animation");"string"==typeof a&&(e.animation.name=a),e.meta=i.meta||{}
5,"object"==typeof i.cache?(e.cache.read=null!=(n=i.cache.read)?n:e.cache.read,e.cache.write=null!=(r=i.cache.write)?r:e.cache.write):void 0!==i.cache&&(e.cache={read:!!i.cache,write:!!i.cache}),delete i.cache;try{await this.hooks.call("visit:start",e,void 0),e.state=3;let n=this.hooks.call("page:load",e,{options:i},async(e,i)=>{let n;return e.cache.read&&(n=this.cache.get(e.to.url)),i.page=n||await this.fetchPage(e.to.url,i.options),i.cache=!!n,i.page});n.then(({html:i})=>{e.advance(5),e.to.html=i,e.to.document=(new DOMParser).parseFromString(i,"text/html")});let r=e.to.url+e.to.hash;if(e.history.popstate||("replace"===e.history.action||e.to.url===this.location.url?nE(r):(this.currentHistoryIndex++,((e,i={})=>{let n=nS({url:e=e||nT({hash:!0}),random:Math.random(),source:"swup"},i);window.history.pushState(n,"",e)})(r,{index:this.currentHistoryIndex}))),this.location=nk.fromUrl(r),e.history.popstate&&this.classes.add("is-popstate"),e.animation.name&&this.classes.add(`to-${nx(e.animation.name)}`),e.animation.wait&&await n,e.done||(await this.hooks.call("visit:transition",e,void 0,async()=>{e.animation.animate?(e.advance(4),await this.animatePageOut(e),e.animation.native&&document.startViewTransition?await document.startViewTransition(async()=>await this.renderPage(e,await n)).finished:await this.renderPage(e,await n),await this.animatePageIn(e)):(await this.hooks.call("animation:skip",void 0),await this.renderPage(e,await n))}),e.done))return;await this.hooks.call("visit:end",e,void 0,()=>this.classes.clear()),e.state=7,this.navigating=!1,this.onVisitEnd&&(this.onVisitEnd(),this.onVisitEnd=void 0)}catch(i){if(!i||null!=i&&i.aborted)return void(e.state=8);e.state=9,console.error(i),this.options.skipPopStateHandling=()=>(window.location.assign(e.to.url+e.to.hash),!0),window.history.back()}finally{delete e.to.document}}let nX=async function(e){await this.hooks.call("animation:out:start",e,void 0,()=>{this.classes.add("is-changing","is-animating","is-leaving")}),await this.hooks.call("animation:out:await",e,{skip:!1},(e,{skip:i})=>{if(!i)return this.awaitAnimations({selector:e.animation.selector})}),await this.hooks.call("animation:out:end",e,void 0)},nK=function(e){var i;let n=e.to.document;if(!n)return!1;let r=(null==(i=n.querySelector("title"))?void 0:i.innerText)||"";document.title=r;let s=nL('[data-swup-persist]:not([data-swup-persist=""])'),o=e.containers.map(e=>{let i=document.querySelector(e),r=n.querySelector(e);return i&&r?(i.replaceWith(r.cloneNode(!0)),!0):(i||console.warn(`[swup] Container missing in current document: ${e}`),r||console.warn(`[swup] Container missing in incoming document: ${e}`),!1)}).filter(Boolean);return s.forEach(e=>{let i=e.getAttribute("data-swup-persist"),n=((e,i=document)=>i.querySelector(e))(`[data-swup-persist="${i}"]`);n&&n!==e&&n.replaceWith(e)}),o.length===e.containers.length},nJ=function(e){let i={behavior:"auto"},{target:n,reset:r}=e.scroll,s=null!=n?n:e.to.hash,o=!1;return s&&(o=this.hooks.callSync("scroll:anchor",e,{hash:s,options:i},(e,{hash:i,options:n})=>{let r=this.getAnchorElement(i);return r&&r.scrollIntoView(n),!!r})),r&&!o&&(o=this.hooks.callSync("scroll:top",e,{options:i},(e,{options:i})=>(window.scrollTo(nS({top:0,left:0},i)),!0))),o},nZ=async function(e){if(e.done)return;let i=this.hooks.call("animation:in:await",e,{skip:!1},(e,{skip:i})=>{if(!i)return this.awaitAnimations({selector:e.animation.selector})});await nD(),await this.hooks.call("animation:in:start",e,void 0,()=>{this.classes.remove("is-animating")}),await i,await this.hooks.call("animation:in:end",e,void 0)},nQ=async function(e,i){if(e.done)return;e.advance(6);let{url:n}=i;this.isSameResolvedUrl(nT(),n)||(nE(n),this.location=nk.fromUrl(n),e.to.url=this.location.url,e.to.hash=this.location.hash),await this.hooks.call("content:replace",e,{page:i},(e,{})=>{if(this.classes.remove("is-leaving"),e.animation.animate&&this.classes.add("is-rendering"),!this.replaceContent(e))throw Error("[swup] Container mismatch, aborting");e.animation.animate&&(this.classes.add("is-changing","is-animating","is-rendering"),e.animation.name&&this.classes.add(`to-${nx(e.animation.name)}`))}),await this.hooks.call("content:scroll",e,void 0,()=>this.scrollToContent(e)),await this.hooks.call("page:view",e,{url:this.location.url,title:document.title})},n0=function(e){if(null==e?void 0:e.isSwupPlugin){if(e.swup=this,!e._checkRequirements||e._checkRequirements())return e._beforeMount&&e._beforeMount(),e.mount(),this.plugins.push(e),this.plugins}else console.error("Not a swup plugin instance",e)};function n1(e){let i=this.findPlugin(e);if(i)return i.unmount(),i._afterUnmount&&i._afterUnmount(),this.plugins=this.plugins.filter(e=>e!==i),this.plugins;console.error("No such plugin",i)}function n2(e){return this.plugins.find(i=>
5i===e||i.name===e||i.name===`Swup${String(e)}`)}function n5(e){if("function"!=typeof this.options.resolveUrl)return console.warn("[swup] options.resolveUrl expects a callback function."),e;let i=this.options.resolveUrl(e);return i&&"string"==typeof i?i.startsWith("//")||i.startsWith("http")?(console.warn("[swup] options.resolveUrl needs to return a relative url"),e):i:(console.warn("[swup] options.resolveUrl needs to return a url"),e)}function n3(e,i){return this.resolveUrl(e)===this.resolveUrl(i)}let n4={animateHistoryBrowsing:!1,animationSelector:'[class*="transition-"]',animationScope:"html",cache:!0,containers:["#swup"],hooks:{},ignoreVisit:(e,{el:i}={})=>!(null==i||!i.closest("[data-no-swup]")),linkSelector:"a[href]",linkToSelf:"scroll",native:!1,plugins:[],resolveUrl:e=>e,requestHeaders:{"X-Requested-With":"swup",Accept:"text/html, application/xhtml+xml"},skipPopStateHandling:e=>{var i;return"swup"!==(null==(i=e.state)?void 0:i.source)},timeout:0};class n6{get currentPageUrl(){return this.location.url}constructor(e={}){var i,n;this.version="4.8.3",this.options=void 0,this.defaults=n4,this.plugins=[],this.visit=void 0,this.cache=void 0,this.hooks=void 0,this.classes=void 0,this.location=nk.fromUrl(window.location.href),this.currentHistoryIndex=void 0,this.clickDelegate=void 0,this.navigating=!1,this.onVisitEnd=void 0,this.use=n0,this.unuse=n1,this.findPlugin=n2,this.log=()=>{},this.navigate=nY,this.performNavigation=nW,this.createVisit=nF,this.delegateEvent=nM,this.fetchPage=nA,this.awaitAnimations=nB,this.renderPage=nQ,this.replaceContent=nK,this.animatePageIn=nZ,this.animatePageOut=nX,this.scrollToContent=nJ,this.getAnchorElement=nj,this.getCurrentUrl=nT,this.resolveUrl=n5,this.isSameResolvedUrl=n3,this.options=nS({},this.defaults,e),this.handleLinkClick=this.handleLinkClick.bind(this),this.handlePopState=this.handlePopState.bind(this),this.cache=new nC(this),this.classes=new n$(this),this.hooks=new nN(this),this.visit=this.createVisit({to:""}),this.currentHistoryIndex=null!=(i=null==(n=window.history.state)?void 0:n.index)?i:1,this.enable()}async enable(){var e;let{linkSelector:i}=this.options;for(let[e,n]of(this.clickDelegate=this.delegateEvent(i,"click",this.handleLinkClick),window.addEventListener("popstate",this.handlePopState),this.options.animateHistoryBrowsing&&(window.history.scrollRestoration="manual"),this.options.native=this.options.native&&!!document.startViewTransition,this.options.plugins.forEach(e=>this.use(e)),Object.entries(this.options.hooks))){let[i,r]=this.hooks.parseName(e);this.hooks.on(i,n,r)}"swup"!==(null==(e=window.history.state)?void 0:e.source)&&nE(null,{index:this.currentHistoryIndex}),await nD(),await this.hooks.call("enable",void 0,void 0,()=>{let e=document.documentElement;e.classList.add("swup-enabled"),e.classList.toggle("swup-native",this.options.native)})}async destroy(){this.clickDelegate.destroy(),window.removeEventListener("popstate",this.handlePopState),this.cache.clear(),this.options.plugins.forEach(e=>this.unuse(e)),await this.hooks.call("disable",void 0,void 0,()=>{let e=document.documentElement;e.classList.remove("swup-enabled"),e.classList.remove("swup-native")}),this.hooks.clear()}shouldIgnoreVisit(e,{el:i,event:n}={}){let{origin:r,url:s,hash:o}=nk.fromUrl(e);return r!==window.location.origin||!(!i||!this.triggerWillOpenNewWindow(i))||!!this.options.ignoreVisit(s+o,{el:i,event:n})}handleLinkClick(e){let i=e.delegateTarget,{href:n,url:r,hash:s}=nk.fromElement(i);if(this.shouldIgnoreVisit(n,{el:i,event:e}))return;if(this.navigating&&r===this.visit.to.url)return void e.preventDefault();let o=this.createVisit({to:r,hash:s,el:i,event:e});e.metaKey||e.ctrlKey||e.shiftKey||e.altKey?this.hooks.callSync("link:newtab",o,{href:n}):0===e.button&&this.hooks.callSync("link:click",o,{el:i,event:e},()=>{var i;let n=null!=(i=o.from.url)?i:"";e.preventDefault(),r&&r!==n?this.isSameResolvedUrl(r,n)||this.performNavigation(o):s?this.hooks.callSync("link:anchor",o,{hash:s},()=>{nE(r+s),this.scrollToContent(o)}):this.hooks.callSync("link:self",o,void 0,()=>{"navigate"===this.options.linkToSelf?this.performNavigation(o):(nE(r),this.scrollToContent(o))})})}handlePopState(e){var i,n,r,s;let o=null!=(i=null==(n=e.state)?void 0:n.url)?i:window.location.href;if(this.options.skipPopStateHandling(e)||this.isSameResolvedUrl(nT(),this.location.url))return;let{url:a,hash:l}=nk.fromUrl(o),u=this.createVisit({to:a,hash:l,event:e});u.history.popstate=!0;let c=null!=(r=null==(s=e.state)?void 0:s.index)?r:0;c&&c!==this.currentHistoryIndex&&(u.history.direction=c-this.currentHistoryIndex>0?"forwards":"backwards",this.currentHistoryIndex=c),u.animation.animate=!1,u.scroll.reset=!1,u.scroll.target=!1,this.options.animateHistoryBrowsing&&(u.animation.animate=!0,u.scroll.reset=!0),this.hooks.callSync("history:popstate",u,{event:e},()=>{this.performNavigation(u)})}triggerWillOpenNewWindow(e){return!!e.matches('[download], [target="_blank"]')}}function n8(){return(n8=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let n9=e=>String(e).split(".").map(e=>String(parseInt(e||"0",10))).concat(["0","0"]).slice(0,3).join(".");class n7{constructor(){this.isSwupPlugin=!0,this.swup=void 0,this.version=void 0,this.requires={},this.handlersToUnregister=[]}mount(){}
5unmount(){this.handlersToUnregister.forEach(e=>e()),this.handlersToUnregister=[]}_beforeMount(){if(!this.name)throw Error("You must define a name of plugin when creating a class.")}_afterUnmount(){}_checkRequirements(){return"object"!=typeof this.requires||Object.entries(this.requires).forEach(([e,i])=>{var n;let r;if(n=i=Array.isArray(i)?i:[i],!((r=function(e,i){var n,r;if("swup"===e)return null!=(n=i.version)?n:"";{let n=i.findPlugin(e);return null!=(r=null==n?void 0:n.version)?r:""}}(e,this.swup))&&n.every(e=>{var i,n,s,o;let a,[,l,u]=e.match(/^([\D]+)?(.*)$/)||[];return n=u,i=n9(i=r),n=n9(n),s=i.localeCompare(n,void 0,{numeric:!0}),o=l||">=",((a={"":e=>0===e,">":e=>e>0,">=":e=>e>=0,"<":e=>e<0,"<=":e=>e<=0})[o]||a[""])(s)}))){let n=`${e} ${i.join(", ")}`;throw Error(`Plugin version mismatch: ${this.name} requires ${n}`)}}),!0}on(e,i,n={}){var r;i=!(r=i).name.startsWith("bound ")||r.hasOwnProperty("prototype")?i.bind(this):i;let s=this.swup.hooks.on(e,i,n);return this.handlersToUnregister.push(s),s}once(e,i,n={}){return this.on(e,i,n8({},n,{once:!0}))}before(e,i,n={}){return this.on(e,i,n8({},n,{before:!0}))}replace(e,i,n={}){return this.on(e,i,n8({},n,{replace:!0}))}off(e,i){return this.swup.hooks.off(e,i)}}function re(){return(re=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function rt(e,i,{stripEmptyParams:n=!1}={}){let r,s,o=ri("method",e,i),a=ri("enctype",e,i),l=ri("target",e,i,""),{origin:u,href:c}=nk.fromUrl(ri("action",e,i)),d=new FormData(e,i);"POST"===o&&(r="multipart/form-data"===a?d:new URLSearchParams(d)),s="GET"===o?function(e,i){let[
5n,r]=[...e.split(/(?=#)/),""],s=n.split("?")[0],o=new URLSearchParams(i).toString();return o?`${s}?${o}${r}`:s+r}(c,n?function(e){let i=new FormData;for(let[n,r]of Array.from(e.entries()))""!==r&&i.append(n,r);return i}(d):d):c;let{url:h,hash:f}=nk.fromUrl(s);return{origin:u,action:c,href:s,url:h,hash:f,method:o,target:l,data:d,body:r,encoding:a}}function ri(e,i,n,r){var s,o,a=null!=(s=null!=(o=null==n?void 0:n.getAttribute(`form${e}`))?o:i.getAttribute(e))?s:r;switch(e){case"action":return null!=a?a:nT();case"method":return(a||"get").toUpperCase();case"enctype":return(a||"application/x-www-form-urlencoded").toLowerCase();default:return null!=a?a:null}}class rn extends n7{constructor(e={}){super(),this.name="SwupFormsPlugin",this.requires={swup:">=4"},this.defaults={formSelector:"form[data-swup-form]",inlineFormSelector:"form[data-swup-inline-form]",stripEmptyParams:!1},this.options=void 0,this.specialKeys=void 0,this.formSubmitDelegate=void 0,this.prepareInlineForms=e=>{let{el:i}=e.trigger;if(null==i||!i.matches(this.options.inlineFormSelector))return;if(!i.id)return void console.error("[@swup/forms-plugin] inline forms must have an id attribute:",i);let n=`#${i.id}`;e.containers=[n],e.animation.scope="containers",e.animation.selector=n,e.scroll.target=n;let r=e.a11y;"object"==typeof r&&(r.focus=n)},this.options=re({},this.defaults,e),this.specialKeys=function(e){let i={};function n({key:r}){e.includes(r)&&(i[r]=!0)}function r({key:n}){e.includes(n)&&(i[n]=!1)}function s(){i={}}return{watch:function(){document.addEventListener("keydown",n),document.addEventListener("keyup",r),window.addEventListener("blur",s)},unwatch:function(){document.removeEventListener("keydown",n),document.removeEventListener("keyup",r),document.removeEventListener("blur",s),i={}},get pressed(){return Object.values(i).filter(Boolean).length>0}}}(["Meta","Control","Shift"]),this.beforeFormSubmit=this.beforeFormSubmit.bind(this)}mount(){this.swup.hooks.create("form:submit"),this.swup.hooks.create("form:submit:newtab"),this.specialKeys.watch(),this.formSubmitDelegate=this.swup.delegateEvent(this.options.formSelector,"submit",this.beforeFormSubmit,{capture:!0}),this.on("visit:start",this.prepareInlineForms,{priority:1})}unmount(){var e;null==(e=this.formSubmitDelegate)||e.destroy(),this.specialKeys.unwatch()}beforeFormSubmit(e){let i=this.swup,{delegateTarget:n,submitter:r}=e,{href:s,url:o,hash:a,target:l}=rt(n,r),u=this.specialKeys.pressed,c="_blank"===l,d=i.createVisit({to:o,hash:a,el:n,event:e});if(u||c||!i.shouldIgnoreVisit(s,{el:n,event:e}))if(c)i.hooks.callSync("form:submit:newtab",d,{el:n,event:e});else if(u){let r;i.hooks.callSync("form:submit:newtab",d,{el:n,event:e});let s=(r=n.getAttribute("target")||"",n.setAttribute("target","_blank"),()=>{r?n.setAttribute("target",r):n.removeAttribute("target")});n.addEventListener("submit",()=>setTimeout(s),{once:!0})}else i.hooks.callSync("form:submit",d,{el:n,event:e},()=>{this.submitForm(e)})}submitForm(e){let{delegateTarget:i,submitter:n}=e,{stripEmptyParams:r}=this.options,{href:s,method:o,body:a}=rt(i,n,{stripEmptyParams:r});["GET","POST"].includes(o)?(e.preventDefault(),this.swup.navigate(s,{method:o,body:a,cache:{read:!1,write:!0}},{el:i,event:e})):console.warn(`Unsupported form method: ${o}`)}}function rr(){return(rr=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}window.process||(window.process={}),window.process.env||(window.process.env={});let rs=["test"].includes(String("production")),ro=["development","test"].includes(String("production")),ra=(e,i,n)=>null==e?e:`�[${i}m${String(e)}�[${n}m`,rl=e=>rs?e:`ð§© ${ra(e,1,22)}`,ru=e=>rs?e:ra(e,94,39);class rc{log(...e){console.log(rl(e.shift()),...e)}warn(...e){console.warn(rl(e.shift()),...e)}error(...e){console.error(rl(e.shift()),...e)}logIf(e,...i){e&&this.log(...i)}warnIf(e,...i){e&&this.warn(...i)}errorIf(e,...i){e&&this.error(...i)}}let rd=e=>{!function({parsedRules:e,swup:i,logger:n}){let r=i.getCurrentUrl();e.filter(e=>
5e.matchesFrom(r)||e.matchesTo(r)).forEach(e=>{e.containers.forEach(e=>{let s=rw(`${e}:not([data-swup-fragment])`,i);if(!s)return;let o=s.getAttribute("data-swup-fragment-url");o&&ro&&(null==n||n.log(`fragment url ${ru(o)} for ${ru(e)} provided by server`));let{url:a}=nk.fromUrl(o||r);s.setAttribute("data-swup-fragment",""),s.__swupFragment={url:a,selector:e}})})}(e),function({logger:e,swup:i}){let n="data-swup-link-to-fragment";document.querySelectorAll(`a[${n}]`).forEach(r=>{var s,o;let a=null==(s=r.getAttribute(n))?void 0:s.trim();if(!a)return void(ro&&(null==e||e.warn(`[${n}] needs to contain a valid fragment selector`)));let l=a.trim().split(",").map(e=>e.trim()),u=function(e,i){for(let n of e.map(e=>e.trim())){let e=rw(n,i);if(e)return e}}(l,i);if(!u){if(ro){let i=l.length>1?"are":"is",r=ru(l.join(", "));null==e||e.log(`ignoring ${ru(`[${n}="${a}"]`)} as ${r} ${i} missing`)}return}let c=null==(o=u.__swupFragment)?void 0:o.url;c?(rf(c,i.getCurrentUrl())&&ro&&(null==e||e.warn(`The fragment URL of #${u.id} is identical to the current URL. This could mean that [data-swup-fragment-url] needs to be provided by the server.`)),r.href=c):ro&&(null==e||e.warn(`no fragment infos found on #${u.id}`))})}(e),function({logger:e}){document.querySelectorAll("dialog[data-swup-fragment][open]").forEach(i=>{i.__swupFragment?i.__swupFragment.modalShown||(i.__swupFragment.modalShown=!0,i.removeAttribute("open"),null==i.showModal||i.showModal(),i.addEventListener("keydown",e=>"Escape"===e.key&&e.preventDefault())):ro&&(null==e||e.warn("fragment properties missing on element:",i))})}(e)},rh=(e,i)=>{var n;let r=null==(n=e.__swupFragment)?void 0:n.url;return!!r&&rf(r,i)},rf=(e,i)=>rp(e)===rp(i),rp=e=>{if(!e.trim())return e;let i=nk.fromUrl(e);return i.searchParams.sort(),i.pathname.replace(/\/+$/g,"")+i.search},rm=e=>{let i=e.from.url,n=e.to.url;if(i&&n)return{from:i,to:n}},rg=(e,i)=>{if(null==e||!e.name)return;let{name:n,containers:r}=e;r.forEach(e=>{var r;null==(r=document.querySelector(e))||r.classList.toggle(`to-${n}`,i)})},rv=(e,i,n)=>i.find(i=>i.matches(e,n));function ry(e){return!!e&&e.containers.every(e=>{var i;return"template"===(null==(i=document.querySelector(e))||null==(i=i.tagName)?void 0:i.toLowerCase())})}function rw(e,i){for(let n of i.options.containers){let i=document.querySelector(n);if(null!=i&&i.matches(e))return i;let r=null==i?void 0:i.querySelector(e);if(r)return r}}function r_(e){if(!Array.isArray(e))throw Error("cloneRules() expects an array of rules");return e.map(e=>rr({},e,{from:Array.isArray(e.from)?[...e.from]:e.from,to:Array.isArray(e.to)?[...e.to]:e.to,containers:[...e.containers]}))}class rb{constructor(e){var i,n;this.matchesFrom=void 0,this.matchesTo=void 0,this.swup=void 0,this.from=void 0,this.to=void 0,this.containers=void 0,this.name=void 0,this.scroll=!1,this.focus=void 0,this.logger=void 0,this.if=()=>!0,this.swup=e.swup,this.logger=e.logger,this.from=e.from||"",this.to=e.to||"",e.name&&(this.name=nx(e.name)),void 0!==e.scroll&&(this.scroll=e.scroll),void 0!==e.focus&&(this.focus=e.focus),"function"==typeof e.if&&(this.if=e.if),this.containers=this.parseContainers(e.containers),ro&&(null==(i=this.logger)||i.errorIf(!this.to,"Every fragment rule must contain a 'to' path",this),null==(n=this.logger)||n.errorIf(!this.from,"Every fragment rule must contain a 'from' path",this)),this.matchesFrom=nP(this.from),this.matchesTo=nP(this.to)}parseContainers(e){var i;return Array.isArray(e)&&e.length?[...new Set(e.map(e=>e.trim()))].filter(e=>{var i;let n=this.validateSelector(e);return null==(i=this.logger)||i.errorIf(n instanceof Error,n),!0===n}):(ro&&(null==(i=this.logger)||i.error("Every fragment rule must contain an array of containers",this.getDebugInfo())),[])}validateSelector(e){return e.startsWith("#")?!e.match(/\s|>/)||Error(`fragment selectors must not be nested: ${e}`):Error(`fragment selectors must be IDs: ${e}`)}getDebugInfo(){let{from:e,to:i,containers:n}=this;return{from:String(e),to:String(i),containers:String(n)}}matches(e,i){var n,r;if(!this.if(i))return ro&&(null==(n=this.logger)||n.log("ignoring fragment rule due to custom rule.if:",this)),!1;let{url:s}=nk.fromUrl(e.from),{url:o}=nk.fromUrl(e.to);if(!this.matchesFrom(s)||!this.matchesTo(o))return!1;
5for(let e of this.containers){let i=this.validateFragmentSelectorForMatch(e);if(i instanceof Error)return ro&&(null==(r=this.logger)||r.error(i,this.getDebugInfo())),!1}return!0}validateFragmentSelectorForMatch(e){return document.querySelector(e)?!!rw(e,this.swup)||Error(`skipping rule since ${ru(e)} is outside of swup's default containers`):Error(`skipping rule since ${ru(e)} doesn't exist in the current document`)}}let rS=function(e){let i=rm(e);i&&rv(i,this.parsedRules,e)&&(e.scroll.reset=!1)},rx=async function(e){var i,n;let r,s,o=rm(e);if(!o)return;let a=this.getFragmentVisit(o,e);if(!a)return;e.fragmentVisit=a,ro&&(null==(i=this.logger)||i.log(`fragment visit: ${ru(e.fragmentVisit.containers.join(", "))}`)),r=e.scroll,"function"==typeof(s=a.scroll)&&(s=s(e)),e.scroll="boolean"==typeof s?rr({},r,{reset:s}):"string"!=typeof s||r.target?r:rr({},r,{target:s});let l=e.a11y;void 0!==a.focus&&(ro&&(null==(n=this.logger)||n.errorIf(!l,"Can't set visit.a11y.focus. Is @swup/a11y-plugin installed?")),l&&(l.focus=a.focus)),e.animation.scope=e.fragmentVisit.containers,e.containers=e.fragmentVisit.containers,e.animation.selector=e.fragmentVisit.containers.join(","),rg(a,!0)},rT=function(e,i){var n,r;e.fragmentVisit&&ry(e.fragmentVisit)&&(ro&&(null==(n=this.logger)||n.log(`${ru("out")}-animation skipped for ${ru(null==(r=e.fragmentVisit)?void 0:r.containers.toString())}`)),i.skip=!0)},rE=function(e,i){var n,r;e.fragmentVisit&&ry(e.fragmentVisit)&&(ro&&(null==(n=this.logger)||n.log(`${ru("in")}-animation skipped for ${ru(null==(r=e.fragmentVisit)?void 0:r.containers.toString())}`)),i.skip=!0)},rM=function(e,i){var n;if(e.trigger.el||!e.to.url)return;let r=this.swup.cache.get(e.to.url);r&&r.fragmentHtml&&(e.to.document=(new DOMParser).parseFromString(r.fragmentHtml,"text/html"),e.to.html=r.fragmentHtml,ro&&(null==(n=this.logger)||n.log(`fragment cache used for ${ru(e.to.url)}`)))},rk=function(e){rg(e.fragmentVisit,!0),rd(this),(({swup:e,logger:i})=>{let n=e.getCurrentUrl(),r=e.cache,s=r.get(n);if(!s)return;let o=(new DOMParser).parseFromString(s.html,"text/html"),a=[],l=Array.from(document.querySelectorAll("[data-swup-fragment]")).filter(e=>!e.matches("template")&&!rh(e,n));l.length&&(e.options.cache?(l.forEach(e=>{var n,s;if(null!=e.querySelector("[data-swup-fragment]"))return;let l=null==(n=e.__swupFragment)?void 0:n.url;if(!l)return void(ro&&(null==i||i.warn("no fragment url found:",e)));let u=null==(s=e.__swupFragment)?void 0:s.selector;if(!u)return void(ro&&(null==i||i.warn("no fragment selector found:",e)));let c=r.get(l);if(!c)return;let d=o.querySelector(u);if(!d)return;let h=(new DOMParser).parseFromString(c.html,"text/html").querySelector(u);h&&(h.setAttribute("data-swup-fragment-url",l),d.replaceWith(h),a.push(e))}),a.length&&(r.update(n,{fragmentHtml:o.documentElement.outerHTML}),a.forEach(e=>{var n,r;let s=(null==(n=e.__swupFragment)?void 0:n.url)||"",o=(null==(r=e.__swupFragment)?void 0:r.selector)||"";ro&&(null==i||i.log(`updated cache with ${ru(o)} from ${ru(s)}`))}))):ro&&(null==i||i.warn("can't cache foreign fragment elements without swup's cache")))})(this)},rP=function(e){rg(e.fragmentVisit,!1)};class rO extends n7{get parsedRules(){return this._parsedRules}constructor(e){super(),this.name="SwupFragmentPlugin",this.requires={swup:">=4.6"},this._rawRules=[],this._parsedRules=[],this.options=void 0,this.defaults={rules:[],debug:!1},this.logger=void 0,this.options=rr({},this.defaults,e)}mount(){var e;let i=this.swup;this.setRules(this.options.rules),ro&&this.options.debug&&(this.logger=new rc),this.before("link:self",rS),this.on("visit:start",rx),this.before("animation:out:await",rT),this.before("animation:in:await",rE),this.before("content:replace",rM),this.on("content:replace",rk),this.on("visit:end",rP),ro&&(null==(e=this.logger)||e.warnIf(!i.options.cache,"fragment caching will only work with swup's cache being active")),rd(this)}unmount(){super.unmount(),document.querySelectorAll("[data-swup-fragment]").forEach(e=>{e.removeAttribute("data-swup-fragment-url"),delete e.__swupFragment})}setRules(e){var i;this._rawRules=r_(e),this._parsedRules=e.map(e=>this.parseRule(e)),ro&&(null==(i=this.logger)||i.log("Updated fragment rules",this.getRules()))}getRules(){return r_(this._rawRules)}prependRule(e){this.setRules([e,...this.getRules()])}appendRule(e){this.setRules([...this.getRules(),e])}parseRule(e){return new rb(rr({},e,{logger:this.logger,swup:this.swup}))}getFragmentVisit(e,i){var n,r,s;let o,a,l=rv(e,this.parsedRules,i||this.swup.createVisit(e));if(!l)return;let u=(n=l.containers,r=this.swup,s=this.logger,a=(o=n.map(e=>{let i=document.querySelector(e);return i?rw(e,r)?{selector:e,el:i}:(ro&&(null==s||s.error(`${ru(e)} is outside of swup's default containers`)),!1):(ro&&(null==s||s.log(`${ru(e)} missing in current document`)),!1)}).filter(e=>!!e)).every(i=>rh(i.el,e.to)),rf(e.from,e.to)||a&&"navigate"===r.options.linkToSelf||(o=o.filter(i=>!rh(i.el,e.to)||(ro&&(null==s||s.log(`ignoring fragment ${ru(i.selector)} as it already matches the current URL`)),!1))),o.map(e=>e.selector));if(!u.length)return;let{name:c,scroll:d,focus:h}=l;return{containers:u,name:c,scroll:d,focus:h}}}function rA(){return(rA=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function rC(e){return"title"!==e.localName&&!e.matches("[data-swup-theme]")}function rL(e,i){return e.outerHTML===i.outerHTML}function rD(e,i=[]){let n=Array.from(e.attributes);return i.length?n.filter(({name:e})=>i.some(i=>i instanceof RegExp?i.test(e):e===i)):n}function rI(e){return e.matches("link[rel=stylesheet][href]")}class rR extends n7{constructor(e={}){var i;super(),i=this,this.name="SwupHeadPlugin",this.requires={swup:">=4.6"},this.defaults={persistTags:!1,persistAssets:!1,awaitAssets:!1,attributes:["lang","dir"],timeout:3e3},this.options=void 0,this.updateHead=async function(e,{page:{}}){let{awaitAssets:n,attributes:r,timeout:s}
5=i.options,o=e.to.document,{removed:a,added:l}=function(e,i,{shouldPersist:n=()=>!1}={}){let r=Array.from(e.children),s=Array.from(i.children),o=s.reduce((e,i,n)=>(r.some(e=>rL(i,e))||e.push({el:i,index:n}),e),[]),a=r.reduce((e,i)=>(s.some(e=>rL(i,e))||e.push({el:i}),e),[]);a.reverse().filter(({el:e})=>rC(e)).filter(({el:e})=>!n(e)).forEach(({el:i})=>e.removeChild(i));let l=o.filter(({el:e})=>rC(e)).map(i=>{let n=i.el.cloneNode(!0);return e.insertBefore(n,e.children[(i.index||0)+1]||null),rA({},i,{el:n})});return{removed:a.map(({el:e})=>e),added:l.map(({el:e})=>e)}}(document.head,o.head,{shouldPersist:e=>i.isPersistentTag(e)});if(i.swup.log(`Removed ${a.length} / added ${l.length} tags in head`),null!=r&&r.length&&function(e,i,n=[]){let r=new Set;for(let{name:s,value:o}of rD(i,n))e.setAttribute(s,o),r.add(s);for(let{name:i}of rD(e,n))r.has(i)||e.removeAttribute(i)}(document.documentElement,o.documentElement,r),n){let e=function(e,i=0){return e.filter(rI).map(e=>(function(e,i=0){let n,r=i=>{e.sheet?i():n=setTimeout(()=>r(i),10)};return new Promise(s=>{r(()=>s(e)),i>0&&setTimeout(()=>{n&&clearTimeout(n),s(e)},i)})})(e,i))}(l,s);e.length&&(i.swup.log(`Waiting for ${e.length} assets to load`),await Promise.all(e))}},this.options=rA({},this.defaults,e),this.options.persistAssets&&!this.options.persistTags&&(this.options.persistTags="link[rel=stylesheet], script[src], style")}mount(){this.before("content:replace",this.updateHead)}isPersistentTag(e){let{persistTags:i}=this.options;return"function"==typeof i?i(e):"string"==typeof i&&i.length>0?e.matches(i):!!i}}function r$(){return(r$=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function rz(){return window.matchMedia("(hover: hover)").matches}function rF(e){return!!e&&(e instanceof HTMLAnchorElement||e instanceof SVGAElement)}let rN=window.requestIdleCallback||(e=>setTimeout(e,1)),rj=["preloadVisibleLinks"];class rV extends n7{constructor(e={}){var i;super(),i=this,this.name="SwupPreloadPlugin",this.requires={swup:">=4.5"},this.defaults={throttle:5,preloadInitialPage:!0,preloadHoveredLinks:!0,preloadVisibleLinks:{enabled:!1,threshold:.2,delay:500,containers:["body"],ignore:()=>!1}},this.options=void 0,this.queue=void 0,this.preloadObserver=void 0,this.preloadPromises=new Map,this.mouseEnterDelegate=void 0,this.touchStartDelegate=void 0,this.focusDelegate=void 0,this.onPageLoad=(e,i,n)=>{let{url:r}=e.to;return r&&this.preloadPromises.has(r)?this.preloadPromises.get(r):n(e,i)},this.onMouseEnter=async function(e){if(e.target!==e.delegateTarget||!rz())return;let n=e.delegateTarget;if(!rF(n))return;let{url:r,hash:s}=nk.fromElement(n),o=i.swup.createVisit({to:r,hash:s,el:n,event:e});i.swup.hooks.callSync("link:hover",o,{el:n,event:e}),i.preload(n,{priority:!0})},this.onTouchStart=e=>{if(rz())return;let i=e.delegateTarget;rF(i)&&this.preload(i,{priority:!0})},this.onFocus=e=>{let i=e.delegateTarget;rF(i)&&this.preload(i,{priority:!0})};const{preloadVisibleLinks:n}=e,r=function(e,i){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(i.includes(r))continue;n[r]=e[r]}return n}(e,rj);this.options=r$({},this.defaults,r),"object"==typeof n?this.options.preloadVisibleLinks=r$({},this.options.preloadVisibleLinks,{enabled:!0},n):this.options.preloadVisibleLinks.enabled=!!n,this.preload=this.preload.bind(this),this.queue=function(e=1){let i=[],n=[],r=0,s=0;function o(){s<e&&r>0&&((n.shift()||i.shift()||(()=>{}))(),r--,s++)}return{add:function(e,s=!1){if(e.__queued){if(!s)return;{let n=i.indexOf(e);if(n>=0){let e=i.splice(n,1);r-=e.length}}}e.__queued=!0,(s?n:i).push(e),++r<=1&&o()},next:function(){s--,o()}}}(this.options.throttle)}mount(){let e=this.swup;e.options.cache?(e.hooks.create("page:preload"),e.hooks.create("link:hover"),e.preload=this.preload,e.preloadLinks=this.preloadLinks,this.replace("page:load",this.onPageLoad),this.preloadLinks(),this.on("page:view",()=>this.preloadLinks()),this.options.preloadVisibleLinks.enabled&&(this.preloadVisibleLinks(),this.on("page:view",()=>this.preloadVisibleLinks())),this.options.preloadHoveredLinks&&this.preloadLinksOnAttention(),this.options.preloadInitialPage&&this.preload(nT())):console.warn("SwupPreloadPlugin: swup cache needs to be enabled for preloading")}unmount(){var e,i,n;this.swup.preload=void 0,this.swup.preloadLinks=void 0,this.preloadPromises.clear(),null==(e=this.mouseEnterDelegate)||e.destroy(),null==(i=this.touchStartDelegate)||i.destroy(),null==(n=this.focusDelegate)||n.destroy(),this.stopPreloadingVisibleLinks()}async preload(e,i={}){var n;let r,s,o=null!=(n=i.priority)&&n;if(Array.isArray(e))return Promise.all(e.map(e=>this.preload(e)));if(rF(e))s=e,{href:r}=nk.fromElement(e);else{if("string"!=typeof e)return;r=e}if(!r)return;if(this.swup.cache.has(r))return this.swup.cache.get(r);if(this.preloadPromises.has(r))return this.preloadPromises.get(r);if(!this.shouldPreload(r,{el:s}))return;let a=new Promise(e=>{this.queue.add(()=>{this.performPreload(r).catch(()=>{}).then(i=>e(i)).finally(()=>{this.queue.next(),this.preloadPromises.delete(r)})},o)});return this.preloadPromises.set(r,a),a}preloadLinks(){rN(()=>{Array.from(document.querySelectorAll("a[data-swup-preload], [data-swup-preload-all] a")).forEac
5h(e=>this.preload(e))})}preloadLinksOnAttention(){let{swup:e}=this,{linkSelector:i}=e.options,n={passive:!0,capture:!0};this.mouseEnterDelegate=e.delegateEvent(i,"mouseenter",this.onMouseEnter,n),this.touchStartDelegate=e.delegateEvent(i,"touchstart",this.onTouchStart,n),this.focusDelegate=e.delegateEvent(i,"focus",this.onFocus,n)}preloadVisibleLinks(){if(this.preloadObserver)return void this.preloadObserver.update();let{threshold:e,delay:i,containers:n}=this.options.preloadVisibleLinks;this.preloadObserver=function({threshold:e,delay:i,containers:n,callback:r,filter:s}){let o=new Map,a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?l(e.target):u(e.target)})},{threshold:e}),l=e=>{var n;let{href:s}=nk.fromElement(e),l=null!=(n=o.get(s))?n:new Set;o.set(s,l),l.add(e),setTimeout(()=>{let i=o.get(s);null!=i&&i.size&&(r(e),a.unobserve(e),i.delete(e))},i)},u=e=>{var i;let{href:n}=nk.fromElement(e);null==(i=o.get(n))||i.delete(e)},c=()=>{rN(()=>{let e=n.map(e=>`${e} a[*|href]`).join(", ");Array.from(document.querySelectorAll(e)).filter(e=>s(e)).forEach(e=>a.observe(e))})};return{start:()=>c(),stop:()=>a.disconnect(),update:()=>(o.clear(),c())}}({threshold:e,delay:i,containers:n,callback:e=>this.preload(e),filter:e=>{if(this.options.preloadVisibleLinks.ignore(e)||!e.matches(this.swup.options.linkSelector))return!1;let{href:i}=nk.fromElement(e);return this.shouldPreload(i,{el:e})}}),this.preloadObserver.start()}stopPreloadingVisibleLinks(){this.preloadObserver&&this.preloadObserver.stop()}shouldPreload(e,{el:i}={}){let{url:n,href:r}=nk.fromUrl(e);return!(!function(){if(navigator.connection){var e;if(navigator.connection.saveData||null!=(e=navigator.connection.effectiveType)&&e.endsWith("2g"))return!1}return!0}()||this.swup.cache.has(n)||this.preloadPromises.has(n)||this.swup.shouldIgnoreVisit(r,{el:i})||i&&this.swup.resolveUrl(n)===this.swup.resolveUrl(nT()))}async performPreload(e){var i=this;let{url:n}=nk.fromUrl(e),r=this.swup.createVisit({to:n});return await this.swup.hooks.call("page:preload",r,{url:n},async function(n,r){return r.page=await i.swup.fetchPage(e,{visit:n}),r.page})}}let rH=e=>"object"==typeof e&&null!=e&&1===e.nodeType,rB=(e,i)=>(!i||"hidden"!==e)&&"visible"!==e&&"clip"!==e,rq=(e,i)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return rB(r.overflowY,i)||rB(r.overflowX,i)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},rU=(e,i,n,r,s,o,a,l)=>o<e&&a>i||o>e&&a<i?0:o<=e&&l<=n||a>=i&&l>=n?o-e-r:a>i&&l<n||o<e&&l>n?a-i+s:0,rG=e=>{let i=e.parentElement;return null==i?e.getRootNode().host||null:i};function rY(){return(rY=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rW=(e,i=document)=>Array.from(i.querySelectorAll(e));class rX extends n7{constructor(e={}){super(),this.name="SwupScrollPlugin",this.requires={swup:">=4.2.0"},this.defaults={doScrollingRightAway:!1,animateScroll:{betweenPages:!0,samePageWithHash:!0,samePage:!0},getAnchorElement:void 0,offset:0,scrollContainers:"[data-swup-scroll-container]",shouldResetScrollPosition:()=>!0,markScrollTarget:!1,scrollFunction:void 0},this.options=void 0,this.cachedScrollPositions={},this.previousScrollRestoration=void 0,this.currentCacheKey=void 0,this.getAnchorElement=(e="")=>"function"==typeof this.options.getAnchorElement?this.options.getAnchorElement(e):this.swup.getAnchorElement(e),this.getOffset=(e,i,n)=>{let r;return"object"==typeof(r="function"==typeof this.options.offset?this.options.offset(e,i,n):this.options.offset)&&"number"==typeof r.top&&"number"==typeof r.left?r:{top:parseInt(String(null!=r?r:""),10)||0,left:0}},this.onBeforeLinkToSelf=e=>{e.scroll.animate=this.shouldAnimate("samePage")},this.handleScrollToTop=e=>(this.scrollTo({top:0,left:0},e.scroll.animate),!0),this.onBeforeLinkToAnchor=e=>{e.scroll.animate=this.shouldAnimate("samePageWithHash")},this.handleScrollToAnchor=(e,{hash:i})=>this.maybeScrollToAnchor(i,e.scroll.animate),this.onBeforeVisitStart=e=>{e.scroll.scrolledToContent=!1,e.scroll.animate=this.shouldAnimate("betweenPages")}
5,this.onVisitStart=e=>{var i;this.cacheScrollPositions(e.from.url),this.maybeResetScrollPositions(e);let n=null!=(i=e.scroll.target)?i:e.to.hash;e.scroll.animate&&this.options.doScrollingRightAway&&!n&&this.doScrollingBetweenPages(e)},this.handleScrollToContent=e=>{e.scroll.scrolledToContent||this.doScrollingBetweenPages(e),this.restoreScrollContainers(e.to.url)},this.doScrollingBetweenPages=e=>{var i;if(e.history.popstate&&!e.animation.animate)return;let n=null!=(i=e.scroll.target)?i:e.to.hash;if(n&&this.maybeScrollToAnchor(n,e.scroll.animate)||!e.scroll.reset)return;let r=this.getCachedScrollPositions(e.to.url),{top:s=0,left:o=0}=(null==r?void 0:r.window)||{top:0,left:0};requestAnimationFrame(()=>this.scrollTo({top:s,left:o},e.scroll.animate)),e.scroll.scrolledToContent=!0},this.maybeResetScrollPositions=e=>{let{popstate:i}=e.history,{url:n}=e.to,{el:r}=e.trigger;i||r&&!this.options.shouldResetScrollPosition(r)||this.resetScrollPositions(n)},this.options=rY({},this.defaults,e)}mount(){let e=this.swup;e.hooks.create("scroll:start"),e.hooks.create("scroll:end"),e.scrollTo=this.scrollTo.bind(this),this.previousScrollRestoration=window.history.scrollRestoration,e.options.animateHistoryBrowsing&&(window.history.scrollRestoration="manual"),this.updateScrollTarget=this.updateScrollTarget.bind(this),this.options.markScrollTarget&&(window.addEventListener("popstate",this.updateScrollTarget),window.addEventListener("hashchange",this.updateScrollTarget),this.on("page:view",this.updateScrollTarget),this.on("link:anchor",this.updateScrollTarget),this.on("link:self",this.updateScrollTarget),this.updateScrollTarget()),this.before("visit:start",this.onBeforeVisitStart,{priority:-1}),this.on("visit:start",this.onVisitStart,{priority:1}),this.replace("content:scroll",this.handleScrollToContent),this.before("link:self",this.onBeforeLinkToSelf,{priority:-1}),this.replace("scroll:top",this.handleScrollToTop),this.before("link:anchor",this.onBeforeLinkToAnchor,{priority:-1}),this.replace("scroll:anchor",this.handleScrollToAnchor)}unmount(){super.unmount(),this.previousScrollRestoration&&(window.history.scrollRestoration=this.previousScrollRestoration),window.removeEventListener("popstate",this.updateScrollTarget),window.removeEventListener("hashchange",this.updateScrollTarget),this.cachedScrollPositions={},delete this.swup.scrollTo}shouldAnimate(e){return"boolean"==typeof this.options.animateScroll?this.options.animateScroll:this.options.animateScroll[e]}maybeScrollToAnchor(e,i=!1){if(!e)return!1;let n=this.getAnchorElement(e);return n?n instanceof Element?(this.scrollElementIntoView(n,i),!0):(console.warn(`Anchor target ${e} is not a DOM node`),!1):(console.warn(`Anchor target ${e} not found`),!1)}cacheScrollPositions(e){let i=this.swup.resolveUrl(e),n=rW(this.options.scrollContainers).map(e=>({top:e.scrollTop,left:e.scrollLeft})),r={window:{top:window.scrollY,left:window.scrollX},containers:n};this.cachedScrollPositions[i]=r}resetScrollPositions(e){let i=this.swup.resolveUrl(e);delete this.cachedScrollPositions[i]}getCachedScrollPositions(e){let i=this.swup.resolveUrl(e);return this.cachedScrollPositions[i]}restoreScrollContainers(e){let i=this.getCachedScrollPositions(e);i&&0!==i.containers.length&&rW(this.options.scrollContainers).forEach((e,n)=>{let r=i.containers[n];null!=r&&(e.scrollTop=r.top,e.scrollLeft=r.left)})}updateScrollTarget(){var e;let{hash:i}=window.location,n=document.querySelector("[data-swup-scroll-target]"),r=this.getAnchorElement(i);r instanceof HTMLBodyElement&&(r=null),n!==r&&(null==n||n.removeAttribute("data-swup-scroll-target"),null==(e=r)||e.setAttribute("data-swup-scroll-target",""))}getRootScrollContainer(){return document.scrollingElement instanceof HTMLElement?document.scrollingElement:document.documentElement}scrollTo(e,i=!0,n){var r;let s=this.swup.createVisit({to:this.swup.location.url}),{top:o=0,left:a=0}="number"==typeof e?{top:e}:e;null!=n||(n=this.getRootScrollContainer()),(null!=(r=this.options.scrollFunction)?r:this.applyScroll)(n,o,a,i,()=>this.swup.hooks.callSync("scroll:start",s,void 0),()=>this.swup.hooks.callSync("scroll:end",s,void 0))}applyScroll(e,i,n,r,s,o){let a=e instanceof HTMLHtmlElement||e instanceof HTMLBodyElement?window:e;s(),a.addEventListener("scrollend",o,{once:!0}),a.addEventListener("wheel",()=>{e.scrollTo({top:e.scrollTop,left:e.scrollLeft,behavior:"instant"})},{once:!0}),e.scrollTo({top:i,left:n,behavior:r?"smooth":"instant"})}scrollElementIntoView(e,i=!1){((e,i)=>{var n,r,s,o;let a;if("u"<typeof document)return[];let{scrollMode:l,block:u,inline:c,boundary:d,skipOverflowHiddenElements:h}=i,f="function"==typeof d?d:e=>e!==d;if(!rH(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,m=[],g=e;for(;rH(g)&&f(g);){if((g=rG(g))===p){m.push(g);break}null!=g&&g===document.body&&rq(g)&&!rq(document.documentElement)||null!=g&&rq(g,h)&&m.push(g)}
5let v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(o=null==(s=window.visualViewport)?void 0:s.height)?o:innerHeight,{scrollX:w,scrollY:_}=window,{height:b,width:S,top:x,right:T,bottom:E,left:M}=e.getBoundingClientRect(),{top:k,right:P,bottom:O,left:A}={top:parseFloat((a=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0},C="start"===u||"nearest"===u?x-k:"end"===u?E+O:x+b/2-k+O,L="center"===c?M+S/2-A+P:"end"===c?T+P:M-A,D=[];for(let e=0;e<m.length;e++){let i=m[e],{height:n,width:r,top:s,right:o,bottom:a,left:d}=i.getBoundingClientRect();if("if-needed"===l&&x>=0&&M>=0&&E<=y&&T<=v&&(i===p&&!rq(i)||x>=s&&E<=a&&M>=d&&T<=o))break;let h=getComputedStyle(i),f=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),k=parseInt(h.borderRightWidth,10),P=parseInt(h.borderBottomWidth,10),O=0,A=0,I="offsetWidth"in i?i.offsetWidth-i.clientWidth-f-k:0,R="offsetHeight"in i?i.offsetHeight-i.clientHeight-g-P:0,$="offsetWidth"in i?0===i.offsetWidth?0:r/i.offsetWidth:0,z="offsetHeight"in i?0===i.offsetHeight?0:n/i.offsetHeight:0;if(p===i)O="start"===u?C:"end"===u?C-y:"nearest"===u?rU(_,_+y,y,g,P,_+C,_+C+b,b):C-y/2,A="start"===c?L:"center"===c?L-v/2:"end"===c?L-v:rU(w,w+v,v,f,k,w+L,w+L+S,S),O=Math.max(0,O+_),A=Math.max(0,A+w);else{O="start"===u?C-s-g:"end"===u?C-a+P+R:"nearest"===u?rU(s,a,n,g,P+R,C,C+b,b):C-(s+n/2)+R/2,A="start"===c?L-d-f:"center"===c?L-(d+r/2)+I/2:"end"===c?L-o+k+I:rU(d,o,r,f,k+I,L,L+S,S);let{scrollLeft:e,scrollTop:l}=i;O=0===z?0:Math.max(0,Math.min(l+O/z,i.scrollHeight-n/z+R)),A=0===$?0:Math.max(0,Math.min(e+A/$,i.scrollWidth-r/$+I)),C+=l-O,L+=e-A}D.push({el:i,top:O,left:A})}return D})(e,{scrollMode:"always",block:"start",inline:"start"}).forEach(({top:n,left:r,el:s})=>{let{top:o=0,left:a=0}=this.getOffset(e,s,{top:n,left:r});this.scrollTo({top:n-o,left:r-a},i,s)})}}var rK=document.documentElement.lang||"",rJ=new URLSearchParams(window.location.search),rZ=function(e){return e.toLowerCase().split("-")[0]},rQ=function(){return(rJ.get("lang")||"").trim().toLowerCase()},r0=function(e){window.KMSG.Config.AppDebug&&console.warn("[eye-able] "+e)};function r1(e,i){if(!e.querySelector("style[data-eyeable]")){var n=document.createElement("style");n.dataset.eyeable="custom-icons",n.textContent=i,e.append(n)}}function r2(e){return new Promise(function(i){var n=Date.now()+2e4,r=function(){var s=e();s?i(s):Date.now()>n?i(null):window.setTimeout(r,250)};r()})}var r5=function(e){return document.querySelector('[data-eyeable="'.concat(e,'"]'))};function r3(){try{return window.localStorage.getItem("eye_able_translate")||rK}catch(e){return rK}}function r4(){return{audio:null,seekEl:null,mediaId:null,playing:!1,progress:0,currentTime:0,duration:0,isDragging:!1,wasPlayingBeforeDrag:!1,progressTimer:null,loadedHandler:null,visibilityHandler:null,touchStartHandler:null,touchMoveHandler:null,touchEndHandler:null,init:function(){var e=this;this.audio=this.$refs.audio,this.seekEl=this.$refs.seek,this.audio&&(this.mediaId=this.$root.dataset.mediaId||null,this.loadedHandler=this.onLoaded.bind(this),this.visibilityHandler=this.onVisibilityChange.bind(this),this.audio.addEventListener("loadeddata",this.loadedHandler),this.audio.addEventListener("loadedmetadata",this.loadedHandler),this.audio.addEventListener("canplaythrough",this.loadedHandler),this.audio.addEventListener("ended",function(){return e.pauseAudio()}),document.addEventListener("visibilitychange",this.visibilityHandler),"1"!==getComputedStyle(document.documentElement).getPropertyValue("--supports-hover").trim()&&this.seekEl&&(this.touchStartHandler=this.onSeekTouchStart.bind(this),this.touchMoveHandler=this.onSeekTouchMove.bind(this),this.touchEndHandler=this.onSeekTouchEnd.bind(this),this.seekEl.addEventListener("touchstart",this.touchStartHandler,{passive:!1}),this.seekEl.addEventListener("touchmove",this.touchMoveHandler,{passive:!1}),this.seekEl.addEventListener("touchend",this.touchEndHandler)))},onLoaded:function(){this.audio.readyState>=1&&!isNaN(this.audio.duration)&&isFinite(this.audio.duration)&&(this.duration=this.audio.duration)},togglePlay:function(){this.audio.paused||this.audio.ended?this.playAudio():this.pauseAudio()},playAudio:function(){this.audio.play().catch(function(){}),this.playing=!0,this.startProgressTimer(),this.$dispatch("notify-media-play",{mediaId:this.mediaId})},pauseAudio:function(){this.audio.pause(),this.playing=!1,this.stopProgressTimer()},startProgressTimer:function(){var e=this;clearInterval(this.progressTimer),this.progressTimer=setInterval(function(){return e.updateProgress()},250)},stopProgressTimer:function(){clearInterval(this.progressTimer)},updateProgress:function(){this.audio&&this.audio.duration&&!this.isDragging&&(this.currentTime=this.audio.currentTime,this.duration=this.audio.duration,this.progress=this.audio.currentTime/this.audio.duration*100)},seek:function(e){if(this.audio.duration){var i=this.seekEl.getBoundingClientRect(),n=e.offsetX/i.width*this.audio.duration;n>=0&&isFinite(n)&&(this.audio.currentTime=n,this.updateProgress())}},onSeekTouchStart:function(e){e.preventDefault(),isNaN(this.audio.duration)||(this.isDragging=!0,this.wasPlayingBeforeDrag=!this.audio.paused,this.audio.pause(),this.updateSeekPosition(e))},onSeekTouchMove:function(e){e.preventDefault(),this.isDragging&&this.updateSeekPosition(e)},onSeekTouchEnd:function(){this.isDragging&&(this.isDragging=!1,this.wasPlayingBeforeDrag&&this.audio.play())},updateSeekPosition:function(e){var i=e.touches[0],n=this.seekEl.getBoundingClientRect(),r=Math.max(0,Math.min(1,(i.clientX-n.left)/n.width));this.audio.currentTime=r*this.audio.duration,this.currentTime=this.audio.currentTime,this.progress=100*r},formatTime:function(e){if(!isFinite(e)||isNaN(e))return"00:00";
5var i=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60),s=this.duration>=3600,o=function(e){return e.toString().padStart(2,"0")};return s?"".concat(o(i),":").concat(o(n),":").concat(o(r)):"".concat(o(n),":").concat(o(r))},get currentTimeFormatted(){return this.formatTime(this.currentTime)},get durationFormatted(){return this.formatTime(this.duration)},onVisibilityChange:function(){document.hidden&&this.playing&&this.pauseAudio()},onMediaPlayEvent:function(e){var i,n=null==(i=e.detail)?void 0:i.mediaId;n&&n!==this.mediaId&&this.playing&&this.pauseAudio()},destroy:function(){this.stopProgressTimer(),this.audio&&(this.audio.removeEventListener("loadeddata",this.loadedHandler),this.audio.removeEventListener("loadedmetadata",this.loadedHandler),this.audio.removeEventListener("canplaythrough",this.loadedHandler),this.audio.pause()),this.seekEl&&this.touchStartHandler&&(this.seekEl.removeEventListener("touchstart",this.touchStartHandler),this.seekEl.removeEventListener("touchmove",this.touchMoveHandler),this.seekEl.removeEventListener("touchend",this.touchEndHandler)),document.removeEventListener("visibilitychange",this.visibilityHandler)}}}function r6(){return{type:"normal",bindings:{root:{"@keydown.escape.window.prevent":"closeIfTopmost","@close-dialog.window":"closeIfTopmost"}},get isOpen(){return"small"===this.type?this.$store.ui.dialogSmallOpen:this.$store.ui.dialogOpen},set isOpen(t){"small"===this.type?this.$store.ui.dialogSmallOpen=t:this.$store.ui.dialogOpen=t},get backUrl(){return"small"===this.type?this.$store.ui.dialogSmallBackUrl:this.$store.ui.dialogBackUrl},init:function(){"dialog-small"===this.$root.id&&(this.type="small"),this.isOpen=!0},closeIfTopmost:function(){"normal"===this.type&&this.isOpen?this.close():"small"===this.type&&this.isOpen&&!this.$store.ui.dialogOpen&&this.close()},close:function(){this.isOpen=!1;var e=this.backUrl;window.swup?window.swup.navigate(e):window.location.href=e},destroy:function(){this.isOpen=!1}}}Object.defineProperty(r4,"name",{value:"default",configurable:!0}),Object.defineProperty(r6,"name",{value:"default",configurable:!0});var r8=n(353),r9=n.n(r8);function r7(e,i,n,r,s,o,a){try{var l=e[o](a),u=l.value}catch(e){n(e);return}l.done?i(u):Promise.resolve(u).then(r,s)}function se(e){return function(){var i=this,n=arguments;return new Promise(function(r,s){var o=e.apply(i,n);function a(e){r7(o,r,s,a,l,"next",e)}function l(e){r7(o,r,s,a,l,"throw",e)}a(void 0)})}}function st(e,i){var n,r,s,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:u(0)}),l(a,"throw",{value:u(1)}),l(a,"return",{value:u(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function u(l){return function(u){var c=[l,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(s=2&c[0]?r.return:c[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,c[1])).done)return s;switch(r=0,s&&(c=[2&c[0],s.value]),c[0]){case 0:case 1:s=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!s||c[1]>s[0]&&c[1]<s[3])){o.label=c[1];break}if(6===c[0]&&o.label<s[1]){o.label=s[1],s=c;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(c);break}s[2]&&o.ops.pop(),o.trys.pop();continue}c=i.call(e,o)}catch(e){c=[6,e],r=0}finally{n=s=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function si(){return{today:null,viewMonth:null,selectedDate:null,eventDates:[],monthCache:{},loading:!1,apiUrl:"",init:function(){return se(function(){var e;return st(this,function(i){switch(i.label){case 0:return r9().locale("de"),this.today=r9()().startOf("day"),this.viewMonth=this.today.startOf("month"),e=window.KMSG&&window.KMSG.Config&&window.KMSG.Config.PathPrefix||"",this.apiUrl="".concat(e,"/api/events-calendar.json"),[4,this.loadMonth()];case 1:return i.sent(),[2]}})}).call(this)},get viewMonthKey(){return this.viewMonth.format("YYYY-MM")},get monthLabel(){return this.viewMonth.format("MMMM YYYY")},get canGoBack(){return this.viewMonth.isAfter(this.today.startOf("month"))},get canGoForward(){return!0},get weekdayLabels(){return["Mo","Di","Mi","Do","Fr","Sa","So"]},get days(){for(var e=this.viewMonth,i=e.daysInMonth(),n=(e.day()+6)%7,r=[],s=0;s<n;s++)r.push({blank:!0,key:"lead-".concat(s)});for(var o=1;o<=i;o++){var a=e.date(o),l=a.format("YYYY-MM-DD");r.push({blank:!1,key:l,day:o,dateStr:l,isToday:a.isSame(this.today,"day"),hasEvent:this.eventDates.includes(l),isSelected:this.selectedDate===l})}for(;r.length<42;)r.push({blank:!0,key:"trail-".concat(r.length)});return r},get hasVisibleEvents(){var u=this;return this.eventDates.some(function(e){return e.startsWith(u.viewM
5onthKey)})},prevMonth:function(){return se(function(){return st(this,function(e){switch(e.label){case 0:if(!this.canGoBack)return[2];return this.viewMonth=this.viewMonth.subtract(1,"month"),this.selectedDate=null,[4,this.loadMonth()];case 1:return e.sent(),[2]}})}).call(this)},nextMonth:function(){return se(function(){return st(this,function(e){switch(e.label){case 0:return this.viewMonth=this.viewMonth.add(1,"month"),this.selectedDate=null,[4,this.loadMonth()];case 1:return e.sent(),[2]}})}).call(this)},toggleDay:function(e){this.selectedDate=this.selectedDate===e?null:e,this.applyDayFilter()},loadMonth:function(){return se(function(){var e,i,n;return st(this,function(r){switch(r.label){case 0:if(!((e=this.viewMonthKey)in this.monthCache))return[3,1];return this.eventDates=this.monthCache[e].dates,this.renderMonth(),[3,8];case 1:this.loading=!0,this.eventDates=[],this.$refs.list&&(this.$refs.list.innerHTML=""),r.label=2;case 2:return r.trys.push([2,5,6,7]),[4,fetch("".concat(this.apiUrl,"?month=").concat(encodeURIComponent(e)),{headers:{Accept:"application/json"}})];case 3:if(!(i=r.sent()).ok)throw Error("HTTP ".concat(i.status));return[4,i.json()];case 4:return n=r.sent(),this.monthCache[e]={html:n.html||"",dates:Array.isArray(n.dates)?n.dates:[]},[3,7];case 5:return console.error("Failed to load events",r.sent()),this.monthCache[e]={html:"",dates:[]},[3,7];case 6:return this.loading=!1,[7];case 7:this.viewMonthKey===e&&(this.eventDates=this.monthCache[e].dates,this.renderMonth()),r.label=8;case 8:return[2]}})}).call(this)},renderMonth:function(){if(this.$refs.list){var e=this.monthCache[this.viewMonthKey];this.$refs.list.innerHTML=e?e.html:"",this.applyDayFilter()}},applyDayFilter:function(){var e=this;this.$refs.list&&this.$refs.list.querySelectorAll("[data-event-date]").forEach(function(i){var n=!e.selectedDate||i.dataset.eventDate===e.selectedDate;i.style.display=n?"":"none"})}}}function sn(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function sr(e={},i={}){let n=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=i[n]:sn(i[n])&&sn(e[n])&&Object.keys(i[n]).length>0&&sr(e[n],i[n])})}n(494),Object.defineProperty(si,"name",{value:"default",configurable:!0});let ss={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function so(){let e="u">typeof document?document:{};return sr(e,ss),e}let sa={document:ss,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"u"<typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"u">typeof setTimeout&&clearTimeout(e)}};function sl(){let e="u">typeof window?window:{};return sr(e,sa),e}function su(e,i=0){return setTimeout(e,i)}function sc(){return Date.now()}function sd(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function sh(...e){let i=Object(e[0]);for(let n=1;n<e.length;n+=1){let r=e[n];if(null!=r&&("u">typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let e=Object.keys(Object(r)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,s=e.length;n<s;n+=1){let s=e[n],o=Object.getOwnPropertyDescriptor(r,s);void 0!==o&&o.enumerable&&(sd(i[s])&&sd(r[s])?r[s].__swiper__?i[s]=r[s]:sh(i[s],r[s]):!sd(i[s])&&sd(r[s])?(i[s]={},r[s].__swiper__?i[s]=r[s]:sh(i[s],r[s])):i[s]=r[s])}}}return i}function sf(e,i,n){e.style.setProperty(i,n)}function sp({swiper:e,targetPosition:i,side:n}){let r,s=sl(),o=-e.translate,a=null,l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);let u=i>o?"next":"prev",c=(e,i)=>"next"===u&&e>=i||"prev"===u&&e<=i,d=()=>{r=new Date().getTime(),null===a&&(a=r);
5let u=o+(.5-Math.cos(Math.max(Math.min((r-a)/l,1),0)*Math.PI)/2)*(i-o);if(c(u,i)&&(u=i),e.wrapperEl.scrollTo({[n]:u}),c(u,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:u})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(d)};d()}function sm(e,i=""){let n=sl(),r=[...e.children];return(n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),i)?r.filter(e=>e.matches(i)):r}function sg(e){try{console.warn(e);return}catch(e){}}function sv(e,i=[]){let n=document.createElement(e);return n.classList.add(...Array.isArray(i)?i:function(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}(i)),n}function sy(e,i){return sl().getComputedStyle(e,null).getPropertyValue(i)}function sw(e){let i,n=e;if(n){for(i=0;null!==(n=n.previousSibling);)1===n.nodeType&&(i+=1);return i}}function s_(e,i){i&&e.addEventListener("transitionend",function n(r){r.target===e&&(i.call(e,r),e.removeEventListener("transitionend",n))})}function sb(e,i,n){let r=sl();return n?e["width"===i?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===i?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===i?"margin-left":"margin-bottom")):e.offsetWidth}function sS(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function sx(){let i,n;return e||(i=sl(),e={smoothScroll:(n=so()).documentElement&&n.documentElement.style&&"scrollBehavior"in n.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&n instanceof i.DocumentTouch)}),e}function sT(e={}){return i||(i=function({userAgent:e}={}){let i=sx(),n=sl(),r=n.navigator.platform,s=e||n.navigator.userAgent,o={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/),c=s.match(/(iPad)(?!\1).*OS\s([\d_]+)/),d=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="MacIntel"===r;return!c&&f&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&((c=s.match(/(Version)\/([\d.]+)/))||(c=[0,1,"13_0_0"]),f=!1),u&&"Win32"!==r&&(o.os="android",o.android=!0),(c||h||d)&&(o.os="ios",o.ios=!0),o}(e)),i}function sE(){return r||(r=function(){let e=sl(),i=sT(),n=!1;function r(){let i=e.navigator.userAgent.toLowerCase();return i.indexOf("safari")>=0&&0>i.indexOf("chrome")&&0>i.indexOf("android")}if(r()){let i=String(e.navigator.userAgent);if(i.includes("Version/")){let[e,r]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&r<2}}let s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r(),a=o||s&&i.ios;return{isSafari:n||o,needPerspectiveFix:n,need3dFix:a,isWebView:s}}()),r}let sM=(e,i,n)=>{i&&!e.classList.contains(n)?e.classList.add(n):!i&&e.classList.contains(n)&&e.classList.remove(n)},sk=(e,i,n)=>{i&&!e.classList.contains(n)?e.classList.add(n):!i&&e.classList.contains(n)&&e.classList.remove(n)},sP=(e,i)=>{if(!e||e.destroyed||!e.params)return;let n=i.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let i=n.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&!i.lazyPreloaderManaged&&i.remove()})),i&&!i.lazyPreloaderManaged&&i.remove()}},sO=(e,i)=>{if(!e.slides[i])return;let n=e.slides[i].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},sA=e=>{if(!e||e.destroyed||!e.params)return;let i=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!i||i<0)return;i=Math.min(i,n);let r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[s-i];n.push(...Array.from({length:i}).map((e,i)=>s+r+i)),e.slides.forEach((i,r)=>{n.includes(i.column)&&sO(e,r)});return}let o=s+r-1;if(e.params.rewind||e.params.loop)for(let r=s-i;r<=o+i;r+=1){let i=(r%n+n)%n;(i<s||i>o)&&sO(e,i)}else for(let r=Math.max(s-i,0);r<=Math.min(o+i,n-1);r+=1)r!==s&&(r>o||r<s)&&sO(e,r)};function sC({swiper:e,runCallbacks:i,direction:n,step:r}){let{activeIndex:s,previousIndex:o}=e,a=n;a||(a=s>o?"next":s<o?"prev":"reset"),e.emit(`transition${r}`),i&&"reset"===a?e.emit(`slideResetTransition${r}`):i&&s!==o&&(e.emit(`slideChangeTransition${r}`),"next"===a?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}function sL(e,i,n){let r=sl(),{params:s}=e,o=s.edgeSwipeDetection,a=s.edgeSwipeThreshold;return!o||!(n<=a)&&!(n>=r.innerWidth-a)||"prevent"===o&&(i.preventDefault(),!0)}function sD(e){var i,n;let r,s,o=so(),a=e;a.originalEvent&&(a=a.originalEvent);let l=this.touchEventsData;if("pointerdown"===a.type){if(null!==l.pointerId&&l.pointerId!==a.pointerId)return;l.pointerId=a.pointerId}else"touchstart"===a.type&&1===a.targetTouches.length&&(l.touchId=a.targetTouches[0].identifier);if("touchstart"===a.type)return void sL(this,a,a.targetTouches[0].pageX);let{params:u,touches:c,enabled:d}=this;if(!d||!u.simulateTouch&&"mouse"===a.pointerType||this.animating&&u.preventInteractionOnTransition)return;!this.animating&&u.cssMode&&u.loop&&this.loopFix();let h=a.target;if("wrapper"===u.touchEventsTarget&&(i=h,n=this.wrapperEl,r=sl(),!(s=n.contains(i))&&r.HTMLSlotElement&&n instanceof HTMLSlotElement&&((s=[...n.assignedElements()].includes(i))||(s=function(e,i){let n=[i];for(;n.length>0;){let i=n.shift();if(e===i)return!0;n.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}(i,n))),!s)||"which"in a&&3===a.which||"button"in a&&a.button>0||l.isTouched&&l.isMoved)return;let f=!!u.noSwipingClass&&""!==u.noSwipingClass,p=a.composedPath?a.composedPath():a.path;f&&a.target&&a.target.shadowRoot&&p&&(h=p[0]);let m=u.noSwipingSelector?u.noSwipingSelector:`.${u.noSwipingClass}`,g=!!(a.target&&a.target.shadowRoot);if(u.noSwiping&&(g?function(e,i=this){return function i(n){if(!n||n===so()||n===sl())return null;n.assignedSlot&&(n=n.assignedSlot);let r=n.closest(e);return r||n.getRootNode?r||i(n.getRootNode().host):null}(i)}(m,h):h.closest(m))){this.allowClick=!0;return}if(u.swipeHandler&&!h.closest(u.swipeHandler))return;c.currentX=a.pageX,c.currentY=a.pageY;let v=c.currentX,y=c.currentY;if(!sL(this,a,v))return;Object.assign(l,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=v,c.startY=y,l.touchStartTime=sc(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,u.threshold>0&&(l.allowThresholdMove=!1);let w=!0;h.matches(l.focusableElements)&&(w=!1,"SELECT"===h.nodeName&&(l.isTouched=!1)),o.activeElement&&o.activeElement.matches(l.focusableElements)&&o.activeElement!==h&&("mouse"===a.pointerType||"mouse"!==a.pointerType&&!h.matches(l.focusableElements))&&o.activeElement.blur();let _=w&&this.allowTouchMove&&u.touchStartPreventDefault;(u.touchStartForcePreventDefault||_)&&!h.isContentEditable&&a.preventDefault(),u.freeMode&&u.freeMode.enabled&&this.freeMode&&this.animating&&!u.cssMode&&this.freeMode.onTouchStart(),this.emit
5("touchStart",a)}function sI(e){let i,n,r=so(),s=this.touchEventsData,{params:o,touches:a,rtlTranslate:l,enabled:u}=this;if(!u||!o.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type&&(null!==s.touchId||c.pointerId!==s.pointerId))return;if("touchmove"===c.type){if(!(i=[...c.changedTouches].find(e=>e.identifier===s.touchId))||i.identifier!==s.touchId)return}else i=c;if(!s.isTouched){s.startMoving&&s.isScrolling&&this.emit("touchMoveOpposite",c);return}let d=i.pageX,h=i.pageY;if(c.preventedByNestedSwiper){a.startX=d,a.startY=h;return}if(!this.allowTouchMove){c.target.matches(s.focusableElements)||(this.allowClick=!1),s.isTouched&&(Object.assign(a,{startX:d,startY:h,currentX:d,currentY:h}),s.touchStartTime=sc());return}if(o.touchReleaseOnEdges&&!o.loop){if(this.isVertical()){if(h<a.startY&&this.translate<=this.maxTranslate()||h>a.startY&&this.translate>=this.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(l&&(d>a.startX&&-this.translate<=this.maxTranslate()||d<a.startX&&-this.translate>=this.minTranslate()))return;else if(!l&&(d<a.startX&&this.translate<=this.maxTranslate()||d>a.startX&&this.translate>=this.minTranslate()))return}if(r.activeElement&&r.activeElement.matches(s.focusableElements)&&r.activeElement!==c.target&&"mouse"!==c.pointerType&&r.activeElement.blur(),r.activeElement&&c.target===r.activeElement&&c.target.matches(s.focusableElements)){s.isMoved=!0,this.allowClick=!1;return}s.allowTouchCallbacks&&this.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=h;let f=a.currentX-a.startX,p=a.currentY-a.startY;if(this.params.threshold&&Math.sqrt(f**2+p**2)<this.params.threshold)return;if(void 0===s.isScrolling){let e;this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?s.isScrolling=!1:f*f+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(f))/Math.PI,s.isScrolling=this.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(s.isScrolling&&this.emit("touchMoveOpposite",c),void 0===s.startMoving&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(s.startMoving=!0),s.isScrolling||"touchmove"===c.type&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;this.allowClick=!1,!o.cssMode&&c.cancelable&&c.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&c.stopPropagation();let m=this.isHorizontal()?f:p,g=this.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(m=Math.abs(m)*(l?1:-1),g=Math.abs(g)*(l?1:-1)),a.diff=m,m*=o.touchRatio,l&&(m=-m,g=-g);let v=this.touchesDirection;this.swipeDirection=m>0?"prev":"next",this.touchesDirection=g>0?"prev":"next";let y=this.params.loop&&!o.cssMode,w="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!s.isMoved){if(y&&w&&this.loopFix({direction:this.swipeDirection}),s.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}s.allowMomentumBounce=!1,o.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",c)}if(new Date().getTime(),!1!==o._loopSwapReset&&s.isMoved&&s.allowThresholdMove&&v!==this.touchesDirection&&y&&w&&Math.abs(m)>=1){Object.assign(a,{startX:d,startY:h,currentX:d,currentY:h,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}this.emit("sliderMove",c),s.isMoved=!0,s.currentTranslate=m+s.startTranslate;let _=!0,b=o.resistanceRatio;if(o.touchReleaseOnEdges&&(b=0),m>0?(y&&w&&!n&&s.allowThresholdMove&&s.currentTranslate>(o.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==o.slidesPerView&&this.slides.length-o.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>this.minTranslate()&&(_=!1,o.resistance&&(s.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+s.startTranslate+m)**b))):m<0&&(y&&w&&!n&&s.allowThresholdMove&&s.currentTranslate<(o.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==o.slidesPerView&&this.slides.length-o.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===o.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),s.currentTranslate<this.maxTranslate()&&(_=!1,o.resistance&&(s.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-s.startTranslate-m)**b))),_&&(c.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),this.allowSlidePrev||this.allowSlideNext||(s.currentTranslate=s.startTranslate),o.threshold>0)if(Math.abs(m)>o.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,s.currentTranslate=s.startTranslate,a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{s.currentTranslate=s.startTranslate;return}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&this.freeMode||o.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(s.currentTranslate),this.setTranslate(s.currentTranslate))}function sR(e){let i,n,r=this,s=r.touchEventsData,o=e;if(o.originalEvent&&(o=o.originalEvent),"touchend"===o.type||"touchcancel"===o.type){if(!(i=[...o.changedTouches].find(e=>e.identifier===s.touchId))||i.identifier!==s.touchId)return}else{if(null!==s.touchId||o.pointerId!==s.pointerId)return;i=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)&&!(["pointercancel","contextmenu"].includes(o.type)&&(r.browser.isSafari||r.browser.isWebView)))return;s.pointerId=null,s.touchId=null;let{params:a,touches:l,rtlTranslate:u,slidesGrid:c,enabled:d}=r;
5if(!d||!a.simulateTouch&&"mouse"===o.pointerType)return;if(s.allowTouchCallbacks&&r.emit("touchEnd",o),s.allowTouchCallbacks=!1,!s.isTouched){s.isMoved&&a.grabCursor&&r.setGrabCursor(!1),s.isMoved=!1,s.startMoving=!1;return}a.grabCursor&&s.isMoved&&s.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);let h=sc(),f=h-s.touchStartTime;if(r.allowClick){let e=o.path||o.composedPath&&o.composedPath();r.updateClickedSlide(e&&e[0]||o.target,e),r.emit("tap click",o),f<300&&h-s.lastClickTime<300&&r.emit("doubleTap doubleClick",o)}if(s.lastClickTime=sc(),su(()=>{r.destroyed||(r.allowClick=!0)}),!s.isTouched||!s.isMoved||!r.swipeDirection||0===l.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset){s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;return}if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,n=a.followFinger?u?r.translate:-r.translate:-s.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void r.freeMode.onTouchEnd({currentPos:n});let p=n>=-r.maxTranslate()&&!r.params.loop,m=0,g=r.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let i=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==c[e+i]?(p||n>=c[e]&&n<c[e+i])&&(m=e,g=c[e+i]-c[e]):(p||n>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let v=null,y=null;a.rewind&&(r.isBeginning?y=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(v=0));let w=(n-c[m])/g,_=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes)return void r.slideTo(r.activeIndex);"next"===r.swipeDirection&&(w>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?v:m+_):r.slideTo(m)),"prev"===r.swipeDirection&&(w>1-a.longSwipesRatio?r.slideTo(m+_):null!==y&&w<0&&Math.abs(w)>a.longSwipesRatio?r.slideTo(y):r.slideTo(m))}else{if(!a.shortSwipes)return void r.slideTo(r.activeIndex);r.navigation&&(o.target===r.navigation.nextEl||o.target===r.navigation.prevEl)?o.target===r.navigation.nextEl?r.slideTo(m+_):r.slideTo(m):("next"===r.swipeDirection&&r.slideTo(null!==v?v:m+_),"prev"===r.swipeDirection&&r.slideTo(null!==y?y:m))}}function s$(){let e=this,{params:i,el:n}=e;if(n&&0===n.offsetWidth)return;i.breakpoints&&e.setBreakpoint();let{allowSlideNext:r,allowSlidePrev:s,snapGrid:o}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let l=a&&i.loop;if("auto"!==i.slidesPerView&&!(i.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l)e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{let i=a?e.virtual.slides:e.slides;e.slideTo(i.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=s,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function sz(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function sF(){let{wrapperEl:e,rtlTranslate:i,enabled:n}=this;if(!n)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let r=this.maxTranslate()-this.minTranslate();(0===r?0:(this.translate-this.minTranslate())/r)!==this.progress&&this.updateProgress(i?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function sN(e){sP(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function sj(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let sV=(e,i)=>{let n=so(),{params:r,el:s,wrapperEl:o,device:a}=e,l=!!r.nested,u="on"===i?"addEventListener":"removeEventListener";s&&"string"!=typeof s&&(n[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[u]("touchstart",e.onTouchStart,{passive:!1}),s[u]("pointerdown",e.onTouchStart,{passive:!1}),n[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[u]("touchend",e.onTouchEnd,{passive:!0}),n[u]("pointerup",e.onTouchEnd,{passive:!0}),n[u]("pointercancel",e.onTouchEnd,{passive:!0}),n[u]("touchcancel",e.onTouchEnd,{passive:!0}),n[u]("pointerout",e.onTouchEnd,{passive:!0}),n[u]("pointerleave",e.onTouchEnd,{passive:!0}),n[u]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&s[u]("click",e.onClick,!0),r.cssMode&&o[u]("scroll",e.onScroll),r.updateOnWindowResize?e[i](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",s$,!0):e[i]("observerUpdate",s$,!0),s[u]("load",e.onLoad,{capture:!0}))},sH=(e,i)=>e.grid&&i.grid&&i.grid.rows>1;var sB={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",
5spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!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};let sq={eventsEmitter:{on(e,i,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof i)return r;let s=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][s](i)}),r},once(e,i,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof i)return r;function s(...n){r.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,i.apply(r,n)}return s.__emitterProxy=i,r.on(e,s,n)},onAny(e,i){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[i?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let i=this.eventsAnyListeners.indexOf(e);return i>=0&&this.eventsAnyListeners.splice(i,1),this},off(e,i){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===i?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,s)=>{(r===i||r.__emitterProxy&&r.__emitterProxy===i)&&n.eventsListeners[e].splice(s,1)})}),n},emit(...e){let i,n,r,s=this;return s.eventsListeners&&!s.destroyed&&s.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),r=s):(i=e[0].events,n=e[0].data,r=e[0].context||s),n.unshift(r),(Array.isArray(i)?i:i.split(" ")).forEach(e=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(i=>{i.apply(r,[e,...n])}),s.eventsListeners&&s.eventsListeners[e]&&s.eventsListeners[e].forEach(e=>{e.apply(r,n)})})),s}},update:{updateSize:function(){let e,i,n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,i=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===i&&this.isVertical()||(e=e-parseInt(sy(n,"padding-left")||0,10)-parseInt(sy(n,"padding-right")||0,10),i=i-parseInt(sy(n,"padding-top")||0,10)-parseInt(sy(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(this,{width:e,height:i,size:this.isHorizontal()?e:i}))},updateSlides:function(){let e,i=this;function n(e,n){return parseFloat(e.getPropertyValue(i.getDirectionLabel(n))||0)}let r=i.params,{wrapperEl:s,slidesEl:o,rtlTranslate:a,wrongRTL:l}=i,u=i.virtual&&r.virtual.enabled,c=u?i.virtual.slides.length:i.slides.length,d=sm(o,`.${i.params.slideClass}, swiper-slide`),h=u?i.virtual.slides.length:d.length,f=[],p=[],m=[],g=r.slidesOffsetBefore;"function"==typeof g&&(g=r.slidesOffsetBefore.call(i));let v=r.slidesOffsetAfter;"function"==typeof v&&(v=r.slidesOffsetAfter.call(i));let y=i.snapGrid.length,w=i.slidesGrid.length,_=i.size-g-v,b=r.spaceBetween,S=-g,x=0,T=0;if(void 0===_)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*_:"string"==typeof b&&(b=parseFloat(b)),i.virtualSize=-b-g-v,d.forEach(e
5=>{a?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(sf(s,"--swiper-centered-offset-before",""),sf(s,"--swiper-centered-offset-after","")),r.cssMode&&(sf(s,"--swiper-slides-offset-before",`${g}px`),sf(s,"--swiper-slides-offset-after",`${v}px`));let E=r.grid&&r.grid.rows>1&&i.grid;E?i.grid.initSlides(d):i.grid&&i.grid.unsetSlides();let M="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let s=0;s<h;s+=1){e=0;let o=d[s];if(!o||(E&&i.grid.updateSlide(s,o,d),"none"!==sy(o,"display"))){if(u&&"auto"===r.slidesPerView)r.virtual.slidesPerViewAutoSlideSize&&(e=r.virtual.slidesPerViewAutoSlideSize),e&&o&&(r.roundLengths&&(e=Math.floor(e)),o.style[i.getDirectionLabel("width")]=`${e}px`);else if("auto"===r.slidesPerView){M&&(o.style[i.getDirectionLabel("width")]="");let s=getComputedStyle(o),a=o.style.transform,l=o.style.webkitTransform;if(a&&(o.style.transform="none"),l&&(o.style.webkitTransform="none"),r.roundLengths)e=i.isHorizontal()?sb(o,"width",!0):sb(o,"height",!0);else{let i=n(s,"width"),r=n(s,"padding-left"),a=n(s,"padding-right"),l=n(s,"margin-left"),u=n(s,"margin-right"),c=s.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=i+l+u;else{let{clientWidth:n,offsetWidth:s}=o;e=i+r+a+l+u+(s-n)}}a&&(o.style.transform=a),l&&(o.style.webkitTransform=l),r.roundLengths&&(e=Math.floor(e))}else e=(_-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),o&&(o.style[i.getDirectionLabel("width")]=`${e}px`);o&&(o.swiperSlideSize=e),m.push(e),r.centeredSlides?(S=S+e/2+x/2+b,0===x&&0!==s&&(S=S-_/2-b),0===s&&(S=S-_/2-b),.001>Math.abs(S)&&(S=0),r.roundLengths&&(S=Math.floor(S)),T%r.slidesPerGroup==0&&f.push(S),p.push(S)):(r.roundLengths&&(S=Math.floor(S)),(T-Math.min(i.params.slidesPerGroupSkip,T))%i.params.slidesPerGroup==0&&f.push(S),p.push(S),S=S+e+b),i.virtualSize+=e+b,x=e,T+=1}}if(i.virtualSize=Math.max(i.virtualSize,_)+v,a&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(s.style.width=`${i.virtualSize+b}px`),r.setWrapperSize&&(s.style[i.getDirectionLabel("width")]=`${i.virtualSize+b}px`),E&&i.grid.updateWrapperSize(e,f),!r.centeredSlides){let e="auto"!==r.slidesPerView&&r.slidesPerView%1!=0,n=r.snapToSlideEdge&&!r.loop&&("auto"===r.slidesPerView||e),s=f.length;if(n){let e;if("auto"===r.slidesPerView){e=1;let i=0;for(let n=m.length-1;n>=0;n-=1)if((i+=m[n]+(n<m.length-1?b:0))<=_)e=m.length-n;else break}else e=Math.floor(r.slidesPerView);s=Math.max(h-e,0)}let o=[];for(let e=0;e<f.length;e+=1){let a=f[e];r.roundLengths&&(a=Math.floor(a)),n?e<=s&&o.push(a):f[e]<=i.virtualSize-_&&o.push(a)}f=o,Math.floor(i.virtualSize-_)-Math.floor(f[f.length-1])>1&&!n&&f.push(i.virtualSize-_)}if(u&&r.loop){let e=m[0]+b;if(r.slidesPerGroup>1){let n=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/r.slidesPerGroup),s=e*r.slidesPerGroup;for(let e=0;e<n;e+=1)f.push(f[f.length-1]+s)}for(let n=0;n<i.virtual.slidesBefore+i.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+e),p.push(p[p.length-1]+e),i.virtualSize+=e}if(0===f.length&&(f=[0]),0!==b){let e=i.isHorizontal()&&a?"marginLeft":i.getDirectionLabel("marginRight");d.filter((e,i)=>!r.cssMode||!!r.loop||i!==d.length-1).forEach(i=>{i.style[e]=`${b}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;m.forEach(i=>{e+=i+(b||0)});let i=(e-=b)>_?e-_:0;f=f.map(e=>e<=0?-g:e>i?i+v:e)}if(r.centerInsufficientSlides){let e=0;if(m.forEach(i=>{e+=i+(b||0)}),(e-=b)<_){let i=(_-e)/2;f.forEach((e,n)=>{f[n]=e-i}),p.forEach((e,n)=>{p[n]=e+i})}}if(Object.assign(i,{slides:d,snapGrid:f,slidesGrid:p,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){sf(s,"--swiper-centered-offset-before",`${-f[0]}px`),sf(s,"--swiper-centered-offset-after",`${i.size/2-m[m.length-1]/2}px`);let e=-i.snapGrid[0],n=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(i=>i+e),i.slidesGrid=i.slidesGrid.map(e=>e+n)}if(h!==c&&i.emit("slidesLengthChange"),f.length!==y&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),p.length!==w&&i.emit("slidesGridLengthChange"),r.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,n=i.el.classList.contains(e);h<=r.maxBackfaceHiddenSlides?n||i.el.classList.add(e):n&&i.el.classList.remove(e)}},updateAutoHeight:function(e){let i,n=this,r=[],s=n.virtual&&n.params.virtual.enabled,o=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let a=e=>s?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>
51)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{r.push(e)});else for(i=0;i<Math.ceil(n.params.slidesPerView);i+=1){let e=n.activeIndex+i;if(e>n.slides.length&&!s)break;r.push(a(e))}else r.push(a(n.activeIndex));for(i=0;i<r.length;i+=1)if(void 0!==r[i]){let e=r[i].offsetHeight;o=e>o?e:o}(o||0===o)&&(n.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){let e=this.slides,i=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-this.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){let i=this.params,{slides:n,rtlTranslate:r,snapGrid:s}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let o=-e;r&&(o=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<n.length;e+=1){let l=n[e],u=l.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(u-=n[0].swiperSlideOffset);let c=(o+(i.centeredSlides?this.minTranslate():0)-u)/(l.swiperSlideSize+a),d=(o-s[0]+(i.centeredSlides?this.minTranslate():0)-u)/(l.swiperSlideSize+a),h=-(o-u),f=h+this.slidesSizesGrid[e],p=h>=0&&h<=this.size-this.slidesSizesGrid[e],m=h>=0&&h<this.size-1||f>1&&f<=this.size||h<=0&&f>=this.size;m&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(e)),sM(l,m,i.slideVisibleClass),sM(l,p,i.slideFullyVisibleClass),l.progress=r?-c:c,l.originalProgress=r?-d:d}},updateProgress:function(e){if(void 0===e){let i=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*i||0}let i=this.params,n=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=this,l=s,u=o;if(0===n)r=0,s=!0,o=!0;else{r=(e-this.minTranslate())/n;let i=1>Math.abs(e-this.minTranslate()),a=1>Math.abs(e-this.maxTranslate());s=i||r<=0,o=a||r>=1,i&&(r=0),a&&(r=1)}if(i.loop){let i=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),r=this.slidesGrid[i],s=this.slidesGrid[n],o=this.slidesGrid[this.slidesGrid.length-1],l=Math.abs(e);(a=l>=r?(l-r)/o:(l+o-s)/o)>1&&(a-=1)}Object.assign(this,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),s&&!l&&this.emit("reachBeginning toEdge"),o&&!u&&this.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let e,i,n,{slides:r,params:s,slidesEl:o,activeIndex:a}=this,l=this.virtual&&s.virtual.enabled,u=this.grid&&s.grid&&s.grid.rows>1,c=e=>sm(o,`.${s.slideClass}${e}, swiper-slide${e}`)[0];if(l)if(s.loop){let i=a-this.virtual.slidesBefore;i<0&&(i=this.virtual.slides.length+i),i>=this.virtual.slides.length&&(i-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${i}"]`)}else e=c(`[data-swiper-slide-index="${a}"]`);else u?(e=r.find(e=>e.column===a),n=r.find(e=>e.column===a+1),i=r.find(e=>e.column===a-1)):e=r[a];e&&!u&&(n=function(e,i){let n=[];for(;e.nextElementSibling;){let r=e.nextElementSibling;i?r.matches(i)&&n.push(r):n.push(r),e=r}return n}(e,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!n&&(n=r[0]),i=function(e,i){let n=[];for(;e.previousElementSibling;){let r=e.previousElementSibling;i?r.matches(i)&&n.push(r):n.push(r),e=r}return n}(e,`.${s.slideClass}, swiper-slide`)[0],s.loop),r.forEach(r=>{sk(r,r===e,s.slideActiveClass),sk(r,r===n,s.slideNextClass),sk(r,r===i,s.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let i,n,r=this,s=r.rtlTranslate?r.translate:-r.translate,{snapGrid:o,params:a,activeIndex:l,realIndex:u,snapIndex:c}=r,d=e,h=e=>{let i=e-r.virtual.slidesBefore;return i<0&&(i=r.virtual.slides.length+i),i>=r.virtual.slides.length&&(i-=r.virtual.slides.length),i};if(void 0===d&&(d=function(e){let i,{slidesGrid:n,params:r}=e,s=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?s>=n[e]&&s<n[e+1]-(n[e+1]-n[e])/2?i=e:s>=n[e]&&s<n[e+1]&&(i=e+1):s>=n[e]&&(i=e);return r.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(r)),o.indexOf(s)>=0)i=o.indexOf(s);else{let e=Math.min(a.slidesPerGroupSkip,d);i=e+Math.floor((d-e)/a.slidesPerGroup)}if(i>=o.length&&(i=o.length-1),d===l&&!r.params.loop){i!==c&&(r.snapIndex=i,r.emit("snapIndexChange"));return}if(d===l&&r.params.loop&&r.virtual&&r.params.virtual.enabled){r.realIndex=h(d);return}let f=r.grid&&a.grid&&a.grid.rows>1;if(r.virtual&&a.virtual.enabled)n=a.loop?h(d):d;else if(f){let e=r.slides.find(e=>e.column===d),i=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(i)&&(i=Math.max(r.slides.indexOf(e),0)),n=Math.floor(i/a.grid.rows)}else if(r.slides[d]){let e=r.slides[d].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):d}else n=d;Object.assign(r,{previousSnapIndex:c,snapIndex:i,previousRealIndex:u,realIndex:n,previousIndex:l,activeIndex:d}),r.initialized&&sA(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(u!==n&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function(e,i){let n,r=this.params,s=e.closest(`.${r.slideClass}, swiper-slide`);!s&&this.isElement&&i&&i.length>
51&&i.includes(e)&&[...i.slice(i.indexOf(e)+1,i.length)].forEach(e=>{!s&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(s=e)});let o=!1;if(s){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===s){o=!0,n=e;break}}if(s&&o)this.clickedSlide=s,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e=this.isHorizontal()?"x":"y"){let{params:i,rtlTranslate:n,translate:r,wrapperEl:s}=this;if(i.virtualTranslate)return n?-r:r;if(i.cssMode)return r;let o=function(e,i="x"){let n,r,s,o,a,l=sl(),u=((a=sl()).getComputedStyle&&(o=a.getComputedStyle(e,null)),!o&&e.currentStyle&&(o=e.currentStyle),o||(o=e.style),o);return l.WebKitCSSMatrix?((r=u.transform||u.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new l.WebKitCSSMatrix("none"===r?"":r)):n=(s=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(r=l.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===i&&(r=l.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}(s,e);return o+=this.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,i){let{rtlTranslate:n,params:r,wrapperEl:s,progress:o}=this,a=0,l=0;this.isHorizontal()?a=n?-e:e:l=e,r.roundLengths&&(a=Math.floor(a),l=Math.floor(l)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:l,r.cssMode?s[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-l:r.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():l-=this.cssOverflowAdjustment(),s.style.transform=`translate3d(${a}px, ${l}px, 0px)`);let u=this.maxTranslate()-this.minTranslate();(0===u?0:(e-this.minTranslate())/u)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,i)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,i=this.params.speed,n=!0,r=!0,s){let o,a=this,{params:l,wrapperEl:u}=a;if(a.animating&&l.preventInteractionOnTransition)return!1;let c=a.minTranslate(),d=a.maxTranslate();if(o=r&&e>c?c:r&&e<d?d:e,a.updateProgress(o),l.cssMode){let e=a.isHorizontal();if(0===i)u[e?"scrollLeft":"scrollTop"]=-o;else{if(!a.support.smoothScroll)return sp({swiper:a,targetPosition:-o,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-o,behavior:"smooth"})}return!0}return 0===i?(a.setTransition(0),a.setTranslate(o),n&&(a.emit("beforeTransitionStart",i,s),a.emit("transitionEnd"))):(a.setTransition(i),a.setTranslate(o),n&&(a.emit("beforeTransitionStart",i,s),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){!a||a.destroyed||e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,i){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,i)},transitionStart:function(e=!0,i){let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),sC({swiper:this,runCallbacks:e,direction:i,step:"Start"}))},transitionEnd:function(e=!0,i){let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),sC({swiper:this,runCallbacks:e,direction:i,step:"End"}))}},slide:{slideTo:function(e=0,i,n=!0,r,s){let o;"string"==typeof e&&(e=parseInt(e,10));let a=this,l=e;l<0&&(l=0);let{params:u,snapGrid:c,slidesGrid:d,previousIndex:h,activeIndex:f,rtlTranslate:p,wrapperEl:m,enabled:g}=a;if(!g&&!r&&!s||a.destroyed||a.animating&&u.preventInteractionOnTransition)return!1;void 0===i&&(i=a.params.speed);let v=Math.min(a.params.slidesPerGroupSkip,l),y=v+Math.floor((l-v)/a.params.slidesPerGroup);y>=c.length&&(y=c.length-1);let w=-c[y];if(u.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){let i=-Math.floor(100*w),n=Math.floor(100*d[e]),r=Math.floor(100*d[e+1]);void 0!==d[e+1]?i>=n&&i<r-(r-n)/2?l=e:i>=n&&i<r&&(l=e+1):i>=n&&(l=e)}if(a.initialized&&l!==f&&(!a.allowSlideNext&&(p?w>a.translate&&w>a.minTranslate():w<a.translate&&w<a.minTranslate())||!a.allowSlidePrev&&w>a.translate&&w>a.maxTranslate()&&(f||0)!==l))return!1;l!==(h||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(w),o=l>f?"next":l<f?"prev":"reset";let _=a.virtual&&a.params.virtual.enabled;if(!(_&&s)&&(p&&-w===a.translate||!p&&w===a.translate))return a.updateActiveIndex(l),u.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==u.effect&&a.setTranslate(w),"reset"!==o&&(a.transitionStart(n,o),a.transitionEnd(n,o)),!1;if(u.cssMode){let e=a.isHorizontal(),n=p?w:-w;if(0===i)_&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),_&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=n})):m[e?"scrollLeft":"scrollTop"]=n,_&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return sp({swiper:a,targetPosition:n,side:e?"left"
5:"top"}),!0;m.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}let b=sE().isSafari;return _&&!s&&b&&a.isElement&&a.virtual.update(!1,!1,l),a.setTransition(i),a.setTranslate(w),a.updateActiveIndex(l),a.updateSlidesClasses(),a.emit("beforeTransitionStart",i,r),a.transitionStart(n,o),0===i?a.transitionEnd(n,o):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){!a||a.destroyed||e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,o))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,i,n=!0,r){"string"==typeof e&&(e=parseInt(e,10));let s=this;if(s.destroyed)return;void 0===i&&(i=s.params.speed);let o=s.grid&&s.params.grid&&s.params.grid.rows>1,a=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a+=s.virtual.slidesBefore;else{let e;if(o){let i=a*s.params.grid.rows;e=s.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===i).column}else e=s.getSlideIndexByData(a);let i=o?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:n,slidesOffsetBefore:l,slidesOffsetAfter:u}=s.params,c=n||!!l||!!u,d=s.params.slidesPerView;"auto"===d?d=s.slidesPerViewDynamic():(d=Math.ceil(parseFloat(s.params.slidesPerView,10)),c&&d%2==0&&(d+=1));let h=i-e<d;if(c&&(h=h||e<Math.ceil(d/2)),r&&c&&"auto"!==s.params.slidesPerView&&!o&&(h=!1),h){let n=c?e<s.activeIndex?"prev":"next":e-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-i+1,slideRealIndex:"next"===n?s.realIndex:void 0})}if(o){let e=a*s.params.grid.rows;a=s.slides.find(i=>+i.getAttribute("data-swiper-slide-index")===e).column}else a=s.getSlideIndexByData(a)}return requestAnimationFrame(()=>{s.slideTo(a,i,n,r)}),s},slideNext:function(e,i=!0,n){let r=this,{enabled:s,params:o,animating:a}=r;if(!s||r.destroyed)return r;void 0===e&&(e=r.params.speed);let l=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));let u=r.activeIndex<o.slidesPerGroupSkip?1:l,c=r.virtual&&o.virtual.enabled;if(o.loop){if(a&&!c&&o.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+u,e,i,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,i,n):r.slideTo(r.activeIndex+u,e,i,n)},slidePrev:function(e,i=!0,n){let r=this,{params:s,snapGrid:o,slidesGrid:a,rtlTranslate:l,enabled:u,animating:c}=r;if(!u||r.destroyed)return r;void 0===e&&(e=r.params.speed);let d=r.virtual&&s.virtual.enabled;if(s.loop){if(c&&!d&&s.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function h(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let f=h(l?r.translate:-r.translate),p=o.map(e=>h(e)),m=s.freeMode&&s.freeMode.enabled,g=o[p.indexOf(f)-1];if(void 0===g&&(s.cssMode||m)){let e;o.forEach((i,n)=>{f>=i&&(e=n)}),void 0!==e&&(g=m?o[e]:o[e>0?e-1:e])}let v=0;if(void 0!==g&&((v=a.indexOf(g))<0&&(v=r.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(v=Math.max(v=v-r.slidesPerViewDynamic("previous",!0)+1,0))),s.rewind&&r.isBeginning){let s=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(s,e,i,n)}return s.loop&&0===r.activeIndex&&s.cssMode?(requestAnimationFrame(()=>{r.slideTo(v,e,i,n)}),!0):r.slideTo(v,e,i,n)},slideReset:function(e,i=!0,n){if(!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,i,n)},slideToClosest:function(e,i=!0,n,r=.5){if(this.destroyed)return;void 0===e&&(e=this.params.speed);let s=this.activeIndex,o=Math.min(this.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/this.params.slidesPerGroup),l=this.rtlTranslate?this.translate:-this.translate;if(l>=this.snapGrid[a]){let e=this.snapGrid[a];l-e>(this.snapGrid[a+1]-e)*r&&(s+=this.params.slidesPerGroup)}else{let e=this.snapGrid[a-1];l-e<=(this.snapGrid[a]-e)*r&&(s-=this.params.slidesPerGroup)}return s=Math.min(s=Math.max(s,0),this.slidesGrid.length-1),this.slideTo(s,e,i,n)},slideToClickedSlide:function(){let e,i=this;if(i.destroyed)return;let{params:n,slidesEl:r}=i,s="auto"===n.slidesPerView?i.slidesPerViewDynamic():n.slidesPerView,o=i.getSlideIndexWhenGrid(i.clickedIndex),a=i.isElement?"swiper-slide":`.${n.slideClass}`,l=i.grid&&i.params.grid&&i.params.grid.rows>1;if(n.loop){if(i.animating)return;e=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?i.slideToLoop(e):o>(l?(i.slides.length-s)/2-(i.params.grid.rows-1):i.slides.length-s)?(i.loopFix(),o=i.getSlideIndex(sm(r,`${a}[data-swiper-slide-index="${e}"]`)[0]),su(()=>{i.slideTo(o)})):i.slideTo(o)}else i.slideTo(o)}},loop:{loopCreate:function(e,i){let n,r=this,{params:s,slidesEl:o}=r;if(!s.loop||r.virtual&&r.params.virtual.enabled)return;let a=r.grid&&s.grid&&s.grid.rows>1;
5s.loopAddBlankSlides&&(s.slidesPerGroup>1||a)&&((n=sm(o,`.${s.slideBlankClass}`)).forEach(e=>{e.remove()}),n.length>0&&(r.recalcSlides(),r.updateSlides()));let l=s.slidesPerGroup*(a?s.grid.rows:1),u=r.slides.length%l!=0,c=a&&r.slides.length%s.grid.rows!=0,d=e=>{for(let i=0;i<e;i+=1){let e=r.isElement?sv("swiper-slide",[s.slideBlankClass]):sv("div",[s.slideClass,s.slideBlankClass]);r.slidesEl.append(e)}};u?s.loopAddBlankSlides?(d(l-r.slides.length%l),r.recalcSlides(),r.updateSlides()):sg("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)"):c&&(s.loopAddBlankSlides?(d(s.grid.rows-r.slides.length%s.grid.rows),r.recalcSlides(),r.updateSlides()):sg("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)")),sm(o,`.${s.slideClass}, swiper-slide`).forEach((e,i)=>{e.setAttribute("data-swiper-slide-index",i)});let h=s.centeredSlides||!!s.slidesOffsetBefore||!!s.slidesOffsetAfter;r.loopFix({slideRealIndex:e,direction:h?void 0:"next",initial:i})},loopFix:function({slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:r,activeSlideIndex:s,initial:o,byController:a,byMousewheel:l}={}){let u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:c,allowSlidePrev:d,allowSlideNext:h,slidesEl:f,params:p}=u,{centeredSlides:m,slidesOffsetBefore:g,slidesOffsetAfter:v,initialSlide:y}=p,w=m||!!g||!!v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&p.virtual.enabled){i&&(w||0!==u.snapIndex?w&&u.snapIndex<p.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=h,u.emit("loopFix");return}let _=p.slidesPerView;"auto"===_?_=u.slidesPerViewDynamic():(_=Math.ceil(parseFloat(p.slidesPerView,10)),w&&_%2==0&&(_+=1));let b=p.slidesPerGroupAuto?_:p.slidesPerGroup,S=w?Math.max(b,Math.ceil(_/2)):b;S%b!=0&&(S+=b-S%b),u.loopedSlides=S+=p.loopAdditionalSlides;let x=u.grid&&p.grid&&p.grid.rows>1;c.length<_+S||"cards"===u.params.effect&&c.length<_+2*S?sg("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&"row"===p.grid.fill&&sg("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let T=[],E=[],M=x?Math.ceil(c.length/p.grid.rows):c.length,k=o&&M-y<_&&!w,P=k?y:u.activeIndex;void 0===s?s=u.getSlideIndex(c.find(e=>e.classList.contains(p.slideActiveClass))):P=s;let O="next"===n||!n,A="prev"===n||!n,C=0,L=0,D=(x?c[s].column:s)+(w&&void 0===r?-_/2+.5:0);if(D<S){C=Math.max(S-D,b);for(let e=0;e<S-D;e+=1){let i=e-Math.floor(e/M)*M;if(x){let e=M-i-1;for(let i=c.length-1;i>=0;i-=1)c[i].column===e&&T.push(i)}else T.push(M-i-1)}}else if(D+_>M-S){L=Math.max(D-(M-2*S),b),k&&(L=Math.max(L,_-M+y+1));for(let e=0;e<L;e+=1){let i=e-Math.floor(e/M)*M;x?c.forEach((e,n)=>{e.column===i&&E.push(n)}):E.push(i)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&c.length<_+2*S&&(E.includes(s)&&E.splice(E.indexOf(s),1),T.includes(s)&&T.splice(T.indexOf(s),1)),A&&T.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),O&&E.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===p.slidesPerView?u.updateSlides():x&&(T.length>0&&A||E.length>0&&O)&&u.slides.forEach((e,i)=>{u.grid.updateSlide(i,e,u.slides)}),p.watchSlidesProgress&&u.updateSlidesOffset(),i){if(T.length>0&&A){if(void 0===e){let e=u.slidesGrid[P],i=u.slidesGrid[P+C]-e;l?u.setTranslate(u.translate-i):(u.slideTo(P+Math.ceil(C),0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-i,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-i))}else if(r){let e=x?T.length/p.grid.rows:T.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&O)if(void 0===e){let e=u.slidesGrid[P],i=u.slidesGrid[P-L]-e;l?u.setTranslate(u.translate-i):(u.slideTo(P-L,0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-i,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-i))}else{let e=x?E.length/p.grid.rows:E.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=d,u.allowSlideNext=h,u.controller&&u.controller.control&&!a){let o={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(e
5=>{!e.destroyed&&e.params.loop&&e.loopFix({...o,slideTo:e.params.slidesPerView===p.slidesPerView&&i})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...o,slideTo:u.controller.control.params.slidesPerView===p.slidesPerView&&i})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:i}=this;if(!e.loop||!i||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{i.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let i=this;if(!i.params.simulateTouch||i.params.watchOverflow&&i.isLocked||i.params.cssMode)return;let n="container"===i.params.touchEventsTarget?i.el:i.wrapperEl;i.isElement&&(i.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=sD.bind(this),this.onTouchMove=sI.bind(this),this.onTouchEnd=sR.bind(this),this.onDocumentTouchStart=sj.bind(this),e.cssMode&&(this.onScroll=sF.bind(this)),this.onClick=sz.bind(this),this.onLoad=sN.bind(this),sV(this,"on")},detachEvents:function(){sV(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:i,initialized:n,params:r,el:s}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;let a=so(),l="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,u=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:a.querySelector(r.breakpointsBase),c=e.getBreakpoint(o,l,u);if(!c||e.currentBreakpoint===c)return;let d=(c in o?o[c]:void 0)||e.originalParams,h=sH(e,r),f=sH(e,d),p=e.params.grabCursor,m=d.grabCursor,g=r.enabled;h&&!f?(s.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!h&&f&&(s.classList.add(`${r.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===r.grid.fill)&&s.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!m?e.unsetGrabCursor():!p&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(i=>{if(void 0===d[i])return;let n=r[i]&&r[i].enabled,s=d[i]&&d[i].enabled;n&&!s&&e[i].disable(),!n&&s&&e[i].enable()});let v=d.direction&&d.direction!==r.direction,y=r.loop&&(d.slidesPerView!==r.slidesPerView||v),w=r.loop;v&&n&&e.changeDirection(),sh(e.params,d);let _=e.params.enabled,b=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!_?e.disable():!g&&_&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(y?(e.loopDestroy(),e.loopCreate(i),e.updateSlides()):!w&&b?(e.loopCreate(i),e.updateSlides()):w&&!b&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,i="window",n){if(!e||"container"===i&&!n)return;let r=!1,s=sl(),o="window"===i?s.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:o*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,i)=>parseInt(e.value,10)-parseInt(i.value,10));for(let e=0;e<a.length;e+=1){let{point:o,value:l}=a[e];"window"===i?s.matchMedia(`(min-width: ${l}px)`).matches&&(r=o):l<=n.clientWidth&&(r=o)}return r||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:i}=this,{slidesOffsetBefore:n}=i;if(n){let e=this.slides.length-1,i=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;this.isLocked=this.size>i}else this.isLocked=1===this.snapGrid.length;!0===i.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===i.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit
5(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,i;let n,{classNames:r,params:s,rtl:o,el:a,device:l}=this,u=(e=["initialized",s.direction,{"free-mode":this.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:o},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:l.android},{ios:l.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],i=s.containerModifierClass,n=[],e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(i+r)}):"string"==typeof e&&n.push(i+e)}),n);r.push(...u),a.classList.add(...r),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:i}=this;e&&"string"!=typeof e&&(e.classList.remove(...i),this.emitContainerClasses())}}},sU={};class sG{constructor(...e){let i,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[i,n]=e,n||(n={}),n=sh({},n),i&&!n.el&&(n.el=i);const r=so();if(n.el&&"string"==typeof n.el&&r.querySelectorAll(n.el).length>1){const e=[];return r.querySelectorAll(n.el).forEach(i=>{let r=sh({},n,{el:i});e.push(new sG(r))}),e}const s=this;s.__swiper__=!0,s.support=sx(),s.device=sT({userAgent:n.userAgent}),s.browser=sE(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{"function"==typeof e&&0>s.modules.indexOf(e)&&s.modules.push(e)});const o={};s.modules.forEach(e=>{var i;e({params:n,swiper:s,extendParams:(i=n,function(e={}){let n=Object.keys(e)[0],r=e[n];"object"!=typeof r||null===r||(!0===i[n]&&(i[n]={enabled:!0}),"navigation"===n&&i[n]&&i[n].enabled&&!i[n].prevEl&&!i[n].nextEl&&(i[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&i[n]&&i[n].enabled&&!i[n].el&&(i[n].auto=!0),n in i&&"enabled"in r&&("object"!=typeof i[n]||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}))),sh(o,e)}),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const a=sh({},sB,o);return s.params=sh({},a,sU,n),s.originalParams=sh({},s.params),s.passedParams=sh({}
5,n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(e=>{s.on(e,s.params.on[e])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:i,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}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){let{slidesEl:i,params:n}=this,r=sw(sm(i,`.${n.slideClass}, swiper-slide`)[0]);return sw(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(i=>+i.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:i}=this;this.slides=sm(e,`.${i.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,i){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,void 0===i?0:i),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let i=e.el.className.split(" ").filter(i=>0===i.indexOf("swiper")||0===i.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){let i=this;return i.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(i.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let i=[];e.slides.forEach(n=>{let r=e.getSlideClasses(n);i.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e="current",i=!1){let{params:n,slides:r,slidesGrid:s,slidesSizesGrid:o,size:a,activeIndex:l}=this,u=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,i=r[l]?Math.ceil(r[l].swiperSlideSize):0;for(let n=l+1;n<r.length;n+=1)r[n]&&!e&&(i+=Math.ceil(r[n].swiperSlideSize),u+=1,i>a&&(e=!0));for(let n=l-1;n>=0;n-=1)r[n]&&!e&&(i+=r[n].swiperSlideSize,u+=1,i>a&&(e=!0))}else if("current"===e)for(let e=l+1;e<r.length;e+=1)(i?s[e]+o[e]-s[l]<a:s[e]-s[l]<a)&&(u+=1);else for(let e=l-1;e>=0;e-=1)s[l]-s[e]<a&&(u+=1);return u}update(){let e,i=this;if(!i||i.destroyed)return;let{snapGrid:n,params:r}=i;function s(){let e=Math.min(Math.max(i.rtlTranslate?-1*i.translate:i.translate,i.maxTranslate()),i.minTranslate());i.setTranslate(e),i.updateActiveIndex(),i.updateSlidesClasses()}if(r.breakpoints&&i.setBreakpoint(),[...i.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&sP(i,e)}),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)s(),r.autoHeight&&i.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&i.isEnd&&!r.centeredSlides){let n=i.virtual&&r.virtual.enabled?i.virtual.slides:i.slides;e=i.slideTo(n.length-1,0,!1,!0)}else e=i.slideTo(i.activeIndex,0,!1,!0);e||s()}r.watchOverflow&&n!==i.snapGrid&&i.checkOverflow(),i.emit("update")}changeDirection(e,i=!0){let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEac
5h(i=>{"vertical"===e?i.style.width="":i.style.height=""}),this.emit("changeDirection"),i&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let i=this;if(i.mounted)return!0;let n=e||i.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);let r=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`,s=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):sm(n,r())[0];return!s&&i.params.createElements&&(s=sv("div",i.params.wrapperClass),n.append(s),sm(n,`.${i.params.slideClass}`).forEach(e=>{s.append(e)})),Object.assign(i,{el:n,wrapperEl:s,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===sy(n,"direction"),rtlTranslate:"horizontal"===i.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===sy(n,"direction")),wrongRTL:"-webkit-box"===sy(s,"display")}),!0}init(e){let i=this;if(i.initialized||!1===i.mount(e))return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(void 0,!0),i.attachEvents();let n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?sP(i,e):e.addEventListener("load",e=>{sP(i,e.target)})}),sA(i),i.initialized=!0,sA(i),i.emit("init"),i.emit("afterInit"),i}destroy(e=!0,i=!0){let n=this,{params:r,el:s,wrapperEl:o,slides:a}=n;if(void 0===n.params||n.destroyed)return null;(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),i&&(n.removeClasses(),s&&"string"!=typeof s&&s.removeAttribute("style"),o&&o.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e)&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),Object.keys(n).forEach(e=>{try{n[e]=null}catch(e){}try{delete n[e]}catch(e){}}));return n.destroyed=!0,null}static extendDefaults(e){sh(sU,e)}static get extendedDefaults(){return sU}static get defaults(){return sB}static installModule(e){sG.prototype.__modules__||(sG.prototype.__modules__=[]);let i=sG.prototype.__modules__;"function"==typeof e&&0>i.indexOf(e)&&i.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>sG.installModule(e)):sG.installModule(e),sG}}Object.keys(sq).forEach(e=>
5{Object.keys(sq[e]).forEach(i=>{sG.prototype[i]=sq[e][i]})}),sG.use([function({swiper:e,on:i,emit:n}){let r=sl(),s=null,o=null,a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};i("init",()=>{e.params.resizeObserver&&void 0!==r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver(i=>{o=r.requestAnimationFrame(()=>{let{width:n,height:r}=e,s=n,o=r;i.forEach(({contentBoxSize:i,contentRect:n,target:r})=>{r&&r!==e.el||(s=n?n.width:(i[0]||i).inlineSize,o=n?n.height:(i[0]||i).blockSize)}),(s!==n||o!==r)&&a()})})).observe(e.el):(r.addEventListener("resize",a),r.addEventListener("orientationchange",l))}),i("destroy",()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null),r.removeEventListener("resize",a),r.removeEventListener("orientationchange",l)})},function({swiper:e,extendParams:i,on:n,emit:r}){let s=[],o=sl(),a=(i,n={})=>{let a=new(o.MutationObserver||o.WebkitMutationObserver)(i=>{if(e.__preventObserver__)return;if(1===i.length)return void r("observerUpdate",i[0]);let n=function(){r("observerUpdate",i[0])};o.requestAnimationFrame?o.requestAnimationFrame(n):o.setTimeout(n,0)});a.observe(i,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),s.push(a)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){let i=function(e){let i=[],n=e.parentElement;for(;n;)i.push(n),n=n.parentElement;return i}(e.hostEl);for(let e=0;e<i.length;e+=1)a(i[e])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);let sY='<svg class="swiper-navigation-icon" 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>';function sW({swiper:e,extendParams:i,on:n,emit:r}){function s(i){let n;return i&&"string"==typeof i&&e.isElement&&(n=e.el.querySelector(i)||e.hostEl.querySelector(i))?n:(i&&("string"==typeof i&&(n=[...document.querySelectorAll(i)]),e.params.uniqueNavElements&&"string"==typeof i&&n&&n.length>1&&1===e.el.querySelectorAll(i).length?n=e.el.querySelector(i):n&&1===n.length&&(n=n[0])),i&&!n)?i:n}function o(i,n){let r=e.params.navigation;(i=sS(i)).forEach(i=>{i&&(i.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===i.tagName&&(i.disabled=n),e.params.watchOverflow&&e.enabled&&i.classList[e.isLocked?"add":"remove"](r.lockClass))})}function a(){let{nextEl:i,prevEl:n}=e.navigation;if(e.params.loop){o(n,!1),o(i,!1);return}o(n,e.isBeginning&&!e.params.rewind),o(i,e.isEnd&&!e.params.rewind)}function l(i){i.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function u(i){i.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){var i,n,r;let o=e.params.navigation;if(e.params.navigation=(i=e.originalParams.navigation,n=e.params.navigation,r={nextEl:"swiper-button-next",prevEl:"swiper-button-prev"},e.params.createElements&&Object.keys(r).forEach(s=>{if(!n[s]&&!0===n.auto){let o=sm(e.el,`.${r[s]}`)[0];o||((o=sv("div",r[s])).className=r[s],e.el.append(o)),n[s]=o,i[s]=o}}),n),!(o.nextEl||o.prevEl))return;let a=s(o.nextEl),c=s(o.prevEl);Object.assign(e.navigation,{nextEl:a,prevEl:c}),a=sS(a),c=sS(c);let d=(i,n)=>{if(i){if(o.addIcons&&i.matches(".swiper-button-next,.swiper-button-prev")&&!i.querySelector("svg")){let e=document.createElement("div");!function(e,i=""){"u">typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(i):e.innerHTML=i}(e,sY),i.appendChild(e.querySelector("svg")),e.remove()}i.addEventListener("click","next"===n?u:l)}!e.enabled&&i&&i.classList.add(...o.lockClass.split(" "))};
5a.forEach(e=>d(e,"next")),c.forEach(e=>d(e,"prev"))}function d(){let{nextEl:i,prevEl:n}=e.navigation;i=sS(i),n=sS(n);let r=(i,n)=>{i.removeEventListener("click","next"===n?u:l),i.classList.remove(...e.params.navigation.disabledClass.split(" "))};i.forEach(e=>r(e,"next")),n.forEach(e=>r(e,"prev"))}i({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:sY},n("init",()=>{!1===e.params.navigation.enabled?h():(c(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:i,prevEl:n}=e.navigation;(i=sS(i),n=sS(n),e.enabled)?a():[...i,...n].filter(e=>!!e).forEach(i=>i.classList.add(e.params.navigation.lockClass))}),n("click",(i,n)=>{let{nextEl:s,prevEl:o}=e.navigation;s=sS(s),o=sS(o);let a=n.target,l=o.includes(a)||s.includes(a);if(e.isElement&&!l){let e=n.path||n.composedPath&&n.composedPath();e&&(l=e.find(e=>s.includes(e)||o.includes(e)))}if(e.params.navigation.hideOnClick&&!l){let i;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;s.length?i=s[0].classList.contains(e.params.navigation.hiddenClass):o.length&&(i=o[0].classList.contains(e.params.navigation.hiddenClass)),!0===i?r("navigationShow"):r("navigationHide"),[...s,...o].filter(e=>!!e).forEach(i=>i.classList.toggle(e.params.navigation.hiddenClass))}});let h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},disable:h,update:a,init:c,destroy:d})}function sX({swiper:e,extendParams:i,on:n,emit:r,params:s}){let o,a,l,u,c,d,h,f,p;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let m=s&&s.autoplay?s.autoplay.delay:3e3,g=s&&s.autoplay?s.autoplay.delay:3e3,v=new Date().getTime();function y(i){!e||e.destroyed||!e.wrapperEl||i.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",y),p||i.detail&&i.detail.bySwiperTouchMove||E())}let w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?u=!0:u&&(g=l,u=!1);let i=e.autoplay.paused?l:v+g-new Date().getTime();e.autoplay.timeLeft=i,r("autoplayTimeLeft",i,i/m),a=requestAnimationFrame(()=>{w()})},_=()=>{let i=e.params.autoplay.delay,n=(()=>{let i;if(i=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(i.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(n)&&n>0&&(i=n),i},b=i=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),w();let n=i;void 0===n&&(m=n=_(),g=n),l=n;let s=e.params.speed,u=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(s,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,s,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(s,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,s,!0,!0),r("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{b()})))};return n>0?(clearTimeout(o),o=setTimeout(()=>{u()},n)):requestAnimationFrame(()=>{u()}),n},S=()=>{v=new Date().getTime(),e.autoplay.running=!0,b(),r("autoplayStart")},x=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),r("autoplayStop")},T=(i,n)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),i||(f=!0);let s=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",y):E()};(e.autoplay.paused=!0,n)?s():(l=(l||e.params.autoplay.delay)-(new Date().getTime()-v),e.isEnd&&l<0&&!e.params.loop||(l<0&&(l=0),s()))},E=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),f?(f=!1,b(l)):b(),e.autoplay.paused=!1,r("autoplayResume"))},M=()=>
5{if(e.destroyed||!e.autoplay.running)return;let i=so();"hidden"===i.visibilityState&&(f=!0,T(!0)),"visible"===i.visibilityState&&E()},k=i=>{"mouse"!==i.pointerType||(f=!0,p=!0,e.animating||e.autoplay.paused||T(!0))},P=i=>{"mouse"===i.pointerType&&(p=!1,e.autoplay.paused&&E())};n("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",k),e.el.addEventListener("pointerleave",P)),so().addEventListener("visibilitychange",M),S())}),n("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",k),e.el.removeEventListener("pointerleave",P)),so().removeEventListener("visibilitychange",M),e.autoplay.running&&x()}),n("_freeModeStaticRelease",()=>{(d||f)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?x():T(!0,!0)}),n("beforeTransitionStart",(i,n,r)=>{!e.destroyed&&e.autoplay.running&&(r||!e.params.autoplay.disableOnInteraction?T(!0,!0):x())}),n("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void x();c=!0,d=!1,f=!1,h=setTimeout(()=>{f=!0,d=!0,T(!0)},200)}}),n("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(h),clearTimeout(o),e.params.autoplay.disableOnInteraction){d=!1,c=!1;return}d&&e.params.cssMode&&E(),d=!1,c=!1}}),n("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(l=_(),m=_())}),Object.assign(e.autoplay,{start:S,stop:x,pause:T,resume:E})}function sK({swiper:e,extendParams:i,emit:n,once:r}){i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;let i=e.getTranslate();e.setTranslate(i),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;let{touchEventsData:i,touches:n}=e;0===i.velocities.length&&i.velocities.push({position:n[e.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:n[e.isHorizontal()?"currentX":"currentY"],time:sc()})},onTouchEnd:function({currentPos:i}){if(e.params.cssMode)return;let{params:s,wrapperEl:o,rtlTranslate:a,snapGrid:l,touchEventsData:u}=e,c=sc()-u.touchStartTime;if(i<-e.minTranslate())return void e.slideTo(e.activeIndex);if(i>-e.maxTranslate())return void(e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1));if(s.freeMode.momentum){let i,c;if(u.velocities.length>1){let i=u.velocities.pop(),n=u.velocities.pop(),r=i.position-n.position,o=i.time-n.time;e.velocity=r/o,e.velocity/=2,Math.abs(e.velocity)<s.freeMode.minimumVelocity&&(e.velocity=0),(o>150||sc()-i.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=s.freeMode.momentumVelocityRatio,u.velocities.length=0;let d=1e3*s.freeMode.momentumRatio,h=e.velocity*d,f=e.translate+h;a&&(f=-f);let p=!1,m=20*Math.abs(e.velocity)*s.freeMode.momentumBounceRatio;if(f<e.maxTranslate())s.freeMode.momentumBounce?(f+e.maxTranslate()<-m&&(f=e.maxTranslate()-m),i=e.maxTranslate(),p=!0,u.allowMomentumBounce=!0):f=e.maxTranslate(),s.loop&&s.centeredSlides&&(c=!0);else if(f>e.minTranslate())s.freeMode.momentumBounce?(f-e.minTranslate()>m&&(f=e.minTranslate()+m),i=e.minTranslate(),p=!0,u.allowMomentumBounce=!0):f=e.minTranslate(),s.loop&&s.centeredSlides&&(c=!0);else if(s.freeMode.sticky){let i;for(let e=0;e<l.length;e+=1)if(l[e]>-f){i=e;break}f=-(f=Math.abs(l[i]-f)<Math.abs(l[i-1]-f)||"next"===e.swipeDirection?l[i]:l[i-1])}if(c&&r("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(d=a?Math.abs((-f-e.translate)/e.velocity):Math.abs((f-e.translate)/e.velocity),s.freeMode.sticky){let i=Math.abs((a?-f:f)-e.translate),n=e.slidesSizesGrid[e.activeIndex];d=i<n?s.speed:i<2*n?1.5*s.speed:2.5*s.speed}}else if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode.momentumBounce&&p?(e.updateProgress(i),e.setTransition(d),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating=!0,s_(o,()=>{e&&!e.destroyed&&u.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(s.speed),setTimeout(()=>{e.setTranslate(i),s_(o,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(f),e.setTransition(d),e.setTranslate(f),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,s_(o,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(f),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(s.freeMode.sticky)return void e.slideToClosest();s.freeMode&&n("_freeModeNoMomentumRelease")}(!s.freeMode.momentum||c>=s.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}})}function sJ(){return{swiper:null,init:function(){this.createUpcomingSlideshow()},destroy:function(){this.destroyUpcomingSlideshow()},createUpcomingSlideshow:function(){this.$refs.swiper&&(this.swiper=new sG(this.$refs.swiper,{modules:[sK,sW],slidesPerView:"auto",spaceBetween:0,freeMode:!0,speed:400,watchSlidesProgress:!0,navigation:{nextEl:this.$refs.next,prevEl:this.$refs.prev}}
5))},destroyUpcomingSlideshow:function(){this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=null)}}}function sZ(){return{isOpen:!1,toggle:function(){this.isOpen=!this.isOpen}}}function sQ(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{target:e.target||"parent",minFontSize:e.min||20,heightRatio:e.heightRatio||.8,box:null,observer:null,init:function(){var e;this.$el.querySelector("img")||(this.box=this.resolveBox(),this.box&&(this.fit=this.fit.bind(this),(null==(e=document.fonts)?void 0:e.ready)&&document.fonts.ready.then(this.fit),this.observer=new ResizeObserver(this.fit),this.observer.observe(this.box),this.fit()))},destroy:function(){var e;null==(e=this.observer)||e.disconnect()},resolveBox:function(){if("media"===this.target){var e=this.$el.closest(".o-exhibitions__item");return null==e?void 0:e.querySelector(".o-exhibitions__item__media")}return this.$el.parentElement},fit:function(){var e=this.$el;e.style.fontSize="";var i=this.box.clientHeight*this.heightRatio;if(i)for(var n=parseFloat(getComputedStyle(e).fontSize),r=0;(e.scrollHeight>i||e.scrollWidth>e.clientWidth)&&n>this.minFontSize&&r<200;)n-=2,e.style.fontSize=n+"px",r++}}}function s0(){return{open:!1,toggle:function(){this.open=!this.open},close:function(){this.open=!1},destroy:function(){this.open=!1}}}function s1(){return{onClick:function(e){var i=this.$store.ui;(i.dialogOpen||i.dialogSmallOpen)&&(e.preventDefault(),e.stopPropagation(),window.dispatchEvent(new CustomEvent("close-dialog")))}}}Object.defineProperty(sJ,"name",{value:"default",configurable:!0}),Object.defineProperty(sZ,"name",{value:"default",configurable:!0}),Object.defineProperty(sQ,"name",{value:"default",configurable:!0}),Object.defineProperty(s0,"name",{value:"default",configurable:!0}),Object.defineProperty(s1,"name",{value:"default",configurable:!0});
5var s2="kmsg-newsletter-subscribed",s5="kmsg:newsletter-subscribed";function s3(){return document.cookie.split(";").some(function(e){return e.trim().startsWith("".concat(s2,"=1"))})||function(){try{return"1"===window.localStorage.getItem(s2)}catch(e){return!1}}()}function s4(){return{submitted:function(){var e,i,n="https:"===window.location.protocol?"; Secure":"";document.cookie="".concat(s2,"=1; max-age=").concat(31536e3,"; path=/; SameSite=Lax").concat(n);try{window.localStorage.setItem(s2,"1")}catch(e){}window.dispatchEvent(new CustomEvent(s5)),(null==(i=window.KMSG)||null==(e=i.Config)?void 0:e.AppDebug)&&console.log("[Newsletter] form submitted â overlay muted"),"function"==typeof window.gtag&&window.gtag("event","newsletter_signup",{page_location:window.location.href,page_path:window.location.pathname})}}}Object.defineProperty(s4,"name",{value:"default",configurable:!0}),Object.defineProperty(s8,"name",{value:"default",configurable:!0});var s6="kmsg-newsletter-overlay-shows";function s8(){var e,i;return{visible:!1,url:(null==(i=window.KMSG)||null==(e=i.Config)?void 0:e.NewsletterUrl)||"",timer:null,onSubscribed:null,init:function(){var e=this;this.onSubscribed=function(){clearTimeout(e.timer),e.visible=!1},window.addEventListener(s5,this.onSubscribed),!this.url||s3()||this.shownCount()>=2||this.schedule()},shownCount:function(){try{return parseInt(sessionStorage.getItem(s6),10)||0}catch(e){return 0}},schedule:function(){var e=this,i=0===this.shownCount(),n=i?15e3:45e3;clearTimeout(this.timer),this.timer=setTimeout(function(){return e.reveal()},n+Math.floor(Math.random()*((i?45e3:9e4)-n)))},reveal:function(){if(!(s3()||this.shownCount()>=2)){if(this.isDialogRoute()||this.isNewsletterPage())return void this.schedule();
5try{sessionStorage.setItem(s6,String(this.shownCount()+1))}catch(e){}this.visible=!0}},isDialogRoute:function(){var e,i,n=(null==(i=window.KMSG)||null==(e=i.Config)?void 0:e.PathPrefix)||"",r=window.location.pathname;return new RegExp("^".concat(n,"/ausstellungen/[^/]+/?$")).test(r)||new RegExp("^".concat(n,"/agenda/[^/]+/?$")).test(r)},isNewsletterPage:function(){try{return new URL(this.url,window.location.origin).pathname===window.location.pathname}catch(e){return!1}},go:function(){this.visible=!1,window.swup?window.swup.navigate(this.url):window.location.href=this.url},close:function(){this.visible=!1,!s3()&&2>this.shownCount()&&this.schedule()},destroy:function(){clearTimeout(this.timer),window.removeEventListener(s5,this.onSubscribed)}}}function s9(e,i,n,r,s,o,a){try{var l=e[o](a),u=l.value}catch(e){n(e);return}l.done?i(u):Promise.resolve(u).then(r,s)}function s7(){return{loading:!1,_controller:null,search:function(e){var i;return(i=function(){var i,n,r,s,o,a;return function(e,i){var n,r,s,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:u(0)}),l(a,"throw",{value:u(1)}),l(a,"return",{value:u(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function u(l){return function(u){var c=[l,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(s=2&c[0]?r.return:c[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,c[1])).done)return s;switch(r=0,s&&(c=[2&c[0],s.value]),c[0]){case 0:case 1:s=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!s||c[1]>s[0]&&c[1]<s[3])){o.label=c[1];break}if(6===c[0]&&o.label<s[1]){o.label=s[1],s=c;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(c);break}s[2]&&o.ops.pop(),o.trys.pop();continue}c=i.call(e,o)}catch(e){c=[6,e],r=0}finally{n=s=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(l){switch(l.label){case 0:i=(null!=e?e:"").trim(),n=window.KMSG.Config.PathPrefix||"",r=i?"".concat(n,"/suche?q=").concat(encodeURIComponent(i)):"".concat(n,"/suche"),window.history.replaceState({},"",r),this._controller&&this._controller.abort(),this._controller=new AbortController,this.loading=!0,l.label=1;case 1:return l.trys.push([1,5,6,7]),[4,fetch("".concat(n,"/suche/results?q=").concat(encodeURIComponent(i)),{headers:{"X-Requested-With":"XMLHttpRequest"},signal:this._controller.signal})];case 2:if(!(s=l.sent()).ok)return[3,4];return o=this.$refs.results,[4,s.text()];case 3:o.innerHTML=l.sent(),l.label=4;case 4:return[3,7];case 5:return"AbortError"!==(a=l.sent()).name&&console.error(a),[3,7];case 6:return this.loading=!1,[7];case 7:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,s){var o=i.apply(e,n);function a(e){s9(o,r,s,a,l,"next",e)}function l(e){s9(o,r,s,a,l,"throw",e)}a(void 0)})}).call(this)}}}function oe(){return{swiper:null,onResize:null,resizeFrame:null,init:function(){"series"===(this.$root.dataset.type||"single")?this.initSeries():this.initSingle()},destroy:function(){this.onResize&&(window.removeEventListener("resize",this.onResize),this.onResize=null),this.resizeFrame&&(cancelAnimationFrame(this.resizeFrame),this.resizeFrame=null),this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=null)},initSingle:function(){var e=this,i=this.$refs.swiper.querySelectorAll(".swiper-slide").length;this.swiper=new sG(this.$refs.swiper,{modules:[sW],slidesPerView:1,spaceBetween:0,loop:i>1,speed:400,autoHeight:!1,navigation:{nextEl:this.$refs.next,prevEl:this.$refs.prev}}),this.measureCaptions(),this.onResize=function(){e.resizeFrame&&cancelAnimationFrame(e.resizeFrame),e.resizeFrame=requestAnimationFrame(function(){e.resizeFrame=null,e.measureCaptions()})},window.addEventListener("resize",this.onResize),document.fonts&&document.fonts.ready.then(function(){e.swiper&&e.measureCaptions()})},measureCaptions:function(){var e=this.$root,i=e.querySelectorAll(".a-slideshow__caption");if(e.style.removeProperty("--caption-height"),e.style.removeProperty("--nav-shift"),i.length){var n=0;
vendor: 5,436 bytes, line 5
5i.forEach(function(e){n=Math.max(n,e.offsetHeight)});var r=parseFloat(getComputedStyle(i[0]).marginTop)||0;e.style.setProperty("--caption-height","".concat(n,"px")),e.style.setProperty("--nav-shift","".concat((n+r)/2,"px"))}},initSeries:function(){this.swiper=new sG(this.$refs.swiper,{modules:[sK,sW],slidesPerView:"auto",spaceBetween:0,freeMode:!0,loop:!0,speed:400,watchSlidesProgress:!0,slidesOffsetBefore:0,navigation:{nextEl:this.$refs.next,prevEl:this.$refs.prev}})}}}function ot(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e,i){e.prototype=Object.create(i.prototype),e.prototype.constructor=e,e.__proto__=i}Object.defineProperty(s7,"name",{value:"default",configurable:!0}),Object.defineProperty(oe,"name",{value:"default",configurable:!0});var on,or,os,oo,oa,ol,ou,oc,od,oh,of,op,om,og,ov,oy,ow,o_,ob,oS,ox,oT,oE,oM,ok,oP,oO,oA,oC,oL,oD,oI,oR,o$={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},oz={duration:.5,overwrite:!1,delay:0},oF=2*Math.PI,oN=oF/4,oj=0,oV=Math.sqrt,oH=Math.cos,oB=Math.sin,oq=function(e){return"string"==typeof e},oU=function(e){return"function"==typeof e},oG=function(e){return"number"==typeof e},oY=function(e){return void 0===e},oW=function(e){return"object"==typeof e},oX=function(e){return!1!==e},oK=function(){return"u">typeof window},oJ=function(e){return oU(e)||oq(e)},oZ="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},oQ=Array.isArray,o0=/random\([^)]+\)/g,o1=/,\s*/g,o2=/(?:-?\.?\d|\.)+/gi,o5=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,o3=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,o4=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,o6=/[+-]=-?[.\d]+/,o8=/[^,'"\[\]\s]+/gi,o9=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,o7={},ae={},at=function(e){return(ae=aC(e,o7))&&uS},ai=function(e,i){return console.warn("Invalid property",e,"set to",i,"Missing plugin? gsap.registerPlugin()")},an=function(e,i){return!i&&console.warn(e)},ar=function(e,i){return e&&(o7[e]=i)&&ae&&(ae[e]=i)||o7},as=function(){return 0},ao={suppressEvents:!0,isStart:!0,kill:!1},aa={suppressEvents:!0,kill:!1},al={suppressEvents:!0},au={},ac=[],ad={},ah={},af={},ap=30,am=[],ag="",av=function(e){var i,n,r=e[0];if(oW(r)||oU(r)||(e=[e]),!(i=(r._gsap||{}).harness)){for(n=am.length;n--&&!am[n].targetTest(r););i=am[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new lF(e[n],i)))||e.splice(n,1);return e},ay=function(e){return e._gsap||av(lt(e))[0]._gsap},aw=function(e,i,n){return(n=e[i])&&oU(n)?e[i]():oY(n)&&e.getAttribute&&e.getAttribute(i)||n},a_=function(e,i){return(e=e.split(",")).forEach(i)||e},ab=function(e){return Math.round(1e5*e)/1e5||0},aS=function(e){return Math.round(1e7*e)/1e7||0},ax=function(e,i){var n=i.charAt(0),r=parseFloat(i.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},aT=function(e,i){for(var n=i.length,r=0;0>e.indexOf(i[r])&&++r<n;);return r<n},aE=function(){var e,i,n=ac.length,r=ac.slice(0);for(e=0,ad={},ac.length=0;e<n;e++)(i=r[e])&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},aM=function(e){return!!(e._initted||e._startAt||e.add)},ak=function(e,i,n,r){ac.length&&!oM&&aE(),e.render(i,n,r||!!(oM&&i<0&&aM(e))),ac.length&&!oM&&aE()},aP=function(e){var i=parseFloat(e);return(i||0===i)&&(e+"").match(o8).length<2?i:oq(e)?e.trim():e},aO=function(e){return e},aA=function(e,i){for(var n in i)n in e||(e[n]=i[n]);return e},aC=function(e,i){for(var n in i)e[n]=i[n];return e},aL=function e(i,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(i[r]=oW(n[r])?e(i[r]||(i[r]={}),n[r]):n[r]);return i},aD=function(e,i){var n,r={};for(n in e)n in i||(r[n]=e[n]);return r},aI=function(e){var i,n=e.parent||oP,r=e.keyframes?(i=oQ(e.keyframes),function(e,n){for(var r in n)r in e||"duration"===r&&i||"ease"===r||(e[r]=n[r])}):aA;if(oX(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},aR=function(e,i){for(var n=e.length,r=n===i.length;r&&n--&&e[n]===i[n];);return n<0},a$=function(e,i,n,r,s){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,a=e[r];if(s)for(o=i[s];a&&a[s]>o;)a=a._prev;return a?(i._next=a._next,a._next=i):(i._next=e[n],e[n]=i),i._next?i._next._prev=i:e[r]=i,i._prev=a,i.parent=i._dp=e,i},az=function(e,i,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var s=i._prev,o=i._next;s?s._next=o:e[n]===i&&(e[n]=o),o?o._prev=s:e[r]===i&&(e[r]=s),i._next=i._prev=i.parent=null},aF=function(e,i){e.parent&&(!i||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},aN=function(e,i){if(e&&(!i||i._end>e._dur||i._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},aj=function(e){for(var i=e.parent;i&&i.parent;)i._dirty=1,i.totalDuration(),i=i.parent;return e},aV=function(e,i,n,r){return e._startAt&&(oM?e._startAt.revert(aa):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(i,!0,r))},aH=function(e){return e._repeat?aB(e._tTime,e=e.duration()+e._rDelay)*e:0},aB=function(e,i){var n=Math.floor(e=aS(e/i));return e&&n===e?n-1:n},aq=function(e,i){return(e-i._start)*i._ts+(i._ts>=0?0:i._dirty?i.totalDuration():i._tDur)},aU=function(e){return e._end=aS(e._start+(e._tDur/Math.abs(e._ts||e._rts||1e-8)||0))},aG=function(e,i){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=aS(n._time-(e._ts>0?i/e._ts:-(((e._dirty?e.totalDuration():e._tDur)-i)/e._ts))),aU(e),n._dirty||aN(n,e)),e},aY=function(e,i){var n;if((i._time||!i._dur&&i._initted||i._start<e._time&&(i._dur||!i.add))&&
5(n=aq(e.rawTime(),i),(!i._dur||a8(0,i.totalDuration(),n)-i._tTime>1e-8)&&i.render(n,!0)),aN(e,i)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},aW=function(e,i,n,r){return i.parent&&aF(i),i._start=aS((oG(n)?n:n||e!==oP?a3(e,n,i):e._time)+i._delay),i._end=aS(i._start+(i.totalDuration()/Math.abs(i.timeScale())||0)),a$(e,i,"_first","_last",e._sort?"_start":0),aZ(i)||(e._recent=i),r||aY(e,i),e._ts<0&&aG(e,e._tTime),e},aX=function(e,i){return(o7.ScrollTrigger||ai("scrollTrigger",i))&&o7.ScrollTrigger.create(i,e)},aK=function(e,i,n,r,s){return(lJ(e,i,s),e._initted)?!n&&e._pt&&!oM&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&oD!==lT.frame?(ac.push(e),e._lazy=[s,r],1):void 0:1},aJ=function e(i){var n=i.parent;return n&&n._ts&&n._initted&&!n._lock&&(0>n.rawTime()||e(n))},aZ=function(e){var i=e.data;return"isFromStart"===i||"isStart"===i},aQ=function(e,i,n,r){var s,o,a,l=e.ratio,u=i<0||!i&&(!e._start&&aJ(e)&&!(!e._initted&&aZ(e))||(e._ts<0||e._dp._ts<0)&&!aZ(e))?0:1,c=e._rDelay,d=0;if(c&&e._repeat&&(o=aB(d=a8(0,e._tDur,i),c),e._yoyo&&1&o&&(u=1-u),o!==aB(e._tTime,c)&&(l=1-u,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 4,271 bytes, line 5
5date())),u!==l||oM||r||1e-8===e._zTime||!i&&e._zTime){if(!e._initted&&aK(e,i,r,n,d))return;for(a=e._zTime,e._zTime=i||1e-8*!!n,n||(n=i&&!a),e.ratio=u,e._from&&(u=1-u),e._time=0,e._tTime=d,s=e._pt;s;)s.r(u,s.d),s=s._next;i<0&&aV(e,i,n,!0),e._onUpdate&&!n&&lh(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&lh(e,"onRepeat"),(i>=e._tDur||i<0)&&e.ratio===u&&(u&&aF(e,1),n||oM||(lh(e,u?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=i)},a0=function(e,i,n){var r;if(n>i)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>i)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<i)return r;r=r._prev}},a1=function(e,i,n,r){var s=e._repeat,o=aS(i)||0,a=e._tTime/e._tDur;return a&&!r&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:aS(o*(s+1)+e._rDelay*s):o,a>0&&!r&&aG(e,e._tTime=e._tDur*a),e.parent&&aU(e),n||aN(e.parent,e),e},a2=function(e){return e instanceof lj?aN(e):a1(e,e._dur)},a5={_start:0,endTime:as,totalDuration:as},a3=function e(i,n,r){var s,o,a,l=i.labels,u=i._recent||a5,c=i.duration()>=1e8?u.endTime(!1):i._dur;return oq(n)&&(isNaN(n)||n in l)?(o=n.charAt(0),a="%"===n.substr(-1),s=n.indexOf("="),"<"===o||">"===o)?(s>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(a?(s<0?u:r).totalDuration()/100:1)):s<0?(n in l||(l[n]=c),l[n]):(o=parseFloat(n.charAt(s-1)+n.substr(s+1)),a&&r&&(o=o/100*(oQ(r)?r[0]:r).totalDuration()),s>1?e(i,n.substr(0,s-1),r)+o:c+o):null==n?c:+n},a4=function(e,i,n){var r,s,o=oG(i[1]),a=(o?2:1)+(e<2?0:1),l=i[a];if(o&&(l.duration=i[1]),l.parent=n,e){for(r=l,s=n;s&&!("immediateRender"in r);)r=s.vars.defaults||{},s=oX(s.vars.inherit)&&s.parent;l.immediateRender=oX(r.immediateRender),e<2?l.runBackwards=1:l.startAt=i[a-1]}return new l3(i[0],l,i[a+1])},a6=function(e,i){return e||0===e?i(e):i},a8=function(e,i,n){return n<e?e:n>i?i:n},a9=function(e,i){return oq(e)&&(i=o9.exec(e))?i[1]:""},a7=[].slice,le=function(e,i){return e&&oW(e)&&"length"in e&&(!i&&!e.length||e.length-1 in e&&oW(e[0]))&&!e.nodeType&&e!==oO},lt=function(e,i,n){var r;return ok&&!i&&ok.selector?ok.selector(e):oq(e)&&!n&&(oA||!lE())?a7.call((i||oC).querySelectorAll(e),0):oQ(e)?(void 0===r&&(r=[]),e.forEach(function(e){var i;return oq(e)&&!n||le(e,1)?(i=r).push.apply(i,lt(e)):r.push(e)})||r):le(e)?a7.call(e,0):e?[e]:[]},li=function(e){return e=lt(e)[0]||an("Invalid scope")||{},function(i){var n=e.current||e.nativeElement||e;return lt(i,n.querySelectorAll?n:n===e?an("Invalid scope")||oC.createElement("div"):e)}},ln=function(e){return e.sort(function(){return .5-Math.random()})},lr=function(e){if(oU(e))return e;var i=oW(e)?e:{each:e},n=lD(i.ease),r=i.from||0,s=parseFloat(i.base)||0,o={},a=r>0&&r<1,l=isNaN(r)||a,u=i.axis,c=r,d=r;return oq(r)?c=d=({center:.5,edges:.5,end:1})[r]||0:!a&&l&&(c=r[0],d=r[1]),function(e,a,h){var f,p,m,g,v,y,w,_,b,S=(h||i).length,x=o[S];if(!x){if(!(b="auto"===i.grid?0:(i.grid||[1,1e8])[1])){for(w=-1e8;w<(w=h[b++].getBoundingClientRect().left)&&b<S;);b<S&&b--}for(y=0,x=o[S]=[],f=l?Math.min(b,S)*c-.5:r%b,p=1e8===b?0:l?S*d/b-.5:r/b|0,w=0,_=1e8;y<S;y++)m=y%b-f,g=p-(y/b|0),x[y]=v=u?Math.abs("y"===u?g:m):oV(m*m+g*g),v>w&&(w=v),v<_&&(_=v);"random"===r&&ln(x),x.max=w-_,x.min=_,x.v=S=(parseFloat(i.amount)||parseFloat(i.each)*(b>S?S-1:u?"y"===u?S/b:b:Math.max(b,S/b))||0)*("edges"===r?-1:1),x.b=S<0?s-S:s,x.u=a9(i.amount||i.each)||0,n=n&&S<0?lL(n):n}return S=(x[e]-x.min)/x.max||0,aS(x.b+(n?n(S):S)*x.v)+x.u}},ls=function(e){var i=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=aS(Math.round(parseFloat(n)/e)*e*i);return(r-r%1)/i+(oG(n)?0:a9(n))}},lo=function(e,i){var n,r,s=oQ(e);return!s&&oW(e)&&(n=s=e.radius||1e8,e.values?(r=!oG((e=lt(e.values))[0]))&&(n*=n):e=ls(e.increment)),a6(i,s?oU(e)?function(i){return Math.abs((r=e(i))-i)<=n?r:i}:function(i){for(var s,o,a=parseFloat(r?i.x:i),l=parseFloat(r?i.y:0),u=1e8,c=0,d=e.length;d--;)(s=r?(s=e[d].x-a)*s+(o=e[d].y-l)*o:Math.abs(e[d]-a))<u&&(u=s,c=d);return c=!n||u<=n?e[c]:i,r||c===i||oG(i)?c:c+a9(i)}:ls(e))},la=function(e,i,n,r){return a6(oQ(e)?!i:!0===n?(n=0,!1):!r,function(){return oQ(e)?e[~~(Math.random()*e.length)]:(r=(n=n||1e-5)<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(i-e+.99*n))/n)
5*n*r)/r})},ll=function(e,i,n){return a6(n,function(n){return e[~~i(n)]})},lu=function(e){return e.replace(o0,function(e){var i=e.indexOf("[")+1,n=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(o1);return la(i?n:+n[0],i?0:+n[1],+n[2]||1e-5)})},lc=function(e,i,n,r,s){var o=i-e,a=r-n;return a6(s,function(i){return n+((i-e)/o*a||0)})},ld=function(e,i,n){var r,s,o,a=e.labels,l=1e8;for(r in a)(s=a[r]-i)<0==!!n&&s&&l>(s=Math.abs(s))&&(o=r,l=s);return o},lh=function(e,i,n){var r,s,o,a=e.vars,l=a[i],u=ok,c=e._ctx;if(l)return r=a[i+"Params"],s=a.callbackScope||e,n&&ac.length&&aE(),c&&(ok=c),o=r?l.apply(s,r):l.call(s),ok=u,o},lf=function(e){return aF(e),e.scrollTrigger&&e.scrollTrigger.kill(!!oM),1>e.progress()&&lh(e,"onInterrupt"),e},lp=[],lm=function(e){if(e)if(e=!e.name&&e.default||e,oK()||e.headless){var i=e.name,n=oU(e),r=i&&!n&&e.init?function(){this._props=[]}:e,s={init:as,render:un,add:lW,kill:us,modifier:ur,rawVars:0},o={targetTest:0,get:0,getSetter:l7,aliases:{},register:0};if(lE(),e!==r){if(ah[i])return;aA(r,aA(aD(e,s),o)),aC(r.prototype,aC(s,aD(e,o))),ah[r.prop=i]=r,e.targetTest&&(am.push(r),au[i]=1),i=("css"===i?"CSS":i.charAt(0).toUpperCase()+i.substr(1))+"Plugin"}ar(i,r),e.register&&e.register(uS,r,ul)}else lp.push(e)},lg={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},lv=function(e,i,n){return(6*(e+=e<0?1:e>1?-1:0)<1?i+(n-i)*e*6:e<.5?n:3*e<2?i+(n-i)*(2/3-e)*6:i)*255+.5|0},ly=function(e,i,n){var r,s,o,a,l,u,c,d,h,f,p=e?oG(e)?[e>>16,e>>8&255,255&e]:0:lg.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),lg[e])p=lg[e];else if("#"===e.charAt(0)){if(e.length<6&&(r=e.charAt(1),e="#"+r+r+(s=e.charAt(2))+s+(o=e.charAt(3))+o+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e]}else if("hsl"===e.substr(0,3))if(p=f=e.match(o2),i){if(~e.indexOf("="))return p=e.match(o5),n&&p.length<4&&(p[3]=1),p}else a=p[0]%360/360,l=p[1]/100,s=(u=p[2]/100)<=.5?u*(l+1):u+l-u*l,r=2*u-s,p.length>3&&(p[3]*=1),p[0]=lv(a+1/3,r,s),p[1]=lv(a,r,s),p[2]=lv(a-1/3,r,s);else p=e.match(o2)||lg.transparent;p=p.map(Number)}return i&&!f&&(r=p[0]/255,u=((c=Math.max(r,s=p[1]/255,o=p[2]/255))+(d=Math.min(r,s,o)))/2,c===d?a=l=0:(h=c-d,l=u>.5?h/(2-c-d):h/(c+d),a=(c===r?(s-o)/h+6*(s<o):c===s?(o-r)/h+2:(r-s)/h+4)*60),p[0]=~~(a+.5),p[1]=~~(100*l+.5),p[2]=~~(100*u+.5)),n&&p.length<4&&(p[3]=1),p},lw=function(e){var i=[],n=[],r=-1;return e.split(lb).forEach(function(e){var s=e.match(o3)||[];i.push.apply(i,s),n.push(r+=s.length+1)}),i.c=n,i},l_=function(e,i,n){var r,s,o,a,l="",u=(e+l).match(lb),c=i?"hsla(":"rgba(",d=0;if(!u)return e;if(u=u.map(function(e){return(e=ly(e,i,1))&&c+(i?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(o=lw(e),(r=n.c).join(l)!==o.c.join(l)))for(a=(s=e.replace(lb,"1").split(o3)).length-1;d<a;d++)l+=s[d]+(~r.indexOf(d)?u.shift()||c+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!s)for(a=(s=e.split(lb)).length-1;d<a;d++)l+=s[d]+u[d];return l+s[a]},lb=function(){var e,i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in lg)i+="|"+e+"\\b";return RegExp(i+")","gi")}(),lS=/hsl[a]?\(/,lx=function(e){var i,n=e.join(" ");if(lb.lastIndex=0,lb.test(n))return i=lS.test(n),e[1]=l_(e[1],i),e[0]=l_(e[0],i,lw(e[1])),!0},lT=(ou=Date.now,oc=500,od=33,of=oh=ou(),op=1e3/240,om=1e3/240,og=[],ov=function e(i){var n,r,s,o,a=ou()-of,l=!0===i;if((a>oc||a<0)&&(oh+=a-od),of+=a,((n=(s=of-oh)-om)>0||l)&&(o=++oo.frame,oa=s-1e3*oo.time,oo.time=s/=1e3,om+=n+(n>=op?4:op-n),r=1),l||(on=or(e)),r)for(ol=0;ol<og.length;ol++)og[ol](s,oa,o,i)},oo={time:0,frame:0,tick:function(){ov(!0)},deltaRatio:function(e){return oa/(1e3/(e||60))},wake:function(){oL&&(!oA&&oK()&&(oC=(oO=oA=window).document||{},o7.gsap=uS,(oO.gsapVersions||(oO.gsapVersions=[])).push(uS.version),at(ae||oO.GreenSockGlobals||!oO.gsap&&oO||{}),lp.forEach(lm)),os="u">typeof requestAnimationFrame&&requestAnimationFrame,on&&oo.sleep(),or=os||function(e){return setTimeout(e,om-1e3*oo.time+1|0)},oR=1,ov(2))},sleep:function(){(os?cancelAnimationFrame:clearTimeout)(on),oR=0,or=as},lagSmoothing:function(e,i){od=Math.min(i||33,oc=e||1/0)},fps:function(e){op=1e3/(e||240),om=1e3*oo.time+op},add:function(e,i,n){var r=i?function(i,n,s,o){e(i,n,s,o),oo.remove(r)}:e;return oo.remove(e),og[n?"unshift":"push"](r),lE(),r},remove:function(e,i){~(i=og.indexOf(e))&&og.splice(i,1)&&ol>=i&&ol--},_listeners:og}),lE=function(){return!oR&&lT.wake()},lM={},lk=/^[\d.\-M][\d.\-,\s]/,lP=/["']/g,lO=function(e){for(var i,n,r,s={},o=e.substr(1,e.length-3).split(":"),a=o[0],l=1,u=o.length;l<u;l++)n=o[l],i=l!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,i),s[a]=isNaN(r)?r.replace(lP,"").trim():+r,a=n.substr(i+1).trim();return s},lA=function(e){var i=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",
vendor: 29,725 bytes, line 5
5i);return e.substring(i,~r&&r<n?e.indexOf(")",n+1):n)},lC=function(e){var i=(e+"").split("("),n=lM[i[0]];return n&&i.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[lO(i[1])]:lA(e).split(",").map(aP)):lM._CE&&lk.test(e)?lM._CE("",e):n},lL=function(e){return function(i){return 1-e(1-i)}},lD=function(e,i){return e&&(oU(e)?e:lM[e]||lC(e))||i},lI=function(e,i,n,r){void 0===n&&(n=function(e){return 1-i(1-e)}),void 0===r&&(r=function(e){return e<.5?i(2*e)/2:1-i((1-e)*2)/2});var s,o={easeIn:i,easeOut:n,easeInOut:r};return a_(e,function(e){for(var i in lM[e]=o7[e]=o,lM[s=e.toLowerCase()]=n,o)lM[s+("easeIn"===i?".in":"easeOut"===i?".out":".inOut")]=lM[e+"."+i]=o[i]}),o},lR=function(e){return function(i){return i<.5?(1-e(1-2*i))/2:.5+e((i-.5)*2)/2}},l$=function e(i,n,r){var s=n>=1?n:1,o=(r||(i?.3:.45))/(n<1?n:1),a=o/oF*(Math.asin(1/s)||0),l=function(e){return 1===e?1:s*Math.pow(2,-10*e)*oB((e-a)*o)+1},u="out"===i?l:"in"===i?function(e){return 1-l(1-e)}:lR(l);return o=oF/o,u.config=function(n,r){return e(i,n,r)},u},lz=function e(i,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},s="out"===i?r:"in"===i?function(e){return 1-r(1-e)}:lR(r);return s.config=function(n){return e(i,n)},s};a_("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,i){var n=i<5?i+1:i;lI(e+",Power"+(n-1),i?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow((1-e)*2,n)/2})}),lM.Linear.easeNone=lM.none=lM.Linear.easeIn,lI("Elastic",l$("in"),l$("out"),l$()),lH=2*(lV=1/2.75),lB=2.5*lV,lI("Bounce",function(e){return 1-lq(1-e)},lq=function(e){return e<lV?7.5625*e*e:e<lH?7.5625*Math.pow(e-1.5/2.75,2)+.75:e<lB?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*Math.pow(e-2.625/2.75,2)+.984375}),lI("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),lI("Circ",function(e){return-(oV(1-e*e)-1)}),lI("Sine",function(e){return 1===e?1:-oH(e*oN)+1}),lI("Back",lz("in"),lz("out"),lz()),lM.SteppedEase=lM.steps=o7.SteppedEase={config:function(e,i){void 0===e&&(e=1);var n=1/e,r=e+ +!i,s=+!!i,o=.99999999;return function(e){return((r*a8(0,o,e)|0)+s)*n}}},oz.ease=lM["quad.out"],a_("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return ag+=e+","+e+"Params,"});var lF=function(e,i){this.id=oj++,e._gsap=this,this.target=e,this.harness=i,this.get=i?i.get:aw,this.set=i?i.getSetter:l7},lN=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,a1(this,+e.duration,1,1),this.data=e.data,ok&&(this._ctx=ok,ok.data.push(this)),oR||lT.wake()}var i=e.prototype;return i.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},i.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},i.totalDuration=function(e){return arguments.length?(this._dirty=0,a1(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},i.totalTime=function(e,i){if(lE(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(aG(this,e),!n._dp||n.parent||aY(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:-((n.totalDuration()-n._tTime)/n._ts))&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&aW(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!i||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),ak(this,e,i)),this},i.time=function(e,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+aH(this))%(this._dur+this._rDelay)||(e?this._dur:0),i):this._time},i.totalProgress=function(e,i){return arguments.length?this.totalTime(this.totalDuration()*e,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},i.progress=function(e,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-e:e)+aH(this),i):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},i.iteration=function(e,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,i):this._repeat?aB(this._tTime,n)+1:1},i.timeScale=function(e,i){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?aq(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(a8(-Math.abs(this._delay),this.totalDuration(),n),!1!==i),aU(this),aj(this)},i.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(lE(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},i.startTime=function(e){if(arguments.length){this._start=aS(e);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&aW(i,this,this._start-this._delay),this}return this._start},i.endTime=function(e){return this._start+(oX(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},i.rawTime=function(e){var i=this.parent||this._dp;return i?e&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?aq(i.rawTime(e),this):this._tTime:this._tTime},i.revert=function(e){void 0===e&&(e=al);var i=oM;return oM=e,aM(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),oM=i,this},i.globalTime=function(e){for(var i=this,n=arguments.length?e:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},i.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,a2(this)):-2===this._repeat?1/0:this._repeat},i.repeatDelay=function(e){if(arguments.length){var i=this._time;return this._rDelay=e,a2(this),i?this.time(i):this}return this._rDelay},i.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},i.seek=function(e,i){return this.totalTime(a3(this,e),oX(i))},i.restart=function(e,i){return this.play().totalTime(e?-this._delay:0,oX(i)),this._dur||(this._zTime=-1e-8),this},i.play=function(e,i){return null!=e&&this.seek(e,i),this.reversed(!1).paused(!1)},i.reverse=function(e,i){return null!=e&&this.seek(e||this.totalDuration(),i),this.reversed(!0).paused(!1)},i.pause=function(e,i){return null!=e&&this.seek(e,i),this.paused(!0)},i.resume=function(){return this.paused(!1)},i.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},i.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},i.isActive=function(){var e,i=this.parent||this._dp,n=this._start;return!!(!i||this._ts&&this._initted&&i.isActive()&&(e=i.rawTime(!0))>=n&&e<this.endTime(!0)-1e-8)},i.eventCallback=function(e,i,n){var r=this.vars;return arguments.length>1?(i?(r[e]=i,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=i)):delete r[e],this):r[e]},i.then=function(e){var i=this,n=i._prom;return new Promise(function(r){var s=oU(e)?e:aO,o=function(){var e=i.then;i.then=null,n&&n(),oU(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=e),r(s),i.then=e};i._initted&&1===i.totalProgress()&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},i.kill=function(){lf(this)},e}();aA(lN.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var lj=function(e){function i(i,n){var r;return void 0===i&&(i={}),(r=e.call(this,i)||this).labels={},r.smoothChildTiming=!!i.smoothChildTiming,r.autoRemoveChildren=!!i.autoRemoveChildren,r._sort=oX(i.sortChildren),oP&&aW(i.parent||oP,ot(r),n),i.reversed&&r.reverse(),i.paused&&r.paused(!0),i.scrollTrigger&&aX(ot(r),i.scrollTrigger),r}oi(i,e);var n=i.prototype;return n.to=function(e,i,n){return a4(0,arguments,this),this},n.from=function(e,i,n){return a4(1,arguments,this),this},n.fromTo=function(e,i,n,r){return a4(2,arguments,this),this},n.set=function(e,i,n){return i.duration=0,i.parent=this,aI(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new l3(e,i,a3(this,n),1),this},n.call=function(e,i,n){return aW(this,l3.delayedCall(0,e,i),n)},n.staggerTo=function(e,i,n,r,s,o,a){return n.duration=i,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=a,n.parent=this,new l3(e,n,a3(this,s)),this},n.staggerFrom=function(e,i,n,r,s,o,a){return n.runBackwards=1,aI(n).immediateRender=oX(n.immediateRender),this.staggerTo(e,i,n,r,s,o,a)},n.staggerFromTo=function(e,i,n,r,s,o,a,l){return r.startAt=n,aI(r).immediateRender=oX(r.immediateRender),this.staggerTo(e,i,r,s,o,a,l)},n.render=function(e,i,n){var r,s,o,a,l,u,c,d,h,f,p,m,g=this._time,v=this._dirty?this.totalDuration():this._tDur,y=this._dur,w=e<=0?0:aS(e),_=this._zTime<0!=e<0&&(this._initted||!y);if(this!==oP&&w>v&&e>=0&&(w=v),w!==this._tTime||n||_){if(g!==this._time&&y&&(w+=this._time-g,e+=this._time-g),r=w,h=this._start,u=!(d=this._ts),_&&(y||(g=this._zTime),(e||!i)&&(this._zTime=e)),this._repeat){if(p=this._yoyo,l=y+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*l+e,i,n);if(r=aS(w%l),w===v?(a=this._repeat,r=y):((a=~~(f=aS(w/l)))&&a===f&&(r=y,a--),r>y&&(r=y)),f=aB(this._tTime,l),!g&&this._tTime&&f!==a&&this._tTime-f*l-this._dur<=0&&(f=a),p&&1&a&&(r=y-r,m=1),a!==f&&!this._lock){var b=p&&1&f,S=b===(p&&1&a);if(a<f&&(b=!b),g=b?0:w%y?y:w,this._lock=1,this.render(g||(m?0:aS(a*l)),i,!y)._lock=0,this._tTime=w,!i&&this.parent&&lh(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,f=a),g&&g!==this._time||!this._ts!==u||this.vars.onRepeat&&!this.parent&&!this._act||(y=this._dur,v=this._tDur,S&&(this._lock=2,g=b?y:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!u))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=a0(this,aS(g),aS(r)))&&(w-=r-(r=c._start)),this._tTime=w,this._time=r,this._act=!!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,g=0),!g&&w&&y&&!i&&!f&&(lh(this,"onStart"),this._tTime!==w))return this;if(r>=g&&e>=0)for(s=this._first;s;){if(o=s._next,(s._act||r>=s._start)&&s._ts&&c!==s){if(s.parent!==this)return this.render(e,i,n);if(s.render(s._ts>0?(r-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(r-s._start)*s._ts,i,n),r!==this._time||!this._ts&&!u){c=0,o&&(w+=this._zTime=-1e-8);break}}s=o}else{s=this._last;for(var x=e<0?e:r;s;){if(o=s._prev,(s._act||x<=s._end)&&s._ts&&c!==s){if(s.parent!==this)return this.render(e,i,n);if(s.render(s._ts>0?(x-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(x-s._start)*s._ts,i,n||oM&&aM(s)),r!==this._time||!this._ts&&!u){c=0,o&&(w+=this._zTime=x?-1e-8:1e-8);break}}s=o}}if(c&&!i&&(this.pause(),c.render(r>=g?0:-1e-8)._zTime=r>=g?1:-1,this._ts))return this._start=h,aU(this),this.render(e,i,n);this._onUpdate&&!i&&lh(this,"onUpdate",!0),(w===v&&this._tTime>=this.totalDuration()||!w&&g)&&(h===this._start||Math.abs(d)!==Math.abs(this._ts))&&!this._lock&&((e||!y)&&(w===v&&this._ts>0||!w&&this._ts<0)&&aF(this,1),i||e<0&&!g||!w&&!g&&v||(lh(this,w===v&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w<v&&this.timeScale()>0)&&this._prom()))}return this},n.add=function(e,i){var n=this;if(oG(i)||(i=a3(this,i,e)),!(e instanceof lN)){if(oQ(e))return e.forEach(function(e){return n.add(e,i)}),this;if(oq(e))return this.addLabel(e,i);if(!oU(e))return this;e=l3.delayedCall(0,e)}return this!==e?aW(this,e,i):this},n.getChildren=function(e,i,n,r){void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===n&&(n=!0),void 0===r&&(r=-1e8);for(var s=[],o=this._first;o;)o._start>=r&&(o instanceof l3?i&&s.push(o):(n&&s.push(o),e&&s.push.apply(s,o.getChildren(!0,i,n)))),o=o._next;return s},n.getById=function(e){for(var i=this.getChildren(1,1,1),n=i.length;n--;)if(i[n].vars.id===e)return i[n]},n.remove=function(e){return oq(e)?this.removeLabel(e):oU(e)?this.killTweensOf(e):(e.parent===this&&az(this,e),e===this._recent&&(this._recent=this._last),aN(this))},n.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=aS(lT.time-(this._ts>0?i/this._ts:-((this.totalDuration()-i)/this._ts)))),e.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,i){return this.labels[e]=a3(this,i),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,i,n){var r=l3.delayedCall(0,i||as,n);return r.data="isPause",this._hasPause=1,aW(this,r,a3(this,e))},n.removePause=function(e){var i=this._first;for(e=a3(this,e);i;)i._start===e&&"isPause"===i.data&&aF(i),i=i._next},n.killTweensOf=function(e,i,n){for(var r=this.getTweensOf(e,n),s=r.length;s--;)lU!==r[s]&&r[s].kill(e,i);return this},n.getTweensOf=function(e,i){for(var n,r=[],s=lt(e),o=this._first,a=oG(i);o;)o instanceof l3?aT(o._targets,s)&&(a?(!lU||o._initted&&o._ts)&&o.globalTime(0)<=i&&o.globalTime(o.totalDuration())>i:!i||o.isActive())&&r.push(o):(n=o.getTweensOf(s,i)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(e,i){i=i||{};var n,r=this,s=a3(r,e),o=i,a=o.startAt,l=o.onStart,u=o.onStartParams,c=o.immediateRender,d=l3.to(r,aA({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(a&&"time"in a?a.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!n){var e=i.duration||Math.abs((s-(a&&"time"in a?a.time:r._time))/r.timeScale());d._dur!==e&&a1(d,e,0,1).render(d._time,!0,!0),n=1}l&&l.apply(d,u||[])}},i));return c?d.render(0):d},n.tweenFromTo=function(e,i,n){return this.tweenTo(i,aA({startAt:{time:a3(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),ld(this,a3(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),ld(this,a3(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(e,i,n){void 0===n&&(n=0);var r,s=this._first,o=this.labels;for(e=aS(e);s;)s._start>=n&&(s._start+=e,s._end+=e),s=s._next;if(i)for(r in o)o[r]>=n&&(o[r]+=e);return aN(this)},n.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return e.prototype.invalidate.call(this,i)},n.clear=function(e){void 0===e&&(e=!0);for(var i,n=this._first;n;)i=n._next,this.remove(n),n=i;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),aN(this)},n.totalDuration=function(e){var i,n,r,s=0,o=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-e:e));if(this._dirty){for(r=this.parent;o;)i=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&this._sort&&o._ts&&!this._lock?(this._lock=1,aW(this,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(s-=n,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=aS(n/this._ts),this._time-=n,this._tTime-=n),this.shiftChildren(-n,!1,-Infinity),a=0),o._end>s&&o._ts&&(s=o._end),o=i;a1(this,this===oP&&this._time>s?this._time:s,1,1),this._dirty=0}return this._tDur},i.updateRoot=function(e){if(oP._ts&&(ak(oP,aq(e,oP)),oD=lT.frame),lT.frame>=ap){ap+=o$.autoSleep||120;var i=oP._first;if((!i||!i._ts)&&o$.autoSleep&&lT._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||lT.sleep()}}},i}(lN);aA(lj.prototype,{_lock:0,_hasPause:0,_forcing:0});var lV,lH,lB,lq,lU,lG,lY=function(e,i,n,r,s,o,a){var l,u,c,d,h,f,p,m,g=new ul(this._pt,e,i,0,1,ui,null,s),v=0,y=0;for(g.b=n,g.e=r,n+="",r+="",(p=~r.indexOf("random("))&&(r=lu(r)),o&&(o(m=[n,r],e,i),n=m[0],r=m[1]),u=n.match(o4)||[];l=o4.exec(r);)d=l[0],h=r.substring(v,l.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),d!==u[y++]&&(f=parseFloat(u[y-1])||0,g._pt={_next:g._pt,p:h||1===y?h:",",s:f,c:"="===d.charAt(1)?ax(f,d)-f:parseFloat(d)-f,m:c&&c<4?Math.round:0},v=o4.lastIndex);return g.c=v<r.length?r.substring(v,r.length):"",g.fp=a,(o6.test(r)||p)&&(g.e=0),this._pt=g,g},lW=function(e,i,n,r,s,o,a,l,u,c){oU(r)&&(r=r(s||0,e,o));var d,h=e[i],f="get"!==n?n:oU(h)?u?e[i.indexOf("set")||!oU(e["get"+i.substr(3)])?i:"get"+i.substr(3)](u):e[i]():h,p=oU(h)?u?l8:l6:l4;if(oq(r)&&(~r.indexOf("random(")&&(r=lu(r)),"="===r.charAt(1)&&((d=ax(f,r)+(a9(f)||0))||0===d)&&(r=d)),!c||f!==r||lG)return isNaN(f*r)||""===r?(h||i in e||ai(i,r),lY.call(this,e,i,f,r,p,l||o$.stringFilter,u)):(d=new ul(this._pt,e,i,+f||0,r-(f||0),"boolean"==typeof h?ut:ue,0,p),u&&(d.fp=u),a&&d.modifier(a,this,e),this._pt=d)},lX=function(e,i,n,r,s){if(oU(e)&&(e=l1(e,s,i,n,r)),!oW(e)||e.style&&e.nodeType||oQ(e)||oZ(e))return oq(e)?l1(e,s,i,n,r):e;var o,a={};for(o in e)a[o]=l1(e[o],s,i,n,r);return a},lK=function(e,i,n,r,s,o){var a,l,u,c;if(ah[e]&&!1!==(a=new ah[e]).init(s,a.rawVars?i[e]:lX(i[e],r,s,o,n),n,r,o)&&(n._pt=l=new ul(n._pt,s,e,0,1,a.render,a,0,a.priority),n!==oI))for(u=n._ptLookup[n._targets.indexOf(s)],c=a._props.length;c--;)u[a._props[c]]=l;return a},lJ=function e(i,n,r){var s,o,a,l,u,c,d,h,f,p,m,g,v,y=i.vars,w=y.ease,_=y.startAt,b=y.immediateRender,S=y.lazy,x=y.onUpdate,T=y.runBackwards,E=y.yoyoEase,M=y.keyframes,k=y.autoRevert,P=i._dur,O=i._startAt,A=i._targets,C=i.parent,L=C&&"nested"===C.data?C.vars.targets:A,D="auto"===i._overwrite&&!oE,I=i.timeline,R=y.easeReverse||E;if(!I||M&&w||(w="none"),i._ease=lD(w,oz.ease),i._rEase=R&&(lD(R)||i._ease),i._from=!I&&!!y.runBackwards,i._from&&(i.ratio=1),!I||M&&!y.stagger){if(g=(h=A[0]?ay(A[0]).harness:0)&&y[h.prop],s=aD(y,au),O&&(O._zTime<0&&O.progress(1),n<0&&T&&b&&!k?O.render(-1,!0):O.revert(T&&P?aa:ao),O._lazy=0),_){if(aF(i._startAt=l3.set(A,aA({data:"isStart",overwrite:!1,parent:C,immediateRender:!0,lazy:!O&&oX(S),startAt:null,delay:0,onUpdate:x&&function(){return lh(i,"onUpdate")},stagger:0},_))),i._startAt._dp=0,i._startAt._sat=i,n<0&&(oM||!b&&!k)&&i._startAt.revert(aa),b&&P&&n<=0&&r<=0){n&&(i._zTime=n);return}}else if(T&&P&&!O)if(n&&(b=!1),a=aA({overwrite:!1,data:"isFromStart",lazy:b&&!O&&oX(S),immediateRender:b,stagger:0,parent:C},s),g&&(a[h.prop]=g),aF(i._startAt=l3.set(A,a)),i._startAt._dp=0,i._startAt._sat=i,n<0&&(oM?i._startAt.revert(aa):i._startAt.render(-1,!0)),i._zTime=n,b){if(!n)return}else e(i._startAt,1e-8,1e-8);for(o=0,i._pt=i._ptCache=0,S=P&&oX(S)||S&&!P;o<A.length;o++){if(d=(u=A[o])._gsap||av(A)[o]._gsap,i._ptLookup[o]=p={},ad[d.id]&&ac.length&&aE(),m=L===A?o:L.indexOf(u),h&&!1!==(f=new h).init(u,g||s,i,m,L)&&(i._pt=l=new ul(i._pt,u,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(e){p[e]=l}),f.priority&&(c=1)),!h||g)for(a in s)ah[a]&&(f=lK(a,s,i,m,u,L))?f.priority&&(c=1):p[a]=l=lW.call(i,u,a,"get",s[a],m,L,0,y.stringFilter);i._op&&i._op[o]&&i.kill(u,i._op[o]),D&&i._pt&&(lU=i,oP.killTweensOf(u,p,i.globalTime(n)),v=!i.parent,lU=0),i._pt&&S&&(ad[d.id]=1)}c&&ua(i),i._onInit&&i._onInit(i)}i._onUpdate=x,i._initted=(!i._op||i._pt)&&!v,M&&n<=0&&I.render(1e8,!0,!0)},lZ=function(e,i,n,r,s,o,a,l){var u,c,d,h,f=(e._pt&&e._ptCache||(e._ptCache={}))[i];if(!f)for(f=e._ptCache[i]=[],d=e._ptLookup,h=e._targets.length;h--;){if((u=d[h][i])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==i&&u.fp!==i;)u=u._next;if(!u)return lG=1,e.vars[i]="+=0",lJ(e,a),lG=0,l?an(i+" not eligible for reset. Try splitting into individual properties"):1;f.push(u)}for(h=f.length;h--;)(u=(c=f[h])._pt||c).s=(r||0===r)&&!s?r:u.s+(r||0)+o*u.c,u.c=n-u.s,c.e&&(c.e=ab(n)+a9(c.e)),c.b&&(c.b=u.s+a9(c.b))},lQ=function(e,i){var n,r,s,o,a=e[0]?ay(e[0]).harness:0,l=a&&a.aliases;if(!l)return i;for(r in n=aC({},i),l)if(r in n)for(s=(o=l[r].split(",")).length;s--;)n[o[s]]=n[r];return n},l0=function(e,i,n,r){var s,o,a=i.ease||r||"power1.inOut";if(oQ(i))o=n[e]||(n[e]=[]),i.forEach(function(e,n){return o.push({t:n/(i.length-1)*100,v:e,e:a})});else for(s in i)o=n[s]||(n[s]=[]),"ease"===s||o.push({t:parseFloat(e),v:i[s],e:a})},l1=function(e,i,n,r,s){return oU(e)?e.call(i,n,r,s):oq(e)&&~e.indexOf("random(")?lu(e):e},l2=ag+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",l5={};a_(l2+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return l5[e]=1});var l3=function(e){function i(i,n,r,s){"number"==typeof n&&(r.duration=n,n=r,r=null);var o,a,l,u,c,d,h,f,p=e.call(this,s?n:aI(n))||this,m=p.vars,g=m.duration,v=m.delay,y=m.immediateRender,w=m.stagger,_=m.overwrite,b=m.keyframes,S=m.defaults,x=m.scrollTrigger,T=n.parent||oP,E=(oQ(i)||oZ(i)?oG(i[0]):"length"in n)?[i]:lt(i);if(p._targets=E.length?av(E):an("GSAP target "+i+" not found. https://gsap.com",!o$.nullTargetWarn)||[],p._ptLookup=[],p._overwrite=_,b||w||oJ(g)||oJ(v)){var M=(n=p.vars).easeReverse||n.yoyoEase;if((o=p.timeline=new lj({data:"nested",defaults:S||{},targets:T&&"nested"===T.data?T.vars.targets:E})).kill(),o.parent=o._dp=ot(p),o._start=0,w||oJ(g)||oJ(v)){if(u=E.length,h=w&&lr(w),oW(w))for(c in w)~l2.indexOf(c)&&(f||(f={}),f[c]=w[c]);for(a=0;a<u;a++)(l=aD(n,l5)).stagger=0,M&&(l.easeReverse=M),f&&aC(l,f),d=E[a],l.duration=+l1(g,ot(p),a,d,E),l.delay=(+l1(v,ot(p),a,d,E)||0)-p._delay,!w&&1===u&&l.delay&&(p._delay=v=l.delay,p._start+=v,l.delay=0),o.to(d,l,h?h(a,d,E):0),o._ease=lM.none;o.duration()?g=v=0:p.timeline=0}else if(b){aI(aA(o.vars.defaults,{ease:"none"})),o._ease=lD(b.ease||n.ease||"none");var k,P,O,A=0;if(oQ(b))b.forEach(function(e){return o.to(E,e,">")}),o.duration();else{for(c in l={},b)"ease"===c||"easeEach"===c||l0(c,b[c],l,b.easeEach);for(c in l)for(a=0,k=l[c].sort(function(e,i){return e.t-i.t}),A=0;a<k.length;a++)(O={ease:(P=k[a]).e,duration:(P.t-(a?k[a-1].t:0))/100*g})[c]=P.v,o.to(E,O,A),A+=O.duration;o.duration()<g&&o.to({},{duration:g-o.duration()})}}g||p.duration(g=o.duration())}else p.timeline=0;return!0!==_||oE||(lU=ot(p),oP.killTweensOf(E),lU=0),aW(T,ot(p),r),n.reversed&&p.reverse(),n.paused&&p.paused(!0),(y||!g&&!b&&p._start===aS(T._time)&&oX(y)&&function e(i){return!i||i._ts&&e(i.parent)}(ot(p))&&"nested"!==T.data)&&(p._tTime=-1e-8,p.render(Math.max(0,-v)||0)),x&&aX(ot(p),x),p}oi(i,e);var n=i.prototype;return n.render=function(e,i,n){var r,s,o,a,l,u,c,d,h=this._time,f=this._tDur,p=this._dur,m=e<0,g=e>f-1e-8&&!m?f:e<1e-8?0:e;if(p){if(g!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(r=g,d=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*a+e,i,n);if(r=aS(g%a),g===f?(o=this._repeat,r=p):(o=~~(l=aS(g/a)))&&o===l?(r=p,o--):r>p&&(r=p),(u=this._yoyo&&1&o)&&(r=p-r),l=aB(this._tTime,a),r===h&&!n&&this._initted&&o===l)return this._tTime=g,this;o!==l&&this.vars.repeatRefresh&&!u&&!this._lock&&r!==a&&this._initted&&(this._lock=n=1,this.render(aS(a*o),!0).invalidate()._lock=0)}if(!this._initted){if(aK(this,m?e:r,n,i,g))return this._tTime=0,this;if(h!==this._time&&!(n&&this.vars.repeatRefresh&&o!==l))return this;if(p!==this._dur)return this.render(e,i,n)}if(this._rEase){var v=r<h;if(v!==this._inv){var y=v?h:p-h;this._inv=v,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=h,this._invRecip=y?(v?-1:1)/y:0,this._invScale=v?-this.ratio:1-this.ratio,this._invEase=v?this._rEase:this._ease}this.ratio=c=this._invRatio+this._invScale*this._invEase((r-this._invTime)*this._invRecip)}else this.ratio=c=this._ease(r/p);if(this._from&&(this.ratio=c=1-c),this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),!h&&g&&!i&&!l&&(lh(this,"onStart"),this._tTime!==g))return this;for(s=this._pt;s;)s.r(c,s.d),s=s._next;d&&d.render(e<0?e:d._dur*d._ease(r/this._dur),i,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!i&&(m&&aV(this,e,i,n),lh(this,"onUpdate")),this._repeat&&o!==l&&this.vars.onRepeat&&!i&&this.parent&&lh(this,"onRepeat"),(g===this._tDur||!g)&&this._tTime===g&&(m&&!this._onUpdate&&aV(this,e,!0,!0),(e||!p)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&aF(this,1),!i&&!(m&&!h)&&(g||h||u)&&(lh(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}}else aQ(this,e,i,n);return this},n.targets=function(){return this._targets},n.invalidate=function(i){return i&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),e.prototype.invalidate.call(this,i)},n.resetTo=function(e,i,n,r,s){oR||lT.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||lJ(this,o),lZ(this,e,i,n,r,this._ease(o/this._dur),o,s))?this.resetTo(e,i,n,r,1):(aG(this,0),this.parent||a$(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,i){if(void 0===i&&(i="all"),!e&&(!i||"all"===i))return this._lazy=this._pt=0,this.parent?lf(this):this.scrollTrigger&&this.scrollTrigger.kill(!!oM),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,i,lU&&!0!==lU.vars.overwrite)._first||lf(this),this.parent&&n!==this.timeline.totalDuration()&&a1(this,this._dur*this.timeline._tDur/n,0,1),this}var r,s,o,a,l,u,c,d=this._targets,h=e?lt(e):d,f=this._ptLookup,p=this._pt;if((!i||"all"===i)&&aR(d,h))return"all"===i&&(this._pt=0),lf(this);for(r=this._op=this._op||[],"all"!==i&&(oq(i)&&(l={},a_(i,function(e){return l[e]=1}),i=l),i=lQ(d,i)),c=d.length;c--;)if(~h.indexOf(d[c]))for(l in s=f[c],"all"===i?(r[c]=i,a=s,o={}):(o=r[c]=r[c]||{},a=i),a)(u=s&&s[l])&&("kill"in u.d&&!0!==u.d.kill(l)||az(this,u,"_pt"),delete s[l]),"all"!==o&&(o[l]=1);return this._initted&&!this._pt&&p&&lf(this),this},i.to=function(e,n){return new i(e,n,arguments[2])},i.from=function(e,i){return a4(1,arguments)},i.delayedCall=function(e,n,r,s){return new i(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:s})},i.fromTo=function(e,i,n){return a4(2,arguments)},i.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new i(e,n)},i.killTweensOf=function(e,i,n){return oP.killTweensOf(e,i,n)},i}(lN);aA(l3.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),a_("staggerTo,staggerFrom,staggerFromTo",function(e){l3[e]=function(){var i=new lj,n=a7.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),i[e].apply(i,n)}});var l4=function(e,i,n){return e[i]=n},l6=function(e,i,n){return e[i](n)},l8=function(e,i,n,r){return e[i](r.fp,n)},l9=function(e,i,n){return e.setAttribute(i,n)},l7=function(e,i){return oU(e[i])?l6:oY(e[i])&&e.setAttribute?l9:l4},ue=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e6)/1e6,i)},ut=function(e,i){return i.set(i.t,i.p,!!(i.s+i.c*e),i)},ui=function(e,i){var n=i._pt,r="";if(!e&&i.b)r=i.b;else if(1===e&&i.e)r=i.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=i.c}i.set(i.t,i.p,r,i)},un=function(e,i){for(var n=i._pt;n;)n.r(e,n.d),n=n._next},ur=function(e,i,n,r){for(var s,o=this._pt;o;)s=o._next,o.p===r&&o.modifier(e,i,n),o=s},us=function(e){for(var i,n,r=this._pt;r;)n=r._next,(r.p!==e||r.op)&&r.op!==e?r.dep||(i=1):az(this,r,"_pt"),r=n;return!i},uo=function(e,i,n,r){r.mSet(e,i,r.m.call(r.tween,n,r.mt),r)},ua=function(e){for(var i,n,r,s,o=e._pt;o;){for(i=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:s)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:s=o,o=i}e._pt=r},ul=function(){function e(e,i,n,r,s,o,a,l,u){this.t=i,this.s=r,this.c=s,this.p=n,this.r=o||ue,this.d=a||this,this.set=l||l4,this.pr=u||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,i,n){this.mSet=this.mSet||this.set,this.set=uo,this.m=e,this.mt=n,this.tween=i},e}();a_(ag+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(e){return au[e]=1}),o7.TweenMax=o7.TweenLite=l3,o7.TimelineLite=o7.TimelineMax=lj,oP=new lj({sortChildren:!1,defaults:oz,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),o$.stringFilter=lx;var uu=[],uc={},ud=[],uh=0,uf=0,up=function(e){return(uc[e]||ud).map(function(e){return e()})},um=function(){var e=Date.now(),i=[];e-uh>2&&(up("matchMediaInit"),uu.forEach(function(e){var n,r,s,o,a=e.queries,l=e.conditions;for(r in a)(n=oO.matchMedia(a[r]).matches)&&(s=1),n!==l[r]&&(l[r]=n,o=1);o&&(e.revert(),s&&i.push(e))}),up("matchMediaRevert"),i.forEach(function(e){return e.onMatch(e,function(i){return e.add(null,i)})}),uh=e,up("matchMedia"))},ug=function(){function e(e,i){this.selector=i&&li(i),this.data=[],this._r=[],this.isReverted=!1,this.id=uf++,e&&this.add(e)}var i=e.prototype;return i.add=function(e,i,n){oU(e)&&(n=i,i=e,e=oU);var r=this,s=function(){var e,s=ok,o=r.selector;return s&&s!==r&&s.data.push(r),n&&(r.selector=li(n)),ok=r,e=i.apply(r,arguments),oU(e)&&r._r.push(e),ok=s,r.selector=o,r.isReverted=!1,e};return r.last=s,e===oU?s(r,function(e){return r.add(null,e)}):e?r[e]=s:s},i.ignore=function(e){var i=ok;ok=null,e(this),ok=i},i.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof e?i.push.apply(i,n.getTweens()):n instanceof l3&&!(n.parent&&"nested"===n.parent.data)&&i.push(n)}),i},i.clear=function(){this._r.length=this.data.length=0},i.kill=function(e,i){var n=this;if(e){for(var r,s=n.getTweens(),o=n.data.length;o--;)"isFlip"===(r=n.data[o]).data&&(r.revert(),r.getChildren(!0,!0,!1).forEac
5h(function(e){return s.splice(s.indexOf(e),1)}));for(s.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,i){return i.g-e.g||-1/0}).forEach(function(i){return i.t.revert(e)}),o=n.data.length;o--;)(r=n.data[o])instanceof lj?"nested"!==r.data&&(r.scrollTrigger&&r.scrollTrigger.revert(),r.kill()):r instanceof l3||!r.revert||r.revert(e);n._r.forEach(function(i){return i(e,n)}),n.isReverted=!0}else this.data.forEach(function(e){return e.kill&&e.kill()});if(this.clear(),i)for(var a=uu.length;a--;)uu[a].id===this.id&&uu.splice(a,1)},i.revert=function(e){this.kill(e||{})},e}(),uv=function(){function e(e){this.contexts=[],this.scope=e,ok&&ok.data.push(this)}var i=e.prototype;return i.add=function(e,i,n){oW(e)||(e={matches:e});var r,s,o,a=new ug(0,n||this.scope),l=a.conditions={};for(s in ok&&!a.selector&&(a.selector=ok.selector),this.contexts.push(a),i=a.add("onMatch",i),a.queries=e,e)"all"===s?o=1:(r=oO.matchMedia(e[s]))&&(0>uu.indexOf(a)&&uu.push(a),(l[s]=r.matches)&&(o=1),r.addListener?r.addListener(um):r.addEventListener("change",um));return o&&i(a,function(e){return a.add(null,e)}),this},i.revert=function(e){this.kill(e||{})}
vendor: 7,220 bytes, line 5
5,i.kill=function(e){this.contexts.forEach(function(i){return i.kill(e,!0)})},e}(),uy={registerPlugin:function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];i.forEach(function(e){return lm(e)})},timeline:function(e){return new lj(e)},getTweensOf:function(e,i){return oP.getTweensOf(e,i)},getProperty:function(e,i,n,r){oq(e)&&(e=lt(e)[0]);var s=ay(e||{}).get,o=n?aO:aP;return"native"===n&&(n=""),e?i?o((ah[i]&&ah[i].get||s)(e,i,n,r)):function(i,n,r){return o((ah[i]&&ah[i].get||s)(e,i,n,r))}:e},quickSetter:function(e,i,n){if((e=lt(e)).length>1){var r=e.map(function(e){return uS.quickSetter(e,i,n)}),s=r.length;return function(e){for(var i=s;i--;)r[i](e)}}e=e[0]||{};var o=ah[i],a=ay(e),l=a.harness&&(a.harness.aliases||{})[i]||i,u=o?function(i){var r=new o;oI._pt=0,r.init(e,n?i+n:i,oI,0,[e]),r.render(1,r),oI._pt&&un(1,oI)}:a.set(e,l);return o?u:function(i){return u(e,l,n?i+n:i,a,1)}},quickTo:function(e,i,n){var r,s=uS.to(e,aA(((r={})[i]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(e,n,r){return s.resetTo(i,e,n,r)};return o.tween=s,o},isTweening:function(e){return oP.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=lD(e.ease,oz.ease)),aL(oz,e||{})},config:function(e){return aL(o$,e||{})},registerEffect:function(e){var i=e.name,n=e.effect,r=e.plugins,s=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(e){return e&&!ah[e]&&!o7[e]&&an(i+" effect requires "+e+" plugin.")}),af[i]=function(e,i,r){return n(lt(e),aA(i||{},s),r)},o&&(lj.prototype[i]=function(e,n,r){return this.add(af[i](e,oW(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,i){lM[e]=lD(i)},parseEase:function(e,i){return arguments.length?lD(e,i):lM},getById:function(e){return oP.getById(e)},exportRoot:function(e,i){void 0===e&&(e={});var n,r,s=new lj(e);for(s.smoothChildTiming=oX(e.smoothChildTiming),oP.remove(s),s._dp=0,s._time=s._tTime=oP._time,n=oP._first;n;)r=n._next,(i||!(!n._dur&&n instanceof l3&&n.vars.onComplete===n._targets[0]))&&aW(s,n,n._start-n._delay),n=r;return aW(oP,s,0),s},context:function(e,i){return e?new ug(e,i):ok},matchMedia:function(e){return new uv(e)},matchMediaRefresh:function(){return uu.forEach(function(e){var i,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,i=1);i&&e.revert()})||um()},addEventListener:function(e,i){var n=uc[e]||(uc[e]=[]);~n.indexOf(i)||n.push(i)},removeEventListener:function(e,i){var n=uc[e],r=n&&n.indexOf(i);r>=0&&n.splice(r,1)},utils:{wrap:function e(i,n,r){var s=n-i;return oQ(i)?ll(i,e(0,i.length),n):a6(r,function(e){return(s+(e-i)%s)%s+i})},wrapYoyo:function e(i,n,r){var s=n-i,o=2*s;return oQ(i)?ll(i,e(0,i.length-1),n):a6(r,function(e){return e=(o+(e-i)%o)%o||0,i+(e>s?o-e:e)})},distribute:lr,random:la,snap:lo,normalize:function(e,i,n){return lc(e,i,0,1,n)},getUnit:a9,clamp:function(e,i,n){return a6(n,function(n){return a8(e,i,n)})},splitColor:ly,toArray:lt,selector:li,mapRange:lc,pipe:function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return function(e){return i.reduce(function(e,i){return i(e)},e)}},unitize:function(e,i){return function(n){return e(parseFloat(n))+(i||a9(n))}},interpolate:function e(i,n,r,s){var o=isNaN(i+n)?0:function(e){return(1-e)*i+e*n};if(!o){var a,l,u,c,d,h=oq(i),f={};if(!0===r&&(s=1)&&(r=null),h)i={p:i},n={p:n};else if(oQ(i)&&!oQ(n)){for(l=1,u=[],d=(c=i.length)-2;l<c;l++)u.push(e(i[l-1],i[l]));c--,o=function(e){var i=Math.min(d,~~(e*=c));return u[i](e-i)},r=n}else s||(i=aC(oQ(i)?[]:{},i));if(!u){for(a in n)lW.call(f,i,a,"get",n[a]);o=function(e){return un(e,f)||(h?i.p:i)}}}return a6(r,o)},shuffle:ln},install:at,effects:af,ticker:lT,updateRoot:lj.updateRoot,plugins:ah,globalTimeline:oP,core:{PropTween:ul,globals:ar,Tween:l3,Timeline:lj,Animation:lN,getCache:ay,_removeLinkedListItem:az,reverting:function(){return oM},context:function(e){return e&&ok&&(ok.data.push(e),e._ctx=ok),ok},suppressOverwrites:function(e){return oE=e}}};a_("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return uy[e]=l3[e]}),lT.add(lj.updateRoot),oI=uy.to({},{duration:0});var uw=function(e,i){for(var n=e._pt;n&&n.p!==i&&n.op!==i&&n.fp!==i;)n=n._next;return n},u_=function(e,i){var n,r,s,o=e._targets;for(n in i)for(r=o.length;r--;)(s=e._ptLookup[r][n])&&(s=s.d)&&(s._pt&&(s=uw(s,n)),s&&s.modifier&&s.modifier(i[n],e,o[r],n))},ub=function(e,i){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,s;if(oq(n)&&(r={},a_(n,function(e){return r[e]=1}),n=r),i){for(s in r={},n)r[s]=i(n[s]);n=r}u_(e,n)}}}},uS=uy.registerPlugin({name:"attr",init:function(e,i,n,r,s){var o,a,l;for(o in this.tween=n,i)l=e.getAttribute(o)||"",(a=this.add(e,"setAttribute",(l||0)+"",i[o],r,s,0,0,o)).op=o,a.b=l,this._props.push(o)},render:function(e,i){for(var n=i._pt;n;)oM?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,i){for(var n=i.length;n--;)this.add(e,n,e[n]||0,i[n],0,0,0,0,0,1)}},ub("roundProps",ls),ub("modifiers"),ub("snap",lo))||uy;l3.version=lj.version=uS.version="3.15.0",oL=1,oK()&&lE(),lM.Power0,lM.Power1,lM.Power2,lM.Power3,lM.Power4,lM.Linear,lM.Quad,lM.Cubic,lM.Quart,lM.Quint,lM.Strong,lM.Elastic,lM.Back,lM.SteppedEase,lM.Bounce,lM.Sine,lM.Expo,lM.Circ;var ux,uT,uE,uM,uk,uP,uO,uA={},uC=180/Math.PI,uL=Math.PI/180,uD=Math.atan2,uI=/([A-Z])/g,uR=/(left|right|width|margin|padding|x)/i,u$=/[\s,\(]\S/,uz={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},uF=function(e,i){return i.set(i.t,i.p,Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},uN=function(e,i){return i.set(i.t,i.p,1===e?i.e:Math.round((i.s+i.c*e)*1e4)/1e4+i.u,i)},uj=function(e,i){return i.set(i.t,i.p,e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},uV=function(e,i){return i.set(i.t,i.p,1===e?i.e:e?Math.round((i.s+i.c*e)*1e4)/1e4+i.u:i.b,i)},uH=function(e,i){var n=i.s+i.c*e;i.set(i.t,i.p,~~(n+(n<0?-.5:.5))+i.u,i)},uB=function(e,i){return i.set(i.t,i.p,e?i.e:i.b,i)},uq=function(e,i){return i.set(i.t,i.p,1!==e?i.b:i.e,i)},uU=function(e,i,n){return e.style[i]=n},uG=function(e,i,n){return e.style.setProperty(i,n)},uY=function(e,i,n){return e._gsap[i]=n},uW=function(e,i,n){return e._gsap.scaleX=e._gsap.scaleY=n},uX=function(e,i,n,r,s){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(s,o)},uK=function(e,i,n,r,s){var o=e._gsap;o[i]=n,o.renderTransform(s,o)},uJ="transform",uZ=uJ+"Origin",uQ=function e(i,n){var r=this,s=this.target,o=s.style,a=s._gsap;if(i in uA&&o){if(this.tfm=this.tfm||{},"transform"===i)return uz.transform.split(",").forEach(function(i){return e.call(r,i,n)});if(~(i=uz[i]||i).indexOf(",")?i.split(",").forEach(function(e){return r.tfm[e]=ca(s,e)}):this.tfm[i]=a.x?a[i]:ca(s,i),i===uZ&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(uJ)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(uZ,n,"")),i=uJ}(o||n)&&this.props.push(i,n,o[i])},u0=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},u1=function(){var e,i,n=this.props,r=this.target,s=r.style,o=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?s[n[e]]=n[e+2]:s.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(uI,"-$1").toLowerCase());if(this.tfm){for(i in this.tfm)o[i]=this.tfm[i];
5o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=uP())&&e.isStart||s[uJ]||(u0(s),o.zOrigin&&s[uZ]&&(s[uZ]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},u2=function(e,i){var n={target:e,props:[],revert:u1,save:uQ};return e._gsap||uS.core.getCache(e),i&&e.style&&e.nodeType&&i.split(",").forEach(function(e){return n.save(e)}),n},u5=function(e,i){var n=ux.createElementNS?ux.createElementNS((i||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ux.createElement(e);return n&&n.style?n:ux.createElement(e)},u3=function e(i,n,r){var s=getComputedStyle(i);return s[n]||s.getPropertyValue(n.replace(uI,"-$1").toLowerCase())||s.getPropertyValue(n)||!r&&e(i,u6(n)||n,1)||""},u4="O,Moz,ms,Ms,Webkit".split(","),u6=function(e,i,n){var r=(i||uM).style,s=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(u4[s]+e in r););return s<0?null:(3===s?"ms":s>=0?u4[s]:"")+e},u8=function(){"u">typeof window&&window.document&&(uT=(ux=window.document).documentElement,uM=u5("div")||{style:{}},u5("div"),uZ=(uJ=u6(uJ))+"Origin",uM.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",uO=!!u6("perspective"),uP=uS.core.reverting,uE=1)},u9=function(e){var i,n=e.ownerSVGElement,r=u5("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=e.cloneNode(!0);s.style.display="block",r.appendChild(s),uT.appendChild(r);try{i=s.getBBox()}catch(e){}return r.removeChild(s),uT.removeChild(r),i},u7=function(e,i){for(var n=i.length;n--;)if(e.hasAttribute(i[n]))return e.getAttribute(i[n])},ce=function(e){var i,n;try{i=e.getBBox()}catch(r){i=u9(e),n=1}return i&&(i.width||i.height)||n||(i=u9(e)),!i||i.width||i.x||i.y?i:{x:+u7(e,["x","cx","x1"])||0,y:+u7(e,["y","cy","y1"])||0,width:0,height:0}},ct=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ce(e))},ci=function(e,i){if(i){var n,r=e.style;i in uA&&i!==uZ&&(i=uJ),r.removeProperty?(("ms"===(n=i.substr(0,2))||"webkit"===i.substr(0,6))&&(i="-"+i),r.removeProperty("--"===n?i:i.replace(uI,"-$1").toLowerCase())):r.removeAttribute(i)}},cn=function(e,i,n,r,s,o){var a=new ul(e._pt,i,n,0,1,o?uq:uB);return e._pt=a,a.b=r,a.e=s,e._props.push(n),a},cr={deg:1,rad:1,turn:1},cs={grid:1,flex:1},co=function e(i,n,r,s){var o,a,l,u,c=parseFloat(r)||0,d=(r+"").trim().substr((c+"").length)||"px",h=uM.style,f=uR.test(n),p="svg"===i.tagName.toLowerCase(),m=(p?"client":"offset")+(f?"Width":"Height"),g="px"===s,v="%"===s;if(s===d||!c||cr[s]||cr[d])return c;if("px"===d||g||(c=e(i,n,r,"px")),u=i.getCTM&&ct(i),(v||"%"===d)&&(uA[n]||~n.indexOf("adius")))return o=u?i.getBBox()[f?"width":"height"]:i[m],ab(v?c/o*100:c/100*o);if(h[f?"width":"height"]=100+(g?d:s),a="rem"!==s&&~n.indexOf("adius")||"em"===s&&i.appendChild&&!p?i:i.parentNode,u&&(a=(i.ownerSVGElement||{}).parentNode),a&&a!==ux&&a.appendChild||(a=ux.body),(l=a._gsap)&&v&&l.width&&f&&l.time===lT.time&&!l.uncache)return ab(c/l.width*100);if(v&&("height"===n||"width"===n)){var y=i.style[n];i.style[n]=100+s,o=i[m],y?i.style[n]=y:ci(i,n)}else(v||"%"===d)&&!cs[u3(a,"display")]&&(h.position=u3(i,"position")),a===i&&(h.position="static"),a.appendChild(uM),o=uM[m],a.removeChild(uM),h.position="absolute";return f&&v&&((l=ay(a)).time=lT.time,l.width=a[m]),ab(g?o*c/100:o&&c?100/o*c:0)},ca=function(e,i,n,r){var s;return uE||u8(),i in uz&&"transform"!==i&&~(i=uz[i]).indexOf(",")&&(i=i.split(",")[0]),uA[i]&&"transform"!==i?(s=cw(e,r),s="transformOrigin"!==i?s[i]:s.svg?s.origin:c_(u3(e,uZ))+" "+s.zOrigin+"px"):(!(s=e.style[i])||"auto"===s||r||~(s+"").indexOf("calc("))&&(s=ch[i]&&ch[i](e,i,n)||u3(e,i)||aw(e,i)||+("opacity"===i)),n&&!~(s+"").trim().indexOf(" ")?co(e,i,s,n)+n:s},cl=function(e,i,n,r){if(!n||"none"===n){var s=u6(i,e,1),o=s&&u3(e,s,1);o&&o!==n?(i=s,n=o):"borderColor"===i&&(n=u3(e,"borderTopColor"))}var a,l,u,c,d,h,f,p,m,g,v,y=new ul(this._pt,e.style,i,0,1,ui),w=0,_=0;if(y.b=n,y.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=u3(e,r.substring(4,r.indexOf(")")))),"auto"===r&&(h=e.style[i],e.style[i]=r,r=u3(e,i)||r,h?e.style[i]=h:ci(e,i)),lx(a=[n,r]),n=a[0],r=a[1],u=n.match(o3)||[],(r.match(o3)||[]).length){for(;l=o3.exec(r);)f=l[0],m=r.substring(w,l.index),d?d=(d+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(d=1),f!==(h=u[_++]||"")&&(c=parseFloat(h)||0,v=h.substr((c+"").length),"="===f.charAt(1)&&(f=ax(c,f)+v),p=parseFloat(f),g=f.
vendor: 4,074 bytes, line 5
5substr((p+"").length),w=o3.lastIndex-g.length,g||(g=g||o$.units[i]||v,w===r.length&&(r+=g,y.e+=g)),v!==g&&(c=co(e,i,h,g)||0),y._pt={_next:y._pt,p:m||1===_?m:",",s:c,c:p-c,m:d&&d<4||"zIndex"===i?Math.round:0});y.c=w<r.length?r.substring(w,r.length):""}else y.r="display"===i&&"none"===r?uq:uB;return o6.test(r)&&(y.e=0),this._pt=y,y},cu={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cc=function(e){var i=e.split(" "),n=i[0],r=i[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),i[0]=cu[n]||n,i[1]=cu[r]||r,i.join(" ")},cd=function(e,i){if(i.tween&&i.tween._time===i.tween._dur){var n,r,s,o=i.t,a=o.style,l=i.u,u=o._gsap;if("all"===l||!0===l)a.cssText="",r=1;else for(s=(l=l.split(",")).length;--s>-1;)uA[n=l[s]]&&(r=1,n="transformOrigin"===n?uZ:uJ),ci(o,n);r&&(ci(o,uJ),u&&(u.svg&&o.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",cw(o,1),u.uncache=1,u0(a)))}},ch={clearProps:function(e,i,n,r,s){if("isFromStart"!==s.data){var o=e._pt=new ul(e._pt,i,n,0,0,cd);return o.u=r,o.pr=-10,o.tween=s,e._props.push(n),1}}},cf=[1,0,0,1,0,0],cp={},cm=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},cg=function(e){var i=u3(e,uJ);return cm(i)?cf:i.substr(7).match(o5).map(ab)},cv=function(e,i){var n,r,s,o,a=e._gsap||ay(e),l=e.style,u=cg(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(s=e.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?cf:u:(u!==cf||e.offsetParent||e===uT||a.svg||(s=l.display,l.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(o=1,r=e.nextElementSibling,uT.appendChild(e)),u=cg(e),s?l.display=s:ci(e,"display"),o&&(r?n.insertBefore(e,r):n?n.appendChild(e):uT.removeChild(e))),i&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},cy=function(e,i,n,r,s,o){var a,l,u,c,d=e._gsap,h=s||cv(e,!0),f=d.xOrigin||0,p=d.yOrigin||0,m=d.xOffset||0,g=d.yOffset||0,v=h[0],y=h[1],w=h[2],_=h[3],b=h[4],S=h[5],x=i.split(" "),T=parseFloat(x[0])||0,E=parseFloat(x[1])||0;n?h!==cf&&(l=v*_-y*w)&&(u=_/l*T+-w/l*E+(w*S-_*b)/l,c=-y/l*T+v/l*E-(v*S-y*b)/l,T=u,E=c):(T=(a=ce(e)).x+(~x[0].indexOf("%")?T/100*a.width:T),E=a.y+(~(x[1]||x[0]).indexOf("%")?E/100*a.height:E)),r||!1!==r&&d.smooth?(d.xOffset=m+((b=T-f)*v+(S=E-p)*w)-b,d.yOffset=g+(b*y+S*_)-S):d.xOffset=d.yOffset=0,d.xOrigin=T,d.yOrigin=E,d.smooth=!!r,d.origin=i,d.originIsAbsolute=!!n,e.style[uZ]="0px 0px",o&&(cn(o,d,"xOrigin",f,T),cn(o,d,"yOrigin",p,E),cn(o,d,"xOffset",m,d.xOffset),cn(o,d,"yOffset",g,d.yOffset)),e.setAttribute("data-svg-origin",T+" "+E)},cw=function(e,i){var n=e._gsap||new lF(e);if("x"in n&&!i&&!n.uncache)return n;var r,s,o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b,S,x,T,E,M,k,P,O,A,C,L,D,I,R,$=e.style,z=n.scaleX<0,F=getComputedStyle(e),N=u3(e,uZ)||"0";return r=s=o=u=c=d=h=f=p=0,a=l=1,n.svg=!!(e.getCTM&&ct(e)),F.translate&&(("none"!==F.translate||"none"!==F.scale||"none"!==F.rotate)&&($[uJ]=("none"!==F.translate?"translate3d("+(F.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==F.rotate?"rotate("+F.rotate+") ":"")+("none"!==F.scale?"scale("+F.scale.split(" ").join(",")+") ":"")+("none"!==F[uJ]?F[uJ]:"")),$.scale=$.rotate=$.translate="none"),v=cv(e,n.svg),n.svg&&(n.uncache?(P=e.getBBox(),N=n.xOrigin-P.x+"px "+(n.yOrigin-P.y)+"px",k=""):k=!i&&e.getAttribute("data-svg-origin"),cy(e,k||N,!!k||n.originIsAbsolute,!1!==n.smooth,v)),m=n.xOrigin||0,g=n.yOrigin||0,v!==cf&&(b=v[0],S=v[1],x=v[2],T=v[3],r=E=v[4],s=M=v[5],6===v.length?(a=Math.sqrt(b*b+S*S),l=Math.sqrt(T*T+x*x),u=b||S?uD(S,b)*uC:0,(h=x||T?uD(x,T)*uC+u:0)&&(l*=Math.abs(Math.cos(h*uL))),n.svg&&(r-=m-(m*b+g*x),s-=g-(m*S+g*T))):(R=v[6],D=v[7],A=v[8],C=v[9],L=v[10],I=v[11],r=v[12],s=v[13],o=v[14],c=(y=uD(R,L))*uC,y&&(k=E*(w=Math.cos(-y))+A*(_=Math.sin(-y)),P=M*w+C*_,O=R*w+L*_,A=-(E*_)+A*w,C=-(M*_)+C*w,L=-(R*_)+L*w,I=-(D*_)+I*w,E=k,M=P,R=O),d=(y=uD(-x,L))*uC,y&&(k=b*(w=Math.cos(-y))-A*(_=Math.sin(-y)),P=S*w-C*_,O=x*w-L*_,I=T*_+I*w,b=k,S=P,x=O),u=(y=uD(S,b))*uC,y&&(k=b*(w=Math.cos(y))+S*(_=Math.sin(y)),P=E*w+M*_,S=S*w-b*_,M=M*w-E*_,b=k,E=P),c&&Math.abs(c)+Math.abs(u)>
5359.9&&(c=u=0,d=180-d),a=ab(Math.sqrt(b*b+S*S+x*x)),l=ab(Math.sqrt(M*M+R*R)),h=Math.abs(y=uD(E,M))>2e-4?y*uC:0,p=I?1/(I<0?-I:I):0),n.svg&&(k=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!cm(u3(e,uJ)),k&&e.setAttribute("transform",k))),Math.abs(h)>90&&270>Math.abs(h)&&(z?(a*=-1,h+=u<=0?180:-180,u+=u<=0?180:-180):(l*=-1,h+=h<=0?180:-180)),i=i||n.uncache,n.x=r-((n.xPercent=r&&(!i&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+"px",n.y=s-((n.yPercent=s&&(!i&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-s)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+"px",n.z=o+"px",n.scaleX=ab(a),n.scaleY=ab(l),n.rotation=ab(u)+"deg",n.rotationX=ab(c)+"deg",n.rotationY=ab(d)+"deg",n.skewX=h+"deg",n.skewY=f+"deg",n.transformPerspective=p+"px",(n.zOrigin=parseFloat(N.split(" ")[2])||!i&&n.zOrigin||0)&&($[uZ]=c_(N)),n.xOffset=n.yOffset=0,n.force3D=o$.force3D,n.renderTransform=n.svg?cE:uO?cT:cS,n.uncache=0,n},c_=function(e){return(e=e.split(" "))[0]+" "+e[1]},cb=function(e,i,n){var r=a9(i);return ab(parseFloat(i)+parseFloat(co(e,"x",n+"px",r)))+r},cS=function(e,i){i.z="0px",i.rotationY=i.rotationX="0deg",i.force3D=0,cT(e,i)},cx="0deg",cT=function(e,i){var n=i||this,r=n.xPercent,s=n.yPercent,o=n.x,a=n.y,l=n.z,u=n.rotation,c=n.rotationY,d=n.rotationX,h=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,g=n.transformPerspective,v=n.force3D,y=n.target,w=n.zOrigin,_="",b="auto"===v&&e&&1!==e||!0===v;if(w&&(d!==cx||c!==cx)){var S,x=parseFloat(c)*uL,T=Math.sin(x),E=Math.cos(x);o=cb(y,o,-(T*(S=Math.cos(x=parseFloat(d)*uL))*w)),a=cb(y,a,-(-Math.sin(x)*w)),l=cb(y,l,-(E*S*w)+w)}"0px"!==g&&(_+="perspective("+g+") "),(r||s)&&(_+="translate("+r+"%, "+s+"%) "),(b||"0px"!==o||"0px"!==a||"0px"!==l)&&(_+="0px"!==l||b?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+") "),u!==cx&&(_+="rotate("+u+") "),c!==cx&&(_+="rotateY("+c+") "),d!==cx&&(_+="rotateX("+d+") "),(h!==cx||f!==cx)&&(_+="skew("+h+", "+f+") "),(1!==p||1!==m)&&(_+="scale("+p+", "+m+") "),y.style[uJ]=_||"translate(0, 0)"},cE=function(e,i){var n,r,s,o,a,l=i||this,u=l.xPercent,c=l.yPercent,d=l.x,h=l.y,f=l.rotation,p=l.skewX,m=l.skewY,g=l.scaleX,v=l.scaleY,y=l.target,w=l.xOrigin,_=l.yOrigin,b=l.xOffset,S=l.yOffset,x=l.forceCSS,T=parseFloat(d),E=parseFloat(h);f=parseFloat(f),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),f+=m),f||p?(f*=uL,p*=uL,n=Math.cos(f)*g,r=Math.sin(f)*g,s=-(Math.sin(f-p)*v),o=Math.cos(f-p)*v,p&&(m*=uL,s*=a=Math.sqrt(1+(a=Math.tan(p-m))*a),o*=a,m&&(n*=a=Math.sqrt(1+(a=Math.tan(m))*a),r*=a)),n=ab(n),r=ab(r),s=ab(s),o=ab(o)):(n=g,o=v,r=s=0),(T&&!~(d+"").indexOf("px")||E&&!~(h+"").indexOf("px"))&&(T=co(y,"x",d,"px"),E=co(y,"y",h,"px")),(w||_||b||S)&&(T=ab(T+w-(w*n+_*s)+b),E=ab(E+_-(w*r+_*o)+S)),(u||c)&&(T=ab(T+u/100*(a=y.getBBox()).width),E=ab(E+c/100*a.height)),a="matrix("+n+","+r+","+s+","+o+","+T+","+E+")",y.setAttribute("transform",a),x&&(y.style[uJ]=a)},cM=function(e,i,n,r,s){var o,a,l=oq(s),u=parseFloat(s)*(l&&~s.indexOf("rad")?uC:1)-r,c=r+u+"deg";return l&&("short"===(o=s.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===o&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===o&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),e._pt=a=new ul(e._pt,i,n,r,u,uN),a.e=c,a.u="deg",e._props.push(n),a},ck=function(e,i){for(var n in i)e[n]=i[n];return e},cP=function(e,i,n){var r,s,o,a,l,u,c,d=ck({},n._gsap),h=n.style;for(s in d.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),h[uJ]=i,r=cw(n,1),ci(n,uJ),n.setAttribute("transform",o)):(o=getComputedStyle(n)[uJ],h[uJ]=i,r=cw(n,1),h[uJ]=o),uA)(o=d[s])!==(a=r[s])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(s)&&(l=a9(o)!==(c=a9(a))?co(n,s,o,c):parseFloat(o),u=parseFloat(a),e._pt=new ul(e._pt,r,s,l,u-l,uF),e._pt.u=c||0,e._props.push(s));ck(r,d)};a_("padding,margin,Width,Radius",function(e,i){var n="Right",r="Bottom",s="Left",o=(i<3?["Top",n,r,s]:["Top"+s,"Top"+n,r+n,r+s]).map(function(n){return i<2?e+n:"border"+n+e});ch[i>1?"border"+e:e]=function(e,i,n,r,s){var a,l;if(arguments.length<4)return 5===(l=(a=o.map(function(i){return ca(e,i,n)})).join(" ")).split(a[0]).length?a[0]:l;a=(r+"").split(" "),l={},o.forEach(function(e,i){return l[e]=a[i]=a[i]||a[(i-1)/2|0]}),e.init(i,l,s)}});var cO={name:"css",register:u8,targetTest:function(e){return e.style&&e.nodeType},init:function(e,i,n,r,s){var o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b,S,x=this._props,T=e.style,E=n.vars.startAt;for(h in uE||u8(),this.styles=this.styles||u2(e),b=this.styles.props,this.tween=n,i)if("autoRound"!==h&&(a=i[h],!(ah[h]&&lK(h,i,n,r,e,s)))){if(c=typeof a,d=ch[h],"function"===c&&(c=typeof(a=a.call(n,r,e,s))),"string"===c&&~a.indexOf("random(")&&(a=lu(a)),d)d(this,e,h,a,n)&&(_=1);else if("--"===h.substr(0,2))o=(getComputedStyle(e).getPropertyValue(h)+"").trim(),a+="",lb.lastIndex=0,!lb.test(o)&&(f=a9(o),(p=a9(a
vendor: 1,914 bytes, line 5
5))?f!==p&&(o=co(e,h,o,p)+p):f&&(a+=f)),this.add(T,"setProperty",o,a,r,s,0,0,h),x.push(h),b.push(h,0,T[h]);else if("undefined"!==c){if(E&&h in E?(oq(o="function"==typeof E[h]?E[h].call(n,r,e,s):E[h])&&~o.indexOf("random(")&&(o=lu(o)),a9(o+"")||"auto"===o||(o+=o$.units[h]||a9(ca(e,h))||""),"="===(o+"").charAt(1)&&(o=ca(e,h))):o=ca(e,h),u=parseFloat(o),(m="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),h in uz&&("autoAlpha"===h&&(1===u&&"hidden"===ca(e,"visibility")&&l&&(u=0),b.push("visibility",0,T.visibility),cn(this,T,"visibility",u?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==h&&"transform"!==h&&~(h=uz[h]).indexOf(",")&&(h=h.split(",")[0])),g=h in uA){if(this.styles.save(h),S=a,"string"===c&&"var(--"===a.substring(0,6)){if("calc("===(a=u3(e,a.substring(4,a.indexOf(")")))).substring(0,5)){var M=e.style.perspective;e.style.perspective=a,a=u3(e,"perspective"),M?e.style.perspective=M:ci(e,"perspective")}l=parseFloat(a)}if(v||((y=e._gsap).renderTransform&&!i.parseTransform||cw(e,i.parseTransform),w=!1!==i.smoothOrigin&&y.smooth,(v=this._pt=new ul(this._pt,T,uJ,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===h)this._pt=new ul(this._pt,y,"scaleY",y.scaleY,(m?ax(y.scaleY,m+l):l)-y.scaleY||0,uF),this._pt.u=0,x.push("scaleY",h),h+="X";else if("transformOrigin"===h){b.push(uZ,0,T[uZ]),a=cc(a),y.svg?cy(e,a,0,w,0,this):((p=parseFloat(a.split(" ")[2])||0)!==y.zOrigin&&cn(this,y,"zOrigin",y.zOrigin,p),cn(this,T,h,c_(o),c_(a)));continue}else if("svgOrigin"===h){cy(e,a,1,w,0,this);continue}else if(h in cp){cM(this,y,h,u,m?ax(u,m+a):a);continue}else if("smoothOrigin"===h){cn(this,y,"smooth",y.smooth,a);continue}else if("force3D"===h){y[h]=a;continue}else if("transform"===h){cP(this,a,e);continue}}else h in T||(h=u6(h)||h);if(g||(l||0===l)&&(u||0===u)&&!u$.test(a)&&h in T)f=(o+"").substr((u+"").length),l||(l=0),p=a9(a)||(h in o$.units?o$.units[h]:f),f!==p&&
5(u=co(e,h,o,p)),this._pt=new ul(this._pt,g?y:T,h,u,(m?ax(u,m+l):l)-u,!g&&("px"===p||"zIndex"===h)&&!1!==i.autoRound?uH:uF),this._pt.u=p||0,g&&S!==a?(this._pt.b=o,this._pt.e=S,this._pt.r=uV):f!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=uj);else if(h in T)cl.call(this,e,h,o,m?m+a:a);else if(h in e)this.add(e,h,o||e[h],m?m+a:a,r,s);else if("parseTransform"!==h){ai(h,a);continue}g||(h in T?b.push(h,0,T[h]):"function"==typeof e[h]?b.push(h,2,e[h]()):b.push(h,1,o||e[h])),x.push(h)}}_&&ua(this)},render:function(e,i){if(i.tween._time||!uP())for(var n=i._pt;n;)n.r(e,n.d),n=n._next;else i.styles.revert()},get:ca,aliases:uz,getSetter:function(e,i,n){var r=uz[i];return r&&0>r.indexOf(",")&&(i=r),i in uA&&i!==uZ&&(e._gsap.x||ca(e,"x"))?n&&uk===n?"scale"===i?uW:uY:(uk=n||{},"scale"===i?uX:uK):e.style&&!oY(e.style[i])?uU:~i.indexOf("-")?uG:l7(e,i)},core:{_removeProperty:ci,_getMatrix:cv}};uS.utils.checkPrefix=u6,uS.core.getStyleSaver=u2,c5=a_("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(c2="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){uA[e]=1}),a_(c2,function(e){o$.units[e]="deg",cp[e]=1}),uz[c5[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+c2,a_("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var i=e.split(":");uz[i[1]]=c5[i[0]]}),a_("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){o$.units[e]="px"}),uS.registerPlugin(cO);var cA=uS.registerPlugin(cO)||uS;cA.core.Tween;var cC=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,cL=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,cD=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,cI=/(^[#\.][a-z]|[a-y][a-z])/i,cR=Math.PI/180,c$=Math.sin,cz=Math.cos,cF=Math.abs,cN=Math.sqrt,cj=Math.atan2,cV=function(e){return"string"==typeof e},cH=function(e){return"number"==typeof e},cB=function(e){return Math.round(1e5*e)/1e5||0},cq=function(e){return e.closed=.001>Math.abs(e[0]-e[e.length-2])&&.001>Math.abs(e[1]-e[e.length-1])},cU=function(e,i,n){var r=e.length,s=~~(n*r);if(e[s]>i){for(;--s&&e[s]>i;);s<0&&(s=0)}else for(;e[++s]<i&&s<r;);return s<r?s:r-1};function cG(e){var i,n=0;for(e.reverse();n<e.length;n+=2)i=e[n],e[n]=e[n+1],e[n+1]=i;e.reversed=!e.reversed}var cY=function(e,i){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),s=[].slice.call(e.attributes),o=s.length;for(i=","+i+",";--o>-1;)n=s[o].nodeName.toLowerCase(),0>i.indexOf(","+n+",")&&r.setAttributeNS(null,n,s[o].nodeValue);return r},cW={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},cX=function(e,i){for(var n=i?i.split(","):[],r={},s=n.length;--s>-1;)r[n[s]]=+e.getAttribute(n[s])||0;return r};function cK(e,i){var n,r,s,o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b,S,x,T,E=e.tagName.toLowerCase();return"path"!==E&&e.getBBox?(l=cY(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),T=cX(e,cW[E]),"rect"===E?(o=T.rx,a=T.ry||o,r=T.x,s=T.y,h=T.width-2*o,f=T.height-2*a,o||a?(p=r+.44771525016900005*o,v=(g=(m=r+o)+h)+.552284749831*o,y=g+o,w=s+.44771525016900005*a,S=(b=(_=s+a)+f)+.552284749831*a,x=b+a,n="M"+y+","+_+" V"+b+" C"+[y,S,v,x,g,x,g-(g-m)/3,x,m+(g-m)/3,x,m,x,p,x,r,S,r,b,r,b-(b-_)/3,r,_+(b-_)/3,r,_,r,w,p,s,m,s,m+(g-m)/3,s,g-(g-m)/3,s,g,s,v,s,y,w,y,_].join(",")+"z"):n="M"+(r+h)+","+s+" v"+f+" h"+-h+" v"+-f+" h"+h+"z"):"circle"===E||"ellipse"===E?("circle"===E?c=.552284749831*(o=a=T.r):(o=T.rx,c=.552284749831*(a=T.ry)),r=T.cx,s=T.cy,u=.552284749831*o,n="M"+(r+o)+","+s+" C"+[r+o,s+c,r+u,s+a,r,s+a,r-u,s+a,r-o,s+c,r-o,s,r-o,s-c,r-u,s-a,r,s-a,r+u,s-a,r+o,s-c,r+o,s].join(",")+"z"):"line"===E?n="M"+T.x1+","+T.y1+" L"+T.x2+","+T.y2:("polyline"===E||"polygon"===E)&&(n="M"+(r=(d=(e.getAttribute("points")+"").match(cL)||[]).shift())+","+(s=d.shift())+" L"+d.join(","),"polygon"===E&&(n+=","+r+","+s+"z")),l.setAttribute("d",c0(l._gsRawPath=cQ(n))),i&&e.parentNode&&(e.parentNode.insertBefore(l,e),e.parentNode.removeChild(e)),l):e}function cJ(e,i,n){i=i||0,e.samples||(e.samples=[],e.lookup=[]);var r,s,o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b=~~e.resolution||12,S=1/b,x=n?i+6*n+1:e.length,T=e[i],E=e[i+1],M=i?i/6*b:0,k=e.samples,P=e.lookup,O=(i?e.minLength:1e8)||1e8,A=k[M+n*b-1],C=i?k[M-1]:0;for(k.length=P.length=0,s=i+2;s<x;s+=6){if(o=e[s+4]-T,a=e[s+2]-T,l=e[s]-T,d=e[s+5]-E,h=e[s+3]-E,f=e[s+1]-E,u=c=p=m=0,.01>cF(o)&&.01>cF(d)&&cF(l)+cF(f)<.01)e.length>8&&(e.splice(s,6),s-=6,x-=6);else for(r=1;r<=b;r++)g=1-(v=S*r),u=c-(c=(v*v*o+3*g*(v*a+g*l))*v),(w=cN((p=m-(m=(v*v*d+3*g*(v*h+g*f))*v))*p+u*u))<O&&(O=w),C+=w,k[M++]=C;T+=o,E+=d}if(A)for(A-=C;M<k.length;M++)k[M]+=A;if(k.length&&O){if(e.totalLength=_=k[k.length-1]||0,e.minLength=O,_/O<9999)for(r=0,w=y=0;r<_;r+=O)P[w++]=k[y]<r?++y:y}else e.totalLength=k[0]=0;return i?C-k[i/2-1]:C}function cZ(e,i){var n,r,s;for(s=n=r=0;s<e.length;s++)e[s].resolution=~~i||12,n+=cJ(e[s]),r+=e[s].length;return e.totalPoints=r,e.totalLength=n,e}function cQ(e){var i,n,r,s,o,a,l,u,c,d,h,f,p,m,g,v=(e+"").replace(cD,function(e){var i=+e;return i<1e-4&&i>-1e-4?0:i}).match(cC)||[],y=[],w=0,_=0,b=2/3,S=v.length,x=0,T="ERROR: malformed path: "+e,E=function(e,i,n,r){d=(n-e)/3,h=(r-i)/3,l.push(e+d,i+h,n-d,r-h,n,r)};if(!e||!isNaN(v[0])||isNaN(v[1]))return console.log(T),y;for(i=0;i<S;i++)if(p=o,isNaN(v[i])?a=(o=v[i].toUpperCase())!==v[i]:i--,r=+v[i+1],s=+v[i+2],a&&(r+=w,s+=_),i||(u=r,c=s),"M"===o)l&&(l.length<8?y.length-=1:x+=l.length,cq(l)),w=u=r,_=c=s,l=[r,s],y.push(l),i+=2,o="L";else if("C"===o)l||(l=[0,0]),a||(w=_=0),l.push(r,s,w+ +v[i+3],_+ +v[i+4],w+=+v[i+5],_+=+v[i+6]),i+=6;else if("S"===o)d=w,h=_,("C"===p||"S"===p)&&(d+=w-l[l.length-4],h+=_-l[l.length-3]),a||(w=_=0),l.push(d,h,r,s,w+=+v[i+3],_+=+v[i+4]),i+=4;else if("Q"===o)d=w+(r-w)*b,h=_+(s-_)*b,a||(w=_=0),w+=+v[i+3],_+=+v[i+4],l.push(d,h,w+(r-w)*b,_+(s-_)*b,w,_),i+=4;else if("T"===o)d=w-l[l.length-4],h=_-l[l.length-3],l.push(w+d,_+h,r+(w+1.5*d-r)*b,s+(_+1.5*h-s)*b,w=r,_=s),i+=2;else if("H"===o)E(w,_,w=r,_),i+=1;
5else if("V"===o)E(w,_,w,_=r+(a?_-w:0)),i+=1;else if("L"===o||"Z"===o)"Z"===o&&(r=u,s=c,l.closed=!0),("L"===o||cF(w-r)>.5||cF(_-s)>.5)&&(E(w,_,r,s),"L"===o&&(i+=2)),w=r,_=s;else if("A"===o){if(m=v[i+4],g=v[i+5],d=v[i+6],h=v[i+7],n=7,m.length>1&&(m.length<3?(h=d,d=g,n--):(h=g,d=m.substr(2),n-=2),g=m.charAt(1),m=m.charAt(0)),f=function(e,i,n,r,s,o,a,l,u){if(e!==l||i!==u){n=cF(n),r=cF(r);var c=s%360*cR,d=cz(c),h=c$(c),f=Math.PI,p=2*f,m=(e-l)/2,g=(i-u)/2,v=d*m+h*g,y=-h*m+d*g,w=v*v,_=y*y,b=w/(n*n)+_/(r*r);b>1&&(n=cN(b)*n,r=cN(b)*r);var S=n*n,x=r*r,T=(S*x-S*_-x*w)/(S*_+x*w);T<0&&(T=0);var E=(o===a?-1:1)*cN(T),M=n*y/r*E,k=-(r*v/n*E),P=(e+l)/2+(d*M-h*k),O=(i+u)/2+(h*M+d*k),A=(v-M)/n,C=(y-k)/r,L=(-v-M)/n,D=(-y-k)/r,I=A*A+C*C,R=(C<0?-1:1)*Math.acos(A/cN(I)),$=(A*D-C*L<0?-1:1)*Math.acos((A*L+C*D)/cN(I*(L*L+D*D)));isNaN($)&&($=f),!a&&$>0?$-=p:a&&$<0&&($+=p),R%=p;var z,F=Math.ceil(cF($%=p)/(p/4)),N=[],j=$/F,V=4/3*c$(j/2)/(1+cz(j/2)),H=d*n,B=h*n,q=-(h*r),U=d*r;for(z=0;z<F;z++)v=cz(s=R+z*j),y=c$(s),A=cz(s+=j),C=c$(s),N.push(v-V*y,y+V*v,A+V*C,C-V*A,A,C);for(z=0;z<N.length;z+=2)v=N[z],y=N[z+1],N[z]=v*H+y*q+P,N[z+1]=v*B+y*U+O;return N[z-2]=l,N[z-1]=u,N}}(w,_,+v[i+1],+v[i+2],+v[i+3],+m,+g,(a?w:0)+ +d,(a?_:0)+ +h),i+=n,f)for(n=0;n<f.length;n++)l.push(f[n]);w=l[l.length-2],_=l[l.length-1]}else console.log(T);return(i=l.length)<6?(y.pop(),i=0):cq(l),y.totalPoints=x+i,y}function c0(e){cH(e[0])&&(e=[e]);var i,n,r,s,o="",a=e.length;for(n=0;n<a;n++){for(o+="M"+cB((s=e[n])[0])+","+cB(s[1])+" C",i=s.length,r=2;r<i;r++)o+=cB(s[r++])+","+cB(s[r++])+" "+cB(s[r++])+","+cB(s[r++])+" "+cB(s[r++])+","+cB(s[r])+" ";s.closed&&(o+="z")}return o}function c1(){return(c1=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c2,c5,c3,c4,c6,c8,c9,c7,de=function(){return c3||"u">typeof window&&(c3=window.gsap)&&c3.registerPlugin&&c3},dt=function(e){return"function"==typeof e},di=Math.atan2,dn=Math.cos,dr=Math.sin,ds=Math.sqrt,da=Math.PI,dl=2*da,du=.3*da,dc=.7*da,dd=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,dh=/(^[#.][a-z]|[a-y][a-z])/i,df=/[achlmqstvz]/i,dp=function(e){return console&&console.warn(e)},dm=function(e){return Math.round(1e5*e)/1e5||0},dg=function(e){var i,n=e.length,r=0,s=0;for(i=0;i<n;i++)r+=e[i++],s+=e[i];return[r/(n/2),s/(n/2)]},dv=function(e){var i,n,r,s=e.length,o=e[0],a=o,l=e[1],u=l;for(r=6;r<s;r+=6)i=e[r],n=e[r+1],i>o?o=i:i<a&&(a=i),n>l?l=n:n<u&&(u=n);return e.centerX=(o+a)/2,e.centerY=(l+u)/2,e.size=(o-a)*(l-u)},dy=function(e,i){void 0===i&&(i=3);for(var n,r,s,o,a,l,u,c,d,h,f,p,m,g,v,y,w=e.length,_=e[0][0],b=_,S=e[0][1],x=S,T=1/i;--w>-1;)for(o=6,n=(a=e[w]).length;o<n;o+=6)for(d=a[o],h=a[o+1],f=a[o+2]-d,g=a[o+3]-h,p=a[o+4]-d,v=a[o+5]-h,m=a[o+6]-d,y=a[o+7]-h,l=i;--l>-1;)c=1-(u=T*l),r=(u*u*m+3*c*(u*p+c*f))*u+d,s=(u*u*y+3*c*(u*v+c*g))*u+h,r>_?_=r:r<b&&(b=r),s>S?S=s:s<x&&(x=s);return e.centerX=(_+b)/2,e.centerY=(S+x)/2,e.left=b,e.width=_-b,e.top=x,e.height=S-x,e.size=(_-b)*(S-x)},dw=function(e,i){return i.length-e.length},d_=function(e,i){var n=e.size||dv(e),r=i.size||dv(i);return Math.abs(r-n)<(n+r)/20?i.centerX-e.centerX||i.centerY-e.centerY:r-n},db=function(e,i){var n,r,s=e.slice(0),o=e.length,a=o-2;for(i|=0,n=0;n<o;n++)r=(n+i)%a,e[n++]=s[r],e[n]=s[r+1]},dS=function(e,i,n,r,s){var o,a,l,u,c=e.length,d=0,h=c-2;for(n*=6,a=0;a<c;a+=6)u=e[o=(a+n)%h]-(i[a]-r),d+=ds((l=e[o+1]-(i[a+1]-s))*l+u*u);return d},dx=function(e,i,n){var r,s,o,a=e.length,l=dg(e),u=dg(i),c=u[0]-l[0],d=u[1]-l[1],h=dS(e,i,0,c,d),f=0;for(o=6;o<a;o+=6)(s=dS(e,i,o/6,c,d))<h&&(h=s,f=o);if(n)for(cG(r=e.slice(0)),o=6;o<a;o+=6)(s=dS(r,i,o/6,c,d))<h&&(h=s,f=-o);return f/6},dT=function(e,i,n){for(var r,s,o,a,l,u,c=e.length,d=1e20,h=0,f=0;--c>-1;)for(l=0,u=(r=e[c]).length;l<u;l+=6)(a=ds((s=r[l]-i)*s+(o=r[l+1]-n)*o))<d&&(d=a,h=r[l],f=r[l+1]);return[h,f]},dE=function(e,i,n,r,s,o){var a,l,u,c,d=i.length,h=0,f=Math.min(e.size||dv(e),i[n].size||dv(i[n]))*r,p=1e20,m=e.centerX+s,g=e.centerY+o;for(a=n;a<d&&!((i[a].size||dv(i[a]))<f);a++)(c=ds((l=i[a].centerX-m)*l+(u=i[a].centerY-g)*u))<p&&(h=a,p=c);return c=i[h],i.splice(h,1),c},dM=function(e,i,n){void 0===n&&(n=1);
5for(var r,s,o,a,l,u,c,d,h,f=e[i],p=e[i+1],m=e[i+2],g=e[i+3],v=e[i+4],y=e[i+5],w=e[i+6],_=e[i+7];n-- >0;)s=f+(m-f)*(r=1-1/(n+2)),o=m+(v-m)*r,a=p+(g-p)*r,l=g+(y-g)*r,u=s+(o-s)*r,c=a+(l-a)*r,d=v+(w-v)*r,h=y+(_-y)*r,o+=(d-o)*r,l+=(h-l)*r,e.splice(i+2,4,m=dm(s),g=dm(a),v=dm(u),y=dm(c),w=dm(u+(o-u)*r),_=dm(c+(l-c)*r),dm(o),dm(l),dm(d),dm(h))},dk=function(e){for(var i,n=e.length,r=-1e20;n--;)e[n]>r&&(r=e[n],i=n);return i},dP=function(e,i){for(var n=[],r=[],s=e.length-2,o=0;o<s;o+=6)n.push(Math.pow(e[o]-e[o+6],2)+Math.pow(e[o+1]-e[o+7],2));for(;i--;)r[o=dk(n)]=s=(r[o]||0)+1,n[o]*=s/(s+1);for(o=n.length;o--;)r[o]&&dM(e,6*o,r[o])},dO=function(e,i){return i||cZ(e),Math.max(4,Math.round(e.totalLength/4))},dA=function(e){return e.slice(0).sort(dw)},dC=function(e){for(var i=e[0],n=e[1],r=2;r<e.length;r+=2)if(Math.abs(e[r]-i)>.01||Math.abs(e[r+1]-n)>.01)return!1;return!0},dL=function(e,i){var n,r,s,o,a,l=i=i||{},u=l.redraw,c=l.points,d=l.maxSegments,h=void 0===d?999:d,f=0,p=e,m=Array.isArray(c)?c:0;if(u=!1!==u)cZ(e);else for(e.totalPoints=0,r=e.length;r--;)e.totalPoints+=e[r].length;for(m?(p=dA(e),a=(m=dA(m))[0].totalLength/Math.round(m[0].length/6)):((!c||"auto"===c)&&(c=dO(e,u),u||(c-=Math.round(e.totalPoints/6))),c=Math.max(u?10:4,Math.min(999,c))),r=0;r<p.length;r++)s=p[r],n=Math.max(u?10:4,m?Math.round(m[r]?m[r].length/6:p[r].totalLength/a||0):Math.round((f/c+(u?s.totalLength/e.totalLength:s.length/e.totalPoints))*c)-f),r>=h||m&&(!m[r]||dC(m[r]))||(u?(o=function(e,i){1e-4>cF(e[0]-e[2])&&1e-4>cF(e[1]-e[3])&&(e=e.slice(2));var n,r,s,o,a,l,u,c,d,h,f,p,m,g,v,y=e.length-2,w=+e[0],_=+e[1],b=+e[2],S=+e[3],x=[w,_,w,_],T=b-w,E=S-_,M=e.nonSmooth||[],k=.001>Math.abs(e[y]-w)&&.001>Math.abs(e[y+1]-_);if(!y)return[w,_,w,_,w,_,w,_];for(k&&(e.push(b,S),b=w,S=_,w=e[y-2],_=e[y-1],e.unshift(w,_),y+=4,M=[0,0].concat(M)),i=i||0===i?+i:1,s=2;s<y;s+=2)if(n=w,r=_,w=b,_=S,b=+e[s+2],S=+e[s+3],w!==b||_!==S){if(o=T,a=E,T=b-w,E=S-_,M[s]){x.push(w-(w-n)/4,_-(_-r)/4,w,_,w+(b-w)/4,_+(S-_)/4);continue}l=cN(o*o+a*a),u=cN(T*T+E*E),c=cN(Math.pow(T/u+o/l,2)+Math.pow(E/u+a/l,2)),d=(l+u)*i*.25/c,h=w-(w-n)*(l?d/l:0),f=w+(b-w)*(u?d/u:0),p=w-(h+((f-h)*(3*l/(l+u)+.5)/4||0)),m=_-(_-r)*(l?d/l:0),g=_+(S-_)*(u?d/u:0),v=_-(m+((g-m)*(3*l/(l+u)+.5)/4||0)),x.push(cB(h+p),cB(m+v),cB(w),cB(_),cB(f+p),cB(g+v))}return w!==b||_!==S||x.length<4?x.push(cB(b),cB(S),cB(b),cB(S)):x.length-=2,2===x.length?x.push(w,_,w,_,w,_):k&&(x.splice(0,6),x.length-=6),x.closed=k,x}(function(e,i){e.samples||cJ(e);for(var n,r,s,o,a,l,u,c,d,h,f,p,m,g,v=e.samples,y=e.lookup,w=e.resolution,_=e.totalLength,b=e.slice(0,2),S=[],x=e.length-4,T=6,E=0,M=0;T<x;T+=6)Math.abs(cj(e[T+1]-e[T-1],e[T]-e[T-2])-cj(e[T+3]-e[T+1],e[T+2]-e[T]))>.2&&S.push(T);if(S.push(e.length-2),x=S.length,b.nonSmooth=p=[1],i>x)for(i-=x,a=0;a<x;a++){for(d=v[(g=Math.round((m=S[a])/6*w))-1]-E,r=Math.round(v[g-1]/_*i)-M,M+=r,l=1/(r+1),u=1;u<=r;u++)h=E+d*u*l,s=(T=y.length?y[h<_?~~(h/e.minLength):y.length-1]||0:cU(v,h,h/_))?v[T-1]:0,(o=v[T])<h&&(s=o,o=v[++T]),c=1-(n=1/w*((h-s)/(o-s)+T%w)||0),f=e[T=6*~~(T/w)],b.push(cB((n*n*(e[T+6]-f)+3*c*(n*(e[T+4]-f)+c*(e[T+2]-f)))*n+f),cB((n*n*(e[T+7]-(f=e[T+1]))+3*c*(n*(e[T+5]-f)+c*(e[T+3]-f)))*n+f));p[b.length]=1,b.push(e[m],e[m+1]),E+=d}return T=e.length-2,e.closed&&.2>=Math.abs(cj(e[T+1]-e[T-1],e[T]-e[T-2])-cj(e[3]-e[1],e[2]-e[0]))&&(p[0]=p[p.length-1]=0),b}(s,n),i.curviness),s.length=0,s.push.apply(s,o)):dP(s,n)),f+=n;return e},dD=function(e,i,n,r,s){var o,a,l,u,c,d,h,f=i.length-e.length,p=f>0?i:e,m=f>0?e:i,g=0,v="complexity"===r?dw:d_,y="position"===r?0:"number"==typeof r?r:.8,w=m.length,_="object"==typeof n&&n.push?n.slice(0):[n],b="reverse"===_[0]||_[0]<0,S="log"===n;if(m[0]){if(p.length>1&&(e.sort(v),i.sort(v),p.size||dy(p),m.size||dy(m),d=p.centerX-m.centerX,h=p.centerY-m.centerY,v===d_))for(w=0;w<m.length;w++)p.splice(w,0,dE(m[w],p,w,y,d,h));if(f)for(f<0&&(f=-f),p[0].length>m[0].length&&dP(m[0],(p[0].length-m[0].length)/6|0),w=m.length;g<f;)u=p[w].size||dv(p[w]),u=(l=dT(m,p[w].centerX,p[w].centerY))[0],c=l[1],m[w++]=[u,c,u,c,u,c,u,c],m.totalPoints+=8,g++;for(w=0;w<e.length;w++)o=i[w],a=e[w],(f=o.length-a.length)<0?dP(o,-f/6|0):f>0&&dP(a,f/6|0),b&&!1!==s&&!a.reversed&&cG(a),(n=_[w]||0===_[w]?_[w]:"auto")&&(a.closed||.5>Math.abs(a[0]-a[a.length-2])&&.5>Math.abs(a[1]-a[a.length-1])?"auto"===n||"log"===n?(_[w]=n=dx(a,o,!w||!1===s),n<0&&(b=!0,cG(a),n=-n),db(a,6*n)):"reverse"!==n&&(w&&n<0&&cG(a),db(a,(n<0?-n:n)*6)):!b&&("auto"===n&&Math.abs(o[0]-a[0])+Math.abs(o[1]-a[1])+Math.abs(o[o.length-2]-a[a.length-2])+Math.abs(o[o.length-1]-a[a.length-1])>Math.abs(o[0]-a[a.length-2])+Math.abs(o[1]-a[a.length-1])+Math.abs(o[o.length-2]-a[0])+Math.abs(o[o.length-1]-a[1])||n%2)?(cG(a),_[w]=-1,b=!0):"auto"===n?_[w]=0:"reverse"===n&&(_[w]=-1),a.closed!==o.closed&&(a.closed=o.closed=!1));return S&&dp("shapeIndex:["+_.join(",")+"]"),e.shapeIndex=_,_}},dI=function(e,i,n,r,s){var o=cQ(e[0]),a=cQ(e[1]);dD(o,a,i||0===i?i:"auto",n,s)&&(e[0]=c0(o),e[1]=c0(a),("log"===r||!0===r)&&dp('precompile:["'+e[0]+'","'+e[1]+'"]'))},dR=function(e,i){if(!i)return e;var n,r,s,o=e.match(dd)||[],a=o.length,l="";for("reverse"===i?(r=a-1,n=-2):(r=(2*(parseInt(i,10)||0)+1+100*a)%a,n=2),s=0;s<a;s+=2)l+=o[r-1]+","+o[r]+" ",r=(r+n)%a;return l},d$=function(e,i){var n,r,s,o,a,l,u,c=0,d=parseFloat(e[0]),h=parseFloat(e[1]),f=d+","+h+" ";for(r=0,n=.5*i/(.5*(s=e.length)-1);r<s-2;r+=2){if(c+=n,l=parseFloat(e[r+2]),u=parseFloat(e[r+3]),c>.999999)for(a=1/(Math.floor(c)+1),o=1;c>.999999;)f+=(d+(l-d)*a*o).toFixed(2)+","+(h+(u-h)*a*o).toFixed(2)+" ",c--,o++;f+=l+","+u+" ",d=l,h=u}return f},dz=function(e){var i=e[0].match(dd)||[],n=e[1].match(dd)||[],r=n.length-i.length;r>0?e[0]=d$(i,r):e[1]=d$(n,-r)},dF=function(e,i,n){var r,s;return("string"!=typeof e||dh.test(e)||(e.match(dd)||[]).length<3)&&((r=c4(e)[0])?(s=(r.no
vendor: 6,530 bytes, line 5
5deName+"").toUpperCase(),i&&"PATH"!==s&&(r=cK(r,!1),s="PATH"),e=r.getAttribute("PATH"===s?"d":"points")||"",r===n&&(e=r.getAttributeNS(null,"data-original")||e)):(dp("WARNING: invalid morph to: "+e),e=!1)),e},dN=function(e){for(var i,n,r,s,o,a,l,u,c=e.length;--c>-1;)for(a=0,(u=(i=e[c]).cpData=i.cpData||[]).length=0,l=i.length-2;a<l;a+=6)n=i[a]-i[a+2],r=i[a+1]-i[a+3],s=i[a+6]-i[a+4],o=i[a+7]-i[a+5],u[a+2]=di(r,n),u[a+3]=ds(n*n+r*r),u[a+4]=di(o,s),u[a+5]=ds(s*s+o*o);return e},dj=function(e){var i=e.trim().split(" ");return{x:(~e.indexOf("left")?0:~e.indexOf("right")?100:isNaN(parseFloat(i[0]))?50:parseFloat(i[0]))/100,y:(~e.indexOf("top")?0:~e.indexOf("bottom")?100:isNaN(parseFloat(i[1]))?50:parseFloat(i[1]))/100}},dV=function(e){return e!==e%da?e+(e<0?dl:-dl):e},dH="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",dB=function(e,i,n,r){var s,o,a=this._origin,l=this._eOrigin,u=e[n]-a.x,c=e[n+1]-a.y,d=ds(u*u+c*c),h=di(c,u);return u=i[n]-l.x,o=dV(s=di(c=i[n+1]-l.y,u)-h),!r&&c6&&Math.abs(o+c6.ca)<du&&(r=c6),this._anchorPT=c6={_next:this._anchorPT,t:e,sa:h,ca:r&&o*r.ca<0&&Math.abs(o)>dc?s:o,sl:d,cl:ds(u*u+c*c)-d,i:n}},dq=function(e){(c3=de(),c9=c9||c3&&c3.plugins.morphSVG,c3&&c9)?(c4=c3.utils.toArray,c7=c3.core.reverting||function(){},c9.prototype._tweenRotation=dB,c8=1):e&&dp("Please gsap.registerPlugin(MorphSVGPlugin)")},dU={version:"3.15.0",name:"morphSVG",rawVars:1,register:function(e,i){c3=e,c9=i,dq()},init:function(e,i,n,r,s){if(c8||dq(1),!i)return dp("invalid shape"),!1;if(dt(i)&&(i=i.call(n,r,e,s)),"string"==typeof i||i.getBBox||i[0])i={shape:i};else if("object"==typeof i){for(a in o={},i)o[a]=dt(i[a])&&"render"!==a?i[a].call(n,r,e,s):i[a];i=o}var o,a,l,u,c,d,h,f,p,m,g,v,y,w,_,b,S,x,T,E,M=e.nodeType?window.getComputedStyle(e):{},k=M.fill+"",P="none"!==k&&"0"!==(k.match(dd)||[])[3]&&"evenodd"!==M.fillRule,O=i.smooth,A=(i.origin||"50 50").split(",");if(!0===O||"auto"===O?O={}:"number"==typeof O&&(O={points:O}),c="POLYLINE"===(o=(e.nodeName+"").toUpperCase())||"POLYGON"===o,"PATH"!==o&&!c&&!i.prop)return dp("Cannot morph a <"+o+"> element. "+dH),!1;if(a="PATH"===o?"d":"points",!i.prop&&!dt(e.setAttribute))return!1;if(u=dF(i.shape||i.d||i.points||"","d"===a,e),c&&df.test(u))return dp("A <"+o+"> cannot accept path data. "+dH),!1;if(d=i.shapeIndex||0===i.shapeIndex?i.shapeIndex:"auto",h=i.map||dU.defaultMap,this._prop=i.prop,this._render=i.render||dU.defaultRender,this._apply="updateTarget"in i?i.updateTarget:dU.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(i.precision)?2:+i.precision),this._tween=n,u){if(this._target=e,S="object"==typeof i.precompile,m=this._original=this._prop?e[this._prop]:e.getAttribute(a),this._prop||e.getAttributeNS(null,"data-original")||e.setAttributeNS(null,"data-original",m),"d"===a||this._prop){if(m=cQ(S?i.precompile[0]:m),g=cQ(S?i.precompile[1]:u),O){for(y=m.length;--y;)dC(m[y])&&m.splice(y,1);dL(m,c1({},O,{points:+O.points||Math.max(dO(m),dO(g)),maxSegments:g.length})),dL(g,!1===O.redraw?O:c1({},O,{points:m}))}if(!S&&!dD(m,g,d,h,P))return!1;for(("log"===i.precompile||!0===i.precompile)&&dp('precompile:["'+c0(m)+'","'+c0(g)+'"]'),T="linear"!==(i.type||dU.defaultType),E=i.curveMode||T,dN(m),dN(g),T&&(m.size||dy(m),g.size||dy(g),x=dj(A[0]),this._origin=m.origin={x:m.left+x.x*m.width,y:m.top+x.y*m.height},A[1]&&(x=dj(A[1])),this._eOrigin={x:g.left+x.x*g.width,y:g.top+x.y*g.height}),this._rawPath=e._gsRawPath=m,y=m.length;--y>-1;){for(v=0,_=m[y],b=g[y],f=_.cpData,p=b.cpData,w=_.length,c6=0;v<w;v+=6)(b[v]!==_[v]||b[v+1]!==_[v+1])&&(T?l=this._tweenRotation(_,b,v):(l=this.add(_,v,_[v],b[v],0,0,0,0,0,1),l=this.add(_,v+1,_[v+1],b[v+1],0,0,0,0,0,1)||l));for(v=0;v<w;v+=2)E&&(f[v]!==p[v]||f[v+1]!==p[v+1])&&f[v+1]&&p[v+1]?this._controlPT={_next:this._controlPT,i:v,j:y,ai:v%6>3?v+2:v-2,sa:f[v],ca:dV(p[v]-f[v]),sl:f[v+1],cl:p[v+1]-f[v+1]}:(b[v]!==_[v]&&(l=this.add(_,v,_[v],b[v],0,0,0,0,0,1)),b[v+1]!==_[v+1]&&(l=this.add(_,v+1,_[v+1],b[v+1],0,0,0,0,0,1)||l))}}else l=this.add(e,"setAttribute",e.getAttribute(a)+"",u+"",r,s,0,isNaN(d)?dz:function(e){dz(e),e[1]=dR(e[1],parseInt(d,10))},a);T&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),l=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),l&&(this._props.push("morphSVG"),l.end=O&&!1!==O.persist?c0(g):u,l.endProp=a)}return 1},render:function(e,i){for(var n,r,s,o,a,l,u,c,d=i._rawPath,h=i._controlPT,f=i._anchorPT,p=i._rnd,m=i._target,g=i._pt;g;)g.r(e,g.d),g=g._next;if(1===e&&i._apply)for(g=i._pt;g;)g.end&&(i._prop?m[i._prop]=g.end:m.setAttribute(g.endProp,g.end)),g=g._next;else if(d){for(;f;)o=f.sa+e*f.ca,s=f.sl+e*f.cl,f.t[f.i]=i._origin.x+dn(o)*s,f.t[f.i+1]=i._origin.y+dr(o)*s,f=f._next;for(;h;)r=d[h.j],a=h.i,u=dr(o=h.sa+e*h.ca),c=dn(o),s=h.sl+e*h.cl,r[a]=r[h.ai]-c*s,r[a+1]=r[h.ai+1]-u*s,h=h._next;if(!e&&c7()&&(d=cQ(i._original)),m._gsRawPath=d,i._apply){for(l=0,n="";l<d.length;l++){for(s=(r=d[l]).length,n+="M"+(r[0]*p|0)/p+" "+(r[1]*p|0)/p+" C",a=2;a<s;a++)n+=(r[a]*p|0)/p+" ";r.closed&&(n+="z")}i._prop?m[i._prop]=n:m.setAttribute("d",n)}}i._render&&d&&i._render.call(i._tween,d,m)},kill:function(e){this._pt=this._rawPath=0},getRawPath:function(e){var i,n=(e=cV(e)&&cI.test(e)&&document.querySelector(e)||e).getAttribute?e:0;return n&&(e=e.getAttribute("d"))?(n._gsPath||(n._gsPath={}),(i=n._gsPath[e])&&!i._dirty?i:n._gsPath[e]=cQ(e)):e?cV(e)?cQ(e):cH(e[0])?[e]:e:console.warn("Expecting a <path> element or an SVG path data string")},stringToRawPath:cQ,rawPathToString:c0,smoothRawPath:dL,normalizeStrings:function(e,i,n){var r=n.shapeIndex,s=n.map,o=[e,i];return dI(o,r,s),o},pathFilter:dI,pointsFilter:dz,getTotalSize:dy,equalizeSegmentQuantity:dD,convertToPath:function(e,i){return c4(e).map(function(e){return cK(e,!1!==i)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};de()&&c3.registerPlugin(dU),Object.defineProperty(dY,"name",{value:"default",configurable:!0}),cA.registerPlugin(dU);var dG=["k","m","s","g"];function dY(){return{swiper:null,currentState:0,init:function(){var e=this,i=this.$refs.swiper.querySelectorAll(".swiper-slide").length;if(i){var n=parseInt(this.$root.dataset.autoplayDelay,10)||5e3;this.swiper=new sG(this.$refs.swiper,{modules:[sX],slidesPerView:1,spaceBetween:0,speed:700,loop:i>1,autoplay:i>1&&{delay:n,disableOnInteraction:!1},on:{slideChangeTransitionStart:function(){e.morphToNextState(),e.updateBars(),e.updateDescription()}}}),this.updateBars(),this.updateDescription()}},destroy:function(){this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=null)}
5,morphToNextState:function(){var e=(this.currentState+1)%4;dG.forEach(function(i){cA.to("#fs-".concat(i,"-1"),{morphSVG:"#fs-".concat(i,"-").concat(e+1),duration:.8,ease:"power1.inOut"})}),this.currentState=e},updateBars:function(){if(this.$refs.bars){var e=this.swiper.realIndex;this.$refs.bars.querySelectorAll(".a-slideshow-fullscreen__bar").forEach(function(i,n){if(i.classList.remove("is-active","is-completed"),n<e)i.classList.add("is-completed");else if(n===e){var r=i.querySelector(".a-slideshow-fullscreen__bar-fill");r&&(r.style.animation="none",r.offsetWidth,r.style.animation=""),i.classList.add("is-active")}})}},updateDescription:function(){if(this.$refs.descriptions){var e=this.swiper.realIndex;this.$refs.descriptions.querySelectorAll("[data-index]").forEach(function(i,n){n===e?i.setAttribute("data-active","true"):i.removeAttribute("data-active")})}}}}function dW(){return{VIEWPORT_BUFFER_VH:100,PLAY_THRESHOLD:.7,UNLOAD_DELAY_MS:5e3,video:null,playing:!1,muted:!0,loaded:!1,progress:0,duration:0,currentTime:0,preloadObserver:null,playObserver:null,unloadTimer:null,timeUpdateHandler:null,visibilityHandler:null,init:function(){this.video=this.$refs.video,this.video&&(this.muted=!0,this.video.muted=!0,this.$root.classList.add("muted"),this.visibilityHandler=this.onVisibilityChange.bind(this),this.timeUpdateHandler=this.onTimeUpdate.bind(this),this.setupVideo(),this.setupIntersectionObservers(),this.setupListeners())},setupVideo:function(){var e=this;this.video.muted=!0,this.video.loop=!0,this.video.playsInline=!0,this.video.setAttribute("playsinline",""),this.video.preload="metadata",this.video.classList.add("videoload"),this.video.addEventListener("loadedmetadata",function(){e.duration=e.video.duration||0},{once:!0}),this.video.addEventListener("timeupdate",this.timeUpdateHandler)},onTimeUpdate:function(){this.video.duration&&(this.currentTime=this.video.currentTime,this.progress=this.video.currentTime/this.video.duration*100)},loadVideo:function(){var e=this;if(!this.loaded){this.video.classList.remove("videoload"),this.video.classList.add("videoloading"),this.loaded=!0;var i=this.video.querySelector("source[data-src]");i&&!i.src&&(i.src=i.dataset.src,this.video.load());var n=function(){e.video.classList.remove("videoloading"),e.video.classList.add("videoloaded"),e.playing&&e.playVideo()};this.video.readyState>=2?n():this.video.addEventListener("canplay",n,{once:!0})}},unloadVideo:function(){this.loaded&&(this.pauseVideo(),this.loaded=!1,this.video.classList.remove("videoloading","videoloaded"),this.video.classList.add("videoload"),this.video.querySelectorAll("source").forEach(function(e){e.removeAttribute("src"),e.remove()}),this.video.load())},playVideo:function(){this.loaded&&(this.video.play().catch(function(){}),this.playing=!0,this.$root.classList.add("playing"),this.$dispatch("notify-media-play",{mediaId:this.$root.dataset.mediaId}))},pauseVideo:function(){this.video.pause(),this.playing=!1,this.$root.classList.remove("playing")},togglePlay:function(){this.video.paused||this.video.ended?this.playVideo():this.pauseVideo()},toggleSound:function(){this.muted=!this.muted,this.video.muted=this.muted,this.$root.classList.toggle("muted",this.muted),this.muted||this.$dispatch("notify-video-mute",{mediaId:this.$root.dataset.mediaId})},toggleFullScreen:function(){var e=this.video;document.fullscreenElement?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},seek:function(e){if(this.video.duration){var i=e.target.value;this.video.currentTime=i/100*this.video.duration}},setupIntersectionObservers:function(){var e=this,i=Math.round(window.innerHeight*(this.VIEWPORT_BUFFER_VH/100));this.preloadObserver=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&n.intersectionRatio>0?(clearTimeout(e.unloadTimer),e.loadVideo()):n.isIntersecting||(clearTimeout(e.unloadTimer),e.unloadTimer=setTimeout(function(){var n=e.video.getBoundingClientRect();(n.bottom<-i||n.top>window.innerHeight+i)&&e.unloadVideo()},e.UNLOAD_DELAY_MS))})},{root:null,rootMargin:"".concat(i,"px 0px ").concat(i,"px 0px"),threshold:[0,.1]}),this.playObserver=new IntersectionObserver(function(i){i.forEac
5h(function(i){i.isIntersecting&&i.intersectionRatio>=e.PLAY_THRESHOLD?!e.playing&&e.loaded&&e.playVideo():e.pauseVideo()})},{root:null,rootMargin:"0px",threshold:[0,.3,.5,this.PLAY_THRESHOLD]}),this.preloadObserver.observe(this.video),this.playObserver.observe(this.video)},setupListeners:function(){document.addEventListener("visibilitychange",this.visibilityHandler)},onVisibilityChange:function(){document.hidden&&this.pauseVideo()},onMuteEvent:function(e){var i,n=null==(i=e.detail)?void 0:i.mediaId;n&&n!==this.$root.dataset.mediaId&&!this.video.muted&&(this.muted=!this.muted,this.video.muted=this.muted,this.$root.classList.toggle("muted",this.muted))},onMediaPlayEvent:function(e){var i,n=null==(i=e.detail)?void 0:i.mediaId;n&&n!==this.$root.dataset.mediaId&&this.playing&&this.pauseVideo()},destroy:function(){this.preloadObserver&&(this.preloadObserver.disconnect(),this.preloadObserver=null),this.playObserver&&(this.playObserver.disconnect(),this.playObserver=null),clearTimeout(this.unloadTimer),this.timeUpdateHandler&&this.video.removeEventListener("timeupdate",this.timeUpdateHandler),this.visibilityHandler&&document.removeEventListener("visibilitychange",this.visibilityHandler),this.pauseVideo()}}}function dX(){return{VIEWPORT_BUFFER_VH:150,PLAY_THRESHOLD:.3,UNLOAD_DELAY_MS:4e3,slowConnection:!1,video:null,loaded:!1,playIntent:!1,unloadTimer:null,preloadObserver:null,playObserver:null,visibilityHandler:null,init:function(){this.video=this.$refs.video,this.video&&(this.slowConnection=this.isSlowConnection(),this.visibilityHandler=this.onVisibilityChange.bind(this),this.setupVideo(),this.setupIntersectionObservers(),this.setupListeners())},setupVideo:function(){this.video.muted=!0,this.video.loop=!0,this.video.playsInline=!0,this.video.setAttribute("playsinline",""),this.video.preload="none",this.video.classList.add("videoload")},isSlowConnection:function(){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null==e?void 0:e.effectiveType)&&["slow-2g","2g","3g"].includes(e.effectiveType)},loadVideo:function(){var e=this;if(!this.loaded){this.video.classList.remove("videoload","videoloadskip"),this.video.classList.add("videoloading"),this.loaded=!0;var i=this.video.querySelector("source[data-src]");i&&!i.src&&(i.src=i.dataset.src,this.video.load());var n=function(){e.video.classList.remove("videoloading"),e.video.classList.add("videoloaded"),e.playIntent&&e.playVideo()};this.video.readyState>=2?n():(this.video.addEventListener("canplay",n,{once:!0}),this.video.addEventListener("canplaythrough",n,{once:!0}))}},unloadVideo:function(){this.loaded&&(this.pauseVideo(),this.loaded=!1,this.video.classList.remove("videoloading","videoloaded"),this.video.classList.add("videoload"),this.video.querySelectorAll("source").forEach(function(e){e.removeAttribute("src"),e.remove()}),this.video.load())},playVideo:function(){this.loaded&&this.video.play().catch(function(e){console.debug("Autoplay prevented:",e.message)})},pauseVideo:function(){this.video.pause()},setupIntersectionObservers:function(){var e=this,i=Math.round(window.innerHeight*(this.VIEWPORT_BUFFER_VH/100));this.preloadObserver=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&n.intersectionRatio>0?(clearTimeout(e.unloadTimer),e.loadVideo(!e.slowConnection)):n.isIntersecting||(clearTimeout(e.unloadTimer),e.unloadTimer=setTimeout(function(){var n=e.video.getBoundingClientRect(),r=n.bottom<-i,s=n.top>window.innerHeight+i;(r||s)&&e.unloadVideo()},e.UNLOAD_DELAY_MS))})},{root:null,rootMargin:"".concat(i,"px 0px ").concat(i,"px 0px"),threshold:[0,.1]}),this.playObserver=new IntersectionObserver(function(i){i.forEach(function(i){i.isIntersecting&&i.intersectionRatio>=e.PLAY_THRESHOLD?(e.playIntent=!0,e.loaded&&e.playVideo()):(e.playIntent=!1,e.pauseVideo())})},{root:null,rootMargin:"0px",threshold:[0,.25,.5,.75]}),this.preloadObserver.observe(this.video),this.playObserver.observe(this.video)},setupListeners:function(){document.addEventListener("visibilitychange",this.visibilityHandler)},onVisibilityChange:function(){document.hidden?this.pauseVideo():this.playVideo()},destroy:function(){this.preloadObserver&&(this.preloadObserver.disconnect(),this.preloadObserver=null),this.playObserver&&(this.playObserver.disconnect(),this.playObserver=null),clearTimeout(this.unloadTimer),this.visibilityHandler&&document.removeEventListener("visibilitychange",this.visibilityHandler),this.pauseVideo()}}}function dK(){return{player:null,iframe:null,mediaId:null,init:function(){this.iframe=this.$root.querySelector("iframe"),this.iframe&&(this.mediaId="yt-"+Math.random().toString(36).slice(2),this.loadYouTubeAPI())},loadYouTubeAPI:function(){var e=this;if(document.querySelector('script[src="https://www.youtube.com/iframe_api"]'))if(window.YT&&window.YT.Player)window.YT.ready(function(){return e.onYouTubeIframeAPIReady()});else{var i=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){"function"==typeof i&&i(),e.onYouTubeIframeAPIReady()}}else{var n=document.createElement("script");n.src="https://www.youtube.com/iframe_api";var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(n,r),n.addEventListener("load",function(){return window.YT.ready(function(){return e.onYouTubeIframeAPIReady()})})}},onYouTubeIframeAPIReady:function(){var e=this;this.player=new window.YT.Player(this.iframe,{events:{onStateChange:function(i){i.data===window.YT.PlayerState.PLAYING&&e.onPlay()}}})},onPlay:function(){this.$dispatch("notify-media-play",{mediaId:this.mediaId})},onMediaPlayEvent:function(e){var i,n=null==(i=e.detail)?void 0:i.mediaId;n&&n!==this.mediaId&&this.player&&"function"==typeof this.player.pauseVideo&&this.player.pauseVideo()},destroy:function(){this.player&&"function"==typeof this.player.destroy&&(this.player.destroy(),this.player=null)}}}function dJ(e,i,n,r,s,o,a){try{var l=e[o](a),u=l.value}catch(e){n(e);return}l.done?i(u):Promise.resolve(u).then(r,s)}Object.defineProperty(dW,"name",{value:"default",configurable:!0}),Object.defineProperty(dX,"name",{value:"default",configurable:!0}),Object.defineProperty(dK,"name",{value:"default",configurable:!0});var dZ=window.KMSG.Config.PathPrefix||"",dQ=new RegExp("^".concat(dZ,"/ausstellungen/[^/]+/?$")),d0=new RegExp("^".concat(dZ,"/agenda/[^/]+/?$"));function d1(){var e=window.KMSG.Config.PathPrefix||"",i=window.location.pathname.match(new RegExp("^(".concat(e,"/(?:ausstellungen|agenda))/[^/]+/?$")));return i?i[1]:window.KMSG.Config.AppUrl}tl.plugin(function(e){function i(n,{modifiers:r}){let s=iM(r,"duration",250)/1e3,o=iM(r,"min",0),a=!r.includes("min");n._x_isShown||(n.style.height=`${o}px`),!n._x_isShown&&a&&(n.hidden=!0),n._x_isShown||(n.style.overflow="hidden");let l=(i,n)=>{let r=e.setStyles(i,n);return n.height?()=>{}:r},u={transitionProperty:"height",transitionDuration:`${s}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};n._x_transition={in(i=()=>{},r=()=>{}){a&&(n.hidden=!1),a&&(n.style.display=null);let s=n.getBoundingClientRect().height;n.style.height="auto";let l=n.getBoundingClientRect().height;s===l&&(s=o),e.transition(n,e.setStyles,{during:u,start:{height:s+"px"},end:{height:l+"px"}},()=>n._x_isShown=!0,()=>{1>Math.abs(n.getBoundingClientRect().height-l)&&(n.style.overflow=null)})},out(i=()=>{},r=()=>{}){let s=n.getBoundingClientRect().height;e.transition(n,l,{during:u,start:{height:s+"px"},end:{height:o+"px"}},()=>n.style.overflow="hidden",()=>{n._x_isShown=!1,n.style.height==`${o}px`&&a&&(n.style.display="none",n.hidden=!0)})}}}e.directive("collapse",i),i.inline=(e,{modifiers:i})=>{i.includes("min")&&(e._x_doShow=()=>{},e._x_doHide=()=>{})}}),tl.plugin(function(e){let i,n;window.addEventListener("focusin",()=>{i=n,n=document.activeElement}),e.magic("focus",e=>{let r=e;return{__noscroll:!1,__wrapAround:!1,within(e){return r=e,this},withoutScrolling(){return this.__noscroll=!0,this},noscroll(){return this.__noscroll=!0,this},withWrapAround(){return this.__wrapAround=!0,this},wrap(){return this.withWrapAround()},focusable:e=>i4(e),previouslyFocused:()=>i,lastFocused:()=>i,focused:()=>n,focusables:()=>Array.isArray(r)?r:i2(r,{displayCheck:"none"}),all(){return this.focusables()},isFirst(e){let i=this.all();return i[0]&&i[0].isSameNode(e)},isLast(e){let i=this.all();return i.length&&i.slice(-1)[0].isSameNode(e)},getFirst(){return this.all()[0]},getLast(){return this.all().slice(-1)[0]},getNext(){let e=this.all(),i=document.activeElement;if(-1!==e.indexOf(i))return this.__wrapAround&&e.indexOf(i)===e.length-1?e[0]:e[e.indexOf(i)+1]},getPrevious(){let e=this.all(),i=document.activeElement;if(-1!==e.indexOf(i))return this.__wrapAround&&0===e.indexOf(i)?e.slice(-1)[0]:e[e.indexOf(i)-1]},first(){this.focus(this.getFirst())},last(){this.focus(this.getLast())},next(){this.focus(this.getNext())},previous(){this.focus(this.getPrevious())},prev(){return this.previous()},focus(e){e&&setTimeout(()=>{e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),e.focus({preventScroll:this.__noscroll})})}}}),e.directive("trap",e.skipDuringClone((i,{expression:n,modifiers:r},{effect:s,evaluateLater:o,cleanup:a})=>{let l=o(n),u=!1,c={escapeDeactivates:!1,allowOutsideClick:!0,fallbackFocus:()=>i},d=()=>{};if(r.includes("noautofocus"))c.initialFocus=!1;else{let e=i.querySelector("[autofocus]");e&&(c.initialFocus=e)}r.includes("inert")&&(c.onPostActivate=()=>{e.nextTick(()=>{d=np(i)})});let h=nf(i,c),f=()=>{},p=()=>{d(),d=()=>{},f(),f=()=>{},h.deactivate({returnFocus:!r.includes("noreturn")})};s(()=>l(e=>{let i,n,s,o;u!==e&&(e&&!u&&(r.includes("noscroll")&&(i=document.documentElement.style.overflow,n=document.documentElement.style.paddingRight,s=window.innerWidth-document.documentElement.clientWidth,o=window.getComputedStyle(document.documentElement).scrollbarGutter,document.documentElement.style.overflow="hidden",f=o&&"auto"!==o?()=>{document.documentElement.style.overflow=i}:(document.documentElement.style.paddingRight=`${s}px`,()=>{document.documentElement.style.overflow=i,document.documentElement.style.paddingRight=n})),setTimeout(()=>{h.activate()},15)),!e&&u&&p(),u=!!e)})),a(p)},(e,{expression:i,modifiers:n},{evaluate:r})=>{n.includes("inert")&&r(i)&&np(e)}))}),tl.plugin(function(e){let i=()=>{let i,n;try{n=localStorage}catch(i){console.error(i),console.warn("Alpine: $persist is using temporary storage since localStorage is unavailable.");let e=new Map;n={getItem:e.get.bind(e),setItem:e.set.bind(e)}}return e.interceptor((r,s,o,a,l)=>{let u=i||`_x_${a}`,c=ik(u,n)?iP(u,n):r;return o(c),e.effect(()=>{let e=s();iO(u,e,n),o(e)}),c},e=>{e.as=n=>(i=n,e),e.using=i=>(n=i,e)})};Object.defineProperty(e,"$persist",{get:()=>i()}),e.magic("persist",i),e.persist=(i,{get:n,set:r},s=localStorage)=>{r(ik(i,s)?iP(i,s):n()),e.effect(()=>{let e=n();iO(i,e,s),r(e)})}}),tl.plugin(function(e){e.directive("resize",e.skipDuringClone((e,{value:i,expression:n,modifiers:r},{evaluateLater:s,cleanup:o})=>{var a,l,u;let c,d=s(n),h=(e,i)=>{d(()=>{},{scope:{$width:e,$height:i}})},f=r.includes("document")?(a=h,nm.add(a),oT||(oT=new ResizeObserver(e=>{let[i,n]=ng(e);
5nm.forEach(e=>e(i,n))})).observe(document.documentElement),()=>{nm.delete(a)}):(l=e,u=h,(c=new ResizeObserver(e=>{let[i,n]=ng(e);u(i,n)})).observe(l),()=>c.disconnect());o(()=>f())}))}),tl.store("ui",{cookieAccepted:tl.$persist(!1).as("kmsg-cookie-accepted"),dialogOpen:!1,dialogSmallOpen:!1,dialogBackUrl:d1(),dialogSmallBackUrl:d1(),_supportsHover:"1"===getComputedStyle(document.documentElement).getPropertyValue("--supports-hover").trim(),get supportsHover(){return this._supportsHover},setCookieAccepted:function(){this.cookieAccepted=!0}}),tl.data("Audio",r4),tl.data("Dialog",r6),tl.data("EventsCalendar",si),tl.data("Exhibitions",sJ),tl.data("Expander",sZ),tl.data("FitText",sQ),tl.data("HeaderSmall",s0),tl.data("Logo",s1),tl.data("NewsletterForm",s4),tl.data("NewsletterOverlay",s8),tl.data("Search",s7),tl.data("Slideshow",oe),tl.data("SlideshowFullscreen",dY),tl.data("Video",dW),tl.data("VideoAutoplay",dX),tl.data("Youtube",dK);var d2=function(){var e=.01*document.documentElement.clientHeight,i=.01*window.innerHeight;document.documentElement.style.setProperty("--1svh",e+"px"),document.documentElement.style.setProperty("--1dvh",i+"px")};window.addEventListener("resize",d2),d2(),document.addEventListener("DOMContentLoaded",function(){var e;return(e=function(){return function(e,i){var n,r,s,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:u(0)}),l(a,"throw",{value:u(1)}),l(a,"return",{value:u(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function u(l){return function(u){var c=[l,u];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(s=2&c[0]?r.return:c[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,c[1])).done)return s;switch(r=0,s&&(c=[2&c[0],s.value]),c[0]){case 0:case 1:s=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!s||c[1]>s[0]&&c[1]<s[3])){o.label=c[1];break}if(6===c[0]&&o.label<s[1]){o.label=s[1],s=c;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(c);break}s[2]&&o.ops.pop(),o.trys.pop();continue}c=i.call(e,o)}catch(e){c=[6,e],r=0}finally{n=s=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(e){var i,n,r,s,o,a,l,u,c,d,h;return i=window.KMSG.Config.PathPrefix||"",n=["".concat(i,"/"),"".concat(i,"/(.*)")],o=[{name:"exhibition-open-dialog",containers:["#dialog"],from:n,to:r=["".concat(i,"/ausstellungen/:slug")]},{name:"exhibition-close-dialog",containers:["#dialog"],from:r,to:n,if:function(e){var i;return!(null==(i=e.trigger)?void 0:i.el)}},{name:"exhibition-between-dialog",containers:["#dialog-container"],from:r,to:r},{name:"event-open-dialog",containers:["#dialog-small"],from:n,to:s=["".concat(i,"/agenda/:slug")]},{name:"event-close-dialog",containers:["#dialog-small"],from:s,to:n,if:function(e){var i;return!(null==(i=e.trigger)?void 0:i.el)}},{name:"event-between-dialog",containers:["#dialog-container-small"],from:s,to:s}],(a=new n6({containers:["#swup","#header","#header-small"],animationSelector:'[class*="swup-transition-"]',linkToSelf:"scroll",animateHistoryBrowsing:!0,plugins:[new rR({persistAssets:!0}),new rV({preloadVisibleLinks:!0}),new rX({animateScroll:{betweenPages:!1,samePage:!0,samePageWithHash:!0}}),new rn,new rO({rules:o})]})).hooks.on("visit:start",function(e){var i,n,r,s=null==(i=window.Alpine)?void 0:i.store("ui");if(s){var o=(null==(n=e.from)?void 0:n.url)||"",a=(null==(r=e.to)?void 0:r.url)||"";dQ.test(a)&&!s.dialogOpen&&(s.dialogBackUrl=o),d0.test(a)&&!s.dialogSmallOpen&&(s.dialogSmallBackUrl=o)}}),a.hooks.on("content:replace",function(){var e,i;null==(e=document.getElementById("dialog-container"))||e.scrollTo(0,0),null==(i=document.getElementById("dialog-container-small"))||i.scrollTo(0,0)}),l=null,u=function(){var e=window.location.pathname+window.location.search;e===l||(l=e,window.KMSG.Config.AppDebug&&console.log("[GA4] page_view â",e,"(".concat(document.title,")")),"function"==typeof window.gtag&&window.gtag("event","page_view",{page_location:window.location.href,page_path:e,page_title:document.title}))},a.hooks.on("page:view",u),a.hooks.on("visit:end",u),u(),window.swup=a,tl.start(),window.Alpine=tl,c=r5("toolbar"),d=r5("easy-speech"),h=r5("translate"),c&&r2(function(){return document.getElementById("eyeAble_container_ID")}).then(function(e){e&&c.classList.add("is-ready")}),d&&r2(function(){var e;
5return null==(e=document.getElementById("easy-speech-custom-including-tooltip-shadowRoot"))?void 0:e.shadowRoot}).then(function(e){if(e){r1(e,"\n /* replaced by our own badge, which is drawn for a 30px button (see\n eyeable.css) â Eye-Able sizes this one for its own 60px one */\n #white-circle {\n display: none !important;\n }\n");var i=e.getElementById("easy-speech-mark");if(i){var n=function(){return d.setAttribute("aria-pressed","block"===i.style.display?"true":"false")};new MutationObserver(n).observe(i,{attributes:!0,attributeFilter:["style"]}),n()}d.classList.add("is-ready");var r=window.swup;if(r){var s=function(){return window.location.pathname+window.location.search},o=s(),a=function(){var e,i,n;s()===o||(o=s(),(null==(e=window.EA)?void 0:e.keepEasyActivated)&&(null==(i=(n=window.EA).isEasyActive)?void 0:i.call(n))&&(d.setAttribute("aria-busy","true"),Promise.resolve(window.EA.keepEasyActivated()).finally(function(){return d.removeAttribute("aria-busy")})))};r.hooks.on("page:view",a),r.hooks.on("visit:end",a)}var l=d;if(["1","true"].includes((rJ.get("easy")||"").trim().toLowerCase())){var u,c,h,f=rQ();f&&rZ(f)!==rZ(r3())?r0("?easy=1 ignored, ?lang=".concat(f," translates the page instead")):(null==(u=window.EA)?void 0:u.activateEasy)&&(null==(c=(h=window.EA).statusEasy)?void 0:c.call(h).status)!==2&&(l.setAttribute("aria-busy","true"),Promise.resolve(window.EA.activateEasy()).finally(function(){return l.removeAttribute("aria-busy")}))}}}),h&&r2(function(){var e,i=null==(e=document.querySelector("translation-select"))?void 0:e.shadowRoot;return(null==i?void 0:i.getElementById("optionSelect"))&&i.querySelector("#langOptions li[datavalue]")?i:null}).then(function(e){var i=document.getElementById("translate-custom");if(e&&i){var n=e.getElementById("optionSelect");r1(e,"\n #translate-custom {\n display: block;\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n }\n\n #translate-custom > svg {\n display: block;\n width: 100%;\n height: 100%;\n transform: scale(var(--translate-icon-scale, 1));\n }\n\n /* let our icon be the whole trigger: no pill, no hover outline */\n #langSelector,\n #optionSelect,\n #optionSelect:hover {\n background: transparent !important;\n border: 0 !important;\n box-shadow: none !important;\n outline: 0 !important;\n }\n\n #optionSelect {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n }\n"),i.setAttribute("aria-hidden","true");var r=function(){i.parentNode!==n&&n.replaceChildren(i)};new MutationObserver(r).observe(n,{childList:!0}),r(),h.classList.add("is-ready"),function(e){var i,n,r=rQ();if(r){var s=Array.from(e.querySelectorAll("#langOptions li[datavalue]"),function(e){return e.getAttribute("datavalue")}),o=s.find(function(e){return e.toLowerCase()===r})||s.find(function(e){return rZ(e)===rZ(r)});o?rZ(o)!==rZ(r3())&&(null==(n=window.EA)||null==(i=n.activateTranslation)||i.call(n,o,!0)):r0("?lang=".concat(r," is not one of the configured languages: ").concat(s.join(", ")))}}(e)}}),[2]})},function(){var i=this,n=arguments;return new Promise(function(r,s){var o=e.apply(i,n);function a(e){dJ(o,r,s,a,l,"next",e)}function l(e){dJ(o,r,s,a,l,"throw",e)}a(void 0)})})()})}()}();
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.