hof 23.0.0 → 23.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,60 +0,0 @@
1
- var dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ov($){if(Object.prototype.hasOwnProperty.call($,"__esModule"))return $;var C=$.default;if(typeof C=="function"){var c=function W(){var Z=!1;try{Z=this instanceof W}catch{}return Z?Reflect.construct(C,arguments,this.constructor):C.apply(this,arguments)};c.prototype=C.prototype}else c={};return Object.defineProperty(c,"__esModule",{value:!0}),Object.keys($).forEach(function(W){var Z=Object.getOwnPropertyDescriptor($,W);Object.defineProperty(c,W,Z.get?Z:{enumerable:!0,get:function(){return $[W]}})}),c}var wf={},xf={},Fo={exports:{}};/**
2
- * @license
3
- * Lodash <https://lodash.com/>
4
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
5
- * Released under MIT license <https://lodash.com/license>
6
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8
- */var sv=Fo.exports,_f;function eo(){return _f||(_f=1,(function($,C){(function(){var c,W="4.17.21",Z=200,ee="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",he="Expected a function",Ee="Invalid `variable` option passed into `_.template`",ye="__lodash_hash_undefined__",we=500,qe="__lodash_placeholder__",xe=1,_e=2,D=4,A=1,y=2,k=1,b=2,T=4,g=8,S=16,H=32,K=64,o=128,Y=256,J=512,fe=30,Ie="...",nt=800,Ce=16,Tt=1,it=2,On=3,m=1/0,N=9007199254740991,F=17976931348623157e292,ne=NaN,re=4294967295,me=re-1,ce=re>>>1,te=[["ary",o],["bind",k],["bindKey",b],["curry",g],["curryRight",S],["flip",J],["partial",H],["partialRight",K],["rearg",Y]],be="[object Arguments]",ge="[object Array]",De="[object AsyncFunction]",Ke="[object Boolean]",Ge="[object Date]",Fe="[object DOMException]",He="[object Error]",Ze="[object Function]",Qe="[object GeneratorFunction]",Be="[object Map]",et="[object Number]",Ye="[object Null]",rt="[object Object]",St="[object Promise]",ii="[object Proxy]",Vn="[object RegExp]",tn="[object Set]",bt="[object String]",$t="[object Symbol]",jt="[object Undefined]",ie="[object WeakMap]",ut="[object WeakSet]",pi="[object ArrayBuffer]",ri="[object DataView]",Ji="[object Float32Array]",gi="[object Float64Array]",vi="[object Int8Array]",hn="[object Int16Array]",Ot="[object Int32Array]",Wt="[object Uint8Array]",nn="[object Uint8ClampedArray]",Zi="[object Uint16Array]",In="[object Uint32Array]",er=/\b__p \+= '';/g,tr=/\b(__p \+=) '' \+/g,to=/(__e\(.*?\)|\b__t\)) \+\n'';/g,an=/&(?:amp|lt|gt|quot|#39);/g,_n=/[&<>"']/g,nr=RegExp(an.source),ir=RegExp(_n.source),Ct=/<%-([\s\S]+?)%>/g,mt=/<%([\s\S]+?)%>/g,oi=/<%=([\s\S]+?)%>/g,no=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rr=/^\w*$/,or=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rn=/[\\^$.*+?()[\]{}|]/g,dn=RegExp(rn.source),zn=/^\s+/,Qn=/\s/,io=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ro=/\{\n\/\* \[wrapped with (.+)\] \*/,oo=/,? & /,sr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,so=/[()=,{}\[\]\/\s]/,ao=/\\(\\)?/g,ar=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mr=/\w*$/,pn=/^[-+]0x[0-9a-f]+$/i,ur=/^0b[01]+$/i,mi=/^\[object .+?Constructor\]$/,yi=/^0o[0-7]+$/i,Xn=/^(?:0|[1-9]\d*)$/,fr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bi=/($^)/,Rn=/['\n\r\u2028\u2029\\]/g,si="\\ud800-\\udfff",lr="\\u0300-\\u036f",cr="\\ufe20-\\ufe2f",hr="\\u20d0-\\u20ff",Pr=lr+cr+hr,ai="\\u2700-\\u27bf",qr="a-z\\xdf-\\xf6\\xf8-\\xff",uo="\\xac\\xb1\\xd7\\xf7",dr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",pr="\\u2000-\\u206f",bi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fi="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",un=uo+dr+pr+bi,Nn="['’]",fo="["+si+"]",Hr="["+un+"]",Fn="["+Pr+"]",$i="\\d+",Yn="["+ai+"]",ji="["+qr+"]",Br="[^"+si+un+$i+ai+qr+Fi+"]",gr="\\ud83c[\\udffb-\\udfff]",At="(?:"+Fn+"|"+gr+")",Ui="[^"+si+"]",gn="(?:\\ud83c[\\udde6-\\uddff]){2}",vr="[\\ud800-\\udbff][\\udc00-\\udfff]",ui="["+Fi+"]",Qt="\\u200d",Xt="(?:"+ji+"|"+Br+")",wi="(?:"+ui+"|"+Br+")",Fr="(?:"+Nn+"(?:d|ll|m|re|s|t|ve))?",Tn="(?:"+Nn+"(?:D|LL|M|RE|S|T|VE))?",Wi=At+"?",fi="["+pt+"]?",mr="(?:"+Qt+"(?:"+[Ui,gn,vr].join("|")+")"+fi+Wi+")*",yr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ki=fi+Wi+mr,co="(?:"+[Yn,gn,vr].join("|")+")"+Ki,ho="(?:"+[Ui+Fn+"?",Fn,gn,vr,fo].join("|")+")",xi=RegExp(Nn,"g"),po=RegExp(Fn,"g"),br=RegExp(gr+"(?="+gr+")|"+ho+Ki,"g"),go=RegExp([ui+"?"+ji+"+"+Fr+"(?="+[Hr,ui,"$"].join("|")+")",wi+"+"+Tn+"(?="+[Hr,ui+Xt,"$"].join("|")+")",ui+"?"+Xt+"+"+Fr,ui+"+"+Tn,lo,yr,$i,co].join("|"),"g"),vo=RegExp("["+Qt+si+Pr+pt+"]"),mo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,yo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],bo=-1,yt={};yt[Ji]=yt[gi]=yt[vi]=yt[hn]=yt[Ot]=yt[Wt]=yt[nn]=yt[Zi]=yt[In]=!0,yt[be]=yt[ge]=yt[pi]=yt[Ke]=yt[ri]=yt[Ge]=yt[He]=yt[Ze]=yt[Be]=yt[et]=yt[rt]=yt[Vn]=yt[tn]=yt[bt]=yt[ie]=!1;var ct={};ct[be]=ct[ge]=ct[pi]=ct[ri]=ct[Ke]=ct[Ge]=ct[Ji]=ct[gi]=ct[vi]=ct[hn]=ct[Ot]=ct[Be]=ct[et]=ct[rt]=ct[Vn]=ct[tn]=ct[bt]=ct[$t]=ct[Wt]=ct[nn]=ct[Zi]=ct[In]=!0,ct[He]=ct[Ze]=ct[ie]=!1;var wr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},xr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},_r={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ti=parseFloat,wo=parseInt,$r=typeof dt=="object"&&dt&&dt.Object===Object&&dt,xo=typeof self=="object"&&self&&self.Object===Object&&self,xt=$r||xo||Function("return this")(),Ci=C&&!C.nodeType&&C,vn=Ci&&!0&&$&&!$.nodeType&&$,jr=vn&&vn.exports===Ci,Tr=jr&&$r.process,fn=(function(){try{var w=vn&&vn.require&&vn.require("util").types;return w||Tr&&Tr.binding&&Tr.binding("util")}catch{}})(),e=fn&&fn.isArrayBuffer,n=fn&&fn.isDate,r=fn&&fn.isMap,s=fn&&fn.isRegExp,u=fn&&fn.isSet,f=fn&&fn.isTypedArray;function l(w,P,q){switch(q.length){case 0:return w.call(P);case 1:return w.call(P,q[0]);case 2:return w.call(P,q[0],q[1]);case 3:return w.call(P,q[0],q[1],q[2])}return w.apply(P,q)}function v(w,P,q,z){for(var Q=-1,de=w==null?0:w.length;++Q<de;){var ae=w[Q];P(z,ae,q(ae),w)}return z}function p(w,P){for(var q=-1,z=w==null?0:w.length;++q<z&&P(w[q],q,w)!==!1;);return w}function E(w,P){for(var q=w==null?0:w.length;q--&&P(w[q],q,w)!==!1;);return w}function B(w,P){for(var q=-1,z=w==null?0:w.length;++q<z;)if(!P(w[q],q,w))return!1;return!0}function j(w,P){for(var q=-1,z=w==null?0:w.length,Q=0,de=[];++q<z;){var ae=w[q];P(ae,q,w)&&(de[Q++]=ae)}return de}function R(w,P){var q=w==null?0:w.length;return!!q&&$e(w,P,0)>-1}function V(w,P,q){for(var z=-1,Q=w==null?0:w.length;++z<Q;)if(q(P,w[z]))return!0;return!1}function se(w,P){for(var q=-1,z=w==null?0:w.length,Q=Array(z);++q<z;)Q[q]=P(w[q],q,w);return Q}function Ae(w,P){for(var q=-1,z=P.length,Q=w.length;++q<z;)w[Q+q]=P[q];return w}function Te(w,P,q,z){var Q=-1,de=w==null?0:w.length;for(z&&de&&(q=w[++Q]);++Q<de;)q=P(q,w[Q],Q,w);return q}function ot(w,P,q,z){var Q=w==null?0:w.length;for(z&&Q&&(q=w[--Q]);Q--;)q=P(q,w[Q],Q,w);return q}function Ve(w,P){for(var q=-1,z=w==null?0:w.length;++q<z;)if(P(w[q],q,w))return!0;return!1}var It=mn("length");function Rt(w){return w.split("")}function ke(w){return w.match(sr)||[]}function Yt(w,P,q){var z;return q(w,function(Q,de,ae){if(P(Q,de,ae))return z=de,!1}),z}function Oe(w,P,q,z){for(var Q=w.length,de=q+(z?1:-1);z?de--:++de<Q;)if(P(w[de],de,w))return de;return-1}function $e(w,P,q){return P===P?Co(w,P,q):Oe(w,li,q)}function Mn(w,P,q,z){for(var Q=q-1,de=w.length;++Q<de;)if(z(w[Q],P))return Q;return-1}function li(w){return w!==w}function Dt(w,P){var q=w==null?0:w.length;return q?_t(w,P)/q:ne}function mn(w){return function(P){return P==null?c:P[w]}}function kt(w){return function(P){return w==null?c:w[P]}}function Ut(w,P,q,z,Q){return Q(w,function(de,ae,oe){q=z?(z=!1,de):P(q,de,ae,oe)}),q}function Kt(w,P){var q=w.length;for(w.sort(P);q--;)w[q]=w[q].value;return w}function _t(w,P){for(var q,z=-1,Q=w.length;++z<Q;){var de=P(w[z]);de!==c&&(q=q===c?de:q+de)}return q}function Jn(w,P){for(var q=-1,z=Array(w);++q<w;)z[q]=P(q);return z}function Ht(w,P){return se(P,function(q){return[q,w[q]]})}function Mt(w){return w&&w.slice(0,Ur(w)+1).replace(zn,"")}function on(w){return function(P){return w(P)}}function Cr(w,P){return se(P,function(q){return w[q]})}function Si(w,P){return w.has(P)}function Ne(w,P){for(var q=-1,z=w.length;++q<z&&$e(P,w[q],0)>-1;);return q}function $n(w,P){for(var q=w.length;q--&&$e(P,w[q],0)>-1;);return q}function Lt(w,P){for(var q=w.length,z=0;q--;)w[q]===P&&++z;return z}var yn=kt(wr),_o=kt(_i);function To(w){return"\\"+_r[w]}function Sr(w,P){return w==null?c:w[P]}function Pt(w){return vo.test(w)}function Ei(w){return mo.test(w)}function Gt(w){for(var P,q=[];!(P=w.next()).done;)q.push(P.value);return q}function Ai(w){var P=-1,q=Array(w.size);return w.forEach(function(z,Q){q[++P]=[Q,z]}),q}function Cn(w,P){return function(q){return w(P(q))}}function Jt(w,P){for(var q=-1,z=w.length,Q=0,de=[];++q<z;){var ae=w[q];(ae===P||ae===qe)&&(w[q]=qe,de[Q++]=q)}return de}function Sn(w){var P=-1,q=Array(w.size);return w.forEach(function(z){q[++P]=z}),q}function ki(w){var P=-1,q=Array(w.size);return w.forEach(function(z){q[++P]=[z,z]}),q}function Co(w,P,q){for(var z=q-1,Q=w.length;++z<Q;)if(w[z]===P)return z;return-1}function Zn(w,P,q){for(var z=q+1;z--;)if(w[z]===P)return z;return z}function En(w){return Pt(w)?Er(w):It(w)}function Vt(w){return Pt(w)?d(w):Rt(w)}function Ur(w){for(var P=w.length;P--&&Qn.test(w.charAt(P)););return P}var Li=kt(xr);function Er(w){for(var P=br.lastIndex=0;br.test(w);)++P;return P}function d(w){return w.match(br)||[]}function _(w){return w.match(go)||[]}var I=(function w(P){P=P==null?xt:M.defaults(xt.Object(),P,M.pick(xt,yo));var q=P.Array,z=P.Date,Q=P.Error,de=P.Function,ae=P.Math,oe=P.Object,Se=P.RegExp,pe=P.String,Re=P.TypeError,ht=q.prototype,ft=de.prototype,gt=oe.prototype,Et=P["__core-js_shared__"],Zt=ft.toString,Me=gt.hasOwnProperty,el=0,Da=(function(){var t=/[^.]+$/.exec(Et&&Et.keys&&Et.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})(),Wo=gt.toString,tl=Zt.call(oe),nl=xt._,il=Se("^"+Zt.call(Me).replace(rn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ko=jr?P.Buffer:c,Gi=P.Symbol,Go=P.Uint8Array,Oa=Ko?Ko.allocUnsafe:c,Vo=Cn(oe.getPrototypeOf,oe),Ia=oe.create,Ra=gt.propertyIsEnumerable,zo=ht.splice,Na=Gi?Gi.isConcatSpreadable:c,So=Gi?Gi.iterator:c,Ar=Gi?Gi.toStringTag:c,Qo=(function(){try{var t=Ir(oe,"defineProperty");return t({},"",{}),t}catch{}})(),rl=P.clearTimeout!==xt.clearTimeout&&P.clearTimeout,ol=z&&z.now!==xt.Date.now&&z.now,sl=P.setTimeout!==xt.setTimeout&&P.setTimeout,Xo=ae.ceil,Yo=ae.floor,ks=oe.getOwnPropertySymbols,al=Ko?Ko.isBuffer:c,Ma=P.isFinite,ul=ht.join,fl=Cn(oe.keys,oe),zt=ae.max,ln=ae.min,ll=z.now,cl=P.parseInt,Pa=ae.random,hl=ht.reverse,Ls=Ir(P,"DataView"),Eo=Ir(P,"Map"),Ds=Ir(P,"Promise"),Wr=Ir(P,"Set"),Ao=Ir(P,"WeakMap"),ko=Ir(oe,"create"),Jo=Ao&&new Ao,Kr={},dl=Rr(Ls),pl=Rr(Eo),gl=Rr(Ds),vl=Rr(Wr),ml=Rr(Ao),Zo=Gi?Gi.prototype:c,Lo=Zo?Zo.valueOf:c,qa=Zo?Zo.toString:c;function L(t){if(qt(t)&&!ze(t)&&!(t instanceof at)){if(t instanceof jn)return t;if(Me.call(t,"__wrapped__"))return Hu(t)}return new jn(t)}var Gr=(function(){function t(){}return function(i){if(!Nt(i))return{};if(Ia)return Ia(i);t.prototype=i;var a=new t;return t.prototype=c,a}})();function es(){}function jn(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=c}L.templateSettings={escape:Ct,evaluate:mt,interpolate:oi,variable:"",imports:{_:L}},L.prototype=es.prototype,L.prototype.constructor=L,jn.prototype=Gr(es.prototype),jn.prototype.constructor=jn;function at(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=re,this.__views__=[]}function yl(){var t=new at(this.__wrapped__);return t.__actions__=An(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=An(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=An(this.__views__),t}function bl(){if(this.__filtered__){var t=new at(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function wl(){var t=this.__wrapped__.value(),i=this.__dir__,a=ze(t),h=i<0,x=a?t.length:0,O=Ic(0,x,this.__views__),U=O.start,G=O.end,X=G-U,ue=h?G:U-1,le=this.__iteratees__,ve=le.length,Le=0,Pe=ln(X,this.__takeCount__);if(!a||!h&&x==X&&Pe==X)return au(t,this.__actions__);var Ue=[];e:for(;X--&&Le<Pe;){ue+=i;for(var Je=-1,We=t[ue];++Je<ve;){var st=le[Je],lt=st.iteratee,Hn=st.type,xn=lt(We);if(Hn==it)We=xn;else if(!xn){if(Hn==Tt)continue e;break e}}Ue[Le++]=We}return Ue}at.prototype=Gr(es.prototype),at.prototype.constructor=at;function kr(t){var i=-1,a=t==null?0:t.length;for(this.clear();++i<a;){var h=t[i];this.set(h[0],h[1])}}function xl(){this.__data__=ko?ko(null):{},this.size=0}function _l(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function Tl(t){var i=this.__data__;if(ko){var a=i[t];return a===ye?c:a}return Me.call(i,t)?i[t]:c}function Cl(t){var i=this.__data__;return ko?i[t]!==c:Me.call(i,t)}function Sl(t,i){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=ko&&i===c?ye:i,this}kr.prototype.clear=xl,kr.prototype.delete=_l,kr.prototype.get=Tl,kr.prototype.has=Cl,kr.prototype.set=Sl;function Di(t){var i=-1,a=t==null?0:t.length;for(this.clear();++i<a;){var h=t[i];this.set(h[0],h[1])}}function El(){this.__data__=[],this.size=0}function Al(t){var i=this.__data__,a=ts(i,t);if(a<0)return!1;var h=i.length-1;return a==h?i.pop():zo.call(i,a,1),--this.size,!0}function kl(t){var i=this.__data__,a=ts(i,t);return a<0?c:i[a][1]}function Ll(t){return ts(this.__data__,t)>-1}function Dl(t,i){var a=this.__data__,h=ts(a,t);return h<0?(++this.size,a.push([t,i])):a[h][1]=i,this}Di.prototype.clear=El,Di.prototype.delete=Al,Di.prototype.get=kl,Di.prototype.has=Ll,Di.prototype.set=Dl;function Oi(t){var i=-1,a=t==null?0:t.length;for(this.clear();++i<a;){var h=t[i];this.set(h[0],h[1])}}function Ol(){this.size=0,this.__data__={hash:new kr,map:new(Eo||Di),string:new kr}}function Il(t){var i=ds(this,t).delete(t);return this.size-=i?1:0,i}function Rl(t){return ds(this,t).get(t)}function Nl(t){return ds(this,t).has(t)}function Ml(t,i){var a=ds(this,t),h=a.size;return a.set(t,i),this.size+=a.size==h?0:1,this}Oi.prototype.clear=Ol,Oi.prototype.delete=Il,Oi.prototype.get=Rl,Oi.prototype.has=Nl,Oi.prototype.set=Ml;function Lr(t){var i=-1,a=t==null?0:t.length;for(this.__data__=new Oi;++i<a;)this.add(t[i])}function Pl(t){return this.__data__.set(t,ye),this}function ql(t){return this.__data__.has(t)}Lr.prototype.add=Lr.prototype.push=Pl,Lr.prototype.has=ql;function ei(t){var i=this.__data__=new Di(t);this.size=i.size}function Hl(){this.__data__=new Di,this.size=0}function Bl(t){var i=this.__data__,a=i.delete(t);return this.size=i.size,a}function Fl(t){return this.__data__.get(t)}function $l(t){return this.__data__.has(t)}function jl(t,i){var a=this.__data__;if(a instanceof Di){var h=a.__data__;if(!Eo||h.length<Z-1)return h.push([t,i]),this.size=++a.size,this;a=this.__data__=new Oi(h)}return a.set(t,i),this.size=a.size,this}ei.prototype.clear=Hl,ei.prototype.delete=Bl,ei.prototype.get=Fl,ei.prototype.has=$l,ei.prototype.set=jl;function Ha(t,i){var a=ze(t),h=!a&&Nr(t),x=!a&&!h&&Yi(t),O=!a&&!h&&!x&&Xr(t),U=a||h||x||O,G=U?Jn(t.length,pe):[],X=G.length;for(var ue in t)(i||Me.call(t,ue))&&!(U&&(ue=="length"||x&&(ue=="offset"||ue=="parent")||O&&(ue=="buffer"||ue=="byteLength"||ue=="byteOffset")||Mi(ue,X)))&&G.push(ue);return G}function Ba(t){var i=t.length;return i?t[$s(0,i-1)]:c}function Ul(t,i){return ps(An(t),Dr(i,0,t.length))}function Wl(t){return ps(An(t))}function Os(t,i,a){(a!==c&&!ti(t[i],a)||a===c&&!(i in t))&&Ii(t,i,a)}function Do(t,i,a){var h=t[i];(!(Me.call(t,i)&&ti(h,a))||a===c&&!(i in t))&&Ii(t,i,a)}function ts(t,i){for(var a=t.length;a--;)if(ti(t[a][0],i))return a;return-1}function Kl(t,i,a,h){return Vi(t,function(x,O,U){i(h,x,a(x),U)}),h}function Fa(t,i){return t&&hi(i,en(i),t)}function Gl(t,i){return t&&hi(i,Ln(i),t)}function Ii(t,i,a){i=="__proto__"&&Qo?Qo(t,i,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[i]=a}function Is(t,i){for(var a=-1,h=i.length,x=q(h),O=t==null;++a<h;)x[a]=O?c:ha(t,i[a]);return x}function Dr(t,i,a){return t===t&&(a!==c&&(t=t<=a?t:a),i!==c&&(t=t>=i?t:i)),t}function Un(t,i,a,h,x,O){var U,G=i&xe,X=i&_e,ue=i&D;if(a&&(U=x?a(t,h,x,O):a(t)),U!==c)return U;if(!Nt(t))return t;var le=ze(t);if(le){if(U=Nc(t),!G)return An(t,U)}else{var ve=cn(t),Le=ve==Ze||ve==Qe;if(Yi(t))return lu(t,G);if(ve==rt||ve==be||Le&&!x){if(U=X||Le?{}:Lu(t),!G)return X?Tc(t,Gl(U,t)):_c(t,Fa(U,t))}else{if(!ct[ve])return x?t:{};U=Mc(t,ve,G)}}O||(O=new ei);var Pe=O.get(t);if(Pe)return Pe;O.set(t,U),of(t)?t.forEach(function(We){U.add(Un(We,i,a,We,t,O))}):nf(t)&&t.forEach(function(We,st){U.set(st,Un(We,i,a,st,t,O))});var Ue=ue?X?Js:Ys:X?Ln:en,Je=le?c:Ue(t);return p(Je||t,function(We,st){Je&&(st=We,We=t[st]),Do(U,st,Un(We,i,a,st,t,O))}),U}function Vl(t){var i=en(t);return function(a){return $a(a,t,i)}}function $a(t,i,a){var h=a.length;if(t==null)return!h;for(t=oe(t);h--;){var x=a[h],O=i[x],U=t[x];if(U===c&&!(x in t)||!O(U))return!1}return!0}function ja(t,i,a){if(typeof t!="function")throw new Re(he);return qo(function(){t.apply(c,a)},i)}function Oo(t,i,a,h){var x=-1,O=R,U=!0,G=t.length,X=[],ue=i.length;if(!G)return X;a&&(i=se(i,on(a))),h?(O=V,U=!1):i.length>=Z&&(O=Si,U=!1,i=new Lr(i));e:for(;++x<G;){var le=t[x],ve=a==null?le:a(le);if(le=h||le!==0?le:0,U&&ve===ve){for(var Le=ue;Le--;)if(i[Le]===ve)continue e;X.push(le)}else O(i,ve,h)||X.push(le)}return X}var Vi=gu(ci),Ua=gu(Ns,!0);function zl(t,i){var a=!0;return Vi(t,function(h,x,O){return a=!!i(h,x,O),a}),a}function ns(t,i,a){for(var h=-1,x=t.length;++h<x;){var O=t[h],U=i(O);if(U!=null&&(G===c?U===U&&!qn(U):a(U,G)))var G=U,X=O}return X}function Ql(t,i,a,h){var x=t.length;for(a=Xe(a),a<0&&(a=-a>x?0:x+a),h=h===c||h>x?x:Xe(h),h<0&&(h+=x),h=a>h?0:af(h);a<h;)t[a++]=i;return t}function Wa(t,i){var a=[];return Vi(t,function(h,x,O){i(h,x,O)&&a.push(h)}),a}function sn(t,i,a,h,x){var O=-1,U=t.length;for(a||(a=qc),x||(x=[]);++O<U;){var G=t[O];i>0&&a(G)?i>1?sn(G,i-1,a,h,x):Ae(x,G):h||(x[x.length]=G)}return x}var Rs=vu(),Ka=vu(!0);function ci(t,i){return t&&Rs(t,i,en)}function Ns(t,i){return t&&Ka(t,i,en)}function is(t,i){return j(i,function(a){return Pi(t[a])})}function Or(t,i){i=Qi(i,t);for(var a=0,h=i.length;t!=null&&a<h;)t=t[di(i[a++])];return a&&a==h?t:c}function Ga(t,i,a){var h=i(t);return ze(t)?h:Ae(h,a(t))}function bn(t){return t==null?t===c?jt:Ye:Ar&&Ar in oe(t)?Oc(t):Wc(t)}function Ms(t,i){return t>i}function Xl(t,i){return t!=null&&Me.call(t,i)}function Yl(t,i){return t!=null&&i in oe(t)}function Jl(t,i,a){return t>=ln(i,a)&&t<zt(i,a)}function Ps(t,i,a){for(var h=a?V:R,x=t[0].length,O=t.length,U=O,G=q(O),X=1/0,ue=[];U--;){var le=t[U];U&&i&&(le=se(le,on(i))),X=ln(le.length,X),G[U]=!a&&(i||x>=120&&le.length>=120)?new Lr(U&&le):c}le=t[0];var ve=-1,Le=G[0];e:for(;++ve<x&&ue.length<X;){var Pe=le[ve],Ue=i?i(Pe):Pe;if(Pe=a||Pe!==0?Pe:0,!(Le?Si(Le,Ue):h(ue,Ue,a))){for(U=O;--U;){var Je=G[U];if(!(Je?Si(Je,Ue):h(t[U],Ue,a)))continue e}Le&&Le.push(Ue),ue.push(Pe)}}return ue}function Zl(t,i,a,h){return ci(t,function(x,O,U){i(h,a(x),O,U)}),h}function Io(t,i,a){i=Qi(i,t),t=Ru(t,i);var h=t==null?t:t[di(Kn(i))];return h==null?c:l(h,t,a)}function Va(t){return qt(t)&&bn(t)==be}function ec(t){return qt(t)&&bn(t)==pi}function tc(t){return qt(t)&&bn(t)==Ge}function Ro(t,i,a,h,x){return t===i?!0:t==null||i==null||!qt(t)&&!qt(i)?t!==t&&i!==i:nc(t,i,a,h,Ro,x)}function nc(t,i,a,h,x,O){var U=ze(t),G=ze(i),X=U?ge:cn(t),ue=G?ge:cn(i);X=X==be?rt:X,ue=ue==be?rt:ue;var le=X==rt,ve=ue==rt,Le=X==ue;if(Le&&Yi(t)){if(!Yi(i))return!1;U=!0,le=!1}if(Le&&!le)return O||(O=new ei),U||Xr(t)?Eu(t,i,a,h,x,O):Lc(t,i,X,a,h,x,O);if(!(a&A)){var Pe=le&&Me.call(t,"__wrapped__"),Ue=ve&&Me.call(i,"__wrapped__");if(Pe||Ue){var Je=Pe?t.value():t,We=Ue?i.value():i;return O||(O=new ei),x(Je,We,a,h,O)}}return Le?(O||(O=new ei),Dc(t,i,a,h,x,O)):!1}function ic(t){return qt(t)&&cn(t)==Be}function qs(t,i,a,h){var x=a.length,O=x,U=!h;if(t==null)return!O;for(t=oe(t);x--;){var G=a[x];if(U&&G[2]?G[1]!==t[G[0]]:!(G[0]in t))return!1}for(;++x<O;){G=a[x];var X=G[0],ue=t[X],le=G[1];if(U&&G[2]){if(ue===c&&!(X in t))return!1}else{var ve=new ei;if(h)var Le=h(ue,le,X,t,i,ve);if(!(Le===c?Ro(le,ue,A|y,h,ve):Le))return!1}}return!0}function za(t){if(!Nt(t)||Bc(t))return!1;var i=Pi(t)?il:mi;return i.test(Rr(t))}function rc(t){return qt(t)&&bn(t)==Vn}function oc(t){return qt(t)&&cn(t)==tn}function sc(t){return qt(t)&&ws(t.length)&&!!yt[bn(t)]}function Qa(t){return typeof t=="function"?t:t==null?Dn:typeof t=="object"?ze(t)?Ja(t[0],t[1]):Ya(t):yf(t)}function Hs(t){if(!Po(t))return fl(t);var i=[];for(var a in oe(t))Me.call(t,a)&&a!="constructor"&&i.push(a);return i}function ac(t){if(!Nt(t))return Uc(t);var i=Po(t),a=[];for(var h in t)h=="constructor"&&(i||!Me.call(t,h))||a.push(h);return a}function Bs(t,i){return t<i}function Xa(t,i){var a=-1,h=kn(t)?q(t.length):[];return Vi(t,function(x,O,U){h[++a]=i(x,O,U)}),h}function Ya(t){var i=ea(t);return i.length==1&&i[0][2]?Ou(i[0][0],i[0][1]):function(a){return a===t||qs(a,t,i)}}function Ja(t,i){return na(t)&&Du(i)?Ou(di(t),i):function(a){var h=ha(a,t);return h===c&&h===i?da(a,t):Ro(i,h,A|y)}}function rs(t,i,a,h,x){t!==i&&Rs(i,function(O,U){if(x||(x=new ei),Nt(O))uc(t,i,U,a,rs,h,x);else{var G=h?h(ra(t,U),O,U+"",t,i,x):c;G===c&&(G=O),Os(t,U,G)}},Ln)}function uc(t,i,a,h,x,O,U){var G=ra(t,a),X=ra(i,a),ue=U.get(X);if(ue){Os(t,a,ue);return}var le=O?O(G,X,a+"",t,i,U):c,ve=le===c;if(ve){var Le=ze(X),Pe=!Le&&Yi(X),Ue=!Le&&!Pe&&Xr(X);le=X,Le||Pe||Ue?ze(G)?le=G:Bt(G)?le=An(G):Pe?(ve=!1,le=lu(X,!0)):Ue?(ve=!1,le=cu(X,!0)):le=[]:Ho(X)||Nr(X)?(le=G,Nr(G)?le=uf(G):(!Nt(G)||Pi(G))&&(le=Lu(X))):ve=!1}ve&&(U.set(X,le),x(le,X,h,O,U),U.delete(X)),Os(t,a,le)}function Za(t,i){var a=t.length;if(a)return i+=i<0?a:0,Mi(i,a)?t[i]:c}function eu(t,i,a){i.length?i=se(i,function(O){return ze(O)?function(U){return Or(U,O.length===1?O[0]:O)}:O}):i=[Dn];var h=-1;i=se(i,on(je()));var x=Xa(t,function(O,U,G){var X=se(i,function(ue){return ue(O)});return{criteria:X,index:++h,value:O}});return Kt(x,function(O,U){return xc(O,U,a)})}function fc(t,i){return tu(t,i,function(a,h){return da(t,h)})}function tu(t,i,a){for(var h=-1,x=i.length,O={};++h<x;){var U=i[h],G=Or(t,U);a(G,U)&&No(O,Qi(U,t),G)}return O}function lc(t){return function(i){return Or(i,t)}}function Fs(t,i,a,h){var x=h?Mn:$e,O=-1,U=i.length,G=t;for(t===i&&(i=An(i)),a&&(G=se(t,on(a)));++O<U;)for(var X=0,ue=i[O],le=a?a(ue):ue;(X=x(G,le,X,h))>-1;)G!==t&&zo.call(G,X,1),zo.call(t,X,1);return t}function nu(t,i){for(var a=t?i.length:0,h=a-1;a--;){var x=i[a];if(a==h||x!==O){var O=x;Mi(x)?zo.call(t,x,1):Ws(t,x)}}return t}function $s(t,i){return t+Yo(Pa()*(i-t+1))}function cc(t,i,a,h){for(var x=-1,O=zt(Xo((i-t)/(a||1)),0),U=q(O);O--;)U[h?O:++x]=t,t+=a;return U}function js(t,i){var a="";if(!t||i<1||i>N)return a;do i%2&&(a+=t),i=Yo(i/2),i&&(t+=t);while(i);return a}function tt(t,i){return oa(Iu(t,i,Dn),t+"")}function hc(t){return Ba(Yr(t))}function dc(t,i){var a=Yr(t);return ps(a,Dr(i,0,a.length))}function No(t,i,a,h){if(!Nt(t))return t;i=Qi(i,t);for(var x=-1,O=i.length,U=O-1,G=t;G!=null&&++x<O;){var X=di(i[x]),ue=a;if(X==="__proto__"||X==="constructor"||X==="prototype")return t;if(x!=U){var le=G[X];ue=h?h(le,X,G):c,ue===c&&(ue=Nt(le)?le:Mi(i[x+1])?[]:{})}Do(G,X,ue),G=G[X]}return t}var iu=Jo?function(t,i){return Jo.set(t,i),t}:Dn,pc=Qo?function(t,i){return Qo(t,"toString",{configurable:!0,enumerable:!1,value:ga(i),writable:!0})}:Dn;function gc(t){return ps(Yr(t))}function Wn(t,i,a){var h=-1,x=t.length;i<0&&(i=-i>x?0:x+i),a=a>x?x:a,a<0&&(a+=x),x=i>a?0:a-i>>>0,i>>>=0;for(var O=q(x);++h<x;)O[h]=t[h+i];return O}function vc(t,i){var a;return Vi(t,function(h,x,O){return a=i(h,x,O),!a}),!!a}function os(t,i,a){var h=0,x=t==null?h:t.length;if(typeof i=="number"&&i===i&&x<=ce){for(;h<x;){var O=h+x>>>1,U=t[O];U!==null&&!qn(U)&&(a?U<=i:U<i)?h=O+1:x=O}return x}return Us(t,i,Dn,a)}function Us(t,i,a,h){var x=0,O=t==null?0:t.length;if(O===0)return 0;i=a(i);for(var U=i!==i,G=i===null,X=qn(i),ue=i===c;x<O;){var le=Yo((x+O)/2),ve=a(t[le]),Le=ve!==c,Pe=ve===null,Ue=ve===ve,Je=qn(ve);if(U)var We=h||Ue;else ue?We=Ue&&(h||Le):G?We=Ue&&Le&&(h||!Pe):X?We=Ue&&Le&&!Pe&&(h||!Je):Pe||Je?We=!1:We=h?ve<=i:ve<i;We?x=le+1:O=le}return ln(O,me)}function ru(t,i){for(var a=-1,h=t.length,x=0,O=[];++a<h;){var U=t[a],G=i?i(U):U;if(!a||!ti(G,X)){var X=G;O[x++]=U===0?0:U}}return O}function ou(t){return typeof t=="number"?t:qn(t)?ne:+t}function Pn(t){if(typeof t=="string")return t;if(ze(t))return se(t,Pn)+"";if(qn(t))return qa?qa.call(t):"";var i=t+"";return i=="0"&&1/t==-m?"-0":i}function zi(t,i,a){var h=-1,x=R,O=t.length,U=!0,G=[],X=G;if(a)U=!1,x=V;else if(O>=Z){var ue=i?null:Ac(t);if(ue)return Sn(ue);U=!1,x=Si,X=new Lr}else X=i?[]:G;e:for(;++h<O;){var le=t[h],ve=i?i(le):le;if(le=a||le!==0?le:0,U&&ve===ve){for(var Le=X.length;Le--;)if(X[Le]===ve)continue e;i&&X.push(ve),G.push(le)}else x(X,ve,a)||(X!==G&&X.push(ve),G.push(le))}return G}function Ws(t,i){return i=Qi(i,t),t=Ru(t,i),t==null||delete t[di(Kn(i))]}function su(t,i,a,h){return No(t,i,a(Or(t,i)),h)}function ss(t,i,a,h){for(var x=t.length,O=h?x:-1;(h?O--:++O<x)&&i(t[O],O,t););return a?Wn(t,h?0:O,h?O+1:x):Wn(t,h?O+1:0,h?x:O)}function au(t,i){var a=t;return a instanceof at&&(a=a.value()),Te(i,function(h,x){return x.func.apply(x.thisArg,Ae([h],x.args))},a)}function Ks(t,i,a){var h=t.length;if(h<2)return h?zi(t[0]):[];for(var x=-1,O=q(h);++x<h;)for(var U=t[x],G=-1;++G<h;)G!=x&&(O[x]=Oo(O[x]||U,t[G],i,a));return zi(sn(O,1),i,a)}function uu(t,i,a){for(var h=-1,x=t.length,O=i.length,U={};++h<x;){var G=h<O?i[h]:c;a(U,t[h],G)}return U}function Gs(t){return Bt(t)?t:[]}function Vs(t){return typeof t=="function"?t:Dn}function Qi(t,i){return ze(t)?t:na(t,i)?[t]:qu(wt(t))}var mc=tt;function Xi(t,i,a){var h=t.length;return a=a===c?h:a,!i&&a>=h?t:Wn(t,i,a)}var fu=rl||function(t){return xt.clearTimeout(t)};function lu(t,i){if(i)return t.slice();var a=t.length,h=Oa?Oa(a):new t.constructor(a);return t.copy(h),h}function zs(t){var i=new t.constructor(t.byteLength);return new Go(i).set(new Go(t)),i}function yc(t,i){var a=i?zs(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.byteLength)}function bc(t){var i=new t.constructor(t.source,Mr.exec(t));return i.lastIndex=t.lastIndex,i}function wc(t){return Lo?oe(Lo.call(t)):{}}function cu(t,i){var a=i?zs(t.buffer):t.buffer;return new t.constructor(a,t.byteOffset,t.length)}function hu(t,i){if(t!==i){var a=t!==c,h=t===null,x=t===t,O=qn(t),U=i!==c,G=i===null,X=i===i,ue=qn(i);if(!G&&!ue&&!O&&t>i||O&&U&&X&&!G&&!ue||h&&U&&X||!a&&X||!x)return 1;if(!h&&!O&&!ue&&t<i||ue&&a&&x&&!h&&!O||G&&a&&x||!U&&x||!X)return-1}return 0}function xc(t,i,a){for(var h=-1,x=t.criteria,O=i.criteria,U=x.length,G=a.length;++h<U;){var X=hu(x[h],O[h]);if(X){if(h>=G)return X;var ue=a[h];return X*(ue=="desc"?-1:1)}}return t.index-i.index}function du(t,i,a,h){for(var x=-1,O=t.length,U=a.length,G=-1,X=i.length,ue=zt(O-U,0),le=q(X+ue),ve=!h;++G<X;)le[G]=i[G];for(;++x<U;)(ve||x<O)&&(le[a[x]]=t[x]);for(;ue--;)le[G++]=t[x++];return le}function pu(t,i,a,h){for(var x=-1,O=t.length,U=-1,G=a.length,X=-1,ue=i.length,le=zt(O-G,0),ve=q(le+ue),Le=!h;++x<le;)ve[x]=t[x];for(var Pe=x;++X<ue;)ve[Pe+X]=i[X];for(;++U<G;)(Le||x<O)&&(ve[Pe+a[U]]=t[x++]);return ve}function An(t,i){var a=-1,h=t.length;for(i||(i=q(h));++a<h;)i[a]=t[a];return i}function hi(t,i,a,h){var x=!a;a||(a={});for(var O=-1,U=i.length;++O<U;){var G=i[O],X=h?h(a[G],t[G],G,a,t):c;X===c&&(X=t[G]),x?Ii(a,G,X):Do(a,G,X)}return a}function _c(t,i){return hi(t,ta(t),i)}function Tc(t,i){return hi(t,Au(t),i)}function as(t,i){return function(a,h){var x=ze(a)?v:Kl,O=i?i():{};return x(a,t,je(h,2),O)}}function Vr(t){return tt(function(i,a){var h=-1,x=a.length,O=x>1?a[x-1]:c,U=x>2?a[2]:c;for(O=t.length>3&&typeof O=="function"?(x--,O):c,U&&wn(a[0],a[1],U)&&(O=x<3?c:O,x=1),i=oe(i);++h<x;){var G=a[h];G&&t(i,G,h,O)}return i})}function gu(t,i){return function(a,h){if(a==null)return a;if(!kn(a))return t(a,h);for(var x=a.length,O=i?x:-1,U=oe(a);(i?O--:++O<x)&&h(U[O],O,U)!==!1;);return a}}function vu(t){return function(i,a,h){for(var x=-1,O=oe(i),U=h(i),G=U.length;G--;){var X=U[t?G:++x];if(a(O[X],X,O)===!1)break}return i}}function Cc(t,i,a){var h=i&k,x=Mo(t);function O(){var U=this&&this!==xt&&this instanceof O?x:t;return U.apply(h?a:this,arguments)}return O}function mu(t){return function(i){i=wt(i);var a=Pt(i)?Vt(i):c,h=a?a[0]:i.charAt(0),x=a?Xi(a,1).join(""):i.slice(1);return h[t]()+x}}function zr(t){return function(i){return Te(vf(gf(i).replace(xi,"")),t,"")}}function Mo(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var a=Gr(t.prototype),h=t.apply(a,i);return Nt(h)?h:a}}function Sc(t,i,a){var h=Mo(t);function x(){for(var O=arguments.length,U=q(O),G=O,X=Qr(x);G--;)U[G]=arguments[G];var ue=O<3&&U[0]!==X&&U[O-1]!==X?[]:Jt(U,X);if(O-=ue.length,O<a)return _u(t,i,us,x.placeholder,c,U,ue,c,c,a-O);var le=this&&this!==xt&&this instanceof x?h:t;return l(le,this,U)}return x}function yu(t){return function(i,a,h){var x=oe(i);if(!kn(i)){var O=je(a,3);i=en(i),a=function(G){return O(x[G],G,x)}}var U=t(i,a,h);return U>-1?x[O?i[U]:U]:c}}function bu(t){return Ni(function(i){var a=i.length,h=a,x=jn.prototype.thru;for(t&&i.reverse();h--;){var O=i[h];if(typeof O!="function")throw new Re(he);if(x&&!U&&hs(O)=="wrapper")var U=new jn([],!0)}for(h=U?h:a;++h<a;){O=i[h];var G=hs(O),X=G=="wrapper"?Zs(O):c;X&&ia(X[0])&&X[1]==(o|g|H|Y)&&!X[4].length&&X[9]==1?U=U[hs(X[0])].apply(U,X[3]):U=O.length==1&&ia(O)?U[G]():U.thru(O)}return function(){var ue=arguments,le=ue[0];if(U&&ue.length==1&&ze(le))return U.plant(le).value();for(var ve=0,Le=a?i[ve].apply(this,ue):le;++ve<a;)Le=i[ve].call(this,Le);return Le}})}function us(t,i,a,h,x,O,U,G,X,ue){var le=i&o,ve=i&k,Le=i&b,Pe=i&(g|S),Ue=i&J,Je=Le?c:Mo(t);function We(){for(var st=arguments.length,lt=q(st),Hn=st;Hn--;)lt[Hn]=arguments[Hn];if(Pe)var xn=Qr(We),Bn=Lt(lt,xn);if(h&&(lt=du(lt,h,x,Pe)),O&&(lt=pu(lt,O,U,Pe)),st-=Bn,Pe&&st<ue){var Ft=Jt(lt,xn);return _u(t,i,us,We.placeholder,a,lt,Ft,G,X,ue-st)}var ni=ve?a:this,Hi=Le?ni[t]:t;return st=lt.length,G?lt=Kc(lt,G):Ue&&st>1&&lt.reverse(),le&&X<st&&(lt.length=X),this&&this!==xt&&this instanceof We&&(Hi=Je||Mo(Hi)),Hi.apply(ni,lt)}return We}function wu(t,i){return function(a,h){return Zl(a,t,i(h),{})}}function fs(t,i){return function(a,h){var x;if(a===c&&h===c)return i;if(a!==c&&(x=a),h!==c){if(x===c)return h;typeof a=="string"||typeof h=="string"?(a=Pn(a),h=Pn(h)):(a=ou(a),h=ou(h)),x=t(a,h)}return x}}function Qs(t){return Ni(function(i){return i=se(i,on(je())),tt(function(a){var h=this;return t(i,function(x){return l(x,h,a)})})})}function ls(t,i){i=i===c?" ":Pn(i);var a=i.length;if(a<2)return a?js(i,t):i;var h=js(i,Xo(t/En(i)));return Pt(i)?Xi(Vt(h),0,t).join(""):h.slice(0,t)}function Ec(t,i,a,h){var x=i&k,O=Mo(t);function U(){for(var G=-1,X=arguments.length,ue=-1,le=h.length,ve=q(le+X),Le=this&&this!==xt&&this instanceof U?O:t;++ue<le;)ve[ue]=h[ue];for(;X--;)ve[ue++]=arguments[++G];return l(Le,x?a:this,ve)}return U}function xu(t){return function(i,a,h){return h&&typeof h!="number"&&wn(i,a,h)&&(a=h=c),i=qi(i),a===c?(a=i,i=0):a=qi(a),h=h===c?i<a?1:-1:qi(h),cc(i,a,h,t)}}function cs(t){return function(i,a){return typeof i=="string"&&typeof a=="string"||(i=Gn(i),a=Gn(a)),t(i,a)}}function _u(t,i,a,h,x,O,U,G,X,ue){var le=i&g,ve=le?U:c,Le=le?c:U,Pe=le?O:c,Ue=le?c:O;i|=le?H:K,i&=~(le?K:H),i&T||(i&=-4);var Je=[t,i,x,Pe,ve,Ue,Le,G,X,ue],We=a.apply(c,Je);return ia(t)&&Nu(We,Je),We.placeholder=h,Mu(We,t,i)}function Xs(t){var i=ae[t];return function(a,h){if(a=Gn(a),h=h==null?0:ln(Xe(h),292),h&&Ma(a)){var x=(wt(a)+"e").split("e"),O=i(x[0]+"e"+(+x[1]+h));return x=(wt(O)+"e").split("e"),+(x[0]+"e"+(+x[1]-h))}return i(a)}}var Ac=Wr&&1/Sn(new Wr([,-0]))[1]==m?function(t){return new Wr(t)}:ya;function Tu(t){return function(i){var a=cn(i);return a==Be?Ai(i):a==tn?ki(i):Ht(i,t(i))}}function Ri(t,i,a,h,x,O,U,G){var X=i&b;if(!X&&typeof t!="function")throw new Re(he);var ue=h?h.length:0;if(ue||(i&=-97,h=x=c),U=U===c?U:zt(Xe(U),0),G=G===c?G:Xe(G),ue-=x?x.length:0,i&K){var le=h,ve=x;h=x=c}var Le=X?c:Zs(t),Pe=[t,i,a,h,x,le,ve,O,U,G];if(Le&&jc(Pe,Le),t=Pe[0],i=Pe[1],a=Pe[2],h=Pe[3],x=Pe[4],G=Pe[9]=Pe[9]===c?X?0:t.length:zt(Pe[9]-ue,0),!G&&i&(g|S)&&(i&=-25),!i||i==k)var Ue=Cc(t,i,a);else i==g||i==S?Ue=Sc(t,i,G):(i==H||i==(k|H))&&!x.length?Ue=Ec(t,i,a,h):Ue=us.apply(c,Pe);var Je=Le?iu:Nu;return Mu(Je(Ue,Pe),t,i)}function Cu(t,i,a,h){return t===c||ti(t,gt[a])&&!Me.call(h,a)?i:t}function Su(t,i,a,h,x,O){return Nt(t)&&Nt(i)&&(O.set(i,t),rs(t,i,c,Su,O),O.delete(i)),t}function kc(t){return Ho(t)?c:t}function Eu(t,i,a,h,x,O){var U=a&A,G=t.length,X=i.length;if(G!=X&&!(U&&X>G))return!1;var ue=O.get(t),le=O.get(i);if(ue&&le)return ue==i&&le==t;var ve=-1,Le=!0,Pe=a&y?new Lr:c;for(O.set(t,i),O.set(i,t);++ve<G;){var Ue=t[ve],Je=i[ve];if(h)var We=U?h(Je,Ue,ve,i,t,O):h(Ue,Je,ve,t,i,O);if(We!==c){if(We)continue;Le=!1;break}if(Pe){if(!Ve(i,function(st,lt){if(!Si(Pe,lt)&&(Ue===st||x(Ue,st,a,h,O)))return Pe.push(lt)})){Le=!1;break}}else if(!(Ue===Je||x(Ue,Je,a,h,O))){Le=!1;break}}return O.delete(t),O.delete(i),Le}function Lc(t,i,a,h,x,O,U){switch(a){case ri:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case pi:return!(t.byteLength!=i.byteLength||!O(new Go(t),new Go(i)));case Ke:case Ge:case et:return ti(+t,+i);case He:return t.name==i.name&&t.message==i.message;case Vn:case bt:return t==i+"";case Be:var G=Ai;case tn:var X=h&A;if(G||(G=Sn),t.size!=i.size&&!X)return!1;var ue=U.get(t);if(ue)return ue==i;h|=y,U.set(t,i);var le=Eu(G(t),G(i),h,x,O,U);return U.delete(t),le;case $t:if(Lo)return Lo.call(t)==Lo.call(i)}return!1}function Dc(t,i,a,h,x,O){var U=a&A,G=Ys(t),X=G.length,ue=Ys(i),le=ue.length;if(X!=le&&!U)return!1;for(var ve=X;ve--;){var Le=G[ve];if(!(U?Le in i:Me.call(i,Le)))return!1}var Pe=O.get(t),Ue=O.get(i);if(Pe&&Ue)return Pe==i&&Ue==t;var Je=!0;O.set(t,i),O.set(i,t);for(var We=U;++ve<X;){Le=G[ve];var st=t[Le],lt=i[Le];if(h)var Hn=U?h(lt,st,Le,i,t,O):h(st,lt,Le,t,i,O);if(!(Hn===c?st===lt||x(st,lt,a,h,O):Hn)){Je=!1;break}We||(We=Le=="constructor")}if(Je&&!We){var xn=t.constructor,Bn=i.constructor;xn!=Bn&&"constructor"in t&&"constructor"in i&&!(typeof xn=="function"&&xn instanceof xn&&typeof Bn=="function"&&Bn instanceof Bn)&&(Je=!1)}return O.delete(t),O.delete(i),Je}function Ni(t){return oa(Iu(t,c,$u),t+"")}function Ys(t){return Ga(t,en,ta)}function Js(t){return Ga(t,Ln,Au)}var Zs=Jo?function(t){return Jo.get(t)}:ya;function hs(t){for(var i=t.name+"",a=Kr[i],h=Me.call(Kr,i)?a.length:0;h--;){var x=a[h],O=x.func;if(O==null||O==t)return x.name}return i}function Qr(t){var i=Me.call(L,"placeholder")?L:t;return i.placeholder}function je(){var t=L.iteratee||va;return t=t===va?Qa:t,arguments.length?t(arguments[0],arguments[1]):t}function ds(t,i){var a=t.__data__;return Hc(i)?a[typeof i=="string"?"string":"hash"]:a.map}function ea(t){for(var i=en(t),a=i.length;a--;){var h=i[a],x=t[h];i[a]=[h,x,Du(x)]}return i}function Ir(t,i){var a=Sr(t,i);return za(a)?a:c}function Oc(t){var i=Me.call(t,Ar),a=t[Ar];try{t[Ar]=c;var h=!0}catch{}var x=Wo.call(t);return h&&(i?t[Ar]=a:delete t[Ar]),x}var ta=ks?function(t){return t==null?[]:(t=oe(t),j(ks(t),function(i){return Ra.call(t,i)}))}:ba,Au=ks?function(t){for(var i=[];t;)Ae(i,ta(t)),t=Vo(t);return i}:ba,cn=bn;(Ls&&cn(new Ls(new ArrayBuffer(1)))!=ri||Eo&&cn(new Eo)!=Be||Ds&&cn(Ds.resolve())!=St||Wr&&cn(new Wr)!=tn||Ao&&cn(new Ao)!=ie)&&(cn=function(t){var i=bn(t),a=i==rt?t.constructor:c,h=a?Rr(a):"";if(h)switch(h){case dl:return ri;case pl:return Be;case gl:return St;case vl:return tn;case ml:return ie}return i});function Ic(t,i,a){for(var h=-1,x=a.length;++h<x;){var O=a[h],U=O.size;switch(O.type){case"drop":t+=U;break;case"dropRight":i-=U;break;case"take":i=ln(i,t+U);break;case"takeRight":t=zt(t,i-U);break}}return{start:t,end:i}}function Rc(t){var i=t.match(ro);return i?i[1].split(oo):[]}function ku(t,i,a){i=Qi(i,t);for(var h=-1,x=i.length,O=!1;++h<x;){var U=di(i[h]);if(!(O=t!=null&&a(t,U)))break;t=t[U]}return O||++h!=x?O:(x=t==null?0:t.length,!!x&&ws(x)&&Mi(U,x)&&(ze(t)||Nr(t)))}function Nc(t){var i=t.length,a=new t.constructor(i);return i&&typeof t[0]=="string"&&Me.call(t,"index")&&(a.index=t.index,a.input=t.input),a}function Lu(t){return typeof t.constructor=="function"&&!Po(t)?Gr(Vo(t)):{}}function Mc(t,i,a){var h=t.constructor;switch(i){case pi:return zs(t);case Ke:case Ge:return new h(+t);case ri:return yc(t,a);case Ji:case gi:case vi:case hn:case Ot:case Wt:case nn:case Zi:case In:return cu(t,a);case Be:return new h;case et:case bt:return new h(t);case Vn:return bc(t);case tn:return new h;case $t:return wc(t)}}function Pc(t,i){var a=i.length;if(!a)return t;var h=a-1;return i[h]=(a>1?"& ":"")+i[h],i=i.join(a>2?", ":" "),t.replace(io,`{
9
- /* [wrapped with `+i+`] */
10
- `)}function qc(t){return ze(t)||Nr(t)||!!(Na&&t&&t[Na])}function Mi(t,i){var a=typeof t;return i=i??N,!!i&&(a=="number"||a!="symbol"&&Xn.test(t))&&t>-1&&t%1==0&&t<i}function wn(t,i,a){if(!Nt(a))return!1;var h=typeof i;return(h=="number"?kn(a)&&Mi(i,a.length):h=="string"&&i in a)?ti(a[i],t):!1}function na(t,i){if(ze(t))return!1;var a=typeof t;return a=="number"||a=="symbol"||a=="boolean"||t==null||qn(t)?!0:rr.test(t)||!no.test(t)||i!=null&&t in oe(i)}function Hc(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function ia(t){var i=hs(t),a=L[i];if(typeof a!="function"||!(i in at.prototype))return!1;if(t===a)return!0;var h=Zs(a);return!!h&&t===h[0]}function Bc(t){return!!Da&&Da in t}var Fc=Et?Pi:wa;function Po(t){var i=t&&t.constructor,a=typeof i=="function"&&i.prototype||gt;return t===a}function Du(t){return t===t&&!Nt(t)}function Ou(t,i){return function(a){return a==null?!1:a[t]===i&&(i!==c||t in oe(a))}}function $c(t){var i=ys(t,function(h){return a.size===we&&a.clear(),h}),a=i.cache;return i}function jc(t,i){var a=t[1],h=i[1],x=a|h,O=x<(k|b|o),U=h==o&&a==g||h==o&&a==Y&&t[7].length<=i[8]||h==(o|Y)&&i[7].length<=i[8]&&a==g;if(!(O||U))return t;h&k&&(t[2]=i[2],x|=a&k?0:T);var G=i[3];if(G){var X=t[3];t[3]=X?du(X,G,i[4]):G,t[4]=X?Jt(t[3],qe):i[4]}return G=i[5],G&&(X=t[5],t[5]=X?pu(X,G,i[6]):G,t[6]=X?Jt(t[5],qe):i[6]),G=i[7],G&&(t[7]=G),h&o&&(t[8]=t[8]==null?i[8]:ln(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=x,t}function Uc(t){var i=[];if(t!=null)for(var a in oe(t))i.push(a);return i}function Wc(t){return Wo.call(t)}function Iu(t,i,a){return i=zt(i===c?t.length-1:i,0),function(){for(var h=arguments,x=-1,O=zt(h.length-i,0),U=q(O);++x<O;)U[x]=h[i+x];x=-1;for(var G=q(i+1);++x<i;)G[x]=h[x];return G[i]=a(U),l(t,this,G)}}function Ru(t,i){return i.length<2?t:Or(t,Wn(i,0,-1))}function Kc(t,i){for(var a=t.length,h=ln(i.length,a),x=An(t);h--;){var O=i[h];t[h]=Mi(O,a)?x[O]:c}return t}function ra(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Nu=Pu(iu),qo=sl||function(t,i){return xt.setTimeout(t,i)},oa=Pu(pc);function Mu(t,i,a){var h=i+"";return oa(t,Pc(h,Gc(Rc(h),a)))}function Pu(t){var i=0,a=0;return function(){var h=ll(),x=Ce-(h-a);if(a=h,x>0){if(++i>=nt)return arguments[0]}else i=0;return t.apply(c,arguments)}}function ps(t,i){var a=-1,h=t.length,x=h-1;for(i=i===c?h:i;++a<i;){var O=$s(a,x),U=t[O];t[O]=t[a],t[a]=U}return t.length=i,t}var qu=$c(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(or,function(a,h,x,O){i.push(x?O.replace(ao,"$1"):h||a)}),i});function di(t){if(typeof t=="string"||qn(t))return t;var i=t+"";return i=="0"&&1/t==-m?"-0":i}function Rr(t){if(t!=null){try{return Zt.call(t)}catch{}try{return t+""}catch{}}return""}function Gc(t,i){return p(te,function(a){var h="_."+a[0];i&a[1]&&!R(t,h)&&t.push(h)}),t.sort()}function Hu(t){if(t instanceof at)return t.clone();var i=new jn(t.__wrapped__,t.__chain__);return i.__actions__=An(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function Vc(t,i,a){(a?wn(t,i,a):i===c)?i=1:i=zt(Xe(i),0);var h=t==null?0:t.length;if(!h||i<1)return[];for(var x=0,O=0,U=q(Xo(h/i));x<h;)U[O++]=Wn(t,x,x+=i);return U}function zc(t){for(var i=-1,a=t==null?0:t.length,h=0,x=[];++i<a;){var O=t[i];O&&(x[h++]=O)}return x}function Qc(){var t=arguments.length;if(!t)return[];for(var i=q(t-1),a=arguments[0],h=t;h--;)i[h-1]=arguments[h];return Ae(ze(a)?An(a):[a],sn(i,1))}var Xc=tt(function(t,i){return Bt(t)?Oo(t,sn(i,1,Bt,!0)):[]}),Yc=tt(function(t,i){var a=Kn(i);return Bt(a)&&(a=c),Bt(t)?Oo(t,sn(i,1,Bt,!0),je(a,2)):[]}),Jc=tt(function(t,i){var a=Kn(i);return Bt(a)&&(a=c),Bt(t)?Oo(t,sn(i,1,Bt,!0),c,a):[]});function Zc(t,i,a){var h=t==null?0:t.length;return h?(i=a||i===c?1:Xe(i),Wn(t,i<0?0:i,h)):[]}function eh(t,i,a){var h=t==null?0:t.length;return h?(i=a||i===c?1:Xe(i),i=h-i,Wn(t,0,i<0?0:i)):[]}function th(t,i){return t&&t.length?ss(t,je(i,3),!0,!0):[]}function nh(t,i){return t&&t.length?ss(t,je(i,3),!0):[]}function ih(t,i,a,h){var x=t==null?0:t.length;return x?(a&&typeof a!="number"&&wn(t,i,a)&&(a=0,h=x),Ql(t,i,a,h)):[]}function Bu(t,i,a){var h=t==null?0:t.length;if(!h)return-1;var x=a==null?0:Xe(a);return x<0&&(x=zt(h+x,0)),Oe(t,je(i,3),x)}function Fu(t,i,a){var h=t==null?0:t.length;if(!h)return-1;var x=h-1;return a!==c&&(x=Xe(a),x=a<0?zt(h+x,0):ln(x,h-1)),Oe(t,je(i,3),x,!0)}function $u(t){var i=t==null?0:t.length;return i?sn(t,1):[]}function rh(t){var i=t==null?0:t.length;return i?sn(t,m):[]}function oh(t,i){var a=t==null?0:t.length;return a?(i=i===c?1:Xe(i),sn(t,i)):[]}function sh(t){for(var i=-1,a=t==null?0:t.length,h={};++i<a;){var x=t[i];h[x[0]]=x[1]}return h}function ju(t){return t&&t.length?t[0]:c}function ah(t,i,a){var h=t==null?0:t.length;if(!h)return-1;var x=a==null?0:Xe(a);return x<0&&(x=zt(h+x,0)),$e(t,i,x)}function uh(t){var i=t==null?0:t.length;return i?Wn(t,0,-1):[]}var fh=tt(function(t){var i=se(t,Gs);return i.length&&i[0]===t[0]?Ps(i):[]}),lh=tt(function(t){var i=Kn(t),a=se(t,Gs);return i===Kn(a)?i=c:a.pop(),a.length&&a[0]===t[0]?Ps(a,je(i,2)):[]}),ch=tt(function(t){var i=Kn(t),a=se(t,Gs);return i=typeof i=="function"?i:c,i&&a.pop(),a.length&&a[0]===t[0]?Ps(a,c,i):[]});function hh(t,i){return t==null?"":ul.call(t,i)}function Kn(t){var i=t==null?0:t.length;return i?t[i-1]:c}function dh(t,i,a){var h=t==null?0:t.length;if(!h)return-1;var x=h;return a!==c&&(x=Xe(a),x=x<0?zt(h+x,0):ln(x,h-1)),i===i?Zn(t,i,x):Oe(t,li,x,!0)}function ph(t,i){return t&&t.length?Za(t,Xe(i)):c}var gh=tt(Uu);function Uu(t,i){return t&&t.length&&i&&i.length?Fs(t,i):t}function vh(t,i,a){return t&&t.length&&i&&i.length?Fs(t,i,je(a,2)):t}function mh(t,i,a){return t&&t.length&&i&&i.length?Fs(t,i,c,a):t}var yh=Ni(function(t,i){var a=t==null?0:t.length,h=Is(t,i);return nu(t,se(i,function(x){return Mi(x,a)?+x:x}).sort(hu)),h});function bh(t,i){var a=[];if(!(t&&t.length))return a;var h=-1,x=[],O=t.length;for(i=je(i,3);++h<O;){var U=t[h];i(U,h,t)&&(a.push(U),x.push(h))}return nu(t,x),a}function sa(t){return t==null?t:hl.call(t)}function wh(t,i,a){var h=t==null?0:t.length;return h?(a&&typeof a!="number"&&wn(t,i,a)?(i=0,a=h):(i=i==null?0:Xe(i),a=a===c?h:Xe(a)),Wn(t,i,a)):[]}function xh(t,i){return os(t,i)}function _h(t,i,a){return Us(t,i,je(a,2))}function Th(t,i){var a=t==null?0:t.length;if(a){var h=os(t,i);if(h<a&&ti(t[h],i))return h}return-1}function Ch(t,i){return os(t,i,!0)}function Sh(t,i,a){return Us(t,i,je(a,2),!0)}function Eh(t,i){var a=t==null?0:t.length;if(a){var h=os(t,i,!0)-1;if(ti(t[h],i))return h}return-1}function Ah(t){return t&&t.length?ru(t):[]}function kh(t,i){return t&&t.length?ru(t,je(i,2)):[]}function Lh(t){var i=t==null?0:t.length;return i?Wn(t,1,i):[]}function Dh(t,i,a){return t&&t.length?(i=a||i===c?1:Xe(i),Wn(t,0,i<0?0:i)):[]}function Oh(t,i,a){var h=t==null?0:t.length;return h?(i=a||i===c?1:Xe(i),i=h-i,Wn(t,i<0?0:i,h)):[]}function Ih(t,i){return t&&t.length?ss(t,je(i,3),!1,!0):[]}function Rh(t,i){return t&&t.length?ss(t,je(i,3)):[]}var Nh=tt(function(t){return zi(sn(t,1,Bt,!0))}),Mh=tt(function(t){var i=Kn(t);return Bt(i)&&(i=c),zi(sn(t,1,Bt,!0),je(i,2))}),Ph=tt(function(t){var i=Kn(t);return i=typeof i=="function"?i:c,zi(sn(t,1,Bt,!0),c,i)});function qh(t){return t&&t.length?zi(t):[]}function Hh(t,i){return t&&t.length?zi(t,je(i,2)):[]}function Bh(t,i){return i=typeof i=="function"?i:c,t&&t.length?zi(t,c,i):[]}function aa(t){if(!(t&&t.length))return[];var i=0;return t=j(t,function(a){if(Bt(a))return i=zt(a.length,i),!0}),Jn(i,function(a){return se(t,mn(a))})}function Wu(t,i){if(!(t&&t.length))return[];var a=aa(t);return i==null?a:se(a,function(h){return l(i,c,h)})}var Fh=tt(function(t,i){return Bt(t)?Oo(t,i):[]}),$h=tt(function(t){return Ks(j(t,Bt))}),jh=tt(function(t){var i=Kn(t);return Bt(i)&&(i=c),Ks(j(t,Bt),je(i,2))}),Uh=tt(function(t){var i=Kn(t);return i=typeof i=="function"?i:c,Ks(j(t,Bt),c,i)}),Wh=tt(aa);function Kh(t,i){return uu(t||[],i||[],Do)}function Gh(t,i){return uu(t||[],i||[],No)}var Vh=tt(function(t){var i=t.length,a=i>1?t[i-1]:c;return a=typeof a=="function"?(t.pop(),a):c,Wu(t,a)});function Ku(t){var i=L(t);return i.__chain__=!0,i}function zh(t,i){return i(t),t}function gs(t,i){return i(t)}var Qh=Ni(function(t){var i=t.length,a=i?t[0]:0,h=this.__wrapped__,x=function(O){return Is(O,t)};return i>1||this.__actions__.length||!(h instanceof at)||!Mi(a)?this.thru(x):(h=h.slice(a,+a+(i?1:0)),h.__actions__.push({func:gs,args:[x],thisArg:c}),new jn(h,this.__chain__).thru(function(O){return i&&!O.length&&O.push(c),O}))});function Xh(){return Ku(this)}function Yh(){return new jn(this.value(),this.__chain__)}function Jh(){this.__values__===c&&(this.__values__=sf(this.value()));var t=this.__index__>=this.__values__.length,i=t?c:this.__values__[this.__index__++];return{done:t,value:i}}function Zh(){return this}function ed(t){for(var i,a=this;a instanceof es;){var h=Hu(a);h.__index__=0,h.__values__=c,i?x.__wrapped__=h:i=h;var x=h;a=a.__wrapped__}return x.__wrapped__=t,i}function td(){var t=this.__wrapped__;if(t instanceof at){var i=t;return this.__actions__.length&&(i=new at(this)),i=i.reverse(),i.__actions__.push({func:gs,args:[sa],thisArg:c}),new jn(i,this.__chain__)}return this.thru(sa)}function nd(){return au(this.__wrapped__,this.__actions__)}var id=as(function(t,i,a){Me.call(t,a)?++t[a]:Ii(t,a,1)});function rd(t,i,a){var h=ze(t)?B:zl;return a&&wn(t,i,a)&&(i=c),h(t,je(i,3))}function od(t,i){var a=ze(t)?j:Wa;return a(t,je(i,3))}var sd=yu(Bu),ad=yu(Fu);function ud(t,i){return sn(vs(t,i),1)}function fd(t,i){return sn(vs(t,i),m)}function ld(t,i,a){return a=a===c?1:Xe(a),sn(vs(t,i),a)}function Gu(t,i){var a=ze(t)?p:Vi;return a(t,je(i,3))}function Vu(t,i){var a=ze(t)?E:Ua;return a(t,je(i,3))}var cd=as(function(t,i,a){Me.call(t,a)?t[a].push(i):Ii(t,a,[i])});function hd(t,i,a,h){t=kn(t)?t:Yr(t),a=a&&!h?Xe(a):0;var x=t.length;return a<0&&(a=zt(x+a,0)),xs(t)?a<=x&&t.indexOf(i,a)>-1:!!x&&$e(t,i,a)>-1}var dd=tt(function(t,i,a){var h=-1,x=typeof i=="function",O=kn(t)?q(t.length):[];return Vi(t,function(U){O[++h]=x?l(i,U,a):Io(U,i,a)}),O}),pd=as(function(t,i,a){Ii(t,a,i)});function vs(t,i){var a=ze(t)?se:Xa;return a(t,je(i,3))}function gd(t,i,a,h){return t==null?[]:(ze(i)||(i=i==null?[]:[i]),a=h?c:a,ze(a)||(a=a==null?[]:[a]),eu(t,i,a))}var vd=as(function(t,i,a){t[a?0:1].push(i)},function(){return[[],[]]});function md(t,i,a){var h=ze(t)?Te:Ut,x=arguments.length<3;return h(t,je(i,4),a,x,Vi)}function yd(t,i,a){var h=ze(t)?ot:Ut,x=arguments.length<3;return h(t,je(i,4),a,x,Ua)}function bd(t,i){var a=ze(t)?j:Wa;return a(t,bs(je(i,3)))}function wd(t){var i=ze(t)?Ba:hc;return i(t)}function xd(t,i,a){(a?wn(t,i,a):i===c)?i=1:i=Xe(i);var h=ze(t)?Ul:dc;return h(t,i)}function _d(t){var i=ze(t)?Wl:gc;return i(t)}function Td(t){if(t==null)return 0;if(kn(t))return xs(t)?En(t):t.length;var i=cn(t);return i==Be||i==tn?t.size:Hs(t).length}function Cd(t,i,a){var h=ze(t)?Ve:vc;return a&&wn(t,i,a)&&(i=c),h(t,je(i,3))}var Sd=tt(function(t,i){if(t==null)return[];var a=i.length;return a>1&&wn(t,i[0],i[1])?i=[]:a>2&&wn(i[0],i[1],i[2])&&(i=[i[0]]),eu(t,sn(i,1),[])}),ms=ol||function(){return xt.Date.now()};function Ed(t,i){if(typeof i!="function")throw new Re(he);return t=Xe(t),function(){if(--t<1)return i.apply(this,arguments)}}function zu(t,i,a){return i=a?c:i,i=t&&i==null?t.length:i,Ri(t,o,c,c,c,c,i)}function Qu(t,i){var a;if(typeof i!="function")throw new Re(he);return t=Xe(t),function(){return--t>0&&(a=i.apply(this,arguments)),t<=1&&(i=c),a}}var ua=tt(function(t,i,a){var h=k;if(a.length){var x=Jt(a,Qr(ua));h|=H}return Ri(t,h,i,a,x)}),Xu=tt(function(t,i,a){var h=k|b;if(a.length){var x=Jt(a,Qr(Xu));h|=H}return Ri(i,h,t,a,x)});function Yu(t,i,a){i=a?c:i;var h=Ri(t,g,c,c,c,c,c,i);return h.placeholder=Yu.placeholder,h}function Ju(t,i,a){i=a?c:i;var h=Ri(t,S,c,c,c,c,c,i);return h.placeholder=Ju.placeholder,h}function Zu(t,i,a){var h,x,O,U,G,X,ue=0,le=!1,ve=!1,Le=!0;if(typeof t!="function")throw new Re(he);i=Gn(i)||0,Nt(a)&&(le=!!a.leading,ve="maxWait"in a,O=ve?zt(Gn(a.maxWait)||0,i):O,Le="trailing"in a?!!a.trailing:Le);function Pe(Ft){var ni=h,Hi=x;return h=x=c,ue=Ft,U=t.apply(Hi,ni),U}function Ue(Ft){return ue=Ft,G=qo(st,i),le?Pe(Ft):U}function Je(Ft){var ni=Ft-X,Hi=Ft-ue,bf=i-ni;return ve?ln(bf,O-Hi):bf}function We(Ft){var ni=Ft-X,Hi=Ft-ue;return X===c||ni>=i||ni<0||ve&&Hi>=O}function st(){var Ft=ms();if(We(Ft))return lt(Ft);G=qo(st,Je(Ft))}function lt(Ft){return G=c,Le&&h?Pe(Ft):(h=x=c,U)}function Hn(){G!==c&&fu(G),ue=0,h=X=x=G=c}function xn(){return G===c?U:lt(ms())}function Bn(){var Ft=ms(),ni=We(Ft);if(h=arguments,x=this,X=Ft,ni){if(G===c)return Ue(X);if(ve)return fu(G),G=qo(st,i),Pe(X)}return G===c&&(G=qo(st,i)),U}return Bn.cancel=Hn,Bn.flush=xn,Bn}var Ad=tt(function(t,i){return ja(t,1,i)}),kd=tt(function(t,i,a){return ja(t,Gn(i)||0,a)});function Ld(t){return Ri(t,J)}function ys(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new Re(he);var a=function(){var h=arguments,x=i?i.apply(this,h):h[0],O=a.cache;if(O.has(x))return O.get(x);var U=t.apply(this,h);return a.cache=O.set(x,U)||O,U};return a.cache=new(ys.Cache||Oi),a}ys.Cache=Oi;function bs(t){if(typeof t!="function")throw new Re(he);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function Dd(t){return Qu(2,t)}var Od=mc(function(t,i){i=i.length==1&&ze(i[0])?se(i[0],on(je())):se(sn(i,1),on(je()));var a=i.length;return tt(function(h){for(var x=-1,O=ln(h.length,a);++x<O;)h[x]=i[x].call(this,h[x]);return l(t,this,h)})}),fa=tt(function(t,i){var a=Jt(i,Qr(fa));return Ri(t,H,c,i,a)}),ef=tt(function(t,i){var a=Jt(i,Qr(ef));return Ri(t,K,c,i,a)}),Id=Ni(function(t,i){return Ri(t,Y,c,c,c,i)});function Rd(t,i){if(typeof t!="function")throw new Re(he);return i=i===c?i:Xe(i),tt(t,i)}function Nd(t,i){if(typeof t!="function")throw new Re(he);return i=i==null?0:zt(Xe(i),0),tt(function(a){var h=a[i],x=Xi(a,0,i);return h&&Ae(x,h),l(t,this,x)})}function Md(t,i,a){var h=!0,x=!0;if(typeof t!="function")throw new Re(he);return Nt(a)&&(h="leading"in a?!!a.leading:h,x="trailing"in a?!!a.trailing:x),Zu(t,i,{leading:h,maxWait:i,trailing:x})}function Pd(t){return zu(t,1)}function qd(t,i){return fa(Vs(i),t)}function Hd(){if(!arguments.length)return[];var t=arguments[0];return ze(t)?t:[t]}function Bd(t){return Un(t,D)}function Fd(t,i){return i=typeof i=="function"?i:c,Un(t,D,i)}function $d(t){return Un(t,xe|D)}function jd(t,i){return i=typeof i=="function"?i:c,Un(t,xe|D,i)}function Ud(t,i){return i==null||$a(t,i,en(i))}function ti(t,i){return t===i||t!==t&&i!==i}var Wd=cs(Ms),Kd=cs(function(t,i){return t>=i}),Nr=Va((function(){return arguments})())?Va:function(t){return qt(t)&&Me.call(t,"callee")&&!Ra.call(t,"callee")},ze=q.isArray,Gd=e?on(e):ec;function kn(t){return t!=null&&ws(t.length)&&!Pi(t)}function Bt(t){return qt(t)&&kn(t)}function Vd(t){return t===!0||t===!1||qt(t)&&bn(t)==Ke}var Yi=al||wa,zd=n?on(n):tc;function Qd(t){return qt(t)&&t.nodeType===1&&!Ho(t)}function Xd(t){if(t==null)return!0;if(kn(t)&&(ze(t)||typeof t=="string"||typeof t.splice=="function"||Yi(t)||Xr(t)||Nr(t)))return!t.length;var i=cn(t);if(i==Be||i==tn)return!t.size;if(Po(t))return!Hs(t).length;for(var a in t)if(Me.call(t,a))return!1;return!0}function Yd(t,i){return Ro(t,i)}function Jd(t,i,a){a=typeof a=="function"?a:c;var h=a?a(t,i):c;return h===c?Ro(t,i,c,a):!!h}function la(t){if(!qt(t))return!1;var i=bn(t);return i==He||i==Fe||typeof t.message=="string"&&typeof t.name=="string"&&!Ho(t)}function Zd(t){return typeof t=="number"&&Ma(t)}function Pi(t){if(!Nt(t))return!1;var i=bn(t);return i==Ze||i==Qe||i==De||i==ii}function tf(t){return typeof t=="number"&&t==Xe(t)}function ws(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=N}function Nt(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function qt(t){return t!=null&&typeof t=="object"}var nf=r?on(r):ic;function ep(t,i){return t===i||qs(t,i,ea(i))}function tp(t,i,a){return a=typeof a=="function"?a:c,qs(t,i,ea(i),a)}function np(t){return rf(t)&&t!=+t}function ip(t){if(Fc(t))throw new Q(ee);return za(t)}function rp(t){return t===null}function op(t){return t==null}function rf(t){return typeof t=="number"||qt(t)&&bn(t)==et}function Ho(t){if(!qt(t)||bn(t)!=rt)return!1;var i=Vo(t);if(i===null)return!0;var a=Me.call(i,"constructor")&&i.constructor;return typeof a=="function"&&a instanceof a&&Zt.call(a)==tl}var ca=s?on(s):rc;function sp(t){return tf(t)&&t>=-N&&t<=N}var of=u?on(u):oc;function xs(t){return typeof t=="string"||!ze(t)&&qt(t)&&bn(t)==bt}function qn(t){return typeof t=="symbol"||qt(t)&&bn(t)==$t}var Xr=f?on(f):sc;function ap(t){return t===c}function up(t){return qt(t)&&cn(t)==ie}function fp(t){return qt(t)&&bn(t)==ut}var lp=cs(Bs),cp=cs(function(t,i){return t<=i});function sf(t){if(!t)return[];if(kn(t))return xs(t)?Vt(t):An(t);if(So&&t[So])return Gt(t[So]());var i=cn(t),a=i==Be?Ai:i==tn?Sn:Yr;return a(t)}function qi(t){if(!t)return t===0?t:0;if(t=Gn(t),t===m||t===-m){var i=t<0?-1:1;return i*F}return t===t?t:0}function Xe(t){var i=qi(t),a=i%1;return i===i?a?i-a:i:0}function af(t){return t?Dr(Xe(t),0,re):0}function Gn(t){if(typeof t=="number")return t;if(qn(t))return ne;if(Nt(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=Nt(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=Mt(t);var a=ur.test(t);return a||yi.test(t)?wo(t.slice(2),a?2:8):pn.test(t)?ne:+t}function uf(t){return hi(t,Ln(t))}function hp(t){return t?Dr(Xe(t),-N,N):t===0?t:0}function wt(t){return t==null?"":Pn(t)}var dp=Vr(function(t,i){if(Po(i)||kn(i)){hi(i,en(i),t);return}for(var a in i)Me.call(i,a)&&Do(t,a,i[a])}),ff=Vr(function(t,i){hi(i,Ln(i),t)}),_s=Vr(function(t,i,a,h){hi(i,Ln(i),t,h)}),pp=Vr(function(t,i,a,h){hi(i,en(i),t,h)}),gp=Ni(Is);function vp(t,i){var a=Gr(t);return i==null?a:Fa(a,i)}var mp=tt(function(t,i){t=oe(t);var a=-1,h=i.length,x=h>2?i[2]:c;for(x&&wn(i[0],i[1],x)&&(h=1);++a<h;)for(var O=i[a],U=Ln(O),G=-1,X=U.length;++G<X;){var ue=U[G],le=t[ue];(le===c||ti(le,gt[ue])&&!Me.call(t,ue))&&(t[ue]=O[ue])}return t}),yp=tt(function(t){return t.push(c,Su),l(lf,c,t)});function bp(t,i){return Yt(t,je(i,3),ci)}function wp(t,i){return Yt(t,je(i,3),Ns)}function xp(t,i){return t==null?t:Rs(t,je(i,3),Ln)}function _p(t,i){return t==null?t:Ka(t,je(i,3),Ln)}function Tp(t,i){return t&&ci(t,je(i,3))}function Cp(t,i){return t&&Ns(t,je(i,3))}function Sp(t){return t==null?[]:is(t,en(t))}function Ep(t){return t==null?[]:is(t,Ln(t))}function ha(t,i,a){var h=t==null?c:Or(t,i);return h===c?a:h}function Ap(t,i){return t!=null&&ku(t,i,Xl)}function da(t,i){return t!=null&&ku(t,i,Yl)}var kp=wu(function(t,i,a){i!=null&&typeof i.toString!="function"&&(i=Wo.call(i)),t[i]=a},ga(Dn)),Lp=wu(function(t,i,a){i!=null&&typeof i.toString!="function"&&(i=Wo.call(i)),Me.call(t,i)?t[i].push(a):t[i]=[a]},je),Dp=tt(Io);function en(t){return kn(t)?Ha(t):Hs(t)}function Ln(t){return kn(t)?Ha(t,!0):ac(t)}function Op(t,i){var a={};return i=je(i,3),ci(t,function(h,x,O){Ii(a,i(h,x,O),h)}),a}function Ip(t,i){var a={};return i=je(i,3),ci(t,function(h,x,O){Ii(a,x,i(h,x,O))}),a}var Rp=Vr(function(t,i,a){rs(t,i,a)}),lf=Vr(function(t,i,a,h){rs(t,i,a,h)}),Np=Ni(function(t,i){var a={};if(t==null)return a;var h=!1;i=se(i,function(O){return O=Qi(O,t),h||(h=O.length>1),O}),hi(t,Js(t),a),h&&(a=Un(a,xe|_e|D,kc));for(var x=i.length;x--;)Ws(a,i[x]);return a});function Mp(t,i){return cf(t,bs(je(i)))}var Pp=Ni(function(t,i){return t==null?{}:fc(t,i)});function cf(t,i){if(t==null)return{};var a=se(Js(t),function(h){return[h]});return i=je(i),tu(t,a,function(h,x){return i(h,x[0])})}function qp(t,i,a){i=Qi(i,t);var h=-1,x=i.length;for(x||(x=1,t=c);++h<x;){var O=t==null?c:t[di(i[h])];O===c&&(h=x,O=a),t=Pi(O)?O.call(t):O}return t}function Hp(t,i,a){return t==null?t:No(t,i,a)}function Bp(t,i,a,h){return h=typeof h=="function"?h:c,t==null?t:No(t,i,a,h)}var hf=Tu(en),df=Tu(Ln);function Fp(t,i,a){var h=ze(t),x=h||Yi(t)||Xr(t);if(i=je(i,4),a==null){var O=t&&t.constructor;x?a=h?new O:[]:Nt(t)?a=Pi(O)?Gr(Vo(t)):{}:a={}}return(x?p:ci)(t,function(U,G,X){return i(a,U,G,X)}),a}function $p(t,i){return t==null?!0:Ws(t,i)}function jp(t,i,a){return t==null?t:su(t,i,Vs(a))}function Up(t,i,a,h){return h=typeof h=="function"?h:c,t==null?t:su(t,i,Vs(a),h)}function Yr(t){return t==null?[]:Cr(t,en(t))}function Wp(t){return t==null?[]:Cr(t,Ln(t))}function Kp(t,i,a){return a===c&&(a=i,i=c),a!==c&&(a=Gn(a),a=a===a?a:0),i!==c&&(i=Gn(i),i=i===i?i:0),Dr(Gn(t),i,a)}function Gp(t,i,a){return i=qi(i),a===c?(a=i,i=0):a=qi(a),t=Gn(t),Jl(t,i,a)}function Vp(t,i,a){if(a&&typeof a!="boolean"&&wn(t,i,a)&&(i=a=c),a===c&&(typeof i=="boolean"?(a=i,i=c):typeof t=="boolean"&&(a=t,t=c)),t===c&&i===c?(t=0,i=1):(t=qi(t),i===c?(i=t,t=0):i=qi(i)),t>i){var h=t;t=i,i=h}if(a||t%1||i%1){var x=Pa();return ln(t+x*(i-t+Ti("1e-"+((x+"").length-1))),i)}return $s(t,i)}var zp=zr(function(t,i,a){return i=i.toLowerCase(),t+(a?pf(i):i)});function pf(t){return pa(wt(t).toLowerCase())}function gf(t){return t=wt(t),t&&t.replace(fr,yn).replace(po,"")}function Qp(t,i,a){t=wt(t),i=Pn(i);var h=t.length;a=a===c?h:Dr(Xe(a),0,h);var x=a;return a-=i.length,a>=0&&t.slice(a,x)==i}function Xp(t){return t=wt(t),t&&ir.test(t)?t.replace(_n,_o):t}function Yp(t){return t=wt(t),t&&dn.test(t)?t.replace(rn,"\\$&"):t}var Jp=zr(function(t,i,a){return t+(a?"-":"")+i.toLowerCase()}),Zp=zr(function(t,i,a){return t+(a?" ":"")+i.toLowerCase()}),eg=mu("toLowerCase");function tg(t,i,a){t=wt(t),i=Xe(i);var h=i?En(t):0;if(!i||h>=i)return t;var x=(i-h)/2;return ls(Yo(x),a)+t+ls(Xo(x),a)}function ng(t,i,a){t=wt(t),i=Xe(i);var h=i?En(t):0;return i&&h<i?t+ls(i-h,a):t}function ig(t,i,a){t=wt(t),i=Xe(i);var h=i?En(t):0;return i&&h<i?ls(i-h,a)+t:t}function rg(t,i,a){return a||i==null?i=0:i&&(i=+i),cl(wt(t).replace(zn,""),i||0)}function og(t,i,a){return(a?wn(t,i,a):i===c)?i=1:i=Xe(i),js(wt(t),i)}function sg(){var t=arguments,i=wt(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var ag=zr(function(t,i,a){return t+(a?"_":"")+i.toLowerCase()});function ug(t,i,a){return a&&typeof a!="number"&&wn(t,i,a)&&(i=a=c),a=a===c?re:a>>>0,a?(t=wt(t),t&&(typeof i=="string"||i!=null&&!ca(i))&&(i=Pn(i),!i&&Pt(t))?Xi(Vt(t),0,a):t.split(i,a)):[]}var fg=zr(function(t,i,a){return t+(a?" ":"")+pa(i)});function lg(t,i,a){return t=wt(t),a=a==null?0:Dr(Xe(a),0,t.length),i=Pn(i),t.slice(a,a+i.length)==i}function cg(t,i,a){var h=L.templateSettings;a&&wn(t,i,a)&&(i=c),t=wt(t),i=_s({},i,h,Cu);var x=_s({},i.imports,h.imports,Cu),O=en(x),U=Cr(x,O),G,X,ue=0,le=i.interpolate||Bi,ve="__p += '",Le=Se((i.escape||Bi).source+"|"+le.source+"|"+(le===oi?ar:Bi).source+"|"+(i.evaluate||Bi).source+"|$","g"),Pe="//# sourceURL="+(Me.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++bo+"]")+`
11
- `;t.replace(Le,function(We,st,lt,Hn,xn,Bn){return lt||(lt=Hn),ve+=t.slice(ue,Bn).replace(Rn,To),st&&(G=!0,ve+=`' +
12
- __e(`+st+`) +
13
- '`),xn&&(X=!0,ve+=`';
14
- `+xn+`;
15
- __p += '`),lt&&(ve+=`' +
16
- ((__t = (`+lt+`)) == null ? '' : __t) +
17
- '`),ue=Bn+We.length,We}),ve+=`';
18
- `;var Ue=Me.call(i,"variable")&&i.variable;if(!Ue)ve=`with (obj) {
19
- `+ve+`
20
- }
21
- `;else if(so.test(Ue))throw new Q(Ee);ve=(X?ve.replace(er,""):ve).replace(tr,"$1").replace(to,"$1;"),ve="function("+(Ue||"obj")+`) {
22
- `+(Ue?"":`obj || (obj = {});
23
- `)+"var __t, __p = ''"+(G?", __e = _.escape":"")+(X?`, __j = Array.prototype.join;
24
- function print() { __p += __j.call(arguments, '') }
25
- `:`;
26
- `)+ve+`return __p
27
- }`;var Je=mf(function(){return de(O,Pe+"return "+ve).apply(c,U)});if(Je.source=ve,la(Je))throw Je;return Je}function hg(t){return wt(t).toLowerCase()}function dg(t){return wt(t).toUpperCase()}function pg(t,i,a){if(t=wt(t),t&&(a||i===c))return Mt(t);if(!t||!(i=Pn(i)))return t;var h=Vt(t),x=Vt(i),O=Ne(h,x),U=$n(h,x)+1;return Xi(h,O,U).join("")}function gg(t,i,a){if(t=wt(t),t&&(a||i===c))return t.slice(0,Ur(t)+1);if(!t||!(i=Pn(i)))return t;var h=Vt(t),x=$n(h,Vt(i))+1;return Xi(h,0,x).join("")}function vg(t,i,a){if(t=wt(t),t&&(a||i===c))return t.replace(zn,"");if(!t||!(i=Pn(i)))return t;var h=Vt(t),x=Ne(h,Vt(i));return Xi(h,x).join("")}function mg(t,i){var a=fe,h=Ie;if(Nt(i)){var x="separator"in i?i.separator:x;a="length"in i?Xe(i.length):a,h="omission"in i?Pn(i.omission):h}t=wt(t);var O=t.length;if(Pt(t)){var U=Vt(t);O=U.length}if(a>=O)return t;var G=a-En(h);if(G<1)return h;var X=U?Xi(U,0,G).join(""):t.slice(0,G);if(x===c)return X+h;if(U&&(G+=X.length-G),ca(x)){if(t.slice(G).search(x)){var ue,le=X;for(x.global||(x=Se(x.source,wt(Mr.exec(x))+"g")),x.lastIndex=0;ue=x.exec(le);)var ve=ue.index;X=X.slice(0,ve===c?G:ve)}}else if(t.indexOf(Pn(x),G)!=G){var Le=X.lastIndexOf(x);Le>-1&&(X=X.slice(0,Le))}return X+h}function yg(t){return t=wt(t),t&&nr.test(t)?t.replace(an,Li):t}var bg=zr(function(t,i,a){return t+(a?" ":"")+i.toUpperCase()}),pa=mu("toUpperCase");function vf(t,i,a){return t=wt(t),i=a?c:i,i===c?Ei(t)?_(t):ke(t):t.match(i)||[]}var mf=tt(function(t,i){try{return l(t,c,i)}catch(a){return la(a)?a:new Q(a)}}),wg=Ni(function(t,i){return p(i,function(a){a=di(a),Ii(t,a,ua(t[a],t))}),t});function xg(t){var i=t==null?0:t.length,a=je();return t=i?se(t,function(h){if(typeof h[1]!="function")throw new Re(he);return[a(h[0]),h[1]]}):[],tt(function(h){for(var x=-1;++x<i;){var O=t[x];if(l(O[0],this,h))return l(O[1],this,h)}})}function _g(t){return Vl(Un(t,xe))}function ga(t){return function(){return t}}function Tg(t,i){return t==null||t!==t?i:t}var Cg=bu(),Sg=bu(!0);function Dn(t){return t}function va(t){return Qa(typeof t=="function"?t:Un(t,xe))}function Eg(t){return Ya(Un(t,xe))}function Ag(t,i){return Ja(t,Un(i,xe))}var kg=tt(function(t,i){return function(a){return Io(a,t,i)}}),Lg=tt(function(t,i){return function(a){return Io(t,a,i)}});function ma(t,i,a){var h=en(i),x=is(i,h);a==null&&!(Nt(i)&&(x.length||!h.length))&&(a=i,i=t,t=this,x=is(i,en(i)));var O=!(Nt(a)&&"chain"in a)||!!a.chain,U=Pi(t);return p(x,function(G){var X=i[G];t[G]=X,U&&(t.prototype[G]=function(){var ue=this.__chain__;if(O||ue){var le=t(this.__wrapped__),ve=le.__actions__=An(this.__actions__);return ve.push({func:X,args:arguments,thisArg:t}),le.__chain__=ue,le}return X.apply(t,Ae([this.value()],arguments))})}),t}function Dg(){return xt._===this&&(xt._=nl),this}function ya(){}function Og(t){return t=Xe(t),tt(function(i){return Za(i,t)})}var Ig=Qs(se),Rg=Qs(B),Ng=Qs(Ve);function yf(t){return na(t)?mn(di(t)):lc(t)}function Mg(t){return function(i){return t==null?c:Or(t,i)}}var Pg=xu(),qg=xu(!0);function ba(){return[]}function wa(){return!1}function Hg(){return{}}function Bg(){return""}function Fg(){return!0}function $g(t,i){if(t=Xe(t),t<1||t>N)return[];var a=re,h=ln(t,re);i=je(i),t-=re;for(var x=Jn(h,i);++a<t;)i(a);return x}function jg(t){return ze(t)?se(t,di):qn(t)?[t]:An(qu(wt(t)))}function Ug(t){var i=++el;return wt(t)+i}var Wg=fs(function(t,i){return t+i},0),Kg=Xs("ceil"),Gg=fs(function(t,i){return t/i},1),Vg=Xs("floor");function zg(t){return t&&t.length?ns(t,Dn,Ms):c}function Qg(t,i){return t&&t.length?ns(t,je(i,2),Ms):c}function Xg(t){return Dt(t,Dn)}function Yg(t,i){return Dt(t,je(i,2))}function Jg(t){return t&&t.length?ns(t,Dn,Bs):c}function Zg(t,i){return t&&t.length?ns(t,je(i,2),Bs):c}var ev=fs(function(t,i){return t*i},1),tv=Xs("round"),nv=fs(function(t,i){return t-i},0);function iv(t){return t&&t.length?_t(t,Dn):0}function rv(t,i){return t&&t.length?_t(t,je(i,2)):0}return L.after=Ed,L.ary=zu,L.assign=dp,L.assignIn=ff,L.assignInWith=_s,L.assignWith=pp,L.at=gp,L.before=Qu,L.bind=ua,L.bindAll=wg,L.bindKey=Xu,L.castArray=Hd,L.chain=Ku,L.chunk=Vc,L.compact=zc,L.concat=Qc,L.cond=xg,L.conforms=_g,L.constant=ga,L.countBy=id,L.create=vp,L.curry=Yu,L.curryRight=Ju,L.debounce=Zu,L.defaults=mp,L.defaultsDeep=yp,L.defer=Ad,L.delay=kd,L.difference=Xc,L.differenceBy=Yc,L.differenceWith=Jc,L.drop=Zc,L.dropRight=eh,L.dropRightWhile=th,L.dropWhile=nh,L.fill=ih,L.filter=od,L.flatMap=ud,L.flatMapDeep=fd,L.flatMapDepth=ld,L.flatten=$u,L.flattenDeep=rh,L.flattenDepth=oh,L.flip=Ld,L.flow=Cg,L.flowRight=Sg,L.fromPairs=sh,L.functions=Sp,L.functionsIn=Ep,L.groupBy=cd,L.initial=uh,L.intersection=fh,L.intersectionBy=lh,L.intersectionWith=ch,L.invert=kp,L.invertBy=Lp,L.invokeMap=dd,L.iteratee=va,L.keyBy=pd,L.keys=en,L.keysIn=Ln,L.map=vs,L.mapKeys=Op,L.mapValues=Ip,L.matches=Eg,L.matchesProperty=Ag,L.memoize=ys,L.merge=Rp,L.mergeWith=lf,L.method=kg,L.methodOf=Lg,L.mixin=ma,L.negate=bs,L.nthArg=Og,L.omit=Np,L.omitBy=Mp,L.once=Dd,L.orderBy=gd,L.over=Ig,L.overArgs=Od,L.overEvery=Rg,L.overSome=Ng,L.partial=fa,L.partialRight=ef,L.partition=vd,L.pick=Pp,L.pickBy=cf,L.property=yf,L.propertyOf=Mg,L.pull=gh,L.pullAll=Uu,L.pullAllBy=vh,L.pullAllWith=mh,L.pullAt=yh,L.range=Pg,L.rangeRight=qg,L.rearg=Id,L.reject=bd,L.remove=bh,L.rest=Rd,L.reverse=sa,L.sampleSize=xd,L.set=Hp,L.setWith=Bp,L.shuffle=_d,L.slice=wh,L.sortBy=Sd,L.sortedUniq=Ah,L.sortedUniqBy=kh,L.split=ug,L.spread=Nd,L.tail=Lh,L.take=Dh,L.takeRight=Oh,L.takeRightWhile=Ih,L.takeWhile=Rh,L.tap=zh,L.throttle=Md,L.thru=gs,L.toArray=sf,L.toPairs=hf,L.toPairsIn=df,L.toPath=jg,L.toPlainObject=uf,L.transform=Fp,L.unary=Pd,L.union=Nh,L.unionBy=Mh,L.unionWith=Ph,L.uniq=qh,L.uniqBy=Hh,L.uniqWith=Bh,L.unset=$p,L.unzip=aa,L.unzipWith=Wu,L.update=jp,L.updateWith=Up,L.values=Yr,L.valuesIn=Wp,L.without=Fh,L.words=vf,L.wrap=qd,L.xor=$h,L.xorBy=jh,L.xorWith=Uh,L.zip=Wh,L.zipObject=Kh,L.zipObjectDeep=Gh,L.zipWith=Vh,L.entries=hf,L.entriesIn=df,L.extend=ff,L.extendWith=_s,ma(L,L),L.add=Wg,L.attempt=mf,L.camelCase=zp,L.capitalize=pf,L.ceil=Kg,L.clamp=Kp,L.clone=Bd,L.cloneDeep=$d,L.cloneDeepWith=jd,L.cloneWith=Fd,L.conformsTo=Ud,L.deburr=gf,L.defaultTo=Tg,L.divide=Gg,L.endsWith=Qp,L.eq=ti,L.escape=Xp,L.escapeRegExp=Yp,L.every=rd,L.find=sd,L.findIndex=Bu,L.findKey=bp,L.findLast=ad,L.findLastIndex=Fu,L.findLastKey=wp,L.floor=Vg,L.forEach=Gu,L.forEachRight=Vu,L.forIn=xp,L.forInRight=_p,L.forOwn=Tp,L.forOwnRight=Cp,L.get=ha,L.gt=Wd,L.gte=Kd,L.has=Ap,L.hasIn=da,L.head=ju,L.identity=Dn,L.includes=hd,L.indexOf=ah,L.inRange=Gp,L.invoke=Dp,L.isArguments=Nr,L.isArray=ze,L.isArrayBuffer=Gd,L.isArrayLike=kn,L.isArrayLikeObject=Bt,L.isBoolean=Vd,L.isBuffer=Yi,L.isDate=zd,L.isElement=Qd,L.isEmpty=Xd,L.isEqual=Yd,L.isEqualWith=Jd,L.isError=la,L.isFinite=Zd,L.isFunction=Pi,L.isInteger=tf,L.isLength=ws,L.isMap=nf,L.isMatch=ep,L.isMatchWith=tp,L.isNaN=np,L.isNative=ip,L.isNil=op,L.isNull=rp,L.isNumber=rf,L.isObject=Nt,L.isObjectLike=qt,L.isPlainObject=Ho,L.isRegExp=ca,L.isSafeInteger=sp,L.isSet=of,L.isString=xs,L.isSymbol=qn,L.isTypedArray=Xr,L.isUndefined=ap,L.isWeakMap=up,L.isWeakSet=fp,L.join=hh,L.kebabCase=Jp,L.last=Kn,L.lastIndexOf=dh,L.lowerCase=Zp,L.lowerFirst=eg,L.lt=lp,L.lte=cp,L.max=zg,L.maxBy=Qg,L.mean=Xg,L.meanBy=Yg,L.min=Jg,L.minBy=Zg,L.stubArray=ba,L.stubFalse=wa,L.stubObject=Hg,L.stubString=Bg,L.stubTrue=Fg,L.multiply=ev,L.nth=ph,L.noConflict=Dg,L.noop=ya,L.now=ms,L.pad=tg,L.padEnd=ng,L.padStart=ig,L.parseInt=rg,L.random=Vp,L.reduce=md,L.reduceRight=yd,L.repeat=og,L.replace=sg,L.result=qp,L.round=tv,L.runInContext=w,L.sample=wd,L.size=Td,L.snakeCase=ag,L.some=Cd,L.sortedIndex=xh,L.sortedIndexBy=_h,L.sortedIndexOf=Th,L.sortedLastIndex=Ch,L.sortedLastIndexBy=Sh,L.sortedLastIndexOf=Eh,L.startCase=fg,L.startsWith=lg,L.subtract=nv,L.sum=iv,L.sumBy=rv,L.template=cg,L.times=$g,L.toFinite=qi,L.toInteger=Xe,L.toLength=af,L.toLower=hg,L.toNumber=Gn,L.toSafeInteger=hp,L.toString=wt,L.toUpper=dg,L.trim=pg,L.trimEnd=gg,L.trimStart=vg,L.truncate=mg,L.unescape=yg,L.uniqueId=Ug,L.upperCase=bg,L.upperFirst=pa,L.each=Gu,L.eachRight=Vu,L.first=ju,ma(L,(function(){var t={};return ci(L,function(i,a){Me.call(L.prototype,a)||(t[a]=i)}),t})(),{chain:!1}),L.VERSION=W,p(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){L[t].placeholder=L}),p(["drop","take"],function(t,i){at.prototype[t]=function(a){a=a===c?1:zt(Xe(a),0);var h=this.__filtered__&&!i?new at(this):this.clone();return h.__filtered__?h.__takeCount__=ln(a,h.__takeCount__):h.__views__.push({size:ln(a,re),type:t+(h.__dir__<0?"Right":"")}),h},at.prototype[t+"Right"]=function(a){return this.reverse()[t](a).reverse()}}),p(["filter","map","takeWhile"],function(t,i){var a=i+1,h=a==Tt||a==On;at.prototype[t]=function(x){var O=this.clone();return O.__iteratees__.push({iteratee:je(x,3),type:a}),O.__filtered__=O.__filtered__||h,O}}),p(["head","last"],function(t,i){var a="take"+(i?"Right":"");at.prototype[t]=function(){return this[a](1).value()[0]}}),p(["initial","tail"],function(t,i){var a="drop"+(i?"":"Right");at.prototype[t]=function(){return this.__filtered__?new at(this):this[a](1)}}),at.prototype.compact=function(){return this.filter(Dn)},at.prototype.find=function(t){return this.filter(t).head()},at.prototype.findLast=function(t){return this.reverse().find(t)},at.prototype.invokeMap=tt(function(t,i){return typeof t=="function"?new at(this):this.map(function(a){return Io(a,t,i)})}),at.prototype.reject=function(t){return this.filter(bs(je(t)))},at.prototype.slice=function(t,i){t=Xe(t);var a=this;return a.__filtered__&&(t>0||i<0)?new at(a):(t<0?a=a.takeRight(-t):t&&(a=a.drop(t)),i!==c&&(i=Xe(i),a=i<0?a.dropRight(-i):a.take(i-t)),a)},at.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},at.prototype.toArray=function(){return this.take(re)},ci(at.prototype,function(t,i){var a=/^(?:filter|find|map|reject)|While$/.test(i),h=/^(?:head|last)$/.test(i),x=L[h?"take"+(i=="last"?"Right":""):i],O=h||/^find/.test(i);x&&(L.prototype[i]=function(){var U=this.__wrapped__,G=h?[1]:arguments,X=U instanceof at,ue=G[0],le=X||ze(U),ve=function(st){var lt=x.apply(L,Ae([st],G));return h&&Le?lt[0]:lt};le&&a&&typeof ue=="function"&&ue.length!=1&&(X=le=!1);var Le=this.__chain__,Pe=!!this.__actions__.length,Ue=O&&!Le,Je=X&&!Pe;if(!O&&le){U=Je?U:new at(this);var We=t.apply(U,G);return We.__actions__.push({func:gs,args:[ve],thisArg:c}),new jn(We,Le)}return Ue&&Je?t.apply(this,G):(We=this.thru(ve),Ue?h?We.value()[0]:We.value():We)})}),p(["pop","push","shift","sort","splice","unshift"],function(t){var i=ht[t],a=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",h=/^(?:pop|shift)$/.test(t);L.prototype[t]=function(){var x=arguments;if(h&&!this.__chain__){var O=this.value();return i.apply(ze(O)?O:[],x)}return this[a](function(U){return i.apply(ze(U)?U:[],x)})}}),ci(at.prototype,function(t,i){var a=L[i];if(a){var h=a.name+"";Me.call(Kr,h)||(Kr[h]=[]),Kr[h].push({name:i,func:a})}}),Kr[us(c,b).name]=[{name:"wrapper",func:c}],at.prototype.clone=yl,at.prototype.reverse=bl,at.prototype.value=wl,L.prototype.at=Qh,L.prototype.chain=Xh,L.prototype.commit=Yh,L.prototype.next=Jh,L.prototype.plant=ed,L.prototype.reverse=td,L.prototype.toJSON=L.prototype.valueOf=L.prototype.value=nd,L.prototype.first=L.prototype.head,So&&(L.prototype[So]=Zh),L}),M=I();vn?((vn.exports=M)._=M,Ci._=M):xt._=M}).call(sv)})(Fo,Fo.exports)),Fo.exports}var xa,Tf;function Uo(){if(Tf)return xa;Tf=1;var $=eo().forEach,C=769,c={};return Array.prototype.indexOf||(Array.prototype.indexOf=function(W,Z){for(var ee=Z||0,he=this.length;ee<he;ee++)if(this[ee]===W)return ee;return-1}),c.documentReady=function(W){this.addEvent(document,"DOMContentLoaded",W),this.addEvent(window,"load",W)},c.addEvent=function(W,Z,ee){W.addEventListener?W.addEventListener(Z,ee,!1):W.attachEvent&&W.attachEvent("on"+Z,ee)},c.removeEvent=function(W,Z,ee){W.removeEventListener?W.removeEventListener(Z,ee,!1):W.detachEvent&&W.detachEvent("on"+Z,ee)},c.target=function(W){return W.target||W.srcElement},c.triggerEvent=function(W,Z){var ee;document.createEvent?(ee=new Event(Z),W.dispatchEvent(ee)):(ee=document.createEventObject(),W.fireEvent("on"+Z,ee))},c.preventDefault=function(W){W.preventDefault?W.preventDefault():event.returnValue=!1},c.hasClass=function(W,Z){return W.className.split(/\s/).indexOf(Z)!==-1},c.addClass=function(W,Z){var ee=W.className;ee===""?W.className=Z:(ee=ee.split(" "),ee.indexOf(Z)!==-1&&this.stripClasses(ee,Z),ee.push(Z),W.className=ee.join(" "))},c.addClasses=function(W,Z){$(Z,function(ee){c.addClass(W,ee)})},c.stripClasses=function(W,Z){for(var ee=0;ee<W.length;ee++)W[ee]===Z&&(W.splice(ee,1),--ee)},c.removeClass=function(W,Z){var ee=W.className;ee!==""&&(ee=ee.split(" "),this.stripClasses(ee,Z),W.className=ee.join(" "))},c.getElementsByClass=function(W,Z,ee){if(W.getElementsByClassName)return W.getElementsByClassName(ee);var he=[];return $(W.getElementsByTagName(Z),function(Ee){c.hasClass(Ee,ee)&&he.push(Ee)}),he},c.once=function(W,Z,ee){W&&(W.started=W.started||{},W.started[Z]||(W.started[Z]=!0,ee(W)))},c.viewportWidth=function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},c.scrollY=function(){return window.scrollY||document.documentElement.scrollTop||document.body.scrollTop},c.isDesktop=function(){return c.viewportWidth()>=C},c.isJSWindow=function(){return window.opener!==null},c.getStyle=function(W,Z){var ee="";return document.defaultView&&document.defaultView.getComputedStyle?ee=document.defaultView.getComputedStyle(W,"").getPropertyValue(Z):W.currentStyle&&(Z=Z.replace(/\-(\w)/g,function(he,Ee){return Ee.toUpperCase()}),ee=W.currentStyle[Z]),ee},c.pagehide=function(W){"onpagehide"in window?c.addEvent(window,"pagehide",W):c.addEvent(window,"unload",W)},xa=c,xa}var _a,Cf;function av(){if(Cf)return _a;Cf=1;var $=eo().forEach,C=eo().groupBy,c="form-focus",W=Uo(),Z,ee="block-label",he="focused",Ee="selected";function ye(y){W.addClass(W.target(y).parentNode,he)}function we(y){W.removeClass(W.target(y).parentNode,he)}function qe(y,k){k=k||W.target(y),$(Z[k.name],function(b){b.checked?W.addClass(b.parentNode,Ee):W.removeClass(b.parentNode,Ee)})}function xe(y){if(W.hasClass(y,ee)){var k=y.getElementsByTagName("input")[0];k&&k.type&&k.type.match(/radio|checkbox/)&&(W.addEvent(k,"focus",ye),W.addEvent(k,"blur",we),W.addEvent(k,"click",qe),qe(null,k))}}function _e(y){W.addEvent(y,"focus",ye),W.addEvent(y,"blur",we)}function D(y){Z=C(document.getElementsByTagName("input"),"name");for(var k=0,b=y.length;k<b;k++)W.once(y[k],c,xe)}function A(){var y=document.getElementsByTagName("form"),k=window.location.hash.replace(/^#/,""),b=window.location.pathname.split("/").pop(),T,g,S=k&&b==="edit";k&&document.getElementById(k)&&S&&document.getElementById(k).focus(),k&&document.getElementById(k+"-group")&&S&&document.getElementById(k+"-group").scrollIntoView(),document.getElementById(k+"-day")&&y.length===1&&S&&document.getElementById(k+"-day").focus(),document.getElementById(k+"-amount")&&y.length===1&&S&&document.getElementById(k+"-amount").focus(),y.length>0&&(T=document.getElementsByTagName("label"),T&&D(T)),g=document.getElementsByTagName("summary");for(var H=0,K=g.length;H<K;H++)W.once(g[H],c,_e)}return _a=A,_a}var Ta,Sf;function uv(){if(Sf)return Ta;Sf=1;var $=eo().forEach,C=eo().groupBy,c=Uo(),W,Z,ee="data-toggle",he="govuk-checkboxes__conditional--hidden",Ee="govuk-radios__conditional--hidden";function ye(xe,_e){_e=_e||c.target(xe);var D;$(Z[_e.name],function(A){var y=A.type.match(/checkbox/)?he:Ee,k=A.getAttribute("aria-controls"),b=document.getElementById(k);if(b)if(A.checked){b.setAttribute("aria-hidden","false"),c.removeClass(b,y),D=b.id;var T=b.querySelectorAll("input,textarea")[0];A===_e&&T&&T.focus()}else D!==b.id&&(b.setAttribute("aria-hidden","true"),c.addClass(b,y))})}function we(xe){var _e=xe.getAttribute(ee),D=document.getElementById(_e+"-panel")?_e+"-panel":_e,A=document.getElementById(D);A&&(xe.setAttribute("aria-controls",D),ye(null,xe)),c.addEvent(xe,"click",ye)}function qe(){var xe=document.getElementsByTagName("form"),_e;if(xe.length>0){W=document.querySelectorAll("input,textarea"),Z=C(W,"name");for(var D=0,A=W.length;D<A;D++)_e=W[D],_e.type.match(/radio|checkbox/)&&c.once(_e,"progressive-reveal",we)}}return Ta=qe,Ta}var Ca,Ef;function fv(){if(Ef)return Ca;Ef=1;var $=eo().forEach,C=Uo(),c="VALIDATION",W;function Z(ye){var we=C.target(ye),qe=we.getAttribute("href").replace(/^#/,""),xe=document.getElementById(qe+"-group")||document.getElementById(qe),_e;if(xe&&(xe.getElementsByTagName("input").length?_e=xe.getElementsByTagName("input"):xe.getElementsByTagName("textarea").length?_e=xe.getElementsByTagName("textarea"):xe.getElementsByTagName("select").length&&(_e=xe.getElementsByTagName("select")),_e))if(_e[0].getAttribute("type")==="hidden"){var D=xe.querySelectorAll("input[type=text]");D[0].focus()}else _e[0].focus()}function ee(ye){ye.keyCode===32&&Z(ye)}function he(ye){ye.focus();var we=ye.getElementsByTagName("a");$(we,function(qe){C.addEvent(qe,"click",Z),C.addEvent(qe,"keydown",ee)})}function Ee(){var ye=[];document.getElementById("content")&&(ye=C.getElementsByClass(document.getElementById("content"),"div","validation-summary")),ye.length&&(W=ye[0],C.once(W,c,function(we){he(we)}))}return Ca=Ee,Ca}var Af={},kf;function lv(){return kf||(kf=1,(function(){var $=typeof document.createElement("details").open=="boolean";function C(he,Ee,ye){he.addEventListener?he.addEventListener(Ee,function(we){ye(we,we.target)},!1):he.attachEvent&&he.attachEvent("on"+Ee,function(we){ye(we,we.srcElement)})}function c(he,Ee){C(he,"keypress",function(ye,we){we.nodeName==="SUMMARY"&&ye.keyCode===32&&(ye.preventDefault?ye.preventDefault():ye.returnValue=!1)}),C(he,"keyup",function(ye,we){(ye.keyCode===13||ye.keyCode===32)&&Ee(ye,we)}),C(he,"mouseup",function(ye,we){Ee(ye,we)})}function W(he,Ee){do if(!he||he.nodeName.toLowerCase()===Ee)break;while(he=he.parentNode);return he}var Z=!1;function ee(he){if(Z||(Z=!0,(he=document.getElementsByTagName("details")).length===0))return;var Ee=he.length,ye=0;for(ye;ye<Ee;ye++){var we=he[ye];we.__summary=we.getElementsByTagName("summary").item(0),we.__content=we.getElementsByTagName("div").item(0),we.__content.id||(we.__content.id="details-content-"+ye),we.setAttribute("role","group"),we.__summary.setAttribute("role","button"),we.__summary.setAttribute("aria-controls",we.__content.id),$||(we.__summary.tabIndex=0);var qe=we.getAttribute("open")!==null;if(qe===!0?(we.__summary.setAttribute("aria-expanded","true"),we.__content.setAttribute("aria-hidden","false")):(we.__summary.setAttribute("aria-expanded","false"),we.__content.setAttribute("aria-hidden","true"),$||(we.__content.style.display="none")),we.__summary.__details=we,!$){var xe=document.createElement("i");qe===!0?(xe.className="arrow arrow-open",xe.appendChild(document.createTextNode("▼"))):(xe.className="arrow arrow-closed",xe.appendChild(document.createTextNode("►"))),we.__summary.__twisty=we.__summary.insertBefore(xe,we.__summary.firstChild),we.__summary.__twisty.setAttribute("aria-hidden","true")}}function _e(D){var A=D.__details.__summary.getAttribute("aria-expanded")==="true",y=D.__details.__content.getAttribute("aria-hidden")==="true";if(D.__details.__summary.setAttribute("aria-expanded",A?"false":"true"),D.__details.__content.setAttribute("aria-hidden",y?"false":"true"),!$){D.__details.__content.style.display=A?"none":"";var k=D.__details.getAttribute("open")!==null;k?D.__details.removeAttribute("open"):D.__details.setAttribute("open","open")}return D.__twisty&&(D.__twisty.firstChild.nodeValue=A?"►":"▼",D.__twisty.setAttribute("class",A?"arrow arrow-closed":"arrow arrow-open")),!0}c(document,function(D,A){return(A=W(A,"summary"))?_e(A):!0})}C(document,"DOMContentLoaded",ee),C(window,"load",ee)})()),Af}var Sa,Lf;function cv(){if(Lf)return Sa;Lf=1;var $=Uo();C.prototype.updateCount=function(){var W=this.$textarea.value.length,Z=" characters",ee=" remaining";(this.maxLength-W===1||W-this.maxLength===1)&&(Z=" character"),this.maxLength-W<0&&(ee=" too many");function he(ye){for(var we=/(\d+)(\d{3})/;we.test(ye);)ye=ye.replace(we,"$1,$2");return ye}var Ee=he(Math.abs(this.maxLength-W).toString());this.$maxlengthHint.innerHTML="You have "+Ee+Z+ee,W>=this.maxLength+1?($.removeClass(this.$maxlengthHint,"govuk-hint"),$.addClass(this.$maxlengthHint,"govuk-error-message"),$.addClass(this.$textarea,"textarea-error")):($.addClass(this.$maxlengthHint,"govuk-hint"),$.removeClass(this.$maxlengthHint,"govuk-error-message"),$.removeClass(this.$textarea,"textarea-error"))},C.prototype.checkIfLengthChanged=function(){this.$textarea.length!==this.oldLength&&(this.updateCount(),this.oldLength=this.$textarea.value.length)},C.prototype.handleFocus=function(){this.lengthChecker=setInterval(this.checkIfLengthChanged.bind(this),1e3)},C.prototype.handleBlur=function(){clearInterval(this.lengthChecker)},C.prototype.init=function(){this.updateCount(),this.$textarea.removeAttribute("maxlength"),$.addEvent(this.$textarea,"input",this.updateCount.bind(this)),$.addEvent(this.$textarea,"focus",this.handleFocus.bind(this)),$.addEvent(this.$textarea,"blur",this.handleBlur.bind(this))};function C(W){this.$textarea=W,this.$maxlengthHint=document.querySelector("[id="+this.$textarea.id+"-maxlength-hint]"),this.maxLength=parseInt(this.$textarea.getAttribute("maxlength")),this.oldLength=0}function c(){for(var W=document.getElementsByTagName("textarea"),Z=0;Z<W.length;Z++)W[Z].hasAttribute("maxlength")&&new C(W[Z]).init()}return Sa=c,Sa}var Ea,Df;function hv(){return Df||(Df=1,Ea={helpers:Uo(),formFocus:av(),progressiveReveal:uv(),validation:fv(),detailsSummary:function(){lv()},characterCount:cv()}),Ea}var $o={exports:{}},dv=$o.exports,Of;function pv(){return Of||(Of=1,(function($,C){(function(c,W){W(C)})(dv,(function(c){var W="4.10.1";function Z(m,N){if(window.NodeList.prototype.forEach)return m.forEach(N);for(var F=0;F<m.length;F++)N.call(window,m[F],F,m)}function ee(){var m=new Date().getTime();return typeof window.performance<"u"&&typeof window.performance.now=="function"&&(m+=window.performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(N){var F=(m+Math.random()*16)%16|0;return m=Math.floor(m/16),(N==="x"?F:F&3|8).toString(16)})}function he(){for(var m=function(me){var ce={},te=function(be,ge){for(var De in be)if(Object.prototype.hasOwnProperty.call(be,De)){var Ke=be[De],Ge=ge?ge+"."+De:De;typeof Ke=="object"?te(Ke,Ge):ce[Ge]=Ke}};return te(me),ce},N={},F=0;F<arguments.length;F++){var ne=m(arguments[F]);for(var re in ne)Object.prototype.hasOwnProperty.call(ne,re)&&(N[re]=ne[re])}return N}function Ee(m,N){if(!m||typeof m!="object")throw new Error('Provide a `configObject` of type "object".');var F={};for(var ne in m){var re=ne.split(".");if(Object.prototype.hasOwnProperty.call(m,ne)&&re[0]===N){re.length>1&&re.shift();var me=re.join(".");F[me]=m[ne]}}return F}(function(m){var N="defineProperty"in Object&&(function(){try{var F={};return Object.defineProperty(F,"test",{value:42}),!0}catch{return!1}})();N||(function(F){var ne=Object.prototype.hasOwnProperty("__defineGetter__"),re="Getters & setters cannot be defined on this javascript engine",me="A property cannot both have accessors and be writable or have a value";Object.defineProperty=function(te,be,ge){if(F&&(te===window||te===document||te===Element.prototype||te instanceof Element))return F(te,be,ge);if(te===null||!(te instanceof Object||typeof te=="object"))throw new TypeError("Object.defineProperty called on non-object");if(!(ge instanceof Object))throw new TypeError("Property description must be an object");var De=String(be),Ke="value"in ge||"writable"in ge,Ge="get"in ge&&typeof ge.get,Fe="set"in ge&&typeof ge.set;if(Ge){if(Ge!=="function")throw new TypeError("Getter must be a function");if(!ne)throw new TypeError(re);if(Ke)throw new TypeError(me);Object.__defineGetter__.call(te,De,ge.get)}else te[De]=ge.value;if(Fe){if(Fe!=="function")throw new TypeError("Setter must be a function");if(!ne)throw new TypeError(re);if(Ke)throw new TypeError(me);Object.__defineSetter__.call(te,De,ge.set)}return"value"in ge&&(te[De]=ge.value),te}})(Object.defineProperty)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="Document"in this;N||typeof WorkerGlobalScope>"u"&&typeof importScripts!="function"&&(this.HTMLDocument?this.Document=this.HTMLDocument:(this.Document=this.HTMLDocument=document.constructor=new Function("return function Document() {}")(),this.Document.prototype=document))}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="Element"in this&&"HTMLElement"in this;N||(function(){if(window.Element&&!window.HTMLElement){window.HTMLElement=window.Element;return}window.Element=window.HTMLElement=new Function("return function Element() {}")();var F=document.appendChild(document.createElement("body")),ne=F.appendChild(document.createElement("iframe")),re=ne.contentWindow.document,me=Element.prototype=re.appendChild(re.createElement("*")),ce={},te=function(Fe,He){var Ze=Fe.childNodes||[],Qe=-1,Be,et,Ye;if(Fe.nodeType===1&&Fe.constructor!==Element){Fe.constructor=Element;for(Be in ce)et=ce[Be],Fe[Be]=et}for(;Ye=He&&Ze[++Qe];)te(Ye,He);return Fe},be=document.getElementsByTagName("*"),ge=document.createElement,De,Ke=100;me.attachEvent("onpropertychange",function(Fe){for(var He=Fe.propertyName,Ze=!ce.hasOwnProperty(He),Qe=me[He],Be=ce[He],et=-1,Ye;Ye=be[++et];)Ye.nodeType===1&&(Ze||Ye[He]===Be)&&(Ye[He]=Qe);ce[He]=Qe}),me.constructor=Element,me.hasAttribute||(me.hasAttribute=function(He){return this.getAttribute(He)!==null});function Ge(){return Ke--||clearTimeout(De),document.body&&!document.body.prototype&&/(complete|interactive)/.test(document.readyState)?(te(document,!0),De&&document.body.prototype&&clearTimeout(De),!!document.body.prototype):!1}Ge()||(document.onreadystatechange=Ge,De=setInterval(Ge,25)),document.createElement=function(He){var Ze=ge(String(He).toLowerCase());return te(Ze)},document.removeChild(F)})()}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N=(function(){if(!document.documentElement.dataset)return!1;var F=document.createElement("div");return F.setAttribute("data-a-b","c"),F.dataset&&F.dataset.aB=="c"})();N||Object.defineProperty(Element.prototype,"dataset",{get:function(){for(var F=this,ne=this.attributes,re={},me=0;me<ne.length;me++){var ce=ne[me];if(ce&&ce.name&&/^data-\w[.\w-]*$/.test(ce.name)){var te=ce.name,be=ce.value,ge=te.substr(5).replace(/-./g,function(De){return De.charAt(1).toUpperCase()});"__defineGetter__"in Object.prototype&&"__defineSetter__"in Object.prototype?Object.defineProperty(re,ge,{enumerable:!0,get:(function(){return this.value}).bind({value:be||""}),set:(function(Ke,Ge){typeof Ge<"u"?this.setAttribute(Ke,Ge):this.removeAttribute(Ke)}).bind(F,te)}):re[ge]=be}}return re}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="trim"in String.prototype;N||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{});function ye(m){if(typeof m!="string")return m;var N=m.trim();return N==="true"?!0:N==="false"?!1:N.length>0&&isFinite(Number(N))?Number(N):m}function we(m){var N={};for(var F in m)N[F]=ye(m[F]);return N}function qe(m,N){this.translations=m||{},this.locale=N&&N.locale||document.documentElement.lang||"en"}qe.prototype.t=function(m,N){if(!m)throw new Error("i18n: lookup key missing");N&&typeof N.count=="number"&&(m=m+"."+this.getPluralSuffix(m,N.count));var F=this.translations[m];if(typeof F=="string")if(F.match(/%{(.\S+)}/)){if(!N)throw new Error("i18n: cannot replace placeholders in string if no option data provided");return this.replacePlaceholders(F,N)}else return F;else return m},qe.prototype.replacePlaceholders=function(m,N){var F;return this.hasIntlNumberFormatSupport()&&(F=new Intl.NumberFormat(this.locale)),m.replace(/%{(.\S+)}/g,function(ne,re){if(Object.prototype.hasOwnProperty.call(N,re)){var me=N[re];return me===!1||typeof me!="number"&&typeof me!="string"?"":typeof me=="number"?F?F.format(me):me.toString():me}else throw new Error("i18n: no data found to replace "+ne+" placeholder in string")})},qe.prototype.hasIntlPluralRulesSupport=function(){return!!(window.Intl&&"PluralRules"in window.Intl&&Intl.PluralRules.supportedLocalesOf(this.locale).length)},qe.prototype.hasIntlNumberFormatSupport=function(){return!!(window.Intl&&"NumberFormat"in window.Intl&&Intl.NumberFormat.supportedLocalesOf(this.locale).length)},qe.prototype.getPluralSuffix=function(m,N){if(N=Number(N),!isFinite(N))return"other";var F;if(this.hasIntlPluralRulesSupport()?F=new Intl.PluralRules(this.locale).select(N):F=this.selectPluralFormUsingFallbackRules(N),m+"."+F in this.translations)return F;if(m+".other"in this.translations)return console&&"warn"in console&&console.warn('i18n: Missing plural form ".'+F+'" for "'+this.locale+'" locale. Falling back to ".other".'),"other";throw new Error('i18n: Plural form ".other" is required for "'+this.locale+'" locale')},qe.prototype.selectPluralFormUsingFallbackRules=function(m){m=Math.abs(Math.floor(m));var N=this.getPluralRulesForLocale();return N?qe.pluralRules[N](m):"other"},qe.prototype.getPluralRulesForLocale=function(){var m=this.locale,N=m.split("-")[0];for(var F in qe.pluralRulesMap)if(Object.prototype.hasOwnProperty.call(qe.pluralRulesMap,F)){for(var ne=qe.pluralRulesMap[F],re=0;re<ne.length;re++)if(ne[re]===m||ne[re]===N)return F}},qe.pluralRulesMap={arabic:["ar"],chinese:["my","zh","id","ja","jv","ko","ms","th","vi"],french:["hy","bn","fr","gu","hi","fa","pa","zu"],german:["af","sq","az","eu","bg","ca","da","nl","en","et","fi","ka","de","el","hu","lb","no","so","sw","sv","ta","te","tr","ur"],irish:["ga"],russian:["ru","uk"],scottish:["gd"],spanish:["pt-PT","it","es"],welsh:["cy"]},qe.pluralRules={arabic:function(m){return m===0?"zero":m===1?"one":m===2?"two":m%100>=3&&m%100<=10?"few":m%100>=11&&m%100<=99?"many":"other"},chinese:function(){return"other"},french:function(m){return m===0||m===1?"one":"other"},german:function(m){return m===1?"one":"other"},irish:function(m){return m===1?"one":m===2?"two":m>=3&&m<=6?"few":m>=7&&m<=10?"many":"other"},russian:function(m){var N=m%100,F=N%10;return F===1&&N!==11?"one":F>=2&&F<=4&&!(N>=12&&N<=14)?"few":F===0||F>=5&&F<=9||N>=11&&N<=14?"many":"other"},scottish:function(m){return m===1||m===11?"one":m===2||m===12?"two":m>=3&&m<=10||m>=13&&m<=19?"few":"other"},spanish:function(m){return m===1?"one":m%1e6===0&&m!==0?"many":"other"},welsh:function(m){return m===0?"zero":m===1?"one":m===2?"two":m===3?"few":m===6?"many":"other"}},(function(m){var N="DOMTokenList"in this&&(function(F){return"classList"in F?!F.classList.toggle("x",!1)&&!F.className:!0})(document.createElement("x"));N||(function(F){var ne="DOMTokenList"in F&&F.DOMTokenList;(!ne||document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg")&&!(document.createElementNS("http://www.w3.org/2000/svg","svg").classList instanceof DOMTokenList))&&(F.DOMTokenList=(function(){var re=!0,me=function(te,be,ge,De){Object.defineProperty?Object.defineProperty(te,be,{configurable:re===!1?!0:!!De,get:ge}):te.__defineGetter__(be,ge)};try{me({},"support")}catch{re=!1}var ce=function(te,be){var ge=this,De=[],Ke={},Ge=0,Fe=0,He=function(Be){me(ge,Be,function(){return Qe(),De[Be]},!1)},Ze=function(){if(Ge>=Fe)for(;Fe<Ge;++Fe)He(Fe)},Qe=function(){var Be,et,Ye=arguments,rt=/\s+/;if(Ye.length){for(et=0;et<Ye.length;++et)if(rt.test(Ye[et]))throw Be=new SyntaxError('String "'+Ye[et]+'" contains an invalid character'),Be.code=5,Be.name="InvalidCharacterError",Be}for(typeof te[be]=="object"?De=(""+te[be].baseVal).replace(/^\s+|\s+$/g,"").split(rt):De=(""+te[be]).replace(/^\s+|\s+$/g,"").split(rt),De[0]===""&&(De=[]),Ke={},et=0;et<De.length;++et)Ke[De[et]]=!0;Ge=De.length,Ze()};return Qe(),me(ge,"length",function(){return Qe(),Ge}),ge.toLocaleString=ge.toString=function(){return Qe(),De.join(" ")},ge.item=function(Be){return Qe(),De[Be]},ge.contains=function(Be){return Qe(),!!Ke[Be]},ge.add=function(){Qe.apply(ge,Be=arguments);for(var Be,et,Ye=0,rt=Be.length;Ye<rt;++Ye)et=Be[Ye],Ke[et]||(De.push(et),Ke[et]=!0);Ge!==De.length&&(Ge=De.length>>>0,typeof te[be]=="object"?te[be].baseVal=De.join(" "):te[be]=De.join(" "),Ze())},ge.remove=function(){Qe.apply(ge,Be=arguments);for(var Be,et={},Ye=0,rt=[];Ye<Be.length;++Ye)et[Be[Ye]]=!0,delete Ke[Be[Ye]];for(Ye=0;Ye<De.length;++Ye)et[De[Ye]]||rt.push(De[Ye]);De=rt,Ge=rt.length>>>0,typeof te[be]=="object"?te[be].baseVal=De.join(" "):te[be]=De.join(" "),Ze()},ge.toggle=function(Be,et){return Qe.apply(ge,[Be]),m!==et?et?(ge.add(Be),!0):(ge.remove(Be),!1):Ke[Be]?(ge.remove(Be),!1):(ge.add(Be),!0)},ge};return ce})()),(function(){var re=document.createElement("span");"classList"in re&&(re.classList.toggle("x",!1),re.classList.contains("x")&&(re.classList.constructor.prototype.toggle=function(ce){var te=arguments[1];if(te===m){var be=!this.contains(ce);return this[be?"add":"remove"](ce),be}return te=!!te,this[te?"add":"remove"](ce),te}))})(),(function(){var re=document.createElement("span");if("classList"in re&&(re.classList.add("a","b"),!re.classList.contains("b"))){var me=re.classList.constructor.prototype.add;re.classList.constructor.prototype.add=function(){for(var ce=arguments,te=arguments.length,be=0;be<te;be++)me.call(this,ce[be])}}})(),(function(){var re=document.createElement("span");if("classList"in re&&(re.classList.add("a"),re.classList.add("b"),re.classList.remove("a","b"),!!re.classList.contains("b"))){var me=re.classList.constructor.prototype.remove;re.classList.constructor.prototype.remove=function(){for(var ce=arguments,te=arguments.length,be=0;be<te;be++)me.call(this,ce[be])}}})()})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="document"in this&&"classList"in document.documentElement&&"Element"in this&&"classList"in Element.prototype&&(function(){var F=document.createElement("span");return F.classList.add("a","b"),F.classList.contains("b")})();N||(function(F){var ne=!0,re=function(ce,te,be,ge){Object.defineProperty?Object.defineProperty(ce,te,{configurable:ne===!1?!0:!!ge,get:be}):ce.__defineGetter__(te,be)};try{re({},"support")}catch{ne=!1}var me=function(ce,te,be){re(ce.prototype,te,function(){var ge,De=this,Ke="__defineGetter__DEFINE_PROPERTY"+te;if(De[Ke])return ge;if(De[Ke]=!0,ne===!1){for(var Ge,Fe=me.mirror||document.createElement("div"),He=Fe.childNodes,Ze=He.length,Qe=0;Qe<Ze;++Qe)if(He[Qe]._R===De){Ge=He[Qe];break}Ge||(Ge=Fe.appendChild(document.createElement("div"))),ge=DOMTokenList.call(Ge,De,be)}else ge=new DOMTokenList(De,be);return re(De,te,function(){return ge}),delete De[Ke],ge},!0)};me(F.Element,"classList","className"),me(F.HTMLElement,"classList","className"),me(F.HTMLLinkElement,"relList","rel"),me(F.HTMLAnchorElement,"relList","rel"),me(F.HTMLAreaElement,"relList","rel")})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="document"in this&&"matches"in document.documentElement;N||(Element.prototype.matches=Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||function(ne){for(var re=this,me=(re.document||re.ownerDocument).querySelectorAll(ne),ce=0;me[ce]&&me[ce]!==re;)++ce;return!!me[ce]})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="document"in this&&"closest"in document.documentElement;N||(Element.prototype.closest=function(ne){for(var re=this;re;){if(re.matches(ne))return re;re="SVGElement"in window&&re instanceof SVGElement?re.parentNode:re.parentElement}return null})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="Window"in this;N||typeof WorkerGlobalScope>"u"&&typeof importScripts!="function"&&(function(F){F.constructor?F.Window=F.constructor:(F.Window=F.constructor=new Function("return function Window() {}")()).prototype=this})(this)}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N=(function(F){if(!("Event"in F))return!1;if(typeof F.Event=="function")return!0;try{return new Event("click"),!0}catch{return!1}})(this);N||(function(){var F={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if(typeof document>"u"||typeof window>"u")return;function ne(me,ce){for(var te=-1,be=me.length;++te<be;)if(te in me&&me[te]===ce)return te;return-1}var re=window.Event&&window.Event.prototype||null;window.Event=Window.prototype.Event=function(ce,te){if(!ce)throw new Error("Not enough arguments");var be;if("createEvent"in document){be=document.createEvent("Event");var ge=te&&te.bubbles!==m?te.bubbles:!1,De=te&&te.cancelable!==m?te.cancelable:!1;return be.initEvent(ce,ge,De),be}return be=document.createEventObject(),be.type=ce,be.bubbles=te&&te.bubbles!==m?te.bubbles:!1,be.cancelable=te&&te.cancelable!==m?te.cancelable:!1,be},re&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:re}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var ce=this,te=arguments[0],be=arguments[1];if(ce===window&&te in F)throw new Error("In IE8 the event: "+te+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");ce._events||(ce._events={}),ce._events[te]||(ce._events[te]=function(ge){var De=ce._events[ge.type].list,Ke=De.slice(),Ge=-1,Fe=Ke.length,He;for(ge.preventDefault=function(){ge.cancelable!==!1&&(ge.returnValue=!1)},ge.stopPropagation=function(){ge.cancelBubble=!0},ge.stopImmediatePropagation=function(){ge.cancelBubble=!0,ge.cancelImmediate=!0},ge.currentTarget=ce,ge.relatedTarget=ge.fromElement||null,ge.target=ge.target||ge.srcElement||ce,ge.timeStamp=new Date().getTime(),ge.clientX&&(ge.pageX=ge.clientX+document.documentElement.scrollLeft,ge.pageY=ge.clientY+document.documentElement.scrollTop);++Ge<Fe&&!ge.cancelImmediate;)Ge in Ke&&(He=Ke[Ge],ne(De,He)!==-1&&typeof He=="function"&&He.call(ce,ge))},ce._events[te].list=[],ce.attachEvent&&ce.attachEvent("on"+te,ce._events[te])),ce._events[te].list.push(be)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var ce=this,te=arguments[0],be=arguments[1],ge;ce._events&&ce._events[te]&&ce._events[te].list&&(ge=ne(ce._events[te].list,be),ge!==-1&&(ce._events[te].list.splice(ge,1),ce._events[te].list.length||(ce.detachEvent&&ce.detachEvent("on"+te,ce._events[te]),delete ce._events[te])))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(ce){if(!arguments.length)throw new Error("Not enough arguments");if(!ce||typeof ce.type!="string")throw new Error("DOM Events Exception 0");var te=this,be=ce.type;try{if(!ce.bubbles){ce.cancelBubble=!0;var ge=function(De){De.cancelBubble=!0,(te||window).detachEvent("on"+be,ge)};this.attachEvent("on"+be,ge)}this.fireEvent("on"+be,ce)}catch{ce.target=te;do ce.currentTarget=te,"_events"in te&&typeof te._events[be]=="function"&&te._events[be].call(te,ce),typeof te["on"+be]=="function"&&te["on"+be].call(te,ce),te=te.nodeType===9?te.parentWindow:te.parentNode;while(te&&!ce.cancelBubble)}return!0},document.attachEvent("onreadystatechange",function(){document.readyState==="complete"&&document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0}))}))})()}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="bind"in Function.prototype;N||Object.defineProperty(Function.prototype,"bind",{value:function(ne){var re=Array,me=Object,ce=me.prototype,te=re.prototype,be=function(){},ge=ce.toString,De=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ke,Ge=Function.prototype.toString,Fe=function(ie){try{return Ge.call(ie),!0}catch{return!1}},He="[object Function]",Ze="[object GeneratorFunction]";Ke=function(ie){if(typeof ie!="function")return!1;if(De)return Fe(ie);var ut=ge.call(ie);return ut===He||ut===Ze};var Qe=te.slice,Be=te.concat,et=te.push,Ye=Math.max,rt=this;if(!Ke(rt))throw new TypeError("Function.prototype.bind called on incompatible "+rt);for(var St=Qe.call(arguments,1),ii,Vn=function(){if(this instanceof ii){var jt=rt.apply(this,Be.call(St,Qe.call(arguments)));return me(jt)===jt?jt:this}else return rt.apply(ne,Be.call(St,Qe.call(arguments)))},tn=Ye(0,rt.length-St.length),bt=[],$t=0;$t<tn;$t++)et.call(bt,"$"+$t);return ii=Function("binder","return function ("+bt.join(",")+"){ return binder.apply(this, arguments); }")(Vn),rt.prototype&&(be.prototype=rt.prototype,ii.prototype=new be,be.prototype=null),ii}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{});var xe={hideAllSections:"Hide all sections",hideSection:"Hide",hideSectionAriaLabel:"Hide this section",showAllSections:"Show all sections",showSection:"Show",showSectionAriaLabel:"Show this section"};function _e(m,N){if(!(m instanceof HTMLElement))return this;this.$module=m;var F={i18n:xe,rememberExpanded:!0};this.config=he(F,N||{},we(m.dataset)),this.i18n=new qe(Ee(this.config,"i18n")),this.controlsClass="govuk-accordion__controls",this.showAllClass="govuk-accordion__show-all",this.showAllTextClass="govuk-accordion__show-all-text",this.sectionClass="govuk-accordion__section",this.sectionExpandedClass="govuk-accordion__section--expanded",this.sectionButtonClass="govuk-accordion__section-button",this.sectionHeaderClass="govuk-accordion__section-header",this.sectionHeadingClass="govuk-accordion__section-heading",this.sectionHeadingDividerClass="govuk-accordion__section-heading-divider",this.sectionHeadingTextClass="govuk-accordion__section-heading-text",this.sectionHeadingTextFocusClass="govuk-accordion__section-heading-text-focus",this.sectionShowHideToggleClass="govuk-accordion__section-toggle",this.sectionShowHideToggleFocusClass="govuk-accordion__section-toggle-focus",this.sectionShowHideTextClass="govuk-accordion__section-toggle-text",this.upChevronIconClass="govuk-accordion-nav__chevron",this.downChevronIconClass="govuk-accordion-nav__chevron--down",this.sectionSummaryClass="govuk-accordion__section-summary",this.sectionSummaryFocusClass="govuk-accordion__section-summary-focus",this.sectionContentClass="govuk-accordion__section-content";var ne=this.$module.querySelectorAll("."+this.sectionClass);if(!ne.length)return this;this.$sections=ne,this.browserSupportsSessionStorage=D.checkForSessionStorage(),this.$showAllButton=null,this.$showAllIcon=null,this.$showAllText=null}_e.prototype.init=function(){if(!(!this.$module||!this.$sections)){this.initControls(),this.initSectionHeaders();var m=this.checkIfAllSectionsOpen();this.updateShowAllButton(m)}},_e.prototype.initControls=function(){this.$showAllButton=document.createElement("button"),this.$showAllButton.setAttribute("type","button"),this.$showAllButton.setAttribute("class",this.showAllClass),this.$showAllButton.setAttribute("aria-expanded","false"),this.$showAllIcon=document.createElement("span"),this.$showAllIcon.classList.add(this.upChevronIconClass),this.$showAllButton.appendChild(this.$showAllIcon);var m=document.createElement("div");m.setAttribute("class",this.controlsClass),m.appendChild(this.$showAllButton),this.$module.insertBefore(m,this.$module.firstChild),this.$showAllText=document.createElement("span"),this.$showAllText.classList.add(this.showAllTextClass),this.$showAllButton.appendChild(this.$showAllText),this.$showAllButton.addEventListener("click",this.onShowOrHideAllToggle.bind(this)),"onbeforematch"in document&&document.addEventListener("beforematch",this.onBeforeMatch.bind(this))},_e.prototype.initSectionHeaders=function(){var m=this,N=this.$sections;Z(N,function(F,ne){var re=F.querySelector("."+m.sectionHeaderClass);re&&(m.constructHeaderMarkup(re,ne),m.setExpanded(m.isExpanded(F),F),re.addEventListener("click",m.onSectionToggle.bind(m,F)),m.setInitialState(F))})},_e.prototype.constructHeaderMarkup=function(m,N){var F=m.querySelector("."+this.sectionButtonClass),ne=m.querySelector("."+this.sectionHeadingClass),re=m.querySelector("."+this.sectionSummaryClass);if(!(!F||!ne)){var me=document.createElement("button");me.setAttribute("type","button"),me.setAttribute("aria-controls",this.$module.id+"-content-"+(N+1).toString());for(var ce=0;ce<F.attributes.length;ce++){var te=F.attributes.item(ce);te.nodeName!=="id"&&me.setAttribute(te.nodeName,te.nodeValue)}var be=document.createElement("span");be.classList.add(this.sectionHeadingTextClass),be.id=F.id;var ge=document.createElement("span");ge.classList.add(this.sectionHeadingTextFocusClass),be.appendChild(ge),ge.innerHTML=F.innerHTML;var De=document.createElement("span");De.classList.add(this.sectionShowHideToggleClass),De.setAttribute("data-nosnippet","");var Ke=document.createElement("span");Ke.classList.add(this.sectionShowHideToggleFocusClass),De.appendChild(Ke);var Ge=document.createElement("span"),Fe=document.createElement("span");if(Fe.classList.add(this.upChevronIconClass),Ke.appendChild(Fe),Ge.classList.add(this.sectionShowHideTextClass),Ke.appendChild(Ge),me.appendChild(be),me.appendChild(this.getButtonPunctuationEl()),re){var He=document.createElement("span"),Ze=document.createElement("span");Ze.classList.add(this.sectionSummaryFocusClass),He.appendChild(Ze);for(var Qe=0,Be=re.attributes.length;Qe<Be;++Qe){var et=re.attributes.item(Qe).nodeName,Ye=re.attributes.item(Qe).nodeValue;He.setAttribute(et,Ye)}Ze.innerHTML=re.innerHTML,re.parentNode.replaceChild(He,re),me.appendChild(He),me.appendChild(this.getButtonPunctuationEl())}me.appendChild(De),ne.removeChild(F),ne.appendChild(me)}},_e.prototype.onBeforeMatch=function(m){var N=m.target;if(N instanceof Element){var F=N.closest("."+this.sectionClass);F&&this.setExpanded(!0,F)}},_e.prototype.onSectionToggle=function(m){var N=this.isExpanded(m);this.setExpanded(!N,m),this.storeState(m)},_e.prototype.onShowOrHideAllToggle=function(){var m=this,N=this.$sections,F=!this.checkIfAllSectionsOpen();Z(N,function(ne){m.setExpanded(F,ne),m.storeState(ne)}),m.updateShowAllButton(F)},_e.prototype.setExpanded=function(m,N){var F=N.querySelector("."+this.upChevronIconClass),ne=N.querySelector("."+this.sectionShowHideTextClass),re=N.querySelector("."+this.sectionButtonClass),me=N.querySelector("."+this.sectionContentClass);if(!(!F||!(ne instanceof HTMLElement)||!re||!me)){var ce=m?this.i18n.t("hideSection"):this.i18n.t("showSection");ne.innerText=ce,re.setAttribute("aria-expanded",m.toString());var te=[],be=N.querySelector("."+this.sectionHeadingTextClass);be instanceof HTMLElement&&te.push(be.innerText.trim());var ge=N.querySelector("."+this.sectionSummaryClass);ge instanceof HTMLElement&&te.push(ge.innerText.trim());var De=m?this.i18n.t("hideSectionAriaLabel"):this.i18n.t("showSectionAriaLabel");te.push(De),re.setAttribute("aria-label",te.join(" , ")),m?(me.removeAttribute("hidden"),N.classList.add(this.sectionExpandedClass),F.classList.remove(this.downChevronIconClass)):(me.setAttribute("hidden","until-found"),N.classList.remove(this.sectionExpandedClass),F.classList.add(this.downChevronIconClass));var Ke=this.checkIfAllSectionsOpen();this.updateShowAllButton(Ke)}},_e.prototype.isExpanded=function(m){return m.classList.contains(this.sectionExpandedClass)},_e.prototype.checkIfAllSectionsOpen=function(){var m=this.$sections.length,N=this.$module.querySelectorAll("."+this.sectionExpandedClass).length,F=m===N;return F},_e.prototype.updateShowAllButton=function(m){var N=m?this.i18n.t("hideAllSections"):this.i18n.t("showAllSections");this.$showAllButton.setAttribute("aria-expanded",m.toString()),this.$showAllText.innerText=N,m?this.$showAllIcon.classList.remove(this.downChevronIconClass):this.$showAllIcon.classList.add(this.downChevronIconClass)};var D={checkForSessionStorage:function(){var m="this is the test string",N;try{return window.sessionStorage.setItem(m,m),N=window.sessionStorage.getItem(m)===m.toString(),window.sessionStorage.removeItem(m),N}catch{return!1}}};_e.prototype.storeState=function(m){if(this.browserSupportsSessionStorage&&this.config.rememberExpanded){var N=m.querySelector("."+this.sectionButtonClass);if(N){var F=N.getAttribute("aria-controls"),ne=N.getAttribute("aria-expanded");F&&ne&&window.sessionStorage.setItem(F,ne)}}},_e.prototype.setInitialState=function(m){if(this.browserSupportsSessionStorage&&this.config.rememberExpanded){var N=m.querySelector("."+this.sectionButtonClass);if(N){var F=N.getAttribute("aria-controls"),ne=F?window.sessionStorage.getItem(F):null;ne!==null&&this.setExpanded(ne==="true",m)}}},_e.prototype.getButtonPunctuationEl=function(){var m=document.createElement("span");return m.classList.add("govuk-visually-hidden",this.sectionHeadingDividerClass),m.innerHTML=", ",m};var A=32,y=1;function k(m,N){if(!(m instanceof HTMLElement))return this;this.$module=m,this.debounceFormSubmitTimer=null;var F={preventDoubleClick:!1};this.config=he(F,N||{},we(m.dataset))}k.prototype.init=function(){this.$module&&(this.$module.addEventListener("keydown",this.handleKeyDown),this.$module.addEventListener("click",this.debounce.bind(this)))},k.prototype.handleKeyDown=function(m){var N=m.target;m.keyCode===A&&N instanceof HTMLElement&&N.getAttribute("role")==="button"&&(m.preventDefault(),N.click())},k.prototype.debounce=function(m){if(this.config.preventDoubleClick){if(this.debounceFormSubmitTimer)return m.preventDefault(),!1;this.debounceFormSubmitTimer=setTimeout((function(){this.debounceFormSubmitTimer=null}).bind(this),y*1e3)}};function b(m,N){var F=m.closest("["+N+"]");return F?F.getAttribute(N):null}(function(m){var N="Date"in self&&"now"in self.Date&&"getTime"in self.Date.prototype;N||(Date.now=function(){return new Date().getTime()})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{});var T={charactersUnderLimit:{one:"You have %{count} character remaining",other:"You have %{count} characters remaining"},charactersAtLimit:"You have 0 characters remaining",charactersOverLimit:{one:"You have %{count} character too many",other:"You have %{count} characters too many"},wordsUnderLimit:{one:"You have %{count} word remaining",other:"You have %{count} words remaining"},wordsAtLimit:"You have 0 words remaining",wordsOverLimit:{one:"You have %{count} word too many",other:"You have %{count} words too many"},textareaDescription:{other:""}};function g(m,N){if(!(m instanceof HTMLElement))return this;var F=m.querySelector(".govuk-js-character-count");if(!(F instanceof HTMLTextAreaElement||F instanceof HTMLInputElement))return this;var ne={threshold:0,i18n:T},re=we(m.dataset),me={};if(("maxwords"in re||"maxlength"in re)&&(me={maxlength:!1,maxwords:!1}),this.config=he(ne,N||{},me,re),this.i18n=new qe(Ee(this.config,"i18n"),{locale:b(m,"lang")}),this.maxLength=1/0,"maxwords"in this.config&&this.config.maxwords)this.maxLength=this.config.maxwords;else if("maxlength"in this.config&&this.config.maxlength)this.maxLength=this.config.maxlength;else return;this.$module=m,this.$textarea=F,this.$visibleCountMessage=null,this.$screenReaderCountMessage=null,this.lastInputTimestamp=null,this.lastInputValue="",this.valueChecker=null}g.prototype.init=function(){if(!(!this.$module||!this.$textarea)){var m=this.$textarea,N=document.getElementById(m.id+"-info");if(N){N.innerText.match(/^\s*$/)&&(N.innerText=this.i18n.t("textareaDescription",{count:this.maxLength})),m.insertAdjacentElement("afterend",N);var F=document.createElement("div");F.className="govuk-character-count__sr-status govuk-visually-hidden",F.setAttribute("aria-live","polite"),this.$screenReaderCountMessage=F,N.insertAdjacentElement("afterend",F);var ne=document.createElement("div");ne.className=N.className,ne.classList.add("govuk-character-count__status"),ne.setAttribute("aria-hidden","true"),this.$visibleCountMessage=ne,N.insertAdjacentElement("afterend",ne),N.classList.add("govuk-visually-hidden"),m.removeAttribute("maxlength"),this.bindChangeEvents(),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.updateCountMessage.bind(this)),this.updateCountMessage()}}},g.prototype.bindChangeEvents=function(){var m=this.$textarea;m.addEventListener("keyup",this.handleKeyUp.bind(this)),m.addEventListener("focus",this.handleFocus.bind(this)),m.addEventListener("blur",this.handleBlur.bind(this))},g.prototype.handleKeyUp=function(){this.updateVisibleCountMessage(),this.lastInputTimestamp=Date.now()},g.prototype.handleFocus=function(){this.valueChecker=setInterval((function(){(!this.lastInputTimestamp||Date.now()-500>=this.lastInputTimestamp)&&this.updateIfValueChanged()}).bind(this),1e3)},g.prototype.handleBlur=function(){clearInterval(this.valueChecker)},g.prototype.updateIfValueChanged=function(){this.$textarea.value!==this.lastInputValue&&(this.lastInputValue=this.$textarea.value,this.updateCountMessage())},g.prototype.updateCountMessage=function(){this.updateVisibleCountMessage(),this.updateScreenReaderCountMessage()},g.prototype.updateVisibleCountMessage=function(){var m=this.$textarea,N=this.$visibleCountMessage,F=this.maxLength-this.count(m.value);this.isOverThreshold()?N.classList.remove("govuk-character-count__message--disabled"):N.classList.add("govuk-character-count__message--disabled"),F<0?(m.classList.add("govuk-textarea--error"),N.classList.remove("govuk-hint"),N.classList.add("govuk-error-message")):(m.classList.remove("govuk-textarea--error"),N.classList.remove("govuk-error-message"),N.classList.add("govuk-hint")),N.innerText=this.getCountMessage()},g.prototype.updateScreenReaderCountMessage=function(){var m=this.$screenReaderCountMessage;this.isOverThreshold()?m.removeAttribute("aria-hidden"):m.setAttribute("aria-hidden","true"),m.innerText=this.getCountMessage()},g.prototype.count=function(m){if("maxwords"in this.config&&this.config.maxwords){var N=m.match(/\S+/g)||[];return N.length}else return m.length},g.prototype.getCountMessage=function(){var m=this.maxLength-this.count(this.$textarea.value),N="maxwords"in this.config&&this.config.maxwords?"words":"characters";return this.formatCountMessage(m,N)},g.prototype.formatCountMessage=function(m,N){if(m===0)return this.i18n.t(N+"AtLimit");var F=m<0?"OverLimit":"UnderLimit";return this.i18n.t(N+F,{count:Math.abs(m)})},g.prototype.isOverThreshold=function(){if(!this.config.threshold)return!0;var m=this.$textarea,N=this.count(m.value),F=this.maxLength,ne=F*this.config.threshold/100;return ne<=N};function S(m){if(!(m instanceof HTMLElement))return this;var N=m.querySelectorAll('input[type="checkbox"]');if(!N.length)return this;this.$module=m,this.$inputs=N}S.prototype.init=function(){if(!(!this.$module||!this.$inputs)){var m=this.$module,N=this.$inputs;Z(N,function(F){var ne=F.getAttribute("data-aria-controls");!ne||!document.getElementById(ne)||(F.setAttribute("aria-controls",ne),F.removeAttribute("data-aria-controls"))}),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.syncAllConditionalReveals.bind(this)),this.syncAllConditionalReveals(),m.addEventListener("click",this.handleClick.bind(this))}},S.prototype.syncAllConditionalReveals=function(){Z(this.$inputs,this.syncConditionalRevealWithInputState.bind(this))},S.prototype.syncConditionalRevealWithInputState=function(m){var N=m.getAttribute("aria-controls");if(N){var F=document.getElementById(N);if(F&&F.classList.contains("govuk-checkboxes__conditional")){var ne=m.checked;m.setAttribute("aria-expanded",ne.toString()),F.classList.toggle("govuk-checkboxes__conditional--hidden",!ne)}}},S.prototype.unCheckAllInputsExcept=function(m){var N=this,F=document.querySelectorAll('input[type="checkbox"][name="'+m.name+'"]');Z(F,function(ne){var re=m.form===ne.form;re&&ne!==m&&(ne.checked=!1,N.syncConditionalRevealWithInputState(ne))})},S.prototype.unCheckExclusiveInputs=function(m){var N=this,F=document.querySelectorAll('input[data-behaviour="exclusive"][type="checkbox"][name="'+m.name+'"]');Z(F,function(ne){var re=m.form===ne.form;re&&(ne.checked=!1,N.syncConditionalRevealWithInputState(ne))})},S.prototype.handleClick=function(m){var N=m.target;if(!(!(N instanceof HTMLInputElement)||N.type!=="checkbox")){var F=N.getAttribute("aria-controls");if(F&&this.syncConditionalRevealWithInputState(N),!!N.checked){var ne=N.getAttribute("data-behaviour")==="exclusive";ne?this.unCheckAllInputsExcept(N):this.unCheckExclusiveInputs(N)}}};var H=13,K=32;function o(m){if(!(m instanceof HTMLElement))return this;this.$module=m,this.$summary=null,this.$content=null}o.prototype.init=function(){if(this.$module){var m="HTMLDetailsElement"in window&&this.$module instanceof HTMLDetailsElement;m||this.polyfillDetails()}},o.prototype.polyfillDetails=function(){var m=this.$module,N=this.$summary=m.getElementsByTagName("summary").item(0),F=this.$content=m.getElementsByTagName("div").item(0);!N||!F||(F.id||(F.id="details-content-"+ee()),m.setAttribute("role","group"),N.setAttribute("role","button"),N.setAttribute("aria-controls",F.id),N.tabIndex=0,this.$module.hasAttribute("open")?N.setAttribute("aria-expanded","true"):(N.setAttribute("aria-expanded","false"),F.style.display="none"),this.polyfillHandleInputs(this.polyfillSetAttributes.bind(this)))},o.prototype.polyfillSetAttributes=function(){return this.$module.hasAttribute("open")?(this.$module.removeAttribute("open"),this.$summary.setAttribute("aria-expanded","false"),this.$content.style.display="none"):(this.$module.setAttribute("open","open"),this.$summary.setAttribute("aria-expanded","true"),this.$content.style.display=""),!0},o.prototype.polyfillHandleInputs=function(m){this.$summary.addEventListener("keypress",function(N){var F=N.target;(N.keyCode===H||N.keyCode===K)&&F instanceof HTMLElement&&F.nodeName.toLowerCase()==="summary"&&(N.preventDefault(),F.click?F.click():m(N))}),this.$summary.addEventListener("keyup",function(N){var F=N.target;N.keyCode===K&&F instanceof HTMLElement&&F.nodeName.toLowerCase()==="summary"&&N.preventDefault()}),this.$summary.addEventListener("click",m)};function Y(m,N){if(!(m instanceof HTMLElement))return this;this.$module=m;var F={disableAutoFocus:!1};this.config=he(F,N||{},we(m.dataset))}Y.prototype.init=function(){if(this.$module){var m=this.$module;this.setFocus(),m.addEventListener("click",this.handleClick.bind(this))}},Y.prototype.setFocus=function(){var m=this.$module;this.config.disableAutoFocus||(m.setAttribute("tabindex","-1"),m.addEventListener("blur",function(){m.removeAttribute("tabindex")}),m.focus())},Y.prototype.handleClick=function(m){var N=m.target;this.focusTarget(N)&&m.preventDefault()},Y.prototype.focusTarget=function(m){if(!(m instanceof HTMLAnchorElement))return!1;var N=this.getFragmentFromUrl(m.href);if(!N)return!1;var F=document.getElementById(N);if(!F)return!1;var ne=this.getAssociatedLegendOrLabel(F);return ne?(ne.scrollIntoView(),F.focus({preventScroll:!0}),!0):!1},Y.prototype.getFragmentFromUrl=function(m){if(m.indexOf("#")!==-1)return m.split("#").pop()},Y.prototype.getAssociatedLegendOrLabel=function(m){var N=m.closest("fieldset");if(N){var F=N.getElementsByTagName("legend");if(F.length){var ne=F[0];if(m instanceof HTMLInputElement&&(m.type==="checkbox"||m.type==="radio"))return ne;var re=ne.getBoundingClientRect().top,me=m.getBoundingClientRect();if(me.height&&window.innerHeight){var ce=me.top+me.height;if(ce-re<window.innerHeight/2)return ne}}}return document.querySelector("label[for='"+m.getAttribute("id")+"']")||m.closest("label")};var J={activated:"Loading.",timedOut:"Exit this page expired.",pressTwoMoreTimes:"Shift, press 2 more times to exit.",pressOneMoreTime:"Shift, press 1 more time to exit."};function fe(m,N){var F={i18n:J};if(!(m instanceof HTMLElement))return this;var ne=m.querySelector(".govuk-exit-this-page__button");if(!(ne instanceof HTMLElement))return this;this.config=he(F,N||{},we(m.dataset)),this.i18n=new qe(Ee(this.config,"i18n")),this.$module=m,this.$button=ne,this.$skiplinkButton=document.querySelector(".govuk-js-exit-this-page-skiplink"),this.$updateSpan=null,this.$indicatorContainer=null,this.$overlay=null,this.keypressCounter=0,this.lastKeyWasModified=!1,this.timeoutTime=5e3,this.keypressTimeoutId=null,this.timeoutMessageId=null}fe.prototype.initUpdateSpan=function(){this.$updateSpan=document.createElement("span"),this.$updateSpan.setAttribute("role","status"),this.$updateSpan.className="govuk-visually-hidden",this.$module.appendChild(this.$updateSpan)},fe.prototype.initButtonClickHandler=function(){this.$button.addEventListener("click",this.handleClick.bind(this)),this.$skiplinkButton&&this.$skiplinkButton.addEventListener("click",this.handleClick.bind(this))},fe.prototype.buildIndicator=function(){this.$indicatorContainer=document.createElement("div"),this.$indicatorContainer.className="govuk-exit-this-page__indicator",this.$indicatorContainer.setAttribute("aria-hidden","true");for(var m=0;m<3;m++){var N=document.createElement("div");N.className="govuk-exit-this-page__indicator-light",this.$indicatorContainer.appendChild(N)}this.$button.appendChild(this.$indicatorContainer)},fe.prototype.updateIndicator=function(){this.keypressCounter>0?this.$indicatorContainer.classList.add("govuk-exit-this-page__indicator--visible"):this.$indicatorContainer.classList.remove("govuk-exit-this-page__indicator--visible");var m=this.$indicatorContainer.querySelectorAll(".govuk-exit-this-page__indicator-light");Z(m,(function(N,F){N.classList.toggle("govuk-exit-this-page__indicator-light--on",F<this.keypressCounter)}).bind(this))},fe.prototype.exitPage=function(){this.$updateSpan.innerText="",document.body.classList.add("govuk-exit-this-page-hide-content"),this.$overlay=document.createElement("div"),this.$overlay.className="govuk-exit-this-page-overlay",this.$overlay.setAttribute("role","alert"),document.body.appendChild(this.$overlay),this.$overlay.innerText=this.i18n.t("activated"),window.location.href=this.$button.getAttribute("href")},fe.prototype.handleClick=function(m){m.preventDefault(),this.exitPage()},fe.prototype.handleKeypress=function(m){(m.key==="Shift"||m.keyCode===16||m.which===16)&&!this.lastKeyWasModified?(this.keypressCounter+=1,this.updateIndicator(),this.timeoutMessageId!==null&&(clearTimeout(this.timeoutMessageId),this.timeoutMessageId=null),this.keypressCounter>=3?(this.keypressCounter=0,this.keypressTimeoutId!==null&&(clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null),this.exitPage()):this.keypressCounter===1?this.$updateSpan.innerText=this.i18n.t("pressTwoMoreTimes"):this.$updateSpan.innerText=this.i18n.t("pressOneMoreTime"),this.setKeypressTimer()):this.keypressTimeoutId!==null&&this.resetKeypressTimer(),this.lastKeyWasModified=m.shiftKey},fe.prototype.setKeypressTimer=function(){clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=setTimeout(this.resetKeypressTimer.bind(this),this.timeoutTime)},fe.prototype.resetKeypressTimer=function(){clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null,this.keypressCounter=0,this.$updateSpan.innerText=this.i18n.t("timedOut"),this.timeoutMessageId=setTimeout((function(){this.$updateSpan.innerText=""}).bind(this),this.timeoutTime),this.updateIndicator()},fe.prototype.resetPage=function(){document.body.classList.remove("govuk-exit-this-page-hide-content"),this.$overlay&&(this.$overlay.remove(),this.$overlay=null),this.$updateSpan.setAttribute("role","status"),this.$updateSpan.innerText="",this.updateIndicator(),this.keypressTimeoutId&&clearTimeout(this.keypressTimeoutId),this.timeoutMessageId&&clearTimeout(this.timeoutMessageId)},fe.prototype.init=function(){this.buildIndicator(),this.initUpdateSpan(),this.initButtonClickHandler(),"govukFrontendExitThisPageKeypress"in document.body.dataset||(document.addEventListener("keyup",this.handleKeypress.bind(this),!0),document.body.dataset.govukFrontendExitThisPageKeypress="true"),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.resetPage.bind(this))};function Ie(m){if(!(m instanceof HTMLElement))return this;this.$module=m,this.$menuButton=m.querySelector(".govuk-js-header-toggle"),this.$menu=this.$menuButton&&m.querySelector("#"+this.$menuButton.getAttribute("aria-controls")),this.menuIsOpen=!1,this.mql=null}Ie.prototype.init=function(){!this.$module||!this.$menuButton||!this.$menu||("matchMedia"in window?(this.mql=window.matchMedia("(min-width: 48.0625em)"),"addEventListener"in this.mql?this.mql.addEventListener("change",this.syncState.bind(this)):this.mql.addListener(this.syncState.bind(this)),this.syncState(),this.$menuButton.addEventListener("click",this.handleMenuButtonClick.bind(this))):this.$menuButton.setAttribute("hidden",""))},Ie.prototype.syncState=function(){this.mql.matches?(this.$menu.removeAttribute("hidden"),this.$menuButton.setAttribute("hidden","")):(this.$menuButton.removeAttribute("hidden"),this.$menuButton.setAttribute("aria-expanded",this.menuIsOpen.toString()),this.menuIsOpen?this.$menu.removeAttribute("hidden"):this.$menu.setAttribute("hidden",""))},Ie.prototype.handleMenuButtonClick=function(){this.menuIsOpen=!this.menuIsOpen,this.syncState()};function nt(m,N){if(!(m instanceof HTMLElement))return this;this.$module=m;var F={disableAutoFocus:!1};this.config=he(F,N||{},we(m.dataset))}nt.prototype.init=function(){this.$module&&this.setFocus()},nt.prototype.setFocus=function(){var m=this.$module;this.config.disableAutoFocus||m.getAttribute("role")==="alert"&&(m.getAttribute("tabindex")||(m.setAttribute("tabindex","-1"),m.addEventListener("blur",function(){m.removeAttribute("tabindex")})),m.focus())};function Ce(m){if(!(m instanceof HTMLElement))return this;var N=m.querySelectorAll('input[type="radio"]');if(!N.length)return this;this.$module=m,this.$inputs=N}Ce.prototype.init=function(){if(!(!this.$module||!this.$inputs)){var m=this.$module,N=this.$inputs;Z(N,function(F){var ne=F.getAttribute("data-aria-controls");!ne||!document.getElementById(ne)||(F.setAttribute("aria-controls",ne),F.removeAttribute("data-aria-controls"))}),window.addEventListener("onpageshow"in window?"pageshow":"DOMContentLoaded",this.syncAllConditionalReveals.bind(this)),this.syncAllConditionalReveals(),m.addEventListener("click",this.handleClick.bind(this))}},Ce.prototype.syncAllConditionalReveals=function(){Z(this.$inputs,this.syncConditionalRevealWithInputState.bind(this))},Ce.prototype.syncConditionalRevealWithInputState=function(m){var N=m.getAttribute("aria-controls");if(N){var F=document.getElementById(N);if(F&&F.classList.contains("govuk-radios__conditional")){var ne=m.checked;m.setAttribute("aria-expanded",ne.toString()),F.classList.toggle("govuk-radios__conditional--hidden",!ne)}}},Ce.prototype.handleClick=function(m){var N=this,F=m.target;if(!(!(F instanceof HTMLInputElement)||F.type!=="radio")){var ne=document.querySelectorAll('input[type="radio"][aria-controls]'),re=F.form,me=F.name;Z(ne,function(ce){var te=ce.form===re,be=ce.name===me;be&&te&&N.syncConditionalRevealWithInputState(ce)})}};function Tt(m){if(!(m instanceof HTMLAnchorElement))return this;this.$module=m,this.$linkedElement=null,this.linkedElementListener=!1}Tt.prototype.init=function(){if(this.$module){var m=this.getLinkedElement();m&&(this.$linkedElement=m,this.$module.addEventListener("click",this.focusLinkedElement.bind(this)))}},Tt.prototype.getLinkedElement=function(){var m=this.getFragmentFromUrl();return m?document.getElementById(m):null},Tt.prototype.focusLinkedElement=function(){var m=this.$linkedElement;m.getAttribute("tabindex")||(m.setAttribute("tabindex","-1"),m.classList.add("govuk-skip-link-focused-element"),this.linkedElementListener||(this.$linkedElement.addEventListener("blur",this.removeFocusProperties.bind(this)),this.linkedElementListener=!0)),m.focus()},Tt.prototype.removeFocusProperties=function(){this.$linkedElement.removeAttribute("tabindex"),this.$linkedElement.classList.remove("govuk-skip-link-focused-element")},Tt.prototype.getFragmentFromUrl=function(){if(this.$module.hash)return this.$module.hash.split("#").pop()},(function(m){var N="document"in this&&"nextElementSibling"in document.documentElement;N||Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var F=this.nextSibling;F&&F.nodeType!==1;)F=F.nextSibling;return F}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{}),(function(m){var N="document"in this&&"previousElementSibling"in document.documentElement;N||Object.defineProperty(Element.prototype,"previousElementSibling",{get:function(){for(var F=this.previousSibling;F&&F.nodeType!==1;)F=F.previousSibling;return F}})}).call(typeof window=="object"&&window||typeof self=="object"&&self||typeof dt=="object"&&dt||{});function it(m){if(!(m instanceof HTMLElement))return this;var N=m.querySelectorAll("a.govuk-tabs__tab");if(!N.length)return this;this.$module=m,this.$tabs=N,this.keys={left:37,right:39,up:38,down:40},this.jsHiddenClass="govuk-tabs__panel--hidden",this.boundTabClick=this.onTabClick.bind(this),this.boundTabKeydown=this.onTabKeydown.bind(this),this.boundOnHashChange=this.onHashChange.bind(this),this.changingHash=!1}it.prototype.init=function(){!this.$module||!this.$tabs||(typeof window.matchMedia=="function"?this.setupResponsiveChecks():this.setup())},it.prototype.setupResponsiveChecks=function(){this.mql=window.matchMedia("(min-width: 40.0625em)"),this.mql.addListener(this.checkMode.bind(this)),this.checkMode()},it.prototype.checkMode=function(){this.mql.matches?this.setup():this.teardown()},it.prototype.setup=function(){var m=this,N=this.$module,F=this.$tabs,ne=N.querySelector(".govuk-tabs__list"),re=N.querySelectorAll(".govuk-tabs__list-item");if(!(!F||!ne||!re)){ne.setAttribute("role","tablist"),Z(re,function(ce){ce.setAttribute("role","presentation")}),Z(F,function(ce){m.setAttributes(ce),ce.addEventListener("click",m.boundTabClick,!0),ce.addEventListener("keydown",m.boundTabKeydown,!0),m.hideTab(ce)});var me=this.getTab(window.location.hash)||this.$tabs[0];me&&(this.showTab(me),window.addEventListener("hashchange",this.boundOnHashChange,!0))}},it.prototype.teardown=function(){var m=this,N=this.$module,F=this.$tabs,ne=N.querySelector(".govuk-tabs__list"),re=N.querySelectorAll("a.govuk-tabs__list-item");!F||!ne||!re||(ne.removeAttribute("role"),Z(re,function(me){me.removeAttribute("role")}),Z(F,function(me){me.removeEventListener("click",m.boundTabClick,!0),me.removeEventListener("keydown",m.boundTabKeydown,!0),m.unsetAttributes(me)}),window.removeEventListener("hashchange",this.boundOnHashChange,!0))},it.prototype.onHashChange=function(){var m=window.location.hash,N=this.getTab(m);if(N){if(this.changingHash){this.changingHash=!1;return}var F=this.getCurrentTab();F&&(this.hideTab(F),this.showTab(N),N.focus())}},it.prototype.hideTab=function(m){this.unhighlightTab(m),this.hidePanel(m)},it.prototype.showTab=function(m){this.highlightTab(m),this.showPanel(m)},it.prototype.getTab=function(m){return this.$module.querySelector('a.govuk-tabs__tab[href="'+m+'"]')},it.prototype.setAttributes=function(m){var N=this.getHref(m).slice(1);m.setAttribute("id","tab_"+N),m.setAttribute("role","tab"),m.setAttribute("aria-controls",N),m.setAttribute("aria-selected","false"),m.setAttribute("tabindex","-1");var F=this.getPanel(m);F&&(F.setAttribute("role","tabpanel"),F.setAttribute("aria-labelledby",m.id),F.classList.add(this.jsHiddenClass))},it.prototype.unsetAttributes=function(m){m.removeAttribute("id"),m.removeAttribute("role"),m.removeAttribute("aria-controls"),m.removeAttribute("aria-selected"),m.removeAttribute("tabindex");var N=this.getPanel(m);N&&(N.removeAttribute("role"),N.removeAttribute("aria-labelledby"),N.classList.remove(this.jsHiddenClass))},it.prototype.onTabClick=function(m){var N=this.getCurrentTab(),F=m.currentTarget;!N||!(F instanceof HTMLAnchorElement)||(m.preventDefault(),this.hideTab(N),this.showTab(F),this.createHistoryEntry(F))},it.prototype.createHistoryEntry=function(m){var N=this.getPanel(m);if(N){var F=N.id;N.id="",this.changingHash=!0,window.location.hash=this.getHref(m).slice(1),N.id=F}},it.prototype.onTabKeydown=function(m){switch(m.keyCode){case this.keys.left:case this.keys.up:this.activatePreviousTab(),m.preventDefault();break;case this.keys.right:case this.keys.down:this.activateNextTab(),m.preventDefault();break}},it.prototype.activateNextTab=function(){var m=this.getCurrentTab();if(!(!m||!m.parentElement)){var N=m.parentElement.nextElementSibling;if(N){var F=N.querySelector("a.govuk-tabs__tab");F&&(this.hideTab(m),this.showTab(F),F.focus(),this.createHistoryEntry(F))}}},it.prototype.activatePreviousTab=function(){var m=this.getCurrentTab();if(!(!m||!m.parentElement)){var N=m.parentElement.previousElementSibling;if(N){var F=N.querySelector("a.govuk-tabs__tab");F&&(this.hideTab(m),this.showTab(F),F.focus(),this.createHistoryEntry(F))}}},it.prototype.getPanel=function(m){return this.$module.querySelector(this.getHref(m))},it.prototype.showPanel=function(m){var N=this.getPanel(m);N&&N.classList.remove(this.jsHiddenClass)},it.prototype.hidePanel=function(m){var N=this.getPanel(m);N&&N.classList.add(this.jsHiddenClass)},it.prototype.unhighlightTab=function(m){m.parentElement&&(m.setAttribute("aria-selected","false"),m.parentElement.classList.remove("govuk-tabs__list-item--selected"),m.setAttribute("tabindex","-1"))},it.prototype.highlightTab=function(m){m.parentElement&&(m.setAttribute("aria-selected","true"),m.parentElement.classList.add("govuk-tabs__list-item--selected"),m.setAttribute("tabindex","0"))},it.prototype.getCurrentTab=function(){return this.$module.querySelector(".govuk-tabs__list-item--selected a.govuk-tabs__tab")},it.prototype.getHref=function(m){var N=m.getAttribute("href"),F=N.slice(N.indexOf("#"),N.length);return F};function On(m){m=typeof m<"u"?m:{};var N=m.scope instanceof HTMLElement?m.scope:document,F=N.querySelectorAll('[data-module="govuk-accordion"]');Z(F,function(He){new _e(He,m.accordion).init()});var ne=N.querySelectorAll('[data-module="govuk-button"]');Z(ne,function(He){new k(He,m.button).init()});var re=N.querySelectorAll('[data-module="govuk-character-count"]');Z(re,function(He){new g(He,m.characterCount).init()});var me=N.querySelectorAll('[data-module="govuk-checkboxes"]');Z(me,function(He){new S(He).init()});var ce=N.querySelectorAll('[data-module="govuk-details"]');Z(ce,function(He){new o(He).init()});var te=N.querySelector('[data-module="govuk-error-summary"]');te&&new Y(te,m.errorSummary).init();var be=N.querySelectorAll('[data-module="govuk-exit-this-page"]');Z(be,function(He){new fe(He,m.exitThisPage).init()});var ge=N.querySelector('[data-module="govuk-header"]');ge&&new Ie(ge).init();var De=N.querySelectorAll('[data-module="govuk-notification-banner"]');Z(De,function(He){new nt(He,m.notificationBanner).init()});var Ke=N.querySelectorAll('[data-module="govuk-radios"]');Z(Ke,function(He){new Ce(He).init()});var Ge=N.querySelector('[data-module="govuk-skip-link"]');Ge&&new Tt(Ge).init();var Fe=N.querySelectorAll('[data-module="govuk-tabs"]');Z(Fe,function(He){new it(He).init()})}c.initAll=On,c.version=W,c.Accordion=_e,c.Button=k,c.Details=o,c.CharacterCount=g,c.Checkboxes=S,c.ErrorSummary=Y,c.ExitThisPage=fe,c.Header=Ie,c.NotificationBanner=nt,c.Radios=Ce,c.SkipLink=Tt,c.Tabs=it}))})($o,$o.exports)),$o.exports}var If={},Rf;function gv(){return Rf||(Rf=1,function(){const C=document.getElementById("skip-to-main"),c=C.hash.split("#")[1]?C.hash.split("#")[1]:"main-content";c==="main-content"&&C.setAttribute("href","#main-content"),c&&(C.onclick=function(W){setTimeout(()=>{document.getElementById(c).focus()},10)})}()),If}var Bo={},Nf;function vv(){return Nf||(Nf=1,(function(){const $=this;typeof $.GOVUK>"u"&&($.GOVUK={}),GOVUK.cookie=function(C,c,W){return typeof c<"u"?c===!1||c===null?GOVUK.setCookie(C,"",{days:-1}):GOVUK.setCookie(C,c,W):GOVUK.getCookie(C)},GOVUK.setCookie=function(C,c,W){typeof W>"u"&&(W={});let Z=C+"="+c+"; path=/";if(W.days){const ee=new Date;ee.setTime(ee.getTime()+W.days*24*60*60*1e3),Z=Z+"; expires="+ee.toGMTString()}document.location.protocol==="https:"&&(Z=Z+"; Secure"),document.cookie=Z},GOVUK.getCookie=function(C){const c=C+"=",W=document.cookie.split(";");for(let Z=0,ee=W.length;Z<ee;Z++){let he=W[Z];for(;he.charAt(0)===" ";)he=he.substring(1,he.length);if(he.indexOf(c)===0)return decodeURIComponent(he.substring(c.length))}return null}}).call(Bo),(function(){const $=this;typeof $.GOVUK>"u"&&($.GOVUK={}),GOVUK.addCookieMessage=function(){const C=document.getElementById("global-cookie-message");C&&GOVUK.cookie("seen_cookie_message")===null&&(C.style.display="block",GOVUK.cookie("seen_cookie_message","yes",{days:28}),document.addEventListener("DOMContentLoaded",function(W){GOVUK.analytics&&typeof GOVUK.analytics.trackEvent=="function"&&GOVUK.analytics.trackEvent("cookieBanner","Cookie banner shown",{value:1,nonInteraction:!0})}))}}).call(Bo),(function(){if(window.GOVUK&&GOVUK.addCookieMessage&&GOVUK.addCookieMessage(),document.querySelectorAll&&document.addEventListener){const $=document.querySelectorAll(".js-header-toggle");let C,c;for(C=0,c=$.length;C<c;C++)$[C].addEventListener("click",function(W){W.preventDefault();const Z=document.getElementById(this.getAttribute("href").substr(1)),ee=Z.getAttribute("class")||"",he=this.getAttribute("class")||"";ee.indexOf("js-visible")!==-1?Z.setAttribute("class",ee.replace(/(^|\s)js-visible(\s|$)/,"")):Z.setAttribute("class",ee+" js-visible"),he.indexOf("js-visible")!==-1?this.setAttribute("class",he.replace(/(^|\s)js-visible(\s|$)/,"")):this.setAttribute("class",he+" js-visible"),this.setAttribute("aria-expanded",this.getAttribute("aria-expanded")!=="true"),Z.setAttribute("aria-hidden",Z.getAttribute("aria-hidden")==="false")})}}).call(Bo)),Bo}var Aa,Mf;function mv(){if(Mf)return Aa;Mf=1;function $(xe){const _e=document.getElementById(xe);if(_e===null)return;const D=_e.getElementsByClassName("js-disabled");for(let A=0;A<D.length;A++)D[A].style.display="none"}function C(xe){const _e=document.getElementById(xe);if(_e===null)return;const D=_e.getElementsByClassName("js-enabled");for(let A=0;A<D.length;A++)D[A].style.display="block"}function c(xe){GOVUK.cookie("cookie_preferences",JSON.stringify(xe),{days:30}),xe.usage||(GOVUK.cookie("_ga",null),GOVUK.cookie("_gat",null),GOVUK.cookie("_gid",null))}function W(){document.getElementById("cookie-banner-info").style.display="none",document.getElementById("cookie-banner-actions").style.display="none";let xe;document.getElementById("cookie-banner-submitted-accepted").dataset.acceptCookies==="true"?xe=document.getElementById("cookie-banner-submitted-accepted"):xe=document.getElementById("cookie-banner-submitted-rejected"),xe.style.display="block",xe.focus()}function Z(){document.getElementById("cookie-banner").style.display="none"}function ee(){const xe=document.getElementById("cookie-banner-submitted-accepted");document.getElementById("accept-cookies-button").addEventListener("click",function(){c({essential:!0,usage:!0}),W(),sessionStorage.setItem("reloading","true"),window.location=document.URL}),document.getElementById("reject-cookies-button").addEventListener("click",function(){c({essential:!0,usage:!1}),xe.dataset.acceptCookies="false",W()}),document.getElementById("hide-accept-cookie-banner").addEventListener("click",Z),document.getElementById("hide-reject-cookie-banner").addEventListener("click",Z)}function he(){if(GOVUK.cookie("cookie_preferences")!==null)return;const _e=document.getElementById("global-cookie-message"),D=document.getElementById("cookie-banner");_e!==null&&D!==null&&($("global-cookie-message"),C("global-cookie-message"),_e.style.display="block",ee())}function Ee(xe){xe.preventDefault(),c({essential:!0,usage:document.getElementById("radio-1").checked});const _e=document.getElementById("cookie-notification"),D=document.getElementById("cookie-banner");D!==null&&(D.style.display="none"),_e!==null&&(_e.style.display="block",_e.focus())}function ye(){const xe=JSON.parse(GOVUK.cookie("cookie_preferences"));let _e;xe!==null&&xe.usage!==void 0&&typeof xe.usage=="boolean"?_e=xe.usage:_e=!1,document.getElementById("radio-1").checked=_e,document.getElementById("radio-2").checked=!_e,document.getElementById("save-cookie-settings").addEventListener("click",Ee)}function we(){document.getElementById("cookie-settings")!==null&&($("cookie-settings"),C("cookie-settings"),ye())}function qe(){window.onload=function(){if(sessionStorage.getItem("reloading")){sessionStorage.removeItem("reloading");const _e=document.getElementById("global-cookie-message"),D=document.getElementById("cookie-banner");_e!==null&&D!==null&&(_e.style.display="block"),ee(),W()}}}return Aa={initialiseCookieBanner:he,initialiseCookiePage:we,onLoad:qe},Aa}var Pf={},Ts={exports:{}};/*!
28
- * jQuery JavaScript Library v3.7.1
29
- * https://jquery.com/
30
- *
31
- * Copyright OpenJS Foundation and other contributors
32
- * Released under the MIT license
33
- * https://jquery.org/license
34
- *
35
- * Date: 2023-08-28T13:37Z
36
- */var yv=Ts.exports,qf;function bv(){return qf||(qf=1,(function($){(function(C,c){$.exports=C.document?c(C,!0):function(W){if(!W.document)throw new Error("jQuery requires a window with a document");return c(W)}})(typeof window<"u"?window:yv,function(C,c){var W=[],Z=Object.getPrototypeOf,ee=W.slice,he=W.flat?function(e){return W.flat.call(e)}:function(e){return W.concat.apply([],e)},Ee=W.push,ye=W.indexOf,we={},qe=we.toString,xe=we.hasOwnProperty,_e=xe.toString,D=_e.call(Object),A={},y=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},k=function(n){return n!=null&&n===n.window},b=C.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function g(e,n,r){r=r||b;var s,u,f=r.createElement("script");if(f.text=e,n)for(s in T)u=n[s]||n.getAttribute&&n.getAttribute(s),u&&f.setAttribute(s,u);r.head.appendChild(f).parentNode.removeChild(f)}function S(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?we[qe.call(e)]||"object":typeof e}var H="3.7.1",K=/HTML$/i,o=function(e,n){return new o.fn.init(e,n)};o.fn=o.prototype={jquery:H,constructor:o,length:0,toArray:function(){return ee.call(this)},get:function(e){return e==null?ee.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=o.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return o.each(this,e)},map:function(e){return this.pushStack(o.map(this,function(n,r){return e.call(n,r,n)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(o.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:Ee,sort:W.sort,splice:W.splice},o.extend=o.fn.extend=function(){var e,n,r,s,u,f,l=arguments[0]||{},v=1,p=arguments.length,E=!1;for(typeof l=="boolean"&&(E=l,l=arguments[v]||{},v++),typeof l!="object"&&!y(l)&&(l={}),v===p&&(l=this,v--);v<p;v++)if((e=arguments[v])!=null)for(n in e)s=e[n],!(n==="__proto__"||l===s)&&(E&&s&&(o.isPlainObject(s)||(u=Array.isArray(s)))?(r=l[n],u&&!Array.isArray(r)?f=[]:!u&&!o.isPlainObject(r)?f={}:f=r,u=!1,l[n]=o.extend(E,f,s)):s!==void 0&&(l[n]=s));return l},o.extend({expando:"jQuery"+(H+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,r;return!e||qe.call(e)!=="[object Object]"?!1:(n=Z(e),n?(r=xe.call(n,"constructor")&&n.constructor,typeof r=="function"&&_e.call(r)===D):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,r){g(e,{nonce:n&&n.nonce},r)},each:function(e,n){var r,s=0;if(Y(e))for(r=e.length;s<r&&n.call(e[s],s,e[s])!==!1;s++);else for(s in e)if(n.call(e[s],s,e[s])===!1)break;return e},text:function(e){var n,r="",s=0,u=e.nodeType;if(!u)for(;n=e[s++];)r+=o.text(n);return u===1||u===11?e.textContent:u===9?e.documentElement.textContent:u===3||u===4?e.nodeValue:r},makeArray:function(e,n){var r=n||[];return e!=null&&(Y(Object(e))?o.merge(r,typeof e=="string"?[e]:e):Ee.call(r,e)),r},inArray:function(e,n,r){return n==null?-1:ye.call(n,e,r)},isXMLDoc:function(e){var n=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!K.test(n||r&&r.nodeName||"HTML")},merge:function(e,n){for(var r=+n.length,s=0,u=e.length;s<r;s++)e[u++]=n[s];return e.length=u,e},grep:function(e,n,r){for(var s,u=[],f=0,l=e.length,v=!r;f<l;f++)s=!n(e[f],f),s!==v&&u.push(e[f]);return u},map:function(e,n,r){var s,u,f=0,l=[];if(Y(e))for(s=e.length;f<s;f++)u=n(e[f],f,r),u!=null&&l.push(u);else for(f in e)u=n(e[f],f,r),u!=null&&l.push(u);return he(l)},guid:1,support:A}),typeof Symbol=="function"&&(o.fn[Symbol.iterator]=W[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){we["[object "+n+"]"]=n.toLowerCase()});function Y(e){var n=!!e&&"length"in e&&e.length,r=S(e);return y(e)||k(e)?!1:r==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function J(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var fe=W.pop,Ie=W.sort,nt=W.splice,Ce="[\\x20\\t\\r\\n\\f]",Tt=new RegExp("^"+Ce+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ce+"+$","g");o.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 it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function On(e,n){return n?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}o.escapeSelector=function(e){return(e+"").replace(it,On)};var m=b,N=Ee;(function(){var e,n,r,s,u,f=N,l,v,p,E,B,j=o.expando,R=0,V=0,se=$n(),Ae=$n(),Te=$n(),ot=$n(),Ve=function(d,_){return d===_&&(u=!0),0},It="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Rt="(?:\\\\[\\da-fA-F]{1,6}"+Ce+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ke="\\["+Ce+"*("+Rt+")(?:"+Ce+"*([*^$|!~]?=)"+Ce+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Rt+"))|)"+Ce+"*\\]",Yt=":("+Rt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ke+")*)|.*)\\)|)",Oe=new RegExp(Ce+"+","g"),$e=new RegExp("^"+Ce+"*,"+Ce+"*"),Mn=new RegExp("^"+Ce+"*([>+~]|"+Ce+")"+Ce+"*"),li=new RegExp(Ce+"|>"),Dt=new RegExp(Yt),mn=new RegExp("^"+Rt+"$"),kt={ID:new RegExp("^#("+Rt+")"),CLASS:new RegExp("^\\.("+Rt+")"),TAG:new RegExp("^("+Rt+"|[*])"),ATTR:new RegExp("^"+ke),PSEUDO:new RegExp("^"+Yt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ce+"*(even|odd|(([+-]|)(\\d*)n|)"+Ce+"*(?:([+-]|)"+Ce+"*(\\d+)|))"+Ce+"*\\)|)","i"),bool:new RegExp("^(?:"+It+")$","i"),needsContext:new RegExp("^"+Ce+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ce+"*((?:-\\d)?\\d*)"+Ce+"*\\)|)(?=[^-]|$)","i")},Ut=/^(?:input|select|textarea|button)$/i,Kt=/^h\d$/i,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Jn=/[+~]/,Ht=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ce+"?|\\\\([^\\r\\n\\f])","g"),Mt=function(d,_){var I="0x"+d.slice(1)-65536;return _||(I<0?String.fromCharCode(I+65536):String.fromCharCode(I>>10|55296,I&1023|56320))},on=function(){Gt()},Cr=Sn(function(d){return d.disabled===!0&&J(d,"fieldset")},{dir:"parentNode",next:"legend"});function Si(){try{return l.activeElement}catch{}}try{f.apply(W=ee.call(m.childNodes),m.childNodes),W[m.childNodes.length].nodeType}catch{f={apply:function(_,I){N.apply(_,ee.call(I))},call:function(_){N.apply(_,ee.call(arguments,1))}}}function Ne(d,_,I,M){var w,P,q,z,Q,de,ae,oe=_&&_.ownerDocument,Se=_?_.nodeType:9;if(I=I||[],typeof d!="string"||!d||Se!==1&&Se!==9&&Se!==11)return I;if(!M&&(Gt(_),_=_||l,p)){if(Se!==11&&(Q=_t.exec(d)))if(w=Q[1]){if(Se===9)if(q=_.getElementById(w)){if(q.id===w)return f.call(I,q),I}else return I;else if(oe&&(q=oe.getElementById(w))&&Ne.contains(_,q)&&q.id===w)return f.call(I,q),I}else{if(Q[2])return f.apply(I,_.getElementsByTagName(d)),I;if((w=Q[3])&&_.getElementsByClassName)return f.apply(I,_.getElementsByClassName(w)),I}if(!ot[d+" "]&&(!E||!E.test(d))){if(ae=d,oe=_,Se===1&&(li.test(d)||Mn.test(d))){for(oe=Jn.test(d)&&Ei(_.parentNode)||_,(oe!=_||!A.scope)&&((z=_.getAttribute("id"))?z=o.escapeSelector(z):_.setAttribute("id",z=j)),de=Cn(d),P=de.length;P--;)de[P]=(z?"#"+z:":scope")+" "+Jt(de[P]);ae=de.join(",")}try{return f.apply(I,oe.querySelectorAll(ae)),I}catch{ot(d,!0)}finally{z===j&&_.removeAttribute("id")}}}return Er(d.replace(Tt,"$1"),_,I,M)}function $n(){var d=[];function _(I,M){return d.push(I+" ")>n.cacheLength&&delete _[d.shift()],_[I+" "]=M}return _}function Lt(d){return d[j]=!0,d}function yn(d){var _=l.createElement("fieldset");try{return!!d(_)}catch{return!1}finally{_.parentNode&&_.parentNode.removeChild(_),_=null}}function _o(d){return function(_){return J(_,"input")&&_.type===d}}function To(d){return function(_){return(J(_,"input")||J(_,"button"))&&_.type===d}}function Sr(d){return function(_){return"form"in _?_.parentNode&&_.disabled===!1?"label"in _?"label"in _.parentNode?_.parentNode.disabled===d:_.disabled===d:_.isDisabled===d||_.isDisabled!==!d&&Cr(_)===d:_.disabled===d:"label"in _?_.disabled===d:!1}}function Pt(d){return Lt(function(_){return _=+_,Lt(function(I,M){for(var w,P=d([],I.length,_),q=P.length;q--;)I[w=P[q]]&&(I[w]=!(M[w]=I[w]))})})}function Ei(d){return d&&typeof d.getElementsByTagName<"u"&&d}function Gt(d){var _,I=d?d.ownerDocument||d:m;return I==l||I.nodeType!==9||!I.documentElement||(l=I,v=l.documentElement,p=!o.isXMLDoc(l),B=v.matches||v.webkitMatchesSelector||v.msMatchesSelector,v.msMatchesSelector&&m!=l&&(_=l.defaultView)&&_.top!==_&&_.addEventListener("unload",on),A.getById=yn(function(M){return v.appendChild(M).id=o.expando,!l.getElementsByName||!l.getElementsByName(o.expando).length}),A.disconnectedMatch=yn(function(M){return B.call(M,"*")}),A.scope=yn(function(){return l.querySelectorAll(":scope")}),A.cssHas=yn(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),A.getById?(n.filter.ID=function(M){var w=M.replace(Ht,Mt);return function(P){return P.getAttribute("id")===w}},n.find.ID=function(M,w){if(typeof w.getElementById<"u"&&p){var P=w.getElementById(M);return P?[P]:[]}}):(n.filter.ID=function(M){var w=M.replace(Ht,Mt);return function(P){var q=typeof P.getAttributeNode<"u"&&P.getAttributeNode("id");return q&&q.value===w}},n.find.ID=function(M,w){if(typeof w.getElementById<"u"&&p){var P,q,z,Q=w.getElementById(M);if(Q){if(P=Q.getAttributeNode("id"),P&&P.value===M)return[Q];for(z=w.getElementsByName(M),q=0;Q=z[q++];)if(P=Q.getAttributeNode("id"),P&&P.value===M)return[Q]}return[]}}),n.find.TAG=function(M,w){return typeof w.getElementsByTagName<"u"?w.getElementsByTagName(M):w.querySelectorAll(M)},n.find.CLASS=function(M,w){if(typeof w.getElementsByClassName<"u"&&p)return w.getElementsByClassName(M)},E=[],yn(function(M){var w;v.appendChild(M).innerHTML="<a id='"+j+"' href='' disabled='disabled'></a><select id='"+j+"-\r\\' disabled='disabled'><option selected=''></option></select>",M.querySelectorAll("[selected]").length||E.push("\\["+Ce+"*(?:value|"+It+")"),M.querySelectorAll("[id~="+j+"-]").length||E.push("~="),M.querySelectorAll("a#"+j+"+*").length||E.push(".#.+[+~]"),M.querySelectorAll(":checked").length||E.push(":checked"),w=l.createElement("input"),w.setAttribute("type","hidden"),M.appendChild(w).setAttribute("name","D"),v.appendChild(M).disabled=!0,M.querySelectorAll(":disabled").length!==2&&E.push(":enabled",":disabled"),w=l.createElement("input"),w.setAttribute("name",""),M.appendChild(w),M.querySelectorAll("[name='']").length||E.push("\\["+Ce+"*name"+Ce+"*="+Ce+`*(?:''|"")`)}),A.cssHas||E.push(":has"),E=E.length&&new RegExp(E.join("|")),Ve=function(M,w){if(M===w)return u=!0,0;var P=!M.compareDocumentPosition-!w.compareDocumentPosition;return P||(P=(M.ownerDocument||M)==(w.ownerDocument||w)?M.compareDocumentPosition(w):1,P&1||!A.sortDetached&&w.compareDocumentPosition(M)===P?M===l||M.ownerDocument==m&&Ne.contains(m,M)?-1:w===l||w.ownerDocument==m&&Ne.contains(m,w)?1:s?ye.call(s,M)-ye.call(s,w):0:P&4?-1:1)}),l}Ne.matches=function(d,_){return Ne(d,null,null,_)},Ne.matchesSelector=function(d,_){if(Gt(d),p&&!ot[_+" "]&&(!E||!E.test(_)))try{var I=B.call(d,_);if(I||A.disconnectedMatch||d.document&&d.document.nodeType!==11)return I}catch{ot(_,!0)}return Ne(_,l,null,[d]).length>0},Ne.contains=function(d,_){return(d.ownerDocument||d)!=l&&Gt(d),o.contains(d,_)},Ne.attr=function(d,_){(d.ownerDocument||d)!=l&&Gt(d);var I=n.attrHandle[_.toLowerCase()],M=I&&xe.call(n.attrHandle,_.toLowerCase())?I(d,_,!p):void 0;return M!==void 0?M:d.getAttribute(_)},Ne.error=function(d){throw new Error("Syntax error, unrecognized expression: "+d)},o.uniqueSort=function(d){var _,I=[],M=0,w=0;if(u=!A.sortStable,s=!A.sortStable&&ee.call(d,0),Ie.call(d,Ve),u){for(;_=d[w++];)_===d[w]&&(M=I.push(w));for(;M--;)nt.call(d,I[M],1)}return s=null,d},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(ee.apply(this)))},n=o.expr={cacheLength:50,createPseudo:Lt,match:kt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(d){return d[1]=d[1].replace(Ht,Mt),d[3]=(d[3]||d[4]||d[5]||"").replace(Ht,Mt),d[2]==="~="&&(d[3]=" "+d[3]+" "),d.slice(0,4)},CHILD:function(d){return d[1]=d[1].toLowerCase(),d[1].slice(0,3)==="nth"?(d[3]||Ne.error(d[0]),d[4]=+(d[4]?d[5]+(d[6]||1):2*(d[3]==="even"||d[3]==="odd")),d[5]=+(d[7]+d[8]||d[3]==="odd")):d[3]&&Ne.error(d[0]),d},PSEUDO:function(d){var _,I=!d[6]&&d[2];return kt.CHILD.test(d[0])?null:(d[3]?d[2]=d[4]||d[5]||"":I&&Dt.test(I)&&(_=Cn(I,!0))&&(_=I.indexOf(")",I.length-_)-I.length)&&(d[0]=d[0].slice(0,_),d[2]=I.slice(0,_)),d.slice(0,3))}},filter:{TAG:function(d){var _=d.replace(Ht,Mt).toLowerCase();return d==="*"?function(){return!0}:function(I){return J(I,_)}},CLASS:function(d){var _=se[d+" "];return _||(_=new RegExp("(^|"+Ce+")"+d+"("+Ce+"|$)"))&&se(d,function(I){return _.test(typeof I.className=="string"&&I.className||typeof I.getAttribute<"u"&&I.getAttribute("class")||"")})},ATTR:function(d,_,I){return function(M){var w=Ne.attr(M,d);return w==null?_==="!=":_?(w+="",_==="="?w===I:_==="!="?w!==I:_==="^="?I&&w.indexOf(I)===0:_==="*="?I&&w.indexOf(I)>-1:_==="$="?I&&w.slice(-I.length)===I:_==="~="?(" "+w.replace(Oe," ")+" ").indexOf(I)>-1:_==="|="?w===I||w.slice(0,I.length+1)===I+"-":!1):!0}},CHILD:function(d,_,I,M,w){var P=d.slice(0,3)!=="nth",q=d.slice(-4)!=="last",z=_==="of-type";return M===1&&w===0?function(Q){return!!Q.parentNode}:function(Q,de,ae){var oe,Se,pe,Re,ht,ft=P!==q?"nextSibling":"previousSibling",gt=Q.parentNode,Et=z&&Q.nodeName.toLowerCase(),Zt=!ae&&!z,Me=!1;if(gt){if(P){for(;ft;){for(pe=Q;pe=pe[ft];)if(z?J(pe,Et):pe.nodeType===1)return!1;ht=ft=d==="only"&&!ht&&"nextSibling"}return!0}if(ht=[q?gt.firstChild:gt.lastChild],q&&Zt){for(Se=gt[j]||(gt[j]={}),oe=Se[d]||[],Re=oe[0]===R&&oe[1],Me=Re&&oe[2],pe=Re&&gt.childNodes[Re];pe=++Re&&pe&&pe[ft]||(Me=Re=0)||ht.pop();)if(pe.nodeType===1&&++Me&&pe===Q){Se[d]=[R,Re,Me];break}}else if(Zt&&(Se=Q[j]||(Q[j]={}),oe=Se[d]||[],Re=oe[0]===R&&oe[1],Me=Re),Me===!1)for(;(pe=++Re&&pe&&pe[ft]||(Me=Re=0)||ht.pop())&&!((z?J(pe,Et):pe.nodeType===1)&&++Me&&(Zt&&(Se=pe[j]||(pe[j]={}),Se[d]=[R,Me]),pe===Q)););return Me-=w,Me===M||Me%M===0&&Me/M>=0}}},PSEUDO:function(d,_){var I,M=n.pseudos[d]||n.setFilters[d.toLowerCase()]||Ne.error("unsupported pseudo: "+d);return M[j]?M(_):M.length>1?(I=[d,d,"",_],n.setFilters.hasOwnProperty(d.toLowerCase())?Lt(function(w,P){for(var q,z=M(w,_),Q=z.length;Q--;)q=ye.call(w,z[Q]),w[q]=!(P[q]=z[Q])}):function(w){return M(w,0,I)}):M}},pseudos:{not:Lt(function(d){var _=[],I=[],M=Li(d.replace(Tt,"$1"));return M[j]?Lt(function(w,P,q,z){for(var Q,de=M(w,null,z,[]),ae=w.length;ae--;)(Q=de[ae])&&(w[ae]=!(P[ae]=Q))}):function(w,P,q){return _[0]=w,M(_,null,q,I),_[0]=null,!I.pop()}}),has:Lt(function(d){return function(_){return Ne(d,_).length>0}}),contains:Lt(function(d){return d=d.replace(Ht,Mt),function(_){return(_.textContent||o.text(_)).indexOf(d)>-1}}),lang:Lt(function(d){return mn.test(d||"")||Ne.error("unsupported lang: "+d),d=d.replace(Ht,Mt).toLowerCase(),function(_){var I;do if(I=p?_.lang:_.getAttribute("xml:lang")||_.getAttribute("lang"))return I=I.toLowerCase(),I===d||I.indexOf(d+"-")===0;while((_=_.parentNode)&&_.nodeType===1);return!1}}),target:function(d){var _=C.location&&C.location.hash;return _&&_.slice(1)===d.id},root:function(d){return d===v},focus:function(d){return d===Si()&&l.hasFocus()&&!!(d.type||d.href||~d.tabIndex)},enabled:Sr(!1),disabled:Sr(!0),checked:function(d){return J(d,"input")&&!!d.checked||J(d,"option")&&!!d.selected},selected:function(d){return d.parentNode&&d.parentNode.selectedIndex,d.selected===!0},empty:function(d){for(d=d.firstChild;d;d=d.nextSibling)if(d.nodeType<6)return!1;return!0},parent:function(d){return!n.pseudos.empty(d)},header:function(d){return Kt.test(d.nodeName)},input:function(d){return Ut.test(d.nodeName)},button:function(d){return J(d,"input")&&d.type==="button"||J(d,"button")},text:function(d){var _;return J(d,"input")&&d.type==="text"&&((_=d.getAttribute("type"))==null||_.toLowerCase()==="text")},first:Pt(function(){return[0]}),last:Pt(function(d,_){return[_-1]}),eq:Pt(function(d,_,I){return[I<0?I+_:I]}),even:Pt(function(d,_){for(var I=0;I<_;I+=2)d.push(I);return d}),odd:Pt(function(d,_){for(var I=1;I<_;I+=2)d.push(I);return d}),lt:Pt(function(d,_,I){var M;for(I<0?M=I+_:I>_?M=_:M=I;--M>=0;)d.push(M);return d}),gt:Pt(function(d,_,I){for(var M=I<0?I+_:I;++M<_;)d.push(M);return d})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=_o(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=To(e);function Ai(){}Ai.prototype=n.filters=n.pseudos,n.setFilters=new Ai;function Cn(d,_){var I,M,w,P,q,z,Q,de=Ae[d+" "];if(de)return _?0:de.slice(0);for(q=d,z=[],Q=n.preFilter;q;){(!I||(M=$e.exec(q)))&&(M&&(q=q.slice(M[0].length)||q),z.push(w=[])),I=!1,(M=Mn.exec(q))&&(I=M.shift(),w.push({value:I,type:M[0].replace(Tt," ")}),q=q.slice(I.length));for(P in n.filter)(M=kt[P].exec(q))&&(!Q[P]||(M=Q[P](M)))&&(I=M.shift(),w.push({value:I,type:P,matches:M}),q=q.slice(I.length));if(!I)break}return _?q.length:q?Ne.error(d):Ae(d,z).slice(0)}function Jt(d){for(var _=0,I=d.length,M="";_<I;_++)M+=d[_].value;return M}function Sn(d,_,I){var M=_.dir,w=_.next,P=w||M,q=I&&P==="parentNode",z=V++;return _.first?function(Q,de,ae){for(;Q=Q[M];)if(Q.nodeType===1||q)return d(Q,de,ae);return!1}:function(Q,de,ae){var oe,Se,pe=[R,z];if(ae){for(;Q=Q[M];)if((Q.nodeType===1||q)&&d(Q,de,ae))return!0}else for(;Q=Q[M];)if(Q.nodeType===1||q)if(Se=Q[j]||(Q[j]={}),w&&J(Q,w))Q=Q[M]||Q;else{if((oe=Se[P])&&oe[0]===R&&oe[1]===z)return pe[2]=oe[2];if(Se[P]=pe,pe[2]=d(Q,de,ae))return!0}return!1}}function ki(d){return d.length>1?function(_,I,M){for(var w=d.length;w--;)if(!d[w](_,I,M))return!1;return!0}:d[0]}function Co(d,_,I){for(var M=0,w=_.length;M<w;M++)Ne(d,_[M],I);return I}function Zn(d,_,I,M,w){for(var P,q=[],z=0,Q=d.length,de=_!=null;z<Q;z++)(P=d[z])&&(!I||I(P,M,w))&&(q.push(P),de&&_.push(z));return q}function En(d,_,I,M,w,P){return M&&!M[j]&&(M=En(M)),w&&!w[j]&&(w=En(w,P)),Lt(function(q,z,Q,de){var ae,oe,Se,pe,Re=[],ht=[],ft=z.length,gt=q||Co(_||"*",Q.nodeType?[Q]:Q,[]),Et=d&&(q||!_)?Zn(gt,Re,d,Q,de):gt;if(I?(pe=w||(q?d:ft||M)?[]:z,I(Et,pe,Q,de)):pe=Et,M)for(ae=Zn(pe,ht),M(ae,[],Q,de),oe=ae.length;oe--;)(Se=ae[oe])&&(pe[ht[oe]]=!(Et[ht[oe]]=Se));if(q){if(w||d){if(w){for(ae=[],oe=pe.length;oe--;)(Se=pe[oe])&&ae.push(Et[oe]=Se);w(null,pe=[],ae,de)}for(oe=pe.length;oe--;)(Se=pe[oe])&&(ae=w?ye.call(q,Se):Re[oe])>-1&&(q[ae]=!(z[ae]=Se))}}else pe=Zn(pe===z?pe.splice(ft,pe.length):pe),w?w(null,z,pe,de):f.apply(z,pe)})}function Vt(d){for(var _,I,M,w=d.length,P=n.relative[d[0].type],q=P||n.relative[" "],z=P?1:0,Q=Sn(function(oe){return oe===_},q,!0),de=Sn(function(oe){return ye.call(_,oe)>-1},q,!0),ae=[function(oe,Se,pe){var Re=!P&&(pe||Se!=r)||((_=Se).nodeType?Q(oe,Se,pe):de(oe,Se,pe));return _=null,Re}];z<w;z++)if(I=n.relative[d[z].type])ae=[Sn(ki(ae),I)];else{if(I=n.filter[d[z].type].apply(null,d[z].matches),I[j]){for(M=++z;M<w&&!n.relative[d[M].type];M++);return En(z>1&&ki(ae),z>1&&Jt(d.slice(0,z-1).concat({value:d[z-2].type===" "?"*":""})).replace(Tt,"$1"),I,z<M&&Vt(d.slice(z,M)),M<w&&Vt(d=d.slice(M)),M<w&&Jt(d))}ae.push(I)}return ki(ae)}function Ur(d,_){var I=_.length>0,M=d.length>0,w=function(P,q,z,Q,de){var ae,oe,Se,pe=0,Re="0",ht=P&&[],ft=[],gt=r,Et=P||M&&n.find.TAG("*",de),Zt=R+=gt==null?1:Math.random()||.1,Me=Et.length;for(de&&(r=q==l||q||de);Re!==Me&&(ae=Et[Re])!=null;Re++){if(M&&ae){for(oe=0,!q&&ae.ownerDocument!=l&&(Gt(ae),z=!p);Se=d[oe++];)if(Se(ae,q||l,z)){f.call(Q,ae);break}de&&(R=Zt)}I&&((ae=!Se&&ae)&&pe--,P&&ht.push(ae))}if(pe+=Re,I&&Re!==pe){for(oe=0;Se=_[oe++];)Se(ht,ft,q,z);if(P){if(pe>0)for(;Re--;)ht[Re]||ft[Re]||(ft[Re]=fe.call(Q));ft=Zn(ft)}f.apply(Q,ft),de&&!P&&ft.length>0&&pe+_.length>1&&o.uniqueSort(Q)}return de&&(R=Zt,r=gt),ht};return I?Lt(w):w}function Li(d,_){var I,M=[],w=[],P=Te[d+" "];if(!P){for(_||(_=Cn(d)),I=_.length;I--;)P=Vt(_[I]),P[j]?M.push(P):w.push(P);P=Te(d,Ur(w,M)),P.selector=d}return P}function Er(d,_,I,M){var w,P,q,z,Q,de=typeof d=="function"&&d,ae=!M&&Cn(d=de.selector||d);if(I=I||[],ae.length===1){if(P=ae[0]=ae[0].slice(0),P.length>2&&(q=P[0]).type==="ID"&&_.nodeType===9&&p&&n.relative[P[1].type]){if(_=(n.find.ID(q.matches[0].replace(Ht,Mt),_)||[])[0],_)de&&(_=_.parentNode);else return I;d=d.slice(P.shift().value.length)}for(w=kt.needsContext.test(d)?0:P.length;w--&&(q=P[w],!n.relative[z=q.type]);)if((Q=n.find[z])&&(M=Q(q.matches[0].replace(Ht,Mt),Jn.test(P[0].type)&&Ei(_.parentNode)||_))){if(P.splice(w,1),d=M.length&&Jt(P),!d)return f.apply(I,M),I;break}}return(de||Li(d,ae))(M,_,!p,I,!_||Jn.test(d)&&Ei(_.parentNode)||_),I}A.sortStable=j.split("").sort(Ve).join("")===j,Gt(),A.sortDetached=yn(function(d){return d.compareDocumentPosition(l.createElement("fieldset"))&1}),o.find=Ne,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,Ne.compile=Li,Ne.select=Er,Ne.setDocument=Gt,Ne.tokenize=Cn,Ne.escape=o.escapeSelector,Ne.getText=o.text,Ne.isXML=o.isXMLDoc,Ne.selectors=o.expr,Ne.support=o.support,Ne.uniqueSort=o.uniqueSort})();var F=function(e,n,r){for(var s=[],u=r!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(u&&o(e).is(r))break;s.push(e)}return s},ne=function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r},re=o.expr.match.needsContext,me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ce(e,n,r){return y(n)?o.grep(e,function(s,u){return!!n.call(s,u,s)!==r}):n.nodeType?o.grep(e,function(s){return s===n!==r}):typeof n!="string"?o.grep(e,function(s){return ye.call(n,s)>-1!==r}):o.filter(n,e,r)}o.filter=function(e,n,r){var s=n[0];return r&&(e=":not("+e+")"),n.length===1&&s.nodeType===1?o.find.matchesSelector(s,e)?[s]:[]:o.find.matches(e,o.grep(n,function(u){return u.nodeType===1}))},o.fn.extend({find:function(e){var n,r,s=this.length,u=this;if(typeof e!="string")return this.pushStack(o(e).filter(function(){for(n=0;n<s;n++)if(o.contains(u[n],this))return!0}));for(r=this.pushStack([]),n=0;n<s;n++)o.find(e,u[n],r);return s>1?o.uniqueSort(r):r},filter:function(e){return this.pushStack(ce(this,e||[],!1))},not:function(e){return this.pushStack(ce(this,e||[],!0))},is:function(e){return!!ce(this,typeof e=="string"&&re.test(e)?o(e):e||[],!1).length}});var te,be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ge=o.fn.init=function(e,n,r){var s,u;if(!e)return this;if(r=r||te,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?s=[null,e,null]:s=be.exec(e),s&&(s[1]||!n))if(s[1]){if(n=n instanceof o?n[0]:n,o.merge(this,o.parseHTML(s[1],n&&n.nodeType?n.ownerDocument||n:b,!0)),me.test(s[1])&&o.isPlainObject(n))for(s in n)y(this[s])?this[s](n[s]):this.attr(s,n[s]);return this}else return u=b.getElementById(s[2]),u&&(this[0]=u,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(y(e))return r.ready!==void 0?r.ready(e):e(o)}return o.makeArray(e,this)};ge.prototype=o.fn,te=o(b);var De=/^(?:parents|prev(?:Until|All))/,Ke={children:!0,contents:!0,next:!0,prev:!0};o.fn.extend({has:function(e){var n=o(e,this),r=n.length;return this.filter(function(){for(var s=0;s<r;s++)if(o.contains(this,n[s]))return!0})},closest:function(e,n){var r,s=0,u=this.length,f=[],l=typeof e!="string"&&o(e);if(!re.test(e)){for(;s<u;s++)for(r=this[s];r&&r!==n;r=r.parentNode)if(r.nodeType<11&&(l?l.index(r)>-1:r.nodeType===1&&o.find.matchesSelector(r,e))){f.push(r);break}}return this.pushStack(f.length>1?o.uniqueSort(f):f)},index:function(e){return e?typeof e=="string"?ye.call(o(e),this[0]):ye.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Ge(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}o.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return F(e,"parentNode")},parentsUntil:function(e,n,r){return F(e,"parentNode",r)},next:function(e){return Ge(e,"nextSibling")},prev:function(e){return Ge(e,"previousSibling")},nextAll:function(e){return F(e,"nextSibling")},prevAll:function(e){return F(e,"previousSibling")},nextUntil:function(e,n,r){return F(e,"nextSibling",r)},prevUntil:function(e,n,r){return F(e,"previousSibling",r)},siblings:function(e){return ne((e.parentNode||{}).firstChild,e)},children:function(e){return ne(e.firstChild)},contents:function(e){return e.contentDocument!=null&&Z(e.contentDocument)?e.contentDocument:(J(e,"template")&&(e=e.content||e),o.merge([],e.childNodes))}},function(e,n){o.fn[e]=function(r,s){var u=o.map(this,n,r);return e.slice(-5)!=="Until"&&(s=r),s&&typeof s=="string"&&(u=o.filter(s,u)),this.length>1&&(Ke[e]||o.uniqueSort(u),De.test(e)&&u.reverse()),this.pushStack(u)}});var Fe=/[^\x20\t\r\n\f]+/g;function He(e){var n={};return o.each(e.match(Fe)||[],function(r,s){n[s]=!0}),n}o.Callbacks=function(e){e=typeof e=="string"?He(e):o.extend({},e);var n,r,s,u,f=[],l=[],v=-1,p=function(){for(u=u||e.once,s=n=!0;l.length;v=-1)for(r=l.shift();++v<f.length;)f[v].apply(r[0],r[1])===!1&&e.stopOnFalse&&(v=f.length,r=!1);e.memory||(r=!1),n=!1,u&&(r?f=[]:f="")},E={add:function(){return f&&(r&&!n&&(v=f.length-1,l.push(r)),(function B(j){o.each(j,function(R,V){y(V)?(!e.unique||!E.has(V))&&f.push(V):V&&V.length&&S(V)!=="string"&&B(V)})})(arguments),r&&!n&&p()),this},remove:function(){return o.each(arguments,function(B,j){for(var R;(R=o.inArray(j,f,R))>-1;)f.splice(R,1),R<=v&&v--}),this},has:function(B){return B?o.inArray(B,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return u=l=[],f=r="",this},disabled:function(){return!f},lock:function(){return u=l=[],!r&&!n&&(f=r=""),this},locked:function(){return!!u},fireWith:function(B,j){return u||(j=j||[],j=[B,j.slice?j.slice():j],l.push(j),n||p()),this},fire:function(){return E.fireWith(this,arguments),this},fired:function(){return!!s}};return E};function Ze(e){return e}function Qe(e){throw e}function Be(e,n,r,s){var u;try{e&&y(u=e.promise)?u.call(e).done(n).fail(r):e&&y(u=e.then)?u.call(e,n,r):n.apply(void 0,[e].slice(s))}catch(f){r.apply(void 0,[f])}}o.extend({Deferred:function(e){var n=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return u.done(arguments).fail(arguments),this},catch:function(f){return s.then(null,f)},pipe:function(){var f=arguments;return o.Deferred(function(l){o.each(n,function(v,p){var E=y(f[p[4]])&&f[p[4]];u[p[1]](function(){var B=E&&E.apply(this,arguments);B&&y(B.promise)?B.promise().progress(l.notify).done(l.resolve).fail(l.reject):l[p[0]+"With"](this,E?[B]:arguments)})}),f=null}).promise()},then:function(f,l,v){var p=0;function E(B,j,R,V){return function(){var se=this,Ae=arguments,Te=function(){var Ve,It;if(!(B<p)){if(Ve=R.apply(se,Ae),Ve===j.promise())throw new TypeError("Thenable self-resolution");It=Ve&&(typeof Ve=="object"||typeof Ve=="function")&&Ve.then,y(It)?V?It.call(Ve,E(p,j,Ze,V),E(p,j,Qe,V)):(p++,It.call(Ve,E(p,j,Ze,V),E(p,j,Qe,V),E(p,j,Ze,j.notifyWith))):(R!==Ze&&(se=void 0,Ae=[Ve]),(V||j.resolveWith)(se,Ae))}},ot=V?Te:function(){try{Te()}catch(Ve){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Ve,ot.error),B+1>=p&&(R!==Qe&&(se=void 0,Ae=[Ve]),j.rejectWith(se,Ae))}};B?ot():(o.Deferred.getErrorHook?ot.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(ot.error=o.Deferred.getStackHook()),C.setTimeout(ot))}}return o.Deferred(function(B){n[0][3].add(E(0,B,y(v)?v:Ze,B.notifyWith)),n[1][3].add(E(0,B,y(f)?f:Ze)),n[2][3].add(E(0,B,y(l)?l:Qe))}).promise()},promise:function(f){return f!=null?o.extend(f,s):s}},u={};return o.each(n,function(f,l){var v=l[2],p=l[5];s[l[1]]=v.add,p&&v.add(function(){r=p},n[3-f][2].disable,n[3-f][3].disable,n[0][2].lock,n[0][3].lock),v.add(l[3].fire),u[l[0]]=function(){return u[l[0]+"With"](this===u?void 0:this,arguments),this},u[l[0]+"With"]=v.fireWith}),s.promise(u),e&&e.call(u,u),u},when:function(e){var n=arguments.length,r=n,s=Array(r),u=ee.call(arguments),f=o.Deferred(),l=function(v){return function(p){s[v]=this,u[v]=arguments.length>1?ee.call(arguments):p,--n||f.resolveWith(s,u)}};if(n<=1&&(Be(e,f.done(l(r)).resolve,f.reject,!n),f.state()==="pending"||y(u[r]&&u[r].then)))return f.then();for(;r--;)Be(u[r],l(r),f.reject);return f.promise()}});var et=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(e,n){C.console&&C.console.warn&&e&&et.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},o.readyException=function(e){C.setTimeout(function(){throw e})};var Ye=o.Deferred();o.fn.ready=function(e){return Ye.then(e).catch(function(n){o.readyException(n)}),this},o.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--o.readyWait:o.isReady)||(o.isReady=!0,!(e!==!0&&--o.readyWait>0)&&Ye.resolveWith(b,[o]))}}),o.ready.then=Ye.then;function rt(){b.removeEventListener("DOMContentLoaded",rt),C.removeEventListener("load",rt),o.ready()}b.readyState==="complete"||b.readyState!=="loading"&&!b.documentElement.doScroll?C.setTimeout(o.ready):(b.addEventListener("DOMContentLoaded",rt),C.addEventListener("load",rt));var St=function(e,n,r,s,u,f,l){var v=0,p=e.length,E=r==null;if(S(r)==="object"){u=!0;for(v in r)St(e,n,v,r[v],!0,f,l)}else if(s!==void 0&&(u=!0,y(s)||(l=!0),E&&(l?(n.call(e,s),n=null):(E=n,n=function(B,j,R){return E.call(o(B),R)})),n))for(;v<p;v++)n(e[v],r,l?s:s.call(e[v],v,n(e[v],r)));return u?e:E?n.call(e):p?n(e[0],r):f},ii=/^-ms-/,Vn=/-([a-z])/g;function tn(e,n){return n.toUpperCase()}function bt(e){return e.replace(ii,"ms-").replace(Vn,tn)}var $t=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function jt(){this.expando=o.expando+jt.uid++}jt.uid=1,jt.prototype={cache:function(e){var n=e[this.expando];return n||(n={},$t(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,r){var s,u=this.cache(e);if(typeof n=="string")u[bt(n)]=r;else for(s in n)u[bt(s)]=n[s];return u},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][bt(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,s=e[this.expando];if(s!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(bt):(n=bt(n),n=n in s?[n]:n.match(Fe)||[]),r=n.length;r--;)delete s[n[r]];(n===void 0||o.isEmptyObject(s))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!o.isEmptyObject(n)}};var ie=new jt,ut=new jt,pi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ri=/[A-Z]/g;function Ji(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:pi.test(e)?JSON.parse(e):e}function gi(e,n,r){var s;if(r===void 0&&e.nodeType===1)if(s="data-"+n.replace(ri,"-$&").toLowerCase(),r=e.getAttribute(s),typeof r=="string"){try{r=Ji(r)}catch{}ut.set(e,n,r)}else r=void 0;return r}o.extend({hasData:function(e){return ut.hasData(e)||ie.hasData(e)},data:function(e,n,r){return ut.access(e,n,r)},removeData:function(e,n){ut.remove(e,n)},_data:function(e,n,r){return ie.access(e,n,r)},_removeData:function(e,n){ie.remove(e,n)}}),o.fn.extend({data:function(e,n){var r,s,u,f=this[0],l=f&&f.attributes;if(e===void 0){if(this.length&&(u=ut.get(f),f.nodeType===1&&!ie.get(f,"hasDataAttrs"))){for(r=l.length;r--;)l[r]&&(s=l[r].name,s.indexOf("data-")===0&&(s=bt(s.slice(5)),gi(f,s,u[s])));ie.set(f,"hasDataAttrs",!0)}return u}return typeof e=="object"?this.each(function(){ut.set(this,e)}):St(this,function(v){var p;if(f&&v===void 0)return p=ut.get(f,e),p!==void 0||(p=gi(f,e),p!==void 0)?p:void 0;this.each(function(){ut.set(this,e,v)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ut.remove(this,e)})}}),o.extend({queue:function(e,n,r){var s;if(e)return n=(n||"fx")+"queue",s=ie.get(e,n),r&&(!s||Array.isArray(r)?s=ie.access(e,n,o.makeArray(r)):s.push(r)),s||[]},dequeue:function(e,n){n=n||"fx";var r=o.queue(e,n),s=r.length,u=r.shift(),f=o._queueHooks(e,n),l=function(){o.dequeue(e,n)};u==="inprogress"&&(u=r.shift(),s--),u&&(n==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(e,l,f)),!s&&f&&f.empty.fire()},_queueHooks:function(e,n){var r=n+"queueHooks";return ie.get(e,r)||ie.access(e,r,{empty:o.Callbacks("once memory").add(function(){ie.remove(e,[n+"queue",r])})})}}),o.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?o.queue(this[0],e):n===void 0?this:this.each(function(){var s=o.queue(this,e,n);o._queueHooks(this,e),e==="fx"&&s[0]!=="inprogress"&&o.dequeue(this,e)})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,s=1,u=o.Deferred(),f=this,l=this.length,v=function(){--s||u.resolveWith(f,[f])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";l--;)r=ie.get(f[l],e+"queueHooks"),r&&r.empty&&(s++,r.empty.add(v));return v(),u.promise(n)}});var vi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,hn=new RegExp("^(?:([+-])=|)("+vi+")([a-z%]*)$","i"),Ot=["Top","Right","Bottom","Left"],Wt=b.documentElement,nn=function(e){return o.contains(e.ownerDocument,e)},Zi={composed:!0};Wt.getRootNode&&(nn=function(e){return o.contains(e.ownerDocument,e)||e.getRootNode(Zi)===e.ownerDocument});var In=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&nn(e)&&o.css(e,"display")==="none"};function er(e,n,r,s){var u,f,l=20,v=s?function(){return s.cur()}:function(){return o.css(e,n,"")},p=v(),E=r&&r[3]||(o.cssNumber[n]?"":"px"),B=e.nodeType&&(o.cssNumber[n]||E!=="px"&&+p)&&hn.exec(o.css(e,n));if(B&&B[3]!==E){for(p=p/2,E=E||B[3],B=+p||1;l--;)o.style(e,n,B+E),(1-f)*(1-(f=v()/p||.5))<=0&&(l=0),B=B/f;B=B*2,o.style(e,n,B+E),r=r||[]}return r&&(B=+B||+p||0,u=r[1]?B+(r[1]+1)*r[2]:+r[2],s&&(s.unit=E,s.start=B,s.end=u)),u}var tr={};function to(e){var n,r=e.ownerDocument,s=e.nodeName,u=tr[s];return u||(n=r.body.appendChild(r.createElement(s)),u=o.css(n,"display"),n.parentNode.removeChild(n),u==="none"&&(u="block"),tr[s]=u,u)}function an(e,n){for(var r,s,u=[],f=0,l=e.length;f<l;f++)s=e[f],s.style&&(r=s.style.display,n?(r==="none"&&(u[f]=ie.get(s,"display")||null,u[f]||(s.style.display="")),s.style.display===""&&In(s)&&(u[f]=to(s))):r!=="none"&&(u[f]="none",ie.set(s,"display",r)));for(f=0;f<l;f++)u[f]!=null&&(e[f].style.display=u[f]);return e}o.fn.extend({show:function(){return an(this,!0)},hide:function(){return an(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){In(this)?o(this).show():o(this).hide()})}});var _n=/^(?:checkbox|radio)$/i,nr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ir=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=b.createDocumentFragment(),n=e.appendChild(b.createElement("div")),r=b.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),n.appendChild(r),A.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",A.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",A.option=!!n.lastChild})();var Ct={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,"",""]};Ct.tbody=Ct.tfoot=Ct.colgroup=Ct.caption=Ct.thead,Ct.th=Ct.td,A.option||(Ct.optgroup=Ct.option=[1,"<select multiple='multiple'>","</select>"]);function mt(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&&J(e,n)?o.merge([e],r):r}function oi(e,n){for(var r=0,s=e.length;r<s;r++)ie.set(e[r],"globalEval",!n||ie.get(n[r],"globalEval"))}var no=/<|&#?\w+;/;function rr(e,n,r,s,u){for(var f,l,v,p,E,B,j=n.createDocumentFragment(),R=[],V=0,se=e.length;V<se;V++)if(f=e[V],f||f===0)if(S(f)==="object")o.merge(R,f.nodeType?[f]:f);else if(!no.test(f))R.push(n.createTextNode(f));else{for(l=l||j.appendChild(n.createElement("div")),v=(nr.exec(f)||["",""])[1].toLowerCase(),p=Ct[v]||Ct._default,l.innerHTML=p[1]+o.htmlPrefilter(f)+p[2],B=p[0];B--;)l=l.lastChild;o.merge(R,l.childNodes),l=j.firstChild,l.textContent=""}for(j.textContent="",V=0;f=R[V++];){if(s&&o.inArray(f,s)>-1){u&&u.push(f);continue}if(E=nn(f),l=mt(j.appendChild(f),"script"),E&&oi(l),r)for(B=0;f=l[B++];)ir.test(f.type||"")&&r.push(f)}return j}var or=/^([^.]*)(?:\.(.+)|)/;function rn(){return!0}function dn(){return!1}function zn(e,n,r,s,u,f){var l,v;if(typeof n=="object"){typeof r!="string"&&(s=s||r,r=void 0);for(v in n)zn(e,v,r,s,n[v],f);return e}if(s==null&&u==null?(u=r,s=r=void 0):u==null&&(typeof r=="string"?(u=s,s=void 0):(u=s,s=r,r=void 0)),u===!1)u=dn;else if(!u)return e;return f===1&&(l=u,u=function(p){return o().off(p),l.apply(this,arguments)},u.guid=l.guid||(l.guid=o.guid++)),e.each(function(){o.event.add(this,n,u,s,r)})}o.event={global:{},add:function(e,n,r,s,u){var f,l,v,p,E,B,j,R,V,se,Ae,Te=ie.get(e);if($t(e))for(r.handler&&(f=r,r=f.handler,u=f.selector),u&&o.find.matchesSelector(Wt,u),r.guid||(r.guid=o.guid++),(p=Te.events)||(p=Te.events=Object.create(null)),(l=Te.handle)||(l=Te.handle=function(ot){return typeof o<"u"&&o.event.triggered!==ot.type?o.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(Fe)||[""],E=n.length;E--;)v=or.exec(n[E])||[],V=Ae=v[1],se=(v[2]||"").split(".").sort(),V&&(j=o.event.special[V]||{},V=(u?j.delegateType:j.bindType)||V,j=o.event.special[V]||{},B=o.extend({type:V,origType:Ae,data:s,handler:r,guid:r.guid,selector:u,needsContext:u&&o.expr.match.needsContext.test(u),namespace:se.join(".")},f),(R=p[V])||(R=p[V]=[],R.delegateCount=0,(!j.setup||j.setup.call(e,s,se,l)===!1)&&e.addEventListener&&e.addEventListener(V,l)),j.add&&(j.add.call(e,B),B.handler.guid||(B.handler.guid=r.guid)),u?R.splice(R.delegateCount++,0,B):R.push(B),o.event.global[V]=!0)},remove:function(e,n,r,s,u){var f,l,v,p,E,B,j,R,V,se,Ae,Te=ie.hasData(e)&&ie.get(e);if(!(!Te||!(p=Te.events))){for(n=(n||"").match(Fe)||[""],E=n.length;E--;){if(v=or.exec(n[E])||[],V=Ae=v[1],se=(v[2]||"").split(".").sort(),!V){for(V in p)o.event.remove(e,V+n[E],r,s,!0);continue}for(j=o.event.special[V]||{},V=(s?j.delegateType:j.bindType)||V,R=p[V]||[],v=v[2]&&new RegExp("(^|\\.)"+se.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=f=R.length;f--;)B=R[f],(u||Ae===B.origType)&&(!r||r.guid===B.guid)&&(!v||v.test(B.namespace))&&(!s||s===B.selector||s==="**"&&B.selector)&&(R.splice(f,1),B.selector&&R.delegateCount--,j.remove&&j.remove.call(e,B));l&&!R.length&&((!j.teardown||j.teardown.call(e,se,Te.handle)===!1)&&o.removeEvent(e,V,Te.handle),delete p[V])}o.isEmptyObject(p)&&ie.remove(e,"handle events")}},dispatch:function(e){var n,r,s,u,f,l,v=new Array(arguments.length),p=o.event.fix(e),E=(ie.get(this,"events")||Object.create(null))[p.type]||[],B=o.event.special[p.type]||{};for(v[0]=p,n=1;n<arguments.length;n++)v[n]=arguments[n];if(p.delegateTarget=this,!(B.preDispatch&&B.preDispatch.call(this,p)===!1)){for(l=o.event.handlers.call(this,p,E),n=0;(u=l[n++])&&!p.isPropagationStopped();)for(p.currentTarget=u.elem,r=0;(f=u.handlers[r++])&&!p.isImmediatePropagationStopped();)(!p.rnamespace||f.namespace===!1||p.rnamespace.test(f.namespace))&&(p.handleObj=f,p.data=f.data,s=((o.event.special[f.origType]||{}).handle||f.handler).apply(u.elem,v),s!==void 0&&(p.result=s)===!1&&(p.preventDefault(),p.stopPropagation()));return B.postDispatch&&B.postDispatch.call(this,p),p.result}},handlers:function(e,n){var r,s,u,f,l,v=[],p=n.delegateCount,E=e.target;if(p&&E.nodeType&&!(e.type==="click"&&e.button>=1)){for(;E!==this;E=E.parentNode||this)if(E.nodeType===1&&!(e.type==="click"&&E.disabled===!0)){for(f=[],l={},r=0;r<p;r++)s=n[r],u=s.selector+" ",l[u]===void 0&&(l[u]=s.needsContext?o(u,this).index(E)>-1:o.find(u,this,null,[E]).length),l[u]&&f.push(s);f.length&&v.push({elem:E,handlers:f})}}return E=this,p<n.length&&v.push({elem:E,handlers:n.slice(p)}),v},addProp:function(e,n){Object.defineProperty(o.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(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[o.expando]?e:new o.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return _n.test(n.type)&&n.click&&J(n,"input")&&Qn(n,"click",!0),!1},trigger:function(e){var n=this||e;return _n.test(n.type)&&n.click&&J(n,"input")&&Qn(n,"click"),!0},_default:function(e){var n=e.target;return _n.test(n.type)&&n.click&&J(n,"input")&&ie.get(n,"click")||J(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function Qn(e,n,r){if(!r){ie.get(e,n)===void 0&&o.event.add(e,n,rn);return}ie.set(e,n,!1),o.event.add(e,n,{namespace:!1,handler:function(s){var u,f=ie.get(this,n);if(s.isTrigger&1&&this[n]){if(f)(o.event.special[n]||{}).delegateType&&s.stopPropagation();else if(f=ee.call(arguments),ie.set(this,n,f),this[n](),u=ie.get(this,n),ie.set(this,n,!1),f!==u)return s.stopImmediatePropagation(),s.preventDefault(),u}else f&&(ie.set(this,n,o.event.trigger(f[0],f.slice(1),this)),s.stopPropagation(),s.isImmediatePropagationStopped=rn)}})}o.removeEvent=function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r)},o.Event=function(e,n){if(!(this instanceof o.Event))return new o.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?rn:dn,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&&o.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:dn,isPropagationStopped:dn,isImmediatePropagationStopped:dn,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=rn,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=rn,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=rn,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},o.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},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(e,n){function r(s){if(b.documentMode){var u=ie.get(this,"handle"),f=o.event.fix(s);f.type=s.type==="focusin"?"focus":"blur",f.isSimulated=!0,u(s),f.target===f.currentTarget&&u(f)}else o.event.simulate(n,s.target,o.event.fix(s))}o.event.special[e]={setup:function(){var s;if(Qn(this,e,!0),b.documentMode)s=ie.get(this,n),s||this.addEventListener(n,r),ie.set(this,n,(s||0)+1);else return!1},trigger:function(){return Qn(this,e),!0},teardown:function(){var s;if(b.documentMode)s=ie.get(this,n)-1,s?ie.set(this,n,s):(this.removeEventListener(n,r),ie.remove(this,n));else return!1},_default:function(s){return ie.get(s.target,e)},delegateType:n},o.event.special[n]={setup:function(){var s=this.ownerDocument||this.document||this,u=b.documentMode?this:s,f=ie.get(u,n);f||(b.documentMode?this.addEventListener(n,r):s.addEventListener(e,r,!0)),ie.set(u,n,(f||0)+1)},teardown:function(){var s=this.ownerDocument||this.document||this,u=b.documentMode?this:s,f=ie.get(u,n)-1;f?ie.set(u,n,f):(b.documentMode?this.removeEventListener(n,r):s.removeEventListener(e,r,!0),ie.remove(u,n))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){o.event.special[e]={delegateType:n,bindType:n,handle:function(r){var s,u=this,f=r.relatedTarget,l=r.handleObj;return(!f||f!==u&&!o.contains(u,f))&&(r.type=l.origType,s=l.handler.apply(this,arguments),r.type=n),s}}}),o.fn.extend({on:function(e,n,r,s){return zn(this,e,n,r,s)},one:function(e,n,r,s){return zn(this,e,n,r,s,1)},off:function(e,n,r){var s,u;if(e&&e.preventDefault&&e.handleObj)return s=e.handleObj,o(e.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if(typeof e=="object"){for(u in e)this.off(u,n,e[u]);return this}return(n===!1||typeof n=="function")&&(r=n,n=void 0),r===!1&&(r=dn),this.each(function(){o.event.remove(this,e,r,n)})}});var io=/<script|<style|<link/i,ro=/checked\s*(?:[^=]|=\s*.checked.)/i,oo=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function sr(e,n){return J(e,"table")&&J(n.nodeType!==11?n:n.firstChild,"tr")&&o(e).children("tbody")[0]||e}function so(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function ao(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ar(e,n){var r,s,u,f,l,v,p;if(n.nodeType===1){if(ie.hasData(e)&&(f=ie.get(e),p=f.events,p)){ie.remove(n,"handle events");for(u in p)for(r=0,s=p[u].length;r<s;r++)o.event.add(n,u,p[u][r])}ut.hasData(e)&&(l=ut.access(e),v=o.extend({},l),ut.set(n,v))}}function Mr(e,n){var r=n.nodeName.toLowerCase();r==="input"&&_n.test(e.type)?n.checked=e.checked:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue)}function pn(e,n,r,s){n=he(n);var u,f,l,v,p,E,B=0,j=e.length,R=j-1,V=n[0],se=y(V);if(se||j>1&&typeof V=="string"&&!A.checkClone&&ro.test(V))return e.each(function(Ae){var Te=e.eq(Ae);se&&(n[0]=V.call(this,Ae,Te.html())),pn(Te,n,r,s)});if(j&&(u=rr(n,e[0].ownerDocument,!1,e,s),f=u.firstChild,u.childNodes.length===1&&(u=f),f||s)){for(l=o.map(mt(u,"script"),so),v=l.length;B<j;B++)p=u,B!==R&&(p=o.clone(p,!0,!0),v&&o.merge(l,mt(p,"script"))),r.call(e[B],p,B);if(v)for(E=l[l.length-1].ownerDocument,o.map(l,ao),B=0;B<v;B++)p=l[B],ir.test(p.type||"")&&!ie.access(p,"globalEval")&&o.contains(E,p)&&(p.src&&(p.type||"").toLowerCase()!=="module"?o._evalUrl&&!p.noModule&&o._evalUrl(p.src,{nonce:p.nonce||p.getAttribute("nonce")},E):g(p.textContent.replace(oo,""),p,E))}return e}function ur(e,n,r){for(var s,u=n?o.filter(n,e):e,f=0;(s=u[f])!=null;f++)!r&&s.nodeType===1&&o.cleanData(mt(s)),s.parentNode&&(r&&nn(s)&&oi(mt(s,"script")),s.parentNode.removeChild(s));return e}o.extend({htmlPrefilter:function(e){return e},clone:function(e,n,r){var s,u,f,l,v=e.cloneNode(!0),p=nn(e);if(!A.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!o.isXMLDoc(e))for(l=mt(v),f=mt(e),s=0,u=f.length;s<u;s++)Mr(f[s],l[s]);if(n)if(r)for(f=f||mt(e),l=l||mt(v),s=0,u=f.length;s<u;s++)ar(f[s],l[s]);else ar(e,v);return l=mt(v,"script"),l.length>0&&oi(l,!p&&mt(e,"script")),v},cleanData:function(e){for(var n,r,s,u=o.event.special,f=0;(r=e[f])!==void 0;f++)if($t(r)){if(n=r[ie.expando]){if(n.events)for(s in n.events)u[s]?o.event.remove(r,s):o.removeEvent(r,s,n.handle);r[ie.expando]=void 0}r[ut.expando]&&(r[ut.expando]=void 0)}}}),o.fn.extend({detach:function(e){return ur(this,e,!0)},remove:function(e){return ur(this,e)},text:function(e){return St(this,function(n){return n===void 0?o.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 pn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=sr(this,e);n.appendChild(e)}})},prepend:function(){return pn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=sr(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return pn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return pn(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&&(o.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return o.clone(this,e,n)})},html:function(e){return St(this,function(n){var r=this[0]||{},s=0,u=this.length;if(n===void 0&&r.nodeType===1)return r.innerHTML;if(typeof n=="string"&&!io.test(n)&&!Ct[(nr.exec(n)||["",""])[1].toLowerCase()]){n=o.htmlPrefilter(n);try{for(;s<u;s++)r=this[s]||{},r.nodeType===1&&(o.cleanData(mt(r,!1)),r.innerHTML=n);r=0}catch{}}r&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return pn(this,arguments,function(n){var r=this.parentNode;o.inArray(this,e)<0&&(o.cleanData(mt(this)),r&&r.replaceChild(n,this))},e)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){o.fn[e]=function(r){for(var s,u=[],f=o(r),l=f.length-1,v=0;v<=l;v++)s=v===l?this:this.clone(!0),o(f[v])[n](s),Ee.apply(u,s.get());return this.pushStack(u)}});var mi=new RegExp("^("+vi+")(?!px)[a-z%]+$","i"),yi=/^--/,Xn=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=C),n.getComputedStyle(e)},fr=function(e,n,r){var s,u,f={};for(u in n)f[u]=e.style[u],e.style[u]=n[u];s=r.call(e);for(u in n)e.style[u]=f[u];return s},Bi=new RegExp(Ot.join("|"),"i");(function(){function e(){if(E){p.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",E.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Wt.appendChild(p).appendChild(E);var B=C.getComputedStyle(E);r=B.top!=="1%",v=n(B.marginLeft)===12,E.style.right="60%",f=n(B.right)===36,s=n(B.width)===36,E.style.position="absolute",u=n(E.offsetWidth/3)===12,Wt.removeChild(p),E=null}}function n(B){return Math.round(parseFloat(B))}var r,s,u,f,l,v,p=b.createElement("div"),E=b.createElement("div");E.style&&(E.style.backgroundClip="content-box",E.cloneNode(!0).style.backgroundClip="",A.clearCloneStyle=E.style.backgroundClip==="content-box",o.extend(A,{boxSizingReliable:function(){return e(),s},pixelBoxStyles:function(){return e(),f},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),v},scrollboxSize:function(){return e(),u},reliableTrDimensions:function(){var B,j,R,V;return l==null&&(B=b.createElement("table"),j=b.createElement("tr"),R=b.createElement("div"),B.style.cssText="position:absolute;left:-11111px;border-collapse:separate",j.style.cssText="box-sizing:content-box;border:1px solid",j.style.height="1px",R.style.height="9px",R.style.display="block",Wt.appendChild(B).appendChild(j).appendChild(R),V=C.getComputedStyle(j),l=parseInt(V.height,10)+parseInt(V.borderTopWidth,10)+parseInt(V.borderBottomWidth,10)===j.offsetHeight,Wt.removeChild(B)),l}}))})();function Rn(e,n,r){var s,u,f,l,v=yi.test(n),p=e.style;return r=r||Xn(e),r&&(l=r.getPropertyValue(n)||r[n],v&&l&&(l=l.replace(Tt,"$1")||void 0),l===""&&!nn(e)&&(l=o.style(e,n)),!A.pixelBoxStyles()&&mi.test(l)&&Bi.test(n)&&(s=p.width,u=p.minWidth,f=p.maxWidth,p.minWidth=p.maxWidth=p.width=l,l=r.width,p.width=s,p.minWidth=u,p.maxWidth=f)),l!==void 0?l+"":l}function si(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var lr=["Webkit","Moz","ms"],cr=b.createElement("div").style,hr={};function Pr(e){for(var n=e[0].toUpperCase()+e.slice(1),r=lr.length;r--;)if(e=lr[r]+n,e in cr)return e}function ai(e){var n=o.cssProps[e]||hr[e];return n||(e in cr?e:hr[e]=Pr(e)||e)}var qr=/^(none|table(?!-c[ea]).+)/,uo={position:"absolute",visibility:"hidden",display:"block"},dr={letterSpacing:"0",fontWeight:"400"};function pr(e,n,r){var s=hn.exec(n);return s?Math.max(0,s[2]-(r||0))+(s[3]||"px"):n}function bi(e,n,r,s,u,f){var l=n==="width"?1:0,v=0,p=0,E=0;if(r===(s?"border":"content"))return 0;for(;l<4;l+=2)r==="margin"&&(E+=o.css(e,r+Ot[l],!0,u)),s?(r==="content"&&(p-=o.css(e,"padding"+Ot[l],!0,u)),r!=="margin"&&(p-=o.css(e,"border"+Ot[l]+"Width",!0,u))):(p+=o.css(e,"padding"+Ot[l],!0,u),r!=="padding"?p+=o.css(e,"border"+Ot[l]+"Width",!0,u):v+=o.css(e,"border"+Ot[l]+"Width",!0,u));return!s&&f>=0&&(p+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-f-p-v-.5))||0),p+E}function Fi(e,n,r){var s=Xn(e),u=!A.boxSizingReliable()||r,f=u&&o.css(e,"boxSizing",!1,s)==="border-box",l=f,v=Rn(e,n,s),p="offset"+n[0].toUpperCase()+n.slice(1);if(mi.test(v)){if(!r)return v;v="auto"}return(!A.boxSizingReliable()&&f||!A.reliableTrDimensions()&&J(e,"tr")||v==="auto"||!parseFloat(v)&&o.css(e,"display",!1,s)==="inline")&&e.getClientRects().length&&(f=o.css(e,"boxSizing",!1,s)==="border-box",l=p in e,l&&(v=e[p])),v=parseFloat(v)||0,v+bi(e,n,r||(f?"border":"content"),l,s,v)+"px"}o.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=Rn(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,s){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var u,f,l,v=bt(n),p=yi.test(n),E=e.style;if(p||(n=ai(v)),l=o.cssHooks[n]||o.cssHooks[v],r!==void 0){if(f=typeof r,f==="string"&&(u=hn.exec(r))&&u[1]&&(r=er(e,n,u),f="number"),r==null||r!==r)return;f==="number"&&!p&&(r+=u&&u[3]||(o.cssNumber[v]?"":"px")),!A.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(E[n]="inherit"),(!l||!("set"in l)||(r=l.set(e,r,s))!==void 0)&&(p?E.setProperty(n,r):E[n]=r)}else return l&&"get"in l&&(u=l.get(e,!1,s))!==void 0?u:E[n]}},css:function(e,n,r,s){var u,f,l,v=bt(n),p=yi.test(n);return p||(n=ai(v)),l=o.cssHooks[n]||o.cssHooks[v],l&&"get"in l&&(u=l.get(e,!0,r)),u===void 0&&(u=Rn(e,n,s)),u==="normal"&&n in dr&&(u=dr[n]),r===""||r?(f=parseFloat(u),r===!0||isFinite(f)?f||0:u):u}}),o.each(["height","width"],function(e,n){o.cssHooks[n]={get:function(r,s,u){if(s)return qr.test(o.css(r,"display"))&&(!r.getClientRects().length||!r.getBoundingClientRect().width)?fr(r,uo,function(){return Fi(r,n,u)}):Fi(r,n,u)},set:function(r,s,u){var f,l=Xn(r),v=!A.scrollboxSize()&&l.position==="absolute",p=v||u,E=p&&o.css(r,"boxSizing",!1,l)==="border-box",B=u?bi(r,n,u,E,l):0;return E&&v&&(B-=Math.ceil(r["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(l[n])-bi(r,n,"border",!1,l)-.5)),B&&(f=hn.exec(s))&&(f[3]||"px")!=="px"&&(r.style[n]=s,s=o.css(r,n)),pr(r,s,B)}}}),o.cssHooks.marginLeft=si(A.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Rn(e,"marginLeft"))||e.getBoundingClientRect().left-fr(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(e,n){o.cssHooks[e+n]={expand:function(r){for(var s=0,u={},f=typeof r=="string"?r.split(" "):[r];s<4;s++)u[e+Ot[s]+n]=f[s]||f[s-2]||f[0];return u}},e!=="margin"&&(o.cssHooks[e+n].set=pr)}),o.fn.extend({css:function(e,n){return St(this,function(r,s,u){var f,l,v={},p=0;if(Array.isArray(s)){for(f=Xn(r),l=s.length;p<l;p++)v[s[p]]=o.css(r,s[p],!1,f);return v}return u!==void 0?o.style(r,s,u):o.css(r,s)},e,n,arguments.length>1)}});function pt(e,n,r,s,u){return new pt.prototype.init(e,n,r,s,u)}o.Tween=pt,pt.prototype={constructor:pt,init:function(e,n,r,s,u,f){this.elem=e,this.prop=r,this.easing=u||o.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=s,this.unit=f||(o.cssNumber[r]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var n,r=pt.propHooks[this.prop];return this.options.duration?this.pos=n=o.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):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.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=o.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){o.fx.step[e.prop]?o.fx.step[e.prop](e):e.elem.nodeType===1&&(o.cssHooks[e.prop]||e.elem.style[ai(e.prop)]!=null)?o.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},o.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},o.fx=pt.prototype.init,o.fx.step={};var un,Nn,fo=/^(?:toggle|show|hide)$/,Hr=/queueHooks$/;function Fn(){Nn&&(b.hidden===!1&&C.requestAnimationFrame?C.requestAnimationFrame(Fn):C.setTimeout(Fn,o.fx.interval),o.fx.tick())}function $i(){return C.setTimeout(function(){un=void 0}),un=Date.now()}function Yn(e,n){var r,s=0,u={height:e};for(n=n?1:0;s<4;s+=2-n)r=Ot[s],u["margin"+r]=u["padding"+r]=e;return n&&(u.opacity=u.width=e),u}function ji(e,n,r){for(var s,u=(At.tweeners[n]||[]).concat(At.tweeners["*"]),f=0,l=u.length;f<l;f++)if(s=u[f].call(r,n,e))return s}function Br(e,n,r){var s,u,f,l,v,p,E,B,j="width"in n||"height"in n,R=this,V={},se=e.style,Ae=e.nodeType&&In(e),Te=ie.get(e,"fxshow");r.queue||(l=o._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,v=l.empty.fire,l.empty.fire=function(){l.unqueued||v()}),l.unqueued++,R.always(function(){R.always(function(){l.unqueued--,o.queue(e,"fx").length||l.empty.fire()})}));for(s in n)if(u=n[s],fo.test(u)){if(delete n[s],f=f||u==="toggle",u===(Ae?"hide":"show"))if(u==="show"&&Te&&Te[s]!==void 0)Ae=!0;else continue;V[s]=Te&&Te[s]||o.style(e,s)}if(p=!o.isEmptyObject(n),!(!p&&o.isEmptyObject(V))){j&&e.nodeType===1&&(r.overflow=[se.overflow,se.overflowX,se.overflowY],E=Te&&Te.display,E==null&&(E=ie.get(e,"display")),B=o.css(e,"display"),B==="none"&&(E?B=E:(an([e],!0),E=e.style.display||E,B=o.css(e,"display"),an([e]))),(B==="inline"||B==="inline-block"&&E!=null)&&o.css(e,"float")==="none"&&(p||(R.done(function(){se.display=E}),E==null&&(B=se.display,E=B==="none"?"":B)),se.display="inline-block")),r.overflow&&(se.overflow="hidden",R.always(function(){se.overflow=r.overflow[0],se.overflowX=r.overflow[1],se.overflowY=r.overflow[2]})),p=!1;for(s in V)p||(Te?"hidden"in Te&&(Ae=Te.hidden):Te=ie.access(e,"fxshow",{display:E}),f&&(Te.hidden=!Ae),Ae&&an([e],!0),R.done(function(){Ae||an([e]),ie.remove(e,"fxshow");for(s in V)o.style(e,s,V[s])})),p=ji(Ae?Te[s]:0,s,R),s in Te||(Te[s]=p.start,Ae&&(p.end=p.start,p.start=0))}}function gr(e,n){var r,s,u,f,l;for(r in e)if(s=bt(r),u=n[s],f=e[r],Array.isArray(f)&&(u=f[1],f=e[r]=f[0]),r!==s&&(e[s]=f,delete e[r]),l=o.cssHooks[s],l&&"expand"in l){f=l.expand(f),delete e[s];for(r in f)r in e||(e[r]=f[r],n[r]=u)}else n[s]=u}function At(e,n,r){var s,u,f=0,l=At.prefilters.length,v=o.Deferred().always(function(){delete p.elem}),p=function(){if(u)return!1;for(var j=un||$i(),R=Math.max(0,E.startTime+E.duration-j),V=R/E.duration||0,se=1-V,Ae=0,Te=E.tweens.length;Ae<Te;Ae++)E.tweens[Ae].run(se);return v.notifyWith(e,[E,se,R]),se<1&&Te?R:(Te||v.notifyWith(e,[E,1,0]),v.resolveWith(e,[E]),!1)},E=v.promise({elem:e,props:o.extend({},n),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},r),originalProperties:n,originalOptions:r,startTime:un||$i(),duration:r.duration,tweens:[],createTween:function(j,R){var V=o.Tween(e,E.opts,j,R,E.opts.specialEasing[j]||E.opts.easing);return E.tweens.push(V),V},stop:function(j){var R=0,V=j?E.tweens.length:0;if(u)return this;for(u=!0;R<V;R++)E.tweens[R].run(1);return j?(v.notifyWith(e,[E,1,0]),v.resolveWith(e,[E,j])):v.rejectWith(e,[E,j]),this}}),B=E.props;for(gr(B,E.opts.specialEasing);f<l;f++)if(s=At.prefilters[f].call(E,e,B,E.opts),s)return y(s.stop)&&(o._queueHooks(E.elem,E.opts.queue).stop=s.stop.bind(s)),s;return o.map(B,ji,E),y(E.opts.start)&&E.opts.start.call(e,E),E.progress(E.opts.progress).done(E.opts.done,E.opts.complete).fail(E.opts.fail).always(E.opts.always),o.fx.timer(o.extend(p,{elem:e,anim:E,queue:E.opts.queue})),E}o.Animation=o.extend(At,{tweeners:{"*":[function(e,n){var r=this.createTween(e,n);return er(r.elem,e,hn.exec(n),r),r}]},tweener:function(e,n){y(e)?(n=e,e=["*"]):e=e.match(Fe);for(var r,s=0,u=e.length;s<u;s++)r=e[s],At.tweeners[r]=At.tweeners[r]||[],At.tweeners[r].unshift(n)},prefilters:[Br],prefilter:function(e,n){n?At.prefilters.unshift(e):At.prefilters.push(e)}}),o.speed=function(e,n,r){var s=e&&typeof e=="object"?o.extend({},e):{complete:r||!r&&n||y(e)&&e,duration:e,easing:r&&n||n&&!y(n)&&n};return o.fx.off?s.duration=0:typeof s.duration!="number"&&(s.duration in o.fx.speeds?s.duration=o.fx.speeds[s.duration]:s.duration=o.fx.speeds._default),(s.queue==null||s.queue===!0)&&(s.queue="fx"),s.old=s.complete,s.complete=function(){y(s.old)&&s.old.call(this),s.queue&&o.dequeue(this,s.queue)},s},o.fn.extend({fadeTo:function(e,n,r,s){return this.filter(In).css("opacity",0).show().end().animate({opacity:n},e,r,s)},animate:function(e,n,r,s){var u=o.isEmptyObject(e),f=o.speed(n,r,s),l=function(){var v=At(this,o.extend({},e),f);(u||ie.get(this,"finish"))&&v.stop(!0)};return l.finish=l,u||f.queue===!1?this.each(l):this.queue(f.queue,l)},stop:function(e,n,r){var s=function(u){var f=u.stop;delete u.stop,f(r)};return typeof e!="string"&&(r=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var u=!0,f=e!=null&&e+"queueHooks",l=o.timers,v=ie.get(this);if(f)v[f]&&v[f].stop&&s(v[f]);else for(f in v)v[f]&&v[f].stop&&Hr.test(f)&&s(v[f]);for(f=l.length;f--;)l[f].elem===this&&(e==null||l[f].queue===e)&&(l[f].anim.stop(r),u=!1,l.splice(f,1));(u||!r)&&o.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,r=ie.get(this),s=r[e+"queue"],u=r[e+"queueHooks"],f=o.timers,l=s?s.length:0;for(r.finish=!0,o.queue(this,e,[]),u&&u.stop&&u.stop.call(this,!0),n=f.length;n--;)f[n].elem===this&&f[n].queue===e&&(f[n].anim.stop(!0),f.splice(n,1));for(n=0;n<l;n++)s[n]&&s[n].finish&&s[n].finish.call(this);delete r.finish})}}),o.each(["toggle","show","hide"],function(e,n){var r=o.fn[n];o.fn[n]=function(s,u,f){return s==null||typeof s=="boolean"?r.apply(this,arguments):this.animate(Yn(n,!0),s,u,f)}}),o.each({slideDown:Yn("show"),slideUp:Yn("hide"),slideToggle:Yn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){o.fn[e]=function(r,s,u){return this.animate(n,r,s,u)}}),o.timers=[],o.fx.tick=function(){var e,n=0,r=o.timers;for(un=Date.now();n<r.length;n++)e=r[n],!e()&&r[n]===e&&r.splice(n--,1);r.length||o.fx.stop(),un=void 0},o.fx.timer=function(e){o.timers.push(e),o.fx.start()},o.fx.interval=13,o.fx.start=function(){Nn||(Nn=!0,Fn())},o.fx.stop=function(){Nn=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(e,n){return e=o.fx&&o.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,s){var u=C.setTimeout(r,e);s.stop=function(){C.clearTimeout(u)}})},(function(){var e=b.createElement("input"),n=b.createElement("select"),r=n.appendChild(b.createElement("option"));e.type="checkbox",A.checkOn=e.value!=="",A.optSelected=r.selected,e=b.createElement("input"),e.value="t",e.type="radio",A.radioValue=e.value==="t"})();var Ui,gn=o.expr.attrHandle;o.fn.extend({attr:function(e,n){return St(this,o.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){o.removeAttr(this,e)})}}),o.extend({attr:function(e,n,r){var s,u,f=e.nodeType;if(!(f===3||f===8||f===2)){if(typeof e.getAttribute>"u")return o.prop(e,n,r);if((f!==1||!o.isXMLDoc(e))&&(u=o.attrHooks[n.toLowerCase()]||(o.expr.match.bool.test(n)?Ui:void 0)),r!==void 0){if(r===null){o.removeAttr(e,n);return}return u&&"set"in u&&(s=u.set(e,r,n))!==void 0?s:(e.setAttribute(n,r+""),r)}return u&&"get"in u&&(s=u.get(e,n))!==null?s:(s=o.find.attr(e,n),s??void 0)}},attrHooks:{type:{set:function(e,n){if(!A.radioValue&&n==="radio"&&J(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}}},removeAttr:function(e,n){var r,s=0,u=n&&n.match(Fe);if(u&&e.nodeType===1)for(;r=u[s++];)e.removeAttribute(r)}}),Ui={set:function(e,n,r){return n===!1?o.removeAttr(e,r):e.setAttribute(r,r),r}},o.each(o.expr.match.bool.source.match(/\w+/g),function(e,n){var r=gn[n]||o.find.attr;gn[n]=function(s,u,f){var l,v,p=u.toLowerCase();return f||(v=gn[p],gn[p]=l,l=r(s,u,f)!=null?p:null,gn[p]=v),l}});var vr=/^(?:input|select|textarea|button)$/i,ui=/^(?:a|area)$/i;o.fn.extend({prop:function(e,n){return St(this,o.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[o.propFix[e]||e]})}}),o.extend({prop:function(e,n,r){var s,u,f=e.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!o.isXMLDoc(e))&&(n=o.propFix[n]||n,u=o.propHooks[n]),r!==void 0?u&&"set"in u&&(s=u.set(e,r,n))!==void 0?s:e[n]=r:u&&"get"in u&&(s=u.get(e,n))!==null?s:e[n]},propHooks:{tabIndex:{get:function(e){var n=o.find.attr(e,"tabindex");return n?parseInt(n,10):vr.test(e.nodeName)||ui.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(o.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)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this});function Qt(e){var n=e.match(Fe)||[];return n.join(" ")}function Xt(e){return e.getAttribute&&e.getAttribute("class")||""}function wi(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Fe)||[]:[]}o.fn.extend({addClass:function(e){var n,r,s,u,f,l;return y(e)?this.each(function(v){o(this).addClass(e.call(this,v,Xt(this)))}):(n=wi(e),n.length?this.each(function(){if(s=Xt(this),r=this.nodeType===1&&" "+Qt(s)+" ",r){for(f=0;f<n.length;f++)u=n[f],r.indexOf(" "+u+" ")<0&&(r+=u+" ");l=Qt(r),s!==l&&this.setAttribute("class",l)}}):this)},removeClass:function(e){var n,r,s,u,f,l;return y(e)?this.each(function(v){o(this).removeClass(e.call(this,v,Xt(this)))}):arguments.length?(n=wi(e),n.length?this.each(function(){if(s=Xt(this),r=this.nodeType===1&&" "+Qt(s)+" ",r){for(f=0;f<n.length;f++)for(u=n[f];r.indexOf(" "+u+" ")>-1;)r=r.replace(" "+u+" "," ");l=Qt(r),s!==l&&this.setAttribute("class",l)}}):this):this.attr("class","")},toggleClass:function(e,n){var r,s,u,f,l=typeof e,v=l==="string"||Array.isArray(e);return y(e)?this.each(function(p){o(this).toggleClass(e.call(this,p,Xt(this),n),n)}):typeof n=="boolean"&&v?n?this.addClass(e):this.removeClass(e):(r=wi(e),this.each(function(){if(v)for(f=o(this),u=0;u<r.length;u++)s=r[u],f.hasClass(s)?f.removeClass(s):f.addClass(s);else(e===void 0||l==="boolean")&&(s=Xt(this),s&&ie.set(this,"__className__",s),this.setAttribute&&this.setAttribute("class",s||e===!1?"":ie.get(this,"__className__")||""))}))},hasClass:function(e){var n,r,s=0;for(n=" "+e+" ";r=this[s++];)if(r.nodeType===1&&(" "+Qt(Xt(r))+" ").indexOf(n)>-1)return!0;return!1}});var Fr=/\r/g;o.fn.extend({val:function(e){var n,r,s,u=this[0];return arguments.length?(s=y(e),this.each(function(f){var l;this.nodeType===1&&(s?l=e.call(this,f,o(this).val()):l=e,l==null?l="":typeof l=="number"?l+="":Array.isArray(l)&&(l=o.map(l,function(v){return v==null?"":v+""})),n=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,l,"value")===void 0)&&(this.value=l))})):u?(n=o.valHooks[u.type]||o.valHooks[u.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(u,"value"))!==void 0?r:(r=u.value,typeof r=="string"?r.replace(Fr,""):r??"")):void 0}}),o.extend({valHooks:{option:{get:function(e){var n=o.find.attr(e,"value");return n??Qt(o.text(e))}},select:{get:function(e){var n,r,s,u=e.options,f=e.selectedIndex,l=e.type==="select-one",v=l?null:[],p=l?f+1:u.length;for(f<0?s=p:s=l?f:0;s<p;s++)if(r=u[s],(r.selected||s===f)&&!r.disabled&&(!r.parentNode.disabled||!J(r.parentNode,"optgroup"))){if(n=o(r).val(),l)return n;v.push(n)}return v},set:function(e,n){for(var r,s,u=e.options,f=o.makeArray(n),l=u.length;l--;)s=u[l],(s.selected=o.inArray(o.valHooks.option.get(s),f)>-1)&&(r=!0);return r||(e.selectedIndex=-1),f}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=o.inArray(o(e).val(),n)>-1}},A.checkOn||(o.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Tn=C.location,Wi={guid:Date.now()},fi=/\?/;o.parseXML=function(e){var n,r;if(!e||typeof e!="string")return null;try{n=new C.DOMParser().parseFromString(e,"text/xml")}catch{}return r=n&&n.getElementsByTagName("parsererror")[0],(!n||r)&&o.error("Invalid XML: "+(r?o.map(r.childNodes,function(s){return s.textContent}).join(`
37
- `):e)),n};var mr=/^(?:focusinfocus|focusoutblur)$/,yr=function(e){e.stopPropagation()};o.extend(o.event,{trigger:function(e,n,r,s){var u,f,l,v,p,E,B,j,R=[r||b],V=xe.call(e,"type")?e.type:e,se=xe.call(e,"namespace")?e.namespace.split("."):[];if(f=j=l=r=r||b,!(r.nodeType===3||r.nodeType===8)&&!mr.test(V+o.event.triggered)&&(V.indexOf(".")>-1&&(se=V.split("."),V=se.shift(),se.sort()),p=V.indexOf(":")<0&&"on"+V,e=e[o.expando]?e:new o.Event(V,typeof e=="object"&&e),e.isTrigger=s?2:3,e.namespace=se.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+se.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=n==null?[e]:o.makeArray(n,[e]),B=o.event.special[V]||{},!(!s&&B.trigger&&B.trigger.apply(r,n)===!1))){if(!s&&!B.noBubble&&!k(r)){for(v=B.delegateType||V,mr.test(v+V)||(f=f.parentNode);f;f=f.parentNode)R.push(f),l=f;l===(r.ownerDocument||b)&&R.push(l.defaultView||l.parentWindow||C)}for(u=0;(f=R[u++])&&!e.isPropagationStopped();)j=f,e.type=u>1?v:B.bindType||V,E=(ie.get(f,"events")||Object.create(null))[e.type]&&ie.get(f,"handle"),E&&E.apply(f,n),E=p&&f[p],E&&E.apply&&$t(f)&&(e.result=E.apply(f,n),e.result===!1&&e.preventDefault());return e.type=V,!s&&!e.isDefaultPrevented()&&(!B._default||B._default.apply(R.pop(),n)===!1)&&$t(r)&&p&&y(r[V])&&!k(r)&&(l=r[p],l&&(r[p]=null),o.event.triggered=V,e.isPropagationStopped()&&j.addEventListener(V,yr),r[V](),e.isPropagationStopped()&&j.removeEventListener(V,yr),o.event.triggered=void 0,l&&(r[p]=l)),e.result}},simulate:function(e,n,r){var s=o.extend(new o.Event,r,{type:e,isSimulated:!0});o.event.trigger(s,null,n)}}),o.fn.extend({trigger:function(e,n){return this.each(function(){o.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0];if(r)return o.event.trigger(e,n,r,!0)}});var lo=/\[\]$/,Ki=/\r?\n/g,co=/^(?:submit|button|image|reset|file)$/i,ho=/^(?:input|select|textarea|keygen)/i;function xi(e,n,r,s){var u;if(Array.isArray(n))o.each(n,function(f,l){r||lo.test(e)?s(e,l):xi(e+"["+(typeof l=="object"&&l!=null?f:"")+"]",l,r,s)});else if(!r&&S(n)==="object")for(u in n)xi(e+"["+u+"]",n[u],r,s);else s(e,n)}o.param=function(e,n){var r,s=[],u=function(f,l){var v=y(l)?l():l;s[s.length]=encodeURIComponent(f)+"="+encodeURIComponent(v??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!o.isPlainObject(e))o.each(e,function(){u(this.name,this.value)});else for(r in e)xi(r,e[r],n,u);return s.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=o.prop(this,"elements");return e?o.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!o(this).is(":disabled")&&ho.test(this.nodeName)&&!co.test(e)&&(this.checked||!_n.test(e))}).map(function(e,n){var r=o(this).val();return r==null?null:Array.isArray(r)?o.map(r,function(s){return{name:n.name,value:s.replace(Ki,`\r
38
- `)}}):{name:n.name,value:r.replace(Ki,`\r
39
- `)}}).get()}});var po=/%20/g,br=/#.*$/,go=/([?&])_=[^&]*/,vo=/^(.*?):[ \t]*([^\r\n]*)$/mg,mo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yo=/^(?:GET|HEAD)$/,bo=/^\/\//,yt={},ct={},wr="*/".concat("*"),_i=b.createElement("a");_i.href=Tn.href;function xr(e){return function(n,r){typeof n!="string"&&(r=n,n="*");var s,u=0,f=n.toLowerCase().match(Fe)||[];if(y(r))for(;s=f[u++];)s[0]==="+"?(s=s.slice(1)||"*",(e[s]=e[s]||[]).unshift(r)):(e[s]=e[s]||[]).push(r)}}function _r(e,n,r,s){var u={},f=e===ct;function l(v){var p;return u[v]=!0,o.each(e[v]||[],function(E,B){var j=B(n,r,s);if(typeof j=="string"&&!f&&!u[j])return n.dataTypes.unshift(j),l(j),!1;if(f)return!(p=j)}),p}return l(n.dataTypes[0])||!u["*"]&&l("*")}function Ti(e,n){var r,s,u=o.ajaxSettings.flatOptions||{};for(r in n)n[r]!==void 0&&((u[r]?e:s||(s={}))[r]=n[r]);return s&&o.extend(!0,e,s),e}function wo(e,n,r){for(var s,u,f,l,v=e.contents,p=e.dataTypes;p[0]==="*";)p.shift(),s===void 0&&(s=e.mimeType||n.getResponseHeader("Content-Type"));if(s){for(u in v)if(v[u]&&v[u].test(s)){p.unshift(u);break}}if(p[0]in r)f=p[0];else{for(u in r){if(!p[0]||e.converters[u+" "+p[0]]){f=u;break}l||(l=u)}f=f||l}if(f)return f!==p[0]&&p.unshift(f),r[f]}function $r(e,n,r,s){var u,f,l,v,p,E={},B=e.dataTypes.slice();if(B[1])for(l in e.converters)E[l.toLowerCase()]=e.converters[l];for(f=B.shift();f;)if(e.responseFields[f]&&(r[e.responseFields[f]]=n),!p&&s&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),p=f,f=B.shift(),f){if(f==="*")f=p;else if(p!=="*"&&p!==f){if(l=E[p+" "+f]||E["* "+f],!l){for(u in E)if(v=u.split(" "),v[1]===f&&(l=E[p+" "+v[0]]||E["* "+v[0]],l)){l===!0?l=E[u]:E[u]!==!0&&(f=v[0],B.unshift(v[1]));break}}if(l!==!0)if(l&&e.throws)n=l(n);else try{n=l(n)}catch(j){return{state:"parsererror",error:l?j:"No conversion from "+p+" to "+f}}}}return{state:"success",data:n}}o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tn.href,type:"GET",isLocal:mo.test(Tn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wr,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":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Ti(Ti(e,o.ajaxSettings),n):Ti(o.ajaxSettings,e)},ajaxPrefilter:xr(yt),ajaxTransport:xr(ct),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var r,s,u,f,l,v,p,E,B,j,R=o.ajaxSetup({},n),V=R.context||R,se=R.context&&(V.nodeType||V.jquery)?o(V):o.event,Ae=o.Deferred(),Te=o.Callbacks("once memory"),ot=R.statusCode||{},Ve={},It={},Rt="canceled",ke={readyState:0,getResponseHeader:function(Oe){var $e;if(p){if(!f)for(f={};$e=vo.exec(u);)f[$e[1].toLowerCase()+" "]=(f[$e[1].toLowerCase()+" "]||[]).concat($e[2]);$e=f[Oe.toLowerCase()+" "]}return $e==null?null:$e.join(", ")},getAllResponseHeaders:function(){return p?u:null},setRequestHeader:function(Oe,$e){return p==null&&(Oe=It[Oe.toLowerCase()]=It[Oe.toLowerCase()]||Oe,Ve[Oe]=$e),this},overrideMimeType:function(Oe){return p==null&&(R.mimeType=Oe),this},statusCode:function(Oe){var $e;if(Oe)if(p)ke.always(Oe[ke.status]);else for($e in Oe)ot[$e]=[ot[$e],Oe[$e]];return this},abort:function(Oe){var $e=Oe||Rt;return r&&r.abort($e),Yt(0,$e),this}};if(Ae.promise(ke),R.url=((e||R.url||Tn.href)+"").replace(bo,Tn.protocol+"//"),R.type=n.method||n.type||R.method||R.type,R.dataTypes=(R.dataType||"*").toLowerCase().match(Fe)||[""],R.crossDomain==null){v=b.createElement("a");try{v.href=R.url,v.href=v.href,R.crossDomain=_i.protocol+"//"+_i.host!=v.protocol+"//"+v.host}catch{R.crossDomain=!0}}if(R.data&&R.processData&&typeof R.data!="string"&&(R.data=o.param(R.data,R.traditional)),_r(yt,R,n,ke),p)return ke;E=o.event&&R.global,E&&o.active++===0&&o.event.trigger("ajaxStart"),R.type=R.type.toUpperCase(),R.hasContent=!yo.test(R.type),s=R.url.replace(br,""),R.hasContent?R.data&&R.processData&&(R.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(R.data=R.data.replace(po,"+")):(j=R.url.slice(s.length),R.data&&(R.processData||typeof R.data=="string")&&(s+=(fi.test(s)?"&":"?")+R.data,delete R.data),R.cache===!1&&(s=s.replace(go,"$1"),j=(fi.test(s)?"&":"?")+"_="+Wi.guid+++j),R.url=s+j),R.ifModified&&(o.lastModified[s]&&ke.setRequestHeader("If-Modified-Since",o.lastModified[s]),o.etag[s]&&ke.setRequestHeader("If-None-Match",o.etag[s])),(R.data&&R.hasContent&&R.contentType!==!1||n.contentType)&&ke.setRequestHeader("Content-Type",R.contentType),ke.setRequestHeader("Accept",R.dataTypes[0]&&R.accepts[R.dataTypes[0]]?R.accepts[R.dataTypes[0]]+(R.dataTypes[0]!=="*"?", "+wr+"; q=0.01":""):R.accepts["*"]);for(B in R.headers)ke.setRequestHeader(B,R.headers[B]);if(R.beforeSend&&(R.beforeSend.call(V,ke,R)===!1||p))return ke.abort();if(Rt="abort",Te.add(R.complete),ke.done(R.success),ke.fail(R.error),r=_r(ct,R,n,ke),!r)Yt(-1,"No Transport");else{if(ke.readyState=1,E&&se.trigger("ajaxSend",[ke,R]),p)return ke;R.async&&R.timeout>0&&(l=C.setTimeout(function(){ke.abort("timeout")},R.timeout));try{p=!1,r.send(Ve,Yt)}catch(Oe){if(p)throw Oe;Yt(-1,Oe)}}function Yt(Oe,$e,Mn,li){var Dt,mn,kt,Ut,Kt,_t=$e;p||(p=!0,l&&C.clearTimeout(l),r=void 0,u=li||"",ke.readyState=Oe>0?4:0,Dt=Oe>=200&&Oe<300||Oe===304,Mn&&(Ut=wo(R,ke,Mn)),!Dt&&o.inArray("script",R.dataTypes)>-1&&o.inArray("json",R.dataTypes)<0&&(R.converters["text script"]=function(){}),Ut=$r(R,Ut,ke,Dt),Dt?(R.ifModified&&(Kt=ke.getResponseHeader("Last-Modified"),Kt&&(o.lastModified[s]=Kt),Kt=ke.getResponseHeader("etag"),Kt&&(o.etag[s]=Kt)),Oe===204||R.type==="HEAD"?_t="nocontent":Oe===304?_t="notmodified":(_t=Ut.state,mn=Ut.data,kt=Ut.error,Dt=!kt)):(kt=_t,(Oe||!_t)&&(_t="error",Oe<0&&(Oe=0))),ke.status=Oe,ke.statusText=($e||_t)+"",Dt?Ae.resolveWith(V,[mn,_t,ke]):Ae.rejectWith(V,[ke,_t,kt]),ke.statusCode(ot),ot=void 0,E&&se.trigger(Dt?"ajaxSuccess":"ajaxError",[ke,R,Dt?mn:kt]),Te.fireWith(V,[ke,_t]),E&&(se.trigger("ajaxComplete",[ke,R]),--o.active||o.event.trigger("ajaxStop")))}return ke},getJSON:function(e,n,r){return o.get(e,n,r,"json")},getScript:function(e,n){return o.get(e,void 0,n,"script")}}),o.each(["get","post"],function(e,n){o[n]=function(r,s,u,f){return y(s)&&(f=f||u,u=s,s=void 0),o.ajax(o.extend({url:r,type:n,dataType:f,data:s,success:u},o.isPlainObject(r)&&r))}}),o.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),o._evalUrl=function(e,n,r){return o.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(s){o.globalEval(s,n,r)}})},o.fn.extend({wrapAll:function(e){var n;return this[0]&&(y(e)&&(e=e.call(this[0])),n=o(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 y(e)?this.each(function(n){o(this).wrapInner(e.call(this,n))}):this.each(function(){var n=o(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){var n=y(e);return this.each(function(r){o(this).wrapAll(n?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(e){return!o.expr.pseudos.visible(e)},o.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch{}};var xo={0:200,1223:204},xt=o.ajaxSettings.xhr();A.cors=!!xt&&"withCredentials"in xt,A.ajax=xt=!!xt,o.ajaxTransport(function(e){var n,r;if(A.cors||xt&&!e.crossDomain)return{send:function(s,u){var f,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(f in e.xhrFields)l[f]=e.xhrFields[f];e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),!e.crossDomain&&!s["X-Requested-With"]&&(s["X-Requested-With"]="XMLHttpRequest");for(f in s)l.setRequestHeader(f,s[f]);n=function(v){return function(){n&&(n=r=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,v==="abort"?l.abort():v==="error"?typeof l.status!="number"?u(0,"error"):u(l.status,l.statusText):u(xo[l.status]||l.status,l.statusText,(l.responseType||"text")!=="text"||typeof l.responseText!="string"?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=n(),r=l.onerror=l.ontimeout=n("error"),l.onabort!==void 0?l.onabort=r:l.onreadystatechange=function(){l.readyState===4&&C.setTimeout(function(){n&&r()})},n=n("abort");try{l.send(e.hasContent&&e.data||null)}catch(v){if(n)throw v}},abort:function(){n&&n()}}}),o.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),o.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 o.globalEval(e),e}}}),o.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),o.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,r;return{send:function(s,u){n=o("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(f){n.remove(),r=null,f&&u(f.type==="error"?404:200,f.type)}),b.head.appendChild(n[0])},abort:function(){r&&r()}}}});var Ci=[],vn=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ci.pop()||o.expando+"_"+Wi.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,n,r){var s,u,f,l=e.jsonp!==!1&&(vn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&vn.test(e.data)&&"data");if(l||e.dataTypes[0]==="jsonp")return s=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(vn,"$1"+s):e.jsonp!==!1&&(e.url+=(fi.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return f||o.error(s+" was not called"),f[0]},e.dataTypes[0]="json",u=C[s],C[s]=function(){f=arguments},r.always(function(){u===void 0?o(C).removeProp(s):C[s]=u,e[s]&&(e.jsonpCallback=n.jsonpCallback,Ci.push(s)),f&&y(u)&&u(f[0]),f=u=void 0}),"script"}),A.createHTMLDocument=(function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2})(),o.parseHTML=function(e,n,r){if(typeof e!="string")return[];typeof n=="boolean"&&(r=n,n=!1);var s,u,f;return n||(A.createHTMLDocument?(n=b.implementation.createHTMLDocument(""),s=n.createElement("base"),s.href=b.location.href,n.head.appendChild(s)):n=b),u=me.exec(e),f=!r&&[],u?[n.createElement(u[1])]:(u=rr([e],n,f),f&&f.length&&o(f).remove(),o.merge([],u.childNodes))},o.fn.load=function(e,n,r){var s,u,f,l=this,v=e.indexOf(" ");return v>-1&&(s=Qt(e.slice(v)),e=e.slice(0,v)),y(n)?(r=n,n=void 0):n&&typeof n=="object"&&(u="POST"),l.length>0&&o.ajax({url:e,type:u||"GET",dataType:"html",data:n}).done(function(p){f=arguments,l.html(s?o("<div>").append(o.parseHTML(p)).find(s):p)}).always(r&&function(p,E){l.each(function(){r.apply(this,f||[p.responseText,E,p])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(n){return e===n.elem}).length},o.offset={setOffset:function(e,n,r){var s,u,f,l,v,p,E,B=o.css(e,"position"),j=o(e),R={};B==="static"&&(e.style.position="relative"),v=j.offset(),f=o.css(e,"top"),p=o.css(e,"left"),E=(B==="absolute"||B==="fixed")&&(f+p).indexOf("auto")>-1,E?(s=j.position(),l=s.top,u=s.left):(l=parseFloat(f)||0,u=parseFloat(p)||0),y(n)&&(n=n.call(e,r,o.extend({},v))),n.top!=null&&(R.top=n.top-v.top+l),n.left!=null&&(R.left=n.left-v.left+u),"using"in n?n.using.call(e,R):j.css(R)}},o.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(u){o.offset.setOffset(this,e,u)});var n,r,s=this[0];if(s)return s.getClientRects().length?(n=s.getBoundingClientRect(),r=s.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,s=this[0],u={top:0,left:0};if(o.css(s,"position")==="fixed")n=s.getBoundingClientRect();else{for(n=this.offset(),r=s.ownerDocument,e=s.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&o.css(e,"position")==="static";)e=e.parentNode;e&&e!==s&&e.nodeType===1&&(u=o(e).offset(),u.top+=o.css(e,"borderTopWidth",!0),u.left+=o.css(e,"borderLeftWidth",!0))}return{top:n.top-u.top-o.css(s,"marginTop",!0),left:n.left-u.left-o.css(s,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&o.css(e,"position")==="static";)e=e.offsetParent;return e||Wt})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=n==="pageYOffset";o.fn[e]=function(s){return St(this,function(u,f,l){var v;if(k(u)?v=u:u.nodeType===9&&(v=u.defaultView),l===void 0)return v?v[n]:u[f];v?v.scrollTo(r?v.pageXOffset:l,r?l:v.pageYOffset):u[f]=l},e,s,arguments.length)}}),o.each(["top","left"],function(e,n){o.cssHooks[n]=si(A.pixelPosition,function(r,s){if(s)return s=Rn(r,n),mi.test(s)?o(r).position()[n]+"px":s})}),o.each({Height:"height",Width:"width"},function(e,n){o.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,s){o.fn[s]=function(u,f){var l=arguments.length&&(r||typeof u!="boolean"),v=r||(u===!0||f===!0?"margin":"border");return St(this,function(p,E,B){var j;return k(p)?s.indexOf("outer")===0?p["inner"+e]:p.document.documentElement["client"+e]:p.nodeType===9?(j=p.documentElement,Math.max(p.body["scroll"+e],j["scroll"+e],p.body["offset"+e],j["offset"+e],j["client"+e])):B===void 0?o.css(p,E,v):o.style(p,E,B,v)},n,l?u:void 0,l)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){o.fn[n]=function(r){return this.on(n,r)}}),o.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,s){return this.on(n,e,r,s)},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)}}),o.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){o.fn[n]=function(r,s){return arguments.length>0?this.on(n,null,r,s):this.trigger(n)}});var jr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(e,n){var r,s,u;if(typeof n=="string"&&(r=e[n],n=e,e=r),!!y(e))return s=ee.call(arguments,2),u=function(){return e.apply(n||this,s.concat(ee.call(arguments)))},u.guid=e.guid=e.guid||o.guid++,u},o.holdReady=function(e){e?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=J,o.isFunction=y,o.isWindow=k,o.camelCase=bt,o.type=S,o.now=Date.now,o.isNumeric=function(e){var n=o.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},o.trim=function(e){return e==null?"":(e+"").replace(jr,"$1")};var Tr=C.jQuery,fn=C.$;return o.noConflict=function(e){return C.$===o&&(C.$=fn),e&&C.jQuery===o&&(C.jQuery=Tr),o},typeof c>"u"&&(C.jQuery=C.$=o),o})})(Ts)),Ts.exports}var Zr=window.CustomEvent;(!Zr||typeof Zr=="object")&&(Zr=function(C,c){c=c||{};var W=document.createEvent("CustomEvent");return W.initCustomEvent(C,!!c.bubbles,!!c.cancelable,c.detail||null),W},Zr.prototype=window.Event.prototype);function Qf($,C){var c="on"+C.type.toLowerCase();return typeof $[c]=="function"&&$[c](C),$.dispatchEvent(C)}function wv($){for(;$&&$!==document.body;){var C=window.getComputedStyle($),c=function(W,Z){return!(C[W]===void 0||C[W]===Z)};if(C.opacity<1||c("zIndex","auto")||c("transform","none")||c("mixBlendMode","normal")||c("filter","none")||c("perspective","none")||C.isolation==="isolate"||C.position==="fixed"||C.webkitOverflowScrolling==="touch")return!0;$=$.parentElement}return!1}function jo($){for(;$;){if($.localName==="dialog")return $;$.parentElement?$=$.parentElement:$.parentNode?$=$.parentNode.host:$=null}return null}function Xf($){for(;$&&$.shadowRoot&&$.shadowRoot.activeElement;)$=$.shadowRoot.activeElement;$&&$.blur&&$!==document.body&&$.blur()}function xv($,C){for(var c=0;c<$.length;++c)if($[c]===C)return!0;return!1}function ka($){return!$||!$.hasAttribute("method")?!1:$.getAttribute("method").toLowerCase()==="dialog"}function Yf($){var C=["button","input","keygen","select","textarea"],c=C.map(function(he){return he+":not([disabled])"});c.push('[tabindex]:not([disabled]):not([tabindex=""])');var W=$.querySelector(c.join(", "));if(!W&&"attachShadow"in Element.prototype)for(var Z=$.querySelectorAll("*"),ee=0;ee<Z.length&&!(Z[ee].tagName&&Z[ee].shadowRoot&&(W=Yf(Z[ee].shadowRoot),W));ee++);return W}function Hf($){return $.isConnected||document.body.contains($)}function Jf($){if($.submitter)return $.submitter;var C=$.target;if(!(C instanceof HTMLFormElement))return null;var c=vt.formSubmitter;if(!c){var W=$.target,Z="getRootNode"in W&&W.getRootNode()||document;c=Z.activeElement}return!c||c.form!==C?null:c}function _v($){if(!$.defaultPrevented){var C=$.target,c=vt.imagemapUseValue,W=Jf($);c===null&&W&&(c=W.value);var Z=jo(C);if(Z){var ee=W&&W.getAttribute("formmethod")||C.getAttribute("method");ee==="dialog"&&($.preventDefault(),c!=null?Z.close(c):Z.close())}}}function Zf($){if(this.dialog_=$,this.replacedStyleTop_=!1,this.openAsModal_=!1,$.hasAttribute("role")||$.setAttribute("role","dialog"),$.show=this.show.bind(this),$.showModal=this.showModal.bind(this),$.close=this.close.bind(this),$.addEventListener("submit",_v,!1),"returnValue"in $||($.returnValue=""),"MutationObserver"in window){var C=new MutationObserver(this.maybeHideModal.bind(this));C.observe($,{attributes:!0,attributeFilter:["open"]})}else{var c=!1,W=(function(){c?this.downgradeModal():this.maybeHideModal(),c=!1}).bind(this),Z,ee=function(he){if(he.target===$){var Ee="DOMNodeRemoved";c|=he.type.substr(0,Ee.length)===Ee,window.clearTimeout(Z),Z=window.setTimeout(W,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(he){$.addEventListener(he,ee)})}Object.defineProperty($,"open",{set:this.setOpen.bind(this),get:$.hasAttribute.bind($,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}Zf.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&Hf(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),vt.dm.removeDialog(this))},setOpen:function($){$?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function($){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var C=document.createElement("div");this.dialog_.insertBefore(C,this.dialog_.firstChild),C.tabIndex=-1,C.focus(),this.dialog_.removeChild(C)}var c=document.createEvent("MouseEvents");c.initMouseEvent($.type,$.bubbles,$.cancelable,window,$.detail,$.screenX,$.screenY,$.clientX,$.clientY,$.ctrlKey,$.altKey,$.shiftKey,$.metaKey,$.button,$.relatedTarget),this.dialog_.dispatchEvent(c),$.stopPropagation()},focus_:function(){var $=this.dialog_.querySelector("[autofocus]:not([disabled])");!$&&this.dialog_.tabIndex>=0&&($=this.dialog_),$||($=Yf(this.dialog_)),Xf(document.activeElement),$&&$.focus()},updateZIndex:function($,C){if($<C)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=$,this.backdrop_.style.zIndex=C},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!Hf(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!vt.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");wv(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,vt.needsCentering(this.dialog_)?(vt.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function($){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),$!==void 0&&(this.dialog_.returnValue=$);var C=new Zr("close",{bubbles:!1,cancelable:!1});Qf(this.dialog_,C)}};var vt={};vt.reposition=function($){var C=document.body.scrollTop||document.documentElement.scrollTop,c=C+(window.innerHeight-$.offsetHeight)/2;$.style.top=Math.max(C,c)+"px"};vt.isInlinePositionSetByStylesheet=function($){for(var C=0;C<document.styleSheets.length;++C){var c=document.styleSheets[C],W=null;try{W=c.cssRules}catch{}if(W)for(var Z=0;Z<W.length;++Z){var ee=W[Z],he=null;try{he=document.querySelectorAll(ee.selectorText)}catch{}if(!(!he||!xv(he,$))){var Ee=ee.style.getPropertyValue("top"),ye=ee.style.getPropertyValue("bottom");if(Ee&&Ee!=="auto"||ye&&ye!=="auto")return!0}}}return!1};vt.needsCentering=function($){var C=window.getComputedStyle($);return C.position!=="absolute"||$.style.top!=="auto"&&$.style.top!==""||$.style.bottom!=="auto"&&$.style.bottom!==""?!1:!vt.isInlinePositionSetByStylesheet($)};vt.forceRegisterDialog=function($){if((window.HTMLDialogElement||$.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",$),$.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new Zf($)};vt.registerDialog=function($){$.showModal||vt.forceRegisterDialog($)};vt.DialogManager=function(){this.pendingDialogStack=[];var $=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(C){this.forwardTab_=void 0,C.stopPropagation(),$([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(C){var c=[];C.forEach(function(W){for(var Z=0,ee;ee=W.removedNodes[Z];++Z){if(ee instanceof Element)ee.localName==="dialog"&&c.push(ee);else continue;c=c.concat(ee.querySelectorAll("dialog"))}}),c.length&&$(c)}))};vt.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})};vt.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()};vt.DialogManager.prototype.updateStacking=function(){for(var $=this.zIndexHigh_,C=0,c;c=this.pendingDialogStack[C];++C)c.updateZIndex(--$,--$),C===0&&(this.overlay.style.zIndex=--$);var W=this.pendingDialogStack[0];if(W){var Z=W.dialog.parentNode||document.body;Z.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)};vt.DialogManager.prototype.containedByTopDialog_=function($){for(;$=jo($);){for(var C=0,c;c=this.pendingDialogStack[C];++C)if(c.dialog===$)return C===0;$=$.parentElement}return!1};vt.DialogManager.prototype.handleFocus_=function($){var C=$.composedPath?$.composedPath()[0]:$.target;if(!this.containedByTopDialog_(C)&&document.activeElement!==document.documentElement&&($.preventDefault(),$.stopPropagation(),Xf(C),this.forwardTab_!==void 0)){var c=this.pendingDialogStack[0],W=c.dialog,Z=W.compareDocumentPosition(C);return Z&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?c.focus_():C!==document.documentElement&&document.documentElement.focus()),!1}};vt.DialogManager.prototype.handleKey_=function($){if(this.forwardTab_=void 0,$.keyCode===27){$.preventDefault(),$.stopPropagation();var C=new Zr("cancel",{bubbles:!1,cancelable:!0}),c=this.pendingDialogStack[0];c&&Qf(c.dialog,C)&&c.dialog.close()}else $.keyCode===9&&(this.forwardTab_=!$.shiftKey)};vt.DialogManager.prototype.checkDOM_=function($){var C=this.pendingDialogStack.slice();C.forEach(function(c){$.indexOf(c.dialog)!==-1?c.downgradeModal():c.maybeHideModal()})};vt.DialogManager.prototype.pushDialog=function($){var C=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=C?!1:(this.pendingDialogStack.unshift($)===1&&this.blockDocument(),this.updateStacking(),!0)};vt.DialogManager.prototype.removeDialog=function($){var C=this.pendingDialogStack.indexOf($);C!==-1&&(this.pendingDialogStack.splice(C,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())};vt.dm=new vt.DialogManager;vt.formSubmitter=null;vt.imagemapUseValue=null;if(window.HTMLDialogElement===void 0){var Bf=document.createElement("form");if(Bf.setAttribute("method","dialog"),Bf.method!=="dialog"){var Jr=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Jr){var Tv=Jr.get;Jr.get=function(){return ka(this)?"dialog":Tv.call(this)};var Cv=Jr.set;Jr.set=function($){return typeof $=="string"&&$.toLowerCase()==="dialog"?this.setAttribute("method",$):Cv.call(this,$)},Object.defineProperty(HTMLFormElement.prototype,"method",Jr)}}document.addEventListener("click",function($){if(vt.formSubmitter=null,vt.imagemapUseValue=null,!$.defaultPrevented){var C=$.target;if("composedPath"in $){var c=$.composedPath();C=c.shift()||C}if(!(!C||!ka(C.form))){var W=C.type==="submit"&&["button","input"].indexOf(C.localName)>-1;if(!W){if(!(C.localName==="input"&&C.type==="image"))return;vt.imagemapUseValue=$.offsetX+","+$.offsetY}var Z=jo(C);Z&&(vt.formSubmitter=C)}}},!1),document.addEventListener("submit",function($){var C=$.target,c=jo(C);if(!c){var W=Jf($),Z=W&&W.getAttribute("formmethod")||C.getAttribute("method");Z==="dialog"&&$.preventDefault()}});var Sv=HTMLFormElement.prototype.submit,Ev=function(){if(!ka(this))return Sv.call(this);var $=jo(this);$&&$.close()};HTMLFormElement.prototype.submit=Ev}const Av=Object.freeze(Object.defineProperty({__proto__:null,default:vt},Symbol.toStringTag,{value:"Module"})),kv=ov(Av);var Ff;function Lv(){if(Ff)return Pf;Ff=1;const $=bv();return window.dialogPolyfill=kv,window.GOVUK.sessionDialog={el:document.getElementById("js-modal-dialog"),$el:$("#js-modal-dialog"),$lastFocusedEl:null,$closeButton:$(".modal-dialog .js-dialog-close"),$fallBackElement:$(".govuk-timeout-warning-fallback"),dialogIsOpenClass:"dialog-is-open",timers:[],warningTextPrefix:$(".dialog-text-prefix").text(),warningTextSuffix:".",warningText:$(".dialog-text").text(),warningTextExtra:"",$timer:$("#js-modal-dialog .timer"),$accessibleTimer:$("#js-modal-dialog .at-timer"),secondsSessionTimeout:parseInt($("#js-modal-dialog").data("session-timeout"),10),secondsTimeoutWarning:parseInt($("#js-modal-dialog").data("session-timeout-warning"),10),timeoutRedirectUrl:$("#js-modal-dialog").data("url-redirect"),timeSessionRefreshed:new Date,bindUIElements:function(){window.GOVUK.sessionDialog.$closeButton.on("click",function(C){C.preventDefault(),window.GOVUK.sessionDialog.closeDialog()}),$(document).keydown(function(C){window.GOVUK.sessionDialog.isDialogOpen()&&C.keyCode===27&&window.GOVUK.sessionDialog.closeDialog()})},isDialogOpen:function(){return window.GOVUK.sessionDialog.el&&window.GOVUK.sessionDialog.el.open},isConfigured:function(){return window.GOVUK.sessionDialog.$timer.length>0&&window.GOVUK.sessionDialog.$accessibleTimer.length>0&&window.GOVUK.sessionDialog.secondsSessionTimeout&&window.GOVUK.sessionDialog.secondsTimeoutWarning&&window.GOVUK.sessionDialog.timeoutRedirectUrl},openDialog:function(){window.GOVUK.sessionDialog.isDialogOpen()||($("html, body").addClass(window.GOVUK.sessionDialog.dialogIsOpenClass),window.GOVUK.sessionDialog.saveLastFocusedEl(),window.GOVUK.sessionDialog.makePageContentInert(),window.GOVUK.sessionDialog.el.showModal(),window.GOVUK.sessionDialog.el.open=!0)},closeDialog:function(){window.GOVUK.sessionDialog.isDialogOpen()&&($("html, body").removeClass(window.GOVUK.sessionDialog.dialogIsOpenClass),window.GOVUK.sessionDialog.el.close(),window.GOVUK.sessionDialog.el.open=!1,window.GOVUK.sessionDialog.setFocusOnLastFocusedEl(),window.GOVUK.sessionDialog.removeInertFromPageContent(),window.GOVUK.sessionDialog.refreshSession())},saveLastFocusedEl:function(){window.GOVUK.sessionDialog.$lastFocusedEl=document.activeElement,!window.GOVUK.sessionDialog.$lastFocusedEl||window.GOVUK.sessionDialog.$lastFocusedEl===document.body?window.GOVUK.sessionDialog.$lastFocusedEl=null:document.querySelector&&(window.GOVUK.sessionDialog.$lastFocusedEl=document.querySelector(":focus"))},setFocusOnLastFocusedEl:function(){window.GOVUK.sessionDialog.$lastFocusedEl&&window.setTimeout(function(){window.GOVUK.sessionDialog.$lastFocusedEl.focus()},0)},makePageContentInert:function(){document.querySelector("#content")&&(document.querySelector("#content").inert=!0,document.querySelector("#content").setAttribute("aria-hidden","true"))},removeInertFromPageContent:function(){document.querySelector("#content")&&(document.querySelector("#content").inert=!1,document.querySelector("#content").setAttribute("aria-hidden","false"))},numberToWords:function(C){const c=C.toString();let W,Z,ee,he,Ee,ye="and";if(parseInt(c,10)===0)return"zero";const we=["","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],qe=["","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],xe=["","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quatttuor-decillion","quindecillion","sexdecillion","septen-decillion","octodecillion","novemdecillion","vigintillion","centillion"];W=c.length;const _e=[];for(;W>0;)Z=W,_e.push(c.slice(W=Math.max(0,W-3),Z));const D=_e.length;if(D>xe.length)return"";for(ye=[],Ee=0;Ee<D;Ee++)ee=parseInt(_e[Ee],10),ee&&(he=_e[Ee].split("").reverse().map(parseFloat),he[1]===1&&(he[0]+=10),xe[Ee]&&ye.push(xe[Ee]),we[he[0]]&&ye.push(we[he[0]]),qe[he[1]]&&ye.push(qe[he[1]]),we[he[2]]&&ye.push(we[he[2]]+" hundred"));return ye.reverse().join(" ")},timeToWords:function(C,c){let W;if(C>0){try{W=window.GOVUK.sessionDialog.numberToWords(C)}catch{W=C}W=W+" "+window.GOVUK.sessionDialog.pluralise(C,c)}else W="";return W},pluralise:function(C,c){return C===1?c:c+"s"},numericSpan:function(C,c){return'<span class="tabular-numbers">'+C+"</span> "+window.GOVUK.sessionDialog.pluralise(C,c)},countdownText:function(C,c){const W=window.GOVUK.sessionDialog.numericSpan(C,"minute"),Z=window.GOVUK.sessionDialog.numericSpan(c,"second");return C>0?W:Z},countdownAtText:function(C,c){const W=window.GOVUK.sessionDialog.timeToWords(C,"minute"),Z=window.GOVUK.sessionDialog.timeToWords(c,"second");return C>0?W:Z},startCountdown:function(){const C=window.GOVUK.sessionDialog.$timer,c=window.GOVUK.sessionDialog.$accessibleTimer;let W=!1;const Z=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,he=window.GOVUK.sessionDialog.secondsUntilSessionTimeout()/60;C.text(he+" minute"+(he>1?"s":"")),(function Ee(){const ye=window.GOVUK.sessionDialog.secondsUntilSessionTimeout();if(!(ye<=0)){const qe=parseInt(ye/60,10),xe=parseInt(ye%60,10),_e=window.GOVUK.sessionDialog.countdownText(qe,xe),D=window.GOVUK.sessionDialog.warningTextPrefix+"<strong>"+_e+"</strong>"+window.GOVUK.sessionDialog.warningTextSuffix+"<p>"+window.GOVUK.sessionDialog.warningText+"</p>",A=window.GOVUK.sessionDialog.countdownAtText(qe,xe),y=window.GOVUK.sessionDialog.warningTextPrefix+A+window.GOVUK.sessionDialog.warningTextSuffix+" "+window.GOVUK.sessionDialog.warningText,k=`
40
- `+window.GOVUK.sessionDialog.warningTextExtra;C.html(D+" "+k),xe%20===0&&(!W&&!Z?(c.text(y+k),W=!0):c.text(y)),window.GOVUK.sessionDialog.addTimer(Ee,20)}})()},clearTimers:function(){for(let C=0;C<window.GOVUK.sessionDialog.timers.length;C++)clearInterval(window.GOVUK.sessionDialog.timers[C])},refreshSession:function(){$.get(""),window.GOVUK.sessionDialog.timeSessionRefreshed=new Date,window.GOVUK.sessionDialog.controller()},redirect:function(){window.location=window.GOVUK.sessionDialog.timeoutRedirectUrl},addTimer:function(C,c){window.GOVUK.sessionDialog.timers.push(setInterval(C,c*1e3))},secondsSinceRefresh:function(){return Math.round(Math.abs((window.GOVUK.sessionDialog.timeSessionRefreshed-new Date)/1e3))},secondsUntilSessionTimeout:function(){return window.GOVUK.sessionDialog.secondsSessionTimeout-window.GOVUK.sessionDialog.secondsSinceRefresh()},secondsUntilTimeoutWarning:function(){return window.GOVUK.sessionDialog.secondsUntilSessionTimeout()-window.GOVUK.sessionDialog.secondsTimeoutWarning},controller:function(){window.GOVUK.sessionDialog.clearTimers();const C=window.GOVUK.sessionDialog.secondsUntilSessionTimeout();C<=0?window.GOVUK.sessionDialog.redirect():C<=window.GOVUK.sessionDialog.secondsTimeoutWarning?(window.GOVUK.sessionDialog.openDialog(),window.GOVUK.sessionDialog.startCountdown(),window.GOVUK.sessionDialog.addTimer(window.GOVUK.sessionDialog.controller,window.GOVUK.sessionDialog.secondsUntilSessionTimeout())):window.GOVUK.sessionDialog.addTimer(window.GOVUK.sessionDialog.controller,window.GOVUK.sessionDialog.secondsUntilTimeoutWarning())},init:function(C){if($.extend(window.GOVUK.sessionDialog,C),window.GOVUK.sessionDialog.el&&window.GOVUK.sessionDialog.isConfigured()){if(typeof HTMLDialogElement!="function")try{return window.dialogPolyfill.registerDialog(window.GOVUK.sessionDialog.el),!0}catch{return window.GOVUK.sessionDialog.$fallBackElement.classList.add("govuk-!-display-block"),!1}return window.GOVUK.sessionDialog.bindUIElements(),window.GOVUK.sessionDialog.controller(),!0}return!1}},window.GOVUK.sessionDialog.init(),Pf}var $f;function Dv(){if($f)return xf;$f=1;var $=hv(),C=$.helpers,c=$.progressiveReveal,W=$.formFocus,Z=$.characterCount,ee=$.validation,he=pv();he.initAll(),window.GOVUK=he,gv(),vv();var Ee=mv();return Lv(),$.detailsSummary(),C.documentReady(c),C.documentReady(W),C.documentReady(Ee.initialiseCookieBanner),C.documentReady(Ee.initialiseCookiePage),C.documentReady(Ee.onLoad),C.documentReady(Z),C.documentReady(ee),xf}var Cs={exports:{}};/*!
41
- * jQuery JavaScript Library v3.7.1
42
- * https://jquery.com/
43
- *
44
- * Copyright OpenJS Foundation and other contributors
45
- * Released under the MIT license
46
- * https://jquery.org/license
47
- *
48
- * Date: 2023-08-28T13:37Z
49
- */var Ov=Cs.exports,jf;function As(){return jf||(jf=1,(function($){(function(C,c){$.exports=C.document?c(C,!0):function(W){if(!W.document)throw new Error("jQuery requires a window with a document");return c(W)}})(typeof window<"u"?window:Ov,function(C,c){var W=[],Z=Object.getPrototypeOf,ee=W.slice,he=W.flat?function(e){return W.flat.call(e)}:function(e){return W.concat.apply([],e)},Ee=W.push,ye=W.indexOf,we={},qe=we.toString,xe=we.hasOwnProperty,_e=xe.toString,D=_e.call(Object),A={},y=function(n){return typeof n=="function"&&typeof n.nodeType!="number"&&typeof n.item!="function"},k=function(n){return n!=null&&n===n.window},b=C.document,T={type:!0,src:!0,nonce:!0,noModule:!0};function g(e,n,r){r=r||b;var s,u,f=r.createElement("script");if(f.text=e,n)for(s in T)u=n[s]||n.getAttribute&&n.getAttribute(s),u&&f.setAttribute(s,u);r.head.appendChild(f).parentNode.removeChild(f)}function S(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?we[qe.call(e)]||"object":typeof e}var H="3.7.1",K=/HTML$/i,o=function(e,n){return new o.fn.init(e,n)};o.fn=o.prototype={jquery:H,constructor:o,length:0,toArray:function(){return ee.call(this)},get:function(e){return e==null?ee.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var n=o.merge(this.constructor(),e);return n.prevObject=this,n},each:function(e){return o.each(this,e)},map:function(e){return this.pushStack(o.map(this,function(n,r){return e.call(n,r,n)}))},slice:function(){return this.pushStack(ee.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(o.grep(this,function(e,n){return(n+1)%2}))},odd:function(){return this.pushStack(o.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:Ee,sort:W.sort,splice:W.splice},o.extend=o.fn.extend=function(){var e,n,r,s,u,f,l=arguments[0]||{},v=1,p=arguments.length,E=!1;for(typeof l=="boolean"&&(E=l,l=arguments[v]||{},v++),typeof l!="object"&&!y(l)&&(l={}),v===p&&(l=this,v--);v<p;v++)if((e=arguments[v])!=null)for(n in e)s=e[n],!(n==="__proto__"||l===s)&&(E&&s&&(o.isPlainObject(s)||(u=Array.isArray(s)))?(r=l[n],u&&!Array.isArray(r)?f=[]:!u&&!o.isPlainObject(r)?f={}:f=r,u=!1,l[n]=o.extend(E,f,s)):s!==void 0&&(l[n]=s));return l},o.extend({expando:"jQuery"+(H+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var n,r;return!e||qe.call(e)!=="[object Object]"?!1:(n=Z(e),n?(r=xe.call(n,"constructor")&&n.constructor,typeof r=="function"&&_e.call(r)===D):!0)},isEmptyObject:function(e){var n;for(n in e)return!1;return!0},globalEval:function(e,n,r){g(e,{nonce:n&&n.nonce},r)},each:function(e,n){var r,s=0;if(Y(e))for(r=e.length;s<r&&n.call(e[s],s,e[s])!==!1;s++);else for(s in e)if(n.call(e[s],s,e[s])===!1)break;return e},text:function(e){var n,r="",s=0,u=e.nodeType;if(!u)for(;n=e[s++];)r+=o.text(n);return u===1||u===11?e.textContent:u===9?e.documentElement.textContent:u===3||u===4?e.nodeValue:r},makeArray:function(e,n){var r=n||[];return e!=null&&(Y(Object(e))?o.merge(r,typeof e=="string"?[e]:e):Ee.call(r,e)),r},inArray:function(e,n,r){return n==null?-1:ye.call(n,e,r)},isXMLDoc:function(e){var n=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!K.test(n||r&&r.nodeName||"HTML")},merge:function(e,n){for(var r=+n.length,s=0,u=e.length;s<r;s++)e[u++]=n[s];return e.length=u,e},grep:function(e,n,r){for(var s,u=[],f=0,l=e.length,v=!r;f<l;f++)s=!n(e[f],f),s!==v&&u.push(e[f]);return u},map:function(e,n,r){var s,u,f=0,l=[];if(Y(e))for(s=e.length;f<s;f++)u=n(e[f],f,r),u!=null&&l.push(u);else for(f in e)u=n(e[f],f,r),u!=null&&l.push(u);return he(l)},guid:1,support:A}),typeof Symbol=="function"&&(o.fn[Symbol.iterator]=W[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,n){we["[object "+n+"]"]=n.toLowerCase()});function Y(e){var n=!!e&&"length"in e&&e.length,r=S(e);return y(e)||k(e)?!1:r==="array"||n===0||typeof n=="number"&&n>0&&n-1 in e}function J(e,n){return e.nodeName&&e.nodeName.toLowerCase()===n.toLowerCase()}var fe=W.pop,Ie=W.sort,nt=W.splice,Ce="[\\x20\\t\\r\\n\\f]",Tt=new RegExp("^"+Ce+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ce+"+$","g");o.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 it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function On(e,n){return n?e==="\0"?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}o.escapeSelector=function(e){return(e+"").replace(it,On)};var m=b,N=Ee;(function(){var e,n,r,s,u,f=N,l,v,p,E,B,j=o.expando,R=0,V=0,se=$n(),Ae=$n(),Te=$n(),ot=$n(),Ve=function(d,_){return d===_&&(u=!0),0},It="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Rt="(?:\\\\[\\da-fA-F]{1,6}"+Ce+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ke="\\["+Ce+"*("+Rt+")(?:"+Ce+"*([*^$|!~]?=)"+Ce+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Rt+"))|)"+Ce+"*\\]",Yt=":("+Rt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ke+")*)|.*)\\)|)",Oe=new RegExp(Ce+"+","g"),$e=new RegExp("^"+Ce+"*,"+Ce+"*"),Mn=new RegExp("^"+Ce+"*([>+~]|"+Ce+")"+Ce+"*"),li=new RegExp(Ce+"|>"),Dt=new RegExp(Yt),mn=new RegExp("^"+Rt+"$"),kt={ID:new RegExp("^#("+Rt+")"),CLASS:new RegExp("^\\.("+Rt+")"),TAG:new RegExp("^("+Rt+"|[*])"),ATTR:new RegExp("^"+ke),PSEUDO:new RegExp("^"+Yt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ce+"*(even|odd|(([+-]|)(\\d*)n|)"+Ce+"*(?:([+-]|)"+Ce+"*(\\d+)|))"+Ce+"*\\)|)","i"),bool:new RegExp("^(?:"+It+")$","i"),needsContext:new RegExp("^"+Ce+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ce+"*((?:-\\d)?\\d*)"+Ce+"*\\)|)(?=[^-]|$)","i")},Ut=/^(?:input|select|textarea|button)$/i,Kt=/^h\d$/i,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Jn=/[+~]/,Ht=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ce+"?|\\\\([^\\r\\n\\f])","g"),Mt=function(d,_){var I="0x"+d.slice(1)-65536;return _||(I<0?String.fromCharCode(I+65536):String.fromCharCode(I>>10|55296,I&1023|56320))},on=function(){Gt()},Cr=Sn(function(d){return d.disabled===!0&&J(d,"fieldset")},{dir:"parentNode",next:"legend"});function Si(){try{return l.activeElement}catch{}}try{f.apply(W=ee.call(m.childNodes),m.childNodes),W[m.childNodes.length].nodeType}catch{f={apply:function(_,I){N.apply(_,ee.call(I))},call:function(_){N.apply(_,ee.call(arguments,1))}}}function Ne(d,_,I,M){var w,P,q,z,Q,de,ae,oe=_&&_.ownerDocument,Se=_?_.nodeType:9;if(I=I||[],typeof d!="string"||!d||Se!==1&&Se!==9&&Se!==11)return I;if(!M&&(Gt(_),_=_||l,p)){if(Se!==11&&(Q=_t.exec(d)))if(w=Q[1]){if(Se===9)if(q=_.getElementById(w)){if(q.id===w)return f.call(I,q),I}else return I;else if(oe&&(q=oe.getElementById(w))&&Ne.contains(_,q)&&q.id===w)return f.call(I,q),I}else{if(Q[2])return f.apply(I,_.getElementsByTagName(d)),I;if((w=Q[3])&&_.getElementsByClassName)return f.apply(I,_.getElementsByClassName(w)),I}if(!ot[d+" "]&&(!E||!E.test(d))){if(ae=d,oe=_,Se===1&&(li.test(d)||Mn.test(d))){for(oe=Jn.test(d)&&Ei(_.parentNode)||_,(oe!=_||!A.scope)&&((z=_.getAttribute("id"))?z=o.escapeSelector(z):_.setAttribute("id",z=j)),de=Cn(d),P=de.length;P--;)de[P]=(z?"#"+z:":scope")+" "+Jt(de[P]);ae=de.join(",")}try{return f.apply(I,oe.querySelectorAll(ae)),I}catch{ot(d,!0)}finally{z===j&&_.removeAttribute("id")}}}return Er(d.replace(Tt,"$1"),_,I,M)}function $n(){var d=[];function _(I,M){return d.push(I+" ")>n.cacheLength&&delete _[d.shift()],_[I+" "]=M}return _}function Lt(d){return d[j]=!0,d}function yn(d){var _=l.createElement("fieldset");try{return!!d(_)}catch{return!1}finally{_.parentNode&&_.parentNode.removeChild(_),_=null}}function _o(d){return function(_){return J(_,"input")&&_.type===d}}function To(d){return function(_){return(J(_,"input")||J(_,"button"))&&_.type===d}}function Sr(d){return function(_){return"form"in _?_.parentNode&&_.disabled===!1?"label"in _?"label"in _.parentNode?_.parentNode.disabled===d:_.disabled===d:_.isDisabled===d||_.isDisabled!==!d&&Cr(_)===d:_.disabled===d:"label"in _?_.disabled===d:!1}}function Pt(d){return Lt(function(_){return _=+_,Lt(function(I,M){for(var w,P=d([],I.length,_),q=P.length;q--;)I[w=P[q]]&&(I[w]=!(M[w]=I[w]))})})}function Ei(d){return d&&typeof d.getElementsByTagName<"u"&&d}function Gt(d){var _,I=d?d.ownerDocument||d:m;return I==l||I.nodeType!==9||!I.documentElement||(l=I,v=l.documentElement,p=!o.isXMLDoc(l),B=v.matches||v.webkitMatchesSelector||v.msMatchesSelector,v.msMatchesSelector&&m!=l&&(_=l.defaultView)&&_.top!==_&&_.addEventListener("unload",on),A.getById=yn(function(M){return v.appendChild(M).id=o.expando,!l.getElementsByName||!l.getElementsByName(o.expando).length}),A.disconnectedMatch=yn(function(M){return B.call(M,"*")}),A.scope=yn(function(){return l.querySelectorAll(":scope")}),A.cssHas=yn(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),A.getById?(n.filter.ID=function(M){var w=M.replace(Ht,Mt);return function(P){return P.getAttribute("id")===w}},n.find.ID=function(M,w){if(typeof w.getElementById<"u"&&p){var P=w.getElementById(M);return P?[P]:[]}}):(n.filter.ID=function(M){var w=M.replace(Ht,Mt);return function(P){var q=typeof P.getAttributeNode<"u"&&P.getAttributeNode("id");return q&&q.value===w}},n.find.ID=function(M,w){if(typeof w.getElementById<"u"&&p){var P,q,z,Q=w.getElementById(M);if(Q){if(P=Q.getAttributeNode("id"),P&&P.value===M)return[Q];for(z=w.getElementsByName(M),q=0;Q=z[q++];)if(P=Q.getAttributeNode("id"),P&&P.value===M)return[Q]}return[]}}),n.find.TAG=function(M,w){return typeof w.getElementsByTagName<"u"?w.getElementsByTagName(M):w.querySelectorAll(M)},n.find.CLASS=function(M,w){if(typeof w.getElementsByClassName<"u"&&p)return w.getElementsByClassName(M)},E=[],yn(function(M){var w;v.appendChild(M).innerHTML="<a id='"+j+"' href='' disabled='disabled'></a><select id='"+j+"-\r\\' disabled='disabled'><option selected=''></option></select>",M.querySelectorAll("[selected]").length||E.push("\\["+Ce+"*(?:value|"+It+")"),M.querySelectorAll("[id~="+j+"-]").length||E.push("~="),M.querySelectorAll("a#"+j+"+*").length||E.push(".#.+[+~]"),M.querySelectorAll(":checked").length||E.push(":checked"),w=l.createElement("input"),w.setAttribute("type","hidden"),M.appendChild(w).setAttribute("name","D"),v.appendChild(M).disabled=!0,M.querySelectorAll(":disabled").length!==2&&E.push(":enabled",":disabled"),w=l.createElement("input"),w.setAttribute("name",""),M.appendChild(w),M.querySelectorAll("[name='']").length||E.push("\\["+Ce+"*name"+Ce+"*="+Ce+`*(?:''|"")`)}),A.cssHas||E.push(":has"),E=E.length&&new RegExp(E.join("|")),Ve=function(M,w){if(M===w)return u=!0,0;var P=!M.compareDocumentPosition-!w.compareDocumentPosition;return P||(P=(M.ownerDocument||M)==(w.ownerDocument||w)?M.compareDocumentPosition(w):1,P&1||!A.sortDetached&&w.compareDocumentPosition(M)===P?M===l||M.ownerDocument==m&&Ne.contains(m,M)?-1:w===l||w.ownerDocument==m&&Ne.contains(m,w)?1:s?ye.call(s,M)-ye.call(s,w):0:P&4?-1:1)}),l}Ne.matches=function(d,_){return Ne(d,null,null,_)},Ne.matchesSelector=function(d,_){if(Gt(d),p&&!ot[_+" "]&&(!E||!E.test(_)))try{var I=B.call(d,_);if(I||A.disconnectedMatch||d.document&&d.document.nodeType!==11)return I}catch{ot(_,!0)}return Ne(_,l,null,[d]).length>0},Ne.contains=function(d,_){return(d.ownerDocument||d)!=l&&Gt(d),o.contains(d,_)},Ne.attr=function(d,_){(d.ownerDocument||d)!=l&&Gt(d);var I=n.attrHandle[_.toLowerCase()],M=I&&xe.call(n.attrHandle,_.toLowerCase())?I(d,_,!p):void 0;return M!==void 0?M:d.getAttribute(_)},Ne.error=function(d){throw new Error("Syntax error, unrecognized expression: "+d)},o.uniqueSort=function(d){var _,I=[],M=0,w=0;if(u=!A.sortStable,s=!A.sortStable&&ee.call(d,0),Ie.call(d,Ve),u){for(;_=d[w++];)_===d[w]&&(M=I.push(w));for(;M--;)nt.call(d,I[M],1)}return s=null,d},o.fn.uniqueSort=function(){return this.pushStack(o.uniqueSort(ee.apply(this)))},n=o.expr={cacheLength:50,createPseudo:Lt,match:kt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(d){return d[1]=d[1].replace(Ht,Mt),d[3]=(d[3]||d[4]||d[5]||"").replace(Ht,Mt),d[2]==="~="&&(d[3]=" "+d[3]+" "),d.slice(0,4)},CHILD:function(d){return d[1]=d[1].toLowerCase(),d[1].slice(0,3)==="nth"?(d[3]||Ne.error(d[0]),d[4]=+(d[4]?d[5]+(d[6]||1):2*(d[3]==="even"||d[3]==="odd")),d[5]=+(d[7]+d[8]||d[3]==="odd")):d[3]&&Ne.error(d[0]),d},PSEUDO:function(d){var _,I=!d[6]&&d[2];return kt.CHILD.test(d[0])?null:(d[3]?d[2]=d[4]||d[5]||"":I&&Dt.test(I)&&(_=Cn(I,!0))&&(_=I.indexOf(")",I.length-_)-I.length)&&(d[0]=d[0].slice(0,_),d[2]=I.slice(0,_)),d.slice(0,3))}},filter:{TAG:function(d){var _=d.replace(Ht,Mt).toLowerCase();return d==="*"?function(){return!0}:function(I){return J(I,_)}},CLASS:function(d){var _=se[d+" "];return _||(_=new RegExp("(^|"+Ce+")"+d+"("+Ce+"|$)"))&&se(d,function(I){return _.test(typeof I.className=="string"&&I.className||typeof I.getAttribute<"u"&&I.getAttribute("class")||"")})},ATTR:function(d,_,I){return function(M){var w=Ne.attr(M,d);return w==null?_==="!=":_?(w+="",_==="="?w===I:_==="!="?w!==I:_==="^="?I&&w.indexOf(I)===0:_==="*="?I&&w.indexOf(I)>-1:_==="$="?I&&w.slice(-I.length)===I:_==="~="?(" "+w.replace(Oe," ")+" ").indexOf(I)>-1:_==="|="?w===I||w.slice(0,I.length+1)===I+"-":!1):!0}},CHILD:function(d,_,I,M,w){var P=d.slice(0,3)!=="nth",q=d.slice(-4)!=="last",z=_==="of-type";return M===1&&w===0?function(Q){return!!Q.parentNode}:function(Q,de,ae){var oe,Se,pe,Re,ht,ft=P!==q?"nextSibling":"previousSibling",gt=Q.parentNode,Et=z&&Q.nodeName.toLowerCase(),Zt=!ae&&!z,Me=!1;if(gt){if(P){for(;ft;){for(pe=Q;pe=pe[ft];)if(z?J(pe,Et):pe.nodeType===1)return!1;ht=ft=d==="only"&&!ht&&"nextSibling"}return!0}if(ht=[q?gt.firstChild:gt.lastChild],q&&Zt){for(Se=gt[j]||(gt[j]={}),oe=Se[d]||[],Re=oe[0]===R&&oe[1],Me=Re&&oe[2],pe=Re&&gt.childNodes[Re];pe=++Re&&pe&&pe[ft]||(Me=Re=0)||ht.pop();)if(pe.nodeType===1&&++Me&&pe===Q){Se[d]=[R,Re,Me];break}}else if(Zt&&(Se=Q[j]||(Q[j]={}),oe=Se[d]||[],Re=oe[0]===R&&oe[1],Me=Re),Me===!1)for(;(pe=++Re&&pe&&pe[ft]||(Me=Re=0)||ht.pop())&&!((z?J(pe,Et):pe.nodeType===1)&&++Me&&(Zt&&(Se=pe[j]||(pe[j]={}),Se[d]=[R,Me]),pe===Q)););return Me-=w,Me===M||Me%M===0&&Me/M>=0}}},PSEUDO:function(d,_){var I,M=n.pseudos[d]||n.setFilters[d.toLowerCase()]||Ne.error("unsupported pseudo: "+d);return M[j]?M(_):M.length>1?(I=[d,d,"",_],n.setFilters.hasOwnProperty(d.toLowerCase())?Lt(function(w,P){for(var q,z=M(w,_),Q=z.length;Q--;)q=ye.call(w,z[Q]),w[q]=!(P[q]=z[Q])}):function(w){return M(w,0,I)}):M}},pseudos:{not:Lt(function(d){var _=[],I=[],M=Li(d.replace(Tt,"$1"));return M[j]?Lt(function(w,P,q,z){for(var Q,de=M(w,null,z,[]),ae=w.length;ae--;)(Q=de[ae])&&(w[ae]=!(P[ae]=Q))}):function(w,P,q){return _[0]=w,M(_,null,q,I),_[0]=null,!I.pop()}}),has:Lt(function(d){return function(_){return Ne(d,_).length>0}}),contains:Lt(function(d){return d=d.replace(Ht,Mt),function(_){return(_.textContent||o.text(_)).indexOf(d)>-1}}),lang:Lt(function(d){return mn.test(d||"")||Ne.error("unsupported lang: "+d),d=d.replace(Ht,Mt).toLowerCase(),function(_){var I;do if(I=p?_.lang:_.getAttribute("xml:lang")||_.getAttribute("lang"))return I=I.toLowerCase(),I===d||I.indexOf(d+"-")===0;while((_=_.parentNode)&&_.nodeType===1);return!1}}),target:function(d){var _=C.location&&C.location.hash;return _&&_.slice(1)===d.id},root:function(d){return d===v},focus:function(d){return d===Si()&&l.hasFocus()&&!!(d.type||d.href||~d.tabIndex)},enabled:Sr(!1),disabled:Sr(!0),checked:function(d){return J(d,"input")&&!!d.checked||J(d,"option")&&!!d.selected},selected:function(d){return d.parentNode&&d.parentNode.selectedIndex,d.selected===!0},empty:function(d){for(d=d.firstChild;d;d=d.nextSibling)if(d.nodeType<6)return!1;return!0},parent:function(d){return!n.pseudos.empty(d)},header:function(d){return Kt.test(d.nodeName)},input:function(d){return Ut.test(d.nodeName)},button:function(d){return J(d,"input")&&d.type==="button"||J(d,"button")},text:function(d){var _;return J(d,"input")&&d.type==="text"&&((_=d.getAttribute("type"))==null||_.toLowerCase()==="text")},first:Pt(function(){return[0]}),last:Pt(function(d,_){return[_-1]}),eq:Pt(function(d,_,I){return[I<0?I+_:I]}),even:Pt(function(d,_){for(var I=0;I<_;I+=2)d.push(I);return d}),odd:Pt(function(d,_){for(var I=1;I<_;I+=2)d.push(I);return d}),lt:Pt(function(d,_,I){var M;for(I<0?M=I+_:I>_?M=_:M=I;--M>=0;)d.push(M);return d}),gt:Pt(function(d,_,I){for(var M=I<0?I+_:I;++M<_;)d.push(M);return d})}},n.pseudos.nth=n.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=_o(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=To(e);function Ai(){}Ai.prototype=n.filters=n.pseudos,n.setFilters=new Ai;function Cn(d,_){var I,M,w,P,q,z,Q,de=Ae[d+" "];if(de)return _?0:de.slice(0);for(q=d,z=[],Q=n.preFilter;q;){(!I||(M=$e.exec(q)))&&(M&&(q=q.slice(M[0].length)||q),z.push(w=[])),I=!1,(M=Mn.exec(q))&&(I=M.shift(),w.push({value:I,type:M[0].replace(Tt," ")}),q=q.slice(I.length));for(P in n.filter)(M=kt[P].exec(q))&&(!Q[P]||(M=Q[P](M)))&&(I=M.shift(),w.push({value:I,type:P,matches:M}),q=q.slice(I.length));if(!I)break}return _?q.length:q?Ne.error(d):Ae(d,z).slice(0)}function Jt(d){for(var _=0,I=d.length,M="";_<I;_++)M+=d[_].value;return M}function Sn(d,_,I){var M=_.dir,w=_.next,P=w||M,q=I&&P==="parentNode",z=V++;return _.first?function(Q,de,ae){for(;Q=Q[M];)if(Q.nodeType===1||q)return d(Q,de,ae);return!1}:function(Q,de,ae){var oe,Se,pe=[R,z];if(ae){for(;Q=Q[M];)if((Q.nodeType===1||q)&&d(Q,de,ae))return!0}else for(;Q=Q[M];)if(Q.nodeType===1||q)if(Se=Q[j]||(Q[j]={}),w&&J(Q,w))Q=Q[M]||Q;else{if((oe=Se[P])&&oe[0]===R&&oe[1]===z)return pe[2]=oe[2];if(Se[P]=pe,pe[2]=d(Q,de,ae))return!0}return!1}}function ki(d){return d.length>1?function(_,I,M){for(var w=d.length;w--;)if(!d[w](_,I,M))return!1;return!0}:d[0]}function Co(d,_,I){for(var M=0,w=_.length;M<w;M++)Ne(d,_[M],I);return I}function Zn(d,_,I,M,w){for(var P,q=[],z=0,Q=d.length,de=_!=null;z<Q;z++)(P=d[z])&&(!I||I(P,M,w))&&(q.push(P),de&&_.push(z));return q}function En(d,_,I,M,w,P){return M&&!M[j]&&(M=En(M)),w&&!w[j]&&(w=En(w,P)),Lt(function(q,z,Q,de){var ae,oe,Se,pe,Re=[],ht=[],ft=z.length,gt=q||Co(_||"*",Q.nodeType?[Q]:Q,[]),Et=d&&(q||!_)?Zn(gt,Re,d,Q,de):gt;if(I?(pe=w||(q?d:ft||M)?[]:z,I(Et,pe,Q,de)):pe=Et,M)for(ae=Zn(pe,ht),M(ae,[],Q,de),oe=ae.length;oe--;)(Se=ae[oe])&&(pe[ht[oe]]=!(Et[ht[oe]]=Se));if(q){if(w||d){if(w){for(ae=[],oe=pe.length;oe--;)(Se=pe[oe])&&ae.push(Et[oe]=Se);w(null,pe=[],ae,de)}for(oe=pe.length;oe--;)(Se=pe[oe])&&(ae=w?ye.call(q,Se):Re[oe])>-1&&(q[ae]=!(z[ae]=Se))}}else pe=Zn(pe===z?pe.splice(ft,pe.length):pe),w?w(null,z,pe,de):f.apply(z,pe)})}function Vt(d){for(var _,I,M,w=d.length,P=n.relative[d[0].type],q=P||n.relative[" "],z=P?1:0,Q=Sn(function(oe){return oe===_},q,!0),de=Sn(function(oe){return ye.call(_,oe)>-1},q,!0),ae=[function(oe,Se,pe){var Re=!P&&(pe||Se!=r)||((_=Se).nodeType?Q(oe,Se,pe):de(oe,Se,pe));return _=null,Re}];z<w;z++)if(I=n.relative[d[z].type])ae=[Sn(ki(ae),I)];else{if(I=n.filter[d[z].type].apply(null,d[z].matches),I[j]){for(M=++z;M<w&&!n.relative[d[M].type];M++);return En(z>1&&ki(ae),z>1&&Jt(d.slice(0,z-1).concat({value:d[z-2].type===" "?"*":""})).replace(Tt,"$1"),I,z<M&&Vt(d.slice(z,M)),M<w&&Vt(d=d.slice(M)),M<w&&Jt(d))}ae.push(I)}return ki(ae)}function Ur(d,_){var I=_.length>0,M=d.length>0,w=function(P,q,z,Q,de){var ae,oe,Se,pe=0,Re="0",ht=P&&[],ft=[],gt=r,Et=P||M&&n.find.TAG("*",de),Zt=R+=gt==null?1:Math.random()||.1,Me=Et.length;for(de&&(r=q==l||q||de);Re!==Me&&(ae=Et[Re])!=null;Re++){if(M&&ae){for(oe=0,!q&&ae.ownerDocument!=l&&(Gt(ae),z=!p);Se=d[oe++];)if(Se(ae,q||l,z)){f.call(Q,ae);break}de&&(R=Zt)}I&&((ae=!Se&&ae)&&pe--,P&&ht.push(ae))}if(pe+=Re,I&&Re!==pe){for(oe=0;Se=_[oe++];)Se(ht,ft,q,z);if(P){if(pe>0)for(;Re--;)ht[Re]||ft[Re]||(ft[Re]=fe.call(Q));ft=Zn(ft)}f.apply(Q,ft),de&&!P&&ft.length>0&&pe+_.length>1&&o.uniqueSort(Q)}return de&&(R=Zt,r=gt),ht};return I?Lt(w):w}function Li(d,_){var I,M=[],w=[],P=Te[d+" "];if(!P){for(_||(_=Cn(d)),I=_.length;I--;)P=Vt(_[I]),P[j]?M.push(P):w.push(P);P=Te(d,Ur(w,M)),P.selector=d}return P}function Er(d,_,I,M){var w,P,q,z,Q,de=typeof d=="function"&&d,ae=!M&&Cn(d=de.selector||d);if(I=I||[],ae.length===1){if(P=ae[0]=ae[0].slice(0),P.length>2&&(q=P[0]).type==="ID"&&_.nodeType===9&&p&&n.relative[P[1].type]){if(_=(n.find.ID(q.matches[0].replace(Ht,Mt),_)||[])[0],_)de&&(_=_.parentNode);else return I;d=d.slice(P.shift().value.length)}for(w=kt.needsContext.test(d)?0:P.length;w--&&(q=P[w],!n.relative[z=q.type]);)if((Q=n.find[z])&&(M=Q(q.matches[0].replace(Ht,Mt),Jn.test(P[0].type)&&Ei(_.parentNode)||_))){if(P.splice(w,1),d=M.length&&Jt(P),!d)return f.apply(I,M),I;break}}return(de||Li(d,ae))(M,_,!p,I,!_||Jn.test(d)&&Ei(_.parentNode)||_),I}A.sortStable=j.split("").sort(Ve).join("")===j,Gt(),A.sortDetached=yn(function(d){return d.compareDocumentPosition(l.createElement("fieldset"))&1}),o.find=Ne,o.expr[":"]=o.expr.pseudos,o.unique=o.uniqueSort,Ne.compile=Li,Ne.select=Er,Ne.setDocument=Gt,Ne.tokenize=Cn,Ne.escape=o.escapeSelector,Ne.getText=o.text,Ne.isXML=o.isXMLDoc,Ne.selectors=o.expr,Ne.support=o.support,Ne.uniqueSort=o.uniqueSort})();var F=function(e,n,r){for(var s=[],u=r!==void 0;(e=e[n])&&e.nodeType!==9;)if(e.nodeType===1){if(u&&o(e).is(r))break;s.push(e)}return s},ne=function(e,n){for(var r=[];e;e=e.nextSibling)e.nodeType===1&&e!==n&&r.push(e);return r},re=o.expr.match.needsContext,me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ce(e,n,r){return y(n)?o.grep(e,function(s,u){return!!n.call(s,u,s)!==r}):n.nodeType?o.grep(e,function(s){return s===n!==r}):typeof n!="string"?o.grep(e,function(s){return ye.call(n,s)>-1!==r}):o.filter(n,e,r)}o.filter=function(e,n,r){var s=n[0];return r&&(e=":not("+e+")"),n.length===1&&s.nodeType===1?o.find.matchesSelector(s,e)?[s]:[]:o.find.matches(e,o.grep(n,function(u){return u.nodeType===1}))},o.fn.extend({find:function(e){var n,r,s=this.length,u=this;if(typeof e!="string")return this.pushStack(o(e).filter(function(){for(n=0;n<s;n++)if(o.contains(u[n],this))return!0}));for(r=this.pushStack([]),n=0;n<s;n++)o.find(e,u[n],r);return s>1?o.uniqueSort(r):r},filter:function(e){return this.pushStack(ce(this,e||[],!1))},not:function(e){return this.pushStack(ce(this,e||[],!0))},is:function(e){return!!ce(this,typeof e=="string"&&re.test(e)?o(e):e||[],!1).length}});var te,be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ge=o.fn.init=function(e,n,r){var s,u;if(!e)return this;if(r=r||te,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?s=[null,e,null]:s=be.exec(e),s&&(s[1]||!n))if(s[1]){if(n=n instanceof o?n[0]:n,o.merge(this,o.parseHTML(s[1],n&&n.nodeType?n.ownerDocument||n:b,!0)),me.test(s[1])&&o.isPlainObject(n))for(s in n)y(this[s])?this[s](n[s]):this.attr(s,n[s]);return this}else return u=b.getElementById(s[2]),u&&(this[0]=u,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(y(e))return r.ready!==void 0?r.ready(e):e(o)}return o.makeArray(e,this)};ge.prototype=o.fn,te=o(b);var De=/^(?:parents|prev(?:Until|All))/,Ke={children:!0,contents:!0,next:!0,prev:!0};o.fn.extend({has:function(e){var n=o(e,this),r=n.length;return this.filter(function(){for(var s=0;s<r;s++)if(o.contains(this,n[s]))return!0})},closest:function(e,n){var r,s=0,u=this.length,f=[],l=typeof e!="string"&&o(e);if(!re.test(e)){for(;s<u;s++)for(r=this[s];r&&r!==n;r=r.parentNode)if(r.nodeType<11&&(l?l.index(r)>-1:r.nodeType===1&&o.find.matchesSelector(r,e))){f.push(r);break}}return this.pushStack(f.length>1?o.uniqueSort(f):f)},index:function(e){return e?typeof e=="string"?ye.call(o(e),this[0]):ye.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(e,n))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Ge(e,n){for(;(e=e[n])&&e.nodeType!==1;);return e}o.each({parent:function(e){var n=e.parentNode;return n&&n.nodeType!==11?n:null},parents:function(e){return F(e,"parentNode")},parentsUntil:function(e,n,r){return F(e,"parentNode",r)},next:function(e){return Ge(e,"nextSibling")},prev:function(e){return Ge(e,"previousSibling")},nextAll:function(e){return F(e,"nextSibling")},prevAll:function(e){return F(e,"previousSibling")},nextUntil:function(e,n,r){return F(e,"nextSibling",r)},prevUntil:function(e,n,r){return F(e,"previousSibling",r)},siblings:function(e){return ne((e.parentNode||{}).firstChild,e)},children:function(e){return ne(e.firstChild)},contents:function(e){return e.contentDocument!=null&&Z(e.contentDocument)?e.contentDocument:(J(e,"template")&&(e=e.content||e),o.merge([],e.childNodes))}},function(e,n){o.fn[e]=function(r,s){var u=o.map(this,n,r);return e.slice(-5)!=="Until"&&(s=r),s&&typeof s=="string"&&(u=o.filter(s,u)),this.length>1&&(Ke[e]||o.uniqueSort(u),De.test(e)&&u.reverse()),this.pushStack(u)}});var Fe=/[^\x20\t\r\n\f]+/g;function He(e){var n={};return o.each(e.match(Fe)||[],function(r,s){n[s]=!0}),n}o.Callbacks=function(e){e=typeof e=="string"?He(e):o.extend({},e);var n,r,s,u,f=[],l=[],v=-1,p=function(){for(u=u||e.once,s=n=!0;l.length;v=-1)for(r=l.shift();++v<f.length;)f[v].apply(r[0],r[1])===!1&&e.stopOnFalse&&(v=f.length,r=!1);e.memory||(r=!1),n=!1,u&&(r?f=[]:f="")},E={add:function(){return f&&(r&&!n&&(v=f.length-1,l.push(r)),(function B(j){o.each(j,function(R,V){y(V)?(!e.unique||!E.has(V))&&f.push(V):V&&V.length&&S(V)!=="string"&&B(V)})})(arguments),r&&!n&&p()),this},remove:function(){return o.each(arguments,function(B,j){for(var R;(R=o.inArray(j,f,R))>-1;)f.splice(R,1),R<=v&&v--}),this},has:function(B){return B?o.inArray(B,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return u=l=[],f=r="",this},disabled:function(){return!f},lock:function(){return u=l=[],!r&&!n&&(f=r=""),this},locked:function(){return!!u},fireWith:function(B,j){return u||(j=j||[],j=[B,j.slice?j.slice():j],l.push(j),n||p()),this},fire:function(){return E.fireWith(this,arguments),this},fired:function(){return!!s}};return E};function Ze(e){return e}function Qe(e){throw e}function Be(e,n,r,s){var u;try{e&&y(u=e.promise)?u.call(e).done(n).fail(r):e&&y(u=e.then)?u.call(e,n,r):n.apply(void 0,[e].slice(s))}catch(f){r.apply(void 0,[f])}}o.extend({Deferred:function(e){var n=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return u.done(arguments).fail(arguments),this},catch:function(f){return s.then(null,f)},pipe:function(){var f=arguments;return o.Deferred(function(l){o.each(n,function(v,p){var E=y(f[p[4]])&&f[p[4]];u[p[1]](function(){var B=E&&E.apply(this,arguments);B&&y(B.promise)?B.promise().progress(l.notify).done(l.resolve).fail(l.reject):l[p[0]+"With"](this,E?[B]:arguments)})}),f=null}).promise()},then:function(f,l,v){var p=0;function E(B,j,R,V){return function(){var se=this,Ae=arguments,Te=function(){var Ve,It;if(!(B<p)){if(Ve=R.apply(se,Ae),Ve===j.promise())throw new TypeError("Thenable self-resolution");It=Ve&&(typeof Ve=="object"||typeof Ve=="function")&&Ve.then,y(It)?V?It.call(Ve,E(p,j,Ze,V),E(p,j,Qe,V)):(p++,It.call(Ve,E(p,j,Ze,V),E(p,j,Qe,V),E(p,j,Ze,j.notifyWith))):(R!==Ze&&(se=void 0,Ae=[Ve]),(V||j.resolveWith)(se,Ae))}},ot=V?Te:function(){try{Te()}catch(Ve){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(Ve,ot.error),B+1>=p&&(R!==Qe&&(se=void 0,Ae=[Ve]),j.rejectWith(se,Ae))}};B?ot():(o.Deferred.getErrorHook?ot.error=o.Deferred.getErrorHook():o.Deferred.getStackHook&&(ot.error=o.Deferred.getStackHook()),C.setTimeout(ot))}}return o.Deferred(function(B){n[0][3].add(E(0,B,y(v)?v:Ze,B.notifyWith)),n[1][3].add(E(0,B,y(f)?f:Ze)),n[2][3].add(E(0,B,y(l)?l:Qe))}).promise()},promise:function(f){return f!=null?o.extend(f,s):s}},u={};return o.each(n,function(f,l){var v=l[2],p=l[5];s[l[1]]=v.add,p&&v.add(function(){r=p},n[3-f][2].disable,n[3-f][3].disable,n[0][2].lock,n[0][3].lock),v.add(l[3].fire),u[l[0]]=function(){return u[l[0]+"With"](this===u?void 0:this,arguments),this},u[l[0]+"With"]=v.fireWith}),s.promise(u),e&&e.call(u,u),u},when:function(e){var n=arguments.length,r=n,s=Array(r),u=ee.call(arguments),f=o.Deferred(),l=function(v){return function(p){s[v]=this,u[v]=arguments.length>1?ee.call(arguments):p,--n||f.resolveWith(s,u)}};if(n<=1&&(Be(e,f.done(l(r)).resolve,f.reject,!n),f.state()==="pending"||y(u[r]&&u[r].then)))return f.then();for(;r--;)Be(u[r],l(r),f.reject);return f.promise()}});var et=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(e,n){C.console&&C.console.warn&&e&&et.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},o.readyException=function(e){C.setTimeout(function(){throw e})};var Ye=o.Deferred();o.fn.ready=function(e){return Ye.then(e).catch(function(n){o.readyException(n)}),this},o.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--o.readyWait:o.isReady)||(o.isReady=!0,!(e!==!0&&--o.readyWait>0)&&Ye.resolveWith(b,[o]))}}),o.ready.then=Ye.then;function rt(){b.removeEventListener("DOMContentLoaded",rt),C.removeEventListener("load",rt),o.ready()}b.readyState==="complete"||b.readyState!=="loading"&&!b.documentElement.doScroll?C.setTimeout(o.ready):(b.addEventListener("DOMContentLoaded",rt),C.addEventListener("load",rt));var St=function(e,n,r,s,u,f,l){var v=0,p=e.length,E=r==null;if(S(r)==="object"){u=!0;for(v in r)St(e,n,v,r[v],!0,f,l)}else if(s!==void 0&&(u=!0,y(s)||(l=!0),E&&(l?(n.call(e,s),n=null):(E=n,n=function(B,j,R){return E.call(o(B),R)})),n))for(;v<p;v++)n(e[v],r,l?s:s.call(e[v],v,n(e[v],r)));return u?e:E?n.call(e):p?n(e[0],r):f},ii=/^-ms-/,Vn=/-([a-z])/g;function tn(e,n){return n.toUpperCase()}function bt(e){return e.replace(ii,"ms-").replace(Vn,tn)}var $t=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function jt(){this.expando=o.expando+jt.uid++}jt.uid=1,jt.prototype={cache:function(e){var n=e[this.expando];return n||(n={},$t(e)&&(e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,configurable:!0}))),n},set:function(e,n,r){var s,u=this.cache(e);if(typeof n=="string")u[bt(n)]=r;else for(s in n)u[bt(s)]=n[s];return u},get:function(e,n){return n===void 0?this.cache(e):e[this.expando]&&e[this.expando][bt(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,s=e[this.expando];if(s!==void 0){if(n!==void 0)for(Array.isArray(n)?n=n.map(bt):(n=bt(n),n=n in s?[n]:n.match(Fe)||[]),r=n.length;r--;)delete s[n[r]];(n===void 0||o.isEmptyObject(s))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var n=e[this.expando];return n!==void 0&&!o.isEmptyObject(n)}};var ie=new jt,ut=new jt,pi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ri=/[A-Z]/g;function Ji(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:pi.test(e)?JSON.parse(e):e}function gi(e,n,r){var s;if(r===void 0&&e.nodeType===1)if(s="data-"+n.replace(ri,"-$&").toLowerCase(),r=e.getAttribute(s),typeof r=="string"){try{r=Ji(r)}catch{}ut.set(e,n,r)}else r=void 0;return r}o.extend({hasData:function(e){return ut.hasData(e)||ie.hasData(e)},data:function(e,n,r){return ut.access(e,n,r)},removeData:function(e,n){ut.remove(e,n)},_data:function(e,n,r){return ie.access(e,n,r)},_removeData:function(e,n){ie.remove(e,n)}}),o.fn.extend({data:function(e,n){var r,s,u,f=this[0],l=f&&f.attributes;if(e===void 0){if(this.length&&(u=ut.get(f),f.nodeType===1&&!ie.get(f,"hasDataAttrs"))){for(r=l.length;r--;)l[r]&&(s=l[r].name,s.indexOf("data-")===0&&(s=bt(s.slice(5)),gi(f,s,u[s])));ie.set(f,"hasDataAttrs",!0)}return u}return typeof e=="object"?this.each(function(){ut.set(this,e)}):St(this,function(v){var p;if(f&&v===void 0)return p=ut.get(f,e),p!==void 0||(p=gi(f,e),p!==void 0)?p:void 0;this.each(function(){ut.set(this,e,v)})},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ut.remove(this,e)})}}),o.extend({queue:function(e,n,r){var s;if(e)return n=(n||"fx")+"queue",s=ie.get(e,n),r&&(!s||Array.isArray(r)?s=ie.access(e,n,o.makeArray(r)):s.push(r)),s||[]},dequeue:function(e,n){n=n||"fx";var r=o.queue(e,n),s=r.length,u=r.shift(),f=o._queueHooks(e,n),l=function(){o.dequeue(e,n)};u==="inprogress"&&(u=r.shift(),s--),u&&(n==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(e,l,f)),!s&&f&&f.empty.fire()},_queueHooks:function(e,n){var r=n+"queueHooks";return ie.get(e,r)||ie.access(e,r,{empty:o.Callbacks("once memory").add(function(){ie.remove(e,[n+"queue",r])})})}}),o.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?o.queue(this[0],e):n===void 0?this:this.each(function(){var s=o.queue(this,e,n);o._queueHooks(this,e),e==="fx"&&s[0]!=="inprogress"&&o.dequeue(this,e)})},dequeue:function(e){return this.each(function(){o.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,s=1,u=o.Deferred(),f=this,l=this.length,v=function(){--s||u.resolveWith(f,[f])};for(typeof e!="string"&&(n=e,e=void 0),e=e||"fx";l--;)r=ie.get(f[l],e+"queueHooks"),r&&r.empty&&(s++,r.empty.add(v));return v(),u.promise(n)}});var vi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,hn=new RegExp("^(?:([+-])=|)("+vi+")([a-z%]*)$","i"),Ot=["Top","Right","Bottom","Left"],Wt=b.documentElement,nn=function(e){return o.contains(e.ownerDocument,e)},Zi={composed:!0};Wt.getRootNode&&(nn=function(e){return o.contains(e.ownerDocument,e)||e.getRootNode(Zi)===e.ownerDocument});var In=function(e,n){return e=n||e,e.style.display==="none"||e.style.display===""&&nn(e)&&o.css(e,"display")==="none"};function er(e,n,r,s){var u,f,l=20,v=s?function(){return s.cur()}:function(){return o.css(e,n,"")},p=v(),E=r&&r[3]||(o.cssNumber[n]?"":"px"),B=e.nodeType&&(o.cssNumber[n]||E!=="px"&&+p)&&hn.exec(o.css(e,n));if(B&&B[3]!==E){for(p=p/2,E=E||B[3],B=+p||1;l--;)o.style(e,n,B+E),(1-f)*(1-(f=v()/p||.5))<=0&&(l=0),B=B/f;B=B*2,o.style(e,n,B+E),r=r||[]}return r&&(B=+B||+p||0,u=r[1]?B+(r[1]+1)*r[2]:+r[2],s&&(s.unit=E,s.start=B,s.end=u)),u}var tr={};function to(e){var n,r=e.ownerDocument,s=e.nodeName,u=tr[s];return u||(n=r.body.appendChild(r.createElement(s)),u=o.css(n,"display"),n.parentNode.removeChild(n),u==="none"&&(u="block"),tr[s]=u,u)}function an(e,n){for(var r,s,u=[],f=0,l=e.length;f<l;f++)s=e[f],s.style&&(r=s.style.display,n?(r==="none"&&(u[f]=ie.get(s,"display")||null,u[f]||(s.style.display="")),s.style.display===""&&In(s)&&(u[f]=to(s))):r!=="none"&&(u[f]="none",ie.set(s,"display",r)));for(f=0;f<l;f++)u[f]!=null&&(e[f].style.display=u[f]);return e}o.fn.extend({show:function(){return an(this,!0)},hide:function(){return an(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){In(this)?o(this).show():o(this).hide()})}});var _n=/^(?:checkbox|radio)$/i,nr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ir=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=b.createDocumentFragment(),n=e.appendChild(b.createElement("div")),r=b.createElement("input");r.setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),n.appendChild(r),A.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,n.innerHTML="<textarea>x</textarea>",A.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue,n.innerHTML="<option></option>",A.option=!!n.lastChild})();var Ct={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,"",""]};Ct.tbody=Ct.tfoot=Ct.colgroup=Ct.caption=Ct.thead,Ct.th=Ct.td,A.option||(Ct.optgroup=Ct.option=[1,"<select multiple='multiple'>","</select>"]);function mt(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&&J(e,n)?o.merge([e],r):r}function oi(e,n){for(var r=0,s=e.length;r<s;r++)ie.set(e[r],"globalEval",!n||ie.get(n[r],"globalEval"))}var no=/<|&#?\w+;/;function rr(e,n,r,s,u){for(var f,l,v,p,E,B,j=n.createDocumentFragment(),R=[],V=0,se=e.length;V<se;V++)if(f=e[V],f||f===0)if(S(f)==="object")o.merge(R,f.nodeType?[f]:f);else if(!no.test(f))R.push(n.createTextNode(f));else{for(l=l||j.appendChild(n.createElement("div")),v=(nr.exec(f)||["",""])[1].toLowerCase(),p=Ct[v]||Ct._default,l.innerHTML=p[1]+o.htmlPrefilter(f)+p[2],B=p[0];B--;)l=l.lastChild;o.merge(R,l.childNodes),l=j.firstChild,l.textContent=""}for(j.textContent="",V=0;f=R[V++];){if(s&&o.inArray(f,s)>-1){u&&u.push(f);continue}if(E=nn(f),l=mt(j.appendChild(f),"script"),E&&oi(l),r)for(B=0;f=l[B++];)ir.test(f.type||"")&&r.push(f)}return j}var or=/^([^.]*)(?:\.(.+)|)/;function rn(){return!0}function dn(){return!1}function zn(e,n,r,s,u,f){var l,v;if(typeof n=="object"){typeof r!="string"&&(s=s||r,r=void 0);for(v in n)zn(e,v,r,s,n[v],f);return e}if(s==null&&u==null?(u=r,s=r=void 0):u==null&&(typeof r=="string"?(u=s,s=void 0):(u=s,s=r,r=void 0)),u===!1)u=dn;else if(!u)return e;return f===1&&(l=u,u=function(p){return o().off(p),l.apply(this,arguments)},u.guid=l.guid||(l.guid=o.guid++)),e.each(function(){o.event.add(this,n,u,s,r)})}o.event={global:{},add:function(e,n,r,s,u){var f,l,v,p,E,B,j,R,V,se,Ae,Te=ie.get(e);if($t(e))for(r.handler&&(f=r,r=f.handler,u=f.selector),u&&o.find.matchesSelector(Wt,u),r.guid||(r.guid=o.guid++),(p=Te.events)||(p=Te.events=Object.create(null)),(l=Te.handle)||(l=Te.handle=function(ot){return typeof o<"u"&&o.event.triggered!==ot.type?o.event.dispatch.apply(e,arguments):void 0}),n=(n||"").match(Fe)||[""],E=n.length;E--;)v=or.exec(n[E])||[],V=Ae=v[1],se=(v[2]||"").split(".").sort(),V&&(j=o.event.special[V]||{},V=(u?j.delegateType:j.bindType)||V,j=o.event.special[V]||{},B=o.extend({type:V,origType:Ae,data:s,handler:r,guid:r.guid,selector:u,needsContext:u&&o.expr.match.needsContext.test(u),namespace:se.join(".")},f),(R=p[V])||(R=p[V]=[],R.delegateCount=0,(!j.setup||j.setup.call(e,s,se,l)===!1)&&e.addEventListener&&e.addEventListener(V,l)),j.add&&(j.add.call(e,B),B.handler.guid||(B.handler.guid=r.guid)),u?R.splice(R.delegateCount++,0,B):R.push(B),o.event.global[V]=!0)},remove:function(e,n,r,s,u){var f,l,v,p,E,B,j,R,V,se,Ae,Te=ie.hasData(e)&&ie.get(e);if(!(!Te||!(p=Te.events))){for(n=(n||"").match(Fe)||[""],E=n.length;E--;){if(v=or.exec(n[E])||[],V=Ae=v[1],se=(v[2]||"").split(".").sort(),!V){for(V in p)o.event.remove(e,V+n[E],r,s,!0);continue}for(j=o.event.special[V]||{},V=(s?j.delegateType:j.bindType)||V,R=p[V]||[],v=v[2]&&new RegExp("(^|\\.)"+se.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=f=R.length;f--;)B=R[f],(u||Ae===B.origType)&&(!r||r.guid===B.guid)&&(!v||v.test(B.namespace))&&(!s||s===B.selector||s==="**"&&B.selector)&&(R.splice(f,1),B.selector&&R.delegateCount--,j.remove&&j.remove.call(e,B));l&&!R.length&&((!j.teardown||j.teardown.call(e,se,Te.handle)===!1)&&o.removeEvent(e,V,Te.handle),delete p[V])}o.isEmptyObject(p)&&ie.remove(e,"handle events")}},dispatch:function(e){var n,r,s,u,f,l,v=new Array(arguments.length),p=o.event.fix(e),E=(ie.get(this,"events")||Object.create(null))[p.type]||[],B=o.event.special[p.type]||{};for(v[0]=p,n=1;n<arguments.length;n++)v[n]=arguments[n];if(p.delegateTarget=this,!(B.preDispatch&&B.preDispatch.call(this,p)===!1)){for(l=o.event.handlers.call(this,p,E),n=0;(u=l[n++])&&!p.isPropagationStopped();)for(p.currentTarget=u.elem,r=0;(f=u.handlers[r++])&&!p.isImmediatePropagationStopped();)(!p.rnamespace||f.namespace===!1||p.rnamespace.test(f.namespace))&&(p.handleObj=f,p.data=f.data,s=((o.event.special[f.origType]||{}).handle||f.handler).apply(u.elem,v),s!==void 0&&(p.result=s)===!1&&(p.preventDefault(),p.stopPropagation()));return B.postDispatch&&B.postDispatch.call(this,p),p.result}},handlers:function(e,n){var r,s,u,f,l,v=[],p=n.delegateCount,E=e.target;if(p&&E.nodeType&&!(e.type==="click"&&e.button>=1)){for(;E!==this;E=E.parentNode||this)if(E.nodeType===1&&!(e.type==="click"&&E.disabled===!0)){for(f=[],l={},r=0;r<p;r++)s=n[r],u=s.selector+" ",l[u]===void 0&&(l[u]=s.needsContext?o(u,this).index(E)>-1:o.find(u,this,null,[E]).length),l[u]&&f.push(s);f.length&&v.push({elem:E,handlers:f})}}return E=this,p<n.length&&v.push({elem:E,handlers:n.slice(p)}),v},addProp:function(e,n){Object.defineProperty(o.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(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[o.expando]?e:new o.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var n=this||e;return _n.test(n.type)&&n.click&&J(n,"input")&&Qn(n,"click",!0),!1},trigger:function(e){var n=this||e;return _n.test(n.type)&&n.click&&J(n,"input")&&Qn(n,"click"),!0},_default:function(e){var n=e.target;return _n.test(n.type)&&n.click&&J(n,"input")&&ie.get(n,"click")||J(n,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function Qn(e,n,r){if(!r){ie.get(e,n)===void 0&&o.event.add(e,n,rn);return}ie.set(e,n,!1),o.event.add(e,n,{namespace:!1,handler:function(s){var u,f=ie.get(this,n);if(s.isTrigger&1&&this[n]){if(f)(o.event.special[n]||{}).delegateType&&s.stopPropagation();else if(f=ee.call(arguments),ie.set(this,n,f),this[n](),u=ie.get(this,n),ie.set(this,n,!1),f!==u)return s.stopImmediatePropagation(),s.preventDefault(),u}else f&&(ie.set(this,n,o.event.trigger(f[0],f.slice(1),this)),s.stopPropagation(),s.isImmediatePropagationStopped=rn)}})}o.removeEvent=function(e,n,r){e.removeEventListener&&e.removeEventListener(n,r)},o.Event=function(e,n){if(!(this instanceof o.Event))return new o.Event(e,n);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?rn:dn,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&&o.extend(this,n),this.timeStamp=e&&e.timeStamp||Date.now(),this[o.expando]=!0},o.Event.prototype={constructor:o.Event,isDefaultPrevented:dn,isPropagationStopped:dn,isImmediatePropagationStopped:dn,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=rn,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=rn,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=rn,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},o.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},o.event.addProp),o.each({focus:"focusin",blur:"focusout"},function(e,n){function r(s){if(b.documentMode){var u=ie.get(this,"handle"),f=o.event.fix(s);f.type=s.type==="focusin"?"focus":"blur",f.isSimulated=!0,u(s),f.target===f.currentTarget&&u(f)}else o.event.simulate(n,s.target,o.event.fix(s))}o.event.special[e]={setup:function(){var s;if(Qn(this,e,!0),b.documentMode)s=ie.get(this,n),s||this.addEventListener(n,r),ie.set(this,n,(s||0)+1);else return!1},trigger:function(){return Qn(this,e),!0},teardown:function(){var s;if(b.documentMode)s=ie.get(this,n)-1,s?ie.set(this,n,s):(this.removeEventListener(n,r),ie.remove(this,n));else return!1},_default:function(s){return ie.get(s.target,e)},delegateType:n},o.event.special[n]={setup:function(){var s=this.ownerDocument||this.document||this,u=b.documentMode?this:s,f=ie.get(u,n);f||(b.documentMode?this.addEventListener(n,r):s.addEventListener(e,r,!0)),ie.set(u,n,(f||0)+1)},teardown:function(){var s=this.ownerDocument||this.document||this,u=b.documentMode?this:s,f=ie.get(u,n)-1;f?ie.set(u,n,f):(b.documentMode?this.removeEventListener(n,r):s.removeEventListener(e,r,!0),ie.remove(u,n))}}}),o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){o.event.special[e]={delegateType:n,bindType:n,handle:function(r){var s,u=this,f=r.relatedTarget,l=r.handleObj;return(!f||f!==u&&!o.contains(u,f))&&(r.type=l.origType,s=l.handler.apply(this,arguments),r.type=n),s}}}),o.fn.extend({on:function(e,n,r,s){return zn(this,e,n,r,s)},one:function(e,n,r,s){return zn(this,e,n,r,s,1)},off:function(e,n,r){var s,u;if(e&&e.preventDefault&&e.handleObj)return s=e.handleObj,o(e.delegateTarget).off(s.namespace?s.origType+"."+s.namespace:s.origType,s.selector,s.handler),this;if(typeof e=="object"){for(u in e)this.off(u,n,e[u]);return this}return(n===!1||typeof n=="function")&&(r=n,n=void 0),r===!1&&(r=dn),this.each(function(){o.event.remove(this,e,r,n)})}});var io=/<script|<style|<link/i,ro=/checked\s*(?:[^=]|=\s*.checked.)/i,oo=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function sr(e,n){return J(e,"table")&&J(n.nodeType!==11?n:n.firstChild,"tr")&&o(e).children("tbody")[0]||e}function so(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function ao(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ar(e,n){var r,s,u,f,l,v,p;if(n.nodeType===1){if(ie.hasData(e)&&(f=ie.get(e),p=f.events,p)){ie.remove(n,"handle events");for(u in p)for(r=0,s=p[u].length;r<s;r++)o.event.add(n,u,p[u][r])}ut.hasData(e)&&(l=ut.access(e),v=o.extend({},l),ut.set(n,v))}}function Mr(e,n){var r=n.nodeName.toLowerCase();r==="input"&&_n.test(e.type)?n.checked=e.checked:(r==="input"||r==="textarea")&&(n.defaultValue=e.defaultValue)}function pn(e,n,r,s){n=he(n);var u,f,l,v,p,E,B=0,j=e.length,R=j-1,V=n[0],se=y(V);if(se||j>1&&typeof V=="string"&&!A.checkClone&&ro.test(V))return e.each(function(Ae){var Te=e.eq(Ae);se&&(n[0]=V.call(this,Ae,Te.html())),pn(Te,n,r,s)});if(j&&(u=rr(n,e[0].ownerDocument,!1,e,s),f=u.firstChild,u.childNodes.length===1&&(u=f),f||s)){for(l=o.map(mt(u,"script"),so),v=l.length;B<j;B++)p=u,B!==R&&(p=o.clone(p,!0,!0),v&&o.merge(l,mt(p,"script"))),r.call(e[B],p,B);if(v)for(E=l[l.length-1].ownerDocument,o.map(l,ao),B=0;B<v;B++)p=l[B],ir.test(p.type||"")&&!ie.access(p,"globalEval")&&o.contains(E,p)&&(p.src&&(p.type||"").toLowerCase()!=="module"?o._evalUrl&&!p.noModule&&o._evalUrl(p.src,{nonce:p.nonce||p.getAttribute("nonce")},E):g(p.textContent.replace(oo,""),p,E))}return e}function ur(e,n,r){for(var s,u=n?o.filter(n,e):e,f=0;(s=u[f])!=null;f++)!r&&s.nodeType===1&&o.cleanData(mt(s)),s.parentNode&&(r&&nn(s)&&oi(mt(s,"script")),s.parentNode.removeChild(s));return e}o.extend({htmlPrefilter:function(e){return e},clone:function(e,n,r){var s,u,f,l,v=e.cloneNode(!0),p=nn(e);if(!A.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!o.isXMLDoc(e))for(l=mt(v),f=mt(e),s=0,u=f.length;s<u;s++)Mr(f[s],l[s]);if(n)if(r)for(f=f||mt(e),l=l||mt(v),s=0,u=f.length;s<u;s++)ar(f[s],l[s]);else ar(e,v);return l=mt(v,"script"),l.length>0&&oi(l,!p&&mt(e,"script")),v},cleanData:function(e){for(var n,r,s,u=o.event.special,f=0;(r=e[f])!==void 0;f++)if($t(r)){if(n=r[ie.expando]){if(n.events)for(s in n.events)u[s]?o.event.remove(r,s):o.removeEvent(r,s,n.handle);r[ie.expando]=void 0}r[ut.expando]&&(r[ut.expando]=void 0)}}}),o.fn.extend({detach:function(e){return ur(this,e,!0)},remove:function(e){return ur(this,e)},text:function(e){return St(this,function(n){return n===void 0?o.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 pn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=sr(this,e);n.appendChild(e)}})},prepend:function(){return pn(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var n=sr(this,e);n.insertBefore(e,n.firstChild)}})},before:function(){return pn(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return pn(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&&(o.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,n){return e=e??!1,n=n??e,this.map(function(){return o.clone(this,e,n)})},html:function(e){return St(this,function(n){var r=this[0]||{},s=0,u=this.length;if(n===void 0&&r.nodeType===1)return r.innerHTML;if(typeof n=="string"&&!io.test(n)&&!Ct[(nr.exec(n)||["",""])[1].toLowerCase()]){n=o.htmlPrefilter(n);try{for(;s<u;s++)r=this[s]||{},r.nodeType===1&&(o.cleanData(mt(r,!1)),r.innerHTML=n);r=0}catch{}}r&&this.empty().append(n)},null,e,arguments.length)},replaceWith:function(){var e=[];return pn(this,arguments,function(n){var r=this.parentNode;o.inArray(this,e)<0&&(o.cleanData(mt(this)),r&&r.replaceChild(n,this))},e)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,n){o.fn[e]=function(r){for(var s,u=[],f=o(r),l=f.length-1,v=0;v<=l;v++)s=v===l?this:this.clone(!0),o(f[v])[n](s),Ee.apply(u,s.get());return this.pushStack(u)}});var mi=new RegExp("^("+vi+")(?!px)[a-z%]+$","i"),yi=/^--/,Xn=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=C),n.getComputedStyle(e)},fr=function(e,n,r){var s,u,f={};for(u in n)f[u]=e.style[u],e.style[u]=n[u];s=r.call(e);for(u in n)e.style[u]=f[u];return s},Bi=new RegExp(Ot.join("|"),"i");(function(){function e(){if(E){p.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",E.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Wt.appendChild(p).appendChild(E);var B=C.getComputedStyle(E);r=B.top!=="1%",v=n(B.marginLeft)===12,E.style.right="60%",f=n(B.right)===36,s=n(B.width)===36,E.style.position="absolute",u=n(E.offsetWidth/3)===12,Wt.removeChild(p),E=null}}function n(B){return Math.round(parseFloat(B))}var r,s,u,f,l,v,p=b.createElement("div"),E=b.createElement("div");E.style&&(E.style.backgroundClip="content-box",E.cloneNode(!0).style.backgroundClip="",A.clearCloneStyle=E.style.backgroundClip==="content-box",o.extend(A,{boxSizingReliable:function(){return e(),s},pixelBoxStyles:function(){return e(),f},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),v},scrollboxSize:function(){return e(),u},reliableTrDimensions:function(){var B,j,R,V;return l==null&&(B=b.createElement("table"),j=b.createElement("tr"),R=b.createElement("div"),B.style.cssText="position:absolute;left:-11111px;border-collapse:separate",j.style.cssText="box-sizing:content-box;border:1px solid",j.style.height="1px",R.style.height="9px",R.style.display="block",Wt.appendChild(B).appendChild(j).appendChild(R),V=C.getComputedStyle(j),l=parseInt(V.height,10)+parseInt(V.borderTopWidth,10)+parseInt(V.borderBottomWidth,10)===j.offsetHeight,Wt.removeChild(B)),l}}))})();function Rn(e,n,r){var s,u,f,l,v=yi.test(n),p=e.style;return r=r||Xn(e),r&&(l=r.getPropertyValue(n)||r[n],v&&l&&(l=l.replace(Tt,"$1")||void 0),l===""&&!nn(e)&&(l=o.style(e,n)),!A.pixelBoxStyles()&&mi.test(l)&&Bi.test(n)&&(s=p.width,u=p.minWidth,f=p.maxWidth,p.minWidth=p.maxWidth=p.width=l,l=r.width,p.width=s,p.minWidth=u,p.maxWidth=f)),l!==void 0?l+"":l}function si(e,n){return{get:function(){if(e()){delete this.get;return}return(this.get=n).apply(this,arguments)}}}var lr=["Webkit","Moz","ms"],cr=b.createElement("div").style,hr={};function Pr(e){for(var n=e[0].toUpperCase()+e.slice(1),r=lr.length;r--;)if(e=lr[r]+n,e in cr)return e}function ai(e){var n=o.cssProps[e]||hr[e];return n||(e in cr?e:hr[e]=Pr(e)||e)}var qr=/^(none|table(?!-c[ea]).+)/,uo={position:"absolute",visibility:"hidden",display:"block"},dr={letterSpacing:"0",fontWeight:"400"};function pr(e,n,r){var s=hn.exec(n);return s?Math.max(0,s[2]-(r||0))+(s[3]||"px"):n}function bi(e,n,r,s,u,f){var l=n==="width"?1:0,v=0,p=0,E=0;if(r===(s?"border":"content"))return 0;for(;l<4;l+=2)r==="margin"&&(E+=o.css(e,r+Ot[l],!0,u)),s?(r==="content"&&(p-=o.css(e,"padding"+Ot[l],!0,u)),r!=="margin"&&(p-=o.css(e,"border"+Ot[l]+"Width",!0,u))):(p+=o.css(e,"padding"+Ot[l],!0,u),r!=="padding"?p+=o.css(e,"border"+Ot[l]+"Width",!0,u):v+=o.css(e,"border"+Ot[l]+"Width",!0,u));return!s&&f>=0&&(p+=Math.max(0,Math.ceil(e["offset"+n[0].toUpperCase()+n.slice(1)]-f-p-v-.5))||0),p+E}function Fi(e,n,r){var s=Xn(e),u=!A.boxSizingReliable()||r,f=u&&o.css(e,"boxSizing",!1,s)==="border-box",l=f,v=Rn(e,n,s),p="offset"+n[0].toUpperCase()+n.slice(1);if(mi.test(v)){if(!r)return v;v="auto"}return(!A.boxSizingReliable()&&f||!A.reliableTrDimensions()&&J(e,"tr")||v==="auto"||!parseFloat(v)&&o.css(e,"display",!1,s)==="inline")&&e.getClientRects().length&&(f=o.css(e,"boxSizing",!1,s)==="border-box",l=p in e,l&&(v=e[p])),v=parseFloat(v)||0,v+bi(e,n,r||(f?"border":"content"),l,s,v)+"px"}o.extend({cssHooks:{opacity:{get:function(e,n){if(n){var r=Rn(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,s){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var u,f,l,v=bt(n),p=yi.test(n),E=e.style;if(p||(n=ai(v)),l=o.cssHooks[n]||o.cssHooks[v],r!==void 0){if(f=typeof r,f==="string"&&(u=hn.exec(r))&&u[1]&&(r=er(e,n,u),f="number"),r==null||r!==r)return;f==="number"&&!p&&(r+=u&&u[3]||(o.cssNumber[v]?"":"px")),!A.clearCloneStyle&&r===""&&n.indexOf("background")===0&&(E[n]="inherit"),(!l||!("set"in l)||(r=l.set(e,r,s))!==void 0)&&(p?E.setProperty(n,r):E[n]=r)}else return l&&"get"in l&&(u=l.get(e,!1,s))!==void 0?u:E[n]}},css:function(e,n,r,s){var u,f,l,v=bt(n),p=yi.test(n);return p||(n=ai(v)),l=o.cssHooks[n]||o.cssHooks[v],l&&"get"in l&&(u=l.get(e,!0,r)),u===void 0&&(u=Rn(e,n,s)),u==="normal"&&n in dr&&(u=dr[n]),r===""||r?(f=parseFloat(u),r===!0||isFinite(f)?f||0:u):u}}),o.each(["height","width"],function(e,n){o.cssHooks[n]={get:function(r,s,u){if(s)return qr.test(o.css(r,"display"))&&(!r.getClientRects().length||!r.getBoundingClientRect().width)?fr(r,uo,function(){return Fi(r,n,u)}):Fi(r,n,u)},set:function(r,s,u){var f,l=Xn(r),v=!A.scrollboxSize()&&l.position==="absolute",p=v||u,E=p&&o.css(r,"boxSizing",!1,l)==="border-box",B=u?bi(r,n,u,E,l):0;return E&&v&&(B-=Math.ceil(r["offset"+n[0].toUpperCase()+n.slice(1)]-parseFloat(l[n])-bi(r,n,"border",!1,l)-.5)),B&&(f=hn.exec(s))&&(f[3]||"px")!=="px"&&(r.style[n]=s,s=o.css(r,n)),pr(r,s,B)}}}),o.cssHooks.marginLeft=si(A.reliableMarginLeft,function(e,n){if(n)return(parseFloat(Rn(e,"marginLeft"))||e.getBoundingClientRect().left-fr(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),o.each({margin:"",padding:"",border:"Width"},function(e,n){o.cssHooks[e+n]={expand:function(r){for(var s=0,u={},f=typeof r=="string"?r.split(" "):[r];s<4;s++)u[e+Ot[s]+n]=f[s]||f[s-2]||f[0];return u}},e!=="margin"&&(o.cssHooks[e+n].set=pr)}),o.fn.extend({css:function(e,n){return St(this,function(r,s,u){var f,l,v={},p=0;if(Array.isArray(s)){for(f=Xn(r),l=s.length;p<l;p++)v[s[p]]=o.css(r,s[p],!1,f);return v}return u!==void 0?o.style(r,s,u):o.css(r,s)},e,n,arguments.length>1)}});function pt(e,n,r,s,u){return new pt.prototype.init(e,n,r,s,u)}o.Tween=pt,pt.prototype={constructor:pt,init:function(e,n,r,s,u,f){this.elem=e,this.prop=r,this.easing=u||o.easing._default,this.options=n,this.start=this.now=this.cur(),this.end=s,this.unit=f||(o.cssNumber[r]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var n,r=pt.propHooks[this.prop];return this.options.duration?this.pos=n=o.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):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.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=o.css(e.elem,e.prop,""),!n||n==="auto"?0:n)},set:function(e){o.fx.step[e.prop]?o.fx.step[e.prop](e):e.elem.nodeType===1&&(o.cssHooks[e.prop]||e.elem.style[ai(e.prop)]!=null)?o.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},o.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},o.fx=pt.prototype.init,o.fx.step={};var un,Nn,fo=/^(?:toggle|show|hide)$/,Hr=/queueHooks$/;function Fn(){Nn&&(b.hidden===!1&&C.requestAnimationFrame?C.requestAnimationFrame(Fn):C.setTimeout(Fn,o.fx.interval),o.fx.tick())}function $i(){return C.setTimeout(function(){un=void 0}),un=Date.now()}function Yn(e,n){var r,s=0,u={height:e};for(n=n?1:0;s<4;s+=2-n)r=Ot[s],u["margin"+r]=u["padding"+r]=e;return n&&(u.opacity=u.width=e),u}function ji(e,n,r){for(var s,u=(At.tweeners[n]||[]).concat(At.tweeners["*"]),f=0,l=u.length;f<l;f++)if(s=u[f].call(r,n,e))return s}function Br(e,n,r){var s,u,f,l,v,p,E,B,j="width"in n||"height"in n,R=this,V={},se=e.style,Ae=e.nodeType&&In(e),Te=ie.get(e,"fxshow");r.queue||(l=o._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,v=l.empty.fire,l.empty.fire=function(){l.unqueued||v()}),l.unqueued++,R.always(function(){R.always(function(){l.unqueued--,o.queue(e,"fx").length||l.empty.fire()})}));for(s in n)if(u=n[s],fo.test(u)){if(delete n[s],f=f||u==="toggle",u===(Ae?"hide":"show"))if(u==="show"&&Te&&Te[s]!==void 0)Ae=!0;else continue;V[s]=Te&&Te[s]||o.style(e,s)}if(p=!o.isEmptyObject(n),!(!p&&o.isEmptyObject(V))){j&&e.nodeType===1&&(r.overflow=[se.overflow,se.overflowX,se.overflowY],E=Te&&Te.display,E==null&&(E=ie.get(e,"display")),B=o.css(e,"display"),B==="none"&&(E?B=E:(an([e],!0),E=e.style.display||E,B=o.css(e,"display"),an([e]))),(B==="inline"||B==="inline-block"&&E!=null)&&o.css(e,"float")==="none"&&(p||(R.done(function(){se.display=E}),E==null&&(B=se.display,E=B==="none"?"":B)),se.display="inline-block")),r.overflow&&(se.overflow="hidden",R.always(function(){se.overflow=r.overflow[0],se.overflowX=r.overflow[1],se.overflowY=r.overflow[2]})),p=!1;for(s in V)p||(Te?"hidden"in Te&&(Ae=Te.hidden):Te=ie.access(e,"fxshow",{display:E}),f&&(Te.hidden=!Ae),Ae&&an([e],!0),R.done(function(){Ae||an([e]),ie.remove(e,"fxshow");for(s in V)o.style(e,s,V[s])})),p=ji(Ae?Te[s]:0,s,R),s in Te||(Te[s]=p.start,Ae&&(p.end=p.start,p.start=0))}}function gr(e,n){var r,s,u,f,l;for(r in e)if(s=bt(r),u=n[s],f=e[r],Array.isArray(f)&&(u=f[1],f=e[r]=f[0]),r!==s&&(e[s]=f,delete e[r]),l=o.cssHooks[s],l&&"expand"in l){f=l.expand(f),delete e[s];for(r in f)r in e||(e[r]=f[r],n[r]=u)}else n[s]=u}function At(e,n,r){var s,u,f=0,l=At.prefilters.length,v=o.Deferred().always(function(){delete p.elem}),p=function(){if(u)return!1;for(var j=un||$i(),R=Math.max(0,E.startTime+E.duration-j),V=R/E.duration||0,se=1-V,Ae=0,Te=E.tweens.length;Ae<Te;Ae++)E.tweens[Ae].run(se);return v.notifyWith(e,[E,se,R]),se<1&&Te?R:(Te||v.notifyWith(e,[E,1,0]),v.resolveWith(e,[E]),!1)},E=v.promise({elem:e,props:o.extend({},n),opts:o.extend(!0,{specialEasing:{},easing:o.easing._default},r),originalProperties:n,originalOptions:r,startTime:un||$i(),duration:r.duration,tweens:[],createTween:function(j,R){var V=o.Tween(e,E.opts,j,R,E.opts.specialEasing[j]||E.opts.easing);return E.tweens.push(V),V},stop:function(j){var R=0,V=j?E.tweens.length:0;if(u)return this;for(u=!0;R<V;R++)E.tweens[R].run(1);return j?(v.notifyWith(e,[E,1,0]),v.resolveWith(e,[E,j])):v.rejectWith(e,[E,j]),this}}),B=E.props;for(gr(B,E.opts.specialEasing);f<l;f++)if(s=At.prefilters[f].call(E,e,B,E.opts),s)return y(s.stop)&&(o._queueHooks(E.elem,E.opts.queue).stop=s.stop.bind(s)),s;return o.map(B,ji,E),y(E.opts.start)&&E.opts.start.call(e,E),E.progress(E.opts.progress).done(E.opts.done,E.opts.complete).fail(E.opts.fail).always(E.opts.always),o.fx.timer(o.extend(p,{elem:e,anim:E,queue:E.opts.queue})),E}o.Animation=o.extend(At,{tweeners:{"*":[function(e,n){var r=this.createTween(e,n);return er(r.elem,e,hn.exec(n),r),r}]},tweener:function(e,n){y(e)?(n=e,e=["*"]):e=e.match(Fe);for(var r,s=0,u=e.length;s<u;s++)r=e[s],At.tweeners[r]=At.tweeners[r]||[],At.tweeners[r].unshift(n)},prefilters:[Br],prefilter:function(e,n){n?At.prefilters.unshift(e):At.prefilters.push(e)}}),o.speed=function(e,n,r){var s=e&&typeof e=="object"?o.extend({},e):{complete:r||!r&&n||y(e)&&e,duration:e,easing:r&&n||n&&!y(n)&&n};return o.fx.off?s.duration=0:typeof s.duration!="number"&&(s.duration in o.fx.speeds?s.duration=o.fx.speeds[s.duration]:s.duration=o.fx.speeds._default),(s.queue==null||s.queue===!0)&&(s.queue="fx"),s.old=s.complete,s.complete=function(){y(s.old)&&s.old.call(this),s.queue&&o.dequeue(this,s.queue)},s},o.fn.extend({fadeTo:function(e,n,r,s){return this.filter(In).css("opacity",0).show().end().animate({opacity:n},e,r,s)},animate:function(e,n,r,s){var u=o.isEmptyObject(e),f=o.speed(n,r,s),l=function(){var v=At(this,o.extend({},e),f);(u||ie.get(this,"finish"))&&v.stop(!0)};return l.finish=l,u||f.queue===!1?this.each(l):this.queue(f.queue,l)},stop:function(e,n,r){var s=function(u){var f=u.stop;delete u.stop,f(r)};return typeof e!="string"&&(r=n,n=e,e=void 0),n&&this.queue(e||"fx",[]),this.each(function(){var u=!0,f=e!=null&&e+"queueHooks",l=o.timers,v=ie.get(this);if(f)v[f]&&v[f].stop&&s(v[f]);else for(f in v)v[f]&&v[f].stop&&Hr.test(f)&&s(v[f]);for(f=l.length;f--;)l[f].elem===this&&(e==null||l[f].queue===e)&&(l[f].anim.stop(r),u=!1,l.splice(f,1));(u||!r)&&o.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var n,r=ie.get(this),s=r[e+"queue"],u=r[e+"queueHooks"],f=o.timers,l=s?s.length:0;for(r.finish=!0,o.queue(this,e,[]),u&&u.stop&&u.stop.call(this,!0),n=f.length;n--;)f[n].elem===this&&f[n].queue===e&&(f[n].anim.stop(!0),f.splice(n,1));for(n=0;n<l;n++)s[n]&&s[n].finish&&s[n].finish.call(this);delete r.finish})}}),o.each(["toggle","show","hide"],function(e,n){var r=o.fn[n];o.fn[n]=function(s,u,f){return s==null||typeof s=="boolean"?r.apply(this,arguments):this.animate(Yn(n,!0),s,u,f)}}),o.each({slideDown:Yn("show"),slideUp:Yn("hide"),slideToggle:Yn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){o.fn[e]=function(r,s,u){return this.animate(n,r,s,u)}}),o.timers=[],o.fx.tick=function(){var e,n=0,r=o.timers;for(un=Date.now();n<r.length;n++)e=r[n],!e()&&r[n]===e&&r.splice(n--,1);r.length||o.fx.stop(),un=void 0},o.fx.timer=function(e){o.timers.push(e),o.fx.start()},o.fx.interval=13,o.fx.start=function(){Nn||(Nn=!0,Fn())},o.fx.stop=function(){Nn=null},o.fx.speeds={slow:600,fast:200,_default:400},o.fn.delay=function(e,n){return e=o.fx&&o.fx.speeds[e]||e,n=n||"fx",this.queue(n,function(r,s){var u=C.setTimeout(r,e);s.stop=function(){C.clearTimeout(u)}})},(function(){var e=b.createElement("input"),n=b.createElement("select"),r=n.appendChild(b.createElement("option"));e.type="checkbox",A.checkOn=e.value!=="",A.optSelected=r.selected,e=b.createElement("input"),e.value="t",e.type="radio",A.radioValue=e.value==="t"})();var Ui,gn=o.expr.attrHandle;o.fn.extend({attr:function(e,n){return St(this,o.attr,e,n,arguments.length>1)},removeAttr:function(e){return this.each(function(){o.removeAttr(this,e)})}}),o.extend({attr:function(e,n,r){var s,u,f=e.nodeType;if(!(f===3||f===8||f===2)){if(typeof e.getAttribute>"u")return o.prop(e,n,r);if((f!==1||!o.isXMLDoc(e))&&(u=o.attrHooks[n.toLowerCase()]||(o.expr.match.bool.test(n)?Ui:void 0)),r!==void 0){if(r===null){o.removeAttr(e,n);return}return u&&"set"in u&&(s=u.set(e,r,n))!==void 0?s:(e.setAttribute(n,r+""),r)}return u&&"get"in u&&(s=u.get(e,n))!==null?s:(s=o.find.attr(e,n),s??void 0)}},attrHooks:{type:{set:function(e,n){if(!A.radioValue&&n==="radio"&&J(e,"input")){var r=e.value;return e.setAttribute("type",n),r&&(e.value=r),n}}}},removeAttr:function(e,n){var r,s=0,u=n&&n.match(Fe);if(u&&e.nodeType===1)for(;r=u[s++];)e.removeAttribute(r)}}),Ui={set:function(e,n,r){return n===!1?o.removeAttr(e,r):e.setAttribute(r,r),r}},o.each(o.expr.match.bool.source.match(/\w+/g),function(e,n){var r=gn[n]||o.find.attr;gn[n]=function(s,u,f){var l,v,p=u.toLowerCase();return f||(v=gn[p],gn[p]=l,l=r(s,u,f)!=null?p:null,gn[p]=v),l}});var vr=/^(?:input|select|textarea|button)$/i,ui=/^(?:a|area)$/i;o.fn.extend({prop:function(e,n){return St(this,o.prop,e,n,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[o.propFix[e]||e]})}}),o.extend({prop:function(e,n,r){var s,u,f=e.nodeType;if(!(f===3||f===8||f===2))return(f!==1||!o.isXMLDoc(e))&&(n=o.propFix[n]||n,u=o.propHooks[n]),r!==void 0?u&&"set"in u&&(s=u.set(e,r,n))!==void 0?s:e[n]=r:u&&"get"in u&&(s=u.get(e,n))!==null?s:e[n]},propHooks:{tabIndex:{get:function(e){var n=o.find.attr(e,"tabindex");return n?parseInt(n,10):vr.test(e.nodeName)||ui.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(o.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)}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this});function Qt(e){var n=e.match(Fe)||[];return n.join(" ")}function Xt(e){return e.getAttribute&&e.getAttribute("class")||""}function wi(e){return Array.isArray(e)?e:typeof e=="string"?e.match(Fe)||[]:[]}o.fn.extend({addClass:function(e){var n,r,s,u,f,l;return y(e)?this.each(function(v){o(this).addClass(e.call(this,v,Xt(this)))}):(n=wi(e),n.length?this.each(function(){if(s=Xt(this),r=this.nodeType===1&&" "+Qt(s)+" ",r){for(f=0;f<n.length;f++)u=n[f],r.indexOf(" "+u+" ")<0&&(r+=u+" ");l=Qt(r),s!==l&&this.setAttribute("class",l)}}):this)},removeClass:function(e){var n,r,s,u,f,l;return y(e)?this.each(function(v){o(this).removeClass(e.call(this,v,Xt(this)))}):arguments.length?(n=wi(e),n.length?this.each(function(){if(s=Xt(this),r=this.nodeType===1&&" "+Qt(s)+" ",r){for(f=0;f<n.length;f++)for(u=n[f];r.indexOf(" "+u+" ")>-1;)r=r.replace(" "+u+" "," ");l=Qt(r),s!==l&&this.setAttribute("class",l)}}):this):this.attr("class","")},toggleClass:function(e,n){var r,s,u,f,l=typeof e,v=l==="string"||Array.isArray(e);return y(e)?this.each(function(p){o(this).toggleClass(e.call(this,p,Xt(this),n),n)}):typeof n=="boolean"&&v?n?this.addClass(e):this.removeClass(e):(r=wi(e),this.each(function(){if(v)for(f=o(this),u=0;u<r.length;u++)s=r[u],f.hasClass(s)?f.removeClass(s):f.addClass(s);else(e===void 0||l==="boolean")&&(s=Xt(this),s&&ie.set(this,"__className__",s),this.setAttribute&&this.setAttribute("class",s||e===!1?"":ie.get(this,"__className__")||""))}))},hasClass:function(e){var n,r,s=0;for(n=" "+e+" ";r=this[s++];)if(r.nodeType===1&&(" "+Qt(Xt(r))+" ").indexOf(n)>-1)return!0;return!1}});var Fr=/\r/g;o.fn.extend({val:function(e){var n,r,s,u=this[0];return arguments.length?(s=y(e),this.each(function(f){var l;this.nodeType===1&&(s?l=e.call(this,f,o(this).val()):l=e,l==null?l="":typeof l=="number"?l+="":Array.isArray(l)&&(l=o.map(l,function(v){return v==null?"":v+""})),n=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()],(!n||!("set"in n)||n.set(this,l,"value")===void 0)&&(this.value=l))})):u?(n=o.valHooks[u.type]||o.valHooks[u.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(u,"value"))!==void 0?r:(r=u.value,typeof r=="string"?r.replace(Fr,""):r??"")):void 0}}),o.extend({valHooks:{option:{get:function(e){var n=o.find.attr(e,"value");return n??Qt(o.text(e))}},select:{get:function(e){var n,r,s,u=e.options,f=e.selectedIndex,l=e.type==="select-one",v=l?null:[],p=l?f+1:u.length;for(f<0?s=p:s=l?f:0;s<p;s++)if(r=u[s],(r.selected||s===f)&&!r.disabled&&(!r.parentNode.disabled||!J(r.parentNode,"optgroup"))){if(n=o(r).val(),l)return n;v.push(n)}return v},set:function(e,n){for(var r,s,u=e.options,f=o.makeArray(n),l=u.length;l--;)s=u[l],(s.selected=o.inArray(o.valHooks.option.get(s),f)>-1)&&(r=!0);return r||(e.selectedIndex=-1),f}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(e,n){if(Array.isArray(n))return e.checked=o.inArray(o(e).val(),n)>-1}},A.checkOn||(o.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var Tn=C.location,Wi={guid:Date.now()},fi=/\?/;o.parseXML=function(e){var n,r;if(!e||typeof e!="string")return null;try{n=new C.DOMParser().parseFromString(e,"text/xml")}catch{}return r=n&&n.getElementsByTagName("parsererror")[0],(!n||r)&&o.error("Invalid XML: "+(r?o.map(r.childNodes,function(s){return s.textContent}).join(`
50
- `):e)),n};var mr=/^(?:focusinfocus|focusoutblur)$/,yr=function(e){e.stopPropagation()};o.extend(o.event,{trigger:function(e,n,r,s){var u,f,l,v,p,E,B,j,R=[r||b],V=xe.call(e,"type")?e.type:e,se=xe.call(e,"namespace")?e.namespace.split("."):[];if(f=j=l=r=r||b,!(r.nodeType===3||r.nodeType===8)&&!mr.test(V+o.event.triggered)&&(V.indexOf(".")>-1&&(se=V.split("."),V=se.shift(),se.sort()),p=V.indexOf(":")<0&&"on"+V,e=e[o.expando]?e:new o.Event(V,typeof e=="object"&&e),e.isTrigger=s?2:3,e.namespace=se.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+se.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),n=n==null?[e]:o.makeArray(n,[e]),B=o.event.special[V]||{},!(!s&&B.trigger&&B.trigger.apply(r,n)===!1))){if(!s&&!B.noBubble&&!k(r)){for(v=B.delegateType||V,mr.test(v+V)||(f=f.parentNode);f;f=f.parentNode)R.push(f),l=f;l===(r.ownerDocument||b)&&R.push(l.defaultView||l.parentWindow||C)}for(u=0;(f=R[u++])&&!e.isPropagationStopped();)j=f,e.type=u>1?v:B.bindType||V,E=(ie.get(f,"events")||Object.create(null))[e.type]&&ie.get(f,"handle"),E&&E.apply(f,n),E=p&&f[p],E&&E.apply&&$t(f)&&(e.result=E.apply(f,n),e.result===!1&&e.preventDefault());return e.type=V,!s&&!e.isDefaultPrevented()&&(!B._default||B._default.apply(R.pop(),n)===!1)&&$t(r)&&p&&y(r[V])&&!k(r)&&(l=r[p],l&&(r[p]=null),o.event.triggered=V,e.isPropagationStopped()&&j.addEventListener(V,yr),r[V](),e.isPropagationStopped()&&j.removeEventListener(V,yr),o.event.triggered=void 0,l&&(r[p]=l)),e.result}},simulate:function(e,n,r){var s=o.extend(new o.Event,r,{type:e,isSimulated:!0});o.event.trigger(s,null,n)}}),o.fn.extend({trigger:function(e,n){return this.each(function(){o.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0];if(r)return o.event.trigger(e,n,r,!0)}});var lo=/\[\]$/,Ki=/\r?\n/g,co=/^(?:submit|button|image|reset|file)$/i,ho=/^(?:input|select|textarea|keygen)/i;function xi(e,n,r,s){var u;if(Array.isArray(n))o.each(n,function(f,l){r||lo.test(e)?s(e,l):xi(e+"["+(typeof l=="object"&&l!=null?f:"")+"]",l,r,s)});else if(!r&&S(n)==="object")for(u in n)xi(e+"["+u+"]",n[u],r,s);else s(e,n)}o.param=function(e,n){var r,s=[],u=function(f,l){var v=y(l)?l():l;s[s.length]=encodeURIComponent(f)+"="+encodeURIComponent(v??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!o.isPlainObject(e))o.each(e,function(){u(this.name,this.value)});else for(r in e)xi(r,e[r],n,u);return s.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=o.prop(this,"elements");return e?o.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!o(this).is(":disabled")&&ho.test(this.nodeName)&&!co.test(e)&&(this.checked||!_n.test(e))}).map(function(e,n){var r=o(this).val();return r==null?null:Array.isArray(r)?o.map(r,function(s){return{name:n.name,value:s.replace(Ki,`\r
51
- `)}}):{name:n.name,value:r.replace(Ki,`\r
52
- `)}}).get()}});var po=/%20/g,br=/#.*$/,go=/([?&])_=[^&]*/,vo=/^(.*?):[ \t]*([^\r\n]*)$/mg,mo=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yo=/^(?:GET|HEAD)$/,bo=/^\/\//,yt={},ct={},wr="*/".concat("*"),_i=b.createElement("a");_i.href=Tn.href;function xr(e){return function(n,r){typeof n!="string"&&(r=n,n="*");var s,u=0,f=n.toLowerCase().match(Fe)||[];if(y(r))for(;s=f[u++];)s[0]==="+"?(s=s.slice(1)||"*",(e[s]=e[s]||[]).unshift(r)):(e[s]=e[s]||[]).push(r)}}function _r(e,n,r,s){var u={},f=e===ct;function l(v){var p;return u[v]=!0,o.each(e[v]||[],function(E,B){var j=B(n,r,s);if(typeof j=="string"&&!f&&!u[j])return n.dataTypes.unshift(j),l(j),!1;if(f)return!(p=j)}),p}return l(n.dataTypes[0])||!u["*"]&&l("*")}function Ti(e,n){var r,s,u=o.ajaxSettings.flatOptions||{};for(r in n)n[r]!==void 0&&((u[r]?e:s||(s={}))[r]=n[r]);return s&&o.extend(!0,e,s),e}function wo(e,n,r){for(var s,u,f,l,v=e.contents,p=e.dataTypes;p[0]==="*";)p.shift(),s===void 0&&(s=e.mimeType||n.getResponseHeader("Content-Type"));if(s){for(u in v)if(v[u]&&v[u].test(s)){p.unshift(u);break}}if(p[0]in r)f=p[0];else{for(u in r){if(!p[0]||e.converters[u+" "+p[0]]){f=u;break}l||(l=u)}f=f||l}if(f)return f!==p[0]&&p.unshift(f),r[f]}function $r(e,n,r,s){var u,f,l,v,p,E={},B=e.dataTypes.slice();if(B[1])for(l in e.converters)E[l.toLowerCase()]=e.converters[l];for(f=B.shift();f;)if(e.responseFields[f]&&(r[e.responseFields[f]]=n),!p&&s&&e.dataFilter&&(n=e.dataFilter(n,e.dataType)),p=f,f=B.shift(),f){if(f==="*")f=p;else if(p!=="*"&&p!==f){if(l=E[p+" "+f]||E["* "+f],!l){for(u in E)if(v=u.split(" "),v[1]===f&&(l=E[p+" "+v[0]]||E["* "+v[0]],l)){l===!0?l=E[u]:E[u]!==!0&&(f=v[0],B.unshift(v[1]));break}}if(l!==!0)if(l&&e.throws)n=l(n);else try{n=l(n)}catch(j){return{state:"parsererror",error:l?j:"No conversion from "+p+" to "+f}}}}return{state:"success",data:n}}o.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tn.href,type:"GET",isLocal:mo.test(Tn.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wr,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":o.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?Ti(Ti(e,o.ajaxSettings),n):Ti(o.ajaxSettings,e)},ajaxPrefilter:xr(yt),ajaxTransport:xr(ct),ajax:function(e,n){typeof e=="object"&&(n=e,e=void 0),n=n||{};var r,s,u,f,l,v,p,E,B,j,R=o.ajaxSetup({},n),V=R.context||R,se=R.context&&(V.nodeType||V.jquery)?o(V):o.event,Ae=o.Deferred(),Te=o.Callbacks("once memory"),ot=R.statusCode||{},Ve={},It={},Rt="canceled",ke={readyState:0,getResponseHeader:function(Oe){var $e;if(p){if(!f)for(f={};$e=vo.exec(u);)f[$e[1].toLowerCase()+" "]=(f[$e[1].toLowerCase()+" "]||[]).concat($e[2]);$e=f[Oe.toLowerCase()+" "]}return $e==null?null:$e.join(", ")},getAllResponseHeaders:function(){return p?u:null},setRequestHeader:function(Oe,$e){return p==null&&(Oe=It[Oe.toLowerCase()]=It[Oe.toLowerCase()]||Oe,Ve[Oe]=$e),this},overrideMimeType:function(Oe){return p==null&&(R.mimeType=Oe),this},statusCode:function(Oe){var $e;if(Oe)if(p)ke.always(Oe[ke.status]);else for($e in Oe)ot[$e]=[ot[$e],Oe[$e]];return this},abort:function(Oe){var $e=Oe||Rt;return r&&r.abort($e),Yt(0,$e),this}};if(Ae.promise(ke),R.url=((e||R.url||Tn.href)+"").replace(bo,Tn.protocol+"//"),R.type=n.method||n.type||R.method||R.type,R.dataTypes=(R.dataType||"*").toLowerCase().match(Fe)||[""],R.crossDomain==null){v=b.createElement("a");try{v.href=R.url,v.href=v.href,R.crossDomain=_i.protocol+"//"+_i.host!=v.protocol+"//"+v.host}catch{R.crossDomain=!0}}if(R.data&&R.processData&&typeof R.data!="string"&&(R.data=o.param(R.data,R.traditional)),_r(yt,R,n,ke),p)return ke;E=o.event&&R.global,E&&o.active++===0&&o.event.trigger("ajaxStart"),R.type=R.type.toUpperCase(),R.hasContent=!yo.test(R.type),s=R.url.replace(br,""),R.hasContent?R.data&&R.processData&&(R.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(R.data=R.data.replace(po,"+")):(j=R.url.slice(s.length),R.data&&(R.processData||typeof R.data=="string")&&(s+=(fi.test(s)?"&":"?")+R.data,delete R.data),R.cache===!1&&(s=s.replace(go,"$1"),j=(fi.test(s)?"&":"?")+"_="+Wi.guid+++j),R.url=s+j),R.ifModified&&(o.lastModified[s]&&ke.setRequestHeader("If-Modified-Since",o.lastModified[s]),o.etag[s]&&ke.setRequestHeader("If-None-Match",o.etag[s])),(R.data&&R.hasContent&&R.contentType!==!1||n.contentType)&&ke.setRequestHeader("Content-Type",R.contentType),ke.setRequestHeader("Accept",R.dataTypes[0]&&R.accepts[R.dataTypes[0]]?R.accepts[R.dataTypes[0]]+(R.dataTypes[0]!=="*"?", "+wr+"; q=0.01":""):R.accepts["*"]);for(B in R.headers)ke.setRequestHeader(B,R.headers[B]);if(R.beforeSend&&(R.beforeSend.call(V,ke,R)===!1||p))return ke.abort();if(Rt="abort",Te.add(R.complete),ke.done(R.success),ke.fail(R.error),r=_r(ct,R,n,ke),!r)Yt(-1,"No Transport");else{if(ke.readyState=1,E&&se.trigger("ajaxSend",[ke,R]),p)return ke;R.async&&R.timeout>0&&(l=C.setTimeout(function(){ke.abort("timeout")},R.timeout));try{p=!1,r.send(Ve,Yt)}catch(Oe){if(p)throw Oe;Yt(-1,Oe)}}function Yt(Oe,$e,Mn,li){var Dt,mn,kt,Ut,Kt,_t=$e;p||(p=!0,l&&C.clearTimeout(l),r=void 0,u=li||"",ke.readyState=Oe>0?4:0,Dt=Oe>=200&&Oe<300||Oe===304,Mn&&(Ut=wo(R,ke,Mn)),!Dt&&o.inArray("script",R.dataTypes)>-1&&o.inArray("json",R.dataTypes)<0&&(R.converters["text script"]=function(){}),Ut=$r(R,Ut,ke,Dt),Dt?(R.ifModified&&(Kt=ke.getResponseHeader("Last-Modified"),Kt&&(o.lastModified[s]=Kt),Kt=ke.getResponseHeader("etag"),Kt&&(o.etag[s]=Kt)),Oe===204||R.type==="HEAD"?_t="nocontent":Oe===304?_t="notmodified":(_t=Ut.state,mn=Ut.data,kt=Ut.error,Dt=!kt)):(kt=_t,(Oe||!_t)&&(_t="error",Oe<0&&(Oe=0))),ke.status=Oe,ke.statusText=($e||_t)+"",Dt?Ae.resolveWith(V,[mn,_t,ke]):Ae.rejectWith(V,[ke,_t,kt]),ke.statusCode(ot),ot=void 0,E&&se.trigger(Dt?"ajaxSuccess":"ajaxError",[ke,R,Dt?mn:kt]),Te.fireWith(V,[ke,_t]),E&&(se.trigger("ajaxComplete",[ke,R]),--o.active||o.event.trigger("ajaxStop")))}return ke},getJSON:function(e,n,r){return o.get(e,n,r,"json")},getScript:function(e,n){return o.get(e,void 0,n,"script")}}),o.each(["get","post"],function(e,n){o[n]=function(r,s,u,f){return y(s)&&(f=f||u,u=s,s=void 0),o.ajax(o.extend({url:r,type:n,dataType:f,data:s,success:u},o.isPlainObject(r)&&r))}}),o.ajaxPrefilter(function(e){var n;for(n in e.headers)n.toLowerCase()==="content-type"&&(e.contentType=e.headers[n]||"")}),o._evalUrl=function(e,n,r){return o.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(s){o.globalEval(s,n,r)}})},o.fn.extend({wrapAll:function(e){var n;return this[0]&&(y(e)&&(e=e.call(this[0])),n=o(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 y(e)?this.each(function(n){o(this).wrapInner(e.call(this,n))}):this.each(function(){var n=o(this),r=n.contents();r.length?r.wrapAll(e):n.append(e)})},wrap:function(e){var n=y(e);return this.each(function(r){o(this).wrapAll(n?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.pseudos.hidden=function(e){return!o.expr.pseudos.visible(e)},o.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},o.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch{}};var xo={0:200,1223:204},xt=o.ajaxSettings.xhr();A.cors=!!xt&&"withCredentials"in xt,A.ajax=xt=!!xt,o.ajaxTransport(function(e){var n,r;if(A.cors||xt&&!e.crossDomain)return{send:function(s,u){var f,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(f in e.xhrFields)l[f]=e.xhrFields[f];e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),!e.crossDomain&&!s["X-Requested-With"]&&(s["X-Requested-With"]="XMLHttpRequest");for(f in s)l.setRequestHeader(f,s[f]);n=function(v){return function(){n&&(n=r=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,v==="abort"?l.abort():v==="error"?typeof l.status!="number"?u(0,"error"):u(l.status,l.statusText):u(xo[l.status]||l.status,l.statusText,(l.responseType||"text")!=="text"||typeof l.responseText!="string"?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=n(),r=l.onerror=l.ontimeout=n("error"),l.onabort!==void 0?l.onabort=r:l.onreadystatechange=function(){l.readyState===4&&C.setTimeout(function(){n&&r()})},n=n("abort");try{l.send(e.hasContent&&e.data||null)}catch(v){if(n)throw v}},abort:function(){n&&n()}}}),o.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),o.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 o.globalEval(e),e}}}),o.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),o.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var n,r;return{send:function(s,u){n=o("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(f){n.remove(),r=null,f&&u(f.type==="error"?404:200,f.type)}),b.head.appendChild(n[0])},abort:function(){r&&r()}}}});var Ci=[],vn=/(=)\?(?=&|$)|\?\?/;o.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ci.pop()||o.expando+"_"+Wi.guid++;return this[e]=!0,e}}),o.ajaxPrefilter("json jsonp",function(e,n,r){var s,u,f,l=e.jsonp!==!1&&(vn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&vn.test(e.data)&&"data");if(l||e.dataTypes[0]==="jsonp")return s=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(vn,"$1"+s):e.jsonp!==!1&&(e.url+=(fi.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return f||o.error(s+" was not called"),f[0]},e.dataTypes[0]="json",u=C[s],C[s]=function(){f=arguments},r.always(function(){u===void 0?o(C).removeProp(s):C[s]=u,e[s]&&(e.jsonpCallback=n.jsonpCallback,Ci.push(s)),f&&y(u)&&u(f[0]),f=u=void 0}),"script"}),A.createHTMLDocument=(function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",e.childNodes.length===2})(),o.parseHTML=function(e,n,r){if(typeof e!="string")return[];typeof n=="boolean"&&(r=n,n=!1);var s,u,f;return n||(A.createHTMLDocument?(n=b.implementation.createHTMLDocument(""),s=n.createElement("base"),s.href=b.location.href,n.head.appendChild(s)):n=b),u=me.exec(e),f=!r&&[],u?[n.createElement(u[1])]:(u=rr([e],n,f),f&&f.length&&o(f).remove(),o.merge([],u.childNodes))},o.fn.load=function(e,n,r){var s,u,f,l=this,v=e.indexOf(" ");return v>-1&&(s=Qt(e.slice(v)),e=e.slice(0,v)),y(n)?(r=n,n=void 0):n&&typeof n=="object"&&(u="POST"),l.length>0&&o.ajax({url:e,type:u||"GET",dataType:"html",data:n}).done(function(p){f=arguments,l.html(s?o("<div>").append(o.parseHTML(p)).find(s):p)}).always(r&&function(p,E){l.each(function(){r.apply(this,f||[p.responseText,E,p])})}),this},o.expr.pseudos.animated=function(e){return o.grep(o.timers,function(n){return e===n.elem}).length},o.offset={setOffset:function(e,n,r){var s,u,f,l,v,p,E,B=o.css(e,"position"),j=o(e),R={};B==="static"&&(e.style.position="relative"),v=j.offset(),f=o.css(e,"top"),p=o.css(e,"left"),E=(B==="absolute"||B==="fixed")&&(f+p).indexOf("auto")>-1,E?(s=j.position(),l=s.top,u=s.left):(l=parseFloat(f)||0,u=parseFloat(p)||0),y(n)&&(n=n.call(e,r,o.extend({},v))),n.top!=null&&(R.top=n.top-v.top+l),n.left!=null&&(R.left=n.left-v.left+u),"using"in n?n.using.call(e,R):j.css(R)}},o.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(u){o.offset.setOffset(this,e,u)});var n,r,s=this[0];if(s)return s.getClientRects().length?(n=s.getBoundingClientRect(),r=s.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,s=this[0],u={top:0,left:0};if(o.css(s,"position")==="fixed")n=s.getBoundingClientRect();else{for(n=this.offset(),r=s.ownerDocument,e=s.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&o.css(e,"position")==="static";)e=e.parentNode;e&&e!==s&&e.nodeType===1&&(u=o(e).offset(),u.top+=o.css(e,"borderTopWidth",!0),u.left+=o.css(e,"borderLeftWidth",!0))}return{top:n.top-u.top-o.css(s,"marginTop",!0),left:n.left-u.left-o.css(s,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&o.css(e,"position")==="static";)e=e.offsetParent;return e||Wt})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=n==="pageYOffset";o.fn[e]=function(s){return St(this,function(u,f,l){var v;if(k(u)?v=u:u.nodeType===9&&(v=u.defaultView),l===void 0)return v?v[n]:u[f];v?v.scrollTo(r?v.pageXOffset:l,r?l:v.pageYOffset):u[f]=l},e,s,arguments.length)}}),o.each(["top","left"],function(e,n){o.cssHooks[n]=si(A.pixelPosition,function(r,s){if(s)return s=Rn(r,n),mi.test(s)?o(r).position()[n]+"px":s})}),o.each({Height:"height",Width:"width"},function(e,n){o.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,s){o.fn[s]=function(u,f){var l=arguments.length&&(r||typeof u!="boolean"),v=r||(u===!0||f===!0?"margin":"border");return St(this,function(p,E,B){var j;return k(p)?s.indexOf("outer")===0?p["inner"+e]:p.document.documentElement["client"+e]:p.nodeType===9?(j=p.documentElement,Math.max(p.body["scroll"+e],j["scroll"+e],p.body["offset"+e],j["offset"+e],j["client"+e])):B===void 0?o.css(p,E,v):o.style(p,E,B,v)},n,l?u:void 0,l)}})}),o.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,n){o.fn[n]=function(r){return this.on(n,r)}}),o.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,s){return this.on(n,e,r,s)},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)}}),o.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){o.fn[n]=function(r,s){return arguments.length>0?this.on(n,null,r,s):this.trigger(n)}});var jr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;o.proxy=function(e,n){var r,s,u;if(typeof n=="string"&&(r=e[n],n=e,e=r),!!y(e))return s=ee.call(arguments,2),u=function(){return e.apply(n||this,s.concat(ee.call(arguments)))},u.guid=e.guid=e.guid||o.guid++,u},o.holdReady=function(e){e?o.readyWait++:o.ready(!0)},o.isArray=Array.isArray,o.parseJSON=JSON.parse,o.nodeName=J,o.isFunction=y,o.isWindow=k,o.camelCase=bt,o.type=S,o.now=Date.now,o.isNumeric=function(e){var n=o.type(e);return(n==="number"||n==="string")&&!isNaN(e-parseFloat(e))},o.trim=function(e){return e==null?"":(e+"").replace(jr,"$1")};var Tr=C.jQuery,fn=C.$;return o.noConflict=function(e){return C.$===o&&(C.$=fn),e&&C.jQuery===o&&(C.jQuery=Tr),o},typeof c>"u"&&(C.jQuery=C.$=o),o})})(Cs)),Cs.exports}var Ss={exports:{}};/*!
53
- * typeahead.js 1.0.4
54
- * https://github.com/twitter/typeahead.js
55
- * Copyright 2013-2016 Twitter, Inc. and other contributors; Licensed MIT
56
- */var Iv=Ss.exports,Uf;function Rv(){return Uf||(Uf=1,(function($){(function(C,c){$.exports?$.exports=c(As()):C.Bloodhound=c(C.jQuery)})(Iv,function(C){var c=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(D){return!D||/^\s*$/.test(D)},escapeRegExChars:function(D){return D.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(D){return typeof D=="string"},isNumber:function(D){return typeof D=="number"},isArray:C.isArray,isFunction:C.isFunction,isObject:C.isPlainObject,isUndefined:function(D){return typeof D>"u"},isElement:function(D){return!!(D&&D.nodeType===1)},isJQuery:function(D){return D instanceof C},toStr:function(A){return c.isUndefined(A)||A===null?"":A+""},bind:C.proxy,each:function(D,A){C.each(D,y);function y(k,b){return A(b,k)}},map:C.map,filter:C.grep,every:function(D,A){var y=!0;return D?(C.each(D,function(k,b){if(!(y=A.call(null,b,k,D)))return!1}),!!y):y},some:function(D,A){var y=!1;return D?(C.each(D,function(k,b){if(y=A.call(null,b,k,D))return!1}),!!y):y},mixin:C.extend,identity:function(D){return D},clone:function(D){return C.extend(!0,{},D)},getIdGenerator:function(){var D=0;return function(){return D++}},templatify:function(A){return C.isFunction(A)?A:y;function y(){return String(A)}},defer:function(D){setTimeout(D,0)},debounce:function(D,A,y){var k,b;return function(){var T=this,g=arguments,S,H;return S=function(){k=null,y||(b=D.apply(T,g))},H=y&&!k,clearTimeout(k),k=setTimeout(S,A),H&&(b=D.apply(T,g)),b}},throttle:function(D,A){var y,k,b,T,g,S;return g=0,S=function(){g=new Date,b=null,T=D.apply(y,k)},function(){var H=new Date,K=A-(H-g);return y=this,k=arguments,K<=0?(clearTimeout(b),b=null,g=H,T=D.apply(y,k)):b||(b=setTimeout(S,K)),T}},stringify:function(D){return c.isString(D)?D:JSON.stringify(D)},guid:function(){function D(A){var y=(Math.random().toString(16)+"000000000").substr(2,8);return A?"-"+y.substr(0,4)+"-"+y.substr(4,4):y}return"tt-"+D()+D(!0)+D(!0)+D()},noop:function(){}}})(),W="1.0.4",Z=(function(){return{nonword:A,whitespace:D,ngram:y,obj:{nonword:k(A),whitespace:k(D),ngram:k(y)}};function D(b){return b=c.toStr(b),b?b.split(/\s+/):[]}function A(b){return b=c.toStr(b),b?b.split(/\W+/):[]}function y(b){b=c.toStr(b);var T=[],g="";return c.each(b.split(""),function(S){S.match(/\s+/)?g="":(T.push(g+S),g+=S)}),T}function k(b){return function(g){return g=c.isArray(g)?g:[].slice.call(arguments,0),function(H){var K=[];return c.each(g,function(o){K=K.concat(b(c.toStr(H[o])))}),K}}}})(),ee=(function(){function D(k){this.maxSize=c.isNumber(k)?k:100,this.reset(),this.maxSize<=0&&(this.set=this.get=C.noop)}c.mixin(D.prototype,{set:function(b,T){var g=this.list.tail,S;this.size>=this.maxSize&&(this.list.remove(g),delete this.hash[g.key],this.size--),(S=this.hash[b])?(S.val=T,this.list.moveToFront(S)):(S=new y(b,T),this.list.add(S),this.hash[b]=S,this.size++)},get:function(b){var T=this.hash[b];if(T)return this.list.moveToFront(T),T.val},reset:function(){this.size=0,this.hash={},this.list=new A}});function A(){this.head=this.tail=null}c.mixin(A.prototype,{add:function(b){this.head&&(b.next=this.head,this.head.prev=b),this.head=b,this.tail=this.tail||b},remove:function(b){b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev},moveToFront:function(k){this.remove(k),this.add(k)}});function y(k,b){this.key=k,this.val=b,this.prev=this.next=null}return D})(),he=(function(){var D;try{D=window.localStorage,D.setItem("~~~","!"),D.removeItem("~~~")}catch{D=null}function A(g,S){this.prefix=["__",g,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+c.escapeRegExChars(this.prefix)),this.ls=S||D,!this.ls&&this._noop()}return c.mixin(A.prototype,{_prefix:function(g){return this.prefix+g},_ttlKey:function(g){return this._prefix(g)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=c.noop},_safeSet:function(g,S){try{this.ls.setItem(g,S)}catch(H){H.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(g){return this.isExpired(g)&&this.remove(g),b(this.ls.getItem(this._prefix(g)))},set:function(g,S,H){return c.isNumber(H)?this._safeSet(this._ttlKey(g),k(y()+H)):this.ls.removeItem(this._ttlKey(g)),this._safeSet(this._prefix(g),k(S))},remove:function(g){return this.ls.removeItem(this._ttlKey(g)),this.ls.removeItem(this._prefix(g)),this},clear:function(){var g,S=T(this.keyMatcher);for(g=S.length;g--;)this.remove(S[g]);return this},isExpired:function(g){var S=b(this.ls.getItem(this._ttlKey(g)));return!!(c.isNumber(S)&&y()>S)}}),A;function y(){return new Date().getTime()}function k(g){return JSON.stringify(c.isUndefined(g)?null:g)}function b(g){return C.parseJSON(g)}function T(g){var S,H,K=[],o=D.length;for(S=0;S<o;S++)(H=D.key(S)).match(g)&&K.push(H.replace(g,""));return K}})(),Ee=(function(){var D=0,A={},y=new ee(10);function k(b){b=b||{},this.maxPendingRequests=b.maxPendingRequests||6,this.cancelled=!1,this.lastReq=null,this._send=b.transport,this._get=b.limiter?b.limiter(this._get):this._get,this._cache=b.cache===!1?new ee(0):y}return k.setMaxPendingRequests=function(T){this.maxPendingRequests=T},k.resetCache=function(){y.reset()},c.mixin(k.prototype,{_fingerprint:function(T){return T=T||{},T.url+T.type+C.param(T.data||{})},_get:function(b,T){var g=this,S,H;if(S=this._fingerprint(b),this.cancelled||S!==this.lastReq)return;(H=A[S])?H.done(K).fail(o):D<this.maxPendingRequests?(D++,A[S]=this._send(b).done(K).fail(o).always(Y)):this.onDeckRequestArgs=[].slice.call(arguments,0);function K(J){T(null,J),g._cache.set(S,J)}function o(){T(!0)}function Y(){D--,delete A[S],g.onDeckRequestArgs&&(g._get.apply(g,g.onDeckRequestArgs),g.onDeckRequestArgs=null)}},get:function(b,T){var g,S;T=T||C.noop,b=c.isString(b)?{url:b}:b||{},S=this._fingerprint(b),this.cancelled=!1,this.lastReq=S,(g=this._cache.get(S))?T(null,g):this._get(b,T)},cancel:function(){this.cancelled=!0}}),k})(),ye=window.SearchIndex=(function(){var D="c",A="i";function y(S){S=S||{},(!S.datumTokenizer||!S.queryTokenizer)&&C.error("datumTokenizer and queryTokenizer are both required"),this.identify=S.identify||c.stringify,this.datumTokenizer=S.datumTokenizer,this.queryTokenizer=S.queryTokenizer,this.matchAnyQueryToken=S.matchAnyQueryToken,this.reset()}return c.mixin(y.prototype,{bootstrap:function(H){this.datums=H.datums,this.trie=H.trie},add:function(S){var H=this;S=c.isArray(S)?S:[S],c.each(S,function(K){var o,Y;H.datums[o=H.identify(K)]=K,Y=k(H.datumTokenizer(K)),c.each(Y,function(J){var fe,Ie,nt;for(fe=H.trie,Ie=J.split("");nt=Ie.shift();)fe=fe[D][nt]||(fe[D][nt]=b()),fe[A].push(o)})})},get:function(H){var K=this;return c.map(H,function(o){return K.datums[o]})},search:function(H){var K=this,o,Y;return o=k(this.queryTokenizer(H)),c.each(o,function(J){var fe,Ie,nt,Ce;if(Y&&Y.length===0&&!K.matchAnyQueryToken)return!1;for(fe=K.trie,Ie=J.split("");fe&&(nt=Ie.shift());)fe=fe[D][nt];if(fe&&Ie.length===0)Ce=fe[A].slice(0),Y=Y?g(Y,Ce):Ce;else if(!K.matchAnyQueryToken)return Y=[],!1}),Y?c.map(T(Y),function(J){return K.datums[J]}):[]},all:function(){var H=[];for(var K in this.datums)H.push(this.datums[K]);return H},reset:function(){this.datums={},this.trie=b()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),y;function k(S){return S=c.filter(S,function(H){return!!H}),S=c.map(S,function(H){return H.toLowerCase()}),S}function b(){var S={};return S[A]=[],S[D]={},S}function T(S){for(var H={},K=[],o=0,Y=S.length;o<Y;o++)H[S[o]]||(H[S[o]]=!0,K.push(S[o]));return K}function g(S,H){var K=0,o=0,Y=[];S=S.sort(),H=H.sort();for(var J=S.length,fe=H.length;K<J&&o<fe;)S[K]<H[o]?K++:(S[K]>H[o]||(Y.push(S[K]),K++),o++);return Y}})(),we=(function(){var D;D={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function A(y){this.url=y.url,this.ttl=y.ttl,this.cache=y.cache,this.prepare=y.prepare,this.transform=y.transform,this.transport=y.transport,this.thumbprint=y.thumbprint,this.storage=new he(y.cacheKey)}return c.mixin(A.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(k){this.cache&&(this.storage.set(D.data,k,this.ttl),this.storage.set(D.protocol,location.protocol,this.ttl),this.storage.set(D.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var k={},b;return this.cache?(k.data=this.storage.get(D.data),k.protocol=this.storage.get(D.protocol),k.thumbprint=this.storage.get(D.thumbprint),b=k.thumbprint!==this.thumbprint||k.protocol!==location.protocol,k.data&&!b?k.data:null):null},fromNetwork:function(y){var k=this,b;if(!y)return;b=this.prepare(this._settings()),this.transport(b).fail(T).done(g);function T(){y(!0)}function g(S){y(null,k.transform(S))}},clear:function(){return this.storage.clear(),this}}),A})(),qe=(function(){function D(A){this.url=A.url,this.prepare=A.prepare,this.transform=A.transform,this.indexResponse=A.indexResponse,this.transport=new Ee({cache:A.cache,limiter:A.limiter,transport:A.transport,maxPendingRequests:A.maxPendingRequests})}return c.mixin(D.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(y,k){var b=this,T;if(!k)return;return y=y||"",T=this.prepare(y,this._settings()),this.transport.get(T,g);function g(S,H){k(S?[]:b.transform(H))}},cancelLastRequest:function(){this.transport.cancel()}}),D})(),xe=(function(){return function(g){var S,H;return S={initialize:!0,identify:c.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},g=c.mixin(S,g||{}),!g.datumTokenizer&&C.error("datumTokenizer is required"),!g.queryTokenizer&&C.error("queryTokenizer is required"),H=g.sorter,g.sorter=H?function(K){return K.sort(H)}:c.identity,g.local=c.isFunction(g.local)?g.local():g.local,g.prefetch=D(g.prefetch),g.remote=A(g.remote),g};function D(T){var g;return T?(g={url:null,ttl:1440*60*1e3,cache:!0,cacheKey:null,thumbprint:"",prepare:c.identity,transform:c.identity,transport:null},T=c.isString(T)?{url:T}:T,T=c.mixin(g,T),!T.url&&C.error("prefetch requires url to be set"),T.transform=T.filter||T.transform,T.cacheKey=T.cacheKey||T.url,T.thumbprint=W+T.thumbprint,T.transport=T.transport?b(T.transport):C.ajax,T):null}function A(T){var g;if(T)return g={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:c.identity,transport:null},T=c.isString(T)?{url:T}:T,T=c.mixin(g,T),!T.url&&C.error("remote requires url to be set"),T.transform=T.filter||T.transform,T.prepare=y(T),T.limiter=k(T),T.transport=T.transport?b(T.transport):C.ajax,delete T.replace,delete T.wildcard,delete T.rateLimitBy,delete T.rateLimitWait,T}function y(T){var g,S,H;if(g=T.prepare,S=T.replace,H=T.wildcard,g)return g;return S?g=K:T.wildcard?g=o:g=Y,g;function K(J,fe){return fe.url=S(fe.url,J),fe}function o(J,fe){return fe.url=fe.url.replace(H,encodeURIComponent(J)),fe}function Y(J,fe){return fe}}function k(T){var g,S,H;return g=T.limiter,S=T.rateLimitBy,H=T.rateLimitWait,g||(g=/^throttle$/i.test(S)?o(H):K(H)),g;function K(Y){return function(fe){return c.debounce(fe,Y)}}function o(Y){return function(fe){return c.throttle(fe,Y)}}}function b(T){return function(S){var H=C.Deferred();return T(S,K,o),H;function K(Y){c.defer(function(){H.resolve(Y)})}function o(Y){c.defer(function(){H.reject(Y)})}}}})(),_e=(function(){var D;D=window&&window.Bloodhound;function A(y){y=xe(y),this.sorter=y.sorter,this.identify=y.identify,this.sufficient=y.sufficient,this.indexRemote=y.indexRemote,this.local=y.local,this.remote=y.remote?new qe(y.remote):null,this.prefetch=y.prefetch?new we(y.prefetch):null,this.index=new ye({identify:this.identify,datumTokenizer:y.datumTokenizer,queryTokenizer:y.queryTokenizer}),y.initialize!==!1&&this.initialize()}return A.noConflict=function(){return window&&(window.Bloodhound=D),A},A.tokenizers=Z,c.mixin(A.prototype,{__ttAdapter:function(){var k=this;return this.remote?b:T;function b(g,S,H){return k.search(g,S,H)}function T(g,S){return k.search(g,S)}},_loadPrefetch:function(){var k=this,b,T;return b=C.Deferred(),this.prefetch?(T=this.prefetch.fromCache())?(this.index.bootstrap(T),b.resolve()):this.prefetch.fromNetwork(g):b.resolve(),b.promise();function g(S,H){if(S)return b.reject();k.add(H),k.prefetch.store(k.index.serialize()),b.resolve()}},_initialize:function(){var k=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(b),this.initPromise;function b(){k.add(k.local)}},initialize:function(k){return!this.initPromise||k?this._initialize():this.initPromise},add:function(k){return this.index.add(k),this},get:function(k){return k=c.isArray(k)?k:[].slice.call(arguments),this.index.get(k)},search:function(k,b,T){var g=this,S;return b=b||c.noop,T=T||c.noop,S=this.sorter(this.index.search(k)),b(this.remote?S.slice():S),this.remote&&S.length<this.sufficient?this.remote.get(k,H):this.remote&&this.remote.cancelLastRequest(),this;function H(K){var o=[];c.each(K,function(Y){!c.some(S,function(J){return g.identify(Y)===g.identify(J)})&&o.push(Y)}),g.indexRemote&&g.add(o),T(o)}},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return Ee.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),A})();return _e})})(Ss)),Ss.exports}var Es={exports:{}};/*!
57
- * typeahead.js 1.0.4
58
- * https://github.com/twitter/typeahead.js
59
- * Copyright 2013-2016 Twitter, Inc. and other contributors; Licensed MIT
60
- */var Wf=Es.exports,Kf;function Nv(){return Kf||(Kf=1,(function($){(function(C,c){$.exports?$.exports=c(As()):C.Bloodhound=c(C.jQuery)})(Wf,function(C){var c=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(D){return!D||/^\s*$/.test(D)},escapeRegExChars:function(D){return D.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(D){return typeof D=="string"},isNumber:function(D){return typeof D=="number"},isArray:C.isArray,isFunction:C.isFunction,isObject:C.isPlainObject,isUndefined:function(D){return typeof D>"u"},isElement:function(D){return!!(D&&D.nodeType===1)},isJQuery:function(D){return D instanceof C},toStr:function(A){return c.isUndefined(A)||A===null?"":A+""},bind:C.proxy,each:function(D,A){C.each(D,y);function y(k,b){return A(b,k)}},map:C.map,filter:C.grep,every:function(D,A){var y=!0;return D?(C.each(D,function(k,b){if(!(y=A.call(null,b,k,D)))return!1}),!!y):y},some:function(D,A){var y=!1;return D?(C.each(D,function(k,b){if(y=A.call(null,b,k,D))return!1}),!!y):y},mixin:C.extend,identity:function(D){return D},clone:function(D){return C.extend(!0,{},D)},getIdGenerator:function(){var D=0;return function(){return D++}},templatify:function(A){return C.isFunction(A)?A:y;function y(){return String(A)}},defer:function(D){setTimeout(D,0)},debounce:function(D,A,y){var k,b;return function(){var T=this,g=arguments,S,H;return S=function(){k=null,y||(b=D.apply(T,g))},H=y&&!k,clearTimeout(k),k=setTimeout(S,A),H&&(b=D.apply(T,g)),b}},throttle:function(D,A){var y,k,b,T,g,S;return g=0,S=function(){g=new Date,b=null,T=D.apply(y,k)},function(){var H=new Date,K=A-(H-g);return y=this,k=arguments,K<=0?(clearTimeout(b),b=null,g=H,T=D.apply(y,k)):b||(b=setTimeout(S,K)),T}},stringify:function(D){return c.isString(D)?D:JSON.stringify(D)},guid:function(){function D(A){var y=(Math.random().toString(16)+"000000000").substr(2,8);return A?"-"+y.substr(0,4)+"-"+y.substr(4,4):y}return"tt-"+D()+D(!0)+D(!0)+D()},noop:function(){}}})(),W="1.0.4",Z=(function(){return{nonword:A,whitespace:D,ngram:y,obj:{nonword:k(A),whitespace:k(D),ngram:k(y)}};function D(b){return b=c.toStr(b),b?b.split(/\s+/):[]}function A(b){return b=c.toStr(b),b?b.split(/\W+/):[]}function y(b){b=c.toStr(b);var T=[],g="";return c.each(b.split(""),function(S){S.match(/\s+/)?g="":(T.push(g+S),g+=S)}),T}function k(b){return function(g){return g=c.isArray(g)?g:[].slice.call(arguments,0),function(H){var K=[];return c.each(g,function(o){K=K.concat(b(c.toStr(H[o])))}),K}}}})(),ee=(function(){function D(k){this.maxSize=c.isNumber(k)?k:100,this.reset(),this.maxSize<=0&&(this.set=this.get=C.noop)}c.mixin(D.prototype,{set:function(b,T){var g=this.list.tail,S;this.size>=this.maxSize&&(this.list.remove(g),delete this.hash[g.key],this.size--),(S=this.hash[b])?(S.val=T,this.list.moveToFront(S)):(S=new y(b,T),this.list.add(S),this.hash[b]=S,this.size++)},get:function(b){var T=this.hash[b];if(T)return this.list.moveToFront(T),T.val},reset:function(){this.size=0,this.hash={},this.list=new A}});function A(){this.head=this.tail=null}c.mixin(A.prototype,{add:function(b){this.head&&(b.next=this.head,this.head.prev=b),this.head=b,this.tail=this.tail||b},remove:function(b){b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev},moveToFront:function(k){this.remove(k),this.add(k)}});function y(k,b){this.key=k,this.val=b,this.prev=this.next=null}return D})(),he=(function(){var D;try{D=window.localStorage,D.setItem("~~~","!"),D.removeItem("~~~")}catch{D=null}function A(g,S){this.prefix=["__",g,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+c.escapeRegExChars(this.prefix)),this.ls=S||D,!this.ls&&this._noop()}return c.mixin(A.prototype,{_prefix:function(g){return this.prefix+g},_ttlKey:function(g){return this._prefix(g)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=c.noop},_safeSet:function(g,S){try{this.ls.setItem(g,S)}catch(H){H.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(g){return this.isExpired(g)&&this.remove(g),b(this.ls.getItem(this._prefix(g)))},set:function(g,S,H){return c.isNumber(H)?this._safeSet(this._ttlKey(g),k(y()+H)):this.ls.removeItem(this._ttlKey(g)),this._safeSet(this._prefix(g),k(S))},remove:function(g){return this.ls.removeItem(this._ttlKey(g)),this.ls.removeItem(this._prefix(g)),this},clear:function(){var g,S=T(this.keyMatcher);for(g=S.length;g--;)this.remove(S[g]);return this},isExpired:function(g){var S=b(this.ls.getItem(this._ttlKey(g)));return!!(c.isNumber(S)&&y()>S)}}),A;function y(){return new Date().getTime()}function k(g){return JSON.stringify(c.isUndefined(g)?null:g)}function b(g){return C.parseJSON(g)}function T(g){var S,H,K=[],o=D.length;for(S=0;S<o;S++)(H=D.key(S)).match(g)&&K.push(H.replace(g,""));return K}})(),Ee=(function(){var D=0,A={},y=new ee(10);function k(b){b=b||{},this.maxPendingRequests=b.maxPendingRequests||6,this.cancelled=!1,this.lastReq=null,this._send=b.transport,this._get=b.limiter?b.limiter(this._get):this._get,this._cache=b.cache===!1?new ee(0):y}return k.setMaxPendingRequests=function(T){this.maxPendingRequests=T},k.resetCache=function(){y.reset()},c.mixin(k.prototype,{_fingerprint:function(T){return T=T||{},T.url+T.type+C.param(T.data||{})},_get:function(b,T){var g=this,S,H;if(S=this._fingerprint(b),this.cancelled||S!==this.lastReq)return;(H=A[S])?H.done(K).fail(o):D<this.maxPendingRequests?(D++,A[S]=this._send(b).done(K).fail(o).always(Y)):this.onDeckRequestArgs=[].slice.call(arguments,0);function K(J){T(null,J),g._cache.set(S,J)}function o(){T(!0)}function Y(){D--,delete A[S],g.onDeckRequestArgs&&(g._get.apply(g,g.onDeckRequestArgs),g.onDeckRequestArgs=null)}},get:function(b,T){var g,S;T=T||C.noop,b=c.isString(b)?{url:b}:b||{},S=this._fingerprint(b),this.cancelled=!1,this.lastReq=S,(g=this._cache.get(S))?T(null,g):this._get(b,T)},cancel:function(){this.cancelled=!0}}),k})(),ye=window.SearchIndex=(function(){var D="c",A="i";function y(S){S=S||{},(!S.datumTokenizer||!S.queryTokenizer)&&C.error("datumTokenizer and queryTokenizer are both required"),this.identify=S.identify||c.stringify,this.datumTokenizer=S.datumTokenizer,this.queryTokenizer=S.queryTokenizer,this.matchAnyQueryToken=S.matchAnyQueryToken,this.reset()}return c.mixin(y.prototype,{bootstrap:function(H){this.datums=H.datums,this.trie=H.trie},add:function(S){var H=this;S=c.isArray(S)?S:[S],c.each(S,function(K){var o,Y;H.datums[o=H.identify(K)]=K,Y=k(H.datumTokenizer(K)),c.each(Y,function(J){var fe,Ie,nt;for(fe=H.trie,Ie=J.split("");nt=Ie.shift();)fe=fe[D][nt]||(fe[D][nt]=b()),fe[A].push(o)})})},get:function(H){var K=this;return c.map(H,function(o){return K.datums[o]})},search:function(H){var K=this,o,Y;return o=k(this.queryTokenizer(H)),c.each(o,function(J){var fe,Ie,nt,Ce;if(Y&&Y.length===0&&!K.matchAnyQueryToken)return!1;for(fe=K.trie,Ie=J.split("");fe&&(nt=Ie.shift());)fe=fe[D][nt];if(fe&&Ie.length===0)Ce=fe[A].slice(0),Y=Y?g(Y,Ce):Ce;else if(!K.matchAnyQueryToken)return Y=[],!1}),Y?c.map(T(Y),function(J){return K.datums[J]}):[]},all:function(){var H=[];for(var K in this.datums)H.push(this.datums[K]);return H},reset:function(){this.datums={},this.trie=b()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),y;function k(S){return S=c.filter(S,function(H){return!!H}),S=c.map(S,function(H){return H.toLowerCase()}),S}function b(){var S={};return S[A]=[],S[D]={},S}function T(S){for(var H={},K=[],o=0,Y=S.length;o<Y;o++)H[S[o]]||(H[S[o]]=!0,K.push(S[o]));return K}function g(S,H){var K=0,o=0,Y=[];S=S.sort(),H=H.sort();for(var J=S.length,fe=H.length;K<J&&o<fe;)S[K]<H[o]?K++:(S[K]>H[o]||(Y.push(S[K]),K++),o++);return Y}})(),we=(function(){var D;D={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function A(y){this.url=y.url,this.ttl=y.ttl,this.cache=y.cache,this.prepare=y.prepare,this.transform=y.transform,this.transport=y.transport,this.thumbprint=y.thumbprint,this.storage=new he(y.cacheKey)}return c.mixin(A.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(k){this.cache&&(this.storage.set(D.data,k,this.ttl),this.storage.set(D.protocol,location.protocol,this.ttl),this.storage.set(D.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var k={},b;return this.cache?(k.data=this.storage.get(D.data),k.protocol=this.storage.get(D.protocol),k.thumbprint=this.storage.get(D.thumbprint),b=k.thumbprint!==this.thumbprint||k.protocol!==location.protocol,k.data&&!b?k.data:null):null},fromNetwork:function(y){var k=this,b;if(!y)return;b=this.prepare(this._settings()),this.transport(b).fail(T).done(g);function T(){y(!0)}function g(S){y(null,k.transform(S))}},clear:function(){return this.storage.clear(),this}}),A})(),qe=(function(){function D(A){this.url=A.url,this.prepare=A.prepare,this.transform=A.transform,this.indexResponse=A.indexResponse,this.transport=new Ee({cache:A.cache,limiter:A.limiter,transport:A.transport,maxPendingRequests:A.maxPendingRequests})}return c.mixin(D.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(y,k){var b=this,T;if(!k)return;return y=y||"",T=this.prepare(y,this._settings()),this.transport.get(T,g);function g(S,H){k(S?[]:b.transform(H))}},cancelLastRequest:function(){this.transport.cancel()}}),D})(),xe=(function(){return function(g){var S,H;return S={initialize:!0,identify:c.stringify,datumTokenizer:null,queryTokenizer:null,matchAnyQueryToken:!1,sufficient:5,indexRemote:!1,sorter:null,local:[],prefetch:null,remote:null},g=c.mixin(S,g||{}),!g.datumTokenizer&&C.error("datumTokenizer is required"),!g.queryTokenizer&&C.error("queryTokenizer is required"),H=g.sorter,g.sorter=H?function(K){return K.sort(H)}:c.identity,g.local=c.isFunction(g.local)?g.local():g.local,g.prefetch=D(g.prefetch),g.remote=A(g.remote),g};function D(T){var g;return T?(g={url:null,ttl:1440*60*1e3,cache:!0,cacheKey:null,thumbprint:"",prepare:c.identity,transform:c.identity,transport:null},T=c.isString(T)?{url:T}:T,T=c.mixin(g,T),!T.url&&C.error("prefetch requires url to be set"),T.transform=T.filter||T.transform,T.cacheKey=T.cacheKey||T.url,T.thumbprint=W+T.thumbprint,T.transport=T.transport?b(T.transport):C.ajax,T):null}function A(T){var g;if(T)return g={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:c.identity,transport:null},T=c.isString(T)?{url:T}:T,T=c.mixin(g,T),!T.url&&C.error("remote requires url to be set"),T.transform=T.filter||T.transform,T.prepare=y(T),T.limiter=k(T),T.transport=T.transport?b(T.transport):C.ajax,delete T.replace,delete T.wildcard,delete T.rateLimitBy,delete T.rateLimitWait,T}function y(T){var g,S,H;if(g=T.prepare,S=T.replace,H=T.wildcard,g)return g;return S?g=K:T.wildcard?g=o:g=Y,g;function K(J,fe){return fe.url=S(fe.url,J),fe}function o(J,fe){return fe.url=fe.url.replace(H,encodeURIComponent(J)),fe}function Y(J,fe){return fe}}function k(T){var g,S,H;return g=T.limiter,S=T.rateLimitBy,H=T.rateLimitWait,g||(g=/^throttle$/i.test(S)?o(H):K(H)),g;function K(Y){return function(fe){return c.debounce(fe,Y)}}function o(Y){return function(fe){return c.throttle(fe,Y)}}}function b(T){return function(S){var H=C.Deferred();return T(S,K,o),H;function K(Y){c.defer(function(){H.resolve(Y)})}function o(Y){c.defer(function(){H.reject(Y)})}}}})(),_e=(function(){var D;D=window&&window.Bloodhound;function A(y){y=xe(y),this.sorter=y.sorter,this.identify=y.identify,this.sufficient=y.sufficient,this.indexRemote=y.indexRemote,this.local=y.local,this.remote=y.remote?new qe(y.remote):null,this.prefetch=y.prefetch?new we(y.prefetch):null,this.index=new ye({identify:this.identify,datumTokenizer:y.datumTokenizer,queryTokenizer:y.queryTokenizer}),y.initialize!==!1&&this.initialize()}return A.noConflict=function(){return window&&(window.Bloodhound=D),A},A.tokenizers=Z,c.mixin(A.prototype,{__ttAdapter:function(){var k=this;return this.remote?b:T;function b(g,S,H){return k.search(g,S,H)}function T(g,S){return k.search(g,S)}},_loadPrefetch:function(){var k=this,b,T;return b=C.Deferred(),this.prefetch?(T=this.prefetch.fromCache())?(this.index.bootstrap(T),b.resolve()):this.prefetch.fromNetwork(g):b.resolve(),b.promise();function g(S,H){if(S)return b.reject();k.add(H),k.prefetch.store(k.index.serialize()),b.resolve()}},_initialize:function(){var k=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(b),this.initPromise;function b(){k.add(k.local)}},initialize:function(k){return!this.initPromise||k?this._initialize():this.initPromise},add:function(k){return this.index.add(k),this},get:function(k){return k=c.isArray(k)?k:[].slice.call(arguments),this.index.get(k)},search:function(k,b,T){var g=this,S;return b=b||c.noop,T=T||c.noop,S=this.sorter(this.index.search(k)),b(this.remote?S.slice():S),this.remote&&S.length<this.sufficient?this.remote.get(k,H):this.remote&&this.remote.cancelLastRequest(),this;function H(K){var o=[];c.each(K,function(Y){!c.some(S,function(J){return g.identify(Y)===g.identify(J)})&&o.push(Y)}),g.indexRemote&&g.add(o),T(o)}},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return Ee.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),A})();return _e}),(function(C,c){$.exports?$.exports=c(As()):c(C.jQuery)})(Wf,function(C){var c=(function(){return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(D){return!D||/^\s*$/.test(D)},escapeRegExChars:function(D){return D.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(D){return typeof D=="string"},isNumber:function(D){return typeof D=="number"},isArray:C.isArray,isFunction:C.isFunction,isObject:C.isPlainObject,isUndefined:function(D){return typeof D>"u"},isElement:function(D){return!!(D&&D.nodeType===1)},isJQuery:function(D){return D instanceof C},toStr:function(A){return c.isUndefined(A)||A===null?"":A+""},bind:C.proxy,each:function(D,A){C.each(D,y);function y(k,b){return A(b,k)}},map:C.map,filter:C.grep,every:function(D,A){var y=!0;return D?(C.each(D,function(k,b){if(!(y=A.call(null,b,k,D)))return!1}),!!y):y},some:function(D,A){var y=!1;return D?(C.each(D,function(k,b){if(y=A.call(null,b,k,D))return!1}),!!y):y},mixin:C.extend,identity:function(D){return D},clone:function(D){return C.extend(!0,{},D)},getIdGenerator:function(){var D=0;return function(){return D++}},templatify:function(A){return C.isFunction(A)?A:y;function y(){return String(A)}},defer:function(D){setTimeout(D,0)},debounce:function(D,A,y){var k,b;return function(){var T=this,g=arguments,S,H;return S=function(){k=null,y||(b=D.apply(T,g))},H=y&&!k,clearTimeout(k),k=setTimeout(S,A),H&&(b=D.apply(T,g)),b}},throttle:function(D,A){var y,k,b,T,g,S;return g=0,S=function(){g=new Date,b=null,T=D.apply(y,k)},function(){var H=new Date,K=A-(H-g);return y=this,k=arguments,K<=0?(clearTimeout(b),b=null,g=H,T=D.apply(y,k)):b||(b=setTimeout(S,K)),T}},stringify:function(D){return c.isString(D)?D:JSON.stringify(D)},guid:function(){function D(A){var y=(Math.random().toString(16)+"000000000").substr(2,8);return A?"-"+y.substr(0,4)+"-"+y.substr(4,4):y}return"tt-"+D()+D(!0)+D(!0)+D()},noop:function(){}}})(),W=(function(){var D={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return A;function A(T){var g,S;return S=c.mixin({},D,T),g={css:b(),classes:S,html:y(S),selectors:k(S)},{css:g.css,html:g.html,classes:g.classes,selectors:g.selectors,mixin:function(H){c.mixin(H,g)}}}function y(T){return{wrapper:'<span class="'+T.wrapper+'"></span>',menu:'<div role="listbox" class="'+T.menu+'"></div>'}}function k(T){var g={};return c.each(T,function(S,H){g[H]="."+S}),g}function b(){var T={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return c.isMsie()&&c.mixin(T.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),T}})(),Z=(function(){var D,A;D="typeahead:",A={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"};function y(k){(!k||!k.el)&&C.error("EventBus initialized without el"),this.$el=C(k.el)}return c.mixin(y.prototype,{_trigger:function(k,b){var T=C.Event(D+k);return this.$el.trigger.call(this.$el,T,b||[]),T},before:function(k){var b,T;return b=[].slice.call(arguments,1),T=this._trigger("before"+k,b),T.isDefaultPrevented()},trigger:function(k){var b;this._trigger(k,[].slice.call(arguments,1)),(b=A[k])&&this._trigger(b,[].slice.call(arguments,1))}}),y})(),ee=(function(){var D=/\s+/,A=H();return{onSync:b,onAsync:k,off:T,trigger:g};function y(o,Y,J,fe){var Ie;if(!J)return this;for(Y=Y.split(D),J=fe?K(J,fe):J,this._callbacks=this._callbacks||{};Ie=Y.shift();)this._callbacks[Ie]=this._callbacks[Ie]||{sync:[],async:[]},this._callbacks[Ie][o].push(J);return this}function k(o,Y,J){return y.call(this,"async",o,Y,J)}function b(o,Y,J){return y.call(this,"sync",o,Y,J)}function T(o){var Y;if(!this._callbacks)return this;for(o=o.split(D);Y=o.shift();)delete this._callbacks[Y];return this}function g(o){var Y,J,fe,Ie,nt;if(!this._callbacks)return this;for(o=o.split(D),fe=[].slice.call(arguments,1);(Y=o.shift())&&(J=this._callbacks[Y]);)Ie=S(J.sync,this,[Y].concat(fe)),nt=S(J.async,this,[Y].concat(fe)),Ie()&&A(nt);return this}function S(o,Y,J){return fe;function fe(){for(var Ie,nt=0,Ce=o.length;!Ie&&nt<Ce;nt+=1)Ie=o[nt].apply(Y,J)===!1;return!Ie}}function H(){var o;return window.setImmediate?o=function(J){setImmediate(function(){J()})}:o=function(J){setTimeout(function(){J()},0)},o}function K(o,Y){return o.bind?o.bind(Y):function(){o.apply(Y,[].slice.call(arguments,0))}}})(),he=(function(D){var A={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1,diacriticInsensitive:!1},y={A:"[AaªÀ-Åà-åĀ-ąǍǎȀ-ȃȦȧᴬᵃḀḁẚẠ-ảₐ℀℁℻⒜Ⓐⓐ㍱-㍴㎀-㎄㎈㎉㎩-㎯㏂㏊㏟㏿Aa]",B:"[BbᴮᵇḂ-ḇℬ⒝Ⓑⓑ㍴㎅-㎇㏃㏈㏔㏝Bb]",C:"[CcÇçĆ-čᶜ℀ℂ℃℅℆ℭⅭⅽ⒞Ⓒⓒ㍶㎈㎉㎝㎠㎤㏄-㏇Cc]",D:"[DdĎďDŽ-džDZ-dzᴰᵈḊ-ḓⅅⅆⅮⅾ⒟Ⓓⓓ㋏㍲㍷-㍹㎗㎭-㎯㏅㏈Dd]",E:"[EeÈ-Ëè-ëĒ-ěȄ-ȇȨȩᴱᵉḘ-ḛẸ-ẽₑ℡ℯℰⅇ⒠Ⓔⓔ㉐㋍㋎Ee]",F:"[FfᶠḞḟ℉ℱ℻⒡Ⓕⓕ㎊-㎌㎙ff-fflFf]",G:"[GgĜ-ģǦǧǴǵᴳᵍḠḡℊ⒢Ⓖⓖ㋌㋍㎇㎍-㎏㎓㎬㏆㏉㏒㏿Gg]",H:"[HhĤĥȞȟʰᴴḢ-ḫẖℋ-ℎ⒣Ⓗⓗ㋌㍱㎐-㎔㏊㏋㏗Hh]",I:"[IiÌ-Ïì-ïĨ-İIJijǏǐȈ-ȋᴵᵢḬḭỈ-ịⁱℐℑℹⅈⅠ-ⅣⅥ-ⅨⅪⅫⅰ-ⅳⅵ-ⅸⅺⅻ⒤Ⓘⓘ㍺㏌㏕fiffiIi]",J:"[JjIJ-ĵLJ-njǰʲᴶⅉ⒥ⒿⓙⱼJj]",K:"[KkĶķǨǩᴷᵏḰ-ḵK⒦Ⓚⓚ㎄㎅㎉㎏㎑㎘㎞㎢㎦㎪㎸㎾㏀㏆㏍-㏏Kk]",L:"[LlĹ-ŀLJ-ljˡᴸḶḷḺ-ḽℒℓ℡Ⅼⅼ⒧Ⓛⓛ㋏㎈㎉㏐-㏓㏕㏖㏿flfflLl]",M:"[MmᴹᵐḾ-ṃ℠™ℳⅯⅿ⒨Ⓜⓜ㍷-㍹㎃㎆㎎㎒㎖㎙-㎨㎫㎳㎷㎹㎽㎿㏁㏂㏎㏐㏔-㏖㏘㏙㏞㏟Mm]",N:"[NnÑñŃ-ʼnNJ-njǸǹᴺṄ-ṋⁿℕ№⒩Ⓝⓝ㎁㎋㎚㎱㎵㎻㏌㏑Nn]",O:"[OoºÒ-Öò-öŌ-őƠơǑǒǪǫȌ-ȏȮȯᴼᵒỌ-ỏₒ℅№ℴ⒪Ⓞⓞ㍵㏇㏒㏖Oo]",P:"[PpᴾᵖṔ-ṗℙ⒫Ⓟⓟ㉐㍱㍶㎀㎊㎩-㎬㎰㎴㎺㏋㏗-㏚Pp]",Q:"[Qqℚ⒬Ⓠⓠ㏃Qq]",R:"[RrŔ-řȐ-ȓʳᴿᵣṘ-ṛṞṟ₨ℛ-ℝ⒭Ⓡⓡ㋍㍴㎭-㎯㏚㏛Rr]",S:"[SsŚ-šſȘșˢṠ-ṣ₨℁℠⒮Ⓢⓢ㎧㎨㎮-㎳㏛㏜stSs]",T:"[TtŢ-ťȚțᵀᵗṪ-ṱẗ℡™⒯Ⓣⓣ㉐㋏㎔㏏ſtstTt]",U:"[UuÙ-Üù-üŨ-ųƯưǓǔȔ-ȗᵁᵘᵤṲ-ṷỤ-ủ℆⒰Ⓤⓤ㍳㍺Uu]",V:"[VvᵛᵥṼ-ṿⅣ-Ⅷⅳ-ⅷ⒱Ⓥⓥⱽ㋎㍵㎴-㎹㏜㏞Vv]",W:"[WwŴŵʷᵂẀ-ẉẘ⒲Ⓦⓦ㎺-㎿㏝Ww]",X:"[XxˣẊ-ẍₓ℻Ⅸ-Ⅻⅸ-ⅻ⒳Ⓧⓧ㏓Xx]",Y:"[YyÝýÿŶ-ŸȲȳʸẎẏẙỲ-ỹ⒴Ⓨⓨ㏉Yy]",Z:"[ZzŹ-žDZ-dzᶻẐ-ẕℤℨ⒵Ⓩⓩ㎐-㎔Zz]"};return function(g){var S;if(g=c.mixin({},A,g),!g.node||!g.pattern)return;g.pattern=c.isArray(g.pattern)?g.pattern:[g.pattern],S=b(g.pattern,g.caseSensitive,g.wordsOnly,g.diacriticInsensitive),K(g.node,H);function H(o){var Y,J,fe;return(Y=S.exec(o.data))&&(fe=D.createElement(g.tagName),g.className&&(fe.className=g.className),J=o.splitText(Y.index),J.splitText(Y[0].length),fe.appendChild(J.cloneNode(!0)),o.parentNode.replaceChild(fe,J)),!!Y}function K(o,Y){for(var J,fe=3,Ie=0;Ie<o.childNodes.length;Ie++)J=o.childNodes[Ie],J.nodeType===fe?Ie+=Y(J)?1:0:K(J,Y)}};function k(T){return y[T.toUpperCase()]||T}function b(T,g,S,H){for(var K=[],o,Y=0,J=T.length;Y<J;Y++){var fe=c.escapeRegExChars(T[Y]);H&&(fe=fe.replace(/\S/g,k)),K.push(fe)}return o=S?"\\b("+K.join("|")+")\\b":"("+K.join("|")+")",g?new RegExp(o):new RegExp(o,"i")}})(window.document),Ee=(function(){var D;D={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};function A(T,g){T=T||{},T.input||C.error("input is missing"),g.mixin(this),this.$hint=C(T.hint),this.$input=C(T.input),this.$input.attr({"aria-activedescendant":"","aria-owns":this.$input.attr("id")+"_listbox",role:"combobox","aria-readonly":"true","aria-autocomplete":"list"}),C(g.menu).attr("id",this.$input.attr("id")+"_listbox"),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=y(this.$input),this._checkLanguageDirection(),this.$hint.length===0&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=c.noop),this.onSync("cursorchange",this._updateDescendent)}return A.normalizeQuery=function(T){return c.toStr(T).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},c.mixin(A.prototype,ee,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(g){var S=D[g.which||g.keyCode];this._managePreventDefault(S,g),S&&this._shouldTrigger(S,g)&&this.trigger(S+"Keyed",g)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(g,S){var H;switch(g){case"up":case"down":H=!b(S);break;default:H=!1}H&&S.preventDefault()},_shouldTrigger:function(g,S){var H;switch(g){case"tab":H=!b(S);break;default:H=!0}return H},_checkLanguageDirection:function(){var g=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==g&&(this.dir=g,this.$hint.attr("dir",g),this.trigger("langDirChanged",g))},_setQuery:function(g,S){var H,K;H=k(g,this.query),K=H?this.query.length!==g.length:!1,this.query=g,!S&&!H?this.trigger("queryChanged",this.query):!S&&K&&this.trigger("whitespaceChanged",this.query)},_updateDescendent:function(g,S){this.$input.attr("aria-activedescendant",S)},bind:function(){var T=this,g,S,H,K;return g=c.bind(this._onBlur,this),S=c.bind(this._onFocus,this),H=c.bind(this._onKeydown,this),K=c.bind(this._onInput,this),this.$input.on("blur.tt",g).on("focus.tt",S).on("keydown.tt",H),!c.isMsie()||c.isMsie()>9?this.$input.on("input.tt",K):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(o){D[o.which||o.keyCode]||c.defer(c.bind(T._onInput,T,o))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(g,S){this.setInputValue(g),this._setQuery(g,S)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(g){this.$input.val(g),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(g){this.$hint.val(g)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var g,S,H,K;g=this.getInputValue(),S=this.getHint(),H=g!==S&&S.indexOf(g)===0,K=g!==""&&H&&!this.hasOverflow(),!K&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var g=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=g},isCursorAtEnd:function(){var T,g,S;return T=this.$input.val().length,g=this.$input[0].selectionStart,c.isNumber(g)?g===T:document.selection?(S=document.selection.createRange(),S.moveStart("character",-T),T===S.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=C("<div>")}}),A;function y(T){return C('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:T.css("font-family"),fontSize:T.css("font-size"),fontStyle:T.css("font-style"),fontVariant:T.css("font-variant"),fontWeight:T.css("font-weight"),wordSpacing:T.css("word-spacing"),letterSpacing:T.css("letter-spacing"),textIndent:T.css("text-indent"),textRendering:T.css("text-rendering"),textTransform:T.css("text-transform")}).insertAfter(T)}function k(T,g){return A.normalizeQuery(T)===A.normalizeQuery(g)}function b(T){return T.altKey||T.ctrlKey||T.metaKey||T.shiftKey}})(),ye=(function(){var D,A;D={dataset:"tt-selectable-dataset",val:"tt-selectable-display",obj:"tt-selectable-object"},A=c.getIdGenerator();function y(g,S){g=g||{},g.templates=g.templates||{},g.templates.notFound=g.templates.notFound||g.templates.empty,g.source||C.error("missing source"),g.node||C.error("missing node"),g.name&&!T(g.name)&&C.error("invalid dataset name: "+g.name),S.mixin(this),this.highlight=!!g.highlight,this.name=c.toStr(g.name||A()),this.limit=g.limit||5,this.displayFn=k(g.display||g.displayKey),this.templates=b(g.templates,this.displayFn),this.source=g.source.__ttAdapter?g.source.__ttAdapter():g.source,this.async=c.isUndefined(g.async)?this.source.length>2:!!g.async,this._resetLastSuggestion(),this.$el=C(g.node).attr("role","presentation").addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return y.extractData=function(S){var H=C(S);return H.data(D.obj)?{dataset:H.data(D.dataset)||"",val:H.data(D.val)||"",obj:H.data(D.obj)||null}:null},c.mixin(y.prototype,ee,{_overwrite:function(S,H){H=H||[],H.length?this._renderSuggestions(S,H):this.async&&this.templates.pending?this._renderPending(S):!this.async&&this.templates.notFound?this._renderNotFound(S):this._empty(),this.trigger("rendered",H,!1,this.name)},_append:function(S,H){H=H||[],H.length&&this.$lastSuggestion.length?this._appendSuggestions(S,H):H.length?this._renderSuggestions(S,H):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(S),this.trigger("rendered",H,!0,this.name)},_renderSuggestions:function(S,H){var K;K=this._getSuggestionsFragment(S,H),this.$lastSuggestion=K.children().last(),this.$el.html(K).prepend(this._getHeader(S,H)).append(this._getFooter(S,H))},_appendSuggestions:function(S,H){var K,o;K=this._getSuggestionsFragment(S,H),o=K.children().last(),this.$lastSuggestion.after(K),this.$lastSuggestion=o},_renderPending:function(S){var H=this.templates.pending;this._resetLastSuggestion(),H&&this.$el.html(H({query:S,dataset:this.name}))},_renderNotFound:function(S){var H=this.templates.notFound;this._resetLastSuggestion(),H&&this.$el.html(H({query:S,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(S,H){var K=this,o;return o=document.createDocumentFragment(),c.each(H,function(J){var fe,Ie;Ie=K._injectQuery(S,J),fe=C(K.templates.suggestion(Ie)).data(D.dataset,K.name).data(D.obj,J).data(D.val,K.displayFn(J)).addClass(K.classes.suggestion+" "+K.classes.selectable),o.appendChild(fe[0])}),this.highlight&&he({className:this.classes.highlight,node:o,pattern:S}),C(o)},_getFooter:function(S,H){return this.templates.footer?this.templates.footer({query:S,suggestions:H,dataset:this.name}):null},_getHeader:function(S,H){return this.templates.header?this.templates.header({query:S,suggestions:H,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=C()},_injectQuery:function(S,H){return c.isObject(H)?c.mixin({_query:S},H):H},update:function(S){var H=this,K=!1,o=!1,Y=0;this.cancel(),this.cancel=function(){K=!0,H.cancel=C.noop,H.async&&H.trigger("asyncCanceled",S,H.name)},this.source(S,J,fe),!o&&J([]);function J(Ie){o||(o=!0,Ie=(Ie||[]).slice(0,H.limit),Y=Ie.length,H._overwrite(S,Ie),Y<H.limit&&H.async&&H.trigger("asyncRequested",S,H.name))}function fe(Ie){if(Ie=Ie||[],!K&&Y<H.limit){H.cancel=C.noop;var nt=Math.abs(Y-H.limit);Y+=nt,H._append(S,Ie.slice(0,nt)),H.async&&H.trigger("asyncReceived",S,H.name)}}},cancel:C.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=C("<div>")}}),y;function k(g){return g=g||c.stringify,c.isFunction(g)?g:S;function S(H){return H[g]}}function b(g,S){return{notFound:g.notFound&&c.templatify(g.notFound),pending:g.pending&&c.templatify(g.pending),header:g.header&&c.templatify(g.header),footer:g.footer&&c.templatify(g.footer),suggestion:g.suggestion||H};function H(K){return C('<div role="option">').attr("id",c.guid()).text(S(K))}}function T(g){return/^[_a-zA-Z0-9-]+$/.test(g)}})(),we=(function(){function D(A,y){var k=this;A=A||{},A.node||C.error("node is required"),y.mixin(this),this.$node=C(A.node),this.query=null,this.datasets=c.map(A.datasets,b);function b(T){var g=k.$node.find(T.node).first();return T.node=g.length?g:C("<div>").appendTo(k.$node),new ye(T,y)}}return c.mixin(D.prototype,ee,{_onSelectableClick:function(y){this.trigger("selectableClicked",C(y.currentTarget))},_onRendered:function(y,k,b,T){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",k,b,T)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return c.every(this.datasets,c.bind(function(k){var b=k.isEmpty();return this.$node.attr("aria-expanded",!b),b},this))},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var y=this.getActiveSelectable();y&&y.removeClass(this.classes.cursor)},_ensureVisible:function(y){var k,b,T,g;k=y.position().top,b=k+y.outerHeight(!0),T=this.$node.scrollTop(),g=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),k<0?this.$node.scrollTop(T+k):g<b&&this.$node.scrollTop(T+(b-g))},bind:function(){var A=this,y;return y=c.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,y),this.$node.on("mouseover",this.selectors.selectable,function(){A.setCursor(C(this))}),this.$node.on("mouseleave",function(){A._removeCursor()}),c.each(this.datasets,function(k){k.onSync("asyncRequested",A._propagate,A).onSync("asyncCanceled",A._propagate,A).onSync("asyncReceived",A._propagate,A).onSync("rendered",A._onRendered,A).onSync("cleared",A._onCleared,A)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.scrollTop(0),this.$node.addClass(this.classes.open)},close:function(){this.$node.attr("aria-expanded",!1),this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(y){this.$node.attr("dir",y)},selectableRelativeToCursor:function(y){var k,b,T,g;return b=this.getActiveSelectable(),k=this._getSelectables(),T=b?k.index(b):-1,g=T+y,g=(g+1)%(k.length+1)-1,g=g<-1?k.length-1:g,g===-1?null:k.eq(g)},setCursor:function(y){this._removeCursor(),(y=y&&y.first())&&(y.addClass(this.classes.cursor),this._ensureVisible(y))},getSelectableData:function(y){return y&&y.length?ye.extractData(y):null},getActiveSelectable:function(){var y=this._getSelectables().filter(this.selectors.cursor).first();return y.length?y:null},getTopSelectable:function(){var y=this._getSelectables().first();return y.length?y:null},update:function(y){var k=y!==this.query;return k&&(this.query=y,c.each(this.datasets,b)),k;function b(T){T.update(y)}},empty:function(){c.each(this.datasets,y),this.query=null,this.$node.addClass(this.classes.empty);function y(k){k.clear()}},destroy:function(){this.$node.off(".tt"),this.$node=C("<div>"),c.each(this.datasets,y);function y(k){k.destroy()}}}),D})(),qe=(function(){function D(A){this.el='<span role="status" aria-live="polite" class="visuallyhidden"></span>',this.$el=C(this.el),A.$input.after(this.$el),c.each(A.menu.datasets,c.bind(function(y){y.onSync&&(y.onSync("rendered",c.bind(this.update,this)),y.onSync("cleared",c.bind(this.cleared,this)))},this))}return c.mixin(D.prototype,{update:function(y,k){var b=k.length,T;b===1?T={result:"result",is:"is"}:T={result:"results",is:"are"},this.$el.text(b+" "+T.result+" "+T.is+" available, use up and down arrow keys to navigate.")},cleared:function(){this.$el.text("")}}),D})(),xe=(function(){var D=we.prototype;function A(){we.apply(this,[].slice.call(arguments,0))}return c.mixin(A.prototype,we.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),D.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),D.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),D._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),D._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(k){return this.$node.css(k==="ltr"?this.css.ltr:this.css.rtl),D.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),A})(),_e=(function(){function D(y,k){var b,T,g,S,H,K,o,Y,J,fe,Ie;y=y||{},y.input||C.error("missing input"),y.menu||C.error("missing menu"),y.eventBus||C.error("missing event bus"),k.mixin(this),this.eventBus=y.eventBus,this.minLength=c.isNumber(y.minLength)?y.minLength:1,this.input=y.input,this.menu=y.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),b=A(this,"activate","open","_onFocused"),T=A(this,"deactivate","_onBlurred"),g=A(this,"isActive","isOpen","_onEnterKeyed"),S=A(this,"isActive","isOpen","_onTabKeyed"),H=A(this,"isActive","_onEscKeyed"),K=A(this,"isActive","open","_onUpKeyed"),o=A(this,"isActive","open","_onDownKeyed"),Y=A(this,"isActive","isOpen","_onLeftKeyed"),J=A(this,"isActive","isOpen","_onRightKeyed"),fe=A(this,"_openIfActive","_onQueryChanged"),Ie=A(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",b,this).onSync("blurred",T,this).onSync("enterKeyed",g,this).onSync("tabKeyed",S,this).onSync("escKeyed",H,this).onSync("upKeyed",K,this).onSync("downKeyed",o,this).onSync("leftKeyed",Y,this).onSync("rightKeyed",J,this).onSync("queryChanged",fe,this).onSync("whitespaceChanged",Ie,this).onSync("langDirChanged",this._onLangDirChanged,this)}return c.mixin(D.prototype,{_hacks:function(){var k,b;k=this.input.$input||C("<div>"),b=this.menu.$node||C("<div>"),k.on("blur.tt",function(T){var g,S,H;g=document.activeElement,S=b.is(g),H=b.has(g).length>0,c.isMsie()&&(S||H)&&(T.preventDefault(),T.stopImmediatePropagation(),c.defer(function(){k.focus()}))}),b.on("mousedown.tt",function(T){T.preventDefault()})},_onSelectableClicked:function(k,b){this.select(b)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(k,b,T,g){this._updateHint(),this.eventBus.trigger("render",b,T,g)},_onAsyncRequested:function(k,b,T){this.eventBus.trigger("asyncrequest",T,b)},_onAsyncCanceled:function(k,b,T){this.eventBus.trigger("asynccancel",T,b)},_onAsyncReceived:function(k,b,T){this.eventBus.trigger("asyncreceive",T,b)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(k,b){var T;(T=this.menu.getActiveSelectable())&&this.select(T)&&(b.preventDefault(),b.stopPropagation())},_onTabKeyed:function(k,b){var T;(T=this.menu.getActiveSelectable())?this.select(T)&&b.preventDefault():(T=this.menu.getTopSelectable())&&this.autocomplete(T)&&b.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){this.dir==="rtl"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onRightKeyed:function(){this.dir==="ltr"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getActiveSelectable()||this.menu.getTopSelectable())},_onQueryChanged:function(k,b){this._minLengthMet(b)?this.menu.update(b):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(k,b){this.dir!==b&&(this.dir=b,this.menu.setLanguageDirection(b))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(k){return k=c.isString(k)?k:this.input.getQuery()||"",k.length>=this.minLength},_updateHint:function(){var k,b,T,g,S,H,K;k=this.menu.getTopSelectable(),b=this.menu.getSelectableData(k),T=this.input.getInputValue(),b&&!c.isBlankString(T)&&!this.input.hasOverflow()?(g=Ee.normalizeQuery(T),S=c.escapeRegExChars(g),H=new RegExp("^(?:"+S+")(.+$)","i"),K=H.exec(b.val),K&&this.input.setHint(T+K[1])):this.input.clearHint()},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return!this.isOpen()&&!this.eventBus.before("open")&&(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(k){this.input.setQuery(c.toStr(k))},getVal:function(){return this.input.getQuery()},select:function(k){var b=this.menu.getSelectableData(k);return b&&!this.eventBus.before("select",b.obj,b.dataset)?(this.input.setQuery(b.val,!0),this.eventBus.trigger("select",b.obj,b.dataset),this.close(),!0):!1},autocomplete:function(k){var b,T,g;return b=this.input.getQuery(),T=this.menu.getSelectableData(k),g=T&&b!==T.val,g&&!this.eventBus.before("autocomplete",T.obj,T.dataset)?(this.input.setQuery(T.val),this.eventBus.trigger("autocomplete",T.obj,T.dataset),!0):!1},moveCursor:function(k){var b,T,g,S,H,K,o;return b=this.input.getQuery(),T=this.menu.selectableRelativeToCursor(k),g=this.menu.getSelectableData(T),S=g?g.obj:null,H=g?g.dataset:null,o=T?T.attr("id"):null,this.input.trigger("cursorchange",o),K=this._minLengthMet()&&this.menu.update(b),!K&&!this.eventBus.before("cursorchange",S,H)?(this.menu.setCursor(T),g?this.input.setInputValue(g.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",S,H),!0):!1},destroy:function(){this.input.destroy(),this.menu.destroy()}}),D;function A(y){var k=[].slice.call(arguments,1);return function(){var b=[].slice.call(arguments);c.each(k,function(T){return y[T].apply(y,b)})}}})();(function(){var D,A,y;D=C.fn.typeahead,A={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},y={initialize:function(o,Y){var J;return Y=c.isArray(Y)?Y:[].slice.call(arguments,1),o=o||{},J=W(o.classNames),this.each(fe);function fe(){var Ie,nt,Ce,Tt,it,On,m,N,F,ne,re;c.each(Y,function(me){me.highlight=!!o.highlight}),Ie=C(this),nt=C(J.html.wrapper),Ce=H(o.hint),Tt=H(o.menu),it=o.hint!==!1&&!Ce,On=o.menu!==!1&&!Tt,it&&(Ce=b(Ie,J)),On&&(Tt=C(J.html.menu).css(J.css.menu)),Ce&&Ce.val(""),Ie=T(Ie,J),(it||On)&&(nt.css(J.css.wrapper),Ie.css(it?J.css.input:J.css.inputWithNoHint),Ie.wrap(nt).parent().prepend(it?Ce:null).append(On?Tt:null)),re=On?xe:we,m=new Z({el:Ie}),N=new Ee({hint:Ce,input:Ie},J),F=new re({node:Tt,datasets:Y},J),new qe({$input:Ie,menu:F}),ne=new _e({input:N,menu:F,eventBus:m,minLength:o.minLength},J),Ie.data(A.www,J),Ie.data(A.typeahead,ne)}},isEnabled:function(){var o;return k(this.first(),function(Y){o=Y.isEnabled()}),o},enable:function(){return k(this,function(o){o.enable()}),this},disable:function(){return k(this,function(o){o.disable()}),this},isActive:function(){var o;return k(this.first(),function(Y){o=Y.isActive()}),o},activate:function(){return k(this,function(o){o.activate()}),this},deactivate:function(){return k(this,function(o){o.deactivate()}),this},isOpen:function(){var o;return k(this.first(),function(Y){o=Y.isOpen()}),o},open:function(){return k(this,function(o){o.open()}),this},close:function(){return k(this,function(o){o.close()}),this},select:function(o){var Y=!1,J=C(o);return k(this.first(),function(fe){Y=fe.select(J)}),Y},autocomplete:function(o){var Y=!1,J=C(o);return k(this.first(),function(fe){Y=fe.autocomplete(J)}),Y},moveCursor:function(o){var Y=!1;return k(this.first(),function(J){Y=J.moveCursor(o)}),Y},val:function(o){var Y;return arguments.length?(k(this,function(J){J.setVal(c.toStr(o))}),this):(k(this.first(),function(J){Y=J.getVal()}),Y)},destroy:function(){return k(this,function(o,Y){S(Y),o.destroy()}),this}},C.fn.typeahead=function(K){return y[K]?y[K].apply(this,[].slice.call(arguments,1)):y.initialize.apply(this,arguments)},C.fn.typeahead.noConflict=function(){return C.fn.typeahead=D,this};function k(K,o){K.each(function(){var Y=C(this),J;(J=Y.data(A.typeahead))&&o(J,Y)})}function b(K,o){return K.clone().addClass(o.classes.hint).removeData().css(o.css.hint).css(g(K)).prop("readonly",!0).removeAttr("id name placeholder required").attr({spellcheck:"false",tabindex:-1})}function T(K,o){K.data(A.attrs,{dir:K.attr("dir"),autocomplete:K.attr("autocomplete"),spellcheck:K.attr("spellcheck"),style:K.attr("style")}),K.addClass(o.classes.input).attr({spellcheck:!1});try{!K.attr("dir")&&K.attr("dir","auto")}catch{}return K}function g(K){return{backgroundAttachment:K.css("background-attachment"),backgroundClip:K.css("background-clip"),backgroundColor:K.css("background-color"),backgroundImage:K.css("background-image"),backgroundOrigin:K.css("background-origin"),backgroundPosition:K.css("background-position"),backgroundRepeat:K.css("background-repeat"),backgroundSize:K.css("background-size")}}function S(K){var o,Y;o=K.data(A.www),Y=K.parent().filter(o.selectors.wrapper),c.each(K.data(A.attrs),function(J,fe){c.isUndefined(J)?K.removeAttr(fe):K.attr(fe,J)}),K.removeData(A.typeahead).removeData(A.www).removeData(A.attr).removeClass(o.classes.input),Y.length&&(K.detach().insertAfter(Y),Y.remove())}function H(K){var o,Y;return o=c.isJQuery(K)||c.isElement(K),Y=o?C(K).first():[],Y.length?Y:null}})()})})(Es)),Es.exports}var La,Gf;function Vf(){return Gf||(Gf=1,La={Bloodhound:Rv(),loadjQueryPlugin:function(){Nv()}}),La}var zf;function Mv(){if(zf)return wf;zf=1,Dv();var $=As(),C=Vf(),c=Vf().Bloodhound;return C.loadjQueryPlugin(),$(".typeahead").each(function(){var Z=$(this),ee=Z.parent(),he=Z.prop("attributes"),Ee=$("<input/>"),ye=Z.val(),we=Z.find("option").map(function(){if(this.value!=="")return this.value}).get();Z.remove(),$.each(he,function(){Ee.attr(this.name,this.value)}),Ee.removeClass("js-hidden"),Ee.addClass("form-control"),Ee.val(ye),ee.append(Ee),Ee.typeahead({hint:!1},{source:new c({datumTokenizer:c.tokenizers.whitespace,queryTokenizer:c.tokenizers.whitespace,local:we,sorter:function(xe,_e){var D=Ee.val(),A=function(g){return g.toLowerCase().substr(0,D.length)===D.toLowerCase()?-1:1},y=function(g,S){var H=g<S?-1:1;return g===S?0:H},k=function(g,S){var H=A(g),K=A(S);return H===K?0:H},b=k(xe,_e);return b===0?y(xe,_e):b}}),limit:100})}),wf}Mv();