/*! jquery v3.5.1 | (c) js foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new error("jquery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(c,e){"use strict";var t=[],r=object.getprototypeof,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexof,n={},o=n.tostring,v=n.hasownproperty,a=v.tostring,l=a.call(object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodetype},x=function(e){return null!=e&&e===e.window},e=c.document,c={type:!0,src:!0,nonce:!0,nomodule:!0};function b(e,t,n){var r,i,o=(n=n||e).createelement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getattribute&&t.getattribute(r))&&o.setattribute(r,i);n.head.appendchild(o).parentnode.removechild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",s=function(e,t){return new s.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+m+")"+m+"*"),u=new regexp(m+"|>"),x=new regexp(f),v=new regexp("^"+i+"$"),g={id:new regexp("^#("+i+")"),class:new regexp("^\\.("+i+")"),tag:new regexp("^("+i+"|[*])"),attr:new regexp("^"+w),pseudo:new regexp("^"+f),child:new regexp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+m+"*(even|odd|(([+-]|)(\\d*)n|)"+m+"*(?:([+-]|)"+m+"*(\\d+)|))"+m+"*\\)|)","i"),bool:new regexp("^(?:"+r+")$","i"),needscontext:new regexp("^"+m+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+m+"*((?:-\\d)?\\d*)"+m+"*\\)|)(?=[^-]|$)","i")},y=/html$/i,q=/^(?:input|select|textarea|button)$/i,j=/^h\d$/i,k=/^[^{]+\{\s*\[native \w/,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new regexp("\\\\[\\da-fa-f]{1,6}"+m+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?string.fromcharcode(n+65536):string.fromcharcode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uffff\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charcodeat(e.length-1).tostring(16)+" ":"\\"+e},oe=function(){t()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodename.tolowercase()},{dir:"parentnode",next:"legend"});try{h.apply(t=o.call(p.childnodes),p.childnodes),t[p.childnodes.length].nodetype}catch(e){h={apply:t.length?function(e,t){l.apply(e,o.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerdocument,p=e?e.nodetype:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(t(e),e=e||c,e)){if(11!==p&&(u=z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getelementbyid(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getelementbyid(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return h.apply(n,e.getelementsbytagname(t)),n;if((i=u[3])&&d.getelementsbyclassname&&e.getelementsbyclassname)return h.apply(n,e.getelementsbyclassname(i)),n}if(d.qsa&&!n[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodename.tolowercase())){if(c=t,f=e,1===p&&(u.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentnode)||e)===e&&d.scope||((s=e.getattribute("id"))?s=s.replace(re,ie):e.setattribute("id",s=s)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return h.apply(n,f.queryselectorall(c)),n}catch(e){n(t,!0)}finally{s===s&&e.removeattribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cachelength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[s]=!0,e}function ce(e){var t=c.createelement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentnode&&t.parentnode.removechild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrhandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodetype&&1===t.nodetype&&e.sourceindex-t.sourceindex;if(r)return r;if(n)while(n=n.nextsibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodename.tolowercase()&&e.type===t}}function he(n){return function(e){var t=e.nodename.tolowercase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentnode&&!1===e.disabled?"label"in e?"label"in e.parentnode?e.parentnode.disabled===t:e.disabled===t:e.isdisabled===t||e.isdisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getelementsbytagname&&e}for(e in d=se.support={},i=se.isxml=function(e){var t=e.namespaceuri,n=(e.ownerdocument||e).documentelement;return!y.test(t||n&&n.nodename||"html")},t=se.setdocument=function(e){var t,n,r=e?e.ownerdocument||e:p;return r!=c&&9===r.nodetype&&r.documentelement&&(a=(c=r).documentelement,e=!i(c),p!=c&&(n=c.defaultview)&&n.top!==n&&(n.addeventlistener?n.addeventlistener("unload",oe,!1):n.attachevent&&n.attachevent("onunload",oe)),d.scope=ce(function(e){return a.appendchild(e).appendchild(c.createelement("div")),"undefined"!=typeof e.queryselectorall&&!e.queryselectorall(":scope fieldset div").length}),d.attributes=ce(function(e){return e.classname="i",!e.getattribute("classname")}),d.getelementsbytagname=ce(function(e){return e.appendchild(c.createcomment("")),!e.getelementsbytagname("*").length}),d.getelementsbyclassname=k.test(c.getelementsbyclassname),d.getbyid=ce(function(e){return a.appendchild(e).id=s,!c.getelementsbyname||!c.getelementsbyname(s).length}),d.getbyid?(b.filter.id=function(e){var t=e.replace(te,ne);return function(e){return e.getattribute("id")===t}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n=t.getelementbyid(e);return n?[n]:[]}}):(b.filter.id=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getattributenode&&e.getattributenode("id");return t&&t.value===n}},b.find.id=function(e,t){if("undefined"!=typeof t.getelementbyid&&e){var n,r,i,o=t.getelementbyid(e);if(o){if((n=o.getattributenode("id"))&&n.value===e)return[o];i=t.getelementsbyname(e),r=0;while(o=i[r++])if((n=o.getattributenode("id"))&&n.value===e)return[o]}return[]}}),b.find.tag=d.getelementsbytagname?function(e,t){return"undefined"!=typeof t.getelementsbytagname?t.getelementsbytagname(e):d.qsa?t.queryselectorall(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getelementsbytagname(e);if("*"===e){while(n=o[i++])1===n.nodetype&&r.push(n);return r}return o},b.find.class=d.getelementsbyclassname&&function(e,t){if("undefined"!=typeof t.getelementsbyclassname&&e)return t.getelementsbyclassname(e)},s=[],v=[],(d.qsa=k.test(c.queryselectorall))&&(ce(function(e){var t;a.appendchild(e).innerhtml="",e.queryselectorall("[msallowcapture^='']").length&&v.push("[*^$]="+m+"*(?:''|\"\")"),e.queryselectorall("[selected]").length||v.push("\\["+m+"*(?:value|"+r+")"),e.queryselectorall("[id~="+s+"-]").length||v.push("~="),(t=c.createelement("input")).setattribute("name",""),e.appendchild(t),e.queryselectorall("[name='']").length||v.push("\\["+m+"*name"+m+"*="+m+"*(?:''|\"\")"),e.queryselectorall(":checked").length||v.push(":checked"),e.queryselectorall("a#"+s+"+*").length||v.push(".#.+[+~]"),e.queryselectorall("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerhtml="";var t=c.createelement("input");t.setattribute("type","hidden"),e.appendchild(t).setattribute("name","d"),e.queryselectorall("[name=d]").length&&v.push("name"+m+"*[*^$|!~]?="),2!==e.queryselectorall(":enabled").length&&v.push(":enabled",":disabled"),a.appendchild(e).disabled=!0,2!==e.queryselectorall(":disabled").length&&v.push(":enabled",":disabled"),e.queryselectorall("*,:x"),v.push(",.*:")})),(d.matchesselector=k.test(c=a.matches||a.webkitmatchesselector||a.mozmatchesselector||a.omatchesselector||a.msmatchesselector))&&ce(function(e){d.disconnectedmatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",f)}),v=v.length&&new regexp(v.join("|")),s=s.length&&new regexp(s.join("|")),t=k.test(a.comparedocumentposition),y=t||k.test(a.contains)?function(e,t){var n=9===e.nodetype?e.documentelement:e,r=t&&t.parentnode;return e===r||!(!r||1!==r.nodetype||!(n.contains?n.contains(r):e.comparedocumentposition&&16&e.comparedocumentposition(r)))}:function(e,t){if(t)while(t=t.parentnode)if(t===e)return!0;return!1},d=t?function(e,t){if(e===t)return l=!0,0;var n=!e.comparedocumentposition-!t.comparedocumentposition;return n||(1&(n=(e.ownerdocument||e)==(t.ownerdocument||t)?e.comparedocumentposition(t):1)||!d.sortdetached&&t.comparedocumentposition(e)===n?e==c||e.ownerdocument==p&&y(p,e)?-1:t==c||t.ownerdocument==p&&y(p,t)?1:u?p(u,e)-p(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentnode,o=t.parentnode,a=[e],s=[t];if(!i||!o)return e==c?-1:t==c?1:i?-1:o?1:u?p(u,e)-p(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentnode)a.unshift(n);n=t;while(n=n.parentnode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),c},se.matches=function(e,t){return se(e,null,null,t)},se.matchesselector=function(e,t){if(t(e),d.matchesselector&&e&&!n[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedmatch||e.document&&11!==e.document.nodetype)return n}catch(e){n(t,!0)}return 0":{dir:"parentnode",first:!0}," ":{dir:"parentnode"},"+":{dir:"previoussibling",first:!0},"~":{dir:"previoussibling"}},prefilter:{attr:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},child:function(e){return e[1]=e[1].tolowercase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},pseudo:function(e){var t,n=!e[6]&&e[2];return g.child.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&x.test(n)&&(t=h(n,!0))&&(t=n.indexof(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{tag:function(e){var t=e.replace(te,ne).tolowercase();return"*"===e?function(){return!0}:function(e){return e.nodename&&e.nodename.tolowercase()===t}},class:function(e){var t=m[e+" "];return t||(t=new regexp("(^|"+m+")"+e+"("+m+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.classname&&e.classname||"undefined"!=typeof e.getattribute&&e.getattribute("class")||"")})},attr:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexof(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function d(e,n,r){return m(n)?s.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodetype?s.grep(e,function(e){return e===n!==r}):"string"!=typeof n?s.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(s.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof s?t[0]:t,s.merge(this,s.parsehtml(r[1],t&&t.nodetype?t.ownerdocument||t:e,!0)),n.test(r[1])&&s.isplainobject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=e.getelementbyid(r[2]))&&(this[0]=i,this.length=1),this}return e.nodetype?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(s):s.makearray(e,this)}).prototype=s.fn,j=s(e);var l=/^(?:parents|prev(?:until|all))/,h={children:!0,contents:!0,next:!0,prev:!0};function o(e,t){while((e=e[t])&&1!==e.nodetype);return e}s.fn.extend({has:function(e){var t=s(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=e.createdocumentfragment().appendchild(e.createelement("div")),(fe=e.createelement("input")).setattribute("type","radio"),fe.setattribute("checked","checked"),fe.setattribute("name","t"),ce.appendchild(fe),y.checkclone=ce.clonenode(!0).clonenode(!0).lastchild.checked,ce.innerhtml="",y.noclonechecked=!!ce.clonenode(!0).lastchild.defaultvalue,ce.innerhtml="",y.option=!!ce.lastchild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getelementsbytagname?e.getelementsbytagname(t||"*"):"undefined"!=typeof e.queryselectorall?e.queryselectorall(t||"*"):[],void 0===t||t&&a(e,t)?s.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createdocumentfragment(),p=[],d=0,h=e.length;d\s*$/g;function qe(e,t){return a(e,"table")&&a(11!==t.nodetype?t:t.firstchild,"tr")&&s(e).children("tbody")[0]||e}function le(e){return e.type=(null!==e.getattribute("type"))+"/"+e.type,e}function he(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeattribute("type"),e}function oe(e,t){var n,r,i,o,a,s;if(1===t.nodetype){if(y.hasdata(e)&&(s=y.get(e).events))for(i in y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptattrs||{}).prop({charset:n.scriptcharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),e.head.appendchild(r[0])},abort:function(){i&&i()}}});var ut,xt=[],vt=/(=)\?(?=&|$)|\?\?/;s.ajaxsetup({jsonp:"callback",jsonpcallback:function(){var e=xt.pop()||s.expando+"_"+ct.guid++;return this[e]=!0,e}}),s.ajaxprefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contenttype||"").indexof("application/x-www-form-urlencoded")&&vt.test(e.data)&&"data");if(a||"jsonp"===e.datatypes[0])return r=e.jsonpcallback=m(e.jsonpcallback)?e.jsonpcallback():e.jsonpcallback,a?e[a]=e[a].replace(vt,"$1"+r):!1!==e.jsonp&&(e.url+=(et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||s.error(r+" was not called"),o[0]},e.datatypes[0]="json",i=c[r],c[r]=function(){o=arguments},n.always(function(){void 0===i?s(c).removeprop(r):c[r]=i,e[r]&&(e.jsonpcallback=t.jsonpcallback,xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createhtmldocument=((ut=e.implementation.createhtmldocument("").body).innerhtml="
",2===ut.childnodes.length),s.parsehtml=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createhtmldocument?((r=(t=e.implementation.createhtmldocument("")).createelement("base")).href=e.location.href,t.head.appendchild(r)):t=e),o=!n&&[],(i=n.exec(e))?[t.createelement(i[1])]:(i=xe([e],t,o),o&&o.length&&s(o).remove(),s.merge([],i.childnodes)));var r,i,o},s.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexof(" ");return-1").append(s.parsehtml(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responsetext,t,e])})}),this},s.expr.pseudos.animated=function(t){return s.grep(s.timers,function(e){return t===e.elem}).length},s.offset={setoffset:function(e,t,n){var r,i,o,a,s,u,l=s.css(e,"position"),c=s(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=s.css(e,"top"),u=s.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexof("auto")?(a=(r=c.position()).top,i=r.left):(a=parsefloat(o)||0,i=parsefloat(u)||0),m(t)&&(t=t.call(e,n,s.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},s.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){s.offset.setoffset(this,t,e)});var e,n,r=this[0];return r?r.getclientrects().length?(e=r.getboundingclientrect(),n=r.ownerdocument.defaultview,{top:e.top+n.pageyoffset,left:e.left+n.pagexoffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===s.css(r,"position"))t=r.getboundingclientrect();else{t=this.offset(),n=r.ownerdocument,e=r.offsetparent||n.documentelement;while(e&&(e===n.body||e===n.documentelement)&&"static"===s.css(e,"position"))e=e.parentnode;e&&e!==r&&1===e.nodetype&&((i=s(e).offset()).top+=s.css(e,"bordertopwidth",!0),i.left+=s.css(e,"borderleftwidth",!0))}return{top:t.top-i.top-s.css(r,"margintop",!0),left:t.left-i.left-s.css(r,"marginleft",!0)}}},offsetparent:function(){return this.map(function(){var e=this.offsetparent;while(e&&"static"===s.css(e,"position"))e=e.offsetparent;return e||re})}}),s.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(t,i){var o="pageyoffset"===i;s.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodetype&&(r=e.defaultview),void 0===n)return r?r[i]:e[t];r?r.scrollto(o?r.pagexoffset:n,o?n:r.pageyoffset):e[t]=n},t,e,arguments.length)}}),s.each(["top","left"],function(e,n){s.csshooks[n]=$e(y.pixelposition,function(e,t){if(t)return t=be(e,n),me.test(t)?s(e).position()[n]+"px":t})}),s.each({height:"height",width:"width"},function(a,s){s.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){s.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexof("outer")?e["inner"+a]:e.document.documentelement["client"+a]:9===e.nodetype?(r=e.documentelement,math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?s.css(e,t,i):s.style(e,t,n,i)},s,n?e:void 0,n)}})}),s.each(["ajaxstart","ajaxstop","ajaxcomplete","ajaxerror","ajaxsuccess","ajaxsend"],function(e,t){s.fn[t]=function(e){return this.on(t,e)}}),s.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){s.fn[n]=function(e,t){return 00&&(t+=" "+n+e.join(" "+n)),s?b.classname.baseval=t:b.classname=t)}function i(e,t){if("object"==typeof e)for(var n in e)e(e,n)&&i(n,e[n]);else{e=e.tolowercase();var r=e.split("."),s=modernizr[r[0]];if(2===r.length&&(s=s[r[1]]),void 0!==s)return modernizr;t="function"==typeof t?t():t,1===r.length?modernizr[r[0]]=t:(!modernizr[r[0]]||modernizr[r[0]]instanceof boolean||(modernizr[r[0]]=new boolean(modernizr[r[0]])),modernizr[r[0]][r[1]]=t),o([(t&&!1!==t?"":"no-")+r.join("-")]),modernizr._trigger(e,t)}return modernizr}function s(){return"function"!=typeof t.createelement?t.createelement(arguments[0]):s?t.createelementns.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createelement.apply(t,arguments)}function a(){var e=t.body;return e||(e=s(s?"svg":"body"),e.fake=!0),e}function l(e,n,r,o){var i,l,u,f,c="modernizr",d=s("div"),p=a();if(parseint(r,10))for(;r--;)u=s("div"),u.id=o?o[r]:c+(r+1),d.appendchild(u);return i=s("style"),i.type="text/css",i.id="s"+c,(p.fake?p:d).appendchild(i),p.appendchild(d),i.stylesheet?i.stylesheet.csstext=e:i.appendchild(t.createtextnode(e)),d.id=c,p.fake&&(p.style.background="",p.style.overflow="hidden",f=b.style.overflow,b.style.overflow="hidden",b.appendchild(p)),l=n(d,e),p.fake?(p.parentnode.removechild(p),b.style.overflow=f,b.offsetheight):d.parentnode.removechild(d),!!l}function u(e,t){return!!~(""+e).indexof(t)}function f(e){return e.replace(/([a-z])/g,function(e,t){return"-"+t.tolowercase()}).replace(/^ms-/,"-ms-")}function c(t,n,r){var o;if("getcomputedstyle"in e){o=getcomputedstyle.call(e,t,n);var i=e.console;if(null!==o)r&&(o=o.getpropertyvalue(r));else if(i){var s=i.error?"error":"log";i[s].call(i,"getcomputedstyle returning null, its possible modernizr test results are inaccurate")}}else o=!n&&t.currentstyle&&t.currentstyle[r];return o}function d(t,r){var o=t.length;if("css"in e&&"supports"in e.css){for(;o--;)if(e.css.supports(f(t[o]),r))return!0;return!1}if("csssupportsrule"in e){for(var i=[];o--;)i.push("("+f(t[o])+":"+r+")");return i=i.join(" or "),l("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"===c(e,null,"position")})}return n}function p(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.touppercase()}).replace(/^-/,"")}function m(e,t,o,i){function a(){f&&(delete l.style,delete l.modelem)}if(i=!r(i,"undefined")&&i,!r(o,"undefined")){var l=d(e,o);if(!r(l,"undefined"))return l}for(var f,c,m,h,v,a=["modernizr","tspan","samp"];!l.style&&a.length;)f=!0,l.modelem=s(a.shift()),l.style=l.modelem.style;for(m=e.length,c=0;c=o.clientwidth&&n>=o.clientheight}),l=0a[e]&&!t.escapewithreference&&(n=q(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.foreach(function(e){var t=-1===['left','top'].indexof(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundarieselement:'scrollparent'},keeptogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=z,p=-1!==['top','bottom'].indexof(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!k(e.instance.modifiers,'arrow','keeptogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.queryselector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('warning: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexof(r),l=a?'height':'width',f=a?'top':'left',m=f.tolowercase(),h=a?'left':'top',c=a?'bottom':'right',u=s(i)[l];d[c]-us[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parsefloat(w['margin'+f],10),e=parsefloat(w['border'+f+'width'],10),v=b-e.offsets.popper[m]-y-e;return v=ee(q(s[l]-u,v),0),e.arrowelement=i,e.offsets.arrow=(n={},ae(n,m,$(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(w(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalplacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundarieselement,e.positionfixed),n=e.placement.split('-')[0],i=t(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ce.flip:p=[n,i];break;case ce.clockwise:p=g(n);break;case ce.counterclockwise:p=g(n,!0);break;default:p=t.behavior;}return p.foreach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=t(n);var a=e.offsets.popper,l=e.offsets.reference,f=z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexof(n),y=!!t.flipvariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u),e=!!t.flipvariationsbycontent&&(w&&'start'===r&&c||w&&'end'===r&&h||!w&&'start'===r&&u||!w&&'end'===r&&g),v=y||e;(m||b||v)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),v&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,c(e.instance.popper,e.offsets.reference,e.placement)),e=p(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundarieselement:'viewport',flipvariations:!1,flipvariationsbycontent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexof(o),s=-1===['top','left'].indexof(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=t(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!k(e.instance.modifiers,'hide','preventoverflow'))return e;var t=e.offsets.reference,o=d(e.instance.modifiers,function(e){return'preventoverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.rightwindow.devicepixelratio||!fe),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=b('transform');if(d='bottom'==c?'html'===l.nodename?-l.clientheight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'html'===l.nodename?-l.clientwidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willchange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willchange=c+', '+g}var e={"x-placement":e.placement};return e.attributes=le({},e,e.attributes),e.styles=le({},m,e.styles),e.arrowstyles=le({},e.offsets.arrow,e.arrowstyles),e},gpuacceleration:!0,x:'bottom',y:'right'},applystyle:{order:900,enabled:!0,fn:function(e){return v(e.instance.popper,e.styles),j(e.instance.popper,e.attributes),e.arrowelement&&object.keys(e.arrowstyles).length&&v(e.arrowelement,e.arrowstyles),e},onload:function(e,t,o,n,i){var r=l(i,t,e,o.positionfixed),p=o(o.placement,r,t,e,o.modifiers.flip.boundarieselement,o.modifiers.flip.padding);return t.setattribute('x-placement',p),v(t,{position:o.positionfixed?'fixed':'absolute'}),o},gpuacceleration:void 0}}},ge}); //# sourcemappingurl=popper.min.js.map /*! jquery ui - v1.12.1 - 2016-09-14 * http://jqueryui.com * includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js * copyright jquery foundation and other contributors; licensed mit */ (function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jquery)})(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}function i(t){for(var e,i;t.length&&t[0]!==document;){if(e=t.css("position"),("absolute"===e||"relative"===e||"fixed"===e)&&(i=parseint(t.css("zindex"),10),!isnan(i)&&0!==i))return i;t=t.parent()}return 0}function s(){this._curinst=null,this._keyevent=!1,this._disabledinputs=[],this._datepickershowing=!1,this._indialog=!1,this._maindivid="ui-datepicker-div",this._inlineclass="ui-datepicker-inline",this._appendclass="ui-datepicker-append",this._triggerclass="ui-datepicker-trigger",this._dialogclass="ui-datepicker-dialog",this._disableclass="ui-datepicker-disabled",this._unselectableclass="ui-datepicker-unselectable",this._currentclass="ui-datepicker-current-day",this._dayoverclass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closetext:"done",prevtext:"prev",nexttext:"next",currenttext:"today",monthnames:["january","february","march","april","may","june","july","august","september","october","november","december"],monthnamesshort:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],daynames:["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],daynamesshort:["sun","mon","tue","wed","thu","fri","sat"],daynamesmin:["su","mo","tu","we","th","fr","sa"],weekheader:"wk",dateformat:"mm/dd/yy",firstday:0,isrtl:!1,showmonthafteryear:!1,yearsuffix:""},this._defaults={showon:"focus",showanim:"fadein",showoptions:{},defaultdate:null,appendtext:"",buttontext:"...",buttonimage:"",buttonimageonly:!1,hideifnoprevnext:!1,navigationasdateformat:!1,gotocurrent:!1,changemonth:!1,changeyear:!1,yearrange:"c-10:c+10",showothermonths:!1,selectothermonths:!1,showweek:!1,calculateweek:this.iso8601week,shortyearcutoff:"+10",mindate:null,maxdate:null,duration:"fast",beforeshowday:null,beforeshow:null,onselect:null,onchangemonthyear:null,onclose:null,numberofmonths:1,showcurrentatpos:0,stepmonths:1,stepbigmonths:12,altfield:"",altformat:"",constraininput:!0,showbuttonpanel:!1,autosize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-us"]=t.extend(!0,{},this.regional.en),this.dpdiv=n(t("
"))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeclass("ui-state-hover"),-1!==this.classname.indexof("ui-datepicker-prev")&&t(this).removeclass("ui-datepicker-prev-hover"),-1!==this.classname.indexof("ui-datepicker-next")&&t(this).removeclass("ui-datepicker-next-hover")}).on("mouseover",i,o)}function o(){t.datepicker._isdisableddatepicker(m.inline?m.dpdiv.parent()[0]:m.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeclass("ui-state-hover"),t(this).addclass("ui-state-hover"),-1!==this.classname.indexof("ui-datepicker-prev")&&t(this).addclass("ui-datepicker-prev-hover"),-1!==this.classname.indexof("ui-datepicker-next")&&t(this).addclass("ui-datepicker-next-hover"))}function a(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}function r(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.ui=t.ui||{},t.ui.version="1.12.1";var h=0,l=array.prototype.slice;t.cleandata=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerhandler("remove")}catch(a){}e(i)}}(t.cleandata),t.widget=function(e,i,s){var n,o,a,r={},h=e.split(".")[0];e=e.split(".")[1];var l=h+"-"+e;return s||(s=i,i=t.widget),t.isarray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][l.tolowercase()]=function(e){return!!t.data(e,l)},t[h]=t[h]||{},n=t[h][e],o=t[h][e]=function(t,e){return this._createwidget?(arguments.length&&this._createwidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childconstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isfunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superapply;return this._super=t,this._superapply=n,e=s.apply(this,arguments),this._super=i,this._superapply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgeteventprefix:n?a.widgeteventprefix||e:e},r,{constructor:o,namespace:h,widgetname:e,widgetfullname:l}),n?(t.each(n._childconstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetname,o,i._proto)}),delete n._childconstructors):i._childconstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,s,n=l.call(arguments,1),o=0,a=n.length;a>o;o++)for(i in n[o])s=n[o][i],n[o].hasownproperty(i)&&void 0!==s&&(e[i]=t.isplainobject(s)?t.isplainobject(e[i])?t.widget.extend({},e[i],s):t.widget.extend({},s):s);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetfullname||e;t.fn[e]=function(n){var o="string"==typeof n,a=l.call(arguments,1),r=this;return o?this.length||"instance"!==n?this.each(function(){var i,o=t.data(this,s);return"instance"===n?(r=o,!1):o?t.isfunction(o[n])&&"_"!==n.charat(0)?(i=o[n].apply(o,a),i!==o&&void 0!==i?(r=i&&i.jquery?r.pushstack(i.get()):i,!1):void 0):t.error("no such method '"+n+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+n+"'")}):r=void 0:(a.length&&(n=t.widget.extend.apply(null,[n].concat(a))),this.each(function(){var e=t.data(this,s);e?(e.option(n||{}),e._init&&e._init()):t.data(this,s,new i(n,this))})),r}},t.widget=function(){},t.widget._childconstructors=[],t.widget.prototype={widgetname:"widget",widgeteventprefix:"",defaultelement:"
",options:{classes:{},disabled:!1,create:null},_createwidget:function(e,i){i=t(i||this.defaultelement||this)[0],this.element=t(i),this.uuid=h++,this.eventnamespace="."+this.widgetname+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classeselementlookup={},i!==this&&(t.data(i,this.widgetfullname,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerdocument:i.document||i),this.window=t(this.document[0].defaultview||this.document[0].parentwindow)),this.options=t.widget.extend({},this.options,this._getcreateoptions(),e),this._create(),this.options.disabled&&this._setoptiondisabled(this.options.disabled),this._trigger("create",null,this._getcreateeventdata()),this._init()},_getcreateoptions:function(){return{}},_getcreateeventdata:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classeselementlookup,function(t,i){e._removeclass(i,t)}),this.element.off(this.eventnamespace).removedata(this.widgetfullname),this.widget().off(this.eventnamespace).removeattr("aria-disabled"),this.bindings.off(this.eventnamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setoptions(a),this},_setoptions:function(t){var e;for(e in t)this._setoption(e,t[e]);return this},_setoption:function(t,e){return"classes"===t&&this._setoptionclasses(e),this.options[t]=e,"disabled"===t&&this._setoptiondisabled(e),this},_setoptionclasses:function(e){var i,s,n;for(i in e)n=this.classeselementlookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeclass(n,i),s.addclass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setoptiondisabled:function(t){this._toggleclass(this.widget(),this.widgetfullname+"-disabled",null,!!t),t&&(this._removeclass(this.hoverable,null,"ui-state-hover"),this._removeclass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setoptions({disabled:!1})},disable:function(){return this._setoptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classeselementlookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classeselementlookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackclasseselement"}),e.keys&&i(e.keys.match(/\s+/g)||[],!0),e.extra&&i(e.extra.match(/\s+/g)||[]),s.join(" ")},_untrackclasseselement:function(e){var i=this;t.each(i.classeselementlookup,function(s,n){-1!==t.inarray(e.target,n)&&(i.classeselementlookup[s]=t(n.not(e.target).get()))})},_removeclass:function(t,e,i){return this._toggleclass(t,e,i,!1)},_addclass:function(t,e,i){return this._toggleclass(t,e,i,!0)},_toggleclass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleclass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasclass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventnamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventnamespace+" ")+this.eventnamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return settimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addclass(t(e.currenttarget),null,"ui-state-hover")},mouseleave:function(e){this._removeclass(t(e.currenttarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addclass(t(e.currenttarget),null,"ui-state-focus")},focusout:function(e){this._removeclass(t(e.currenttarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.event(i),i.type=(e===this.widgeteventprefix?e:this.widgeteventprefix+e).tolowercase(),i.target=this.element[0],o=i.originalevent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isfunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isdefaultprevented())}},t.each({show:"fadein",hide:"fadeout"},function(e,i){t.widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isemptyobject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parsefloat(t[0])*(u.test(t[0])?e/100:1),parsefloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseint(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodetype?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.iswindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrolltop(),left:e.scrollleft()}}:i.preventdefault?{width:0,height:0,offset:{top:i.pagey,left:i.pagex}}:{width:e.outerwidth(),height:e.outerheight(),offset:e.offset()}}var n,o=math.max,a=math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarwidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetwidth,s.css("overflow","scroll"),i=o.offsetwidth,e===i&&(i=s[0].clientwidth),s.remove(),n=e-i},getscrollinfo:function(e){var i=e.iswindow||e.isdocument?"":e.element.css("overflow-x"),s=e.iswindow||e.isdocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(d,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.iswindow?s.scrollleft:s.offset.left,a=s.width,r=t.left-e.collisionposition.marginleft,h=n-r,l=r+e.collisionwidth-a-n;e.collisionwidth>a?h>0&&0>=l?(i=t.left+h+e.collisionwidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionwidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.iswindow?s.scrolltop:s.offset.top,a=e.within.height,r=t.top-e.collisionposition.margintop,h=n-r,l=r+e.collisionheight-a-n;e.collisionheight>a?h>0&&0>=l?(i=t.top+h+e.collisionheight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionheight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollleft,r=n.width,h=n.iswindow?n.scrollleft:n.offset.left,l=t.left-e.collisionposition.marginleft,c=l-h,u=l+e.collisionwidth-r-h,d="left"===e.my[0]?-e.elemwidth:"right"===e.my[0]?e.elemwidth:0,p="left"===e.at[0]?e.targetwidth:"right"===e.at[0]?-e.targetwidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionwidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionposition.marginleft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrolltop,r=n.height,h=n.iswindow?n.scrolltop:n.offset.top,l=t.top-e.collisionposition.margintop,c=l-h,u=l+e.collisionheight-r-h,d="top"===e.my[1],p=d?-e.elemheight:"bottom"===e.my[1]?e.elemheight:0,f="top"===e.at[1]?e.targetheight:"bottom"===e.at[1]?-e.targetheight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionheight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionposition.margintop+p+f+g-h,(i>0||u>a(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createpseudo?t.expr.createpseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableselection:function(){var t="onselectstart"in document.createelement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableselection",function(t){t.preventdefault()})}}(),enableselection:function(){return this.off(".ui-disableselection")}});var c="ui-effects-",u="ui-effects-style",d="ui-effects-animated",p=t;t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parsefloat(t),isnan(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.tolowercase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundcolor borderbottomcolor borderleftcolor borderrightcolor bordertopcolor color columnrulecolor outlinecolor textdecorationcolor textemphasiscolor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseint(t[1],16),parseint(t[2],16),parseint(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseint(t[1]+t[1],16),parseint(t[2]+t[2],16),parseint(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.color=function(e,i,s,n){return new t.color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("

")[0],f=t.each;p.style.csstext="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundcolor.indexof("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodetype)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inarray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},torgbastring:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},tohslastring:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},tohexstring:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).tostring(16),1===t.length?"0"+t:t}).join("")},tostring:function(){return 0===this._rgba[3]?"transparent":this.torgbastring()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=math.max(s,n,o),h=math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[math.round(255*n(r,a,e+1/3)),math.round(255*n(r,a,e)),math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parsefloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.csshooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundcolor"===i?e.parentnode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundcolor"),a=a.parentnode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.torgbastring()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorinit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorinit=!0),t.csshooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.csshooks.bordercolor={expand:function(t){var e={};return f(["top","right","bottom","left"],function(i,s){e["border"+s+"color"]=t}),e}},o=t.color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(p),function(){function e(e){var i,s,n=e.ownerdocument.defaultview?e.ownerdocument.defaultview.getcomputedstyle(e,null):e.currentstyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelcase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function i(e,i){var s,o,a={};for(s in i)o=i[s],e[s]!==o&&(n[s]||(t.fx.step[s]||!isnan(parsefloat(o)))&&(a[s]=o));return a}var s=["add","remove","toggle"],n={border:1,borderbottom:1,bordercolor:1,borderleft:1,borderright:1,bordertop:1,borderwidth:1,margin:1,padding:1};t.each(["borderleftstyle","borderrightstyle","borderbottomstyle","bordertopstyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setattr||1===t.pos&&!t.setattr)&&(p.style(t.elem,i,t.end),t.setattr=!0)}}),t.fn.addback||(t.fn.addback=function(t){return this.add(null==t?this.prevobject:this.prevobject.filter(t))}),t.effects.animateclass=function(n,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addback():a;l=l.map(function(){var i=t(this);return{el:i,start:e(this)}}),o=function(){t.each(s,function(t,e){n[e]&&a[e+"class"](n[e])})},o(),l=l.map(function(){return this.end=e(this.el[0]),this.diff=i(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addclass:function(e){return function(i,s,n,o){return s?t.effects.animateclass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addclass),removeclass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateclass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeclass),toggleclass:function(e){return function(i,s,n,o,a){return"boolean"==typeof s||void 0===s?n?t.effects.animateclass.call(this,s?{add:i}:{remove:i},n,o,a):e.apply(this,arguments):t.effects.animateclass.call(this,{toggle:i},s,n,o)}}(t.fn.toggleclass),switchclass:function(e,i,s,n,o){return t.effects.animateclass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function e(e,i,s,n){return t.isplainobject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isfunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isfunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function i(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isfunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}function s(t,e){var i=e.outerwidth(),s=e.outerheight(),n=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,o=n.exec(t)||["",0,i,s,0];return{top:parsefloat(o[1])||0,right:"auto"===o[2]?i:parsefloat(o[2]),bottom:"auto"===o[3]?s:parsefloat(o[3]),left:parsefloat(o[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=function(e){return function(i){return!!t(i).data(d)||e(i)}}(t.expr.filters.animated)),t.uibackcompat!==!1&&t.extend(t.effects,{save:function(t,e){for(var i=0,s=e.length;s>i;i++)null!==e[i]&&t.data(c+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,s=0,n=e.length;n>s;s++)null!==e[s]&&(i=t.data(c+e[s]),t.css(e[s],i))},setmode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createwrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerwidth(!0),height:e.outerheight(!0),"float":e.css("float")},s=t("

").addclass("ui-effects-wrapper").css({fontsize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeelement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).trigger("focus"),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zindex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isnan(parseint(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removewrapper:function(e){var i=document.activeelement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replacewith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,i,s){return s||(s=i,i="effect"),t.effects.effect[e]=s,t.effects.effect[e].mode=i,s},scaleddimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerheight:0,outerwidth:0};var s="horizontal"!==i?(e||100)/100:1,n="vertical"!==i?(e||100)/100:1;return{height:t.height()*n,width:t.width()*s,outerheight:t.outerheight()*n,outerwidth:t.outerwidth()*s}},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 s=t.queue();e>1&&s.splice.apply(s,[1,0].concat(s.splice(e,i))),t.dequeue()},savestyle:function(t){t.data(u,t[0].style.csstext)},restorestyle:function(t){t[0].style.csstext=t.data(u)||"",t.removedata(u)},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getbaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createplaceholder:function(e){var i,s=e.css("position"),n=e.position();return e.css({margintop:e.css("margintop"),marginbottom:e.css("marginbottom"),marginleft:e.css("marginleft"),marginright:e.css("marginright")}).outerwidth(e.outerwidth()).outerheight(e.outerheight()),/^(static|relative)/.test(s)&&(s="absolute",i=t("<"+e[0].nodename+">").insertafter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",margintop:e.css("margintop"),marginbottom:e.css("marginbottom"),marginleft:e.css("marginleft"),marginright:e.css("marginright"),"float":e.css("float")}).outerwidth(e.outerwidth()).outerheight(e.outerheight()).addclass("ui-effects-placeholder"),e.data(c+"placeholder",i)),e.css({position:s,left:n.left,top:n.top}),i},removeplaceholder:function(t){var e=c+"placeholder",i=t.data(e);i&&(i.remove(),t.removedata(e))},cleanup:function(e){t.effects.restorestyle(e),t.effects.removeplaceholder(e)},settransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssunit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function i(e){function i(){r.removedata(d),t.effects.cleanup(r),"hide"===s.mode&&r.hide(),a()}function a(){t.isfunction(h)&&h.call(r[0]),t.isfunction(e)&&e()}var r=t(this);s.mode=c.shift(),t.uibackcompat===!1||o?"none"===s.mode?(r[l](),a()):n.call(r[0],s,i):(r.is(":hidden")?"hide"===l:"show"===l)?(r[l](),a()):n.call(r[0],s,a)}var s=e.apply(this,arguments),n=t.effects.effect[s.effect],o=n.mode,a=s.queue,r=a||"fx",h=s.complete,l=s.mode,c=[],u=function(e){var i=t(this),s=t.effects.mode(i,l)||o;i.data(d,!0),c.push(s),o&&("show"===s||s===o&&"hide"===s)&&i.show(),o&&"none"===s||t.effects.savestyle(i),t.isfunction(e)&&e()};return t.fx.off||!n?l?this[l](s.duration,h):this.each(function(){h&&h.call(this)}):a===!1?this.each(u).each(i):this.queue(r,u).queue(r,i)},show:function(t){return function(s){if(i(s))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="show",this.effect.call(this,n) }}(t.fn.show),hide:function(t){return function(s){if(i(s))return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="hide",this.effect.call(this,n)}}(t.fn.hide),toggle:function(t){return function(s){if(i(s)||"boolean"==typeof s)return t.apply(this,arguments);var n=e.apply(this,arguments);return n.mode="toggle",this.effect.call(this,n)}}(t.fn.toggle),cssunit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexof(e)>0&&(s=[parsefloat(i),e])}),s},cssclip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):s(this.css("clip"),this)},transfer:function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrolltop():0,h=o?a.scrollleft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerheight(),width:n.innerwidth()},u=s.offset(),d=t("
").appendto("body").addclass(e.classname).css({top:u.top-r,left:u.left-h,height:s.innerheight(),width:s.innerwidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),t.isfunction(i)&&i()})}}),t.fx.step.clip=function(e){e.clipinit||(e.start=t(e.elem).cssclip(),"string"==typeof e.end&&(e.end=s(e.end,e.elem)),e.clipinit=!0),t(e.elem).cssclip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),function(){var e={};t.each(["quad","cubic","quart","quint","expo"],function(t,i){e[i]=function(e){return math.pow(e,t+2)}}),t.extend(e,{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;((e=math.pow(2,--i))-1)/11>t;);return 1/math.pow(4,3-i)-7.5625*math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easein"+e]=i,t.easing["easeout"+e]=function(t){return 1-i(1-t)},t.easing["easeinout"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}();var f=t.effects;t.effects.define("blind","hide",function(e,i){var s={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=t(this),o=e.direction||"up",a=n.cssclip(),r={clip:t.extend({},a)},h=t.effects.createplaceholder(n);r.clip[s[o][0]]=r.clip[s[o][1]],"show"===e.mode&&(n.cssclip(r.clip),h&&h.css(t.effects.cliptobox(r)),r.clip=a),h&&h.animate(t.effects.cliptobox(r),e.duration,e.easing),n.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var s,n,o,a=t(this),r=e.mode,h="hide"===r,l="show"===r,c=e.direction||"up",u=e.distance,d=e.times||5,p=2*d+(l||h?1:0),f=e.duration/p,g=e.easing,m="up"===c||"down"===c?"top":"left",_="up"===c||"left"===c,v=0,b=a.queue().length;for(t.effects.createplaceholder(a),o=a.css(m),u||(u=a["top"===m?"outerheight":"outerwidth"]()/3),l&&(n={opacity:1},n[m]=o,a.css("opacity",0).css(m,_?2*-u:2*u).animate(n,f,g)),h&&(u/=math.pow(2,d-1)),n={},n[m]=o;d>v;v++)s={},s[m]=(_?"-=":"+=")+u,a.animate(s,f,g).animate(n,f,g),u=h?2*u:u/2;h&&(s={opacity:0},s[m]=(_?"-=":"+=")+u,a.animate(s,f,g)),a.queue(i),t.effects.unshift(a,b,p+1)}),t.effects.define("clip","hide",function(e,i){var s,n={},o=t(this),a=e.direction||"vertical",r="both"===a,h=r||"horizontal"===a,l=r||"vertical"===a;s=o.cssclip(),n.clip={top:l?(s.bottom-s.top)/2:s.top,right:h?(s.right-s.left)/2:s.right,bottom:l?(s.bottom-s.top)/2:s.bottom,left:h?(s.right-s.left)/2:s.left},t.effects.createplaceholder(o),"show"===e.mode&&(o.cssclip(n.clip),n.clip=s),o.animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("drop","hide",function(e,i){var s,n=t(this),o=e.mode,a="show"===o,r=e.direction||"left",h="up"===r||"down"===r?"top":"left",l="up"===r||"left"===r?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};t.effects.createplaceholder(n),s=e.distance||n["top"===h?"outerheight":"outerwidth"](!0)/2,u[h]=l+s,a&&(n.css(u),u[h]=c+s,u.opacity=1),n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("explode","hide",function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),i()}var o,a,r,h,l,c,u=e.pieces?math.round(math.sqrt(e.pieces)):3,d=u,p=t(this),f=e.mode,g="show"===f,m=p.show().css("visibility","hidden").offset(),_=math.ceil(p.outerwidth()/d),v=math.ceil(p.outerheight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*v,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*_,l=a-(d-1)/2,p.clone().appendto("body").wrap("
").css({position:"absolute",visibility:"visible",left:-a*_,top:-o*v}).parent().addclass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:_,height:v,left:r+(g?l*_:0),top:h+(g?c*v:0),opacity:g?0:1}).animate({left:r+(g?0:l*_),top:h+(g?0:c*v),opacity:g?1:0},e.duration||500,e.easing,s)}),t.effects.define("fade","toggle",function(e,i){var s="show"===e.mode;t(this).css("opacity",s?0:1).animate({opacity:s?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var s=t(this),n=e.mode,o="show"===n,a="hide"===n,r=e.size||15,h=/([0-9]+)%/.exec(r),l=!!e.horizfirst,c=l?["right","bottom"]:["bottom","right"],u=e.duration/2,d=t.effects.createplaceholder(s),p=s.cssclip(),f={clip:t.extend({},p)},g={clip:t.extend({},p)},m=[p[c[0]],p[c[1]]],_=s.queue().length;h&&(r=parseint(h[1],10)/100*m[a?0:1]),f.clip[c[0]]=r,g.clip[c[0]]=r,g.clip[c[1]]=0,o&&(s.cssclip(g.clip),d&&d.css(t.effects.cliptobox(g)),g.clip=p),s.queue(function(i){d&&d.animate(t.effects.cliptobox(f),u,e.easing).animate(t.effects.cliptobox(g),u,e.easing),i()}).animate(f,u,e.easing).animate(g,u,e.easing).queue(i),t.effects.unshift(s,_,4)}),t.effects.define("highlight","show",function(e,i){var s=t(this),n={backgroundcolor:s.css("backgroundcolor")};"hide"===e.mode&&(n.opacity=0),t.effects.savestyle(s),s.css({backgroundimage:"none",backgroundcolor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var s,n,o,a=t(this),r=["fontsize"],h=["bordertopwidth","borderbottomwidth","paddingtop","paddingbottom"],l=["borderleftwidth","borderrightwidth","paddingleft","paddingright"],c=e.mode,u="effect"!==c,d=e.scale||"both",p=e.origin||["middle","center"],f=a.css("position"),g=a.position(),m=t.effects.scaleddimensions(a),_=e.from||m,v=e.to||t.effects.scaleddimensions(a,0);t.effects.createplaceholder(a),"show"===c&&(o=_,_=v,v=o),n={from:{y:_.height/m.height,x:_.width/m.width},to:{y:v.height/m.height,x:v.width/m.width}},("box"===d||"both"===d)&&(n.from.y!==n.to.y&&(_=t.effects.settransition(a,h,n.from.y,_),v=t.effects.settransition(a,h,n.to.y,v)),n.from.x!==n.to.x&&(_=t.effects.settransition(a,l,n.from.x,_),v=t.effects.settransition(a,l,n.to.x,v))),("content"===d||"both"===d)&&n.from.y!==n.to.y&&(_=t.effects.settransition(a,r,n.from.y,_),v=t.effects.settransition(a,r,n.to.y,v)),p&&(s=t.effects.getbaseline(p,m),_.top=(m.outerheight-_.outerheight)*s.y+g.top,_.left=(m.outerwidth-_.outerwidth)*s.x+g.left,v.top=(m.outerheight-v.outerheight)*s.y+g.top,v.left=(m.outerwidth-v.outerwidth)*s.x+g.left),a.css(_),("content"===d||"both"===d)&&(h=h.concat(["margintop","marginbottom"]).concat(r),l=l.concat(["marginleft","marginright"]),a.find("*[width]").each(function(){var i=t(this),s=t.effects.scaleddimensions(i),o={height:s.height*n.from.y,width:s.width*n.from.x,outerheight:s.outerheight*n.from.y,outerwidth:s.outerwidth*n.from.x},a={height:s.height*n.to.y,width:s.width*n.to.x,outerheight:s.height*n.to.y,outerwidth:s.width*n.to.x};n.from.y!==n.to.y&&(o=t.effects.settransition(i,h,n.from.y,o),a=t.effects.settransition(i,h,n.to.y,a)),n.from.x!==n.to.x&&(o=t.effects.settransition(i,l,n.from.x,o),a=t.effects.settransition(i,l,n.to.x,a)),u&&t.effects.savestyle(i),i.css(o),i.animate(a,e.duration,e.easing,function(){u&&t.effects.restorestyle(i)})})),a.animate(v,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=a.offset();0===v.opacity&&a.css("opacity",_.opacity),u||(a.css("position","static"===f?"relative":f).offset(e),t.effects.savestyle(a)),i()}})}),t.effects.define("scale",function(e,i){var s=t(this),n=e.mode,o=parseint(e.percent,10)||(0===parseint(e.percent,10)?0:"effect"!==n?0:100),a=t.extend(!0,{from:t.effects.scaleddimensions(s),to:t.effects.scaleddimensions(s,o,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),t.effects.effect.size.call(this,a,i)}),t.effects.define("puff","hide",function(e,i){var s=t.extend(!0,{},e,{fade:!0,percent:parseint(e.percent,10)||150});t.effects.effect.scale.call(this,s,i)}),t.effects.define("pulsate","show",function(e,i){var s=t(this),n=e.mode,o="show"===n,a="hide"===n,r=o||a,h=2*(e.times||5)+(r?1:0),l=e.duration/h,c=0,u=1,d=s.queue().length;for((o||!s.is(":visible"))&&(s.css("opacity",0).show(),c=1);h>u;u++)s.animate({opacity:c},l,e.easing),c=1-c;s.animate({opacity:c},l,e.easing),s.queue(i),t.effects.unshift(s,d,h+1)}),t.effects.define("shake",function(e,i){var s=1,n=t(this),o=e.direction||"left",a=e.distance||20,r=e.times||3,h=2*r+1,l=math.round(e.duration/h),c="up"===o||"down"===o?"top":"left",u="up"===o||"left"===o,d={},p={},f={},g=n.queue().length;for(t.effects.createplaceholder(n),d[c]=(u?"-=":"+=")+a,p[c]=(u?"+=":"-=")+2*a,f[c]=(u?"-=":"+=")+2*a,n.animate(d,l,e.easing);r>s;s++)n.animate(p,l,e.easing).animate(f,l,e.easing);n.animate(p,l,e.easing).animate(d,l/2,e.easing).queue(i),t.effects.unshift(n,g,h+1)}),t.effects.define("slide","show",function(e,i){var s,n,o=t(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=e.mode,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u=e.distance||o["top"===l?"outerheight":"outerwidth"](!0),d={};t.effects.createplaceholder(o),s=o.cssclip(),n=o.position()[l],d[l]=(c?-1:1)*u+n,d.clip=o.cssclip(),d.clip[a[h][1]]=d.clip[a[h][0]],"show"===r&&(o.cssclip(d.clip),o.css(l,d[l]),d.clip=s,d[l]=n),o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:i})});var f;t.uibackcompat!==!1&&(f=t.effects.define("transfer",function(e,i){t(this).transfer(e,i)})),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodename.tolowercase();return"area"===l?(n=i.parentnode,o=n.name,i.href&&o&&"map"===n.nodename.tolowercase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formresetmixin={_formresethandler:function(){var e=t(this);settimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindformresethandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formresethandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindformresethandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inarray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removedata("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["width","height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parsefloat(t.css(e,"padding"+this))||0,s&&(i-=parsefloat(t.css(e,"border"+this+"width"))||0),o&&(i-=parsefloat(t.css(e,"margin"+this))||0)}),i}var n="width"===i?["left","right"]:["top","bottom"],o=i.tolowercase(),a={innerwidth:t.fn.innerwidth,innerheight:t.fn.innerheight,outerwidth:t.fn.outerwidth,outerheight:t.fn.outerheight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addback=function(t){return this.add(null==t?this.prevobject:this.prevobject.filter(t))}),t.ui.keycode={backspace:8,comma:188,delete:46,down:40,end:35,enter:13,escape:27,home:36,left:37,page_down:34,page_up:33,period:190,right:39,space:32,tab:9,up:38},t.ui.escapeselector=function(){var t=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushstack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeselector(s)+"']",n=n.add(o.find(i).addback(i))),this.pushstack(n))},t.fn.scrollparent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerdocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueid:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeuniqueid:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeattr("id")})}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :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 e=this.options;this.prevshow=this.prevhide=t(),this._addclass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processpanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getcreateeventdata:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createicons:function(){var e,i,s=this.options.icons;s&&(e=t(""),this._addclass(e,"ui-accordion-header-icon","ui-icon "+s.header),e.prependto(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeclass(i,s.header)._addclass(i,null,s.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){return"active"===t?(this._activate(e),void 0):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupevents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyicons(),e&&this._createicons()),void 0)},_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(e){if(!e.altkey&&!e.ctrlkey){var i=t.ui.keycode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keycode){case i.right:case i.down:o=this.headers[(n+1)%s];break;case i.left:case i.up:o=this.headers[(n-1+s)%s];break;case i.space:case i.enter:this._eventhandler(e);break;case i.home:o=this.headers[0];break;case i.end:o=this.headers[s-1]}o&&(t(e.target).attr("tabindex",-1),t(o).attr("tabindex",0),t(o).trigger("focus"),e.preventdefault())}},_panelkeydown:function(e){e.keycode===t.ui.keycode.up&&e.ctrlkey&&t(e.currenttarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processpanels(),e.active===!1&&e.collapsible===!0||!this.headers.length?(e.active=!1,this.active=t()):e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyicons(),this._refresh()},_processpanels:function(){var t=this.headers,e=this.panels;this.headers=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 e,i=this.options,s=i.heightstyle,n=this.element.parent();this.active=this._findactive(i.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 e=t(this),i=e.uniqueid().attr("id"),s=e.next(),n=s.uniqueid().attr("id");e.attr("aria-controls",n),s.attr("aria-labelledby",i)}).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(i.event),"fill"===s?(e=n.height(),this.element.siblings(":visible").each(function(){var i=t(this),s=i.css("position");"absolute"!==s&&"fixed"!==s&&(e-=i.outerheight(!0))}),this.headers.each(function(){e-=t(this).outerheight(!0)}),this.headers.next().each(function(){t(this).height(math.max(0,e-t(this).innerheight()+t(this).height()))}).css("overflow","auto")):"auto"===s&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findactive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventhandler({target:i,currenttarget:i,preventdefault:t.noop}))},_findactive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupevents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventhandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelkeydown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventhandler:function(e){var i,s,n=this.options,o=this.active,a=t(e.currenttarget),r=a[0]===o[0],h=r&&n.collapsible,l=h?t():a.next(),c=o.next(),u={oldheader:o,oldpanel:c,newheader:h?t():a,newpanel:l};e.preventdefault(),r&&!n.collapsible||this._trigger("beforeactivate",e,u)===!1||(n.active=h?!1:this.headers.index(a),this.active=r?t():a,this._toggle(u),this._removeclass(o,"ui-accordion-header-active","ui-state-active"),n.icons&&(i=o.children(".ui-accordion-header-icon"),this._removeclass(i,null,n.icons.activeheader)._addclass(i,null,n.icons.header)),r||(this._removeclass(a,"ui-accordion-header-collapsed")._addclass(a,"ui-accordion-header-active","ui-state-active"),n.icons&&(s=a.children(".ui-accordion-header-icon"),this._removeclass(s,null,n.icons.header)._addclass(s,null,n.icons.activeheader)),this._addclass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newpanel,s=this.prevshow.length?this.prevshow:e.oldpanel;this.prevshow.add(this.prevhide).stop(!0,!0),this.prevshow=i,this.prevhide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._togglecomplete(e)),s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&s.length?s.prev().attr({tabindex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseint(t(this).attr("tabindex"),10)}).attr("tabindex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabindex:0})},_animate:function(t,e,i){var s,n,o,a=this,r=0,h=t.css("box-sizing"),l=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.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()},"click .ui-menu-item":function(e){var i=t(e.target),s=t(t.ui.safeactiveelement(this.document[0]));!this.mousehandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.ispropagationstopped()||(this.mousehandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.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":function(e){if(!this.previousfilter){var i=t(e.target).closest(".ui-menu-item"),s=t(e.currenttarget);i[0]===s[0]&&(this._removeclass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseall","mouseleave .ui-menu":"collapseall",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){var i=!t.contains(this.element[0],t.ui.safeactiveelement(this.document[0]));i&&this.collapseall(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeondocumentclick(t)&&this.collapseall(t),this.mousehandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeattr("role aria-disabled"),i=e.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(),i.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,s,n,o,a=!0;switch(e.keycode){case t.ui.keycode.page_up:this.previouspage(e);break;case t.ui.keycode.page_down:this.nextpage(e);break;case t.ui.keycode.home:this._move("first","first",e);break;case t.ui.keycode.end:this._move("last","last",e);break;case t.ui.keycode.up:this.previous(e);break;case t.ui.keycode.down:this.next(e);break;case t.ui.keycode.left:this.collapse(e);break;case t.ui.keycode.right:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keycode.enter:case t.ui.keycode.space:this._activate(e);break;case t.ui.keycode.escape:this.collapse(e);break;default:a=!1,s=this.previousfilter||"",o=!1,n=e.keycode>=96&&105>=e.keycode?""+(e.keycode-96):string.fromcharcode(e.keycode),cleartimeout(this.filtertimer),n===s?o=!0:n=s+n,i=this._filtermenuitems(n),i=o&&-1!==i.index(this.active.next())?this.active.nextall(".ui-menu-item"):i,i.length||(n=string.fromcharcode(e.keycode),i=this._filtermenuitems(n)),i.length?(this.focus(e,i),this.previousfilter=n,this.filtertimer=this._delay(function(){delete this.previousfilter},1e3)):delete this.previousfilter}a&&e.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 e,i,s,n,o,a=this,r=this.options.icons.submenu,h=this.element.find(this.options.menus);this._toggleclass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),s=h.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),s=t("").data("ui-menu-submenu-caret",!0);a._addclass(s,"ui-menu-icon","ui-icon "+r),i.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",i.attr("id"))}),this._addclass(s,"ui-menu","ui-widget ui-widget-content ui-front"),e=h.add(this.element),i=e.find(this.options.items),i.not(".ui-menu-item").each(function(){var e=t(this);a._isdivider(e)&&a._addclass(e,"ui-menu-divider","ui-widget-content")}),n=i.not(".ui-menu-item, .ui-menu-divider"),o=n.children().not(".ui-menu").uniqueid().attr({tabindex:-1,role:this._itemrole()}),this._addclass(n,"ui-menu-item")._addclass(o,"ui-menu-item-wrapper"),i.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemrole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setoption:function(t,e){if("icons"===t){var 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",t+""),this._toggleclass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,s,n;this.blur(t,t&&"focus"===t.type),this._scrollintoview(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addclass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addclass(n,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startopening(i),this.activemenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollintoview:function(e){var i,s,n,o,a,r;this._hasscroll()&&(i=parsefloat(t.css(this.activemenu[0],"bordertopwidth"))||0,s=parsefloat(t.css(this.activemenu[0],"paddingtop"))||0,n=e.offset().top-this.activemenu.offset().top-i-s,o=this.activemenu.scrolltop(),a=this.activemenu.height(),r=e.outerheight(),0>n?this.activemenu.scrolltop(o+n):n+r>a&&this.activemenu.scrolltop(o+n-a+r))},blur:function(t,e){e||cleartimeout(this.timer),this.active&&(this._removeclass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startopening:function(t){cleartimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);cleartimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeattr("aria-hidden").attr("aria-expanded","true").position(i)},collapseall:function(e,i){cleartimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeclass(s.find(".ui-state-active"),null,"ui-state-active"),this.activemenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeondocumentclick:function(e){return!t(e.target).closest(".ui-menu").length},_isdivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isfirstitem:function(){return this.active&&!this.active.prevall(".ui-menu-item").length},islastitem:function(){return this.active&&!this.active.nextall(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevall":"nextall"](".ui-menu-item").eq(-1):this.active[t+"all"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activemenu.find(this.options.items)[e]()),this.focus(i,s)},nextpage:function(e){var i,s,n;return this.active?(this.islastitem()||(this._hasscroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextall(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activemenu.find(this.options.items)[this.active?"last":"first"]())),void 0):(this.next(e),void 0)},previouspage:function(e){var i,s,n;return this.active?(this.isfirstitem()||(this._hasscroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevall(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activemenu.find(this.options.items).first())),void 0):(this.next(e),void 0)},_hasscroll:function(){return this.element.outerheight()",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,_create:function(){var e,i,s,n=this.element[0].nodename.tolowercase(),o="textarea"===n,a="input"===n; 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(n){if(this.element.prop("readonly"))return e=!0,s=!0,i=!0,void 0;e=!1,s=!1,i=!1;var o=t.ui.keycode;switch(n.keycode){case o.page_up:e=!0,this._move("previouspage",n);break;case o.page_down:e=!0,this._move("nextpage",n);break;case o.up:e=!0,this._keyevent("previous",n);break;case o.down:e=!0,this._keyevent("next",n);break;case o.enter:this.menu.active&&(e=!0,n.preventdefault(),this.menu.select(n));break;case o.tab:this.menu.active&&this.menu.select(n);break;case o.escape:this.menu.element.is(":visible")&&(this.ismultiline||this._value(this.term),this.close(n),n.preventdefault());break;default:i=!0,this._searchtimeout(n)}},keypress:function(s){if(e)return e=!1,(!this.ismultiline||this.menu.element.is(":visible"))&&s.preventdefault(),void 0;if(!i){var n=t.ui.keycode;switch(s.keycode){case n.page_up:this._move("previouspage",s);break;case n.page_down:this._move("nextpage",s);break;case n.up:this._keyevent("previous",s);break;case n.down:this._keyevent("next",s)}}},input:function(t){return s?(s=!1,t.preventdefault(),void 0):(this._searchtimeout(t),void 0)},focus:function(){this.selecteditem=null,this.previous=this._value()},blur:function(t){return this.cancelblur?(delete this.cancelblur,void 0):(cleartimeout(this.searching),this.close(t),this._change(t),void 0)}}),this._initsource(),this.menu=t("