/*! For license information please see app.js.LICENSE.txt */ !function(t){var e={};function p(o){if(e[o])return e[o].exports;var b=e[o]={i:o,l:!1,exports:{}};return t[o].call(b.exports,b,b.exports,p),b.l=!0,b.exports}p.m=t,p.c=e,p.d=function(t,e,o){p.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},p.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(p.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var b in t)p.d(o,b,function(e){return t[e]}.bind(null,b));return o},p.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return p.d(e,"a",e),e},p.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},p.p="/",p(p.s=0)}({"/9aa":function(t,e,p){var o=p("NykK"),b=p("ExA7");t.exports=function(t){return"symbol"==typeof t||b(t)&&"[object Symbol]"==o(t)}},0:function(t,e,p){p("bUC5"),p("pyCd"),t.exports=p("WYdp")},"1Tjy":function(t,e,p){t.exports=function(t){function e(o){if(p[o])return p[o].exports;var b=p[o]={i:o,l:!1,exports:{}};return t[o].call(b.exports,b,b.exports,e),b.l=!0,b.exports}var p={};return e.m=t,e.c=p,e.i=function(t){return t},e.d=function(t,p,o){e.o(t,p)||Object.defineProperty(t,p,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var p=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(p,"a",p),p},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=24)}([function(t,e){var p=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=p)},function(t,e){t.exports=function(t,e,p,o,b,M){var n,z=t=t||{},r=typeof t.default;"object"!==r&&"function"!==r||(n=t,z=t.default);var c,O="function"==typeof z?z.options:z;if(e&&(O.render=e.render,O.staticRenderFns=e.staticRenderFns,O._compiled=!0),p&&(O.functional=!0),b&&(O._scopeId=b),M?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(M)},O._ssrRegister=c):o&&(c=o),c){var i=O.functional,a=i?O.render:O.beforeCreate;i?(O._injectStyles=c,O.render=function(t,e){return c.call(e),a(t,e)}):O.beforeCreate=a?[].concat(a,c):[c]}return{esModule:n,exports:z,options:O}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,p){t.exports=!p(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){var p=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=p)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,p){"use strict";e.a={props:{visible:{required:!0,type:Boolean},data:{required:!0},notLastKey:Boolean},computed:{dataVisiable:{get:function(){return this.visible},set:function(t){this.$emit("update:visible",t)}}},methods:{toggleBrackets:function(){this.dataVisiable=!this.dataVisiable},bracketsFormatter:function(t){return this.notLastKey?t+",":t}}}},function(t,e,p){"use strict";var o=p(12),b=p.n(o),M=p(57),n=p(56),z=p(54),r=p(55);e.a={name:"vue-json-pretty",components:{SimpleText:M.a,Checkbox:n.a,BracketsLeft:z.a,BracketsRight:r.a},props:{data:{},deep:{type:Number,default:1/0},showLength:{type:Boolean,default:!1},path:{type:String,default:"root"},selectableType:{type:String,default:""},pathChecked:{type:Array,default:function(){return[]}},pathSelectable:{type:Function,default:function(){return!0}},parentData:{},currentDeep:{type:Number,default:1},currentKey:[Number,String]},data:function(){return{visible:this.currentDeep<=this.deep,treeContentBackground:"transparent",checkboxVal:this.pathChecked.includes(this.path)}},computed:{lastKey:function(){if(Array.isArray(this.parentData))return this.parentData.length-1;if(this.isObject(this.parentData)){var t=b()(this.parentData);return t[t.length-1]}},notLastKey:function(){return this.currentKey!==this.lastKey},selectable:function(){return this.pathSelectable(this.path,this.data)},existCheckbox:function(){return"both"===this.selectableType||"checkbox"===this.selectableType},existMouseover:function(){return"both"===this.selectableType||"tree"===this.selectableType}},methods:{handleClick:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(e||this.existMouseover)&&this.selectable&&(e||(this.checkboxVal=!this.checkboxVal),this.$emit("click",this.path,this.data,this.checkboxVal))},handleItemClick:function(t,e,p){this.$emit("click",t,e,p)},handleMouseover:function(){this.existMouseover&&this.selectable&&(this.treeContentBackground="#eee")},handleMouseout:function(){this.existMouseover&&this.selectable&&(this.treeContentBackground="transparent")},isObject:function(t){return"object"===this.getDataType(t)},getDataType:function(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}},watch:{deep:function(t){this.visible=this.currentDeep<=t}}}},function(t,e,p){"use strict";var o=p(12),b=p.n(o),M=p(6);e.a={mixins:[M.a],props:{showLength:Boolean},methods:{doubleBracketsGenerator:function(t){var e=Array.isArray(t),p=e?"[...]":"{...}";return this.showLength&&(p+=" // "+(e?t.length+" items":b()(t).length+" keys")),this.bracketsFormatter(p)}}}},function(t,e,p){"use strict";var o=p(6);e.a={mixins:[o.a]}},function(t,e,p){"use strict";e.a={props:{name:String,value:{type:Boolean,default:!1}},data:function(){return{focus:!1,checked:!1}},computed:{model:{get:function(){return void 0!==this.value?this.value:this.checked},set:function(t){this.checked=t,this.$emit("input",t)}}}}},function(t,e,p){"use strict";e.a={props:{parentDataType:String,dataType:String,text:String,notLastKey:Boolean,currentKey:[Number,String]},methods:{textFormatter:function(t){var e=t;return"string"===this.dataType&&(e='"'+e+'"'),this.notLastKey&&(e+=","),e}}}},function(t,e,p){t.exports={default:p(26),__esModule:!0}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,p){var o=p(4),b=p(0),M=p(31),n=p(34),z=p(15),r=function(t,e,p){var c,O,i,a=t&r.F,A=t&r.G,s=t&r.S,d=t&r.P,l=t&r.B,q=t&r.W,u=A?b:b[e]||(b[e]={}),f=u.prototype,W=A?o:s?o[e]:(o[e]||{}).prototype;for(c in A&&(p=e),p)(O=!a&&W&&void 0!==W[c])&&z(u,c)||(i=O?W[c]:p[c],u[c]=A&&"function"!=typeof W[c]?p[c]:l&&O?M(i,o):q&&W[c]==i?function(t){var e=function(e,p,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,p)}return new t(e,p,o)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(i):d&&"function"==typeof i?M(Function.call,i):i,d&&((u.virtual||(u.virtual={}))[c]=i,t&r.R&&f&&!f[c]&&n(f,c,i)))};r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,r.U=64,r.R=128,t.exports=r},function(t,e){var p={}.hasOwnProperty;t.exports=function(t,e){return p.call(t,e)}},function(t,e,p){var o=p(30);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},function(t,e,p){var o=p(40),b=p(33);t.exports=Object.keys||function(t){return o(t,b)}},function(t,e){var p=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:p)(t)}},function(t,e,p){var o=p(16),b=p(13);t.exports=function(t){return o(b(t))}},function(t,e,p){var o=p(13);t.exports=function(t){return Object(o(t))}},function(t,e,p){t.exports={default:p(25),__esModule:!0}},function(t,e,p){"use strict";var o=p(7),b=p(59),M=p(1)(o.a,b.a,!1,null,null,null);e.a=M.exports},function(t,e,p){var o=p(52);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals),p(63)("bfa6fc9c",o,!0,{})},function(t,e,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=p(21),b=p.n(o),M=p(22),n=p(23);p.n(n),e.default=b()({},M.a,{version:"1.4.0"})},function(t,e,p){p(50),t.exports=p(0).Object.assign},function(t,e,p){p(51),t.exports=p(0).Object.keys},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,p){var o=p(5);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},function(t,e,p){var o=p(19),b=p(47),M=p(46);t.exports=function(t){return function(e,p,n){var z,r=o(e),c=b(r.length),O=M(n,c);if(t&&p!=p){for(;c>O;)if((z=r[O++])!=z)return!0}else for(;c>O;O++)if((t||O in r)&&r[O]===p)return t||O||0;return!t&&-1}}},function(t,e){var p={}.toString;t.exports=function(t){return p.call(t).slice(8,-1)}},function(t,e,p){var o=p(27);t.exports=function(t,e,p){if(o(t),void 0===e)return t;switch(p){case 1:return function(p){return t.call(e,p)};case 2:return function(p,o){return t.call(e,p,o)};case 3:return function(p,o,b){return t.call(e,p,o,b)}}return function(){return t.apply(e,arguments)}}},function(t,e,p){var o=p(5),b=p(4).document,M=o(b)&&o(b.createElement);t.exports=function(t){return M?b.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,p){var o=p(38),b=p(43);t.exports=p(3)?function(t,e,p){return o.f(t,e,b(1,p))}:function(t,e,p){return t[e]=p,t}},function(t,e,p){t.exports=!p(3)&&!p(2)((function(){return 7!=Object.defineProperty(p(32)("div"),"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=!0},function(t,e,p){"use strict";var o=p(17),b=p(39),M=p(41),n=p(20),z=p(16),r=Object.assign;t.exports=!r||p(2)((function(){var t={},e={},p=Symbol(),o="abcdefghijklmnopqrst";return t[p]=7,o.split("").forEach((function(t){e[t]=t})),7!=r({},t)[p]||Object.keys(r({},e)).join("")!=o}))?function(t,e){for(var p=n(t),r=arguments.length,c=1,O=b.f,i=M.f;r>c;)for(var a,A=z(arguments[c++]),s=O?o(A).concat(O(A)):o(A),d=s.length,l=0;d>l;)i.call(A,a=s[l++])&&(p[a]=A[a]);return p}:r},function(t,e,p){var o=p(28),b=p(35),M=p(48),n=Object.defineProperty;e.f=p(3)?Object.defineProperty:function(t,e,p){if(o(t),e=M(e,!0),o(p),b)try{return n(t,e,p)}catch(t){}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(t[e]=p.value),t}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,p){var o=p(15),b=p(19),M=p(29)(!1),n=p(44)("IE_PROTO");t.exports=function(t,e){var p,z=b(t),r=0,c=[];for(p in z)p!=n&&o(z,p)&&c.push(p);for(;e.length>r;)o(z,p=e[r++])&&(~M(c,p)||c.push(p));return c}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,p){var o=p(14),b=p(0),M=p(2);t.exports=function(t,e){var p=(b.Object||{})[t]||Object[t],n={};n[t]=e(p),o(o.S+o.F*M((function(){p(1)})),"Object",n)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,p){var o=p(45)("keys"),b=p(49);t.exports=function(t){return o[t]||(o[t]=b(t))}},function(t,e,p){var o=p(0),b=p(4),M=b["__core-js_shared__"]||(b["__core-js_shared__"]={});(t.exports=function(t,e){return M[t]||(M[t]=void 0!==e?e:{})})("versions",[]).push({version:o.version,mode:p(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,p){var o=p(18),b=Math.max,M=Math.min;t.exports=function(t,e){return(t=o(t))<0?b(t+e,0):M(t,e)}},function(t,e,p){var o=p(18),b=Math.min;t.exports=function(t){return t>0?b(o(t),9007199254740991):0}},function(t,e,p){var o=p(5);t.exports=function(t,e){if(!o(t))return t;var p,b;if(e&&"function"==typeof(p=t.toString)&&!o(b=p.call(t)))return b;if("function"==typeof(p=t.valueOf)&&!o(b=p.call(t)))return b;if(!e&&"function"==typeof(p=t.toString)&&!o(b=p.call(t)))return b;throw TypeError("Can't convert object to primitive value")}},function(t,e){var p=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++p+o).toString(36))}},function(t,e,p){var o=p(14);o(o.S+o.F,"Object",{assign:p(37)})},function(t,e,p){var o=p(20),b=p(17);p(42)("keys",(function(){return function(t){return b(o(t))}}))},function(t,e,p){(t.exports=p(53)(!1)).push([t.i,'.vjs-checkbox{color:#1f2d3d;user-select:none}.vjs-checkbox .vjs-checkbox__input{outline:0;line-height:1;vertical-align:middle;cursor:pointer;display:inline-block;position:relative;white-space:nowrap}.vjs-checkbox .vjs-checkbox__input.is-checked .vjs-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.vjs-checkbox .vjs-checkbox__input.is-checked .vjs-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.vjs-checkbox .vjs-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:4px;box-sizing:border-box;width:18px;height:18px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-checkbox .vjs-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:5px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-checkbox .vjs-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;left:-999px}.vjs__tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono;font-size:14px}.vjs__tree .vjs__tree__content{padding-left:1em;border-left:1px dotted #ccc}.vjs__tree .vjs__tree__node{cursor:pointer}.vjs__tree .vjs__tree__node:hover{color:#20a0ff}.vjs__tree .vjs-checkbox{position:absolute;left:-30px}.vjs__tree .vjs__value__null{color:#ff4949}.vjs__tree .vjs__value__boolean,.vjs__tree .vjs__value__number{color:#1d8ce0}.vjs__tree .vjs__value__string{color:#13ce66}',""])},function(t,e){function p(t,e){var p=t[1]||"",o=t[3];if(!o)return p;if(e&&"function"==typeof btoa){var b=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(o);return[p].concat(o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}))).concat([b]).join("\n")}return[p].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var o=p(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o})).join("")},e.i=function(t,p){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},b=0;b-1:t.model},on:{change:function(e){t.$emit("change",t.model)},focus:function(e){t.focus=!0},blur:function(e){t.focus=!1},__c:function(e){var p=t.model,o=!!e.target.checked;if(Array.isArray(p)){var b=t._i(p,null);o?b<0&&(t.model=p.concat(null)):b>-1&&(t.model=p.slice(0,b).concat(p.slice(b+1)))}else t.model=o}}})])])},staticRenderFns:[]};e.a=o},function(t,e,p){"use strict";var o={render:function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("div",{staticClass:"vjs__tree",style:{"background-color":t.treeContentBackground,position:t.currentDeep>1?"":"relative","margin-left":1===t.currentDeep&&t.existCheckbox?"30px":""},on:{click:function(e){e.stopPropagation(),t.handleClick(e)},mouseover:function(e){e.stopPropagation(),t.handleMouseover(e)},mouseout:function(e){e.stopPropagation(),t.handleMouseout(e)}}},[t.selectable&&t.existCheckbox?[p("checkbox",{on:{change:function(e){t.handleClick(e,!0)}},model:{value:t.checkboxVal,callback:function(e){t.checkboxVal=e},expression:"checkboxVal"}})]:t._e(),t._v(" "),Array.isArray(t.data)||t.isObject(t.data)?[p("brackets-left",{attrs:{visible:t.visible,data:t.data,"show-length":t.showLength,"not-last-key":t.notLastKey},on:{"update:visible":function(e){t.visible=e}}},[t.currentDeep>1&&!Array.isArray(t.parentData)?p("span",[t._v(t._s(t.currentKey)+":")]):t._e()]),t._v(" "),t._l(t.data,(function(e,o){return p("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],key:o,staticClass:"vjs__tree__content"},[p("vue-json-pretty",{attrs:{"parent-data":t.data,data:e,deep:t.deep,"show-length":t.showLength,path:t.path+(Array.isArray(t.data)?"["+o+"]":"."+o),"path-checked":t.pathChecked,"path-selectable":t.pathSelectable,"selectable-type":t.selectableType,"current-key":o,"current-deep":t.currentDeep+1},on:{click:t.handleItemClick}})],1)})),t._v(" "),p("brackets-right",{attrs:{visible:t.visible,data:t.data,"not-last-key":t.notLastKey},on:{"update:visible":function(e){t.visible=e}}})]:p("simple-text",{attrs:{parentDataType:t.getDataType(t.parentData),dataType:t.getDataType(t.data),text:t.data+"",notLastKey:t.notLastKey,currentKey:t.currentKey}})],2)},staticRenderFns:[]};e.a=o},function(t,e,p){"use strict";var o={render:function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("div",{directives:[{name:"show",rawName:"v-show",value:t.dataVisiable,expression:"dataVisiable"}]},[p("span",{staticClass:"vjs__tree__node",on:{click:function(e){e.stopPropagation(),t.toggleBrackets(e)}}},[t._v("\n "+t._s(t.bracketsFormatter(Array.isArray(t.data)?"]":"}"))+"\n ")])])},staticRenderFns:[]};e.a=o},function(t,e,p){"use strict";var o={render:function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("div",["object"===t.parentDataType?p("span",[t._v(t._s(t.currentKey)+":")]):t._e(),t._v(" "),p("span",{class:"vjs__value__"+t.dataType},[t._v("\n "+t._s(t.textFormatter(t.text))+"\n ")])])},staticRenderFns:[]};e.a=o},function(t,e,p){"use strict";var o={render:function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("div",[t._t("default"),t._v(" "),p("span",{directives:[{name:"show",rawName:"v-show",value:t.dataVisiable,expression:"dataVisiable"}],staticClass:"vjs__tree__node",on:{click:function(e){e.stopPropagation(),t.toggleBrackets(e)}}},[t._v("\n "+t._s(Array.isArray(t.data)?"[":"{")+"\n ")]),t._v(" "),p("span",{directives:[{name:"show",rawName:"v-show",value:!t.dataVisiable,expression:"!dataVisiable"}],staticClass:"vjs__tree__node",on:{click:function(e){e.stopPropagation(),t.toggleBrackets(e)}}},[t._v("\n "+t._s(t.doubleBracketsGenerator(t.data))+"\n ")])],2)},staticRenderFns:[]};e.a=o},function(t,e,p){function o(t){for(var e=0;ep.parts.length&&(o.parts.length=p.parts.length)}else{var n=[];for(b=0;b2047?3:2;return o=t.substring(p,p+n),p+=n+2,o},r=function(){var e=t.charAt(p);return p+=2,e},c=function(){var t=r();switch(t){case"i":return n();case"s":return z();default:throw{name:"Parse Error",message:"Unknown key type '"+t+"' at position "+(p-2)}}};return(e=function(){var O,i,a=r();switch(a){case"i":return i=n(),o[b++]=i,i;case"d":return function(){var e=t.indexOf(";",p),M=t.substring(p,e);return p=e+1,M=parseFloat(M),o[b++]=M,M}();case"b":return function(){var e=t.indexOf(";",p),M=t.substring(p,e);return p=e+1,M="1"===M,o[b++]=M,M}();case"s":return function(){var t=z();return o[b++]=t,t}();case"a":return function(){var t,n,z,r,O,i=M(),a=[],A={},s=a,d=b++;for(o[d]=s,z=0;z0?(A=i.substring(1,d),s=i.substr(d+1),"*"===A||a===A?s:A+"::"+s):void 0,r=e(),l[n]=r;return p++,l}();case"C":return{__PHP_Incomplete_Class_Name:z(),serialized:z()};case"r":return function(){var t=n(),e=o[t-1];return o[b++]=e,e}();case"R":return O=n(),o[O-1];case"N":return o[b++]=null,null;default:throw{name:"Parse Error",message:"Unknown type '"+a+"' at position "+(p-2)}}})()}})?o.apply(e,b):o)||(t.exports=M)}()},"2SVd":function(t,e,p){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"2UWG":function(t,e,p){"use strict";var o=p("CDJp"),b=p("K2E3");function M(t){return void 0!==t._view.width}function n(t){var e,p,o,b,n=t._view;if(M(t)){var z=n.width/2;e=n.x-z,p=n.x+z,o=Math.min(n.y,n.base),b=Math.max(n.y,n.base)}else{var r=n.height/2;e=Math.min(n.x,n.base),p=Math.max(n.x,n.base),o=n.y-r,b=n.y+r}return{left:e,top:o,right:p,bottom:b}}o._set("global",{elements:{rectangle:{backgroundColor:o.global.defaultColor,borderColor:o.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=b.extend({draw:function(){var t,e,p,o,b,M,n,z=this._chart.ctx,r=this._view,c=r.borderWidth;if(r.horizontal?(t=r.base,e=r.x,p=r.y-r.height/2,o=r.y+r.height/2,b=e>t?1:-1,M=1,n=r.borderSkipped||"left"):(t=r.x-r.width/2,e=r.x+r.width/2,p=r.y,b=1,M=(o=r.base)>p?1:-1,n=r.borderSkipped||"bottom"),c){var O=Math.min(Math.abs(t-e),Math.abs(p-o)),i=(c=c>O?O:c)/2,a=t+("left"!==n?i*b:0),A=e+("right"!==n?-i*b:0),s=p+("top"!==n?i*M:0),d=o+("bottom"!==n?-i*M:0);a!==A&&(p=s,o=d),s!==d&&(t=a,e=A)}z.beginPath(),z.fillStyle=r.backgroundColor,z.strokeStyle=r.borderColor,z.lineWidth=c;var l=[[t,o],[t,p],[e,p],[e,o]],q=["bottom","left","top","right"].indexOf(n,0);function u(t){return l[(q+t)%4]}-1===q&&(q=0);var f=u(0);z.moveTo(f[0],f[1]);for(var W=1;W<4;W++)f=u(W),z.lineTo(f[0],f[1]);z.fill(),c&&z.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var p=!1;if(this._view){var o=n(this);p=t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom}return p},inLabelRange:function(t,e){if(!this._view)return!1;var p=n(this);return M(this)?t>=p.left&&t<=p.right:e>=p.top&&e<=p.bottom},inXRange:function(t){var e=n(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=n(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,p=this._view;return M(this)?(t=p.x,e=(p.y+p.base)/2):(t=(p.x+p.base)/2,e=p.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},"35yf":function(t,e,p){"use strict";p("CDJp")._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),t.exports=function(t){t.controllers.scatter=t.controllers.line}},"3Irt":function(t,e,p){"use strict";p.r(e);var o=p("LvDl"),b=p.n(o),M=p("wd/R"),n=p.n(M),z={components:{},data:function(){return{stats:{},workers:[],workload:[],ready:!1}},mounted:function(){document.title="Horizon - Dashboard",this.refreshStatsPeriodically()},destroyed:function(){clearTimeout(this.timeout)},computed:{recentJobsPeriod:function(){return this.ready?"Jobs past ".concat(this.determinePeriod(this.stats.periods.recentJobs)):"Jobs past hour"},failedJobsPeriod:function(){return this.ready?"Failed jobs past ".concat(this.determinePeriod(this.stats.periods.failedJobs)):"Failed jobs past 7 days"}},methods:{loadStats:function(){var t=this;return this.$http.get(Horizon.basePath+"/api/stats").then((function(e){t.stats=e.data,b.a.values(e.data.wait)[0]&&(t.stats.max_wait_time=b.a.values(e.data.wait)[0],t.stats.max_wait_queue=b.a.keys(e.data.wait)[0].split(":")[1])}))},loadWorkers:function(){var t=this;return this.$http.get(Horizon.basePath+"/api/masters").then((function(e){t.workers=e.data}))},loadWorkload:function(){var t=this;return this.$http.get(Horizon.basePath+"/api/workload").then((function(e){t.workload=e.data}))},refreshStatsPeriodically:function(){var t=this;Promise.all([this.loadStats(),this.loadWorkers(),this.loadWorkload()]).then((function(){t.ready=!0,t.timeout=setTimeout((function(){t.refreshStatsPeriodically(!1)}),5e3)}))},countProcesses:function(t){return b.a.chain(t).values().sum().value().toLocaleString()},superVisorDisplayName:function(t,e){return b.a.replace(t,e+":","")},humanTime:function(t){return n.a.duration(t,"seconds").humanize().replace(/^(.)|\s+(.)/g,(function(t){return t.toUpperCase()}))},determinePeriod:function(t){return n.a.duration(n()().diff(n()().subtract(t,"minutes"))).humanize().replace(/^An?/i,"")}}},r=p("KHd+"),c=Object(r.a)(z,(function(){var t=this,e=t.$createElement,p=t._self._c||e;return p("div",[p("div",{staticClass:"card"},[t._m(0),t._v(" "),p("div",{staticClass:"card-bg-secondary"},[p("div",{staticClass:"d-flex"},[p("div",{staticClass:"w-25 border-right border-bottom"},[p("div",{staticClass:"p-4"},[p("small",{staticClass:"text-uppercase"},[t._v("Jobs Per Minute")]),t._v(" "),p("h4",{staticClass:"mt-4 mb-0"},[t._v("\n "+t._s(t.stats.jobsPerMinute?t.stats.jobsPerMinute.toLocaleString():0)+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25 border-right border-bottom"},[p("div",{staticClass:"p-4"},[p("small",{staticClass:"text-uppercase",domProps:{textContent:t._s(t.recentJobsPeriod)}}),t._v(" "),p("h4",{staticClass:"mt-4 mb-0"},[t._v("\n "+t._s(t.stats.recentJobs?t.stats.recentJobs.toLocaleString():0)+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25 border-right border-bottom"},[p("div",{staticClass:"p-4"},[p("small",{staticClass:"text-uppercase",domProps:{textContent:t._s(t.failedJobsPeriod)}}),t._v(" "),p("h4",{staticClass:"mt-4 mb-0"},[t._v("\n "+t._s(t.stats.failedJobs?t.stats.failedJobs.toLocaleString():0)+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25 border-bottom"},[p("div",{staticClass:"p-4"},[p("small",{staticClass:"text-uppercase"},[t._v("Status")]),t._v(" "),p("div",{staticClass:"d-flex align-items-center mt-4"},["running"==t.stats.status?p("svg",{staticClass:"fill-success",staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{viewBox:"0 0 20 20"}},[p("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM6.7 9.29L9 11.6l4.3-4.3 1.4 1.42L9 14.4l-3.7-3.7 1.4-1.42z"}})]):t._e(),t._v(" "),"paused"==t.stats.status?p("svg",{staticClass:"fill-warning",staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{viewBox:"0 0 20 20"}},[p("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM7 6h2v8H7V6zm4 0h2v8h-2V6z"}})]):t._e(),t._v(" "),"inactive"==t.stats.status?p("svg",{staticClass:"fill-danger",staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{viewBox:"0 0 20 20"}},[p("path",{attrs:{d:"M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"}})]):t._e(),t._v(" "),p("h4",{staticClass:"mb-0 ml-2"},[t._v(t._s({running:"Active",paused:"Paused",inactive:"Inactive"}[t.stats.status]))])])])])]),t._v(" "),p("div",{staticClass:"d-flex"},[p("div",{staticClass:"w-25 border-right"},[p("div",{staticClass:"p-4 mb-0"},[p("small",{staticClass:"text-uppercase"},[t._v("TOTAL PROCESSES")]),t._v(" "),p("h4",{staticClass:"mt-4"},[t._v("\n "+t._s(t.stats.processes?t.stats.processes.toLocaleString():0)+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25 border-right"},[p("div",{staticClass:"p-4 mb-0"},[p("small",{staticClass:"text-uppercase"},[t._v("MAX WAIT TIME")]),t._v(" "),t.stats.max_wait_queue?p("small",[t._v("("+t._s(t.stats.max_wait_queue)+")")]):t._e(),t._v(" "),p("h4",{staticClass:"mt-4"},[t._v("\n "+t._s(t.stats.max_wait_time?t.humanTime(t.stats.max_wait_time):"-")+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25 border-right"},[p("div",{staticClass:"p-4 mb-0"},[p("small",{staticClass:"text-uppercase"},[t._v("MAX RUNTIME")]),t._v(" "),p("h4",{staticClass:"mt-4"},[t._v("\n "+t._s(t.stats.queueWithMaxRuntime?t.stats.queueWithMaxRuntime:"-")+"\n ")])])]),t._v(" "),p("div",{staticClass:"w-25"},[p("div",{staticClass:"p-4 mb-0"},[p("small",{staticClass:"text-uppercase"},[t._v("MAX THROUGHPUT")]),t._v(" "),p("h4",{staticClass:"mt-4"},[t._v("\n "+t._s(t.stats.queueWithMaxThroughput?t.stats.queueWithMaxThroughput:"-")+"\n ")])])])])])]),t._v(" "),t.workload.length?p("div",{staticClass:"card mt-4"},[t._m(1),t._v(" "),p("table",{staticClass:"table table-hover table-sm mb-0"},[t._m(2),t._v(" "),p("tbody",t._l(t.workload,(function(e){return p("tr",[p("td",[p("span",[t._v(t._s(e.name.replace(/,/g,", ")))])]),t._v(" "),p("td",[t._v(t._s(e.processes?e.processes.toLocaleString():0))]),t._v(" "),p("td",[t._v(t._s(e.length?e.length.toLocaleString():0))]),t._v(" "),p("td",{staticClass:"text-right"},[t._v(t._s(t.humanTime(e.wait)))])])})),0)])]):t._e(),t._v(" "),t._l(t.workers,(function(e){return p("div",{key:e.name,staticClass:"card mt-4"},[p("div",{staticClass:"card-header d-flex align-items-center justify-content-between"},[p("h5",[t._v(t._s(e.name))])]),t._v(" "),p("table",{staticClass:"table table-hover table-sm mb-0"},[t._m(3,!0),t._v(" "),p("tbody",t._l(e.supervisors,(function(o){return p("tr",[p("td",[t._v(t._s(t.superVisorDisplayName(o.name,e.name)))]),t._v(" "),p("td",[t._v(t._s(t.countProcesses(o.processes)))]),t._v(" "),p("td",[t._v(t._s(o.options.queue.replace(/,/g,", ")))]),t._v(" "),p("td",{staticClass:"text-right"},[t._v("\n ("+t._s(o.options.balance.charAt(0).toUpperCase()+o.options.balance.slice(1))+")\n ")])])})),0)])])}))],2)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-header d-flex align-items-center justify-content-between"},[e("h5",[this._v("Overview")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-header d-flex align-items-center justify-content-between"},[e("h5",[this._v("Current Workload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Queue")]),this._v(" "),e("th",[this._v("Processes")]),this._v(" "),e("th",[this._v("Jobs")]),this._v(" "),e("th",{staticClass:"text-right"},[this._v("Wait")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Supervisor")]),this._v(" "),e("th",[this._v("Processes")]),this._v(" "),e("th",[this._v("Queues")]),this._v(" "),e("th",{staticClass:"text-right"},[this._v("Balancing")])])])}],!1,null,null,null);e.default=c.exports},"5ZZ7":function(t,e,p){"use strict";var o=p("CDJp"),b=p("vvH+"),M=p("RDha");o._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('
    ');var p=t.data,o=p.datasets,b=p.labels;if(o.length)for(var M=0;M'),b[M]&&e.push(b[M]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(p,o){var b=t.getDatasetMeta(0),n=e.datasets[0],z=b.data[o].custom||{},r=M.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:p,fillStyle:z.backgroundColor?z.backgroundColor:r(n.backgroundColor,o,c.backgroundColor),strokeStyle:z.borderColor?z.borderColor:r(n.borderColor,o,c.borderColor),lineWidth:z.borderWidth?z.borderWidth:r(n.borderWidth,o,c.borderWidth),hidden:isNaN(n.data[o])||b.data[o].hidden,index:o}})):[]}},onClick:function(t,e){var p,o,b,M=e.index,n=this.chart;for(p=0,o=(n.data.datasets||[]).length;p=0;--p)e.isDatasetVisible(p)&&e.drawDataset(p,t);O.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var p=this.getDatasetMeta(t),o={meta:p,index:t,easingValue:e};!1!==O.notify(this,"beforeDatasetDraw",[o])&&(p.controller.draw(e),O.notify(this,"afterDatasetDraw",[o]))},_drawTooltip:function(t){var e=this.tooltip,p={tooltip:e,easingValue:t};!1!==O.notify(this,"beforeTooltipDraw",[p])&&(e.draw(),O.notify(this,"afterTooltipDraw",[p]))},getElementAtEvent:function(t){return z.modes.single(this,t)},getElementsAtEvent:function(t){return z.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return z.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,p){var o=z.modes[e];return"function"==typeof o?o(this,t,p):[]},getDatasetAtEvent:function(t){return z.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var p=e._meta[this.id];return p||(p=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),p},getVisibleDatasetCount:function(){for(var t=0,e=0,p=this.data.datasets.length;ep?(e+.05)/(p+.05):(p+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,p=(e[0]+t)%360;return e[0]=p<0?360+p:p,this.setValues("hsl",e),this},mix:function(t,e){var p=t,o=void 0===e?.5:e,b=2*o-1,M=this.alpha()-p.alpha(),n=((b*M==-1?b:(b+M)/(1+b*M))+1)/2,z=1-n;return this.rgb(n*this.red()+z*p.red(),n*this.green()+z*p.green(),n*this.blue()+z*p.blue()).alpha(this.alpha()*o+p.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t,e,p=new M,o=this.values,b=p.values;for(var n in o)o.hasOwnProperty(n)&&(t=o[n],"[object Array]"===(e={}.toString.call(t))?b[n]=t.slice(0):"[object Number]"===e&&(b[n]=t));return p}},M.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},M.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},M.prototype.getValues=function(t){for(var e=this.values,p={},o=0;ob?{start:e-p-5,end:e}:{start:e,end:e+p+5}}function O(t){return 0===t||180===t?"center":t<180?"left":"right"}function i(t,e,p,o){if(b.isArray(e))for(var M=p.y,n=1.5*o,z=0;z270||t<90)&&(p.y-=e.h)}function A(t){return b.isNumber(t)?t:0}var s=t.LinearScaleBase.extend({setDimensions:function(){var t=this,p=t.options,o=p.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var M=b.min([t.height,t.width]),n=b.valueOrDefault(o.fontSize,e.defaultFontSize);t.drawingArea=p.display?M/2-(n/2+o.backdropPaddingY):M/2},determineDataLimits:function(){var t=this,e=t.chart,p=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;b.each(e.data.datasets,(function(M,n){if(e.isDatasetVisible(n)){var z=e.getDatasetMeta(n);b.each(M.data,(function(e,b){var M=+t.getRightValue(e);isNaN(M)||z.data[b].hidden||(p=Math.min(M,p),o=Math.max(M,o))}))}})),t.min=p===Number.POSITIVE_INFINITY?0:p,t.max=o===Number.NEGATIVE_INFINITY?0:o,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,p=b.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*p)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?function(t){var e,p,o,M=r(t),n=Math.min(t.height/2,t.width/2),O={r:t.width,l:0,t:t.height,b:0},i={};t.ctx.font=M.font,t._pointLabelSizes=[];var a,A,s,d=z(t);for(e=0;eO.r&&(O.r=u.end,i.r=l),f.startO.b&&(O.b=f.end,i.b=l)}t.setReductions(n,O,i)}(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,p){var o=e.l/Math.sin(p.l),b=Math.max(e.r-this.width,0)/Math.sin(p.r),M=-e.t/Math.cos(p.t),n=-Math.max(e.b-this.height,0)/Math.cos(p.b);o=A(o),b=A(b),M=A(M),n=A(n),this.drawingArea=Math.min(Math.round(t-(o+b)/2),Math.round(t-(M+n)/2)),this.setCenterPoint(o,b,M,n)},setCenterPoint:function(t,e,p,o){var b=this,M=b.width-e-b.drawingArea,n=t+b.drawingArea,z=p+b.drawingArea,r=b.height-o-b.drawingArea;b.xCenter=Math.round((n+M)/2+b.left),b.yCenter=Math.round((z+r)/2+b.top)},getIndexAngle:function(t){return t*(2*Math.PI/z(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var p=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*p:(t-e.min)*p},getPointPosition:function(t,e){var p=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(p)*e)+this.xCenter,y:Math.round(Math.sin(p)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,p=t.options,o=p.gridLines,M=p.ticks,n=b.valueOrDefault;if(p.display){var c=t.ctx,A=this.getIndexAngle(0),s=n(M.fontSize,e.defaultFontSize),d=n(M.fontStyle,e.defaultFontStyle),l=n(M.fontFamily,e.defaultFontFamily),q=b.fontString(s,d,l);b.each(t.ticks,(function(p,r){if(r>0||M.reverse){var O=t.getDistanceFromCenterForValue(t.ticksAsNumbers[r]);if(o.display&&0!==r&&function(t,e,p,o){var M=t.ctx;if(M.strokeStyle=b.valueAtIndexOrDefault(e.color,o-1),M.lineWidth=b.valueAtIndexOrDefault(e.lineWidth,o-1),t.options.gridLines.circular)M.beginPath(),M.arc(t.xCenter,t.yCenter,p,0,2*Math.PI),M.closePath(),M.stroke();else{var n=z(t);if(0===n)return;M.beginPath();var r=t.getPointPosition(0,p);M.moveTo(r.x,r.y);for(var c=1;c=0;s--){if(M.display){var d=t.getPointPosition(s,c);p.beginPath(),p.moveTo(t.xCenter,t.yCenter),p.lineTo(d.x,d.y),p.stroke(),p.closePath()}if(n.display){var l=t.getPointPosition(s,c+5),q=b.valueAtIndexOrDefault(n.fontColor,s,e.defaultFontColor);p.font=A.font,p.fillStyle=q;var u=t.getIndexAngle(s),f=b.toDegrees(u);p.textAlign=O(f),a(f,t._pointLabelSizes[s],l),i(p,t.pointLabels[s]||"",l,A.size)}}}(t)}}});M.registerScaleType("radialLinear",s,p)}},"8L3F":function(t,e,p){"use strict";p.r(e),function(t){for(var p="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],b=0,M=0;M=0){b=1;break}var n=p&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),b))}};function z(t){return t&&"[object Function]"==={}.toString.call(t)}function r(t,e){if(1!==t.nodeType)return[];var p=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?p[e]:p}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function O(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=r(t),p=e.overflow,o=e.overflowX,b=e.overflowY;return/(auto|scroll|overlay)/.test(p+b+o)?t:O(c(t))}var i=p&&!(!window.MSInputMethodContext||!document.documentMode),a=p&&/MSIE 10/.test(navigator.userAgent);function A(t){return 11===t?i:10===t?a:i||a}function s(t){if(!t)return document.documentElement;for(var e=A(10)?document.body:null,p=t.offsetParent||null;p===e&&t.nextElementSibling;)p=(t=t.nextElementSibling).offsetParent;var o=p&&p.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(p.nodeName)&&"static"===r(p,"position")?s(p):p:t?t.ownerDocument.documentElement:document.documentElement}function d(t){return null!==t.parentNode?d(t.parentNode):t}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var p=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=p?t:e,b=p?e:t,M=document.createRange();M.setStart(o,0),M.setEnd(b,0);var n,z,r=M.commonAncestorContainer;if(t!==r&&e!==r||o.contains(b))return"BODY"===(z=(n=r).nodeName)||"HTML"!==z&&s(n.firstElementChild)!==n?s(r):r;var c=d(t);return c.host?l(c.host,e):l(t,d(e).host)}function q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",p="top"===e?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var b=t.ownerDocument.documentElement,M=t.ownerDocument.scrollingElement||b;return M[p]}return t[p]}function u(t,e){var p=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=q(e,"top"),b=q(e,"left"),M=p?-1:1;return t.top+=o*M,t.bottom+=o*M,t.left+=b*M,t.right+=b*M,t}function f(t,e){var p="x"===e?"Left":"Top",o="Left"===p?"Right":"Bottom";return parseFloat(t["border"+p+"Width"],10)+parseFloat(t["border"+o+"Width"],10)}function W(t,e,p,o){return Math.max(e["offset"+t],e["scroll"+t],p["client"+t],p["offset"+t],p["scroll"+t],A(10)?parseInt(p["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function h(t){var e=t.body,p=t.documentElement,o=A(10)&&getComputedStyle(p);return{height:W("Height",e,p,o),width:W("Width",e,p,o)}}var v=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},R=function(){function t(t,e){for(var p=0;p2&&void 0!==arguments[2]&&arguments[2],o=A(10),b="HTML"===e.nodeName,M=X(t),n=X(e),z=O(t),c=r(e),i=parseFloat(c.borderTopWidth,10),a=parseFloat(c.borderLeftWidth,10);p&&b&&(n.top=Math.max(n.top,0),n.left=Math.max(n.left,0));var s=B({top:M.top-n.top-i,left:M.left-n.left-a,width:M.width,height:M.height});if(s.marginTop=0,s.marginLeft=0,!o&&b){var d=parseFloat(c.marginTop,10),l=parseFloat(c.marginLeft,10);s.top-=i-d,s.bottom-=i-d,s.left-=a-l,s.right-=a-l,s.marginTop=d,s.marginLeft=l}return(o&&!p?e.contains(z):e===z&&"BODY"!==z.nodeName)&&(s=u(s,e)),s}function y(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],p=t.ownerDocument.documentElement,o=L(t,p),b=Math.max(p.clientWidth,window.innerWidth||0),M=Math.max(p.clientHeight,window.innerHeight||0),n=e?0:q(p),z=e?0:q(p,"left"),r={top:n-o.top+o.marginTop,left:z-o.left+o.marginLeft,width:b,height:M};return B(r)}function N(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===r(t,"position"))return!0;var p=c(t);return!!p&&N(p)}function _(t){if(!t||!t.parentElement||A())return document.documentElement;for(var e=t.parentElement;e&&"none"===r(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,p,o){var b=arguments.length>4&&void 0!==arguments[4]&&arguments[4],M={top:0,left:0},n=b?_(t):l(t,e);if("viewport"===o)M=y(n,b);else{var z=void 0;"scrollParent"===o?"BODY"===(z=O(c(e))).nodeName&&(z=t.ownerDocument.documentElement):z="window"===o?t.ownerDocument.documentElement:o;var r=L(z,n,b);if("HTML"!==z.nodeName||N(n))M=r;else{var i=h(t.ownerDocument),a=i.height,A=i.width;M.top+=r.top-r.marginTop,M.bottom=a+r.top,M.left+=r.left-r.marginLeft,M.right=A+r.left}}var s="number"==typeof(p=p||0);return M.left+=s?p:p.left||0,M.top+=s?p:p.top||0,M.right-=s?p:p.right||0,M.bottom-=s?p:p.bottom||0,M}function x(t){return t.width*t.height}function w(t,e,p,o,b){var M=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var n=T(p,o,M,b),z={top:{width:n.width,height:e.top-n.top},right:{width:n.right-e.right,height:n.height},bottom:{width:n.width,height:n.bottom-e.bottom},left:{width:e.left-n.left,height:n.height}},r=Object.keys(z).map((function(t){return g({key:t},z[t],{area:x(z[t])})})).sort((function(t,e){return e.area-t.area})),c=r.filter((function(t){var e=t.width,o=t.height;return e>=p.clientWidth&&o>=p.clientHeight})),O=c.length>0?c[0].key:r[0].key,i=t.split("-")[1];return O+(i?"-"+i:"")}function C(t,e,p){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,b=o?_(e):l(e,p);return L(p,b,o)}function S(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),p=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),o=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+p}}function H(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,p){p=p.split("-")[0];var o=S(t),b={width:o.width,height:o.height},M=-1!==["right","left"].indexOf(p),n=M?"top":"left",z=M?"left":"top",r=M?"height":"width",c=M?"width":"height";return b[n]=e[n]+e[r]/2-o[r]/2,b[z]=p===z?e[z]-o[c]:e[H(z)],b}function k(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function E(t,e,p){return(void 0===p?t:t.slice(0,function(t,e,p){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===p}));var o=k(t,(function(t){return t[e]===p}));return t.indexOf(o)}(t,"name",p))).forEach((function(t){t.function;var p=t.function||t.fn;t.enabled&&z(p)&&(e.offsets.popper=B(e.offsets.popper),e.offsets.reference=B(e.offsets.reference),e=p(e,t))})),e}function D(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=C(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=w(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=E(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function I(t,e){return t.some((function(t){var p=t.name;return t.enabled&&p===e}))}function P(t){for(var e=[!1,"ms","Webkit","Moz","O"],p=t.charAt(0).toUpperCase()+t.slice(1),o=0;o1&&void 0!==arguments[1]&&arguments[1],p=tt.indexOf(t),o=tt.slice(p+1).concat(tt.slice(0,p));return e?o.reverse():o}var pt="flip",ot="clockwise",bt="counterclockwise";function Mt(t,e,p,o){var b=[0,0],M=-1!==["right","left"].indexOf(o),n=t.split(/(\+|\-)/).map((function(t){return t.trim()})),z=n.indexOf(k(n,(function(t){return-1!==t.search(/,|\s/)})));n[z]&&n[z].indexOf(",");var r=/\s*,\s*|\s+/,c=-1!==z?[n.slice(0,z).concat([n[z].split(r)[0]]),[n[z].split(r)[1]].concat(n.slice(z+1))]:[n];return(c=c.map((function(t,o){var b=(1===o?!M:M)?"height":"width",n=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,n=!0,t):n?(t[t.length-1]+=e,n=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,p,o){var b=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),M=+b[1],n=b[2];if(!M)return t;if(0===n.indexOf("%")){var z=void 0;switch(n){case"%p":z=p;break;case"%":case"%r":default:z=o}return B(z)[e]/100*M}if("vh"===n||"vw"===n){return("vh"===n?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*M}return M}(t,b,e,p)}))}))).forEach((function(t,e){t.forEach((function(p,o){Y(p)&&(b[e]+=p*("-"===t[o-1]?-1:1))}))})),b}var nt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,p=e.split("-")[0],o=e.split("-")[1];if(o){var b=t.offsets,M=b.reference,n=b.popper,z=-1!==["bottom","top"].indexOf(p),r=z?"left":"top",c=z?"width":"height",O={start:m({},r,M[r]),end:m({},r,M[r]+M[c]-n[c])};t.offsets.popper=g({},n,O[o])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var p=e.offset,o=t.placement,b=t.offsets,M=b.popper,n=b.reference,z=o.split("-")[0],r=void 0;return r=Y(+p)?[+p,0]:Mt(p,M,n,z),"left"===z?(M.top+=r[0],M.left-=r[1]):"right"===z?(M.top+=r[0],M.left+=r[1]):"top"===z?(M.left+=r[0],M.top-=r[1]):"bottom"===z&&(M.left+=r[0],M.top+=r[1]),t.popper=M,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var p=e.boundariesElement||s(t.instance.popper);t.instance.reference===p&&(p=s(p));var o=P("transform"),b=t.instance.popper.style,M=b.top,n=b.left,z=b[o];b.top="",b.left="",b[o]="";var r=T(t.instance.popper,t.instance.reference,e.padding,p,t.positionFixed);b.top=M,b.left=n,b[o]=z,e.boundaries=r;var c=e.priority,O=t.offsets.popper,i={primary:function(t){var p=O[t];return O[t]r[t]&&!e.escapeWithReference&&(o=Math.min(O[p],r[t]-("right"===t?O.width:O.height))),m({},p,o)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";O=g({},O,i[e](t))})),t.offsets.popper=O,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,p=e.popper,o=e.reference,b=t.placement.split("-")[0],M=Math.floor,n=-1!==["top","bottom"].indexOf(b),z=n?"right":"bottom",r=n?"left":"top",c=n?"width":"height";return p[z]M(o[z])&&(t.offsets.popper[r]=M(o[z])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var p;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return t;var b=t.placement.split("-")[0],M=t.offsets,n=M.popper,z=M.reference,c=-1!==["left","right"].indexOf(b),O=c?"height":"width",i=c?"Top":"Left",a=i.toLowerCase(),A=c?"left":"top",s=c?"bottom":"right",d=S(o)[O];z[s]-dn[s]&&(t.offsets.popper[a]+=z[a]+d-n[s]),t.offsets.popper=B(t.offsets.popper);var l=z[a]+z[O]/2-d/2,q=r(t.instance.popper),u=parseFloat(q["margin"+i],10),f=parseFloat(q["border"+i+"Width"],10),W=l-t.offsets.popper[a]-u-f;return W=Math.max(Math.min(n[O]-d,W),0),t.arrowElement=o,t.offsets.arrow=(m(p={},a,Math.round(W)),m(p,A,""),p),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(I(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var p=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],b=H(o),M=t.placement.split("-")[1]||"",n=[];switch(e.behavior){case pt:n=[o,b];break;case ot:n=et(o);break;case bt:n=et(o,!0);break;default:n=e.behavior}return n.forEach((function(z,r){if(o!==z||n.length===r+1)return t;o=t.placement.split("-")[0],b=H(o);var c=t.offsets.popper,O=t.offsets.reference,i=Math.floor,a="left"===o&&i(c.right)>i(O.left)||"right"===o&&i(c.left)i(O.top)||"bottom"===o&&i(c.top)i(p.right),d=i(c.top)i(p.bottom),q="left"===o&&A||"right"===o&&s||"top"===o&&d||"bottom"===o&&l,u=-1!==["top","bottom"].indexOf(o),f=!!e.flipVariations&&(u&&"start"===M&&A||u&&"end"===M&&s||!u&&"start"===M&&d||!u&&"end"===M&&l);(a||q||f)&&(t.flipped=!0,(a||q)&&(o=n[r+1]),f&&(M=function(t){return"end"===t?"start":"start"===t?"end":t}(M)),t.placement=o+(M?"-"+M:""),t.offsets.popper=g({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=E(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,p=e.split("-")[0],o=t.offsets,b=o.popper,M=o.reference,n=-1!==["left","right"].indexOf(p),z=-1===["top","left"].indexOf(p);return b[n?"left":"top"]=M[p]-(z?b[n?"width":"height"]:0),t.placement=H(e),t.offsets.popper=B(b),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,p=k(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomp.right||e.top>p.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};v(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=n(this.update.bind(this)),this.options=g({},t.Defaults,b),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=p&&p.jquery?p[0]:p,this.options.modifiers={},Object.keys(g({},t.Defaults.modifiers,b.modifiers)).forEach((function(e){o.options.modifiers[e]=g({},t.Defaults.modifiers[e]||{},b.modifiers?b.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return g({name:t},o.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&z(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)})),this.update();var M=this.options.eventsEnabled;M&&this.enableEventListeners(),this.state.eventsEnabled=M}return R(t,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return j.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),t}();zt.Utils=("undefined"!=typeof window?window:t).PopperUtils,zt.placements=Z,zt.Defaults=nt,e.default=zt}.call(this,p("yLpj"))},"8TtQ":function(t,e,p){"use strict";var o=p("cdu6"),b=p("tjFV");t.exports=function(){var t=o.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,p=e.getLabels();e.minIndex=0,e.maxIndex=p.length-1,void 0!==e.options.ticks.min&&(t=p.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=p.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=p[e.minIndex],e.max=p[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var p=this,o=p.chart.data,b=p.isHorizontal();return o.yLabels&&!b?p.getRightValue(o.datasets[e].data[t]):p.ticks[t-p.minIndex]},getPixelForValue:function(t,e){var p,o=this,b=o.options.offset,M=Math.max(o.maxIndex+1-o.minIndex-(b?0:1),1);if(null!=t&&(p=o.isHorizontal()?t.x:t.y),void 0!==p||void 0!==t&&isNaN(e)){t=p||t;var n=o.getLabels().indexOf(t);e=-1!==n?n:e}if(o.isHorizontal()){var z=o.width/M,r=z*(e-o.minIndex);return b&&(r+=z/2),o.left+Math.round(r)}var c=o.height/M,O=c*(e-o.minIndex);return b&&(O+=c/2),o.top+Math.round(O)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,p=e.options.offset,o=Math.max(e._ticks.length-(p?0:1),1),b=e.isHorizontal(),M=(b?e.width:e.height)/o;return t-=b?e.left:e.top,p&&(t-=M/2),(t<=0?0:Math.round(t/M))+e.minIndex},getBasePixel:function(){return this.bottom}});b.registerScaleType("category",t,{position:"bottom"})}},"8oxB":function(t,e){var p,o,b=t.exports={};function M(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function z(t){if(p===setTimeout)return setTimeout(t,0);if((p===M||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(e){try{return p.call(null,t,0)}catch(e){return p.call(this,t,0)}}}!function(){try{p="function"==typeof setTimeout?setTimeout:M}catch(t){p=M}try{o="function"==typeof clearTimeout?clearTimeout:n}catch(t){o=n}}();var r,c=[],O=!1,i=-1;function a(){O&&r&&(O=!1,r.length?c=r.concat(c):i=-1,c.length&&A())}function A(){if(!O){var t=z(a);O=!0;for(var e=c.length;e;){for(r=c,c=[];++i1)for(var p=1;p');for(var p=0;p'),t.data.datasets[p].label&&e.push(t.data.datasets[p].label),e.push("");return e.push(""),e.join("")}});var c=b.extend({initialize:function(t){M.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:z,update:function(t,e,p){var o=this;return o.beforeUpdate(),o.maxWidth=t,o.maxHeight=e,o.margins=p,o.beforeSetDimensions(),o.setDimensions(),o.afterSetDimensions(),o.beforeBuildLabels(),o.buildLabels(),o.afterBuildLabels(),o.beforeFit(),o.fit(),o.afterFit(),o.afterUpdate(),o.minSize},afterUpdate:z,beforeSetDimensions:z,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:z,beforeBuildLabels:z,buildLabels:function(){var t=this,e=t.options.labels||{},p=M.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(p=p.filter((function(p){return e.filter(p,t.chart.data)}))),t.options.reverse&&p.reverse(),t.legendItems=p},afterBuildLabels:z,beforeFit:z,fit:function(){var t=this,e=t.options,p=e.labels,b=e.display,n=t.ctx,z=o.global,c=M.valueOrDefault,O=c(p.fontSize,z.defaultFontSize),i=c(p.fontStyle,z.defaultFontStyle),a=c(p.fontFamily,z.defaultFontFamily),A=M.fontString(O,i,a),s=t.legendHitBoxes=[],d=t.minSize,l=t.isHorizontal();if(l?(d.width=t.maxWidth,d.height=b?10:0):(d.width=b?10:0,d.height=t.maxHeight),b)if(n.font=A,l){var q=t.lineWidths=[0],u=t.legendItems.length?O+p.padding:0;n.textAlign="left",n.textBaseline="top",M.each(t.legendItems,(function(e,o){var b=r(p,O)+O/2+n.measureText(e.text).width;q[q.length-1]+b+p.padding>=t.width&&(u+=O+p.padding,q[q.length]=t.left),s[o]={left:0,top:0,width:b,height:O},q[q.length-1]+=b+p.padding})),d.height+=u}else{var f=p.padding,W=t.columnWidths=[],h=p.padding,v=0,R=0,m=O+f;M.each(t.legendItems,(function(t,e){var o=r(p,O)+O/2+n.measureText(t.text).width;R+m>d.height&&(h+=v+p.padding,W.push(v),v=0,R=0),v=Math.max(v,o),R+=m,s[e]={left:0,top:0,width:o,height:O}})),h+=v,W.push(v),d.width+=h}t.width=d.width,t.height=d.height},afterFit:z,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,p=e.labels,b=o.global,n=b.elements.line,z=t.width,c=t.lineWidths;if(e.display){var O,i=t.ctx,a=M.valueOrDefault,A=a(p.fontColor,b.defaultFontColor),s=a(p.fontSize,b.defaultFontSize),d=a(p.fontStyle,b.defaultFontStyle),l=a(p.fontFamily,b.defaultFontFamily),q=M.fontString(s,d,l);i.textAlign="left",i.textBaseline="middle",i.lineWidth=.5,i.strokeStyle=A,i.fillStyle=A,i.font=q;var u=r(p,s),f=t.legendHitBoxes,W=t.isHorizontal();O=W?{x:t.left+(z-c[0])/2,y:t.top+p.padding,line:0}:{x:t.left+p.padding,y:t.top+p.padding,line:0};var h=s+p.padding;M.each(t.legendItems,(function(o,r){var A=i.measureText(o.text).width,d=u+s/2+A,l=O.x,q=O.y;W?l+d>=z&&(q=O.y+=h,O.line++,l=O.x=t.left+(z-c[O.line])/2):q+h>t.bottom&&(l=O.x=l+t.columnWidths[O.line]+p.padding,q=O.y=t.top+p.padding,O.line++),function(t,p,o){if(!(isNaN(u)||u<=0)){i.save(),i.fillStyle=a(o.fillStyle,b.defaultColor),i.lineCap=a(o.lineCap,n.borderCapStyle),i.lineDashOffset=a(o.lineDashOffset,n.borderDashOffset),i.lineJoin=a(o.lineJoin,n.borderJoinStyle),i.lineWidth=a(o.lineWidth,n.borderWidth),i.strokeStyle=a(o.strokeStyle,b.defaultColor);var z=0===a(o.lineWidth,n.borderWidth);if(i.setLineDash&&i.setLineDash(a(o.lineDash,n.borderDash)),e.labels&&e.labels.usePointStyle){var r=s*Math.SQRT2/2,c=r/Math.SQRT2,O=t+c,A=p+c;M.canvas.drawPoint(i,o.pointStyle,r,O,A)}else z||i.strokeRect(t,p,u,s),i.fillRect(t,p,u,s);i.restore()}}(l,q,o),f[r].left=l,f[r].top=q,function(t,e,p,o){var b=s/2,M=u+b+t,n=e+b;i.fillText(p.text,M,n),p.hidden&&(i.beginPath(),i.lineWidth=2,i.moveTo(M,n),i.lineTo(M+o,n),i.stroke())}(l,q,o,A),W?O.x+=d+p.padding:O.y+=h}))}},handleEvent:function(t){var e=this,p=e.options,o="mouseup"===t.type?"click":t.type,b=!1;if("mousemove"===o){if(!p.onHover)return}else{if("click"!==o)return;if(!p.onClick)return}var M=t.x,n=t.y;if(M>=e.left&&M<=e.right&&n>=e.top&&n<=e.bottom)for(var z=e.legendHitBoxes,r=0;r=c.left&&M<=c.left+c.width&&n>=c.top&&n<=c.top+c.height){if("click"===o){p.onClick.call(e,t.native,e.legendItems[r]),b=!0;break}if("mousemove"===o){p.onHover.call(e,t.native,e.legendItems[r]),b=!0;break}}}return b}});function O(t,e){var p=new c({ctx:t.ctx,options:e,chart:t});n.configure(t,p,e),n.addBox(t,p),t.legend=p}t.exports={id:"legend",_element:c,beforeInit:function(t){var e=t.options.legend;e&&O(t,e)},beforeUpdate:function(t){var e=t.options.legend,p=t.legend;e?(M.mergeIf(e,o.global.legend),p?(n.configure(t,p,e),p.options=e):O(t,e)):p&&(n.removeBox(t,p),delete t.legend)},afterEvent:function(t,e){var p=t.legend;p&&p.handleEvent(e)}}},As3K:function(t,e,p){"use strict";var o=p("TC34");t.exports={toLineHeight:function(t,e){var p=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!p||"normal"===p[1])return 1.2*e;switch(t=+p[2],p[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,p,b,M;return o.isObject(t)?(e=+t.top||0,p=+t.right||0,b=+t.bottom||0,M=+t.left||0):e=p=b=M=+t||0,{top:e,right:p,bottom:b,left:M,height:e+b,width:M+p}},resolve:function(t,e,p){var b,M,n;for(b=0,M=t.length;b96?t-87:t>64?t-29:t-48}function O(t){var e=0,p=t.split("."),o=p[0],b=p[1]||"",M=1,n=0,z=1;for(45===t.charCodeAt(0)&&(e=1,z=-1);e3){var e=b[v(t)];if(e)return e;X("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var p,o,M,n=function(){var t,e,p,o=(new Date).getFullYear()-2,b=new d(new Date(o,0,1)),M=[b];for(p=1;p<48;p++)(e=new d(new Date(o,p,1))).offset!==b.offset&&(t=q(b,e),M.push(t),M.push(new d(new Date(t.at+6e4)))),b=e;for(p=0;p<4;p++)M.push(new d(new Date(o+p,0,1))),M.push(new d(new Date(o+p,6,1)));return M}(),z=n.length,r=W(n),c=[];for(o=0;o0?c[0].zone.name:void 0}function v(t){return(t||"").toLowerCase().replace(/\//g,"_")}function R(t){var e,o,M,n;for("string"==typeof t&&(t=[t]),e=0;e= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),s.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,p=+t,o=this.untils;for(e=0;eo&&L.moveInvalidForward&&(e=o),M0&&e-1 in t)}R.fn=R.prototype={jquery:"3.5.0",constructor:R,length:0,toArray:function(){return z.call(this)},get:function(t){return null==t?z.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=R.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return R.each(this,t)},map:function(t){return this.pushStack(R.map(this,(function(e,p){return t.call(e,p,e)})))},slice:function(){return this.pushStack(z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(R.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(R.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,p=+t+(t<0?e:0);return this.pushStack(p>=0&&p+~]|"+H+")"+H+"*"),V=new RegExp(H+"|>"),U=new RegExp(E),$=new RegExp("^"+F+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+k),PSEUDO:new RegExp("^"+E),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),pt=function(t,e){var p="0x"+t.slice(1)-65536;return e||(p<0?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,1023&p|56320))},ot=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,bt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Mt=function(){a()},nt=Wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{x.apply(N=w.call(h.childNodes),h.childNodes),N[h.childNodes.length].nodeType}catch(t){x={apply:N.length?function(t,e){T.apply(t,w.call(e))}:function(t,e){for(var p=t.length,o=0;t[p++]=e[o++];);t.length=p-1}}}function zt(t,e,o,b){var M,z,c,O,i,s,q,u=e&&e.ownerDocument,h=e?e.nodeType:9;if(o=o||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return o;if(!b&&(a(e),e=e||A,d)){if(11!==h&&(i=Z.exec(t)))if(M=i[1]){if(9===h){if(!(c=e.getElementById(M)))return o;if(c.id===M)return o.push(c),o}else if(u&&(c=u.getElementById(M))&&f(e,c)&&c.id===M)return o.push(c),o}else{if(i[2])return x.apply(o,e.getElementsByTagName(t)),o;if((M=i[3])&&p.getElementsByClassName&&e.getElementsByClassName)return x.apply(o,e.getElementsByClassName(M)),o}if(p.qsa&&!X[t+" "]&&(!l||!l.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(q=t,u=e,1===h&&(V.test(t)||j.test(t))){for((u=tt.test(t)&&qt(e.parentNode)||e)===e&&p.scope||((O=e.getAttribute("id"))?O=O.replace(ot,bt):e.setAttribute("id",O=W)),z=(s=n(t)).length;z--;)s[z]=(O?"#"+O:":scope")+" "+ft(s[z]);q=s.join(",")}try{return x.apply(o,u.querySelectorAll(q)),o}catch(e){X(t,!0)}finally{O===W&&e.removeAttribute("id")}}}return r(t.replace(I,"$1"),e,o,b)}function rt(){var t=[];return function e(p,b){return t.push(p+" ")>o.cacheLength&&delete e[t.shift()],e[p+" "]=b}}function ct(t){return t[W]=!0,t}function Ot(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t,e){for(var p=t.split("|"),b=p.length;b--;)o.attrHandle[p[b]]=e}function at(t,e){var p=e&&t,o=p&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(o)return o;if(p)for(;p=p.nextSibling;)if(p===e)return-1;return t?1:-1}function At(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function st(t){return function(e){var p=e.nodeName.toLowerCase();return("input"===p||"button"===p)&&e.type===t}}function dt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&nt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function lt(t){return ct((function(e){return e=+e,ct((function(p,o){for(var b,M=t([],p.length,e),n=M.length;n--;)p[b=M[n]]&&(p[b]=!(o[b]=p[b]))}))}))}function qt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in p=zt.support={},M=zt.isXML=function(t){var e=t.namespaceURI,p=(t.ownerDocument||t).documentElement;return!Y.test(e||p&&p.nodeName||"HTML")},a=zt.setDocument=function(t){var e,b,n=t?t.ownerDocument||t:h;return n!=A&&9===n.nodeType&&n.documentElement?(s=(A=n).documentElement,d=!M(A),h!=A&&(b=A.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",Mt,!1):b.attachEvent&&b.attachEvent("onunload",Mt)),p.scope=Ot((function(t){return s.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),p.attributes=Ot((function(t){return t.className="i",!t.getAttribute("className")})),p.getElementsByTagName=Ot((function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length})),p.getElementsByClassName=Q.test(A.getElementsByClassName),p.getById=Ot((function(t){return s.appendChild(t).id=W,!A.getElementsByName||!A.getElementsByName(W).length})),p.getById?(o.filter.ID=function(t){var e=t.replace(et,pt);return function(t){return t.getAttribute("id")===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var p=e.getElementById(t);return p?[p]:[]}}):(o.filter.ID=function(t){var e=t.replace(et,pt);return function(t){var p=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return p&&p.value===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var p,o,b,M=e.getElementById(t);if(M){if((p=M.getAttributeNode("id"))&&p.value===t)return[M];for(b=e.getElementsByName(t),o=0;M=b[o++];)if((p=M.getAttributeNode("id"))&&p.value===t)return[M]}return[]}}),o.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var p,o=[],b=0,M=e.getElementsByTagName(t);if("*"===t){for(;p=M[b++];)1===p.nodeType&&o.push(p);return o}return M},o.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},q=[],l=[],(p.qsa=Q.test(A.querySelectorAll))&&(Ot((function(t){var e;s.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&l.push("[*^$]="+H+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||l.push("\\["+H+"*(?:value|"+S+")"),t.querySelectorAll("[id~="+W+"-]").length||l.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||l.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||l.push(":checked"),t.querySelectorAll("a#"+W+"+*").length||l.push(".#.+[+~]"),t.querySelectorAll("\\\f"),l.push("[\\r\\n\\f]")})),Ot((function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&l.push("name"+H+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&l.push(":enabled",":disabled"),s.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&l.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),l.push(",.*:")}))),(p.matchesSelector=Q.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&Ot((function(t){p.disconnectedMatch=u.call(t,"*"),u.call(t,"[s!='']:x"),q.push("!=",E)})),l=l.length&&new RegExp(l.join("|")),q=q.length&&new RegExp(q.join("|")),e=Q.test(s.compareDocumentPosition),f=e||Q.test(s.contains)?function(t,e){var p=9===t.nodeType?t.documentElement:t,o=e&&e.parentNode;return t===o||!(!o||1!==o.nodeType||!(p.contains?p.contains(o):t.compareDocumentPosition&&16&t.compareDocumentPosition(o)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},L=e?function(t,e){if(t===e)return i=!0,0;var o=!t.compareDocumentPosition-!e.compareDocumentPosition;return o||(1&(o=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===o?t==A||t.ownerDocument==h&&f(h,t)?-1:e==A||e.ownerDocument==h&&f(h,e)?1:O?C(O,t)-C(O,e):0:4&o?-1:1)}:function(t,e){if(t===e)return i=!0,0;var p,o=0,b=t.parentNode,M=e.parentNode,n=[t],z=[e];if(!b||!M)return t==A?-1:e==A?1:b?-1:M?1:O?C(O,t)-C(O,e):0;if(b===M)return at(t,e);for(p=t;p=p.parentNode;)n.unshift(p);for(p=e;p=p.parentNode;)z.unshift(p);for(;n[o]===z[o];)o++;return o?at(n[o],z[o]):n[o]==h?-1:z[o]==h?1:0},A):A},zt.matches=function(t,e){return zt(t,null,null,e)},zt.matchesSelector=function(t,e){if(a(t),p.matchesSelector&&d&&!X[e+" "]&&(!q||!q.test(e))&&(!l||!l.test(e)))try{var o=u.call(t,e);if(o||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return o}catch(t){X(e,!0)}return zt(e,A,null,[t]).length>0},zt.contains=function(t,e){return(t.ownerDocument||t)!=A&&a(t),f(t,e)},zt.attr=function(t,e){(t.ownerDocument||t)!=A&&a(t);var b=o.attrHandle[e.toLowerCase()],M=b&&y.call(o.attrHandle,e.toLowerCase())?b(t,e,!d):void 0;return void 0!==M?M:p.attributes||!d?t.getAttribute(e):(M=t.getAttributeNode(e))&&M.specified?M.value:null},zt.escape=function(t){return(t+"").replace(ot,bt)},zt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},zt.uniqueSort=function(t){var e,o=[],b=0,M=0;if(i=!p.detectDuplicates,O=!p.sortStable&&t.slice(0),t.sort(L),i){for(;e=t[M++];)e===t[M]&&(b=o.push(M));for(;b--;)t.splice(o[b],1)}return O=null,t},b=zt.getText=function(t){var e,p="",o=0,M=t.nodeType;if(M){if(1===M||9===M||11===M){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)p+=b(t)}else if(3===M||4===M)return t.nodeValue}else for(;e=t[o++];)p+=b(e);return p},(o=zt.selectors={cacheLength:50,createPseudo:ct,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,pt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,pt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||zt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&zt.error(t[0]),t},PSEUDO:function(t){var e,p=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":p&&U.test(p)&&(e=n(p,!0))&&(e=p.indexOf(")",p.length-e)-p.length)&&(t[0]=t[0].slice(0,e),t[2]=p.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,pt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=m[t+" "];return e||(e=new RegExp("(^|"+H+")"+t+"("+H+"|$)"))&&m(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,p){return function(o){var b=zt.attr(o,t);return null==b?"!="===e:!e||(b+="","="===e?b===p:"!="===e?b!==p:"^="===e?p&&0===b.indexOf(p):"*="===e?p&&b.indexOf(p)>-1:"$="===e?p&&b.slice(-p.length)===p:"~="===e?(" "+b.replace(D," ")+" ").indexOf(p)>-1:"|="===e&&(b===p||b.slice(0,p.length+1)===p+"-"))}},CHILD:function(t,e,p,o,b){var M="nth"!==t.slice(0,3),n="last"!==t.slice(-4),z="of-type"===e;return 1===o&&0===b?function(t){return!!t.parentNode}:function(e,p,r){var c,O,i,a,A,s,d=M!==n?"nextSibling":"previousSibling",l=e.parentNode,q=z&&e.nodeName.toLowerCase(),u=!r&&!z,f=!1;if(l){if(M){for(;d;){for(a=e;a=a[d];)if(z?a.nodeName.toLowerCase()===q:1===a.nodeType)return!1;s=d="only"===t&&!s&&"nextSibling"}return!0}if(s=[n?l.firstChild:l.lastChild],n&&u){for(f=(A=(c=(O=(i=(a=l)[W]||(a[W]={}))[a.uniqueID]||(i[a.uniqueID]={}))[t]||[])[0]===v&&c[1])&&c[2],a=A&&l.childNodes[A];a=++A&&a&&a[d]||(f=A=0)||s.pop();)if(1===a.nodeType&&++f&&a===e){O[t]=[v,A,f];break}}else if(u&&(f=A=(c=(O=(i=(a=e)[W]||(a[W]={}))[a.uniqueID]||(i[a.uniqueID]={}))[t]||[])[0]===v&&c[1]),!1===f)for(;(a=++A&&a&&a[d]||(f=A=0)||s.pop())&&((z?a.nodeName.toLowerCase()!==q:1!==a.nodeType)||!++f||(u&&((O=(i=a[W]||(a[W]={}))[a.uniqueID]||(i[a.uniqueID]={}))[t]=[v,f]),a!==e)););return(f-=b)===o||f%o==0&&f/o>=0}}},PSEUDO:function(t,e){var p,b=o.pseudos[t]||o.setFilters[t.toLowerCase()]||zt.error("unsupported pseudo: "+t);return b[W]?b(e):b.length>1?(p=[t,t,"",e],o.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,p){for(var o,M=b(t,e),n=M.length;n--;)t[o=C(t,M[n])]=!(p[o]=M[n])})):function(t){return b(t,0,p)}):b}},pseudos:{not:ct((function(t){var e=[],p=[],o=z(t.replace(I,"$1"));return o[W]?ct((function(t,e,p,b){for(var M,n=o(t,null,b,[]),z=t.length;z--;)(M=n[z])&&(t[z]=!(e[z]=M))})):function(t,b,M){return e[0]=t,o(e,null,M,p),e[0]=null,!p.pop()}})),has:ct((function(t){return function(e){return zt(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,pt),function(e){return(e.textContent||b(e)).indexOf(t)>-1}})),lang:ct((function(t){return $.test(t||"")||zt.error("unsupported lang: "+t),t=t.replace(et,pt).toLowerCase(),function(e){var p;do{if(p=d?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(p=p.toLowerCase())===t||0===p.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var p=t.location&&t.location.hash;return p&&p.slice(1)===e.id},root:function(t){return t===s},focus:function(t){return t===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!o.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return G.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:lt((function(){return[0]})),last:lt((function(t,e){return[e-1]})),eq:lt((function(t,e,p){return[p<0?p+e:p]})),even:lt((function(t,e){for(var p=0;pe?e:p;--o>=0;)t.push(o);return t})),gt:lt((function(t,e,p){for(var o=p<0?p+e:p;++o1?function(e,p,o){for(var b=t.length;b--;)if(!t[b](e,p,o))return!1;return!0}:t[0]}function vt(t,e,p,o,b){for(var M,n=[],z=0,r=t.length,c=null!=e;z-1&&(M[c]=!(n[c]=i))}}else q=vt(q===n?q.splice(s,q.length):q),b?b(null,n,q,r):x.apply(n,q)}))}function mt(t){for(var e,p,b,M=t.length,n=o.relative[t[0].type],z=n||o.relative[" "],r=n?1:0,O=Wt((function(t){return t===e}),z,!0),i=Wt((function(t){return C(e,t)>-1}),z,!0),a=[function(t,p,o){var b=!n&&(o||p!==c)||((e=p).nodeType?O(t,p,o):i(t,p,o));return e=null,b}];r1&&ht(a),r>1&&ft(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(I,"$1"),p,r0,b=t.length>0,M=function(M,n,z,r,O){var i,s,l,q=0,u="0",f=M&&[],W=[],h=c,R=M||b&&o.find.TAG("*",O),m=v+=null==h?1:Math.random()||.1,g=R.length;for(O&&(c=n==A||n||O);u!==g&&null!=(i=R[u]);u++){if(b&&i){for(s=0,n||i.ownerDocument==A||(a(i),z=!d);l=t[s++];)if(l(i,n||A,z)){r.push(i);break}O&&(v=m)}p&&((i=!l&&i)&&q--,M&&f.push(i))}if(q+=u,p&&u!==q){for(s=0;l=e[s++];)l(f,W,n,z);if(M){if(q>0)for(;u--;)f[u]||W[u]||(W[u]=_.call(r));W=vt(W)}x.apply(r,W),O&&!M&&W.length>0&&q+e.length>1&&zt.uniqueSort(r)}return O&&(v=m,c=h),f};return p?ct(M):M}(M,b))).selector=t}return z},r=zt.select=function(t,e,p,b){var M,r,c,O,i,a="function"==typeof t&&t,A=!b&&n(t=a.selector||t);if(p=p||[],1===A.length){if((r=A[0]=A[0].slice(0)).length>2&&"ID"===(c=r[0]).type&&9===e.nodeType&&d&&o.relative[r[1].type]){if(!(e=(o.find.ID(c.matches[0].replace(et,pt),e)||[])[0]))return p;a&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(M=K.needsContext.test(t)?0:r.length;M--&&(c=r[M],!o.relative[O=c.type]);)if((i=o.find[O])&&(b=i(c.matches[0].replace(et,pt),tt.test(r[0].type)&&qt(e.parentNode)||e))){if(r.splice(M,1),!(t=b.length&&ft(r)))return x.apply(p,b),p;break}}return(a||z(t,A))(b,e,!d,p,!e||tt.test(t)&&qt(e.parentNode)||e),p},p.sortStable=W.split("").sort(L).join("")===W,p.detectDuplicates=!!i,a(),p.sortDetached=Ot((function(t){return 1&t.compareDocumentPosition(A.createElement("fieldset"))})),Ot((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||it("type|href|height|width",(function(t,e,p){if(!p)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),p.attributes&&Ot((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||it("value",(function(t,e,p){if(!p&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),Ot((function(t){return null==t.getAttribute("disabled")}))||it(S,(function(t,e,p){var o;if(!p)return!0===t[e]?e.toLowerCase():(o=t.getAttributeNode(e))&&o.specified?o.value:null})),zt}(p);R.find=g,R.expr=g.selectors,R.expr[":"]=R.expr.pseudos,R.uniqueSort=R.unique=g.uniqueSort,R.text=g.getText,R.isXMLDoc=g.isXML,R.contains=g.contains,R.escapeSelector=g.escape;var B=function(t,e,p){for(var o=[],b=void 0!==p;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(b&&R(t).is(p))break;o.push(t)}return o},X=function(t,e){for(var p=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&p.push(t);return p},L=R.expr.match.needsContext;function y(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function _(t,e,p){return q(e)?R.grep(t,(function(t,o){return!!e.call(t,o,t)!==p})):e.nodeType?R.grep(t,(function(t){return t===e!==p})):"string"!=typeof e?R.grep(t,(function(t){return O.call(e,t)>-1!==p})):R.filter(e,t,p)}R.filter=function(t,e,p){var o=e[0];return p&&(t=":not("+t+")"),1===e.length&&1===o.nodeType?R.find.matchesSelector(o,t)?[o]:[]:R.find.matches(t,R.grep(e,(function(t){return 1===t.nodeType})))},R.fn.extend({find:function(t){var e,p,o=this.length,b=this;if("string"!=typeof t)return this.pushStack(R(t).filter((function(){for(e=0;e1?R.uniqueSort(p):p},filter:function(t){return this.pushStack(_(this,t||[],!1))},not:function(t){return this.pushStack(_(this,t||[],!0))},is:function(t){return!!_(this,"string"==typeof t&&L.test(t)?R(t):t||[],!1).length}});var T,x=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(R.fn.init=function(t,e,p){var o,b;if(!t)return this;if(p=p||T,"string"==typeof t){if(!(o="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:x.exec(t))||!o[1]&&e)return!e||e.jquery?(e||p).find(t):this.constructor(e).find(t);if(o[1]){if(e=e instanceof R?e[0]:e,R.merge(this,R.parseHTML(o[1],e&&e.nodeType?e.ownerDocument||e:f,!0)),N.test(o[1])&&R.isPlainObject(e))for(o in e)q(this[o])?this[o](e[o]):this.attr(o,e[o]);return this}return(b=f.getElementById(o[2]))&&(this[0]=b,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):q(t)?void 0!==p.ready?p.ready(t):t(R):R.makeArray(t,this)}).prototype=R.fn,T=R(f);var w=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};function S(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}R.fn.extend({has:function(t){var e=R(t,this),p=e.length;return this.filter((function(){for(var t=0;t-1:1===p.nodeType&&R.find.matchesSelector(p,t))){M.push(p);break}return this.pushStack(M.length>1?R.uniqueSort(M):M)},index:function(t){return t?"string"==typeof t?O.call(R(t),this[0]):O.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(R.uniqueSort(R.merge(this.get(),R(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),R.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return B(t,"parentNode")},parentsUntil:function(t,e,p){return B(t,"parentNode",p)},next:function(t){return S(t,"nextSibling")},prev:function(t){return S(t,"previousSibling")},nextAll:function(t){return B(t,"nextSibling")},prevAll:function(t){return B(t,"previousSibling")},nextUntil:function(t,e,p){return B(t,"nextSibling",p)},prevUntil:function(t,e,p){return B(t,"previousSibling",p)},siblings:function(t){return X((t.parentNode||{}).firstChild,t)},children:function(t){return X(t.firstChild)},contents:function(t){return null!=t.contentDocument&&n(t.contentDocument)?t.contentDocument:(y(t,"template")&&(t=t.content||t),R.merge([],t.childNodes))}},(function(t,e){R.fn[t]=function(p,o){var b=R.map(this,e,p);return"Until"!==t.slice(-5)&&(o=p),o&&"string"==typeof o&&(b=R.filter(o,b)),this.length>1&&(C[t]||R.uniqueSort(b),w.test(t)&&b.reverse()),this.pushStack(b)}}));var H=/[^\x20\t\r\n\f]+/g;function F(t){return t}function k(t){throw t}function E(t,e,p,o){var b;try{t&&q(b=t.promise)?b.call(t).done(e).fail(p):t&&q(b=t.then)?b.call(t,e,p):e.apply(void 0,[t].slice(o))}catch(t){p.apply(void 0,[t])}}R.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return R.each(t.match(H)||[],(function(t,p){e[p]=!0})),e}(t):R.extend({},t);var e,p,o,b,M=[],n=[],z=-1,r=function(){for(b=b||t.once,o=e=!0;n.length;z=-1)for(p=n.shift();++z-1;)M.splice(p,1),p<=z&&z--})),this},has:function(t){return t?R.inArray(t,M)>-1:M.length>0},empty:function(){return M&&(M=[]),this},disable:function(){return b=n=[],M=p="",this},disabled:function(){return!M},lock:function(){return b=n=[],p||e||(M=p=""),this},locked:function(){return!!b},fireWith:function(t,p){return b||(p=[t,(p=p||[]).slice?p.slice():p],n.push(p),e||r()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},R.extend({Deferred:function(t){var e=[["notify","progress",R.Callbacks("memory"),R.Callbacks("memory"),2],["resolve","done",R.Callbacks("once memory"),R.Callbacks("once memory"),0,"resolved"],["reject","fail",R.Callbacks("once memory"),R.Callbacks("once memory"),1,"rejected"]],o="pending",b={state:function(){return o},always:function(){return M.done(arguments).fail(arguments),this},catch:function(t){return b.then(null,t)},pipe:function(){var t=arguments;return R.Deferred((function(p){R.each(e,(function(e,o){var b=q(t[o[4]])&&t[o[4]];M[o[1]]((function(){var t=b&&b.apply(this,arguments);t&&q(t.promise)?t.promise().progress(p.notify).done(p.resolve).fail(p.reject):p[o[0]+"With"](this,b?[t]:arguments)}))})),t=null})).promise()},then:function(t,o,b){var M=0;function n(t,e,o,b){return function(){var z=this,r=arguments,c=function(){var p,c;if(!(t=M&&(o!==k&&(z=void 0,r=[p]),e.rejectWith(z,r))}};t?O():(R.Deferred.getStackHook&&(O.stackTrace=R.Deferred.getStackHook()),p.setTimeout(O))}}return R.Deferred((function(p){e[0][3].add(n(0,p,q(b)?b:F,p.notifyWith)),e[1][3].add(n(0,p,q(t)?t:F)),e[2][3].add(n(0,p,q(o)?o:k))})).promise()},promise:function(t){return null!=t?R.extend(t,b):b}},M={};return R.each(e,(function(t,p){var n=p[2],z=p[5];b[p[1]]=n.add,z&&n.add((function(){o=z}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),n.add(p[3].fire),M[p[0]]=function(){return M[p[0]+"With"](this===M?void 0:this,arguments),this},M[p[0]+"With"]=n.fireWith})),b.promise(M),t&&t.call(M,M),M},when:function(t){var e=arguments.length,p=e,o=Array(p),b=z.call(arguments),M=R.Deferred(),n=function(t){return function(p){o[t]=this,b[t]=arguments.length>1?z.call(arguments):p,--e||M.resolveWith(o,b)}};if(e<=1&&(E(t,M.done(n(p)).resolve,M.reject,!e),"pending"===M.state()||q(b[p]&&b[p].then)))return M.then();for(;p--;)E(b[p],n(p),M.reject);return M.promise()}});var D=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;R.Deferred.exceptionHook=function(t,e){p.console&&p.console.warn&&t&&D.test(t.name)&&p.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},R.readyException=function(t){p.setTimeout((function(){throw t}))};var I=R.Deferred();function P(){f.removeEventListener("DOMContentLoaded",P),p.removeEventListener("load",P),R.ready()}R.fn.ready=function(t){return I.then(t).catch((function(t){R.readyException(t)})),this},R.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--R.readyWait:R.isReady)||(R.isReady=!0,!0!==t&&--R.readyWait>0||I.resolveWith(f,[R]))}}),R.ready.then=I.then,"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?p.setTimeout(R.ready):(f.addEventListener("DOMContentLoaded",P),p.addEventListener("load",P));var j=function(t,e,p,o,b,M,n){var z=0,r=t.length,c=null==p;if("object"===v(p))for(z in b=!0,p)j(t,e,z,p[z],!0,M,n);else if(void 0!==o&&(b=!0,q(o)||(n=!0),c&&(n?(e.call(t,o),e=null):(c=e,e=function(t,e,p){return c.call(R(t),p)})),e))for(;z1,null,!0)},removeData:function(t){return this.each((function(){Q.remove(this,t)}))}}),R.extend({queue:function(t,e,p){var o;if(t)return e=(e||"fx")+"queue",o=J.get(t,e),p&&(!o||Array.isArray(p)?o=J.access(t,e,R.makeArray(p)):o.push(p)),o||[]},dequeue:function(t,e){e=e||"fx";var p=R.queue(t,e),o=p.length,b=p.shift(),M=R._queueHooks(t,e);"inprogress"===b&&(b=p.shift(),o--),b&&("fx"===e&&p.unshift("inprogress"),delete M.stop,b.call(t,(function(){R.dequeue(t,e)}),M)),!o&&M&&M.empty.fire()},_queueHooks:function(t,e){var p=e+"queueHooks";return J.get(t,p)||J.access(t,p,{empty:R.Callbacks("once memory").add((function(){J.remove(t,[e+"queue",p])}))})}}),R.fn.extend({queue:function(t,e){var p=2;return"string"!=typeof t&&(e=t,t="fx",p--),arguments.length\x20\t\r\n\f]*)/i,qt=/^$|^module$|\/(?:java|ecma)script/i;At=f.createDocumentFragment().appendChild(f.createElement("div")),(st=f.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),At.appendChild(st),l.checkClone=At.cloneNode(!0).cloneNode(!0).lastChild.checked,At.innerHTML="",l.noCloneChecked=!!At.cloneNode(!0).lastChild.defaultValue,At.innerHTML="",l.option=!!At.lastChild;var ut={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ft(t,e){var p;return p=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&y(t,e)?R.merge([t],p):p}function Wt(t,e){for(var p=0,o=t.length;p",""]);var ht=/<|&#?\w+;/;function vt(t,e,p,o,b){for(var M,n,z,r,c,O,i=e.createDocumentFragment(),a=[],A=0,s=t.length;A-1)b&&b.push(M);else if(c=nt(M),n=ft(i.appendChild(M),"script"),c&&Wt(n),p)for(O=0;M=n[O++];)qt.test(M.type||"")&&p.push(M);return i}var Rt=/^key/,mt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,gt=/^([^.]*)(?:\.(.+)|)/;function Bt(){return!0}function Xt(){return!1}function Lt(t,e){return t===function(){try{return f.activeElement}catch(t){}}()==("focus"===e)}function yt(t,e,p,o,b,M){var n,z;if("object"==typeof e){for(z in"string"!=typeof p&&(o=o||p,p=void 0),e)yt(t,z,p,o,e[z],M);return t}if(null==o&&null==b?(b=p,o=p=void 0):null==b&&("string"==typeof p?(b=o,o=void 0):(b=o,o=p,p=void 0)),!1===b)b=Xt;else if(!b)return t;return 1===M&&(n=b,(b=function(t){return R().off(t),n.apply(this,arguments)}).guid=n.guid||(n.guid=R.guid++)),t.each((function(){R.event.add(this,e,b,o,p)}))}function Nt(t,e,p){p?(J.set(t,e,!1),R.event.add(t,e,{namespace:!1,handler:function(t){var o,b,M=J.get(this,e);if(1&t.isTrigger&&this[e]){if(M.length)(R.event.special[e]||{}).delegateType&&t.stopPropagation();else if(M=z.call(arguments),J.set(this,e,M),o=p(this,e),this[e](),M!==(b=J.get(this,e))||o?J.set(this,e,!1):b={},M!==b)return t.stopImmediatePropagation(),t.preventDefault(),b.value}else M.length&&(J.set(this,e,{value:R.event.trigger(R.extend(M[0],R.Event.prototype),M.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&R.event.add(t,e,Bt)}R.event={global:{},add:function(t,e,p,o,b){var M,n,z,r,c,O,i,a,A,s,d,l=J.get(t);if(Y(t))for(p.handler&&(p=(M=p).handler,b=M.selector),b&&R.find.matchesSelector(Mt,b),p.guid||(p.guid=R.guid++),(r=l.events)||(r=l.events=Object.create(null)),(n=l.handle)||(n=l.handle=function(e){return void 0!==R&&R.event.triggered!==e.type?R.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(H)||[""]).length;c--;)A=d=(z=gt.exec(e[c])||[])[1],s=(z[2]||"").split(".").sort(),A&&(i=R.event.special[A]||{},A=(b?i.delegateType:i.bindType)||A,i=R.event.special[A]||{},O=R.extend({type:A,origType:d,data:o,handler:p,guid:p.guid,selector:b,needsContext:b&&R.expr.match.needsContext.test(b),namespace:s.join(".")},M),(a=r[A])||((a=r[A]=[]).delegateCount=0,i.setup&&!1!==i.setup.call(t,o,s,n)||t.addEventListener&&t.addEventListener(A,n)),i.add&&(i.add.call(t,O),O.handler.guid||(O.handler.guid=p.guid)),b?a.splice(a.delegateCount++,0,O):a.push(O),R.event.global[A]=!0)},remove:function(t,e,p,o,b){var M,n,z,r,c,O,i,a,A,s,d,l=J.hasData(t)&&J.get(t);if(l&&(r=l.events)){for(c=(e=(e||"").match(H)||[""]).length;c--;)if(A=d=(z=gt.exec(e[c])||[])[1],s=(z[2]||"").split(".").sort(),A){for(i=R.event.special[A]||{},a=r[A=(o?i.delegateType:i.bindType)||A]||[],z=z[2]&&new RegExp("(^|\\.)"+s.join("\\.(?:.*\\.|)")+"(\\.|$)"),n=M=a.length;M--;)O=a[M],!b&&d!==O.origType||p&&p.guid!==O.guid||z&&!z.test(O.namespace)||o&&o!==O.selector&&("**"!==o||!O.selector)||(a.splice(M,1),O.selector&&a.delegateCount--,i.remove&&i.remove.call(t,O));n&&!a.length&&(i.teardown&&!1!==i.teardown.call(t,s,l.handle)||R.removeEvent(t,A,l.handle),delete r[A])}else for(A in r)R.event.remove(t,A+e[c],p,o,!0);R.isEmptyObject(r)&&J.remove(t,"handle events")}},dispatch:function(t){var e,p,o,b,M,n,z=new Array(arguments.length),r=R.event.fix(t),c=(J.get(this,"events")||Object.create(null))[r.type]||[],O=R.event.special[r.type]||{};for(z[0]=r,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(M=[],n={},p=0;p-1:R.find(b,this,null,[c]).length),n[b]&&M.push(o);M.length&&z.push({elem:c,handlers:M})}return c=this,r\s*$/g;function wt(t,e){return y(t,"table")&&y(11!==e.nodeType?e:e.firstChild,"tr")&&R(t).children("tbody")[0]||t}function Ct(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function St(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var p,o,b,M,n,z;if(1===e.nodeType){if(J.hasData(t)&&(z=J.get(t).events))for(b in J.remove(e,"handle events"),z)for(p=0,o=z[b].length;p1&&"string"==typeof s&&!l.checkClone&&Tt.test(s))return t.each((function(b){var M=t.eq(b);d&&(e[0]=s.call(this,b,M.html())),kt(M,e,p,o)}));if(a&&(M=(b=vt(e,t[0].ownerDocument,!1,t,o)).firstChild,1===b.childNodes.length&&(b=M),M||o)){for(z=(n=R.map(ft(b,"script"),Ct)).length;i0&&Wt(n,!r&&ft(t,"script")),z},cleanData:function(t){for(var e,p,o,b=R.event.special,M=0;void 0!==(p=t[M]);M++)if(Y(p)){if(e=p[J.expando]){if(e.events)for(o in e.events)b[o]?R.event.remove(p,o):R.removeEvent(p,o,e.handle);p[J.expando]=void 0}p[Q.expando]&&(p[Q.expando]=void 0)}}}),R.fn.extend({detach:function(t){return Et(this,t,!0)},remove:function(t){return Et(this,t)},text:function(t){return j(this,(function(t){return void 0===t?R.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return kt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||wt(this,t).appendChild(t)}))},prepend:function(){return kt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(R.cleanData(ft(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return R.clone(this,t,e)}))},html:function(t){return j(this,(function(t){var e=this[0]||{},p=0,o=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!_t.test(t)&&!ut[(lt.exec(t)||["",""])[1].toLowerCase()]){t=R.htmlPrefilter(t);try{for(;p3,Mt.removeChild(t)),z}}))}();var $t=["Webkit","Moz","ms"],Kt=f.createElement("div").style,Yt={};function Gt(t){var e=R.cssProps[t]||Yt[t];return e||(t in Kt?t:Yt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),p=$t.length;p--;)if((t=$t[p]+e)in Kt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Zt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,p){var o=ot.exec(e);return o?Math.max(0,o[2]-(p||0))+(o[3]||"px"):e}function pe(t,e,p,o,b,M){var n="width"===e?1:0,z=0,r=0;if(p===(o?"border":"content"))return 0;for(;n<4;n+=2)"margin"===p&&(r+=R.css(t,p+bt[n],!0,b)),o?("content"===p&&(r-=R.css(t,"padding"+bt[n],!0,b)),"margin"!==p&&(r-=R.css(t,"border"+bt[n]+"Width",!0,b))):(r+=R.css(t,"padding"+bt[n],!0,b),"padding"!==p?r+=R.css(t,"border"+bt[n]+"Width",!0,b):z+=R.css(t,"border"+bt[n]+"Width",!0,b));return!o&&M>=0&&(r+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-M-r-z-.5))||0),r}function oe(t,e,p){var o=It(t),b=(!l.boxSizingReliable()||p)&&"border-box"===R.css(t,"boxSizing",!1,o),M=b,n=Vt(t,e,o),z="offset"+e[0].toUpperCase()+e.slice(1);if(Dt.test(n)){if(!p)return n;n="auto"}return(!l.boxSizingReliable()&&b||!l.reliableTrDimensions()&&y(t,"tr")||"auto"===n||!parseFloat(n)&&"inline"===R.css(t,"display",!1,o))&&t.getClientRects().length&&(b="border-box"===R.css(t,"boxSizing",!1,o),(M=z in t)&&(n=t[z])),(n=parseFloat(n)||0)+pe(t,e,p||(b?"border":"content"),M,o,n)+"px"}function be(t,e,p,o,b){return new be.prototype.init(t,e,p,o,b)}R.extend({cssHooks:{opacity:{get:function(t,e){if(e){var p=Vt(t,"opacity");return""===p?"1":p}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,p,o){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var b,M,n,z=K(e),r=Qt.test(e),c=t.style;if(r||(e=Gt(z)),n=R.cssHooks[e]||R.cssHooks[z],void 0===p)return n&&"get"in n&&void 0!==(b=n.get(t,!1,o))?b:c[e];"string"===(M=typeof p)&&(b=ot.exec(p))&&b[1]&&(p=ct(t,e,b),M="number"),null!=p&&p==p&&("number"!==M||r||(p+=b&&b[3]||(R.cssNumber[z]?"":"px")),l.clearCloneStyle||""!==p||0!==e.indexOf("background")||(c[e]="inherit"),n&&"set"in n&&void 0===(p=n.set(t,p,o))||(r?c.setProperty(e,p):c[e]=p))}},css:function(t,e,p,o){var b,M,n,z=K(e);return Qt.test(e)||(e=Gt(z)),(n=R.cssHooks[e]||R.cssHooks[z])&&"get"in n&&(b=n.get(t,!0,p)),void 0===b&&(b=Vt(t,e,o)),"normal"===b&&e in te&&(b=te[e]),""===p||p?(M=parseFloat(b),!0===p||isFinite(M)?M||0:b):b}}),R.each(["height","width"],(function(t,e){R.cssHooks[e]={get:function(t,p,o){if(p)return!Jt.test(R.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,o):Pt(t,Zt,(function(){return oe(t,e,o)}))},set:function(t,p,o){var b,M=It(t),n=!l.scrollboxSize()&&"absolute"===M.position,z=(n||o)&&"border-box"===R.css(t,"boxSizing",!1,M),r=o?pe(t,e,o,z,M):0;return z&&n&&(r-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(M[e])-pe(t,e,"border",!1,M)-.5)),r&&(b=ot.exec(p))&&"px"!==(b[3]||"px")&&(t.style[e]=p,p=R.css(t,e)),ee(0,p,r)}}})),R.cssHooks.marginLeft=Ut(l.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Vt(t,"marginLeft"))||t.getBoundingClientRect().left-Pt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),R.each({margin:"",padding:"",border:"Width"},(function(t,e){R.cssHooks[t+e]={expand:function(p){for(var o=0,b={},M="string"==typeof p?p.split(" "):[p];o<4;o++)b[t+bt[o]+e]=M[o]||M[o-2]||M[0];return b}},"margin"!==t&&(R.cssHooks[t+e].set=ee)})),R.fn.extend({css:function(t,e){return j(this,(function(t,e,p){var o,b,M={},n=0;if(Array.isArray(e)){for(o=It(t),b=e.length;n1)}}),R.Tween=be,be.prototype={constructor:be,init:function(t,e,p,o,b,M){this.elem=t,this.prop=p,this.easing=b||R.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=o,this.unit=M||(R.cssNumber[p]?"":"px")},cur:function(){var t=be.propHooks[this.prop];return t&&t.get?t.get(this):be.propHooks._default.get(this)},run:function(t){var e,p=be.propHooks[this.prop];return this.options.duration?this.pos=e=R.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),p&&p.set?p.set(this):be.propHooks._default.set(this),this}},be.prototype.init.prototype=be.prototype,be.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=R.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){R.fx.step[t.prop]?R.fx.step[t.prop](t):1!==t.elem.nodeType||!R.cssHooks[t.prop]&&null==t.elem.style[Gt(t.prop)]?t.elem[t.prop]=t.now:R.style(t.elem,t.prop,t.now+t.unit)}}},be.propHooks.scrollTop=be.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},R.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},R.fx=be.prototype.init,R.fx.step={};var Me,ne,ze=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function ce(){ne&&(!1===f.hidden&&p.requestAnimationFrame?p.requestAnimationFrame(ce):p.setTimeout(ce,R.fx.interval),R.fx.tick())}function Oe(){return p.setTimeout((function(){Me=void 0})),Me=Date.now()}function ie(t,e){var p,o=0,b={height:t};for(e=e?1:0;o<4;o+=2-e)b["margin"+(p=bt[o])]=b["padding"+p]=t;return e&&(b.opacity=b.width=t),b}function ae(t,e,p){for(var o,b=(Ae.tweeners[e]||[]).concat(Ae.tweeners["*"]),M=0,n=b.length;M1)},removeAttr:function(t){return this.each((function(){R.removeAttr(this,t)}))}}),R.extend({attr:function(t,e,p){var o,b,M=t.nodeType;if(3!==M&&8!==M&&2!==M)return void 0===t.getAttribute?R.prop(t,e,p):(1===M&&R.isXMLDoc(t)||(b=R.attrHooks[e.toLowerCase()]||(R.expr.match.bool.test(e)?se:void 0)),void 0!==p?null===p?void R.removeAttr(t,e):b&&"set"in b&&void 0!==(o=b.set(t,p,e))?o:(t.setAttribute(e,p+""),p):b&&"get"in b&&null!==(o=b.get(t,e))?o:null==(o=R.find.attr(t,e))?void 0:o)},attrHooks:{type:{set:function(t,e){if(!l.radioValue&&"radio"===e&&y(t,"input")){var p=t.value;return t.setAttribute("type",e),p&&(t.value=p),e}}}},removeAttr:function(t,e){var p,o=0,b=e&&e.match(H);if(b&&1===t.nodeType)for(;p=b[o++];)t.removeAttribute(p)}}),se={set:function(t,e,p){return!1===e?R.removeAttr(t,p):t.setAttribute(p,p),p}},R.each(R.expr.match.bool.source.match(/\w+/g),(function(t,e){var p=de[e]||R.find.attr;de[e]=function(t,e,o){var b,M,n=e.toLowerCase();return o||(M=de[n],de[n]=b,b=null!=p(t,e,o)?n:null,de[n]=M),b}}));var le=/^(?:input|select|textarea|button)$/i,qe=/^(?:a|area)$/i;function ue(t){return(t.match(H)||[]).join(" ")}function fe(t){return t.getAttribute&&t.getAttribute("class")||""}function We(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(H)||[]}R.fn.extend({prop:function(t,e){return j(this,R.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[R.propFix[t]||t]}))}}),R.extend({prop:function(t,e,p){var o,b,M=t.nodeType;if(3!==M&&8!==M&&2!==M)return 1===M&&R.isXMLDoc(t)||(e=R.propFix[e]||e,b=R.propHooks[e]),void 0!==p?b&&"set"in b&&void 0!==(o=b.set(t,p,e))?o:t[e]=p:b&&"get"in b&&null!==(o=b.get(t,e))?o:t[e]},propHooks:{tabIndex:{get:function(t){var e=R.find.attr(t,"tabindex");return e?parseInt(e,10):le.test(t.nodeName)||qe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),l.optSelected||(R.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),R.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){R.propFix[this.toLowerCase()]=this})),R.fn.extend({addClass:function(t){var e,p,o,b,M,n,z,r=0;if(q(t))return this.each((function(e){R(this).addClass(t.call(this,e,fe(this)))}));if((e=We(t)).length)for(;p=this[r++];)if(b=fe(p),o=1===p.nodeType&&" "+ue(b)+" "){for(n=0;M=e[n++];)o.indexOf(" "+M+" ")<0&&(o+=M+" ");b!==(z=ue(o))&&p.setAttribute("class",z)}return this},removeClass:function(t){var e,p,o,b,M,n,z,r=0;if(q(t))return this.each((function(e){R(this).removeClass(t.call(this,e,fe(this)))}));if(!arguments.length)return this.attr("class","");if((e=We(t)).length)for(;p=this[r++];)if(b=fe(p),o=1===p.nodeType&&" "+ue(b)+" "){for(n=0;M=e[n++];)for(;o.indexOf(" "+M+" ")>-1;)o=o.replace(" "+M+" "," ");b!==(z=ue(o))&&p.setAttribute("class",z)}return this},toggleClass:function(t,e){var p=typeof t,o="string"===p||Array.isArray(t);return"boolean"==typeof e&&o?e?this.addClass(t):this.removeClass(t):q(t)?this.each((function(p){R(this).toggleClass(t.call(this,p,fe(this),e),e)})):this.each((function(){var e,b,M,n;if(o)for(b=0,M=R(this),n=We(t);e=n[b++];)M.hasClass(e)?M.removeClass(e):M.addClass(e);else void 0!==t&&"boolean"!==p||((e=fe(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))}))},hasClass:function(t){var e,p,o=0;for(e=" "+t+" ";p=this[o++];)if(1===p.nodeType&&(" "+ue(fe(p))+" ").indexOf(e)>-1)return!0;return!1}});var he=/\r/g;R.fn.extend({val:function(t){var e,p,o,b=this[0];return arguments.length?(o=q(t),this.each((function(p){var b;1===this.nodeType&&(null==(b=o?t.call(this,p,R(this).val()):t)?b="":"number"==typeof b?b+="":Array.isArray(b)&&(b=R.map(b,(function(t){return null==t?"":t+""}))),(e=R.valHooks[this.type]||R.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,b,"value")||(this.value=b))}))):b?(e=R.valHooks[b.type]||R.valHooks[b.nodeName.toLowerCase()])&&"get"in e&&void 0!==(p=e.get(b,"value"))?p:"string"==typeof(p=b.value)?p.replace(he,""):null==p?"":p:void 0}}),R.extend({valHooks:{option:{get:function(t){var e=R.find.attr(t,"value");return null!=e?e:ue(R.text(t))}},select:{get:function(t){var e,p,o,b=t.options,M=t.selectedIndex,n="select-one"===t.type,z=n?null:[],r=n?M+1:b.length;for(o=M<0?r:n?M:0;o-1)&&(p=!0);return p||(t.selectedIndex=-1),M}}}}),R.each(["radio","checkbox"],(function(){R.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=R.inArray(R(t).val(),e)>-1}},l.checkOn||(R.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),l.focusin="onfocusin"in p;var ve=/^(?:focusinfocus|focusoutblur)$/,Re=function(t){t.stopPropagation()};R.extend(R.event,{trigger:function(t,e,o,b){var M,n,z,r,c,O,i,a,s=[o||f],d=A.call(t,"type")?t.type:t,l=A.call(t,"namespace")?t.namespace.split("."):[];if(n=a=z=o=o||f,3!==o.nodeType&&8!==o.nodeType&&!ve.test(d+R.event.triggered)&&(d.indexOf(".")>-1&&(l=d.split("."),d=l.shift(),l.sort()),c=d.indexOf(":")<0&&"on"+d,(t=t[R.expando]?t:new R.Event(d,"object"==typeof t&&t)).isTrigger=b?2:3,t.namespace=l.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:R.makeArray(e,[t]),i=R.event.special[d]||{},b||!i.trigger||!1!==i.trigger.apply(o,e))){if(!b&&!i.noBubble&&!u(o)){for(r=i.delegateType||d,ve.test(r+d)||(n=n.parentNode);n;n=n.parentNode)s.push(n),z=n;z===(o.ownerDocument||f)&&s.push(z.defaultView||z.parentWindow||p)}for(M=0;(n=s[M++])&&!t.isPropagationStopped();)a=n,t.type=M>1?r:i.bindType||d,(O=(J.get(n,"events")||Object.create(null))[t.type]&&J.get(n,"handle"))&&O.apply(n,e),(O=c&&n[c])&&O.apply&&Y(n)&&(t.result=O.apply(n,e),!1===t.result&&t.preventDefault());return t.type=d,b||t.isDefaultPrevented()||i._default&&!1!==i._default.apply(s.pop(),e)||!Y(o)||c&&q(o[d])&&!u(o)&&((z=o[c])&&(o[c]=null),R.event.triggered=d,t.isPropagationStopped()&&a.addEventListener(d,Re),o[d](),t.isPropagationStopped()&&a.removeEventListener(d,Re),R.event.triggered=void 0,z&&(o[c]=z)),t.result}},simulate:function(t,e,p){var o=R.extend(new R.Event,p,{type:t,isSimulated:!0});R.event.trigger(o,null,e)}}),R.fn.extend({trigger:function(t,e){return this.each((function(){R.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var p=this[0];if(p)return R.event.trigger(t,e,p,!0)}}),l.focusin||R.each({focus:"focusin",blur:"focusout"},(function(t,e){var p=function(t){R.event.simulate(e,t.target,R.event.fix(t))};R.event.special[e]={setup:function(){var o=this.ownerDocument||this.document||this,b=J.access(o,e);b||o.addEventListener(t,p,!0),J.access(o,e,(b||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,b=J.access(o,e)-1;b?J.access(o,e,b):(o.removeEventListener(t,p,!0),J.remove(o,e))}}}));var me=p.location,ge={guid:Date.now()},Be=/\?/;R.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new p.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||R.error("Invalid XML: "+t),e};var Xe=/\[\]$/,Le=/\r?\n/g,ye=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;function _e(t,e,p,o){var b;if(Array.isArray(e))R.each(e,(function(e,b){p||Xe.test(t)?o(t,b):_e(t+"["+("object"==typeof b&&null!=b?e:"")+"]",b,p,o)}));else if(p||"object"!==v(e))o(t,e);else for(b in e)_e(t+"["+b+"]",e[b],p,o)}R.param=function(t,e){var p,o=[],b=function(t,e){var p=q(e)?e():e;o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==p?"":p)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!R.isPlainObject(t))R.each(t,(function(){b(this.name,this.value)}));else for(p in t)_e(p,t[p],e,b);return o.join("&")},R.fn.extend({serialize:function(){return R.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=R.prop(this,"elements");return t?R.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!R(this).is(":disabled")&&Ne.test(this.nodeName)&&!ye.test(t)&&(this.checked||!dt.test(t))})).map((function(t,e){var p=R(this).val();return null==p?null:Array.isArray(p)?R.map(p,(function(t){return{name:e.name,value:t.replace(Le,"\r\n")}})):{name:e.name,value:p.replace(Le,"\r\n")}})).get()}});var Te=/%20/g,xe=/#.*$/,we=/([?&])_=[^&]*/,Ce=/^(.*?):[ \t]*([^\r\n]*)$/gm,Se=/^(?:GET|HEAD)$/,He=/^\/\//,Fe={},ke={},Ee="*/".concat("*"),De=f.createElement("a");function Ie(t){return function(e,p){"string"!=typeof e&&(p=e,e="*");var o,b=0,M=e.toLowerCase().match(H)||[];if(q(p))for(;o=M[b++];)"+"===o[0]?(o=o.slice(1)||"*",(t[o]=t[o]||[]).unshift(p)):(t[o]=t[o]||[]).push(p)}}function Pe(t,e,p,o){var b={},M=t===ke;function n(z){var r;return b[z]=!0,R.each(t[z]||[],(function(t,z){var c=z(e,p,o);return"string"!=typeof c||M||b[c]?M?!(r=c):void 0:(e.dataTypes.unshift(c),n(c),!1)})),r}return n(e.dataTypes[0])||!b["*"]&&n("*")}function je(t,e){var p,o,b=R.ajaxSettings.flatOptions||{};for(p in e)void 0!==e[p]&&((b[p]?t:o||(o={}))[p]=e[p]);return o&&R.extend(!0,t,o),t}De.href=me.href,R.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:me.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(me.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ee,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":R.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?je(je(t,R.ajaxSettings),e):je(R.ajaxSettings,t)},ajaxPrefilter:Ie(Fe),ajaxTransport:Ie(ke),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var o,b,M,n,z,r,c,O,i,a,A=R.ajaxSetup({},e),s=A.context||A,d=A.context&&(s.nodeType||s.jquery)?R(s):R.event,l=R.Deferred(),q=R.Callbacks("once memory"),u=A.statusCode||{},W={},h={},v="canceled",m={readyState:0,getResponseHeader:function(t){var e;if(c){if(!n)for(n={};e=Ce.exec(M);)n[e[1].toLowerCase()+" "]=(n[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=n[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?M:null},setRequestHeader:function(t,e){return null==c&&(t=h[t.toLowerCase()]=h[t.toLowerCase()]||t,W[t]=e),this},overrideMimeType:function(t){return null==c&&(A.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)m.always(t[m.status]);else for(e in t)u[e]=[u[e],t[e]];return this},abort:function(t){var e=t||v;return o&&o.abort(e),g(0,e),this}};if(l.promise(m),A.url=((t||A.url||me.href)+"").replace(He,me.protocol+"//"),A.type=e.method||e.type||A.method||A.type,A.dataTypes=(A.dataType||"*").toLowerCase().match(H)||[""],null==A.crossDomain){r=f.createElement("a");try{r.href=A.url,r.href=r.href,A.crossDomain=De.protocol+"//"+De.host!=r.protocol+"//"+r.host}catch(t){A.crossDomain=!0}}if(A.data&&A.processData&&"string"!=typeof A.data&&(A.data=R.param(A.data,A.traditional)),Pe(Fe,A,e,m),c)return m;for(i in(O=R.event&&A.global)&&0==R.active++&&R.event.trigger("ajaxStart"),A.type=A.type.toUpperCase(),A.hasContent=!Se.test(A.type),b=A.url.replace(xe,""),A.hasContent?A.data&&A.processData&&0===(A.contentType||"").indexOf("application/x-www-form-urlencoded")&&(A.data=A.data.replace(Te,"+")):(a=A.url.slice(b.length),A.data&&(A.processData||"string"==typeof A.data)&&(b+=(Be.test(b)?"&":"?")+A.data,delete A.data),!1===A.cache&&(b=b.replace(we,"$1"),a=(Be.test(b)?"&":"?")+"_="+ge.guid+++a),A.url=b+a),A.ifModified&&(R.lastModified[b]&&m.setRequestHeader("If-Modified-Since",R.lastModified[b]),R.etag[b]&&m.setRequestHeader("If-None-Match",R.etag[b])),(A.data&&A.hasContent&&!1!==A.contentType||e.contentType)&&m.setRequestHeader("Content-Type",A.contentType),m.setRequestHeader("Accept",A.dataTypes[0]&&A.accepts[A.dataTypes[0]]?A.accepts[A.dataTypes[0]]+("*"!==A.dataTypes[0]?", "+Ee+"; q=0.01":""):A.accepts["*"]),A.headers)m.setRequestHeader(i,A.headers[i]);if(A.beforeSend&&(!1===A.beforeSend.call(s,m,A)||c))return m.abort();if(v="abort",q.add(A.complete),m.done(A.success),m.fail(A.error),o=Pe(ke,A,e,m)){if(m.readyState=1,O&&d.trigger("ajaxSend",[m,A]),c)return m;A.async&&A.timeout>0&&(z=p.setTimeout((function(){m.abort("timeout")}),A.timeout));try{c=!1,o.send(W,g)}catch(t){if(c)throw t;g(-1,t)}}else g(-1,"No Transport");function g(t,e,n,r){var i,a,f,W,h,v=e;c||(c=!0,z&&p.clearTimeout(z),o=void 0,M=r||"",m.readyState=t>0?4:0,i=t>=200&&t<300||304===t,n&&(W=function(t,e,p){for(var o,b,M,n,z=t.contents,r=t.dataTypes;"*"===r[0];)r.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(b in z)if(z[b]&&z[b].test(o)){r.unshift(b);break}if(r[0]in p)M=r[0];else{for(b in p){if(!r[0]||t.converters[b+" "+r[0]]){M=b;break}n||(n=b)}M=M||n}if(M)return M!==r[0]&&r.unshift(M),p[M]}(A,m,n)),!i&&R.inArray("script",A.dataTypes)>-1&&(A.converters["text script"]=function(){}),W=function(t,e,p,o){var b,M,n,z,r,c={},O=t.dataTypes.slice();if(O[1])for(n in t.converters)c[n.toLowerCase()]=t.converters[n];for(M=O.shift();M;)if(t.responseFields[M]&&(p[t.responseFields[M]]=e),!r&&o&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),r=M,M=O.shift())if("*"===M)M=r;else if("*"!==r&&r!==M){if(!(n=c[r+" "+M]||c["* "+M]))for(b in c)if((z=b.split(" "))[1]===M&&(n=c[r+" "+z[0]]||c["* "+z[0]])){!0===n?n=c[b]:!0!==c[b]&&(M=z[0],O.unshift(z[1]));break}if(!0!==n)if(n&&t.throws)e=n(e);else try{e=n(e)}catch(t){return{state:"parsererror",error:n?t:"No conversion from "+r+" to "+M}}}return{state:"success",data:e}}(A,W,m,i),i?(A.ifModified&&((h=m.getResponseHeader("Last-Modified"))&&(R.lastModified[b]=h),(h=m.getResponseHeader("etag"))&&(R.etag[b]=h)),204===t||"HEAD"===A.type?v="nocontent":304===t?v="notmodified":(v=W.state,a=W.data,i=!(f=W.error))):(f=v,!t&&v||(v="error",t<0&&(t=0))),m.status=t,m.statusText=(e||v)+"",i?l.resolveWith(s,[a,v,m]):l.rejectWith(s,[m,v,f]),m.statusCode(u),u=void 0,O&&d.trigger(i?"ajaxSuccess":"ajaxError",[m,A,i?a:f]),q.fireWith(s,[m,v]),O&&(d.trigger("ajaxComplete",[m,A]),--R.active||R.event.trigger("ajaxStop")))}return m},getJSON:function(t,e,p){return R.get(t,e,p,"json")},getScript:function(t,e){return R.get(t,void 0,e,"script")}}),R.each(["get","post"],(function(t,e){R[e]=function(t,p,o,b){return q(p)&&(b=b||o,o=p,p=void 0),R.ajax(R.extend({url:t,type:e,dataType:b,data:p,success:o},R.isPlainObject(t)&&t))}})),R.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),R._evalUrl=function(t,e,p){return R.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){R.globalEval(t,e,p)}})},R.fn.extend({wrapAll:function(t){var e;return this[0]&&(q(t)&&(t=t.call(this[0])),e=R(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return q(t)?this.each((function(e){R(this).wrapInner(t.call(this,e))})):this.each((function(){var e=R(this),p=e.contents();p.length?p.wrapAll(t):e.append(t)}))},wrap:function(t){var e=q(t);return this.each((function(p){R(this).wrapAll(e?t.call(this,p):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){R(this).replaceWith(this.childNodes)})),this}}),R.expr.pseudos.hidden=function(t){return!R.expr.pseudos.visible(t)},R.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},R.ajaxSettings.xhr=function(){try{return new p.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Ue=R.ajaxSettings.xhr();l.cors=!!Ue&&"withCredentials"in Ue,l.ajax=Ue=!!Ue,R.ajaxTransport((function(t){var e,o;if(l.cors||Ue&&!t.crossDomain)return{send:function(b,M){var n,z=t.xhr();if(z.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(n in t.xhrFields)z[n]=t.xhrFields[n];for(n in t.mimeType&&z.overrideMimeType&&z.overrideMimeType(t.mimeType),t.crossDomain||b["X-Requested-With"]||(b["X-Requested-With"]="XMLHttpRequest"),b)z.setRequestHeader(n,b[n]);e=function(t){return function(){e&&(e=o=z.onload=z.onerror=z.onabort=z.ontimeout=z.onreadystatechange=null,"abort"===t?z.abort():"error"===t?"number"!=typeof z.status?M(0,"error"):M(z.status,z.statusText):M(Ve[z.status]||z.status,z.statusText,"text"!==(z.responseType||"text")||"string"!=typeof z.responseText?{binary:z.response}:{text:z.responseText},z.getAllResponseHeaders()))}},z.onload=e(),o=z.onerror=z.ontimeout=e("error"),void 0!==z.onabort?z.onabort=o:z.onreadystatechange=function(){4===z.readyState&&p.setTimeout((function(){e&&o()}))},e=e("abort");try{z.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),R.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),R.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return R.globalEval(t),t}}}),R.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),R.ajaxTransport("script",(function(t){var e,p;if(t.crossDomain||t.scriptAttrs)return{send:function(o,b){e=R("