/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */(function(G,Ye){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=G.document?Ye(G,!0):function(he){if(!he.document)throw new Error("jQuery requires a window with a document");return Ye(he)}:Ye(G)})(typeof window<"u"?window:this,function(G,Ye){"use strict";var he=[],I=Object.getPrototypeOf,y=he.slice,w=he.flat?function(e){return he.flat.call(e)}:function(e){return he.concat.apply([],e)},p=he.push,u=he.indexOf,s={},r=s.toString,c=s.hasOwnProperty,d=c.toString,m=d.call(Object),g={},A=function(e){return typeof e=="function"&&typeof e.nodeType!="number"&&typeof e.item!="function"},F=function(e){return e!=null&&e===e.window},j=G.document,Q={type:!0,src:!0,nonce:!0,noModule:!0};function Y(e,t,n){var o,a,l=(n=n||j).createElement("script");if(l.text=e,t)for(o in Q)(a=t[o]||t.getAttribute&&t.getAttribute(o))&&l.setAttribute(o,a);n.head.appendChild(l).parentNode.removeChild(l)}function z(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?s[r.call(e)]||"object":typeof e}var X="3.7.1",me=/HTML$/i,i=function(e,t){return new i.fn.init(e,t)};function Ie(e){var t=!!e&&"length"in e&&e.length,n=z(e);return!A(e)&&!F(e)&&(n==="array"||t===0||typeof t=="number"&&0<t&&t-1 in e)}function ie(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}i.fn=i.prototype={jquery:X,constructor:i,length:0,toArray:function(){return y.call(this)},get:function(e){return e==null?y.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:p,sort:he.sort,splice:he.splice},i.extend=i.fn.extend=function(){var e,t,n,o,a,l,f=arguments[0]||{},E=1,v=arguments.length,x=!1;for(typeof f=="boolean"&&(x=f,f=arguments[E]||{},E++),typeof f=="object"||A(f)||(f={}),E===v&&(f=this,E--);E<v;E++)if((e=arguments[E])!=null)for(t in e)o=e[t],t!=="__proto__"&&f!==o&&(x&&o&&(i.isPlainObject(o)||(a=Array.isArray(o)))?(n=f[t],l=a&&!Array.isArray(n)?[]:a||i.isPlainObject(n)?n:{},a=!1,f[t]=i.extend(x,l,o)):o!==void 0&&(f[t]=o));return f},i.extend({expando:"jQuery"+(X+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||r.call(e)!=="[object Object]")&&(!(t=I(e))||typeof(n=c.call(t,"constructor")&&t.constructor)=="function"&&d.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,o=0;if(Ie(e))for(n=e.length;o<n&&t.call(e[o],o,e[o])!==!1;o++);else for(o in e)if(t.call(e[o],o,e[o])===!1)break;return e},text:function(e){var t,n="",o=0,a=e.nodeType;if(!a)for(;t=e[o++];)n+=i.text(t);return a===1||a===11?e.textContent:a===9?e.documentElement.textContent:a===3||a===4?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return e!=null&&(Ie(Object(e))?i.merge(n,typeof e=="string"?[e]:e):p.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:u.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!me.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,o=0,a=e.length;o<n;o++)e[a++]=t[o];return e.length=a,e},grep:function(e,t,n){for(var o=[],a=0,l=e.length,f=!n;a<l;a++)!t(e[a],a)!==f&&o.push(e[a]);return o},map:function(e,t,n){var o,a,l=0,f=[];if(Ie(e))for(o=e.length;l<o;l++)(a=t(e[l],l,n))!=null&&f.push(a);else for(l in e)(a=t(e[l],l,n))!=null&&f.push(a);return w(f)},guid:1,support:g}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=he[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){s["[object "+t+"]"]=t.toLowerCase()});var ze=he.pop,et=he.sort,Ct=he.splice,T="[\\x20\\t\\r\\n\\f]",Z=new RegExp("^"+T+"+|((?:^|[^\\\\])(?:\\\\.)*)"+T+"+$","g");i.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||n.nodeType!==1||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ye(e,t){return t?e==="\0"?"\uFFFD":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}i.escapeSelector=function(e){return(e+"").replace(ne,ye)};var oe=j,ae=p;(function(){var e,t,n,o,a,l,f,E,v,x,_=ae,k=i.expando,C=0,L=0,R=be(),K=be(),J=be(),we=be(),De=function(h,b){return h===b&&(a=!0),0},Ue="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ke="(?:\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",se="\\["+T+"*("+Ke+")(?:"+T+"*([*^$|!~]?=)"+T+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Ke+"))|)"+T+"*\\]",dt=":("+Ke+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+se+")*)|.*)\\)|)",ce=new RegExp(T+"+","g"),Ee=new RegExp("^"+T+"*,"+T+"*"),$t=new RegExp("^"+T+"*([>+~]|"+T+")"+T+"*"),dn=new RegExp(T+"|>"),Je=new RegExp(dt),qt=new RegExp("^"+Ke+"$"),rt={ID:new RegExp("^#("+Ke+")"),CLASS:new RegExp("^\\.("+Ke+")"),TAG:new RegExp("^("+Ke+"|[*])"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+dt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+Ue+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},it=/^(?:input|select|textarea|button)$/i,xt=/^h\d$/i,Re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_e=/[+~]/,Ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),je=function(h,b){var D="0x"+h.slice(1)-65536;return b||(D<0?String.fromCharCode(D+65536):String.fromCharCode(D>>10|55296,1023&D|56320))},ot=function(){st()},$e=Xt(function(h){return h.disabled===!0&&ie(h,"fieldset")},{dir:"parentNode",next:"legend"});try{_.apply(he=y.call(oe.childNodes),oe.childNodes),he[oe.childNodes.length].nodeType}catch{_={apply:function(b,D){ae.apply(b,y.call(D))},call:function(b){ae.apply(b,y.call(arguments,1))}}}function V(h,b,D,S){var q,P,B,H,M,fe,ee,te=b&&b.ownerDocument,le=b?b.nodeType:9;if(D=D||[],typeof h!="string"||!h||le!==1&&le!==9&&le!==11)return D;if(!S&&(st(b),b=b||l,E)){if(le!==11&&(M=Re.exec(h)))if(q=M[1]){if(le===9){if(!(B=b.getElementById(q)))return D;if(B.id===q)return _.call(D,B),D}else if(te&&(B=te.getElementById(q))&&V.contains(b,B)&&B.id===q)return _.call(D,B),D}else{if(M[2])return _.apply(D,b.getElementsByTagName(h)),D;if((q=M[3])&&b.getElementsByClassName)return _.apply(D,b.getElementsByClassName(q)),D}if(!(we[h+" "]||v&&v.test(h))){if(ee=h,te=b,le===1&&(dn.test(h)||$t.test(h))){for((te=_e.test(h)&&fn(b.parentNode)||b)==b&&g.scope||((H=b.getAttribute("id"))?H=i.escapeSelector(H):b.setAttribute("id",H=k)),P=(fe=Lt(h)).length;P--;)fe[P]=(H?"#"+H:":scope")+" "+Gt(fe[P]);ee=fe.join(",")}try{return _.apply(D,te.querySelectorAll(ee)),D}catch{we(h,!0)}finally{H===k&&b.removeAttribute("id")}}}return Jn(h.replace(Z,"$1"),b,D,S)}function be(){var h=[];return function b(D,S){return h.push(D+" ")>t.cacheLength&&delete b[h.shift()],b[D+" "]=S}}function xe(h){return h[k]=!0,h}function ge(h){var b=l.createElement("fieldset");try{return!!h(b)}catch{return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function Qe(h){return function(b){return ie(b,"input")&&b.type===h}}function At(h){return function(b){return(ie(b,"input")||ie(b,"button"))&&b.type===h}}function Wt(h){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===h:b.disabled===h:b.isDisabled===h||b.isDisabled!==!h&&$e(b)===h:b.disabled===h:"label"in b&&b.disabled===h}}function ft(h){return xe(function(b){return b=+b,xe(function(D,S){for(var q,P=h([],D.length,b),B=P.length;B--;)D[q=P[B]]&&(D[q]=!(S[q]=D[q]))})})}function fn(h){return h&&typeof h.getElementsByTagName<"u"&&h}function st(h){var b,D=h?h.ownerDocument||h:oe;return D!=l&&D.nodeType===9&&D.documentElement&&(f=(l=D).documentElement,E=!i.isXMLDoc(l),x=f.matches||f.webkitMatchesSelector||f.msMatchesSelector,f.msMatchesSelector&&oe!=l&&(b=l.defaultView)&&b.top!==b&&b.addEventListener("unload",ot),g.getById=ge(function(S){return f.appendChild(S).id=i.expando,!l.getElementsByName||!l.getElementsByName(i.expando).length}),g.disconnectedMatch=ge(function(S){return x.call(S,"*")}),g.scope=ge(function(){return l.querySelectorAll(":scope")}),g.cssHas=ge(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),g.getById?(t.filter.ID=function(S){var q=S.replace(Ae,je);return function(P){return P.getAttribute("id")===q}},t.find.ID=function(S,q){if(typeof q.getElementById<"u"&&E){var P=q.getElementById(S);return P?[P]:[]}}):(t.filter.ID=function(S){var q=S.replace(Ae,je);return function(P){var B=typeof P.getAttributeNode<"u"&&P.getAttributeNode("id");return B&&B.value===q}},t.find.ID=function(S,q){if(typeof q.getElementById<"u"&&E){var P,B,H,M=q.getElementById(S);if(M){if((P=M.getAttributeNode("id"))&&P.value===S)return[M];for(H=q.getElementsByName(S),B=0;M=H[B++];)if((P=M.getAttributeNode("id"))&&P.value===S)return[M]}return[]}}),t.find.TAG=function(S,q){return typeof q.getElementsByTagName<"u"?q.getElementsByTagName(S):q.querySelectorAll(S)},t.find.CLASS=function(S,q){if(typeof q.getElementsByClassName<"u"&&E)return q.getElementsByClassName(S)},v=[],ge(function(S){var q;f.appendChild(S).innerHTML="<a id='"+k+"' href='' disabled='disabled'></a><select id='"+k+"-\r\\' disabled='disabled'><option selected=''></option></select>",S.querySelectorAll("[selected]").length||v.push("\\["+T+"*(?:value|"+Ue+")"),S.querySelectorAll("[id~="+k+"-]").length||v.push("~="),S.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]"),S.querySelectorAll(":checked").length||v.push(":checked"),(q=l.createElement("input")).setAttribute("type","hidden"),S.appendChild(q).setAttribute("name","D"),f.appendChild(S).disabled=!0,S.querySelectorAll(":disabled").length!==2&&v.push(":enabled",":disabled"),(q=l.createElement("input")).setAttribute("name",""),S.appendChild(q),S.querySelectorAll("[name='']").length||v.push("\\["+T+"*name"+T+"*="+T+`*(?:''|"")`)}),g.cssHas||v.push(":has"),v=v.length&&new RegExp(v.join("|")),De=function(S,q){if(S===q)return a=!0,0;var P=!S.compareDocumentPosition-!q.compareDocumentPosition;return P||(1&(P=(S.ownerDocument||S)==(q.ownerDocument||q)?S.compareDocumentPosition(q):1)||!g.sortDetached&&q.compareDocumentPosition(S)===P?S===l||S.ownerDocument==oe&&V.contains(oe,S)?-1:q===l||q.ownerDocument==oe&&V.contains(oe,q)?1:o?u.call(o,S)-u.call(o,q):0:4&P?-1:1)}),l}for(e in V.matches=function(h,b){return V(h,null,null,b)},V.matchesSelector=function(h,b){if(st(h),E&&!we[b+" "]&&(!v||!v.test(b)))try{var D=x.call(h,b);if(D||g.disconnectedMatch||h.document&&h.document.nodeType!==11)return D}catch{we(b,!0)}return 0<V(b,l,null,[h]).length},V.contains=function(h,b){return(h.ownerDocument||h)!=l&&st(h),i.contains(h,b)},V.attr=function(h,b){(h.ownerDocument||h)!=l&&st(h);var D=t.attrHandle[b.toLowerCase()],S=D&&c.call(t.attrHandle,b.toLowerCase())?D(h,b,!E):void 0;return S!==void 0?S:h.getAttribute(b)},V.error=function(h){throw new Error("Syntax error, unrecognized expression: "+h)},i.uniqueSort=function(h){var b,D=[],S=0,q=0;if(a=!g.sortStable,o=!g.sortStable&&y.call(h,0),et.call(h,De),a){for(;b=h[q++];)b===h[q]&&(S=D.push(q));for(;S--;)Ct.call(h,D[S],1)}return o=null,h},i.fn.uniqueSort=function(){return this.pushStack(i.uniqueSort(y.apply(this)))},(t=i.expr={cacheLength:50,createPseudo:xe,match:rt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(h){return h[1]=h[1].replace(Ae,je),h[3]=(h[3]||h[4]||h[5]||"").replace(Ae,je),h[2]==="~="&&(h[3]=" "+h[3]+" "),h.slice(0,4)},CHILD:function(h){return h[1]=h[1].toLowerCase(),h[1].slice(0,3)==="nth"?(h[3]||V.error(h[0]),h[4]=+(h[4]?h[5]+(h[6]||1):2*(h[3]==="even"||h[3]==="odd")),h[5]=+(h[7]+h[8]||h[3]==="odd")):h[3]&&V.error(h[0]),h},PSEUDO:function(h){var b,D=!h[6]&&h[2];return rt.CHILD.test(h[0])?null:(h[3]?h[2]=h[4]||h[5]||"":D&&Je.test(D)&&(b=Lt(D,!0))&&(b=D.indexOf(")",D.length-b)-D.length)&&(h[0]=h[0].slice(0,b),h[2]=D.slice(0,b)),h.slice(0,3))}},filter:{TAG:function(h){var b=h.replace(Ae,je).toLowerCase();return h==="*"?function(){return!0}:function(D){return ie(D,b)}},CLASS:function(h){var b=R[h+" "];return b||(b=new RegExp("(^|"+T+")"+h+"("+T+"|$)"))&&R(h,function(D){return b.test(typeof D.className=="string"&&D.className||typeof D.getAttribute<"u"&&D.getAttribute("class")||"")})},ATTR:function(h,b,D){return function(S){var q=V.attr(S,h);return q==null?b==="!=":!b||(q+="",b==="="?q===D:b==="!="?q!==D:b==="^="?D&&q.indexOf(D)===0:b==="*="?D&&-1<q.indexOf(D):b==="$="?D&&q.slice(-D.length)===D:b==="~="?-1<(" "+q.replace(ce," ")+" ").indexOf(D):b==="|="&&(q===D||q.slice(0,D.length+1)===D+"-"))}},CHILD:function(h,b,D,S,q){var P=h.slice(0,3)!=="nth",B=h.slice(-4)!=="last",H=b==="of-type";return S===1&&q===0?function(M){return!!M.parentNode}:function(M,fe,ee){var te,le,U,Ce,ke,Te=P!==B?"nextSibling":"previousSibling",Me=M.parentNode,Be=H&&M.nodeName.toLowerCase(),Xe=!ee&&!H,ve=!1;if(Me){if(P){for(;Te;){for(U=M;U=U[Te];)if(H?ie(U,Be):U.nodeType===1)return!1;ke=Te=h==="only"&&!ke&&"nextSibling"}return!0}if(ke=[B?Me.firstChild:Me.lastChild],B&&Xe){for(ve=(Ce=(te=(le=Me[k]||(Me[k]={}))[h]||[])[0]===C&&te[1])&&te[2],U=Ce&&Me.childNodes[Ce];U=++Ce&&U&&U[Te]||(ve=Ce=0)||ke.pop();)if(U.nodeType===1&&++ve&&U===M){le[h]=[C,Ce,ve];break}}else if(Xe&&(ve=Ce=(te=(le=M[k]||(M[k]={}))[h]||[])[0]===C&&te[1]),ve===!1)for(;(U=++Ce&&U&&U[Te]||(ve=Ce=0)||ke.pop())&&!((H?ie(U,Be):U.nodeType===1)&&++ve&&(Xe&&((le=U[k]||(U[k]={}))[h]=[C,ve]),U===M)););return(ve-=q)===S||ve%S==0&&0<=ve/S}}},PSEUDO:function(h,b){var D,S=t.pseudos[h]||t.setFilters[h.toLowerCase()]||V.error("unsupported pseudo: "+h);return S[k]?S(b):1<S.length?(D=[h,h,"",b],t.setFilters.hasOwnProperty(h.toLowerCase())?xe(function(q,P){for(var B,H=S(q,b),M=H.length;M--;)q[B=u.call(q,H[M])]=!(P[B]=H[M])}):function(q){return S(q,0,D)}):S}},pseudos:{not:xe(function(h){var b=[],D=[],S=vn(h.replace(Z,"$1"));return S[k]?xe(function(q,P,B,H){for(var M,fe=S(q,null,H,[]),ee=q.length;ee--;)(M=fe[ee])&&(q[ee]=!(P[ee]=M))}):function(q,P,B){return b[0]=q,S(b,null,B,D),b[0]=null,!D.pop()}}),has:xe(function(h){return function(b){return 0<V(h,b).length}}),contains:xe(function(h){return h=h.replace(Ae,je),function(b){return-1<(b.textContent||i.text(b)).indexOf(h)}}),lang:xe(function(h){return qt.test(h||"")||V.error("unsupported lang: "+h),h=h.replace(Ae,je).toLowerCase(),function(b){var D;do if(D=E?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return(D=D.toLowerCase())===h||D.indexOf(h+"-")===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(h){var b=G.location&&G.location.hash;return b&&b.slice(1)===h.id},root:function(h){return h===f},focus:function(h){return h===function(){try{return l.activeElement}catch{}}()&&l.hasFocus()&&!!(h.type||h.href||~h.tabIndex)},enabled:Wt(!1),disabled:Wt(!0),checked:function(h){return ie(h,"input")&&!!h.checked||ie(h,"option")&&!!h.selected},selected:function(h){return h.parentNode&&h.parentNode.selectedIndex,h.selected===!0},empty:function(h){for(h=h.firstChild;h;h=h.nextSibling)if(h.nodeType<6)return!1;return!0},parent:function(h){return!t.pseudos.empty(h)},header:function(h){return xt.test(h.nodeName)},input:function(h){return it.test(h.nodeName)},button:function(h){return ie(h,"input")&&h.type==="button"||ie(h,"button")},text:function(h){var b;return ie(h,"input")&&h.type==="text"&&((b=h.getAttribute("type"))==null||b.toLowerCase()==="text")},first:ft(function(){return[0]}),last:ft(function(h,b){return[b-1]}),eq:ft(function(h,b,D){return[D<0?D+b:D]}),even:ft(function(h,b){for(var D=0;D<b;D+=2)h.push(D);return h}),odd:ft(function(h,b){for(var D=1;D<b;D+=2)h.push(D);return h}),lt:ft(function(h,b,D){var S;for(S=D<0?D+b:b<D?b:D;0<=--S;)h.push(S);return h}),gt:ft(function(h,b,D){for(var S=D<0?D+b:D;++S<b;)h.push(S);return h})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=Qe(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=At(e);function Kn(){}function Lt(h,b){var D,S,q,P,B,H,M,fe=K[h+" "];if(fe)return b?0:fe.slice(0);for(B=h,H=[],M=t.preFilter;B;){for(P in D&&!(S=Ee.exec(B))||(S&&(B=B.slice(S[0].length)||B),H.push(q=[])),D=!1,(S=$t.exec(B))&&(D=S.shift(),q.push({value:D,type:S[0].replace(Z," ")}),B=B.slice(D.length)),t.filter)!(S=rt[P].exec(B))||M[P]&&!(S=M[P](S))||(D=S.shift(),q.push({value:D,type:P,matches:S}),B=B.slice(D.length));if(!D)break}return b?B.length:B?V.error(h):K(h,H).slice(0)}function Gt(h){for(var b=0,D=h.length,S="";b<D;b++)S+=h[b].value;return S}function Xt(h,b,D){var S=b.dir,q=b.next,P=q||S,B=D&&P==="parentNode",H=L++;return b.first?function(M,fe,ee){for(;M=M[S];)if(M.nodeType===1||B)return h(M,fe,ee);return!1}:function(M,fe,ee){var te,le,U=[C,H];if(ee){for(;M=M[S];)if((M.nodeType===1||B)&&h(M,fe,ee))return!0}else for(;M=M[S];)if(M.nodeType===1||B)if(le=M[k]||(M[k]={}),q&&ie(M,q))M=M[S]||M;else{if((te=le[P])&&te[0]===C&&te[1]===H)return U[2]=te[2];if((le[P]=U)[2]=h(M,fe,ee))return!0}return!1}}function pn(h){return 1<h.length?function(b,D,S){for(var q=h.length;q--;)if(!h[q](b,D,S))return!1;return!0}:h[0]}function Vt(h,b,D,S,q){for(var P,B=[],H=0,M=h.length,fe=b!=null;H<M;H++)(P=h[H])&&(D&&!D(P,S,q)||(B.push(P),fe&&b.push(H)));return B}function hn(h,b,D,S,q,P){return S&&!S[k]&&(S=hn(S)),q&&!q[k]&&(q=hn(q,P)),xe(function(B,H,M,fe){var ee,te,le,U,Ce=[],ke=[],Te=H.length,Me=B||function(Xe,ve,pt){for(var Ve=0,Yt=ve.length;Ve<Yt;Ve++)V(Xe,ve[Ve],pt);return pt}(b||"*",M.nodeType?[M]:M,[]),Be=!h||!B&&b?Me:Vt(Me,Ce,h,M,fe);if(D?D(Be,U=q||(B?h:Te||S)?[]:H,M,fe):U=Be,S)for(ee=Vt(U,ke),S(ee,[],M,fe),te=ee.length;te--;)(le=ee[te])&&(U[ke[te]]=!(Be[ke[te]]=le));if(B){if(q||h){if(q){for(ee=[],te=U.length;te--;)(le=U[te])&&ee.push(Be[te]=le);q(null,U=[],ee,fe)}for(te=U.length;te--;)(le=U[te])&&-1<(ee=q?u.call(B,le):Ce[te])&&(B[ee]=!(H[ee]=le))}}else U=Vt(U===H?U.splice(Te,U.length):U),q?q(null,H,U,fe):_.apply(H,U)})}function gn(h){for(var b,D,S,q=h.length,P=t.relative[h[0].type],B=P||t.relative[" "],H=P?1:0,M=Xt(function(te){return te===b},B,!0),fe=Xt(function(te){return-1<u.call(b,te)},B,!0),ee=[function(te,le,U){var Ce=!P&&(U||le!=n)||((b=le).nodeType?M(te,le,U):fe(te,le,U));return b=null,Ce}];H<q;H++)if(D=t.relative[h[H].type])ee=[Xt(pn(ee),D)];else{if((D=t.filter[h[H].type].apply(null,h[H].matches))[k]){for(S=++H;S<q&&!t.relative[h[S].type];S++);return hn(1<H&&pn(ee),1<H&&Gt(h.slice(0,H-1).concat({value:h[H-2].type===" "?"*":""})).replace(Z,"$1"),D,H<S&&gn(h.slice(H,S)),S<q&&gn(h=h.slice(S)),S<q&&Gt(h))}ee.push(D)}return pn(ee)}function vn(h,b){var D,S,q,P,B,H,M=[],fe=[],ee=J[h+" "];if(!ee){for(b||(b=Lt(h)),D=b.length;D--;)(ee=gn(b[D]))[k]?M.push(ee):fe.push(ee);(ee=J(h,(S=fe,P=0<(q=M).length,B=0<S.length,H=function(te,le,U,Ce,ke){var Te,Me,Be,Xe=0,ve="0",pt=te&&[],Ve=[],Yt=n,Qn=te||B&&t.find.TAG("*",ke),er=C+=Yt==null?1:Math.random()||.1,Lr=Qn.length;for(ke&&(n=le==l||le||ke);ve!==Lr&&(Te=Qn[ve])!=null;ve++){if(B&&Te){for(Me=0,le||Te.ownerDocument==l||(st(Te),U=!E);Be=S[Me++];)if(Be(Te,le||l,U)){_.call(Ce,Te);break}ke&&(C=er)}P&&((Te=!Be&&Te)&&Xe--,te&&pt.push(Te))}if(Xe+=ve,P&&ve!==Xe){for(Me=0;Be=q[Me++];)Be(pt,Ve,le,U);if(te){if(0<Xe)for(;ve--;)pt[ve]||Ve[ve]||(Ve[ve]=ze.call(Ce));Ve=Vt(Ve)}_.apply(Ce,Ve),ke&&!te&&0<Ve.length&&1<Xe+q.length&&i.uniqueSort(Ce)}return ke&&(C=er,n=Yt),pt},P?xe(H):H))).selector=h}return ee}function Jn(h,b,D,S){var q,P,B,H,M,fe=typeof h=="function"&&h,ee=!S&&Lt(h=fe.selector||h);if(D=D||[],ee.length===1){if(2<(P=ee[0]=ee[0].slice(0)).length&&(B=P[0]).type==="ID"&&b.nodeType===9&&E&&t.relative[P[1].type]){if(!(b=(t.find.ID(B.matches[0].replace(Ae,je),b)||[])[0]))return D;fe&&(b=b.parentNode),h=h.slice(P.shift().value.length)}for(q=rt.needsContext.test(h)?0:P.length;q--&&(B=P[q],!t.relative[H=B.type]);)if((M=t.find[H])&&(S=M(B.matches[0].replace(Ae,je),_e.test(P[0].type)&&fn(b.parentNode)||b))){if(P.splice(q,1),!(h=S.length&&Gt(P)))return _.apply(D,S),D;break}}return(fe||vn(h,ee))(S,b,!E,D,!b||_e.test(h)&&fn(b.parentNode)||b),D}Kn.prototype=t.filters=t.pseudos,t.setFilters=new Kn,g.sortStable=k.split("").sort(De).join("")===k,st(),g.sortDetached=ge(function(h){return 1&h.compareDocumentPosition(l.createElement("fieldset"))}),i.find=V,i.expr[":"]=i.expr.pseudos,i.unique=i.uniqueSort,V.compile=vn,V.select=Jn,V.setDocument=st,V.tokenize=Lt,V.escape=i.escapeSelector,V.getText=i.text,V.isXML=i.isXMLDoc,V.selectors=i.expr,V.support=i.support,V.uniqueSort=i.uniqueSort})();var Se=function(e,t,n){for(var o=[],a=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(a&&i(e).is(n))break;o.push(e)}return o},O=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},re=i.expr.match.needsContext,ue=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return A(t)?i.grep(e,function(o,a){return!!t.call(o,a,o)!==n}):t.nodeType?i.grep(e,function(o){return o===t!==n}):typeof t!="string"?i.grep(e,function(o){return-1<u.call(t,o)!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),t.length===1&&o.nodeType===1?i.find.matchesSelector(o,e)?[o]:[]:i.find.matches(e,i.grep(t,function(a){return a.nodeType===1}))},i.fn.extend({find:function(e){var t,n,o=this.length,a=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t<o;t++)if(i.contains(a[t],this))return!0}));for(n=this.pushStack([]),t=0;t<o;t++)i.find(e,a[t],n);return 1<o?i.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,typeof e=="string"&&re.test(e)?i(e):e||[],!1).length}});var de,pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(e,t,n){var o,a;if(!e)return this;if(n=n||de,typeof e=="string"){if(!(o=e[0]==="<"&&e[e.length-1]===">"&&3<=e.length?[null,e,null]:pe.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:j,!0)),ue.test(o[1])&&i.isPlainObject(t))for(o in t)A(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(a=j.getElementById(o[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):A(e)?n.ready!==void 0?n.ready(e):e(i):i.makeArray(e,this)}).prototype=i.fn,de=i(j);var Pe=/^(?:parents|prev(?:Until|All))/,Oe={children:!0,contents:!0,next:!0,prev:!0};function He(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var o=0;o<n;o++)if(i.contains(this,t[o]))return!0})},closest:function(e,t){var n,o=0,a=this.length,l=[],f=typeof e!="string"&&i(e);if(!re.test(e)){for(;o<a;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(f?-1<f.index(n):n.nodeType===1&&i.find.matchesSelector(n,e))){l.push(n);break}}return this.pushStack(1<l.length?i.uniqueSort(l):l)},index:function(e){return e?typeof e=="string"?u.call(i(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return He(e,"nextSibling")},prev:function(e){return He(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return e.contentDocument!=null&&I(e.contentDocument)?e.contentDocument:(ie(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,o){var a=i.map(this,t,n);return e.slice(-5)!=="Until"&&(o=n),o&&typeof o=="string"&&(a=i.filter(o,a)),1<this.length&&(Oe[e]||i.uniqueSort(a),Pe.test(e)&&a.reverse()),this.pushStack(a)}});var Fe=/[^\x20\t\r\n\f]+/g;function ht(e){return e}function Mt(e){throw e}function mn(e,t,n,o){var a;try{e&&A(a=e.promise)?a.call(e).done(t).fail(n):e&&A(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(l){n.apply(void 0,[l])}}i.Callbacks=function(e){var t,n;e=typeof e=="string"?(t=e,n={},i.each(t.match(Fe)||[],function(C,L){n[L]=!0}),n):i.extend({},e);var o,a,l,f,E=[],v=[],x=-1,_=function(){for(f=f||e.once,l=o=!0;v.length;x=-1)for(a=v.shift();++x<E.length;)E[x].apply(a[0],a[1])===!1&&e.stopOnFalse&&(x=E.length,a=!1);e.memory||(a=!1),o=!1,f&&(E=a?[]:"")},k={add:function(){return E&&(a&&!o&&(x=E.length-1,v.push(a)),function C(L){i.each(L,function(R,K){A(K)?e.unique&&k.has(K)||E.push(K):K&&K.length&&z(K)!=="string"&&C(K)})}(arguments),a&&!o&&_()),this},remove:function(){return i.each(arguments,function(C,L){for(var R;-1<(R=i.inArray(L,E,R));)E.splice(R,1),R<=x&&x--}),this},has:function(C){return C?-1<i.inArray(C,E):0<E.length},empty:function(){return E&&(E=[]),this},disable:function(){return f=v=[],E=a="",this},disabled:function(){return!E},lock:function(){return f=v=[],a||o||(E=a=""),this},locked:function(){return!!f},fireWith:function(C,L){return f||(L=[C,(L=L||[]).slice?L.slice():L],v.push(L),o||_()),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!l}};return k},i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(l){return o.then(null,l)},pipe:function(){var l=arguments;return i.Deferred(function(f){i.each(t,function(E,v){var x=A(l[v[4]])&&l[v[4]];a[v[1]](function(){var _=x&&x.apply(this,arguments);_&&A(_.promise)?_.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[v[0]+"With"](this,x?[_]:arguments)})}),l=null}).promise()},then:function(l,f,E){var v=0;function x(_,k,C,L){return function(){var R=this,K=arguments,J=function(){var De,Ue;if(!(_<v)){if((De=C.apply(R,K))===k.promise())throw new TypeError("Thenable self-resolution");Ue=De&&(typeof De=="object"||typeof De=="function")&&De.then,A(Ue)?L?Ue.call(De,x(v,k,ht,L),x(v,k,Mt,L)):(v++,Ue.call(De,x(v,k,ht,L),x(v,k,Mt,L),x(v,k,ht,k.notifyWith))):(C!==ht&&(R=void 0,K=[De]),(L||k.resolveWith)(R,K))}},we=L?J:function(){try{J()}catch(De){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(De,we.error),v<=_+1&&(C!==Mt&&(R=void 0,K=[De]),k.rejectWith(R,K))}};_?we():(i.Deferred.getErrorHook?we.error=i.Deferred.getErrorHook():i.Deferred.getStackHook&&(we.error=i.Deferred.getStackHook()),G.setTimeout(we))}}return i.Deferred(function(_){t[0][3].add(x(0,_,A(E)?E:ht,_.notifyWith)),t[1][3].add(x(0,_,A(l)?l:ht)),t[2][3].add(x(0,_,A(f)?f:Mt))}).promise()},promise:function(l){return l!=null?i.extend(l,o):o}},a={};return i.each(t,function(l,f){var E=f[2],v=f[5];o[f[1]]=E.add,v&&E.add(function(){n=v},t[3-l][2].disable,t[3-l][3].disable,t[0][2].lock,t[0][3].lock),E.add(f[3].fire),a[f[0]]=function(){return a[f[0]+"With"](this===a?void 0:this,arguments),this},a[f[0]+"With"]=E.fireWith}),o.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,o=Array(n),a=y.call(arguments),l=i.Deferred(),f=function(E){return function(v){o[E]=this,a[E]=1<arguments.length?y.call(arguments):v,--t||l.resolveWith(o,a)}};if(t<=1&&(mn(e,l.done(f(n)).resolve,l.reject,!t),l.state()==="pending"||A(a[n]&&a[n].then)))return l.then();for(;n--;)mn(a[n],f(n),l.reject);return l.promise()}});var tr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){G.console&&G.console.warn&&e&&tr.test(e.name)&&G.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){G.setTimeout(function(){throw e})};var Zt=i.Deferred();function Pt(){j.removeEventListener("DOMContentLoaded",Pt),G.removeEventListener("load",Pt),i.ready()}i.fn.ready=function(e){return Zt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0)!==e&&0<--i.readyWait||Zt.resolveWith(j,[i])}}),i.ready.then=Zt.then,j.readyState==="complete"||j.readyState!=="loading"&&!j.documentElement.doScroll?G.setTimeout(i.ready):(j.addEventListener("DOMContentLoaded",Pt),G.addEventListener("load",Pt));var tt=function(e,t,n,o,a,l,f){var E=0,v=e.length,x=n==null;if(z(n)==="object")for(E in a=!0,n)tt(e,t,E,n[E],!0,l,f);else if(o!==void 0&&(a=!0,A(o)||(f=!0),x&&(f?(t.call(e,o),t=null):(x=t,t=function(_,k,C){return x.call(i(_),C)})),t))for(;E<v;E++)t(e[E],n,f?o:o.call(e[E],E,t(e[E],n)));return a?e:x?t.call(e):v?t(e[0],n):l},nr=/^-ms-/,rr=/-([a-z])/g;function ir(e,t){return t.toUpperCase()}function Ze(e){return e.replace(nr,"ms-").replace(rr,ir)}var Dt=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function _t(){this.expando=i.expando+_t.uid++}_t.uid=1,_t.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Dt(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,a=this.cache(e);if(typeof t=="string")a[Ze(t)]=n;else for(o in t)a[Ze(o)]=t[o];return a},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][Ze(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,o=e[this.expando];if(o!==void 0){if(t!==void 0)for(n=(t=Array.isArray(t)?t.map(Ze):(t=Ze(t))in o?[t]:t.match(Fe)||[]).length;n--;)delete o[t[n]];(t===void 0||i.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!i.isEmptyObject(t)}};var W=new _t,qe=new _t,or=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,sr=/[A-Z]/g;function yn(e,t,n){var o,a;if(n===void 0&&e.nodeType===1)if(o="data-"+t.replace(sr,"-$&").toLowerCase(),typeof(n=e.getAttribute(o))=="string"){try{n=(a=n)==="true"||a!=="false"&&(a==="null"?null:a===+a+""?+a:or.test(a)?JSON.parse(a):a)}catch{}qe.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return qe.hasData(e)||W.hasData(e)},data:function(e,t,n){return qe.access(e,t,n)},removeData:function(e,t){qe.remove(e,t)},_data:function(e,t,n){return W.access(e,t,n)},_removeData:function(e,t){W.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,o,a,l=this[0],f=l&&l.attributes;if(e===void 0){if(this.length&&(a=qe.get(l),l.nodeType===1&&!W.get(l,"hasDataAttrs"))){for(n=f.length;n--;)f[n]&&(o=f[n].name).indexOf("data-")===0&&(o=Ze(o.slice(5)),yn(l,o,a[o]));W.set(l,"hasDataAttrs",!0)}return a}return typeof e=="object"?this.each(function(){qe.set(this,e)}):tt(this,function(E){var v;if(l&&E===void 0)return(v=qe.get(l,e))!==void 0||(v=yn(l,e))!==void 0?v:void 0;this.each(function(){qe.set(this,e,E)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){qe.remove(this,e)})}}),i.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=W.get(e,t),n&&(!o||Array.isArray(n)?o=W.access(e,t,i.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),o=n.length,a=n.shift(),l=i._queueHooks(e,t);a==="inprogress"&&(a=n.shift(),o--),a&&(t==="fx"&&n.unshift("inprogress"),delete l.stop,a.call(e,function(){i.dequeue(e,t)},l)),!o&&l&&l.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return W.get(e,n)||W.access(e,n,{empty:i.Callbacks("once memory").add(function(){W.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===void 0?this:this.each(function(){var o=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&o[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,a=i.Deferred(),l=this,f=this.length,E=function(){--o||a.resolveWith(l,[l])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";f--;)(n=W.get(l[f],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(E));return E(),a.promise(t)}});var En=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Tt=new RegExp("^(?:([+-])=|)("+En+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],at=j.documentElement,gt=function(e){return i.contains(e.ownerDocument,e)},ar={composed:!0};at.getRootNode&&(gt=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(ar)===e.ownerDocument});var Bt=function(e,t){return(e=t||e).style.display==="none"||e.style.display===""&&gt(e)&&i.css(e,"display")==="none"};function wn(e,t,n,o){var a,l,f=20,E=o?function(){return o.cur()}:function(){return i.css(e,t,"")},v=E(),x=n&&n[3]||(i.cssNumber[t]?"":"px"),_=e.nodeType&&(i.cssNumber[t]||x!=="px"&&+v)&&Tt.exec(i.css(e,t));if(_&&_[3]!==x){for(v/=2,x=x||_[3],_=+v||1;f--;)i.style(e,t,_+x),(1-l)*(1-(l=E()/v||.5))<=0&&(f=0),_/=l;_*=2,i.style(e,t,_+x),n=n||[]}return n&&(_=+_||+v||0,a=n[1]?_+(n[1]+1)*n[2]:+n[2],o&&(o.unit=x,o.start=_,o.end=a)),a}var bn={};function vt(e,t){for(var n,o,a,l,f,E,v,x=[],_=0,k=e.length;_<k;_++)(o=e[_]).style&&(n=o.style.display,t?(n==="none"&&(x[_]=W.get(o,"display")||null,x[_]||(o.style.display="")),o.style.display===""&&Bt(o)&&(x[_]=(v=f=l=void 0,f=(a=o).ownerDocument,E=a.nodeName,(v=bn[E])||(l=f.body.appendChild(f.createElement(E)),v=i.css(l,"display"),l.parentNode.removeChild(l),v==="none"&&(v="block"),bn[E]=v)))):n!=="none"&&(x[_]="none",W.set(o,"display",n)));for(_=0;_<k;_++)x[_]!=null&&(e[_].style.display=x[_]);return e}i.fn.extend({show:function(){return vt(this,!0)},hide:function(){return vt(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Bt(this)?i(this).show():i(this).hide()})}});var ut,It,St=/^(?:checkbox|radio)$/i,xn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,An=/^$|^module$|\/(?:java|ecma)script/i;ut=j.createDocumentFragment().appendChild(j.createElement("div")),(It=j.createElement("input")).setAttribute("type","radio"),It.setAttribute("checked","checked"),It.setAttribute("name","t"),ut.appendChild(It),g.checkClone=ut.cloneNode(!0).cloneNode(!0).lastChild.checked,ut.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ut.cloneNode(!0).lastChild.defaultValue,ut.innerHTML="<option></option>",g.option=!!ut.lastChild;var Ne={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,"",""]};function Le(e,t){var n;return n=typeof e.getElementsByTagName<"u"?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?e.querySelectorAll(t||"*"):[],t===void 0||t&&ie(e,t)?i.merge([e],n):n}function Ut(e,t){for(var n=0,o=e.length;n<o;n++)W.set(e[n],"globalEval",!t||W.get(t[n],"globalEval"))}Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,g.option||(Ne.optgroup=Ne.option=[1,"<select multiple='multiple'>","</select>"]);var ur=/<|&#?\w+;/;function Cn(e,t,n,o,a){for(var l,f,E,v,x,_,k=t.createDocumentFragment(),C=[],L=0,R=e.length;L<R;L++)if((l=e[L])||l===0)if(z(l)==="object")i.merge(C,l.nodeType?[l]:l);else if(ur.test(l)){for(f=f||k.appendChild(t.createElement("div")),E=(xn.exec(l)||["",""])[1].toLowerCase(),v=Ne[E]||Ne._default,f.innerHTML=v[1]+i.htmlPrefilter(l)+v[2],_=v[0];_--;)f=f.lastChild;i.merge(C,f.childNodes),(f=k.firstChild).textContent=""}else C.push(t.createTextNode(l));for(k.textContent="",L=0;l=C[L++];)if(o&&-1<i.inArray(l,o))a&&a.push(l);else if(x=gt(l),f=Le(k.appendChild(l),"script"),x&&Ut(f),n)for(_=0;l=f[_++];)An.test(l.type||"")&&n.push(l);return k}var Dn=/^([^.]*)(?:\.(.+)|)/;function mt(){return!0}function yt(){return!1}function Kt(e,t,n,o,a,l){var f,E;if(typeof t=="object"){for(E in typeof n!="string"&&(o=o||n,n=void 0),t)Kt(e,E,n,o,t[E],l);return e}if(o==null&&a==null?(a=n,o=n=void 0):a==null&&(typeof n=="string"?(a=o,o=void 0):(a=o,o=n,n=void 0)),a===!1)a=yt;else if(!a)return e;return l===1&&(f=a,(a=function(v){return i().off(v),f.apply(this,arguments)}).guid=f.guid||(f.guid=i.guid++)),e.each(function(){i.event.add(this,t,a,o,n)})}function Ht(e,t,n){n?(W.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(o){var a,l=W.get(this,t);if(1&o.isTrigger&&this[t]){if(l)(i.event.special[t]||{}).delegateType&&o.stopPropagation();else if(l=y.call(arguments),W.set(this,t,l),this[t](),a=W.get(this,t),W.set(this,t,!1),l!==a)return o.stopImmediatePropagation(),o.preventDefault(),a}else l&&(W.set(this,t,i.event.trigger(l[0],l.slice(1),this)),o.stopPropagation(),o.isImmediatePropagationStopped=mt)}})):W.get(e,t)===void 0&&i.event.add(e,t,mt)}i.event={global:{},add:function(e,t,n,o,a){var l,f,E,v,x,_,k,C,L,R,K,J=W.get(e);if(Dt(e))for(n.handler&&(n=(l=n).handler,a=l.selector),a&&i.find.matchesSelector(at,a),n.guid||(n.guid=i.guid++),(v=J.events)||(v=J.events=Object.create(null)),(f=J.handle)||(f=J.handle=function(we){return typeof i<"u"&&i.event.triggered!==we.type?i.event.dispatch.apply(e,arguments):void 0}),x=(t=(t||"").match(Fe)||[""]).length;x--;)L=K=(E=Dn.exec(t[x])||[])[1],R=(E[2]||"").split(".").sort(),L&&(k=i.event.special[L]||{},L=(a?k.delegateType:k.bindType)||L,k=i.event.special[L]||{},_=i.extend({type:L,origType:K,data:o,handler:n,guid:n.guid,selector:a,needsContext:a&&i.expr.match.needsContext.test(a),namespace:R.join(".")},l),(C=v[L])||((C=v[L]=[]).delegateCount=0,k.setup&&k.setup.call(e,o,R,f)!==!1||e.addEventListener&&e.addEventListener(L,f)),k.add&&(k.add.call(e,_),_.handler.guid||(_.handler.guid=n.guid)),a?C.splice(C.delegateCount++,0,_):C.push(_),i.event.global[L]=!0)},remove:function(e,t,n,o,a){var l,f,E,v,x,_,k,C,L,R,K,J=W.hasData(e)&&W.get(e);if(J&&(v=J.events)){for(x=(t=(t||"").match(Fe)||[""]).length;x--;)if(L=K=(E=Dn.exec(t[x])||[])[1],R=(E[2]||"").split(".").sort(),L){for(k=i.event.special[L]||{},C=v[L=(o?k.delegateType:k.bindType)||L]||[],E=E[2]&&new RegExp("(^|\\.)"+R.join("\\.(?:.*\\.|)")+"(\\.|$)"),f=l=C.length;l--;)_=C[l],!a&&K!==_.origType||n&&n.guid!==_.guid||E&&!E.test(_.namespace)||o&&o!==_.selector&&(o!=="**"||!_.selector)||(C.splice(l,1),_.selector&&C.delegateCount--,k.remove&&k.remove.call(e,_));f&&!C.length&&(k.teardown&&k.teardown.call(e,R,J.handle)!==!1||i.removeEvent(e,L,J.handle),delete v[L])}else for(L in v)i.event.remove(e,L+t[x],n,o,!0);i.isEmptyObject(v)&&W.remove(e,"handle events")}},dispatch:function(e){var t,n,o,a,l,f,E=new Array(arguments.length),v=i.event.fix(e),x=(W.get(this,"events")||Object.create(null))[v.type]||[],_=i.event.special[v.type]||{};for(E[0]=v,t=1;t<arguments.length;t++)E[t]=arguments[t];if(v.delegateTarget=this,!_.preDispatch||_.preDispatch.call(this,v)!==!1){for(f=i.event.handlers.call(this,v,x),t=0;(a=f[t++])&&!v.isPropagationStopped();)for(v.currentTarget=a.elem,n=0;(l=a.handlers[n++])&&!v.isImmediatePropagationStopped();)v.rnamespace&&l.namespace!==!1&&!v.rnamespace.test(l.namespace)||(v.handleObj=l,v.data=l.data,(o=((i.event.special[l.origType]||{}).handle||l.handler).apply(a.elem,E))!==void 0&&(v.result=o)===!1&&(v.preventDefault(),v.stopPropagation()));return _.postDispatch&&_.postDispatch.call(this,v),v.result}},handlers:function(e,t){var n,o,a,l,f,E=[],v=t.delegateCount,x=e.target;if(v&&x.nodeType&&!(e.type==="click"&&1<=e.button)){for(;x!==this;x=x.parentNode||this)if(x.nodeType===1&&(e.type!=="click"||x.disabled!==!0)){for(l=[],f={},n=0;n<v;n++)f[a=(o=t[n]).selector+" "]===void 0&&(f[a]=o.needsContext?-1<i(a,this).index(x):i.find(a,this,null,[x]).length),f[a]&&l.push(o);l.length&&E.push({elem:x,handlers:l})}}return x=this,v<t.length&&E.push({elem:x,handlers:t.slice(v)}),E},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:A(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return St.test(t.type)&&t.click&&ie(t,"input")&&Ht(t,"click",!0),!1},trigger:function(e){var t=this||e;return St.test(t.type)&&t.click&&ie(t,"input")&&Ht(t,"click"),!0},_default:function(e){var t=e.target;return St.test(t.type)&&t.click&&ie(t,"input")&&W.get(t,"click")||ie(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?mt:yt,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:yt,isPropagationStopped:yt,isImmediatePropagationStopped:yt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=mt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=mt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=mt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.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},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){function n(o){if(j.documentMode){var a=W.get(this,"handle"),l=i.event.fix(o);l.type=o.type==="focusin"?"focus":"blur",l.isSimulated=!0,a(o),l.target===l.currentTarget&&a(l)}else i.event.simulate(t,o.target,i.event.fix(o))}i.event.special[e]={setup:function(){var o;if(Ht(this,e,!0),!j.documentMode)return!1;(o=W.get(this,t))||this.addEventListener(t,n),W.set(this,t,(o||0)+1)},trigger:function(){return Ht(this,e),!0},teardown:function(){var o;if(!j.documentMode)return!1;(o=W.get(this,t)-1)?W.set(this,t,o):(this.removeEventListener(t,n),W.remove(this,t))},_default:function(o){return W.get(o.target,e)},delegateType:t},i.event.special[t]={setup:function(){var o=this.ownerDocument||this.document||this,a=j.documentMode?this:o,l=W.get(a,t);l||(j.documentMode?this.addEventListener(t,n):o.addEventListener(e,n,!0)),W.set(a,t,(l||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,a=j.documentMode?this:o,l=W.get(a,t)-1;l?W.set(a,t,l):(j.documentMode?this.removeEventListener(t,n):o.removeEventListener(e,n,!0),W.remove(a,t))}}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var o,a=n.relatedTarget,l=n.handleObj;return a&&(a===this||i.contains(this,a))||(n.type=l.origType,o=l.handler.apply(this,arguments),n.type=t),o}}}),i.fn.extend({on:function(e,t,n,o){return Kt(this,e,t,n,o)},one:function(e,t,n,o){return Kt(this,e,t,n,o,1)},off:function(e,t,n){var o,a;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,i(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if(typeof e=="object"){for(a in e)this.off(a,t,e[a]);return this}return t!==!1&&typeof t!="function"||(n=t,t=void 0),n===!1&&(n=yt),this.each(function(){i.event.remove(this,e,n,t)})}});var lr=/<script|<style|<link/i,cr=/checked\s*(?:[^=]|=\s*.checked.)/i,dr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function _n(e,t){return ie(e,"table")&&ie(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function fr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function pr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Tn(e,t){var n,o,a,l,f,E;if(t.nodeType===1){if(W.hasData(e)&&(E=W.get(e).events))for(a in W.remove(t,"handle events"),E)for(n=0,o=E[a].length;n<o;n++)i.event.add(t,a,E[a][n]);qe.hasData(e)&&(l=qe.access(e),f=i.extend({},l),qe.set(t,f))}}function Et(e,t,n,o){t=w(t);var a,l,f,E,v,x,_=0,k=e.length,C=k-1,L=t[0],R=A(L);if(R||1<k&&typeof L=="string"&&!g.checkClone&&cr.test(L))return e.each(function(K){var J=e.eq(K);R&&(t[0]=L.call(this,K,J.html())),Et(J,t,n,o)});if(k&&(l=(a=Cn(t,e[0].ownerDocument,!1,e,o)).firstChild,a.childNodes.length===1&&(a=l),l||o)){for(E=(f=i.map(Le(a,"script"),fr)).length;_<k;_++)v=a,_!==C&&(v=i.clone(v,!0,!0),E&&i.merge(f,Le(v,"script"))),n.call(e[_],v,_);if(E)for(x=f[f.length-1].ownerDocument,i.map(f,pr),_=0;_<E;_++)v=f[_],An.test(v.type||"")&&!W.access(v,"globalEval")&&i.contains(x,v)&&(v.src&&(v.type||"").toLowerCase()!=="module"?i._evalUrl&&!v.noModule&&i._evalUrl(v.src,{nonce:v.nonce||v.getAttribute("nonce")},x):Y(v.textContent.replace(dr,""),v,x))}return e}function Sn(e,t,n){for(var o,a=t?i.filter(t,e):e,l=0;(o=a[l])!=null;l++)n||o.nodeType!==1||i.cleanData(Le(o)),o.parentNode&&(n&&gt(o)&&Ut(Le(o,"script")),o.parentNode.removeChild(o));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var o,a,l,f,E,v,x,_=e.cloneNode(!0),k=gt(e);if(!(g.noCloneChecked||e.nodeType!==1&&e.nodeType!==11||i.isXMLDoc(e)))for(f=Le(_),o=0,a=(l=Le(e)).length;o<a;o++)E=l[o],v=f[o],(x=v.nodeName.toLowerCase())==="input"&&St.test(E.type)?v.checked=E.checked:x!=="input"&&x!=="textarea"||(v.defaultValue=E.defaultValue);if(t)if(n)for(l=l||Le(e),f=f||Le(_),o=0,a=l.length;o<a;o++)Tn(l[o],f[o]);else Tn(e,_);return 0<(f=Le(_,"script")).length&&Ut(f,!k&&Le(e,"script")),_},cleanData:function(e){for(var t,n,o,a=i.event.special,l=0;(n=e[l])!==void 0;l++)if(Dt(n)){if(t=n[W.expando]){if(t.events)for(o in t.events)a[o]?i.event.remove(n,o):i.removeEvent(n,o,t.handle);n[W.expando]=void 0}n[qe.expando]&&(n[qe.expando]=void 0)}}}),i.fn.extend({detach:function(e){return Sn(this,e,!0)},remove:function(e){return Sn(this,e)},text:function(e){return tt(this,function(t){return t===void 0?i.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=t)})},null,e,arguments.length)},append:function(){return Et(this,arguments,function(e){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||_n(this,e).appendChild(e)})},prepend:function(){return Et(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=_n(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Et(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Et(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(i.cleanData(Le(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e!=null&&e,t=t??e,this.map(function(){return i.clone(this,e,t)})},html:function(e){return tt(this,function(t){var n=this[0]||{},o=0,a=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!lr.test(t)&&!Ne[(xn.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;o<a;o++)(n=this[o]||{}).nodeType===1&&(i.cleanData(Le(n,!1)),n.innerHTML=t);n=0}catch{}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return Et(this,arguments,function(t){var n=this.parentNode;i.inArray(this,e)<0&&(i.cleanData(Le(this)),n&&n.replaceChild(t,this))},e)}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){for(var o,a=[],l=i(n),f=l.length-1,E=0;E<=f;E++)o=E===f?this:this.clone(!0),i(l[E])[t](o),p.apply(a,o.get());return this.pushStack(a)}});var Jt=new RegExp("^("+En+")(?!px)[a-z%]+$","i"),Qt=/^--/,Nt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=G),t.getComputedStyle(e)},Fn=function(e,t,n){var o,a,l={};for(a in t)l[a]=e.style[a],e.style[a]=t[a];for(a in o=n.call(e),t)e.style[a]=l[a];return o},hr=new RegExp(nt.join("|"),"i");function Ft(e,t,n){var o,a,l,f,E=Qt.test(t),v=e.style;return(n=n||Nt(e))&&(f=n.getPropertyValue(t)||n[t],E&&f&&(f=f.replace(Z,"$1")||void 0),f!==""||gt(e)||(f=i.style(e,t)),!g.pixelBoxStyles()&&Jt.test(f)&&hr.test(t)&&(o=v.width,a=v.minWidth,l=v.maxWidth,v.minWidth=v.maxWidth=v.width=f,f=n.width,v.width=o,v.minWidth=a,v.maxWidth=l)),f!==void 0?f+"":f}function On(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(x){v.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",x.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",at.appendChild(v).appendChild(x);var _=G.getComputedStyle(x);n=_.top!=="1%",E=t(_.marginLeft)===12,x.style.right="60%",l=t(_.right)===36,o=t(_.width)===36,x.style.position="absolute",a=t(x.offsetWidth/3)===12,at.removeChild(v),x=null}}function t(_){return Math.round(parseFloat(_))}var n,o,a,l,f,E,v=j.createElement("div"),x=j.createElement("div");x.style&&(x.style.backgroundClip="content-box",x.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle=x.style.backgroundClip==="content-box",i.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),l},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),E},scrollboxSize:function(){return e(),a},reliableTrDimensions:function(){var _,k,C,L;return f==null&&(_=j.createElement("table"),k=j.createElement("tr"),C=j.createElement("div"),_.style.cssText="position:absolute;left:-11111px;border-collapse:separate",k.style.cssText="box-sizing:content-box;border:1px solid",k.style.height="1px",C.style.height="9px",C.style.display="block",at.appendChild(_).appendChild(k).appendChild(C),L=G.getComputedStyle(k),f=parseInt(L.height,10)+parseInt(L.borderTopWidth,10)+parseInt(L.borderBottomWidth,10)===k.offsetHeight,at.removeChild(_)),f}}))})();var kn=["Webkit","Moz","ms"],jn=j.createElement("div").style,$n={};function en(e){var t=i.cssProps[e]||$n[e];return t||(e in jn?e:$n[e]=function(n){for(var o=n[0].toUpperCase()+n.slice(1),a=kn.length;a--;)if((n=kn[a]+o)in jn)return n}(e)||e)}var gr=/^(none|table(?!-c[ea]).+)/,vr={position:"absolute",visibility:"hidden",display:"block"},qn={letterSpacing:"0",fontWeight:"400"};function Ln(e,t,n){var o=Tt.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function tn(e,t,n,o,a,l){var f=t==="width"?1:0,E=0,v=0,x=0;if(n===(o?"border":"content"))return 0;for(;f<4;f+=2)n==="margin"&&(x+=i.css(e,n+nt[f],!0,a)),o?(n==="content"&&(v-=i.css(e,"padding"+nt[f],!0,a)),n!=="margin"&&(v-=i.css(e,"border"+nt[f]+"Width",!0,a))):(v+=i.css(e,"padding"+nt[f],!0,a),n!=="padding"?v+=i.css(e,"border"+nt[f]+"Width",!0,a):E+=i.css(e,"border"+nt[f]+"Width",!0,a));return!o&&0<=l&&(v+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-l-v-E-.5))||0),v+x}function Mn(e,t,n){var o=Nt(e),a=(!g.boxSizingReliable()||n)&&i.css(e,"boxSizing",!1,o)==="border-box",l=a,f=Ft(e,t,o),E="offset"+t[0].toUpperCase()+t.slice(1);if(Jt.test(f)){if(!n)return f;f="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&ie(e,"tr")||f==="auto"||!parseFloat(f)&&i.css(e,"display",!1,o)==="inline")&&e.getClientRects().length&&(a=i.css(e,"boxSizing",!1,o)==="border-box",(l=E in e)&&(f=e[E])),(f=parseFloat(f)||0)+tn(e,t,n||(a?"border":"content"),l,o,f)+"px"}function We(e,t,n,o,a){return new We.prototype.init(e,t,n,o,a)}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ft(e,"opacity");return n===""?"1":n}}}},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,t,n,o){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var a,l,f,E=Ze(t),v=Qt.test(t),x=e.style;if(v||(t=en(E)),f=i.cssHooks[t]||i.cssHooks[E],n===void 0)return f&&"get"in f&&(a=f.get(e,!1,o))!==void 0?a:x[t];(l=typeof n)=="string"&&(a=Tt.exec(n))&&a[1]&&(n=wn(e,t,a),l="number"),n!=null&&n==n&&(l!=="number"||v||(n+=a&&a[3]||(i.cssNumber[E]?"":"px")),g.clearCloneStyle||n!==""||t.indexOf("background")!==0||(x[t]="inherit"),f&&"set"in f&&(n=f.set(e,n,o))===void 0||(v?x.setProperty(t,n):x[t]=n))}},css:function(e,t,n,o){var a,l,f,E=Ze(t);return Qt.test(t)||(t=en(E)),(f=i.cssHooks[t]||i.cssHooks[E])&&"get"in f&&(a=f.get(e,!0,n)),a===void 0&&(a=Ft(e,t,o)),a==="normal"&&t in qn&&(a=qn[t]),n===""||n?(l=parseFloat(a),n===!0||isFinite(l)?l||0:a):a}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,o,a){if(o)return!gr.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?Mn(n,t,a):Fn(n,vr,function(){return Mn(n,t,a)})},set:function(n,o,a){var l,f=Nt(n),E=!g.scrollboxSize()&&f.position==="absolute",v=(E||a)&&i.css(n,"boxSizing",!1,f)==="border-box",x=a?tn(n,t,a,v,f):0;return v&&E&&(x-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-tn(n,t,"border",!1,f)-.5)),x&&(l=Tt.exec(o))&&(l[3]||"px")!=="px"&&(n.style[t]=o,o=i.css(n,t)),Ln(0,o,x)}}}),i.cssHooks.marginLeft=On(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ft(e,"marginLeft"))||e.getBoundingClientRect().left-Fn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){for(var o=0,a={},l=typeof n=="string"?n.split(" "):[n];o<4;o++)a[e+nt[o]+t]=l[o]||l[o-2]||l[0];return a}},e!=="margin"&&(i.cssHooks[e+t].set=Ln)}),i.fn.extend({css:function(e,t){return tt(this,function(n,o,a){var l,f,E={},v=0;if(Array.isArray(o)){for(l=Nt(n),f=o.length;v<f;v++)E[o[v]]=i.css(n,o[v],!1,l);return E}return a!==void 0?i.style(n,o,a):i.css(n,o)},e,t,1<arguments.length)}}),((i.Tween=We).prototype={constructor:We,init:function(e,t,n,o,a,l){this.elem=e,this.prop=n,this.easing=a||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=l||(i.cssNumber[n]?"":"px")},cur:function(){var e=We.propHooks[this.prop];return e&&e.get?e.get(this):We.propHooks._default.get(this)},run:function(e){var t,n=We.propHooks[this.prop];return this.options.duration?this.pos=t=i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):We.propHooks._default.set(this),this}}).init.prototype=We.prototype,(We.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""))&&t!=="auto"?t:0},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):e.elem.nodeType!==1||!i.cssHooks[e.prop]&&e.elem.style[en(e.prop)]==null?e.elem[e.prop]=e.now:i.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=We.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=We.prototype.init,i.fx.step={};var wt,Rt,bt,Pn,mr=/^(?:toggle|show|hide)$/,yr=/queueHooks$/;function nn(){Rt&&(j.hidden===!1&&G.requestAnimationFrame?G.requestAnimationFrame(nn):G.setTimeout(nn,i.fx.interval),i.fx.tick())}function Bn(){return G.setTimeout(function(){wt=void 0}),wt=Date.now()}function zt(e,t){var n,o=0,a={height:e};for(t=t?1:0;o<4;o+=2-t)a["margin"+(n=nt[o])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function In(e,t,n){for(var o,a=(Ge.tweeners[t]||[]).concat(Ge.tweeners["*"]),l=0,f=a.length;l<f;l++)if(o=a[l].call(n,t,e))return o}function Ge(e,t,n){var o,a,l=0,f=Ge.prefilters.length,E=i.Deferred().always(function(){delete v.elem}),v=function(){if(a)return!1;for(var k=wt||Bn(),C=Math.max(0,x.startTime+x.duration-k),L=1-(C/x.duration||0),R=0,K=x.tweens.length;R<K;R++)x.tweens[R].run(L);return E.notifyWith(e,[x,L,C]),L<1&&K?C:(K||E.notifyWith(e,[x,1,0]),E.resolveWith(e,[x]),!1)},x=E.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},n),originalProperties:t,originalOptions:n,startTime:wt||Bn(),duration:n.duration,tweens:[],createTween:function(k,C){var L=i.Tween(e,x.opts,k,C,x.opts.specialEasing[k]||x.opts.easing);return x.tweens.push(L),L},stop:function(k){var C=0,L=k?x.tweens.length:0;if(a)return this;for(a=!0;C<L;C++)x.tweens[C].run(1);return k?(E.notifyWith(e,[x,1,0]),E.resolveWith(e,[x,k])):E.rejectWith(e,[x,k]),this}}),_=x.props;for(!function(k,C){var L,R,K,J,we;for(L in k)if(K=C[R=Ze(L)],J=k[L],Array.isArray(J)&&(K=J[1],J=k[L]=J[0]),L!==R&&(k[R]=J,delete k[L]),(we=i.cssHooks[R])&&"expand"in we)for(L in J=we.expand(J),delete k[R],J)L in k||(k[L]=J[L],C[L]=K);else C[R]=K}(_,x.opts.specialEasing);l<f;l++)if(o=Ge.prefilters[l].call(x,e,_,x.opts))return A(o.stop)&&(i._queueHooks(x.elem,x.opts.queue).stop=o.stop.bind(o)),o;return i.map(_,In,x),A(x.opts.start)&&x.opts.start.call(e,x),x.progress(x.opts.progress).done(x.opts.done,x.opts.complete).fail(x.opts.fail).always(x.opts.always),i.fx.timer(i.extend(v,{elem:e,anim:x,queue:x.opts.queue})),x}i.Animation=i.extend(Ge,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return wn(n.elem,e,Tt.exec(t),n),n}]},tweener:function(e,t){A(e)?(t=e,e=["*"]):e=e.match(Fe);for(var n,o=0,a=e.length;o<a;o++)n=e[o],Ge.tweeners[n]=Ge.tweeners[n]||[],Ge.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var o,a,l,f,E,v,x,_,k="width"in t||"height"in t,C=this,L={},R=e.style,K=e.nodeType&&Bt(e),J=W.get(e,"fxshow");for(o in n.queue||((f=i._queueHooks(e,"fx")).unqueued==null&&(f.unqueued=0,E=f.empty.fire,f.empty.fire=function(){f.unqueued||E()}),f.unqueued++,C.always(function(){C.always(function(){f.unqueued--,i.queue(e,"fx").length||f.empty.fire()})})),t)if(a=t[o],mr.test(a)){if(delete t[o],l=l||a==="toggle",a===(K?"hide":"show")){if(a!=="show"||!J||J[o]===void 0)continue;K=!0}L[o]=J&&J[o]||i.style(e,o)}if((v=!i.isEmptyObject(t))||!i.isEmptyObject(L))for(o in k&&e.nodeType===1&&(n.overflow=[R.overflow,R.overflowX,R.overflowY],(x=J&&J.display)==null&&(x=W.get(e,"display")),(_=i.css(e,"display"))==="none"&&(x?_=x:(vt([e],!0),x=e.style.display||x,_=i.css(e,"display"),vt([e]))),(_==="inline"||_==="inline-block"&&x!=null)&&i.css(e,"float")==="none"&&(v||(C.done(function(){R.display=x}),x==null&&(_=R.display,x=_==="none"?"":_)),R.display="inline-block")),n.overflow&&(R.overflow="hidden",C.always(function(){R.overflow=n.overflow[0],R.overflowX=n.overflow[1],R.overflowY=n.overflow[2]})),v=!1,L)v||(J?"hidden"in J&&(K=J.hidden):J=W.access(e,"fxshow",{display:x}),l&&(J.hidden=!K),K&&vt([e],!0),C.done(function(){for(o in K||vt([e]),W.remove(e,"fxshow"),L)i.style(e,o,L[o])})),v=In(K?J[o]:0,o,C),o in J||(J[o]=v.start,K&&(v.end=v.start,v.start=0))}],prefilter:function(e,t){t?Ge.prefilters.unshift(e):Ge.prefilters.push(e)}}),i.speed=function(e,t,n){var o=e&&typeof e=="object"?i.extend({},e):{complete:n||!n&&t||A(e)&&e,duration:e,easing:n&&t||t&&!A(t)&&t};return i.fx.off?o.duration=0:typeof o.duration!="number"&&(o.duration in i.fx.speeds?o.duration=i.fx.speeds[o.duration]:o.duration=i.fx.speeds._default),o.queue!=null&&o.queue!==!0||(o.queue="fx"),o.old=o.complete,o.complete=function(){A(o.old)&&o.old.call(this),o.queue&&i.dequeue(this,o.queue)},o},i.fn.extend({fadeTo:function(e,t,n,o){return this.filter(Bt).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var a=i.isEmptyObject(e),l=i.speed(t,n,o),f=function(){var E=Ge(this,i.extend({},e),l);(a||W.get(this,"finish"))&&E.stop(!0)};return f.finish=f,a||l.queue===!1?this.each(f):this.queue(l.queue,f)},stop:function(e,t,n){var o=function(a){var l=a.stop;delete a.stop,l(n)};return typeof e!="string"&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var a=!0,l=e!=null&&e+"queueHooks",f=i.timers,E=W.get(this);if(l)E[l]&&E[l].stop&&o(E[l]);else for(l in E)E[l]&&E[l].stop&&yr.test(l)&&o(E[l]);for(l=f.length;l--;)f[l].elem!==this||e!=null&&f[l].queue!==e||(f[l].anim.stop(n),a=!1,f.splice(l,1));!a&&n||i.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=W.get(this),o=n[e+"queue"],a=n[e+"queueHooks"],l=i.timers,f=o?o.length:0;for(n.finish=!0,i.queue(this,e,[]),a&&a.stop&&a.stop.call(this,!0),t=l.length;t--;)l[t].elem===this&&l[t].queue===e&&(l[t].anim.stop(!0),l.splice(t,1));for(t=0;t<f;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish})}}),i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(o,a,l){return o==null||typeof o=="boolean"?n.apply(this,arguments):this.animate(zt(t,!0),o,a,l)}}),i.each({slideDown:zt("show"),slideUp:zt("hide"),slideToggle:zt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,o,a){return this.animate(t,n,o,a)}}),i.timers=[],i.fx.tick=function(){var e,t=0,n=i.timers;for(wt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||i.fx.stop(),wt=void 0},i.fx.timer=function(e){i.timers.push(e),i.fx.start()},i.fx.interval=13,i.fx.start=function(){Rt||(Rt=!0,nn())},i.fx.stop=function(){Rt=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fn.delay=function(e,t){return e=i.fx&&i.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,o){var a=G.setTimeout(n,e);o.stop=function(){G.clearTimeout(a)}})},bt=j.createElement("input"),Pn=j.createElement("select").appendChild(j.createElement("option")),bt.type="checkbox",g.checkOn=bt.value!=="",g.optSelected=Pn.selected,(bt=j.createElement("input")).value="t",bt.type="radio",g.radioValue=bt.value==="t";var Hn,Ot=i.expr.attrHandle;i.fn.extend({attr:function(e,t){return tt(this,i.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,n){var o,a,l=e.nodeType;if(l!==3&&l!==8&&l!==2)return typeof e.getAttribute>"u"?i.prop(e,t,n):(l===1&&i.isXMLDoc(e)||(a=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?Hn:void 0)),n!==void 0?n===null?void i.removeAttr(e,t):a&&"set"in a&&(o=a.set(e,n,t))!==void 0?o:(e.setAttribute(t,n+""),n):a&&"get"in a&&(o=a.get(e,t))!==null?o:(o=i.find.attr(e,t))==null?void 0:o)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&t==="radio"&&ie(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,a=t&&t.match(Fe);if(a&&e.nodeType===1)for(;n=a[o++];)e.removeAttribute(n)}}),Hn={set:function(e,t,n){return t===!1?i.removeAttr(e,n):e.setAttribute(n,n),n}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Ot[t]||i.find.attr;Ot[t]=function(o,a,l){var f,E,v=a.toLowerCase();return l||(E=Ot[v],Ot[v]=f,f=n(o,a,l)!=null?v:null,Ot[v]=E),f}});var Er=/^(?:input|select|textarea|button)$/i,wr=/^(?:a|area)$/i;function lt(e){return(e.match(Fe)||[]).join(" ")}function ct(e){return e.getAttribute&&e.getAttribute("class")||""}function rn(e){return Array.isArray(e)?e:typeof e=="string"&&e.match(Fe)||[]}i.fn.extend({prop:function(e,t){return tt(this,i.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,n){var o,a,l=e.nodeType;if(l!==3&&l!==8&&l!==2)return l===1&&i.isXMLDoc(e)||(t=i.propFix[t]||t,a=i.propHooks[t]),n!==void 0?a&&"set"in a&&(o=a.set(e,n,t))!==void 0?o:e[t]=n:a&&"get"in a&&(o=a.get(e,t))!==null?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):Er.test(e.nodeName)||wr.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(i.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this}),i.fn.extend({addClass:function(e){var t,n,o,a,l,f;return A(e)?this.each(function(E){i(this).addClass(e.call(this,E,ct(this)))}):(t=rn(e)).length?this.each(function(){if(o=ct(this),n=this.nodeType===1&&" "+lt(o)+" "){for(l=0;l<t.length;l++)a=t[l],n.indexOf(" "+a+" ")<0&&(n+=a+" ");f=lt(n),o!==f&&this.setAttribute("class",f)}}):this},removeClass:function(e){var t,n,o,a,l,f;return A(e)?this.each(function(E){i(this).removeClass(e.call(this,E,ct(this)))}):arguments.length?(t=rn(e)).length?this.each(function(){if(o=ct(this),n=this.nodeType===1&&" "+lt(o)+" "){for(l=0;l<t.length;l++)for(a=t[l];-1<n.indexOf(" "+a+" ");)n=n.replace(" "+a+" "," ");f=lt(n),o!==f&&this.setAttribute("class",f)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,o,a,l,f=typeof e,E=f==="string"||Array.isArray(e);return A(e)?this.each(function(v){i(this).toggleClass(e.call(this,v,ct(this),t),t)}):typeof t=="boolean"&&E?t?this.addClass(e):this.removeClass(e):(n=rn(e),this.each(function(){if(E)for(l=i(this),a=0;a<n.length;a++)o=n[a],l.hasClass(o)?l.removeClass(o):l.addClass(o);else e!==void 0&&f!=="boolean"||((o=ct(this))&&W.set(this,"__className__",o),this.setAttribute&&this.setAttribute("class",o||e===!1?"":W.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(n.nodeType===1&&-1<(" "+lt(ct(n))+" ").indexOf(t))return!0;return!1}});var br=/\r/g;i.fn.extend({val:function(e){var t,n,o,a=this[0];return arguments.length?(o=A(e),this.each(function(l){var f;this.nodeType===1&&((f=o?e.call(this,l,i(this).val()):e)==null?f="":typeof f=="number"?f+="":Array.isArray(f)&&(f=i.map(f,function(E){return E==null?"":E+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&t.set(this,f,"value")!==void 0||(this.value=f))})):a?(t=i.valHooks[a.type]||i.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&(n=t.get(a,"value"))!==void 0?n:typeof(n=a.value)=="string"?n.replace(br,""):n??"":void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return t??lt(i.text(e))}},select:{get:function(e){var t,n,o,a=e.options,l=e.selectedIndex,f=e.type==="select-one",E=f?null:[],v=f?l+1:a.length;for(o=l<0?v:f?l:0;o<v;o++)if(((n=a[o]).selected||o===l)&&!n.disabled&&(!n.parentNode.disabled||!ie(n.parentNode,"optgroup"))){if(t=i(n).val(),f)return t;E.push(t)}return E},set:function(e,t){for(var n,o,a=e.options,l=i.makeArray(t),f=a.length;f--;)((o=a[f]).selected=-1<i.inArray(i.valHooks.option.get(o),l))&&(n=!0);return n||(e.selectedIndex=-1),l}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<i.inArray(i(e).val(),t)}},g.checkOn||(i.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var kt=G.location,Nn={guid:Date.now()},on=/\?/;i.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new G.DOMParser().parseFromString(e,"text/xml")}catch{}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||i.error("Invalid XML: "+(n?i.map(n.childNodes,function(o){return o.textContent}).join(`
`):e)),t};var Rn=/^(?:focusinfocus|focusoutblur)$/,zn=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,n,o){var a,l,f,E,v,x,_,k,C=[n||j],L=c.call(e,"type")?e.type:e,R=c.call(e,"namespace")?e.namespace.split("."):[];if(l=k=f=n=n||j,n.nodeType!==3&&n.nodeType!==8&&!Rn.test(L+i.event.triggered)&&(-1<L.indexOf(".")&&(L=(R=L.split(".")).shift(),R.sort()),v=L.indexOf(":")<0&&"on"+L,(e=e[i.expando]?e:new i.Event(L,typeof e=="object"&&e)).isTrigger=o?2:3,e.namespace=R.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+R.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:i.makeArray(t,[e]),_=i.event.special[L]||{},o||!_.trigger||_.trigger.apply(n,t)!==!1)){if(!o&&!_.noBubble&&!F(n)){for(E=_.delegateType||L,Rn.test(E+L)||(l=l.parentNode);l;l=l.parentNode)C.push(l),f=l;f===(n.ownerDocument||j)&&C.push(f.defaultView||f.parentWindow||G)}for(a=0;(l=C[a++])&&!e.isPropagationStopped();)k=l,e.type=1<a?E:_.bindType||L,(x=(W.get(l,"events")||Object.create(null))[e.type]&&W.get(l,"handle"))&&x.apply(l,t),(x=v&&l[v])&&x.apply&&Dt(l)&&(e.result=x.apply(l,t),e.result===!1&&e.preventDefault());return e.type=L,o||e.isDefaultPrevented()||_._default&&_._default.apply(C.pop(),t)!==!1||!Dt(n)||v&&A(n[L])&&!F(n)&&((f=n[v])&&(n[v]=null),i.event.triggered=L,e.isPropagationStopped()&&k.addEventListener(L,zn),n[L](),e.isPropagationStopped()&&k.removeEventListener(L,zn),i.event.triggered=void 0,f&&(n[v]=f)),e.result}},simulate:function(e,t,n){var o=i.extend(new i.Event,n,{type:e,isSimulated:!0});i.event.trigger(o,null,t)}}),i.fn.extend({trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return i.event.trigger(e,t,n,!0)}});var xr=/\[\]$/,Wn=/\r?\n/g,Ar=/^(?:submit|button|image|reset|file)$/i,Cr=/^(?:input|select|textarea|keygen)/i;function sn(e,t,n,o){var a;if(Array.isArray(t))i.each(t,function(l,f){n||xr.test(e)?o(e,f):sn(e+"["+(typeof f=="object"&&f!=null?l:"")+"]",f,n,o)});else if(n||z(t)!=="object")o(e,t);else for(a in t)sn(e+"["+a+"]",t[a],n,o)}i.param=function(e,t){var n,o=[],a=function(l,f){var E=A(f)?f():f;o[o.length]=encodeURIComponent(l)+"="+encodeURIComponent(E??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!i.isPlainObject(e))i.each(e,function(){a(this.name,this.value)});else for(n in e)sn(n,e[n],t,a);return o.join("&")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=i.prop(this,"elements");return e?i.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!i(this).is(":disabled")&&Cr.test(this.nodeName)&&!Ar.test(e)&&(this.checked||!St.test(e))}).map(function(e,t){var n=i(this).val();return n==null?null:Array.isArray(n)?i.map(n,function(o){return{name:t.name,value:o.replace(Wn,`\r
`)}}):{name:t.name,value:n.replace(Wn,`\r
`)}}).get()}});var Dr=/%20/g,_r=/#.*$/,Tr=/([?&])_=[^&]*/,Sr=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fr=/^(?:GET|HEAD)$/,Or=/^\/\//,Gn={},an={},Xn="*/".concat("*"),un=j.createElement("a");function Vn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var o,a=0,l=t.toLowerCase().match(Fe)||[];if(A(n))for(;o=l[a++];)o[0]==="+"?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function Yn(e,t,n,o){var a={},l=e===an;function f(E){var v;return a[E]=!0,i.each(e[E]||[],function(x,_){var k=_(t,n,o);return typeof k!="string"||l||a[k]?l?!(v=k):void 0:(t.dataTypes.unshift(k),f(k),!1)}),v}return f(t.dataTypes[0])||!a["*"]&&f("*")}function ln(e,t){var n,o,a=i.ajaxSettings.flatOptions||{};for(n in t)t[n]!==void 0&&((a[n]?e:o||(o={}))[n]=t[n]);return o&&i.extend(!0,e,o),e}un.href=kt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xn,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":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ln(ln(e,i.ajaxSettings),t):ln(i.ajaxSettings,e)},ajaxPrefilter:Vn(Gn),ajaxTransport:Vn(an),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,o,a,l,f,E,v,x,_,k,C=i.ajaxSetup({},t),L=C.context||C,R=C.context&&(L.nodeType||L.jquery)?i(L):i.event,K=i.Deferred(),J=i.Callbacks("once memory"),we=C.statusCode||{},De={},Ue={},Ke="canceled",se={readyState:0,getResponseHeader:function(ce){var Ee;if(v){if(!l)for(l={};Ee=Sr.exec(a);)l[Ee[1].toLowerCase()+" "]=(l[Ee[1].toLowerCase()+" "]||[]).concat(Ee[2]);Ee=l[ce.toLowerCase()+" "]}return Ee==null?null:Ee.join(", ")},getAllResponseHeaders:function(){return v?a:null},setRequestHeader:function(ce,Ee){return v==null&&(ce=Ue[ce.toLowerCase()]=Ue[ce.toLowerCase()]||ce,De[ce]=Ee),this},overrideMimeType:function(ce){return v==null&&(C.mimeType=ce),this},statusCode:function(ce){var Ee;if(ce)if(v)se.always(ce[se.status]);else for(Ee in ce)we[Ee]=[we[Ee],ce[Ee]];return this},abort:function(ce){var Ee=ce||Ke;return n&&n.abort(Ee),dt(0,Ee),this}};if(K.promise(se),C.url=((e||C.url||kt.href)+"").replace(Or,kt.protocol+"//"),C.type=t.method||t.type||C.method||C.type,C.dataTypes=(C.dataType||"*").toLowerCase().match(Fe)||[""],C.crossDomain==null){E=j.createElement("a");try{E.href=C.url,E.href=E.href,C.crossDomain=un.protocol+"//"+un.host!=E.protocol+"//"+E.host}catch{C.crossDomain=!0}}if(C.data&&C.processData&&typeof C.data!="string"&&(C.data=i.param(C.data,C.traditional)),Yn(Gn,C,t,se),v)return se;for(_ in(x=i.event&&C.global)&&i.active++==0&&i.event.trigger("ajaxStart"),C.type=C.type.toUpperCase(),C.hasContent=!Fr.test(C.type),o=C.url.replace(_r,""),C.hasContent?C.data&&C.processData&&(C.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(C.data=C.data.replace(Dr,"+")):(k=C.url.slice(o.length),C.data&&(C.processData||typeof C.data=="string")&&(o+=(on.test(o)?"&":"?")+C.data,delete C.data),C.cache===!1&&(o=o.replace(Tr,"$1"),k=(on.test(o)?"&":"?")+"_="+Nn.guid+++k),C.url=o+k),C.ifModified&&(i.lastModified[o]&&se.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&se.setRequestHeader("If-None-Match",i.etag[o])),(C.data&&C.hasContent&&C.contentType!==!1||t.contentType)&&se.setRequestHeader("Content-Type",C.contentType),se.setRequestHeader("Accept",C.dataTypes[0]&&C.accepts[C.dataTypes[0]]?C.accepts[C.dataTypes[0]]+(C.dataTypes[0]!=="*"?", "+Xn+"; q=0.01":""):C.accepts["*"]),C.headers)se.setRequestHeader(_,C.headers[_]);if(C.beforeSend&&(C.beforeSend.call(L,se,C)===!1||v))return se.abort();if(Ke="abort",J.add(C.complete),se.done(C.success),se.fail(C.error),n=Yn(an,C,t,se)){if(se.readyState=1,x&&R.trigger("ajaxSend",[se,C]),v)return se;C.async&&0<C.timeout&&(f=G.setTimeout(function(){se.abort("timeout")},C.timeout));try{v=!1,n.send(De,dt)}catch(ce){if(v)throw ce;dt(-1,ce)}}else dt(-1,"No Transport");function dt(ce,Ee,$t,dn){var Je,qt,rt,it,xt,Re=Ee;v||(v=!0,f&&G.clearTimeout(f),n=void 0,a=dn||"",se.readyState=0<ce?4:0,Je=200<=ce&&ce<300||ce===304,$t&&(it=function(_e,Ae,je){for(var ot,$e,V,be,xe=_e.contents,ge=_e.dataTypes;ge[0]==="*";)ge.shift(),ot===void 0&&(ot=_e.mimeType||Ae.getResponseHeader("Content-Type"));if(ot){for($e in xe)if(xe[$e]&&xe[$e].test(ot)){ge.unshift($e);break}}if(ge[0]in je)V=ge[0];else{for($e in je){if(!ge[0]||_e.converters[$e+" "+ge[0]]){V=$e;break}be||(be=$e)}V=V||be}if(V)return V!==ge[0]&&ge.unshift(V),je[V]}(C,se,$t)),!Je&&-1<i.inArray("script",C.dataTypes)&&i.inArray("json",C.dataTypes)<0&&(C.converters["text script"]=function(){}),it=function(_e,Ae,je,ot){var $e,V,be,xe,ge,Qe={},At=_e.dataTypes.slice();if(At[1])for(be in _e.converters)Qe[be.toLowerCase()]=_e.converters[be];for(V=At.shift();V;)if(_e.responseFields[V]&&(je[_e.responseFields[V]]=Ae),!ge&&ot&&_e.dataFilter&&(Ae=_e.dataFilter(Ae,_e.dataType)),ge=V,V=At.shift()){if(V==="*")V=ge;else if(ge!=="*"&&ge!==V){if(!(be=Qe[ge+" "+V]||Qe["* "+V])){for($e in Qe)if((xe=$e.split(" "))[1]===V&&(be=Qe[ge+" "+xe[0]]||Qe["* "+xe[0]])){be===!0?be=Qe[$e]:Qe[$e]!==!0&&(V=xe[0],At.unshift(xe[1]));break}}if(be!==!0)if(be&&_e.throws)Ae=be(Ae);else try{Ae=be(Ae)}catch(Wt){return{state:"parsererror",error:be?Wt:"No conversion from "+ge+" to "+V}}}}return{state:"success",data:Ae}}(C,it,se,Je),Je?(C.ifModified&&((xt=se.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=xt),(xt=se.getResponseHeader("etag"))&&(i.etag[o]=xt)),ce===204||C.type==="HEAD"?Re="nocontent":ce===304?Re="notmodified":(Re=it.state,qt=it.data,Je=!(rt=it.error))):(rt=Re,!ce&&Re||(Re="error",ce<0&&(ce=0))),se.status=ce,se.statusText=(Ee||Re)+"",Je?K.resolveWith(L,[qt,Re,se]):K.rejectWith(L,[se,Re,rt]),se.statusCode(we),we=void 0,x&&R.trigger(Je?"ajaxSuccess":"ajaxError",[se,C,Je?qt:rt]),J.fireWith(L,[se,Re]),x&&(R.trigger("ajaxComplete",[se,C]),--i.active||i.event.trigger("ajaxStop")))}return se},getJSON:function(e,t,n){return i.get(e,t,n,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(n,o,a,l){return A(o)&&(l=l||a,a=o,o=void 0),i.ajax(i.extend({url:n,type:t,dataType:l,data:o,success:a},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,n){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(o){i.globalEval(o,t,n)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(A(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return A(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=A(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new G.XMLHttpRequest}catch{}};var kr={0:200,1223:204},jt=i.ajaxSettings.xhr();g.cors=!!jt&&"withCredentials"in jt,g.ajax=jt=!!jt,i.ajaxTransport(function(e){var t,n;if(g.cors||jt&&!e.crossDomain)return{send:function(o,a){var l,f=e.xhr();if(f.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(l in e.xhrFields)f[l]=e.xhrFields[l];for(l in e.mimeType&&f.overrideMimeType&&f.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)f.setRequestHeader(l,o[l]);t=function(E){return function(){t&&(t=n=f.onload=f.onerror=f.onabort=f.ontimeout=f.onreadystatechange=null,E==="abort"?f.abort():E==="error"?typeof f.status!="number"?a(0,"error"):a(f.status,f.statusText):a(kr[f.status]||f.status,f.statusText,(f.responseType||"text")!=="text"||typeof f.responseText!="string"?{binary:f.response}:{text:f.responseText},f.getAllResponseHeaders()))}},f.onload=t(),n=f.onerror=f.ontimeout=t("error"),f.onabort!==void 0?f.onabort=n:f.onreadystatechange=function(){f.readyState===4&&G.setTimeout(function(){t&&n()})},t=t("abort");try{f.send(e.hasContent&&e.data||null)}catch(E){if(t)throw E}},abort:function(){t&&t()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),i.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 i.globalEval(e),e}}}),i.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),i.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,a){t=i("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(l){t.remove(),n=null,l&&a(l.type==="error"?404:200,l.type)}),j.head.appendChild(t[0])},abort:function(){n&&n()}}});var Zn,Un=[],cn=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Un.pop()||i.expando+"_"+Nn.guid++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var o,a,l,f=e.jsonp!==!1&&(cn.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&cn.test(e.data)&&"data");if(f||e.dataTypes[0]==="jsonp")return o=e.jsonpCallback=A(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,f?e[f]=e[f].replace(cn,"$1"+o):e.jsonp!==!1&&(e.url+=(on.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return l||i.error(o+" was not called"),l[0]},e.dataTypes[0]="json",a=G[o],G[o]=function(){l=arguments},n.always(function(){a===void 0?i(G).removeProp(o):G[o]=a,e[o]&&(e.jsonpCallback=t.jsonpCallback,Un.push(o)),l&&A(a)&&a(l[0]),l=a=void 0}),"script"}),g.createHTMLDocument=((Zn=j.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",Zn.childNodes.length===2),i.parseHTML=function(e,t,n){return typeof e!="string"?[]:(typeof t=="boolean"&&(n=t,t=!1),t||(g.createHTMLDocument?((o=(t=j.implementation.createHTMLDocument("")).createElement("base")).href=j.location.href,t.head.appendChild(o)):t=j),l=!n&&[],(a=ue.exec(e))?[t.createElement(a[1])]:(a=Cn([e],t,l),l&&l.length&&i(l).remove(),i.merge([],a.childNodes)));var o,a,l},i.fn.load=function(e,t,n){var o,a,l,f=this,E=e.indexOf(" ");return-1<E&&(o=lt(e.slice(E)),e=e.slice(0,E)),A(t)?(n=t,t=void 0):t&&typeof t=="object"&&(a="POST"),0<f.length&&i.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(v){l=arguments,f.html(o?i("<div>").append(i.parseHTML(v)).find(o):v)}).always(n&&function(v,x){f.each(function(){n.apply(this,l||[v.responseText,x,v])})}),this},i.expr.pseudos.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length},i.offset={setOffset:function(e,t,n){var o,a,l,f,E,v,x=i.css(e,"position"),_=i(e),k={};x==="static"&&(e.style.position="relative"),E=_.offset(),l=i.css(e,"top"),v=i.css(e,"left"),(x==="absolute"||x==="fixed")&&-1<(l+v).indexOf("auto")?(f=(o=_.position()).top,a=o.left):(f=parseFloat(l)||0,a=parseFloat(v)||0),A(t)&&(t=t.call(e,n,i.extend({},E))),t.top!=null&&(k.top=t.top-E.top+f),t.left!=null&&(k.left=t.left-E.left+a),"using"in t?t.using.call(e,k):_.css(k)}},i.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(a){i.offset.setOffset(this,e,a)});var t,n,o=this[0];return o?o.getClientRects().length?(t=o.getBoundingClientRect(),n=o.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,o=this[0],a={top:0,left:0};if(i.css(o,"position")==="fixed")t=o.getBoundingClientRect();else{for(t=this.offset(),n=o.ownerDocument,e=o.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&i.css(e,"position")==="static";)e=e.parentNode;e&&e!==o&&e.nodeType===1&&((a=i(e).offset()).top+=i.css(e,"borderTopWidth",!0),a.left+=i.css(e,"borderLeftWidth",!0))}return{top:t.top-a.top-i.css(o,"marginTop",!0),left:t.left-a.left-i.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&i.css(e,"position")==="static";)e=e.offsetParent;return e||at})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=t==="pageYOffset";i.fn[e]=function(o){return tt(this,function(a,l,f){var E;if(F(a)?E=a:a.nodeType===9&&(E=a.defaultView),f===void 0)return E?E[t]:a[l];E?E.scrollTo(n?E.pageXOffset:f,n?f:E.pageYOffset):a[l]=f},e,o,arguments.length)}}),i.each(["top","left"],function(e,t){i.cssHooks[t]=On(g.pixelPosition,function(n,o){if(o)return o=Ft(n,t),Jt.test(o)?i(n).position()[t]+"px":o})}),i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,o){i.fn[o]=function(a,l){var f=arguments.length&&(n||typeof a!="boolean"),E=n||(a===!0||l===!0?"margin":"border");return tt(this,function(v,x,_){var k;return F(v)?o.indexOf("outer")===0?v["inner"+e]:v.document.documentElement["client"+e]:v.nodeType===9?(k=v.documentElement,Math.max(v.body["scroll"+e],k["scroll"+e],v.body["offset"+e],k["offset"+e],k["client"+e])):_===void 0?i.css(v,x,E):i.style(v,x,_,E)},t,f?a:void 0,f)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,o){return this.on(t,e,n,o)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),i.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,t){i.fn[t]=function(n,o){return 0<arguments.length?this.on(t,null,n,o):this.trigger(t)}});var jr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;i.proxy=function(e,t){var n,o,a;if(typeof t=="string"&&(n=e[t],t=e,e=n),A(e))return o=y.call(arguments,2),(a=function(){return e.apply(t||this,o.concat(y.call(arguments)))}).guid=e.guid=e.guid||i.guid++,a},i.holdReady=function(e){e?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=ie,i.isFunction=A,i.isWindow=F,i.camelCase=Ze,i.type=z,i.now=Date.now,i.isNumeric=function(e){var t=i.type(e);return(t==="number"||t==="string")&&!isNaN(e-parseFloat(e))},i.trim=function(e){return e==null?"":(e+"").replace(jr,"$1")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return i});var $r=G.jQuery,qr=G.$;return i.noConflict=function(e){return G.$===i&&(G.$=qr),e&&G.jQuery===i&&(G.jQuery=$r),i},typeof Ye>"u"&&(G.jQuery=G.$=i),i});/*!
 * Select2 4.0.13
 * https://select2.github.io
 *
 * Released under the MIT license
 * https://github.com/select2/select2/blob/master/LICENSE.md
 */(function(G){typeof define=="function"&&define.amd?define(["jquery"],G):typeof module=="object"&&module.exports?module.exports=function(Ye,he){return he===void 0&&(typeof window<"u"?he=require("jquery"):he=require("jquery")(Ye)),G(he),he}:G(jQuery)})(function(G){var Ye=function(){if(G&&G.fn&&G.fn.select2&&G.fn.select2.amd)var I=G.fn.select2.amd;var I;(function(){if(!I||!I.requirejs){I?w=I:I={};/**
 * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
 * Released under MIT license, http://github.com/requirejs/almond/LICENSE
 */var y,w,p;(function(u){var s,r,c,d,m={},g={},A={},F={},j=Object.prototype.hasOwnProperty,Q=[].slice,Y=/\.js$/;function z(T,Z){return j.call(T,Z)}function X(T,Z){var ne,ye,oe,ae,Se,O,re,ue,N,de,pe,Pe,Oe=Z&&Z.split("/"),He=A.map,Fe=He&&He["*"]||{};if(T){for(T=T.split("/"),Se=T.length-1,A.nodeIdCompat&&Y.test(T[Se])&&(T[Se]=T[Se].replace(Y,"")),T[0].charAt(0)==="."&&Oe&&(Pe=Oe.slice(0,Oe.length-1),T=Pe.concat(T)),N=0;N<T.length;N++)if(pe=T[N],pe===".")T.splice(N,1),N-=1;else if(pe===".."){if(N===0||N===1&&T[2]===".."||T[N-1]==="..")continue;N>0&&(T.splice(N-1,2),N-=2)}T=T.join("/")}if((Oe||Fe)&&He){for(ne=T.split("/"),N=ne.length;N>0;N-=1){if(ye=ne.slice(0,N).join("/"),Oe){for(de=Oe.length;de>0;de-=1)if(oe=He[Oe.slice(0,de).join("/")],oe&&(oe=oe[ye],oe)){ae=oe,O=N;break}}if(ae)break;!re&&Fe&&Fe[ye]&&(re=Fe[ye],ue=N)}!ae&&re&&(ae=re,O=ue),ae&&(ne.splice(0,O,ae),T=ne.join("/"))}return T}function me(T,Z){return function(){var ne=Q.call(arguments,0);return typeof ne[0]!="string"&&ne.length===1&&ne.push(null),r.apply(u,ne.concat([T,Z]))}}function i(T){return function(Z){return X(Z,T)}}function Ie(T){return function(Z){m[T]=Z}}function ie(T){if(z(g,T)){var Z=g[T];delete g[T],F[T]=!0,s.apply(u,Z)}if(!z(m,T)&&!z(F,T))throw new Error("No "+T);return m[T]}function ze(T){var Z,ne=T?T.indexOf("!"):-1;return ne>-1&&(Z=T.substring(0,ne),T=T.substring(ne+1,T.length)),[Z,T]}function et(T){return T?ze(T):[]}c=function(T,Z){var ne,ye=ze(T),oe=ye[0],ae=Z[1];return T=ye[1],oe&&(oe=X(oe,ae),ne=ie(oe)),oe?ne&&ne.normalize?T=ne.normalize(T,i(ae)):T=X(T,ae):(T=X(T,ae),ye=ze(T),oe=ye[0],T=ye[1],oe&&(ne=ie(oe))),{f:oe?oe+"!"+T:T,n:T,pr:oe,p:ne}};function Ct(T){return function(){return A&&A.config&&A.config[T]||{}}}d={require:function(T){return me(T)},exports:function(T){var Z=m[T];return typeof Z<"u"?Z:m[T]={}},module:function(T){return{id:T,uri:"",exports:m[T],config:Ct(T)}}},s=function(T,Z,ne,ye){var oe,ae,Se,O,re,ue,N=[],de=typeof ne,pe;if(ye=ye||T,ue=et(ye),de==="undefined"||de==="function"){for(Z=!Z.length&&ne.length?["require","exports","module"]:Z,re=0;re<Z.length;re+=1)if(O=c(Z[re],ue),ae=O.f,ae==="require")N[re]=d.require(T);else if(ae==="exports")N[re]=d.exports(T),pe=!0;else if(ae==="module")oe=N[re]=d.module(T);else if(z(m,ae)||z(g,ae)||z(F,ae))N[re]=ie(ae);else if(O.p)O.p.load(O.n,me(ye,!0),Ie(ae),{}),N[re]=m[ae];else throw new Error(T+" missing "+ae);Se=ne?ne.apply(m[T],N):void 0,T&&(oe&&oe.exports!==u&&oe.exports!==m[T]?m[T]=oe.exports:(Se!==u||!pe)&&(m[T]=Se))}else T&&(m[T]=ne)},y=w=r=function(T,Z,ne,ye,oe){if(typeof T=="string")return d[T]?d[T](Z):ie(c(T,et(Z)).f);if(!T.splice){if(A=T,A.deps&&r(A.deps,A.callback),!Z)return;Z.splice?(T=Z,Z=ne,ne=null):T=u}return Z=Z||function(){},typeof ne=="function"&&(ne=ye,ye=oe),ye?s(u,T,Z,ne):setTimeout(function(){s(u,T,Z,ne)},4),r},r.config=function(T){return r(T)},y._defined=m,p=function(T,Z,ne){if(typeof T!="string")throw new Error("See almond README: incorrect module build, no module name");Z.splice||(ne=Z,Z=[]),!z(m,T)&&!z(g,T)&&(g[T]=[T,Z,ne])},p.amd={jQuery:!0}})(),I.requirejs=y,I.require=w,I.define=p}})(),I.define("almond",function(){}),I.define("jquery",[],function(){var y=G||$;return y==null&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),y}),I.define("select2/utils",["jquery"],function(y){var w={};w.Extend=function(r,c){var d={}.hasOwnProperty;function m(){this.constructor=r}for(var g in c)d.call(c,g)&&(r[g]=c[g]);return m.prototype=c.prototype,r.prototype=new m,r.__super__=c.prototype,r};function p(r){var c=r.prototype,d=[];for(var m in c){var g=c[m];typeof g=="function"&&m!=="constructor"&&d.push(m)}return d}w.Decorate=function(r,c){var d=p(c),m=p(r);function g(){var X=Array.prototype.unshift,me=c.prototype.constructor.length,i=r.prototype.constructor;me>0&&(X.call(arguments,r.prototype.constructor),i=c.prototype.constructor),i.apply(this,arguments)}c.displayName=r.displayName;function A(){this.constructor=g}g.prototype=new A;for(var F=0;F<m.length;F++){var j=m[F];g.prototype[j]=r.prototype[j]}for(var Q=function(X){var me=function(){};X in g.prototype&&(me=g.prototype[X]);var i=c.prototype[X];return function(){var Ie=Array.prototype.unshift;return Ie.call(arguments,me),i.apply(this,arguments)}},Y=0;Y<d.length;Y++){var z=d[Y];g.prototype[z]=Q(z)}return g};var u=function(){this.listeners={}};u.prototype.on=function(r,c){this.listeners=this.listeners||{},r in this.listeners?this.listeners[r].push(c):this.listeners[r]=[c]},u.prototype.trigger=function(r){var c=Array.prototype.slice,d=c.call(arguments,1);this.listeners=this.listeners||{},d==null&&(d=[]),d.length===0&&d.push({}),d[0]._type=r,r in this.listeners&&this.invoke(this.listeners[r],c.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},u.prototype.invoke=function(r,c){for(var d=0,m=r.length;d<m;d++)r[d].apply(this,c)},w.Observable=u,w.generateChars=function(r){for(var c="",d=0;d<r;d++){var m=Math.floor(Math.random()*36);c+=m.toString(36)}return c},w.bind=function(r,c){return function(){r.apply(c,arguments)}},w._convertData=function(r){for(var c in r){var d=c.split("-"),m=r;if(d.length!==1){for(var g=0;g<d.length;g++){var A=d[g];A=A.substring(0,1).toLowerCase()+A.substring(1),A in m||(m[A]={}),g==d.length-1&&(m[A]=r[c]),m=m[A]}delete r[c]}}return r},w.hasScroll=function(r,c){var d=y(c),m=c.style.overflowX,g=c.style.overflowY;return m===g&&(g==="hidden"||g==="visible")?!1:m==="scroll"||g==="scroll"?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth},w.escapeMarkup=function(r){var c={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return typeof r!="string"?r:String(r).replace(/[&<>"'\/\\]/g,function(d){return c[d]})},w.appendMany=function(r,c){if(y.fn.jquery.substr(0,3)==="1.7"){var d=y();y.map(c,function(m){d=d.add(m)}),c=d}r.append(c)},w.__cache={};var s=0;return w.GetUniqueElementId=function(r){var c=r.getAttribute("data-select2-id");return c==null&&(r.id?(c=r.id,r.setAttribute("data-select2-id",c)):(r.setAttribute("data-select2-id",++s),c=s.toString())),c},w.StoreData=function(r,c,d){var m=w.GetUniqueElementId(r);w.__cache[m]||(w.__cache[m]={}),w.__cache[m][c]=d},w.GetData=function(r,c){var d=w.GetUniqueElementId(r);return c?w.__cache[d]&&w.__cache[d][c]!=null?w.__cache[d][c]:y(r).data(c):w.__cache[d]},w.RemoveData=function(r){var c=w.GetUniqueElementId(r);w.__cache[c]!=null&&delete w.__cache[c],r.removeAttribute("data-select2-id")},w}),I.define("select2/results",["jquery","./utils"],function(y,w){function p(u,s,r){this.$element=u,this.data=r,this.options=s,p.__super__.constructor.call(this)}return w.Extend(p,w.Observable),p.prototype.render=function(){var u=y('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&u.attr("aria-multiselectable","true"),this.$results=u,u},p.prototype.clear=function(){this.$results.empty()},p.prototype.displayMessage=function(u){var s=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=y('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),c=this.options.get("translations").get(u.message);r.append(s(c(u.args))),r[0].className+=" select2-results__message",this.$results.append(r)},p.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},p.prototype.append=function(u){this.hideLoading();var s=[];if(u.results==null||u.results.length===0){this.$results.children().length===0&&this.trigger("results:message",{message:"noResults"});return}u.results=this.sort(u.results);for(var r=0;r<u.results.length;r++){var c=u.results[r],d=this.option(c);s.push(d)}this.$results.append(s)},p.prototype.position=function(u,s){var r=s.find(".select2-results");r.append(u)},p.prototype.sort=function(u){var s=this.options.get("sorter");return s(u)},p.prototype.highlightFirstItem=function(){var u=this.$results.find(".select2-results__option[aria-selected]"),s=u.filter("[aria-selected=true]");s.length>0?s.first().trigger("mouseenter"):u.first().trigger("mouseenter"),this.ensureHighlightVisible()},p.prototype.setClasses=function(){var u=this;this.data.current(function(s){var r=y.map(s,function(d){return d.id.toString()}),c=u.$results.find(".select2-results__option[aria-selected]");c.each(function(){var d=y(this),m=w.GetData(this,"data"),g=""+m.id;m.element!=null&&m.element.selected||m.element==null&&y.inArray(g,r)>-1?d.attr("aria-selected","true"):d.attr("aria-selected","false")})})},p.prototype.showLoading=function(u){this.hideLoading();var s=this.options.get("translations").get("searching"),r={disabled:!0,loading:!0,text:s(u)},c=this.option(r);c.className+=" loading-results",this.$results.prepend(c)},p.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},p.prototype.option=function(u){var s=document.createElement("li");s.className="select2-results__option";var r={role:"option","aria-selected":"false"},c=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;(u.element!=null&&c.call(u.element,":disabled")||u.element==null&&u.disabled)&&(delete r["aria-selected"],r["aria-disabled"]="true"),u.id==null&&delete r["aria-selected"],u._resultId!=null&&(s.id=u._resultId),u.title&&(s.title=u.title),u.children&&(r.role="group",r["aria-label"]=u.text,delete r["aria-selected"]);for(var d in r){var m=r[d];s.setAttribute(d,m)}if(u.children){var g=y(s),A=document.createElement("strong");A.className="select2-results__group";var F=y(A);this.template(u,A);for(var j=[],Q=0;Q<u.children.length;Q++){var Y=u.children[Q],z=this.option(Y);j.push(z)}var X=y("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});X.append(j),g.append(A),g.append(X)}else this.template(u,s);return w.StoreData(s,"data",u),s},p.prototype.bind=function(u,s){var r=this,c=u.id+"-results";this.$results.attr("id",c),u.on("results:all",function(d){r.clear(),r.append(d.data),u.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),u.on("results:append",function(d){r.append(d.data),u.isOpen()&&r.setClasses()}),u.on("query",function(d){r.hideMessages(),r.showLoading(d)}),u.on("select",function(){u.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),u.on("unselect",function(){u.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),u.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),u.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),u.on("results:toggle",function(){var d=r.getHighlightedResults();d.length!==0&&d.trigger("mouseup")}),u.on("results:select",function(){var d=r.getHighlightedResults();if(d.length!==0){var m=w.GetData(d[0],"data");d.attr("aria-selected")=="true"?r.trigger("close",{}):r.trigger("select",{data:m})}}),u.on("results:previous",function(){var d=r.getHighlightedResults(),m=r.$results.find("[aria-selected]"),g=m.index(d);if(!(g<=0)){var A=g-1;d.length===0&&(A=0);var F=m.eq(A);F.trigger("mouseenter");var j=r.$results.offset().top,Q=F.offset().top,Y=r.$results.scrollTop()+(Q-j);A===0?r.$results.scrollTop(0):Q-j<0&&r.$results.scrollTop(Y)}}),u.on("results:next",function(){var d=r.getHighlightedResults(),m=r.$results.find("[aria-selected]"),g=m.index(d),A=g+1;if(!(A>=m.length)){var F=m.eq(A);F.trigger("mouseenter");var j=r.$results.offset().top+r.$results.outerHeight(!1),Q=F.offset().top+F.outerHeight(!1),Y=r.$results.scrollTop()+Q-j;A===0?r.$results.scrollTop(0):Q>j&&r.$results.scrollTop(Y)}}),u.on("results:focus",function(d){d.element.addClass("select2-results__option--highlighted")}),u.on("results:message",function(d){r.displayMessage(d)}),y.fn.mousewheel&&this.$results.on("mousewheel",function(d){var m=r.$results.scrollTop(),g=r.$results.get(0).scrollHeight-m+d.deltaY,A=d.deltaY>0&&m-d.deltaY<=0,F=d.deltaY<0&&g<=r.$results.height();A?(r.$results.scrollTop(0),d.preventDefault(),d.stopPropagation()):F&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),d.preventDefault(),d.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(d){var m=y(this),g=w.GetData(this,"data");if(m.attr("aria-selected")==="true"){r.options.get("multiple")?r.trigger("unselect",{originalEvent:d,data:g}):r.trigger("close",{});return}r.trigger("select",{originalEvent:d,data:g})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(d){var m=w.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:m,element:y(this)})})},p.prototype.getHighlightedResults=function(){var u=this.$results.find(".select2-results__option--highlighted");return u},p.prototype.destroy=function(){this.$results.remove()},p.prototype.ensureHighlightVisible=function(){var u=this.getHighlightedResults();if(u.length!==0){var s=this.$results.find("[aria-selected]"),r=s.index(u),c=this.$results.offset().top,d=u.offset().top,m=this.$results.scrollTop()+(d-c),g=d-c;m-=u.outerHeight(!1)*2,r<=2?this.$results.scrollTop(0):(g>this.$results.outerHeight()||g<0)&&this.$results.scrollTop(m)}},p.prototype.template=function(u,s){var r=this.options.get("templateResult"),c=this.options.get("escapeMarkup"),d=r(u,s);d==null?s.style.display="none":typeof d=="string"?s.innerHTML=c(d):y(s).append(d)},p}),I.define("select2/keys",[],function(){var y={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return y}),I.define("select2/selection/base",["jquery","../utils","../keys"],function(y,w,p){function u(s,r){this.$element=s,this.options=r,u.__super__.constructor.call(this)}return w.Extend(u,w.Observable),u.prototype.render=function(){var s=y('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,w.GetData(this.$element[0],"old-tabindex")!=null?this._tabindex=w.GetData(this.$element[0],"old-tabindex"):this.$element.attr("tabindex")!=null&&(this._tabindex=this.$element.attr("tabindex")),s.attr("title",this.$element.attr("title")),s.attr("tabindex",this._tabindex),s.attr("aria-disabled","false"),this.$selection=s,s},u.prototype.bind=function(s,r){var c=this,d=s.id+"-results";this.container=s,this.$selection.on("focus",function(m){c.trigger("focus",m)}),this.$selection.on("blur",function(m){c._handleBlur(m)}),this.$selection.on("keydown",function(m){c.trigger("keypress",m),m.which===p.SPACE&&m.preventDefault()}),s.on("results:focus",function(m){c.$selection.attr("aria-activedescendant",m.data._resultId)}),s.on("selection:update",function(m){c.update(m.data)}),s.on("open",function(){c.$selection.attr("aria-expanded","true"),c.$selection.attr("aria-owns",d),c._attachCloseHandler(s)}),s.on("close",function(){c.$selection.attr("aria-expanded","false"),c.$selection.removeAttr("aria-activedescendant"),c.$selection.removeAttr("aria-owns"),c.$selection.trigger("focus"),c._detachCloseHandler(s)}),s.on("enable",function(){c.$selection.attr("tabindex",c._tabindex),c.$selection.attr("aria-disabled","false")}),s.on("disable",function(){c.$selection.attr("tabindex","-1"),c.$selection.attr("aria-disabled","true")})},u.prototype._handleBlur=function(s){var r=this;window.setTimeout(function(){document.activeElement==r.$selection[0]||y.contains(r.$selection[0],document.activeElement)||r.trigger("blur",s)},1)},u.prototype._attachCloseHandler=function(s){y(document.body).on("mousedown.select2."+s.id,function(r){var c=y(r.target),d=c.closest(".select2"),m=y(".select2.select2-container--open");m.each(function(){if(this!=d[0]){var g=w.GetData(this,"element");g.select2("close")}})})},u.prototype._detachCloseHandler=function(s){y(document.body).off("mousedown.select2."+s.id)},u.prototype.position=function(s,r){var c=r.find(".selection");c.append(s)},u.prototype.destroy=function(){this._detachCloseHandler(this.container)},u.prototype.update=function(s){throw new Error("The `update` method must be defined in child classes.")},u.prototype.isEnabled=function(){return!this.isDisabled()},u.prototype.isDisabled=function(){return this.options.get("disabled")},u}),I.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(y,w,p,u){function s(){s.__super__.constructor.apply(this,arguments)}return p.Extend(s,w),s.prototype.render=function(){var r=s.__super__.render.call(this);return r.addClass("select2-selection--single"),r.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),r},s.prototype.bind=function(r,c){var d=this;s.__super__.bind.apply(this,arguments);var m=r.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",m).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",m),this.$selection.on("mousedown",function(g){g.which===1&&d.trigger("toggle",{originalEvent:g})}),this.$selection.on("focus",function(g){}),this.$selection.on("blur",function(g){}),r.on("focus",function(g){r.isOpen()||d.$selection.trigger("focus")})},s.prototype.clear=function(){var r=this.$selection.find(".select2-selection__rendered");r.empty(),r.removeAttr("title")},s.prototype.display=function(r,c){var d=this.options.get("templateSelection"),m=this.options.get("escapeMarkup");return m(d(r,c))},s.prototype.selectionContainer=function(){return y("<span></span>")},s.prototype.update=function(r){if(r.length===0){this.clear();return}var c=r[0],d=this.$selection.find(".select2-selection__rendered"),m=this.display(c,d);d.empty().append(m);var g=c.title||c.text;g?d.attr("title",g):d.removeAttr("title")},s}),I.define("select2/selection/multiple",["jquery","./base","../utils"],function(y,w,p){function u(s,r){u.__super__.constructor.apply(this,arguments)}return p.Extend(u,w),u.prototype.render=function(){var s=u.__super__.render.call(this);return s.addClass("select2-selection--multiple"),s.html('<ul class="select2-selection__rendered"></ul>'),s},u.prototype.bind=function(s,r){var c=this;u.__super__.bind.apply(this,arguments),this.$selection.on("click",function(d){c.trigger("toggle",{originalEvent:d})}),this.$selection.on("click",".select2-selection__choice__remove",function(d){if(!c.isDisabled()){var m=y(this),g=m.parent(),A=p.GetData(g[0],"data");c.trigger("unselect",{originalEvent:d,data:A})}})},u.prototype.clear=function(){var s=this.$selection.find(".select2-selection__rendered");s.empty(),s.removeAttr("title")},u.prototype.display=function(s,r){var c=this.options.get("templateSelection"),d=this.options.get("escapeMarkup");return d(c(s,r))},u.prototype.selectionContainer=function(){var s=y('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return s},u.prototype.update=function(s){if(this.clear(),s.length!==0){for(var r=[],c=0;c<s.length;c++){var d=s[c],m=this.selectionContainer(),g=this.display(d,m);m.append(g);var A=d.title||d.text;A&&m.attr("title",A),p.StoreData(m[0],"data",d),r.push(m)}var F=this.$selection.find(".select2-selection__rendered");p.appendMany(F,r)}},u}),I.define("select2/selection/placeholder",["../utils"],function(y){function w(p,u,s){this.placeholder=this.normalizePlaceholder(s.get("placeholder")),p.call(this,u,s)}return w.prototype.normalizePlaceholder=function(p,u){return typeof u=="string"&&(u={id:"",text:u}),u},w.prototype.createPlaceholder=function(p,u){var s=this.selectionContainer();return s.html(this.display(u)),s.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),s},w.prototype.update=function(p,u){var s=u.length==1&&u[0].id!=this.placeholder.id,r=u.length>1;if(r||s)return p.call(this,u);this.clear();var c=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(c)},w}),I.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(y,w,p){function u(){}return u.prototype.bind=function(s,r,c){var d=this;s.call(this,r,c),this.placeholder==null&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(m){d._handleClear(m)}),r.on("keypress",function(m){d._handleKeyboardClear(m,r)})},u.prototype._handleClear=function(s,r){if(!this.isDisabled()){var c=this.$selection.find(".select2-selection__clear");if(c.length!==0){r.stopPropagation();var d=p.GetData(c[0],"data"),m=this.$element.val();this.$element.val(this.placeholder.id);var g={data:d};if(this.trigger("clear",g),g.prevented){this.$element.val(m);return}for(var A=0;A<d.length;A++)if(g={data:d[A]},this.trigger("unselect",g),g.prevented){this.$element.val(m);return}this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}},u.prototype._handleKeyboardClear=function(s,r,c){c.isOpen()||(r.which==w.DELETE||r.which==w.BACKSPACE)&&this._handleClear(r)},u.prototype.update=function(s,r){if(s.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||r.length===0)){var c=this.options.get("translations").get("removeAllItems"),d=y('<span class="select2-selection__clear" title="'+c()+'">&times;</span>');p.StoreData(d[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(d)}},u}),I.define("select2/selection/search",["jquery","../utils","../keys"],function(y,w,p){function u(s,r,c){s.call(this,r,c)}return u.prototype.render=function(s){var r=y('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=r,this.$search=r.find("input");var c=s.call(this);return this._transferTabIndex(),c},u.prototype.bind=function(s,r,c){var d=this,m=r.id+"-results";s.call(this,r,c),r.on("open",function(){d.$search.attr("aria-controls",m),d.$search.trigger("focus")}),r.on("close",function(){d.$search.val(""),d.$search.removeAttr("aria-controls"),d.$search.removeAttr("aria-activedescendant"),d.$search.trigger("focus")}),r.on("enable",function(){d.$search.prop("disabled",!1),d._transferTabIndex()}),r.on("disable",function(){d.$search.prop("disabled",!0)}),r.on("focus",function(F){d.$search.trigger("focus")}),r.on("results:focus",function(F){F.data._resultId?d.$search.attr("aria-activedescendant",F.data._resultId):d.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(F){d.trigger("focus",F)}),this.$selection.on("focusout",".select2-search--inline",function(F){d._handleBlur(F)}),this.$selection.on("keydown",".select2-search--inline",function(F){F.stopPropagation(),d.trigger("keypress",F),d._keyUpPrevented=F.isDefaultPrevented();var j=F.which;if(j===p.BACKSPACE&&d.$search.val()===""){var Q=d.$searchContainer.prev(".select2-selection__choice");if(Q.length>0){var Y=w.GetData(Q[0],"data");d.searchRemoveChoice(Y),F.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(F){d.$search.val()&&F.stopPropagation()});var g=document.documentMode,A=g&&g<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(F){if(A){d.$selection.off("input.search input.searchcheck");return}d.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(F){if(A&&F.type==="input"){d.$selection.off("input.search input.searchcheck");return}var j=F.which;j==p.SHIFT||j==p.CTRL||j==p.ALT||j!=p.TAB&&d.handleSearch(F)})},u.prototype._transferTabIndex=function(s){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},u.prototype.createPlaceholder=function(s,r){this.$search.attr("placeholder",r.text)},u.prototype.update=function(s,r){var c=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),s.call(this,r),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),c&&this.$search.trigger("focus")},u.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var s=this.$search.val();this.trigger("query",{term:s})}this._keyUpPrevented=!1},u.prototype.searchRemoveChoice=function(s,r){this.trigger("unselect",{data:r}),this.$search.val(r.text),this.handleSearch()},u.prototype.resizeSearch=function(){this.$search.css("width","25px");var s="";if(this.$search.attr("placeholder")!=="")s=this.$selection.find(".select2-selection__rendered").width();else{var r=this.$search.val().length+1;s=r*.75+"em"}this.$search.css("width",s)},u}),I.define("select2/selection/eventRelay",["jquery"],function(y){function w(){}return w.prototype.bind=function(p,u,s){var r=this,c=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],d=["opening","closing","selecting","unselecting","clearing"];p.call(this,u,s),u.on("*",function(m,g){if(y.inArray(m,c)!==-1){g=g||{};var A=y.Event("select2:"+m,{params:g});r.$element.trigger(A),y.inArray(m,d)!==-1&&(g.prevented=A.isDefaultPrevented())}})},w}),I.define("select2/translation",["jquery","require"],function(y,w){function p(u){this.dict=u||{}}return p.prototype.all=function(){return this.dict},p.prototype.get=function(u){return this.dict[u]},p.prototype.extend=function(u){this.dict=y.extend({},u.all(),this.dict)},p._cache={},p.loadPath=function(u){if(!(u in p._cache)){var s=w(u);p._cache[u]=s}return new p(p._cache[u])},p}),I.define("select2/diacritics",[],function(){var y={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u0152:"OE",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u0153:"oe",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03CE:"\u03C9",\u03C2:"\u03C3","\u2019":"'"};return y}),I.define("select2/data/base",["../utils"],function(y){function w(p,u){w.__super__.constructor.call(this)}return y.Extend(w,y.Observable),w.prototype.current=function(p){throw new Error("The `current` method must be defined in child classes.")},w.prototype.query=function(p,u){throw new Error("The `query` method must be defined in child classes.")},w.prototype.bind=function(p,u){},w.prototype.destroy=function(){},w.prototype.generateResultId=function(p,u){var s=p.id+"-result-";return s+=y.generateChars(4),u.id!=null?s+="-"+u.id.toString():s+="-"+y.generateChars(4),s},w}),I.define("select2/data/select",["./base","../utils","jquery"],function(y,w,p){function u(s,r){this.$element=s,this.options=r,u.__super__.constructor.call(this)}return w.Extend(u,y),u.prototype.current=function(s){var r=[],c=this;this.$element.find(":selected").each(function(){var d=p(this),m=c.item(d);r.push(m)}),s(r)},u.prototype.select=function(s){var r=this;if(s.selected=!0,p(s.element).is("option")){s.element.selected=!0,this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple"))this.current(function(d){var m=[];s=[s],s.push.apply(s,d);for(var g=0;g<s.length;g++){var A=s[g].id;p.inArray(A,m)===-1&&m.push(A)}r.$element.val(m),r.$element.trigger("input").trigger("change")});else{var c=s.id;this.$element.val(c),this.$element.trigger("input").trigger("change")}},u.prototype.unselect=function(s){var r=this;if(this.$element.prop("multiple")){if(s.selected=!1,p(s.element).is("option")){s.element.selected=!1,this.$element.trigger("input").trigger("change");return}this.current(function(c){for(var d=[],m=0;m<c.length;m++){var g=c[m].id;g!==s.id&&p.inArray(g,d)===-1&&d.push(g)}r.$element.val(d),r.$element.trigger("input").trigger("change")})}},u.prototype.bind=function(s,r){var c=this;this.container=s,s.on("select",function(d){c.select(d.data)}),s.on("unselect",function(d){c.unselect(d.data)})},u.prototype.destroy=function(){this.$element.find("*").each(function(){w.RemoveData(this)})},u.prototype.query=function(s,r){var c=[],d=this,m=this.$element.children();m.each(function(){var g=p(this);if(!(!g.is("option")&&!g.is("optgroup"))){var A=d.item(g),F=d.matches(s,A);F!==null&&c.push(F)}}),r({results:c})},u.prototype.addOptions=function(s){w.appendMany(this.$element,s)},u.prototype.option=function(s){var r;s.children?(r=document.createElement("optgroup"),r.label=s.text):(r=document.createElement("option"),r.textContent!==void 0?r.textContent=s.text:r.innerText=s.text),s.id!==void 0&&(r.value=s.id),s.disabled&&(r.disabled=!0),s.selected&&(r.selected=!0),s.title&&(r.title=s.title);var c=p(r),d=this._normalizeItem(s);return d.element=r,w.StoreData(r,"data",d),c},u.prototype.item=function(s){var r={};if(r=w.GetData(s[0],"data"),r!=null)return r;if(s.is("option"))r={id:s.val(),text:s.text(),disabled:s.prop("disabled"),selected:s.prop("selected"),title:s.prop("title")};else if(s.is("optgroup")){r={text:s.prop("label"),children:[],title:s.prop("title")};for(var c=s.children("option"),d=[],m=0;m<c.length;m++){var g=p(c[m]),A=this.item(g);d.push(A)}r.children=d}return r=this._normalizeItem(r),r.element=s[0],w.StoreData(s[0],"data",r),r},u.prototype._normalizeItem=function(s){s!==Object(s)&&(s={id:s,text:s}),s=p.extend({},{text:""},s);var r={selected:!1,disabled:!1};return s.id!=null&&(s.id=s.id.toString()),s.text!=null&&(s.text=s.text.toString()),s._resultId==null&&s.id&&this.container!=null&&(s._resultId=this.generateResultId(this.container,s)),p.extend({},r,s)},u.prototype.matches=function(s,r){var c=this.options.get("matcher");return c(s,r)},u}),I.define("select2/data/array",["./select","../utils","jquery"],function(y,w,p){function u(s,r){this._dataToConvert=r.get("data")||[],u.__super__.constructor.call(this,s,r)}return w.Extend(u,y),u.prototype.bind=function(s,r){u.__super__.bind.call(this,s,r),this.addOptions(this.convertToOptions(this._dataToConvert))},u.prototype.select=function(s){var r=this.$element.find("option").filter(function(c,d){return d.value==s.id.toString()});r.length===0&&(r=this.option(s),this.addOptions(r)),u.__super__.select.call(this,s)},u.prototype.convertToOptions=function(s){var r=this,c=this.$element.find("option"),d=c.map(function(){return r.item(p(this)).id}).get(),m=[];function g(i){return function(){return p(this).val()==i.id}}for(var A=0;A<s.length;A++){var F=this._normalizeItem(s[A]);if(p.inArray(F.id,d)>=0){var j=c.filter(g(F)),Q=this.item(j),Y=p.extend(!0,{},F,Q),z=this.option(Y);j.replaceWith(z);continue}var X=this.option(F);if(F.children){var me=this.convertToOptions(F.children);w.appendMany(X,me)}m.push(X)}return m},u}),I.define("select2/data/ajax",["./array","../utils","jquery"],function(y,w,p){function u(s,r){this.ajaxOptions=this._applyDefaults(r.get("ajax")),this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults),u.__super__.constructor.call(this,s,r)}return w.Extend(u,y),u.prototype._applyDefaults=function(s){var r={data:function(c){return p.extend({},c,{q:c.term})},transport:function(c,d,m){var g=p.ajax(c);return g.then(d),g.fail(m),g}};return p.extend({},r,s,!0)},u.prototype.processResults=function(s){return s},u.prototype.query=function(s,r){var c=[],d=this;this._request!=null&&(p.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var m=p.extend({type:"GET"},this.ajaxOptions);typeof m.url=="function"&&(m.url=m.url.call(this.$element,s)),typeof m.data=="function"&&(m.data=m.data.call(this.$element,s));function g(){var A=m.transport(m,function(F){var j=d.processResults(F,s);d.options.get("debug")&&window.console&&console.error&&(!j||!j.results||!p.isArray(j.results))&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),r(j)},function(){"status"in A&&(A.status===0||A.status==="0")||d.trigger("results:message",{message:"errorLoading"})});d._request=A}this.ajaxOptions.delay&&s.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(g,this.ajaxOptions.delay)):g()},u}),I.define("select2/data/tags",["jquery"],function(y){function w(p,u,s){var r=s.get("tags"),c=s.get("createTag");c!==void 0&&(this.createTag=c);var d=s.get("insertTag");if(d!==void 0&&(this.insertTag=d),p.call(this,u,s),y.isArray(r))for(var m=0;m<r.length;m++){var g=r[m],A=this._normalizeItem(g),F=this.option(A);this.$element.append(F)}}return w.prototype.query=function(p,u,s){var r=this;if(this._removeOldTags(),u.term==null||u.page!=null){p.call(this,u,s);return}function c(d,m){for(var g=d.results,A=0;A<g.length;A++){var F=g[A],j=F.children!=null&&!c({results:F.children},!0),Q=(F.text||"").toUpperCase(),Y=(u.term||"").toUpperCase(),z=Q===Y;if(z||j){if(m)return!1;d.data=g,s(d);return}}if(m)return!0;var X=r.createTag(u);if(X!=null){var me=r.option(X);me.attr("data-select2-tag",!0),r.addOptions([me]),r.insertTag(g,X)}d.results=g,s(d)}p.call(this,u,c)},w.prototype.createTag=function(p,u){var s=y.trim(u.term);return s===""?null:{id:s,text:s}},w.prototype.insertTag=function(p,u,s){u.unshift(s)},w.prototype._removeOldTags=function(p){var u=this.$element.find("option[data-select2-tag]");u.each(function(){this.selected||y(this).remove()})},w}),I.define("select2/data/tokenizer",["jquery"],function(y){function w(p,u,s){var r=s.get("tokenizer");r!==void 0&&(this.tokenizer=r),p.call(this,u,s)}return w.prototype.bind=function(p,u,s){p.call(this,u,s),this.$search=u.dropdown.$search||u.selection.$search||s.find(".select2-search__field")},w.prototype.query=function(p,u,s){var r=this;function c(g){var A=r._normalizeItem(g),F=r.$element.find("option").filter(function(){return y(this).val()===A.id});if(!F.length){var j=r.option(A);j.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([j])}d(A)}function d(g){r.trigger("select",{data:g})}u.term=u.term||"";var m=this.tokenizer(u,this.options,c);m.term!==u.term&&(this.$search.length&&(this.$search.val(m.term),this.$search.trigger("focus")),u.term=m.term),p.call(this,u,s)},w.prototype.tokenizer=function(p,u,s,r){for(var c=s.get("tokenSeparators")||[],d=u.term,m=0,g=this.createTag||function(Y){return{id:Y.term,text:Y.term}};m<d.length;){var A=d[m];if(y.inArray(A,c)===-1){m++;continue}var F=d.substr(0,m),j=y.extend({},u,{term:F}),Q=g(j);if(Q==null){m++;continue}r(Q),d=d.substr(m+1)||"",m=0}return{term:d}},w}),I.define("select2/data/minimumInputLength",[],function(){function y(w,p,u){this.minimumInputLength=u.get("minimumInputLength"),w.call(this,p,u)}return y.prototype.query=function(w,p,u){if(p.term=p.term||"",p.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:p.term,params:p}});return}w.call(this,p,u)},y}),I.define("select2/data/maximumInputLength",[],function(){function y(w,p,u){this.maximumInputLength=u.get("maximumInputLength"),w.call(this,p,u)}return y.prototype.query=function(w,p,u){if(p.term=p.term||"",this.maximumInputLength>0&&p.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:p.term,params:p}});return}w.call(this,p,u)},y}),I.define("select2/data/maximumSelectionLength",[],function(){function y(w,p,u){this.maximumSelectionLength=u.get("maximumSelectionLength"),w.call(this,p,u)}return y.prototype.bind=function(w,p,u){var s=this;w.call(this,p,u),p.on("select",function(){s._checkIfMaximumSelected()})},y.prototype.query=function(w,p,u){var s=this;this._checkIfMaximumSelected(function(){w.call(s,p,u)})},y.prototype._checkIfMaximumSelected=function(w,p){var u=this;this.current(function(s){var r=s!=null?s.length:0;if(u.maximumSelectionLength>0&&r>=u.maximumSelectionLength){u.trigger("results:message",{message:"maximumSelected",args:{maximum:u.maximumSelectionLength}});return}p&&p()})},y}),I.define("select2/dropdown",["jquery","./utils"],function(y,w){function p(u,s){this.$element=u,this.options=s,p.__super__.constructor.call(this)}return w.Extend(p,w.Observable),p.prototype.render=function(){var u=y('<span class="select2-dropdown"><span class="select2-results"></span></span>');return u.attr("dir",this.options.get("dir")),this.$dropdown=u,u},p.prototype.bind=function(){},p.prototype.position=function(u,s){},p.prototype.destroy=function(){this.$dropdown.remove()},p}),I.define("select2/dropdown/search",["jquery","../utils"],function(y,w){function p(){}return p.prototype.render=function(u){var s=u.call(this),r=y('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),s.prepend(r),s},p.prototype.bind=function(u,s,r){var c=this,d=s.id+"-results";u.call(this,s,r),this.$search.on("keydown",function(m){c.trigger("keypress",m),c._keyUpPrevented=m.isDefaultPrevented()}),this.$search.on("input",function(m){y(this).off("keyup")}),this.$search.on("keyup input",function(m){c.handleSearch(m)}),s.on("open",function(){c.$search.attr("tabindex",0),c.$search.attr("aria-controls",d),c.$search.trigger("focus"),window.setTimeout(function(){c.$search.trigger("focus")},0)}),s.on("close",function(){c.$search.attr("tabindex",-1),c.$search.removeAttr("aria-controls"),c.$search.removeAttr("aria-activedescendant"),c.$search.val(""),c.$search.trigger("blur")}),s.on("focus",function(){s.isOpen()||c.$search.trigger("focus")}),s.on("results:all",function(m){if(m.query.term==null||m.query.term===""){var g=c.showSearch(m);g?c.$searchContainer.removeClass("select2-search--hide"):c.$searchContainer.addClass("select2-search--hide")}}),s.on("results:focus",function(m){m.data._resultId?c.$search.attr("aria-activedescendant",m.data._resultId):c.$search.removeAttr("aria-activedescendant")})},p.prototype.handleSearch=function(u){if(!this._keyUpPrevented){var s=this.$search.val();this.trigger("query",{term:s})}this._keyUpPrevented=!1},p.prototype.showSearch=function(u,s){return!0},p}),I.define("select2/dropdown/hidePlaceholder",[],function(){function y(w,p,u,s){this.placeholder=this.normalizePlaceholder(u.get("placeholder")),w.call(this,p,u,s)}return y.prototype.append=function(w,p){p.results=this.removePlaceholder(p.results),w.call(this,p)},y.prototype.normalizePlaceholder=function(w,p){return typeof p=="string"&&(p={id:"",text:p}),p},y.prototype.removePlaceholder=function(w,p){for(var u=p.slice(0),s=p.length-1;s>=0;s--){var r=p[s];this.placeholder.id===r.id&&u.splice(s,1)}return u},y}),I.define("select2/dropdown/infiniteScroll",["jquery"],function(y){function w(p,u,s,r){this.lastParams={},p.call(this,u,s,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return w.prototype.append=function(p,u){this.$loadingMore.remove(),this.loading=!1,p.call(this,u),this.showLoadingMore(u)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},w.prototype.bind=function(p,u,s){var r=this;p.call(this,u,s),u.on("query",function(c){r.lastParams=c,r.loading=!0}),u.on("query:append",function(c){r.lastParams=c,r.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},w.prototype.loadMoreIfNeeded=function(){var p=y.contains(document.documentElement,this.$loadingMore[0]);if(!(this.loading||!p)){var u=this.$results.offset().top+this.$results.outerHeight(!1),s=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1);u+50>=s&&this.loadMore()}},w.prototype.loadMore=function(){this.loading=!0;var p=y.extend({},{page:1},this.lastParams);p.page++,this.trigger("query:append",p)},w.prototype.showLoadingMore=function(p,u){return u.pagination&&u.pagination.more},w.prototype.createLoadingMore=function(){var p=y('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),u=this.options.get("translations").get("loadingMore");return p.html(u(this.lastParams)),p},w}),I.define("select2/dropdown/attachBody",["jquery","../utils"],function(y,w){function p(u,s,r){this.$dropdownParent=y(r.get("dropdownParent")||document.body),u.call(this,s,r)}return p.prototype.bind=function(u,s,r){var c=this;u.call(this,s,r),s.on("open",function(){c._showDropdown(),c._attachPositioningHandler(s),c._bindContainerResultHandlers(s)}),s.on("close",function(){c._hideDropdown(),c._detachPositioningHandler(s)}),this.$dropdownContainer.on("mousedown",function(d){d.stopPropagation()})},p.prototype.destroy=function(u){u.call(this),this.$dropdownContainer.remove()},p.prototype.position=function(u,s,r){s.attr("class",r.attr("class")),s.removeClass("select2"),s.addClass("select2-container--open"),s.css({position:"absolute",top:-999999}),this.$container=r},p.prototype.render=function(u){var s=y("<span></span>"),r=u.call(this);return s.append(r),this.$dropdownContainer=s,s},p.prototype._hideDropdown=function(u){this.$dropdownContainer.detach()},p.prototype._bindContainerResultHandlers=function(u,s){if(!this._containerResultsHandlersBound){var r=this;s.on("results:all",function(){r._positionDropdown(),r._resizeDropdown()}),s.on("results:append",function(){r._positionDropdown(),r._resizeDropdown()}),s.on("results:message",function(){r._positionDropdown(),r._resizeDropdown()}),s.on("select",function(){r._positionDropdown(),r._resizeDropdown()}),s.on("unselect",function(){r._positionDropdown(),r._resizeDropdown()}),this._containerResultsHandlersBound=!0}},p.prototype._attachPositioningHandler=function(u,s){var r=this,c="scroll.select2."+s.id,d="resize.select2."+s.id,m="orientationchange.select2."+s.id,g=this.$container.parents().filter(w.hasScroll);g.each(function(){w.StoreData(this,"select2-scroll-position",{x:y(this).scrollLeft(),y:y(this).scrollTop()})}),g.on(c,function(A){var F=w.GetData(this,"select2-scroll-position");y(this).scrollTop(F.y)}),y(window).on(c+" "+d+" "+m,function(A){r._positionDropdown(),r._resizeDropdown()})},p.prototype._detachPositioningHandler=function(u,s){var r="scroll.select2."+s.id,c="resize.select2."+s.id,d="orientationchange.select2."+s.id,m=this.$container.parents().filter(w.hasScroll);m.off(r),y(window).off(r+" "+c+" "+d)},p.prototype._positionDropdown=function(){var u=y(window),s=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),c=null,d=this.$container.offset();d.bottom=d.top+this.$container.outerHeight(!1);var m={height:this.$container.outerHeight(!1)};m.top=d.top,m.bottom=d.top+m.height;var g={height:this.$dropdown.outerHeight(!1)},A={top:u.scrollTop(),bottom:u.scrollTop()+u.height()},F=A.top<d.top-g.height,j=A.bottom>d.bottom+g.height,Q={left:d.left,top:m.bottom},Y=this.$dropdownParent;Y.css("position")==="static"&&(Y=Y.offsetParent());var z={top:0,left:0};(y.contains(document.body,Y[0])||Y[0].isConnected)&&(z=Y.offset()),Q.top-=z.top,Q.left-=z.left,!s&&!r&&(c="below"),!j&&F&&!s?c="above":!F&&j&&s&&(c="below"),(c=="above"||s&&c!=="below")&&(Q.top=m.top-z.top-g.height),c!=null&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+c),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+c)),this.$dropdownContainer.css(Q)},p.prototype._resizeDropdown=function(){var u={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(u.minWidth=u.width,u.position="relative",u.width="auto"),this.$dropdown.css(u)},p.prototype._showDropdown=function(u){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},p}),I.define("select2/dropdown/minimumResultsForSearch",[],function(){function y(p){for(var u=0,s=0;s<p.length;s++){var r=p[s];r.children?u+=y(r.children):u++}return u}function w(p,u,s,r){this.minimumResultsForSearch=s.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),p.call(this,u,s,r)}return w.prototype.showSearch=function(p,u){return y(u.data.results)<this.minimumResultsForSearch?!1:p.call(this,u)},w}),I.define("select2/dropdown/selectOnClose",["../utils"],function(y){function w(){}return w.prototype.bind=function(p,u,s){var r=this;p.call(this,u,s),u.on("close",function(c){r._handleSelectOnClose(c)})},w.prototype._handleSelectOnClose=function(p,u){if(u&&u.originalSelect2Event!=null){var s=u.originalSelect2Event;if(s._type==="select"||s._type==="unselect")return}var r=this.getHighlightedResults();if(!(r.length<1)){var c=y.GetData(r[0],"data");c.element!=null&&c.element.selected||c.element==null&&c.selected||this.trigger("select",{data:c})}},w}),I.define("select2/dropdown/closeOnSelect",[],function(){function y(){}return y.prototype.bind=function(w,p,u){var s=this;w.call(this,p,u),p.on("select",function(r){s._selectTriggered(r)}),p.on("unselect",function(r){s._selectTriggered(r)})},y.prototype._selectTriggered=function(w,p){var u=p.originalEvent;u&&(u.ctrlKey||u.metaKey)||this.trigger("close",{originalEvent:u,originalSelect2Event:p})},y}),I.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(y){var w=y.input.length-y.maximum,p="Please delete "+w+" character";return w!=1&&(p+="s"),p},inputTooShort:function(y){var w=y.minimum-y.input.length,p="Please enter "+w+" or more characters";return p},loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(y){var w="You can only select "+y.maximum+" item";return y.maximum!=1&&(w+="s"),w},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"},removeAllItems:function(){return"Remove all items"}}}),I.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(y,w,p,u,s,r,c,d,m,g,A,F,j,Q,Y,z,X,me,i,Ie,ie,ze,et,Ct,T,Z,ne,ye,oe){function ae(){this.reset()}ae.prototype.apply=function(O){if(O=y.extend(!0,{},this.defaults,O),O.dataAdapter==null){if(O.ajax!=null?O.dataAdapter=Y:O.data!=null?O.dataAdapter=Q:O.dataAdapter=j,O.minimumInputLength>0&&(O.dataAdapter=g.Decorate(O.dataAdapter,me)),O.maximumInputLength>0&&(O.dataAdapter=g.Decorate(O.dataAdapter,i)),O.maximumSelectionLength>0&&(O.dataAdapter=g.Decorate(O.dataAdapter,Ie)),O.tags&&(O.dataAdapter=g.Decorate(O.dataAdapter,z)),(O.tokenSeparators!=null||O.tokenizer!=null)&&(O.dataAdapter=g.Decorate(O.dataAdapter,X)),O.query!=null){var re=w(O.amdBase+"compat/query");O.dataAdapter=g.Decorate(O.dataAdapter,re)}if(O.initSelection!=null){var ue=w(O.amdBase+"compat/initSelection");O.dataAdapter=g.Decorate(O.dataAdapter,ue)}}if(O.resultsAdapter==null&&(O.resultsAdapter=p,O.ajax!=null&&(O.resultsAdapter=g.Decorate(O.resultsAdapter,Ct)),O.placeholder!=null&&(O.resultsAdapter=g.Decorate(O.resultsAdapter,et)),O.selectOnClose&&(O.resultsAdapter=g.Decorate(O.resultsAdapter,ne))),O.dropdownAdapter==null){if(O.multiple)O.dropdownAdapter=ie;else{var N=g.Decorate(ie,ze);O.dropdownAdapter=N}if(O.minimumResultsForSearch!==0&&(O.dropdownAdapter=g.Decorate(O.dropdownAdapter,Z)),O.closeOnSelect&&(O.dropdownAdapter=g.Decorate(O.dropdownAdapter,ye)),O.dropdownCssClass!=null||O.dropdownCss!=null||O.adaptDropdownCssClass!=null){var de=w(O.amdBase+"compat/dropdownCss");O.dropdownAdapter=g.Decorate(O.dropdownAdapter,de)}O.dropdownAdapter=g.Decorate(O.dropdownAdapter,T)}if(O.selectionAdapter==null){if(O.multiple?O.selectionAdapter=s:O.selectionAdapter=u,O.placeholder!=null&&(O.selectionAdapter=g.Decorate(O.selectionAdapter,r)),O.allowClear&&(O.selectionAdapter=g.Decorate(O.selectionAdapter,c)),O.multiple&&(O.selectionAdapter=g.Decorate(O.selectionAdapter,d)),O.containerCssClass!=null||O.containerCss!=null||O.adaptContainerCssClass!=null){var pe=w(O.amdBase+"compat/containerCss");O.selectionAdapter=g.Decorate(O.selectionAdapter,pe)}O.selectionAdapter=g.Decorate(O.selectionAdapter,m)}O.language=this._resolveLanguage(O.language),O.language.push("en");for(var Pe=[],Oe=0;Oe<O.language.length;Oe++){var He=O.language[Oe];Pe.indexOf(He)===-1&&Pe.push(He)}return O.language=Pe,O.translations=this._processTranslations(O.language,O.debug),O},ae.prototype.reset=function(){function O(ue){function N(de){return F[de]||de}return ue.replace(/[^\u0000-\u007E]/g,N)}function re(ue,N){if(y.trim(ue.term)==="")return N;if(N.children&&N.children.length>0){for(var de=y.extend(!0,{},N),pe=N.children.length-1;pe>=0;pe--){var Pe=N.children[pe],Oe=re(ue,Pe);Oe==null&&de.children.splice(pe,1)}return de.children.length>0?de:re(ue,de)}var He=O(N.text).toUpperCase(),Fe=O(ue.term).toUpperCase();return He.indexOf(Fe)>-1?N:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:g.escapeMarkup,language:{},matcher:re,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(ue){return ue},templateResult:function(ue){return ue.text},templateSelection:function(ue){return ue.text},theme:"default",width:"resolve"}},ae.prototype.applyFromElement=function(O,re){var ue=O.language,N=this.defaults.language,de=re.prop("lang"),pe=re.closest("[lang]").prop("lang"),Pe=Array.prototype.concat.call(this._resolveLanguage(de),this._resolveLanguage(ue),this._resolveLanguage(N),this._resolveLanguage(pe));return O.language=Pe,O},ae.prototype._resolveLanguage=function(O){if(!O)return[];if(y.isEmptyObject(O))return[];if(y.isPlainObject(O))return[O];var re;y.isArray(O)?re=O:re=[O];for(var ue=[],N=0;N<re.length;N++)if(ue.push(re[N]),typeof re[N]=="string"&&re[N].indexOf("-")>0){var de=re[N].split("-"),pe=de[0];ue.push(pe)}return ue},ae.prototype._processTranslations=function(O,re){for(var ue=new A,N=0;N<O.length;N++){var de=new A,pe=O[N];if(typeof pe=="string")try{de=A.loadPath(pe)}catch{try{pe=this.defaults.amdLanguageBase+pe,de=A.loadPath(pe)}catch{re&&window.console&&console.warn&&console.warn('Select2: The language file for "'+pe+'" could not be automatically loaded. A fallback will be used instead.')}}else y.isPlainObject(pe)?de=new A(pe):de=pe;ue.extend(de)}return ue},ae.prototype.set=function(O,re){var ue=y.camelCase(O),N={};N[ue]=re;var de=g._convertData(N);y.extend(!0,this.defaults,de)};var Se=new ae;return Se}),I.define("select2/options",["require","jquery","./defaults","./utils"],function(y,w,p,u){function s(r,c){if(this.options=r,c!=null&&this.fromElement(c),c!=null&&(this.options=p.applyFromElement(this.options,c)),this.options=p.apply(this.options),c&&c.is("input")){var d=y(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=u.Decorate(this.options.dataAdapter,d)}}return s.prototype.fromElement=function(r){var c=["select2"];this.options.multiple==null&&(this.options.multiple=r.prop("multiple")),this.options.disabled==null&&(this.options.disabled=r.prop("disabled")),this.options.dir==null&&(r.prop("dir")?this.options.dir=r.prop("dir"):r.closest("[dir]").prop("dir")?this.options.dir=r.closest("[dir]").prop("dir"):this.options.dir="ltr"),r.prop("disabled",this.options.disabled),r.prop("multiple",this.options.multiple),u.GetData(r[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),u.StoreData(r[0],"data",u.GetData(r[0],"select2Tags")),u.StoreData(r[0],"tags",!0)),u.GetData(r[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),r.attr("ajax--url",u.GetData(r[0],"ajaxUrl")),u.StoreData(r[0],"ajax-Url",u.GetData(r[0],"ajaxUrl")));var d={};function m(me,i){return i.toUpperCase()}for(var g=0;g<r[0].attributes.length;g++){var A=r[0].attributes[g].name,F="data-";if(A.substr(0,F.length)==F){var j=A.substring(F.length),Q=u.GetData(r[0],j),Y=j.replace(/-([a-z])/g,m);d[Y]=Q}}w.fn.jquery&&w.fn.jquery.substr(0,2)=="1."&&r[0].dataset&&(d=w.extend(!0,{},r[0].dataset,d));var z=w.extend(!0,{},u.GetData(r[0]),d);z=u._convertData(z);for(var X in z)w.inArray(X,c)>-1||(w.isPlainObject(this.options[X])?w.extend(this.options[X],z[X]):this.options[X]=z[X]);return this},s.prototype.get=function(r){return this.options[r]},s.prototype.set=function(r,c){this.options[r]=c},s}),I.define("select2/core",["jquery","./options","./utils","./keys"],function(y,w,p,u){var s=function(r,c){p.GetData(r[0],"select2")!=null&&p.GetData(r[0],"select2").destroy(),this.$element=r,this.id=this._generateId(r),c=c||{},this.options=new w(c,r),s.__super__.constructor.call(this);var d=r.attr("tabindex")||0;p.StoreData(r[0],"old-tabindex",d),r.attr("tabindex","-1");var m=this.options.get("dataAdapter");this.dataAdapter=new m(r,this.options);var g=this.render();this._placeContainer(g);var A=this.options.get("selectionAdapter");this.selection=new A(r,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var F=this.options.get("dropdownAdapter");this.dropdown=new F(r,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(r,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var Q=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(Y){Q.trigger("selection:update",{data:Y})}),r.addClass("select2-hidden-accessible"),r.attr("aria-hidden","true"),this._syncAttributes(),p.StoreData(r[0],"select2",this),r.data("select2",this)};return p.Extend(s,p.Observable),s.prototype._generateId=function(r){var c="";return r.attr("id")!=null?c=r.attr("id"):r.attr("name")!=null?c=r.attr("name")+"-"+p.generateChars(2):c=p.generateChars(4),c=c.replace(/(:|\.|\[|\]|,)/g,""),c="select2-"+c,c},s.prototype._placeContainer=function(r){r.insertAfter(this.$element);var c=this._resolveWidth(this.$element,this.options.get("width"));c!=null&&r.css("width",c)},s.prototype._resolveWidth=function(r,c){var d=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(c=="resolve"){var m=this._resolveWidth(r,"style");return m??this._resolveWidth(r,"element")}if(c=="element"){var g=r.outerWidth(!1);return g<=0?"auto":g+"px"}if(c=="style"){var A=r.attr("style");if(typeof A!="string")return null;for(var F=A.split(";"),j=0,Q=F.length;j<Q;j=j+1){var Y=F[j].replace(/\s/g,""),z=Y.match(d);if(z!==null&&z.length>=1)return z[1]}return null}if(c=="computedstyle"){var X=window.getComputedStyle(r[0]);return X.width}return c},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var r=this;this.$element.on("change.select2",function(){r.dataAdapter.current(function(d){r.trigger("selection:update",{data:d})})}),this.$element.on("focus.select2",function(d){r.trigger("focus",d)}),this._syncA=p.bind(this._syncAttributes,this),this._syncS=p.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var c=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;c!=null?(this._observer=new c(function(d){r._syncA(),r._syncS(null,d)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",r._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",r._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",r._syncS,!1))},s.prototype._registerDataEvents=function(){var r=this;this.dataAdapter.on("*",function(c,d){r.trigger(c,d)})},s.prototype._registerSelectionEvents=function(){var r=this,c=["toggle","focus"];this.selection.on("toggle",function(){r.toggleDropdown()}),this.selection.on("focus",function(d){r.focus(d)}),this.selection.on("*",function(d,m){y.inArray(d,c)===-1&&r.trigger(d,m)})},s.prototype._registerDropdownEvents=function(){var r=this;this.dropdown.on("*",function(c,d){r.trigger(c,d)})},s.prototype._registerResultsEvents=function(){var r=this;this.results.on("*",function(c,d){r.trigger(c,d)})},s.prototype._registerEvents=function(){var r=this;this.on("open",function(){r.$container.addClass("select2-container--open")}),this.on("close",function(){r.$container.removeClass("select2-container--open")}),this.on("enable",function(){r.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){r.$container.addClass("select2-container--disabled")}),this.on("blur",function(){r.$container.removeClass("select2-container--focus")}),this.on("query",function(c){r.isOpen()||r.trigger("open",{}),this.dataAdapter.query(c,function(d){r.trigger("results:all",{data:d,query:c})})}),this.on("query:append",function(c){this.dataAdapter.query(c,function(d){r.trigger("results:append",{data:d,query:c})})}),this.on("keypress",function(c){var d=c.which;r.isOpen()?d===u.ESC||d===u.TAB||d===u.UP&&c.altKey?(r.close(c),c.preventDefault()):d===u.ENTER?(r.trigger("results:select",{}),c.preventDefault()):d===u.SPACE&&c.ctrlKey?(r.trigger("results:toggle",{}),c.preventDefault()):d===u.UP?(r.trigger("results:previous",{}),c.preventDefault()):d===u.DOWN&&(r.trigger("results:next",{}),c.preventDefault()):(d===u.ENTER||d===u.SPACE||d===u.DOWN&&c.altKey)&&(r.open(),c.preventDefault())})},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(r,c){var d=!1,m=this;if(!(r&&r.target&&r.target.nodeName!=="OPTION"&&r.target.nodeName!=="OPTGROUP")){if(!c)d=!0;else if(c.addedNodes&&c.addedNodes.length>0)for(var g=0;g<c.addedNodes.length;g++){var A=c.addedNodes[g];A.selected&&(d=!0)}else c.removedNodes&&c.removedNodes.length>0?d=!0:y.isArray(c)&&y.each(c,function(F,j){if(m._isChangeMutation(F,j))return d=!0,!1});return d}},s.prototype._syncSubtree=function(r,c){var d=this._isChangeMutation(r,c),m=this;d&&this.dataAdapter.current(function(g){m.trigger("selection:update",{data:g})})},s.prototype.trigger=function(r,c){var d=s.__super__.trigger,m={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(c===void 0&&(c={}),r in m){var g=m[r],A={prevented:!1,name:r,args:c};if(d.call(this,g,A),A.prevented){c.prevented=!0;return}}d.call(this,r,c)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(r){this.isOpen()&&this.trigger("close",{originalEvent:r})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},s.prototype.focus=function(r){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(r){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(r==null||r.length===0)&&(r=[!0]);var c=!r[0];this.$element.prop("disabled",c)},s.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var r=[];return this.dataAdapter.current(function(c){r=c}),r},s.prototype.val=function(r){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),r==null||r.length===0)return this.$element.val();var c=r[0];y.isArray(c)&&(c=y.map(c,function(d){return d.toString()})),this.$element.val(c).trigger("input").trigger("change")},s.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),this._observer!=null?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",p.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),p.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var r=y('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return r.attr("dir",this.options.get("dir")),this.$container=r,this.$container.addClass("select2-container--"+this.options.get("theme")),p.StoreData(r[0],"element",this.$element),r},s}),I.define("select2/compat/utils",["jquery"],function(y){function w(p,u,s){var r,c=[],d;r=y.trim(p.attr("class")),r&&(r=""+r,y(r.split(/\s+/)).each(function(){this.indexOf("select2-")===0&&c.push(this)})),r=y.trim(u.attr("class")),r&&(r=""+r,y(r.split(/\s+/)).each(function(){this.indexOf("select2-")!==0&&(d=s(this),d!=null&&c.push(d))})),p.attr("class",c.join(" "))}return{syncCssClasses:w}}),I.define("select2/compat/containerCss",["jquery","./utils"],function(y,w){function p(s){return null}function u(){}return u.prototype.render=function(s){var r=s.call(this),c=this.options.get("containerCssClass")||"";y.isFunction(c)&&(c=c(this.$element));var d=this.options.get("adaptContainerCssClass");if(d=d||p,c.indexOf(":all:")!==-1){c=c.replace(":all:","");var m=d;d=function(A){var F=m(A);return F!=null?F+" "+A:A}}var g=this.options.get("containerCss")||{};return y.isFunction(g)&&(g=g(this.$element)),w.syncCssClasses(r,this.$element,d),r.css(g),r.addClass(c),r},u}),I.define("select2/compat/dropdownCss",["jquery","./utils"],function(y,w){function p(s){return null}function u(){}return u.prototype.render=function(s){var r=s.call(this),c=this.options.get("dropdownCssClass")||"";y.isFunction(c)&&(c=c(this.$element));var d=this.options.get("adaptDropdownCssClass");if(d=d||p,c.indexOf(":all:")!==-1){c=c.replace(":all:","");var m=d;d=function(A){var F=m(A);return F!=null?F+" "+A:A}}var g=this.options.get("dropdownCss")||{};return y.isFunction(g)&&(g=g(this.$element)),w.syncCssClasses(r,this.$element,d),r.css(g),r.addClass(c),r},u}),I.define("select2/compat/initSelection",["jquery"],function(y){function w(p,u,s){s.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=s.get("initSelection"),this._isInitialized=!1,p.call(this,u,s)}return w.prototype.current=function(p,u){var s=this;if(this._isInitialized){p.call(this,u);return}this.initSelection.call(null,this.$element,function(r){s._isInitialized=!0,y.isArray(r)||(r=[r]),u(r)})},w}),I.define("select2/compat/inputData",["jquery","../utils"],function(y,w){function p(u,s,r){this._currentData=[],this._valueSeparator=r.get("valueSeparator")||",",s.prop("type")==="hidden"&&r.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),u.call(this,s,r)}return p.prototype.current=function(u,s){function r(g,A){var F=[];return g.selected||y.inArray(g.id,A)!==-1?(g.selected=!0,F.push(g)):g.selected=!1,g.children&&F.push.apply(F,r(g.children,A)),F}for(var c=[],d=0;d<this._currentData.length;d++){var m=this._currentData[d];c.push.apply(c,r(m,this.$element.val().split(this._valueSeparator)))}s(c)},p.prototype.select=function(u,s){if(!this.options.get("multiple"))this.current(function(c){y.map(c,function(d){d.selected=!1})}),this.$element.val(s.id),this.$element.trigger("input").trigger("change");else{var r=this.$element.val();r+=this._valueSeparator+s.id,this.$element.val(r),this.$element.trigger("input").trigger("change")}},p.prototype.unselect=function(u,s){var r=this;s.selected=!1,this.current(function(c){for(var d=[],m=0;m<c.length;m++){var g=c[m];s.id!=g.id&&d.push(g.id)}r.$element.val(d.join(r._valueSeparator)),r.$element.trigger("input").trigger("change")})},p.prototype.query=function(u,s,r){for(var c=[],d=0;d<this._currentData.length;d++){var m=this._currentData[d],g=this.matches(s,m);g!==null&&c.push(g)}r({results:c})},p.prototype.addOptions=function(u,s){var r=y.map(s,function(c){return w.GetData(c[0],"data")});this._currentData.push.apply(this._currentData,r)},p}),I.define("select2/compat/matcher",["jquery"],function(y){function w(p){function u(s,r){var c=y.extend(!0,{},r);if(s.term==null||y.trim(s.term)==="")return c;if(r.children){for(var d=r.children.length-1;d>=0;d--){var m=r.children[d],g=p(s.term,m.text,m);g||c.children.splice(d,1)}if(c.children.length>0)return c}return p(s.term,r.text,r)?c:null}return u}return w}),I.define("select2/compat/query",[],function(){function y(w,p,u){u.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),w.call(this,p,u)}return y.prototype.query=function(w,p,u){p.callback=u;var s=this.options.get("query");s.call(null,p)},y}),I.define("select2/dropdown/attachContainer",[],function(){function y(w,p,u){w.call(this,p,u)}return y.prototype.position=function(w,p,u){var s=u.find(".dropdown-wrapper");s.append(p),p.addClass("select2-dropdown--below"),u.addClass("select2-container--below")},y}),I.define("select2/dropdown/stopPropagation",[],function(){function y(){}return y.prototype.bind=function(w,p,u){w.call(this,p,u);var s=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(s.join(" "),function(r){r.stopPropagation()})},y}),I.define("select2/selection/stopPropagation",[],function(){function y(){}return y.prototype.bind=function(w,p,u){w.call(this,p,u);var s=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(s.join(" "),function(r){r.stopPropagation()})},y});/*!
 * jQuery Mousewheel 3.1.13
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 */return function(y){typeof I.define=="function"&&I.define.amd?I.define("jquery-mousewheel",["jquery"],y):typeof exports=="object"?module.exports=y:y(G)}(function(y){var w=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],p="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],u=Array.prototype.slice,s,r;if(y.event.fixHooks)for(var c=w.length;c;)y.event.fixHooks[w[--c]]=y.event.mouseHooks;var d=y.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var F=p.length;F;)this.addEventListener(p[--F],m,!1);else this.onmousewheel=m;y.data(this,"mousewheel-line-height",d.getLineHeight(this)),y.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var F=p.length;F;)this.removeEventListener(p[--F],m,!1);else this.onmousewheel=null;y.removeData(this,"mousewheel-line-height"),y.removeData(this,"mousewheel-page-height")},getLineHeight:function(F){var j=y(F),Q=j["offsetParent"in y.fn?"offsetParent":"parent"]();return Q.length||(Q=y("body")),parseInt(Q.css("fontSize"),10)||parseInt(j.css("fontSize"),10)||16},getPageHeight:function(F){return y(F).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};y.fn.extend({mousewheel:function(F){return F?this.bind("mousewheel",F):this.trigger("mousewheel")},unmousewheel:function(F){return this.unbind("mousewheel",F)}});function m(F){var j=F||window.event,Q=u.call(arguments,1),Y=0,z=0,X=0,me=0,i=0,Ie=0;if(F=y.event.fix(j),F.type="mousewheel","detail"in j&&(X=j.detail*-1),"wheelDelta"in j&&(X=j.wheelDelta),"wheelDeltaY"in j&&(X=j.wheelDeltaY),"wheelDeltaX"in j&&(z=j.wheelDeltaX*-1),"axis"in j&&j.axis===j.HORIZONTAL_AXIS&&(z=X*-1,X=0),Y=X===0?z:X,"deltaY"in j&&(X=j.deltaY*-1,Y=X),"deltaX"in j&&(z=j.deltaX,X===0&&(Y=z*-1)),!(X===0&&z===0)){if(j.deltaMode===1){var ie=y.data(this,"mousewheel-line-height");Y*=ie,X*=ie,z*=ie}else if(j.deltaMode===2){var ze=y.data(this,"mousewheel-page-height");Y*=ze,X*=ze,z*=ze}if(me=Math.max(Math.abs(X),Math.abs(z)),(!r||me<r)&&(r=me,A(j,me)&&(r/=40)),A(j,me)&&(Y/=40,z/=40,X/=40),Y=Math[Y>=1?"floor":"ceil"](Y/r),z=Math[z>=1?"floor":"ceil"](z/r),X=Math[X>=1?"floor":"ceil"](X/r),d.settings.normalizeOffset&&this.getBoundingClientRect){var et=this.getBoundingClientRect();i=F.clientX-et.left,Ie=F.clientY-et.top}return F.deltaX=z,F.deltaY=X,F.deltaFactor=r,F.offsetX=i,F.offsetY=Ie,F.deltaMode=0,Q.unshift(F,Y,z,X),s&&clearTimeout(s),s=setTimeout(g,200),(y.event.dispatch||y.event.handle).apply(this,Q)}}function g(){r=null}function A(F,j){return d.settings.adjustOldDeltas&&F.type==="mousewheel"&&j%120===0}}),I.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(y,w,p,u,s){if(y.fn.select2==null){var r=["open","close","destroy"];y.fn.select2=function(c){if(c=c||{},typeof c=="object")return this.each(function(){var g=y.extend(!0,{},c),A=new p(y(this),g)}),this;if(typeof c=="string"){var d,m=Array.prototype.slice.call(arguments,1);return this.each(function(){var g=s.GetData(this,"select2");g==null&&window.console&&console.error&&console.error("The select2('"+c+"') method was called on an element that is not using Select2."),d=g[c].apply(g,m)}),y.inArray(c,r)>-1?this:d}else throw new Error("Invalid arguments for Select2: "+c)}}return y.fn.select2.defaults==null&&(y.fn.select2.defaults=u),p}),{define:I.define,require:I.require}}(),he=Ye.require("jquery.select2");return G.fn.select2.amd=Ye,he});
