!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=649)}([function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return xn})),n.d(t,"VERSION",(function(){return i.e})),n.d(t,"restArguments",(function(){return o})),n.d(t,"isObject",(function(){return s})),n.d(t,"isNull",(function(){return a})),n.d(t,"isUndefined",(function(){return l})),n.d(t,"isBoolean",(function(){return c})),n.d(t,"isElement",(function(){return u})),n.d(t,"isString",(function(){return d})),n.d(t,"isNumber",(function(){return p})),n.d(t,"isDate",(function(){return f})),n.d(t,"isRegExp",(function(){return g})),n.d(t,"isError",(function(){return m})),n.d(t,"isSymbol",(function(){return _})),n.d(t,"isArrayBuffer",(function(){return v})),n.d(t,"isDataView",(function(){return M})),n.d(t,"isArray",(function(){return C})),n.d(t,"isFunction",(function(){return w})),n.d(t,"isArguments",(function(){return T})),n.d(t,"isFinite",(function(){return P})),n.d(t,"isNaN",(function(){return O})),n.d(t,"isTypedArray",(function(){return N})),n.d(t,"isEmpty",(function(){return H})),n.d(t,"isMatch",(function(){return W})),n.d(t,"isEqual",(function(){return G})),n.d(t,"isMap",(function(){return re})),n.d(t,"isWeakMap",(function(){return ie})),n.d(t,"isSet",(function(){return oe})),n.d(t,"isWeakSet",(function(){return se})),n.d(t,"keys",(function(){return U})),n.d(t,"allKeys",(function(){return Y})),n.d(t,"values",(function(){return ae})),n.d(t,"pairs",(function(){return le})),n.d(t,"invert",(function(){return ce})),n.d(t,"functions",(function(){return ue})),n.d(t,"methods",(function(){return ue})),n.d(t,"extend",(function(){return de})),n.d(t,"extendOwn",(function(){return pe})),n.d(t,"assign",(function(){return pe})),n.d(t,"defaults",(function(){return fe})),n.d(t,"create",(function(){return me})),n.d(t,"clone",(function(){return _e})),n.d(t,"tap",(function(){return ve})),n.d(t,"get",(function(){return xe})),n.d(t,"has",(function(){return ke})),n.d(t,"mapObject",(function(){return Pe})),n.d(t,"identity",(function(){return Ee})),n.d(t,"constant",(function(){return L})),n.d(t,"noop",(function(){return Oe})),n.d(t,"toPath",(function(){return ye})),n.d(t,"property",(function(){return Me})),n.d(t,"propertyOf",(function(){return Le})),n.d(t,"matcher",(function(){return Se})),n.d(t,"matches",(function(){return Se})),n.d(t,"times",(function(){return Ie})),n.d(t,"random",(function(){return De})),n.d(t,"now",(function(){return Re})),n.d(t,"escape",(function(){return Ne})),n.d(t,"unescape",(function(){return Fe})),n.d(t,"templateSettings",(function(){return qe})),n.d(t,"template",(function(){return Ke})),n.d(t,"result",(function(){return Ge})),n.d(t,"uniqueId",(function(){return Je})),n.d(t,"chain",(function(){return Xe})),n.d(t,"iteratee",(function(){return Ae})),n.d(t,"partial",(function(){return et})),n.d(t,"bind",(function(){return tt})),n.d(t,"bindAll",(function(){return it})),n.d(t,"memoize",(function(){return ot})),n.d(t,"delay",(function(){return st})),n.d(t,"defer",(function(){return at})),n.d(t,"throttle",(function(){return lt})),n.d(t,"debounce",(function(){return ct})),n.d(t,"wrap",(function(){return ut})),n.d(t,"negate",(function(){return ht})),n.d(t,"compose",(function(){return dt})),n.d(t,"after",(function(){return pt})),n.d(t,"before",(function(){return ft})),n.d(t,"once",(function(){return gt})),n.d(t,"findKey",(function(){return mt})),n.d(t,"findIndex",(function(){return vt})),n.d(t,"findLastIndex",(function(){return yt})),n.d(t,"sortedIndex",(function(){return bt})),n.d(t,"indexOf",(function(){return xt})),n.d(t,"lastIndexOf",(function(){return kt})),n.d(t,"find",(function(){return Et})),n.d(t,"detect",(function(){return Et})),n.d(t,"findWhere",(function(){return St})),n.d(t,"each",(function(){return Mt})),n.d(t,"forEach",(function(){return Mt})),n.d(t,"map",(function(){return Ct})),n.d(t,"collect",(function(){return Ct})),n.d(t,"reduce",(function(){return At})),n.d(t,"foldl",(function(){return At})),n.d(t,"inject",(function(){return At})),n.d(t,"reduceRight",(function(){return Tt})),n.d(t,"foldr",(function(){return Tt})),n.d(t,"filter",(function(){return Pt})),n.d(t,"select",(function(){return Pt})),n.d(t,"reject",(function(){return Ot})),n.d(t,"every",(function(){return Lt})),n.d(t,"all",(function(){return Lt})),n.d(t,"some",(function(){return It})),n.d(t,"any",(function(){return It})),n.d(t,"contains",(function(){return Dt})),n.d(t,"includes",(function(){return Dt})),n.d(t,"include",(function(){return Dt})),n.d(t,"invoke",(function(){return Rt})),n.d(t,"pluck",(function(){return Bt})),n.d(t,"where",(function(){return zt})),n.d(t,"max",(function(){return Nt})),n.d(t,"min",(function(){return Ft})),n.d(t,"shuffle",(function(){return Wt})),n.d(t,"sample",(function(){return Ht})),n.d(t,"sortBy",(function(){return Vt})),n.d(t,"groupBy",(function(){return Kt})),n.d(t,"indexBy",(function(){return Gt})),n.d(t,"countBy",(function(){return Yt})),n.d(t,"partition",(function(){return Jt})),n.d(t,"toArray",(function(){return Ut})),n.d(t,"size",(function(){return Xt})),n.d(t,"pick",(function(){return Zt})),n.d(t,"omit",(function(){return en})),n.d(t,"first",(function(){return nn})),n.d(t,"head",(function(){return nn})),n.d(t,"take",(function(){return nn})),n.d(t,"initial",(function(){return tn})),n.d(t,"last",(function(){return on})),n.d(t,"rest",(function(){return rn})),n.d(t,"tail",(function(){return rn})),n.d(t,"drop",(function(){return rn})),n.d(t,"compact",(function(){return sn})),n.d(t,"flatten",(function(){return an})),n.d(t,"without",(function(){return cn})),n.d(t,"uniq",(function(){return un})),n.d(t,"unique",(function(){return un})),n.d(t,"union",(function(){return hn})),n.d(t,"intersection",(function(){return dn})),n.d(t,"difference",(function(){return ln})),n.d(t,"unzip",(function(){return pn})),n.d(t,"transpose",(function(){return pn})),n.d(t,"zip",(function(){return fn})),n.d(t,"object",(function(){return gn})),n.d(t,"range",(function(){return mn})),n.d(t,"chunk",(function(){return _n})),n.d(t,"mixin",(function(){return yn}));var r={};n.r(r),n.d(r,"VERSION",(function(){return i.e})),n.d(r,"restArguments",(function(){return o})),n.d(r,"isObject",(function(){return s})),n.d(r,"isNull",(function(){return a})),n.d(r,"isUndefined",(function(){return l})),n.d(r,"isBoolean",(function(){return c})),n.d(r,"isElement",(function(){return u})),n.d(r,"isString",(function(){return d})),n.d(r,"isNumber",(function(){return p})),n.d(r,"isDate",(function(){return f})),n.d(r,"isRegExp",(function(){return g})),n.d(r,"isError",(function(){return m})),n.d(r,"isSymbol",(function(){return _})),n.d(r,"isArrayBuffer",(function(){return v})),n.d(r,"isDataView",(function(){return M})),n.d(r,"isArray",(function(){return C})),n.d(r,"isFunction",(function(){return w})),n.d(r,"isArguments",(function(){return T})),n.d(r,"isFinite",(function(){return P})),n.d(r,"isNaN",(function(){return O})),n.d(r,"isTypedArray",(function(){return N})),n.d(r,"isEmpty",(function(){return H})),n.d(r,"isMatch",(function(){return W})),n.d(r,"isEqual",(function(){return G})),n.d(r,"isMap",(function(){return re})),n.d(r,"isWeakMap",(function(){return ie})),n.d(r,"isSet",(function(){return oe})),n.d(r,"isWeakSet",(function(){return se})),n.d(r,"keys",(function(){return U})),n.d(r,"allKeys",(function(){return Y})),n.d(r,"values",(function(){return ae})),n.d(r,"pairs",(function(){return le})),n.d(r,"invert",(function(){return ce})),n.d(r,"functions",(function(){return ue})),n.d(r,"methods",(function(){return ue})),n.d(r,"extend",(function(){return de})),n.d(r,"extendOwn",(function(){return pe})),n.d(r,"assign",(function(){return pe})),n.d(r,"defaults",(function(){return fe})),n.d(r,"create",(function(){return me})),n.d(r,"clone",(function(){return _e})),n.d(r,"tap",(function(){return ve})),n.d(r,"get",(function(){return xe})),n.d(r,"has",(function(){return ke})),n.d(r,"mapObject",(function(){return Pe})),n.d(r,"identity",(function(){return Ee})),n.d(r,"constant",(function(){return L})),n.d(r,"noop",(function(){return Oe})),n.d(r,"toPath",(function(){return ye})),n.d(r,"property",(function(){return Me})),n.d(r,"propertyOf",(function(){return Le})),n.d(r,"matcher",(function(){return Se})),n.d(r,"matches",(function(){return Se})),n.d(r,"times",(function(){return Ie})),n.d(r,"random",(function(){return De})),n.d(r,"now",(function(){return Re})),n.d(r,"escape",(function(){return Ne})),n.d(r,"unescape",(function(){return Fe})),n.d(r,"templateSettings",(function(){return qe})),n.d(r,"template",(function(){return Ke})),n.d(r,"result",(function(){return Ge})),n.d(r,"uniqueId",(function(){return Je})),n.d(r,"chain",(function(){return Xe})),n.d(r,"iteratee",(function(){return Ae})),n.d(r,"partial",(function(){return et})),n.d(r,"bind",(function(){return tt})),n.d(r,"bindAll",(function(){return it})),n.d(r,"memoize",(function(){return ot})),n.d(r,"delay",(function(){return st})),n.d(r,"defer",(function(){return at})),n.d(r,"throttle",(function(){return lt})),n.d(r,"debounce",(function(){return ct})),n.d(r,"wrap",(function(){return ut})),n.d(r,"negate",(function(){return ht})),n.d(r,"compose",(function(){return dt})),n.d(r,"after",(function(){return pt})),n.d(r,"before",(function(){return ft})),n.d(r,"once",(function(){return gt})),n.d(r,"findKey",(function(){return mt})),n.d(r,"findIndex",(function(){return vt})),n.d(r,"findLastIndex",(function(){return yt})),n.d(r,"sortedIndex",(function(){return bt})),n.d(r,"indexOf",(function(){return xt})),n.d(r,"lastIndexOf",(function(){return kt})),n.d(r,"find",(function(){return Et})),n.d(r,"detect",(function(){return Et})),n.d(r,"findWhere",(function(){return St})),n.d(r,"each",(function(){return Mt})),n.d(r,"forEach",(function(){return Mt})),n.d(r,"map",(function(){return Ct})),n.d(r,"collect",(function(){return Ct})),n.d(r,"reduce",(function(){return At})),n.d(r,"foldl",(function(){return At})),n.d(r,"inject",(function(){return At})),n.d(r,"reduceRight",(function(){return Tt})),n.d(r,"foldr",(function(){return Tt})),n.d(r,"filter",(function(){return Pt})),n.d(r,"select",(function(){return Pt})),n.d(r,"reject",(function(){return Ot})),n.d(r,"every",(function(){return Lt})),n.d(r,"all",(function(){return Lt})),n.d(r,"some",(function(){return It})),n.d(r,"any",(function(){return It})),n.d(r,"contains",(function(){return Dt})),n.d(r,"includes",(function(){return Dt})),n.d(r,"include",(function(){return Dt})),n.d(r,"invoke",(function(){return Rt})),n.d(r,"pluck",(function(){return Bt})),n.d(r,"where",(function(){return zt})),n.d(r,"max",(function(){return Nt})),n.d(r,"min",(function(){return Ft})),n.d(r,"shuffle",(function(){return Wt})),n.d(r,"sample",(function(){return Ht})),n.d(r,"sortBy",(function(){return Vt})),n.d(r,"groupBy",(function(){return Kt})),n.d(r,"indexBy",(function(){return Gt})),n.d(r,"countBy",(function(){return Yt})),n.d(r,"partition",(function(){return Jt})),n.d(r,"toArray",(function(){return Ut})),n.d(r,"size",(function(){return Xt})),n.d(r,"pick",(function(){return Zt})),n.d(r,"omit",(function(){return en})),n.d(r,"first",(function(){return nn})),n.d(r,"head",(function(){return nn})),n.d(r,"take",(function(){return nn})),n.d(r,"initial",(function(){return tn})),n.d(r,"last",(function(){return on})),n.d(r,"rest",(function(){return rn})),n.d(r,"tail",(function(){return rn})),n.d(r,"drop",(function(){return rn})),n.d(r,"compact",(function(){return sn})),n.d(r,"flatten",(function(){return an})),n.d(r,"without",(function(){return cn})),n.d(r,"uniq",(function(){return un})),n.d(r,"unique",(function(){return un})),n.d(r,"union",(function(){return hn})),n.d(r,"intersection",(function(){return dn})),n.d(r,"difference",(function(){return ln})),n.d(r,"unzip",(function(){return pn})),n.d(r,"transpose",(function(){return pn})),n.d(r,"zip",(function(){return fn})),n.d(r,"object",(function(){return gn})),n.d(r,"range",(function(){return mn})),n.d(r,"chunk",(function(){return _n})),n.d(r,"mixin",(function(){return yn})),n.d(r,"default",(function(){return bn}));var i=n(2);function o(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&n<=i.b}}function D(e){return function(t){return null==t?void 0:t[e]}}var R=D("byteLength"),B=I(R),z=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var N=i.r?function(e){return i.l?Object(i.l)(e)&&!M(e):B(e)&&z.test(i.t.call(e))}:L(!1),F=D("length");function q(e,t){t=function(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},Ne=Be(ze),Fe=Be(ce(ze)),qe=V.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ue=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},We=/\\|'|\r|\n|\u2028|\u2029/g;function Ve(e){return"\\"+He[e]}var $e=/^\s*(\w|\$)+\s*$/;function Ke(e,t,n){!t&&n&&(t=n),t=fe({},t,V.templateSettings);var r=RegExp([(t.escape||Ue).source,(t.interpolate||Ue).source,(t.evaluate||Ue).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,(function(t,n,r,s,a){return o+=e.slice(i,a).replace(We,Ve),i=a+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),t})),o+="';\n";var s,a=t.variable;if(a){if(!$e.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=new Function(a,"_",o)}catch(e){throw e.source=o,e}var l=function(e){return s.call(this,e,V)};return l.source="function("+a+"){\n"+o+"}",l}function Ge(e,t,n){var r=(t=be(t)).length;if(!r)return w(n)?n.call(e):n;for(var i=0;i1)rt(a,t-1,n,r),i=r.length;else for(var l=0,c=a.length;lt?(r&&(clearTimeout(r),r=null),a=c,s=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c}function ct(e,t,n){var r,i,s,a,l,c=function(){var o=Re()-i;t>o?r=setTimeout(c,t-o):(r=null,n||(a=e.apply(l,s)),r||(s=l=null))},u=o((function(o){return l=this,s=o,i=Re(),r||(r=setTimeout(c,t),n&&(a=e.apply(l,s))),a}));return u.cancel=function(){clearTimeout(r),r=s=l=null},u}function ut(e,t){return et(t,e)}function ht(e){return function(){return!e.apply(this,arguments)}}function dt(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function pt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function ft(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var gt=et(ft,2);function mt(e,t,n){t=Te(t,n);for(var r,i=U(e),o=0,s=i.length;o0?0:i-1;o>=0&&o0?a=s>=0?s:Math.max(s+l,a):l=s>=0?Math.min(s+1,l):s+l+1;else if(n&&s&&l)return r[s=n(r,o)]===o?s:-1;if(o!=o)return(s=t(i.q.call(r,a,l),O))>=0?s+a:-1;for(s=e>0?a:l-1;s>=0&&s0?0:s-1;for(i||(r=t[o?o[a]:a],a+=e);a>=0&&a=3;return t(e,Ce(n,i,4),r,o)}}var At=jt(1),Tt=jt(-1);function Pt(e,t,n){var r=[];return t=Te(t,n),Mt(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function Ot(e,t,n){return Pt(e,ht(Te(t)),n)}function Lt(e,t,n){t=Te(t,n);for(var r=!nt(e)&&U(e),i=(r||e).length,o=0;o=0}var Rt=o((function(e,t,n){var r,i;return w(t)?i=t:(t=be(t),r=t.slice(0,-1),t=t[t.length-1]),Ct(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=we(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function Bt(e,t){return Ct(e,Me(t))}function zt(e,t){return Pt(e,Se(t))}function Nt(e,t,n){var r,i,o=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=nt(e)?e:ae(e)).length;ao&&(o=r);else t=Te(t,n),Mt(e,(function(e,n,r){((i=t(e,n,r))>s||i===-1/0&&o===-1/0)&&(o=e,s=i)}));return o}function Ft(e,t,n){var r,i,o=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=nt(e)?e:ae(e)).length;ar||void 0===n)return 1;if(n1&&(r=Ce(r,t[1])),t=Y(e)):(r=Qt,t=rt(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=Ct(rt(t,!1,!1),String),r=function(e,n){return!Dt(t,n)}),Zt(e,r,n)}));function tn(e,t,n){return i.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function rn(e,t,n){return i.q.call(e,null==t||n?1:t)}function on(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rn(e,Math.max(0,e.length-t))}function sn(e){return Pt(e,Boolean)}function an(e,t){return rt(e,t,!1)}var ln=o((function(e,t){return t=rt(t,!0,!0),Pt(e,(function(e){return!Dt(t,e)}))})),cn=o((function(e,t){return ln(e,t)}));function un(e,t,n,r){c(t)||(r=n,n=t,t=!1),null!=n&&(n=Te(n,r));for(var i=[],o=[],s=0,a=F(e);st?1:e>=t?0:NaN}function _(e){return null===e?NaN:+e}function v(e){return!isNaN(e)}function y(e){return{left:function(t,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;e(t[o],n)<0?r=o+1:i=o}return r},right:function(t,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;e(t[o],n)>0?i=o:r=o+1}return r}}}o.ascending=m,o.descending=function(e,t){return te?1:t>=e?0:NaN},o.min=function(e,t){var n,r,i=-1,o=e.length;if(1===arguments.length){for(;++i=r){n=r;break}for(;++ir&&(n=r)}else{for(;++i=r){n=r;break}for(;++ir&&(n=r)}return n},o.max=function(e,t){var n,r,i=-1,o=e.length;if(1===arguments.length){for(;++i=r){n=r;break}for(;++in&&(n=r)}else{for(;++i=r){n=r;break}for(;++in&&(n=r)}return n},o.extent=function(e,t){var n,r,i,o=-1,s=e.length;if(1===arguments.length){for(;++o=r){n=i=r;break}for(;++or&&(n=r),i=r){n=i=r;break}for(;++or&&(n=r),i1)return s/(l-1)},o.deviation=function(){var e=o.variance.apply(this,arguments);return e?Math.sqrt(e):e};var b=y(m);function w(e){return e.length}o.bisectLeft=b.left,o.bisect=o.bisectRight=b.right,o.bisector=function(e){return y(1===e.length?function(t,n){return m(e(t),n)}:e)},o.shuffle=function(e,t,n){(o=arguments.length)<3&&(n=e.length,o<2&&(t=0));for(var r,i,o=n-t;o;)i=Math.random()*o--|0,r=e[o+t],e[o+t]=e[i+t],e[i+t]=r;return e},o.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},o.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],i=new Array(n<0?0:n);t=0;)for(t=(r=e[i]).length;--t>=0;)n[--s]=r[t];return n};var x=Math.abs;function k(e){for(var t=1;e*t%1;)t*=10;return t}function E(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function S(){this._=Object.create(null)}o.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error("infinite range");var r,i=[],o=k(x(n)),s=-1;if(e*=o,t*=o,(n*=o)<0)for(;(r=e+n*++s)>t;)i.push(r/o);else for(;(r=e+n*++s)=r.length)return t?t.call(n,o):e?o.sort(e):o;for(var l,c,u,h,d=-1,p=o.length,f=r[a++],g=new S;++d=r.length)return t;var o=[],s=i[n++];return t.forEach((function(t,r){o.push({key:t,values:e(r,n)})})),s?o.sort((function(e,t){return s(e.key,t.key)})):o}(s(o.map,e,0),0)},n.key=function(e){return r.push(e),n},n.sortKeys=function(e){return i[r.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return t=e,n},n},o.set=function(e){var t=new L;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},o.event=null,o.requote=function(e){return e.replace(W,"\\$&")};var W=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,V={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]};function $(e){return V(e,J),e}var K=function(e,t){return t.querySelector(e)},G=function(e,t){return t.querySelectorAll(e)},Y=function(e,t){var n=e.matches||e[R(e,"matchesSelector")];return(Y=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(K=function(e,t){return Sizzle(e,t)[0]||null},G=Sizzle,Y=Sizzle.matchesSelector),o.selection=function(){return o.select(l.documentElement)};var J=o.selection.prototype=[];function X(e){return"function"==typeof e?e:function(){return K(e,this)}}function Q(e){return"function"==typeof e?e:function(){return G(e,this)}}J.select=function(e){var t,n,r,i,o=[];e=X(e);for(var s=-1,a=this.length;++s=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),ee.hasOwnProperty(n)?{space:ee[n],local:e}:e}},J.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=o.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(te(t,e[t]));return this}return this.each(te(e,t))},J.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=ie(e)).length,i=-1;if(t=n.classList){for(;++i=0;)(n=r[i])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},J.sort=function(e){e=pe.apply(this,arguments);for(var t=-1,n=this.length;++t=t&&(t=i+1);!(s=a[t])&&++t0&&(e=e.slice(0,i));var l=ye.get(e);function c(){var t=this[r];t&&(this.removeEventListener(e,t,t.$),delete this[r])}return l&&(e=l,s=we),i?t?function(){var i=s(t,a(arguments));c.call(this),this.addEventListener(e,this[r]=i,i.$=n),i._=t}:c:t?z:function(){var t,n=new RegExp("^__on([^.]+)"+o.requote(e)+"$");for(var r in this)if(t=r.match(n)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}}o.selection.enter=ge,o.selection.enter.prototype=me,me.append=J.append,me.empty=J.empty,me.node=J.node,me.call=J.call,me.size=J.size,me.select=function(e){for(var t,n,r,i,o,s=[],a=-1,l=this.length;++a0?1:e<0?-1:0}function Be(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ze(e){return e>1?0:e<-1?Te:Math.acos(e)}function Ne(e){return e>1?Le:e<-1?-Le:Math.asin(e)}function Fe(e){return((e=Math.exp(e))+1/e)/2}function qe(e){return(e=Math.sin(e/2))*e}var Ue=Math.SQRT2;o.interpolateZoom=function(e,t){var n,r,i=e[0],o=e[1],s=e[2],a=t[0],l=t[1],c=t[2],u=a-i,h=l-o,d=u*u+h*h;if(d0&&(e=e.transition().duration(g)),e.call(x.event)}function C(){a&&a.domain(s.range().map((function(e){return(e-d.x)/d.k})).map(s.invert)),h&&h.domain(c.range().map((function(e){return(e-d.y)/d.k})).map(c.invert))}function j(e){m++||e({type:"zoomstart"})}function A(e){C(),e({type:"zoom",scale:d.k,translate:[d.x,d.y]})}function T(e){--m||(e({type:"zoomend"}),t=null)}function P(){var e=this,t=w.of(e,arguments),n=0,r=o.select(u(e)).on(v,a).on(y,l),i=k(o.mouse(e)),s=Ee(e);function a(){n=1,S(o.mouse(e),i),A(t)}function l(){r.on(v,null).on(y,null),s(n),T(t)}wa.call(e),j(t)}function O(){var e,t=this,n=w.of(t,arguments),r={},s=0,a=".zoom-"+o.event.changedTouches[0].identifier,l="touchmove"+a,c="touchend"+a,u=[],h=o.select(t),p=Ee(t);function f(){var n=o.touches(t);return e=d.k,n.forEach((function(e){e.identifier in r&&(r[e.identifier]=k(e))})),n}function g(){var e=o.event.target;o.select(e).on(l,m).on(c,v),u.push(e);for(var n=o.event.changedTouches,a=0,h=n.length;a1){_=p[0];var y=p[1],b=_[0]-y[0],w=_[1]-y[1];s=b*b+w*w}}function m(){var a,l,c,u,h=o.touches(t);wa.call(t);for(var d=0,p=h.length;d360?e-=360:e<0&&(e+=360),e<60?r+(i-r)*e/60:e<180?i:e<240?r+(i-r)*(240-e)/60:r}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,r=2*(n=n<0?0:n>1?1:n)-(i=n<=.5?n*(1+t):n+t-n*t),new at(o(e+120),o(e),o(e-120))}function Je(e,t,n){return this instanceof Je?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof Je?new Je(e.h,e.c,e.l):rt(e instanceof Ze?e.l:(e=ft((e=o.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Je(e,t,n)}Ge.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ke(this.h,this.s,this.l/e)},Ge.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ke(this.h,this.s,e*this.l)},Ge.rgb=function(){return Ye(this.h,this.s,this.l)},o.hcl=Je;var Xe=Je.prototype=new $e;function Qe(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Ze(n,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Ze(e,t,n){return this instanceof Ze?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof Ze?new Ze(e.l,e.a,e.b):e instanceof Je?Qe(e.h,e.c,e.l):ft((e=at(e)).r,e.g,e.b):new Ze(e,t,n)}Xe.brighter=function(e){return new Je(this.h,this.c,Math.min(100,this.l+et*(arguments.length?e:1)))},Xe.darker=function(e){return new Je(this.h,this.c,Math.max(0,this.l-et*(arguments.length?e:1)))},Xe.rgb=function(){return Qe(this.h,this.c,this.l).rgb()},o.lab=Ze;var et=18,tt=Ze.prototype=new $e;function nt(e,t,n){var r=(e+16)/116,i=r+t/500,o=r-n/200;return new at(st(3.2404542*(i=.95047*it(i))-1.5371385*(r=1*it(r))-.4985314*(o=1.08883*it(o))),st(-.969266*i+1.8760108*r+.041556*o),st(.0556434*i-.2040259*r+1.0572252*o))}function rt(e,t,n){return e>0?new Je(Math.atan2(n,t)*De,Math.sqrt(t*t+n*n),e):new Je(NaN,NaN,e)}function it(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function ot(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function st(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function at(e,t,n){return this instanceof at?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof at?new at(e.r,e.g,e.b):dt(""+e,at,Ye):new at(e,t,n)}function lt(e){return new at(e>>16,e>>8&255,255&e)}function ct(e){return lt(e)+""}tt.brighter=function(e){return new Ze(Math.min(100,this.l+et*(arguments.length?e:1)),this.a,this.b)},tt.darker=function(e){return new Ze(Math.max(0,this.l-et*(arguments.length?e:1)),this.a,this.b)},tt.rgb=function(){return nt(this.l,this.a,this.b)},o.rgb=at;var ut=at.prototype=new $e;function ht(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function dt(e,t,n){var r,i,o,s=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(mt(i[0]),mt(i[1]),mt(i[2]))}return(o=_t.get(e))?t(o.r,o.g,o.b):(null==e||"#"!==e.charAt(0)||isNaN(o=parseInt(e.slice(1),16))||(4===e.length?(s=(3840&o)>>4,s|=s>>4,a=240&o,a|=a>>4,l=15&o,l|=l<<4):7===e.length&&(s=(16711680&o)>>16,a=(65280&o)>>8,l=255&o)),t(s,a,l))}function pt(e,t,n){var r,i,o=Math.min(e/=255,t/=255,n/=255),s=Math.max(e,t,n),a=s-o,l=(s+o)/2;return a?(i=l<.5?a/(s+o):a/(2-s-o),r=e==s?(t-n)/a+(t0&&l<1?0:r),new Ke(r,i,l)}function ft(e,t,n){var r=ot((.4124564*(e=gt(e))+.3575761*(t=gt(t))+.1804375*(n=gt(n)))/.95047),i=ot((.2126729*e+.7151522*t+.072175*n)/1);return Ze(116*i-16,500*(r-i),200*(i-ot((.0193339*e+.119192*t+.9503041*n)/1.08883)))}function gt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function mt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}ut.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,n=this.g,r=this.b,i=30;return t||n||r?(t&&t=200&&t<300||304===t){try{e=n.call(i,c)}catch(e){return void s.error.call(i,e)}s.load.call(i,e)}else s.error.call(i,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=h:c.onreadystatechange=function(){c.readyState>3&&h()},c.onprogress=function(e){var t=o.event;o.event=e;try{s.progress.call(i,c)}finally{o.event=t}},i.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?l[e]:(null==t?delete l[e]:l[e]=t+"",i)},i.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",i):t},i.responseType=function(e){return arguments.length?(u=e,i):u},i.response=function(e){return n=e,i},["get","post"].forEach((function(e){i[e]=function(){return i.send.apply(i,[e].concat(a(arguments)))}})),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),c.open(n,e,!0),null==t||"accept"in l||(l.accept=t+",*/*"),c.setRequestHeader)for(var a in l)c.setRequestHeader(a,l[a]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=u&&(c.responseType=u),null!=o&&i.on("error",o).on("load",(function(e){o(null,e)})),s.beforesend.call(i,c),c.send(null==r?null:r),i},i.abort=function(){return c.abort(),i},o.rebind(i,s,"on"),null==r?i:i.get(function(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}(r))}_t.forEach((function(e,t){_t.set(e,lt(t))})),o.functor=vt,o.xhr=yt(I),o.dsv=function(e,t){var n=new RegExp('["'+e+"\n]"),r=e.charCodeAt(0);function i(e,n,r){arguments.length<3&&(r=n,n=null);var i=bt(e,t,null==n?o:s(n),r);return i.row=function(e){return arguments.length?i.response(null==(n=e)?o:s(e)):n},i}function o(e){return i.parse(e.responseText)}function s(e){return function(t){return i.parse(t.responseText,e)}}function a(t){return t.map(l).join(e)}function l(e){return n.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return i.parse=function(e,t){var n;return i.parseRows(e,(function(e,r){if(n)return n(e,r-1);var i=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");n=t?function(e,n){return t(i(e),n)}:i}))},i.parseRows=function(e,t){var n,i,o={},s={},a=[],l=e.length,c=0,u=0;function h(){if(c>=l)return s;if(i)return i=!1,o;var t=c;if(34===e.charCodeAt(t)){for(var n=t;n++24?(isFinite(t)&&(clearTimeout(Et),Et=setTimeout(Ct,t)),kt=0):(kt=1,St(Ct))}function jt(){for(var e=Date.now(),t=wt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function At(){for(var e,t=wt,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}));function Ot(e){var t=e.decimal,n=e.thousands,r=e.grouping,i=e.currency,s=r&&n?function(e,t){for(var i=e.length,o=[],s=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),o.push(e.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[s=(s+1)%r.length];return o.reverse().join(n)}:I;return function(e){var n=Lt.exec(e),r=n[1]||" ",a=n[2]||">",l=n[3]||"-",c=n[4]||"",u=n[5],h=+n[6],d=n[7],p=n[8],f=n[9],g=1,m="",_="",v=!1,y=!0;switch(p&&(p=+p.substring(1)),(u||"0"===r&&"="===a)&&(u=r="0",a="="),f){case"n":d=!0,f="g";break;case"%":g=100,_="%",f="f";break;case"p":g=100,_="%",f="r";break;case"b":case"o":case"x":case"X":"#"===c&&(m="0"+f.toLowerCase());case"c":y=!1;case"d":v=!0,p=0;break;case"s":g=-1,f="r"}"$"===c&&(m=i[0],_=i[1]),"r"!=f||p||(f="g"),null!=p&&("g"==f?p=Math.max(1,Math.min(21,p)):"e"!=f&&"f"!=f||(p=Math.max(0,Math.min(20,p)))),f=It.get(f)||Dt;var b=u&&d;return function(e){var n=_;if(v&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===l?"":l;if(g<0){var c=o.formatPrefix(e,p);e=c.scale(e),n=c.symbol+_}else e*=g;var w,x,k=(e=f(e,p)).lastIndexOf(".");if(k<0){var E=y?e.lastIndexOf("e"):-1;E<0?(w=e,x=""):(w=e.substring(0,E),x=e.substring(E))}else w=e.substring(0,k),x=t+e.substring(k+1);!u&&d&&(w=s(w,1/0));var S=m.length+w.length+x.length+(b?0:i.length),M=S"===a?M+i+e:"^"===a?M.substring(0,S>>=1)+i+e+M.substring(S):i+(b?e:M+e))+n}}}o.formatPrefix=function(e,t){var n=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=o.round(e,Tt(e,t))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Pt[8+n/3]};var Lt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,It=o.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=o.round(e,Tt(e,t))).toFixed(Math.max(0,Math.min(20,Tt(e*(1+1e-15),t))))}});function Dt(e){return e+""}var Rt=o.time={},Bt=Date;function zt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}zt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Nt.setUTCDate.apply(this._,arguments)},setDay:function(){Nt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Nt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Nt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Nt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Nt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Nt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Nt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Nt.setTime.apply(this._,arguments)}};var Nt=Date.prototype;function Ft(e,t,n){function r(t){var n=e(t),r=o(n,1);return t-n1)for(;s=c)return-1;if(37===(i=t.charCodeAt(a++))){if(s=t.charAt(a++),!(o=x[s in Ht?t.charAt(a++):s])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}u.utc=function(e){var t=u(e);function n(e){try{var n=new(Bt=zt);return n._=e,t(n)}finally{Bt=Date}}return n.parse=function(e){try{Bt=zt;var n=t.parse(e);return n&&n._}finally{Bt=Date}},n.toString=t.toString,n},u.multi=u.utc.multi=hn;var d=o.map(),p=Kt(s),f=Gt(s),g=Kt(a),m=Gt(a),_=Kt(l),v=Gt(l),y=Kt(c),b=Gt(c);i.forEach((function(e,t){d.set(e.toLowerCase(),t)}));var w={a:function(e){return a[e.getDay()]},A:function(e){return s[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:u(t),d:function(e,t){return $t(e.getDate(),t,2)},e:function(e,t){return $t(e.getDate(),t,2)},H:function(e,t){return $t(e.getHours(),t,2)},I:function(e,t){return $t(e.getHours()%12||12,t,2)},j:function(e,t){return $t(1+Rt.dayOfYear(e),t,3)},L:function(e,t){return $t(e.getMilliseconds(),t,3)},m:function(e,t){return $t(e.getMonth()+1,t,2)},M:function(e,t){return $t(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return $t(e.getSeconds(),t,2)},U:function(e,t){return $t(Rt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return $t(Rt.mondayOfYear(e),t,2)},x:u(n),X:u(r),y:function(e,t){return $t(e.getFullYear()%100,t,2)},Y:function(e,t){return $t(e.getFullYear()%1e4,t,4)},Z:cn,"%":function(){return"%"}},x={a:function(e,t,n){g.lastIndex=0;var r=g.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){p.lastIndex=0;var r=p.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){y.lastIndex=0;var r=y.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){_.lastIndex=0;var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,t,n){return h(e,w.c.toString(),t,n)},d:nn,e:nn,H:on,I:on,j:rn,L:ln,m:tn,M:sn,p:function(e,t,n){var r=d.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)},S:an,U:Jt,w:Yt,W:Xt,x:function(e,t,n){return h(e,w.x.toString(),t,n)},X:function(e,t,n){return h(e,w.X.toString(),t,n)},y:Zt,Y:Qt,Z:en,"%":un};return u}Rt.year=Ft((function(e){return(e=Rt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Rt.years=Rt.year.range,Rt.years.utc=Rt.year.utc.range,Rt.day=Ft((function(e){var t=new Bt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Rt.days=Rt.day.range,Rt.days.utc=Rt.day.utc.range,Rt.dayOfYear=function(e){var t=Rt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var n=Rt[e]=Ft((function(e){return(e=Rt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var n=Rt.year(e).getDay();return Math.floor((Rt.dayOfYear(e)+(n+t)%7)/7)-(n!==t)}));Rt[e+"s"]=n.range,Rt[e+"s"].utc=n.utc.range,Rt[e+"OfYear"]=function(e){var n=Rt.year(e).getDay();return Math.floor((Rt.dayOfYear(e)+(n+t)%7)/7)}})),Rt.week=Rt.sunday,Rt.weeks=Rt.sunday.range,Rt.weeks.utc=Rt.sunday.utc.range,Rt.weekOfYear=Rt.sundayOfYear;var Ht={"-":"",_:" ",0:"0"},Wt=/^\s*\d+/,Vt=/^%/;function $t(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o68?1900:2e3),n+i[0].length):-1}function en(e,t,n){return/^[+-]\d{4}$/.test(t=t.slice(n,n+5))?(e.Z=-t,n+5):-1}function tn(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nn(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rn(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function on(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function sn(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function an(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ln(e,t,n){Wt.lastIndex=0;var r=Wt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function cn(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=x(t)/60|0,i=x(t)%60;return n+$t(r,"0",2)+$t(i,"0",2)}function un(e,t,n){Vt.lastIndex=0;var r=Vt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function hn(e){for(var t=e.length,n=-1;++n=0?1:-1,a=s*o,l=Math.cos(t),c=Math.sin(t),u=i*c,h=r*l+u*Math.cos(a),d=u*s*Math.sin(a);Ln.add(Math.atan2(d,h)),n=e,r=l,i=c}In.point=function(s,a){In.point=o,n=(e=s)*Ie,r=Math.cos(a=(t=a)*Ie/2+Te/4),i=Math.sin(a)},In.lineEnd=function(){o(e,t)}}function Rn(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function Bn(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function zn(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Nn(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Fn(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function qn(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Un(e){return[Math.atan2(e[1],e[0]),Ne(e[2])]}function Hn(e,t){return x(e[0]-t[0])je?r=90:c<-je&&(t=-90),h[0]=e,h[1]=n}};function p(i,o){u.push(h=[e=i,n=i]),or&&(r=o)}function f(o,s){var a=Rn([o*Ie,s*Ie]);if(l){var c=zn(l,a),u=zn([c[1],-c[0],0],c);qn(u),u=Un(u);var h=o-i,d=h>0?1:-1,f=u[0]*De*d,g=x(h)>180;if(g^(d*ir&&(r=m);else if(g^(d*i<(f=(f+360)%360-180)&&fr&&(r=s);g?ob(e,n)&&(n=o):b(o,n)>b(e,n)&&(e=o):n>=e?(on&&(n=o)):o>i?b(e,o)>b(e,n)&&(n=o):b(o,n)>b(e,n)&&(e=o)}else p(o,s);l=a,i=o}function g(){d.point=f}function m(){h[0]=e,h[1]=n,d.point=p,l=null}function _(e,t){if(l){var n=e-i;c+=x(n)>180?n+(n>0?360:-360):n}else s=e,a=t;In.point(e,t),f(e,t)}function v(){In.lineStart()}function y(){_(s,a),In.lineEnd(),x(c)>je&&(e=-(n=180)),h[0]=e,h[1]=n,l=null}function b(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eb(g[0],g[1])&&(g[1]=p[1]),b(p[0],g[1])>b(g[0],g[1])&&(g[0]=p[0])):a.push(g=p);for(var l,c,p,f=-1/0,g=(s=0,a[c=a.length-1]);s<=c;g=p,++s)p=a[s],(l=b(g[1],p[0]))>f&&(f=l,e=p[0],n=g[1])}return u=h=null,e===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,t],[n,r]]}}(),o.geo.centroid=function(e){xn=kn=En=Sn=Mn=Cn=jn=An=Tn=Pn=On=0,o.geo.stream(e,Wn);var t=Tn,n=Pn,r=On,i=t*t+n*n+r*r;return i=0;--a)i.point((h=u[a])[0],h[1]);else r(p.x,p.p.x,-1,i);p=p.p}u=(p=p.o).z,f=!f}while(!p.v);i.lineEnd()}}}function Zn(e){if(t=e.length){for(var t,n,r=0,i=e[0];++r=0?1:-1,k=x*w,E=k>Te,S=f*y;if(Ln.add(Math.atan2(S*x*Math.sin(k),g*b+S*Math.cos(k))),o+=E?w+x*Pe:w,E^d>=n^_>=n){var M=zn(Rn(h),Rn(e));qn(M);var C=zn(i,M);qn(C);var j=(E^w>=0?-1:1)*Ne(C[2]);(r>j||r===j&&(M[0]||M[1]))&&(s+=E^w>=0?1:-1)}if(!m++)break;d=_,f=y,g=b,h=e}}return(o<-je||o0){for(y||(s.polygonStart(),y=!0),s.lineStart();++o1&&2&t&&n.push(n.pop().concat(n.shift())),a.push(n.filter(nr))}return u}}function nr(e){return e.length>1}function rr(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:z,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function ir(e,t){return((e=e.x)[0]<0?e[1]-Le-je:Le-e[1])-((t=t.x)[0]<0?t[1]-Le-je:Le-t[1])}var or=tr(Xn,(function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(o,s){var a=o>0?Te:-Te,l=x(o-n);x(l-Te)0?Le:-Le),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(a,r),e.point(o,r),t=0):i!==a&&l>=Te&&(x(n-i)je?Math.atan((Math.sin(t)*(o=Math.cos(r))*Math.sin(n)-Math.sin(r)*(i=Math.cos(t))*Math.sin(e))/(i*o*s)):(t+r)/2}(n,r,o,s),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(a,r),t=0),e.point(n=o,r=s),i=a},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var i;if(null==e)i=n*Le,r.point(-Te,i),r.point(0,i),r.point(Te,i),r.point(Te,0),r.point(Te,-i),r.point(0,-i),r.point(-Te,-i),r.point(-Te,0),r.point(-Te,i);else if(x(e[0]-t[0])>je){var o=e[0]0,r=x(t)>je;return tr(i,(function(e){var t,a,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,d){var p,f=[h,d],g=i(h,d),m=n?g?0:s(h,d):g?s(h+(h<0?Te:-Te),d):0;if(!t&&(c=l=g)&&e.lineStart(),g!==l&&(p=o(t,f),(Hn(t,p)||Hn(f,p))&&(f[0]+=je,f[1]+=je,g=i(f[0],f[1]))),g!==l)u=0,g?(e.lineStart(),p=o(f,t),e.point(p[0],p[1])):(p=o(t,f),e.point(p[0],p[1]),e.lineEnd()),t=p;else if(r&&t&&n^g){var _;m&a||!(_=o(f,t,!0))||(u=0,n?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1])))}!g||t&&Hn(t,f)||e.point(f[0],f[1]),t=f,l=g,a=m},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return u|(c&&l)<<1}}}),Ur(e,6*Ie),n?[0,-e]:[-Te,e-Te]);function i(e,n){return Math.cos(e)*Math.cos(n)>t}function o(e,n,r){var i=[1,0,0],o=zn(Rn(e),Rn(n)),s=Bn(o,o),a=o[0],l=s-a*a;if(!l)return!r&&e;var c=t*s/l,u=-t*a/l,h=zn(i,o),d=Fn(i,c);Nn(d,Fn(o,u));var p=h,f=Bn(d,p),g=Bn(p,p),m=f*f-g*(Bn(d,d)-1);if(!(m<0)){var _=Math.sqrt(m),v=Fn(p,(-f-_)/g);if(Nn(v,d),v=Un(v),!r)return v;var y,b=e[0],w=n[0],k=e[1],E=n[1];w0^v[1]<(x(v[0]-b)Te^(b<=v[0]&&v[0]<=w)){var C=Fn(p,(-f+_)/g);return Nn(C,d),[v,Un(C)]}}}function s(t,r){var i=n?e:Te-e,o=0;return t<-i?o|=1:t>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}}function ar(e,t,n,r){return function(i){var o,s=i.a,a=i.b,l=s.x,c=s.y,u=0,h=1,d=a.x-l,p=a.y-c;if(o=e-l,d||!(o>0)){if(o/=d,d<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=n-l,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>u&&(u=o)}else if(d>0){if(o0)){if(o/=p,p<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=r-c,p||!(o<0)){if(o/=p,p<0){if(o>h)return;o>u&&(u=o)}else if(p>0){if(o0&&(i.a={x:l+u*d,y:c+u*p}),h<1&&(i.b={x:l+h*d,y:c+h*p}),i}}}}}}function lr(e,t,n,r){return function(l){var c,u,h,d,p,f,g,m,_,v,y,b=l,w=rr(),x=ar(e,t,n,r),k={point:M,lineStart:function(){k.point=C,u&&u.push(h=[]);v=!0,_=!1,g=m=NaN},lineEnd:function(){c&&(C(d,p),f&&_&&w.rejoin(),c.push(w.buffer()));k.point=M,_&&l.lineEnd()},polygonStart:function(){l=w,c=[],u=[],y=!0},polygonEnd:function(){l=b,c=o.merge(c);var t=function(e){for(var t=0,n=u.length,r=e[1],i=0;ir&&Be(c,o,e)>0&&++t:o[1]<=r&&Be(c,o,e)<0&&--t,c=o;return 0!==t}([e,r]),n=y&&t,i=c.length;(n||i)&&(l.polygonStart(),n&&(l.lineStart(),E(null,null,1,l),l.lineEnd()),i&&Qn(c,s,t,E,l),l.polygonEnd()),c=u=h=null}};function E(o,s,l,c){var u=0,h=0;if(null==o||(u=i(o,l))!==(h=i(s,l))||a(o,s)<0^l>0)do{c.point(0===u||3===u?e:n,u>1?r:t)}while((u=(u+l+4)%4)!==h);else c.point(s[0],s[1])}function S(i,o){return e<=i&&i<=n&&t<=o&&o<=r}function M(e,t){S(e,t)&&l.point(e,t)}function C(e,t){var n=S(e=Math.max(-1e9,Math.min(1e9,e)),t=Math.max(-1e9,Math.min(1e9,t)));if(u&&h.push([e,t]),v)d=e,p=t,f=n,v=!1,n&&(l.lineStart(),l.point(e,t));else if(n&&_)l.point(e,t);else{var r={a:{x:g,y:m},b:{x:e,y:t}};x(r)?(_||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),n||l.lineEnd(),y=!1):n&&(l.lineStart(),l.point(e,t),y=!1)}g=e,m=t,_=n}return k};function i(r,i){return x(r[0]-e)0?0:3:x(r[0]-n)0?2:1:x(r[1]-t)0?1:0:i>0?3:2}function s(e,t){return a(e.x,t.x)}function a(e,t){var n=i(e,1),r=i(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}}function cr(e){var t=0,n=Te/3,r=Ir(e),i=r(t,n);return i.parallels=function(e){return arguments.length?r(t=e[0]*Te/180,n=e[1]*Te/180):[t/Te*180,n/Te*180]},i}function ur(e,t){var n=Math.sin(e),r=(n+Math.sin(t))/2,i=1+n*(2*r-n),o=Math.sqrt(i)/r;function s(e,t){var n=Math.sqrt(i-2*r*Math.sin(t))/r;return[n*Math.sin(e*=r),o-n*Math.cos(e)]}return s.invert=function(e,t){var n=o-t;return[Math.atan2(e,n)/r,Ne((i-(e*e+n*n)*r*r)/(2*r))]},s}o.geo.clipExtent=function(){var e,t,n,r,i,o,s={stream:function(e){return i&&(i.valid=!1),(i=o(e)).valid=!0,i},extent:function(a){return arguments.length?(o=lr(e=+a[0][0],t=+a[0][1],n=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),s):[[e,t],[n,r]]}};return s.extent([[0,0],[960,500]])},(o.geo.conicEqualArea=function(){return cr(ur)}).raw=ur,o.geo.albers=function(){return o.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},o.geo.albersUsa=function(){var e,t,n,r,i=o.geo.albers(),s=o.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=o.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){e=[t,n]}};function c(i){var o=i[0],s=i[1];return e=null,t(o,s),e||(n(o,s),e)||r(o,s),e}return c.invert=function(e){var t=i.scale(),n=i.translate(),r=(e[0]-n[0])/t,o=(e[1]-n[1])/t;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?a:i).invert(e)},c.stream=function(e){var t=i.stream(e),n=s.stream(e),r=a.stream(e);return{point:function(e,i){t.point(e,i),n.point(e,i),r.point(e,i)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),s.precision(e),a.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),s.scale(.35*e),a.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var o=i.scale(),u=+e[0],h=+e[1];return t=i.translate(e).clipExtent([[u-.455*o,h-.238*o],[u+.455*o,h+.238*o]]).stream(l).point,n=s.translate([u-.307*o,h+.201*o]).clipExtent([[u-.425*o+je,h+.12*o+je],[u-.214*o-je,h+.234*o-je]]).stream(l).point,r=a.translate([u-.205*o,h+.212*o]).clipExtent([[u-.214*o+je,h+.166*o+je],[u-.115*o-je,h+.234*o-je]]).stream(l).point,c},c.scale(1070)};var hr,dr,pr,fr,gr,mr,_r={point:z,lineStart:z,lineEnd:z,polygonStart:function(){dr=0,_r.lineStart=vr},polygonEnd:function(){_r.lineStart=_r.lineEnd=_r.point=z,hr+=x(dr/2)}};function vr(){var e,t,n,r;function i(e,t){dr+=r*e-n*t,n=e,r=t}_r.point=function(o,s){_r.point=i,e=n=o,t=r=s},_r.lineEnd=function(){i(e,t)}}var yr={point:function(e,t){egr&&(gr=e);tmr&&(mr=t)},lineStart:z,lineEnd:z,polygonStart:z,polygonEnd:z};function br(){var e=wr(4.5),t=[],n={point:r,lineStart:function(){n.point=i},lineEnd:s,polygonStart:function(){n.lineEnd=a},polygonEnd:function(){n.lineEnd=s,n.point=r},pointRadius:function(t){return e=wr(t),n},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function r(n,r){t.push("M",n,",",r,e)}function i(e,r){t.push("M",e,",",r),n.point=o}function o(e,n){t.push("L",e,",",n)}function s(){n.point=r}function a(){t.push("Z")}return n}function wr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var xr,kr={point:Er,lineStart:Sr,lineEnd:Mr,polygonStart:function(){kr.lineStart=Cr},polygonEnd:function(){kr.point=Er,kr.lineStart=Sr,kr.lineEnd=Mr}};function Er(e,t){En+=e,Sn+=t,++Mn}function Sr(){var e,t;function n(n,r){var i=n-e,o=r-t,s=Math.sqrt(i*i+o*o);Cn+=s*(e+n)/2,jn+=s*(t+r)/2,An+=s,Er(e=n,t=r)}kr.point=function(r,i){kr.point=n,Er(e=r,t=i)}}function Mr(){kr.point=Er}function Cr(){var e,t,n,r;function i(e,t){var i=e-n,o=t-r,s=Math.sqrt(i*i+o*o);Cn+=s*(n+e)/2,jn+=s*(r+t)/2,An+=s,Tn+=(s=r*e-n*t)*(n+e),Pn+=s*(r+t),On+=3*s,Er(n=e,r=t)}kr.point=function(o,s){kr.point=i,Er(e=n=o,t=r=s)},kr.lineEnd=function(){i(e,t)}}function jr(e){var t=4.5,n={point:r,lineStart:function(){n.point=i},lineEnd:s,polygonStart:function(){n.lineEnd=a},polygonEnd:function(){n.lineEnd=s,n.point=r},pointRadius:function(e){return t=e,n},result:z};function r(n,r){e.moveTo(n+t,r),e.arc(n,r,t,0,Pe)}function i(t,r){e.moveTo(t,r),n.point=o}function o(t,n){e.lineTo(t,n)}function s(){n.point=r}function a(){e.closePath()}return n}function Ar(e){var t=.5,n=Math.cos(30*Ie),r=16;function i(e){return(r?s:o)(e)}function o(t){return Or(t,(function(n,r){n=e(n,r),t.point(n[0],n[1])}))}function s(t){var n,i,o,s,l,c,u,h,d,p,f,g,m={point:_,lineStart:v,lineEnd:b,polygonStart:function(){t.polygonStart(),m.lineStart=w},polygonEnd:function(){t.polygonEnd(),m.lineStart=v}};function _(n,r){n=e(n,r),t.point(n[0],n[1])}function v(){h=NaN,m.point=y,t.lineStart()}function y(n,i){var o=Rn([n,i]),s=e(n,i);a(h,d,u,p,f,g,h=s[0],d=s[1],u=n,p=o[0],f=o[1],g=o[2],r,t),t.point(h,d)}function b(){m.point=_,t.lineEnd()}function w(){v(),m.point=x,m.lineEnd=k}function x(e,t){y(n=e,t),i=h,o=d,s=p,l=f,c=g,m.point=y}function k(){a(h,d,u,p,f,g,i,o,n,s,l,c,r,t),m.lineEnd=b,b()}return m}function a(r,i,o,s,l,c,u,h,d,p,f,g,m,_){var v=u-r,y=h-i,b=v*v+y*y;if(b>4*t&&m--){var w=s+p,k=l+f,E=c+g,S=Math.sqrt(w*w+k*k+E*E),M=Math.asin(E/=S),C=x(x(E)-1)t||x((v*P+y*O)/b-.5)>.3||s*p+l*f+c*g0&&16,i):Math.sqrt(t)},i}function Tr(e){var t=Ar((function(t,n){return e([t*De,n*De])}));return function(e){return Dr(t(e))}}function Pr(e){this.stream=e}function Or(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Lr(e){return Ir((function(){return e}))()}function Ir(e){var t,n,r,i,s,a,l=Ar((function(e,n){return[(e=t(e,n))[0]*c+i,s-e[1]*c]})),c=150,u=480,h=250,d=0,p=0,f=0,g=0,m=0,_=or,v=I,y=null,b=null;function w(e){return[(e=r(e[0]*Ie,e[1]*Ie))[0]*c+i,s-e[1]*c]}function x(e){return(e=r.invert((e[0]-i)/c,(s-e[1])/c))&&[e[0]*De,e[1]*De]}function k(){r=Jn(n=zr(f,g,m),t);var e=t(d,p);return i=u-e[0]*c,s=h+e[1]*c,E()}function E(){return a&&(a.valid=!1,a=null),w}return w.stream=function(e){return a&&(a.valid=!1),(a=Dr(_(n,l(v(e))))).valid=!0,a},w.clipAngle=function(e){return arguments.length?(_=null==e?(y=e,or):sr((y=+e)*Ie),E()):y},w.clipExtent=function(e){return arguments.length?(b=e,v=e?lr(e[0][0],e[0][1],e[1][0],e[1][1]):I,E()):b},w.scale=function(e){return arguments.length?(c=+e,k()):c},w.translate=function(e){return arguments.length?(u=+e[0],h=+e[1],k()):[u,h]},w.center=function(e){return arguments.length?(d=e[0]%360*Ie,p=e[1]%360*Ie,k()):[d*De,p*De]},w.rotate=function(e){return arguments.length?(f=e[0]%360*Ie,g=e[1]%360*Ie,m=e.length>2?e[2]%360*Ie:0,k()):[f*De,g*De,m*De]},o.rebind(w,l,"precision"),function(){return t=e.apply(this,arguments),w.invert=t.invert&&x,k()}}function Dr(e){return Or(e,(function(t,n){e.point(t*Ie,n*Ie)}))}function Rr(e,t){return[e,t]}function Br(e,t){return[e>Te?e-Pe:e<-Te?e+Pe:e,t]}function zr(e,t,n){return e?t||n?Jn(Fr(e),qr(t,n)):Fr(e):t||n?qr(t,n):Br}function Nr(e){return function(t,n){return[(t+=e)>Te?t-Pe:t<-Te?t+Pe:t,n]}}function Fr(e){var t=Nr(e);return t.invert=Nr(-e),t}function qr(e,t){var n=Math.cos(e),r=Math.sin(e),i=Math.cos(t),o=Math.sin(t);function s(e,t){var s=Math.cos(t),a=Math.cos(e)*s,l=Math.sin(e)*s,c=Math.sin(t),u=c*n+a*r;return[Math.atan2(l*i-u*o,a*n-c*r),Ne(u*i+l*o)]}return s.invert=function(e,t){var s=Math.cos(t),a=Math.cos(e)*s,l=Math.sin(e)*s,c=Math.sin(t),u=c*i-l*o;return[Math.atan2(l*i+c*o,a*n+u*r),Ne(u*n-a*r)]},s}function Ur(e,t){var n=Math.cos(e),r=Math.sin(e);return function(i,o,s,a){var l=s*t;null!=i?(i=Hr(n,i),o=Hr(n,o),(s>0?io)&&(i+=s*Pe)):(i=e+s*Pe,o=e-.5*l);for(var c,u=i;s>0?u>o:u2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=De,t[1]*=De,t},t},Br.invert=Rr,o.geo.circle=function(){var e,t,n=[0,0],r=6;function i(){var e="function"==typeof n?n.apply(this,arguments):n,r=zr(-e[0]*Ie,-e[1]*Ie,0).invert,i=[];return t(null,null,1,{point:function(e,t){i.push(e=r(e,t)),e[0]*=De,e[1]*=De}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(e){return arguments.length?(n=e,i):n},i.angle=function(n){return arguments.length?(t=Ur((e=+n)*Ie,r*Ie),i):e},i.precision=function(n){return arguments.length?(t=Ur(e*Ie,(r=+n)*Ie),i):r},i.angle(90)},o.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Ie,i=e[1]*Ie,o=t[1]*Ie,s=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),u=Math.sin(o),h=Math.cos(o);return Math.atan2(Math.sqrt((n=h*s)*n+(n=c*u-l*h*a)*n),l*u+c*h*a)},o.geo.graticule=function(){var e,t,n,r,i,s,a,l,c,u,h,d,p=10,f=p,g=90,m=360,_=2.5;function v(){return{type:"MultiLineString",coordinates:y()}}function y(){return o.range(Math.ceil(r/g)*g,n,g).map(h).concat(o.range(Math.ceil(l/m)*m,a,m).map(d)).concat(o.range(Math.ceil(t/p)*p,e,p).filter((function(e){return x(e%g)>je})).map(c)).concat(o.range(Math.ceil(s/f)*f,i,f).filter((function(e){return x(e%m)>je})).map(u))}return v.lines=function(){return y().map((function(e){return{type:"LineString",coordinates:e}}))},v.outline=function(){return{type:"Polygon",coordinates:[h(r).concat(d(a).slice(1),h(n).reverse().slice(1),d(l).reverse().slice(1))]}},v.extent=function(e){return arguments.length?v.majorExtent(e).minorExtent(e):v.minorExtent()},v.majorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],l=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),l>a&&(e=l,l=a,a=e),v.precision(_)):[[r,l],[n,a]]},v.minorExtent=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],s=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),s>i&&(n=s,s=i,i=n),v.precision(_)):[[t,s],[e,i]]},v.step=function(e){return arguments.length?v.majorStep(e).minorStep(e):v.minorStep()},v.majorStep=function(e){return arguments.length?(g=+e[0],m=+e[1],v):[g,m]},v.minorStep=function(e){return arguments.length?(p=+e[0],f=+e[1],v):[p,f]},v.precision=function(o){return arguments.length?(_=+o,c=Wr(s,i,90),u=Vr(t,e,_),h=Wr(l,a,90),d=Vr(r,n,_),v):_},v.majorExtent([[-180,-90+je],[180,90-je]]).minorExtent([[-180,-80-je],[180,80+je]])},o.geo.greatArc=function(){var e,t,n=$r,r=Kr;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),t||r.apply(this,arguments)]}}return i.distance=function(){return o.geo.distance(e||n.apply(this,arguments),t||r.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(r=e,t="function"==typeof e?null:e,i):r},i.precision=function(){return arguments.length?i:0},i},o.geo.interpolate=function(e,t){return n=e[0]*Ie,r=e[1]*Ie,i=t[0]*Ie,o=t[1]*Ie,s=Math.cos(r),a=Math.sin(r),l=Math.cos(o),c=Math.sin(o),u=s*Math.cos(n),h=s*Math.sin(n),d=l*Math.cos(i),p=l*Math.sin(i),f=2*Math.asin(Math.sqrt(qe(o-r)+s*l*qe(i-n))),g=1/Math.sin(f),(m=f?function(e){var t=Math.sin(e*=f)*g,n=Math.sin(f-e)*g,r=n*u+t*d,i=n*h+t*p,o=n*a+t*c;return[Math.atan2(i,r)*De,Math.atan2(o,Math.sqrt(r*r+i*i))*De]}:function(){return[n*De,r*De]}).distance=f,m;var n,r,i,o,s,a,l,c,u,h,d,p,f,g,m},o.geo.length=function(e){return xr=0,o.geo.stream(e,Gr),xr};var Gr={sphere:z,point:z,lineStart:function(){var e,t,n;function r(r,i){var o=Math.sin(i*=Ie),s=Math.cos(i),a=x((r*=Ie)-e),l=Math.cos(a);xr+=Math.atan2(Math.sqrt((a=s*Math.sin(a))*a+(a=n*o-t*s*l)*a),t*o+n*s*l),e=r,t=o,n=s}Gr.point=function(i,o){e=i*Ie,t=Math.sin(o*=Ie),n=Math.cos(o),Gr.point=r},Gr.lineEnd=function(){Gr.point=Gr.lineEnd=z}},lineEnd:z,polygonStart:z,polygonEnd:z};function Yr(e,t){function n(t,n){var r=Math.cos(t),i=Math.cos(n),o=e(r*i);return[o*i*Math.sin(t),o*Math.sin(n)]}return n.invert=function(e,n){var r=Math.sqrt(e*e+n*n),i=t(r),o=Math.sin(i),s=Math.cos(i);return[Math.atan2(e*o,r*s),Math.asin(r&&n*o/r)]},n}var Jr=Yr((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(o.geo.azimuthalEqualArea=function(){return Lr(Jr)}).raw=Jr;var Xr=Yr((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),I);function Qr(e,t){var n=Math.cos(e),r=function(e){return Math.tan(Te/4+e/2)},i=e===t?Math.sin(e):Math.log(n/Math.cos(t))/Math.log(r(t)/r(e)),o=n*Math.pow(r(e),i)/i;if(!i)return ti;function s(e,t){o>0?t<-Le+je&&(t=-Le+je):t>Le-je&&(t=Le-je);var n=o/Math.pow(r(t),i);return[n*Math.sin(i*e),o-n*Math.cos(i*e)]}return s.invert=function(e,t){var n=o-t,r=Re(i)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/i,2*Math.atan(Math.pow(o/r,1/i))-Le]},s}function Zr(e,t){var n=Math.cos(e),r=e===t?Math.sin(e):(n-Math.cos(t))/(t-e),i=n/r+e;if(x(r)1&&Be(e[n[r-2]],e[n[r-1]],e[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function ci(e,t){return e[0]-t[0]||e[1]-t[1]}(o.geo.stereographic=function(){return Lr(ii)}).raw=ii,oi.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Le]},(o.geo.transverseMercator=function(){var e=ni(oi),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90])}).raw=oi,o.geom={},o.geom.hull=function(e){var t=si,n=ai;if(arguments.length)return r(e);function r(e){if(e.length<3)return[];var r,i=vt(t),o=vt(n),s=e.length,a=[],l=[];for(r=0;r=0;--r)p.push(e[a[c[r]][2]]);for(r=+h;rje)a=a.L;else{if(!((i=o-Ci(a,s))>je)){r>-je?(t=a.P,n=a):i>-je?(t=a,n=a.N):t=n=a;break}if(!a.R){t=a;break}a=a.R}var l=xi(e);if(mi.insert(t,l),t||n){if(t===n)return Oi(t),n=xi(t.site),mi.insert(l,n),l.edge=n.edge=Di(t.site,l.site),Pi(t),void Pi(n);if(n){Oi(t),Oi(n);var c=t.site,u=c.x,h=c.y,d=e.x-u,p=e.y-h,f=n.site,g=f.x-u,m=f.y-h,_=2*(d*m-p*g),v=d*d+p*p,y=g*g+m*m,b={x:(m*v-p*y)/_+u,y:(d*y-g*v)/_+h};Bi(n.edge,c,f,b),l.edge=Di(c,e,null,b),n.edge=Di(e,f,null,b),Pi(t),Pi(n)}else l.edge=Di(t.site,l.site)}}function Mi(e,t){var n=e.site,r=n.x,i=n.y,o=i-t;if(!o)return r;var s=e.P;if(!s)return-1/0;var a=(n=s.site).x,l=n.y,c=l-t;if(!c)return a;var u=a-r,h=1/o-1/c,d=u/c;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*c)-l+c/2+i-o/2)))/h+r:(r+a)/2}function Ci(e,t){var n=e.N;if(n)return Mi(n,t);var r=e.site;return r.y===t?r.x:1/0}function ji(e){this.site=e,this.edges=[]}function Ai(e,t){return t.angle-e.angle}function Ti(){Fi(this),this.x=this.y=this.arc=this.site=this.cy=null}function Pi(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,o=n.site;if(r!==o){var s=i.x,a=i.y,l=r.x-s,c=r.y-a,u=o.x-s,h=2*(l*(m=o.y-a)-c*u);if(!(h>=-Ae)){var d=l*l+c*c,p=u*u+m*m,f=(m*d-c*p)/h,g=(l*p-u*d)/h,m=g+a,_=bi.pop()||new Ti;_.arc=e,_.site=i,_.x=f+s,_.y=m+Math.sqrt(f*f+g*g),_.cy=m,e.circle=_;for(var v=null,y=vi._;y;)if(_.y=a)return;if(d>f){if(o){if(o.y>=c)return}else o={x:m,y:l};n={x:m,y:c}}else{if(o){if(o.y1)if(d>f){if(o){if(o.y>=c)return}else o={x:(l-i)/r,y:l};n={x:(c-i)/r,y:c}}else{if(o){if(o.y=a)return}else o={x:s,y:r*s+i};n={x:a,y:r*a+i}}else{if(o){if(o.xje||x(i-n)>je)&&(a.splice(s,0,new zi(Ri(o.site,u,x(r-h)je?{x:h,y:x(t-h)je?{x:x(n-f)je?{x:d,y:x(t-d)je?{x:x(n-p)=n&&c.x<=i&&c.y>=r&&c.y<=s?[[n,s],[i,s],[i,r],[n,r]]:[]).point=e[a]})),t}function a(e){return e.map((function(e,t){return{x:Math.round(r(e,t)/je)*je,y:Math.round(i(e,t)/je)*je,i:t}}))}return s.links=function(e){return Wi(a(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},s.triangles=function(e){var t=[];return Wi(a(e)).cells.forEach((function(n,r){for(var i,o,s,a,l=n.site,c=n.edges.sort(Ai),u=-1,h=c.length,d=c[h-1].edge,p=d.l===l?d.r:d.l;++uo||h>s||d=w)<<1|t>=b,k=x+4;xo&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:Zi(n,r)})),o=no.lastIndex;return og&&(g=l.x),l.y>m&&(m=l.y),c.push(l.x),u.push(l.y);else for(h=0;hg&&(g=y),b>m&&(m=b),c.push(y),u.push(b)}var w=g-p,k=m-f;function E(e,t,n,r,i,o,s,a){if(!isNaN(n)&&!isNaN(r))if(e.leaf){var l=e.x,c=e.y;if(null!=l)if(x(l-n)+x(c-r)<.01)S(e,t,n,r,i,o,s,a);else{var u=e.point;e.x=e.y=e.point=null,S(e,u,l,c,i,o,s,a),S(e,t,n,r,i,o,s,a)}else e.x=n,e.y=r,e.point=t}else S(e,t,n,r,i,o,s,a)}function S(e,t,n,r,i,o,s,a){var l=.5*(i+s),c=.5*(o+a),u=n>=l,h=r>=c,d=h<<1|u;e.leaf=!1,u?i=l:s=l,h?o=c:a=c,E(e=e.nodes[d]||(e.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,n,r,i,o,s,a)}w>k?m=f+w:g=p+k;var M={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){E(M,e,+_(e,++h),+v(e,h),p,f,g,m)},visit:function(e){Yi(e,M,p,f,g,m)},find:function(e){return Ji(M,e[0],e[1],p,f,g,m)}};if(h=-1,null==t){for(;++h=0&&!(n=o.interpolators[r](e,t)););return n}function io(e,t){var n,r=[],i=[],o=e.length,s=t.length,a=Math.min(e.length,t.length);for(n=0;n=1?1:e(t)}}function co(e){return function(t){return 1-e(1-t)}}function uo(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ho(e){return e*e}function po(e){return e*e*e}function fo(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function go(e){return 1-Math.cos(e*Le)}function mo(e){return Math.pow(2,10*(e-1))}function _o(e){return 1-Math.sqrt(1-e*e)}function vo(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function yo(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function bo(e){var t,n,r,i=[e.a,e.b],o=[e.c,e.d],s=xo(i),a=wo(i,o),l=xo(((t=o)[0]+=(r=-a)*(n=i)[0],t[1]+=r*n[1],t))||0;i[0]*o[1]=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=so.get(n)||oo,lo((r=ao.get(r)||I)(n.apply(null,s.call(arguments,1))))},o.interpolateHcl=function(e,t){e=o.hcl(e),t=o.hcl(t);var n=e.h,r=e.c,i=e.l,s=t.h-n,a=t.c-r,l=t.l-i;isNaN(a)&&(a=0,r=isNaN(r)?t.c:r);isNaN(s)?(s=0,n=isNaN(n)?t.h:n):s>180?s-=360:s<-180&&(s+=360);return function(e){return Qe(n+s*e,r+a*e,i+l*e)+""}},o.interpolateHsl=function(e,t){e=o.hsl(e),t=o.hsl(t);var n=e.h,r=e.s,i=e.l,s=t.h-n,a=t.s-r,l=t.l-i;isNaN(a)&&(a=0,r=isNaN(r)?t.s:r);isNaN(s)?(s=0,n=isNaN(n)?t.h:n):s>180?s-=360:s<-180&&(s+=360);return function(e){return Ye(n+s*e,r+a*e,i+l*e)+""}},o.interpolateLab=function(e,t){e=o.lab(e),t=o.lab(t);var n=e.l,r=e.a,i=e.b,s=t.l-n,a=t.a-r,l=t.b-i;return function(e){return nt(n+s*e,r+a*e,i+l*e)+""}},o.interpolateRound=yo,o.transform=function(e){var t=l.createElementNS(o.ns.prefix.svg,"g");return(o.transform=function(e){if(null!=e){e.includes("NaN")?(new_string=e.replace(/NaN/,"0"),t.setAttribute("transform",new_string)):t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new bo(n?n.matrix:ko)})(e)},bo.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ko={a:1,b:0,c:0,d:1,e:0,f:0};function Eo(e){return e.length?e.pop()+",":""}function So(e,t){var n=[],r=[];return e=o.transform(e),t=o.transform(t),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var i=n.push("translate(",null,",",null,")");r.push({i:i-4,x:Zi(e[0],t[0])},{i:i-2,x:Zi(e[1],t[1])})}else(t[0]||t[1])&&n.push("translate("+t+")")}(e.translate,t.translate,n,r),function(e,t,n,r){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Eo(n)+"rotate(",null,")")-2,x:Zi(e,t)})):t&&n.push(Eo(n)+"rotate("+t+")")}(e.rotate,t.rotate,n,r),function(e,t,n,r){e!==t?r.push({i:n.push(Eo(n)+"skewX(",null,")")-2,x:Zi(e,t)}):t&&n.push(Eo(n)+"skewX("+t+")")}(e.skew,t.skew,n,r),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var i=n.push(Eo(n)+"scale(",null,",",null,")");r.push({i:i-4,x:Zi(e[0],t[0])},{i:i-2,x:Zi(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Eo(n)+"scale("+t+")")}(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,i=-1,o=r.length;++i0?n=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:n=0})):t>0&&(l.start({type:"start",alpha:n=t}),e=Mt(a.tick)),a):n},a.start=function(){var e,t,n,o=_.length,l=v.length,u=c[0],f=c[1];for(e=0;e=0;)n.push(i[r])}function No(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(o=e.children)&&(i=o.length))for(var i,o,s=-1;++s=0;)s.push(u=c[l]),u.parent=o,u.depth=o.depth+1;n&&(o.value=0),o.children=c}else n&&(o.value=+n.call(r,o,o.depth)||0),delete o.children;return No(i,(function(t){var r,i;e&&(r=t.children)&&r.sort(e),n&&(i=t.parent)&&(i.value+=t.value)})),a}return r.sort=function(t){return arguments.length?(e=t,r):e},r.children=function(e){return arguments.length?(t=e,r):t},r.value=function(e){return arguments.length?(n=e,r):n},r.revalue=function(e){return n&&(zo(e,(function(e){e.children&&(e.value=0)})),No(e,(function(e){var t;e.children||(e.value=+n.call(r,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},r},o.layout.partition=function(){var e=o.layout.hierarchy(),t=[1,1];function n(n,r){var i=e.call(this,n,r);return function e(t,n,r,i){var o=t.children;if(t.x=n,t.y=t.depth*i,t.dx=r,t.dy=i,o&&(s=o.length)){var s,a,l,c=-1;for(r=t.value?r/t.value:0;++ca&&(a=r),s.push(r)}for(n=0;ni&&(r=n,i=t);return r}function Zo(e){return e.reduce(es,0)}function es(e,t){return e+t[1]}function ts(e,t){return ns(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function ns(e,t){for(var n=-1,r=+e[0],i=(e[1]-r)/t,o=[];++n<=t;)o[n]=i*n+r;return o}function rs(e){return[o.min(e),o.max(e)]}function is(e,t){return e.value-t.value}function os(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function ss(e,t){e._pack_next=t,t._pack_prev=e}function as(e,t){var n=t.x-e.x,r=t.y-e.y,i=e.r+t.r;return.999*i*i>n*n+r*r}function ls(e){if((t=e.children)&&(l=t.length)){var t,n,r,i,o,s,a,l,c=1/0,u=-1/0,h=1/0,d=-1/0;if(t.forEach(cs),(n=t[0]).x=-n.r,n.y=0,y(n),l>1&&((r=t[1]).x=r.r,r.y=0,y(r),l>2))for(hs(n,r,i=t[2]),y(i),os(n,i),n._pack_prev=i,os(i,r),r=n._pack_next,o=3;o0)for(s=-1;++s=h[0]&&l<=h[1]&&((a=c[o.bisect(d,l,1,f)-1]).y+=g,a.push(i[s]));return c}return i.value=function(e){return arguments.length?(t=e,i):t},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(r="number"==typeof e?function(t){return ns(t,e)}:vt(e),i):r},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},o.layout.pack=function(){var e,t=o.layout.hierarchy().sort(is),n=0,r=[1,1];function i(i,o){var s=t.call(this,i,o),a=s[0],l=r[0],c=r[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(a.x=a.y=0,No(a,(function(e){e.r=+u(e.value)})),No(a,ls),n){var h=n*(e?1:Math.max(2*a.r/l,2*a.r/c))/2;No(a,(function(e){e.r+=h})),No(a,ls),No(a,(function(e){e.r-=h}))}return function e(t,n,r,i){var o=t.children;if(t.x=n+=i*t.x,t.y=r+=i*t.y,t.r*=i,o)for(var s=-1,a=o.length;++sp.x&&(p=e),e.depth>f.depth&&(f=e)}));var g=t(d,p)/2-d.x,m=n[0]/(p.x+t(p,d)/2+g),_=n[1]/(f.depth||1);zo(u,(function(e){e.x=(e.x+g)*m,e.y=e.depth*_}))}return c}function s(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n.length){!function(e){var t,n=0,r=0,i=e.children,o=i.length;for(;--o>=0;)(t=i[o]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,s=e,a=n,l=o.parent.children[0],c=o.m,u=s.m,h=a.m,d=l.m;a=fs(a),o=ps(o),a&&o;)l=ps(l),(s=fs(s)).a=e,(i=a.z+h-o.z-c+t(a._,o._))>0&&(gs(ms(a,e,r),e,i),c+=i,u+=i),h+=a.m,c+=o.m,d+=l.m,u+=s.m;a&&!fs(s)&&(s.t=a,s.m+=h-u),o&&!ps(l)&&(l.t=o,l.m+=c-d,r=e)}return r}(e,i,e.parent.A||r[0])}function a(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function l(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(e){return arguments.length?(r=null==(n=e)?l:null,i):r?null:n},i.nodeSize=function(e){return arguments.length?(r=null==(n=e)?null:l,i):r?n:null},Bo(i,e)},o.layout.cluster=function(){var e=o.layout.hierarchy().sort(null).value(null),t=ds,n=[1,1],r=!1;function i(i,s){var a,l=e.call(this,i,s),c=l[0],u=0;No(c,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+o.max(e,(function(e){return e.y}))}(n)):(e.x=a?u+=t(e,a):0,e.y=0,a=e)}));var h=function e(t){var n=t.children;return n&&n.length?e(n[0]):t}(c),d=function e(t){var n,r=t.children;return r&&(n=r.length)?e(r[n-1]):t}(c),p=h.x-t(h,d)/2,f=d.x+t(d,h)/2;return No(c,r?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-p)/(f-p)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),l}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(e){return arguments.length?(r=null==(n=e),i):r?null:n},i.nodeSize=function(e){return arguments.length?(r=null!=(n=e),i):r?n:null},Bo(i,e)},o.layout.treemap=function(){var e,t=o.layout.hierarchy(),n=Math.round,r=[1,1],i=null,s=_s,a=!1,l="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var n,r,i=-1,o=e.length;++i0;)a.push(n=c[i-1]),a.area+=n.area,"squarify"!==l||(r=p(a,g))<=d?(c.pop(),d=r):(a.area-=a.pop().area,f(a,g,o,!1),g=Math.min(o.dx,o.dy),a.length=a.area=0,d=1/0);a.length&&(f(a,g,o,!0),a.length=a.area=0),t.forEach(h)}}function d(e){var t=e.children;if(t&&t.length){var n,r=s(e),i=t.slice(),o=[];for(u(i,r.dx*r.dy/e.value),o.area=0;n=i.pop();)o.push(n),o.area+=n.area,null!=n.z&&(f(o,n.z?r.dx:r.dy,r,!i.length),o.length=o.area=0);t.forEach(d)}}function p(e,t){for(var n,r=e.area,i=0,o=1/0,s=-1,a=e.length;++si&&(i=n));return t*=t,(r*=r)?Math.max(t*i*c/r,r/(t*o*c)):1/0}function f(e,t,r,i){var o,s=-1,a=e.length,l=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((i||u>r.dy)&&(u=r.dy);++sr.dx)&&(u=r.dx);++s1);return e+t*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var e=o.random.normal.apply(o,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=o.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;n2?Ss:ws,a=i?Co:Mo;return o=e(t,n,a,r),s=e(n,t,a,ro),l}function l(e){return o(e)}return l.invert=function(e){return s(e)},l.domain=function(e){return arguments.length?(t=e.map(Number),a()):t},l.range=function(e){return arguments.length?(n=e,a()):n},l.rangeRound=function(e){return l.range(e).interpolate(yo)},l.clamp=function(e){return arguments.length?(i=e,a()):i},l.interpolate=function(e){return arguments.length?(r=e,a()):r},l.ticks=function(e){return As(t,e)},l.tickFormat=function(e,n){return Ts(t,e,n)},l.nice=function(e){return Cs(t,e),a()},l.copy=function(){return e(t,n,r,i)},a()}([0,1],[0,1],ro,!1)};var Ps={s:1,g:1,p:1,r:1,e:1};function Os(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}o.scale.log=function(){return function e(t,n,r,i){function s(e){return(r?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(n)}function a(e){return r?Math.pow(n,e):-Math.pow(n,-e)}function l(e){return t(s(e))}return l.invert=function(e){return a(t.invert(e))},l.domain=function(e){return arguments.length?(r=e[0]>=0,t.domain((i=e.map(Number)).map(s)),l):i},l.base=function(e){return arguments.length?(n=+e,t.domain(i.map(s)),l):n},l.nice=function(){var e=xs(i.map(s),r?Math:Is);return t.domain(e),i=e.map(a),l},l.ticks=function(){var e=ys(i),t=[],o=e[0],l=e[1],c=Math.floor(s(o)),u=Math.ceil(s(l)),h=n%1?2:n;if(isFinite(u-c)){if(r){for(;c0;d--)t.push(a(c)*d);for(c=0;t[c]l;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,t){if(!arguments.length)return Ls;arguments.length<2?t=Ls:"function"!=typeof t&&(t=o.format(t));var r=Math.max(1,n*e/l.ticks().length);return function(e){var i=e/a(Math.round(s(e)));return i*n0?r[e-1]:t[0],eh?0:1;if(c=Oe)return l(c,p)+(a?l(a,1-p):"")+"Z";var f,g,m,_,v,y,b,w,x,k,E,S,M=0,C=0,j=[];if((_=(+s.apply(this,arguments)||0)/2)&&(m=r===qs?Math.sqrt(a*a+c*c):+r.apply(this,arguments),p||(C*=-1),c&&(C=Ne(m/c*Math.sin(_))),a&&(M=Ne(m/a*Math.sin(_)))),c){v=c*Math.cos(u+C),y=c*Math.sin(u+C),b=c*Math.cos(h-C),w=c*Math.sin(h-C);var A=Math.abs(h-u-2*C)<=Te?0:1;if(C&&Ks(v,y,b,w)===p^A){var T=(u+h)/2;v=c*Math.cos(T),y=c*Math.sin(T),b=w=null}}else v=y=0;if(a){x=a*Math.cos(h-M),k=a*Math.sin(h-M),E=a*Math.cos(u+M),S=a*Math.sin(u+M);var P=Math.abs(u-h+2*M)<=Te?0:1;if(M&&Ks(x,k,E,S)===1-p^P){var O=(u+h)/2;x=a*Math.cos(O),k=a*Math.sin(O),E=S=null}}else x=k=0;if(d>je&&(f=Math.min(Math.abs(c-a)/2,+n.apply(this,arguments)))>.001){g=a0?0:1}function Gs(e,t,n,r,i){var o=e[0]-t[0],s=e[1]-t[1],a=(i?r:-r)/Math.sqrt(o*o+s*s),l=a*s,c=-a*o,u=e[0]+l,h=e[1]+c,d=t[0]+l,p=t[1]+c,f=(u+d)/2,g=(h+p)/2,m=d-u,_=p-h,v=m*m+_*_,y=n-r,b=u*p-d*h,w=(_<0?-1:1)*Math.sqrt(Math.max(0,y*y*v-b*b)),x=(b*_-m*w)/v,k=(-b*m-_*w)/v,E=(b*_+m*w)/v,S=(-b*m+_*w)/v,M=x-f,C=k-g,j=E-f,A=S-g;return M*M+C*C>j*j+A*A&&(x=E,k=S),[[x-l,k-c],[x*n/y,k*n/y]]}function Ys(e){var t=si,n=ai,r=Xn,i=Xs,o=i.key,s=.7;function a(o){var a,l=[],c=[],u=-1,h=o.length,d=vt(t),p=vt(n);function f(){l.push("M",i(e(c),s))}for(;++u1&&i.push("H",r[0]);return i.join("")},"step-before":Zs,"step-after":ea,basis:ra,"basis-open":function(e){if(e.length<4)return Xs(e);var t,n=[],r=-1,i=e.length,o=[0],s=[0];for(;++r<3;)t=e[r],o.push(t[0]),s.push(t[1]);n.push(ia(aa,o)+","+ia(aa,s)),--r;for(;++r9&&(i=3*t/Math.sqrt(i),s[a]=i*n,s[a+1]=i*r));a=-1;for(;++a<=l;)i=(e[Math.min(l,a+1)][0]-e[Math.max(0,a-1)][0])/(6*(1+s[a]*s[a])),o.push([i||0,s[a]*i||0]);return o}(e))}});function Xs(e){return e.length>1?e.join("L"):e+"Z"}function Qs(e){return e.join("L")+"Z"}function Zs(e){for(var t=0,n=e.length,r=e[0],i=[r[0],",",r[1]];++t1){a=t[1],o=e[l],l++,r+="C"+(i[0]+s[0])+","+(i[1]+s[1])+","+(o[0]-a[0])+","+(o[1]-a[1])+","+o[0]+","+o[1];for(var c=2;cTe)+",1 "+t}function l(e,t,n,r){return"Q 0,0 "+r}return o.radius=function(e){return arguments.length?(n=vt(e),o):n},o.source=function(t){return arguments.length?(e=vt(t),o):e},o.target=function(e){return arguments.length?(t=vt(e),o):t},o.startAngle=function(e){return arguments.length?(r=vt(e),o):r},o.endAngle=function(e){return arguments.length?(i=vt(e),o):i},o},o.svg.diagonal=function(){var e=$r,t=Kr,n=pa;function r(r,i){var o=e.call(this,r,i),s=t.call(this,r,i),a=(o.y+s.y)/2,l=[o,{x:o.x,y:a},{x:s.x,y:a},s];return"M"+(l=l.map(n))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return r.source=function(t){return arguments.length?(e=vt(t),r):e},r.target=function(e){return arguments.length?(t=vt(e),r):t},r.projection=function(e){return arguments.length?(n=e,r):n},r},o.svg.diagonal.radial=function(){var e=o.svg.diagonal(),t=pa,n=e.projection;return e.projection=function(e){return arguments.length?n(fa(t=e)):t},e},o.svg.symbol=function(){var e=ma,t=ga;function n(n,r){return(va.get(e.call(this,n,r))||_a)(t.call(this,n,r))}return n.type=function(t){return arguments.length?(e=vt(t),n):e},n.size=function(e){return arguments.length?(t=vt(e),n):t},n};var va=o.map({circle:_a,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*ba)),n=t*ba;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/ya),n=t*ya/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/ya),n=t*ya/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});o.svg.symbolTypes=va.keys();var ya=Math.sqrt(3),ba=Math.tan(30*Ie);J.transition=function(e){for(var t,n,r=Ea||++Ca,i=Ta(e),o=[],s=Sa||{time:Date.now(),ease:fo,delay:0,duration:250},a=-1,l=this.length;++a0;)c[--d].call(e,s);if(o>=1)return h.event&&h.event.end.call(e,e.__data__,t),--u.count?delete u[r]:delete e[n],1}h||(o=i.time,s=Mt((function(e){var t=h.delay;if(s.t=t+o,t<=e)return d(e-t);s.c=d}),0,o),h=u[r]={tween:new S,time:o,timer:s,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++u.count)}Ma.call=J.call,Ma.empty=J.empty,Ma.node=J.node,Ma.size=J.size,o.transition=function(e,t){return e&&e.transition?Ea?e.transition(t):e:o.selection().transition(e)},o.transition.prototype=Ma,Ma.select=function(e){var t,n,r,i=this.id,o=this.namespace,s=[];e=X(e);for(var a=-1,l=this.length;++arect,.s>rect").attr("width",s[1]-s[0])}function g(e){e.select(".extent").attr("y",a[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",a[1]-a[0])}function m(){var h,m,_=this,v=o.select(o.event.target),y=n.of(_,arguments),b=o.select(_),w=v.datum(),x=!/^(n|s)$/.test(w)&&r,k=!/^(e|w)$/.test(w)&&i,E=v.classed("extent"),S=Ee(_),M=o.mouse(_),C=o.select(u(_)).on("keydown.brush",T).on("keyup.brush",P);if(o.event.changedTouches?C.on("touchmove.brush",O).on("touchend.brush",I):C.on("mousemove.brush",O).on("mouseup.brush",I),b.interrupt().selectAll("*").interrupt(),E)M[0]=s[0]-M[0],M[1]=a[0]-M[1];else if(w){var j=+/w$/.test(w),A=+/^n/.test(w);m=[s[1-j]-M[0],a[1-A]-M[1]],M[0]=s[j],M[1]=a[A]}else o.event.altKey&&(h=M.slice());function T(){32==o.event.keyCode&&(E||(h=null,M[0]-=s[1],M[1]-=a[1],E=2),q())}function P(){32==o.event.keyCode&&2==E&&(M[0]+=s[1],M[1]+=a[1],E=0,q())}function O(){var e=o.mouse(_),t=!1;m&&(e[0]+=m[0],e[1]+=m[1]),E||(o.event.altKey?(h||(h=[(s[0]+s[1])/2,(a[0]+a[1])/2]),M[0]=s[+(e[0]1?{floor:function(t){for(;a(t=e.floor(t));)t=Ha(t-1);return t},ceil:function(t){for(;a(t=e.ceil(t));)t=Ha(+t+1);return t}}:e))},r.ticks=function(e,t){var n=ys(r.domain()),o=null==e?i(n,10):"number"==typeof e?i(n,e):!e.range&&[{range:e},t];return o&&(e=o[0],t=o[1]),e.range(n[0],Ha(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return Ua(e.copy(),t,n)},Ms(r,e)}function Ha(e){return new Date(e)}za.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?qa:Fa,qa.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},qa.toString=Fa.toString,Rt.second=Ft((function(e){return new Bt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Rt.seconds=Rt.second.range,Rt.seconds.utc=Rt.second.utc.range,Rt.minute=Ft((function(e){return new Bt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Rt.minutes=Rt.minute.range,Rt.minutes.utc=Rt.minute.utc.range,Rt.hour=Ft((function(e){var t=e.getTimezoneOffset()/60;return new Bt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Rt.hours=Rt.hour.range,Rt.hours.utc=Rt.hour.utc.range,Rt.month=Ft((function(e){return(e=Rt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Rt.months=Rt.month.range,Rt.months.utc=Rt.month.utc.range;var Wa=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Va=[[Rt.second,1],[Rt.second,5],[Rt.second,15],[Rt.second,30],[Rt.minute,1],[Rt.minute,5],[Rt.minute,15],[Rt.minute,30],[Rt.hour,1],[Rt.hour,3],[Rt.hour,6],[Rt.hour,12],[Rt.day,1],[Rt.day,2],[Rt.week,1],[Rt.month,1],[Rt.month,3],[Rt.year,1]],$a=za.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Xn]]),Ka={range:function(e,t,n){return o.range(Math.ceil(e/n)*n,+t,n).map(Ha)},floor:I,ceil:I};Va.year=Rt.year,Rt.scale=function(){return Ua(o.scale.linear(),Va,$a)};var Ga=Va.map((function(e){return[e[0].utc,e[1]]})),Ya=Na.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Xn]]);function Ja(e){return JSON.parse(e.responseText)}function Xa(e){var t=l.createRange();return t.selectNode(l.body),t.createContextualFragment(e.responseText)}Ga.year=Rt.year.utc,Rt.scale.utc=function(){return Ua(o.scale.linear(),Ga,Ya)},o.text=yt((function(e){return e.responseText})),o.json=function(e,t){return bt(e,"application/json",Ja,t)},o.html=function(e,t){return bt(e,"text/html",Xa,t)},o.xml=yt((function(e){return e.responseXML})),this.d3=o,void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)}()},function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"o",(function(){return l})),n.d(t,"q",(function(){return c})),n.d(t,"t",(function(){return u})),n.d(t,"i",(function(){return h})),n.d(t,"r",(function(){return d})),n.d(t,"s",(function(){return p})),n.d(t,"k",(function(){return f})),n.d(t,"m",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"l",(function(){return _})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return y})),n.d(t,"h",(function(){return b})),n.d(t,"n",(function(){return w})),n.d(t,"b",(function(){return x}));var r="1.13.4",i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},o=Array.prototype,s=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,l=o.push,c=o.slice,u=s.toString,h=s.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,f=Array.isArray,g=Object.keys,m=Object.create,_=d&&ArrayBuffer.isView,v=isNaN,y=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1}).call(this,n(15))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(332)),r(n(333)),r(n(334)),r(n(335)),r(n(336)),r(n(337)),r(n(25)),r(n(338)),r(n(339)),r(n(340)),r(n(341)),r(n(342)),r(n(343)),r(n(344)),r(n(345)),r(n(346)),r(n(347))},function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n(29),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(56)),r(n(120)),r(n(551)),r(n(552)),r(n(553)),r(n(226)),r(n(554)),r(n(555)),r(n(556)),r(n(34)),r(n(224)),r(n(557)),r(n(77)),r(n(57)),r(n(558)),r(n(559)),r(n(227)),r(n(560)),r(n(228)),r(n(229)),r(n(122)),r(n(561)),r(n(121)),r(n(16))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(3),o=function(){function e(e){this.sender=e}return e.prototype.connect=function(e,t){return r.connect(this,e,t)},e.prototype.disconnect=function(e,t){return r.disconnect(this,e,t)},e.prototype.emit=function(e){r.emit(this,e)},e}();t.Signal=o,function(e){e.disconnectBetween=function(e,t){r.disconnectBetween(e,t)},e.disconnectSender=function(e){r.disconnectSender(e)},e.disconnectReceiver=function(e){r.disconnectReceiver(e)},e.disconnectAll=function(e){r.disconnectAll(e)},e.clearData=function(e){r.disconnectAll(e)},e.getExceptionHandler=function(){return r.exceptionHandler},e.setExceptionHandler=function(e){var t=r.exceptionHandler;return r.exceptionHandler=e,t}}(o=t.Signal||(t.Signal={})),t.Signal=o,function(t){t.exceptionHandler=function(e){console.error(e)},t.connect=function(e,t,i){i=i||void 0;var o=n.get(e.sender);if(o||(o=[],n.set(e.sender,o)),a(o,e,t,i))return!1;var s=i||t,l=r.get(s);l||(l=[],r.set(s,l));var c={signal:e,slot:t,thisArg:i};return o.push(c),l.push(c),!0},t.disconnect=function(e,t,i){i=i||void 0;var o=n.get(e.sender);if(!o||0===o.length)return!1;var s=a(o,e,t,i);if(!s)return!1;var l=i||t,u=r.get(l);return s.signal=null,c(o),c(u),!0},t.disconnectBetween=function(e,t){var o=n.get(e);if(o&&0!==o.length){var s=r.get(t);s&&0!==s.length&&(i.each(s,(function(t){t.signal&&t.signal.sender===e&&(t.signal=null)})),c(o),c(s))}},t.disconnectSender=function(e){var t=n.get(e);t&&0!==t.length&&(i.each(t,(function(e){if(e.signal){var t=e.thisArg||e.slot;e.signal=null,c(r.get(t))}})),c(t))},t.disconnectReceiver=function(e){var t=r.get(e);t&&0!==t.length&&(i.each(t,(function(e){if(e.signal){var t=e.signal.sender;e.signal=null,c(n.get(t))}})),c(t))},t.disconnectAll=function(e){var t=n.get(e);t&&t.length>0&&(i.each(t,(function(e){e.signal=null})),c(t));var o=r.get(e);o&&o.length>0&&(i.each(o,(function(e){e.signal=null})),c(o))},t.emit=function(e,t){var r=n.get(e.sender);if(r&&0!==r.length)for(var i=0,o=r.length;i0&&(s.ArrayExt.fill(t,null),_(t)),s.each(i,(function(t){t.handler===e&&(t.handler=null,t.msg=null)}))},t.flush=function(){h||0===u||(p(u),h=!0,m(),h=!1)},t.getExceptionHandler=function(){return c},t.setExceptionHandler=function(e){var t=c;return c=e,t};var i=new a.LinkedList,o=new WeakMap,l=new Set,c=function(e){console.error(e)},u=0,h=!1,d="function"==typeof requestAnimationFrame?requestAnimationFrame:e,p="function"==typeof cancelAnimationFrame?cancelAnimationFrame:r;function f(e,t){try{e.processMessage(t)}catch(e){c(e)}}function g(e,t){i.addLast({handler:e,msg:t}),0===u&&(u=d(m))}function m(){if(u=0,!i.isEmpty){var e={handler:null,msg:null};for(i.addLast(e);;){var t=i.removeFirst();if(t===e)return;t.handler&&t.msg&&n(t.handler,t.msg)}}}function _(e){0===l.size&&d(v),l.add(e)}function v(){l.forEach(y),l.clear()}function y(e){s.ArrayExt.removeAllWhere(e,b)}function b(e){return null===e}}(t.MessageLoop||(t.MessageLoop={}))}).call(this,n(68).setImmediate,n(68).clearImmediate)},function(e,t,n){var r; /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,f=p.toString,g=f.call(Object),m={},_=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||y).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var k=function(e,t){return new k.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!_(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:"3.6.0",constructor:k,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+B+")"+B+"*"),V=new RegExp(B+"|>"),$=new RegExp(F),K=new RegExp("^"+z+"$"),G={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},se=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(T=I.call(w.childNodes),w.childNodes),T[w.childNodes.length].nodeType}catch(e){L={apply:T.length?function(e,t){O.apply(e,I.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var o,a,c,u,h,f,_,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(t),t=t||p,g)){if(11!==w&&(h=Z.exec(e)))if(o=h[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(h[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(_=e,v=t,1===w&&(V.test(e)||W.test(e))){for((v=ee.test(e)&&_e(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=b)),a=(f=s(e)).length;a--;)f[a]=(u?"#"+u:":scope")+" "+ye(f[a]);_=f.join(",")}try{return L.apply(r,v.querySelectorAll(_)),r}catch(t){C(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[b]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function _e(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},d=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:w;return s!=p&&9===s.nodeType&&s.documentElement?(f=(p=s).documentElement,g=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ue((function(e){return f.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue((function(e){return f.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},_=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue((function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+B+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+B+"*name"+B+"*="+B+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),_.push("!=",F)})),m=m.length&&new RegExp(m.join("|")),_=_.length&&new RegExp(_.join("|")),t=Q.test(f.compareDocumentPosition),y=t||Q.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return h=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&y(w,e)?-1:t==p||t.ownerDocument==w&&y(w,t)?1:u?D(u,e)-D(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:u?D(u,e)-D(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?de(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0},p):p},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&g&&!C[t+" "]&&(!_||!_.test(t))&&(!m||!m.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return ae(t,p,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(re,ie)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(j),h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=ae.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,h,d,p,f,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,_=a&&t.nodeName.toLowerCase(),v=!l&&!a,y=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(a?d.nodeName.toLowerCase()===_:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?m.firstChild:m.lastChild],s&&v){for(y=(p=(c=(u=(h=(d=m)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(y=p=0)||f.pop();)if(1===d.nodeType&&++y&&d===t){u[e]=[x,p,y];break}}else if(v&&(y=p=(c=(u=(h=(d=t)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===y)for(;(d=++p&&d&&d[g]||(y=p=0)||f.pop())&&((a?d.nodeName.toLowerCase()!==_:1!==d.nodeType)||!++y||(v&&((u=(h=d[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[x,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=D(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=a(e.replace(U,"$1"));return r[b]?ce((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return ae(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return K.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,s=[],a=0,l=e.length,c=null!=t;a-1&&(o[c]=!(s[c]=h))}}else _=xe(_===s?_.splice(f,_.length):_),i?i(null,s,_,l):L.apply(s,_)}))}function Ee(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],l=s?1:0,u=be((function(e){return e===t}),a,!0),h=be((function(e){return D(t,e)>-1}),a,!0),d=[function(e,n,r){var i=!s&&(r||n!==c)||((t=n).nodeType?u(e,n,r):h(e,n,r));return t=null,i}];l1&&we(d),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(U,"$1"),n,l0,i=e.length>0,o=function(o,s,a,l,u){var h,f,m,_=0,v="0",y=o&&[],b=[],w=c,k=o||i&&r.find.TAG("*",u),E=x+=null==w?1:Math.random()||.1,S=k.length;for(u&&(c=s==p||s||u);v!==S&&null!=(h=k[v]);v++){if(i&&h){for(f=0,s||h.ownerDocument==p||(d(h),a=!g);m=e[f++];)if(m(h,s||p,a)){l.push(h);break}u&&(x=E)}n&&((h=!m&&h)&&_--,o&&y.push(h))}if(_+=v,n&&v!==_){for(f=0;m=t[f++];)m(y,b,s,a);if(o){if(_>0)for(;v--;)y[v]||b[v]||(b[v]=P.call(l));b=xe(b)}L.apply(l,b),u&&!o&&b.length>0&&_+t.length>1&&ae.uniqueSort(l)}return u&&(x=E,c=w),y};return n?ce(o):o}(o,i))).selector=e}return a},l=ae.select=function(e,t,n,i){var o,l,c,u,h,d="function"==typeof e&&e,p=!i&&s(e=d.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=G.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((h=r.find[u])&&(i=h(c.matches[0].replace(te,ne),ee.test(l[0].type)&&_e(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ye(l)))return L.apply(n,i),n;break}}return(d||a(e,p))(i,t,!g,n,!t||ee.test(e)&&_e(t.parentNode)||t),n},n.sortStable=b.split("").sort(j).join("")===b,n.detectDuplicates=!!h,d(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||he("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||he("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||he(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ae}(n);k.find=S,k.expr=S.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=S.uniqueSort,k.text=S.getText,k.isXMLDoc=S.isXML,k.contains=S.contains,k.escapeSelector=S.escape;var M=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return _(t)?k.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&j.test(e)?k(e):e||[],!1).length}});var O,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),T.test(r[1])&&k.isPlainObject(t))for(r in t)_(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=y.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,O=k(y);var I=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(k(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return M(e,"parentNode")},parentsUntil:function(e,t,n){return M(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return M(e,"nextSibling")},prevAll:function(e){return M(e,"previousSibling")},nextUntil:function(e,t,n){return M(e,"nextSibling",n)},prevUntil:function(e,t,n){return M(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,r){var i=k.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=k.filter(r,i)),this.length>1&&(D[e]||k.uniqueSort(i),I.test(e)&&i.reverse()),this.pushStack(i)}}));var B=/[^\x20\t\r\n\f]+/g;function z(e){return e}function N(e){throw e}function F(e,t,n,r){var i;try{e&&_(i=e.promise)?i.call(e).done(t).fail(n):e&&_(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(B)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,r,i,o=[],s=[],a=-1,l=function(){for(i=i||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?k.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(n){k.each(t,(function(t,r){var i=_(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&_(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function s(e,t,r,i){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e=o&&(r!==N&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(k.Deferred.getStackHook&&(u.stackTrace=k.Deferred.getStackHook()),n.setTimeout(u))}}return k.Deferred((function(n){t[0][3].add(s(0,n,_(i)?i:z,n.notifyWith)),t[1][3].add(s(0,n,_(e)?e:z)),t[2][3].add(s(0,n,_(r)?r:N))})).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},o={};return k.each(t,(function(e,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=k.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(F(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||_(i[n]&&i[n].then)))return o.then();for(;n--;)F(i[n],s(n),o.reject);return o.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout((function(){throw e}))};var U=k.Deferred();function H(){y.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),k.ready()}k.fn.ready=function(e){return U.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||U.resolveWith(y,[k]))}}),k.ready.then=U.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(k.ready):(y.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var W=function(e,t,n,r,i,o,s){var a=0,l=e.length,c=null==n;if("object"===x(n))for(a in i=!0,n)W(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,_(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;a1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){k.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:k.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;pe=y.createDocumentFragment().appendChild(y.createElement("div")),(fe=y.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),pe.appendChild(fe),m.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",m.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",m.option=!!pe.lastChild;var ve={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n",""]);var we=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,s,a,l,c,u,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p-1)i&&i.push(o);else if(c=se(o),s=ye(h.appendChild(o),"script"),c&&be(s),n)for(u=0;o=s[u++];)_e.test(o.type||"")&&n.push(o);return h}var ke=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Se(){return!1}function Me(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return k().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=k.guid++)),e.each((function(){k.event.add(this,t,i,r,n)}))}function je(e,t,n){n?(X.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=X.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=a.call(arguments),X.set(this,t,o),r=n(this,t),this[t](),o!==(i=X.get(this,t))||r?X.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(X.set(this,t,{value:k.event.trigger(k.extend(o[0],k.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&k.event.add(e,t,Ee)}k.event={global:{},add:function(e,t,n,r,i){var o,s,a,l,c,u,h,d,p,f,g,m=X.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(oe,i),n.guid||(n.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(B)||[""]).length;c--;)p=g=(a=ke.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=k.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,h=k.event.special[p]||{},u=k.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:f.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,f,s)||e.addEventListener&&e.addEventListener(p,s)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),k.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,c,u,h,d,p,f,g,m=X.hasData(e)&&X.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(B)||[""]).length;c--;)if(p=g=(a=ke.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=k.event.special[p]||{},d=l[p=(r?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));s&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,m.handle)||k.removeEvent(e,p,m.handle),delete l[p])}else for(p in l)k.event.remove(e,p+t[c],n,r,!0);k.isEmptyObject(l)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),l=k.event.fix(e),c=(X.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(a[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n-1:k.find(i,this,null,[c]).length),s[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,l\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(X.hasData(e)&&(a=X.get(e).events))for(i in X.remove(t,"handle events"),a)for(n=0,r=a[i].length;n1&&"string"==typeof f&&!m.checkClone&&Te.test(f))return e.each((function(i){var o=e.eq(i);g&&(t[0]=f.call(this,i,o.html())),Be(o,t,n,r)}));if(d&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=k.map(ye(i,"script"),Le)).length;h0&&be(s,!l&&ye(e,"script")),a},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),k.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return W(this,(function(e){return void 0===e?k.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function tt(e,t,n){var r=Fe(e),i=(!m.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,s=He(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ne.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&A(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+et(e,t,n||(i?"border":"content"),o,r,s)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},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(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=G(t),l=Je.test(t),c=e.style;if(l||(t=Ge(a)),s=k.cssHooks[t]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(k.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,s,a=G(t);return Je.test(t)||(t=Ge(a)),(s=k.cssHooks[t]||k.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=He(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,r){if(n)return!Ye.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):qe(e,Xe,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,o=Fe(e),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===k.css(e,"boxSizing",!1,o),l=r?et(e,t,r,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),Ze(0,n,l)}}})),k.cssHooks.marginLeft=We(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-qe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(k.cssHooks[e+t].set=Ze)})),k.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Fe(e),i=t.length;s1)}}),k.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=nt.prototype.init,k.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function at(){it&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,k.fx.interval),k.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),o=0,s=i.length;o1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(B);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||k.find.attr;pt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=pt[s],pt[s]=i,i=null!=n(e,t,r)?s:null,pt[s]=o),i}}));var ft=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function mt(e){return(e.match(B)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(B)||[]}k.fn.extend({prop:function(e,t){return W(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,l=0;if(_(e))return this.each((function(t){k(this).addClass(e.call(this,t,_t(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(i=_t(n),r=1===n.nodeType&&" "+mt(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=mt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,l=0;if(_(e))return this.each((function(t){k(this).removeClass(e.call(this,t,_t(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(i=_t(n),r=1===n.nodeType&&" "+mt(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=mt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):_(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,_t(this),t),t)})):this.each((function(){var t,i,o,s;if(r)for(i=0,o=k(this),s=vt(e);t=s[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=_t(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(_t(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;k.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=_(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,k(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=k.map(i,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:mt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},m.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,i){var o,s,a,l,c,u,h,d,f=[r||y],g=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(s=d=a=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!bt.test(g+k.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[k.expando]?e:new k.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:k.makeArray(t,[e]),h=k.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(r,t))){if(!i&&!h.noBubble&&!v(r)){for(l=h.delegateType||g,bt.test(l+g)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(r.ownerDocument||y)&&f.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)d=s,e.type=o>1?l:h.bindType||g,(u=(X.get(s,"events")||Object.create(null))[e.type]&&X.get(s,"handle"))&&u.apply(s,t),(u=c&&s[c])&&u.apply&&Y(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),t)||!Y(r)||c&&_(r[g])&&!v(r)&&((a=r[c])&&(r[c]=null),k.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,wt),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,wt),k.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),m.focusin||k.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t);i||r.addEventListener(e,n,!0),X.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=X.access(r,t)-1;i?X.access(r,t,i):(r.removeEventListener(e,n,!0),X.remove(r,t))}}}));var xt=n.location,kt={guid:Date.now()},Et=/\?/;k.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||k.error("Invalid XML: "+(r?k.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var St=/\[\]$/,Mt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))k.each(t,(function(t,i){n||St.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}k.param=function(e,t){var n,r=[],i=function(e,t){var n=_(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){i(this.name,this.value)}));else for(n in e)At(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&jt.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}})):{name:t.name,value:n.replace(Mt,"\r\n")}})).get()}});var Tt=/%20/g,Pt=/#.*$/,Ot=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Dt=/^\/\//,Rt={},Bt={},zt="*/".concat("*"),Nt=y.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(B)||[];if(_(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qt(e,t,n,r){var i={},o=e===Bt;function s(a){var l;return i[a]=!0,k.each(e[a]||[],(function(e,a){var c=a(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Ut(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Nt.href=xt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,k.ajaxSettings),t):Ut(k.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,a,l,c,u,h,d,p=k.ajaxSetup({},t),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?k(f):k.event,m=k.Deferred(),_=k.Callbacks("once memory"),v=p.statusCode||{},b={},w={},x="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Lt.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),S(0,t),this}};if(m.promise(E),p.url=((e||p.url||xt.href)+"").replace(Dt,xt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(B)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Nt.protocol+"//"+Nt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=k.param(p.data,p.traditional)),qt(Rt,p,t,E),c)return E;for(h in(u=k.event&&p.global)&&0==k.active++&&k.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!It.test(p.type),i=p.url.replace(Pt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Tt,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Et.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ot,"$1"),d=(Et.test(i)?"&":"?")+"_="+kt.guid+++d),p.url=i+d),p.ifModified&&(k.lastModified[i]&&E.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&E.setRequestHeader("If-None-Match",k.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(f,E,p)||c))return E.abort();if(x="abort",_.add(p.complete),E.done(p.success),E.fail(p.error),r=qt(Bt,p,t,E)){if(E.readyState=1,u&&g.trigger("ajaxSend",[E,p]),c)return E;p.async&&p.timeout>0&&(a=n.setTimeout((function(){E.abort("timeout")}),p.timeout));try{c=!1,r.send(b,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,s,l){var h,d,y,b,w,x=t;c||(c=!0,a&&n.clearTimeout(a),r=void 0,o=l||"",E.readyState=e>0?4:0,h=e>=200&&e<300||304===e,s&&(b=function(e,t,n){for(var r,i,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,E,s)),!h&&k.inArray("script",p.dataTypes)>-1&&k.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(i in c)if((a=i.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[i]:!0!==c[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,b,E,h),h?(p.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(k.etag[i]=w)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=b.state,d=b.data,h=!(y=b.error))):(y=x,!e&&x||(x="error",e<0&&(e=0))),E.status=e,E.statusText=(t||x)+"",h?m.resolveWith(f,[d,x,E]):m.rejectWith(f,[E,x,y]),E.statusCode(v),v=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[E,p,h?d:y]),_.fireWith(f,[E,x]),u&&(g.trigger("ajaxComplete",[E,p]),--k.active||k.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,r,i){return _(n)&&(i=i||r,r=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:n,success:r},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(_(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return _(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=_(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Wt=k.ajaxSettings.xhr();m.cors=!!Wt&&"withCredentials"in Wt,m.ajax=Wt=!!Wt,k.ajaxTransport((function(e){var t,r;if(m.cors||Wt&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ht[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=k("