!function(s,ve){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=s.document?ve(s,!0):function(yt){if(!yt.document)throw new Error("jQuery requires a window with a document");return ve(yt)}:ve(s)}(typeof window<"u"?window:this,function(s,ve){"use strict";var yt=[],_e=Object.getPrototypeOf,ct=yt.slice,qe=yt.flat?function(n){return yt.flat.call(n)}:function(n){return yt.concat.apply([],n)},be=yt.push,qt=yt.indexOf,ye={},Be=ye.toString,we=ye.hasOwnProperty,gi=we.toString,Hi=gi.call(Object),J={},Z=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},Zt=function(n){return null!=n&&n===n.window},G=s.document,mi={type:!0,src:!0,nonce:!0,noModule:!0};function vt(n,r,l){var u,p,f=(l=l||G).createElement("script");if(f.text=n,r)for(u in mi)(p=r[u]||r.getAttribute&&r.getAttribute(u))&&f.setAttribute(u,p);l.head.appendChild(f).parentNode.removeChild(f)}function ne(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ye[Be.call(n)]||"object":typeof n}var Oi=/HTML$/i,c=function(n,r){return new c.fn.init(n,r)};function ft(n){var r=!!n&&"length"in n&&n.length,l=ne(n);return!Z(n)&&!Zt(n)&&("array"===l||0===r||"number"==typeof r&&0+~]|"+V+")"+V+"*"),Yi=new RegExp(V+"|>"),he=new RegExp(Fe),pi=new RegExp("^"+le+"$"),me={ID:new RegExp("^#("+le+")"),CLASS:new RegExp("^\\.("+le+")"),TAG:new RegExp("^("+le+"|[*])"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+Fe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+V+"*(even|odd|(([+-]|)(\\d*)n|)"+V+"*(?:([+-]|)"+V+"*(\\d+)|))"+V+"*\\)|)","i"),bool:new RegExp("^(?:"+re+")$","i"),needsContext:new RegExp("^"+V+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+V+"*((?:-\\d)?\\d*)"+V+"*\\)|)(?=[^-]|$)","i")},Ie=/^(?:input|select|textarea|button)$/i,ei=/^h\d$/i,Jt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Mt=/[+~]/,Dt=new RegExp("\\\\[\\da-fA-F]{1,6}"+V+"?|\\\\([^\\r\\n\\f])","g"),Lt=function(_,k){var S="0x"+_.slice(1)-65536;return k||(S<0?String.fromCharCode(S+65536):String.fromCharCode(S>>10|55296,1023&S|56320))},Pe=function(){Me()},Ft=Mi(function(_){return!0===_.disabled&&et(_,"fieldset")},{dir:"parentNode",next:"legend"});try{I.apply(yt=ct.call(Bt.childNodes),Bt.childNodes)}catch{I={apply:function(k,S){Ue.apply(k,ct.call(S))},call:function(k){Ue.apply(k,ct.call(arguments,1))}}}function Y(_,k,S,P){var H,L,F,q,W,ht,Q,tt=k&&k.ownerDocument,ot=k?k.nodeType:9;if(S=S||[],"string"!=typeof _||!_||1!==ot&&9!==ot&&11!==ot)return S;if(!P&&(Me(k),k=k||f,y)){if(11!==ot&&(W=Jt.exec(_)))if(H=W[1]){if(9===ot){if(!(F=k.getElementById(H)))return S;if(F.id===H)return I.call(S,F),S}else if(tt&&(F=tt.getElementById(H))&&Y.contains(k,F)&&F.id===H)return I.call(S,F),S}else{if(W[2])return I.apply(S,k.getElementsByTagName(_)),S;if((H=W[3])&&k.getElementsByClassName)return I.apply(S,k.getElementsByClassName(H)),S}if(!(wt[_+" "]||b&&b.test(_))){if(Q=_,tt=k,1===ot&&(Yi.test(_)||di.test(_))){for((tt=Mt.test(_)&&Ui(k.parentNode)||k)==k&&J.scope||((q=k.getAttribute("id"))?q=c.escapeSelector(q):k.setAttribute("id",q=A)),L=(ht=fi(_)).length;L--;)ht[L]=(q?"#"+q:":scope")+" "+Pi(ht[L]);Q=ht.join(",")}try{return I.apply(S,tt.querySelectorAll(Q)),S}catch{wt(_,!0)}finally{q===A&&k.removeAttribute("id")}}}return ds(_.replace(Vt,"$1"),k,S,P)}function xt(){var _=[];return function k(S,P){return _.push(S+" ")>r.cacheLength&&delete k[_.shift()],k[S+" "]=P}}function kt(_){return _[A]=!0,_}function dt(_){var k=f.createElement("fieldset");try{return!!_(k)}catch{return!1}finally{k.parentNode&&k.parentNode.removeChild(k),k=null}}function ue(_){return function(k){return et(k,"input")&&k.type===_}}function ii(_){return function(k){return(et(k,"input")||et(k,"button"))&&k.type===_}}function Ii(_){return function(k){return"form"in k?k.parentNode&&!1===k.disabled?"label"in k?"label"in k.parentNode?k.parentNode.disabled===_:k.disabled===_:k.isDisabled===_||k.isDisabled!==!_&&Ft(k)===_:k.disabled===_:"label"in k&&k.disabled===_}}function Re(_){return kt(function(k){return k=+k,kt(function(S,P){for(var H,L=_([],S.length,k),F=L.length;F--;)S[H=L[F]]&&(S[H]=!(P[H]=S[H]))})})}function Ui(_){return _&&typeof _.getElementsByTagName<"u"&&_}function Me(_){var k,S=_?_.ownerDocument||_:Bt;return S!=f&&9===S.nodeType&&S.documentElement&&(m=(f=S).documentElement,y=!c.isXMLDoc(f),D=m.matches||m.webkitMatchesSelector||m.msMatchesSelector,m.msMatchesSelector&&Bt!=f&&(k=f.defaultView)&&k.top!==k&&k.addEventListener("unload",Pe),J.getById=dt(function(P){return m.appendChild(P).id=c.expando,!f.getElementsByName||!f.getElementsByName(c.expando).length}),J.disconnectedMatch=dt(function(P){return D.call(P,"*")}),J.scope=dt(function(){return f.querySelectorAll(":scope")}),J.cssHas=dt(function(){try{return f.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),J.getById?(r.filter.ID=function(P){var H=P.replace(Dt,Lt);return function(L){return L.getAttribute("id")===H}},r.find.ID=function(P,H){if(typeof H.getElementById<"u"&&y){var L=H.getElementById(P);return L?[L]:[]}}):(r.filter.ID=function(P){var H=P.replace(Dt,Lt);return function(L){var F=typeof L.getAttributeNode<"u"&&L.getAttributeNode("id");return F&&F.value===H}},r.find.ID=function(P,H){if(typeof H.getElementById<"u"&&y){var L,F,q,W=H.getElementById(P);if(W){if((L=W.getAttributeNode("id"))&&L.value===P)return[W];for(q=H.getElementsByName(P),F=0;W=q[F++];)if((L=W.getAttributeNode("id"))&&L.value===P)return[W]}return[]}}),r.find.TAG=function(P,H){return typeof H.getElementsByTagName<"u"?H.getElementsByTagName(P):H.querySelectorAll(P)},r.find.CLASS=function(P,H){if(typeof H.getElementsByClassName<"u"&&y)return H.getElementsByClassName(P)},b=[],dt(function(P){var H;m.appendChild(P).innerHTML="",P.querySelectorAll("[selected]").length||b.push("\\["+V+"*(?:value|"+re+")"),P.querySelectorAll("[id~="+A+"-]").length||b.push("~="),P.querySelectorAll("a#"+A+"+*").length||b.push(".#.+[+~]"),P.querySelectorAll(":checked").length||b.push(":checked"),(H=f.createElement("input")).setAttribute("type","hidden"),P.appendChild(H).setAttribute("name","D"),m.appendChild(P).disabled=!0,2!==P.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),(H=f.createElement("input")).setAttribute("name",""),P.appendChild(H),P.querySelectorAll("[name='']").length||b.push("\\["+V+"*name"+V+"*="+V+"*(?:''|\"\")")}),J.cssHas||b.push(":has"),b=b.length&&new RegExp(b.join("|")),Pt=function(P,H){if(P===H)return p=!0,0;var L=!P.compareDocumentPosition-!H.compareDocumentPosition;return L||(1&(L=(P.ownerDocument||P)==(H.ownerDocument||H)?P.compareDocumentPosition(H):1)||!J.sortDetached&&H.compareDocumentPosition(P)===L?P===f||P.ownerDocument==Bt&&Y.contains(Bt,P)?-1:H===f||H.ownerDocument==Bt&&Y.contains(Bt,H)?1:u?qt.call(u,P)-qt.call(u,H):0:4&L?-1:1)}),f}for(n in Y.matches=function(_,k){return Y(_,null,null,k)},Y.matchesSelector=function(_,k){if(Me(_),y&&!wt[k+" "]&&(!b||!b.test(k)))try{var S=D.call(_,k);if(S||J.disconnectedMatch||_.document&&11!==_.document.nodeType)return S}catch{wt(k,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(_){return _[1]=_[1].replace(Dt,Lt),_[3]=(_[3]||_[4]||_[5]||"").replace(Dt,Lt),"~="===_[2]&&(_[3]=" "+_[3]+" "),_.slice(0,4)},CHILD:function(_){return _[1]=_[1].toLowerCase(),"nth"===_[1].slice(0,3)?(_[3]||Y.error(_[0]),_[4]=+(_[4]?_[5]+(_[6]||1):2*("even"===_[3]||"odd"===_[3])),_[5]=+(_[7]+_[8]||"odd"===_[3])):_[3]&&Y.error(_[0]),_},PSEUDO:function(_){var k,S=!_[6]&&_[2];return me.CHILD.test(_[0])?null:(_[3]?_[2]=_[4]||_[5]||"":S&&he.test(S)&&(k=fi(S,!0))&&(k=S.indexOf(")",S.length-k)-S.length)&&(_[0]=_[0].slice(0,k),_[2]=S.slice(0,k)),_.slice(0,3))}},filter:{TAG:function(_){var k=_.replace(Dt,Lt).toLowerCase();return"*"===_?function(){return!0}:function(S){return et(S,k)}},CLASS:function(_){var k=B[_+" "];return k||(k=new RegExp("(^|"+V+")"+_+"("+V+"|$)"))&&B(_,function(S){return k.test("string"==typeof S.className&&S.className||typeof S.getAttribute<"u"&&S.getAttribute("class")||"")})},ATTR:function(_,k,S){return function(P){var H=Y.attr(P,_);return null==H?"!="===k:!k||(H+="","="===k?H===S:"!="===k?H!==S:"^="===k?S&&0===H.indexOf(S):"*="===k?S&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $e(n,r,l){return Z(r)?c.grep(n,function(u,p){return!!r.call(u,p,u)!==l}):r.nodeType?c.grep(n,function(u){return u===r!==l}):"string"!=typeof r?c.grep(n,function(u){return-1)[^>]*|#([\w-]+))$/;(c.fn.init=function(n,r,l){var u,p;if(!n)return this;if(l=l||ai,"string"==typeof n){if(!(u="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:wi.exec(n))||!u[1]&&r)return!r||r.jquery?(r||l).find(n):this.constructor(r).find(n);if(u[1]){if(c.merge(this,c.parseHTML(u[1],(r=r instanceof c?r[0]:r)&&r.nodeType?r.ownerDocument||r:G,!0)),oi.test(u[1])&&c.isPlainObject(r))for(u in r)Z(this[u])?this[u](r[u]):this.attr(u,r[u]);return this}return(p=G.getElementById(u[2]))&&(this[0]=p,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):Z(n)?void 0!==l.ready?l.ready(n):n(c):c.makeArray(n,this)}).prototype=c.fn,ai=c(G);var xi=/^(?:parents|prev(?:Until|All))/,Ke={children:!0,contents:!0,next:!0,prev:!0};function Xe(n,r){for(;(n=n[r])&&1!==n.nodeType;);return n}c.fn.extend({has:function(n){var r=c(n,this),l=r.length;return this.filter(function(){for(var u=0;u\x20\t\r\n\f]*)/i,M=/^$|^module$|\/(?:java|ecma)script/i;v=G.createDocumentFragment().appendChild(G.createElement("div")),(w=G.createElement("input")).setAttribute("type","radio"),w.setAttribute("checked","checked"),w.setAttribute("name","t"),v.appendChild(w),J.checkClone=v.cloneNode(!0).cloneNode(!0).lastChild.checked,v.innerHTML="",J.noCloneChecked=!!v.cloneNode(!0).lastChild.defaultValue,v.innerHTML="",J.option=!!v.lastChild;var E={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function z(n,r){var l;return l=typeof n.getElementsByTagName<"u"?n.getElementsByTagName(r||"*"):typeof n.querySelectorAll<"u"?n.querySelectorAll(r||"*"):[],void 0===r||r&&et(n,r)?c.merge([n],l):l}function N(n,r){for(var l=0,u=n.length;l",""]);var R=/<|&#?\w+;/;function nt(n,r,l,u,p){for(var f,m,y,b,D,I,A=r.createDocumentFragment(),T=[],O=0,B=n.length;O\s*$/g;function zt(n,r){return et(n,"table")&&et(11!==r.nodeType?r:r.firstChild,"tr")&&c(n).children("tbody")[0]||n}function it(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function Yt(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function Xt(n,r){var l,u,p,f,m,y;if(1===r.nodeType){if(j.hasData(n)&&(y=j.get(n).events))for(p in j.remove(r,"handle events"),y)for(l=0,u=y[p].length;l"u"?c.prop(n,r,l):(1===f&&c.isXMLDoc(n)||(p=c.attrHooks[r.toLowerCase()]||(c.expr.match.bool.test(r)?ts:void 0)),void 0!==l?null===l?void c.removeAttr(n,r):p&&"set"in p&&void 0!==(u=p.set(n,l,r))?u:(n.setAttribute(r,l+""),l):p&&"get"in p&&null!==(u=p.get(n,r))?u:null==(u=c.find.attr(n,r))?void 0:u)},attrHooks:{type:{set:function(n,r){if(!J.radioValue&&"radio"===r&&et(n,"input")){var l=n.value;return n.setAttribute("type",r),l&&(n.value=l),r}}}},removeAttr:function(n,r){var l,u=0,p=r&&r.match(Nt);if(p&&1===n.nodeType)for(;l=p[u++];)n.removeAttribute(l)}}),ts={set:function(n,r,l){return!1===r?c.removeAttr(n,l):n.setAttribute(l,l),l}},c.each(c.expr.match.bool.source.match(/\w+/g),function(n,r){var l=hi[r]||c.find.attr;hi[r]=function(u,p,f){var m,y,b=p.toLowerCase();return f||(y=hi[b],hi[b]=m,m=null!=l(u,p,f)?b:null,hi[b]=y),m}});var vs=/^(?:input|select|textarea|button)$/i,_s=/^(?:a|area)$/i;function We(n){return(n.match(Nt)||[]).join(" ")}function Le(n){return n.getAttribute&&n.getAttribute("class")||""}function Wi(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(Nt)||[]}c.fn.extend({prop:function(n,r){return Kt(this,c.prop,n,r,1").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",l=function(f){r.remove(),l=null,f&&p("error"===f.type?404:200,f.type)}),G.head.appendChild(r[0])},abort:function(){l&&l()}}});var hs,us=[],Bi=/(=)\?(?=&|$)|\?\?/;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=us.pop()||c.expando+"_"+es.guid++;return this[n]=!0,n}}),c.ajaxPrefilter("json jsonp",function(n,r,l){var u,p,f,m=!1!==n.jsonp&&(Bi.test(n.url)?"url":"string"==typeof n.data&&0===(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bi.test(n.data)&&"data");if(m||"jsonp"===n.dataTypes[0])return u=n.jsonpCallback=Z(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,m?n[m]=n[m].replace(Bi,"$1"+u):!1!==n.jsonp&&(n.url+=(Li.test(n.url)?"&":"?")+n.jsonp+"="+u),n.converters["script json"]=function(){return f||c.error(u+" was not called"),f[0]},n.dataTypes[0]="json",p=s[u],s[u]=function(){f=arguments},l.always(function(){void 0===p?c(s).removeProp(u):s[u]=p,n[u]&&(n.jsonpCallback=r.jsonpCallback,us.push(u)),f&&Z(p)&&p(f[0]),f=p=void 0}),"script"}),J.createHTMLDocument=((hs=G.implementation.createHTMLDocument("").body).innerHTML="
",2===hs.childNodes.length),c.parseHTML=function(n,r,l){return"string"!=typeof n?[]:("boolean"==typeof r&&(l=r,r=!1),r||(J.createHTMLDocument?((u=(r=G.implementation.createHTMLDocument("")).createElement("base")).href=G.location.href,r.head.appendChild(u)):r=G),f=!l&&[],(p=oi.exec(n))?[r.createElement(p[1])]:(p=nt([n],r,f),f&&f.length&&c(f).remove(),c.merge([],p.childNodes)));var u,p,f},c.fn.load=function(n,r,l){var u,p,f,m=this,y=n.indexOf(" ");return-1").append(c.parseHTML(b)).find(u):b)}).always(l&&function(b,D){m.each(function(){l.apply(this,f||[b.responseText,D,b])})}),this},c.expr.pseudos.animated=function(n){return c.grep(c.timers,function(r){return n===r.elem}).length},c.offset={setOffset:function(n,r,l){var u,p,f,m,y,b,D=c.css(n,"position"),I=c(n),A={};"static"===D&&(n.style.position="relative"),y=I.offset(),f=c.css(n,"top"),b=c.css(n,"left"),("absolute"===D||"fixed"===D)&&-1<(f+b).indexOf("auto")?(m=(u=I.position()).top,p=u.left):(m=parseFloat(f)||0,p=parseFloat(b)||0),Z(r)&&(r=r.call(n,l,c.extend({},y))),null!=r.top&&(A.top=r.top-y.top+m),null!=r.left&&(A.left=r.left-y.left+p),"using"in r?r.using.call(n,A):I.css(A)}},c.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(p){c.offset.setOffset(this,n,p)});var r,l,u=this[0];return u?u.getClientRects().length?{top:(r=u.getBoundingClientRect()).top+(l=u.ownerDocument.defaultView).pageYOffset,left:r.left+l.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var n,r,l,u=this[0],p={top:0,left:0};if("fixed"===c.css(u,"position"))r=u.getBoundingClientRect();else{for(r=this.offset(),l=u.ownerDocument,n=u.offsetParent||l.documentElement;n&&(n===l.body||n===l.documentElement)&&"static"===c.css(n,"position");)n=n.parentNode;n&&n!==u&&1===n.nodeType&&((p=c(n).offset()).top+=c.css(n,"borderTopWidth",!0),p.left+=c.css(n,"borderLeftWidth",!0))}return{top:r.top-p.top-c.css(u,"marginTop",!0),left:r.left-p.left-c.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===c.css(n,"position");)n=n.offsetParent;return n||e})}}),c.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var l="pageYOffset"===r;c.fn[n]=function(u){return Kt(this,function(p,f,m){var y;if(Zt(p)?y=p:9===p.nodeType&&(y=p.defaultView),void 0===m)return y?y[r]:p[f];y?y.scrollTo(l?y.pageXOffset:m,l?m:y.pageYOffset):p[f]=m},n,u,arguments.length)}}),c.each(["top","left"],function(n,r){c.cssHooks[r]=Ut(J.pixelPosition,function(l,u){if(u)return u=Qt(l,r),Ce.test(u)?c(l).position()[r]+"px":u})}),c.each({Height:"height",Width:"width"},function(n,r){c.each({padding:"inner"+n,content:r,"":"outer"+n},function(l,u){c.fn[u]=function(p,f){var m=arguments.length&&(l||"boolean"!=typeof p),y=l||(!0===p||!0===f?"margin":"border");return Kt(this,function(b,D,I){var A;return Zt(b)?0===u.indexOf("outer")?b["inner"+n]:b.document.documentElement["client"+n]:9===b.nodeType?(A=b.documentElement,Math.max(b.body["scroll"+n],A["scroll"+n],b.body["offset"+n],A["offset"+n],A["client"+n])):void 0===I?c.css(b,D,y):c.style(b,D,I,y)},r,m?p:void 0,m)}})}),c.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,r){c.fn[r]=function(l){return this.on(r,l)}}),c.fn.extend({bind:function(n,r,l){return this.on(n,null,r,l)},unbind:function(n,r){return this.off(n,null,r)},delegate:function(n,r,l,u){return this.on(r,n,l,u)},undelegate:function(n,r,l){return 1===arguments.length?this.off(n,"**"):this.off(r,n||"**",l)},hover:function(n,r){return this.on("mouseenter",n).on("mouseleave",r||n)}}),c.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(n,r){c.fn[r]=function(l,u){return 0"u"&&(s.jQuery=s.$=c),c}),function(s){"use strict";"function"==typeof define&&define.amd?define(["jquery"],s):s(jQuery)}(function(s){"use strict";s.ui=s.ui||{},s.ui.version="1.13.3";var ve,yt,_e,ct,qe,be,qt,ye,Be,we,gi=0,Hi=Array.prototype.hasOwnProperty,J=Array.prototype.slice;function Z(t,e,i){return[parseFloat(t[0])*(Be.test(t[0])?e/100:1),parseFloat(t[1])*(Be.test(t[1])?i/100:1)]}function Zt(t,e){return parseInt(s.css(t,e),10)||0}function G(t){return null!=t&&t===t.window}s.cleanData=(ve=s.cleanData,function(t){for(var e,i,o=0;null!=(i=t[o]);o++)(e=s._data(i,"events"))&&e.remove&&s(i).triggerHandler("remove");ve(t)}),s.widget=function(t,e,i){var o,a,h,d={},g=t.split(".")[0],v=g+"-"+(t=t.split(".")[1]);return i||(i=e,e=s.Widget),Array.isArray(i)&&(i=s.extend.apply(null,[{}].concat(i))),s.expr.pseudos[v.toLowerCase()]=function(w){return!!s.data(w,v)},s[g]=s[g]||{},o=s[g][t],a=s[g][t]=function(w,C){if(!this||!this._createWidget)return new a(w,C);arguments.length&&this._createWidget(w,C)},s.extend(a,o,{version:i.version,_proto:s.extend({},i),_childConstructors:[]}),(h=new e).options=s.widget.extend({},h.options),s.each(i,function(w,C){function x(){return e.prototype[w].apply(this,arguments)}function M(E){return e.prototype[w].apply(this,E)}d[w]="function"!=typeof C?C:function(){var E,z=this._super,N=this._superApply;return this._super=x,this._superApply=M,E=C.apply(this,arguments),this._super=z,this._superApply=N,E}}),a.prototype=s.widget.extend(h,{widgetEventPrefix:o&&h.widgetEventPrefix||t},d,{constructor:a,namespace:g,widgetName:t,widgetFullName:v}),o?(s.each(o._childConstructors,function(w,C){var x=C.prototype;s.widget(x.namespace+"."+x.widgetName,a,C._proto)}),delete o._childConstructors):e._childConstructors.push(a),s.widget.bridge(t,a),a},s.widget.extend=function(t){for(var e,i,o=J.call(arguments,1),a=0,h=o.length;a",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=s(e||this.defaultElement||this)[0],this.element=s(e),this.uuid=gi++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=s(),this.hoverable=s(),this.focusable=s(),this.classesElementLookup={},e!==this&&(s.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(i){i.target===e&&this.destroy()}}),this.document=s(e.style?e.ownerDocument:e.document||e),this.window=s(this.document[0].defaultView||this.document[0].parentWindow)),this.options=s.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:s.noop,_create:s.noop,_init:s.noop,destroy:function(){var t=this;this._destroy(),s.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:s.noop,widget:function(){return this.element},option:function(t,e){var i,o,a,h=t;if(0===arguments.length)return s.widget.extend({},this.options);if("string"==typeof t)if(h={},t=(i=t.split(".")).shift(),i.length){for(o=h[t]=s.widget.extend({},this.options[t]),a=0;a
")).children()[0],s("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),yt=t-i)},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),e=t.isWindow||t.isDocument?"":t.element.css("overflow-y");return i="scroll"===i||"auto"===i&&t.width_e(ct(it),ct(Yt))?"horizontal":"vertical",t.using.call(this,Rt,Xt)}),N.offset(s.extend(lt,{using:z}))})):we.apply(this,arguments)},s.ui.position={fit:{left:function(t,e){var a,o=(a=e.within).isWindow?a.scrollLeft:a.offset.left,h=t.left-e.collisionPosition.marginLeft,d=o-h,g=h+e.collisionWidth-(a=a.width)-o;e.collisionWidth>a?0a?0")[0],V=vt.each;function Vt(t){return null==t?t+"":"object"==typeof t?ne[vi.call(t)]||"object":typeof t}function Ye(t,e,i){var o=_i[e.type]||{};return null==t?i||!e.def?null:e.def:(t=o.floor?~~t:parseFloat(t),isNaN(t)?e.def:o.mod?(t+o.mod)%o.mod:Math.min(o.max,Math.max(0,t)))}function yi(t){var e=ft(),i=e._rgba=[];return t=t.toLowerCase(),V(c,function(o,d){var h=(h=d.re.exec(t))&&d.parse(h);if(d=d.space||"rgba",h)return h=e[d](h),e[et[d].cache]=h[et[d].cache],i=e._rgba=h._rgba,!1}),i.length?("0,0,0,0"===i.join()&&vt.extend(i,Xe.transparent),e):Xe[t]}function Bt(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}Ae.style.cssText="background-color:rgba(1,1,1,.5)",bi.rgba=-1E.mod/2?x+=E.mod:x-M>E.mod/2&&(x-=E.mod)),d[C]=Ye((M-x)*e+x,w)))}),this[i](d)},blend:function(t){var e,i,o;return 1===this._rgba[3]?this:(e=this._rgba.slice(),i=e.pop(),o=ft(t)._rgba,ft(vt.map(e,function(a,h){return(1-i)*o[h]+i*a})))},toRgbaString:function(){var t="rgba(",e=vt.map(this._rgba,function(i,o){return i??(2").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:t.width(),height:t.height()},a=document.activeElement;return t.wrap(i),t[0]!==a&&!s.contains(t[0],a)||s(a).trigger("focus"),i=t.parent(),"static"===t.css("position")?(i.css({position:"relative"}),t.css({position:"relative"})):(s.extend(e,{position:t.css("position"),zIndex:t.css("z-index")}),s.each(["top","left","bottom","right"],function(h,d){e[d]=t.css(d),isNaN(parseInt(e[d],10))&&(e[d]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(o),i.css(e).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!s.contains(t[0],e)||s(e).trigger("focus")),t}}),s.extend(s.effects,{version:"1.13.3",define:function(t,e,i){return i||(i=e,e="effect"),s.effects.effect[t]=i,s.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){var o;return 0===e?{height:0,width:0,outerHeight:0,outerWidth:0}:(o="horizontal"!==i?(e||100)/100:1,i="vertical"!==i?(e||100)/100:1,{height:t.height()*i,width:t.width()*o,outerHeight:t.outerHeight()*i,outerWidth:t.outerWidth()*o})},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var o=t.queue();1").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(Nt+"placeholder",e)),t.css({position:i,left:o.left,top:o.top}),e},removePlaceholder:function(t){var e=Nt+"placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){s.effects.restoreStyle(t),s.effects.removePlaceholder(t)},setTransition:function(t,e,i,o){return o=o||{},s.each(e,function(a,h){var d=t.cssUnit(h);0");v.appendTo("body").addClass(t.className).css({top:g.top-a,left:g.left-h,height:i.innerHeight(),width:i.innerWidth(),position:o?"fixed":"absolute"}).animate(d,t.duration,t.easing,function(){v.remove(),"function"==typeof e&&e()})}}),s.fx.step.clip=function(t){t.clipInit||(t.start=s(t.elem).cssClip(),"string"==typeof t.end&&(t.end=He(t.end,t.elem)),t.clipInit=!0),s(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},Ke={},s.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){Ke[e]=function(i){return Math.pow(i,t+2)}}),s.extend(Ke,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),s.each(Ke,function(t,e){s.easing["easeIn"+t]=e,s.easing["easeOut"+t]=function(i){return 1-e(1-i)},s.easing["easeInOut"+t]=function(i){return i<.5?e(2*i)/2:1-e(-2*i+2)/2}}),Ae=s.effects,s.effects.define("blind","hide",function(t,e){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=s(this),a=t.direction||"up",h=o.cssClip(),d={clip:s.extend({},h)},g=s.effects.createPlaceholder(o);d.clip[i[a][0]]=d.clip[i[a][1]],"show"===t.mode&&(o.cssClip(d.clip),g&&g.css(s.effects.clipToBox(d)),d.clip=h),g&&g.animate(s.effects.clipToBox(d),t.duration,t.easing),o.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),s.effects.define("bounce",function(R,e){var i,o,d,a=s(this),h="hide"===(d=R.mode),g=R.direction||"up",v=R.distance,w=R.times||5,C=2*w+((d="show"===d)||h?1:0),x=R.duration/C,M=R.easing,E="up"===g||"down"===g?"top":"left",z="up"===g||"left"===g,N=0;for(R=a.queue().length,s.effects.createPlaceholder(a),g=a.css(E),v=v||a["top"==E?"outerHeight":"outerWidth"]()/3,d&&((o={opacity:1})[E]=g,a.css("opacity",0).css(E,z?2*-v:2*v).animate(o,x,M)),h&&(v/=Math.pow(2,w-1)),(o={})[E]=g;N").css({position:"absolute",visibility:"visible",left:-o*E,top:-i*z}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:E,height:z,left:a+(x?d*E:0),top:h+(x?g*z:0),opacity:x?0:1}).animate({left:a+(x?0:d*E),top:h+(x?0:g*z),opacity:x?1:0},t.duration||500,t.easing,R)}),s.effects.define("fade","toggle",function(t,e){var i="show"===t.mode;s(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),s.effects.define("fold","hide",function(t,e){var i=s(this),o="show"===(a=t.mode),a="hide"===a,h=t.size||15,d=/([0-9]+)%/.exec(h),g=t.horizFirst?["right","bottom"]:["bottom","right"],v=t.duration/2,w=s.effects.createPlaceholder(i),C=i.cssClip(),x={clip:s.extend({},C)},M={clip:s.extend({},C)},E=[C[g[0]],C[g[1]]],z=i.queue().length;d&&(h=parseInt(d[1],10)/100*E[a?0:1]),x.clip[g[0]]=h,M.clip[g[0]]=h,M.clip[g[1]]=0,o&&(i.cssClip(M.clip),w&&w.css(s.effects.clipToBox(M)),M.clip=C),i.queue(function(N){w&&w.animate(s.effects.clipToBox(x),v,t.easing).animate(s.effects.clipToBox(M),v,t.easing),N()}).animate(x,v,t.easing).animate(M,v,t.easing).queue(e),s.effects.unshift(i,z,4)}),s.effects.define("highlight","show",function(t,e){var i=s(this),o={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(o.opacity=0),s.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),s.effects.define("size",function(t,e){var i,o=s(this),a=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],g=t.mode,v="effect"!==g,w=t.scale||"both",C=t.origin||["middle","center"],x=o.css("position"),M=o.position(),E=s.effects.scaledDimensions(o),z=t.from||E,N=t.to||s.effects.scaledDimensions(o,0);s.effects.createPlaceholder(o),"show"===g&&(g=z,z=N,N=g),i={from:{y:z.height/E.height,x:z.width/E.width},to:{y:N.height/E.height,x:N.width/E.width}},"box"!==w&&"both"!==w||(i.from.y!==i.to.y&&(z=s.effects.setTransition(o,h,i.from.y,z),N=s.effects.setTransition(o,h,i.to.y,N)),i.from.x!==i.to.x&&(z=s.effects.setTransition(o,d,i.from.x,z),N=s.effects.setTransition(o,d,i.to.x,N))),"content"!==w&&"both"!==w||i.from.y!==i.to.y&&(z=s.effects.setTransition(o,a,i.from.y,z),N=s.effects.setTransition(o,a,i.to.y,N)),C&&(g=s.effects.getBaseline(C,E),z.top=(E.outerHeight-z.outerHeight)*g.y+M.top,z.left=(E.outerWidth-z.outerWidth)*g.x+M.left,N.top=(E.outerHeight-N.outerHeight)*g.y+M.top,N.left=(E.outerWidth-N.outerWidth)*g.x+M.left),delete z.outerHeight,delete z.outerWidth,o.css(z),"content"!==w&&"both"!==w||(h=h.concat(["marginTop","marginBottom"]).concat(a),d=d.concat(["marginLeft","marginRight"]),o.find("*[width]").each(function(){var R=s(this),nt={height:($=s.effects.scaledDimensions(R)).height*i.from.y,width:$.width*i.from.x,outerHeight:$.outerHeight*i.from.y,outerWidth:$.outerWidth*i.from.x},$={height:$.height*i.to.y,width:$.width*i.to.x,outerHeight:$.height*i.to.y,outerWidth:$.width*i.to.x};i.from.y!==i.to.y&&(nt=s.effects.setTransition(R,h,i.from.y,nt),$=s.effects.setTransition(R,h,i.to.y,$)),i.from.x!==i.to.x&&(nt=s.effects.setTransition(R,d,i.from.x,nt),$=s.effects.setTransition(R,d,i.to.x,$)),v&&s.effects.saveStyle(R),R.css(nt),R.animate($,t.duration,t.easing,function(){v&&s.effects.restoreStyle(R)})})),o.animate(N,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var R=o.offset();0===N.opacity&&o.css("opacity",z.opacity),v||(o.css("position","static"===x?"relative":x).offset(R),s.effects.saveStyle(o)),e()}})}),s.effects.define("scale",function(t,e){var o=s(this),i=t.mode;i=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==i?0:100),o=s.extend(!0,{from:s.effects.scaledDimensions(o),to:s.effects.scaledDimensions(o,i,t.direction||"both"),origin:t.origin||["middle","center"]},t),t.fade&&(o.from.opacity=1,o.to.opacity=0),s.effects.effect.size.call(this,o,e)}),s.effects.define("puff","hide",function(t,e){t=s.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150}),s.effects.effect.scale.call(this,t,e)}),s.effects.define("pulsate","show",function(t,e){var i=s(this),o="show"===(v=t.mode),a=2*(t.times||5)+(o||"hide"===v?1:0),h=t.duration/a,d=0,g=1,v=i.queue().length;for(!o&&i.is(":visible")||(i.css("opacity",0).show(),d=1);g li > :first-child").add(t.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=s(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():s()}},_createIcons:function(){var t,e=this.options.icons;e&&(t=s(""),this._addClass(t,"ui-accordion-header-icon","ui-icon "+e.header),t.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,e.header)._addClass(t,null,e.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"===t?this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e)&&this._createIcons())},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=s.ui.keyCode,i=this.headers.length,o=this.headers.index(t.target),a=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:a=this.headers[(o+1)%i];break;case e.LEFT:case e.UP:a=this.headers[(o-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:a=this.headers[0];break;case e.END:a=this.headers[i-1]}a&&(s(t.target).attr("tabIndex",-1),s(a).attr("tabIndex",0),s(a).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===s.ui.keyCode.UP&&t.ctrlKey&&s(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=s()):!1===t.active?this._activate(0):this.active.length&&!s.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=s()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers="function"==typeof this.options.header?this.options.header(this.element):this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var t,e=this.options,i=e.heightStyle,o=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var a=s(this),h=a.uniqueId().attr("id"),d=a.next(),g=d.uniqueId().attr("id");a.attr("aria-controls",g),d.attr("aria-labelledby",h)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===i?(t=o.height(),this.element.siblings(":visible").each(function(){var a=s(this),h=a.css("position");"absolute"!==h&&"fixed"!==h&&(t-=a.outerHeight(!0))}),this.headers.each(function(){t-=s(this).outerHeight(!0)}),this.headers.next().each(function(){s(this).height(Math.max(0,t-s(this).innerHeight()+s(this).height()))}).css("overflow","auto")):"auto"===i&&(t=0,this.headers.next().each(function(){var a=s(this).is(":visible");a||s(this).show(),t=Math.max(t,s(this).css("height","").height()),a||s(this).hide()}).height(t))},_activate:function(t){(t=this._findActive(t)[0])!==this.active[0]&&this._eventHandler({target:t=t||this.active[0],currentTarget:t,preventDefault:s.noop})},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):s()},_setupEvents:function(t){var e={keydown:"_keydown"};t&&s.each(t.split(" "),function(i,o){e[o]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,e),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,o=s(t.currentTarget),a=o[0]===i[0],h=a&&e.collapsible,d=h?s():o.next(),g=i.next();g={oldHeader:i,oldPanel:g,newHeader:h?s():o,newPanel:d},t.preventDefault(),a&&!e.collapsible||!1===this._trigger("beforeActivate",t,g)||(e.active=!h&&this.headers.index(o),this.active=a?s():o,this._toggle(g),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),e.icons&&(d=i.children(".ui-accordion-header-icon"),this._removeClass(d,null,e.icons.activeHeader)._addClass(d,null,e.icons.header)),a)||(this._removeClass(o,"ui-accordion-header-collapsed")._addClass(o,"ui-accordion-header-active","ui-state-active"),e.icons&&(t=o.children(".ui-accordion-header-icon"),this._removeClass(t,null,e.icons.header)._addClass(t,null,e.icons.activeHeader)),this._addClass(o.next(),"ui-accordion-content-active"))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),e.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return 0===parseInt(s(this).attr("tabIndex"),10)}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){function o(){h._toggleComplete(i)}var a,h=this,d=0,g=t.css("box-sizing"),w=t.length&&(!e.length||t.index()",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=s(t.target),i=s(s.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){s.contains(this.element[0],s.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=s(t.target).closest(".ui-menu-item"),i=s(t.currentTarget),e[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var e=s(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(t){var e,i,o,a=!0;switch(t.keyCode){case s.ui.keyCode.PAGE_UP:this.previousPage(t);break;case s.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case s.ui.keyCode.HOME:this._move("first","first",t);break;case s.ui.keyCode.END:this._move("last","last",t);break;case s.ui.keyCode.UP:this.previous(t);break;case s.ui.keyCode.DOWN:this.next(t);break;case s.ui.keyCode.LEFT:this.collapse(t);break;case s.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case s.ui.keyCode.ENTER:case s.ui.keyCode.SPACE:this._activate(t);break;case s.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",o=a=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?o=!0:i=e+i,e=this._filterMenuItems(i),(e=o&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,i=this,o=this.options.icons.submenu,a=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=a.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var h=s(this),d=h.prev(),g=s("").data("ui-menu-submenu-caret",!0);i._addClass(g,"ui-menu-icon","ui-icon "+o),d.attr("aria-haspopup","true").prepend(g),h.attr("aria-labelledby",d.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(t=a.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var h=s(this);i._isDivider(h)&&i._addClass(h,"ui-menu-divider","ui-widget-content")}),e=(a=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(a,"ui-menu-item")._addClass(e,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!s.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,o;this._hasScroll()&&(e=parseFloat(s.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(s.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),o=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):o",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,e,i,o="textarea"===(a=this.element[0].nodeName.toLowerCase()),a="input"===a;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(h){if(this.element.prop("readOnly"))e=i=t=!0;else{e=i=t=!1;var d=s.ui.keyCode;switch(h.keyCode){case d.PAGE_UP:t=!0,this._move("previousPage",h);break;case d.PAGE_DOWN:t=!0,this._move("nextPage",h);break;case d.UP:t=!0,this._keyEvent("previous",h);break;case d.DOWN:t=!0,this._keyEvent("next",h);break;case d.ENTER:this.menu.active&&(t=!0,h.preventDefault(),this.menu.select(h));break;case d.TAB:this.menu.active&&this.menu.select(h);break;case d.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(h),h.preventDefault());break;default:e=!0,this._searchTimeout(h)}}},keypress:function(h){if(t)t=!1,this.isMultiLine&&!this.menu.element.is(":visible")||h.preventDefault();else if(!e){var d=s.ui.keyCode;switch(h.keyCode){case d.PAGE_UP:this._move("previousPage",h);break;case d.PAGE_DOWN:this._move("nextPage",h);break;case d.UP:this._keyEvent("previous",h);break;case d.DOWN:this._keyEvent("next",h)}}},input:function(h){i?(i=!1,h.preventDefault()):this._searchTimeout(h)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(h){clearTimeout(this.searching),this.close(h),this._change(h)}}),this._initSource(),this.menu=s("