|
Server : Apache System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 User : urbanovitalinoad ( 1001) PHP Version : 7.3.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/urbanovitalinoad/public_html/servicedesk/public/lib/ |
Upload File : |
(function(t){var e={};function i(n){if(e[n]){return e[n].exports}var r=e[n]={i:n,l:false,exports:{}};t[n].call(r.exports,r,r.exports,i);r.l=true;return r.exports}i.m=t;i.c=e;i.d=function(t,e,n){if(!i.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:n})}};i.r=function(t){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})};i.t=function(t,e){if(e&1)t=i(t);if(e&8)return t;if(e&4&&typeof t==="object"&&t&&t.__esModule)return t;var n=Object.create(null);i.r(n);Object.defineProperty(n,"default",{enumerable:true,value:t});if(e&2&&typeof t!="string")for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n};i.n=function(t){var e=t&&t.__esModule?function e(){return t["default"]}:function e(){return t};i.d(e,"a",e);return e};i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};i.p="";return i(i.s=0)})([function(t,e,i){i(1);window.$=window.jQuery=i(2);i(3);window.$.migrateMute=true;window.$.migrateTrace=false;i(15);i(16);i(17);i(18);i(19);i(20);i(21);i(22);i(23);i(24);i(25);i(26);i(27);i(28);i(29);i(30);i(31);i(32);i(33);i(36);i(34);i(37);i(35);i(38);i(39);i(40);i(41);i(42);i(43);i(44);i(46);i(47);i(48);i(49);i(50);i(51);i(52);i(53);i(55);i(56);i(57);i(58);i(59);i(60);i(61);i(62);i(63);i(64);i(65);i(66);i(67);i(68);i(69);i(70);i(71);i(72);i(73);i(74);i(75);window._=i(76);window.i18n=i(78).default({domain:"glpi"});window.__=function(t,e){e=typeof e!=="undefined"?e:"glpi";var i=i18n.dcnpgettext.apply(i18n,[e,undefined,t,undefined,undefined].concat(Array.prototype.slice.call(arguments,2)));return _.escape(i)};window._n=function(t,e,i,n){n=typeof n!=="undefined"?n:"glpi";var r=i18n.dcnpgettext.apply(i18n,[n,undefined,t,e,i].concat(Array.prototype.slice.call(arguments,4)));return _.escape(r)};window._x=function(t,e,i){i=typeof i!=="undefined"?i:"glpi";var n=i18n.dcnpgettext.apply(i18n,[i,t,e,undefined,undefined].concat(Array.prototype.slice.call(arguments,3)));return _.escape(n)};window._nx=function(t,e,i,n,r){r=typeof r!=="undefined"?r:"glpi";var s=i18n.dcnpgettext.apply(i18n,[r,t,e,i,n].concat(Array.prototype.slice.call(arguments,5)));return _.escape(s)}},function(t,e,i){},function(t,e,i){var n,r;
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/(function(e,i){"use strict";if(true&&typeof t.exports==="object"){t.exports=e.document?i(e,true):function(t){if(!t.document){throw new Error("jQuery requires a window with a document")}return i(t)}}else{i(e)}})(typeof window!=="undefined"?window:this,(function(i,s){"use strict";var o=[];var a=Object.getPrototypeOf;var l=o.slice;var u=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)};var f=o.push;var c=o.indexOf;var h={};var p=h.toString;var d=h.hasOwnProperty;var g=d.toString;var m=g.call(Object);var v={};var y=function t(e){return typeof e==="function"&&typeof e.nodeType!=="number"};var _=function t(e){return e!=null&&e===e.window};var b=i.document;var w={type:true,src:true,nonce:true,noModule:true};function x(t,e,i){i=i||b;var n,r,s=i.createElement("script");s.text=t;if(e){for(n in w){r=e[n]||e.getAttribute&&e.getAttribute(n);if(r){s.setAttribute(n,r)}}}i.head.appendChild(s).parentNode.removeChild(s)}function C(t){if(t==null){return t+""}return typeof t==="object"||typeof t==="function"?h[p.call(t)]||"object":typeof t}var T="3.5.1",k=function(t,e){return new k.fn.init(t,e)};k.fn=k.prototype={jquery:T,constructor:k,length:0,toArray:function(){return l.call(this)},get:function(t){if(t==null){return l.call(this)}return t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=k.merge(this.constructor(),t);e.prevObject=this;return e},each:function(t){return k.each(this,t)},map:function(t){return this.pushStack(k.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:f,sort:o.sort,splice:o.splice};k.extend=k.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,u=false;if(typeof o==="boolean"){u=o;o=arguments[a]||{};a++}if(typeof o!=="object"&&!y(o)){o={}}if(a===l){o=this;a--}for(;a<l;a++){if((t=arguments[a])!=null){for(e in t){n=t[e];if(e==="__proto__"||o===n){continue}if(u&&n&&(k.isPlainObject(n)||(r=Array.isArray(n)))){i=o[e];if(r&&!Array.isArray(i)){s=[]}else if(!r&&!k.isPlainObject(i)){s={}}else{s=i}r=false;o[e]=k.extend(u,s,n)}else if(n!==undefined){o[e]=n}}}}return o};k.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:true,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;if(!t||p.call(t)!=="[object Object]"){return false}e=a(t);if(!e){return true}i=d.call(e,"constructor")&&e.constructor;return typeof i==="function"&&g.call(i)===m},isEmptyObject:function(t){var e;for(e in t){return false}return true},globalEval:function(t,e,i){x(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(S(t)){i=t.length;for(;n<i;n++){if(e.call(t[n],n,t[n])===false){break}}}else{for(n in t){if(e.call(t[n],n,t[n])===false){break}}}return t},makeArray:function(t,e){var i=e||[];if(t!=null){if(S(Object(t))){k.merge(i,typeof t==="string"?[t]:t)}else{f.call(i,t)}}return i},inArray:function(t,e,i){return e==null?-1:c.call(e,t,i)},merge:function(t,e){var i=+e.length,n=0,r=t.length;for(;n<i;n++){t[r++]=e[n]}t.length=r;return t},grep:function(t,e,i){var n,r=[],s=0,o=t.length,a=!i;for(;s<o;s++){n=!e(t[s],s);if(n!==a){r.push(t[s])}}return r},map:function(t,e,i){var n,r,s=0,o=[];if(S(t)){n=t.length;for(;s<n;s++){r=e(t[s],s,i);if(r!=null){o.push(r)}}}else{for(s in t){r=e(t[s],s,i);if(r!=null){o.push(r)}}}return u(o)},guid:1,support:v});if(typeof Symbol==="function"){k.fn[Symbol.iterator]=o[Symbol.iterator]}k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));function S(t){var e=!!t&&"length"in t&&t.length,i=C(t);if(y(t)||_(t)){return false}return i==="array"||e===0||typeof e==="number"&&e>0&&e-1 in t}var j=
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
function(t){var e,i,n,r,s,o,a,l,u,f,c,h,p,d,g,m,v,y,_,b="sizzle"+1*new Date,w=t.document,x=0,C=0,T=lt(),k=lt(),S=lt(),j=lt(),A=function(t,e){if(t===e){c=true}return 0},D={}.hasOwnProperty,E=[],P=E.pop,O=E.push,I=E.push,z=E.slice,H=function(t,e){var i=0,n=t.length;for(;i<n;i++){if(t[i]===e){return i}}return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|"+"ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",W="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+N+"*("+W+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+N+"*\\]",q=":("+W+")(?:\\(("+"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|"+"((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|"+".*"+")\\)|)",$=new RegExp(N+"+","g"),R=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),F=new RegExp("^"+N+"*,"+N+"*"),B=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),Q=new RegExp(N+"|>"),U=new RegExp(q),V=new RegExp("^"+W+"$"),G={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),it=function(t,e){var i="0x"+t.slice(1)-65536;return e?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){if(e){if(t==="\0"){return"�"}return t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" "}return"\\"+t},st=function(){h()},ot=bt((function(t){return t.disabled===true&&t.nodeName.toLowerCase()==="fieldset"}),{dir:"parentNode",next:"legend"});try{I.apply(E=z.call(w.childNodes),w.childNodes);E[w.childNodes.length].nodeType}catch(t){I={apply:E.length?function(t,e){O.apply(t,z.call(e))}:function(t,e){var i=t.length,n=0;while(t[i++]=e[n++]){}t.length=i-1}}}function at(t,e,n,r){var s,a,u,f,c,d,v,y=e&&e.ownerDocument,w=e?e.nodeType:9;n=n||[];if(typeof t!=="string"||!t||w!==1&&w!==9&&w!==11){return n}if(!r){h(e);e=e||p;if(g){if(w!==11&&(c=Z.exec(t))){if(s=c[1]){if(w===9){if(u=e.getElementById(s)){if(u.id===s){n.push(u);return n}}else{return n}}else{if(y&&(u=y.getElementById(s))&&_(e,u)&&u.id===s){n.push(u);return n}}}else if(c[2]){I.apply(n,e.getElementsByTagName(t));return n}else if((s=c[3])&&i.getElementsByClassName&&e.getElementsByClassName){I.apply(n,e.getElementsByClassName(s));return n}}if(i.qsa&&!j[t+" "]&&(!m||!m.test(t))&&(w!==1||e.nodeName.toLowerCase()!=="object")){v=t;y=e;if(w===1&&(Q.test(t)||B.test(t))){y=tt.test(t)&&vt(e.parentNode)||e;if(y!==e||!i.scope){if(f=e.getAttribute("id")){f=f.replace(nt,rt)}else{e.setAttribute("id",f=b)}}d=o(t);a=d.length;while(a--){d[a]=(f?"#"+f:":scope")+" "+_t(d[a])}v=d.join(",")}try{I.apply(n,y.querySelectorAll(v));return n}catch(e){j(t,true)}finally{if(f===b){e.removeAttribute("id")}}}}}return l(t.replace(R,"$1"),e,n,r)}function lt(){var t=[];function e(i,r){if(t.push(i+" ")>n.cacheLength){delete e[t.shift()]}return e[i+" "]=r}return e}function ut(t){t[b]=true;return t}function ft(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return false}finally{if(e.parentNode){e.parentNode.removeChild(e)}e=null}}function ct(t,e){var i=t.split("|"),r=i.length;while(r--){n.attrHandle[i[r]]=e}}function ht(t,e){var i=e&&t,n=i&&t.nodeType===1&&e.nodeType===1&&t.sourceIndex-e.sourceIndex;if(n){return n}if(i){while(i=i.nextSibling){if(i===e){return-1}}}return t?1:-1}function pt(t){return function(e){var i=e.nodeName.toLowerCase();return i==="input"&&e.type===t}}function dt(t){return function(e){var i=e.nodeName.toLowerCase();return(i==="input"||i==="button")&&e.type===t}}function gt(t){return function(e){if("form"in e){if(e.parentNode&&e.disabled===false){if("label"in e){if("label"in e.parentNode){return e.parentNode.disabled===t}else{return e.disabled===t}}return e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t}return e.disabled===t}else if("label"in e){return e.disabled===t}return false}}function mt(t){return ut((function(e){e=+e;return ut((function(i,n){var r,s=t([],i.length,e),o=s.length;while(o--){if(i[r=s[o]]){i[r]=!(n[r]=i[r])}}}))}))}function vt(t){return t&&typeof t.getElementsByTagName!=="undefined"&&t}i=at.support={};s=at.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!X.test(e||i&&i.nodeName||"HTML")};h=at.setDocument=function(t){var e,r,o=t?t.ownerDocument||t:w;if(o==p||o.nodeType!==9||!o.documentElement){return p}p=o;d=p.documentElement;g=!s(p);if(w!=p&&(r=p.defaultView)&&r.top!==r){if(r.addEventListener){r.addEventListener("unload",st,false)}else if(r.attachEvent){r.attachEvent("onunload",st)}}i.scope=ft((function(t){d.appendChild(t).appendChild(p.createElement("div"));return typeof t.querySelectorAll!=="undefined"&&!t.querySelectorAll(":scope fieldset div").length}));i.attributes=ft((function(t){t.className="i";return!t.getAttribute("className")}));i.getElementsByTagName=ft((function(t){t.appendChild(p.createComment(""));return!t.getElementsByTagName("*").length}));i.getElementsByClassName=J.test(p.getElementsByClassName);i.getById=ft((function(t){d.appendChild(t).id=b;return!p.getElementsByName||!p.getElementsByName(b).length}));if(i.getById){n.filter["ID"]=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}};n.find["ID"]=function(t,e){if(typeof e.getElementById!=="undefined"&&g){var i=e.getElementById(t);return i?[i]:[]}}}else{n.filter["ID"]=function(t){var e=t.replace(et,it);return function(t){var i=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return i&&i.value===e}};n.find["ID"]=function(t,e){if(typeof e.getElementById!=="undefined"&&g){var i,n,r,s=e.getElementById(t);if(s){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}r=e.getElementsByName(t);n=0;while(s=r[n++]){i=s.getAttributeNode("id");if(i&&i.value===t){return[s]}}}return[]}}}n.find["TAG"]=i.getElementsByTagName?function(t,e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName(t)}else if(i.qsa){return e.querySelectorAll(t)}}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if(t==="*"){while(i=s[r++]){if(i.nodeType===1){n.push(i)}}return n}return s};n.find["CLASS"]=i.getElementsByClassName&&function(t,e){if(typeof e.getElementsByClassName!=="undefined"&&g){return e.getElementsByClassName(t)}};v=[];m=[];if(i.qsa=J.test(p.querySelectorAll)){ft((function(t){var e;d.appendChild(t).innerHTML="<a id='"+b+"'></a>"+"<select id='"+b+"-\r\\' msallowcapture=''>"+"<option selected=''></option></select>";if(t.querySelectorAll("[msallowcapture^='']").length){m.push("[*^$]="+N+"*(?:''|\"\")")}if(!t.querySelectorAll("[selected]").length){m.push("\\["+N+"*(?:value|"+M+")")}if(!t.querySelectorAll("[id~="+b+"-]").length){m.push("~=")}e=p.createElement("input");e.setAttribute("name","");t.appendChild(e);if(!t.querySelectorAll("[name='']").length){m.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")")}if(!t.querySelectorAll(":checked").length){m.push(":checked")}if(!t.querySelectorAll("a#"+b+"+*").length){m.push(".#.+[+~]")}t.querySelectorAll("\\\f");m.push("[\\r\\n\\f]")}));ft((function(t){t.innerHTML="<a href='' disabled='disabled'></a>"+"<select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden");t.appendChild(e).setAttribute("name","D");if(t.querySelectorAll("[name=d]").length){m.push("name"+N+"*[*^$|!~]?=")}if(t.querySelectorAll(":enabled").length!==2){m.push(":enabled",":disabled")}d.appendChild(t).disabled=true;if(t.querySelectorAll(":disabled").length!==2){m.push(":enabled",":disabled")}t.querySelectorAll("*,:x");m.push(",.*:")}))}if(i.matchesSelector=J.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector)){ft((function(t){i.disconnectedMatch=y.call(t,"*");y.call(t,"[s!='']:x");v.push("!=",q)}))}m=m.length&&new RegExp(m.join("|"));v=v.length&&new RegExp(v.join("|"));e=J.test(d.compareDocumentPosition);_=e||J.test(d.contains)?function(t,e){var i=t.nodeType===9?t.documentElement:t,n=e&&e.parentNode;return t===n||!!(n&&n.nodeType===1&&(i.contains?i.contains(n):t.compareDocumentPosition&&t.compareDocumentPosition(n)&16))}:function(t,e){if(e){while(e=e.parentNode){if(e===t){return true}}}return false};A=e?function(t,e){if(t===e){c=true;return 0}var n=!t.compareDocumentPosition-!e.compareDocumentPosition;if(n){return n}n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1;if(n&1||!i.sortDetached&&e.compareDocumentPosition(t)===n){if(t==p||t.ownerDocument==w&&_(w,t)){return-1}if(e==p||e.ownerDocument==w&&_(w,e)){return 1}return f?H(f,t)-H(f,e):0}return n&4?-1:1}:function(t,e){if(t===e){c=true;return 0}var i,n=0,r=t.parentNode,s=e.parentNode,o=[t],a=[e];if(!r||!s){return t==p?-1:e==p?1:r?-1:s?1:f?H(f,t)-H(f,e):0}else if(r===s){return ht(t,e)}i=t;while(i=i.parentNode){o.unshift(i)}i=e;while(i=i.parentNode){a.unshift(i)}while(o[n]===a[n]){n++}return n?ht(o[n],a[n]):o[n]==w?-1:a[n]==w?1:0};return p};at.matches=function(t,e){return at(t,null,null,e)};at.matchesSelector=function(t,e){h(t);if(i.matchesSelector&&g&&!j[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e))){try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&t.document.nodeType!==11){return n}}catch(t){j(e,true)}}return at(e,p,null,[t]).length>0};at.contains=function(t,e){if((t.ownerDocument||t)!=p){h(t)}return _(t,e)};at.attr=function(t,e){if((t.ownerDocument||t)!=p){h(t)}var r=n.attrHandle[e.toLowerCase()],s=r&&D.call(n.attrHandle,e.toLowerCase())?r(t,e,!g):undefined;return s!==undefined?s:i.attributes||!g?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null};at.escape=function(t){return(t+"").replace(nt,rt)};at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};at.uniqueSort=function(t){var e,n=[],r=0,s=0;c=!i.detectDuplicates;f=!i.sortStable&&t.slice(0);t.sort(A);if(c){while(e=t[s++]){if(e===t[s]){r=n.push(s)}}while(r--){t.splice(n[r],1)}}f=null;return t};r=at.getText=function(t){var e,i="",n=0,s=t.nodeType;if(!s){while(e=t[n++]){i+=r(e)}}else if(s===1||s===9||s===11){if(typeof t.textContent==="string"){return t.textContent}else{for(t=t.firstChild;t;t=t.nextSibling){i+=r(t)}}}else if(s===3||s===4){return t.nodeValue}return i};n=at.selectors={cacheLength:50,createPseudo:ut,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){t[1]=t[1].replace(et,it);t[3]=(t[3]||t[4]||t[5]||"").replace(et,it);if(t[2]==="~="){t[3]=" "+t[3]+" "}return t.slice(0,4)},CHILD:function(t){t[1]=t[1].toLowerCase();if(t[1].slice(0,3)==="nth"){if(!t[3]){at.error(t[0])}t[4]=+(t[4]?t[5]+(t[6]||1):2*(t[3]==="even"||t[3]==="odd"));t[5]=+(t[7]+t[8]||t[3]==="odd")}else if(t[3]){at.error(t[0])}return t},PSEUDO:function(t){var e,i=!t[6]&&t[2];if(G["CHILD"].test(t[0])){return null}if(t[3]){t[2]=t[4]||t[5]||""}else if(i&&U.test(i)&&(e=o(i,true))&&(e=i.indexOf(")",i.length-e)-i.length)){t[0]=t[0].slice(0,e);t[2]=i.slice(0,e)}return t.slice(0,3)}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return t==="*"?function(){return true}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=T[t+" "];return e||(e=new RegExp("(^|"+N+")"+t+"("+N+"|$)"))&&T(t,(function(t){return e.test(typeof t.className==="string"&&t.className||typeof t.getAttribute!=="undefined"&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=at.attr(n,t);if(r==null){return e==="!="}if(!e){return true}r+="";return e==="="?r===i:e==="!="?r!==i:e==="^="?i&&r.indexOf(i)===0:e==="*="?i&&r.indexOf(i)>-1:e==="$="?i&&r.slice(-i.length)===i:e==="~="?(" "+r.replace($," ")+" ").indexOf(i)>-1:e==="|="?r===i||r.slice(0,i.length+1)===i+"-":false}},CHILD:function(t,e,i,n,r){var s=t.slice(0,3)!=="nth",o=t.slice(-4)!=="last",a=e==="of-type";return n===1&&r===0?function(t){return!!t.parentNode}:function(e,i,l){var u,f,c,h,p,d,g=s!==o?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,_=false;if(m){if(s){while(g){h=e;while(h=h[g]){if(a?h.nodeName.toLowerCase()===v:h.nodeType===1){return false}}d=g=t==="only"&&!d&&"nextSibling"}return true}d=[o?m.firstChild:m.lastChild];if(o&&y){h=m;c=h[b]||(h[b]={});f=c[h.uniqueID]||(c[h.uniqueID]={});u=f[t]||[];p=u[0]===x&&u[1];_=p&&u[2];h=p&&m.childNodes[p];while(h=++p&&h&&h[g]||(_=p=0)||d.pop()){if(h.nodeType===1&&++_&&h===e){f[t]=[x,p,_];break}}}else{if(y){h=e;c=h[b]||(h[b]={});f=c[h.uniqueID]||(c[h.uniqueID]={});u=f[t]||[];p=u[0]===x&&u[1];_=p}if(_===false){while(h=++p&&h&&h[g]||(_=p=0)||d.pop()){if((a?h.nodeName.toLowerCase()===v:h.nodeType===1)&&++_){if(y){c=h[b]||(h[b]={});f=c[h.uniqueID]||(c[h.uniqueID]={});f[t]=[x,_]}if(h===e){break}}}}}_-=r;return _===n||_%n===0&&_/n>=0}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);if(r[b]){return r(e)}if(r.length>1){i=[t,t,"",e];return n.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,i){var n,s=r(t,e),o=s.length;while(o--){n=H(t,s[o]);t[n]=!(i[n]=s[o])}})):function(t){return r(t,0,i)}}return r}},pseudos:{not:ut((function(t){var e=[],i=[],n=a(t.replace(R,"$1"));return n[b]?ut((function(t,e,i,r){var s,o=n(t,null,r,[]),a=t.length;while(a--){if(s=o[a]){t[a]=!(e[a]=s)}}})):function(t,r,s){e[0]=t;n(e,null,s,i);e[0]=null;return!i.pop()}})),has:ut((function(t){return function(e){return at(t,e).length>0}})),contains:ut((function(t){t=t.replace(et,it);return function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ut((function(t){if(!V.test(t||"")){at.error("unsupported lang: "+t)}t=t.replace(et,it).toLowerCase();return function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang")){i=i.toLowerCase();return i===t||i.indexOf(t+"-")===0}}while((e=e.parentNode)&&e.nodeType===1);return false}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(false),disabled:gt(true),checked:function(t){var e=t.nodeName.toLowerCase();return e==="input"&&!!t.checked||e==="option"&&!!t.selected},selected:function(t){if(t.parentNode){t.parentNode.selectedIndex}return t.selected===true},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling){if(t.nodeType<6){return false}}return true},parent:function(t){return!n.pseudos["empty"](t)},header:function(t){return K.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return e==="input"&&t.type==="button"||e==="button"},text:function(t){var e;return t.nodeName.toLowerCase()==="input"&&t.type==="text"&&((e=t.getAttribute("type"))==null||e.toLowerCase()==="text")},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,i){return[i<0?i+e:i]})),even:mt((function(t,e){var i=0;for(;i<e;i+=2){t.push(i)}return t})),odd:mt((function(t,e){var i=1;for(;i<e;i+=2){t.push(i)}return t})),lt:mt((function(t,e,i){var n=i<0?i+e:i>e?e:i;for(;--n>=0;){t.push(n)}return t})),gt:mt((function(t,e,i){var n=i<0?i+e:i;for(;++n<e;){t.push(n)}return t}))}};n.pseudos["nth"]=n.pseudos["eq"];for(e in{radio:true,checkbox:true,file:true,password:true,image:true}){n.pseudos[e]=pt(e)}for(e in{submit:true,reset:true}){n.pseudos[e]=dt(e)}function yt(){}yt.prototype=n.filters=n.pseudos;n.setFilters=new yt;o=at.tokenize=function(t,e){var i,r,s,o,a,l,u,f=k[t+" "];if(f){return e?0:f.slice(0)}a=t;l=[];u=n.preFilter;while(a){if(!i||(r=F.exec(a))){if(r){a=a.slice(r[0].length)||a}l.push(s=[])}i=false;if(r=B.exec(a)){i=r.shift();s.push({value:i,type:r[0].replace(R," ")});a=a.slice(i.length)}for(o in n.filter){if((r=G[o].exec(a))&&(!u[o]||(r=u[o](r)))){i=r.shift();s.push({value:i,type:o,matches:r});a=a.slice(i.length)}}if(!i){break}}return e?a.length:a?at.error(t):k(t,l).slice(0)};function _t(t){var e=0,i=t.length,n="";for(;e<i;e++){n+=t[e].value}return n}function bt(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&s==="parentNode",a=C++;return e.first?function(e,i,r){while(e=e[n]){if(e.nodeType===1||o){return t(e,i,r)}}return false}:function(e,i,l){var u,f,c,h=[x,a];if(l){while(e=e[n]){if(e.nodeType===1||o){if(t(e,i,l)){return true}}}}else{while(e=e[n]){if(e.nodeType===1||o){c=e[b]||(e[b]={});f=c[e.uniqueID]||(c[e.uniqueID]={});if(r&&r===e.nodeName.toLowerCase()){e=e[n]||e}else if((u=f[s])&&u[0]===x&&u[1]===a){return h[2]=u[2]}else{f[s]=h;if(h[2]=t(e,i,l)){return true}}}}}return false}}function wt(t){return t.length>1?function(e,i,n){var r=t.length;while(r--){if(!t[r](e,i,n)){return false}}return true}:t[0]}function xt(t,e,i){var n=0,r=e.length;for(;n<r;n++){at(t,e[n],i)}return i}function Ct(t,e,i,n,r){var s,o=[],a=0,l=t.length,u=e!=null;for(;a<l;a++){if(s=t[a]){if(!i||i(s,n,r)){o.push(s);if(u){e.push(a)}}}}return o}function Tt(t,e,i,n,r,s){if(n&&!n[b]){n=Tt(n)}if(r&&!r[b]){r=Tt(r,s)}return ut((function(s,o,a,l){var u,f,c,h=[],p=[],d=o.length,g=s||xt(e||"*",a.nodeType?[a]:a,[]),m=t&&(s||!e)?Ct(g,h,t,a,l):g,v=i?r||(s?t:d||n)?[]:o:m;if(i){i(m,v,a,l)}if(n){u=Ct(v,p);n(u,[],a,l);f=u.length;while(f--){if(c=u[f]){v[p[f]]=!(m[p[f]]=c)}}}if(s){if(r||t){if(r){u=[];f=v.length;while(f--){if(c=v[f]){u.push(m[f]=c)}}r(null,v=[],u,l)}f=v.length;while(f--){if((c=v[f])&&(u=r?H(s,c):h[f])>-1){s[u]=!(o[u]=c)}}}}else{v=Ct(v===o?v.splice(d,v.length):v);if(r){r(null,o,v,l)}else{I.apply(o,v)}}}))}function kt(t){var e,i,r,s=t.length,o=n.relative[t[0].type],a=o||n.relative[" "],l=o?1:0,f=bt((function(t){return t===e}),a,true),c=bt((function(t){return H(e,t)>-1}),a,true),h=[function(t,i,n){var r=!o&&(n||i!==u)||((e=i).nodeType?f(t,i,n):c(t,i,n));e=null;return r}];for(;l<s;l++){if(i=n.relative[t[l].type]){h=[bt(wt(h),i)]}else{i=n.filter[t[l].type].apply(null,t[l].matches);if(i[b]){r=++l;for(;r<s;r++){if(n.relative[t[r].type]){break}}return Tt(l>1&&wt(h),l>1&&_t(t.slice(0,l-1).concat({value:t[l-2].type===" "?"*":""})).replace(R,"$1"),i,l<r&&kt(t.slice(l,r)),r<s&&kt(t=t.slice(r)),r<s&&_t(t))}h.push(i)}}return wt(h)}function St(t,e){var i=e.length>0,r=t.length>0,s=function(s,o,a,l,f){var c,d,m,v=0,y="0",_=s&&[],b=[],w=u,C=s||r&&n.find["TAG"]("*",f),T=x+=w==null?1:Math.random()||.1,k=C.length;if(f){u=o==p||o||f}for(;y!==k&&(c=C[y])!=null;y++){if(r&&c){d=0;if(!o&&c.ownerDocument!=p){h(c);a=!g}while(m=t[d++]){if(m(c,o||p,a)){l.push(c);break}}if(f){x=T}}if(i){if(c=!m&&c){v--}if(s){_.push(c)}}}v+=y;if(i&&y!==v){d=0;while(m=e[d++]){m(_,b,o,a)}if(s){if(v>0){while(y--){if(!(_[y]||b[y])){b[y]=P.call(l)}}}b=Ct(b)}I.apply(l,b);if(f&&!s&&b.length>0&&v+e.length>1){at.uniqueSort(l)}}if(f){x=T;u=w}return _};return i?ut(s):s}a=at.compile=function(t,e){var i,n=[],r=[],s=S[t+" "];if(!s){if(!e){e=o(t)}i=e.length;while(i--){s=kt(e[i]);if(s[b]){n.push(s)}else{r.push(s)}}s=S(t,St(r,n));s.selector=t}return s};l=at.select=function(t,e,i,r){var s,l,u,f,c,h=typeof t==="function"&&t,p=!r&&o(t=h.selector||t);i=i||[];if(p.length===1){l=p[0]=p[0].slice(0);if(l.length>2&&(u=l[0]).type==="ID"&&e.nodeType===9&&g&&n.relative[l[1].type]){e=(n.find["ID"](u.matches[0].replace(et,it),e)||[])[0];if(!e){return i}else if(h){e=e.parentNode}t=t.slice(l.shift().value.length)}s=G["needsContext"].test(t)?0:l.length;while(s--){u=l[s];if(n.relative[f=u.type]){break}if(c=n.find[f]){if(r=c(u.matches[0].replace(et,it),tt.test(l[0].type)&&vt(e.parentNode)||e)){l.splice(s,1);t=r.length&&_t(l);if(!t){I.apply(i,r);return i}break}}}}(h||a(t,p))(r,e,!g,i,!e||tt.test(t)&&vt(e.parentNode)||e);return i};i.sortStable=b.split("").sort(A).join("")===b;i.detectDuplicates=!!c;h();i.sortDetached=ft((function(t){return t.compareDocumentPosition(p.createElement("fieldset"))&1}));if(!ft((function(t){t.innerHTML="<a href='#'></a>";return t.firstChild.getAttribute("href")==="#"}))){ct("type|href|height|width",(function(t,e,i){if(!i){return t.getAttribute(e,e.toLowerCase()==="type"?1:2)}}))}if(!i.attributes||!ft((function(t){t.innerHTML="<input/>";t.firstChild.setAttribute("value","");return t.firstChild.getAttribute("value")===""}))){ct("value",(function(t,e,i){if(!i&&t.nodeName.toLowerCase()==="input"){return t.defaultValue}}))}if(!ft((function(t){return t.getAttribute("disabled")==null}))){ct(M,(function(t,e,i){var n;if(!i){return t[e]===true?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}}))}return at}(i);k.find=j;k.expr=j.selectors;k.expr[":"]=k.expr.pseudos;k.uniqueSort=k.unique=j.uniqueSort;k.text=j.getText;k.isXMLDoc=j.isXML;k.contains=j.contains;k.escapeSelector=j.escape;var A=function(t,e,i){var n=[],r=i!==undefined;while((t=t[e])&&t.nodeType!==9){if(t.nodeType===1){if(r&&k(t).is(i)){break}n.push(t)}}return n};var D=function(t,e){var i=[];for(;t;t=t.nextSibling){if(t.nodeType===1&&t!==e){i.push(t)}}return i};var E=k.expr.match.needsContext;function P(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(t,e,i){if(y(e)){return k.grep(t,(function(t,n){return!!e.call(t,n,t)!==i}))}if(e.nodeType){return k.grep(t,(function(t){return t===e!==i}))}if(typeof e!=="string"){return k.grep(t,(function(t){return c.call(e,t)>-1!==i}))}return k.filter(e,t,i)}k.filter=function(t,e,i){var n=e[0];if(i){t=":not("+t+")"}if(e.length===1&&n.nodeType===1){return k.find.matchesSelector(n,t)?[n]:[]}return k.find.matches(t,k.grep(e,(function(t){return t.nodeType===1})))};k.fn.extend({find:function(t){var e,i,n=this.length,r=this;if(typeof t!=="string"){return this.pushStack(k(t).filter((function(){for(e=0;e<n;e++){if(k.contains(r[e],this)){return true}}})))}i=this.pushStack([]);for(e=0;e<n;e++){k.find(t,r[e],i)}return n>1?k.uniqueSort(i):i},filter:function(t){return this.pushStack(I(this,t||[],false))},not:function(t){return this.pushStack(I(this,t||[],true))},is:function(t){return!!I(this,typeof t==="string"&&E.test(t)?k(t):t||[],false).length}});var z,H=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,M=k.fn.init=function(t,e,i){var n,r;if(!t){return this}i=i||z;if(typeof t==="string"){if(t[0]==="<"&&t[t.length-1]===">"&&t.length>=3){n=[null,t,null]}else{n=H.exec(t)}if(n&&(n[1]||!e)){if(n[1]){e=e instanceof k?e[0]:e;k.merge(this,k.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:b,true));if(O.test(n[1])&&k.isPlainObject(e)){for(n in e){if(y(this[n])){this[n](e[n])}else{this.attr(n,e[n])}}}return this}else{r=b.getElementById(n[2]);if(r){this[0]=r;this.length=1}return this}}else if(!e||e.jquery){return(e||i).find(t)}else{return this.constructor(e).find(t)}}else if(t.nodeType){this[0]=t;this.length=1;return this}else if(y(t)){return i.ready!==undefined?i.ready(t):t(k)}return k.makeArray(t,this)};M.prototype=k.fn;z=k(b);var N=/^(?:parents|prev(?:Until|All))/,W={children:true,contents:true,next:true,prev:true};k.fn.extend({has:function(t){var e=k(t,this),i=e.length;return this.filter((function(){var t=0;for(;t<i;t++){if(k.contains(this,e[t])){return true}}}))},closest:function(t,e){var i,n=0,r=this.length,s=[],o=typeof t!=="string"&&k(t);if(!E.test(t)){for(;n<r;n++){for(i=this[n];i&&i!==e;i=i.parentNode){if(i.nodeType<11&&(o?o.index(i)>-1:i.nodeType===1&&k.find.matchesSelector(i,t))){s.push(i);break}}}}return this.pushStack(s.length>1?k.uniqueSort(s):s)},index:function(t){if(!t){return this[0]&&this[0].parentNode?this.first().prevAll().length:-1}if(typeof t==="string"){return c.call(k(t),this[0])}return c.call(this,t.jquery?t[0]:t)},add:function(t,e){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(t,e))))},addBack:function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}});function L(t,e){while((t=t[e])&&t.nodeType!==1){}return t}k.each({parent:function(t){var e=t.parentNode;return e&&e.nodeType!==11?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,i){return A(t,"parentNode",i)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,i){return A(t,"nextSibling",i)},prevUntil:function(t,e,i){return A(t,"previousSibling",i)},siblings:function(t){return D((t.parentNode||{}).firstChild,t)},children:function(t){return D(t.firstChild)},contents:function(t){if(t.contentDocument!=null&&a(t.contentDocument)){return t.contentDocument}if(P(t,"template")){t=t.content||t}return k.merge([],t.childNodes)}},(function(t,e){k.fn[t]=function(i,n){var r=k.map(this,e,i);if(t.slice(-5)!=="Until"){n=i}if(n&&typeof n==="string"){r=k.filter(n,r)}if(this.length>1){if(!W[t]){k.uniqueSort(r)}if(N.test(t)){r.reverse()}}return this.pushStack(r)}}));var q=/[^\x20\t\r\n\f]+/g;function $(t){var e={};k.each(t.match(q)||[],(function(t,i){e[i]=true}));return e}k.Callbacks=function(t){t=typeof t==="string"?$(t):k.extend({},t);var e,i,n,r,s=[],o=[],a=-1,l=function(){r=r||t.once;n=e=true;for(;o.length;a=-1){i=o.shift();while(++a<s.length){if(s[a].apply(i[0],i[1])===false&&t.stopOnFalse){a=s.length;i=false}}}if(!t.memory){i=false}e=false;if(r){if(i){s=[]}else{s=""}}},u={add:function(){if(s){if(i&&!e){a=s.length-1;o.push(i)}(function e(i){k.each(i,(function(i,n){if(y(n)){if(!t.unique||!u.has(n)){s.push(n)}}else if(n&&n.length&&C(n)!=="string"){e(n)}}))})(arguments);if(i&&!e){l()}}return this},remove:function(){k.each(arguments,(function(t,e){var i;while((i=k.inArray(e,s,i))>-1){s.splice(i,1);if(i<=a){a--}}}));return this},has:function(t){return t?k.inArray(t,s)>-1:s.length>0},empty:function(){if(s){s=[]}return this},disable:function(){r=o=[];s=i="";return this},disabled:function(){return!s},lock:function(){r=o=[];if(!i&&!e){s=i=""}return this},locked:function(){return!!r},fireWith:function(t,i){if(!r){i=i||[];i=[t,i.slice?i.slice():i];o.push(i);if(!e){l()}}return this},fire:function(){u.fireWith(this,arguments);return this},fired:function(){return!!n}};return u};function R(t){return t}function F(t){throw t}function B(t,e,i,n){var r;try{if(t&&y(r=t.promise)){r.call(t).done(e).fail(i)}else if(t&&y(r=t.then)){r.call(t,e,i)}else{e.apply(undefined,[t].slice(n))}}catch(t){i.apply(undefined,[t])}}k.extend({Deferred:function(t){var e=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){s.done(arguments).fail(arguments);return this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return k.Deferred((function(i){k.each(e,(function(e,n){var r=y(t[n[4]])&&t[n[4]];s[n[1]]((function(){var t=r&&r.apply(this,arguments);if(t&&y(t.promise)){t.promise().progress(i.notify).done(i.resolve).fail(i.reject)}else{i[n[0]+"With"](this,r?[t]:arguments)}}))}));t=null})).promise()},then:function(t,n,r){var s=0;function o(t,e,n,r){return function(){var a=this,l=arguments,u=function(){var i,u;if(t<s){return}i=n.apply(a,l);if(i===e.promise()){throw new TypeError("Thenable self-resolution")}u=i&&(typeof i==="object"||typeof i==="function")&&i.then;if(y(u)){if(r){u.call(i,o(s,e,R,r),o(s,e,F,r))}else{s++;u.call(i,o(s,e,R,r),o(s,e,F,r),o(s,e,R,e.notifyWith))}}else{if(n!==R){a=undefined;l=[i]}(r||e.resolveWith)(a,l)}},f=r?u:function(){try{u()}catch(i){if(k.Deferred.exceptionHook){k.Deferred.exceptionHook(i,f.stackTrace)}if(t+1>=s){if(n!==F){a=undefined;l=[i]}e.rejectWith(a,l)}}};if(t){f()}else{if(k.Deferred.getStackHook){f.stackTrace=k.Deferred.getStackHook()}i.setTimeout(f)}}}return k.Deferred((function(i){e[0][3].add(o(0,i,y(r)?r:R,i.notifyWith));e[1][3].add(o(0,i,y(t)?t:R));e[2][3].add(o(0,i,y(n)?n:F))})).promise()},promise:function(t){return t!=null?k.extend(t,r):r}},s={};k.each(e,(function(t,i){var o=i[2],a=i[5];r[i[1]]=o.add;if(a){o.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock)}o.add(i[3].fire);s[i[0]]=function(){s[i[0]+"With"](this===s?undefined:this,arguments);return this};s[i[0]+"With"]=o.fireWith}));r.promise(s);if(t){t.call(s,s)}return s},when:function(t){var e=arguments.length,i=e,n=Array(i),r=l.call(arguments),s=k.Deferred(),o=function(t){return function(i){n[t]=this;r[t]=arguments.length>1?l.call(arguments):i;if(!--e){s.resolveWith(n,r)}}};if(e<=1){B(t,s.done(o(i)).resolve,s.reject,!e);if(s.state()==="pending"||y(r[i]&&r[i].then)){return s.then()}}while(i--){B(r[i],o(i),s.reject)}return s.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,e){if(i.console&&i.console.warn&&t&&Q.test(t.name)){i.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)}};k.readyException=function(t){i.setTimeout((function(){throw t}))};var U=k.Deferred();k.fn.ready=function(t){U.then(t).catch((function(t){k.readyException(t)}));return this};k.extend({isReady:false,readyWait:1,ready:function(t){if(t===true?--k.readyWait:k.isReady){return}k.isReady=true;if(t!==true&&--k.readyWait>0){return}U.resolveWith(b,[k])}});k.ready.then=U.then;function V(){b.removeEventListener("DOMContentLoaded",V);i.removeEventListener("load",V);k.ready()}if(b.readyState==="complete"||b.readyState!=="loading"&&!b.documentElement.doScroll){i.setTimeout(k.ready)}else{b.addEventListener("DOMContentLoaded",V);i.addEventListener("load",V)}var G=function(t,e,i,n,r,s,o){var a=0,l=t.length,u=i==null;if(C(i)==="object"){r=true;for(a in i){G(t,e,a,i[a],true,s,o)}}else if(n!==undefined){r=true;if(!y(n)){o=true}if(u){if(o){e.call(t,n);e=null}else{u=e;e=function(t,e,i){return u.call(k(t),i)}}}if(e){for(;a<l;a++){e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)))}}}if(r){return t}if(u){return e.call(t)}return l?e(t[0],i):s};var X=/^-ms-/,Y=/-([a-z])/g;function K(t,e){return e.toUpperCase()}function J(t){return t.replace(X,"ms-").replace(Y,K)}var Z=function(t){return t.nodeType===1||t.nodeType===9||!+t.nodeType};function tt(){this.expando=k.expando+tt.uid++}tt.uid=1;tt.prototype={cache:function(t){var e=t[this.expando];if(!e){e={};if(Z(t)){if(t.nodeType){t[this.expando]=e}else{Object.defineProperty(t,this.expando,{value:e,configurable:true})}}}return e},set:function(t,e,i){var n,r=this.cache(t);if(typeof e==="string"){r[J(e)]=i}else{for(n in e){r[J(n)]=e[n]}}return r},get:function(t,e){return e===undefined?this.cache(t):t[this.expando]&&t[this.expando][J(e)]},access:function(t,e,i){if(e===undefined||e&&typeof e==="string"&&i===undefined){return this.get(t,e)}this.set(t,e,i);return i!==undefined?i:e},remove:function(t,e){var i,n=t[this.expando];if(n===undefined){return}if(e!==undefined){if(Array.isArray(e)){e=e.map(J)}else{e=J(e);e=e in n?[e]:e.match(q)||[]}i=e.length;while(i--){delete n[e[i]]}}if(e===undefined||k.isEmptyObject(n)){if(t.nodeType){t[this.expando]=undefined}else{delete t[this.expando]}}},hasData:function(t){var e=t[this.expando];return e!==undefined&&!k.isEmptyObject(e)}};var et=new tt;var it=new tt;var nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rt=/[A-Z]/g;function st(t){if(t==="true"){return true}if(t==="false"){return false}if(t==="null"){return null}if(t===+t+""){return+t}if(nt.test(t)){return JSON.parse(t)}return t}function ot(t,e,i){var n;if(i===undefined&&t.nodeType===1){n="data-"+e.replace(rt,"-$&").toLowerCase();i=t.getAttribute(n);if(typeof i==="string"){try{i=st(i)}catch(t){}it.set(t,e,i)}else{i=undefined}}return i}k.extend({hasData:function(t){return it.hasData(t)||et.hasData(t)},data:function(t,e,i){return it.access(t,e,i)},removeData:function(t,e){it.remove(t,e)},_data:function(t,e,i){return et.access(t,e,i)},_removeData:function(t,e){et.remove(t,e)}});k.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(t===undefined){if(this.length){r=it.get(s);if(s.nodeType===1&&!et.get(s,"hasDataAttrs")){i=o.length;while(i--){if(o[i]){n=o[i].name;if(n.indexOf("data-")===0){n=J(n.slice(5));ot(s,n,r[n])}}}et.set(s,"hasDataAttrs",true)}}return r}if(typeof t==="object"){return this.each((function(){it.set(this,t)}))}return G(this,(function(e){var i;if(s&&e===undefined){i=it.get(s,t);if(i!==undefined){return i}i=ot(s,t);if(i!==undefined){return i}return}this.each((function(){it.set(this,t,e)}))}),null,e,arguments.length>1,null,true)},removeData:function(t){return this.each((function(){it.remove(this,t)}))}});k.extend({queue:function(t,e,i){var n;if(t){e=(e||"fx")+"queue";n=et.get(t,e);if(i){if(!n||Array.isArray(i)){n=et.access(t,e,k.makeArray(i))}else{n.push(i)}}return n||[]}},dequeue:function(t,e){e=e||"fx";var i=k.queue(t,e),n=i.length,r=i.shift(),s=k._queueHooks(t,e),o=function(){k.dequeue(t,e)};if(r==="inprogress"){r=i.shift();n--}if(r){if(e==="fx"){i.unshift("inprogress")}delete s.stop;r.call(t,o,s)}if(!n&&s){s.empty.fire()}},_queueHooks:function(t,e){var i=e+"queueHooks";return et.get(t,i)||et.access(t,i,{empty:k.Callbacks("once memory").add((function(){et.remove(t,[e+"queue",i])}))})}});k.fn.extend({queue:function(t,e){var i=2;if(typeof t!=="string"){e=t;t="fx";i--}if(arguments.length<i){return k.queue(this[0],t)}return e===undefined?this:this.each((function(){var i=k.queue(this,t,e);k._queueHooks(this,t);if(t==="fx"&&i[0]!=="inprogress"){k.dequeue(this,t)}}))},dequeue:function(t){return this.each((function(){k.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=k.Deferred(),s=this,o=this.length,a=function(){if(!--n){r.resolveWith(s,[s])}};if(typeof t!=="string"){e=t;t=undefined}t=t||"fx";while(o--){i=et.get(s[o],t+"queueHooks");if(i&&i.empty){n++;i.empty.add(a)}}a();return r.promise(e)}});var at=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;var lt=new RegExp("^(?:([+-])=|)("+at+")([a-z%]*)$","i");var ut=["Top","Right","Bottom","Left"];var ft=b.documentElement;var ct=function(t){return k.contains(t.ownerDocument,t)},ht={composed:true};if(ft.getRootNode){ct=function(t){return k.contains(t.ownerDocument,t)||t.getRootNode(ht)===t.ownerDocument}}var pt=function(t,e){t=e||t;return t.style.display==="none"||t.style.display===""&&ct(t)&&k.css(t,"display")==="none"};function dt(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return k.css(t,e,"")},l=a(),u=i&&i[3]||(k.cssNumber[e]?"":"px"),f=t.nodeType&&(k.cssNumber[e]||u!=="px"&&+l)&<.exec(k.css(t,e));if(f&&f[3]!==u){l=l/2;u=u||f[3];f=+l||1;while(o--){k.style(t,e,f+u);if((1-s)*(1-(s=a()/l||.5))<=0){o=0}f=f/s}f=f*2;k.style(t,e,f+u);i=i||[]}if(i){f=+f||+l||0;r=i[1]?f+(i[1]+1)*i[2]:+i[2];if(n){n.unit=u;n.start=f;n.end=r}}return r}var gt={};function mt(t){var e,i=t.ownerDocument,n=t.nodeName,r=gt[n];if(r){return r}e=i.body.appendChild(i.createElement(n));r=k.css(e,"display");e.parentNode.removeChild(e);if(r==="none"){r="block"}gt[n]=r;return r}function vt(t,e){var i,n,r=[],s=0,o=t.length;for(;s<o;s++){n=t[s];if(!n.style){continue}i=n.style.display;if(e){if(i==="none"){r[s]=et.get(n,"display")||null;if(!r[s]){n.style.display=""}}if(n.style.display===""&&pt(n)){r[s]=mt(n)}}else{if(i!=="none"){r[s]="none";et.set(n,"display",i)}}}for(s=0;s<o;s++){if(r[s]!=null){t[s].style.display=r[s]}}return t}k.fn.extend({show:function(){return vt(this,true)},hide:function(){return vt(this)},toggle:function(t){if(typeof t==="boolean"){return t?this.show():this.hide()}return this.each((function(){if(pt(this)){k(this).show()}else{k(this).hide()}}))}});var yt=/^(?:checkbox|radio)$/i;var _t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;var bt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var t=b.createDocumentFragment(),e=t.appendChild(b.createElement("div")),i=b.createElement("input");i.setAttribute("type","radio");i.setAttribute("checked","checked");i.setAttribute("name","t");e.appendChild(i);v.checkClone=e.cloneNode(true).cloneNode(true).lastChild.checked;e.innerHTML="<textarea>x</textarea>";v.noCloneChecked=!!e.cloneNode(true).lastChild.defaultValue;e.innerHTML="<option></option>";v.option=!!e.lastChild})();var wt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wt.tbody=wt.tfoot=wt.colgroup=wt.caption=wt.thead;wt.th=wt.td;if(!v.option){wt.optgroup=wt.option=[1,"<select multiple='multiple'>","</select>"]}function xt(t,e){var i;if(typeof t.getElementsByTagName!=="undefined"){i=t.getElementsByTagName(e||"*")}else if(typeof t.querySelectorAll!=="undefined"){i=t.querySelectorAll(e||"*")}else{i=[]}if(e===undefined||e&&P(t,e)){return k.merge([t],i)}return i}function Ct(t,e){var i=0,n=t.length;for(;i<n;i++){et.set(t[i],"globalEval",!e||et.get(e[i],"globalEval"))}}var Tt=/<|&#?\w+;/;function kt(t,e,i,n,r){var s,o,a,l,u,f,c=e.createDocumentFragment(),h=[],p=0,d=t.length;for(;p<d;p++){s=t[p];if(s||s===0){if(C(s)==="object"){k.merge(h,s.nodeType?[s]:s)}else if(!Tt.test(s)){h.push(e.createTextNode(s))}else{o=o||c.appendChild(e.createElement("div"));a=(_t.exec(s)||["",""])[1].toLowerCase();l=wt[a]||wt._default;o.innerHTML=l[1]+k.htmlPrefilter(s)+l[2];f=l[0];while(f--){o=o.lastChild}k.merge(h,o.childNodes);o=c.firstChild;o.textContent=""}}}c.textContent="";p=0;while(s=h[p++]){if(n&&k.inArray(s,n)>-1){if(r){r.push(s)}continue}u=ct(s);o=xt(c.appendChild(s),"script");if(u){Ct(o)}if(i){f=0;while(s=o[f++]){if(bt.test(s.type||"")){i.push(s)}}}}return c}var St=/^key/,jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function Dt(){return true}function Et(){return false}function Pt(t,e){return t===Ot()===(e==="focus")}function Ot(){try{return b.activeElement}catch(t){}}function It(t,e,i,n,r,s){var o,a;if(typeof e==="object"){if(typeof i!=="string"){n=n||i;i=undefined}for(a in e){It(t,a,i,n,e[a],s)}return t}if(n==null&&r==null){r=i;n=i=undefined}else if(r==null){if(typeof i==="string"){r=n;n=undefined}else{r=n;n=i;i=undefined}}if(r===false){r=Et}else if(!r){return t}if(s===1){o=r;r=function(t){k().off(t);return o.apply(this,arguments)};r.guid=o.guid||(o.guid=k.guid++)}return t.each((function(){k.event.add(this,e,r,n,i)}))}k.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,u,f,c,h,p,d,g,m=et.get(t);if(!Z(t)){return}if(i.handler){s=i;i=s.handler;r=s.selector}if(r){k.find.matchesSelector(ft,r)}if(!i.guid){i.guid=k.guid++}if(!(l=m.events)){l=m.events=Object.create(null)}if(!(o=m.handle)){o=m.handle=function(e){return typeof k!=="undefined"&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):undefined}}e=(e||"").match(q)||[""];u=e.length;while(u--){a=At.exec(e[u])||[];p=g=a[1];d=(a[2]||"").split(".").sort();if(!p){continue}c=k.event.special[p]||{};p=(r?c.delegateType:c.bindType)||p;c=k.event.special[p]||{};f=k.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&k.expr.match.needsContext.test(r),namespace:d.join(".")},s);if(!(h=l[p])){h=l[p]=[];h.delegateCount=0;if(!c.setup||c.setup.call(t,n,d,o)===false){if(t.addEventListener){t.addEventListener(p,o)}}}if(c.add){c.add.call(t,f);if(!f.handler.guid){f.handler.guid=i.guid}}if(r){h.splice(h.delegateCount++,0,f)}else{h.push(f)}k.event.global[p]=true}},remove:function(t,e,i,n,r){var s,o,a,l,u,f,c,h,p,d,g,m=et.hasData(t)&&et.get(t);if(!m||!(l=m.events)){return}e=(e||"").match(q)||[""];u=e.length;while(u--){a=At.exec(e[u])||[];p=g=a[1];d=(a[2]||"").split(".").sort();if(!p){for(p in l){k.event.remove(t,p+e[u],i,n,true)}continue}c=k.event.special[p]||{};p=(n?c.delegateType:c.bindType)||p;h=l[p]||[];a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)");o=s=h.length;while(s--){f=h[s];if((r||g===f.origType)&&(!i||i.guid===f.guid)&&(!a||a.test(f.namespace))&&(!n||n===f.selector||n==="**"&&f.selector)){h.splice(s,1);if(f.selector){h.delegateCount--}if(c.remove){c.remove.call(t,f)}}}if(o&&!h.length){if(!c.teardown||c.teardown.call(t,d,m.handle)===false){k.removeEvent(t,p,m.handle)}delete l[p]}}if(k.isEmptyObject(l)){et.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),l=k.event.fix(t),u=(et.get(this,"events")||Object.create(null))[l.type]||[],f=k.event.special[l.type]||{};a[0]=l;for(e=1;e<arguments.length;e++){a[e]=arguments[e]}l.delegateTarget=this;if(f.preDispatch&&f.preDispatch.call(this,l)===false){return}o=k.event.handlers.call(this,l,u);e=0;while((r=o[e++])&&!l.isPropagationStopped()){l.currentTarget=r.elem;i=0;while((s=r.handlers[i++])&&!l.isImmediatePropagationStopped()){if(!l.rnamespace||s.namespace===false||l.rnamespace.test(s.namespace)){l.handleObj=s;l.data=s.data;n=((k.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a);if(n!==undefined){if((l.result=n)===false){l.preventDefault();l.stopPropagation()}}}}}if(f.postDispatch){f.postDispatch.call(this,l)}return l.result},handlers:function(t,e){var i,n,r,s,o,a=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!(t.type==="click"&&t.button>=1)){for(;u!==this;u=u.parentNode||this){if(u.nodeType===1&&!(t.type==="click"&&u.disabled===true)){s=[];o={};for(i=0;i<l;i++){n=e[i];r=n.selector+" ";if(o[r]===undefined){o[r]=n.needsContext?k(r,this).index(u)>-1:k.find(r,this,null,[u]).length}if(o[r]){s.push(n)}}if(s.length){a.push({elem:u,handlers:s})}}}}u=this;if(l<e.length){a.push({elem:u,handlers:e.slice(l)})}return a},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:true,configurable:true,get:y(e)?function(){if(this.originalEvent){return e(this.originalEvent)}}:function(){if(this.originalEvent){return this.originalEvent[t]}},set:function(e){Object.defineProperty(this,t,{enumerable:true,configurable:true,writable:true,value:e})}})},fix:function(t){return t[k.expando]?t:new k.Event(t)},special:{load:{noBubble:true},click:{setup:function(t){var e=this||t;if(yt.test(e.type)&&e.click&&P(e,"input")){zt(e,"click",Dt)}return false},trigger:function(t){var e=this||t;if(yt.test(e.type)&&e.click&&P(e,"input")){zt(e,"click")}return true},_default:function(t){var e=t.target;return yt.test(e.type)&&e.click&&P(e,"input")&&et.get(e,"click")||P(e,"a")}},beforeunload:{postDispatch:function(t){if(t.result!==undefined&&t.originalEvent){t.originalEvent.returnValue=t.result}}}}};function zt(t,e,i){if(!i){if(et.get(t,e)===undefined){k.event.add(t,e,Dt)}return}et.set(t,e,false);k.event.add(t,e,{namespace:false,handler:function(t){var n,r,s=et.get(this,e);if(t.isTrigger&1&&this[e]){if(!s.length){s=l.call(arguments);et.set(this,e,s);n=i(this,e);this[e]();r=et.get(this,e);if(s!==r||n){et.set(this,e,false)}else{r={}}if(s!==r){t.stopImmediatePropagation();t.preventDefault();return r.value}}else if((k.event.special[e]||{}).delegateType){t.stopPropagation()}}else if(s.length){et.set(this,e,{value:k.event.trigger(k.extend(s[0],k.Event.prototype),s.slice(1),this)});t.stopImmediatePropagation()}}})}k.removeEvent=function(t,e,i){if(t.removeEventListener){t.removeEventListener(e,i)}};k.Event=function(t,e){if(!(this instanceof k.Event)){return new k.Event(t,e)}if(t&&t.type){this.originalEvent=t;this.type=t.type;this.isDefaultPrevented=t.defaultPrevented||t.defaultPrevented===undefined&&t.returnValue===false?Dt:Et;this.target=t.target&&t.target.nodeType===3?t.target.parentNode:t.target;this.currentTarget=t.currentTarget;this.relatedTarget=t.relatedTarget}else{this.type=t}if(e){k.extend(this,e)}this.timeStamp=t&&t.timeStamp||Date.now();this[k.expando]=true};k.Event.prototype={constructor:k.Event,isDefaultPrevented:Et,isPropagationStopped:Et,isImmediatePropagationStopped:Et,isSimulated:false,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Dt;if(t&&!this.isSimulated){t.preventDefault()}},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Dt;if(t&&!this.isSimulated){t.stopPropagation()}},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Dt;if(t&&!this.isSimulated){t.stopImmediatePropagation()}this.stopPropagation()}};k.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:function(t){var e=t.button;if(t.which==null&&St.test(t.type)){return t.charCode!=null?t.charCode:t.keyCode}if(!t.which&&e!==undefined&&jt.test(t.type)){if(e&1){return 1}if(e&2){return 3}if(e&4){return 2}return 0}return t.which}},k.event.addProp);k.each({focus:"focusin",blur:"focusout"},(function(t,e){k.event.special[t]={setup:function(){zt(this,t,Pt);return false},trigger:function(){zt(this,t);return true},delegateType:e}}));k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){k.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;if(!r||r!==n&&!k.contains(n,r)){t.type=s.origType;i=s.handler.apply(this,arguments);t.type=e}return i}}}));k.fn.extend({on:function(t,e,i,n){return It(this,t,e,i,n)},one:function(t,e,i,n){return It(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj){n=t.handleObj;k(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);return this}if(typeof t==="object"){for(r in t){this.off(r,e,t[r])}return this}if(e===false||typeof e==="function"){i=e;e=undefined}if(i===false){i=Et}return this.each((function(){k.event.remove(this,t,i,e)}))}});var Ht=/<script|<style|<link/i,Mt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Wt(t,e){if(P(t,"table")&&P(e.nodeType!==11?e:e.firstChild,"tr")){return k(t).children("tbody")[0]||t}return t}function Lt(t){t.type=(t.getAttribute("type")!==null)+"/"+t.type;return t}function qt(t){if((t.type||"").slice(0,5)==="true/"){t.type=t.type.slice(5)}else{t.removeAttribute("type")}return t}function $t(t,e){var i,n,r,s,o,a,l;if(e.nodeType!==1){return}if(et.hasData(t)){s=et.get(t);l=s.events;if(l){et.remove(e,"handle events");for(r in l){for(i=0,n=l[r].length;i<n;i++){k.event.add(e,r,l[r][i])}}}}if(it.hasData(t)){o=it.access(t);a=k.extend({},o);it.set(e,a)}}function Rt(t,e){var i=e.nodeName.toLowerCase();if(i==="input"&&yt.test(t.type)){e.checked=t.checked}else if(i==="input"||i==="textarea"){e.defaultValue=t.defaultValue}}function Ft(t,e,i,n){e=u(e);var r,s,o,a,l,f,c=0,h=t.length,p=h-1,d=e[0],g=y(d);if(g||h>1&&typeof d==="string"&&!v.checkClone&&Mt.test(d)){return t.each((function(r){var s=t.eq(r);if(g){e[0]=d.call(this,r,s.html())}Ft(s,e,i,n)}))}if(h){r=kt(e,t[0].ownerDocument,false,t,n);s=r.firstChild;if(r.childNodes.length===1){r=s}if(s||n){o=k.map(xt(r,"script"),Lt);a=o.length;for(;c<h;c++){l=r;if(c!==p){l=k.clone(l,true,true);if(a){k.merge(o,xt(l,"script"))}}i.call(t[c],l,c)}if(a){f=o[o.length-1].ownerDocument;k.map(o,qt);for(c=0;c<a;c++){l=o[c];if(bt.test(l.type||"")&&!et.access(l,"globalEval")&&k.contains(f,l)){if(l.src&&(l.type||"").toLowerCase()!=="module"){if(k._evalUrl&&!l.noModule){k._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},f)}}else{x(l.textContent.replace(Nt,""),l,f)}}}}}}return t}function Bt(t,e,i){var n,r=e?k.filter(e,t):t,s=0;for(;(n=r[s])!=null;s++){if(!i&&n.nodeType===1){k.cleanData(xt(n))}if(n.parentNode){if(i&&ct(n)){Ct(xt(n,"script"))}n.parentNode.removeChild(n)}}return t}k.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a=t.cloneNode(true),l=ct(t);if(!v.noCloneChecked&&(t.nodeType===1||t.nodeType===11)&&!k.isXMLDoc(t)){o=xt(a);s=xt(t);for(n=0,r=s.length;n<r;n++){Rt(s[n],o[n])}}if(e){if(i){s=s||xt(t);o=o||xt(a);for(n=0,r=s.length;n<r;n++){$t(s[n],o[n])}}else{$t(t,a)}}o=xt(a,"script");if(o.length>0){Ct(o,!l&&xt(t,"script"))}return a},cleanData:function(t){var e,i,n,r=k.event.special,s=0;for(;(i=t[s])!==undefined;s++){if(Z(i)){if(e=i[et.expando]){if(e.events){for(n in e.events){if(r[n]){k.event.remove(i,n)}else{k.removeEvent(i,n,e.handle)}}}i[et.expando]=undefined}if(i[it.expando]){i[it.expando]=undefined}}}}});k.fn.extend({detach:function(t){return Bt(this,t,true)},remove:function(t){return Bt(this,t)},text:function(t){return G(this,(function(t){return t===undefined?k.text(this):this.empty().each((function(){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){this.textContent=t}}))}),null,t,arguments.length)},append:function(){return Ft(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Wt(this,t);e.appendChild(t)}}))},prepend:function(){return Ft(this,arguments,(function(t){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var e=Wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ft(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this)}}))},after:function(){return Ft(this,arguments,(function(t){if(this.parentNode){this.parentNode.insertBefore(t,this.nextSibling)}}))},empty:function(){var t,e=0;for(;(t=this[e])!=null;e++){if(t.nodeType===1){k.cleanData(xt(t,false));t.textContent=""}}return this},clone:function(t,e){t=t==null?false:t;e=e==null?t:e;return this.map((function(){return k.clone(this,t,e)}))},html:function(t){return G(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(t===undefined&&e.nodeType===1){return e.innerHTML}if(typeof t==="string"&&!Ht.test(t)&&!wt[(_t.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;i<n;i++){e=this[i]||{};if(e.nodeType===1){k.cleanData(xt(e,false));e.innerHTML=t}}e=0}catch(t){}}if(e){this.empty().append(t)}}),null,t,arguments.length)},replaceWith:function(){var t=[];return Ft(this,arguments,(function(e){var i=this.parentNode;if(k.inArray(this,t)<0){k.cleanData(xt(this));if(i){i.replaceChild(e,this)}}}),t)}});k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){k.fn[t]=function(t){var i,n=[],r=k(t),s=r.length-1,o=0;for(;o<=s;o++){i=o===s?this:this.clone(true);k(r[o])[e](i);f.apply(n,i.get())}return this.pushStack(n)}}));var Qt=new RegExp("^("+at+")(?!px)[a-z%]+$","i");var Ut=function(t){var e=t.ownerDocument.defaultView;if(!e||!e.opener){e=i}return e.getComputedStyle(t)};var Vt=function(t,e,i){var n,r,s={};for(r in e){s[r]=t.style[r];t.style[r]=e[r]}n=i.call(t);for(r in e){t.style[r]=s[r]}return n};var Gt=new RegExp(ut.join("|"),"i");(function(){function t(){if(!f){return}u.style.cssText="position:absolute;left:-11111px;width:60px;"+"margin-top:1px;padding:0;border:0";f.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;"+"margin:auto;border:1px;padding:1px;"+"width:60%;top:1%";ft.appendChild(u).appendChild(f);var t=i.getComputedStyle(f);n=t.top!=="1%";l=e(t.marginLeft)===12;f.style.right="60%";o=e(t.right)===36;r=e(t.width)===36;f.style.position="absolute";s=e(f.offsetWidth/3)===12;ft.removeChild(u);f=null}function e(t){return Math.round(parseFloat(t))}var n,r,s,o,a,l,u=b.createElement("div"),f=b.createElement("div");if(!f.style){return}f.style.backgroundClip="content-box";f.cloneNode(true).style.backgroundClip="";v.clearCloneStyle=f.style.backgroundClip==="content-box";k.extend(v,{boxSizingReliable:function(){t();return r},pixelBoxStyles:function(){t();return o},pixelPosition:function(){t();return n},reliableMarginLeft:function(){t();return l},scrollboxSize:function(){t();return s},reliableTrDimensions:function(){var t,e,n,r;if(a==null){t=b.createElement("table");e=b.createElement("tr");n=b.createElement("div");t.style.cssText="position:absolute;left:-11111px";e.style.height="1px";n.style.height="9px";ft.appendChild(t).appendChild(e).appendChild(n);r=i.getComputedStyle(e);a=parseInt(r.height)>3;ft.removeChild(t)}return a}})})();function Xt(t,e,i){var n,r,s,o,a=t.style;i=i||Ut(t);if(i){o=i.getPropertyValue(e)||i[e];if(o===""&&!ct(t)){o=k.style(t,e)}if(!v.pixelBoxStyles()&&Qt.test(o)&&Gt.test(e)){n=a.width;r=a.minWidth;s=a.maxWidth;a.minWidth=a.maxWidth=a.width=o;o=i.width;a.width=n;a.minWidth=r;a.maxWidth=s}}return o!==undefined?o+"":o}function Yt(t,e){return{get:function(){if(t()){delete this.get;return}return(this.get=e).apply(this,arguments)}}}var Kt=["Webkit","Moz","ms"],Jt=b.createElement("div").style,Zt={};function te(t){var e=t[0].toUpperCase()+t.slice(1),i=Kt.length;while(i--){t=Kt[i]+e;if(t in Jt){return t}}}function ee(t){var e=k.cssProps[t]||Zt[t];if(e){return e}if(t in Jt){return t}return Zt[t]=te(t)||t}var ie=/^(none|table(?!-c[ea]).+)/,ne=/^--/,re={position:"absolute",visibility:"hidden",display:"block"},se={letterSpacing:"0",fontWeight:"400"};function oe(t,e,i){var n=lt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function ae(t,e,i,n,r,s){var o=e==="width"?1:0,a=0,l=0;if(i===(n?"border":"content")){return 0}for(;o<4;o+=2){if(i==="margin"){l+=k.css(t,i+ut[o],true,r)}if(!n){l+=k.css(t,"padding"+ut[o],true,r);if(i!=="padding"){l+=k.css(t,"border"+ut[o]+"Width",true,r)}else{a+=k.css(t,"border"+ut[o]+"Width",true,r)}}else{if(i==="content"){l-=k.css(t,"padding"+ut[o],true,r)}if(i!=="margin"){l-=k.css(t,"border"+ut[o]+"Width",true,r)}}}if(!n&&s>=0){l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0}return l}function le(t,e,i){var n=Ut(t),r=!v.boxSizingReliable()||i,s=r&&k.css(t,"boxSizing",false,n)==="border-box",o=s,a=Xt(t,e,n),l="offset"+e[0].toUpperCase()+e.slice(1);if(Qt.test(a)){if(!i){return a}a="auto"}if((!v.boxSizingReliable()&&s||!v.reliableTrDimensions()&&P(t,"tr")||a==="auto"||!parseFloat(a)&&k.css(t,"display",false,n)==="inline")&&t.getClientRects().length){s=k.css(t,"boxSizing",false,n)==="border-box";o=l in t;if(o){a=t[l]}}a=parseFloat(a)||0;return a+ae(t,e,i||(s?"border":"content"),o,n,a)+"px"}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Xt(t,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:true,columnCount:true,fillOpacity:true,flexGrow:true,flexShrink:true,fontWeight:true,gridArea:true,gridColumn:true,gridColumnEnd:true,gridColumnStart:true,gridRow:true,gridRowEnd:true,gridRowStart:true,lineHeight:true,opacity:true,order:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{},style:function(t,e,i,n){if(!t||t.nodeType===3||t.nodeType===8||!t.style){return}var r,s,o,a=J(e),l=ne.test(e),u=t.style;if(!l){e=ee(a)}o=k.cssHooks[e]||k.cssHooks[a];if(i!==undefined){s=typeof i;if(s==="string"&&(r=lt.exec(i))&&r[1]){i=dt(t,e,r);s="number"}if(i==null||i!==i){return}if(s==="number"&&!l){i+=r&&r[3]||(k.cssNumber[a]?"":"px")}if(!v.clearCloneStyle&&i===""&&e.indexOf("background")===0){u[e]="inherit"}if(!o||!("set"in o)||(i=o.set(t,i,n))!==undefined){if(l){u.setProperty(e,i)}else{u[e]=i}}}else{if(o&&"get"in o&&(r=o.get(t,false,n))!==undefined){return r}return u[e]}},css:function(t,e,i,n){var r,s,o,a=J(e),l=ne.test(e);if(!l){e=ee(a)}o=k.cssHooks[e]||k.cssHooks[a];if(o&&"get"in o){r=o.get(t,true,i)}if(r===undefined){r=Xt(t,e,n)}if(r==="normal"&&e in se){r=se[e]}if(i===""||i){s=parseFloat(r);return i===true||isFinite(s)?s||0:r}return r}});k.each(["height","width"],(function(t,e){k.cssHooks[e]={get:function(t,i,n){if(i){return ie.test(k.css(t,"display"))&&(!t.getClientRects().length||!t.getBoundingClientRect().width)?Vt(t,re,(function(){return le(t,e,n)})):le(t,e,n)}},set:function(t,i,n){var r,s=Ut(t),o=!v.scrollboxSize()&&s.position==="absolute",a=o||n,l=a&&k.css(t,"boxSizing",false,s)==="border-box",u=n?ae(t,e,n,l,s):0;if(l&&o){u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-ae(t,e,"border",false,s)-.5)}if(u&&(r=lt.exec(i))&&(r[3]||"px")!=="px"){t.style[e]=i;i=k.css(t,e)}return oe(t,i,u)}}}));k.cssHooks.marginLeft=Yt(v.reliableMarginLeft,(function(t,e){if(e){return(parseFloat(Xt(t,"marginLeft"))||t.getBoundingClientRect().left-Vt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"}}));k.each({margin:"",padding:"",border:"Width"},(function(t,e){k.cssHooks[t+e]={expand:function(i){var n=0,r={},s=typeof i==="string"?i.split(" "):[i];for(;n<4;n++){r[t+ut[n]+e]=s[n]||s[n-2]||s[0]}return r}};if(t!=="margin"){k.cssHooks[t+e].set=oe}}));k.fn.extend({css:function(t,e){return G(this,(function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){n=Ut(t);r=e.length;for(;o<r;o++){s[e[o]]=k.css(t,e[o],false,n)}return s}return i!==undefined?k.style(t,e,i):k.css(t,e)}),t,e,arguments.length>1)}});function ue(t,e,i,n,r){return new ue.prototype.init(t,e,i,n,r)}k.Tween=ue;ue.prototype={constructor:ue,init:function(t,e,i,n,r,s){this.elem=t;this.prop=i;this.easing=r||k.easing._default;this.options=e;this.start=this.now=this.cur();this.end=n;this.unit=s||(k.cssNumber[i]?"":"px")},cur:function(){var t=ue.propHooks[this.prop];return t&&t.get?t.get(this):ue.propHooks._default.get(this)},run:function(t){var e,i=ue.propHooks[this.prop];if(this.options.duration){this.pos=e=k.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration)}else{this.pos=e=t}this.now=(this.end-this.start)*e+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(i&&i.set){i.set(this)}else{ue.propHooks._default.set(this)}return this}};ue.prototype.init.prototype=ue.prototype;ue.propHooks={_default:{get:function(t){var e;if(t.elem.nodeType!==1||t.elem[t.prop]!=null&&t.elem.style[t.prop]==null){return t.elem[t.prop]}e=k.css(t.elem,t.prop,"");return!e||e==="auto"?0:e},set:function(t){if(k.fx.step[t.prop]){k.fx.step[t.prop](t)}else if(t.elem.nodeType===1&&(k.cssHooks[t.prop]||t.elem.style[ee(t.prop)]!=null)){k.style(t.elem,t.prop,t.now+t.unit)}else{t.elem[t.prop]=t.now}}}};ue.propHooks.scrollTop=ue.propHooks.scrollLeft={set:function(t){if(t.elem.nodeType&&t.elem.parentNode){t.elem[t.prop]=t.now}}};k.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"};k.fx=ue.prototype.init;k.fx.step={};var fe,ce,he=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function de(){if(ce){if(b.hidden===false&&i.requestAnimationFrame){i.requestAnimationFrame(de)}else{i.setTimeout(de,k.fx.interval)}k.fx.tick()}}function ge(){i.setTimeout((function(){fe=undefined}));return fe=Date.now()}function me(t,e){var i,n=0,r={height:t};e=e?1:0;for(;n<4;n+=2-e){i=ut[n];r["margin"+i]=r["padding"+i]=t}if(e){r.opacity=r.width=t}return r}function ve(t,e,i){var n,r=(be.tweeners[e]||[]).concat(be.tweeners["*"]),s=0,o=r.length;for(;s<o;s++){if(n=r[s].call(i,e,t)){return n}}}function ye(t,e,i){var n,r,s,o,a,l,u,f,c="width"in e||"height"in e,h=this,p={},d=t.style,g=t.nodeType&&pt(t),m=et.get(t,"fxshow");if(!i.queue){o=k._queueHooks(t,"fx");if(o.unqueued==null){o.unqueued=0;a=o.empty.fire;o.empty.fire=function(){if(!o.unqueued){a()}}}o.unqueued++;h.always((function(){h.always((function(){o.unqueued--;if(!k.queue(t,"fx").length){o.empty.fire()}}))}))}for(n in e){r=e[n];if(he.test(r)){delete e[n];s=s||r==="toggle";if(r===(g?"hide":"show")){if(r==="show"&&m&&m[n]!==undefined){g=true}else{continue}}p[n]=m&&m[n]||k.style(t,n)}}l=!k.isEmptyObject(e);if(!l&&k.isEmptyObject(p)){return}if(c&&t.nodeType===1){i.overflow=[d.overflow,d.overflowX,d.overflowY];u=m&&m.display;if(u==null){u=et.get(t,"display")}f=k.css(t,"display");if(f==="none"){if(u){f=u}else{vt([t],true);u=t.style.display||u;f=k.css(t,"display");vt([t])}}if(f==="inline"||f==="inline-block"&&u!=null){if(k.css(t,"float")==="none"){if(!l){h.done((function(){d.display=u}));if(u==null){f=d.display;u=f==="none"?"":f}}d.display="inline-block"}}}if(i.overflow){d.overflow="hidden";h.always((function(){d.overflow=i.overflow[0];d.overflowX=i.overflow[1];d.overflowY=i.overflow[2]}))}l=false;for(n in p){if(!l){if(m){if("hidden"in m){g=m.hidden}}else{m=et.access(t,"fxshow",{display:u})}if(s){m.hidden=!g}if(g){vt([t],true)}h.done((function(){if(!g){vt([t])}et.remove(t,"fxshow");for(n in p){k.style(t,n,p[n])}}))}l=ve(g?m[n]:0,n,h);if(!(n in m)){m[n]=l.start;if(g){l.end=l.start;l.start=0}}}}function _e(t,e){var i,n,r,s,o;for(i in t){n=J(i);r=e[n];s=t[i];if(Array.isArray(s)){r=s[1];s=t[i]=s[0]}if(i!==n){t[n]=s;delete t[i]}o=k.cssHooks[n];if(o&&"expand"in o){s=o.expand(s);delete t[n];for(i in s){if(!(i in t)){t[i]=s[i];e[i]=r}}}else{e[n]=r}}}function be(t,e,i){var n,r,s=0,o=be.prefilters.length,a=k.Deferred().always((function(){delete l.elem})),l=function(){if(r){return false}var e=fe||ge(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,s=1-n,o=0,l=u.tweens.length;for(;o<l;o++){u.tweens[o].run(s)}a.notifyWith(t,[u,s,i]);if(s<1&&l){return i}if(!l){a.notifyWith(t,[u,1,0])}a.resolveWith(t,[u]);return false},u=a.promise({elem:t,props:k.extend({},e),opts:k.extend(true,{specialEasing:{},easing:k.easing._default},i),originalProperties:e,originalOptions:i,startTime:fe||ge(),duration:i.duration,tweens:[],createTween:function(e,i){var n=k.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);u.tweens.push(n);return n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(r){return this}r=true;for(;i<n;i++){u.tweens[i].run(1)}if(e){a.notifyWith(t,[u,1,0]);a.resolveWith(t,[u,e])}else{a.rejectWith(t,[u,e])}return this}}),f=u.props;_e(f,u.opts.specialEasing);for(;s<o;s++){n=be.prefilters[s].call(u,t,f,u.opts);if(n){if(y(n.stop)){k._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)}return n}}k.map(f,ve,u);if(y(u.opts.start)){u.opts.start.call(t,u)}u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always);k.fx.timer(k.extend(l,{elem:t,anim:u,queue:u.opts.queue}));return u}k.Animation=k.extend(be,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);dt(i.elem,t,lt.exec(e),i);return i}]},tweener:function(t,e){if(y(t)){e=t;t=["*"]}else{t=t.match(q)}var i,n=0,r=t.length;for(;n<r;n++){i=t[n];be.tweeners[i]=be.tweeners[i]||[];be.tweeners[i].unshift(e)}},prefilters:[ye],prefilter:function(t,e){if(e){be.prefilters.unshift(t)}else{be.prefilters.push(t)}}});k.speed=function(t,e,i){var n=t&&typeof t==="object"?k.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};if(k.fx.off){n.duration=0}else{if(typeof n.duration!=="number"){if(n.duration in k.fx.speeds){n.duration=k.fx.speeds[n.duration]}else{n.duration=k.fx.speeds._default}}}if(n.queue==null||n.queue===true){n.queue="fx"}n.old=n.complete;n.complete=function(){if(y(n.old)){n.old.call(this)}if(n.queue){k.dequeue(this,n.queue)}};return n};k.fn.extend({fadeTo:function(t,e,i,n){return this.filter(pt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=k.isEmptyObject(t),s=k.speed(e,i,n),o=function(){var e=be(this,k.extend({},t),s);if(r||et.get(this,"finish")){e.stop(true)}};o.finish=o;return r||s.queue===false?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop;e(i)};if(typeof t!=="string"){i=e;e=t;t=undefined}if(e){this.queue(t||"fx",[])}return this.each((function(){var e=true,r=t!=null&&t+"queueHooks",s=k.timers,o=et.get(this);if(r){if(o[r]&&o[r].stop){n(o[r])}}else{for(r in o){if(o[r]&&o[r].stop&&pe.test(r)){n(o[r])}}}for(r=s.length;r--;){if(s[r].elem===this&&(t==null||s[r].queue===t)){s[r].anim.stop(i);e=false;s.splice(r,1)}}if(e||!i){k.dequeue(this,t)}}))},finish:function(t){if(t!==false){t=t||"fx"}return this.each((function(){var e,i=et.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=k.timers,o=n?n.length:0;i.finish=true;k.queue(this,t,[]);if(r&&r.stop){r.stop.call(this,true)}for(e=s.length;e--;){if(s[e].elem===this&&s[e].queue===t){s[e].anim.stop(true);s.splice(e,1)}}for(e=0;e<o;e++){if(n[e]&&n[e].finish){n[e].finish.call(this)}}delete i.finish}))}});k.each(["toggle","show","hide"],(function(t,e){var i=k.fn[e];k.fn[e]=function(t,n,r){return t==null||typeof t==="boolean"?i.apply(this,arguments):this.animate(me(e,true),t,n,r)}}));k.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){k.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}));k.timers=[];k.fx.tick=function(){var t,e=0,i=k.timers;fe=Date.now();for(;e<i.length;e++){t=i[e];if(!t()&&i[e]===t){i.splice(e--,1)}}if(!i.length){k.fx.stop()}fe=undefined};k.fx.timer=function(t){k.timers.push(t);k.fx.start()};k.fx.interval=13;k.fx.start=function(){if(ce){return}ce=true;de()};k.fx.stop=function(){ce=null};k.fx.speeds={slow:600,fast:200,_default:400};k.fn.delay=function(t,e){t=k.fx?k.fx.speeds[t]||t:t;e=e||"fx";return this.queue(e,(function(e,n){var r=i.setTimeout(e,t);n.stop=function(){i.clearTimeout(r)}}))};(function(){var t=b.createElement("input"),e=b.createElement("select"),i=e.appendChild(b.createElement("option"));t.type="checkbox";v.checkOn=t.value!=="";v.optSelected=i.selected;t=b.createElement("input");t.value="t";t.type="radio";v.radioValue=t.value==="t"})();var we,xe=k.expr.attrHandle;k.fn.extend({attr:function(t,e){return G(this,k.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){k.removeAttr(this,t)}))}});k.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(typeof t.getAttribute==="undefined"){return k.prop(t,e,i)}if(s!==1||!k.isXMLDoc(t)){r=k.attrHooks[e.toLowerCase()]||(k.expr.match.bool.test(e)?we:undefined)}if(i!==undefined){if(i===null){k.removeAttr(t,e);return}if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}t.setAttribute(e,i+"");return i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}n=k.find.attr(t,e);return n==null?undefined:n},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&e==="radio"&&P(t,"input")){var i=t.value;t.setAttribute("type",e);if(i){t.value=i}return e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(q);if(r&&t.nodeType===1){while(i=r[n++]){t.removeAttribute(i)}}}});we={set:function(t,e,i){if(e===false){k.removeAttr(t,i)}else{t.setAttribute(i,i)}return i}};k.each(k.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=xe[e]||k.find.attr;xe[e]=function(t,e,n){var r,s,o=e.toLowerCase();if(!n){s=xe[o];xe[o]=r;r=i(t,e,n)!=null?o:null;xe[o]=s}return r}}));var Ce=/^(?:input|select|textarea|button)$/i,Te=/^(?:a|area)$/i;k.fn.extend({prop:function(t,e){return G(this,k.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[k.propFix[t]||t]}))}});k.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(s===3||s===8||s===2){return}if(s!==1||!k.isXMLDoc(t)){e=k.propFix[e]||e;r=k.propHooks[e]}if(i!==undefined){if(r&&"set"in r&&(n=r.set(t,i,e))!==undefined){return n}return t[e]=i}if(r&&"get"in r&&(n=r.get(t,e))!==null){return n}return t[e]},propHooks:{tabIndex:{get:function(t){var e=k.find.attr(t,"tabindex");if(e){return parseInt(e,10)}if(Ce.test(t.nodeName)||Te.test(t.nodeName)&&t.href){return 0}return-1}}},propFix:{for:"htmlFor",class:"className"}});if(!v.optSelected){k.propHooks.selected={get:function(t){var e=t.parentNode;if(e&&e.parentNode){e.parentNode.selectedIndex}return null},set:function(t){var e=t.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}}}}k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this}));function ke(t){var e=t.match(q)||[];return e.join(" ")}function Se(t){return t.getAttribute&&t.getAttribute("class")||""}function je(t){if(Array.isArray(t)){return t}if(typeof t==="string"){return t.match(q)||[]}return[]}k.fn.extend({addClass:function(t){var e,i,n,r,s,o,a,l=0;if(y(t)){return this.each((function(e){k(this).addClass(t.call(this,e,Se(this)))}))}e=je(t);if(e.length){while(i=this[l++]){r=Se(i);n=i.nodeType===1&&" "+ke(r)+" ";if(n){o=0;while(s=e[o++]){if(n.indexOf(" "+s+" ")<0){n+=s+" "}}a=ke(n);if(r!==a){i.setAttribute("class",a)}}}}return this},removeClass:function(t){var e,i,n,r,s,o,a,l=0;if(y(t)){return this.each((function(e){k(this).removeClass(t.call(this,e,Se(this)))}))}if(!arguments.length){return this.attr("class","")}e=je(t);if(e.length){while(i=this[l++]){r=Se(i);n=i.nodeType===1&&" "+ke(r)+" ";if(n){o=0;while(s=e[o++]){while(n.indexOf(" "+s+" ")>-1){n=n.replace(" "+s+" "," ")}}a=ke(n);if(r!==a){i.setAttribute("class",a)}}}}return this},toggleClass:function(t,e){var i=typeof t,n=i==="string"||Array.isArray(t);if(typeof e==="boolean"&&n){return e?this.addClass(t):this.removeClass(t)}if(y(t)){return this.each((function(i){k(this).toggleClass(t.call(this,i,Se(this),e),e)}))}return this.each((function(){var e,r,s,o;if(n){r=0;s=k(this);o=je(t);while(e=o[r++]){if(s.hasClass(e)){s.removeClass(e)}else{s.addClass(e)}}}else if(t===undefined||i==="boolean"){e=Se(this);if(e){et.set(this,"__className__",e)}if(this.setAttribute){this.setAttribute("class",e||t===false?"":et.get(this,"__className__")||"")}}}))},hasClass:function(t){var e,i,n=0;e=" "+t+" ";while(i=this[n++]){if(i.nodeType===1&&(" "+ke(Se(i))+" ").indexOf(e)>-1){return true}}return false}});var Ae=/\r/g;k.fn.extend({val:function(t){var e,i,n,r=this[0];if(!arguments.length){if(r){e=k.valHooks[r.type]||k.valHooks[r.nodeName.toLowerCase()];if(e&&"get"in e&&(i=e.get(r,"value"))!==undefined){return i}i=r.value;if(typeof i==="string"){return i.replace(Ae,"")}return i==null?"":i}return}n=y(t);return this.each((function(i){var r;if(this.nodeType!==1){return}if(n){r=t.call(this,i,k(this).val())}else{r=t}if(r==null){r=""}else if(typeof r==="number"){r+=""}else if(Array.isArray(r)){r=k.map(r,(function(t){return t==null?"":t+""}))}e=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()];if(!e||!("set"in e)||e.set(this,r,"value")===undefined){this.value=r}}))}});k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return e!=null?e:ke(k.text(t))}},select:{get:function(t){var e,i,n,r=t.options,s=t.selectedIndex,o=t.type==="select-one",a=o?null:[],l=o?s+1:r.length;if(s<0){n=l}else{n=o?s:0}for(;n<l;n++){i=r[n];if((i.selected||n===s)&&!i.disabled&&(!i.parentNode.disabled||!P(i.parentNode,"optgroup"))){e=k(i).val();if(o){return e}a.push(e)}}return a},set:function(t,e){var i,n,r=t.options,s=k.makeArray(e),o=r.length;while(o--){n=r[o];if(n.selected=k.inArray(k.valHooks.option.get(n),s)>-1){i=true}}if(!i){t.selectedIndex=-1}return s}}}});k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(t,e){if(Array.isArray(e)){return t.checked=k.inArray(k(t).val(),e)>-1}}};if(!v.checkOn){k.valHooks[this].get=function(t){return t.getAttribute("value")===null?"on":t.value}}}));v.focusin="onfocusin"in i;var De=/^(?:focusinfocus|focusoutblur)$/,Ee=function(t){t.stopPropagation()};k.extend(k.event,{trigger:function(t,e,n,r){var s,o,a,l,u,f,c,h,p=[n||b],g=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];o=h=a=n=n||b;if(n.nodeType===3||n.nodeType===8){return}if(De.test(g+k.event.triggered)){return}if(g.indexOf(".")>-1){m=g.split(".");g=m.shift();m.sort()}u=g.indexOf(":")<0&&"on"+g;t=t[k.expando]?t:new k.Event(g,typeof t==="object"&&t);t.isTrigger=r?2:3;t.namespace=m.join(".");t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;t.result=undefined;if(!t.target){t.target=n}e=e==null?[t]:k.makeArray(e,[t]);c=k.event.special[g]||{};if(!r&&c.trigger&&c.trigger.apply(n,e)===false){return}if(!r&&!c.noBubble&&!_(n)){l=c.delegateType||g;if(!De.test(l+g)){o=o.parentNode}for(;o;o=o.parentNode){p.push(o);a=o}if(a===(n.ownerDocument||b)){p.push(a.defaultView||a.parentWindow||i)}}s=0;while((o=p[s++])&&!t.isPropagationStopped()){h=o;t.type=s>1?l:c.bindType||g;f=(et.get(o,"events")||Object.create(null))[t.type]&&et.get(o,"handle");if(f){f.apply(o,e)}f=u&&o[u];if(f&&f.apply&&Z(o)){t.result=f.apply(o,e);if(t.result===false){t.preventDefault()}}}t.type=g;if(!r&&!t.isDefaultPrevented()){if((!c._default||c._default.apply(p.pop(),e)===false)&&Z(n)){if(u&&y(n[g])&&!_(n)){a=n[u];if(a){n[u]=null}k.event.triggered=g;if(t.isPropagationStopped()){h.addEventListener(g,Ee)}n[g]();if(t.isPropagationStopped()){h.removeEventListener(g,Ee)}k.event.triggered=undefined;if(a){n[u]=a}}}}return t.result},simulate:function(t,e,i){var n=k.extend(new k.Event,i,{type:t,isSimulated:true});k.event.trigger(n,null,e)}});k.fn.extend({trigger:function(t,e){return this.each((function(){k.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i){return k.event.trigger(t,e,i,true)}}});if(!v.focusin){k.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=function(t){k.event.simulate(e,t.target,k.event.fix(t))};k.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=et.access(n,e);if(!r){n.addEventListener(t,i,true)}et.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=et.access(n,e)-1;if(!r){n.removeEventListener(t,i,true);et.remove(n,e)}else{et.access(n,e,r)}}}}))}var Pe=i.location;var Oe={guid:Date.now()};var Ie=/\?/;k.parseXML=function(t){var e;if(!t||typeof t!=="string"){return null}try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=undefined}if(!e||e.getElementsByTagName("parsererror").length){k.error("Invalid XML: "+t)}return e};var ze=/\[\]$/,He=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;function We(t,e,i,n){var r;if(Array.isArray(e)){k.each(e,(function(e,r){if(i||ze.test(t)){n(t,r)}else{We(t+"["+(typeof r==="object"&&r!=null?e:"")+"]",r,i,n)}}))}else if(!i&&C(e)==="object"){for(r in e){We(t+"["+r+"]",e[r],i,n)}}else{n(t,e)}}k.param=function(t,e){var i,n=[],r=function(t,e){var i=y(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(i==null?"":i)};if(t==null){return""}if(Array.isArray(t)||t.jquery&&!k.isPlainObject(t)){k.each(t,(function(){r(this.name,this.value)}))}else{for(i in t){We(i,t[i],e,r)}}return n.join("&")};k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=k.prop(this,"elements");return t?k.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!k(this).is(":disabled")&&Ne.test(this.nodeName)&&!Me.test(t)&&(this.checked||!yt.test(t))})).map((function(t,e){var i=k(this).val();if(i==null){return null}if(Array.isArray(i)){return k.map(i,(function(t){return{name:e.name,value:t.replace(He,"\r\n")}}))}return{name:e.name,value:i.replace(He,"\r\n")}})).get()}});var Le=/%20/g,qe=/#.*$/,$e=/([?&])_=[^&]*/,Re=/^(.*?):[ \t]*([^\r\n]*)$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Be=/^(?:GET|HEAD)$/,Qe=/^\/\//,Ue={},Ve={},Ge="*/".concat("*"),Xe=b.createElement("a");Xe.href=Pe.href;function Ye(t){return function(e,i){if(typeof e!=="string"){i=e;e="*"}var n,r=0,s=e.toLowerCase().match(q)||[];if(y(i)){while(n=s[r++]){if(n[0]==="+"){n=n.slice(1)||"*";(t[n]=t[n]||[]).unshift(i)}else{(t[n]=t[n]||[]).push(i)}}}}}function Ke(t,e,i,n){var r={},s=t===Ve;function o(a){var l;r[a]=true;k.each(t[a]||[],(function(t,a){var u=a(e,i,n);if(typeof u==="string"&&!s&&!r[u]){e.dataTypes.unshift(u);o(u);return false}else if(s){return!(l=u)}}));return l}return o(e.dataTypes[0])||!r["*"]&&o("*")}function Je(t,e){var i,n,r=k.ajaxSettings.flatOptions||{};for(i in e){if(e[i]!==undefined){(r[i]?t:n||(n={}))[i]=e[i]}}if(n){k.extend(true,t,n)}return t}function Ze(t,e,i){var n,r,s,o,a=t.contents,l=t.dataTypes;while(l[0]==="*"){l.shift();if(n===undefined){n=t.mimeType||e.getResponseHeader("Content-Type")}}if(n){for(r in a){if(a[r]&&a[r].test(n)){l.unshift(r);break}}}if(l[0]in i){s=l[0]}else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}if(!o){o=r}}s=s||o}if(s){if(s!==l[0]){l.unshift(s)}return i[s]}}function ti(t,e,i,n){var r,s,o,a,l,u={},f=t.dataTypes.slice();if(f[1]){for(o in t.converters){u[o.toLowerCase()]=t.converters[o]}}s=f.shift();while(s){if(t.responseFields[s]){i[t.responseFields[s]]=e}if(!l&&n&&t.dataFilter){e=t.dataFilter(e,t.dataType)}l=s;s=f.shift();if(s){if(s==="*"){s=l}else if(l!=="*"&&l!==s){o=u[l+" "+s]||u["* "+s];if(!o){for(r in u){a=r.split(" ");if(a[1]===s){o=u[l+" "+a[0]]||u["* "+a[0]];if(o){if(o===true){o=u[r]}else if(u[r]!==true){s=a[0];f.unshift(a[1])}break}}}}if(o!==true){if(o&&t.throws){e=o(e)}else{try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+s}}}}}}}return{state:"success",data:e}}k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe.href,type:"GET",isLocal:Fe.test(Pe.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ge,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(t,e){return e?Je(Je(t,k.ajaxSettings),e):Je(k.ajaxSettings,t)},ajaxPrefilter:Ye(Ue),ajaxTransport:Ye(Ve),ajax:function(t,e){if(typeof t==="object"){e=t;t=undefined}e=e||{};var n,r,s,o,a,l,u,f,c,h,p=k.ajaxSetup({},e),d=p.context||p,g=p.context&&(d.nodeType||d.jquery)?k(d):k.event,m=k.Deferred(),v=k.Callbacks("once memory"),y=p.statusCode||{},_={},w={},x="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(u){if(!o){o={};while(e=Re.exec(s)){o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2])}}e=o[t.toLowerCase()+" "]}return e==null?null:e.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(t,e){if(u==null){t=w[t.toLowerCase()]=w[t.toLowerCase()]||t;_[t]=e}return this},overrideMimeType:function(t){if(u==null){p.mimeType=t}return this},statusCode:function(t){var e;if(t){if(u){C.always(t[C.status])}else{for(e in t){y[e]=[y[e],t[e]]}}}return this},abort:function(t){var e=t||x;if(n){n.abort(e)}T(0,e);return this}};m.promise(C);p.url=((t||p.url||Pe.href)+"").replace(Qe,Pe.protocol+"//");p.type=e.method||e.type||p.method||p.type;p.dataTypes=(p.dataType||"*").toLowerCase().match(q)||[""];if(p.crossDomain==null){l=b.createElement("a");try{l.href=p.url;l.href=l.href;p.crossDomain=Xe.protocol+"//"+Xe.host!==l.protocol+"//"+l.host}catch(t){p.crossDomain=true}}if(p.data&&p.processData&&typeof p.data!=="string"){p.data=k.param(p.data,p.traditional)}Ke(Ue,p,e,C);if(u){return C}f=k.event&&p.global;if(f&&k.active++===0){k.event.trigger("ajaxStart")}p.type=p.type.toUpperCase();p.hasContent=!Be.test(p.type);r=p.url.replace(qe,"");if(!p.hasContent){h=p.url.slice(r.length);if(p.data&&(p.processData||typeof p.data==="string")){r+=(Ie.test(r)?"&":"?")+p.data;delete p.data}if(p.cache===false){r=r.replace($e,"$1");h=(Ie.test(r)?"&":"?")+"_="+Oe.guid+++h}p.url=r+h}else if(p.data&&p.processData&&(p.contentType||"").indexOf("application/x-www-form-urlencoded")===0){p.data=p.data.replace(Le,"+")}if(p.ifModified){if(k.lastModified[r]){C.setRequestHeader("If-Modified-Since",k.lastModified[r])}if(k.etag[r]){C.setRequestHeader("If-None-Match",k.etag[r])}}if(p.data&&p.hasContent&&p.contentType!==false||e.contentType){C.setRequestHeader("Content-Type",p.contentType)}C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]!=="*"?", "+Ge+"; q=0.01":""):p.accepts["*"]);for(c in p.headers){C.setRequestHeader(c,p.headers[c])}if(p.beforeSend&&(p.beforeSend.call(d,C,p)===false||u)){return C.abort()}x="abort";v.add(p.complete);C.done(p.success);C.fail(p.error);n=Ke(Ve,p,e,C);if(!n){T(-1,"No Transport")}else{C.readyState=1;if(f){g.trigger("ajaxSend",[C,p])}if(u){return C}if(p.async&&p.timeout>0){a=i.setTimeout((function(){C.abort("timeout")}),p.timeout)}try{u=false;n.send(_,T)}catch(t){if(u){throw t}T(-1,t)}}function T(t,e,o,l){var c,h,_,b,w,x=e;if(u){return}u=true;if(a){i.clearTimeout(a)}n=undefined;s=l||"";C.readyState=t>0?4:0;c=t>=200&&t<300||t===304;if(o){b=Ze(p,C,o)}if(!c&&k.inArray("script",p.dataTypes)>-1){p.converters["text script"]=function(){}}b=ti(p,b,C,c);if(c){if(p.ifModified){w=C.getResponseHeader("Last-Modified");if(w){k.lastModified[r]=w}w=C.getResponseHeader("etag");if(w){k.etag[r]=w}}if(t===204||p.type==="HEAD"){x="nocontent"}else if(t===304){x="notmodified"}else{x=b.state;h=b.data;_=b.error;c=!_}}else{_=x;if(t||!x){x="error";if(t<0){t=0}}}C.status=t;C.statusText=(e||x)+"";if(c){m.resolveWith(d,[h,x,C])}else{m.rejectWith(d,[C,x,_])}C.statusCode(y);y=undefined;if(f){g.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?h:_])}v.fireWith(d,[C,x]);if(f){g.trigger("ajaxComplete",[C,p]);if(!--k.active){k.event.trigger("ajaxStop")}}}return C},getJSON:function(t,e,i){return k.get(t,e,i,"json")},getScript:function(t,e){return k.get(t,undefined,e,"script")}});k.each(["get","post"],(function(t,e){k[e]=function(t,i,n,r){if(y(i)){r=r||n;n=i;i=undefined}return k.ajax(k.extend({url:t,type:e,dataType:r,data:i,success:n},k.isPlainObject(t)&&t))}}));k.ajaxPrefilter((function(t){var e;for(e in t.headers){if(e.toLowerCase()==="content-type"){t.contentType=t.headers[e]||""}}}));k._evalUrl=function(t,e,i){return k.ajax({url:t,type:"GET",dataType:"script",cache:true,async:false,global:false,converters:{"text script":function(){}},dataFilter:function(t){k.globalEval(t,e,i)}})};k.fn.extend({wrapAll:function(t){var e;if(this[0]){if(y(t)){t=t.call(this[0])}e=k(t,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){e.insertBefore(this[0])}e.map((function(){var t=this;while(t.firstElementChild){t=t.firstElementChild}return t})).append(this)}return this},wrapInner:function(t){if(y(t)){return this.each((function(e){k(this).wrapInner(t.call(this,e))}))}return this.each((function(){var e=k(this),i=e.contents();if(i.length){i.wrapAll(t)}else{e.append(t)}}))},wrap:function(t){var e=y(t);return this.each((function(i){k(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(t){this.parent(t).not("body").each((function(){k(this).replaceWith(this.childNodes)}));return this}});k.expr.pseudos.hidden=function(t){return!k.expr.pseudos.visible(t)};k.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)};k.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var ei={0:200,1223:204},ii=k.ajaxSettings.xhr();v.cors=!!ii&&"withCredentials"in ii;v.ajax=ii=!!ii;k.ajaxTransport((function(t){var e,n;if(v.cors||ii&&!t.crossDomain){return{send:function(r,s){var o,a=t.xhr();a.open(t.type,t.url,t.async,t.username,t.password);if(t.xhrFields){for(o in t.xhrFields){a[o]=t.xhrFields[o]}}if(t.mimeType&&a.overrideMimeType){a.overrideMimeType(t.mimeType)}if(!t.crossDomain&&!r["X-Requested-With"]){r["X-Requested-With"]="XMLHttpRequest"}for(o in r){a.setRequestHeader(o,r[o])}e=function(t){return function(){if(e){e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null;if(t==="abort"){a.abort()}else if(t==="error"){if(typeof a.status!=="number"){s(0,"error")}else{s(a.status,a.statusText)}}else{s(ei[a.status]||a.status,a.statusText,(a.responseType||"text")!=="text"||typeof a.responseText!=="string"?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders())}}}};a.onload=e();n=a.onerror=a.ontimeout=e("error");if(a.onabort!==undefined){a.onabort=n}else{a.onreadystatechange=function(){if(a.readyState===4){i.setTimeout((function(){if(e){n()}}))}}}e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e){throw t}}},abort:function(){if(e){e()}}}}}));k.ajaxPrefilter((function(t){if(t.crossDomain){t.contents.script=false}}));k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, "+"application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){k.globalEval(t);return t}}});k.ajaxPrefilter("script",(function(t){if(t.cache===undefined){t.cache=false}if(t.crossDomain){t.type="GET"}}));k.ajaxTransport("script",(function(t){if(t.crossDomain||t.scriptAttrs){var e,i;return{send:function(n,r){e=k("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove();i=null;if(t){r(t.type==="error"?404:200,t.type)}});b.head.appendChild(e[0])},abort:function(){if(i){i()}}}}}));var ni=[],ri=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ni.pop()||k.expando+"_"+Oe.guid++;this[t]=true;return t}});k.ajaxPrefilter("json jsonp",(function(t,e,n){var r,s,o,a=t.jsonp!==false&&(ri.test(t.url)?"url":typeof t.data==="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ri.test(t.data)&&"data");if(a||t.dataTypes[0]==="jsonp"){r=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback;if(a){t[a]=t[a].replace(ri,"$1"+r)}else if(t.jsonp!==false){t.url+=(Ie.test(t.url)?"&":"?")+t.jsonp+"="+r}t.converters["script json"]=function(){if(!o){k.error(r+" was not called")}return o[0]};t.dataTypes[0]="json";s=i[r];i[r]=function(){o=arguments};n.always((function(){if(s===undefined){k(i).removeProp(r)}else{i[r]=s}if(t[r]){t.jsonpCallback=e.jsonpCallback;ni.push(r)}if(o&&y(s)){s(o[0])}o=s=undefined}));return"script"}}));v.createHTMLDocument=function(){var t=b.implementation.createHTMLDocument("").body;t.innerHTML="<form></form><form></form>";return t.childNodes.length===2}();k.parseHTML=function(t,e,i){if(typeof t!=="string"){return[]}if(typeof e==="boolean"){i=e;e=false}var n,r,s;if(!e){if(v.createHTMLDocument){e=b.implementation.createHTMLDocument("");n=e.createElement("base");n.href=b.location.href;e.head.appendChild(n)}else{e=b}}r=O.exec(t);s=!i&&[];if(r){return[e.createElement(r[1])]}r=kt([t],e,s);if(s&&s.length){k(s).remove()}return k.merge([],r.childNodes)};k.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");if(a>-1){n=ke(t.slice(a));t=t.slice(0,a)}if(y(e)){i=e;e=undefined}else if(e&&typeof e==="object"){r="POST"}if(o.length>0){k.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){s=arguments;o.html(n?k("<div>").append(k.parseHTML(t)).find(n):t)})).always(i&&function(t,e){o.each((function(){i.apply(this,s||[t.responseText,e,t])}))})}return this};k.expr.pseudos.animated=function(t){return k.grep(k.timers,(function(e){return t===e.elem})).length};k.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,u,f=k.css(t,"position"),c=k(t),h={};if(f==="static"){t.style.position="relative"}a=c.offset();s=k.css(t,"top");l=k.css(t,"left");u=(f==="absolute"||f==="fixed")&&(s+l).indexOf("auto")>-1;if(u){n=c.position();o=n.top;r=n.left}else{o=parseFloat(s)||0;r=parseFloat(l)||0}if(y(e)){e=e.call(t,i,k.extend({},a))}if(e.top!=null){h.top=e.top-a.top+o}if(e.left!=null){h.left=e.left-a.left+r}if("using"in e){e.using.call(t,h)}else{if(typeof h.top==="number"){h.top+="px"}if(typeof h.left==="number"){h.left+="px"}c.css(h)}}};k.fn.extend({offset:function(t){if(arguments.length){return t===undefined?this:this.each((function(e){k.offset.setOffset(this,t,e)}))}var e,i,n=this[0];if(!n){return}if(!n.getClientRects().length){return{top:0,left:0}}e=n.getBoundingClientRect();i=n.ownerDocument.defaultView;return{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}},position:function(){if(!this[0]){return}var t,e,i,n=this[0],r={top:0,left:0};if(k.css(n,"position")==="fixed"){e=n.getBoundingClientRect()}else{e=this.offset();i=n.ownerDocument;t=n.offsetParent||i.documentElement;while(t&&(t===i.body||t===i.documentElement)&&k.css(t,"position")==="static"){t=t.parentNode}if(t&&t!==n&&t.nodeType===1){r=k(t).offset();r.top+=k.css(t,"borderTopWidth",true);r.left+=k.css(t,"borderLeftWidth",true)}}return{top:e.top-r.top-k.css(n,"marginTop",true),left:e.left-r.left-k.css(n,"marginLeft",true)}},offsetParent:function(){return this.map((function(){var t=this.offsetParent;while(t&&k.css(t,"position")==="static"){t=t.offsetParent}return t||ft}))}});k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i="pageYOffset"===e;k.fn[t]=function(n){return G(this,(function(t,n,r){var s;if(_(t)){s=t}else if(t.nodeType===9){s=t.defaultView}if(r===undefined){return s?s[e]:t[n]}if(s){s.scrollTo(!i?r:s.pageXOffset,i?r:s.pageYOffset)}else{t[n]=r}}),t,n,arguments.length)}}));k.each(["top","left"],(function(t,e){k.cssHooks[e]=Yt(v.pixelPosition,(function(t,i){if(i){i=Xt(t,e);return Qt.test(i)?k(t).position()[e]+"px":i}}))}));k.each({Height:"height",Width:"width"},(function(t,e){k.each({padding:"inner"+t,content:e,"":"outer"+t},(function(i,n){k.fn[n]=function(r,s){var o=arguments.length&&(i||typeof r!=="boolean"),a=i||(r===true||s===true?"margin":"border");return G(this,(function(e,i,r){var s;if(_(e)){return n.indexOf("outer")===0?e["inner"+t]:e.document.documentElement["client"+t]}if(e.nodeType===9){s=e.documentElement;return Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])}return r===undefined?k.css(e,i,a):k.style(e,i,r,a)}),e,o?r:undefined,o)}}))}));k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){k.fn[e]=function(t){return this.on(e,t)}}));k.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return arguments.length===1?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});k.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(t,e){k.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}));var si=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(t,e){var i,n,r;if(typeof e==="string"){i=t[e];e=t;t=i}if(!y(t)){return undefined}n=l.call(arguments,2);r=function(){return t.apply(e||this,n.concat(l.call(arguments)))};r.guid=t.guid=t.guid||k.guid++;return r};k.holdReady=function(t){if(t){k.readyWait++}else{k.ready(true)}};k.isArray=Array.isArray;k.parseJSON=JSON.parse;k.nodeName=P;k.isFunction=y;k.isWindow=_;k.camelCase=J;k.type=C;k.now=Date.now;k.isNumeric=function(t){var e=k.type(t);return(e==="number"||e==="string")&&!isNaN(t-parseFloat(t))};k.trim=function(t){return t==null?"":(t+"").replace(si,"")};if(true){!(n=[],r=function(){return k}.apply(e,n),r!==undefined&&(t.exports=r))}var oi=i.jQuery,ai=i.$;k.noConflict=function(t){if(i.$===k){i.$=ai}if(t&&i.jQuery===k){i.jQuery=oi}return k};if(typeof s==="undefined"){i.jQuery=i.$=k}return k}))},function(t,e,i){i(4)(i(14))},function(t,e,i){(function(e){t.exports=function(t){function i(t){typeof e!=="undefined"&&(e.error||e.log)("[Script Loader]",t)}function n(){return typeof attachEvent!=="undefined"&&typeof addEventListener==="undefined"}try{if(typeof execScript!=="undefined"&&n()){execScript(t)}else if(typeof eval!=="undefined"){eval.call(null,t)}else{i("EvalError: No eval function available")}}catch(t){i(t)}}}).call(this,i(5))},function(t,e,i){(function(e){var n=i(7);var r=i(12);function s(){return(new Date).getTime()}var o=Array.prototype.slice;var a;var l={};if(typeof e!=="undefined"&&e.console){a=e.console}else if(typeof window!=="undefined"&&window.console){a=window.console}else{a={}}var u=[[d,"log"],[g,"info"],[m,"warn"],[v,"error"],[y,"time"],[_,"timeEnd"],[b,"trace"],[w,"dir"],[x,"assert"]];for(var f=0;f<u.length;f++){var c=u[f];var h=c[0];var p=c[1];if(!a[p]){a[p]=h}}t.exports=a;function d(){}function g(){a.log.apply(a,arguments)}function m(){a.log.apply(a,arguments)}function v(){a.warn.apply(a,arguments)}function y(t){l[t]=s()}function _(t){var e=l[t];if(!e){throw new Error("No such label: "+t)}delete l[t];var i=s()-e;a.log(t+": "+i+"ms")}function b(){var t=new Error;t.name="Trace";t.message=n.format.apply(null,arguments);a.error(t.stack)}function w(t){a.log(n.inspect(t)+"\n")}function x(t){if(!t){var e=o.call(arguments,1);r.ok(false,n.format.apply(null,e))}}}).call(this,i(6))},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){if(typeof window==="object")i=window}t.exports=i},function(t,e,i){(function(t,n){var r=Object.getOwnPropertyDescriptors||function t(e){var i=Object.keys(e);var n={};for(var r=0;r<i.length;r++){n[i[r]]=Object.getOwnPropertyDescriptor(e,i[r])}return n};var s=/%[sdj%]/g;e.format=function(t){if(!C(t)){var e=[];for(var i=0;i<arguments.length;i++){e.push(l(arguments[i]))}return e.join(" ")}var i=1;var n=arguments;var r=n.length;var o=String(t).replace(s,(function(t){if(t==="%%")return"%";if(i>=r)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}));for(var a=n[i];i<r;a=n[++i]){if(b(a)||!j(a)){o+=" "+a}else{o+=" "+l(a)}}return o};e.deprecate=function(i,r){if(typeof t!=="undefined"&&t.noDeprecation===true){return i}if(typeof t==="undefined"){return function(){return e.deprecate(i,r).apply(this,arguments)}}var s=false;function o(){if(!s){if(t.throwDeprecation){throw new Error(r)}else if(t.traceDeprecation){n.trace(r)}else{n.error(r)}s=true}return i.apply(this,arguments)}return o};var o={};var a;e.debuglog=function(i){if(k(a))a=t.env.NODE_DEBUG||"";i=i.toUpperCase();if(!o[i]){if(new RegExp("\\b"+i+"\\b","i").test(a)){var r=t.pid;o[i]=function(){var t=e.format.apply(e,arguments);n.error("%s %d: %s",i,r,t)}}else{o[i]=function(){}}}return o[i]};function l(t,i){var n={seen:[],stylize:f};if(arguments.length>=3)n.depth=arguments[2];if(arguments.length>=4)n.colors=arguments[3];if(_(i)){n.showHidden=i}else if(i){e._extend(n,i)}if(k(n.showHidden))n.showHidden=false;if(k(n.depth))n.depth=2;if(k(n.colors))n.colors=false;if(k(n.customInspect))n.customInspect=true;if(n.colors)n.stylize=u;return h(n,t,n.depth)}e.inspect=l;l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(t,e){var i=l.styles[e];if(i){return"["+l.colors[i][0]+"m"+t+"["+l.colors[i][1]+"m"}else{return t}}function f(t,e){return t}function c(t){var e={};t.forEach((function(t,i){e[t]=true}));return e}function h(t,i,n){if(t.customInspect&&i&&E(i.inspect)&&i.inspect!==e.inspect&&!(i.constructor&&i.constructor.prototype===i)){var r=i.inspect(n,t);if(!C(r)){r=h(t,r,n)}return r}var s=p(t,i);if(s){return s}var o=Object.keys(i);var a=c(o);if(t.showHidden){o=Object.getOwnPropertyNames(i)}if(D(i)&&(o.indexOf("message")>=0||o.indexOf("description")>=0)){return d(i)}if(o.length===0){if(E(i)){var l=i.name?": "+i.name:"";return t.stylize("[Function"+l+"]","special")}if(S(i)){return t.stylize(RegExp.prototype.toString.call(i),"regexp")}if(A(i)){return t.stylize(Date.prototype.toString.call(i),"date")}if(D(i)){return d(i)}}var u="",f=false,_=["{","}"];if(y(i)){f=true;_=["[","]"]}if(E(i)){var b=i.name?": "+i.name:"";u=" [Function"+b+"]"}if(S(i)){u=" "+RegExp.prototype.toString.call(i)}if(A(i)){u=" "+Date.prototype.toUTCString.call(i)}if(D(i)){u=" "+d(i)}if(o.length===0&&(!f||i.length==0)){return _[0]+u+_[1]}if(n<0){if(S(i)){return t.stylize(RegExp.prototype.toString.call(i),"regexp")}else{return t.stylize("[Object]","special")}}t.seen.push(i);var w;if(f){w=g(t,i,n,a,o)}else{w=o.map((function(e){return m(t,i,n,a,e,f)}))}t.seen.pop();return v(w,u,_)}function p(t,e){if(k(e))return t.stylize("undefined","undefined");if(C(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}if(x(e))return t.stylize(""+e,"number");if(_(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}function d(t){return"["+Error.prototype.toString.call(t)+"]"}function g(t,e,i,n,r){var s=[];for(var o=0,a=e.length;o<a;++o){if(M(e,String(o))){s.push(m(t,e,i,n,String(o),true))}else{s.push("")}}r.forEach((function(r){if(!r.match(/^\d+$/)){s.push(m(t,e,i,n,r,true))}}));return s}function m(t,e,i,n,r,s){var o,a,l;l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]};if(l.get){if(l.set){a=t.stylize("[Getter/Setter]","special")}else{a=t.stylize("[Getter]","special")}}else{if(l.set){a=t.stylize("[Setter]","special")}}if(!M(n,r)){o="["+r+"]"}if(!a){if(t.seen.indexOf(l.value)<0){if(b(i)){a=h(t,l.value,null)}else{a=h(t,l.value,i-1)}if(a.indexOf("\n")>-1){if(s){a=a.split("\n").map((function(t){return" "+t})).join("\n").substr(2)}else{a="\n"+a.split("\n").map((function(t){return" "+t})).join("\n")}}}else{a=t.stylize("[Circular]","special")}}if(k(o)){if(s&&r.match(/^\d+$/)){return a}o=JSON.stringify(""+r);if(o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){o=o.substr(1,o.length-2);o=t.stylize(o,"name")}else{o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");o=t.stylize(o,"string")}}return o+": "+a}function v(t,e,i){var n=0;var r=t.reduce((function(t,e){n++;if(e.indexOf("\n")>=0)n++;return t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60){return i[0]+(e===""?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1]}return i[0]+e+" "+t.join(", ")+" "+i[1]}function y(t){return Array.isArray(t)}e.isArray=y;function _(t){return typeof t==="boolean"}e.isBoolean=_;function b(t){return t===null}e.isNull=b;function w(t){return t==null}e.isNullOrUndefined=w;function x(t){return typeof t==="number"}e.isNumber=x;function C(t){return typeof t==="string"}e.isString=C;function T(t){return typeof t==="symbol"}e.isSymbol=T;function k(t){return t===void 0}e.isUndefined=k;function S(t){return j(t)&&O(t)==="[object RegExp]"}e.isRegExp=S;function j(t){return typeof t==="object"&&t!==null}e.isObject=j;function A(t){return j(t)&&O(t)==="[object Date]"}e.isDate=A;function D(t){return j(t)&&(O(t)==="[object Error]"||t instanceof Error)}e.isError=D;function E(t){return typeof t==="function"}e.isFunction=E;function P(t){return t===null||typeof t==="boolean"||typeof t==="number"||typeof t==="string"||typeof t==="symbol"||typeof t==="undefined"}e.isPrimitive=P;e.isBuffer=i(9);function O(t){return Object.prototype.toString.call(t)}function I(t){return t<10?"0"+t.toString(10):t.toString(10)}var z=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var t=new Date;var e=[I(t.getHours()),I(t.getMinutes()),I(t.getSeconds())].join(":");return[t.getDate(),z[t.getMonth()],e].join(" ")}e.log=function(){n.log("%s - %s",H(),e.format.apply(e,arguments))};e.inherits=i(10);e._extend=function(t,e){if(!e||!j(e))return t;var i=Object.keys(e);var n=i.length;while(n--){t[i[n]]=e[i[n]]}return t};function M(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var N=typeof Symbol!=="undefined"?Symbol("util.promisify.custom"):undefined;e.promisify=function t(e){if(typeof e!=="function")throw new TypeError('The "original" argument must be of type Function');if(N&&e[N]){var i=e[N];if(typeof i!=="function"){throw new TypeError('The "util.promisify.custom" argument must be of type Function')}Object.defineProperty(i,N,{value:i,enumerable:false,writable:false,configurable:true});return i}function i(){var t,i;var n=new Promise((function(e,n){t=e;i=n}));var r=[];for(var s=0;s<arguments.length;s++){r.push(arguments[s])}r.push((function(e,n){if(e){i(e)}else{t(n)}}));try{e.apply(this,r)}catch(t){i(t)}return n}Object.setPrototypeOf(i,Object.getPrototypeOf(e));if(N)Object.defineProperty(i,N,{value:i,enumerable:false,writable:false,configurable:true});return Object.defineProperties(i,r(e))};e.promisify.custom=N;function W(t,e){if(!t){var i=new Error("Promise was rejected with a falsy value");i.reason=t;t=i}return e(t)}function L(e){if(typeof e!=="function"){throw new TypeError('The "original" argument must be of type Function')}function i(){var i=[];for(var n=0;n<arguments.length;n++){i.push(arguments[n])}var r=i.pop();if(typeof r!=="function"){throw new TypeError("The last argument must be of type Function")}var s=this;var o=function(){return r.apply(s,arguments)};e.apply(this,i).then((function(e){t.nextTick(o,null,e)}),(function(e){t.nextTick(W,e,o)}))}Object.setPrototypeOf(i,Object.getPrototypeOf(e));Object.defineProperties(i,r(e));return i}e.callbackify=L}).call(this,i(8),i(5))},function(t,e){var i=t.exports={};var n;var r;function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){n=setTimeout}else{n=s}}catch(t){n=s}try{if(typeof clearTimeout==="function"){r=clearTimeout}else{r=o}}catch(t){r=o}})();function a(t){if(n===setTimeout){return setTimeout(t,0)}if((n===s||!n)&&setTimeout){n=setTimeout;return setTimeout(t,0)}try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function l(t){if(r===clearTimeout){return clearTimeout(t)}if((r===o||!r)&&clearTimeout){r=clearTimeout;return clearTimeout(t)}try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}var u=[];var f=false;var c;var h=-1;function p(){if(!f||!c){return}f=false;if(c.length){u=c.concat(u)}else{h=-1}if(u.length){d()}}function d(){if(f){return}var t=a(p);f=true;var e=u.length;while(e){c=u;u=[];while(++h<e){if(c){c[h].run()}}h=-1;e=u.length}c=null;f=false;l(t)}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){e[i-1]=arguments[i]}}u.push(new g(t,e));if(u.length===1&&!f){a(d)}};function g(t,e){this.fun=t;this.array=e}g.prototype.run=function(){this.fun.apply(null,this.array)};i.title="browser";i.browser=true;i.env={};i.argv=[];i.version="";i.versions={};function m(){}i.on=m;i.addListener=m;i.once=m;i.off=m;i.removeListener=m;i.removeAllListeners=m;i.emit=m;i.prependListener=m;i.prependOnceListener=m;i.listeners=function(t){return[]};i.binding=function(t){throw new Error("process.binding is not supported")};i.cwd=function(){return"/"};i.chdir=function(t){throw new Error("process.chdir is not supported")};i.umask=function(){return 0}},function(t,e){t.exports=function t(e){return e&&typeof e==="object"&&typeof e.copy==="function"&&typeof e.fill==="function"&&typeof e.readUInt8==="function"}},function(t,e,i){try{var n=i(7);if(typeof n.inherits!=="function")throw"";t.exports=n.inherits}catch(e){t.exports=i(11)}},function(t,e){if(typeof Object.create==="function"){t.exports=function t(e,i){e.super_=i;e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}else{t.exports=function t(e,i){e.super_=i;var n=function(){};n.prototype=i.prototype;e.prototype=new n;e.prototype.constructor=e}}},function(t,e,i){"use strict";(function(e){var n=i(13);
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function r(t,e){if(t===e){return 0}var i=t.length;var n=e.length;for(var r=0,s=Math.min(i,n);r<s;++r){if(t[r]!==e[r]){i=t[r];n=e[r];break}}if(i<n){return-1}if(n<i){return 1}return 0}function s(t){if(e.Buffer&&typeof e.Buffer.isBuffer==="function"){return e.Buffer.isBuffer(t)}return!!(t!=null&&t._isBuffer)}var o=i(7);var a=Object.prototype.hasOwnProperty;var l=Array.prototype.slice;var u=function(){return function t(){}.name==="foo"}();function f(t){return Object.prototype.toString.call(t)}function c(t){if(s(t)){return false}if(typeof e.ArrayBuffer!=="function"){return false}if(typeof ArrayBuffer.isView==="function"){return ArrayBuffer.isView(t)}if(!t){return false}if(t instanceof DataView){return true}if(t.buffer&&t.buffer instanceof ArrayBuffer){return true}return false}var h=t.exports=_;var p=/\s*function\s+([^\(\s]*)\s*/;function d(t){if(!o.isFunction(t)){return}if(u){return t.name}var e=t.toString();var i=e.match(p);return i&&i[1]}h.AssertionError=function t(e){this.name="AssertionError";this.actual=e.actual;this.expected=e.expected;this.operator=e.operator;if(e.message){this.message=e.message;this.generatedMessage=false}else{this.message=v(this);this.generatedMessage=true}var i=e.stackStartFunction||y;if(Error.captureStackTrace){Error.captureStackTrace(this,i)}else{var n=new Error;if(n.stack){var r=n.stack;var s=d(i);var o=r.indexOf("\n"+s);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}};o.inherits(h.AssertionError,Error);function g(t,e){if(typeof t==="string"){return t.length<e?t:t.slice(0,e)}else{return t}}function m(t){if(u||!o.isFunction(t)){return o.inspect(t)}var e=d(t);var i=e?": "+e:"";return"[Function"+i+"]"}function v(t){return g(m(t.actual),128)+" "+t.operator+" "+g(m(t.expected),128)}function y(t,e,i,n,r){throw new h.AssertionError({message:i,actual:t,expected:e,operator:n,stackStartFunction:r})}h.fail=y;function _(t,e){if(!t)y(t,true,e,"==",h.ok)}h.ok=_;h.equal=function t(e,i,n){if(e!=i)y(e,i,n,"==",h.equal)};h.notEqual=function t(e,i,n){if(e==i){y(e,i,n,"!=",h.notEqual)}};h.deepEqual=function t(e,i,n){if(!b(e,i,false)){y(e,i,n,"deepEqual",h.deepEqual)}};h.deepStrictEqual=function t(e,i,n){if(!b(e,i,true)){y(e,i,n,"deepStrictEqual",h.deepStrictEqual)}};function b(t,e,i,n){if(t===e){return true}else if(s(t)&&s(e)){return r(t,e)===0}else if(o.isDate(t)&&o.isDate(e)){return t.getTime()===e.getTime()}else if(o.isRegExp(t)&&o.isRegExp(e)){return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase}else if((t===null||typeof t!=="object")&&(e===null||typeof e!=="object")){return i?t===e:t==e}else if(c(t)&&c(e)&&f(t)===f(e)&&!(t instanceof Float32Array||t instanceof Float64Array)){return r(new Uint8Array(t.buffer),new Uint8Array(e.buffer))===0}else if(s(t)!==s(e)){return false}else{n=n||{actual:[],expected:[]};var a=n.actual.indexOf(t);if(a!==-1){if(a===n.expected.indexOf(e)){return true}}n.actual.push(t);n.expected.push(e);return x(t,e,i,n)}}function w(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function x(t,e,i,n){if(t===null||t===undefined||e===null||e===undefined)return false;if(o.isPrimitive(t)||o.isPrimitive(e))return t===e;if(i&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return false;var r=w(t);var s=w(e);if(r&&!s||!r&&s)return false;if(r){t=l.call(t);e=l.call(e);return b(t,e,i)}var a=A(t);var u=A(e);var f,c;if(a.length!==u.length)return false;a.sort();u.sort();for(c=a.length-1;c>=0;c--){if(a[c]!==u[c])return false}for(c=a.length-1;c>=0;c--){f=a[c];if(!b(t[f],e[f],i,n))return false}return true}h.notDeepEqual=function t(e,i,n){if(b(e,i,false)){y(e,i,n,"notDeepEqual",h.notDeepEqual)}};h.notDeepStrictEqual=C;function C(t,e,i){if(b(t,e,true)){y(t,e,i,"notDeepStrictEqual",C)}}h.strictEqual=function t(e,i,n){if(e!==i){y(e,i,n,"===",h.strictEqual)}};h.notStrictEqual=function t(e,i,n){if(e===i){y(e,i,n,"!==",h.notStrictEqual)}};function T(t,e){if(!t||!e){return false}if(Object.prototype.toString.call(e)=="[object RegExp]"){return e.test(t)}try{if(t instanceof e){return true}}catch(t){}if(Error.isPrototypeOf(e)){return false}return e.call({},t)===true}function k(t){var e;try{t()}catch(t){e=t}return e}function S(t,e,i,n){var r;if(typeof e!=="function"){throw new TypeError('"block" argument must be a function')}if(typeof i==="string"){n=i;i=null}r=k(e);n=(i&&i.name?" ("+i.name+").":".")+(n?" "+n:".");if(t&&!r){y(r,i,"Missing expected exception"+n)}var s=typeof n==="string";var a=!t&&o.isError(r);var l=!t&&r&&!i;if(a&&s&&T(r,i)||l){y(r,i,"Got unwanted exception"+n)}if(t&&r&&i&&!T(r,i)||!t&&r){throw r}}h.throws=function(t,e,i){S(true,t,e,i)};h.doesNotThrow=function(t,e,i){S(false,t,e,i)};h.ifError=function(t){if(t)throw t};function j(t,e){if(!t)y(t,true,e,"==",j)}h.strict=n(j,h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual});h.strict.strict=h.strict;var A=Object.keys||function(t){var e=[];for(var i in t){if(a.call(t,i))e.push(i)}return e}}).call(this,i(6))},function(t,e,i){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var n=Object.getOwnPropertySymbols;var r=Object.prototype.hasOwnProperty;var s=Object.prototype.propertyIsEnumerable;function o(t){if(t===null||t===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(t)}function a(){try{if(!Object.assign){return false}var t=new String("abc");t[5]="de";if(Object.getOwnPropertyNames(t)[0]==="5"){return false}var e={};for(var i=0;i<10;i++){e["_"+String.fromCharCode(i)]=i}var n=Object.getOwnPropertyNames(e).map((function(t){return e[t]}));if(n.join("")!=="0123456789"){return false}var r={};"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t}));if(Object.keys(Object.assign({},r)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(t){return false}}t.exports=a()?Object.assign:function(t,e){var i;var a=o(t);var l;for(var u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var f in i){if(r.call(i,f)){a[f]=i[f]}}if(n){l=n(i);for(var c=0;c<l.length;c++){if(s.call(i,l[c])){a[l[c]]=i[l[c]]}}}}return a}},function(t,e){t.exports='/*!\n * jQuery Migrate - v3.3.1 - 2020-06-25T01:07Z\n * Copyright OpenJS Foundation and other contributors\n */\n( function( factory ) {\n\t"use strict";\n\n\tif ( typeof define === "function" && define.amd ) {\n\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine( [ "jquery" ], function( jQuery ) {\n\t\t\treturn factory( jQuery, window );\n\t\t} );\n\t} else if ( typeof module === "object" && module.exports ) {\n\n\t\t// Node/CommonJS\n\t\t// eslint-disable-next-line no-undef\n\t\tmodule.exports = factory( require( "jquery" ), window );\n\t} else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery, window );\n\t}\n} )( function( jQuery, window ) {\n"use strict";\n\njQuery.migrateVersion = "3.3.1";\n\n// Returns 0 if v1 == v2, -1 if v1 < v2, 1 if v1 > v2\nfunction compareVersions( v1, v2 ) {\n\tvar i,\n\t\trVersionParts = /^(\\d+)\\.(\\d+)\\.(\\d+)/,\n\t\tv1p = rVersionParts.exec( v1 ) || [ ],\n\t\tv2p = rVersionParts.exec( v2 ) || [ ];\n\n\tfor ( i = 1; i <= 3; i++ ) {\n\t\tif ( +v1p[ i ] > +v2p[ i ] ) {\n\t\t\treturn 1;\n\t\t}\n\t\tif ( +v1p[ i ] < +v2p[ i ] ) {\n\t\t\treturn -1;\n\t\t}\n\t}\n\treturn 0;\n}\n\nfunction jQueryVersionSince( version ) {\n\treturn compareVersions( jQuery.fn.jquery, version ) >= 0;\n}\n\n( function() {\n\n\t// Support: IE9 only\n\t// IE9 only creates console object when dev tools are first opened\n\t// IE9 console is a host object, callable but doesn\'t have .apply()\n\tif ( !window.console || !window.console.log ) {\n\t\treturn;\n\t}\n\n\t// Need jQuery 3.0.0+ and no older Migrate loaded\n\tif ( !jQuery || !jQueryVersionSince( "3.0.0" ) ) {\n\t\twindow.console.log( "JQMIGRATE: jQuery 3.0.0+ REQUIRED" );\n\t}\n\tif ( jQuery.migrateWarnings ) {\n\t\twindow.console.log( "JQMIGRATE: Migrate plugin loaded multiple times" );\n\t}\n\n\t// Show a message on the console so devs know we\'re active\n\twindow.console.log( "JQMIGRATE: Migrate is installed" +\n\t\t( jQuery.migrateMute ? "" : " with logging active" ) +\n\t\t", version " + jQuery.migrateVersion );\n\n} )();\n\nvar warnedAbout = {};\n\n// By default each warning is only reported once.\njQuery.migrateDeduplicateWarnings = true;\n\n// List of warnings already given; public read only\njQuery.migrateWarnings = [];\n\n// Set to false to disable traces that appear with warnings\nif ( jQuery.migrateTrace === undefined ) {\n\tjQuery.migrateTrace = true;\n}\n\n// Forget any warnings we\'ve already given; public\njQuery.migrateReset = function() {\n\twarnedAbout = {};\n\tjQuery.migrateWarnings.length = 0;\n};\n\nfunction migrateWarn( msg ) {\n\tvar console = window.console;\n\tif ( !jQuery.migrateDeduplicateWarnings || !warnedAbout[ msg ] ) {\n\t\twarnedAbout[ msg ] = true;\n\t\tjQuery.migrateWarnings.push( msg );\n\t\tif ( console && console.warn && !jQuery.migrateMute ) {\n\t\t\tconsole.warn( "JQMIGRATE: " + msg );\n\t\t\tif ( jQuery.migrateTrace && console.trace ) {\n\t\t\t\tconsole.trace();\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction migrateWarnProp( obj, prop, value, msg ) {\n\tObject.defineProperty( obj, prop, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tmigrateWarn( msg );\n\t\t\treturn value;\n\t\t},\n\t\tset: function( newValue ) {\n\t\t\tmigrateWarn( msg );\n\t\t\tvalue = newValue;\n\t\t}\n\t} );\n}\n\nfunction migrateWarnFunc( obj, prop, newFunc, msg ) {\n\tobj[ prop ] = function() {\n\t\tmigrateWarn( msg );\n\t\treturn newFunc.apply( this, arguments );\n\t};\n}\n\nif ( window.document.compatMode === "BackCompat" ) {\n\n\t// JQuery has never supported or tested Quirks Mode\n\tmigrateWarn( "jQuery is not compatible with Quirks Mode" );\n}\n\nvar findProp,\n\tclass2type = {},\n\toldInit = jQuery.fn.init,\n\toldFind = jQuery.find,\n\n\trattrHashTest = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/,\n\trattrHashGlob = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/g,\n\n\t// Support: Android <=4.0 only\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\njQuery.fn.init = function( arg1 ) {\n\tvar args = Array.prototype.slice.call( arguments );\n\n\tif ( typeof arg1 === "string" && arg1 === "#" ) {\n\n\t\t// JQuery( "#" ) is a bogus ID selector, but it returned an empty set before jQuery 3.0\n\t\tmigrateWarn( "jQuery( \'#\' ) is not a valid selector" );\n\t\targs[ 0 ] = [];\n\t}\n\n\treturn oldInit.apply( this, args );\n};\njQuery.fn.init.prototype = jQuery.fn;\n\njQuery.find = function( selector ) {\n\tvar args = Array.prototype.slice.call( arguments );\n\n\t// Support: PhantomJS 1.x\n\t// String#match fails to match when used with a //g RegExp, only on some strings\n\tif ( typeof selector === "string" && rattrHashTest.test( selector ) ) {\n\n\t\t// The nonstandard and undocumented unquoted-hash was removed in jQuery 1.12.0\n\t\t// First see if qS thinks it\'s a valid selector, if so avoid a false positive\n\t\ttry {\n\t\t\twindow.document.querySelector( selector );\n\t\t} catch ( err1 ) {\n\n\t\t\t// Didn\'t *look* valid to qSA, warn and try quoting what we think is the value\n\t\t\tselector = selector.replace( rattrHashGlob, function( _, attr, op, value ) {\n\t\t\t\treturn "[" + attr + op + "\\"" + value + "\\"]";\n\t\t\t} );\n\n\t\t\t// If the regexp *may* have created an invalid selector, don\'t update it\n\t\t\t// Note that there may be false alarms if selector uses jQuery extensions\n\t\t\ttry {\n\t\t\t\twindow.document.querySelector( selector );\n\t\t\t\tmigrateWarn( "Attribute selector with \'#\' must be quoted: " + args[ 0 ] );\n\t\t\t\targs[ 0 ] = selector;\n\t\t\t} catch ( err2 ) {\n\t\t\t\tmigrateWarn( "Attribute selector with \'#\' was not fixed: " + args[ 0 ] );\n\t\t\t}\n\t\t}\n\t}\n\n\treturn oldFind.apply( this, args );\n};\n\n// Copy properties attached to original jQuery.find method (e.g. .attr, .isXML)\nfor ( findProp in oldFind ) {\n\tif ( Object.prototype.hasOwnProperty.call( oldFind, findProp ) ) {\n\t\tjQuery.find[ findProp ] = oldFind[ findProp ];\n\t}\n}\n\n// The number of elements contained in the matched element set\nmigrateWarnFunc( jQuery.fn, "size", function() {\n\treturn this.length;\n},\n"jQuery.fn.size() is deprecated and removed; use the .length property" );\n\nmigrateWarnFunc( jQuery, "parseJSON", function() {\n\treturn JSON.parse.apply( null, arguments );\n},\n"jQuery.parseJSON is deprecated; use JSON.parse" );\n\nmigrateWarnFunc( jQuery, "holdReady", jQuery.holdReady,\n\t"jQuery.holdReady is deprecated" );\n\nmigrateWarnFunc( jQuery, "unique", jQuery.uniqueSort,\n\t"jQuery.unique is deprecated; use jQuery.uniqueSort" );\n\n// Now jQuery.expr.pseudos is the standard incantation\nmigrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos,\n\t"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" );\nmigrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos,\n\t"jQuery.expr[\':\'] is deprecated; use jQuery.expr.pseudos" );\n\n// Prior to jQuery 3.1.1 there were internal refs so we don\'t warn there\nif ( jQueryVersionSince( "3.1.1" ) ) {\n\tmigrateWarnFunc( jQuery, "trim", function( text ) {\n\t\treturn text == null ?\n\t\t\t"" :\n\t\t\t( text + "" ).replace( rtrim, "" );\n\t},\n\t"jQuery.trim is deprecated; use String.prototype.trim" );\n}\n\n// Prior to jQuery 3.2 there were internal refs so we don\'t warn there\nif ( jQueryVersionSince( "3.2.0" ) ) {\n\tmigrateWarnFunc( jQuery, "nodeName", function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\t},\n\t"jQuery.nodeName is deprecated" );\n}\n\nif ( jQueryVersionSince( "3.3.0" ) ) {\n\n\tmigrateWarnFunc( jQuery, "isNumeric", function( obj ) {\n\n\t\t\t// As of jQuery 3.0, isNumeric is limited to\n\t\t\t// strings and numbers (primitives or objects)\n\t\t\t// that can be coerced to finite numbers (gh-2662)\n\t\t\tvar type = typeof obj;\n\t\t\treturn ( type === "number" || type === "string" ) &&\n\n\t\t\t\t// parseFloat NaNs numeric-cast false positives ("")\n\t\t\t\t// ...but misinterprets leading-number strings, e.g. hex literals ("0x...")\n\t\t\t\t// subtraction forces infinities to NaN\n\t\t\t\t!isNaN( obj - parseFloat( obj ) );\n\t\t},\n\t\t"jQuery.isNumeric() is deprecated"\n\t);\n\n\t// Populate the class2type map\n\tjQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".\n\t\tsplit( " " ),\n\tfunction( _, name ) {\n\t\tclass2type[ "[object " + name + "]" ] = name.toLowerCase();\n\t} );\n\n\tmigrateWarnFunc( jQuery, "type", function( obj ) {\n\t\tif ( obj == null ) {\n\t\t\treturn obj + "";\n\t\t}\n\n\t\t// Support: Android <=2.3 only (functionish RegExp)\n\t\treturn typeof obj === "object" || typeof obj === "function" ?\n\t\t\tclass2type[ Object.prototype.toString.call( obj ) ] || "object" :\n\t\t\ttypeof obj;\n\t},\n\t"jQuery.type is deprecated" );\n\n\tmigrateWarnFunc( jQuery, "isFunction",\n\t\tfunction( obj ) {\n\t\t\treturn typeof obj === "function";\n\t\t},\n\t\t"jQuery.isFunction() is deprecated" );\n\n\tmigrateWarnFunc( jQuery, "isWindow",\n\t\tfunction( obj ) {\n\t\t\treturn obj != null && obj === obj.window;\n\t\t},\n\t\t"jQuery.isWindow() is deprecated"\n\t);\n\n\tmigrateWarnFunc( jQuery, "isArray", Array.isArray,\n\t\t"jQuery.isArray is deprecated; use Array.isArray"\n\t);\n}\n\n// Support jQuery slim which excludes the ajax module\nif ( jQuery.ajax ) {\n\nvar oldAjax = jQuery.ajax;\n\njQuery.ajax = function( ) {\n\tvar jQXHR = oldAjax.apply( this, arguments );\n\n\t// Be sure we got a jQXHR (e.g., not sync)\n\tif ( jQXHR.promise ) {\n\t\tmigrateWarnFunc( jQXHR, "success", jQXHR.done,\n\t\t\t"jQXHR.success is deprecated and removed" );\n\t\tmigrateWarnFunc( jQXHR, "error", jQXHR.fail,\n\t\t\t"jQXHR.error is deprecated and removed" );\n\t\tmigrateWarnFunc( jQXHR, "complete", jQXHR.always,\n\t\t\t"jQXHR.complete is deprecated and removed" );\n\t}\n\n\treturn jQXHR;\n};\n\n}\n\nvar oldRemoveAttr = jQuery.fn.removeAttr,\n\toldToggleClass = jQuery.fn.toggleClass,\n\trmatchNonSpace = /\\S+/g;\n\njQuery.fn.removeAttr = function( name ) {\n\tvar self = this;\n\n\tjQuery.each( name.match( rmatchNonSpace ), function( _i, attr ) {\n\t\tif ( jQuery.expr.match.bool.test( attr ) ) {\n\t\t\tmigrateWarn( "jQuery.fn.removeAttr no longer sets boolean properties: " + attr );\n\t\t\tself.prop( attr, false );\n\t\t}\n\t} );\n\n\treturn oldRemoveAttr.apply( this, arguments );\n};\n\njQuery.fn.toggleClass = function( state ) {\n\n\t// Only deprecating no-args or single boolean arg\n\tif ( state !== undefined && typeof state !== "boolean" ) {\n\t\treturn oldToggleClass.apply( this, arguments );\n\t}\n\n\tmigrateWarn( "jQuery.fn.toggleClass( boolean ) is deprecated" );\n\n\t// Toggle entire class name of each element\n\treturn this.each( function() {\n\t\tvar className = this.getAttribute && this.getAttribute( "class" ) || "";\n\n\t\tif ( className ) {\n\t\t\tjQuery.data( this, "__className__", className );\n\t\t}\n\n\t\t// If the element has a class name or if we\'re passed `false`,\n\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t// falling back to the empty string if nothing was stored.\n\t\tif ( this.setAttribute ) {\n\t\t\tthis.setAttribute( "class",\n\t\t\t\tclassName || state === false ?\n\t\t\t\t"" :\n\t\t\t\tjQuery.data( this, "__className__" ) || ""\n\t\t\t);\n\t\t}\n\t} );\n};\n\nfunction camelCase( string ) {\n\treturn string.replace( /-([a-z])/g, function( _, letter ) {\n\t\treturn letter.toUpperCase();\n\t} );\n}\n\nvar oldFnCss,\n\tinternalSwapCall = false,\n\tralphaStart = /^[a-z]/,\n\n\t// The regex visualized:\n\t//\n\t// /----------\\\n\t// | | /-------\\\n\t// | / Top \\ | | |\n\t// /--- Border ---+-| Right |-+---+- Width -+---\\\n\t// | | Bottom | |\n\t// | \\ Left / |\n\t// | |\n\t// | /----------\\ |\n\t// | /-------------\\ | | |- END\n\t// | | | | / Top \\ | |\n\t// | | / Margin \\ | | | Right | | |\n\t// |---------+-| |-+---+-| Bottom |-+----|\n\t// | \\ Padding / \\ Left / |\n\t// BEGIN -| |\n\t// | /---------\\ |\n\t// | | | |\n\t// | | / Min \\ | / Width \\ |\n\t// \\--------------+-| |-+---| |---/\n\t// \\ Max / \\ Height /\n\trautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;\n\n// If this version of jQuery has .swap(), don\'t false-alarm on internal uses\nif ( jQuery.swap ) {\n\tjQuery.each( [ "height", "width", "reliableMarginRight" ], function( _, name ) {\n\t\tvar oldHook = jQuery.cssHooks[ name ] && jQuery.cssHooks[ name ].get;\n\n\t\tif ( oldHook ) {\n\t\t\tjQuery.cssHooks[ name ].get = function() {\n\t\t\t\tvar ret;\n\n\t\t\t\tinternalSwapCall = true;\n\t\t\t\tret = oldHook.apply( this, arguments );\n\t\t\t\tinternalSwapCall = false;\n\t\t\t\treturn ret;\n\t\t\t};\n\t\t}\n\t} );\n}\n\njQuery.swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\tif ( !internalSwapCall ) {\n\t\tmigrateWarn( "jQuery.swap() is undocumented and deprecated" );\n\t}\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\nif ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) {\n\n\tjQuery.cssProps = new Proxy( jQuery.cssProps || {}, {\n\t\tset: function() {\n\t\t\tmigrateWarn( "JQMIGRATE: jQuery.cssProps is deprecated" );\n\t\t\treturn Reflect.set.apply( this, arguments );\n\t\t}\n\t} );\n}\n\n// Create a dummy jQuery.cssNumber if missing. It won\'t be used by jQuery but\n// it will prevent code adding new keys to it unconditionally from crashing.\nif ( !jQuery.cssNumber ) {\n\tjQuery.cssNumber = {};\n}\n\nfunction isAutoPx( prop ) {\n\n\t// The first test is used to ensure that:\n\t// 1. The prop starts with a lowercase letter (as we uppercase it for the second regex).\n\t// 2. The prop is not empty.\n\treturn ralphaStart.test( prop ) &&\n\t\trautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) );\n}\n\noldFnCss = jQuery.fn.css;\n\njQuery.fn.css = function( name, value ) {\n\tvar camelName,\n\t\torigThis = this;\n\tif ( name && typeof name === "object" && !Array.isArray( name ) ) {\n\t\tjQuery.each( name, function( n, v ) {\n\t\t\tjQuery.fn.css.call( origThis, n, v );\n\t\t} );\n\t}\n\tif ( typeof value === "number" ) {\n\t\tcamelName = camelCase( name );\n\t\tif ( !isAutoPx( camelName ) && !jQuery.cssNumber[ camelName ] ) {\n\t\t\tmigrateWarn( "Number-typed values are deprecated for jQuery.fn.css( \\"" +\n\t\t\t\tname + "\\", value )" );\n\t\t}\n\t}\n\n\treturn oldFnCss.apply( this, arguments );\n};\n\nvar oldData = jQuery.data;\n\njQuery.data = function( elem, name, value ) {\n\tvar curData, sameKeys, key;\n\n\t// Name can be an object, and each entry in the object is meant to be set as data\n\tif ( name && typeof name === "object" && arguments.length === 2 ) {\n\t\tcurData = jQuery.hasData( elem ) && oldData.call( this, elem );\n\t\tsameKeys = {};\n\t\tfor ( key in name ) {\n\t\t\tif ( key !== camelCase( key ) ) {\n\t\t\t\tmigrateWarn( "jQuery.data() always sets/gets camelCased names: " + key );\n\t\t\t\tcurData[ key ] = name[ key ];\n\t\t\t} else {\n\t\t\t\tsameKeys[ key ] = name[ key ];\n\t\t\t}\n\t\t}\n\n\t\toldData.call( this, elem, sameKeys );\n\n\t\treturn name;\n\t}\n\n\t// If the name is transformed, look for the un-transformed name in the data object\n\tif ( name && typeof name === "string" && name !== camelCase( name ) ) {\n\t\tcurData = jQuery.hasData( elem ) && oldData.call( this, elem );\n\t\tif ( curData && name in curData ) {\n\t\t\tmigrateWarn( "jQuery.data() always sets/gets camelCased names: " + name );\n\t\t\tif ( arguments.length > 2 ) {\n\t\t\t\tcurData[ name ] = value;\n\t\t\t}\n\t\t\treturn curData[ name ];\n\t\t}\n\t}\n\n\treturn oldData.apply( this, arguments );\n};\n\n// Support jQuery slim which excludes the effects module\nif ( jQuery.fx ) {\n\nvar intervalValue, intervalMsg,\n\toldTweenRun = jQuery.Tween.prototype.run,\n\tlinearEasing = function( pct ) {\n\t\treturn pct;\n\t};\n\njQuery.Tween.prototype.run = function( ) {\n\tif ( jQuery.easing[ this.easing ].length > 1 ) {\n\t\tmigrateWarn(\n\t\t\t"\'jQuery.easing." + this.easing.toString() + "\' should use only one argument"\n\t\t);\n\n\t\tjQuery.easing[ this.easing ] = linearEasing;\n\t}\n\n\toldTweenRun.apply( this, arguments );\n};\n\nintervalValue = jQuery.fx.interval || 13;\nintervalMsg = "jQuery.fx.interval is deprecated";\n\n// Support: IE9, Android <=4.4\n// Avoid false positives on browsers that lack rAF\n// Don\'t warn if document is hidden, jQuery uses setTimeout (#292)\nif ( window.requestAnimationFrame ) {\n\tObject.defineProperty( jQuery.fx, "interval", {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\tif ( !window.document.hidden ) {\n\t\t\t\tmigrateWarn( intervalMsg );\n\t\t\t}\n\t\t\treturn intervalValue;\n\t\t},\n\t\tset: function( newValue ) {\n\t\t\tmigrateWarn( intervalMsg );\n\t\t\tintervalValue = newValue;\n\t\t}\n\t} );\n}\n\n}\n\nvar oldLoad = jQuery.fn.load,\n\toldEventAdd = jQuery.event.add,\n\toriginalFix = jQuery.event.fix;\n\njQuery.event.props = [];\njQuery.event.fixHooks = {};\n\nmigrateWarnProp( jQuery.event.props, "concat", jQuery.event.props.concat,\n\t"jQuery.event.props.concat() is deprecated and removed" );\n\njQuery.event.fix = function( originalEvent ) {\n\tvar event,\n\t\ttype = originalEvent.type,\n\t\tfixHook = this.fixHooks[ type ],\n\t\tprops = jQuery.event.props;\n\n\tif ( props.length ) {\n\t\tmigrateWarn( "jQuery.event.props are deprecated and removed: " + props.join() );\n\t\twhile ( props.length ) {\n\t\t\tjQuery.event.addProp( props.pop() );\n\t\t}\n\t}\n\n\tif ( fixHook && !fixHook._migrated_ ) {\n\t\tfixHook._migrated_ = true;\n\t\tmigrateWarn( "jQuery.event.fixHooks are deprecated and removed: " + type );\n\t\tif ( ( props = fixHook.props ) && props.length ) {\n\t\t\twhile ( props.length ) {\n\t\t\t\tjQuery.event.addProp( props.pop() );\n\t\t\t}\n\t\t}\n\t}\n\n\tevent = originalFix.call( this, originalEvent );\n\n\treturn fixHook && fixHook.filter ? fixHook.filter( event, originalEvent ) : event;\n};\n\njQuery.event.add = function( elem, types ) {\n\n\t// This misses the multiple-types case but that seems awfully rare\n\tif ( elem === window && types === "load" && window.document.readyState === "complete" ) {\n\t\tmigrateWarn( "jQuery(window).on(\'load\'...) called after load event occurred" );\n\t}\n\treturn oldEventAdd.apply( this, arguments );\n};\n\njQuery.each( [ "load", "unload", "error" ], function( _, name ) {\n\n\tjQuery.fn[ name ] = function() {\n\t\tvar args = Array.prototype.slice.call( arguments, 0 );\n\n\t\t// If this is an ajax load() the first arg should be the string URL;\n\t\t// technically this could also be the "Anything" arg of the event .load()\n\t\t// which just goes to show why this dumb signature has been deprecated!\n\t\t// jQuery custom builds that exclude the Ajax module justifiably die here.\n\t\tif ( name === "load" && typeof args[ 0 ] === "string" ) {\n\t\t\treturn oldLoad.apply( this, args );\n\t\t}\n\n\t\tmigrateWarn( "jQuery.fn." + name + "() is deprecated" );\n\n\t\targs.splice( 0, 0, name );\n\t\tif ( arguments.length ) {\n\t\t\treturn this.on.apply( this, args );\n\t\t}\n\n\t\t// Use .triggerHandler here because:\n\t\t// - load and unload events don\'t need to bubble, only applied to window or image\n\t\t// - error event should not bubble to window, although it does pre-1.7\n\t\t// See http://bugs.jquery.com/ticket/11820\n\t\tthis.triggerHandler.apply( this, args );\n\t\treturn this;\n\t};\n\n} );\n\njQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +\n\t"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +\n\t"change select submit keydown keypress keyup contextmenu" ).split( " " ),\n\tfunction( _i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\tmigrateWarn( "jQuery.fn." + name + "() event shorthand is deprecated" );\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n} );\n\n// Trigger "ready" event only once, on document ready\njQuery( function() {\n\tjQuery( window.document ).triggerHandler( "ready" );\n} );\n\njQuery.event.special.ready = {\n\tsetup: function() {\n\t\tif ( this === window.document ) {\n\t\t\tmigrateWarn( "\'ready\' event is deprecated" );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\tmigrateWarn( "jQuery.fn.bind() is deprecated" );\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\tmigrateWarn( "jQuery.fn.unbind() is deprecated" );\n\t\treturn this.off( types, null, fn );\n\t},\n\tdelegate: function( selector, types, data, fn ) {\n\t\tmigrateWarn( "jQuery.fn.delegate() is deprecated" );\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\t\tmigrateWarn( "jQuery.fn.undelegate() is deprecated" );\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, "**" ) :\n\t\t\tthis.off( types, selector || "**", fn );\n\t},\n\thover: function( fnOver, fnOut ) {\n\t\tmigrateWarn( "jQuery.fn.hover() is deprecated" );\n\t\treturn this.on( "mouseenter", fnOver ).on( "mouseleave", fnOut || fnOver );\n\t}\n} );\n\nvar rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,\n\torigHtmlPrefilter = jQuery.htmlPrefilter,\n\tmakeMarkup = function( html ) {\n\t\tvar doc = window.document.implementation.createHTMLDocument( "" );\n\t\tdoc.body.innerHTML = html;\n\t\treturn doc.body && doc.body.innerHTML;\n\t},\n\twarnIfChanged = function( html ) {\n\t\tvar changed = html.replace( rxhtmlTag, "<$1></$2>" );\n\t\tif ( changed !== html && makeMarkup( html ) !== makeMarkup( changed ) ) {\n\t\t\tmigrateWarn( "HTML tags must be properly nested and closed: " + html );\n\t\t}\n\t};\n\njQuery.UNSAFE_restoreLegacyHtmlPrefilter = function() {\n\tjQuery.htmlPrefilter = function( html ) {\n\t\twarnIfChanged( html );\n\t\treturn html.replace( rxhtmlTag, "<$1></$2>" );\n\t};\n};\n\njQuery.htmlPrefilter = function( html ) {\n\twarnIfChanged( html );\n\treturn origHtmlPrefilter( html );\n};\n\nvar oldOffset = jQuery.fn.offset;\n\njQuery.fn.offset = function() {\n\tvar elem = this[ 0 ];\n\n\tif ( elem && ( !elem.nodeType || !elem.getBoundingClientRect ) ) {\n\t\tmigrateWarn( "jQuery.fn.offset() requires a valid DOM element" );\n\t\treturn arguments.length ? this : undefined;\n\t}\n\n\treturn oldOffset.apply( this, arguments );\n};\n\n// Support jQuery slim which excludes the ajax module\n// The jQuery.param patch is about respecting `jQuery.ajaxSettings.traditional`\n// so it doesn\'t make sense for the slim build.\nif ( jQuery.ajax ) {\n\nvar oldParam = jQuery.param;\n\njQuery.param = function( data, traditional ) {\n\tvar ajaxTraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;\n\n\tif ( traditional === undefined && ajaxTraditional ) {\n\n\t\tmigrateWarn( "jQuery.param() no longer uses jQuery.ajaxSettings.traditional" );\n\t\ttraditional = ajaxTraditional;\n\t}\n\n\treturn oldParam.call( this, data, traditional );\n};\n\n}\n\nvar oldSelf = jQuery.fn.andSelf || jQuery.fn.addBack;\n\njQuery.fn.andSelf = function() {\n\tmigrateWarn( "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" );\n\treturn oldSelf.apply( this, arguments );\n};\n\n// Support jQuery slim which excludes the deferred module in jQuery 4.0+\nif ( jQuery.Deferred ) {\n\nvar oldDeferred = jQuery.Deferred,\n\ttuples = [\n\n\t\t// Action, add listener, callbacks, .then handlers, final state\n\t\t[ "resolve", "done", jQuery.Callbacks( "once memory" ),\n\t\t\tjQuery.Callbacks( "once memory" ), "resolved" ],\n\t\t[ "reject", "fail", jQuery.Callbacks( "once memory" ),\n\t\t\tjQuery.Callbacks( "once memory" ), "rejected" ],\n\t\t[ "notify", "progress", jQuery.Callbacks( "memory" ),\n\t\t\tjQuery.Callbacks( "memory" ) ]\n\t];\n\njQuery.Deferred = function( func ) {\n\tvar deferred = oldDeferred(),\n\t\tpromise = deferred.promise();\n\n\tdeferred.pipe = promise.pipe = function( /* fnDone, fnFail, fnProgress */ ) {\n\t\tvar fns = arguments;\n\n\t\tmigrateWarn( "deferred.pipe() is deprecated" );\n\n\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\t\tvar fn = typeof fns[ i ] === "function" && fns[ i ];\n\n\t\t\t\t// Deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\tif ( returned && typeof returned.promise === "function" ) {\n\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t.fail( newDefer.reject )\n\t\t\t\t\t\t\t.progress( newDefer.notify );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + "With" ](\n\t\t\t\t\t\t\tthis === promise ? newDefer.promise() : this,\n\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t} );\n\t\t\tfns = null;\n\t\t} ).promise();\n\n\t};\n\n\tif ( func ) {\n\t\tfunc.call( deferred, deferred );\n\t}\n\n\treturn deferred;\n};\n\n// Preserve handler of uncaught exceptions in promise chains\njQuery.Deferred.exceptionHook = oldDeferred.exceptionHook;\n\n}\n\nreturn jQuery;\n} );\n'},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.ui=t.ui||{};return t.ui.version="1.12.1"}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.ui.plugin={add:function(e,i,n){var r,s=t.ui[e].prototype;for(r in n){s.plugins[r]=s.plugins[r]||[];s.plugins[r].push([i,n[r]])}},call:function(t,e,i,n){var r,s=t.plugins[e];if(!s){return}if(!n&&(!t.element[0].parentNode||t.element[0].parentNode.nodeType===11)){return}for(r=0;r<s.length;r++){if(t.options[s[r][0]]){s[r][1].apply(t.element,i)}}}}}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}if(!e){e=t.body}if(!e.nodeName){e=t.body}return e}}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.ui.safeBlur=function(e){if(e&&e.nodeName.toLowerCase()!=="body"){t(e).trigger("blur")}}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Widget 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){var e=0;var i=Array.prototype.slice;t.cleanData=function(e){return function(i){var n,r,s;for(s=0;(r=i[s])!=null;s++){try{n=t._data(r,"events");if(n&&n.remove){t(r).triggerHandler("remove")}}catch(t){}}e(i)}}(t.cleanData);t.widget=function(e,i,n){var r,s,o;var a={};var l=e.split(".")[0];e=e.split(".")[1];var u=l+"-"+e;if(!n){n=i;i=t.Widget}if(t.isArray(n)){n=t.extend.apply(null,[{}].concat(n))}t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)};t[l]=t[l]||{};r=t[l][e];s=t[l][e]=function(t,e){if(!this._createWidget){return new s(t,e)}if(arguments.length){this._createWidget(t,e)}};t.extend(s,r,{version:n.version,_proto:t.extend({},n),_childConstructors:[]});o=new i;o.options=t.widget.extend({},o.options);t.each(n,(function(e,n){if(!t.isFunction(n)){a[e]=n;return}a[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}return function(){var e=this._super;var i=this._superApply;var s;this._super=t;this._superApply=r;s=n.apply(this,arguments);this._super=e;this._superApply=i;return s}}()}));s.prototype=t.widget.extend(o,{widgetEventPrefix:r?o.widgetEventPrefix||e:e},a,{constructor:s,namespace:l,widgetName:e,widgetFullName:u});if(r){t.each(r._childConstructors,(function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,s,i._proto)}));delete r._childConstructors}else{i._childConstructors.push(s)}t.widget.bridge(e,s);return s};t.widget.extend=function(e){var n=i.call(arguments,1);var r=0;var s=n.length;var o;var a;for(;r<s;r++){for(o in n[r]){a=n[r][o];if(n[r].hasOwnProperty(o)&&a!==undefined){if(t.isPlainObject(a)){e[o]=t.isPlainObject(e[o])?t.widget.extend({},e[o],a):t.widget.extend({},a)}else{e[o]=a}}}}return e};t.widget.bridge=function(e,n){var r=n.prototype.widgetFullName||e;t.fn[e]=function(s){var o=typeof s==="string";var a=i.call(arguments,1);var l=this;if(o){if(!this.length&&s==="instance"){l=undefined}else{this.each((function(){var i;var n=t.data(this,r);if(s==="instance"){l=n;return false}if(!n){return t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+s+"'")}if(!t.isFunction(n[s])||s.charAt(0)==="_"){return t.error("no such method '"+s+"' for "+e+" widget instance")}i=n[s].apply(n,a);if(i!==n&&i!==undefined){l=i&&i.jquery?l.pushStack(i.get()):i;return false}}))}}else{if(a.length){s=t.widget.extend.apply(null,[s].concat(a))}this.each((function(){var e=t.data(this,r);if(e){e.option(s||{});if(e._init){e._init()}}else{t.data(this,r,new n(s,this))}}))}return l}};t.Widget=function(){};t.Widget._childConstructors=[];t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:false,create:null},_createWidget:function(i,n){n=t(n||this.defaultElement||this)[0];this.element=t(n);this.uuid=e++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=t();this.hoverable=t();this.focusable=t();this.classesElementLookup={};if(n!==this){t.data(n,this.widgetFullName,this);this._on(true,this.element,{remove:function(t){if(t.target===n){this.destroy()}}});this.document=t(n.style?n.ownerDocument:n.document||n);this.window=t(this.document[0].defaultView||this.document[0].parentWindow)}this.options=t.widget.extend({},this.options,this._getCreateOptions(),i);this._create();if(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 n=e;var r;var s;var o;if(arguments.length===0){return t.widget.extend({},this.options)}if(typeof e==="string"){n={};r=e.split(".");e=r.shift();if(r.length){s=n[e]=t.widget.extend({},this.options[e]);for(o=0;o<r.length-1;o++){s[r[o]]=s[r[o]]||{};s=s[r[o]]}e=r.pop();if(arguments.length===1){return s[e]===undefined?null:s[e]}s[e]=i}else{if(arguments.length===1){return this.options[e]===undefined?null:this.options[e]}n[e]=i}}this._setOptions(n);return this},_setOptions:function(t){var e;for(e in t){this._setOption(e,t[e])}return this},_setOption:function(t,e){if(t==="classes"){this._setOptionClasses(e)}this.options[t]=e;if(t==="disabled"){this._setOptionDisabled(e)}return this},_setOptionClasses:function(e){var i,n,r;for(i in e){r=this.classesElementLookup[i];if(e[i]===this.options.classes[i]||!r||!r.length){continue}n=t(r.get());this._removeClass(r,i);n.addClass(this._classes({element:n,keys:i,classes:e,add:true}))}},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t);if(t){this._removeClass(this.hoverable,null,"ui-state-hover");this._removeClass(this.focusable,null,"ui-state-focus")}},enable:function(){return this._setOptions({disabled:false})},disable:function(){return this._setOptions({disabled:true})},_classes:function(e){var i=[];var n=this;e=t.extend({element:this.element,classes:this.options.classes||{}},e);function r(r,s){var o,a;for(a=0;a<r.length;a++){o=n.classesElementLookup[r[a]]||t();if(e.add){o=t(t.unique(o.get().concat(e.element.get())))}else{o=t(o.not(e.element).get())}n.classesElementLookup[r[a]]=o;i.push(r[a]);if(s&&e.classes[r[a]]){i.push(e.classes[r[a]])}}}this._on(e.element,{remove:"_untrackClassesElement"});if(e.keys){r(e.keys.match(/\S+/g)||[],true)}if(e.extra){r(e.extra.match(/\S+/g)||[])}return i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,(function(n,r){if(t.inArray(e.target,r)!==-1){i.classesElementLookup[n]=t(r.not(e.target).get())}}))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,false)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,true)},_toggleClass:function(t,e,i,n){n=typeof n==="boolean"?n:i;var r=typeof t==="string"||t===null,s={extra:r?e:i,keys:r?t:e,element:r?this.element:t,add:n};s.element.toggleClass(this._classes(s),n);return this},_on:function(e,i,n){var r;var s=this;if(typeof e!=="boolean"){n=i;i=e;e=false}if(!n){n=i;i=this.element;r=this.widget()}else{i=r=t(i);this.bindings=this.bindings.add(i)}t.each(n,(function(n,o){function a(){if(!e&&(s.options.disabled===true||t(this).hasClass("ui-state-disabled"))){return}return(typeof o==="string"?s[o]:o).apply(s,arguments)}if(typeof o!=="string"){a.guid=o.guid=o.guid||a.guid||t.guid++}var l=n.match(/^([\w:-]*)\s*(.*)$/);var u=l[1]+s.eventNamespace;var f=l[2];if(f){r.on(u,f,a)}else{i.on(u,a)}}))},_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(typeof t==="string"?n[t]:t).apply(n,arguments)}var n=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,n){var r,s;var o=this.options[e];n=n||{};i=t.Event(i);i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();i.target=this.element[0];s=i.originalEvent;if(s){for(r in s){if(!(r in i)){i[r]=s[r]}}}this.element.trigger(i,n);return!(t.isFunction(o)&&o.apply(this.element[0],[i].concat(n))===false||i.isDefaultPrevented())}};t.each({show:"fadeIn",hide:"fadeOut"},(function(e,i){t.Widget.prototype["_"+e]=function(n,r,s){if(typeof r==="string"){r={effect:r}}var o;var a=!r?e:r===true||typeof r==="number"?i:r.effect||i;r=r||{};if(typeof r==="number"){r={duration:r}}o=!t.isEmptyObject(r);r.complete=s;if(r.delay){n.delay(r.delay)}if(o&&t.effects&&t.effects.effect[a]){n[e](r)}else if(a!==e&&n[a]){n[a](r.duration,r.easing,s)}else{n.queue((function(i){t(this)[e]();if(s){s.call(n[0])}i()}))}}}));return t.widget}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Position 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/position/
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){(function(){var e,i=Math.max,n=Math.abs,r=/left|center|right/,s=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,u=t.fn.position;function f(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function c(e,i){return parseInt(t.css(e,i),10)||0}function h(e){var i=e[0];if(i.nodeType===9){return{width:e.width(),height:e.height(),offset:{top:0,left:0}}}if(t.isWindow(i)){return{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}}if(i.preventDefault){return{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}}return{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.position={scrollbarWidth:function(){if(e!==undefined){return e}var i,n,r=t("<div "+"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>"+"<div style='height:100px;width:auto;'></div></div>"),s=r.children()[0];t("body").append(r);i=s.offsetWidth;r.css("overflow","scroll");n=s.offsetWidth;if(i===n){n=r[0].clientWidth}r.remove();return e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r=i==="scroll"||i==="auto"&&e.width<e.element[0].scrollWidth,s=n==="scroll"||n==="auto"&&e.height<e.element[0].scrollHeight;return{width:s?t.position.scrollbarWidth():0,height:r?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]),r=!!i[0]&&i[0].nodeType===9,s=!n&&!r;return{element:i,isWindow:n,isDocument:r,offset:s?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}};t.fn.position=function(e){if(!e||!e.of){return u.apply(this,arguments)}e=t.extend({},e);var l,p,d,g,m,v,y=t(e.of),_=t.position.getWithinInfo(e.within),b=t.position.getScrollInfo(_),w=(e.collision||"flip").split(" "),x={};v=h(y);if(y[0].preventDefault){e.at="left top"}p=v.width;d=v.height;g=v.offset;m=t.extend({},g);t.each(["my","at"],(function(){var t=(e[this]||"").split(" "),i,n;if(t.length===1){t=r.test(t[0])?t.concat(["center"]):s.test(t[0])?["center"].concat(t):["center","center"]}t[0]=r.test(t[0])?t[0]:"center";t[1]=s.test(t[1])?t[1]:"center";i=o.exec(t[0]);n=o.exec(t[1]);x[this]=[i?i[0]:0,n?n[0]:0];e[this]=[a.exec(t[0])[0],a.exec(t[1])[0]]}));if(w.length===1){w[1]=w[0]}if(e.at[0]==="right"){m.left+=p}else if(e.at[0]==="center"){m.left+=p/2}if(e.at[1]==="bottom"){m.top+=d}else if(e.at[1]==="center"){m.top+=d/2}l=f(x.at,p,d);m.left+=l[0];m.top+=l[1];return this.each((function(){var r,s,o=t(this),a=o.outerWidth(),u=o.outerHeight(),h=c(this,"marginLeft"),v=c(this,"marginTop"),C=a+h+c(this,"marginRight")+b.width,T=u+v+c(this,"marginBottom")+b.height,k=t.extend({},m),S=f(x.my,o.outerWidth(),o.outerHeight());if(e.my[0]==="right"){k.left-=a}else if(e.my[0]==="center"){k.left-=a/2}if(e.my[1]==="bottom"){k.top-=u}else if(e.my[1]==="center"){k.top-=u/2}k.left+=S[0];k.top+=S[1];r={marginLeft:h,marginTop:v};t.each(["left","top"],(function(i,n){if(t.ui.position[w[i]]){t.ui.position[w[i]][n](k,{targetWidth:p,targetHeight:d,elemWidth:a,elemHeight:u,collisionPosition:r,collisionWidth:C,collisionHeight:T,offset:[l[0]+S[0],l[1]+S[1]],my:e.my,at:e.at,within:_,elem:o})}}));if(e.using){s=function(t){var r=g.left-k.left,s=r+p-a,l=g.top-k.top,f=l+d-u,c={target:{element:y,left:g.left,top:g.top,width:p,height:d},element:{element:o,left:k.left,top:k.top,width:a,height:u},horizontal:s<0?"left":r>0?"right":"center",vertical:f<0?"top":l>0?"bottom":"middle"};if(p<a&&n(r+s)<p){c.horizontal="center"}if(d<u&&n(l+f)<d){c.vertical="middle"}if(i(n(r),n(s))>i(n(l),n(f))){c.important="horizontal"}else{c.important="vertical"}e.using.call(this,t,c)}}o.offset(t.extend(k,{using:s}))}))};t.ui.position={fit:{left:function(t,e){var n=e.within,r=n.isWindow?n.scrollLeft:n.offset.left,s=n.width,o=t.left-e.collisionPosition.marginLeft,a=r-o,l=o+e.collisionWidth-s-r,u;if(e.collisionWidth>s){if(a>0&&l<=0){u=t.left+a+e.collisionWidth-s-r;t.left+=a-u}else if(l>0&&a<=0){t.left=r}else{if(a>l){t.left=r+s-e.collisionWidth}else{t.left=r}}}else if(a>0){t.left+=a}else if(l>0){t.left-=l}else{t.left=i(t.left-o,t.left)}},top:function(t,e){var n=e.within,r=n.isWindow?n.scrollTop:n.offset.top,s=e.within.height,o=t.top-e.collisionPosition.marginTop,a=r-o,l=o+e.collisionHeight-s-r,u;if(e.collisionHeight>s){if(a>0&&l<=0){u=t.top+a+e.collisionHeight-s-r;t.top+=a-u}else if(l>0&&a<=0){t.top=r}else{if(a>l){t.top=r+s-e.collisionHeight}else{t.top=r}}}else if(a>0){t.top+=a}else if(l>0){t.top-=l}else{t.top=i(t.top-o,t.top)}}},flip:{left:function(t,e){var i=e.within,r=i.offset.left+i.scrollLeft,s=i.width,o=i.isWindow?i.scrollLeft:i.offset.left,a=t.left-e.collisionPosition.marginLeft,l=a-o,u=a+e.collisionWidth-s-o,f=e.my[0]==="left"?-e.elemWidth:e.my[0]==="right"?e.elemWidth:0,c=e.at[0]==="left"?e.targetWidth:e.at[0]==="right"?-e.targetWidth:0,h=-2*e.offset[0],p,d;if(l<0){p=t.left+f+c+h+e.collisionWidth-s-r;if(p<0||p<n(l)){t.left+=f+c+h}}else if(u>0){d=t.left-e.collisionPosition.marginLeft+f+c+h-o;if(d>0||n(d)<u){t.left+=f+c+h}}},top:function(t,e){var i=e.within,r=i.offset.top+i.scrollTop,s=i.height,o=i.isWindow?i.scrollTop:i.offset.top,a=t.top-e.collisionPosition.marginTop,l=a-o,u=a+e.collisionHeight-s-o,f=e.my[1]==="top",c=f?-e.elemHeight:e.my[1]==="bottom"?e.elemHeight:0,h=e.at[1]==="top"?e.targetHeight:e.at[1]==="bottom"?-e.targetHeight:0,p=-2*e.offset[1],d,g;if(l<0){g=t.top+c+h+p+e.collisionHeight-s-r;if(g<0||g<n(l)){t.top+=c+h+p}}else if(u>0){d=t.top-e.collisionPosition.marginTop+c+h+p-o;if(d>0||n(d)<u){t.top+=c+h+p}}}},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)}}}})();return t.ui.position}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI :data 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(i){return!!t.data(i,e)}})):function(e,i,n){return!!t.data(e,n[3])}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Disable Selection 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return 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")}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){var e="ui-effects-",i="ui-effects-style",n="ui-effects-animated",r=t;t.effects={effect:{}};
/*!
* jQuery Color Animations v2.1.2
* https://github.com/jquery/jquery-color
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* Date: Wed Jan 16 08:47:09 2013 -0600
*/(function(t,e){var i="backgroundColor borderBottomColor borderLeftColor borderRightColor "+"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",n=/^([\-+])=\s*(\d+\.?\d*)/,r=[{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[t[1]*2.55,t[2]*2.55,t[3]*2.55,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]]}}],s=t.Color=function(e,i,n,r){return new t.Color.fn.parse(e,i,n,r)},o={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"}}}},a={byte:{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},l=s.support={},u=t("<p>")[0],f,c=t.each;u.style.cssText="background-color:rgba(1,1,1,.5)";l.rgba=u.style.backgroundColor.indexOf("rgba")>-1;c(o,(function(t,e){e.cache="_"+t;e.props.alpha={idx:3,type:"percent",def:1}}));function h(t,e,i){var n=a[e.type]||{};if(t==null){return i||!e.def?null:e.def}t=n.floor?~~t:parseFloat(t);if(isNaN(t)){return e.def}if(n.mod){return(t+n.mod)%n.mod}return 0>t?0:n.max<t?n.max:t}function p(e){var i=s(),n=i._rgba=[];e=e.toLowerCase();c(r,(function(t,r){var s,a=r.re.exec(e),l=a&&r.parse(a),u=r.space||"rgba";if(l){s=i[u](l);i[o[u].cache]=s[o[u].cache];n=i._rgba=s._rgba;return false}}));if(n.length){if(n.join()==="0,0,0,0"){t.extend(n,f.transparent)}return i}return f[e]}s.fn=t.extend(s.prototype,{parse:function(i,n,r,a){if(i===e){this._rgba=[null,null,null,null];return this}if(i.jquery||i.nodeType){i=t(i).css(n);n=e}var l=this,u=t.type(i),d=this._rgba=[];if(n!==e){i=[i,n,r,a];u="array"}if(u==="string"){return this.parse(p(i)||f._default)}if(u==="array"){c(o.rgba.props,(function(t,e){d[e.idx]=h(i[e.idx],e)}));return this}if(u==="object"){if(i instanceof s){c(o,(function(t,e){if(i[e.cache]){l[e.cache]=i[e.cache].slice()}}))}else{c(o,(function(e,n){var r=n.cache;c(n.props,(function(t,e){if(!l[r]&&n.to){if(t==="alpha"||i[t]==null){return}l[r]=n.to(l._rgba)}l[r][e.idx]=h(i[t],e,true)}));if(l[r]&&t.inArray(null,l[r].slice(0,3))<0){l[r][3]=1;if(n.from){l._rgba=n.from(l[r])}}}))}return this}},is:function(t){var e=s(t),i=true,n=this;c(o,(function(t,r){var s,o=e[r.cache];if(o){s=n[r.cache]||r.to&&r.to(n._rgba)||[];c(r.props,(function(t,e){if(o[e.idx]!=null){i=o[e.idx]===s[e.idx];return i}}))}return i}));return i},_space:function(){var t=[],e=this;c(o,(function(i,n){if(e[n.cache]){t.push(i)}}));return t.pop()},transition:function(t,e){var i=s(t),n=i._space(),r=o[n],l=this.alpha()===0?s("transparent"):this,u=l[r.cache]||r.to(l._rgba),f=u.slice();i=i[r.cache];c(r.props,(function(t,n){var r=n.idx,s=u[r],o=i[r],l=a[n.type]||{};if(o===null){return}if(s===null){f[r]=o}else{if(l.mod){if(o-s>l.mod/2){s+=l.mod}else if(s-o>l.mod/2){s-=l.mod}}f[r]=h((o-s)*e+s,n)}}));return this[n](f)},blend:function(e){if(this._rgba[3]===1){return this}var i=this._rgba.slice(),n=i.pop(),r=s(e)._rgba;return s(t.map(i,(function(t,e){return(1-n)*r[e]+n*t})))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,(function(t,e){return t==null?e>2?1:0:t}));if(i[3]===1){i.pop();e="rgb("}return e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),(function(t,e){if(t==null){t=e>2?1:0}if(e&&e<3){t=Math.round(t*100)+"%"}return t}));if(i[3]===1){i.pop();e="hsl("}return e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();if(e){i.push(~~(n*255))}return"#"+t.map(i,(function(t){t=(t||0).toString(16);return t.length===1?"0"+t:t})).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});s.fn.parse.prototype=s.fn;function d(t,e,i){i=(i+1)%1;if(i*6<1){return t+(e-t)*i*6}if(i*2<1){return e}if(i*3<2){return t+(e-t)*(2/3-i)*6}return t}o.hsla.to=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var e=t[0]/255,i=t[1]/255,n=t[2]/255,r=t[3],s=Math.max(e,i,n),o=Math.min(e,i,n),a=s-o,l=s+o,u=l*.5,f,c;if(o===s){f=0}else if(e===s){f=60*(i-n)/a+360}else if(i===s){f=60*(n-e)/a+120}else{f=60*(e-i)/a+240}if(a===0){c=0}else if(u<=.5){c=a/l}else{c=a/(2-l)}return[Math.round(f)%360,c,u,r==null?1:r]};o.hsla.from=function(t){if(t[0]==null||t[1]==null||t[2]==null){return[null,null,null,t[3]]}var e=t[0]/360,i=t[1],n=t[2],r=t[3],s=n<=.5?n*(1+i):n+i-n*i,o=2*n-s;return[Math.round(d(o,s,e+1/3)*255),Math.round(d(o,s,e)*255),Math.round(d(o,s,e-1/3)*255),r]};c(o,(function(i,r){var o=r.props,a=r.cache,l=r.to,u=r.from;s.fn[i]=function(i){if(l&&!this[a]){this[a]=l(this._rgba)}if(i===e){return this[a].slice()}var n,r=t.type(i),f=r==="array"||r==="object"?i:arguments,p=this[a].slice();c(o,(function(t,e){var i=f[r==="object"?t:e.idx];if(i==null){i=p[e.idx]}p[e.idx]=h(i,e)}));if(u){n=s(u(p));n[a]=p;return n}else{return s(p)}};c(o,(function(e,r){if(s.fn[e]){return}s.fn[e]=function(s){var o=t.type(s),a=e==="alpha"?this._hsla?"hsla":"rgba":i,l=this[a](),u=l[r.idx],f;if(o==="undefined"){return u}if(o==="function"){s=s.call(this,u);o=t.type(s)}if(s==null&&r.empty){return this}if(o==="string"){f=n.exec(s);if(f){s=u+parseFloat(f[2])*(f[1]==="+"?1:-1)}}l[r.idx]=s;return this[a](l)}}))}));s.hook=function(e){var i=e.split(" ");c(i,(function(e,i){t.cssHooks[i]={set:function(e,n){var r,o,a="";if(n!=="transparent"&&(t.type(n)!=="string"||(r=p(n)))){n=s(r||n);if(!l.rgba&&n._rgba[3]!==1){o=i==="backgroundColor"?e.parentNode:e;while((a===""||a==="transparent")&&o&&o.style){try{a=t.css(o,"backgroundColor");o=o.parentNode}catch(t){}}n=n.blend(a&&a!=="transparent"?a:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(t){}}};t.fx.step[i]=function(e){if(!e.colorInit){e.start=s(e.elem,i);e.end=s(e.end);e.colorInit=true}t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}}))};s.hook(i);t.cssHooks.borderColor={expand:function(t){var e={};c(["Top","Right","Bottom","Left"],(function(i,n){e["border"+n+"Color"]=t}));return e}};f=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"}})(r);(function(){var e=["add","remove","toggle"],i={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){if(t.end!=="none"&&!t.setAttr||t.pos===1&&!t.setAttr){r.style(t.elem,i,t.end);t.setAttr=true}}}));function n(e){var i,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(r&&r.length&&r[0]&&r[r[0]]){n=r.length;while(n--){i=r[n];if(typeof r[i]==="string"){s[t.camelCase(i)]=r[i]}}}else{for(i in r){if(typeof r[i]==="string"){s[i]=r[i]}}}return s}function s(e,n){var r={},s,o;for(s in n){o=n[s];if(e[s]!==o){if(!i[s]){if(t.fx.step[s]||!isNaN(parseFloat(o))){r[s]=o}}}}return r}if(!t.fn.addBack){t.fn.addBack=function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}}t.effects.animateClass=function(i,r,o,a){var l=t.speed(r,o,a);return this.queue((function(){var r=t(this),o=r.attr("class")||"",a,u=l.children?r.find("*").addBack():r;u=u.map((function(){var e=t(this);return{el:e,start:n(this)}}));a=function(){t.each(e,(function(t,e){if(i[e]){r[e+"Class"](i[e])}}))};a();u=u.map((function(){this.end=n(this.el[0]);this.diff=s(this.start,this.end);return this}));r.attr("class",o);u=u.map((function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:false,complete:function(){i.resolve(e)}});this.el.animate(this.diff,n);return i.promise()}));t.when.apply(t,u.get()).done((function(){a();t.each(arguments,(function(){var e=this.el;t.each(this.diff,(function(t){e.css(t,"")}))}));l.complete.call(r[0])}))}))};t.fn.extend({addClass:function(e){return function(i,n,r,s){return n?t.effects.animateClass.call(this,{add:i},n,r,s):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,n,r,s){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,r,s):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,n,r,s,o){if(typeof n==="boolean"||n===undefined){if(!r){return e.apply(this,arguments)}else{return t.effects.animateClass.call(this,n?{add:i}:{remove:i},r,s,o)}}else{return t.effects.animateClass.call(this,{toggle:i},n,r,s)}}}(t.fn.toggleClass),switchClass:function(e,i,n,r,s){return t.effects.animateClass.call(this,{add:i,remove:e},n,r,s)}})})();(function(){if(t.expr&&t.expr.filters&&t.expr.filters.animated){t.expr.filters.animated=function(e){return function(i){return!!t(i).data(n)||e(i)}}(t.expr.filters.animated)}if(t.uiBackCompat!==false){t.extend(t.effects,{save:function(t,i){var n=0,r=i.length;for(;n<r;n++){if(i[n]!==null){t.data(e+i[n],t[0].style[i[n]])}}},restore:function(t,i){var n,r=0,s=i.length;for(;r<s;r++){if(i[r]!==null){n=t.data(e+i[r]);t.css(i[r],n)}}},setMode:function(t,e){if(e==="toggle"){e=t.is(":hidden")?"show":"hide"}return e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper")){return e.parent()}var i={width:e.outerWidth(true),height:e.outerHeight(true),float:e.css("float")},n=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:e.width(),height:e.height()},s=document.activeElement;try{s.id}catch(t){s=document.body}e.wrap(n);if(e[0]===s||t.contains(e[0],s)){t(s).trigger("focus")}n=e.parent();if(e.css("position")==="static"){n.css({position:"relative"});e.css({position:"relative"})}else{t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")});t.each(["top","left","bottom","right"],(function(t,n){i[n]=e.css(n);if(isNaN(parseInt(i[n],10))){i[n]="auto"}}));e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}e.css(r);return n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;if(e.parent().is(".ui-effects-wrapper")){e.parent().replaceWith(e);if(e[0]===i||t.contains(e[0],i)){t(i).trigger("focus")}}return e}})}t.extend(t.effects,{version:"1.12.1",define:function(e,i,n){if(!n){n=i;i="effect"}t.effects.effect[e]=n;t.effects.effect[e].mode=i;return n},scaledDimensions:function(t,e,i){if(e===0){return{height:0,width:0,outerHeight:0,outerWidth:0}}var n=i!=="horizontal"?(e||100)/100:1,r=i!=="vertical"?(e||100)/100:1;return{height:t.height()*r,width:t.width()*n,outerHeight:t.outerHeight()*r,outerWidth:t.outerWidth()*n}},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 n=t.queue();if(e>1){n.splice.apply(n,[1,0].concat(n.splice(e,i)))}t.dequeue()},saveStyle:function(t){t.data(i,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(i)||"";t.removeData(i)},mode:function(t,e){var i=t.is(":hidden");if(e==="toggle"){e=i?"show":"hide"}if(i?e==="hide":e==="show"){e="none"}return e},getBaseline:function(t,e){var i,n;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":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(i){var n,r=i.css("position"),s=i.position();i.css({marginTop:i.css("marginTop"),marginBottom:i.css("marginBottom"),marginLeft:i.css("marginLeft"),marginRight:i.css("marginRight")}).outerWidth(i.outerWidth()).outerHeight(i.outerHeight());if(/^(static|relative)/.test(r)){r="absolute";n=t("<"+i[0].nodeName+">").insertAfter(i).css({display:/^(inline|ruby)/.test(i.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:i.css("marginTop"),marginBottom:i.css("marginBottom"),marginLeft:i.css("marginLeft"),marginRight:i.css("marginRight"),float:i.css("float")}).outerWidth(i.outerWidth()).outerHeight(i.outerHeight()).addClass("ui-effects-placeholder");i.data(e+"placeholder",n)}i.css({position:r,left:s.left,top:s.top});return n},removePlaceholder:function(t){var i=e+"placeholder",n=t.data(i);if(n){n.remove();t.removeData(i)}},cleanUp:function(e){t.effects.restoreStyle(e);t.effects.removePlaceholder(e)},setTransition:function(e,i,n,r){r=r||{};t.each(i,(function(t,i){var s=e.cssUnit(i);if(s[0]>0){r[i]=s[0]*n+s[1]}}));return r}});function r(e,i,n,r){if(t.isPlainObject(e)){i=e;e=e.effect}e={effect:e};if(i==null){i={}}if(t.isFunction(i)){r=i;n=null;i={}}if(typeof i==="number"||t.fx.speeds[i]){r=n;n=i;i={}}if(t.isFunction(n)){r=n;n=null}if(i){t.extend(e,i)}n=n||i.duration;e.duration=t.fx.off?0:typeof n==="number"?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default;e.complete=r||i.complete;return e}function s(e){if(!e||typeof e==="number"||t.fx.speeds[e]){return true}if(typeof e==="string"&&!t.effects.effect[e]){return true}if(t.isFunction(e)){return true}if(typeof e==="object"&&!e.effect){return true}return false}t.fn.extend({effect:function(){var e=r.apply(this,arguments),i=t.effects.effect[e.effect],s=i.mode,o=e.queue,a=o||"fx",l=e.complete,u=e.mode,f=[],c=function(e){var i=t(this),r=t.effects.mode(i,u)||s;i.data(n,true);f.push(r);if(s&&(r==="show"||r===s&&r==="hide")){i.show()}if(!s||r!=="none"){t.effects.saveStyle(i)}if(t.isFunction(e)){e()}};if(t.fx.off||!i){if(u){return this[u](e.duration,l)}else{return this.each((function(){if(l){l.call(this)}}))}}function h(r){var o=t(this);function a(){o.removeData(n);t.effects.cleanUp(o);if(e.mode==="hide"){o.hide()}c()}function c(){if(t.isFunction(l)){l.call(o[0])}if(t.isFunction(r)){r()}}e.mode=f.shift();if(t.uiBackCompat!==false&&!s){if(o.is(":hidden")?u==="hide":u==="show"){o[u]();c()}else{i.call(o[0],e,c)}}else{if(e.mode==="none"){o[u]();c()}else{i.call(o[0],e,a)}}}return o===false?this.each(c).each(h):this.queue(a,c).queue(a,h)},show:function(t){return function(e){if(s(e)){return t.apply(this,arguments)}else{var i=r.apply(this,arguments);i.mode="show";return this.effect.call(this,i)}}}(t.fn.show),hide:function(t){return function(e){if(s(e)){return t.apply(this,arguments)}else{var i=r.apply(this,arguments);i.mode="hide";return this.effect.call(this,i)}}}(t.fn.hide),toggle:function(t){return function(e){if(s(e)||typeof e==="boolean"){return t.apply(this,arguments)}else{var i=r.apply(this,arguments);i.mode="toggle";return this.effect.call(this,i)}}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];t.each(["em","px","%","pt"],(function(t,e){if(i.indexOf(e)>0){n=[parseFloat(i),e]}}));return n},cssClip:function(t){if(t){return this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)")}return o(this.css("clip"),this)},transfer:function(e,i){var n=t(this),r=t(e.to),s=r.css("position")==="fixed",o=t("body"),a=s?o.scrollTop():0,l=s?o.scrollLeft():0,u=r.offset(),f={top:u.top-a,left:u.left-l,height:r.innerHeight(),width:r.innerWidth()},c=n.offset(),h=t("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:c.top-a,left:c.left-l,height:n.innerHeight(),width:n.innerWidth(),position:s?"fixed":"absolute"}).animate(f,e.duration,e.easing,(function(){h.remove();if(t.isFunction(i)){i()}}))}});function o(t,e){var i=e.outerWidth(),n=e.outerHeight(),r=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,s=r.exec(t)||["",0,i,n,0];return{top:parseFloat(s[1])||0,right:s[2]==="auto"?i:parseFloat(s[2]),bottom:s[3]==="auto"?n:parseFloat(s[3]),left:parseFloat(s[4])||0}}t.fx.step.clip=function(e){if(!e.clipInit){e.start=t(e.elem).cssClip();if(typeof e.end==="string"){e.end=o(e.end,e.elem)}e.clipInit=true}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 t===0||t===1?t:-Math.pow(2,8*(t-1))*Math.sin(((t-1)*80-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){var e,i=4;while(t<((e=Math.pow(2,--i))-1)/11){}return 1/Math.pow(4,3-i)-7.5625*Math.pow((e*3-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 t<.5?i(t*2)/2:1-i(t*-2+2)/2}}))})();return t.effects}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Blind 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("blind","hide",(function(e,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=t(this),s=e.direction||"up",o=r.cssClip(),a={clip:t.extend({},o)},l=t.effects.createPlaceholder(r);a.clip[n[s][0]]=a.clip[n[s][1]];if(e.mode==="show"){r.cssClip(a.clip);if(l){l.css(t.effects.clipToBox(a))}a.clip=o}if(l){l.animate(t.effects.clipToBox(a),e.duration,e.easing)}r.animate(a,{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Bounce 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("bounce",(function(e,i){var n,r,s,o=t(this),a=e.mode,l=a==="hide",u=a==="show",f=e.direction||"up",c=e.distance,h=e.times||5,p=h*2+(u||l?1:0),d=e.duration/p,g=e.easing,m=f==="up"||f==="down"?"top":"left",v=f==="up"||f==="left",y=0,_=o.queue().length;t.effects.createPlaceholder(o);s=o.css(m);if(!c){c=o[m==="top"?"outerHeight":"outerWidth"]()/3}if(u){r={opacity:1};r[m]=s;o.css("opacity",0).css(m,v?-c*2:c*2).animate(r,d,g)}if(l){c=c/Math.pow(2,h-1)}r={};r[m]=s;for(;y<h;y++){n={};n[m]=(v?"-=":"+=")+c;o.animate(n,d,g).animate(r,d,g);c=l?c*2:c/2}if(l){n={opacity:0};n[m]=(v?"-=":"+=")+c;o.animate(n,d,g)}o.queue(i);t.effects.unshift(o,_,p+1)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Clip 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("clip","hide",(function(e,i){var n,r={},s=t(this),o=e.direction||"vertical",a=o==="both",l=a||o==="horizontal",u=a||o==="vertical";n=s.cssClip();r.clip={top:u?(n.bottom-n.top)/2:n.top,right:l?(n.right-n.left)/2:n.right,bottom:u?(n.bottom-n.top)/2:n.bottom,left:l?(n.right-n.left)/2:n.left};t.effects.createPlaceholder(s);if(e.mode==="show"){s.cssClip(r.clip);r.clip=n}s.animate(r,{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Drop 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("drop","hide",(function(e,i){var n,r=t(this),s=e.mode,o=s==="show",a=e.direction||"left",l=a==="up"||a==="down"?"top":"left",u=a==="up"||a==="left"?"-=":"+=",f=u==="+="?"-=":"+=",c={opacity:0};t.effects.createPlaceholder(r);n=e.distance||r[l==="top"?"outerHeight":"outerWidth"](true)/2;c[l]=u+n;if(o){r.css(c);c[l]=f+n;c.opacity=1}r.animate(c,{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Explode 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("explode","hide",(function(e,i){var n,r,s,o,a,l,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,f=u,c=t(this),h=e.mode,p=h==="show",d=c.show().css("visibility","hidden").offset(),g=Math.ceil(c.outerWidth()/f),m=Math.ceil(c.outerHeight()/u),v=[];function y(){v.push(this);if(v.length===u*f){_()}}for(n=0;n<u;n++){o=d.top+n*m;l=n-(u-1)/2;for(r=0;r<f;r++){s=d.left+r*g;a=r-(f-1)/2;c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*g,top:-n*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g,height:m,left:s+(p?a*g:0),top:o+(p?l*m:0),opacity:p?0:1}).animate({left:s+(p?0:a*g),top:o+(p?0:l*m),opacity:p?1:0},e.duration||500,e.easing,y)}}function _(){c.css({visibility:"visible"});t(v).remove();i()}}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Fade 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("fade","toggle",(function(e,i){var n=e.mode==="show";t(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Fold 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("fold","hide",(function(e,i){var n=t(this),r=e.mode,s=r==="show",o=r==="hide",a=e.size||15,l=/([0-9]+)%/.exec(a),u=!!e.horizFirst,f=u?["right","bottom"]:["bottom","right"],c=e.duration/2,h=t.effects.createPlaceholder(n),p=n.cssClip(),d={clip:t.extend({},p)},g={clip:t.extend({},p)},m=[p[f[0]],p[f[1]]],v=n.queue().length;if(l){a=parseInt(l[1],10)/100*m[o?0:1]}d.clip[f[0]]=a;g.clip[f[0]]=a;g.clip[f[1]]=0;if(s){n.cssClip(g.clip);if(h){h.css(t.effects.clipToBox(g))}g.clip=p}n.queue((function(i){if(h){h.animate(t.effects.clipToBox(d),c,e.easing).animate(t.effects.clipToBox(g),c,e.easing)}i()})).animate(d,c,e.easing).animate(g,c,e.easing).queue(i);t.effects.unshift(n,v,4)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Highlight 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("highlight","show",(function(e,i){var n=t(this),r={backgroundColor:n.css("backgroundColor")};if(e.mode==="hide"){r.opacity=0}t.effects.saveStyle(n);n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Puff 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24),i(34)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("puff","hide",(function(e,i){var n=t.extend(true,{},e,{fade:true,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,n,i)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Scale 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24),i(35)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("scale",(function(e,i){var n=t(this),r=e.mode,s=parseInt(e.percent,10)||(parseInt(e.percent,10)===0?0:r!=="effect"?0:100),o=t.extend(true,{from:t.effects.scaledDimensions(n),to:t.effects.scaledDimensions(n,s,e.direction||"both"),origin:e.origin||["middle","center"]},e);if(e.fade){o.from.opacity=1;o.to.opacity=0}t.effects.effect.size.call(this,o,i)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Size 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("size",(function(e,i){var n,r,s,o=t(this),a=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],u=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],f=e.mode,c=f!=="effect",h=e.scale||"both",p=e.origin||["middle","center"],d=o.css("position"),g=o.position(),m=t.effects.scaledDimensions(o),v=e.from||m,y=e.to||t.effects.scaledDimensions(o,0);t.effects.createPlaceholder(o);if(f==="show"){s=v;v=y;y=s}r={from:{y:v.height/m.height,x:v.width/m.width},to:{y:y.height/m.height,x:y.width/m.width}};if(h==="box"||h==="both"){if(r.from.y!==r.to.y){v=t.effects.setTransition(o,l,r.from.y,v);y=t.effects.setTransition(o,l,r.to.y,y)}if(r.from.x!==r.to.x){v=t.effects.setTransition(o,u,r.from.x,v);y=t.effects.setTransition(o,u,r.to.x,y)}}if(h==="content"||h==="both"){if(r.from.y!==r.to.y){v=t.effects.setTransition(o,a,r.from.y,v);y=t.effects.setTransition(o,a,r.to.y,y)}}if(p){n=t.effects.getBaseline(p,m);v.top=(m.outerHeight-v.outerHeight)*n.y+g.top;v.left=(m.outerWidth-v.outerWidth)*n.x+g.left;y.top=(m.outerHeight-y.outerHeight)*n.y+g.top;y.left=(m.outerWidth-y.outerWidth)*n.x+g.left}o.css(v);if(h==="content"||h==="both"){l=l.concat(["marginTop","marginBottom"]).concat(a);u=u.concat(["marginLeft","marginRight"]);o.find("*[width]").each((function(){var i=t(this),n=t.effects.scaledDimensions(i),s={height:n.height*r.from.y,width:n.width*r.from.x,outerHeight:n.outerHeight*r.from.y,outerWidth:n.outerWidth*r.from.x},o={height:n.height*r.to.y,width:n.width*r.to.x,outerHeight:n.height*r.to.y,outerWidth:n.width*r.to.x};if(r.from.y!==r.to.y){s=t.effects.setTransition(i,l,r.from.y,s);o=t.effects.setTransition(i,l,r.to.y,o)}if(r.from.x!==r.to.x){s=t.effects.setTransition(i,u,r.from.x,s);o=t.effects.setTransition(i,u,r.to.x,o)}if(c){t.effects.saveStyle(i)}i.css(s);i.animate(o,e.duration,e.easing,(function(){if(c){t.effects.restoreStyle(i)}}))}))}o.animate(y,{queue:false,duration:e.duration,easing:e.easing,complete:function(){var e=o.offset();if(y.opacity===0){o.css("opacity",v.opacity)}if(!c){o.css("position",d==="static"?"relative":d).offset(e);t.effects.saveStyle(o)}i()}})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Pulsate 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("pulsate","show",(function(e,i){var n=t(this),r=e.mode,s=r==="show",o=r==="hide",a=s||o,l=(e.times||5)*2+(a?1:0),u=e.duration/l,f=0,c=1,h=n.queue().length;if(s||!n.is(":visible")){n.css("opacity",0).show();f=1}for(;c<l;c++){n.animate({opacity:f},u,e.easing);f=1-f}n.animate({opacity:f},u,e.easing);n.queue(i);t.effects.unshift(n,h,l+1)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Shake 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("shake",(function(e,i){var n=1,r=t(this),s=e.direction||"left",o=e.distance||20,a=e.times||3,l=a*2+1,u=Math.round(e.duration/l),f=s==="up"||s==="down"?"top":"left",c=s==="up"||s==="left",h={},p={},d={},g=r.queue().length;t.effects.createPlaceholder(r);h[f]=(c?"-=":"+=")+o;p[f]=(c?"+=":"-=")+o*2;d[f]=(c?"-=":"+=")+o*2;r.animate(h,u,e.easing);for(;n<a;n++){r.animate(p,u,e.easing).animate(d,u,e.easing)}r.animate(p,u,e.easing).animate(h,u/2,e.easing).queue(i);t.effects.unshift(r,g,l+1)}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Slide 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.effects.define("slide","show",(function(e,i){var n,r,s=t(this),o={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},a=e.mode,l=e.direction||"left",u=l==="up"||l==="down"?"top":"left",f=l==="up"||l==="left",c=e.distance||s[u==="top"?"outerHeight":"outerWidth"](true),h={};t.effects.createPlaceholder(s);n=s.cssClip();r=s.position()[u];h[u]=(f?-1:1)*c+r;h.clip=s.cssClip();h.clip[o[l][1]]=h.clip[o[l][0]];if(a==="show"){s.cssClip(h.clip);s.css(u,h[u]);h.clip=n;h[u]=r}s.animate(h,{queue:false,duration:e.duration,easing:e.easing,complete:i})}))}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Effects Transfer 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(24)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){var e;if(t.uiBackCompat!==false){e=t.effects.define("transfer",(function(e,i){t(this).transfer(e,i)}))}return e}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Focusable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.ui.focusable=function(i,n){var r,s,o,a,l,u=i.nodeName.toLowerCase();if("area"===u){r=i.parentNode;s=r.name;if(!i.href||!s||r.nodeName.toLowerCase()!=="map"){return false}o=t("img[usemap='#"+s+"']");return o.length>0&&o.is(":visible")}if(/^(input|select|textarea|button|object)$/.test(u)){a=!i.disabled;if(a){l=t(i).closest("fieldset")[0];if(l){a=!l.disabled}}}else if("a"===u){a=i.href||n}else{a=n}return a&&t(i).is(":visible")&&e(t(i))};function e(t){var e=t.css("visibility");while(e==="inherit"){t=t.parent();e=t.css("visibility")}return e!=="hidden"}t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,t.attr(e,"tabindex")!=null)}});return t.ui.focusable}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.fn.form=function(){return typeof this[0].form==="string"?this.closest("form"):t(this[0].form)}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Support for jQuery core 1.7.x 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){if(t.fn.jquery.substring(0,3)==="1.7"){t.each(["Width","Height"],(function(e,i){var n=i==="Width"?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),s={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function o(e,i,r,s){t.each(n,(function(){i-=parseFloat(t.css(e,"padding"+this))||0;if(r){i-=parseFloat(t.css(e,"border"+this+"Width"))||0}if(s){i-=parseFloat(t.css(e,"margin"+this))||0}}));return i}t.fn["inner"+i]=function(e){if(e===undefined){return s["inner"+i].call(this)}return this.each((function(){t(this).css(r,o(this,e)+"px")}))};t.fn["outer"+i]=function(e,n){if(typeof e!=="number"){return s["outer"+i].call(this,e)}return this.each((function(){t(this).css(r,o(this,e,true,n)+"px")}))}}));t.fn.addBack=function(t){return this.add(t==null?this.prevObject:this.prevObject.filter(t))}}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Keycode 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return 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}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Labels 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(45)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.fn.labels=function(){var e,i,n,r,s;if(this[0].labels&&this[0].labels.length){return this.pushStack(this[0].labels)}r=this.eq(0).parents("label");n=this.attr("id");if(n){e=this.eq(0).parents().last();s=e.add(e.length?e.siblings():this.siblings());i="label[for='"+t.ui.escapeSelector(n)+"']";r=r.add(s.find(i).addBack(i))}return this.pushStack(r)}}))},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}()}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Scroll Parent 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.fn.scrollParent=function(e){var i=this.css("position"),n=i==="absolute",r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,s=this.parents().filter((function(){var e=t(this);if(n&&e.css("position")==="static"){return false}return r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return i==="fixed"||!s.length?t(this[0].ownerDocument||document):s}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Tabbable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(40)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),n=i!=null;return(!n||i>=0)&&t.ui.focusable(e,n)}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Unique ID 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each((function(){if(!this.id){this.id="ui-id-"+ ++t}}))}}(),removeUniqueId:function(){return this.each((function(){if(/^ui-id-\d+$/.test(this.id)){t(this).removeAttr("id")}}))}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Accordion 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(43),i(48),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return 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:false,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");if(!e.collapsible&&(e.active===false||e.active==null)){e.active=0}this._processPanels();if(e.active<0){e.active+=this.headers.length}this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:!this.active.length?t():this.active.next()}},_createIcons:function(){var e,i,n=this.options.icons;if(n){e=t("<span>");this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header);e.prependTo(this.headers);i=this.active.children(".ui-accordion-header-icon");this._removeClass(i,n.header)._addClass(i,null,n.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();if(this.options.heightStyle!=="content"){t.css("height","")}},_setOption:function(t,e){if(t==="active"){this._activate(e);return}if(t==="event"){if(this.options.event){this._off(this.headers,this.options.event)}this._setupEvents(e)}this._super(t,e);if(t==="collapsible"&&!e&&this.options.active===false){this._activate(0)}if(t==="icons"){this._destroyIcons();if(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(e){if(e.altKey||e.ctrlKey){return}var i=t.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),s=false;switch(e.keyCode){case i.RIGHT:case i.DOWN:s=this.headers[(r+1)%n];break;case i.LEFT:case i.UP:s=this.headers[(r-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:s=this.headers[0];break;case i.END:s=this.headers[n-1];break}if(s){t(e.target).attr("tabIndex",-1);t(s).attr("tabIndex",0);t(s).trigger("focus");e.preventDefault()}},_panelKeyDown:function(e){if(e.keyCode===t.ui.keyCode.UP&&e.ctrlKey){t(e.currentTarget).prev().trigger("focus")}},refresh:function(){var e=this.options;this._processPanels();if(e.active===false&&e.collapsible===true||!this.headers.length){e.active=false;this.active=t()}else if(e.active===false){this._activate(0)}else if(this.active.length&&!t.contains(this.element[0],this.active[0])){if(this.headers.length===this.headers.find(".ui-state-disabled").length){e.active=false;this.active=t()}else{this._activate(Math.max(0,e.active-1))}}else{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");if(e){this._off(t.not(this.headers));this._off(e.not(this.panels))}},_refresh:function(){var e,i=this.options,n=i.heightStyle,r=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"),n=e.next(),r=n.uniqueId().attr("id");e.attr("aria-controls",r);n.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();if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"})}this._createIcons();this._setupEvents(i.event);if(n==="fill"){e=r.height();this.element.siblings(":visible").each((function(){var i=t(this),n=i.css("position");if(n==="absolute"||n==="fixed"){return}e-=i.outerHeight(true)}));this.headers.each((function(){e-=t(this).outerHeight(true)}));this.headers.next().each((function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))})).css("overflow","auto")}else if(n==="auto"){e=0;this.headers.next().each((function(){var i=t(this).is(":visible");if(!i){t(this).show()}e=Math.max(e,t(this).css("height","").height());if(!i){t(this).hide()}})).height(e)}},_activate:function(e){var i=this._findActive(e)[0];if(i===this.active[0]){return}i=i||this.active[0];this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop})},_findActive:function(e){return typeof e==="number"?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};if(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,n,r=this.options,s=this.active,o=t(e.currentTarget),a=o[0]===s[0],l=a&&r.collapsible,u=l?t():o.next(),f=s.next(),c={oldHeader:s,oldPanel:f,newHeader:l?t():o,newPanel:u};e.preventDefault();if(a&&!r.collapsible||this._trigger("beforeActivate",e,c)===false){return}r.active=l?false:this.headers.index(o);this.active=a?t():o;this._toggle(c);this._removeClass(s,"ui-accordion-header-active","ui-state-active");if(r.icons){i=s.children(".ui-accordion-header-icon");this._removeClass(i,null,r.icons.activeHeader)._addClass(i,null,r.icons.header)}if(!a){this._removeClass(o,"ui-accordion-header-collapsed")._addClass(o,"ui-accordion-header-active","ui-state-active");if(r.icons){n=o.children(".ui-accordion-header-icon");this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)}this._addClass(o.next(),"ui-accordion-content-active")}},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(true,true);this.prevShow=i;this.prevHide=n;if(this.options.animate){this._animate(i,n,e)}else{n.hide();i.show();this._toggleComplete(e)}n.attr({"aria-hidden":"true"});n.prev().attr({"aria-selected":"false","aria-expanded":"false"});if(i.length&&n.length){n.prev().attr({tabIndex:-1,"aria-expanded":"false"})}else if(i.length){this.headers.filter((function(){return parseInt(t(this).attr("tabIndex"),10)===0})).attr("tabIndex",-1)}i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var n,r,s,o=this,a=0,l=t.css("box-sizing"),u=t.length&&(!e.length||t.index()<e.index()),f=this.options.animate||{},c=u&&f.down||f,h=function(){o._toggleComplete(i)};if(typeof c==="number"){s=c}if(typeof c==="string"){r=c}r=r||c.easing||f.easing;s=s||c.duration||f.duration;if(!e.length){return t.animate(this.showProps,s,r,h)}if(!t.length){return e.animate(this.hideProps,s,r,h)}n=t.show().outerHeight();e.animate(this.hideProps,{duration:s,easing:r,step:function(t,e){e.now=Math.round(t)}});t.hide().animate(this.showProps,{duration:s,easing:r,complete:h,step:function(t,i){i.now=Math.round(t);if(i.prop!=="height"){if(l==="content-box"){a+=i.now}}else if(o.options.heightStyle!=="content"){i.now=Math.round(n-e.outerHeight()-a);a=0}}})},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active");this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed");if(e.length){e.parent()[0].className=e.parent()[0].className}this._trigger("activate",null,t)}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Menu 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(43),i(21),i(18),i(48),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",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=false;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);var n=t(t.ui.safeActiveElement(this.document[0]));if(!this.mouseHandled&&i.not(".ui-state-disabled").length){this.select(e);if(!e.isPropagationStopped()){this.mouseHandled=true}if(i.has(".ui-menu").length){this.expand(e)}else if(!this.element.is(":focus")&&n.closest(".ui-menu").length){this.element.trigger("focus",[true]);if(this.active&&this.active.parents(".ui-menu").length===1){clearTimeout(this.timer)}}}},"mouseenter .ui-menu-item":function(e){if(this.previousFilter){return}var i=t(e.target).closest(".ui-menu-item"),n=t(e.currentTarget);if(i[0]!==n[0]){return}this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active");this.focus(e,n)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);if(!e){this.focus(t,i)}},blur:function(e){this._delay((function(){var i=!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]));if(i){this.collapseAll(e)}}))},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(t){if(this._closeOnDocumentClick(t)){this.collapseAll(t)}this.mouseHandled=false}})},_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);if(e.data("ui-menu-submenu-caret")){e.remove()}}))},_keydown:function(e){var i,n,r,s,o=true;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:if(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:o=false;n=this.previousFilter||"";s=false;r=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode);clearTimeout(this.filterTimer);if(r===n){s=true}else{r=n+r}i=this._filterMenuItems(r);i=s&&i.index(this.active.next())!==-1?this.active.nextAll(".ui-menu-item"):i;if(!i.length){r=String.fromCharCode(e.keyCode);i=this._filterMenuItems(r)}if(i.length){this.focus(e,i);this.previousFilter=r;this.filterTimer=this._delay((function(){delete this.previousFilter}),1e3)}else{delete this.previousFilter}}if(o){e.preventDefault()}},_activate:function(t){if(this.active&&!this.active.is(".ui-state-disabled")){if(this.active.children("[aria-haspopup='true']").length){this.expand(t)}else{this.select(t)}}},refresh:function(){var e,i,n,r,s,o=this,a=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length);n=l.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(),n=t("<span>").data("ui-menu-submenu-caret",true);o._addClass(n,"ui-menu-icon","ui-icon "+a);i.attr("aria-haspopup","true").prepend(n);e.attr("aria-labelledby",i.attr("id"))}));this._addClass(n,"ui-menu","ui-widget ui-widget-content ui-front");e=l.add(this.element);i=e.find(this.options.items);i.not(".ui-menu-item").each((function(){var e=t(this);if(o._isDivider(e)){o._addClass(e,"ui-menu-divider","ui-widget-content")}}));r=i.not(".ui-menu-item, .ui-menu-divider");s=r.children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()});this._addClass(r,"ui-menu-item")._addClass(s,"ui-menu-item-wrapper");i.filter(".ui-state-disabled").attr("aria-disabled","true");if(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(t==="icons"){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",String(t));this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,n,r;this.blur(t,t&&t.type==="focus");this._scrollIntoView(e);this.active=e.first();n=this.active.children(".ui-menu-item-wrapper");this._addClass(n,null,"ui-state-active");if(this.options.role){this.element.attr("aria-activedescendant",n.attr("id"))}r=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper");this._addClass(r,null,"ui-state-active");if(t&&t.type==="keydown"){this._close()}else{this.timer=this._delay((function(){this._close()}),this.delay)}i=e.children(".ui-menu");if(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,n,r,s,o,a;if(this._hasScroll()){i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0;n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0;r=e.offset().top-this.activeMenu.offset().top-i-n;s=this.activeMenu.scrollTop();o=this.activeMenu.height();a=e.outerHeight();if(r<0){this.activeMenu.scrollTop(s+r)}else if(r+a>o){this.activeMenu.scrollTop(s+r-o+a)}}},blur:function(t,e){if(!e){clearTimeout(this.timer)}if(!this.active){return}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);if(t.attr("aria-hidden")!=="true"){return}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 n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));if(!n.length){n=this.element}this._close(n);this.blur(e);this._removeClass(n.find(".ui-state-active"),null,"ui-state-active");this.activeMenu=n}),this.delay)},_close:function(t){if(!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);if(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();if(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 n;if(this.active){if(t==="first"||t==="last"){n=this.active[t==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1)}else{n=this.active[t+"All"](".ui-menu-item").eq(0)}}if(!n||!n.length||!this.active){n=this.activeMenu.find(this.options.items)[e]()}this.focus(i,n)},nextPage:function(e){var i,n,r;if(!this.active){this.next(e);return}if(this.isLastItem()){return}if(this._hasScroll()){n=this.active.offset().top;r=this.element.height();this.active.nextAll(".ui-menu-item").each((function(){i=t(this);return i.offset().top-n-r<0}));this.focus(e,i)}else{this.focus(e,this.activeMenu.find(this.options.items)[!this.active?"first":"last"]())}},previousPage:function(e){var i,n,r;if(!this.active){this.next(e);return}if(this.isFirstItem()){return}if(this._hasScroll()){n=this.active.offset().top;r=this.element.height();this.active.prevAll(".ui-menu-item").each((function(){i=t(this);return i.offset().top-n+r>0}));this.focus(e,i)}else{this.focus(e,this.activeMenu.find(this.options.items).first())}},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};if(!this.active.has(".ui-menu").length){this.collapseAll(e,true)}this._trigger("select",e,i)},_filterMenuItems:function(e){var i=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter((function(){return n.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))}))}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Autocomplete 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(50),i(43),i(21),i(18),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:false,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,n,r=this.element[0].nodeName.toLowerCase(),s=r==="textarea",o=r==="input";this.isMultiLine=s||!o&&this._isContentEditable(this.element);this.valueMethod=this.element[s||o?"val":"text"];this.isNewMenu=true;this._addClass("ui-autocomplete-input");this.element.attr("autocomplete","off");this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly")){e=true;n=true;i=true;return}e=false;n=false;i=false;var s=t.ui.keyCode;switch(r.keyCode){case s.PAGE_UP:e=true;this._move("previousPage",r);break;case s.PAGE_DOWN:e=true;this._move("nextPage",r);break;case s.UP:e=true;this._keyEvent("previous",r);break;case s.DOWN:e=true;this._keyEvent("next",r);break;case s.ENTER:if(this.menu.active){e=true;r.preventDefault();this.menu.select(r)}break;case s.TAB:if(this.menu.active){this.menu.select(r)}break;case s.ESCAPE:if(this.menu.element.is(":visible")){if(!this.isMultiLine){this._value(this.term)}this.close(r);r.preventDefault()}break;default:i=true;this._searchTimeout(r);break}},keypress:function(n){if(e){e=false;if(!this.isMultiLine||this.menu.element.is(":visible")){n.preventDefault()}return}if(i){return}var r=t.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move("previousPage",n);break;case r.PAGE_DOWN:this._move("nextPage",n);break;case r.UP:this._keyEvent("previous",n);break;case r.DOWN:this._keyEvent("next",n);break}},input:function(t){if(n){n=false;t.preventDefault();return}this._searchTimeout(t)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(t){if(this.cancelBlur){delete this.cancelBlur;return}clearTimeout(this.searching);this.close(t);this._change(t)}});this._initSource();this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance");this._addClass(this.menu.element,"ui-autocomplete","ui-front");this._on(this.menu.element,{mousedown:function(e){e.preventDefault();this.cancelBlur=true;this._delay((function(){delete this.cancelBlur;if(this.element[0]!==t.ui.safeActiveElement(this.document[0])){this.element.trigger("focus")}}))},menufocus:function(e,i){var n,r;if(this.isNewMenu){this.isNewMenu=false;if(e.originalEvent&&/^mouse/.test(e.originalEvent.type)){this.menu.blur();this.document.one("mousemove",(function(){t(e.target).trigger(e.originalEvent)}));return}}r=i.item.data("ui-autocomplete-item");if(false!==this._trigger("focus",e,{item:r})){if(e.originalEvent&&/^key/.test(e.originalEvent.type)){this._value(r.value)}}n=i.item.attr("aria-label")||r.value;if(n&&t.trim(n).length){this.liveRegion.children().hide();t("<div>").text(n).appendTo(this.liveRegion)}},menuselect:function(e,i){var n=i.item.data("ui-autocomplete-item"),r=this.previous;if(this.element[0]!==t.ui.safeActiveElement(this.document[0])){this.element.trigger("focus");this.previous=r;this._delay((function(){this.previous=r;this.selectedItem=n}))}if(false!==this._trigger("select",e,{item:n})){this._value(n.value)}this.term=this._value();this.close(e);this.selectedItem=n}});this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e);if(t==="source"){this._initSource()}if(t==="appendTo"){this.menu.element.appendTo(this._appendTo())}if(t==="disabled"&&e&&this.xhr){this.xhr.abort()}},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){if(!this._isEventTargetInWidget(t)){this.close()}},_appendTo:function(){var e=this.options.appendTo;if(e){e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)}if(!e||!e[0]){e=this.element.closest(".ui-front, dialog")}if(!e.length){e=this.document[0].body}return e},_initSource:function(){var e,i,n=this;if(t.isArray(this.options.source)){e=this.options.source;this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}}else if(typeof this.options.source==="string"){i=this.options.source;this.source=function(e,r){if(n.xhr){n.xhr.abort()}n.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){r(t)},error:function(){r([])}})}}else{this.source=this.options.source}},_searchTimeout:function(t){clearTimeout(this.searching);this.searching=this._delay((function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),n=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;if(!e||e&&!i&&!n){this.selectedItem=null;this.search(null,t)}}),this.options.delay)},search:function(t,e){t=t!=null?t:this._value();this.term=this._value();if(t.length<this.options.minLength){return this.close(e)}if(this._trigger("search",e)===false){return}return this._search(t)},_search:function(t){this.pending++;this._addClass("ui-autocomplete-loading");this.cancelSearch=false;this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy((function(t){if(e===this.requestIndex){this.__response(t)}this.pending--;if(!this.pending){this._removeClass("ui-autocomplete-loading")}}),this)},__response:function(t){if(t){t=this._normalize(t)}this._trigger("response",null,{content:t});if(!this.options.disabled&&t&&t.length&&!this.cancelSearch){this._suggest(t);this._trigger("open")}else{this._close()}},close:function(t){this.cancelSearch=true;this._close(t)},_close:function(t){this._off(this.document,"mousedown");if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.blur();this.isNewMenu=true;this._trigger("close",t)}},_change:function(t){if(this.previous!==this._value()){this._trigger("change",t,{item:this.selectedItem})}},_normalize:function(e){if(e.length&&e[0].label&&e[0].value){return e}return t.map(e,(function(e){if(typeof e==="string"){return{label:e,value:e}}return t.extend({},e,{label:e.label||e.value,value:e.value||e.label})}))},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e);this.isNewMenu=true;this.menu.refresh();i.show();this._resizeMenu();i.position(t.extend({of:this.element},this.options.position));if(this.options.autoFocus){this.menu.next()}this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,(function(t,i){n._renderItemData(e,i)}))},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<div>").text(i.label)).appendTo(e)},_move:function(t,e){if(!this.menu.element.is(":visible")){this.search(null,e);return}if(this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)){if(!this.isMultiLine){this._value(this.term)}this.menu.blur();return}this.menu[t](e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(t,e);e.preventDefault()}},_isContentEditable:function(t){if(!t.length){return false}var e=t.prop("contentEditable");if(e==="inherit"){return this._isContentEditable(t.parent())}return e==="true"}});t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,(function(t){return n.test(t.label||t.value||t)}))}});t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments);if(this.options.disabled||this.cancelSearch){return}if(e&&e.length){i=this.options.messages.results(e.length)}else{i=this.options.messages.noResults}this.liveRegion.children().hide();t("<div>").text(i).appendTo(this.liveRegion)}});return t.ui.autocomplete}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Controlgroup 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){var e=/ui-corner-([a-z]){2,6}/g;return t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:true,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar");this.refresh()},_destroy:function(){this._callChildMethod("destroy");this.childWidgets.removeData("ui-controlgroup-data");this.element.removeAttr("role");if(this.options.items.controlgroupLabel){this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()}},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,(function(n,r){var s;var o={};if(!r){return}if(n==="controlgroupLabel"){s=e.element.find(r);s.each((function(){var e=t(this);if(e.children(".ui-controlgroup-label-contents").length){return}e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}));e._addClass(s,null,"ui-widget ui-widget-content ui-state-default");i=i.concat(s.get());return}if(!t.fn[n]){return}if(e["_"+n+"Options"]){o=e["_"+n+"Options"]("middle")}else{o={classes:{}}}e.element.find(r).each((function(){var r=t(this);var s=r[n]("instance");var a=t.widget.extend({},o);if(n==="button"&&r.parent(".ui-spinner").length){return}if(!s){s=r[n]()[n]("instance")}if(s){a.classes=e._resolveClassesValues(a.classes,s)}r[n](a);var l=r[n]("widget");t.data(l[0],"ui-controlgroup-data",s?s:r[n]("instance"));i.push(l[0])}))}));this.childWidgets=t(t.unique(i));this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each((function(){var i=t(this),n=i.data("ui-controlgroup-data");if(n&&n[e]){n[e]()}}))},_updateCornerClass:function(t,e){var i="ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all";var n=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,i);this._addClass(t,null,n)},_buildSimpleOptions:function(t,e){var i=this.options.direction==="vertical";var n={classes:{}};n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t];return n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");e.classes["ui-spinner-up"]="";e.classes["ui-spinner-down"]="";return e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e=this.options.direction==="vertical";return{width:e?"auto":false,classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var r={};t.each(i,(function(s){var o=n.options.classes[s]||"";o=t.trim(o.replace(e,""));r[s]=(o+" "+i[s]).replace(/\s+/g," ")}));return r},_setOption:function(t,e){if(t==="direction"){this._removeClass("ui-controlgroup-"+this.options.direction)}this._super(t,e);if(t==="disabled"){this._callChildMethod(e?"disable":"enable");return}this.refresh()},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction);if(this.options.direction==="horizontal"){this._addClass(null,"ui-helper-clearfix")}this._initWidgets();e=this.childWidgets;if(this.options.onlyVisible){e=e.filter(":visible")}if(e.length){t.each(["first","last"],(function(t,n){var r=e[n]().data("ui-controlgroup-data");if(r&&i["_"+r.widgetName+"Options"]){var s=i["_"+r.widgetName+"Options"](e.length===1?"only":n);s.classes=i._resolveClassesValues(s.classes,r);r.element[r.widgetName](s)}else{i._updateCornerClass(e[n](),n)}}));this._callChildMethod("refresh")}}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Checkboxradio 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(45),i(54),i(44),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:true,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i;var n=this;var r=this._super()||{};this._readType();i=this.element.labels();this.label=t(i[i.length-1]);if(!this.label.length){t.error("No label found for checkboxradio widget")}this.originalLabel="";this.label.contents().not(this.element[0]).each((function(){n.originalLabel+=this.nodeType===3?t(this).text():this.outerHTML}));if(this.originalLabel){r.label=this.originalLabel}e=this.element[0].disabled;if(e!=null){r.disabled=e}return r},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler();if(this.options.disabled==null){this.options.disabled=this.element[0].disabled}this._setOption("disabled",this.options.disabled);this._addClass("ui-checkboxradio","ui-helper-hidden-accessible");this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget");if(this.type==="radio"){this._addClass(this.label,"ui-checkboxradio-radio-label")}if(this.options.label&&this.options.label!==this.originalLabel){this._updateLabel()}else if(this.originalLabel){this.options.label=this.originalLabel}this._enhance();if(t){this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active");if(this.icon){this._addClass(this.icon,null,"ui-state-hover")}}this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type;if(e!=="input"||!/radio|checkbox/.test(this.type)){t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)}},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e;var i=this.element[0].name;var n="input[name='"+t.ui.escapeSelector(i)+"']";if(!i){return t([])}if(this.form.length){e=t(this.form[0].elements).filter(n)}else{e=t(n).filter((function(){return t(this).form().length===0}))}return e.not(this.element)},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e);if(this.options.icon&&this.type==="checkbox"){this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e)}if(this.type==="radio"){this._getRadioGroup().each((function(){var e=t(this).checkboxradio("instance");if(e){e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")}}))}},_destroy:function(){this._unbindFormResetHandler();if(this.icon){this.icon.remove();this.iconSpace.remove()}},_setOption:function(t,e){if(t==="label"&&!e){return}this._super(t,e);if(t==="disabled"){this._toggleClass(this.label,null,"ui-state-disabled",e);this.element[0].disabled=e;return}this.refresh()},_updateIcon:function(e){var i="ui-icon ui-icon-background ";if(this.options.icon){if(!this.icon){this.icon=t("<span>");this.iconSpace=t("<span> </span>");this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")}if(this.type==="checkbox"){i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank";this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")}else{i+="ui-icon-blank"}this._addClass(this.icon,"ui-checkboxradio-icon",i);if(!e){this._removeClass(this.icon,null,"ui-icon-check ui-state-checked")}this.icon.prependTo(this.label).after(this.iconSpace)}else if(this.icon!==undefined){this.icon.remove();this.iconSpace.remove();delete this.icon}},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);if(this.icon){t=t.not(this.icon[0])}if(this.iconSpace){t=t.not(this.iconSpace[0])}t.remove();this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t);this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t);if(this.options.label!==null){this._updateLabel()}if(e!==this.options.disabled){this._setOptions({disabled:e})}}}]);return t.ui.checkboxradio}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Form Reset Mixin 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(41),i(15)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return 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(){this.form=this.element.form();if(!this.form.length){return}var t=this.form.data("ui-form-reset-instances")||[];if(!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){return}var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1);if(e.length){this.form.data("ui-form-reset-instances",e)}else{this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Button 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(52),i(53),i(43),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:true},_getCreateOptions:function(){var t,e=this._super()||{};this.isInput=this.element.is("input");t=this.element[0].disabled;if(t!=null){e.disabled=t}this.originalLabel=this.isInput?this.element.val():this.element.html();if(this.originalLabel){e.label=this.originalLabel}return e},_create:function(){if(!this.option.showLabel&!this.options.icon){this.options.showLabel=true}if(this.options.disabled==null){this.options.disabled=this.element[0].disabled||false}this.hasTitle=!!this.element.attr("title");if(this.options.label&&this.options.label!==this.originalLabel){if(this.isInput){this.element.val(this.options.label)}else{this.element.html(this.options.label)}}this._addClass("ui-button","ui-widget");this._setOption("disabled",this.options.disabled);this._enhance();if(this.element.is("a")){this._on({keyup:function(e){if(e.keyCode===t.ui.keyCode.SPACE){e.preventDefault();if(this.element[0].click){this.element[0].click()}else{this.element.trigger("click")}}}})}},_enhance:function(){if(!this.element.is("button")){this.element.attr("role","button")}if(this.options.icon){this._updateIcon("icon",this.options.icon);this._updateTooltip()}},_updateTooltip:function(){this.title=this.element.attr("title");if(!this.options.showLabel&&!this.title){this.element.attr("title",this.options.label)}},_updateIcon:function(e,i){var n=e!=="iconPosition",r=n?this.options.iconPosition:i,s=r==="top"||r==="bottom";if(!this.icon){this.icon=t("<span>");this._addClass(this.icon,"ui-button-icon","ui-icon");if(!this.options.showLabel){this._addClass("ui-button-icon-only")}}else if(n){this._removeClass(this.icon,null,this.options.icon)}if(n){this._addClass(this.icon,null,i)}this._attachIcon(r);if(s){this._addClass(this.icon,null,"ui-widget-icon-block");if(this.iconSpace){this.iconSpace.remove()}}else{if(!this.iconSpace){this.iconSpace=t("<span> </span>");this._addClass(this.iconSpace,"ui-button-icon-space")}this._removeClass(this.icon,null,"ui-wiget-icon-block");this._attachIconSpace(r)}},_destroy:function(){this.element.removeAttr("role");if(this.icon){this.icon.remove()}if(this.iconSpace){this.iconSpace.remove()}if(!this.hasTitle){this.element.removeAttr("title")}},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=t.showLabel===undefined?this.options.showLabel:t.showLabel,i=t.icon===undefined?this.options.icon:t.icon;if(!e&&!i){t.showLabel=true}this._super(t)},_setOption:function(t,e){if(t==="icon"){if(e){this._updateIcon(t,e)}else if(this.icon){this.icon.remove();if(this.iconSpace){this.iconSpace.remove()}}}if(t==="iconPosition"){this._updateIcon(t,e)}if(t==="showLabel"){this._toggleClass("ui-button-icon-only",null,!e);this._updateTooltip()}if(t==="label"){if(this.isInput){this.element.val(e)}else{this.element.html(e);if(this.icon){this._attachIcon(this.options.iconPosition);this._attachIconSpace(this.options.iconPosition)}}}this._super(t,e);if(t==="disabled"){this._toggleClass(null,"ui-state-disabled",e);this.element[0].disabled=e;if(e){this.element.blur()}}},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");if(t!==this.options.disabled){this._setOptions({disabled:t})}this._updateTooltip()}});if(t.uiBackCompat!==false){t.widget("ui.button",t.ui.button,{options:{text:true,icons:{primary:null,secondary:null}},_create:function(){if(this.options.showLabel&&!this.options.text){this.options.showLabel=this.options.text}if(!this.options.showLabel&&this.options.text){this.options.text=this.options.showLabel}if(!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)){if(this.options.icons.primary){this.options.icon=this.options.icons.primary}else{this.options.icon=this.options.icons.secondary;this.options.iconPosition="end"}}else if(this.options.icon){this.options.icons.primary=this.options.icon}this._super()},_setOption:function(t,e){if(t==="text"){this._super("showLabel",e);return}if(t==="showLabel"){this.options.text=e}if(t==="icon"){this.options.icons.primary=e}if(t==="icons"){if(e.primary){this._super("icon",e.primary);this._super("iconPosition","beginning")}else if(e.secondary){this._super("icon",e.secondary);this._super("iconPosition","end")}}this._superApply(arguments)}});t.fn.button=function(e){return function(){if(!this.length||this.length&&this[0].tagName!=="INPUT"||this.length&&this[0].tagName==="INPUT"&&(this.attr("type")!=="checkbox"&&this.attr("type")!=="radio")){return e.apply(this,arguments)}if(!t.ui.checkboxradio){t.error("Checkboxradio widget missing")}if(arguments.length===0){return this.checkboxradio({icon:false})}return this.checkboxradio.apply(this,arguments)}}(t.fn.button);t.fn.buttonset=function(){if(!t.ui.controlgroup){t.error("Controlgroup widget missing")}if(arguments[0]==="option"&&arguments[1]==="items"&&arguments[2]){return this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]])}if(arguments[0]==="option"&&arguments[1]==="items"){return this.controlgroup.apply(this,[arguments[0],"items.button"])}if(typeof arguments[0]==="object"&&arguments[0].items){arguments[0].items={button:arguments[0].items}}return this.controlgroup.apply(this,arguments)}}return t.ui.button}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Mouse 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(16),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){var e=false;t(document).on("mouseup",(function(){e=false}));return t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,(function(t){return e._mouseDown(t)})).on("click."+this.widgetName,(function(i){if(true===t.data(i.target,e.widgetName+".preventClickEvent")){t.removeData(i.target,e.widgetName+".preventClickEvent");i.stopImmediatePropagation();return false}}));this.started=false},_mouseDestroy:function(){this.element.off("."+this.widgetName);if(this._mouseMoveDelegate){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(i){if(e){return}this._mouseMoved=false;this._mouseStarted&&this._mouseUp(i);this._mouseDownEvent=i;var n=this,r=i.which===1,s=typeof this.options.cancel==="string"&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:false;if(!r||s||!this._mouseCapture(i)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=true}),this.options.delay)}if(this._mouseDistanceMet(i)&&this._mouseDelayMet(i)){this._mouseStarted=this._mouseStart(i)!==false;if(!this._mouseStarted){i.preventDefault();return true}}if(true===t.data(i.target,this.widgetName+".preventClickEvent")){t.removeData(i.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(t){return n._mouseMove(t)};this._mouseUpDelegate=function(t){return n._mouseUp(t)};this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate);i.preventDefault();e=true;return true},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button){return this._mouseUp(e)}else if(!e.which){if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey){this.ignoreMissingWhich=true}else if(!this.ignoreMissingWhich){return this._mouseUp(e)}}}if(e.which||e.button){this._mouseMoved=true}if(this._mouseStarted){this._mouseDrag(e);return e.preventDefault()}if(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)){this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==false;this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)}return!this._mouseStarted},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(i.target===this._mouseDownEvent.target){t.data(i.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(i)}if(this._mouseDelayTimer){clearTimeout(this._mouseDelayTimer);delete this._mouseDelayTimer}this.ignoreMissingWhich=false;e=false;i.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Draggable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(56),i(22),i(17),i(18),i(19),i(46),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false,drag:null,start:null,stop:null},_create:function(){if(this.options.helper==="original"){this._setPositionRelative()}if(this.options.addClasses){this._addClass("ui-draggable")}this._setHandleClassName();this._mouseInit()},_setOption:function(t,e){this._super(t,e);if(t==="handle"){this._removeHandleClassName();this._setHandleClassName()}},_destroy:function(){if((this.helper||this.element).is(".ui-draggable-dragging")){this.destroyOnClear=true;return}this._removeHandleClassName();this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;if(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0){return false}this.handle=this._getHandle(e);if(!this.handle){return false}this._blurActiveElement(e);this._blockFrames(i.iframeFix===true?"iframe":i.iframeFix);return true},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map((function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]}))},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]),n=t(e.target);if(n.closest(i).length){return}t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;this.helper=this._createHelper(e);this._addClass(this.helper,"ui-draggable-dragging");this._cacheHelperProportions();if(t.ui.ddmanager){t.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent(true);this.offsetParent=this.helper.offsetParent();this.hasFixedAncestor=this.helper.parents().filter((function(){return t(this).css("position")==="fixed"})).length>0;this.positionAbs=this.element.offset();this._refreshOffsets(e);this.originalPosition=this.position=this._generatePosition(e,false);this.originalPageX=e.pageX;this.originalPageY=e.pageY;i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt);this._setContainment();if(this._trigger("start",e)===false){this._clear();return false}this._cacheHelperProportions();if(t.ui.ddmanager&&!i.dropBehaviour){t.ui.ddmanager.prepareOffsets(this,e)}this._mouseDrag(e,true);if(t.ui.ddmanager){t.ui.ddmanager.dragStart(this,e)}return true},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:false,parent:this._getParentOffset(),relative:this._getRelativeOffset()};this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor){this.offset.parent=this._getParentOffset()}this.position=this._generatePosition(e,true);this.positionAbs=this._convertPositionTo("absolute");if(!i){var n=this._uiHash();if(this._trigger("drag",e,n)===false){this._mouseUp(new t.Event("mouseup",e));return false}this.position=n.position}this.helper[0].style.left=this.position.left+"px";this.helper[0].style.top=this.position.top+"px";if(t.ui.ddmanager){t.ui.ddmanager.drag(this,e)}return false},_mouseStop:function(e){var i=this,n=false;if(t.ui.ddmanager&&!this.options.dropBehaviour){n=t.ui.ddmanager.drop(this,e)}if(this.dropped){n=this.dropped;this.dropped=false}if(this.options.revert==="invalid"&&!n||this.options.revert==="valid"&&n||this.options.revert===true||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)){t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){if(i._trigger("stop",e)!==false){i._clear()}}))}else{if(this._trigger("stop",e)!==false){this._clear()}}return false},_mouseUp:function(e){this._unblockFrames();if(t.ui.ddmanager){t.ui.ddmanager.dragStop(this,e)}if(this.handleElement.is(e.target)){this.element.trigger("focus")}return t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp(new t.Event("mouseup",{target:this.element[0]}))}else{this._clear()}return this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:true},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element;this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper),r=n?t(i.helper.apply(this.element[0],[e])):i.helper==="clone"?this.element.clone().removeAttr("id"):this.element;if(!r.parents("body").length){r.appendTo(i.appendTo==="parent"?this.element[0].parentNode:i.appendTo)}if(n&&r[0]===this.element[0]){this._setPositionRelative()}if(r[0]!==this.element[0]&&!/(fixed|absolute)/.test(r.css("position"))){r.css("position","absolute")}return r},_setPositionRelative:function(){if(!/^(?:r|a|f)/.test(this.element.css("position"))){this.element[0].style.position="relative"}},_adjustOffsetFromHelper:function(e){if(typeof e==="string"){e=e.split(" ")}if(t.isArray(e)){e={left:+e[0],top:+e[1]||0}}if("left"in e){this.offset.click.left=e.left+this.margins.left}if("right"in e){this.offset.click.left=this.helperProportions.width-e.right+this.margins.left}if("top"in e){this.offset.click.top=e.top+this.margins.top}if("bottom"in e){this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top}},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];if(this.cssPosition==="absolute"&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])){e.left+=this.scrollParent.scrollLeft();e.top+=this.scrollParent.scrollTop()}if(this._isRootNode(this.offsetParent[0])){e={top:0,left:0}}return{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition!=="relative"){return{top:0,left:0}}var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(!e?this.scrollParent.scrollTop():0),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(!e?this.scrollParent.scrollLeft():0)}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options,s=this.document[0];this.relativeContainer=null;if(!r.containment){this.containment=null;return}if(r.containment==="window"){this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(r.containment==="document"){this.containment=[0,0,t(s).width()-this.helperProportions.width-this.margins.left,(t(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];return}if(r.containment.constructor===Array){this.containment=r.containment;return}if(r.containment==="parent"){r.containment=this.helper[0].parentNode}i=t(r.containment);n=i[0];if(!n){return}e=/(scroll|auto)/.test(i.css("overflow"));this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relativeContainer=i},_convertPositionTo:function(t,e){if(!e){e=this.position}var i=t==="absolute"?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-(this.cssPosition==="fixed"?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-(this.cssPosition==="fixed"?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,r,s,o=this.options,a=this._isRootNode(this.scrollParent[0]),l=t.pageX,u=t.pageY;if(!a||!this.offset.scroll){this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}}if(e){if(this.containment){if(this.relativeContainer){n=this.relativeContainer.offset();i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]}else{i=this.containment}if(t.pageX-this.offset.click.left<i[0]){l=i[0]+this.offset.click.left}if(t.pageY-this.offset.click.top<i[1]){u=i[1]+this.offset.click.top}if(t.pageX-this.offset.click.left>i[2]){l=i[2]+this.offset.click.left}if(t.pageY-this.offset.click.top>i[3]){u=i[3]+this.offset.click.top}}if(o.grid){r=o.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY;u=i?r-this.offset.click.top>=i[1]||r-this.offset.click.top>i[3]?r:r-this.offset.click.top>=i[1]?r-o.grid[1]:r+o.grid[1]:r;s=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX;l=i?s-this.offset.click.left>=i[0]||s-this.offset.click.left>i[2]?s:s-this.offset.click.left>=i[0]?s-o.grid[0]:s+o.grid[0]:s}if(o.axis==="y"){l=this.originalPageX}if(o.axis==="x"){u=this.originalPageY}}return{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging");if(this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false;if(this.destroyOnClear){this.destroy()}},_trigger:function(e,i,n){n=n||this._uiHash();t.ui.plugin.call(this,e,[i,n,this],true);if(/^(drag|start|stop)/.test(e)){this.positionAbs=this._convertPositionTo("absolute");n.offset=this.positionAbs}return t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var r=t.extend({},i,{item:n.element});n.sortables=[];t(n.options.connectToSortable).each((function(){var i=t(this).sortable("instance");if(i&&!i.options.disabled){n.sortables.push(i);i.refreshPositions();i._trigger("activate",e,r)}}))},stop:function(e,i,n){var r=t.extend({},i,{item:n.element});n.cancelHelperRemoval=false;t.each(n.sortables,(function(){var t=this;if(t.isOver){t.isOver=0;n.cancelHelperRemoval=true;t.cancelHelperRemoval=false;t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")};t._mouseStop(e);t.options.helper=t.options._helper}else{t.cancelHelperRemoval=true;t._trigger("deactivate",e,r)}}))},drag:function(e,i,n){t.each(n.sortables,(function(){var r=false,s=this;s.positionAbs=n.positionAbs;s.helperProportions=n.helperProportions;s.offset.click=n.offset.click;if(s._intersectsWith(s.containerCache)){r=true;t.each(n.sortables,(function(){this.positionAbs=n.positionAbs;this.helperProportions=n.helperProportions;this.offset.click=n.offset.click;if(this!==s&&this._intersectsWith(this.containerCache)&&t.contains(s.element[0],this.element[0])){r=false}return r}))}if(r){if(!s.isOver){s.isOver=1;n._parent=i.helper.parent();s.currentItem=i.helper.appendTo(s.element).data("ui-sortable-item",true);s.options._helper=s.options.helper;s.options.helper=function(){return i.helper[0]};e.target=s.currentItem[0];s._mouseCapture(e,true);s._mouseStart(e,true,true);s.offset.click.top=n.offset.click.top;s.offset.click.left=n.offset.click.left;s.offset.parent.left-=n.offset.parent.left-s.offset.parent.left;s.offset.parent.top-=n.offset.parent.top-s.offset.parent.top;n._trigger("toSortable",e);n.dropped=s.element;t.each(n.sortables,(function(){this.refreshPositions()}));n.currentItem=n.element;s.fromOutside=n}if(s.currentItem){s._mouseDrag(e);i.position=s.position}}else{if(s.isOver){s.isOver=0;s.cancelHelperRemoval=true;s.options._revert=s.options.revert;s.options.revert=false;s._trigger("out",e,s._uiHash(s));s._mouseStop(e,true);s.options.revert=s.options._revert;s.options.helper=s.options._helper;if(s.placeholder){s.placeholder.remove()}i.helper.appendTo(n._parent);n._refreshOffsets(e);i.position=n._generatePosition(e,true);n._trigger("fromSortable",e);n.dropped=false;t.each(n.sortables,(function(){this.refreshPositions()}))}}}))}});t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var r=t("body"),s=n.options;if(r.css("cursor")){s._cursor=r.css("cursor")}r.css("cursor",s.cursor)},stop:function(e,i,n){var r=n.options;if(r._cursor){t("body").css("cursor",r._cursor)}}});t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var r=t(i.helper),s=n.options;if(r.css("opacity")){s._opacity=r.css("opacity")}r.css("opacity",s.opacity)},stop:function(e,i,n){var r=n.options;if(r._opacity){t(i.helper).css("opacity",r._opacity)}}});t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){if(!i.scrollParentNotHidden){i.scrollParentNotHidden=i.helper.scrollParent(false)}if(i.scrollParentNotHidden[0]!==i.document[0]&&i.scrollParentNotHidden[0].tagName!=="HTML"){i.overflowOffset=i.scrollParentNotHidden.offset()}},drag:function(e,i,n){var r=n.options,s=false,o=n.scrollParentNotHidden[0],a=n.document[0];if(o!==a&&o.tagName!=="HTML"){if(!r.axis||r.axis!=="x"){if(n.overflowOffset.top+o.offsetHeight-e.pageY<r.scrollSensitivity){o.scrollTop=s=o.scrollTop+r.scrollSpeed}else if(e.pageY-n.overflowOffset.top<r.scrollSensitivity){o.scrollTop=s=o.scrollTop-r.scrollSpeed}}if(!r.axis||r.axis!=="y"){if(n.overflowOffset.left+o.offsetWidth-e.pageX<r.scrollSensitivity){o.scrollLeft=s=o.scrollLeft+r.scrollSpeed}else if(e.pageX-n.overflowOffset.left<r.scrollSensitivity){o.scrollLeft=s=o.scrollLeft-r.scrollSpeed}}}else{if(!r.axis||r.axis!=="x"){if(e.pageY-t(a).scrollTop()<r.scrollSensitivity){s=t(a).scrollTop(t(a).scrollTop()-r.scrollSpeed)}else if(t(window).height()-(e.pageY-t(a).scrollTop())<r.scrollSensitivity){s=t(a).scrollTop(t(a).scrollTop()+r.scrollSpeed)}}if(!r.axis||r.axis!=="y"){if(e.pageX-t(a).scrollLeft()<r.scrollSensitivity){s=t(a).scrollLeft(t(a).scrollLeft()-r.scrollSpeed)}else if(t(window).width()-(e.pageX-t(a).scrollLeft())<r.scrollSensitivity){s=t(a).scrollLeft(t(a).scrollLeft()+r.scrollSpeed)}}}if(s!==false&&t.ui.ddmanager&&!r.dropBehaviour){t.ui.ddmanager.prepareOffsets(n,e)}}});t.ui.plugin.add("draggable","snap",{start:function(e,i,n){var r=n.options;n.snapElements=[];t(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each((function(){var e=t(this),i=e.offset();if(this!==n.element[0]){n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})}}))},drag:function(e,i,n){var r,s,o,a,l,u,f,c,h,p,d=n.options,g=d.snapTolerance,m=i.offset.left,v=m+n.helperProportions.width,y=i.offset.top,_=y+n.helperProportions.height;for(h=n.snapElements.length-1;h>=0;h--){l=n.snapElements[h].left-n.margins.left;u=l+n.snapElements[h].width;f=n.snapElements[h].top-n.margins.top;c=f+n.snapElements[h].height;if(v<l-g||m>u+g||_<f-g||y>c+g||!t.contains(n.snapElements[h].item.ownerDocument,n.snapElements[h].item)){if(n.snapElements[h].snapping){n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[h].item}))}n.snapElements[h].snapping=false;continue}if(d.snapMode!=="inner"){r=Math.abs(f-_)<=g;s=Math.abs(c-y)<=g;o=Math.abs(l-v)<=g;a=Math.abs(u-m)<=g;if(r){i.position.top=n._convertPositionTo("relative",{top:f-n.helperProportions.height,left:0}).top}if(s){i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top}if(o){i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left}if(a){i.position.left=n._convertPositionTo("relative",{top:0,left:u}).left}}p=r||s||o||a;if(d.snapMode!=="outer"){r=Math.abs(f-y)<=g;s=Math.abs(c-_)<=g;o=Math.abs(l-m)<=g;a=Math.abs(u-v)<=g;if(r){i.position.top=n._convertPositionTo("relative",{top:f,left:0}).top}if(s){i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top}if(o){i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left}if(a){i.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left}}if(!n.snapElements[h].snapping&&(r||s||o||a||p)){n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[h].item}))}n.snapElements[h].snapping=r||s||o||a||p}}});t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var r,s=n.options,o=t.makeArray(t(s.stack)).sort((function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)}));if(!o.length){return}r=parseInt(t(o[0]).css("zIndex"),10)||0;t(o).each((function(e){t(this).css("zIndex",r+e)}));this.css("zIndex",r+o.length)}});t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var r=t(i.helper),s=n.options;if(r.css("zIndex")){s._zIndex=r.css("zIndex")}r.css("zIndex",s.zIndex)},stop:function(e,i,n){var r=n.options;if(r._zIndex){t(i.helper).css("zIndex",r._zIndex)}}});return t.ui.draggable}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Resizable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(56),i(23),i(17),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if(t(e).css("overflow")==="hidden"){return false}var n=i&&i==="left"?"scrollLeft":"scrollTop",r=false;if(e[n]>0){return true}e[n]=1;r=e[n]>0;e[n]=0;return r},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable");t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)){this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance"));this.elementIsWrapper=true;e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")};this.element.css(e);this.originalElement.css("margin",0);this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css(e);this._proportionallyResize()}this._setupHandles();if(i.autoHide){t(this.element).on("mouseenter",(function(){if(i.disabled){return}n._removeClass("ui-resizable-autohide");n._handles.show()})).on("mouseleave",(function(){if(i.disabled){return}if(!n.resizing){n._addClass("ui-resizable-autohide");n._handles.hide()}}))}this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){i(this.element);e=this.element;this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e);e.remove()}this.originalElement.css("resize",this.originalResizeStyle);i(this.originalElement);return this},_setOption:function(t,e){this._super(t,e);switch(t){case"handles":this._removeHandles();this._setupHandles();break;default:break}},_setupHandles:function(){var e=this.options,i,n,r,s,o,a=this;this.handles=e.handles||(!t(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});this._handles=t();if(this.handles.constructor===String){if(this.handles==="all"){this.handles="n,e,s,w,se,sw,ne,nw"}r=this.handles.split(",");this.handles={};for(n=0;n<r.length;n++){i=t.trim(r[n]);s="ui-resizable-"+i;o=t("<div>");this._addClass(o,"ui-resizable-handle "+s);o.css({zIndex:e.zIndex});this.handles[i]=".ui-resizable-"+i;this.element.append(o)}}this._renderAxis=function(e){var i,n,r,s;e=e||this.element;for(i in this.handles){if(this.handles[i].constructor===String){this.handles[i]=this.element.children(this.handles[i]).first().show()}else if(this.handles[i].jquery||this.handles[i].nodeType){this.handles[i]=t(this.handles[i]);this._on(this.handles[i],{mousedown:a._mouseDown})}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)){n=t(this.handles[i],this.element);s=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth();r=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");e.css(r,s);this._proportionallyResize()}this._handles=this._handles.add(this.handles[i])}};this._renderAxis(this.element);this._handles=this._handles.add(this.element.find(".ui-resizable-handle"));this._handles.disableSelection();this._handles.on("mouseover",(function(){if(!a.resizing){if(this.className){o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}a.axis=o&&o[1]?o[1]:"se"}}));if(e.autoHide){this._handles.hide();this._addClass("ui-resizable-autohide")}},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,n,r=false;for(i in this.handles){n=t(this.handles[i])[0];if(n===e.target||t.contains(n,e.target)){r=true}}return!this.options.disabled&&r},_mouseStart:function(e){var i,n,r,s=this.options,o=this.element;this.resizing=true;this._renderProxy();i=this._num(this.helper.css("left"));n=this._num(this.helper.css("top"));if(s.containment){i+=t(s.containment).scrollLeft()||0;n+=t(s.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:i,top:n};this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()};this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()};this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()};this.originalPosition={left:i,top:n};this.originalMousePosition={left:e.pageX,top:e.pageY};this.aspectRatio=typeof s.aspectRatio==="number"?s.aspectRatio:this.originalSize.width/this.originalSize.height||1;r=t(".ui-resizable-"+this.axis).css("cursor");t("body").css("cursor",r==="auto"?this.axis+"-resize":r);this._addClass("ui-resizable-resizing");this._propagate("start",e);return true},_mouseDrag:function(e){var i,n,r=this.originalMousePosition,s=this.axis,o=e.pageX-r.left||0,a=e.pageY-r.top||0,l=this._change[s];this._updatePrevProperties();if(!l){return false}i=l.apply(this,[e,o,a]);this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){i=this._updateRatio(i,e)}i=this._respectSize(i,e);this._updateCache(i);this._propagate("resize",e);n=this._applyChanges();if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}if(!t.isEmptyObject(n)){this._updatePrevProperties();this._trigger("resize",e,this.ui());this._applyChanges()}return false},_mouseStop:function(e){this.resizing=false;var i,n,r,s,o,a,l,u=this.options,f=this;if(this._helper){i=this._proportionallyResizeElements;n=i.length&&/textarea/i.test(i[0].nodeName);r=n&&this._hasScroll(i[0],"left")?0:f.sizeDiff.height;s=n?0:f.sizeDiff.width;o={width:f.helper.width()-s,height:f.helper.height()-r};a=parseFloat(f.element.css("left"))+(f.position.left-f.originalPosition.left)||null;l=parseFloat(f.element.css("top"))+(f.position.top-f.originalPosition.top)||null;if(!u.animate){this.element.css(t.extend(o,{top:l,left:a}))}f.helper.height(f.size.height);f.helper.width(f.size.width);if(this._helper&&!u.animate){this._proportionallyResize()}}t("body").css("cursor","auto");this._removeClass("ui-resizable-resizing");this._propagate("stop",e);if(this._helper){this.helper.remove()}return false},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left};this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};if(this.position.top!==this.prevPosition.top){t.top=this.position.top+"px"}if(this.position.left!==this.prevPosition.left){t.left=this.position.left+"px"}if(this.size.width!==this.prevSize.width){t.width=this.size.width+"px"}if(this.size.height!==this.prevSize.height){t.height=this.size.height+"px"}this.helper.css(t);return t},_updateVirtualBoundaries:function(t){var e,i,n,r,s,o=this.options;s={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:Infinity,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:Infinity};if(this._aspectRatio||t){e=s.minHeight*this.aspectRatio;n=s.minWidth/this.aspectRatio;i=s.maxHeight*this.aspectRatio;r=s.maxWidth/this.aspectRatio;if(e>s.minWidth){s.minWidth=e}if(n>s.minHeight){s.minHeight=n}if(i<s.maxWidth){s.maxWidth=i}if(r<s.maxHeight){s.maxHeight=r}}this._vBoundaries=s},_updateCache:function(t){this.offset=this.helper.offset();if(this._isNumber(t.left)){this.position.left=t.left}if(this._isNumber(t.top)){this.position.top=t.top}if(this._isNumber(t.height)){this.size.height=t.height}if(this._isNumber(t.width)){this.size.width=t.width}},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;if(this._isNumber(t.height)){t.width=t.height*this.aspectRatio}else if(this._isNumber(t.width)){t.height=t.width/this.aspectRatio}if(n==="sw"){t.left=e.left+(i.width-t.width);t.top=null}if(n==="nw"){t.top=e.top+(i.height-t.height);t.left=e.left+(i.width-t.width)}return t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,r=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,s=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,u=/sw|nw|w/.test(i),f=/nw|ne|n/.test(i);if(s){t.width=e.minWidth}if(o){t.height=e.minHeight}if(n){t.width=e.maxWidth}if(r){t.height=e.maxHeight}if(s&&u){t.left=a-e.minWidth}if(n&&u){t.left=a-e.maxWidth}if(o&&f){t.top=l-e.minHeight}if(r&&f){t.top=l-e.maxHeight}if(!t.width&&!t.height&&!t.left&&t.top){t.top=null}else if(!t.width&&!t.height&&!t.top&&t.left){t.left=null}return t},_getPaddingPlusBorderDimensions:function(t){var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],r=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];for(;e<4;e++){i[e]=parseFloat(n[e])||0;i[e]+=parseFloat(r[e])||0}return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(!this._proportionallyResizeElements.length){return}var t,e=0,i=this.helper||this.element;for(;e<this._proportionallyResizeElements.length;e++){t=this._proportionallyResizeElements[e];if(!this.outerDimensions){this.outerDimensions=this._getPaddingPlusBorderDimensions(t)}t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset();if(this._helper){this.helper=this.helper||t("<div style='overflow:hidden;'></div>");this._addClass(this.helper,this._helper);this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,n=this.originalPosition;return{left:n.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize,r=this.originalPosition;return{top:r.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]);e!=="resize"&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,r=i._proportionallyResizeElements,s=r.length&&/textarea/i.test(r[0].nodeName),o=s&&i._hasScroll(r[0],"left")?0:i.sizeDiff.height,a=s?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-o},u=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,f=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,f&&u?{top:f,left:u}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};if(r&&r.length){t(r[0]).css({width:n.width,height:n.height})}i._updateCache(n);i._propagate("resize",e)}})}});t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,r,s,o,a,l=t(this).resizable("instance"),u=l.options,f=l.element,c=u.containment,h=c instanceof t?c.get(0):/parent/.test(c)?f.parent().get(0):c;if(!h){return}l.containerElement=t(h);if(/document/.test(c)||c===document){l.containerOffset={left:0,top:0};l.containerPosition={left:0,top:0};l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}}else{e=t(h);i=[];t(["Top","Right","Left","Bottom"]).each((function(t,n){i[t]=l._num(e.css("padding"+n))}));l.containerOffset=e.offset();l.containerPosition=e.position();l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]};n=l.containerOffset;r=l.containerSize.height;s=l.containerSize.width;o=l._hasScroll(h,"left")?h.scrollWidth:s;a=l._hasScroll(h)?h.scrollHeight:r;l.parentData={element:h,left:n.left,top:n.top,width:o,height:a}}},resize:function(e){var i,n,r,s,o=t(this).resizable("instance"),a=o.options,l=o.containerOffset,u=o.position,f=o._aspectRatio||e.shiftKey,c={top:0,left:0},h=o.containerElement,p=true;if(h[0]!==document&&/static/.test(h.css("position"))){c=l}if(u.left<(o._helper?l.left:0)){o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-c.left);if(f){o.size.height=o.size.width/o.aspectRatio;p=false}o.position.left=a.helper?l.left:0}if(u.top<(o._helper?l.top:0)){o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top);if(f){o.size.width=o.size.height*o.aspectRatio;p=false}o.position.top=o._helper?l.top:0}r=o.containerElement.get(0)===o.element.parent().get(0);s=/relative|absolute/.test(o.containerElement.css("position"));if(r&&s){o.offset.left=o.parentData.left+o.position.left;o.offset.top=o.parentData.top+o.position.top}else{o.offset.left=o.element.offset().left;o.offset.top=o.element.offset().top}i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-c.left:o.offset.left-l.left));n=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-c.top:o.offset.top-l.top));if(i+o.size.width>=o.parentData.width){o.size.width=o.parentData.width-i;if(f){o.size.height=o.size.width/o.aspectRatio;p=false}}if(n+o.size.height>=o.parentData.height){o.size.height=o.parentData.height-n;if(f){o.size.width=o.size.height*o.aspectRatio;p=false}}if(!p){o.position.left=o.prevPosition.left;o.position.top=o.prevPosition.top;o.size.width=o.prevSize.width;o.size.height=o.prevSize.height}},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,r=e.containerPosition,s=e.containerElement,o=t(e.helper),a=o.offset(),l=o.outerWidth()-e.sizeDiff.width,u=o.outerHeight()-e.sizeDiff.height;if(e._helper&&!i.animate&&/relative/.test(s.css("position"))){t(this).css({left:a.left-r.left-n.left,width:l,height:u})}if(e._helper&&!i.animate&&/static/.test(s.css("position"))){t(this).css({left:a.left-r.left-n.left,width:l,height:u})}}});t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each((function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})}))},resize:function(e,i){var n=t(this).resizable("instance"),r=n.options,s=n.originalSize,o=n.originalPosition,a={height:n.size.height-s.height||0,width:n.size.width-s.width||0,top:n.position.top-o.top||0,left:n.position.left-o.left||0};t(r.alsoResize).each((function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),r={},s=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(s,(function(t,e){var i=(n[e]||0)+(a[e]||0);if(i&&i>=0){r[e]=i||null}}));e.css(r)}))},stop:function(){t(this).removeData("ui-resizable-alsoresize")}});t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0});e._addClass(e.ghost,"ui-resizable-ghost");if(t.uiBackCompat!==false&&typeof e.options.ghost==="string"){e.ghost.addClass(this.options.ghost)}e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(){var e=t(this).resizable("instance");if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,r=i.size,s=i.originalSize,o=i.originalPosition,a=i.axis,l=typeof n.grid==="number"?[n.grid,n.grid]:n.grid,u=l[0]||1,f=l[1]||1,c=Math.round((r.width-s.width)/u)*u,h=Math.round((r.height-s.height)/f)*f,p=s.width+c,d=s.height+h,g=n.maxWidth&&n.maxWidth<p,m=n.maxHeight&&n.maxHeight<d,v=n.minWidth&&n.minWidth>p,y=n.minHeight&&n.minHeight>d;n.grid=l;if(v){p+=u}if(y){d+=f}if(g){p-=u}if(m){d-=f}if(/^(se|s|e)$/.test(a)){i.size.width=p;i.size.height=d}else if(/^(ne)$/.test(a)){i.size.width=p;i.size.height=d;i.position.top=o.top-h}else if(/^(sw)$/.test(a)){i.size.width=p;i.size.height=d;i.position.left=o.left-c}else{if(d-f<=0||p-u<=0){e=i._getPaddingPlusBorderDimensions(this)}if(d-f>0){i.size.height=d;i.position.top=o.top-h}else{d=f-e.height;i.size.height=d;i.position.top=o.top+s.height-d}if(p-u>0){i.size.width=p;i.position.left=o.left-c}else{p=u-e.width;i.size.width=p;i.position.left=o.left+s.width-p}}}});return t.ui.resizable}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Dialog 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(55),i(57),i(56),i(58),i(40),i(43),i(21),i(18),i(19),i(47),i(48),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:true,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:true,closeText:"Close",draggable:true,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;if(i<0){t(this).css("top",e.top-i)}}},resizable:true,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},resizableRelatedOptions:{maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height};this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)};this.originalTitle=this.element.attr("title");if(this.options.title==null&&this.originalTitle!=null){this.options.title=this.originalTitle}if(this.options.disabled){this.options.disabled=false}this._createWrapper();this.element.show().removeAttr("title").appendTo(this.uiDialog);this._addClass("ui-dialog-content","ui-widget-content");this._createTitlebar();this._createButtonPane();if(this.options.draggable&&t.fn.draggable){this._makeDraggable()}if(this.options.resizable&&t.fn.resizable){this._makeResizable()}this._isOpen=false;this._trackFocus()},_init:function(){if(this.options.autoOpen){this.open()}},_appendTo:function(){var e=this.options.appendTo;if(e&&(e.jquery||e.nodeType)){return t(e)}return this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance();this._destroyOverlay();this.element.removeUniqueId().css(this.originalCss).detach();this.uiDialog.remove();if(this.originalTitle){this.element.attr("title",this.originalTitle)}t=e.parent.children().eq(e.index);if(t.length&&t[0]!==this.element[0]){t.before(this.element)}else{e.parent.append(this.element)}},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;if(!this._isOpen||this._trigger("beforeClose",e)===false){return}this._isOpen=false;this._focusedElement=null;this._destroyOverlay();this._untrackInstance();if(!this.opener.filter(":focusable").trigger("focus").length){t.ui.safeBlur(t.ui.safeActiveElement(this.document[0]))}this._hide(this.uiDialog,this.options.hide,(function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var n=false,r=this.uiDialog.siblings(".ui-front:visible").map((function(){return+t(this).css("z-index")})).get(),s=Math.max.apply(null,r);if(s>=+this.uiDialog.css("z-index")){this.uiDialog.css("z-index",s+1);n=true}if(n&&!i){this._trigger("focus",e)}return n},open:function(){var e=this;if(this._isOpen){if(this._moveToTop()){this._focusTabbable()}return}this._isOpen=true;this.opener=t(t.ui.safeActiveElement(this.document[0]));this._size();this._position();this._createOverlay();this._moveToTop(null,true);if(this.overlay){this.overlay.css("z-index",this.uiDialog.css("z-index")-1)}this._show(this.uiDialog,this.options.show,(function(){e._focusTabbable();e._trigger("focus")}));this._makeFocusTarget();this._trigger("open")},_focusTabbable:function(){var t=this._focusedElement;if(!t){t=this.element.find("[autofocus]")}if(!t.length){t=this.element.find(":tabbable")}if(!t.length){t=this.uiDialogButtonPane.find(":tabbable")}if(!t.length){t=this.uiDialogTitlebarClose.filter(":tabbable")}if(!t.length){t=this.uiDialog}t.eq(0).trigger("focus")},_keepFocus:function(e){function i(){var e=t.ui.safeActiveElement(this.document[0]),i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);if(!i){this._focusTabbable()}}e.preventDefault();i.call(this);this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo());this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front");this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE){e.preventDefault();this.close(e);return}if(e.keyCode!==t.ui.keyCode.TAB||e.isDefaultPrevented()){return}var i=this.uiDialog.find(":tabbable"),n=i.filter(":first"),r=i.filter(":last");if((e.target===r[0]||e.target===this.uiDialog[0])&&!e.shiftKey){this._delay((function(){n.trigger("focus")}));e.preventDefault()}else if((e.target===n[0]||e.target===this.uiDialog[0])&&e.shiftKey){this._delay((function(){r.trigger("focus")}));e.preventDefault()}},mousedown:function(t){if(this._moveToTop(t)){this._focusTabbable()}}});if(!this.element.find("[aria-describedby]").length){this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})}},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>");this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix");this._on(this.uiDialogTitlebar,{mousedown:function(e){if(!t(e.target).closest(".ui-dialog-titlebar-close")){this.uiDialog.trigger("focus")}}});this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:false}).appendTo(this.uiDialogTitlebar);this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close");this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault();this.close(t)}});e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(e,"ui-dialog-title");this._title(e);this.uiDialogTitlebar.prependTo(this.uiDialog);this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){if(this.options.title){t.text(this.options.title)}else{t.html(" ")}},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>");this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix");this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane);this._addClass(this.uiButtonSet,"ui-dialog-buttonset");this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;this.uiDialogButtonPane.remove();this.uiButtonSet.empty();if(t.isEmptyObject(i)||t.isArray(i)&&!i.length){this._removeClass(this.uiDialog,"ui-dialog-buttons");return}t.each(i,(function(i,n){var r,s;n=t.isFunction(n)?{click:n,text:i}:n;n=t.extend({type:"button"},n);r=n.click;s={icon:n.icon,iconPosition:n.iconPosition,showLabel:n.showLabel,icons:n.icons,text:n.text};delete n.click;delete n.icon;delete n.iconPosition;delete n.showLabel;delete n.icons;if(typeof n.text==="boolean"){delete n.text}t("<button></button>",n).button(s).appendTo(e.uiButtonSet).on("click",(function(){r.apply(e.element[0],arguments)}))}));this._addClass(this.uiDialog,"ui-dialog-buttons");this.uiDialogButtonPane.appendTo(this.uiDialog)},_makeDraggable:function(){var e=this,i=this.options;function n(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,r){e._addClass(t(this),"ui-dialog-dragging");e._blockFrames();e._trigger("dragStart",i,n(r))},drag:function(t,i){e._trigger("drag",t,n(i))},stop:function(r,s){var o=s.offset.left-e.document.scrollLeft(),a=s.offset.top-e.document.scrollTop();i.position={my:"left top",at:"left"+(o>=0?"+":"")+o+" "+"top"+(a>=0?"+":"")+a,of:e.window};e._removeClass(t(this),"ui-dialog-dragging");e._unblockFrames();e._trigger("dragStop",r,n(s))}})},_makeResizable:function(){var e=this,i=this.options,n=i.resizable,r=this.uiDialog.css("position"),s=typeof n==="string"?n:"n,e,s,w,se,sw,ne,nw";function o(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:s,start:function(i,n){e._addClass(t(this),"ui-dialog-resizing");e._blockFrames();e._trigger("resizeStart",i,o(n))},resize:function(t,i){e._trigger("resize",t,o(i))},stop:function(n,r){var s=e.uiDialog.offset(),a=s.left-e.document.scrollLeft(),l=s.top-e.document.scrollTop();i.height=e.uiDialog.height();i.width=e.uiDialog.width();i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" "+"top"+(l>=0?"+":"")+l,of:e.window};e._removeClass(t(this),"ui-dialog-resizing");e._unblockFrames();e._trigger("resizeStop",n,o(r))}}).css("position",r)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget();this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance();this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);if(i!==-1){e.splice(i,1)}},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");if(!t){t=[];this.document.data("ui-dialog-instances",t)}return t},_minHeight:function(){var t=this.options;return t.height==="auto"?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");if(!t){this.uiDialog.show()}this.uiDialog.position(this.options.position);if(!t){this.uiDialog.hide()}},_setOptions:function(e){var i=this,n=false,r={};t.each(e,(function(t,e){i._setOption(t,e);if(t in i.sizeRelatedOptions){n=true}if(t in i.resizableRelatedOptions){r[t]=e}}));if(n){this._size();this._position()}if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option",r)}},_setOption:function(e,i){var n,r,s=this.uiDialog;if(e==="disabled"){return}this._super(e,i);if(e==="appendTo"){this.uiDialog.appendTo(this._appendTo())}if(e==="buttons"){this._createButtons()}if(e==="closeText"){this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()})}if(e==="draggable"){n=s.is(":data(ui-draggable)");if(n&&!i){s.draggable("destroy")}if(!n&&i){this._makeDraggable()}}if(e==="position"){this._position()}if(e==="resizable"){r=s.is(":data(ui-resizable)");if(r&&!i){s.resizable("destroy")}if(r&&typeof i==="string"){s.resizable("option","handles",i)}if(!r&&i!==false){this._makeResizable()}}if(e==="title"){this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))}},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0});if(n.minWidth>n.width){n.width=n.minWidth}t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight();e=Math.max(0,n.minHeight-t);i=typeof n.maxHeight==="number"?Math.max(0,n.maxHeight-t):"none";if(n.height==="auto"){this.element.css({minHeight:e,maxHeight:i,height:"auto"})}else{this.element.height(Math.max(0,n.height-t))}if(this.uiDialog.is(":data(ui-resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]}))},_unblockFrames:function(){if(this.iframeBlocks){this.iframeBlocks.remove();delete this.iframeBlocks}},_allowInteraction:function(e){if(t(e.target).closest(".ui-dialog").length){return true}return!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(!this.options.modal){return}var e=true;this._delay((function(){e=false}));if(!this.document.data("ui-dialog-overlays")){this._on(this.document,{focusin:function(t){if(e){return}if(!this._allowInteraction(t)){t.preventDefault();this._trackingInstances()[0]._focusTabbable()}}})}this.overlay=t("<div>").appendTo(this._appendTo());this._addClass(this.overlay,null,"ui-widget-overlay ui-front");this._on(this.overlay,{mousedown:"_keepFocus"});this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)},_destroyOverlay:function(){if(!this.options.modal){return}if(this.overlay){var t=this.document.data("ui-dialog-overlays")-1;if(!t){this._off(this.document,"focusin");this.document.removeData("ui-dialog-overlays")}else{this.document.data("ui-dialog-overlays",t)}this.overlay.remove();this.overlay=null}}});if(t.uiBackCompat!==false){t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super();this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){if(t==="dialogClass"){this.uiDialog.removeClass(this.options.dialogClass).addClass(e)}this._superApply(arguments)}})}return t.ui.dialog}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Droppable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(57),i(56),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:true,greedy:false,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,n=i.accept;this.isover=false;this.isout=true;this.accept=t.isFunction(n)?n:function(t){return t.is(n)};this.proportions=function(){if(arguments.length){e=arguments[0]}else{return e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}}};this._addToManager(i.scope);i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[];t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){var e=0;for(;e<t.length;e++){if(t[e]===this){t.splice(e,1)}}},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if(e==="accept"){this.accept=t.isFunction(i)?i:function(t){return t.is(i)}}else if(e==="scope"){var n=t.ui.ddmanager.droppables[this.options.scope];this._splice(n);this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass();if(i){this._trigger("activate",e,this.ui(i))}},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass();if(i){this._trigger("deactivate",e,this.ui(i))}},_over:function(e){var i=t.ui.ddmanager.current;if(!i||(i.currentItem||i.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],i.currentItem||i.element)){this._addHoverClass();this._trigger("over",e,this.ui(i))}},_out:function(e){var i=t.ui.ddmanager.current;if(!i||(i.currentItem||i.element)[0]===this.element[0]){return}if(this.accept.call(this.element[0],i.currentItem||i.element)){this._removeHoverClass();this._trigger("out",e,this.ui(i))}},_drop:function(i,n){var r=n||t.ui.ddmanager.current,s=false;if(!r||(r.currentItem||r.element)[0]===this.element[0]){return false}this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each((function(){var n=t(this).droppable("instance");if(n.options.greedy&&!n.options.disabled&&n.options.scope===r.options.scope&&n.accept.call(n.element[0],r.currentItem||r.element)&&e(r,t.extend(n,{offset:n.element.offset()}),n.options.tolerance,i)){s=true;return false}}));if(s){return false}if(this.accept.call(this.element[0],r.currentItem||r.element)){this._removeActiveClass();this._removeHoverClass();this._trigger("drop",i,this.ui(r));return this.element}return false},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var e=t.ui.intersect=function(){function t(t,e,i){return t>=e&&t<e+i}return function(e,i,n,r){if(!i.offset){return false}var s=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,a=s+e.helperProportions.width,l=o+e.helperProportions.height,u=i.offset.left,f=i.offset.top,c=u+i.proportions().width,h=f+i.proportions().height;switch(n){case"fit":return u<=s&&a<=c&&f<=o&&l<=h;case"intersect":return u<s+e.helperProportions.width/2&&a-e.helperProportions.width/2<c&&f<o+e.helperProportions.height/2&&l-e.helperProportions.height/2<h;case"pointer":return t(r.pageY,f,i.proportions().height)&&t(r.pageX,u,i.proportions().width);case"touch":return(o>=f&&o<=h||l>=f&&l<=h||o<f&&l>h)&&(s>=u&&s<=c||a>=u&&a<=c||s<u&&a>c);default:return false}}}();t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,i){var n,r,s=t.ui.ddmanager.droppables[e.options.scope]||[],o=i?i.type:null,a=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(n=0;n<s.length;n++){if(s[n].options.disabled||e&&!s[n].accept.call(s[n].element[0],e.currentItem||e.element)){continue}for(r=0;r<a.length;r++){if(a[r]===s[n].element[0]){s[n].proportions().height=0;continue t}}s[n].visible=s[n].element.css("display")!=="none";if(!s[n].visible){continue}if(o==="mousedown"){s[n]._activate.call(s[n],i)}s[n].offset=s[n].element.offset();s[n].proportions({width:s[n].element[0].offsetWidth,height:s[n].element[0].offsetHeight})}},drop:function(i,n){var r=false;t.each((t.ui.ddmanager.droppables[i.options.scope]||[]).slice(),(function(){if(!this.options){return}if(!this.options.disabled&&this.visible&&e(i,this,this.options.tolerance,n)){r=this._drop.call(this,n)||r}if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],i.currentItem||i.element)){this.isout=true;this.isover=false;this._deactivate.call(this,n)}}));return r},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",(function(){if(!e.options.refreshPositions){t.ui.ddmanager.prepareOffsets(e,i)}}))},drag:function(i,n){if(i.options.refreshPositions){t.ui.ddmanager.prepareOffsets(i,n)}t.each(t.ui.ddmanager.droppables[i.options.scope]||[],(function(){if(this.options.disabled||this.greedyChild||!this.visible){return}var r,s,o,a=e(i,this,this.options.tolerance,n),l=!a&&this.isover?"isout":a&&!this.isover?"isover":null;if(!l){return}if(this.options.greedy){s=this.options.scope;o=this.element.parents(":data(ui-droppable)").filter((function(){return t(this).droppable("instance").options.scope===s}));if(o.length){r=t(o[0]).droppable("instance");r.greedyChild=l==="isover"}}if(r&&l==="isover"){r.isover=false;r.isout=true;r._out.call(r,n)}this[l]=true;this[l==="isout"?"isover":"isout"]=false;this[l==="isover"?"_over":"_out"].call(this,n);if(r&&l==="isout"){r.isout=false;r.isover=true;r._over.call(r,n)}}))},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable");if(!e.options.refreshPositions){t.ui.ddmanager.prepareOffsets(e,i)}}};if(t.uiBackCompat!==false){t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:false,activeClass:false},_addActiveClass:function(){this._super();if(this.options.activeClass){this.element.addClass(this.options.activeClass)}},_removeActiveClass:function(){this._super();if(this.options.activeClass){this.element.removeClass(this.options.activeClass)}},_addHoverClass:function(){this._super();if(this.options.hoverClass){this.element.addClass(this.options.hoverClass)}},_removeHoverClass:function(){this._super();if(this.options.hoverClass){this.element.removeClass(this.options.hoverClass)}}})}return t.ui.droppable}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Progressbar 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue();this.element.attr({role:"progressbar","aria-valuemin":this.min});this._addClass("ui-progressbar","ui-widget ui-widget-content");this.valueDiv=t("<div>").appendTo(this.element);this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header");this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow");this.valueDiv.remove()},value:function(t){if(t===undefined){return this.options.value}this.options.value=this._constrainedValue(t);this._refreshValue()},_constrainedValue:function(t){if(t===undefined){t=this.options.value}this.indeterminate=t===false;if(typeof t!=="number"){t=0}return this.indeterminate?false:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value;this._super(t);this.options.value=this._constrainedValue(e);this._refreshValue()},_setOption:function(t,e){if(t==="max"){e=Math.max(this.min,e)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t);this.element.attr("aria-disabled",t);this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(i.toFixed(0)+"%");this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate);if(this.indeterminate){this.element.removeAttr("aria-valuenow");if(!this.overlayDiv){this.overlayDiv=t("<div>").appendTo(this.valueDiv);this._addClass(this.overlayDiv,"ui-progressbar-overlay")}}else{this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e});if(this.overlayDiv){this.overlayDiv.remove();this.overlayDiv=null}}if(this.oldValue!==e){this.oldValue=e;this._trigger("change")}if(e===this.options.max){this._trigger("complete")}}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Selectable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(56),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.selectable",t.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable");this.dragged=false;this.refresh=function(){e.elementPos=t(e.element[0]).offset();e.selectees=t(e.options.filter,e.element[0]);e._addClass(e.selectees,"ui-selectee");e.selectees.each((function(){var i=t(this),n=i.offset(),r={left:n.left-e.elementPos.left,top:n.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:i,left:r.left,top:r.top,right:r.left+i.outerWidth(),bottom:r.top+i.outerHeight(),startselected:false,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})}))};this.refresh();this._mouseInit();this.helper=t("<div>");this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item");this._mouseDestroy()},_mouseStart:function(e){var i=this,n=this.options;this.opos=[e.pageX,e.pageY];this.elementPos=t(this.element[0]).offset();if(this.options.disabled){return}this.selectees=t(n.filter,this.element[0]);this._trigger("start",e);t(n.appendTo).append(this.helper);this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0});if(n.autoRefresh){this.refresh()}this.selectees.filter(".ui-selected").each((function(){var n=t.data(this,"selectable-item");n.startselected=true;if(!e.metaKey&&!e.ctrlKey){i._removeClass(n.$element,"ui-selected");n.selected=false;i._addClass(n.$element,"ui-unselecting");n.unselecting=true;i._trigger("unselecting",e,{unselecting:n.element})}}));t(e.target).parents().addBack().each((function(){var n,r=t.data(this,"selectable-item");if(r){n=!e.metaKey&&!e.ctrlKey||!r.$element.hasClass("ui-selected");i._removeClass(r.$element,n?"ui-unselecting":"ui-selected")._addClass(r.$element,n?"ui-selecting":"ui-unselecting");r.unselecting=!n;r.selecting=n;r.selected=n;if(n){i._trigger("selecting",e,{selecting:r.element})}else{i._trigger("unselecting",e,{unselecting:r.element})}return false}}))},_mouseDrag:function(e){this.dragged=true;if(this.options.disabled){return}var i,n=this,r=this.options,s=this.opos[0],o=this.opos[1],a=e.pageX,l=e.pageY;if(s>a){i=a;a=s;s=i}if(o>l){i=l;l=o;o=i}this.helper.css({left:s,top:o,width:a-s,height:l-o});this.selectees.each((function(){var i=t.data(this,"selectable-item"),u=false,f={};if(!i||i.element===n.element[0]){return}f.left=i.left+n.elementPos.left;f.right=i.right+n.elementPos.left;f.top=i.top+n.elementPos.top;f.bottom=i.bottom+n.elementPos.top;if(r.tolerance==="touch"){u=!(f.left>a||f.right<s||f.top>l||f.bottom<o)}else if(r.tolerance==="fit"){u=f.left>s&&f.right<a&&f.top>o&&f.bottom<l}if(u){if(i.selected){n._removeClass(i.$element,"ui-selected");i.selected=false}if(i.unselecting){n._removeClass(i.$element,"ui-unselecting");i.unselecting=false}if(!i.selecting){n._addClass(i.$element,"ui-selecting");i.selecting=true;n._trigger("selecting",e,{selecting:i.element})}}else{if(i.selecting){if((e.metaKey||e.ctrlKey)&&i.startselected){n._removeClass(i.$element,"ui-selecting");i.selecting=false;n._addClass(i.$element,"ui-selected");i.selected=true}else{n._removeClass(i.$element,"ui-selecting");i.selecting=false;if(i.startselected){n._addClass(i.$element,"ui-unselecting");i.unselecting=true}n._trigger("unselecting",e,{unselecting:i.element})}}if(i.selected){if(!e.metaKey&&!e.ctrlKey&&!i.startselected){n._removeClass(i.$element,"ui-selected");i.selected=false;n._addClass(i.$element,"ui-unselecting");i.unselecting=true;n._trigger("unselecting",e,{unselecting:i.element})}}}}));return false},_mouseStop:function(e){var i=this;this.dragged=false;t(".ui-unselecting",this.element[0]).each((function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-unselecting");n.unselecting=false;n.startselected=false;i._trigger("unselected",e,{unselected:n.element})}));t(".ui-selecting",this.element[0]).each((function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected");n.selecting=false;n.selected=true;n.startselected=true;i._trigger("selected",e,{selected:n.element})}));this._trigger("stop",e);this.helper.remove();return false}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Selectmenu 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(50),i(45),i(54),i(43),i(44),i(21),i(48),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:false,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"};this._drawButton();this._drawMenu();this._bindFormResetHandler();this._rendered=false;this.menuItems=t()},_drawButton:function(){var e,i=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button);this._on(this.labels,{click:function(t){this.button.focus();t.preventDefault()}});this.element.hide();this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element);this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget");e=t("<span>").appendTo(this.button);this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button);this.buttonItem=this._renderButtonItem(n).appendTo(this.button);if(this.options.width!==false){this._resizeButton()}this._on(this.button,this._buttonEvents);this.button.one("focusin",(function(){if(!i._rendered){i._refreshMenu()}}))},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu});this.menuWrap=t("<div>").append(this.menu);this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front");this.menuWrap.appendTo(this._appendTo());this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,i){t.preventDefault();e._setSelection();e._select(i.item.data("ui-selectmenu-item"),t)},focus:function(t,i){var n=i.item.data("ui-selectmenu-item");if(e.focusIndex!=null&&n.index!==e.focusIndex){e._trigger("focus",t,{item:n});if(!e.isOpen){e._select(n,t)}}e.focusIndex=n.index;e.button.attr("aria-activedescendant",e.menuItems.eq(n.index).attr("id"))}}).menu("instance");this.menuInstance._off(this.menu,"mouseleave");this.menuInstance._closeOnDocumentClick=function(){return false};this.menuInstance._isDivider=function(){return false}},refresh:function(){this._refreshMenu();this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{}));if(this.options.width===null){this._resizeButton()}},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty();this._parseOptions(e);this._renderMenu(this.menu,this.items);this.menuInstance.refresh();this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper");this._rendered=true;if(!e.length){return}t=this._getSelectedItem();this.menuInstance.focus(null,t);this._setAria(t.data("ui-selectmenu-item"));this._setOption("disabled",this.element.prop("disabled"))},open:function(t){if(this.options.disabled){return}if(!this._rendered){this._refreshMenu()}else{this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active");this.menuInstance.focus(null,this._getSelectedItem())}if(!this.menuItems.length){return}this.isOpen=true;this._toggleAttr();this._resizeMenu();this._position();this._on(this.document,this._documentClick);this._trigger("open",t)},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){if(!this.isOpen){return}this.isOpen=false;this._toggleAttr();this.range=null;this._off(this.document);this._trigger("close",t)},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var i=t("<span>");this._setText(i,e.label);this._addClass(i,"ui-selectmenu-text");return i},_renderMenu:function(e,i){var n=this,r="";t.each(i,(function(i,s){var o;if(s.optgroup!==r){o=t("<li>",{text:s.optgroup});n._addClass(o,"ui-selectmenu-optgroup","ui-menu-divider"+(s.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""));o.appendTo(e);r=s.optgroup}n._renderItemData(e,s)}))},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,i){var n=t("<li>"),r=t("<div>",{title:i.element.attr("title")});if(i.disabled){this._addClass(n,null,"ui-state-disabled")}this._setText(r,i.label);return n.append(r).appendTo(e)},_setText:function(t,e){if(e){t.text(e)}else{t.html(" ")}},_move:function(t,e){var i,n,r=".ui-menu-item";if(this.isOpen){i=this.menuItems.eq(this.focusIndex).parent("li")}else{i=this.menuItems.eq(this.element[0].selectedIndex).parent("li");r+=":not(.ui-state-disabled)"}if(t==="first"||t==="last"){n=i[t==="first"?"prevAll":"nextAll"](r).eq(-1)}else{n=i[t+"All"](r).eq(0)}if(n.length){this.menuInstance.focus(e,n)}},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;if(!this.range){return}if(window.getSelection){t=window.getSelection();t.removeAllRanges();t.addRange(this.range)}else{this.range.select()}this.button.focus()},_documentClick:{mousedown:function(e){if(!this.isOpen){return}if(!t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeSelector(this.ids.button)).length){this.close(e)}}},_buttonEvents:{mousedown:function(){var t;if(window.getSelection){t=window.getSelection();if(t.rangeCount){this.range=t.getRangeAt(0)}}else{this.range=document.selection.createRange()}},click:function(t){this._setSelection();this._toggle(t)},keydown:function(e){var i=true;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e);i=false;break;case t.ui.keyCode.ENTER:if(this.isOpen){this._selectFocusedItem(e)}break;case t.ui.keyCode.UP:if(e.altKey){this._toggle(e)}else{this._move("prev",e)}break;case t.ui.keyCode.DOWN:if(e.altKey){this._toggle(e)}else{this._move("next",e)}break;case t.ui.keyCode.SPACE:if(this.isOpen){this._selectFocusedItem(e)}else{this._toggle(e)}break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e);i=false}if(i){e.preventDefault()}}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");if(!e.hasClass("ui-state-disabled")){this._select(e.data("ui-selectmenu-item"),t)}},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index;this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t));this._setAria(t);this._trigger("select",e,{item:t});if(t.index!==i){this._trigger("change",e,{item:t})}this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e});this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if(t==="icons"){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e);if(t==="appendTo"){this.menuWrap.appendTo(this._appendTo())}if(t==="width"){this._resizeButton()}},_setOptionDisabled:function(t){this._super(t);this.menuInstance.option("disabled",t);this.button.attr("aria-disabled",t);this._toggleClass(this.button,null,"ui-state-disabled",t);this.element.prop("disabled",t);if(t){this.button.attr("tabindex",-1);this.close()}else{this.button.attr("tabindex",0)}},_appendTo:function(){var e=this.options.appendTo;if(e){e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)}if(!e||!e[0]){e=this.element.closest(".ui-front, dialog")}if(!e.length){e=this.document[0].body}return e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen);this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen);this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;if(t===false){this.button.css("width","");return}if(t===null){t=this.element.show().outerWidth();this.element.hide()}this.button.outerWidth(t)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();t.disabled=this.element.prop("disabled");return t},_parseOptions:function(e){var i=this,n=[];e.each((function(e,r){n.push(i._parseOption(t(r),e))}));this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler();this.menuWrap.remove();this.button.remove();this.element.show();this.element.removeUniqueId();this.labels.attr("for",this.ids.element)}}])}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Slider 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(56),i(43),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:false,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this._calculateNewMax();this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content");this._refresh();this._animateOff=false},_refresh:function(){this._createRange();this._createHandles();this._setupEvents();this._refreshValue()},_createHandles:function(){var e,i,n=this.options,r=this.element.find(".ui-slider-handle"),s="<span tabindex='0'></span>",o=[];i=n.values&&n.values.length||1;if(r.length>i){r.slice(i).remove();r=r.slice(0,i)}for(e=r.length;e<i;e++){o.push(s)}this.handles=r.add(t(o.join("")).appendTo(this.element));this._addClass(this.handles,"ui-slider-handle","ui-state-default");this.handle=this.handles.eq(0);this.handles.each((function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)}))},_createRange:function(){var e=this.options;if(e.range){if(e.range===true){if(!e.values){e.values=[this._valueMin(),this._valueMin()]}else if(e.values.length&&e.values.length!==2){e.values=[e.values[0],e.values[0]]}else if(t.isArray(e.values)){e.values=e.values.slice(0)}}if(!this.range||!this.range.length){this.range=t("<div>").appendTo(this.element);this._addClass(this.range,"ui-slider-range")}else{this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max");this.range.css({left:"",bottom:""})}if(e.range==="min"||e.range==="max"){this._addClass(this.range,"ui-slider-range-"+e.range)}}else{if(this.range){this.range.remove()}this.range=null}},_setupEvents:function(){this._off(this.handles);this._on(this.handles,this._handleEvents);this._hoverable(this.handles);this._focusable(this.handles)},_destroy:function(){this.handles.remove();if(this.range){this.range.remove()}this._mouseDestroy()},_mouseCapture:function(e){var i,n,r,s,o,a,l,u,f=this,c=this.options;if(c.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();i={x:e.pageX,y:e.pageY};n=this._normValueFromMouse(i);r=this._valueMax()-this._valueMin()+1;this.handles.each((function(e){var i=Math.abs(n-f.values(e));if(r>i||r===i&&(e===f._lastChangedValue||f.values(e)===c.min)){r=i;s=t(this);o=e}}));a=this._start(e,o);if(a===false){return false}this._mouseSliding=true;this._handleIndex=o;this._addClass(s,null,"ui-state-active");s.trigger("focus");l=s.offset();u=!t(e.target).parents().addBack().is(".ui-slider-handle");this._clickOffset=u?{left:0,top:0}:{left:e.pageX-l.left-s.width()/2,top:e.pageY-l.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(e,o,n)}this._animateOff=true;return true},_mouseStart:function(){return true},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);this._slide(t,this._handleIndex,i);return false},_mouseStop:function(t){this._removeClass(this.handles,null,"ui-state-active");this._mouseSliding=false;this._stop(t,this._handleIndex);this._change(t,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,r,s;if(this.orientation==="horizontal"){e=this.elementSize.width;i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{e=this.elementSize.height;i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}n=i/e;if(n>1){n=1}if(n<0){n=0}if(this.orientation==="vertical"){n=1-n}r=this._valueMax()-this._valueMin();s=this._valueMin()+n*r;return this._trimAlignValue(s)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:e!==undefined?e:this.value()};if(this._hasMultipleValues()){n.value=e!==undefined?e:this.values(t);n.values=i||this.values()}return n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,r,s=this.value(),o=this.values();if(this._hasMultipleValues()){r=this.values(e?0:1);s=this.values(e);if(this.options.values.length===2&&this.options.range===true){i=e===0?Math.min(r,i):Math.max(r,i)}o[e]=i}if(i===s){return}n=this._trigger("slide",t,this._uiHash(e,i,o));if(n===false){return}if(this._hasMultipleValues()){this.values(e,i)}else{this.value(i)}},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){this._lastChangedValue=e;this._trigger("change",t,this._uiHash(e))}},value:function(t){if(arguments.length){this.options.value=this._trimAlignValue(t);this._refreshValue();this._change(null,0);return}return this._value()},values:function(e,i){var n,r,s;if(arguments.length>1){this.options.values[e]=this._trimAlignValue(i);this._refreshValue();this._change(null,e);return}if(arguments.length){if(t.isArray(arguments[0])){n=this.options.values;r=arguments[0];for(s=0;s<n.length;s+=1){n[s]=this._trimAlignValue(r[s]);this._change(null,s)}this._refreshValue()}else{if(this._hasMultipleValues()){return this._values(e)}else{return this.value()}}}else{return this._values()}},_setOption:function(e,i){var n,r=0;if(e==="range"&&this.options.range===true){if(i==="min"){this.options.value=this._values(0);this.options.values=null}else if(i==="max"){this.options.value=this._values(this.options.values.length-1);this.options.values=null}}if(t.isArray(this.options.values)){r=this.options.values.length}this._super(e,i);switch(e){case"orientation":this._detectOrientation();this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation);this._refreshValue();if(this.options.range){this._refreshRange(i)}this.handles.css(i==="horizontal"?"bottom":"left","");break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(n=r-1;n>=0;n--){this._change(null,n)}this._animateOff=false;break;case"step":case"min":case"max":this._animateOff=true;this._calculateNewMax();this._refreshValue();this._animateOff=false;break;case"range":this._animateOff=true;this._refresh();this._animateOff=false;break}},_setOptionDisabled:function(t){this._super(t);this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;t=this._trimAlignValue(t);return t},_values:function(t){var e,i,n;if(arguments.length){e=this.options.values[t];e=this._trimAlignValue(e);return e}else if(this._hasMultipleValues()){i=this.options.values.slice();for(n=0;n<i.length;n+=1){i[n]=this._trimAlignValue(i[n])}return i}else{return[]}},_trimAlignValue:function(t){if(t<=this._valueMin()){return this._valueMin()}if(t>=this._valueMax()){return this._valueMax()}var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;if(Math.abs(i)*2>=e){n+=i>0?e:-e}return parseFloat(n.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step,n=Math.round((t-e)/i)*i;t=n+e;if(t>this.options.max){t-=i}this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);if(this.options.min!==null){t=Math.max(t,this._precisionOf(this.options.min))}return t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return i===-1?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){if(t==="vertical"){this.range.css({width:"",left:""})}if(t==="horizontal"){this.range.css({height:"",bottom:""})}},_refreshValue:function(){var e,i,n,r,s,o=this.options.range,a=this.options,l=this,u=!this._animateOff?a.animate:false,f={};if(this._hasMultipleValues()){this.handles.each((function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100;f[l.orientation==="horizontal"?"left":"bottom"]=i+"%";t(this).stop(1,1)[u?"animate":"css"](f,a.animate);if(l.options.range===true){if(l.orientation==="horizontal"){if(n===0){l.range.stop(1,1)[u?"animate":"css"]({left:i+"%"},a.animate)}if(n===1){l.range[u?"animate":"css"]({width:i-e+"%"},{queue:false,duration:a.animate})}}else{if(n===0){l.range.stop(1,1)[u?"animate":"css"]({bottom:i+"%"},a.animate)}if(n===1){l.range[u?"animate":"css"]({height:i-e+"%"},{queue:false,duration:a.animate})}}}e=i}))}else{n=this.value();r=this._valueMin();s=this._valueMax();i=s!==r?(n-r)/(s-r)*100:0;f[this.orientation==="horizontal"?"left":"bottom"]=i+"%";this.handle.stop(1,1)[u?"animate":"css"](f,a.animate);if(o==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[u?"animate":"css"]({width:i+"%"},a.animate)}if(o==="max"&&this.orientation==="horizontal"){this.range.stop(1,1)[u?"animate":"css"]({width:100-i+"%"},a.animate)}if(o==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[u?"animate":"css"]({height:i+"%"},a.animate)}if(o==="max"&&this.orientation==="vertical"){this.range.stop(1,1)[u?"animate":"css"]({height:100-i+"%"},a.animate)}}},_handleEvents:{keydown:function(e){var i,n,r,s,o=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:e.preventDefault();if(!this._keySliding){this._keySliding=true;this._addClass(t(e.target),null,"ui-state-active");i=this._start(e,o);if(i===false){return}}break}s=this.options.step;if(this._hasMultipleValues()){n=r=this.values(o)}else{n=r=this.value()}switch(e.keyCode){case t.ui.keyCode.HOME:r=this._valueMin();break;case t.ui.keyCode.END:r=this._valueMax();break;case t.ui.keyCode.PAGE_UP:r=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:r=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax()){return}r=this._trimAlignValue(n+s);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin()){return}r=this._trimAlignValue(n-s);break}this._slide(e,o,r)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");if(this._keySliding){this._keySliding=false;this._stop(e,i);this._change(e,i);this._removeClass(t(e.target),null,"ui-state-active")}}}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Sortable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(56),i(22),i(16),i(46),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:false,options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={};this._addClass("ui-sortable");this.refresh();this.offset=this.element.offset();this._mouseInit();this._setHandleClassName();this.ready=true},_setOption:function(t,e){this._super(t,e);if(t==="handle"){this._setHandleClassName()}},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle");t.each(this.items,(function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--){this.items[t].item.removeData(this.widgetName+"-item")}return this},_mouseCapture:function(e,i){var n=null,r=false,s=this;if(this.reverting){return false}if(this.options.disabled||this.options.type==="static"){return false}this._refreshItems(e);t(e.target).parents().each((function(){if(t.data(this,s.widgetName+"-item")===s){n=t(this);return false}}));if(t.data(e.target,s.widgetName+"-item")===s){n=t(e.target)}if(!n){return false}if(this.options.handle&&!i){t(this.options.handle,n).find("*").addBack().each((function(){if(this===e.target){r=true}}));if(!r){return false}}this.currentItem=n;this._removeCurrentsFromItems();return true},_mouseStart:function(e,i,n){var r,s,o=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(e);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");this.originalPosition=this._generatePosition(e);this.originalPageX=e.pageX;this.originalPageY=e.pageY;o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(o.containment){this._setContainment()}if(o.cursor&&o.cursor!=="auto"){s=this.document.find("body");this.storedCursor=s.css("cursor");s.css("cursor",o.cursor);this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)}if(o.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",o.opacity)}if(o.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",o.zIndex)}if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",e,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!n){for(r=this.containers.length-1;r>=0;r--){this.containers[r]._trigger("activate",e,this._uiHash(this))}}if(t.ui.ddmanager){t.ui.ddmanager.current=this}if(t.ui.ddmanager&&!o.dropBehaviour){t.ui.ddmanager.prepareOffsets(this,e)}this.dragging=true;this._addClass(this.helper,"ui-sortable-helper");this._mouseDrag(e);return true},_mouseDrag:function(e){var i,n,r,s,o=this.options,a=false;this.position=this._generatePosition(e);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity){this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed}else if(e.pageY-this.overflowOffset.top<o.scrollSensitivity){this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed}if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity){this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed}else if(e.pageX-this.overflowOffset.left<o.scrollSensitivity){this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed}}else{if(e.pageY-this.document.scrollTop()<o.scrollSensitivity){a=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed)}else if(this.window.height()-(e.pageY-this.document.scrollTop())<o.scrollSensitivity){a=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)}if(e.pageX-this.document.scrollLeft()<o.scrollSensitivity){a=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed)}else if(this.window.width()-(e.pageX-this.document.scrollLeft())<o.scrollSensitivity){a=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed)}}if(a!==false&&t.ui.ddmanager&&!o.dropBehaviour){t.ui.ddmanager.prepareOffsets(this,e)}}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!=="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!=="x"){this.helper[0].style.top=this.position.top+"px"}for(i=this.items.length-1;i>=0;i--){n=this.items[i];r=n.item[0];s=this._intersectsWithPointer(n);if(!s){continue}if(n.instance!==this.currentContainer){continue}if(r!==this.currentItem[0]&&this.placeholder[s===1?"next":"prev"]()[0]!==r&&!t.contains(this.placeholder[0],r)&&(this.options.type==="semi-dynamic"?!t.contains(this.element[0],r):true)){this.direction=s===1?"down":"up";if(this.options.tolerance==="pointer"||this._intersectsWithSides(n)){this._rearrange(e,n)}else{break}this._trigger("change",e,this._uiHash());break}}this._contactContainers(e);if(t.ui.ddmanager){t.ui.ddmanager.drag(this,e)}this._trigger("sort",e,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(e,i){if(!e){return}if(t.ui.ddmanager&&!this.options.dropBehaviour){t.ui.ddmanager.drop(this,e)}if(this.options.revert){var n=this,r=this.placeholder.offset(),s=this.options.axis,o={};if(!s||s==="x"){o.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)}if(!s||s==="y"){o.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)}this.reverting=true;t(this.helper).animate(o,parseInt(this.options.revert,10)||500,(function(){n._clear(e)}))}else{this._clear(e,i)}return false},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null}));if(this.options.helper==="original"){this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}for(var e=this.containers.length-1;e>=0;e--){this.containers[e]._trigger("deactivate",null,this._uiHash(this));if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",null,this._uiHash(this));this.containers[e].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}t.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){t(this.domPosition.prev).after(this.currentItem)}else{t(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];e=e||{};t(i).each((function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);if(i){n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}}));if(!n.length&&e.key){n.push(e.key+"=")}return n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];e=e||{};i.each((function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")}));return n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,r=n+this.helperProportions.height,s=t.left,o=s+t.width,a=t.top,l=a+t.height,u=this.offset.click.top,f=this.offset.click.left,c=this.options.axis==="x"||n+u>a&&n+u<l,h=this.options.axis==="y"||e+f>s&&e+f<o,p=c&&h;if(this.options.tolerance==="pointer"||this.options.forcePointerForContainers||this.options.tolerance!=="pointer"&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]){return p}else{return s<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&r-this.helperProportions.height/2<l}},_intersectsWithPointer:function(t){var e,i,n=this.options.axis==="x"||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),r=this.options.axis==="y"||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),s=n&&r;if(!s){return false}e=this._getDragVerticalDirection();i=this._getDragHorizontalDirection();return this.floating?i==="right"||e==="down"?2:1:e&&(e==="down"?2:1)},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();if(this.floating&&r){return r==="right"&&i||r==="left"&&!i}else{return n&&(n==="down"&&e||n==="up"&&!e)}},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return t!==0&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return t!==0&&(t>0?"right":"left")},refresh:function(t){this._refreshItems(t);this._setHandleClassName();this.refreshPositions();return this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,r,s,o=[],a=[],l=this._connectWith();if(l&&e){for(i=l.length-1;i>=0;i--){r=t(l[i],this.document[0]);for(n=r.length-1;n>=0;n--){s=t.data(r[n],this.widgetFullName);if(s&&s!==this&&!s.options.disabled){a.push([t.isFunction(s.options.items)?s.options.items.call(s.element):t(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s])}}}}a.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function u(){o.push(this)}for(i=a.length-1;i>=0;i--){a[i][0].each(u)}return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,(function(t){for(var i=0;i<e.length;i++){if(e[i]===t.item[0]){return false}}return true}))},_refreshItems:function(e){this.items=[];this.containers=[this];var i,n,r,s,o,a,l,u,f=this.items,c=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready){for(i=h.length-1;i>=0;i--){r=t(h[i],this.document[0]);for(n=r.length-1;n>=0;n--){s=t.data(r[n],this.widgetFullName);if(s&&s!==this&&!s.options.disabled){c.push([t.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):t(s.options.items,s.element),s]);this.containers.push(s)}}}}for(i=c.length-1;i>=0;i--){o=c[i][1];a=c[i][0];for(n=0,u=a.length;n<u;n++){l=t(a[n]);l.data(this.widgetName+"-item",o);f.push({item:l,instance:o,width:0,height:0,left:0,top:0})}}},refreshPositions:function(e){this.floating=this.items.length?this.options.axis==="x"||this._isFloating(this.items[0].item):false;if(this.offsetParent&&this.helper){this.offset.parent=this._getParentOffset()}var i,n,r,s;for(i=this.items.length-1;i>=0;i--){n=this.items[i];if(n.instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]){continue}r=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item;if(!e){n.width=r.outerWidth();n.height=r.outerHeight()}s=r.offset();n.left=s.left;n.top=s.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(i=this.containers.length-1;i>=0;i--){s=this.containers[i].element.offset();this.containers[i].containerCache.left=s.left;this.containers[i].containerCache.top=s.top;this.containers[i].containerCache.width=this.containers[i].element.outerWidth();this.containers[i].containerCache.height=this.containers[i].element.outerHeight()}}return this},_createPlaceholder:function(e){e=e||this;var i,n=e.options;if(!n.placeholder||n.placeholder.constructor===String){i=n.placeholder;n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),r=t("<"+n+">",e.document[0]);e._addClass(r,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(r,"ui-sortable-helper");if(n==="tbody"){e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(r))}else if(n==="tr"){e._createTrPlaceholder(e.currentItem,r)}else if(n==="img"){r.attr("src",e.currentItem.attr("src"))}if(!i){r.css("visibility","hidden")}return r},update:function(t,r){if(i&&!n.forcePlaceholderSize){return}if(!r.height()){r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10))}if(!r.width()){r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10))}}}}e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem));e.currentItem.after(e.placeholder);n.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each((function(){t("<td> </td>",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)}))},_contactContainers:function(e){var i,n,r,s,o,a,l,u,f,c,h=null,p=null;for(i=this.containers.length-1;i>=0;i--){if(t.contains(this.currentItem[0],this.containers[i].element[0])){continue}if(this._intersectsWith(this.containers[i].containerCache)){if(h&&t.contains(this.containers[i].element[0],h.element[0])){continue}h=this.containers[i];p=i}else{if(this.containers[i].containerCache.over){this.containers[i]._trigger("out",e,this._uiHash(this));this.containers[i].containerCache.over=0}}}if(!h){return}if(this.containers.length===1){if(!this.containers[p].containerCache.over){this.containers[p]._trigger("over",e,this._uiHash(this));this.containers[p].containerCache.over=1}}else{r=1e4;s=null;f=h.floating||this._isFloating(this.currentItem);o=f?"left":"top";a=f?"width":"height";c=f?"pageX":"pageY";for(n=this.items.length-1;n>=0;n--){if(!t.contains(this.containers[p].element[0],this.items[n].item[0])){continue}if(this.items[n].item[0]===this.currentItem[0]){continue}l=this.items[n].item.offset()[o];u=false;if(e[c]-l>this.items[n][a]/2){u=true}if(Math.abs(e[c]-l)<r){r=Math.abs(e[c]-l);s=this.items[n];this.direction=u?"up":"down"}}if(!s&&!this.options.dropOnEmpty){return}if(this.currentContainer===this.containers[p]){if(!this.currentContainer.containerCache.over){this.containers[p]._trigger("over",e,this._uiHash());this.currentContainer.containerCache.over=1}return}s?this._rearrange(e,s,null,true):this._rearrange(e,null,this.containers[p].element,true);this._trigger("change",e,this._uiHash());this.containers[p]._trigger("change",e,this._uiHash(this));this.currentContainer=this.containers[p];this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[p]._trigger("over",e,this._uiHash(this));this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):i.helper==="clone"?this.currentItem.clone():this.currentItem;if(!n.parents("body").length){t(i.appendTo!=="parent"?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0])}if(n[0]===this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(!n[0].style.width||i.forceHelperSize){n.width(this.currentItem.width())}if(!n[0].style.height||i.forceHelperSize){n.height(this.currentItem.height())}return n},_adjustOffsetFromHelper:function(e){if(typeof e==="string"){e=e.split(" ")}if(t.isArray(e)){e={left:+e[0],top:+e[1]||0}}if("left"in e){this.offset.click.left=e.left+this.margins.left}if("right"in e){this.offset.click.left=this.helperProportions.width-e.right+this.margins.left}if("top"in e){this.offset.click.top=e.top+this.margins.top}if("bottom"in e){this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])){e.left+=this.scrollParent.scrollLeft();e.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&t.ui.ie){e={top:0,left:0}}return{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;if(r.containment==="parent"){r.containment=this.helper[0].parentNode}if(r.containment==="document"||r.containment==="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,r.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(r.containment==="document"?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!/^(document|window|parent)$/.test(r.containment)){e=t(r.containment)[0];i=t(r.containment).offset();n=t(e).css("overflow")!=="hidden";this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(e,i){if(!i){i=this.position}var n=e==="absolute"?1:-1,r=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,s=/(html|body)/i.test(r[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():s?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():s?0:r.scrollLeft())*n}},_generatePosition:function(e){var i,n,r=this.options,s=e.pageX,o=e.pageY,a=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,l=/(html|body)/i.test(a[0].tagName);if(this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}if(this.originalPosition){if(this.containment){if(e.pageX-this.offset.click.left<this.containment[0]){s=this.containment[0]+this.offset.click.left}if(e.pageY-this.offset.click.top<this.containment[1]){o=this.containment[1]+this.offset.click.top}if(e.pageX-this.offset.click.left>this.containment[2]){s=this.containment[2]+this.offset.click.left}if(e.pageY-this.offset.click.top>this.containment[3]){o=this.containment[3]+this.offset.click.top}}if(r.grid){i=this.originalPageY+Math.round((o-this.originalPageY)/r.grid[1])*r.grid[1];o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-r.grid[1]:i+r.grid[1]:i;n=this.originalPageX+Math.round((s-this.originalPageX)/r.grid[0])*r.grid[0];s=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n}}return{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(this.cssPosition==="fixed"?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==="down"?e.item[0]:e.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay((function(){if(r===this.counter){this.refreshPositions(!n)}}))},_clear:function(t,e){this.reverting=false;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(i in this._storedCSS){if(this._storedCSS[i]==="auto"||this._storedCSS[i]==="static"){this._storedCSS[i]=""}}this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!e){n.push((function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}))}if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!e){n.push((function(t){this._trigger("update",t,this._uiHash())}))}if(this!==this.currentContainer){if(!e){n.push((function(t){this._trigger("remove",t,this._uiHash())}));n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer));n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer))}}function r(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(i=this.containers.length-1;i>=0;i--){if(!e){n.push(r("deactivate",this,this.containers[i]))}if(this.containers[i].containerCache.over){n.push(r("out",this,this.containers[i]));this.containers[i].containerCache.over=0}}if(this.storedCursor){this.document.find("body").css("cursor",this.storedCursor);this.storedStylesheet.remove()}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)}this.dragging=false;if(!e){this._trigger("beforeStop",t,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(!this.cancelHelperRemoval){if(this.helper[0]!==this.currentItem[0]){this.helper.remove()}this.helper=null}if(!e){for(i=0;i<n.length;i++){n[i].call(this,t)}this._trigger("stop",t,this._uiHash())}this.fromOutside=false;return!this.cancelHelperRemoval},_trigger:function(){if(t.Widget.prototype._trigger.apply(this,arguments)===false){this.cancel()}},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Spinner 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(55),i(15),i(43),i(18),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments);this._refresh();if(e!==this.element.val()){this._trigger("change")}}}t.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:true,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max);this._setOption("min",this.options.min);this._setOption("step",this.options.step);if(this.value()!==""){this._value(this.element.val(),true)}this._draw();this._on(this._events);this._refresh();this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super();var i=this.element;t.each(["min","max","step"],(function(t,n){var r=i.attr(n);if(r!=null&&r.length){e[n]=r}}));return e},_events:{keydown:function(t){if(this._start(t)&&this._keydown(t)){t.preventDefault()}},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){if(this.cancelBlur){delete this.cancelBlur;return}this._stop();this._refresh();if(this.previous!==this.element.val()){this._trigger("change",t)}},mousewheel:function(t,e){if(!e){return}if(!this.spinning&&!this._start(t)){return false}this._spin((e>0?1:-1)*this.options.step,t);clearTimeout(this.mousewheelTimer);this.mousewheelTimer=this._delay((function(){if(this.spinning){this._stop(t)}}),100);t.preventDefault()},"mousedown .ui-spinner-button":function(e){var i;i=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();function n(){var e=this.element[0]===t.ui.safeActiveElement(this.document[0]);if(!e){this.element.trigger("focus");this.previous=i;this._delay((function(){this.previous=i}))}}e.preventDefault();n.call(this);this.cancelBlur=true;this._delay((function(){delete this.cancelBlur;n.call(this)}));if(this._start(e)===false){return}this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(!t(e.currentTarget).hasClass("ui-state-active")){return}if(this._start(e)===false){return false}this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance();this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content");this._addClass("ui-spinner-input");this.element.attr("role","spinbutton");this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",true).button({classes:{"ui-button":""}});this._removeClass(this.buttons,"ui-corner-all");this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up");this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down");this.buttons.first().button({icon:this.options.icons.up,showLabel:false});this.buttons.last().button({icon:this.options.icons.down,showLabel:false});if(this.buttons.height()>Math.ceil(this.uiSpinner.height()*.5)&&this.uiSpinner.height()>0){this.uiSpinner.height(this.uiSpinner.height())}},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:this._repeat(null,1,e);return true;case n.DOWN:this._repeat(null,-1,e);return true;case n.PAGE_UP:this._repeat(null,i.page,e);return true;case n.PAGE_DOWN:this._repeat(null,-i.page,e);return true}return false},_start:function(t){if(!this.spinning&&this._trigger("start",t)===false){return false}if(!this.counter){this.counter=1}this.spinning=true;return true},_repeat:function(t,e,i){t=t||500;clearTimeout(this.timer);this.timer=this._delay((function(){this._repeat(40,e,i)}),t);this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;if(!this.counter){this.counter=1}i=this._adjustValue(i+t*this._increment(this.counter));if(!this.spinning||this._trigger("spin",e,{value:i})!==false){this._value(i);this.counter++}},_increment:function(e){var i=this.options.incremental;if(i){return t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1)}return 1},_precision:function(){var t=this._precisionOf(this.options.step);if(this.options.min!==null){t=Math.max(t,this._precisionOf(this.options.min))}return t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return i===-1?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;e=n.min!==null?n.min:0;i=t-e;i=Math.round(i/n.step)*n.step;t=e+i;t=parseFloat(t.toFixed(this._precision()));if(n.max!==null&&t>n.max){return n.max}if(n.min!==null&&t<n.min){return n.min}return t},_stop:function(t){if(!this.spinning){return}clearTimeout(this.timer);clearTimeout(this.mousewheelTimer);this.counter=0;this.spinning=false;this._trigger("stop",t)},_setOption:function(t,e){var i,n,r;if(t==="culture"||t==="numberFormat"){i=this._parse(this.element.val());this.options[t]=e;this.element.val(this._format(i));return}if(t==="max"||t==="min"||t==="step"){if(typeof e==="string"){e=this._parse(e)}}if(t==="icons"){n=this.buttons.first().find(".ui-icon");this._removeClass(n,null,this.options.icons.up);this._addClass(n,null,e.up);r=this.buttons.last().find(".ui-icon");this._removeClass(r,null,this.options.icons.down);this._addClass(r,null,e.down)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t);this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t);this.element.prop("disabled",!!t);this.buttons.button(t?"disable":"enable")},_setOptions:e((function(t){this._super(t)})),_parse:function(t){if(typeof t==="string"&&t!==""){t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t}return t===""||isNaN(t)?null:t},_format:function(t){if(t===""){return""}return window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();if(t===null){return false}return t===this._adjustValue(t)},_value:function(t,e){var i;if(t!==""){i=this._parse(t);if(i!==null){if(!e){i=this._adjustValue(i)}t=this._format(i)}}this.element.val(t);this._refresh()},_destroy:function(){this.element.prop("disabled",false).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow");this.uiSpinner.replaceWith(this.element)},stepUp:e((function(t){this._stepUp(t)})),_stepUp:function(t){if(this._start()){this._spin((t||1)*this.options.step);this._stop()}},stepDown:e((function(t){this._stepDown(t)})),_stepDown:function(t){if(this._start()){this._spin((t||1)*-this.options.step);this._stop()}},pageUp:e((function(t){this._stepUp((t||1)*this.options.page)})),pageDown:e((function(t){this._stepDown((t||1)*this.options.page)})),value:function(t){if(!arguments.length){return this._parse(this.element.val())}e(this._value).call(this,t)},widget:function(){return this.uiSpinner}});if(t.uiBackCompat!==false){t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}})}return t.ui.spinner}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Tabs 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(45),i(43),i(18),i(48),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:false,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var i,n;i=e.href.replace(t,"");n=location.href.replace(t,"");try{i=decodeURIComponent(i)}catch(t){}try{n=decodeURIComponent(n)}catch(t){}return e.hash.length>1&&i===n}}(),_create:function(){var e=this,i=this.options;this.running=false;this._addClass("ui-tabs","ui-widget ui-widget-content");this._toggleClass("ui-tabs-collapsible",null,i.collapsible);this._processTabs();i.active=this._initialActive();if(t.isArray(i.disabled)){i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),(function(t){return e.tabs.index(t)})))).sort()}if(this.options.active!==false&&this.anchors.length){this.active=this._findActive(i.active)}else{this.active=t()}this._refresh();if(this.active.length){this.load(i.active)}},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);if(e===null){if(n){this.tabs.each((function(i,r){if(t(r).attr("aria-controls")===n){e=i;return false}}))}if(e===null){e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))}if(e===null||e===-1){e=this.tabs.length?0:false}}if(e!==false){e=this.tabs.index(this.tabs.eq(e));if(e===-1){e=i?false:0}}if(!i&&e===false&&this.anchors.length){e=0}return e},_getCreateEventData:function(){return{tab:this.active,panel:!this.active.length?t():this._getPanelForTab(this.active)}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),r=true;if(this._handlePageNav(e)){return}switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:r=false;n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:e.preventDefault();clearTimeout(this.activating);this._activate(n);return;case t.ui.keyCode.ENTER:e.preventDefault();clearTimeout(this.activating);this._activate(n===this.options.active?false:n);return;default:return}e.preventDefault();clearTimeout(this.activating);n=this._focusNextTab(n,r);if(!e.ctrlKey&&!e.metaKey){i.attr("aria-selected","false");this.tabs.eq(n).attr("aria-selected","true");this.activating=this._delay((function(){this.option("active",n)}),this.delay)}},_panelKeydown:function(e){if(this._handlePageNav(e)){return}if(e.ctrlKey&&e.keyCode===t.ui.keyCode.UP){e.preventDefault();this.active.trigger("focus")}},_handlePageNav:function(e){if(e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP){this._activate(this._focusNextTab(this.options.active-1,false));return true}if(e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN){this._activate(this._focusNextTab(this.options.active+1,true));return true}},_findNextTab:function(e,i){var n=this.tabs.length-1;function r(){if(e>n){e=0}if(e<0){e=n}return e}while(t.inArray(r(),this.options.disabled)!==-1){e=i?e+1:e-1}return e},_focusNextTab:function(t,e){t=this._findNextTab(t,e);this.tabs.eq(t).trigger("focus");return t},_setOption:function(t,e){if(t==="active"){this._activate(e);return}this._super(t,e);if(t==="collapsible"){this._toggleClass("ui-tabs-collapsible",null,e);if(!e&&this.options.active===false){this._activate(0)}}if(t==="event"){this._setupEvents(e)}if(t==="heightStyle"){this._setupHeightStyle(e)}},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),(function(t){return i.index(t)}));this._processTabs();if(e.active===false||!this.anchors.length){e.active=false;this.active=t()}else if(this.active.length&&!t.contains(this.tablist[0],this.active[0])){if(this.tabs.length===e.disabled.length){e.active=false;this.active=t()}else{this._activate(this._findNextTab(Math.max(0,e.active-1),false))}}else{e.active=this.tabs.index(this.active)}this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"});if(!this.active.length){this.tabs.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0});this._addClass(this.active,"ui-tabs-active","ui-state-active");this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})}},_processTabs:function(){var e=this,i=this.tabs,n=this.anchors,r=this.panels;this.tablist=this._getList().attr("role","tablist");this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header");this.tablist.on("mousedown"+this.eventNamespace,"> li",(function(e){if(t(this).is(".ui-state-disabled")){e.preventDefault()}})).on("focus"+this.eventNamespace,".ui-tabs-anchor",(function(){if(t(this).closest("li").is(".ui-state-disabled")){this.blur()}}));this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1});this._addClass(this.tabs,"ui-tabs-tab","ui-state-default");this.anchors=this.tabs.map((function(){return t("a",this)[0]})).attr({role:"presentation",tabIndex:-1});this._addClass(this.anchors,"ui-tabs-anchor");this.panels=t();this.anchors.each((function(i,n){var r,s,o,a=t(n).uniqueId().attr("id"),l=t(n).closest("li"),u=l.attr("aria-controls");if(e._isLocal(n)){r=n.hash;o=r.substring(1);s=e.element.find(e._sanitizeSelector(r))}else{o=l.attr("aria-controls")||t({}).uniqueId()[0].id;r="#"+o;s=e.element.find(r);if(!s.length){s=e._createPanel(o);s.insertAfter(e.panels[i-1]||e.tablist)}s.attr("aria-live","polite")}if(s.length){e.panels=e.panels.add(s)}if(u){l.data("ui-tabs-aria-controls",u)}l.attr({"aria-controls":o,"aria-labelledby":a});s.attr("aria-labelledby",a)}));this.panels.attr("role","tabpanel");this._addClass(this.panels,"ui-tabs-panel","ui-widget-content");if(i){this._off(i.not(this.tabs));this._off(n.not(this.anchors));this._off(r.not(this.panels))}},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",true)},_setOptionDisabled:function(e){var i,n,r;if(t.isArray(e)){if(!e.length){e=false}else if(e.length===this.anchors.length){e=true}}for(r=0;n=this.tabs[r];r++){i=t(n);if(e===true||t.inArray(r,e)!==-1){i.attr("aria-disabled","true");this._addClass(i,null,"ui-state-disabled")}else{i.removeAttr("aria-disabled");this._removeClass(i,null,"ui-state-disabled")}}this.options.disabled=e;this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,e===true)},_setupEvents:function(e){var i={};if(e){t.each(e.split(" "),(function(t,e){i[e]="_eventHandler"}))}this._off(this.anchors.add(this.tabs).add(this.panels));this._on(true,this.anchors,{click:function(t){t.preventDefault()}});this._on(this.anchors,i);this._on(this.tabs,{keydown:"_tabKeydown"});this._on(this.panels,{keydown:"_panelKeydown"});this._focusable(this.tabs);this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n=this.element.parent();if(e==="fill"){i=n.height();i-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each((function(){var e=t(this),n=e.css("position");if(n==="absolute"||n==="fixed"){return}i-=e.outerHeight(true)}));this.element.children().not(this.panels).each((function(){i-=t(this).outerHeight(true)}));this.panels.each((function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))})).css("overflow","auto")}else if(e==="auto"){i=0;this.panels.each((function(){i=Math.max(i,t(this).height("").height())})).height(i)}},_eventHandler:function(e){var i=this.options,n=this.active,r=t(e.currentTarget),s=r.closest("li"),o=s[0]===n[0],a=o&&i.collapsible,l=a?t():this._getPanelForTab(s),u=!n.length?t():this._getPanelForTab(n),f={oldTab:n,oldPanel:u,newTab:a?t():s,newPanel:l};e.preventDefault();if(s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||o&&!i.collapsible||this._trigger("beforeActivate",e,f)===false){return}i.active=a?false:this.tabs.index(s);this.active=o?t():s;if(this.xhr){this.xhr.abort()}if(!u.length&&!l.length){t.error("jQuery UI Tabs: Mismatching fragment identifier.")}if(l.length){this.load(this.tabs.index(s),e)}this._toggle(e,f)},_toggle:function(e,i){var n=this,r=i.newPanel,s=i.oldPanel;this.running=true;function o(){n.running=false;n._trigger("activate",e,i)}function a(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active");if(r.length&&n.options.show){n._show(r,n.options.show,o)}else{r.show();o()}}if(s.length&&this.options.hide){this._hide(s,this.options.hide,(function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active");a()}))}else{this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active");s.hide();a()}s.attr("aria-hidden","true");i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"});if(r.length&&s.length){i.oldTab.attr("tabIndex",-1)}else if(r.length){this.tabs.filter((function(){return t(this).attr("tabIndex")===0})).attr("tabIndex",-1)}r.attr("aria-hidden","false");i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);if(n[0]===this.active[0]){return}if(!n.length){n=this.active}i=n.find(".ui-tabs-anchor")[0];this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop})},_findActive:function(e){return e===false?t():this.tabs.eq(e)},_getIndex:function(e){if(typeof e==="string"){e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))}return e},_destroy:function(){if(this.xhr){this.xhr.abort()}this.tablist.removeAttr("role").off(this.eventNamespace);this.anchors.removeAttr("role tabIndex").removeUniqueId();this.tabs.add(this.panels).each((function(){if(t.data(this,"ui-tabs-destroy")){t(this).remove()}else{t(this).removeAttr("role tabIndex "+"aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}}));this.tabs.each((function(){var e=t(this),i=e.data("ui-tabs-aria-controls");if(i){e.attr("aria-controls",i).removeData("ui-tabs-aria-controls")}else{e.removeAttr("aria-controls")}}));this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(e){var i=this.options.disabled;if(i===false){return}if(e===undefined){i=false}else{e=this._getIndex(e);if(t.isArray(i)){i=t.map(i,(function(t){return t!==e?t:null}))}else{i=t.map(this.tabs,(function(t,i){return i!==e?i:null}))}}this._setOptionDisabled(i)},disable:function(e){var i=this.options.disabled;if(i===true){return}if(e===undefined){i=true}else{e=this._getIndex(e);if(t.inArray(e,i)!==-1){return}if(t.isArray(i)){i=t.merge([e],i).sort()}else{i=[e]}}this._setOptionDisabled(i)},load:function(e,i){e=this._getIndex(e);var n=this,r=this.tabs.eq(e),s=r.find(".ui-tabs-anchor"),o=this._getPanelForTab(r),a={tab:r,panel:o},l=function(t,e){if(e==="abort"){n.panels.stop(false,true)}n._removeClass(r,"ui-tabs-loading");o.removeAttr("aria-busy");if(t===n.xhr){delete n.xhr}};if(this._isLocal(s[0])){return}this.xhr=t.ajax(this._ajaxSettings(s,i,a));if(this.xhr&&this.xhr.statusText!=="canceled"){this._addClass(r,"ui-tabs-loading");o.attr("aria-busy","true");this.xhr.done((function(t,e,r){setTimeout((function(){o.html(t);n._trigger("load",i,a);l(r,e)}),1)})).fail((function(t,e){setTimeout((function(){l(t,e)}),1)}))}},_ajaxSettings:function(e,i,n){var r=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,s){return r._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:s},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}});if(t.uiBackCompat!==false){t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments);this._addClass(this.tabs,"ui-tab")}})}return t.ui.tabs}))},function(t,e,i){var n,r,s;
/*!
* jQuery UI Tooltip 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/(function(o){if(true){!(r=[i(2),i(43),i(21),i(48),i(15),i(20)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:true,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:true,track:false,close:null,open:null},_addDescribedBy:function(e,i){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(i);e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(n.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),r=t.inArray(i,n);if(r!==-1){n.splice(r,1)}e.removeData("ui-tooltip-id");n=t.trim(n.join(" "));if(n){e.attr("aria-describedby",n)}else{e.removeAttr("aria-describedby")}},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=t([])},_setOption:function(e,i){var n=this;this._super(e,i);if(e==="content"){t.each(this.tooltips,(function(t,e){n._updateContent(e.element)}))}},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,(function(i,n){var r=t.Event("blur");r.target=r.currentTarget=n.element[0];e.close(r,true)}));this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter((function(){var e=t(this);if(e.is("[title]")){return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}})))},_enable:function(){this.disabledTitles.each((function(){var e=t(this);if(e.data("ui-tooltip-title")){e.attr("title",e.data("ui-tooltip-title"))}}));this.disabledTitles=t([])},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);if(!n.length||n.data("ui-tooltip-id")){return}if(n.attr("title")){n.data("ui-tooltip-title",n.attr("title"))}n.data("ui-tooltip-open",true);if(e&&e.type==="mouseover"){n.parents().each((function(){var e=t(this),n;if(e.data("ui-tooltip-open")){n=t.Event("blur");n.target=n.currentTarget=this;i.close(n,true)}if(e.attr("title")){e.uniqueId();i.parents[this.id]={element:this,title:e.attr("title")};e.attr("title","")}}))}this._registerCloseHandlers(e,n);this._updateContent(n,e)},_updateContent:function(t,e){var i,n=this.options.content,r=this,s=e?e.type:null;if(typeof n==="string"||n.nodeType||n.jquery){return this._open(e,t,n)}i=n.call(t[0],(function(i){r._delay((function(){if(!t.data("ui-tooltip-open")){return}if(e){e.type=s}this._open(e,t,i)}))}));if(i){this._open(e,t,i)}},_open:function(e,i,n){var r,s,o,a,l=t.extend({},this.options.position);if(!n){return}r=this._find(i);if(r){r.tooltip.find(".ui-tooltip-content").html(n);return}if(i.is("[title]")){if(e&&e.type==="mouseover"){i.attr("title","")}else{i.removeAttr("title")}}r=this._tooltip(i);s=r.tooltip;this._addDescribedBy(i,s.attr("id"));s.find(".ui-tooltip-content").html(n);this.liveRegion.children().hide();a=t("<div>").html(s.find(".ui-tooltip-content").html());a.removeAttr("name").find("[name]").removeAttr("name");a.removeAttr("id").find("[id]").removeAttr("id");a.appendTo(this.liveRegion);function u(t){l.of=t;if(s.is(":hidden")){return}s.position(l)}if(this.options.track&&e&&/^mouse/.test(e.type)){this._on(this.document,{mousemove:u});u(e)}else{s.position(t.extend({of:i},this.options.position))}s.hide();this._show(s,this.options.show);if(this.options.track&&this.options.show&&this.options.show.delay){o=this.delayedShow=setInterval((function(){if(s.is(":visible")){u(l.of);clearInterval(o)}}),t.fx.interval)}this._trigger("open",e,{tooltip:s})},_registerCloseHandlers:function(e,i){var n={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var n=t.Event(e);n.currentTarget=i[0];this.close(n,true)}}};if(i[0]!==this.element[0]){n.remove=function(){this._removeTooltip(this._find(i).tooltip)}}if(!e||e.type==="mouseover"){n.mouseleave="close"}if(!e||e.type==="focusin"){n.focusout="close"}this._on(true,i,n)},close:function(e){var i,n=this,r=t(e?e.currentTarget:this.element),s=this._find(r);if(!s){r.removeData("ui-tooltip-open");return}i=s.tooltip;if(s.closing){return}clearInterval(this.delayedShow);if(r.data("ui-tooltip-title")&&!r.attr("title")){r.attr("title",r.data("ui-tooltip-title"))}this._removeDescribedBy(r);s.hiding=true;i.stop(true);this._hide(i,this.options.hide,(function(){n._removeTooltip(t(this))}));r.removeData("ui-tooltip-open");this._off(r,"mouseleave focusout keyup");if(r[0]!==this.element[0]){this._off(r,"remove")}this._off(this.document,"mousemove");if(e&&e.type==="mouseleave"){t.each(this.parents,(function(e,i){t(i.element).attr("title",i.title);delete n.parents[e]}))}s.closing=true;this._trigger("close",e,{tooltip:i});if(!s.hiding){s.closing=false}},_tooltip:function(e){var i=t("<div>").attr("role","tooltip"),n=t("<div>").appendTo(i),r=i.uniqueId().attr("id");this._addClass(n,"ui-tooltip-content");this._addClass(i,"ui-tooltip","ui-widget ui-widget-content");i.appendTo(this._appendTo(e));return this.tooltips[r]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove();delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");if(!e.length){e=this.document[0].body}return e},_destroy:function(){var e=this;t.each(this.tooltips,(function(i,n){var r=t.Event("blur"),s=n.element;r.target=r.currentTarget=s[0];e.close(r,true);t("#"+i).remove();if(s.data("ui-tooltip-title")){if(!s.attr("title")){s.attr("title",s.data("ui-tooltip-title"))}s.removeData("ui-tooltip-title")}}));this.liveRegion.remove()}});if(t.uiBackCompat!==false){t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);if(this.options.tooltipClass){t.tooltip.addClass(this.options.tooltipClass)}return t}})}return t.ui.tooltip}))},function(t,e,i){},function(t,e,i){var n,r,s;(function(o){if(true){!(r=[i(2)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==undefined&&(t.exports=s))}else{}})((function(t){t.fn.autogrow=function(i){i=t.extend({vertical:true,horizontal:false,characterSlop:0},i);this.filter("textarea,input").each((function(){var r=t(this),s=r.css("box-sizing")==="border-box",o=r.attr("maxHeight"),a=typeof r.attr("minWidth")=="undefined"?0:r.attr("minWidth");if(typeof o=="undefined")o=1e6;var l=t('<div class="autogrow-shadow"></div>').css({position:"absolute",top:-1e4,left:-1e4,fontSize:r.css("fontSize"),fontFamily:r.css("fontFamily"),fontWeight:r.css("fontWeight"),lineHeight:r.css("lineHeight"),paddingLeft:r.css("paddingLeft"),paddingRight:r.css("paddingRight"),paddingTop:r.css("paddingTop"),paddingBottom:r.css("paddingBottom"),borderTop:r.css("borderTop"),borderBottom:r.css("borderBottom"),borderLeft:r.css("borderLeft"),borderRight:r.css("borderRight"),resize:"none"}).appendTo(document.body);l.html("a");var u=l.width();l.html("");var f=function(e){var f=function(t,e){for(var i=0,n="";i<e;i++)n+=t;return n};if(typeof e==="undefined")e=this.value;if(e===""&&t(this).attr("placeholder"))e=t(this).attr("placeholder");if(i.vertical)e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\n$/,"<br/> ").replace(/\n/g,"<br/>").replace(/ {2,}/g,(function(t){return f(" ",t.length-1)+" "}));else e=n(e);l.html(e).css("width","auto");if(i.horizontal){var c=i.characterSlop*u+2;var h=Math.max(l.width()+c,a);var p=i.maxWidth;if(p)h=Math.min(h,p);t(this).css("width",h)}if(i.vertical){var d=t(this).width();if(!s)d=d-parseInt(r.css("paddingLeft"),10)-parseInt(r.css("paddingRight"),10);l.css("width",d);var g=s?l.outerHeight():l.height();t(this).css("height","auto");minHeight=s?r.outerHeight():r.height();var m=Math.min(Math.max(g,minHeight),o);t(this).css("height",m);t(this).css("overflow",m==o?"auto":"hidden")}};t(this).change((function(){f.call(this);return true})).keyup((function(){f.call(this);return true})).keypress((function(t){if(t.ctrlKey||t.metaKey)return;var i=this.value;var n=e(this);var r=t.which===13?"\n":String.fromCharCode(t.which);var s=i.slice(0,n.start)+r+i.slice(n.end);f.call(this,s);return true})).bind("update.autogrow",(function(){f.apply(this)})).bind("remove.autogrow",(function(){l.remove()}));f.apply(this)}));return this};var e=function(t){var e={text:"",start:0,end:0};if(!t.value){return e}try{if(window.getSelection){e.start=t.selectionStart;e.end=t.selectionEnd;e.text=t.value.slice(e.start,e.end)}else if(doc.selection){t.focus();var i=doc.selection.createRange(),n=doc.body.createTextRange();e.text=i.text;try{n.moveToElementText(t);n.setEndPoint("StartToStart",i)}catch(e){n=t.createTextRange();n.setEndPoint("StartToStart",i)}e.start=t.value.length-n.text.length;e.end=e.start+i.text.length}}catch(t){}return e};var i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"," ":" "};function n(t){return String(t).replace(/[&<>"'\/\ ]/g,(function(t){return i[t]}))}}))},function(t,e){
/*!
* FitText.js 1.2
*
* Copyright 2011, Dave Rupert http://daverupert.com
* Released under the WTFPL license
* http://sam.zoy.org/wtfpl/
*
* Date: Thu May 05 14:23:00 2011 -0600
*/
(function(t){t.fn.fitText=function(e,i){var n=e||1,r=t.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY},i);return this.each((function(){var e=t(this);var i=function(){e.css("font-size",Math.max(Math.min(e.width()/(n*10),parseFloat(r.maxFontSize)),parseFloat(r.minFontSize)))};i();t(window).on("resize.fittext orientationchange.fittext",i)}))}})(jQuery)},function(t,e,i){var n,r,s;(function(o,a,l){(function(o){"use strict";if(true){!(r=[i(2)],n=o,s=typeof n==="function"?n.apply(e,r):n,s!==l&&(t.exports=s))}else{}})((function(t){"use strict";var e=true,i=false,n=null,r="x",s="y",u="width",f="height",c="top",h="left",p="bottom",d="right",g="center",m="flip",v="flipinvert",y="shift",_,b,w,x,C={},T="qtip",k="data-hasqtip",S="data-qtip-id",j=["ui-widget","ui-tooltip"],A="."+T,D="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),E=T+"-fixed",P=T+"-default",O=T+"-focus",I=T+"-hover",z=T+"-disabled",H="_replacedByqTip",M="oldtitle",N,W={ie:function(){var t,e;for(t=4,e=a.createElement("div");(e.innerHTML="\x3c!--[if gt IE "+t+"]><i></i><![endif]--\x3e")&&e.getElementsByTagName("i")[0];t+=1){}return t>4?t:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||i};function L(e,r,s,o){this.id=s;this.target=e;this.tooltip=n;this.elements={target:e};this._id=T+"-"+s;this.timers={img:{}};this.options=r;this.plugins={};this.cache={event:{},target:t(),disabled:i,attr:o,onTooltip:i,lastClass:""};this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=i}b=L.prototype;b._when=function(e){return t.when.apply(t,e)};b.render=function(n){if(this.rendered||this.destroyed){return this}var r=this,s=this.options,o=this.cache,a=this.elements,l=s.content.text,u=s.content.title,f=s.content.button,c=s.position,h=[];t.attr(this.target[0],"aria-describedby",this._id);o.posClass=this._createPosClass((this.position={my:c.my,at:c.at}).my);this.tooltip=a.tooltip=t("<div/>",{id:this._id,class:[T,P,s.style.classes,o.posClass].join(" "),width:s.style.width||"",height:s.style.height||"",tracking:c.target==="mouse"&&c.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":i,"aria-describedby":this._id+"-content","aria-hidden":e}).toggleClass(z,this.disabled).attr(S,this.id).data(T,this).appendTo(c.container).append(a.content=t("<div />",{class:T+"-content",id:this._id+"-content","aria-atomic":e}));this.rendered=-1;this.positioning=e;if(u){this._createTitle();if(!t.isFunction(u)){h.push(this._updateTitle(u,i))}}if(f){this._createButton()}if(!t.isFunction(l)){h.push(this._updateContent(l,i))}this.rendered=e;this._setWidget();t.each(C,(function(t){var e;if(this.initialize==="render"&&(e=this(r))){r.plugins[t]=e}}));this._unassignEvents();this._assignEvents();this._when(h).then((function(){r._trigger("render");r.positioning=i;if(!r.hiddenDuringWait&&(s.show.ready||n)){r.toggle(e,o.event,i)}r.hiddenDuringWait=i}));_.api[this.id]=this;return this};b.destroy=function(i){if(this.destroyed){return this.target}function r(){if(this.destroyed){return}this.destroyed=e;var i=this.target,r=i.attr(M),s;if(this.rendered){this.tooltip.stop(1,0).find("*").remove().end().remove()}t.each(this.plugins,(function(){this.destroy&&this.destroy()}));for(s in this.timers){if(this.timers.hasOwnProperty(s)){clearTimeout(this.timers[s])}}i.removeData(T).removeAttr(S).removeAttr(k).removeAttr("aria-describedby");if(this.options.suppress&&r){i.attr("title",r).removeAttr(M)}this._unassignEvents();this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=n;delete _.api[this.id]}if((i!==e||this.triggering==="hide")&&this.rendered){this.tooltip.one("tooltiphidden",t.proxy(r,this));!this.triggering&&this.hide()}else{r.call(this)}return this.target};function q(e){return e===n||t.type(e)!=="object"}function $(e){return!(t.isFunction(e)||e&&e.attr||e.length||t.type(e)==="object"&&(e.jquery||e.then))}function R(r){var s,o,a,l;if(q(r)){return i}if(q(r.metadata)){r.metadata={type:r.metadata}}if("content"in r){s=r.content;if(q(s)||s.jquery||s.done){o=$(s)?i:s;s=r.content={text:o}}else{o=s.text}if("ajax"in s){a=s.ajax;l=a&&a.once!==i;delete s.ajax;s.text=function(e,i){var r=o||t(this).attr(i.options.content.attr)||"Loading...",s=t.ajax(t.extend({},a,{context:i})).then(a.success,n,a.error).then((function(t){if(t&&l){i.set("content.text",t)}return t}),(function(t,e,n){if(i.destroyed||t.status===0){return}i.set("content.text",e+": "+n)}));return!l?(i.set("content.text",r),s):r}}if("title"in s){if(t.isPlainObject(s.title)){s.button=s.title.button;s.title=s.title.text}if($(s.title||i)){s.title=i}}}if("position"in r&&q(r.position)){r.position={my:r.position,at:r.position}}if("show"in r&&q(r.show)){r.show=r.show.jquery?{target:r.show}:r.show===e?{ready:e}:{event:r.show}}if("hide"in r&&q(r.hide)){r.hide=r.hide.jquery?{target:r.hide}:{event:r.hide}}if("style"in r&&q(r.style)){r.style={classes:r.style}}t.each(C,(function(){this.sanitize&&this.sanitize(r)}));return r}x=b.checks={builtin:{"^id$":function(n,r,s,o){var a=s===e?_.nextid:s,l=T+"-"+a;if(a!==i&&a.length>0&&!t("#"+l).length){this._id=l;if(this.rendered){this.tooltip[0].id=this._id;this.elements.content[0].id=this._id+"-content";this.elements.title[0].id=this._id+"-title"}}else{n[r]=o}},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,n){if(this.options.content.text===this.target.attr(n)){this._updateContent(this.target.attr(i))}},"^content.title$":function(t,e,i){if(!i){return this._removeTitle()}i&&!this.elements.title&&this._createTitle();this._updateTitle(i)},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){if("string"===typeof i){this.position[e]=t[e]=new w(i,e==="at")}},"^position.container$":function(t,e,i){this.rendered&&this.tooltip.appendTo(i)},"^show.ready$":function(t,i,n){n&&(!this.rendered&&this.render(e)||this.toggle(e))},"^style.classes$":function(t,e,i,n){this.rendered&&this.tooltip.removeClass(n).addClass(i)},"^style.(width|height)":function(t,e,i){this.rendered&&this.tooltip.css(e,i)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(t,e,i){this.rendered&&this.tooltip.toggleClass(P,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(e,i,n){this.rendered&&this.tooltip[(t.isFunction(n)?"":"un")+"bind"]("tooltip"+i,n)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(!this.rendered){return}var t=this.options.position;this.tooltip.attr("tracking",t.target==="mouse"&&t.adjust.mouse);this._unassignEvents();this._assignEvents()}}};function F(t,e){var i=0,n,r=t,s=e.split(".");while(r=r[s[i++]]){if(i<s.length){n=r}}return[n||t,s.pop()]}b.get=function(t){if(this.destroyed){return this}var e=F(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};function B(t,e){var i,n,r;for(i in this.checks){if(!this.checks.hasOwnProperty(i)){continue}for(n in this.checks[i]){if(!this.checks[i].hasOwnProperty(n)){continue}if(r=new RegExp(n,"i").exec(t)){e.push(r);if(i==="builtin"||this.plugins[i]){this.checks[i][n].apply(this.plugins[i]||this,e)}}}}}var Q=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,U=/^prerender|show\.ready/i;b.set=function(r,s){if(this.destroyed){return this}var o=this.rendered,a=i,l=this.options,u;if("string"===typeof r){u=r;r={};r[u]=s}else{r=t.extend({},r)}t.each(r,(function(e,i){if(o&&U.test(e)){delete r[e];return}var n=F(l,e.toLowerCase()),s;s=n[0][n[1]];n[0][n[1]]=i&&i.nodeType?t(i):i;a=Q.test(e)||a;r[e]=[n[0],n[1],i,s]}));R(l);this.positioning=e;t.each(r,t.proxy(B,this));this.positioning=i;if(this.rendered&&this.tooltip[0].offsetWidth>0&&a){this.reposition(l.position.target==="mouse"?n:this.cache.event)}return this};b._update=function(r,s){var o=this,a=this.cache;if(!this.rendered||!r){return i}if(t.isFunction(r)){r=r.call(this.elements.target,a.event,this)||""}if(t.isFunction(r.then)){a.waiting=e;return r.then((function(t){a.waiting=i;return o._update(t,s)}),n,(function(t){return o._update(t,s)}))}if(r===i||!r&&r!==""){return i}if(r.jquery&&r.length>0){s.empty().append(r.css({display:"block",visibility:"visible"}))}else{s.html(r)}return this._waitForContent(s).then((function(t){if(o.rendered&&o.tooltip[0].offsetWidth>0){o.reposition(a.event,!t.length)}}))};b._waitForContent=function(n){var r=this.cache;r.waiting=e;return(t.fn.imagesLoaded?n.imagesLoaded():(new t.Deferred).resolve([])).done((function(){r.waiting=i})).promise()};b._updateContent=function(t,e){this._update(t,this.elements.content,e)};b._updateTitle=function(t,e){if(this._update(t,this.elements.title,e)===i){this._removeTitle(i)}};b._createTitle=function(){var i=this.elements,n=this._id+"-title";if(i.titlebar){this._removeTitle()}i.titlebar=t("<div />",{class:T+"-titlebar "+(this.options.style.widget?G("header"):"")}).append(i.title=t("<div />",{id:n,class:T+"-title","aria-atomic":e})).insertBefore(i.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",(function(e){t(this).toggleClass("ui-state-active ui-state-focus",e.type.substr(-4)==="down")})).delegate(".qtip-close","mouseover mouseout",(function(e){t(this).toggleClass("ui-state-hover",e.type==="mouseover")}));if(this.options.content.button){this._createButton()}};b._removeTitle=function(t){var e=this.elements;if(e.title){e.titlebar.remove();e.titlebar=e.title=e.button=n;if(t!==i){this.reposition()}}};b._createPosClass=function(t){return T+"-pos-"+(t||this.options.position.my).abbrev()};b.reposition=function(n,r){if(!this.rendered||this.positioning||this.destroyed){return this}this.positioning=e;var s=this.cache,l=this.tooltip,u=this.options.position,f=u.target,m=u.my,v=u.at,y=u.viewport,_=u.container,b=u.adjust,w=b.method.split(" "),x=l.outerWidth(i),T=l.outerHeight(i),k=0,S=0,j=l.css("position"),A={left:0,top:0},D=l[0].offsetWidth>0,E=n&&n.type==="scroll",P=t(o),O=_[0].ownerDocument,I=this.mouse,z,H,M,N;if(t.isArray(f)&&f.length===2){v={x:h,y:c};A={left:f[0],top:f[1]}}else if(f==="mouse"){v={x:h,y:c};if((!b.mouse||this.options.hide.distance)&&s.origin&&s.origin.pageX){n=s.origin}else if(!n||n&&(n.type==="resize"||n.type==="scroll")){n=s.event}else if(I&&I.pageX){n=I}if(j!=="static"){A=_.offset()}if(O.body.offsetWidth!==(o.innerWidth||O.documentElement.clientWidth)){H=t(a.body).offset()}A={left:n.pageX-A.left+(H&&H.left||0),top:n.pageY-A.top+(H&&H.top||0)};if(b.mouse&&E&&I){A.left-=(I.scrollX||0)-P.scrollLeft();A.top-=(I.scrollY||0)-P.scrollTop()}}else{if(f==="event"){if(n&&n.target&&n.type!=="scroll"&&n.type!=="resize"){s.target=t(n.target)}else if(!n.target){s.target=this.elements.target}}else if(f!=="event"){s.target=t(f.jquery?f:this.elements.target)}f=s.target;f=t(f).eq(0);if(f.length===0){return this}else if(f[0]===a||f[0]===o){k=W.iOS?o.innerWidth:f.width();S=W.iOS?o.innerHeight:f.height();if(f[0]===o){A={top:(y||f).scrollTop(),left:(y||f).scrollLeft()}}}else if(C.imagemap&&f.is("area")){z=C.imagemap(this,f,v,C.viewport?w:i)}else if(C.svg&&f&&f[0].ownerSVGElement){z=C.svg(this,f,v,C.viewport?w:i)}else{k=f.outerWidth(i);S=f.outerHeight(i);A=f.offset()}if(z){k=z.width;S=z.height;H=z.offset;A=z.position}A=this.reposition.offset(f,A,_);if(W.iOS>3.1&&W.iOS<4.1||W.iOS>=4.3&&W.iOS<4.33||!W.iOS&&j==="fixed"){A.left-=P.scrollLeft();A.top-=P.scrollTop()}if(!z||z&&z.adjustable!==i){A.left+=v.x===d?k:v.x===g?k/2:0;A.top+=v.y===p?S:v.y===g?S/2:0}}A.left+=b.x+(m.x===d?-x:m.x===g?-x/2:0);A.top+=b.y+(m.y===p?-T:m.y===g?-T/2:0);if(C.viewport){M=A.adjusted=C.viewport(this,A,u,k,S,x,T);if(H&&M.left){A.left+=H.left}if(H&&M.top){A.top+=H.top}if(M.my){this.position.my=M.my}}else{A.adjusted={left:0,top:0}}if(s.posClass!==(N=this._createPosClass(this.position.my))){s.posClass=N;l.removeClass(s.posClass).addClass(N)}if(!this._trigger("move",[A,y.elem||y],n)){return this}delete A.adjusted;if(r===i||!D||isNaN(A.left)||isNaN(A.top)||f==="mouse"||!t.isFunction(u.effect)){l.css(A)}else if(t.isFunction(u.effect)){u.effect.call(l,this,t.extend({},A));l.queue((function(e){t(this).css({opacity:"",height:""});if(W.ie){this.style.removeAttribute("filter")}e()}))}this.positioning=i;return this};b.reposition.offset=function(e,i,n){if(!n[0]){return i}var r=t(e[0].ownerDocument),s=!!W.ie&&a.compatMode!=="CSS1Compat",o=n[0],l,u,f,c;function h(t,e){i.left+=e*t.scrollLeft();i.top+=e*t.scrollTop()}do{if((u=t.css(o,"position"))!=="static"){if(u==="fixed"){f=o.getBoundingClientRect();h(r,-1)}else{f=t(o).position();f.left+=parseFloat(t.css(o,"borderLeftWidth"))||0;f.top+=parseFloat(t.css(o,"borderTopWidth"))||0}i.left-=f.left+(parseFloat(t.css(o,"marginLeft"))||0);i.top-=f.top+(parseFloat(t.css(o,"marginTop"))||0);if(!l&&(c=t.css(o,"overflow"))!=="hidden"&&c!=="visible"){l=t(o)}}}while(o=o.offsetParent);if(l&&(l[0]!==r[0]||s)){h(l,1)}return i};var V=(w=b.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,g).toLowerCase();this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase();this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.forceY=!!e;var i=t.charAt(0);this.precedance=i==="t"||i==="b"?s:r}).prototype;V.invert=function(t,e){this[t]=this[t]===h?d:this[t]===d?h:e||this[t]};V.string=function(t){var e=this.x,i=this.y;var n=e!==i?e==="center"||i!=="center"&&(this.precedance===s||this.forceY)?[i,e]:[e,i]:[e];return t!==false?n.join(" "):n};V.abbrev=function(){var t=this.string(false);return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")};V.clone=function(){return new w(this.string(),this.forceY)};b.toggle=function(r,s){var o=this.cache,l=this.options,u=this.tooltip;if(s){if(/over|enter/.test(s.type)&&o.event&&/out|leave/.test(o.event.type)&&l.show.target.add(s.target).length===l.show.target.length&&u.has(s.relatedTarget).length){return this}o.event=t.event.fix(s)}this.waiting&&!r&&(this.hiddenDuringWait=e);if(!this.rendered){return r?this.render(1):this}else if(this.destroyed||this.disabled){return this}var f=r?"show":"hide",c=this.options[f],h=this.options.position,p=this.options.content,d=this.tooltip.css("width"),g=this.tooltip.is(":visible"),m=r||c.target.length===1,v=!s||c.target.length<2||o.target[0]===s.target,y,_,b;if((typeof r).search("boolean|number")){r=!g}y=!u.is(":animated")&&g===r&&v;_=!y?!!this._trigger(f,[90]):n;if(this.destroyed){return this}if(_!==i&&r){this.focus(s)}if(!_||y){return this}t.attr(u[0],"aria-hidden",!!!r);if(r){this.mouse&&(o.origin=t.event.fix(this.mouse));if(t.isFunction(p.text)){this._updateContent(p.text,i)}if(t.isFunction(p.title)){this._updateTitle(p.title,i)}if(!N&&h.target==="mouse"&&h.adjust.mouse){t(a).bind("mousemove."+T,this._storeMouse);N=e}if(!d){u.css("width",u.outerWidth(i))}this.reposition(s,arguments[2]);if(!d){u.css("width","")}if(!!c.solo){(typeof c.solo==="string"?t(c.solo):t(A,c.solo)).not(u).not(c.target).qtip("hide",new t.Event("tooltipsolo"))}}else{clearTimeout(this.timers.show);delete o.origin;if(N&&!t(A+'[tracking="true"]:visible',c.solo).not(u).length){t(a).unbind("mousemove."+T);N=i}this.blur(s)}b=t.proxy((function(){if(r){if(W.ie){u[0].style.removeAttribute("filter")}u.css("overflow","");if("string"===typeof c.autofocus){t(this.options.show.autofocus,u).focus()}this.options.show.target.trigger("qtip-"+this.id+"-inactive")}else{u.css({display:"",visibility:"",opacity:"",left:"",top:""})}this._trigger(r?"visible":"hidden")}),this);if(c.effect===i||m===i){u[f]();b()}else if(t.isFunction(c.effect)){u.stop(1,1);c.effect.call(u,this);u.queue("fx",(function(t){b();t()}))}else{u.fadeTo(90,r?1:0,b)}if(r){c.target.trigger("qtip-"+this.id+"-inactive")}return this};b.show=function(t){return this.toggle(e,t)};b.hide=function(t){return this.toggle(i,t)};b.focus=function(e){if(!this.rendered||this.destroyed){return this}var i=t(A),n=this.tooltip,r=parseInt(n[0].style.zIndex,10),s=_.zindex+i.length;if(!n.hasClass(O)){if(this._trigger("focus",[s],e)){if(r!==s){i.each((function(){if(this.style.zIndex>r){this.style.zIndex=this.style.zIndex-1}}));i.filter("."+O).qtip("blur",e)}n.addClass(O)[0].style.zIndex=s}}return this};b.blur=function(t){if(!this.rendered||this.destroyed){return this}this.tooltip.removeClass(O);this._trigger("blur",[this.tooltip.css("zIndex")],t);return this};b.disable=function(t){if(this.destroyed){return this}if(t==="toggle"){t=!(this.rendered?this.tooltip.hasClass(z):this.disabled)}else if("boolean"!==typeof t){t=e}if(this.rendered){this.tooltip.toggleClass(z,t).attr("aria-disabled",t)}this.disabled=!!t;return this};b.enable=function(){return this.disable(i)};b._createButton=function(){var e=this,n=this.elements,r=n.tooltip,s=this.options.content.button,o=typeof s==="string",a=o?s:"Close tooltip";if(n.button){n.button.remove()}if(s.jquery){n.button=s}else{n.button=t("<a />",{class:"qtip-close "+(this.options.style.widget?"":T+"-icon"),title:a,"aria-label":a}).prepend(t("<span />",{class:"ui-icon ui-icon-close",html:"×"}))}n.button.appendTo(n.titlebar||r).attr("role","button").click((function(t){if(!r.hasClass(z)){e.hide(t)}return i}))};b._updateButton=function(t){if(!this.rendered){return i}var e=this.elements.button;if(t){this._createButton()}else{e.remove()}};function G(t){return j.concat("").join(t?"-"+t+" ":" ")}b._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,n=i.hasClass(z);i.removeClass(z);z=t?"ui-state-disabled":"qtip-disabled";i.toggleClass(z,n);i.toggleClass("ui-helper-reset "+G(),t).toggleClass(P,this.options.style.def&&!t);if(e.content){e.content.toggleClass(G("content"),t)}if(e.titlebar){e.titlebar.toggleClass(G("header"),t)}if(e.button){e.button.toggleClass(T+"-icon",!t)}};function X(e,i){if(i>0){return setTimeout(t.proxy(e,this),i)}else{e.call(this)}}function Y(t){if(this.tooltip.hasClass(z)){return}clearTimeout(this.timers.show);clearTimeout(this.timers.hide);this.timers.show=X.call(this,(function(){this.toggle(e,t)}),this.options.show.delay)}function K(e){if(this.tooltip.hasClass(z)||this.destroyed){return}var n=t(e.relatedTarget),r=n.closest(A)[0]===this.tooltip[0],s=n[0]===this.options.show.target[0];clearTimeout(this.timers.show);clearTimeout(this.timers.hide);if(this!==n[0]&&(this.options.position.target==="mouse"&&r)||this.options.hide.fixed&&(/mouse(out|leave|move)/.test(e.type)&&(r||s))){try{e.preventDefault();e.stopImmediatePropagation()}catch(t){}return}this.timers.hide=X.call(this,(function(){this.toggle(i,e)}),this.options.hide.delay,this)}function J(t){if(this.tooltip.hasClass(z)||!this.options.hide.inactive){return}clearTimeout(this.timers.inactive);this.timers.inactive=X.call(this,(function(){this.hide(t)}),this.options.hide.inactive)}function Z(t){if(this.rendered&&this.tooltip[0].offsetWidth>0){this.reposition(t)}}b._storeMouse=function(e){(this.mouse=t.event.fix(e)).type="mousemove";return this};b._bind=function(e,i,n,r,s){if(!e||!n||!i.length){return}var o="."+this._id+(r?"-"+r:"");t(e).bind((i.split?i:i.join(o+" "))+o,t.proxy(n,s||this));return this};b._unbind=function(e,i){e&&t(e).unbind("."+this._id+(i?"-"+i:""));return this};function tt(e,i,n){t(a.body).delegate(e,(i.split?i:i.join("."+T+" "))+"."+T,(function(){var e=_.api[t.attr(this,S)];e&&!e.disabled&&n.apply(e,arguments)}))}b._trigger=function(e,r,s){var o=new t.Event("tooltip"+e);o.originalEvent=s&&t.extend({},s)||this.cache.event||n;this.triggering=e;this.tooltip.trigger(o,[this].concat(r||[]));this.triggering=i;return!o.isDefaultPrevented()};b._bindEvents=function(e,i,n,r,s,o){var a=n.filter(r).add(r.filter(n)),l=[];if(a.length){t.each(i,(function(i,n){var r=t.inArray(n,e);r>-1&&l.push(e.splice(r,1)[0])}));if(l.length){this._bind(a,l,(function(t){var e=this.rendered?this.tooltip[0].offsetWidth>0:false;(e?o:s).call(this,t)}));n=n.not(a);r=r.not(a)}}this._bind(n,e,s);this._bind(r,i,o)};b._assignInitialEvents=function(n){var r=this.options,s=r.show.target,o=r.hide.target,a=r.show.event?t.trim(""+r.show.event).split(" "):[],l=r.hide.event?t.trim(""+r.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],(function(){this.destroy(true)}),"destroy");if(/mouse(over|enter)/i.test(r.show.event)&&!/mouse(out|leave)/i.test(r.hide.event)){l.push("mouseleave")}this._bind(s,"mousemove",(function(t){this._storeMouse(t);this.cache.onTarget=e}));function u(e){if(this.disabled||this.destroyed){return i}this.cache.event=e&&t.event.fix(e);this.cache.target=e&&t(e.target);clearTimeout(this.timers.show);this.timers.show=X.call(this,(function(){this.render(typeof e==="object"||r.show.ready)}),r.prerender?0:r.show.delay)}this._bindEvents(a,l,s,o,u,(function(){if(!this.timers){return i}clearTimeout(this.timers.show)}));if(r.show.ready||r.prerender){u.call(this,n)}};b._assignEvents=function(){var e=this,n=this.options,r=n.position,s=this.tooltip,l=n.show.target,u=n.hide.target,f=r.container,c=r.viewport,h=t(a),p=t(o),d=n.show.event?t.trim(""+n.show.event).split(" "):[],g=n.hide.event?t.trim(""+n.hide.event).split(" "):[];t.each(n.events,(function(t,i){e._bind(s,t==="toggle"?["tooltipshow","tooltiphide"]:["tooltip"+t],i,null,s)}));if(/mouse(out|leave)/i.test(n.hide.event)&&n.hide.leave==="window"){this._bind(h,["mouseout","blur"],(function(t){if(!/select|option/.test(t.target.nodeName)&&!t.relatedTarget){this.hide(t)}}))}if(n.hide.fixed){u=u.add(s.addClass(E))}else if(/mouse(over|enter)/i.test(n.show.event)){this._bind(u,"mouseleave",(function(){clearTimeout(this.timers.show)}))}if((""+n.hide.event).indexOf("unfocus")>-1){this._bind(f.closest("html"),["mousedown","touchstart"],(function(e){var i=t(e.target),n=this.rendered&&!this.tooltip.hasClass(z)&&this.tooltip[0].offsetWidth>0,r=i.parents(A).filter(this.tooltip[0]).length>0;if(i[0]!==this.target[0]&&i[0]!==this.tooltip[0]&&!r&&!this.target.has(i[0]).length&&n){this.hide(e)}}))}if("number"===typeof n.hide.inactive){this._bind(l,"qtip-"+this.id+"-inactive",J,"inactive");this._bind(u.add(s),_.inactiveEvents,J)}this._bindEvents(d,g,l,u,Y,K);this._bind(l.add(s),"mousemove",(function(t){if("number"===typeof n.hide.distance){var e=this.cache.origin||{},i=this.options.hide.distance,r=Math.abs;if(r(t.pageX-e.pageX)>=i||r(t.pageY-e.pageY)>=i){this.hide(t)}}this._storeMouse(t)}));if(r.target==="mouse"){if(r.adjust.mouse){if(n.hide.event){this._bind(l,["mouseenter","mouseleave"],(function(t){if(!this.cache){return i}this.cache.onTarget=t.type==="mouseenter"}))}this._bind(h,"mousemove",(function(t){if(this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(z)&&this.tooltip[0].offsetWidth>0){this.reposition(t)}}))}}if(r.adjust.resize||c.length){this._bind(t.event.special.resize?c:p,"resize",Z)}if(r.adjust.scroll){this._bind(p.add(r.container),"scroll",Z)}};b._unassignEvents=function(){var e=this.options,i=e.show.target,n=e.hide.target,r=t.grep([this.elements.target[0],this.rendered&&this.tooltip[0],e.position.container[0],e.position.viewport[0],e.position.container.closest("html")[0],o,a],(function(t){return typeof t==="object"}));if(i&&i.toArray){r=r.concat(i.toArray())}if(n&&n.toArray){r=r.concat(n.toArray())}this._unbind(r)._unbind(r,"destroy")._unbind(r,"inactive")};t((function(){tt(A,["mouseenter","mouseleave"],(function(e){var i=e.type==="mouseenter",n=t(e.currentTarget),r=t(e.relatedTarget||e.target),s=this.options;if(i){this.focus(e);n.hasClass(E)&&!n.hasClass(z)&&clearTimeout(this.timers.hide)}else{if(s.position.target==="mouse"&&s.position.adjust.mouse&&s.hide.event&&s.show.target&&!r.closest(s.show.target[0]).length){this.hide(e)}}n.toggleClass(I,i)}));tt("["+S+"]",D,J)}));function et(r,s,o){var l,u,f,c,h,p=t(a.body),d=r[0]===a?p:r,g=r.metadata?r.metadata(o.metadata):n,m=o.metadata.type==="html5"&&g?g[o.metadata.name]:n,v=r.data(o.metadata.name||"qtipopts");try{v=typeof v==="string"?t.parseJSON(v):v}catch(t){}c=t.extend(e,{},_.defaults,o,typeof v==="object"?R(v):n,R(m||g));u=c.position;c.id=s;if("boolean"===typeof c.content.text){f=r.attr(c.content.attr);if(c.content.attr!==i&&f){c.content.text=f}else{return i}}if(!u.container.length){u.container=p}if(u.target===i){u.target=d}if(c.show.target===i){c.show.target=d}if(c.show.solo===e){c.show.solo=u.container.closest("body")}if(c.hide.target===i){c.hide.target=d}if(c.position.viewport===e){c.position.viewport=u.container}u.container=u.container.eq(0);u.at=new w(u.at,e);u.my=new w(u.my);if(r.data(T)){if(c.overwrite){r.qtip("destroy",true)}else if(c.overwrite===i){return i}}r.attr(k,s);if(c.suppress&&(h=r.attr("title"))){r.removeAttr("title").attr(M,h).attr("title","")}l=new L(r,c,s,!!f);r.data(T,l);return l}_=t.fn.qtip=function(r,s,o){var a=(""+r).toLowerCase(),u=n,f=t.makeArray(arguments).slice(1),c=f[f.length-1],h=this[0]?t.data(this[0],T):n;if(!arguments.length&&h||a==="api"){return h}else if("string"===typeof r){this.each((function(){var n=t.data(this,T);if(!n){return e}if(c&&c.timeStamp){n.cache.event=c}if(s&&(a==="option"||a==="options")){if(o!==l||t.isPlainObject(s)){n.set(s,o)}else{u=n.get(s);return i}}else if(n[a]){n[a].apply(n,f)}}));return u!==n?u:this}else if("object"===typeof r||!arguments.length){h=R(t.extend(e,{},r));return this.each((function(n){var r,s;s=t.isArray(h.id)?h.id[n]:h.id;s=!s||s===i||s.length<1||_.api[s]?_.nextid++:s;r=et(t(this),s,h);if(r===i){return e}else{_.api[s]=r}t.each(C,(function(){if(this.initialize==="initialize"){this(r)}}));r._assignInitialEvents(c)}))}};t.qtip=L;_.api={};t.each({attr:function(e,i){if(this.length){var n=this[0],r="title",s=t.data(n,"qtip");if(e===r&&s&&s.options&&"object"===typeof s&&"object"===typeof s.options&&s.options.suppress){if(arguments.length<2){return t.attr(n,M)}if(s&&s.options.content.attr===r&&s.cache.attr){s.set("content.text",i)}return this.attr(M,i)}}return t.fn["attr"+H].apply(this,arguments)},clone:function(e){var i=t.fn["clone"+H].apply(this,arguments);if(!e){i.filter("["+M+"]").attr("title",(function(){return t.attr(this,M)})).removeAttr(M)}return i}},(function(i,n){if(!n||t.fn[i+H]){return e}var r=t.fn[i+H]=t.fn[i];t.fn[i]=function(){return n.apply(this,arguments)||r.apply(this,arguments)}}));if(!t.ui){t["cleanData"+H]=t.cleanData;t.cleanData=function(e){for(var i=0,n;(n=t(e[i])).length;i++){if(n.attr(k)){try{n.triggerHandler("removeqtip")}catch(t){}}}t["cleanData"+H].apply(this,arguments)}}_.version="3.0.3";_.nextid=0;_.inactiveEvents=D;_.zindex=15e3;_.defaults={prerender:i,id:i,overwrite:e,suppress:e,content:{text:e,attr:"title",title:i,button:i},position:{my:"top left",at:"bottom right",target:i,container:i,viewport:i,adjust:{x:0,y:0,mouse:e,scroll:e,resize:e,method:"flipinvert flipinvert"},effect:function(e,n){t(this).animate(n,{duration:200,queue:i})}},show:{target:i,event:"mouseenter",effect:e,delay:90,solo:i,ready:i,autofocus:i},hide:{target:i,event:"mouseleave",effect:e,delay:0,fixed:i,inactive:i,leave:"window",distance:i},style:{classes:"",widget:i,width:i,height:i,def:e},events:{render:n,move:n,show:n,hide:n,toggle:n,visible:n,hidden:n,focus:n,blur:n}};var it,nt,rt,st,ot,at="margin",lt="border",ut="color",ft="background-color",ct="transparent",ht=" !important",pt=!!a.createElement("canvas").getContext,dt=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function gt(t){return t.charAt(0).toUpperCase()+t.slice(1)}var mt={},vt=["Webkit","O","Moz","ms"];function yt(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1),n=(e+" "+vt.join(i+" ")+i).split(" "),r,s,o=0;if(mt[e]){return t.css(mt[e])}while(r=n[o++]){if((s=t.css(r))!==l){mt[e]=r;return s}}}function _t(t,e){return Math.ceil(parseFloat(yt(t,e)))}if(!pt){nt=function(t,e,i){return"<qtipvml:"+t+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(e||"")+' style="behavior: url(#default#VML); '+(i||"")+'" />'}}else{st=o.devicePixelRatio||1;ot=function(){var t=a.createElement("canvas").getContext("2d");return t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||1}();rt=st/ot}function bt(t,e){this._ns="tip";this.options=e;this.offset=e.offset;this.size=[e.width,e.height];this.qtip=t;this.init(t)}t.extend(bt.prototype,{init:function(e){var i,n;n=this.element=e.elements.tip=t("<div />",{class:T+"-tip"}).prependTo(e.tooltip);if(pt){i=t("<canvas />").appendTo(this.element)[0].getContext("2d");i.lineJoin="miter";i.miterLimit=1e5;i.save()}else{i=nt("shape",'coordorigin="0,0"',"position:absolute;");this.element.html(i+i);e._bind(t("*",n).add(n),["click","mousedown"],(function(t){t.stopPropagation()}),this._ns)}e._bind(e.tooltip,"tooltipmove",this.reposition,this._ns,this);this.create()},_swapDimensions:function(){this.size[0]=this.options.height;this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width;this.size[1]=this.options.height},_useTitle:function(t){var i=this.qtip.elements.titlebar;return i&&(t.y===c||t.y===g&&this.element.position().top+this.size[1]/2+this.options.offset<i.outerHeight(e))},_parseCorner:function(t){var n=this.qtip.options.position.my;if(t===i||n===i){t=i}else if(t===e){t=new w(n.string())}else if(!t.string){t=new w(t);t.fixed=e}return t},_parseWidth:function(t,e,i){var n=this.qtip.elements,r=lt+gt(e)+"Width";return(i?_t(i,r):_t(n.content,r)||_t(this._useTitle(t)&&n.titlebar||n.content,r)||_t(n.tooltip,r))||0},_parseRadius:function(t){var e=this.qtip.elements,i=lt+gt(t.y)+gt(t.x)+"Radius";return W.ie<9?0:_t(this._useTitle(t)&&e.titlebar||e.content,i)||_t(e.tooltip,i)||0},_invalidColour:function(t,e,n){var r=t.css(e);return!r||n&&r===t.css(n)||dt.test(r)?i:r},_parseColours:function(e){var i=this.qtip.elements,n=this.element.css("cssText",""),r=lt+gt(e[e.precedance])+gt(ut),s=this._useTitle(e)&&i.titlebar||i.content,o=this._invalidColour,a=[];a[0]=o(n,ft)||o(s,ft)||o(i.content,ft)||o(i.tooltip,ft)||n.css(ft);a[1]=o(n,r,ut)||o(s,r,ut)||o(i.content,r,ut)||o(i.tooltip,r,ut)||i.tooltip.css(r);t("*",n).add(n).css("cssText",ft+":"+ct+ht+";"+lt+":0"+ht+";");return a},_calculateSize:function(t){var e=t.precedance===s,i=this.options.width,n=this.options.height,r=t.abbrev()==="c",o=(e?i:n)*(r?.5:1),a=Math.pow,l=Math.round,u,f,c,h=Math.sqrt(a(o,2)+a(n,2)),p=[this.border/o*h,this.border/n*h];p[2]=Math.sqrt(a(p[0],2)-a(this.border,2));p[3]=Math.sqrt(a(p[1],2)-a(this.border,2));u=h+p[2]+p[3]+(r?0:p[0]);f=u/h;c=[l(f*i),l(f*n)];return e?c:c.reverse()},_calculateTip:function(t,e,i){i=i||1;e=e||this.size;var n=e[0]*i,r=e[1]*i,s=Math.ceil(n/2),o=Math.ceil(r/2),a={br:[0,0,n,r,n,0],bl:[0,0,n,0,0,r],tr:[0,r,n,0,n,r],tl:[0,0,0,r,n,r],tc:[0,r,s,0,n,r],bc:[0,0,n,0,s,r],rc:[0,0,n,o,0,r],lc:[n,0,n,r,0,o]};a.lt=a.br;a.rt=a.bl;a.lb=a.tr;a.rb=a.tl;return a[t.abbrev()]},_drawCoords:function(t,e){t.beginPath();t.moveTo(e[0],e[1]);t.lineTo(e[2],e[3]);t.lineTo(e[4],e[5]);t.closePath()},create:function(){var t=this.corner=(pt||W.ie)&&this._parseCorner(this.options.corner);this.enabled=!!this.corner&&this.corner.abbrev()!=="c";if(this.enabled){this.qtip.cache.corner=t.clone();this.update()}this.element.toggle(this.enabled);return this.corner},update:function(n,a){if(!this.enabled){return this}var l=this.qtip.elements,m=this.element,v=m.children(),y=this.options,_=this.size,b=y.mimic,x=Math.round,C,T,k,S,j,A,D,E;if(!n){n=this.qtip.cache.corner||this.corner}if(b===i){b=n}else{b=new w(b);b.precedance=n.precedance;if(b.x==="inherit"){b.x=n.x}else if(b.y==="inherit"){b.y=n.y}else if(b.x===b.y){b[n.precedance]=n[n.precedance]}}T=b.precedance;if(n.precedance===r){this._swapDimensions()}else{this._resetDimensions()}C=this.color=this._parseColours(n);if(C[1]!==ct){E=this.border=this._parseWidth(n,n[n.precedance]);if(y.border&&E<1&&!dt.test(C[1])){C[0]=C[1]}this.border=E=y.border!==e?y.border:E}else{this.border=E=0}D=this.size=this._calculateSize(n);m.css({width:D[0],height:D[1],lineHeight:D[1]+"px"});if(n.precedance===s){A=[x(b.x===h?E:b.x===d?D[0]-_[0]-E:(D[0]-_[0])/2),x(b.y===c?D[1]-_[1]:0)]}else{A=[x(b.x===h?D[0]-_[0]:0),x(b.y===c?E:b.y===p?D[1]-_[1]-E:(D[1]-_[1])/2)]}if(pt){k=v[0].getContext("2d");k.restore();k.save();k.clearRect(0,0,6e3,6e3);S=this._calculateTip(b,_,rt);j=this._calculateTip(b,this.size,rt);v.attr(u,D[0]*rt).attr(f,D[1]*rt);v.css(u,D[0]).css(f,D[1]);this._drawCoords(k,j);k.fillStyle=C[1];k.fill();k.translate(A[0]*rt,A[1]*rt);this._drawCoords(k,S);k.fillStyle=C[0];k.fill()}else{S=this._calculateTip(b);S="m"+S[0]+","+S[1]+" l"+S[2]+","+S[3]+" "+S[4]+","+S[5]+" xe";A[2]=E&&/^(r|b)/i.test(n.string())?W.ie===8?2:1:0;v.css({coordsize:D[0]+E+" "+D[1]+E,antialias:""+(b.string().indexOf(g)>-1),left:A[0]-A[2]*Number(T===r),top:A[1]-A[2]*Number(T===s),width:D[0]+E,height:D[1]+E}).each((function(e){var i=t(this);i[i.prop?"prop":"attr"]({coordsize:D[0]+E+" "+D[1]+E,path:S,fillcolor:C[0],filled:!!e,stroked:!e}).toggle(!!(E||e));!e&&i.html(nt("stroke",'weight="'+E*2+'px" color="'+C[1]+'" miterlimit="1000" joinstyle="miter"'))}))}o.opera&&setTimeout((function(){l.tip.css({display:"inline-block",visibility:"visible"})}),1);if(a!==i){this.calculate(n,D)}},calculate:function(e,n){if(!this.enabled){return i}var o=this,a=this.qtip.elements,l=this.element,u=this.options.offset,f={},p,d;e=e||this.corner;p=e.precedance;n=n||this._calculateSize(e);d=[e.x,e.y];if(p===r){d.reverse()}t.each(d,(function(t,i){var r,l,d;if(i===g){r=p===s?h:c;f[r]="50%";f[at+"-"+r]=-Math.round(n[p===s?0:1]/2)+u}else{r=o._parseWidth(e,i,a.tooltip);l=o._parseWidth(e,i,a.content);d=o._parseRadius(e);f[i]=Math.max(-o.border,t?l:u+(d>r?d:-r))}}));f[e[p]]-=n[p===r?0:1];l.css({margin:"",top:"",bottom:"",left:"",right:""}).css(f);return f},reposition:function(t,n,o){if(!this.enabled){return}var a=n.cache,u=this.corner.clone(),f=o.adjusted,m=n.options.position.adjust.method.split(" "),v=m[0],_=m[1]||m[0],b={left:i,top:i,x:0,y:0},w,x={},C;function T(t,e,i,n,o){if(t===y&&u.precedance===e&&f[n]&&u[i]!==g){u.precedance=u.precedance===r?s:r}else if(t!==y&&f[n]){u[e]=u[e]===g?f[n]>0?n:o:u[e]===n?o:n}}function k(t,e,n){if(u[t]===g){x[at+"-"+e]=b[t]=w[at+"-"+e]-f[e]}else{C=w[n]!==l?[f[e],-w[e]]:[-f[e],w[e]];if((b[t]=Math.max(C[0],C[1]))>C[0]){o[e]-=f[e];b[e]=i}x[w[n]!==l?n:e]=b[t]}}if(this.corner.fixed!==e){T(v,r,s,h,d);T(_,s,r,c,p);if(u.string()!==a.corner.string()||a.cornerTop!==f.top||a.cornerLeft!==f.left){this.update(u,i)}}w=this.calculate(u);if(w.right!==l){w.left=-w.right}if(w.bottom!==l){w.top=-w.bottom}w.user=this.offset;b.left=v===y&&!!f.left;if(b.left){k(r,h,d)}b.top=_===y&&!!f.top;if(b.top){k(s,c,p)}this.element.css(x).toggle(!(b.x&&b.y||u.x===g&&b.y||u.y===g&&b.x));o.left-=w.left.charAt?w.user:v!==y||b.top||!b.left&&!b.top?w.left+this.border:0;o.top-=w.top.charAt?w.user:_!==y||b.left||!b.left&&!b.top?w.top+this.border:0;a.cornerLeft=f.left;a.cornerTop=f.top;a.corner=u.clone()},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns);if(this.qtip.elements.tip){this.qtip.elements.tip.find("*").remove().end().remove()}}});it=C.tip=function(t){return new bt(t,t.options.style.tip)};it.initialize="render";it.sanitize=function(t){if(t.style&&"tip"in t.style){var i=t.style.tip;if(typeof i!=="object"){i=t.style.tip={corner:i}}if(!/string|boolean/i.test(typeof i.corner)){i.corner=e}}};x.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create();this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=[t.width,t.height];this.update();this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}};t.extend(e,_.defaults,{style:{tip:{corner:e,mimic:i,width:6,height:6,border:e,offset:0}}});var wt,xt,Ct="qtip-modal",Tt="."+Ct;xt=function(){var r=this,s={},o,l,u;function f(e){if(t.expr[":"].focusable){return t.expr[":"].focusable}var i=!isNaN(t.attr(e,"tabindex")),n=e.nodeName&&e.nodeName.toLowerCase(),r,s,o;if("area"===n){r=e.parentNode;s=r.name;if(!e.href||!s||r.nodeName.toLowerCase()!=="map"){return false}o=t("img[usemap=#"+s+"]")[0];return!!o&&o.is(":visible")}return/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||i:i}function c(t){if(s.length<1&&t.length){t.not("body").blur()}else{s.first().focus()}}function h(e){if(!u.is(":visible")){return}var n=t(e.target),r=o.tooltip,s=n.closest(A),a;a=s.length<1?i:parseInt(s[0].style.zIndex,10)>parseInt(r[0].style.zIndex,10);if(!a&&n.closest(A)[0]!==r[0]){c(n)}}t.extend(r,{init:function(){u=r.elem=t("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return i}}).hide();t(a.body).bind("focusin"+Tt,h);t(a).bind("keydown"+Tt,(function(t){if(o&&o.options.show.modal.escape&&t.keyCode===27){o.hide(t)}}));u.bind("click"+Tt,(function(t){if(o&&o.options.show.modal.blur){o.hide(t)}}));return r},update:function(t){o=t;if(t.options.show.modal.stealfocus!==i){s=t.tooltip.find("*").filter((function(){return f(this)}))}else{s=[]}},toggle:function(s,f,h){var p=s.tooltip,d=s.options.show.modal,g=d.effect,m=f?"show":"hide",v=u.is(":visible"),y=t(Tt).filter(":visible:not(:animated)").not(p);r.update(s);if(f&&d.stealfocus!==i){c(t(":focus"))}u.toggleClass("blurs",d.blur);if(f){u.appendTo(a.body)}if(u.is(":animated")&&v===f&&l!==i||!f&&y.length){return r}u.stop(e,i);if(t.isFunction(g)){g.call(u,f)}else if(g===i){u[m]()}else{u.fadeTo(parseInt(h,10)||90,f?1:0,(function(){if(!f){u.hide()}}))}if(!f){u.queue((function(e){u.css({left:"",top:""});if(!t(Tt).length){u.detach()}e()}))}l=f;if(o.destroyed){o=n}return r}});r.init()};xt=new xt;function kt(t,e){this.options=e;this._ns="-modal";this.qtip=t;this.init(t)}t.extend(kt.prototype,{init:function(e){var i=e.tooltip;if(!this.options.on){return this}e.elements.overlay=xt.elem;i.addClass(Ct).css("z-index",_.modal_zindex+t(Tt).length);e._bind(i,["tooltipshow","tooltiphide"],(function(e,n,r){var s=e.originalEvent;if(e.target===i[0]){if(s&&e.type==="tooltiphide"&&/mouse(leave|enter)/.test(s.type)&&t(s.relatedTarget).closest(xt.elem[0]).length){try{e.preventDefault()}catch(t){}}else if(!s||s&&s.type!=="tooltipsolo"){this.toggle(e,e.type==="tooltipshow",r)}}}),this._ns,this);e._bind(i,"tooltipfocus",(function(e,n){if(e.isDefaultPrevented()||e.target!==i[0]){return}var r=t(Tt),s=_.modal_zindex+r.length,o=parseInt(i[0].style.zIndex,10);xt.elem[0].style.zIndex=s-1;r.each((function(){if(this.style.zIndex>o){this.style.zIndex-=1}}));r.filter("."+O).qtip("blur",e.originalEvent);i.addClass(O)[0].style.zIndex=s;xt.update(n);try{e.preventDefault()}catch(t){}}),this._ns,this);e._bind(i,"tooltiphide",(function(e){if(e.target===i[0]){t(Tt).filter(":visible").not(i).last().qtip("focus",e)}}),this._ns,this)},toggle:function(t,e,i){if(t&&t.isDefaultPrevented()){return this}xt.toggle(this.qtip,!!e,i)},destroy:function(){this.qtip.tooltip.removeClass(Ct);this.qtip._unbind(this.qtip.tooltip,this._ns);xt.toggle(this.qtip,i);delete this.qtip.elements.overlay}});wt=C.modal=function(t){return new kt(t,t.options.show.modal)};wt.sanitize=function(t){if(t.show){if(typeof t.show.modal!=="object"){t.show.modal={on:!!t.show.modal}}else if(typeof t.show.modal.on==="undefined"){t.show.modal.on=e}}};_.modal_zindex=_.zindex-200;wt.initialize="render";x.modal={"^show.modal.(on|blur)$":function(){this.destroy();this.init();this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}};t.extend(e,_.defaults,{show:{modal:{on:i,effect:e,blur:e,stealfocus:e,escape:e}}});C.viewport=function(t,e,n,l,m,_,b){var w=n.target,x=t.elements.tooltip,C=n.my,T=n.at,k=n.adjust,S=k.method.split(" "),j=S[0],A=S[1]||S[0],D=n.viewport,E=n.container,P={left:0,top:0},O,I,z,H,M,N,W,L;if(!D.jquery||w[0]===o||w[0]===a.body||k.method==="none"){return P}z=E.offset()||P;H=E.css("position")==="static";O=x.css("position")==="fixed";M=D[0]===o?D.width():D.outerWidth(i);N=D[0]===o?D.height():D.outerHeight(i);W={left:O?0:D.scrollLeft(),top:O?0:D.scrollTop()};L=D.offset()||P;function q(t,i,n,r,s,o,a,l,f){var c=e[s],h=C[t],p=T[t],d=n===y,m=h===s?f:h===o?-f:-f/2,_=p===s?l:p===o?-l:-l/2,b=W[s]+L[s]-(H?0:z[s]),w=b-c,x=c+f-(a===u?M:N)-b,k=m-(C.precedance===t||h===C[i]?_:0)-(p===g?l/2:0);if(d){k=(h===s?1:-1)*m;e[s]+=w>0?w:x>0?-x:0;e[s]=Math.max(-z[s]+L[s],c-k,Math.min(Math.max(-z[s]+L[s]+(a===u?M:N),c+k),e[s],h==="center"?c-m:1e9))}else{r*=n===v?2:0;if(w>0&&(h!==s||x>0)){e[s]-=k+r;I.invert(t,s)}else if(x>0&&(h!==o||w>0)){e[s]-=(h===g?-k:k)+r;I.invert(t,o)}if(e[s]<W[s]&&-e[s]>x){e[s]=c;I=C.clone()}}return e[s]-c}if(j!=="shift"||A!=="shift"){I=C.clone()}P={left:j!=="none"?q(r,s,j,k.x,h,d,u,l,_):0,top:A!=="none"?q(s,r,A,k.y,c,p,f,m,b):0,my:I};return P};C.polys={polygon:function(t,e){var n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:i},r=0,s,o=[],a=1,l=1,u=0,f=0,m,v;r=t.length;while(r--){s=[parseInt(t[--r],10),parseInt(t[r+1],10)];if(s[0]>n.position.right){n.position.right=s[0]}if(s[0]<n.position.left){n.position.left=s[0]}if(s[1]>n.position.bottom){n.position.bottom=s[1]}if(s[1]<n.position.top){n.position.top=s[1]}o.push(s)}m=n.width=Math.abs(n.position.right-n.position.left);v=n.height=Math.abs(n.position.bottom-n.position.top);if(e.abbrev()==="c"){n.position={left:n.position.left+n.width/2,top:n.position.top+n.height/2}}else{while(m>0&&v>0&&a>0&&l>0){m=Math.floor(m/2);v=Math.floor(v/2);if(e.x===h){a=m}else if(e.x===d){a=n.width-m}else{a+=Math.floor(m/2)}if(e.y===c){l=v}else if(e.y===p){l=n.height-v}else{l+=Math.floor(v/2)}r=o.length;while(r--){if(o.length<2){break}u=o[r][0]-n.position.left;f=o[r][1]-n.position.top;if(e.x===h&&u>=a||e.x===d&&u<=a||e.x===g&&(u<a||u>n.width-a)||e.y===c&&f>=l||e.y===p&&f<=l||e.y===g&&(f<l||f>n.height-l)){o.splice(r,1)}}}n.position={left:o[0][0],top:o[0][1]}}return n},rect:function(t,e,i,n){return{width:Math.abs(i-t),height:Math.abs(n-e),position:{left:Math.min(t,i),top:Math.min(e,n)}}},_angles:{tc:3/2,tr:7/4,tl:5/4,bc:1/2,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(t,e,n,r,s){var o=C.polys._angles[s.abbrev()],a=o===0?0:n*Math.cos(o*Math.PI),l=r*Math.sin(o*Math.PI);return{width:n*2-Math.abs(a),height:r*2-Math.abs(l),position:{left:t+a,top:e+l},adjustable:i}},circle:function(t,e,i,n){return C.polys.ellipse(t,e,i,i,n)}};C.svg=function(e,n,r){var s=n[0],o=t(s.ownerSVGElement),l=s.ownerDocument,u=(parseInt(n.css("stroke-width"),10)||0)/2,f,c,h,p,d,g,m,v,y;while(!s.getBBox){s=s.parentNode}if(!s.getBBox||!s.parentNode){return i}switch(s.nodeName){case"ellipse":case"circle":v=C.polys.ellipse(s.cx.baseVal.value,s.cy.baseVal.value,(s.rx||s.r).baseVal.value+u,(s.ry||s.r).baseVal.value+u,r);break;case"line":case"polygon":case"polyline":m=s.points||[{x:s.x1.baseVal.value,y:s.y1.baseVal.value},{x:s.x2.baseVal.value,y:s.y2.baseVal.value}];for(v=[],g=-1,p=m.numberOfItems||m.length;++g<p;){d=m.getItem?m.getItem(g):m[g];v.push.apply(v,[d.x,d.y])}v=C.polys.polygon(v,r);break;default:v=s.getBBox();v={width:v.width,height:v.height,position:{left:v.x,top:v.y}};break}y=v.position;o=o[0];if(o.createSVGPoint){c=s.getScreenCTM();m=o.createSVGPoint();m.x=y.left;m.y=y.top;h=m.matrixTransform(c);y.left=h.x;y.top=h.y}if(l!==a&&e.position.target!=="mouse"){f=t((l.defaultView||l.parentWindow).frameElement).offset();if(f){y.left+=f.left;y.top+=f.top}}l=t(l);y.left+=l.scrollLeft();y.top+=l.scrollTop();return v};C.imagemap=function(e,n,r){if(!n.jquery){n=t(n)}var s=(n.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),o=t('img[usemap="#'+n.parent("map").attr("name")+'"]'),a=t.trim(n.attr("coords")),l=a.replace(/,$/,"").split(","),u,f,c,h,p;if(!o.length){return i}if(s==="polygon"){h=C.polys.polygon(l,r)}else if(C.polys[s]){for(c=-1,p=l.length,f=[];++c<p;){f.push(parseInt(l[c],10))}h=C.polys[s].apply(this,f.concat(r))}else{return i}u=o.offset();u.left+=Math.ceil((o.outerWidth(i)-o.width())/2);u.top+=Math.ceil((o.outerHeight(i)-o.height())/2);h.position.left+=u.left;h.position.top+=u.top;return h};var St,jt='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';" '+' style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); '+'-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';function At(t){this._ns="ie6";this.qtip=t;this.init(t)}t.extend(At.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=t(o).scrollTop()+"px")},init:function(e){var i=e.tooltip;if(t("select, object").length<1){this.bgiframe=e.elements.bgiframe=t(jt).appendTo(i);e._bind(i,"tooltipmove",this.adjustBGIFrame,this._ns,this)}this.redrawContainer=t("<div/>",{id:T+"-rcontainer"}).appendTo(a.body);if(e.elements.overlay&&e.elements.overlay.addClass("qtipmodal-ie6fix")){e._bind(o,["scroll","resize"],this._scroll,this._ns,this);e._bind(i,["tooltipshow"],this._scroll,this._ns,this)}this.redraw()},adjustBGIFrame:function(){var t=this.qtip.tooltip,e={height:t.outerHeight(i),width:t.outerWidth(i)},n=this.qtip.plugins.tip,r=this.qtip.elements.tip,s,o;o=parseInt(t.css("borderLeftWidth"),10)||0;o={left:-o,top:-o};if(n&&r){s=n.corner.precedance==="x"?[u,h]:[f,c];o[s[1]]-=r[s[0]]()}this.bgiframe.css(o).css(e)},redraw:function(){if(this.qtip.rendered<1||this.drawing){return this}var t=this.qtip.tooltip,e=this.qtip.options.style,i=this.qtip.options.position.container,n,r,s,o;this.qtip.drawing=1;if(e.height){t.css(f,e.height)}if(e.width){t.css(u,e.width)}else{t.css(u,"").appendTo(this.redrawContainer);r=t.width();if(r%2<1){r+=1}s=t.css("maxWidth")||"";o=t.css("minWidth")||"";n=(s+o).indexOf("%")>-1?i.width()/100:0;s=(s.indexOf("%")>-1?n:1*parseInt(s,10))||r;o=(o.indexOf("%")>-1?n:1*parseInt(o,10))||0;r=s+o?Math.min(Math.max(r,o),s):r;t.css(u,Math.round(r)).appendTo(i)}this.drawing=0;return this},destroy:function(){this.bgiframe&&this.bgiframe.remove();this.qtip._unbind([o,this.qtip.tooltip],this._ns)}});St=C.ie6=function(t){return W.ie===6?new At(t):i};St.initialize="render";x.ie6={"^content|style$":function(){this.redraw()}}}))})(window,document)},function(t,e,i){},function(t,e,i){(function(n){var r,s,o;var a;var a;
/*!
* Select2 4.0.13
* https://select2.github.io
*
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/(function(n){if(true){!(s=[i(2)],r=n,o=typeof r==="function"?r.apply(e,s):r,o!==undefined&&(t.exports=o))}else{}})((function(e){var i=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd){var i=e.fn.select2.amd}var i;(function(){if(!i||!i.requirejs){if(!i){i={}}else{e=i}
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/var t,e,n;(function(i){var r,s,o,a,l={},u={},f={},c={},h=Object.prototype.hasOwnProperty,p=[].slice,d=/\.js$/;function g(t,e){return h.call(t,e)}function m(t,e){var i,n,r,s,o,a,l,u,c,h,p,g,m=e&&e.split("/"),v=f.map,y=v&&v["*"]||{};if(t){t=t.split("/");o=t.length-1;if(f.nodeIdCompat&&d.test(t[o])){t[o]=t[o].replace(d,"")}if(t[0].charAt(0)==="."&&m){g=m.slice(0,m.length-1);t=g.concat(t)}for(c=0;c<t.length;c++){p=t[c];if(p==="."){t.splice(c,1);c-=1}else if(p===".."){if(c===0||c===1&&t[2]===".."||t[c-1]===".."){continue}else if(c>0){t.splice(c-1,2);c-=2}}}t=t.join("/")}if((m||y)&&v){i=t.split("/");for(c=i.length;c>0;c-=1){n=i.slice(0,c).join("/");if(m){for(h=m.length;h>0;h-=1){r=v[m.slice(0,h).join("/")];if(r){r=r[n];if(r){s=r;a=c;break}}}}if(s){break}if(!l&&y&&y[n]){l=y[n];u=c}}if(!s&&l){s=l;a=u}if(s){i.splice(0,a,s);t=i.join("/")}}return t}function v(t,e){return function(){var n=p.call(arguments,0);if(typeof n[0]!=="string"&&n.length===1){n.push(null)}return s.apply(i,n.concat([t,e]))}}function y(t){return function(e){return m(e,t)}}function _(t){return function(e){l[t]=e}}function b(t){if(g(u,t)){var e=u[t];delete u[t];c[t]=true;r.apply(i,e)}if(!g(l,t)&&!g(c,t)){throw new Error("No "+t)}return l[t]}function w(t){var e,i=t?t.indexOf("!"):-1;if(i>-1){e=t.substring(0,i);t=t.substring(i+1,t.length)}return[e,t]}function x(t){return t?w(t):[]}o=function(t,e){var i,n=w(t),r=n[0],s=e[1];t=n[1];if(r){r=m(r,s);i=b(r)}if(r){if(i&&i.normalize){t=i.normalize(t,y(s))}else{t=m(t,s)}}else{t=m(t,s);n=w(t);r=n[0];t=n[1];if(r){i=b(r)}}return{f:r?r+"!"+t:t,n:t,pr:r,p:i}};function C(t){return function(){return f&&f.config&&f.config[t]||{}}}a={require:function(t){return v(t)},exports:function(t){var e=l[t];if(typeof e!=="undefined"){return e}else{return l[t]={}}},module:function(t){return{id:t,uri:"",exports:l[t],config:C(t)}}};r=function(t,e,n,r){var s,f,h,p,d,m,y=[],w=typeof n,C;r=r||t;m=x(r);if(w==="undefined"||w==="function"){e=!e.length&&n.length?["require","exports","module"]:e;for(d=0;d<e.length;d+=1){p=o(e[d],m);f=p.f;if(f==="require"){y[d]=a.require(t)}else if(f==="exports"){y[d]=a.exports(t);C=true}else if(f==="module"){s=y[d]=a.module(t)}else if(g(l,f)||g(u,f)||g(c,f)){y[d]=b(f)}else if(p.p){p.p.load(p.n,v(r,true),_(f),{});y[d]=l[f]}else{throw new Error(t+" missing "+f)}}h=n?n.apply(l[t],y):undefined;if(t){if(s&&s.exports!==i&&s.exports!==l[t]){l[t]=s.exports}else if(h!==i||!C){l[t]=h}}}else if(t){l[t]=n}};t=e=s=function(t,e,n,l,u){if(typeof t==="string"){if(a[t]){return a[t](e)}return b(o(t,x(e)).f)}else if(!t.splice){f=t;if(f.deps){s(f.deps,f.callback)}if(!e){return}if(e.splice){t=e;e=n;n=null}else{t=i}}e=e||function(){};if(typeof n==="function"){n=l;l=u}if(l){r(i,t,e,n)}else{setTimeout((function(){r(i,t,e,n)}),4)}return s};s.config=function(t){return s(t)};t._defined=l;n=function(t,e,i){if(typeof t!=="string"){throw new Error("See almond README: incorrect module build, no module name")}if(!e.splice){i=e;e=[]}if(!g(l,t)&&!g(u,t)){u[t]=[t,e,i]}};n.amd={jQuery:true}})();i.requirejs=t;i.require=e;i.define=n}})();i.define("almond",(function(){}));i.define("jquery",[],(function(){var t=e||$;if(t==null&&n&&n.error){n.error("Select2: An instance of jQuery or a jQuery-compatible library was not "+"found. Make sure that you are including jQuery before Select2 on your "+"web page.")}return t}));i.define("select2/utils",["jquery"],(function(t){var e={};e.Extend=function(t,e){var i={}.hasOwnProperty;function n(){this.constructor=t}for(var r in e){if(i.call(e,r)){t[r]=e[r]}}n.prototype=e.prototype;t.prototype=new n;t.__super__=e.prototype;return t};function i(t){var e=t.prototype;var i=[];for(var n in e){var r=e[n];if(typeof r!=="function"){continue}if(n==="constructor"){continue}i.push(n)}return i}e.Decorate=function(t,e){var n=i(e);var r=i(t);function s(){var i=Array.prototype.unshift;var n=e.prototype.constructor.length;var r=t.prototype.constructor;if(n>0){i.call(arguments,t.prototype.constructor);r=e.prototype.constructor}r.apply(this,arguments)}e.displayName=t.displayName;function o(){this.constructor=s}s.prototype=new o;for(var a=0;a<r.length;a++){var l=r[a];s.prototype[l]=t.prototype[l]}var u=function(t){var i=function(){};if(t in s.prototype){i=s.prototype[t]}var n=e.prototype[t];return function(){var t=Array.prototype.unshift;t.call(arguments,i);return n.apply(this,arguments)}};for(var f=0;f<n.length;f++){var c=n[f];s.prototype[c]=u(c)}return s};var n=function(){this.listeners={}};n.prototype.on=function(t,e){this.listeners=this.listeners||{};if(t in this.listeners){this.listeners[t].push(e)}else{this.listeners[t]=[e]}};n.prototype.trigger=function(t){var e=Array.prototype.slice;var i=e.call(arguments,1);this.listeners=this.listeners||{};if(i==null){i=[]}if(i.length===0){i.push({})}i[0]._type=t;if(t in this.listeners){this.invoke(this.listeners[t],e.call(arguments,1))}if("*"in this.listeners){this.invoke(this.listeners["*"],arguments)}};n.prototype.invoke=function(t,e){for(var i=0,n=t.length;i<n;i++){t[i].apply(this,e)}};e.Observable=n;e.generateChars=function(t){var e="";for(var i=0;i<t;i++){var n=Math.floor(Math.random()*36);e+=n.toString(36)}return e};e.bind=function(t,e){return function(){t.apply(e,arguments)}};e._convertData=function(t){for(var e in t){var i=e.split("-");var n=t;if(i.length===1){continue}for(var r=0;r<i.length;r++){var s=i[r];s=s.substring(0,1).toLowerCase()+s.substring(1);if(!(s in n)){n[s]={}}if(r==i.length-1){n[s]=t[e]}n=n[s]}delete t[e]}return t};e.hasScroll=function(e,i){var n=t(i);var r=i.style.overflowX;var s=i.style.overflowY;if(r===s&&(s==="hidden"||s==="visible")){return false}if(r==="scroll"||s==="scroll"){return true}return n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth};e.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};if(typeof t!=="string"){return t}return String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))};e.appendMany=function(e,i){if(t.fn.jquery.substr(0,3)==="1.7"){var n=t();t.map(i,(function(t){n=n.add(t)}));i=n}e.append(i)};e.__cache={};var r=0;e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");if(e==null){if(t.id){e=t.id;t.setAttribute("data-select2-id",e)}else{t.setAttribute("data-select2-id",++r);e=r.toString()}}return e};e.StoreData=function(t,i,n){var r=e.GetUniqueElementId(t);if(!e.__cache[r]){e.__cache[r]={}}e.__cache[r][i]=n};e.GetData=function(i,n){var r=e.GetUniqueElementId(i);if(n){if(e.__cache[r]){if(e.__cache[r][n]!=null){return e.__cache[r][n]}return t(i).data(n)}return t(i).data(n)}else{return e.__cache[r]}};e.RemoveData=function(t){var i=e.GetUniqueElementId(t);if(e.__cache[i]!=null){delete e.__cache[i]}t.removeAttribute("data-select2-id")};return e}));i.define("select2/results",["jquery","./utils"],(function(t,e){function i(t,e,n){this.$element=t;this.data=n;this.options=e;i.__super__.constructor.call(this)}e.Extend(i,e.Observable);i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');if(this.options.get("multiple")){e.attr("aria-multiselectable","true")}this.$results=e;return e};i.prototype.clear=function(){this.$results.empty()};i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear();this.hideLoading();var n=t('<li role="alert" aria-live="assertive"'+' class="select2-results__option"></li>');var r=this.options.get("translations").get(e.message);n.append(i(r(e.args)));n[0].className+=" select2-results__message";this.$results.append(n)};i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()};i.prototype.append=function(t){this.hideLoading();var e=[];if(t.results==null||t.results.length===0){if(this.$results.children().length===0){this.trigger("results:message",{message:"noResults"})}return}t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i];var r=this.option(n);e.push(r)}this.$results.append(e)};i.prototype.position=function(t,e){var i=e.find(".select2-results");i.append(t)};i.prototype.sort=function(t){var e=this.options.get("sorter");return e(t)};i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]");var e=t.filter("[aria-selected=true]");if(e.length>0){e.first().trigger("mouseenter")}else{t.first().trigger("mouseenter")}this.ensureHighlightVisible()};i.prototype.setClasses=function(){var i=this;this.data.current((function(n){var r=t.map(n,(function(t){return t.id.toString()}));var s=i.$results.find(".select2-results__option[aria-selected]");s.each((function(){var i=t(this);var n=e.GetData(this,"data");var s=""+n.id;if(n.element!=null&&n.element.selected||n.element==null&&t.inArray(s,r)>-1){i.attr("aria-selected","true")}else{i.attr("aria-selected","false")}}))}))};i.prototype.showLoading=function(t){this.hideLoading();var e=this.options.get("translations").get("searching");var i={disabled:true,loading:true,text:e(t)};var n=this.option(i);n.className+=" loading-results";this.$results.prepend(n)};i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()};i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var r={role:"option","aria-selected":"false"};var s=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;if(i.element!=null&&s.call(i.element,":disabled")||i.element==null&&i.disabled){delete r["aria-selected"];r["aria-disabled"]="true"}if(i.id==null){delete r["aria-selected"]}if(i._resultId!=null){n.id=i._resultId}if(i.title){n.title=i.title}if(i.children){r.role="group";r["aria-label"]=i.text;delete r["aria-selected"]}for(var o in r){var a=r[o];n.setAttribute(o,a)}if(i.children){var l=t(n);var u=document.createElement("strong");u.className="select2-results__group";var f=t(u);this.template(i,u);var c=[];for(var h=0;h<i.children.length;h++){var p=i.children[h];var d=this.option(p);c.push(d)}var g=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});g.append(c);l.append(u);l.append(g)}else{this.template(i,n)}e.StoreData(n,"data",i);return n};i.prototype.bind=function(i,n){var r=this;var s=i.id+"-results";this.$results.attr("id",s);i.on("results:all",(function(t){r.clear();r.append(t.data);if(i.isOpen()){r.setClasses();r.highlightFirstItem()}}));i.on("results:append",(function(t){r.append(t.data);if(i.isOpen()){r.setClasses()}}));i.on("query",(function(t){r.hideMessages();r.showLoading(t)}));i.on("select",(function(){if(!i.isOpen()){return}r.setClasses();if(r.options.get("scrollAfterSelect")){r.highlightFirstItem()}}));i.on("unselect",(function(){if(!i.isOpen()){return}r.setClasses();if(r.options.get("scrollAfterSelect")){r.highlightFirstItem()}}));i.on("open",(function(){r.$results.attr("aria-expanded","true");r.$results.attr("aria-hidden","false");r.setClasses();r.ensureHighlightVisible()}));i.on("close",(function(){r.$results.attr("aria-expanded","false");r.$results.attr("aria-hidden","true");r.$results.removeAttr("aria-activedescendant")}));i.on("results:toggle",(function(){var t=r.getHighlightedResults();if(t.length===0){return}t.trigger("mouseup")}));i.on("results:select",(function(){var t=r.getHighlightedResults();if(t.length===0){return}var i=e.GetData(t[0],"data");if(t.attr("aria-selected")=="true"){r.trigger("close",{})}else{r.trigger("select",{data:i})}}));i.on("results:previous",(function(){var t=r.getHighlightedResults();var e=r.$results.find("[aria-selected]");var i=e.index(t);if(i<=0){return}var n=i-1;if(t.length===0){n=0}var s=e.eq(n);s.trigger("mouseenter");var o=r.$results.offset().top;var a=s.offset().top;var l=r.$results.scrollTop()+(a-o);if(n===0){r.$results.scrollTop(0)}else if(a-o<0){r.$results.scrollTop(l)}}));i.on("results:next",(function(){var t=r.getHighlightedResults();var e=r.$results.find("[aria-selected]");var i=e.index(t);var n=i+1;if(n>=e.length){return}var s=e.eq(n);s.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(false);var a=s.offset().top+s.outerHeight(false);var l=r.$results.scrollTop()+a-o;if(n===0){r.$results.scrollTop(0)}else if(a>o){r.$results.scrollTop(l)}}));i.on("results:focus",(function(t){t.element.addClass("select2-results__option--highlighted")}));i.on("results:message",(function(t){r.displayMessage(t)}));if(t.fn.mousewheel){this.$results.on("mousewheel",(function(t){var e=r.$results.scrollTop();var i=r.$results.get(0).scrollHeight-e+t.deltaY;var n=t.deltaY>0&&e-t.deltaY<=0;var s=t.deltaY<0&&i<=r.$results.height();if(n){r.$results.scrollTop(0);t.preventDefault();t.stopPropagation()}else if(s){r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height());t.preventDefault();t.stopPropagation()}}))}this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(i){var n=t(this);var s=e.GetData(this,"data");if(n.attr("aria-selected")==="true"){if(r.options.get("multiple")){r.trigger("unselect",{originalEvent:i,data:s})}else{r.trigger("close",{})}return}r.trigger("select",{originalEvent:i,data:s})}));this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(i){var n=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted");r.trigger("results:focus",{data:n,element:t(this)})}))};i.prototype.getHighlightedResults=function(){var t=this.$results.find(".select2-results__option--highlighted");return t};i.prototype.destroy=function(){this.$results.remove()};i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(t.length===0){return}var e=this.$results.find("[aria-selected]");var i=e.index(t);var n=this.$results.offset().top;var r=t.offset().top;var s=this.$results.scrollTop()+(r-n);var o=r-n;s-=t.outerHeight(false)*2;if(i<=2){this.$results.scrollTop(0)}else if(o>this.$results.outerHeight()||o<0){this.$results.scrollTop(s)}};i.prototype.template=function(e,i){var n=this.options.get("templateResult");var r=this.options.get("escapeMarkup");var s=n(e,i);if(s==null){i.style.display="none"}else if(typeof s==="string"){i.innerHTML=r(s)}else{t(i).append(s)}};return i}));i.define("select2/keys",[],(function(){var t={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return t}));i.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,i){function n(t,e){this.$element=t;this.options=e;n.__super__.constructor.call(this)}e.Extend(n,e.Observable);n.prototype.render=function(){var i=t('<span class="select2-selection" role="combobox" '+' aria-haspopup="true" aria-expanded="false">'+"</span>");this._tabindex=0;if(e.GetData(this.$element[0],"old-tabindex")!=null){this._tabindex=e.GetData(this.$element[0],"old-tabindex")}else if(this.$element.attr("tabindex")!=null){this._tabindex=this.$element.attr("tabindex")}i.attr("title",this.$element.attr("title"));i.attr("tabindex",this._tabindex);i.attr("aria-disabled","false");this.$selection=i;return i};n.prototype.bind=function(t,e){var n=this;var r=t.id+"-results";this.container=t;this.$selection.on("focus",(function(t){n.trigger("focus",t)}));this.$selection.on("blur",(function(t){n._handleBlur(t)}));this.$selection.on("keydown",(function(t){n.trigger("keypress",t);if(t.which===i.SPACE){t.preventDefault()}}));t.on("results:focus",(function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}));t.on("selection:update",(function(t){n.update(t.data)}));t.on("open",(function(){n.$selection.attr("aria-expanded","true");n.$selection.attr("aria-owns",r);n._attachCloseHandler(t)}));t.on("close",(function(){n.$selection.attr("aria-expanded","false");n.$selection.removeAttr("aria-activedescendant");n.$selection.removeAttr("aria-owns");n.$selection.trigger("focus");n._detachCloseHandler(t)}));t.on("enable",(function(){n.$selection.attr("tabindex",n._tabindex);n.$selection.attr("aria-disabled","false")}));t.on("disable",(function(){n.$selection.attr("tabindex","-1");n.$selection.attr("aria-disabled","true")}))};n.prototype._handleBlur=function(e){var i=this;window.setTimeout((function(){if(document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)){return}i.trigger("blur",e)}),1)};n.prototype._attachCloseHandler=function(i){t(document.body).on("mousedown.select2."+i.id,(function(i){var n=t(i.target);var r=n.closest(".select2");var s=t(".select2.select2-container--open");s.each((function(){if(this==r[0]){return}var t=e.GetData(this,"element");t.select2("close")}))}))};n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)};n.prototype.position=function(t,e){var i=e.find(".selection");i.append(t)};n.prototype.destroy=function(){this._detachCloseHandler(this.container)};n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")};n.prototype.isEnabled=function(){return!this.isDisabled()};n.prototype.isDisabled=function(){return this.options.get("disabled")};return n}));i.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,i,n){function r(){r.__super__.constructor.apply(this,arguments)}i.Extend(r,e);r.prototype.render=function(){var t=r.__super__.render.call(this);t.addClass("select2-selection--single");t.html('<span class="select2-selection__rendered"></span>'+'<span class="select2-selection__arrow" role="presentation">'+'<b role="presentation"></b>'+"</span>");return t};r.prototype.bind=function(t,e){var i=this;r.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true");this.$selection.attr("aria-labelledby",n);this.$selection.on("mousedown",(function(t){if(t.which!==1){return}i.trigger("toggle",{originalEvent:t})}));this.$selection.on("focus",(function(t){}));this.$selection.on("blur",(function(t){}));t.on("focus",(function(e){if(!t.isOpen()){i.$selection.trigger("focus")}}))};r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty();t.removeAttr("title")};r.prototype.display=function(t,e){var i=this.options.get("templateSelection");var n=this.options.get("escapeMarkup");return n(i(t,e))};r.prototype.selectionContainer=function(){return t("<span></span>")};r.prototype.update=function(t){if(t.length===0){this.clear();return}var e=t[0];var i=this.$selection.find(".select2-selection__rendered");var n=this.display(e,i);i.empty().append(n);var r=e.title||e.text;if(r){i.attr("title",r)}else{i.removeAttr("title")}};return r}));i.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}i.Extend(n,e);n.prototype.render=function(){var t=n.__super__.render.call(this);t.addClass("select2-selection--multiple");t.html('<ul class="select2-selection__rendered"></ul>');return t};n.prototype.bind=function(e,r){var s=this;n.__super__.bind.apply(this,arguments);this.$selection.on("click",(function(t){s.trigger("toggle",{originalEvent:t})}));this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(s.isDisabled()){return}var n=t(this);var r=n.parent();var o=i.GetData(r[0],"data");s.trigger("unselect",{originalEvent:e,data:o})}))};n.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty();t.removeAttr("title")};n.prototype.display=function(t,e){var i=this.options.get("templateSelection");var n=this.options.get("escapeMarkup");return n(i(t,e))};n.prototype.selectionContainer=function(){var e=t('<li class="select2-selection__choice">'+'<span class="select2-selection__choice__remove" role="presentation">'+"×"+"</span>"+"</li>");return e};n.prototype.update=function(t){this.clear();if(t.length===0){return}var e=[];for(var n=0;n<t.length;n++){var r=t[n];var s=this.selectionContainer();var o=this.display(r,s);s.append(o);var a=r.title||r.text;if(a){s.attr("title",a)}i.StoreData(s[0],"data",r);e.push(s)}var l=this.$selection.find(".select2-selection__rendered");i.appendMany(l,e)};return n}));i.define("select2/selection/placeholder",["../utils"],(function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));t.call(this,e,i)}e.prototype.normalizePlaceholder=function(t,e){if(typeof e==="string"){e={id:"",text:e}}return e};e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();i.html(this.display(e));i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice");return i};e.prototype.update=function(t,e){var i=e.length==1&&e[0].id!=this.placeholder.id;var n=e.length>1;if(n||i){return t.call(this,e)}this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)};return e}));i.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,i){function r(){}r.prototype.bind=function(t,e,i){var r=this;t.call(this,e,i);if(this.placeholder==null){if(this.options.get("debug")&&window.console&&n.error){n.error("Select2: The `allowClear` option should be used in combination "+"with the `placeholder` option.")}}this.$selection.on("mousedown",".select2-selection__clear",(function(t){r._handleClear(t)}));e.on("keypress",(function(t){r._handleKeyboardClear(t,e)}))};r.prototype._handleClear=function(t,e){if(this.isDisabled()){return}var n=this.$selection.find(".select2-selection__clear");if(n.length===0){return}e.stopPropagation();var r=i.GetData(n[0],"data");var s=this.$element.val();this.$element.val(this.placeholder.id);var o={data:r};this.trigger("clear",o);if(o.prevented){this.$element.val(s);return}for(var a=0;a<r.length;a++){o={data:r[a]};this.trigger("unselect",o);if(o.prevented){this.$element.val(s);return}}this.$element.trigger("input").trigger("change");this.trigger("toggle",{})};r.prototype._handleKeyboardClear=function(t,i,n){if(n.isOpen()){return}if(i.which==e.DELETE||i.which==e.BACKSPACE){this._handleClear(i)}};r.prototype.update=function(e,n){e.call(this,n);if(this.$selection.find(".select2-selection__placeholder").length>0||n.length===0){return}var r=this.options.get("translations").get("removeAllItems");var s=t('<span class="select2-selection__clear" title="'+r()+'">'+"×"+"</span>");i.StoreData(s[0],"data",n);this.$selection.find(".select2-selection__rendered").prepend(s)};return r}));i.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,i){function n(t,e,i){t.call(this,e,i)}n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline">'+'<input class="select2-search__field" type="search" tabindex="-1"'+' autocomplete="off" autocorrect="off" autocapitalize="none"'+' spellcheck="false" role="searchbox" aria-autocomplete="list" />'+"</li>");this.$searchContainer=i;this.$search=i.find("input");var n=e.call(this);this._transferTabIndex();return n};n.prototype.bind=function(t,n,r){var s=this;var o=n.id+"-results";t.call(this,n,r);n.on("open",(function(){s.$search.attr("aria-controls",o);s.$search.trigger("focus")}));n.on("close",(function(){s.$search.val("");s.$search.removeAttr("aria-controls");s.$search.removeAttr("aria-activedescendant");s.$search.trigger("focus")}));n.on("enable",(function(){s.$search.prop("disabled",false);s._transferTabIndex()}));n.on("disable",(function(){s.$search.prop("disabled",true)}));n.on("focus",(function(t){s.$search.trigger("focus")}));n.on("results:focus",(function(t){if(t.data._resultId){s.$search.attr("aria-activedescendant",t.data._resultId)}else{s.$search.removeAttr("aria-activedescendant")}}));this.$selection.on("focusin",".select2-search--inline",(function(t){s.trigger("focus",t)}));this.$selection.on("focusout",".select2-search--inline",(function(t){s._handleBlur(t)}));this.$selection.on("keydown",".select2-search--inline",(function(t){t.stopPropagation();s.trigger("keypress",t);s._keyUpPrevented=t.isDefaultPrevented();var n=t.which;if(n===i.BACKSPACE&&s.$search.val()===""){var r=s.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var o=e.GetData(r[0],"data");s.searchRemoveChoice(o);t.preventDefault()}}}));this.$selection.on("click",".select2-search--inline",(function(t){if(s.$search.val()){t.stopPropagation()}}));var a=document.documentMode;var l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){if(l){s.$selection.off("input.search input.searchcheck");return}s.$selection.off("keyup.search")}));this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(l&&t.type==="input"){s.$selection.off("input.search input.searchcheck");return}var e=t.which;if(e==i.SHIFT||e==i.CTRL||e==i.ALT){return}if(e==i.TAB){return}s.handleSearch(t)}))};n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex"));this.$selection.attr("tabindex","-1")};n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)};n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder","");t.call(this,e);this.$selection.find(".select2-selection__rendered").append(this.$searchContainer);this.resizeSearch();if(i){this.$search.trigger("focus")}};n.prototype.handleSearch=function(){this.resizeSearch();if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=false};n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e});this.$search.val(e.text);this.handleSearch()};n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";if(this.$search.attr("placeholder")!==""){t=this.$selection.find(".select2-selection__rendered").width()}else{var e=this.$search.val().length+1;t=e*.75+"em"}this.$search.css("width",t)};return n}));i.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}e.prototype.bind=function(e,i,n){var r=this;var s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"];var o=["opening","closing","selecting","unselecting","clearing"];e.call(this,i,n);i.on("*",(function(e,i){if(t.inArray(e,s)===-1){return}i=i||{};var n=t.Event("select2:"+e,{params:i});r.$element.trigger(n);if(t.inArray(e,o)===-1){return}i.prevented=n.isDefaultPrevented()}))};return e}));i.define("select2/translation",["jquery","require"],(function(t,e){function i(t){this.dict=t||{}}i.prototype.all=function(){return this.dict};i.prototype.get=function(t){return this.dict[t]};i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)};i._cache={};i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])};return i}));i.define("select2/diacritics",[],(function(){var t={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"};return t}));i.define("select2/data/base",["../utils"],(function(t){function e(t,i){e.__super__.constructor.call(this)}t.Extend(e,t.Observable);e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")};e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")};e.prototype.bind=function(t,e){};e.prototype.destroy=function(){};e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";n+=t.generateChars(4);if(i.id!=null){n+="-"+i.id.toString()}else{n+="-"+t.generateChars(4)}return n};return e}));i.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,i){function n(t,e){this.$element=t;this.options=e;n.__super__.constructor.call(this)}e.Extend(n,t);n.prototype.current=function(t){var e=[];var n=this;this.$element.find(":selected").each((function(){var t=i(this);var r=n.item(t);e.push(r)}));t(e)};n.prototype.select=function(t){var e=this;t.selected=true;if(i(t.element).is("option")){t.element.selected=true;this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple")){this.current((function(n){var r=[];t=[t];t.push.apply(t,n);for(var s=0;s<t.length;s++){var o=t[s].id;if(i.inArray(o,r)===-1){r.push(o)}}e.$element.val(r);e.$element.trigger("input").trigger("change")}))}else{var n=t.id;this.$element.val(n);this.$element.trigger("input").trigger("change")}};n.prototype.unselect=function(t){var e=this;if(!this.$element.prop("multiple")){return}t.selected=false;if(i(t.element).is("option")){t.element.selected=false;this.$element.trigger("input").trigger("change");return}this.current((function(n){var r=[];for(var s=0;s<n.length;s++){var o=n[s].id;if(o!==t.id&&i.inArray(o,r)===-1){r.push(o)}}e.$element.val(r);e.$element.trigger("input").trigger("change")}))};n.prototype.bind=function(t,e){var i=this;this.container=t;t.on("select",(function(t){i.select(t.data)}));t.on("unselect",(function(t){i.unselect(t.data)}))};n.prototype.destroy=function(){this.$element.find("*").each((function(){e.RemoveData(this)}))};n.prototype.query=function(t,e){var n=[];var r=this;var s=this.$element.children();s.each((function(){var e=i(this);if(!e.is("option")&&!e.is("optgroup")){return}var s=r.item(e);var o=r.matches(t,s);if(o!==null){n.push(o)}}));e({results:n})};n.prototype.addOptions=function(t){e.appendMany(this.$element,t)};n.prototype.option=function(t){var n;if(t.children){n=document.createElement("optgroup");n.label=t.text}else{n=document.createElement("option");if(n.textContent!==undefined){n.textContent=t.text}else{n.innerText=t.text}}if(t.id!==undefined){n.value=t.id}if(t.disabled){n.disabled=true}if(t.selected){n.selected=true}if(t.title){n.title=t.title}var r=i(n);var s=this._normalizeItem(t);s.element=n;e.StoreData(n,"data",s);return r};n.prototype.item=function(t){var n={};n=e.GetData(t[0],"data");if(n!=null){return n}if(t.is("option")){n={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")}}else if(t.is("optgroup")){n={text:t.prop("label"),children:[],title:t.prop("title")};var r=t.children("option");var s=[];for(var o=0;o<r.length;o++){var a=i(r[o]);var l=this.item(a);s.push(l)}n.children=s}n=this._normalizeItem(n);n.element=t[0];e.StoreData(t[0],"data",n);return n};n.prototype._normalizeItem=function(t){if(t!==Object(t)){t={id:t,text:t}}t=i.extend({},{text:""},t);var e={selected:false,disabled:false};if(t.id!=null){t.id=t.id.toString()}if(t.text!=null){t.text=t.text.toString()}if(t._resultId==null&&t.id&&this.container!=null){t._resultId=this.generateResultId(this.container,t)}return i.extend({},e,t)};n.prototype.matches=function(t,e){var i=this.options.get("matcher");return i(t,e)};return n}));i.define("select2/data/array",["./select","../utils","jquery"],(function(t,e,i){function n(t,e){this._dataToConvert=e.get("data")||[];n.__super__.constructor.call(this,t,e)}e.Extend(n,t);n.prototype.bind=function(t,e){n.__super__.bind.call(this,t,e);this.addOptions(this.convertToOptions(this._dataToConvert))};n.prototype.select=function(t){var e=this.$element.find("option").filter((function(e,i){return i.value==t.id.toString()}));if(e.length===0){e=this.option(t);this.addOptions(e)}n.__super__.select.call(this,t)};n.prototype.convertToOptions=function(t){var n=this;var r=this.$element.find("option");var s=r.map((function(){return n.item(i(this)).id})).get();var o=[];function a(t){return function(){return i(this).val()==t.id}}for(var l=0;l<t.length;l++){var u=this._normalizeItem(t[l]);if(i.inArray(u.id,s)>=0){var f=r.filter(a(u));var c=this.item(f);var h=i.extend(true,{},u,c);var p=this.option(h);f.replaceWith(p);continue}var d=this.option(u);if(u.children){var g=this.convertToOptions(u.children);e.appendMany(d,g)}o.push(d)}return o};return n}));i.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,i){function r(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax"));if(this.ajaxOptions.processResults!=null){this.processResults=this.ajaxOptions.processResults}r.__super__.constructor.call(this,t,e)}e.Extend(r,t);r.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var r=i.ajax(t);r.then(e);r.fail(n);return r}};return i.extend({},e,t,true)};r.prototype.processResults=function(t){return t};r.prototype.query=function(t,e){var r=[];var s=this;if(this._request!=null){if(i.isFunction(this._request.abort)){this._request.abort()}this._request=null}var o=i.extend({type:"GET"},this.ajaxOptions);if(typeof o.url==="function"){o.url=o.url.call(this.$element,t)}if(typeof o.data==="function"){o.data=o.data.call(this.$element,t)}function a(){var r=o.transport(o,(function(r){var o=s.processResults(r,t);if(s.options.get("debug")&&window.console&&n.error){if(!o||!o.results||!i.isArray(o.results)){n.error("Select2: The AJAX results did not return an array in the "+"`results` key of the response.")}}e(o)}),(function(){if("status"in r&&(r.status===0||r.status==="0")){return}s.trigger("results:message",{message:"errorLoading"})}));s._request=r}if(this.ajaxOptions.delay&&t.term!=null){if(this._queryTimeout){window.clearTimeout(this._queryTimeout)}this._queryTimeout=window.setTimeout(a,this.ajaxOptions.delay)}else{a()}};return r}));i.define("select2/data/tags",["jquery"],(function(t){function e(e,i,n){var r=n.get("tags");var s=n.get("createTag");if(s!==undefined){this.createTag=s}var o=n.get("insertTag");if(o!==undefined){this.insertTag=o}e.call(this,i,n);if(t.isArray(r)){for(var a=0;a<r.length;a++){var l=r[a];var u=this._normalizeItem(l);var f=this.option(u);this.$element.append(f)}}}e.prototype.query=function(t,e,i){var n=this;this._removeOldTags();if(e.term==null||e.page!=null){t.call(this,e,i);return}function r(t,s){var o=t.results;for(var a=0;a<o.length;a++){var l=o[a];var u=l.children!=null&&!r({results:l.children},true);var f=(l.text||"").toUpperCase();var c=(e.term||"").toUpperCase();var h=f===c;if(h||u){if(s){return false}t.data=o;i(t);return}}if(s){return true}var p=n.createTag(e);if(p!=null){var d=n.option(p);d.attr("data-select2-tag",true);n.addOptions([d]);n.insertTag(o,p)}t.results=o;i(t)}t.call(this,e,r)};e.prototype.createTag=function(e,i){var n=t.trim(i.term);if(n===""){return null}return{id:n,text:n}};e.prototype.insertTag=function(t,e,i){e.unshift(i)};e.prototype._removeOldTags=function(e){var i=this.$element.find("option[data-select2-tag]");i.each((function(){if(this.selected){return}t(this).remove()}))};return e}));i.define("select2/data/tokenizer",["jquery"],(function(t){function e(t,e,i){var n=i.get("tokenizer");if(n!==undefined){this.tokenizer=n}t.call(this,e,i)}e.prototype.bind=function(t,e,i){t.call(this,e,i);this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")};e.prototype.query=function(e,i,n){var r=this;function s(e){var i=r._normalizeItem(e);var n=r.$element.find("option").filter((function(){return t(this).val()===i.id}));if(!n.length){var s=r.option(i);s.attr("data-select2-tag",true);r._removeOldTags();r.addOptions([s])}o(i)}function o(t){r.trigger("select",{data:t})}i.term=i.term||"";var a=this.tokenizer(i,this.options,s);if(a.term!==i.term){if(this.$search.length){this.$search.val(a.term);this.$search.trigger("focus")}i.term=a.term}e.call(this,i,n)};e.prototype.tokenizer=function(e,i,n,r){var s=n.get("tokenSeparators")||[];var o=i.term;var a=0;var l=this.createTag||function(t){return{id:t.term,text:t.term}};while(a<o.length){var u=o[a];if(t.inArray(u,s)===-1){a++;continue}var f=o.substr(0,a);var c=t.extend({},i,{term:f});var h=l(c);if(h==null){a++;continue}r(h);o=o.substr(a+1)||"";a=0}return{term:o}};return e}));i.define("select2/data/minimumInputLength",[],(function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength");t.call(this,e,i)}t.prototype.query=function(t,e,i){e.term=e.term||"";if(e.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}});return}t.call(this,e,i)};return t}));i.define("select2/data/maximumInputLength",[],(function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength");t.call(this,e,i)}t.prototype.query=function(t,e,i){e.term=e.term||"";if(this.maximumInputLength>0&&e.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}});return}t.call(this,e,i)};return t}));i.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength");t.call(this,e,i)}t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i);e.on("select",(function(){n._checkIfMaximumSelected()}))};t.prototype.query=function(t,e,i){var n=this;this._checkIfMaximumSelected((function(){t.call(n,e,i)}))};t.prototype._checkIfMaximumSelected=function(t,e){var i=this;this.current((function(t){var n=t!=null?t.length:0;if(i.maximumSelectionLength>0&&n>=i.maximumSelectionLength){i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}});return}if(e){e()}}))};return t}));i.define("select2/dropdown",["jquery","./utils"],(function(t,e){function i(t,e){this.$element=t;this.options=e;i.__super__.constructor.call(this)}e.Extend(i,e.Observable);i.prototype.render=function(){var e=t('<span class="select2-dropdown">'+'<span class="select2-results"></span>'+"</span>");e.attr("dir",this.options.get("dir"));this.$dropdown=e;return e};i.prototype.bind=function(){};i.prototype.position=function(t,e){};i.prototype.destroy=function(){this.$dropdown.remove()};return i}));i.define("select2/dropdown/search",["jquery","../utils"],(function(t,e){function i(){}i.prototype.render=function(e){var i=e.call(this);var n=t('<span class="select2-search select2-search--dropdown">'+'<input class="select2-search__field" type="search" tabindex="-1"'+' autocomplete="off" autocorrect="off" autocapitalize="none"'+' spellcheck="false" role="searchbox" aria-autocomplete="list" />'+"</span>");this.$searchContainer=n;this.$search=n.find("input");i.prepend(n);return i};i.prototype.bind=function(e,i,n){var r=this;var s=i.id+"-results";e.call(this,i,n);this.$search.on("keydown",(function(t){r.trigger("keypress",t);r._keyUpPrevented=t.isDefaultPrevented()}));this.$search.on("input",(function(e){t(this).off("keyup")}));this.$search.on("keyup input",(function(t){r.handleSearch(t)}));i.on("open",(function(){r.$search.attr("tabindex",0);r.$search.attr("aria-controls",s);r.$search.trigger("focus");window.setTimeout((function(){r.$search.trigger("focus")}),0)}));i.on("close",(function(){r.$search.attr("tabindex",-1);r.$search.removeAttr("aria-controls");r.$search.removeAttr("aria-activedescendant");r.$search.val("");r.$search.trigger("blur")}));i.on("focus",(function(){if(!i.isOpen()){r.$search.trigger("focus")}}));i.on("results:all",(function(t){if(t.query.term==null||t.query.term===""){var e=r.showSearch(t);if(e){r.$searchContainer.removeClass("select2-search--hide")}else{r.$searchContainer.addClass("select2-search--hide")}}}));i.on("results:focus",(function(t){if(t.data._resultId){r.$search.attr("aria-activedescendant",t.data._resultId)}else{r.$search.removeAttr("aria-activedescendant")}}))};i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=false};i.prototype.showSearch=function(t,e){return true};return i}));i.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder"));t.call(this,e,i,n)}t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results);t.call(this,e)};t.prototype.normalizePlaceholder=function(t,e){if(typeof e==="string"){e={id:"",text:e}}return e};t.prototype.removePlaceholder=function(t,e){var i=e.slice(0);for(var n=e.length-1;n>=0;n--){var r=e[n];if(this.placeholder.id===r.id){i.splice(n,1)}}return i};return t}));i.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,i,n){this.lastParams={};t.call(this,e,i,n);this.$loadingMore=this.createLoadingMore();this.loading=false}e.prototype.append=function(t,e){this.$loadingMore.remove();this.loading=false;t.call(this,e);if(this.showLoadingMore(e)){this.$results.append(this.$loadingMore);this.loadMoreIfNeeded()}};e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i);e.on("query",(function(t){n.lastParams=t;n.loading=true}));e.on("query:append",(function(t){n.lastParams=t;n.loading=true}));this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))};e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);if(this.loading||!e){return}var i=this.$results.offset().top+this.$results.outerHeight(false);var n=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(false);if(i+50>=n){this.loadMore()}};e.prototype.loadMore=function(){this.loading=true;var e=t.extend({},{page:1},this.lastParams);e.page++;this.trigger("query:append",e)};e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more};e.prototype.createLoadingMore=function(){var e=t("<li "+'class="select2-results__option select2-results__option--load-more"'+'role="option" aria-disabled="true"></li>');var i=this.options.get("translations").get("loadingMore");e.html(i(this.lastParams));return e};return e}));i.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function i(e,i,n){this.$dropdownParent=t(n.get("dropdownParent")||document.body);e.call(this,i,n)}i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i);e.on("open",(function(){n._showDropdown();n._attachPositioningHandler(e);n._bindContainerResultHandlers(e)}));e.on("close",(function(){n._hideDropdown();n._detachPositioningHandler(e)}));this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))};i.prototype.destroy=function(t){t.call(this);this.$dropdownContainer.remove()};i.prototype.position=function(t,e,i){e.attr("class",i.attr("class"));e.removeClass("select2");e.addClass("select2-container--open");e.css({position:"absolute",top:-999999});this.$container=i};i.prototype.render=function(e){var i=t("<span></span>");var n=e.call(this);i.append(n);this.$dropdownContainer=i;return i};i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()};i.prototype._bindContainerResultHandlers=function(t,e){if(this._containerResultsHandlersBound){return}var i=this;e.on("results:all",(function(){i._positionDropdown();i._resizeDropdown()}));e.on("results:append",(function(){i._positionDropdown();i._resizeDropdown()}));e.on("results:message",(function(){i._positionDropdown();i._resizeDropdown()}));e.on("select",(function(){i._positionDropdown();i._resizeDropdown()}));e.on("unselect",(function(){i._positionDropdown();i._resizeDropdown()}));this._containerResultsHandlersBound=true};i.prototype._attachPositioningHandler=function(i,n){var r=this;var s="scroll.select2."+n.id;var o="resize.select2."+n.id;var a="orientationchange.select2."+n.id;var l=this.$container.parents().filter(e.hasScroll);l.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}));l.on(s,(function(i){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}));t(window).on(s+" "+o+" "+a,(function(t){r._positionDropdown();r._resizeDropdown()}))};i.prototype._detachPositioningHandler=function(i,n){var r="scroll.select2."+n.id;var s="resize.select2."+n.id;var o="orientationchange.select2."+n.id;var a=this.$container.parents().filter(e.hasScroll);a.off(r);t(window).off(r+" "+s+" "+o)};i.prototype._positionDropdown=function(){var e=t(window);var i=this.$dropdown.hasClass("select2-dropdown--above");var n=this.$dropdown.hasClass("select2-dropdown--below");var r=null;var s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(false);var o={height:this.$container.outerHeight(false)};o.top=s.top;o.bottom=s.top+o.height;var a={height:this.$dropdown.outerHeight(false)};var l={top:e.scrollTop(),bottom:e.scrollTop()+e.height()};var u=l.top<s.top-a.height;var f=l.bottom>s.bottom+a.height;var c={left:s.left,top:o.bottom};var h=this.$dropdownParent;if(h.css("position")==="static"){h=h.offsetParent()}var p={top:0,left:0};if(t.contains(document.body,h[0])||h[0].isConnected){p=h.offset()}c.top-=p.top;c.left-=p.left;if(!i&&!n){r="below"}if(!f&&u&&!i){r="above"}else if(!u&&f&&i){r="below"}if(r=="above"||i&&r!=="below"){c.top=o.top-p.top-a.height}if(r!=null){this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r);this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)}this.$dropdownContainer.css(c)};i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(false)+"px"};if(this.options.get("dropdownAutoWidth")){t.minWidth=t.width;t.position="relative";t.width="auto"}this.$dropdown.css(t)};i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent);this._positionDropdown();this._resizeDropdown()};return i}));i.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(e){var i=0;for(var n=0;n<e.length;n++){var r=e[n];if(r.children){i+=t(r.children)}else{i++}}return i}function e(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch");if(this.minimumResultsForSearch<0){this.minimumResultsForSearch=Infinity}t.call(this,e,i,n)}e.prototype.showSearch=function(e,i){if(t(i.data.results)<this.minimumResultsForSearch){return false}return e.call(this,i)};return e}));i.define("select2/dropdown/selectOnClose",["../utils"],(function(t){function e(){}e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i);e.on("close",(function(t){n._handleSelectOnClose(t)}))};e.prototype._handleSelectOnClose=function(e,i){if(i&&i.originalSelect2Event!=null){var n=i.originalSelect2Event;if(n._type==="select"||n._type==="unselect"){return}}var r=this.getHighlightedResults();if(r.length<1){return}var s=t.GetData(r[0],"data");if(s.element!=null&&s.element.selected||s.element==null&&s.selected){return}this.trigger("select",{data:s})};return e}));i.define("select2/dropdown/closeOnSelect",[],(function(){function t(){}t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i);e.on("select",(function(t){n._selectTriggered(t)}));e.on("unselect",(function(t){n._selectTriggered(t)}))};t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;if(i&&(i.ctrlKey||i.metaKey)){return}this.trigger("close",{originalEvent:i,originalSelect2Event:e})};return t}));i.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum;var i="Please delete "+e+" character";if(e!=1){i+="s"}return i},inputTooShort:function(t){var e=t.minimum-t.input.length;var i="Please enter "+e+" or more characters";return i},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";if(t.maximum!=1){e+="s"}return e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}));i.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(t,e,i,r,s,o,a,l,u,f,c,h,p,d,g,m,v,y,_,b,w,x,C,T,k,S,j,A,D){function E(){this.reset()}E.prototype.apply=function(n){n=t.extend(true,{},this.defaults,n);if(n.dataAdapter==null){if(n.ajax!=null){n.dataAdapter=g}else if(n.data!=null){n.dataAdapter=d}else{n.dataAdapter=p}if(n.minimumInputLength>0){n.dataAdapter=f.Decorate(n.dataAdapter,y)}if(n.maximumInputLength>0){n.dataAdapter=f.Decorate(n.dataAdapter,_)}if(n.maximumSelectionLength>0){n.dataAdapter=f.Decorate(n.dataAdapter,b)}if(n.tags){n.dataAdapter=f.Decorate(n.dataAdapter,m)}if(n.tokenSeparators!=null||n.tokenizer!=null){n.dataAdapter=f.Decorate(n.dataAdapter,v)}if(n.query!=null){var c=e(n.amdBase+"compat/query");n.dataAdapter=f.Decorate(n.dataAdapter,c)}if(n.initSelection!=null){var h=e(n.amdBase+"compat/initSelection");n.dataAdapter=f.Decorate(n.dataAdapter,h)}}if(n.resultsAdapter==null){n.resultsAdapter=i;if(n.ajax!=null){n.resultsAdapter=f.Decorate(n.resultsAdapter,T)}if(n.placeholder!=null){n.resultsAdapter=f.Decorate(n.resultsAdapter,C)}if(n.selectOnClose){n.resultsAdapter=f.Decorate(n.resultsAdapter,j)}}if(n.dropdownAdapter==null){if(n.multiple){n.dropdownAdapter=w}else{var D=f.Decorate(w,x);n.dropdownAdapter=D}if(n.minimumResultsForSearch!==0){n.dropdownAdapter=f.Decorate(n.dropdownAdapter,S)}if(n.closeOnSelect){n.dropdownAdapter=f.Decorate(n.dropdownAdapter,A)}if(n.dropdownCssClass!=null||n.dropdownCss!=null||n.adaptDropdownCssClass!=null){var E=e(n.amdBase+"compat/dropdownCss");n.dropdownAdapter=f.Decorate(n.dropdownAdapter,E)}n.dropdownAdapter=f.Decorate(n.dropdownAdapter,k)}if(n.selectionAdapter==null){if(n.multiple){n.selectionAdapter=s}else{n.selectionAdapter=r}if(n.placeholder!=null){n.selectionAdapter=f.Decorate(n.selectionAdapter,o)}if(n.allowClear){n.selectionAdapter=f.Decorate(n.selectionAdapter,a)}if(n.multiple){n.selectionAdapter=f.Decorate(n.selectionAdapter,l)}if(n.containerCssClass!=null||n.containerCss!=null||n.adaptContainerCssClass!=null){var P=e(n.amdBase+"compat/containerCss");n.selectionAdapter=f.Decorate(n.selectionAdapter,P)}n.selectionAdapter=f.Decorate(n.selectionAdapter,u)}n.language=this._resolveLanguage(n.language);n.language.push("en");var O=[];for(var I=0;I<n.language.length;I++){var z=n.language[I];if(O.indexOf(z)===-1){O.push(z)}}n.language=O;n.translations=this._processTranslations(n.language,n.debug);return n};E.prototype.reset=function(){function e(t){function e(t){return h[t]||t}return t.replace(/[^\u0000-\u007E]/g,e)}function i(n,r){if(t.trim(n.term)===""){return r}if(r.children&&r.children.length>0){var s=t.extend(true,{},r);for(var o=r.children.length-1;o>=0;o--){var a=r.children[o];var l=i(n,a);if(l==null){s.children.splice(o,1)}}if(s.children.length>0){return s}return i(n,s)}var u=e(r.text).toUpperCase();var f=e(n.term).toUpperCase();if(u.indexOf(f)>-1){return r}return null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:true,debug:false,dropdownAutoWidth:false,escapeMarkup:f.escapeMarkup,language:{},matcher:i,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:false,scrollAfterSelect:false,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}};E.prototype.applyFromElement=function(t,e){var i=t.language;var n=this.defaults.language;var r=e.prop("lang");var s=e.closest("[lang]").prop("lang");var o=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(s));t.language=o;return t};E.prototype._resolveLanguage=function(e){if(!e){return[]}if(t.isEmptyObject(e)){return[]}if(t.isPlainObject(e)){return[e]}var i;if(!t.isArray(e)){i=[e]}else{i=e}var n=[];for(var r=0;r<i.length;r++){n.push(i[r]);if(typeof i[r]==="string"&&i[r].indexOf("-")>0){var s=i[r].split("-");var o=s[0];n.push(o)}}return n};E.prototype._processTranslations=function(e,i){var r=new c;for(var s=0;s<e.length;s++){var o=new c;var a=e[s];if(typeof a==="string"){try{o=c.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a;o=c.loadPath(a)}catch(t){if(i&&window.console&&n.warn){n.warn('Select2: The language file for "'+a+'" could '+"not be automatically loaded. A fallback will be used instead.")}}}}else if(t.isPlainObject(a)){o=new c(a)}else{o=a}r.extend(o)}return r};E.prototype.set=function(e,i){var n=t.camelCase(e);var r={};r[n]=i;var s=f._convertData(r);t.extend(true,this.defaults,s)};var P=new E;return P}));i.define("select2/options",["require","jquery","./defaults","./utils"],(function(t,e,i,r){function s(e,n){this.options=e;if(n!=null){this.fromElement(n)}if(n!=null){this.options=i.applyFromElement(this.options,n)}this.options=i.apply(this.options);if(n&&n.is("input")){var s=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,s)}}s.prototype.fromElement=function(t){var i=["select2"];if(this.options.multiple==null){this.options.multiple=t.prop("multiple")}if(this.options.disabled==null){this.options.disabled=t.prop("disabled")}if(this.options.dir==null){if(t.prop("dir")){this.options.dir=t.prop("dir")}else if(t.closest("[dir]").prop("dir")){this.options.dir=t.closest("[dir]").prop("dir")}else{this.options.dir="ltr"}}t.prop("disabled",this.options.disabled);t.prop("multiple",this.options.multiple);if(r.GetData(t[0],"select2Tags")){if(this.options.debug&&window.console&&n.warn){n.warn("Select2: The `data-select2-tags` attribute has been changed to "+'use the `data-data` and `data-tags="true"` attributes and will be '+"removed in future versions of Select2.")}r.StoreData(t[0],"data",r.GetData(t[0],"select2Tags"));r.StoreData(t[0],"tags",true)}if(r.GetData(t[0],"ajaxUrl")){if(this.options.debug&&window.console&&n.warn){n.warn("Select2: The `data-ajax-url` attribute has been changed to "+"`data-ajax--url` and support for the old attribute will be removed"+" in future versions of Select2.")}t.attr("ajax--url",r.GetData(t[0],"ajaxUrl"));r.StoreData(t[0],"ajax-Url",r.GetData(t[0],"ajaxUrl"))}var s={};function o(t,e){return e.toUpperCase()}for(var a=0;a<t[0].attributes.length;a++){var l=t[0].attributes[a].name;var u="data-";if(l.substr(0,u.length)==u){var f=l.substring(u.length);var c=r.GetData(t[0],f);var h=f.replace(/-([a-z])/g,o);s[h]=c}}if(e.fn.jquery&&e.fn.jquery.substr(0,2)=="1."&&t[0].dataset){s=e.extend(true,{},t[0].dataset,s)}var p=e.extend(true,{},r.GetData(t[0]),s);p=r._convertData(p);for(var d in p){if(e.inArray(d,i)>-1){continue}if(e.isPlainObject(this.options[d])){e.extend(this.options[d],p[d])}else{this.options[d]=p[d]}}return this};s.prototype.get=function(t){return this.options[t]};s.prototype.set=function(t,e){this.options[t]=e};return s}));i.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,i,r){var s=function(t,n){if(i.GetData(t[0],"select2")!=null){i.GetData(t[0],"select2").destroy()}this.$element=t;this.id=this._generateId(t);n=n||{};this.options=new e(n,t);s.__super__.constructor.call(this);var r=t.attr("tabindex")||0;i.StoreData(t[0],"old-tabindex",r);t.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options);this.$selection=this.selection.render();this.selection.position(this.$selection,a);var u=this.options.get("dropdownAdapter");this.dropdown=new u(t,this.options);this.$dropdown=this.dropdown.render();this.dropdown.position(this.$dropdown,a);var f=this.options.get("resultsAdapter");this.results=new f(t,this.options,this.dataAdapter);this.$results=this.results.render();this.results.position(this.$results,this.$dropdown);var c=this;this._bindAdapters();this._registerDomEvents();this._registerDataEvents();this._registerSelectionEvents();this._registerDropdownEvents();this._registerResultsEvents();this._registerEvents();this.dataAdapter.current((function(t){c.trigger("selection:update",{data:t})}));t.addClass("select2-hidden-accessible");t.attr("aria-hidden","true");this._syncAttributes();i.StoreData(t[0],"select2",this);t.data("select2",this)};i.Extend(s,i.Observable);s.prototype._generateId=function(t){var e="";if(t.attr("id")!=null){e=t.attr("id")}else if(t.attr("name")!=null){e=t.attr("name")+"-"+i.generateChars(2)}else{e=i.generateChars(4)}e=e.replace(/(:|\.|\[|\]|,)/g,"");e="select2-"+e;return e};s.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));if(e!=null){t.css("width",e)}};s.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(e=="resolve"){var n=this._resolveWidth(t,"style");if(n!=null){return n}return this._resolveWidth(t,"element")}if(e=="element"){var r=t.outerWidth(false);if(r<=0){return"auto"}return r+"px"}if(e=="style"){var s=t.attr("style");if(typeof s!=="string"){return null}var o=s.split(";");for(var a=0,l=o.length;a<l;a=a+1){var u=o[a].replace(/\s/g,"");var f=u.match(i);if(f!==null&&f.length>=1){return f[1]}}return null}if(e=="computedstyle"){var c=window.getComputedStyle(t[0]);return c.width}return e};s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container);this.selection.bind(this,this.$container);this.dropdown.bind(this,this.$container);this.results.bind(this,this.$container)};s.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))}));this.$element.on("focus.select2",(function(e){t.trigger("focus",e)}));this._syncA=i.bind(this._syncAttributes,this);this._syncS=i.bind(this._syncSubtree,this);if(this.$element[0].attachEvent){this.$element[0].attachEvent("onpropertychange",this._syncA)}var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;if(e!=null){this._observer=new e((function(e){t._syncA();t._syncS(null,e)}));this._observer.observe(this.$element[0],{attributes:true,childList:true,subtree:false})}else if(this.$element[0].addEventListener){this.$element[0].addEventListener("DOMAttrModified",t._syncA,false);this.$element[0].addEventListener("DOMNodeInserted",t._syncS,false);this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,false)}};s.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,i){t.trigger(e,i)}))};s.prototype._registerSelectionEvents=function(){var e=this;var i=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()}));this.selection.on("focus",(function(t){e.focus(t)}));this.selection.on("*",(function(n,r){if(t.inArray(n,i)!==-1){return}e.trigger(n,r)}))};s.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,i){t.trigger(e,i)}))};s.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,i){t.trigger(e,i)}))};s.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container.addClass("select2-container--open")}));this.on("close",(function(){t.$container.removeClass("select2-container--open")}));this.on("enable",(function(){t.$container.removeClass("select2-container--disabled")}));this.on("disable",(function(){t.$container.addClass("select2-container--disabled")}));this.on("blur",(function(){t.$container.removeClass("select2-container--focus")}));this.on("query",(function(e){if(!t.isOpen()){t.trigger("open",{})}this.dataAdapter.query(e,(function(i){t.trigger("results:all",{data:i,query:e})}))}));this.on("query:append",(function(e){this.dataAdapter.query(e,(function(i){t.trigger("results:append",{data:i,query:e})}))}));this.on("keypress",(function(e){var i=e.which;if(t.isOpen()){if(i===r.ESC||i===r.TAB||i===r.UP&&e.altKey){t.close(e);e.preventDefault()}else if(i===r.ENTER){t.trigger("results:select",{});e.preventDefault()}else if(i===r.SPACE&&e.ctrlKey){t.trigger("results:toggle",{});e.preventDefault()}else if(i===r.UP){t.trigger("results:previous",{});e.preventDefault()}else if(i===r.DOWN){t.trigger("results:next",{});e.preventDefault()}}else{if(i===r.ENTER||i===r.SPACE||i===r.DOWN&&e.altKey){t.open();e.preventDefault()}}}))};s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled"));if(this.isDisabled()){if(this.isOpen()){this.close()}this.trigger("disable",{})}else{this.trigger("enable",{})}};s.prototype._isChangeMutation=function(e,i){var n=false;var r=this;if(e&&e.target&&(e.target.nodeName!=="OPTION"&&e.target.nodeName!=="OPTGROUP")){return}if(!i){n=true}else if(i.addedNodes&&i.addedNodes.length>0){for(var s=0;s<i.addedNodes.length;s++){var o=i.addedNodes[s];if(o.selected){n=true}}}else if(i.removedNodes&&i.removedNodes.length>0){n=true}else if(t.isArray(i)){t.each(i,(function(t,e){if(r._isChangeMutation(t,e)){n=true;return false}}))}return n};s.prototype._syncSubtree=function(t,e){var i=this._isChangeMutation(t,e);var n=this;if(i){this.dataAdapter.current((function(t){n.trigger("selection:update",{data:t})}))}};s.prototype.trigger=function(t,e){var i=s.__super__.trigger;var n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(e===undefined){e={}}if(t in n){var r=n[t];var o={prevented:false,name:t,args:e};i.call(this,r,o);if(o.prevented){e.prevented=true;return}}i.call(this,t,e)};s.prototype.toggleDropdown=function(){if(this.isDisabled()){return}if(this.isOpen()){this.close()}else{this.open()}};s.prototype.open=function(){if(this.isOpen()){return}if(this.isDisabled()){return}this.trigger("query",{})};s.prototype.close=function(t){if(!this.isOpen()){return}this.trigger("close",{originalEvent:t})};s.prototype.isEnabled=function(){return!this.isDisabled()};s.prototype.isDisabled=function(){return this.options.get("disabled")};s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")};s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")};s.prototype.focus=function(t){if(this.hasFocus()){return}this.$container.addClass("select2-container--focus");this.trigger("focus",{})};s.prototype.enable=function(t){if(this.options.get("debug")&&window.console&&n.warn){n.warn('Select2: The `select2("enable")` method has been deprecated and will'+' be removed in later Select2 versions. Use $element.prop("disabled")'+" instead.")}if(t==null||t.length===0){t=[true]}var e=!t[0];this.$element.prop("disabled",e)};s.prototype.data=function(){if(this.options.get("debug")&&arguments.length>0&&window.console&&n.warn){n.warn('Select2: Data can no longer be set using `select2("data")`. You '+"should consider setting the value instead using `$element.val()`.")}var t=[];this.dataAdapter.current((function(e){t=e}));return t};s.prototype.val=function(e){if(this.options.get("debug")&&window.console&&n.warn){n.warn('Select2: The `select2("val")` method has been deprecated and will be'+" removed in later Select2 versions. Use $element.val() instead.")}if(e==null||e.length===0){return this.$element.val()}var i=e[0];if(t.isArray(i)){i=t.map(i,(function(t){return t.toString()}))}this.$element.val(i).trigger("input").trigger("change")};s.prototype.destroy=function(){this.$container.remove();if(this.$element[0].detachEvent){this.$element[0].detachEvent("onpropertychange",this._syncA)}if(this._observer!=null){this._observer.disconnect();this._observer=null}else if(this.$element[0].removeEventListener){this.$element[0].removeEventListener("DOMAttrModified",this._syncA,false);this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,false);this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,false)}this._syncA=null;this._syncS=null;this.$element.off(".select2");this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex"));this.$element.removeClass("select2-hidden-accessible");this.$element.attr("aria-hidden","false");i.RemoveData(this.$element[0]);this.$element.removeData("select2");this.dataAdapter.destroy();this.selection.destroy();this.dropdown.destroy();this.results.destroy();this.dataAdapter=null;this.selection=null;this.dropdown=null;this.results=null};s.prototype.render=function(){var e=t('<span class="select2 select2-container">'+'<span class="selection"></span>'+'<span class="dropdown-wrapper" aria-hidden="true"></span>'+"</span>");e.attr("dir",this.options.get("dir"));this.$container=e;this.$container.addClass("select2-container--"+this.options.get("theme"));i.StoreData(e[0],"element",this.$element);return e};return s}));i.define("select2/compat/utils",["jquery"],(function(t){function e(e,i,n){var r,s=[],o;r=t.trim(e.attr("class"));if(r){r=""+r;t(r.split(/\s+/)).each((function(){if(this.indexOf("select2-")===0){s.push(this)}}))}r=t.trim(i.attr("class"));if(r){r=""+r;t(r.split(/\s+/)).each((function(){if(this.indexOf("select2-")!==0){o=n(this);if(o!=null){s.push(o)}}}))}e.attr("class",s.join(" "))}return{syncCssClasses:e}}));i.define("select2/compat/containerCss",["jquery","./utils"],(function(t,e){function i(t){return null}function n(){}n.prototype.render=function(n){var r=n.call(this);var s=this.options.get("containerCssClass")||"";if(t.isFunction(s)){s=s(this.$element)}var o=this.options.get("adaptContainerCssClass");o=o||i;if(s.indexOf(":all:")!==-1){s=s.replace(":all:","");var a=o;o=function(t){var e=a(t);if(e!=null){return e+" "+t}return t}}var l=this.options.get("containerCss")||{};if(t.isFunction(l)){l=l(this.$element)}e.syncCssClasses(r,this.$element,o);r.css(l);r.addClass(s);return r};return n}));i.define("select2/compat/dropdownCss",["jquery","./utils"],(function(t,e){function i(t){return null}function n(){}n.prototype.render=function(n){var r=n.call(this);var s=this.options.get("dropdownCssClass")||"";if(t.isFunction(s)){s=s(this.$element)}var o=this.options.get("adaptDropdownCssClass");o=o||i;if(s.indexOf(":all:")!==-1){s=s.replace(":all:","");var a=o;o=function(t){var e=a(t);if(e!=null){return e+" "+t}return t}}var l=this.options.get("dropdownCss")||{};if(t.isFunction(l)){l=l(this.$element)}e.syncCssClasses(r,this.$element,o);r.css(l);r.addClass(s);return r};return n}));i.define("select2/compat/initSelection",["jquery"],(function(t){function e(t,e,i){if(i.get("debug")&&window.console&&n.warn){n.warn("Select2: The `initSelection` option has been deprecated in favor"+" of a custom data adapter that overrides the `current` method. "+"This method is now called multiple times instead of a single "+"time when the instance is initialized. Support will be removed "+"for the `initSelection` option in future versions of Select2")}this.initSelection=i.get("initSelection");this._isInitialized=false;t.call(this,e,i)}e.prototype.current=function(e,i){var n=this;if(this._isInitialized){e.call(this,i);return}this.initSelection.call(null,this.$element,(function(e){n._isInitialized=true;if(!t.isArray(e)){e=[e]}i(e)}))};return e}));i.define("select2/compat/inputData",["jquery","../utils"],(function(t,e){function i(t,e,i){this._currentData=[];this._valueSeparator=i.get("valueSeparator")||",";if(e.prop("type")==="hidden"){if(i.get("debug")&&n&&n.warn){n.warn("Select2: Using a hidden input with Select2 is no longer "+"supported and may stop working in the future. It is recommended "+"to use a `<select>` element instead.")}}t.call(this,e,i)}i.prototype.current=function(e,i){function n(e,i){var r=[];if(e.selected||t.inArray(e.id,i)!==-1){e.selected=true;r.push(e)}else{e.selected=false}if(e.children){r.push.apply(r,n(e.children,i))}return r}var r=[];for(var s=0;s<this._currentData.length;s++){var o=this._currentData[s];r.push.apply(r,n(o,this.$element.val().split(this._valueSeparator)))}i(r)};i.prototype.select=function(e,i){if(!this.options.get("multiple")){this.current((function(e){t.map(e,(function(t){t.selected=false}))}));this.$element.val(i.id);this.$element.trigger("input").trigger("change")}else{var n=this.$element.val();n+=this._valueSeparator+i.id;this.$element.val(n);this.$element.trigger("input").trigger("change")}};i.prototype.unselect=function(t,e){var i=this;e.selected=false;this.current((function(t){var n=[];for(var r=0;r<t.length;r++){var s=t[r];if(e.id==s.id){continue}n.push(s.id)}i.$element.val(n.join(i._valueSeparator));i.$element.trigger("input").trigger("change")}))};i.prototype.query=function(t,e,i){var n=[];for(var r=0;r<this._currentData.length;r++){var s=this._currentData[r];var o=this.matches(e,s);if(o!==null){n.push(o)}}i({results:n})};i.prototype.addOptions=function(i,n){var r=t.map(n,(function(t){return e.GetData(t[0],"data")}));this._currentData.push.apply(this._currentData,r)};return i}));i.define("select2/compat/matcher",["jquery"],(function(t){function e(e){function i(i,n){var r=t.extend(true,{},n);if(i.term==null||t.trim(i.term)===""){return r}if(n.children){for(var s=n.children.length-1;s>=0;s--){var o=n.children[s];var a=e(i.term,o.text,o);if(!a){r.children.splice(s,1)}}if(r.children.length>0){return r}}if(e(i.term,n.text,n)){return r}return null}return i}return e}));i.define("select2/compat/query",[],(function(){function t(t,e,i){if(i.get("debug")&&window.console&&n.warn){n.warn("Select2: The `query` option has been deprecated in favor of a "+"custom data adapter that overrides the `query` method. Support "+"will be removed for the `query` option in future versions of "+"Select2.")}t.call(this,e,i)}t.prototype.query=function(t,e,i){e.callback=i;var n=this.options.get("query");n.call(null,e)};return t}));i.define("select2/dropdown/attachContainer",[],(function(){function t(t,e,i){t.call(this,e,i)}t.prototype.position=function(t,e,i){var n=i.find(".dropdown-wrapper");n.append(e);e.addClass("select2-dropdown--below");i.addClass("select2-container--below")};return t}));i.define("select2/dropdown/stopPropagation",[],(function(){function t(){}t.prototype.bind=function(t,e,i){t.call(this,e,i);var n=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(n.join(" "),(function(t){t.stopPropagation()}))};return t}));i.define("select2/selection/stopPropagation",[],(function(){function t(){}t.prototype.bind=function(t,e,i){t.call(this,e,i);var n=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(n.join(" "),(function(t){t.stopPropagation()}))};return t}));
/*!
* jQuery Mousewheel 3.1.13
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*/(function(e){if(typeof i.define==="function"&&i.define.amd){i.define("jquery-mousewheel",["jquery"],e)}else if(true){t.exports=e}else{}})((function(t){var e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],n=Array.prototype.slice,r,s;if(t.event.fixHooks){for(var o=e.length;o;){t.event.fixHooks[e[--o]]=t.event.mouseHooks}}var a=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener){for(var e=i.length;e;){this.addEventListener(i[--e],l,false)}}else{this.onmousewheel=l}t.data(this,"mousewheel-line-height",a.getLineHeight(this));t.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener){for(var e=i.length;e;){this.removeEventListener(i[--e],l,false)}}else{this.onmousewheel=null}t.removeData(this,"mousewheel-line-height");t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();if(!n.length){n=t("body")}return parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:true,normalizeOffset:true}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}});function l(e){var i=e||window.event,o=n.call(arguments,1),l=0,c=0,h=0,p=0,d=0,g=0;e=t.event.fix(i);e.type="mousewheel";if("detail"in i){h=i.detail*-1}if("wheelDelta"in i){h=i.wheelDelta}if("wheelDeltaY"in i){h=i.wheelDeltaY}if("wheelDeltaX"in i){c=i.wheelDeltaX*-1}if("axis"in i&&i.axis===i.HORIZONTAL_AXIS){c=h*-1;h=0}l=h===0?c:h;if("deltaY"in i){h=i.deltaY*-1;l=h}if("deltaX"in i){c=i.deltaX;if(h===0){l=c*-1}}if(h===0&&c===0){return}if(i.deltaMode===1){var m=t.data(this,"mousewheel-line-height");l*=m;h*=m;c*=m}else if(i.deltaMode===2){var v=t.data(this,"mousewheel-page-height");l*=v;h*=v;c*=v}p=Math.max(Math.abs(h),Math.abs(c));if(!s||p<s){s=p;if(f(i,p)){s/=40}}if(f(i,p)){l/=40;c/=40;h/=40}l=Math[l>=1?"floor":"ceil"](l/s);c=Math[c>=1?"floor":"ceil"](c/s);h=Math[h>=1?"floor":"ceil"](h/s);if(a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();d=e.clientX-y.left;g=e.clientY-y.top}e.deltaX=c;e.deltaY=h;e.deltaFactor=s;e.offsetX=d;e.offsetY=g;e.deltaMode=0;o.unshift(e,l,c,h);if(r){clearTimeout(r)}r=setTimeout(u,200);return(t.event.dispatch||t.event.handle).apply(this,o)}function u(){s=null}function f(t,e){return a.settings.adjustOldDeltas&&t.type==="mousewheel"&&e%120===0}}));i.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,i,r,s){if(t.fn.select2==null){var o=["open","close","destroy"];t.fn.select2=function(e){e=e||{};if(typeof e==="object"){this.each((function(){var n=t.extend(true,{},e);var r=new i(t(this),n)}));return this}else if(typeof e==="string"){var r;var a=Array.prototype.slice.call(arguments,1);this.each((function(){var t=s.GetData(this,"select2");if(t==null&&window.console&&n.error){n.error("The select2('"+e+"') method was called on an "+"element that is not using Select2.")}r=t[e].apply(t,a)}));if(t.inArray(e,o)>-1){return this}return r}else{throw new Error("Invalid arguments for Select2: "+e)}}}if(t.fn.select2.defaults==null){t.fn.select2.defaults=r}return i}));return{define:i.define,require:i.require}}();var r=i.require("jquery.select2");e.fn.select2.amd=i;return r}))}).call(this,i(5))},function(t,e,i){},function(t,e,i){(function(t,n){var r;
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var s;var o="4.17.19";var a=200;var l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function";var f="__lodash_hash_undefined__";var c=500;var h="__lodash_placeholder__";var p=1,d=2,g=4;var m=1,v=2;var y=1,_=2,b=4,w=8,x=16,C=32,T=64,k=128,S=256,j=512;var A=30,D="...";var E=800,P=16;var O=1,I=2,z=3;var H=1/0,M=9007199254740991,N=17976931348623157e292,W=0/0;var L=4294967295,q=L-1,$=L>>>1;var R=[["ary",k],["bind",y],["bindKey",_],["curry",w],["curryRight",x],["flip",j],["partial",C],["partialRight",T],["rearg",S]];var F="[object Arguments]",B="[object Array]",Q="[object AsyncFunction]",U="[object Boolean]",V="[object Date]",G="[object DOMException]",X="[object Error]",Y="[object Function]",K="[object GeneratorFunction]",J="[object Map]",Z="[object Number]",tt="[object Null]",et="[object Object]",it="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",st="[object Set]",ot="[object String]",at="[object Symbol]",lt="[object Undefined]",ut="[object WeakMap]",ft="[object WeakSet]";var ct="[object ArrayBuffer]",ht="[object DataView]",pt="[object Float32Array]",dt="[object Float64Array]",gt="[object Int8Array]",mt="[object Int16Array]",vt="[object Int32Array]",yt="[object Uint8Array]",_t="[object Uint8ClampedArray]",bt="[object Uint16Array]",wt="[object Uint32Array]";var xt=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var kt=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,jt=RegExp(kt.source),At=RegExp(St.source);var Dt=/<%-([\s\S]+?)%>/g,Et=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g;var Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,zt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Ht=/[\\^$.*+?()[\]{}|]/g,Mt=RegExp(Ht.source);var Nt=/^\s+|\s+$/g,Wt=/^\s+/,Lt=/\s+$/;var qt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$t=/\{\n\/\* \[wrapped with (.+)\] \*/,Rt=/,? & /;var Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Bt=/\\(\\)?/g;var Qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Ut=/\w*$/;var Vt=/^[-+]0x[0-9a-f]+$/i;var Gt=/^0b[01]+$/i;var Xt=/^\[object .+?Constructor\]$/;var Yt=/^0o[0-7]+$/i;var Kt=/^(?:0|[1-9]\d*)$/;var Jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Zt=/($^)/;var te=/['\n\r\u2028\u2029\\]/g;var ee="\\ud800-\\udfff",ie="\\u0300-\\u036f",ne="\\ufe20-\\ufe2f",re="\\u20d0-\\u20ff",se=ie+ne+re,oe="\\u2700-\\u27bf",ae="a-z\\xdf-\\xf6\\xf8-\\xff",le="\\xac\\xb1\\xd7\\xf7",ue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fe="\\u2000-\\u206f",ce=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",de=le+ue+fe+ce;var ge="['’]",me="["+ee+"]",ve="["+de+"]",ye="["+se+"]",_e="\\d+",be="["+oe+"]",we="["+ae+"]",xe="[^"+ee+de+_e+oe+ae+he+"]",Ce="\\ud83c[\\udffb-\\udfff]",Te="(?:"+ye+"|"+Ce+")",ke="[^"+ee+"]",Se="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="["+he+"]",De="\\u200d";var Ee="(?:"+we+"|"+xe+")",Pe="(?:"+Ae+"|"+xe+")",Oe="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",Ie="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",ze=Te+"?",He="["+pe+"]?",Me="(?:"+De+"(?:"+[ke,Se,je].join("|")+")"+He+ze+")*",Ne="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",We="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Le=He+ze+Me,qe="(?:"+[be,Se,je].join("|")+")"+Le,$e="(?:"+[ke+ye+"?",ye,Se,je,me].join("|")+")";var Re=RegExp(ge,"g");var Fe=RegExp(ye,"g");var Be=RegExp(Ce+"(?="+Ce+")|"+$e+Le,"g");var Qe=RegExp([Ae+"?"+we+"+"+Oe+"(?="+[ve,Ae,"$"].join("|")+")",Pe+"+"+Ie+"(?="+[ve,Ae+Ee,"$"].join("|")+")",Ae+"?"+Ee+"+"+Oe,Ae+"+"+Ie,We,Ne,_e,qe].join("|"),"g");var Ue=RegExp("["+De+ee+se+pe+"]");var Ve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ge=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var Xe=-1;var Ye={};Ye[pt]=Ye[dt]=Ye[gt]=Ye[mt]=Ye[vt]=Ye[yt]=Ye[_t]=Ye[bt]=Ye[wt]=true;Ye[F]=Ye[B]=Ye[ct]=Ye[U]=Ye[ht]=Ye[V]=Ye[X]=Ye[Y]=Ye[J]=Ye[Z]=Ye[et]=Ye[rt]=Ye[st]=Ye[ot]=Ye[ut]=false;var Ke={};Ke[F]=Ke[B]=Ke[ct]=Ke[ht]=Ke[U]=Ke[V]=Ke[pt]=Ke[dt]=Ke[gt]=Ke[mt]=Ke[vt]=Ke[J]=Ke[Z]=Ke[et]=Ke[rt]=Ke[st]=Ke[ot]=Ke[at]=Ke[yt]=Ke[_t]=Ke[bt]=Ke[wt]=true;Ke[X]=Ke[Y]=Ke[ut]=false;var Je={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"};var Ze={"&":"&","<":"<",">":">",'"':""","'":"'"};var ti={"&":"&","<":"<",">":">",""":'"',"'":"'"};var ei={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var ii=parseFloat,ni=parseInt;var ri=typeof t=="object"&&t&&t.Object===Object&&t;var si=typeof self=="object"&&self&&self.Object===Object&&self;var oi=ri||si||Function("return this")();var ai=true&&e&&!e.nodeType&&e;var li=ai&&typeof n=="object"&&n&&!n.nodeType&&n;var ui=li&&li.exports===ai;var fi=ui&&ri.process;var ci=function(){try{var t=li&&li.require&&li.require("util").types;if(t){return t}return fi&&fi.binding&&fi.binding("util")}catch(t){}}();var hi=ci&&ci.isArrayBuffer,pi=ci&&ci.isDate,di=ci&&ci.isMap,gi=ci&&ci.isRegExp,mi=ci&&ci.isSet,vi=ci&&ci.isTypedArray;function yi(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}function _i(t,e,i,n){var r=-1,s=t==null?0:t.length;while(++r<s){var o=t[r];e(n,o,i(o),t)}return n}function bi(t,e){var i=-1,n=t==null?0:t.length;while(++i<n){if(e(t[i],i,t)===false){break}}return t}function wi(t,e){var i=t==null?0:t.length;while(i--){if(e(t[i],i,t)===false){break}}return t}function xi(t,e){var i=-1,n=t==null?0:t.length;while(++i<n){if(!e(t[i],i,t)){return false}}return true}function Ci(t,e){var i=-1,n=t==null?0:t.length,r=0,s=[];while(++i<n){var o=t[i];if(e(o,i,t)){s[r++]=o}}return s}function Ti(t,e){var i=t==null?0:t.length;return!!i&&Mi(t,e,0)>-1}function ki(t,e,i){var n=-1,r=t==null?0:t.length;while(++n<r){if(i(e,t[n])){return true}}return false}function Si(t,e){var i=-1,n=t==null?0:t.length,r=Array(n);while(++i<n){r[i]=e(t[i],i,t)}return r}function ji(t,e){var i=-1,n=e.length,r=t.length;while(++i<n){t[r+i]=e[i]}return t}function Ai(t,e,i,n){var r=-1,s=t==null?0:t.length;if(n&&s){i=t[++r]}while(++r<s){i=e(i,t[r],r,t)}return i}function Di(t,e,i,n){var r=t==null?0:t.length;if(n&&r){i=t[--r]}while(r--){i=e(i,t[r],r,t)}return i}function Ei(t,e){var i=-1,n=t==null?0:t.length;while(++i<n){if(e(t[i],i,t)){return true}}return false}var Pi=qi("length");function Oi(t){return t.split("")}function Ii(t){return t.match(Ft)||[]}function zi(t,e,i){var n;i(t,(function(t,i,r){if(e(t,i,r)){n=i;return false}}));return n}function Hi(t,e,i,n){var r=t.length,s=i+(n?1:-1);while(n?s--:++s<r){if(e(t[s],s,t)){return s}}return-1}function Mi(t,e,i){return e===e?hn(t,e,i):Hi(t,Wi,i)}function Ni(t,e,i,n){var r=i-1,s=t.length;while(++r<s){if(n(t[r],e)){return r}}return-1}function Wi(t){return t!==t}function Li(t,e){var i=t==null?0:t.length;return i?Bi(t,e)/i:W}function qi(t){return function(e){return e==null?s:e[t]}}function $i(t){return function(e){return t==null?s:t[e]}}function Ri(t,e,i,n,r){r(t,(function(t,r,s){i=n?(n=false,t):e(i,t,r,s)}));return i}function Fi(t,e){var i=t.length;t.sort(e);while(i--){t[i]=t[i].value}return t}function Bi(t,e){var i,n=-1,r=t.length;while(++n<r){var o=e(t[n]);if(o!==s){i=i===s?o:i+o}}return i}function Qi(t,e){var i=-1,n=Array(t);while(++i<t){n[i]=e(i)}return n}function Ui(t,e){return Si(e,(function(e){return[e,t[e]]}))}function Vi(t){return function(e){return t(e)}}function Gi(t,e){return Si(e,(function(e){return t[e]}))}function Xi(t,e){return t.has(e)}function Yi(t,e){var i=-1,n=t.length;while(++i<n&&Mi(e,t[i],0)>-1){}return i}function Ki(t,e){var i=t.length;while(i--&&Mi(e,t[i],0)>-1){}return i}function Ji(t,e){var i=t.length,n=0;while(i--){if(t[i]===e){++n}}return n}var Zi=$i(Je);var tn=$i(Ze);function en(t){return"\\"+ei[t]}function nn(t,e){return t==null?s:t[e]}function rn(t){return Ue.test(t)}function sn(t){return Ve.test(t)}function on(t){var e,i=[];while(!(e=t.next()).done){i.push(e.value)}return i}function an(t){var e=-1,i=Array(t.size);t.forEach((function(t,n){i[++e]=[n,t]}));return i}function ln(t,e){return function(i){return t(e(i))}}function un(t,e){var i=-1,n=t.length,r=0,s=[];while(++i<n){var o=t[i];if(o===e||o===h){t[i]=h;s[r++]=i}}return s}function fn(t){var e=-1,i=Array(t.size);t.forEach((function(t){i[++e]=t}));return i}function cn(t){var e=-1,i=Array(t.size);t.forEach((function(t){i[++e]=[t,t]}));return i}function hn(t,e,i){var n=i-1,r=t.length;while(++n<r){if(t[n]===e){return n}}return-1}function pn(t,e,i){var n=i+1;while(n--){if(t[n]===e){return n}}return n}function dn(t){return rn(t)?vn(t):Pi(t)}function gn(t){return rn(t)?yn(t):Oi(t)}var mn=$i(ti);function vn(t){var e=Be.lastIndex=0;while(Be.test(t)){++e}return e}function yn(t){return t.match(Be)||[]}function _n(t){return t.match(Qe)||[]}var bn=function t(e){e=e==null?oi:wn.defaults(oi.Object(),e,wn.pick(oi,Ge));var i=e.Array,n=e.Date,r=e.Error,Ft=e.Function,ee=e.Math,ie=e.Object,ne=e.RegExp,re=e.String,se=e.TypeError;var oe=i.prototype,ae=Ft.prototype,le=ie.prototype;var ue=e["__core-js_shared__"];var fe=ae.toString;var ce=le.hasOwnProperty;var he=0;var pe=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var de=le.toString;var ge=fe.call(ie);var me=oi._;var ve=ne("^"+fe.call(ce).replace(Ht,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ye=ui?e.Buffer:s,_e=e.Symbol,be=e.Uint8Array,we=ye?ye.allocUnsafe:s,xe=ln(ie.getPrototypeOf,ie),Ce=ie.create,Te=le.propertyIsEnumerable,ke=oe.splice,Se=_e?_e.isConcatSpreadable:s,je=_e?_e.iterator:s,Ae=_e?_e.toStringTag:s;var De=function(){try{var t=Qo(ie,"defineProperty");t({},"",{});return t}catch(t){}}();var Ee=e.clearTimeout!==oi.clearTimeout&&e.clearTimeout,Pe=n&&n.now!==oi.Date.now&&n.now,Oe=e.setTimeout!==oi.setTimeout&&e.setTimeout;var Ie=ee.ceil,ze=ee.floor,He=ie.getOwnPropertySymbols,Me=ye?ye.isBuffer:s,Ne=e.isFinite,We=oe.join,Le=ln(ie.keys,ie),qe=ee.max,$e=ee.min,Be=n.now,Qe=e.parseInt,Ue=ee.random,Ve=oe.reverse;var Je=Qo(e,"DataView"),Ze=Qo(e,"Map"),ti=Qo(e,"Promise"),ei=Qo(e,"Set"),ri=Qo(e,"WeakMap"),si=Qo(ie,"create");var ai=ri&&new ri;var li={};var fi=Ea(Je),ci=Ea(Ze),Pi=Ea(ti),Oi=Ea(ei),$i=Ea(ri);var hn=_e?_e.prototype:s,vn=hn?hn.valueOf:s,yn=hn?hn.toString:s;function bn(t){if(Tf(t)&&!af(t)&&!(t instanceof kn)){if(t instanceof Tn){return t}if(ce.call(t,"__wrapped__")){return Oa(t)}}return new Tn(t)}var xn=function(){function t(){}return function(e){if(!Cf(e)){return{}}if(Ce){return Ce(e)}t.prototype=e;var i=new t;t.prototype=s;return i}}();function Cn(){}function Tn(t,e){this.__wrapped__=t;this.__actions__=[];this.__chain__=!!e;this.__index__=0;this.__values__=s}bn.templateSettings={escape:Dt,evaluate:Et,interpolate:Pt,variable:"",imports:{_:bn}};bn.prototype=Cn.prototype;bn.prototype.constructor=bn;Tn.prototype=xn(Cn.prototype);Tn.prototype.constructor=Tn;function kn(t){this.__wrapped__=t;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=L;this.__views__=[]}function Sn(){var t=new kn(this.__wrapped__);t.__actions__=eo(this.__actions__);t.__dir__=this.__dir__;t.__filtered__=this.__filtered__;t.__iteratees__=eo(this.__iteratees__);t.__takeCount__=this.__takeCount__;t.__views__=eo(this.__views__);return t}function jn(){if(this.__filtered__){var t=new kn(this);t.__dir__=-1;t.__filtered__=true}else{t=this.clone();t.__dir__*=-1}return t}function An(){var t=this.__wrapped__.value(),e=this.__dir__,i=af(t),n=e<0,r=i?t.length:0,s=Yo(0,r,this.__views__),o=s.start,a=s.end,l=a-o,u=n?a:o-1,f=this.__iteratees__,c=f.length,h=0,p=$e(l,this.__takeCount__);if(!i||!n&&r==l&&p==l){return Ms(t,this.__actions__)}var d=[];t:while(l--&&h<p){u+=e;var g=-1,m=t[u];while(++g<c){var v=f[g],y=v.iteratee,_=v.type,b=y(m);if(_==I){m=b}else if(!b){if(_==O){continue t}else{break t}}}d[h++]=m}return d}kn.prototype=xn(Cn.prototype);kn.prototype.constructor=kn;function Dn(t){var e=-1,i=t==null?0:t.length;this.clear();while(++e<i){var n=t[e];this.set(n[0],n[1])}}function En(){this.__data__=si?si(null):{};this.size=0}function Pn(t){var e=this.has(t)&&delete this.__data__[t];this.size-=e?1:0;return e}function On(t){var e=this.__data__;if(si){var i=e[t];return i===f?s:i}return ce.call(e,t)?e[t]:s}function In(t){var e=this.__data__;return si?e[t]!==s:ce.call(e,t)}function zn(t,e){var i=this.__data__;this.size+=this.has(t)?0:1;i[t]=si&&e===s?f:e;return this}Dn.prototype.clear=En;Dn.prototype["delete"]=Pn;Dn.prototype.get=On;Dn.prototype.has=In;Dn.prototype.set=zn;function Hn(t){var e=-1,i=t==null?0:t.length;this.clear();while(++e<i){var n=t[e];this.set(n[0],n[1])}}function Mn(){this.__data__=[];this.size=0}function Nn(t){var e=this.__data__,i=lr(e,t);if(i<0){return false}var n=e.length-1;if(i==n){e.pop()}else{ke.call(e,i,1)}--this.size;return true}function Wn(t){var e=this.__data__,i=lr(e,t);return i<0?s:e[i][1]}function Ln(t){return lr(this.__data__,t)>-1}function qn(t,e){var i=this.__data__,n=lr(i,t);if(n<0){++this.size;i.push([t,e])}else{i[n][1]=e}return this}Hn.prototype.clear=Mn;Hn.prototype["delete"]=Nn;Hn.prototype.get=Wn;Hn.prototype.has=Ln;Hn.prototype.set=qn;function $n(t){var e=-1,i=t==null?0:t.length;this.clear();while(++e<i){var n=t[e];this.set(n[0],n[1])}}function Rn(){this.size=0;this.__data__={hash:new Dn,map:new(Ze||Hn),string:new Dn}}function Fn(t){var e=Fo(this,t)["delete"](t);this.size-=e?1:0;return e}function Bn(t){return Fo(this,t).get(t)}function Qn(t){return Fo(this,t).has(t)}function Un(t,e){var i=Fo(this,t),n=i.size;i.set(t,e);this.size+=i.size==n?0:1;return this}$n.prototype.clear=Rn;$n.prototype["delete"]=Fn;$n.prototype.get=Bn;$n.prototype.has=Qn;$n.prototype.set=Un;function Vn(t){var e=-1,i=t==null?0:t.length;this.__data__=new $n;while(++e<i){this.add(t[e])}}function Gn(t){this.__data__.set(t,f);return this}function Xn(t){return this.__data__.has(t)}Vn.prototype.add=Vn.prototype.push=Gn;Vn.prototype.has=Xn;function Yn(t){var e=this.__data__=new Hn(t);this.size=e.size}function Kn(){this.__data__=new Hn;this.size=0}function Jn(t){var e=this.__data__,i=e["delete"](t);this.size=e.size;return i}function Zn(t){return this.__data__.get(t)}function tr(t){return this.__data__.has(t)}function er(t,e){var i=this.__data__;if(i instanceof Hn){var n=i.__data__;if(!Ze||n.length<a-1){n.push([t,e]);this.size=++i.size;return this}i=this.__data__=new $n(n)}i.set(t,e);this.size=i.size;return this}Yn.prototype.clear=Kn;Yn.prototype["delete"]=Jn;Yn.prototype.get=Zn;Yn.prototype.has=tr;Yn.prototype.set=er;function ir(t,e){var i=af(t),n=!i&&of(t),r=!i&&!n&&hf(t),s=!i&&!n&&!r&&Lf(t),o=i||n||r||s,a=o?Qi(t.length,re):[],l=a.length;for(var u in t){if((e||ce.call(t,u))&&!(o&&(u=="length"||r&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||ra(u,l)))){a.push(u)}}return a}function nr(t){var e=t.length;return e?t[gs(0,e-1)]:s}function rr(t,e){return ja(eo(t),dr(e,0,t.length))}function sr(t){return ja(eo(t))}function or(t,e,i){if(i!==s&&!nf(t[e],i)||i===s&&!(e in t)){hr(t,e,i)}}function ar(t,e,i){var n=t[e];if(!(ce.call(t,e)&&nf(n,i))||i===s&&!(e in t)){hr(t,e,i)}}function lr(t,e){var i=t.length;while(i--){if(nf(t[i][0],e)){return i}}return-1}function ur(t,e,i,n){br(t,(function(t,r,s){e(n,t,i(t),s)}));return n}function fr(t,e){return t&&io(e,wc(e),t)}function cr(t,e){return t&&io(e,xc(e),t)}function hr(t,e,i){if(e=="__proto__"&&De){De(t,e,{configurable:true,enumerable:true,value:i,writable:true})}else{t[e]=i}}function pr(t,e){var n=-1,r=e.length,o=i(r),a=t==null;while(++n<r){o[n]=a?s:gc(t,e[n])}return o}function dr(t,e,i){if(t===t){if(i!==s){t=t<=i?t:i}if(e!==s){t=t>=e?t:e}}return t}function gr(t,e,i,n,r,o){var a,l=e&p,u=e&d,f=e&g;if(i){a=r?i(t,n,r,o):i(t)}if(a!==s){return a}if(!Cf(t)){return t}var c=af(t);if(c){a=Zo(t);if(!l){return eo(t,a)}}else{var h=Xo(t),m=h==Y||h==K;if(hf(t)){return Qs(t,l)}if(h==et||h==F||m&&!r){a=u||m?{}:ta(t);if(!l){return u?ro(t,cr(a,t)):no(t,fr(a,t))}}else{if(!Ke[h]){return r?t:{}}a=ea(t,h,l)}}o||(o=new Yn);var v=o.get(t);if(v){return v}o.set(t,a);if(Mf(t)){t.forEach((function(n){a.add(gr(n,e,i,n,t,o))}))}else if(kf(t)){t.forEach((function(n,r){a.set(r,gr(n,e,i,r,t,o))}))}var y=f?u?Wo:No:u?xc:wc;var _=c?s:y(t);bi(_||t,(function(n,r){if(_){r=n;n=t[r]}ar(a,r,gr(n,e,i,r,t,o))}));return a}function mr(t){var e=wc(t);return function(i){return vr(i,t,e)}}function vr(t,e,i){var n=i.length;if(t==null){return!n}t=ie(t);while(n--){var r=i[n],o=e[r],a=t[r];if(a===s&&!(r in t)||!o(a)){return false}}return true}function yr(t,e,i){if(typeof t!="function"){throw new se(u)}return Ca((function(){t.apply(s,i)}),e)}function _r(t,e,i,n){var r=-1,s=Ti,o=true,l=t.length,u=[],f=e.length;if(!l){return u}if(i){e=Si(e,Vi(i))}if(n){s=ki;o=false}else if(e.length>=a){s=Xi;o=false;e=new Vn(e)}t:while(++r<l){var c=t[r],h=i==null?c:i(c);c=n||c!==0?c:0;if(o&&h===h){var p=f;while(p--){if(e[p]===h){continue t}}u.push(c)}else if(!s(e,h,n)){u.push(c)}}return u}var br=ao(Dr);var wr=ao(Er,true);function xr(t,e){var i=true;br(t,(function(t,n,r){i=!!e(t,n,r);return i}));return i}function Cr(t,e,i){var n=-1,r=t.length;while(++n<r){var o=t[n],a=e(o);if(a!=null&&(l===s?a===a&&!Wf(a):i(a,l))){var l=a,u=o}}return u}function Tr(t,e,i,n){var r=t.length;i=Vf(i);if(i<0){i=-i>r?0:r+i}n=n===s||n>r?r:Vf(n);if(n<0){n+=r}n=i>n?0:Gf(n);while(i<n){t[i++]=e}return t}function kr(t,e){var i=[];br(t,(function(t,n,r){if(e(t,n,r)){i.push(t)}}));return i}function Sr(t,e,i,n,r){var s=-1,o=t.length;i||(i=na);r||(r=[]);while(++s<o){var a=t[s];if(e>0&&i(a)){if(e>1){Sr(a,e-1,i,n,r)}else{ji(r,a)}}else if(!n){r[r.length]=a}}return r}var jr=lo();var Ar=lo(true);function Dr(t,e){return t&&jr(t,e,wc)}function Er(t,e){return t&&Ar(t,e,wc)}function Pr(t,e){return Ci(e,(function(e){return bf(t[e])}))}function Or(t,e){e=$s(e,t);var i=0,n=e.length;while(t!=null&&i<n){t=t[Da(e[i++])]}return i&&i==n?t:s}function Ir(t,e,i){var n=e(t);return af(t)?n:ji(n,i(t))}function zr(t){if(t==null){return t===s?lt:tt}return Ae&&Ae in ie(t)?Uo(t):va(t)}function Hr(t,e){return t>e}function Mr(t,e){return t!=null&&ce.call(t,e)}function Nr(t,e){return t!=null&&e in ie(t)}function Wr(t,e,i){return t>=$e(e,i)&&t<qe(e,i)}function Lr(t,e,n){var r=n?ki:Ti,o=t[0].length,a=t.length,l=a,u=i(a),f=Infinity,c=[];while(l--){var h=t[l];if(l&&e){h=Si(h,Vi(e))}f=$e(h.length,f);u[l]=!n&&(e||o>=120&&h.length>=120)?new Vn(l&&h):s}h=t[0];var p=-1,d=u[0];t:while(++p<o&&c.length<f){var g=h[p],m=e?e(g):g;g=n||g!==0?g:0;if(!(d?Xi(d,m):r(c,m,n))){l=a;while(--l){var v=u[l];if(!(v?Xi(v,m):r(t[l],m,n))){continue t}}if(d){d.push(m)}c.push(g)}}return c}function qr(t,e,i,n){Dr(t,(function(t,r,s){e(n,i(t),r,s)}));return n}function $r(t,e,i){e=$s(e,t);t=_a(t,e);var n=t==null?t:t[Da(nl(e))];return n==null?s:yi(n,t,i)}function Rr(t){return Tf(t)&&zr(t)==F}function Fr(t){return Tf(t)&&zr(t)==ct}function Br(t){return Tf(t)&&zr(t)==V}function Qr(t,e,i,n,r){if(t===e){return true}if(t==null||e==null||!Tf(t)&&!Tf(e)){return t!==t&&e!==e}return Ur(t,e,i,n,Qr,r)}function Ur(t,e,i,n,r,s){var o=af(t),a=af(e),l=o?B:Xo(t),u=a?B:Xo(e);l=l==F?et:l;u=u==F?et:u;var f=l==et,c=u==et,h=l==u;if(h&&hf(t)){if(!hf(e)){return false}o=true;f=false}if(h&&!f){s||(s=new Yn);return o||Lf(t)?Io(t,e,i,n,r,s):zo(t,e,l,i,n,r,s)}if(!(i&m)){var p=f&&ce.call(t,"__wrapped__"),d=c&&ce.call(e,"__wrapped__");if(p||d){var g=p?t.value():t,v=d?e.value():e;s||(s=new Yn);return r(g,v,i,n,s)}}if(!h){return false}s||(s=new Yn);return Ho(t,e,i,n,r,s)}function Vr(t){return Tf(t)&&Xo(t)==J}function Gr(t,e,i,n){var r=i.length,o=r,a=!n;if(t==null){return!o}t=ie(t);while(r--){var l=i[r];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t)){return false}}while(++r<o){l=i[r];var u=l[0],f=t[u],c=l[1];if(a&&l[2]){if(f===s&&!(u in t)){return false}}else{var h=new Yn;if(n){var p=n(f,c,u,t,e,h)}if(!(p===s?Qr(c,f,m|v,n,h):p)){return false}}}return true}function Xr(t){if(!Cf(t)||ua(t)){return false}var e=bf(t)?ve:Xt;return e.test(Ea(t))}function Yr(t){return Tf(t)&&zr(t)==rt}function Kr(t){return Tf(t)&&Xo(t)==st}function Jr(t){return Tf(t)&&xf(t.length)&&!!Ye[zr(t)]}function Zr(t){if(typeof t=="function"){return t}if(t==null){return Dh}if(typeof t=="object"){return af(t)?ss(t[0],t[1]):rs(t)}return Rh(t)}function ts(t){if(!ca(t)){return Le(t)}var e=[];for(var i in ie(t)){if(ce.call(t,i)&&i!="constructor"){e.push(i)}}return e}function es(t){if(!Cf(t)){return ma(t)}var e=ca(t),i=[];for(var n in t){if(!(n=="constructor"&&(e||!ce.call(t,n)))){i.push(n)}}return i}function is(t,e){return t<e}function ns(t,e){var n=-1,r=uf(t)?i(t.length):[];br(t,(function(t,i,s){r[++n]=e(t,i,s)}));return r}function rs(t){var e=Bo(t);if(e.length==1&&e[0][2]){return pa(e[0][0],e[0][1])}return function(i){return i===t||Gr(i,t,e)}}function ss(t,e){if(oa(t)&&ha(e)){return pa(Da(t),e)}return function(i){var n=gc(i,t);return n===s&&n===e?vc(i,t):Qr(e,n,m|v)}}function os(t,e,i,n,r){if(t===e){return}jr(e,(function(o,a){r||(r=new Yn);if(Cf(o)){as(t,e,a,i,os,n,r)}else{var l=n?n(wa(t,a),o,a+"",t,e,r):s;if(l===s){l=o}or(t,a,l)}}),xc)}function as(t,e,i,n,r,o,a){var l=wa(t,i),u=wa(e,i),f=a.get(u);if(f){or(t,i,f);return}var c=o?o(l,u,i+"",t,e,a):s;var h=c===s;if(h){var p=af(u),d=!p&&hf(u),g=!p&&!d&&Lf(u);c=u;if(p||d||g){if(af(l)){c=l}else if(ff(l)){c=eo(l)}else if(d){h=false;c=Qs(u,true)}else if(g){h=false;c=Ys(u,true)}else{c=[]}}else if(If(u)||of(u)){c=l;if(of(l)){c=Yf(l)}else if(!Cf(l)||bf(l)){c=ta(u)}}else{h=false}}if(h){a.set(u,c);r(c,u,n,o,a);a["delete"](u)}or(t,i,c)}function ls(t,e){var i=t.length;if(!i){return}e+=e<0?i:0;return ra(e,i)?t[e]:s}function us(t,e,i){if(e.length){e=Si(e,(function(t){if(af(t)){return function(e){return Or(e,t.length===1?t[0]:t)}}return t}))}else{e=[Dh]}var n=-1;e=Si(e,Vi(Ro()));var r=ns(t,(function(t,i,r){var s=Si(e,(function(e){return e(t)}));return{criteria:s,index:++n,value:t}}));return Fi(r,(function(t,e){return Js(t,e,i)}))}function fs(t,e){return cs(t,e,(function(e,i){return vc(t,i)}))}function cs(t,e,i){var n=-1,r=e.length,s={};while(++n<r){var o=e[n],a=Or(t,o);if(i(a,o)){ws(s,$s(o,t),a)}}return s}function hs(t){return function(e){return Or(e,t)}}function ps(t,e,i,n){var r=n?Ni:Mi,s=-1,o=e.length,a=t;if(t===e){e=eo(e)}if(i){a=Si(t,Vi(i))}while(++s<o){var l=0,u=e[s],f=i?i(u):u;while((l=r(a,f,l,n))>-1){if(a!==t){ke.call(a,l,1)}ke.call(t,l,1)}}return t}function ds(t,e){var i=t?e.length:0,n=i-1;while(i--){var r=e[i];if(i==n||r!==s){var s=r;if(ra(r)){ke.call(t,r,1)}else{Is(t,r)}}}return t}function gs(t,e){return t+ze(Ue()*(e-t+1))}function ms(t,e,n,r){var s=-1,o=qe(Ie((e-t)/(n||1)),0),a=i(o);while(o--){a[r?o:++s]=t;t+=n}return a}function vs(t,e){var i="";if(!t||e<1||e>M){return i}do{if(e%2){i+=t}e=ze(e/2);if(e){t+=t}}while(e);return i}function ys(t,e){return Ta(ya(t,e,Dh),t+"")}function _s(t){return nr(qc(t))}function bs(t,e){var i=qc(t);return ja(i,dr(e,0,i.length))}function ws(t,e,i,n){if(!Cf(t)){return t}e=$s(e,t);var r=-1,o=e.length,a=o-1,l=t;while(l!=null&&++r<o){var u=Da(e[r]),f=i;if(u==="__proto__"||u==="constructor"||u==="prototype"){return t}if(r!=a){var c=l[u];f=n?n(c,u,l):s;if(f===s){f=Cf(c)?c:ra(e[r+1])?[]:{}}}ar(l,u,f);l=l[u]}return t}var xs=!ai?Dh:function(t,e){ai.set(t,e);return t};var Cs=!De?Dh:function(t,e){return De(t,"toString",{configurable:true,enumerable:false,value:kh(e),writable:true})};function Ts(t){return ja(qc(t))}function ks(t,e,n){var r=-1,s=t.length;if(e<0){e=-e>s?0:s+e}n=n>s?s:n;if(n<0){n+=s}s=e>n?0:n-e>>>0;e>>>=0;var o=i(s);while(++r<s){o[r]=t[r+e]}return o}function Ss(t,e){var i;br(t,(function(t,n,r){i=e(t,n,r);return!i}));return!!i}function js(t,e,i){var n=0,r=t==null?n:t.length;if(typeof e=="number"&&e===e&&r<=$){while(n<r){var s=n+r>>>1,o=t[s];if(o!==null&&!Wf(o)&&(i?o<=e:o<e)){n=s+1}else{r=s}}return r}return As(t,e,Dh,i)}function As(t,e,i,n){var r=0,o=t==null?0:t.length;if(o===0){return 0}e=i(e);var a=e!==e,l=e===null,u=Wf(e),f=e===s;while(r<o){var c=ze((r+o)/2),h=i(t[c]),p=h!==s,d=h===null,g=h===h,m=Wf(h);if(a){var v=n||g}else if(f){v=g&&(n||p)}else if(l){v=g&&p&&(n||!d)}else if(u){v=g&&p&&!d&&(n||!m)}else if(d||m){v=false}else{v=n?h<=e:h<e}if(v){r=c+1}else{o=c}}return $e(o,q)}function Ds(t,e){var i=-1,n=t.length,r=0,s=[];while(++i<n){var o=t[i],a=e?e(o):o;if(!i||!nf(a,l)){var l=a;s[r++]=o===0?0:o}}return s}function Es(t){if(typeof t=="number"){return t}if(Wf(t)){return W}return+t}function Ps(t){if(typeof t=="string"){return t}if(af(t)){return Si(t,Ps)+""}if(Wf(t)){return yn?yn.call(t):""}var e=t+"";return e=="0"&&1/t==-H?"-0":e}function Os(t,e,i){var n=-1,r=Ti,s=t.length,o=true,l=[],u=l;if(i){o=false;r=ki}else if(s>=a){var f=e?null:jo(t);if(f){return fn(f)}o=false;r=Xi;u=new Vn}else{u=e?[]:l}t:while(++n<s){var c=t[n],h=e?e(c):c;c=i||c!==0?c:0;if(o&&h===h){var p=u.length;while(p--){if(u[p]===h){continue t}}if(e){u.push(h)}l.push(c)}else if(!r(u,h,i)){if(u!==l){u.push(h)}l.push(c)}}return l}function Is(t,e){e=$s(e,t);t=_a(t,e);return t==null||delete t[Da(nl(e))]}function zs(t,e,i,n){return ws(t,e,i(Or(t,e)),n)}function Hs(t,e,i,n){var r=t.length,s=n?r:-1;while((n?s--:++s<r)&&e(t[s],s,t)){}return i?ks(t,n?0:s,n?s+1:r):ks(t,n?s+1:0,n?r:s)}function Ms(t,e){var i=t;if(i instanceof kn){i=i.value()}return Ai(e,(function(t,e){return e.func.apply(e.thisArg,ji([t],e.args))}),i)}function Ns(t,e,n){var r=t.length;if(r<2){return r?Os(t[0]):[]}var s=-1,o=i(r);while(++s<r){var a=t[s],l=-1;while(++l<r){if(l!=s){o[s]=_r(o[s]||a,t[l],e,n)}}}return Os(Sr(o,1),e,n)}function Ws(t,e,i){var n=-1,r=t.length,o=e.length,a={};while(++n<r){var l=n<o?e[n]:s;i(a,t[n],l)}return a}function Ls(t){return ff(t)?t:[]}function qs(t){return typeof t=="function"?t:Dh}function $s(t,e){if(af(t)){return t}return oa(t,e)?[t]:Aa(Jf(t))}var Rs=ys;function Fs(t,e,i){var n=t.length;i=i===s?n:i;return!e&&i>=n?t:ks(t,e,i)}var Bs=Ee||function(t){return oi.clearTimeout(t)};function Qs(t,e){if(e){return t.slice()}var i=t.length,n=we?we(i):new t.constructor(i);t.copy(n);return n}function Us(t){var e=new t.constructor(t.byteLength);new be(e).set(new be(t));return e}function Vs(t,e){var i=e?Us(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}function Gs(t){var e=new t.constructor(t.source,Ut.exec(t));e.lastIndex=t.lastIndex;return e}function Xs(t){return vn?ie(vn.call(t)):{}}function Ys(t,e){var i=e?Us(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}function Ks(t,e){if(t!==e){var i=t!==s,n=t===null,r=t===t,o=Wf(t);var a=e!==s,l=e===null,u=e===e,f=Wf(e);if(!l&&!f&&!o&&t>e||o&&a&&u&&!l&&!f||n&&a&&u||!i&&u||!r){return 1}if(!n&&!o&&!f&&t<e||f&&i&&r&&!n&&!o||l&&i&&r||!a&&r||!u){return-1}}return 0}function Js(t,e,i){var n=-1,r=t.criteria,s=e.criteria,o=r.length,a=i.length;while(++n<o){var l=Ks(r[n],s[n]);if(l){if(n>=a){return l}var u=i[n];return l*(u=="desc"?-1:1)}}return t.index-e.index}function Zs(t,e,n,r){var s=-1,o=t.length,a=n.length,l=-1,u=e.length,f=qe(o-a,0),c=i(u+f),h=!r;while(++l<u){c[l]=e[l]}while(++s<a){if(h||s<o){c[n[s]]=t[s]}}while(f--){c[l++]=t[s++]}return c}function to(t,e,n,r){var s=-1,o=t.length,a=-1,l=n.length,u=-1,f=e.length,c=qe(o-l,0),h=i(c+f),p=!r;while(++s<c){h[s]=t[s]}var d=s;while(++u<f){h[d+u]=e[u]}while(++a<l){if(p||s<o){h[d+n[a]]=t[s++]}}return h}function eo(t,e){var n=-1,r=t.length;e||(e=i(r));while(++n<r){e[n]=t[n]}return e}function io(t,e,i,n){var r=!i;i||(i={});var o=-1,a=e.length;while(++o<a){var l=e[o];var u=n?n(i[l],t[l],l,i,t):s;if(u===s){u=t[l]}if(r){hr(i,l,u)}else{ar(i,l,u)}}return i}function no(t,e){return io(t,Vo(t),e)}function ro(t,e){return io(t,Go(t),e)}function so(t,e){return function(i,n){var r=af(i)?_i:ur,s=e?e():{};return r(i,t,Ro(n,2),s)}}function oo(t){return ys((function(e,i){var n=-1,r=i.length,o=r>1?i[r-1]:s,a=r>2?i[2]:s;o=t.length>3&&typeof o=="function"?(r--,o):s;if(a&&sa(i[0],i[1],a)){o=r<3?s:o;r=1}e=ie(e);while(++n<r){var l=i[n];if(l){t(e,l,n,o)}}return e}))}function ao(t,e){return function(i,n){if(i==null){return i}if(!uf(i)){return t(i,n)}var r=i.length,s=e?r:-1,o=ie(i);while(e?s--:++s<r){if(n(o[s],s,o)===false){break}}return i}}function lo(t){return function(e,i,n){var r=-1,s=ie(e),o=n(e),a=o.length;while(a--){var l=o[t?a:++r];if(i(s[l],l,s)===false){break}}return e}}function uo(t,e,i){var n=e&y,r=ho(t);function s(){var e=this&&this!==oi&&this instanceof s?r:t;return e.apply(n?i:this,arguments)}return s}function fo(t){return function(e){e=Jf(e);var i=rn(e)?gn(e):s;var n=i?i[0]:e.charAt(0);var r=i?Fs(i,1).join(""):e.slice(1);return n[t]()+r}}function co(t){return function(e){return Ai(bh(Vc(e).replace(Re,"")),t,"")}}function ho(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var i=xn(t.prototype),n=t.apply(i,e);return Cf(n)?n:i}}function po(t,e,n){var r=ho(t);function o(){var a=arguments.length,l=i(a),u=a,f=$o(o);while(u--){l[u]=arguments[u]}var c=a<3&&l[0]!==f&&l[a-1]!==f?[]:un(l,f);a-=c.length;if(a<n){return ko(t,e,vo,o.placeholder,s,l,c,s,s,n-a)}var h=this&&this!==oi&&this instanceof o?r:t;return yi(h,this,l)}return o}function go(t){return function(e,i,n){var r=ie(e);if(!uf(e)){var o=Ro(i,3);e=wc(e);i=function(t){return o(r[t],t,r)}}var a=t(e,i,n);return a>-1?r[o?e[a]:a]:s}}function mo(t){return Mo((function(e){var i=e.length,n=i,r=Tn.prototype.thru;if(t){e.reverse()}while(n--){var o=e[n];if(typeof o!="function"){throw new se(u)}if(r&&!a&&qo(o)=="wrapper"){var a=new Tn([],true)}}n=a?n:i;while(++n<i){o=e[n];var l=qo(o),f=l=="wrapper"?Lo(o):s;if(f&&la(f[0])&&f[1]==(k|w|C|S)&&!f[4].length&&f[9]==1){a=a[qo(f[0])].apply(a,f[3])}else{a=o.length==1&&la(o)?a[l]():a.thru(o)}}return function(){var t=arguments,n=t[0];if(a&&t.length==1&&af(n)){return a.plant(n).value()}var r=0,s=i?e[r].apply(this,t):n;while(++r<i){s=e[r].call(this,s)}return s}}))}function vo(t,e,n,r,o,a,l,u,f,c){var h=e&k,p=e&y,d=e&_,g=e&(w|x),m=e&j,v=d?s:ho(t);function b(){var s=arguments.length,y=i(s),_=s;while(_--){y[_]=arguments[_]}if(g){var w=$o(b),x=Ji(y,w)}if(r){y=Zs(y,r,o,g)}if(a){y=to(y,a,l,g)}s-=x;if(g&&s<c){var C=un(y,w);return ko(t,e,vo,b.placeholder,n,y,C,u,f,c-s)}var T=p?n:this,k=d?T[t]:t;s=y.length;if(u){y=ba(y,u)}else if(m&&s>1){y.reverse()}if(h&&f<s){y.length=f}if(this&&this!==oi&&this instanceof b){k=v||ho(k)}return k.apply(T,y)}return b}function yo(t,e){return function(i,n){return qr(i,t,e(n),{})}}function _o(t,e){return function(i,n){var r;if(i===s&&n===s){return e}if(i!==s){r=i}if(n!==s){if(r===s){return n}if(typeof i=="string"||typeof n=="string"){i=Ps(i);n=Ps(n)}else{i=Es(i);n=Es(n)}r=t(i,n)}return r}}function bo(t){return Mo((function(e){e=Si(e,Vi(Ro()));return ys((function(i){var n=this;return t(e,(function(t){return yi(t,n,i)}))}))}))}function wo(t,e){e=e===s?" ":Ps(e);var i=e.length;if(i<2){return i?vs(e,t):e}var n=vs(e,Ie(t/dn(e)));return rn(e)?Fs(gn(n),0,t).join(""):n.slice(0,t)}function xo(t,e,n,r){var s=e&y,o=ho(t);function a(){var e=-1,l=arguments.length,u=-1,f=r.length,c=i(f+l),h=this&&this!==oi&&this instanceof a?o:t;while(++u<f){c[u]=r[u]}while(l--){c[u++]=arguments[++e]}return yi(h,s?n:this,c)}return a}function Co(t){return function(e,i,n){if(n&&typeof n!="number"&&sa(e,i,n)){i=n=s}e=Uf(e);if(i===s){i=e;e=0}else{i=Uf(i)}n=n===s?e<i?1:-1:Uf(n);return ms(e,i,n,t)}}function To(t){return function(e,i){if(!(typeof e=="string"&&typeof i=="string")){e=Xf(e);i=Xf(i)}return t(e,i)}}function ko(t,e,i,n,r,o,a,l,u,f){var c=e&w,h=c?a:s,p=c?s:a,d=c?o:s,g=c?s:o;e|=c?C:T;e&=~(c?T:C);if(!(e&b)){e&=~(y|_)}var m=[t,e,r,d,h,g,p,l,u,f];var v=i.apply(s,m);if(la(t)){xa(v,m)}v.placeholder=n;return ka(v,t,e)}function So(t){var e=ee[t];return function(t,i){t=Xf(t);i=i==null?0:$e(Vf(i),292);if(i&&Ne(t)){var n=(Jf(t)+"e").split("e"),r=e(n[0]+"e"+(+n[1]+i));n=(Jf(r)+"e").split("e");return+(n[0]+"e"+(+n[1]-i))}return e(t)}}var jo=!(ei&&1/fn(new ei([,-0]))[1]==H)?Nh:function(t){return new ei(t)};function Ao(t){return function(e){var i=Xo(e);if(i==J){return an(e)}if(i==st){return cn(e)}return Ui(e,t(e))}}function Do(t,e,i,n,r,o,a,l){var f=e&_;if(!f&&typeof t!="function"){throw new se(u)}var c=n?n.length:0;if(!c){e&=~(C|T);n=r=s}a=a===s?a:qe(Vf(a),0);l=l===s?l:Vf(l);c-=r?r.length:0;if(e&T){var h=n,p=r;n=r=s}var d=f?s:Lo(t);var g=[t,e,i,n,r,h,p,o,a,l];if(d){ga(g,d)}t=g[0];e=g[1];i=g[2];n=g[3];r=g[4];l=g[9]=g[9]===s?f?0:t.length:qe(g[9]-c,0);if(!l&&e&(w|x)){e&=~(w|x)}if(!e||e==y){var m=uo(t,e,i)}else if(e==w||e==x){m=po(t,e,l)}else if((e==C||e==(y|C))&&!r.length){m=xo(t,e,i,n)}else{m=vo.apply(s,g)}var v=d?xs:xa;return ka(v(m,g),t,e)}function Eo(t,e,i,n){if(t===s||nf(t,le[i])&&!ce.call(n,i)){return e}return t}function Po(t,e,i,n,r,o){if(Cf(t)&&Cf(e)){o.set(e,t);os(t,e,s,Po,o);o["delete"](e)}return t}function Oo(t){return If(t)?s:t}function Io(t,e,i,n,r,o){var a=i&m,l=t.length,u=e.length;if(l!=u&&!(a&&u>l)){return false}var f=o.get(t);var c=o.get(e);if(f&&c){return f==e&&c==t}var h=-1,p=true,d=i&v?new Vn:s;o.set(t,e);o.set(e,t);while(++h<l){var g=t[h],y=e[h];if(n){var _=a?n(y,g,h,e,t,o):n(g,y,h,t,e,o)}if(_!==s){if(_){continue}p=false;break}if(d){if(!Ei(e,(function(t,e){if(!Xi(d,e)&&(g===t||r(g,t,i,n,o))){return d.push(e)}}))){p=false;break}}else if(!(g===y||r(g,y,i,n,o))){p=false;break}}o["delete"](t);o["delete"](e);return p}function zo(t,e,i,n,r,s,o){switch(i){case ht:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset){return false}t=t.buffer;e=e.buffer;case ct:if(t.byteLength!=e.byteLength||!s(new be(t),new be(e))){return false}return true;case U:case V:case Z:return nf(+t,+e);case X:return t.name==e.name&&t.message==e.message;case rt:case ot:return t==e+"";case J:var a=an;case st:var l=n&m;a||(a=fn);if(t.size!=e.size&&!l){return false}var u=o.get(t);if(u){return u==e}n|=v;o.set(t,e);var f=Io(a(t),a(e),n,r,s,o);o["delete"](t);return f;case at:if(vn){return vn.call(t)==vn.call(e)}}return false}function Ho(t,e,i,n,r,o){var a=i&m,l=No(t),u=l.length,f=No(e),c=f.length;if(u!=c&&!a){return false}var h=u;while(h--){var p=l[h];if(!(a?p in e:ce.call(e,p))){return false}}var d=o.get(t);var g=o.get(e);if(d&&g){return d==e&&g==t}var v=true;o.set(t,e);o.set(e,t);var y=a;while(++h<u){p=l[h];var _=t[p],b=e[p];if(n){var w=a?n(b,_,p,e,t,o):n(_,b,p,t,e,o)}if(!(w===s?_===b||r(_,b,i,n,o):w)){v=false;break}y||(y=p=="constructor")}if(v&&!y){var x=t.constructor,C=e.constructor;if(x!=C&&("constructor"in t&&"constructor"in e)&&!(typeof x=="function"&&x instanceof x&&typeof C=="function"&&C instanceof C)){v=false}}o["delete"](t);o["delete"](e);return v}function Mo(t){return Ta(ya(t,s,Ua),t+"")}function No(t){return Ir(t,wc,Vo)}function Wo(t){return Ir(t,xc,Go)}var Lo=!ai?Nh:function(t){return ai.get(t)};function qo(t){var e=t.name+"",i=li[e],n=ce.call(li,e)?i.length:0;while(n--){var r=i[n],s=r.func;if(s==null||s==t){return r.name}}return e}function $o(t){var e=ce.call(bn,"placeholder")?bn:t;return e.placeholder}function Ro(){var t=bn.iteratee||Eh;t=t===Eh?Zr:t;return arguments.length?t(arguments[0],arguments[1]):t}function Fo(t,e){var i=t.__data__;return aa(e)?i[typeof e=="string"?"string":"hash"]:i.map}function Bo(t){var e=wc(t),i=e.length;while(i--){var n=e[i],r=t[n];e[i]=[n,r,ha(r)]}return e}function Qo(t,e){var i=nn(t,e);return Xr(i)?i:s}function Uo(t){var e=ce.call(t,Ae),i=t[Ae];try{t[Ae]=s;var n=true}catch(t){}var r=de.call(t);if(n){if(e){t[Ae]=i}else{delete t[Ae]}}return r}var Vo=!He?Uh:function(t){if(t==null){return[]}t=ie(t);return Ci(He(t),(function(e){return Te.call(t,e)}))};var Go=!He?Uh:function(t){var e=[];while(t){ji(e,Vo(t));t=xe(t)}return e};var Xo=zr;if(Je&&Xo(new Je(new ArrayBuffer(1)))!=ht||Ze&&Xo(new Ze)!=J||ti&&Xo(ti.resolve())!=it||ei&&Xo(new ei)!=st||ri&&Xo(new ri)!=ut){Xo=function(t){var e=zr(t),i=e==et?t.constructor:s,n=i?Ea(i):"";if(n){switch(n){case fi:return ht;case ci:return J;case Pi:return it;case Oi:return st;case $i:return ut}}return e}}function Yo(t,e,i){var n=-1,r=i.length;while(++n<r){var s=i[n],o=s.size;switch(s.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=$e(e,t+o);break;case"takeRight":t=qe(t,e-o);break}}return{start:t,end:e}}function Ko(t){var e=t.match($t);return e?e[1].split(Rt):[]}function Jo(t,e,i){e=$s(e,t);var n=-1,r=e.length,s=false;while(++n<r){var o=Da(e[n]);if(!(s=t!=null&&i(t,o))){break}t=t[o]}if(s||++n!=r){return s}r=t==null?0:t.length;return!!r&&xf(r)&&ra(o,r)&&(af(t)||of(t))}function Zo(t){var e=t.length,i=new t.constructor(e);if(e&&typeof t[0]=="string"&&ce.call(t,"index")){i.index=t.index;i.input=t.input}return i}function ta(t){return typeof t.constructor=="function"&&!ca(t)?xn(xe(t)):{}}function ea(t,e,i){var n=t.constructor;switch(e){case ct:return Us(t);case U:case V:return new n(+t);case ht:return Vs(t,i);case pt:case dt:case gt:case mt:case vt:case yt:case _t:case bt:case wt:return Ys(t,i);case J:return new n;case Z:case ot:return new n(t);case rt:return Gs(t);case st:return new n;case at:return Xs(t)}}function ia(t,e){var i=e.length;if(!i){return t}var n=i-1;e[n]=(i>1?"& ":"")+e[n];e=e.join(i>2?", ":" ");return t.replace(qt,"{\n/* [wrapped with "+e+"] */\n")}function na(t){return af(t)||of(t)||!!(Se&&t&&t[Se])}function ra(t,e){var i=typeof t;e=e==null?M:e;return!!e&&(i=="number"||i!="symbol"&&Kt.test(t))&&(t>-1&&t%1==0&&t<e)}function sa(t,e,i){if(!Cf(i)){return false}var n=typeof e;if(n=="number"?uf(i)&&ra(e,i.length):n=="string"&&e in i){return nf(i[e],t)}return false}function oa(t,e){if(af(t)){return false}var i=typeof t;if(i=="number"||i=="symbol"||i=="boolean"||t==null||Wf(t)){return true}return It.test(t)||!Ot.test(t)||e!=null&&t in ie(e)}function aa(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function la(t){var e=qo(t),i=bn[e];if(typeof i!="function"||!(e in kn.prototype)){return false}if(t===i){return true}var n=Lo(i);return!!n&&t===n[0]}function ua(t){return!!pe&&pe in t}var fa=ue?bf:Vh;function ca(t){var e=t&&t.constructor,i=typeof e=="function"&&e.prototype||le;return t===i}function ha(t){return t===t&&!Cf(t)}function pa(t,e){return function(i){if(i==null){return false}return i[t]===e&&(e!==s||t in ie(i))}}function da(t){var e=Wu(t,(function(t){if(i.size===c){i.clear()}return t}));var i=e.cache;return e}function ga(t,e){var i=t[1],n=e[1],r=i|n,s=r<(y|_|k);var o=n==k&&i==w||n==k&&i==S&&t[7].length<=e[8]||n==(k|S)&&e[7].length<=e[8]&&i==w;if(!(s||o)){return t}if(n&y){t[2]=e[2];r|=i&y?0:b}var a=e[3];if(a){var l=t[3];t[3]=l?Zs(l,a,e[4]):a;t[4]=l?un(t[3],h):e[4]}a=e[5];if(a){l=t[5];t[5]=l?to(l,a,e[6]):a;t[6]=l?un(t[5],h):e[6]}a=e[7];if(a){t[7]=a}if(n&k){t[8]=t[8]==null?e[8]:$e(t[8],e[8])}if(t[9]==null){t[9]=e[9]}t[0]=e[0];t[1]=r;return t}function ma(t){var e=[];if(t!=null){for(var i in ie(t)){e.push(i)}}return e}function va(t){return de.call(t)}function ya(t,e,n){e=qe(e===s?t.length-1:e,0);return function(){var r=arguments,s=-1,o=qe(r.length-e,0),a=i(o);while(++s<o){a[s]=r[e+s]}s=-1;var l=i(e+1);while(++s<e){l[s]=r[s]}l[e]=n(a);return yi(t,this,l)}}function _a(t,e){return e.length<2?t:Or(t,ks(e,0,-1))}function ba(t,e){var i=t.length,n=$e(e.length,i),r=eo(t);while(n--){var o=e[n];t[n]=ra(o,i)?r[o]:s}return t}function wa(t,e){if(e==="constructor"&&typeof t[e]==="function"){return}if(e=="__proto__"){return}return t[e]}var xa=Sa(xs);var Ca=Oe||function(t,e){return oi.setTimeout(t,e)};var Ta=Sa(Cs);function ka(t,e,i){var n=e+"";return Ta(t,ia(n,Pa(Ko(n),i)))}function Sa(t){var e=0,i=0;return function(){var n=Be(),r=P-(n-i);i=n;if(r>0){if(++e>=E){return arguments[0]}}else{e=0}return t.apply(s,arguments)}}function ja(t,e){var i=-1,n=t.length,r=n-1;e=e===s?n:e;while(++i<e){var o=gs(i,r),a=t[o];t[o]=t[i];t[i]=a}t.length=e;return t}var Aa=da((function(t){var e=[];if(t.charCodeAt(0)===46){e.push("")}t.replace(zt,(function(t,i,n,r){e.push(n?r.replace(Bt,"$1"):i||t)}));return e}));function Da(t){if(typeof t=="string"||Wf(t)){return t}var e=t+"";return e=="0"&&1/t==-H?"-0":e}function Ea(t){if(t!=null){try{return fe.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Pa(t,e){bi(R,(function(i){var n="_."+i[0];if(e&i[1]&&!Ti(t,n)){t.push(n)}}));return t.sort()}function Oa(t){if(t instanceof kn){return t.clone()}var e=new Tn(t.__wrapped__,t.__chain__);e.__actions__=eo(t.__actions__);e.__index__=t.__index__;e.__values__=t.__values__;return e}function Ia(t,e,n){if(n?sa(t,e,n):e===s){e=1}else{e=qe(Vf(e),0)}var r=t==null?0:t.length;if(!r||e<1){return[]}var o=0,a=0,l=i(Ie(r/e));while(o<r){l[a++]=ks(t,o,o+=e)}return l}function za(t){var e=-1,i=t==null?0:t.length,n=0,r=[];while(++e<i){var s=t[e];if(s){r[n++]=s}}return r}function Ha(){var t=arguments.length;if(!t){return[]}var e=i(t-1),n=arguments[0],r=t;while(r--){e[r-1]=arguments[r]}return ji(af(n)?eo(n):[n],Sr(e,1))}var Ma=ys((function(t,e){return ff(t)?_r(t,Sr(e,1,ff,true)):[]}));var Na=ys((function(t,e){var i=nl(e);if(ff(i)){i=s}return ff(t)?_r(t,Sr(e,1,ff,true),Ro(i,2)):[]}));var Wa=ys((function(t,e){var i=nl(e);if(ff(i)){i=s}return ff(t)?_r(t,Sr(e,1,ff,true),s,i):[]}));function La(t,e,i){var n=t==null?0:t.length;if(!n){return[]}e=i||e===s?1:Vf(e);return ks(t,e<0?0:e,n)}function qa(t,e,i){var n=t==null?0:t.length;if(!n){return[]}e=i||e===s?1:Vf(e);e=n-e;return ks(t,0,e<0?0:e)}function $a(t,e){return t&&t.length?Hs(t,Ro(e,3),true,true):[]}function Ra(t,e){return t&&t.length?Hs(t,Ro(e,3),true):[]}function Fa(t,e,i,n){var r=t==null?0:t.length;if(!r){return[]}if(i&&typeof i!="number"&&sa(t,e,i)){i=0;n=r}return Tr(t,e,i,n)}function Ba(t,e,i){var n=t==null?0:t.length;if(!n){return-1}var r=i==null?0:Vf(i);if(r<0){r=qe(n+r,0)}return Hi(t,Ro(e,3),r)}function Qa(t,e,i){var n=t==null?0:t.length;if(!n){return-1}var r=n-1;if(i!==s){r=Vf(i);r=i<0?qe(n+r,0):$e(r,n-1)}return Hi(t,Ro(e,3),r,true)}function Ua(t){var e=t==null?0:t.length;return e?Sr(t,1):[]}function Va(t){var e=t==null?0:t.length;return e?Sr(t,H):[]}function Ga(t,e){var i=t==null?0:t.length;if(!i){return[]}e=e===s?1:Vf(e);return Sr(t,e)}function Xa(t){var e=-1,i=t==null?0:t.length,n={};while(++e<i){var r=t[e];n[r[0]]=r[1]}return n}function Ya(t){return t&&t.length?t[0]:s}function Ka(t,e,i){var n=t==null?0:t.length;if(!n){return-1}var r=i==null?0:Vf(i);if(r<0){r=qe(n+r,0)}return Mi(t,e,r)}function Ja(t){var e=t==null?0:t.length;return e?ks(t,0,-1):[]}var Za=ys((function(t){var e=Si(t,Ls);return e.length&&e[0]===t[0]?Lr(e):[]}));var tl=ys((function(t){var e=nl(t),i=Si(t,Ls);if(e===nl(i)){e=s}else{i.pop()}return i.length&&i[0]===t[0]?Lr(i,Ro(e,2)):[]}));var el=ys((function(t){var e=nl(t),i=Si(t,Ls);e=typeof e=="function"?e:s;if(e){i.pop()}return i.length&&i[0]===t[0]?Lr(i,s,e):[]}));function il(t,e){return t==null?"":We.call(t,e)}function nl(t){var e=t==null?0:t.length;return e?t[e-1]:s}function rl(t,e,i){var n=t==null?0:t.length;if(!n){return-1}var r=n;if(i!==s){r=Vf(i);r=r<0?qe(n+r,0):$e(r,n-1)}return e===e?pn(t,e,r):Hi(t,Wi,r,true)}function sl(t,e){return t&&t.length?ls(t,Vf(e)):s}var ol=ys(al);function al(t,e){return t&&t.length&&e&&e.length?ps(t,e):t}function ll(t,e,i){return t&&t.length&&e&&e.length?ps(t,e,Ro(i,2)):t}function ul(t,e,i){return t&&t.length&&e&&e.length?ps(t,e,s,i):t}var fl=Mo((function(t,e){var i=t==null?0:t.length,n=pr(t,e);ds(t,Si(e,(function(t){return ra(t,i)?+t:t})).sort(Ks));return n}));function cl(t,e){var i=[];if(!(t&&t.length)){return i}var n=-1,r=[],s=t.length;e=Ro(e,3);while(++n<s){var o=t[n];if(e(o,n,t)){i.push(o);r.push(n)}}ds(t,r);return i}function hl(t){return t==null?t:Ve.call(t)}function pl(t,e,i){var n=t==null?0:t.length;if(!n){return[]}if(i&&typeof i!="number"&&sa(t,e,i)){e=0;i=n}else{e=e==null?0:Vf(e);i=i===s?n:Vf(i)}return ks(t,e,i)}function dl(t,e){return js(t,e)}function gl(t,e,i){return As(t,e,Ro(i,2))}function ml(t,e){var i=t==null?0:t.length;if(i){var n=js(t,e);if(n<i&&nf(t[n],e)){return n}}return-1}function vl(t,e){return js(t,e,true)}function yl(t,e,i){return As(t,e,Ro(i,2),true)}function _l(t,e){var i=t==null?0:t.length;if(i){var n=js(t,e,true)-1;if(nf(t[n],e)){return n}}return-1}function bl(t){return t&&t.length?Ds(t):[]}function wl(t,e){return t&&t.length?Ds(t,Ro(e,2)):[]}function xl(t){var e=t==null?0:t.length;return e?ks(t,1,e):[]}function Cl(t,e,i){if(!(t&&t.length)){return[]}e=i||e===s?1:Vf(e);return ks(t,0,e<0?0:e)}function Tl(t,e,i){var n=t==null?0:t.length;if(!n){return[]}e=i||e===s?1:Vf(e);e=n-e;return ks(t,e<0?0:e,n)}function kl(t,e){return t&&t.length?Hs(t,Ro(e,3),false,true):[]}function Sl(t,e){return t&&t.length?Hs(t,Ro(e,3)):[]}var jl=ys((function(t){return Os(Sr(t,1,ff,true))}));var Al=ys((function(t){var e=nl(t);if(ff(e)){e=s}return Os(Sr(t,1,ff,true),Ro(e,2))}));var Dl=ys((function(t){var e=nl(t);e=typeof e=="function"?e:s;return Os(Sr(t,1,ff,true),s,e)}));function El(t){return t&&t.length?Os(t):[]}function Pl(t,e){return t&&t.length?Os(t,Ro(e,2)):[]}function Ol(t,e){e=typeof e=="function"?e:s;return t&&t.length?Os(t,s,e):[]}function Il(t){if(!(t&&t.length)){return[]}var e=0;t=Ci(t,(function(t){if(ff(t)){e=qe(t.length,e);return true}}));return Qi(e,(function(e){return Si(t,qi(e))}))}function zl(t,e){if(!(t&&t.length)){return[]}var i=Il(t);if(e==null){return i}return Si(i,(function(t){return yi(e,s,t)}))}var Hl=ys((function(t,e){return ff(t)?_r(t,e):[]}));var Ml=ys((function(t){return Ns(Ci(t,ff))}));var Nl=ys((function(t){var e=nl(t);if(ff(e)){e=s}return Ns(Ci(t,ff),Ro(e,2))}));var Wl=ys((function(t){var e=nl(t);e=typeof e=="function"?e:s;return Ns(Ci(t,ff),s,e)}));var Ll=ys(Il);function ql(t,e){return Ws(t||[],e||[],ar)}function $l(t,e){return Ws(t||[],e||[],ws)}var Rl=ys((function(t){var e=t.length,i=e>1?t[e-1]:s;i=typeof i=="function"?(t.pop(),i):s;return zl(t,i)}));function Fl(t){var e=bn(t);e.__chain__=true;return e}function Bl(t,e){e(t);return t}function Ql(t,e){return e(t)}var Ul=Mo((function(t){var e=t.length,i=e?t[0]:0,n=this.__wrapped__,r=function(e){return pr(e,t)};if(e>1||this.__actions__.length||!(n instanceof kn)||!ra(i)){return this.thru(r)}n=n.slice(i,+i+(e?1:0));n.__actions__.push({func:Ql,args:[r],thisArg:s});return new Tn(n,this.__chain__).thru((function(t){if(e&&!t.length){t.push(s)}return t}))}));function Vl(){return Fl(this)}function Gl(){return new Tn(this.value(),this.__chain__)}function Xl(){if(this.__values__===s){this.__values__=Qf(this.value())}var t=this.__index__>=this.__values__.length,e=t?s:this.__values__[this.__index__++];return{done:t,value:e}}function Yl(){return this}function Kl(t){var e,i=this;while(i instanceof Cn){var n=Oa(i);n.__index__=0;n.__values__=s;if(e){r.__wrapped__=n}else{e=n}var r=n;i=i.__wrapped__}r.__wrapped__=t;return e}function Jl(){var t=this.__wrapped__;if(t instanceof kn){var e=t;if(this.__actions__.length){e=new kn(this)}e=e.reverse();e.__actions__.push({func:Ql,args:[hl],thisArg:s});return new Tn(e,this.__chain__)}return this.thru(hl)}function Zl(){return Ms(this.__wrapped__,this.__actions__)}var tu=so((function(t,e,i){if(ce.call(t,i)){++t[i]}else{hr(t,i,1)}}));function eu(t,e,i){var n=af(t)?xi:xr;if(i&&sa(t,e,i)){e=s}return n(t,Ro(e,3))}function iu(t,e){var i=af(t)?Ci:kr;return i(t,Ro(e,3))}var nu=go(Ba);var ru=go(Qa);function su(t,e){return Sr(du(t,e),1)}function ou(t,e){return Sr(du(t,e),H)}function au(t,e,i){i=i===s?1:Vf(i);return Sr(du(t,e),i)}function lu(t,e){var i=af(t)?bi:br;return i(t,Ro(e,3))}function uu(t,e){var i=af(t)?wi:wr;return i(t,Ro(e,3))}var fu=so((function(t,e,i){if(ce.call(t,i)){t[i].push(e)}else{hr(t,i,[e])}}));function cu(t,e,i,n){t=uf(t)?t:qc(t);i=i&&!n?Vf(i):0;var r=t.length;if(i<0){i=qe(r+i,0)}return Nf(t)?i<=r&&t.indexOf(e,i)>-1:!!r&&Mi(t,e,i)>-1}var hu=ys((function(t,e,n){var r=-1,s=typeof e=="function",o=uf(t)?i(t.length):[];br(t,(function(t){o[++r]=s?yi(e,t,n):$r(t,e,n)}));return o}));var pu=so((function(t,e,i){hr(t,i,e)}));function du(t,e){var i=af(t)?Si:ns;return i(t,Ro(e,3))}function gu(t,e,i,n){if(t==null){return[]}if(!af(e)){e=e==null?[]:[e]}i=n?s:i;if(!af(i)){i=i==null?[]:[i]}return us(t,e,i)}var mu=so((function(t,e,i){t[i?0:1].push(e)}),(function(){return[[],[]]}));function vu(t,e,i){var n=af(t)?Ai:Ri,r=arguments.length<3;return n(t,Ro(e,4),i,r,br)}function yu(t,e,i){var n=af(t)?Di:Ri,r=arguments.length<3;return n(t,Ro(e,4),i,r,wr)}function _u(t,e){var i=af(t)?Ci:kr;return i(t,Lu(Ro(e,3)))}function bu(t){var e=af(t)?nr:_s;return e(t)}function wu(t,e,i){if(i?sa(t,e,i):e===s){e=1}else{e=Vf(e)}var n=af(t)?rr:bs;return n(t,e)}function xu(t){var e=af(t)?sr:Ts;return e(t)}function Cu(t){if(t==null){return 0}if(uf(t)){return Nf(t)?dn(t):t.length}var e=Xo(t);if(e==J||e==st){return t.size}return ts(t).length}function Tu(t,e,i){var n=af(t)?Ei:Ss;if(i&&sa(t,e,i)){e=s}return n(t,Ro(e,3))}var ku=ys((function(t,e){if(t==null){return[]}var i=e.length;if(i>1&&sa(t,e[0],e[1])){e=[]}else if(i>2&&sa(e[0],e[1],e[2])){e=[e[0]]}return us(t,Sr(e,1),[])}));var Su=Pe||function(){return oi.Date.now()};function ju(t,e){if(typeof e!="function"){throw new se(u)}t=Vf(t);return function(){if(--t<1){return e.apply(this,arguments)}}}function Au(t,e,i){e=i?s:e;e=t&&e==null?t.length:e;return Do(t,k,s,s,s,s,e)}function Du(t,e){var i;if(typeof e!="function"){throw new se(u)}t=Vf(t);return function(){if(--t>0){i=e.apply(this,arguments)}if(t<=1){e=s}return i}}var Eu=ys((function(t,e,i){var n=y;if(i.length){var r=un(i,$o(Eu));n|=C}return Do(t,n,e,i,r)}));var Pu=ys((function(t,e,i){var n=y|_;if(i.length){var r=un(i,$o(Pu));n|=C}return Do(e,n,t,i,r)}));function Ou(t,e,i){e=i?s:e;var n=Do(t,w,s,s,s,s,s,e);n.placeholder=Ou.placeholder;return n}function Iu(t,e,i){e=i?s:e;var n=Do(t,x,s,s,s,s,s,e);n.placeholder=Iu.placeholder;return n}function zu(t,e,i){var n,r,o,a,l,f,c=0,h=false,p=false,d=true;if(typeof t!="function"){throw new se(u)}e=Xf(e)||0;if(Cf(i)){h=!!i.leading;p="maxWait"in i;o=p?qe(Xf(i.maxWait)||0,e):o;d="trailing"in i?!!i.trailing:d}function g(e){var i=n,o=r;n=r=s;c=e;a=t.apply(o,i);return a}function m(t){c=t;l=Ca(_,e);return h?g(t):a}function v(t){var i=t-f,n=t-c,r=e-i;return p?$e(r,o-n):r}function y(t){var i=t-f,n=t-c;return f===s||i>=e||i<0||p&&n>=o}function _(){var t=Su();if(y(t)){return b(t)}l=Ca(_,v(t))}function b(t){l=s;if(d&&n){return g(t)}n=r=s;return a}function w(){if(l!==s){Bs(l)}c=0;n=f=r=l=s}function x(){return l===s?a:b(Su())}function C(){var t=Su(),i=y(t);n=arguments;r=this;f=t;if(i){if(l===s){return m(f)}if(p){Bs(l);l=Ca(_,e);return g(f)}}if(l===s){l=Ca(_,e)}return a}C.cancel=w;C.flush=x;return C}var Hu=ys((function(t,e){return yr(t,1,e)}));var Mu=ys((function(t,e,i){return yr(t,Xf(e)||0,i)}));function Nu(t){return Do(t,j)}function Wu(t,e){if(typeof t!="function"||e!=null&&typeof e!="function"){throw new se(u)}var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r)){return s.get(r)}var o=t.apply(this,n);i.cache=s.set(r,o)||s;return o};i.cache=new(Wu.Cache||$n);return i}Wu.Cache=$n;function Lu(t){if(typeof t!="function"){throw new se(u)}return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function qu(t){return Du(2,t)}var $u=Rs((function(t,e){e=e.length==1&&af(e[0])?Si(e[0],Vi(Ro())):Si(Sr(e,1),Vi(Ro()));var i=e.length;return ys((function(n){var r=-1,s=$e(n.length,i);while(++r<s){n[r]=e[r].call(this,n[r])}return yi(t,this,n)}))}));var Ru=ys((function(t,e){var i=un(e,$o(Ru));return Do(t,C,s,e,i)}));var Fu=ys((function(t,e){var i=un(e,$o(Fu));return Do(t,T,s,e,i)}));var Bu=Mo((function(t,e){return Do(t,S,s,s,s,e)}));function Qu(t,e){if(typeof t!="function"){throw new se(u)}e=e===s?e:Vf(e);return ys(t,e)}function Uu(t,e){if(typeof t!="function"){throw new se(u)}e=e==null?0:qe(Vf(e),0);return ys((function(i){var n=i[e],r=Fs(i,0,e);if(n){ji(r,n)}return yi(t,this,r)}))}function Vu(t,e,i){var n=true,r=true;if(typeof t!="function"){throw new se(u)}if(Cf(i)){n="leading"in i?!!i.leading:n;r="trailing"in i?!!i.trailing:r}return zu(t,e,{leading:n,maxWait:e,trailing:r})}function Gu(t){return Au(t,1)}function Xu(t,e){return Ru(qs(e),t)}function Yu(){if(!arguments.length){return[]}var t=arguments[0];return af(t)?t:[t]}function Ku(t){return gr(t,g)}function Ju(t,e){e=typeof e=="function"?e:s;return gr(t,g,e)}function Zu(t){return gr(t,p|g)}function tf(t,e){e=typeof e=="function"?e:s;return gr(t,p|g,e)}function ef(t,e){return e==null||vr(t,e,wc(e))}function nf(t,e){return t===e||t!==t&&e!==e}var rf=To(Hr);var sf=To((function(t,e){return t>=e}));var of=Rr(function(){return arguments}())?Rr:function(t){return Tf(t)&&ce.call(t,"callee")&&!Te.call(t,"callee")};var af=i.isArray;var lf=hi?Vi(hi):Fr;function uf(t){return t!=null&&xf(t.length)&&!bf(t)}function ff(t){return Tf(t)&&uf(t)}function cf(t){return t===true||t===false||Tf(t)&&zr(t)==U}var hf=Me||Vh;var pf=pi?Vi(pi):Br;function df(t){return Tf(t)&&t.nodeType===1&&!If(t)}function gf(t){if(t==null){return true}if(uf(t)&&(af(t)||typeof t=="string"||typeof t.splice=="function"||hf(t)||Lf(t)||of(t))){return!t.length}var e=Xo(t);if(e==J||e==st){return!t.size}if(ca(t)){return!ts(t).length}for(var i in t){if(ce.call(t,i)){return false}}return true}function mf(t,e){return Qr(t,e)}function vf(t,e,i){i=typeof i=="function"?i:s;var n=i?i(t,e):s;return n===s?Qr(t,e,s,i):!!n}function yf(t){if(!Tf(t)){return false}var e=zr(t);return e==X||e==G||typeof t.message=="string"&&typeof t.name=="string"&&!If(t)}function _f(t){return typeof t=="number"&&Ne(t)}function bf(t){if(!Cf(t)){return false}var e=zr(t);return e==Y||e==K||e==Q||e==nt}function wf(t){return typeof t=="number"&&t==Vf(t)}function xf(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=M}function Cf(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Tf(t){return t!=null&&typeof t=="object"}var kf=di?Vi(di):Vr;function Sf(t,e){return t===e||Gr(t,e,Bo(e))}function jf(t,e,i){i=typeof i=="function"?i:s;return Gr(t,e,Bo(e),i)}function Af(t){return Of(t)&&t!=+t}function Df(t){if(fa(t)){throw new r(l)}return Xr(t)}function Ef(t){return t===null}function Pf(t){return t==null}function Of(t){return typeof t=="number"||Tf(t)&&zr(t)==Z}function If(t){if(!Tf(t)||zr(t)!=et){return false}var e=xe(t);if(e===null){return true}var i=ce.call(e,"constructor")&&e.constructor;return typeof i=="function"&&i instanceof i&&fe.call(i)==ge}var zf=gi?Vi(gi):Yr;function Hf(t){return wf(t)&&t>=-M&&t<=M}var Mf=mi?Vi(mi):Kr;function Nf(t){return typeof t=="string"||!af(t)&&Tf(t)&&zr(t)==ot}function Wf(t){return typeof t=="symbol"||Tf(t)&&zr(t)==at}var Lf=vi?Vi(vi):Jr;function qf(t){return t===s}function $f(t){return Tf(t)&&Xo(t)==ut}function Rf(t){return Tf(t)&&zr(t)==ft}var Ff=To(is);var Bf=To((function(t,e){return t<=e}));function Qf(t){if(!t){return[]}if(uf(t)){return Nf(t)?gn(t):eo(t)}if(je&&t[je]){return on(t[je]())}var e=Xo(t),i=e==J?an:e==st?fn:qc;return i(t)}function Uf(t){if(!t){return t===0?t:0}t=Xf(t);if(t===H||t===-H){var e=t<0?-1:1;return e*N}return t===t?t:0}function Vf(t){var e=Uf(t),i=e%1;return e===e?i?e-i:e:0}function Gf(t){return t?dr(Vf(t),0,L):0}function Xf(t){if(typeof t=="number"){return t}if(Wf(t)){return W}if(Cf(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Cf(e)?e+"":e}if(typeof t!="string"){return t===0?t:+t}t=t.replace(Nt,"");var i=Gt.test(t);return i||Yt.test(t)?ni(t.slice(2),i?2:8):Vt.test(t)?W:+t}function Yf(t){return io(t,xc(t))}function Kf(t){return t?dr(Vf(t),-M,M):t===0?t:0}function Jf(t){return t==null?"":Ps(t)}var Zf=oo((function(t,e){if(ca(e)||uf(e)){io(e,wc(e),t);return}for(var i in e){if(ce.call(e,i)){ar(t,i,e[i])}}}));var tc=oo((function(t,e){io(e,xc(e),t)}));var ec=oo((function(t,e,i,n){io(e,xc(e),t,n)}));var ic=oo((function(t,e,i,n){io(e,wc(e),t,n)}));var nc=Mo(pr);function rc(t,e){var i=xn(t);return e==null?i:fr(i,e)}var sc=ys((function(t,e){t=ie(t);var i=-1;var n=e.length;var r=n>2?e[2]:s;if(r&&sa(e[0],e[1],r)){n=1}while(++i<n){var o=e[i];var a=xc(o);var l=-1;var u=a.length;while(++l<u){var f=a[l];var c=t[f];if(c===s||nf(c,le[f])&&!ce.call(t,f)){t[f]=o[f]}}}return t}));var oc=ys((function(t){t.push(s,Po);return yi(Sc,s,t)}));function ac(t,e){return zi(t,Ro(e,3),Dr)}function lc(t,e){return zi(t,Ro(e,3),Er)}function uc(t,e){return t==null?t:jr(t,Ro(e,3),xc)}function fc(t,e){return t==null?t:Ar(t,Ro(e,3),xc)}function cc(t,e){return t&&Dr(t,Ro(e,3))}function hc(t,e){return t&&Er(t,Ro(e,3))}function pc(t){return t==null?[]:Pr(t,wc(t))}function dc(t){return t==null?[]:Pr(t,xc(t))}function gc(t,e,i){var n=t==null?s:Or(t,e);return n===s?i:n}function mc(t,e){return t!=null&&Jo(t,e,Mr)}function vc(t,e){return t!=null&&Jo(t,e,Nr)}var yc=yo((function(t,e,i){if(e!=null&&typeof e.toString!="function"){e=de.call(e)}t[e]=i}),kh(Dh));var _c=yo((function(t,e,i){if(e!=null&&typeof e.toString!="function"){e=de.call(e)}if(ce.call(t,e)){t[e].push(i)}else{t[e]=[i]}}),Ro);var bc=ys($r);function wc(t){return uf(t)?ir(t):ts(t)}function xc(t){return uf(t)?ir(t,true):es(t)}function Cc(t,e){var i={};e=Ro(e,3);Dr(t,(function(t,n,r){hr(i,e(t,n,r),t)}));return i}function Tc(t,e){var i={};e=Ro(e,3);Dr(t,(function(t,n,r){hr(i,n,e(t,n,r))}));return i}var kc=oo((function(t,e,i){os(t,e,i)}));var Sc=oo((function(t,e,i,n){os(t,e,i,n)}));var jc=Mo((function(t,e){var i={};if(t==null){return i}var n=false;e=Si(e,(function(e){e=$s(e,t);n||(n=e.length>1);return e}));io(t,Wo(t),i);if(n){i=gr(i,p|d|g,Oo)}var r=e.length;while(r--){Is(i,e[r])}return i}));function Ac(t,e){return Ec(t,Lu(Ro(e)))}var Dc=Mo((function(t,e){return t==null?{}:fs(t,e)}));function Ec(t,e){if(t==null){return{}}var i=Si(Wo(t),(function(t){return[t]}));e=Ro(e);return cs(t,i,(function(t,i){return e(t,i[0])}))}function Pc(t,e,i){e=$s(e,t);var n=-1,r=e.length;if(!r){r=1;t=s}while(++n<r){var o=t==null?s:t[Da(e[n])];if(o===s){n=r;o=i}t=bf(o)?o.call(t):o}return t}function Oc(t,e,i){return t==null?t:ws(t,e,i)}function Ic(t,e,i,n){n=typeof n=="function"?n:s;return t==null?t:ws(t,e,i,n)}var zc=Ao(wc);var Hc=Ao(xc);function Mc(t,e,i){var n=af(t),r=n||hf(t)||Lf(t);e=Ro(e,4);if(i==null){var s=t&&t.constructor;if(r){i=n?new s:[]}else if(Cf(t)){i=bf(s)?xn(xe(t)):{}}else{i={}}}(r?bi:Dr)(t,(function(t,n,r){return e(i,t,n,r)}));return i}function Nc(t,e){return t==null?true:Is(t,e)}function Wc(t,e,i){return t==null?t:zs(t,e,qs(i))}function Lc(t,e,i,n){n=typeof n=="function"?n:s;return t==null?t:zs(t,e,qs(i),n)}function qc(t){return t==null?[]:Gi(t,wc(t))}function $c(t){return t==null?[]:Gi(t,xc(t))}function Rc(t,e,i){if(i===s){i=e;e=s}if(i!==s){i=Xf(i);i=i===i?i:0}if(e!==s){e=Xf(e);e=e===e?e:0}return dr(Xf(t),e,i)}function Fc(t,e,i){e=Uf(e);if(i===s){i=e;e=0}else{i=Uf(i)}t=Xf(t);return Wr(t,e,i)}function Bc(t,e,i){if(i&&typeof i!="boolean"&&sa(t,e,i)){e=i=s}if(i===s){if(typeof e=="boolean"){i=e;e=s}else if(typeof t=="boolean"){i=t;t=s}}if(t===s&&e===s){t=0;e=1}else{t=Uf(t);if(e===s){e=t;t=0}else{e=Uf(e)}}if(t>e){var n=t;t=e;e=n}if(i||t%1||e%1){var r=Ue();return $e(t+r*(e-t+ii("1e-"+((r+"").length-1))),e)}return gs(t,e)}var Qc=co((function(t,e,i){e=e.toLowerCase();return t+(i?Uc(e):e)}));function Uc(t){return _h(Jf(t).toLowerCase())}function Vc(t){t=Jf(t);return t&&t.replace(Jt,Zi).replace(Fe,"")}function Gc(t,e,i){t=Jf(t);e=Ps(e);var n=t.length;i=i===s?n:dr(Vf(i),0,n);var r=i;i-=e.length;return i>=0&&t.slice(i,r)==e}function Xc(t){t=Jf(t);return t&&At.test(t)?t.replace(St,tn):t}function Yc(t){t=Jf(t);return t&&Mt.test(t)?t.replace(Ht,"\\$&"):t}var Kc=co((function(t,e,i){return t+(i?"-":"")+e.toLowerCase()}));var Jc=co((function(t,e,i){return t+(i?" ":"")+e.toLowerCase()}));var Zc=fo("toLowerCase");function th(t,e,i){t=Jf(t);e=Vf(e);var n=e?dn(t):0;if(!e||n>=e){return t}var r=(e-n)/2;return wo(ze(r),i)+t+wo(Ie(r),i)}function eh(t,e,i){t=Jf(t);e=Vf(e);var n=e?dn(t):0;return e&&n<e?t+wo(e-n,i):t}function ih(t,e,i){t=Jf(t);e=Vf(e);var n=e?dn(t):0;return e&&n<e?wo(e-n,i)+t:t}function nh(t,e,i){if(i||e==null){e=0}else if(e){e=+e}return Qe(Jf(t).replace(Wt,""),e||0)}function rh(t,e,i){if(i?sa(t,e,i):e===s){e=1}else{e=Vf(e)}return vs(Jf(t),e)}function sh(){var t=arguments,e=Jf(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var oh=co((function(t,e,i){return t+(i?"_":"")+e.toLowerCase()}));function ah(t,e,i){if(i&&typeof i!="number"&&sa(t,e,i)){e=i=s}i=i===s?L:i>>>0;if(!i){return[]}t=Jf(t);if(t&&(typeof e=="string"||e!=null&&!zf(e))){e=Ps(e);if(!e&&rn(t)){return Fs(gn(t),0,i)}}return t.split(e,i)}var lh=co((function(t,e,i){return t+(i?" ":"")+_h(e)}));function uh(t,e,i){t=Jf(t);i=i==null?0:dr(Vf(i),0,t.length);e=Ps(e);return t.slice(i,i+e.length)==e}function fh(t,e,i){var n=bn.templateSettings;if(i&&sa(t,e,i)){e=s}t=Jf(t);e=ec({},e,n,Eo);var r=ec({},e.imports,n.imports,Eo),o=wc(r),a=Gi(r,o);var l,u,f=0,c=e.interpolate||Zt,h="__p += '";var p=ne((e.escape||Zt).source+"|"+c.source+"|"+(c===Pt?Qt:Zt).source+"|"+(e.evaluate||Zt).source+"|$","g");var d="//# sourceURL="+(ce.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xe+"]")+"\n";t.replace(p,(function(e,i,n,r,s,o){n||(n=r);h+=t.slice(f,o).replace(te,en);if(i){l=true;h+="' +\n__e("+i+") +\n'"}if(s){u=true;h+="';\n"+s+";\n__p += '"}if(n){h+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"}f=o+e.length;return e}));h+="';\n";var g=ce.call(e,"variable")&&e.variable;if(!g){h="with (obj) {\n"+h+"\n}\n"}h=(u?h.replace(xt,""):h).replace(Ct,"$1").replace(Tt,"$1;");h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(l?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=wh((function(){return Ft(o,d+"return "+h).apply(s,a)}));m.source=h;if(yf(m)){throw m}return m}function ch(t){return Jf(t).toLowerCase()}function hh(t){return Jf(t).toUpperCase()}function ph(t,e,i){t=Jf(t);if(t&&(i||e===s)){return t.replace(Nt,"")}if(!t||!(e=Ps(e))){return t}var n=gn(t),r=gn(e),o=Yi(n,r),a=Ki(n,r)+1;return Fs(n,o,a).join("")}function dh(t,e,i){t=Jf(t);if(t&&(i||e===s)){return t.replace(Lt,"")}if(!t||!(e=Ps(e))){return t}var n=gn(t),r=Ki(n,gn(e))+1;return Fs(n,0,r).join("")}function gh(t,e,i){t=Jf(t);if(t&&(i||e===s)){return t.replace(Wt,"")}if(!t||!(e=Ps(e))){return t}var n=gn(t),r=Yi(n,gn(e));return Fs(n,r).join("")}function mh(t,e){var i=A,n=D;if(Cf(e)){var r="separator"in e?e.separator:r;i="length"in e?Vf(e.length):i;n="omission"in e?Ps(e.omission):n}t=Jf(t);var o=t.length;if(rn(t)){var a=gn(t);o=a.length}if(i>=o){return t}var l=i-dn(n);if(l<1){return n}var u=a?Fs(a,0,l).join(""):t.slice(0,l);if(r===s){return u+n}if(a){l+=u.length-l}if(zf(r)){if(t.slice(l).search(r)){var f,c=u;if(!r.global){r=ne(r.source,Jf(Ut.exec(r))+"g")}r.lastIndex=0;while(f=r.exec(c)){var h=f.index}u=u.slice(0,h===s?l:h)}}else if(t.indexOf(Ps(r),l)!=l){var p=u.lastIndexOf(r);if(p>-1){u=u.slice(0,p)}}return u+n}function vh(t){t=Jf(t);return t&&jt.test(t)?t.replace(kt,mn):t}var yh=co((function(t,e,i){return t+(i?" ":"")+e.toUpperCase()}));var _h=fo("toUpperCase");function bh(t,e,i){t=Jf(t);e=i?s:e;if(e===s){return sn(t)?_n(t):Ii(t)}return t.match(e)||[]}var wh=ys((function(t,e){try{return yi(t,s,e)}catch(t){return yf(t)?t:new r(t)}}));var xh=Mo((function(t,e){bi(e,(function(e){e=Da(e);hr(t,e,Eu(t[e],t))}));return t}));function Ch(t){var e=t==null?0:t.length,i=Ro();t=!e?[]:Si(t,(function(t){if(typeof t[1]!="function"){throw new se(u)}return[i(t[0]),t[1]]}));return ys((function(i){var n=-1;while(++n<e){var r=t[n];if(yi(r[0],this,i)){return yi(r[1],this,i)}}}))}function Th(t){return mr(gr(t,p))}function kh(t){return function(){return t}}function Sh(t,e){return t==null||t!==t?e:t}var jh=mo();var Ah=mo(true);function Dh(t){return t}function Eh(t){return Zr(typeof t=="function"?t:gr(t,p))}function Ph(t){return rs(gr(t,p))}function Oh(t,e){return ss(t,gr(e,p))}var Ih=ys((function(t,e){return function(i){return $r(i,t,e)}}));var zh=ys((function(t,e){return function(i){return $r(t,i,e)}}));function Hh(t,e,i){var n=wc(e),r=Pr(e,n);if(i==null&&!(Cf(e)&&(r.length||!n.length))){i=e;e=t;t=this;r=Pr(e,wc(e))}var s=!(Cf(i)&&"chain"in i)||!!i.chain,o=bf(t);bi(r,(function(i){var n=e[i];t[i]=n;if(o){t.prototype[i]=function(){var e=this.__chain__;if(s||e){var i=t(this.__wrapped__),r=i.__actions__=eo(this.__actions__);r.push({func:n,args:arguments,thisArg:t});i.__chain__=e;return i}return n.apply(t,ji([this.value()],arguments))}}}));return t}function Mh(){if(oi._===this){oi._=me}return this}function Nh(){}function Wh(t){t=Vf(t);return ys((function(e){return ls(e,t)}))}var Lh=bo(Si);var qh=bo(xi);var $h=bo(Ei);function Rh(t){return oa(t)?qi(Da(t)):hs(t)}function Fh(t){return function(e){return t==null?s:Or(t,e)}}var Bh=Co();var Qh=Co(true);function Uh(){return[]}function Vh(){return false}function Gh(){return{}}function Xh(){return""}function Yh(){return true}function Kh(t,e){t=Vf(t);if(t<1||t>M){return[]}var i=L,n=$e(t,L);e=Ro(e);t-=L;var r=Qi(n,e);while(++i<t){e(i)}return r}function Jh(t){if(af(t)){return Si(t,Da)}return Wf(t)?[t]:eo(Aa(Jf(t)))}function Zh(t){var e=++he;return Jf(t)+e}var tp=_o((function(t,e){return t+e}),0);var ep=So("ceil");var ip=_o((function(t,e){return t/e}),1);var np=So("floor");function rp(t){return t&&t.length?Cr(t,Dh,Hr):s}function sp(t,e){return t&&t.length?Cr(t,Ro(e,2),Hr):s}function op(t){return Li(t,Dh)}function ap(t,e){return Li(t,Ro(e,2))}function lp(t){return t&&t.length?Cr(t,Dh,is):s}function up(t,e){return t&&t.length?Cr(t,Ro(e,2),is):s}var fp=_o((function(t,e){return t*e}),1);var cp=So("round");var hp=_o((function(t,e){return t-e}),0);function pp(t){return t&&t.length?Bi(t,Dh):0}function dp(t,e){return t&&t.length?Bi(t,Ro(e,2)):0}bn.after=ju;bn.ary=Au;bn.assign=Zf;bn.assignIn=tc;bn.assignInWith=ec;bn.assignWith=ic;bn.at=nc;bn.before=Du;bn.bind=Eu;bn.bindAll=xh;bn.bindKey=Pu;bn.castArray=Yu;bn.chain=Fl;bn.chunk=Ia;bn.compact=za;bn.concat=Ha;bn.cond=Ch;bn.conforms=Th;bn.constant=kh;bn.countBy=tu;bn.create=rc;bn.curry=Ou;bn.curryRight=Iu;bn.debounce=zu;bn.defaults=sc;bn.defaultsDeep=oc;bn.defer=Hu;bn.delay=Mu;bn.difference=Ma;bn.differenceBy=Na;bn.differenceWith=Wa;bn.drop=La;bn.dropRight=qa;bn.dropRightWhile=$a;bn.dropWhile=Ra;bn.fill=Fa;bn.filter=iu;bn.flatMap=su;bn.flatMapDeep=ou;bn.flatMapDepth=au;bn.flatten=Ua;bn.flattenDeep=Va;bn.flattenDepth=Ga;bn.flip=Nu;bn.flow=jh;bn.flowRight=Ah;bn.fromPairs=Xa;bn.functions=pc;bn.functionsIn=dc;bn.groupBy=fu;bn.initial=Ja;bn.intersection=Za;bn.intersectionBy=tl;bn.intersectionWith=el;bn.invert=yc;bn.invertBy=_c;bn.invokeMap=hu;bn.iteratee=Eh;bn.keyBy=pu;bn.keys=wc;bn.keysIn=xc;bn.map=du;bn.mapKeys=Cc;bn.mapValues=Tc;bn.matches=Ph;bn.matchesProperty=Oh;bn.memoize=Wu;bn.merge=kc;bn.mergeWith=Sc;bn.method=Ih;bn.methodOf=zh;bn.mixin=Hh;bn.negate=Lu;bn.nthArg=Wh;bn.omit=jc;bn.omitBy=Ac;bn.once=qu;bn.orderBy=gu;bn.over=Lh;bn.overArgs=$u;bn.overEvery=qh;bn.overSome=$h;bn.partial=Ru;bn.partialRight=Fu;bn.partition=mu;bn.pick=Dc;bn.pickBy=Ec;bn.property=Rh;bn.propertyOf=Fh;bn.pull=ol;bn.pullAll=al;bn.pullAllBy=ll;bn.pullAllWith=ul;bn.pullAt=fl;bn.range=Bh;bn.rangeRight=Qh;bn.rearg=Bu;bn.reject=_u;bn.remove=cl;bn.rest=Qu;bn.reverse=hl;bn.sampleSize=wu;bn.set=Oc;bn.setWith=Ic;bn.shuffle=xu;bn.slice=pl;bn.sortBy=ku;bn.sortedUniq=bl;bn.sortedUniqBy=wl;bn.split=ah;bn.spread=Uu;bn.tail=xl;bn.take=Cl;bn.takeRight=Tl;bn.takeRightWhile=kl;bn.takeWhile=Sl;bn.tap=Bl;bn.throttle=Vu;bn.thru=Ql;bn.toArray=Qf;bn.toPairs=zc;bn.toPairsIn=Hc;bn.toPath=Jh;bn.toPlainObject=Yf;bn.transform=Mc;bn.unary=Gu;bn.union=jl;bn.unionBy=Al;bn.unionWith=Dl;bn.uniq=El;bn.uniqBy=Pl;bn.uniqWith=Ol;bn.unset=Nc;bn.unzip=Il;bn.unzipWith=zl;bn.update=Wc;bn.updateWith=Lc;bn.values=qc;bn.valuesIn=$c;bn.without=Hl;bn.words=bh;bn.wrap=Xu;bn.xor=Ml;bn.xorBy=Nl;bn.xorWith=Wl;bn.zip=Ll;bn.zipObject=ql;bn.zipObjectDeep=$l;bn.zipWith=Rl;bn.entries=zc;bn.entriesIn=Hc;bn.extend=tc;bn.extendWith=ec;Hh(bn,bn);bn.add=tp;bn.attempt=wh;bn.camelCase=Qc;bn.capitalize=Uc;bn.ceil=ep;bn.clamp=Rc;bn.clone=Ku;bn.cloneDeep=Zu;bn.cloneDeepWith=tf;bn.cloneWith=Ju;bn.conformsTo=ef;bn.deburr=Vc;bn.defaultTo=Sh;bn.divide=ip;bn.endsWith=Gc;bn.eq=nf;bn.escape=Xc;bn.escapeRegExp=Yc;bn.every=eu;bn.find=nu;bn.findIndex=Ba;bn.findKey=ac;bn.findLast=ru;bn.findLastIndex=Qa;bn.findLastKey=lc;bn.floor=np;bn.forEach=lu;bn.forEachRight=uu;bn.forIn=uc;bn.forInRight=fc;bn.forOwn=cc;bn.forOwnRight=hc;bn.get=gc;bn.gt=rf;bn.gte=sf;bn.has=mc;bn.hasIn=vc;bn.head=Ya;bn.identity=Dh;bn.includes=cu;bn.indexOf=Ka;bn.inRange=Fc;bn.invoke=bc;bn.isArguments=of;bn.isArray=af;bn.isArrayBuffer=lf;bn.isArrayLike=uf;bn.isArrayLikeObject=ff;bn.isBoolean=cf;bn.isBuffer=hf;bn.isDate=pf;bn.isElement=df;bn.isEmpty=gf;bn.isEqual=mf;bn.isEqualWith=vf;bn.isError=yf;bn.isFinite=_f;bn.isFunction=bf;bn.isInteger=wf;bn.isLength=xf;bn.isMap=kf;bn.isMatch=Sf;bn.isMatchWith=jf;bn.isNaN=Af;bn.isNative=Df;bn.isNil=Pf;bn.isNull=Ef;bn.isNumber=Of;bn.isObject=Cf;bn.isObjectLike=Tf;bn.isPlainObject=If;bn.isRegExp=zf;bn.isSafeInteger=Hf;bn.isSet=Mf;bn.isString=Nf;bn.isSymbol=Wf;bn.isTypedArray=Lf;bn.isUndefined=qf;bn.isWeakMap=$f;bn.isWeakSet=Rf;bn.join=il;bn.kebabCase=Kc;bn.last=nl;bn.lastIndexOf=rl;bn.lowerCase=Jc;bn.lowerFirst=Zc;bn.lt=Ff;bn.lte=Bf;bn.max=rp;bn.maxBy=sp;bn.mean=op;bn.meanBy=ap;bn.min=lp;bn.minBy=up;bn.stubArray=Uh;bn.stubFalse=Vh;bn.stubObject=Gh;bn.stubString=Xh;bn.stubTrue=Yh;bn.multiply=fp;bn.nth=sl;bn.noConflict=Mh;bn.noop=Nh;bn.now=Su;bn.pad=th;bn.padEnd=eh;bn.padStart=ih;bn.parseInt=nh;bn.random=Bc;bn.reduce=vu;bn.reduceRight=yu;bn.repeat=rh;bn.replace=sh;bn.result=Pc;bn.round=cp;bn.runInContext=t;bn.sample=bu;bn.size=Cu;bn.snakeCase=oh;bn.some=Tu;bn.sortedIndex=dl;bn.sortedIndexBy=gl;bn.sortedIndexOf=ml;bn.sortedLastIndex=vl;bn.sortedLastIndexBy=yl;bn.sortedLastIndexOf=_l;bn.startCase=lh;bn.startsWith=uh;bn.subtract=hp;bn.sum=pp;bn.sumBy=dp;bn.template=fh;bn.times=Kh;bn.toFinite=Uf;bn.toInteger=Vf;bn.toLength=Gf;bn.toLower=ch;bn.toNumber=Xf;bn.toSafeInteger=Kf;bn.toString=Jf;bn.toUpper=hh;bn.trim=ph;bn.trimEnd=dh;bn.trimStart=gh;bn.truncate=mh;bn.unescape=vh;bn.uniqueId=Zh;bn.upperCase=yh;bn.upperFirst=_h;bn.each=lu;bn.eachRight=uu;bn.first=Ya;Hh(bn,function(){var t={};Dr(bn,(function(e,i){if(!ce.call(bn.prototype,i)){t[i]=e}}));return t}(),{chain:false});bn.VERSION=o;bi(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){bn[t].placeholder=bn}));bi(["drop","take"],(function(t,e){kn.prototype[t]=function(i){i=i===s?1:qe(Vf(i),0);var n=this.__filtered__&&!e?new kn(this):this.clone();if(n.__filtered__){n.__takeCount__=$e(i,n.__takeCount__)}else{n.__views__.push({size:$e(i,L),type:t+(n.__dir__<0?"Right":"")})}return n};kn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}));bi(["filter","map","takeWhile"],(function(t,e){var i=e+1,n=i==O||i==z;kn.prototype[t]=function(t){var e=this.clone();e.__iteratees__.push({iteratee:Ro(t,3),type:i});e.__filtered__=e.__filtered__||n;return e}}));bi(["head","last"],(function(t,e){var i="take"+(e?"Right":"");kn.prototype[t]=function(){return this[i](1).value()[0]}}));bi(["initial","tail"],(function(t,e){var i="drop"+(e?"":"Right");kn.prototype[t]=function(){return this.__filtered__?new kn(this):this[i](1)}}));kn.prototype.compact=function(){return this.filter(Dh)};kn.prototype.find=function(t){return this.filter(t).head()};kn.prototype.findLast=function(t){return this.reverse().find(t)};kn.prototype.invokeMap=ys((function(t,e){if(typeof t=="function"){return new kn(this)}return this.map((function(i){return $r(i,t,e)}))}));kn.prototype.reject=function(t){return this.filter(Lu(Ro(t)))};kn.prototype.slice=function(t,e){t=Vf(t);var i=this;if(i.__filtered__&&(t>0||e<0)){return new kn(i)}if(t<0){i=i.takeRight(-t)}else if(t){i=i.drop(t)}if(e!==s){e=Vf(e);i=e<0?i.dropRight(-e):i.take(e-t)}return i};kn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()};kn.prototype.toArray=function(){return this.take(L)};Dr(kn.prototype,(function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),r=bn[n?"take"+(e=="last"?"Right":""):e],o=n||/^find/.test(e);if(!r){return}bn.prototype[e]=function(){var e=this.__wrapped__,a=n?[1]:arguments,l=e instanceof kn,u=a[0],f=l||af(e);var c=function(t){var e=r.apply(bn,ji([t],a));return n&&h?e[0]:e};if(f&&i&&typeof u=="function"&&u.length!=1){l=f=false}var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,g=l&&!p;if(!o&&f){e=g?e:new kn(this);var m=t.apply(e,a);m.__actions__.push({func:Ql,args:[c],thisArg:s});return new Tn(m,h)}if(d&&g){return t.apply(this,a)}m=this.thru(c);return d?n?m.value()[0]:m.value():m}}));bi(["pop","push","shift","sort","splice","unshift"],(function(t){var e=oe[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);bn.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var r=this.value();return e.apply(af(r)?r:[],t)}return this[i]((function(i){return e.apply(af(i)?i:[],t)}))}}));Dr(kn.prototype,(function(t,e){var i=bn[e];if(i){var n=i.name+"";if(!ce.call(li,n)){li[n]=[]}li[n].push({name:e,func:i})}}));li[vo(s,_).name]=[{name:"wrapper",func:s}];kn.prototype.clone=Sn;kn.prototype.reverse=jn;kn.prototype.value=An;bn.prototype.at=Ul;bn.prototype.chain=Vl;bn.prototype.commit=Gl;bn.prototype.next=Xl;bn.prototype.plant=Kl;bn.prototype.reverse=Jl;bn.prototype.toJSON=bn.prototype.valueOf=bn.prototype.value=Zl;bn.prototype.first=bn.prototype.head;if(je){bn.prototype[je]=Yl}return bn};var wn=bn();if(true){oi._=wn;!(r=function(){return wn}.call(e,i,e,n),r!==s&&(n.exports=r))}else{}}).call(this)}).call(this,i(6),i(77)(t))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){t.deprecate=function(){};t.paths=[];if(!t.children)t.children=[];Object.defineProperty(t,"loaded",{enumerable:true,get:function(){return t.l}});Object.defineProperty(t,"id",{enumerable:true,get:function(){return t.i}});t.webpackPolyfill=1}return t}},function(t,e,i){"use strict";i.r(e);
/*! gettext.js - Guillaume Potier - MIT Licensed */var n=function(t){t=t||{};this.__version="1.0.0";var e={domain:"messages",locale:(typeof document!=="undefined"?document.documentElement.getAttribute("lang"):false)||"en",plural_func:function(t){return{nplurals:2,plural:t!=1?1:0}},ctxt_delimiter:String.fromCharCode(4)};var i={isObject:function(t){var e=typeof t;return e==="function"||e==="object"&&!!t},isArray:function(t){return toString.call(t)==="[object Array]"}};var n={},r=t.locale||e.locale,s=t.domain||e.domain,o={},a={},l=t.ctxt_delimiter||e.ctxt_delimiter;if(t.messages){o[s]={};o[s][r]=t.messages}if(t.plural_forms){a[r]=t.plural_forms}var u=function(t){var e=arguments;return t.replace(/%%/g,"%% ").replace(/%(\d+)/g,(function(t,i){return e[i]})).replace(/%% /g,"%")};var f=function(t){if(t.indexOf(l)!==-1){var e=t.split(l);return e[1]}return t};var c=function(t){var e=[t],i=t.lastIndexOf("-");while(i>0){t=t.slice(0,i);e.push(t);i=t.lastIndexOf("-")}return e};var h=function(t){var e=new RegExp("^\\s*nplurals\\s*=\\s*[0-9]+\\s*;\\s*plural\\s*=\\s*(?:\\s|[-\\?\\|&=!<>+*/%:;n0-9_()])+");if(!e.test(t))throw new Error(u('The plural form "%1" is not valid',t));return new Function("n","var plural, nplurals; "+t+" return { nplurals: nplurals, plural: (plural === true ? 1 : (plural ? plural : 0)) };")};var p=function(t,e,i){if(!i.plural_form)return u.apply(this,[f(t[0])].concat(Array.prototype.slice.call(arguments,3)));var s;if(i.plural_func){s=i.plural_func(e)}else if(!n[r]){n[r]=h(a[r]);s=n[r](e)}else{s=n[r](e)}if("undefined"===typeof s.plural||s.plural>s.nplurals||t.length<=s.plural)s.plural=0;return u.apply(this,[f(t[s.plural]),e].concat(Array.prototype.slice.call(arguments,3)))};return{strfmt:u,expand_locale:c,__:function(){return this.gettext.apply(this,arguments)},_n:function(){return this.ngettext.apply(this,arguments)},_p:function(){return this.pgettext.apply(this,arguments)},setMessages:function(t,e,n,r){if(!t||!e||!n)throw new Error("You must provide a domain, a locale and messages");if("string"!==typeof t||"string"!==typeof e||!i.isObject(n))throw new Error("Invalid arguments");if(r)a[e]=r;if(!o[t])o[t]={};o[t][e]=n;return this},loadJSON:function(t,n){if(!i.isObject(t))t=JSON.parse(t);if(!t[""]||!t[""]["language"]||!t[""]["plural-forms"])throw new Error('Wrong JSON, it must have an empty key ("") with "language" and "plural-forms" information');var r=t[""];delete t[""];return this.setMessages(n||e.domain,r["language"],t,r["plural-forms"])},setLocale:function(t){r=t;return this},getLocale:function(){return r},textdomain:function(t){if(!t)return s;s=t;return this},gettext:function(t){return this.dcnpgettext.apply(this,[undefined,undefined,t,undefined,undefined].concat(Array.prototype.slice.call(arguments,1)))},ngettext:function(t,e,i){return this.dcnpgettext.apply(this,[undefined,undefined,t,e,i].concat(Array.prototype.slice.call(arguments,3)))},pgettext:function(t,e){return this.dcnpgettext.apply(this,[undefined,t,e,undefined,undefined].concat(Array.prototype.slice.call(arguments,2)))},dcnpgettext:function(t,i,n,a,u){t=t||s;if("string"!==typeof n)throw new Error(this.strfmt('Msgid "%1" is not a valid translatable string',n));var f,h={plural_form:false},d=i?i+l+n:n,g,m,v=c(r);for(var y in v){m=v[y];g=o[t]&&o[t][m]&&o[t][m][d];if(a){g=g&&"string"!==typeof o[t][m][d]}else{g=g&&"string"===typeof o[t][m][d]}if(g){break}}if(!g){f=n;h.plural_func=e.plural_func}else{f=o[t][m][d]}if(!a)return p.apply(this,[[f],u,h].concat(Array.prototype.slice.call(arguments,5)));h.plural_form=true;return p.apply(this,[g?f:[n,a],u,h].concat(Array.prototype.slice.call(arguments,5)))}}};e["default"]=n}]);