function ln(i){return typeof i<"u"&&i!=null}var Mr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_n={exports:{}};/*!
 * Knockout JavaScript library v3.5.1
 * (c) The Knockout.js team - http://knockoutjs.com/
 * License: MIT (http://www.opensource.org/licenses/mit-license.php)
 */(function(i,s){(function(){(function(o){var f=this||(0,eval)("this"),h=f.document,g=f.navigator,k=f.jQuery,D=f.JSON;k||typeof jQuery>"u"||(k=jQuery),function(L){L(i.exports||s)}(function(L,q){function oe(a,c){return a===null||typeof a in _?a===c:!1}function ie(a,c){var v;return function(){v||(v=t.a.setTimeout(function(){v=o,a()},c))}}function ae(a,c){var v;return function(){clearTimeout(v),v=t.a.setTimeout(a,c)}}function Z(a,c){c&&c!=="change"?c==="beforeChange"?this.pc(a):this.gb(a,c):this.qc(a)}function ne(a,c){c!==null&&c.s&&c.s()}function ee(a,c){var v=this.qd,m=v[se];m.ra||(this.Qb&&this.mb[c]?(v.uc(c,a,this.mb[c]),this.mb[c]=null,--this.Qb):m.I[c]||v.uc(c,a,m.J?{da:a}:v.$c(a)),a.Ja&&a.gd())}var t=typeof L<"u"?L:{};t.b=function(a,c){for(var v=a.split("."),m=t,T=0;T<v.length-1;T++)m=m[v[T]];m[v[v.length-1]]=c},t.L=function(a,c,v){a[c]=v},t.version="3.5.1",t.b("version",t.version),t.options={deferUpdates:!1,useOnlyNativeEvents:!1,foreachHidesDestroyed:!1},t.a=function(){function a(b,j){for(var O in b)T.call(b,O)&&j(O,b[O])}function c(b,j){if(j)for(var O in j)T.call(j,O)&&(b[O]=j[O]);return b}function v(b,j){return b.__proto__=j,b}function m(b,j,O,G){var J=b[j].match(I)||[];t.a.D(O.match(I),function(z){t.a.Na(J,z,G)}),b[j]=J.join(" ")}var T=Object.prototype.hasOwnProperty,E={__proto__:[]}instanceof Array,w=typeof Symbol=="function",M={},S={};M[g&&/Firefox\/2/i.test(g.userAgent)?"KeyboardEvent":"UIEvents"]=["keyup","keydown","keypress"],M.MouseEvents="click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave".split(" "),a(M,function(b,j){if(j.length)for(var O=0,G=j.length;O<G;O++)S[j[O]]=b});var x={propertychange:!0},P=h&&function(){for(var b=3,j=h.createElement("div"),O=j.getElementsByTagName("i");j.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]-->",O[0];);return 4<b?b:o}(),I=/\S+/g,$;return{Jc:["authenticity_token",/^__RequestVerificationToken(_.*)?$/],D:function(b,j,O){for(var G=0,J=b.length;G<J;G++)j.call(O,b[G],G,b)},A:typeof Array.prototype.indexOf=="function"?function(b,j){return Array.prototype.indexOf.call(b,j)}:function(b,j){for(var O=0,G=b.length;O<G;O++)if(b[O]===j)return O;return-1},Lb:function(b,j,O){for(var G=0,J=b.length;G<J;G++)if(j.call(O,b[G],G,b))return b[G];return o},Pa:function(b,j){var O=t.a.A(b,j);0<O?b.splice(O,1):O===0&&b.shift()},wc:function(b){var j=[];return b&&t.a.D(b,function(O){0>t.a.A(j,O)&&j.push(O)}),j},Mb:function(b,j,O){var G=[];if(b)for(var J=0,z=b.length;J<z;J++)G.push(j.call(O,b[J],J));return G},jb:function(b,j,O){var G=[];if(b)for(var J=0,z=b.length;J<z;J++)j.call(O,b[J],J)&&G.push(b[J]);return G},Nb:function(b,j){if(j instanceof Array)b.push.apply(b,j);else for(var O=0,G=j.length;O<G;O++)b.push(j[O]);return b},Na:function(b,j,O){var G=t.a.A(t.a.bc(b),j);0>G?O&&b.push(j):O||b.splice(G,1)},Ba:E,extend:c,setPrototypeOf:v,Ab:E?v:c,P:a,Ga:function(b,j,O){if(!b)return b;var G={},J;for(J in b)T.call(b,J)&&(G[J]=j.call(O,b[J],J,b));return G},Tb:function(b){for(;b.firstChild;)t.removeNode(b.firstChild)},Yb:function(b){b=t.a.la(b);for(var j=(b[0]&&b[0].ownerDocument||h).createElement("div"),O=0,G=b.length;O<G;O++)j.appendChild(t.oa(b[O]));return j},Ca:function(b,j){for(var O=0,G=b.length,J=[];O<G;O++){var z=b[O].cloneNode(!0);J.push(j?t.oa(z):z)}return J},va:function(b,j){if(t.a.Tb(b),j)for(var O=0,G=j.length;O<G;O++)b.appendChild(j[O])},Xc:function(b,j){var O=b.nodeType?[b]:b;if(0<O.length){for(var G=O[0],J=G.parentNode,z=0,U=j.length;z<U;z++)J.insertBefore(j[z],G);for(z=0,U=O.length;z<U;z++)t.removeNode(O[z])}},Ua:function(b,j){if(b.length){for(j=j.nodeType===8&&j.parentNode||j;b.length&&b[0].parentNode!==j;)b.splice(0,1);for(;1<b.length&&b[b.length-1].parentNode!==j;)b.length--;if(1<b.length){var O=b[0],G=b[b.length-1];for(b.length=0;O!==G;)b.push(O),O=O.nextSibling;b.push(G)}}return b},Zc:function(b,j){7>P?b.setAttribute("selected",j):b.selected=j},Db:function(b){return b===null||b===o?"":b.trim?b.trim():b.toString().replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},Ud:function(b,j){return b=b||"",j.length>b.length?!1:b.substring(0,j.length)===j},vd:function(b,j){if(b===j)return!0;if(b.nodeType===11)return!1;if(j.contains)return j.contains(b.nodeType!==1?b.parentNode:b);if(j.compareDocumentPosition)return(j.compareDocumentPosition(b)&16)==16;for(;b&&b!=j;)b=b.parentNode;return!!b},Sb:function(b){return t.a.vd(b,b.ownerDocument.documentElement)},kd:function(b){return!!t.a.Lb(b,t.a.Sb)},R:function(b){return b&&b.tagName&&b.tagName.toLowerCase()},Ac:function(b){return t.onError?function(){try{return b.apply(this,arguments)}catch(j){throw t.onError&&t.onError(j),j}}:b},setTimeout:function(b,j){return setTimeout(t.a.Ac(b),j)},Gc:function(b){setTimeout(function(){throw t.onError&&t.onError(b),b},0)},B:function(b,j,O){var G=t.a.Ac(O);if(O=x[j],t.options.useOnlyNativeEvents||O||!k)if(O||typeof b.addEventListener!="function")if(typeof b.attachEvent<"u"){var J=function(U){G.call(b,U)},z="on"+j;b.attachEvent(z,J),t.a.K.za(b,function(){b.detachEvent(z,J)})}else throw Error("Browser doesn't support addEventListener or attachEvent");else b.addEventListener(j,G,!1);else $||($=typeof k(b).on=="function"?"on":"bind"),k(b)[$](j,G)},Fb:function(b,j){if(!b||!b.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var O;if(t.a.R(b)==="input"&&b.type&&j.toLowerCase()=="click"?(O=b.type,O=O=="checkbox"||O=="radio"):O=!1,t.options.useOnlyNativeEvents||!k||O)if(typeof h.createEvent=="function")if(typeof b.dispatchEvent=="function")O=h.createEvent(S[j]||"HTMLEvents"),O.initEvent(j,!0,!0,f,0,0,0,0,0,!1,!1,!1,!1,0,b),b.dispatchEvent(O);else throw Error("The supplied element doesn't support dispatchEvent");else if(O&&b.click)b.click();else if(typeof b.fireEvent<"u")b.fireEvent("on"+j);else throw Error("Browser doesn't support triggering events");else k(b).trigger(j)},f:function(b){return t.O(b)?b():b},bc:function(b){return t.O(b)?b.v():b},Eb:function(b,j,O){var G;j&&(typeof b.classList=="object"?(G=b.classList[O?"add":"remove"],t.a.D(j.match(I),function(J){G.call(b.classList,J)})):typeof b.className.baseVal=="string"?m(b.className,"baseVal",j,O):m(b,"className",j,O))},Bb:function(b,j){var O=t.a.f(j);(O===null||O===o)&&(O="");var G=t.h.firstChild(b);!G||G.nodeType!=3||t.h.nextSibling(G)?t.h.va(b,[b.ownerDocument.createTextNode(O)]):G.data=O,t.a.Ad(b)},Yc:function(b,j){if(b.name=j,7>=P)try{var O=b.name.replace(/[&<>'"]/g,function(G){return"&#"+G.charCodeAt(0)+";"});b.mergeAttributes(h.createElement("<input name='"+O+"'/>"),!1)}catch{}},Ad:function(b){9<=P&&(b=b.nodeType==1?b:b.parentNode,b.style&&(b.style.zoom=b.style.zoom))},wd:function(b){if(P){var j=b.style.width;b.style.width=0,b.style.width=j}},Pd:function(b,j){b=t.a.f(b),j=t.a.f(j);for(var O=[],G=b;G<=j;G++)O.push(G);return O},la:function(b){for(var j=[],O=0,G=b.length;O<G;O++)j.push(b[O]);return j},Da:function(b){return w?Symbol(b):b},Zd:P===6,$d:P===7,W:P,Lc:function(b,j){for(var O=t.a.la(b.getElementsByTagName("input")).concat(t.a.la(b.getElementsByTagName("textarea"))),G=typeof j=="string"?function(U){return U.name===j}:function(U){return j.test(U.name)},J=[],z=O.length-1;0<=z;z--)G(O[z])&&J.push(O[z]);return J},Nd:function(b){return typeof b=="string"&&(b=t.a.Db(b))?D&&D.parse?D.parse(b):new Function("return "+b)():null},hc:function(b,j,O){if(!D||!D.stringify)throw Error("Cannot find JSON.stringify(). Some browsers (e.g., IE < 8) don't support it natively, but you can overcome this by adding a script reference to json2.js, downloadable from http://www.json.org/json2.js");return D.stringify(t.a.f(b),j,O)},Od:function(b,j,O){O=O||{};var G=O.params||{},J=O.includeFields||this.Jc,z=b;if(typeof b=="object"&&t.a.R(b)==="form")for(var z=b.action,U=J.length-1;0<=U;U--)for(var te=t.a.Lc(b,J[U]),he=te.length-1;0<=he;he--)G[te[he].name]=te[he].value;j=t.a.f(j);var de=h.createElement("form");de.style.display="none",de.action=z,de.method="post";for(var ge in j)b=h.createElement("input"),b.type="hidden",b.name=ge,b.value=t.a.hc(t.a.f(j[ge])),de.appendChild(b);a(G,function(Se,He){var ze=h.createElement("input");ze.type="hidden",ze.name=Se,ze.value=He,de.appendChild(ze)}),h.body.appendChild(de),O.submitter?O.submitter(de):de.submit(),setTimeout(function(){de.parentNode.removeChild(de)},0)}}}(),t.b("utils",t.a),t.b("utils.arrayForEach",t.a.D),t.b("utils.arrayFirst",t.a.Lb),t.b("utils.arrayFilter",t.a.jb),t.b("utils.arrayGetDistinctValues",t.a.wc),t.b("utils.arrayIndexOf",t.a.A),t.b("utils.arrayMap",t.a.Mb),t.b("utils.arrayPushAll",t.a.Nb),t.b("utils.arrayRemoveItem",t.a.Pa),t.b("utils.cloneNodes",t.a.Ca),t.b("utils.createSymbolOrString",t.a.Da),t.b("utils.extend",t.a.extend),t.b("utils.fieldsIncludedWithJsonPost",t.a.Jc),t.b("utils.getFormFields",t.a.Lc),t.b("utils.objectMap",t.a.Ga),t.b("utils.peekObservable",t.a.bc),t.b("utils.postJson",t.a.Od),t.b("utils.parseJson",t.a.Nd),t.b("utils.registerEventHandler",t.a.B),t.b("utils.stringifyJson",t.a.hc),t.b("utils.range",t.a.Pd),t.b("utils.toggleDomNodeCssClass",t.a.Eb),t.b("utils.triggerEvent",t.a.Fb),t.b("utils.unwrapObservable",t.a.f),t.b("utils.objectForEach",t.a.P),t.b("utils.addOrRemoveItem",t.a.Na),t.b("utils.setTextContent",t.a.Bb),t.b("unwrap",t.a.f),Function.prototype.bind||(Function.prototype.bind=function(a){var c=this;if(arguments.length===1)return function(){return c.apply(a,arguments)};var v=Array.prototype.slice.call(arguments,1);return function(){var m=v.slice(0);return m.push.apply(m,arguments),c.apply(a,m)}}),t.a.g=new function(){var a=0,c="__ko__"+new Date().getTime(),v={},m,T;return t.a.W?(m=function(E,w){var M=E[c];if(!M||M==="null"||!v[M]){if(!w)return o;M=E[c]="ko"+a++,v[M]={}}return v[M]},T=function(E){var w=E[c];return w?(delete v[w],E[c]=null,!0):!1}):(m=function(E,w){var M=E[c];return!M&&w&&(M=E[c]={}),M},T=function(E){return E[c]?(delete E[c],!0):!1}),{get:function(E,w){var M=m(E,!1);return M&&M[w]},set:function(E,w,M){(E=m(E,M!==o))&&(E[w]=M)},Ub:function(E,w,M){return E=m(E,!0),E[w]||(E[w]=M)},clear:T,Z:function(){return a+++c}}},t.b("utils.domData",t.a.g),t.b("utils.domData.clear",t.a.g.clear),t.a.K=new function(){function a(w,M){var S=t.a.g.get(w,m);return S===o&&M&&(S=[],t.a.g.set(w,m,S)),S}function c(w){var M=a(w,!1);if(M)for(var M=M.slice(0),S=0;S<M.length;S++)M[S](w);t.a.g.clear(w),t.a.K.cleanExternalData(w),E[w.nodeType]&&v(w.childNodes,!0)}function v(w,M){for(var S=[],x,P=0;P<w.length;P++)if((!M||w[P].nodeType===8)&&(c(S[S.length]=x=w[P]),w[P]!==x))for(;P--&&t.a.A(S,w[P])==-1;);}var m=t.a.g.Z(),T={1:!0,8:!0,9:!0},E={1:!0,9:!0};return{za:function(w,M){if(typeof M!="function")throw Error("Callback must be a function");a(w,!0).push(M)},yb:function(w,M){var S=a(w,!1);S&&(t.a.Pa(S,M),S.length==0&&t.a.g.set(w,m,o))},oa:function(w){return t.u.G(function(){T[w.nodeType]&&(c(w),E[w.nodeType]&&v(w.getElementsByTagName("*")))}),w},removeNode:function(w){t.oa(w),w.parentNode&&w.parentNode.removeChild(w)},cleanExternalData:function(w){k&&typeof k.cleanData=="function"&&k.cleanData([w])}}},t.oa=t.a.K.oa,t.removeNode=t.a.K.removeNode,t.b("cleanNode",t.oa),t.b("removeNode",t.removeNode),t.b("utils.domNodeDisposal",t.a.K),t.b("utils.domNodeDisposal.addDisposeCallback",t.a.K.za),t.b("utils.domNodeDisposal.removeDisposeCallback",t.a.K.yb),function(){var a=[0,"",""],c=[1,"<table>","</table>"],v=[3,"<table><tbody><tr>","</tr></tbody></table>"],m=[1,"<select multiple='multiple'>","</select>"],T={thead:c,tbody:c,tfoot:c,tr:[2,"<table><tbody>","</tbody></table>"],td:v,th:v,option:m,optgroup:m},E=8>=t.a.W;t.a.ua=function(w,M){var S;if(k){if(k.parseHTML)S=k.parseHTML(w,M)||[];else if((S=k.clean([w],M))&&S[0]){for(var x=S[0];x.parentNode&&x.parentNode.nodeType!==11;)x=x.parentNode;x.parentNode&&x.parentNode.removeChild(x)}}else{(S=M)||(S=h);var x=S.parentWindow||S.defaultView||f,P=t.a.Db(w).toLowerCase(),I=S.createElement("div"),$;for($=(P=P.match(/^(?:\x3c!--.*?--\x3e\s*?)*?<([a-z]+)[\s>]/))&&T[P[1]]||a,P=$[0],$="ignored<div>"+$[1]+w+$[2]+"</div>",typeof x.innerShiv=="function"?I.appendChild(x.innerShiv($)):(E&&S.body.appendChild(I),I.innerHTML=$,E&&I.parentNode.removeChild(I));P--;)I=I.lastChild;S=t.a.la(I.lastChild.childNodes)}return S},t.a.Md=function(w,M){var S=t.a.ua(w,M);return S.length&&S[0].parentElement||t.a.Yb(S)},t.a.fc=function(w,M){if(t.a.Tb(w),M=t.a.f(M),M!==null&&M!==o)if(typeof M!="string"&&(M=M.toString()),k)k(w).html(M);else for(var S=t.a.ua(M,w.ownerDocument),x=0;x<S.length;x++)w.appendChild(S[x])}}(),t.b("utils.parseHtmlFragment",t.a.ua),t.b("utils.setHtml",t.a.fc),t.aa=function(){function a(v,m){if(v){if(v.nodeType==8){var T=t.aa.Uc(v.nodeValue);T!=null&&m.push({ud:v,Kd:T})}else if(v.nodeType==1)for(var T=0,E=v.childNodes,w=E.length;T<w;T++)a(E[T],m)}}var c={};return{Xb:function(v){if(typeof v!="function")throw Error("You can only pass a function to ko.memoization.memoize()");var m=(4294967296*(1+Math.random())|0).toString(16).substring(1)+(4294967296*(1+Math.random())|0).toString(16).substring(1);return c[m]=v,"<!--[ko_memo:"+m+"]-->"},bd:function(v,m){var T=c[v];if(T===o)throw Error("Couldn't find any memo with ID "+v+". Perhaps it's already been unmemoized.");try{return T.apply(null,m||[]),!0}finally{delete c[v]}},cd:function(v,m){var T=[];a(v,T);for(var E=0,w=T.length;E<w;E++){var M=T[E].ud,S=[M];m&&t.a.Nb(S,m),t.aa.bd(T[E].Kd,S),M.nodeValue="",M.parentNode&&M.parentNode.removeChild(M)}},Uc:function(v){return(v=v.match(/^\[ko_memo\:(.*?)\]$/))?v[1]:null}}}(),t.b("memoization",t.aa),t.b("memoization.memoize",t.aa.Xb),t.b("memoization.unmemoize",t.aa.bd),t.b("memoization.parseMemoText",t.aa.Uc),t.b("memoization.unmemoizeDomNodeAndDescendants",t.aa.cd),t.na=function(){function a(){if(T){for(var M=T,S=0,x;w<T;)if(x=m[w++]){if(w>M){if(5e3<=++S){w=T,t.a.Gc(Error("'Too much recursion' after processing "+S+" task groups."));break}M=T}try{x()}catch(P){t.a.Gc(P)}}}}function c(){a(),w=T=m.length=0}var v,m=[],T=0,E=1,w=0;return f.MutationObserver?v=function(M){var S=h.createElement("div");return new MutationObserver(M).observe(S,{attributes:!0}),function(){S.classList.toggle("foo")}}(c):v=h&&"onreadystatechange"in h.createElement("script")?function(M){var S=h.createElement("script");S.onreadystatechange=function(){S.onreadystatechange=null,h.documentElement.removeChild(S),S=null,M()},h.documentElement.appendChild(S)}:function(M){setTimeout(M,0)},{scheduler:v,zb:function(M){return T||t.na.scheduler(c),m[T++]=M,E++},cancel:function(M){M=M-(E-T),M>=w&&M<T&&(m[M]=null)},resetForTesting:function(){var M=T-w;return w=T=m.length=0,M},Sd:a}}(),t.b("tasks",t.na),t.b("tasks.schedule",t.na.zb),t.b("tasks.runEarly",t.na.Sd),t.Ta={throttle:function(a,c){a.throttleEvaluation=c;var v=null;return t.$({read:a,write:function(m){clearTimeout(v),v=t.a.setTimeout(function(){a(m)},c)}})},rateLimit:function(a,c){var v,m,T;typeof c=="number"?v=c:(v=c.timeout,m=c.method),a.Hb=!1,T=typeof m=="function"?m:m=="notifyWhenChangesStop"?ae:ie,a.ub(function(E){return T(E,v,c)})},deferred:function(a,c){if(c!==!0)throw Error("The 'deferred' extender only accepts the value 'true', because it is not supported to turn deferral off once enabled.");a.Hb||(a.Hb=!0,a.ub(function(v){var m,T=!1;return function(){if(!T){t.na.cancel(m),m=t.na.zb(v);try{T=!0,a.notifySubscribers(o,"dirty")}finally{T=!1}}}}))},notify:function(a,c){a.equalityComparer=c=="always"?null:oe}};var _={undefined:1,boolean:1,number:1,string:1};t.b("extenders",t.Ta),t.ic=function(a,c,v){this.da=a,this.lc=c,this.mc=v,this.Ib=!1,this.fb=this.Jb=null,t.L(this,"dispose",this.s),t.L(this,"disposeWhenNodeIsRemoved",this.l)},t.ic.prototype.s=function(){this.Ib||(this.fb&&t.a.K.yb(this.Jb,this.fb),this.Ib=!0,this.mc(),this.da=this.lc=this.mc=this.Jb=this.fb=null)},t.ic.prototype.l=function(a){this.Jb=a,t.a.K.za(a,this.fb=this.s.bind(this))},t.T=function(){t.a.Ab(this,F),F.qb(this)};var F={qb:function(a){a.U={change:[]},a.sc=1},subscribe:function(a,c,v){var m=this;v=v||"change";var T=new t.ic(m,c?a.bind(c):a,function(){t.a.Pa(m.U[v],T),m.hb&&m.hb(v)});return m.Qa&&m.Qa(v),m.U[v]||(m.U[v]=[]),m.U[v].push(T),T},notifySubscribers:function(a,c){if(c=c||"change",c==="change"&&this.Gb(),this.Wa(c)){var v=c==="change"&&this.ed||this.U[c].slice(0);try{t.u.xc();for(var m=0,T;T=v[m];++m)T.Ib||T.lc(a)}finally{t.u.end()}}},ob:function(){return this.sc},Dd:function(a){return this.ob()!==a},Gb:function(){++this.sc},ub:function(a){var c=this,v=t.O(c),m,T,E,w,M;c.gb||(c.gb=c.notifySubscribers,c.notifySubscribers=Z);var S=a(function(){c.Ja=!1,v&&w===c&&(w=c.nc?c.nc():c());var x=T||M&&c.sb(E,w);M=T=m=!1,x&&c.gb(E=w)});c.qc=function(x,P){P&&c.Ja||(M=!P),c.ed=c.U.change.slice(0),c.Ja=m=!0,w=x,S()},c.pc=function(x){m||(E=x,c.gb(x,"beforeChange"))},c.rc=function(){M=!0},c.gd=function(){c.sb(E,c.v(!0))&&(T=!0)}},Wa:function(a){return this.U[a]&&this.U[a].length},Bd:function(a){if(a)return this.U[a]&&this.U[a].length||0;var c=0;return t.a.P(this.U,function(v,m){v!=="dirty"&&(c+=m.length)}),c},sb:function(a,c){return!this.equalityComparer||!this.equalityComparer(a,c)},toString:function(){return"[object Object]"},extend:function(a){var c=this;return a&&t.a.P(a,function(v,m){var T=t.Ta[v];typeof T=="function"&&(c=T(c,m)||c)}),c}};t.L(F,"init",F.qb),t.L(F,"subscribe",F.subscribe),t.L(F,"extend",F.extend),t.L(F,"getSubscriptionsCount",F.Bd),t.a.Ba&&t.a.setPrototypeOf(F,Function.prototype),t.T.fn=F,t.Qc=function(a){return a!=null&&typeof a.subscribe=="function"&&typeof a.notifySubscribers=="function"},t.b("subscribable",t.T),t.b("isSubscribable",t.Qc),t.S=t.u=function(){function a(E){v.push(m),m=E}function c(){m=v.pop()}var v=[],m,T=0;return{xc:a,end:c,cc:function(E){if(m){if(!t.Qc(E))throw Error("Only subscribable things can act as dependencies");m.od.call(m.pd,E,E.fd||(E.fd=++T))}},G:function(E,w,M){try{return a(),E.apply(w,M||[])}finally{c()}},qa:function(){if(m)return m.o.qa()},Va:function(){if(m)return m.o.Va()},Ya:function(){if(m)return m.Ya},o:function(){if(m)return m.o}}}(),t.b("computedContext",t.S),t.b("computedContext.getDependenciesCount",t.S.qa),t.b("computedContext.getDependencies",t.S.Va),t.b("computedContext.isInitial",t.S.Ya),t.b("computedContext.registerDependency",t.S.cc),t.b("ignoreDependencies",t.Yd=t.u.G);var Y=t.a.Da("_latestValue");t.ta=function(a){function c(){return 0<arguments.length?(c.sb(c[Y],arguments[0])&&(c.ya(),c[Y]=arguments[0],c.xa()),this):(t.u.cc(c),c[Y])}return c[Y]=a,t.a.Ba||t.a.extend(c,t.T.fn),t.T.fn.qb(c),t.a.Ab(c,re),t.options.deferUpdates&&t.Ta.deferred(c,!0),c};var re={equalityComparer:oe,v:function(){return this[Y]},xa:function(){this.notifySubscribers(this[Y],"spectate"),this.notifySubscribers(this[Y])},ya:function(){this.notifySubscribers(this[Y],"beforeChange")}};t.a.Ba&&t.a.setPrototypeOf(re,t.T.fn);var ce=t.ta.Ma="__ko_proto__";re[ce]=t.ta,t.O=function(a){if((a=typeof a=="function"&&a[ce])&&a!==re[ce]&&a!==t.o.fn[ce])throw Error("Invalid object that looks like an observable; possibly from another Knockout instance");return!!a},t.Za=function(a){return typeof a=="function"&&(a[ce]===re[ce]||a[ce]===t.o.fn[ce]&&a.Nc)},t.b("observable",t.ta),t.b("isObservable",t.O),t.b("isWriteableObservable",t.Za),t.b("isWritableObservable",t.Za),t.b("observable.fn",re),t.L(re,"peek",re.v),t.L(re,"valueHasMutated",re.xa),t.L(re,"valueWillMutate",re.ya),t.Ha=function(a){if(a=a||[],typeof a!="object"||!("length"in a))throw Error("The argument passed when initializing an observable array must be an array, or null, or undefined.");return a=t.ta(a),t.a.Ab(a,t.Ha.fn),a.extend({trackArrayChanges:!0})},t.Ha.fn={remove:function(a){for(var c=this.v(),v=[],m=typeof a!="function"||t.O(a)?function(w){return w===a}:a,T=0;T<c.length;T++){var E=c[T];if(m(E)){if(v.length===0&&this.ya(),c[T]!==E)throw Error("Array modified during remove; cannot remove item");v.push(E),c.splice(T,1),T--}}return v.length&&this.xa(),v},removeAll:function(a){if(a===o){var c=this.v(),v=c.slice(0);return this.ya(),c.splice(0,c.length),this.xa(),v}return a?this.remove(function(m){return 0<=t.a.A(a,m)}):[]},destroy:function(a){var c=this.v(),v=typeof a!="function"||t.O(a)?function(E){return E===a}:a;this.ya();for(var m=c.length-1;0<=m;m--){var T=c[m];v(T)&&(T._destroy=!0)}this.xa()},destroyAll:function(a){return a===o?this.destroy(function(){return!0}):a?this.destroy(function(c){return 0<=t.a.A(a,c)}):[]},indexOf:function(a){var c=this();return t.a.A(c,a)},replace:function(a,c){var v=this.indexOf(a);0<=v&&(this.ya(),this.v()[v]=c,this.xa())},sorted:function(a){var c=this().slice(0);return a?c.sort(a):c.sort()},reversed:function(){return this().slice(0).reverse()}},t.a.Ba&&t.a.setPrototypeOf(t.Ha.fn,t.ta.fn),t.a.D("pop push reverse shift sort splice unshift".split(" "),function(a){t.Ha.fn[a]=function(){var c=this.v();this.ya(),this.zc(c,a,arguments);var v=c[a].apply(c,arguments);return this.xa(),v===c?this:v}}),t.a.D(["slice"],function(a){t.Ha.fn[a]=function(){var c=this();return c[a].apply(c,arguments)}}),t.Pc=function(a){return t.O(a)&&typeof a.remove=="function"&&typeof a.push=="function"},t.b("observableArray",t.Ha),t.b("isObservableArray",t.Pc),t.Ta.trackArrayChanges=function(a,c){function v(){function I(){if(M){var $=[].concat(a.v()||[]),b;a.Wa("arrayChange")&&((!T||1<M)&&(T=t.a.Pb(S,$,a.Ob)),b=T),S=$,T=null,M=0,b&&b.length&&a.notifySubscribers(b,"arrayChange")}}m?I():(m=!0,w=a.subscribe(function(){++M},null,"spectate"),S=[].concat(a.v()||[]),T=null,E=a.subscribe(I))}if(a.Ob={},c&&typeof c=="object"&&t.a.extend(a.Ob,c),a.Ob.sparse=!0,!a.zc){var m=!1,T=null,E,w,M=0,S,x=a.Qa,P=a.hb;a.Qa=function(I){x&&x.call(a,I),I==="arrayChange"&&v()},a.hb=function(I){P&&P.call(a,I),I!=="arrayChange"||a.Wa("arrayChange")||(E&&E.s(),w&&w.s(),w=E=null,m=!1,S=o)},a.zc=function(I,$,b){function j(de,ge,Se){return O[O.length]={status:de,value:ge,index:Se}}if(m&&!M){var O=[],G=I.length,J=b.length,z=0;switch($){case"push":z=G;case"unshift":for($=0;$<J;$++)j("added",b[$],z+$);break;case"pop":z=G-1;case"shift":G&&j("deleted",I[z],z);break;case"splice":$=Math.min(Math.max(0,0>b[0]?G+b[0]:b[0]),G);for(var G=J===1?G:Math.min($+(b[1]||0),G),J=$+J-2,z=Math.max(G,J),U=[],te=[],he=2;$<z;++$,++he)$<G&&te.push(j("deleted",I[$],$)),$<J&&U.push(j("added",b[he],$));t.a.Kc(te,U);break;default:return}T=O}}}};var se=t.a.Da("_state");t.o=t.$=function(a,c,v){function m(){if(0<arguments.length){if(typeof T=="function")T.apply(E.nb,arguments);else throw Error("Cannot write a value to a ko.computed unless you specify a 'write' option. If you wish to read the current value, don't pass any parameters.");return this}return E.ra||t.u.cc(m),(E.ka||E.J&&m.Xa())&&m.ha(),E.X}if(typeof a=="object"?v=a:(v=v||{},a&&(v.read=a)),typeof v.read!="function")throw Error("Pass a function that returns the value of the ko.computed");var T=v.write,E={X:o,sa:!0,ka:!0,rb:!1,jc:!1,ra:!1,wb:!1,J:!1,Wc:v.read,nb:c||v.owner,l:v.disposeWhenNodeIsRemoved||v.l||null,Sa:v.disposeWhen||v.Sa,Rb:null,I:{},V:0,Ic:null};return m[se]=E,m.Nc=typeof T=="function",t.a.Ba||t.a.extend(m,t.T.fn),t.T.fn.qb(m),t.a.Ab(m,l),v.pure?(E.wb=!0,E.J=!0,t.a.extend(m,be)):v.deferEvaluation&&t.a.extend(m,pe),t.options.deferUpdates&&t.Ta.deferred(m,!0),E.l&&(E.jc=!0,E.l.nodeType||(E.l=null)),E.J||v.deferEvaluation||m.ha(),E.l&&m.ja()&&t.a.K.za(E.l,E.Rb=function(){m.s()}),m};var l={equalityComparer:oe,qa:function(){return this[se].V},Va:function(){var a=[];return t.a.P(this[se].I,function(c,v){a[v.Ka]=v.da}),a},Vb:function(a){if(!this[se].V)return!1;var c=this.Va();return t.a.A(c,a)!==-1?!0:!!t.a.Lb(c,function(v){return v.Vb&&v.Vb(a)})},uc:function(a,c,v){if(this[se].wb&&c===this)throw Error("A 'pure' computed must not be called recursively");this[se].I[a]=v,v.Ka=this[se].V++,v.La=c.ob()},Xa:function(){var a,c,v=this[se].I;for(a in v)if(Object.prototype.hasOwnProperty.call(v,a)&&(c=v[a],this.Ia&&c.da.Ja||c.da.Dd(c.La)))return!0},Jd:function(){this.Ia&&!this[se].rb&&this.Ia(!1)},ja:function(){var a=this[se];return a.ka||0<a.V},Rd:function(){this.Ja?this[se].ka&&(this[se].sa=!0):this.Hc()},$c:function(a){if(a.Hb){var c=a.subscribe(this.Jd,this,"dirty"),v=a.subscribe(this.Rd,this);return{da:a,s:function(){c.s(),v.s()}}}return a.subscribe(this.Hc,this)},Hc:function(){var a=this,c=a.throttleEvaluation;c&&0<=c?(clearTimeout(this[se].Ic),this[se].Ic=t.a.setTimeout(function(){a.ha(!0)},c)):a.Ia?a.Ia(!0):a.ha(!0)},ha:function(a){var c=this[se],v=c.Sa,m=!1;if(!c.rb&&!c.ra){if(c.l&&!t.a.Sb(c.l)||v&&v()){if(!c.jc){this.s();return}}else c.jc=!1;c.rb=!0;try{m=this.zd(a)}finally{c.rb=!1}return m}},zd:function(a){var c=this[se],m=!1,v=c.wb?o:!c.V,m={qd:this,mb:c.I,Qb:c.V};t.u.xc({pd:m,od:ee,o:this,Ya:v}),c.I={},c.V=0;var T=this.yd(c,m);return c.V?m=this.sb(c.X,T):(this.s(),m=!0),m&&(c.J?this.Gb():this.notifySubscribers(c.X,"beforeChange"),c.X=T,this.notifySubscribers(c.X,"spectate"),!c.J&&a&&this.notifySubscribers(c.X),this.rc&&this.rc()),v&&this.notifySubscribers(c.X,"awake"),m},yd:function(a,c){try{var v=a.Wc;return a.nb?v.call(a.nb):v()}finally{t.u.end(),c.Qb&&!a.J&&t.a.P(c.mb,ne),a.sa=a.ka=!1}},v:function(a){var c=this[se];return(c.ka&&(a||!c.V)||c.J&&this.Xa())&&this.ha(),c.X},ub:function(a){t.T.fn.ub.call(this,a),this.nc=function(){return this[se].J||(this[se].sa?this.ha():this[se].ka=!1),this[se].X},this.Ia=function(c){this.pc(this[se].X),this[se].ka=!0,c&&(this[se].sa=!0),this.qc(this,!c)}},s:function(){var a=this[se];!a.J&&a.I&&t.a.P(a.I,function(c,v){v.s&&v.s()}),a.l&&a.Rb&&t.a.K.yb(a.l,a.Rb),a.I=o,a.V=0,a.ra=!0,a.sa=!1,a.ka=!1,a.J=!1,a.l=o,a.Sa=o,a.Wc=o,this.Nc||(a.nb=o)}},be={Qa:function(a){var c=this,v=c[se];if(!v.ra&&v.J&&a=="change"){if(v.J=!1,v.sa||c.Xa())v.I=null,v.V=0,c.ha()&&c.Gb();else{var m=[];t.a.P(v.I,function(T,E){m[E.Ka]=T}),t.a.D(m,function(T,E){var w=v.I[T],M=c.$c(w.da);M.Ka=E,M.La=w.La,v.I[T]=M}),c.Xa()&&c.ha()&&c.Gb()}v.ra||c.notifySubscribers(v.X,"awake")}},hb:function(a){var c=this[se];c.ra||a!="change"||this.Wa("change")||(t.a.P(c.I,function(v,m){m.s&&(c.I[v]={da:m.da,Ka:m.Ka,La:m.La},m.s())}),c.J=!0,this.notifySubscribers(o,"asleep"))},ob:function(){var a=this[se];return a.J&&(a.sa||this.Xa())&&this.ha(),t.T.fn.ob.call(this)}},pe={Qa:function(a){a!="change"&&a!="beforeChange"||this.v()}};t.a.Ba&&t.a.setPrototypeOf(l,t.T.fn);var Oe=t.ta.Ma;l[Oe]=t.o,t.Oc=function(a){return typeof a=="function"&&a[Oe]===l[Oe]},t.Fd=function(a){return t.Oc(a)&&a[se]&&a[se].wb},t.b("computed",t.o),t.b("dependentObservable",t.o),t.b("isComputed",t.Oc),t.b("isPureComputed",t.Fd),t.b("computed.fn",l),t.L(l,"peek",l.v),t.L(l,"dispose",l.s),t.L(l,"isActive",l.ja),t.L(l,"getDependenciesCount",l.qa),t.L(l,"getDependencies",l.Va),t.xb=function(a,c){return typeof a=="function"?t.o(a,c,{pure:!0}):(a=t.a.extend({},a),a.pure=!0,t.o(a,c))},t.b("pureComputed",t.xb),function(){function a(m,T,E){if(E=E||new v,m=T(m),typeof m!="object"||m===null||m===o||m instanceof RegExp||m instanceof Date||m instanceof String||m instanceof Number||m instanceof Boolean)return m;var w=m instanceof Array?[]:{};return E.save(m,w),c(m,function(M){var S=T(m[M]);switch(typeof S){case"boolean":case"number":case"string":case"function":w[M]=S;break;case"object":case"undefined":var x=E.get(S);w[M]=x!==o?x:a(S,T,E)}}),w}function c(m,T){if(m instanceof Array){for(var E=0;E<m.length;E++)T(E);typeof m.toJSON=="function"&&T("toJSON")}else for(E in m)T(E)}function v(){this.keys=[],this.values=[]}t.ad=function(m){if(arguments.length==0)throw Error("When calling ko.toJS, pass the object you want to convert.");return a(m,function(T){for(var E=0;t.O(T)&&10>E;E++)T=T();return T})},t.toJSON=function(m,T,E){return m=t.ad(m),t.a.hc(m,T,E)},v.prototype={constructor:v,save:function(m,T){var E=t.a.A(this.keys,m);0<=E?this.values[E]=T:(this.keys.push(m),this.values.push(T))},get:function(m){return m=t.a.A(this.keys,m),0<=m?this.values[m]:o}}}(),t.b("toJS",t.ad),t.b("toJSON",t.toJSON),t.Wd=function(a,c,v){function m(T){var E=t.xb(a,v).extend({ma:"always"}),w=E.subscribe(function(M){M&&(w.s(),T(M))});return E.notifySubscribers(E.v()),w}return typeof Promise!="function"||c?m(c.bind(v)):new Promise(m)},t.b("when",t.Wd),function(){t.w={M:function(a){switch(t.a.R(a)){case"option":return a.__ko__hasDomDataOptionValue__===!0?t.a.g.get(a,t.c.options.$b):7>=t.a.W?a.getAttributeNode("value")&&a.getAttributeNode("value").specified?a.value:a.text:a.value;case"select":return 0<=a.selectedIndex?t.w.M(a.options[a.selectedIndex]):o;default:return a.value}},cb:function(a,c,v){switch(t.a.R(a)){case"option":typeof c=="string"?(t.a.g.set(a,t.c.options.$b,o),"__ko__hasDomDataOptionValue__"in a&&delete a.__ko__hasDomDataOptionValue__,a.value=c):(t.a.g.set(a,t.c.options.$b,c),a.__ko__hasDomDataOptionValue__=!0,a.value=typeof c=="number"?c:"");break;case"select":(c===""||c===null)&&(c=o);for(var m=-1,T=0,E=a.options.length,w;T<E;++T)if(w=t.w.M(a.options[T]),w==c||w===""&&c===o){m=T;break}(v||0<=m||c===o&&1<a.size)&&(a.selectedIndex=m,t.a.W===6&&t.a.setTimeout(function(){a.selectedIndex=m},0));break;default:(c===null||c===o)&&(c=""),a.value=c}}}}(),t.b("selectExtensions",t.w),t.b("selectExtensions.readValue",t.w.M),t.b("selectExtensions.writeValue",t.w.cb),t.m=function(){function a(M){M=t.a.Db(M),M.charCodeAt(0)===123&&(M=M.slice(1,-1)),M+=`
,`;var S=[],x=M.match(m),P,I=[],$=0;if(1<x.length){for(var b=0,j;j=x[b];++b){var O=j.charCodeAt(0);if(O===44){if(0>=$){S.push(P&&I.length?{key:P,value:I.join("")}:{unknown:P||I.join("")}),P=$=0,I=[];continue}}else if(O===58){if(!$&&!P&&I.length===1){P=I.pop();continue}}else{if(O===47&&1<j.length&&(j.charCodeAt(1)===47||j.charCodeAt(1)===42))continue;O===47&&b&&1<j.length?(O=x[b-1].match(T))&&!E[O[0]]&&(M=M.substr(M.indexOf(j)+1),x=M.match(m),b=-1,j="/"):O===40||O===123||O===91?++$:O===41||O===125||O===93?--$:P||I.length||O!==34&&O!==39||(j=j.slice(1,-1))}I.push(j)}if(0<$)throw Error("Unbalanced parentheses, braces, or brackets")}return S}var c=["true","false","null","undefined"],v=/^(?:[$_a-z][$\w]*|(.+)(\.\s*[$_a-z][$\w]*|\[.+\]))$/i,m=RegExp(`"(?:\\\\.|[^"])*"|'(?:\\\\.|[^'])*'|\`(?:\\\\.|[^\`])*\`|/\\*(?:[^*]|\\*+[^*/])*\\*+/|//.*
|/(?:\\\\.|[^/])+/w*|[^\\s:,/][^,"'\`{}()/:[\\]]*[^\\s,"'\`{}()/:[\\]]|[^\\s]`,"g"),T=/[\])"'A-Za-z0-9_$]+$/,E={in:1,return:1,typeof:1},w={};return{Ra:[],wa:w,ac:a,vb:function(M,S){function x(O,G){var J;if(!b){var z=t.getBindingHandler(O);if(z&&z.preprocess&&!(G=z.preprocess(G,O,x)))return;(z=w[O])&&(J=G,0<=t.a.A(c,J)?J=!1:(z=J.match(v),J=z===null?!1:z[1]?"Object("+z[1]+")"+z[2]:J),z=J),z&&I.push("'"+(typeof w[O]=="string"?w[O]:O)+"':function(_z){"+J+"=_z}")}$&&(G="function(){return "+G+" }"),P.push("'"+O+"':"+G)}S=S||{};var P=[],I=[],$=S.valueAccessors,b=S.bindingParams,j=typeof M=="string"?a(M):M;return t.a.D(j,function(O){x(O.key||O.unknown,O.value)}),I.length&&x("_ko_property_writers","{"+I.join(",")+" }"),P.join(",")},Id:function(M,S){for(var x=0;x<M.length;x++)if(M[x].key==S)return!0;return!1},eb:function(M,S,x,P,I){M&&t.O(M)?!t.Za(M)||I&&M.v()===P||M(P):(M=S.get("_ko_property_writers"))&&M[x]&&M[x](P)}}}(),t.b("expressionRewriting",t.m),t.b("expressionRewriting.bindingRewriteValidators",t.m.Ra),t.b("expressionRewriting.parseObjectLiteral",t.m.ac),t.b("expressionRewriting.preProcessBindings",t.m.vb),t.b("expressionRewriting._twoWayBindings",t.m.wa),t.b("jsonExpressionRewriting",t.m),t.b("jsonExpressionRewriting.insertPropertyAccessorsIntoJson",t.m.vb),function(){function a(x){return x.nodeType==8&&E.test(T?x.text:x.nodeValue)}function c(x){return x.nodeType==8&&w.test(T?x.text:x.nodeValue)}function v(x,P){for(var I=x,$=1,b=[];I=I.nextSibling;){if(c(I)&&(t.a.g.set(I,S,!0),$--,$===0))return b;b.push(I),a(I)&&$++}if(!P)throw Error("Cannot find closing comment tag to match: "+x.nodeValue);return null}function m(x,P){var I=v(x,P);return I?0<I.length?I[I.length-1].nextSibling:x.nextSibling:null}var T=h&&h.createComment("test").text==="<!--test-->",E=T?/^\x3c!--\s*ko(?:\s+([\s\S]+))?\s*--\x3e$/:/^\s*ko(?:\s+([\s\S]+))?\s*$/,w=T?/^\x3c!--\s*\/ko\s*--\x3e$/:/^\s*\/ko\s*$/,M={ul:!0,ol:!0},S="__ko_matchedEndComment__";t.h={ea:{},childNodes:function(x){return a(x)?v(x):x.childNodes},Ea:function(x){if(a(x)){x=t.h.childNodes(x);for(var P=0,I=x.length;P<I;P++)t.removeNode(x[P])}else t.a.Tb(x)},va:function(x,P){if(a(x)){t.h.Ea(x);for(var I=x.nextSibling,$=0,b=P.length;$<b;$++)I.parentNode.insertBefore(P[$],I)}else t.a.va(x,P)},Vc:function(x,P){var I;a(x)?(I=x.nextSibling,x=x.parentNode):I=x.firstChild,I?P!==I&&x.insertBefore(P,I):x.appendChild(P)},Wb:function(x,P,I){I?(I=I.nextSibling,a(x)&&(x=x.parentNode),I?P!==I&&x.insertBefore(P,I):x.appendChild(P)):t.h.Vc(x,P)},firstChild:function(x){if(a(x))return!x.nextSibling||c(x.nextSibling)?null:x.nextSibling;if(x.firstChild&&c(x.firstChild))throw Error("Found invalid end comment, as the first child of "+x);return x.firstChild},nextSibling:function(x){if(a(x)&&(x=m(x)),x.nextSibling&&c(x.nextSibling)){var P=x.nextSibling;if(c(P)&&!t.a.g.get(P,S))throw Error("Found end comment without a matching opening comment, as child of "+x);return null}return x.nextSibling},Cd:a,Vd:function(x){return(x=(T?x.text:x.nodeValue).match(E))?x[1]:null},Sc:function(x){if(M[t.a.R(x)]){var P=x.firstChild;if(P)do if(P.nodeType===1){var I;I=P.firstChild;var $=null;if(I)do if($)$.push(I);else if(a(I)){var b=m(I,!0);b?I=b:$=[I]}else c(I)&&($=[I]);while(I=I.nextSibling);if(I=$)for($=P.nextSibling,b=0;b<I.length;b++)$?x.insertBefore(I[b],$):x.appendChild(I[b])}while(P=P.nextSibling)}}}}(),t.b("virtualElements",t.h),t.b("virtualElements.allowedBindings",t.h.ea),t.b("virtualElements.emptyNode",t.h.Ea),t.b("virtualElements.insertAfter",t.h.Wb),t.b("virtualElements.prepend",t.h.Vc),t.b("virtualElements.setDomNodeChildren",t.h.va),function(){t.ga=function(){this.nd={}},t.a.extend(t.ga.prototype,{nodeHasBindings:function(a){switch(a.nodeType){case 1:return a.getAttribute("data-bind")!=null||t.j.getComponentNameForNode(a);case 8:return t.h.Cd(a);default:return!1}},getBindings:function(a,c){var v=this.getBindingsString(a,c),v=v?this.parseBindingsString(v,c,a):null;return t.j.tc(v,a,c,!1)},getBindingAccessors:function(a,c){var v=this.getBindingsString(a,c),v=v?this.parseBindingsString(v,c,a,{valueAccessors:!0}):null;return t.j.tc(v,a,c,!0)},getBindingsString:function(a){switch(a.nodeType){case 1:return a.getAttribute("data-bind");case 8:return t.h.Vd(a);default:return null}},parseBindingsString:function(a,c,v,m){try{var T=this.nd,E=a+(m&&m.valueAccessors||""),w;if(!(w=T[E])){var M,S="with($context){with($data||{}){return{"+t.m.vb(a,m)+"}}}";M=new Function("$context","$element",S),w=T[E]=M}return w(c,v)}catch(x){throw x.message=`Unable to parse bindings.
Bindings value: `+a+`
Message: `+x.message,x}}}),t.ga.instance=new t.ga}(),t.b("bindingProvider",t.ga),function(){function a(z){var U=(z=t.a.g.get(z,J))&&z.N;U&&(z.N=null,U.Tc())}function c(z,U,te){this.node=z,this.yc=U,this.kb=[],this.H=!1,U.N||t.a.K.za(z,a),te&&te.N&&(te.N.kb.push(z),this.Kb=te)}function v(z){return function(){return z}}function m(z){return z()}function T(z){return t.a.Ga(t.u.G(z),function(U,te){return function(){return z()[te]}})}function E(z,U,te){return typeof z=="function"?T(z.bind(null,U,te)):t.a.Ga(z,v)}function w(z,U){return T(this.getBindings.bind(this,z,U))}function M(z,U){var te=t.h.firstChild(U);if(te){var he,de=t.ga.instance,ge=de.preprocessNode;if(ge){for(;he=te;)te=t.h.nextSibling(he),ge.call(de,he);te=t.h.firstChild(U)}for(;he=te;)te=t.h.nextSibling(he),S(z,he)}t.i.ma(U,t.i.H)}function S(z,U){var te=z,he=U.nodeType===1;he&&t.h.Sc(U),(he||t.ga.instance.nodeHasBindings(U))&&(te=P(U,null,z).bindingContextForDescendants),te&&!O[t.a.R(U)]&&M(te,U)}function x(z){var U=[],te={},he=[];return t.a.P(z,function de(ge){if(!te[ge]){var Se=t.getBindingHandler(ge);Se&&(Se.after&&(he.push(ge),t.a.D(Se.after,function(He){if(z[He]){if(t.a.A(he,He)!==-1)throw Error("Cannot combine the following bindings, because they have a cyclic dependency: "+he.join(", "));de(He)}}),he.length--),U.push({key:ge,Mc:Se})),te[ge]=!0}}),U}function P(z,U,te){var he=t.a.g.Ub(z,J,{}),de=he.hd;if(!U){if(de)throw Error("You cannot apply bindings multiple times to the same element.");he.hd=!0}de||(he.context=te),he.Zb||(he.Zb={});var ge;if(U&&typeof U!="function")ge=U;else{var Se=t.ga.instance,He=Se.getBindingAccessors||w,ze=t.$(function(){return(ge=U?U(te,z):He.call(Se,z,te))&&(te[$]&&te[$](),te[j]&&te[j]()),ge},null,{l:z});ge&&ze.ja()||(ze=null)}var Ye=te,qe;if(ge){var $e=function(){return t.a.Ga(ze?ze():ge,m)},Ge=ze?function(ke){return function(){return m(ze()[ke])}}:function(ke){return ge[ke]};$e.get=function(ke){return ge[ke]&&m(Ge(ke))},$e.has=function(ke){return ke in ge},t.i.H in ge&&t.i.subscribe(z,t.i.H,function(){var ke=(0,ge[t.i.H])();if(ke){var xe=t.h.childNodes(z);xe.length&&ke(xe,t.Ec(xe[0]))}}),t.i.pa in ge&&(Ye=t.i.Cb(z,te),t.i.subscribe(z,t.i.pa,function(){var ke=(0,ge[t.i.pa])();ke&&t.h.firstChild(z)&&ke(z)})),he=x(ge),t.a.D(he,function(ke){var xe=ke.Mc.init,Fe=ke.Mc.update,nt=ke.key;if(z.nodeType===8&&!t.h.ea[nt])throw Error("The binding '"+nt+"' cannot be used with virtual elements");try{typeof xe=="function"&&t.u.G(function(){var lt=xe(z,Ge(nt),$e,Ye.$data,Ye);if(lt&&lt.controlsDescendantBindings){if(qe!==o)throw Error("Multiple bindings ("+qe+" and "+nt+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.");qe=nt}}),typeof Fe=="function"&&t.$(function(){Fe(z,Ge(nt),$e,Ye.$data,Ye)},null,{l:z})}catch(lt){throw lt.message='Unable to process binding "'+nt+": "+ge[nt]+`"
Message: `+lt.message,lt}})}return he=qe===o,{shouldBindDescendants:he,bindingContextForDescendants:he&&Ye}}function I(z,U){return z&&z instanceof t.fa?z:new t.fa(z,o,o,U)}var $=t.a.Da("_subscribable"),b=t.a.Da("_ancestorBindingInfo"),j=t.a.Da("_dataDependency");t.c={};var O={script:!0,textarea:!0,template:!0};t.getBindingHandler=function(z){return t.c[z]};var G={};t.fa=function(z,U,te,he,de){function ge(){var Ge=Ye?ze():ze,ke=t.a.f(Ge);return U?(t.a.extend(Se,U),b in U&&(Se[b]=U[b])):(Se.$parents=[],Se.$root=ke,Se.ko=t),Se[$]=qe,He?ke=Se.$data:(Se.$rawData=Ge,Se.$data=ke),te&&(Se[te]=ke),he&&he(Se,U,ke),U&&U[$]&&!t.S.o().Vb(U[$])&&U[$](),$e&&(Se[j]=$e),Se.$data}var Se=this,He=z===G,ze=He?o:z,Ye=typeof ze=="function"&&!t.O(ze),qe,$e=de&&de.dataDependency;de&&de.exportDependencies?ge():(qe=t.xb(ge),qe.v(),qe.ja()?qe.equalityComparer=null:Se[$]=o)},t.fa.prototype.createChildContext=function(z,U,te,he){if(!he&&U&&typeof U=="object"&&(he=U,U=he.as,te=he.extend),U&&he&&he.noChildContext){var de=typeof z=="function"&&!t.O(z);return new t.fa(G,this,null,function(ge){te&&te(ge),ge[U]=de?z():z},he)}return new t.fa(z,this,U,function(ge,Se){ge.$parentContext=Se,ge.$parent=Se.$data,ge.$parents=(Se.$parents||[]).slice(0),ge.$parents.unshift(ge.$parent),te&&te(ge)},he)},t.fa.prototype.extend=function(z,U){return new t.fa(G,this,null,function(te){t.a.extend(te,typeof z=="function"?z(te):z)},U)};var J=t.a.g.Z();c.prototype.Tc=function(){this.Kb&&this.Kb.N&&this.Kb.N.sd(this.node)},c.prototype.sd=function(z){t.a.Pa(this.kb,z),!this.kb.length&&this.H&&this.Cc()},c.prototype.Cc=function(){this.H=!0,this.yc.N&&!this.kb.length&&(this.yc.N=null,t.a.K.yb(this.node,a),t.i.ma(this.node,t.i.pa),this.Tc())},t.i={H:"childrenComplete",pa:"descendantsComplete",subscribe:function(z,U,te,he,de){var ge=t.a.g.Ub(z,J,{});return ge.Fa||(ge.Fa=new t.T),de&&de.notifyImmediately&&ge.Zb[U]&&t.u.G(te,he,[z]),ge.Fa.subscribe(te,he,U)},ma:function(z,U){var te=t.a.g.get(z,J);if(te&&(te.Zb[U]=!0,te.Fa&&te.Fa.notifySubscribers(z,U),U==t.i.H)){if(te.N)te.N.Cc();else if(te.N===o&&te.Fa&&te.Fa.Wa(t.i.pa))throw Error("descendantsComplete event not supported for bindings on this node")}},Cb:function(z,U){var te=t.a.g.Ub(z,J,{});return te.N||(te.N=new c(z,te,U[b])),U[b]==te?U:U.extend(function(he){he[b]=te})}},t.Td=function(z){return(z=t.a.g.get(z,J))&&z.context},t.ib=function(z,U,te){return z.nodeType===1&&t.h.Sc(z),P(z,U,I(te))},t.ld=function(z,U,te){return te=I(te),t.ib(z,E(U,te,z),te)},t.Oa=function(z,U){U.nodeType!==1&&U.nodeType!==8||M(I(z),U)},t.vc=function(z,U,te){if(!k&&f.jQuery&&(k=f.jQuery),2>arguments.length){if(U=h.body,!U)throw Error("ko.applyBindings: could not find document.body; has the document been loaded?")}else if(!U||U.nodeType!==1&&U.nodeType!==8)throw Error("ko.applyBindings: first parameter should be your view model; second parameter should be a DOM node");S(I(z,te),U)},t.Dc=function(z){return!z||z.nodeType!==1&&z.nodeType!==8?o:t.Td(z)},t.Ec=function(z){return(z=t.Dc(z))?z.$data:o},t.b("bindingHandlers",t.c),t.b("bindingEvent",t.i),t.b("bindingEvent.subscribe",t.i.subscribe),t.b("bindingEvent.startPossiblyAsyncContentBinding",t.i.Cb),t.b("applyBindings",t.vc),t.b("applyBindingsToDescendants",t.Oa),t.b("applyBindingAccessorsToNode",t.ib),t.b("applyBindingsToNode",t.ld),t.b("contextFor",t.Dc),t.b("dataFor",t.Ec)}(),function(a){function c(w,M){var S=Object.prototype.hasOwnProperty.call(T,w)?T[w]:a,x;S?S.subscribe(M):(S=T[w]=new t.T,S.subscribe(M),v(w,function(P,I){var $=!(!I||!I.synchronous);E[w]={definition:P,Gd:$},delete T[w],x||$?S.notifySubscribers(P):t.na.zb(function(){S.notifySubscribers(P)})}),x=!0)}function v(w,M){m("getConfig",[w],function(S){S?m("loadComponent",[w,S],function(x){M(x,S)}):M(null,null)})}function m(w,M,S,x){x||(x=t.j.loaders.slice(0));var P=x.shift();if(P){var I=P[w];if(I){var $=!1;if(I.apply(P,M.concat(function(b){$?S(null):b!==null?S(b):m(w,M,S,x)}))!==a&&($=!0,!P.suppressLoaderExceptions))throw Error("Component loaders must supply values by invoking the callback, not by returning values synchronously.")}else m(w,M,S,x)}else S(null)}var T={},E={};t.j={get:function(w,M){var S=Object.prototype.hasOwnProperty.call(E,w)?E[w]:a;S?S.Gd?t.u.G(function(){M(S.definition)}):t.na.zb(function(){M(S.definition)}):c(w,M)},Bc:function(w){delete E[w]},oc:m},t.j.loaders=[],t.b("components",t.j),t.b("components.get",t.j.get),t.b("components.clearCachedDefinition",t.j.Bc)}(),function(){function a(S,x,P,I){function $(){--j===0&&I(b)}var b={},j=2,O=P.template;P=P.viewModel,O?T(x,O,function(G){t.j.oc("loadTemplate",[S,G],function(J){b.template=J,$()})}):$(),P?T(x,P,function(G){t.j.oc("loadViewModel",[S,G],function(J){b[M]=J,$()})}):$()}function c(S,x,P){if(typeof x=="function")P(function($){return new x($)});else if(typeof x[M]=="function")P(x[M]);else if("instance"in x){var I=x.instance;P(function(){return I})}else"viewModel"in x?c(S,x.viewModel,P):S("Unknown viewModel value: "+x)}function v(S){switch(t.a.R(S)){case"script":return t.a.ua(S.text);case"textarea":return t.a.ua(S.value);case"template":if(m(S.content))return t.a.Ca(S.content.childNodes)}return t.a.Ca(S.childNodes)}function m(S){return f.DocumentFragment?S instanceof DocumentFragment:S&&S.nodeType===11}function T(S,x,P){typeof x.require=="string"?q||f.require?(q||f.require)([x.require],function(I){I&&typeof I=="object"&&I.Xd&&I.default&&(I=I.default),P(I)}):S("Uses require, but no AMD loader is present"):P(x)}function E(S){return function(x){throw Error("Component '"+S+"': "+x)}}var w={};t.j.register=function(S,x){if(!x)throw Error("Invalid configuration for "+S);if(t.j.tb(S))throw Error("Component "+S+" is already registered");w[S]=x},t.j.tb=function(S){return Object.prototype.hasOwnProperty.call(w,S)},t.j.unregister=function(S){delete w[S],t.j.Bc(S)},t.j.Fc={getConfig:function(S,x){x(t.j.tb(S)?w[S]:null)},loadComponent:function(S,x,P){var I=E(S);T(I,x,function($){a(S,I,$,P)})},loadTemplate:function(S,x,P){if(S=E(S),typeof x=="string")P(t.a.ua(x));else if(x instanceof Array)P(x);else if(m(x))P(t.a.la(x.childNodes));else if(x.element)if(x=x.element,f.HTMLElement?x instanceof HTMLElement:x&&x.tagName&&x.nodeType===1)P(v(x));else if(typeof x=="string"){var I=h.getElementById(x);I?P(v(I)):S("Cannot find element with ID "+x)}else S("Unknown element type: "+x);else S("Unknown template value: "+x)},loadViewModel:function(S,x,P){c(E(S),x,P)}};var M="createViewModel";t.b("components.register",t.j.register),t.b("components.isRegistered",t.j.tb),t.b("components.unregister",t.j.unregister),t.b("components.defaultLoader",t.j.Fc),t.j.loaders.push(t.j.Fc),t.j.dd=w}(),function(){function a(v,m){var T=v.getAttribute("params");if(T){var T=c.parseBindingsString(T,m,v,{valueAccessors:!0,bindingParams:!0}),T=t.a.Ga(T,function(M){return t.o(M,null,{l:v})}),E=t.a.Ga(T,function(M){var S=M.v();return M.ja()?t.o({read:function(){return t.a.f(M())},write:t.Za(S)&&function(x){M()(x)},l:v}):S});return Object.prototype.hasOwnProperty.call(E,"$raw")||(E.$raw=T),E}return{$raw:{}}}t.j.getComponentNameForNode=function(v){var m=t.a.R(v);if(t.j.tb(m)&&(m.indexOf("-")!=-1||""+v=="[object HTMLUnknownElement]"||8>=t.a.W&&v.tagName===m))return m},t.j.tc=function(v,m,T,E){if(m.nodeType===1){var w=t.j.getComponentNameForNode(m);if(w){if(v=v||{},v.component)throw Error('Cannot use the "component" binding on a custom element matching a component');var M={name:w,params:a(m,T)};v.component=E?function(){return M}:M}}return v};var c=new t.ga;9>t.a.W&&(t.j.register=function(v){return function(m){return v.apply(this,arguments)}}(t.j.register),h.createDocumentFragment=function(v){return function(){var m=v();return t.j.dd,m}}(h.createDocumentFragment))}(),function(){function a(m,T,E){if(T=T.template,!T)throw Error("Component '"+m+"' has no template");m=t.a.Ca(T),t.h.va(E,m)}function c(m,T,E){var w=m.createViewModel;return w?w.call(m,T,E):T}var v=0;t.c.component={init:function(m,T,E,w,M){function S(){var b=x&&x.dispose;typeof b=="function"&&b.call(x),I&&I.s(),P=x=I=null}var x,P,I,$=t.a.la(t.h.childNodes(m));return t.h.Ea(m),t.a.K.za(m,S),t.o(function(){var b=t.a.f(T()),j,O;if(typeof b=="string"?j=b:(j=t.a.f(b.name),O=t.a.f(b.params)),!j)throw Error("No component name specified");var G=t.i.Cb(m,M),J=P=++v;t.j.get(j,function(z){if(P===J){if(S(),!z)throw Error("Unknown component '"+j+"'");a(j,z,m);var U=c(z,O,{element:m,templateNodes:$});z=G.createChildContext(U,{extend:function(te){te.$component=U,te.$componentTemplateNodes=$}}),U&&U.koDescendantsComplete&&(I=t.i.subscribe(m,t.i.pa,U.koDescendantsComplete,U)),x=U,t.Oa(z,m)}})},null,{l:m}),{controlsDescendantBindings:!0}}},t.h.ea.component=!0}();var me={class:"className",for:"htmlFor"};t.c.attr={update:function(a,c){var v=t.a.f(c())||{};t.a.P(v,function(m,T){T=t.a.f(T);var E=m.indexOf(":"),E="lookupNamespaceURI"in a&&0<E&&a.lookupNamespaceURI(m.substr(0,E)),w=T===!1||T===null||T===o;w?E?a.removeAttributeNS(E,m):a.removeAttribute(m):T=T.toString(),8>=t.a.W&&m in me?(m=me[m],w?a.removeAttribute(m):a[m]=T):w||(E?a.setAttributeNS(E,m,T):a.setAttribute(m,T)),m==="name"&&t.a.Yc(a,w?"":T)})}},function(){t.c.checked={after:["value","attr"],init:function(a,c,v){function m(){var b=a.checked,j=E();if(!t.S.Ya()&&(b||!M&&!t.S.qa())){var O=t.u.G(c);if(x){var G=P?O.v():O,J=$;$=j,J!==j?b&&(t.a.Na(G,j,!0),t.a.Na(G,J,!1)):t.a.Na(G,j,b),P&&t.Za(O)&&O(G)}else w&&(j===o?j=b:b||(j=o)),t.m.eb(O,v,"checked",j,!0)}}function T(){var b=t.a.f(c()),j=E();x?(a.checked=0<=t.a.A(b,j),$=j):a.checked=w&&j===o?!!b:E()===b}var E=t.xb(function(){if(v.has("checkedValue"))return t.a.f(v.get("checkedValue"));if(I)return v.has("value")?t.a.f(v.get("value")):a.value}),w=a.type=="checkbox",M=a.type=="radio";if(w||M){var S=c(),x=w&&t.a.f(S)instanceof Array,P=!(x&&S.push&&S.splice),I=M||x,$=x?E():o;M&&!a.name&&t.c.uniqueName.init(a,function(){return!0}),t.o(m,null,{l:a}),t.a.B(a,"click",m),t.o(T,null,{l:a}),S=o}}},t.m.wa.checked=!0,t.c.checkedValue={update:function(a,c){a.value=t.a.f(c())}}}(),t.c.class={update:function(a,c){var v=t.a.Db(t.a.f(c()));t.a.Eb(a,a.__ko__cssValue,!1),a.__ko__cssValue=v,t.a.Eb(a,v,!0)}},t.c.css={update:function(a,c){var v=t.a.f(c());v!==null&&typeof v=="object"?t.a.P(v,function(m,T){T=t.a.f(T),t.a.Eb(a,m,T)}):t.c.class.update(a,c)}},t.c.enable={update:function(a,c){var v=t.a.f(c());v&&a.disabled?a.removeAttribute("disabled"):v||a.disabled||(a.disabled=!0)}},t.c.disable={update:function(a,c){t.c.enable.update(a,function(){return!t.a.f(c())})}},t.c.event={init:function(a,c,v,m,T){var E=c()||{};t.a.P(E,function(w){typeof w=="string"&&t.a.B(a,w,function(M){var S,x=c()[w];if(x){try{var P=t.a.la(arguments);m=T.$data,P.unshift(m),S=x.apply(m,P)}finally{S!==!0&&(M.preventDefault?M.preventDefault():M.returnValue=!1)}v.get(w+"Bubble")===!1&&(M.cancelBubble=!0,M.stopPropagation&&M.stopPropagation())}})})}},t.c.foreach={Rc:function(a){return function(){var c=a(),v=t.a.bc(c);return!v||typeof v.length=="number"?{foreach:c,templateEngine:t.ba.Ma}:(t.a.f(c),{foreach:v.data,as:v.as,noChildContext:v.noChildContext,includeDestroyed:v.includeDestroyed,afterAdd:v.afterAdd,beforeRemove:v.beforeRemove,afterRender:v.afterRender,beforeMove:v.beforeMove,afterMove:v.afterMove,templateEngine:t.ba.Ma})}},init:function(a,c){return t.c.template.init(a,t.c.foreach.Rc(c))},update:function(a,c,v,m,T){return t.c.template.update(a,t.c.foreach.Rc(c),v,m,T)}},t.m.Ra.foreach=!1,t.h.ea.foreach=!0,t.c.hasfocus={init:function(a,c,v){function m(w){a.__ko_hasfocusUpdating=!0;var M=a.ownerDocument;if("activeElement"in M){var S;try{S=M.activeElement}catch{S=M.body}w=S===a}M=c(),t.m.eb(M,v,"hasfocus",w,!0),a.__ko_hasfocusLastValue=w,a.__ko_hasfocusUpdating=!1}var T=m.bind(null,!0),E=m.bind(null,!1);t.a.B(a,"focus",T),t.a.B(a,"focusin",T),t.a.B(a,"blur",E),t.a.B(a,"focusout",E),a.__ko_hasfocusLastValue=!1},update:function(a,c){var v=!!t.a.f(c());a.__ko_hasfocusUpdating||a.__ko_hasfocusLastValue===v||(v?a.focus():a.blur(),!v&&a.__ko_hasfocusLastValue&&a.ownerDocument.body.focus(),t.u.G(t.a.Fb,null,[a,v?"focusin":"focusout"]))}},t.m.wa.hasfocus=!0,t.c.hasFocus=t.c.hasfocus,t.m.wa.hasFocus="hasfocus",t.c.html={init:function(){return{controlsDescendantBindings:!0}},update:function(a,c){t.a.fc(a,c())}},function(){function a(c,v,m){t.c[c]={init:function(T,E,w,M,S){var x,P,I={},$,b,j;if(v){M=w.get("as");var O=w.get("noChildContext");j=!(M&&O),I={as:M,noChildContext:O,exportDependencies:j}}return b=($=w.get("completeOn")=="render")||w.has(t.i.pa),t.o(function(){var G=t.a.f(E()),J=!m!=!G,z=!P,U;(j||J!==x)&&(b&&(S=t.i.Cb(T,S)),J&&((!v||j)&&(I.dataDependency=t.S.o()),U=v?S.createChildContext(typeof G=="function"?G:E,I):t.S.qa()?S.extend(null,I):S),z&&t.S.qa()&&(P=t.a.Ca(t.h.childNodes(T),!0)),J?(z||t.h.va(T,t.a.Ca(P)),t.Oa(U,T)):(t.h.Ea(T),$||t.i.ma(T,t.i.H)),x=J)},null,{l:T}),{controlsDescendantBindings:!0}}},t.m.Ra[c]=!1,t.h.ea[c]=!0}a("if"),a("ifnot",!1,!0),a("with",!0)}(),t.c.let={init:function(a,c,v,m,T){return c=T.extend(c),t.Oa(c,a),{controlsDescendantBindings:!0}}},t.h.ea.let=!0;var ue={};t.c.options={init:function(a){if(t.a.R(a)!=="select")throw Error("options binding applies only to SELECT elements");for(;0<a.length;)a.remove(0);return{controlsDescendantBindings:!0}},update:function(a,c,v){function m(){return t.a.jb(a.options,function(O){return O.selected})}function T(O,G,J){var z=typeof G;return z=="function"?G(O):z=="string"?O[G]:J}function E(O,G){if(b&&x)t.i.ma(a,t.i.H);else if($.length){var J=0<=t.a.A($,t.w.M(G[0]));t.a.Zc(G[0],J),b&&!J&&t.u.G(t.a.Fb,null,[a,"change"])}}var w=a.multiple,M=a.length!=0&&w?a.scrollTop:null,S=t.a.f(c()),x=v.get("valueAllowUnset")&&v.has("value"),P=v.get("optionsIncludeDestroyed");c={};var I,$=[];x||(w?$=t.a.Mb(m(),t.w.M):0<=a.selectedIndex&&$.push(t.w.M(a.options[a.selectedIndex]))),S&&(typeof S.length>"u"&&(S=[S]),I=t.a.jb(S,function(O){return P||O===o||O===null||!t.a.f(O._destroy)}),v.has("optionsCaption")&&(S=t.a.f(v.get("optionsCaption")),S!==null&&S!==o&&I.unshift(ue)));var b=!1;if(c.beforeRemove=function(O){a.removeChild(O)},S=E,v.has("optionsAfterRender")&&typeof v.get("optionsAfterRender")=="function"&&(S=function(O,G){E(0,G),t.u.G(v.get("optionsAfterRender"),null,[G[0],O!==ue?O:o])}),t.a.ec(a,I,function(O,G,J){return J.length&&($=!x&&J[0].selected?[t.w.M(J[0])]:[],b=!0),G=a.ownerDocument.createElement("option"),O===ue?(t.a.Bb(G,v.get("optionsCaption")),t.w.cb(G,o)):(J=T(O,v.get("optionsValue"),O),t.w.cb(G,t.a.f(J)),O=T(O,v.get("optionsText"),J),t.a.Bb(G,O)),[G]},c,S),!x){var j;w?j=$.length&&m().length<$.length:j=$.length&&0<=a.selectedIndex?t.w.M(a.options[a.selectedIndex])!==$[0]:$.length||0<=a.selectedIndex,j&&t.u.G(t.a.Fb,null,[a,"change"])}(x||t.S.Ya())&&t.i.ma(a,t.i.H),t.a.wd(a),M&&20<Math.abs(M-a.scrollTop)&&(a.scrollTop=M)}},t.c.options.$b=t.a.g.Z(),t.c.selectedOptions={init:function(a,c,v){function m(){var w=c(),M=[];t.a.D(a.getElementsByTagName("option"),function(S){S.selected&&M.push(t.w.M(S))}),t.m.eb(w,v,"selectedOptions",M)}function T(){var w=t.a.f(c()),M=a.scrollTop;w&&typeof w.length=="number"&&t.a.D(a.getElementsByTagName("option"),function(S){var x=0<=t.a.A(w,t.w.M(S));S.selected!=x&&t.a.Zc(S,x)}),a.scrollTop=M}if(t.a.R(a)!="select")throw Error("selectedOptions binding applies only to SELECT elements");var E;t.i.subscribe(a,t.i.H,function(){E?m():(t.a.B(a,"change",m),E=t.o(T,null,{l:a}))},null,{notifyImmediately:!0})},update:function(){}},t.m.wa.selectedOptions=!0,t.c.style={update:function(a,c){var v=t.a.f(c()||{});t.a.P(v,function(m,T){if(T=t.a.f(T),(T===null||T===o||T===!1)&&(T=""),k)k(a).css(m,T);else if(/^--/.test(m))a.style.setProperty(m,T);else{m=m.replace(/-(\w)/g,function(w,M){return M.toUpperCase()});var E=a.style[m];a.style[m]=T,T===E||a.style[m]!=E||isNaN(T)||(a.style[m]=T+"px")}})}},t.c.submit={init:function(a,c,v,m,T){if(typeof c()!="function")throw Error("The value for a submit binding must be a function");t.a.B(a,"submit",function(E){var w,M=c();try{w=M.call(T.$data,a)}finally{w!==!0&&(E.preventDefault?E.preventDefault():E.returnValue=!1)}})}},t.c.text={init:function(){return{controlsDescendantBindings:!0}},update:function(a,c){t.a.Bb(a,c())}},t.h.ea.text=!0,function(){if(f&&f.navigator){var a=function(I){if(I)return parseFloat(I[1])},c=f.navigator.userAgent,v,m,T,E,w;(v=f.opera&&f.opera.version&&parseInt(f.opera.version()))||(w=a(c.match(/Edge\/([^ ]+)$/)))||a(c.match(/Chrome\/([^ ]+)/))||(m=a(c.match(/Version\/([^ ]+) Safari/)))||(T=a(c.match(/Firefox\/([^ ]+)/)))||(E=t.a.W||a(c.match(/MSIE ([^ ]+)/)))||(E=a(c.match(/rv:([^ )]+)/)))}if(8<=E&&10>E)var M=t.a.g.Z(),S=t.a.g.Z(),x=function(I){var $=this.activeElement;($=$&&t.a.g.get($,S))&&$(I)},P=function(I,$){var b=I.ownerDocument;t.a.g.get(b,M)||(t.a.g.set(b,M,!0),t.a.B(b,"selectionchange",x)),t.a.g.set(I,S,$)};t.c.textInput={init:function(I,$,b){function j(ge,Se){t.a.B(I,ge,Se)}function O(){var ge=t.a.f($());(ge===null||ge===o)&&(ge=""),te!==o&&ge===te?t.a.setTimeout(O,4):I.value!==ge&&(de=!0,I.value=ge,de=!1,z=I.value)}function G(){U||(te=I.value,U=t.a.setTimeout(J,4))}function J(){clearTimeout(U),te=U=o;var ge=I.value;z!==ge&&(z=ge,t.m.eb($(),b,"textInput",ge))}var z=I.value,U,te,he=t.a.W==9?G:J,de=!1;E&&j("keypress",J),11>E&&j("propertychange",function(ge){de||ge.propertyName!=="value"||he()}),E==8&&(j("keyup",J),j("keydown",J)),P&&(P(I,he),j("dragend",G)),(!E||9<=E)&&j("input",he),5>m&&t.a.R(I)==="textarea"?(j("keydown",G),j("paste",G),j("cut",G)):11>v?j("keydown",G):4>T?(j("DOMAutoComplete",J),j("dragdrop",J),j("drop",J)):w&&I.type==="number"&&j("keydown",G),j("change",J),j("blur",J),t.o(O,null,{l:I})}},t.m.wa.textInput=!0,t.c.textinput={preprocess:function(I,$,b){b("textInput",I)}}}(),t.c.uniqueName={init:function(a,c){if(c()){var v="ko_unique_"+ ++t.c.uniqueName.rd;t.a.Yc(a,v)}}},t.c.uniqueName.rd=0,t.c.using={init:function(a,c,v,m,T){var E;return v.has("as")&&(E={as:v.get("as"),noChildContext:v.get("noChildContext")}),c=T.createChildContext(c,E),t.Oa(c,a),{controlsDescendantBindings:!0}}},t.h.ea.using=!0,t.c.value={init:function(a,c,v){var m=t.a.R(a),T=m=="input";if(!T||a.type!="checkbox"&&a.type!="radio"){var E=[],w=v.get("valueUpdate"),M=!1,S=null;w&&(typeof w=="string"?E=[w]:E=t.a.wc(w),t.a.Pa(E,"change"));var x=function(){S=null,M=!1;var $=c(),b=t.w.M(a);t.m.eb($,v,"value",b)};!t.a.W||!T||a.type!="text"||a.autocomplete=="off"||a.form&&a.form.autocomplete=="off"||t.a.A(E,"propertychange")!=-1||(t.a.B(a,"propertychange",function(){M=!0}),t.a.B(a,"focus",function(){M=!1}),t.a.B(a,"blur",function(){M&&x()})),t.a.D(E,function($){var b=x;t.a.Ud($,"after")&&(b=function(){S=t.w.M(a),t.a.setTimeout(x,0)},$=$.substring(5)),t.a.B(a,$,b)});var P;if(P=T&&a.type=="file"?function(){var $=t.a.f(c());$===null||$===o||$===""?a.value="":t.u.G(x)}:function(){var $=t.a.f(c()),b=t.w.M(a);S!==null&&$===S?t.a.setTimeout(P,0):($!==b||b===o)&&(m==="select"?(b=v.get("valueAllowUnset"),t.w.cb(a,$,b),b||$===t.w.M(a)||t.u.G(x)):t.w.cb(a,$))},m==="select"){var I;t.i.subscribe(a,t.i.H,function(){I?v.get("valueAllowUnset")?P():x():(t.a.B(a,"change",x),I=t.o(P,null,{l:a}))},null,{notifyImmediately:!0})}else t.a.B(a,"change",x),t.o(P,null,{l:a})}else t.ib(a,{checkedValue:c})},update:function(){}},t.m.wa.value=!0,t.c.visible={update:function(a,c){var v=t.a.f(c()),m=a.style.display!="none";v&&!m?a.style.display="":!v&&m&&(a.style.display="none")}},t.c.hidden={update:function(a,c){t.c.visible.update(a,function(){return!t.a.f(c())})}},function(a){t.c[a]={init:function(c,v,m,T,E){return t.c.event.init.call(this,c,function(){var w={};return w[a]=v(),w},m,T,E)}}}("click"),t.ca=function(){},t.ca.prototype.renderTemplateSource=function(){throw Error("Override renderTemplateSource")},t.ca.prototype.createJavaScriptEvaluatorBlock=function(){throw Error("Override createJavaScriptEvaluatorBlock")},t.ca.prototype.makeTemplateSource=function(a,c){if(typeof a=="string"){c=c||h;var v=c.getElementById(a);if(!v)throw Error("Cannot find template with ID "+a);return new t.C.F(v)}if(a.nodeType==1||a.nodeType==8)return new t.C.ia(a);throw Error("Unknown template type: "+a)},t.ca.prototype.renderTemplate=function(a,c,v,m){return a=this.makeTemplateSource(a,m),this.renderTemplateSource(a,c,v,m)},t.ca.prototype.isTemplateRewritten=function(a,c){return this.allowTemplateRewriting===!1?!0:this.makeTemplateSource(a,c).data("isRewritten")},t.ca.prototype.rewriteTemplate=function(a,c,v){a=this.makeTemplateSource(a,v),c=c(a.text()),a.text(c),a.data("isRewritten",!0)},t.b("templateEngine",t.ca),t.kc=function(){function a(m,T,E,w){m=t.m.ac(m);for(var M=t.m.Ra,S=0;S<m.length;S++){var x=m[S].key;if(Object.prototype.hasOwnProperty.call(M,x)){var P=M[x];if(typeof P=="function"){if(x=P(m[S].value))throw Error(x)}else if(!P)throw Error("This template engine does not support the '"+x+"' binding within its templates")}}return E="ko.__tr_ambtns(function($context,$element){return(function(){return{ "+t.m.vb(m,{valueAccessors:!0})+" } })()},'"+E.toLowerCase()+"')",w.createJavaScriptEvaluatorBlock(E)+T}var c=/(<([a-z]+\d*)(?:\s+(?!data-bind\s*=\s*)[a-z0-9\-]+(?:=(?:\"[^\"]*\"|\'[^\']*\'|[^>]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,v=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g;return{xd:function(m,T,E){T.isTemplateRewritten(m,E)||T.rewriteTemplate(m,function(w){return t.kc.Ld(w,T)},E)},Ld:function(m,T){return m.replace(c,function(E,w,M,S,x){return a(x,w,M,T)}).replace(v,function(E,w){return a(w,"<!-- ko -->","#comment",T)})},md:function(m,T){return t.aa.Xb(function(E,w){var M=E.nextSibling;M&&M.nodeName.toLowerCase()===T&&t.ib(M,m,w)})}}}(),t.b("__tr_ambtns",t.kc.md),function(){t.C={},t.C.F=function(v){if(this.F=v){var m=t.a.R(v);this.ab=m==="script"?1:m==="textarea"?2:m=="template"&&v.content&&v.content.nodeType===11?3:4}},t.C.F.prototype.text=function(){var v=this.ab===1?"text":this.ab===2?"value":"innerHTML";if(arguments.length==0)return this.F[v];var m=arguments[0];v==="innerHTML"?t.a.fc(this.F,m):this.F[v]=m};var a=t.a.g.Z()+"_";t.C.F.prototype.data=function(v){if(arguments.length===1)return t.a.g.get(this.F,a+v);t.a.g.set(this.F,a+v,arguments[1])};var c=t.a.g.Z();t.C.F.prototype.nodes=function(){var v=this.F;if(arguments.length==0){var m=t.a.g.get(v,c)||{},T=m.lb||(this.ab===3?v.content:this.ab===4?v:o);if(!T||m.jd){var E=this.text();E&&E!==m.bb&&(T=t.a.Md(E,v.ownerDocument),t.a.g.set(v,c,{lb:T,bb:E,jd:!0}))}return T}m=arguments[0],this.ab!==o&&this.text(""),t.a.g.set(v,c,{lb:m})},t.C.ia=function(v){this.F=v},t.C.ia.prototype=new t.C.F,t.C.ia.prototype.constructor=t.C.ia,t.C.ia.prototype.text=function(){if(arguments.length==0){var v=t.a.g.get(this.F,c)||{};return v.bb===o&&v.lb&&(v.bb=v.lb.innerHTML),v.bb}t.a.g.set(this.F,c,{bb:arguments[0]})},t.b("templateSources",t.C),t.b("templateSources.domElement",t.C.F),t.b("templateSources.anonymousTemplate",t.C.ia)}(),function(){function a(S,x,P){var I;for(x=t.h.nextSibling(x);S&&(I=S)!==x;)S=t.h.nextSibling(I),P(I,S)}function c(S,x){if(S.length){var P=S[0],I=S[S.length-1],$=P.parentNode,b=t.ga.instance,j=b.preprocessNode;if(j){if(a(P,I,function(O,G){var J=O.previousSibling,z=j.call(b,O);z&&(O===P&&(P=z[0]||G),O===I&&(I=z[z.length-1]||J))}),S.length=0,!P)return;P===I?S.push(P):(S.push(P,I),t.a.Ua(S,$))}a(P,I,function(O){O.nodeType!==1&&O.nodeType!==8||t.vc(x,O)}),a(P,I,function(O){O.nodeType!==1&&O.nodeType!==8||t.aa.cd(O,[x])}),t.a.Ua(S,$)}}function v(S){return S.nodeType?S:0<S.length?S[0]:null}function m(S,x,P,I,$){$=$||{};var b=(S&&v(S)||P||{}).ownerDocument,j=$.templateEngine||E;if(t.kc.xd(P,j,b),P=j.renderTemplate(P,I,$,b),typeof P.length!="number"||0<P.length&&typeof P[0].nodeType!="number")throw Error("Template engine must return an array of DOM nodes");switch(b=!1,x){case"replaceChildren":t.h.va(S,P),b=!0;break;case"replaceNode":t.a.Xc(S,P),b=!0;break;case"ignoreTargetNode":break;default:throw Error("Unknown renderMode: "+x)}return b&&(c(P,I),$.afterRender&&t.u.G($.afterRender,null,[P,I[$.as||"$data"]]),x=="replaceChildren"&&t.i.ma(S,t.i.H)),P}function T(S,x,P){return t.O(S)?S():typeof S=="function"?S(x,P):S}var E;t.gc=function(S){if(S!=o&&!(S instanceof t.ca))throw Error("templateEngine must inherit from ko.templateEngine");E=S},t.dc=function(S,x,P,I,$){if(P=P||{},(P.templateEngine||E)==o)throw Error("Set a template engine before calling renderTemplate");if($=$||"replaceChildren",I){var b=v(I);return t.$(function(){var O=x&&x instanceof t.fa?x:new t.fa(x,null,null,null,{exportDependencies:!0}),j=T(S,O.$data,O),O=m(I,$,j,O,P);$=="replaceNode"&&(I=O,b=v(I))},null,{Sa:function(){return!b||!t.a.Sb(b)},l:b&&$=="replaceNode"?b.parentNode:b})}return t.aa.Xb(function(j){t.dc(S,x,P,j,"replaceNode")})},t.Qd=function(S,x,P,I,$){function b(te,he){t.u.G(t.a.ec,null,[I,te,O,P,j,he]),t.i.ma(I,t.i.H)}function j(te,he){c(he,G),P.afterRender&&P.afterRender(he,te),G=null}function O(te,he){G=$.createChildContext(te,{as:J,noChildContext:P.noChildContext,extend:function(ge){ge.$index=he,J&&(ge[J+"Index"]=he)}});var de=T(S,te,G);return m(I,"ignoreTargetNode",de,G,P)}var G,J=P.as,z=P.includeDestroyed===!1||t.options.foreachHidesDestroyed&&!P.includeDestroyed;if(z||P.beforeRemove||!t.Pc(x))return t.$(function(){var te=t.a.f(x)||[];typeof te.length>"u"&&(te=[te]),z&&(te=t.a.jb(te,function(he){return he===o||he===null||!t.a.f(he._destroy)})),b(te)},null,{l:I});b(x.v());var U=x.subscribe(function(te){b(x(),te)},null,"arrayChange");return U.l(I),U};var w=t.a.g.Z(),M=t.a.g.Z();t.c.template={init:function(S,x){var P=t.a.f(x());if(typeof P=="string"||"name"in P)t.h.Ea(S);else if("nodes"in P){if(P=P.nodes||[],t.O(P))throw Error('The "nodes" option must be a plain, non-observable array.');var I=P[0]&&P[0].parentNode;I&&t.a.g.get(I,M)||(I=t.a.Yb(P),t.a.g.set(I,M,!0)),new t.C.ia(S).nodes(I)}else if(P=t.h.childNodes(S),0<P.length)I=t.a.Yb(P),new t.C.ia(S).nodes(I);else throw Error("Anonymous template defined, but no template content was provided");return{controlsDescendantBindings:!0}},update:function(S,x,P,I,$){var b=x();x=t.a.f(b),P=!0,I=null,typeof x=="string"?x={}:(b="name"in x?x.name:S,"if"in x&&(P=t.a.f(x.if)),P&&"ifnot"in x&&(P=!t.a.f(x.ifnot)),P&&!b&&(P=!1)),"foreach"in x?I=t.Qd(b,P&&x.foreach||[],x,S,$):P?(P=$,"data"in x&&(P=$.createChildContext(x.data,{as:x.as,noChildContext:x.noChildContext,exportDependencies:!0})),I=t.dc(b,P,x,S)):t.h.Ea(S),$=I,(x=t.a.g.get(S,w))&&typeof x.s=="function"&&x.s(),t.a.g.set(S,w,!$||$.ja&&!$.ja()?o:$)}},t.m.Ra.template=function(S){return S=t.m.ac(S),S.length==1&&S[0].unknown||t.m.Id(S,"name")?null:"This template engine does not support anonymous templates nested within its templates"},t.h.ea.template=!0}(),t.b("setTemplateEngine",t.gc),t.b("renderTemplate",t.dc),t.a.Kc=function(a,c,v){if(a.length&&c.length){var m,T,E,w,M;for(m=T=0;(!v||m<v)&&(w=a[T]);++T){for(E=0;M=c[E];++E)if(w.value===M.value){w.moved=M.index,M.moved=w.index,c.splice(E,1),m=E=0;break}m+=E}}},t.a.Pb=function(){function a(c,v,m,T,E){var w=Math.min,M=Math.max,S=[],x,P=c.length,I,$=v.length,b=$-P||1,j=P+$+1,O,G,J;for(x=0;x<=P;x++)for(G=O,S.push(O=[]),J=w($,x+b),I=M(0,x-1);I<=J;I++)O[I]=I?x?c[x-1]===v[I-1]?G[I-1]:w(G[I]||j,O[I-1]||j)+1:I+1:x+1;for(w=[],M=[],b=[],x=P,I=$;x||I;)$=S[x][I]-1,I&&$===S[x][I-1]?M.push(w[w.length]={status:m,value:v[--I],index:I}):x&&$===S[x-1][I]?b.push(w[w.length]={status:T,value:c[--x],index:x}):(--I,--x,E.sparse||w.push({status:"retained",value:v[I]}));return t.a.Kc(b,M,!E.dontLimitMoves&&10*P),w.reverse()}return function(c,v,m){return m=typeof m=="boolean"?{dontLimitMoves:m}:m||{},c=c||[],v=v||[],c.length<v.length?a(c,v,"added","deleted",m):a(v,c,"deleted","added",m)}}(),t.b("utils.compareArrays",t.a.Pb),function(){function a(m,T,E,w,M){var S=[],x=t.$(function(){var P=T(E,M,t.a.Ua(S,m))||[];0<S.length&&(t.a.Xc(S,P),w&&t.u.G(w,null,[E,P,M])),S.length=0,t.a.Nb(S,P)},null,{l:m,Sa:function(){return!t.a.kd(S)}});return{Y:S,$:x.ja()?x:o}}var c=t.a.g.Z(),v=t.a.g.Z();t.a.ec=function(m,T,E,w,M,S){function x(ke){de={Aa:ke,pb:t.ta(G++)},j.push(de),b||he.push(de)}function P(ke){de=$[ke],G!==de.pb.v()&&te.push(de),de.pb(G++),t.a.Ua(de.Y,m),j.push(de)}function I(ke,xe){if(ke)for(var Fe=0,nt=xe.length;Fe<nt;Fe++)t.a.D(xe[Fe].Y,function(lt){ke(lt,Fe,xe[Fe].Aa)})}T=T||[],typeof T.length>"u"&&(T=[T]),w=w||{};var $=t.a.g.get(m,c),b=!$,j=[],O=0,G=0,J=[],z=[],U=[],te=[],he=[],de,ge=0;if(b)t.a.D(T,x);else{if(!S||$&&$._countWaitingForRemove){var Se=t.a.Mb($,function(ke){return ke.Aa});S=t.a.Pb(Se,T,{dontLimitMoves:w.dontLimitMoves,sparse:!0})}for(var Se=0,He,ze,Ye;He=S[Se];Se++)switch(ze=He.moved,Ye=He.index,He.status){case"deleted":for(;O<Ye;)P(O++);ze===o&&(de=$[O],de.$&&(de.$.s(),de.$=o),t.a.Ua(de.Y,m).length&&(w.beforeRemove&&(j.push(de),ge++,de.Aa===v?de=null:U.push(de)),de&&J.push.apply(J,de.Y))),O++;break;case"added":for(;G<Ye;)P(O++);ze!==o?(z.push(j.length),P(ze)):x(He.value)}for(;G<T.length;)P(O++);j._countWaitingForRemove=ge}t.a.g.set(m,c,j),I(w.beforeMove,te),t.a.D(J,w.beforeRemove?t.oa:t.removeNode);var qe,$e,Ge;try{Ge=m.ownerDocument.activeElement}catch{}if(z.length)for(;(Se=z.shift())!=o;){for(de=j[Se],qe=o;Se;)if(($e=j[--Se].Y)&&$e.length){qe=$e[$e.length-1];break}for(T=0;O=de.Y[T];qe=O,T++)t.h.Wb(m,O,qe)}for(Se=0;de=j[Se];Se++){for(de.Y||t.a.extend(de,a(m,E,de.Aa,M,de.pb)),T=0;O=de.Y[T];qe=O,T++)t.h.Wb(m,O,qe);!de.Ed&&M&&(M(de.Aa,de.Y,de.pb),de.Ed=!0,qe=de.Y[de.Y.length-1])}for(Ge&&m.ownerDocument.activeElement!=Ge&&Ge.focus(),I(w.beforeRemove,U),Se=0;Se<U.length;++Se)U[Se].Aa=v;I(w.afterMove,te),I(w.afterAdd,he)}}(),t.b("utils.setDomNodeChildrenFromArrayMapping",t.a.ec),t.ba=function(){this.allowTemplateRewriting=!1},t.ba.prototype=new t.ca,t.ba.prototype.constructor=t.ba,t.ba.prototype.renderTemplateSource=function(a,c,v,m){return(c=!(9>t.a.W)&&a.nodes?a.nodes():null)?t.a.la(c.cloneNode(!0).childNodes):(a=a.text(),t.a.ua(a,m))},t.ba.Ma=new t.ba,t.gc(t.ba.Ma),t.b("nativeTemplateEngine",t.ba),function(){t.$a=function(){var c=this.Hd=function(){if(!k||!k.tmpl)return 0;try{if(0<=k.tmpl.tag.tmpl.open.toString().indexOf("__"))return 2}catch{}return 1}();this.renderTemplateSource=function(v,m,T,E){if(E=E||h,T=T||{},2>c)throw Error("Your version of jQuery.tmpl is too old. Please upgrade to jQuery.tmpl 1.0.0pre or later.");var w=v.data("precompiled");return w||(w=v.text()||"",w=k.template(null,"{{ko_with $item.koBindingContext}}"+w+"{{/ko_with}}"),v.data("precompiled",w)),v=[m.$data],m=k.extend({koBindingContext:m},T.templateOptions),m=k.tmpl(w,v,m),m.appendTo(E.createElement("div")),k.fragments={},m},this.createJavaScriptEvaluatorBlock=function(v){return"{{ko_code ((function() { return "+v+" })()) }}"},this.addTemplate=function(v,m){h.write("<script type='text/html' id='"+v+"'>"+m+"<\/script>")},0<c&&(k.tmpl.tag.ko_code={open:"__.push($1 || '');"},k.tmpl.tag.ko_with={open:"with($1) {",close:"} "})},t.$a.prototype=new t.ca,t.$a.prototype.constructor=t.$a;var a=new t.$a;0<a.Hd&&t.gc(a),t.b("jqueryTmplTemplateEngine",t.$a)}()})})()})()})(_n,_n.exports);const Ei=_n.exports;function Ar(){var i={isMenuActive:Ei.observable(!1),toggelMenuAction:()=>{i.isMenuActive(!i.isMenuActive())}};return i}function kr(){const i=document.querySelector(".nav");ln(i)&&Ei.applyBindings(Ar(),i)}var Mi={exports:{}};/*!
 * jQuery JavaScript Library v3.7.1
 * https://jquery.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2023-08-28T13:37Z
 */(function(i){(function(s,o){i.exports=s.document?o(s,!0):function(f){if(!f.document)throw new Error("jQuery requires a window with a document");return o(f)}})(typeof window<"u"?window:Mr,function(s,o){var f=[],h=Object.getPrototypeOf,g=f.slice,k=f.flat?function(e){return f.flat.call(e)}:function(e){return f.concat.apply([],e)},D=f.push,L=f.indexOf,q={},oe=q.toString,ie=q.hasOwnProperty,ae=ie.toString,Z=ae.call(Object),ne={},ee=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},t=function(n){return n!=null&&n===n.window},_=s.document,F={type:!0,src:!0,nonce:!0,noModule:!0};function Y(e,n,r){r=r||_;var u,d,p=r.createElement("script");if(p.text=e,n)for(u in F)d=n[u]||n.getAttribute&&n.getAttribute(u),d&&p.setAttribute(u,d);r.head.appendChild(p).parentNode.removeChild(p)}function re(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?q[oe.call(e)]||"object":typeof e}var ce="3.7.1",se=/HTML$/i,l=function(e,n){return new l.fn.init(e,n)};l.fn=l.prototype={jquery:ce,constructor:l,length:0,toArray:function(){return g.call(this)},get:function(e){return e==null?g.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=l.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return l.each(this,e)},map:function(e){return this.pushStack(l.map(this,function(n,r){return e.call(n,r,n)}))},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(l.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(l.grep(this,function(e,n){return n%2}))},eq:function(e){var n=this.length,r=+e+(e<0?n:0);return this.pushStack(r>=0&&r<n?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:D,sort:f.sort,splice:f.splice},l.extend=l.fn.extend=function(){var e,n,r,u,d,p,y=arguments[0]||{},N=1,A=arguments.length,B=!1;for(typeof y=="boolean"&&(B=y,y=arguments[N]||{},N++),typeof y!="object"&&!ee(y)&&(y={}),N===A&&(y=this,N--);N<A;N++)if((e=arguments[N])!=null)for(n in e)u=e[n],!(n==="__proto__"||y===u)&&(B&&u&&(l.isPlainObject(u)||(d=Array.isArray(u)))?(r=y[n],d&&!Array.isArray(r)?p=[]:!d&&!l.isPlainObject(r)?p={}:p=r,d=!1,y[n]=l.extend(B,p,u)):u!==void 0&&(y[n]=u));return y},l.extend({expando:"jQuery"+(ce+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,r;return!e||oe.call(e)!=="[object Object]"?!1:(n=h(e),n?(r=ie.call(n,"constructor")&&n.constructor,typeof r=="function"&&ae.call(r)===Z):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,r){Y(e,{nonce:n&&n.nonce},r)},each:function(e,n){var r,u=0;if(be(e))for(r=e.length;u<r&&n.call(e[u],u,e[u])!==!1;u++);else for(u in e)if(n.call(e[u],u,e[u])===!1)break;return e},text:function(e){var n,r="",u=0,d=e.nodeType;if(!d)for(;n=e[u++];)r+=l.text(n);return d===1||d===11?e.textContent:d===9?e.documentElement.textContent:d===3||d===4?e.nodeValue:r},makeArray:function(e,n){var r=n||[];return e!=null&&(be(Object(e))?l.merge(r,typeof e=="string"?[e]:e):D.call(r,e)),r},inArray:function(e,n,r){return n==null?-1:L.call(n,e,r)},isXMLDoc:function(e){var n=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!se.test(n||r&&r.nodeName||"HTML")},merge:function(e,n){for(var r=+n.length,u=0,d=e.length;u<r;u++)e[d++]=n[u];return e.length=d,e},grep:function(e,n,r){for(var u,d=[],p=0,y=e.length,N=!r;p<y;p++)u=!n(e[p],p),u!==N&&d.push(e[p]);return d},map:function(e,n,r){var u,d,p=0,y=[];if(be(e))for(u=e.length;p<u;p++)d=n(e[p],p,r),d!=null&&y.push(d);else for(p in e)d=n(e[p],p,r),d!=null&&y.push(d);return k(y)},guid:1,support:ne}),typeof Symbol=="function"&&(l.fn[Symbol.iterator]=f[Symbol.iterator]),l.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){q["[object "+n+"]"]=n.toLowerCase()});function be(e){var n=!!e&&"length"in e&&e.length,r=re(e);return ee(e)||t(e)?!1:r==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function pe(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var Oe=f.pop,me=f.sort,ue=f.splice,a="[\\x20\\t\\r\\n\\f]",c=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g");l.contains=function(e,n){var r=n&&n.parentNode;return e===r||!!(r&&r.nodeType===1&&(e.contains?e.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16))};var v=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function m(e,n){return n?e==="\0"?"\uFFFD":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}l.escapeSelector=function(e){return(e+"").replace(v,m)};var T=_,E=D;(function(){var e,n,r,u,d,p=E,y,N,A,B,X,Q=l.expando,V=0,le=0,Me=Zt(),Ie=Zt(),De=Zt(),We=Zt(),Ve=function(C,H){return C===H&&(d=!0),0},ut="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ft="(?:\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ne="\\["+a+"*("+ft+")(?:"+a+"*([*^$|!~]?=)"+a+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ft+"))|)"+a+"*\\]",At=":("+ft+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ne+")*)|.*)\\)|)",je=new RegExp(a+"+","g"),Re=new RegExp("^"+a+"*,"+a+"*"),qt=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),Cn=new RegExp(a+"|>"),ct=new RegExp(At),Vt=new RegExp("^"+ft+"$"),dt={ID:new RegExp("^#("+ft+")"),CLASS:new RegExp("^\\.("+ft+")"),TAG:new RegExp("^("+ft+"|[*])"),ATTR:new RegExp("^"+Ne),PSEUDO:new RegExp("^"+At),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+ut+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},xt=/^(?:input|select|textarea|button)$/i,Tt=/^h\d$/i,rt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,wn=/[+~]/,vt=new RegExp("\\\\[\\da-fA-F]{1,6}"+a+"?|\\\\([^\\r\\n\\f])","g"),yt=function(C,H){var R="0x"+C.slice(1)-65536;return H||(R<0?String.fromCharCode(R+65536):String.fromCharCode(R>>10|55296,R&1023|56320))},br=function(){St()},xr=tn(function(C){return C.disabled===!0&&pe(C,"fieldset")},{dir:"parentNode",next:"legend"});function Tr(){try{return y.activeElement}catch{}}try{p.apply(f=g.call(T.childNodes),T.childNodes),f[T.childNodes.length].nodeType}catch{p={apply:function(H,R){E.apply(H,g.call(R))},call:function(H){E.apply(H,g.call(arguments,1))}}}function _e(C,H,R,W){var K,fe,ve,Te,ye,Le,Ee,Ae=H&&H.ownerDocument,Pe=H?H.nodeType:9;if(R=R||[],typeof C!="string"||!C||Pe!==1&&Pe!==9&&Pe!==11)return R;if(!W&&(St(H),H=H||y,A)){if(Pe!==11&&(ye=rt.exec(C)))if(K=ye[1]){if(Pe===9)if(ve=H.getElementById(K)){if(ve.id===K)return p.call(R,ve),R}else return R;else if(Ae&&(ve=Ae.getElementById(K))&&_e.contains(H,ve)&&ve.id===K)return p.call(R,ve),R}else{if(ye[2])return p.apply(R,H.getElementsByTagName(C)),R;if((K=ye[3])&&H.getElementsByClassName)return p.apply(R,H.getElementsByClassName(K)),R}if(!We[C+" "]&&(!B||!B.test(C))){if(Ee=C,Ae=H,Pe===1&&(Cn.test(C)||qt.test(C))){for(Ae=wn.test(C)&&En(H.parentNode)||H,(Ae!=H||!ne.scope)&&((Te=H.getAttribute("id"))?Te=l.escapeSelector(Te):H.setAttribute("id",Te=Q)),Le=Gt(C),fe=Le.length;fe--;)Le[fe]=(Te?"#"+Te:":scope")+" "+en(Le[fe]);Ee=Le.join(",")}try{return p.apply(R,Ae.querySelectorAll(Ee)),R}catch{We(C,!0)}finally{Te===Q&&H.removeAttribute("id")}}}return bi(C.replace(c,"$1"),H,R,W)}function Zt(){var C=[];function H(R,W){return C.push(R+" ")>n.cacheLength&&delete H[C.shift()],H[R+" "]=W}return H}function ot(C){return C[Q]=!0,C}function jt(C){var H=y.createElement("fieldset");try{return!!C(H)}catch{return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Sr(C){return function(H){return pe(H,"input")&&H.type===C}}function Cr(C){return function(H){return(pe(H,"input")||pe(H,"button"))&&H.type===C}}function vi(C){return function(H){return"form"in H?H.parentNode&&H.disabled===!1?"label"in H?"label"in H.parentNode?H.parentNode.disabled===C:H.disabled===C:H.isDisabled===C||H.isDisabled!==!C&&xr(H)===C:H.disabled===C:"label"in H?H.disabled===C:!1}}function kt(C){return ot(function(H){return H=+H,ot(function(R,W){for(var K,fe=C([],R.length,H),ve=fe.length;ve--;)R[K=fe[ve]]&&(R[K]=!(W[K]=R[K]))})})}function En(C){return C&&typeof C.getElementsByTagName<"u"&&C}function St(C){var H,R=C?C.ownerDocument||C:T;return R==y||R.nodeType!==9||!R.documentElement||(y=R,N=y.documentElement,A=!l.isXMLDoc(y),X=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&T!=y&&(H=y.defaultView)&&H.top!==H&&H.addEventListener("unload",br),ne.getById=jt(function(W){return N.appendChild(W).id=l.expando,!y.getElementsByName||!y.getElementsByName(l.expando).length}),ne.disconnectedMatch=jt(function(W){return X.call(W,"*")}),ne.scope=jt(function(){return y.querySelectorAll(":scope")}),ne.cssHas=jt(function(){try{return y.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),ne.getById?(n.filter.ID=function(W){var K=W.replace(vt,yt);return function(fe){return fe.getAttribute("id")===K}},n.find.ID=function(W,K){if(typeof K.getElementById<"u"&&A){var fe=K.getElementById(W);return fe?[fe]:[]}}):(n.filter.ID=function(W){var K=W.replace(vt,yt);return function(fe){var ve=typeof fe.getAttributeNode<"u"&&fe.getAttributeNode("id");return ve&&ve.value===K}},n.find.ID=function(W,K){if(typeof K.getElementById<"u"&&A){var fe,ve,Te,ye=K.getElementById(W);if(ye){if(fe=ye.getAttributeNode("id"),fe&&fe.value===W)return[ye];for(Te=K.getElementsByName(W),ve=0;ye=Te[ve++];)if(fe=ye.getAttributeNode("id"),fe&&fe.value===W)return[ye]}return[]}}),n.find.TAG=function(W,K){return typeof K.getElementsByTagName<"u"?K.getElementsByTagName(W):K.querySelectorAll(W)},n.find.CLASS=function(W,K){if(typeof K.getElementsByClassName<"u"&&A)return K.getElementsByClassName(W)},B=[],jt(function(W){var K;N.appendChild(W).innerHTML="<a id='"+Q+"' href='' disabled='disabled'></a><select id='"+Q+"-\r\\' disabled='disabled'><option selected=''></option></select>",W.querySelectorAll("[selected]").length||B.push("\\["+a+"*(?:value|"+ut+")"),W.querySelectorAll("[id~="+Q+"-]").length||B.push("~="),W.querySelectorAll("a#"+Q+"+*").length||B.push(".#.+[+~]"),W.querySelectorAll(":checked").length||B.push(":checked"),K=y.createElement("input"),K.setAttribute("type","hidden"),W.appendChild(K).setAttribute("name","D"),N.appendChild(W).disabled=!0,W.querySelectorAll(":disabled").length!==2&&B.push(":enabled",":disabled"),K=y.createElement("input"),K.setAttribute("name",""),W.appendChild(K),W.querySelectorAll("[name='']").length||B.push("\\["+a+"*name"+a+"*="+a+`*(?:''|"")`)}),ne.cssHas||B.push(":has"),B=B.length&&new RegExp(B.join("|")),Ve=function(W,K){if(W===K)return d=!0,0;var fe=!W.compareDocumentPosition-!K.compareDocumentPosition;return fe||(fe=(W.ownerDocument||W)==(K.ownerDocument||K)?W.compareDocumentPosition(K):1,fe&1||!ne.sortDetached&&K.compareDocumentPosition(W)===fe?W===y||W.ownerDocument==T&&_e.contains(T,W)?-1:K===y||K.ownerDocument==T&&_e.contains(T,K)?1:u?L.call(u,W)-L.call(u,K):0:fe&4?-1:1)}),y}_e.matches=function(C,H){return _e(C,null,null,H)},_e.matchesSelector=function(C,H){if(St(C),A&&!We[H+" "]&&(!B||!B.test(H)))try{var R=X.call(C,H);if(R||ne.disconnectedMatch||C.document&&C.document.nodeType!==11)return R}catch{We(H,!0)}return _e(H,y,null,[C]).length>0},_e.contains=function(C,H){return(C.ownerDocument||C)!=y&&St(C),l.contains(C,H)},_e.attr=function(C,H){(C.ownerDocument||C)!=y&&St(C);var R=n.attrHandle[H.toLowerCase()],W=R&&ie.call(n.attrHandle,H.toLowerCase())?R(C,H,!A):void 0;return W!==void 0?W:C.getAttribute(H)},_e.error=function(C){throw new Error("Syntax error, unrecognized expression: "+C)},l.uniqueSort=function(C){var H,R=[],W=0,K=0;if(d=!ne.sortStable,u=!ne.sortStable&&g.call(C,0),me.call(C,Ve),d){for(;H=C[K++];)H===C[K]&&(W=R.push(K));for(;W--;)ue.call(C,R[W],1)}return u=null,C},l.fn.uniqueSort=function(){return this.pushStack(l.uniqueSort(g.apply(this)))},n=l.expr={cacheLength:50,createPseudo:ot,match:dt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(C){return C[1]=C[1].replace(vt,yt),C[3]=(C[3]||C[4]||C[5]||"").replace(vt,yt),C[2]==="~="&&(C[3]=" "+C[3]+" "),C.slice(0,4)},CHILD:function(C){return C[1]=C[1].toLowerCase(),C[1].slice(0,3)==="nth"?(C[3]||_e.error(C[0]),C[4]=+(C[4]?C[5]+(C[6]||1):2*(C[3]==="even"||C[3]==="odd")),C[5]=+(C[7]+C[8]||C[3]==="odd")):C[3]&&_e.error(C[0]),C},PSEUDO:function(C){var H,R=!C[6]&&C[2];return dt.CHILD.test(C[0])?null:(C[3]?C[2]=C[4]||C[5]||"":R&&ct.test(R)&&(H=Gt(R,!0))&&(H=R.indexOf(")",R.length-H)-R.length)&&(C[0]=C[0].slice(0,H),C[2]=R.slice(0,H)),C.slice(0,3))}},filter:{TAG:function(C){var H=C.replace(vt,yt).toLowerCase();return C==="*"?function(){return!0}:function(R){return pe(R,H)}},CLASS:function(C){var H=Me[C+" "];return H||(H=new RegExp("(^|"+a+")"+C+"("+a+"|$)"))&&Me(C,function(R){return H.test(typeof R.className=="string"&&R.className||typeof R.getAttribute<"u"&&R.getAttribute("class")||"")})},ATTR:function(C,H,R){return function(W){var K=_e.attr(W,C);return K==null?H==="!=":H?(K+="",H==="="?K===R:H==="!="?K!==R:H==="^="?R&&K.indexOf(R)===0:H==="*="?R&&K.indexOf(R)>-1:H==="$="?R&&K.slice(-R.length)===R:H==="~="?(" "+K.replace(je," ")+" ").indexOf(R)>-1:H==="|="?K===R||K.slice(0,R.length+1)===R+"-":!1):!0}},CHILD:function(C,H,R,W,K){var fe=C.slice(0,3)!=="nth",ve=C.slice(-4)!=="last",Te=H==="of-type";return W===1&&K===0?function(ye){return!!ye.parentNode}:function(ye,Le,Ee){var Ae,Pe,Ce,Be,Qe,Xe=fe!==ve?"nextSibling":"previousSibling",at=ye.parentNode,pt=Te&&ye.nodeName.toLowerCase(),_t=!Ee&&!Te,Ue=!1;if(at){if(fe){for(;Xe;){for(Ce=ye;Ce=Ce[Xe];)if(Te?pe(Ce,pt):Ce.nodeType===1)return!1;Qe=Xe=C==="only"&&!Qe&&"nextSibling"}return!0}if(Qe=[ve?at.firstChild:at.lastChild],ve&&_t){for(Pe=at[Q]||(at[Q]={}),Ae=Pe[C]||[],Be=Ae[0]===V&&Ae[1],Ue=Be&&Ae[2],Ce=Be&&at.childNodes[Be];Ce=++Be&&Ce&&Ce[Xe]||(Ue=Be=0)||Qe.pop();)if(Ce.nodeType===1&&++Ue&&Ce===ye){Pe[C]=[V,Be,Ue];break}}else if(_t&&(Pe=ye[Q]||(ye[Q]={}),Ae=Pe[C]||[],Be=Ae[0]===V&&Ae[1],Ue=Be),Ue===!1)for(;(Ce=++Be&&Ce&&Ce[Xe]||(Ue=Be=0)||Qe.pop())&&!((Te?pe(Ce,pt):Ce.nodeType===1)&&++Ue&&(_t&&(Pe=Ce[Q]||(Ce[Q]={}),Pe[C]=[V,Ue]),Ce===ye)););return Ue-=K,Ue===W||Ue%W===0&&Ue/W>=0}}},PSEUDO:function(C,H){var R,W=n.pseudos[C]||n.setFilters[C.toLowerCase()]||_e.error("unsupported pseudo: "+C);return W[Q]?W(H):W.length>1?(R=[C,C,"",H],n.setFilters.hasOwnProperty(C.toLowerCase())?ot(function(K,fe){for(var ve,Te=W(K,H),ye=Te.length;ye--;)ve=L.call(K,Te[ye]),K[ve]=!(fe[ve]=Te[ye])}):function(K){return W(K,0,R)}):W}},pseudos:{not:ot(function(C){var H=[],R=[],W=Dn(C.replace(c,"$1"));return W[Q]?ot(function(K,fe,ve,Te){for(var ye,Le=W(K,null,Te,[]),Ee=K.length;Ee--;)(ye=Le[Ee])&&(K[Ee]=!(fe[Ee]=ye))}):function(K,fe,ve){return H[0]=K,W(H,null,ve,R),H[0]=null,!R.pop()}}),has:ot(function(C){return function(H){return _e(C,H).length>0}}),contains:ot(function(C){return C=C.replace(vt,yt),function(H){return(H.textContent||l.text(H)).indexOf(C)>-1}}),lang:ot(function(C){return Vt.test(C||"")||_e.error("unsupported lang: "+C),C=C.replace(vt,yt).toLowerCase(),function(H){var R;do if(R=A?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return R=R.toLowerCase(),R===C||R.indexOf(C+"-")===0;while((H=H.parentNode)&&H.nodeType===1);return!1}}),target:function(C){var H=s.location&&s.location.hash;return H&&H.slice(1)===C.id},root:function(C){return C===N},focus:function(C){return C===Tr()&&y.hasFocus()&&!!(C.type||C.href||~C.tabIndex)},enabled:vi(!1),disabled:vi(!0),checked:function(C){return pe(C,"input")&&!!C.checked||pe(C,"option")&&!!C.selected},selected:function(C){return C.parentNode&&C.parentNode.selectedIndex,C.selected===!0},empty:function(C){for(C=C.firstChild;C;C=C.nextSibling)if(C.nodeType<6)return!1;return!0},parent:function(C){return!n.pseudos.empty(C)},header:function(C){return Tt.test(C.nodeName)},input:function(C){return xt.test(C.nodeName)},button:function(C){return pe(C,"input")&&C.type==="button"||pe(C,"button")},text:function(C){var H;return pe(C,"input")&&C.type==="text"&&((H=C.getAttribute("type"))==null||H.toLowerCase()==="text")},first:kt(function(){return[0]}),last:kt(function(C,H){return[H-1]}),eq:kt(function(C,H,R){return[R<0?R+H:R]}),even:kt(function(C,H){for(var R=0;R<H;R+=2)C.push(R);return C}),odd:kt(function(C,H){for(var R=1;R<H;R+=2)C.push(R);return C}),lt:kt(function(C,H,R){var W;for(R<0?W=R+H:R>H?W=H:W=R;--W>=0;)C.push(W);return C}),gt:kt(function(C,H,R){for(var W=R<0?R+H:R;++W<H;)C.push(W);return C})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=Sr(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=Cr(e);function yi(){}yi.prototype=n.filters=n.pseudos,n.setFilters=new yi;function Gt(C,H){var R,W,K,fe,ve,Te,ye,Le=Ie[C+" "];if(Le)return H?0:Le.slice(0);for(ve=C,Te=[],ye=n.preFilter;ve;){(!R||(W=Re.exec(ve)))&&(W&&(ve=ve.slice(W[0].length)||ve),Te.push(K=[])),R=!1,(W=qt.exec(ve))&&(R=W.shift(),K.push({value:R,type:W[0].replace(c," ")}),ve=ve.slice(R.length));for(fe in n.filter)(W=dt[fe].exec(ve))&&(!ye[fe]||(W=ye[fe](W)))&&(R=W.shift(),K.push({value:R,type:fe,matches:W}),ve=ve.slice(R.length));if(!R)break}return H?ve.length:ve?_e.error(C):Ie(C,Te).slice(0)}function en(C){for(var H=0,R=C.length,W="";H<R;H++)W+=C[H].value;return W}function tn(C,H,R){var W=H.dir,K=H.next,fe=K||W,ve=R&&fe==="parentNode",Te=le++;return H.first?function(ye,Le,Ee){for(;ye=ye[W];)if(ye.nodeType===1||ve)return C(ye,Le,Ee);return!1}:function(ye,Le,Ee){var Ae,Pe,Ce=[V,Te];if(Ee){for(;ye=ye[W];)if((ye.nodeType===1||ve)&&C(ye,Le,Ee))return!0}else for(;ye=ye[W];)if(ye.nodeType===1||ve)if(Pe=ye[Q]||(ye[Q]={}),K&&pe(ye,K))ye=ye[W]||ye;else{if((Ae=Pe[fe])&&Ae[0]===V&&Ae[1]===Te)return Ce[2]=Ae[2];if(Pe[fe]=Ce,Ce[2]=C(ye,Le,Ee))return!0}return!1}}function Mn(C){return C.length>1?function(H,R,W){for(var K=C.length;K--;)if(!C[K](H,R,W))return!1;return!0}:C[0]}function wr(C,H,R){for(var W=0,K=H.length;W<K;W++)_e(C,H[W],R);return R}function nn(C,H,R,W,K){for(var fe,ve=[],Te=0,ye=C.length,Le=H!=null;Te<ye;Te++)(fe=C[Te])&&(!R||R(fe,W,K))&&(ve.push(fe),Le&&H.push(Te));return ve}function An(C,H,R,W,K,fe){return W&&!W[Q]&&(W=An(W)),K&&!K[Q]&&(K=An(K,fe)),ot(function(ve,Te,ye,Le){var Ee,Ae,Pe,Ce,Be=[],Qe=[],Xe=Te.length,at=ve||wr(H||"*",ye.nodeType?[ye]:ye,[]),pt=C&&(ve||!H)?nn(at,Be,C,ye,Le):at;if(R?(Ce=K||(ve?C:Xe||W)?[]:Te,R(pt,Ce,ye,Le)):Ce=pt,W)for(Ee=nn(Ce,Qe),W(Ee,[],ye,Le),Ae=Ee.length;Ae--;)(Pe=Ee[Ae])&&(Ce[Qe[Ae]]=!(pt[Qe[Ae]]=Pe));if(ve){if(K||C){if(K){for(Ee=[],Ae=Ce.length;Ae--;)(Pe=Ce[Ae])&&Ee.push(pt[Ae]=Pe);K(null,Ce=[],Ee,Le)}for(Ae=Ce.length;Ae--;)(Pe=Ce[Ae])&&(Ee=K?L.call(ve,Pe):Be[Ae])>-1&&(ve[Ee]=!(Te[Ee]=Pe))}}else Ce=nn(Ce===Te?Ce.splice(Xe,Ce.length):Ce),K?K(null,Te,Ce,Le):p.apply(Te,Ce)})}function kn(C){for(var H,R,W,K=C.length,fe=n.relative[C[0].type],ve=fe||n.relative[" "],Te=fe?1:0,ye=tn(function(Ae){return Ae===H},ve,!0),Le=tn(function(Ae){return L.call(H,Ae)>-1},ve,!0),Ee=[function(Ae,Pe,Ce){var Be=!fe&&(Ce||Pe!=r)||((H=Pe).nodeType?ye(Ae,Pe,Ce):Le(Ae,Pe,Ce));return H=null,Be}];Te<K;Te++)if(R=n.relative[C[Te].type])Ee=[tn(Mn(Ee),R)];else{if(R=n.filter[C[Te].type].apply(null,C[Te].matches),R[Q]){for(W=++Te;W<K&&!n.relative[C[W].type];W++);return An(Te>1&&Mn(Ee),Te>1&&en(C.slice(0,Te-1).concat({value:C[Te-2].type===" "?"*":""})).replace(c,"$1"),R,Te<W&&kn(C.slice(Te,W)),W<K&&kn(C=C.slice(W)),W<K&&en(C))}Ee.push(R)}return Mn(Ee)}function Er(C,H){var R=H.length>0,W=C.length>0,K=function(fe,ve,Te,ye,Le){var Ee,Ae,Pe,Ce=0,Be="0",Qe=fe&&[],Xe=[],at=r,pt=fe||W&&n.find.TAG("*",Le),_t=V+=at==null?1:Math.random()||.1,Ue=pt.length;for(Le&&(r=ve==y||ve||Le);Be!==Ue&&(Ee=pt[Be])!=null;Be++){if(W&&Ee){for(Ae=0,!ve&&Ee.ownerDocument!=y&&(St(Ee),Te=!A);Pe=C[Ae++];)if(Pe(Ee,ve||y,Te)){p.call(ye,Ee);break}Le&&(V=_t)}R&&((Ee=!Pe&&Ee)&&Ce--,fe&&Qe.push(Ee))}if(Ce+=Be,R&&Be!==Ce){for(Ae=0;Pe=H[Ae++];)Pe(Qe,Xe,ve,Te);if(fe){if(Ce>0)for(;Be--;)Qe[Be]||Xe[Be]||(Xe[Be]=Oe.call(ye));Xe=nn(Xe)}p.apply(ye,Xe),Le&&!fe&&Xe.length>0&&Ce+H.length>1&&l.uniqueSort(ye)}return Le&&(V=_t,r=at),Qe};return R?ot(K):K}function Dn(C,H){var R,W=[],K=[],fe=De[C+" "];if(!fe){for(H||(H=Gt(C)),R=H.length;R--;)fe=kn(H[R]),fe[Q]?W.push(fe):K.push(fe);fe=De(C,Er(K,W)),fe.selector=C}return fe}function bi(C,H,R,W){var K,fe,ve,Te,ye,Le=typeof C=="function"&&C,Ee=!W&&Gt(C=Le.selector||C);if(R=R||[],Ee.length===1){if(fe=Ee[0]=Ee[0].slice(0),fe.length>2&&(ve=fe[0]).type==="ID"&&H.nodeType===9&&A&&n.relative[fe[1].type]){if(H=(n.find.ID(ve.matches[0].replace(vt,yt),H)||[])[0],H)Le&&(H=H.parentNode);else return R;C=C.slice(fe.shift().value.length)}for(K=dt.needsContext.test(C)?0:fe.length;K--&&(ve=fe[K],!n.relative[Te=ve.type]);)if((ye=n.find[Te])&&(W=ye(ve.matches[0].replace(vt,yt),wn.test(fe[0].type)&&En(H.parentNode)||H))){if(fe.splice(K,1),C=W.length&&en(fe),!C)return p.apply(R,W),R;break}}return(Le||Dn(C,Ee))(W,H,!A,R,!H||wn.test(C)&&En(H.parentNode)||H),R}ne.sortStable=Q.split("").sort(Ve).join("")===Q,St(),ne.sortDetached=jt(function(C){return C.compareDocumentPosition(y.createElement("fieldset"))&1}),l.find=_e,l.expr[":"]=l.expr.pseudos,l.unique=l.uniqueSort,_e.compile=Dn,_e.select=bi,_e.setDocument=St,_e.tokenize=Gt,_e.escape=l.escapeSelector,_e.getText=l.text,_e.isXML=l.isXMLDoc,_e.selectors=l.expr,_e.support=l.support,_e.uniqueSort=l.uniqueSort})();var w=function(e,n,r){for(var u=[],d=r!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(d&&l(e).is(r))break;u.push(e)}return u},M=function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r},S=l.expr.match.needsContext,x=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,n,r){return ee(n)?l.grep(e,function(u,d){return!!n.call(u,d,u)!==r}):n.nodeType?l.grep(e,function(u){return u===n!==r}):typeof n!="string"?l.grep(e,function(u){return L.call(n,u)>-1!==r}):l.filter(n,e,r)}l.filter=function(e,n,r){var u=n[0];return r&&(e=":not("+e+")"),n.length===1&&u.nodeType===1?l.find.matchesSelector(u,e)?[u]:[]:l.find.matches(e,l.grep(n,function(d){return d.nodeType===1}))},l.fn.extend({find:function(e){var n,r,u=this.length,d=this;if(typeof e!="string")return this.pushStack(l(e).filter(function(){for(n=0;n<u;n++)if(l.contains(d[n],this))return!0}));for(r=this.pushStack([]),n=0;n<u;n++)l.find(e,d[n],r);return u>1?l.uniqueSort(r):r},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,typeof e=="string"&&S.test(e)?l(e):e||[],!1).length}});var I,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,b=l.fn.init=function(e,n,r){var u,d;if(!e)return this;if(r=r||I,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?u=[null,e,null]:u=$.exec(e),u&&(u[1]||!n))if(u[1]){if(n=n instanceof l?n[0]:n,l.merge(this,l.parseHTML(u[1],n&&n.nodeType?n.ownerDocument||n:_,!0)),x.test(u[1])&&l.isPlainObject(n))for(u in n)ee(this[u])?this[u](n[u]):this.attr(u,n[u]);return this}else return d=_.getElementById(u[2]),d&&(this[0]=d,this.length=1),this;else return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(ee(e))return r.ready!==void 0?r.ready(e):e(l)}return l.makeArray(e,this)};b.prototype=l.fn,I=l(_);var j=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};l.fn.extend({has:function(e){var n=l(e,this),r=n.length;return this.filter(function(){for(var u=0;u<r;u++)if(l.contains(this,n[u]))return!0})},closest:function(e,n){var r,u=0,d=this.length,p=[],y=typeof e!="string"&&l(e);if(!S.test(e)){for(;u<d;u++)for(r=this[u];r&&r!==n;r=r.parentNode)if(r.nodeType<11&&(y?y.index(r)>-1:r.nodeType===1&&l.find.matchesSelector(r,e))){p.push(r);break}}return this.pushStack(p.length>1?l.uniqueSort(p):p)},index:function(e){return e?typeof e=="string"?L.call(l(e),this[0]):L.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(l.uniqueSort(l.merge(this.get(),l(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function G(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}l.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,n,r){return w(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,n,r){return w(e,"nextSibling",r)},prevUntil:function(e,n,r){return w(e,"previousSibling",r)},siblings:function(e){return M((e.parentNode||{}).firstChild,e)},children:function(e){return M(e.firstChild)},contents:function(e){return e.contentDocument!=null&&h(e.contentDocument)?e.contentDocument:(pe(e,"template")&&(e=e.content||e),l.merge([],e.childNodes))}},function(e,n){l.fn[e]=function(r,u){var d=l.map(this,n,r);return e.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(d=l.filter(u,d)),this.length>1&&(O[e]||l.uniqueSort(d),j.test(e)&&d.reverse()),this.pushStack(d)}});var J=/[^\x20\t\r\n\f]+/g;function z(e){var n={};return l.each(e.match(J)||[],function(r,u){n[u]=!0}),n}l.Callbacks=function(e){e=typeof e=="string"?z(e):l.extend({},e);var n,r,u,d,p=[],y=[],N=-1,A=function(){for(d=d||e.once,u=n=!0;y.length;N=-1)for(r=y.shift();++N<p.length;)p[N].apply(r[0],r[1])===!1&&e.stopOnFalse&&(N=p.length,r=!1);e.memory||(r=!1),n=!1,d&&(r?p=[]:p="")},B={add:function(){return p&&(r&&!n&&(N=p.length-1,y.push(r)),function X(Q){l.each(Q,function(V,le){ee(le)?(!e.unique||!B.has(le))&&p.push(le):le&&le.length&&re(le)!=="string"&&X(le)})}(arguments),r&&!n&&A()),this},remove:function(){return l.each(arguments,function(X,Q){for(var V;(V=l.inArray(Q,p,V))>-1;)p.splice(V,1),V<=N&&N--}),this},has:function(X){return X?l.inArray(X,p)>-1:p.length>0},empty:function(){return p&&(p=[]),this},disable:function(){return d=y=[],p=r="",this},disabled:function(){return!p},lock:function(){return d=y=[],!r&&!n&&(p=r=""),this},locked:function(){return!!d},fireWith:function(X,Q){return d||(Q=Q||[],Q=[X,Q.slice?Q.slice():Q],y.push(Q),n||A()),this},fire:function(){return B.fireWith(this,arguments),this},fired:function(){return!!u}};return B};function U(e){return e}function te(e){throw e}function he(e,n,r,u){var d;try{e&&ee(d=e.promise)?d.call(e).done(n).fail(r):e&&ee(d=e.then)?d.call(e,n,r):n.apply(void 0,[e].slice(u))}catch(p){r.apply(void 0,[p])}}l.extend({Deferred:function(e){var n=[["notify","progress",l.Callbacks("memory"),l.Callbacks("memory"),2],["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),0,"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),1,"rejected"]],r="pending",u={state:function(){return r},always:function(){return d.done(arguments).fail(arguments),this},catch:function(p){return u.then(null,p)},pipe:function(){var p=arguments;return l.Deferred(function(y){l.each(n,function(N,A){var B=ee(p[A[4]])&&p[A[4]];d[A[1]](function(){var X=B&&B.apply(this,arguments);X&&ee(X.promise)?X.promise().progress(y.notify).done(y.resolve).fail(y.reject):y[A[0]+"With"](this,B?[X]:arguments)})}),p=null}).promise()},then:function(p,y,N){var A=0;function B(X,Q,V,le){return function(){var Me=this,Ie=arguments,De=function(){var Ve,ut;if(!(X<A)){if(Ve=V.apply(Me,Ie),Ve===Q.promise())throw new TypeError("Thenable self-resolution");ut=Ve&&(typeof Ve=="object"||typeof Ve=="function")&&Ve.then,ee(ut)?le?ut.call(Ve,B(A,Q,U,le),B(A,Q,te,le)):(A++,ut.call(Ve,B(A,Q,U,le),B(A,Q,te,le),B(A,Q,U,Q.notifyWith))):(V!==U&&(Me=void 0,Ie=[Ve]),(le||Q.resolveWith)(Me,Ie))}},We=le?De:function(){try{De()}catch(Ve){l.Deferred.exceptionHook&&l.Deferred.exceptionHook(Ve,We.error),X+1>=A&&(V!==te&&(Me=void 0,Ie=[Ve]),Q.rejectWith(Me,Ie))}};X?We():(l.Deferred.getErrorHook?We.error=l.Deferred.getErrorHook():l.Deferred.getStackHook&&(We.error=l.Deferred.getStackHook()),s.setTimeout(We))}}return l.Deferred(function(X){n[0][3].add(B(0,X,ee(N)?N:U,X.notifyWith)),n[1][3].add(B(0,X,ee(p)?p:U)),n[2][3].add(B(0,X,ee(y)?y:te))}).promise()},promise:function(p){return p!=null?l.extend(p,u):u}},d={};return l.each(n,function(p,y){var N=y[2],A=y[5];u[y[1]]=N.add,A&&N.add(function(){r=A},n[3-p][2].disable,n[3-p][3].disable,n[0][2].lock,n[0][3].lock),N.add(y[3].fire),d[y[0]]=function(){return d[y[0]+"With"](this===d?void 0:this,arguments),this},d[y[0]+"With"]=N.fireWith}),u.promise(d),e&&e.call(d,d),d},when:function(e){var n=arguments.length,r=n,u=Array(r),d=g.call(arguments),p=l.Deferred(),y=function(N){return function(A){u[N]=this,d[N]=arguments.length>1?g.call(arguments):A,--n||p.resolveWith(u,d)}};if(n<=1&&(he(e,p.done(y(r)).resolve,p.reject,!n),p.state()==="pending"||ee(d[r]&&d[r].then)))return p.then();for(;r--;)he(d[r],y(r),p.reject);return p.promise()}});var de=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;l.Deferred.exceptionHook=function(e,n){s.console&&s.console.warn&&e&&de.test(e.name)&&s.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},l.readyException=function(e){s.setTimeout(function(){throw e})};var ge=l.Deferred();l.fn.ready=function(e){return ge.then(e).catch(function(n){l.readyException(n)}),this},l.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--l.readyWait:l.isReady)||(l.isReady=!0,!(e!==!0&&--l.readyWait>0)&&ge.resolveWith(_,[l]))}}),l.ready.then=ge.then;function Se(){_.removeEventListener("DOMContentLoaded",Se),s.removeEventListener("load",Se),l.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?s.setTimeout(l.ready):(_.addEventListener("DOMContentLoaded",Se),s.addEventListener("load",Se));var He=function(e,n,r,u,d,p,y){var N=0,A=e.length,B=r==null;if(re(r)==="object"){d=!0;for(N in r)He(e,n,N,r[N],!0,p,y)}else if(u!==void 0&&(d=!0,ee(u)||(y=!0),B&&(y?(n.call(e,u),n=null):(B=n,n=function(X,Q,V){return B.call(l(X),V)})),n))for(;N<A;N++)n(e[N],r,y?u:u.call(e[N],N,n(e[N],r)));return d?e:B?n.call(e):A?n(e[0],r):p},ze=/^-ms-/,Ye=/-([a-z])/g;function qe(e,n){return n.toUpperCase()}function $e(e){return e.replace(ze,"ms-").replace(Ye,qe)}var Ge=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function ke(){this.expando=l.expando+ke.uid++}ke.uid=1,ke.prototype={cache:function(e){var n=e[this.expando];return n||(n={},Ge(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,r){var u,d=this.cache(e);if(typeof n=="string")d[$e(n)]=r;else for(u in n)d[$e(u)]=n[u];return d},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][$e(n)]},access:function(e,n,r){return n===void 0||n&&typeof n=="string"&&r===void 0?this.get(e,n):(this.set(e,n,r),r!==void 0?r:n)},remove:function(e,n){var r,u=e[this.expando];if(u!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map($e):(n=$e(n),n=n in u?[n]:n.match(J)||[]),r=n.length;r--;)delete u[n[r]];(n===void 0||l.isEmptyObject(u))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!l.isEmptyObject(n)}};var xe=new ke,Fe=new ke,nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,lt=/[A-Z]/g;function _i(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:nt.test(e)?JSON.parse(e):e}function $n(e,n,r){var u;if(r===void 0&&e.nodeType===1)if(u="data-"+n.replace(lt,"-$&").toLowerCase(),r=e.getAttribute(u),typeof r=="string"){try{r=_i(r)}catch{}Fe.set(e,n,r)}else r=void 0;return r}l.extend({hasData:function(e){return Fe.hasData(e)||xe.hasData(e)},data:function(e,n,r){return Fe.access(e,n,r)},removeData:function(e,n){Fe.remove(e,n)},_data:function(e,n,r){return xe.access(e,n,r)},_removeData:function(e,n){xe.remove(e,n)}}),l.fn.extend({data:function(e,n){var r,u,d,p=this[0],y=p&&p.attributes;if(e===void 0){if(this.length&&(d=Fe.get(p),p.nodeType===1&&!xe.get(p,"hasDataAttrs"))){for(r=y.length;r--;)y[r]&&(u=y[r].name,u.indexOf("data-")===0&&(u=$e(u.slice(5)),$n(p,u,d[u])));xe.set(p,"hasDataAttrs",!0)}return d}return typeof e=="object"?this.each(function(){Fe.set(this,e)}):He(this,function(N){var A;if(p&&N===void 0)return A=Fe.get(p,e),A!==void 0||(A=$n(p,e),A!==void 0)?A:void 0;this.each(function(){Fe.set(this,e,N)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Fe.remove(this,e)})}}),l.extend({queue:function(e,n,r){var u;if(e)return n=(n||"fx")+"queue",u=xe.get(e,n),r&&(!u||Array.isArray(r)?u=xe.access(e,n,l.makeArray(r)):u.push(r)),u||[]},dequeue:function(e,n){n=n||"fx";var r=l.queue(e,n),u=r.length,d=r.shift(),p=l._queueHooks(e,n),y=function(){l.dequeue(e,n)};d==="inprogress"&&(d=r.shift(),u--),d&&(n==="fx"&&r.unshift("inprogress"),delete p.stop,d.call(e,y,p)),!u&&p&&p.empty.fire()},_queueHooks:function(e,n){var r=n+"queueHooks";return xe.get(e,r)||xe.access(e,r,{empty:l.Callbacks("once memory").add(function(){xe.remove(e,[n+"queue",r])})})}}),l.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?l.queue(this[0],e):n===void 0?this:this.each(function(){var u=l.queue(this,e,n);l._queueHooks(this,e),e==="fx"&&u[0]!=="inprogress"&&l.dequeue(this,e)})},dequeue:function(e){return this.each(function(){l.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,u=1,d=l.Deferred(),p=this,y=this.length,N=function(){--u||d.resolveWith(p,[p])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";y--;)r=xe.get(p[y],e+"queueHooks"),r&&r.empty&&(u++,r.empty.add(N));return N(),d.promise(n)}});var Fn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ht=new RegExp("^(?:([+-])=|)("+Fn+")([a-z%]*)$","i"),mt=["Top","Right","Bottom","Left"],wt=_.documentElement,Dt=function(e){return l.contains(e.ownerDocument,e)},Hi={composed:!0};wt.getRootNode&&(Dt=function(e){return l.contains(e.ownerDocument,e)||e.getRootNode(Hi)===e.ownerDocument});var Ut=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&Dt(e)&&l.css(e,"display")==="none"};function Rn(e,n,r,u){var d,p,y=20,N=u?function(){return u.cur()}:function(){return l.css(e,n,"")},A=N(),B=r&&r[3]||(l.cssNumber[n]?"":"px"),X=e.nodeType&&(l.cssNumber[n]||B!=="px"&&+A)&&Ht.exec(l.css(e,n));if(X&&X[3]!==B){for(A=A/2,B=B||X[3],X=+A||1;y--;)l.style(e,n,X+B),(1-p)*(1-(p=N()/A||.5))<=0&&(y=0),X=X/p;X=X*2,l.style(e,n,X+B),r=r||[]}return r&&(X=+X||+A||0,d=r[1]?X+(r[1]+1)*r[2]:+r[2],u&&(u.unit=B,u.start=X,u.end=d)),d}var qn={};function Bi(e){var n,r=e.ownerDocument,u=e.nodeName,d=qn[u];return d||(n=r.body.appendChild(r.createElement(u)),d=l.css(n,"display"),n.parentNode.removeChild(n),d==="none"&&(d="block"),qn[u]=d,d)}function Lt(e,n){for(var r,u,d=[],p=0,y=e.length;p<y;p++)u=e[p],u.style&&(r=u.style.display,n?(r==="none"&&(d[p]=xe.get(u,"display")||null,d[p]||(u.style.display="")),u.style.display===""&&Ut(u)&&(d[p]=Bi(u))):r!=="none"&&(d[p]="none",xe.set(u,"display",r)));for(p=0;p<y;p++)d[p]!=null&&(e[p].style.display=d[p]);return e}l.fn.extend({show:function(){return Lt(this,!0)},hide:function(){return Lt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Ut(this)?l(this).show():l(this).hide()})}});var Bt=/^(?:checkbox|radio)$/i,Vn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Gn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=_.createDocumentFragment(),n=e.appendChild(_.createElement("div")),r=_.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),n.appendChild(r),ne.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",ne.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",ne.option=!!n.lastChild})();var it={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};it.tbody=it.tfoot=it.colgroup=it.caption=it.thead,it.th=it.td,ne.option||(it.optgroup=it.option=[1,"<select multiple='multiple'>","</select>"]);function Je(e,n){var r;return typeof e.getElementsByTagName<"u"?r=e.getElementsByTagName(n||"*"):typeof e.querySelectorAll<"u"?r=e.querySelectorAll(n||"*"):r=[],n===void 0||n&&pe(e,n)?l.merge([e],r):r}function un(e,n){for(var r=0,u=e.length;r<u;r++)xe.set(e[r],"globalEval",!n||xe.get(n[r],"globalEval"))}var zi=/<|&#?\w+;/;function Wn(e,n,r,u,d){for(var p,y,N,A,B,X,Q=n.createDocumentFragment(),V=[],le=0,Me=e.length;le<Me;le++)if(p=e[le],p||p===0)if(re(p)==="object")l.merge(V,p.nodeType?[p]:p);else if(!zi.test(p))V.push(n.createTextNode(p));else{for(y=y||Q.appendChild(n.createElement("div")),N=(Vn.exec(p)||["",""])[1].toLowerCase(),A=it[N]||it._default,y.innerHTML=A[1]+l.htmlPrefilter(p)+A[2],X=A[0];X--;)y=y.lastChild;l.merge(V,y.childNodes),y=Q.firstChild,y.textContent=""}for(Q.textContent="",le=0;p=V[le++];){if(u&&l.inArray(p,u)>-1){d&&d.push(p);continue}if(B=Dt(p),y=Je(Q.appendChild(p),"script"),B&&un(y),r)for(X=0;p=y[X++];)Gn.test(p.type||"")&&r.push(p)}return Q}var Xn=/^([^.]*)(?:\.(.+)|)/;function Pt(){return!0}function Ot(){return!1}function fn(e,n,r,u,d,p){var y,N;if(typeof n=="object"){typeof r!="string"&&(u=u||r,r=void 0);for(N in n)fn(e,N,r,u,n[N],p);return e}if(u==null&&d==null?(d=r,u=r=void 0):d==null&&(typeof r=="string"?(d=u,u=void 0):(d=u,u=r,r=void 0)),d===!1)d=Ot;else if(!d)return e;return p===1&&(y=d,d=function(A){return l().off(A),y.apply(this,arguments)},d.guid=y.guid||(y.guid=l.guid++)),e.each(function(){l.event.add(this,n,d,u,r)})}l.event={global:{},add:function(e,n,r,u,d){var p,y,N,A,B,X,Q,V,le,Me,Ie,De=xe.get(e);if(!!Ge(e))for(r.handler&&(p=r,r=p.handler,d=p.selector),d&&l.find.matchesSelector(wt,d),r.guid||(r.guid=l.guid++),(A=De.events)||(A=De.events=Object.create(null)),(y=De.handle)||(y=De.handle=function(We){return typeof l<"u"&&l.event.triggered!==We.type?l.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(J)||[""],B=n.length;B--;)N=Xn.exec(n[B])||[],le=Ie=N[1],Me=(N[2]||"").split(".").sort(),le&&(Q=l.event.special[le]||{},le=(d?Q.delegateType:Q.bindType)||le,Q=l.event.special[le]||{},X=l.extend({type:le,origType:Ie,data:u,handler:r,guid:r.guid,selector:d,needsContext:d&&l.expr.match.needsContext.test(d),namespace:Me.join(".")},p),(V=A[le])||(V=A[le]=[],V.delegateCount=0,(!Q.setup||Q.setup.call(e,u,Me,y)===!1)&&e.addEventListener&&e.addEventListener(le,y)),Q.add&&(Q.add.call(e,X),X.handler.guid||(X.handler.guid=r.guid)),d?V.splice(V.delegateCount++,0,X):V.push(X),l.event.global[le]=!0)},remove:function(e,n,r,u,d){var p,y,N,A,B,X,Q,V,le,Me,Ie,De=xe.hasData(e)&&xe.get(e);if(!(!De||!(A=De.events))){for(n=(n||"").match(J)||[""],B=n.length;B--;){if(N=Xn.exec(n[B])||[],le=Ie=N[1],Me=(N[2]||"").split(".").sort(),!le){for(le in A)l.event.remove(e,le+n[B],r,u,!0);continue}for(Q=l.event.special[le]||{},le=(u?Q.delegateType:Q.bindType)||le,V=A[le]||[],N=N[2]&&new RegExp("(^|\\.)"+Me.join("\\.(?:.*\\.|)")+"(\\.|$)"),y=p=V.length;p--;)X=V[p],(d||Ie===X.origType)&&(!r||r.guid===X.guid)&&(!N||N.test(X.namespace))&&(!u||u===X.selector||u==="**"&&X.selector)&&(V.splice(p,1),X.selector&&V.delegateCount--,Q.remove&&Q.remove.call(e,X));y&&!V.length&&((!Q.teardown||Q.teardown.call(e,Me,De.handle)===!1)&&l.removeEvent(e,le,De.handle),delete A[le])}l.isEmptyObject(A)&&xe.remove(e,"handle events")}},dispatch:function(e){var n,r,u,d,p,y,N=new Array(arguments.length),A=l.event.fix(e),B=(xe.get(this,"events")||Object.create(null))[A.type]||[],X=l.event.special[A.type]||{};for(N[0]=A,n=1;n<arguments.length;n++)N[n]=arguments[n];if(A.delegateTarget=this,!(X.preDispatch&&X.preDispatch.call(this,A)===!1)){for(y=l.event.handlers.call(this,A,B),n=0;(d=y[n++])&&!A.isPropagationStopped();)for(A.currentTarget=d.elem,r=0;(p=d.handlers[r++])&&!A.isImmediatePropagationStopped();)(!A.rnamespace||p.namespace===!1||A.rnamespace.test(p.namespace))&&(A.handleObj=p,A.data=p.data,u=((l.event.special[p.origType]||{}).handle||p.handler).apply(d.elem,N),u!==void 0&&(A.result=u)===!1&&(A.preventDefault(),A.stopPropagation()));return X.postDispatch&&X.postDispatch.call(this,A),A.result}},handlers:function(e,n){var r,u,d,p,y,N=[],A=n.delegateCount,B=e.target;if(A&&B.nodeType&&!(e.type==="click"&&e.button>=1)){for(;B!==this;B=B.parentNode||this)if(B.nodeType===1&&!(e.type==="click"&&B.disabled===!0)){for(p=[],y={},r=0;r<A;r++)u=n[r],d=u.selector+" ",y[d]===void 0&&(y[d]=u.needsContext?l(d,this).index(B)>-1:l.find(d,this,null,[B]).length),y[d]&&p.push(u);p.length&&N.push({elem:B,handlers:p})}}return B=this,A<n.length&&N.push({elem:B,handlers:n.slice(A)}),N},addProp:function(e,n){Object.defineProperty(l.Event.prototype,e,{enumerable:!0,configurable:!0,get:ee(n)?function(){if(this.originalEvent)return n(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(r){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:r})}})},fix:function(e){return e[l.expando]?e:new l.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return Bt.test(n.type)&&n.click&&pe(n,"input")&&Yt(n,"click",!0),!1},trigger:function(e){var n=this||e;return Bt.test(n.type)&&n.click&&pe(n,"input")&&Yt(n,"click"),!0},_default:function(e){var n=e.target;return Bt.test(n.type)&&n.click&&pe(n,"input")&&xe.get(n,"click")||pe(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function Yt(e,n,r){if(!r){xe.get(e,n)===void 0&&l.event.add(e,n,Pt);return}xe.set(e,n,!1),l.event.add(e,n,{namespace:!1,handler:function(u){var d,p=xe.get(this,n);if(u.isTrigger&1&&this[n]){if(p)(l.event.special[n]||{}).delegateType&&u.stopPropagation();else if(p=g.call(arguments),xe.set(this,n,p),this[n](),d=xe.get(this,n),xe.set(this,n,!1),p!==d)return u.stopImmediatePropagation(),u.preventDefault(),d}else p&&(xe.set(this,n,l.event.trigger(p[0],p.slice(1),this)),u.stopPropagation(),u.isImmediatePropagationStopped=Pt)}})}l.removeEvent=function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r)},l.Event=function(e,n){if(!(this instanceof l.Event))return new l.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?Pt:Ot,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,n&&l.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[l.expando]=!0},l.Event.prototype={constructor:l.Event,isDefaultPrevented:Ot,isPropagationStopped:Ot,isImmediatePropagationStopped:Ot,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},l.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},l.event.addProp),l.each({focus:"focusin",blur:"focusout"},function(e,n){function r(u){if(_.documentMode){var d=xe.get(this,"handle"),p=l.event.fix(u);p.type=u.type==="focusin"?"focus":"blur",p.isSimulated=!0,d(u),p.target===p.currentTarget&&d(p)}else l.event.simulate(n,u.target,l.event.fix(u))}l.event.special[e]={setup:function(){var u;if(Yt(this,e,!0),_.documentMode)u=xe.get(this,n),u||this.addEventListener(n,r),xe.set(this,n,(u||0)+1);else return!1},trigger:function(){return Yt(this,e),!0},teardown:function(){var u;if(_.documentMode)u=xe.get(this,n)-1,u?xe.set(this,n,u):(this.removeEventListener(n,r),xe.remove(this,n));else return!1},_default:function(u){return xe.get(u.target,e)},delegateType:n},l.event.special[n]={setup:function(){var u=this.ownerDocument||this.document||this,d=_.documentMode?this:u,p=xe.get(d,n);p||(_.documentMode?this.addEventListener(n,r):u.addEventListener(e,r,!0)),xe.set(d,n,(p||0)+1)},teardown:function(){var u=this.ownerDocument||this.document||this,d=_.documentMode?this:u,p=xe.get(d,n)-1;p?xe.set(d,n,p):(_.documentMode?this.removeEventListener(n,r):u.removeEventListener(e,r,!0),xe.remove(d,n))}}}),l.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){l.event.special[e]={delegateType:n,bindType:n,handle:function(r){var u,d=this,p=r.relatedTarget,y=r.handleObj;return(!p||p!==d&&!l.contains(d,p))&&(r.type=y.origType,u=y.handler.apply(this,arguments),r.type=n),u}}}),l.fn.extend({on:function(e,n,r,u){return fn(this,e,n,r,u)},one:function(e,n,r,u){return fn(this,e,n,r,u,1)},off:function(e,n,r){var u,d;if(e&&e.preventDefault&&e.handleObj)return u=e.handleObj,l(e.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof e=="object"){for(d in e)this.off(d,n,e[d]);return this}return(n===!1||typeof n=="function")&&(r=n,n=void 0),r===!1&&(r=Ot),this.each(function(){l.event.remove(this,e,r,n)})}});var $i=/<script|<style|<link/i,Fi=/checked\s*(?:[^=]|=\s*.checked.)/i,Ri=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Un(e,n){return pe(e,"table")&&pe(n.nodeType!==11?n:n.firstChild,"tr")&&l(e).children("tbody")[0]||e}function qi(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Vi(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Yn(e,n){var r,u,d,p,y,N,A;if(n.nodeType===1){if(xe.hasData(e)&&(p=xe.get(e),A=p.events,A)){xe.remove(n,"handle events");for(d in A)for(r=0,u=A[d].length;r<u;r++)l.event.add(n,d,A[d][r])}Fe.hasData(e)&&(y=Fe.access(e),N=l.extend({},y),Fe.set(n,N))}}function Gi(e,n){var r=n.nodeName.toLowerCase();r==="input"&&Bt.test(e.type)?n.checked=e.checked:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue)}function Nt(e,n,r,u){n=k(n);var d,p,y,N,A,B,X=0,Q=e.length,V=Q-1,le=n[0],Me=ee(le);if(Me||Q>1&&typeof le=="string"&&!ne.checkClone&&Fi.test(le))return e.each(function(Ie){var De=e.eq(Ie);Me&&(n[0]=le.call(this,Ie,De.html())),Nt(De,n,r,u)});if(Q&&(d=Wn(n,e[0].ownerDocument,!1,e,u),p=d.firstChild,d.childNodes.length===1&&(d=p),p||u)){for(y=l.map(Je(d,"script"),qi),N=y.length;X<Q;X++)A=d,X!==V&&(A=l.clone(A,!0,!0),N&&l.merge(y,Je(A,"script"))),r.call(e[X],A,X);if(N)for(B=y[y.length-1].ownerDocument,l.map(y,Vi),X=0;X<N;X++)A=y[X],Gn.test(A.type||"")&&!xe.access(A,"globalEval")&&l.contains(B,A)&&(A.src&&(A.type||"").toLowerCase()!=="module"?l._evalUrl&&!A.noModule&&l._evalUrl(A.src,{nonce:A.nonce||A.getAttribute("nonce")},B):Y(A.textContent.replace(Ri,""),A,B))}return e}function Jn(e,n,r){for(var u,d=n?l.filter(n,e):e,p=0;(u=d[p])!=null;p++)!r&&u.nodeType===1&&l.cleanData(Je(u)),u.parentNode&&(r&&Dt(u)&&un(Je(u,"script")),u.parentNode.removeChild(u));return e}l.extend({htmlPrefilter:function(e){return e},clone:function(e,n,r){var u,d,p,y,N=e.cloneNode(!0),A=Dt(e);if(!ne.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!l.isXMLDoc(e))for(y=Je(N),p=Je(e),u=0,d=p.length;u<d;u++)Gi(p[u],y[u]);if(n)if(r)for(p=p||Je(e),y=y||Je(N),u=0,d=p.length;u<d;u++)Yn(p[u],y[u]);else Yn(e,N);return y=Je(N,"script"),y.length>0&&un(y,!A&&Je(e,"script")),N},cleanData:function(e){for(var n,r,u,d=l.event.special,p=0;(r=e[p])!==void 0;p++)if(Ge(r)){if(n=r[xe.expando]){if(n.events)for(u in n.events)d[u]?l.event.remove(r,u):l.removeEvent(r,u,n.handle);r[xe.expando]=void 0}r[Fe.expando]&&(r[Fe.expando]=void 0)}}}),l.fn.extend({detach:function(e){return Jn(this,e,!0)},remove:function(e){return Jn(this,e)},text:function(e){return He(this,function(n){return n===void 0?l.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,e,arguments.length)},append:function(){return Nt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Un(this,e);n.appendChild(e)}})},prepend:function(){return Nt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=Un(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return Nt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Nt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,n=0;(e=this[n])!=null;n++)e.nodeType===1&&(l.cleanData(Je(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e==null?!1:e,n=n==null?e:n,this.map(function(){return l.clone(this,e,n)})},html:function(e){return He(this,function(n){var r=this[0]||{},u=0,d=this.length;if(n===void 0&&r.nodeType===1)return r.innerHTML;if(typeof n=="string"&&!$i.test(n)&&!it[(Vn.exec(n)||["",""])[1].toLowerCase()]){n=l.htmlPrefilter(n);try{for(;u<d;u++)r=this[u]||{},r.nodeType===1&&(l.cleanData(Je(r,!1)),r.innerHTML=n);r=0}catch{}}r&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return Nt(this,arguments,function(n){var r=this.parentNode;l.inArray(this,e)<0&&(l.cleanData(Je(this)),r&&r.replaceChild(n,this))},e)}}),l.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){l.fn[e]=function(r){for(var u,d=[],p=l(r),y=p.length-1,N=0;N<=y;N++)u=N===y?this:this.clone(!0),l(p[N])[n](u),D.apply(d,u.get());return this.pushStack(d)}});var cn=new RegExp("^("+Fn+")(?!px)[a-z%]+$","i"),dn=/^--/,Jt=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=s),n.getComputedStyle(e)},Kn=function(e,n,r){var u,d,p={};for(d in n)p[d]=e.style[d],e.style[d]=n[d];u=r.call(e);for(d in n)e.style[d]=p[d];return u},Wi=new RegExp(mt.join("|"),"i");(function(){function e(){if(!!B){A.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",B.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",wt.appendChild(A).appendChild(B);var X=s.getComputedStyle(B);r=X.top!=="1%",N=n(X.marginLeft)===12,B.style.right="60%",p=n(X.right)===36,u=n(X.width)===36,B.style.position="absolute",d=n(B.offsetWidth/3)===12,wt.removeChild(A),B=null}}function n(X){return Math.round(parseFloat(X))}var r,u,d,p,y,N,A=_.createElement("div"),B=_.createElement("div");!B.style||(B.style.backgroundClip="content-box",B.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle=B.style.backgroundClip==="content-box",l.extend(ne,{boxSizingReliable:function(){return e(),u},pixelBoxStyles:function(){return e(),p},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),N},scrollboxSize:function(){return e(),d},reliableTrDimensions:function(){var X,Q,V,le;return y==null&&(X=_.createElement("table"),Q=_.createElement("tr"),V=_.createElement("div"),X.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Q.style.cssText="box-sizing:content-box;border:1px solid",Q.style.height="1px",V.style.height="9px",V.style.display="block",wt.appendChild(X).appendChild(Q).appendChild(V),le=s.getComputedStyle(Q),y=parseInt(le.height,10)+parseInt(le.borderTopWidth,10)+parseInt(le.borderBottomWidth,10)===Q.offsetHeight,wt.removeChild(X)),y}}))})();function zt(e,n,r){var u,d,p,y,N=dn.test(n),A=e.style;return r=r||Jt(e),r&&(y=r.getPropertyValue(n)||r[n],N&&y&&(y=y.replace(c,"$1")||void 0),y===""&&!Dt(e)&&(y=l.style(e,n)),!ne.pixelBoxStyles()&&cn.test(y)&&Wi.test(n)&&(u=A.width,d=A.minWidth,p=A.maxWidth,A.minWidth=A.maxWidth=A.width=y,y=r.width,A.width=u,A.minWidth=d,A.maxWidth=p)),y!==void 0?y+"":y}function Qn(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var Zn=["Webkit","Moz","ms"],ei=_.createElement("div").style,ti={};function Xi(e){for(var n=e[0].toUpperCase()+e.slice(1),r=Zn.length;r--;)if(e=Zn[r]+n,e in ei)return e}function pn(e){var n=l.cssProps[e]||ti[e];return n||(e in ei?e:ti[e]=Xi(e)||e)}var Ui=/^(none|table(?!-c[ea]).+)/,Yi={position:"absolute",visibility:"hidden",display:"block"},ni={letterSpacing:"0",fontWeight:"400"};function ii(e,n,r){var u=Ht.exec(n);return u?Math.max(0,u[2]-(r||0))+(u[3]||"px"):n}function hn(e,n,r,u,d,p){var y=n==="width"?1:0,N=0,A=0,B=0;if(r===(u?"border":"content"))return 0;for(;y<4;y+=2)r==="margin"&&(B+=l.css(e,r+mt[y],!0,d)),u?(r==="content"&&(A-=l.css(e,"padding"+mt[y],!0,d)),r!=="margin"&&(A-=l.css(e,"border"+mt[y]+"Width",!0,d))):(A+=l.css(e,"padding"+mt[y],!0,d),r!=="padding"?A+=l.css(e,"border"+mt[y]+"Width",!0,d):N+=l.css(e,"border"+mt[y]+"Width",!0,d));return!u&&p>=0&&(A+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-p-A-N-.5))||0),A+B}function ri(e,n,r){var u=Jt(e),d=!ne.boxSizingReliable()||r,p=d&&l.css(e,"boxSizing",!1,u)==="border-box",y=p,N=zt(e,n,u),A="offset"+n[0].toUpperCase()+n.slice(1);if(cn.test(N)){if(!r)return N;N="auto"}return(!ne.boxSizingReliable()&&p||!ne.reliableTrDimensions()&&pe(e,"tr")||N==="auto"||!parseFloat(N)&&l.css(e,"display",!1,u)==="inline")&&e.getClientRects().length&&(p=l.css(e,"boxSizing",!1,u)==="border-box",y=A in e,y&&(N=e[A])),N=parseFloat(N)||0,N+hn(e,n,r||(p?"border":"content"),y,u,N)+"px"}l.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=zt(e,"opacity");return r===""?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,n,r,u){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var d,p,y,N=$e(n),A=dn.test(n),B=e.style;if(A||(n=pn(N)),y=l.cssHooks[n]||l.cssHooks[N],r!==void 0){if(p=typeof r,p==="string"&&(d=Ht.exec(r))&&d[1]&&(r=Rn(e,n,d),p="number"),r==null||r!==r)return;p==="number"&&!A&&(r+=d&&d[3]||(l.cssNumber[N]?"":"px")),!ne.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(B[n]="inherit"),(!y||!("set"in y)||(r=y.set(e,r,u))!==void 0)&&(A?B.setProperty(n,r):B[n]=r)}else return y&&"get"in y&&(d=y.get(e,!1,u))!==void 0?d:B[n]}},css:function(e,n,r,u){var d,p,y,N=$e(n),A=dn.test(n);return A||(n=pn(N)),y=l.cssHooks[n]||l.cssHooks[N],y&&"get"in y&&(d=y.get(e,!0,r)),d===void 0&&(d=zt(e,n,u)),d==="normal"&&n in ni&&(d=ni[n]),r===""||r?(p=parseFloat(d),r===!0||isFinite(p)?p||0:d):d}}),l.each(["height","width"],function(e,n){l.cssHooks[n]={get:function(r,u,d){if(u)return Ui.test(l.css(r,"display"))&&(!r.getClientRects().length||!r.getBoundingClientRect().width)?Kn(r,Yi,function(){return ri(r,n,d)}):ri(r,n,d)},set:function(r,u,d){var p,y=Jt(r),N=!ne.scrollboxSize()&&y.position==="absolute",A=N||d,B=A&&l.css(r,"boxSizing",!1,y)==="border-box",X=d?hn(r,n,d,B,y):0;return B&&N&&(X-=Math.ceil(r["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(y[n])-hn(r,n,"border",!1,y)-.5)),X&&(p=Ht.exec(u))&&(p[3]||"px")!=="px"&&(r.style[n]=u,u=l.css(r,n)),ii(r,u,X)}}}),l.cssHooks.marginLeft=Qn(ne.reliableMarginLeft,function(e,n){if(n)return(parseFloat(zt(e,"marginLeft"))||e.getBoundingClientRect().left-Kn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),l.each({margin:"",padding:"",border:"Width"},function(e,n){l.cssHooks[e+n]={expand:function(r){for(var u=0,d={},p=typeof r=="string"?r.split(" "):[r];u<4;u++)d[e+mt[u]+n]=p[u]||p[u-2]||p[0];return d}},e!=="margin"&&(l.cssHooks[e+n].set=ii)}),l.fn.extend({css:function(e,n){return He(this,function(r,u,d){var p,y,N={},A=0;if(Array.isArray(u)){for(p=Jt(r),y=u.length;A<y;A++)N[u[A]]=l.css(r,u[A],!1,p);return N}return d!==void 0?l.style(r,u,d):l.css(r,u)},e,n,arguments.length>1)}});function Ke(e,n,r,u,d){return new Ke.prototype.init(e,n,r,u,d)}l.Tween=Ke,Ke.prototype={constructor:Ke,init:function(e,n,r,u,d,p){this.elem=e,this.prop=r,this.easing=d||l.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=u,this.unit=p||(l.cssNumber[r]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var n,r=Ke.propHooks[this.prop];return this.options.duration?this.pos=n=l.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=n=e,this.now=(this.end-this.start)*n+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Ke.propHooks._default.set(this),this}},Ke.prototype.init.prototype=Ke.prototype,Ke.propHooks={_default:{get:function(e){var n;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(n=l.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){l.fx.step[e.prop]?l.fx.step[e.prop](e):e.elem.nodeType===1&&(l.cssHooks[e.prop]||e.elem.style[pn(e.prop)]!=null)?l.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ke.propHooks.scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},l.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},l.fx=Ke.prototype.init,l.fx.step={};var It,Kt,Ji=/^(?:toggle|show|hide)$/,Ki=/queueHooks$/;function gn(){Kt&&(_.hidden===!1&&s.requestAnimationFrame?s.requestAnimationFrame(gn):s.setTimeout(gn,l.fx.interval),l.fx.tick())}function ai(){return s.setTimeout(function(){It=void 0}),It=Date.now()}function Qt(e,n){var r,u=0,d={height:e};for(n=n?1:0;u<4;u+=2-n)r=mt[u],d["margin"+r]=d["padding"+r]=e;return n&&(d.opacity=d.width=e),d}function si(e,n,r){for(var u,d=(st.tweeners[n]||[]).concat(st.tweeners["*"]),p=0,y=d.length;p<y;p++)if(u=d[p].call(r,n,e))return u}function Qi(e,n,r){var u,d,p,y,N,A,B,X,Q="width"in n||"height"in n,V=this,le={},Me=e.style,Ie=e.nodeType&&Ut(e),De=xe.get(e,"fxshow");r.queue||(y=l._queueHooks(e,"fx"),y.unqueued==null&&(y.unqueued=0,N=y.empty.fire,y.empty.fire=function(){y.unqueued||N()}),y.unqueued++,V.always(function(){V.always(function(){y.unqueued--,l.queue(e,"fx").length||y.empty.fire()})}));for(u in n)if(d=n[u],Ji.test(d)){if(delete n[u],p=p||d==="toggle",d===(Ie?"hide":"show"))if(d==="show"&&De&&De[u]!==void 0)Ie=!0;else continue;le[u]=De&&De[u]||l.style(e,u)}if(A=!l.isEmptyObject(n),!(!A&&l.isEmptyObject(le))){Q&&e.nodeType===1&&(r.overflow=[Me.overflow,Me.overflowX,Me.overflowY],B=De&&De.display,B==null&&(B=xe.get(e,"display")),X=l.css(e,"display"),X==="none"&&(B?X=B:(Lt([e],!0),B=e.style.display||B,X=l.css(e,"display"),Lt([e]))),(X==="inline"||X==="inline-block"&&B!=null)&&l.css(e,"float")==="none"&&(A||(V.done(function(){Me.display=B}),B==null&&(X=Me.display,B=X==="none"?"":X)),Me.display="inline-block")),r.overflow&&(Me.overflow="hidden",V.always(function(){Me.overflow=r.overflow[0],Me.overflowX=r.overflow[1],Me.overflowY=r.overflow[2]})),A=!1;for(u in le)A||(De?"hidden"in De&&(Ie=De.hidden):De=xe.access(e,"fxshow",{display:B}),p&&(De.hidden=!Ie),Ie&&Lt([e],!0),V.done(function(){Ie||Lt([e]),xe.remove(e,"fxshow");for(u in le)l.style(e,u,le[u])})),A=si(Ie?De[u]:0,u,V),u in De||(De[u]=A.start,Ie&&(A.end=A.start,A.start=0))}}function Zi(e,n){var r,u,d,p,y;for(r in e)if(u=$e(r),d=n[u],p=e[r],Array.isArray(p)&&(d=p[1],p=e[r]=p[0]),r!==u&&(e[u]=p,delete e[r]),y=l.cssHooks[u],y&&"expand"in y){p=y.expand(p),delete e[u];for(r in p)r in e||(e[r]=p[r],n[r]=d)}else n[u]=d}function st(e,n,r){var u,d,p=0,y=st.prefilters.length,N=l.Deferred().always(function(){delete A.elem}),A=function(){if(d)return!1;for(var Q=It||ai(),V=Math.max(0,B.startTime+B.duration-Q),le=V/B.duration||0,Me=1-le,Ie=0,De=B.tweens.length;Ie<De;Ie++)B.tweens[Ie].run(Me);return N.notifyWith(e,[B,Me,V]),Me<1&&De?V:(De||N.notifyWith(e,[B,1,0]),N.resolveWith(e,[B]),!1)},B=N.promise({elem:e,props:l.extend({},n),opts:l.extend(!0,{specialEasing:{},easing:l.easing._default},r),originalProperties:n,originalOptions:r,startTime:It||ai(),duration:r.duration,tweens:[],createTween:function(Q,V){var le=l.Tween(e,B.opts,Q,V,B.opts.specialEasing[Q]||B.opts.easing);return B.tweens.push(le),le},stop:function(Q){var V=0,le=Q?B.tweens.length:0;if(d)return this;for(d=!0;V<le;V++)B.tweens[V].run(1);return Q?(N.notifyWith(e,[B,1,0]),N.resolveWith(e,[B,Q])):N.rejectWith(e,[B,Q]),this}}),X=B.props;for(Zi(X,B.opts.specialEasing);p<y;p++)if(u=st.prefilters[p].call(B,e,X,B.opts),u)return ee(u.stop)&&(l._queueHooks(B.elem,B.opts.queue).stop=u.stop.bind(u)),u;return l.map(X,si,B),ee(B.opts.start)&&B.opts.start.call(e,B),B.progress(B.opts.progress).done(B.opts.done,B.opts.complete).fail(B.opts.fail).always(B.opts.always),l.fx.timer(l.extend(A,{elem:e,anim:B,queue:B.opts.queue})),B}l.Animation=l.extend(st,{tweeners:{"*":[function(e,n){var r=this.createTween(e,n);return Rn(r.elem,e,Ht.exec(n),r),r}]},tweener:function(e,n){ee(e)?(n=e,e=["*"]):e=e.match(J);for(var r,u=0,d=e.length;u<d;u++)r=e[u],st.tweeners[r]=st.tweeners[r]||[],st.tweeners[r].unshift(n)},prefilters:[Qi],prefilter:function(e,n){n?st.prefilters.unshift(e):st.prefilters.push(e)}}),l.speed=function(e,n,r){var u=e&&typeof e=="object"?l.extend({},e):{complete:r||!r&&n||ee(e)&&e,duration:e,easing:r&&n||n&&!ee(n)&&n};return l.fx.off?u.duration=0:typeof u.duration!="number"&&(u.duration in l.fx.speeds?u.duration=l.fx.speeds[u.duration]:u.duration=l.fx.speeds._default),(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){ee(u.old)&&u.old.call(this),u.queue&&l.dequeue(this,u.queue)},u},l.fn.extend({fadeTo:function(e,n,r,u){return this.filter(Ut).css("opacity",0).show().end().animate({opacity:n},e,r,u)},animate:function(e,n,r,u){var d=l.isEmptyObject(e),p=l.speed(n,r,u),y=function(){var N=st(this,l.extend({},e),p);(d||xe.get(this,"finish"))&&N.stop(!0)};return y.finish=y,d||p.queue===!1?this.each(y):this.queue(p.queue,y)},stop:function(e,n,r){var u=function(d){var p=d.stop;delete d.stop,p(r)};return typeof e!="string"&&(r=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var d=!0,p=e!=null&&e+"queueHooks",y=l.timers,N=xe.get(this);if(p)N[p]&&N[p].stop&&u(N[p]);else for(p in N)N[p]&&N[p].stop&&Ki.test(p)&&u(N[p]);for(p=y.length;p--;)y[p].elem===this&&(e==null||y[p].queue===e)&&(y[p].anim.stop(r),d=!1,y.splice(p,1));(d||!r)&&l.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,r=xe.get(this),u=r[e+"queue"],d=r[e+"queueHooks"],p=l.timers,y=u?u.length:0;for(r.finish=!0,l.queue(this,e,[]),d&&d.stop&&d.stop.call(this,!0),n=p.length;n--;)p[n].elem===this&&p[n].queue===e&&(p[n].anim.stop(!0),p.splice(n,1));for(n=0;n<y;n++)u[n]&&u[n].finish&&u[n].finish.call(this);delete r.finish})}}),l.each(["toggle","show","hide"],function(e,n){var r=l.fn[n];l.fn[n]=function(u,d,p){return u==null||typeof u=="boolean"?r.apply(this,arguments):this.animate(Qt(n,!0),u,d,p)}}),l.each({slideDown:Qt("show"),slideUp:Qt("hide"),slideToggle:Qt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){l.fn[e]=function(r,u,d){return this.animate(n,r,u,d)}}),l.timers=[],l.fx.tick=function(){var e,n=0,r=l.timers;for(It=Date.now();n<r.length;n++)e=r[n],!e()&&r[n]===e&&r.splice(n--,1);r.length||l.fx.stop(),It=void 0},l.fx.timer=function(e){l.timers.push(e),l.fx.start()},l.fx.interval=13,l.fx.start=function(){Kt||(Kt=!0,gn())},l.fx.stop=function(){Kt=null},l.fx.speeds={slow:600,fast:200,_default:400},l.fn.delay=function(e,n){return e=l.fx&&l.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,u){var d=s.setTimeout(r,e);u.stop=function(){s.clearTimeout(d)}})},function(){var e=_.createElement("input"),n=_.createElement("select"),r=n.appendChild(_.createElement("option"));e.type="checkbox",ne.checkOn=e.value!=="",ne.optSelected=r.selected,e=_.createElement("input"),e.value="t",e.type="radio",ne.radioValue=e.value==="t"}();var oi,$t=l.expr.attrHandle;l.fn.extend({attr:function(e,n){return He(this,l.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){l.removeAttr(this,e)})}}),l.extend({attr:function(e,n,r){var u,d,p=e.nodeType;if(!(p===3||p===8||p===2)){if(typeof e.getAttribute>"u")return l.prop(e,n,r);if((p!==1||!l.isXMLDoc(e))&&(d=l.attrHooks[n.toLowerCase()]||(l.expr.match.bool.test(n)?oi:void 0)),r!==void 0){if(r===null){l.removeAttr(e,n);return}return d&&"set"in d&&(u=d.set(e,r,n))!==void 0?u:(e.setAttribute(n,r+""),r)}return d&&"get"in d&&(u=d.get(e,n))!==null?u:(u=l.find.attr(e,n),u==null?void 0:u)}},attrHooks:{type:{set:function(e,n){if(!ne.radioValue&&n==="radio"&&pe(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}}},removeAttr:function(e,n){var r,u=0,d=n&&n.match(J);if(d&&e.nodeType===1)for(;r=d[u++];)e.removeAttribute(r)}}),oi={set:function(e,n,r){return n===!1?l.removeAttr(e,r):e.setAttribute(r,r),r}},l.each(l.expr.match.bool.source.match(/\w+/g),function(e,n){var r=$t[n]||l.find.attr;$t[n]=function(u,d,p){var y,N,A=d.toLowerCase();return p||(N=$t[A],$t[A]=y,y=r(u,d,p)!=null?A:null,$t[A]=N),y}});var er=/^(?:input|select|textarea|button)$/i,tr=/^(?:a|area)$/i;l.fn.extend({prop:function(e,n){return He(this,l.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[l.propFix[e]||e]})}}),l.extend({prop:function(e,n,r){var u,d,p=e.nodeType;if(!(p===3||p===8||p===2))return(p!==1||!l.isXMLDoc(e))&&(n=l.propFix[n]||n,d=l.propHooks[n]),r!==void 0?d&&"set"in d&&(u=d.set(e,r,n))!==void 0?u:e[n]=r:d&&"get"in d&&(u=d.get(e,n))!==null?u:e[n]},propHooks:{tabIndex:{get:function(e){var n=l.find.attr(e,"tabindex");return n?parseInt(n,10):er.test(e.nodeName)||tr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ne.optSelected||(l.propHooks.selected={get:function(e){var n=e.parentNode;return n&&n.parentNode&&n.parentNode.selectedIndex,null},set:function(e){var n=e.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}}),l.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){l.propFix[this.toLowerCase()]=this});function Et(e){var n=e.match(J)||[];return n.join(" ")}function Mt(e){return e.getAttribute&&e.getAttribute("class")||""}function mn(e){return Array.isArray(e)?e:typeof e=="string"?e.match(J)||[]:[]}l.fn.extend({addClass:function(e){var n,r,u,d,p,y;return ee(e)?this.each(function(N){l(this).addClass(e.call(this,N,Mt(this)))}):(n=mn(e),n.length?this.each(function(){if(u=Mt(this),r=this.nodeType===1&&" "+Et(u)+" ",r){for(p=0;p<n.length;p++)d=n[p],r.indexOf(" "+d+" ")<0&&(r+=d+" ");y=Et(r),u!==y&&this.setAttribute("class",y)}}):this)},removeClass:function(e){var n,r,u,d,p,y;return ee(e)?this.each(function(N){l(this).removeClass(e.call(this,N,Mt(this)))}):arguments.length?(n=mn(e),n.length?this.each(function(){if(u=Mt(this),r=this.nodeType===1&&" "+Et(u)+" ",r){for(p=0;p<n.length;p++)for(d=n[p];r.indexOf(" "+d+" ")>-1;)r=r.replace(" "+d+" "," ");y=Et(r),u!==y&&this.setAttribute("class",y)}}):this):this.attr("class","")},toggleClass:function(e,n){var r,u,d,p,y=typeof e,N=y==="string"||Array.isArray(e);return ee(e)?this.each(function(A){l(this).toggleClass(e.call(this,A,Mt(this),n),n)}):typeof n=="boolean"&&N?n?this.addClass(e):this.removeClass(e):(r=mn(e),this.each(function(){if(N)for(p=l(this),d=0;d<r.length;d++)u=r[d],p.hasClass(u)?p.removeClass(u):p.addClass(u);else(e===void 0||y==="boolean")&&(u=Mt(this),u&&xe.set(this,"__className__",u),this.setAttribute&&this.setAttribute("class",u||e===!1?"":xe.get(this,"__className__")||""))}))},hasClass:function(e){var n,r,u=0;for(n=" "+e+" ";r=this[u++];)if(r.nodeType===1&&(" "+Et(Mt(r))+" ").indexOf(n)>-1)return!0;return!1}});var nr=/\r/g;l.fn.extend({val:function(e){var n,r,u,d=this[0];return arguments.length?(u=ee(e),this.each(function(p){var y;this.nodeType===1&&(u?y=e.call(this,p,l(this).val()):y=e,y==null?y="":typeof y=="number"?y+="":Array.isArray(y)&&(y=l.map(y,function(N){return N==null?"":N+""})),n=l.valHooks[this.type]||l.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,y,"value")===void 0)&&(this.value=y))})):d?(n=l.valHooks[d.type]||l.valHooks[d.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(d,"value"))!==void 0?r:(r=d.value,typeof r=="string"?r.replace(nr,""):r==null?"":r)):void 0}}),l.extend({valHooks:{option:{get:function(e){var n=l.find.attr(e,"value");return n!=null?n:Et(l.text(e))}},select:{get:function(e){var n,r,u,d=e.options,p=e.selectedIndex,y=e.type==="select-one",N=y?null:[],A=y?p+1:d.length;for(p<0?u=A:u=y?p:0;u<A;u++)if(r=d[u],(r.selected||u===p)&&!r.disabled&&(!r.parentNode.disabled||!pe(r.parentNode,"optgroup"))){if(n=l(r).val(),y)return n;N.push(n)}return N},set:function(e,n){for(var r,u,d=e.options,p=l.makeArray(n),y=d.length;y--;)u=d[y],(u.selected=l.inArray(l.valHooks.option.get(u),p)>-1)&&(r=!0);return r||(e.selectedIndex=-1),p}}}}),l.each(["radio","checkbox"],function(){l.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=l.inArray(l(e).val(),n)>-1}},ne.checkOn||(l.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Ft=s.location,li={guid:Date.now()},vn=/\?/;l.parseXML=function(e){var n,r;if(!e||typeof e!="string")return null;try{n=new s.DOMParser().parseFromString(e,"text/xml")}catch{}return r=n&&n.getElementsByTagName("parsererror")[0],(!n||r)&&l.error("Invalid XML: "+(r?l.map(r.childNodes,function(u){return u.textContent}).join(`
`):e)),n};var ui=/^(?:focusinfocus|focusoutblur)$/,fi=function(e){e.stopPropagation()};l.extend(l.event,{trigger:function(e,n,r,u){var d,p,y,N,A,B,X,Q,V=[r||_],le=ie.call(e,"type")?e.type:e,Me=ie.call(e,"namespace")?e.namespace.split("."):[];if(p=Q=y=r=r||_,!(r.nodeType===3||r.nodeType===8)&&!ui.test(le+l.event.triggered)&&(le.indexOf(".")>-1&&(Me=le.split("."),le=Me.shift(),Me.sort()),A=le.indexOf(":")<0&&"on"+le,e=e[l.expando]?e:new l.Event(le,typeof e=="object"&&e),e.isTrigger=u?2:3,e.namespace=Me.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+Me.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=n==null?[e]:l.makeArray(n,[e]),X=l.event.special[le]||{},!(!u&&X.trigger&&X.trigger.apply(r,n)===!1))){if(!u&&!X.noBubble&&!t(r)){for(N=X.delegateType||le,ui.test(N+le)||(p=p.parentNode);p;p=p.parentNode)V.push(p),y=p;y===(r.ownerDocument||_)&&V.push(y.defaultView||y.parentWindow||s)}for(d=0;(p=V[d++])&&!e.isPropagationStopped();)Q=p,e.type=d>1?N:X.bindType||le,B=(xe.get(p,"events")||Object.create(null))[e.type]&&xe.get(p,"handle"),B&&B.apply(p,n),B=A&&p[A],B&&B.apply&&Ge(p)&&(e.result=B.apply(p,n),e.result===!1&&e.preventDefault());return e.type=le,!u&&!e.isDefaultPrevented()&&(!X._default||X._default.apply(V.pop(),n)===!1)&&Ge(r)&&A&&ee(r[le])&&!t(r)&&(y=r[A],y&&(r[A]=null),l.event.triggered=le,e.isPropagationStopped()&&Q.addEventListener(le,fi),r[le](),e.isPropagationStopped()&&Q.removeEventListener(le,fi),l.event.triggered=void 0,y&&(r[A]=y)),e.result}},simulate:function(e,n,r){var u=l.extend(new l.Event,r,{type:e,isSimulated:!0});l.event.trigger(u,null,n)}}),l.fn.extend({trigger:function(e,n){return this.each(function(){l.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0];if(r)return l.event.trigger(e,n,r,!0)}});var ir=/\[\]$/,ci=/\r?\n/g,rr=/^(?:submit|button|image|reset|file)$/i,ar=/^(?:input|select|textarea|keygen)/i;function yn(e,n,r,u){var d;if(Array.isArray(n))l.each(n,function(p,y){r||ir.test(e)?u(e,y):yn(e+"["+(typeof y=="object"&&y!=null?p:"")+"]",y,r,u)});else if(!r&&re(n)==="object")for(d in n)yn(e+"["+d+"]",n[d],r,u);else u(e,n)}l.param=function(e,n){var r,u=[],d=function(p,y){var N=ee(y)?y():y;u[u.length]=encodeURIComponent(p)+"="+encodeURIComponent(N==null?"":N)};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!l.isPlainObject(e))l.each(e,function(){d(this.name,this.value)});else for(r in e)yn(r,e[r],n,d);return u.join("&")},l.fn.extend({serialize:function(){return l.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=l.prop(this,"elements");return e?l.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!l(this).is(":disabled")&&ar.test(this.nodeName)&&!rr.test(e)&&(this.checked||!Bt.test(e))}).map(function(e,n){var r=l(this).val();return r==null?null:Array.isArray(r)?l.map(r,function(u){return{name:n.name,value:u.replace(ci,`\r
`)}}):{name:n.name,value:r.replace(ci,`\r
`)}}).get()}});var sr=/%20/g,or=/#.*$/,lr=/([?&])_=[^&]*/,ur=/^(.*?):[ \t]*([^\r\n]*)$/mg,fr=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,cr=/^(?:GET|HEAD)$/,dr=/^\/\//,di={},bn={},pi="*/".concat("*"),xn=_.createElement("a");xn.href=Ft.href;function hi(e){return function(n,r){typeof n!="string"&&(r=n,n="*");var u,d=0,p=n.toLowerCase().match(J)||[];if(ee(r))for(;u=p[d++];)u[0]==="+"?(u=u.slice(1)||"*",(e[u]=e[u]||[]).unshift(r)):(e[u]=e[u]||[]).push(r)}}function gi(e,n,r,u){var d={},p=e===bn;function y(N){var A;return d[N]=!0,l.each(e[N]||[],function(B,X){var Q=X(n,r,u);if(typeof Q=="string"&&!p&&!d[Q])return n.dataTypes.unshift(Q),y(Q),!1;if(p)return!(A=Q)}),A}return y(n.dataTypes[0])||!d["*"]&&y("*")}function Tn(e,n){var r,u,d=l.ajaxSettings.flatOptions||{};for(r in n)n[r]!==void 0&&((d[r]?e:u||(u={}))[r]=n[r]);return u&&l.extend(!0,e,u),e}function pr(e,n,r){for(var u,d,p,y,N=e.contents,A=e.dataTypes;A[0]==="*";)A.shift(),u===void 0&&(u=e.mimeType||n.getResponseHeader("Content-Type"));if(u){for(d in N)if(N[d]&&N[d].test(u)){A.unshift(d);break}}if(A[0]in r)p=A[0];else{for(d in r){if(!A[0]||e.converters[d+" "+A[0]]){p=d;break}y||(y=d)}p=p||y}if(p)return p!==A[0]&&A.unshift(p),r[p]}function hr(e,n,r,u){var d,p,y,N,A,B={},X=e.dataTypes.slice();if(X[1])for(y in e.converters)B[y.toLowerCase()]=e.converters[y];for(p=X.shift();p;)if(e.responseFields[p]&&(r[e.responseFields[p]]=n),!A&&u&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),A=p,p=X.shift(),p){if(p==="*")p=A;else if(A!=="*"&&A!==p){if(y=B[A+" "+p]||B["* "+p],!y){for(d in B)if(N=d.split(" "),N[1]===p&&(y=B[A+" "+N[0]]||B["* "+N[0]],y)){y===!0?y=B[d]:B[d]!==!0&&(p=N[0],X.unshift(N[1]));break}}if(y!==!0)if(y&&e.throws)n=y(n);else try{n=y(n)}catch(Q){return{state:"parsererror",error:y?Q:"No conversion from "+A+" to "+p}}}}return{state:"success",data:n}}l.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ft.href,type:"GET",isLocal:fr.test(Ft.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":l.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Tn(Tn(e,l.ajaxSettings),n):Tn(l.ajaxSettings,e)},ajaxPrefilter:hi(di),ajaxTransport:hi(bn),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var r,u,d,p,y,N,A,B,X,Q,V=l.ajaxSetup({},n),le=V.context||V,Me=V.context&&(le.nodeType||le.jquery)?l(le):l.event,Ie=l.Deferred(),De=l.Callbacks("once memory"),We=V.statusCode||{},Ve={},ut={},ft="canceled",Ne={readyState:0,getResponseHeader:function(je){var Re;if(A){if(!p)for(p={};Re=ur.exec(d);)p[Re[1].toLowerCase()+" "]=(p[Re[1].toLowerCase()+" "]||[]).concat(Re[2]);Re=p[je.toLowerCase()+" "]}return Re==null?null:Re.join(", ")},getAllResponseHeaders:function(){return A?d:null},setRequestHeader:function(je,Re){return A==null&&(je=ut[je.toLowerCase()]=ut[je.toLowerCase()]||je,Ve[je]=Re),this},overrideMimeType:function(je){return A==null&&(V.mimeType=je),this},statusCode:function(je){var Re;if(je)if(A)Ne.always(je[Ne.status]);else for(Re in je)We[Re]=[We[Re],je[Re]];return this},abort:function(je){var Re=je||ft;return r&&r.abort(Re),At(0,Re),this}};if(Ie.promise(Ne),V.url=((e||V.url||Ft.href)+"").replace(dr,Ft.protocol+"//"),V.type=n.method||n.type||V.method||V.type,V.dataTypes=(V.dataType||"*").toLowerCase().match(J)||[""],V.crossDomain==null){N=_.createElement("a");try{N.href=V.url,N.href=N.href,V.crossDomain=xn.protocol+"//"+xn.host!=N.protocol+"//"+N.host}catch{V.crossDomain=!0}}if(V.data&&V.processData&&typeof V.data!="string"&&(V.data=l.param(V.data,V.traditional)),gi(di,V,n,Ne),A)return Ne;B=l.event&&V.global,B&&l.active++===0&&l.event.trigger("ajaxStart"),V.type=V.type.toUpperCase(),V.hasContent=!cr.test(V.type),u=V.url.replace(or,""),V.hasContent?V.data&&V.processData&&(V.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(V.data=V.data.replace(sr,"+")):(Q=V.url.slice(u.length),V.data&&(V.processData||typeof V.data=="string")&&(u+=(vn.test(u)?"&":"?")+V.data,delete V.data),V.cache===!1&&(u=u.replace(lr,"$1"),Q=(vn.test(u)?"&":"?")+"_="+li.guid+++Q),V.url=u+Q),V.ifModified&&(l.lastModified[u]&&Ne.setRequestHeader("If-Modified-Since",l.lastModified[u]),l.etag[u]&&Ne.setRequestHeader("If-None-Match",l.etag[u])),(V.data&&V.hasContent&&V.contentType!==!1||n.contentType)&&Ne.setRequestHeader("Content-Type",V.contentType),Ne.setRequestHeader("Accept",V.dataTypes[0]&&V.accepts[V.dataTypes[0]]?V.accepts[V.dataTypes[0]]+(V.dataTypes[0]!=="*"?", "+pi+"; q=0.01":""):V.accepts["*"]);for(X in V.headers)Ne.setRequestHeader(X,V.headers[X]);if(V.beforeSend&&(V.beforeSend.call(le,Ne,V)===!1||A))return Ne.abort();if(ft="abort",De.add(V.complete),Ne.done(V.success),Ne.fail(V.error),r=gi(bn,V,n,Ne),!r)At(-1,"No Transport");else{if(Ne.readyState=1,B&&Me.trigger("ajaxSend",[Ne,V]),A)return Ne;V.async&&V.timeout>0&&(y=s.setTimeout(function(){Ne.abort("timeout")},V.timeout));try{A=!1,r.send(Ve,At)}catch(je){if(A)throw je;At(-1,je)}}function At(je,Re,qt,Cn){var ct,Vt,dt,xt,Tt,rt=Re;A||(A=!0,y&&s.clearTimeout(y),r=void 0,d=Cn||"",Ne.readyState=je>0?4:0,ct=je>=200&&je<300||je===304,qt&&(xt=pr(V,Ne,qt)),!ct&&l.inArray("script",V.dataTypes)>-1&&l.inArray("json",V.dataTypes)<0&&(V.converters["text script"]=function(){}),xt=hr(V,xt,Ne,ct),ct?(V.ifModified&&(Tt=Ne.getResponseHeader("Last-Modified"),Tt&&(l.lastModified[u]=Tt),Tt=Ne.getResponseHeader("etag"),Tt&&(l.etag[u]=Tt)),je===204||V.type==="HEAD"?rt="nocontent":je===304?rt="notmodified":(rt=xt.state,Vt=xt.data,dt=xt.error,ct=!dt)):(dt=rt,(je||!rt)&&(rt="error",je<0&&(je=0))),Ne.status=je,Ne.statusText=(Re||rt)+"",ct?Ie.resolveWith(le,[Vt,rt,Ne]):Ie.rejectWith(le,[Ne,rt,dt]),Ne.statusCode(We),We=void 0,B&&Me.trigger(ct?"ajaxSuccess":"ajaxError",[Ne,V,ct?Vt:dt]),De.fireWith(le,[Ne,rt]),B&&(Me.trigger("ajaxComplete",[Ne,V]),--l.active||l.event.trigger("ajaxStop")))}return Ne},getJSON:function(e,n,r){return l.get(e,n,r,"json")},getScript:function(e,n){return l.get(e,void 0,n,"script")}}),l.each(["get","post"],function(e,n){l[n]=function(r,u,d,p){return ee(u)&&(p=p||d,d=u,u=void 0),l.ajax(l.extend({url:r,type:n,dataType:p,data:u,success:d},l.isPlainObject(r)&&r))}}),l.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),l._evalUrl=function(e,n,r){return l.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(u){l.globalEval(u,n,r)}})},l.fn.extend({wrapAll:function(e){var n;return this[0]&&(ee(e)&&(e=e.call(this[0])),n=l(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&n.insertBefore(this[0]),n.map(function(){for(var r=this;r.firstElementChild;)r=r.firstElementChild;return r}).append(this)),this},wrapInner:function(e){return ee(e)?this.each(function(n){l(this).wrapInner(e.call(this,n))}):this.each(function(){var n=l(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){var n=ee(e);return this.each(function(r){l(this).wrapAll(n?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){l(this).replaceWith(this.childNodes)}),this}}),l.expr.pseudos.hidden=function(e){return!l.expr.pseudos.visible(e)},l.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},l.ajaxSettings.xhr=function(){try{return new s.XMLHttpRequest}catch{}};var gr={0:200,1223:204},Rt=l.ajaxSettings.xhr();ne.cors=!!Rt&&"withCredentials"in Rt,ne.ajax=Rt=!!Rt,l.ajaxTransport(function(e){var n,r;if(ne.cors||Rt&&!e.crossDomain)return{send:function(u,d){var p,y=e.xhr();if(y.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(p in e.xhrFields)y[p]=e.xhrFields[p];e.mimeType&&y.overrideMimeType&&y.overrideMimeType(e.mimeType),!e.crossDomain&&!u["X-Requested-With"]&&(u["X-Requested-With"]="XMLHttpRequest");for(p in u)y.setRequestHeader(p,u[p]);n=function(N){return function(){n&&(n=r=y.onload=y.onerror=y.onabort=y.ontimeout=y.onreadystatechange=null,N==="abort"?y.abort():N==="error"?typeof y.status!="number"?d(0,"error"):d(y.status,y.statusText):d(gr[y.status]||y.status,y.statusText,(y.responseType||"text")!=="text"||typeof y.responseText!="string"?{binary:y.response}:{text:y.responseText},y.getAllResponseHeaders()))}},y.onload=n(),r=y.onerror=y.ontimeout=n("error"),y.onabort!==void 0?y.onabort=r:y.onreadystatechange=function(){y.readyState===4&&s.setTimeout(function(){n&&r()})},n=n("abort");try{y.send(e.hasContent&&e.data||null)}catch(N){if(n)throw N}},abort:function(){n&&n()}}}),l.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),l.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return l.globalEval(e),e}}}),l.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),l.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,r;return{send:function(u,d){n=l("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(p){n.remove(),r=null,p&&d(p.type==="error"?404:200,p.type)}),_.head.appendChild(n[0])},abort:function(){r&&r()}}}});var mi=[],Sn=/(=)\?(?=&|$)|\?\?/;l.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=mi.pop()||l.expando+"_"+li.guid++;return this[e]=!0,e}}),l.ajaxPrefilter("json jsonp",function(e,n,r){var u,d,p,y=e.jsonp!==!1&&(Sn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Sn.test(e.data)&&"data");if(y||e.dataTypes[0]==="jsonp")return u=e.jsonpCallback=ee(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,y?e[y]=e[y].replace(Sn,"$1"+u):e.jsonp!==!1&&(e.url+=(vn.test(e.url)?"&":"?")+e.jsonp+"="+u),e.converters["script json"]=function(){return p||l.error(u+" was not called"),p[0]},e.dataTypes[0]="json",d=s[u],s[u]=function(){p=arguments},r.always(function(){d===void 0?l(s).removeProp(u):s[u]=d,e[u]&&(e.jsonpCallback=n.jsonpCallback,mi.push(u)),p&&ee(d)&&d(p[0]),p=d=void 0}),"script"}),ne.createHTMLDocument=function(){var e=_.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2}(),l.parseHTML=function(e,n,r){if(typeof e!="string")return[];typeof n=="boolean"&&(r=n,n=!1);var u,d,p;return n||(ne.createHTMLDocument?(n=_.implementation.createHTMLDocument(""),u=n.createElement("base"),u.href=_.location.href,n.head.appendChild(u)):n=_),d=x.exec(e),p=!r&&[],d?[n.createElement(d[1])]:(d=Wn([e],n,p),p&&p.length&&l(p).remove(),l.merge([],d.childNodes))},l.fn.load=function(e,n,r){var u,d,p,y=this,N=e.indexOf(" ");return N>-1&&(u=Et(e.slice(N)),e=e.slice(0,N)),ee(n)?(r=n,n=void 0):n&&typeof n=="object"&&(d="POST"),y.length>0&&l.ajax({url:e,type:d||"GET",dataType:"html",data:n}).done(function(A){p=arguments,y.html(u?l("<div>").append(l.parseHTML(A)).find(u):A)}).always(r&&function(A,B){y.each(function(){r.apply(this,p||[A.responseText,B,A])})}),this},l.expr.pseudos.animated=function(e){return l.grep(l.timers,function(n){return e===n.elem}).length},l.offset={setOffset:function(e,n,r){var u,d,p,y,N,A,B,X=l.css(e,"position"),Q=l(e),V={};X==="static"&&(e.style.position="relative"),N=Q.offset(),p=l.css(e,"top"),A=l.css(e,"left"),B=(X==="absolute"||X==="fixed")&&(p+A).indexOf("auto")>-1,B?(u=Q.position(),y=u.top,d=u.left):(y=parseFloat(p)||0,d=parseFloat(A)||0),ee(n)&&(n=n.call(e,r,l.extend({},N))),n.top!=null&&(V.top=n.top-N.top+y),n.left!=null&&(V.left=n.left-N.left+d),"using"in n?n.using.call(e,V):Q.css(V)}},l.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(d){l.offset.setOffset(this,e,d)});var n,r,u=this[0];if(!!u)return u.getClientRects().length?(n=u.getBoundingClientRect(),r=u.ownerDocument.defaultView,{top:n.top+r.pageYOffset,left:n.left+r.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var e,n,r,u=this[0],d={top:0,left:0};if(l.css(u,"position")==="fixed")n=u.getBoundingClientRect();else{for(n=this.offset(),r=u.ownerDocument,e=u.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&l.css(e,"position")==="static";)e=e.parentNode;e&&e!==u&&e.nodeType===1&&(d=l(e).offset(),d.top+=l.css(e,"borderTopWidth",!0),d.left+=l.css(e,"borderLeftWidth",!0))}return{top:n.top-d.top-l.css(u,"marginTop",!0),left:n.left-d.left-l.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&l.css(e,"position")==="static";)e=e.offsetParent;return e||wt})}}),l.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=n==="pageYOffset";l.fn[e]=function(u){return He(this,function(d,p,y){var N;if(t(d)?N=d:d.nodeType===9&&(N=d.defaultView),y===void 0)return N?N[n]:d[p];N?N.scrollTo(r?N.pageXOffset:y,r?y:N.pageYOffset):d[p]=y},e,u,arguments.length)}}),l.each(["top","left"],function(e,n){l.cssHooks[n]=Qn(ne.pixelPosition,function(r,u){if(u)return u=zt(r,n),cn.test(u)?l(r).position()[n]+"px":u})}),l.each({Height:"height",Width:"width"},function(e,n){l.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,u){l.fn[u]=function(d,p){var y=arguments.length&&(r||typeof d!="boolean"),N=r||(d===!0||p===!0?"margin":"border");return He(this,function(A,B,X){var Q;return t(A)?u.indexOf("outer")===0?A["inner"+e]:A.document.documentElement["client"+e]:A.nodeType===9?(Q=A.documentElement,Math.max(A.body["scroll"+e],Q["scroll"+e],A.body["offset"+e],Q["offset"+e],Q["client"+e])):X===void 0?l.css(A,B,N):l.style(A,B,X,N)},n,y?d:void 0,y)}})}),l.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){l.fn[n]=function(r){return this.on(n,r)}}),l.fn.extend({bind:function(e,n,r){return this.on(e,null,n,r)},unbind:function(e,n){return this.off(e,null,n)},delegate:function(e,n,r,u){return this.on(n,e,r,u)},undelegate:function(e,n,r){return arguments.length===1?this.off(e,"**"):this.off(n,e||"**",r)},hover:function(e,n){return this.on("mouseenter",e).on("mouseleave",n||e)}}),l.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){l.fn[n]=function(r,u){return arguments.length>0?this.on(n,null,r,u):this.trigger(n)}});var mr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;l.proxy=function(e,n){var r,u,d;if(typeof n=="string"&&(r=e[n],n=e,e=r),!!ee(e))return u=g.call(arguments,2),d=function(){return e.apply(n||this,u.concat(g.call(arguments)))},d.guid=e.guid=e.guid||l.guid++,d},l.holdReady=function(e){e?l.readyWait++:l.ready(!0)},l.isArray=Array.isArray,l.parseJSON=JSON.parse,l.nodeName=pe,l.isFunction=ee,l.isWindow=t,l.camelCase=$e,l.type=re,l.now=Date.now,l.isNumeric=function(e){var n=l.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},l.trim=function(e){return e==null?"":(e+"").replace(mr,"$1")};var vr=s.jQuery,yr=s.$;return l.noConflict=function(e){return s.$===l&&(s.$=yr),e&&s.jQuery===l&&(s.jQuery=vr),l},typeof o>"u"&&(s.jQuery=s.$=l),l})})(Mi);const we=Mi.exports;function xi(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function zn(i={},s={}){Object.keys(s).forEach(o=>{typeof i[o]>"u"?i[o]=s[o]:xi(s[o])&&xi(i[o])&&Object.keys(s[o]).length>0&&zn(i[o],s[o])})}const Ai={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 gt(){const i=typeof document<"u"?document:{};return zn(i,Ai),i}const Dr={document:Ai,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(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function Ze(){const i=typeof window<"u"?window:{};return zn(i,Dr),i}function Lr(i){const s=i;Object.keys(s).forEach(o=>{try{s[o]=null}catch{}try{delete s[o]}catch{}})}function Xt(i,s=0){return setTimeout(i,s)}function bt(){return Date.now()}function Pr(i){const s=Ze();let o;return s.getComputedStyle&&(o=s.getComputedStyle(i,null)),!o&&i.currentStyle&&(o=i.currentStyle),o||(o=i.style),o}function Or(i,s="x"){const o=Ze();let f,h,g;const k=Pr(i);return o.WebKitCSSMatrix?(h=k.transform||k.webkitTransform,h.split(",").length>6&&(h=h.split(", ").map(D=>D.replace(",",".")).join(", ")),g=new o.WebKitCSSMatrix(h==="none"?"":h)):(g=k.MozTransform||k.OTransform||k.MsTransform||k.msTransform||k.transform||k.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),f=g.toString().split(",")),s==="x"&&(o.WebKitCSSMatrix?h=g.m41:f.length===16?h=parseFloat(f[12]):h=parseFloat(f[4])),s==="y"&&(o.WebKitCSSMatrix?h=g.m42:f.length===16?h=parseFloat(f[13]):h=parseFloat(f[5])),h||0}function rn(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function Nr(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function tt(...i){const s=Object(i[0]),o=["__proto__","constructor","prototype"];for(let f=1;f<i.length;f+=1){const h=i[f];if(h!=null&&!Nr(h)){const g=Object.keys(Object(h)).filter(k=>o.indexOf(k)<0);for(let k=0,D=g.length;k<D;k+=1){const L=g[k],q=Object.getOwnPropertyDescriptor(h,L);q!==void 0&&q.enumerable&&(rn(s[L])&&rn(h[L])?h[L].__swiper__?s[L]=h[L]:tt(s[L],h[L]):!rn(s[L])&&rn(h[L])?(s[L]={},h[L].__swiper__?s[L]=h[L]:tt(s[L],h[L])):s[L]=h[L])}}}return s}function an(i,s,o){i.style.setProperty(s,o)}function ki({swiper:i,targetPosition:s,side:o}){const f=Ze(),h=-i.translate;let g=null,k;const D=i.params.speed;i.wrapperEl.style.scrollSnapType="none",f.cancelAnimationFrame(i.cssModeFrameID);const L=s>h?"next":"prev",q=(ie,ae)=>L==="next"&&ie>=ae||L==="prev"&&ie<=ae,oe=()=>{k=new Date().getTime(),g===null&&(g=k);const ie=Math.max(Math.min((k-g)/D,1),0),ae=.5-Math.cos(ie*Math.PI)/2;let Z=h+ae*(s-h);if(q(Z,s)&&(Z=s),i.wrapperEl.scrollTo({[o]:Z}),q(Z,s)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[o]:Z})}),f.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=f.requestAnimationFrame(oe)};oe()}function ht(i,s=""){return[...i.children].filter(o=>o.matches(s))}function Di(i,s=[]){const o=document.createElement(i);return o.classList.add(...Array.isArray(s)?s:[s]),o}function Ir(i,s){const o=[];for(;i.previousElementSibling;){const f=i.previousElementSibling;s?f.matches(s)&&o.push(f):o.push(f),i=f}return o}function jr(i,s){const o=[];for(;i.nextElementSibling;){const f=i.nextElementSibling;s?f.matches(s)&&o.push(f):o.push(f),i=f}return o}function Ct(i,s){return Ze().getComputedStyle(i,null).getPropertyValue(s)}function on(i){let s=i,o;if(s){for(o=0;(s=s.previousSibling)!==null;)s.nodeType===1&&(o+=1);return o}}function Li(i,s){const o=[];let f=i.parentElement;for(;f;)s?f.matches(s)&&o.push(f):o.push(f),f=f.parentElement;return o}function Hn(i,s,o){const f=Ze();return o?i[s==="width"?"offsetWidth":"offsetHeight"]+parseFloat(f.getComputedStyle(i,null).getPropertyValue(s==="width"?"margin-right":"margin-top"))+parseFloat(f.getComputedStyle(i,null).getPropertyValue(s==="width"?"margin-left":"margin-bottom")):i.offsetWidth}let Ln;function _r(){const i=Ze(),s=gt();return{smoothScroll:s.documentElement&&s.documentElement.style&&"scrollBehavior"in s.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&s instanceof i.DocumentTouch)}}function Pi(){return Ln||(Ln=_r()),Ln}let Pn;function Hr({userAgent:i}={}){const s=Pi(),o=Ze(),f=o.navigator.platform,h=i||o.navigator.userAgent,g={ios:!1,android:!1},k=o.screen.width,D=o.screen.height,L=h.match(/(Android);?[\s\/]+([\d.]+)?/);let q=h.match(/(iPad).*OS\s([\d_]+)/);const oe=h.match(/(iPod)(.*OS\s([\d_]+))?/),ie=!q&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),ae=f==="Win32";let Z=f==="MacIntel";const ne=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!q&&Z&&s.touch&&ne.indexOf(`${k}x${D}`)>=0&&(q=h.match(/(Version)\/([\d.]+)/),q||(q=[0,1,"13_0_0"]),Z=!1),L&&!ae&&(g.os="android",g.android=!0),(q||ie||oe)&&(g.os="ios",g.ios=!0),g}function Br(i={}){return Pn||(Pn=Hr(i)),Pn}let On;function zr(){const i=Ze();let s=!1;function o(){const f=i.navigator.userAgent.toLowerCase();return f.indexOf("safari")>=0&&f.indexOf("chrome")<0&&f.indexOf("android")<0}if(o()){const f=String(i.navigator.userAgent);if(f.includes("Version/")){const[h,g]=f.split("Version/")[1].split(" ")[0].split(".").map(k=>Number(k));s=h<16||h===16&&g<2}}return{isSafari:s||o(),needPerspectiveFix:s,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent)}}function $r(){return On||(On=zr()),On}function Fr({swiper:i,on:s,emit:o}){const f=Ze();let h=null,g=null;const k=()=>{!i||i.destroyed||!i.initialized||(o("beforeResize"),o("resize"))},D=()=>{!i||i.destroyed||!i.initialized||(h=new ResizeObserver(oe=>{g=f.requestAnimationFrame(()=>{const{width:ie,height:ae}=i;let Z=ie,ne=ae;oe.forEach(({contentBoxSize:ee,contentRect:t,target:_})=>{_&&_!==i.el||(Z=t?t.width:(ee[0]||ee).inlineSize,ne=t?t.height:(ee[0]||ee).blockSize)}),(Z!==ie||ne!==ae)&&k()})}),h.observe(i.el))},L=()=>{g&&f.cancelAnimationFrame(g),h&&h.unobserve&&i.el&&(h.unobserve(i.el),h=null)},q=()=>{!i||i.destroyed||!i.initialized||o("orientationchange")};s("init",()=>{if(i.params.resizeObserver&&typeof f.ResizeObserver<"u"){D();return}f.addEventListener("resize",k),f.addEventListener("orientationchange",q)}),s("destroy",()=>{L(),f.removeEventListener("resize",k),f.removeEventListener("orientationchange",q)})}function Rr({swiper:i,extendParams:s,on:o,emit:f}){const h=[],g=Ze(),k=(q,oe={})=>{const ie=g.MutationObserver||g.WebkitMutationObserver,ae=new ie(Z=>{if(i.__preventObserver__)return;if(Z.length===1){f("observerUpdate",Z[0]);return}const ne=function(){f("observerUpdate",Z[0])};g.requestAnimationFrame?g.requestAnimationFrame(ne):g.setTimeout(ne,0)});ae.observe(q,{attributes:typeof oe.attributes>"u"?!0:oe.attributes,childList:typeof oe.childList>"u"?!0:oe.childList,characterData:typeof oe.characterData>"u"?!0:oe.characterData}),h.push(ae)},D=()=>{if(!!i.params.observer){if(i.params.observeParents){const q=Li(i.el);for(let oe=0;oe<q.length;oe+=1)k(q[oe])}k(i.el,{childList:i.params.observeSlideChildren}),k(i.wrapperEl,{attributes:!1})}},L=()=>{h.forEach(q=>{q.disconnect()}),h.splice(0,h.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),o("init",D),o("destroy",L)}const qr={on(i,s,o){const f=this;if(!f.eventsListeners||f.destroyed||typeof s!="function")return f;const h=o?"unshift":"push";return i.split(" ").forEach(g=>{f.eventsListeners[g]||(f.eventsListeners[g]=[]),f.eventsListeners[g][h](s)}),f},once(i,s,o){const f=this;if(!f.eventsListeners||f.destroyed||typeof s!="function")return f;function h(...g){f.off(i,h),h.__emitterProxy&&delete h.__emitterProxy,s.apply(f,g)}return h.__emitterProxy=s,f.on(i,h,o)},onAny(i,s){const o=this;if(!o.eventsListeners||o.destroyed||typeof i!="function")return o;const f=s?"unshift":"push";return o.eventsAnyListeners.indexOf(i)<0&&o.eventsAnyListeners[f](i),o},offAny(i){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsAnyListeners)return s;const o=s.eventsAnyListeners.indexOf(i);return o>=0&&s.eventsAnyListeners.splice(o,1),s},off(i,s){const o=this;return!o.eventsListeners||o.destroyed||!o.eventsListeners||i.split(" ").forEach(f=>{typeof s>"u"?o.eventsListeners[f]=[]:o.eventsListeners[f]&&o.eventsListeners[f].forEach((h,g)=>{(h===s||h.__emitterProxy&&h.__emitterProxy===s)&&o.eventsListeners[f].splice(g,1)})}),o},emit(...i){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let o,f,h;return typeof i[0]=="string"||Array.isArray(i[0])?(o=i[0],f=i.slice(1,i.length),h=s):(o=i[0].events,f=i[0].data,h=i[0].context||s),f.unshift(h),(Array.isArray(o)?o:o.split(" ")).forEach(k=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(D=>{D.apply(h,[k,...f])}),s.eventsListeners&&s.eventsListeners[k]&&s.eventsListeners[k].forEach(D=>{D.apply(h,f)})}),s}};function Vr(){const i=this;let s,o;const f=i.el;typeof i.params.width<"u"&&i.params.width!==null?s=i.params.width:s=f.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?o=i.params.height:o=f.clientHeight,!(s===0&&i.isHorizontal()||o===0&&i.isVertical())&&(s=s-parseInt(Ct(f,"padding-left")||0,10)-parseInt(Ct(f,"padding-right")||0,10),o=o-parseInt(Ct(f,"padding-top")||0,10)-parseInt(Ct(f,"padding-bottom")||0,10),Number.isNaN(s)&&(s=0),Number.isNaN(o)&&(o=0),Object.assign(i,{width:s,height:o,size:i.isHorizontal()?s:o}))}function Gr(){const i=this;function s(me){return i.isHorizontal()?me:{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"}[me]}function o(me,ue){return parseFloat(me.getPropertyValue(s(ue))||0)}const f=i.params,{wrapperEl:h,slidesEl:g,size:k,rtlTranslate:D,wrongRTL:L}=i,q=i.virtual&&f.virtual.enabled,oe=q?i.virtual.slides.length:i.slides.length,ie=ht(g,`.${i.params.slideClass}, swiper-slide`),ae=q?i.virtual.slides.length:ie.length;let Z=[];const ne=[],ee=[];let t=f.slidesOffsetBefore;typeof t=="function"&&(t=f.slidesOffsetBefore.call(i));let _=f.slidesOffsetAfter;typeof _=="function"&&(_=f.slidesOffsetAfter.call(i));const F=i.snapGrid.length,Y=i.slidesGrid.length;let re=f.spaceBetween,ce=-t,se=0,l=0;if(typeof k>"u")return;typeof re=="string"&&re.indexOf("%")>=0?re=parseFloat(re.replace("%",""))/100*k:typeof re=="string"&&(re=parseFloat(re)),i.virtualSize=-re,ie.forEach(me=>{D?me.style.marginLeft="":me.style.marginRight="",me.style.marginBottom="",me.style.marginTop=""}),f.centeredSlides&&f.cssMode&&(an(h,"--swiper-centered-offset-before",""),an(h,"--swiper-centered-offset-after",""));const be=f.grid&&f.grid.rows>1&&i.grid;be&&i.grid.initSlides(ae);let pe;const Oe=f.slidesPerView==="auto"&&f.breakpoints&&Object.keys(f.breakpoints).filter(me=>typeof f.breakpoints[me].slidesPerView<"u").length>0;for(let me=0;me<ae;me+=1){pe=0;let ue;if(ie[me]&&(ue=ie[me]),be&&i.grid.updateSlide(me,ue,ae,s),!(ie[me]&&Ct(ue,"display")==="none")){if(f.slidesPerView==="auto"){Oe&&(ie[me].style[s("width")]="");const a=getComputedStyle(ue),c=ue.style.transform,v=ue.style.webkitTransform;if(c&&(ue.style.transform="none"),v&&(ue.style.webkitTransform="none"),f.roundLengths)pe=i.isHorizontal()?Hn(ue,"width",!0):Hn(ue,"height",!0);else{const m=o(a,"width"),T=o(a,"padding-left"),E=o(a,"padding-right"),w=o(a,"margin-left"),M=o(a,"margin-right"),S=a.getPropertyValue("box-sizing");if(S&&S==="border-box")pe=m+w+M;else{const{clientWidth:x,offsetWidth:P}=ue;pe=m+T+E+w+M+(P-x)}}c&&(ue.style.transform=c),v&&(ue.style.webkitTransform=v),f.roundLengths&&(pe=Math.floor(pe))}else pe=(k-(f.slidesPerView-1)*re)/f.slidesPerView,f.roundLengths&&(pe=Math.floor(pe)),ie[me]&&(ie[me].style[s("width")]=`${pe}px`);ie[me]&&(ie[me].swiperSlideSize=pe),ee.push(pe),f.centeredSlides?(ce=ce+pe/2+se/2+re,se===0&&me!==0&&(ce=ce-k/2-re),me===0&&(ce=ce-k/2-re),Math.abs(ce)<1/1e3&&(ce=0),f.roundLengths&&(ce=Math.floor(ce)),l%f.slidesPerGroup===0&&Z.push(ce),ne.push(ce)):(f.roundLengths&&(ce=Math.floor(ce)),(l-Math.min(i.params.slidesPerGroupSkip,l))%i.params.slidesPerGroup===0&&Z.push(ce),ne.push(ce),ce=ce+pe+re),i.virtualSize+=pe+re,se=pe,l+=1}}if(i.virtualSize=Math.max(i.virtualSize,k)+_,D&&L&&(f.effect==="slide"||f.effect==="coverflow")&&(h.style.width=`${i.virtualSize+re}px`),f.setWrapperSize&&(h.style[s("width")]=`${i.virtualSize+re}px`),be&&i.grid.updateWrapperSize(pe,Z,s),!f.centeredSlides){const me=[];for(let ue=0;ue<Z.length;ue+=1){let a=Z[ue];f.roundLengths&&(a=Math.floor(a)),Z[ue]<=i.virtualSize-k&&me.push(a)}Z=me,Math.floor(i.virtualSize-k)-Math.floor(Z[Z.length-1])>1&&Z.push(i.virtualSize-k)}if(q&&f.loop){const me=ee[0]+re;if(f.slidesPerGroup>1){const ue=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/f.slidesPerGroup),a=me*f.slidesPerGroup;for(let c=0;c<ue;c+=1)Z.push(Z[Z.length-1]+a)}for(let ue=0;ue<i.virtual.slidesBefore+i.virtual.slidesAfter;ue+=1)f.slidesPerGroup===1&&Z.push(Z[Z.length-1]+me),ne.push(ne[ne.length-1]+me),i.virtualSize+=me}if(Z.length===0&&(Z=[0]),re!==0){const me=i.isHorizontal()&&D?"marginLeft":s("marginRight");ie.filter((ue,a)=>!f.cssMode||f.loop?!0:a!==ie.length-1).forEach(ue=>{ue.style[me]=`${re}px`})}if(f.centeredSlides&&f.centeredSlidesBounds){let me=0;ee.forEach(a=>{me+=a+(re||0)}),me-=re;const ue=me-k;Z=Z.map(a=>a<=0?-t:a>ue?ue+_:a)}if(f.centerInsufficientSlides){let me=0;if(ee.forEach(ue=>{me+=ue+(re||0)}),me-=re,me<k){const ue=(k-me)/2;Z.forEach((a,c)=>{Z[c]=a-ue}),ne.forEach((a,c)=>{ne[c]=a+ue})}}if(Object.assign(i,{slides:ie,snapGrid:Z,slidesGrid:ne,slidesSizesGrid:ee}),f.centeredSlides&&f.cssMode&&!f.centeredSlidesBounds){an(h,"--swiper-centered-offset-before",`${-Z[0]}px`),an(h,"--swiper-centered-offset-after",`${i.size/2-ee[ee.length-1]/2}px`);const me=-i.snapGrid[0],ue=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(a=>a+me),i.slidesGrid=i.slidesGrid.map(a=>a+ue)}if(ae!==oe&&i.emit("slidesLengthChange"),Z.length!==F&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),ne.length!==Y&&i.emit("slidesGridLengthChange"),f.watchSlidesProgress&&i.updateSlidesOffset(),!q&&!f.cssMode&&(f.effect==="slide"||f.effect==="fade")){const me=`${f.containerModifierClass}backface-hidden`,ue=i.el.classList.contains(me);ae<=f.maxBackfaceHiddenSlides?ue||i.el.classList.add(me):ue&&i.el.classList.remove(me)}}function Wr(i){const s=this,o=[],f=s.virtual&&s.params.virtual.enabled;let h=0,g;typeof i=="number"?s.setTransition(i):i===!0&&s.setTransition(s.params.speed);const k=D=>f?s.slides[s.getSlideIndexByData(D)]:s.slides[D];if(s.params.slidesPerView!=="auto"&&s.params.slidesPerView>1)if(s.params.centeredSlides)(s.visibleSlides||[]).forEach(D=>{o.push(D)});else for(g=0;g<Math.ceil(s.params.slidesPerView);g+=1){const D=s.activeIndex+g;if(D>s.slides.length&&!f)break;o.push(k(D))}else o.push(k(s.activeIndex));for(g=0;g<o.length;g+=1)if(typeof o[g]<"u"){const D=o[g].offsetHeight;h=D>h?D:h}(h||h===0)&&(s.wrapperEl.style.height=`${h}px`)}function Xr(){const i=this,s=i.slides,o=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let f=0;f<s.length;f+=1)s[f].swiperSlideOffset=(i.isHorizontal()?s[f].offsetLeft:s[f].offsetTop)-o-i.cssOverflowAdjustment()}function Ur(i=this&&this.translate||0){const s=this,o=s.params,{slides:f,rtlTranslate:h,snapGrid:g}=s;if(f.length===0)return;typeof f[0].swiperSlideOffset>"u"&&s.updateSlidesOffset();let k=-i;h&&(k=i),f.forEach(L=>{L.classList.remove(o.slideVisibleClass)}),s.visibleSlidesIndexes=[],s.visibleSlides=[];let D=o.spaceBetween;typeof D=="string"&&D.indexOf("%")>=0?D=parseFloat(D.replace("%",""))/100*s.size:typeof D=="string"&&(D=parseFloat(D));for(let L=0;L<f.length;L+=1){const q=f[L];let oe=q.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(oe-=f[0].swiperSlideOffset);const ie=(k+(o.centeredSlides?s.minTranslate():0)-oe)/(q.swiperSlideSize+D),ae=(k-g[0]+(o.centeredSlides?s.minTranslate():0)-oe)/(q.swiperSlideSize+D),Z=-(k-oe),ne=Z+s.slidesSizesGrid[L];(Z>=0&&Z<s.size-1||ne>1&&ne<=s.size||Z<=0&&ne>=s.size)&&(s.visibleSlides.push(q),s.visibleSlidesIndexes.push(L),f[L].classList.add(o.slideVisibleClass)),q.progress=h?-ie:ie,q.originalProgress=h?-ae:ae}}function Yr(i){const s=this;if(typeof i>"u"){const oe=s.rtlTranslate?-1:1;i=s&&s.translate&&s.translate*oe||0}const o=s.params,f=s.maxTranslate()-s.minTranslate();let{progress:h,isBeginning:g,isEnd:k,progressLoop:D}=s;const L=g,q=k;if(f===0)h=0,g=!0,k=!0;else{h=(i-s.minTranslate())/f;const oe=Math.abs(i-s.minTranslate())<1,ie=Math.abs(i-s.maxTranslate())<1;g=oe||h<=0,k=ie||h>=1,oe&&(h=0),ie&&(h=1)}if(o.loop){const oe=s.getSlideIndexByData(0),ie=s.getSlideIndexByData(s.slides.length-1),ae=s.slidesGrid[oe],Z=s.slidesGrid[ie],ne=s.slidesGrid[s.slidesGrid.length-1],ee=Math.abs(i);ee>=ae?D=(ee-ae)/ne:D=(ee+ne-Z)/ne,D>1&&(D-=1)}Object.assign(s,{progress:h,progressLoop:D,isBeginning:g,isEnd:k}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&s.updateSlidesProgress(i),g&&!L&&s.emit("reachBeginning toEdge"),k&&!q&&s.emit("reachEnd toEdge"),(L&&!g||q&&!k)&&s.emit("fromEdge"),s.emit("progress",h)}function Jr(){const i=this,{slides:s,params:o,slidesEl:f,activeIndex:h}=i,g=i.virtual&&o.virtual.enabled,k=L=>ht(f,`.${o.slideClass}${L}, swiper-slide${L}`)[0];s.forEach(L=>{L.classList.remove(o.slideActiveClass,o.slideNextClass,o.slidePrevClass)});let D;if(g)if(o.loop){let L=h-i.virtual.slidesBefore;L<0&&(L=i.virtual.slides.length+L),L>=i.virtual.slides.length&&(L-=i.virtual.slides.length),D=k(`[data-swiper-slide-index="${L}"]`)}else D=k(`[data-swiper-slide-index="${h}"]`);else D=s[h];if(D){D.classList.add(o.slideActiveClass);let L=jr(D,`.${o.slideClass}, swiper-slide`)[0];o.loop&&!L&&(L=s[0]),L&&L.classList.add(o.slideNextClass);let q=Ir(D,`.${o.slideClass}, swiper-slide`)[0];o.loop&&!q===0&&(q=s[s.length-1]),q&&q.classList.add(o.slidePrevClass)}i.emitSlidesClasses()}const sn=(i,s)=>{if(!i||i.destroyed||!i.params)return;const o=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,f=s.closest(o());if(f){const h=f.querySelector(`.${i.params.lazyPreloaderClass}`);h&&h.remove()}},Nn=(i,s)=>{if(!i.slides[s])return;const o=i.slides[s].querySelector('[loading="lazy"]');o&&o.removeAttribute("loading")},Bn=i=>{if(!i||i.destroyed||!i.params)return;let s=i.params.lazyPreloadPrevNext;const o=i.slides.length;if(!o||!s||s<0)return;s=Math.min(s,o);const f=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),h=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const k=h,D=[k-s];D.push(...Array.from({length:s}).map((L,q)=>k+f+q)),i.slides.forEach((L,q)=>{D.includes(L.column)&&Nn(i,q)});return}const g=h+f-1;if(i.params.rewind||i.params.loop)for(let k=h-s;k<=g+s;k+=1){const D=(k%o+o)%o;(D<h||D>g)&&Nn(i,D)}else for(let k=Math.max(h-s,0);k<=Math.min(g+s,o-1);k+=1)k!==h&&(k>g||k<h)&&Nn(i,k)};function Kr(i){const{slidesGrid:s,params:o}=i,f=i.rtlTranslate?i.translate:-i.translate;let h;for(let g=0;g<s.length;g+=1)typeof s[g+1]<"u"?f>=s[g]&&f<s[g+1]-(s[g+1]-s[g])/2?h=g:f>=s[g]&&f<s[g+1]&&(h=g+1):f>=s[g]&&(h=g);return o.normalizeSlideIndex&&(h<0||typeof h>"u")&&(h=0),h}function Qr(i){const s=this,o=s.rtlTranslate?s.translate:-s.translate,{snapGrid:f,params:h,activeIndex:g,realIndex:k,snapIndex:D}=s;let L=i,q;const oe=ae=>{let Z=ae-s.virtual.slidesBefore;return Z<0&&(Z=s.virtual.slides.length+Z),Z>=s.virtual.slides.length&&(Z-=s.virtual.slides.length),Z};if(typeof L>"u"&&(L=Kr(s)),f.indexOf(o)>=0)q=f.indexOf(o);else{const ae=Math.min(h.slidesPerGroupSkip,L);q=ae+Math.floor((L-ae)/h.slidesPerGroup)}if(q>=f.length&&(q=f.length-1),L===g){q!==D&&(s.snapIndex=q,s.emit("snapIndexChange")),s.params.loop&&s.virtual&&s.params.virtual.enabled&&(s.realIndex=oe(L));return}let ie;s.virtual&&h.virtual.enabled&&h.loop?ie=oe(L):s.slides[L]?ie=parseInt(s.slides[L].getAttribute("data-swiper-slide-index")||L,10):ie=L,Object.assign(s,{previousSnapIndex:D,snapIndex:q,previousRealIndex:k,realIndex:ie,previousIndex:g,activeIndex:L}),s.initialized&&Bn(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),k!==ie&&s.emit("realIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&s.emit("slideChange")}function Zr(i){const s=this,o=s.params,f=i.closest(`.${o.slideClass}, swiper-slide`);let h=!1,g;if(f){for(let k=0;k<s.slides.length;k+=1)if(s.slides[k]===f){h=!0,g=k;break}}if(f&&h)s.clickedSlide=f,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(f.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=g;else{s.clickedSlide=void 0,s.clickedIndex=void 0;return}o.slideToClickedSlide&&s.clickedIndex!==void 0&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}const ea={updateSize:Vr,updateSlides:Gr,updateAutoHeight:Wr,updateSlidesOffset:Xr,updateSlidesProgress:Ur,updateProgress:Yr,updateSlidesClasses:Jr,updateActiveIndex:Qr,updateClickedSlide:Zr};function ta(i=this.isHorizontal()?"x":"y"){const s=this,{params:o,rtlTranslate:f,translate:h,wrapperEl:g}=s;if(o.virtualTranslate)return f?-h:h;if(o.cssMode)return h;let k=Or(g,i);return k+=s.cssOverflowAdjustment(),f&&(k=-k),k||0}function na(i,s){const o=this,{rtlTranslate:f,params:h,wrapperEl:g,progress:k}=o;let D=0,L=0;const q=0;o.isHorizontal()?D=f?-i:i:L=i,h.roundLengths&&(D=Math.floor(D),L=Math.floor(L)),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?D:L,h.cssMode?g[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-D:-L:h.virtualTranslate||(o.isHorizontal()?D-=o.cssOverflowAdjustment():L-=o.cssOverflowAdjustment(),g.style.transform=`translate3d(${D}px, ${L}px, ${q}px)`);let oe;const ie=o.maxTranslate()-o.minTranslate();ie===0?oe=0:oe=(i-o.minTranslate())/ie,oe!==k&&o.updateProgress(i),o.emit("setTranslate",o.translate,s)}function ia(){return-this.snapGrid[0]}function ra(){return-this.snapGrid[this.snapGrid.length-1]}function aa(i=0,s=this.params.speed,o=!0,f=!0,h){const g=this,{params:k,wrapperEl:D}=g;if(g.animating&&k.preventInteractionOnTransition)return!1;const L=g.minTranslate(),q=g.maxTranslate();let oe;if(f&&i>L?oe=L:f&&i<q?oe=q:oe=i,g.updateProgress(oe),k.cssMode){const ie=g.isHorizontal();if(s===0)D[ie?"scrollLeft":"scrollTop"]=-oe;else{if(!g.support.smoothScroll)return ki({swiper:g,targetPosition:-oe,side:ie?"left":"top"}),!0;D.scrollTo({[ie?"left":"top"]:-oe,behavior:"smooth"})}return!0}return s===0?(g.setTransition(0),g.setTranslate(oe),o&&(g.emit("beforeTransitionStart",s,h),g.emit("transitionEnd"))):(g.setTransition(s),g.setTranslate(oe),o&&(g.emit("beforeTransitionStart",s,h),g.emit("transitionStart")),g.animating||(g.animating=!0,g.onTranslateToWrapperTransitionEnd||(g.onTranslateToWrapperTransitionEnd=function(ae){!g||g.destroyed||ae.target===this&&(g.wrapperEl.removeEventListener("transitionend",g.onTranslateToWrapperTransitionEnd),g.onTranslateToWrapperTransitionEnd=null,delete g.onTranslateToWrapperTransitionEnd,o&&g.emit("transitionEnd"))}),g.wrapperEl.addEventListener("transitionend",g.onTranslateToWrapperTransitionEnd))),!0}const sa={getTranslate:ta,setTranslate:na,minTranslate:ia,maxTranslate:ra,translateTo:aa};function oa(i,s){const o=this;o.params.cssMode||(o.wrapperEl.style.transitionDuration=`${i}ms`),o.emit("setTransition",i,s)}function Oi({swiper:i,runCallbacks:s,direction:o,step:f}){const{activeIndex:h,previousIndex:g}=i;let k=o;if(k||(h>g?k="next":h<g?k="prev":k="reset"),i.emit(`transition${f}`),s&&h!==g){if(k==="reset"){i.emit(`slideResetTransition${f}`);return}i.emit(`slideChangeTransition${f}`),k==="next"?i.emit(`slideNextTransition${f}`):i.emit(`slidePrevTransition${f}`)}}function la(i=!0,s){const o=this,{params:f}=o;f.cssMode||(f.autoHeight&&o.updateAutoHeight(),Oi({swiper:o,runCallbacks:i,direction:s,step:"Start"}))}function ua(i=!0,s){const o=this,{params:f}=o;o.animating=!1,!f.cssMode&&(o.setTransition(0),Oi({swiper:o,runCallbacks:i,direction:s,step:"End"}))}const fa={setTransition:oa,transitionStart:la,transitionEnd:ua};function ca(i=0,s=this.params.speed,o=!0,f,h){typeof i=="string"&&(i=parseInt(i,10));const g=this;let k=i;k<0&&(k=0);const{params:D,snapGrid:L,slidesGrid:q,previousIndex:oe,activeIndex:ie,rtlTranslate:ae,wrapperEl:Z,enabled:ne}=g;if(g.animating&&D.preventInteractionOnTransition||!ne&&!f&&!h)return!1;const ee=Math.min(g.params.slidesPerGroupSkip,k);let t=ee+Math.floor((k-ee)/g.params.slidesPerGroup);t>=L.length&&(t=L.length-1);const _=-L[t];if(D.normalizeSlideIndex)for(let Y=0;Y<q.length;Y+=1){const re=-Math.floor(_*100),ce=Math.floor(q[Y]*100),se=Math.floor(q[Y+1]*100);typeof q[Y+1]<"u"?re>=ce&&re<se-(se-ce)/2?k=Y:re>=ce&&re<se&&(k=Y+1):re>=ce&&(k=Y)}if(g.initialized&&k!==ie&&(!g.allowSlideNext&&(ae?_>g.translate&&_>g.minTranslate():_<g.translate&&_<g.minTranslate())||!g.allowSlidePrev&&_>g.translate&&_>g.maxTranslate()&&(ie||0)!==k))return!1;k!==(oe||0)&&o&&g.emit("beforeSlideChangeStart"),g.updateProgress(_);let F;if(k>ie?F="next":k<ie?F="prev":F="reset",ae&&-_===g.translate||!ae&&_===g.translate)return g.updateActiveIndex(k),D.autoHeight&&g.updateAutoHeight(),g.updateSlidesClasses(),D.effect!=="slide"&&g.setTranslate(_),F!=="reset"&&(g.transitionStart(o,F),g.transitionEnd(o,F)),!1;if(D.cssMode){const Y=g.isHorizontal(),re=ae?_:-_;if(s===0){const ce=g.virtual&&g.params.virtual.enabled;ce&&(g.wrapperEl.style.scrollSnapType="none",g._immediateVirtual=!0),ce&&!g._cssModeVirtualInitialSet&&g.params.initialSlide>0?(g._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{Z[Y?"scrollLeft":"scrollTop"]=re})):Z[Y?"scrollLeft":"scrollTop"]=re,ce&&requestAnimationFrame(()=>{g.wrapperEl.style.scrollSnapType="",g._immediateVirtual=!1})}else{if(!g.support.smoothScroll)return ki({swiper:g,targetPosition:re,side:Y?"left":"top"}),!0;Z.scrollTo({[Y?"left":"top"]:re,behavior:"smooth"})}return!0}return g.setTransition(s),g.setTranslate(_),g.updateActiveIndex(k),g.updateSlidesClasses(),g.emit("beforeTransitionStart",s,f),g.transitionStart(o,F),s===0?g.transitionEnd(o,F):g.animating||(g.animating=!0,g.onSlideToWrapperTransitionEnd||(g.onSlideToWrapperTransitionEnd=function(re){!g||g.destroyed||re.target===this&&(g.wrapperEl.removeEventListener("transitionend",g.onSlideToWrapperTransitionEnd),g.onSlideToWrapperTransitionEnd=null,delete g.onSlideToWrapperTransitionEnd,g.transitionEnd(o,F))}),g.wrapperEl.addEventListener("transitionend",g.onSlideToWrapperTransitionEnd)),!0}function da(i=0,s=this.params.speed,o=!0,f){typeof i=="string"&&(i=parseInt(i,10));const h=this;let g=i;return h.params.loop&&(h.virtual&&h.params.virtual.enabled?g=g+h.virtual.slidesBefore:g=h.getSlideIndexByData(g)),h.slideTo(g,s,o,f)}function pa(i=this.params.speed,s=!0,o){const f=this,{enabled:h,params:g,animating:k}=f;if(!h)return f;let D=g.slidesPerGroup;g.slidesPerView==="auto"&&g.slidesPerGroup===1&&g.slidesPerGroupAuto&&(D=Math.max(f.slidesPerViewDynamic("current",!0),1));const L=f.activeIndex<g.slidesPerGroupSkip?1:D,q=f.virtual&&g.virtual.enabled;if(g.loop){if(k&&!q&&g.loopPreventsSliding)return!1;f.loopFix({direction:"next"}),f._clientLeft=f.wrapperEl.clientLeft}return g.rewind&&f.isEnd?f.slideTo(0,i,s,o):f.slideTo(f.activeIndex+L,i,s,o)}function ha(i=this.params.speed,s=!0,o){const f=this,{params:h,snapGrid:g,slidesGrid:k,rtlTranslate:D,enabled:L,animating:q}=f;if(!L)return f;const oe=f.virtual&&h.virtual.enabled;if(h.loop){if(q&&!oe&&h.loopPreventsSliding)return!1;f.loopFix({direction:"prev"}),f._clientLeft=f.wrapperEl.clientLeft}const ie=D?f.translate:-f.translate;function ae(_){return _<0?-Math.floor(Math.abs(_)):Math.floor(_)}const Z=ae(ie),ne=g.map(_=>ae(_));let ee=g[ne.indexOf(Z)-1];if(typeof ee>"u"&&h.cssMode){let _;g.forEach((F,Y)=>{Z>=F&&(_=Y)}),typeof _<"u"&&(ee=g[_>0?_-1:_])}let t=0;if(typeof ee<"u"&&(t=k.indexOf(ee),t<0&&(t=f.activeIndex-1),h.slidesPerView==="auto"&&h.slidesPerGroup===1&&h.slidesPerGroupAuto&&(t=t-f.slidesPerViewDynamic("previous",!0)+1,t=Math.max(t,0))),h.rewind&&f.isBeginning){const _=f.params.virtual&&f.params.virtual.enabled&&f.virtual?f.virtual.slides.length-1:f.slides.length-1;return f.slideTo(_,i,s,o)}return f.slideTo(t,i,s,o)}function ga(i=this.params.speed,s=!0,o){const f=this;return f.slideTo(f.activeIndex,i,s,o)}function ma(i=this.params.speed,s=!0,o,f=.5){const h=this;let g=h.activeIndex;const k=Math.min(h.params.slidesPerGroupSkip,g),D=k+Math.floor((g-k)/h.params.slidesPerGroup),L=h.rtlTranslate?h.translate:-h.translate;if(L>=h.snapGrid[D]){const q=h.snapGrid[D],oe=h.snapGrid[D+1];L-q>(oe-q)*f&&(g+=h.params.slidesPerGroup)}else{const q=h.snapGrid[D-1],oe=h.snapGrid[D];L-q<=(oe-q)*f&&(g-=h.params.slidesPerGroup)}return g=Math.max(g,0),g=Math.min(g,h.slidesGrid.length-1),h.slideTo(g,i,s,o)}function va(){const i=this,{params:s,slidesEl:o}=i,f=s.slidesPerView==="auto"?i.slidesPerViewDynamic():s.slidesPerView;let h=i.clickedIndex,g;const k=i.isElement?"swiper-slide":`.${s.slideClass}`;if(s.loop){if(i.animating)return;g=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?h<i.loopedSlides-f/2||h>i.slides.length-i.loopedSlides+f/2?(i.loopFix(),h=i.getSlideIndex(ht(o,`${k}[data-swiper-slide-index="${g}"]`)[0]),Xt(()=>{i.slideTo(h)})):i.slideTo(h):h>i.slides.length-f?(i.loopFix(),h=i.getSlideIndex(ht(o,`${k}[data-swiper-slide-index="${g}"]`)[0]),Xt(()=>{i.slideTo(h)})):i.slideTo(h)}else i.slideTo(h)}const ya={slideTo:ca,slideToLoop:da,slideNext:pa,slidePrev:ha,slideReset:ga,slideToClosest:ma,slideToClickedSlide:va};function ba(i){const s=this,{params:o,slidesEl:f}=s;if(!o.loop||s.virtual&&s.params.virtual.enabled)return;ht(f,`.${o.slideClass}, swiper-slide`).forEach((g,k)=>{g.setAttribute("data-swiper-slide-index",k)}),s.loopFix({slideRealIndex:i,direction:o.centeredSlides?void 0:"next"})}function xa({slideRealIndex:i,slideTo:s=!0,direction:o,setTranslate:f,activeSlideIndex:h,byController:g,byMousewheel:k}={}){const D=this;if(!D.params.loop)return;D.emit("beforeLoopFix");const{slides:L,allowSlidePrev:q,allowSlideNext:oe,slidesEl:ie,params:ae}=D;if(D.allowSlidePrev=!0,D.allowSlideNext=!0,D.virtual&&ae.virtual.enabled){s&&(!ae.centeredSlides&&D.snapIndex===0?D.slideTo(D.virtual.slides.length,0,!1,!0):ae.centeredSlides&&D.snapIndex<ae.slidesPerView?D.slideTo(D.virtual.slides.length+D.snapIndex,0,!1,!0):D.snapIndex===D.snapGrid.length-1&&D.slideTo(D.virtual.slidesBefore,0,!1,!0)),D.allowSlidePrev=q,D.allowSlideNext=oe,D.emit("loopFix");return}const Z=ae.slidesPerView==="auto"?D.slidesPerViewDynamic():Math.ceil(parseFloat(ae.slidesPerView,10));let ne=ae.loopedSlides||Z;ne%ae.slidesPerGroup!==0&&(ne+=ae.slidesPerGroup-ne%ae.slidesPerGroup),D.loopedSlides=ne;const ee=[],t=[];let _=D.activeIndex;typeof h>"u"?h=D.getSlideIndex(D.slides.filter(se=>se.classList.contains(ae.slideActiveClass))[0]):_=h;const F=o==="next"||!o,Y=o==="prev"||!o;let re=0,ce=0;if(h<ne){re=Math.max(ne-h,ae.slidesPerGroup);for(let se=0;se<ne-h;se+=1){const l=se-Math.floor(se/L.length)*L.length;ee.push(L.length-l-1)}}else if(h>D.slides.length-ne*2){ce=Math.max(h-(D.slides.length-ne*2),ae.slidesPerGroup);for(let se=0;se<ce;se+=1){const l=se-Math.floor(se/L.length)*L.length;t.push(l)}}if(Y&&ee.forEach(se=>{D.slides[se].swiperLoopMoveDOM=!0,ie.prepend(D.slides[se]),D.slides[se].swiperLoopMoveDOM=!1}),F&&t.forEach(se=>{D.slides[se].swiperLoopMoveDOM=!0,ie.append(D.slides[se]),D.slides[se].swiperLoopMoveDOM=!1}),D.recalcSlides(),ae.slidesPerView==="auto"&&D.updateSlides(),ae.watchSlidesProgress&&D.updateSlidesOffset(),s){if(ee.length>0&&Y)if(typeof i>"u"){const se=D.slidesGrid[_],be=D.slidesGrid[_+re]-se;k?D.setTranslate(D.translate-be):(D.slideTo(_+re,0,!1,!0),f&&(D.touches[D.isHorizontal()?"startX":"startY"]+=be))}else f&&D.slideToLoop(i,0,!1,!0);else if(t.length>0&&F)if(typeof i>"u"){const se=D.slidesGrid[_],be=D.slidesGrid[_-ce]-se;k?D.setTranslate(D.translate-be):(D.slideTo(_-ce,0,!1,!0),f&&(D.touches[D.isHorizontal()?"startX":"startY"]+=be))}else D.slideToLoop(i,0,!1,!0)}if(D.allowSlidePrev=q,D.allowSlideNext=oe,D.controller&&D.controller.control&&!g){const se={slideRealIndex:i,slideTo:!1,direction:o,setTranslate:f,activeSlideIndex:h,byController:!0};Array.isArray(D.controller.control)?D.controller.control.forEach(l=>{!l.destroyed&&l.params.loop&&l.loopFix(se)}):D.controller.control instanceof D.constructor&&D.controller.control.params.loop&&D.controller.control.loopFix(se)}D.emit("loopFix")}function Ta(){const i=this,{params:s,slidesEl:o}=i;if(!s.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const f=[];i.slides.forEach(h=>{const g=typeof h.swiperSlideIndex>"u"?h.getAttribute("data-swiper-slide-index")*1:h.swiperSlideIndex;f[g]=h}),i.slides.forEach(h=>{h.removeAttribute("data-swiper-slide-index")}),f.forEach(h=>{o.append(h)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}const Sa={loopCreate:ba,loopFix:xa,loopDestroy:Ta};function Ca(i){const s=this;if(!s.params.simulateTouch||s.params.watchOverflow&&s.isLocked||s.params.cssMode)return;const o=s.params.touchEventsTarget==="container"?s.el:s.wrapperEl;s.isElement&&(s.__preventObserver__=!0),o.style.cursor="move",o.style.cursor=i?"grabbing":"grab",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1})}function wa(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}const Ea={setGrabCursor:Ca,unsetGrabCursor:wa};function Ma(i,s=this){function o(f){if(!f||f===gt()||f===Ze())return null;f.assignedSlot&&(f=f.assignedSlot);const h=f.closest(i);return!h&&!f.getRootNode?null:h||o(f.getRootNode().host)}return o(s)}function Aa(i){const s=this,o=gt(),f=Ze(),h=s.touchEventsData;h.evCache.push(i);const{params:g,touches:k,enabled:D}=s;if(!D||!g.simulateTouch&&i.pointerType==="mouse"||s.animating&&g.preventInteractionOnTransition)return;!s.animating&&g.cssMode&&g.loop&&s.loopFix();let L=i;L.originalEvent&&(L=L.originalEvent);let q=L.target;if(g.touchEventsTarget==="wrapper"&&!s.wrapperEl.contains(q)||"which"in L&&L.which===3||"button"in L&&L.button>0||h.isTouched&&h.isMoved)return;const oe=!!g.noSwipingClass&&g.noSwipingClass!=="",ie=i.composedPath?i.composedPath():i.path;oe&&L.target&&L.target.shadowRoot&&ie&&(q=ie[0]);const ae=g.noSwipingSelector?g.noSwipingSelector:`.${g.noSwipingClass}`,Z=!!(L.target&&L.target.shadowRoot);if(g.noSwiping&&(Z?Ma(ae,q):q.closest(ae))){s.allowClick=!0;return}if(g.swipeHandler&&!q.closest(g.swipeHandler))return;k.currentX=L.pageX,k.currentY=L.pageY;const ne=k.currentX,ee=k.currentY,t=g.edgeSwipeDetection||g.iOSEdgeSwipeDetection,_=g.edgeSwipeThreshold||g.iOSEdgeSwipeThreshold;if(t&&(ne<=_||ne>=f.innerWidth-_))if(t==="prevent")i.preventDefault();else return;Object.assign(h,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),k.startX=ne,k.startY=ee,h.touchStartTime=bt(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,g.threshold>0&&(h.allowThresholdMove=!1);let F=!0;q.matches(h.focusableElements)&&(F=!1,q.nodeName==="SELECT"&&(h.isTouched=!1)),o.activeElement&&o.activeElement.matches(h.focusableElements)&&o.activeElement!==q&&o.activeElement.blur();const Y=F&&s.allowTouchMove&&g.touchStartPreventDefault;(g.touchStartForcePreventDefault||Y)&&!q.isContentEditable&&L.preventDefault(),g.freeMode&&g.freeMode.enabled&&s.freeMode&&s.animating&&!g.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",L)}function ka(i){const s=gt(),o=this,f=o.touchEventsData,{params:h,touches:g,rtlTranslate:k,enabled:D}=o;if(!D||!h.simulateTouch&&i.pointerType==="mouse")return;let L=i;if(L.originalEvent&&(L=L.originalEvent),!f.isTouched){f.startMoving&&f.isScrolling&&o.emit("touchMoveOpposite",L);return}const q=f.evCache.findIndex(se=>se.pointerId===L.pointerId);q>=0&&(f.evCache[q]=L);const oe=f.evCache.length>1?f.evCache[0]:L,ie=oe.pageX,ae=oe.pageY;if(L.preventedByNestedSwiper){g.startX=ie,g.startY=ae;return}if(!o.allowTouchMove){L.target.matches(f.focusableElements)||(o.allowClick=!1),f.isTouched&&(Object.assign(g,{startX:ie,startY:ae,prevX:o.touches.currentX,prevY:o.touches.currentY,currentX:ie,currentY:ae}),f.touchStartTime=bt());return}if(h.touchReleaseOnEdges&&!h.loop){if(o.isVertical()){if(ae<g.startY&&o.translate<=o.maxTranslate()||ae>g.startY&&o.translate>=o.minTranslate()){f.isTouched=!1,f.isMoved=!1;return}}else if(ie<g.startX&&o.translate<=o.maxTranslate()||ie>g.startX&&o.translate>=o.minTranslate())return}if(s.activeElement&&L.target===s.activeElement&&L.target.matches(f.focusableElements)){f.isMoved=!0,o.allowClick=!1;return}if(f.allowTouchCallbacks&&o.emit("touchMove",L),L.targetTouches&&L.targetTouches.length>1)return;g.currentX=ie,g.currentY=ae;const Z=g.currentX-g.startX,ne=g.currentY-g.startY;if(o.params.threshold&&Math.sqrt(Z**2+ne**2)<o.params.threshold)return;if(typeof f.isScrolling>"u"){let se;o.isHorizontal()&&g.currentY===g.startY||o.isVertical()&&g.currentX===g.startX?f.isScrolling=!1:Z*Z+ne*ne>=25&&(se=Math.atan2(Math.abs(ne),Math.abs(Z))*180/Math.PI,f.isScrolling=o.isHorizontal()?se>h.touchAngle:90-se>h.touchAngle)}if(f.isScrolling&&o.emit("touchMoveOpposite",L),typeof f.startMoving>"u"&&(g.currentX!==g.startX||g.currentY!==g.startY)&&(f.startMoving=!0),f.isScrolling||o.zoom&&o.params.zoom&&o.params.zoom.enabled&&f.evCache.length>1){f.isTouched=!1;return}if(!f.startMoving)return;o.allowClick=!1,!h.cssMode&&L.cancelable&&L.preventDefault(),h.touchMoveStopPropagation&&!h.nested&&L.stopPropagation();let ee=o.isHorizontal()?Z:ne,t=o.isHorizontal()?g.currentX-g.previousX:g.currentY-g.previousY;h.oneWayMovement&&(ee=Math.abs(ee)*(k?1:-1),t=Math.abs(t)*(k?1:-1)),g.diff=ee,ee*=h.touchRatio,k&&(ee=-ee,t=-t);const _=o.touchesDirection;o.swipeDirection=ee>0?"prev":"next",o.touchesDirection=t>0?"prev":"next";const F=o.params.loop&&!h.cssMode;if(!f.isMoved){if(F&&o.loopFix({direction:o.swipeDirection}),f.startTranslate=o.getTranslate(),o.setTransition(0),o.animating){const se=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});o.wrapperEl.dispatchEvent(se)}f.allowMomentumBounce=!1,h.grabCursor&&(o.allowSlideNext===!0||o.allowSlidePrev===!0)&&o.setGrabCursor(!0),o.emit("sliderFirstMove",L)}let Y;f.isMoved&&_!==o.touchesDirection&&F&&Math.abs(ee)>=1&&(o.loopFix({direction:o.swipeDirection,setTranslate:!0}),Y=!0),o.emit("sliderMove",L),f.isMoved=!0,f.currentTranslate=ee+f.startTranslate;let re=!0,ce=h.resistanceRatio;if(h.touchReleaseOnEdges&&(ce=0),ee>0?(F&&!Y&&f.currentTranslate>(h.centeredSlides?o.minTranslate()-o.size/2:o.minTranslate())&&o.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),f.currentTranslate>o.minTranslate()&&(re=!1,h.resistance&&(f.currentTranslate=o.minTranslate()-1+(-o.minTranslate()+f.startTranslate+ee)**ce))):ee<0&&(F&&!Y&&f.currentTranslate<(h.centeredSlides?o.maxTranslate()+o.size/2:o.maxTranslate())&&o.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:o.slides.length-(h.slidesPerView==="auto"?o.slidesPerViewDynamic():Math.ceil(parseFloat(h.slidesPerView,10)))}),f.currentTranslate<o.maxTranslate()&&(re=!1,h.resistance&&(f.currentTranslate=o.maxTranslate()+1-(o.maxTranslate()-f.startTranslate-ee)**ce))),re&&(L.preventedByNestedSwiper=!0),!o.allowSlideNext&&o.swipeDirection==="next"&&f.currentTranslate<f.startTranslate&&(f.currentTranslate=f.startTranslate),!o.allowSlidePrev&&o.swipeDirection==="prev"&&f.currentTranslate>f.startTranslate&&(f.currentTranslate=f.startTranslate),!o.allowSlidePrev&&!o.allowSlideNext&&(f.currentTranslate=f.startTranslate),h.threshold>0)if(Math.abs(ee)>h.threshold||f.allowThresholdMove){if(!f.allowThresholdMove){f.allowThresholdMove=!0,g.startX=g.currentX,g.startY=g.currentY,f.currentTranslate=f.startTranslate,g.diff=o.isHorizontal()?g.currentX-g.startX:g.currentY-g.startY;return}}else{f.currentTranslate=f.startTranslate;return}!h.followFinger||h.cssMode||((h.freeMode&&h.freeMode.enabled&&o.freeMode||h.watchSlidesProgress)&&(o.updateActiveIndex(),o.updateSlidesClasses()),h.freeMode&&h.freeMode.enabled&&o.freeMode&&o.freeMode.onTouchMove(),o.updateProgress(f.currentTranslate),o.setTranslate(f.currentTranslate))}function Da(i){const s=this,o=s.touchEventsData,f=o.evCache.findIndex(Y=>Y.pointerId===i.pointerId);if(f>=0&&o.evCache.splice(f,1),["pointercancel","pointerout","pointerleave"].includes(i.type)&&!(i.type==="pointercancel"&&(s.browser.isSafari||s.browser.isWebView)))return;const{params:h,touches:g,rtlTranslate:k,slidesGrid:D,enabled:L}=s;if(!L||!h.simulateTouch&&i.pointerType==="mouse")return;let q=i;if(q.originalEvent&&(q=q.originalEvent),o.allowTouchCallbacks&&s.emit("touchEnd",q),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&h.grabCursor&&s.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}h.grabCursor&&o.isMoved&&o.isTouched&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!1);const oe=bt(),ie=oe-o.touchStartTime;if(s.allowClick){const Y=q.path||q.composedPath&&q.composedPath();s.updateClickedSlide(Y&&Y[0]||q.target),s.emit("tap click",q),ie<300&&oe-o.lastClickTime<300&&s.emit("doubleTap doubleClick",q)}if(o.lastClickTime=bt(),Xt(()=>{s.destroyed||(s.allowClick=!0)}),!o.isTouched||!o.isMoved||!s.swipeDirection||g.diff===0||o.currentTranslate===o.startTranslate){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;let ae;if(h.followFinger?ae=k?s.translate:-s.translate:ae=-o.currentTranslate,h.cssMode)return;if(h.freeMode&&h.freeMode.enabled){s.freeMode.onTouchEnd({currentPos:ae});return}let Z=0,ne=s.slidesSizesGrid[0];for(let Y=0;Y<D.length;Y+=Y<h.slidesPerGroupSkip?1:h.slidesPerGroup){const re=Y<h.slidesPerGroupSkip-1?1:h.slidesPerGroup;typeof D[Y+re]<"u"?ae>=D[Y]&&ae<D[Y+re]&&(Z=Y,ne=D[Y+re]-D[Y]):ae>=D[Y]&&(Z=Y,ne=D[D.length-1]-D[D.length-2])}let ee=null,t=null;h.rewind&&(s.isBeginning?t=h.virtual&&h.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(ee=0));const _=(ae-D[Z])/ne,F=Z<h.slidesPerGroupSkip-1?1:h.slidesPerGroup;if(ie>h.longSwipesMs){if(!h.longSwipes){s.slideTo(s.activeIndex);return}s.swipeDirection==="next"&&(_>=h.longSwipesRatio?s.slideTo(h.rewind&&s.isEnd?ee:Z+F):s.slideTo(Z)),s.swipeDirection==="prev"&&(_>1-h.longSwipesRatio?s.slideTo(Z+F):t!==null&&_<0&&Math.abs(_)>h.longSwipesRatio?s.slideTo(t):s.slideTo(Z))}else{if(!h.shortSwipes){s.slideTo(s.activeIndex);return}s.navigation&&(q.target===s.navigation.nextEl||q.target===s.navigation.prevEl)?q.target===s.navigation.nextEl?s.slideTo(Z+F):s.slideTo(Z):(s.swipeDirection==="next"&&s.slideTo(ee!==null?ee:Z+F),s.swipeDirection==="prev"&&s.slideTo(t!==null?t:Z))}}function Ti(){const i=this,{params:s,el:o}=i;if(o&&o.offsetWidth===0)return;s.breakpoints&&i.setBreakpoint();const{allowSlideNext:f,allowSlidePrev:h,snapGrid:g}=i,k=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const D=k&&s.loop;(s.slidesPerView==="auto"||s.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!D?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!k?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=h,i.allowSlideNext=f,i.params.watchOverflow&&g!==i.snapGrid&&i.checkOverflow()}function La(i){const s=this;!s.enabled||s.allowClick||(s.params.preventClicks&&i.preventDefault(),s.params.preventClicksPropagation&&s.animating&&(i.stopPropagation(),i.stopImmediatePropagation()))}function Pa(){const i=this,{wrapperEl:s,rtlTranslate:o,enabled:f}=i;if(!f)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-s.scrollLeft:i.translate=-s.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let h;const g=i.maxTranslate()-i.minTranslate();g===0?h=0:h=(i.translate-i.minTranslate())/g,h!==i.progress&&i.updateProgress(o?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function Oa(i){const s=this;sn(s,i.target),!(s.params.cssMode||s.params.slidesPerView!=="auto"&&!s.params.autoHeight)&&s.update()}let Si=!1;function Na(){}const Ni=(i,s)=>{const o=gt(),{params:f,el:h,wrapperEl:g,device:k}=i,D=!!f.nested,L=s==="on"?"addEventListener":"removeEventListener",q=s;h[L]("pointerdown",i.onTouchStart,{passive:!1}),o[L]("pointermove",i.onTouchMove,{passive:!1,capture:D}),o[L]("pointerup",i.onTouchEnd,{passive:!0}),o[L]("pointercancel",i.onTouchEnd,{passive:!0}),o[L]("pointerout",i.onTouchEnd,{passive:!0}),o[L]("pointerleave",i.onTouchEnd,{passive:!0}),(f.preventClicks||f.preventClicksPropagation)&&h[L]("click",i.onClick,!0),f.cssMode&&g[L]("scroll",i.onScroll),f.updateOnWindowResize?i[q](k.ios||k.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ti,!0):i[q]("observerUpdate",Ti,!0),h[L]("load",i.onLoad,{capture:!0})};function Ia(){const i=this,s=gt(),{params:o}=i;i.onTouchStart=Aa.bind(i),i.onTouchMove=ka.bind(i),i.onTouchEnd=Da.bind(i),o.cssMode&&(i.onScroll=Pa.bind(i)),i.onClick=La.bind(i),i.onLoad=Oa.bind(i),Si||(s.addEventListener("touchstart",Na),Si=!0),Ni(i,"on")}function ja(){Ni(this,"off")}const _a={attachEvents:Ia,detachEvents:ja},Ci=(i,s)=>i.grid&&s.grid&&s.grid.rows>1;function Ha(){const i=this,{realIndex:s,initialized:o,params:f,el:h}=i,g=f.breakpoints;if(!g||g&&Object.keys(g).length===0)return;const k=i.getBreakpoint(g,i.params.breakpointsBase,i.el);if(!k||i.currentBreakpoint===k)return;const L=(k in g?g[k]:void 0)||i.originalParams,q=Ci(i,f),oe=Ci(i,L),ie=f.enabled;q&&!oe?(h.classList.remove(`${f.containerModifierClass}grid`,`${f.containerModifierClass}grid-column`),i.emitContainerClasses()):!q&&oe&&(h.classList.add(`${f.containerModifierClass}grid`),(L.grid.fill&&L.grid.fill==="column"||!L.grid.fill&&f.grid.fill==="column")&&h.classList.add(`${f.containerModifierClass}grid-column`),i.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(ee=>{if(typeof L[ee]>"u")return;const t=f[ee]&&f[ee].enabled,_=L[ee]&&L[ee].enabled;t&&!_&&i[ee].disable(),!t&&_&&i[ee].enable()});const ae=L.direction&&L.direction!==f.direction,Z=f.loop&&(L.slidesPerView!==f.slidesPerView||ae);ae&&o&&i.changeDirection(),tt(i.params,L);const ne=i.params.enabled;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),ie&&!ne?i.disable():!ie&&ne&&i.enable(),i.currentBreakpoint=k,i.emit("_beforeBreakpoint",L),Z&&o&&(i.loopDestroy(),i.loopCreate(s),i.updateSlides()),i.emit("breakpoint",L)}function Ba(i,s="window",o){if(!i||s==="container"&&!o)return;let f=!1;const h=Ze(),g=s==="window"?h.innerHeight:o.clientHeight,k=Object.keys(i).map(D=>{if(typeof D=="string"&&D.indexOf("@")===0){const L=parseFloat(D.substr(1));return{value:g*L,point:D}}return{value:D,point:D}});k.sort((D,L)=>parseInt(D.value,10)-parseInt(L.value,10));for(let D=0;D<k.length;D+=1){const{point:L,value:q}=k[D];s==="window"?h.matchMedia(`(min-width: ${q}px)`).matches&&(f=L):q<=o.clientWidth&&(f=L)}return f||"max"}const za={setBreakpoint:Ha,getBreakpoint:Ba};function $a(i,s){const o=[];return i.forEach(f=>{typeof f=="object"?Object.keys(f).forEach(h=>{f[h]&&o.push(s+h)}):typeof f=="string"&&o.push(s+f)}),o}function Fa(){const i=this,{classNames:s,params:o,rtl:f,el:h,device:g}=i,k=$a(["initialized",o.direction,{"free-mode":i.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:f},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&o.grid.fill==="column"},{android:g.android},{ios:g.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);s.push(...k),h.classList.add(...s),i.emitContainerClasses()}function Ra(){const i=this,{el:s,classNames:o}=i;s.classList.remove(...o),i.emitContainerClasses()}const qa={addClasses:Fa,removeClasses:Ra};function Va(){const i=this,{isLocked:s,params:o}=i,{slidesOffsetBefore:f}=o;if(f){const h=i.slides.length-1,g=i.slidesGrid[h]+i.slidesSizesGrid[h]+f*2;i.isLocked=i.size>g}else i.isLocked=i.snapGrid.length===1;o.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),o.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),s&&s!==i.isLocked&&(i.isEnd=!1),s!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}const Ga={checkOverflow:Va},wi={init:!0,direction:"horizontal",oneWayMovement:!1,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:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Wa(i,s){return function(f={}){const h=Object.keys(f)[0],g=f[h];if(typeof g!="object"||g===null){tt(s,f);return}if(["navigation","pagination","scrollbar"].indexOf(h)>=0&&i[h]===!0&&(i[h]={auto:!0}),!(h in i&&"enabled"in g)){tt(s,f);return}i[h]===!0&&(i[h]={enabled:!0}),typeof i[h]=="object"&&!("enabled"in i[h])&&(i[h].enabled=!0),i[h]||(i[h]={enabled:!1}),tt(s,f)}}const In={eventsEmitter:qr,update:ea,translate:sa,transition:fa,slide:ya,loop:Sa,grabCursor:Ea,events:_a,breakpoints:za,checkOverflow:Ga,classes:qa},jn={};class et{constructor(...s){let o,f;s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?f=s[0]:[o,f]=s,f||(f={}),f=tt({},f),o&&!f.el&&(f.el=o);const h=gt();if(f.el&&typeof f.el=="string"&&h.querySelectorAll(f.el).length>1){const L=[];return h.querySelectorAll(f.el).forEach(q=>{const oe=tt({},f,{el:q});L.push(new et(oe))}),L}const g=this;g.__swiper__=!0,g.support=Pi(),g.device=Br({userAgent:f.userAgent}),g.browser=$r(),g.eventsListeners={},g.eventsAnyListeners=[],g.modules=[...g.__modules__],f.modules&&Array.isArray(f.modules)&&g.modules.push(...f.modules);const k={};g.modules.forEach(L=>{L({params:f,swiper:g,extendParams:Wa(f,k),on:g.on.bind(g),once:g.once.bind(g),off:g.off.bind(g),emit:g.emit.bind(g)})});const D=tt({},wi,k);return g.params=tt({},D,jn,f),g.originalParams=tt({},g.params),g.passedParams=tt({},f),g.params&&g.params.on&&Object.keys(g.params.on).forEach(L=>{g.on(L,g.params.on[L])}),g.params&&g.params.onAny&&g.onAny(g.params.onAny),Object.assign(g,{enabled:g.params.enabled,el:o,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return g.params.direction==="horizontal"},isVertical(){return g.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:g.params.allowSlideNext,allowSlidePrev:g.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:g.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:g.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),g.emit("_swiper"),g.params.init&&g.init(),g}getSlideIndex(s){const{slidesEl:o,params:f}=this,h=ht(o,`.${f.slideClass}, swiper-slide`),g=on(h[0]);return on(s)-g}getSlideIndexByData(s){return this.getSlideIndex(this.slides.filter(o=>o.getAttribute("data-swiper-slide-index")*1===s)[0])}recalcSlides(){const s=this,{slidesEl:o,params:f}=s;s.slides=ht(o,`.${f.slideClass}, swiper-slide`)}enable(){const s=this;s.enabled||(s.enabled=!0,s.params.grabCursor&&s.setGrabCursor(),s.emit("enable"))}disable(){const s=this;!s.enabled||(s.enabled=!1,s.params.grabCursor&&s.unsetGrabCursor(),s.emit("disable"))}setProgress(s,o){const f=this;s=Math.min(Math.max(s,0),1);const h=f.minTranslate(),k=(f.maxTranslate()-h)*s+h;f.translateTo(k,typeof o>"u"?0:o),f.updateActiveIndex(),f.updateSlidesClasses()}emitContainerClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const o=s.el.className.split(" ").filter(f=>f.indexOf("swiper")===0||f.indexOf(s.params.containerModifierClass)===0);s.emit("_containerClasses",o.join(" "))}getSlideClasses(s){const o=this;return o.destroyed?"":s.className.split(" ").filter(f=>f.indexOf("swiper-slide")===0||f.indexOf(o.params.slideClass)===0).join(" ")}emitSlidesClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const o=[];s.slides.forEach(f=>{const h=s.getSlideClasses(f);o.push({slideEl:f,classNames:h}),s.emit("_slideClass",f,h)}),s.emit("_slideClasses",o)}slidesPerViewDynamic(s="current",o=!1){const f=this,{params:h,slides:g,slidesGrid:k,slidesSizesGrid:D,size:L,activeIndex:q}=f;let oe=1;if(h.centeredSlides){let ie=g[q]?g[q].swiperSlideSize:0,ae;for(let Z=q+1;Z<g.length;Z+=1)g[Z]&&!ae&&(ie+=g[Z].swiperSlideSize,oe+=1,ie>L&&(ae=!0));for(let Z=q-1;Z>=0;Z-=1)g[Z]&&!ae&&(ie+=g[Z].swiperSlideSize,oe+=1,ie>L&&(ae=!0))}else if(s==="current")for(let ie=q+1;ie<g.length;ie+=1)(o?k[ie]+D[ie]-k[q]<L:k[ie]-k[q]<L)&&(oe+=1);else for(let ie=q-1;ie>=0;ie-=1)k[q]-k[ie]<L&&(oe+=1);return oe}update(){const s=this;if(!s||s.destroyed)return;const{snapGrid:o,params:f}=s;f.breakpoints&&s.setBreakpoint(),[...s.el.querySelectorAll('[loading="lazy"]')].forEach(k=>{k.complete&&sn(s,k)}),s.updateSize(),s.updateSlides(),s.updateProgress(),s.updateSlidesClasses();function h(){const k=s.rtlTranslate?s.translate*-1:s.translate,D=Math.min(Math.max(k,s.maxTranslate()),s.minTranslate());s.setTranslate(D),s.updateActiveIndex(),s.updateSlidesClasses()}let g;if(f.freeMode&&f.freeMode.enabled&&!f.cssMode)h(),f.autoHeight&&s.updateAutoHeight();else{if((f.slidesPerView==="auto"||f.slidesPerView>1)&&s.isEnd&&!f.centeredSlides){const k=s.virtual&&f.virtual.enabled?s.virtual.slides:s.slides;g=s.slideTo(k.length-1,0,!1,!0)}else g=s.slideTo(s.activeIndex,0,!1,!0);g||h()}f.watchOverflow&&o!==s.snapGrid&&s.checkOverflow(),s.emit("update")}changeDirection(s,o=!0){const f=this,h=f.params.direction;return s||(s=h==="horizontal"?"vertical":"horizontal"),s===h||s!=="horizontal"&&s!=="vertical"||(f.el.classList.remove(`${f.params.containerModifierClass}${h}`),f.el.classList.add(`${f.params.containerModifierClass}${s}`),f.emitContainerClasses(),f.params.direction=s,f.slides.forEach(g=>{s==="vertical"?g.style.width="":g.style.height=""}),f.emit("changeDirection"),o&&f.update()),f}changeLanguageDirection(s){const o=this;o.rtl&&s==="rtl"||!o.rtl&&s==="ltr"||(o.rtl=s==="rtl",o.rtlTranslate=o.params.direction==="horizontal"&&o.rtl,o.rtl?(o.el.classList.add(`${o.params.containerModifierClass}rtl`),o.el.dir="rtl"):(o.el.classList.remove(`${o.params.containerModifierClass}rtl`),o.el.dir="ltr"),o.update())}mount(s){const o=this;if(o.mounted)return!0;let f=s||o.params.el;if(typeof f=="string"&&(f=document.querySelector(f)),!f)return!1;f.swiper=o,f.shadowEl&&(o.isElement=!0);const h=()=>`.${(o.params.wrapperClass||"").trim().split(" ").join(".")}`;let k=(()=>f&&f.shadowRoot&&f.shadowRoot.querySelector?f.shadowRoot.querySelector(h()):ht(f,h())[0])();return!k&&o.params.createElements&&(k=Di("div",o.params.wrapperClass),f.append(k),ht(f,`.${o.params.slideClass}`).forEach(D=>{k.append(D)})),Object.assign(o,{el:f,wrapperEl:k,slidesEl:o.isElement?f:k,mounted:!0,rtl:f.dir.toLowerCase()==="rtl"||Ct(f,"direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(f.dir.toLowerCase()==="rtl"||Ct(f,"direction")==="rtl"),wrongRTL:Ct(k,"display")==="-webkit-box"}),!0}init(s){const o=this;return o.initialized||o.mount(s)===!1||(o.emit("beforeInit"),o.params.breakpoints&&o.setBreakpoint(),o.addClasses(),o.updateSize(),o.updateSlides(),o.params.watchOverflow&&o.checkOverflow(),o.params.grabCursor&&o.enabled&&o.setGrabCursor(),o.params.loop&&o.virtual&&o.params.virtual.enabled?o.slideTo(o.params.initialSlide+o.virtual.slidesBefore,0,o.params.runCallbacksOnInit,!1,!0):o.slideTo(o.params.initialSlide,0,o.params.runCallbacksOnInit,!1,!0),o.params.loop&&o.loopCreate(),o.attachEvents(),[...o.el.querySelectorAll('[loading="lazy"]')].forEach(h=>{h.complete?sn(o,h):h.addEventListener("load",g=>{sn(o,g.target)})}),Bn(o),o.initialized=!0,Bn(o),o.emit("init"),o.emit("afterInit")),o}destroy(s=!0,o=!0){const f=this,{params:h,el:g,wrapperEl:k,slides:D}=f;return typeof f.params>"u"||f.destroyed||(f.emit("beforeDestroy"),f.initialized=!1,f.detachEvents(),h.loop&&f.loopDestroy(),o&&(f.removeClasses(),g.removeAttribute("style"),k.removeAttribute("style"),D&&D.length&&D.forEach(L=>{L.classList.remove(h.slideVisibleClass,h.slideActiveClass,h.slideNextClass,h.slidePrevClass),L.removeAttribute("style"),L.removeAttribute("data-swiper-slide-index")})),f.emit("destroy"),Object.keys(f.eventsListeners).forEach(L=>{f.off(L)}),s!==!1&&(f.el.swiper=null,Lr(f)),f.destroyed=!0),null}static extendDefaults(s){tt(jn,s)}static get extendedDefaults(){return jn}static get defaults(){return wi}static installModule(s){et.prototype.__modules__||(et.prototype.__modules__=[]);const o=et.prototype.__modules__;typeof s=="function"&&o.indexOf(s)<0&&o.push(s)}static use(s){return Array.isArray(s)?(s.forEach(o=>et.installModule(o)),et):(et.installModule(s),et)}}Object.keys(In).forEach(i=>{Object.keys(In[i]).forEach(s=>{et.prototype[s]=In[i][s]})});et.use([Fr,Rr]);function Ii({swiper:i,extendParams:s,on:o,emit:f}){const h=Ze();s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),i.mousewheel={enabled:!1};let g,k=bt(),D;const L=[];function q(F){let se=0,l=0,be=0,pe=0;return"detail"in F&&(l=F.detail),"wheelDelta"in F&&(l=-F.wheelDelta/120),"wheelDeltaY"in F&&(l=-F.wheelDeltaY/120),"wheelDeltaX"in F&&(se=-F.wheelDeltaX/120),"axis"in F&&F.axis===F.HORIZONTAL_AXIS&&(se=l,l=0),be=se*10,pe=l*10,"deltaY"in F&&(pe=F.deltaY),"deltaX"in F&&(be=F.deltaX),F.shiftKey&&!be&&(be=pe,pe=0),(be||pe)&&F.deltaMode&&(F.deltaMode===1?(be*=40,pe*=40):(be*=800,pe*=800)),be&&!se&&(se=be<1?-1:1),pe&&!l&&(l=pe<1?-1:1),{spinX:se,spinY:l,pixelX:be,pixelY:pe}}function oe(){!i.enabled||(i.mouseEntered=!0)}function ie(){!i.enabled||(i.mouseEntered=!1)}function ae(F){return i.params.mousewheel.thresholdDelta&&F.delta<i.params.mousewheel.thresholdDelta||i.params.mousewheel.thresholdTime&&bt()-k<i.params.mousewheel.thresholdTime?!1:F.delta>=6&&bt()-k<60?!0:(F.direction<0?(!i.isEnd||i.params.loop)&&!i.animating&&(i.slideNext(),f("scroll",F.raw)):(!i.isBeginning||i.params.loop)&&!i.animating&&(i.slidePrev(),f("scroll",F.raw)),k=new h.Date().getTime(),!1)}function Z(F){const Y=i.params.mousewheel;if(F.direction<0){if(i.isEnd&&!i.params.loop&&Y.releaseOnEdges)return!0}else if(i.isBeginning&&!i.params.loop&&Y.releaseOnEdges)return!0;return!1}function ne(F){let Y=F,re=!0;if(!i.enabled||F.target.closest(`.${i.params.mousewheel.noMousewheelClass}`))return;const ce=i.params.mousewheel;i.params.cssMode&&Y.preventDefault();let se=i.el;i.params.mousewheel.eventsTarget!=="container"&&(se=document.querySelector(i.params.mousewheel.eventsTarget));const l=se&&se.contains(Y.target);if(!i.mouseEntered&&!l&&!ce.releaseOnEdges)return!0;Y.originalEvent&&(Y=Y.originalEvent);let be=0;const pe=i.rtlTranslate?-1:1,Oe=q(Y);if(ce.forceToAxis)if(i.isHorizontal())if(Math.abs(Oe.pixelX)>Math.abs(Oe.pixelY))be=-Oe.pixelX*pe;else return!0;else if(Math.abs(Oe.pixelY)>Math.abs(Oe.pixelX))be=-Oe.pixelY;else return!0;else be=Math.abs(Oe.pixelX)>Math.abs(Oe.pixelY)?-Oe.pixelX*pe:-Oe.pixelY;if(be===0)return!0;ce.invert&&(be=-be);let me=i.getTranslate()+be*ce.sensitivity;if(me>=i.minTranslate()&&(me=i.minTranslate()),me<=i.maxTranslate()&&(me=i.maxTranslate()),re=i.params.loop?!0:!(me===i.minTranslate()||me===i.maxTranslate()),re&&i.params.nested&&Y.stopPropagation(),!i.params.freeMode||!i.params.freeMode.enabled){const ue={time:bt(),delta:Math.abs(be),direction:Math.sign(be),raw:F};L.length>=2&&L.shift();const a=L.length?L[L.length-1]:void 0;if(L.push(ue),a?(ue.direction!==a.direction||ue.delta>a.delta||ue.time>a.time+150)&&ae(ue):ae(ue),Z(ue))return!0}else{const ue={time:bt(),delta:Math.abs(be),direction:Math.sign(be)},a=D&&ue.time<D.time+500&&ue.delta<=D.delta&&ue.direction===D.direction;if(!a){D=void 0;let c=i.getTranslate()+be*ce.sensitivity;const v=i.isBeginning,m=i.isEnd;if(c>=i.minTranslate()&&(c=i.minTranslate()),c<=i.maxTranslate()&&(c=i.maxTranslate()),i.setTransition(0),i.setTranslate(c),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!v&&i.isBeginning||!m&&i.isEnd)&&i.updateSlidesClasses(),i.params.loop&&i.loopFix({direction:ue.direction<0?"next":"prev",byMousewheel:!0}),i.params.freeMode.sticky){clearTimeout(g),g=void 0,L.length>=15&&L.shift();const T=L.length?L[L.length-1]:void 0,E=L[0];if(L.push(ue),T&&(ue.delta>T.delta||ue.direction!==T.direction))L.splice(0);else if(L.length>=15&&ue.time-E.time<500&&E.delta-ue.delta>=1&&ue.delta<=6){const w=be>0?.8:.2;D=ue,L.splice(0),g=Xt(()=>{i.slideToClosest(i.params.speed,!0,void 0,w)},0)}g||(g=Xt(()=>{D=ue,L.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(a||f("scroll",Y),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),c===i.minTranslate()||c===i.maxTranslate())return!0}}return Y.preventDefault?Y.preventDefault():Y.returnValue=!1,!1}function ee(F){let Y=i.el;i.params.mousewheel.eventsTarget!=="container"&&(Y=document.querySelector(i.params.mousewheel.eventsTarget)),Y[F]("mouseenter",oe),Y[F]("mouseleave",ie),Y[F]("wheel",ne)}function t(){return i.params.cssMode?(i.wrapperEl.removeEventListener("wheel",ne),!0):i.mousewheel.enabled?!1:(ee("addEventListener"),i.mousewheel.enabled=!0,!0)}function _(){return i.params.cssMode?(i.wrapperEl.addEventListener(event,ne),!0):i.mousewheel.enabled?(ee("removeEventListener"),i.mousewheel.enabled=!1,!0):!1}o("init",()=>{!i.params.mousewheel.enabled&&i.params.cssMode&&_(),i.params.mousewheel.enabled&&t()}),o("destroy",()=>{i.params.cssMode&&t(),i.mousewheel.enabled&&_()}),Object.assign(i.mousewheel,{enable:t,disable:_})}function Xa(i,s,o,f){return i.params.createElements&&Object.keys(f).forEach(h=>{if(!o[h]&&o.auto===!0){let g=ht(i.el,`.${f[h]}`)[0];g||(g=Di("div",f[h]),g.className=f[h],i.el.append(g)),o[h]=g,s[h]=g}}),o}function Wt(i=""){return`.${i.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ji({swiper:i,extendParams:s,on:o,emit:f}){const h="swiper-pagination";s({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:_=>_,formatFractionTotal:_=>_,bulletClass:`${h}-bullet`,bulletActiveClass:`${h}-bullet-active`,modifierClass:`${h}-`,currentClass:`${h}-current`,totalClass:`${h}-total`,hiddenClass:`${h}-hidden`,progressbarFillClass:`${h}-progressbar-fill`,progressbarOppositeClass:`${h}-progressbar-opposite`,clickableClass:`${h}-clickable`,lockClass:`${h}-lock`,horizontalClass:`${h}-horizontal`,verticalClass:`${h}-vertical`,paginationDisabledClass:`${h}-disabled`}}),i.pagination={el:null,bullets:[]};let g,k=0;const D=_=>(Array.isArray(_)||(_=[_].filter(F=>!!F)),_);function L(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&i.pagination.el.length===0}function q(_,F){const{bulletActiveClass:Y}=i.params.pagination;!_||(_=_[`${F==="prev"?"previous":"next"}ElementSibling`],_&&(_.classList.add(`${Y}-${F}`),_=_[`${F==="prev"?"previous":"next"}ElementSibling`],_&&_.classList.add(`${Y}-${F}-${F}`)))}function oe(_){const F=_.target.closest(Wt(i.params.pagination.bulletClass));if(!F)return;_.preventDefault();const Y=on(F)*i.params.slidesPerGroup;if(i.params.loop){if(i.realIndex===Y)return;const re=i.getSlideIndexByData(Y),ce=i.getSlideIndexByData(i.realIndex);re>i.slides.length-i.loopedSlides&&i.loopFix({direction:re>ce?"next":"prev",activeSlideIndex:re,slideTo:!1}),i.slideToLoop(Y)}else i.slideTo(Y)}function ie(){const _=i.rtl,F=i.params.pagination;if(L())return;let Y=i.pagination.el;Y=D(Y);let re,ce;const se=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,l=i.params.loop?Math.ceil(se/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop?(ce=i.previousRealIndex||0,re=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex):typeof i.snapIndex<"u"?(re=i.snapIndex,ce=i.previousSnapIndex):(ce=i.previousIndex||0,re=i.activeIndex||0),F.type==="bullets"&&i.pagination.bullets&&i.pagination.bullets.length>0){const be=i.pagination.bullets;let pe,Oe,me;if(F.dynamicBullets&&(g=Hn(be[0],i.isHorizontal()?"width":"height",!0),Y.forEach(ue=>{ue.style[i.isHorizontal()?"width":"height"]=`${g*(F.dynamicMainBullets+4)}px`}),F.dynamicMainBullets>1&&ce!==void 0&&(k+=re-(ce||0),k>F.dynamicMainBullets-1?k=F.dynamicMainBullets-1:k<0&&(k=0)),pe=Math.max(re-k,0),Oe=pe+(Math.min(be.length,F.dynamicMainBullets)-1),me=(Oe+pe)/2),be.forEach(ue=>{const a=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(c=>`${F.bulletActiveClass}${c}`)].map(c=>typeof c=="string"&&c.includes(" ")?c.split(" "):c).flat();ue.classList.remove(...a)}),Y.length>1)be.forEach(ue=>{const a=on(ue);a===re?ue.classList.add(...F.bulletActiveClass.split(" ")):i.isElement&&ue.setAttribute("part","bullet"),F.dynamicBullets&&(a>=pe&&a<=Oe&&ue.classList.add(...`${F.bulletActiveClass}-main`.split(" ")),a===pe&&q(ue,"prev"),a===Oe&&q(ue,"next"))});else{const ue=be[re];if(ue&&ue.classList.add(...F.bulletActiveClass.split(" ")),i.isElement&&be.forEach((a,c)=>{a.setAttribute("part",c===re?"bullet-active":"bullet")}),F.dynamicBullets){const a=be[pe],c=be[Oe];for(let v=pe;v<=Oe;v+=1)be[v]&&be[v].classList.add(...`${F.bulletActiveClass}-main`.split(" "));q(a,"prev"),q(c,"next")}}if(F.dynamicBullets){const ue=Math.min(be.length,F.dynamicMainBullets+4),a=(g*ue-g)/2-me*g,c=_?"right":"left";be.forEach(v=>{v.style[i.isHorizontal()?c:"top"]=`${a}px`})}}Y.forEach((be,pe)=>{if(F.type==="fraction"&&(be.querySelectorAll(Wt(F.currentClass)).forEach(Oe=>{Oe.textContent=F.formatFractionCurrent(re+1)}),be.querySelectorAll(Wt(F.totalClass)).forEach(Oe=>{Oe.textContent=F.formatFractionTotal(l)})),F.type==="progressbar"){let Oe;F.progressbarOpposite?Oe=i.isHorizontal()?"vertical":"horizontal":Oe=i.isHorizontal()?"horizontal":"vertical";const me=(re+1)/l;let ue=1,a=1;Oe==="horizontal"?ue=me:a=me,be.querySelectorAll(Wt(F.progressbarFillClass)).forEach(c=>{c.style.transform=`translate3d(0,0,0) scaleX(${ue}) scaleY(${a})`,c.style.transitionDuration=`${i.params.speed}ms`})}F.type==="custom"&&F.renderCustom?(be.innerHTML=F.renderCustom(i,re+1,l),pe===0&&f("paginationRender",be)):(pe===0&&f("paginationRender",be),f("paginationUpdate",be)),i.params.watchOverflow&&i.enabled&&be.classList[i.isLocked?"add":"remove"](F.lockClass)})}function ae(){const _=i.params.pagination;if(L())return;const F=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length;let Y=i.pagination.el;Y=D(Y);let re="";if(_.type==="bullets"){let ce=i.params.loop?Math.ceil(F/i.params.slidesPerGroup):i.snapGrid.length;i.params.freeMode&&i.params.freeMode.enabled&&ce>F&&(ce=F);for(let se=0;se<ce;se+=1)_.renderBullet?re+=_.renderBullet.call(i,se,_.bulletClass):re+=`<${_.bulletElement} ${i.isElement?'part="bullet"':""} class="${_.bulletClass}"></${_.bulletElement}>`}_.type==="fraction"&&(_.renderFraction?re=_.renderFraction.call(i,_.currentClass,_.totalClass):re=`<span class="${_.currentClass}"></span> / <span class="${_.totalClass}"></span>`),_.type==="progressbar"&&(_.renderProgressbar?re=_.renderProgressbar.call(i,_.progressbarFillClass):re=`<span class="${_.progressbarFillClass}"></span>`),i.pagination.bullets=[],Y.forEach(ce=>{_.type!=="custom"&&(ce.innerHTML=re||""),_.type==="bullets"&&i.pagination.bullets.push(...ce.querySelectorAll(Wt(_.bulletClass)))}),_.type!=="custom"&&f("paginationRender",Y[0])}function Z(){i.params.pagination=Xa(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});const _=i.params.pagination;if(!_.el)return;let F;typeof _.el=="string"&&i.isElement&&(F=i.el.shadowRoot.querySelector(_.el)),!F&&typeof _.el=="string"&&(F=[...document.querySelectorAll(_.el)]),F||(F=_.el),!(!F||F.length===0)&&(i.params.uniqueNavElements&&typeof _.el=="string"&&Array.isArray(F)&&F.length>1&&(F=[...i.el.querySelectorAll(_.el)],F.length>1&&(F=F.filter(Y=>Li(Y,".swiper")[0]===i.el)[0])),Array.isArray(F)&&F.length===1&&(F=F[0]),Object.assign(i.pagination,{el:F}),F=D(F),F.forEach(Y=>{_.type==="bullets"&&_.clickable&&Y.classList.add(_.clickableClass),Y.classList.add(_.modifierClass+_.type),Y.classList.add(i.isHorizontal()?_.horizontalClass:_.verticalClass),_.type==="bullets"&&_.dynamicBullets&&(Y.classList.add(`${_.modifierClass}${_.type}-dynamic`),k=0,_.dynamicMainBullets<1&&(_.dynamicMainBullets=1)),_.type==="progressbar"&&_.progressbarOpposite&&Y.classList.add(_.progressbarOppositeClass),_.clickable&&Y.addEventListener("click",oe),i.enabled||Y.classList.add(_.lockClass)}))}function ne(){const _=i.params.pagination;if(L())return;let F=i.pagination.el;F&&(F=D(F),F.forEach(Y=>{Y.classList.remove(_.hiddenClass),Y.classList.remove(_.modifierClass+_.type),Y.classList.remove(i.isHorizontal()?_.horizontalClass:_.verticalClass),_.clickable&&Y.removeEventListener("click",oe)})),i.pagination.bullets&&i.pagination.bullets.forEach(Y=>Y.classList.remove(..._.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!i.pagination||!i.pagination.el)return;const _=i.params.pagination;let{el:F}=i.pagination;F=D(F),F.forEach(Y=>{Y.classList.remove(_.horizontalClass,_.verticalClass),Y.classList.add(i.isHorizontal()?_.horizontalClass:_.verticalClass)})}),o("init",()=>{i.params.pagination.enabled===!1?t():(Z(),ae(),ie())}),o("activeIndexChange",()=>{typeof i.snapIndex>"u"&&ie()}),o("snapIndexChange",()=>{ie()}),o("snapGridLengthChange",()=>{ae(),ie()}),o("destroy",()=>{ne()}),o("enable disable",()=>{let{el:_}=i.pagination;_&&(_=D(_),_.forEach(F=>F.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass)))}),o("lock unlock",()=>{ie()}),o("click",(_,F)=>{const Y=F.target;let{el:re}=i.pagination;if(Array.isArray(re)||(re=[re].filter(ce=>!!ce)),i.params.pagination.el&&i.params.pagination.hideOnClick&&re&&re.length>0&&!Y.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&Y===i.navigation.nextEl||i.navigation.prevEl&&Y===i.navigation.prevEl))return;const ce=re[0].classList.contains(i.params.pagination.hiddenClass);f(ce===!0?"paginationShow":"paginationHide"),re.forEach(se=>se.classList.toggle(i.params.pagination.hiddenClass))}});const ee=()=>{i.el.classList.remove(i.params.pagination.paginationDisabledClass);let{el:_}=i.pagination;_&&(_=D(_),_.forEach(F=>F.classList.remove(i.params.pagination.paginationDisabledClass))),Z(),ae(),ie()},t=()=>{i.el.classList.add(i.params.pagination.paginationDisabledClass);let{el:_}=i.pagination;_&&(_=D(_),_.forEach(F=>F.classList.add(i.params.pagination.paginationDisabledClass))),ne()};Object.assign(i.pagination,{enable:ee,disable:t,render:ae,update:ie,init:Z,destroy:ne})}function Ua({swiper:i,extendParams:s,on:o,emit:f,params:h}){i.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let g,k,D=h&&h.autoplay?h.autoplay.delay:3e3,L=h&&h.autoplay?h.autoplay.delay:3e3,q,oe=new Date().getTime,ie,ae,Z,ne,ee,t;function _(m){!i||i.destroyed||!i.wrapperEl||m.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",_),be())}const F=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?ie=!0:ie&&(L=q,ie=!1);const m=i.autoplay.paused?q:oe+L-new Date().getTime();i.autoplay.timeLeft=m,f("autoplayTimeLeft",m,m/D),k=requestAnimationFrame(()=>{F()})},Y=()=>{let m;return i.virtual&&i.params.virtual.enabled?m=i.slides.filter(E=>E.classList.contains("swiper-slide-active"))[0]:m=i.slides[i.activeIndex],m?parseInt(m.getAttribute("data-swiper-autoplay"),10):void 0},re=m=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(k),F();let T=typeof m>"u"?i.params.autoplay.delay:m;D=i.params.autoplay.delay,L=i.params.autoplay.delay;const E=Y();!Number.isNaN(E)&&E>0&&typeof m>"u"&&(T=E,D=E,L=E),q=T;const w=i.params.speed,M=()=>{!i||i.destroyed||(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(w,!0,!0),f("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,w,!0,!0),f("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(w,!0,!0),f("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,w,!0,!0),f("autoplay")),i.params.cssMode&&(oe=new Date().getTime(),requestAnimationFrame(()=>{re()})))};return T>0?(clearTimeout(g),g=setTimeout(()=>{M()},T)):requestAnimationFrame(()=>{M()}),T},ce=()=>{i.autoplay.running=!0,re(),f("autoplayStart")},se=()=>{i.autoplay.running=!1,clearTimeout(g),cancelAnimationFrame(k),f("autoplayStop")},l=(m,T)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(g),m||(t=!0);const E=()=>{f("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",_):be()};if(i.autoplay.paused=!0,T){ee&&(q=i.params.autoplay.delay),ee=!1,E();return}q=(q||i.params.autoplay.delay)-(new Date().getTime()-oe),!(i.isEnd&&q<0&&!i.params.loop)&&(q<0&&(q=0),E())},be=()=>{i.isEnd&&q<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(oe=new Date().getTime(),t?(t=!1,re(q)):re(),i.autoplay.paused=!1,f("autoplayResume"))},pe=()=>{if(i.destroyed||!i.autoplay.running)return;const m=gt();m.visibilityState==="hidden"&&(t=!0,l(!0)),m.visibilityState==="visible"&&be()},Oe=m=>{m.pointerType==="mouse"&&(t=!0,l(!0))},me=m=>{m.pointerType==="mouse"&&i.autoplay.paused&&be()},ue=()=>{i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",Oe),i.el.addEventListener("pointerleave",me))},a=()=>{i.el.removeEventListener("pointerenter",Oe),i.el.removeEventListener("pointerleave",me)},c=()=>{gt().addEventListener("visibilitychange",pe)},v=()=>{gt().removeEventListener("visibilitychange",pe)};o("init",()=>{i.params.autoplay.enabled&&(ue(),c(),oe=new Date().getTime(),ce())}),o("destroy",()=>{a(),v(),i.autoplay.running&&se()}),o("beforeTransitionStart",(m,T,E)=>{i.destroyed||!i.autoplay.running||(E||!i.params.autoplay.disableOnInteraction?l(!0,!0):se())}),o("sliderFirstMove",()=>{if(!(i.destroyed||!i.autoplay.running)){if(i.params.autoplay.disableOnInteraction){se();return}ae=!0,Z=!1,t=!1,ne=setTimeout(()=>{t=!0,Z=!0,l(!0)},200)}}),o("touchEnd",()=>{if(!(i.destroyed||!i.autoplay.running||!ae)){if(clearTimeout(ne),clearTimeout(g),i.params.autoplay.disableOnInteraction){Z=!1,ae=!1;return}Z&&i.params.cssMode&&be(),Z=!1,ae=!1}}),o("slideChange",()=>{i.destroyed||!i.autoplay.running||(ee=!0)}),Object.assign(i.autoplay,{start:ce,stop:se,pause:l,resume:be})}function Ya(){const i=document.querySelector(".swiper-header");ln(i)&&new et(".swiper-header",{modules:[Ii,ji,Ua],pagination:{el:".swiper-pagination",clickable:!0},slidesPerView:1,autoplay:{delay:3e3},loop:!0,mousewheel:{forceToAxis:!0}})}function Ja(){const i=document.querySelector(".swiper-news");ln(i)&&new et(".swiper-news",{modules:[Ii,ji],pagination:{el:".swiper-pagination",clickable:!0},slidesPerView:1,loop:!0,mousewheel:{forceToAxis:!0}})}function Ka(){const i=document.querySelector("#decide");ln(i)&&(we(".decide-load").on("click touchend",()=>{we(".data-grid").removeClass("hidden"),we(".decide-load-wrapper").addClass("hidden")}),we(".filter-year").on("click",function(){var s=we(this).data("key").toString().toLowerCase();we(".decide-load-wrapper").addClass("hidden"),we(".filter-item-title").each(function(o,f){we(f).removeClass("is-active").find("span").html(we(f).data("title"))}),we(".data-grid-item").each(function(o,f){var h=we(f).data("year");h&&(h=h.toString().toLowerCase(),h===s?we(f).removeClass("hidden"):we(f).addClass("hidden"))}),we(this).parent().parent().parent().find(".filter-item-title").addClass("is-active"),we(this).parent().parent().parent().find(".filter-item-title").find("span").html(s)}),we(".filter-genre").on("click",function(){var s=we(this).data("key").toString().toLowerCase();we(".decide-load-wrapper").addClass("hidden"),we(".filter-item-title").each(function(f,h){we(h).removeClass("is-active").find("span").html(we(h).data("title"))}),we(".data-grid-item").each(function(f,h){var g=we(h).data("genre");g&&(g=g.toString().toLowerCase(),g===s?we(h).removeClass("hidden"):we(h).addClass("hidden"))});var o=s.charAt(0).toUpperCase()+s.slice(1);we(this).parent().parent().parent().find(".filter-item-title").addClass("is-active"),we(this).parent().parent().parent().find(".filter-item-title").find("span").html(o)}),we(".filter-broadcasters").on("click",function(){var s=we(this).data("key").toString().toLowerCase();we(".decide-load-wrapper").addClass("hidden"),we(".filter-item-title").each(function(o,f){we(f).removeClass("is-active").find("span").html(we(f).data("title"))}),we(".data-grid-item").each(function(o,f){var h=we(f).data("omroepen");h&&(h=h.toString().toLowerCase(),h===s?we(f).removeClass("hidden"):we(f).addClass("hidden"))}),we(this).parent().parent().parent().find(".filter-item-title").addClass("is-active"),we(this).parent().parent().parent().find(".filter-item-title").find("span").html(we(this).html().toUpperCase())}),we(".filter-search-input").on("keyup",function(){var s=we(this).val().toString().toLowerCase();console.log(s),s?(we(".filter-item-title").each(function(o,f){we(f).removeClass("is-active").find("span").html(we(f).data("title"))}),we(".data-grid-item").each(function(o,f){var h=we(f).data("search");h&&(h=h.toString().toLowerCase(),h.indexOf(s)<0?we(f).addClass("hidden"):we(f).removeClass("hidden"))})):we(".data-grid-item").removeClass("hidden")}))}function Qa(){kr(),Ya(),Ja(),Ka()}Qa();
