app2.js 393 KB

123456789101112131415161718192021222324252627282930313233
  1. import{c as ui,r as zi,g as Qi}from"./admin2.js";var is={exports:{}};/*!
  2. * https://github.com/es-shims/es5-shim
  3. * @license es5-shim Copyright 2009-2020 by contributors, MIT License
  4. * see https://github.com/es-shims/es5-shim/blob/master/LICENSE
  5. */(function(e,t){(function(i,n){e.exports=n()})(ui,function(){var i=Array,n=i.prototype,r=Object,l=r.prototype,d=Function,c=d.prototype,a=String,o=a.prototype,s=Number,u=s.prototype,h=n.slice,f=n.splice,p=n.push,g=n.unshift,v=n.concat,b=n.join,m=c.call,y=c.apply,_=Math.max,w=Math.min,A=Math.floor,L=Math.abs,B=Math.pow,z=Math.round,N=Math.log,D=Math.LOG10E,P=Math.log10||function(E){return N(E)*D},S=l.toString,H=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",te,V=Function.prototype.toString,M=/^\s*class /,j=function(E){try{var T=V.call(E),C=T.replace(/\/\/.*\n/g,""),k=C.replace(/\/\*[.\s\S]*\*\//g,""),Z=k.replace(/\n/mg," ").replace(/ {2}/g," ");return M.test(Z)}catch{return!1}},F=function(E){try{return j(E)?!1:(V.call(E),!0)}catch{return!1}},X="[object Function]",K="[object GeneratorFunction]",te=function(E){if(!E||typeof E!="function"&&typeof E!="object")return!1;if(H)return F(E);if(j(E))return!1;var T=S.call(E);return T===X||T===K},R,se=RegExp.prototype.exec,I=function(E){try{return se.call(E),!0}catch{return!1}},x="[object RegExp]";R=function(E){return typeof E!="object"?!1:H?I(E):S.call(E)===x};var G,q=String.prototype.valueOf,re=function(E){try{return q.call(E),!0}catch{return!1}},le="[object String]";G=function(E){return typeof E=="string"?!0:typeof E!="object"?!1:H?re(E):S.call(E)===le};var he=r.defineProperty&&function(){try{var O={};r.defineProperty(O,"x",{enumerable:!1,value:O});for(var E in O)return!1;return O.x===O}catch{return!1}}(),ee=function(O){var E;return he?E=function(T,C,k,Z){!Z&&C in T||r.defineProperty(T,C,{configurable:!0,enumerable:!1,writable:!0,value:k})}:E=function(T,C,k,Z){!Z&&C in T||(T[C]=k)},function(C,k,Z){for(var W in k)O.call(k,W)&&E(C,W,k[W],Z)}}(l.hasOwnProperty);if(r.defineProperty&&he){var me=function(){},Ee={},Ne={toString:Ee};if(r.defineProperty(me,"prototype",{value:Ne,writable:!1}),new me().toString!==Ee){var xe=r.defineProperty,we=r.getOwnPropertyDescriptor;ee(r,{defineProperty:function(E,T,C){var k=a(T);if(typeof E=="function"&&k==="prototype"){var Z=we(E,k);if(Z.writable&&!C.writable&&"value"in C)try{E[k]=C.value}catch{}return xe(E,k,{configurable:"configurable"in C?C.configurable:Z.configurable,enumerable:"enumerable"in C?C.enumerable:Z.enumerable,writable:C.writable})}return xe(E,k,C)}},!0)}}var Be=function(E){var T=typeof E;return E===null||T!=="object"&&T!=="function"},je=s.isNaN||function(E){return E!==E},ue={ToInteger:function(E){var T=+E;return je(T)?T=0:T!==0&&T!==1/0&&T!==-(1/0)&&(T=(T>0||-1)*A(L(T))),T},ToPrimitive:function(E){var T,C,k;if(Be(E))return E;if(C=E.valueOf,te(C)&&(T=C.call(E),Be(T))||(k=E.toString,te(k)&&(T=k.call(E),Be(T))))return T;throw new TypeError},ToObject:function(O){if(O==null)throw new TypeError("can't convert "+O+" to object");return r(O)},ToUint32:function(E){return E>>>0}},ze=function(){};ee(c,{bind:function(E){var T=this;if(!te(T))throw new TypeError("Function.prototype.bind called on incompatible "+T);for(var C=h.call(arguments,1),k,Z=function(){if(this instanceof k){var J=y.call(T,this,v.call(C,h.call(arguments)));return r(J)===J?J:this}return y.call(T,E,v.call(C,h.call(arguments)))},W=_(0,T.length-C.length),ae=[],ie=0;ie<W;ie++)p.call(ae,"$"+ie);return k=d("binder","return function ("+b.call(ae,",")+"){ return binder.apply(this, arguments); }")(Z),T.prototype&&(ze.prototype=T.prototype,k.prototype=new ze,ze.prototype=null),k}});var Ae=m.bind(l.hasOwnProperty),ot=m.bind(l.toString),Te=m.bind(h),Ye=y.bind(h);if(typeof document=="object"&&document&&document.documentElement)try{Te(document.documentElement.childNodes)}catch{var At=Te,it=Ye;Te=function(T){for(var C=[],k=T.length;k-- >0;)C[k]=T[k];return it(C,At(arguments,1))},Ye=function(T,C){return it(Te(T),C)}}var be=m.bind(o.slice),_e=m.bind(o.split),$t=m.bind(o.indexOf),$e=m.bind(p),lt=m.bind(l.propertyIsEnumerable),It=m.bind(n.sort),nt=i.isArray||function(E){return ot(E)==="[object Array]"},Zt=[].unshift(0)!==1;ee(n,{unshift:function(){return g.apply(this,arguments),this.length}},Zt),ee(i,{isArray:nt});var ut=r("a"),Ie=ut[0]!=="a"||!(0 in ut),He=function(E){var T=!0,C=!0,k=!1;if(E)try{E.call("foo",function(Z,W,ae){typeof ae!="object"&&(T=!1)}),E.call([1],function(){"use strict";C=typeof this=="string"},"x")}catch{k=!0}return!!E&&!k&&T&&C};ee(n,{forEach:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=-1,Z=ue.ToUint32(C.length),W;if(arguments.length>1&&(W=arguments[1]),!te(E))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++k<Z;)k in C&&(typeof W>"u"?E(C[k],k,T):E.call(W,C[k],k,T))}},!He(n.forEach)),ee(n,{map:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length),Z=i(k),W;if(arguments.length>1&&(W=arguments[1]),!te(E))throw new TypeError("Array.prototype.map callback must be a function");for(var ae=0;ae<k;ae++)ae in C&&(typeof W>"u"?Z[ae]=E(C[ae],ae,T):Z[ae]=E.call(W,C[ae],ae,T));return Z}},!He(n.map)),ee(n,{filter:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length),Z=[],W,ae;if(arguments.length>1&&(ae=arguments[1]),!te(E))throw new TypeError("Array.prototype.filter callback must be a function");for(var ie=0;ie<k;ie++)ie in C&&(W=C[ie],(typeof ae>"u"?E(W,ie,T):E.call(ae,W,ie,T))&&$e(Z,W));return Z}},!He(n.filter)),ee(n,{every:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length),Z;if(arguments.length>1&&(Z=arguments[1]),!te(E))throw new TypeError("Array.prototype.every callback must be a function");for(var W=0;W<k;W++)if(W in C&&!(typeof Z>"u"?E(C[W],W,T):E.call(Z,C[W],W,T)))return!1;return!0}},!He(n.every)),ee(n,{some:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length),Z;if(arguments.length>1&&(Z=arguments[1]),!te(E))throw new TypeError("Array.prototype.some callback must be a function");for(var W=0;W<k;W++)if(W in C&&(typeof Z>"u"?E(C[W],W,T):E.call(Z,C[W],W,T)))return!0;return!1}},!He(n.some));var Pt=!1;n.reduce&&(Pt=typeof n.reduce.call("es5",function(O,E,T,C){return C})=="object"),ee(n,{reduce:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length);if(!te(E))throw new TypeError("Array.prototype.reduce callback must be a function");if(k===0&&arguments.length===1)throw new TypeError("reduce of empty array with no initial value");var Z=0,W;if(arguments.length>=2)W=arguments[1];else do{if(Z in C){W=C[Z++];break}if(++Z>=k)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;Z<k;Z++)Z in C&&(W=E(W,C[Z],Z,T));return W}},!Pt);var Ot=!1;n.reduceRight&&(Ot=typeof n.reduceRight.call("es5",function(O,E,T,C){return C})=="object"),ee(n,{reduceRight:function(E){var T=ue.ToObject(this),C=Ie&&G(this)?_e(this,""):T,k=ue.ToUint32(C.length);if(!te(E))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(k===0&&arguments.length===1)throw new TypeError("reduceRight of empty array with no initial value");var Z,W=k-1;if(arguments.length>=2)Z=arguments[1];else do{if(W in C){Z=C[W--];break}if(--W<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);if(W<0)return Z;do W in C&&(Z=E(Z,C[W],W,T));while(W--);return Z}},!Ot);var Ut=n.indexOf&&[0,1].indexOf(1,2)!==-1;ee(n,{indexOf:function(E){var T=Ie&&G(this)?_e(this,""):ue.ToObject(this),C=ue.ToUint32(T.length);if(C===0)return-1;var k=0;for(arguments.length>1&&(k=ue.ToInteger(arguments[1])),k=k>=0?k:_(0,C+k);k<C;k++)if(k in T&&T[k]===E)return k;return-1}},Ut);var st=n.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;ee(n,{lastIndexOf:function(E){var T=Ie&&G(this)?_e(this,""):ue.ToObject(this),C=ue.ToUint32(T.length);if(C===0)return-1;var k=C-1;for(arguments.length>1&&(k=w(k,ue.ToInteger(arguments[1]))),k=k>=0?k:C-L(k);k>=0;k--)if(k in T&&E===T[k])return k;return-1}},st);var Dt=function(){var O=[1,2],E=O.splice();return O.length===2&&nt(E)&&E.length===0}();ee(n,{splice:function(E,T){return arguments.length===0?[]:f.apply(this,arguments)}},!Dt);var Lt=function(){var O={};return n.splice.call(O,0,0,1),O.length===1}(),Mt=[0,1,2].splice(0).length===3;ee(n,{splice:function(E,T){if(arguments.length===0)return[];var C=arguments;return this.length=_(ue.ToInteger(this.length),0),arguments.length>0&&typeof T!="number"&&(C=Te(arguments),C.length<2?$e(C,this.length-E):C[1]=ue.ToInteger(T)),f.apply(this,C)}},!Lt||!Mt);var kt=function(){var O=new i(1e5);return O[8]="x",O.splice(1,1),O.indexOf("x")===7}(),Ft=function(){var O=256,E=[];return E[O]="a",E.splice(O+1,0,"b"),E[O]==="a"}();ee(n,{splice:function(E,T){for(var C=ue.ToObject(this),k=[],Z=ue.ToUint32(C.length),W=ue.ToInteger(E),ae=W<0?_(Z+W,0):w(W,Z),ie=arguments.length===0?0:arguments.length===1?Z-ae:w(_(ue.ToInteger(T),0),Z-ae),J=0,Q;J<ie;)Q=a(ae+J),Ae(C,Q)&&(k[J]=C[Q]),J+=1;var ce=Te(arguments,2),de=ce.length,pe;if(de<ie){J=ae;for(var Ge=Z-ie;J<Ge;)Q=a(J+ie),pe=a(J+de),Ae(C,Q)?C[pe]=C[Q]:delete C[pe],J+=1;J=Z;for(var Ce=Z-ie+de;J>Ce;)delete C[J-1],J-=1}else if(de>ie)for(J=Z-ie;J>ae;)Q=a(J+ie-1),pe=a(J+de-1),Ae(C,Q)?C[pe]=C[Q]:delete C[pe],J-=1;J=ae;for(var Se=0;Se<ce.length;++Se)C[J]=ce[Se],J+=1;return C.length=Z-ie+de,k}},!kt||!Ft);var zt=n.join,Ke;try{Ke=Array.prototype.join.call("123",",")!=="1,2,3"}catch{Ke=!0}Ke&&ee(n,{join:function(E){var T=typeof E>"u"?",":E;return zt.call(G(this)?_e(this,""):this,T)}},Ke);var Y=[1,2].join(void 0)!=="1,2";Y&&ee(n,{join:function(E){var T=typeof E>"u"?",":E;return zt.call(this,T)}},Y);var ne=function(E){for(var T=ue.ToObject(this),C=ue.ToUint32(T.length),k=0;k<arguments.length;)T[C+k]=arguments[k],k+=1;return T.length=C+k,C+k},oe=function(){var O={},E=Array.prototype.push.call(O,void 0);return E!==1||O.length!==1||typeof O[0]<"u"||!Ae(O,0)}();ee(n,{push:function(E){return nt(this)?p.apply(this,arguments):ne.apply(this,arguments)}},oe);var qe=function(){var O=[],E=O.push(void 0);return E!==1||O.length!==1||typeof O[0]<"u"||!Ae(O,0)}();ee(n,{push:ne},qe),ee(n,{slice:function(O,E){var T=G(this)?_e(this,""):this;return Ye(T,arguments)}},Ie);var Ue=function(){try{[1,2].sort(null)}catch{try{[1,2].sort({})}catch{return!1}}return!0}(),Me=function(){try{return[1,2].sort(/a/),!1}catch{}return!0}(),Rt=function(){try{return[1,2].sort(void 0),!0}catch{}return!1}();ee(n,{sort:function(E){if(typeof E>"u")return It(this);if(!te(E))throw new TypeError("Array.prototype.sort callback must be a function");return It(this,E)}},Ue||!Rt||!Me);var Je=!lt({toString:null},"toString"),yn=lt(function(){},"prototype"),bn=!Ae("x","0"),Vt=function(O){var E=O.constructor;return E&&E.prototype===O},En={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},Sn=function(){if(typeof window>"u")return!1;for(var O in window)try{!En["$"+O]&&Ae(window,O)&&window[O]!==null&&typeof window[O]=="object"&&Vt(window[O])}catch{return!0}return!1}(),xn=function(O){if(typeof window>"u"||!Sn)return Vt(O);try{return Vt(O)}catch{return!1}},mi=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_n=mi.length,vi=function(E){return ot(E)==="[object Arguments]"},Tn=function(E){return E!==null&&typeof E=="object"&&typeof E.length=="number"&&E.length>=0&&!nt(E)&&te(E.callee)},yi=vi(arguments)?vi:Tn;ee(r,{keys:function(E){var T=te(E),C=yi(E),k=E!==null&&typeof E=="object",Z=k&&G(E);if(!k&&!T&&!C)throw new TypeError("Object.keys called on a non-object");var W=[],ae=yn&&T;if(Z&&bn||C)for(var ie=0;ie<E.length;++ie)$e(W,a(ie));if(!C)for(var J in E)!(ae&&J==="prototype")&&Ae(E,J)&&$e(W,a(J));if(Je)for(var Q=xn(E),ce=0;ce<_n;ce++){var de=mi[ce];!(Q&&de==="constructor")&&Ae(E,de)&&$e(W,de)}return W}});var Cn=r.keys&&function(){return r.keys(arguments).length===2}(1,2),wn=r.keys&&function(){var O=r.keys(arguments);return arguments.length!==1||O.length!==1||O[0]!==1}(1),bi=r.keys;ee(r,{keys:function(E){return yi(E)?bi(Te(E)):bi(E)}},!Cn||wn);var Nt=new Date(-0xc782b5b342b24).getUTCMonth()!==0,Bt=new Date(-0x55d318d56a724),Ei=new Date(14496624e5),An=Bt.toUTCString()!=="Mon, 01 Jan -45875 11:59:59 GMT",Xt,Yt,$n=Bt.getTimezoneOffset();$n<-720?(Xt=Bt.toDateString()!=="Tue Jan 02 -45875",Yt=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Ei))):(Xt=Bt.toDateString()!=="Mon Jan 01 -45875",Yt=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Ei)));var Kt=m.bind(Date.prototype.getFullYear),Jt=m.bind(Date.prototype.getMonth),Si=m.bind(Date.prototype.getDate),ct=m.bind(Date.prototype.getUTCFullYear),dt=m.bind(Date.prototype.getUTCMonth),Qt=m.bind(Date.prototype.getUTCDate),In=m.bind(Date.prototype.getUTCDay),xi=m.bind(Date.prototype.getUTCHours),_i=m.bind(Date.prototype.getUTCMinutes),Ti=m.bind(Date.prototype.getUTCSeconds),Pn=m.bind(Date.prototype.getUTCMilliseconds),ei=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ti=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ci=function(E,T){return Si(new Date(T,E,0))};ee(Date.prototype,{getFullYear:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=Kt(this);return E<0&&Jt(this)>11?E+1:E},getMonth:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=Kt(this),T=Jt(this);return E<0&&T>11?0:T},getDate:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=Kt(this),T=Jt(this),C=Si(this);if(E<0&&T>11){if(T===12)return C;var k=Ci(0,E+1);return k-C+1}return C},getUTCFullYear:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=ct(this);return E<0&&dt(this)>11?E+1:E},getUTCMonth:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=ct(this),T=dt(this);return E<0&&T>11?0:T},getUTCDate:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=ct(this),T=dt(this),C=Qt(this);if(E<0&&T>11){if(T===12)return C;var k=Ci(0,E+1);return k-C+1}return C}},Nt),ee(Date.prototype,{toUTCString:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=In(this),T=Qt(this),C=dt(this),k=ct(this),Z=xi(this),W=_i(this),ae=Ti(this);return ei[E]+", "+(T<10?"0"+T:T)+" "+ti[C]+" "+k+" "+(Z<10?"0"+Z:Z)+":"+(W<10?"0"+W:W)+":"+(ae<10?"0"+ae:ae)+" GMT"}},Nt||An),ee(Date.prototype,{toDateString:function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=this.getDay(),T=this.getDate(),C=this.getMonth(),k=this.getFullYear();return ei[E]+" "+ti[C]+" "+(T<10?"0"+T:T)+" "+k}},Nt||Xt),(Nt||Yt)&&(Date.prototype.toString=function(){if(!this||!(this instanceof Date))throw new TypeError("this is not a Date object.");var E=this.getDay(),T=this.getDate(),C=this.getMonth(),k=this.getFullYear(),Z=this.getHours(),W=this.getMinutes(),ae=this.getSeconds(),ie=this.getTimezoneOffset(),J=A(L(ie)/60),Q=A(L(ie)%60);return ei[E]+" "+ti[C]+" "+(T<10?"0"+T:T)+" "+k+" "+(Z<10?"0"+Z:Z)+":"+(W<10?"0"+W:W)+":"+(ae<10?"0"+ae:ae)+" GMT"+(ie>0?"-":"+")+(J<10?"0"+J:J)+(Q<10?"0"+Q:Q)},he&&r.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var wi=-621987552e5,Ai="-000001",On=Date.prototype.toISOString&&new Date(wi).toISOString().indexOf(Ai)===-1,Dn=Date.prototype.toISOString&&new Date(-1).toISOString()!=="1969-12-31T23:59:59.999Z",Ln=m.bind(Date.prototype.getTime);ee(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(Ln(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var E=ct(this),T=dt(this);E+=A(T/12),T=(T%12+12)%12;var C=[T+1,Qt(this),xi(this),_i(this),Ti(this)];E=(E<0?"-":E>9999?"+":"")+be("00000"+L(E),0<=E&&E<=9999?-4:-6);for(var k=0;k<C.length;++k)C[k]=be("00"+C[k],-2);return E+"-"+Te(C,0,2).join("-")+"T"+Te(C,2).join(":")+"."+be("000"+Pn(this),-3)+"Z"}},On||Dn);var Mn=function(){try{return Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(wi).toJSON().indexOf(Ai)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch{return!1}}();Mn||(Date.prototype.toJSON=function(E){var T=r(this),C=ue.ToPrimitive(T);if(typeof C=="number"&&!isFinite(C))return null;var k=T.toISOString;if(!te(k))throw new TypeError("toISOString property is not callable");return k.call(T)});var kn=Date.parse("+033658-09-27T01:46:40.000Z")===1e15,Fn=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),zn=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(zn||Fn||!kn){var Qe=B(2,31)-1,$i=je(new Date(1970,0,1,0,0,0,Qe+1).getTime());Date=function(O){var E=function(J,Q,ce,de,pe,Ge,Ce){var Se=arguments.length,We;if(this instanceof O){var ft=Ge,pt=Ce;if($i&&Se>=7&&Ce>Qe){var jt=A(Ce/Qe)*Qe,gt=A(jt/1e3);ft+=gt,pt-=gt*1e3}var Re=E.parse(J),ni=isNaN(Re);We=Se===1&&a(J)===J&&!ni?new O(Re):Se>=7?new O(J,Q,ce,de,pe,ft,pt):Se>=6?new O(J,Q,ce,de,pe,ft):Se>=5?new O(J,Q,ce,de,pe):Se>=4?new O(J,Q,ce,de):Se>=3?new O(J,Q,ce):Se>=2?new O(J,Q):Se>=1?new O(J instanceof O?+J:J):new O}else We=O.apply(this,arguments);return Be(We)||ee(We,{constructor:E},!0),We},T=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),C=[0,31,59,90,120,151,181,212,243,273,304,334,365],k=function(J,Q){var ce=Q>1?1:0;return C[Q]+A((J-1969+ce)/4)-A((J-1901+ce)/100)+A((J-1601+ce)/400)+365*(J-1970)},Z=function(J){var Q=0,ce=J;if($i&&ce>Qe){var de=A(ce/Qe)*Qe,pe=A(de/1e3);Q+=pe,ce-=pe*1e3}return s(new O(1970,0,1,0,0,Q,ce))};for(var W in O)Ae(O,W)&&(E[W]=O[W]);ee(E,{now:O.now,UTC:O.UTC},!0),E.prototype=O.prototype,ee(E.prototype,{constructor:E},!0);var ae=function(J){var Q=T.exec(J);if(Q){var ce=s(Q[1]),de=s(Q[2]||1)-1,pe=s(Q[3]||1)-1,Ge=s(Q[4]||0),Ce=s(Q[5]||0),Se=s(Q[6]||0),We=A(s(Q[7]||0)*1e3),ft=!!(Q[4]&&!Q[8]),pt=Q[9]==="-"?1:-1,jt=s(Q[10]||0),gt=s(Q[11]||0),Re,ni=Ce>0||Se>0||We>0;return Ge<(ni?24:25)&&Ce<60&&Se<60&&We<1e3&&de>-1&&de<12&&jt<24&&gt<60&&pe>-1&&pe<k(ce,de+1)-k(ce,de)&&(Re=((k(ce,de)+pe)*24+Ge+jt*pt)*60,Re=((Re+Ce+gt*pt)*60+Se)*1e3+We,ft&&(Re=Z(Re)),-864e13<=Re&&Re<=864e13)?Re:NaN}return O.parse.apply(this,arguments)};return ee(E,{parse:ae}),E}(Date)}Date.now||(Date.now=function(){return new Date().getTime()});var Rn=u.toFixed&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128"),fe={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(E,T){for(var C=-1,k=T;++C<fe.size;)k+=E*fe.data[C],fe.data[C]=k%fe.base,k=A(k/fe.base)},divide:function(E){for(var T=fe.size,C=0;--T>=0;)C+=fe.data[T],fe.data[T]=A(C/E),C=C%E*fe.base},numToString:function(){for(var E=fe.size,T="";--E>=0;)if(T!==""||E===0||fe.data[E]!==0){var C=a(fe.data[E]);T===""?T=C:T+=be("0000000",0,7-C.length)+C}return T},pow:function O(E,T,C){return T===0?C:T%2===1?O(E,T-1,C*E):O(E*E,T/2,C)},log:function(E){for(var T=0,C=E;C>=4096;)T+=12,C/=4096;for(;C>=2;)T+=1,C/=2;return T}},Nn=function(E){var T,C,k,Z,W,ae,ie,J;if(T=s(E),T=je(T)?0:A(T),T<0||T>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(C=s(this),je(C))return"NaN";if(C<=-1e21||C>=1e21)return a(C);if(k="",C<0&&(k="-",C=-C),Z="0",C>1e-21)if(W=fe.log(C*fe.pow(2,69,1))-69,ae=W<0?C*fe.pow(2,-W,1):C/fe.pow(2,W,1),ae*=4503599627370496,W=52-W,W>0){for(fe.multiply(0,ae),ie=T;ie>=7;)fe.multiply(1e7,0),ie-=7;for(fe.multiply(fe.pow(10,ie,1),0),ie=W-1;ie>=23;)fe.divide(1<<23),ie-=23;fe.divide(1<<ie),fe.multiply(1,1),fe.divide(2),Z=fe.numToString()}else fe.multiply(0,ae),fe.multiply(1<<-W,0),Z=fe.numToString()+be("0.00000000000000000000",2,2+T);return T>0?(J=Z.length,J<=T?Z=k+be("0.0000000000000000000",0,T-J+2)+Z:Z=k+be(Z,0,J-T)+"."+be(Z,J-T)):Z=k+Z,Z};ee(u,{toFixed:Nn},Rn);var Bn=function(){try{return(-69e-12).toExponential(4)!=="-6.9000e-11"}catch{return!1}}(),Hn=function(){try{return 1 .toExponential(1/0),1 .toExponential(-1/0),!0}catch{return!1}}(),Ii=m.bind(u.toExponential),Pi=m.bind(u.toString),Gn=m.bind(u.valueOf);ee(u,{toExponential:function(E){var T=Gn(this);if(typeof E>"u")return Ii(T);var C=ue.ToInteger(E);if(je(T))return"NaN";if(C<0||C>20){if(!isFinite(C))throw new RangeError("toExponential() argument must be between 0 and 20");return Ii(T,C)}var k="";if(T<0&&(k="-",T=-T),T===1/0)return k+"Infinity";if(typeof E<"u"&&(C<0||C>20))throw new RangeError("Fraction digits "+E+" out of range");var Z="",W=0,ae="",ie="";if(T===0)W=0,C=0,Z="0";else{var J=P(T);W=A(J);var Q=0;if(typeof E<"u"){var ce=B(10,W-C);Q=z(T/ce),2*T>=(2*Q+1)*ce&&(Q+=1),Q>=B(10,C+1)&&(Q/=10,W+=1)}else{C=16;for(var de=z(B(10,J-W+C)),pe=C;C-- >0;)de=z(B(10,J-W+C)),L(de*B(10,W-C)-T)<=L(Q*B(10,W-pe)-T)&&(pe=C,Q=de)}if(Z=Pi(Q,10),typeof E>"u")for(;be(Z,-1)==="0";)Z=be(Z,0,-1),ie+=1}return C!==0&&(Z=be(Z,0,1)+"."+be(Z,1)),W===0?(ae="+",ie="0"):(ae=W>0?"+":"-",ie=Pi(L(W),10)),Z+="e"+ae+ie,k+Z}},Bn||Hn);var jn=function(){try{return 1 .toPrecision(void 0)==="1"}catch{return!0}}(),Oi=m.bind(u.toPrecision);ee(u,{toPrecision:function(E){return typeof E>"u"?Oi(this):Oi(this,E)}},jn),"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1?function(){var O=typeof/()??/.exec("")[1]>"u",E=B(2,32)-1;o.split=function(C,k){var Z=String(this);if(typeof C>"u"&&k===0)return[];if(!R(C))return _e(this,C,k);var W=[],ae=(C.ignoreCase?"i":"")+(C.multiline?"m":"")+(C.unicode?"u":"")+(C.sticky?"y":""),ie=0,J,Q,ce,de,pe=new RegExp(C.source,ae+"g");O||(J=new RegExp("^"+pe.source+"$(?!\\s)",ae));var Ge=typeof k>"u"?E:ue.ToUint32(k);for(Q=pe.exec(Z);Q&&(ce=Q.index+Q[0].length,!(ce>ie&&($e(W,be(Z,ie,Q.index)),!O&&Q.length>1&&Q[0].replace(J,function(){for(var Ce=1;Ce<arguments.length-2;Ce++)typeof arguments[Ce]>"u"&&(Q[Ce]=void 0)}),Q.length>1&&Q.index<Z.length&&p.apply(W,Te(Q,1)),de=Q[0].length,ie=ce,W.length>=Ge)));)pe.lastIndex===Q.index&&pe.lastIndex++,Q=pe.exec(Z);return ie===Z.length?(de||!pe.test(""))&&$e(W,""):$e(W,be(Z,ie)),W.length>Ge?Te(W,0,Ge):W}}():"0".split(void 0,0).length&&(o.split=function(E,T){return typeof E>"u"&&T===0?[]:_e(this,E,T)});var Di=o.replace,qn=function(){var O=[];return"x".replace(/x(.)?/g,function(E,T){$e(O,T)}),O.length===1&&typeof O[0]>"u"}();qn||(o.replace=function(E,T){var C=te(T),k=R(E)&&/\)[*?]/.test(E.source);if(!C||!k)return Di.call(this,E,T);var Z=function(W){var ae=arguments.length,ie=E.lastIndex;E.lastIndex=0;var J=E.exec(W)||[];return E.lastIndex=ie,$e(J,arguments[ae-2],arguments[ae-1]),T.apply(this,J)};return Di.call(this,E,Z)});var Li="".substr&&"0b".substr(-1)!=="b",Wn=Li&&m.bind(o.substr);ee(o,{substr:function(E,T){var C=E;return E<0&&(C=_(this.length+E,0)),Wn(this,C,T)}},Li);var ht="᠎",Mi=/\s/.test(ht),Ht=`
  6. \v\f\r   ᠎              \u2028\u2029\uFEFF`.replace(/\S/g,""),Zn="​",Gt="["+Ht+"]",Un=new RegExp("^"+Gt+Gt+"*"),Vn=new RegExp(Gt+Gt+"*$"),Xn=o.trim&&(Ht.trim()!==""||Zn.trim()===""||ht.trim()!==(Mi?"":ht));ee(o,{trim:function(){if(typeof this>"u"||this===null)throw new TypeError("can't convert "+this+" to object");return a(this).replace(Un,"").replace(Vn,"")}},Xn);var ii=m.bind(String.prototype.trim),Yn=o.lastIndexOf&&"abcあい".lastIndexOf("あい",2)!==-1;ee(o,{lastIndexOf:function(E){if(typeof this>"u"||this===null)throw new TypeError("can't convert "+this+" to object");for(var T=a(this),C=a(E),k=arguments.length>1?s(arguments[1]):NaN,Z=je(k)?1/0:ue.ToInteger(k),W=w(_(Z,0),T.length),ae=C.length,ie=W+ae;ie>0;){ie=_(0,ie-ae);var J=$t(be(T,ie,W+ae),C);if(J!==-1)return ie+J}return-1}},Yn);var Kn=o.lastIndexOf;ee(o,{lastIndexOf:function(E){return Kn.apply(this,arguments)}},o.lastIndexOf.length!==1);var ki=/^[-+]?0[xX]/;(parseInt(Ht+"08")!==8||parseInt(Ht+"0x16")!==22||(Mi?parseInt(ht+1)!==1:!isNaN(parseInt(ht+1))))&&(parseInt=function(O){return function E(T,C){this instanceof E&&new O;var k=ii(String(T)),Z=s(C)||(ki.test(k)?16:10);return O(k,Z)}}(parseInt));var Jn=function(){if(typeof Symbol!="function")return!1;try{return parseInt(Object(Symbol.iterator)),!0}catch{}try{return parseInt(Symbol.iterator),!0}catch{}return!1}();if(Jn){var Qn=Symbol.prototype.valueOf;parseInt=function(O){return function E(T,C){this instanceof E&&new O;var k=typeof T=="symbol";if(!k&&T&&typeof T=="object")try{Qn.call(T),k=!0}catch{}k&&""+T;var Z=ii(String(T)),W=s(C)||(ki.test(Z)?16:10);return O(Z,W)}}(parseInt)}if(1/parseFloat("-0")!==-1/0&&(parseFloat=function(O){return function(T){var C=ii(String(T)),k=O(C);return k===0&&be(C,0,1)==="-"?-0:k}}(parseFloat)),String(new RangeError("test"))!=="RangeError: test"){var es=function(){if(typeof this>"u"||this===null)throw new TypeError("can't convert "+this+" to object");var E=this.name;typeof E>"u"?E="Error":typeof E!="string"&&(E=a(E));var T=this.message;return typeof T>"u"?T="":typeof T!="string"&&(T=a(T)),E?T?E+": "+T:E:T};Error.prototype.toString=es}if(he){var Fi=function(O,E){if(lt(O,E)){var T=Object.getOwnPropertyDescriptor(O,E);T.configurable&&(T.enumerable=!1,Object.defineProperty(O,E,T))}};Fi(Error.prototype,"message"),Error.prototype.message!==""&&(Error.prototype.message=""),Fi(Error.prototype,"name")}if(String(/a/mig)!=="/a/gim"){var ts=function(){var E="/"+this.source+"/";return this.global&&(E+="g"),this.ignoreCase&&(E+="i"),this.multiline&&(E+="m"),E};RegExp.prototype.toString=ts}})})(is);(function(e){function t(I){return(t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(I)}function i(I){return(i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(I)}function n(I,x,G){return x in I?Object.defineProperty(I,x,{value:G,enumerable:!0,configurable:!0,writable:!0}):I[x]=G,I}function r(I,x){var G=Object.keys(I);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(I);x&&(q=q.filter(function(re){return Object.getOwnPropertyDescriptor(I,re).enumerable})),G.push.apply(G,q)}return G}function l(I){for(var x=1;x<arguments.length;x++){var G=arguments[x]!=null?arguments[x]:{};x%2?r(Object(G),!0).forEach(function(q){n(I,q,G[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(G)):r(Object(G)).forEach(function(q){Object.defineProperty(I,q,Object.getOwnPropertyDescriptor(G,q))})}return I}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var d='<?xml version="1.0" encoding="utf-8"?><svg version="1.1"xmlns="http://www.w3.org/2000/svg"viewBox="0 12.705 512 486.59"x="0px" y="0px"xml:space="preserve"><polygon points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "/></svg>',c={starWidth:"32px",normalFill:"gray",ratedFill:"#f39c12",numStars:5,maxValue:5,precision:1,rating:0,fullStar:!1,halfStar:!1,hover:!0,readOnly:!1,spacing:"0px",rtl:!1,multiColor:null,onInit:null,onChange:null,onSet:null,starSvg:null},a="#c0392b",o="#f1c40f";function s(){var I,x=!1;return I=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(I)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(I.substr(0,4)))&&(x=!0),x}function u(I,x,G){return I===x?I=x:I===G&&(I=G),I}function h(I,x,G){if(!(I>=x&&I<=G))throw Error("Invalid Rating, expected value between "+x+" and "+G);return I}function f(I,x){return i(I)===x}function p(I){return I!==void 0}var g=function(I){return f(I,"function")},v=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;function b(I){if(!v.test(I))return null;var x=v.exec(I);return{r:parseInt(x[1],16),g:parseInt(x[2],16),b:parseInt(x[3],16)}}function m(I,x,G){var q=G/100*(x-I);return(q=Math.round(I+q).toString(16)).length===1&&(q="0"+q),q}function y(I,x,G){if(!I||!x)return null;G=p(G)?G:0,I=b(I),x=b(x);var q=m(I.r,x.r,G),re=m(I.b,x.b,G);return"#"+q+m(I.g,x.g,G)+re}var _={};function w(I){return _[I]||(_[I]=new String(I))}var A=new WeakMap;function L(I,x,G){G=w(G);var q=A.get(I);q||A.set(I,q=new WeakMap);var re=q.get(G);re||q.set(G,re=new Map);var le=re.get(x);if(le)return le;function he(ee){var me=ee.detail;x.call(I,ee,me)}return re.set(x,he),he}L.get=function(I,x,G){G=w(G);var q=A.get(I);if(!q)return x;var re=q.get(G);return re&&re.get(x)||x};var B=g(window.Event)?window.Event:function(I){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=x.bubbles,q=G!==void 0&&G,re=x.cancelable,le=re!==void 0&&re,he=document.createEvent("Event");return he.initEvent(I,q,le),he},z=g(window.CustomEvent)?window.CustomEvent:(z.prototype=Object.create(B.prototype),z),N={trigger:function(I,x){var G={bubbles:!0};return p(x)?this.node.dispatchEvent(new z(I,l({detail:x},G))):this.node.dispatchEvent(new B(I,G)),this},on:function(I,x){return this.node.addEventListener(I,L(this.node,x,I)),this},off:function(I,x){return this.node.removeEventListener(I,L.get(this.node,x,I)),this}},D=/^rateyo(.+)$/;function P(I,x,G){var q=I.className.trim(),re=q&&q.split(/\s/)||[],le={};if(re=re.reduce(function(he,ee,me){return le.hasOwnProperty(ee)||(he.push(ee),le[ee]=me),he},[]),x===P.add){if(le.hasOwnProperty(G))return;re.push(G)}else if(x===P.remove){if(!le.hasOwnProperty(G))return;re.splice(le[G],1)}I.className=re.join(" ")}function S(I){this.node=I}function H(I){var x=this;this.collection=[],Array.prototype.forEach.call(I,function(G){x.collection.push(new S(G))})}P.add="add",P.remove="remove",S.prototype={empty:function(){return this.node.innerHTML="",this},addClass:function(I){return P(this.node,P.add,I),this},removeClass:function(I){return P(this.node,P.remove,I),this},appendTo:function(I){return(S.isEl(I)?I.node:I).appendChild(this.node),this},css:function(I,x){return this.node.style[I]=x,this},width:function(I){if(!p(I))return this.node.getBoundingClientRect().width;this.css("width",I+(f(I,"number")?"px":""))},find:function(I){return F(this.node.querySelectorAll(I))},attr:function(I){for(var x in I)I.hasOwnProperty(x)&&this.node.setAttribute(x,I[x]);return this},removeAttr:function(I){return this.node.removeAttribute(I),this},children:function(){return F(this.node.childNodes)},remove:function(){return this.node.remove()},offset:function(){var I=this.node.getBoundingClientRect();return{top:I.top,left:I.left,bottom:I.bottom,right:I.right}},dataAttrOptions:function(){var I=this.node.dataset;return Object.keys(I).reduce(function(x,G){var q=G.match(D);if(!q)return x;var re=q[1];return x[re[0].toLowerCase()+re.slice(1)]=I[G],x},{})}},S.prototype=l(l({},S.prototype),N),S.isEl=function(I){return I instanceof S},H.isCollection=function(I){return I instanceof H},H.prototype={};var V=function(I){if(!S.prototype.hasOwnProperty(I))return"continue";H.prototype[I]=function(){for(var x=arguments.length,G=new Array(x),q=0;q<x;q++)G[q]=arguments[q];return this.collection.forEach(function(re){return S.isEl(re)&&re[I].apply(re,G)}),this}};for(var M in S.prototype)V(M);var j=new DOMParser;function F(I){var x;return I=f(I,"string")&&(x=I,j.parseFromString(x.trim(),"text/html").body.childNodes)||I,S.isEl(I)||H.isCollection(I)?I:I instanceof NodeList?new H(I):new S(I)}F.El=S;var X=new WeakMap;function K(I){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(this instanceof K))return new K(I,x);if(X.has(I))return X.get(I);var G=this;this.node=I;var q=F(I);x=l(l(l({},c),x),q.dataAttrOptions()),q.empty().addClass("jq-ry-container");var re,le,he,ee,me,Ee,Ne=F(document.createElement("div")).addClass("jq-ry-group-wrapper").appendTo(q),xe=F(document.createElement("div")).addClass("jq-ry-normal-group").addClass("jq-ry-group").appendTo(Ne),we=F(document.createElement("div")).addClass("jq-ry-rated-group").addClass("jq-ry-group").appendTo(Ne),Be=0,je=x.rating,ue=!1;function ze(Y){p(Y)||(Y=x.rating),je=Y;var ne=Y/re,oe=ne*he;ne>1&&(oe+=(Math.ceil(ne)-1)*me),it(x.ratedFill),(oe=x.rtl?100-oe:oe)<0?oe=0:oe>100&&(oe=100),we.css("width",oe+"%")}function Ae(){Ee=le*x.numStars+ee*(x.numStars-1),he=le/Ee*100,me=ee/Ee*100,q.width(Ee),ze()}function ot(Y){var ne=x.starWidth=Y;return le=window.parseFloat(x.starWidth.replace("px","")),xe.find("svg").attr({width:x.starWidth,height:ne}),we.find("svg").attr({width:x.starWidth,height:ne}),Ae(),q}function Te(Y){return x.spacing=Y,ee=parseFloat(x.spacing.replace("px","")),xe.find("svg:not(:first-child)").css("margin-left",Y),we.find("svg:not(:first-child)").css("margin-left",Y),Ae(),q}function Ye(Y){return x.normalFill=Y,(x.rtl?we:xe).find("svg").attr({fill:x.normalFill}),q}var At=x.ratedFill;function it(Y){if(x.multiColor){var ne=(je-Be)/x.maxValue*100,oe=x.multiColor||{};Y=y(oe.startColor||a,oe.endColor||o,ne)}else At=Y;return x.ratedFill=Y,(x.rtl?xe:we).find("svg").attr({fill:x.ratedFill}),q}function be(Y){Y=!!Y,x.rtl=Y,Ye(x.normalFill),ze()}function _e(Y){x.multiColor=Y,it(Y||At)}function $t(Y){x.numStars=Y,re=x.maxValue/x.numStars,xe.empty(),we.empty();for(var ne=0;ne<x.numStars;ne++)F(x.starSvg||d).appendTo(xe),F(x.starSvg||d).appendTo(we);return ot(x.starWidth),Ye(x.normalFill),Te(x.spacing),ze(),q}function $e(Y){return x.maxValue=Y,re=x.maxValue/x.numStars,x.rating>Y&&He(Y),ze(),q}function lt(Y){return x.precision=Y,He(x.rating),q}function It(Y){return x.halfStar=Y,q}function nt(Y){return x.fullStar=Y,q}function Zt(Y){var ne=Y%re,oe=re/2,qe=x.halfStar,Ue=x.fullStar;return(Ue||qe)&&(Ue||qe&&ne>oe?Y+=re-ne:(Y-=ne,ne>0&&(Y+=oe))),Y}function ut(Y){var ne=xe.offset().left,oe=ne+xe.width(),qe=x.maxValue,Ue=Y.pageX,Me=0;if(Ue<ne)Me=Be;else if(Ue>oe)Me=qe;else{var Rt=(Ue-ne)/(oe-ne);if(ee>0)for(var Je=Rt*=100;Je>0;)Je>he?(Me+=re,Je-=he+me):(Me+=Je/he*re,Je=0);else Me=Rt*x.maxValue;Me=Zt(Me)}return x.rtl&&(Me=qe-Me),parseFloat(Me)}function Ie(Y){return x.readOnly=Y,q.attr({readonly:!0}),Ke(),Y||(q.removeAttr("readonly"),zt()),q}function He(Y){var ne=Y,oe=x.maxValue;return typeof ne=="string"&&(ne[ne.length-1]==="%"&&(ne=ne.substr(0,ne.length-1),$e(oe=100)),ne=parseFloat(ne)),h(ne,Be,oe),ne=parseFloat(ne.toFixed(x.precision)),u(parseFloat(ne),Be,oe),x.rating=ne,ze(),ue&&q.trigger("rateyo.set",{rating:ne}),q}function Pt(Y){return x.onInit=Y,q}function Ot(Y){return x.onSet=Y,q}function Ut(Y){return x.onChange=Y,q}function st(Y){if(x.hover){var ne=ut(Y).toFixed(x.precision),oe=x.maxValue;ze(ne=u(parseFloat(ne),Be,oe)),q.trigger("rateyo.change",{rating:ne})}}function Dt(){!s()&&x.hover&&(ze(),q.trigger("rateyo.change",{rating:x.rating}))}function Lt(Y){var ne=ut(Y).toFixed(x.precision);ne=parseFloat(ne),G.rating(ne)}function Mt(Y,ne){x.onInit&&typeof x.onInit=="function"&&x.onInit.apply(this,[ne.rating,G])}function kt(Y,ne){x.onChange&&typeof x.onChange=="function"&&x.onChange.apply(this,[ne.rating,G])}function Ft(Y,ne){x.onSet&&typeof x.onSet=="function"&&x.onSet.apply(this,[ne.rating,G])}function zt(){q.on("mousemove",st).on("mouseenter",st).on("mouseleave",Dt).on("click",Lt).on("rateyo.init",Mt).on("rateyo.change",kt).on("rateyo.set",Ft)}function Ke(){q.off("mousemove",st).off("mouseenter",st).off("mouseleave",Dt).off("click",Lt).off("rateyo.init",Mt).off("rateyo.change",kt).off("rateyo.set",Ft)}this.rating=function(Y){return p(Y)?(He(Y),q):x.rating},this.destroy=function(){return x.readOnly||Ke(),X.delete(I),q.removeClass("jq-ry-container").children().remove(),q},this.method=function(Y){if(!Y)throw Error("Method name not specified!");if(!p(this[Y]))throw Error("Method "+Y+" doesn't exist!");var ne=Array.prototype.slice.apply(arguments,[]),oe=ne.slice(1),qe=this[Y];return qe.apply(this,oe)},this.option=function(Y,ne){if(!p(Y))return x;var oe;switch(Y){case"starWidth":oe=ot;break;case"numStars":oe=$t;break;case"normalFill":oe=Ye;break;case"ratedFill":oe=it;break;case"multiColor":oe=_e;break;case"maxValue":oe=$e;break;case"precision":oe=lt;break;case"rating":oe=He;break;case"halfStar":oe=It;break;case"fullStar":oe=nt;break;case"readOnly":oe=Ie;break;case"spacing":oe=Te;break;case"rtl":oe=be;break;case"onInit":oe=Pt;break;case"onSet":oe=Ot;break;case"onChange":oe=Ut;break;default:throw Error("No such option as "+Y)}return p(ne)?oe(ne):x[Y]},$t(x.numStars),Ie(x.readOnly),x.rtl&&be(x.rtl),X.set(I,this),this.rating(x.rating,!0),ue=!0,q.trigger("rateyo.init",{rating:x.rating})}Object.defineProperty(K.prototype,"on",{value:function(I,x){return F(this.node).on(I,x),this}}),Object.defineProperty(K.prototype,"off",{value:function(I,x){return F(this.node).off(I,x),this}}),Object.defineProperty(K,"has",{value:function(I){return X.has(I)}}),Object.defineProperty(K,"get",{value:function(I){return X.get(I)}}),Object.defineProperty(K,"_$",{get:function(){return F}});var te=K._$,R=te.El.prototype.trigger;function se(I){var x=e(this);if(x.length===0)return x;var G=Array.prototype.slice.apply(arguments,[]);if(G.length===0)I=G[0]={};else{if(G.length!==1||t(G[0])!=="object"){if(G.length>=1&&typeof G[0]=="string"){var q=G[0],re=G.slice(1),le=[];return e.each(x,function(he,ee){var me=K.get(ee);if(!me)throw Error("Trying to set options before even initialization");var Ee=me[q];if(!Ee)throw Error("Method "+q+" does not exist!");var Ne=Ee.apply(me,re);le.push(Ne)}),le=le.length===1?le[0]:le}throw Error("Invalid Arguments")}I=G[0]}return e.each(x,function(){return new K(this,e.extend({},I))})}te.El.prototype.trigger=function(){for(var I,x=arguments.length,G=new Array(x),q=0;q<x;q++)G[q]=arguments[q];R.apply(this,G),(I=e(this.node)).trigger.apply(I,G)},e.fn.rateYo=function(){return se.apply(this,Array.prototype.slice.apply(arguments,[]))}})($);function Ri(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function pi(e={},t={}){Object.keys(t).forEach(i=>{typeof e[i]>"u"?e[i]=t[i]:Ri(t[i])&&Ri(e[i])&&Object.keys(t[i]).length>0&&pi(e[i],t[i])})}const en={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ye(){const e=typeof document<"u"?document:{};return pi(e,en),e}const ns={document:en,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function ge(){const e=typeof window<"u"?window:{};return pi(e,ns),e}function ss(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return t},set(i){t.__proto__=i}})}class Ve extends Array{constructor(t){typeof t=="number"?super(t):(super(...t||[]),ss(this))}}function Tt(e=[]){const t=[];return e.forEach(i=>{Array.isArray(i)?t.push(...Tt(i)):t.push(i)}),t}function tn(e,t){return Array.prototype.filter.call(e,t)}function rs(e){const t=[];for(let i=0;i<e.length;i+=1)t.indexOf(e[i])===-1&&t.push(e[i]);return t}function as(e,t){if(typeof e!="string")return[e];const i=[],n=t.querySelectorAll(e);for(let r=0;r<n.length;r+=1)i.push(n[r]);return i}function U(e,t){const i=ge(),n=ye();let r=[];if(!t&&e instanceof Ve)return e;if(!e)return new Ve(r);if(typeof e=="string"){const l=e.trim();if(l.indexOf("<")>=0&&l.indexOf(">")>=0){let d="div";l.indexOf("<li")===0&&(d="ul"),l.indexOf("<tr")===0&&(d="tbody"),(l.indexOf("<td")===0||l.indexOf("<th")===0)&&(d="tr"),l.indexOf("<tbody")===0&&(d="table"),l.indexOf("<option")===0&&(d="select");const c=n.createElement(d);c.innerHTML=l;for(let a=0;a<c.childNodes.length;a+=1)r.push(c.childNodes[a])}else r=as(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)r.push(e);else if(Array.isArray(e)){if(e instanceof Ve)return e;r=e}return new Ve(rs(r))}U.fn=Ve.prototype;function os(...e){const t=Tt(e.map(i=>i.split(" ")));return this.forEach(i=>{i.classList.add(...t)}),this}function ls(...e){const t=Tt(e.map(i=>i.split(" ")));return this.forEach(i=>{i.classList.remove(...t)}),this}function us(...e){const t=Tt(e.map(i=>i.split(" ")));this.forEach(i=>{t.forEach(n=>{i.classList.toggle(n)})})}function cs(...e){const t=Tt(e.map(i=>i.split(" ")));return tn(this,i=>t.filter(n=>i.classList.contains(n)).length>0).length>0}function ds(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(arguments.length===2)this[i].setAttribute(e,t);else for(const n in e)this[i][n]=e[n],this[i].setAttribute(n,e[n]);return this}function hs(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function fs(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function ps(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration=typeof e!="string"?`${e}ms`:e;return this}function gs(...e){let[t,i,n,r]=e;typeof e[1]=="function"&&([t,n,r]=e,i=void 0),r||(r=!1);function l(o){const s=o.target;if(!s)return;const u=o.target.dom7EventData||[];if(u.indexOf(o)<0&&u.unshift(o),U(s).is(i))n.apply(s,u);else{const h=U(s).parents();for(let f=0;f<h.length;f+=1)U(h[f]).is(i)&&n.apply(h[f],u)}}function d(o){const s=o&&o.target?o.target.dom7EventData||[]:[];s.indexOf(o)<0&&s.unshift(o),n.apply(this,s)}const c=t.split(" ");let a;for(let o=0;o<this.length;o+=1){const s=this[o];if(i)for(a=0;a<c.length;a+=1){const u=c[a];s.dom7LiveListeners||(s.dom7LiveListeners={}),s.dom7LiveListeners[u]||(s.dom7LiveListeners[u]=[]),s.dom7LiveListeners[u].push({listener:n,proxyListener:l}),s.addEventListener(u,l,r)}else for(a=0;a<c.length;a+=1){const u=c[a];s.dom7Listeners||(s.dom7Listeners={}),s.dom7Listeners[u]||(s.dom7Listeners[u]=[]),s.dom7Listeners[u].push({listener:n,proxyListener:d}),s.addEventListener(u,d,r)}}return this}function ms(...e){let[t,i,n,r]=e;typeof e[1]=="function"&&([t,n,r]=e,i=void 0),r||(r=!1);const l=t.split(" ");for(let d=0;d<l.length;d+=1){const c=l[d];for(let a=0;a<this.length;a+=1){const o=this[a];let s;if(!i&&o.dom7Listeners?s=o.dom7Listeners[c]:i&&o.dom7LiveListeners&&(s=o.dom7LiveListeners[c]),s&&s.length)for(let u=s.length-1;u>=0;u-=1){const h=s[u];n&&h.listener===n||n&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===n?(o.removeEventListener(c,h.proxyListener,r),s.splice(u,1)):n||(o.removeEventListener(c,h.proxyListener,r),s.splice(u,1))}}}return this}function vs(...e){const t=ge(),i=e[0].split(" "),n=e[1];for(let r=0;r<i.length;r+=1){const l=i[r];for(let d=0;d<this.length;d+=1){const c=this[d];if(t.CustomEvent){const a=new t.CustomEvent(l,{detail:n,bubbles:!0,cancelable:!0});c.dom7EventData=e.filter((o,s)=>s>0),c.dispatchEvent(a),c.dom7EventData=[],delete c.dom7EventData}}}return this}function ys(e){const t=this;function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))}return e&&t.on("transitionend",i),this}function bs(e){if(this.length>0){if(e){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function Es(e){if(this.length>0){if(e){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function Ss(){if(this.length>0){const e=ge(),t=ye(),i=this[0],n=i.getBoundingClientRect(),r=t.body,l=i.clientTop||r.clientTop||0,d=i.clientLeft||r.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,a=i===e?e.scrollX:i.scrollLeft;return{top:n.top+c-l,left:n.left+a-d}}return null}function xs(){const e=ge();return this[0]?e.getComputedStyle(this[0],null):{}}function _s(e,t){const i=ge();let n;if(arguments.length===1)if(typeof e=="string"){if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(n=0;n<this.length;n+=1)for(const r in e)this[n].style[r]=e[r];return this}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function Ts(e){return e?(this.forEach((t,i)=>{e.apply(t,[t,i])}),this):this}function Cs(e){const t=tn(this,e);return U(t)}function ws(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function As(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this}function $s(e){const t=ge(),i=ye(),n=this[0];let r,l;if(!n||typeof e>"u")return!1;if(typeof e=="string"){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(r=U(e),l=0;l<r.length;l+=1)if(r[l]===n)return!0;return!1}if(e===i)return n===i;if(e===t)return n===t;if(e.nodeType||e instanceof Ve){for(r=e.nodeType?[e]:e,l=0;l<r.length;l+=1)if(r[l]===n)return!0;return!1}return!1}function Is(){let e=this[0],t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Ps(e){if(typeof e>"u")return this;const t=this.length;if(e>t-1)return U([]);if(e<0){const i=t+e;return i<0?U([]):U([this[i]])}return U([this[e]])}function Os(...e){let t;const i=ye();for(let n=0;n<e.length;n+=1){t=e[n];for(let r=0;r<this.length;r+=1)if(typeof t=="string"){const l=i.createElement("div");for(l.innerHTML=t;l.firstChild;)this[r].appendChild(l.firstChild)}else if(t instanceof Ve)for(let l=0;l<t.length;l+=1)this[r].appendChild(t[l]);else this[r].appendChild(t)}return this}function Ds(e){const t=ye();let i,n;for(i=0;i<this.length;i+=1)if(typeof e=="string"){const r=t.createElement("div");for(r.innerHTML=e,n=r.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(r.childNodes[n],this[i].childNodes[0])}else if(e instanceof Ve)for(n=0;n<e.length;n+=1)this[i].insertBefore(e[n],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this}function Ls(e){return this.length>0?e?this[0].nextElementSibling&&U(this[0].nextElementSibling).is(e)?U([this[0].nextElementSibling]):U([]):this[0].nextElementSibling?U([this[0].nextElementSibling]):U([]):U([])}function Ms(e){const t=[];let i=this[0];if(!i)return U([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?U(n).is(e)&&t.push(n):t.push(n),i=n}return U(t)}function ks(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&U(t.previousElementSibling).is(e)?U([t.previousElementSibling]):U([]):t.previousElementSibling?U([t.previousElementSibling]):U([])}return U([])}function Fs(e){const t=[];let i=this[0];if(!i)return U([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?U(n).is(e)&&t.push(n):t.push(n),i=n}return U(t)}function zs(e){const t=[];for(let i=0;i<this.length;i+=1)this[i].parentNode!==null&&(e?U(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return U(t)}function Rs(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?U(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return U(t)}function Ns(e){let t=this;return typeof e>"u"?U([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function Bs(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let r=0;r<n.length;r+=1)t.push(n[r])}return U(t)}function Hs(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let r=0;r<n.length;r+=1)(!e||U(n[r]).is(e))&&t.push(n[r])}return U(t)}function Gs(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}const Ni={addClass:os,removeClass:ls,hasClass:cs,toggleClass:us,attr:ds,removeAttr:hs,transform:fs,transition:ps,on:gs,off:ms,trigger:vs,transitionEnd:ys,outerWidth:bs,outerHeight:Es,styles:xs,offset:Ss,css:_s,each:Ts,html:ws,text:As,is:$s,index:Is,eq:Ps,append:Os,prepend:Ds,next:Ls,nextAll:Ms,prev:ks,prevAll:Fs,parent:zs,parents:Rs,closest:Ns,find:Bs,children:Hs,filter:Cs,remove:Gs};Object.keys(Ni).forEach(e=>{Object.defineProperty(U.fn,e,{value:Ni[e],writable:!0})});function js(e){const t=e;Object.keys(t).forEach(i=>{try{t[i]=null}catch{}try{delete t[i]}catch{}})}function Xe(e,t=0){return setTimeout(e,t)}function De(){return Date.now()}function qs(e){const t=ge();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}function ci(e,t="x"){const i=ge();let n,r,l;const d=qs(e);return i.WebKitCSSMatrix?(r=d.transform||d.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(c=>c.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(r==="none"?"":r)):(l=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),t==="x"&&(i.WebKitCSSMatrix?r=l.m41:n.length===16?r=parseFloat(n[12]):r=parseFloat(n[4])),t==="y"&&(i.WebKitCSSMatrix?r=l.m42:n.length===16?r=parseFloat(n[13]):r=parseFloat(n[5])),r||0}function vt(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Ws(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Oe(...e){const t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let n=1;n<e.length;n+=1){const r=e[n];if(r!=null&&!Ws(r)){const l=Object.keys(Object(r)).filter(d=>i.indexOf(d)<0);for(let d=0,c=l.length;d<c;d+=1){const a=l[d],o=Object.getOwnPropertyDescriptor(r,a);o!==void 0&&o.enumerable&&(vt(t[a])&&vt(r[a])?r[a].__swiper__?t[a]=r[a]:Oe(t[a],r[a]):!vt(t[a])&&vt(r[a])?(t[a]={},r[a].__swiper__?t[a]=r[a]:Oe(t[a],r[a])):t[a]=r[a])}}}return t}function yt(e,t,i){e.style.setProperty(t,i)}function nn({swiper:e,targetPosition:t,side:i}){const n=ge(),r=-e.translate;let l=null,d;const c=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const a=t>r?"next":"prev",o=(u,h)=>a==="next"&&u>=h||a==="prev"&&u<=h,s=()=>{d=new Date().getTime(),l===null&&(l=d);const u=Math.max(Math.min((d-l)/c,1),0),h=.5-Math.cos(u*Math.PI)/2;let f=r+h*(t-r);if(o(f,t)&&(f=t),e.wrapperEl.scrollTo({[i]:f}),o(f,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:f})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(s)};s()}let si;function Zs(){const e=ge(),t=ye();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let n=!1;try{const r=Object.defineProperty({},"passive",{get(){n=!0}});e.addEventListener("testPassiveListener",null,r)}catch{}return n}(),gestures:function(){return"ongesturestart"in e}()}}function sn(){return si||(si=Zs()),si}let ri;function Us({userAgent:e}={}){const t=sn(),i=ge(),n=i.navigator.platform,r=e||i.navigator.userAgent,l={ios:!1,android:!1},d=i.screen.width,c=i.screen.height,a=r.match(/(Android);?[\s\/]+([\d.]+)?/);let o=r.match(/(iPad).*OS\s([\d_]+)/);const s=r.match(/(iPod)(.*OS\s([\d_]+))?/),u=!o&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=n==="Win32";let f=n==="MacIntel";const p=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!o&&f&&t.touch&&p.indexOf(`${d}x${c}`)>=0&&(o=r.match(/(Version)\/([\d.]+)/),o||(o=[0,1,"13_0_0"]),f=!1),a&&!h&&(l.os="android",l.android=!0),(o||u||s)&&(l.os="ios",l.ios=!0),l}function Vs(e={}){return ri||(ri=Us(e)),ri}let ai;function Xs(){const e=ge();function t(){const i=e.navigator.userAgent.toLowerCase();return i.indexOf("safari")>=0&&i.indexOf("chrome")<0&&i.indexOf("android")<0}return{isSafari:t(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function Ys(){return ai||(ai=Xs()),ai}function Ks({swiper:e,on:t,emit:i}){const n=ge();let r=null,l=null;const d=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},c=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(s=>{l=n.requestAnimationFrame(()=>{const{width:u,height:h}=e;let f=u,p=h;s.forEach(({contentBoxSize:g,contentRect:v,target:b})=>{b&&b!==e.el||(f=v?v.width:(g[0]||g).inlineSize,p=v?v.height:(g[0]||g).blockSize)}),(f!==u||p!==h)&&d()})}),r.observe(e.el))},a=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},o=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){c();return}n.addEventListener("resize",d),n.addEventListener("orientationchange",o)}),t("destroy",()=>{a(),n.removeEventListener("resize",d),n.removeEventListener("orientationchange",o)})}function Js({swiper:e,extendParams:t,on:i,emit:n}){const r=[],l=ge(),d=(o,s={})=>{const u=l.MutationObserver||l.WebkitMutationObserver,h=new u(f=>{if(f.length===1){n("observerUpdate",f[0]);return}const p=function(){n("observerUpdate",f[0])};l.requestAnimationFrame?l.requestAnimationFrame(p):l.setTimeout(p,0)});h.observe(o,{attributes:typeof s.attributes>"u"?!0:s.attributes,childList:typeof s.childList>"u"?!0:s.childList,characterData:typeof s.characterData>"u"?!0:s.characterData}),r.push(h)},c=()=>{if(e.params.observer){if(e.params.observeParents){const o=e.$el.parents();for(let s=0;s<o.length;s+=1)d(o[s])}d(e.$el[0],{childList:e.params.observeSlideChildren}),d(e.$wrapperEl[0],{attributes:!1})}},a=()=>{r.forEach(o=>{o.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",c),i("destroy",a)}const Qs={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const r=i?"unshift":"push";return e.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][r](t)}),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;function r(...l){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(n,l)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||e.split(" ").forEach(n=>{typeof t>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((r,l)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&i.eventsListeners[n].splice(l,1)})}),i},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let i,n,r;return typeof e[0]=="string"||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),r=t):(i=e[0].events,n=e[0].data,r=e[0].context||t),n.unshift(r),(Array.isArray(i)?i:i.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(r,[d,...n])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(c=>{c.apply(r,n)})}),t}};function er(){const e=this;let t,i;const n=e.$el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=n[0].clientWidth,typeof e.params.height<"u"&&e.params.height!==null?i=e.params.height:i=n[0].clientHeight,!(t===0&&e.isHorizontal()||i===0&&e.isVertical())&&(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))}function tr(){const e=this;function t(N){return e.isHorizontal()?N:{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"}[N]}function i(N,D){return parseFloat(N.getPropertyValue(t(D))||0)}const n=e.params,{$wrapperEl:r,size:l,rtlTranslate:d,wrongRTL:c}=e,a=e.virtual&&n.virtual.enabled,o=a?e.virtual.slides.length:e.slides.length,s=r.children(`.${e.params.slideClass}`),u=a?e.virtual.slides.length:s.length;let h=[];const f=[],p=[];let g=n.slidesOffsetBefore;typeof g=="function"&&(g=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;typeof v=="function"&&(v=n.slidesOffsetAfter.call(e));const b=e.snapGrid.length,m=e.slidesGrid.length;let y=n.spaceBetween,_=-g,w=0,A=0;if(typeof l>"u")return;typeof y=="string"&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*l),e.virtualSize=-y,d?s.css({marginLeft:"",marginBottom:"",marginTop:""}):s.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(yt(e.wrapperEl,"--swiper-centered-offset-before",""),yt(e.wrapperEl,"--swiper-centered-offset-after",""));const L=n.grid&&n.grid.rows>1&&e.grid;L&&e.grid.initSlides(u);let B;const z=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(N=>typeof n.breakpoints[N].slidesPerView<"u").length>0;for(let N=0;N<u;N+=1){B=0;const D=s.eq(N);if(L&&e.grid.updateSlide(N,D,u,t),D.css("display")!=="none"){if(n.slidesPerView==="auto"){z&&(s[N].style[t("width")]="");const P=getComputedStyle(D[0]),S=D[0].style.transform,H=D[0].style.webkitTransform;if(S&&(D[0].style.transform="none"),H&&(D[0].style.webkitTransform="none"),n.roundLengths)B=e.isHorizontal()?D.outerWidth(!0):D.outerHeight(!0);else{const V=i(P,"width"),M=i(P,"padding-left"),j=i(P,"padding-right"),F=i(P,"margin-left"),X=i(P,"margin-right"),K=P.getPropertyValue("box-sizing");if(K&&K==="border-box")B=V+F+X;else{const{clientWidth:te,offsetWidth:R}=D[0];B=V+M+j+F+X+(R-te)}}S&&(D[0].style.transform=S),H&&(D[0].style.webkitTransform=H),n.roundLengths&&(B=Math.floor(B))}else B=(l-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(B=Math.floor(B)),s[N]&&(s[N].style[t("width")]=`${B}px`);s[N]&&(s[N].swiperSlideSize=B),p.push(B),n.centeredSlides?(_=_+B/2+w/2+y,w===0&&N!==0&&(_=_-l/2-y),N===0&&(_=_-l/2-y),Math.abs(_)<1/1e3&&(_=0),n.roundLengths&&(_=Math.floor(_)),A%n.slidesPerGroup===0&&h.push(_),f.push(_)):(n.roundLengths&&(_=Math.floor(_)),(A-Math.min(e.params.slidesPerGroupSkip,A))%e.params.slidesPerGroup===0&&h.push(_),f.push(_),_=_+B+y),e.virtualSize+=B+y,w=B,A+=1}}if(e.virtualSize=Math.max(e.virtualSize,l)+v,d&&c&&(n.effect==="slide"||n.effect==="coverflow")&&r.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),L&&e.grid.updateWrapperSize(B,h,t),!n.centeredSlides){const N=[];for(let D=0;D<h.length;D+=1){let P=h[D];n.roundLengths&&(P=Math.floor(P)),h[D]<=e.virtualSize-l&&N.push(P)}h=N,Math.floor(e.virtualSize-l)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-l)}if(h.length===0&&(h=[0]),n.spaceBetween!==0){const N=e.isHorizontal()&&d?"marginLeft":t("marginRight");s.filter((D,P)=>n.cssMode?P!==s.length-1:!0).css({[N]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let N=0;p.forEach(P=>{N+=P+(n.spaceBetween?n.spaceBetween:0)}),N-=n.spaceBetween;const D=N-l;h=h.map(P=>P<0?-g:P>D?D+v:P)}if(n.centerInsufficientSlides){let N=0;if(p.forEach(D=>{N+=D+(n.spaceBetween?n.spaceBetween:0)}),N-=n.spaceBetween,N<l){const D=(l-N)/2;h.forEach((P,S)=>{h[S]=P-D}),f.forEach((P,S)=>{f[S]=P+D})}}if(Object.assign(e,{slides:s,snapGrid:h,slidesGrid:f,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){yt(e.wrapperEl,"--swiper-centered-offset-before",`${-h[0]}px`),yt(e.wrapperEl,"--swiper-centered-offset-after",`${e.size/2-p[p.length-1]/2}px`);const N=-e.snapGrid[0],D=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(P=>P+N),e.slidesGrid=e.slidesGrid.map(P=>P+D)}if(u!==o&&e.emit("slidesLengthChange"),h.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==m&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!a&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const N=`${n.containerModifierClass}backface-hidden`,D=e.$el.hasClass(N);u<=n.maxBackfaceHiddenSlides?D||e.$el.addClass(N):D&&e.$el.removeClass(N)}}function ir(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r=0,l;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const d=c=>n?t.slides.filter(a=>parseInt(a.getAttribute("data-swiper-slide-index"),10)===c)[0]:t.slides.eq(c)[0];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||U([])).each(c=>{i.push(c)});else for(l=0;l<Math.ceil(t.params.slidesPerView);l+=1){const c=t.activeIndex+l;if(c>t.slides.length&&!n)break;i.push(d(c))}else i.push(d(t.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const c=i[l].offsetHeight;r=c>r?c:r}(r||r===0)&&t.$wrapperEl.css("height",`${r}px`)}function nr(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop}function sr(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:r,snapGrid:l}=t;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let d=-e;r&&(d=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let c=0;c<n.length;c+=1){const a=n[c];let o=a.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(o-=n[0].swiperSlideOffset);const s=(d+(i.centeredSlides?t.minTranslate():0)-o)/(a.swiperSlideSize+i.spaceBetween),u=(d-l[0]+(i.centeredSlides?t.minTranslate():0)-o)/(a.swiperSlideSize+i.spaceBetween),h=-(d-o),f=h+t.slidesSizesGrid[c];(h>=0&&h<t.size-1||f>1&&f<=t.size||h<=0&&f>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(c),n.eq(c).addClass(i.slideVisibleClass)),a.progress=r?-s:s,a.originalProgress=r?-u:u}t.visibleSlides=U(t.visibleSlides)}function rr(e){const t=this;if(typeof e>"u"){const o=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*o||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:l,isEnd:d}=t;const c=l,a=d;n===0?(r=0,l=!0,d=!0):(r=(e-t.minTranslate())/n,l=r<=0,d=r>=1),Object.assign(t,{progress:r,isBeginning:l,isEnd:d}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),l&&!c&&t.emit("reachBeginning toEdge"),d&&!a&&t.emit("reachEnd toEdge"),(c&&!l||a&&!d)&&t.emit("fromEdge"),t.emit("progress",r)}function ar(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:r,realIndex:l}=e,d=e.virtual&&i.virtual.enabled;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`);let c;d?c=e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${r}"]`):c=t.eq(r),c.addClass(i.slideActiveClass),i.loop&&(c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l}"]`).addClass(i.slideDuplicateActiveClass));let a=c.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);i.loop&&a.length===0&&(a=t.eq(0),a.addClass(i.slideNextClass));let o=c.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&o.length===0&&(o=t.eq(-1),o.addClass(i.slidePrevClass)),i.loop&&(a.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()}function or(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:r,params:l,activeIndex:d,realIndex:c,snapIndex:a}=t;let o=e,s;if(typeof o>"u"){for(let h=0;h<n.length;h+=1)typeof n[h+1]<"u"?i>=n[h]&&i<n[h+1]-(n[h+1]-n[h])/2?o=h:i>=n[h]&&i<n[h+1]&&(o=h+1):i>=n[h]&&(o=h);l.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0)}if(r.indexOf(i)>=0)s=r.indexOf(i);else{const h=Math.min(l.slidesPerGroupSkip,o);s=h+Math.floor((o-h)/l.slidesPerGroup)}if(s>=r.length&&(s=r.length-1),o===d){s!==a&&(t.snapIndex=s,t.emit("snapIndexChange"));return}const u=parseInt(t.slides.eq(o).attr("data-swiper-slide-index")||o,10);Object.assign(t,{snapIndex:s,realIndex:u,previousIndex:d,activeIndex:o}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),c!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function lr(e){const t=this,i=t.params,n=U(e).closest(`.${i.slideClass}`)[0];let r=!1,l;if(n){for(let d=0;d<t.slides.length;d+=1)if(t.slides[d]===n){r=!0,l=d;break}}if(n&&r)t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(U(n).attr("data-swiper-slide-index"),10):t.clickedIndex=l;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}const ur={updateSize:er,updateSlides:tr,updateAutoHeight:ir,updateSlidesOffset:nr,updateSlidesProgress:sr,updateProgress:rr,updateSlidesClasses:ar,updateActiveIndex:or,updateClickedSlide:lr};function cr(e=this.isHorizontal()?"x":"y"){const t=this,{params:i,rtlTranslate:n,translate:r,$wrapperEl:l}=t;if(i.virtualTranslate)return n?-r:r;if(i.cssMode)return r;let d=ci(l[0],e);return n&&(d=-d),d||0}function dr(e,t){const i=this,{rtlTranslate:n,params:r,$wrapperEl:l,wrapperEl:d,progress:c}=i;let a=0,o=0;const s=0;i.isHorizontal()?a=n?-e:e:o=e,r.roundLengths&&(a=Math.floor(a),o=Math.floor(o)),r.cssMode?d[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-o:r.virtualTranslate||l.transform(`translate3d(${a}px, ${o}px, ${s}px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:o;let u;const h=i.maxTranslate()-i.minTranslate();h===0?u=0:u=(e-i.minTranslate())/h,u!==c&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function hr(){return-this.snapGrid[0]}function fr(){return-this.snapGrid[this.snapGrid.length-1]}function pr(e=0,t=this.params.speed,i=!0,n=!0,r){const l=this,{params:d,wrapperEl:c}=l;if(l.animating&&d.preventInteractionOnTransition)return!1;const a=l.minTranslate(),o=l.maxTranslate();let s;if(n&&e>a?s=a:n&&e<o?s=o:s=e,l.updateProgress(s),d.cssMode){const u=l.isHorizontal();if(t===0)c[u?"scrollLeft":"scrollTop"]=-s;else{if(!l.support.smoothScroll)return nn({swiper:l,targetPosition:-s,side:u?"left":"top"}),!0;c.scrollTo({[u?"left":"top"]:-s,behavior:"smooth"})}return!0}return t===0?(l.setTransition(0),l.setTranslate(s),i&&(l.emit("beforeTransitionStart",t,r),l.emit("transitionEnd"))):(l.setTransition(t),l.setTranslate(s),i&&(l.emit("beforeTransitionStart",t,r),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(h){!l||l.destroyed||h.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,i&&l.emit("transitionEnd"))}),l.$wrapperEl[0].addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onTranslateToWrapperTransitionEnd))),!0}const gr={getTranslate:cr,setTranslate:dr,minTranslate:hr,maxTranslate:fr,translateTo:pr};function mr(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)}function rn({swiper:e,runCallbacks:t,direction:i,step:n}){const{activeIndex:r,previousIndex:l}=e;let d=i;if(d||(r>l?d="next":r<l?d="prev":d="reset"),e.emit(`transition${n}`),t&&r!==l){if(d==="reset"){e.emit(`slideResetTransition${n}`);return}e.emit(`slideChangeTransition${n}`),d==="next"?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}function vr(e=!0,t){const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),rn({swiper:i,runCallbacks:e,direction:t,step:"Start"}))}function yr(e=!0,t){const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),rn({swiper:i,runCallbacks:e,direction:t,step:"End"}))}const br={setTransition:mr,transitionStart:vr,transitionEnd:yr};function Er(e=0,t=this.params.speed,i=!0,n,r){if(typeof e!="number"&&typeof e!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if(typeof e=="string"){const y=parseInt(e,10);if(!isFinite(y))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=y}const l=this;let d=e;d<0&&(d=0);const{params:c,snapGrid:a,slidesGrid:o,previousIndex:s,activeIndex:u,rtlTranslate:h,wrapperEl:f,enabled:p}=l;if(l.animating&&c.preventInteractionOnTransition||!p&&!n&&!r)return!1;const g=Math.min(l.params.slidesPerGroupSkip,d);let v=g+Math.floor((d-g)/l.params.slidesPerGroup);v>=a.length&&(v=a.length-1);const b=-a[v];if(c.normalizeSlideIndex)for(let y=0;y<o.length;y+=1){const _=-Math.floor(b*100),w=Math.floor(o[y]*100),A=Math.floor(o[y+1]*100);typeof o[y+1]<"u"?_>=w&&_<A-(A-w)/2?d=y:_>=w&&_<A&&(d=y+1):_>=w&&(d=y)}if(l.initialized&&d!==u&&(!l.allowSlideNext&&b<l.translate&&b<l.minTranslate()||!l.allowSlidePrev&&b>l.translate&&b>l.maxTranslate()&&(u||0)!==d))return!1;d!==(s||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(b);let m;if(d>u?m="next":d<u?m="prev":m="reset",h&&-b===l.translate||!h&&b===l.translate)return l.updateActiveIndex(d),c.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),c.effect!=="slide"&&l.setTranslate(b),m!=="reset"&&(l.transitionStart(i,m),l.transitionEnd(i,m)),!1;if(c.cssMode){const y=l.isHorizontal(),_=h?b:-b;if(t===0){const w=l.virtual&&l.params.virtual.enabled;w&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),f[y?"scrollLeft":"scrollTop"]=_,w&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._swiperImmediateVirtual=!1})}else{if(!l.support.smoothScroll)return nn({swiper:l,targetPosition:_,side:y?"left":"top"}),!0;f.scrollTo({[y?"left":"top"]:_,behavior:"smooth"})}return!0}return l.setTransition(t),l.setTranslate(b),l.updateActiveIndex(d),l.updateSlidesClasses(),l.emit("beforeTransitionStart",t,n),l.transitionStart(i,m),t===0?l.transitionEnd(i,m):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(_){!l||l.destroyed||_.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,m))}),l.$wrapperEl[0].addEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd)),!0}function Sr(e=0,t=this.params.speed,i=!0,n){if(typeof e=="string"){const d=parseInt(e,10);if(!isFinite(d))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=d}const r=this;let l=e;return r.params.loop&&(l+=r.loopedSlides),r.slideTo(l,t,i,n)}function xr(e=this.params.speed,t=!0,i){const n=this,{animating:r,enabled:l,params:d}=n;if(!l)return n;let c=d.slidesPerGroup;d.slidesPerView==="auto"&&d.slidesPerGroup===1&&d.slidesPerGroupAuto&&(c=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<d.slidesPerGroupSkip?1:c;if(d.loop){if(r&&d.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return d.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+a,e,t,i)}function _r(e=this.params.speed,t=!0,i){const n=this,{params:r,animating:l,snapGrid:d,slidesGrid:c,rtlTranslate:a,enabled:o}=n;if(!o)return n;if(r.loop){if(l&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}const s=a?n.translate:-n.translate;function u(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const h=u(s),f=d.map(v=>u(v));let p=d[f.indexOf(h)-1];if(typeof p>"u"&&r.cssMode){let v;d.forEach((b,m)=>{h>=b&&(v=m)}),typeof v<"u"&&(p=d[v>0?v-1:v])}let g=0;if(typeof p<"u"&&(g=c.indexOf(p),g<0&&(g=n.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(g=g-n.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),r.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,e,t,i)}return n.slideTo(g,e,t,i)}function Tr(e=this.params.speed,t=!0,i){const n=this;return n.slideTo(n.activeIndex,e,t,i)}function Cr(e=this.params.speed,t=!0,i,n=.5){const r=this;let l=r.activeIndex;const d=Math.min(r.params.slidesPerGroupSkip,l),c=d+Math.floor((l-d)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[c]){const o=r.snapGrid[c],s=r.snapGrid[c+1];a-o>(s-o)*n&&(l+=r.params.slidesPerGroup)}else{const o=r.snapGrid[c-1],s=r.snapGrid[c];a-o<=(s-o)*n&&(l-=r.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,r.slidesGrid.length-1),r.slideTo(l,e,t,i)}function wr(){const e=this,{params:t,$wrapperEl:i}=e,n=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let r=e.clickedIndex,l;if(t.loop){if(e.animating)return;l=parseInt(U(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-n/2||r>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${l}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Xe(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-n?(e.loopFix(),r=i.children(`.${t.slideClass}[data-swiper-slide-index="${l}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),Xe(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}const Ar={slideTo:Er,slideToLoop:Sr,slideNext:xr,slidePrev:_r,slideReset:Tr,slideToClosest:Cr,slideToClickedSlide:wr};function $r(){const e=this,t=ye(),{params:i,$wrapperEl:n}=e,r=n.children().length>0?U(n.children()[0].parentNode):n;r.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let l=r.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const a=i.slidesPerGroup-l.length%i.slidesPerGroup;if(a!==i.slidesPerGroup){for(let o=0;o<a;o+=1){const s=U(t.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);r.append(s)}l=r.children(`.${i.slideClass}`)}}i.slidesPerView==="auto"&&!i.loopedSlides&&(i.loopedSlides=l.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>l.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=l.length);const d=[],c=[];l.each((a,o)=>{U(a).attr("data-swiper-slide-index",o)});for(let a=0;a<e.loopedSlides;a+=1){const o=a-Math.floor(a/l.length)*l.length;c.push(l.eq(o)[0]),d.unshift(l.eq(l.length-o-1)[0])}for(let a=0;a<c.length;a+=1)r.append(U(c[a].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let a=d.length-1;a>=0;a-=1)r.prepend(U(d[a].cloneNode(!0)).addClass(i.slideDuplicateClass))}function Ir(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:r,allowSlideNext:l,snapGrid:d,rtlTranslate:c}=e;let a;e.allowSlidePrev=!0,e.allowSlideNext=!0;const s=-d[t]-e.getTranslate();t<n?(a=i.length-n*3+t,a+=n,e.slideTo(a,0,!1,!0)&&s!==0&&e.setTranslate((c?-e.translate:e.translate)-s)):t>=i.length-n&&(a=-i.length+t+n,a+=n,e.slideTo(a,0,!1,!0)&&s!==0&&e.setTranslate((c?-e.translate:e.translate)-s)),e.allowSlidePrev=r,e.allowSlideNext=l,e.emit("loopFix")}function Pr(){const e=this,{$wrapperEl:t,params:i,slides:n}=e;t.children(`.${i.slideClass}.${i.slideDuplicateClass},.${i.slideClass}.${i.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}const Or={loopCreate:$r,loopFix:Ir,loopDestroy:Pr};function Dr(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"}function Lr(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="")}const Mr={setGrabCursor:Dr,unsetGrabCursor:Lr};function kr(e,t=this){function i(n){if(!n||n===ye()||n===ge())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return!r&&!n.getRootNode?null:r||i(n.getRootNode().host)}return i(t)}function Fr(e){const t=this,i=ye(),n=ge(),r=t.touchEventsData,{params:l,touches:d,enabled:c}=t;if(!c||t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let a=e;a.originalEvent&&(a=a.originalEvent);let o=U(a.target);if(l.touchEventsTarget==="wrapper"&&!o.closest(t.wrapperEl).length||(r.isTouchEvent=a.type==="touchstart",!r.isTouchEvent&&"which"in a&&a.which===3)||!r.isTouchEvent&&"button"in a&&a.button>0||r.isTouched&&r.isMoved)return;const s=!!l.noSwipingClass&&l.noSwipingClass!=="",u=e.composedPath?e.composedPath():e.path;s&&a.target&&a.target.shadowRoot&&u&&(o=U(u[0]));const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!!(a.target&&a.target.shadowRoot);if(l.noSwiping&&(f?kr(h,o[0]):o.closest(h)[0])){t.allowClick=!0;return}if(l.swipeHandler&&!o.closest(l.swipeHandler)[0])return;d.currentX=a.type==="touchstart"?a.targetTouches[0].pageX:a.pageX,d.currentY=a.type==="touchstart"?a.targetTouches[0].pageY:a.pageY;const p=d.currentX,g=d.currentY,v=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,b=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(v&&(p<=b||p>=n.innerWidth-b))if(v==="prevent")e.preventDefault();else return;if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=p,d.startY=g,r.touchStartTime=De(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(r.allowThresholdMove=!1),a.type!=="touchstart"){let m=!0;o.is(r.focusableElements)&&(m=!1,o[0].nodeName==="SELECT"&&(r.isTouched=!1)),i.activeElement&&U(i.activeElement).is(r.focusableElements)&&i.activeElement!==o[0]&&i.activeElement.blur();const y=m&&t.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||y)&&!o[0].isContentEditable&&a.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",a)}function zr(e){const t=ye(),i=this,n=i.touchEventsData,{params:r,touches:l,rtlTranslate:d,enabled:c}=i;if(!c)return;let a=e;if(a.originalEvent&&(a=a.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}if(n.isTouchEvent&&a.type!=="touchmove")return;const o=a.type==="touchmove"&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),s=a.type==="touchmove"?o.pageX:a.pageX,u=a.type==="touchmove"?o.pageY:a.pageY;if(a.preventedByNestedSwiper){l.startX=s,l.startY=u;return}if(!i.allowTouchMove){U(a.target).is(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:s,startY:u,currentX:s,currentY:u}),n.touchStartTime=De());return}if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop){if(i.isVertical()){if(u<l.startY&&i.translate<=i.maxTranslate()||u>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(s<l.startX&&i.translate<=i.maxTranslate()||s>l.startX&&i.translate>=i.minTranslate())return}if(n.isTouchEvent&&t.activeElement&&a.target===t.activeElement&&U(a.target).is(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}if(n.allowTouchCallbacks&&i.emit("touchMove",a),a.targetTouches&&a.targetTouches.length>1)return;l.currentX=s,l.currentY=u;const h=l.currentX-l.startX,f=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(h**2+f**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let b;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:h*h+f*f>=25&&(b=Math.atan2(Math.abs(f),Math.abs(h))*180/Math.PI,n.isScrolling=i.isHorizontal()?b>r.touchAngle:90-b>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation(),n.isMoved||(r.loop&&!r.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,r.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)),i.emit("sliderMove",a),n.isMoved=!0;let p=i.isHorizontal()?h:f;l.diff=p,p*=r.touchRatio,d&&(p=-p),i.swipeDirection=p>0?"prev":"next",n.currentTranslate=p+n.startTranslate;let g=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),p>0&&n.currentTranslate>i.minTranslate()?(g=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+p)**v)):p<0&&n.currentTranslate<i.maxTranslate()&&(g=!1,r.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-p)**v)),g&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),r.threshold>0)if(Math.abs(p)>r.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function Rr(e){const t=this,i=t.touchEventsData,{params:n,touches:r,rtlTranslate:l,slidesGrid:d,enabled:c}=t;if(!c)return;let a=e;if(a.originalEvent&&(a=a.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",a),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}n.grabCursor&&i.isMoved&&i.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const o=De(),s=o-i.touchStartTime;if(t.allowClick){const m=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(m&&m[0]||a.target),t.emit("tap click",a),s<300&&o-i.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(i.lastClickTime=De(),Xe(()=>{t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||r.diff===0||i.currentTranslate===i.startTranslate){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let u;if(n.followFinger?u=l?t.translate:-t.translate:u=-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:u});return}let h=0,f=t.slidesSizesGrid[0];for(let m=0;m<d.length;m+=m<n.slidesPerGroupSkip?1:n.slidesPerGroup){const y=m<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;typeof d[m+y]<"u"?u>=d[m]&&u<d[m+y]&&(h=m,f=d[m+y]-d[m]):u>=d[m]&&(h=m,f=d[d.length-1]-d[d.length-2])}let p=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(p=0));const v=(u-d[h])/f,b=h<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(s>n.longSwipesMs){if(!n.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?p:h+b):t.slideTo(h)),t.swipeDirection==="prev"&&(v>1-n.longSwipesRatio?t.slideTo(h+b):g!==null&&v<0&&Math.abs(v)>n.longSwipesRatio?t.slideTo(g):t.slideTo(h))}else{if(!n.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(a.target===t.navigation.nextEl||a.target===t.navigation.prevEl)?a.target===t.navigation.nextEl?t.slideTo(h+b):t.slideTo(h):(t.swipeDirection==="next"&&t.slideTo(p!==null?p:h+b),t.swipeDirection==="prev"&&t.slideTo(g!==null?g:h))}}function Bi(){const e=this,{params:t,el:i}=e;if(i&&i.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:l}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function Nr(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Br(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r;const l=e.maxTranslate()-e.minTranslate();l===0?r=0:r=(e.translate-e.minTranslate())/l,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let Hi=!1;function Hr(){}const an=(e,t)=>{const i=ye(),{params:n,touchEvents:r,el:l,wrapperEl:d,device:c,support:a}=e,o=!!n.nested,s=t==="on"?"addEventListener":"removeEventListener",u=t;if(!a.touch)l[s](r.start,e.onTouchStart,!1),i[s](r.move,e.onTouchMove,o),i[s](r.end,e.onTouchEnd,!1);else{const h=r.start==="touchstart"&&a.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;l[s](r.start,e.onTouchStart,h),l[s](r.move,e.onTouchMove,a.passiveListener?{passive:!1,capture:o}:o),l[s](r.end,e.onTouchEnd,h),r.cancel&&l[s](r.cancel,e.onTouchEnd,h)}(n.preventClicks||n.preventClicksPropagation)&&l[s]("click",e.onClick,!0),n.cssMode&&d[s]("scroll",e.onScroll),n.updateOnWindowResize?e[u](c.ios||c.android?"resize orientationchange observerUpdate":"resize observerUpdate",Bi,!0):e[u]("observerUpdate",Bi,!0)};function Gr(){const e=this,t=ye(),{params:i,support:n}=e;e.onTouchStart=Fr.bind(e),e.onTouchMove=zr.bind(e),e.onTouchEnd=Rr.bind(e),i.cssMode&&(e.onScroll=Br.bind(e)),e.onClick=Nr.bind(e),n.touch&&!Hi&&(t.addEventListener("touchstart",Hr),Hi=!0),an(e,"on")}function jr(){an(this,"off")}const qr={attachEvents:Gr,detachEvents:jr},Gi=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Wr(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:r,$el:l}=e,d=r.breakpoints;if(!d||d&&Object.keys(d).length===0)return;const c=e.getBreakpoint(d,e.params.breakpointsBase,e.el);if(!c||e.currentBreakpoint===c)return;const o=(c in d?d[c]:void 0)||e.originalParams,s=Gi(e,r),u=Gi(e,o),h=r.enabled;s&&!u?(l.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!s&&u&&(l.addClass(`${r.containerModifierClass}grid`),(o.grid.fill&&o.grid.fill==="column"||!o.grid.fill&&r.grid.fill==="column")&&l.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(v=>{const b=r[v]&&r[v].enabled,m=o[v]&&o[v].enabled;b&&!m&&e[v].disable(),!b&&m&&e[v].enable()});const f=o.direction&&o.direction!==r.direction,p=r.loop&&(o.slidesPerView!==r.slidesPerView||f);f&&i&&e.changeDirection(),Oe(e.params,o);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!g?e.disable():!h&&g&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",o),p&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",o)}function Zr(e,t="window",i){if(!e||t==="container"&&!i)return;let n=!1;const r=ge(),l=t==="window"?r.innerHeight:i.clientHeight,d=Object.keys(e).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const a=parseFloat(c.substr(1));return{value:l*a,point:c}}return{value:c,point:c}});d.sort((c,a)=>parseInt(c.value,10)-parseInt(a.value,10));for(let c=0;c<d.length;c+=1){const{point:a,value:o}=d[c];t==="window"?r.matchMedia(`(min-width: ${o}px)`).matches&&(n=a):o<=i.clientWidth&&(n=a)}return n||"max"}const Ur={setBreakpoint:Wr,getBreakpoint:Zr};function Vr(e,t){const i=[];return e.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(r=>{n[r]&&i.push(t+r)}):typeof n=="string"&&i.push(t+n)}),i}function Xr(){const e=this,{classNames:t,params:i,rtl:n,$el:r,device:l,support:d}=e,c=Vr(["initialized",i.direction,{"pointer-events":!d.touch},{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...c),r.addClass([...t].join(" ")),e.emitContainerClasses()}function Yr(){const e=this,{$el:t,classNames:i}=e;t.removeClass(i.join(" ")),e.emitContainerClasses()}const Kr={addClasses:Xr,removeClasses:Yr};function Jr(e,t,i,n,r,l){const d=ge();let c;function a(){l&&l()}!U(e).parent("picture")[0]&&(!e.complete||!r)&&t?(c=new d.Image,c.onload=a,c.onerror=a,n&&(c.sizes=n),i&&(c.srcset=i),t&&(c.src=t)):a()}function Qr(){const e=this;e.imagesToLoad=e.$el.find("img");function t(){typeof e>"u"||e===null||!e||e.destroyed||(e.imagesLoaded!==void 0&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}const ea={loadImage:Jr,preloadImages:Qr};function ta(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const r=e.slides.length-1,l=e.slidesGrid[r]+e.slidesSizesGrid[r]+n*2;e.isLocked=e.size>l}else e.isLocked=e.snapGrid.length===1;i.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),i.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}const ia={checkOverflow:ta},ji={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function na(e,t){return function(n={}){const r=Object.keys(n)[0],l=n[r];if(typeof l!="object"||l===null){Oe(t,n);return}if(["navigation","pagination","scrollbar"].indexOf(r)>=0&&e[r]===!0&&(e[r]={auto:!0}),!(r in e&&"enabled"in l)){Oe(t,n);return}e[r]===!0&&(e[r]={enabled:!0}),typeof e[r]=="object"&&!("enabled"in e[r])&&(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),Oe(t,n)}}const oi={eventsEmitter:Qs,update:ur,translate:gr,transition:br,slide:Ar,loop:Or,grabCursor:Mr,events:qr,breakpoints:Ur,checkOverflow:ia,classes:Kr,images:ea},li={};class Pe{constructor(...t){let i,n;if(t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?n=t[0]:[i,n]=t,n||(n={}),n=Oe({},n),i&&!n.el&&(n.el=i),n.el&&U(n.el).length>1){const c=[];return U(n.el).each(a=>{const o=Oe({},n,{el:a});c.push(new Pe(o))}),c}const r=this;r.__swiper__=!0,r.support=sn(),r.device=Vs({userAgent:n.userAgent}),r.browser=Ys(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);const l={};r.modules.forEach(c=>{c({swiper:r,extendParams:na(n,l),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const d=Oe({},ji,l);return r.params=Oe({},d,li,n),r.originalParams=Oe({},r.params),r.passedParams=Oe({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(c=>{r.on(c,r.params.on[c])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=U,Object.assign(r,{enabled:r.params.enabled,el:i,classNames:[],slides:U(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const a=["touchstart","touchmove","touchend","touchcancel"],o=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:a[0],move:a[1],end:a[2],cancel:a[3]},r.touchEventsDesktop={start:o[0],move:o[1],end:o[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),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:r.params.focusableElements,lastClickTime:De(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,i){const n=this;t=Math.min(Math.max(t,0),1);const r=n.minTranslate(),d=(n.maxTranslate()-r)*t+r;n.translateTo(d,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const i=t.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",i.join(" "))}getSlideClasses(t){const i=this;return i.destroyed?"":t.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const i=[];t.slides.each(n=>{const r=t.getSlideClasses(n);i.push({slideEl:n,classNames:r}),t.emit("_slideClass",n,r)}),t.emit("_slideClasses",i)}slidesPerViewDynamic(t="current",i=!1){const n=this,{params:r,slides:l,slidesGrid:d,slidesSizesGrid:c,size:a,activeIndex:o}=n;let s=1;if(r.centeredSlides){let u=l[o].swiperSlideSize,h;for(let f=o+1;f<l.length;f+=1)l[f]&&!h&&(u+=l[f].swiperSlideSize,s+=1,u>a&&(h=!0));for(let f=o-1;f>=0;f-=1)l[f]&&!h&&(u+=l[f].swiperSlideSize,s+=1,u>a&&(h=!0))}else if(t==="current")for(let u=o+1;u<l.length;u+=1)(i?d[u]+c[u]-d[o]<a:d[u]-d[o]<a)&&(s+=1);else for(let u=o-1;u>=0;u-=1)d[o]-d[u]<a&&(s+=1);return s}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:i,params:n}=t;n.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function r(){const d=t.rtlTranslate?t.translate*-1:t.translate,c=Math.min(Math.max(d,t.maxTranslate()),t.minTranslate());t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}let l;t.params.freeMode&&t.params.freeMode.enabled?(r(),t.params.autoHeight&&t.updateAutoHeight()):((t.params.slidesPerView==="auto"||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?l=t.slideTo(t.slides.length-1,0,!1,!0):l=t.slideTo(t.activeIndex,0,!1,!0),l||r()),n.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,i=!0){const n=this,r=n.params.direction;return t||(t=r==="horizontal"?"vertical":"horizontal"),t===r||t!=="horizontal"&&t!=="vertical"||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.each(l=>{t==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(t){const i=this;i.rtl&&t==="rtl"||!i.rtl&&t==="ltr"||(i.rtl=t==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.$el.addClass(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.$el.removeClass(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(t){const i=this;if(i.mounted)return!0;const n=U(t||i.params.el);if(t=n[0],!t)return!1;t.swiper=i;const r=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let d=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const c=U(t.shadowRoot.querySelector(r()));return c.children=a=>n.children(a),c}return n.children?n.children(r()):U(n).children(r())})();if(d.length===0&&i.params.createElements){const a=ye().createElement("div");d=U(a),a.className=i.params.wrapperClass,n.append(a),n.children(`.${i.params.slideClass}`).each(o=>{d.append(o)})}return Object.assign(i,{$el:n,el:t,$wrapperEl:d,wrapperEl:d[0],mounted:!0,rtl:t.dir.toLowerCase()==="rtl"||n.css("direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(t.dir.toLowerCase()==="rtl"||n.css("direction")==="rtl"),wrongRTL:d.css("display")==="-webkit-box"}),!0}init(t){const i=this;return i.initialized||i.mount(t)===!1||(i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.params.loop&&i.loopCreate(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.preloadImages&&i.preloadImages(),i.params.loop?i.slideTo(i.params.initialSlide+i.loopedSlides,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.attachEvents(),i.initialized=!0,i.emit("init"),i.emit("afterInit")),i}destroy(t=!0,i=!0){const n=this,{params:r,$el:l,$wrapperEl:d,slides:c}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),i&&(n.removeClasses(),l.removeAttr("style"),d.removeAttr("style"),c&&c.length&&c.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),t!==!1&&(n.$el[0].swiper=null,js(n)),n.destroyed=!0),null}static extendDefaults(t){Oe(li,t)}static get extendedDefaults(){return li}static get defaults(){return ji}static installModule(t){Pe.prototype.__modules__||(Pe.prototype.__modules__=[]);const i=Pe.prototype.__modules__;typeof t=="function"&&i.indexOf(t)<0&&i.push(t)}static use(t){return Array.isArray(t)?(t.forEach(i=>Pe.installModule(i)),Pe):(Pe.installModule(t),Pe)}}Object.keys(oi).forEach(e=>{Object.keys(oi[e]).forEach(t=>{Pe.prototype[t]=oi[e][t]})});Pe.use([Ks,Js]);function sa({swiper:e,extendParams:t,on:i,emit:n}){t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let r;e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};function l(u,h){const f=e.params.virtual;if(f.cache&&e.virtual.cache[h])return e.virtual.cache[h];const p=f.renderSlide?U(f.renderSlide.call(e,u,h)):U(`<div class="${e.params.slideClass}" data-swiper-slide-index="${h}">${u}</div>`);return p.attr("data-swiper-slide-index")||p.attr("data-swiper-slide-index",h),f.cache&&(e.virtual.cache[h]=p),p}function d(u){const{slidesPerView:h,slidesPerGroup:f,centeredSlides:p}=e.params,{addSlidesBefore:g,addSlidesAfter:v}=e.params.virtual,{from:b,to:m,slides:y,slidesGrid:_,offset:w}=e.virtual;e.params.cssMode||e.updateActiveIndex();const A=e.activeIndex||0;let L;e.rtlTranslate?L="right":L=e.isHorizontal()?"left":"top";let B,z;p?(B=Math.floor(h/2)+f+v,z=Math.floor(h/2)+f+g):(B=h+(f-1)+v,z=f+g);const N=Math.max((A||0)-z,0),D=Math.min((A||0)+B,y.length-1),P=(e.slidesGrid[N]||0)-(e.slidesGrid[0]||0);Object.assign(e.virtual,{from:N,to:D,offset:P,slidesGrid:e.slidesGrid});function S(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),n("virtualUpdate")}if(b===N&&m===D&&!u){e.slidesGrid!==_&&P!==w&&e.slides.css(L,`${P}px`),e.updateProgress(),n("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:P,from:N,to:D,slides:function(){const j=[];for(let F=N;F<=D;F+=1)j.push(y[F]);return j}()}),e.params.virtual.renderExternalUpdate?S():n("virtualUpdate");return}const H=[],V=[];if(u)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let M=b;M<=m;M+=1)(M<N||M>D)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${M}"]`).remove();for(let M=0;M<y.length;M+=1)M>=N&&M<=D&&(typeof m>"u"||u?V.push(M):(M>m&&V.push(M),M<b&&H.push(M)));V.forEach(M=>{e.$wrapperEl.append(l(y[M],M))}),H.sort((M,j)=>j-M).forEach(M=>{e.$wrapperEl.prepend(l(y[M],M))}),e.$wrapperEl.children(".swiper-slide").css(L,`${P}px`),S()}function c(u){if(typeof u=="object"&&"length"in u)for(let h=0;h<u.length;h+=1)u[h]&&e.virtual.slides.push(u[h]);else e.virtual.slides.push(u);d(!0)}function a(u){const h=e.activeIndex;let f=h+1,p=1;if(Array.isArray(u)){for(let g=0;g<u.length;g+=1)u[g]&&e.virtual.slides.unshift(u[g]);f=h+u.length,p=u.length}else e.virtual.slides.unshift(u);if(e.params.virtual.cache){const g=e.virtual.cache,v={};Object.keys(g).forEach(b=>{const m=g[b],y=m.attr("data-swiper-slide-index");y&&m.attr("data-swiper-slide-index",parseInt(y,10)+p),v[parseInt(b,10)+p]=m}),e.virtual.cache=v}d(!0),e.slideTo(f,0)}function o(u){if(typeof u>"u"||u===null)return;let h=e.activeIndex;if(Array.isArray(u))for(let f=u.length-1;f>=0;f-=1)e.virtual.slides.splice(u[f],1),e.params.virtual.cache&&delete e.virtual.cache[u[f]],u[f]<h&&(h-=1),h=Math.max(h,0);else e.virtual.slides.splice(u,1),e.params.virtual.cache&&delete e.virtual.cache[u],u<h&&(h-=1),h=Math.max(h,0);d(!0),e.slideTo(h,0)}function s(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),d(!0),e.slideTo(0,0)}i("beforeInit",()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||d())}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{d()},100)):d())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&yt(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:a,removeSlide:o,removeAllSlides:s,update:d})}function ra({swiper:e,extendParams:t,on:i,emit:n}){const r=ye(),l=ge();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function d(o){if(!e.enabled)return;const{rtlTranslate:s}=e;let u=o;u.originalEvent&&(u=u.originalEvent);const h=u.keyCode||u.charCode,f=e.params.keyboard.pageUpDown,p=f&&h===33,g=f&&h===34,v=h===37,b=h===39,m=h===38,y=h===40;if(!e.allowSlideNext&&(e.isHorizontal()&&b||e.isVertical()&&y||g)||!e.allowSlidePrev&&(e.isHorizontal()&&v||e.isVertical()&&m||p))return!1;if(!(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey)&&!(r.activeElement&&r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(p||g||v||b||m||y)){let _=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&e.$el.parents(`.${e.params.slideActiveClass}`).length===0)return;const w=e.$el,A=w[0].clientWidth,L=w[0].clientHeight,B=l.innerWidth,z=l.innerHeight,N=e.$el.offset();s&&(N.left-=e.$el[0].scrollLeft);const D=[[N.left,N.top],[N.left+A,N.top],[N.left,N.top+L],[N.left+A,N.top+L]];for(let P=0;P<D.length;P+=1){const S=D[P];if(S[0]>=0&&S[0]<=B&&S[1]>=0&&S[1]<=z){if(S[0]===0&&S[1]===0)continue;_=!0}}if(!_)return}e.isHorizontal()?((p||g||v||b)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((g||b)&&!s||(p||v)&&s)&&e.slideNext(),((p||v)&&!s||(g||b)&&s)&&e.slidePrev()):((p||g||m||y)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(g||y)&&e.slideNext(),(p||m)&&e.slidePrev()),n("keyPress",h)}}function c(){e.keyboard.enabled||(U(r).on("keydown",d),e.keyboard.enabled=!0)}function a(){e.keyboard.enabled&&(U(r).off("keydown",d),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&c()}),i("destroy",()=>{e.keyboard.enabled&&a()}),Object.assign(e.keyboard,{enable:c,disable:a})}function aa({swiper:e,extendParams:t,on:i,emit:n}){const r=ge();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let l,d=De(),c;const a=[];function o(m){let A=0,L=0,B=0,z=0;return"detail"in m&&(L=m.detail),"wheelDelta"in m&&(L=-m.wheelDelta/120),"wheelDeltaY"in m&&(L=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(A=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(A=L,L=0),B=A*10,z=L*10,"deltaY"in m&&(z=m.deltaY),"deltaX"in m&&(B=m.deltaX),m.shiftKey&&!B&&(B=z,z=0),(B||z)&&m.deltaMode&&(m.deltaMode===1?(B*=40,z*=40):(B*=800,z*=800)),B&&!A&&(A=B<1?-1:1),z&&!L&&(L=z<1?-1:1),{spinX:A,spinY:L,pixelX:B,pixelY:z}}function s(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function h(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&De()-d<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&De()-d<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",m.raw)),d=new r.Date().getTime(),!1)}function f(m){const y=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function p(m){let y=m,_=!0;if(!e.enabled)return;const w=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let A=e.$el;if(e.params.mousewheel.eventsTarget!=="container"&&(A=U(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!A[0].contains(y.target)&&!w.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let L=0;const B=e.rtlTranslate?-1:1,z=o(y);if(w.forceToAxis)if(e.isHorizontal())if(Math.abs(z.pixelX)>Math.abs(z.pixelY))L=-z.pixelX*B;else return!0;else if(Math.abs(z.pixelY)>Math.abs(z.pixelX))L=-z.pixelY;else return!0;else L=Math.abs(z.pixelX)>Math.abs(z.pixelY)?-z.pixelX*B:-z.pixelY;if(L===0)return!0;w.invert&&(L=-L);let N=e.getTranslate()+L*w.sensitivity;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),_=e.params.loop?!0:!(N===e.minTranslate()||N===e.maxTranslate()),_&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const D={time:De(),delta:Math.abs(L),direction:Math.sign(L),raw:m};a.length>=2&&a.shift();const P=a.length?a[a.length-1]:void 0;if(a.push(D),P?(D.direction!==P.direction||D.delta>P.delta||D.time>P.time+150)&&h(D):h(D),f(D))return!0}else{const D={time:De(),delta:Math.abs(L),direction:Math.sign(L)},P=c&&D.time<c.time+500&&D.delta<=c.delta&&D.direction===c.direction;if(!P){c=void 0,e.params.loop&&e.loopFix();let S=e.getTranslate()+L*w.sensitivity;const H=e.isBeginning,V=e.isEnd;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),e.setTransition(0),e.setTranslate(S),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!H&&e.isBeginning||!V&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(l),l=void 0,a.length>=15&&a.shift();const M=a.length?a[a.length-1]:void 0,j=a[0];if(a.push(D),M&&(D.delta>M.delta||D.direction!==M.direction))a.splice(0);else if(a.length>=15&&D.time-j.time<500&&j.delta-D.delta>=1&&D.delta<=6){const F=L>0?.8:.2;c=D,a.splice(0),l=Xe(()=>{e.slideToClosest(e.params.speed,!0,void 0,F)},0)}l||(l=Xe(()=>{c=D,a.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(P||n("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S===e.minTranslate()||S===e.maxTranslate())return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function g(m){let y=e.$el;e.params.mousewheel.eventsTarget!=="container"&&(y=U(e.params.mousewheel.eventsTarget)),y[m]("mouseenter",s),y[m]("mouseleave",u),y[m]("wheel",p)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",p),!0):e.mousewheel.enabled?!1:(g("on"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,p),!0):e.mousewheel.enabled?(g("off"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&v()}),i("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&b()}),Object.assign(e.mousewheel,{enable:v,disable:b})}function gi(e,t,i,n){const r=ye();return e.params.createElements&&Object.keys(n).forEach(l=>{if(!i[l]&&i.auto===!0){let d=e.$el.children(`.${n[l]}`)[0];d||(d=r.createElement("div"),d.className=n[l],e.$el.append(d)),i[l]=d,t[l]=d}}),i}function oa({swiper:e,extendParams:t,on:i,emit:n}){t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function r(f){let p;return f&&(p=U(f),e.params.uniqueNavElements&&typeof f=="string"&&p.length>1&&e.$el.find(f).length===1&&(p=e.$el.find(f))),p}function l(f,p){const g=e.params.navigation;f&&f.length>0&&(f[p?"addClass":"removeClass"](g.disabledClass),f[0]&&f[0].tagName==="BUTTON"&&(f[0].disabled=p),e.params.watchOverflow&&e.enabled&&f[e.isLocked?"addClass":"removeClass"](g.lockClass))}function d(){if(e.params.loop)return;const{$nextEl:f,$prevEl:p}=e.navigation;l(p,e.isBeginning&&!e.params.rewind),l(f,e.isEnd&&!e.params.rewind)}function c(f){f.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function a(f){f.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function o(){const f=e.params.navigation;if(e.params.navigation=gi(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(f.nextEl||f.prevEl))return;const p=r(f.nextEl),g=r(f.prevEl);p&&p.length>0&&p.on("click",a),g&&g.length>0&&g.on("click",c),Object.assign(e.navigation,{$nextEl:p,nextEl:p&&p[0],$prevEl:g,prevEl:g&&g[0]}),e.enabled||(p&&p.addClass(f.lockClass),g&&g.addClass(f.lockClass))}function s(){const{$nextEl:f,$prevEl:p}=e.navigation;f&&f.length&&(f.off("click",a),f.removeClass(e.params.navigation.disabledClass)),p&&p.length&&(p.off("click",c),p.removeClass(e.params.navigation.disabledClass))}i("init",()=>{e.params.navigation.enabled===!1?h():(o(),d())}),i("toEdge fromEdge lock unlock",()=>{d()}),i("destroy",()=>{s()}),i("enable disable",()=>{const{$nextEl:f,$prevEl:p}=e.navigation;f&&f[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),p&&p[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),i("click",(f,p)=>{const{$nextEl:g,$prevEl:v}=e.navigation,b=p.target;if(e.params.navigation.hideOnClick&&!U(b).is(v)&&!U(b).is(g)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===b||e.pagination.el.contains(b)))return;let m;g?m=g.hasClass(e.params.navigation.hiddenClass):v&&(m=v.hasClass(e.params.navigation.hiddenClass)),n(m===!0?"navigationShow":"navigationHide"),g&&g.toggleClass(e.params.navigation.hiddenClass),v&&v.toggleClass(e.params.navigation.hiddenClass)}});const u=()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),o(),d()},h=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),s()};Object.assign(e.navigation,{enable:u,disable:h,update:d,init:o,destroy:s})}function Ze(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function la({swiper:e,extendParams:t,on:i,emit:n}){const r="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let l,d=0;function c(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||e.pagination.$el.length===0}function a(g,v){const{bulletActiveClass:b}=e.params.pagination;g[v]().addClass(`${b}-${v}`)[v]().addClass(`${b}-${v}-${v}`)}function o(){const g=e.rtl,v=e.params.pagination;if(c())return;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,m=e.pagination.$el;let y;const _=e.params.loop?Math.ceil((b-e.loopedSlides*2)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(y=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),y>b-1-e.loopedSlides*2&&(y-=b-e.loopedSlides*2),y>_-1&&(y-=_),y<0&&e.params.paginationType!=="bullets"&&(y=_+y)):typeof e.snapIndex<"u"?y=e.snapIndex:y=e.activeIndex||0,v.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const w=e.pagination.bullets;let A,L,B;if(v.dynamicBullets&&(l=w.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),m.css(e.isHorizontal()?"width":"height",`${l*(v.dynamicMainBullets+4)}px`),v.dynamicMainBullets>1&&e.previousIndex!==void 0&&(d+=y-(e.previousIndex-e.loopedSlides||0),d>v.dynamicMainBullets-1?d=v.dynamicMainBullets-1:d<0&&(d=0)),A=Math.max(y-d,0),L=A+(Math.min(w.length,v.dynamicMainBullets)-1),B=(L+A)/2),w.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${v.bulletActiveClass}${z}`).join(" ")),m.length>1)w.each(z=>{const N=U(z),D=N.index();D===y&&N.addClass(v.bulletActiveClass),v.dynamicBullets&&(D>=A&&D<=L&&N.addClass(`${v.bulletActiveClass}-main`),D===A&&a(N,"prev"),D===L&&a(N,"next"))});else{const z=w.eq(y),N=z.index();if(z.addClass(v.bulletActiveClass),v.dynamicBullets){const D=w.eq(A),P=w.eq(L);for(let S=A;S<=L;S+=1)w.eq(S).addClass(`${v.bulletActiveClass}-main`);if(e.params.loop)if(N>=w.length){for(let S=v.dynamicMainBullets;S>=0;S-=1)w.eq(w.length-S).addClass(`${v.bulletActiveClass}-main`);w.eq(w.length-v.dynamicMainBullets-1).addClass(`${v.bulletActiveClass}-prev`)}else a(D,"prev"),a(P,"next");else a(D,"prev"),a(P,"next")}}if(v.dynamicBullets){const z=Math.min(w.length,v.dynamicMainBullets+4),N=(l*z-l)/2-B*l,D=g?"right":"left";w.css(e.isHorizontal()?D:"top",`${N}px`)}}if(v.type==="fraction"&&(m.find(Ze(v.currentClass)).text(v.formatFractionCurrent(y+1)),m.find(Ze(v.totalClass)).text(v.formatFractionTotal(_))),v.type==="progressbar"){let w;v.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const A=(y+1)/_;let L=1,B=1;w==="horizontal"?L=A:B=A,m.find(Ze(v.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${L}) scaleY(${B})`).transition(e.params.speed)}v.type==="custom"&&v.renderCustom?(m.html(v.renderCustom(e,y+1,_)),n("paginationRender",m[0])):n("paginationUpdate",m[0]),e.params.watchOverflow&&e.enabled&&m[e.isLocked?"addClass":"removeClass"](v.lockClass)}function s(){const g=e.params.pagination;if(c())return;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,b=e.pagination.$el;let m="";if(g.type==="bullets"){let y=e.params.loop?Math.ceil((v-e.loopedSlides*2)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&y>v&&(y=v);for(let _=0;_<y;_+=1)g.renderBullet?m+=g.renderBullet.call(e,_,g.bulletClass):m+=`<${g.bulletElement} class="${g.bulletClass}"></${g.bulletElement}>`;b.html(m),e.pagination.bullets=b.find(Ze(g.bulletClass))}g.type==="fraction"&&(g.renderFraction?m=g.renderFraction.call(e,g.currentClass,g.totalClass):m=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`,b.html(m)),g.type==="progressbar"&&(g.renderProgressbar?m=g.renderProgressbar.call(e,g.progressbarFillClass):m=`<span class="${g.progressbarFillClass}"></span>`,b.html(m)),g.type!=="custom"&&n("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=gi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const g=e.params.pagination;if(!g.el)return;let v=U(g.el);v.length!==0&&(e.params.uniqueNavElements&&typeof g.el=="string"&&v.length>1&&(v=e.$el.find(g.el),v.length>1&&(v=v.filter(b=>U(b).parents(".swiper")[0]===e.el))),g.type==="bullets"&&g.clickable&&v.addClass(g.clickableClass),v.addClass(g.modifierClass+g.type),v.addClass(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(v.addClass(`${g.modifierClass}${g.type}-dynamic`),d=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&v.addClass(g.progressbarOppositeClass),g.clickable&&v.on("click",Ze(g.bulletClass),function(m){m.preventDefault();let y=U(this).index()*e.params.slidesPerGroup;e.params.loop&&(y+=e.loopedSlides),e.slideTo(y)}),Object.assign(e.pagination,{$el:v,el:v[0]}),e.enabled||v.addClass(g.lockClass))}function h(){const g=e.params.pagination;if(c())return;const v=e.pagination.$el;v.removeClass(g.hiddenClass),v.removeClass(g.modifierClass+g.type),v.removeClass(e.isHorizontal()?g.horizontalClass:g.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(g.bulletActiveClass),g.clickable&&v.off("click",Ze(g.bulletClass))}i("init",()=>{e.params.pagination.enabled===!1?p():(u(),s(),o())}),i("activeIndexChange",()=>{(e.params.loop||typeof e.snapIndex>"u")&&o()}),i("snapIndexChange",()=>{e.params.loop||o()}),i("slidesLengthChange",()=>{e.params.loop&&(s(),o())}),i("snapGridLengthChange",()=>{e.params.loop||(s(),o())}),i("destroy",()=>{h()}),i("enable disable",()=>{const{$el:g}=e.pagination;g&&g[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),i("lock unlock",()=>{o()}),i("click",(g,v)=>{const b=v.target,{$el:m}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&m&&m.length>0&&!U(b).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const y=m.hasClass(e.params.pagination.hiddenClass);n(y===!0?"paginationShow":"paginationHide"),m.toggleClass(e.params.pagination.hiddenClass)}});const f=()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),u(),s(),o()},p=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),h()};Object.assign(e.pagination,{enable:f,disable:p,render:s,update:o,init:u,destroy:h})}function ua({swiper:e,extendParams:t,on:i,emit:n}){const r=ye();let l=!1,d=null,c=null,a,o,s,u;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null};function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:D,rtlTranslate:P,progress:S}=e,{$dragEl:H,$el:V}=D,M=e.params.scrollbar;let j=o,F=(s-o)*S;P?(F=-F,F>0?(j=o-F,F=0):-F+o>s&&(j=s+F)):F<0?(j=o+F,F=0):F+o>s&&(j=s-F),e.isHorizontal()?(H.transform(`translate3d(${F}px, 0, 0)`),H[0].style.width=`${j}px`):(H.transform(`translate3d(0px, ${F}px, 0)`),H[0].style.height=`${j}px`),M.hide&&(clearTimeout(d),V[0].style.opacity=1,d=setTimeout(()=>{V[0].style.opacity=0,V.transition(400)},1e3))}function f(D){!e.params.scrollbar.el||!e.scrollbar.el||e.scrollbar.$dragEl.transition(D)}function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:D}=e,{$dragEl:P,$el:S}=D;P[0].style.width="",P[0].style.height="",s=e.isHorizontal()?S[0].offsetWidth:S[0].offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?o=s*u:o=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?P[0].style.width=`${o}px`:P[0].style.height=`${o}px`,u>=1?S[0].style.display="none":S[0].style.display="",e.params.scrollbar.hide&&(S[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&D.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function g(D){return e.isHorizontal()?D.type==="touchstart"||D.type==="touchmove"?D.targetTouches[0].clientX:D.clientX:D.type==="touchstart"||D.type==="touchmove"?D.targetTouches[0].clientY:D.clientY}function v(D){const{scrollbar:P,rtlTranslate:S}=e,{$el:H}=P;let V;V=(g(D)-H.offset()[e.isHorizontal()?"left":"top"]-(a!==null?a:o/2))/(s-o),V=Math.max(Math.min(V,1),0),S&&(V=1-V);const M=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*V;e.updateProgress(M),e.setTranslate(M),e.updateActiveIndex(),e.updateSlidesClasses()}function b(D){const P=e.params.scrollbar,{scrollbar:S,$wrapperEl:H}=e,{$el:V,$dragEl:M}=S;l=!0,a=D.target===M[0]||D.target===M?g(D)-D.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,D.preventDefault(),D.stopPropagation(),H.transition(100),M.transition(100),v(D),clearTimeout(c),V.transition(0),P.hide&&V.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),n("scrollbarDragStart",D)}function m(D){const{scrollbar:P,$wrapperEl:S}=e,{$el:H,$dragEl:V}=P;l&&(D.preventDefault?D.preventDefault():D.returnValue=!1,v(D),S.transition(0),H.transition(0),V.transition(0),n("scrollbarDragMove",D))}function y(D){const P=e.params.scrollbar,{scrollbar:S,$wrapperEl:H}=e,{$el:V}=S;l&&(l=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),H.transition("")),P.hide&&(clearTimeout(c),c=Xe(()=>{V.css("opacity",0),V.transition(400)},1e3)),n("scrollbarDragEnd",D),P.snapOnRelease&&e.slideToClosest())}function _(D){const{scrollbar:P,touchEventsTouch:S,touchEventsDesktop:H,params:V,support:M}=e,j=P.$el;if(!j)return;const F=j[0],X=M.passiveListener&&V.passiveListeners?{passive:!1,capture:!1}:!1,K=M.passiveListener&&V.passiveListeners?{passive:!0,capture:!1}:!1;if(!F)return;const te=D==="on"?"addEventListener":"removeEventListener";M.touch?(F[te](S.start,b,X),F[te](S.move,m,X),F[te](S.end,y,K)):(F[te](H.start,b,X),r[te](H.move,m,X),r[te](H.end,y,K))}function w(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function A(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function L(){const{scrollbar:D,$el:P}=e;e.params.scrollbar=gi(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const S=e.params.scrollbar;if(!S.el)return;let H=U(S.el);e.params.uniqueNavElements&&typeof S.el=="string"&&H.length>1&&P.find(S.el).length===1&&(H=P.find(S.el)),H.addClass(e.isHorizontal()?S.horizontalClass:S.verticalClass);let V=H.find(`.${e.params.scrollbar.dragClass}`);V.length===0&&(V=U(`<div class="${e.params.scrollbar.dragClass}"></div>`),H.append(V)),Object.assign(D,{$el:H,el:H[0],$dragEl:V,dragEl:V[0]}),S.draggable&&w(),H&&H[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function B(){const D=e.params.scrollbar,P=e.scrollbar.$el;P&&P.removeClass(e.isHorizontal()?D.horizontalClass:D.verticalClass),A()}i("init",()=>{e.params.scrollbar.enabled===!1?N():(L(),p(),h())}),i("update resize observerUpdate lock unlock",()=>{p()}),i("setTranslate",()=>{h()}),i("setTransition",(D,P)=>{f(P)}),i("enable disable",()=>{const{$el:D}=e.scrollbar;D&&D[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}),i("destroy",()=>{B()});const z=()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),L(),p(),h()},N=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),B()};Object.assign(e.scrollbar,{enable:z,disable:N,updateSize:p,setTranslate:h,init:L,destroy:B})}function ca({swiper:e,extendParams:t,on:i}){t({parallax:{enabled:!1}});const n=(d,c)=>{const{rtl:a}=e,o=U(d),s=a?-1:1,u=o.attr("data-swiper-parallax")||"0";let h=o.attr("data-swiper-parallax-x"),f=o.attr("data-swiper-parallax-y");const p=o.attr("data-swiper-parallax-scale"),g=o.attr("data-swiper-parallax-opacity");if(h||f?(h=h||"0",f=f||"0"):e.isHorizontal()?(h=u,f="0"):(f=u,h="0"),h.indexOf("%")>=0?h=`${parseInt(h,10)*c*s}%`:h=`${h*c*s}px`,f.indexOf("%")>=0?f=`${parseInt(f,10)*c}%`:f=`${f*c}px`,typeof g<"u"&&g!==null){const v=g-(g-1)*(1-Math.abs(c));o[0].style.opacity=v}if(typeof p>"u"||p===null)o.transform(`translate3d(${h}, ${f}, 0px)`);else{const v=p-(p-1)*(1-Math.abs(c));o.transform(`translate3d(${h}, ${f}, 0px) scale(${v})`)}},r=()=>{const{$el:d,slides:c,progress:a,snapGrid:o}=e;d.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(s=>{n(s,a)}),c.each((s,u)=>{let h=s.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(h+=Math.ceil(u/2)-a*(o.length-1)),h=Math.min(Math.max(h,-1),1),U(s).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(f=>{n(f,h)})})},l=(d=e.params.speed)=>{const{$el:c}=e;c.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(a=>{const o=U(a);let s=parseInt(o.attr("data-swiper-parallax-duration"),10)||d;d===0&&(s=0),o.transition(s)})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&r()}),i("setTranslate",()=>{e.params.parallax.enabled&&r()}),i("setTransition",(d,c)=>{e.params.parallax.enabled&&l(c)})}function da({swiper:e,extendParams:t,on:i,emit:n}){const r=ge();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let l=1,d=!1,c,a,o;const s={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},u={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f=1;Object.defineProperty(e.zoom,"scale",{get(){return f},set(M){if(f!==M){const j=s.$imageEl?s.$imageEl[0]:void 0,F=s.$slideEl?s.$slideEl[0]:void 0;n("zoomChange",M,j,F)}f=M}});function p(M){if(M.targetTouches.length<2)return 1;const j=M.targetTouches[0].pageX,F=M.targetTouches[0].pageY,X=M.targetTouches[1].pageX,K=M.targetTouches[1].pageY;return Math.sqrt((X-j)**2+(K-F)**2)}function g(M){const j=e.support,F=e.params.zoom;if(a=!1,o=!1,!j.gestures){if(M.type!=="touchstart"||M.type==="touchstart"&&M.targetTouches.length<2)return;a=!0,s.scaleStart=p(M)}if((!s.$slideEl||!s.$slideEl.length)&&(s.$slideEl=U(M.target).closest(`.${e.params.slideClass}`),s.$slideEl.length===0&&(s.$slideEl=e.slides.eq(e.activeIndex)),s.$imageEl=s.$slideEl.find(`.${F.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),s.$imageWrapEl=s.$imageEl.parent(`.${F.containerClass}`),s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||F.maxRatio,s.$imageWrapEl.length===0)){s.$imageEl=void 0;return}s.$imageEl&&s.$imageEl.transition(0),d=!0}function v(M){const j=e.support,F=e.params.zoom,X=e.zoom;if(!j.gestures){if(M.type!=="touchmove"||M.type==="touchmove"&&M.targetTouches.length<2)return;o=!0,s.scaleMove=p(M)}if(!s.$imageEl||s.$imageEl.length===0){M.type==="gesturechange"&&g(M);return}j.gestures?X.scale=M.scale*l:X.scale=s.scaleMove/s.scaleStart*l,X.scale>s.maxRatio&&(X.scale=s.maxRatio-1+(X.scale-s.maxRatio+1)**.5),X.scale<F.minRatio&&(X.scale=F.minRatio+1-(F.minRatio-X.scale+1)**.5),s.$imageEl.transform(`translate3d(0,0,0) scale(${X.scale})`)}function b(M){const j=e.device,F=e.support,X=e.params.zoom,K=e.zoom;if(!F.gestures){if(!a||!o||M.type!=="touchend"||M.type==="touchend"&&M.changedTouches.length<2&&!j.android)return;a=!1,o=!1}!s.$imageEl||s.$imageEl.length===0||(K.scale=Math.max(Math.min(K.scale,s.maxRatio),X.minRatio),s.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${K.scale})`),l=K.scale,d=!1,K.scale===1&&(s.$slideEl=void 0))}function m(M){const j=e.device;!s.$imageEl||s.$imageEl.length===0||u.isTouched||(j.android&&M.cancelable&&M.preventDefault(),u.isTouched=!0,u.touchesStart.x=M.type==="touchstart"?M.targetTouches[0].pageX:M.pageX,u.touchesStart.y=M.type==="touchstart"?M.targetTouches[0].pageY:M.pageY)}function y(M){const j=e.zoom;if(!s.$imageEl||s.$imageEl.length===0||(e.allowClick=!1,!u.isTouched||!s.$slideEl))return;u.isMoved||(u.width=s.$imageEl[0].offsetWidth,u.height=s.$imageEl[0].offsetHeight,u.startX=ci(s.$imageWrapEl[0],"x")||0,u.startY=ci(s.$imageWrapEl[0],"y")||0,s.slideWidth=s.$slideEl[0].offsetWidth,s.slideHeight=s.$slideEl[0].offsetHeight,s.$imageWrapEl.transition(0));const F=u.width*j.scale,X=u.height*j.scale;if(!(F<s.slideWidth&&X<s.slideHeight)){if(u.minX=Math.min(s.slideWidth/2-F/2,0),u.maxX=-u.minX,u.minY=Math.min(s.slideHeight/2-X/2,0),u.maxY=-u.minY,u.touchesCurrent.x=M.type==="touchmove"?M.targetTouches[0].pageX:M.pageX,u.touchesCurrent.y=M.type==="touchmove"?M.targetTouches[0].pageY:M.pageY,!u.isMoved&&!d){if(e.isHorizontal()&&(Math.floor(u.minX)===Math.floor(u.startX)&&u.touchesCurrent.x<u.touchesStart.x||Math.floor(u.maxX)===Math.floor(u.startX)&&u.touchesCurrent.x>u.touchesStart.x)){u.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(u.minY)===Math.floor(u.startY)&&u.touchesCurrent.y<u.touchesStart.y||Math.floor(u.maxY)===Math.floor(u.startY)&&u.touchesCurrent.y>u.touchesStart.y)){u.isTouched=!1;return}}M.cancelable&&M.preventDefault(),M.stopPropagation(),u.isMoved=!0,u.currentX=u.touchesCurrent.x-u.touchesStart.x+u.startX,u.currentY=u.touchesCurrent.y-u.touchesStart.y+u.startY,u.currentX<u.minX&&(u.currentX=u.minX+1-(u.minX-u.currentX+1)**.8),u.currentX>u.maxX&&(u.currentX=u.maxX-1+(u.currentX-u.maxX+1)**.8),u.currentY<u.minY&&(u.currentY=u.minY+1-(u.minY-u.currentY+1)**.8),u.currentY>u.maxY&&(u.currentY=u.maxY-1+(u.currentY-u.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=u.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=u.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(u.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(u.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(u.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(u.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=u.touchesCurrent.x,h.prevPositionY=u.touchesCurrent.y,h.prevTime=Date.now(),s.$imageWrapEl.transform(`translate3d(${u.currentX}px, ${u.currentY}px,0)`)}}function _(){const M=e.zoom;if(!s.$imageEl||s.$imageEl.length===0)return;if(!u.isTouched||!u.isMoved){u.isTouched=!1,u.isMoved=!1;return}u.isTouched=!1,u.isMoved=!1;let j=300,F=300;const X=h.x*j,K=u.currentX+X,te=h.y*F,R=u.currentY+te;h.x!==0&&(j=Math.abs((K-u.currentX)/h.x)),h.y!==0&&(F=Math.abs((R-u.currentY)/h.y));const se=Math.max(j,F);u.currentX=K,u.currentY=R;const I=u.width*M.scale,x=u.height*M.scale;u.minX=Math.min(s.slideWidth/2-I/2,0),u.maxX=-u.minX,u.minY=Math.min(s.slideHeight/2-x/2,0),u.maxY=-u.minY,u.currentX=Math.max(Math.min(u.currentX,u.maxX),u.minX),u.currentY=Math.max(Math.min(u.currentY,u.maxY),u.minY),s.$imageWrapEl.transition(se).transform(`translate3d(${u.currentX}px, ${u.currentY}px,0)`)}function w(){const M=e.zoom;s.$slideEl&&e.previousIndex!==e.activeIndex&&(s.$imageEl&&s.$imageEl.transform("translate3d(0,0,0) scale(1)"),s.$imageWrapEl&&s.$imageWrapEl.transform("translate3d(0,0,0)"),M.scale=1,l=1,s.$slideEl=void 0,s.$imageEl=void 0,s.$imageWrapEl=void 0)}function A(M){const j=e.zoom,F=e.params.zoom;if(s.$slideEl||(M&&M.target&&(s.$slideEl=U(M.target).closest(`.${e.params.slideClass}`)),s.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?s.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):s.$slideEl=e.slides.eq(e.activeIndex)),s.$imageEl=s.$slideEl.find(`.${F.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),s.$imageWrapEl=s.$imageEl.parent(`.${F.containerClass}`)),!s.$imageEl||s.$imageEl.length===0||!s.$imageWrapEl||s.$imageWrapEl.length===0)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),s.$slideEl.addClass(`${F.zoomedSlideClass}`);let X,K,te,R,se,I,x,G,q,re,le,he,ee,me,Ee,Ne,xe,we;typeof u.touchesStart.x>"u"&&M?(X=M.type==="touchend"?M.changedTouches[0].pageX:M.pageX,K=M.type==="touchend"?M.changedTouches[0].pageY:M.pageY):(X=u.touchesStart.x,K=u.touchesStart.y),j.scale=s.$imageWrapEl.attr("data-swiper-zoom")||F.maxRatio,l=s.$imageWrapEl.attr("data-swiper-zoom")||F.maxRatio,M?(xe=s.$slideEl[0].offsetWidth,we=s.$slideEl[0].offsetHeight,te=s.$slideEl.offset().left+r.scrollX,R=s.$slideEl.offset().top+r.scrollY,se=te+xe/2-X,I=R+we/2-K,q=s.$imageEl[0].offsetWidth,re=s.$imageEl[0].offsetHeight,le=q*j.scale,he=re*j.scale,ee=Math.min(xe/2-le/2,0),me=Math.min(we/2-he/2,0),Ee=-ee,Ne=-me,x=se*j.scale,G=I*j.scale,x<ee&&(x=ee),x>Ee&&(x=Ee),G<me&&(G=me),G>Ne&&(G=Ne)):(x=0,G=0),s.$imageWrapEl.transition(300).transform(`translate3d(${x}px, ${G}px,0)`),s.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${j.scale})`)}function L(){const M=e.zoom,j=e.params.zoom;s.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?s.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):s.$slideEl=e.slides.eq(e.activeIndex),s.$imageEl=s.$slideEl.find(`.${j.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),s.$imageWrapEl=s.$imageEl.parent(`.${j.containerClass}`)),!(!s.$imageEl||s.$imageEl.length===0||!s.$imageWrapEl||s.$imageWrapEl.length===0)&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),M.scale=1,l=1,s.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),s.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),s.$slideEl.removeClass(`${j.zoomedSlideClass}`),s.$slideEl=void 0)}function B(M){const j=e.zoom;j.scale&&j.scale!==1?L():A(M)}function z(){const M=e.support,j=e.touchEvents.start==="touchstart"&&M.passiveListener&&e.params.passiveListeners?{passive:!0,capture:!1}:!1,F=M.passiveListener?{passive:!1,capture:!0}:!0;return{passiveListener:j,activeListenerWithCapture:F}}function N(){return`.${e.params.slideClass}`}function D(M){const{passiveListener:j}=z(),F=N();e.$wrapperEl[M]("gesturestart",F,g,j),e.$wrapperEl[M]("gesturechange",F,v,j),e.$wrapperEl[M]("gestureend",F,b,j)}function P(){c||(c=!0,D("on"))}function S(){c&&(c=!1,D("off"))}function H(){const M=e.zoom;if(M.enabled)return;M.enabled=!0;const j=e.support,{passiveListener:F,activeListenerWithCapture:X}=z(),K=N();j.gestures?(e.$wrapperEl.on(e.touchEvents.start,P,F),e.$wrapperEl.on(e.touchEvents.end,S,F)):e.touchEvents.start==="touchstart"&&(e.$wrapperEl.on(e.touchEvents.start,K,g,F),e.$wrapperEl.on(e.touchEvents.move,K,v,X),e.$wrapperEl.on(e.touchEvents.end,K,b,F),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,K,b,F)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,X)}function V(){const M=e.zoom;if(!M.enabled)return;const j=e.support;M.enabled=!1;const{passiveListener:F,activeListenerWithCapture:X}=z(),K=N();j.gestures?(e.$wrapperEl.off(e.touchEvents.start,P,F),e.$wrapperEl.off(e.touchEvents.end,S,F)):e.touchEvents.start==="touchstart"&&(e.$wrapperEl.off(e.touchEvents.start,K,g,F),e.$wrapperEl.off(e.touchEvents.move,K,v,X),e.$wrapperEl.off(e.touchEvents.end,K,b,F),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,K,b,F)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,X)}i("init",()=>{e.params.zoom.enabled&&H()}),i("destroy",()=>{V()}),i("touchStart",(M,j)=>{e.zoom.enabled&&m(j)}),i("touchEnd",(M,j)=>{e.zoom.enabled&&_()}),i("doubleTap",(M,j)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&B(j)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&w()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&w()}),Object.assign(e.zoom,{enable:H,disable:V,in:A,out:L,toggle:B})}function ha({swiper:e,extendParams:t,on:i,emit:n}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let r=!1,l=!1;function d(o,s=!0){const u=e.params.lazy;if(typeof o>"u"||e.slides.length===0)return;const f=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${o}"]`):e.slides.eq(o),p=f.find(`.${u.elementClass}:not(.${u.loadedClass}):not(.${u.loadingClass})`);f.hasClass(u.elementClass)&&!f.hasClass(u.loadedClass)&&!f.hasClass(u.loadingClass)&&p.push(f[0]),p.length!==0&&p.each(g=>{const v=U(g);v.addClass(u.loadingClass);const b=v.attr("data-background"),m=v.attr("data-src"),y=v.attr("data-srcset"),_=v.attr("data-sizes"),w=v.parent("picture");e.loadImage(v[0],m||b,y,_,!1,()=>{if(!(typeof e>"u"||e===null||!e||e&&!e.params||e.destroyed)){if(b?(v.css("background-image",`url("${b}")`),v.removeAttr("data-background")):(y&&(v.attr("srcset",y),v.removeAttr("data-srcset")),_&&(v.attr("sizes",_),v.removeAttr("data-sizes")),w.length&&w.children("source").each(A=>{const L=U(A);L.attr("data-srcset")&&(L.attr("srcset",L.attr("data-srcset")),L.removeAttr("data-srcset"))}),m&&(v.attr("src",m),v.removeAttr("data-src"))),v.addClass(u.loadedClass).removeClass(u.loadingClass),f.find(`.${u.preloaderClass}`).remove(),e.params.loop&&s){const A=f.attr("data-swiper-slide-index");if(f.hasClass(e.params.slideDuplicateClass)){const L=e.$wrapperEl.children(`[data-swiper-slide-index="${A}"]:not(.${e.params.slideDuplicateClass})`);d(L.index(),!1)}else{const L=e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${A}"]`);d(L.index(),!1)}}n("lazyImageReady",f[0],v[0]),e.params.autoHeight&&e.updateAutoHeight()}}),n("lazyImageLoad",f[0],v[0])})}function c(){const{$wrapperEl:o,params:s,slides:u,activeIndex:h}=e,f=e.virtual&&s.virtual.enabled,p=s.lazy;let g=s.slidesPerView;g==="auto"&&(g=0);function v(m){if(f){if(o.children(`.${s.slideClass}[data-swiper-slide-index="${m}"]`).length)return!0}else if(u[m])return!0;return!1}function b(m){return f?U(m).attr("data-swiper-slide-index"):U(m).index()}if(l||(l=!0),e.params.watchSlidesProgress)o.children(`.${s.slideVisibleClass}`).each(m=>{const y=f?U(m).attr("data-swiper-slide-index"):U(m).index();d(y)});else if(g>1)for(let m=h;m<h+g;m+=1)v(m)&&d(m);else d(h);if(p.loadPrevNext)if(g>1||p.loadPrevNextAmount&&p.loadPrevNextAmount>1){const m=p.loadPrevNextAmount,y=Math.ceil(g),_=Math.min(h+y+Math.max(m,y),u.length),w=Math.max(h-Math.max(y,m),0);for(let A=h+y;A<_;A+=1)v(A)&&d(A);for(let A=w;A<h;A+=1)v(A)&&d(A)}else{const m=o.children(`.${s.slideNextClass}`);m.length>0&&d(b(m));const y=o.children(`.${s.slidePrevClass}`);y.length>0&&d(b(y))}}function a(){const o=ge();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?U(e.params.lazy.scrollingElement):U(o),u=s[0]===o,h=u?o.innerWidth:s[0].offsetWidth,f=u?o.innerHeight:s[0].offsetHeight,p=e.$el.offset(),{rtlTranslate:g}=e;let v=!1;g&&(p.left-=e.$el[0].scrollLeft);const b=[[p.left,p.top],[p.left+e.width,p.top],[p.left,p.top+e.height],[p.left+e.width,p.top+e.height]];for(let y=0;y<b.length;y+=1){const _=b[y];if(_[0]>=0&&_[0]<=h&&_[1]>=0&&_[1]<=f){if(_[0]===0&&_[1]===0)continue;v=!0}}const m=e.touchEvents.start==="touchstart"&&e.support.passiveListener&&e.params.passiveListeners?{passive:!0,capture:!1}:!1;v?(c(),s.off("scroll",a,m)):r||(r=!0,s.on("scroll",a,m))}i("beforeInit",()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)}),i("init",()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?a():c())}),i("scroll",()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&c()}),i("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?a():c())}),i("transitionStart",()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!l)&&(e.params.lazy.checkInView?a():c())}),i("transitionEnd",()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?a():c())}),i("slideChange",()=>{const{lazy:o,cssMode:s,watchSlidesProgress:u,touchReleaseOnEdges:h,resistanceRatio:f}=e.params;o.enabled&&(s||u&&(h||f===0))&&c()}),i("destroy",()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)}),Object.assign(e.lazy,{load:c,loadInSlide:d})}function fa({swiper:e,extendParams:t,on:i}){t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(a,o){const s=function(){let p,g,v;return(b,m)=>{for(g=-1,p=b.length;p-g>1;)v=p+g>>1,b[v]<=m?g=v:p=v;return p}}();this.x=a,this.y=o,this.lastIndex=a.length-1;let u,h;return this.interpolate=function(p){return p?(h=s(this.x,p),u=h-1,(p-this.x[u])*(this.y[h]-this.y[u])/(this.x[h]-this.x[u])+this.y[u]):0},this}function r(a){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,a.slidesGrid):new n(e.snapGrid,a.snapGrid))}function l(a,o){const s=e.controller.control;let u,h;const f=e.constructor;function p(g){const v=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(r(g),h=-e.controller.spline.interpolate(-v)),(!h||e.params.controller.by==="container")&&(u=(g.maxTranslate()-g.minTranslate())/(e.maxTranslate()-e.minTranslate()),h=(v-e.minTranslate())*u+g.minTranslate()),e.params.controller.inverse&&(h=g.maxTranslate()-h),g.updateProgress(h),g.setTranslate(h,e),g.updateActiveIndex(),g.updateSlidesClasses()}if(Array.isArray(s))for(let g=0;g<s.length;g+=1)s[g]!==o&&s[g]instanceof f&&p(s[g]);else s instanceof f&&o!==s&&p(s)}function d(a,o){const s=e.constructor,u=e.controller.control;let h;function f(p){p.setTransition(a,e),a!==0&&(p.transitionStart(),p.params.autoHeight&&Xe(()=>{p.updateAutoHeight()}),p.$wrapperEl.transitionEnd(()=>{u&&(p.params.loop&&e.params.controller.by==="slide"&&p.loopFix(),p.transitionEnd())}))}if(Array.isArray(u))for(h=0;h<u.length;h+=1)u[h]!==o&&u[h]instanceof s&&f(u[h]);else u instanceof s&&o!==u&&f(u)}function c(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}i("beforeInit",()=>{e.controller.control=e.params.controller.control}),i("update",()=>{c()}),i("resize",()=>{c()}),i("observerUpdate",()=>{c()}),i("setTranslate",(a,o,s)=>{e.controller.control&&e.controller.setTranslate(o,s)}),i("setTransition",(a,o,s)=>{e.controller.control&&e.controller.setTransition(o,s)}),Object.assign(e.controller,{setTranslate:l,setTransition:d})}function pa({swiper:e,extendParams:t,on:i}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let n=null;function r(P){const S=n;S.length!==0&&(S.html(""),S.html(P))}function l(P=16){const S=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,S)}function d(P){P.attr("tabIndex","0")}function c(P){P.attr("tabIndex","-1")}function a(P,S){P.attr("role",S)}function o(P,S){P.attr("aria-roledescription",S)}function s(P,S){P.attr("aria-controls",S)}function u(P,S){P.attr("aria-label",S)}function h(P,S){P.attr("id",S)}function f(P,S){P.attr("aria-live",S)}function p(P){P.attr("aria-disabled",!0)}function g(P){P.attr("aria-disabled",!1)}function v(P){if(P.keyCode!==13&&P.keyCode!==32)return;const S=e.params.a11y,H=U(P.target);e.navigation&&e.navigation.$nextEl&&H.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?r(S.lastSlideMessage):r(S.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&H.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?r(S.firstSlideMessage):r(S.prevSlideMessage)),e.pagination&&H.is(Ze(e.params.pagination.bulletClass))&&H[0].click()}function b(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:P,$prevEl:S}=e.navigation;S&&S.length>0&&(e.isBeginning?(p(S),c(S)):(g(S),d(S))),P&&P.length>0&&(e.isEnd?(p(P),c(P)):(g(P),d(P)))}function m(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function y(){return m()&&e.params.pagination.clickable}function _(){const P=e.params.a11y;m()&&e.pagination.bullets.each(S=>{const H=U(S);e.params.pagination.clickable&&(d(H),e.params.pagination.renderBullet||(a(H,"button"),u(H,P.paginationBulletMessage.replace(/\{\{index\}\}/,H.index()+1)))),H.is(`.${e.params.pagination.bulletActiveClass}`)?H.attr("aria-current","true"):H.removeAttr("aria-current")})}const w=(P,S,H)=>{d(P),P[0].tagName!=="BUTTON"&&(a(P,"button"),P.on("keydown",v)),u(P,H),s(P,S)},A=()=>{e.a11y.clicked=!0},L=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},B=P=>{if(e.a11y.clicked)return;const S=P.target.closest(`.${e.params.slideClass}`);if(!S||!e.slides.includes(S))return;const H=e.slides.indexOf(S)===e.activeIndex,V=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(S);H||V||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(S),0))},z=()=>{const P=e.params.a11y;P.itemRoleDescriptionMessage&&o(U(e.slides),P.itemRoleDescriptionMessage),P.slideRole&&a(U(e.slides),P.slideRole);const S=e.params.loop?e.slides.filter(H=>!H.classList.contains(e.params.slideDuplicateClass)).length:e.slides.length;P.slideLabelMessage&&e.slides.each((H,V)=>{const M=U(H),j=e.params.loop?parseInt(M.attr("data-swiper-slide-index"),10):V,F=P.slideLabelMessage.replace(/\{\{index\}\}/,j+1).replace(/\{\{slidesLength\}\}/,S);u(M,F)})},N=()=>{const P=e.params.a11y;e.$el.append(n);const S=e.$el;P.containerRoleDescriptionMessage&&o(S,P.containerRoleDescriptionMessage),P.containerMessage&&u(S,P.containerMessage);const H=e.$wrapperEl,V=P.id||H.attr("id")||`swiper-wrapper-${l(16)}`,M=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";h(H,V),f(H,M),z();let j,F;e.navigation&&e.navigation.$nextEl&&(j=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(F=e.navigation.$prevEl),j&&j.length&&w(j,V,P.nextSlideMessage),F&&F.length&&w(F,V,P.prevSlideMessage),y()&&e.pagination.$el.on("keydown",Ze(e.params.pagination.bulletClass),v),e.$el.on("focus",B,!0),e.$el.on("pointerdown",A,!0),e.$el.on("pointerup",L,!0)};function D(){n&&n.length>0&&n.remove();let P,S;e.navigation&&e.navigation.$nextEl&&(P=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(S=e.navigation.$prevEl),P&&P.off("keydown",v),S&&S.off("keydown",v),y()&&e.pagination.$el.off("keydown",Ze(e.params.pagination.bulletClass),v),e.$el.off("focus",B,!0),e.$el.off("pointerdown",A,!0),e.$el.off("pointerup",L,!0)}i("beforeInit",()=>{n=U(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}),i("afterInit",()=>{e.params.a11y.enabled&&N()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&z()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&b()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&_()}),i("destroy",()=>{e.params.a11y.enabled&&D()})}function ga({swiper:e,extendParams:t,on:i}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const l=h=>h.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),d=h=>{const f=ge();let p;h?p=new URL(h):p=f.location;const g=p.pathname.slice(1).split("/").filter(y=>y!==""),v=g.length,b=g[v-2],m=g[v-1];return{key:b,value:m}},c=(h,f)=>{const p=ge();if(!n||!e.params.history.enabled)return;let g;e.params.url?g=new URL(e.params.url):g=p.location;const v=e.slides.eq(f);let b=l(v.attr("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),b=`${y}/${h}/${b}`}else g.pathname.includes(h)||(b=`${h}/${b}`);e.params.history.keepQuery&&(b+=g.search);const m=p.history.state;m&&m.value===b||(e.params.history.replaceState?p.history.replaceState({value:b},null,b):p.history.pushState({value:b},null,b))},a=(h,f,p)=>{if(f)for(let g=0,v=e.slides.length;g<v;g+=1){const b=e.slides.eq(g);if(l(b.attr("data-history"))===f&&!b.hasClass(e.params.slideDuplicateClass)){const y=b.index();e.slideTo(y,h,p)}}else e.slideTo(0,h,p)},o=()=>{r=d(e.params.url),a(e.params.speed,r.value,!1)},s=()=>{const h=ge();if(e.params.history){if(!h.history||!h.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}n=!0,r=d(e.params.url),!(!r.key&&!r.value)&&(a(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||h.addEventListener("popstate",o))}},u=()=>{const h=ge();e.params.history.replaceState||h.removeEventListener("popstate",o)};i("init",()=>{e.params.history.enabled&&s()}),i("destroy",()=>{e.params.history.enabled&&u()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{n&&c(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{n&&e.params.cssMode&&c(e.params.history.key,e.activeIndex)})}function ma({swiper:e,extendParams:t,emit:i,on:n}){let r=!1;const l=ye(),d=ge();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{i("hashChange");const u=l.location.hash.replace("#",""),h=e.slides.eq(e.activeIndex).attr("data-hash");if(u!==h){const f=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${u}"]`).index();if(typeof f>"u")return;e.slideTo(f)}},a=()=>{if(!(!r||!e.params.hashNavigation.enabled))if(e.params.hashNavigation.replaceState&&d.history&&d.history.replaceState)d.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),i("hashSet");else{const u=e.slides.eq(e.activeIndex),h=u.attr("data-hash")||u.attr("data-history");l.location.hash=h||"",i("hashSet")}},o=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;r=!0;const u=l.location.hash.replace("#","");if(u)for(let f=0,p=e.slides.length;f<p;f+=1){const g=e.slides.eq(f);if((g.attr("data-hash")||g.attr("data-history"))===u&&!g.hasClass(e.params.slideDuplicateClass)){const b=g.index();e.slideTo(b,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&U(d).on("hashchange",c)},s=()=>{e.params.hashNavigation.watchState&&U(d).off("hashchange",c)};n("init",()=>{e.params.hashNavigation.enabled&&o()}),n("destroy",()=>{e.params.hashNavigation.enabled&&s()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{r&&a()}),n("slideChange",()=>{r&&e.params.cssMode&&a()})}function va({swiper:e,extendParams:t,on:i,emit:n}){let r;e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});function l(){if(!e.size){e.autoplay.running=!1,e.autoplay.paused=!1;return}const g=e.slides.eq(e.activeIndex);let v=e.params.autoplay.delay;g.attr("data-swiper-autoplay")&&(v=g.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=Xe(()=>{let b;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),b=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?c():(b=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),n("autoplay")):(b=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.params.loop?(e.loopFix(),b=e.slideNext(e.params.speed,!0,!0),n("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?c():(b=e.slideTo(0,e.params.speed,!0,!0),n("autoplay")):(b=e.slideNext(e.params.speed,!0,!0),n("autoplay")),(e.params.cssMode&&e.autoplay.running||b===!1)&&l()},v)}function d(){return typeof r<"u"||e.autoplay.running?!1:(e.autoplay.running=!0,n("autoplayStart"),l(),!0)}function c(){return!e.autoplay.running||typeof r>"u"?!1:(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,n("autoplayStop"),!0)}function a(g){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,g===0||!e.params.autoplay.waitForTransition?(e.autoplay.paused=!1,l()):["transitionend","webkitTransitionEnd"].forEach(v=>{e.$wrapperEl[0].addEventListener(v,s)})))}function o(){const g=ye();g.visibilityState==="hidden"&&e.autoplay.running&&a(),g.visibilityState==="visible"&&e.autoplay.paused&&(l(),e.autoplay.paused=!1)}function s(g){!e||e.destroyed||!e.$wrapperEl||g.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(v=>{e.$wrapperEl[0].removeEventListener(v,s)}),e.autoplay.paused=!1,e.autoplay.running?l():c())}function u(){e.params.autoplay.disableOnInteraction?c():(n("autoplayPause"),a()),["transitionend","webkitTransitionEnd"].forEach(g=>{e.$wrapperEl[0].removeEventListener(g,s)})}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n("autoplayResume"),l())}function f(){e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",u),e.$el.on("mouseleave",h))}function p(){e.$el.off("mouseenter",u),e.$el.off("mouseleave",h)}i("init",()=>{e.params.autoplay.enabled&&(d(),ye().addEventListener("visibilitychange",o),f())}),i("beforeTransitionStart",(g,v,b)=>{e.autoplay.running&&(b||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(v):c())}),i("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?c():a())}),i("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&l()}),i("destroy",()=>{p(),e.autoplay.running&&c(),ye().removeEventListener("visibilitychange",o)}),Object.assign(e.autoplay,{pause:a,run:l,start:d,stop:c})}function ya({swiper:e,extendParams:t,on:i}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,r=!1;e.thumbs={swiper:null};function l(){const a=e.thumbs.swiper;if(!a||a.destroyed)return;const o=a.clickedIndex,s=a.clickedSlide;if(s&&U(s).hasClass(e.params.thumbs.slideThumbActiveClass)||typeof o>"u"||o===null)return;let u;if(a.params.loop?u=parseInt(U(a.clickedSlide).attr("data-swiper-slide-index"),10):u=o,e.params.loop){let h=e.activeIndex;e.slides.eq(h).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,h=e.activeIndex);const f=e.slides.eq(h).prevAll(`[data-swiper-slide-index="${u}"]`).eq(0).index(),p=e.slides.eq(h).nextAll(`[data-swiper-slide-index="${u}"]`).eq(0).index();typeof f>"u"?u=p:typeof p>"u"?u=f:p-h<h-f?u=p:u=f}e.slideTo(u)}function d(){const{thumbs:a}=e.params;if(n)return!1;n=!0;const o=e.constructor;if(a.swiper instanceof o)e.thumbs.swiper=a.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(vt(a.swiper)){const s=Object.assign({},a.swiper);Object.assign(s,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new o(s),r=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",l),!0}function c(a){const o=e.thumbs.swiper;if(!o||o.destroyed)return;const s=o.params.slidesPerView==="auto"?o.slidesPerViewDynamic():o.params.slidesPerView;let u=1;const h=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(u=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),o.slides.removeClass(h),o.params.loop||o.params.virtual&&o.params.virtual.enabled)for(let g=0;g<u;g+=1)o.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+g}"]`).addClass(h);else for(let g=0;g<u;g+=1)o.slides.eq(e.realIndex+g).addClass(h);const f=e.params.thumbs.autoScrollOffset,p=f&&!o.params.loop;if(e.realIndex!==o.realIndex||p){let g=o.activeIndex,v,b;if(o.params.loop){o.slides.eq(g).hasClass(o.params.slideDuplicateClass)&&(o.loopFix(),o._clientLeft=o.$wrapperEl[0].clientLeft,g=o.activeIndex);const m=o.slides.eq(g).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),y=o.slides.eq(g).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();typeof m>"u"?v=y:typeof y>"u"?v=m:y-g===g-m?v=o.params.slidesPerGroup>1?y:g:y-g<g-m?v=y:v=m,b=e.activeIndex>e.previousIndex?"next":"prev"}else v=e.realIndex,b=v>e.previousIndex?"next":"prev";p&&(v+=b==="next"?f:-1*f),o.visibleSlidesIndexes&&o.visibleSlidesIndexes.indexOf(v)<0&&(o.params.centeredSlides?v>g?v=v-Math.floor(s/2)+1:v=v+Math.floor(s/2)-1:v>g&&o.params.slidesPerGroup,o.slideTo(v,a?0:void 0))}}i("beforeInit",()=>{const{thumbs:a}=e.params;!a||!a.swiper||(d(),c(!0))}),i("slideChange update resize observerUpdate",()=>{c()}),i("setTransition",(a,o)=>{const s=e.thumbs.swiper;!s||s.destroyed||s.setTransition(o)}),i("beforeDestroy",()=>{const a=e.thumbs.swiper;!a||a.destroyed||r&&a.destroy()}),Object.assign(e.thumbs,{init:d,update:c})}function ba({swiper:e,extendParams:t,emit:i,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){const c=e.getTranslate();e.setTranslate(c),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function l(){const{touchEventsData:c,touches:a}=e;c.velocities.length===0&&c.velocities.push({position:a[e.isHorizontal()?"startX":"startY"],time:c.touchStartTime}),c.velocities.push({position:a[e.isHorizontal()?"currentX":"currentY"],time:De()})}function d({currentPos:c}){const{params:a,$wrapperEl:o,rtlTranslate:s,snapGrid:u,touchEventsData:h}=e,p=De()-h.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<u.length?e.slideTo(u.length-1):e.slideTo(e.slides.length-1);return}if(a.freeMode.momentum){if(h.velocities.length>1){const A=h.velocities.pop(),L=h.velocities.pop(),B=A.position-L.position,z=A.time-L.time;e.velocity=B/z,e.velocity/=2,Math.abs(e.velocity)<a.freeMode.minimumVelocity&&(e.velocity=0),(z>150||De()-A.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=a.freeMode.momentumVelocityRatio,h.velocities.length=0;let g=1e3*a.freeMode.momentumRatio;const v=e.velocity*g;let b=e.translate+v;s&&(b=-b);let m=!1,y;const _=Math.abs(e.velocity)*20*a.freeMode.momentumBounceRatio;let w;if(b<e.maxTranslate())a.freeMode.momentumBounce?(b+e.maxTranslate()<-_&&(b=e.maxTranslate()-_),y=e.maxTranslate(),m=!0,h.allowMomentumBounce=!0):b=e.maxTranslate(),a.loop&&a.centeredSlides&&(w=!0);else if(b>e.minTranslate())a.freeMode.momentumBounce?(b-e.minTranslate()>_&&(b=e.minTranslate()+_),y=e.minTranslate(),m=!0,h.allowMomentumBounce=!0):b=e.minTranslate(),a.loop&&a.centeredSlides&&(w=!0);else if(a.freeMode.sticky){let A;for(let L=0;L<u.length;L+=1)if(u[L]>-b){A=L;break}Math.abs(u[A]-b)<Math.abs(u[A-1]-b)||e.swipeDirection==="next"?b=u[A]:b=u[A-1],b=-b}if(w&&n("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(s?g=Math.abs((-b-e.translate)/e.velocity):g=Math.abs((b-e.translate)/e.velocity),a.freeMode.sticky){const A=Math.abs((s?-b:b)-e.translate),L=e.slidesSizesGrid[e.activeIndex];A<L?g=a.speed:A<2*L?g=a.speed*1.5:g=a.speed*2.5}}else if(a.freeMode.sticky){e.slideToClosest();return}a.freeMode.momentumBounce&&m?(e.updateProgress(y),e.setTransition(g),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,o.transitionEnd(()=>{!e||e.destroyed||!h.allowMomentumBounce||(i("momentumBounce"),e.setTransition(a.speed),setTimeout(()=>{e.setTranslate(y),o.transitionEnd(()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(g),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,o.transitionEnd(()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(a.freeMode.sticky){e.slideToClosest();return}else a.freeMode&&i("_freeModeNoMomentumRelease");(!a.freeMode.momentum||p>=a.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:l,onTouchEnd:d}})}function Ea({swiper:e,extendParams:t}){t({grid:{rows:1,fill:"column"}});let i,n,r;const l=a=>{const{slidesPerView:o}=e.params,{rows:s,fill:u}=e.params.grid;n=i/s,r=Math.floor(a/s),Math.floor(a/s)===a/s?i=a:i=Math.ceil(a/s)*s,o!=="auto"&&u==="row"&&(i=Math.max(i,o*s))},d=(a,o,s,u)=>{const{slidesPerGroup:h,spaceBetween:f}=e.params,{rows:p,fill:g}=e.params.grid;let v,b,m;if(g==="row"&&h>1){const y=Math.floor(a/(h*p)),_=a-p*h*y,w=y===0?h:Math.min(Math.ceil((s-y*p*h)/p),h);m=Math.floor(_/w),b=_-m*w+y*h,v=b+m*i/p,o.css({"-webkit-order":v,order:v})}else g==="column"?(b=Math.floor(a/p),m=a-b*p,(b>r||b===r&&m===p-1)&&(m+=1,m>=p&&(m=0,b+=1))):(m=Math.floor(a/n),b=a-m*n);o.css(u("margin-top"),m!==0?f&&`${f}px`:"")},c=(a,o,s)=>{const{spaceBetween:u,centeredSlides:h,roundLengths:f}=e.params,{rows:p}=e.params.grid;if(e.virtualSize=(a+u)*i,e.virtualSize=Math.ceil(e.virtualSize/p)-u,e.$wrapperEl.css({[s("width")]:`${e.virtualSize+u}px`}),h){o.splice(0,o.length);const g=[];for(let v=0;v<o.length;v+=1){let b=o[v];f&&(b=Math.floor(b)),o[v]<e.virtualSize+o[0]&&g.push(b)}o.push(...g)}};e.grid={initSlides:l,updateSlide:d,updateWrapperSize:c}}function Sa(e){const t=this,{$wrapperEl:i,params:n}=t;if(n.loop&&t.loopDestroy(),typeof e=="object"&&"length"in e)for(let r=0;r<e.length;r+=1)e[r]&&i.append(e[r]);else i.append(e);n.loop&&t.loopCreate(),n.observer||t.update()}function xa(e){const t=this,{params:i,$wrapperEl:n,activeIndex:r}=t;i.loop&&t.loopDestroy();let l=r+1;if(typeof e=="object"&&"length"in e){for(let d=0;d<e.length;d+=1)e[d]&&n.prepend(e[d]);l=r+e.length}else n.prepend(e);i.loop&&t.loopCreate(),i.observer||t.update(),t.slideTo(l,0,!1)}function _a(e,t){const i=this,{$wrapperEl:n,params:r,activeIndex:l}=i;let d=l;r.loop&&(d-=i.loopedSlides,i.loopDestroy(),i.slides=n.children(`.${r.slideClass}`));const c=i.slides.length;if(e<=0){i.prependSlide(t);return}if(e>=c){i.appendSlide(t);return}let a=d>e?d+1:d;const o=[];for(let s=c-1;s>=e;s-=1){const u=i.slides.eq(s);u.remove(),o.unshift(u)}if(typeof t=="object"&&"length"in t){for(let s=0;s<t.length;s+=1)t[s]&&n.append(t[s]);a=d>e?d+t.length:d}else n.append(t);for(let s=0;s<o.length;s+=1)n.append(o[s]);r.loop&&i.loopCreate(),r.observer||i.update(),r.loop?i.slideTo(a+i.loopedSlides,0,!1):i.slideTo(a,0,!1)}function Ta(e){const t=this,{params:i,$wrapperEl:n,activeIndex:r}=t;let l=r;i.loop&&(l-=t.loopedSlides,t.loopDestroy(),t.slides=n.children(`.${i.slideClass}`));let d=l,c;if(typeof e=="object"&&"length"in e){for(let a=0;a<e.length;a+=1)c=e[a],t.slides[c]&&t.slides.eq(c).remove(),c<d&&(d-=1);d=Math.max(d,0)}else c=e,t.slides[c]&&t.slides.eq(c).remove(),c<d&&(d-=1),d=Math.max(d,0);i.loop&&t.loopCreate(),i.observer||t.update(),i.loop?t.slideTo(d+t.loopedSlides,0,!1):t.slideTo(d,0,!1)}function Ca(){const e=this,t=[];for(let i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function wa({swiper:e}){Object.assign(e,{appendSlide:Sa.bind(e),prependSlide:xa.bind(e),addSlide:_a.bind(e),removeSlide:Ta.bind(e),removeAllSlides:Ca.bind(e)})}function at(e){const{effect:t,swiper:i,on:n,setTranslate:r,setTransition:l,overwriteParams:d,perspective:c,recreateShadows:a,getEffectParams:o}=e;n("beforeInit",()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),c&&c()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const u=d?d():{};Object.assign(i.params,u),Object.assign(i.originalParams,u)}),n("setTranslate",()=>{i.params.effect===t&&r()}),n("setTransition",(u,h)=>{i.params.effect===t&&l(h)}),n("transitionEnd",()=>{if(i.params.effect===t&&a){if(!o||!o().slideShadows)return;i.slides.each(u=>{i.$(u).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),a()}});let s;n("virtualUpdate",()=>{i.params.effect===t&&(i.slides.length||(s=!0),requestAnimationFrame(()=>{s&&i.slides&&i.slides.length&&(r(),s=!1)}))})}function Ct(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function Wt({swiper:e,duration:t,transformEl:i,allSlides:n}){const{slides:r,activeIndex:l,$wrapperEl:d}=e;if(e.params.virtualTranslate&&t!==0){let c=!1,a;n?a=i?r.find(i):r:a=i?r.eq(l).find(i):r.eq(l),a.transitionEnd(()=>{if(c||!e||e.destroyed)return;c=!0,e.animating=!1;const o=["webkitTransitionEnd","transitionend"];for(let s=0;s<o.length;s+=1)d.trigger(o[s])})}}function Aa({swiper:e,extendParams:t,on:i}){t({fadeEffect:{crossFade:!1,transformEl:null}}),at({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:l}=e,d=e.params.fadeEffect;for(let c=0;c<l.length;c+=1){const a=e.slides.eq(c);let s=-a[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);let u=0;e.isHorizontal()||(u=s,s=0);const h=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(a[0].progress),0):1+Math.min(Math.max(a[0].progress,-1),0);Ct(d,a).css({opacity:h}).transform(`translate3d(${s}px, ${u}px, 0px)`)}},setTransition:l=>{const{transformEl:d}=e.params.fadeEffect;(d?e.slides.find(d):e.slides).transition(l),Wt({swiper:e,duration:l,transformEl:d,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function $a({swiper:e,extendParams:t,on:i}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(c,a,o)=>{let s=o?c.find(".swiper-slide-shadow-left"):c.find(".swiper-slide-shadow-top"),u=o?c.find(".swiper-slide-shadow-right"):c.find(".swiper-slide-shadow-bottom");s.length===0&&(s=U(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),c.append(s)),u.length===0&&(u=U(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),c.append(u)),s.length&&(s[0].style.opacity=Math.max(-a,0)),u.length&&(u[0].style.opacity=Math.max(a,0))};at({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{$el:c,$wrapperEl:a,slides:o,width:s,height:u,rtlTranslate:h,size:f,browser:p}=e,g=e.params.cubeEffect,v=e.isHorizontal(),b=e.virtual&&e.params.virtual.enabled;let m=0,y;g.shadow&&(v?(y=a.find(".swiper-cube-shadow"),y.length===0&&(y=U('<div class="swiper-cube-shadow"></div>'),a.append(y)),y.css({height:`${s}px`})):(y=c.find(".swiper-cube-shadow"),y.length===0&&(y=U('<div class="swiper-cube-shadow"></div>'),c.append(y))));for(let w=0;w<o.length;w+=1){const A=o.eq(w);let L=w;b&&(L=parseInt(A.attr("data-swiper-slide-index"),10));let B=L*90,z=Math.floor(B/360);h&&(B=-B,z=Math.floor(-B/360));const N=Math.max(Math.min(A[0].progress,1),-1);let D=0,P=0,S=0;L%4===0?(D=-z*4*f,S=0):(L-1)%4===0?(D=0,S=-z*4*f):(L-2)%4===0?(D=f+z*4*f,S=f):(L-3)%4===0&&(D=-f,S=3*f+f*4*z),h&&(D=-D),v||(P=D,D=0);const H=`rotateX(${v?0:-B}deg) rotateY(${v?B:0}deg) translate3d(${D}px, ${P}px, ${S}px)`;N<=1&&N>-1&&(m=L*90+N*90,h&&(m=-L*90-N*90)),A.transform(H),g.slideShadows&&n(A,N,v)}if(a.css({"-webkit-transform-origin":`50% 50% -${f/2}px`,"transform-origin":`50% 50% -${f/2}px`}),g.shadow)if(v)y.transform(`translate3d(0px, ${s/2+g.shadowOffset}px, ${-s/2}px) rotateX(90deg) rotateZ(0deg) scale(${g.shadowScale})`);else{const w=Math.abs(m)-Math.floor(Math.abs(m)/90)*90,A=1.5-(Math.sin(w*2*Math.PI/360)/2+Math.cos(w*2*Math.PI/360)/2),L=g.shadowScale,B=g.shadowScale/A,z=g.shadowOffset;y.transform(`scale3d(${L}, 1, ${B}) translate3d(0px, ${u/2+z}px, ${-u/2/B}px) rotateX(-90deg)`)}const _=p.isSafari||p.isWebView?-f/2:0;a.transform(`translate3d(0px,0,${_}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`),a[0].style.setProperty("--swiper-cube-translate-z",`${_}px`)},setTransition:c=>{const{$el:a,slides:o}=e;o.transition(c).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(c),e.params.cubeEffect.shadow&&!e.isHorizontal()&&a.find(".swiper-cube-shadow").transition(c)},recreateShadows:()=>{const c=e.isHorizontal();e.slides.each(a=>{const o=Math.max(Math.min(a.progress,1),-1);n(U(a),o,c)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function rt(e,t,i){const n=`swiper-slide-shadow${i?`-${i}`:""}`,r=e.transformEl?t.find(e.transformEl):t;let l=r.children(`.${n}`);return l.length||(l=U(`<div class="swiper-slide-shadow${i?`-${i}`:""}"></div>`),r.append(l)),l}function Ia({swiper:e,extendParams:t,on:i}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const n=(c,a,o)=>{let s=e.isHorizontal()?c.find(".swiper-slide-shadow-left"):c.find(".swiper-slide-shadow-top"),u=e.isHorizontal()?c.find(".swiper-slide-shadow-right"):c.find(".swiper-slide-shadow-bottom");s.length===0&&(s=rt(o,c,e.isHorizontal()?"left":"top")),u.length===0&&(u=rt(o,c,e.isHorizontal()?"right":"bottom")),s.length&&(s[0].style.opacity=Math.max(-a,0)),u.length&&(u[0].style.opacity=Math.max(a,0))};at({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:c,rtlTranslate:a}=e,o=e.params.flipEffect;for(let s=0;s<c.length;s+=1){const u=c.eq(s);let h=u[0].progress;e.params.flipEffect.limitRotation&&(h=Math.max(Math.min(u[0].progress,1),-1));const f=u[0].swiperSlideOffset;let g=-180*h,v=0,b=e.params.cssMode?-f-e.translate:-f,m=0;e.isHorizontal()?a&&(g=-g):(m=b,b=0,v=-g,g=0),u[0].style.zIndex=-Math.abs(Math.round(h))+c.length,o.slideShadows&&n(u,h,o);const y=`translate3d(${b}px, ${m}px, 0px) rotateX(${v}deg) rotateY(${g}deg)`;Ct(o,u).transform(y)}},setTransition:c=>{const{transformEl:a}=e.params.flipEffect;(a?e.slides.find(a):e.slides).transition(c).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(c),Wt({swiper:e,duration:c,transformEl:a})},recreateShadows:()=>{const c=e.params.flipEffect;e.slides.each(a=>{const o=U(a);let s=o[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(a.progress,1),-1)),n(o,s,c)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Pa({swiper:e,extendParams:t,on:i}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),at({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:l,height:d,slides:c,slidesSizesGrid:a}=e,o=e.params.coverflowEffect,s=e.isHorizontal(),u=e.translate,h=s?-u+l/2:-u+d/2,f=s?o.rotate:-o.rotate,p=o.depth;for(let g=0,v=c.length;g<v;g+=1){const b=c.eq(g),m=a[g],y=b[0].swiperSlideOffset,_=(h-y-m/2)/m,w=typeof o.modifier=="function"?o.modifier(_):_*o.modifier;let A=s?f*w:0,L=s?0:f*w,B=-p*Math.abs(w),z=o.stretch;typeof z=="string"&&z.indexOf("%")!==-1&&(z=parseFloat(o.stretch)/100*m);let N=s?0:z*w,D=s?z*w:0,P=1-(1-o.scale)*Math.abs(w);Math.abs(D)<.001&&(D=0),Math.abs(N)<.001&&(N=0),Math.abs(B)<.001&&(B=0),Math.abs(A)<.001&&(A=0),Math.abs(L)<.001&&(L=0),Math.abs(P)<.001&&(P=0);const S=`translate3d(${D}px,${N}px,${B}px) rotateX(${L}deg) rotateY(${A}deg) scale(${P})`;if(Ct(o,b).transform(S),b[0].style.zIndex=-Math.abs(Math.round(w))+1,o.slideShadows){let V=s?b.find(".swiper-slide-shadow-left"):b.find(".swiper-slide-shadow-top"),M=s?b.find(".swiper-slide-shadow-right"):b.find(".swiper-slide-shadow-bottom");V.length===0&&(V=rt(o,b,s?"left":"top")),M.length===0&&(M=rt(o,b,s?"right":"bottom")),V.length&&(V[0].style.opacity=w>0?w:0),M.length&&(M[0].style.opacity=-w>0?-w:0)}}},setTransition:l=>{const{transformEl:d}=e.params.coverflowEffect;(d?e.slides.find(d):e.slides).transition(l).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(l)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Oa({swiper:e,extendParams:t,on:i}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const n=d=>typeof d=="string"?d:`${d}px`;at({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:d,$wrapperEl:c,slidesSizesGrid:a}=e,o=e.params.creativeEffect,{progressMultiplier:s}=o,u=e.params.centeredSlides;if(u){const h=a[0]/2-e.params.slidesOffsetBefore||0;c.transform(`translateX(calc(50% - ${h}px))`)}for(let h=0;h<d.length;h+=1){const f=d.eq(h),p=f[0].progress,g=Math.min(Math.max(f[0].progress,-o.limitProgress),o.limitProgress);let v=g;u||(v=Math.min(Math.max(f[0].originalProgress,-o.limitProgress),o.limitProgress));const b=f[0].swiperSlideOffset,m=[e.params.cssMode?-b-e.translate:-b,0,0],y=[0,0,0];let _=!1;e.isHorizontal()||(m[1]=m[0],m[0]=0);let w={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};g<0?(w=o.next,_=!0):g>0&&(w=o.prev,_=!0),m.forEach((P,S)=>{m[S]=`calc(${P}px + (${n(w.translate[S])} * ${Math.abs(g*s)}))`}),y.forEach((P,S)=>{y[S]=w.rotate[S]*Math.abs(g*s)}),f[0].style.zIndex=-Math.abs(Math.round(p))+d.length;const A=m.join(", "),L=`rotateX(${y[0]}deg) rotateY(${y[1]}deg) rotateZ(${y[2]}deg)`,B=v<0?`scale(${1+(1-w.scale)*v*s})`:`scale(${1-(1-w.scale)*v*s})`,z=v<0?1+(1-w.opacity)*v*s:1-(1-w.opacity)*v*s,N=`translate3d(${A}) ${L} ${B}`;if(_&&w.shadow||!_){let P=f.children(".swiper-slide-shadow");if(P.length===0&&w.shadow&&(P=rt(o,f)),P.length){const S=o.shadowPerProgress?g*(1/o.limitProgress):g;P[0].style.opacity=Math.min(Math.max(Math.abs(S),0),1)}}const D=Ct(o,f);D.transform(N).css({opacity:z}),w.origin&&D.css("transform-origin",w.origin)}},setTransition:d=>{const{transformEl:c}=e.params.creativeEffect;(c?e.slides.find(c):e.slides).transition(d).find(".swiper-slide-shadow").transition(d),Wt({swiper:e,duration:d,transformEl:c,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Da({swiper:e,extendParams:t,on:i}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),at({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:l,activeIndex:d}=e,c=e.params.cardsEffect,{startTranslate:a,isTouched:o}=e.touchEventsData,s=e.translate;for(let u=0;u<l.length;u+=1){const h=l.eq(u),f=h[0].progress,p=Math.min(Math.max(f,-4),4);let g=h[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(g-=l[0].swiperSlideOffset);let v=e.params.cssMode?-g-e.translate:-g,b=0;const m=-100*Math.abs(p);let y=1,_=-c.perSlideRotate*p,w=c.perSlideOffset-Math.abs(p)*.75;const A=e.virtual&&e.params.virtual.enabled?e.virtual.from+u:u,L=(A===d||A===d-1)&&p>0&&p<1&&(o||e.params.cssMode)&&s<a,B=(A===d||A===d+1)&&p<0&&p>-1&&(o||e.params.cssMode)&&s>a;if(L||B){const P=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;_+=-28*p*P,y+=-.5*P,w+=96*P,b=`${-25*P*Math.abs(p)}%`}if(p<0?v=`calc(${v}px + (${w*Math.abs(p)}%))`:p>0?v=`calc(${v}px + (-${w*Math.abs(p)}%))`:v=`${v}px`,!e.isHorizontal()){const P=b;b=v,v=P}const z=p<0?`${1+(1-y)*p}`:`${1-(1-y)*p}`,N=`
  7. translate3d(${v}, ${b}, ${m}px)
  8. rotateZ(${c.rotate?_:0}deg)
  9. scale(${z})
  10. `;if(c.slideShadows){let P=h.find(".swiper-slide-shadow");P.length===0&&(P=rt(c,h)),P.length&&(P[0].style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}h[0].style.zIndex=-Math.abs(Math.round(f))+l.length,Ct(c,h).transform(N)}},setTransition:l=>{const{transformEl:d}=e.params.cardsEffect;(d?e.slides.find(d):e.slides).transition(l).find(".swiper-slide-shadow").transition(l),Wt({swiper:e,duration:l,transformEl:d})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const La=[sa,ra,aa,oa,la,ua,ca,da,ha,fa,pa,ga,ma,va,ya,ba,Ea,wa,Aa,$a,Ia,Pa,Oa,Da];Pe.use(La);window.Swiper=Pe;/*!
  11. * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com
  12. * (c) 2024 Dmytro Semenov
  13. */function bt(e,t,i){const n=document.createElement(t);return e&&(n.className=e),i&&i.appendChild(n),n}function Ma(e,t,i){let n=`translate3d(${e}px,${t||0}px,0)`;return i!==void 0&&(n+=` scale3d(${i},${i},1)`),n}function di(e,t,i){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof i=="number"?`${i}px`:i}const ke={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function ka(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function Et(e,t,i=document){let n=[];if(e instanceof Element)n=[e];else if(e instanceof NodeList||Array.isArray(e))n=Array.from(e);else{const r=typeof e=="string"?e:t;r&&(n=Array.from(i.querySelectorAll(r)))}return n}function Fa(e){return typeof e=="function"&&e.prototype&&e.prototype.goTo}function qi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let za=class{constructor(t,i){this.type=t,this.defaultPrevented=!1,i&&Object.assign(this,i)}preventDefault(){this.defaultPrevented=!0}},Ra=class{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,i,n=100){var r,l,d;this._filters[t]||(this._filters[t]=[]),(r=this._filters[t])===null||r===void 0||r.push({fn:i,priority:n}),(l=this._filters[t])===null||l===void 0||l.sort((c,a)=>c.priority-a.priority),(d=this.pswp)===null||d===void 0||d.addFilter(t,i,n)}removeFilter(t,i){this._filters[t]&&(this._filters[t]=this._filters[t].filter(n=>n.fn!==i)),this.pswp&&this.pswp.removeFilter(t,i)}applyFilters(t,...i){var n;return(n=this._filters[t])===null||n===void 0||n.forEach(r=>{i[0]=r.fn.apply(this,i)}),i[0]}on(t,i){var n,r;this._listeners[t]||(this._listeners[t]=[]),(n=this._listeners[t])===null||n===void 0||n.push(i),(r=this.pswp)===null||r===void 0||r.on(t,i)}off(t,i){var n;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(r=>i!==r)),(n=this.pswp)===null||n===void 0||n.off(t,i)}dispatch(t,i){var n;if(this.pswp)return this.pswp.dispatch(t,i);const r=new za(t,i);return(n=this._listeners[t])===null||n===void 0||n.forEach(l=>{l.call(this,r)}),r}},Na=class{constructor(t,i){if(this.element=bt("pswp__img pswp__img--placeholder",t?"img":"div",i),t){const n=this.element;n.decoding="async",n.alt="",n.src=t,n.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,i){this.element&&(this.element.tagName==="IMG"?(di(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=Ma(0,0,t/250)):di(this.element,t,i))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}},Ba=class{constructor(t,i,n){this.instance=i,this.data=t,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=ke.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,i){if(this.slide&&this.usePlaceholder())if(this.placeholder){const n=this.placeholder.element;n&&!n.parentElement&&this.slide.container.prepend(n)}else{const n=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new Na(n,this.slide.container)}this.element&&!i||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=bt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=bt("pswp__content","div"),this.element.innerHTML=this.data.html||""),i&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var i,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=(i=this.data.src)!==null&&i!==void 0?i:"",r.alt=(n=this.data.alt)!==null&&n!==void 0?n:"",this.state=ke.LOADING,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=ke.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===ke.LOADED||this.state===ke.ERROR)&&this.removePlaceholder())}onError(){this.state=ke.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===ke.LOADING,this)}isError(){return this.state===ke.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,i){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,i),!this.instance.dispatch("contentResize",{content:this,width:t,height:i}).defaultPrevented&&(di(this.element,t,i),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=i,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:i,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==ke.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,i=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||i>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=i+"px",t.dataset.largestUsedSize=String(i))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,i;let n=bt("pswp__error-msg","div");n.innerText=(t=(i=this.instance.options)===null||i===void 0?void 0:i.errorMsg)!==null&&t!==void 0?t:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=bt("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===ke.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||qi())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!qi()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===ke.LOADED||this.state===ke.ERROR)&&this.removePlaceholder()))}};function Ha(e,t){if(e.getViewportSizeFn){const i=e.getViewportSizeFn(e,t);if(i)return i}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function qt(e,t,i,n,r){let l=0;if(t.paddingFn)l=t.paddingFn(i,n,r)[e];else if(t.padding)l=t.padding[e];else{const d="padding"+e[0].toUpperCase()+e.slice(1);t[d]&&(l=t[d])}return Number(l)||0}function Ga(e,t,i,n){return{x:t.x-qt("left",e,t,i,n)-qt("right",e,t,i,n),y:t.y-qt("top",e,t,i,n)-qt("bottom",e,t,i,n)}}const Wi=4e3;let ja=class{constructor(t,i,n,r){this.pswp=r,this.options=t,this.itemData=i,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,i,n){const r={x:t,y:i};this.elementSize=r,this.panAreaSize=n;const l=n.x/r.x,d=n.y/r.y;this.fit=Math.min(1,l<d?l:d),this.fill=Math.min(1,l>d?l:d),this.vFill=Math.min(1,d),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const i=t+"ZoomLevel",n=this.options[i];if(n)return typeof n=="function"?n(this):n==="fill"?this.fill:n==="fit"?this.fit:Number(n)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>Wi&&(t=Wi/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}};function on(e,t,i){const n=t.createContentFromData(e,i);let r;const{options:l}=t;if(l){r=new ja(l,e,-1);let d;t.pswp?d=t.pswp.viewportSize:d=Ha(l,t);const c=Ga(l,d,e,i);r.update(n.width,n.height,c)}return n.lazyLoad(),r&&n.setDisplayedSize(Math.ceil(n.width*r.initial),Math.ceil(n.height*r.initial)),n}function qa(e,t){const i=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:i}).defaultPrevented)return on(i,t,e)}let Wa=class extends Ra{getNumItems(){var t;let i=0;const n=(t=this.options)===null||t===void 0?void 0:t.dataSource;n&&"length"in n?i=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(i=n.items.length));const r=this.dispatch("numItems",{dataSource:n,numItems:i});return this.applyFilters("numItems",r.numItems,n)}createContentFromData(t,i){return new Ba(t,this,i)}getItemData(t){var i;const n=(i=this.options)===null||i===void 0?void 0:i.dataSource;let r={};Array.isArray(n)?r=n[t]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),r=n.items[t]);let l=r;l instanceof Element&&(l=this._domElementToItemData(l));const d=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",d.itemData,t)}_getGalleryDOMElements(t){var i,n;return(i=this.options)!==null&&i!==void 0&&i.children||(n=this.options)!==null&&n!==void 0&&n.childSelector?Et(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const i={element:t},n=t.tagName==="A"?t:t.querySelector("a");if(n){i.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(i.srcset=n.dataset.pswpSrcset),i.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,i.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,i.w=i.width,i.h=i.height,n.dataset.pswpType&&(i.type=n.dataset.pswpType);const l=t.querySelector("img");if(l){var r;i.msrc=l.currentSrc||l.src,i.alt=(r=l.getAttribute("alt"))!==null&&r!==void 0?r:""}(n.dataset.pswpCropped||n.dataset.cropped)&&(i.thumbCropped=!0)}return this.applyFilters("domItemData",i,t,n)}lazyLoadData(t,i){return on(t,this,i)}};class Za extends Wa{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){Et(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(ka(t)||window.pswp)return;let i={x:t.clientX,y:t.clientY};!i.x&&!i.y&&(i=null);let n=this.getClickedIndex(t);n=this.applyFilters("clickedIndex",n,t,this);const r={gallery:t.currentTarget};n>=0&&(t.preventDefault(),this.loadAndOpen(n,r,i))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const i=t.target,r=Et(this.options.children,this.options.childSelector,t.currentTarget).findIndex(l=>l===i||l.contains(i));return r!==-1?r:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,i,n){if(window.pswp||!this.options)return!1;if(!i&&this.options.gallery&&this.options.children){const r=Et(this.options.gallery);r[0]&&(i={gallery:r[0]})}return this.options.index=t,this.options.initialPointerPos=n,this.shouldOpen=!0,this.preload(t,i),!0}preload(t,i){const{options:n}=this;i&&(n.dataSource=i);const r=[],l=typeof n.pswpModule;if(Fa(n.pswpModule))r.push(Promise.resolve(n.pswpModule));else{if(l==="string")throw new Error("pswpModule as string is no longer supported");if(l==="function")r.push(n.pswpModule());else throw new Error("pswpModule is not valid")}typeof n.openPromise=="function"&&r.push(n.openPromise()),n.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=qa(t,this));const d=++this._uid;Promise.all(r).then(c=>{if(this.shouldOpen){const a=c[0];this._openPhotoswipe(a,d)}})}_openPhotoswipe(t,i){if(i!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const n=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=n,window.pswp=n,Object.keys(this._listeners).forEach(r=>{var l;(l=this._listeners[r])===null||l===void 0||l.forEach(d=>{n.on(r,d)})}),Object.keys(this._filters).forEach(r=>{var l;(l=this._filters[r])===null||l===void 0||l.forEach(d=>{n.addFilter(r,d.fn,d.priority)})}),this._preloadedContent&&(n.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),n.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),n.init()}destroy(){var t;(t=this.pswp)===null||t===void 0||t.destroy(),this.shouldOpen=!1,this._listeners={},Et(this.options.gallery,this.options.gallerySelector).forEach(i=>{i.removeEventListener("click",this.onThumbnailsClick,!1)})}}/*!
  14. * PhotoSwipe 5.4.4 - https://photoswipe.com
  15. * (c) 2024 Dmytro Semenov
  16. */function Le(e,t,i){const n=document.createElement(t);return e&&(n.className=e),i&&i.appendChild(n),n}function ve(e,t){return e.x=t.x,e.y=t.y,t.id!==void 0&&(e.id=t.id),e}function ln(e){e.x=Math.round(e.x),e.y=Math.round(e.y)}function hi(e,t){const i=Math.abs(e.x-t.x),n=Math.abs(e.y-t.y);return Math.sqrt(i*i+n*n)}function xt(e,t){return e.x===t.x&&e.y===t.y}function wt(e,t,i){return Math.min(Math.max(e,t),i)}function _t(e,t,i){let n=`translate3d(${e}px,${t||0}px,0)`;return i!==void 0&&(n+=` scale3d(${i},${i},1)`),n}function tt(e,t,i,n){e.style.transform=_t(t,i,n)}const Ua="cubic-bezier(.4,0,.22,1)";function un(e,t,i,n){e.style.transition=t?`${t} ${i}ms ${n||Ua}`:"none"}function fi(e,t,i){e.style.width=typeof t=="number"?`${t}px`:t,e.style.height=typeof i=="number"?`${i}px`:i}function Va(e){un(e)}function Xa(e){return"decode"in e?e.decode().catch(()=>{}):e.complete?Promise.resolve(e):new Promise((t,i)=>{e.onload=()=>t(e),e.onerror=i})}const Fe={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function Ya(e){return"button"in e&&e.button===1||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey}function Ka(e,t,i=document){let n=[];if(e instanceof Element)n=[e];else if(e instanceof NodeList||Array.isArray(e))n=Array.from(e);else{const r=typeof e=="string"?e:t;r&&(n=Array.from(i.querySelectorAll(r)))}return n}function Zi(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}let cn=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>{cn=!0}}))}catch{}class Ja{constructor(){this._pool=[]}add(t,i,n,r){this._toggleListener(t,i,n,r)}remove(t,i,n,r){this._toggleListener(t,i,n,r,!0)}removeAll(){this._pool.forEach(t=>{this._toggleListener(t.target,t.type,t.listener,t.passive,!0,!0)}),this._pool=[]}_toggleListener(t,i,n,r,l,d){if(!t)return;const c=l?"removeEventListener":"addEventListener";i.split(" ").forEach(o=>{if(o){d||(l?this._pool=this._pool.filter(u=>u.type!==o||u.listener!==n||u.target!==t):this._pool.push({target:t,type:o,listener:n,passive:r}));const s=cn?{passive:r||!1}:!1;t[c](o,n,s)}})}}function dn(e,t){if(e.getViewportSizeFn){const i=e.getViewportSizeFn(e,t);if(i)return i}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function St(e,t,i,n,r){let l=0;if(t.paddingFn)l=t.paddingFn(i,n,r)[e];else if(t.padding)l=t.padding[e];else{const d="padding"+e[0].toUpperCase()+e.slice(1);t[d]&&(l=t[d])}return Number(l)||0}function hn(e,t,i,n){return{x:t.x-St("left",e,t,i,n)-St("right",e,t,i,n),y:t.y-St("top",e,t,i,n)-St("bottom",e,t,i,n)}}class Qa{constructor(t){this.slide=t,this.currZoomLevel=1,this.center={x:0,y:0},this.max={x:0,y:0},this.min={x:0,y:0}}update(t){this.currZoomLevel=t,this.slide.width?(this._updateAxis("x"),this._updateAxis("y"),this.slide.pswp.dispatch("calcBounds",{slide:this.slide})):this.reset()}_updateAxis(t){const{pswp:i}=this.slide,n=this.slide[t==="x"?"width":"height"]*this.currZoomLevel,l=St(t==="x"?"left":"top",i.options,i.viewportSize,this.slide.data,this.slide.index),d=this.slide.panAreaSize[t];this.center[t]=Math.round((d-n)/2)+l,this.max[t]=n>d?Math.round(d-n)+l:this.center[t],this.min[t]=n>d?l:this.center[t]}reset(){this.center.x=0,this.center.y=0,this.max.x=0,this.max.y=0,this.min.x=0,this.min.y=0}correctPan(t,i){return wt(i,this.max[t],this.min[t])}}const Ui=4e3;class fn{constructor(t,i,n,r){this.pswp=r,this.options=t,this.itemData=i,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,i,n){const r={x:t,y:i};this.elementSize=r,this.panAreaSize=n;const l=n.x/r.x,d=n.y/r.y;this.fit=Math.min(1,l<d?l:d),this.fill=Math.min(1,l>d?l:d),this.vFill=Math.min(1,d),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const i=t+"ZoomLevel",n=this.options[i];if(n)return typeof n=="function"?n(this):n==="fill"?this.fill:n==="fit"?this.fit:Number(n)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>Ui&&(t=Ui/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}class eo{constructor(t,i,n){this.data=t,this.index=i,this.pswp=n,this.isActive=i===n.currIndex,this.currentResolution=0,this.panAreaSize={x:0,y:0},this.pan={x:0,y:0},this.isFirstSlide=this.isActive&&!n.opener.isOpen,this.zoomLevels=new fn(n.options,t,i,n),this.pswp.dispatch("gettingData",{slide:this,data:this.data,index:i}),this.content=this.pswp.contentLoader.getContentBySlide(this),this.container=Le("pswp__zoom-wrap","div"),this.holderElement=null,this.currZoomLevel=1,this.width=this.content.width,this.height=this.content.height,this.heavyAppended=!1,this.bounds=new Qa(this),this.prevDisplayedWidth=-1,this.prevDisplayedHeight=-1,this.pswp.dispatch("slideInit",{slide:this})}setIsActive(t){t&&!this.isActive?this.activate():!t&&this.isActive&&this.deactivate()}append(t){this.holderElement=t,this.container.style.transformOrigin="0 0",this.data&&(this.calculateSize(),this.load(),this.updateContentSize(),this.appendHeavy(),this.holderElement.appendChild(this.container),this.zoomAndPanToInitial(),this.pswp.dispatch("firstZoomPan",{slide:this}),this.applyCurrentZoomPan(),this.pswp.dispatch("afterSetContent",{slide:this}),this.isActive&&this.activate())}load(){this.content.load(!1),this.pswp.dispatch("slideLoad",{slide:this})}appendHeavy(){const{pswp:t}=this,i=!0;this.heavyAppended||!t.opener.isOpen||t.mainScroll.isShifted()||!this.isActive&&!i||this.pswp.dispatch("appendHeavy",{slide:this}).defaultPrevented||(this.heavyAppended=!0,this.content.append(),this.pswp.dispatch("appendHeavyContent",{slide:this}))}activate(){this.isActive=!0,this.appendHeavy(),this.content.activate(),this.pswp.dispatch("slideActivate",{slide:this})}deactivate(){this.isActive=!1,this.content.deactivate(),this.currZoomLevel!==this.zoomLevels.initial&&this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize(),this.pswp.dispatch("slideDeactivate",{slide:this})}destroy(){this.content.hasSlide=!1,this.content.remove(),this.container.remove(),this.pswp.dispatch("slideDestroy",{slide:this})}resize(){this.currZoomLevel===this.zoomLevels.initial||!this.isActive?(this.calculateSize(),this.currentResolution=0,this.zoomAndPanToInitial(),this.applyCurrentZoomPan(),this.updateContentSize()):(this.calculateSize(),this.bounds.update(this.currZoomLevel),this.panTo(this.pan.x,this.pan.y))}updateContentSize(t){const i=this.currentResolution||this.zoomLevels.initial;if(!i)return;const n=Math.round(this.width*i)||this.pswp.viewportSize.x,r=Math.round(this.height*i)||this.pswp.viewportSize.y;!this.sizeChanged(n,r)&&!t||this.content.setDisplayedSize(n,r)}sizeChanged(t,i){return t!==this.prevDisplayedWidth||i!==this.prevDisplayedHeight?(this.prevDisplayedWidth=t,this.prevDisplayedHeight=i,!0):!1}getPlaceholderElement(){var t;return(t=this.content.placeholder)===null||t===void 0?void 0:t.element}zoomTo(t,i,n,r){const{pswp:l}=this;if(!this.isZoomable()||l.mainScroll.isShifted())return;l.dispatch("beforeZoomTo",{destZoomLevel:t,centerPoint:i,transitionDuration:n}),l.animations.stopAllPan();const d=this.currZoomLevel;r||(t=wt(t,this.zoomLevels.min,this.zoomLevels.max)),this.setZoomLevel(t),this.pan.x=this.calculateZoomToPanOffset("x",i,d),this.pan.y=this.calculateZoomToPanOffset("y",i,d),ln(this.pan);const c=()=>{this._setResolution(t),this.applyCurrentZoomPan()};n?l.animations.startTransition({isPan:!0,name:"zoomTo",target:this.container,transform:this.getCurrentTransform(),onComplete:c,duration:n,easing:l.options.easing}):c()}toggleZoom(t){this.zoomTo(this.currZoomLevel===this.zoomLevels.initial?this.zoomLevels.secondary:this.zoomLevels.initial,t,this.pswp.options.zoomAnimationDuration)}setZoomLevel(t){this.currZoomLevel=t,this.bounds.update(this.currZoomLevel)}calculateZoomToPanOffset(t,i,n){if(this.bounds.max[t]-this.bounds.min[t]===0)return this.bounds.center[t];i||(i=this.pswp.getViewportCenterPoint()),n||(n=this.zoomLevels.initial);const l=this.currZoomLevel/n;return this.bounds.correctPan(t,(this.pan[t]-i[t])*l+i[t])}panTo(t,i){this.pan.x=this.bounds.correctPan("x",t),this.pan.y=this.bounds.correctPan("y",i),this.applyCurrentZoomPan()}isPannable(){return!!this.width&&this.currZoomLevel>this.zoomLevels.fit}isZoomable(){return!!this.width&&this.content.isZoomable()}applyCurrentZoomPan(){this._applyZoomTransform(this.pan.x,this.pan.y,this.currZoomLevel),this===this.pswp.currSlide&&this.pswp.dispatch("zoomPanUpdate",{slide:this})}zoomAndPanToInitial(){this.currZoomLevel=this.zoomLevels.initial,this.bounds.update(this.currZoomLevel),ve(this.pan,this.bounds.center),this.pswp.dispatch("initialZoomPan",{slide:this})}_applyZoomTransform(t,i,n){n/=this.currentResolution||this.zoomLevels.initial,tt(this.container,t,i,n)}calculateSize(){const{pswp:t}=this;ve(this.panAreaSize,hn(t.options,t.viewportSize,this.data,this.index)),this.zoomLevels.update(this.width,this.height,this.panAreaSize),t.dispatch("calcSlideSize",{slide:this})}getCurrentTransform(){const t=this.currZoomLevel/(this.currentResolution||this.zoomLevels.initial);return _t(this.pan.x,this.pan.y,t)}_setResolution(t){t!==this.currentResolution&&(this.currentResolution=t,this.updateContentSize(),this.pswp.dispatch("resolutionChanged"))}}const to=.35,io=.6,Vi=.4,Xi=.5;function no(e,t){return e*t/(1-t)}class so{constructor(t){this.gestures=t,this.pswp=t.pswp,this.startPan={x:0,y:0}}start(){this.pswp.currSlide&&ve(this.startPan,this.pswp.currSlide.pan),this.pswp.animations.stopAll()}change(){const{p1:t,prevP1:i,dragAxis:n}=this.gestures,{currSlide:r}=this.pswp;if(n==="y"&&this.pswp.options.closeOnVerticalDrag&&r&&r.currZoomLevel<=r.zoomLevels.fit&&!this.gestures.isMultitouch){const l=r.pan.y+(t.y-i.y);if(!this.pswp.dispatch("verticalDrag",{panY:l}).defaultPrevented){this._setPanWithFriction("y",l,io);const d=1-Math.abs(this._getVerticalDragRatio(r.pan.y));this.pswp.applyBgOpacity(d),r.applyCurrentZoomPan()}}else this._panOrMoveMainScroll("x")||(this._panOrMoveMainScroll("y"),r&&(ln(r.pan),r.applyCurrentZoomPan()))}end(){const{velocity:t}=this.gestures,{mainScroll:i,currSlide:n}=this.pswp;let r=0;if(this.pswp.animations.stopAll(),i.isShifted()){const d=(i.x-i.getCurrSlideX())/this.pswp.viewportSize.x;t.x<-Xi&&d<0||t.x<.1&&d<-.5?(r=1,t.x=Math.min(t.x,0)):(t.x>Xi&&d>0||t.x>-.1&&d>.5)&&(r=-1,t.x=Math.max(t.x,0)),i.moveIndexBy(r,!0,t.x)}n&&n.currZoomLevel>n.zoomLevels.max||this.gestures.isMultitouch?this.gestures.zoomLevels.correctZoomPan(!0):(this._finishPanGestureForAxis("x"),this._finishPanGestureForAxis("y"))}_finishPanGestureForAxis(t){const{velocity:i}=this.gestures,{currSlide:n}=this.pswp;if(!n)return;const{pan:r,bounds:l}=n,d=r[t],c=this.pswp.bgOpacity<1&&t==="y",a=.995,o=d+no(i[t],a);if(c){const p=this._getVerticalDragRatio(d),g=this._getVerticalDragRatio(o);if(p<0&&g<-Vi||p>0&&g>Vi){this.pswp.close();return}}const s=l.correctPan(t,o);if(d===s)return;const u=s===o?1:.82,h=this.pswp.bgOpacity,f=s-d;this.pswp.animations.startSpring({name:"panGesture"+t,isPan:!0,start:d,end:s,velocity:i[t],dampingRatio:u,onUpdate:p=>{if(c&&this.pswp.bgOpacity<1){const g=1-(s-p)/f;this.pswp.applyBgOpacity(wt(h+(1-h)*g,0,1))}r[t]=Math.floor(p),n.applyCurrentZoomPan()}})}_panOrMoveMainScroll(t){const{p1:i,dragAxis:n,prevP1:r,isMultitouch:l}=this.gestures,{currSlide:d,mainScroll:c}=this.pswp,a=i[t]-r[t],o=c.x+a;if(!a||!d)return!1;if(t==="x"&&!d.isPannable()&&!l)return c.moveTo(o,!0),!0;const{bounds:s}=d,u=d.pan[t]+a;if(this.pswp.options.allowPanToNext&&n==="x"&&t==="x"&&!l){const h=c.getCurrSlideX(),f=c.x-h,p=a>0,g=!p;if(u>s.min[t]&&p){if(s.min[t]<=this.startPan[t])return c.moveTo(o,!0),!0;this._setPanWithFriction(t,u)}else if(u<s.max[t]&&g){if(this.startPan[t]<=s.max[t])return c.moveTo(o,!0),!0;this._setPanWithFriction(t,u)}else if(f!==0){if(f>0)return c.moveTo(Math.max(o,h),!0),!0;if(f<0)return c.moveTo(Math.min(o,h),!0),!0}else this._setPanWithFriction(t,u)}else t==="y"?!c.isShifted()&&s.min.y!==s.max.y&&this._setPanWithFriction(t,u):this._setPanWithFriction(t,u);return!1}_getVerticalDragRatio(t){var i,n;return(t-((i=(n=this.pswp.currSlide)===null||n===void 0?void 0:n.bounds.center.y)!==null&&i!==void 0?i:0))/(this.pswp.viewportSize.y/3)}_setPanWithFriction(t,i,n){const{currSlide:r}=this.pswp;if(!r)return;const{pan:l,bounds:d}=r;if(d.correctPan(t,i)!==i||n){const a=Math.round(i-l[t]);l[t]+=a*(n||to)}else l[t]=i}}const ro=.05,ao=.15;function Yi(e,t,i){return e.x=(t.x+i.x)/2,e.y=(t.y+i.y)/2,e}class oo{constructor(t){this.gestures=t,this._startPan={x:0,y:0},this._startZoomPoint={x:0,y:0},this._zoomPoint={x:0,y:0},this._wasOverFitZoomLevel=!1,this._startZoomLevel=1}start(){const{currSlide:t}=this.gestures.pswp;t&&(this._startZoomLevel=t.currZoomLevel,ve(this._startPan,t.pan)),this.gestures.pswp.animations.stopAllPan(),this._wasOverFitZoomLevel=!1}change(){const{p1:t,startP1:i,p2:n,startP2:r,pswp:l}=this.gestures,{currSlide:d}=l;if(!d)return;const c=d.zoomLevels.min,a=d.zoomLevels.max;if(!d.isZoomable()||l.mainScroll.isShifted())return;Yi(this._startZoomPoint,i,r),Yi(this._zoomPoint,t,n);let o=1/hi(i,r)*hi(t,n)*this._startZoomLevel;if(o>d.zoomLevels.initial+d.zoomLevels.initial/15&&(this._wasOverFitZoomLevel=!0),o<c)if(l.options.pinchToClose&&!this._wasOverFitZoomLevel&&this._startZoomLevel<=d.zoomLevels.initial){const s=1-(c-o)/(c/1.2);l.dispatch("pinchClose",{bgOpacity:s}).defaultPrevented||l.applyBgOpacity(s)}else o=c-(c-o)*ao;else o>a&&(o=a+(o-a)*ro);d.pan.x=this._calculatePanForZoomLevel("x",o),d.pan.y=this._calculatePanForZoomLevel("y",o),d.setZoomLevel(o),d.applyCurrentZoomPan()}end(){const{pswp:t}=this.gestures,{currSlide:i}=t;(!i||i.currZoomLevel<i.zoomLevels.initial)&&!this._wasOverFitZoomLevel&&t.options.pinchToClose?t.close():this.correctZoomPan()}_calculatePanForZoomLevel(t,i){const n=i/this._startZoomLevel;return this._zoomPoint[t]-(this._startZoomPoint[t]-this._startPan[t])*n}correctZoomPan(t){const{pswp:i}=this.gestures,{currSlide:n}=i;if(!(n!=null&&n.isZoomable()))return;this._zoomPoint.x===0&&(t=!0);const r=n.currZoomLevel;let l,d=!0;r<n.zoomLevels.initial?l=n.zoomLevels.initial:r>n.zoomLevels.max?l=n.zoomLevels.max:(d=!1,l=r);const c=i.bgOpacity,a=i.bgOpacity<1,o=ve({x:0,y:0},n.pan);let s=ve({x:0,y:0},o);t&&(this._zoomPoint.x=0,this._zoomPoint.y=0,this._startZoomPoint.x=0,this._startZoomPoint.y=0,this._startZoomLevel=r,ve(this._startPan,o)),d&&(s={x:this._calculatePanForZoomLevel("x",l),y:this._calculatePanForZoomLevel("y",l)}),n.setZoomLevel(l),s={x:n.bounds.correctPan("x",s.x),y:n.bounds.correctPan("y",s.y)},n.setZoomLevel(r);const u=!xt(s,o);if(!u&&!d&&!a){n._setResolution(l),n.applyCurrentZoomPan();return}i.animations.stopAllPan(),i.animations.startSpring({isPan:!0,start:0,end:1e3,velocity:0,dampingRatio:1,naturalFrequency:40,onUpdate:h=>{if(h/=1e3,u||d){if(u&&(n.pan.x=o.x+(s.x-o.x)*h,n.pan.y=o.y+(s.y-o.y)*h),d){const f=r+(l-r)*h;n.setZoomLevel(f)}n.applyCurrentZoomPan()}a&&i.bgOpacity<1&&i.applyBgOpacity(wt(c+(1-c)*h,0,1))},onComplete:()=>{n._setResolution(l),n.applyCurrentZoomPan()}})}}function Ki(e){return!!e.target.closest(".pswp__container")}class lo{constructor(t){this.gestures=t}click(t,i){const n=i.target.classList,r=n.contains("pswp__img"),l=n.contains("pswp__item")||n.contains("pswp__zoom-wrap");r?this._doClickOrTapAction("imageClick",t,i):l&&this._doClickOrTapAction("bgClick",t,i)}tap(t,i){Ki(i)&&this._doClickOrTapAction("tap",t,i)}doubleTap(t,i){Ki(i)&&this._doClickOrTapAction("doubleTap",t,i)}_doClickOrTapAction(t,i,n){var r;const{pswp:l}=this.gestures,{currSlide:d}=l,c=t+"Action",a=l.options[c];if(!l.dispatch(c,{point:i,originalEvent:n}).defaultPrevented){if(typeof a=="function"){a.call(l,i,n);return}switch(a){case"close":case"next":l[a]();break;case"zoom":d==null||d.toggleZoom(i);break;case"zoom-or-close":d!=null&&d.isZoomable()&&d.zoomLevels.secondary!==d.zoomLevels.initial?d.toggleZoom(i):l.options.clickToCloseNonZoomable&&l.close();break;case"toggle-controls":(r=this.gestures.pswp.element)===null||r===void 0||r.classList.toggle("pswp--ui-visible");break}}}}const uo=10,co=300,ho=25;class fo{constructor(t){this.pswp=t,this.dragAxis=null,this.p1={x:0,y:0},this.p2={x:0,y:0},this.prevP1={x:0,y:0},this.prevP2={x:0,y:0},this.startP1={x:0,y:0},this.startP2={x:0,y:0},this.velocity={x:0,y:0},this._lastStartP1={x:0,y:0},this._intervalP1={x:0,y:0},this._numActivePoints=0,this._ongoingPointers=[],this._touchEventEnabled="ontouchstart"in window,this._pointerEventEnabled=!!window.PointerEvent,this.supportsTouch=this._touchEventEnabled||this._pointerEventEnabled&&navigator.maxTouchPoints>1,this._numActivePoints=0,this._intervalTime=0,this._velocityCalculated=!1,this.isMultitouch=!1,this.isDragging=!1,this.isZooming=!1,this.raf=null,this._tapTimer=null,this.supportsTouch||(t.options.allowPanToNext=!1),this.drag=new so(this),this.zoomLevels=new oo(this),this.tapHandler=new lo(this),t.on("bindEvents",()=>{t.events.add(t.scrollWrap,"click",this._onClick.bind(this)),this._pointerEventEnabled?this._bindEvents("pointer","down","up","cancel"):this._touchEventEnabled?(this._bindEvents("touch","start","end","cancel"),t.scrollWrap&&(t.scrollWrap.ontouchmove=()=>{},t.scrollWrap.ontouchend=()=>{})):this._bindEvents("mouse","down","up")})}_bindEvents(t,i,n,r){const{pswp:l}=this,{events:d}=l,c=r?t+r:"";d.add(l.scrollWrap,t+i,this.onPointerDown.bind(this)),d.add(window,t+"move",this.onPointerMove.bind(this)),d.add(window,t+n,this.onPointerUp.bind(this)),c&&d.add(l.scrollWrap,c,this.onPointerUp.bind(this))}onPointerDown(t){const i=t.type==="mousedown"||t.pointerType==="mouse";if(i&&t.button>0)return;const{pswp:n}=this;if(!n.opener.isOpen){t.preventDefault();return}n.dispatch("pointerDown",{originalEvent:t}).defaultPrevented||(i&&(n.mouseDetected(),this._preventPointerEventBehaviour(t,"down")),n.animations.stopAll(),this._updatePoints(t,"down"),this._numActivePoints===1&&(this.dragAxis=null,ve(this.startP1,this.p1)),this._numActivePoints>1?(this._clearTapTimer(),this.isMultitouch=!0):this.isMultitouch=!1)}onPointerMove(t){this._preventPointerEventBehaviour(t,"move"),this._numActivePoints&&(this._updatePoints(t,"move"),!this.pswp.dispatch("pointerMove",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===1&&!this.isDragging?(this.dragAxis||this._calculateDragDirection(),this.dragAxis&&!this.isDragging&&(this.isZooming&&(this.isZooming=!1,this.zoomLevels.end()),this.isDragging=!0,this._clearTapTimer(),this._updateStartPoints(),this._intervalTime=Date.now(),this._velocityCalculated=!1,ve(this._intervalP1,this.p1),this.velocity.x=0,this.velocity.y=0,this.drag.start(),this._rafStopLoop(),this._rafRenderLoop())):this._numActivePoints>1&&!this.isZooming&&(this._finishDrag(),this.isZooming=!0,this._updateStartPoints(),this.zoomLevels.start(),this._rafStopLoop(),this._rafRenderLoop())))}_finishDrag(){this.isDragging&&(this.isDragging=!1,this._velocityCalculated||this._updateVelocity(!0),this.drag.end(),this.dragAxis=null)}onPointerUp(t){this._numActivePoints&&(this._updatePoints(t,"up"),!this.pswp.dispatch("pointerUp",{originalEvent:t}).defaultPrevented&&(this._numActivePoints===0&&(this._rafStopLoop(),this.isDragging?this._finishDrag():!this.isZooming&&!this.isMultitouch&&this._finishTap(t)),this._numActivePoints<2&&this.isZooming&&(this.isZooming=!1,this.zoomLevels.end(),this._numActivePoints===1&&(this.dragAxis=null,this._updateStartPoints()))))}_rafRenderLoop(){(this.isDragging||this.isZooming)&&(this._updateVelocity(),this.isDragging?xt(this.p1,this.prevP1)||this.drag.change():(!xt(this.p1,this.prevP1)||!xt(this.p2,this.prevP2))&&this.zoomLevels.change(),this._updatePrevPoints(),this.raf=requestAnimationFrame(this._rafRenderLoop.bind(this)))}_updateVelocity(t){const i=Date.now(),n=i-this._intervalTime;n<50&&!t||(this.velocity.x=this._getVelocity("x",n),this.velocity.y=this._getVelocity("y",n),this._intervalTime=i,ve(this._intervalP1,this.p1),this._velocityCalculated=!0)}_finishTap(t){const{mainScroll:i}=this.pswp;if(i.isShifted()){i.moveIndexBy(0,!0);return}if(t.type.indexOf("cancel")>0)return;if(t.type==="mouseup"||t.pointerType==="mouse"){this.tapHandler.click(this.startP1,t);return}const n=this.pswp.options.doubleTapAction?co:0;this._tapTimer?(this._clearTapTimer(),hi(this._lastStartP1,this.startP1)<ho&&this.tapHandler.doubleTap(this.startP1,t)):(ve(this._lastStartP1,this.startP1),this._tapTimer=setTimeout(()=>{this.tapHandler.tap(this.startP1,t),this._clearTapTimer()},n))}_clearTapTimer(){this._tapTimer&&(clearTimeout(this._tapTimer),this._tapTimer=null)}_getVelocity(t,i){const n=this.p1[t]-this._intervalP1[t];return Math.abs(n)>1&&i>5?n/i:0}_rafStopLoop(){this.raf&&(cancelAnimationFrame(this.raf),this.raf=null)}_preventPointerEventBehaviour(t,i){this.pswp.applyFilters("preventPointerEvent",!0,t,i)&&t.preventDefault()}_updatePoints(t,i){if(this._pointerEventEnabled){const n=t,r=this._ongoingPointers.findIndex(l=>l.id===n.pointerId);i==="up"&&r>-1?this._ongoingPointers.splice(r,1):i==="down"&&r===-1?this._ongoingPointers.push(this._convertEventPosToPoint(n,{x:0,y:0})):r>-1&&this._convertEventPosToPoint(n,this._ongoingPointers[r]),this._numActivePoints=this._ongoingPointers.length,this._numActivePoints>0&&ve(this.p1,this._ongoingPointers[0]),this._numActivePoints>1&&ve(this.p2,this._ongoingPointers[1])}else{const n=t;this._numActivePoints=0,n.type.indexOf("touch")>-1?n.touches&&n.touches.length>0&&(this._convertEventPosToPoint(n.touches[0],this.p1),this._numActivePoints++,n.touches.length>1&&(this._convertEventPosToPoint(n.touches[1],this.p2),this._numActivePoints++)):(this._convertEventPosToPoint(t,this.p1),i==="up"?this._numActivePoints=0:this._numActivePoints++)}}_updatePrevPoints(){ve(this.prevP1,this.p1),ve(this.prevP2,this.p2)}_updateStartPoints(){ve(this.startP1,this.p1),ve(this.startP2,this.p2),this._updatePrevPoints()}_calculateDragDirection(){if(this.pswp.mainScroll.isShifted())this.dragAxis="x";else{const t=Math.abs(this.p1.x-this.startP1.x)-Math.abs(this.p1.y-this.startP1.y);if(t!==0){const i=t>0?"x":"y";Math.abs(this.p1[i]-this.startP1[i])>=uo&&(this.dragAxis=i)}}}_convertEventPosToPoint(t,i){return i.x=t.pageX-this.pswp.offset.x,i.y=t.pageY-this.pswp.offset.y,"pointerId"in t?i.id=t.pointerId:t.identifier!==void 0&&(i.id=t.identifier),i}_onClick(t){this.pswp.mainScroll.isShifted()&&(t.preventDefault(),t.stopPropagation())}}const po=.35;class go{constructor(t){this.pswp=t,this.x=0,this.slideWidth=0,this._currPositionIndex=0,this._prevPositionIndex=0,this._containerShiftIndex=-1,this.itemHolders=[]}resize(t){const{pswp:i}=this,n=Math.round(i.viewportSize.x+i.viewportSize.x*i.options.spacing),r=n!==this.slideWidth;r&&(this.slideWidth=n,this.moveTo(this.getCurrSlideX())),this.itemHolders.forEach((l,d)=>{r&&tt(l.el,(d+this._containerShiftIndex)*this.slideWidth),t&&l.slide&&l.slide.resize()})}resetPosition(){this._currPositionIndex=0,this._prevPositionIndex=0,this.slideWidth=0,this._containerShiftIndex=-1}appendHolders(){this.itemHolders=[];for(let t=0;t<3;t++){const i=Le("pswp__item","div",this.pswp.container);i.setAttribute("role","group"),i.setAttribute("aria-roledescription","slide"),i.setAttribute("aria-hidden","true"),i.style.display=t===1?"block":"none",this.itemHolders.push({el:i})}}canBeSwiped(){return this.pswp.getNumItems()>1}moveIndexBy(t,i,n){const{pswp:r}=this;let l=r.potentialIndex+t;const d=r.getNumItems();if(r.canLoop()){l=r.getLoopedIndex(l);const a=(t+d)%d;a<=d/2?t=a:t=a-d}else l<0?l=0:l>=d&&(l=d-1),t=l-r.potentialIndex;r.potentialIndex=l,this._currPositionIndex-=t,r.animations.stopMainScroll();const c=this.getCurrSlideX();if(!i)this.moveTo(c),this.updateCurrItem();else{r.animations.startSpring({isMainScroll:!0,start:this.x,end:c,velocity:n||0,naturalFrequency:30,dampingRatio:1,onUpdate:o=>{this.moveTo(o)},onComplete:()=>{this.updateCurrItem(),r.appendHeavy()}});let a=r.potentialIndex-r.currIndex;if(r.canLoop()){const o=(a+d)%d;o<=d/2?a=o:a=o-d}Math.abs(a)>1&&this.updateCurrItem()}return!!t}getCurrSlideX(){return this.slideWidth*this._currPositionIndex}isShifted(){return this.x!==this.getCurrSlideX()}updateCurrItem(){var t;const{pswp:i}=this,n=this._prevPositionIndex-this._currPositionIndex;if(!n)return;this._prevPositionIndex=this._currPositionIndex,i.currIndex=i.potentialIndex;let r=Math.abs(n),l;r>=3&&(this._containerShiftIndex+=n+(n>0?-3:3),r=3,this.itemHolders.forEach(d=>{var c;(c=d.slide)===null||c===void 0||c.destroy(),d.slide=void 0}));for(let d=0;d<r;d++)n>0?(l=this.itemHolders.shift(),l&&(this.itemHolders[2]=l,this._containerShiftIndex++,tt(l.el,(this._containerShiftIndex+2)*this.slideWidth),i.setContent(l,i.currIndex-r+d+2))):(l=this.itemHolders.pop(),l&&(this.itemHolders.unshift(l),this._containerShiftIndex--,tt(l.el,this._containerShiftIndex*this.slideWidth),i.setContent(l,i.currIndex+r-d-2)));Math.abs(this._containerShiftIndex)>50&&!this.isShifted()&&(this.resetPosition(),this.resize()),i.animations.stopAllPan(),this.itemHolders.forEach((d,c)=>{d.slide&&d.slide.setIsActive(c===1)}),i.currSlide=(t=this.itemHolders[1])===null||t===void 0?void 0:t.slide,i.contentLoader.updateLazy(n),i.currSlide&&i.currSlide.applyCurrentZoomPan(),i.dispatch("change")}moveTo(t,i){if(!this.pswp.canLoop()&&i){let n=(this.slideWidth*this._currPositionIndex-t)/this.slideWidth;n+=this.pswp.currIndex;const r=Math.round(t-this.x);(n<0&&r>0||n>=this.pswp.getNumItems()-1&&r<0)&&(t=this.x+r*po)}this.x=t,this.pswp.container&&tt(this.pswp.container,t),this.pswp.dispatch("moveMainScroll",{x:t,dragging:i??!1})}}const mo={Escape:27,z:90,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Tab:9},et=(e,t)=>t?e:mo[e];class vo{constructor(t){this.pswp=t,this._wasFocused=!1,t.on("bindEvents",()=>{t.options.trapFocus&&(t.options.initialPointerPos||this._focusRoot(),t.events.add(document,"focusin",this._onFocusIn.bind(this))),t.events.add(document,"keydown",this._onKeyDown.bind(this))});const i=document.activeElement;t.on("destroy",()=>{t.options.returnFocus&&i&&this._wasFocused&&i.focus()})}_focusRoot(){!this._wasFocused&&this.pswp.element&&(this.pswp.element.focus(),this._wasFocused=!0)}_onKeyDown(t){const{pswp:i}=this;if(i.dispatch("keydown",{originalEvent:t}).defaultPrevented||Ya(t))return;let n,r,l=!1;const d="key"in t;switch(d?t.key:t.keyCode){case et("Escape",d):i.options.escKey&&(n="close");break;case et("z",d):n="toggleZoom";break;case et("ArrowLeft",d):r="x";break;case et("ArrowUp",d):r="y";break;case et("ArrowRight",d):r="x",l=!0;break;case et("ArrowDown",d):l=!0,r="y";break;case et("Tab",d):this._focusRoot();break}if(r){t.preventDefault();const{currSlide:c}=i;i.options.arrowKeys&&r==="x"&&i.getNumItems()>1?n=l?"next":"prev":c&&c.currZoomLevel>c.zoomLevels.fit&&(c.pan[r]+=l?-80:80,c.panTo(c.pan.x,c.pan.y))}n&&(t.preventDefault(),i[n]())}_onFocusIn(t){const{template:i}=this.pswp;i&&document!==t.target&&i!==t.target&&!i.contains(t.target)&&i.focus()}}const yo="cubic-bezier(.4,0,.22,1)";class bo{constructor(t){var i;this.props=t;const{target:n,onComplete:r,transform:l,onFinish:d=()=>{},duration:c=333,easing:a=yo}=t;this.onFinish=d;const o=l?"transform":"opacity",s=(i=t[o])!==null&&i!==void 0?i:"";this._target=n,this._onComplete=r,this._finished=!1,this._onTransitionEnd=this._onTransitionEnd.bind(this),this._helperTimeout=setTimeout(()=>{un(n,o,c,a),this._helperTimeout=setTimeout(()=>{n.addEventListener("transitionend",this._onTransitionEnd,!1),n.addEventListener("transitioncancel",this._onTransitionEnd,!1),this._helperTimeout=setTimeout(()=>{this._finalizeAnimation()},c+500),n.style[o]=s},30)},0)}_onTransitionEnd(t){t.target===this._target&&this._finalizeAnimation()}_finalizeAnimation(){this._finished||(this._finished=!0,this.onFinish(),this._onComplete&&this._onComplete())}destroy(){this._helperTimeout&&clearTimeout(this._helperTimeout),Va(this._target),this._target.removeEventListener("transitionend",this._onTransitionEnd,!1),this._target.removeEventListener("transitioncancel",this._onTransitionEnd,!1),this._finished||this._finalizeAnimation()}}const Eo=12,So=.75;class xo{constructor(t,i,n){this.velocity=t*1e3,this._dampingRatio=i||So,this._naturalFrequency=n||Eo,this._dampedFrequency=this._naturalFrequency,this._dampingRatio<1&&(this._dampedFrequency*=Math.sqrt(1-this._dampingRatio*this._dampingRatio))}easeFrame(t,i){let n=0,r;i/=1e3;const l=Math.E**(-this._dampingRatio*this._naturalFrequency*i);if(this._dampingRatio===1)r=this.velocity+this._naturalFrequency*t,n=(t+r*i)*l,this.velocity=n*-this._naturalFrequency+r*l;else if(this._dampingRatio<1){r=1/this._dampedFrequency*(this._dampingRatio*this._naturalFrequency*t+this.velocity);const d=Math.cos(this._dampedFrequency*i),c=Math.sin(this._dampedFrequency*i);n=l*(t*d+r*c),this.velocity=n*-this._naturalFrequency*this._dampingRatio+l*(-this._dampedFrequency*t*c+this._dampedFrequency*r*d)}return n}}class _o{constructor(t){this.props=t,this._raf=0;const{start:i,end:n,velocity:r,onUpdate:l,onComplete:d,onFinish:c=()=>{},dampingRatio:a,naturalFrequency:o}=t;this.onFinish=c;const s=new xo(r,a,o);let u=Date.now(),h=i-n;const f=()=>{this._raf&&(h=s.easeFrame(h,Date.now()-u),Math.abs(h)<1&&Math.abs(s.velocity)<50?(l(n),d&&d(),this.onFinish()):(u=Date.now(),l(h+n),this._raf=requestAnimationFrame(f)))};this._raf=requestAnimationFrame(f)}destroy(){this._raf>=0&&cancelAnimationFrame(this._raf),this._raf=0}}class To{constructor(){this.activeAnimations=[]}startSpring(t){this._start(t,!0)}startTransition(t){this._start(t)}_start(t,i){const n=i?new _o(t):new bo(t);return this.activeAnimations.push(n),n.onFinish=()=>this.stop(n),n}stop(t){t.destroy();const i=this.activeAnimations.indexOf(t);i>-1&&this.activeAnimations.splice(i,1)}stopAll(){this.activeAnimations.forEach(t=>{t.destroy()}),this.activeAnimations=[]}stopAllPan(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isPan?(t.destroy(),!1):!0)}stopMainScroll(){this.activeAnimations=this.activeAnimations.filter(t=>t.props.isMainScroll?(t.destroy(),!1):!0)}isPanRunning(){return this.activeAnimations.some(t=>t.props.isPan)}}class Co{constructor(t){this.pswp=t,t.events.add(t.element,"wheel",this._onWheel.bind(this))}_onWheel(t){t.preventDefault();const{currSlide:i}=this.pswp;let{deltaX:n,deltaY:r}=t;if(i&&!this.pswp.dispatch("wheel",{originalEvent:t}).defaultPrevented)if(t.ctrlKey||this.pswp.options.wheelToZoom){if(i.isZoomable()){let l=-r;t.deltaMode===1?l*=.05:l*=t.deltaMode?1:.002,l=2**l;const d=i.currZoomLevel*l;i.zoomTo(d,{x:t.clientX,y:t.clientY})}}else i.isPannable()&&(t.deltaMode===1&&(n*=18,r*=18),i.panTo(i.pan.x-n,i.pan.y-r))}}function wo(e){if(typeof e=="string")return e;if(!e||!e.isCustomSVG)return"";const t=e;let i='<svg aria-hidden="true" class="pswp__icn" viewBox="0 0 %d %d" width="%d" height="%d">';return i=i.split("%d").join(t.size||32),t.outlineID&&(i+='<use class="pswp__icn-shadow" xlink:href="#'+t.outlineID+'"/>'),i+=t.inner,i+="</svg>",i}class Ao{constructor(t,i){var n;const r=i.name||i.className;let l=i.html;if(t.options[r]===!1)return;typeof t.options[r+"SVG"]=="string"&&(l=t.options[r+"SVG"]),t.dispatch("uiElementCreate",{data:i});let d="";i.isButton?(d+="pswp__button ",d+=i.className||`pswp__button--${i.name}`):d+=i.className||`pswp__${i.name}`;let c=i.isButton?i.tagName||"button":i.tagName||"div";c=c.toLowerCase();const a=Le(d,c);if(i.isButton){c==="button"&&(a.type="button");let{title:u}=i;const{ariaLabel:h}=i;typeof t.options[r+"Title"]=="string"&&(u=t.options[r+"Title"]),u&&(a.title=u);const f=h||u;f&&a.setAttribute("aria-label",f)}a.innerHTML=wo(l),i.onInit&&i.onInit(a,t),i.onClick&&(a.onclick=u=>{typeof i.onClick=="string"?t[i.onClick]():typeof i.onClick=="function"&&i.onClick(u,a,t)});const o=i.appendTo||"bar";let s=t.element;o==="bar"?(t.topBar||(t.topBar=Le("pswp__top-bar pswp__hide-on-close","div",t.scrollWrap)),s=t.topBar):(a.classList.add("pswp__hide-on-close"),o==="wrapper"&&(s=t.scrollWrap)),(n=s)===null||n===void 0||n.appendChild(t.applyFilters("uiElement",a,i))}}function pn(e,t,i){e.classList.add("pswp__button--arrow"),e.setAttribute("aria-controls","pswp__items"),t.on("change",()=>{t.options.loop||(i?e.disabled=!(t.currIndex<t.getNumItems()-1):e.disabled=!(t.currIndex>0))})}const $o={name:"arrowPrev",className:"pswp__button--arrow--prev",title:"Previous",order:10,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<path d="M29 43l-3 3-16-16 16-16 3 3-13 13 13 13z" id="pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"prev",onInit:pn},Io={name:"arrowNext",className:"pswp__button--arrow--next",title:"Next",order:11,isButton:!0,appendTo:"wrapper",html:{isCustomSVG:!0,size:60,inner:'<use xlink:href="#pswp__icn-arrow"/>',outlineID:"pswp__icn-arrow"},onClick:"next",onInit:(e,t)=>{pn(e,t,!0)}},Po={name:"close",title:"Close",order:20,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z" id="pswp__icn-close"/>',outlineID:"pswp__icn-close"},onClick:"close"},Oo={name:"zoom",title:"Zoom",order:10,isButton:!0,html:{isCustomSVG:!0,inner:'<path d="M17.426 19.926a6 6 0 1 1 1.5-1.5L23 22.5 21.5 24l-4.074-4.074z" id="pswp__icn-zoom"/><path fill="currentColor" class="pswp__zoom-icn-bar-h" d="M11 16v-2h6v2z"/><path fill="currentColor" class="pswp__zoom-icn-bar-v" d="M13 12h2v6h-2z"/>',outlineID:"pswp__icn-zoom"},onClick:"toggleZoom"},Do={name:"preloader",appendTo:"bar",order:7,html:{isCustomSVG:!0,inner:'<path fill-rule="evenodd" clip-rule="evenodd" d="M21.2 16a5.2 5.2 0 1 1-5.2-5.2V8a8 8 0 1 0 8 8h-2.8Z" id="pswp__icn-loading"/>',outlineID:"pswp__icn-loading"},onInit:(e,t)=>{let i,n=null;const r=(c,a)=>{e.classList.toggle("pswp__preloader--"+c,a)},l=c=>{i!==c&&(i=c,r("active",c))},d=()=>{var c;if(!((c=t.currSlide)!==null&&c!==void 0&&c.content.isLoading())){l(!1),n&&(clearTimeout(n),n=null);return}n||(n=setTimeout(()=>{var a;l(!!(!((a=t.currSlide)===null||a===void 0)&&a.content.isLoading())),n=null},t.options.preloaderDelay))};t.on("change",d),t.on("loadComplete",c=>{t.currSlide===c.slide&&d()}),t.ui&&(t.ui.updatePreloaderVisibility=d)}},Lo={name:"counter",order:5,onInit:(e,t)=>{t.on("change",()=>{e.innerText=t.currIndex+1+t.options.indexIndicatorSep+t.getNumItems()})}};function Ji(e,t){e.classList.toggle("pswp--zoomed-in",t)}class Mo{constructor(t){this.pswp=t,this.isRegistered=!1,this.uiElementsData=[],this.items=[],this.updatePreloaderVisibility=()=>{},this._lastUpdatedZoomLevel=void 0}init(){const{pswp:t}=this;this.isRegistered=!1,this.uiElementsData=[Po,$o,Io,Oo,Do,Lo],t.dispatch("uiRegister"),this.uiElementsData.sort((i,n)=>(i.order||0)-(n.order||0)),this.items=[],this.isRegistered=!0,this.uiElementsData.forEach(i=>{this.registerElement(i)}),t.on("change",()=>{var i;(i=t.element)===null||i===void 0||i.classList.toggle("pswp--one-slide",t.getNumItems()===1)}),t.on("zoomPanUpdate",()=>this._onZoomPanUpdate())}registerElement(t){this.isRegistered?this.items.push(new Ao(this.pswp,t)):this.uiElementsData.push(t)}_onZoomPanUpdate(){const{template:t,currSlide:i,options:n}=this.pswp;if(this.pswp.opener.isClosing||!t||!i)return;let{currZoomLevel:r}=i;if(this.pswp.opener.isOpen||(r=i.zoomLevels.initial),r===this._lastUpdatedZoomLevel)return;this._lastUpdatedZoomLevel=r;const l=i.zoomLevels.initial-i.zoomLevels.secondary;if(Math.abs(l)<.01||!i.isZoomable()){Ji(t,!1),t.classList.remove("pswp--zoom-allowed");return}t.classList.add("pswp--zoom-allowed");const d=r===i.zoomLevels.initial?i.zoomLevels.secondary:i.zoomLevels.initial;Ji(t,d<=r),(n.imageClickAction==="zoom"||n.imageClickAction==="zoom-or-close")&&t.classList.add("pswp--click-to-zoom")}}function ko(e){const t=e.getBoundingClientRect();return{x:t.left,y:t.top,w:t.width}}function Fo(e,t,i){const n=e.getBoundingClientRect(),r=n.width/t,l=n.height/i,d=r>l?r:l,c=(n.width-t*d)/2,a=(n.height-i*d)/2,o={x:n.left+c,y:n.top+a,w:t*d};return o.innerRect={w:n.width,h:n.height,x:c,y:a},o}function zo(e,t,i){const n=i.dispatch("thumbBounds",{index:e,itemData:t,instance:i});if(n.thumbBounds)return n.thumbBounds;const{element:r}=t;let l,d;if(r&&i.options.thumbSelector!==!1){const c=i.options.thumbSelector||"img";d=r.matches(c)?r:r.querySelector(c)}return d=i.applyFilters("thumbEl",d,t,e),d&&(t.thumbCropped?l=Fo(d,t.width||t.w||0,t.height||t.h||0):l=ko(d)),i.applyFilters("thumbBounds",l,t,e)}class Ro{constructor(t,i){this.type=t,this.defaultPrevented=!1,i&&Object.assign(this,i)}preventDefault(){this.defaultPrevented=!0}}class No{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,i,n=100){var r,l,d;this._filters[t]||(this._filters[t]=[]),(r=this._filters[t])===null||r===void 0||r.push({fn:i,priority:n}),(l=this._filters[t])===null||l===void 0||l.sort((c,a)=>c.priority-a.priority),(d=this.pswp)===null||d===void 0||d.addFilter(t,i,n)}removeFilter(t,i){this._filters[t]&&(this._filters[t]=this._filters[t].filter(n=>n.fn!==i)),this.pswp&&this.pswp.removeFilter(t,i)}applyFilters(t,...i){var n;return(n=this._filters[t])===null||n===void 0||n.forEach(r=>{i[0]=r.fn.apply(this,i)}),i[0]}on(t,i){var n,r;this._listeners[t]||(this._listeners[t]=[]),(n=this._listeners[t])===null||n===void 0||n.push(i),(r=this.pswp)===null||r===void 0||r.on(t,i)}off(t,i){var n;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(r=>i!==r)),(n=this.pswp)===null||n===void 0||n.off(t,i)}dispatch(t,i){var n;if(this.pswp)return this.pswp.dispatch(t,i);const r=new Ro(t,i);return(n=this._listeners[t])===null||n===void 0||n.forEach(l=>{l.call(this,r)}),r}}class Bo{constructor(t,i){if(this.element=Le("pswp__img pswp__img--placeholder",t?"img":"div",i),t){const n=this.element;n.decoding="async",n.alt="",n.src=t,n.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,i){this.element&&(this.element.tagName==="IMG"?(fi(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=_t(0,0,t/250)):fi(this.element,t,i))}destroy(){var t;(t=this.element)!==null&&t!==void 0&&t.parentNode&&this.element.remove(),this.element=null}}class Ho{constructor(t,i,n){this.instance=i,this.data=t,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=Fe.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,i){if(this.slide&&this.usePlaceholder())if(this.placeholder){const n=this.placeholder.element;n&&!n.parentElement&&this.slide.container.prepend(n)}else{const n=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new Bo(n,this.slide.container)}this.element&&!i||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=Le("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=Le("pswp__content","div"),this.element.innerHTML=this.data.html||""),i&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var i,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const r=this.element;this.updateSrcsetSizes(),this.data.srcset&&(r.srcset=this.data.srcset),r.src=(i=this.data.src)!==null&&i!==void 0?i:"",r.alt=(n=this.data.alt)!==null&&n!==void 0?n:"",this.state=Fe.LOADING,r.complete?this.onLoaded():(r.onload=()=>{this.onLoaded()},r.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=Fe.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===Fe.LOADED||this.state===Fe.ERROR)&&this.removePlaceholder())}onError(){this.state=Fe.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===Fe.LOADING,this)}isError(){return this.state===Fe.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,i){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,i),!this.instance.dispatch("contentResize",{content:this,width:t,height:i}).defaultPrevented&&(fi(this.element,t,i),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=i,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:i,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==Fe.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,i=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||i>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=i+"px",t.dataset.largestUsedSize=String(i))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,i;let n=Le("pswp__error-msg","div");n.innerText=(t=(i=this.instance.options)===null||i===void 0?void 0:i.errorMsg)!==null&&t!==void 0?t:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=Le("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===Fe.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||Zi())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!Zi()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===Fe.LOADED||this.state===Fe.ERROR)&&this.removePlaceholder()))}}const Go=5;function gn(e,t,i){const n=t.createContentFromData(e,i);let r;const{options:l}=t;if(l){r=new fn(l,e,-1);let d;t.pswp?d=t.pswp.viewportSize:d=dn(l,t);const c=hn(l,d,e,i);r.update(n.width,n.height,c)}return n.lazyLoad(),r&&n.setDisplayedSize(Math.ceil(n.width*r.initial),Math.ceil(n.height*r.initial)),n}function jo(e,t){const i=t.getItemData(e);if(!t.dispatch("lazyLoadSlide",{index:e,itemData:i}).defaultPrevented)return gn(i,t,e)}class qo{constructor(t){this.pswp=t,this.limit=Math.max(t.options.preload[0]+t.options.preload[1]+1,Go),this._cachedItems=[]}updateLazy(t){const{pswp:i}=this;if(i.dispatch("lazyLoad").defaultPrevented)return;const{preload:n}=i.options,r=t===void 0?!0:t>=0;let l;for(l=0;l<=n[1];l++)this.loadSlideByIndex(i.currIndex+(r?l:-l));for(l=1;l<=n[0];l++)this.loadSlideByIndex(i.currIndex+(r?-l:l))}loadSlideByIndex(t){const i=this.pswp.getLoopedIndex(t);let n=this.getContentByIndex(i);n||(n=jo(i,this.pswp),n&&this.addToCache(n))}getContentBySlide(t){let i=this.getContentByIndex(t.index);return i||(i=this.pswp.createContentFromData(t.data,t.index),this.addToCache(i)),i.setSlide(t),i}addToCache(t){if(this.removeByIndex(t.index),this._cachedItems.push(t),this._cachedItems.length>this.limit){const i=this._cachedItems.findIndex(n=>!n.isAttached&&!n.hasSlide);i!==-1&&this._cachedItems.splice(i,1)[0].destroy()}}removeByIndex(t){const i=this._cachedItems.findIndex(n=>n.index===t);i!==-1&&this._cachedItems.splice(i,1)}getContentByIndex(t){return this._cachedItems.find(i=>i.index===t)}destroy(){this._cachedItems.forEach(t=>t.destroy()),this._cachedItems=[]}}class Wo extends No{getNumItems(){var t;let i=0;const n=(t=this.options)===null||t===void 0?void 0:t.dataSource;n&&"length"in n?i=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(i=n.items.length));const r=this.dispatch("numItems",{dataSource:n,numItems:i});return this.applyFilters("numItems",r.numItems,n)}createContentFromData(t,i){return new Ho(t,this,i)}getItemData(t){var i;const n=(i=this.options)===null||i===void 0?void 0:i.dataSource;let r={};Array.isArray(n)?r=n[t]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),r=n.items[t]);let l=r;l instanceof Element&&(l=this._domElementToItemData(l));const d=this.dispatch("itemData",{itemData:l||{},index:t});return this.applyFilters("itemData",d.itemData,t)}_getGalleryDOMElements(t){var i,n;return(i=this.options)!==null&&i!==void 0&&i.children||(n=this.options)!==null&&n!==void 0&&n.childSelector?Ka(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const i={element:t},n=t.tagName==="A"?t:t.querySelector("a");if(n){i.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(i.srcset=n.dataset.pswpSrcset),i.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,i.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,i.w=i.width,i.h=i.height,n.dataset.pswpType&&(i.type=n.dataset.pswpType);const l=t.querySelector("img");if(l){var r;i.msrc=l.currentSrc||l.src,i.alt=(r=l.getAttribute("alt"))!==null&&r!==void 0?r:""}(n.dataset.pswpCropped||n.dataset.cropped)&&(i.thumbCropped=!0)}return this.applyFilters("domItemData",i,t,n)}lazyLoadData(t,i){return gn(t,this,i)}}const mt=.003;class Zo{constructor(t){this.pswp=t,this.isClosed=!0,this.isOpen=!1,this.isClosing=!1,this.isOpening=!1,this._duration=void 0,this._useAnimation=!1,this._croppedZoom=!1,this._animateRootOpacity=!1,this._animateBgOpacity=!1,this._placeholder=void 0,this._opacityElement=void 0,this._cropContainer1=void 0,this._cropContainer2=void 0,this._thumbBounds=void 0,this._prepareOpen=this._prepareOpen.bind(this),t.on("firstZoomPan",this._prepareOpen)}open(){this._prepareOpen(),this._start()}close(){if(this.isClosed||this.isClosing||this.isOpening)return;const t=this.pswp.currSlide;this.isOpen=!1,this.isOpening=!1,this.isClosing=!0,this._duration=this.pswp.options.hideAnimationDuration,t&&t.currZoomLevel*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps(),setTimeout(()=>{this._start()},this._croppedZoom?30:0)}_prepareOpen(){if(this.pswp.off("firstZoomPan",this._prepareOpen),!this.isOpening){const t=this.pswp.currSlide;this.isOpening=!0,this.isClosing=!1,this._duration=this.pswp.options.showAnimationDuration,t&&t.zoomLevels.initial*t.width>=this.pswp.options.maxWidthToAnimate&&(this._duration=0),this._applyStartProps()}}_applyStartProps(){const{pswp:t}=this,i=this.pswp.currSlide,{options:n}=t;if(n.showHideAnimationType==="fade"?(n.showHideOpacity=!0,this._thumbBounds=void 0):n.showHideAnimationType==="none"?(n.showHideOpacity=!1,this._duration=0,this._thumbBounds=void 0):this.isOpening&&t._initialThumbBounds?this._thumbBounds=t._initialThumbBounds:this._thumbBounds=this.pswp.getThumbBounds(),this._placeholder=i==null?void 0:i.getPlaceholderElement(),t.animations.stopAll(),this._useAnimation=!!(this._duration&&this._duration>50),this._animateZoom=!!this._thumbBounds&&(i==null?void 0:i.content.usePlaceholder())&&(!this.isClosing||!t.mainScroll.isShifted()),!this._animateZoom)this._animateRootOpacity=!0,this.isOpening&&i&&(i.zoomAndPanToInitial(),i.applyCurrentZoomPan());else{var r;this._animateRootOpacity=(r=n.showHideOpacity)!==null&&r!==void 0?r:!1}if(this._animateBgOpacity=!this._animateRootOpacity&&this.pswp.options.bgOpacity>mt,this._opacityElement=this._animateRootOpacity?t.element:t.bg,!this._useAnimation){this._duration=0,this._animateZoom=!1,this._animateBgOpacity=!1,this._animateRootOpacity=!0,this.isOpening&&(t.element&&(t.element.style.opacity=String(mt)),t.applyBgOpacity(1));return}if(this._animateZoom&&this._thumbBounds&&this._thumbBounds.innerRect){var l;this._croppedZoom=!0,this._cropContainer1=this.pswp.container,this._cropContainer2=(l=this.pswp.currSlide)===null||l===void 0?void 0:l.holderElement,t.container&&(t.container.style.overflow="hidden",t.container.style.width=t.viewportSize.x+"px")}else this._croppedZoom=!1;this.isOpening?(this._animateRootOpacity?(t.element&&(t.element.style.opacity=String(mt)),t.applyBgOpacity(1)):(this._animateBgOpacity&&t.bg&&(t.bg.style.opacity=String(mt)),t.element&&(t.element.style.opacity="1")),this._animateZoom&&(this._setClosedStateZoomPan(),this._placeholder&&(this._placeholder.style.willChange="transform",this._placeholder.style.opacity=String(mt)))):this.isClosing&&(t.mainScroll.itemHolders[0]&&(t.mainScroll.itemHolders[0].el.style.display="none"),t.mainScroll.itemHolders[2]&&(t.mainScroll.itemHolders[2].el.style.display="none"),this._croppedZoom&&t.mainScroll.x!==0&&(t.mainScroll.resetPosition(),t.mainScroll.resize()))}_start(){this.isOpening&&this._useAnimation&&this._placeholder&&this._placeholder.tagName==="IMG"?new Promise(t=>{let i=!1,n=!0;Xa(this._placeholder).finally(()=>{i=!0,n||t(!0)}),setTimeout(()=>{n=!1,i&&t(!0)},50),setTimeout(t,250)}).finally(()=>this._initiate()):this._initiate()}_initiate(){var t,i;(t=this.pswp.element)===null||t===void 0||t.style.setProperty("--pswp-transition-duration",this._duration+"ms"),this.pswp.dispatch(this.isOpening?"openingAnimationStart":"closingAnimationStart"),this.pswp.dispatch("initialZoom"+(this.isOpening?"In":"Out")),(i=this.pswp.element)===null||i===void 0||i.classList.toggle("pswp--ui-visible",this.isOpening),this.isOpening?(this._placeholder&&(this._placeholder.style.opacity="1"),this._animateToOpenState()):this.isClosing&&this._animateToClosedState(),this._useAnimation||this._onAnimationComplete()}_onAnimationComplete(){const{pswp:t}=this;if(this.isOpen=this.isOpening,this.isClosed=this.isClosing,this.isOpening=!1,this.isClosing=!1,t.dispatch(this.isOpen?"openingAnimationEnd":"closingAnimationEnd"),t.dispatch("initialZoom"+(this.isOpen?"InEnd":"OutEnd")),this.isClosed)t.destroy();else if(this.isOpen){var i;this._animateZoom&&t.container&&(t.container.style.overflow="visible",t.container.style.width="100%"),(i=t.currSlide)===null||i===void 0||i.applyCurrentZoomPan()}}_animateToOpenState(){const{pswp:t}=this;this._animateZoom&&(this._croppedZoom&&this._cropContainer1&&this._cropContainer2&&(this._animateTo(this._cropContainer1,"transform","translate3d(0,0,0)"),this._animateTo(this._cropContainer2,"transform","none")),t.currSlide&&(t.currSlide.zoomAndPanToInitial(),this._animateTo(t.currSlide.container,"transform",t.currSlide.getCurrentTransform()))),this._animateBgOpacity&&t.bg&&this._animateTo(t.bg,"opacity",String(t.options.bgOpacity)),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","1")}_animateToClosedState(){const{pswp:t}=this;this._animateZoom&&this._setClosedStateZoomPan(!0),this._animateBgOpacity&&t.bgOpacity>.01&&t.bg&&this._animateTo(t.bg,"opacity","0"),this._animateRootOpacity&&t.element&&this._animateTo(t.element,"opacity","0")}_setClosedStateZoomPan(t){if(!this._thumbBounds)return;const{pswp:i}=this,{innerRect:n}=this._thumbBounds,{currSlide:r,viewportSize:l}=i;if(this._croppedZoom&&n&&this._cropContainer1&&this._cropContainer2){const d=-l.x+(this._thumbBounds.x-n.x)+n.w,c=-l.y+(this._thumbBounds.y-n.y)+n.h,a=l.x-n.w,o=l.y-n.h;t?(this._animateTo(this._cropContainer1,"transform",_t(d,c)),this._animateTo(this._cropContainer2,"transform",_t(a,o))):(tt(this._cropContainer1,d,c),tt(this._cropContainer2,a,o))}r&&(ve(r.pan,n||this._thumbBounds),r.currZoomLevel=this._thumbBounds.w/r.width,t?this._animateTo(r.container,"transform",r.getCurrentTransform()):r.applyCurrentZoomPan())}_animateTo(t,i,n){if(!this._duration){t.style[i]=n;return}const{animations:r}=this.pswp,l={duration:this._duration,easing:this.pswp.options.easing,onComplete:()=>{r.activeAnimations.length||this._onAnimationComplete()},target:t};l[i]=n,r.startTransition(l)}}const Uo={allowPanToNext:!0,spacing:.1,loop:!0,pinchToClose:!0,closeOnVerticalDrag:!0,hideAnimationDuration:333,showAnimationDuration:333,zoomAnimationDuration:333,escKey:!0,arrowKeys:!0,trapFocus:!0,returnFocus:!0,maxWidthToAnimate:4e3,clickToCloseNonZoomable:!0,imageClickAction:"zoom-or-close",bgClickAction:"close",tapAction:"toggle-controls",doubleTapAction:"zoom",indexIndicatorSep:" / ",preloaderDelay:2e3,bgOpacity:.8,index:0,errorMsg:"The image cannot be loaded",preload:[1,2],easing:"cubic-bezier(.4,0,.22,1)"};class Vo extends Wo{constructor(t){super(),this.options=this._prepareOptions(t||{}),this.offset={x:0,y:0},this._prevViewportSize={x:0,y:0},this.viewportSize={x:0,y:0},this.bgOpacity=1,this.currIndex=0,this.potentialIndex=0,this.isOpen=!1,this.isDestroying=!1,this.hasMouse=!1,this._initialItemData={},this._initialThumbBounds=void 0,this.topBar=void 0,this.element=void 0,this.template=void 0,this.container=void 0,this.scrollWrap=void 0,this.currSlide=void 0,this.events=new Ja,this.animations=new To,this.mainScroll=new go(this),this.gestures=new fo(this),this.opener=new Zo(this),this.keyboard=new vo(this),this.contentLoader=new qo(this)}init(){if(this.isOpen||this.isDestroying)return!1;this.isOpen=!0,this.dispatch("init"),this.dispatch("beforeOpen"),this._createMainStructure();let t="pswp--open";return this.gestures.supportsTouch&&(t+=" pswp--touch"),this.options.mainClass&&(t+=" "+this.options.mainClass),this.element&&(this.element.className+=" "+t),this.currIndex=this.options.index||0,this.potentialIndex=this.currIndex,this.dispatch("firstUpdate"),this.scrollWheel=new Co(this),(Number.isNaN(this.currIndex)||this.currIndex<0||this.currIndex>=this.getNumItems())&&(this.currIndex=0),this.gestures.supportsTouch||this.mouseDetected(),this.updateSize(),this.offset.y=window.pageYOffset,this._initialItemData=this.getItemData(this.currIndex),this.dispatch("gettingData",{index:this.currIndex,data:this._initialItemData,slide:void 0}),this._initialThumbBounds=this.getThumbBounds(),this.dispatch("initialLayout"),this.on("openingAnimationEnd",()=>{const{itemHolders:i}=this.mainScroll;i[0]&&(i[0].el.style.display="block",this.setContent(i[0],this.currIndex-1)),i[2]&&(i[2].el.style.display="block",this.setContent(i[2],this.currIndex+1)),this.appendHeavy(),this.contentLoader.updateLazy(),this.events.add(window,"resize",this._handlePageResize.bind(this)),this.events.add(window,"scroll",this._updatePageScrollOffset.bind(this)),this.dispatch("bindEvents")}),this.mainScroll.itemHolders[1]&&this.setContent(this.mainScroll.itemHolders[1],this.currIndex),this.dispatch("change"),this.opener.open(),this.dispatch("afterInit"),!0}getLoopedIndex(t){const i=this.getNumItems();return this.options.loop&&(t>i-1&&(t-=i),t<0&&(t+=i)),wt(t,0,i-1)}appendHeavy(){this.mainScroll.itemHolders.forEach(t=>{var i;(i=t.slide)===null||i===void 0||i.appendHeavy()})}goTo(t){this.mainScroll.moveIndexBy(this.getLoopedIndex(t)-this.potentialIndex)}next(){this.goTo(this.potentialIndex+1)}prev(){this.goTo(this.potentialIndex-1)}zoomTo(...t){var i;(i=this.currSlide)===null||i===void 0||i.zoomTo(...t)}toggleZoom(){var t;(t=this.currSlide)===null||t===void 0||t.toggleZoom()}close(){!this.opener.isOpen||this.isDestroying||(this.isDestroying=!0,this.dispatch("close"),this.events.removeAll(),this.opener.close())}destroy(){var t;if(!this.isDestroying){this.options.showHideAnimationType="none",this.close();return}this.dispatch("destroy"),this._listeners={},this.scrollWrap&&(this.scrollWrap.ontouchmove=null,this.scrollWrap.ontouchend=null),(t=this.element)===null||t===void 0||t.remove(),this.mainScroll.itemHolders.forEach(i=>{var n;(n=i.slide)===null||n===void 0||n.destroy()}),this.contentLoader.destroy(),this.events.removeAll()}refreshSlideContent(t){this.contentLoader.removeByIndex(t),this.mainScroll.itemHolders.forEach((i,n)=>{var r,l;let d=((r=(l=this.currSlide)===null||l===void 0?void 0:l.index)!==null&&r!==void 0?r:0)-1+n;if(this.canLoop()&&(d=this.getLoopedIndex(d)),d===t&&(this.setContent(i,t,!0),n===1)){var c;this.currSlide=i.slide,(c=i.slide)===null||c===void 0||c.setIsActive(!0)}}),this.dispatch("change")}setContent(t,i,n){if(this.canLoop()&&(i=this.getLoopedIndex(i)),t.slide){if(t.slide.index===i&&!n)return;t.slide.destroy(),t.slide=void 0}if(!this.canLoop()&&(i<0||i>=this.getNumItems()))return;const r=this.getItemData(i);t.slide=new eo(r,i,this),i===this.currIndex&&(this.currSlide=t.slide),t.slide.append(t.el)}getViewportCenterPoint(){return{x:this.viewportSize.x/2,y:this.viewportSize.y/2}}updateSize(t){if(this.isDestroying)return;const i=dn(this.options,this);!t&&xt(i,this._prevViewportSize)||(ve(this._prevViewportSize,i),this.dispatch("beforeResize"),ve(this.viewportSize,this._prevViewportSize),this._updatePageScrollOffset(),this.dispatch("viewportSize"),this.mainScroll.resize(this.opener.isOpen),!this.hasMouse&&window.matchMedia("(any-hover: hover)").matches&&this.mouseDetected(),this.dispatch("resize"))}applyBgOpacity(t){this.bgOpacity=Math.max(t,0),this.bg&&(this.bg.style.opacity=String(this.bgOpacity*this.options.bgOpacity))}mouseDetected(){if(!this.hasMouse){var t;this.hasMouse=!0,(t=this.element)===null||t===void 0||t.classList.add("pswp--has_mouse")}}_handlePageResize(){this.updateSize(),/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&setTimeout(()=>{this.updateSize()},500)}_updatePageScrollOffset(){this.setScrollOffset(0,window.pageYOffset)}setScrollOffset(t,i){this.offset.x=t,this.offset.y=i,this.dispatch("updateScrollOffset")}_createMainStructure(){this.element=Le("pswp","div"),this.element.setAttribute("tabindex","-1"),this.element.setAttribute("role","dialog"),this.template=this.element,this.bg=Le("pswp__bg","div",this.element),this.scrollWrap=Le("pswp__scroll-wrap","section",this.element),this.container=Le("pswp__container","div",this.scrollWrap),this.scrollWrap.setAttribute("aria-roledescription","carousel"),this.container.setAttribute("aria-live","off"),this.container.setAttribute("id","pswp__items"),this.mainScroll.appendHolders(),this.ui=new Mo(this),this.ui.init(),(this.options.appendToEl||document.body).appendChild(this.element)}getThumbBounds(){return zo(this.currIndex,this.currSlide?this.currSlide.data:this._initialItemData,this)}canLoop(){return this.options.loop&&this.getNumItems()>2}_prepareOptions(t){return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches&&(t.showHideAnimationType="none",t.zoomAnimationDuration=0),{...Uo,...t}}}window.PhotoSwipeLightbox=Za;window.PhotoSwipe=Vo;var mn={exports:{}};/*!
  17. * Select2 4.1.0-rc.0
  18. * https://select2.github.io
  19. *
  20. * Released under the MIT license
  21. * https://github.com/select2/select2/blob/master/LICENSE.md
  22. */(function(e){(function(t){e.exports?e.exports=function(i,n){return n===void 0&&(typeof window<"u"?n=zi():n=zi()(i)),t(n),n}:t(jQuery)})(function(t){var i=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var r=t.fn.select2.amd;var r;return function(){if(!r||!r.requirejs){r?d=r:r={};/**
  23. * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
  24. * Released under MIT license, http://github.com/requirejs/almond/LICENSE
  25. */var l,d,c;(function(a){var o,s,u,h,f={},p={},g={},v={},b=Object.prototype.hasOwnProperty,m=[].slice,y=/\.js$/;function _(S,H){return b.call(S,H)}function w(S,H){var V,M,j,F,X,K,te,R,se,I,x,G,q=H&&H.split("/"),re=g.map,le=re&&re["*"]||{};if(S){for(S=S.split("/"),X=S.length-1,g.nodeIdCompat&&y.test(S[X])&&(S[X]=S[X].replace(y,"")),S[0].charAt(0)==="."&&q&&(G=q.slice(0,q.length-1),S=G.concat(S)),se=0;se<S.length;se++)if(x=S[se],x===".")S.splice(se,1),se-=1;else if(x===".."){if(se===0||se===1&&S[2]===".."||S[se-1]==="..")continue;se>0&&(S.splice(se-1,2),se-=2)}S=S.join("/")}if((q||le)&&re){for(V=S.split("/"),se=V.length;se>0;se-=1){if(M=V.slice(0,se).join("/"),q){for(I=q.length;I>0;I-=1)if(j=re[q.slice(0,I).join("/")],j&&(j=j[M],j)){F=j,K=se;break}}if(F)break;!te&&le&&le[M]&&(te=le[M],R=se)}!F&&te&&(F=te,K=R),F&&(V.splice(0,K,F),S=V.join("/"))}return S}function A(S,H){return function(){var V=m.call(arguments,0);return typeof V[0]!="string"&&V.length===1&&V.push(null),s.apply(a,V.concat([S,H]))}}function L(S){return function(H){return w(H,S)}}function B(S){return function(H){f[S]=H}}function z(S){if(_(p,S)){var H=p[S];delete p[S],v[S]=!0,o.apply(a,H)}if(!_(f,S)&&!_(v,S))throw new Error("No "+S);return f[S]}function N(S){var H,V=S?S.indexOf("!"):-1;return V>-1&&(H=S.substring(0,V),S=S.substring(V+1,S.length)),[H,S]}function D(S){return S?N(S):[]}u=function(S,H){var V,M=N(S),j=M[0],F=H[1];return S=M[1],j&&(j=w(j,F),V=z(j)),j?V&&V.normalize?S=V.normalize(S,L(F)):S=w(S,F):(S=w(S,F),M=N(S),j=M[0],S=M[1],j&&(V=z(j))),{f:j?j+"!"+S:S,n:S,pr:j,p:V}};function P(S){return function(){return g&&g.config&&g.config[S]||{}}}h={require:function(S){return A(S)},exports:function(S){var H=f[S];return typeof H<"u"?H:f[S]={}},module:function(S){return{id:S,uri:"",exports:f[S],config:P(S)}}},o=function(S,H,V,M){var j,F,X,K,te,R,se=[],I=typeof V,x;if(M=M||S,R=D(M),I==="undefined"||I==="function"){for(H=!H.length&&V.length?["require","exports","module"]:H,te=0;te<H.length;te+=1)if(K=u(H[te],R),F=K.f,F==="require")se[te]=h.require(S);else if(F==="exports")se[te]=h.exports(S),x=!0;else if(F==="module")j=se[te]=h.module(S);else if(_(f,F)||_(p,F)||_(v,F))se[te]=z(F);else if(K.p)K.p.load(K.n,A(M,!0),B(F),{}),se[te]=f[F];else throw new Error(S+" missing "+F);X=V?V.apply(f[S],se):void 0,S&&(j&&j.exports!==a&&j.exports!==f[S]?f[S]=j.exports:(X!==a||!x)&&(f[S]=X))}else S&&(f[S]=V)},l=d=s=function(S,H,V,M,j){if(typeof S=="string")return h[S]?h[S](H):z(u(S,D(H)).f);if(!S.splice){if(g=S,g.deps&&s(g.deps,g.callback),!H)return;H.splice?(S=H,H=V,V=null):S=a}return H=H||function(){},typeof V=="function"&&(V=M,M=j),M?o(a,S,H,V):setTimeout(function(){o(a,S,H,V)},4),s},s.config=function(S){return s(S)},l._defined=f,c=function(S,H,V){if(typeof S!="string")throw new Error("See almond README: incorrect module build, no module name");H.splice||(V=H,H=[]),!_(f,S)&&!_(p,S)&&(p[S]=[S,H,V])},c.amd={jQuery:!0}})(),r.requirejs=l,r.require=d,r.define=c}}(),r.define("almond",function(){}),r.define("jquery",[],function(){var l=t||$;return l==null&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),l}),r.define("select2/utils",["jquery"],function(l){var d={};d.Extend=function(s,u){var h={}.hasOwnProperty;function f(){this.constructor=s}for(var p in u)h.call(u,p)&&(s[p]=u[p]);return f.prototype=u.prototype,s.prototype=new f,s.__super__=u.prototype,s};function c(s){var u=s.prototype,h=[];for(var f in u){var p=u[f];typeof p=="function"&&f!=="constructor"&&h.push(f)}return h}d.Decorate=function(s,u){var h=c(u),f=c(s);function p(){var w=Array.prototype.unshift,A=u.prototype.constructor.length,L=s.prototype.constructor;A>0&&(w.call(arguments,s.prototype.constructor),L=u.prototype.constructor),L.apply(this,arguments)}u.displayName=s.displayName;function g(){this.constructor=p}p.prototype=new g;for(var v=0;v<f.length;v++){var b=f[v];p.prototype[b]=s.prototype[b]}for(var m=function(w){var A=function(){};w in p.prototype&&(A=p.prototype[w]);var L=u.prototype[w];return function(){var B=Array.prototype.unshift;return B.call(arguments,A),L.apply(this,arguments)}},y=0;y<h.length;y++){var _=h[y];p.prototype[_]=m(_)}return p};var a=function(){this.listeners={}};a.prototype.on=function(s,u){this.listeners=this.listeners||{},s in this.listeners?this.listeners[s].push(u):this.listeners[s]=[u]},a.prototype.trigger=function(s){var u=Array.prototype.slice,h=u.call(arguments,1);this.listeners=this.listeners||{},h==null&&(h=[]),h.length===0&&h.push({}),h[0]._type=s,s in this.listeners&&this.invoke(this.listeners[s],u.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},a.prototype.invoke=function(s,u){for(var h=0,f=s.length;h<f;h++)s[h].apply(this,u)},d.Observable=a,d.generateChars=function(s){for(var u="",h=0;h<s;h++){var f=Math.floor(Math.random()*36);u+=f.toString(36)}return u},d.bind=function(s,u){return function(){s.apply(u,arguments)}},d._convertData=function(s){for(var u in s){var h=u.split("-"),f=s;if(h.length!==1){for(var p=0;p<h.length;p++){var g=h[p];g=g.substring(0,1).toLowerCase()+g.substring(1),g in f||(f[g]={}),p==h.length-1&&(f[g]=s[u]),f=f[g]}delete s[u]}}return s},d.hasScroll=function(s,u){var h=l(u),f=u.style.overflowX,p=u.style.overflowY;return f===p&&(p==="hidden"||p==="visible")?!1:f==="scroll"||p==="scroll"?!0:h.innerHeight()<u.scrollHeight||h.innerWidth()<u.scrollWidth},d.escapeMarkup=function(s){var u={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return typeof s!="string"?s:String(s).replace(/[&<>"'\/\\]/g,function(h){return u[h]})},d.__cache={};var o=0;return d.GetUniqueElementId=function(s){var u=s.getAttribute("data-select2-id");return u!=null||(s.id?u="select2-data-"+s.id:u="select2-data-"+(++o).toString()+"-"+d.generateChars(4),s.setAttribute("data-select2-id",u)),u},d.StoreData=function(s,u,h){var f=d.GetUniqueElementId(s);d.__cache[f]||(d.__cache[f]={}),d.__cache[f][u]=h},d.GetData=function(s,u){var h=d.GetUniqueElementId(s);return u?d.__cache[h]&&d.__cache[h][u]!=null?d.__cache[h][u]:l(s).data(u):d.__cache[h]},d.RemoveData=function(s){var u=d.GetUniqueElementId(s);d.__cache[u]!=null&&delete d.__cache[u],s.removeAttribute("data-select2-id")},d.copyNonInternalCssClasses=function(s,u){var h=s.getAttribute("class").trim().split(/\s+/);h=h.filter(function(g){return g.indexOf("select2-")===0});var f=u.getAttribute("class").trim().split(/\s+/);f=f.filter(function(g){return g.indexOf("select2-")!==0});var p=h.concat(f);s.setAttribute("class",p.join(" "))},d}),r.define("select2/results",["jquery","./utils"],function(l,d){function c(a,o,s){this.$element=a,this.data=s,this.options=o,c.__super__.constructor.call(this)}return d.Extend(c,d.Observable),c.prototype.render=function(){var a=l('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&a.attr("aria-multiselectable","true"),this.$results=a,a},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(a){var o=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var s=l('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),u=this.options.get("translations").get(a.message);s.append(o(u(a.args))),s[0].className+=" select2-results__message",this.$results.append(s)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(a){this.hideLoading();var o=[];if(a.results==null||a.results.length===0){this.$results.children().length===0&&this.trigger("results:message",{message:"noResults"});return}a.results=this.sort(a.results);for(var s=0;s<a.results.length;s++){var u=a.results[s],h=this.option(u);o.push(h)}this.$results.append(o)},c.prototype.position=function(a,o){var s=o.find(".select2-results");s.append(a)},c.prototype.sort=function(a){var o=this.options.get("sorter");return o(a)},c.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option--selectable"),o=a.filter(".select2-results__option--selected");o.length>0?o.first().trigger("mouseenter"):a.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var a=this;this.data.current(function(o){var s=o.map(function(h){return h.id.toString()}),u=a.$results.find(".select2-results__option--selectable");u.each(function(){var h=l(this),f=d.GetData(this,"data"),p=""+f.id;f.element!=null&&f.element.selected||f.element==null&&s.indexOf(p)>-1?(this.classList.add("select2-results__option--selected"),h.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),h.attr("aria-selected","false"))})})},c.prototype.showLoading=function(a){this.hideLoading();var o=this.options.get("translations").get("searching"),s={disabled:!0,loading:!0,text:o(a)},u=this.option(s);u.className+=" loading-results",this.$results.prepend(u)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(a){var o=document.createElement("li");o.classList.add("select2-results__option"),o.classList.add("select2-results__option--selectable");var s={role:"option"},u=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;(a.element!=null&&u.call(a.element,":disabled")||a.element==null&&a.disabled)&&(s["aria-disabled"]="true",o.classList.remove("select2-results__option--selectable"),o.classList.add("select2-results__option--disabled")),a.id==null&&o.classList.remove("select2-results__option--selectable"),a._resultId!=null&&(o.id=a._resultId),a.title&&(o.title=a.title),a.children&&(s.role="group",s["aria-label"]=a.text,o.classList.remove("select2-results__option--selectable"),o.classList.add("select2-results__option--group"));for(var h in s){var f=s[h];o.setAttribute(h,f)}if(a.children){var p=l(o),g=document.createElement("strong");g.className="select2-results__group",this.template(a,g);for(var v=[],b=0;b<a.children.length;b++){var m=a.children[b],y=this.option(m);v.push(y)}var _=l("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});_.append(v),p.append(g),p.append(_)}else this.template(a,o);return d.StoreData(o,"data",a),o},c.prototype.bind=function(a,o){var s=this,u=a.id+"-results";this.$results.attr("id",u),a.on("results:all",function(h){s.clear(),s.append(h.data),a.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),a.on("results:append",function(h){s.append(h.data),a.isOpen()&&s.setClasses()}),a.on("query",function(h){s.hideMessages(),s.showLoading(h)}),a.on("select",function(){a.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())}),a.on("unselect",function(){a.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect")&&s.highlightFirstItem())}),a.on("open",function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()}),a.on("close",function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")}),a.on("results:toggle",function(){var h=s.getHighlightedResults();h.length!==0&&h.trigger("mouseup")}),a.on("results:select",function(){var h=s.getHighlightedResults();if(h.length!==0){var f=d.GetData(h[0],"data");h.hasClass("select2-results__option--selected")?s.trigger("close",{}):s.trigger("select",{data:f})}}),a.on("results:previous",function(){var h=s.getHighlightedResults(),f=s.$results.find(".select2-results__option--selectable"),p=f.index(h);if(!(p<=0)){var g=p-1;h.length===0&&(g=0);var v=f.eq(g);v.trigger("mouseenter");var b=s.$results.offset().top,m=v.offset().top,y=s.$results.scrollTop()+(m-b);g===0?s.$results.scrollTop(0):m-b<0&&s.$results.scrollTop(y)}}),a.on("results:next",function(){var h=s.getHighlightedResults(),f=s.$results.find(".select2-results__option--selectable"),p=f.index(h),g=p+1;if(!(g>=f.length)){var v=f.eq(g);v.trigger("mouseenter");var b=s.$results.offset().top+s.$results.outerHeight(!1),m=v.offset().top+v.outerHeight(!1),y=s.$results.scrollTop()+m-b;g===0?s.$results.scrollTop(0):m>b&&s.$results.scrollTop(y)}}),a.on("results:focus",function(h){h.element[0].classList.add("select2-results__option--highlighted"),h.element[0].setAttribute("aria-selected","true")}),a.on("results:message",function(h){s.displayMessage(h)}),l.fn.mousewheel&&this.$results.on("mousewheel",function(h){var f=s.$results.scrollTop(),p=s.$results.get(0).scrollHeight-f+h.deltaY,g=h.deltaY>0&&f-h.deltaY<=0,v=h.deltaY<0&&p<=s.$results.height();g?(s.$results.scrollTop(0),h.preventDefault(),h.stopPropagation()):v&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),h.preventDefault(),h.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(h){var f=l(this),p=d.GetData(this,"data");if(f.hasClass("select2-results__option--selected")){s.options.get("multiple")?s.trigger("unselect",{originalEvent:h,data:p}):s.trigger("close",{});return}s.trigger("select",{originalEvent:h,data:p})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(h){var f=d.GetData(this,"data");s.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),s.trigger("results:focus",{data:f,element:l(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(a.length!==0){var o=this.$results.find(".select2-results__option--selectable"),s=o.index(a),u=this.$results.offset().top,h=a.offset().top,f=this.$results.scrollTop()+(h-u),p=h-u;f-=a.outerHeight(!1)*2,s<=2?this.$results.scrollTop(0):(p>this.$results.outerHeight()||p<0)&&this.$results.scrollTop(f)}},c.prototype.template=function(a,o){var s=this.options.get("templateResult"),u=this.options.get("escapeMarkup"),h=s(a,o);h==null?o.style.display="none":typeof h=="string"?o.innerHTML=u(h):l(o).append(h)},c}),r.define("select2/keys",[],function(){var l={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return l}),r.define("select2/selection/base",["jquery","../utils","../keys"],function(l,d,c){function a(o,s){this.$element=o,this.options=s,a.__super__.constructor.call(this)}return d.Extend(a,d.Observable),a.prototype.render=function(){var o=l('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,d.GetData(this.$element[0],"old-tabindex")!=null?this._tabindex=d.GetData(this.$element[0],"old-tabindex"):this.$element.attr("tabindex")!=null&&(this._tabindex=this.$element.attr("tabindex")),o.attr("title",this.$element.attr("title")),o.attr("tabindex",this._tabindex),o.attr("aria-disabled","false"),this.$selection=o,o},a.prototype.bind=function(o,s){var u=this,h=o.id+"-results";this.container=o,this.$selection.on("focus",function(f){u.trigger("focus",f)}),this.$selection.on("blur",function(f){u._handleBlur(f)}),this.$selection.on("keydown",function(f){u.trigger("keypress",f),f.which===c.SPACE&&f.preventDefault()}),o.on("results:focus",function(f){u.$selection.attr("aria-activedescendant",f.data._resultId)}),o.on("selection:update",function(f){u.update(f.data)}),o.on("open",function(){u.$selection.attr("aria-expanded","true"),u.$selection.attr("aria-owns",h),u._attachCloseHandler(o)}),o.on("close",function(){u.$selection.attr("aria-expanded","false"),u.$selection.removeAttr("aria-activedescendant"),u.$selection.removeAttr("aria-owns"),u.$selection.trigger("focus"),u._detachCloseHandler(o)}),o.on("enable",function(){u.$selection.attr("tabindex",u._tabindex),u.$selection.attr("aria-disabled","false")}),o.on("disable",function(){u.$selection.attr("tabindex","-1"),u.$selection.attr("aria-disabled","true")})},a.prototype._handleBlur=function(o){var s=this;window.setTimeout(function(){document.activeElement==s.$selection[0]||l.contains(s.$selection[0],document.activeElement)||s.trigger("blur",o)},1)},a.prototype._attachCloseHandler=function(o){l(document.body).on("mousedown.select2."+o.id,function(s){var u=l(s.target),h=u.closest(".select2"),f=l(".select2.select2-container--open");f.each(function(){if(this!=h[0]){var p=d.GetData(this,"element");p.select2("close")}})})},a.prototype._detachCloseHandler=function(o){l(document.body).off("mousedown.select2."+o.id)},a.prototype.position=function(o,s){var u=s.find(".selection");u.append(o)},a.prototype.destroy=function(){this._detachCloseHandler(this.container)},a.prototype.update=function(o){throw new Error("The `update` method must be defined in child classes.")},a.prototype.isEnabled=function(){return!this.isDisabled()},a.prototype.isDisabled=function(){return this.options.get("disabled")},a}),r.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(l,d,c,a){function o(){o.__super__.constructor.apply(this,arguments)}return c.Extend(o,d),o.prototype.render=function(){var s=o.__super__.render.call(this);return s[0].classList.add("select2-selection--single"),s.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),s},o.prototype.bind=function(s,u){var h=this;o.__super__.bind.apply(this,arguments);var f=s.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",f).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",f),this.$selection.attr("aria-controls",f),this.$selection.on("mousedown",function(p){p.which===1&&h.trigger("toggle",{originalEvent:p})}),this.$selection.on("focus",function(p){}),this.$selection.on("blur",function(p){}),s.on("focus",function(p){s.isOpen()||h.$selection.trigger("focus")})},o.prototype.clear=function(){var s=this.$selection.find(".select2-selection__rendered");s.empty(),s.removeAttr("title")},o.prototype.display=function(s,u){var h=this.options.get("templateSelection"),f=this.options.get("escapeMarkup");return f(h(s,u))},o.prototype.selectionContainer=function(){return l("<span></span>")},o.prototype.update=function(s){if(s.length===0){this.clear();return}var u=s[0],h=this.$selection.find(".select2-selection__rendered"),f=this.display(u,h);h.empty().append(f);var p=u.title||u.text;p?h.attr("title",p):h.removeAttr("title")},o}),r.define("select2/selection/multiple",["jquery","./base","../utils"],function(l,d,c){function a(o,s){a.__super__.constructor.apply(this,arguments)}return c.Extend(a,d),a.prototype.render=function(){var o=a.__super__.render.call(this);return o[0].classList.add("select2-selection--multiple"),o.html('<ul class="select2-selection__rendered"></ul>'),o},a.prototype.bind=function(o,s){var u=this;a.__super__.bind.apply(this,arguments);var h=o.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",h),this.$selection.on("click",function(f){u.trigger("toggle",{originalEvent:f})}),this.$selection.on("click",".select2-selection__choice__remove",function(f){if(!u.isDisabled()){var p=l(this),g=p.parent(),v=c.GetData(g[0],"data");u.trigger("unselect",{originalEvent:f,data:v})}}),this.$selection.on("keydown",".select2-selection__choice__remove",function(f){u.isDisabled()||f.stopPropagation()})},a.prototype.clear=function(){var o=this.$selection.find(".select2-selection__rendered");o.empty(),o.removeAttr("title")},a.prototype.display=function(o,s){var u=this.options.get("templateSelection"),h=this.options.get("escapeMarkup");return h(u(o,s))},a.prototype.selectionContainer=function(){var o=l('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">&times;</span></button><span class="select2-selection__choice__display"></span></li>');return o},a.prototype.update=function(o){if(this.clear(),o.length!==0){for(var s=[],u=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",h=0;h<o.length;h++){var f=o[h],p=this.selectionContainer(),g=this.display(f,p),v=u+c.generateChars(4)+"-";f.id?v+=f.id:v+=c.generateChars(4),p.find(".select2-selection__choice__display").append(g).attr("id",v);var b=f.title||f.text;b&&p.attr("title",b);var m=this.options.get("translations").get("removeItem"),y=p.find(".select2-selection__choice__remove");y.attr("title",m()),y.attr("aria-label",m()),y.attr("aria-describedby",v),c.StoreData(p[0],"data",f),s.push(p)}var _=this.$selection.find(".select2-selection__rendered");_.append(s)}},a}),r.define("select2/selection/placeholder",[],function(){function l(d,c,a){this.placeholder=this.normalizePlaceholder(a.get("placeholder")),d.call(this,c,a)}return l.prototype.normalizePlaceholder=function(d,c){return typeof c=="string"&&(c={id:"",text:c}),c},l.prototype.createPlaceholder=function(d,c){var a=this.selectionContainer();a.html(this.display(c)),a[0].classList.add("select2-selection__placeholder"),a[0].classList.remove("select2-selection__choice");var o=c.title||c.text||a.text();return this.$selection.find(".select2-selection__rendered").attr("title",o),a},l.prototype.update=function(d,c){var a=c.length==1&&c[0].id!=this.placeholder.id,o=c.length>1;if(o||a)return d.call(this,c);this.clear();var s=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(s)},l}),r.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(l,d,c){function a(){}return a.prototype.bind=function(o,s,u){var h=this;o.call(this,s,u),this.placeholder==null&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(f){h._handleClear(f)}),s.on("keypress",function(f){h._handleKeyboardClear(f,s)})},a.prototype._handleClear=function(o,s){if(!this.isDisabled()){var u=this.$selection.find(".select2-selection__clear");if(u.length!==0){s.stopPropagation();var h=c.GetData(u[0],"data"),f=this.$element.val();this.$element.val(this.placeholder.id);var p={data:h};if(this.trigger("clear",p),p.prevented){this.$element.val(f);return}for(var g=0;g<h.length;g++)if(p={data:h[g]},this.trigger("unselect",p),p.prevented){this.$element.val(f);return}this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}},a.prototype._handleKeyboardClear=function(o,s,u){u.isOpen()||(s.which==d.DELETE||s.which==d.BACKSPACE)&&this._handleClear(s)},a.prototype.update=function(o,s){if(o.call(this,s),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||s.length===0)){var u=this.$selection.find(".select2-selection__rendered").attr("id"),h=this.options.get("translations").get("removeAllItems"),f=l('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">&times;</span></button>');f.attr("title",h()),f.attr("aria-label",h()),f.attr("aria-describedby",u),c.StoreData(f[0],"data",s),this.$selection.prepend(f),this.$selection[0].classList.add("select2-selection--clearable")}},a}),r.define("select2/selection/search",["jquery","../utils","../keys"],function(l,d,c){function a(o,s,u){o.call(this,s,u)}return a.prototype.render=function(o){var s=this.options.get("translations").get("search"),u=l('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');this.$searchContainer=u,this.$search=u.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",s());var h=o.call(this);return this._transferTabIndex(),h.append(this.$searchContainer),h},a.prototype.bind=function(o,s,u){var h=this,f=s.id+"-results",p=s.id+"-container";o.call(this,s,u),h.$search.attr("aria-describedby",p),s.on("open",function(){h.$search.attr("aria-controls",f),h.$search.trigger("focus")}),s.on("close",function(){h.$search.val(""),h.resizeSearch(),h.$search.removeAttr("aria-controls"),h.$search.removeAttr("aria-activedescendant"),h.$search.trigger("focus")}),s.on("enable",function(){h.$search.prop("disabled",!1),h._transferTabIndex()}),s.on("disable",function(){h.$search.prop("disabled",!0)}),s.on("focus",function(b){h.$search.trigger("focus")}),s.on("results:focus",function(b){b.data._resultId?h.$search.attr("aria-activedescendant",b.data._resultId):h.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(b){h.trigger("focus",b)}),this.$selection.on("focusout",".select2-search--inline",function(b){h._handleBlur(b)}),this.$selection.on("keydown",".select2-search--inline",function(b){b.stopPropagation(),h.trigger("keypress",b),h._keyUpPrevented=b.isDefaultPrevented();var m=b.which;if(m===c.BACKSPACE&&h.$search.val()===""){var y=h.$selection.find(".select2-selection__choice").last();if(y.length>0){var _=d.GetData(y[0],"data");h.searchRemoveChoice(_),b.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(b){h.$search.val()&&b.stopPropagation()});var g=document.documentMode,v=g&&g<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(b){if(v){h.$selection.off("input.search input.searchcheck");return}h.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(b){if(v&&b.type==="input"){h.$selection.off("input.search input.searchcheck");return}var m=b.which;m==c.SHIFT||m==c.CTRL||m==c.ALT||m!=c.TAB&&h.handleSearch(b)})},a.prototype._transferTabIndex=function(o){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},a.prototype.createPlaceholder=function(o,s){this.$search.attr("placeholder",s.text)},a.prototype.update=function(o,s){var u=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),o.call(this,s),this.resizeSearch(),u&&this.$search.trigger("focus")},a.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var o=this.$search.val();this.trigger("query",{term:o})}this._keyUpPrevented=!1},a.prototype.searchRemoveChoice=function(o,s){this.trigger("unselect",{data:s}),this.$search.val(s.text),this.handleSearch()},a.prototype.resizeSearch=function(){this.$search.css("width","25px");var o="100%";if(this.$search.attr("placeholder")===""){var s=this.$search.val().length+1;o=s*.75+"em"}this.$search.css("width",o)},a}),r.define("select2/selection/selectionCss",["../utils"],function(l){function d(){}return d.prototype.render=function(c){var a=c.call(this),o=this.options.get("selectionCssClass")||"";return o.indexOf(":all:")!==-1&&(o=o.replace(":all:",""),l.copyNonInternalCssClasses(a[0],this.$element[0])),a.addClass(o),a},d}),r.define("select2/selection/eventRelay",["jquery"],function(l){function d(){}return d.prototype.bind=function(c,a,o){var s=this,u=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],h=["opening","closing","selecting","unselecting","clearing"];c.call(this,a,o),a.on("*",function(f,p){if(u.indexOf(f)!==-1){p=p||{};var g=l.Event("select2:"+f,{params:p});s.$element.trigger(g),h.indexOf(f)!==-1&&(p.prevented=g.isDefaultPrevented())}})},d}),r.define("select2/translation",["jquery","require"],function(l,d){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(a){this.dict=l.extend({},a.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var o=d(a);c._cache[a]=o}return new c(c._cache[a])},c}),r.define("select2/diacritics",[],function(){var l={"Ⓐ":"A",A:"A",À:"A",Á:"A",Â:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ā:"A",Ă:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ǡ:"A",Ä:"A",Ǟ:"A",Ả:"A",Å:"A",Ǻ:"A",Ǎ:"A",Ȁ:"A",Ȃ:"A",Ạ:"A",Ậ:"A",Ặ:"A",Ḁ:"A",Ą:"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B",B:"B",Ḃ:"B",Ḅ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ɓ:"B","Ⓒ":"C",C:"C",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",Ç:"C",Ḉ:"C",Ƈ:"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D",D:"D",Ḋ:"D",Ď:"D",Ḍ:"D",Ḑ:"D",Ḓ:"D",Ḏ:"D",Đ:"D",Ƌ:"D",Ɗ:"D",Ɖ:"D","Ꝺ":"D",DZ:"DZ",DŽ:"DZ",Dz:"Dz",Dž:"Dz","Ⓔ":"E",E:"E",È:"E",É:"E",Ê:"E",Ề:"E",Ế:"E",Ễ:"E",Ể:"E",Ẽ:"E",Ē:"E",Ḕ:"E",Ḗ:"E",Ĕ:"E",Ė:"E",Ë:"E",Ẻ:"E",Ě:"E",Ȅ:"E",Ȇ:"E",Ẹ:"E",Ệ:"E",Ȩ:"E",Ḝ:"E",Ę:"E",Ḙ:"E",Ḛ:"E",Ɛ:"E",Ǝ:"E","Ⓕ":"F",F:"F",Ḟ:"F",Ƒ:"F","Ꝼ":"F","Ⓖ":"G",G:"G",Ǵ:"G",Ĝ:"G",Ḡ:"G",Ğ:"G",Ġ:"G",Ǧ:"G",Ģ:"G",Ǥ:"G",Ɠ:"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",Ȟ:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I",I:"I",Ì:"I",Í:"I",Î:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ï:"I",Ḯ:"I",Ỉ:"I",Ǐ:"I",Ȉ:"I",Ȋ:"I",Ị:"I",Į:"I",Ḭ:"I",Ɨ:"I","Ⓙ":"J",J:"J",Ĵ:"J","Ɉ":"J","Ⓚ":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Ƙ:"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L",L:"L",Ŀ:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ļ:"L",Ḽ:"L",Ḻ:"L",Ł:"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L",LJ:"LJ",Lj:"Lj","Ⓜ":"M",M:"M",Ḿ:"M",Ṁ:"M",Ṃ:"M","Ɱ":"M",Ɯ:"M","Ⓝ":"N",N:"N",Ǹ:"N",Ń:"N",Ñ:"N",Ṅ:"N",Ň:"N",Ṇ:"N",Ņ:"N",Ṋ:"N",Ṉ:"N","Ƞ":"N",Ɲ:"N","Ꞑ":"N","Ꞥ":"N",NJ:"NJ",Nj:"Nj","Ⓞ":"O",O:"O",Ò:"O",Ó:"O",Ô:"O",Ồ:"O",Ố:"O",Ỗ:"O",Ổ:"O",Õ:"O",Ṍ:"O",Ȭ:"O",Ṏ:"O",Ō:"O",Ṑ:"O",Ṓ:"O",Ŏ:"O",Ȯ:"O",Ȱ:"O",Ö:"O",Ȫ:"O",Ỏ:"O",Ő:"O",Ǒ:"O",Ȍ:"O",Ȏ:"O",Ơ:"O",Ờ:"O",Ớ:"O",Ỡ:"O",Ở:"O",Ợ:"O",Ọ:"O",Ộ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Ɔ:"O",Ɵ:"O","Ꝋ":"O","Ꝍ":"O",Œ:"OE",Ƣ:"OI","Ꝏ":"OO",Ȣ:"OU","Ⓟ":"P",P:"P",Ṕ:"P",Ṗ:"P",Ƥ:"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q",Q:"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R",R:"R",Ŕ:"R",Ṙ:"R",Ř:"R",Ȑ:"R",Ȓ:"R",Ṛ:"R",Ṝ:"R",Ŗ:"R",Ṟ:"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S",S:"S","ẞ":"S",Ś:"S",Ṥ:"S",Ŝ:"S",Ṡ:"S",Š:"S",Ṧ:"S",Ṣ:"S",Ṩ:"S",Ș:"S",Ş:"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T",T:"T",Ṫ:"T",Ť:"T",Ṭ:"T",Ț:"T",Ţ:"T",Ṱ:"T",Ṯ:"T",Ŧ:"T",Ƭ:"T",Ʈ:"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U",U:"U",Ù:"U",Ú:"U",Û:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ü:"U",Ǜ:"U",Ǘ:"U",Ǖ:"U",Ǚ:"U",Ủ:"U",Ů:"U",Ű:"U",Ǔ:"U",Ȕ:"U",Ȗ:"U",Ư:"U",Ừ:"U",Ứ:"U",Ữ:"U",Ử:"U",Ự:"U",Ụ:"U",Ṳ:"U",Ų:"U",Ṷ:"U",Ṵ:"U","Ʉ":"U","Ⓥ":"V",V:"V",Ṽ:"V",Ṿ:"V",Ʋ:"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W",W:"W",Ẁ:"W",Ẃ:"W",Ŵ:"W",Ẇ:"W",Ẅ:"W",Ẉ:"W","Ⱳ":"W","Ⓧ":"X",X:"X",Ẋ:"X",Ẍ:"X","Ⓨ":"Y",Y:"Y",Ỳ:"Y",Ý:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",Ẏ:"Y",Ÿ:"Y",Ỷ:"Y",Ỵ:"Y",Ƴ:"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z",Z:"Z",Ź:"Z",Ẑ:"Z",Ż:"Z",Ž:"Z",Ẓ:"Z",Ẕ:"Z",Ƶ:"Z",Ȥ:"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a",a:"a",ẚ:"a",à:"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",ā:"a",ă:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",ǡ:"a",ä:"a",ǟ:"a",ả:"a",å:"a",ǻ:"a",ǎ:"a",ȁ:"a",ȃ:"a",ạ:"a",ậ:"a",ặ:"a",ḁ:"a",ą:"a","ⱥ":"a",ɐ:"a","ꜳ":"aa",æ:"ae",ǽ:"ae",ǣ:"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b",b:"b",ḃ:"b",ḅ:"b",ḇ:"b",ƀ:"b",ƃ:"b",ɓ:"b","ⓒ":"c",c:"c",ć:"c",ĉ:"c",ċ:"c",č:"c",ç:"c",ḉ:"c",ƈ:"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d",d:"d",ḋ:"d",ď:"d",ḍ:"d",ḑ:"d",ḓ:"d",ḏ:"d",đ:"d",ƌ:"d",ɖ:"d",ɗ:"d","ꝺ":"d",dz:"dz",dž:"dz","ⓔ":"e",e:"e",è:"e",é:"e",ê:"e",ề:"e",ế:"e",ễ:"e",ể:"e",ẽ:"e",ē:"e",ḕ:"e",ḗ:"e",ĕ:"e",ė:"e",ë:"e",ẻ:"e",ě:"e",ȅ:"e",ȇ:"e",ẹ:"e",ệ:"e",ȩ:"e",ḝ:"e",ę:"e",ḙ:"e",ḛ:"e","ɇ":"e",ɛ:"e",ǝ:"e","ⓕ":"f",f:"f",ḟ:"f",ƒ:"f","ꝼ":"f","ⓖ":"g",g:"g",ǵ:"g",ĝ:"g",ḡ:"g",ğ:"g",ġ:"g",ǧ:"g",ģ:"g",ǥ:"g",ɠ:"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h",h:"h",ĥ:"h",ḣ:"h",ḧ:"h",ȟ:"h",ḥ:"h",ḩ:"h",ḫ:"h",ẖ:"h",ħ:"h","ⱨ":"h","ⱶ":"h",ɥ:"h",ƕ:"hv","ⓘ":"i",i:"i",ì:"i",í:"i",î:"i",ĩ:"i",ī:"i",ĭ:"i",ï:"i",ḯ:"i",ỉ:"i",ǐ:"i",ȉ:"i",ȋ:"i",ị:"i",į:"i",ḭ:"i",ɨ:"i",ı:"i","ⓙ":"j",j:"j",ĵ:"j",ǰ:"j","ɉ":"j","ⓚ":"k",k:"k",ḱ:"k",ǩ:"k",ḳ:"k",ķ:"k",ḵ:"k",ƙ:"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l",l:"l",ŀ:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",ſ:"l",ł:"l",ƚ:"l",ɫ:"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l",lj:"lj","ⓜ":"m",m:"m",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ɯ:"m","ⓝ":"n",n:"n",ǹ:"n",ń:"n",ñ:"n",ṅ:"n",ň:"n",ṇ:"n",ņ:"n",ṋ:"n",ṉ:"n",ƞ:"n",ɲ:"n",ʼn:"n","ꞑ":"n","ꞥ":"n",nj:"nj","ⓞ":"o",o:"o",ò:"o",ó:"o",ô:"o",ồ:"o",ố:"o",ỗ:"o",ổ:"o",õ:"o",ṍ:"o",ȭ:"o",ṏ:"o",ō:"o",ṑ:"o",ṓ:"o",ŏ:"o",ȯ:"o",ȱ:"o",ö:"o",ȫ:"o",ỏ:"o",ő:"o",ǒ:"o",ȍ:"o",ȏ:"o",ơ:"o",ờ:"o",ớ:"o",ỡ:"o",ở:"o",ợ:"o",ọ:"o",ộ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",ɔ:"o","ꝋ":"o","ꝍ":"o",ɵ:"o",œ:"oe",ƣ:"oi",ȣ:"ou","ꝏ":"oo","ⓟ":"p",p:"p",ṕ:"p",ṗ:"p",ƥ:"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q",q:"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r",r:"r",ŕ:"r",ṙ:"r",ř:"r",ȑ:"r",ȓ:"r",ṛ:"r",ṝ:"r",ŗ:"r",ṟ:"r","ɍ":"r",ɽ:"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s",s:"s",ß:"s",ś:"s",ṥ:"s",ŝ:"s",ṡ:"s",š:"s",ṧ:"s",ṣ:"s",ṩ:"s",ș:"s",ş:"s","ȿ":"s","ꞩ":"s","ꞅ":"s",ẛ:"s","ⓣ":"t",t:"t",ṫ:"t",ẗ:"t",ť:"t",ṭ:"t",ț:"t",ţ:"t",ṱ:"t",ṯ:"t",ŧ:"t",ƭ:"t",ʈ:"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u",u:"u",ù:"u",ú:"u",û:"u",ũ:"u",ṹ:"u",ū:"u",ṻ:"u",ŭ:"u",ü:"u",ǜ:"u",ǘ:"u",ǖ:"u",ǚ:"u",ủ:"u",ů:"u",ű:"u",ǔ:"u",ȕ:"u",ȗ:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",ử:"u",ự:"u",ụ:"u",ṳ:"u",ų:"u",ṷ:"u",ṵ:"u",ʉ:"u","ⓥ":"v",v:"v",ṽ:"v",ṿ:"v",ʋ:"v","ꝟ":"v",ʌ:"v","ꝡ":"vy","ⓦ":"w",w:"w",ẁ:"w",ẃ:"w",ŵ:"w",ẇ:"w",ẅ:"w",ẘ:"w",ẉ:"w","ⱳ":"w","ⓧ":"x",x:"x",ẋ:"x",ẍ:"x","ⓨ":"y",y:"y",ỳ:"y",ý:"y",ŷ:"y",ỹ:"y",ȳ:"y",ẏ:"y",ÿ:"y",ỷ:"y",ẙ:"y",ỵ:"y",ƴ:"y","ɏ":"y","ỿ":"y","ⓩ":"z",z:"z",ź:"z",ẑ:"z",ż:"z",ž:"z",ẓ:"z",ẕ:"z",ƶ:"z",ȥ:"z","ɀ":"z","ⱬ":"z","ꝣ":"z",Ά:"Α",Έ:"Ε",Ή:"Η",Ί:"Ι",Ϊ:"Ι",Ό:"Ο",Ύ:"Υ",Ϋ:"Υ",Ώ:"Ω",ά:"α",έ:"ε",ή:"η",ί:"ι",ϊ:"ι",ΐ:"ι",ό:"ο",ύ:"υ",ϋ:"υ",ΰ:"υ",ώ:"ω",ς:"σ","’":"'"};return l}),r.define("select2/data/base",["../utils"],function(l){function d(c,a){d.__super__.constructor.call(this)}return l.Extend(d,l.Observable),d.prototype.current=function(c){throw new Error("The `current` method must be defined in child classes.")},d.prototype.query=function(c,a){throw new Error("The `query` method must be defined in child classes.")},d.prototype.bind=function(c,a){},d.prototype.destroy=function(){},d.prototype.generateResultId=function(c,a){var o=c.id+"-result-";return o+=l.generateChars(4),a.id!=null?o+="-"+a.id.toString():o+="-"+l.generateChars(4),o},d}),r.define("select2/data/select",["./base","../utils","jquery"],function(l,d,c){function a(o,s){this.$element=o,this.options=s,a.__super__.constructor.call(this)}return d.Extend(a,l),a.prototype.current=function(o){var s=this,u=Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(h){return s.item(c(h))});o(u)},a.prototype.select=function(o){var s=this;if(o.selected=!0,o.element!=null&&o.element.tagName.toLowerCase()==="option"){o.element.selected=!0,this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple"))this.current(function(h){var f=[];o=[o],o.push.apply(o,h);for(var p=0;p<o.length;p++){var g=o[p].id;f.indexOf(g)===-1&&f.push(g)}s.$element.val(f),s.$element.trigger("input").trigger("change")});else{var u=o.id;this.$element.val(u),this.$element.trigger("input").trigger("change")}},a.prototype.unselect=function(o){var s=this;if(this.$element.prop("multiple")){if(o.selected=!1,o.element!=null&&o.element.tagName.toLowerCase()==="option"){o.element.selected=!1,this.$element.trigger("input").trigger("change");return}this.current(function(u){for(var h=[],f=0;f<u.length;f++){var p=u[f].id;p!==o.id&&h.indexOf(p)===-1&&h.push(p)}s.$element.val(h),s.$element.trigger("input").trigger("change")})}},a.prototype.bind=function(o,s){var u=this;this.container=o,o.on("select",function(h){u.select(h.data)}),o.on("unselect",function(h){u.unselect(h.data)})},a.prototype.destroy=function(){this.$element.find("*").each(function(){d.RemoveData(this)})},a.prototype.query=function(o,s){var u=[],h=this,f=this.$element.children();f.each(function(){if(!(this.tagName.toLowerCase()!=="option"&&this.tagName.toLowerCase()!=="optgroup")){var p=c(this),g=h.item(p),v=h.matches(o,g);v!==null&&u.push(v)}}),s({results:u})},a.prototype.addOptions=function(o){this.$element.append(o)},a.prototype.option=function(o){var s;o.children?(s=document.createElement("optgroup"),s.label=o.text):(s=document.createElement("option"),s.textContent!==void 0?s.textContent=o.text:s.innerText=o.text),o.id!==void 0&&(s.value=o.id),o.disabled&&(s.disabled=!0),o.selected&&(s.selected=!0),o.title&&(s.title=o.title);var u=this._normalizeItem(o);return u.element=s,d.StoreData(s,"data",u),c(s)},a.prototype.item=function(o){var s={};if(s=d.GetData(o[0],"data"),s!=null)return s;var u=o[0];if(u.tagName.toLowerCase()==="option")s={id:o.val(),text:o.text(),disabled:o.prop("disabled"),selected:o.prop("selected"),title:o.prop("title")};else if(u.tagName.toLowerCase()==="optgroup"){s={text:o.prop("label"),children:[],title:o.prop("title")};for(var h=o.children("option"),f=[],p=0;p<h.length;p++){var g=c(h[p]),v=this.item(g);f.push(v)}s.children=f}return s=this._normalizeItem(s),s.element=o[0],d.StoreData(o[0],"data",s),s},a.prototype._normalizeItem=function(o){o!==Object(o)&&(o={id:o,text:o}),o=c.extend({},{text:""},o);var s={selected:!1,disabled:!1};return o.id!=null&&(o.id=o.id.toString()),o.text!=null&&(o.text=o.text.toString()),o._resultId==null&&o.id&&this.container!=null&&(o._resultId=this.generateResultId(this.container,o)),c.extend({},s,o)},a.prototype.matches=function(o,s){var u=this.options.get("matcher");return u(o,s)},a}),r.define("select2/data/array",["./select","../utils","jquery"],function(l,d,c){function a(o,s){this._dataToConvert=s.get("data")||[],a.__super__.constructor.call(this,o,s)}return d.Extend(a,l),a.prototype.bind=function(o,s){a.__super__.bind.call(this,o,s),this.addOptions(this.convertToOptions(this._dataToConvert))},a.prototype.select=function(o){var s=this.$element.find("option").filter(function(u,h){return h.value==o.id.toString()});s.length===0&&(s=this.option(o),this.addOptions(s)),a.__super__.select.call(this,o)},a.prototype.convertToOptions=function(o){var s=this,u=this.$element.find("option"),h=u.map(function(){return s.item(c(this)).id}).get(),f=[];function p(L){return function(){return c(this).val()==L.id}}for(var g=0;g<o.length;g++){var v=this._normalizeItem(o[g]);if(h.indexOf(v.id)>=0){var b=u.filter(p(v)),m=this.item(b),y=c.extend(!0,{},v,m),_=this.option(y);b.replaceWith(_);continue}var w=this.option(v);if(v.children){var A=this.convertToOptions(v.children);w.append(A)}f.push(w)}return f},a}),r.define("select2/data/ajax",["./array","../utils","jquery"],function(l,d,c){function a(o,s){this.ajaxOptions=this._applyDefaults(s.get("ajax")),this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults),a.__super__.constructor.call(this,o,s)}return d.Extend(a,l),a.prototype._applyDefaults=function(o){var s={data:function(u){return c.extend({},u,{q:u.term})},transport:function(u,h,f){var p=c.ajax(u);return p.then(h),p.fail(f),p}};return c.extend({},s,o,!0)},a.prototype.processResults=function(o){return o},a.prototype.query=function(o,s){var u=this;this._request!=null&&(typeof this._request.abort=="function"&&this._request.abort(),this._request=null);var h=c.extend({type:"GET"},this.ajaxOptions);typeof h.url=="function"&&(h.url=h.url.call(this.$element,o)),typeof h.data=="function"&&(h.data=h.data.call(this.$element,o));function f(){var p=h.transport(h,function(g){var v=u.processResults(g,o);u.options.get("debug")&&window.console&&console.error&&(!v||!v.results||!Array.isArray(v.results))&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),s(v)},function(){"status"in p&&(p.status===0||p.status==="0")||u.trigger("results:message",{message:"errorLoading"})});u._request=p}this.ajaxOptions.delay&&o.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(f,this.ajaxOptions.delay)):f()},a}),r.define("select2/data/tags",["jquery"],function(l){function d(c,a,o){var s=o.get("tags"),u=o.get("createTag");u!==void 0&&(this.createTag=u);var h=o.get("insertTag");if(h!==void 0&&(this.insertTag=h),c.call(this,a,o),Array.isArray(s))for(var f=0;f<s.length;f++){var p=s[f],g=this._normalizeItem(p),v=this.option(g);this.$element.append(v)}}return d.prototype.query=function(c,a,o){var s=this;if(this._removeOldTags(),a.term==null||a.page!=null){c.call(this,a,o);return}function u(h,f){for(var p=h.results,g=0;g<p.length;g++){var v=p[g],b=v.children!=null&&!u({results:v.children},!0),m=(v.text||"").toUpperCase(),y=(a.term||"").toUpperCase(),_=m===y;if(_||b){if(f)return!1;h.data=p,o(h);return}}if(f)return!0;var w=s.createTag(a);if(w!=null){var A=s.option(w);A.attr("data-select2-tag","true"),s.addOptions([A]),s.insertTag(p,w)}h.results=p,o(h)}c.call(this,a,u)},d.prototype.createTag=function(c,a){if(a.term==null)return null;var o=a.term.trim();return o===""?null:{id:o,text:o}},d.prototype.insertTag=function(c,a,o){a.unshift(o)},d.prototype._removeOldTags=function(c){var a=this.$element.find("option[data-select2-tag]");a.each(function(){this.selected||l(this).remove()})},d}),r.define("select2/data/tokenizer",["jquery"],function(l){function d(c,a,o){var s=o.get("tokenizer");s!==void 0&&(this.tokenizer=s),c.call(this,a,o)}return d.prototype.bind=function(c,a,o){c.call(this,a,o),this.$search=a.dropdown.$search||a.selection.$search||o.find(".select2-search__field")},d.prototype.query=function(c,a,o){var s=this;function u(p){var g=s._normalizeItem(p),v=s.$element.find("option").filter(function(){return l(this).val()===g.id});if(!v.length){var b=s.option(g);b.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([b])}h(g)}function h(p){s.trigger("select",{data:p})}a.term=a.term||"";var f=this.tokenizer(a,this.options,u);f.term!==a.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.trigger("focus")),a.term=f.term),c.call(this,a,o)},d.prototype.tokenizer=function(c,a,o,s){for(var u=o.get("tokenSeparators")||[],h=a.term,f=0,p=this.createTag||function(y){return{id:y.term,text:y.term}};f<h.length;){var g=h[f];if(u.indexOf(g)===-1){f++;continue}var v=h.substr(0,f),b=l.extend({},a,{term:v}),m=p(b);if(m==null){f++;continue}s(m),h=h.substr(f+1)||"",f=0}return{term:h}},d}),r.define("select2/data/minimumInputLength",[],function(){function l(d,c,a){this.minimumInputLength=a.get("minimumInputLength"),d.call(this,c,a)}return l.prototype.query=function(d,c,a){if(c.term=c.term||"",c.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:c.term,params:c}});return}d.call(this,c,a)},l}),r.define("select2/data/maximumInputLength",[],function(){function l(d,c,a){this.maximumInputLength=a.get("maximumInputLength"),d.call(this,c,a)}return l.prototype.query=function(d,c,a){if(c.term=c.term||"",this.maximumInputLength>0&&c.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:c.term,params:c}});return}d.call(this,c,a)},l}),r.define("select2/data/maximumSelectionLength",[],function(){function l(d,c,a){this.maximumSelectionLength=a.get("maximumSelectionLength"),d.call(this,c,a)}return l.prototype.bind=function(d,c,a){var o=this;d.call(this,c,a),c.on("select",function(){o._checkIfMaximumSelected()})},l.prototype.query=function(d,c,a){var o=this;this._checkIfMaximumSelected(function(){d.call(o,c,a)})},l.prototype._checkIfMaximumSelected=function(d,c){var a=this;this.current(function(o){var s=o!=null?o.length:0;if(a.maximumSelectionLength>0&&s>=a.maximumSelectionLength){a.trigger("results:message",{message:"maximumSelected",args:{maximum:a.maximumSelectionLength}});return}c&&c()})},l}),r.define("select2/dropdown",["jquery","./utils"],function(l,d){function c(a,o){this.$element=a,this.options=o,c.__super__.constructor.call(this)}return d.Extend(c,d.Observable),c.prototype.render=function(){var a=l('<span class="select2-dropdown"><span class="select2-results"></span></span>');return a.attr("dir",this.options.get("dir")),this.$dropdown=a,a},c.prototype.bind=function(){},c.prototype.position=function(a,o){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),r.define("select2/dropdown/search",["jquery"],function(l){function d(){}return d.prototype.render=function(c){var a=c.call(this),o=this.options.get("translations").get("search"),s=l('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=s,this.$search=s.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",o()),a.prepend(s),a},d.prototype.bind=function(c,a,o){var s=this,u=a.id+"-results";c.call(this,a,o),this.$search.on("keydown",function(h){s.trigger("keypress",h),s._keyUpPrevented=h.isDefaultPrevented()}),this.$search.on("input",function(h){l(this).off("keyup")}),this.$search.on("keyup input",function(h){s.handleSearch(h)}),a.on("open",function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",u),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),a.on("close",function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),a.on("focus",function(){a.isOpen()||s.$search.trigger("focus")}),a.on("results:all",function(h){if(h.query.term==null||h.query.term===""){var f=s.showSearch(h);f?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide")}}),a.on("results:focus",function(h){h.data._resultId?s.$search.attr("aria-activedescendant",h.data._resultId):s.$search.removeAttr("aria-activedescendant")})},d.prototype.handleSearch=function(c){if(!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.showSearch=function(c,a){return!0},d}),r.define("select2/dropdown/hidePlaceholder",[],function(){function l(d,c,a,o){this.placeholder=this.normalizePlaceholder(a.get("placeholder")),d.call(this,c,a,o)}return l.prototype.append=function(d,c){c.results=this.removePlaceholder(c.results),d.call(this,c)},l.prototype.normalizePlaceholder=function(d,c){return typeof c=="string"&&(c={id:"",text:c}),c},l.prototype.removePlaceholder=function(d,c){for(var a=c.slice(0),o=c.length-1;o>=0;o--){var s=c[o];this.placeholder.id===s.id&&a.splice(o,1)}return a},l}),r.define("select2/dropdown/infiniteScroll",["jquery"],function(l){function d(c,a,o,s){this.lastParams={},c.call(this,a,o,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return d.prototype.append=function(c,a){this.$loadingMore.remove(),this.loading=!1,c.call(this,a),this.showLoadingMore(a)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},d.prototype.bind=function(c,a,o){var s=this;c.call(this,a,o),a.on("query",function(u){s.lastParams=u,s.loading=!0}),a.on("query:append",function(u){s.lastParams=u,s.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},d.prototype.loadMoreIfNeeded=function(){var c=l.contains(document.documentElement,this.$loadingMore[0]);if(!(this.loading||!c)){var a=this.$results.offset().top+this.$results.outerHeight(!1),o=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1);a+50>=o&&this.loadMore()}},d.prototype.loadMore=function(){this.loading=!0;var c=l.extend({},{page:1},this.lastParams);c.page++,this.trigger("query:append",c)},d.prototype.showLoadingMore=function(c,a){return a.pagination&&a.pagination.more},d.prototype.createLoadingMore=function(){var c=l('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),a=this.options.get("translations").get("loadingMore");return c.html(a(this.lastParams)),c},d}),r.define("select2/dropdown/attachBody",["jquery","../utils"],function(l,d){function c(a,o,s){this.$dropdownParent=l(s.get("dropdownParent")||document.body),a.call(this,o,s)}return c.prototype.bind=function(a,o,s){var u=this;a.call(this,o,s),o.on("open",function(){u._showDropdown(),u._attachPositioningHandler(o),u._bindContainerResultHandlers(o)}),o.on("close",function(){u._hideDropdown(),u._detachPositioningHandler(o)}),this.$dropdownContainer.on("mousedown",function(h){h.stopPropagation()})},c.prototype.destroy=function(a){a.call(this),this.$dropdownContainer.remove()},c.prototype.position=function(a,o,s){o.attr("class",s.attr("class")),o[0].classList.remove("select2"),o[0].classList.add("select2-container--open"),o.css({position:"absolute",top:-999999}),this.$container=s},c.prototype.render=function(a){var o=l("<span></span>"),s=a.call(this);return o.append(s),this.$dropdownContainer=o,o},c.prototype._hideDropdown=function(a){this.$dropdownContainer.detach()},c.prototype._bindContainerResultHandlers=function(a,o){if(!this._containerResultsHandlersBound){var s=this;o.on("results:all",function(){s._positionDropdown(),s._resizeDropdown()}),o.on("results:append",function(){s._positionDropdown(),s._resizeDropdown()}),o.on("results:message",function(){s._positionDropdown(),s._resizeDropdown()}),o.on("select",function(){s._positionDropdown(),s._resizeDropdown()}),o.on("unselect",function(){s._positionDropdown(),s._resizeDropdown()}),this._containerResultsHandlersBound=!0}},c.prototype._attachPositioningHandler=function(a,o){var s=this,u="scroll.select2."+o.id,h="resize.select2."+o.id,f="orientationchange.select2."+o.id,p=this.$container.parents().filter(d.hasScroll);p.each(function(){d.StoreData(this,"select2-scroll-position",{x:l(this).scrollLeft(),y:l(this).scrollTop()})}),p.on(u,function(g){var v=d.GetData(this,"select2-scroll-position");l(this).scrollTop(v.y)}),l(window).on(u+" "+h+" "+f,function(g){s._positionDropdown(),s._resizeDropdown()})},c.prototype._detachPositioningHandler=function(a,o){var s="scroll.select2."+o.id,u="resize.select2."+o.id,h="orientationchange.select2."+o.id,f=this.$container.parents().filter(d.hasScroll);f.off(s),l(window).off(s+" "+u+" "+h)},c.prototype._positionDropdown=function(){var a=l(window),o=this.$dropdown[0].classList.contains("select2-dropdown--above"),s=this.$dropdown[0].classList.contains("select2-dropdown--below"),u=null,h=this.$container.offset();h.bottom=h.top+this.$container.outerHeight(!1);var f={height:this.$container.outerHeight(!1)};f.top=h.top,f.bottom=h.top+f.height;var p={height:this.$dropdown.outerHeight(!1)},g={top:a.scrollTop(),bottom:a.scrollTop()+a.height()},v=g.top<h.top-p.height,b=g.bottom>h.bottom+p.height,m={left:h.left,top:f.bottom},y=this.$dropdownParent;y.css("position")==="static"&&(y=y.offsetParent());var _={top:0,left:0};(l.contains(document.body,y[0])||y[0].isConnected)&&(_=y.offset()),m.top-=_.top,m.left-=_.left,!o&&!s&&(u="below"),!b&&v&&!o?u="above":!v&&b&&o&&(u="below"),(u=="above"||o&&u!=="below")&&(m.top=f.top-_.top-p.height),u!=null&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+u),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+u)),this.$dropdownContainer.css(m)},c.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),r.define("select2/dropdown/minimumResultsForSearch",[],function(){function l(c){for(var a=0,o=0;o<c.length;o++){var s=c[o];s.children?a+=l(s.children):a++}return a}function d(c,a,o,s){this.minimumResultsForSearch=o.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),c.call(this,a,o,s)}return d.prototype.showSearch=function(c,a){return l(a.data.results)<this.minimumResultsForSearch?!1:c.call(this,a)},d}),r.define("select2/dropdown/selectOnClose",["../utils"],function(l){function d(){}return d.prototype.bind=function(c,a,o){var s=this;c.call(this,a,o),a.on("close",function(u){s._handleSelectOnClose(u)})},d.prototype._handleSelectOnClose=function(c,a){if(a&&a.originalSelect2Event!=null){var o=a.originalSelect2Event;if(o._type==="select"||o._type==="unselect")return}var s=this.getHighlightedResults();if(!(s.length<1)){var u=l.GetData(s[0],"data");u.element!=null&&u.element.selected||u.element==null&&u.selected||this.trigger("select",{data:u})}},d}),r.define("select2/dropdown/closeOnSelect",[],function(){function l(){}return l.prototype.bind=function(d,c,a){var o=this;d.call(this,c,a),c.on("select",function(s){o._selectTriggered(s)}),c.on("unselect",function(s){o._selectTriggered(s)})},l.prototype._selectTriggered=function(d,c){var a=c.originalEvent;a&&(a.ctrlKey||a.metaKey)||this.trigger("close",{originalEvent:a,originalSelect2Event:c})},l}),r.define("select2/dropdown/dropdownCss",["../utils"],function(l){function d(){}return d.prototype.render=function(c){var a=c.call(this),o=this.options.get("dropdownCssClass")||"";return o.indexOf(":all:")!==-1&&(o=o.replace(":all:",""),l.copyNonInternalCssClasses(a[0],this.$element[0])),a.addClass(o),a},d}),r.define("select2/dropdown/tagsSearchHighlight",["../utils"],function(l){function d(){}return d.prototype.highlightFirstItem=function(c){var a=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(a.length>0){var o=a.first(),s=l.GetData(o[0],"data"),u=s.element;if(u&&u.getAttribute&&u.getAttribute("data-select2-tag")==="true"){o.trigger("mouseenter");return}}c.call(this)},d}),r.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(l){var d=l.input.length-l.maximum,c="Please delete "+d+" character";return d!=1&&(c+="s"),c},inputTooShort:function(l){var d=l.minimum-l.input.length,c="Please enter "+d+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(l){var d="You can only select "+l.maximum+" item";return l.maximum!=1&&(d+="s"),d},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}}),r.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],function(l,d,c,a,o,s,u,h,f,p,g,v,b,m,y,_,w,A,L,B,z,N,D,P,S,H,V,M,j,F,X){function K(){this.reset()}K.prototype.apply=function(R){if(R=l.extend(!0,{},this.defaults,R),R.dataAdapter==null&&(R.ajax!=null?R.dataAdapter=y:R.data!=null?R.dataAdapter=m:R.dataAdapter=b,R.minimumInputLength>0&&(R.dataAdapter=p.Decorate(R.dataAdapter,A)),R.maximumInputLength>0&&(R.dataAdapter=p.Decorate(R.dataAdapter,L)),R.maximumSelectionLength>0&&(R.dataAdapter=p.Decorate(R.dataAdapter,B)),R.tags&&(R.dataAdapter=p.Decorate(R.dataAdapter,_)),(R.tokenSeparators!=null||R.tokenizer!=null)&&(R.dataAdapter=p.Decorate(R.dataAdapter,w))),R.resultsAdapter==null&&(R.resultsAdapter=d,R.ajax!=null&&(R.resultsAdapter=p.Decorate(R.resultsAdapter,P)),R.placeholder!=null&&(R.resultsAdapter=p.Decorate(R.resultsAdapter,D)),R.selectOnClose&&(R.resultsAdapter=p.Decorate(R.resultsAdapter,V)),R.tags&&(R.resultsAdapter=p.Decorate(R.resultsAdapter,F))),R.dropdownAdapter==null){if(R.multiple)R.dropdownAdapter=z;else{var se=p.Decorate(z,N);R.dropdownAdapter=se}R.minimumResultsForSearch!==0&&(R.dropdownAdapter=p.Decorate(R.dropdownAdapter,H)),R.closeOnSelect&&(R.dropdownAdapter=p.Decorate(R.dropdownAdapter,M)),R.dropdownCssClass!=null&&(R.dropdownAdapter=p.Decorate(R.dropdownAdapter,j)),R.dropdownAdapter=p.Decorate(R.dropdownAdapter,S)}R.selectionAdapter==null&&(R.multiple?R.selectionAdapter=a:R.selectionAdapter=c,R.placeholder!=null&&(R.selectionAdapter=p.Decorate(R.selectionAdapter,o)),R.allowClear&&(R.selectionAdapter=p.Decorate(R.selectionAdapter,s)),R.multiple&&(R.selectionAdapter=p.Decorate(R.selectionAdapter,u)),R.selectionCssClass!=null&&(R.selectionAdapter=p.Decorate(R.selectionAdapter,h)),R.selectionAdapter=p.Decorate(R.selectionAdapter,f)),R.language=this._resolveLanguage(R.language),R.language.push("en");for(var I=[],x=0;x<R.language.length;x++){var G=R.language[x];I.indexOf(G)===-1&&I.push(G)}return R.language=I,R.translations=this._processTranslations(R.language,R.debug),R},K.prototype.reset=function(){function R(I){function x(G){return v[G]||G}return I.replace(/[^\u0000-\u007E]/g,x)}function se(I,x){if(I.term==null||I.term.trim()==="")return x;if(x.children&&x.children.length>0){for(var G=l.extend(!0,{},x),q=x.children.length-1;q>=0;q--){var re=x.children[q],le=se(I,re);le==null&&G.children.splice(q,1)}return G.children.length>0?G:se(I,G)}var he=R(x.text).toUpperCase(),ee=R(I.term).toUpperCase();return he.indexOf(ee)>-1?x:null}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:p.escapeMarkup,language:{},matcher:se,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(I){return I},templateResult:function(I){return I.text},templateSelection:function(I){return I.text},theme:"default",width:"resolve"}},K.prototype.applyFromElement=function(R,se){var I=R.language,x=this.defaults.language,G=se.prop("lang"),q=se.closest("[lang]").prop("lang"),re=Array.prototype.concat.call(this._resolveLanguage(G),this._resolveLanguage(I),this._resolveLanguage(x),this._resolveLanguage(q));return R.language=re,R},K.prototype._resolveLanguage=function(R){if(!R)return[];if(l.isEmptyObject(R))return[];if(l.isPlainObject(R))return[R];var se;Array.isArray(R)?se=R:se=[R];for(var I=[],x=0;x<se.length;x++)if(I.push(se[x]),typeof se[x]=="string"&&se[x].indexOf("-")>0){var G=se[x].split("-"),q=G[0];I.push(q)}return I},K.prototype._processTranslations=function(R,se){for(var I=new g,x=0;x<R.length;x++){var G=new g,q=R[x];if(typeof q=="string")try{G=g.loadPath(q)}catch{try{q=this.defaults.amdLanguageBase+q,G=g.loadPath(q)}catch{se&&window.console&&console.warn&&console.warn('Select2: The language file for "'+q+'" could not be automatically loaded. A fallback will be used instead.')}}else l.isPlainObject(q)?G=new g(q):G=q;I.extend(G)}return I},K.prototype.set=function(R,se){var I=l.camelCase(R),x={};x[I]=se;var G=p._convertData(x);l.extend(!0,this.defaults,G)};var te=new K;return te}),r.define("select2/options",["jquery","./defaults","./utils"],function(l,d,c){function a(o,s){this.options=o,s!=null&&this.fromElement(s),s!=null&&(this.options=d.applyFromElement(this.options,s)),this.options=d.apply(this.options)}return a.prototype.fromElement=function(o){var s=["select2"];this.options.multiple==null&&(this.options.multiple=o.prop("multiple")),this.options.disabled==null&&(this.options.disabled=o.prop("disabled")),this.options.autocomplete==null&&o.prop("autocomplete")&&(this.options.autocomplete=o.prop("autocomplete")),this.options.dir==null&&(o.prop("dir")?this.options.dir=o.prop("dir"):o.closest("[dir]").prop("dir")?this.options.dir=o.closest("[dir]").prop("dir"):this.options.dir="ltr"),o.prop("disabled",this.options.disabled),o.prop("multiple",this.options.multiple),c.GetData(o[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),c.StoreData(o[0],"data",c.GetData(o[0],"select2Tags")),c.StoreData(o[0],"tags",!0)),c.GetData(o[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),o.attr("ajax--url",c.GetData(o[0],"ajaxUrl")),c.StoreData(o[0],"ajax-Url",c.GetData(o[0],"ajaxUrl")));var u={};function h(w,A){return A.toUpperCase()}for(var f=0;f<o[0].attributes.length;f++){var p=o[0].attributes[f].name,g="data-";if(p.substr(0,g.length)==g){var v=p.substring(g.length),b=c.GetData(o[0],v),m=v.replace(/-([a-z])/g,h);u[m]=b}}l.fn.jquery&&l.fn.jquery.substr(0,2)=="1."&&o[0].dataset&&(u=l.extend(!0,{},o[0].dataset,u));var y=l.extend(!0,{},c.GetData(o[0]),u);y=c._convertData(y);for(var _ in y)s.indexOf(_)>-1||(l.isPlainObject(this.options[_])?l.extend(this.options[_],y[_]):this.options[_]=y[_]);return this},a.prototype.get=function(o){return this.options[o]},a.prototype.set=function(o,s){this.options[o]=s},a}),r.define("select2/core",["jquery","./options","./utils","./keys"],function(l,d,c,a){var o=function(s,u){c.GetData(s[0],"select2")!=null&&c.GetData(s[0],"select2").destroy(),this.$element=s,this.id=this._generateId(s),u=u||{},this.options=new d(u,s),o.__super__.constructor.call(this);var h=s.attr("tabindex")||0;c.StoreData(s[0],"old-tabindex",h),s.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(s,this.options);var p=this.render();this._placeContainer(p);var g=this.options.get("selectionAdapter");this.selection=new g(s,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,p);var v=this.options.get("dropdownAdapter");this.dropdown=new v(s,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,p);var b=this.options.get("resultsAdapter");this.results=new b(s,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var m=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(y){m.trigger("selection:update",{data:y})}),s[0].classList.add("select2-hidden-accessible"),s.attr("aria-hidden","true"),this._syncAttributes(),c.StoreData(s[0],"select2",this),s.data("select2",this)};return c.Extend(o,c.Observable),o.prototype._generateId=function(s){var u="";return s.attr("id")!=null?u=s.attr("id"):s.attr("name")!=null?u=s.attr("name")+"-"+c.generateChars(2):u=c.generateChars(4),u=u.replace(/(:|\.|\[|\]|,)/g,""),u="select2-"+u,u},o.prototype._placeContainer=function(s){s.insertAfter(this.$element);var u=this._resolveWidth(this.$element,this.options.get("width"));u!=null&&s.css("width",u)},o.prototype._resolveWidth=function(s,u){var h=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(u=="resolve"){var f=this._resolveWidth(s,"style");return f??this._resolveWidth(s,"element")}if(u=="element"){var p=s.outerWidth(!1);return p<=0?"auto":p+"px"}if(u=="style"){var g=s.attr("style");if(typeof g!="string")return null;for(var v=g.split(";"),b=0,m=v.length;b<m;b=b+1){var y=v[b].replace(/\s/g,""),_=y.match(h);if(_!==null&&_.length>=1)return _[1]}return null}if(u=="computedstyle"){var w=window.getComputedStyle(s[0]);return w.width}return u},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var s=this;this.$element.on("change.select2",function(){s.dataAdapter.current(function(u){s.trigger("selection:update",{data:u})})}),this.$element.on("focus.select2",function(u){s.trigger("focus",u)}),this._syncA=c.bind(this._syncAttributes,this),this._syncS=c.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(u){s._syncA(),s._syncS(u)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},o.prototype._registerDataEvents=function(){var s=this;this.dataAdapter.on("*",function(u,h){s.trigger(u,h)})},o.prototype._registerSelectionEvents=function(){var s=this,u=["toggle","focus"];this.selection.on("toggle",function(){s.toggleDropdown()}),this.selection.on("focus",function(h){s.focus(h)}),this.selection.on("*",function(h,f){u.indexOf(h)===-1&&s.trigger(h,f)})},o.prototype._registerDropdownEvents=function(){var s=this;this.dropdown.on("*",function(u,h){s.trigger(u,h)})},o.prototype._registerResultsEvents=function(){var s=this;this.results.on("*",function(u,h){s.trigger(u,h)})},o.prototype._registerEvents=function(){var s=this;this.on("open",function(){s.$container[0].classList.add("select2-container--open")}),this.on("close",function(){s.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){s.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){s.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){s.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(u){s.isOpen()||s.trigger("open",{}),this.dataAdapter.query(u,function(h){s.trigger("results:all",{data:h,query:u})})}),this.on("query:append",function(u){this.dataAdapter.query(u,function(h){s.trigger("results:append",{data:h,query:u})})}),this.on("keypress",function(u){var h=u.which;s.isOpen()?h===a.ESC||h===a.UP&&u.altKey?(s.close(u),u.preventDefault()):h===a.ENTER||h===a.TAB?(s.trigger("results:select",{}),u.preventDefault()):h===a.SPACE&&u.ctrlKey?(s.trigger("results:toggle",{}),u.preventDefault()):h===a.UP?(s.trigger("results:previous",{}),u.preventDefault()):h===a.DOWN&&(s.trigger("results:next",{}),u.preventDefault()):(h===a.ENTER||h===a.SPACE||h===a.DOWN&&u.altKey)&&(s.open(),u.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(s){var u=this;if(s.addedNodes&&s.addedNodes.length>0)for(var h=0;h<s.addedNodes.length;h++){var f=s.addedNodes[h];if(f.selected)return!0}else{if(s.removedNodes&&s.removedNodes.length>0)return!0;if(Array.isArray(s))return s.some(function(p){return u._isChangeMutation(p)})}return!1},o.prototype._syncSubtree=function(s){var u=this._isChangeMutation(s),h=this;u&&this.dataAdapter.current(function(f){h.trigger("selection:update",{data:f})})},o.prototype.trigger=function(s,u){var h=o.__super__.trigger,f={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(u===void 0&&(u={}),s in f){var p=f[s],g={prevented:!1,name:s,args:u};if(h.call(this,p,g),g.prevented){u.prevented=!0;return}}h.call(this,s,u)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(s){this.isOpen()&&this.trigger("close",{originalEvent:s})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},o.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},o.prototype.focus=function(s){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(s){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(s==null||s.length===0)&&(s=[!0]);var u=!s[0];this.$element.prop("disabled",u)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var s=[];return this.dataAdapter.current(function(u){s=u}),s},o.prototype.val=function(s){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),s==null||s.length===0)return this.$element.val();var u=s[0];Array.isArray(u)&&(u=u.map(function(h){return h.toString()})),this.$element.val(u).trigger("input").trigger("change")},o.prototype.destroy=function(){c.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",c.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),c.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var s=l('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return s.attr("dir",this.options.get("dir")),this.$container=s,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),c.StoreData(s[0],"element",this.$element),s},o}),r.define("jquery-mousewheel",["jquery"],function(l){return l}),r.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(l,d,c,a,o){if(l.fn.select2==null){var s=["open","close","destroy"];l.fn.select2=function(u){if(u=u||{},typeof u=="object")return this.each(function(){var p=l.extend(!0,{},u);new c(l(this),p)}),this;if(typeof u=="string"){var h,f=Array.prototype.slice.call(arguments,1);return this.each(function(){var p=o.GetData(this,"select2");p==null&&window.console&&console.error&&console.error("The select2('"+u+"') method was called on an element that is not using Select2."),h=p[u].apply(p,f)}),s.indexOf(u)>-1?this:h}else throw new Error("Invalid arguments for Select2: "+u)}}return l.fn.select2.defaults==null&&(l.fn.select2.defaults=a),c}),{define:r.define,require:r.require}}(),n=i.require("jquery.select2");return t.fn.select2.amd=i,n})})(mn);var Xo=mn.exports;const Yo=Qi(Xo);window.select2=Yo;var vn={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
  26. * Prism: Lightweight, robust, elegant syntax highlighting
  27. *
  28. * @license MIT <https://opensource.org/licenses/MIT>
  29. * @author Lea Verou <https://lea.verou.me>
  30. * @namespace
  31. * @public
  32. */var i=function(n){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,d={},c={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function m(y){return y instanceof a?new a(y.type,m(y.content),y.alias):Array.isArray(y)?y.map(m):y.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(m){return Object.prototype.toString.call(m).slice(8,-1)},objId:function(m){return m.__id||Object.defineProperty(m,"__id",{value:++l}),m.__id},clone:function m(y,_){_=_||{};var w,A;switch(c.util.type(y)){case"Object":if(A=c.util.objId(y),_[A])return _[A];w={},_[A]=w;for(var L in y)y.hasOwnProperty(L)&&(w[L]=m(y[L],_));return w;case"Array":return A=c.util.objId(y),_[A]?_[A]:(w=[],_[A]=w,y.forEach(function(B,z){w[z]=m(B,_)}),w);default:return y}},getLanguage:function(m){for(;m;){var y=r.exec(m.className);if(y)return y[1].toLowerCase();m=m.parentElement}return"none"},setLanguage:function(m,y){m.className=m.className.replace(RegExp(r,"gi"),""),m.classList.add("language-"+y)},currentScript:function(){if(typeof document>"u")return null;if(document.currentScript&&document.currentScript.tagName==="SCRIPT"&&1<2)return document.currentScript;try{throw new Error}catch(w){var m=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(m){var y=document.getElementsByTagName("script");for(var _ in y)if(y[_].src==m)return y[_]}return null}},isActive:function(m,y,_){for(var w="no-"+y;m;){var A=m.classList;if(A.contains(y))return!0;if(A.contains(w))return!1;m=m.parentElement}return!!_}},languages:{plain:d,plaintext:d,text:d,txt:d,extend:function(m,y){var _=c.util.clone(c.languages[m]);for(var w in y)_[w]=y[w];return _},insertBefore:function(m,y,_,w){w=w||c.languages;var A=w[m],L={};for(var B in A)if(A.hasOwnProperty(B)){if(B==y)for(var z in _)_.hasOwnProperty(z)&&(L[z]=_[z]);_.hasOwnProperty(B)||(L[B]=A[B])}var N=w[m];return w[m]=L,c.languages.DFS(c.languages,function(D,P){P===N&&D!=m&&(this[D]=L)}),L},DFS:function m(y,_,w,A){A=A||{};var L=c.util.objId;for(var B in y)if(y.hasOwnProperty(B)){_.call(y,B,y[B],w||B);var z=y[B],N=c.util.type(z);N==="Object"&&!A[L(z)]?(A[L(z)]=!0,m(z,_,null,A)):N==="Array"&&!A[L(z)]&&(A[L(z)]=!0,m(z,_,B,A))}}},plugins:{},highlightAll:function(m,y){c.highlightAllUnder(document,m,y)},highlightAllUnder:function(m,y,_){var w={callback:_,container:m,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),c.hooks.run("before-all-elements-highlight",w);for(var A=0,L;L=w.elements[A++];)c.highlightElement(L,y===!0,w.callback)},highlightElement:function(m,y,_){var w=c.util.getLanguage(m),A=c.languages[w];c.util.setLanguage(m,w);var L=m.parentElement;L&&L.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(L,w);var B=m.textContent,z={element:m,language:w,grammar:A,code:B};function N(P){z.highlightedCode=P,c.hooks.run("before-insert",z),z.element.innerHTML=z.highlightedCode,c.hooks.run("after-highlight",z),c.hooks.run("complete",z),_&&_.call(z.element)}if(c.hooks.run("before-sanity-check",z),L=z.element.parentElement,L&&L.nodeName.toLowerCase()==="pre"&&!L.hasAttribute("tabindex")&&L.setAttribute("tabindex","0"),!z.code){c.hooks.run("complete",z),_&&_.call(z.element);return}if(c.hooks.run("before-highlight",z),!z.grammar){N(c.util.encode(z.code));return}if(y&&n.Worker){var D=new Worker(c.filename);D.onmessage=function(P){N(P.data)},D.postMessage(JSON.stringify({language:z.language,code:z.code,immediateClose:!0}))}else N(c.highlight(z.code,z.grammar,z.language))},highlight:function(m,y,_){var w={code:m,grammar:y,language:_};if(c.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=c.tokenize(w.code,w.grammar),c.hooks.run("after-tokenize",w),a.stringify(c.util.encode(w.tokens),w.language)},tokenize:function(m,y){var _=y.rest;if(_){for(var w in _)y[w]=_[w];delete y.rest}var A=new u;return h(A,A.head,m),s(m,A,y,A.head,0),p(A)},hooks:{all:{},add:function(m,y){var _=c.hooks.all;_[m]=_[m]||[],_[m].push(y)},run:function(m,y){var _=c.hooks.all[m];if(!(!_||!_.length))for(var w=0,A;A=_[w++];)A(y)}},Token:a};n.Prism=c;function a(m,y,_,w){this.type=m,this.content=y,this.alias=_,this.length=(w||"").length|0}a.stringify=function m(y,_){if(typeof y=="string")return y;if(Array.isArray(y)){var w="";return y.forEach(function(N){w+=m(N,_)}),w}var A={type:y.type,content:m(y.content,_),tag:"span",classes:["token",y.type],attributes:{},language:_},L=y.alias;L&&(Array.isArray(L)?Array.prototype.push.apply(A.classes,L):A.classes.push(L)),c.hooks.run("wrap",A);var B="";for(var z in A.attributes)B+=" "+z+'="'+(A.attributes[z]||"").replace(/"/g,"&quot;")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+B+">"+A.content+"</"+A.tag+">"};function o(m,y,_,w){m.lastIndex=y;var A=m.exec(_);if(A&&w&&A[1]){var L=A[1].length;A.index+=L,A[0]=A[0].slice(L)}return A}function s(m,y,_,w,A,L){for(var B in _)if(!(!_.hasOwnProperty(B)||!_[B])){var z=_[B];z=Array.isArray(z)?z:[z];for(var N=0;N<z.length;++N){if(L&&L.cause==B+","+N)return;var D=z[N],P=D.inside,S=!!D.lookbehind,H=!!D.greedy,V=D.alias;if(H&&!D.pattern.global){var M=D.pattern.toString().match(/[imsuy]*$/)[0];D.pattern=RegExp(D.pattern.source,M+"g")}for(var j=D.pattern||D,F=w.next,X=A;F!==y.tail&&!(L&&X>=L.reach);X+=F.value.length,F=F.next){var K=F.value;if(y.length>m.length)return;if(!(K instanceof a)){var te=1,R;if(H){if(R=o(j,X,m,S),!R||R.index>=m.length)break;var G=R.index,se=R.index+R[0].length,I=X;for(I+=F.value.length;G>=I;)F=F.next,I+=F.value.length;if(I-=F.value.length,X=I,F.value instanceof a)continue;for(var x=F;x!==y.tail&&(I<se||typeof x.value=="string");x=x.next)te++,I+=x.value.length;te--,K=m.slice(X,I),R.index-=X}else if(R=o(j,0,K,S),!R)continue;var G=R.index,q=R[0],re=K.slice(0,G),le=K.slice(G+q.length),he=X+K.length;L&&he>L.reach&&(L.reach=he);var ee=F.prev;re&&(ee=h(y,ee,re),X+=re.length),f(y,ee,te);var me=new a(B,P?c.tokenize(q,P):q,V,q);if(F=h(y,ee,me),le&&h(y,F,le),te>1){var Ee={cause:B+","+N,reach:he};s(m,y,_,F.prev,X,Ee),L&&Ee.reach>L.reach&&(L.reach=Ee.reach)}}}}}}function u(){var m={value:null,prev:null,next:null},y={value:null,prev:m,next:null};m.next=y,this.head=m,this.tail=y,this.length=0}function h(m,y,_){var w=y.next,A={value:_,prev:y,next:w};return y.next=A,w.prev=A,m.length++,A}function f(m,y,_){for(var w=y.next,A=0;A<_&&w!==m.tail;A++)w=w.next;y.next=w,w.prev=y,m.length-=A}function p(m){for(var y=[],_=m.head.next;_!==m.tail;)y.push(_.value),_=_.next;return y}if(!n.document)return n.addEventListener&&(c.disableWorkerMessageHandler||n.addEventListener("message",function(m){var y=JSON.parse(m.data),_=y.language,w=y.code,A=y.immediateClose;n.postMessage(c.highlight(w,c.languages[_],_)),A&&n.close()},!1)),c;var g=c.util.currentScript();g&&(c.filename=g.src,g.hasAttribute("data-manual")&&(c.manual=!0));function v(){c.manual||c.highlightAll()}if(!c.manual){var b=document.readyState;b==="loading"||b==="interactive"&&g&&g.defer?document.addEventListener("DOMContentLoaded",v):window.requestAnimationFrame?window.requestAnimationFrame(v):window.setTimeout(v,16)}return c}(t);e.exports&&(e.exports=i),typeof ui<"u"&&(ui.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(r,l){var d={};d["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[l]},d.cdata=/^<!\[CDATA\[|\]\]>$/i;var c={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}};c["language-"+l]={pattern:/[\s\S]+/,inside:i.languages[l]};var a={};a[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:c},i.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(n,r){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:i.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var l=n.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(typeof i>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading…",r=function(g,v){return"✖ Error "+g+" while fetching file: "+v},l="✖ Error: File does not exist or is empty",d={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},c="data-src-status",a="loading",o="loaded",s="failed",u="pre[data-src]:not(["+c+'="'+o+'"]):not(['+c+'="'+a+'"])';function h(g,v,b){var m=new XMLHttpRequest;m.open("GET",g,!0),m.onreadystatechange=function(){m.readyState==4&&(m.status<400&&m.responseText?v(m.responseText):m.status>=400?b(r(m.status,m.statusText)):b(l))},m.send(null)}function f(g){var v=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(g||"");if(v){var b=Number(v[1]),m=v[2],y=v[3];return m?y?[b,Number(y)]:[b,void 0]:[b,b]}}i.hooks.add("before-highlightall",function(g){g.selector+=", "+u}),i.hooks.add("before-sanity-check",function(g){var v=g.element;if(v.matches(u)){g.code="",v.setAttribute(c,a);var b=v.appendChild(document.createElement("CODE"));b.textContent=n;var m=v.getAttribute("data-src"),y=g.language;if(y==="none"){var _=(/\.(\w+)$/.exec(m)||[,"none"])[1];y=d[_]||_}i.util.setLanguage(b,y),i.util.setLanguage(v,y);var w=i.plugins.autoloader;w&&w.loadLanguages(y),h(m,function(A){v.setAttribute(c,o);var L=f(v.getAttribute("data-range"));if(L){var B=A.split(/\r\n?|\n/g),z=L[0],N=L[1]==null?B.length:L[1];z<0&&(z+=B.length),z=Math.max(0,Math.min(z-1,B.length)),N<0&&(N+=B.length),N=Math.max(0,Math.min(N,B.length)),A=B.slice(z,N).join(`
  33. `),v.hasAttribute("data-start")||v.setAttribute("data-start",String(z+1))}b.textContent=A,i.highlightElement(b)},function(A){v.setAttribute(c,s),b.textContent=A})}}),i.plugins.fileHighlight={highlight:function(v){for(var b=(v||document).querySelectorAll(u),m=0,y;y=b[m++];)i.highlightElement(y)}};var p=!1;i.fileHighlight=function(){p||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),p=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(vn);var Ko=vn.exports;const Jo=Qi(Ko);(function(e){function t(i,n){return"___"+i.toUpperCase()+n+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(i,n,r,l){if(i.language===n){var d=i.tokenStack=[];i.code=i.code.replace(r,function(c){if(typeof l=="function"&&!l(c))return c;for(var a=d.length,o;i.code.indexOf(o=t(n,a))!==-1;)++a;return d[a]=c,o}),i.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(i,n){if(i.language!==n||!i.tokenStack)return;i.grammar=e.languages[n];var r=0,l=Object.keys(i.tokenStack);function d(c){for(var a=0;a<c.length&&!(r>=l.length);a++){var o=c[a];if(typeof o=="string"||o.content&&typeof o.content=="string"){var s=l[r],u=i.tokenStack[s],h=typeof o=="string"?o:o.content,f=t(n,s),p=h.indexOf(f);if(p>-1){++r;var g=h.substring(0,p),v=new e.Token(n,e.tokenize(u,i.grammar),"language-"+n,u),b=h.substring(p+f.length),m=[];g&&m.push.apply(m,d([g])),m.push(v),b&&m.push.apply(m,d([b])),typeof o=="string"?c.splice.apply(c,[a,1].concat(m)):o.content=m}}else o.content&&d(o.content)}return c}d(i.tokens)}}})})(Prism);Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,i){var n={};n["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[i]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+i]={pattern:/[\s\S]+/,inside:Prism.languages[i]};var l={};l[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",l)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml;Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var i=e.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(Prism);(function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,r=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:r,punctuation:l};var d={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},c=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:d}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:d}}];e.languages.insertBefore("php","variable",{string:c,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:c,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:i,number:n,operator:r,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(a){if(/<\?/.test(a.code)){var o=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(a,"php",o)}}),e.hooks.add("after-tokenize",function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"php")})})(Prism);(function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var i="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+i+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+i),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+i),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,i=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+i+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+i+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+i+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+i+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/});Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}});Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}});Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/});delete Prism.languages.c.boolean;(function(e){function t(X,K){return X.replace(/<<(\d+)>>/g,function(te,R){return"(?:"+K[+R]+")"})}function i(X,K,te){return RegExp(t(X,K),te||"")}function n(X,K){for(var te=0;te<K;te++)X=X.replace(/<<self>>/g,function(){return"(?:"+X+")"});return X.replace(/<<self>>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function l(X){return"\\b(?:"+X.trim().replace(/ /g,"|")+")\\b"}var d=l(r.typeDeclaration),c=RegExp(l(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),a=l(r.typeDeclaration+" "+r.contextual+" "+r.other),o=l(r.type+" "+r.typeDeclaration+" "+r.other),s=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),u=n(/\((?:[^()]|<<self>>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[h,s]),p=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[a,f]),g=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[p,g]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[s,u,g]),m=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),y=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[m,p,g]),_={keyword:c,punctuation:/[<>()?,.:[\]]/},w=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,L=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0},{pattern:i(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[p]),lookbehind:!0,inside:_},{pattern:i(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,y]),lookbehind:!0,inside:_},{pattern:i(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:i(/(\b<<0>>\s+)<<1>>/.source,[d,f]),lookbehind:!0,inside:_},{pattern:i(/(\bcatch\s*\(\s*)<<0>>/.source,[p]),lookbehind:!0,inside:_},{pattern:i(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:i(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:_},{pattern:i(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[y,o,h]),inside:_}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:i(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:i(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:i(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[u]),lookbehind:!0,alias:"class-name",inside:_},"return-type":{pattern:i(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[y,p]),inside:_,alias:"class-name"},"constructor-invocation":{pattern:i(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[y]),lookbehind:!0,inside:_,alias:"class-name"},"generic-method":{pattern:i(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,s]),inside:{function:i(/^<<0>>/.source,[h]),generic:{pattern:RegExp(s),alias:"class-name",inside:_}}},"type-list":{pattern:i(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[d,f,h,y,c.source,u,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:i(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,u]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(y),greedy:!0,inside:_},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var B=A+"|"+w,z=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[B]),N=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[z]),2),D=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[p,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:i(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[D,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:i(/^<<0>>(?=\s*:)/.source,[D]),alias:"keyword"},"attribute-arguments":{pattern:i(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(p),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var S=/:[^}\r\n]+/.source,H=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[z]),2),V=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[H,S]),M=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[B]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,S]);function F(X,K){return{interpolation:{pattern:i(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[X]),lookbehind:!0,inside:{"format-string":{pattern:i(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[K,S]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:i(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[V]),lookbehind:!0,greedy:!0,inside:F(V,H)},{pattern:i(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:F(j,M)}],char:{pattern:RegExp(w),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp})(Prism);(function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,i=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return i})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(e){var t=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+i.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+i.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),l=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(c,a){a=(a||"").replace(/m/g,"")+"m";var o=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return c});return RegExp(o,a)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+l+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:d(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:d(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:d(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:d(l),lookbehind:!0,greedy:!0},number:{pattern:d(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:i,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],l=n.variable[1].inside,d=0;d<r.length;d++)l[r[d]]=e.languages.bash[r[d]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);window.Prism=Jo;